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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 years agoAdd missing "import string" to test that uses string.replace().
stevenknight [Sun, 29 Nov 2009 04:25:57 +0000 (04:25 +0000)]
Add missing "import string" to test that uses string.replace().

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

14 years agoFix get_host_target()'s use of platform.machine() on Python versions
stevenknight [Sat, 28 Nov 2009 06:17:41 +0000 (06:17 +0000)]
Fix get_host_target()'s use of platform.machine() on Python versions
before 2.6, when it always returns a null string.

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

14 years agoDon't hard-code the swig location in the expected output.
stevenknight [Sat, 28 Nov 2009 04:52:19 +0000 (04:52 +0000)]
Don't hard-code the swig location in the expected output.
Use test.wrap_stdout() instead of hard-coding the SCons messages.

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

14 years agoRemove the obsolete msvs_exists() unit test.
stevenknight [Sat, 28 Nov 2009 00:41:44 +0000 (00:41 +0000)]
Remove the obsolete msvs_exists() unit test.

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

14 years agoFix test infrastructure querying for installed Visual Studio versions.
stevenknight [Sat, 28 Nov 2009 00:41:26 +0000 (00:41 +0000)]
Fix test infrastructure querying for installed Visual Studio versions.

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

14 years agoAdd a compat module for the (Python 2.3) platform.py module so that tests
stevenknight [Fri, 27 Nov 2009 16:41:56 +0000 (16:41 +0000)]
Add a compat module for the (Python 2.3) platform.py module so that tests
using early Python versions work correctly, and without relying on the
QMTest infrastructure adding the installed Python version's directories
to sys.path.

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

14 years agoAdd __COPYRIGHT__ strings.
stevenknight [Fri, 27 Nov 2009 15:30:53 +0000 (15:30 +0000)]
Add __COPYRIGHT__ strings.

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

14 years agoFix wrong var name in r4486, thanks Greg!
garyo [Thu, 26 Nov 2009 22:09:23 +0000 (22:09 +0000)]
Fix wrong var name in r4486, thanks Greg!

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

14 years agoUse VisualCMissingWarning instead of making a stack trace for unsupported MSVC version.
garyo [Thu, 26 Nov 2009 21:13:37 +0000 (21:13 +0000)]
Use VisualCMissingWarning instead of making a stack trace for unsupported MSVC version.

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

14 years agoPython 1.5 fix: no +=
stevenknight [Thu, 26 Nov 2009 19:20:47 +0000 (19:20 +0000)]
Python 1.5 fix:  no +=

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

14 years agoAdd a test for the case where a latex file uses \input{} to include the
managan [Wed, 25 Nov 2009 21:47:43 +0000 (21:47 +0000)]
Add a test for the case where a latex file uses \input{} to include the
file that contains the documentclass command

Add logic to is_LaTeX routine to search through included files until
\documentclass is found

Also added comments, converted comments at start of 2 routines into doc
strings..

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

14 years agoAnother test fix for the MSVS tests.
garyo [Wed, 25 Nov 2009 03:51:06 +0000 (03:51 +0000)]
Another test fix for the MSVS tests.

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

14 years agoA couple more test fixes, to make test/import.py work on Linux.
garyo [Wed, 25 Nov 2009 03:27:20 +0000 (03:27 +0000)]
A couple more test fixes, to make test/import.py work on Linux.

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

14 years agoFix tests to ignore missing MSVC warnings.
garyo [Wed, 25 Nov 2009 02:17:20 +0000 (02:17 +0000)]
Fix tests to ignore missing MSVC warnings.

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

14 years agoDoc tweaks for MSVC_VERSION and TARGET_ARCH.
garyo [Tue, 24 Nov 2009 03:13:13 +0000 (03:13 +0000)]
Doc tweaks for MSVC_VERSION and TARGET_ARCH.

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

14 years agoRename the TimeSCons.run_build() method to just TimeSCons.run() so
stevenknight [Tue, 24 Nov 2009 02:12:50 +0000 (02:12 +0000)]
Rename the TimeSCons.run_build() method to just TimeSCons.run() so
the parent class TestSCons.up_to_date() method will use it to print
the --debug=memory and --debug=times stats during up-to-date runs.
Fix the TestSCons.up_to_date() regular expression so the memory
and timing output won't cause the check to fail.

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

14 years agoFix check for too-old Visual Studio with non-x86 arch; thanks to Roberto De Vecchi.
garyo [Tue, 24 Nov 2009 02:05:34 +0000 (02:05 +0000)]
Fix check for too-old Visual Studio with non-x86 arch; thanks to Roberto De Vecchi.

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

14 years agoFix incorrectly inverted condition in test for non-TimeSCons entries.
stevenknight [Tue, 24 Nov 2009 01:58:03 +0000 (01:58 +0000)]
Fix incorrectly inverted condition in test for non-TimeSCons entries.

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

14 years agoENH: explicit check for supported arch per version when using batch file.
cournape [Mon, 23 Nov 2009 07:44:43 +0000 (07:44 +0000)]
ENH: explicit check for supported arch per version when using batch file.

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

14 years agoREF: query host/target arch only when using bat file.
cournape [Mon, 23 Nov 2009 07:43:58 +0000 (07:43 +0000)]
REF: query host/target arch only when using bat file.

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

14 years agoPython 1.5 compat: if 'text' in kw.keys()
stevenknight [Mon, 23 Nov 2009 01:59:17 +0000 (01:59 +0000)]
Python 1.5 compat:  if 'text' in kw.keys()

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

14 years agoPython 1.5 fixes in the TimeSCons class.
stevenknight [Sun, 22 Nov 2009 18:26:25 +0000 (18:26 +0000)]
Python 1.5 fixes in the TimeSCons class.

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

14 years agoFaster backward-compatible code
gregnoel [Fri, 20 Nov 2009 01:44:49 +0000 (01:44 +0000)]
Faster backward-compatible code

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

14 years agoCapture initial infrastructure for working performance tests.
stevenknight [Thu, 19 Nov 2009 08:03:26 +0000 (08:03 +0000)]
Capture initial infrastructure for working performance tests.

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

14 years agoENH: add a cache for get_installed_vcs, as it used for every MS tool exists function...
cournape [Thu, 19 Nov 2009 05:38:09 +0000 (05:38 +0000)]
ENH: add a cache for get_installed_vcs, as it used for every MS tool exists function and is expensive.

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

14 years agoBUG: fix caching bug for msvc_setup_once.
cournape [Thu, 19 Nov 2009 05:22:18 +0000 (05:22 +0000)]
BUG: fix caching bug for msvc_setup_once.

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

14 years agoDOC: add doc for TARGET_ARCH/HOST_ARCH + obsolete MSVS_VERSION.
cournape [Thu, 19 Nov 2009 05:09:27 +0000 (05:09 +0000)]
DOC: add doc for TARGET_ARCH/HOST_ARCH + obsolete MSVS_VERSION.

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

14 years agoREF: remove duplicated function msvc_setup_env_once.
cournape [Thu, 19 Nov 2009 05:08:51 +0000 (05:08 +0000)]
REF: remove duplicated function msvc_setup_env_once.

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

14 years agoBUG: fix MSVC_USE_SCRIPT=False case.
cournape [Thu, 19 Nov 2009 05:08:16 +0000 (05:08 +0000)]
BUG: fix MSVC_USE_SCRIPT=False case.

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

14 years agoBUG: return early with warning if no version of vc is found.
cournape [Thu, 19 Nov 2009 05:07:41 +0000 (05:07 +0000)]
BUG: return early with warning if no version of vc is found.

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

14 years agoBUG: catch any VisualCException when querying available versions through find_vc_pdir.
cournape [Thu, 19 Nov 2009 05:07:01 +0000 (05:07 +0000)]
BUG: catch any VisualCException when querying available versions through find_vc_pdir.

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

14 years agoENH: add support for Itanium architecture.
cournape [Thu, 19 Nov 2009 05:06:20 +0000 (05:06 +0000)]
ENH: add support for Itanium architecture.

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

14 years agoENH: use Gary error checking, but using exception instead of returning error message...
cournape [Thu, 19 Nov 2009 05:05:37 +0000 (05:05 +0000)]
ENH: use Gary error checking, but using exception instead of returning error message (thanks Gary).

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

14 years agoENH: set up MSVS_VERSION and MSVS dict while setting up msvc as well.
cournape [Thu, 19 Nov 2009 05:04:55 +0000 (05:04 +0000)]
ENH: set up MSVS_VERSION and MSVS dict while setting up msvc as well.

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

14 years agoBUG: catch error while canonalizing arch for host/target.
cournape [Thu, 19 Nov 2009 05:04:17 +0000 (05:04 +0000)]
BUG: catch error while canonalizing arch for host/target.

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

14 years agoENH: use msvc_exists for all tools in the Visual Studio toolchain.
cournape [Thu, 19 Nov 2009 05:03:36 +0000 (05:03 +0000)]
ENH: use msvc_exists for all tools in the Visual Studio toolchain.

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

14 years agoENH: handle MSVS_VERSION additionally to MSVC_VERSION, but raise deprecation warnings...
cournape [Thu, 19 Nov 2009 05:02:55 +0000 (05:02 +0000)]
ENH: handle MSVS_VERSION additionally to MSVC_VERSION, but raise deprecation warnings if used.

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

14 years agoREF: move vc2 to vc module.
cournape [Thu, 19 Nov 2009 05:02:08 +0000 (05:02 +0000)]
REF: move vc2 to vc module.

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

14 years agoENH: use a pre-sorted list for MSVC versions to check.
cournape [Thu, 19 Nov 2009 05:01:22 +0000 (05:01 +0000)]
ENH: use a pre-sorted list for MSVC versions to check.

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

14 years agoDOC: add a TODO for updated vc support.
cournape [Thu, 19 Nov 2009 05:00:41 +0000 (05:00 +0000)]
DOC: add a TODO for updated vc support.

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

14 years agoENH: raise an exception when we detect an error while executing the batch file.
cournape [Thu, 19 Nov 2009 04:59:58 +0000 (04:59 +0000)]
ENH: raise an exception when we detect an error while executing the batch file.

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

14 years agoBUG: fix get_installed_vcs such as most recent versions are the first ones.
cournape [Thu, 19 Nov 2009 04:59:23 +0000 (04:59 +0000)]
BUG: fix get_installed_vcs such as most recent versions are the first ones.

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

14 years agoBUG: do not set up the SDK for now - it messes up cross compilation.
cournape [Thu, 19 Nov 2009 04:58:46 +0000 (04:58 +0000)]
BUG: do not set up the SDK for now - it messes up cross compilation.

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

14 years agoENH: start a new, simpler and more robust vc module.
cournape [Thu, 19 Nov 2009 04:58:09 +0000 (04:58 +0000)]
ENH: start a new, simpler and more robust vc module.

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

14 years agoBUG: fix cross-compilation from x86 -> x86_64 for VS 2008.
cournape [Thu, 19 Nov 2009 04:57:30 +0000 (04:57 +0000)]
BUG: fix cross-compilation from x86 -> x86_64 for VS 2008.

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

14 years agoBUG: do not call msvs bat file in merge_default_version, only set up version.
cournape [Thu, 19 Nov 2009 04:56:55 +0000 (04:56 +0000)]
BUG: do not call msvs bat file in merge_default_version, only set up version.

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

14 years agoENH: use msvc env, not msvs to set up mslib and mslink paths.
cournape [Thu, 19 Nov 2009 04:56:16 +0000 (04:56 +0000)]
ENH: use msvc env, not msvs to set up mslib and mslink paths.

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

14 years agoENH: add a wrapper around msvc_setup_env to guarantee the function is called only...
cournape [Thu, 19 Nov 2009 04:55:31 +0000 (04:55 +0000)]
ENH: add a wrapper around msvc_setup_env to guarantee the function is called only once.

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

14 years agoBUG: fix arch argument to pass to batfile.
cournape [Thu, 19 Nov 2009 04:54:49 +0000 (04:54 +0000)]
BUG: fix arch argument to pass to batfile.

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

14 years agoENH: move user info gathering at the top of msvc_setup_env.
cournape [Thu, 19 Nov 2009 04:54:08 +0000 (04:54 +0000)]
ENH: move user info gathering at the top of msvc_setup_env.

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

14 years agoENH: factor host/target handling in separate function.
cournape [Thu, 19 Nov 2009 04:53:31 +0000 (04:53 +0000)]
ENH: factor host/target handling in separate function.

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

14 years agoENH: bypass complicated VisualC logic, and use the .bat file to get correct arch...
cournape [Thu, 19 Nov 2009 04:52:55 +0000 (04:52 +0000)]
ENH: bypass complicated VisualC logic, and use the .bat file to get correct arch settings instead.

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

14 years agoENH: script_env now takes an args argument to forward arguments to the executed script.
cournape [Thu, 19 Nov 2009 04:52:17 +0000 (04:52 +0000)]
ENH: script_env now takes an args argument to forward arguments to the executed script.

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

14 years agoENH: refactor function to get msvc version.
cournape [Thu, 19 Nov 2009 04:51:43 +0000 (04:51 +0000)]
ENH: refactor function to get msvc version.

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

14 years agoFix name typo in 1.5.2 patch.
stevenknight [Wed, 18 Nov 2009 04:55:03 +0000 (04:55 +0000)]
Fix name typo in 1.5.2 patch.

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

14 years agoIssue 2481: Fix the msvc_exists() call in Tool/msvc.py.
stevenknight [Wed, 18 Nov 2009 02:00:43 +0000 (02:00 +0000)]
Issue 2481:  Fix the msvc_exists() call in Tool/msvc.py.

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

14 years agoPython 1.5 fix: "mname += ..." => "mname = mname + ..."
stevenknight [Sun, 15 Nov 2009 19:32:06 +0000 (19:32 +0000)]
Python 1.5 fix:  "mname += ..." => "mname = mname + ..."

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

14 years ago1.5 fix: use apply() instead of (*args, **kw).
stevenknight [Sun, 15 Nov 2009 18:03:52 +0000 (18:03 +0000)]
1.5 fix:  use apply() instead of (*args, **kw).

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

14 years ago1.5.2 fix in compat/__init__.py: "flags |= ..." => "flags = flags | ..."
stevenknight [Sun, 15 Nov 2009 16:18:17 +0000 (16:18 +0000)]
1.5.2 fix in compat/__init__.py:  "flags |= ..." => "flags = flags | ..."

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

14 years agoApply patch submitted in issue #947 to fix race condition in
garyo [Sun, 15 Nov 2009 14:32:02 +0000 (14:32 +0000)]
Apply patch submitted in issue #947 to fix race condition in
TempFileMunge by using mkstemp instead of mktemp.  Includes
pre-Python-2.3 compat version of mkstemp.  Thanks to Jim Randall.

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

14 years agoFix issue 2519 - add textfile to list of builders
bdbaddog [Sat, 14 Nov 2009 05:56:42 +0000 (05:56 +0000)]
Fix issue 2519 - add textfile to list of builders

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

14 years agoFix bug 1944 - handle non-existant .i files when swig emitter is called. Make an...
bdbaddog [Sat, 14 Nov 2009 00:47:32 +0000 (00:47 +0000)]
Fix bug 1944 - handle non-existant .i files when swig emitter is called. Make an educated guess on the generated module name based on the .i file name.

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

14 years agoFix bug 2465 - bootstrap.py should now use the python it was invoked with instead...
bdbaddog [Thu, 12 Nov 2009 07:32:38 +0000 (07:32 +0000)]
Fix bug 2465 - bootstrap.py should now use the python it was invoked with instead of finding the same named executable via the PATH

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

14 years agoRemove old news items.
gregnoel [Wed, 11 Nov 2009 02:06:25 +0000 (02:06 +0000)]
Remove old news items.

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

14 years agoAdd check for python 3.0.0 or higher and exit with message.
bdbaddog [Tue, 10 Nov 2009 06:49:02 +0000 (06:49 +0000)]
Add check for python 3.0.0 or higher and exit with message.
Resolve bug 2445

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

14 years agoBUG: fix bootstrap on windows 64.
cournape [Sat, 31 Oct 2009 07:20:44 +0000 (07:20 +0000)]
BUG: fix bootstrap on windows 64.

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

14 years agoMSVC: Add correct x86_64/x66_64 msvc bat file location for VC 9.0 (2008).
garyo [Wed, 14 Oct 2009 21:06:24 +0000 (21:06 +0000)]
MSVC: Add correct x86_64/x66_64 msvc bat file location for VC 9.0 (2008).

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

14 years agoUpdate CHANGES.txt for the small bug fixes I commited recently.
cournape [Sat, 26 Sep 2009 12:00:20 +0000 (12:00 +0000)]
Update CHANGES.txt for the small bug fixes I commited recently.

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

14 years agoUse Glob() instead of glob.glob()
gregnoel [Wed, 23 Sep 2009 21:13:24 +0000 (21:13 +0000)]
Use Glob() instead of glob.glob()

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

14 years agoUpdate project pages for tigris
stevenknight [Sun, 20 Sep 2009 01:10:42 +0000 (01:10 +0000)]
Update project pages for tigris

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

14 years agoUpdate CHANGES.txt with David C's last contribution.
stevenknight [Sat, 19 Sep 2009 21:58:11 +0000 (21:58 +0000)]
Update CHANGES.txt with David C's last contribution.

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

14 years agoBUG: do not add -fPIC on non-posix platform for ifort tool.
cournape [Fri, 18 Sep 2009 07:05:47 +0000 (07:05 +0000)]
BUG: do not add -fPIC on non-posix platform for ifort tool.

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

14 years agoFix test failure in Repository/Java.py on OS X
gregnoel [Fri, 18 Sep 2009 06:49:35 +0000 (06:49 +0000)]
Fix test failure in Repository/Java.py on OS X

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

14 years agoMinor fixes found while debugging
gregnoel [Fri, 18 Sep 2009 06:49:31 +0000 (06:49 +0000)]
Minor fixes found while debugging

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

14 years agoBUG: fix TryRun with variant dir set.
cournape [Thu, 17 Sep 2009 06:44:04 +0000 (06:44 +0000)]
BUG: fix TryRun with variant dir set.

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

14 years agoAdd test case for configure failure.
cournape [Thu, 17 Sep 2009 06:43:33 +0000 (06:43 +0000)]
Add test case for configure failure.

TryRun fails to find the executable when VariantDir is set up from
SConscript/SConstruct.

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

14 years agoFix tex code to handle broken nomenclature package. (Fixes test failure on centos5...
bdbaddog [Wed, 16 Sep 2009 17:44:46 +0000 (17:44 +0000)]
Fix tex code to handle broken nomenclature package. (Fixes test failure on centos5 slave).
Code by Rob Managan.

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

14 years agoSteven checked in some changes yesterday which fixed a great number of
bdbaddog [Tue, 15 Sep 2009 01:37:39 +0000 (01:37 +0000)]
Steven checked in some changes yesterday which fixed a great number of
failing tests by setting SCONSFLAGS='-warn=no-python-version' in def
run() in TestSCons.py yesterday, where previously it was done in def
__init__(...).

This fixed most of the broken tests, but broke some of the working tests.
I readded the logic to def __init__

In addition I've added an extra arg to the __init__ for TestSCons.py
ignore_python_version (which defaults to true).
For those tests which need to be able to see the deprecation and/or
test the functionality of the deprecation.

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

14 years agoHave TestSCons.py add --warn=no-python-version every invocation, not
stevenknight [Sun, 13 Sep 2009 23:33:03 +0000 (23:33 +0000)]
Have TestSCons.py add --warn=no-python-version every invocation, not
just at TestSCons intialization.

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

14 years agoRevert r4356, the problem is in TestSCons.py, not the test script itself.
stevenknight [Sun, 13 Sep 2009 23:32:26 +0000 (23:32 +0000)]
Revert r4356, the problem is in TestSCons.py, not the test script itself.

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

14 years agoRemove last checkin.
bdbaddog [Sun, 13 Sep 2009 22:51:45 +0000 (22:51 +0000)]
Remove last checkin.

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

14 years agoFix test to pass for deprecated python versions. Not what was expected deprecation...
bdbaddog [Sun, 13 Sep 2009 22:47:29 +0000 (22:47 +0000)]
Fix test to pass for deprecated python versions. Not what was expected deprecation errors aren't output when --debug=memoizer is on command line, but are when it's passed via SCONSFLAGS.

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

14 years agoAdd python version deprecated check to get this test to pass on python 2.3 (hopefully...
bdbaddog [Sat, 12 Sep 2009 04:57:46 +0000 (04:57 +0000)]
Add python version deprecated check to get this test to pass on python 2.3 (hopefully this doesn't break other versions)

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

14 years agoFix test logic to handle warning messages on deprecated python version (changed from...
bdbaddog [Fri, 11 Sep 2009 17:20:00 +0000 (17:20 +0000)]
Fix test logic to handle warning messages on deprecated python version (changed from 2.2 to 2.4)

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

14 years agoBUG: fix regression failure after is_win64 fix.
cournape [Wed, 9 Sep 2009 05:10:43 +0000 (05:10 +0000)]
BUG: fix regression failure after is_win64 fix.

Add a RegOpenKeyEx 'fake' function when registry is not available.

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

14 years agoBUG: fix issue 2294.
cournape [Wed, 9 Sep 2009 03:10:46 +0000 (03:10 +0000)]
BUG: fix issue 2294.

CheckCC and assimilate did not set did_show_result up, and this caused spurious
'error: no result' messages after the check was executed.

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

14 years agoFix win64 detection.
cournape [Wed, 9 Sep 2009 02:36:45 +0000 (02:36 +0000)]
Fix win64 detection.

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

14 years agoBump minimum version of python for 1.3 to 2.4
bdbaddog [Sun, 6 Sep 2009 02:24:38 +0000 (02:24 +0000)]
Bump minimum version of python for 1.3 to 2.4

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

14 years agoAdd a test that the packages used are installed.
managan [Mon, 31 Aug 2009 16:19:39 +0000 (16:19 +0000)]
Add a test that the packages used are installed.
Otherwise skip the test.

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

14 years agoUse mailing list information at scons.org instead of tigris.org
gregnoel [Fri, 28 Aug 2009 21:51:42 +0000 (21:51 +0000)]
Use mailing list information at scons.org instead of tigris.org

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

14 years agoAdd copyright notice to Announcement.txt to satisfy the test_strings.py test
bdbaddog [Thu, 27 Aug 2009 17:57:56 +0000 (17:57 +0000)]
Add copyright notice to Announcement.txt to satisfy the test_strings.py test

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

14 years agoBlank Announement template
bdbaddog [Wed, 26 Aug 2009 01:23:12 +0000 (01:23 +0000)]
Blank Announement template

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