gregnoel [Mon, 10 Aug 2009 20:19:25 +0000 (20:19 +0000)]
Update CHANGES.txt to include Jared Grubb's contribution
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4325
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
managan [Thu, 6 Aug 2009 19:01:36 +0000 (19:01 +0000)]
Move the definition of env['LATEXSUFFIXES'] from Defaults.py to the
various *tex.py generate functions.
This is to avoid adding LATEXSUFFIXES to the environment when
the tools are not loaded.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4323
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
garyo [Wed, 5 Aug 2009 13:53:02 +0000 (13:53 +0000)]
Check that MSVC install dir returned by registry actually exists before using it. Also added some debug stmts to vc.py.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4321
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
garyo [Tue, 4 Aug 2009 22:17:52 +0000 (22:17 +0000)]
Fix MSVC 7.1 IDE path (for MSVS detection code) in Tool/MSCommon/vs.py.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4320
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Mon, 3 Aug 2009 04:53:52 +0000 (04:53 +0000)]
Solaris test portability fixes.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4318
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Sun, 2 Aug 2009 21:10:14 +0000 (21:10 +0000)]
Don't die if we can't execute the Solaris packaging utilities, so the
sunc++.py module will import okay (for testing, etc.) on non-Solaris
systems.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4317
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Sun, 2 Aug 2009 15:54:22 +0000 (15:54 +0000)]
Add optional time stamping and elapsed time reporting to Trace().
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4316
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Sun, 2 Aug 2009 15:54:05 +0000 (15:54 +0000)]
Speed up Solaris packaging checks for C++ by caching results and
grepping /var/sadm/install/contents for path names.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4315
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Sat, 1 Aug 2009 15:05:35 +0000 (15:05 +0000)]
Use regular expression matching to allow our "do nothing script"
to execute in up to 0.002 seconds.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4314
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Sat, 25 Jul 2009 17:06:58 +0000 (17:06 +0000)]
Document build fixes.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4309
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Fri, 24 Jul 2009 16:30:08 +0000 (16:30 +0000)]
Update the Test{Cmd,Common}.py 0.36, with better diff reporting
(specifically of output matches using regular expressions).
Update tests for corresponding inteface changes.
Add use of diff_re() to test/sconsign/script/Configure.py
so we can get accurate information about its buildbot failure.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4307
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
managan [Wed, 22 Jul 2009 21:24:37 +0000 (21:24 +0000)]
Turns out that in my revamped TeX builder I was listing the .dvi or
.pdf output file as a sideeffect since it is listed as an output
file in the .fls file. This caused the message that there were two ways to
build the file.
In fixing it I have to exclude both the .dvi and .pdf target because some
test decks produce both... THat hsoudl rarely happen in practice but
It is better to handle that case.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4305
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Wed, 22 Jul 2009 13:19:07 +0000 (13:19 +0000)]
Fix formatting of a debug message that was preventing normal execution.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4302
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
managan [Wed, 22 Jul 2009 04:56:52 +0000 (04:56 +0000)]
Update tex builder to use the -recorder option.
This was prompted because MikTeX, used on Windows,
does not put the same information on files opened
into the log file. The -recorder option gives a .fls
file that is the same on all platforms.
We still use the .log file contents to find warnings
and errors that mean we need to rerun latex...
Also add message about errors so user does not have
to scroll up through all the latex output to find
if there was an error.
Update all tests to handle the new command line option.
Add one more test on grpahics conversion.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4301
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Tue, 21 Jul 2009 14:32:00 +0000 (14:32 +0000)]
When setting up SDK, just return if there's no installed Visual Studio
of the specified version.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4299
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Tue, 21 Jul 2009 14:27:46 +0000 (14:27 +0000)]
Fix an import error for a reference in the Configure() method.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4298
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Tue, 21 Jul 2009 14:24:00 +0000 (14:24 +0000)]
Fix execution of test/MSV[CS]/*.py tests on non-Windows systems by
not assuming that %PROCESSOR_ARCHITECTURE% will be defined, and not
assuming that we'll find any installed Windows SDKs.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4297
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
bdbaddog [Tue, 21 Jul 2009 00:48:33 +0000 (00:48 +0000)]
In addition to changed merged below, commented out for platform os2 use of msvc, mslib, mslink
as they cause test/import.py to fail.
I don't have an OS2 system to resolve the issues on.
Merged revisions 4065,4067-4068,4071-4072,4074,4076,4085,4111,4163,4222 via svnmerge from
http://scons.tigris.org/svn/scons/branches/vs_revamp
................
r4065 | stevenknight | 2009-03-02 16:48:05 -0800 (Mon, 02 Mar 2009) | 42 lines
Copy over changes by hand from branches/core (I was working in a
directory pointing to the wrong branch):
........
r4059 | stevenknight | 2009-03-02 06:54:13 -0800 (Mon, 02 Mar 2009) | 14 lines
Initial prototypes of modules for architecture support (MSCommon/arch.py)
and Visual C/C++ configuration distinct from (and in preference to)
the Visual Studio configuration, incorporating configuration info and
ideas from Jason Kenny's latest parts/tools/MSCommon work.
This has a lot of cut-and-paste right now and does NOT actually work.
In particular, there are no changes to the rest of the infrastructure
to actually call any of this new stuff. I'm checking these in so I can
sync on other systems for continued development.
The ultimate goal is for much of the current MSCommon/vs.py module's
logic to migrate to MSCommon/vc.py, since that's what we're actually
interested in configuring.
........
r4058 | stevenknight | 2009-03-02 06:49:35 -0800 (Mon, 02 Mar 2009) | 2 lines
Fix doc string.
........
r4056 | stevenknight | 2009-03-01 06:10:31 -0800 (Sun, 01 Mar 2009) | 4 lines
Change the sanity_check file for 6.1 per Jason's update.
Add an optional version string argument to detect_sdk().
Import directly from common, not SCons.Tool.MSCommon.common.
........
r4055 | stevenknight | 2009-02-28 05:29:03 -0800 (Sat, 28 Feb 2009) | 5 lines
Minor common.py enhancements:
Refactor is_win64() to cache its return value so we don't have to hit
registry every time we want to know if the OS is 64-bit.
Accept SCONS_MSCOMMON_DEBUG=- to mean print debug messages to stdout.
........
................
r4067 | stevenknight | 2009-03-06 04:59:21 -0800 (Fri, 06 Mar 2009) | 4 lines
Fix entries in batch_file_map, after a double-check with the original code.
Use a host_architecture of None in the map to indicate the "default"
entry if there isn't a specific .bat file for our current architecture.
................
r4068 | stevenknight | 2009-03-06 05:15:39 -0800 (Fri, 06 Mar 2009) | 2 lines
Add include_subdir and lib_subdir data to the SDK definitions.
................
r4071 | stevenknight | 2009-03-10 07:42:53 -0700 (Tue, 10 Mar 2009) | 4 lines
Capture basically working snapshot.
src/engine/SCons/Tool/msvsTests.py and test/IDL/midl.py still fail,
and code needs clean up.
................
r4072 | stevenknight | 2009-03-11 06:38:37 -0700 (Wed, 11 Mar 2009) | 2 lines
Fix path to Common7\Tools. Find vs*.bat files.
................
r4074 | stevenknight | 2009-03-13 17:11:55 -0700 (Fri, 13 Mar 2009) | 3 lines
Import SCons.Tool.MSCommon.vc so it works regardless of other sys.path
manipulation.
................
r4076 | stevenknight | 2009-03-19 08:08:48 -0700 (Thu, 19 Mar 2009) | 7 lines
Refactor SDK support:
* New mssdk_exists() and mssdk_setup_env() methods as the primary
public entry points.
* Call internal sdk.*() utility functions that just return information
(like the SDK structure) not handle the actual setting.
* Give the VisualStudio definitions explicit settings for the SDK version.
................
r4085 | bdbaddog | 2009-04-05 14:30:46 -0700 (Sun, 05 Apr 2009) | 3 lines
Fix "can't find module vc" issue when building on windows.
................
r4111 | stevenknight | 2009-04-19 07:47:47 -0700 (Sun, 19 Apr 2009) | 2 lines
Doc updates for how MSVS_VERSION is used.
................
r4163 | bdbaddog | 2009-04-29 17:32:43 -0700 (Wed, 29 Apr 2009) | 4 lines
Fix for bug 2405
Also refactored some logic from Defaults._defines() into Defaults.processDefines() which is then used by msvs.py
................
r4222 | bdbaddog | 2009-05-31 17:01:22 -0700 (Sun, 31 May 2009) | 8 lines
Added definition of HOST_OS|ARCH TARGET_OS|ARCH (For win32 only right now)
Migrated some logic to determine arch from Tools/MSCommon -> Platform/Win32.py
Fixed lots of minor issues with string values for directories, architectures, and registry keys
Switch to find VS installs by registry (was using VC install location previously)
Added but commented out that HOST_{OS|ARCH} and TARGET_{OS|ARCH} will become reserved var names in Environment()
Need to resolve issues that SCons is issuing messages when SCons itself sets these variables.
................
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4296
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
managan [Mon, 22 Jun 2009 23:09:00 +0000 (23:09 +0000)]
Fix typo I found
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4261
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
erluk [Sat, 13 Jun 2009 11:09:06 +0000 (11:09 +0000)]
- Merged r4228 (Bugfix for runtest.py) from branches/installer
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4235
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
erluk [Sat, 13 Jun 2009 11:06:22 +0000 (11:06 +0000)]
- Removed invalid svn:mergeinfo property
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4234
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
erluk [Fri, 12 Jun 2009 16:30:31 +0000 (16:30 +0000)]
- Changed the option--duplicate test to only test the number of hard links on systems that actually support it
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4232
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
pankrat [Sat, 30 May 2009 11:43:22 +0000 (11:43 +0000)]
fix minor unicode issue in UtilTests
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4218
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
davidwyde [Fri, 29 May 2009 06:25:57 +0000 (06:25 +0000)]
Initialized merge tracking via "svnmerge" with revisions "1-4215" from
http://scons.tigris.org/svn/scons/branches/java
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4216
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
garyo [Fri, 29 May 2009 02:07:18 +0000 (02:07 +0000)]
Doc patch from issue 2282 (mention JAVAVERSION in users guide), thanks to Knut Arild Erstad.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4214
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
garyo [Fri, 29 May 2009 01:41:22 +0000 (01:41 +0000)]
Fix issue #2419 by sorting the other return path from glob() in FS.py. Thanks to Jin Liu for the original analysis of the problem.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4213
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
garyo [Fri, 29 May 2009 01:16:27 +0000 (01:16 +0000)]
Fix for issue 2088: Java version 5 is same as 1.5 and 6 is same as 1.6.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4212
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
garyo [Fri, 22 May 2009 17:46:18 +0000 (17:46 +0000)]
Support Intel v11 compiler on Windows. Most of the code was already
fine; this just generalizes a check for whether it's really where the
registry says it is, to allow the new v11 location (Bin/<arch>/icl.exe).
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4211
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
erluk [Wed, 20 May 2009 07:17:52 +0000 (07:17 +0000)]
- Initialized merge tracking from branches/installer via svn-1.5's merge command
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4210
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
arianepaola [Mon, 18 May 2009 06:35:08 +0000 (06:35 +0000)]
Initialized merge tracking via "svnmerge" with revisions "1-4203" from
http://scons.tigris.org/svn/scons/branches/jython
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4205
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
gregnoel [Sun, 17 May 2009 15:54:14 +0000 (15:54 +0000)]
Issue 2229, fix, tests, doc
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4202
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
gregnoel [Sun, 17 May 2009 15:54:08 +0000 (15:54 +0000)]
Remove duplicate test
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4201
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
gregnoel [Sun, 17 May 2009 15:54:06 +0000 (15:54 +0000)]
typo
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4200
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
pankrat [Sun, 17 May 2009 10:22:30 +0000 (10:22 +0000)]
Issue 2415: Tolerate unicode strings when using intern()
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4199
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
gregnoel [Thu, 14 May 2009 06:35:37 +0000 (06:35 +0000)]
Issue 2410: Fix crash when using one-character identifiers in C and C++ macros.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4198
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
gregnoel [Wed, 13 May 2009 20:12:13 +0000 (20:12 +0000)]
Apply fix to Textfile/Substfile suggested by Gary Oberbrunner
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4197
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Wed, 13 May 2009 04:01:37 +0000 (04:01 +0000)]
svn:ignore bootstrap, results.qmr and bin/*.pyc.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4196
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Wed, 13 May 2009 04:01:16 +0000 (04:01 +0000)]
Fix packaging tests: exclude test/Fortran/.exclude_tests from the
search for expanded __COPYRIGHT__ strings in the *-src* packages.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4195
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Wed, 13 May 2009 04:01:15 +0000 (04:01 +0000)]
Add ipkg.py to the MANIFEST.in list and fix 1.5 fix
(string.split() instead of string methods).
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4194
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Wed, 13 May 2009 04:01:13 +0000 (04:01 +0000)]
Rename bin/linecount to bin/linecount.py and provide finer-grained
(and more accurate) breakdowns of the tests.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4193
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
gregnoel [Tue, 12 May 2009 17:26:29 +0000 (17:26 +0000)]
Fix textfile.py breakaga on platforms with weird end-of-line conventions
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4192
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
garyo [Tue, 12 May 2009 12:46:33 +0000 (12:46 +0000)]
Fix site_scons/site_init.py test failure on Windows by using 'type' instead of 'cat' if win32.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4191
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
garyo [Tue, 12 May 2009 11:41:34 +0000 (11:41 +0000)]
Fix issue 2421 by not trying to use os.chown on Windows.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4190
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
garyo [Tue, 12 May 2009 02:01:33 +0000 (02:01 +0000)]
Fix issue 1382: chown .sconsign.dblite back to original user/group when done, when running as root. If it didn't exist, chown to user who executed sudo if known. Hard to test automatically because test needs to run as root.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4189
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
garyo [Mon, 11 May 2009 15:49:12 +0000 (15:49 +0000)]
Make building SCons distribution on Windows work better: make whereis() look for .exe as well as original filename on Windows.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4187
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
gregnoel [Sun, 10 May 2009 20:02:08 +0000 (20:02 +0000)]
Remove unused file
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4184
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
gregnoel [Sun, 10 May 2009 00:58:21 +0000 (00:58 +0000)]
Automatically pick up the list of tools from the tool directory rather
than having a list in the regression test that has to be updated.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4182
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
gregnoel [Fri, 8 May 2009 17:13:56 +0000 (17:13 +0000)]
Update regression tests to match changes in runtest.py
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4180
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
gregnoel [Fri, 8 May 2009 10:24:48 +0000 (10:24 +0000)]
Issue 2306: Exclude non-test files from regression tests. While runtest.py
was opened, changed two unnecessary absolute paths to relative.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4179
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
garyo [Thu, 7 May 2009 02:11:06 +0000 (02:11 +0000)]
Fix #1673, CheckLib should prepend rather than append.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4175
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
garyo [Thu, 7 May 2009 01:43:10 +0000 (01:43 +0000)]
Fix bug #2298, make Move factory work across filesystems.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4174
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
gregnoel [Sun, 3 May 2009 06:24:01 +0000 (06:24 +0000)]
Issue 2401: Fix usage of comparison with None, patch from Jared Grubb
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4170
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Fri, 1 May 2009 03:45:25 +0000 (03:45 +0000)]
Add __revision__ to new file, make __doc__ explicit.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4169
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Thu, 30 Apr 2009 15:27:26 +0000 (15:27 +0000)]
Only try to use hg or svn for packaging in checked-out trees.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4166
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Thu, 30 Apr 2009 15:27:04 +0000 (15:27 +0000)]
Avoid swallowing KeyboardInterrupt in new try:-except: blocks.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4165
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Thu, 30 Apr 2009 05:21:12 +0000 (05:21 +0000)]
Fix try:-except:-finally: block, only valid starting with Python 2.5.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4164
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
garyo [Wed, 29 Apr 2009 01:18:14 +0000 (01:18 +0000)]
fix for bug #2393. Instead of just 'import'ing
site_scons/site_init.py, I now load that file directly into the
SCons.Script namespace using exec ... in. This allows site_init.py to
define tools in the way users expect.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4162
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
GregNoel [Thu, 23 Apr 2009 00:05:22 +0000 (00:05 +0000)]
Sigh. Checkin to fix previous regression test cause another
regression failure. This one should fix it.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4122
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
GregNoel [Wed, 22 Apr 2009 21:59:19 +0000 (21:59 +0000)]
Fix regression failure (shadowed variable) in Python 2.1
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4121
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
GregNoel [Wed, 22 Apr 2009 21:50:58 +0000 (21:50 +0000)]
Editing changes for textfile.xml and credit to Hartmut Goebel
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4120
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
GregNoel [Wed, 22 Apr 2009 20:19:03 +0000 (20:19 +0000)]
Missed the documentation for Textfile and Substfile
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4119
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
GregNoel [Wed, 22 Apr 2009 20:17:29 +0000 (20:17 +0000)]
Add Textfile and Substfile builders
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4118
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
GregNoel [Wed, 22 Apr 2009 20:17:22 +0000 (20:17 +0000)]
use correct base class for filesystem factory functions
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4117
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
GregNoel [Wed, 22 Apr 2009 20:17:18 +0000 (20:17 +0000)]
Add .get_file_contents() to Value() nodes
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4116
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Sun, 19 Apr 2009 15:17:59 +0000 (15:17 +0000)]
Updates for recent modifications.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4113
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
GregNoel [Sat, 18 Apr 2009 20:02:08 +0000 (20:02 +0000)]
fix test that hangs occasionally to fail instead if a short time elapses without success
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4110
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
GregNoel [Sat, 18 Apr 2009 16:56:22 +0000 (16:56 +0000)]
Modify the SWIG tests so that OS X is treated like a UNIX platform (which it
really is). OS X now not only runs all the SWIG tests (it used to skip many
of them because it could not find the appropriate files), it now passes all
the tests.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4109
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
GregNoel [Fri, 17 Apr 2009 04:59:28 +0000 (04:59 +0000)]
Redirect branching page to wiki
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4104
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Thu, 16 Apr 2009 16:51:22 +0000 (16:51 +0000)]
Fix the expected "Dot not know how to make" error message.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4096
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
GregNoel [Thu, 16 Apr 2009 16:19:09 +0000 (16:19 +0000)]
Partial update of the use of branches; still needs TLC
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4095
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Thu, 16 Apr 2009 15:41:23 +0000 (15:41 +0000)]
Win32 fixes: update error message, accomodate re match.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4094
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Thu, 16 Apr 2009 13:30:54 +0000 (13:30 +0000)]
Fix Python 2.2 idiom.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4093
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
garyo [Wed, 15 Apr 2009 10:10:41 +0000 (10:10 +0000)]
Per the bug report, this patch improves the "Do not know how to make
target X" to say what type of node is being built, and the full path (if
it's a file or dir).
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4092
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
pankrat [Tue, 14 Apr 2009 14:36:26 +0000 (14:36 +0000)]
Issue 2377: Check if isatty() exists before calling it
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4091
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
garyo [Tue, 14 Apr 2009 10:51:00 +0000 (10:51 +0000)]
Patch submitted by Lukas Erlinghagen. Thanks, Lukas!
this patch should fix issue 2362.
- Variables that are added via Variables.Add or Variables.AddVariables
are now removed from the 'unknown' dict if present
- An option's name and its aliases can now actually be provided as a
tuple as well as a list
- Test cases for using option aliases and for issue 2362 itself are included
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4090
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
GregNoel [Sun, 12 Apr 2009 22:52:09 +0000 (22:52 +0000)]
Document that filename that has a dot as the first character must be matched explicitly in a Glob() pattern
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4089
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
GregNoel [Fri, 10 Apr 2009 01:56:01 +0000 (01:56 +0000)]
Issue 2349: doc-only change correcting description of text returned from sconf.Result() call
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4088
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
GregNoel [Fri, 10 Apr 2009 01:44:02 +0000 (01:44 +0000)]
Clean up Environment code as mentioned in issue 2371
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4087
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
bdbaddog [Thu, 9 Apr 2009 05:38:42 +0000 (05:38 +0000)]
Applying patch for bug #2387 - dmd includes gphobos multiple times
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4086
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
benmwebb [Fri, 3 Apr 2009 17:10:22 +0000 (17:10 +0000)]
Use SCons.Action._subproc rather than os.popen.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4084
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
benmwebb [Thu, 2 Apr 2009 20:05:58 +0000 (20:05 +0000)]
Set a SWIGVERSION construction variable, to contain the version number of the
SWIG program.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4083
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
benmwebb [Wed, 1 Apr 2009 02:52:01 +0000 (02:52 +0000)]
Minor fix to work with Python 1.5.2.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4082
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
benmwebb [Tue, 31 Mar 2009 01:56:09 +0000 (01:56 +0000)]
Document the SWIGDIRECTORSUFFIX construction variable.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4081
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
benmwebb [Tue, 31 Mar 2009 01:53:59 +0000 (01:53 +0000)]
Be sure to honor the setting of SWIGOUTDIR when the SWIG tool generates
Python wrappers.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4080
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Wed, 18 Mar 2009 07:24:36 +0000 (07:24 +0000)]
Add a missing test.pass_test() line to test/Java nested-classes.py.
Update src/test_strings.py to verify these files all have an appropriate
'\.pass_test()' line.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4075
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Wed, 11 Mar 2009 17:34:37 +0000 (17:34 +0000)]
Issue 2372: evaluate a Node's order-only prerequisites before the sources
and dependencies (so they can affect how the sources and dependencies
are built).
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4073
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
GregNoel [Sun, 8 Mar 2009 00:51:26 +0000 (00:51 +0000)]
Issue 2326, change execfile() to exec ... (FIXED)
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4070
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Sat, 7 Mar 2009 15:20:51 +0000 (15:20 +0000)]
Issue 2369: Don't use the deprecated md5 module, use hashlib.md5 instead.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4069
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Fri, 6 Mar 2009 02:14:24 +0000 (02:14 +0000)]
Issue 2368: Fix an exception when a null command-line argument is
passed in.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4066
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Mon, 2 Mar 2009 23:10:32 +0000 (23:10 +0000)]
Issue 2360: fix a TypeError from attempts to intern() unicode objects
returned to the ClassicCPPScanner.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4062
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Mon, 2 Mar 2009 19:11:09 +0000 (19:11 +0000)]
Fix handling of both UTF_16_LE and UTF_16_BE. Add an actual test for
scanning Unicode files for implicit dependencies. Clean up how we handle
decoding, and wrap it for earlier Python versions.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4061
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Mon, 2 Mar 2009 19:09:47 +0000 (19:09 +0000)]
Fix a nested scope issue.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4060
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
GregNoel [Mon, 2 Mar 2009 03:19:29 +0000 (03:19 +0000)]
replace execfile() by equivalent exec statement
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4057
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Thu, 26 Feb 2009 14:41:05 +0000 (14:41 +0000)]
Capture some minor updates while investigating possible patches to enable
use of pychecker on our code base. The test itself is still disabled.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4053
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Wed, 25 Feb 2009 15:15:43 +0000 (15:15 +0000)]
Issue 1059: Fix the -n option when VariantDir(duplicate=1) is used
and the variant directory doesn't already exist.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4052
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Wed, 25 Feb 2009 14:36:00 +0000 (14:36 +0000)]
Add the new checkpoint to the list of all SCons versions that can be
installed.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4051
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Wed, 25 Feb 2009 14:35:17 +0000 (14:35 +0000)]
Merged revisions 3909-4041,4043-4049 via svnmerge from
http://scons.tigris.org/svn/scons/checkpoint
........
r4041 | stevenknight | 2009-02-23 07:06:15 -0800 (Mon, 23 Feb 2009) | 2 lines
Fix embedded carriage returns so merge will apply cleanly.
........
r4043 | stevenknight | 2009-02-23 08:47:32 -0800 (Mon, 23 Feb 2009) | 2 lines
Update release identification for the checkpoint.
........
r4044 | stevenknight | 2009-02-23 09:04:28 -0800 (Mon, 23 Feb 2009) | 2 lines
Add files that conflicted when re-merging.
........
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4050
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
GregNoel [Tue, 24 Feb 2009 22:47:43 +0000 (22:47 +0000)]
Issue 2260, document Clean() pattern for intermediate directories
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4049
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Mon, 23 Feb 2009 21:19:27 +0000 (21:19 +0000)]
Add project highlight for 1.2.0.
d20090223 checkpoint release.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4048
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Mon, 23 Feb 2009 14:55:04 +0000 (14:55 +0000)]
Issue 2152: Fix the ability of --clean to handle / delete broken
symlinks, as well as named pipes. (Mateusz Gruca)
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4040
fdb21ef1-2011-0410-befe-
b5e4ea1792b1