scons.git
14 years agoMerged r4724 (1.3.0 release changes) back into trunk.
garyo [Wed, 24 Mar 2010 03:52:50 +0000 (03:52 +0000)]
Merged r4724 (1.3.0 release changes) back into trunk.

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

14 years agoPrevent "Exp" in MSVC version name from causing problems.
garyo [Fri, 19 Mar 2010 17:35:08 +0000 (17:35 +0000)]
Prevent "Exp" in MSVC version name from causing problems.

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

14 years agoFix for MSSDK initialiation
bdbaddog [Fri, 19 Mar 2010 06:48:38 +0000 (06:48 +0000)]
Fix for MSSDK initialiation

For the user in question who had VS 8.0 express installed, the vc version was being set to 8.0, and the the vs version was being set to the same, which was then being used to detect the vs version by an expected binary.
Since it though it had VS 8.0, the binary was the not there for VS8.0 Express, so it was bailing out on the initialization.

The fix is to have a VC8.0Exp as well as VC8.0 (also for VS9.0Exp).

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

14 years agoMore VS/VC/SDK debug code.
bdbaddog [Tue, 16 Mar 2010 06:26:00 +0000 (06:26 +0000)]
More VS/VC/SDK debug code.

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

14 years agoMore doc infrastructure enhancements towards putting the function
stevenknight [Mon, 15 Mar 2010 15:43:06 +0000 (15:43 +0000)]
More doc infrastructure enhancements towards putting the function
documentation into DocBook:
* Strip trailing newlines after XML comments so lines left blank after
  stripping comments don't get treated as paragraph separators.
* Recognize the lambda function and the ${TARGET,SOURCE}{,S} variables
  when converting to man page format.
* Translate more strings into .RB and .RI lines.

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

14 years agoAdd more debug output to Visual Studio/VC/ SDK initialization
bdbaddog [Mon, 15 Mar 2010 01:42:02 +0000 (01:42 +0000)]
Add more debug output to Visual Studio/VC/ SDK initialization

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

14 years agoAdd DocBook entities for the env.*() forms of Builder and function calls.
stevenknight [Thu, 11 Mar 2010 02:03:03 +0000 (02:03 +0000)]
Add DocBook entities for the env.*() forms of Builder and function calls.
Handle two additional flavors of <varlistentry>.
Translate the <application> tag into man page macros.

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

14 years agoHandle different signatures for global or env versions of functions
stevenknight [Mon, 8 Mar 2010 16:56:14 +0000 (16:56 +0000)]
Handle different signatures for global or env versions of functions
by the signature specification from the <scons_function> tag to
the <arguments> tag.

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

14 years agoAdd 1.2.0.d20100306 checkpoint release
bdbaddog [Sun, 7 Mar 2010 23:15:55 +0000 (23:15 +0000)]
Add 1.2.0.d20100306 checkpoint release

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

14 years agoMore enhancements for documenting functions:
stevenknight [Thu, 4 Mar 2010 02:16:32 +0000 (02:16 +0000)]
More enhancements for documenting functions:
* Add the support for global="0" and env="0" to SConsDoc.py.
* Remove unnecessary .IP lines before '\""" delimiters before the
  next builder / tool / function entry.
* Add support for <variablelist> lists.

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

14 years agoMore updates towards supporting function documentation:
stevenknight [Wed, 3 Mar 2010 16:23:50 +0000 (16:23 +0000)]
More updates towards supporting function documentation:
* Convert \f[BI].*\fP strings containing white space to quoted .B lines.
* Anchor conversion of \f[BI] lines to .[BR] at end of line.
* Convert \f[BI] lines preceded by text to a .R[BI] line.
* Convert -- on .[BI]R? lines to \-\-.
* Support  global="0" and env="0" options <scons_function> arguments for
  when the function has no global form or construction environment form.

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

14 years agoAdd support for documenting functions (with arbitrary calling signatures)
stevenknight [Tue, 23 Feb 2010 22:10:53 +0000 (22:10 +0000)]
Add support for documenting functions (with arbitrary calling signatures)
in our home-brew DocBook-based .xml files.

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

14 years agoRefactor the XMl processing of various entity types to make the code
stevenknight [Tue, 23 Feb 2010 16:21:00 +0000 (16:21 +0000)]
Refactor the XMl processing of various entity types to make the code
more OO and extensible.

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

14 years agoSplit the "live rpcgen" sub-test into its own test script.
stevenknight [Sun, 21 Feb 2010 15:16:10 +0000 (15:16 +0000)]
Split the "live rpcgen" sub-test into its own test script.

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

14 years agoIssue 2051: Support execution when installed via easy_install.
stevenknight [Sun, 21 Feb 2010 14:57:09 +0000 (14:57 +0000)]
Issue 2051:  Support execution when installed via easy_install.
(Gottfried Ganssauge)

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

14 years agoFix the test on all Python versions (failed on versions before 2.5 due
stevenknight [Thu, 18 Feb 2010 14:28:50 +0000 (14:28 +0000)]
Fix the test on all Python versions (failed on versions before 2.5 due
to some regex problem).

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

14 years agoGenerate an error message if a BUILDERS entry is set to something that isn't
stevenknight [Wed, 17 Feb 2010 14:20:41 +0000 (14:20 +0000)]
Generate an error message if a BUILDERS entry is set to something that isn't
a Builder object, or known to generate a Builder object, or a callable.

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

14 years agoMove two Builder-related tests into the test/Builder/ subdirectory.
stevenknight [Tue, 16 Feb 2010 16:36:14 +0000 (16:36 +0000)]
Move two Builder-related tests into the test/Builder/ subdirectory.

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

14 years agoAdd documentation for MSVC_USE_SCRIPT.
garyo [Fri, 12 Feb 2010 00:39:58 +0000 (00:39 +0000)]
Add documentation for MSVC_USE_SCRIPT.

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

14 years agoUpdate CHANGES to give some credit for patches
bdbaddog [Wed, 10 Feb 2010 06:43:05 +0000 (06:43 +0000)]
Update CHANGES to give some credit for patches

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

14 years agoMainly patch from James Teh
bdbaddog [Wed, 10 Feb 2010 06:37:51 +0000 (06:37 +0000)]
Mainly patch from James Teh
+ lots of additional debug output

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

14 years agoMS win32 sdk issue, fixed requested arch to not request cross compile when building...
bdbaddog [Tue, 9 Feb 2010 20:17:32 +0000 (20:17 +0000)]
MS win32 sdk issue, fixed requested arch to not request cross compile when building 32 bit on 64 bit host.

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

14 years agoFix the case where neither vc nor sdk script exist or, vc doesn't work and sdk doesn...
bdbaddog [Sun, 7 Feb 2010 00:31:10 +0000 (00:31 +0000)]
Fix the case where neither vc nor sdk script exist or, vc doesn't work and sdk doesn't exist.

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

14 years agoGracefully handle not finding the VC and/or SDK setup batch scripts.
bdbaddog [Fri, 5 Feb 2010 20:42:07 +0000 (20:42 +0000)]
Gracefully handle not finding the VC and/or SDK setup batch scripts.

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

14 years agoMerged revisions 4645,4647-4651,4654-4656 via svnmerge from
stevenknight [Fri, 5 Feb 2010 06:37:10 +0000 (06:37 +0000)]
Merged revisions 4645,4647-4651,4654-4656 via svnmerge from
http://scons.tigris.org/svn/scons/branches/pending

........
  r4648 | managan | 2010-01-22 09:40:52 -0800 (Fri, 22 Jan 2010) | 9 lines

  Added dismbiguate calls on a targets side effects in the
  make_ready_all and make_ready_current routines of Taskmaster.py.
  This fixes Stefan Hepp's problem with latex. Directories to
  hold the side effect files were not created when using
  variantDir with duplicate=0

  Modifying subdir_variantdir_include2.py to run scons with an
  explicit target to reveal this problem.
........
  r4654 | stevenknight | 2010-01-27 07:41:01 -0800 (Wed, 27 Jan 2010) | 5 lines

  Issue 2534:  fix Scanners' default ability to return Dir nodes by
  making the default node_class the real SCons.Node.FS.Base class,
  not SCons.Node.FS.Entry (which is now, and has been for some time,
  a subclass).
........

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

14 years agoIt should now handle picking up the SDK compilers when the VC vcvarsall.bat doesn...
bdbaddog [Thu, 4 Feb 2010 07:31:43 +0000 (07:31 +0000)]
It should now handle picking up the SDK compilers when the VC vcvarsall.bat doesn't pick them.
Perhaps not for all flavors of the SDK, but for SDK 7.0.

Currently the following tests fail:
Failed the following 2 tests:
        test\IDL\midl.py
        test\Win32\scons-bat-error.py

We should add to the docs which combinations of VC and SDK we expect to work, and which have been tested.

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

14 years agotrivial typo in man page
gregnoel [Sat, 30 Jan 2010 22:50:45 +0000 (22:50 +0000)]
trivial typo in man page

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

14 years agoOnly escape the executable python string itself on the display line.
stevenknight [Wed, 27 Jan 2010 01:55:50 +0000 (01:55 +0000)]
Only escape the executable python string itself on the display line.

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

14 years agoWin32 portability in runtest.py tests after disabling QMTest by default.
stevenknight [Tue, 26 Jan 2010 16:26:26 +0000 (16:26 +0000)]
Win32 portability in runtest.py tests after disabling QMTest by default.

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

14 years agoBack out post-2.0 code changes from trunk: r4643, r4642 r4640, r4637.
stevenknight [Thu, 21 Jan 2010 21:12:50 +0000 (21:12 +0000)]
Back out post-2.0 code changes from trunk: r4643, r4642 r4640, r4637.
This change should itself be backed out before merge "pending"
back into trunk.

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

14 years agoInitialized merge tracking via "svnmerge" with revisions "1-4644" from
stevenknight [Thu, 21 Jan 2010 21:00:25 +0000 (21:00 +0000)]
Initialized merge tracking via "svnmerge" with revisions "1-4644" from
http://scons.tigris.org/svn/scons/branches/pending

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

14 years agoSomehow I managed to lose this change in a comment
managan [Wed, 20 Jan 2010 22:21:27 +0000 (22:21 +0000)]
Somehow I managed to lose this change in a comment

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

14 years agoUpdate tex builder to handle the case where a \input{foo}
managan [Wed, 20 Jan 2010 21:35:42 +0000 (21:35 +0000)]
Update tex builder to handle the case where a \input{foo}
command tries to work with a directory named foo instead of the
file foo.tex. The builder now ignores a directory and continues
searching to find the correct file.

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

14 years agoFix spelling.
managan [Wed, 20 Jan 2010 00:10:57 +0000 (00:10 +0000)]
Fix spelling.

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

14 years agoIssue 2540: Make the messages printed when checking for compilers
stevenknight [Tue, 19 Jan 2010 20:10:01 +0000 (20:10 +0000)]
Issue 2540:  Make the messages printed when checking for compilers
consistent w.r.t. "... " at the end of the message.

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

14 years agoIssue 2537: fix typos in the man page. (Luca Faravigna)
stevenknight [Tue, 19 Jan 2010 19:33:40 +0000 (19:33 +0000)]
Issue 2537:  fix typos in the man page.  (Luca Faravigna)

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

14 years agoChange the name of the 'help' statistic in the timings configurations
stevenknight [Tue, 19 Jan 2010 19:29:37 +0000 (19:29 +0000)]
Change the name of the 'help' statistic in the timings configurations
to 'startup'.

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

14 years agoRemove unneeded fluff from this test.
managan [Tue, 19 Jan 2010 18:09:17 +0000 (18:09 +0000)]
Remove unneeded fluff from this test.
Add commented line that will reveal a failure.

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

14 years agorebuilt docs
bdbaddog [Tue, 19 Jan 2010 07:06:10 +0000 (07:06 +0000)]
rebuilt docs

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

14 years agoMerge back from checkpoint.
bdbaddog [Tue, 19 Jan 2010 05:59:03 +0000 (05:59 +0000)]
Merge back from checkpoint.
Need to regenerate the .xml files.

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

14 years agoUpdate with info on 1.2.0d20100117 checkpoint release
stevenknight [Tue, 19 Jan 2010 05:29:18 +0000 (05:29 +0000)]
Update with info on 1.2.0d20100117 checkpoint release

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

14 years agoUpdate next checkpoint version and datestamp
stevenknight [Sun, 17 Jan 2010 22:28:21 +0000 (22:28 +0000)]
Update next checkpoint version and datestamp

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

14 years agoFix timestamp-related Decider() examples by using Object() instead of
stevenknight [Sat, 16 Jan 2010 16:02:52 +0000 (16:02 +0000)]
Fix timestamp-related Decider() examples by using Object() instead of
Program(), to avoid the downstream "hello" executable sometimes not
getting re-linked if the example re-ran within a single second and
didn't change the hello.o timestamp.

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

14 years agoFix the Requires() examples by adding a sleep command to the
stevenknight [Sat, 16 Jan 2010 15:27:15 +0000 (15:27 +0000)]
Fix the Requires() examples by adding a sleep command to the
infrastructure and using it to force the SConstruct file(s) to generate
version.c files with new timestamps each run.  Fix the description of
the example, since the verson.o file does get recompiled each run, but
the use of Requires() means the downstream hello executable doesn't get
relinked because of it.

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

14 years agoUpdate a change of compilation order in the version.c examples.
stevenknight [Sat, 16 Jan 2010 02:01:35 +0000 (02:01 +0000)]
Update a change of compilation order in the version.c examples.

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

14 years agoRename the sconsoutput.py script to scons-doc.py, and refactor it to
stevenknight [Fri, 15 Jan 2010 16:45:40 +0000 (16:45 +0000)]
Rename the sconsoutput.py script to scons-doc.py, and refactor it to
support command-line option parsing and generating output on
streams other than sys.stdout.

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

14 years agoMinor code cleanup, including restoring saved SCONSFLAGS correctly.
stevenknight [Thu, 14 Jan 2010 19:17:03 +0000 (19:17 +0000)]
Minor code cleanup, including restoring saved SCONSFLAGS correctly.

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

14 years agoCapture updated troubleshooting output.
stevenknight [Thu, 14 Jan 2010 19:00:05 +0000 (19:00 +0000)]
Capture updated troubleshooting output.

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

14 years agoMassage file names in Python stack traces (which are often reported as
stevenknight [Thu, 14 Jan 2010 18:48:24 +0000 (18:48 +0000)]
Massage file names in Python stack traces (which are often reported as
absolute paths) to a consistent relative path (bootstrap/...).

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

14 years agoPython 1.5 fix (nested scopes).
stevenknight [Thu, 14 Jan 2010 18:36:23 +0000 (18:36 +0000)]
Python 1.5 fix (nested scopes).

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

14 years agoMake the default SystemRoot a Windows-like "C:\\WINDOWS" instead of
stevenknight [Thu, 14 Jan 2010 18:30:34 +0000 (18:30 +0000)]
Make the default SystemRoot a Windows-like "C:\\WINDOWS" instead of
"C:/WINDOWS", mainly so the output generated in the "Troubleshooting"
appendix of the User's Guide looks coherent.

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

14 years agoMassage the output from examples for consistency with Python 2.6.
stevenknight [Thu, 14 Jan 2010 14:43:51 +0000 (14:43 +0000)]
Massage the output from examples for consistency with Python 2.6.

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

14 years agoFix use of varlist in CommandGeneratorAction, ListAction and LazyAction
stevenknight [Thu, 14 Jan 2010 07:02:42 +0000 (07:02 +0000)]
Fix use of varlist in CommandGeneratorAction, ListAction and LazyAction
by adding a .get_varlist() accessor method that lets those wrapping
classes fetch the varlist from their wrapped Action object(s).

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

14 years agoFix a missed name change of TimeStamp => TimeStampDefault.
stevenknight [Thu, 14 Jan 2010 01:51:20 +0000 (01:51 +0000)]
Fix a missed name change of TimeStamp => TimeStampDefault.

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

14 years agoCapture the previous output from "pkg-config x11" in a static
stevenknight [Wed, 13 Jan 2010 02:08:38 +0000 (02:08 +0000)]
Capture the previous output from "pkg-config x11" in a static
screen section.  Ubuntu Karmic changed the X11 package config so
it no longer prints a -I option, and this is just an example anyway.

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

14 years agoUpdates for changes to SCons error messages.
stevenknight [Tue, 12 Jan 2010 07:15:03 +0000 (07:15 +0000)]
Updates for changes to SCons error messages.

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

14 years agoUpdate Test{Cmd,Common}.py from upstream, with a new
stevenknight [Tue, 12 Jan 2010 07:14:49 +0000 (07:14 +0000)]
Update Test{Cmd,Common}.py from upstream, with a new
TestCommon.must_not_contain() method, new-style classes (inherit
from object), and a fix for a Windows race by only opening up a
pipe to stdin if we have something to write to it.

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

14 years agoPropagate doc about site_scons to builders-writing.xml. Typographic edits.
stevenknight [Mon, 11 Jan 2010 16:47:36 +0000 (16:47 +0000)]
Propagate doc about site_scons to builders-writing.xml.  Typographic edits.

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

14 years agoPropagate typo fix to doc/user/separate.xml.
stevenknight [Mon, 11 Jan 2010 16:47:09 +0000 (16:47 +0000)]
Propagate typo fix to doc/user/separate.xml.

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

14 years agoSupport missing visual C warnings when generating the documentation
stevenknight [Mon, 11 Jan 2010 14:34:37 +0000 (14:34 +0000)]
Support missing visual C warnings when generating the documentation
examples.  Because we use ToolSurrogates to generate the output (and do
so on Linux), we don't actually need (or have) it installed.

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

14 years agoFix doc bug #2502 (Ignore example was wrong)
garyo [Mon, 11 Jan 2010 02:53:30 +0000 (02:53 +0000)]
Fix doc bug #2502 (Ignore example was wrong)

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

14 years agoImprove documentation of MSVC_VERSION and TARGET_ARCH.
garyo [Mon, 11 Jan 2010 02:30:04 +0000 (02:30 +0000)]
Improve documentation of MSVC_VERSION and TARGET_ARCH.

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

14 years agoXML file change to go with .in file change
bdbaddog [Mon, 11 Jan 2010 02:13:19 +0000 (02:13 +0000)]
XML file change to go with .in file change

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

14 years agoAdded release note re: Visual Studio detection, MSVC_VERSION, TARGET_ARCH.
garyo [Mon, 11 Jan 2010 02:06:08 +0000 (02:06 +0000)]
Added release note re: Visual Studio detection, MSVC_VERSION, TARGET_ARCH.

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

14 years agoFix for 2422
bdbaddog [Mon, 11 Jan 2010 01:48:50 +0000 (01:48 +0000)]
Fix for 2422

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

14 years agoFix #2515: use better way to detect 64-bit OS.
garyo [Mon, 11 Jan 2010 01:38:00 +0000 (01:38 +0000)]
Fix #2515: use better way to detect 64-bit OS.

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

14 years agoFix bug 2389 - indicate that the install dir will depend on the python being used
bdbaddog [Mon, 11 Jan 2010 01:25:45 +0000 (01:25 +0000)]
Fix bug 2389 - indicate that the install dir will depend on the python being used

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

14 years agoAdd the package that contains epstopdf, which is now used in testing.
stevenknight [Sat, 9 Jan 2010 00:27:05 +0000 (00:27 +0000)]
Add the package that contains epstopdf, which is now used in testing.

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

14 years agoPython 1.5 fix (no continue within a try:-except: block within a loop).
stevenknight [Sat, 9 Jan 2010 00:26:44 +0000 (00:26 +0000)]
Python 1.5 fix (no continue within a try:-except: block within a loop).

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

14 years agoI got the order of the arguments wrong in a Clean() call I added to help fix teh
managan [Thu, 7 Jan 2010 17:04:14 +0000 (17:04 +0000)]
I got the order of the arguments wrong in a Clean() call I added to help fix teh
auxiliary file problem.

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

14 years agoIssue 2505: fix use of pre-compiled headers when the source .cpp
stevenknight [Wed, 6 Jan 2010 21:54:12 +0000 (21:54 +0000)]
Issue 2505:  fix use of pre-compiled headers when the source .cpp
file is listed in both the env.PCH() and env.Program() calls.

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

14 years agofix typos in the man page
gregnoel [Wed, 6 Jan 2010 10:04:03 +0000 (10:04 +0000)]
fix typos in the man page

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

14 years agoFix some tests so they can still run on Windows system without
stevenknight [Wed, 6 Jan 2010 01:56:48 +0000 (01:56 +0000)]
Fix some tests so they can still run on Windows system without
.py file associations.

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

14 years agoFix path name checks for case-insensitive file systems.
stevenknight [Wed, 6 Jan 2010 01:56:25 +0000 (01:56 +0000)]
Fix path name checks for case-insensitive file systems.

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

14 years agoFix handling the -C option by recording the absolute path to
stevenknight [Tue, 5 Jan 2010 21:42:53 +0000 (21:42 +0000)]
Fix handling the -C option by recording the absolute path to
the original script directory.

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

14 years agoChange scanner to properly search for included file from the
managan [Mon, 4 Jan 2010 17:34:11 +0000 (17:34 +0000)]
Change scanner to properly search for included file from the
directory of the main file instead of the file it is included from.
Also update the emitter to add the .aux file associated with
\include{filename} commands. This makes sure the required directories
if any are created for variantdir cases.
Half of the patch from Stefan Hepp.

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

14 years agoFix time-sensitivity (< 0.002 second execution) in output format.
stevenknight [Sat, 2 Jan 2010 14:44:28 +0000 (14:44 +0000)]
Fix time-sensitivity (< 0.002 second execution) in output format.

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

14 years agoRemove unnecessary imports to avoid javac warnings.
stevenknight [Fri, 1 Jan 2010 08:48:06 +0000 (08:48 +0000)]
Remove unnecessary imports to avoid javac warnings.
Add a necessary serialVersionUID.

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

14 years agoDefine "static final long serialVersionUID" in java classes in
stevenknight [Fri, 1 Jan 2010 02:01:15 +0000 (02:01 +0000)]
Define "static final long serialVersionUID" in java classes in
RMIC tests to silence warnings from gcj-4.4.

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

14 years agoAvoid GCC 4.4 warnings from the code generated by our dummy QT
stevenknight [Thu, 31 Dec 2009 00:45:19 +0000 (00:45 +0000)]
Avoid GCC 4.4 warnings from the code generated by our dummy QT
moc and uic utilities by using fputs() instead of printf().

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

14 years agoAdding 1.2.0.d20091224 release
bdbaddog [Tue, 29 Dec 2009 06:46:07 +0000 (06:46 +0000)]
Adding 1.2.0.d20091224 release

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

14 years agoPull up the tigris.org page for SVN revisions, at least for now, in
stevenknight [Sun, 27 Dec 2009 15:36:09 +0000 (15:36 +0000)]
Pull up the tigris.org page for SVN revisions, at least for now, in
response to clicks on the detailed graph.

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

14 years agoInterface tweaks:
stevenknight [Sat, 26 Dec 2009 17:40:32 +0000 (17:40 +0000)]
Interface tweaks:
Display 150 revs in the dashboard thumbnails, but full history
in the click-through graphs.  Rewrite the top-of-page title and
have it display which stat is being displayed.

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

15 years agoAdd a -p option to support calibrating against build SCons packages.
stevenknight [Tue, 22 Dec 2009 16:43:30 +0000 (16:43 +0000)]
Add a -p option to support calibrating against build SCons packages.

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

15 years agoFix the view-change detail tab. Minor wording improvement.
stevenknight [Tue, 22 Dec 2009 14:26:37 +0000 (14:26 +0000)]
Fix the view-change detail tab.  Minor wording improvement.

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

15 years agoDon't look for copyright strings in buildbot timings files.
stevenknight [Tue, 22 Dec 2009 07:57:36 +0000 (07:57 +0000)]
Don't look for copyright strings in buildbot timings files.

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

15 years agoIssue 2482: Avoid wrapping decider unnecessarily
gregnoel [Sun, 20 Dec 2009 19:14:04 +0000 (19:14 +0000)]
Issue 2482: Avoid wrapping decider unnecessarily

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

15 years agoAdd a message to the UserError raised when trying to do a Dir lookup with create...
garyo [Sun, 20 Dec 2009 16:04:13 +0000 (16:04 +0000)]
Add a message to the UserError raised when trying to do a Dir lookup with create=False.  Should not normally happen, but it did to me, and it is better to have some explanatory message when it happens rather than failing silently.

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

15 years agoUpdate the number of the "base" revision of bin/time-scons.py to use
stevenknight [Sat, 19 Dec 2009 16:18:25 +0000 (16:18 +0000)]
Update the number of the "base" revision of bin/time-scons.py to use
for historical statistics.  Close the triple-quote in the doc string
I added right before the last checkin.

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

15 years agoSpeed up the time-scons.py "build" of SCons with compiled *.pyc files,
stevenknight [Sat, 19 Dec 2009 16:11:40 +0000 (16:11 +0000)]
Speed up the time-scons.py "build" of SCons with compiled *.pyc files,
by just invoking setup.py directly instead of packing and unpacking the
distributable .tar.gz file.

Refactor to be able to capture historical statistics (of previous
revisions) by preparing the "built" revision once and then running all
of the requested timing scripts, with output going to a separate log
file for each revision + script.

Fix TestSCons.py so that it interprets the scons script name to be tested
relative to the invoking directory, not always relative to src/script.

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

15 years agoAdd config.js files to the timing configurations, and update graph.html
stevenknight [Fri, 18 Dec 2009 09:26:23 +0000 (09:26 +0000)]
Add config.js files to the timing configurations, and update graph.html
to use them to display configuration-specific info (right now just
the title) for each graph's page.

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

15 years agoMove the timings-specific pieces of the buildbot infrastructure into
stevenknight [Fri, 18 Dec 2009 08:03:50 +0000 (08:03 +0000)]
Move the timings-specific pieces of the buildbot infrastructure into
the trunk/timings directory.  We'll map them into the buildbot directory
using svn:externals.  This will let us keep all the pieces of a timing
configuration, including its buildbot pieces, in one place, and will
let us simplify the Master initialization (since it will be able to look
on-disk for the configurations for which it should set up buildbot steps,
instead of querying the SVN server).

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

15 years agoTrace the system load average (Linux-only code) before starting the
stevenknight [Fri, 18 Dec 2009 06:58:37 +0000 (06:58 +0000)]
Trace the system load average (Linux-only code) before starting the
help / full / null builds in a timing run.

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

15 years agoRunning PDF() on an .eps file on windows with MikTex 2.7.2767 does not work,
managan [Thu, 17 Dec 2009 22:06:41 +0000 (22:06 +0000)]
Running PDF() on an .eps file on windows with MikTex 2.7.2767 does not work,
because it does not support '-o <outfile>'. This patch uses --outfile= instead,
since this works both unter linux and windows.

Patch from Stefan Hepp

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

15 years agoAdd scanning of files included in Latex by means of \lstinputlisting{}
managan [Thu, 17 Dec 2009 21:13:17 +0000 (21:13 +0000)]
Add scanning of files included in Latex by means of \lstinputlisting{}
Patch from Stefan Hepp.

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

15 years agoAvoids bailing on non-zero exit status from commands. This will lets
stevenknight [Thu, 17 Dec 2009 15:23:20 +0000 (15:23 +0000)]
Avoids bailing on non-zero exit status from commands.  This will lets
us collect as many stats as possible, even when a test for a revision
in the middle of the list fails due to a bug.
Updates the "baseline" timing revision (the revision that has
the earliest "stable" TimeSCons infrastructure
Removes --noqmtest, since the "baseline" revision no longer uses
QMTest by default.
Changes the --logfiles option to a --logsdir option.
Updates the usage message.

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

15 years agoIgnore the exit status from the --help run on timing builds, since some
stevenknight [Thu, 17 Dec 2009 07:11:51 +0000 (07:11 +0000)]
Ignore the exit status from the --help run on timing builds, since some
early revisions have bugs and we can still go on and get useful stats
from the full and null builds.

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

15 years agoAdd a separate test of the runtest.py --qmtest option.
stevenknight [Thu, 17 Dec 2009 05:51:33 +0000 (05:51 +0000)]
Add a separate test of the runtest.py --qmtest option.

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

15 years agoFix the time-scons.py --logfiles option.
stevenknight [Thu, 17 Dec 2009 02:09:50 +0000 (02:09 +0000)]
Fix the time-scons.py --logfiles option.

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

15 years agoFix the tests of runtest.py now that QMTest is no longer being used
stevenknight [Wed, 16 Dec 2009 07:07:13 +0000 (07:07 +0000)]
Fix the tests of runtest.py now that QMTest is no longer being used
by default.  Fix use of subprocess in Python 2.4+ and exit statuses
of popen'ed scripts in earlier versions of Python.  Support the ability
to execute a directory's tests by naming the directory as a command-
line argument.

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