scons:mainlinemirror.git
8 years agoMerged revisions 5065-5066 via svnmerge from 2.0
bdbaddog [Wed, 30 Jun 2010 05:47:25 +0000 (05:47 +0000)]
Merged revisions 5065-5066 via svnmerge from
http://scons.tigris.org/svn/scons/checkpoints/2.0

........
  r5065 | bdbaddog | 2010-06-27 18:01:00 -0700 (Sun, 27 Jun 2010) | 3 lines

  Update docs, and CHANGES/RELEASE.txt for 2.0.1.beta.20100627 release
........
  r5066 | bdbaddog | 2010-06-27 18:03:00 -0700 (Sun, 27 Jun 2010) | 3 lines

  Commit changes made by update-release-info.py release
........

git-svn-id: http://scons.tigris.org/svn/scons/branches/2.0@5074 fdb21ef1-2011-0410-befe-b5e4ea1792b1

8 years agoInitialized merge tracking via "svnmerge" with revisions "1-5054" from
bdbaddog [Sat, 26 Jun 2010 23:38:21 +0000 (23:38 +0000)]
Initialized merge tracking via "svnmerge" with revisions "1-5054" from
http://scons.tigris.org/svn/scons/checkpoints/2.0

git-svn-id: http://scons.tigris.org/svn/scons/branches/2.0@5055 fdb21ef1-2011-0410-befe-b5e4ea1792b1

8 years agoInitialized merge tracking via "svnmerge" with revisions "1-5050" from
bdbaddog [Sat, 26 Jun 2010 23:25:50 +0000 (23:25 +0000)]
Initialized merge tracking via "svnmerge" with revisions "1-5050" from
http://scons.tigris.org/svn/scons/trunk

git-svn-id: http://scons.tigris.org/svn/scons/branches/2.0@5053 fdb21ef1-2011-0410-befe-b5e4ea1792b1

8 years agoCreate 2.0 branch for 2.0 bugfixes,etc
bdbaddog [Sat, 26 Jun 2010 23:21:44 +0000 (23:21 +0000)]
Create 2.0 branch for 2.0 bugfixes,etc

git-svn-id: http://scons.tigris.org/svn/scons/branches/2.0@5051 fdb21ef1-2011-0410-befe-b5e4ea1792b1

8 years agoAdd commented outlines for Ubuntu 9.10 packages
bdbaddog [Mon, 21 Jun 2010 00:36:12 +0000 (00:36 +0000)]
Add commented outlines for Ubuntu 9.10 packages

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

8 years agoUpdate Changes with the LaTeX changes I committed earlier to branches/pending
managan [Thu, 17 Jun 2010 23:36:12 +0000 (23:36 +0000)]
Update Changes with the LaTeX changes I committed earlier to branches/pending
that are now in trunk.

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

8 years agoFix misspelled entity (&Scons; => &SCons;).
stevenknight [Thu, 17 Jun 2010 07:09:48 +0000 (07:09 +0000)]
Fix misspelled entity (&Scons; => &SCons;).

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

8 years agoFix #2574: case sensitivity issue with Fortran module scanner.
garyo [Thu, 17 Jun 2010 02:32:24 +0000 (02:32 +0000)]
Fix #2574: case sensitivity issue with Fortran module scanner.

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

8 years agoAdd Users Guide example of generating source code.
garyo [Thu, 17 Jun 2010 01:51:41 +0000 (01:51 +0000)]
Add Users Guide example of generating source code.

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

8 years agoSolaris portability fix to avoid substitutions during Tool module intialization.
stevenknight [Wed, 16 Jun 2010 12:47:37 +0000 (12:47 +0000)]
Solaris portability fix to avoid substitutions during Tool module intialization.

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

8 years agoAdd __COPYRIGHT__ and __FILE__ template strings.
stevenknight [Wed, 16 Jun 2010 12:38:21 +0000 (12:38 +0000)]
Add __COPYRIGHT__ and __FILE__ template strings.

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

8 years agoRevert in-directory changes inadvertently swept up in the last checkin.
stevenknight [Tue, 15 Jun 2010 21:06:27 +0000 (21:06 +0000)]
Revert in-directory changes inadvertently swept up in the last checkin.

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

8 years agoIssue 2390: Support appending to $*FLAGS values (CLVar instances) in a
stevenknight [Tue, 15 Jun 2010 21:04:47 +0000 (21:04 +0000)]
Issue 2390:  Support appending to $*FLAGS values (CLVar instances) in a
copied construction environment without also affecting the value in
the original construction environment.  (Matt Hughes)

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

8 years agoRemove unnecessary left-over "import sys" statements.
stevenknight [Tue, 15 Jun 2010 18:23:13 +0000 (18:23 +0000)]
Remove unnecessary left-over "import sys" statements.

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

8 years agoIssue 2647: In Executor.Null.get_all_children(), really return all of
stevenknight [Tue, 15 Jun 2010 17:53:27 +0000 (17:53 +0000)]
Issue 2647:  In Executor.Null.get_all_children(), really return all of
the children, including the explicit dependencies, not just the sources.

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

8 years agoMerged revisions 4727-4729,4731-4938,4940-5028 via svnmerge from
stevenknight [Tue, 15 Jun 2010 17:01:27 +0000 (17:01 +0000)]
Merged revisions 4727-4729,4731-4938,4940-5028 via svnmerge from
http://scons.tigris.org/svn/scons/branches/pending

........
  r4942 | stevenknight | 2010-06-03 12:41:20 -0700 (Thu, 03 Jun 2010) | 13 lines

  Isseu 2641:  Latest drop of the TestCmd infrastructure, v. 1.3, including:

  * Support for test timeouts.
  * Ability to set separate match_stdout and match_stderr functions.
  * Ability to set separate diff_stdout and diff_stderr functions.
  * Static methods for the various underlying match* and diff* functionality.
  * Ability to get at the various match* and diff* functions by attribute name.
  * Got rid of checks for difflib now that Python 2.3 is the floor
    (for this infrastructure, anyway).

  Ripple effects in two test scripts.  Added upstream unit test modules
  (QMTest/Test{Cmd,Common}Tests.py).  Added a README.txt file.
........
  r4943 | stevenknight | 2010-06-03 13:00:31 -0700 (Thu, 03 Jun 2010) | 2 lines

  Grab the correct TestCmd files with the updated version number.
........
  r4946 | managan | 2010-06-04 09:39:20 -0700 (Fri, 04 Jun 2010) | 4 lines

  On Windows add a '/D' to the command line so it recognizes drive letters in the
  source or target file paths
........
  r4947 | managan | 2010-06-04 09:51:48 -0700 (Fri, 04 Jun 2010) | 5 lines

  The scanner was not parsing the dependencies in \includegraphics commands when there was whitespace (including carriage returns) in the command.

  While we need a better long term fix this covers this concern.
........
  r4948 | managan | 2010-06-04 11:13:12 -0700 (Fri, 04 Jun 2010) | 3 lines

  Dropped an import line that is needed by the last commit of mine for Windows
  depenedant option on latex command lines
........
  r4949 | managan | 2010-06-04 12:27:48 -0700 (Fri, 04 Jun 2010) | 7 lines

  Some latex packages break up commands where you normally could not by
  using a comment character at the end of the first line.
  Our current scanner broke on this and lost some dependecies.
  While we need general fix, this patch solves this problem
........
  r4950 | managan | 2010-06-04 15:51:36 -0700 (Fri, 04 Jun 2010) | 5 lines

  Tweak how we handle comments within Latex source files when
  scanning and looking for dependencies. We were adding a
  space when a comment broke a line and we should not have.
........
  r4984 | managan | 2010-06-07 09:37:40 -0700 (Mon, 07 Jun 2010) | 6 lines

  The multi-line_include-options test failed to check for the
  existence of latex. Added that so this test is skipped on
  systems without latex.
........

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

8 years agoUpdate with recent checkpoints and 2.0.0.final.0 (yay!).
stevenknight [Tue, 15 Jun 2010 13:13:18 +0000 (13:13 +0000)]
Update with recent checkpoints and 2.0.0.final.0 (yay!).

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

8 years agoThis changeset increments the trunk to the next minor level, 2.1.0, and
gregnoel [Tue, 15 Jun 2010 08:24:00 +0000 (08:24 +0000)]
This changeset increments the trunk to the next minor level, 2.1.0, and
updates the dates and other information in the files to have the right
base values.

With this changeset, 2.0.0 is history and a new era has begun.  It's
time to celebrate; anybody want a beer?

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

8 years agoUpdate web site for 2.0.0.final.0
gregnoel [Tue, 15 Jun 2010 07:56:08 +0000 (07:56 +0000)]
Update web site for 2.0.0.final.0

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

8 years agoAdd the warning about the regression in 1.3 that's carried over into 2.0.
gregnoel [Tue, 15 Jun 2010 02:11:02 +0000 (02:11 +0000)]
Add the warning about the regression in 1.3 that's carried over into 2.0.
Since the problem has a viable workaround, it was not deemed worth delaying
the 2.0 release.

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

8 years agoUpdate install_scons.py to work on Windows.
stevenknight [Tue, 15 Jun 2010 00:03:40 +0000 (00:03 +0000)]
Update install_scons.py to work on Windows.

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

8 years agoMove update-release-info.py from src/ to tests/update_release-info/
gregnoel [Fri, 11 Jun 2010 04:20:56 +0000 (04:20 +0000)]
Move update-release-info.py from src/ to tests/update_release-info/

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

8 years agoWindows portability.
stevenknight [Thu, 10 Jun 2010 16:50:46 +0000 (16:50 +0000)]
Windows portability.

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

8 years agoMore Solaris test fixes.
stevenknight [Thu, 10 Jun 2010 13:23:26 +0000 (13:23 +0000)]
More Solaris test fixes.

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

8 years agoIncrease the default timeout of TestSCons.wait_for() to 20.0 seconds.
stevenknight [Thu, 10 Jun 2010 08:19:53 +0000 (08:19 +0000)]
Increase the default timeout of TestSCons.wait_for() to 20.0 seconds.
(--interactive mode on our Solaris buildbot slave takes longer than
10 seconds to create the necessary marker files.)

Set the stdin attribute on our popen object to None after we close it,
so some versions of subprocess.py don't try to write it after it's closed.

If we time out waiting for a marker file to be created, then print any
stdout or stderr that's already accumulated, since that may give clues
about why the test failed.

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

8 years agoMove test/update-release-info.py to src/test_update-release-info.py.
stevenknight [Thu, 10 Jun 2010 05:25:10 +0000 (05:25 +0000)]
Move test/update-release-info.py to src/test_update-release-info.py.

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

8 years agoAdd missing "print" to the warning about: not building scons-src-* packages.
stevenknight [Wed, 9 Jun 2010 13:24:26 +0000 (13:24 +0000)]
Add missing "print" to the warning about: not building scons-src-* packages.

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

8 years agoWrong date in highlights information.
gregnoel [Wed, 9 Jun 2010 10:28:10 +0000 (10:28 +0000)]
Wrong date in highlights information.

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

8 years agoChanges to publish the SCons 2.0.0.candidate.20100607 release
gregnoel [Tue, 8 Jun 2010 23:37:17 +0000 (23:37 +0000)]
Changes to publish the SCons 2.0.0.candidate.20100607 release

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

8 years agoMore Solaris test fixes:
stevenknight [Tue, 8 Jun 2010 17:42:45 +0000 (17:42 +0000)]
More Solaris test fixes:
* Different messages and exit codes for errors.
* Fix Solaris shared suffixes.
* Add a function declaration to some in-line C code to avoid a warning
  from Sun's compiler.
* Make test/Parallel/multiple-parents.py chatty to avoid hangs, and
  reduce how many times it calls SCons just to make it go a little quicker.

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

8 years agoRemove the rest of the logic for the noqmtest keyword
gregnoel [Tue, 8 Jun 2010 07:50:14 +0000 (07:50 +0000)]
Remove the rest of the logic for the noqmtest keyword

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

8 years agoTest fixes for Solaris, notably making test/Actions/function.py print
stevenknight [Tue, 8 Jun 2010 06:36:47 +0000 (06:36 +0000)]
Test fixes for Solaris, notably making test/Actions/function.py print
intermediate messages to avoid buildbot hangs.

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

8 years agoMinor User's Guide updates: copyright years, deprecated features, TODOs that have...
stevenknight [Tue, 8 Jun 2010 05:48:50 +0000 (05:48 +0000)]
Minor User's Guide updates:  copyright years, deprecated features, TODOs that have been documented.

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

8 years agoAdd a src/CHANGES.txt entry for the problem with is_Dict()
gregnoel [Tue, 8 Jun 2010 04:17:01 +0000 (04:17 +0000)]
Add a src/CHANGES.txt entry for the problem with is_Dict()

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

8 years agoUpdate src/CHANGES.txt for the upper-case-platform fix.
stevenknight [Tue, 8 Jun 2010 00:59:05 +0000 (00:59 +0000)]
Update src/CHANGES.txt for the upper-case-platform fix.

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

8 years agoFixed a bug in the regression test to use the right filenames for each
gregnoel [Mon, 7 Jun 2010 18:58:42 +0000 (18:58 +0000)]
Fixed a bug in the regression test to use the right filenames for each
platform; it was causing the test to fail on Windows.

Added some documentation to bin/update-release-info.py.

In my last log message, I forgot to mention that QMTest/TestRuntest.py was
tweaked to make it less specialized for testing runtest.py.  It can now be
used to test other programs; in this case, bin/update-release-info.py.  The
defaults are unchanged so that it will normally test runtest.py.

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

8 years agoArchitecture canonicalization fixes:
stevenknight [Mon, 7 Jun 2010 18:41:10 +0000 (18:41 +0000)]
Architecture canonicalization fixes:
* Lower-case the *_platform values to handle Pythons that return
  upper-case values like 'AMD64'.
* Add "i[456]86" entries to the canonicalization dictionary.
* Sort and reformat the dictionary for readability.

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

8 years agoWindows portability: \ separators in the expected output.
stevenknight [Mon, 7 Jun 2010 18:33:47 +0000 (18:33 +0000)]
Windows portability:  \ separators in the expected output.

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

8 years agoDon't skip runtest.py tests on systems that don't have QMTest installed.
stevenknight [Mon, 7 Jun 2010 16:24:19 +0000 (16:24 +0000)]
Don't skip runtest.py tests on systems that don't have QMTest installed.

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

8 years agoInitial drop of bin/update-release-info.py.
gregnoel [Mon, 7 Jun 2010 09:33:56 +0000 (09:33 +0000)]
Initial drop of bin/update-release-info.py.

This program automates the process of inserting the release configuration
information that is currently done by hand.  The configuration data now
all lives in a file, 'ReleaseConfig'.  Change the configuration file, run
the program, and, hey presto, the files are updated.

More work needs to be done; the documentation doesn't quite match with the
program and the regression tests only cover the release flows, but it's
important to get this stuff out before the next release is published so
people can start using it.

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

8 years agoFor some reason, using the `imp` module to do imports doesn't do quite the
gregnoel [Mon, 7 Jun 2010 01:03:58 +0000 (01:03 +0000)]
For some reason, using the `imp` module to do imports doesn't do quite the
same thing as using the 'import' statement, even though the documentation
clearly says that the 'import' statement uses the 'imp' module under the
covers.  I have no clue why, but there were some cases where it made a
difference.  The code was changed to using 'imp' to prevent the fixers
from trying to convert the old names to the new names, so this changeset
uses a different technique to hide the old names.

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

8 years agoAdd 1.3.0.d20100606 checkpoint info
bdbaddog [Mon, 7 Jun 2010 00:30:13 +0000 (00:30 +0000)]
Add 1.3.0.d20100606 checkpoint info

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

8 years agoUpdate with 2.0.0.beta.20100605 info
bdbaddog [Sun, 6 Jun 2010 05:29:09 +0000 (05:29 +0000)]
Update with 2.0.0.beta.20100605 info

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

8 years agoMerged revisions 4964 via svnmerge from
bdbaddog [Sun, 6 Jun 2010 04:36:43 +0000 (04:36 +0000)]
Merged revisions 4964 via svnmerge from
http://scons.tigris.org/svn/scons/checkpoint/trunk

........
  r4964 | bdbaddog | 2010-06-05 21:09:54 -0700 (Sat, 05 Jun 2010) | 3 lines

  Changes for 2.0.0.beta.20100605 checkpoint release.
........

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

8 years agoUpdate release notes to include note about MSVC/VS/SDK improvements
bdbaddog [Sun, 6 Jun 2010 03:23:17 +0000 (03:23 +0000)]
Update release notes to include note about MSVC/VS/SDK improvements

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

8 years agoExplicitly initialize the construction environment with tools = ['mssdk',
stevenknight [Sun, 6 Jun 2010 02:00:29 +0000 (02:00 +0000)]
Explicitly initialize the construction environment with tools = ['mssdk',
'msvc', 'mslink', 'midl'], so the test can actually find and compile
against things like the atlbase.h file.

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

8 years agoRestore the __COPYRIGHT__ and __FILE__ header lines.
stevenknight [Sun, 6 Jun 2010 00:54:20 +0000 (00:54 +0000)]
Restore the __COPYRIGHT__ and __FILE__ header lines.

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

8 years agoWindows portability fixes in various tests. Fix runtest.py detection
stevenknight [Sun, 6 Jun 2010 00:48:58 +0000 (00:48 +0000)]
Windows portability fixes in various tests.  Fix runtest.py detection
of non-zero exit status on systems that don't have os.WEXITSTATUS().

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

8 years agoWhen trying to execute v[cs]*vars*.bat scripts to fetch the Visual
stevenknight [Sun, 6 Jun 2010 00:40:06 +0000 (00:40 +0000)]
When trying to execute v[cs]*vars*.bat scripts to fetch the Visual
{C++,Studio} environment variables, propagate %COMSPEC% and any
%VS*COMNTOOLS% variables from os.environ, since they're outright
required for Express versions of the scripts (and maybe others) to
execute correctly.  Only propagate the values if they're not manually
set in the ENV execution environment.

Additionally, if the script execution put anything on stderr, propagate
it to our stderr so we don't swallow errors.  (Unfortunately, errors
don't necessarily cause these scripts to exit non-zero.)

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

8 years agoFix a ripple effect from the change to TestSCons.re_escape().
stevenknight [Sat, 5 Jun 2010 14:03:28 +0000 (14:03 +0000)]
Fix a ripple effect from the change to TestSCons.re_escape().

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

8 years agoFix an AllowSubstExceptions() typo in the User's Guide update.
stevenknight [Sat, 5 Jun 2010 13:42:53 +0000 (13:42 +0000)]
Fix an AllowSubstExceptions() typo in the User's Guide update.

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

8 years agoOops, backslash must be done first, or backslashes from previous substitutions
gregnoel [Sat, 5 Jun 2010 09:43:21 +0000 (09:43 +0000)]
Oops, backslash must be done first, or backslashes from previous substitutions
will be quoted.

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

8 years agoThe re_escape() function escapes too little. Blind fix for a Windows problem.
gregnoel [Sat, 5 Jun 2010 08:38:21 +0000 (08:38 +0000)]
The re_escape() function escapes too little.  Blind fix for a Windows problem.

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

8 years agoFix tests on win32
bdbaddog [Sat, 5 Jun 2010 06:12:54 +0000 (06:12 +0000)]
Fix tests on win32

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

8 years agoRe-enable tests on non win32 platforms.
bdbaddog [Sat, 5 Jun 2010 03:18:15 +0000 (03:18 +0000)]
Re-enable tests on non win32 platforms.
This should alter the HOST_ARCH for these tests on non-x86 platforms to x86 and therefore run.

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

8 years agoIssue 1975: Add documentation of the AllowSubstExceptions() function
stevenknight [Fri, 4 Jun 2010 23:55:28 +0000 (23:55 +0000)]
Issue 1975:  Add documentation of the AllowSubstExceptions() function
to the User's Guide.  (Jim Randall)

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

8 years agoDocument FindPathDirs in Users Guide
garyo [Fri, 4 Jun 2010 02:16:13 +0000 (02:16 +0000)]
Document FindPathDirs in Users Guide

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

8 years agoFix failing tests on macosx
bdbaddog [Fri, 4 Jun 2010 00:36:27 +0000 (00:36 +0000)]
Fix failing tests on macosx

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

8 years agoInitial Migration of MSVC logic from 1.3 branch.
bdbaddog [Thu, 3 Jun 2010 15:22:50 +0000 (15:22 +0000)]
Initial Migration of MSVC logic from 1.3 branch.

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

8 years agoDocument GetBuildPath in Users Guide
garyo [Thu, 3 Jun 2010 01:40:26 +0000 (01:40 +0000)]
Document GetBuildPath in Users Guide

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

8 years agoFix src/RELEASE.txt typos in trunk.
stevenknight [Mon, 31 May 2010 16:17:14 +0000 (16:17 +0000)]
Fix src/RELEASE.txt typos in trunk.

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

8 years agoMerged revisions 4838-4911,4913-4914,4916-4917,4919-4924,4926-4927,4929-4936 via...
stevenknight [Mon, 31 May 2010 15:19:55 +0000 (15:19 +0000)]
Merged revisions 4838-4911,4913-4914,4916-4917,4919-4924,4926-4927,4929-4936 via svnmerge from
http://scons.tigris.org/svn/scons/checkpoint/trunk

........
  r4914 | bdbaddog | 2010-05-24 23:07:53 -0700 (Mon, 24 May 2010) | 3 lines

  Updated version strings and date string for checkpoint
........
  r4926 | stevenknight | 2010-05-29 22:57:09 -0700 (Sat, 29 May 2010) | 2 lines

  Update CHANGES.txt for checkpoint release.
........
  r4929 | stevenknight | 2010-05-30 08:58:54 -0700 (Sun, 30 May 2010) | 2 lines

  Generate a .beta., not .alpha.
........

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

8 years agoUpdate tigris.org for new 2.0.0.beta.20100531 release.
stevenknight [Mon, 31 May 2010 05:10:26 +0000 (05:10 +0000)]
Update tigris.org for new 2.0.0.beta.20100531 release.

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

8 years agoPrepare for checkpoint release. Everything should be set up and ready
gregnoel [Sun, 30 May 2010 06:03:04 +0000 (06:03 +0000)]
Prepare for checkpoint release.  Everything should be set up and ready
to go.

Update various files to have the correct date, time, version, and floor.

Rework Script/Main.py and QMTest/TestSCons.py to make automated updating
possible in the future.

Remove a duplicate MANIFEST-xml.in entry.

Fix TeX tests, which ran 'kpsewitch' before determining if the TeX tools
were installed.

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

8 years agohttp://scons.tigris.org/issues/show_bug.cgi?id=2365
gregnoel [Fri, 28 May 2010 17:50:36 +0000 (17:50 +0000)]
scons.tigris.org/issues/show_bug.cgi?id=2365

Thanks to Steven Knight, the SCCS and Perforce tests have been debugged.  Only
the BitKeeper test remains to be debugged.

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

8 years agohttp://scons.tigris.org/issues/show_bug.cgi?id=2365
gregnoel [Fri, 28 May 2010 09:40:40 +0000 (09:40 +0000)]
scons.tigris.org/issues/show_bug.cgi?id=2365

Start the deprecation cycle for SourceCode() and its related factory functions.
Deprecation messages are added to the functions.  Regression tests are modified
to deal with the messages being generated.  Documentation is updated.

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

8 years agoUpdate QMTEst/Test{Cmd,Common}.py to version 1.1 from upstream:
stevenknight [Thu, 27 May 2010 22:04:24 +0000 (22:04 +0000)]
Update QMTEst/Test{Cmd,Common}.py to version 1.1 from upstream:
* incorporate and update the Python 3.0 fixer work by Greg:
* full conversion to using subprocess for execution;
* rename exactly_contain_all_lines() to must_contain_exactly_lines();
* other minor fixes and stylistic cleanups.

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

8 years agoMove tests for SourceCode() into test/Deprecated as a preliminary to beginning
gregnoel [Wed, 26 May 2010 18:32:47 +0000 (18:32 +0000)]
Move tests for SourceCode() into test/Deprecated as a preliminary to beginning
the deprecation cycle.

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

8 years agoStart the deprecation cycle for the BuildDir() method and the build_dir
gregnoel [Wed, 26 May 2010 16:17:09 +0000 (16:17 +0000)]
Start the deprecation cycle for the BuildDir() method and the build_dir
keyword parameter.

Several existing tests were still using BuildDir() or build_dir; they were
converted to use VariantDir() and variant_dir.

New tests were added to validate that the --warn=deprecated-build-dir option
and the SetOption method did the right thing.  This led to the discovery that
a commonly-used test pattern provided by the infrastructure gobbled up too
much, causing tests to succeed when they should have failed.  Fixing the
pattern led to other tests needing to be fixed.

In the process, it was discovered that the SCONSFLAG environment variable was
not getting correctly reset to its original value.  Fixing this also caused
additional tests to misbehave, requiring them to be updated.

And test/Sig.py, which tests the deprecated SCons.Sig module, was moved to
the test/Deprecated directory.

All in all, quite a lot of action for what was supposed to be a simple change.

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

8 years agoFix "Ignoring corrupt sconsign entry" warnings when upgrading from 1.x.
stevenknight [Wed, 26 May 2010 14:05:53 +0000 (14:05 +0000)]
Fix "Ignoring corrupt sconsign entry" warnings when upgrading from 1.x.

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

8 years agoDelete references to QMTest/unittest.py, which has been removed.
stevenknight [Tue, 25 May 2010 15:30:57 +0000 (15:30 +0000)]
Delete references to QMTest/unittest.py, which has been removed.

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

8 years agoFix capturing timings from a single configuration script.
stevenknight [Tue, 25 May 2010 15:27:45 +0000 (15:27 +0000)]
Fix capturing timings from a single configuration script.
We were closing the output log file, thinking it was a per-script file,
even though we still write to the original log file for the revision.

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

8 years agoFix a ripple effect (_Proxy__subject) from the new-style class conversion.
stevenknight [Tue, 25 May 2010 06:05:41 +0000 (06:05 +0000)]
Fix a ripple effect (_Proxy__subject) from the new-style class conversion.

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

8 years agoAnnounce new 1.3 checkpoint
bdbaddog [Mon, 24 May 2010 01:15:23 +0000 (01:15 +0000)]
Announce new 1.3 checkpoint

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

8 years agoAdd recent releases to the bin/install_scons.py script.
stevenknight [Sat, 22 May 2010 00:03:40 +0000 (00:03 +0000)]
Add recent releases to the bin/install_scons.py script.

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

8 years agoAdd a timings/Java configuration to time simple Java compilation.
stevenknight [Fri, 21 May 2010 18:04:27 +0000 (18:04 +0000)]
Add a timings/Java configuration to time simple Java compilation.
Update timings/README.txt with doc of how to add timing configurations.

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

8 years agoRemove QMTest/unittest.py, which we had captured to support pre-2.1 Pythons.
stevenknight [Fri, 21 May 2010 12:46:46 +0000 (12:46 +0000)]
Remove QMTest/unittest.py, which we had captured to support pre-2.1 Pythons.

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

8 years agoConvert old-style classes in miscellaneous files to new-stylre classes:
stevenknight [Fri, 21 May 2010 06:50:36 +0000 (06:50 +0000)]
Convert old-style classes in miscellaneous files to new-stylre classes:
src/test_strings.py, runtest.py and doc/man/scons.1.

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

8 years agoUpdate deprecated features to the next life-cycle stage
gregnoel [Fri, 21 May 2010 06:06:27 +0000 (06:06 +0000)]
Update deprecated features to the next life-cycle stage

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

8 years agoConvert old-style classes in bench/* scripts to new-style classes.
stevenknight [Thu, 20 May 2010 21:46:03 +0000 (21:46 +0000)]
Convert old-style classes in bench/* scripts to new-style classes.

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

8 years agoRemove a spurious checked-in vc.py.bak file.
stevenknight [Thu, 20 May 2010 19:19:08 +0000 (19:19 +0000)]
Remove a spurious checked-in vc.py.bak file.

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

8 years agovert old-style classes in bin/* scripts to new-style classes.
stevenknight [Thu, 20 May 2010 19:06:28 +0000 (19:06 +0000)]
vert old-style classes in bin/* scripts to new-style classes.

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

8 years agoApply changes caught by fixer plus trivial optimizations
gregnoel [Thu, 20 May 2010 14:16:08 +0000 (14:16 +0000)]
Apply changes caught by fixer plus trivial optimizations

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

8 years agoConvert old-style classes in src/script to new-style classes.
stevenknight [Thu, 20 May 2010 14:08:44 +0000 (14:08 +0000)]
Convert old-style classes in src/script to new-style classes.

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

8 years agoConvert old-style classes in test scripts to new-style classes.
stevenknight [Thu, 20 May 2010 05:03:44 +0000 (05:03 +0000)]
Convert old-style classes in test scripts to new-style classes.

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

8 years agoFix breakage in how AddMethod() handles instances.
stevenknight [Wed, 19 May 2010 17:22:18 +0000 (17:22 +0000)]
Fix breakage in how AddMethod() handles instances.

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

8 years agoConvert SubstitutionEnvironment from an old-style class to a new-style class.
stevenknight [Wed, 19 May 2010 16:41:32 +0000 (16:41 +0000)]
Convert SubstitutionEnvironment from an old-style class to a new-style class.

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

8 years agoFix unit test ripple effect from converting SCons.Util.Proxy to a new-style class.
stevenknight [Wed, 19 May 2010 15:22:11 +0000 (15:22 +0000)]
Fix unit test ripple effect from converting SCons.Util.Proxy to a new-style class.

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

8 years agoConvert Util.Proxy from an old-style class to a new-style class.
stevenknight [Wed, 19 May 2010 14:17:30 +0000 (14:17 +0000)]
Convert Util.Proxy from an old-style class to a new-style class.

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

8 years agoUpdates to README from W. Trevor King
gregnoel [Wed, 19 May 2010 14:08:06 +0000 (14:08 +0000)]
Updates to README from W. Trevor King

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

8 years agoConvert Environment.MethodWrapper from an old-style class to a new-style class.
stevenknight [Tue, 18 May 2010 13:25:27 +0000 (13:25 +0000)]
Convert Environment.MethodWrapper from an old-style class to a new-style class.

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

8 years agoConvert an old-style class in Tool/mwcc.py to a new-style class.
stevenknight [Tue, 18 May 2010 12:55:10 +0000 (12:55 +0000)]
Convert an old-style class in Tool/mwcc.py to a new-style class.

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

8 years agoConvert an old-style class in Platform/win32.py to a new-style class.
stevenknight [Tue, 18 May 2010 07:16:01 +0000 (07:16 +0000)]
Convert an old-style class in Platform/win32.py to a new-style class.

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

8 years agoConvert old-style classes in MS Tool modules to new-style classes.
stevenknight [Tue, 18 May 2010 06:38:55 +0000 (06:38 +0000)]
Convert old-style classes in MS Tool modules to new-style classes.

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

8 years agoConvert Environment._Null from an old-style class to a new-style class.
stevenknight [Mon, 17 May 2010 14:16:30 +0000 (14:16 +0000)]
Convert Environment._Null from an old-style class to a new-style class.

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

8 years agoConvert (most) old-style classes in Util.py to new-style classes. Refactor assignmen...
stevenknight [Mon, 17 May 2010 13:25:44 +0000 (13:25 +0000)]
Convert (most) old-style classes in Util.py to new-style classes.  Refactor assignment to Util.DisplayEngine.__call__.  Update __new__() use in Util.Null.  Proxy is still unconverted.

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

8 years agoEliminate custom use of old-style Proxy class in Node/FSTests.py.
stevenknight [Mon, 17 May 2010 02:57:16 +0000 (02:57 +0000)]
Eliminate custom use of old-style Proxy class in Node/FSTests.py.

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

8 years agoConvert old-style classes in Node/FS.py to new-style classes. Refactor assignment...
stevenknight [Mon, 17 May 2010 02:01:56 +0000 (02:01 +0000)]
Convert old-style classes in Node/FS.py to new-style classes.  Refactor assignment to FS.DiskChecker.__call__.

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

8 years agoConvert old-style classes in Platform/__init.py to new-style classes. Add an explici...
stevenknight [Mon, 17 May 2010 01:30:17 +0000 (01:30 +0000)]
Convert old-style classes in Platform/__init.py to new-style classes.  Add an explicit PlatformSpec.__call__() method to handle behavioral difference in new-style classes.

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

8 years agoConvert an old-style class in Tool/packaging/rpm.py to a new-style class.
stevenknight [Sun, 16 May 2010 20:23:28 +0000 (20:23 +0000)]
Convert an old-style class in Tool/packaging/rpm.py to a new-style class.

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