scons.git
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

15 years agoBetter fix for #2530: dont exit at all on unimplemented options, just print a warning...
garyo [Wed, 16 Dec 2009 02:29:54 +0000 (02:29 +0000)]
Better fix for #2530: dont exit at all on unimplemented options, just print a warning and keep going.

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

15 years ago...and call the correct method.
stevenknight [Tue, 15 Dec 2009 23:46:55 +0000 (23:46 +0000)]
...and call the correct method.

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

15 years agoTypo fix.
stevenknight [Tue, 15 Dec 2009 23:44:04 +0000 (23:44 +0000)]
Typo fix.

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

15 years agoDisable QMTest by default, leave it available when --qmtest is used.
stevenknight [Tue, 15 Dec 2009 22:40:17 +0000 (22:40 +0000)]
Disable QMTest by default, leave it available when --qmtest is used.

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

15 years agoAdd a bin/time-scons.py script to manage invocation of runtest.py to
stevenknight [Tue, 15 Dec 2009 21:44:56 +0000 (21:44 +0000)]
Add a bin/time-scons.py script to manage invocation of runtest.py to
collect SCons timings.

The script will build SCons and time the pre-compiled *.pyc files,
and also provides options for timing a range of revisions directly
from SVN.

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

15 years agoAdd a TestSCons.option_not_yet_implemented() method and use it so
stevenknight [Tue, 15 Dec 2009 06:35:05 +0000 (06:35 +0000)]
Add a TestSCons.option_not_yet_implemented() method and use it so
the tests of those options expect an exit status of 1.

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

15 years agoIntegrated patch for bug 2530: SCons should not exit with 0 (success) on unimplemente...
garyo [Tue, 15 Dec 2009 02:43:01 +0000 (02:43 +0000)]
Integrated patch for bug 2530: SCons should not exit with 0 (success) on unimplemented option error.

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

15 years agoProvide an environment variable that can be used to override
stevenknight [Thu, 10 Dec 2009 16:27:03 +0000 (16:27 +0000)]
Provide an environment variable that can be used to override
setting --warn=no-visual-c-missing when trying to run the new
timing-script infrastructure against older versions of SCons that
don't have that warning.

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

15 years agoAdd separate memory graphs for the stats in the full and null runs.
stevenknight [Thu, 10 Dec 2009 16:00:17 +0000 (16:00 +0000)]
Add separate memory graphs for the stats in the full and null runs.
Refactor stats-gathering so we collect them from the output in one step
and can then trace them in multiple different ways.

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

15 years agoRecord memory in kbytest, not bytes.
stevenknight [Thu, 10 Dec 2009 13:36:10 +0000 (13:36 +0000)]
Record memory in kbytest, not bytes.

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

15 years agoAdd a script for calibrating settings for timing configurations.
stevenknight [Thu, 10 Dec 2009 06:19:43 +0000 (06:19 +0000)]
Add a script for calibrating settings for timing configurations.
Update the timings scripts with calibrated settings that run
a full build between 9.5 and 10.0 seconds on the buildbot slave.

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

15 years agoInfrastructure to support calibration runs of TimeSCons tests, which
stevenknight [Thu, 10 Dec 2009 03:42:30 +0000 (03:42 +0000)]
Infrastructure to support calibration runs of TimeSCons tests, which
only run a full build and report back the values of any variables
affecting the configuration, and the elapsed time of the full build.

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

15 years agoUpdate the TimeSCons class for use of the sort= keyword instead of
stevenknight [Wed, 9 Dec 2009 19:28:41 +0000 (19:28 +0000)]
Update the TimeSCons class for use of the sort= keyword instead of
important=.  Fix an old-version Python problem (use of True in
keyword arg initialization).

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

15 years agoHave the TimeSCons class examine the run output for the reported memory
stevenknight [Wed, 9 Dec 2009 18:23:57 +0000 (18:23 +0000)]
Have the TimeSCons class examine the run output for the reported memory
use and timings, and translate these into TRACE: lines with keyword=value
pairs that will be processed by the now more generic buildbot-side log
processor to populate the timings graph data.

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

15 years agoUpdate the TimeSCons "elapsed time" message to match the log processor.
stevenknight [Tue, 8 Dec 2009 22:02:30 +0000 (22:02 +0000)]
Update the TimeSCons "elapsed time" message to match the log processor.

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

15 years agoFix typo in man page, per patch in issue #2529.
garyo [Sun, 6 Dec 2009 14:17:33 +0000 (14:17 +0000)]
Fix typo in man page, per patch in issue #2529.

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

15 years agoIntegrate patch from issue #2436: fix regression from r3691 which stopped printing...
garyo [Sat, 5 Dec 2009 02:39:27 +0000 (02:39 +0000)]
Integrate patch from issue #2436: fix regression from r3691 which stopped printing "Entering Directory" with -C/-u.

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

15 years agoExplicitly initialize the environment tools=['mssdk', 'msvc', 'mslink']
stevenknight [Mon, 30 Nov 2009 13:47:11 +0000 (13:47 +0000)]
Explicitly initialize the environment tools=['mssdk', 'msvc', 'mslink']
to get the path to the SDK include directory (so our test program can
#include <windows.h>).

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

15 years agoFix c++ compiler detection: correct the order of values returned,
stevenknight [Sun, 29 Nov 2009 05:11:31 +0000 (05:11 +0000)]
Fix c++ compiler detection:  correct the order of values returned,
return the dirname of the executables found, not the full path.

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