3 SCons - a software construction tool
7 NOTE: The 4.0.0 Release of SCons dropped Python 2.7 Support
9 RELEASE VERSION/DATE TO BE FILLED IN LATER
12 - Add COMPILATIONDB_PATH_FILTER env option for CompilationDatabase() builder which allows
13 filtering of entries based on the output file paths using glob style file matching (issue #3742).
16 - Internal MSVC and test updates: Rework the msvc installed versions cache so that it
17 is not exposed externally and update external references accordingly.
18 - Modify the MSCommon internal-use only debug logging records to contain the correct relative
19 file path when the debug function is called from outside the MSCommon module.
22 - Fix yacc tool, not respecting YACC set at time of tool initialization.
23 - Refactor SCons.Tool to move all common shared and loadable module linking logic to SCons.Tool.linkCommon
24 - Remove pywin32 imports from SCons.Script.Main. No longer needed.
25 - Switch to use ctypes instead of pywin32 (requiring an extra pip install) - Fixes Github Issue #2291
26 - pywin32 no longer necessary for SCons install. (pip install SCons will no longer also require pywin32 on win32)
27 - Remove pywin32 usage from SCons.Util where it was used for accessing the registry. Python native winreg
28 library already includes this functionality.
29 - Remove using pywin32 to retrieve peak memory usage on Win32 for `--debug=memory`
30 - Fix Issue #3759 - include scons.1, sconsign.1, scons-time.1 manpages in sdist and wheel packages.
31 - Change SCons's build so the generated `SCons/__init__.py` is no longer removed by `scons -c`
34 - Fix dvipdf test failure due to passing incorrect flag to dvipdf.
37 - Fix minor bug affecting SCons.Node.FS.File.get_csig()'s usage of the MD5 chunksize.
38 User-facing behavior does not change with this fix (GH Issue #3726).
39 - Fix occasional test failures caused by not being able to find a file or directory fixture
40 when running multiple tests with multiple jobs.
41 - Fix incorrect cache hits and/or misses when running in interactive mode by having
42 SCons.Node.Node.clear() clear out all caching-related state.
45 - Fix python3 crash when Value node get_text_content when child content does not have decode()
46 NOTE: If you depend on Value node's get_text_content returning concatenated contents of it's
47 children. This may break your code. It now concatenates the csig() of all children.
50 - Suppress missing SConscript deprecation warning if `must_exist=False`
54 - Fix Zip tool to respect ZIPCOMSTR. Previously all zip builder calls would yield something
55 like zip(["test.zip"], ["zip_scons.py"]) and ignore ZIPCOMSTR if ZIPCOM and ZIPCOMSTR
56 weren't set after the Environment/Tool is initialized. (Explained in PR #3659)
59 - Fix issue where java parsed a class incorrectly from lambdas used after a new.
62 - Fix using TEMPFILE in multiple actions in an action list. Previously a builder, or command
63 with an action list like this:
64 ['${TEMPFILE("xxx.py -otempfile $SOURCE")}', '${TEMPFILE("yyy.py -o$TARGET tempfile")}']
65 Could yield a single tempfile with the first TEMPFILE's contents, used by both steps
69 - Complete tests for Dictionary, env.keys() and env.values() for
70 OverrideEnvironment. Enable env.setdefault() method, add tests.
71 - Raise an error if an option (not otherwise consumed) is used which
72 looks like an abbreviation of one one added by AddOption. (#3653)
73 - Tool module not found will now raise a UserError to more clearly indicate this is
74 probably an SConscript problem, and to make the traceback more relevant.
75 - Fix three issues with MergeFlags:
76 - Signature/return did not match documentation or existing usage - the implementation
77 now no longer returns the passed env
78 - merging --param arguments did not work (issue #3107);
79 - passing a dict to merge where the values are strings failed (issue #2961).
80 - Include previously-excluded SideEffect section in User Guide.
81 - Clean up unneeded imports (autoflake tool).
82 - Make sure cProfile is used if profiling - SCons was expecting
83 the Util module to monkeypatch in cProfile as profile if available,
84 but this is no longer being done.
85 - Cleanup in SCons.Util.AddMethod. If called with an environment instance
86 as the object to modify, the method would not be correctly set up in
87 any Clone of that instance. Now tries to detect this and calls
88 MethodWrapper to set up the method the same way env.AddMethod does.
89 MethodWrapper moved to Util to avoid a circular import. Fixes #3028.
90 - Some Python 2 compatibility code dropped
91 - Rework runtest.py to use argparse for arg handling (was a mix
92 of hand-coded and optparse, with a stated intent to "gradually port").
93 - Add options to runtest to generate/not generate a log of failed tests,
94 and to rerun such tests. Useful when an error cascades through several
95 tests, can quickly try if a change improves all the fails. Dropped
96 runtest test for fallback from qmtest, not needed; added new tests.
97 - Eliminate tex tool usage of "for foo in range(len(iterable))"
98 - Restore internal Trace function to functional state.
99 - Only try to initialize the wix tool by default (or when tool `default` is explicitly installed)
100 on Windows based systems.
101 - Pick a better "Topic" Trove classifier for SCons: SW Dev / Build Tools
102 - Use os.replace instead of os.rename in dblite so don't need to
103 special-case Windows here. dblite is the default storage engine for the SConsign file(s).
104 - Fix cut-n-paste error in msvc debug printout and make some debug output
105 in msvs and msvsTests.py be off until needed (uncomment to use)
106 - Fix Issue #3014 - Empty file and missing file have same csig
111 RELEASE 4.0.1 - Mon, 16 Jul 2020 16:06:40 -0700
114 - Fix fortran tools to set SHFORTRAN variables to $FORTRAN, similarly SHF77, SHF90, SHF95,
115 SHF03 and SHF08 will default to the variables $F77, $F90, $F95, $F03 and $F08 respectively.
116 If you were depending on changing the value of FORTRAN (or $F[0-9][0-9]) having no effect
117 on the value of SHFORTRAN, this change will break that. The values of FORTRAN, F77, F90,
118 F95, F03, F08 and SHFORTRAN, SHF77 (etc.) now are not overridden in generate if alredy set
120 - Fix subprocess execution of 'lslpp' on AIX to produce text standard i/o.
121 - Re-do the fix for suncxx tool (Oracle Studio compiler) now that only Python 3 is supported,
122 to avoid decoding errors.
125 - Added Environment() variable TEMPFILEDIR which allows setting the directory which temp
126 files createdby TEMPFILEMUNGE are created in.
129 - Added method on Node to test if its node used in SConf. (Github Issue #3626)
133 RELEASE 4.0.0 - Sat, 04 Jul 2020 12:00:27 +0000
136 - Updated documentation toolchain to work properly under Python3, also
137 removed libxslt support from the Docbook Tool. (issue #3580)
138 - Added Docker images for building and testing SCons. (issue #3585)
142 - Improve Visual Studio solution/project generation code to add support
143 for a per-variant cppflags. Intellisense can be affected by cppflags,
144 this is especially important when it comes to /std:c++* which specifies
145 what C++ standard version to target. SCons will append /Zc:__cplusplus
146 to the project's cppflags when a /std:c++* flag is found as this is
147 required for intellisense to use the C++ standard version from cppflags.
150 - Specify UTF-8 encoding when opening Java source file as text. By default, encoding is the output
151 of locale.getpreferredencoding(False), and varies by platform.
154 - MSVC updates: When there are multiple product installations (e.g, Community and
155 Build Tools) of MSVC 2017 or MSVC 2019, an Enterprise, Professional,
156 or Community installation will be selected before a Build Tools installation when
157 "14.1" or "14.2" is requested, respectively. (GH Issue #3699).
158 - MSVC updates: When there are multiple product installations of MSVC 2017 (e.g.,
159 Community and Express), 2017 Express is no longer returned when "14.1" is
160 requested. Only 2017 Express will be returned when "14.1Exp" is requested.
162 - MSVC updates: An MSVC 6.0 installation now appears in the installed versions list
163 when msvc debug output is enabled (GH Issue #3699).
164 - MSVS test updates: Tests for building a program using generated MSVS project and
165 solution files using MSVS 2015 and later now work as expected on x86 hosts.
166 - Test update: Reduce the number of "false negative" test failures for the interactive
167 configuration test (test/interactive/configure.py).
168 - MSVS update: Fix the development environment path for MSVS 7.0.
171 - Fix broken clang + MSVC 2019 combination by using MSVC configuration logic to
172 propagate'VCINSTALLDIR' and 'VCToolsInstallDir' which clang tools use to locate
173 header files and libraries from MSVC install. (Fixes GH Issue #3480)
174 - Added C:\msys64\mingw64\bin to default mingw and clang windows PATH's. This
175 is a reasonable default and also aligns with changes in Appveyor's VS2019 image.
176 - Drop support for Python 2.7. SCons will be Python 3.5+ going forward.
177 - Change SCons.Node.ValueWithMemo to consider any name passed when memoizing Value() nodes
178 - Fix Github Issue #3550 - When using Substfile() with a value like Z:\mongo\build\install\bin
179 the implementation using re.sub() would end up interpreting the string and finding regex escape
180 characters where it should have been simply replacing existing text. Switched to use string.replace().
181 - Fix Github Issue #2904 - Provide useful error message when more than one Configure Contexts are opened.
182 Only one open is allowed. You must call conf.Finish() to complete the currently open one before creating another
183 - Add msys2 installed mingw default path to PATH for mingw tool.
184 - C:\msys64\mingw64\bin
185 - Purge obsolete internal build and tooling scripts
186 - Allow user specified location for vswhere.exe specified by VSWHERE.
187 NOTE: This must be set at the time the 'msvc' 'msvs' and/or 'mslink' tool(s) are initialized to have any effect.
188 - Resolve Issue #3451 and Issue #3450 - Rewrite SCons setup.py and packaging. Move script logic to entry points so
189 package can create scripts which use the correct version of Python.
190 - Resolve Issue #3248 - Removing '-Wl,-Bsymbolic' from SHLIBVERSIONFLAGS
191 NOTE: If your build depends on the above you must now add to your SHLIBVERSIONFLAGS
192 - Speedup bin/docs-update-generated by caching parsed docbook schema. (60x speedup)
193 - Reorganized source tree. Moved src/engine/SCons to SCons to be more in line with current Python source
194 tree organization practices.
195 - Renamed as.py to asm.py and left redirecting tool. 'as' is a reserved word and so
196 changing the name was required as we wanted to import symbols for use in compilation_db
198 - Add CompilationDatabase() builder in compilation_db tool. Contributed by MongoDB.
199 Setting COMPILATIONDB_USE_ABSPATH to True|False controls whether the files are absolute or relative
200 paths. Address Issue #3693 and #3694 found during development.
201 - Fixed Github Issue 3628 - Hardcoding pickle protocol to 4 (supports python 3.4+)
202 and skipping Python 3.8's new pickle protocol 5 whose main advantage is for out-of-band data buffers.
203 NOTE: If you used Python 3.8 with SCons 3.0.0 or above, you may get a a pickle protocol error. Remove your
204 .sconsign.dblite. You will end up with a full rebuild.
206 From Andrii Doroshenko:
207 - Extended `Environment.Dump()` to select a format to serialize construction variables (pretty, json).
210 - Updated design doc to use the correct syntax for Depends()
213 - Added support for scanning multiple entries in an action string if
214 IMPLICIT_COMMAND_DEPENDENCIES is set to 2 or 'all'. This enables more thorough
215 action scanning where every item in each command line is scanned to determine
216 if it is a non-source and non-target path and added to the list of implicit dependencies
218 - Added support for taking instances of the Value class as implicit
220 - Added new module SCons.Scanner.Python to allow scanning .py files.
221 - Added support for explicitly passing a name when creating Value() nodes. This may be useful
222 when the value can't be converted to a string or if having a name is otherwise desirable.
223 - Fixed usage of abspath and path for RootDir objects on Windows. Previously
224 env.fs.Dir("T:").abspath would return "T:\T:" and now it correctly returns "T:".
226 From Ivan Kravets, PlatformIO
227 - New conditional C Scanner (`SCons.Scanner.C.CConditionalScanner()`)
228 which interprets C/C Preprocessor conditional syntax (#ifdef, #if, #else,
229 #elif, #define, etc.)
230 - Improvements for virtual C Pre-Processor:
231 * Handle UNSIGNED LONG and LONG numeric constants in DEC (keep support for HEX)
232 * Skip unrecognized directives, such as `#if( defined ...)`
233 * Ignore `#include DYNAMIC_INCLUDE` directive that depends on a dynamic
234 macro which is not located in a state TABLE.
235 * Cleanup CPP expressions before evaluating (strip comments, carriage returns)
238 - Added a new flag called "linedraw" for the command line argument "--tree"
239 that instructs scons to use single line drawing characters to draw the dependency tree.
242 - Add no_progress (-Q) option as a set-able option. However, setting it in the
243 SConstruct/SConscript will still cause "scons: Reading SConscript files ..." to be
244 printed, since the option is not set when the build scripts first get read.
245 - Added check for SONAME in environment to setup symlinks correctly (Github Issue #3246)
246 - User callable's called during substition expansion could possibly throw a TypeError
247 exception, however SCons was using TypeError to detect if the callable had a different
248 signature than expected, and would silently fail to report user's exceptions. Fixed to
249 use signature module to detect function signature instead of TypeError. (Github Issue #3654)
250 - Added storage of SConstructs and SConscripts nodes into global set for checking
251 if a given node is a SConstruct/SConscript.
252 Added new node function SCons.Node.is_sconscript(self) (Github Issue #3625)
255 - Fix Issue #3469 - Fixed improper reuse of temporary and compiled files by Configure when changing
256 the order and/or number of tests. This is done by using the hash of the generated temporary files
257 content and (For the target files) the hash of the action.
258 So where previously files would be named:
259 - config_1.c, config_1.o, config_1
260 The will now be named (For example)
261 - conftest_68b375d16e812c43e6d72d6e93401e7c_0.c,
262 conftest_68b375d16e812c43e6d72d6e93401e7c_0_5713f09fc605f46b2ab2f7950455f187.o
264 conftest_68b375d16e812c43e6d72d6e93401e7c_0.o
265 conftest_68b375d16e812c43e6d72d6e93401e7c_0_5713f09fc605f46b2ab2f7950455f187 (for executable)
267 From Mathew Robinson:
268 - Improve performance of Subst by preventing unnecessary frame
269 allocations by no longer defining the *Subber classes inside of their
270 respective function calls.
271 - Improve performance of Subst in some cases by preventing
272 unnecessary calls to eval when a token is surrounded in braces
273 but is not a function call.
274 - Improve performance of subst by removing unnecessary recursion.
275 - Cleanup dangling symlinks before running builders (Issue #3516)
278 - Remove deprecated SourceCode
279 - str.format syntax errors fixed
280 - a bunch of linter/checker syntax fixups
281 - Convert remaining uses of insecure/deprecated mktemp method.
282 - Clean up some duplications in manpage. Clarify portion of manpage on Dir and File nodes.
283 - Reduce needless list conversions.
284 - Fixed regex in Python scanner.
285 - Accommodate VS 2017 Express - it's got a more liberal license then VS
286 Community, so some people prefer it (from 2019, no more Express)
287 - vswhere call should also now work even if programs aren't on the C: drive.
288 - Add an alternate warning message if cl.exe is not found and msvc config
289 cache is in use (SCONS_CACHE_MSVC_CONFIG was given) - config cache
291 - Fixed bug where changing TEXTFILESUFFIX would cause Substfile() to rebuild. (Github Issue #3540)
292 - Script/Main.py now uses importlib instead of imp module.
293 - Drop some Python 2-isms.
294 - MSVC updates: pass on VSCMD_DEBUG and VSCMD_SKIP_SENDTELEMETRY to msvc
295 tool setup if set in environment. Add Powershell to default env
296 (used to call telemetry script).
297 - Microsoft Visual Studio - switch to using uuid module to generate GUIDs rather than hand rolled
298 method using md5 directly.
299 NOTE: This change affects the following builders' output. If your build depends on the output of these builders
300 you will likely see a rebuild.
301 * Package() (with PACKAGETYPE='msi')
304 - Docbook builder provides a fallback if lxml fails to generate
305 a document with tostring().
306 - Fix description of ARCOMSTR constr. var. (issue 3636). Previously the text was a copy of ASCOMSTR which
307 has different function.
308 - Update xml files in SCons to reflect changed relative paths after
309 code restructuring (src/engine/SCons -> SCons)
310 - Preliminary Python 3.9 support - elimination of some warnings.
311 - Drop the with_metaclass jig which was designed to let class
312 definitions using a metaclass be written the same for Py2/Py3.
313 - Bump python_version_unsupported (and deprecated) to indicate 3.5
314 is lowest supported Python.
315 - ParseFlags should not modify the user's passed in dict in case it's
316 a compound data structure (e.g. values are lists) (issue #3665)
317 - In Py3 classes no longer need to be listed as deriving from object.
318 - Remove deprecated check for Task subclasses needing a needs_execute
319 method - this is now enforced via an abstract base class, so the
320 check and test is no longer needed.
321 - Close various logfiles (trace, cache, taskmastertrace, configure)
322 when done using atexit calls.
323 - Rebase forked copy of shutil.copytree to Python 3.7 stlib version.
324 - Significant rework of documentation: API docs are now generated
325 using Sphinx; manpage and user guide now use more "standard"
326 markup elements (which could facilitate later conversion to a
327 different doc format, should that choice be made); significant
328 rewordings in manpage. Manpage Examples moved to an external
329 repository / website (scons-cookbook.readthedocs.io).
330 - Clean up test harness and tests' use of subdir, file_fixture and
332 - SubstitutionEnvironment and OverrideEnvironment now have keys()
333 and values() methods to better emulate a dict (already had items()).
334 - Rename internal Warning base class to SConsWarning to avoid any
335 possible confusion with Python's own Warning class.
338 RELEASE 3.1.2 - Mon, 17 Dec 2019 02:06:27 +0000
340 From Edoardo Bezzeccheri
341 - Added debug option "action_timestamps" which outputs to stdout the absolute start and end time for each target.
344 - Fix suncxx tool (Oracle Studio compiler) when using Python 3. Previously would throw an exception.
345 Resolved by properly handling tool version string output as unicode.
348 - Resolved a typo in engine.SCons.Tool
351 - Resolved a race condition in multithreaded Windows builds with Python 2
352 in the case where a child process is spawned while a Python action has a
353 file open. Original author: Ryan Beasley.
354 - Added memoization support for calls to Environment.Value() in order to
355 improve performance of repeated calls.
359 - Update Command() function to accept target_scanner, source_factory, and target_factory arguments.
360 This makes Command act more like a one-off builder.
363 - Added support for "-imacros" to ParseFlags
366 - Fix CheckFunc detection code for Visual 2019. Some functions
367 (e.g. memmove) were incorrectly recognized as not available.
370 - Fix stacktrace when using SCons with Python 3.5+ and SunOS/Solaris related tools.
372 From Philipp Maierhöfer:
373 - Avoid crash with UnicodeDecodeError on Python 3 when a Latex log file in
374 non-UTF-8 encoding (e.g. containing umlauts in Latin-1 encoding when
375 the fontenc package is included with \usepackage[T1]{fontenc}) is read.
377 From Mathew Robinson:
378 - Improved threading performance by ensuring NodeInfo is shared
379 across threads. Results in ~13% improvement for parallel builds
380 (-j# > 1) with many shared nodes.
381 - Improve performance of Entry.disambiguate() by making check for
382 most common case first, preventing unnecessary IO.
383 - Improved DAG walk performance by reducing unnecessary work when
384 there are no un-visited children.
387 - Replace instances of string find method with "in" checks where
388 the index from find() was not used.
389 - CmdStringHolder fix from issue #3428
390 - Turn previously deprecated debug options into failures:
391 --debug=tree, --debug=dtree, --debug=stree, --debug=nomemoizer.
392 - Experimental New Feature: Enable caching MSVC configuration
393 If SCONS_CACHE_MSVC_CONFIG shell environment variable is set,
394 SCons will cache the results of past calls to vcvarsall.bat to
395 a file; integrates with existing memoizing of such vars.
396 On vs2019 saves 5+ seconds per SCons invocation, which really
397 helps test suite runs.
398 - Remove deprecated SourceSignatures, TargetSignatures
399 - Remove deprecated Builder keywords: overrides and scanner
400 - Remove deprecated env.Copy
401 - Remove deprecated BuildDir plus SConscript keyword build_dir
402 - A number of documentation improvements.
405 RELEASE 3.1.1 - Mon, 07 Aug 2019 20:09:12 -0500
408 - Remove obsoleted references to DeciderNeedsNode which could cause crash when using --debug=explain
411 - Add Fix and test for crash in 3.1.0 when using Decider('MD5-timestamp') and --debug=explain
414 - Added -fmerge-all-constants to flags that get included in both CCFLAGS and LINKFLAGS.
416 From Mathew Robinson:
417 - Fix issue #3415 - Update remaining usages of EnvironmentError to SConsEnvironmentError
418 this patch fixes issues introduced in 3.1.0 where any of the
419 following would cause SCons to error and exit:
420 - CacheDir not write-able
421 - JSON encoding errors for CacheDir config
422 - JSON decoding errors for CacheDir config
425 RELEASE 3.1.0 - Mon, 20 Jul 2019 16:59:23 -0700
428 - Code to supply correct version-specifier argument to vswhere for
429 VS version selection.
432 - Enhanced --debug=explain output. Now the separate components of the dependency list are split up
435 scons: rebuilding `file3' because:
436 the dependency order changed:
443 Old:/usr/bin/python New:/usr/bin/python
444 - Fix Issue #3350 - SCons Exception EnvironmentError is conflicting with Python's EnvironmentError.
445 - Fix spurious rebuilds on second build for cases where builder has > 1 target and the source file
446 is generated. This was causing the > 1th target to not have it's implicit list cleared when the source
447 file was actually built, leaving an implicit list similar to follows for 2nd and higher target
448 ['/usr/bin/python', 'xxx', 'yyy', 'zzz']
449 This was getting persisted to SConsign and on rebuild it would be corrected to be similar to this
450 ['zzz', 'yyy', 'xxx', '/usr/bin/python']
451 Which would trigger a rebuild because the order changed.
452 The fix involved added logic to mark all shared targets as peers and then ensure they're implicit
453 list is all cleared together.
454 - Fix Issue #3349 - SCons Exception EnvironmentError is conflicting with Python's EnvironmentError.
455 Renamed to SConsEnvironmentError
456 - Fix Issue #3350 - mslink failing when too many objects. This is resolved by adding TEMPFILEARGJOIN variable
457 which specifies what character to join all the argements output into the tempfile. The default remains a space
458 when mslink, msvc, or mslib tools are loaded they change the TEMPFILEARGJOIN to be a line separator (\r\n on win32)
459 - Fix performance degradation for MD5-timestamp decider. NOTE: This changes the Decider() function arguments.
461 def my_decider(dependency, target, prev_ni):
463 def my_decider(dependency, target, prev_ni, repo_node):
464 Where repo_node is the repository (or other) node to use to check if the node is out of date instead of dependency.
467 - Additional fix to issue #3135 - Also handle 'pure' and 'elemental' type bound procedures
468 - Fix issue #3135 - Handle Fortran submodules and type bound procedures
471 - Upgraded and improved Visual Studio solution/project generation code using the MSVSProject builder.
472 - Added support for Visual Studio 2017 and 2019.
473 - Added support for the following per-variant parameters to the builder:
474 - cpppaths: Provides per-variant include paths.
475 - cppdefines: Provides per-variant preprocessor definitions.
477 From Michael Hartmann:
478 - Fix handling of Visual Studio Compilers to properly reject any unknown HOST_PLATFORM or TARGET_PLATFORM
481 - Added support for Visual Studio 2019 toolset.
483 From Mathew Robinson:
484 - Update cache debug output to include cache hit rate.
485 - No longer unintentionally hide exceptions in Action.py
486 - Allow builders and pseudo-builders to inherit from OverrideEnvironments
488 From Leonard de Ruijter:
489 - Add logic to derive correct version argument to vswhere
492 - Enable LaTeX scanner to find more than one include per line
495 - scons-time takes more care closing files and uses safer mkdtemp to avoid
496 possible races on multi-job runs.
497 - Use importlib to dynamically load tool and platform modules instead of imp module
498 - sconsign: default to .sconsign.dblite if no filename is specified.
499 Be more informative in case of unsupported pickle protocol (py2 only).
500 - Fix issue #3336 - on Windows, paths were being added to PATH even if
501 tools were not found in those paths.
502 - More fixes for newer Java versions (since 9): handle new jdk directory
503 naming (jdk-X.Y instead of jdkX.Y) on Windows; handle two-digit major
504 version. Docstrings improved.
505 - Fixups for pylint: exception types, redefined functions,
506 globals, etc. Some old code removed to resolve issues (hashlib is
507 always present on modern Pythons; no longer need the code for
508 2.5-and-earlier optparse). cmp is not a builtin function in Py3,
509 drop one (unused) use; replace one. Fix another instance of
510 renaming to SConsEnvironmentError. Trailing whitespace.
511 Consistently use not is/in (if not x is y -> if x is not y).
512 - Add a PY3-only function for setting up the cachedir that should be less
513 prone to races. Add a hack to the PY2 version (from Issue #3351) to
514 be less prone to a race in the check for old-style cache.
515 - Fix coding error in docbook tool only exercised when using python lxml
516 - Recognize two additional GNU compiler header directory options in
517 ParseFlags: -iquote and -idirafter.
518 - Fix more re patterns that contain \ but not specified as raw strings
519 (affects scanners for D, LaTeX, swig)
522 RELEASE 3.0.5 - Mon, 26 Mar 2019 15:04:42 -0700
526 - Fix Issue #3283 - Handle using --config=force in combination with Decider('MD5-timestamp').
527 3.0.2 in fix for issue #2980 added that deciders can throw DeciderNeedsNode exception.
528 The Configure logic directly calls the decider when using --config=force but wasn't handling
529 that exception. This would yield minimally configure tests using TryLink() not running and
530 leaving TypeError Nonetype exception in config.log
531 - Fix Issue #3303 - Handle --config=force overwriting the Environment passed into Configure()'s
532 Decider and not clearing it when the configure context is completed.
533 - Add default paths for yacc tool on windows to include cygwin, mingw, and chocolatey
534 - Fix issue #2799 - Fix mingw tool to respect SHCCCOMSTR, SHLINKCOMSTR and LDMODULECOMSTR
535 - Fix Issue #3329 - Add support for MS SDK V10.0A (which is commonly installed with VS2017)
536 - Fix Issue #3333 - Add support for finding vswhere under 32 bit windows installs.
539 - Update the MSVC tool to include the nologo flag by default in RCFLAGS
542 - Change the default for AppendENVPath to delete_existing=0, so path
543 order will not be changed, unless explicitly set (Issue #3276)
544 - Fixed bug which threw error when running SCons on windows system with no MSVC installed.
545 - Update link tool to convert target to node before accessing node member
546 - Update mingw tool to remove MSVC like nologo CCFLAG
547 - Add default paths for lex tool on windows to include cygwin, mingw, and chocolatey
548 - Add lex construction variable LEXUNISTD for turning off unix headers on windows
549 - Update lex tool to use win_flex on windows if available
552 - Quiet open file ResourceWarnings on Python >= 3.6 caused by
553 not using a context manager around Popen.stdout
554 - Add the textfile tool to the default tool list
555 - Fix syntax on is/is not clauses: should not use with a literal
556 - Properly retrieve exit code when catching SystemExit
557 - scons-time now uses context managers around file opens
558 - Fix regex patterns that were not specified as raw strings
560 From Bernhard M. Wiedemann:
561 - Do not store build host+user name if reproducible builds are wanted
564 RELEASE 3.0.4 - Mon, 20 Jan 2019 22:49:27 +0000
567 - Improve finding of Microsoft compiler: add a 'products' wildcard
568 in case 2017 Build Tools only is installed as it is considered a separate
569 product from the default Visual Studio
570 - Add TEMPFILESUFFIX to allow a customizable filename extension, as
571 described in the patch attached to issue #2431.
572 - scons.py and sconsign.py stopped working if script called as a symlink
573 to location in scons-local location.
574 - Fix issue running scons using a symlink to scons.py in an scons-local dir
575 - Doc updates around Default(), and the various *TARGETS variables.
578 - Improved support for VC14.1 and Visual Studio 2017, as well as arm and arm64 targets.
579 Issues #3268 & Issue #3222
580 - Initial support for ARM targets with Visual Studio 2017 - Issue #3182 (You must set TARGET_ARCH for this to work)
581 - Update TempFileMunge class to use PRINT_CMD_LINE_FUNC
584 - Enhance cpp scanner regex logic to detect if/elif expressions without whitespaces but
585 parenthesis like "#if(defined FOO)" or "#elif!(BAR)" correctly.
588 RELEASE 3.0.3 - Mon, 07 Jan 2019 20:05:22 -0400
589 NOTE: 3.0.2 release was dropped because there was a packaging bug. Please consider all 3.0.2
593 - Fixes to packaging logic. Ensuring the SCons.Tool.clangCommon module is added
594 to the release packages.
595 - Modify scons.bat script to check for scons python script without .py extension if no file
596 scons.py exists. This enables an all platform wheel to work.
599 - Update doc examples to work with Python 3.5+: map() now returns an iterable instead of a list.
602 RELEASE 3.0.2 - Mon, 31 Dec 2018 16:00:12 -0700
604 From Bernard Blackham:
605 - Fixed handling of side-effects in task master (fixes #3013).
608 - Remove long deprecated SCons.Options code and tests. This removes BoolOption,EnumOption,
609 ListOption,PackageOption, and PathOption which have been replaced by *Variable() many years ago.
610 - Re-Enable parallel SCons (-j) when running via Pypy
611 - Move SCons test framework files to testing/framework and remove all references to QMtest.
612 QMTest has not been used by SCons for some time now.
613 - Updated logic for mingw and clang on win32 to search default tool install paths if not
614 found in normal SCons PATH. If the user specifies PATH or tool specific paths they
615 will be used and the default paths below will be ignored.
616 - Default path for clang/clangxx : C:\Program Files\LLVM\bin
617 - Default path for mingw : C:\MinGW\bin and/or C:\mingw-w64\*\mingw64\bin
618 - Key program to locate mingw : mingw32-make (as the gcc with mingw prefix has no fixed name)
619 - Fixed issue causing stack trace when python Action function contains a unicode string when being
621 - Add alternate path to QT install for Centos in qt tool: /usr/lib64/qt-3.3/bin
622 - Fix Java tools to search reasonable default paths for Win32, Linux, macOS. Add required paths
623 for swig and java native interface to JAVAINCLUDES. You should add these to your CPPPATH if you need
624 to compile with them. This handles spaces in paths in default Java paths on windows.
625 - Added more java paths to match install for Centos 7 of openjdk
626 - Fix new logic which populates JAVAINCLUDES to handle the case where javac is not found.
627 - Fix GH Issue #2580 - # in FRAMEWORKPATH doesn't get properly expanded. The # is left in the
629 - Fix issue #2980 with credit to Piotr Bartosik (and William Blevins). This is an issue where using
630 TimeStamp-MD5 Decider and CacheDir can yield incorrect md5's being written into the .sconsign.
631 The difference between Piotr Bartosik's patch and the current code is that the more complicated
632 creation of file to csig map is only done when the count of children for the current node doesn't
633 match the previous count which is loaded from the sconsign.
634 - Fix issue # 3106 MSVC if using MSVC_BATCH and target dir had a space would fail due to quirk in
635 MSVC's handling of escaped targetdirs when batch compiling.
636 - Fix GH Issue #3141 unicode string in a TryAction() with python 2.7 crashes.
637 - Fix GH Issue #3212 - Use of Py3 and CacheDir + Configure's TryCompile (or likely and Python Value Nodes)
638 yielded trying to combine strings and bytes which threw exception.
639 - Fix GH Issue #3225 SCons.Util.Flatten() doesn't handle MappingView's produced by dictionary as return
640 values from dict().{items(), keys(), values()}.
641 - Fix GH Issue #3241 - Properly support versioned shared libraries for MacOS. We've also introduced two
642 new env variables APPLELINK_CURRENT_VERSION and APPLELINK_COMPATIBILITY_VERSION which will specify
643 what is passed to the linkers -current_version and -compatibility_version flags. If not specified
644 they will be derived from SHLIBVERSION as such:
645 - APPLELINK_CURRENT_VERSION = SHLIBVERSION
646 - APPLELINK_COMPATIBILITY_VERSION = all but the last digit in SHLIBVERSION with .0 appended.
647 Note that the values of the above will be validated. Valid format for either APPLELINK variable is
648 X[.Y[.Z]] where 0 <= X <= 65535, 0 <= Y <= 255, 0 <= Z <= 255.
649 The new variables have been added to the documents and should show up in user guide and manpage.
650 - Fix GH Issue #3136 no longer wrap io.{BufferedReader,BufferedWriter,BufferedRWPair,BufferedRandom,TextIOWrapper
651 with logic to set HANDLE_FLAG_INHERIT flag on the file handle. Python 3.4+ automatically sets this according
652 to Python docs: https://docs.python.org/3/library/os.html#fd-inheritance
655 - Fix the PATH created by scons.bat (and other .bat files) to provide a normalized
656 PATH. Some pythons in the 3.6 series are no longer able to handle paths which
657 have ".." in them and end up crashing. This is done by cd'ing into the directory
658 we want to add to the path and then using %CD% to give us the normalized directory
659 See bug filed under Python 3.6: https://bugs.python.org/issue32457.
660 Note: On Win32 PATH's which have not been normalized may cause undefined behavior
661 by other executables being run by SCons (or any subprocesses of executables being run by SCons).
662 Resolving this issue should eliminate that possibility going forward.
664 From Andrew Featherstone
665 - Removed unused --warn options from the man page and source code.
668 - Fix cpp scanner regex logic to treat ifndef for py3.5+. Previously it was
669 not properly differentiating between if, ifdef, and ifndef.
671 From Philipp Maierhöfer
672 - Added a __hash__ method to the class SCons.Subst.Literal. Required when substituting Literal
673 objects when SCons runs with Python 3.
674 - Added missing FORTRANMODDIRPREFIX to the gfortran tool.
676 From Matthew Marinets:
677 - Fixed an issue that caused the Java emitter to incorrectly parse arguments to constructors that
681 - Fix exception when printing of EnviromentError messages.
682 Specifically, this fixes error reporting of the race condition when
683 initializing the cache which error previously was hidden.
686 - Updated Jar builder to handle nodes and directories better
687 - Updated Jar builder to flatten source list which could contain embedded lists
688 - Removed some magic numbers from jar.py on behalf of Mats Wichmann (mats@linux.com)
689 - Set the pickling protocal back to highest which was causing issues
690 with variant dir tests. This will cause issues if reading sconsigns
691 pickled with the previous lower protocol.
692 - Updated swig to setup default paths for windows
693 - Updated gettext tools to setup default paths for windows with Cygwin/MinGW setups
694 - Add common location for default paths for cygwin and mingw in Platform modules
695 - Updated YACC tool to work on windows with Cygwin/MinGW setups
696 - Set the pickling protocal back to highest which was causing issues
697 with variant dir tests. This will cause issues if reading sconsigns
698 pickled with the previous lower protocol.
699 - Updated FS.py to handle removal of splitunc function from python 3.7
700 - Updated the vc.py to ignore MSVS versions where no compiler could be found
702 From Gary Oberbrunner:
703 - Fix bug when Installing multiple subdirs outside the source tree
704 - fix to_str to handle None without raising exception
705 - Fix -jN for python 3.7
707 From Jonathon Reinhart:
708 - Replace all instances of `int main()` in C code with `int main(void)`.
709 Specifically, this fixes the test cases use by Configure.CheckCC() which
710 would fail when using -Wstrict-prototypes.
712 From Zachary Tessler:
713 - Fix calculation of signatures for FunctionActions that contain list (or set,...)
714 comprehensions whose expressions involve constant literals. Those constants had
715 been ignored in signatures, so changing them did not cause targets to be rebuilt.
718 - In the testing framework, module TestCommon, fixed must_contain(),
719 must_not_contain(), and related methods of TestCommon class to work with
720 substrings located at zero offset.
721 - Added virtualenv support. A new function Virtualenv() determines whether
722 SCons runs in a virtualenv. The search PATH may also be extended to
723 prefer executables from the current virtualenv over the ones provided by
724 base environment. New option --enable-virtualenv provided to import some
725 virtualenv-related variables to SCons and extend every env['ENV']['PATH']
726 automatically. New option --ignore-virtualenv disables this. Two
727 environment variables, SCONS_ENABLE_VIRTUALENV and
728 SCONS_IGNORE_VIRTUALENV are supported for the same purpose.
731 - Add SConstruct.py, Sconstruct.py, sconstruct.py to the search path for the root SConstruct file.
732 Allows easier debugging within Visual Studio
733 - Change setup.py to change the install directory (via pip, or setup.py install) from scons-#.#.#
734 to scons (Yielding <pythondir>/lib/scons/SCons/ instead of <pythondir>/lib/scons/SCons-#.#.#/).
735 This changes SCons to better comply with normal Python installation practices.
738 - Recognize new java 9, 10, 11 (as 9.0 and 10.0, 11.0)
739 - Updated manpage scons.xml to fix a nested list problem
740 - Updated doc terminiology: use prepend instead of append as appropriate
741 - XML validity fixes from SConstruct.py change
742 - Update wiki links to new github location
743 - Update bug links to new github location
744 - Make it easier for SConscript() call to fail on missing script.
745 It was possible to call SCons.Warnings.warningAsException
746 (not documented as a user API) to make all warnings fail. Now
747 SConscript can take an optional must_exist flag which if true fails
748 if the script does not exist. Not failing on missing script is
749 now considered deprecated, and the first instance will print a
750 deprecation message. It is now also possible to flip the scons
751 behavior (which still defaults to warn, not fail) by calling
752 SCons.Script.set_missing_sconscript_error, which is also not a
753 documented interface at the moment.
754 - Convert TestCmd.read to use with statement on open (quiets 17 py3 warnings)
755 - Quiet py3 warning in UtilTests.py
756 - Fix tests specifying octal constants for py3
757 - Fix must_contain tests for py3
758 - RPM package generation:
759 - Fix supplying a build architecture
760 - Disable auto debug package generation on certain rpmbuild versions
761 - Adjust some tests to only supply build-id file on certain rpmbuild versions
762 - Tests now use a file fixture for the repeated (trivial) main.c program.
763 - Document and comment cleanup.
764 - Added new Environment Value X_RPM_EXTRADEFS to supply custom settings
765 to the specfile without adding specific logic for each one to scons.
766 - The test for Python.h needed by swig tests is moved to get_python_platform
767 so it does not have to be repeated in every test; picks up one failure
768 which did not make the (previously needed) check. Windows version
769 of get_python_platform needed some rework in case running in virtualenv.
770 - If test opens os.devnull, register with atexit so file opens do not leak.
771 - Fix bugs in Win32 process spawn logic to handle OSError exception correctly.
772 - Use time.perf_counter instead of time.clock if it exists.
773 time.clock deprecated since py3.3, due to remove in 3.8. deprecation
774 warnings from py3.7 were failing a bunch of tests on Windows since they
775 mess up expected stderr.
776 - Prefer Py3's inspect.getfullargspec over deprecated inspect.getargspec.
777 Switched to "new" (standard in Py2.7) usage of receiving a namedtuple -
778 we were unpacking to a four-tuple, two of the items of which were unused;
779 getfullargspec returns a named tuple with seven elements so it is a
780 cleaner drop-in replacement using the namedtuple.
781 - Updated the test-framework.rst documentation.
782 - Remove obsoleted internal implementaiton of OrderedDict.
783 - Test for tar packaging fixups
784 - Stop using deprecated unittest asserts
785 - messages in strip-install-dir test now os-neutral
786 - Add xz compression format to packaging choices.
787 - Syntax cleanups - trailing blanks, use "is" to compare with None, etc.
788 Three uses of variables not defined are changed.
789 - Some script changes in trying to find scons engine
790 - Update (pep8) configure-cache script, add a --show option.
791 - Fix for a couple of "what if tool not found" exceptions in framework.
792 - Add Textfile/Substfile to default environment. (issue #3147)
793 - sconsign: a couple of python3 fixes; be more tolerant of implicit
794 entries which have no signatures; minor PEP8 changes.
795 - Fix a couple of type mistakes (list-> string, filter type -> list)
796 - Fix a couple of type mistakes in packaging tools: list-> string in msi,
797 filter type -> list in ipk
799 From Bernhard M. Wiedemann:
800 - Update SCons' internal scons build logic to allow overriding build date
801 with SOURCE_DATE_EPOCH for SCons itself.
802 - Change the datestamps in SCons' docs and embedded in code use ISO 8601 format and UTC
805 - Typo in customized decider example in user guide
806 - Replace usage of unittest.TestSuite with unittest.main() (fix #3113)
808 RELEASE 3.0.1 - Mon, 12 Nov 2017 15:31:33 -0700
811 - Jar can take multiple targets, and will make a duplicate jar from the sources for each target
812 - Added some warnings in case the Jar builder makes an implicit target
813 - Added Jar method and changed jar build to be more specific. Jar method will take in
814 directories or classes as source. Added more tests to JAR to ensure the jar was
815 packaged with the correct compiled class files.
816 - Added a No result test case to handle bug which seems unrelated to java in the
817 swig-dependencies.py test, more info here: http://scons.tigris.org/issues/show_bug.cgi?id=2907
818 - Added a travis script to test on ubuntu trusty now that the project is on github
819 so that Continuus Integration tests can be run automatically. It tests most case and considers
820 no result a pass as well. Improving this script can install more dependincies allowing for more
824 - Updated the Jar Builder tool in Tool/__init__.py so that is doesn't force class files as
825 sources, allowing directories to be passed, which was causing test/Java/JAR.py to fail.
828 - Fix issue where code in utility routine to_String_for_subst() had code whose result was never
830 (Found by: James Rinkevich https://pairlist4.pair.net/pipermail/scons-users/2017-October/006358.html )
831 - Fixed Variables.GenerateHelpText() to now use the sort parameter. Due to incorrect 2to3 fixer changes
832 8 years ago it was being used as a boolean parameter. Now you can specify sort to be a callable, or boolean
833 value. (True = normal sort). Manpage also updated.
834 - Fixed Tool loading logic from exploding sys.path with many site_scons/site_tools prepended on py3.
835 - Added additional output with time to process each SConscript file when using --debug=time.
838 - Fixed a regression in scons-3.0.0 where "from __future__ import print_function" was imposed
839 on the scope where SConstruct is executed, breaking existing builds using PY 2.7.
842 - Fix broken subst logic where a string with "$$(abc)" was being treated as "$(abc) and the
843 logic for removing the signature escapes was then failing because there was no closing "$)".
844 This was introduced by a pull request to allow recursive variable evaluations to yield a string
845 such as "$( $( some stuff $) $)".
847 From Zachary Tessler:
848 - Fix incorrect warning for repeated identical builder calls that use overrides
851 RELEASE 3.0.0 - Mon, 18 Sep 2017 08:32:04 -0700
853 NOTE: This is a major release. You should expect that some targets may rebuild when upgrading.
854 Significant changes in some python action signatures. Also switching between PY 2.7 and PY 3.5, 3.6
858 From William Blevins:
859 - Updated D language scanner support to latest: 2.071.1. (PR #1924)
860 https://dlang.org/spec/module.html accessed 11 August 2016
862 - Added support for selective imports: "import A : B, C;" -> A
863 - Added support for renamed imports. "import B = A;" -> A
864 - Supports valid combinations: "import A, B, CCC = C, DDD = D : EEE = FFF;" -> A, B, C, D
866 - May find new (previously missed) Dlang dependencies.
867 - May cause rebuild after upgrade due to dependency changes.
868 - Updated Fortran-related tests to pass under GCC 5/6.
869 - Fixed SCons.Tool.Packaging.rpm.package source nondeterminism across builds.
872 - Removed deprecated tools CVS, Perforce, BitKeeper, RCS, SCCS, Subversion.
873 - Removed deprecated module SCons.Sig
874 - Added prioritized list of xsltproc tools to docbook. The order will now be as
875 follows: xsltproc, saxon, saxon-xslt, xalan (with first being highest priority, first
877 - Fixed MSVSProject example code (http://scons.tigris.org/issues/show_bug.cgi?id=2979)
878 - Defined MS SDK 10.0 and Changed VS 2015 to use SDK 10.0
879 - Changes to Action Function and Action Class signiture creation. NOTE: This will cause rebuilds
880 for many builds when upgrading to SCons 3.0
881 - Fixed Bug #3027 - "Cross Compiling issue: cannot override ranlib"
882 - Fixed Bug #3020 - "Download link in user guide wrong. python setup.py install --version-lib broken"
883 - Fixed Bug #2486 - Added SetOption('silent',True) - Previously this value was not allowed to be set.
884 - Fixed Bug #3040 - Non-unicode character in CHANGES.txt
885 - Fixed Bug #2622 - AlwaysBuild + MSVC regression.
886 - Fixed Bug #3025 - (Credit to Florian : User flow86 on tigris) - Fix typo JAVACLASSSUFIX should have been
891 - Added the capability to build Windows Store Compatible libraries that can be used
892 with Universal Windows Platform (UWP) Apps and published to the store
895 - Add basic support for PyPy (by deleting __slots__ from Node with a
896 metaclass on PyPy); wrap most-used open() calls in 'with' statements to
897 avoid too many open files.
898 - Add __main__.py for `python -m SCons` in case it is on PYTHONPATH.
899 - Always use highest available pickle protocol for efficiency.
900 - Remove unused command line fallback for the zip tool.
903 - Fix issue #2832: Expand construction variables in 'chdir' argument of builders. (PR #463)
904 - Fix issue #2910: Make --tree=all handle Unicode. (PR #427)
905 - Fix issue #2788: Fix typo in documentation example for sconf. (PR #388)
908 - Use memoization to optimize PATH evaluation across all dependencies per
910 - Use set() where it is applicable (PR #344)
913 - Fixed msvs.py for Visual Studio Express editions that would report
914 "Error : ValueError: invalid literal for float(): 10.0Exp".
917 - Update LaTeX scanner to understand \import and related commands
920 - Add support for Visual Studio 2017. This support requires vswhere.exe a helper
921 tool installed with newer installs of 2017. SCons expects it to be located at
922 "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe"
923 It can be downloaded separately at
924 https://github.com/Microsoft/vswhere
927 - Allow nested $( ... $) sections
930 - Fixed the issue with LDMODULEVERSIONFLAGS reported by Tim Jenness
931 (https://pairlist4.pair.net/pipermail/scons-users/2016-May/004893.html).
932 An error was causing "-Wl,Bsymbolic" being added to linker's command-line
933 even when there was no specified value in LDMODULEVERSION and thus no
934 need for the flags to be specified.
935 - Added LoadableModule to the list of global functions (DefaultEnvironment
938 From Manish Vachharajani:
939 - Update debian rules, compat, and control to not use features
940 deprecated or obsolete in later versions of debhelpers
941 - Update python version to 2.7 in debian/control
944 - Fixed PCHPDBFLAGS causing a deprecation warning on MSVC v8 and later when
945 using PCHs and PDBs together.
949 - Added nested / namespace tool support
950 - Added a small fix to the python3 tool loader when loading a tool as a package
951 - Added additional documentation to the user manual on using toolpaths with the environment
952 This includes the use of sys.path to search for tools installed via pip or package managers
953 - Added support for a PyPackageDir function for use with the toolpath
956 - Reordered the default D tools from "dmd, gdc, ldc" to "dmd, ldc, gdc".
957 - Add a ProgramAllAtOnce builder to the dmd, ldc, and gdc tools. (PR #448)
958 - Remove a file name exception for very old Fedora LDC installation.
959 - gdc can now handle building shared objects (tested for version 6.3.0).
960 - Remove establishing the SharedLibrary builder in the dmd, ldc, and gdc
961 tools, must now include the ar tool to get this builder as is required for
962 other compiler tools.
963 - Add clang and clang++ tools based on Paweł Tomulik's work.
965 RELEASE 2.5.1 - Mon, 03 Nov 2016 13:37:42 -0400
968 - Add scons-configure-cache.py to packaging. It was omitted
971 - Use memoization to optimize PATH evaluation across all dependencies per
974 RELEASE 2.5.0 - Mon, 09 Apr 2016 11:27:42 -0700
977 - Removed a lot of compatibility methods and workarounds
978 for Python versions < 2.7, in order to prepare the work
979 towards a combined 2.7/3.x version. (PR #284)
980 Also fixed the default arguments for the print_tree and
981 render_tree methods. (PR #284, too)
983 From William Blevins:
984 - Added support for cross-language dependency scanning;
985 SCons now respects scanner keys for implicit dependencies.
986 - Notes for SCons users with heterogeneous systems.
987 - May find new (previously missed) dependencies.
988 - May cause rebuild after upgrade due to dependency changes.
989 - May find new dependency errors (EG. cycles).
990 - Discovered in some of the SCons QT tests.
991 - Resolved missing cross-language dependencies for
992 SWIG bindings (fixes #2264).
993 - Corrected typo in User Guide for Scanner keyword. (PR #2959)
994 - Install builder interacts with scanner found in SCANNERS differently.
995 - Previous: Install builder recursively scanned implicit dependencies
996 for scanners from SCANNER, but not for built-in (default) scanners.
997 - Current: Install builder will not scan for implicit dependencies via
998 either scanner source. This optimizes some Install builder behavior
999 and brings orthogonality to Install builder scanning behavior.
1001 From William Deegan:
1002 - Add better messaging when two environments have
1003 different actions for the same target (Bug #2024)
1004 - Fix issue only with MSVC and Always build where targets
1005 marked AlwaysBuild wouldn't make it into CHANGED_SOURCES
1006 and thus yield an empty compile command line. (Bug #2622)
1007 - Fix posix platform escaping logic to properly handle paths
1008 with parens in them "()". (Bug #2225)
1011 - Intel Compiler 2016 (Linux/Mac) update for tool directories.
1013 From Adarsh Sanjeev:
1014 - Fix for issue #2494: Added string support for Chmod function.
1017 - change cache to use 2 character subdirectories, rather than one character,
1018 so as not to give huge directories for large caches, a situation which
1019 causes issues for NFS.
1020 For existing caches, you will need to run the scons-configure-cache.py
1021 script to update them to the new format. You will get a warning every time
1022 you build until you co this.
1023 - Fix a bunch of unit tests on windows
1025 RELEASE 2.4.1 - Mon, 07 Nov 2015 10:37:21 -0700
1027 From Arfrever Frehtes Taifersar Arahesis:
1028 - Fix for Bug # 2791 - Setup.py fails unnecessarily under Jython.
1031 - Fixed license of SVG titlepage files in the context of Debian
1032 packaging, such that they allow for commercial use too (#2985).
1034 From William Blevins:
1035 - InstallVersionedLib now available in the DefaultEnvironment context.
1036 - Improves orthogonality of use cases between different Install functions.
1039 - Added new configure check, CheckProg, to check for
1040 existence of a program.
1042 From Andrew Featherstone:
1043 - Fix for issue #2840 - Fix for two environments specifying same target with different
1044 actions not throwing hard error. Instead SCons was incorrectly issuing a warning
1048 - Add support `Microsoft Visual C++ Compiler for Python 2.7'
1049 Compiler can be obtained at: https://www.microsoft.com/en-us/download/details.aspx?id=44266
1051 From Florian Miedniak:
1052 - Fixed tigris issue #3011: Glob() excludes didn't work when used with VariantDir(duplicate=0)
1054 From William Roberts:
1055 - Fix bug 2831 and allow Help() text to be appended to AddOption() help.
1058 - Reimplemented versioning for shared libraries, with the following effects
1059 - Fixed tigris issues #3001, #3006.
1060 - Fixed several other issues not reported to tigris, including:
1061 issues with versioned libraries in subdirectories with tricky names,
1062 issues with versioned libraries and variant directories,
1063 issue with soname not being injected to library when using D linkers,
1064 - Switched to direct symlinks instead of daisy-chained ones -- soname and
1065 development symlinks point directly to the versioned shared library now),
1067 https://www.debian.org/doc/debian-policy/ch-sharedlibs.html
1068 https://fedoraproject.org/wiki/Packaging:Guidelines#Devel_Packages
1069 https://bitbucket.org/scons/scons/pull-requests/247/new-versioned-libraries-gnulink-cyglink/diff#comment-10063929
1070 - New construction variables to allow override default behavior: SONAME,
1071 SHLIBVERSIONFLAGS, _SHLIBVERSIONFLAGS, SHLIBNOVERSIONSYMLINKS,
1072 LDMODULEVERSION, LDMODULEVERSIONFLAGS, _LDMODULEVERSIONFLAGS,
1073 LDMODULENOVERSIONSYMLINKS.
1074 - Changed logic used to configure the versioning machinery from
1075 platform-centric to linker-oriented.
1076 - The SHLIBVERSION/LDMODULEVERSION variables are no longer validated by
1077 SCons (more freedom to users).
1078 - InstallVersionedLib() doesn't use SHLIBVERSION anymore.
1079 - Enchanced docs for the library versioning stuff.
1080 - New tests for versioned libraries.
1081 - Library versioning is currently implemented for the following linker
1082 tools: 'cyglink', 'gnulink', 'sunlink'.
1083 - Fix to swig tool - pick-up 'swig', 'swig3.0' and 'swig2.0' (in order).
1084 - Fix to swig tool - respect env['SWIG'] provided by user.
1088 RELEASE 2.4.0 - Mon, 21 Sep 2015 08:56:00 -0700
1091 - Switched several core classes to use "slots", to
1092 reduce the overall memory consumption in large
1093 projects (fixes #2180, #2178, #2198)
1094 - Memoizer counting uses decorators now, instead of
1095 the old metaclasses approach.
1097 From Andrew Featherstone
1098 - Fixed typo in SWIGPATH description
1100 RELEASE 2.3.6 - Mon, 31 Jul 2015 14:35:03 -0700
1103 - Added support for Visual Studio 2015
1105 RELEASE 2.3.5 - Mon, 17 Jun 2015 21:07:32 -0700
1107 From Stephen Pollard:
1108 - Documentation fixes for libraries.xml and
1109 builders-writing.xml (#2989 and #2990)
1111 From William Deegan:
1112 - Extended docs for InstallVersionedLib/SharedLibrary,
1113 and added SKIP_WIN_PACKAGES argument to build script
1114 bootstrap.py (PR #230, #3002).
1116 From William Blevins:
1117 - Fixed symlink support (PR #227, #2395).
1118 - Updated debug-count test case (PR #229).
1120 From Alexey Klimkin:
1121 - Fixed incomplete LIBS flattening and substitution in
1122 Program scanner(PR #205, #2954).
1125 - Added new method rentry_exists_on_disk to Node.FS (PR #193).
1128 - Fixed several D tests under the different OS.
1129 - Add support for f08 file extensions for Fortran 2008 code.
1131 From Anatoly Techtonik:
1132 - Show --config choices if no argument is specified (PR #202).
1133 - Fixed build crash when XML toolchain isn't installed, and
1134 activated compression for ZIP archives.
1136 From Alexandre Feblot:
1137 - Fix for VersionedSharedLibrary under 'sunos' platform.
1138 - Fixed dll link with precompiled headers on MSVC 2012
1139 - Added an 'exclude' parameter to Glob()
1141 From Laurent Marchelli:
1142 - Support for multiple cmdargs (one per variant) in VS project files.
1143 - Various improvements for TempFileMunge class.
1144 - Added an implementation for Visual Studio users files (PR #209).
1147 - Added support for the 'PlatformToolset' tag in VS project files (#2978).
1150 - Added support for '-isystem' to ParseFlags.
1152 RELEASE 2.3.4 - Mon, 27 Sep 2014 12:50:35 -0400
1154 From Bernhard Walle and Dirk Baechle:
1155 - Fixed the interactive mode, in connection with
1156 Configure contexts (#2971).
1158 From Anatoly Techtonik:
1159 - Fix EnsureSConsVersion warning when running packaged version
1162 - Fix D tools for building shared libraries
1164 RELEASE 2.3.3 - Sun, 24 Aug 2014 21:08:33 -0400
1167 - Fixed false line length calculation in the TempFileMunge class (#2970).
1169 From Gary Oberbrunner:
1170 - Improve SWIG detection
1173 - Fix regression on Windows in D language update
1175 From Neal Becker and Stefan Zimmermann:
1176 - Python 3 port and compatibility
1178 From Anatoly Techtonik:
1179 - Do not fail on EnsureSConsVersion when running from checkout
1181 From Kendrick Boyd and Rob Managan:
1182 - Fixed the newglossary action to work with VariantDir (LaTeX).
1184 From Manuel Francisco Naranjo:
1185 - Added a default for the BUILDERS environment variable,
1186 to prevent not defined exception on a Clone().
1188 From Andrew Featherstone:
1189 - Added description of CheckTypeSize method (#1991).
1190 - Fixed handling of CPPDEFINE var in Append()
1191 for several list-dict combinations (#2900).
1193 From William Blevins:
1194 - Added test for Java derived-source dependency tree generation.
1195 - Added Copy Action symlink soft-copy support (#2395).
1196 - Various contributions to the documentation (UserGuide).
1201 - Update XML doc editor configuration
1202 - Fix: Allow varlist to be specified as list of strings for Actions (#2754)
1204 From veon on bitbucket:
1205 - Fixed handling of nested ifs in CPP scanner PreProcessor class.
1208 - Support for Visual Studio 2013 (12.0)
1210 From Michael Haubenwallner:
1211 - Respect user's CC/CXX values; don't always overwrite in generate()
1212 - Delegate linker Tool.exists() to CC/CXX Tool.exists().
1215 - Updated the TeX builder to support use of the -synctex=1
1216 option and the files it creates.
1217 - Updated the TeX builder to correctly clean auxiliary files when
1218 the biblatex package is used.
1220 From Gary Oberbrunner:
1221 - get default RPM architecture more robustly when building RPMs
1224 - Fixed NoClean() for multi-target builders (#2353).
1227 - Fix SConf tests that write output
1230 - Revamp of the D language support. Tools for DMD, GDC and LDC provided
1231 and integrated with the C and C++ linking. NOTE: This is only tested
1232 with D v2. Support for D v1 is now deprecated.
1234 From Anatoly Techtonik:
1235 - Several improvements for running scons.py from source:
1236 * engine files form source directory take priority over all other
1238 * message about scons.py running from source is removed to fix tests
1239 that were failing because of this extra line in the output
1240 * error message when SCons import fails now lists lookup paths
1241 - Remove support for QMTest harness from runtest.py
1242 - Remove RPM and m4 from default tools on Windows
1243 - BitKeeper, CVS, Perforce, RCS, SCCS are deprecated from default
1244 tools and will be removed in future SCons versions to speed up
1245 SCons initialization (it will still be possible to use these tools
1248 From Sye van der Veen:
1249 - Support for Visual Studio 12.0Exp, and fixes for earlier MSVS
1255 From Andrew Featherstone:
1256 - Added support for EPUB output format to the DocBook tool.
1259 - Stop leaking file handles to subprocesses by switching to using subprocess
1261 - Allow multiple options to be specified with --debug=a,b,c
1262 - Add support for a readonly cache (--cache-readonly)
1263 - Always print stats if requested
1264 - Generally try harder to print out a message on build errors
1265 - Adds a switch to warn on missing targets
1266 - Add Pseudo command to mark targets which should not exist after
1270 - Check for 8.3 filenames on cygwin as well as win32 to make variant_dir work properly.
1272 From Alexandre Feblot:
1273 - Make sure SharedLibrary depends on all dependent libs (by depending on SHLINKCOM)
1275 From Stefan Sperling:
1276 - Fixed the setup of linker flags for a versioned SharedLibrary
1277 under OpenBSD (#2916).
1279 From Antonio Cavallo:
1280 - Improve error if Visual Studio bat file not found.
1282 From Manuel Francisco Naranjo:
1283 - Allow Subst.Literal string objects to be compared with each other,
1284 so they work better in AddUnique() and Remove().
1286 From David Rothenberger:
1287 - Added cyglink linker that uses Cygwin naming conventions for
1288 shared libraries and automatically generates import libraries.
1291 - Update bootstrap.py so it can be used from any dir, to run
1292 SCons from a source (non-installed) dir.
1293 - Count statistics of instances are now collected only when
1294 the --debug=count command-line option is used (#2922).
1295 - Added release_target_info() to File nodes, which helps to
1296 reduce memory consumption in clean builds and update runs
1298 - Fixed the handling of long options in the command-line
1300 - Fixed misspelled variable in intelc.py (#2928).
1302 From Gary Oberbrunner:
1303 - Test harness: fail_test() can now print a message to help debugging.
1305 From Anatoly Techtonik:
1306 - Require rpmbuild when building SCons package.
1307 - Print full stack on certain errors, for debugging.
1308 - Improve documentation for Textfile builder.
1310 From William Deegan:
1311 - VS2012 & VS2010 Resolve initialization issues by adding path to reg.exe
1312 in shell used to run batch files.
1313 - MSVC Support fixed defaulting TARGET_ARCH to HOST_ARCH. It should be
1314 None if not explicitly set.
1315 - MSVC Fixed issue where if more than one Architectures compilers are
1316 detected, it would take the last one found, and not the first.
1319 - Added optional ZIPROOT to Zip tool.
1322 - Replaced old SGML-based documentation toolchain with a more modern
1323 approach, that also requires less external dependencies (programs and
1324 Python packages). Added a customized Docbook XSD for strict validation of
1325 all input XML files.
1327 From Luca Falavigna:
1328 - Fixed spelling errors in MAN pages (#2897).
1330 From Michael McDougall:
1331 - Fixed description of ignore_case for EnumVariable in the
1334 RELEASE 2.3.0 - Mon, 02 Mar 2013 13:22:29 -0400
1336 From Anatoly Techtonik:
1337 - Added ability to run scripts/scons.py directly from source checkout
1338 - Hide deprecated --debug={dtree,stree,tree} from --help output
1339 - Error messages from option parser now include hints about valid choices
1340 - Cleaned up some Python 1.5 and pre-2.3 code, so don't expect SCons
1341 to run on anything less than Python 2.4 anymore
1342 - Several fixes for runtest.py:
1343 * exit with an error if no tests were found
1344 * removed --noqmtest option - this behavior is by default
1345 * replaced `-o FILE --xml` combination with `--xml FILE`
1346 * changed `-o, --output FILE` option to capture stdout/stderr output
1348 - Remove os_spawnv_fix.diff patch required to enable parallel builds
1349 support prior to Python 2.2
1352 - Fix WiX Tool to use .wixobj rather than .wxiobj for compiler output
1353 - Support building with WiX releases after 2.0
1355 From Alexey Klimkin:
1356 - Fix nested LIBPATH expansion by flattening sequences in subst_path.
1358 From eyan on Bitbucket:
1359 - Print target name with command execution time with --debug=time
1361 From Thomas Berg and Evgeny Podjachev:
1362 - Fix subprocess spawning on Windows. Work around a Windows
1363 bug that can crash python occasionally when using -jN. (#2449)
1366 - Updated test framework to support dir and file fixtures and
1367 added ability to test external (out-of-tree) tools (#2862).
1368 See doc in QMTest/test-framework.rst.
1369 - Fixed several errors in the test suite (Java paths, MSVS version
1370 detection, Tool import), additionally
1371 * provided MinGW command-line support for the CXX, AS and
1373 * refactored the detection of the gcc version and the according
1374 Fortran startup library,
1375 * provided a new module rpmutils.py, wrapping the RPM naming rules
1376 for target files and further hardware-dependent info (compatibility,
1377 compiler flags, ...),
1378 * added new test methods must_exist_one_of() and
1379 must_not_exist_any_of() and
1380 * removed Aegis support from runtest.py. (#2872)
1382 From Gary Oberbrunner:
1383 - Add -jN support to runtest.py to run tests in parallel
1384 - Add MSVC10 and MSVC11 support to get_output low-level bat script runner.
1385 - Fix MSVS solution generation for VS11, and fixed tests.
1388 - Updated the TeX builder to support the \newglossary command
1389 in LaTeX's glossaries package and the files it creates.
1390 - Improve support for new versions of biblatex in the TeX builder
1391 so biber is called automatically if biblatex requires it.
1392 - Add SHLIBVERSION as an option that tells SharedLibrary to build
1393 a versioned shared library and create the required symlinks.
1394 Add builder InstallVersionedLib to create the required symlinks
1395 installing a versioned shared library.
1397 RELEASE 2.2.0 - Mon, 05 Aug 2012 15:37:48 +0000
1399 From dubcanada on Bitbucket:
1400 - Fix 32-bit Visual Express C++ on 64-bit Windows (generate 32-bit code)
1403 - Added gettext toolset
1404 - Fixed FindSourceFiles to find final sources (leaf nodes).
1407 - Allow Node objects in Java path (#2825)
1410 - Make Windows not redefine builtin file as un-inheritable (#2857)
1411 - Fix WINDOWS_INSERT_DEF on MinGW (Windows) (#2856)
1413 From smallbub on Bitbucket:
1414 - Fix LINKCOMSTR, SHLINKCOMSTR, and LDMODULECOMSTR on Windows (#2833).
1417 - Make -s (silent mode) be silent about entering subdirs (#2976).
1418 - Fix cloning of builders when cloning environment (#2821).
1420 From Gary Oberbrunner:
1421 - Show valid Visual Studio architectures in error message
1422 when user passes invalid arch.
1424 From Alexey Petruchik:
1425 - Support for Microsoft Visual Studio 11 (both using it
1426 and generating MSVS11 solution files).
1428 From Alexey Klimkin:
1429 - Fixed the Taskmaster, curing spurious build failures in
1430 multi-threaded runs (#2720).
1433 - Improved documentation of command-line variables (#2809).
1434 - Fixed scons-doc.py to properly convert main XML files (#2812).
1437 - Updated the TeX builder to support LaTeX's multibib package.
1438 - Updated the TeX builder to support LaTeX's biblatex package.
1439 - Added support for using biber instead of bibtex by setting
1440 env['BIBTEX'] = 'biber'
1443 - Test for FORTRANPPFILESUFFIXES (#2129).
1446 RELEASE 2.1.0 - Mon, 09 Sep 2011 20:54:57 -0700
1449 - Fix Windows resource compiler scanner to accept DOS line endings.
1452 - Update MSVS documents to remove note indicating that only one
1453 project is currently supported per solution file.
1455 From Grzegorz Bizoń:
1456 - Fix long compile lines in batch mode by using TEMPFILE
1457 - Fix MSVC_BATCH=False (was treating it as true)
1459 From Justin Gullingsrud:
1460 - support -std=c++0x and related CXXFLAGS in pkgconfig (ParseFlags)
1462 From Vincent Beffara:
1463 - Support -dylib_file in pkgconfig (ParseFlags)
1465 From Gary Oberbrunner and Sohail Somani:
1466 - new construction variable WINDOWS_EMBED_MANIFEST to automatically
1467 embed manifests in Windows EXEs and DLLs.
1469 From Gary Oberbrunner:
1470 - Fix Visual Studio project generation when CPPPATH contains Dir nodes
1471 - Ensure Visual Studio project is regenerated when CPPPATH or CPPDEFINES change
1472 - Fix unicode error when using non-ASCII filenames with Copy or Install
1473 - Put RPATH in LINKCOM rather than LINKFLAGS so resetting
1474 LINKFLAGS doesn't kill RPATH
1475 - Fix precompiled headers on Windows when variant dir name has spaces.
1476 - Adding None to an Action no longer fails (just returns original action)
1477 - New --debug=prepare option to show each target as it's being
1478 prepared, whether or not anything needs to be done for it.
1479 - New debug option --debug=duplicate to print a line for each
1480 unlink/relink (or copy) of a variant file from its source file.
1481 - Improve error message for EnumVariables to show legal values.
1482 - Fix Intel compiler to sort versions >9 correctly (esp. on Linux)
1483 - Fix Install() when the source and target are directories and the
1484 target directory exists.
1486 From David Garcia Garzon:
1487 - Fix Delete to be able to delete broken symlinks and dir
1490 From Imran Fanaswala and Robert Lehr:
1491 - Handle .output file generated by bison/yacc properly. Cleaning it
1494 From Antoine Dechaume:
1495 - Handle SWIG file where there is whitespace after the module name
1496 properly. Previously the generated files would include
1500 - Handle Environment in case __semi_deepcopy is None
1504 - Much improved support for Windows UNC paths (\\SERVERNAME).
1506 From Jean-Baptiste Lab:
1508 - Fix problems with appending CPPDEFINES that contain
1509 dictionaries, and related issues with Parse/MergeFlags and
1514 - Fix for an issue with implicit-cache with multiple targets
1515 when dependencies are removed on disk.
1517 From Evgeny Podjachev and Alexey Petruchick:
1519 - Support generation of Microsoft Visual Studio 2008 (9.0)
1520 and 2010 (10.0) project and solution files.
1524 - Fix a problem when FS Entries which are actually Dirs have builders.
1526 From Luca Falavigna:
1528 - Support Fortran 03
1530 From Gary Oberbrunner:
1532 - Print the path to the SCons package in scons --version
1534 From Jean-Fran�ois Colson:
1536 - Improve Microsoft Visual Studio Solution generation, and fix
1537 various errors in the generated solutions especially when using
1538 MSVS_SCC_PROVIDER, and when generating multiple projects. The
1539 construction variable MSVS_SCC_PROJECT_BASE_PATH, which never
1540 worked properly, is removed. Users can use the new variable
1541 MSVS_SCC_CONNECTION_ROOT instead if desired.
1543 From Anatoly Techtonik:
1545 - Use subprocess in bootstrap.py instead of os.execve to avoid
1546 losing output control on Windows (http://bugs.python.org/issue9148)
1548 - Revert patch for adding SCons to App Paths, because standard cmd
1549 shell doesn't search there. This is confusing, because `scons` can
1550 be executed from explorer, but fail to start from console.
1552 - Fix broken installation with easy_install on Windows (issue #2051)
1553 SCons traditionally installed in a way that allowed to run multiple
1554 versions side by side. This custom logic was incompatible with
1555 easy_install way of doing things.
1557 - Use epydoc module for generating API docs in HTML if command line
1558 utility is not found in PATH. Actual for Windows.
1560 From Alexander Goomenyuk:
1562 - Add .sx to assembly source scanner list so .sx files
1563 get their header file dependencies detected.
1567 - Set module metadata when loading site_scons/site_init.py
1568 so it is treated as a proper module; __doc__, __file__ and
1569 __name__ now refer to the site_init.py file.
1573 - Users Guide updates explaining that Tools can be packages as
1574 well as python modules.
1576 From Gary Oberbrunner:
1578 - New systemwide and per-user site_scons dirs.
1582 - XML fixes in User's Guide.
1583 - Fixed the detection of 'jar' and 'rmic' during
1584 the initialization of the respective Tools (#2730).
1585 - Improved docs for custom Decider functions and
1586 custom Scanner objects (#2711, #2713).
1587 - Corrected SWIG module names for generated *.i files (#2707).
1591 - Fixed a case-sensitivity problem with Fortran modules.
1595 - Added Users Guide example for auto-generated source code
1599 - Fix explicit dependencies (Depends()) on Nodes that don't have
1602 - Fix use of the global Alias() function with command actions.
1606 - Fix the ability to append to default $*FLAGS values (which are
1607 implemented as CLVar instances) in a copied construction environment
1608 without affecting the original construction environment's value.
1612 - Updated the TeX command strings to include a /D on Windows in
1613 case the new directory is on a different drive letter.
1615 - Fixed the LaTeX scanner so dependencies are found in commands that
1616 are broken across lines with a comment or have embedded spaces.
1618 - The TeX builders should now work with tex files that are generated
1619 by another program. Thanks to Hans-Martin von Gaudecker for
1620 isolating the cause of this bug.
1622 - Added support for INDEXSTYLE environment variable so makeindex can
1625 - Added support for the bibunits package so we call bibtex on all
1628 - Add support of finding path information on OSX for TeX applications
1629 MacPorts and Fink paths need to be added by the user
1633 - Add support for DMD version 2 (the phobos2 library).
1635 From William Deegan:
1637 - Add initial support for VS/VC 2010 (express and non-express versions)
1638 - Remove warning for not finding MS VC/VS install.
1639 "scons: warning: No version of Visual Studio compiler found
1640 - C/C++ compilers most likely not set correctly"
1641 - Add support for Linux 3.0
1644 RELEASE 2.0.1 - Mon, 15 Aug 2010 15:46:32 -0700
1648 - Fix XML in documentation.
1652 - Fixed a case-sensitivity problem with Fortran modules.
1656 - Added Users Guide example for auto-generated source code
1660 - Fix explicit dependencies (Depends()) on Nodes that don't have
1665 - Fix the ability to append to default $*FLAGS values (which are
1666 implemented as CLVar instances) in a copied construction environment
1667 without affecting the original construction environment's value.
1671 - Updated the TeX command strings to include a /D on Windows in
1672 case the new directory is on a different drive letter.
1674 - Fixed the LaTeX scanner so dependencies are found in commands that
1675 are broken across lines with a comment or have embedded spaces.
1678 RELEASE 2.0.0.final.0 - Mon, 14 Jun 2010 22:01:37 -0700
1682 - Fix XML in documentation.
1686 - Provide forward compatibility for the 'profile' module.
1688 - Provide forward compatibility for the 'pickle' module.
1690 - Provide forward compatibility for the 'io' module.
1692 - Provide forward compatibility for the 'queue' module.
1694 - Provide forward compatibility for the 'collections' module.
1696 - Provide forward compatibility for the 'builtins' module.
1698 - Provide forward compatibility for 'sys.intern()'.
1700 - Convert to os.walk() from of os.path.walk().
1702 - Remove compatibility logic no longer needed.
1704 - Add a '-3' option to runtest to print 3.x incompatibility warnings.
1706 - Convert old-style classes into new-style classes.
1708 - Fix "Ignoring corrupt sconsign entry" warnings when building
1709 in a tree with a pre-2.0 .sconsign file.
1711 - Fix propagation from environment of VS*COMNTOOLS to resolve issues
1712 initializing MSVC/MSVS/SDK issues.
1714 - Handle detecting Visual C++ on Python versions with upper-case
1715 platform architectures like 'AMD64'.
1717 From W. Trevor King:
1719 - Revisions to README.
1723 - Apply numerous Python fixers to update code to more modern idioms.
1724 Find where fixers should be applied to code in test strings and
1725 apply the fixers there, too.
1727 - Write a fixer to convert string functions to string methods.
1729 - Modify the 'dict' fixer to be less conservative.
1731 - Modify the 'apply' fixer to handle more cases.
1733 - Create a modified 'types' fixer that converts types to 2.x
1734 equivalents rather than 3.x equivalents.
1736 - Write a 'division' fixer to highlight uses of the old-style
1737 division operator. Correct usage where needed.
1739 - Add forward compatibility for the new 'memoryview' function
1740 (which replaces the 'buffer' function).
1742 - Add forward compatibility for the 'winreg' module.
1744 - Remove no-longer-needed 'platform' module.
1746 - Run tests with the '-3' option to Python 2.6 and clear up
1747 various reported incompatibilities.
1749 - Comb out code paths specialized to Pythons older than 2.4.
1751 - Update deprecation warnings; most now become mandatory.
1753 - Start deprecation cycle for BuildDir() and build_dir.
1755 - Start deprecation cycle for SourceCode() and related factories
1757 - Fixed a problem with is_Dict() not identifying some objects derived
1762 - Document the AllowSubstExceptions() function in the User's Guide.
1764 From William Deegan:
1766 - Migrate MSVC/MSVS/SDK improvements from 1.3 branch.
1769 RELEASE 1.3.0 - Tue, 23 Mar 2010 21:44:19 -0400
1773 - Update man page and documentation.
1775 From William Deegan (plus minor patch from Gary Oberbrunner):
1777 - Support Visual Studio 8.0 Express
1779 RELEASE 1.2.0.d20100306 - Sat, 06 Mar 2010 16:18:33 -0800
1781 From Luca Falavigna:
1783 - Fix typos in the man page.
1785 From Gottfried Ganssauge:
1787 - Support execution when SCons is installed via easy_install.
1791 - Make the messages for Configure checks of compilers consistent.
1793 - Issue an error message if a BUILDERS entry is not a Builder
1794 object or a callable wrapper.
1798 - Update tex builder to handle the case where a \input{foo}
1799 command tries to work with a directory named foo instead of the
1800 file foo.tex. The builder now ignores a directory and continues
1801 searching to find the correct file. Thanks to Lennart Sauerbeck
1802 for the test case and initial patch
1804 Also allow the \include of files in subdirectories when variantDir
1805 is used with duplicate=0. Previously latex would crash since
1806 the directory in which the .aux file is written was not created.
1807 Thanks to Stefan Hepp for finding this and part of the solution.
1810 - Patches to fix some issues using MS SDK V7.0
1812 From William Deegan:
1813 - Lots of testing and minor patches to handle mixed MS VC and SDK
1814 installations, as well as having only the SDK installed.
1817 RELEASE 1.2.0.d20100117 - Sun, 17 Jan 2010 14:26:59 -0800
1820 - Fixed temp filename race condition on Windows with long cmd lines.
1822 From David Cournapeau:
1823 - Fixed tryRun when sconf directory is in a variant dir.
1824 - Do not add -fPIC for ifort tool on non-posix platforms (darwin and
1826 - Fix bug 2294 (spurious CheckCC failures).
1827 - Fix SCons bootstrap process on windows 64 (wrong wininst name)
1829 From William Deegan:
1830 - Final merge from vs_revamp branch to main
1832 - Added definition and usage of HOST_OS, HOST_ARCH, TARGET_OS,
1833 TARGET_ARCH, currently only defined/used by Visual Studio
1834 Compilers. This will be rolled out to other platforms/tools
1837 - Add check for python >= 3.0.0 and exit gracefully.
1838 For 1.3 python >= 1.5.2 and < 3.0.0 are supported
1840 - Fix bug 1944 - Handle non-existent .i file in swig emitter, previously
1841 it would crash with an IOError exception. Now it will try to make an
1842 educated guess on the module name based on the filename.
1844 From Lukas Erlinghagen:
1846 - Have AddOption() remove variables from the list of
1847 seen-but-unknown variables (which are reported later).
1849 - An option name and aliases can now be specified as a tuple.
1851 From Hartmut Goebel:
1857 - use "is/is not" in comparisons with None instead of "==" or "!=".
1861 - Avoid adding -gphobos to a command line multiple times
1862 when initializing use of the DMD compiler.
1866 - Sugguested HOST/TARGET OS/ARCH separation.
1870 - Fix the -n option when used with VariantDir(duplicate=1)
1871 and the variant directory doesn't already exist.
1873 - Fix scanning of Unicode files for both UTF-16 endian flavors.
1875 - Fix a TypeError on #include of file names with Unicode characters.
1877 - Fix an exception if a null command-line argument is passed in.
1879 - Evaluate Requires() prerequisites before a Node's direct children
1880 (sources and dependencies).
1884 - Remove redundant __metaclass__ initializations in Environment.py.
1886 - Correct the documentation of text returned by sconf.Result().
1888 - Document that filenames with '.' as the first character are
1889 ignored by Glob() by default (matching UNIX glob semantics).
1891 - Fix SWIG testing infrastructure to work on Mac OS X.
1893 - Restructure a test that occasionally hung so that the test would
1894 detect when it was stuck and fail instead.
1896 - Substfile builder.
1898 From Gary Oberbrunner:
1900 - When reporting a target that SCons doesn't know how to make,
1901 specify whether it's a File, Dir, etc.
1905 - Fix use of $SWIGOUTDIR when generating Python wrappers.
1907 - Add $SWIGDIRECTORSUFFIX and $SWIGVERSION construction variables.
1911 - Add -recorder flag to Latex commands and updated internals to
1912 use the output to find files TeX creates. This allows the MiKTeX
1913 installations to find the created files
1915 - Notify user of Latex errors that would get buried in the
1918 - Remove LATEXSUFFIXES from environments that don't initialize Tex.
1920 - Add support for the glossaries package for glossaries and acronyms
1922 - Fix problem that pdftex, latex, and pdflatex tools by themselves did
1923 not create the actions for bibtex, makeindex,... by creating them
1924 and other environment settings in one routine called by all four
1927 - Fix problem with filenames of sideeffects when the user changes
1928 the name of the output file from the latex default
1930 - Add scanning of files included in Latex by means of \lstinputlisting{}
1931 Patch from Stefan Hepp.
1933 - Change command line for epstopdf to use --outfile= instead of -o
1934 since this works on all platforms.
1935 Patch from Stefan Hepp.
1937 - Change scanner to properly search for included file from the
1938 directory of the main file instead of the file it is included from.
1939 Also update the emitter to add the .aux file associated with
1940 \include{filename} commands. This makes sure the required directories
1941 if any are created for variantdir cases.
1942 Half of the patch from Stefan Hepp.
1944 RELEASE 1.2.0.d20090223 - Mon, 23 Feb 2009 08:41:06 -0800
1946 From Stanislav Baranov:
1948 - Make suffix-matching for scanners case-insensitive on Windows.
1950 From David Cournapeau:
1952 - Change the way SCons finds versions of Visual C/C++ and Visual
1953 Studio to find and use the Microsoft v*vars.bat files.
1955 From Robert P. J. Day:
1957 - User's Guide updates.
1961 - Fix generation of Visual Studio 8 project files on x64 platforms.
1965 - Set IncludeSearchPath and PreprocessorDefinitions in generated
1966 Visual Studio 8 project files, to help IntelliSense work.
1970 - Fix deletion of broken symlinks by the --clean option.
1974 - Fix the error message when use of a non-existent drive on Windows
1977 - Add sources for files whose targets don't exist in $CHANGED_SOURCES.
1979 - Detect implicit dependencies on commands even when the command is
1982 - Fix interaction of $CHANGED_SOURCES with the --config=force option.
1984 - Fix finding #include files when the string contains escaped
1985 backslashes like "C:\\some\\include.h".
1987 - Pass $CCFLAGS to Visual C/C++ precompiled header compilation.
1989 - Remove unnecessary nested $( $) around $_LIBDIRFLAGS on link lines
1990 for the Microsoft linker, the OS/2 ilink linker and the Phar Lap
1993 - Spell the Windows environment variables consistently "SystemDrive"
1994 and "SystemRoot" instead of "SYSTEMDRIVE" and "SYSTEMROOT".
1998 RELEASE 1.2.0.d20090113 - Tue, 13 Jan 2009 02:50:30 -0800
2000 From Stanislav Baranov, Ted Johnson and Steven Knight:
2002 - Add support for batch compilation of Visual Studio C/C++ source
2003 files, controlled by a new $MSVC_BATCH construction variable.
2007 - Print the message, "scons: Build interrupted." on error output,
2008 not standard output.
2010 - Add a --warn=future-deprecated option for advance warnings about
2011 deprecated features that still have warnings hidden by default.
2013 - Fix use of $SOURCE and $SOURCES attributes when there are no
2014 sources specified in the Builder call.
2016 - Add support for new $CHANGED_SOURCES, $CHANGED_TARGETS,
2017 $UNCHANGED_SOURCES and $UNCHANGED_TARGETS variables.
2019 - Add general support for batch builds through new batch_key= and
2020 targets= keywords to Action object creation.
2024 - Make linker tools differentiate properly between SharedLibrary
2027 - Document TestCommon.shobj_prefix variable.
2029 - Support $SWIGOUTDIR values with spaces.
2033 - Don't automatically try to build .pdf graphics files for
2034 .eps files in \includegraphics{} calls in TeX/LaTeX files
2035 when building with the PDF builder (and thus using pdflatex).
2037 From Gary Oberbrunner:
2039 - Allow AppendENVPath() and PrependENVPath() to interpret '#'
2040 for paths relative to the top-level SConstruct directory.
2042 - Use the Borland ilink -e option to specify the output file name.
2044 - Document that the msvc Tool module uses $PCH, $PCHSTOP and $PDB.
2046 - Allow WINDOWS_INSERT_DEF=0 to disable --output-def when linking
2051 - Fix typos in the User's Guide.
2055 - Support implicit dependency scanning of files encoded in utf-8
2058 From Roberto de Vecchi:
2060 - Remove $CCFLAGS from the the default definitions of $CXXFLAGS for
2061 Visual C/C++ and MIPSpro C++ on SGI so, they match other tools
2062 and avoid flag duplication on C++ command lines.
2066 - Handle quoted module names in SWIG source files.
2068 - Emit *_wrap.h when SWIG generates header file for directors
2070 From Matthew Wesley:
2072 - Copy file attributes so we identify, and can link a shared library
2073 from, shared object files in a Repository.
2077 RELEASE 1.2.0 - Sat, 20 Dec 2008 22:47:29 -0800
2081 - Don't fail if can't import a _subprocess module on Windows.
2083 - Add warnings for use of the deprecated Options object.
2087 RELEASE 1.1.0.d20081207 - Sun, 07 Dec 2008 19:17:23 -0800
2091 - Improve the robustness of GetBuildFailures() by refactoring
2092 SCons exception handling (especially BuildError exceptions).
2094 - Have the --taskmastertrace= option print information about
2095 individual Task methods, not just the Taskmaster control flow.
2097 - Eliminate some spurious dependency cycles by being more aggressive
2098 about pruning pending children from the Taskmaster walk.
2100 - Suppress mistaken reports of a dependency cycle when a child
2101 left on the pending list is a single Node in EXECUTED state.
2103 From David Cournapeau:
2105 - Fix $FORTRANMODDIRPREFIX for the ifort (Intel Fortran) tool.
2107 From Brad Fitzpatrick:
2109 - Don't pre-generate an exception message (which will likely be
2110 ignored anyway) when an EntryProxy re-raises an AttributeError.
2114 - Clean up coding style and white space in Node/FS.py.
2116 - Fix a typo in the documentation for $_CPPDEFFLAGS.
2118 - Issue 2401: Fix usage of comparisons with None.
2120 From Ludwig H�hne:
2122 - Handle Java inner classes declared within a method.
2126 - Fix label placement by the "scons-time.py func" subcommand
2127 when a profile value was close to (or equal to) 0.0.
2129 - Fix env.Append() and env.Prepend()'s ability to add a string to
2130 list-like variables like $CCFLAGS under Python 2.6.
2132 - Other Python2.6 portability: don't use "as" (a Python 2.6 keyword).
2133 Don't use the deprecated Exception.message attribute.
2135 - Support using the -f option to search for a different top-level
2136 file name when walking up with the -D, -U or -u options.
2138 - Fix use of VariantDir when the -n option is used and doesn't,
2139 therefore, actually create the variant directory.
2141 - Fix a stack trace from the --debug=includes option when passed a
2142 static or shared library as an argument.
2144 - Speed up the internal find_file() function (used for searching
2145 CPPPATH, LIBPATH, etc.).
2147 - Add support for using the Python "in" keyword on construction
2148 environments (for example, if "CPPPATH" in env: ...).
2150 - Fix use of Glob() when a repository or source directory contains
2151 an in-memory Node without a corresponding on-disk file or directory.
2153 - Add a warning about future reservation of $CHANGED_SOURCES,
2154 $CHANGED_TARGETS, $UNCHANGED_SOURCES and $UNCHANGED_TARGETS.
2156 - Enable by default the existing warnings about setting the resource
2157 $SOURCE, $SOURCES, $TARGET and $TARGETS variable.
2161 - Scan for TeX files in the paths specified in the $TEXINPUTS
2162 construction variable and the $TEXINPUTS environment variable.
2164 - Configure the PDF() and PostScript() Builders as single_source so
2165 they know each source file generates a separate target file.
2167 - Add $EPSTOPDF, $EPSTOPDFFLAGS and $EPSTOPDFCOM
2169 - Add .tex as a valid extension for the PDF() builder.
2171 - Add regular expressions to find \input, \include and
2174 - Support generating a .pdf file from a .eps source.
2176 - Recursive scan included input TeX files.
2178 - Handle requiring searched-for TeX input graphics files to have
2179 extensions (to avoid trying to build a .eps from itself, e.g.).
2183 - Make the Action() function handle positional parameters consistently.
2185 - Clarify use of Configure.CheckType().
2187 - Make the File.{Dir,Entry,File}() methods create their entries
2188 relative to the calling File's directory, not the SConscript
2191 - Use the Python os.devnull variable to discard error output when
2192 looking for the $CC or $CXX version.
2194 - Mention LoadableModule() in the SharedLibrary() documentation.
2196 From Gary Oberbrunner:
2198 - Update the User's Guide to clarify use of the site_scons/
2199 directory and the site_init.py module.
2201 - Make env.AppendUnique() and env.PrependUnique remove duplicates
2202 within a passed-in list being added, too.
2204 From Randall Spangler:
2206 - Fix Glob() so an on-disk file or directory beginning with '#'
2207 doesn't throw an exception.
2211 RELEASE 1.1.0 - Thu, 09 Oct 2008 08:33:47 -0700
2215 - Use the specified environment when checking for the GCC compiler
2218 From Ian P. Cardenas:
2220 - Fix Glob() polluting LIBPATH by returning copy of list
2222 From David Cournapeau:
2224 - Add CheckCC, CheckCXX, CheckSHCC and CheckSHCXX tests to
2225 configuration contexts.
2227 - Have the --profile= argument use the much faster cProfile module
2228 (if it's available in the running Python version).
2230 - Reorder MSVC compilation arguments so the /Fo is first.
2234 - Add scanning Windows resource (.rc) files for implicit dependencies.
2238 - When scanning for a #include file, don't use a directory that
2239 has the same name as the file.
2241 From Ralf W. Grosse-Kunstleve
2243 - Suppress error output when checking for the GCC compiler version.
2247 - Fix VariantDir duplication of #included files in subdirectories.
2249 From Ludwig H�hne:
2251 - Reduce memory usage when a directory is used as a dependency of
2252 another Node (such as an Alias) by returning a concatenation
2253 of the children's signatures + names, not the children's contents,
2254 as the directory contents.
2256 - Raise AttributeError, not KeyError, when a Builder can't be found.
2258 - Invalidate cached Node information (such as the contenst returned
2259 by the get_contents() method) when calling actions with Execute().
2261 - Avoid object reference cycles from frame objects.
2263 - Reduce memory usage from Null Executor objects.
2265 - Compute MD5 checksums of large files without reading the entire
2266 file contents into memory. Add a new --md5-chunksize option to
2267 control the size of each chunk read into memory.
2271 - Fix the ability of the add_src_builder() method to add a new
2272 source builder to any other builder.
2274 - Avoid an infinite loop on non-Windows systems trying to find the
2275 SCons library directory if the Python library directory does not
2276 begin with the string "python".
2278 - Search for the SCons library directory in "scons-local" (with
2279 no version number) after "scons-local-{VERSION}".
2283 - Fix the user's ability to interrupt the TeX build chain.
2285 - Fix the TeX builder's allowing the user to specify the target name,
2286 instead of always using its default output name based on the source.
2288 - Iterate building TeX output files until all warning are gone
2289 and the auxiliary files stop changing, or until we reach the
2290 (configurable) maximum number of retries.
2292 - Add TeX scanner support for: glossaries, nomenclatures, lists of
2293 figures, lists of tables, hyperref and beamer.
2295 - Use the $BIBINPUTS, $BSTINPUTS, $TEXINPUTS and $TEXPICTS construction
2296 variables as search paths for the relevant types of input file.
2298 - Fix building TeX with VariantDir(duplicate=0) in effect.
2300 - Fix the LaTeX scanner to search for graphics on the TEXINPUTS path.
2302 - Have the PDFLaTeX scanner search for .gif files as well.
2306 - Fix typos and format bugs in the man page.
2308 - Add a first draft of a wrapper module for Python's subprocess
2311 - Refactor use of the SCons.compat module so other modules don't
2312 have to import it individually.
2314 - Add .sx as a suffix for assembly language files that use the
2317 From Gary Oberbrunner:
2319 - Make Glob() sort the returned list of Files or Nodes
2320 to prevent spurious rebuilds.
2322 - Add a delete_existing keyword argument to the AppendENVPath()
2323 and PrependENVPath() Environment methods.
2325 - Add ability to use "$SOURCE" when specifying a target to a builder
2329 - Add a test case to verify that SConsignFile() files can be
2330 created in previously non-existent subdirectories.
2334 - Make the subdirectory in which the SConsignFile() file will
2335 live, if the subdirectory doesn't already exist.
2339 - Add a test to verify duplication of files in VariantDir subdirectories.
2343 RELEASE 1.0.1 - Sat, 06 Sep 2008 07:29:34 -0700
2347 - Add a FindFile() section to the User's Guide.
2349 - Fix the FindFile() documentation in the man page.
2351 - Fix formatting errors in the Package() description in the man page.
2353 - Escape parentheses that appear within variable names when spawning
2354 command lines using os.system().
2362 - Clear the Node state when turning a generic Entry into a Dir.
2364 From Ludwig H�hne:
2366 - Fix sporadic output-order failures in test/GetBuildFailures/parallel.py.
2368 - Document the ParseDepends() function in the User's Guide.
2372 - Create a separate description and long_description for RPM packages.
2376 - Document the GetLaunchDir() function in the User's Guide.
2378 - Have the env.Execute() method print an error message if the
2379 executed command fails.
2381 - Add a script for creating a standard SCons development system on
2382 Ubuntu Hardy. Rewrite subsidiary scripts for install Python and
2383 SCons versions in Python (from shell).
2387 - Handle yacc/bison on newer Mac OS X versions creating file.hpp,
2390 - In RPCGEN tests, ignore stderr messages from older versions of
2391 rpcgen on some versions of Mac OS X.
2393 - Fix typos in man page descriptions of Tag() and Package(), and in
2394 the scons-time man page.
2396 - Fix documentation of SConf.CheckLibWithHeader and other SConf methods.
2398 - Update documentation of SConscript(variant_dir) usage.
2400 - Fix SWIG tests for (some versions of) Mac OS X.
2404 - Print the warning about -j on Windows being potentially unreliable if
2405 the pywin32 extensions are unavailable or lack file handle operations.
2409 - Fix the env.WhereIs() method to expand construction variables.
2411 From Rogier Schouten:
2413 - Enable building of shared libraries with the Bordand ilink32 linker.
2417 RELEASE 1.0.0 - Sat, 09 Aug 2008 12:19:44 -0700
2419 From Luca Falavigna:
2421 - Fix SCons man page indentation under Debian's man page macros.
2425 - Clarify the man page description of the SConscript(src_dir) argument.
2427 - User's Guide updates:
2429 - Document the BUILD_TARGETS, COMMAND_LINE_TARGETS and
2430 DEFAULT_TARGETS variables.
2432 - Document the AddOption(), GetOption() and SetOption() functions.
2434 - Document the Requires() function; convert to the Variables
2435 object, its UnknownOptions() method, and its associated
2436 BoolVariable(), EnumVariable(), ListVariable(), PackageVariable()
2437 and PathVariable() functions.
2439 - Document the Progress() function.
2441 - Reorganize the chapter and sections describing the different
2442 types of environments and how they interact. Document the
2443 SetDefault() method. Document the PrependENVPath() and
2444 AppendENVPath() functions.
2446 - Reorganize the command-line arguments chapter. Document the
2449 - Collect some miscellaneous sections into a chapter about
2450 configuring build output.
2454 - Document suggested use of the Visual C/C++ /FC option to fix
2455 the ability to double-click on file names in compilation error
2458 - Document the need to use Clean() for any SideEffect() files that
2459 must be explicitly removed when their targets are removed.
2461 - Explicitly document use of Node lists as input to Dependency().
2465 - Document MergeFlags(), ParseConfig(), ParseFlags() and SideEffect()
2466 in the User's Guide.
2468 From Gary Oberbrunner:
2470 - Document use of the GetBuildFailures() function in the User's Guide.
2474 - Add man page text clarifying the behavior of AddPreAction() and
2475 AddPostAction() when called with multiple targets.
2477 From Alexey Zezukin:
2479 - Fix incorrectly swapped man page descriptions of the --warn= options
2480 for duplicate-environment and missing-sconscript.
2484 RELEASE 0.98.5 - Sat, 07 Jun 2008 08:20:35 -0700
2488 - Fix the Intel C++ compiler ABI specification for EMT64 processors.
2490 From David Cournapeau:
2492 - Issue a (suppressable) warning, not an error, when trying to link
2493 C++ and Fortran object files into the same executable.
2497 - Update the scons.bat file so that it returns the real exit status
2498 from SCons, even though it uses setlocal + endlocal.
2500 - Fix the --interactive post-build messages so it doesn't get stuck
2501 mistakenly reporting failures after any individual build fails.
2503 - Fix calling File() as a File object method in some circumstances.
2505 - Fix setup.py installation on Mac OS X so SCons gets installed
2506 under /usr/lcoal by default, not in the Mac OS X Python framework.
2510 RELEASE 0.98.4 - Sat, 17 May 2008 22:14:46 -0700
2514 - Fix calculation of signatures for Python function actions with
2515 closures in Python versions before 2.5.
2517 From David Cournapeau:
2519 - Fix the initialization of $SHF77FLAGS so it includes $F77FLAGS.
2523 - Fix a syntax error in the Intel C compiler support on Windows.
2527 - Change how we represent Python Value Nodes when printing and when
2528 stored in .sconsign files (to avoid blowing out memory by storing
2529 huge strings in .sconsign files after multiple runs using Configure
2530 contexts cause the Value strings to be re-escaped each time).
2532 - Fix a regression in not executing configuration checks after failure
2533 of any configuration check that used the same compiler or other tool.
2535 - Handle multiple destinations in Visual Studio 8 settings for the
2536 analogues to the INCLUDE, LIBRARY and PATH variables.
2540 - Update man page text for VariantDir().
2544 RELEASE 0.98.3 - Tue, 29 Apr 2008 22:40:12 -0700
2548 - Fix use of $CXXFLAGS when building C++ shared object files.
2552 - Fix a regression when a Builder's source_scanner doesn't select
2553 a more specific scanner for the suffix of a specified source file.
2555 - Fix the Options object backwards compatibility so people can still
2556 "import SCons.Options.{Bool,Enum,List,Package,Path}Option" submodules.
2558 - Fix searching for implicit dependencies when an Entry Node shows up
2559 in the search path list.
2563 - Fix expansion of $FORTRANMODDIR in the default Fortran command line(s)
2564 when it's set to something like ${TARGET.dir}.
2568 RELEASE 0.98.2 - Sun, 20 Apr 2008 23:38:56 -0700
2572 - Fix a bug in Fortran suffix computation that would cause SCons to
2573 run out of memory on Windows systems.
2575 - Fix being able to specify --interactive mode command lines with
2576 \ (backslash) path name separators on Windows.
2578 From Gary Oberbrunner:
2580 - Document Glob() in the User's Guide.
2584 RELEASE 0.98.1 - Fri, 18 Apr 2008 19:11:58 -0700
2588 - Speed up the SCons.Util.to_string*() functions.
2590 - Optimize various Node intialization and calculations.
2592 - Optimize Executor scanning code.
2594 - Optimize Taskmaster execution, including dependency-cycle checking.
2596 - Fix the --debug=stree option so it prints its tree once, not twice.
2600 - Fix the ability to use LoadableModule() under MinGW.
2602 From David Cournapeau:
2604 - Various missing Fortran-related construction variables have been added.
2606 - SCons now uses the program specified in the $FORTRAN construction
2607 variable to link Fortran object files.
2609 - Fortran compilers on Linux (Intel, g77 and gfortran) now add the -fPIC
2610 option by default when compilling shared objects.
2612 - New 'sunf77', 'sunf90' and 'sunf95' Tool modules have been added to
2613 support Sun Fortran compilers. On Solaris, the Sun Fortran compilers
2614 are used in preference to other compilers by default.
2616 - Fortran support now uses gfortran in preference to g77.
2618 - Fortran file suffixes are now configurable through the
2619 $F77FILESUFFIXES, $F90FILESUFFIXES, $F95FILESUFFIXES and
2620 $FORTRANFILESUFFIXES variables.
2624 - Make the -d, -e, -w and --no-print-directory options "Ignored for
2625 compatibility." (We're not going to implement them.)
2627 - Fix a serious inefficiency in how SCons checks for whether any source
2628 files are missing when a Builder call creates many targets from many
2631 - In Java projects, make the target .class files depend only on the
2632 specific source .java files where the individual classes are defined.
2634 - Don't store duplicate source file entries in the .sconsign file so
2635 we don't endlessly rebuild the target(s) for no reason.
2637 - Add a Variables object as the first step towards deprecating the
2638 Options object name. Similarly, add BoolVariable(), EnumVariable(),
2639 ListVariable(), PackageVariable() and PathVariable() functions
2640 as first steps towards replacing BoolOption(), EnumOption(),
2641 ListOption(), PackageOption() and PathOption().
2643 - Change the options= keyword argument to the Environment() function
2644 to variables=, to avoid confusion with SCons command-line options.
2645 Continue supporting the options= keyword for backwards compatibility.
2647 - When $SWIGFLAGS contains the -python flag, expect the generated .py
2648 file to be in the same (sub)directory as the target.
2650 - When compiling C++ files, allow $CCFLAGS settings to show up on the
2651 command line even when $CXXFLAGS has been redefined.
2653 - Fix --interactive with -u/-U/-D when a VariantDir() is used.
2655 From Anatoly Techtonik:
2657 - Have the scons.bat file add the script execution directory to its
2658 local %PATH% on Windows, so the Python executable can be found.
2662 - Fix passing variable names as a list to the Return() function.
2664 From Matthew Wesley:
2666 - Add support for the GDC 'D' language compiler.
2670 RELEASE 0.98 - Sun, 30 Mar 2008 23:33:05 -0700
2674 - Fix the --keep-going flag so it builds all possible targets even when
2675 a later top-level target depends on a child that failed its build.
2677 - Fix being able to use $PDB and $WINDWOWS_INSERT_MANIFEST together.
2679 - Don't crash if un-installing the Intel C compiler leaves left-over,
2680 dangling entries in the Windows registry.
2682 - Improve support for non-standard library prefixes and suffixes by
2683 stripping all prefixes/suffixes from file name string as appropriate.
2685 - Reduce the default stack size for -j worker threads to 256 Kbytes.
2686 Provide user control over this value by adding --stack-size and
2687 --warn=stack-size options, and a SetOption('stack_size') function.
2689 - Fix a crash on Linux systems when trying to use the Intel C compiler
2690 and no /opt/intel_cc_* directories are found.
2692 - Improve using Python functions as actions by incorporating into
2693 a FunctionAction's signature:
2694 - literal values referenced by the byte code.
2695 - values of default arguments
2696 - code of nested functions
2697 - values of variables captured by closures
2698 - names of referenced global variables and functions
2700 - Fix the closing message when --clean and --keep-going are both
2701 used and no errors occur.
2703 - Add support for the Intel C compiler on Mac OS X.
2705 - Speed up reading SConscript files by about 20% (for some
2706 configurations) by: 1) optimizing the SCons.Util.is_*() and
2707 SCons.Util.flatten() functions; 2) avoiding unnecessary os.stat()
2708 calls by using a File's .suffix attribute directly instead of
2711 From Jérôme Berger:
2713 - Have the D language scanner search for .di files as well as .d files.
2715 - Add a find_include_names() method to the Scanner.Classic class to
2716 abstract out how included names can be generated by subclasses.
2718 - Allow the D language scanner to detect multiple modules imported by
2721 From Konstantin Bozhikov:
2723 - Support expansion of construction variables that contain or refer
2724 to lists of other variables or Nodes within expansions like $CPPPATH.
2726 - Change variable substitution (the env.subst() method) so that an
2727 input sequence (list or tuple) is preserved as a list in the output.
2729 From David Cournapeau:
2731 - Add a CheckDeclaration() call to configure contexts.
2733 - Improve the CheckTypeSize() code.
2735 - Add a Define() call to configure contexts, to add arbitrary #define
2736 lines to a generated configure header file.
2738 - Add a "gfortran" Tool module for the GNU F95/F2003 compiler.
2740 - Avoid use of -rpath with the Mac OS X linker.
2742 - Add comment lines to the generated config.h file to describe what
2743 the various #define/#undef lines are doing.
2747 - Support the ability to subclass the new-style "str" class as input
2750 - Improve the performance of our type-checking by using isinstance()
2751 with new-style classes.
2753 - Fix #include (and other $*PATH variables searches) of files with
2754 absolute path names. Don't die if they don't exist (due to being
2755 #ifdef'ed out or the like).
2757 - Fix --interactive mode when Default(None) is used.
2759 - Fix --debug=memoizer to work around a bug in base Python 2.2 metaclass
2760 initialization (by just not allowing Memoization in Python versions
2763 - Have the "scons-time time" subcommand handle empty log files, and
2764 log files that contain no results specified by the --which option.
2766 - Fix the max Y of vertical bars drawn by "scons-time --fmt=gnuplot".
2768 - On Mac OS X, account for the fact that the header file generated
2769 from a C++ file will be named (e.g.) file.cpp.h, not file.hpp.
2771 - Fix floating-point numbers confusing the Java parser about
2772 generated .class file names in some configurations.
2774 - Document (nearly) all the values you can now fetch with GetOption().
2776 - Fix use of file names containing strings of multiple spaces when
2777 using ActionFactory instances like the Copy() or Move() function.
2779 - Fix a 0.97 regression when using a variable expansion (like
2780 $OBJSUFFIX) in a source file name to a builder with attached source
2781 builders that match suffix (like Program()+Object()).
2783 - Have the Java parser recognize generics (surrounded by angle brackets)
2784 so they don't interfere with identifying anonymous inner classes.
2786 - Avoid an infinite loop when trying to use saved copies of the
2787 env.Install() or env.InstallAs() after replacing the method
2790 - Improve the performance of setting construction variables.
2792 - When cloning a construction environment, avoid over-writing an
2793 attribute for an added method if the user explicitly replaced it.
2795 - Add a warning about deprecated support for Python 1.5, 2.0 and 2.1.
2797 - Fix being able to SetOption('warn', ...) in SConscript files.
2799 - Add a warning about env.Copy() being deprecated.
2801 - Add warnings about the --debug={dtree,stree,tree} options
2804 - Add VariantDir() as the first step towards deprecating BuildDir().
2805 Add the keyword argument "variant_dir" as the replacement for
2808 - Add warnings about the {Target,Source}Signatures() methods and
2809 functions being deprecated.
2813 - Enhance TeX and LaTeX support to work with BuildDir(duplicate=0).
2815 - Re-run LaTeX when it issues a package warning that it must be re-run.
2817 From Leanid Nazdrynau:
2819 - Have the Copy() action factory preserve file modes and times
2820 when copying individual files.
2824 - If $JARCHDIR isn't set explicitly, use the .java_classdir attribute
2825 that was set when the Java() Builder built the .class files.
2829 - Document the Dir(), File() and Entry() methods of Dir and File Nodes.
2831 - Add the parse_flags option when creating Environments
2833 From Gary Oberbrunner:
2835 - Make File(), Dir() and Entry() return a list of Nodes when passed
2836 a list of names, instead of trying to make a string from the name
2837 list and making a Node from that string.
2839 - Fix the ability to build an Alias in --interactive mode.
2841 - Fix the ability to hash the contents of actions for nested Python
2842 functions on Python versions where the inability to pickle them
2843 returns a TypeError (instead of the documented PicklingError).
2847 - Fix use of the Intel C compiler when the top compiler directory,
2848 but not the compiler version, is specified.
2850 - Handle Intel C compiler network license files (port@system).
2854 - Fix how Python Value Nodes are printed in --debug=explain output.
2858 - Add a --interactive option that starts a session for building (or
2859 cleaning) targets without re-reading the SConscript files every time.
2861 - Fix use of readline command-line editing in --interactive mode.
2863 - Have the --interactive mode "build" command with no arguments
2864 build the specified Default() targets.
2866 - Fix the Chmod(), Delete(), Mkdir() and Touch() Action factories to
2867 take a list (of Nodes or strings) as arguments.
2869 From Vaclav Smilauer:
2871 - Fix saving and restoring an Options value of 'all' on Python
2872 versions where all() is a builtin function.
2874 From Daniel Svensson:
2876 - Code correction in SCons.Util.is_List().
2880 - Support the SWIG %module statement with following modifiers in
2881 parenthese (e.g., '%module(directors="1")').
2885 RELEASE 0.97.0d20071212 - Wed, 12 Dec 2007 09:29:32 -0600
2889 - Fix occasional spurious rebuilds and inefficiency when using
2890 --implicit-cache and Builders that produce multiple targets.
2892 - Allow SCons to not have to know about the builders of generated
2893 files when BuildDir(duplicate=0) is used, potentially allowing some
2894 SConscript files to be ignored for smaller builds.
2896 From David Cournapeau:
2898 - Add a CheckTypeSize() call to configure contexts.
2902 - Make the "contents" of Alias Nodes a concatenation of the children's
2903 content signatures (MD5 checksums), not a concatenation of the
2904 children's contents, to avoid using large amounts of memory during
2905 signature calculation.
2909 - Fix a lot of typos in the man page and User's Guide.
2911 From Geoffrey Irving:
2913 - Speed up conversion of paths in .sconsign files to File or Dir Nodes.
2917 - Add an Options.UnknownOptions() method that returns any settings
2918 (from the command line, or whatever dictionary was passed in)
2919 that aren't known to the Options object.
2921 - Add a Glob() function.
2923 - When removing targets with the -c option, use the absolute path (to
2924 avoid problems interpreting BuildDir() when the top-level directory
2925 is the source directory).
2927 - Fix problems with Install() and InstallAs() when called through a
2928 clone (of a clone, ...) of a cloned construction environment.
2930 - When executing a file containing Options() settings, add the file's
2931 directory to sys.path (so modules can be imported from there) and
2932 explicity set __name__ to the name of the file so the statement's
2933 in the file can deduce the location if they need to.
2935 - Fix an O(n^2) performance problem when adding sources to a target
2936 through calls to a multi Builder (including Aliases).
2938 - Redefine the $WINDOWSPROGMANIFESTSUFFIX and
2939 $WINDOWSSHLIBMANIFESTSUFFIX variables so they pick up changes to
2940 the underlying $SHLIBSUFFIX and $PROGSUFFIX variables.
2942 - Add a GetBuildFailures() function that can be called from functions
2943 registered with the Python atexit module to print summary information
2944 about any failures encountered while building.
2946 - Return a NodeList object, not a Python list, when a single_source
2947 Builder like Object() is called with more than one file.
2949 - When searching for implicit dependency files in the directories
2950 in a $*PATH list, don't create Dir Nodes for directories that
2951 don't actually exist on-disk.
2953 - Add a Requires() function to allow the specification of order-only
2954 prerequisites, which will be updated before specified "downstream"
2955 targets but which don't actually cause the target to be rebuilt.
2957 - Restore the FS.{Dir,File,Entry}.rel_path() method.
2959 - Make the default behavior of {Source,Target}Signatures('timestamp')
2960 be equivalent to 'timestamp-match', not 'timestamp-newer'.
2962 - Fix use of CacheDir with Decider('timestamp-newer') by updating
2963 the modification time when copying files from the cache.
2965 - Fix random issues with parallel (-j) builds on Windows when Python
2966 holds open file handles (especially for SCons temporary files,
2967 or targets built by Python function actions) across process creation.
2969 From Maxim Kartashev:
2971 - Fix test scripts when run on Solaris.
2973 From Gary Oberbrunner:
2975 - Fix Glob() when a pattern is in an explicitly-named subdirectory.
2977 From Philipp Scholl:
2979 - Fix setting up targets if multiple Package builders are specified
2984 RELEASE 0.97.0d20070918 - Tue, 18 Sep 2007 10:51:27 -0500
2988 - Fix the wix Tool module to handle null entries in $PATH variables.
2990 - Move the documentation of Install() and InstallAs() from the list
2991 of functions to the list of Builders (now that they're implemented
2994 - Allow env.CacheDir() to be set per construction environment. The
2995 global CacheDir() function now sets an overridable global default.
2997 - Add an env.Decider() method and a Node.Decider() method that allow
2998 flexible specification of an arbitrary function to decide if a given
2999 dependency has changed since the last time a target was built.
3001 - Don't execute Configure actions (while reading SConscript files)
3002 when cleaning (-c) or getting help (-h or -H).
3004 - Add to each target an implicit dependency on the external command(s)
3005 used to build the target, as found by searching env['ENV']['PATH']
3006 for the first argument on each executed command line.
3008 - Add support for a $IMPLICIT_COMMAND_DEPENDENCIES construction
3009 variabe that can be used to disable the automatic implicit
3010 dependency on executed commands.
3012 - Add an "ensure_suffix" keyword to Builder() definitions that, when
3013 true, will add the configured suffix to the targets even if it looks
3014 like they already have a different suffix.
3016 - Add a Progress() function that allows for calling a function or string
3017 (or list of strings) to display progress while walking the DAG.
3019 - Allow ParseConfig(), MergeFlags() and ParseFlags() to handle output
3020 from a *config command with quoted path names that contain spaces.
3022 - Make the Return() function stop processing the SConscript file and
3023 return immediately. Add a "stop=" keyword argument that can be set
3024 to False to preserve the old behavior.
3026 - Fix use of exitstatfunc on an Action.
3028 - Introduce all man page function examples with "Example:" or "Examples:".
3030 - When a file gets added to a directory, make sure the directory gets
3031 re-scanned for the new implicit dependency.
3033 - Fix handling a file that's specified multiple times in a target
3034 list so that it doesn't cause dependent Nodes to "disappear" from
3035 the dependency graph walk.
3039 - Avoid race conditions with same-named files and directory creation
3040 when pushing copies of files to CacheDir().
3044 - Handle $ in Java class names.
3046 From Gary Oberbrunner:
3048 - Add support for the Intel C compiler on Windows64.
3050 - On SGI IRIX, have $SHCXX use $CXX by default (like other platforms).
3054 - When Cloning a construction environment, set any variables before
3055 applying tools (so the tool module can access the configured settings)
3056 and re-set them after (so they end up matching what the user set).
3058 From Matthias Troffaes:
3060 - Make sure extra auxiliary files generated by some LaTeX packages
3061 and not ending in .aux also get deleted by scons -c.
3065 - Add a $JAVABOOTCLASSPATH variable for directories to be passed to the
3066 javac -bootclasspath option.
3068 From Christoph Wiedemann:
3070 - Add implicit dependencies on the commands used to build a target.
3075 RELEASE 0.97.0d20070809 - Fri, 10 Aug 2007 10:51:27 -0500
3077 From Lars Albertsson:
3079 - Don't error if a #include line happens to match a directory
3080 somewhere on a path (like $CPPPATH, $FORTRANPATH, etc.).
3082 From Mark Bertoglio:
3084 - Fix listing multiple projects in Visual Studio 7.[01] solution files,
3085 including generating individual project GUIDs instead of re-using
3090 - Add /opt/SUNWspro/bin to the default execution PATH on Solaris.
3094 - Only expect the Microsoft IDL compiler to emit *_p.c and *_data.c
3095 files if the /proxy and /dlldata switches are used (respectively).
3099 - Have --debug=explain report if a target is being rebuilt because
3100 AlwaysBuild() is specified (instead of "unknown reasons").
3102 - Support {Get,Set}Option('help') to make it easier for SConscript
3103 files to tell if a help option (-h, --help, etc.) has been specified.
3105 - Support {Get,Set}Option('random') so random-dependency interaction
3106 with CacheDir() is controllable from SConscript files.
3108 - Add a new AddOption() function to support user-defined command-
3109 line flags (like --prefix=, --force, etc.).
3111 - Replace modified Optik version with new optparse compatibility module
3112 for command line processing in Scripts/SConsOptions.py
3114 - Push and retrieve built symlinks to/from a CacheDir() as actual
3115 symlinks, not by copying the file contents.
3117 - Fix how the Action module handles stringifying the shared library
3118 generator in the Tool/mingw.py module.
3120 - When generating a config.h file, print "#define HAVE_{FEATURE} 1"
3121 instad of just "#define HAVE_{FEATURE}", for more compatibility
3122 with Autoconf-style projects.
3124 - Fix expansion of $TARGET, $TARGETS, $SOURCE and $SOURCES keywords in
3125 Visual C/C++ PDB file names.
3127 - Fix locating Visual C/C++ PDB files in build directories.
3129 - Support an env.AddMethod() method and an AddMethod() global function
3130 for adding a new method, respectively, to a construction environment
3131 or an arbitrary object (such as a class).
3133 - Fix the --debug=time option when the -j option is specified and all
3134 files are up to date.
3136 - Add a $SWIGOUTDIR variable to allow setting the swig -outdir option,
3137 and use it to identify files created by the swig -java option.
3139 - Add a $SWIGPATH variable that specifies the path to be searched
3140 for included SWIG files, Also add related $SWIGINCPREFIX and
3141 $SWIGINCSUFFIX variables that specify the prefix and suffix to
3142 be be added to each $SWIGPATH directory when expanded on the SWIG
3145 - More efficient copying of construction environments (mostly borrowed
3146 from copy.deepcopy() in the standard Python library).
3148 - When printing --tree=prune output, don't print [brackets] around
3149 source files, only do so for built targets with children.
3151 - Fix interpretation of Builder source arguments when the Builder has
3152 a src_suffix *and* a source_builder and the argument has no suffix.
3154 - Fix use of expansions like ${TARGET.dir} or ${SOURCE.dir} in the
3155 following construction variables: $FORTRANMODDIR, $JARCHDIR,
3156 $JARFLAGS, $LEXFLAGS, $SWIGFLAGS, $SWIGOUTDIR and $YACCFLAGS.
3158 - Fix dependencies on Java files generated by SWIG so they can be
3159 detected and built in one pass.
3161 - Fix SWIG when used with a BuildDir().
3163 From Leanid Nazdrynau:
3165 - When applying Tool modules after a construction environment has
3166 already been created, don't overwrite existing $CFILESUFFIX and
3167 $CXXFILESUFFIX value.
3169 - Support passing the Java() builder a list of explicit .java files
3170 (not only a list of directories to be scanned for .java files).
3172 - Support passing .java files to the Jar() and JavaH() builders, which
3173 then use the builder underlying the Java() builder to turn them into
3174 .class files. (That is, the Jar()-Java() chain of builders become
3175 multi-step, like the Program()-Object()-CFile() builders.)
3177 - Support passing SWIG .i files to the Java builders (Java(),
3178 Jar(), JavaH()), to cause intermediate .java files to be created
3181 - Add $JAVACLASSPATH and $JAVASOURCEPATH variables, that get added to
3182 the javac "-classpath" and "-sourcepath" options. (Note that SCons
3183 does *not* currently search these paths for implicit dependencies.)
3185 - Commonize initialization of Java-related builders.
3189 - Find Java anonymous classes when the next token after the name is
3190 an open parenthesis.
3192 From Gary Oberbrunner:
3194 - Fix a code example in the man page.
3198 - Add support for the file names that Java 1.5 (and 1.6) generates for
3199 nested anonymous inner classes, which are different from Java 1.4.
3203 - Allow worker threads to terminate gracefully when all jobs are
3208 - Add LaTeX scanner support for finding dependencies specified with
3209 the \usepackage{} directive.
3213 RELEASE 0.97 - Thu, 17 May 2007 08:59:41 -0500
3217 - Fix a bug that would make parallel builds stop in their tracks if
3218 Nodes that depended on lists that contained some Nodes built together
3219 caused the reference count to drop below 0 if the Nodes were visited
3220 and commands finished in the wrong order.
3222 - Make sure the DirEntryScanner doesn't choke if it's handed something
3223 that's not a directory (Node.FS.Dir) Node.
3227 RELEASE 0.96.96 - Thu, 12 Apr 2007 12:36:25 -0500
3229 NOTE: This is (Yet) a(nother) pre-release of 0.97 for testing purposes.
3233 - Man page fix: remove cut-and-paste sentence in NoCache() description.
3235 From Dmitry Grigorenko and Gary Oberbrunner:
3237 - Use the Intel C++ compiler, not $CC, to link C++ source.
3241 - Fix the man page example of propagating a user's external environment.
3245 - Back out (most of) the Windows registry installer patch, which
3246 seems to not work on some versions of Windows.
3248 - Don't treat Java ".class" attributes as defining an inner class.
3250 - Fix detecting an erroneous Java anonymous class when the first
3251 non-skipped token after a "new" keyword is a closing brace.
3253 - Fix a regression when a CPPDEFINES list contains a tuple, the second
3254 item of which (the option value) is a construction variable expansion
3255 (e.g. $VALUE) and the value of the variable isn't a string.
3257 - Improve the error message if an IOError (like trying to read a
3258 directory as a file) occurs while deciding if a node is up-to-date.
3260 - Fix "maximum recursion" / "unhashable type" errors in $CPPPATH
3261 PathList expansion if a subsidiary expansion yields a stringable,
3264 - Generate API documentation from the docstrings (using epydoc).
3266 - Fix use of --debug=presub with Actions for out-of-the-box Builders.
3268 - Fix handling nested lists within $CPPPATH, $LIBPATH, etc.
3270 - Fix a "builders_used" AttributeError that real-world Qt initialization
3271 triggered in the refactored suffix handling for Builders.
3273 - Make the reported --debug=time timings meaningful when used with -j.
3274 Better documentation of what the times mean.
3276 - User Guide updates: --random, AlwaysBuild(), --tree=,
3277 --debug=findlibs, --debug=presub, --debug=stacktrace,
3280 - Document (in both man page and User's Guide) that --implicit-cache
3281 ignores changes in $CPPPATH, $LIBPATH, etc.
3283 From Jean-Baptiste Lab:
3285 - Remove hard-coded dependency on Python 2.2 from Debian packaging files.
3289 - Handle spaces in the build target name in Visual Studio project files.
3293 - Re-run LaTeX after BibTeX has been re-run in response to a changed
3296 From Joel B. Mohler:
3298 - Make additional TeX auxiliary files (.toc, .idx and .bbl files)
3299 Precious so their removal doesn't affect whether the necessary
3300 sections are included in output PDF or PostScript files.
3302 From Gary Oberbrunner:
3304 - Fix the ability to import modules in the site_scons directory from
3309 - Make sure parallel (-j) builds all targets even if they show up
3310 multiple times in the child list (as a source and a dependency).
3312 From Matthias Troffaes:
3314 - Don't re-run TeX if the triggering strings (\makeindex, \bibliography
3315 \tableofcontents) are commented out.
3319 - Fix use of custom include and lib paths with Visual Studio 8.
3321 - Select the default .NET Framework SDK Dir based on the version of
3322 Visual Studio being used.
3326 RELEASE 0.96.95 - Mon, 12 Feb 2007 20:25:16 -0600
3328 From Anatoly Techtonik:
3330 - Add the scons.org URL and a package description to the setup.py
3333 - Have the Windows installer add a registry entry for scons.bat in the
3334 "App Paths" key, so scons.bat can be executed without adding the
3335 directory to the %PATH%. (Python itself works this way.)
3339 - Fix looking for default paths in Visual Studio 8.0 (and later).
3341 - Add -lm to the list of default D libraries for linking.
3345 - Provide a more complete write-your-own-Scanner example in the man page.
3347 From Ralf W. Grosse-Kunstleve:
3349 - Contributed upstream Python change to our copied subprocess.py module
3350 for more efficient standard input processing.
3354 - Fix the Node.FS.Base.rel_path() method when the two nodes are on
3355 different drive letters. (This caused an infinite loop when
3356 trying to write .sconsign files.)
3358 - Fully support Scanners that use a dictionary to map file suffixes
3361 - Support delayed evaluation of the $SPAWN variable to allow selection
3362 of a function via ${} string expansions.
3364 - Add --srcdir as a synonym for -Y/--repository.
3366 - Document limitations of #include "file.h" with Repository().
3368 - Fix use of a toolpath under the source directory of a BuildDir().
3370 - Fix env.Install() with a file name portion that begins with '#'.
3372 - Fix ParseConfig()'s handling of multiple options in a string that's
3373 replaced a *FLAGS construction variable.
3375 - Have the C++ tools initialize common C compilation variables ($CCFLAGS,
3376 $SHCCFLAGS and $_CCCOMCOM) even if the 'cc' Tool isn't loaded.
3378 From Leanid Nazdrynau:
3380 - Fix detection of Java anonymous classes if a newline precedes the
3383 From Gary Oberbrunner:
3385 - Document use of ${} to execute arbitrary Python code.
3388 1) automatically adding a site_scons subdirectory (in the top-level
3389 SConstruct directory) to sys.path (PYTHONPATH);
3390 2) automatically importing site_scons/site_init.py;
3391 3) automatically adding site_scons/site_tools to the toolpath.
3395 - Change ParseConfig() to preserve white space in arguments passed in
3400 - Fix adding explicitly-named Java inner class files (and any
3401 other file names that may contain a '$') to Jar files.
3405 - Add a NoCache() function to mark targets as unsuitable for propagating
3406 to (or retrieving from) a CacheDir().
3410 - If the swig -noproxy option is used, it won't generate a .py file,
3411 so don't emit it as a target that we expect to be built.
3415 RELEASE 0.96.94 - Sun, 07 Jan 2007 18:36:20 -0600
3417 NOTE: This is a pre-release of 0.97 for testing purposes.
3421 - Allow arbitrary white space after a SWIG %module declaration.
3425 - When compiling resources under MinGW, make sure there's a space
3426 between the --include-dir option and its argument.
3430 - Alleviate long command line issues on Windows by executing command
3431 lines directly via os.spawnv() if the command line doesn't need
3432 shell interpretation (has no pipes, redirection, etc.).
3434 From Walter Franzini:
3436 - Exclude additional Debian packaging files from the copyright check.
3440 - Handle the conflict between the impending Python 2.6 'as' keyword
3441 and our Tool/as.py module name.
3445 - Speed up the Node.FS.Dir.rel_path() method used to generate path names
3446 that get put into the .sconsign* file(s).
3448 - Optimize Node.FS.Base.get_suffix() by computing the suffix once, up
3449 front, when we set the Node's name. (Duh...)
3451 - Reduce the Memoizer's responsibilities to simply counting hits and
3452 misses when the --debug=memoizer option is used, not to actually
3453 handling the key calculation and memoization itself. This speeds
3454 up some configurations significantly, and should cause no functional
3457 - Add a new scons-time script with subcommands for generating
3458 consistent timing output from SCons configurations, extracting
3459 various information from those timings, and displaying them in
3462 - Reduce some unnecessary stat() calls from on-disk entry type checks.
3464 - Fix SideEffect() when used with -j, which was badly broken in 0.96.93.
3466 - Propagate TypeError exceptions when evaluating construction variable
3467 expansions up the stack, so users can see what's going on.
3469 - When disambiguating a Node.FS.Entry into a Dir or File, don't look
3470 in the on-disk source directory until we've confirmed there's no
3471 on-disk entry locally and there *is* one in the srcdir. This avoids
3472 creating a phantom Node that can interfere with dependencies on
3475 - Add an AllowSubstExceptions() function that gives the SConscript
3476 files control over what exceptions cause a string to expand to ''
3477 vs. terminating processing with an error.
3479 - Allow the f90.py and f95.py Tool modules to compile earlier source
3480 source files of earlier Fortran version.
3482 - Fix storing signatures of files retrieved from CacheDir() so they're
3483 correctly identified as up-to-date next invocation.
3485 - Make sure lists of computed source suffixes cached by Builder objects
3486 don't persist across changes to the list of source Builders (so the
3487 addition of suffixes like .ui by the qt.py Tool module take effect).
3489 - Enhance the bootstrap.py script to allow it to be used to execute
3490 SCons more easily from a checked-out source tree.
3494 - Fix post-Memoizer value caching misspellings in Node.FS._doLookup().
3496 From Rob Managan, Dmitry Mikhin and Joel B. Mohler:
3498 - Handle TeX/LaTeX files in subdirectories by changing directory
3499 before invoking TeX/LaTeX.
3501 - Scan LaTeX files for \bibliography lines.
3503 - Support multiple file names in a "\bibliography{file1,file2}" string.
3505 - Handle TeX warnings about undefined citations.
3507 - Support re-running LaTeX if necessary due to a Table of Contents.
3511 - Return LaTeX if "Rerun to get citations correct" shows up on the next
3512 line after the "Warning:" string.
3514 From Gary Oberbrunner:
3516 - Add #include lines to fix portability issues in two tests.
3518 - Eliminate some unnecessary os.path.normpath() calls.
3520 - Add a $CFLAGS variable for C-specific options, leaving $CCFLAGS
3521 for options common to C and C++.
3525 - Have the error message print the missing file that Qt can't find.
3529 - Fix env.MergeFlags() appending to construction variable value of None.
3533 - Fix the "sconsign" script when the .sconsign.dblite file is explicitly
3534 specified on the command line (and not intuited from the old way of
3535 calling it with just ".sconsign").
3537 From Jose Pablo Ezequiel "Pupeno" Fernandez Silva:
3539 - Give the 'lex' tool knowledge of the additional target files produced
3540 by the flex "--header-file=" and "--tables-file=" options.
3542 - Give the 'yacc' tool knowledge of the additional target files produced
3543 by the bison "-g", "--defines=" and "--graph=" options.
3545 - Generate intermediate files with Objective C file suffixes (.m) when
3546 the lex and yacc source files have appropriate suffixes (.lm and .ym).
3550 - Have the mslink.py Tool only look for a 'link' executable on Windows
3553 From Vaclav Smilauer:
3555 - Add support for a "srcdir" keyword argument when calling a Builder,
3556 which will add a srcdir prefix to all non-relative string sources.
3558 From Jonathan Ultis:
3560 - Allow Options converters to take the construction environment as
3561 an optional argument.
3565 RELEASE 0.96.93 - Mon, 06 Nov 2006 00:44:11 -0600
3567 NOTE: This is a pre-release of 0.97 for testing purposes.
3571 - Allow Python Value Nodes to be Builder targets.
3575 - Only filter Visual Studio common filename prefixes on complete
3580 - Fix the build of the SCons documentation on systems that don't
3581 have "python" in the $PATH.
3585 - Enhance ParseConfig() to recognize options that begin with '+'.
3587 From John Calcote, Elliot Murphy:
3589 - Document ways to override the CCPDBFLAGS variable to use the
3590 Microsoft linker's /Zi option instead of the default /Z7.
3592 From Christopher Drexler:
3594 - Make SCons aware bibtex must be called if any \include files
3595 cause creation of a bibliography.
3597 - Make SCons aware that "\bilbiography" in TeX source files means
3598 that related .bbl and .blg bibliography files will be created.
3599 (NOTE: This still needs to search for the string in \include files.)
3603 - Fix inconsistent handling of Action strfunction arguments.
3605 - Preserve white space in display Action strfunction strings.
3607 From James Y. Knight and Gerard Patel:
3609 - Support creation of shared object files from assembly language.
3613 - Speed up the Taskmaster significantly by avoiding unnecessary
3614 re-scans of Nodes to find out if there's work to be done, having it
3615 track the currently-executed top-level target directly and not
3616 through its presence on the target list, and eliminating some other
3617 minor list(s), method(s) and manipulation.
3619 - Fix the expansion of $TARGET and $SOURCE in the expansion of
3620 $INSTALLSTR displayed for non-environment calls to InstallAs().
3622 - Fix the ability to have an Alias() call refer to a directory
3623 name that's not identified as a directory until later.
3625 - Enhance runtest.py with an option to use QMTest as the harness.
3626 This will become the default behavior as we add more functionality
3629 - Let linking on mingw use the default function that chooses $CC (gcc)
3630 or $CXX (g++) depending on whether there are any C++ source files.
3632 - Work around a bug in early versions of the Python 2.4 profile module
3633 that caused the --profile= option to fail.
3635 - Only call Options validators and converters once when initializing a
3636 construction environment.
3638 - Fix the ability of env.Append() and env.Prepend(), in all known Python
3639 versions, to handle different input value types when the construction
3640 variable being updated is a dictionary.
3642 - Add a --cache-debug option for information about what files it's
3643 looking for in a CacheDir().
3645 - Document the difference in construction variable expansion between
3646 {Action,Builder}() and env.{Action,Builder}().
3648 - Change the name of env.Copy() to env.Clone(), keeping the old name
3649 around for backwards compatibility (with the intention of eventually
3650 phasing it out to avoid confusion with the Copy() Action factory).
3654 - Support cleaning and scanning SWIG-generated files.
3658 - Allow selection of Visual Studio version by setting $MSVS_VERSION
3659 after construction environment initialization.
3661 From Jean-Baptiste Lab:
3663 - Try using zipimport if we can't import Tool or Platform modules
3664 using the normal "imp" module. This allows SCons to be packaged
3665 using py2exe's all-in-one-zip-file approach.
3669 - Do not re-scan files if the scanner returns no implicit dependencies.
3671 From Sanjoy Mahajan:
3673 - Change use of $SOURCES to $SOURCE in all TeX-related Tool modules.
3675 From Joel B. Mohler:
3677 - Make SCons aware that "\makeindex" in TeX source files means that
3678 related .ilg, .ind and .idx index files will be created.
3679 (NOTE: This still needs to search for the string in \include files.)
3681 - Prevent scanning the TeX .aux file for additional files from
3682 trying to remove it twice when the -c option is used.
3684 From Leanid Nazdrynau:
3686 - Give the MSVC RES (resource) Builder a src_builder list and a .rc
3687 src_suffix so other builders can generate .rc files.
3689 From Matthew A. Nicholson:
3691 - Enhance Install() and InstallAs() to handle directory trees as sources.
3695 - Don't use the -fPIC flag when using gcc on Windows (e.g. MinGW).
3699 - Add an env.ParseFlags() method that provides separate logic for
3700 parsing GNU tool chain flags into a dictionary.
3702 - Add an env.MergeFlags() method to apply an arbitrary dictionary
3703 of flags to a construction environment's variables.
3705 From Gary Oberbrunner:
3707 - Fix parsing tripartite Intel C compiler version numbers on Linux.
3709 - Extend the ParseConfig() function to recognize -arch and
3712 - Have the error message list the known suffixes when a Builder call
3713 can't build a source file with an unknown suffix.
3715 From Karol Pietrzak:
3717 - Avoid recursive calls to main() in the program snippet used by the
3718 SConf subsystem to test linking against libraries. This changes the
3719 default behavior of CheckLib() and CheckLibWithHeader() to print
3720 "Checking for C library foo..." instead of "Checking for main()
3721 in C library foo...".
3725 - Throw an exception if a command called by ParseConfig() or
3726 ParseFlags() returns an error.
3728 From Stefan Seefeld:
3730 - Initial infrastructure for running SCons tests under QMTest.
3734 - Fix tests that fail due to gcc warnings.
3736 From Dobes Vandermeer:
3738 - In stack traces, print the full paths of SConscript files.
3742 - Fix detection of Visual C++ Express Edition.
3744 From Dobes Vandermeer:
3746 - Let the src_dir option to the SConscript() function affect all the
3747 the source file paths, instead of treating all source files paths
3748 as relative to the SConscript directory itself.
3750 From Nicolas Vigier:
3752 - Fix finding Fortran modules in build directories.
3754 - Fix use of BuildDir() when the source file in the source directory
3755 is a symlink with a relative path.
3759 - Fix the Memoizer when the SCons Python modules are executed from
3760 .pyo files at different locations from where they were compiled.
3764 - Fix missing os.path.join() when constructing the $FRAMEWORKSDKDIR/bin.
3768 RELEASE 0.96.92 - Mon, 10 Apr 2006 21:08:22 -0400
3770 NOTE: This was a pre-release of 0.97 for testing purposes.
3774 - Fix the intelc.py Tool module to not throw an exception if the
3775 only installed version is something other than ia32.
3777 - Set $CCVERSION when using gcc.
3781 - Support generating project and solution files for Microsoft
3782 Visual Studio version 8.
3784 - Support generating more than one project file for a Microsoft
3785 Visual Studio solution file.
3787 - Add support for a support "runfile" parameter to Microsoft
3788 Visual Studio project file creation.
3790 - Put the project GUID, not the solution GUID, in the right spot
3791 in the solution file.
3793 From Erling Andersen:
3795 - Fix interpretation of Node.FS objects wrapped in Proxy instances,
3796 allowing expansion of things like ${File(TARGET)} in command lines.
3798 From Stanislav Baranov:
3800 - Add a separate MSVSSolution() Builder, with support for the
3801 following new construction variables: $MSVSBUILDCOM, $MSVSCLEANCOM,
3802 $MSVSENCODING, $MSVSREBUILDCOM, $MSVSSCONS, $MSVSSCONSCOM,
3803 $MSVSSCONSFLAGS, $MSVSSCONSCRIPT and $MSVSSOLUTIONCOM.
3805 From Ralph W. Grosse-Kunstleve and Patrick Mezard:
3807 - Remove unneceesary (and incorrect) SCons.Util strings on some function
3808 calls in SCons.Util.
3812 - Fix C/C++ compiler selection on AIX to not always use the external $CC
3813 environment variable.
3815 From August Hörandl:
3817 - Add a scanner for \include and \import files, with support for
3818 searching a directory list in $TEXINPUTS (imported from the external
3821 - Support $MAKEINDEX, $MAKEINDEXCOM, $MAKEINDEXCOMSTR and
3822 $MAKEINDEXFLAGS for generating indices from .idx files.
3824 From Steven Johnson:
3826 - Add a NoClean() Environment method and function to override removal
3827 of targets during a -c clean, including documentation and tests.
3831 - Check for whether files exist on disk by listing the directory
3832 contents, not calling os.path.exists() file by file. This is
3833 somewhat more efficient in general, and may be significantly
3834 more efficient on Windows.
3836 - Minor speedups in the internal is_Dict(), is_List() and is_String()
3839 - Fix a signature refactoring bug that caused Qt header files to
3840 get re-generated every time.
3842 - Don't fail when writing signatures if the .sconsign.dblite file is
3843 owned by a different user (e.g. root) from a previous run.
3845 - When deleting variables from stacked OverrideEnvironments, don't
3846 throw a KeyError if we were able to delte the variable from any
3847 Environment in the stack.
3849 - Get rid of the last indentation tabs in the SCons source files and
3850 add -tt to the Python invocations in the packaging build and the
3851 tests so they don't creep back in.
3853 - In Visual Studio project files, put quotes around the -C directory
3854 so everything works even if the path has spaces in it.
3856 - The Intel Fortran compiler uses -object:$TARGET, not "-o $TARGET",
3857 when building object files on Windows. Have the the ifort Tool
3858 modify the default command lines appropriately.
3860 - Document the --debug=explain option in the man page. (How did we
3863 - Add a $LATEXRETRIES variable to allow configuration of the number of
3864 times LaTex can be re-called to try to resolve undefined references.
3866 - Change the order of the arguments to Configure.Checklib() to match
3869 - Handle signature calculation properly when the Python function used
3870 for a FunctionAction is an object method.
3872 - On Windows, assume that absolute path names without a drive letter
3873 refer to the drive on which the SConstruct file lives.
3875 - Add /usr/ccs/bin to the end of the the default external execution
3878 - Add $PKGCHK and $PKGINFO variables for use on Solaris when searching
3879 for the SunPRO C++ compiler. Make the default value for $PKGCHK
3880 be /usr/sbin/pgkchk (since /usr/sbin isn't usually on the external
3883 - Fix a man page example of overriding variables when calling
3884 SharedLibrary() to also set the $LIBSUFFIXES variable.
3886 - Add a --taskmastertrace=FILE option to give some insight on how
3887 the taskmaster decides what Node to build next.
3889 - Changed the names of the old $WIN32DEFPREFIX, $WIN32DEFSUFFIX,
3890 $WIN32DLLPREFIX and $WIN32IMPLIBPREFIX construction variables to
3891 new $WINDOWSDEFPREFIX, $WINDOWSDEFSUFFIX, $WINDOWSDLLPREFIX and
3892 $WINDOWSIMPLIBPREFIX construction variables. The old names are now
3893 deprecated, but preserved for backwards compatibility.
3895 - Fix (?) a runtest.py hang on Windows when the --xml option is used.
3897 - Change the message when an error occurs trying to interact with the
3898 file system to report the target(s) in square brackets (as before) and
3899 the actual file or directory that encountered the error afterwards.
3903 - Add x64 support for Microsoft Visual Studio 8.
3905 From Baptiste Lepilleur:
3907 - Support the --debug=memory option on Windows when the Python version
3908 has the win32process and win32api modules.
3910 - Add support for Visual Studio 2005 Pro.
3912 - Fix portability issues in various tests: test/Case.py,
3913 Test/Java/{JAR,JARCHDIR,JARFLAGS,JAVAC,JAVACFLAGS,JAVAH,RMIC}.py,
3914 test/MSVS/vs-{6.0,7.0,7.1,8.0}-exec.py,
3915 test/Repository/{Java,JavaH,RMIC}.py,
3916 test/QT/{generated-ui,installed,up-to-date,warnings}.py,
3919 - Ignore pkgchk errors on Solaris when searching for the C++ compiler.
3921 - Speed up the SCons/EnvironmentTests.py unit tests.
3923 - Add a --verbose= option to runtest.py to print executed commands
3924 and their output at various levels.
3926 From Christian Maaser:
3928 - Add support for Visual Studio Express Editions.
3930 - Add support for Visual Studio 8 *.manifest files, includng
3931 new $WINDOWS_INSERT_MANIFEST, $WINDOWSPROGMANIFESTSUFFIX,
3932 $WINDOWSPROGMANIFESTPREFIX, $WINDOWSPROGMANIFESTSUFFIX,
3933 $WINDOWSSHLIBMANIFESTPREFIX and $WINDOWSSHLIBMANIFESTSUFFIX
3934 construction variables.
3938 - Fix detection of additional Java inner classes following use of a
3939 "new" keyword inside an inner class.
3941 From Sanjoy Mahajan:
3943 - Correct TeX-related command lines to just $SOURCE, not $SOURCES
3945 From Patrick Mezard:
3947 - Execute build commands for a command-line target if any of the
3948 files built along with the target is out of date or non-existent,
3949 not just if the command-line target itself is out of date.
3951 - Fix the -n option when used with -c to print all of the targets
3952 that will be removed for a multi-target Builder call.
3954 - If there's no file in the source directory, make sure there isn't
3955 one in the build directory, too, to avoid dangling files left
3956 over from previous runs when a source file is removed.
3958 - Allow AppendUnique() and PrependUnique() to append strings (and
3959 other atomic objects) to lists.
3961 From Joel B. Mohler:
3963 - Extend latex.py, pdflatex.py, pdftex.py and tex.py so that building
3964 from both TeX and LaTeX files uses the same logic to call $BIBTEX
3965 when it's necessary, to call $MAKEINDEX when it's necessary, and to
3966 call $TEX or $LATEX multiple times to handle undefined references.
3968 - Add an emitter to the various TeX builders so that the generated
3969 .aux and .log files also get deleted by the -c option.
3971 From Leanid Nazdrynau:
3973 - Fix the Qt UIC scanner to work with generated .ui files (by using
3974 the FindFile() function instead of checking by-hand for the file).
3976 From Jan Nieuwenhuizen:
3978 - Fix a problem with interpreting quoted argument lists on command lines.
3982 - Add /sw/bin to the default execution PATH on Mac OS X.
3986 - When building a .jar file and there is a $JARCHDIR, put the -C
3987 in front of each .class file on the command line.
3989 - Recognize the Java 1.5 enum keyword.
3991 From Asfand Yar Qazi:
3993 - Add /opt/bin to the default execution PATH on all POSIX platforms
3994 (between /usr/local/bin and /bin).
3998 - Fix the use of Configure() contexts from nested subsidiary
4001 From Christoph Schulz:
4003 - Add support for $CONFIGUREDIR and $CONFIGURELOG variables to control
4004 the directory and logs for configuration tests.
4006 - Add support for a $INSTALLSTR variable.
4008 - Add support for $RANLIBCOM and $RANLIBCOMSTR variables (which fixes
4009 a bug when setting $ARCOMSTR).
4013 - Add use of $CPPDEFINES to $RCCOM (resource file compilation) on MinGW.
4015 From Erick Tryzelaar:
4017 - Fix the error message when trying to report that a given option is
4018 not gettable/settable from an SConscript file.
4020 From Dobes Vandermeer:
4022 - Add support for SCC and other settings in Microsoft Visual
4023 Studio project and solution files: $MSVS_PROJECT_BASE_PATH,
4024 $MSVS_PROJECT_GUID, $MSVS_SCC_AUX_PATH, $MSVS_SCC_LOCAL_PATH,
4025 $MSVS_SCC_PROJECT_NAME, $MSVS_SCC_PROVIDER,
4027 - Add support for using a $SCONS_HOME variable (imported from the
4028 external environment, or settable internally) to put a shortened
4029 SCons execution line in the Visual Studio project file.
4031 From David J. Van Maren:
4033 - Only filter common prefixes from source files names in Visual Studio
4034 project files if the prefix is a complete (sub)directory name.
4038 - If $MSVSVERSIONS is already set, don't overwrite it with
4039 information from the registry.
4043 RELEASE 0.96.91 - Thu, 08 Sep 2005 07:18:23 -0400
4045 NOTE: This was a pre-release of 0.97 for testing purposes.
4049 - Have the environment store the toolpath and re-use it to find Tools
4050 modules during later Copy() or Tool() calls (unless overridden).
4052 - Normalize the directory path names in SConsignFile() database
4053 files so the same signature file can interoperate on Windows and
4054 non-Windows systems.
4056 - Make --debug=stacktrace print a stacktrace when a UserError is thrown.
4058 - Remove an old, erroneous cut-and-paste comment in Scanner/Dir.py.
4060 From Stanislav Baranov:
4062 - Make it possible to support with custom Alias (sub-)classes.
4064 - Allow Builders to take empty source lists when called.
4066 - Allow access to both TARGET and SOURCE in $*PATH expansions.
4068 - Allow SConscript files to modify BUILD_TARGETS.
4070 From Timothee Besset:
4072 - Add support for Objective C/C++ .m and .mm file suffixes (for
4077 - Fix the PharLap linkloc.py module to use target+source arguments
4078 when calling env.subst().
4080 From Bjorn Eriksson:
4082 - Fix an incorrect Command() keyword argument in the man page.
4084 - Add a $TEMPFILEPREFIX variable to control the prefix or flag used
4085 to pass a long-command-line-execution tempfile to a command.
4089 - Enhanced the SCons setup.py script to install man pages on
4092 - Add support for an Options.FormatOptionHelpText() method that can
4093 be overridden to customize the format of Options help text.
4095 - Add a global name for the Entry class (which had already been
4098 - Fix re-scanning of generated source files for implicit dependencies
4099 when the -j option is used.
4101 - Fix a dependency problem that caused $LIBS scans to not be added
4102 to all of the targets in a multiple-target builder call, which
4103 could cause out-of-order builds when the -j option is used.
4105 - Store the paths of source files and dependencies in the .sconsign*
4106 file(s) relative to the target's directory, not relative to the
4107 top-level SConstruct directory. This starts to make it possible to
4108 subdivide the dependency tree arbitrarily by putting an SConstruct
4109 file in every directory and using content signatures.
4111 - Add support for $YACCHFILESUFFIX and $YACCHXXFILESUFFIX variables
4112 that accomodate parser generators that write header files to a
4113 different suffix than the hard-coded .hpp when the -d option is used.
4115 - The default behavior is now to store signature information in a
4116 single .sconsign.dblite file in the top-level SConstruct directory.
4117 The old behavior of a separate .sconsign file in each directory can
4118 be specified by calling SConsignFile(None).
4120 - Remove line number byte codes within the signature calculation
4121 of Python function actions, so that changing the location of an
4122 otherwise unmodified Python function doesn't cause rebuilds.
4124 - Fix AddPreAction() and AddPostAction() when an action has more than
4125 one target file: attach the actions to the Executor, not the Node.
4127 - Allow the source directory of a BuildDir / build_dir to be outside
4128 of the top-level SConstruct directory tree.
4130 - Add a --debug=nomemoizer option that disables the Memoizer for clearer
4131 looks at the counts and profiles of the underlying function calls,
4132 not the Memoizer wrappers.
4134 - Print various --debug= stats even if we exit early (e.g. using -h).
4136 - Really only use the cached content signature value if the file
4137 is older than --max-drift, not just if --max-drift is set.
4139 - Remove support for conversion from old (pre 0.96) .sconsign formats.
4141 - Add support for a --diskcheck option to enable or disable various
4142 on-disk checks: that File and Dir nodes match on-disk entries;
4143 whether an RCS file exists for a missing source file; whether an
4144 SCCS file exists for a missing source file.
4146 - Add a --raw argument to the sconsign script, so it can print a
4147 raw representation of each entry's NodeInfo dictionary.
4149 - Add the 'f90' and 'f95' tools to the list of Fortran compilers
4150 searched for by default.
4152 - Add the +Z option by default when compiling shared objects on
4157 - Handle Visual Studio project and solution files in Unicode.
4159 From Sanjoy Mahajan:
4161 - Fix a bad use of Copy() in an example in the man page, and a
4162 bad regular expression example in the man page and User's Guide.
4166 - Have the Visual Studio project file(s) echo "Starting SCons" before
4167 executing SCons, mainly to work around a quote-stripping bug in
4168 (some versions of?) the Windows cmd command executor.
4170 From Georg Mischler:
4172 - Remove the space after the -o option when invoking the Borland
4173 BCC compiler; some versions apparently require that the file name
4174 argument be concatenated with the option.
4176 From Leanid Nazdrynau:
4178 - Fix the Java parser's handling of backslashes in strings.
4182 - Add construction variables to support frameworks on Mac OS X:
4183 $FRAMEWORKS, $FRAMEWORKPREFIX, $FRAMEWORKPATH, $FRAMEWORKPATHPREFIX.
4185 - Re-order link lines so the -o option always comes right after the
4188 From Gary Oberbrunner:
4190 - Add support for Intel C++ beta 9.0 (both 32 and 64 bit versions).
4192 - Document the new $FRAMEWORK* variables for Mac OS X.
4194 From Karol Pietrzak:
4196 - Add $RPATH (-R) support to the Sun linker Tool (sunlink).
4198 - Add a description of env.subst() to the man page.
4202 - Look in the right directory, not always the local directory, for a
4203 same-named file or directory conflict on disk.
4205 - On Windows, preserve the external environment's %SYSTEMDRIVE%
4210 - Have the Fortran module emitter look for Fortan modules to be created
4211 relative to $FORTRANMODDIR, not the top-level directory.
4213 - When saving Options to a file, run default values through the
4214 converter before comparing them with the set values. This correctly
4215 suppresses Boolean Option values from getting written to the saved
4216 file when they're one of the many synonyms for a default True or
4219 - Fix the Fortran Scanner's ability to handle a module being used
4220 in the same file in which it is defined.
4224 - Add the -KPIC option by default when compiling shared objects on
4227 - Change the default suffix for Solaris objects to .o, to conform to
4228 Sun WorkShop's expectations. Change the profix to so_ so they can
4229 still be differentiated from static objects in the same directory.
4233 - When calling the resource compiler on MinGW, add --include-dir and
4234 the source directory so it finds the source file.
4236 - Update EnsureSConsVersion() to support revision numbers.
4240 - Fix a misplaced line in the man page.
4244 RELEASE 0.96.90 - Tue, 15 Feb 2005 21:21:12 +0000
4246 NOTE: This was a pre-release of 0.97 for testing purposes.
4250 - Fix Java parsing to avoid erroneously identifying a new array
4251 of class instances as an anonymous inner class.
4253 - Fix a typo in the man page description of PathIsDirCreate.
4257 - Allow Help() to be called multiple times, appending to the help
4260 - Allow Tools found on a toolpath to import Python modules from
4261 their local directory.
4263 From Steve Christensen:
4265 - Handle exceptions from Python functions as build actions.
4267 - Add a set of canned PathOption validators: PathExists (the default),
4268 PathIsFile, PathIsDir and PathIsDirCreate.
4272 - Add support for .lex and .yacc file suffixes for Lex and Yacc files.
4276 - Huge performance improvement: wrap the tuples representing an
4277 include path in an object, so that the time it takes to hash the
4278 path doesn't grow porportionally to the length of the path.
4280 From Gottfried Ganssauge:
4282 - Fix SCons on SuSE/AMD-64 Linux by having the wrapper script also
4283 check for the build engine in the parent directory of the Python
4284 library directory (/usr/lib64 instead of /usr/lib).
4286 From Stephen Kennedy:
4288 - Speed up writing the .sconsign file at the end of a run by only
4289 calling sync() once at the end, not after every entry.
4293 - When compiling with Microsoft Visual Studio, don't include the ATL and
4294 MFC directories in the default INCLUDE and LIB environment variables.
4296 - Remove the following deprecated features: the ParseConfig()
4297 global function (deprecated in 0.93); the misspelled "validater"
4298 keyword to the Options.Add() method (deprecated in 0.91); the
4299 SetBuildSignatureType(), SetContentSignatureType(), SetJobs() and
4300 GetJobs() global functions (deprecated in 0.14).
4302 - Fix problems with corrupting the .sconsign.dblite file when
4303 interrupting builds by writing to a temporary file and renaming,
4304 not writing the file directly.
4306 - Fix a 0.96 regression where when running with -k, targets built from
4307 walking dependencies later on the command line would not realize
4308 that a dependency had failed an earlier build attempt, and would
4309 try to rebuild the dependent targets.
4311 - Change the final messages when using -k and errors occur from
4312 "{building,cleaning} terminated because of errors" to "done
4313 {building,cleaning} targets (errors occurred during {build,clean})."
4315 - Allow Configure.CheckFunc() to take an optional header argument
4316 (already supported by Conftest.py) to specify text at the top of
4317 the compiled test file.
4319 - Fix the --debug=explain output when a Python function action changed
4320 so it prints a meaningful string, not the binary representation of
4321 the function contents.
4323 - Allow a ListOption's default value(s) to be a Python list of specified
4324 values, not just a string containing a comma-separated list of names.
4326 - Add a ParseDepends() function that will parse up a list of explicit
4327 dependencies from a "make depend" style file.
4329 - Support the ability to change directory when executing an Action
4330 through "chdir" keyword arguments to Action and Builder creation
4333 - Fix handling of Action ojects (and other callables that don't match
4334 our calling arguments) in construction variable expansions.
4336 - On Win32, install scons.bat in the Python directory when installing
4337 from setup.py. (The bdist_wininst installer was already doing this.)
4339 - Fix env.SConscript() when called with a list of SConscipt files.
4340 (The SConscript() global function already worked properly.)
4342 - Add a missing newline to the end of the --debug=explain "unknown
4345 - Enhance ParseConfig() to work properly for spaces in between the -I,
4346 -L and -l options and their arguments.
4348 - Packaging build fix: Rebuild the files that are use to report the
4349 --version of SCons whenever the development version number changes.
4351 - Fix the ability to specify a target_factory of Dir() to a Builder,
4352 which the default create-a-directory Builder was interfering with.
4354 - Mark a directory as built if it's created as part of the preparation
4355 for another target, to avoid trying to build it again when it comes
4356 up in the target list.
4358 - Allow a function with the right calling signature to be put directly
4359 in an Environment's BUILDERS dictionary, making for easier creation
4360 and use of wrappers (pseudo-Builders) that call other Builders.
4362 - On Python 2.x, wrap lists of Nodes returned by Builders in a UserList
4363 object that adds a method that makes str() object return a string
4364 with all of the Nodes expanded to their path names. (Builders under
4365 Python 1.5.2 still return lists to avoid TypeErrors when trying
4366 to extend() list, so Python 1.5.2 doesn't get pretty-printing of Node
4367 lists, but everything should still function.)
4369 - Allow Aliases to have actions that will be executed whenever
4370 any of the expanded Alias targets are out of date.
4372 - Fix expansion of env.Command() overrides within target and
4375 - Support easier customization of what's displayed by various default
4376 actions by adding lots of new construction variables: $ARCOMSTR,
4377 $ASCOMSTR, $ASPPCOMSTR, $BIBTEXCOMSTR, $BITKEEPERCOMSTR, $CCCOMSTR,
4378 $CVSCOMSTR, $CXXCOMSTR, $DCOMSTR, $DVIPDFCOMSTR, $F77COMSTR,
4379 $F90COMSTR, $F95COMSTR, $FORTRANCOMSTR, $GSCOMSTR, $JARCOMSTR,
4380 $JAVACCOMSTR, $JAVAHCOMSTR, $LATEXCOMSTR, $LEXCOMSTR, $LINKCOMSTR,
4381 $M4COMSTR, $MIDLCOMSTR, $P4COMSTR, $PCHCOMSTR, $PDFLATEXCOMSTR,
4382 $PDFTEXCOMSTR, $PSCOMSTR, $QT_MOCFROMCXXCOMSTR, $QT_MOCFROMHCOMSTR,
4383 $QT_UICCOMSTR, $RCCOMSTR, $REGSVRCOMSTR, $RCS_COCOMSTR, $RMICCOMSTR,
4384 $SCCSCOMSTR, $SHCCCOMSTR, $SHCXXCOMSTR, $SHF77COMSTR, $SHF90COMSTR,
4385 $SHF95COMSTR, $SHFORTRANCOMSTR, $SHLINKCOMSTR, $SWIGCOMSTR,
4386 $TARCOMSTR, $TEXCOMSTR, $YACCCOMSTR and $ZIPCOMSTR.
4388 - Add an optional "map" keyword argument to ListOption() that takes a
4389 dictionary to map user-specified values to legal values from the list
4390 (like EnumOption() already doee).
4392 - Add specific exceptions to try:-except: blocks without any listed,
4393 so that they won't catch and mask keyboard interrupts.
4395 - Make --debug={tree,dtree,stree} print something even when there's
4398 - Fix how Scanners sort the found dependencies so that it doesn't
4399 matter whether the dependency file is in a Repository or not.
4400 This may cause recompilations upon upgrade to this version.
4402 - Make AlwaysBuild() work with Alias and Python value Nodes (making
4403 it much simpler to support aliases like "clean" that just invoke
4404 an arbitrary action).
4406 - Have env.ParseConfig() use AppendUnique() by default to suppress
4407 duplicate entries from multiple calls. Add a "unique" keyword
4408 argument to allow the old behavior to be specified.
4410 - Allow the library modules imported by an SConscript file to get at
4411 all of the normally-available global functions and variables by saying
4412 "from SCons.Script import *".
4414 - Add a --debug=memoizer option to print Memoizer hit/mass statistics.
4416 - Allow more than one --debug= option to be set at a time.
4418 - Change --debug=count to report object counts before and after
4419 reading SConscript files and before and after building targets.
4421 - Change --debug=memory output to line up the numbers and to better
4422 match (more or less) the headers on the --debug=count columns.
4424 - Speed things up when there are lists of targets and/or sources by
4425 getting rid of some N^2 walks of the lists involved.
4427 - Cache evaluation of LazyActions so we don't create a new object
4428 for each invocation.
4430 - When scanning, don't create Nodes for include files that don't
4431 actually exist on disk.
4433 - Make supported global variables CScanner, DScanner, ProgramScanner and
4434 SourceFileScanner. Make SourceFileScanner.add_scanner() a supported
4435 part of the public interface. Keep the old SCons.Defaults.*Scan names
4436 around for a while longer since some people were already using them.
4438 - By default, don't scan directories for on-disk files. Add a
4439 DirScanner global scanner that can be used in Builders or Command()
4440 calls that want source directory trees scanned for on-disk changes.
4441 Have the Tar() and Zip() Builders use the new DirScanner to preserve
4442 the behavior of rebuilding a .tar or .zip file if any file or
4443 directory under a source tree changes. Add Command() support for
4444 a source_scanner keyword argument to Command() that can be set to
4445 DirScanner to get this behavior.
4447 - Documentation changes: Explain that $CXXFLAGS contains $CCFLAGS
4448 by default. Fix a bad target_factory example in the man page.
4449 Add appendices to the User's Guide to cover the available Tools,
4450 Builders and construction variables. Comment out the build of
4451 the old Python 10 paper, which doesn't build on all systems and
4452 is old enough at this point that it probably isn't worth the
4453 effort to make it do so.
4457 - Avoid "maximum recursion limit" errors when removing $(-$) pairs
4458 from long command lines.
4460 From Clive Levinson:
4462 - Make ParseConfig() recognize and add -mno-cygwin to $LINKFLAGS and
4463 $CCFLAGS, and -mwindows to $LINKFLAGS.
4465 From Michael McCracken:
4467 - Add a new "applelink" tool to handle the things like Frameworks and
4468 bundles that Apple has added to gcc for linking.
4470 - Use more appropriate default search lists of linkers, compilers and
4471 and other tools for the 'darwin' platform.
4473 - Add a LoadableModule Builder that builds a bundle on Mac OS X (Darwin)
4474 and a shared library on other systems.
4476 - Improve SWIG tests for use on Mac OS X (Darwin).
4480 - Enhance the tests to guarantee persistence of ListOption
4481 values in saved options files.
4483 - Supply the help text when -h is used with the -u, -U or -D options.
4485 From Christian Neeb:
4487 - Fix the Java parser's handling of string definitions to avoid ignoring
4490 From Han-Wen Nienhuys:
4492 - Optimize variable expansion by: using the re.sub() method (when
4493 possible); not using "eval" for variables for which we can fetch the
4494 value directory; avoiding slowing substitution logic when there's no
4497 From Gary Oberbrunner:
4499 - Add an Environment.Dump() method to print the contents of a
4500 construction environment.
4502 - Allow $LIBS (and similar variables) to contain explicit File Nodes.
4504 - Change ParseConfig to add the found library names directly to the
4505 $LIBS variable, instead of returning them.
4507 - Add ParseConfig() support for the -framework GNU linker option.
4509 - Add a PRINT_CMD_LINE_FUNC construction variable to allow people
4510 to filter (or log) command-line output.
4512 - Print an internal Python stack trace in response to an otherwise
4513 unexplained error when --debug=stacktrace is specified.
4515 - Add a --debug=findlibs option to print what's happening when
4516 the scanner is searching for libraries.
4518 - Allow Tool specifications to be passed a dictionary of keyword
4521 - Support an Options default value of None, in which case the variable
4522 will not be added to the construction environment unless it's set
4523 explicitly by the user or from an Options file.
4525 - Avoid copying __builtin__ values into a construction environment's
4526 dictionary when evaluating construction variables.
4528 - Add a new cross-platform intelc.py Tool that can detect and
4529 configure the Intel C++ v8 compiler on both Windows, where it's
4530 named icl, and Linux, where it's named icc. It also checks that
4531 the directory specified in the Windows registry exists, and sets a
4532 new $INTEL_C_COMPILER_VERSION construction variable to identify the
4533 version being used. (Niall Douglas contributed an early prototype
4534 of parts of this module.)
4536 - Fix the private Conftest._Have() function so it doesn't change
4537 non-alphanumeric characters to underscores.
4539 - Supply a better error message when a construction variable expansion
4540 has an unknown attribute.
4542 - Documentation changes: Update the man page to describe use of
4543 filenames or Nodes in $LIBS.
4547 - Have the linkloc tool use $MSVS_VERSION to select the Microsoft
4548 Visual Studio version to use.
4552 - Fix the Builder name returned from ListBuilders and other instances
4553 of subclasses of the BuilderBase class.
4555 - Add Builders and construction variables to support rpcgen:
4556 RPCGenClient(), RPCGenHeader(), RPCGenService(), RPCGenXDR(),
4557 $RPCGEN, $RPCGENFLAGS, $RPCGENCLIENTFLAGS, $RPCGENHEADERFLAGS,
4558 $RPCGENSERVICEFLAGS, $RPCGENXDRFLAGS.
4560 - Update the man page to document that prefix and suffix Builder
4561 keyword arguments can be strings, callables or dictionaries.
4563 - Provide more info in the error message when a user tries to build
4564 a target multiple ways.
4566 - Fix Delete() when a file doesn't exist and must_exist=1. (We were
4567 unintentionally dependent on a bug in versions of the Python shutil.py
4568 module prior to Python 2.3, which would generate an exception for
4569 a nonexistent file even when ignore_errors was set.)
4571 - Only replace a Node's builder with a non-null source builder.
4573 - Fix a stack trace when a suffix selection dictionary is passed
4574 an empty source file list.
4576 - Allow optional names to be attached to Builders, for default
4577 Builders that don't get attached to construction environments.
4579 - Fix problems with Parallel Task Exception handling.
4581 - Build targets in an associated BuildDir even if there are targets
4582 or subdirectories locally in the source directory.
4584 - If a FunctionAction has a callable class as its underlying Python
4585 function, use its strfunction() method (if any) to display the
4588 - Fix handling when BuildDir() exists but is unwriteable. Add
4589 "Stop." to those error messages for consistency.
4591 - Catch incidents of bad builder creation (without an action) and
4592 supply meaningful error messages.
4594 - Fix handling of src_suffix values that aren't extensions (don't
4597 - Don't retrieve files from a CacheDir, but report what would happen,
4598 when the -n option is used.
4600 - Use the source_scanner from the target Node, not the source node
4603 - Internal Scanners fixes: Make sure Scanners are only passed Nodes.
4604 Fix how a Scanner.Selector called its base class initialization.
4605 Make comparisons of Scanner objects more robust. Add a name to
4606 an internal default ObjSourceScanner.
4608 - Add a deprecated warning for use of the old "scanner" keyword argument
4609 to Builder creation.
4611 - Improve the --debug=explain message when the build action changes.
4613 - Test enhancements in SourceCode.py, option-n.py, midl.py. Better
4614 Command() and Scanner test coverage. Improved test infrastructure
4617 - Refactor the interface between Action and Executor objects to treat
4620 - The --debug=presub option will now report the pre-substitution
4621 each action seprately, instead of reporting the entire list before
4622 executing the actions one by one.
4624 - The --debug=explain option explaining a changed action will now
4625 (more correctly) show pre-substitution action strings, instead of
4626 the commands with substituted file names.
4628 - A Node (file) will now be rebuilt if its PreAction or PostAction
4631 - Python Function actions now have their calling signature (target,
4632 source, env) reported correctly when displayed.
4634 - Fix BuildDir()/build_dir handling when the build_dir is underneath
4635 the source directory and trying to use entries from the build_dir
4636 as sources for other targets in the build-dir.
4638 - Fix hard-coding of JDK path names in various Java tests.
4640 - Handle Python stack traces consistently (stop at the SConscript stack
4641 frame, by default) even if the Python source code isn't available.
4643 - Improve the performance of the --debug={tree,dtree} options.
4645 - Add --debug=objects logging of creation of OverrideWarner,
4646 EnvironmentCopy and EnvironmentOverride objects.
4648 - Fix command-line expansion of Python Value Nodes.
4650 - Internal cleanups: Remove an unnecessary scan argument. Associate
4651 Scanners only with Builders, not nodes. Apply overrides once when
4652 a Builder is called, not in multiple places. Cache results from the
4653 Node.FS.get_suffix() and Node.get_build_env() methods. Use the Python
4654 md5 modules' hexdigest() method, if there is one. Have Taskmaster
4655 call get_stat() once for each Node and re-use the value instead of
4656 calling it each time it needs the value. Have Node.depends_on()
4657 re-use the list from the children() method instead of calling it
4660 - Use the correct scanner if the same source file is used for targets in
4661 two different environments with the same path but different scanners.
4663 - Collect logic for caching values in memory in a Memoizer class,
4664 which cleans up a lot of special-case code in various methods and
4665 caches additional values to speed up most configurations.
4667 - Add a PathAccept validator to the list of new canned PathOption
4672 - Documentation changes: Use $CPPDEFINES instead of $CCFLAGS in man
4677 - Allow $JARCHDIR to be expanded to other construction variables.
4679 From Christoph Wiedemann:
4681 - Add an Environment.SetDefault() method that only sets values if
4682 they aren't already set.
4684 - Have the qt.py Tool not override variables already set by the user.
4686 - Add separate $QT_BINPATH, $QT_CPPPATH and $QT_LIBPATH variables
4687 so these can be set individually, instead of being hard-wired
4690 - The %TEMP% and %TMP% external environment variables are now propagated
4691 automatically to the command execution environment on Windows systems.
4693 - A new --config= command-line option allows explicit control of
4694 of when the Configure() tests are run: --config=force forces all
4695 checks to be run, --config=cache uses all previously cached values,
4696 --config=auto (the default) runs tests only when dependency analysis
4697 determines it's necessary.
4699 - The Configure() subsystem can now write a config.h file with values
4700 like HAVE_STDIO_H, HAVE_LIBM, etc.
4702 - The Configure() subsystem now executes its checks silently when the
4703 -Q option is specified.
4705 - The Configure() subsystem now reports if a test result is being
4706 taken from cache, and prints the standard output and error output
4707 of tests even when cached.
4709 - Configure() test results are now reported as "yes" or "no" instead of
4712 - Fixed traceback printing when calling the env.Configure() method
4713 instead of the Configure() global function.
4715 - The Configure() subsystem now caches build failures in a .sconsign
4716 file in the subdirectory, not a .cache file. This may cause
4717 tests to be re-executed the first time after you install 0.97.
4719 - Additional significant internal cleanups in the Configure() subsystem
4722 - Have the Qt Builder make uic-generated files dependent on the .ui.h
4723 file, if one exists.
4725 - Add a test to make sure that SCons source code does not contain
4726 try:-except: blocks that catch all errors, which potentially catch
4727 and mask keyboard interrupts.
4729 - Fix us of TargetSignatures('content') with the SConf subsystem.
4731 From Russell Yanofsky:
4733 - Add support for the Metrowerks Codewarrior compiler and linker
4738 RELEASE 0.96.1 - Mon, 23 Aug 2004 12:55:50 +0000
4740 From Craig Bachelor:
4742 - Handle white space in the executable Python path name within in MSVS
4743 project files by quoting the path.
4745 - Correct the format of a GUID string in a solution (.dsw) file so
4746 MSVS can correctly "build enable" a project.
4750 - Add a must_exist flag to Delete() to let the user control whether
4751 it's an error if the specified entry doesn't exist. The default
4752 behavior is now to silently do nothing if it doesn't exist.
4754 - Package up the new Platform/darwin.py, mistakenly left out of 0.96.
4756 - Make the scons.bat REM statements into @REM so they aren't printed.
4758 - Make the SCons packaging SConscript files platform independent.
4762 - Fix scanning of pre-compiled header (.pch) files for #includes,
4767 RELEASE 0.96 - Wed, 18 Aug 2004 13:36:40 +0000
4771 - Make the CacheDir() directory if it doesn't already exist.
4773 - Allow construction variable substitutions in $LIBS specifications.
4775 - Allow the emitter argument to a Builder() to be or expand to a list
4776 of emitter functions, which will be called in sequence.
4778 - Suppress null values in construction variables like $LIBS that use
4779 the internal _concat() function.
4781 - Remove .dll files from the construction variables searched for
4782 libraries that can be fed to Win32 compilers.
4784 From Chad Austin and Christoph Wiedemann:
4786 - Add support for a $RPATH variable to supply a list of directories
4787 to search for shared libraries when linking a program. Used by
4788 the GNU and IRIX linkers (gnulink and sgilink).
4792 - Restore the ability to do construction variable substitutions in all
4793 kinds of *PATH variables, even when the substitution returns a Node
4798 - Allow the Java() Builder to take more than one source directory.
4800 From Ralf W. Grosse-Kunstleve:
4802 - Have SConsignFile() use, by default, a custom "dblite.py" that we can
4803 control and guarantee to work on all Python versions (or nearly so).
4805 From Jonathan Gurley:
4807 - Add support for the newer "ifort" versions of the Intel Fortran
4812 - Make the new *FLAGS variable type work with copied Environments.
4814 From Chris Hoeppler:
4816 - Initialize the name of a Scanner.Classic scanner correctly.
4820 - Add support for the .dylib shared library suffix and the -dynamiclib
4821 linker option on Mac OS X.
4825 - Add an Execute() method for executing actions directly.
4827 - Support passing environment override keyword arguments to Command().
4829 - Fix use of $MSVS_IGNORE_IDE_PATHS, which was broken when we added
4830 support for $MSVS_USE_MFC_DIRS last release.
4832 - Make env.Append() and env.Prepend() act like the underlying Python
4833 behavior when the variable being appended to is a UserList object.
4835 - Fix a regression that prevented the Command() global function in
4836 0.95 from working with command-line strings as actions.
4838 - Fix checking out a file from a source code management system when
4839 the env.SourceCode() method was called with an individual file name
4840 or node, not a directory name or node.
4842 - Enhance the Task.make_ready() method to create a list of the
4843 out-of-date Nodes for the task for use by the wrapping interface.
4845 - Allow Scanners to pull the list of suffixes from the construction
4846 environment when the "skeys" keyword argument is a string containing
4847 a construction variable to be expanded.
4849 - Support new $CPPSUFFIXES, $DSUFFIXES $FORTRANSUFFIXES, and
4850 $IDLSUFFIXES. construction variables that contain the default list
4851 of suffixes to be scanned by a given type of scanner, allowing these
4852 suffix lists to be easily added to or overridden.
4854 - Speed up Node creation when calling a Builder by comparing whether two
4855 Environments are the same object, not if their underlying dictionaries
4858 - Add a --debug=explain option that reports the reason(s) why SCons
4859 thinks it must rebuild something.
4861 - Add support for functions that return platform-independent Actions
4862 to Chmod(), Copy(), Delete(), Mkdir(), Move() and Touch() files
4863 and/or directories. Like any other Actions, the returned Action
4864 object may be executed directly using the Execute() global function
4865 or env.Execute() environment method, or may be used as a Builder
4866 action or in an env.Command() action list.
4868 - Add support for the strfunction argument to all types of Actions:
4869 CommandAction, ListAction, and CommandGeneratorAction.
4871 - Speed up turning file system Nodes into strings by caching the
4872 values after we're finished reading the SConscript files.
4874 - Have ParseConfig() recognize and supporting adding the -Wa, -Wl,
4875 and -Wp, flags to ASFLAGS, LINKFLAGS and CPPFLAGS, respectively.
4877 - Change the .sconsign format and the checks for whether a Node is
4878 up-to-date to make dependency checks more efficient and correct.
4880 - Add wrapper Actions to SCons.Defaults for $ASCOM, $ASPPCOM, $LINKCOM,
4881 $SHLINKCOM, $ARCOM, $LEXCOM and $YACCCOM. This makes it possible
4882 to replace the default print behavior with a custom strfunction()
4885 - When a Node has been built, don't walk the whole tree back to delete
4886 the parents's implicit dependencies, let returning up the normal
4887 Taskmaster descent take care of it for us.
4889 - Add documented support for separate target_scanner and source_scanner
4890 arguments to Builder creation, which allows different scanners to
4891 be applied to source files
4893 - Don't re-install or (re-generate) .h files when a subsidiary #included
4894 .h file changes. This eliminates incorrect circular dependencies
4895 with .h files generated from other source files.
4897 - Slim down the internal Sig.Calculator class by eliminating methods
4898 whose functionality is now covered by Node methods.
4900 - Document use of the target_factory and source_factory keyword
4901 arguments when creating Builder objects. Enhance Dir Nodes so that
4902 they can be created with user-specified Builder objects.
4904 - Don't blow up with stack trace when the external $PATH environment
4907 - Make Builder calls return lists all the time, even if there's only
4908 one target. This keeps things consistent and easier to program to
4911 - Add a Flatten() function to make it easier to deal with the Builders
4912 all returning lists of targets, not individual targets.
4914 - Performance optimizations in Node.FS.__doLookup().
4916 - Man page fixes: formatting typos, misspellings, bad example.
4918 - User's Guide fixes: Fix the signatures of the various example
4919 *Options() calls. Triple-quote properly a multi-line Split example.
4921 - User's Guide additions: Chapter describing File and Directory
4922 Nodes. Section describing declarative nature of SCons functions in
4923 SConscript files. Better organization and clarification of points
4924 raised by Robert P. J. Day. Chapter describing SConf (Autoconf-like)
4925 functionality. Chapter describing how to install Python and
4926 SCons. Chapter describing Java builds.
4930 - Add a .win32 attribute to force file names to expand with
4931 Windows backslash path separators.
4933 - Fix escaping file names on command lines when the expansion is
4934 concatenated with another string.
4936 - Add support for Fortran 90 and Fortran 95. This adds $FORTRAN*
4937 variables that specify a default compiler, command-line, flags,
4938 etc. for all Fortran versions, plus separate $F90* and $F95*
4939 variables for when different compilers/flags/etc. must be specified
4940 for different Fortran versions.
4942 - Have individual tools that create libraries override the default
4943 $LIBPREFIX and $LIBSUFFIX values set by the platform. This makes
4944 it easier to use Microsoft Visual Studio tools on a CygWin platform.
4946 From Gary Oberbrunner:
4948 - Add a --debug=presub option to print actions prior to substitution.
4950 - Add a warning upon use of the override keywords "targets" and
4951 "sources" when calling Builders. These are usually mistakes which
4952 are otherwise silently (and confusingly) turned into construction
4955 - Try to find the ICL license file path name in the external environment
4956 and the registry before resorting to the hard-coded path name.
4958 - Add support for fetching command-line keyword=value arguments in
4959 order from an ARGLIST list.
4961 - Avoid stack traces when trying to read dangling symlinks.
4963 - Treat file "extensions" that only contain digits as part of the
4964 file basename. This supports version numbers as part of shared
4965 library names, for example.
4967 - Avoid problems when there are null entries (None or '') in tool
4970 - Add an example and explanation of how to use "tools = ['default', ..."
4971 when creating a construction environment.
4973 - Add a section describing File and Directory Nodes and some of their
4974 attributes and methods.
4976 - Have ParseConfig() add a returned -pthread flag to both $CCFLAGS
4979 - Fix some test portability issues on Mac OS X (darwin).
4983 - Fix a bug introduced in building shared libraries under MinGW.
4987 - Handling SCons exceptions according to Pythonic standards.
4989 - Fix test/chained-build.py on systems that execute within one second.
4991 - Fix tests on systems where 'ar' warns about archive creation.
4995 - Fix use of the --implicit-cache option with timestamp signatures.
4997 - If Visual Studio is installed, assume the C/C++ compiler, the linker
4998 and the MIDL compiler that comes with it are available, too.
5000 - Better error messages when evaluating a construction variable
5001 expansion yields a Python syntax error.
5003 - Change the generation of PDB files when using Visual Studio from
5004 compile time to link time.
5008 - Allow SConf.CheckLib() to search a list of libraries, like the
5009 Autoconf AC_SEARCH_LIBS macro.
5011 - Allow the env.WhereIs() method to take a "reject" argument to
5012 let it weed out specific path names.
5014 From Christoph Wiedemann:
5016 - Add new Moc() and Uic() Builders for more explicit control over
5017 Qt builds, plus new construction variables to control them:
5018 $QT_AUTOSCAN, $QT_DEBUG, $QT_MOCCXXPREFIX, $QT_MOCCXXSUFFIX,
5019 $QT_MOCHPREFIX, $QT_MOCHSUFFIX, $QT_UICDECLPREFIX, $QT_UICDECLSUFFIX,
5020 $QT_UICIMPLPREFIX, $QT_UICIMPLSUFFIX and $QT_UISUFFIX.
5022 - Add a new single_source keyword argument for Builders that enforces
5023 a single source file on calls to the Builder.
5027 RELEASE 0.95 - Mon, 08 Mar 2004 06:43:20 -0600
5031 - Replace print statements with calls to sys.stdout.write() so output
5032 lines stay together when -j is used.
5034 - Add portability fixes for a number of tests.
5036 - Accomodate the fact that Cygwin's os.path.normcase() lies about
5037 the underlying system being case-sensitive.
5039 - Fix an incorrect _concat() call in the $RCINCFLAGS definition for
5042 - Fix a problem with the msvc tool with Python versions prior to 2.3.
5044 - Add support for a "toolpath" Tool() and Environment keyword that
5045 allows Tool modules to be found in specified local directories.
5047 - Work around Cygwin Python's silly fiction that it's using a
5048 case-sensitive file system.
5050 - More robust handling of data in VCComponents.dat.
5052 - If the "env" command is available, spawn commands with the more
5053 general "env -" instead of "env -i".
5055 From Kerim Borchaev:
5057 - Fix a typo in a msvc.py's registry lookup: "VCComponents.dat", not
5060 From Chris Burghart:
5062 - Fix the ability to save/restore a PackageOption to a file.
5064 From Steve Christensen:
5066 - Update the MSVS .NET and MSVC 6.0/7.0 path detection.
5068 From David M. Cooke:
5070 - Make the Fortran scanner case-insensitive for the INCLUDE string.
5074 - If no version of MSVC is detected but the tool is specified,
5075 use the MSVC 6.0 paths by default.
5077 - Ignore any "6.1" version of MSVC found in the registry; this is a
5078 phony version number (created by later service packs?) and would
5079 throw off the logic if the user had any non-default paths configure.
5081 - Correctly detect if the user has independently configured the MSVC
5082 "include," "lib" or "path" in the registry and use the appropriate
5083 values. Previously, SCons would only use the values if all three
5084 were set in the registry.
5086 - Make sure side-effect nodes are prepare()d before building their
5087 corresponding target.
5089 - Preserve the ability to call BuildDir() multiple times with the
5090 same target and source directory arguments.
5094 - Add support for the Digital Mars "D" programming language.
5096 From Scott Lystig Fritchie:
5098 - Fix the ability to use a custom _concat() function in the
5099 construction environment when calling _stripixes().
5101 - Make the message about ignoring a missing SConscript file into a
5102 suppressable Warning, not a hard-coded sys.stderr.write().
5104 - If a builder can be called multiple times for a target (because
5105 the sources and overrides are identical, or it's a builder with the
5106 "multi" flag set), allow the builder to be called through multiple
5107 environments so long as the builders have the same signature for
5108 the environments in questions (that is, they're the same action).
5112 - When multiple targets are built by a single action, retrieve all
5113 of them from cache, not just the first target, and exec the build
5114 command if any of the targets isn't present in the cache.
5116 From Zephaniah Hull:
5118 - Fix command-line ARGUMENTS with multiple = in them.
5122 - Fix EnsureSConsVersion() so it checks against the SCons version,
5123 not the Python version, on Pythons with sys.version_info.
5125 - Don't swallow the AttributeError when someone uses an expansion like
5126 $TARGET.bak, so we can supply a more informative error message.
5128 - Fix an odd double-quote escape sequence in the man page.
5130 - Fix looking up a naked drive letter as a directory (Dir('C:')).
5132 - Support using File nodes in the LIBS construction variable.
5134 - Allow the LIBS construction variable to be a single string or File
5135 node, not a list, when only one library is needed.
5137 - Fix typos in the man page: JAVACHDIR => JARCHDIR; add "for_signature"
5138 to the __call__() example in the "Variable Substitution" section.
5140 - Correct error message spellings of "non-existant" to "non-existent."
5142 - When scanning for libraries to link with, don't append $LIBPREFIXES
5143 or $LIBSUFFIXES values to the $LIBS values if they're already present.
5145 - Add a ZIPCOMPRESSION construction variable to control whether the
5146 internal Python action for the Zip Builder compresses the file or
5147 not. The default value is zipfile.ZIP_DEFLATED, which generates
5150 - Refactor construction variable expansion to support recursive
5151 expansion of variables (e.g. CCFLAGS = "$CCFLAGS -g") without going
5152 into an infinite loop. Support this in all construction variable
5153 overrides, as well as when copying Environments.
5155 - Fix calling Configure() from more than one subsidiary SConscript file.
5157 - Fix the env.Action() method so it returns the correct type of
5158 Action for its argument(s).
5160 - Fix specifying .class files as input to JavaH with the .class suffix
5161 when they weren't generated using the Java Builder.
5163 - Make the check for whether all of the objects going into a
5164 SharedLibrary() are shared work even if the object was built in a
5167 - Supply meaningful error messages, not stack traces, if we try to add
5168 a non-Node as a source, dependency, or ignored dependency of a Node.
5170 - Generate MSVS Project files that re-invoke SCons properly regardless
5171 of whether the file was built via scons.bat or scons.py.
5172 (Thanks to Niall Douglas for contributing code and testing.)
5174 - Fix TestCmd.py, runtest.py and specific tests to accomodate being
5175 run from directories whose paths include white space.
5177 - Provide a more useful error message if a construction variable
5178 expansion contains a syntax error during evaluation.
5180 - Fix transparent checkout of implicit dependency files from SCCS
5183 - Added new --debug=count, --debug=memory and --debug=objects options.
5184 --debug=count and --debug=objects only print anything when run
5185 under Python 2.1 or later.
5187 - Deprecate the "overrides" keyword argument to Builder() creation
5188 in favor of using keyword argument values directly (like we do
5189 for builder execution and the like).
5191 - Always use the Builder overrides in substitutions, not just if
5192 there isn't a target-specific environment.
5194 - Add new "rsrcpath" and "rsrcdir" and attributes to $TARGET/$SOURCE,
5195 so Builder command lines can find things in Repository source
5196 directories when using BuildDir.
5198 - Fix the M4 Builder so that it chdirs to the Repository directory
5199 when the input file is in the source directory of a BuildDir.
5201 - Save memory at build time by allowing Nodes to delete their build
5202 environments after they've been built.
5204 - Add AppendUnique() and PrependUnique() Environment methods, which
5205 add values to construction variables like Append() and Prepend()
5206 do, but suppress any duplicate elements in the list.
5208 - Allow the 'qt' tool to still be used successfully from a copied
5209 Environment. The include and library directories previously ended up
5210 having the same string re-appended to the end, yielding an incorrect
5213 - Supply a more descriptive error message when the source for a target
5216 - Initialize all *FLAGS variables with objects do the right thing with
5217 appending flags as strings or lists.
5219 - Make things like ${TARGET.dir} work in *PATH construction variables.
5221 - Allow a $MSVS_USE_MFC_DIRS construction variable to control whether
5222 ATL and MFC directories are included in the default INCLUDE and
5225 - Document the dbm_module argument to the SConsignFile() function.
5229 - Add support for the bcc32, ilink32 and tlib Borland tools.
5233 - Supply an error message if the user tries to configure a BuildDir
5234 for a directory that already has one.
5236 - Remove documentation of the still-unimplemented -e option.
5238 - Add -H help text listing the legal --debug values.
5240 - Don't choke if a construction variable is a non-string value.
5242 - Build Type Libraries in the target directory, not the source
5245 - Add an appendix to the User's Guide showing how to accomplish
5246 various common tasks in Python.
5250 - Add support for Microsoft Visual Studio 2003 (version 7.1).
5252 - Evaluate $MSVSPROJECTSUFFIX and $MSVSSOLUTIONSUFFIX when the Builder
5253 is invoked, not when the tool is initialized.
5255 From Christoph Wiedemann:
5257 - When compiling Qt, make sure the moc_*.cc files are compiled using
5258 the flags from the environment used to specify the target, not
5259 the environment that first has the Qt Builders attached.
5263 RELEASE 0.94 - Fri, 07 Nov 2003 05:29:48 -0600
5265 From Hartmut Goebel:
5267 - Add several new types of canned functions to help create options:
5268 BoolOption(), EnumOption(), ListOption(), PackageOption(),
5273 - Fix use of CPPDEFINES with C++ source files.
5275 - Fix env.Append() when the operand is an object with a __cmp__()
5276 method (like a Scanner instance).
5278 - Fix subclassing the Environment and Scanner classes.
5280 - Add BUILD_TARGETS, COMMAND_LINE_TARGETS and DEFAULT_TARGETS variables.
5284 - SGI fixes: Fix C++ compilation, add a separate Tool/sgic++.py module.
5286 From Gary Oberbrunner:
5288 - Fix how the man page un-indents after examples in some browsers.
5292 - Fix the C and C++ tool specifications for AIX.
5296 RELEASE 0.93 - Thu, 23 Oct 2003 07:26:55 -0500
5300 - On POSIX, execute commands with the more modern os.spawnvpe()
5301 function, if it's available.
5303 - Scan .S, .spp and .SPP files for C preprocessor dependencies.
5305 - Refactor the Job.Parallel() class to use a thread pool without a
5306 condition variable. This improves parallel build performance and
5307 handles keyboard interrupts properly when -j is used.
5311 - Add support for a JARCHDIR variable to control changing to a
5312 directory using the jar -C option.
5314 - Add support for detecting Java manifest files when using jar,
5315 and specifying them using the jar m flag.
5317 - Fix some Python 2.2 specific things in various tool modules.
5319 - Support directories as build sources, so that a rebuild of a target
5320 can be triggered if anything underneath the directory changes.
5322 - Have the scons.bat and scons.py files look for the SCons modules
5323 in site-packages as well.
5325 From Christian Engel:
5327 - Support more flexible inclusion of separate C and C++ compilers.
5329 - Use package management tools on AIX and Solaris to find where
5330 the comilers are installed, and what version they are.
5332 - Add support for CCVERSION and CXXVERSION variables for a number
5333 of C and C++ compilers.
5337 - Add test cases for the new capabilities to run bibtex and to rerun
5340 From Ralf W. Grosse-Kunstleve:
5342 - Accomodate anydbm modules that don't have a sync() method.
5344 - Allow SConsignFile() to take an argument specifying the DBM
5347 From Stephen Kennedy:
5349 - Add support for a configurable global .sconsign.dbm file which
5350 can be used to avoid cluttering each directory with an individual
5355 - Fix (re-)scanning of dependencies in generated or installed
5360 - The -Q option suppressed too many messages; fix it so that it only
5361 suppresses the Reading/Building messages.
5363 - Support #include when there's no space before the opening quote
5366 - Accomodate alphanumeric version strings in EnsurePythonVersion().
5368 - Support arbitrary expansion of construction variables within
5369 file and directory arguments to Builder calls and Environment methods.
5371 - Add Environment-method versions of the following global functions:
5372 Action(), AddPostAction(), AddPreAction(), Alias(), Builder(),
5373 BuildDir(), CacheDir(), Clean(), Configure(), Default(),
5374 EnsurePythonVersion(), EnsureSConsVersion(), Environment(),
5375 Exit(), Export(), FindFile(), GetBuildPath(), GetOption(), Help(),
5376 Import(), Literal(), Local(), Platform(), Repository(), Scanner(),
5377 SConscriptChdir(), SConsignFile(), SetOption(), SourceSignatures(),
5378 Split(), TargetSignatures(), Tool(), Value().
5380 - Add the following global functions that correspond to the same-named
5381 Environment methods: AlwaysBuild(), Command(), Depends(), Ignore(),
5382 Install(), InstallAs(), Precious(), SideEffect() and SourceCode().
5384 - Add the following global functions that correspond to the default
5385 Builder methods supported by SCons: CFile(), CXXFile(), DVI(), Jar(),
5386 Java(), JavaH(), Library(), M4(), MSVSProject(), Object(), PCH(),
5387 PDF(), PostScript(), Program(), RES(), RMIC(), SharedLibrary(),
5388 SharedObject(), StaticLibrary(), StaticObject(), Tar(), TypeLibrary()
5391 - Rearrange the man page to show construction environment methods and
5392 global functions in the same list, and to explain the difference.
5394 - Alphabetize the explanations of the builder methods in the man page.
5396 - Rename the Environment.Environment class to Enviroment.Base.
5397 Allow the wrapping interface to extend an Environment by using its own
5398 subclass of Environment.Base and setting a new Environment.Environment
5399 variable as the calling entry point.
5401 - Deprecate the ParseConfig() global function in favor of a same-named
5402 construction environment method.
5404 - Allow the Environment.WhereIs() method to take explicit path and
5405 pathext arguments (like the underlying SCons.Util.WhereIs() function).
5407 - Remove the long-obsolete {Get,Set}CommandHandler() functions.
5409 - Enhance env.Append() to suppress null values when appropriate.
5411 - Fix ParseConfig() so it works regardless of initial construction
5414 Extend CheckHeader(), CheckCHeader(), CheckCXXHeader() and
5415 CheckLibWithHeader() to accept a list of header files that will be
5416 #included in the test. The last one in the list is assumed to be
5417 the one being checked for. (Prototype code contributed by Gerard
5418 Patel and Niall Douglas).
5420 - Supply a warning when -j is used and threading isn't built in to
5421 the current version of Python.
5423 - First release of the User's Guide (finally, and despite a lot
5424 of things still missing from it...).
5428 - Generalize the action for .tex files so that it will decide whether
5429 a file is TeX or LaTeX, check the .aux output to decide if it should
5430 run bibtex, and check the .log output to re-run LaTeX if needed.
5432 From Bram Moolenaar:
5434 - Split the non-SCons-specific functionality from SConf.py to a new,
5435 re-usable Conftest.py module.
5437 From Gary Oberbrunner:
5439 - Allow a directory to be the target or source or dependency of a
5440 Depends(), Ignore(), Precious() or SideEffect() call.
5444 - Use the %{_mandir} macro when building our RPM package.
5446 From Marko Rauhamaa:
5448 - Have the closing message say "...terminated because of errors" if
5453 - On Win32 systems, only use "rm" to delete files if Cygwin is being
5454 used. ("rm" doesn't understand Win32-format path names.)
5456 From Christoph Wiedemann:
5458 - Fix test/SWIG.py to find the Python include directory in all cases.
5460 - Fix a bug in detection of Qt installed on the local system.
5462 - Support returning Python 2.3 BooleanType values from Configure checks.
5464 - Provide an error message if someone mistakenly tries to call a
5465 Configure check from within a Builder function.
5467 - Support calling a Builder when a Configure context is still open.
5469 - Handle interrupts better by eliminating all try:-except: blocks
5470 which caught any and all exceptions, including KeyboardInterrupt.
5472 - Add a --duplicate= option to control how files are duplicated.
5476 RELEASE 0.92 - Wed, 20 Aug 2003 03:45:28 -0500
5478 From Charles Crain and Gary Oberbrunner:
5480 - Fix Tool import problems with the Intel and PharLap linkers.
5484 - Refactor the DictCmdGenerator class to be a Selector subclass.
5486 - Allow the DefaultEnvironment() function to take arguments and pass
5487 them to instantiation of the default construction environment.
5489 - Update the Debian package so it uses Python 2.2 and more closely
5490 resembles the currently official Debian packaging info.
5494 - When the yacc -d flag is used, take the .h file base name from the
5495 target .c file, not the source (matching what yacc does).
5499 RELEASE 0.91 - Thu, 14 Aug 2003 13:00:44 -0500
5503 - Support specifying a list of tools when calling Environment.Copy().
5505 - Give a Value Nodes a timestamp of the system time when they're
5506 created, so they'll work when using timestamp-based signatures.
5508 - Add a DefaultEnvironment() function that only creates a default
5509 environment on-demand (for fetching source files, e.g.).
5511 - Portability fix for test/M4.py.
5515 - Tighten up the scons -H help output.
5517 - When the input yacc file ends in .yy and the -d flag is specified,
5518 recognize that a .hpp file (not a .h file) will be created.
5520 - Make builder prefixes work correctly when deducing a target
5521 from a source file name in another directory.
5523 - Documentation fixes: typo in the man page; explain up-front about
5524 not propagating the external environment.
5526 - Use "cvs co -d" instead of "cvs co -p >" when checking out something
5527 from CVS with a specified module name. This avoids zero-length
5528 files when there is a checkout error.
5530 - Add an "sconsign" script to print the contents of .sconsign files.
5532 - Speed up maintaining the various lists of Node children by using
5533 dictionaries to avoid "x in list" searches.
5535 - Cache the computed list of Node children minus those being Ignored
5536 so it's only calculated once.
5538 - Fix use of the --cache-show option when building a Program()
5539 (or using any other arbitrary action) by making sure all Action
5540 instances have strfunction() methods.
5542 - Allow the source of Command() to be a directory.
5544 - Better error handling of things like raw TypeErrors in SConscripts.
5546 - When installing using "setup.py install --prefix=", suppress the
5547 distutils warning message about adding the (incorrect) library
5548 directory to your search path.
5550 - Correct the spelling of the "validater" option to "validator."
5551 Add a DeprecatedWarning when the old spelling is used.
5553 - Allow a Builder's emitter to be a dictionary that maps source file
5554 suffixes to emitter functions, using the suffix of the first file
5555 in the source list to pick the right one.
5557 - Refactor the creation of the Program, *Object and *Library Builders
5558 so that they're moved out of SCons.Defaults and created on demand.
5560 - Don't split SConscript file names on white space.
5562 - Document the SConscript function's "dirs" and "name" keywords.
5564 - Remove the internal (and superfluous) SCons.Util.argmunge() function.
5566 - Add /TP to the default CXXFLAGS for msvc, so it can compile all
5567 of the suffixes we use as C++ files.
5569 - Allow the "prefix" and "suffix" attributes of a Builder to be
5570 callable objects that return generated strings, or dictionaries
5571 that map a source file suffix to the right prefix/suffix.
5573 - Support a MAXLINELINELENGTH construction variable on Win32 systems
5574 to control when a temporary file is used for long command lines.
5576 - Make how we build .rpm packages not depend on the installation
5577 locations from the distutils being used.
5579 - When deducing a target Node, create it directly from the first
5580 source Node, not by trying to create the right string to pass to
5583 - Add support for SWIG.
5585 From Bram Moolenaar:
5587 - Test portability fixes for FreeBSD.
5589 From Gary Oberbrunner:
5591 - Report the target being built in error messages when building
5592 multiple sources from different extensions, or when the target file
5593 extension can't be deduced, or when we don't have an action for a
5596 - Provide helpful error messages when the arguments to env.Install()
5599 - Fix the value returned by the Node.prevsiginfo() method to conform
5600 to a previous change when checking whether a node is current.
5602 - Supply a stack trace if the Taskmaster catches an exception.
5604 - When using a temporary file for a long link line on Win32 systems,
5605 (also) print the command line that is being executed through the
5608 - Initialize the LIB environment variable when using the Intel
5611 - Documentation fixes: better explain the AlwaysBuild() function.
5613 From Laurent Pelecq:
5615 - When the -debug=pdb option is specified, use pdb.Pdb().runcall() to
5616 call pdb directly, don't call Python recursively.
5620 - Add support for a platform-independent CPPDEFINES variable.
5622 From Christoph Wiedemann:
5624 - Have the g++ Tool actually use g++ in preference to c++.
5626 - Have the gcc Tool actually use gcc in preference to cc.
5628 - Add a gnutools.py test of the GNU tool chain.
5630 - Be smarter about linking: use $CC by default and $CXX only if we're
5631 linking with any C++ objects.
5633 - Avoid SCons hanging when a piped command has a lot of output to read.
5635 - Add QT support for preprocessing .ui files into .c files.
5639 RELEASE 0.90 - Wed, 25 Jun 2003 14:24:52 -0500
5643 - Fix the _concat() documentation, and add a test for it.
5645 - Portability fixes for non-GNU versions of lex and yacc.
5649 - Fix handling of library prefixes when the subdirectory matches
5652 From Timothee Bessett:
5654 - Add an M4 Builder.
5658 - Use '.lnk' as the suffix on the temporary file for linking long
5659 command lines (necessary for the Phar Lap linkloc linker).
5661 - Save non-string Options values as their actual type.
5663 - Save Options string values that contain a single quote correctly.
5665 - Save any Options values that are changed from the default
5666 Environment values, not just ones changed on the command line or in
5669 - Make closing the Options file descriptor exception-safe.
5673 - SCons now enforces (with an error) that construction variables
5674 must have the same form as valid Python identifiers.
5676 - Fix man page bugs: remove duplicate AddPostAction() description;
5677 document no_import_lib; mention that CPPFLAGS does not contain
5678 $_CPPINCFLAGS; mention that F77FLAGS does not contain $_F77INCFLAGS;
5679 mention that LINKFLAGS and SHLINKFLAGS contains neither $_LIBFLAGS
5682 - Eliminate a dependency on the distutils.fancy_getopt module by
5683 copying and pasting its wrap_text() function directly.
5685 - Make the Script.Options() subclass match the underlying base class
5688 - When reporting a target is up to date, quote the target like make
5689 (backquote-quote) instead of with double quotes.
5691 - Fix handling of ../* targets when using -U, -D or -u.
5695 - Don't update the .sconsign files when run with -n.
5697 From Gary Oberbrunner:
5699 - Add support for the Intel C Compiler (icl.exe).
5707 - Fix use of SConf in paths with white space in them.
5709 - Add CheckFunc and CheckType functionality to SConf.
5711 - Fix use of SConf with Builders that return a list of nodes.
5713 From David Snopek and Christoph Wiedemann
5715 - Fix use of the SConf subsystem with SConscriptChdir().
5719 - Check for the existence of MS Visual Studio on disk before using it,
5720 to avoid getting fooled by leftover junk in the registry.
5722 - Add support for MSVC++ .NET.
5724 - Add support for MS Visual Studio project files (DSP, DSW,
5725 SLN and VCPROJ files).
5727 From Christoph Wiedemann
5729 - SConf now works correctly when the -n and -q options are used.
5733 RELEASE 0.14 - Wed, 21 May 2003 05:16:32 -0500
5737 - Use .dll (not .so) for shared libraries on Cygwin; use -fPIC
5738 when compiling them.
5740 - Use 'rm' to remove files under Cygwin.
5742 - Add a PLATFORM variable to construction environments.
5744 - Remove the "platform" argument from tool specifications.
5746 - Propogate PYTHONPATH when running the regression tests so distutils
5747 can be found in non-standard locations.
5749 - Using MSVC long command-line linking when running Cygwin.
5751 - Portability fixes for a lot of tests.
5753 - Add a Value Node class for dependencies on in-core Python values.
5755 From Allen Bierbaum:
5757 - Pass an Environment to the Options validator method, and
5758 add an Options.Save() method.
5760 From Steve Christensen:
5762 - Add an optional sort function argument to the GenerateHelpText()
5765 - Evaluate the "varlist" variables when computing the signature of a
5770 - Parse the source .java files for class names (including inner class
5771 names) to figure out the target .class files that will be created.
5773 - Make Java support work with Repositories and SConscriptChdir(0).
5775 - Pass Nodes, not strings, to Builder emitter functions.
5777 - Refactor command-line interpolation and signature calculation
5778 so we can use real Node attributes.
5782 - Add Java support (javac, javah, jar and rmic).
5784 - Propagate the external SYSTEMROOT environment variable into ENV on
5785 Win32 systems, so external commands that use sockets will work.
5787 - Add a .posix attribute to PathList expansions.
5789 - Check out CVS source files using POSIX path names (forward slashes
5790 as separators) even on Win32.
5792 - Add Node.clear() and Node.FS.Entry.clear() methods to wipe out a
5793 Node's state, allowing it to be re-evaluated by continuous
5794 integration build interfaces.
5796 - Change the name of the Set{Build,Content}SignatureType() functions
5797 to {Target,Source}Signatures(). Deprecate the old names but support
5798 them for backwards compatibility.
5800 - Add internal SCons.Node.FS.{Dir,File}.Entry() methods.
5802 - Interpolate the null string if an out-of-range subscript is used
5803 for a construction variable.
5805 - Fix the internal Link function so that it properly links or copies
5806 files in subsidiary BuildDir directories.
5808 - Refactor the internal representation of a single execution instance
5809 of an action to eliminate redundant signature calculations.
5811 - Eliminate redundant signature calculations for Nodes.
5813 - Optimize out calling hasattr() before accessing attributes.
5815 - Say "Cleaning targets" (not "Building...") when the -c option is
5820 - Quote the "Entering directory" message like Make.
5822 From Stefan Reichor:
5824 - Add support for using Ghostscript to convert Postscript to PDF files.
5828 - Add a standalone "Alias" function (separate from an Environment).
5830 - Make Export() work for local variables.
5832 - Support passing a dictionary to Export().
5834 - Support Import('*') to import everything that's been Export()ed.
5836 - Fix an undefined exitvalmap on Win32 systems.
5838 - Support new SetOption() and GetOption() functions for setting
5839 various command-line options from with an SConscript file.
5841 - Deprecate the old SetJobs() and GetJobs() functions in favor of
5842 using the new generic {Set,Get}Option() functions.
5844 - Fix a number of tests that searched for a Fortran compiler using the
5845 external PATH instead of what SCons would use.
5847 - Fix the interaction of SideEffect() and BuildDir() so that (for
5848 example) PDB files get put correctly in a BuildDir().
5852 - Contribute the "Autoscons" code for Autoconf-like checking for
5853 the existence of libraries, header files and the like.
5855 - Have the Tool() function add the tool name to the $TOOLS
5856 construction variable.
5860 - Support the C preprocessor #import statement.
5862 - Allow the SharedLibrary() Builder on Win32 systems to be able to
5863 register a newly-built dll using regsvr32.
5865 - Add a Builder for Windows type library (.tlb) files from IDL files.
5867 - Add an IDL scanner.
5869 - Refactor the Fortran, C and IDL scanners to share common logic.
5871 - Add .srcpath and .srcdir attributes to $TARGET and $SOURCE.
5873 From Christoph Wiedemann:
5875 - Integrate David Snopek's "Autoscons" code as the new SConf
5876 configuration subsystem, including caching of values between
5877 runs (using normal SCons dependency mechanisms), tests, and
5882 RELEASE 0.13 - Mon, 31 Mar 2003 20:22:00 -0600
5886 - Fix a bug when BuildDir(duplicate=0) is used and SConscript
5887 files are called from within other SConscript files.
5889 - Support (older) versions of Perforce which don't set the Windows
5894 RELEASE 0.12 - Thu, 27 Mar 2003 23:52:09 -0600
5898 - Added support for the Perforce source code management system.
5900 - Fix str(Node.FS) so that it returns a path relative to the calling
5901 SConscript file's directory, not the top-level directory.
5903 - Added support for a separate src_dir argument to SConscript()
5904 that allows explicit specification of where the source files
5905 for an SConscript file can be found.
5907 - Support more easily re-usable flavors of command generators by
5908 calling callable variables when strings are expanded.
5912 - Added an INSTALL construction variable that can be set to a function
5913 to control how the Install() and InstallAs() Builders install files.
5914 The default INSTALL function now copies, not links, files.
5916 - Remove deprecated features: the "name" argument to Builder objects,
5917 and the Environment.Update() method.
5919 - Add an Environment.SourceCode() method to support fetching files
5920 from source code systems. Add factory methods that create Builders
5921 to support BitKeeper, CVS, RCS, and SCCS. Add support for fetching
5922 files from RCS or SCCS transparently (like GNU Make).
5924 - Make the internal to_String() function more efficient.
5926 - Make the error message the same as other build errors when there's a
5927 problem unlinking a target file in preparation for it being built.
5929 - Make TARGET, TARGETS, SOURCE and SOURCES reserved variable names and
5930 warn if the user tries to set them in a construction environment.
5932 - Add support for Tar and Zip files.
5934 - Better documentation of the different ways to export variables to a
5935 subsidiary SConscript file. Fix documentation bugs in a tools
5936 example, places that still assumed SCons split strings on white
5939 - Support fetching arbitrary files from the TARGETS or SOURCES lists
5940 (e.g. ${SOURCES[2]}) when calculating the build signature of a
5943 - Don't silently swallow exceptions thrown by Scanners (or other
5944 exceptions while finding a node's dependent children).
5946 - Push files to CacheDir() before calling the superclass built()
5947 method (which may clear the build signature as part of clearing
5948 cached implicit dependencies, if the file has a source scanner).
5949 (Bug reported by Jeff Petkau.)
5951 - Raise an internal error if we attempt to push a file to CacheDir()
5952 with a build signature of None.
5954 - Add an explicit Exit() function for terminating early.
5956 - Change the documentation to correctly describe that the -f option
5957 doesn't change to the directory in which the specified file lives.
5959 - Support changing directories locally with SConscript directory
5960 path names relative to any SConstruct file specified with -f.
5961 This allows you to build in another directory by simply changing
5962 there and pointing at the SConstruct file in another directory.
5964 - Change the default SConscriptChdir() behavior to change to the
5965 SConscript directory while it's being read.
5967 - Fix an exception thrown when the -U option was used with no
5968 Default() target specified.
5970 - Fix -u so that it builds things in corresponding build directories
5971 when used in a source directory.
5975 - Add SharedObject() support to the masm tool.
5977 - Fix WhereIs() to return normalized paths.
5981 - Don't copy a built file to a CacheDir() if it's already there.
5983 - Avoid partial copies of built files in a CacheDir() by copying
5984 to a temporary file and renaming.
5988 - Fix incorrect dependency-cycle errors when an Aliased source doesn't
5993 RELEASE 0.11 - Tue, 11 Feb 2003 05:24:33 -0600
5997 - Add support for IRIX and the SGI MIPSPro tool chain.
5999 - Support using the MSVC tool chain when running Cygwin Python.
6003 - Avoid losing signal bits in the exit status from a command,
6004 helping terminate builds on interrupt (CTRL+C).
6008 - Added new AddPreAction() and AddPostAction() functions that support
6009 taking additional actions before or after building specific targets.
6011 - Add support for the PharLap ETS tool chain.
6015 - Allow Python function Actions to specify a list of construction
6016 variables that should be included in the Action's signature.
6018 - Allow libraries in the LIBS variable to explicitly include the prefix
6019 and suffix, even when using the GNU linker.
6020 (Bug reported by Neal Becker.)
6022 - Use DOS-standard CR-LF line endings in the scons.bat file.
6023 (Bug reported by Gary Ruben.)
6025 - Doc changes: Eliminate description of deprecated "name" keyword
6026 argument from Builder definition (reported by Gary Ruben).
6028 - Support using env.Append() on BUILDERS (and other dictionaries).
6029 (Bug reported by Bj=F6rn Bylander.)
6031 - Setting the BUILDERS construction variable now properly clears
6032 the previous Builder attributes from the construction Environment.
6033 (Bug reported by Bj=F6rn Bylander.)
6035 - Fix adding a prefix to a file when the target isn't specified.
6036 (Bug reported by Esa Ilari Vuokko.)
6038 - Clean up error messages from problems duplicating into read-only
6039 BuildDir directories or into read-only files.
6041 - Add a CommandAction.strfunction() method, and add an "env" argument
6042 to the FunctionAction.strfunction() method, so that all Action
6043 objects have strfunction() methods, and the functions for building
6044 and returning a string both take the same arguments.
6046 - Add support for new CacheDir() functionality to share derived files
6047 between builds, with related options --cache-disable, --cache-force,
6050 - Change the default behavior when no targets are specified to build
6051 everything in the current directory and below (like Make). This
6052 can be disabled by specifying Default(None) in an SConscript.
6054 - Revamp SCons installation to fix a case-sensitive installation
6055 on Win32 systems, and to add SCons-specific --standard-lib,
6056 --standalone-lib, and --version-lib options for easier user
6057 control of where the libraries get installed.
6059 - Fix the ability to directly import and use Platform and Tool modules
6060 that have been implicitly imported into an Environment().
6062 - Add support for allowing an embedding interface to annotate a node
6065 - Extend the SConscript() function to accept build_dir and duplicate
6066 keyword arguments that function like a BuildDir() call.
6070 - Fix the output of -c -n when directories are involved, so it
6075 - Use a different shared object suffix (.os) when using gcc so shared
6076 and static objects can exist side-by-side in the same directory.
6078 - Allow the same object files on Win32 to be linked into either
6079 shared or static libraries.
6081 - Cache implicit cache values when using --implicit-cache.
6085 RELEASE 0.10 - Thu, 16 Jan 2003 04:11:46 -0600
6087 From Derrick 'dman' Hudson:
6089 - Support Repositories on other file systems by symlinking or
6090 copying files when hard linking won't work.
6094 - Remove Python bytecode (*.pyc) files from the scons-local packages.
6096 - Have FunctionActions print a description of what they're doing
6097 (a representation of the Python call).
6099 - Fix the Install() method so that, like other actions, it prints
6100 what would have happened when the -n option is used.
6102 - Don't create duplicate source files in a BuildDir when the -n
6105 - Refactor the Scanner interface to eliminate unnecessary Scanner
6106 calls and make it easier to write efficient scanners.
6108 - Added a "recursive" flag to Scanner creation that specifies the
6109 Scanner should be invoked recursively on dependency files returned
6112 - Significant performance improvement from using a more efficient
6113 check, throughout the code, for whether a Node has a Builder.
6115 - Fix specifying only the source file to MultiStepBuilders such as
6116 the Program Builder. (Bug reported by Dean Bair.)
6118 - Fix an exception when building from a file with the same basename as
6119 the subdirectory in which it lives. (Bug reported by Gerard Patel.)
6121 - Fix automatic deduction of a target file name when there are
6122 multiple source files specified; the target is now deduced from just
6123 the first source file in the list.
6125 - Documentation fixes: better initial explanation of SConscript files;
6126 fix a misformatted "table" in the StaticObject explanation.
6128 From Steven Knight and Steve Leblanc:
6130 - Fix the -c option so it will remove symlinks.
6134 - Add a Clean() method to support removing user-specified targets
6135 when using the -c option.
6137 - Add a development script for running SCons through PyChecker.
6139 - Clean up things found by PyChecker (mostly unnecessary imports).
6141 - Add a script to use HappyDoc to create HTML class documentation.
6145 - Make the Environment.get() method return None by default.
6149 - Add SetJobs() and GetJobs() methods to allow configuration of the
6150 number of default jobs (still overridden by -j).
6152 - Convert the .sconsign file format from ASCII to a pickled Python
6155 - Error message cleanups: Made consistent the format of error
6156 messages (now all start with "scons: ***") and warning messages (now
6157 all start with "scons: warning:"). Caught more cases with the "Do
6158 not know how to build" error message.
6160 - Added support for the MinGW tool chain.
6162 - Added a --debug=includes option.
6166 RELEASE 0.09 - Thu, 5 Dec 2002 04:48:25 -0600
6170 - Add a Prepend() method to Environments, to append values to
6171 the beginning of construction variables.
6175 - Add long command-line support to the "lib" Tool (Microsoft library
6180 - Allow $$ in a string to be passed through as $.
6182 - Support file names with odd characters in them.
6184 - Add support for construction variable substition on scanner
6185 directories (in CPPPATH, F77PATH, LIBPATH, etc.).
6187 From Charles Crain and Steven Knight:
6189 - Add Repository() functionality, including the -Y option.
6193 - Fix auto-deduction of target names so that deduced targets end
6194 up in the same subdirectory as the source.
6196 - Don't remove source files specified on the command line!
6198 - Suport the Intel Fortran Compiler (ifl.exe).
6200 - Supply an error message if there are no command-line or
6201 Default() targets specified.
6203 - Fix the ASPPCOM values for the GNU assembler.
6204 (Bug reported by Brett Polivka.)
6206 - Fix an exception thrown when a Default() directory was specified
6207 when using the -U option.
6209 - Issue a warning when -c can't remove a target.
6211 - Eliminate unnecessary Scanner calls by checking for the
6212 existence of a file before scanning it. (This adds a generic
6213 hook to check an arbitrary condition before scanning.)
6215 - Add explicit messages to tell when we're "Reading SConscript files
6216 ...," "done reading SConscript files," "Building targets," and
6217 "done building targets." Add a -Q option to supress these.
6219 - Add separate $SHOBJPREFIX and $SHOBJSUFFIX construction variables
6220 (by default, the same as $OBJPREFIX and $OBJSUFFIX).
6222 - Add Make-like error messages when asked to build a source file,
6223 and before trying to build a file that doesn't have all its source
6224 files (including when an invalid drive letter is used on WIN32).
6226 - Add an scons-local-{version} package (in both .tar.gz and .zip
6227 flavors) to help people who want to ship SCons as a stand-alone
6228 build tool in their software packages.
6230 - Prevent SCons from unlinking files in certain situations when
6231 the -n option is used.
6233 - Change the name of Tool/lib.py to Tool/mslib.py.
6235 From Steven Knight and Anthony Roach:
6237 - Man page: document the fact that Builder calls return Node objects.
6241 - Refactor option processing to use our own version of Greg Ward's
6242 Optik module, modified to run under Python 1.5.2.
6244 - Add a ParseConfig() command to modify an environment based on
6245 parsing output from a *-config command.
6249 - Fix interpretation of '#/../foo' on Win32 systems.
6253 - Fixed use of command lines with spaces in their arguments,
6254 and use of Nodes with spaces in their string representation.
6256 - Make access and modification times of files in a BuildDir match
6257 the source file, even when hard linking isn't available.
6259 - Make -U be case insensitive on Win32 systems.
6261 - Issue a warning and continue when finding a corrupt .sconsign file.
6263 - Fix using an alias as a dependency of a target so that if one of the
6264 alias' dependencies gets rebuilt, the resulting target will, too.
6266 - Fix differently ordered targets causing unnecessary rebuilds
6267 on case insensitive systems.
6269 - Use os.system() to execute external commands whenever the "env"
6270 utility is available, which is much faster than fork()/exec(),
6271 and fixes the -j option on several platforms.
6273 - Fix use of -j with multiple targets.
6275 - Add an Options() object for friendlier accomodation of command-
6278 - Add support for Microsoft VC++ precompiled header (.pch) files,
6279 debugger (.pdb) files, and resource (.rc) files.
6281 - Don't compute the $_CPPINCFLAGS, $_F77INCFLAGS, $_LIBFLAGS and
6282 $_LIBDIRFLAGS variables each time a command is executed, define
6283 them so they're computed only as needed. Add a new _concat
6284 function to the Environment that allows people to define their
6285 own similar variables.
6287 - Fix dependency scans when $LIBS is overridden.
6289 - Add EnsurePythonVersion() and EnsureSConsVersion() functions.
6291 - Fix the overly-verbose stack trace on ListBuilder build errors.
6293 - Add a SetContentSignatureType() function, allowing use of file
6294 timestamps instead of MD5 signatures.
6296 - Make -U and Default('source') fail gracefully.
6298 - Allow the File() and Dir() methods to take a path-name string as
6299 the starting directory, in addition to a Dir object.
6301 - Allow the command handler to be selected via the SPAWN, SHELL
6302 and ESCAPE construction variables.
6304 - Allow construction variables to be overridden when a Builder
6309 - Dynamically check for the existence of utilities with which to
6310 initialize Environments by default.
6314 RELEASE 0.08 - Mon, 15 Jul 2002 12:08:51 -0500
6318 - Fixed a bug with relative CPPPATH dirs when using BuildDir().
6319 (Bug reported by Bob Summerwill.)
6321 - Added a warnings framework and a --warn option to enable or
6324 - Make the C scanner warn users if files referenced by #include
6325 directives cannot be found and --warn=dependency is specified.
6327 - The BUILDERS construction variable should now be a dictionary
6328 that maps builder names to actions. Existing uses of lists,
6329 and the Builder name= keyword argument, generate warnings
6330 about use of deprecated features.
6332 - Removed the "shared" keyword argument from the Object and
6335 - Added separated StaticObject, SharedObject, StaticLibrary and
6336 SharedLibrary builders. Made Object and Library synonyms for
6337 StaticObject and StaticLibrary, respectively.
6339 - Add LIBS and LIBPATH dependencies for shared libraries.
6341 - Removed support for the prefix, suffix and src_suffix arguments
6342 to Builder() to be callable functions.
6344 - Fix handling file names with multiple dots.
6346 - Allow a build directory to be outside of the SConstruct tree.
6348 - Add a FindFile() function that searches for a file node with a
6351 - Add $CPPFLAGS to the shared-object command lines for g++ and gcc.
6353 From Charles Crain and Steven Knight:
6355 - Add a "tools=" keyword argument to Environment instantiation,
6356 and a separate Tools() method, for more flexible specification
6357 of tool-specific environment changes.
6361 - Add a "platform=" keyword argument to Environment instantiation,
6362 and a separate Platform() method, for more flexible specification
6363 of platform-specific environment changes.
6365 - Updated README instructions and setup.py code to catch an
6366 installation failure from not having distutils installed.
6368 - Add descriptions to the -H help text for -D, -u and -U so
6369 people can tell them apart.
6371 - Remove the old feature of automatically splitting strings
6372 of file names on white space.
6374 - Add a dependency Scanner for native Fortran "include" statements,
6375 using a new "F77PATH" construction variable.
6377 - Fix C #include scanning to detect file names with characters like
6380 - Add more specific version / build output to the -v option.
6382 - Add support for the GNU as, Microsoft masm, and nasm assemblers.
6384 - Allow the "target" argument to a Builder call to be omitted, in
6385 which case the target(s) are deduced from the source file(s) and the
6386 Builder's specified suffix.
6388 - Add a tar archive builder.
6390 - Add preliminary support for the OS/2 Platform, including the icc
6395 - Fix --implicit-cache if the scanner returns an empty list.
6399 - Add a "multi" keyword argument to Builder creation that specifies
6400 it's okay to call the builder multiple times for a target.
6402 - Set a "multi" on Aliases so multiple calls will append to an Alias.
6404 - Fix emitter functions' use of path names when using BuildDir or
6407 - Fix --implicit-cache causing redundant rebuilds when the header
6410 - Fix --implicit-cache when a file has no implicit dependencies and
6411 its source is generated.
6413 - Make the drive letters on Windows always be the same case, so that
6414 changes in the case of drive letters don't cause a rebuild.
6416 - Fall back to importing the SCons.TimeStamp module if the SCons.MD5
6417 module can't be imported.
6419 - Fix interrupt handling to guarantee that a single interrupt will
6420 halt SCons both when using -j and not.
6422 - Fix .sconsign signature storage so that output files of one build
6423 can be safely used as input files to another build.
6425 - Added a --debug=time option to print SCons execution times.
6427 - Print an error message if a file can't be unlinked before being
6428 built, rather than just silently terminating the build.
6430 - Add a SideEffect() method that can be used to tell the build
6431 engine that a given file is created as a side effect of building
6432 a target. A file can be specified as a side effect of more than
6433 one build comand, in which case the commands will not be executed
6436 - Significant performance gains from not using our own version of
6437 the inefficient stock os.path.splitext() method, caching source
6438 suffix computation, code cleanup in MultiStepBuilder.__call__(),
6439 and replicating some logic in scons_subst().
6441 - Add --implicit-deps-changed and --implicit-deps-unchanged options.
6443 - Add a GetLaunchDir() function.
6445 - Add a SetBuildSignatureType() function.
6449 - Add an Append() method to Environments, to append values to
6450 construction variables.
6452 - Change the name of Update() to Replace(). Keep Update() as a
6453 deprecated synonym, at least for now.
6455 From Terrel Shumway:
6457 - Use a $PYTHON construction variable, initialized to sys.executable,
6458 when using Python to build parts of the SCons packages.
6460 - Use sys.prefix, not sys.exec_prefix, to find pdb.py.
6464 RELEASE 0.07 - Thu, 2 May 2002 13:37:16 -0500
6468 - Changes to build SCons packages on IRIX (and other *NIces).
6470 - Don't create a directory Node when a file already exists there,
6473 - Add 'dirs' and 'names' keyword arguments to SConscript for
6474 easier specification of subsidiary SConscript files.
6478 - Internal cleanup of environment passing to function Actions.
6480 - Builders can now take arbitrary keyword arguments to create
6481 attributes to be passed to: command generator functions,
6482 FunctionAction functions, Builder emitter functions (below),
6483 and prefix/suffix generator functions (below).
6485 - Command generator functions can now return ANYTHING that can be
6486 converted into an Action (a function, a string, a CommandGenerator
6487 instance, even an ActionBase instance).
6489 - Actions now call get_contents() with the actual target and source
6490 nodes used for the build.
6492 - A new DictCmdGenerator class replaces CompositeBuilder to support
6493 more flexible Builder behavior internally.
6495 - Builders can now take an emitter= keyword argument. An emitter
6496 is a function that takes target, source, and env argument, then
6497 return a 2-tuple of (new sources, new targets). The emitter is
6498 called when the Builder is __call__'ed, allowing a user to modify
6499 source and target lists.
6501 - The prefix, suffix and src_suffix Builder arguments now take a
6502 callable as well a string. The callable is passed the Environment
6503 and any extra Builder keyword arguments and is expected to return
6504 the appropriate prefix or suffix.
6506 - CommandActions can now be a string, a list of command + argument
6507 strings, or a list of commands (strings or lists).
6509 - Added shared library support. The Object and Library Builders now
6510 take a "shared=1" keyword argument to specify that a shared object
6511 or shared library should be built. It is an error to try to build
6512 static objects into a shared library or vice versa.
6514 - Win32 support for .def files has been added. Added the Win32-specific
6515 construction variables $WIN32DEFPREFIX, $WIN32DEFSUFFIX,
6516 $WIN32DLLPREFIX and $WIN32IMPLIBPREFIX. When building a .dll,
6517 the new construction variable $WIN32_INSERT_DEF, controls whether
6518 the appropriately-named .def file is inserted into the target
6519 list (if not already present). A .lib file is always added to
6520 a Library build if not present in the list of targets.
6522 - ListBuilder now passes all targets to the action, not just the first.
6524 - Fix so that -c now deletes generated yacc .h files.
6526 - Builder actions and emitter functions can now be initialized, through
6527 construction variables, to things other than strings.
6529 - Make top-relative '#/dir' lookups work like '#dir'.
6531 - Fix for relative CPPPATH directories in subsidiary SConscript files
6534 - Add a for_signature argument to command generators, so that
6535 generators that need to can return distinct values for the
6536 command signature and for executing the command.
6540 - Create a better scons.bat file from a py2bat.py script on the Python
6541 mailing list two years ago (modeled after pl2bat.pl).
6545 - Fix so that -c -n does *not* remove the targets!
6547 - Man page: Add a hierarchical libraries + Program example.
6549 - Support long MSVC linker command lines through a builder action
6550 that writes to a temporary file and uses the magic MSVC "link @file"
6551 argument syntax if the line is longer than 2K characters.
6553 - Fix F77 command-line options on Win32 (use /Fo instead of -o).
6555 - Use the same action to build from .c (lower case) and .C (upper
6556 case) files on case-insensitive systems like Win32.
6558 - Support building a PDF file directly from a TeX or LaTeX file
6559 using pdftex or pdflatex.
6561 - Add a -x option to runtest.py to specify the script being tested.
6562 A -X option indicates it's an executable, not a script to feed
6563 to the Python interpreter.
6565 - Add a Split() function (identical to SCons.Util.argmunge()) for use
6566 in the next release, when Builders will no longer automatically split
6567 strings on white space.
6571 - Add the SConscriptChdir() method.
6575 - Fix --debug=tree when used with directory targets.
6577 - Significant internal restructuring of Scanners and Taskmaster.
6579 - Added new --debug=dtree option.
6581 - Fixes for --profile option.
6583 - Performance improvement in construction variable substitution.
6585 - Implemented caching of content signatures, plus added --max-drift
6586 option to control caching.
6588 - Implemented caching of dependency signatures, enabled by new
6589 --implicit-cache option.
6591 - Added abspath construction variable modifier.
6593 - Added $SOURCE variable as a synonym for $SOURCES[0].
6595 - Write out .sconsign files on error or interrupt so intermediate
6596 build results are saved.
6598 - Change the -U option to -D. Make a new -U that builds just the
6599 targets from the local SConscript file.
6601 - Fixed use of sys.path so Python modules can be imported from
6602 the SConscript directory.
6604 - Fix for using Aliases with the -u, -U and -D options.
6606 - Fix so that Nodes can be passed to SConscript files.
6610 - Changes for official Debian packaging.
6614 RELEASE 0.06 - Thu, 28 Mar 2002 01:24:29 -0600
6618 - Fix command generators to expand construction variables.
6620 - Make FunctionAction arguments be Nodes, not strings.
6622 From Stephen Kennedy:
6624 - Performance: Use a dictionary, not a list, for a Node's parents.
6628 - Add .zip files to the packages we build.
6630 - Man page: document LIBS, fix a typo, document ARGUMENTS.
6632 - Added RANLIB and RANLIBFLAGS construction variables. Only use them
6633 in ARCOM if there's a "ranlib" program on the system.
6635 - Add a configurable CFILESUFFIX for the Builder of .l and .y files
6638 - Add a CXXFile Builder that turns .ll and .yy files into .cc files
6639 (configurable via a CXXFILESUFFIX construction variable).
6641 - Use the POSIX-standard lex -t flag, not the GNU-specific -o flag.
6642 (Bug reported by Russell Christensen.)
6644 - Fixed an exception when CPPPATH or LIBPATH is a null string.
6645 (Bug reported by Richard Kiss.)
6647 - Add a --profile=FILE option to make profiling SCons easier.
6649 - Modify the new DVI builder to create .dvi files from LaTeX (.ltx
6652 - Add support for Aliases (phony targets).
6654 - Add a WhereIs() method for searching for path names to executables.
6656 - Add PDF and PostScript document builders.
6658 - Add support for compiling Fortran programs from a variety of
6659 suffixes (a la GNU Make): .f, .F, .for, .FOR, .fpp and .FPP
6661 - Support a CPPFLAGS variable on all default commands that use the
6666 - Add support for the -U option.
6668 - Allow CPPPATH, LIBPATH and LIBS to be specified as white-space
6671 - Add a document builder to create .dvi files from TeX (.tex) files.
6675 - Fix: Construction variables with values of 0 were incorrectly
6678 - Support env['VAR'] to fetch construction variable values.
6680 - Man page: document Precious().
6684 RELEASE 0.05 - Thu, 21 Feb 2002 16:50:03 -0600
6688 - Set PROGSUFFIX to .exe under Cygwin.
6692 - Allow a library to specified as a command-line source file, not just
6693 in the LIBS construction variable.
6695 - Compensate for a bug in os.path.normpath() that returns '' for './'
6698 - More performance optimizations: cache #include lines from files,
6699 eliminate unnecessary calls.
6701 - If a prefix or suffix contains white space, treat the resulting
6702 concatenation as separate arguments.
6704 - Fix irregularities in the way we fetch DevStudio information from
6705 the Windows registry, and in our registry error handling.
6709 - Flush stdout after print so it intermixes correctly with stderr
6712 - Allow Scanners to return a list of strings, and document how to
6713 write your own Scanners.
6715 - Look up implicit (scanned) dependencies relative to the directory
6716 of file being scanned.
6718 - Make writing .sconsign files more robust by first trying to write
6719 to a temp file that gets renamed.
6721 - Create all of the directories for a list of targets before trying
6722 to build any of the targets.
6724 - WIN32 portability fixes in tests.
6726 - Allow the list of variables exported to an SConscript file to be
6729 - Document the overlooked LIBPATH construction variable.
6730 (Bug reported by Eicke Godehardt.)
6732 - Fix so that Ignore() ignores indirect, implicit dependencies
6733 (included files), not just direct dependencies.
6735 - Put the man page in the Debian distribution.
6737 - Run HTML docs through tidy to clean up the HTML (for Konqueror).
6739 - Add preliminary support for Unicode strings.
6741 - Efficiency: don't scan dependencies more than once during the
6744 - Fix the -c option so it doesn't stop removing targets if one doesn't
6746 (Bug reported by Paul Connell.)
6748 - Fix the --debug=pdb option when run on Windows NT.
6749 (Bug reported by Paul Connell.)
6751 - Add support for the -q option.
6755 - Add support for the -u option.
6757 - Add .cc and .hh file suffixes to the C Scanner.
6761 - Make the scons script return an error code on failures.
6763 - Add support for using code to generate a command to build a target.
6767 RELEASE 0.04 - Wed, 30 Jan 2002 11:09:42 -0600
6771 - Significant performance improvements in the Node.FS and
6774 - Fix signatures of binary files on Win32 systems.
6776 - Allow LIBS and LIBPATH to be strings, not just arrays.
6778 - Print a traceback if a Python-function builder throws an exception.
6782 - Fix using a directory as a Default(), and allow Default() to
6783 support white space in file names for strings in arrays.
6785 - Man page updates: corrected some mistakes, documented various
6786 missing Environment methods, alphabetized the construction
6787 variables and other functions, defined begin and end macros for
6788 the example sections, regularized white space separation, fixed
6789 the use of Export() in the Multiple Variants example.
6791 - Function action fixes: None is now a successful return value.
6792 Exceptions are now reported. Document function actions.
6794 - Add 'Action' and 'Scanner' to the global keywords so SConscript
6795 files can use them too.
6797 - Removed the Wrapper class between Nodes and Walkers.
6799 - Add examples using Library, LIBS, and LIBPATH.
6801 - The C Scanner now always returns a sorted list of dependencies
6802 so order changes don't cause unnecessary rebuilds.
6804 - Strip $(-$) bracketed text from command lines. Use this to
6805 surround $_INCDIRS and $_LIBDIRS so we don't rebuild in response
6806 to changes to -I or -L options.
6808 - Add the Ignore() method to ignore dependencies.
6810 - Provide an error message when a nonexistent target is specified
6811 on the command line.
6813 - Remove targets before building them, and add an Environment
6814 Precious() method to override that.
6816 - Eliminate redundant calls to the same builder when the target is a
6817 list of targets: Add a ListBuilder class that wraps Builders to
6818 handle lists atomically. Extend the Task class to support building
6819 and updating multiple targets in a single Task. Simplify the
6820 interface between Task and Taskmaster.
6822 - Add a --debug=pdb option to re-run SCons under the Python debugger.
6824 - Only compute a build signature once for each node.
6826 - Changes to our sys.path[] manipulation to support installation into
6827 an arbitrary --prefix value.
6831 - Add var=value command-line arguments.
6835 RELEASE 0.03 - Fri, 11 Jan 2002 01:09:30 -0600
6839 - Performance improvements in the Node.FS and Sig.Calculator classes.
6841 - Add the InstallAs() method.
6843 - Execute commands through an external interpreter (sh, cmd.exe, or
6844 command.com) to handle redirection metacharacters.
6846 - Allow the user to supply a command handler.
6850 - Search both /usr/lib and /usr/local/lib for scons directories by
6851 adding them both to sys.path, with whichever is in sys.prefix first.
6853 - Fix interpreting strings of multiple white-space separated file names
6854 as separate file names, allowing prefixes and suffixes to be appended
6855 to each individually.
6857 - Refactor to move CompositeBuilder initialization logic from the
6858 factory wrapper to the __init__() method, and allow a Builder to
6859 have both an action and a src_builder (or array of them).
6861 - Refactor BuilderBase.__call__() to separate Node creation/lookup
6862 from initialization of the Node's builder information.
6864 - Add a CFile Builder object that supports turning lex (.l) and
6865 yacc (.y) files into .c files.
6867 - Document: variable interpretation attributes; how to propogate
6868 the user's environment variables to executed commands; how to
6869 build variants in multiple BuildDirs.
6871 - Collect String, Dict, and List type-checking in common utility
6872 routines so we can accept User{String,Dict,List}s all over.
6874 - Put the Action factory and classes into their own module.
6876 - Use one CPlusPlusAction in the Object Builder's action dictionary,
6877 instead of letting it create multiple identical instances.
6879 - Document the Install() and InstallAs() methods.
6883 - Require that a Builder be given a name argument, supplying a
6884 useful error message when it isn't.
6888 - Add a "duplicate" keyword argument to BuildDir() that can be set
6889 to prevent linking/copying source files into build directories.
6891 - Add a "--debug=tree" option to print an ASCII dependency tree.
6893 - Fetch the location of the Microsoft Visual C++ compiler(s) from
6894 the Registry, instead of hard-coding the location.
6896 - Made Scanner objects take Nodes, not path names.
6898 - Have the C Scanner cache the #include file names instead of
6899 (re-)scanning the file each time it's called.
6901 - Created a separate class for parent "nodes" of file system roots,
6902 eliminating the need for separate is-parent-null checks everywhere.
6904 - Removed defined __hash__() and __cmp() methods from FS.Entry, in
6905 favor of Python's more efficient built-in identity comparisons.
6909 RELEASE 0.02 - Sun, 23 Dec 2001 19:05:09 -0600
6913 - Added the Install(), BuildDir(), and Export() methods.
6915 - Fix the -C option by delaying setting the top of the FS tree.
6917 - Avoid putting the directory path on the libraries in the LIBS
6918 construction variable.
6920 - Added a GetBuildPath() method to return the full path to the
6921 Node for a specified string.
6923 - Fixed variable substitution in CPPPATH and LIBPATH.
6927 - Fixed the version comment in the scons.bat (the UNIX geek used
6930 - Fix to setup.py so it doesn't require a sys.argv[1] argument.
6932 - Provide make-like warning message for "command not found" and
6935 - Added an EXAMPLES section to the man page.
6937 - Make Default() targets properly relative to their SConscript
6938 file's subdirectory.
6942 - Documented CXXFLAGS, CXXCOM, and CPPPATH.
6944 - Fixed SCONS_LIB_DIR to work as documented.
6946 - Made Default() accept Nodes as arguments.
6948 - Changed Export() to make it easier to use.
6950 - Added the Import() and Return() methods.
6954 RELEASE 0.01 - Thu Dec 13 19:25:23 CST 2001
6956 A brief overview of important functionality available in release 0.01:
6958 - C and C++ compilation on POSIX and Windows NT.
6960 - Automatic scanning of C/C++ source files for #include dependencies.
6962 - Support for building libraries; setting construction variables
6963 allows creation of shared libraries.
6965 - Library and C preprocessor search paths.
6967 - File changes detected using MD5 signatures.
6969 - User-definable Builder objects for building files.
6971 - User-definable Scanner objects for scanning for dependencies.
6973 - Parallel build (-j) support.
6975 - Dependency cycles detected.
6977 - Linux packages available in RPM and Debian format.
6979 - Windows installer available.