scons.git
15 years agoSplit an embedded sub-test from test/Libs/LIBS.py
stevenknight [Wed, 18 Feb 2009 16:27:18 +0000 (16:27 +0000)]
Split an embedded sub-test from test/Libs/LIBS.py
into its own test script.

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

15 years agoIssue 1193: Make suffix-matching for scaners
stevenknight [Wed, 18 Feb 2009 16:10:44 +0000 (16:10 +0000)]
Issue 1193:  Make suffix-matching for scaners
case-insensitive on Windows.  (Stanislav Baranov)

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

15 years agoIssue 2277: Fix generation of VS 8.0 files to use the %(platform)s string
stevenknight [Fri, 13 Feb 2009 01:56:11 +0000 (01:56 +0000)]
Issue 2277:  Fix generation of VS 8.0 files to use the %(platform)s string
(e.g. x64) instead of hard-coding Win32.  (Dan Eaton)

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

15 years agoRemove more unnecessary imports from test scripts.
stevenknight [Wed, 11 Feb 2009 17:57:38 +0000 (17:57 +0000)]
Remove more unnecessary imports from test scripts.

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

15 years agoRemove unnecessary nested $( $) around $_LIBDIRFLAGS from $LINKCOM
stevenknight [Wed, 11 Feb 2009 17:48:32 +0000 (17:48 +0000)]
Remove unnecessary nested $( $) around $_LIBDIRFLAGS from $LINKCOM
definitions that still have them.  This will cause relinks upon
upgrade when using the Microsoft, OS/2 or Phar Lap linkers.

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

15 years agoRestore emacs + vim settings lines.
stevenknight [Mon, 9 Feb 2009 21:30:53 +0000 (21:30 +0000)]
Restore emacs + vim settings lines.

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

15 years agoIssue 2181: intern file-names to save memory
pankrat [Mon, 9 Feb 2009 21:17:56 +0000 (21:17 +0000)]
Issue 2181: intern file-names to save memory

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

15 years agoAdd the $CCFLAGS variable to the $PCHCOM command line, and rearrange
stevenknight [Mon, 9 Feb 2009 21:11:28 +0000 (21:11 +0000)]
Add the $CCFLAGS variable to the $PCHCOM command line, and rearrange
the arguments so the /Fo is towards the beginning of the line
(like it is for $CCCOM, $CXXCOM, etc.).

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

15 years agoDoc string fix.
stevenknight [Mon, 9 Feb 2009 21:10:42 +0000 (21:10 +0000)]
Doc string fix.

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

15 years agoHandle finding implicit dependents defined with doubled path
stevenknight [Mon, 9 Feb 2009 21:09:43 +0000 (21:09 +0000)]
Handle finding implicit dependents defined with doubled path
separators, as can happen on Windows systems when the backslashes
in the path name are escaped (e.g. "C:\\some\\include.h").

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

15 years agoAdd emacs and vim editing settings to the bottom of *.py files.
stevenknight [Mon, 9 Feb 2009 18:29:43 +0000 (18:29 +0000)]
Add emacs and vim editing settings to the bottom of *.py files.

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

15 years agoUpdate Test{Cmd,Common}.py to print the command arguments if
stevenknight [Sun, 8 Feb 2009 15:17:32 +0000 (15:17 +0000)]
Update Test{Cmd,Common}.py to print the command arguments if
TestCommon.start() gets an exception trying to run a program, using a
new TestCmd.command_args() method.  Doc string updates.  Code cleanups.

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

15 years ago2to3 sez, "rewrite map() as loop"
GregNoel [Sun, 8 Feb 2009 06:45:39 +0000 (06:45 +0000)]
2to3 sez, "rewrite map() as loop"

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

15 years agoCapture a test case to verify correct behavior of $( $) on long lines
stevenknight [Sat, 7 Feb 2009 14:45:00 +0000 (14:45 +0000)]
Capture a test case to verify correct behavior of $( $) on long lines
handled by TempFileMunge.  Comment the behavior.  Other minor cleanups.

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

15 years agoFix execution on systems where qmtest is in a path that contains spaces
stevenknight [Sat, 7 Feb 2009 13:03:42 +0000 (13:03 +0000)]
Fix execution on systems where qmtest is in a path that contains spaces
(C:\Program Files\Python24\Scripts) by just using the found qmtest name.

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

15 years agoFix misspelled method name in the section that tests Python versions
stevenknight [Fri, 6 Feb 2009 19:36:11 +0000 (19:36 +0000)]
Fix misspelled method name in the section that tests Python versions
that don't support metaclasses.

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

15 years agoFixes for use of regular expression with must_contain_all_lines().
stevenknight [Fri, 6 Feb 2009 19:31:50 +0000 (19:31 +0000)]
Fixes for use of regular expression with must_contain_all_lines().

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

15 years agoRemove (lots) more unnecessary imports.
stevenknight [Fri, 6 Feb 2009 18:36:10 +0000 (18:36 +0000)]
Remove (lots) more unnecessary imports.

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

15 years agoRemove unnecessary imports.
stevenknight [Fri, 6 Feb 2009 16:54:04 +0000 (16:54 +0000)]
Remove unnecessary imports.

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

15 years agoCommonize new string-search-in-output methods:
stevenknight [Fri, 6 Feb 2009 14:55:23 +0000 (14:55 +0000)]
Commonize new string-search-in-output methods:
test.must_contain_all_lines()
test.must_contain_any_line()
test.must_not_contain_any_line()
Update tests to use them.  Remove "import string" lines where the
change made them unnecessary.

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

15 years agoSlight rearrangement, add a comment about the customization.
stevenknight [Tue, 3 Feb 2009 08:25:54 +0000 (08:25 +0000)]
Slight rearrangement, add a comment about the customization.

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

15 years agoTry restoring custom nav bar, updated for tigris.org changes.
stevenknight [Tue, 3 Feb 2009 08:22:06 +0000 (08:22 +0000)]
Try restoring custom nav bar, updated for tigris.org changes.

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

15 years agoUpdated content through the web interface.
stevenknight [Tue, 3 Feb 2009 08:12:29 +0000 (08:12 +0000)]
Updated content through the web interface.

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

15 years agoDeleted content through the web interface.
stevenknight [Tue, 3 Feb 2009 08:12:23 +0000 (08:12 +0000)]
Deleted content through the web interface.

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

15 years agoUpdated html component "Administrative links" through the web interface.
stevenknight [Tue, 3 Feb 2009 08:12:01 +0000 (08:12 +0000)]
Updated html component "Administrative links" through the web interface.

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

15 years agoUpdated content through the web interface.
stevenknight [Tue, 3 Feb 2009 08:10:06 +0000 (08:10 +0000)]
Updated content through the web interface.

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

15 years agoAdded new page component "Administrative links" through the web interface.
stevenknight [Tue, 3 Feb 2009 08:10:00 +0000 (08:10 +0000)]
Added new page component "Administrative links" through the web interface.

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

15 years agoUpdated content through the web interface.
stevenknight [Tue, 3 Feb 2009 08:09:09 +0000 (08:09 +0000)]
Updated content through the web interface.

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

15 years agoAdded new page "Administrivia" through the web interface.
stevenknight [Tue, 3 Feb 2009 08:08:57 +0000 (08:08 +0000)]
Added new page "Administrivia" through the web interface.

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

15 years agoUpdated html component "Administrivia" through the web interface.
stevenknight [Tue, 3 Feb 2009 08:08:00 +0000 (08:08 +0000)]
Updated html component "Administrivia" through the web interface.

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

15 years agoUpdated html component "Administrivia" through the web interface.
stevenknight [Tue, 3 Feb 2009 08:05:25 +0000 (08:05 +0000)]
Updated html component "Administrivia" through the web interface.

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

15 years agoUpdated content through the web interface.
stevenknight [Tue, 3 Feb 2009 08:01:52 +0000 (08:01 +0000)]
Updated content through the web interface.

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

15 years agoUpdated content through the web interface.
stevenknight [Tue, 3 Feb 2009 08:01:29 +0000 (08:01 +0000)]
Updated content through the web interface.

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

15 years agoAdded new page component "Administrivia" through the web interface.
stevenknight [Tue, 3 Feb 2009 08:01:07 +0000 (08:01 +0000)]
Added new page component "Administrivia" through the web interface.

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

15 years agoDeleted content through the web interface.
stevenknight [Tue, 3 Feb 2009 07:59:10 +0000 (07:59 +0000)]
Deleted content through the web interface.

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

15 years agoAdded new page component "Issue tracker queries" through the web interface.
stevenknight [Tue, 3 Feb 2009 07:57:48 +0000 (07:57 +0000)]
Added new page component "Issue tracker queries" through the web interface.

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

15 years agoAdded new page "Issue tracker queries" through the web interface.
stevenknight [Tue, 3 Feb 2009 07:56:38 +0000 (07:56 +0000)]
Added new page "Issue tracker queries" through the web interface.

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

15 years agoGet rid of our custom nav bar so we can get the tigris.org wiki,
stevenknight [Tue, 3 Feb 2009 07:49:01 +0000 (07:49 +0000)]
Get rid of our custom nav bar so we can get the tigris.org wiki,
administrative interfaces, etc.

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

15 years agoAdditional fix for issue #1249 (Mkdir fails if dir exists) on Windows.
garyo [Sat, 31 Jan 2009 23:02:08 +0000 (23:02 +0000)]
Additional fix for issue #1249 (Mkdir fails if dir exists) on Windows.

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

15 years agoUpdate the runtest.py test for the error message change.
stevenknight [Sat, 31 Jan 2009 20:48:18 +0000 (20:48 +0000)]
Update the runtest.py test for the error message change.
Clarify the error message a bit.

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

15 years agoruntest.py: find qmtest as qmtest.py on Windows.
garyo [Sat, 31 Jan 2009 12:23:04 +0000 (12:23 +0000)]
runtest.py: find qmtest as qmtest.py on Windows.

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

15 years agoUser's Guide updates: fix typos, clarify various things. (Robert P. J. Day)
stevenknight [Thu, 29 Jan 2009 17:06:51 +0000 (17:06 +0000)]
User's Guide updates:  fix typos, clarify various things.  (Robert P. J. Day)

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

15 years agoChange explicit uses of test.no_result() to test.skip_test(),
stevenknight [Thu, 29 Jan 2009 17:06:24 +0000 (17:06 +0000)]
Change explicit uses of test.no_result() to test.skip_test(),
for consistency with the rest.

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

15 years agoFix use of $CHANGED_SOURCES with the --config=force option so that
stevenknight [Thu, 29 Jan 2009 15:07:32 +0000 (15:07 +0000)]
Fix use of $CHANGED_SOURCES with the --config=force option so that
.sconsign build state stays consistent.

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

15 years agoRelax the precompiled header performance criterion to a 15% improvement,
stevenknight [Wed, 28 Jan 2009 18:37:32 +0000 (18:37 +0000)]
Relax the precompiled header performance criterion to a 15% improvement,
and print useful information if we fail to meet that.

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

15 years agoUser's Guide updates. (Robert P. J. Day)
stevenknight [Wed, 28 Jan 2009 13:07:52 +0000 (13:07 +0000)]
User's Guide updates.  (Robert P. J. Day)

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

15 years agoLink for GSoC 2009 in project highlights
GregNoel [Wed, 28 Jan 2009 08:01:50 +0000 (08:01 +0000)]
Link for GSoC 2009 in project highlights

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

15 years agoDetect the presence of 8.3 names on Windows when looking on-disk
stevenknight [Tue, 27 Jan 2009 16:21:05 +0000 (16:21 +0000)]
Detect the presence of 8.3 names on Windows when looking on-disk
for whethr an entry exists.

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

15 years agoHandle executing tests in a directory whose path contains spaces,
stevenknight [Tue, 27 Jan 2009 13:42:49 +0000 (13:42 +0000)]
Handle executing tests in a directory whose path contains spaces,
or with a Python in a path that contains spaces, by refactoring
(again) how we execute the internal scripts.

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

15 years agoFix tests that use the Python interpreter to execute internal scripts
stevenknight [Mon, 26 Jan 2009 17:17:19 +0000 (17:17 +0000)]
Fix tests that use the Python interpreter to execute internal scripts
and also set SConsignFile(None) so the implicit command dependencies
don't cause .sconsign files to be written into the system directory
where the Python executable lives.

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

15 years agoFix a mismatch in generated GUIDs on non-Windows platforms by
stevenknight [Sun, 25 Jan 2009 14:41:08 +0000 (14:41 +0000)]
Fix a mismatch in generated GUIDs on non-Windows platforms by
canonicalizing the file name used for the MD5 checksum so it always
looks like it's a Windows path (i.e., uses \ separators).

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

15 years agoRemove leftover "shell pwd" debug statement.
stevenknight [Wed, 21 Jan 2009 19:37:35 +0000 (19:37 +0000)]
Remove leftover "shell pwd" debug statement.
Update error messages now that the Windows cmd interpreter is looking
for the shell-out executables.

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

15 years agoFix the --implicit-deps-unchanged test so it works correctly regardless
stevenknight [Wed, 21 Jan 2009 19:24:07 +0000 (19:24 +0000)]
Fix the --implicit-deps-unchanged test so it works correctly regardless
of whether or not the compiler inserts timestamp information in the
generated object files.

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

15 years agoUpdate the GUID of the generated project file.
stevenknight [Wed, 21 Jan 2009 18:45:02 +0000 (18:45 +0000)]
Update the GUID of the generated project file.

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

15 years agoFix shelling out to non-.exe commands from --interactive mode on
stevenknight [Wed, 21 Jan 2009 18:39:33 +0000 (18:39 +0000)]
Fix shelling out to non-.exe commands from --interactive mode on
Windows by accomodating platform-specific behavior in the way
subprocess.Popen() calls handle shell= arguments with lists.

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

15 years agoAdd /nologo to the PCH compilation to suppress Microsoft garp on stderr.
stevenknight [Wed, 21 Jan 2009 18:07:09 +0000 (18:07 +0000)]
Add /nologo to the PCH compilation to suppress Microsoft garp on stderr.

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

15 years agoUpdate tests for now discovering dependencies on quoted commands
stevenknight [Tue, 20 Jan 2009 19:46:16 +0000 (19:46 +0000)]
Update tests for now discovering dependencies on quoted commands
in command lines.

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

15 years agoEscape path names to fix regular expression matches on Windows
stevenknight [Tue, 20 Jan 2009 14:46:23 +0000 (14:46 +0000)]
Escape path names to fix regular expression matches on Windows
when \ is the path separator.

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

15 years agoDetect implicit command dependencies even when the command is quoted.
stevenknight [Tue, 20 Jan 2009 14:21:54 +0000 (14:21 +0000)]
Detect implicit command dependencies even when the command is quoted.

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

15 years agoUpdate src/CHANGES.txt for recent checkins.
stevenknight [Tue, 20 Jan 2009 14:08:40 +0000 (14:08 +0000)]
Update src/CHANGES.txt for recent checkins.

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

15 years agoMerged revisions 3848-3890,3892-3896,3898-3908 via svnmerge from
stevenknight [Tue, 20 Jan 2009 14:06:14 +0000 (14:06 +0000)]
Merged revisions 3848-3890,3892-3896,3898-3908 via svnmerge from
http://scons.tigris.org/svn/scons/checkpoint

........
  r3892 | stevenknight | 2009-01-12 06:02:05 -0800 (Mon, 12 Jan 2009) | 2 lines

  Updates for 1.2.0.d20090112 checkpoint release.
........
  r3893 | stevenknight | 2009-01-12 06:07:35 -0800 (Mon, 12 Jan 2009) | 2 lines

  Fix undefined reference in User's Guide build.
........
  r3898 | stevenknight | 2009-01-13 02:44:25 -0800 (Tue, 13 Jan 2009) | 2 lines

  Update checkpoint timestamps.
........
  r3899 | stevenknight | 2009-01-13 06:45:07 -0800 (Tue, 13 Jan 2009) | 2 lines

  Update expected Copyright year line used in tests.
........

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

15 years agoMove test/option-h.py to test/option/h.py and clean up an unnecessary import.
stevenknight [Mon, 19 Jan 2009 15:19:33 +0000 (15:19 +0000)]
Move test/option-h.py to test/option/h.py and clean up an unnecessary import.

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

15 years agoRemove a left-over commented-out debug test.run() call.
stevenknight [Mon, 19 Jan 2009 15:19:23 +0000 (15:19 +0000)]
Remove a left-over commented-out debug test.run() call.

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

15 years agoFix calculation of $UNCHANGED_SOURCES to include correctly sources
stevenknight [Mon, 19 Jan 2009 15:19:19 +0000 (15:19 +0000)]
Fix calculation of $UNCHANGED_SOURCES to include correctly sources
for which the target doesn't exist.

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

15 years agoVarious Windows fixes:
stevenknight [Sun, 18 Jan 2009 19:33:53 +0000 (19:33 +0000)]
Various Windows fixes:
* Restore correct code to detect a bad drive on Windows.
* Update the bad drive error message to include the target name.
* Update SConfTests.py to print the config.log on error.
* Fix the smart_link() error message to not use repr() of a path so
  escaping the \ separators on Windows doesn't interfere with regex matchs.
* Update regexes in test/VariantDir/reflect.py to accomodate command-line
  re-ordering to put the /OUT: first in the line.
* Explicitly check for smart_link() messages even on Windows.

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

15 years agoIssue 2278: Emit header name when using SWIG directors (Ben Webb)
GregNoel [Sat, 17 Jan 2009 19:56:55 +0000 (19:56 +0000)]
Issue 2278: Emit header name when using SWIG directors (Ben Webb)

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

15 years agotigris.org updates for the 1.2.0.d20090113 checkpoint release.
stevenknight [Tue, 13 Jan 2009 16:50:31 +0000 (16:50 +0000)]
tigris.org updates for the 1.2.0.d20090113 checkpoint release.

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

15 years agoFix an undefined entity reference.
stevenknight [Tue, 13 Jan 2009 10:33:28 +0000 (10:33 +0000)]
Fix an undefined entity reference.

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

15 years agoFix ability to Install() the same file multiple times.
stevenknight [Tue, 13 Jan 2009 10:32:30 +0000 (10:32 +0000)]
Fix ability to Install() the same file multiple times.

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

15 years agoSince my change left Russel confused I decided to clarify it even more.
managan [Mon, 12 Jan 2009 17:40:04 +0000 (17:40 +0000)]
Since my change left Russel confused I decided to clarify it even more.
That is make it clear that this is for all types of TeX files built
with the PDF builder

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

15 years agoFix typos in the User's Guide. (Zia Sobhani)
stevenknight [Mon, 12 Jan 2009 13:03:29 +0000 (13:03 +0000)]
Fix typos in the User's Guide.  (Zia Sobhani)

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

15 years agoAdd a little more description to the change
managan [Sun, 11 Jan 2009 06:48:32 +0000 (06:48 +0000)]
Add a little more description to the change
in the tex files. Namely that this only
afftect pdflatex and thus things built with
the PDF builder.

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

15 years agoBen Webb did it, not me
GregNoel [Sat, 10 Jan 2009 17:12:18 +0000 (17:12 +0000)]
Ben Webb did it, not me

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

15 years agoRemove $CCFLAGS from the the default definitions of $CXXFLAGS for
stevenknight [Sat, 10 Jan 2009 14:43:42 +0000 (14:43 +0000)]
Remove $CCFLAGS from the the default definitions of $CXXFLAGS for
Visual C/C++ and MIPSpro C++ on SGI so, they match other tools
and avoid flag duplication on C++ command lines.

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

15 years agoUpdate src/CHANGES.txt for recent checkins.
stevenknight [Sat, 10 Jan 2009 13:51:03 +0000 (13:51 +0000)]
Update src/CHANGES.txt for recent checkins.
Use $WINDOWS_INSERT_DEF instead of the deprecated $WIN32_INSERT_DEF.

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

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

16 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

16 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

16 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

16 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

16 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

16 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