scons.git
15 years agoMove test/bad-drive.py into the test/Win32 subdirectory.
stevenknight [Sat, 10 Jan 2009 13:44:13 +0000 (13:44 +0000)]
Move test/bad-drive.py into the test/Win32 subdirectory.

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

15 years agoPython 1.5 fix.
stevenknight [Sat, 10 Jan 2009 01:55:06 +0000 (01:55 +0000)]
Python 1.5 fix.

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

15 years agoIssue 1086: add support for generic batch build actions, and
stevenknight [Fri, 9 Jan 2009 16:43:32 +0000 (16:43 +0000)]
Issue 1086:  add support for generic batch build actions, and
specific support for batched compilation for Microsoft Visual C/C++.

Merged revisions 3819-3851,3854-3869,3871-3877,3880 via svnmerge from
http://scons.tigris.org/svn/scons/branches/sgk_batch

........
  r3820 | stevenknight | 2008-12-09 23:59:14 -0800 (Tue, 09 Dec 2008) | 6 lines

  Issue 1086:  Batch compilation support:
  * $MSVC_BATCH to control Visual C/C++ batch compilation.
  * New $CHANGED_SOURCES, $CHANGED_TARGETS, $UNCHANGED_SOURCES and
    $UNCHANGED_TARGETS construction variables.
  * New Action(batch_key=, targets=) keyword arguments.
........
  r3880 | stevenknight | 2009-01-07 20:50:41 -0800 (Wed, 07 Jan 2009) | 3 lines

  Use UniqueList objects to collect the all_children(), all_prerequisites()
  and all_sources() lists instead of calling uniquer_hashables() by hand.
........

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

15 years agoRemove the feature that would build .pdf graphics files
managan [Fri, 9 Jan 2009 01:06:54 +0000 (01:06 +0000)]
Remove the feature that would build .pdf graphics files
from .eps files for the pdf latex builder

That is if the .tex file has "\includegraphics{figure1}"
and the file figure1.eps then when using the .DVI builder
latex will find the file and all is fine.
However, when using the .PDF builder pdflatex can not
process .eps files and will fail.

After this patch the user will need to add
env.PDF('figure1.eps')

Update two tests that used the old feature and would fail otherwise
I could not come up with a way to test for a feature
that is removed. That is, I can write a test that works
before the update and fails after but not the other way around.

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

15 years agoIssue 2279: Support $SWIGOUTDIR values with spaces in the
stevenknight [Thu, 8 Jan 2009 16:40:36 +0000 (16:40 +0000)]
Issue 2279:  Support $SWIGOUTDIR values with spaces in the
directory name.  (Arve Knudsen)

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

15 years agoFix issue #1175: allow WIN32_INSERT_DEF=0 to turn off --output-def in mingw link.
garyo [Wed, 7 Jan 2009 02:44:29 +0000 (02:44 +0000)]
Fix issue #1175: allow WIN32_INSERT_DEF=0 to turn off --output-def in mingw link.

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

15 years agoFix issue 2273: Users Guide msvc missing a few vars.
garyo [Wed, 7 Jan 2009 02:38:01 +0000 (02:38 +0000)]
Fix issue 2273: Users Guide msvc missing a few vars.

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

15 years agoFix issue 2274 (LDMODULE* ignored except on Mac): integrated patch from Arve Knudsen.
garyo [Tue, 6 Jan 2009 23:04:47 +0000 (23:04 +0000)]
Fix issue 2274 (LDMODULE* ignored except on Mac): integrated patch from Arve Knudsen.

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

15 years agoAdd -e$TARGET to Borland linker command line, to fix issue #1166.
garyo [Tue, 6 Jan 2009 12:32:14 +0000 (12:32 +0000)]
Add -e$TARGET to Borland linker command line, to fix issue #1166.

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

15 years agoFirst part of issue 2278: handle quoted module names in SWIG source
GregNoel [Sun, 4 Jan 2009 08:24:11 +0000 (08:24 +0000)]
First part of issue 2278: handle quoted module names in SWIG source

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

15 years agoSimplify how NodeLists expand callable methods by making the NodeList
stevenknight [Sun, 4 Jan 2009 07:40:06 +0000 (07:40 +0000)]
Simplify how NodeLists expand callable methods by making the NodeList
class itself callable, instead of relying on a subsidiary
CallableComposite class for that behavior.

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

15 years agoUse a SCons.Util.UniqueList instance for the Executor.sources list
stevenknight [Thu, 1 Jan 2009 18:36:15 +0000 (18:36 +0000)]
Use a SCons.Util.UniqueList instance for the Executor.sources list
instead of maintaining its uniqueness by hand.

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

15 years agoHave the {Append,Prepend}ENVPath() canonicalization make sure there's the
stevenknight [Thu, 1 Jan 2009 18:36:08 +0000 (18:36 +0000)]
Have the {Append,Prepend}ENVPath() canonicalization make sure there's the
string is non-null before checking whether the first character is '#'.

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

15 years agoFix bug 2193: http://scons.tigris.org/issues/show_bug.cgi?id=2193
garyo [Thu, 1 Jan 2009 13:18:06 +0000 (13:18 +0000)]
Fix bug 2193: scons.tigris.org/issues/show_bug.cgi?id=2193

Ap/PrependENVPath now accept paths starting with # and Dirs.  Added
optional _canonicalize arg to SCons.Util.Ap/PrependPath, and pass an
implementation of that into them from Environment.Ap/PrependENVPath.

Can't just always do the canonicalization in SCons.Util because there
is no env there to get the fs to convert a #-prefixed path to the
proper path.

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

15 years agoAllow subclassing of File and Dir nodes by having the must_be_same()
stevenknight [Tue, 30 Dec 2008 23:15:49 +0000 (23:15 +0000)]
Allow subclassing of File and Dir nodes by having the must_be_same()
method check for isinstance(), not an exact class match.

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

15 years agoIssue 1417: Fix use of attributes (${SOURCES.windows}, e.g.) with null
stevenknight [Tue, 30 Dec 2008 19:59:43 +0000 (19:59 +0000)]
Issue 1417:  Fix use of attributes (${SOURCES.windows}, e.g.) with null
lists of targets and sources.

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

15 years agoFix use of path names in regular expression matches by running them
stevenknight [Mon, 29 Dec 2008 08:09:17 +0000 (08:09 +0000)]
Fix use of path names in regular expression matches by running them
through re.escape() (specifically to avoid problems with embedded "+++"
in temporary directory names on Mac OS X).

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

15 years agoUpdate to latest Test{Cmd,Common}.py, including fixes for working
stevenknight [Mon, 29 Dec 2008 07:24:44 +0000 (07:24 +0000)]
Update to latest Test{Cmd,Common}.py, including fixes for working
with other modules that use atexit, a zip() in earlier Python
versions that don't have it built in, and better error message
reported when we can't compile a regular expression.

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

15 years agoFix test to work on OS X; cleanup and simplification
GregNoel [Sat, 27 Dec 2008 18:30:51 +0000 (18:30 +0000)]
Fix test to work on OS X; cleanup and simplification

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

15 years agoCredit to Arve Knudsen
GregNoel [Fri, 26 Dec 2008 23:43:07 +0000 (23:43 +0000)]
Credit to Arve Knudsen

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

15 years agoIssue 2280: Document TestCommon.shobj_prefix
GregNoel [Fri, 26 Dec 2008 23:34:11 +0000 (23:34 +0000)]
Issue 2280: Document TestCommon.shobj_prefix

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

15 years agoUpdate post 1.2 schedule
GregNoel [Tue, 23 Dec 2008 19:39:21 +0000 (19:39 +0000)]
Update post 1.2 schedule

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

15 years agoInitialized merge tracking via "svnmerge" with revisions "1-3818" from
stevenknight [Mon, 22 Dec 2008 06:19:38 +0000 (06:19 +0000)]
Initialized merge tracking via "svnmerge" with revisions "1-3818" from
http://scons.tigris.org/svn/scons/branches/sgk_batch

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

15 years agoAdd the Options object and *Option() function to the list of features
stevenknight [Mon, 22 Dec 2008 03:58:03 +0000 (03:58 +0000)]
Add the Options object and *Option() function to the list of features
getting mandatory deprecation warnings in 1.3.0.

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

15 years agoAdd a release note about the mandatory warnings (i.e. warnings
stevenknight [Mon, 22 Dec 2008 03:26:03 +0000 (03:26 +0000)]
Add a release note about the mandatory warnings (i.e. warnings
which cannot be disabled) in 1.3.0 for deprecated features.

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

15 years agoMerged revisions 3611-3763,3765-3794,3796-3811,3813-3839,3841-3847 via svnmerge from
stevenknight [Sun, 21 Dec 2008 16:01:54 +0000 (16:01 +0000)]
Merged revisions 3611-3763,3765-3794,3796-3811,3813-3839,3841-3847 via svnmerge from
http://scons.tigris.org/svn/scons/checkpoint

................
  r3765 | stevenknight | 2008-11-04 07:57:03 -0800 (Tue, 04 Nov 2008) | 2 lines

  Update release info for checkpoint.
................
  r3796 | stevenknight | 2008-11-25 21:56:26 -0800 (Tue, 25 Nov 2008) | 2 lines

  Updates for 20081125 checkpoint release.
................
  r3797 | stevenknight | 2008-11-26 08:21:04 -0800 (Wed, 26 Nov 2008) | 2 lines

  User's Guide updates for changes to error messages.
................
  r3813 | stevenknight | 2008-12-07 19:13:17 -0800 (Sun, 07 Dec 2008) | 2 lines

  Update lines for the 20081207 checkpoint release (candidate for 1.2.0).
................
  r3814 | stevenknight | 2008-12-07 19:35:09 -0800 (Sun, 07 Dec 2008) | 2 lines

  Update troubleshoot.xml for the changes to taskmastertrace output.
................
  r3847 | stevenknight | 2008-12-21 07:57:50 -0800 (Sun, 21 Dec 2008) | 9 lines

  Merged revisions 3610-3840,3842-3846 via svnmerge from
  http://scons.tigris.org/svn/scons/release

  ........
    r3842 | stevenknight | 2008-12-20 22:48:14 -0800 (Sat, 20 Dec 2008) | 2 lines

    Update files for 1.2.0.
  ........
................

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

15 years agoUpdates for release 1.2.0.
stevenknight [Sun, 21 Dec 2008 15:35:09 +0000 (15:35 +0000)]
Updates for release 1.2.0.

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

15 years agoAdd warnings for use of the (already) deprecated Options object
stevenknight [Sat, 20 Dec 2008 16:23:36 +0000 (16:23 +0000)]
Add warnings for use of the (already) deprecated Options object
and its related functions.

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

15 years agoFix left-over deprecated use of the Options object.
stevenknight [Sat, 20 Dec 2008 16:15:01 +0000 (16:15 +0000)]
Fix left-over deprecated use of the Options object.

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

15 years agoIssue 2247: Don't fail if we can't import a _subprocess module on Windows.
stevenknight [Sat, 20 Dec 2008 14:19:09 +0000 (14:19 +0000)]
Issue 2247:  Don't fail if we can't import a _subprocess module on Windows.

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

15 years agoIssue 2276: Fix use of codecs module in pre-2.3 Python versions.
stevenknight [Sat, 20 Dec 2008 14:01:33 +0000 (14:01 +0000)]
Issue 2276:  Fix use of codecs module in pre-2.3 Python versions.

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

15 years agoRevert r3828 (vs9 support) in favor of the vs_revamp integration.
stevenknight [Fri, 12 Dec 2008 14:32:49 +0000 (14:32 +0000)]
Revert r3828 (vs9 support) in favor of the vs_revamp integration.

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

15 years agoIssue 2255: Handle scanning of UTF-8 and UTF-16 files. (Greg Spencer)
stevenknight [Fri, 12 Dec 2008 06:16:31 +0000 (06:16 +0000)]
Issue 2255:  Handle scanning of UTF-8 and UTF-16 files.  (Greg Spencer)

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

15 years agoIssue 2102: Add support for Microsoft Visual Studio 9. (Dmitri Rubinstein)
stevenknight [Thu, 11 Dec 2008 13:42:43 +0000 (13:42 +0000)]
Issue 2102:  Add support for Microsoft Visual Studio 9.  (Dmitri Rubinstein)

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

15 years agoIssue 2231: Add a --warn=future-deprecated option, along with
stevenknight [Thu, 11 Dec 2008 05:37:35 +0000 (05:37 +0000)]
Issue 2231:  Add a --warn=future-deprecated option, along with
FutureDeprecatedWarning and MandatoryDeprecatedWarning subclasses.
Use these to future-deprecate the Taskmaster.Task class, which we intend
to turn into an abstract base class by requiring subclasses to implement
the .needs_execute() method.

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

15 years agoFix test breakage from the change to "scons: Build interrupted".
stevenknight [Thu, 11 Dec 2008 05:27:02 +0000 (05:27 +0000)]
Fix test breakage from the change to "scons: Build interrupted".
(Overlooked checking this in with r3822.)

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

15 years agoFixed syntax and semantic errors in Mkdir example in man page, to fix issue #1755.
garyo [Thu, 11 Dec 2008 03:16:12 +0000 (03:16 +0000)]
Fixed syntax and semantic errors in Mkdir example in man page, to fix issue #1755.

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

15 years agoAdded regression test for issue #1249
garyo [Thu, 11 Dec 2008 03:12:25 +0000 (03:12 +0000)]
Added regression test for issue #1249

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

15 years agoFix issue #1249 by making Mkdir action (actually mkdir_func) succeed if the underlyin...
garyo [Thu, 11 Dec 2008 02:59:40 +0000 (02:59 +0000)]
Fix issue #1249 by making Mkdir action (actually mkdir_func) succeed if the underlying mkdir throws EEXIST and there is an existing dir there already.

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

15 years agoPrint "scons: Build interrupted." on stderr, not stdout.
stevenknight [Wed, 10 Dec 2008 16:20:12 +0000 (16:20 +0000)]
Print "scons: Build interrupted." on stderr, not stdout.

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

15 years agoIssue 1287: copy File attributes from the local Node to a Repository
stevenknight [Wed, 10 Dec 2008 14:25:18 +0000 (14:25 +0000)]
Issue 1287:  copy File attributes from the local Node to a Repository
Node so we identify shared object files in a Repository and can link
them into a local shared library.  (Matthew Wesley)

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

15 years agoDelete empty directories.
stevenknight [Wed, 10 Dec 2008 07:54:38 +0000 (07:54 +0000)]
Delete empty directories.

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

15 years agoCreate Taskmaster.{Always,OutOfDate}Task subclasses of Taskmaster.Task
stevenknight [Mon, 8 Dec 2008 19:04:22 +0000 (19:04 +0000)]
Create Task{Always,OutOfDate}Task subclasses of Taskmaster.Task
to hold different implementations of the .needs_execute() method.

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

15 years agoMake ${,UN}CHANGED_{SOURCES,TARGETS} into future reserved construction
stevenknight [Sun, 7 Dec 2008 18:04:59 +0000 (18:04 +0000)]
Make ${,UN}CHANGED_{SOURCES,TARGETS} into future reserved construction
variable names, with an appropriate warning.

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

15 years agosrc/CHANGES.txt updates for changes since 4 November.
stevenknight [Sun, 7 Dec 2008 16:31:39 +0000 (16:31 +0000)]
src/CHANGES.txt updates for changes since 4 November.

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

15 years agoIssue 2265: Suppress messages about spurious dependency cycles.
stevenknight [Sun, 7 Dec 2008 04:15:22 +0000 (04:15 +0000)]
Issue 2265:  Suppress messages about spurious dependency cycles.
(Jason Kenny)

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

15 years agoIssue 2116: Eliminate some spurious dependency cycles by being more
stevenknight [Sat, 6 Dec 2008 17:42:03 +0000 (17:42 +0000)]
Issue 2116:  Eliminate some spurious dependency cycles by being more
aggressive about pruning pending children from the Taskmaster walk.
(Benoit Belley)

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

15 years agoIssue 2267, fix use of uninitialized variable
GregNoel [Sat, 6 Dec 2008 01:13:18 +0000 (01:13 +0000)]
Issue 2267, fix use of uninitialized variable

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

15 years agoGive proper credit to Benoit Belley for the --taskmastertrace=
stevenknight [Fri, 5 Dec 2008 14:14:58 +0000 (14:14 +0000)]
Give proper credit to Benoit Belley for the --taskmastertrace=
enhancements in the previous commit.

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

15 years agoIssue 2265: Add additional --taskmastertrace= messages in the Task class.
stevenknight [Fri, 5 Dec 2008 08:16:58 +0000 (08:16 +0000)]
Issue 2265:  Add additional --taskmastertrace= messages in the Task class.
Refactor messages in the Taskmaster class to use new, common methods.

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

15 years agoFix issue #3: make Append/PrependUnique uniquify the appended/prepended list first.
garyo [Fri, 5 Dec 2008 03:22:28 +0000 (03:22 +0000)]
Fix issue #3: make Append/PrependUnique uniquify the appended/prepended list first.

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

15 years agoFix a Glob() exception (with stack trace) when an explicit Node
stevenknight [Tue, 2 Dec 2008 18:58:29 +0000 (18:58 +0000)]
Fix a Glob() exception (with stack trace) when an explicit Node
exists in a repository directory without a corresponding on-disk
file or directory.

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

15 years agoHighlights and roadmap update for checkpoing d20081125.
stevenknight [Wed, 26 Nov 2008 20:16:14 +0000 (20:16 +0000)]
Highlights and roadmap update for checkpoing d20081125.

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

15 years agoAccidently left a debug print in.
managan [Tue, 25 Nov 2008 18:37:22 +0000 (18:37 +0000)]
Accidently left a debug print in.

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

15 years agoAdd a test for the case of a .DVI build using a .eps graphics.
managan [Tue, 25 Nov 2008 18:32:19 +0000 (18:32 +0000)]
Add a test for the case of a .DVI build using a .eps graphics.
Test that we don't make a .pdf file from the graphic.
The patch also covers the case of requiring the graphics files
I search for to have an extension so we don't try to build fig.eps from fig.eps...

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

16 years agoAdd reference to LoadableModule in SharedLibrary description
GregNoel [Wed, 19 Nov 2008 23:51:58 +0000 (23:51 +0000)]
Add reference to LoadableModule in SharedLibrary description

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

16 years agoUpdate Users Guide to clarify usage of site_scons and site_init.py.
garyo [Wed, 19 Nov 2008 01:29:38 +0000 (01:29 +0000)]
Update Users Guide to clarify usage of site_scons and site_init.py.

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

16 years agoInitialized merge tracking via "svnmerge" with revisions "1-3786" from
stevenknight [Sun, 16 Nov 2008 00:46:31 +0000 (00:46 +0000)]
Initialized merge tracking via "svnmerge" with revisions "1-3786" from
http://scons.tigris.org/svn/scons/branches/sgk_PathList

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

16 years agoSpeed up Node.FS.EntryProxy.__getattr__() by not spending cycles
stevenknight [Sat, 15 Nov 2008 22:59:25 +0000 (22:59 +0000)]
Speed up Node.FS.EntryProxy.__getattr__() by not spending cycles
generating an AttributeError exception message that gets ignored most
of the time.  Instead, re-raise an AttributeError subclass that delays
message generation until its __str__() method is actually called.
(Brad Fitzpatrick)

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

16 years agoFix typo found by Jared Grubb
GregNoel [Sat, 15 Nov 2008 21:04:58 +0000 (21:04 +0000)]
Fix typo found by Jared Grubb

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

16 years agoI found that my coding for automatically building .pdf files from .eps files
managan [Wed, 12 Nov 2008 21:36:07 +0000 (21:36 +0000)]
I found that my coding for automatically building .pdf files from .eps files
failed when the .tex file is in a subdirectory.

I added a new test and made the one line fix.

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

16 years agoMerged revisions 3225-3226 via svnmerge from
stevenknight [Wed, 12 Nov 2008 00:12:33 +0000 (00:12 +0000)]
Merged revisions 3225-3226 via svnmerge from
http://scons.tigris.org/svn/scons/branches/sgk_subst

........
  r3225 | stevenknight | 2008-07-18 10:46:49 -0700 (Fri, 18 Jul 2008) | 3 lines

  Remove an unnecessary \n from the end of the $INSTALLSTR setting (unneeded
  because string substituion currently strips trailing white space).
........
  r3226 | stevenknight | 2008-07-19 07:17:10 -0700 (Sat, 19 Jul 2008) | 3 lines

  Use subst_list() for generating ToolSurrogate *COMSTR values so we don't
  rely on the current white-space compression behavior of subst().
........

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

16 years agoPython 1.5 and 2.1 compatibility: string methods, nested scopes.
stevenknight [Wed, 12 Nov 2008 00:00:56 +0000 (00:00 +0000)]
Python 1.5 and 2.1 compatibility:  string methods, nested scopes.

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

16 years agoMerged revisions 3759-3762 via svnmerge from
stevenknight [Tue, 11 Nov 2008 02:23:03 +0000 (02:23 +0000)]
Merged revisions 3759-3762 via svnmerge from
http://scons.tigris.org/svn/scons/branches/sgk_subst

........
  r3759 | stevenknight | 2008-11-03 17:59:30 -0800 (Mon, 03 Nov 2008) | 3 lines

  Refactor individual unit test methods into separate TestCase
  sbblcasses, so we can start re-using test fixtures.
........
  r3760 | stevenknight | 2008-11-03 18:43:01 -0800 (Mon, 03 Nov 2008) | 4 lines

  Refactor the overlapping classes and dictionaries of values for testing
  scons_subst() and scons_subst_list() into the common SubstTestCase base
  class so we can re-use the same input for testing the new code.
........
  r3761 | stevenknight | 2008-11-03 22:43:51 -0800 (Mon, 03 Nov 2008) | 3 lines

  Split the large test methods into separate test methods for
  specific, individual pieces of functionality.
........
  r3762 | stevenknight | 2008-11-04 05:06:43 -0800 (Tue, 04 Nov 2008) | 4 lines

  Share code the basic comparison code between the scons_subst()
  and scons_subst_list() test cases by moving it into the base class
  and wrapping the call.
........

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

16 years agoWindows portability: Avoid duplicate foo.lib targets by telling
stevenknight [Mon, 10 Nov 2008 05:25:31 +0000 (05:25 +0000)]
Windows portability:  Avoid duplicate foo.lib targets by telling
env.SharedLibrary() to not build an import library.

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

16 years agoIssue 2238: Add a __contains__() method to support the "val in env"
stevenknight [Sun, 9 Nov 2008 14:47:35 +0000 (14:47 +0000)]
Issue 2238:  Add a __contains__() method to support the "val in env"
statement for construction environments.

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

16 years agoIssue 2228: discard stderr by using os.devnull
GregNoel [Sun, 9 Nov 2008 02:02:04 +0000 (02:02 +0000)]
Issue 2228: discard stderr by using os.devnull

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

16 years agoFix an exception and stack trace when Glob() hits an on-disk file or
stevenknight [Sat, 8 Nov 2008 01:46:33 +0000 (01:46 +0000)]
Fix an exception and stack trace when Glob() hits an on-disk file or
directory that begins with '#'.

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

16 years agoFix a nested-scope regression affecting Python 1.5, 2.0 and 2.1.
stevenknight [Fri, 7 Nov 2008 16:29:41 +0000 (16:29 +0000)]
Fix a nested-scope regression affecting Python 1.5, 2.0 and 2.1.

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

16 years agoIssue 2242: Minor style and loop enhancements
GregNoel [Fri, 7 Nov 2008 01:40:03 +0000 (01:40 +0000)]
Issue 2242: Minor style and loop enhancements

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

16 years agoIssue 2235: File.Dir() creates files in the wrong place
GregNoel [Fri, 7 Nov 2008 01:34:18 +0000 (01:34 +0000)]
Issue 2235: File.Dir() creates files in the wrong place

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

16 years agoIssue 2236: Add comment to clarify Configure.CheckType()
GregNoel [Fri, 7 Nov 2008 00:38:32 +0000 (00:38 +0000)]
Issue 2236: Add comment to clarify Configure.CheckType()

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

16 years agoUpdate src/CHANGES.txt for changes since 1.1.0.
stevenknight [Tue, 4 Nov 2008 13:36:37 +0000 (13:36 +0000)]
Update src/CHANGES.txt for changes since 1.1.0.

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

16 years agoIssue 2087: Handle Java classes declared in methods
pankrat [Fri, 31 Oct 2008 19:27:08 +0000 (19:27 +0000)]
Issue 2087: Handle Java classes declared in methods

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

16 years agoFix uncaught KeyboardInterrupt.
stevenknight [Fri, 31 Oct 2008 16:33:33 +0000 (16:33 +0000)]
Fix uncaught KeyboardInterrupt.

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

16 years agoFix a nested scope issue for older Python versions.
stevenknight [Fri, 31 Oct 2008 13:36:01 +0000 (13:36 +0000)]
Fix a nested scope issue for older Python versions.

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

16 years agoFix use of isinstance(..., tuple) so it works in older Python versions.
stevenknight [Fri, 31 Oct 2008 13:33:56 +0000 (13:33 +0000)]
Fix use of isinstance(..., tuple) so it works in older Python versions.

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

16 years agoFix calling Exit() from within a Python function action, so that it gets
stevenknight [Fri, 31 Oct 2008 13:19:02 +0000 (13:19 +0000)]
Fix calling Exit() from within a Python function action, so that it gets
detected and exits with the specified value under Python versions before
2.5, by explicitly catching and re-raising the SystemExit exception.

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

16 years agoMove responsibility for extracting the exit status from executed tests
stevenknight [Fri, 31 Oct 2008 06:08:28 +0000 (06:08 +0000)]
Move responsibility for extracting the exit status from executed tests
from the TestCommon.py module to the wrapper classes in TestCmd.py
that we use as fallbacks if the subprocess module doesn't exist.

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

16 years agoThis new test and emitter update recursively checks the whole source of the
managan [Thu, 30 Oct 2008 23:00:18 +0000 (23:00 +0000)]
This new test and emitter update recursively checks the whole source of the
latex document for commands that affect what side effect files
will be created, and for graphics files that are included
(so we can convert postscript to pdf if pdflatex is being run).

Now that this is recursive we could tighten up on the side
effect file list (e.g. a \makeindex with no \index commands
won't make all the files we tell scons to expect as side effects)
but I think that is asking for trouble if we mess it up.

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

16 years agoOlder Python portability: isinstance() only takes a single class.
stevenknight [Thu, 30 Oct 2008 13:05:32 +0000 (13:05 +0000)]
Older Python portability:  isinstance() only takes a single class.

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

16 years agoUpdate test/SCCS/diskcheck.py for recent GetBuildFailures()
stevenknight [Thu, 30 Oct 2008 12:57:56 +0000 (12:57 +0000)]
Update test/SCCS/diskcheck.py for recent GetBuildFailures()
robustness change, which changed the exit message in this case.

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

16 years agoexception must be stringified before comparison
GregNoel [Wed, 29 Oct 2008 23:55:16 +0000 (23:55 +0000)]
exception must be stringified before comparison

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

16 years agoApplied Benoit Belley's patch in ticket 1957 improve the robustness of
garyo [Wed, 29 Oct 2008 03:01:00 +0000 (03:01 +0000)]
Applied Benoit Belley's patch in ticket 1957 improve the robustness of
GetBuildFailures().  New function convert_to_buildError, and use it in
several places so all build failures now go through it and are
returned as BuildError exceptions.  Had a small effect on output
formatting in many tests but no significant change to behavior.  I
reworked the patch a little to keep SCons exit status values the same
as before; this patch could make it simpler to change them in some
cases, e.g. exit with the errno of the failed action if desired.  One
nice side effect of this patch is that more scons errors print the
node that caused the error now.

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

16 years agoSpeed up Node.FS.FileFinder.find_file() by avoiding constructing debugging
stevenknight [Wed, 29 Oct 2008 02:29:13 +0000 (02:29 +0000)]
Speed up Node.FS.FileFinder.find_file() by avoiding constructing debugging
strings that will only get thrown away during normal operation.

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

16 years agoAdd 1.1.0 to the instal_scons.py script.
stevenknight [Wed, 29 Oct 2008 01:08:37 +0000 (01:08 +0000)]
Add 1.1.0 to the instal_scons.py script.

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

16 years agoIssue 2228: Add os.devnull to the SCons.compat layer.
stevenknight [Tue, 28 Oct 2008 01:00:25 +0000 (01:00 +0000)]
Issue 2228:  Add os.devnull to the SCons.compat layer.

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

16 years agoSet FORTRANMODDIRPREFIX for ifort tool (should fix 1260).
cournape [Mon, 20 Oct 2008 12:21:09 +0000 (12:21 +0000)]
Set FORTRANMODDIRPREFIX for ifort tool (should fix 1260).

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

16 years agoUpdate docstring for ifort.
cournape [Mon, 20 Oct 2008 12:20:46 +0000 (12:20 +0000)]
Update docstring for ifort.

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

16 years agoFix trailing space.
cournape [Mon, 20 Oct 2008 12:20:22 +0000 (12:20 +0000)]
Fix trailing space.

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

16 years agoIssue 1568: fix a stack trace when --debug=include tries to handle
stevenknight [Fri, 17 Oct 2008 02:20:50 +0000 (02:20 +0000)]
Issue 1568:  fix a stack trace when --debug=include tries to handle
a library as an argument.

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

16 years agoFix use of VariantDir when the -n option is used and doesn't,
stevenknight [Wed, 15 Oct 2008 14:36:07 +0000 (14:36 +0000)]
Fix use of VariantDir when the -n option is used and doesn't,
therefore, actually create the variant directory.

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

16 years agoRemove the old, empty test/BuildDir directory.
stevenknight [Wed, 15 Oct 2008 14:25:16 +0000 (14:25 +0000)]
Remove the old, empty test/BuildDir directory.

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

16 years agoSupport the -f option allowing specification of a different top-level
stevenknight [Wed, 15 Oct 2008 14:16:13 +0000 (14:16 +0000)]
Support the -f option allowing specification of a different top-level
"SConstruct" file name to search for when using the -D, -U or -u options.

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

16 years agoFix release lines (incorrect line updated in merge from checkpoint).
stevenknight [Wed, 15 Oct 2008 05:35:43 +0000 (05:35 +0000)]
Fix release lines (incorrect line updated in merge from checkpoint).

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

16 years agoCollect the scripts for the three "climb up" options (-D, -U and -u)
stevenknight [Wed, 15 Oct 2008 00:28:04 +0000 (00:28 +0000)]
Collect the scripts for the three "climb up" options (-D, -U and -u)
in a subdirectory.  Split sub-tests into separate scripts.  Clean things
up a bit.

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

16 years agoTest and document the ability to specify multiple -f files.
stevenknight [Tue, 14 Oct 2008 23:06:36 +0000 (23:06 +0000)]
Test and document the ability to specify multiple -f files.

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

16 years agoDon't use the Exception.message attribute that was deprecated in
stevenknight [Sun, 12 Oct 2008 04:31:07 +0000 (04:31 +0000)]
Don't use the Exception.message attribute that was deprecated in
Python 2.6; just str() the exception instead.

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

16 years agoPython 2.6 portability: add __{add,radd}__() methods to the CLVar
stevenknight [Sun, 12 Oct 2008 04:28:06 +0000 (04:28 +0000)]
Python 2.6 portability:  add __{add,radd}__() methods to the CLVar
class used for testing.

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

16 years agoDon't use "as" as a variable name--reserved in Python 2.6.
stevenknight [Sun, 12 Oct 2008 03:54:23 +0000 (03:54 +0000)]
Don't use "as" as a variable name--reserved in Python 2.6.

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