scons.git
15 years agoAdd test case for configure failure.
cournape [Thu, 17 Sep 2009 06:43:33 +0000 (06:43 +0000)]
Add test case for configure failure.

TryRun fails to find the executable when VariantDir is set up from
SConscript/SConstruct.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4363 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoFix tex code to handle broken nomenclature package. (Fixes test failure on centos5...
bdbaddog [Wed, 16 Sep 2009 17:44:46 +0000 (17:44 +0000)]
Fix tex code to handle broken nomenclature package. (Fixes test failure on centos5 slave).
Code by Rob Managan.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4362 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoSteven checked in some changes yesterday which fixed a great number of
bdbaddog [Tue, 15 Sep 2009 01:37:39 +0000 (01:37 +0000)]
Steven checked in some changes yesterday which fixed a great number of
failing tests by setting SCONSFLAGS='-warn=no-python-version' in def
run() in TestSCons.py yesterday, where previously it was done in def
__init__(...).

This fixed most of the broken tests, but broke some of the working tests.
I readded the logic to def __init__

In addition I've added an extra arg to the __init__ for TestSCons.py
ignore_python_version (which defaults to true).
For those tests which need to be able to see the deprecation and/or
test the functionality of the deprecation.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4361 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoHave TestSCons.py add --warn=no-python-version every invocation, not
stevenknight [Sun, 13 Sep 2009 23:33:03 +0000 (23:33 +0000)]
Have TestSCons.py add --warn=no-python-version every invocation, not
just at TestSCons intialization.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4360 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoRevert r4356, the problem is in TestSCons.py, not the test script itself.
stevenknight [Sun, 13 Sep 2009 23:32:26 +0000 (23:32 +0000)]
Revert r4356, the problem is in TestSCons.py, not the test script itself.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4359 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoRemove last checkin.
bdbaddog [Sun, 13 Sep 2009 22:51:45 +0000 (22:51 +0000)]
Remove last checkin.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4358 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoFix test to pass for deprecated python versions. Not what was expected deprecation...
bdbaddog [Sun, 13 Sep 2009 22:47:29 +0000 (22:47 +0000)]
Fix test to pass for deprecated python versions. Not what was expected deprecation errors aren't output when --debug=memoizer is on command line, but are when it's passed via SCONSFLAGS.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4357 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoAdd python version deprecated check to get this test to pass on python 2.3 (hopefully...
bdbaddog [Sat, 12 Sep 2009 04:57:46 +0000 (04:57 +0000)]
Add python version deprecated check to get this test to pass on python 2.3 (hopefully this doesn't break other versions)

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4356 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoFix test logic to handle warning messages on deprecated python version (changed from...
bdbaddog [Fri, 11 Sep 2009 17:20:00 +0000 (17:20 +0000)]
Fix test logic to handle warning messages on deprecated python version (changed from 2.2 to 2.4)

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4355 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoBUG: fix regression failure after is_win64 fix.
cournape [Wed, 9 Sep 2009 05:10:43 +0000 (05:10 +0000)]
BUG: fix regression failure after is_win64 fix.

Add a RegOpenKeyEx 'fake' function when registry is not available.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4354 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoBUG: fix issue 2294.
cournape [Wed, 9 Sep 2009 03:10:46 +0000 (03:10 +0000)]
BUG: fix issue 2294.

CheckCC and assimilate did not set did_show_result up, and this caused spurious
'error: no result' messages after the check was executed.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4353 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoFix win64 detection.
cournape [Wed, 9 Sep 2009 02:36:45 +0000 (02:36 +0000)]
Fix win64 detection.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4352 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoBump minimum version of python for 1.3 to 2.4
bdbaddog [Sun, 6 Sep 2009 02:24:38 +0000 (02:24 +0000)]
Bump minimum version of python for 1.3 to 2.4

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4346 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoAdd a test that the packages used are installed.
managan [Mon, 31 Aug 2009 16:19:39 +0000 (16:19 +0000)]
Add a test that the packages used are installed.
Otherwise skip the test.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4344 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoUse mailing list information at scons.org instead of tigris.org
gregnoel [Fri, 28 Aug 2009 21:51:42 +0000 (21:51 +0000)]
Use mailing list information at scons.org instead of tigris.org

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4343 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoAdd copyright notice to Announcement.txt to satisfy the test_strings.py test
bdbaddog [Thu, 27 Aug 2009 17:57:56 +0000 (17:57 +0000)]
Add copyright notice to Announcement.txt to satisfy the test_strings.py test

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4339 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoBlank Announement template
bdbaddog [Wed, 26 Aug 2009 01:23:12 +0000 (01:23 +0000)]
Blank Announement template

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4338 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoAs I set up the test case for the glossary and nomencl packages
managan [Fri, 21 Aug 2009 21:31:26 +0000 (21:31 +0000)]
As I set up the test case for the glossary and nomencl packages
I found that when only one tool (say pdftex) is initialized
that some of the actions for bibtex... are not created.

Moved most common actions and environment settings to one routine
in tex.py that the other text tools (pdftex, pdflatex, latex) call.

Also fixed a typo in the nomenclature action setup. There was
a '$' that should not have been there.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4337 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoAdd comment for glossaries/scronyms update
managan [Fri, 21 Aug 2009 19:36:41 +0000 (19:36 +0000)]
Add comment for glossaries/scronyms update

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4336 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoAdd test for glossaries package. and patch tex.py
managan [Fri, 21 Aug 2009 17:54:18 +0000 (17:54 +0000)]
Add test for glossaries package. and patch tex.py
to support it

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4335 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoMove credit for one fix from Jason K to Benoit B.
bdbaddog [Thu, 13 Aug 2009 05:24:06 +0000 (05:24 +0000)]
Move credit for one fix from Jason K to Benoit B.
Add credit for Jason K for HOST/TARGET OS/CPU separation.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4331 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoAdded info on my checkins to CHANGES.txt for checkpoint release
bdbaddog [Tue, 11 Aug 2009 00:31:41 +0000 (00:31 +0000)]
Added info on my checkins to CHANGES.txt for checkpoint release

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4327 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoMake a note of the Latex changes made recently
managan [Mon, 10 Aug 2009 23:57:44 +0000 (23:57 +0000)]
Make a note of the Latex changes made recently

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4326 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoUpdate CHANGES.txt to include Jared Grubb's contribution
gregnoel [Mon, 10 Aug 2009 20:19:25 +0000 (20:19 +0000)]
Update CHANGES.txt to include Jared Grubb's contribution

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4325 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoMove the definition of env['LATEXSUFFIXES'] from Defaults.py to the
managan [Thu, 6 Aug 2009 19:01:36 +0000 (19:01 +0000)]
Move the definition of env['LATEXSUFFIXES'] from Defaults.py to the
various *tex.py generate functions.

This is to avoid adding LATEXSUFFIXES to the environment when
the tools are not loaded.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4323 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoCheck that MSVC install dir returned by registry actually exists before using it...
garyo [Wed, 5 Aug 2009 13:53:02 +0000 (13:53 +0000)]
Check that MSVC install dir returned by registry actually exists before using it.  Also added some debug stmts to vc.py.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4321 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoFix MSVC 7.1 IDE path (for MSVS detection code) in Tool/MSCommon/vs.py.
garyo [Tue, 4 Aug 2009 22:17:52 +0000 (22:17 +0000)]
Fix MSVC 7.1 IDE path (for MSVS detection code) in Tool/MSCommon/vs.py.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4320 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoSolaris test portability fixes.
stevenknight [Mon, 3 Aug 2009 04:53:52 +0000 (04:53 +0000)]
Solaris test portability fixes.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4318 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoDon't die if we can't execute the Solaris packaging utilities, so the
stevenknight [Sun, 2 Aug 2009 21:10:14 +0000 (21:10 +0000)]
Don't die if we can't execute the Solaris packaging utilities, so the
sunc++.py module will import okay (for testing, etc.) on non-Solaris
systems.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4317 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoAdd optional time stamping and elapsed time reporting to Trace().
stevenknight [Sun, 2 Aug 2009 15:54:22 +0000 (15:54 +0000)]
Add optional time stamping and elapsed time reporting to Trace().

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4316 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoSpeed up Solaris packaging checks for C++ by caching results and
stevenknight [Sun, 2 Aug 2009 15:54:05 +0000 (15:54 +0000)]
Speed up Solaris packaging checks for C++ by caching results and
grepping /var/sadm/install/contents for path names.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4315 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoUse regular expression matching to allow our "do nothing script"
stevenknight [Sat, 1 Aug 2009 15:05:35 +0000 (15:05 +0000)]
Use regular expression matching to allow our "do nothing script"
to execute in up to 0.002 seconds.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4314 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoDocument build fixes.
stevenknight [Sat, 25 Jul 2009 17:06:58 +0000 (17:06 +0000)]
Document build fixes.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4309 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoUpdate the Test{Cmd,Common}.py 0.36, with better diff reporting
stevenknight [Fri, 24 Jul 2009 16:30:08 +0000 (16:30 +0000)]
Update the Test{Cmd,Common}.py 0.36, with better diff reporting
(specifically of output matches using regular expressions).
Update tests for corresponding inteface changes.
Add use of diff_re() to test/sconsign/script/Configure.py
so we can get accurate information about its buildbot failure.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4307 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoTurns out that in my revamped TeX builder I was listing the .dvi or
managan [Wed, 22 Jul 2009 21:24:37 +0000 (21:24 +0000)]
Turns out that in my revamped TeX builder I was listing the .dvi or
.pdf output file as a sideeffect since it is listed as an output
file in the .fls file. This caused the message that there were two ways to
build the file.

In fixing it I have to exclude both the .dvi and .pdf target because some
test decks produce both... THat hsoudl rarely happen in practice but
It is better to handle that case.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4305 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoFix formatting of a debug message that was preventing normal execution.
stevenknight [Wed, 22 Jul 2009 13:19:07 +0000 (13:19 +0000)]
Fix formatting of a debug message that was preventing normal execution.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4302 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoUpdate tex builder to use the -recorder option.
managan [Wed, 22 Jul 2009 04:56:52 +0000 (04:56 +0000)]
Update tex builder to use the -recorder option.
This was prompted because MikTeX, used on Windows,
does not put the same information on files opened
into the log file. The -recorder option gives a .fls
file that is the same on all platforms.

We still use the .log file contents to find warnings
and errors that mean we need to rerun latex...

Also add message about errors so user does not have
to scroll up through all the latex output to find
if there was an error.

Update all tests to handle the new command line option.
Add one more test on grpahics conversion.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4301 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoWhen setting up SDK, just return if there's no installed Visual Studio
stevenknight [Tue, 21 Jul 2009 14:32:00 +0000 (14:32 +0000)]
When setting up SDK, just return if there's no installed Visual Studio
of the specified version.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4299 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoFix an import error for a reference in the Configure() method.
stevenknight [Tue, 21 Jul 2009 14:27:46 +0000 (14:27 +0000)]
Fix an import error for a reference in the Configure() method.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4298 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoFix execution of test/MSV[CS]/*.py tests on non-Windows systems by
stevenknight [Tue, 21 Jul 2009 14:24:00 +0000 (14:24 +0000)]
Fix execution of test/MSV[CS]/*.py tests on non-Windows systems by
not assuming that %PROCESSOR_ARCHITECTURE% will be defined, and not
assuming that we'll find any installed Windows SDKs.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4297 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoIn addition to changed merged below, commented out for platform os2 use of msvc,...
bdbaddog [Tue, 21 Jul 2009 00:48:33 +0000 (00:48 +0000)]
In addition to changed merged below, commented out for platform os2 use of msvc, mslib, mslink
as they cause test/import.py to fail.
I don't have an OS2 system to resolve the issues on.

Merged revisions 4065,4067-4068,4071-4072,4074,4076,4085,4111,4163,4222 via svnmerge from
http://scons.tigris.org/svn/scons/branches/vs_revamp

................
  r4065 | stevenknight | 2009-03-02 16:48:05 -0800 (Mon, 02 Mar 2009) | 42 lines

  Copy over changes by hand from branches/core (I was working in a
  directory pointing to the wrong branch):

  ........
    r4059 | stevenknight | 2009-03-02 06:54:13 -0800 (Mon, 02 Mar 2009) | 14 lines

    Initial prototypes of modules for architecture support (MSCommon/arch.py)
    and Visual C/C++ configuration distinct from (and in preference to)
    the Visual Studio configuration, incorporating configuration info and
    ideas from Jason Kenny's latest parts/tools/MSCommon work.

    This has a lot of cut-and-paste right now and does NOT actually work.
    In particular, there are no changes to the rest of the infrastructure
    to actually call any of this new stuff.  I'm checking these in so I can
    sync on other systems for continued development.

    The ultimate goal is for much of the current MSCommon/vs.py module's
    logic to migrate to MSCommon/vc.py, since that's what we're actually
    interested in configuring.

  ........
    r4058 | stevenknight | 2009-03-02 06:49:35 -0800 (Mon, 02 Mar 2009) | 2 lines

    Fix doc string.

  ........
    r4056 | stevenknight | 2009-03-01 06:10:31 -0800 (Sun, 01 Mar 2009) | 4 lines

    Change the sanity_check file for 6.1 per Jason's update.
    Add an optional version string argument to detect_sdk().
    Import directly from common, not SCons.Tool.MSCommon.common.

  ........
    r4055 | stevenknight | 2009-02-28 05:29:03 -0800 (Sat, 28 Feb 2009) | 5 lines

    Minor common.py enhancements:
    Refactor is_win64() to cache its return value so we don't have to hit
    registry every time we want to know if the OS is 64-bit.
    Accept SCONS_MSCOMMON_DEBUG=- to mean print debug messages to stdout.

  ........
................
  r4067 | stevenknight | 2009-03-06 04:59:21 -0800 (Fri, 06 Mar 2009) | 4 lines

  Fix entries in batch_file_map, after a double-check with the original code.
  Use a host_architecture of None in the map to indicate the "default"
  entry if there isn't a specific .bat file for our current architecture.
................
  r4068 | stevenknight | 2009-03-06 05:15:39 -0800 (Fri, 06 Mar 2009) | 2 lines

  Add include_subdir and lib_subdir data to the SDK definitions.
................
  r4071 | stevenknight | 2009-03-10 07:42:53 -0700 (Tue, 10 Mar 2009) | 4 lines

  Capture basically working snapshot.
  src/engine/SCons/Tool/msvsTests.py and test/IDL/midl.py still fail,
  and code needs clean up.
................
  r4072 | stevenknight | 2009-03-11 06:38:37 -0700 (Wed, 11 Mar 2009) | 2 lines

  Fix path to Common7\Tools.  Find vs*.bat files.
................
  r4074 | stevenknight | 2009-03-13 17:11:55 -0700 (Fri, 13 Mar 2009) | 3 lines

  Import SCons.Tool.MSCommon.vc so it works regardless of other sys.path
  manipulation.
................
  r4076 | stevenknight | 2009-03-19 08:08:48 -0700 (Thu, 19 Mar 2009) | 7 lines

  Refactor SDK support:
  * New mssdk_exists() and mssdk_setup_env() methods as the primary
    public entry points.
  * Call internal sdk.*() utility functions that just return information
    (like the SDK structure) not handle the actual setting.
  * Give the VisualStudio definitions explicit settings for the SDK version.
................
  r4085 | bdbaddog | 2009-04-05 14:30:46 -0700 (Sun, 05 Apr 2009) | 3 lines

  Fix "can't find module vc" issue when building on windows.
................
  r4111 | stevenknight | 2009-04-19 07:47:47 -0700 (Sun, 19 Apr 2009) | 2 lines

  Doc updates for how MSVS_VERSION is used.
................
  r4163 | bdbaddog | 2009-04-29 17:32:43 -0700 (Wed, 29 Apr 2009) | 4 lines

  Fix for bug 2405
  Also refactored some logic from Defaults._defines() into Defaults.processDefines() which is then used by msvs.py
................
  r4222 | bdbaddog | 2009-05-31 17:01:22 -0700 (Sun, 31 May 2009) | 8 lines

  Added definition of HOST_OS|ARCH TARGET_OS|ARCH (For win32 only right now)
  Migrated some logic to determine arch from Tools/MSCommon -> Platform/Win32.py
  Fixed lots of minor issues with string values for directories, architectures, and registry keys
  Switch to find VS installs by registry (was using VC install location previously)

  Added but commented out that HOST_{OS|ARCH} and TARGET_{OS|ARCH} will become reserved var names in Environment()
  Need to resolve issues that SCons is issuing messages when SCons itself sets these variables.
................

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4296 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoFix typo I found
managan [Mon, 22 Jun 2009 23:09:00 +0000 (23:09 +0000)]
Fix typo I found

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4261 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years ago- Merged r4228 (Bugfix for runtest.py) from branches/installer
erluk [Sat, 13 Jun 2009 11:09:06 +0000 (11:09 +0000)]
- Merged r4228 (Bugfix for runtest.py) from branches/installer

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4235 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years ago- Removed invalid svn:mergeinfo property
erluk [Sat, 13 Jun 2009 11:06:22 +0000 (11:06 +0000)]
- Removed invalid svn:mergeinfo property

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4234 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years ago- Changed the option--duplicate test to only test the number of hard links on systems...
erluk [Fri, 12 Jun 2009 16:30:31 +0000 (16:30 +0000)]
- Changed the option--duplicate test to only test the number of hard links on systems that actually support it

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4232 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agofix minor unicode issue in UtilTests
pankrat [Sat, 30 May 2009 11:43:22 +0000 (11:43 +0000)]
fix minor unicode issue in UtilTests

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4218 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoInitialized merge tracking via "svnmerge" with revisions "1-4215" from
davidwyde [Fri, 29 May 2009 06:25:57 +0000 (06:25 +0000)]
Initialized merge tracking via "svnmerge" with revisions "1-4215" from
http://scons.tigris.org/svn/scons/branches/java

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4216 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoDoc patch from issue 2282 (mention JAVAVERSION in users guide), thanks to Knut Arild...
garyo [Fri, 29 May 2009 02:07:18 +0000 (02:07 +0000)]
Doc patch from issue 2282 (mention JAVAVERSION in users guide), thanks to Knut Arild Erstad.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4214 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoFix issue #2419 by sorting the other return path from glob() in FS.py. Thanks to...
garyo [Fri, 29 May 2009 01:41:22 +0000 (01:41 +0000)]
Fix issue #2419 by sorting the other return path from glob() in FS.py.  Thanks to Jin Liu for the original analysis of the problem.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4213 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoFix for issue 2088: Java version 5 is same as 1.5 and 6 is same as 1.6.
garyo [Fri, 29 May 2009 01:16:27 +0000 (01:16 +0000)]
Fix for issue 2088: Java version 5 is same as 1.5 and 6 is same as 1.6.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4212 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoSupport Intel v11 compiler on Windows. Most of the code was already
garyo [Fri, 22 May 2009 17:46:18 +0000 (17:46 +0000)]
Support Intel v11 compiler on Windows.  Most of the code was already
fine; this just generalizes a check for whether it's really where the
registry says it is, to allow the new v11 location (Bin/<arch>/icl.exe).

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4211 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years ago- Initialized merge tracking from branches/installer via svn-1.5's merge command
erluk [Wed, 20 May 2009 07:17:52 +0000 (07:17 +0000)]
- Initialized merge tracking from branches/installer via svn-1.5's merge command

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4210 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoInitialized merge tracking via "svnmerge" with revisions "1-4203" from
arianepaola [Mon, 18 May 2009 06:35:08 +0000 (06:35 +0000)]
Initialized merge tracking via "svnmerge" with revisions "1-4203" from
http://scons.tigris.org/svn/scons/branches/jython

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4205 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoIssue 2229, fix, tests, doc
gregnoel [Sun, 17 May 2009 15:54:14 +0000 (15:54 +0000)]
Issue 2229, fix, tests, doc

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4202 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoRemove duplicate test
gregnoel [Sun, 17 May 2009 15:54:08 +0000 (15:54 +0000)]
Remove duplicate test

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4201 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agotypo
gregnoel [Sun, 17 May 2009 15:54:06 +0000 (15:54 +0000)]
typo

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4200 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoIssue 2415: Tolerate unicode strings when using intern()
pankrat [Sun, 17 May 2009 10:22:30 +0000 (10:22 +0000)]
Issue 2415: Tolerate unicode strings when using intern()

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4199 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoIssue 2410: Fix crash when using one-character identifiers in C and C++ macros.
gregnoel [Thu, 14 May 2009 06:35:37 +0000 (06:35 +0000)]
Issue 2410: Fix crash when using one-character identifiers in C and C++ macros.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4198 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoApply fix to Textfile/Substfile suggested by Gary Oberbrunner
gregnoel [Wed, 13 May 2009 20:12:13 +0000 (20:12 +0000)]
Apply fix to Textfile/Substfile suggested by Gary Oberbrunner

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4197 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agosvn:ignore bootstrap, results.qmr and bin/*.pyc.
stevenknight [Wed, 13 May 2009 04:01:37 +0000 (04:01 +0000)]
svn:ignore bootstrap, results.qmr and bin/*.pyc.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4196 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoFix packaging tests: exclude test/Fortran/.exclude_tests from the
stevenknight [Wed, 13 May 2009 04:01:16 +0000 (04:01 +0000)]
Fix packaging tests:  exclude test/Fortran/.exclude_tests from the
search for expanded __COPYRIGHT__ strings in the *-src* packages.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4195 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoAdd ipkg.py to the MANIFEST.in list and fix 1.5 fix
stevenknight [Wed, 13 May 2009 04:01:15 +0000 (04:01 +0000)]
Add ipkg.py to the MANIFEST.in list and fix 1.5 fix
(string.split() instead of string methods).

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4194 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoRename bin/linecount to bin/linecount.py and provide finer-grained
stevenknight [Wed, 13 May 2009 04:01:13 +0000 (04:01 +0000)]
Rename bin/linecount to bin/linecount.py and provide finer-grained
(and more accurate) breakdowns of the tests.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4193 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoFix textfile.py breakaga on platforms with weird end-of-line conventions
gregnoel [Tue, 12 May 2009 17:26:29 +0000 (17:26 +0000)]
Fix textfile.py breakaga on platforms with weird end-of-line conventions

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4192 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoFix site_scons/site_init.py test failure on Windows by using 'type' instead of 'cat...
garyo [Tue, 12 May 2009 12:46:33 +0000 (12:46 +0000)]
Fix site_scons/site_init.py test failure on Windows by using 'type' instead of 'cat' if win32.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4191 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoFix issue 2421 by not trying to use os.chown on Windows.
garyo [Tue, 12 May 2009 11:41:34 +0000 (11:41 +0000)]
Fix issue 2421 by not trying to use os.chown on Windows.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4190 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoFix issue 1382: chown .sconsign.dblite back to original user/group when done, when...
garyo [Tue, 12 May 2009 02:01:33 +0000 (02:01 +0000)]
Fix issue 1382: chown .sconsign.dblite back to original user/group when done, when running as root.  If it didn't exist, chown to user who executed sudo if known.  Hard to test automatically because test needs to run as root.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4189 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoMake building SCons distribution on Windows work better: make whereis() look for...
garyo [Mon, 11 May 2009 15:49:12 +0000 (15:49 +0000)]
Make building SCons distribution on Windows work better: make whereis() look for .exe as well as original filename on Windows.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4187 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoRemove unused file
gregnoel [Sun, 10 May 2009 20:02:08 +0000 (20:02 +0000)]
Remove unused file

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4184 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoAutomatically pick up the list of tools from the tool directory rather
gregnoel [Sun, 10 May 2009 00:58:21 +0000 (00:58 +0000)]
Automatically pick up the list of tools from the tool directory rather
than having a list in the regression test that has to be updated.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4182 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoUpdate regression tests to match changes in runtest.py
gregnoel [Fri, 8 May 2009 17:13:56 +0000 (17:13 +0000)]
Update regression tests to match changes in runtest.py

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4180 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoIssue 2306: Exclude non-test files from regression tests. While runtest.py
gregnoel [Fri, 8 May 2009 10:24:48 +0000 (10:24 +0000)]
Issue 2306: Exclude non-test files from regression tests.  While runtest.py
was opened, changed two unnecessary absolute paths to relative.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4179 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoFix #1673, CheckLib should prepend rather than append.
garyo [Thu, 7 May 2009 02:11:06 +0000 (02:11 +0000)]
Fix #1673, CheckLib should prepend rather than append.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4175 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoFix bug #2298, make Move factory work across filesystems.
garyo [Thu, 7 May 2009 01:43:10 +0000 (01:43 +0000)]
Fix bug #2298, make Move factory work across filesystems.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4174 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoIssue 2401: Fix usage of comparison with None, patch from Jared Grubb
gregnoel [Sun, 3 May 2009 06:24:01 +0000 (06:24 +0000)]
Issue 2401: Fix usage of comparison with None, patch from Jared Grubb

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4170 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoAdd __revision__ to new file, make __doc__ explicit.
stevenknight [Fri, 1 May 2009 03:45:25 +0000 (03:45 +0000)]
Add __revision__ to new file, make __doc__ explicit.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4169 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoOnly try to use hg or svn for packaging in checked-out trees.
stevenknight [Thu, 30 Apr 2009 15:27:26 +0000 (15:27 +0000)]
Only try to use hg or svn for packaging in checked-out trees.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4166 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoAvoid swallowing KeyboardInterrupt in new try:-except: blocks.
stevenknight [Thu, 30 Apr 2009 15:27:04 +0000 (15:27 +0000)]
Avoid swallowing KeyboardInterrupt in new try:-except: blocks.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4165 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoFix try:-except:-finally: block, only valid starting with Python 2.5.
stevenknight [Thu, 30 Apr 2009 05:21:12 +0000 (05:21 +0000)]
Fix try:-except:-finally: block, only valid starting with Python 2.5.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4164 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agofix for bug #2393. Instead of just 'import'ing
garyo [Wed, 29 Apr 2009 01:18:14 +0000 (01:18 +0000)]
fix for bug #2393.  Instead of just 'import'ing
site_scons/site_init.py, I now load that file directly into the
SCons.Script namespace using exec ... in.  This allows site_init.py to
define tools in the way users expect.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4162 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoSigh. Checkin to fix previous regression test cause another
GregNoel [Thu, 23 Apr 2009 00:05:22 +0000 (00:05 +0000)]
Sigh.  Checkin to fix previous regression test cause another
regression failure.  This one should fix it.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4122 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoFix regression failure (shadowed variable) in Python 2.1
GregNoel [Wed, 22 Apr 2009 21:59:19 +0000 (21:59 +0000)]
Fix regression failure (shadowed variable) in Python 2.1

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4121 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoEditing changes for textfile.xml and credit to Hartmut Goebel
GregNoel [Wed, 22 Apr 2009 21:50:58 +0000 (21:50 +0000)]
Editing changes for textfile.xml and credit to Hartmut Goebel

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4120 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoMissed the documentation for Textfile and Substfile
GregNoel [Wed, 22 Apr 2009 20:19:03 +0000 (20:19 +0000)]
Missed the documentation for Textfile and Substfile

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4119 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoAdd Textfile and Substfile builders
GregNoel [Wed, 22 Apr 2009 20:17:29 +0000 (20:17 +0000)]
Add Textfile and Substfile builders

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4118 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agouse correct base class for filesystem factory functions
GregNoel [Wed, 22 Apr 2009 20:17:22 +0000 (20:17 +0000)]
use correct base class for filesystem factory functions

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4117 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoAdd .get_file_contents() to Value() nodes
GregNoel [Wed, 22 Apr 2009 20:17:18 +0000 (20:17 +0000)]
Add .get_file_contents() to Value() nodes

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4116 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoUpdates for recent modifications.
stevenknight [Sun, 19 Apr 2009 15:17:59 +0000 (15:17 +0000)]
Updates for recent modifications.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4113 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agofix test that hangs occasionally to fail instead if a short time elapses without...
GregNoel [Sat, 18 Apr 2009 20:02:08 +0000 (20:02 +0000)]
fix test that hangs occasionally to fail instead if a short time elapses without success

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4110 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoModify the SWIG tests so that OS X is treated like a UNIX platform (which it
GregNoel [Sat, 18 Apr 2009 16:56:22 +0000 (16:56 +0000)]
Modify the SWIG tests so that OS X is treated like a UNIX platform (which it
really is).  OS X now not only runs all the SWIG tests (it used to skip many
of them because it could not find the appropriate files), it now passes all
the tests.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4109 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoRedirect branching page to wiki
GregNoel [Fri, 17 Apr 2009 04:59:28 +0000 (04:59 +0000)]
Redirect branching page to wiki

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4104 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoFix the expected "Dot not know how to make" error message.
stevenknight [Thu, 16 Apr 2009 16:51:22 +0000 (16:51 +0000)]
Fix the expected "Dot not know how to make" error message.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4096 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoPartial update of the use of branches; still needs TLC
GregNoel [Thu, 16 Apr 2009 16:19:09 +0000 (16:19 +0000)]
Partial update of the use of branches; still needs TLC

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4095 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoWin32 fixes: update error message, accomodate re match.
stevenknight [Thu, 16 Apr 2009 15:41:23 +0000 (15:41 +0000)]
Win32 fixes:  update error message, accomodate re match.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4094 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoFix Python 2.2 idiom.
stevenknight [Thu, 16 Apr 2009 13:30:54 +0000 (13:30 +0000)]
Fix Python 2.2 idiom.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4093 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoPer the bug report, this patch improves the "Do not know how to make
garyo [Wed, 15 Apr 2009 10:10:41 +0000 (10:10 +0000)]
Per the bug report, this patch improves the "Do not know how to make
target X" to say what type of node is being built, and the full path (if
it's a file or dir).

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4092 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoIssue 2377: Check if isatty() exists before calling it
pankrat [Tue, 14 Apr 2009 14:36:26 +0000 (14:36 +0000)]
Issue 2377: Check if isatty() exists before calling it

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4091 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoPatch submitted by Lukas Erlinghagen. Thanks, Lukas!
garyo [Tue, 14 Apr 2009 10:51:00 +0000 (10:51 +0000)]
Patch submitted by Lukas Erlinghagen.  Thanks, Lukas!

this patch should fix issue 2362.

- Variables that are added via Variables.Add or Variables.AddVariables
are now removed from the 'unknown' dict if present
- An option's name and its aliases can now actually be provided as a
tuple as well as a list
- Test cases for using option aliases and for issue 2362 itself are included

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4090 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoDocument that filename that has a dot as the first character must be matched explicit...
GregNoel [Sun, 12 Apr 2009 22:52:09 +0000 (22:52 +0000)]
Document that filename that has a dot as the first character must be matched explicitly in a Glob() pattern

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4089 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoIssue 2349: doc-only change correcting description of text returned from sconf.Result...
GregNoel [Fri, 10 Apr 2009 01:56:01 +0000 (01:56 +0000)]
Issue 2349: doc-only change correcting description of text returned from sconf.Result() call

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4088 fdb21ef1-2011-0410-befe-b5e4ea1792b1