scons.git
16 years agoMake a naked except: block catch specific exceptions (and not
stevenknight [Thu, 25 Sep 2008 20:42:02 +0000 (20:42 +0000)]
Make a naked except: block catch specific exceptions (and not
swallow a KeyboardInterrupt at the wrong time).

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

16 years agoFix for bugs 402 and 2082 - implement scanner for windows resource files.
bdbaddog [Thu, 25 Sep 2008 19:44:49 +0000 (19:44 +0000)]
Fix for bugs 402 and 2082 - implement scanner for windows resource files.
Basic unittest included

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

16 years agoIssue 2183, fix typos
GregNoel [Thu, 25 Sep 2008 18:35:12 +0000 (18:35 +0000)]
Issue 2183, fix typos

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

16 years agoIssue 2183: .sx assembler suffix uses C preprocessor
GregNoel [Thu, 25 Sep 2008 09:31:12 +0000 (09:31 +0000)]
Issue 2183: .sx assembler suffix uses C preprocessor

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

16 years agoChange FUTURE markers to TODO(1.5) so we are all using the same style.
GregNoel [Thu, 25 Sep 2008 05:37:41 +0000 (05:37 +0000)]
Change FUTURE markers to TODO(1.5) so we are all using the same style.

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

16 years agoAdd descrption of release candidate to roadmap, plus some clarifications.
GregNoel [Wed, 24 Sep 2008 23:46:05 +0000 (23:46 +0000)]
Add descrption of release candidate to roadmap, plus some clarifications.

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

16 years agoPython 1.5 portability in test/Execute.py.
stevenknight [Wed, 24 Sep 2008 15:53:30 +0000 (15:53 +0000)]
Python 1.5 portability in test/Execute.py.

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

16 years agoSplit the MSVS variant_dir sub-tests into separate test scripts.
stevenknight [Wed, 24 Sep 2008 12:28:10 +0000 (12:28 +0000)]
Split the MSVS variant_dir sub-tests into separate test scripts.

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

16 years agoSplit the sub-tests for cleaning MSVS project and solution files
stevenknight [Wed, 24 Sep 2008 12:08:07 +0000 (12:08 +0000)]
Split the sub-tests for cleaning MSVS project and solution files
into separate test scripts.

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

16 years agoMove the MSVS 6.0 test data into QMTest/TestSConsMSVS.py, too.
stevenknight [Wed, 24 Sep 2008 11:45:37 +0000 (11:45 +0000)]
Move the MSVS 6.0 test data into QMTest/TestSConsMSVS.py, too.

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

16 years agoMove Visal Studio test data into QMTest/TestSConsMSVS.py.
stevenknight [Wed, 24 Sep 2008 01:01:37 +0000 (01:01 +0000)]
Move Visal Studio test data into QMTest/TestSConsMSVS.py.

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

16 years agoRefactor Visual Studio testing logic into a separate TestSConsMSVS
stevenknight [Tue, 23 Sep 2008 16:15:40 +0000 (16:15 +0000)]
Refactor Visual Studio testing logic into a separate TestSConsMSVS
subclass, in its own module.

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

16 years agoPython 1.5 compatibility: explicity import SCons.compat (again)
stevenknight [Tue, 23 Sep 2008 07:08:46 +0000 (07:08 +0000)]
Python 1.5 compatibility:  explicity import SCons.compat (again)
so the zip() function is available so the unit tests can pass when
run on older Python versions.

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

16 years ago1.5 compatibility: string methods in Tool/msvs.py.
stevenknight [Tue, 23 Sep 2008 05:41:05 +0000 (05:41 +0000)]
1.5 compatibility:  string methods in Tool/msvs.py.

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

16 years ago1.5 / 2.[01] compatibility: nested scopes in Tool/tex.py.
stevenknight [Tue, 23 Sep 2008 05:40:46 +0000 (05:40 +0000)]
1.5 / 2.[01] compatibility:  nested scopes in Tool/tex.py.

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

16 years ago1.5 / 2.[012] compatiblity: shutil.move() function.
stevenknight [Tue, 23 Sep 2008 05:40:19 +0000 (05:40 +0000)]
1.5 / 2.[012] compatiblity:  shutil.move() function.

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

16 years ago1.5 compatiblity: string method in Node/FSTests.py.
stevenknight [Tue, 23 Sep 2008 05:39:57 +0000 (05:39 +0000)]
1.5 compatiblity:  string method in Node/FSTests.py.

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

16 years agoIssue 2215: add a file() builtin to the compatability layer
stevenknight [Tue, 23 Sep 2008 00:50:43 +0000 (00:50 +0000)]
Issue 2215:  add a file() builtin to the compatability layer
(for pre-2.2 Python versions).

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

16 years agoPython 2.2 portability (no .pop() method on dictionaries, ' in '
stevenknight [Mon, 22 Sep 2008 22:25:04 +0000 (22:25 +0000)]
Python 2.2 portability (no .pop() method on dictionaries, ' in '
doesn't search for substrings).

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

16 years agoFix for Windows that doesn't break other systems: delete the
stevenknight [Mon, 22 Sep 2008 20:29:53 +0000 (20:29 +0000)]
Fix for Windows that doesn't break other systems:  delete the
PYTHON_ROOT environment variable instead of nulling it out.
(Bill Deegan)

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

16 years agoFix the Latex scanner to search for graphics on the TEXINPUTS path
managan [Mon, 22 Sep 2008 19:43:02 +0000 (19:43 +0000)]
Fix the Latex scanner to search for graphics on the TEXINPUTS path
instead of TEXPICTS.
Add the LATEXSUFFIXES keyword to the DummyEnvironment calls since
the scanner needs it.

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

16 years agoWindows portability (path names in expected output).
stevenknight [Mon, 22 Sep 2008 15:38:47 +0000 (15:38 +0000)]
Windows portability (path names in expected output).

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

16 years agoFix syntax and semantic errors preventing regression tests from running on 1.5.2
GregNoel [Mon, 22 Sep 2008 08:28:28 +0000 (08:28 +0000)]
Fix syntax and semantic errors preventing regression tests from running on 1.5.2

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

16 years agomake references to subprocess.Popen synchronous
GregNoel [Mon, 22 Sep 2008 08:11:34 +0000 (08:11 +0000)]
make references to subprocess.Popen synchronous

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

16 years agoFix doc for r3436 (new delete_existing flags for Append/Prepend)
garyo [Sat, 20 Sep 2008 15:42:15 +0000 (15:42 +0000)]
Fix doc for r3436 (new delete_existing flags for Append/Prepend)

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

16 years agoWindows portability: different error message for the nonexistent file.
stevenknight [Sat, 20 Sep 2008 14:56:28 +0000 (14:56 +0000)]
Windows portability:  different error message for the nonexistent file.

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

16 years agoWindows portability: use os.sep instead of hard-coded /.
stevenknight [Sat, 20 Sep 2008 14:51:56 +0000 (14:51 +0000)]
Windows portability:  use os.sep instead of hard-coded /.

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

16 years agoWindows test fix: enhance the TestSCons class so an explicit
stevenknight [Sat, 20 Sep 2008 13:41:57 +0000 (13:41 +0000)]
Windows test fix:  enhance the TestSCons class so an explicit
python=None argument still defaults to sys.executable.  Use this to
reset the python value we interpolate into the expected files that we
generate after resetting the os.environ['PYTHON'] value.

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

16 years agoFix indentation issue
bdbaddog [Sat, 20 Sep 2008 05:55:45 +0000 (05:55 +0000)]
Fix indentation issue

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

16 years agoFix broken swig tests when python being used to run tests is incompatible with system...
bdbaddog [Sat, 20 Sep 2008 05:42:59 +0000 (05:42 +0000)]
Fix broken swig tests when python being used to run tests is incompatible with system swig.
Propagate to the created SConstructs the version of swig found by the test (which is used to determine whether to run or not run this test).

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

16 years agoFix test/VariantDir/VariantDir.py on centos5, currently failing as TestSCons.py speci...
bdbaddog [Sat, 20 Sep 2008 05:41:43 +0000 (05:41 +0000)]
Fix test/VariantDir/VariantDir.py on centos5, currently failing as TestSCons.py specifies incorrect fortran library to link against for gcc's newer then 4.0 (aka 4.1.2 which ships with python)

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

16 years agoCall str() on the string values of environment variables used by the
stevenknight [Sat, 20 Sep 2008 01:21:36 +0000 (01:21 +0000)]
Call str() on the string values of environment variables used by the
_subproc(), so the underlying subprocess.Popen() call won't throw
an exception if the value is actually a Unicode string.

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

16 years agoWindows portability: escape strings with file path names, which
stevenknight [Sat, 20 Sep 2008 01:07:39 +0000 (01:07 +0000)]
Windows portability:  escape strings with file path names, which
have \ separators on Windows.

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

16 years agoWindows portability: use os.path.join() for expected subdirectory paths.
stevenknight [Sat, 20 Sep 2008 01:05:46 +0000 (01:05 +0000)]
Windows portability:  use os.path.join() for expected subdirectory paths.

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

16 years agoMake the test/MSVC/{msvc,hierarchical}.py tests work even if
stevenknight [Fri, 19 Sep 2008 16:02:13 +0000 (16:02 +0000)]
Make the test/MSVC/{msvc,hierarchical}.py tests work even if
%INCLUDE% and %LIB% aren't set.

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

16 years agoWindows portability in the expected output.
stevenknight [Fri, 19 Sep 2008 15:46:55 +0000 (15:46 +0000)]
Windows portability in the expected output.

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

16 years agoFix issue #2091 by adding new delete_existing flags to Util.{Ap,Pre}pendPath and...
garyo [Thu, 18 Sep 2008 03:07:41 +0000 (03:07 +0000)]
Fix issue #2091 by adding new delete_existing flags to Util.{Ap,Pre}pendPath and env.{Ap,Pre}pendENVPath.

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

16 years agoHefty update to the tex tool.
managan [Thu, 18 Sep 2008 00:13:45 +0000 (00:13 +0000)]
Hefty update to the tex tool.
It now iterates until all the warnings are gone and the auxiliary files
stop changing or it hits the max retires limit.

It adds the common auxiliary files to the emitter as sideeffects

Added support for glossaries, nomenclatures, lists of figures,
lists of tables, hyperref, and beamer

The user can entry environment changes like env['TEXINPUTS'] and
they get copied to env['ENV']['TEXINPUTS'] (thanks to  Dmitry Mikhin )

It also works with variantdir, duplicate =0

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

16 years agoMake the test/TEX/LATEX*py scripts work even on systems that don't have
stevenknight [Wed, 17 Sep 2008 13:19:31 +0000 (13:19 +0000)]
Make the test/TEX/LATEX*py scripts work even on systems that don't have
all the right tools installed.

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

16 years agoFix doc typo reported in the mailing list and another small glitch
GregNoel [Wed, 17 Sep 2008 02:18:03 +0000 (02:18 +0000)]
Fix doc typo reported in the mailing list and another small glitch

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

16 years agoMake the framework library path we return on Mac OS X match the framework
stevenknight [Tue, 16 Sep 2008 16:29:29 +0000 (16:29 +0000)]
Make the framework library path we return on Mac OS X match the framework
paths for executables and headers, so tests like test/SWIG/live.py work
even if there are multiple Python versions installed with frameworks
in different locations.

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

16 years agoFix error reported on IRC
GregNoel [Tue, 16 Sep 2008 02:31:02 +0000 (02:31 +0000)]
Fix error reported on IRC

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

16 years agoUpdate project highlights and roadmap for 1.0.1.d20080915 checkpoint.
stevenknight [Mon, 15 Sep 2008 21:30:34 +0000 (21:30 +0000)]
Update project highlights and roadmap for 1.0.1.d20080915 checkpoint.

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

16 years agoRevert 2102, pending additional discussion.
stevenknight [Mon, 15 Sep 2008 14:12:25 +0000 (14:12 +0000)]
Revert 2102, pending additional discussion.

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

16 years agoIssue 2102: Add support for Visual Studio 9 and newer Platform
stevenknight [Mon, 15 Sep 2008 07:02:59 +0000 (07:02 +0000)]
Issue 2102:  Add support for Visual Studio 9 and newer Platform
SDK versions.  (Dmitri Rubinstein)

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

16 years agoBetter layout for table elements
GregNoel [Mon, 15 Sep 2008 02:49:47 +0000 (02:49 +0000)]
Better layout for table elements

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

16 years agoW3C sez no lists inside paragraphs
GregNoel [Sun, 14 Sep 2008 21:34:52 +0000 (21:34 +0000)]
W3C sez no lists inside paragraphs

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

16 years agoAdd blurb before schedule table and revise descriptions of release types
GregNoel [Sun, 14 Sep 2008 21:32:20 +0000 (21:32 +0000)]
Add blurb before schedule table and revise descriptions of release types

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

16 years agouse right entity name for table data
GregNoel [Sun, 14 Sep 2008 20:49:38 +0000 (20:49 +0000)]
use right entity name for table data

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

16 years agoNew schedule, plus machinery to maintain it
GregNoel [Sun, 14 Sep 2008 20:40:55 +0000 (20:40 +0000)]
New schedule, plus machinery to maintain it

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

16 years agoMinor nits and typos
GregNoel [Sun, 14 Sep 2008 20:34:21 +0000 (20:34 +0000)]
Minor nits and typos

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

16 years agoIssue 2106: Don't match a directory that matches the name of a
stevenknight [Sun, 14 Sep 2008 17:23:48 +0000 (17:23 +0000)]
Issue 2106:  Don't match a directory that matches the name of a
#include file.  (John Gozde)

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

16 years agoIssue 1693: make the subdirectory in which the .sconsign file will
stevenknight [Sun, 14 Sep 2008 16:16:12 +0000 (16:16 +0000)]
Issue 1693:  make the subdirectory in which the .sconsign file will
appear (if it doesn't already exist.  (Damyan Pepper, Jim Randall)

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

16 years agoFix for Python versions before 2.2, where tuple() requires an argument.
stevenknight [Sat, 13 Sep 2008 16:39:44 +0000 (16:39 +0000)]
Fix for Python versions before 2.2, where tuple() requires an argument.

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

16 years agoFix the "explicit stack size" warning message on earlier versions of
stevenknight [Sat, 13 Sep 2008 15:09:14 +0000 (15:09 +0000)]
Fix the "explicit stack size" warning message on earlier versions of
Python that don't support it.

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

16 years agoRevert the previous change, I overlooked some regression test failures.
stevenknight [Sat, 13 Sep 2008 06:28:32 +0000 (06:28 +0000)]
Revert the previous change, I overlooked some regression test failures.

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

16 years agoIssue 1693: Make the directory in which the .sconsign file will live,
stevenknight [Sat, 13 Sep 2008 06:19:51 +0000 (06:19 +0000)]
Issue 1693:  Make the directory in which the .sconsign file will live,
if the directory doesn't already exist.  (Damyan Pepper, Jim Randall)

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

16 years agoUpdate src/CHANGES.txt for the checked-in 1.1 changes.
stevenknight [Sat, 13 Sep 2008 05:09:29 +0000 (05:09 +0000)]
Update src/CHANGES.txt for the checked-in 1.1 changes.

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

16 years agoIssue 2121: fix handling #includes of files in VariantDir subdirectories,
stevenknight [Sat, 13 Sep 2008 04:57:59 +0000 (04:57 +0000)]
Issue 2121:  fix handling #includes of files in VariantDir subdirectories,
by having it handle checking for VariantDir directories on disk like
it does VariantDir files.
(patch:  Jared Grubb; test case:  Ali Tofigh)

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

16 years agoAdditional clean up of how we import some SCons.* module names, including
stevenknight [Sat, 13 Sep 2008 04:48:36 +0000 (04:48 +0000)]
Additional clean up of how we import some SCons.* module names, including
making SCons.Job.stack_size a variable that always exists, instead of
one that gets set from outside and requires SCons.Job to check for an
AttributeError.

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

16 years agoSigh, I keep doing it, another typo
GregNoel [Fri, 12 Sep 2008 21:22:10 +0000 (21:22 +0000)]
Sigh, I keep doing it, another typo

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

16 years agoSigh, I made the last update from the wrong tree, which had a typo
GregNoel [Fri, 12 Sep 2008 21:15:57 +0000 (21:15 +0000)]
Sigh, I made the last update from the wrong tree, which had a typo

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

16 years agoIssue 2179: Null Executor memory reductions
pankrat [Fri, 12 Sep 2008 18:17:06 +0000 (18:17 +0000)]
Issue 2179: Null Executor memory reductions

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

16 years agoAdd common subproc function and modify routines to use it
GregNoel [Fri, 12 Sep 2008 08:50:56 +0000 (08:50 +0000)]
Add common subproc function and modify routines to use it

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

16 years agoFix errors that cropped up in revision 3382
GregNoel [Fri, 12 Sep 2008 08:14:45 +0000 (08:14 +0000)]
Fix errors that cropped up in revision 3382

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

16 years agoEvaluate compat module transparently when SCons is instantiated
GregNoel [Thu, 11 Sep 2008 18:38:24 +0000 (18:38 +0000)]
Evaluate compat module transparently when SCons is instantiated

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

16 years agoIssue 2005: Avoid an infinite loop looking for the Python library
stevenknight [Thu, 11 Sep 2008 13:22:12 +0000 (13:22 +0000)]
Issue 2005:  Avoid an infinite loop looking for the Python library
directory.  Look for a "scons-local" directory in addition to a
"scons-local-{version}" directory.

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

16 years agoIssue 1681: Fix the ability of add_src_builder() to handle arbitrary
stevenknight [Thu, 11 Sep 2008 01:28:15 +0000 (01:28 +0000)]
Issue 1681:  Fix the ability of add_src_builder() to handle arbitrary
builder objects by eliminating unintentional re-use of a class
list for the src_builder attribute.

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

16 years agoAdd the ability of the Tex builder to change the name of the created
managan [Wed, 10 Sep 2008 16:43:20 +0000 (16:43 +0000)]
Add the ability of the Tex builder to change the name of the created
file to what the user requested in the target. Tex produces a standard name
based on the source so this was not being done.

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

16 years agoIssue 2149: Avoid reference cycles caused by frame objects
pankrat [Wed, 10 Sep 2008 16:24:15 +0000 (16:24 +0000)]
Issue 2149: Avoid reference cycles caused by frame objects

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

16 years agoIssues 2076 and 2232, use ENV and suppress stderr when checking GCC version ID
GregNoel [Wed, 10 Sep 2008 06:33:28 +0000 (06:33 +0000)]
Issues 2076 and 2232, use ENV and suppress stderr when checking GCC version ID

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

16 years agoFix bugs in regression tests
GregNoel [Wed, 10 Sep 2008 06:20:34 +0000 (06:20 +0000)]
Fix bugs in regression tests

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

16 years agoIssue 1913: use cProfile instead of profile if available
GregNoel [Tue, 9 Sep 2008 23:44:59 +0000 (23:44 +0000)]
Issue 1913: use cProfile instead of profile if available

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

16 years agoFix typo for msvc.py.
cournape [Tue, 9 Sep 2008 13:52:49 +0000 (13:52 +0000)]
Fix typo for msvc.py.

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

16 years agoMerged revisions 3289,3291-3299,3301-3313,3315-3347,3349-3350,3352-3354,3356,3358...
stevenknight [Tue, 9 Sep 2008 07:01:56 +0000 (07:01 +0000)]
Merged revisions 3289,3291-3299,3301-3313,3315-3347,3349-3350,3352-3354,3356,3358-3360,3362-3374,3376-3377 via svnmerge from
http://scons.tigris.org/svn/scons/checkpoint

................
  r3315 | stevenknight | 2008-08-26 09:44:08 -0700 (Tue, 26 Aug 2008) | 2 lines

  Update {CHANGES,RELEASE}.txt for today's checkpoint release.
................
  r3344 | stevenknight | 2008-09-06 02:35:58 -0700 (Sat, 06 Sep 2008) | 3 lines

  Initialized merge tracking via "svnmerge" with revisions "1-3343" from
  http://scons.tigris.org/svn/scons/release
................
  r3347 | stevenknight | 2008-09-06 02:40:06 -0700 (Sat, 06 Sep 2008) | 3 lines

  Removed unnecessary svnmerge-integrated tags (for /branches/*) copied
  over from /trunk.
................
  r3377 | stevenknight | 2008-09-08 23:55:31 -0700 (Mon, 08 Sep 2008) | 18 lines

  Merged revisions 3344,3346-3348,3350-3351,3353-3355,3357,3359-3361,3363-3375 via svnmerge from
  http://scons.tigris.org/svn/scons/release

  ........
    r3346 | stevenknight | 2008-09-06 02:38:28 -0700 (Sat, 06 Sep 2008) | 3 lines

    Remove unnecessary svnmerge-integrated tags (for /branches/* and /trunk)
    copied over from the /checkpoint branch.
  ........
    r3359 | stevenknight | 2008-09-06 04:10:35 -0700 (Sat, 06 Sep 2008) | 2 lines

    Update information for release 1.0.1.
  ........
    r3363 | stevenknight | 2008-09-06 07:29:51 -0700 (Sat, 06 Sep 2008) | 2 lines

    Release update for the last-minute Ubuntu variable name patch.
  ........
................

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

16 years agoIssue 1307: Invalidate node caches after Execute()
pankrat [Mon, 8 Sep 2008 20:23:30 +0000 (20:23 +0000)]
Issue 1307: Invalidate node caches after Execute()

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

16 years agoformatting error
GregNoel [Mon, 8 Sep 2008 09:25:22 +0000 (09:25 +0000)]
formatting error

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

16 years agoAccommodate earlier change in the order of arguments on a Windows
stevenknight [Mon, 8 Sep 2008 05:00:22 +0000 (05:00 +0000)]
Accommodate earlier change in the order of arguments on a Windows
compilation command line.

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

16 years agoFix date.
stevenknight [Mon, 8 Sep 2008 04:56:12 +0000 (04:56 +0000)]
Fix date.

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

16 years agoA test case for my last commit.
managan [Mon, 8 Sep 2008 04:54:27 +0000 (04:54 +0000)]
A test case for my last commit.
This shows the case where a configure test on
a Latex build could never fail since the error
return was not based back.

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

16 years agoJanuary 2008 => January 2009.
stevenknight [Mon, 8 Sep 2008 03:46:17 +0000 (03:46 +0000)]
January 2008 => January 2009.

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

16 years agoUpdate project highlights for 1.0.1.
stevenknight [Mon, 8 Sep 2008 03:45:14 +0000 (03:45 +0000)]
Update project highlights for 1.0.1.
Update roadmap with a stab at a schedule of releases leading up to 2.0.0.

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

16 years agotypos and layout glitches
GregNoel [Sun, 7 Sep 2008 05:48:16 +0000 (05:48 +0000)]
typos and layout glitches

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

16 years agoAdd a test for revision 3340, escaping variable names when using
stevenknight [Sat, 6 Sep 2008 14:25:07 +0000 (14:25 +0000)]
Add a test for revision 3340, escaping variable names when using
env_spawn(), to accommodate a funky variable name used by Ubuntu packagin.

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

16 years agoIssue 1978: put the FindFile section in the Miscellaneous chapter.
stevenknight [Sat, 6 Sep 2008 10:35:03 +0000 (10:35 +0000)]
Issue 1978:  put the FindFile section in the Miscellaneous chapter.

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

16 years agoFix entity references:
stevenknight [Sat, 6 Sep 2008 10:29:12 +0000 (10:29 +0000)]
Fix entity references:
&b-{FindInstalledFiles,Tag} => {FindInstalledFiles,Tag}

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

16 years agoMake Glob() sort, to prevent spurious rebuilds. Fixes issue #2131.
garyo [Sat, 6 Sep 2008 02:12:20 +0000 (02:12 +0000)]
Make Glob() sort, to prevent spurious rebuilds.  Fixes issue #2131.

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

16 years agoIssue 2176: BuilderWrapper __getattr__ should not raise KeyError
pankrat [Fri, 5 Sep 2008 16:28:48 +0000 (16:28 +0000)]
Issue 2176: BuilderWrapper __getattr__ should not raise KeyError

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

16 years agoIssue 1689: short-term hack to make Ubuntu happy
GregNoel [Fri, 5 Sep 2008 06:45:07 +0000 (06:45 +0000)]
Issue 1689: short-term hack to make Ubuntu happy

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

16 years agoPass the results of the InternalLaTeXAuxAction back up the call chain
managan [Thu, 4 Sep 2008 22:30:55 +0000 (22:30 +0000)]
Pass the results of the InternalLaTeXAuxAction back up the call chain
in teh various tex builders. This allows the user to interrupt the build
which was not working before.
It also allows configuration tests to work since now they can tell if
there was failure in a test.
The result from the internal MakeIndexAction and BibtexAction are
checked as well and control returned if there was an error in one
of those. This is to avoid repeatedly running commands until we
hit the retry limit.

I added no test for this simce I am unsure how to test for user
interrupts. Also unclear how to test for how many times the internal
actions were run during a test to see if it returns on teh first error!

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

16 years agoAdded a strfunction to the various tex builders. Since the sub-actions report
managan [Thu, 4 Sep 2008 18:05:49 +0000 (18:05 +0000)]
Added a strfunction to the various tex builders. Since the sub-actions report
their commands as they build the strfunction only returns a string for
GetOption("no_exec") which covers --dry-run.
Therefore --dry-run now gets output, the first command to be run plus " ..."
to indicate that the ral builder may repeat or run bibtex, makeindex,...

Also updating the flags to pass -interaction=nonstopmode
This prevents errors in the .tex files from stopping the build
while Latex asks for input.

Updated several tests to handle this new flag by switching to getopt module

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

16 years agoIssue 2177: Dir get_contents changed to return list of signatures
pankrat [Wed, 3 Sep 2008 16:18:49 +0000 (16:18 +0000)]
Issue 2177: Dir get_contents changed to return list of signatures

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

16 years agoDocument CheckCC and co in the man.
cournape [Wed, 3 Sep 2008 08:33:08 +0000 (08:33 +0000)]
Document CheckCC and co in the man.

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

16 years agoUse our CompileSharedObject builder in CheckSH* (fix tests failure).
cournape [Wed, 3 Sep 2008 08:32:35 +0000 (08:32 +0000)]
Use our CompileSharedObject builder in CheckSH* (fix tests failure).

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

16 years agoAdd a CompileSharedObject builder for configure contexts.
cournape [Wed, 3 Sep 2008 08:32:01 +0000 (08:32 +0000)]
Add a CompileSharedObject builder for configure contexts.

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

16 years agoAdd CheckSHCC and CheckSHCXX checkers (test fail).
cournape [Wed, 3 Sep 2008 08:31:30 +0000 (08:31 +0000)]
Add CheckSHCC and CheckSHCXX checkers (test fail).

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

16 years agoAdd CheckSHCC and CheckSHCXX.
cournape [Wed, 3 Sep 2008 08:30:46 +0000 (08:30 +0000)]
Add CheckSHCC and CheckSHCXX.

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

16 years agoAdd CheckCXX check.
cournape [Wed, 3 Sep 2008 08:30:17 +0000 (08:30 +0000)]
Add CheckCXX check.

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

16 years agoBasic test for CheckCC.
cournape [Wed, 3 Sep 2008 08:29:43 +0000 (08:29 +0000)]
Basic test for CheckCC.

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

16 years agoIntegrate CheckCC in configure context.
cournape [Wed, 3 Sep 2008 08:29:19 +0000 (08:29 +0000)]
Integrate CheckCC in configure context.

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