3 SCons - a software construction tool
7 NOTE: The 4.0.0 release of SCons dropped Python 2.7 support. Use 3.1.2 if
8 Python 2.7 support is required (but note old SCons releases are unsupported).
9 NOTE: Since SCons 4.3.0, Python 3.6.0 or above is required.
10 NOTE: Python 3.6 support is deprecated and will be dropped in a future release.
11 python.org no longer supports 3.6 or 3.7, and will drop 3.8 in Oct. 2024.
13 RELEASE VERSION/DATE TO BE FILLED IN LATER
16 - Added error handling when creating MSVC detection debug log file specified by
18 - MSVS: Added default HOST_ARCH values to sconstruct/sconscript environment for
19 select msvs test scripts to allow tests to run on platforms not recognized by
20 the msvs/msvc tool implementations. Fixes #4608.
21 - MSVS: Fix early exit after the first msvc version loop execution in select msvs
22 test scripts. Select msvs test scripts were being invoked for msvc version 8.0
24 - MSVS: Additional minor select msvs test script fixes as a result of the msvs
25 tests being invoked for all msvc versions: fix vs version number for vc version
26 14.3, fix expected platform toolset version, add and use a default known
27 project GUID for some select tests, add AdditionalOptions Condition to expected
29 - MSVS: Additional minor changes to the msvs tool as a result of the msvs tests
30 being invoked for all msvc versions: use environment MSVS_PROJECT_GUID when
31 generating project files information, fix the visual studio string for VS2015,
32 add .vcxproj as an expected suffix for assigning the name to the file basename.
33 - MSVS: Add additional msvs tests for multi-project and solution builds.
34 - MSVS: Check for variant directory build of MSVSSolution and adjust the source
35 node similar to the handling for MSVSProject. The solution was generated in
36 the build directory instead of the source directory. The placeholder solution
37 file is not generated in the build directory and the solution file is generated
38 in the source directory similar to the handling for project files.
40 - MSVS: Add project dsp nodes to the dsw source node list in the msvs tool. This
41 appears to always cause the project files to be generated before the solution
42 files which is necessary to retrieve the project GUIDs for use in the solution
43 file. This does change the behavior of clean for a project generated with
44 auto_build_solution disabled and explicit solution generation: when the
45 solution files are cleaned, the project files are also cleaned. The tests for
46 vs 6.0-7.1 were changed accordingly.
47 - MSVS: Add an optional keyword argument, auto_filter_projects, to MSVSSolution.
48 Accepted values for auto_filter_projects are:
49 - None [default]: raise an exception when solution file names or nodes are
50 detected in the projects argument list.
51 - True or evaluates True: automatically remove solution file names and nodes
52 from the project argument list.
53 - False or evaluates False: leave solution file names and nodes in the project
54 argument list. An exception is not raised.
55 Solution file names and/or nodes in the project argument list cause erroneous
56 Project records to be produced in the generated solution file. As a
57 convenience, an end-user may elect to ignore solution file names and nodes in
58 the projects argument list rather than manually removing solution file names
59 and nodes from the MSVSProject return values. Resolves #4613.
60 - MSVS: Remove the platform specification (i.e., platform = 'win32') from select
61 test script environments. The platform specification appears superfluous.
62 - SCons C preprocessor changes:
63 - Preserve literals that contain valid integer substring specifications.
64 Previously, the integer suffix could be stripped from a symbol that contained
65 an integer and suffix substring.
66 - Update the optional integer suffixes to include the z|Z and wb|WB suffixes.
67 - Update the optional integer suffixes to include support for alternate
68 orderings of unsigned with long or long long as defined in the c/cpp
70 - Update the optional integer suffixes for case insensitive specifications as
71 defined in the c/cpp grammar.
72 - Add support for binary integer constants.
73 - Add support for octal integer constants. Previously, octal integers were
74 evaluated as decimal integers. A literal zero (0) is treated as an octal
76 - Change the attempted conversion of a define expansion from using int() to
77 a constant expression evaluation.
80 - Removed Python 3.6 support.
81 - Ruff/Mypy: Excluded items now synced.
82 - Ruff: Linter includes new rules - `FA`, `UP006`, `UP007`, and `UP037` - to
83 detect and upgrade legacy type-hint syntax.
84 - Removed "SCons.Util.sctyping.py", as the functionality can now be substituted
85 via top-level `from __future__ import annotations`.
86 - Implemented type hints for Nodes.
89 - Update ninja tool to use ninja.BIN_DIR to find pypi packaged ninja binary.
90 python ninja package version 1.11.1.2 changed the location and previous
91 logic no longer worked.
92 - Added TestSCons.NINJA_BINARY to TestSCons to centralize logic to find ninja binary
93 - Refactored SCons.Tool.ninja -> SCons.Tool.ninja_tool, and added alias so
94 env.Tool('ninja') will still work. This avoids conflicting with the pypi module ninja.
97 - On Darwin, PermissionErrors are now handled while trying to access
98 /etc/paths.d. This may occur if SCons is invoked in a sandboxed
99 environment (such as Nix).
102 - Fix support for short options (`-x`).
104 From Keith F Prussing:
105 - Added support for tracking beamer themes in the LaTeX scanner.
108 - Many grammatical and spelling fixes in the documentation.
111 - PackageVariable now does what the documentation always said it does
112 if the variable is used on the command line with one of the enabling
113 string as the value: the variable's default value is produced (previously
114 it always produced True in this case).
115 - Minor updates to test framework. The functional change is that
116 test.must_exist() and test.must_exist_one_of() now take an optional
117 'message' keyword argument which is passed on to fail_test() if
118 the test fails. The rest is cleanup and type annotations. Be more
119 careful that the returns from stderr() and stdout(), which *can*
120 return None, are not used without checking.
121 - The optparse add_option method supports an additional calling style
122 that is not directly described in SCons docs, but is included
123 by reference ("see the optparse documentation for details"):
124 a single arg consisting of a premade option object. Because optparse
125 detects that case based on seeing zero kwargs and we always
126 added at least one (default=) that would fail for AddOption. Fix
127 for consistency, but don't advertise it further - not added to
128 manpage synopsis/description.
129 - Temporary files created by TempFileMunge() are now cleaned up on
130 scons exit, instead of at the time they're used. Fixes #4595.
131 - Override environments, created when giving construction environment
132 keyword arguments to Builder calls (or manually, through the undocumented
133 Override method), were modified not to "leak" on item deletion. The item
134 will now not be deleted from the base environment. Override Environments
135 now also pretend to have a _dict attribute so that regular environment
136 methods don't have a problem if passed an OE instance.
137 - Fix a problem with compilation_db component initialization - the
138 entries for assembler files were not being set up correctly.
139 - Add clang and clang++ to the default tool search orders for POSIX
140 and Windows platforms. These will be searched for after gcc and g++,
141 respectively. Does not affect explicitly requested tool lists.
142 Note: on Windows, SCons currently only has builtin support for
143 clang, not for clang-cl, the version of the frontend that uses
144 cl.exe-compatible command line switches.
145 - Some manpage cleanup for the gettext and pdf/ps builders.
146 - Some clarifications in the User Guide "Environments" chapter.
147 - Fix nasm test for missing include file, cleanup.
148 - Change long-standing irritant in Environment tests - instead of using
149 a while loop to pull test info from a list of tests and then delete
150 the test, structure the test data as a list of tuples and iterate it.
151 - Skip running a few validation tests if the user is root and the test is
152 not designed to work for the root user.
153 - Clarify documentation of Repository() in manpage and user guide.
154 - Add a tag to each CacheDir to let systems ignore backing it up
155 (per https://bford.info/cachedir/). Update the way a CacheDir
156 is created, since it now has to create two files.
157 - The Dictionary method now has an as_dict flag. If true, Dictionary
158 always returns a dict. The default remains to return different
159 types depending on whether zero, one, or multiple construction
160 variable names are given.
161 - Update Clean and NoClean documentation.
162 - Make sure unknown variables from a Variables file are recognized
163 as such. Previously only unknowns from the command line were
164 recognized (issue #4645).
165 - A Variables object now makes available a "defaulted" attribute,
166 a list of variable names that were set in the environment with
167 their values taken from the default in the variable description
168 (if a variable was set to the same value as the default in one
169 of the input sources, it is not included in this list).
172 RELEASE 4.8.1 - Tue, 03 Sep 2024 17:22:20 -0700
175 - Add explicit return types to sctypes `is_*` functions. For Python <=3.9,
176 the return type is simply `bool`, same as before. Python 3.10 and later
177 will benefit from `TypeGuard`/`TypeIs`, to produce intellisense similar
178 to using `isinstance` directly.
180 From Anthony Siegrist;
181 - On win32 platform, handle piped process output more robustly. Output encoding
182 now uses 'oem' which should be the systems default encoding for the shell where
183 the process is being spawned.
186 - env.Dump() now considers the "key" positional argument to be a varargs
187 type (zero, one or many). However called, it returns a serialized
188 result that looks like a dict. Previously, only a single "key" was
189 accepted, and unlike the zero-args case, it was serialized to a
190 string containing just the value (without the key). For example, if
191 "print(repr(env.Dump('CC'))" previously returned "'gcc'", it will now
192 return "{'CC': 'gcc'}".
193 - Add a timeout to test/ninja/default_targets.py - it's gotten stuck on
194 the GitHub Windows action and taken the run to the full six hour timeout.
195 Usually runs in a few second, so set the timeout to 3min (120).
196 - SCons 4.8.0 added an `__all__` specifier at the top of the Variables
197 module (`Variables/__init__.py`) to control what is made available in
198 a star import. However, there was existing usage of doing
199 `from SCons.Variables import *` which expected the variable *types*
200 to be available. While we never advertised this usage, there's no
201 real reason it shouldn't keep working - add to `__all__`.
202 - Switch SCons build to use setuptools' supported version fetcher from
203 the old homegrown one.
204 - Improve wording of manpage "Functions and Environment Methods" section.
205 Make doc function signature style more consistent - tweaks to AddOption,
206 DefaultEnvironment and Tool,.
207 - Fix a problem with AppendUnique and PrependUnique where a value could
208 be erroneously removed due to a substring match.
209 - Fix handling of ListVariable when supplying a quoted choice containing
210 a space character (issue #4585).
213 RELEASE 4.8.0 - Sun, 07 Jul 2024 17:22:20 -0700
216 - For msvc version specifications without an 'Exp' suffix, an express installation
217 is used when no other edition is detected for the msvc version. Similarly, an
218 express installation of the IDE binary is used when no other IDE edition is
220 - VS2015 Express (14.0Exp) does not support the sdk version argument. VS2015 Express
221 does not support the store argument for target architectures other than x86.
222 Script argument validation now takes into account these restrictions.
223 - VS2015 BuildTools (14.0) does not support the sdk version argument and does not
224 support the store argument. Script argument validation now takes into account
226 - The Windows SDK for Windows 7 and .NET Framework 4" (SDK 7.1) populates the
227 registry keys in a manner in which the msvc detection would report that VS2010
228 (10.0) is installed when only the SDK was installed. The installed files are
229 intended to be used via the sdk batch file setenv.cmd. The installed msvc
230 batch files will fail. The msvc detection logic now ignores SDK-only VS2010
231 installations. Similar protection is implemented for the sdk-only installs that
232 populate the installation folder and registry keys for VS2008 (9.0), if necessary.
233 - For VS2005 (8.0) to VS2015 (14.0), vsvarsall.bat is employed to dispatch to a
234 dependent batch file when configuring the msvc environment. Previously, only the
235 existence of the compiler executable was verified. In certain installations, the
236 dependent batch file (e.g., vcvars64.bat) may not exist while the compiler
237 executable does exist resulting in build failures. The existence of vcvarsall.bat,
238 the dependent batch file, and the compiler executable are now validated.
239 - MSVC configuration data specific to versions VS2005 (8.0) to VS2008 (9.0) was added
240 as the dependent batch files have different names than the batch file names used
241 for VS2010 (10.0) and later. The VS2008 (9.0) Visual C++ For Python installation
242 is handled as a special case as the dependent batch files are: (a) not used and (b)
243 in different locations.
244 - When VS2008 (9.0) Visual C++ For Python is installed using the ALLUSERS=1 option
245 (i.e., msiexec /i VCForPython27.msi ALLUSERS=1), the registry keys are written to
246 HKEY_LOCAL_MACHINE rather than HKEY_CURRENT_USER. An entry was added to query the
247 Visual C++ For Python keys in HKLM following the HKCU query, if necessary.
248 - For VS2008, a full development edition (e.g., Professional) is now selected before
249 a Visual C++ For Python edition. Prior to this change, Visual C++ For Python was
250 selected before a full development edition when both editions are installed.
251 - The registry detection of VS2015 (14.0), and earlier, is now cached at runtime and
252 is only evaluated once for each msvc version.
253 - The vswhere executable is frozen upon initial detection. Specifying a different
254 vswhere executable via the construction variable VSWHERE after the initial
255 detection now results in an exception. Multiple bugs in the implementation of
256 specifying a vswhere executable via the construction variable VSWHERE have been
257 fixed. Previously, when a user specified vswhere executable detects new msvc
258 installations after the initial detection, the internal msvc installation cache
259 and the default msvc version based on the initial detection are no longer valid.
260 For example, when no vswhere executable is found for the initial detection
261 and then later an environment is constructed with a user specified vswhere
262 executable that detects new msvc installations.
263 - The vswhere detection of VS2017 (14.1), and later, is now cached at runtime and is
264 only evaluated once using a single vswhere invocation for all msvc versions.
265 Previously, the vswhere executable was invoked for each supported msvc version.
266 - The vswhere executable locations for the WinGet and Scoop package managers were
267 added to the default vswhere executable search list after the Chocolatey
268 installation location.
269 - Fix issue #4543: add support for msvc toolset versions 14.4X installed as the
270 latest msvc toolset versions for msvc buildtools v143. The v143 msvc buildtools
271 may contain msvc toolset versions from 14.30 to 14.4X.
274 - GetSConsVersion() to grab the latest SCons version without needing to
275 access SCons internals.
276 - Migrate setup.cfg logic to pyproject.toml; remove setup.cfg.
277 - Update .gitattributes to match .editorconfig; enforce eol settings.
278 - Replace black/flake8 with ruff for more efficient formatting & linting.
279 - When debugging (--debug=pdb), the filename SCsub is now recognized when
280 manipulating breakpoints.
283 - Fix issue #3935: OSErrors are now no longer hidden during execution of
284 Actions. All exceptions during the execution of an Action are now
285 returned by value rather than by raising an exception, for more
287 NOTE: With this change, user created Actions should now catch and handle
288 expected exceptions (whereas previously many of these were silently
289 caught and suppressed by the SCons Action execution code).
291 From Ryan Carsten Schmidt:
292 - Teach ParseFlags to put a --stdlib=libname argument into CXXFLAGS.
293 If placed in CCFLAGS (the default location), it could be fed to the
294 C compiler (gcc, clang) where it is not applicable and causes a
298 - Updated Value Node docs and tests.
299 - Python 3.13 compat: re.sub deprecated count, flags as positional args,
300 caused update-release-info test to fail.
301 - Dump() with json format selected now recognizes additional compound types
302 (UserDict and UserList), which improves the detail of the display.
303 json output is also sorted, to match the default display.
304 - Python 3.13 (alpha) changes the behavior of isabs() on Windows. Adjust
305 SCons usage of in NodeInfo classes to match. Fixes #4502, #4504.
306 - Drop duplicated __getstate__ and __setstate__ methods in AliasNodeInfo,
307 FileNodeInfo and ValueNodeInfo classes, as they are identical to the
308 ones in parent NodeInfoBase and can just be inherited.
309 - Update manpage for Tools, and for TOOL, which also gets a minor
310 tweak for how it's handled (should be more accurate in a few situations).
311 - Test framework now uses a subdirectory named "scons" below the base
312 temporary directory. This gives something invariant to tell antivirus
313 to ignore without having to exclude tmpdir itself. Fixes #4509.
314 - MSVS "live" tests of project files adjusted to look for the generated
315 executable with an exe sufffix
316 - Documentation build now properly passes through skipping the PDF
317 (and EPUB) builds of manpage and user guide; this can also be done
318 manually if directly calling doc/man/SConstruct and doc/user/SConstruct
319 by adding SKIP_PDF=1. This should help with distro packaging of SCons,
320 which now does not need "fop" and other tools to be set up in order to
321 build pdf versions which are then ignored.
322 - Add the ability to print a Variables object for debugging purposes
323 (provides a __str__ method in the class).
324 - Mark Python 3.6 support as deprecated.
325 - Clean up Variables: more consistently call them variables (finish the
326 old change from Options) in docstrings, etc.; some typing and other
327 tweaks. Update manpage and user guide for Variables usage.
328 - Regularize internal usage of Python version strings and drop one
329 old Python 2-only code block in a test.
330 - scons-time tests now supply a "filter" argument to tarfile.extract
331 to quiet a warning which was added in Python 3.13 beta 1.
332 - Improved the conversion of a "foreign" exception from an action
333 into BuildError by making sure our defaults get applied even in
334 corner cases. Fixes #4530.
335 - Restructured API docs build (Sphinx) so main module contents appear
336 on a given page *before* the submodule docs, not after. Also
337 tweaked the Util package doc build so it's structured more like the
338 other packages (a missed part of the transition when it was split).
339 - Updated manpage description of Command "builder" and function.
340 - Framework for scons-time tests adjusted so a path with a long username
341 Windows has squashed doesn't get re-expanded. Fixes a problem seen
342 on GitHub Windows runner which uses a name "runneradmin".
343 - SCons.Environment.is_valid_construction_var() now returns a boolean to
344 match the convention that functions beginning with "is" have yes/no
345 answers (previously returned either None or an re.match object).
346 Now matches the annotation and docstring (which were prematurely
347 updated in 4.6). All SCons usage except unit test was already fully
348 consistent with a bool.
349 - When a variable is added to a Variables object, it can now be flagged
350 as "don't perform substitution" by setting the argument subst.
351 This allows variables to contain characters which would otherwise
352 cause expansion. Fixes #4241.
353 - The test runner now recognizes the unittest module's return code of 5,
354 which means no tests were run. SCons/Script/MainTests.py currently
355 has no tests, so this particular error code is expected - should not
356 cause runtest to give up with an "unknown error code".
357 - Updated the notes about reproducible builds with SCons and the example.
358 - The Clone() method now respects the variables argument (fixes #3590)
359 - is_valid_construction_var() (not part of the public API) moved from
360 SCons.Environment to SCons.Util to avoid the chance of import loops. Variables
361 and Environment both use the routine and Environment() uses a Variables()
362 object so better to move to a safer location.
363 - Performance tweak: the __setitem__ method of an Environment, used for
364 setting construction variables, now uses the string method isidentifier
365 to validate the name (updated from microbenchmark results).
366 - AddOption and the internal add_local_option which AddOption calls now
367 recognize a "settable" keyword argument to indicate a project-added
368 option can also be modified using SetOption. Fixes #3983.
369 NOTE: If you were using ninja and using SetOption() for ninja options
370 in your SConscripts prior to loading the ninja tool, you will now
371 see an error. The fix is to move the SetOption() to after you've loaded
373 - ListVariable now has a separate validator, with the functionality
374 that was previously part of the converter. The main effect is to
375 allow a developer to supply a custom validator, which previously
376 could be inhibited by the converter failing before the validator
378 - Regularized header (copyright, licens) at top of documentation files
380 - Updated introductory section of manual page.
381 - Minor cleanups in tests - drop unused "% locals()" stanzas.
384 RELEASE 4.7.0 - Sun, 17 Mar 2024 17:22:20 -0700
386 From Ataf Fazledin Ahamed:
387 - Use of NotImplemented instead of NotImplementedError for special methods
388 of _ListVariable class
391 - Fix issue #2755: the msvs tool no longer writes the OS environment SCONS_HOME
392 value into the SCons environment when the SCONS_HOME variable already exists
393 in the SCons environment. Prior to this change, a valid user-defined SCons
394 environment value for SCONS_HOME would be overwritten with the OS environment
395 value of SCONS_HOME which could be None (i.e., undefined).
396 - Update the windows registry keys for detection of Visual Studio 2015 Express
397 ('14.0Exp'): the VS2015 registry key ('WDExpress') appears to be different
398 than the registry key ('VCExpress') for earlier Visual Studio express
399 versions. The registry key value is relative to the installation root rather
400 than the VC folder and requires additional path components during evaluation.
401 - Fix the vs-6.0-exec.py test script: the msvs generated project is 'foo.dsp'
402 and the command-line invocation of the Visual Studio development environment
403 program was attempting to build 'test.dsp'. The command-line invocation was
404 changed to build 'foo.dsp'.
405 - Update the msvs project generation test scripts: the msvs project execution
406 tests could produce a "false positive" test result when the test executable is
407 correctly built via the SConstruct env.Program() call and the command-line
408 invocation of the Visual Studio development environment program fails. The
409 test passes due to the existence of the test executable from the initial
410 build. The tests were modified to delete the test executable, object file,
411 and sconsign file prior to the command-line invocation of the VS development
413 - Method unlink_files was added to the TestCmd class that unlinks a list of
414 files from a specified directory. An attempt to unlink a file is made only
415 when the file exists; otherwise, the file is ignored.
416 - Fix issue #4320: add an optional argument list string to configure's CheckFunc
417 method so that the generated function argument list matches the function's
418 prototype when including a header file.
421 - Explicitly wrap non-serializable values in json dump
422 - Implemented SCons.Util.sctyping as a safe means of hinting complex types. Currently
423 only implemented for `Executor` as a proof-of-concept.
426 - Fix sphinx config to handle SCons versions with post such as: 4.6.0.post1
429 - Remove unnecessary dependencies on pypi packages from setup.cfg
432 - Fix of the --debug=sconscript option to return exist statements when using return
433 statement with stop flag enabled
435 From Prabhu S. Khalsa:
436 - Fix typo in user documentation (issue #4458)
439 - The NewParallel scheduler is now the default, the `tm_v2` flag is removed,
440 and the old scheduler is opt-in under `--experimental=legacy_sched`. Additionally,
441 the new scheduler is now used for -j1 builds as well.
442 - A python interpreter with support for the `threading` package is now required,
443 and this is enforced on startup. SCons currently sets its minimum supported
444 Python to 3.6, and it was not until Python 3.7 where `threading` became
445 default supported. In practice, we expect most real world Python 3.6 deployments
446 will have `threading` support enabled, so this will not be an issue.
447 - CacheDir writes no longer happen within the taskmaster critical section,
448 and therefore can run in parallel with both other CacheDir writes and the
450 - The NewParallel scheduler now only adds threads as new work requiring execution
451 is discovered, up to the limit set by -j. This should reduce resource utilization
452 when the achievable parallelism in the DAG is less than the -j limit.
455 - Add support for Python 3.13 (as of alpha 2). So far only affects
456 expected bytecodes in ActionTests.py.
457 - sconsign cleanup - remove some dead code, minor manpage tweaks.
458 - Be more cautious about encodings fetching command output on Windows.
459 Problem occurs in piped-spawn scenario, used by Configure tests.
461 - Clarify/fix documentation of Scanners in User Guide and Manpage.
463 - Fix bad typing in Action.py: process() and strfunction().
464 - Add Pseudo() to global functions, had been omitted. Fixes #4474.
465 - Improve handling of file data that SCons itself processes - try
466 harder to decode non-UTF-8 text. SCons.Util.to_Text now exists
467 to convert a byte stream, such as "raw" file data. Fixes #3569, #4462.
468 The Pseudo manpage entry was updated to provide more clarity.
469 - Clarify how SCons finds the project top directory, and what that is used for.
470 - The internal routine which implements the PyPackageDir function
471 would fail with an exception if called with a module which is
472 not found. It will now return None. Updated manpage entry and
474 - Doc update: standardized on the use of a new entity &MSVC; to
475 describe the Microsoft C++ compiler. Update the version table slightly.
476 Amplified the usage of MSVC_VERSION.
477 - Improve SharedLibrary docs a bit.
478 - More consistent use of &Python; in the manpage. A few links added.
479 A warning about overwriting env['ENV'] and one about Configure
480 checks possibly not running in in no-exec mode also added.
481 - Update warnings module: adds docstrings, drop three unused warnings
482 (DeprecatedSourceCodeWarning, TaskmasterNeedsExecuteWarning,
483 DeprecatedMissingSConscriptWarning) add two warnings to manpage
484 (cache-cleanup-error, future-reserved-variable), improve unittest, tweak
486 - Add locking around creation of CacheDir config file. Fixes #4489.
487 - Clarify MergeFlags usage of a dict argument.
488 - SCons documentation build can now be controlled through SKIP_DOC
489 variable - rather than just true/false can now specify
490 skip none, skip all, skip pdf docs, skip api docs.
493 RELEASE 4.6.0 - Sun, 19 Nov 2023 17:22:20 -0700
496 - Add missing directories to searched paths for mingw installs
499 - Fix issue #4312: the cached installed msvc list had an indirect dependency
500 on the target architecture in the environment dictionary. The first call
501 to construct the installed msvc list now forces the target architecture to be
502 undefined, constructs the installed msvc list, and then restores the original
504 Note: an indirect dependency on the VSWHERE construction variable in the
506 - Fix issue #4312: explicitly guard against an empty regular expression list
507 when msvc is not installed.
508 - When trying to find a valid msvc batch file, check that the compiler executable
509 (cl.exe) exists for VS6 to VS2015 to avoid executing the msvc batch file. Always
510 check that the compiler executable is found on the msvc script environment path
511 after running the msvc batch file. Only use the sdk batch files when all of the
512 msvc script host/target combinations have been exhausted and a valid script was
514 - Add ARM64 host configurations for windows and msvc.
515 Note: VS2013 and earlier has not been tested on ARM64.
516 - If necessary, automatically define VSCMD_SKIP_SENDTELEMETRY for VS2019 and later
517 on ARM64 hosts when using an arm32 build of python to prevent a powershell dll
518 not found error pop-up window.
519 - Fix an issue where test SConfTests.py would fail when mscommon debugging
520 was enabled. The mscommon debug filter class registered with the logging
521 module was refactored.
522 - Add arm64 to the MSVS supported architectures list for VS2017 and later to be
523 consistent with the current documentation of MSVS_ARCH.
524 - Fix an issue with an unhandled MissingConfiguration exception due to an msvc
525 registry query that returns a path that does not exist. Multiple invocation
526 paths were not prepared to handle the MissingConfiguration exception. The
527 MissingConfiguration exception type was removed.
528 - The MSCommon module import was changed from a relative import to a top-level
529 absolute import in the following Microsoft tools: midl, mslib, mslink, mssdk, msvc,
530 msvs. Moving any of these tools that used relative imports to the scons site tools
531 folder would fail on import (i.e., the relative import paths become invalid when
533 - The detection of the msvc compiler executable (cl.exe) has been modified:
534 * The host os environment path is no longer evaluated for the existence of the
535 msvc compiler executable when searching the detection dictionary.
536 * The existence of the msvc compiler executable is checked in the detection
537 dictionary and the scons ENV path before the detection dictionary is merged
539 * Different warnings are produced when the msvc compiler is not detected in the
540 detection dictionary based on whether or not an msvc compiler was detected in
541 the scons ENV path (i.e., a msvc compiler executable already exists in the
542 user's ENV path prior to detection).
543 * The warning message issued when a msvc compiler executable is not found in the
544 detection dictionary was modified by adding the word "requested":
545 Old warning: "Could not find MSVC compiler 'cl'."
546 New warning: "Could not find requested MSVC compiler 'cl'.".
547 * An additonal sentence is appended to the warning message issued when an msvc
548 compiler executable is not found in the msvc detection dictionary and is found
549 in the user's ENV path prior to detection:
550 " A 'cl' was found on the scons ENV path which may be erroneous."
552 From Vitaly Cheptsov:
553 - Fix race condition in `Mkdir` which can happen when two `SConscript`
554 are processed simultaneously by two separate build commands.
557 - The --debug flag now has a 'json' option which will write information
558 generated by --debug={count, memory, time, action-timestamps} and about
560 - Obsoleted YACCVCGFILESUFFIX, being replaced by YACC_GRAPH_FILE_SUFFIX.
561 If YACC_GRAPH_FILE_SUFFIX is not set, it will respect YACCVCGFILESUFFIX.
564 - The newly added --debug=sconscript option (new) will output notices when
565 entering an exiting each SConscript as they are processed.
567 From Philipp Maierhöfer:
568 - Fix gfortran tool initialization. Defaults to using binary named gfortran
569 as would be expected, and properly set's SHFORTRAN flags to include -fPIC
570 where previously it was only doing so for the other fortran versions (F77,..)
572 From Jonathon Reinhart:
573 - Fix another instance of `int main()` in CheckLib() causing failures
574 when using -Wstrict-prototypes.
577 - C scanner's dictifyCPPDEFINES routine did not understand the possible
578 combinations of CPPDEFINES - not aware of a "name=value" string either
579 embedded in a sequence, or by itself. The conditional C scanner thus
580 did not always properly apply the defines. The regular C scanner does
581 not use these, so was not affected. [fixes #4193]
582 - Minor cleanup for ValidateOptions - docs and docstring tweaked,
583 add missed versionadded indicator.
584 - Added some typing annotations generated by a tool, to eliminate manual
585 work in future on things which are safe for the tool to produce.
586 Then manually fixed up some things related to bool that the tool did
587 not handly ideally. For example, simple functions which just did
588 "return 1" were interpreted by the tool as returning int, when bool
589 was really the intent. Functions/methods named like "is_*", "has_*",
590 "exists" are now pretty consistently marked as "-> bool".
591 - Simplify some code due to pylint observation: "C2801: Unnecessarily
592 calls dunder method __call__. Invoke instance directly."
593 - Python 3.9 dropped the alias base64.decodestring, deprecated since 3.1.
594 Only used in msvs.py. Use base64.decodebytes instead.
595 - When debugging (--debug=pdb), the filenames SConstruct and SConscript
596 are now recognized when manipulating breakpoints. Previously,
597 only a full pathname to an sconscript file worked, as pdb requires
598 a .py extension to open a file that is not an absolute path.
599 - SCons test runner now uses pathlib to normalize and compare paths
601 - D compilers : added support for generation of .di interface files.
602 New variables DI_FILE_DIR, DI_FILE_DIR_PREFIX, DI_FILE_DIR_SUFFIX,
604 - Fixed: when using the mingw tool, if an msys2 Python is used (os.sep
605 is '/' rather than the Windows default '\'), certain Configure checks
606 could fail due to the construction of the path to run the compiled check.
607 - Added effort to find mingw if it comes from Chocolatey install of msys2.
608 - Minor doc fixes: signature of Alias() now matches implementation
609 to avoid problem if kwargs used; case of Alias with no targets is
610 mentioned in text (was already shown in example); now mention that
611 Action([item]) does not return a ListAction - previously implied
612 that if arg was a list, a ListAction was *always* returned; mention
613 default Decider and sort the names of available decider functions,
614 and add a version marking. Minor fiddling with Alias.py docstrings.
615 - Python 3.12 support: new bytecodes for ActionTests.py, adapt to
616 changes to pathlib module in runtest.py (PosixPath no longer
617 converts slashes if given a Windows-style path). Also switch to
618 using `subTest` in `ActionTests`, so that we can see all 21 fails
619 due to bytecode changes (previously testcases aborted on the first
620 assert fail so we only saw seven), and use unittest asserts to
621 simplify complex printing stanzas.
622 - Added copyright headers to files in test/ that didn't have them.
623 - Drop three unused methods from the Environment Base class:
624 get_src_sig_type and get_tgt_sig_type, as well as "private"
625 _changed_source. These were orphaned when the long-deprecated
626 Source Signatures and Target Signatures were removed, these were
628 - Remove dead code: some mocked classes in unit tests had methods
629 which have been removed from the Node class they're mocking,
630 there's no need to shadow those any more as there are no callers.
631 The methods are depends_on (base functionality removed in 2005)
632 and is_pseudeo_derived (base functionality removed in 2006). There
634 - Added pass_test() call to test/MSVC/MSVC_BATCH-spaces-targetdir.py.
635 It looked it was missing a more detailed check, but it should be
636 sufficient just to check the build worked. Renamed the fixture
637 dir to follow naming convention in test/MSVC overall, and added
638 a sconstest.skip file, also to follow convention.
639 - Marked some scanner methods as @staticmethod.
640 - Class ActionBase is now an abstract base class to more accurately
641 reflect its usage. Derived _ActionAction inherits the ABC, so it
642 now declares (actually raises NotImplementedError) two methods it
643 doesn't use so it can be instantiated by unittests and others.
644 - The yacc tool now understands the bison behavior of --header,
645 --defines and --graph being called without option-argument as being
646 synonyms for -d (first two) and -g. -H also recognized as a synonym
647 for -d. Default value for $YACC_GRAPH_FILE_SUFFIX changed to '.gv'
648 to match current bison default (since bison 3.8). Set this variable
649 to '.dot' if using byacc. The graph file name (-g) is now generated
650 relative to the requested target file name, not to the source file
651 name, to match actual current behavior (only affects if target
652 explicitly requested with a different base name
653 than source). Docs updated. Fixes #4326 and #4327.
654 - Cleaned up dblite module (checker warnings, etc.).
655 - Some cleanup in the FortranCommon tool.
656 - Rewrite the internal _subproc routine - a new scons_subproc_run() now
657 makes use of Python's subprocess.run in a more natural way, getting
658 around some of the issues with attempted context manager use, fetching
659 output, etc. - we let the subprocess module do the hard work,
660 since it's well debugged and supported. _subproc is no longer
661 called by internal code, but remains in place in case there are builds
662 which call to it (even though it was never "published API").
663 - Changed the message about scons -H to clarify it shows built-in options.
664 - Improve CacheDir() Documentation.
665 - Release-building setup tweaked. (most of) the targets listed in
666 SCons' own "scons --help" now work again.
667 - Fix platform unit test on Windows for Py 3.12+. Fixes #4376.
668 - More tweaking of test framework overview (which is duplicated onto
669 the website, but not in the regular documentation section).
670 - Extend range of recognized Java versions to 20.
671 - Builder calls now accept PathLike objects in source lists. Fixes #4398.
672 - The Help() function now takes an additional keyword argument
673 keep_local: when starting to build a help message, you can now
674 retain help from AddOption calls, but omit help for SCons' own
675 command-line options with "Help(newtext, append=True, local_only=True)".
676 - A little more code "modernization", done via "pypgrade" tool set
677 to "3.6 and above" setting.
678 - Finish the change to make calling SConscript() with a nonexistent
679 file an error. It has issued a warning since 3.0, with "warn instead
680 of fail" deprecated since 3.1. Fixes #3958.
681 - Minor (non-functional) cleanup of some tests, particuarly test/MSVC.
682 - Added more error handling while reading msvc config cache.
683 (Enabled/specified by SCONS_CACHE_MSVC_CONFIG).
684 The existing cache will be discarded if there's a decode error reading it.
685 It's possible there's a race condition creating this issue in certain CI
686 builds. Also add a simple filesystem-based locking protocol to try to
687 avoid the problem occuring.
688 - Update the first two chapters on building with SCons in the User Guide.
689 - Update docs on Export/Import - make sure mutable/immutable status has
691 - Some cleanup to the Util package, including renaming SCons.Util.types
692 to SCons.Util.sctypes to avoid any possible confusion with the
693 Python stdlib types module.
694 - TeX tests: skip tests that use makeindex or epstopdf not installed, or
695 if `kpsewhich glossaries.sty` fails.
696 - Added a .note.GNU-stack section to the test assembler files to
697 avoid the GNU linker issuing warnings for its absence.
698 - Eliminate more http: references (mostly in comments/docstrings where
699 they really weren't harmful). A few links labeled dead with no alt.
700 - Add JDK 21 LTS support
701 - Add a LIBLITERALPREFIX variable which can be set to the linker's
702 prefix for considering a library argument unmodified (e.g. for the
703 GNU linker, the ':' in '-l:libfoo.a'). Fixes Github issue #3951.
704 - Update PCH builder docs with some usage notes.
706 RELEASE 4.5.2 - Sun, 21 Mar 2023 14:08:29 -0700
709 - Remove the redundant `wheel` dependency from `pyproject.toml`,
710 as it is added automatically by the setuptools PEP517 backend.
713 - Fix a problem (#4321) in 4.5.0/4.5.1 where ParseConfig could cause an
714 exception in MergeFlags when the result would be to add preprocessor
715 defines to existing CPPDEFINES. The following code illustrates the
716 circumstances that could trigger this:
717 env=Environment(CPPDEFINES=['a'])
718 env.Append(CPPDEFINES=['b'])
719 env.MergeFlags({'CPPDEFINES': 'c'})
722 RELEASE 4.5.1 - Mon, 06 Mar 2023 14:08:29 -0700
725 - Fix a problem in 4.5.0 where using something like the following code
726 will cause a Clone()'d environment to share the CPPDEFINES with the
727 original Environment() which was cloned. Causing leakage of changes
728 to CPPDEFINES when they should be completely independent after the Clone.
729 env=Environment(CPPDEFINES=['a'])
730 env.Append(CPPDEFINES=['b']) (or AppendUnique,Prepend,PrependUnique)
732 env1.Append(CPPDEFINES=['c']) (or any other modification, but not overwriting CPPDEFINES
733 Now env['CPPDEFINES'] will contain 'c' when it should not.
736 RELEASE 4.5.0 - Sun, 05 Mar 2023 14:08:29 -0700
738 From Anatoli Babenia:
739 - Do not initialize DefaultEnvironment when calling EnsureSConsVersion(),
740 EnsurePythonVersion(), Exit(), GetLaunchDir() and SConscriptChdir().
741 - Remove unused private method SConsEnvironment._exceeds_version().
744 - Added ValidateOptions() which will check that all command line options are in either
745 those specified by SCons itself, or by AddOption() in SConstruct/SConscript. It should
746 not be called until all AddOption() calls are completed. Resolves Issue #4187
747 - Refactored SCons/Taskmaster into a package. Moved SCons/Jobs.py into that package.
748 NOTE: If you hook into SCons.Jobs, you'll have to change that to use SCons.Taskmaster.Jobs
749 - Changed the Taskmaster trace logic to use python's logging module. The output formatting
750 should remain (mostly) the same. Minor update to unittest for this to adjust for 1 less newline.
751 - Migrated logging logic for --taskmastertrace to use Python's logging module. Added logging
752 to NewParallel Job class (Andrew Morrow's new parallel job implementation)
753 - Ninja: Fix execution environment sanitation for launching ninja. Previously if you set an
754 execution environment variable set to a python list it would crash. Now it
755 will create a string joining the list with os.pathsep
756 - Move execution environment sanitation from Action._subproc() to
757 SCons.Util.sanitize_shell_env(ENV)
758 - Moved rpm and debian directories under packaging
759 - Added logic to help packagers enable reproducible builds into packaging/etc/. Please
760 read packaging/etc/README.txt if you are interested.
761 - Added --experimental=tm_v2, which enables Andrew Morrow's new NewParallel Job implementation.
762 This should scale much better for highly parallel builds. You can also enable this via SetOption().
763 - Fixed command line argument --diskcheck: previously a value of 'none' was ignored.
764 SetOption('diskcheck','none') is unaffected, as it did not have the problem.
765 - Added overrides argument to SCons.Subst.scons_subst(), subst_list(), subst(), and Action's process(),
766 strfunction(). This allows passing a dictionary of envvars to override when evaluating subst()'d strings/lists
767 - Fixed Issue #4275 - when outputting compilation db and TEMPFILE was in use, the compilation db would have
768 command lines using the generated tempfile for long command lines, instead of the full command line for
769 the compilation step for the source/target pair.
770 - Renamed the qt tools to qt3 since the logic in that tool is only for QT version 3. Renamed all env vars
771 which affect qt3 from QT_ to QT3_. If you are still using SCons to build QT 3 code, you'll need to update
772 your SConscripts. Note that using 'qt' tool has been deprecated for some time.
775 - Added JAVAPROCESSORPATH construction variable which populates -processorpath.
776 - Updated JavaScanner to scan JAVAPROCESSORPATH.
778 From Nickolai Korshunov
779 - Added FILE_ENCODING, to allow explicitly setting the text encoding for files
780 written by the Textfile() and Substfile() builders. If not specified, Textfile() and Substfile() builders
781 will write files as UTF-8. Fixed Issue #4302.
783 From Dan Mezhiborsky:
784 - Add newline to end of compilation db (compile_commands.json).
787 - Added error message to handle the case when SCons attempts to retrieve all the targets
788 for a specified builder from the CacheDir, fails to do so, and then runs into an error
789 when deleting the files which were retrieved. Previously if this happened there was no
791 - Fix issue #2757, where Configure checks that perform a check which reads a modified source
792 (including program, source or header file(s)) would incorrectly mark that file "up to date" so the
793 actual build would not see the file as modified. Leading to incorrect incremental builds.
794 Now configure checks now clear node info for non conftest nodes, so they will be re-evaluated for
795 the real taskmaster run when the build commences.
798 - Avoid returning UniqueList for `children` and other `Executor` APIs. This type
799 iterates more slowly than the builtin types. Also simplify uniquer_hashables to
800 use an faster implementation under the assumption of ordered dictionaries.
803 - Fixed runtest.py failure on Windows caused by excessive escaping of the path to python.exe.
806 - Run LaTeX after biber/bibtex only if necessary
809 - Added -fsanitize support to ParseFlags(). This will propagate to CCFLAGS and LINKFLAGS.
812 - A list argument as the source to the Copy() action function is now
813 correctly handled by converting elements to string. Copy errors out
814 if asked to copy a list to an existing non-directory destination.
815 Both the implementation and the strfunction which prints the progress
816 message were adjusted. Fixes #3009.
817 - doc: EnsureSConsVersion, EnsurePythonVersion, Exit, GetLaunchDir and
818 SConscriptChdir are now listed as Global functions only; the
819 Environment versions still work but are not documented.
820 - The Java scanner processing of JAVACLASSPATH for dependencies was
821 changed to split on os.pathsep instead of space, to match usage of
822 passing a path string like "xxx:yyy:zzz". This is not portable -
823 passing a POSIX-style path string (with ':') won't work on Windows
824 (';') - which is now documented with a hint to use a list instead
825 to be portable. Splitting on space broke paths with embedded spaces.
827 - Cleanup: make sure BoolVariable usage in tests and examples uses Python
828 boolean values instead of 0/1.
829 - Stop telling people to run "python setup.py install" in the User Guide.
830 Adds new content on using virtualenvs to be able to have multiple
831 different SCons versions available on one system.
832 - Added the "DefaultEnvironment(tools=[])" stanza to a number of tests
833 that are known to be particularly slow. It's still just a tiny
834 speedup, but the Windows CI had been occasionally timing out,
835 so maybe this helps a bit.
836 - Remove an extra existence check in one ninja test that caused it
837 to be skipped on some otherwise-valid Windows installations.
838 - test framework tests now pass on Linux and Windows (the latter can
839 still run into problems on some configurations), and automated
840 tests are now run on changes in this area so future problems can
842 - The single-file Util module was split into a package with a few
843 functional areas getting their own files - Util.py had grown to
845 - Add a zipapp package of scons-local: can use SCons from a local
846 file which does not need unpacking.
847 - Additional explanations for MSVSProject and MSVSSolution builders.
848 - Fix a problem (present in 4.4.0 only) where a Java inner class could
849 not be cached because the emitted filename contained a '$' and when
850 looked up through a node ended up generating a Python SyntaxError
851 because it was passed through scons_subst().
852 - Have the gfortran tool do a better job of honoring user preferences
853 for the dialect tools (F77, F90, F03 and F09, as well as the shared-library
854 equivalents SHF77, SHF90, SHF03, SHF09). Previously these were
855 unconditionally overwritten to 'gfortran'; the change should be more
856 in line with expectations of how these variables should work.
857 Also cleaned a few Fortran tests - test behavior does not change.
858 - Updated MSVC documentation - adds "version added" annotations on recently
859 added construction variables and provides a version-mapping table.
860 - Add Python 3.12 support, and indicate 3.11/3.12 support in package.
861 3.12 is in alpha for this SCons release, the bytecode sequences
862 embedded in SCons/ActionTests.py may need to change later, but
863 based on what is known now, 3.12 itself should work with this release.
864 - Add "append" keyword argument to Configure context's CheckLib and
865 CheckLibWithHeader to control whether to append or prepend (issue #2767)
866 Also added "unique" keyword, to control whether a library is added
867 or not if it is already in the $LIBS construction var in the
868 configure context. (issue #2768).
869 - Completely refactored the CPPDEFINES logic in Append/AppendUnique/Prepend/PrependUnique
870 This change fixes the following GH Issues:
871 - GH Issue #3876 - Append() and AppendUnique() will handle CPPDEFINES the same
872 - GH Issue #4254 - Make handling tuples in CPPDEFINES consistent.
873 - We no longer sort the keys added to CPPDEFINES by their dictionary keys.
874 We take advantage that their order is now stable based on insertion order
876 - Added/modifed unit and system tests to verify these changes.
879 RELEASE 4.4.0 - Sat, 30 Jul 2022 14:08:29 -0700
882 - Verify that a user specified msvc script (via MSVC_USE_SCRIPT) exists and raise an exception
883 when the user specified msvc script does not exist.
884 - Fix issue where if you only had mingw installed on a Windows system and no MSVC compiler, and
885 did not explicitly request the mingw tool, mingw tool initialization would fail and set the
886 default compiler to MSVC which wasn't installed, yielding broken build.
887 Updated mingw tool so that the generate and exists methods use the same mingw search paths
889 - Update the debug output written to stdout for MSVC initialization which is enabled by setting
890 SCONS_MSCOMMON_DEBUG=- to use the logging module. Also changed the debug output format
891 written to stdout to include more information about the source for each message of MSVC
892 initialization debugging output. A single space was added before the message for all
893 debugging output records written to stdout and to files.
894 - Refactor the data definitions for msvc configurations to allow derived data structures to be
895 constructed during initialization that removes the need for special case handling during
896 runtime execution. Special case handling of host/target combinations is eliminated and
897 replaced with pre-computed search lists that implicitly handle the differences between full
898 versions and express versions of msvc. This fixes an issue where Express versions of the MSVC
899 compiler were not detected due to differences in initial msvc detection and msvc batch file
900 determination when configuring the build environment. This could lead to build failures when
901 only an MSVC Express instance is installed and the MSVC version is not explicitly specified
902 (issue #2668 and issue #2697).
903 - Added MSVC_USE_SETTINGS construction variable to pass a dictionary to configure the msvc compiler
904 system environment as an alternative to bypassing Visual Studio autodetection entirely.
905 - Added MSVC_SDK_VERSION construction variable which allows building with a specific Microsoft
906 SDK version. This variable is used with the msvc batch file determined via autodetection subject
907 to validation constraints. Refer to the documentation for additional requirements and validation
909 - Added MSVC_TOOLSET_VERSION construction variable which allows building with a specific toolset
910 version. This variable is used with the msvc batch file determined via autodetection subject to
911 validation constraints. This variable does not affect the autodetection and selection of msvc
912 instances. The toolset version is applied after an msvc instance is selected. This could be the
913 default version of msvc. Refer to the documentation for additional requirements and validation
914 details. Addresses issue #3265, issue #3664, and pull request #4149.
915 - Added MSVC_SPECTRE_LIBS construction variable which allows building with spectre-mitigated
916 Visual C++ libraries. This variable is used with the msvc batch file determined via autodetection
917 subject to validation constraints. Refer to the documentation for additional requirements and
919 - Added MSVC_SCRIPT_ARGS construction variable which specifies command line arguments that are
920 passed to the msvc batch file determined via autodetection subject to validation constraints.
921 Refer to the documentation for additional requirements and validation details. Addresses
922 enhancement issue #4106.
923 - An exception is raised when MSVC_UWP_APP is enabled for Visual Studio 2013 and earlier.
924 Previous behavior was to silently ignore MSVC_UWP_APP when enabled for Visual Studio 2013
925 and earlier. Refer to the documentation for additional requirements and validation details.
926 MSVC_UWP_APP was extended to accept True, False, and None in addition to '1' and '0'.
927 - The imported system environment variable names for MSVC 7.0 and 6.0 have been changed to the
928 names set by their respective installers. Prior to this change, bypassing MSVC detection by
929 specifying the MSVC 7.0 batch file directly would fail due to using an erroneous environment
930 variable name. Arguments are no longer passed to the MSVC 6.0 to 7.1 batch files as no
931 arguments are required and could improve the effectiveness of the internal MSVC cache.
932 - Propagate the OS and windir environment variables from the system environment to the msvc
933 environment. The OS and windir environment variables are used in the MSVC 6.0 batch file
934 and the SDK 6.0-7.1 SetEnv.cmd batch files. Inclusion of the OS and windir environment
935 variables eliminates some partial paths and warnings generated by the MSVC 6.0 and SDK
936 6.0-7.1 batch files when the variables are not defined.
937 Note: Attempting to run the SDK 6.0-7.1 batch files directly via MSVC_USE_SCRIPT can lead to
938 build failures and/or incomplete build environments. The SDK 6.0-7.1 batch files
939 require delayed expansion to be enabled which is currently not supported and is
940 typically not enabled by default on the host system. The batch files may also require
941 environment variables that are not included by default in the msvc environment.
942 - Suppress issuing a warning when there are no installed Visual Studio instances for the default
943 tools configuration (issue #2813). When msvc is the default compiler because there are no
944 compilers installed, a build may fail due to the cl.exe command not being recognized. At
945 present, there is no easy way to detect during msvc initialization if the default environment
946 will be used later to build a program and/or library. There is no error/warning issued for the
947 default tools as there are legitimate SCons uses that do not require a c compiler.
948 - Added a global policy setting and an environment construction variable for specifying the
949 action to be taken when an msvc request cannot be satisfied. The available options are "error",
950 "exception", "warning", "warn", "ignore", and "suppress". The global policy variable may be
951 set and retrieved via the functions msvc_set_notfound_policy and msvc_get_notfound_policy,
952 respectively. These two methods may be imported from SCons.Tool.MSCommon. The environment
953 construction variable is MSVC_NOTFOUND_POLICY. When defined, the environment construction
954 variable overrides the global policy setting for a given environment. When the active policy
955 is "error" or "exception", an MSVCVersionNotFound exception is raised. When the active policy
956 is "warning" or "warn", a VisualCMissingWarning warning is issued and the constructed
957 environment is likely incomplete. When the active policy is "ignore" or "suppress", no action
958 is taken and the constructed environment is likely incomplete. As implemented, the default
959 global policy is "warning". The ability to set the global policy via an SCons command-line
960 option may be added in a future enhancement.
961 - Added a global policy setting and an environment construction variable for specifying the
962 action to be taken when msvc script errors are detected. The available options are "error",
963 "exception", "warning", "warn", "ignore", and "suppress". The global policy variable may be
964 set and retrieved via the functions msvc_set_scripterror_policy and msvc_get_scripterror_policy,
965 respectively. These two methods may be imported from SCons.Tool.MSCommon. The environment
966 construction variable is MSVC_SCRIPTERROR_POLICY. When defined, the environment construction
967 variable overrides the global policy setting for a given environment. When the active policy
968 is "error" or "exception", an MSVCScriptExecutionError exception is raised when msvc batch file
969 errors are detected. When the active policy is "warning" or "warn", an MSVCScriptExecutionWarning
970 warning is issued when msvc batch file errors are detected. When the active policy is "ignore" or
971 "suppress", msvc batch error messages are suppressed. As implemented, the default global policy
972 is "ignore". The ability to set the global policy via an SCons command-line option may be added
973 in a future enhancement.
974 - Added experimental function msvc_query_version_toolset to SCons.Tool.MSCommon. Given a version
975 specification, this function will return an msvc version and an msvc toolset version. The msvc
976 toolset version may be None. The msvc version and msvc toolset version can be used in the
977 environment construction variables MSVC_VERSION and MSVC_TOOLSET_VERSION, respectively. The
978 version specification may be an msvc version or an msvc toolset version. This is a proxy for
979 using an msvc toolset version to select an msvc instance. This function may be removed when an
980 msvc toolset version is used during msvc instance selection.
981 - Modify the MSCommon logger configuration to be independent of the root logger. This fixes an issue
982 when multiple loggers are created and the MSCommon logger added computed fields to the root logger
983 that are not present in other logging instances.
984 - Modify the MSVC_USE_SCRIPT_ARGS test fixture to disable the msvc cache. This fixes an issue where
985 the MSVC_USE_SCRIPT_ARGS test for success relied on a debug log message that was not produced when
986 the msvc cache file exists and the test keys are already in the cache as the msvc script invocation
990 - Fix check for unsupported Python version. It was broken. Also now the error message
991 will include what is the minimum supported version of Python
992 - Fix ActionTests to work with python 3.10.1 (and higher)
993 NOTE: If you build with Python 3.10.0 and then rebuild with 3.10.1 (or higher), you may
994 see unexpected rebuilds. This is due to Python internals changing which changed
995 the signature of a Python Action Function.
996 - Fix a number of Python ResourceWarnings which are issued when running SCons and/or it's tests
997 with python 3.9 (or higher)
998 - Action._subproc() can now be used as a python context manager to ensure that the
999 POpen object is properly closed.
1000 (Thanks to Mats Wichmann for catching that DummyPopen needed additional logic)
1001 - Added project_url for mailing lists and Discord
1002 - Updated project url in steup.cfg to be https instead of http
1003 - Updated setup.cfg to remove Python 3.5 and add Python 3.10
1004 - Added default values for source and target arguments to _defines() function. This
1005 is used to expand CPPDEFINES (and others). Previous change added those arguments
1006 with no defaults, so old usage where _defines() was called without source and target
1007 arguments would yield an exception. This issue was found via qt4 and qt5 tools in
1008 scons-contrib https://github.com/SCons/scons-contrib/issues/45
1011 - Add JavaScanner to include JAVACLASSPATH as a dependency when using the Java tool.
1012 - Fix incorrect Java classpath generation when a NodeList is used as part of any JAVA*PATH variables.
1015 - Add cache-debug messages for push failures.
1016 - Ninja: Changed generated build.ninja file to run SCons only build Actions via
1017 a SCons Deamon. Added logic for starting and connecting to SCons daemon (currently
1018 only used for ninja)
1019 - Ninja: Fix issue where Configure files weren't being properly processed when build run
1021 - Ninja: Added ninja mingw support and improved ninja CommandGeneratorAction support.
1022 - Ninja: Update ninja file generation to only create response files for build commands
1023 which exceed MAXLINELENGTH
1024 - Ninja: Added NINJA_GENERATED_SOURCE_ALIAS_NAME which allows user to specify an
1025 Alias() which the ninja tool can use to determine which files are generated sources.
1026 If this is not set by the user then the ninja tool will still dynamically determine
1027 which files are generated sources based on NINJA_GENERATED_SOURCE_SUFFIXES, and create
1028 a phony target _ninja_generated_sources. Generated sources will be built first by
1029 ninja. This is needed because ninja cannot determine which generated sources are
1030 required by other build targets. Code contributed by MongoDB
1031 The downstream commit is here:
1032 https://github.com/mongodb/mongo/commit/2fef432fa6e7cf3fd4f22ba3b193222c2887f14f
1033 - Ninja: Added special case for ninja scons daemon to work in win32 python3.6 environments.
1034 This particular environment does a bad job managing popen standard file handles, so
1035 some special workarounds are needed.
1036 - Ninja:Added user configurable setting of ninja depfile format via NINJA_DEPFILE_PARSE_FORMAT.
1037 Now setting NINJA_DEPFILE_PARSE_FORMAT to [msvc,gcc,clang] can force the ninja expected
1038 format. Compiler tools will also configure the variable automatically.
1039 - Ninja: Made ninja tool force the ninja file as the only target.
1040 - Ninja: Improved the default targets setup and made sure there is always a default target for
1041 the ninja file, which excludes targets that start and stop the daemon.
1042 - Ninja: Update ninja tool so targets passed to SCons are propagated to ninja when scons
1043 automatically executes ninja.
1044 - Small refactor of scons daemons using a shared StateInfo class for communication
1045 between the scons interactive thread and the http server thread. Added error handling
1046 for scons interactive failing to startup.
1047 - Ninja: Updated ninja scons daemon scripts to output errors to stderr as well as the daemon log.
1048 - Ninja: Fix typo in ninja scons daemon startup which causes ConnectionRefusedError to not retry
1049 - Added SHELL_ENV_GENERATORS construction variable. This variable should be set to a list
1050 (or an iterable) which contains functions to be called in order
1051 when constructing the execution environment (Generally this is the shell environment
1052 variables). This allows the user to customize how (for example) PATH is constructed.
1053 Note that these are called for every build command run by SCons. It could have considerable
1054 performance impact if not used carefully.
1055 to connect to the server during start up.
1056 - lex: Fixed an issue with the lex tool where file arguments specified to either "--header-file="
1057 or "--tables-file=" which included a space in the path to the file would be processed incorrectly
1058 - Ninja: added option "--skip-ninja-regen" to enable skipping regeneration of the ninja file
1059 if scons can determine the ninja file doesnot need to be regenerated, which will also
1060 skip restarting the scons daemon. Note this option is could result in incorrect rebuilds
1061 if scons Glob or scons generated files are used in ninja build target's command lines.
1062 - Ninja: Added new alias "shutdown-ninja-scons-daemon" to allow ninja to shutdown the daemon.
1063 Also added cleanup to test framework to kill ninja scons daemons and clean ip daemon logs.
1064 NOTE: Test for this requires python psutil module. It will be skipped if not present.
1065 - Ninja: Added command line variable NINJA_CMD_ARGS that allows to pass through ninja command line args.
1066 This can also be set in your Environment().
1069 - Tweak the way default site_scons paths on Windows are expressed to
1070 conform to conventions (what they actually resolve to is unchanged),
1071 drop a Py2 workaround, and pick a better "system" path, old one
1072 remains supported (%AllUsersProfile%\scons\site_scons vs old
1073 %AllUsersProfile%\Application Data\scons\site_scons).
1074 - Fix testsuite to work on Windows systems where there is no usable
1075 association for running .py files directly. There are a few tests where
1076 we need to do this for internal reasons, those are skipped in that case.
1077 Bad association could mean some other tool took it over (Visual
1078 Studio Code is known to do this), or no association at all.
1079 - Updated debug code in MSVC and MSVS tools to conform to the
1080 suggested "lazy interpolation" use of the Python logging module.
1081 Calls now look like 'debug("template %s", text)' rather than
1082 'debug("template %s" % text)' so the logging system does the
1083 interpolation only when/if needed (was a pylint warning).
1084 - Update Help (-H) output a bit. Drop "ignored for compat" entry.
1085 Pass window size to formatter so it formats for wider displays too.
1086 - runtest.py now accepts -j 0 to auto-detect number of usable
1087 processors for testing threads.
1088 - Fixed crash in C scanner's dictify_CPPDEFINES() function which happens if
1089 AppendUnique is called on CPPPATH. (Issue #4108).
1090 - The MSVC script_env_cache now contains a sanity check: if the retrieved
1091 tools path does not exist, the entry is invalidated so it will
1092 be recomputed, in an attempt to avoid scons failing when certain
1093 compiler version bumps have taken place. The dictionary key (uses
1094 the name of a batch file and any arguments which may have been
1095 passes), is now computed a bit differently: the dashes are left
1096 off if there are no arguments. The default cachefile is changed
1097 to have a .json suffix, for better recognition on Windows since
1098 the contents are json.
1099 - As "code modernization" all of SCons now uses the current super()
1100 zero-argument syntax instead of direct calls to a parent class method
1101 or the super() two-argument syntax.
1102 - Renamed ParseFlag's internal data structure to "mapping" instead of
1103 "dict" (avoid redefining builtin)
1104 - Fix an old use-before-set bug in tex tool (issue #2888)
1105 - Fix a test harness exception returning stderr if a wait_for timed out.
1106 - ParseConfig now correctly passes the *unique* flag to a user-supplied
1107 flag-merging function.
1108 - Restore the ability of the content-timestamp decider to see that a
1109 a source which is a symlink has changed if the file-system target of
1110 that link has been modified (issue #3880)
1111 - Modernize a few tests that use now-deprecated unittest.getTestCaseNames
1112 and unittest.makeSuite - Python itself suggests the replacements.
1113 - SCons.Tool.find_program_path now takes an optional add_path argument
1114 to add a path to the execution environment if it was discovered in
1115 default_paths. Previously, the routine, called by many tool modules,
1116 never altered the execution environment, leaving it to the tools.
1117 - A new construction variable FORTRANCOMMONFLAGS is added which is
1118 applied to all Fortran dialects, in case someone needs to set some
1119 flags globally. FORTRANFLAGS looked like it was intended for that,
1120 but was not applied to other dialects, and e2e tests explicitly checked
1121 that FORTRANFLAGS did not propagate outside the FORTRAN dialect,
1122 so the conclusion is that behavior is intentional (issue #2257)
1123 - SCons programmatic importing (tool modules and platform modules)
1124 no longer uses the deprecated (since Py 3.10) importlib.load_module
1125 routine, shifting to the preferred exec_module. Old Python 2 compatible
1126 import fallback (using the imp module) in tool module loading is dropped.
1127 Tool module loading no longer special-cases Jython, which is a dead
1128 project as far as SCons (no timeline in sight for Python 3 support).
1129 - Improvements to lex and yacc tools: better documentation of
1130 extra-file options, add test for extra-file behavior.
1131 - Two new construction variables are introduced for lex (LEX_HEADER_FILE
1132 and LEX_TABLES_FILE) as the preferred way of specifying these extra-file
1134 - Two new construction variables are introduced for yacc
1135 (YACC_HEADER_FILE and YACC_GRAPH_FILE) as the preferred way of
1136 specifying these extra-file options.
1140 - Added MSVC_USE_SCRIPT_ARGS variable to pass arguments to MSVC_USE_SCRIPT.
1141 - Added Configure.CheckMember() checker to check if struct/class has the specified member.
1143 From Ivan Kravets, PlatformIO:
1144 - Conditional C/C++ Preprocessor: Strip shell's backslashes from the computed include (-DFOO_H=\"foo.h\")
1146 RELEASE 4.3.0 - Tue, 16 Nov 2021 18:12:46 -0700
1148 From Jacob Cassagnol:
1149 - Default hash algorithm check updated for SCons FIPS compliance. Now checks for hash viability
1150 first and then walks the tree to use the first viable hash as the default one. This typically
1151 selects SHA1 on FIPS-enabled systems less than Python 3.9 as the new default instead of MD5,
1152 unless SHA1 has also been disabled by security policy, at which point SCons selects SHA256
1153 as the default. For systems running Python 3.9 and later, the hashlib bug has been fixed,
1154 and SCons will once again default to MD5 as the preferred algorithm.
1157 - Fix MSVS tests (vs-N.N-exec.py) for MSVS 6.0, 7.0, and 7.1 (import missing module).
1158 - Add support for Visual Studio 2022.
1160 From William Deegan:
1161 - Fix reproducible builds. Restore logic respecting SOURCE_DATE_EPOCH when set.
1162 - Fix version tests to work with updated scons --version output. (Date format changed)
1163 - Fix issue #4021. Change the way subst() is used in Textfile() to not evaluate '$$(' -> '$',
1164 but instead it should yield '$('.
1165 - Change SCons.Platform.win32.get_architecture() to return platform.platform() when run in an
1166 environment where neither: PROCESSOR_ARCHITEW6432 nor PROCESSOR_ARCHITECTURE is set.
1167 This should fix platform tests which started failing when HOST_OS/HOST_ARCH changes
1168 introduced by Aaron Franke (listed below) were merged.
1169 - Further PCH updates. It's now recommended that env['PCH'] should always be a File node.
1170 Either via return value from env.PCH() or by explicitly using File('StdAfx.pch').
1171 - Added --no-ignore-skips to runtest.py. Changed default to ignore skips when setting
1172 runtest.py's exit status. Previously would exit 2 if any tests were skipped.
1173 Now will only exit 2 if user specifies --no-ignore-skips and some tests were skipped.
1176 - Small fix to ensure CLVar default value is an empty list.
1177 See MongoDB bug report: https://jira.mongodb.org/browse/SERVER-59656
1178 Code contributed by MongoDB.
1179 - Ninja - Fixed an issue where if you control-c and/or killed ninja while it was running scons to
1180 regenerate build.ninja you would end up with no build.ninja file and have to rerun scons from scratch.
1181 Code contributed by MongoDB.
1184 - Define HOST_OS and HOST_ARCH in the environment for all platforms.
1185 Before this change, these were only defined for Win32 and OS/2.
1188 - Fix ninja tool to never use for_sig substitution because ninja does not use signatures. This
1189 issue affected CommandGeneratorAction function actions specifically.
1190 - Expanded ninja Mkdir to also support Mkdir actions.
1191 - Added support for the PCH environment variable to support subst generators.
1192 - Fix command line escaping for ninja dollar sign escape. Without escaping ninja properly,
1193 the ninja file scons regenerate and callback invocations will lose the $ characters used in
1194 the scons command line which ninja uses itself for escaping. For Example:
1195 scons BUILD=xyz OTHERVAR=$BUILD
1196 Prior to this fix, it would cause ninja to fail to escape the dollar sign, leading to the
1197 single dollar sign being used as a ninja escape character in the ninja file.
1200 - Added ninja API 'NINJA_FORCE_SCONS_BUILD' to force a node to callback to scons.
1203 - Two small Python 3.10 fixes: one more docstring turned into raw
1204 because it contained an escape; updated "helpful" syntax error message
1205 from 3.10 was not expected by SubstTests.py and test/Subst/Syntax.py
1206 - EmitterProxy rich comparison set is completed (checker warning).
1207 Added __le__, __gt__, __ge__.
1208 - Fix gcc/g++ tool failing if "gcc --version" returns text which fails
1209 to_String conversion (i.e., not UTF-8) - failure happens when tool
1210 initialization checks version. For gcc, the initial version string is
1211 not translated, for the rest, don't convert, just consume raw and discard.
1212 - Maintenance and doc: modernize some usage in Scanner package,
1213 calling super(), switching some imitialization to comprehensions,
1214 and code formatting. Docstring for scanner Base moved from
1215 init-method to class-level so it's picked up by Sphinx.
1216 Added new sconsign filenames to skip_entry_list in Scanner/Dir.py
1217 - Change SCons.Scanner.Base to ScannerBase. Old name kept as an alias
1218 but is now unused in SCons itself.
1219 - Call Variables option converter consistently - the converter should
1220 have access to the env if it needs to (issue #2064).
1221 - Fixed the variables Add() method to accept a tuple for the variable
1222 name the same way AddVariables() does (issue #3869).
1223 - The premade validator PathIsDirCreate for for PathVariable now catches
1224 the case where the directory could not be created due to permission
1225 problems, allowing a more helpful error to be emitted (issue #2828)
1226 - Maintenance: Python thread.setDaemon is deprecated in favor of
1227 directly updating daemon attribute - update SCons to do this.
1228 - Make sure when subst'ing a callable, the callable is called with
1229 the correct for_signature value, previously it would be true even
1230 if doing SUBST_RAW (issue #4037)
1231 - Update Util/NodeList implementation to get rid of a workaround for
1232 early Python 3 slicing issue that is no longer a problem.
1233 - Rework some Java tests to skip rather than fail on CI systems, where
1234 the working java is > v9, but a 1.8 or 9 was also found.
1235 - Java updates: on Windows, detect more default JDK install locations.
1236 On all platforms, more Java versions (up to 17.0 now). Add more information
1237 on version selection to docs.
1238 Update docs on JavaH tool in light of javah command dropped since 10.0.
1239 Try to be better about preserving user's passed-in JAVA* construction vars.
1240 - Start the deprecation of the qt tool, which refers to Qt3 (usupported
1241 since around 2006). There's a deprecation warning added, initially
1242 defaulting to disabled.
1244 From Brian Quistorff:
1245 - Fix crash when scons is run from a python environement where a signal
1246 is set from outside Python.
1249 RELEASE 4.2.0 - Sat, 31 Jul 2021 18:12:46 -0700
1252 - Fix Install() issue when copytree recursion gives bad arguments that can
1253 lead to install side-effects including keeping dangling symlinks and
1254 silently failing to copy directories (and their subdirectories) when the
1255 directory already exists in the target.
1258 - Internal MSVS update: Remove unnecessary calls to find all installed versions of msvc
1259 when constructing the installed visual studios list.
1261 From William Deegan:
1262 - Improve Subst()'s logic to check for proper callable function or class's argument list.
1263 It will now allow callables with expected args, and any extra args as long as they
1264 have default arguments. Additionally functions with no defaults for extra arguments
1265 as long as they are set using functools.partial to create a new callable which set them.
1266 - Fix Issue #3035 - mingw with SHLIBVERSION set fails with either not a dll error or
1267 "Multiple ways to build the same target were specified for:". Now mingw will disable
1268 creating the symlinks (and adding version string to ) dlls. It sets SHLIBNOVERSIONSYMLINKS,
1269 IMPLIBNOVERSIONSYMLINKS and LDMODULENOVERSIONSYMLINKS to True.
1270 - Added --experimental flag, to enable various experimental features/tools. You can specify
1271 'all', 'none', or any combination of available experimental features.
1272 - Fix Issue #3933 - Remove unguarded print of debug information in SharedLibrary logic when
1273 SHLIBVERSION is specified.
1274 - Fix versioned shared library naming for MacOS platform. (Previously was libxyz.dylib.1.2.3,
1275 has been fixed to libxyz.1.2.3.dylib. Additionally the sonamed symlink had the same issue,
1276 that is now resolved as well)
1277 - Add experimental ninja builder. (Contributed by MongoDB, Daniel Moody and many others).
1278 - Fix #3955 - _LIBDIRFLAGS leaving $( and $) in *COMSTR output. Added affect_signature flag to
1279 _concat function. If set to False, it will prepend and append $( and $). That way the various
1280 Environment variables can use that rather than "$( _concat(...) $)".
1281 - Fix issue with exparimental ninja tool which would fail on windows or when ninja package wasn't
1282 installed but --experimental=ninja was specified.
1283 - As part of experimental ninja tool, allow SetOption() to set both disable_execute_ninja and
1287 - Fix Issue #3906 - `IMPLICIT_COMMAND_DEPENDENCIES` was not properly disabled when
1288 set to any string value (For example ['none','false','no','off'])
1289 Also previously 'All' wouldn't have the desired affect.
1292 - Provide a custom argument escape function for `TempFileMunge` using a new
1293 `TEMPFILEARGESCFUNC` variable. Useful if you need to apply extra operations on
1294 a command argument before writing to a temporary file (fix Windows slashes,
1295 normalize paths, etc.)
1298 - DocbookXslt tool: The XSLT stylesheet file is now initialized to an env.File() Node,
1299 such that dependencies work correctly in hierarchical builds (eg when using
1300 DocbookXslt in SConscript('subdir/SConscript') context.
1303 - Update CacheDir to use uuid for tmpfile uniqueness instead of pid.
1304 This fixes cases for shared cache where two systems write to the same
1305 cache tmpfile at the same time because the happened to get the same pid.
1306 - Added support for passing custom CacheDir derived classes to SCons. Moved
1307 copy_from_cache attribute from the Environment class to CacheDir class.
1308 Code contributed by MongoDB.
1309 - Update BuildTask to pass all targets to the progress object fixing an issue
1310 where multi-target build nodes only got the first target passed to the progress
1312 - Fix a potential race condition in shared cache environments where the permissions are
1313 not writeable for a moment after the file has been renamed and other builds (users) will copy
1314 it out of the cache. Small reorganization of logic to copy files from cachedir. Moved CacheDir
1315 writeable permission code for copy to cache behind the atomic rename operation.
1316 - Added marking of intermediate and and multi target nodes generated from SConf tests so that
1317 is_conftest() is more accurate.
1318 - Added test for configure check failing to ensure it didn't break generating and running ninja.
1322 - Initial support in tests for Python 3.10 - expected bytecode and
1323 one changed expected exception message. Change some more regexes
1324 to be specified as rawstrings in response to DeprecationWarnings.
1325 - Add an example of adding an emitter to User Guide (concept
1327 - Add timing information for sconsign database dump when --debug=time
1328 is selected. Also switch to generally using time.perf_counter,
1329 which is the Python recommended way for timing short durations.
1330 - Drop remaining definitions of dict-like has_key methods, since
1331 Python 3 doesn't have a dictionary has_key (maintenance)
1332 - Do not treat --site-dir=DIR and --no-site-dir as distinct options.
1333 Allows a later instance to override an earlier one.
1334 - Ignore empty cmdline arguments when computing targets (issue 2986)
1335 - Remove long-deprecated construction variables PDFCOM, WIN32_INSERT_DEF,
1336 WIN32DEFPREFIX, WIN32DEFSUFFIX, WIN32EXPPREFIX, WIN32EXPSUFFIX.
1337 All have been replaced by other names since at least 1.0.
1338 - Add a __iadd__ method to the CLVar class so that inplace adds
1339 (+=) also work as expected (issue 2399)
1340 - Remove local copy of CLVar in EnvironmentTests unittest file -
1341 should be testing against the production version, and they
1342 didn't really differ.
1343 - Don't strip spaces in INSTALLSTR by using raw subst (issue 2018)
1344 - Deprecate Python 3.5 as a supported version.
1345 - CPPDEFINES now expands construction variable references (issue 2363)
1346 - Restore behavior that Install()'d files are writable (issue 3927)
1347 - Simplified Mkdir(), the internal mkdir_func no longer needs to handle
1348 existing directories, it can now pass exist_ok=True to os.makedirs().
1349 - Avoid WhereIs exception if user set a tool name to empty (from issue 1742)
1350 - Maintenance: remove obsolete __getslice__ definitions (Py3 never calls);
1351 add Node.fs.scandir to call new (Py3.5) os.scandir; Node.fs.makedirs
1352 now passes the exist_ok flag; Cachedir creation now uses this flag.
1353 - Maintenance: remove unneeded imports and reorganize some. Fix uses
1354 of warnings in some tools which instantiated the class but did nothing
1355 with them, need to instead call SCons.Warnings.warn with the warn class.
1356 - Drop overridden changed_since_last_build method in Value class.
1357 - Resync the SetOption implementation and the manpage, making sure new
1358 options are available and adding a notes column for misc information.
1359 SetOption equivalents to --hash-chunksize, --implicit-deps-unchanged
1360 and --implicit-deps-changed are enabled.
1361 - Add tests for SetOption failing on disallowed options and value types.
1362 - Maintenance: eliminate lots of checker complaints about Util.py.
1363 - Maintenance: fix checker-spotted issues in Environment (apply_tools)
1364 and EnvironmentTests (asserts comparing with self).
1365 For consistency, env.Tool() now returns a tool object the same way
1367 - Change SConscript() missing SConscript behavior - if must_exist=False,
1368 the warning is suppressed.
1369 - Make sure TEMPFILEPREFIX can be set to an empty string (issue 3964)
1372 - Add support for the (TARGET,SOURCE,TARGETS,SOURCES,CHANGED_TARGETS,CHANGED_SOURCES}.relpath property.
1373 This will provide a path relative to the top of the build tree (where the SConstruct is located)
1377 - Fix issue #3790: Generators in CPPDEFINES now have access to populated source
1380 RELEASE 4.1.0 - Tues, 19 Jan 2021 15:04:42 -0700
1383 - Add COMPILATIONDB_PATH_FILTER env option for CompilationDatabase() builder which allows
1384 filtering of entries based on the output file paths using glob style file matching (issue #3742).
1387 - Internal MSVC and test updates: Rework the msvc installed versions cache so that it
1388 is not exposed externally and update external references accordingly.
1389 - Modify the MSCommon internal-use only debug logging records to contain the correct relative
1390 file path when the debug function is called from outside the MSCommon module.
1392 From William Deegan:
1393 - Fix yacc tool, not respecting YACC set at time of tool initialization.
1394 - Refactor SCons.Tool to move all common shared and loadable module linking logic to SCons.Tool.linkCommon
1395 - Remove pywin32 imports from SCons.Script.Main. No longer needed.
1396 - Switch to use ctypes instead of pywin32 (requiring an extra pip install) - Fixes Github Issue #2291
1397 - pywin32 no longer necessary for SCons install. (pip install SCons will no longer also require pywin32 on win32)
1398 - Remove pywin32 usage from SCons.Util where it was used for accessing the registry. Python native winreg
1399 library already includes this functionality.
1400 - Remove using pywin32 to retrieve peak memory usage on Win32 for `--debug=memory`
1401 - Fix Issue #3759 - include scons.1, sconsign.1, scons-time.1 manpages in sdist and wheel packages.
1402 - Change SCons's build so the generated `SCons/__init__.py` is no longer removed by `scons -c`
1403 - Completely rewrote versioned shared libraries logic. Added support for SOVERSION via dmoody's initial PR #3733
1404 - No longer automatically disable setting SONAME on shared libraries on OpenBSD.
1405 - Fix race condition bug when initializing a scons cache directory at the
1406 same time from multiple threads or processes. Problem described in PR #3114.
1407 This is a simpler fix which should avoid some problems identified with the initial PR.
1408 (Credit to Fredrik Medley for reporting the issue, the initial PR, and discussing and testing
1410 - Minor edits to User Guide and manpage's header with copyright, released date changed.
1412 From Michał Górny:
1413 - Fix dvipdf test failure due to passing incorrect flag to dvipdf.
1416 - Fix minor bug affecting SCons.Node.FS.File.get_csig()'s usage of the MD5 chunksize.
1417 User-facing behavior does not change with this fix (GH Issue #3726).
1418 - Fix occasional test failures caused by not being able to find a file or directory fixture
1419 when running multiple tests with multiple jobs.
1420 - Added support for a new command-line parameter `--hash-format` to override the default
1421 hash format that SCons uses. It can also be set via `SetOption('hash_format')`. Supported
1422 values are: `md5`, `sha1`, and `sha256`. For all hash formats other than
1423 the default of `md5`, the SConsign database will include the name of the hash format.
1424 For example, `--hash-format=sha256` will create a SConsign with name
1425 `.sconsign_sha256.dblite.`.
1426 - Fix incorrect cache hits and/or misses when running in interactive mode by having
1427 SCons.Node.Node.clear() clear out all caching-related state.
1428 - Change Environment.SideEffect() to not add duplicate side effects.
1429 NOTE: The list of returned side effect Nodes will not include any duplicate side effect Nodes.
1430 - Add support to the Python scanner for finding dynamically generated dependencies.
1431 Previously the scanner only found imports if they existed on disk at scanning time.
1434 - Add ZIP_OVERRIDE_TIMESTAMP env option to Zip builder which allows for overriding of the file
1435 modification times in the archive.
1436 - Fix Zip builder not rebuilding when ZIPROOT env option was changed.
1439 - Fix python3 crash when Value node get_text_content when child content does not have decode()
1440 NOTE: If you depend on Value node's get_text_content returning concatenated contents of it's
1441 children. This may break your code. It now concatenates the csig() of all children.
1443 From Joachim Kuebart:
1444 - Suppress missing SConscript deprecation warning if `must_exist=False`
1448 - Fix Zip tool to respect ZIPCOMSTR. Previously all zip builder calls would yield something
1449 like zip(["test.zip"], ["zip_scons.py"]) and ignore ZIPCOMSTR if ZIPCOM and ZIPCOMSTR
1450 weren't set after the Environment/Tool is initialized. (Explained in PR #3659)
1453 - Fix issue where java parsed a class incorrectly from lambdas used after a new.
1456 - Fix using TEMPFILE in multiple actions in an action list. Previously a builder, or command
1457 with an action list like this:
1458 ['${TEMPFILE("xxx.py -otempfile $SOURCE")}', '${TEMPFILE("yyy.py -o$TARGET tempfile")}']
1459 Could yield a single tempfile with the first TEMPFILE's contents, used by both steps
1463 - Complete tests for Dictionary, env.keys() and env.values() for
1464 OverrideEnvironment. Enable env.setdefault() method, add tests.
1465 - Raise an error if an option (not otherwise consumed) is used which
1466 looks like an abbreviation of one one added by AddOption. (#3653)
1467 - Tool module not found will now raise a UserError to more clearly indicate this is
1468 probably an SConscript problem, and to make the traceback more relevant.
1469 - Fix three issues with MergeFlags:
1470 - Signature/return did not match documentation or existing usage - the implementation
1471 now no longer returns the passed env
1472 - merging --param arguments did not work (issue #3107);
1473 - passing a dict to merge where the values are strings failed (issue #2961).
1474 - Include previously-excluded SideEffect section in User Guide.
1475 - Clean up unneeded imports (autoflake tool).
1476 - Make sure cProfile is used if profiling - SCons was expecting
1477 the Util module to monkeypatch in cProfile as profile if available,
1478 but this is no longer being done.
1479 - Cleanup in SCons.Util.AddMethod. If called with an environment instance
1480 as the object to modify, the method would not be correctly set up in
1481 any Clone of that instance. Now tries to detect this and calls
1482 MethodWrapper to set up the method the same way env.AddMethod does.
1483 MethodWrapper moved to Util to avoid a circular import. Fixes #3028.
1484 - Some Python 2 compatibility code dropped
1485 - Rework runtest.py to use argparse for arg handling (was a mix
1486 of hand-coded and optparse, with a stated intent to "gradually port").
1487 - Add options to runtest to generate/not generate a log of failed tests,
1488 and to rerun such tests. Useful when an error cascades through several
1489 tests, can quickly try if a change improves all the fails. Dropped
1490 runtest test for fallback from qmtest, not needed; added new tests.
1491 - Eliminate tex tool usage of "for foo in range(len(iterable))"
1492 - Restore internal Trace function to functional state.
1493 - Only try to initialize the wix tool by default (or when tool `default` is explicitly installed)
1494 on Windows based systems.
1495 - Pick a better "Topic" Trove classifier for SCons: SW Dev / Build Tools
1496 - Use os.replace instead of os.rename in dblite so don't need to
1497 special-case Windows here. dblite is the default storage engine for the SConsign file(s).
1498 - Fix cut-n-paste error in msvc debug printout and make some debug output
1499 in msvs and msvsTests.py be off until needed (uncomment to use)
1500 - Fix Issue #3014 - Empty file and missing file have same csig
1501 - Refactor env.Append/Prepend to remove Py 1.5 era need to nest
1502 try blocks, can now "continue" at the appropriate places.
1503 - Add /snap/bin to env['PATH'] on POSIX, although this is only
1504 really useful for a subset of POSIX systems that use snaps.
1505 Was needed for CI builds, which run on Ubuntu LTS images.
1506 - Eliminate Py2-ism __nonzero__ (now __bool__). Work around issue #3860
1507 where a check for BuilderBase raising exc. on __bool__ was optimized out.
1508 This issue was found due to a bug in Python 3.10.0a4. See issue #3860 for details.
1511 RELEASE 4.0.1 - Mon, 16 Jul 2020 16:06:40 -0700
1514 - Fix fortran tools to set SHFORTRAN variables to $FORTRAN, similarly SHF77, SHF90, SHF95,
1515 SHF03 and SHF08 will default to the variables $F77, $F90, $F95, $F03 and $F08 respectively.
1516 If you were depending on changing the value of FORTRAN (or $F[0-9][0-9]) having no effect
1517 on the value of SHFORTRAN, this change will break that. The values of FORTRAN, F77, F90,
1518 F95, F03, F08 and SHFORTRAN, SHF77 (etc.) now are not overridden in generate if alredy set
1520 - Fix subprocess execution of 'lslpp' on AIX to produce text standard i/o.
1521 - Re-do the fix for suncxx tool (Oracle Studio compiler) now that only Python 3 is supported,
1522 to avoid decoding errors.
1524 From William Deegan:
1525 - Added Environment() variable TEMPFILEDIR which allows setting the directory which temp
1526 files createdby TEMPFILEMUNGE are created in.
1529 - Added method on Node to test if its node used in SConf. (Github Issue #3626)
1533 RELEASE 4.0.0 - Sat, 04 Jul 2020 12:00:27 +0000
1536 - Updated documentation toolchain to work properly under Python3, also
1537 removed libxslt support from the Docbook Tool. (issue #3580)
1538 - Added Docker images for building and testing SCons. (issue #3585)
1542 - Improve Visual Studio solution/project generation code to add support
1543 for a per-variant cppflags. Intellisense can be affected by cppflags,
1544 this is especially important when it comes to /std:c++* which specifies
1545 what C++ standard version to target. SCons will append /Zc:__cplusplus
1546 to the project's cppflags when a /std:c++* flag is found as this is
1547 required for intellisense to use the C++ standard version from cppflags.
1550 - Specify UTF-8 encoding when opening Java source file as text. By default, encoding is the output
1551 of locale.getpreferredencoding(False), and varies by platform.
1554 - MSVC updates: When there are multiple product installations (e.g, Community and
1555 Build Tools) of MSVC 2017 or MSVC 2019, an Enterprise, Professional,
1556 or Community installation will be selected before a Build Tools installation when
1557 "14.1" or "14.2" is requested, respectively. (GH Issue #3699).
1558 - MSVC updates: When there are multiple product installations of MSVC 2017 (e.g.,
1559 Community and Express), 2017 Express is no longer returned when "14.1" is
1560 requested. Only 2017 Express will be returned when "14.1Exp" is requested.
1562 - MSVC updates: An MSVC 6.0 installation now appears in the installed versions list
1563 when msvc debug output is enabled (GH Issue #3699).
1564 - MSVS test updates: Tests for building a program using generated MSVS project and
1565 solution files using MSVS 2015 and later now work as expected on x86 hosts.
1566 - Test update: Reduce the number of "false negative" test failures for the interactive
1567 configuration test (test/interactive/configure.py).
1568 - MSVS update: Fix the development environment path for MSVS 7.0.
1570 From William Deegan:
1571 - Fix broken clang + MSVC 2019 combination by using MSVC configuration logic to
1572 propagate'VCINSTALLDIR' and 'VCToolsInstallDir' which clang tools use to locate
1573 header files and libraries from MSVC install. (Fixes GH Issue #3480)
1574 - Added C:\msys64\mingw64\bin to default mingw and clang windows PATH's. This
1575 is a reasonable default and also aligns with changes in Appveyor's VS2019 image.
1576 - Drop support for Python 2.7. SCons will be Python 3.5+ going forward.
1577 - Change SCons.Node.ValueWithMemo to consider any name passed when memoizing Value() nodes
1578 - Fix Github Issue #3550 - When using Substfile() with a value like Z:\mongo\build\install\bin
1579 the implementation using re.sub() would end up interpreting the string and finding regex escape
1580 characters where it should have been simply replacing existing text. Switched to use string.replace().
1581 - Fix Github Issue #2904 - Provide useful error message when more than one Configure Contexts are opened.
1582 Only one open is allowed. You must call conf.Finish() to complete the currently open one before creating another
1583 - Add msys2 installed mingw default path to PATH for mingw tool.
1584 - C:\msys64\mingw64\bin
1585 - Purge obsolete internal build and tooling scripts
1586 - Allow user specified location for vswhere.exe specified by VSWHERE.
1587 NOTE: This must be set at the time the 'msvc' 'msvs' and/or 'mslink' tool(s) are initialized to have any effect.
1588 - Resolve Issue #3451 and Issue #3450 - Rewrite SCons setup.py and packaging. Move script logic to entry points so
1589 package can create scripts which use the correct version of Python.
1590 - Resolve Issue #3248 - Removing '-Wl,-Bsymbolic' from SHLIBVERSIONFLAGS
1591 NOTE: If your build depends on the above you must now add to your SHLIBVERSIONFLAGS
1592 - Speedup bin/docs-update-generated by caching parsed docbook schema. (60x speedup)
1593 - Reorganized source tree. Moved src/engine/SCons to SCons to be more in line with current Python source
1594 tree organization practices.
1595 - Renamed as.py to asm.py and left redirecting tool. 'as' is a reserved word and so
1596 changing the name was required as we wanted to import symbols for use in compilation_db
1598 - Add CompilationDatabase() builder in compilation_db tool. Contributed by MongoDB.
1599 Setting COMPILATIONDB_USE_ABSPATH to True|False controls whether the files are absolute or relative
1600 paths. Address Issue #3693 and #3694 found during development.
1601 - Fixed Github Issue 3628 - Hardcoding pickle protocol to 4 (supports python 3.4+)
1602 and skipping Python 3.8's new pickle protocol 5 whose main advantage is for out-of-band data buffers.
1603 NOTE: If you used Python 3.8 with SCons 3.0.0 or above, you may get a a pickle protocol error. Remove your
1604 .sconsign.dblite. You will end up with a full rebuild.
1606 From Andrii Doroshenko:
1607 - Extended `Environment.Dump()` to select a format to serialize construction variables (pretty, json).
1610 - Updated design doc to use the correct syntax for Depends()
1613 - Added support for scanning multiple entries in an action string if
1614 IMPLICIT_COMMAND_DEPENDENCIES is set to 2 or 'all'. This enables more thorough
1615 action scanning where every item in each command line is scanned to determine
1616 if it is a non-source and non-target path and added to the list of implicit dependencies
1618 - Added support for taking instances of the Value class as implicit
1620 - Added new module SCons.Scanner.Python to allow scanning .py files.
1621 - Added support for explicitly passing a name when creating Value() nodes. This may be useful
1622 when the value can't be converted to a string or if having a name is otherwise desirable.
1623 - Fixed usage of abspath and path for RootDir objects on Windows. Previously
1624 env.fs.Dir("T:").abspath would return "T:\T:" and now it correctly returns "T:".
1626 From Ivan Kravets, PlatformIO
1627 - New conditional C Scanner (`SCons.Scanner.C.CConditionalScanner()`)
1628 which interprets C/C Preprocessor conditional syntax (#ifdef, #if, #else,
1629 #elif, #define, etc.)
1630 - Improvements for virtual C Pre-Processor:
1631 * Handle UNSIGNED LONG and LONG numeric constants in DEC (keep support for HEX)
1632 * Skip unrecognized directives, such as `#if( defined ...)`
1633 * Ignore `#include DYNAMIC_INCLUDE` directive that depends on a dynamic
1634 macro which is not located in a state TABLE.
1635 * Cleanup CPP expressions before evaluating (strip comments, carriage returns)
1638 - Added a new flag called "linedraw" for the command line argument "--tree"
1639 that instructs scons to use single line drawing characters to draw the dependency tree.
1642 - Add no_progress (-Q) option as a set-able option. However, setting it in the
1643 SConstruct/SConscript will still cause "scons: Reading SConscript files ..." to be
1644 printed, since the option is not set when the build scripts first get read.
1645 - Added check for SONAME in environment to setup symlinks correctly (Github Issue #3246)
1646 - User callable's called during substition expansion could possibly throw a TypeError
1647 exception, however SCons was using TypeError to detect if the callable had a different
1648 signature than expected, and would silently fail to report user's exceptions. Fixed to
1649 use signature module to detect function signature instead of TypeError. (Github Issue #3654)
1650 - Added storage of SConstructs and SConscripts nodes into global set for checking
1651 if a given node is a SConstruct/SConscript.
1652 Added new node function SCons.Node.is_sconscript(self) (Github Issue #3625)
1655 - Fix Issue #3469 - Fixed improper reuse of temporary and compiled files by Configure when changing
1656 the order and/or number of tests. This is done by using the hash of the generated temporary files
1657 content and (For the target files) the hash of the action.
1658 So where previously files would be named:
1659 - config_1.c, config_1.o, config_1
1660 The will now be named (For example)
1661 - conftest_68b375d16e812c43e6d72d6e93401e7c_0.c,
1662 conftest_68b375d16e812c43e6d72d6e93401e7c_0_5713f09fc605f46b2ab2f7950455f187.o
1664 conftest_68b375d16e812c43e6d72d6e93401e7c_0.o
1665 conftest_68b375d16e812c43e6d72d6e93401e7c_0_5713f09fc605f46b2ab2f7950455f187 (for executable)
1667 From Mathew Robinson:
1668 - Improve performance of Subst by preventing unnecessary frame
1669 allocations by no longer defining the *Subber classes inside of their
1670 respective function calls.
1671 - Improve performance of Subst in some cases by preventing
1672 unnecessary calls to eval when a token is surrounded in braces
1673 but is not a function call.
1674 - Improve performance of subst by removing unnecessary recursion.
1675 - Cleanup dangling symlinks before running builders (Issue #3516)
1678 - Remove deprecated SourceCode
1679 - str.format syntax errors fixed
1680 - a bunch of linter/checker syntax fixups
1681 - Convert remaining uses of insecure/deprecated mktemp method.
1682 - Clean up some duplications in manpage. Clarify portion of manpage on Dir and File nodes.
1683 - Reduce needless list conversions.
1684 - Fixed regex in Python scanner.
1685 - Accommodate VS 2017 Express - it's got a more liberal license then VS
1686 Community, so some people prefer it (from 2019, no more Express)
1687 - vswhere call should also now work even if programs aren't on the C: drive.
1688 - Add an alternate warning message if cl.exe is not found and msvc config
1689 cache is in use (SCONS_CACHE_MSVC_CONFIG was given) - config cache
1691 - Fixed bug where changing TEXTFILESUFFIX would cause Substfile() to rebuild. (Github Issue #3540)
1692 - Script/Main.py now uses importlib instead of imp module.
1693 - Drop some Python 2-isms.
1694 - MSVC updates: pass on VSCMD_DEBUG and VSCMD_SKIP_SENDTELEMETRY to msvc
1695 tool setup if set in environment. Add Powershell to default env
1696 (used to call telemetry script).
1697 - Microsoft Visual Studio - switch to using uuid module to generate GUIDs rather than hand rolled
1698 method using md5 directly.
1699 NOTE: This change affects the following builders' output. If your build depends on the output of these builders
1700 you will likely see a rebuild.
1701 * Package() (with PACKAGETYPE='msi')
1704 - Docbook builder provides a fallback if lxml fails to generate
1705 a document with tostring().
1706 - Fix description of ARCOMSTR constr. var. (issue 3636). Previously the text was a copy of ASCOMSTR which
1707 has different function.
1708 - Update xml files in SCons to reflect changed relative paths after
1709 code restructuring (src/engine/SCons -> SCons)
1710 - Preliminary Python 3.9 support - elimination of some warnings.
1711 - Drop the with_metaclass jig which was designed to let class
1712 definitions using a metaclass be written the same for Py2/Py3.
1713 - Bump python_version_unsupported (and deprecated) to indicate 3.5
1714 is lowest supported Python.
1715 - ParseFlags should not modify the user's passed in dict in case it's
1716 a compound data structure (e.g. values are lists) (issue #3665)
1717 - In Py3 classes no longer need to be listed as deriving from object.
1718 - Remove deprecated check for Task subclasses needing a needs_execute
1719 method - this is now enforced via an abstract base class, so the
1720 check and test is no longer needed.
1721 - Close various logfiles (trace, cache, taskmastertrace, configure)
1722 when done using atexit calls.
1723 - Rebase forked copy of shutil.copytree to Python 3.7 stlib version.
1724 - Significant rework of documentation: API docs are now generated
1725 using Sphinx; manpage and user guide now use more "standard"
1726 markup elements (which could facilitate later conversion to a
1727 different doc format, should that choice be made); significant
1728 rewordings in manpage. Manpage Examples moved to an external
1729 repository / website (scons-cookbook.readthedocs.io).
1730 - Clean up test harness and tests' use of subdir, file_fixture and
1732 - SubstitutionEnvironment and OverrideEnvironment now have keys()
1733 and values() methods to better emulate a dict (already had items()).
1734 - Rename internal Warning base class to SConsWarning to avoid any
1735 possible confusion with Python's own Warning class.
1738 RELEASE 3.1.2 - Mon, 17 Dec 2019 02:06:27 +0000
1740 From Edoardo Bezzeccheri
1741 - Added debug option "action_timestamps" which outputs to stdout the absolute start and end time for each target.
1744 - Fix suncxx tool (Oracle Studio compiler) when using Python 3. Previously would throw an exception.
1745 Resolved by properly handling tool version string output as unicode.
1748 - Resolved a typo in engine.SCons.Tool
1751 - Resolved a race condition in multithreaded Windows builds with Python 2
1752 in the case where a child process is spawned while a Python action has a
1753 file open. Original author: Ryan Beasley.
1754 - Added memoization support for calls to Environment.Value() in order to
1755 improve performance of repeated calls.
1759 - Update Command() function to accept target_scanner, source_factory, and target_factory arguments.
1760 This makes Command act more like a one-off builder.
1763 - Added support for "-imacros" to ParseFlags
1766 - Fix CheckFunc detection code for Visual 2019. Some functions
1767 (e.g. memmove) were incorrectly recognized as not available.
1770 - Fix stacktrace when using SCons with Python 3.5+ and SunOS/Solaris related tools.
1772 From Philipp Maierhöfer:
1773 - Avoid crash with UnicodeDecodeError on Python 3 when a Latex log file in
1774 non-UTF-8 encoding (e.g. containing umlauts in Latin-1 encoding when
1775 the fontenc package is included with \usepackage[T1]{fontenc}) is read.
1777 From Mathew Robinson:
1778 - Improved threading performance by ensuring NodeInfo is shared
1779 across threads. Results in ~13% improvement for parallel builds
1780 (-j# > 1) with many shared nodes.
1781 - Improve performance of Entry.disambiguate() by making check for
1782 most common case first, preventing unnecessary IO.
1783 - Improved DAG walk performance by reducing unnecessary work when
1784 there are no un-visited children.
1787 - Replace instances of string find method with "in" checks where
1788 the index from find() was not used.
1789 - CmdStringHolder fix from issue #3428
1790 - Turn previously deprecated debug options into failures:
1791 --debug=tree, --debug=dtree, --debug=stree, --debug=nomemoizer.
1792 - Experimental New Feature: Enable caching MSVC configuration
1793 If SCONS_CACHE_MSVC_CONFIG shell environment variable is set,
1794 SCons will cache the results of past calls to vcvarsall.bat to
1795 a file; integrates with existing memoizing of such vars.
1796 On vs2019 saves 5+ seconds per SCons invocation, which really
1797 helps test suite runs.
1798 - Remove deprecated SourceSignatures, TargetSignatures
1799 - Remove deprecated Builder keywords: overrides and scanner
1800 - Remove deprecated env.Copy
1801 - Remove deprecated BuildDir plus SConscript keyword build_dir
1802 - A number of documentation improvements.
1805 RELEASE 3.1.1 - Mon, 07 Aug 2019 20:09:12 -0500
1807 From William Deegan:
1808 - Remove obsoleted references to DeciderNeedsNode which could cause crash when using --debug=explain
1811 - Add Fix and test for crash in 3.1.0 when using Decider('MD5-timestamp') and --debug=explain
1814 - Added -fmerge-all-constants to flags that get included in both CCFLAGS and LINKFLAGS.
1816 From Mathew Robinson:
1817 - Fix issue #3415 - Update remaining usages of EnvironmentError to SConsEnvironmentError
1818 this patch fixes issues introduced in 3.1.0 where any of the
1819 following would cause SCons to error and exit:
1820 - CacheDir not write-able
1821 - JSON encoding errors for CacheDir config
1822 - JSON decoding errors for CacheDir config
1824 RELEASE 3.1.0 - Mon, 20 Jul 2019 16:59:23 -0700
1827 - Code to supply correct version-specifier argument to vswhere for
1828 VS version selection.
1830 From William Deegan:
1831 - Enhanced --debug=explain output. Now the separate components of the dependency list are split up
1834 scons: rebuilding `file3' because:
1835 the dependency order changed:
1842 Old:/usr/bin/python New:/usr/bin/python
1843 - Fix Issue #3350 - SCons Exception EnvironmentError is conflicting with Python's EnvironmentError.
1844 - Fix spurious rebuilds on second build for cases where builder has > 1 target and the source file
1845 is generated. This was causing the > 1th target to not have it's implicit list cleared when the source
1846 file was actually built, leaving an implicit list similar to follows for 2nd and higher target
1847 ['/usr/bin/python', 'xxx', 'yyy', 'zzz']
1848 This was getting persisted to SConsign and on rebuild it would be corrected to be similar to this
1849 ['zzz', 'yyy', 'xxx', '/usr/bin/python']
1850 Which would trigger a rebuild because the order changed.
1851 The fix involved added logic to mark all shared targets as peers and then ensure they're implicit
1852 list is all cleared together.
1853 - Fix Issue #3349 - SCons Exception EnvironmentError is conflicting with Python's EnvironmentError.
1854 Renamed to SConsEnvironmentError
1855 - Fix Issue #3350 - mslink failing when too many objects. This is resolved by adding TEMPFILEARGJOIN variable
1856 which specifies what character to join all the argements output into the tempfile. The default remains a space
1857 when mslink, msvc, or mslib tools are loaded they change the TEMPFILEARGJOIN to be a line separator (\r\n on win32)
1858 - Fix performance degradation for MD5-timestamp decider. NOTE: This changes the Decider() function arguments.
1860 def my_decider(dependency, target, prev_ni):
1862 def my_decider(dependency, target, prev_ni, repo_node):
1863 Where repo_node is the repository (or other) node to use to check if the node is out of date instead of dependency.
1866 - Additional fix to issue #3135 - Also handle 'pure' and 'elemental' type bound procedures
1867 - Fix issue #3135 - Handle Fortran submodules and type bound procedures
1870 - Upgraded and improved Visual Studio solution/project generation code using the MSVSProject builder.
1871 - Added support for Visual Studio 2017 and 2019.
1872 - Added support for the following per-variant parameters to the builder:
1873 - cpppaths: Provides per-variant include paths.
1874 - cppdefines: Provides per-variant preprocessor definitions.
1876 From Michael Hartmann:
1877 - Fix handling of Visual Studio Compilers to properly reject any unknown HOST_PLATFORM or TARGET_PLATFORM
1880 - Added support for Visual Studio 2019 toolset.
1882 From Mathew Robinson:
1883 - Update cache debug output to include cache hit rate.
1884 - No longer unintentionally hide exceptions in Action.py
1885 - Allow builders and pseudo-builders to inherit from OverrideEnvironments
1887 From Leonard de Ruijter:
1888 - Add logic to derive correct version argument to vswhere
1890 From Lukas Schrangl:
1891 - Enable LaTeX scanner to find more than one include per line
1893 From Sergey Torokhov:
1894 - Recognize jdk on Gentoo systems.
1897 - scons-time takes more care closing files and uses safer mkdtemp to avoid
1898 possible races on multi-job runs.
1899 - Use importlib to dynamically load tool and platform modules instead of imp module
1900 - sconsign: default to .sconsign.dblite if no filename is specified.
1901 Be more informative in case of unsupported pickle protocol (py2 only).
1902 - Fix issue #3336 - on Windows, paths were being added to PATH even if
1903 tools were not found in those paths.
1904 - More fixes for newer Java versions (since 9): handle new jdk directory
1905 naming (jdk-X.Y instead of jdkX.Y) on Windows; handle two-digit major
1906 version. Docstrings improved.
1907 - Fixups for pylint: exception types, redefined functions,
1908 globals, etc. Some old code removed to resolve issues (hashlib is
1909 always present on modern Pythons; no longer need the code for
1910 2.5-and-earlier optparse). cmp is not a builtin function in Py3,
1911 drop one (unused) use; replace one. Fix another instance of
1912 renaming to SConsEnvironmentError. Trailing whitespace.
1913 Consistently use not is/in (if not x is y -> if x is not y).
1914 - Add a PY3-only function for setting up the cachedir that should be less
1915 prone to races. Add a hack to the PY2 version (from Issue #3351) to
1916 be less prone to a race in the check for old-style cache.
1917 - Fix coding error in docbook tool only exercised when using python lxml
1918 - Recognize two additional GNU compiler header directory options in
1919 ParseFlags: -iquote and -idirafter.
1920 - Fix more re patterns that contain \ but not specified as raw strings
1921 (affects scanners for D, LaTeX, swig)
1924 RELEASE 3.0.5 - Mon, 26 Mar 2019 15:04:42 -0700
1926 From William Deegan:
1928 - Fix Issue #3283 - Handle using --config=force in combination with Decider('MD5-timestamp').
1929 3.0.2 in fix for issue #2980 added that deciders can throw DeciderNeedsNode exception.
1930 The Configure logic directly calls the decider when using --config=force but wasn't handling
1931 that exception. This would yield minimally configure tests using TryLink() not running and
1932 leaving TypeError Nonetype exception in config.log
1933 - Fix Issue #3303 - Handle --config=force overwriting the Environment passed into Configure()'s
1934 Decider and not clearing it when the configure context is completed.
1935 - Add default paths for yacc tool on windows to include cygwin, mingw, and chocolatey
1936 - Fix issue #2799 - Fix mingw tool to respect SHCCCOMSTR, SHLINKCOMSTR and LDMODULECOMSTR
1937 - Fix Issue #3329 - Add support for MS SDK V10.0A (which is commonly installed with VS2017)
1938 - Fix Issue #3333 - Add support for finding vswhere under 32 bit windows installs.
1940 From Maciej Kumorek:
1941 - Update the MSVC tool to include the nologo flag by default in RCFLAGS
1944 - Change the default for AppendENVPath to delete_existing=0, so path
1945 order will not be changed, unless explicitly set (Issue #3276)
1946 - Fixed bug which threw error when running SCons on windows system with no MSVC installed.
1947 - Update link tool to convert target to node before accessing node member
1948 - Update mingw tool to remove MSVC like nologo CCFLAG
1949 - Add default paths for lex tool on windows to include cygwin, mingw, and chocolatey
1950 - Add lex construction variable LEXUNISTD for turning off unix headers on windows
1951 - Update lex tool to use win_flex on windows if available
1954 - Quiet open file ResourceWarnings on Python >= 3.6 caused by
1955 not using a context manager around Popen.stdout
1956 - Add the textfile tool to the default tool list
1957 - Fix syntax on is/is not clauses: should not use with a literal
1958 - Properly retrieve exit code when catching SystemExit
1959 - scons-time now uses context managers around file opens
1960 - Fix regex patterns that were not specified as raw strings
1962 From Bernhard M. Wiedemann:
1963 - Do not store build host+user name if reproducible builds are wanted
1966 RELEASE 3.0.4 - Mon, 20 Jan 2019 22:49:27 +0000
1969 - Improve finding of Microsoft compiler: add a 'products' wildcard
1970 in case 2017 Build Tools only is installed as it is considered a separate
1971 product from the default Visual Studio
1972 - Add TEMPFILESUFFIX to allow a customizable filename extension, as
1973 described in the patch attached to issue #2431.
1974 - scons.py and sconsign.py stopped working if script called as a symlink
1975 to location in scons-local location.
1976 - Fix issue running scons using a symlink to scons.py in an scons-local dir
1977 - Doc updates around Default(), and the various *TARGETS variables.
1980 - Improved support for VC14.1 and Visual Studio 2017, as well as arm and arm64 targets.
1981 Issues #3268 & Issue #3222
1982 - Initial support for ARM targets with Visual Studio 2017 - Issue #3182 (You must set TARGET_ARCH for this to work)
1983 - Update TempFileMunge class to use PRINT_CMD_LINE_FUNC
1986 - Enhance cpp scanner regex logic to detect if/elif expressions without whitespaces but
1987 parenthesis like "#if(defined FOO)" or "#elif!(BAR)" correctly.
1990 RELEASE 3.0.3 - Mon, 07 Jan 2019 20:05:22 -0400
1991 NOTE: 3.0.2 release was dropped because there was a packaging bug. Please consider all 3.0.2
1994 From William Deegan:
1995 - Fixes to packaging logic. Ensuring the SCons.Tool.clangCommon module is added
1996 to the release packages.
1997 - Modify scons.bat script to check for scons python script without .py extension if no file
1998 scons.py exists. This enables an all platform wheel to work.
2001 - Update doc examples to work with Python 3.5+: map() now returns an iterable instead of a list.
2004 RELEASE 3.0.2 - Mon, 31 Dec 2018 16:00:12 -0700
2006 From Bernard Blackham:
2007 - Fixed handling of side-effects in task master (fixes #3013).
2009 From William Deegan:
2010 - Remove long deprecated SCons.Options code and tests. This removes BoolOption,EnumOption,
2011 ListOption,PackageOption, and PathOption which have been replaced by *Variable() many years ago.
2012 - Re-Enable parallel SCons (-j) when running via Pypy
2013 - Move SCons test framework files to testing/framework and remove all references to QMtest.
2014 QMTest has not been used by SCons for some time now.
2015 - Updated logic for mingw and clang on win32 to search default tool install paths if not
2016 found in normal SCons PATH. If the user specifies PATH or tool specific paths they
2017 will be used and the default paths below will be ignored.
2018 - Default path for clang/clangxx : C:\Program Files\LLVM\bin
2019 - Default path for mingw : C:\MinGW\bin and/or C:\mingw-w64\*\mingw64\bin
2020 - Key program to locate mingw : mingw32-make (as the gcc with mingw prefix has no fixed name)
2021 - Fixed issue causing stack trace when python Action function contains a unicode string when being
2023 - Add alternate path to QT install for Centos in qt tool: /usr/lib64/qt-3.3/bin
2024 - Fix Java tools to search reasonable default paths for Win32, Linux, macOS. Add required paths
2025 for swig and java native interface to JAVAINCLUDES. You should add these to your CPPPATH if you need
2026 to compile with them. This handles spaces in paths in default Java paths on windows.
2027 - Added more java paths to match install for Centos 7 of openjdk
2028 - Fix new logic which populates JAVAINCLUDES to handle the case where javac is not found.
2029 - Fix GH Issue #2580 - # in FRAMEWORKPATH doesn't get properly expanded. The # is left in the
2031 - Fix issue #2980 with credit to Piotr Bartosik (and William Blevins). This is an issue where using
2032 TimeStamp-MD5 Decider and CacheDir can yield incorrect md5's being written into the .sconsign.
2033 The difference between Piotr Bartosik's patch and the current code is that the more complicated
2034 creation of file to csig map is only done when the count of children for the current node doesn't
2035 match the previous count which is loaded from the sconsign.
2036 - Fix issue # 3106 MSVC if using MSVC_BATCH and target dir had a space would fail due to quirk in
2037 MSVC's handling of escaped targetdirs when batch compiling.
2038 - Fix GH Issue #3141 unicode string in a TryAction() with python 2.7 crashes.
2039 - Fix GH Issue #3212 - Use of Py3 and CacheDir + Configure's TryCompile (or likely and Python Value Nodes)
2040 yielded trying to combine strings and bytes which threw exception.
2041 - Fix GH Issue #3225 SCons.Util.Flatten() doesn't handle MappingView's produced by dictionary as return
2042 values from dict().{items(), keys(), values()}.
2043 - Fix GH Issue #3241 - Properly support versioned shared libraries for MacOS. We've also introduced two
2044 new env variables APPLELINK_CURRENT_VERSION and APPLELINK_COMPATIBILITY_VERSION which will specify
2045 what is passed to the linkers -current_version and -compatibility_version flags. If not specified
2046 they will be derived from SHLIBVERSION as such:
2047 - APPLELINK_CURRENT_VERSION = SHLIBVERSION
2048 - APPLELINK_COMPATIBILITY_VERSION = all but the last digit in SHLIBVERSION with .0 appended.
2049 Note that the values of the above will be validated. Valid format for either APPLELINK variable is
2050 X[.Y[.Z]] where 0 <= X <= 65535, 0 <= Y <= 255, 0 <= Z <= 255.
2051 The new variables have been added to the documents and should show up in user guide and manpage.
2052 - Fix GH Issue #3136 no longer wrap io.{BufferedReader,BufferedWriter,BufferedRWPair,BufferedRandom,TextIOWrapper
2053 with logic to set HANDLE_FLAG_INHERIT flag on the file handle. Python 3.4+ automatically sets this according
2054 to Python docs: https://docs.python.org/3/library/os.html#fd-inheritance
2057 - Fix the PATH created by scons.bat (and other .bat files) to provide a normalized
2058 PATH. Some pythons in the 3.6 series are no longer able to handle paths which
2059 have ".." in them and end up crashing. This is done by cd'ing into the directory
2060 we want to add to the path and then using %CD% to give us the normalized directory
2061 See bug filed under Python 3.6: https://bugs.python.org/issue32457.
2062 Note: On Win32 PATH's which have not been normalized may cause undefined behavior
2063 by other executables being run by SCons (or any subprocesses of executables being run by SCons).
2064 Resolving this issue should eliminate that possibility going forward.
2066 From Andrew Featherstone
2067 - Removed unused --warn options from the man page and source code.
2070 - Fix cpp scanner regex logic to treat ifndef for py3.5+. Previously it was
2071 not properly differentiating between if, ifdef, and ifndef.
2073 From Philipp Maierhöfer
2074 - Added a __hash__ method to the class SCons.Subst.Literal. Required when substituting Literal
2075 objects when SCons runs with Python 3.
2076 - Added missing FORTRANMODDIRPREFIX to the gfortran tool.
2078 From Matthew Marinets:
2079 - Fixed an issue that caused the Java emitter to incorrectly parse arguments to constructors that
2080 implemented a class.
2082 From Fredrik Medley:
2083 - Fix exception when printing of EnviromentError messages.
2084 Specifically, this fixes error reporting of the race condition when
2085 initializing the cache which error previously was hidden.
2088 - Updated Jar builder to handle nodes and directories better
2089 - Updated Jar builder to flatten source list which could contain embedded lists
2090 - Removed some magic numbers from jar.py on behalf of Mats Wichmann (mats@linux.com)
2091 - Set the pickling protocal back to highest which was causing issues
2092 with variant dir tests. This will cause issues if reading sconsigns
2093 pickled with the previous lower protocol.
2094 - Updated swig to setup default paths for windows
2095 - Updated gettext tools to setup default paths for windows with Cygwin/MinGW setups
2096 - Add common location for default paths for cygwin and mingw in Platform modules
2097 - Updated YACC tool to work on windows with Cygwin/MinGW setups
2098 - Set the pickling protocal back to highest which was causing issues
2099 with variant dir tests. This will cause issues if reading sconsigns
2100 pickled with the previous lower protocol.
2101 - Updated FS.py to handle removal of splitunc function from python 3.7
2102 - Updated the vc.py to ignore MSVS versions where no compiler could be found
2104 From Gary Oberbrunner:
2105 - Fix bug when Installing multiple subdirs outside the source tree
2106 - fix to_str to handle None without raising exception
2107 - Fix -jN for python 3.7
2109 From Jonathon Reinhart:
2110 - Replace all instances of `int main()` in C code with `int main(void)`.
2111 Specifically, this fixes the test cases use by Configure.CheckCC() which
2112 would fail when using -Wstrict-prototypes.
2114 From Zachary Tessler:
2115 - Fix calculation of signatures for FunctionActions that contain list (or set,...)
2116 comprehensions whose expressions involve constant literals. Those constants had
2117 been ignored in signatures, so changing them did not cause targets to be rebuilt.
2119 From Paweł Tomulik:
2120 - In the testing framework, module TestCommon, fixed must_contain(),
2121 must_not_contain(), and related methods of TestCommon class to work with
2122 substrings located at zero offset.
2123 - Added virtualenv support. A new function Virtualenv() determines whether
2124 SCons runs in a virtualenv. The search PATH may also be extended to
2125 prefer executables from the current virtualenv over the ones provided by
2126 base environment. New option --enable-virtualenv provided to import some
2127 virtualenv-related variables to SCons and extend every env['ENV']['PATH']
2128 automatically. New option --ignore-virtualenv disables this. Two
2129 environment variables, SCONS_ENABLE_VIRTUALENV and
2130 SCONS_IGNORE_VIRTUALENV are supported for the same purpose.
2133 - Add SConstruct.py, Sconstruct.py, sconstruct.py to the search path for the root SConstruct file.
2134 Allows easier debugging within Visual Studio
2135 - Change setup.py to change the install directory (via pip, or setup.py install) from scons-#.#.#
2136 to scons (Yielding <pythondir>/lib/scons/SCons/ instead of <pythondir>/lib/scons/SCons-#.#.#/).
2137 This changes SCons to better comply with normal Python installation practices.
2140 - Recognize new java 9, 10, 11 (as 9.0 and 10.0, 11.0)
2141 - Updated manpage scons.xml to fix a nested list problem
2142 - Updated doc terminiology: use prepend instead of append as appropriate
2143 - XML validity fixes from SConstruct.py change
2144 - Update wiki links to new github location
2145 - Update bug links to new github location
2146 - Make it easier for SConscript() call to fail on missing script.
2147 It was possible to call SCons.Warnings.warningAsException
2148 (not documented as a user API) to make all warnings fail. Now
2149 SConscript can take an optional must_exist flag which if true fails
2150 if the script does not exist. Not failing on missing script is
2151 now considered deprecated, and the first instance will print a
2152 deprecation message. It is now also possible to flip the scons
2153 behavior (which still defaults to warn, not fail) by calling
2154 SCons.Script.set_missing_sconscript_error, which is also not a
2155 documented interface at the moment.
2156 - Convert TestCmd.read to use with statement on open (quiets 17 py3 warnings)
2157 - Quiet py3 warning in UtilTests.py
2158 - Fix tests specifying octal constants for py3
2159 - Fix must_contain tests for py3
2160 - RPM package generation:
2161 - Fix supplying a build architecture
2162 - Disable auto debug package generation on certain rpmbuild versions
2163 - Adjust some tests to only supply build-id file on certain rpmbuild versions
2164 - Tests now use a file fixture for the repeated (trivial) main.c program.
2165 - Document and comment cleanup.
2166 - Added new Environment Value X_RPM_EXTRADEFS to supply custom settings
2167 to the specfile without adding specific logic for each one to scons.
2168 - The test for Python.h needed by swig tests is moved to get_python_platform
2169 so it does not have to be repeated in every test; picks up one failure
2170 which did not make the (previously needed) check. Windows version
2171 of get_python_platform needed some rework in case running in virtualenv.
2172 - If test opens os.devnull, register with atexit so file opens do not leak.
2173 - Fix bugs in Win32 process spawn logic to handle OSError exception correctly.
2174 - Use time.perf_counter instead of time.clock if it exists.
2175 time.clock deprecated since py3.3, due to remove in 3.8. deprecation
2176 warnings from py3.7 were failing a bunch of tests on Windows since they
2177 mess up expected stderr.
2178 - Prefer Py3's inspect.getfullargspec over deprecated inspect.getargspec.
2179 Switched to "new" (standard in Py2.7) usage of receiving a namedtuple -
2180 we were unpacking to a four-tuple, two of the items of which were unused;
2181 getfullargspec returns a named tuple with seven elements so it is a
2182 cleaner drop-in replacement using the namedtuple.
2183 - Updated the test-framework.rst documentation.
2184 - Remove obsoleted internal implementaiton of OrderedDict.
2185 - Test for tar packaging fixups
2186 - Stop using deprecated unittest asserts
2187 - messages in strip-install-dir test now os-neutral
2188 - Add xz compression format to packaging choices.
2189 - Syntax cleanups - trailing blanks, use "is" to compare with None, etc.
2190 Three uses of variables not defined are changed.
2191 - Some script changes in trying to find scons engine
2192 - Update (pep8) configure-cache script, add a --show option.
2193 - Fix for a couple of "what if tool not found" exceptions in framework.
2194 - Add Textfile/Substfile to default environment. (issue #3147)
2195 - sconsign: a couple of python3 fixes; be more tolerant of implicit
2196 entries which have no signatures; minor PEP8 changes.
2197 - Fix a couple of type mistakes (list-> string, filter type -> list)
2198 - Fix a couple of type mistakes in packaging tools: list-> string in msi,
2199 filter type -> list in ipk
2201 From Bernhard M. Wiedemann:
2202 - Update SCons' internal scons build logic to allow overriding build date
2203 with SOURCE_DATE_EPOCH for SCons itself.
2204 - Change the datestamps in SCons' docs and embedded in code use ISO 8601 format and UTC
2207 - Typo in customized decider example in user guide
2208 - Replace usage of unittest.TestSuite with unittest.main() (fix #3113)
2210 RELEASE 3.0.1 - Mon, 12 Nov 2017 15:31:33 -0700
2213 - Jar can take multiple targets, and will make a duplicate jar from the sources for each target
2214 - Added some warnings in case the Jar builder makes an implicit target
2215 - Added Jar method and changed jar build to be more specific. Jar method will take in
2216 directories or classes as source. Added more tests to JAR to ensure the jar was
2217 packaged with the correct compiled class files.
2218 - Added a No result test case to handle bug which seems unrelated to java in the
2219 swig-dependencies.py test, more info here: http://scons.tigris.org/issues/show_bug.cgi?id=2907
2220 - Added a travis script to test on ubuntu trusty now that the project is on github
2221 so that Continuus Integration tests can be run automatically. It tests most case and considers
2222 no result a pass as well. Improving this script can install more dependincies allowing for more
2226 - Updated the Jar Builder tool in Tool/__init__.py so that is doesn't force class files as
2227 sources, allowing directories to be passed, which was causing test/Java/JAR.py to fail.
2229 From William Deegan:
2230 - Fix issue where code in utility routine to_String_for_subst() had code whose result was never
2232 (Found by: James Rinkevich https://pairlist4.pair.net/pipermail/scons-users/2017-October/006358.html )
2233 - Fixed Variables.GenerateHelpText() to now use the sort parameter. Due to incorrect 2to3 fixer changes
2234 8 years ago it was being used as a boolean parameter. Now you can specify sort to be a callable, or boolean
2235 value. (True = normal sort). Manpage also updated.
2236 - Fixed Tool loading logic from exploding sys.path with many site_scons/site_tools prepended on py3.
2237 - Added additional output with time to process each SConscript file when using --debug=time.
2240 - Fixed a regression in scons-3.0.0 where "from __future__ import print_function" was imposed
2241 on the scope where SConstruct is executed, breaking existing builds using PY 2.7.
2243 From William Deegan:
2244 - Fix broken subst logic where a string with "$$(abc)" was being treated as "$(abc) and the
2245 logic for removing the signature escapes was then failing because there was no closing "$)".
2246 This was introduced by a pull request to allow recursive variable evaluations to yield a string
2247 such as "$( $( some stuff $) $)".
2249 From Zachary Tessler:
2250 - Fix incorrect warning for repeated identical builder calls that use overrides
2253 RELEASE 3.0.0 - Mon, 18 Sep 2017 08:32:04 -0700
2255 NOTE: This is a major release. You should expect that some targets may rebuild when upgrading.
2256 Significant changes in some python action signatures. Also switching between PY 2.7 and PY 3.5, 3.6
2257 will cause rebuilds.
2260 From William Blevins:
2261 - Updated D language scanner support to latest: 2.071.1. (PR #1924)
2262 https://dlang.org/spec/module.html accessed 11 August 2016
2264 - Added support for selective imports: "import A : B, C;" -> A
2265 - Added support for renamed imports. "import B = A;" -> A
2266 - Supports valid combinations: "import A, B, CCC = C, DDD = D : EEE = FFF;" -> A, B, C, D
2268 - May find new (previously missed) Dlang dependencies.
2269 - May cause rebuild after upgrade due to dependency changes.
2270 - Updated Fortran-related tests to pass under GCC 5/6.
2271 - Fixed SCons.Tool.Packaging.rpm.package source nondeterminism across builds.
2273 From William Deegan:
2274 - Removed deprecated tools CVS, Perforce, BitKeeper, RCS, SCCS, Subversion.
2275 - Removed deprecated module SCons.Sig
2276 - Added prioritized list of xsltproc tools to docbook. The order will now be as
2277 follows: xsltproc, saxon, saxon-xslt, xalan (with first being highest priority, first
2279 - Fixed MSVSProject example code (http://scons.tigris.org/issues/show_bug.cgi?id=2979)
2280 - Defined MS SDK 10.0 and Changed VS 2015 to use SDK 10.0
2281 - Changes to Action Function and Action Class signiture creation. NOTE: This will cause rebuilds
2282 for many builds when upgrading to SCons 3.0
2283 - Fixed Bug #3027 - "Cross Compiling issue: cannot override ranlib"
2284 - Fixed Bug #3020 - "Download link in user guide wrong. python setup.py install --version-lib broken"
2285 - Fixed Bug #2486 - Added SetOption('silent',True) - Previously this value was not allowed to be set.
2286 - Fixed Bug #3040 - Non-unicode character in CHANGES.txt
2287 - Fixed Bug #2622 - AlwaysBuild + MSVC regression.
2288 - Fixed Bug #3025 - (Credit to Florian : User flow86 on tigris) - Fix typo JAVACLASSSUFIX should have been
2293 - Added the capability to build Windows Store Compatible libraries that can be used
2294 with Universal Windows Platform (UWP) Apps and published to the store
2297 - Add basic support for PyPy (by deleting __slots__ from Node with a
2298 metaclass on PyPy); wrap most-used open() calls in 'with' statements to
2299 avoid too many open files.
2300 - Add __main__.py for `python -m SCons` in case it is on PYTHONPATH.
2301 - Always use highest available pickle protocol for efficiency.
2302 - Remove unused command line fallback for the zip tool.
2304 From Gaurav Juvekar:
2305 - Fix issue #2832: Expand construction variables in 'chdir' argument of builders. (PR #463)
2306 - Fix issue #2910: Make --tree=all handle Unicode. (PR #427)
2307 - Fix issue #2788: Fix typo in documentation example for sconf. (PR #388)
2309 From Alexey Klimkin:
2310 - Use memoization to optimize PATH evaluation across all dependencies per
2312 - Use set() where it is applicable (PR #344)
2315 - Fixed msvs.py for Visual Studio Express editions that would report
2316 "Error : ValueError: invalid literal for float(): 10.0Exp".
2319 - Update LaTeX scanner to understand \import and related commands
2321 From Steve Robinson:
2322 - Add support for Visual Studio 2017. This support requires vswhere.exe a helper
2323 tool installed with newer installs of 2017. SCons expects it to be located at
2324 "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe"
2325 It can be downloaded separately at
2326 https://github.com/Microsoft/vswhere
2329 - Allow nested $( ... $) sections
2331 From Paweł Tomulik:
2332 - Fixed the issue with LDMODULEVERSIONFLAGS reported by Tim Jenness
2333 (https://pairlist4.pair.net/pipermail/scons-users/2016-May/004893.html).
2334 An error was causing "-Wl,Bsymbolic" being added to linker's command-line
2335 even when there was no specified value in LDMODULEVERSION and thus no
2336 need for the flags to be specified.
2337 - Added LoadableModule to the list of global functions (DefaultEnvironment
2340 From Manish Vachharajani:
2341 - Update debian rules, compat, and control to not use features
2342 deprecated or obsolete in later versions of debhelpers
2343 - Update python version to 2.7 in debian/control
2346 - Fixed PCHPDBFLAGS causing a deprecation warning on MSVC v8 and later when
2347 using PCHs and PDBs together.
2351 - Added nested / namespace tool support
2352 - Added a small fix to the python3 tool loader when loading a tool as a package
2353 - Added additional documentation to the user manual on using toolpaths with the environment
2354 This includes the use of sys.path to search for tools installed via pip or package managers
2355 - Added support for a PyPackageDir function for use with the toolpath
2358 - Reordered the default D tools from "dmd, gdc, ldc" to "dmd, ldc, gdc".
2359 - Add a ProgramAllAtOnce builder to the dmd, ldc, and gdc tools. (PR #448)
2360 - Remove a file name exception for very old Fedora LDC installation.
2361 - gdc can now handle building shared objects (tested for version 6.3.0).
2362 - Remove establishing the SharedLibrary builder in the dmd, ldc, and gdc
2363 tools, must now include the ar tool to get this builder as is required for
2364 other compiler tools.
2365 - Add clang and clang++ tools based on Paweł Tomulik's work.
2367 RELEASE 2.5.1 - Mon, 03 Nov 2016 13:37:42 -0400
2369 From William Deegan:
2370 - Add scons-configure-cache.py to packaging. It was omitted
2372 From Alexey Klimkin:
2373 - Use memoization to optimize PATH evaluation across all dependencies per
2376 RELEASE 2.5.0 - Mon, 09 Apr 2016 11:27:42 -0700
2379 - Removed a lot of compatibility methods and workarounds
2380 for Python versions < 2.7, in order to prepare the work
2381 towards a combined 2.7/3.x version. (PR #284)
2382 Also fixed the default arguments for the print_tree and
2383 render_tree methods. (PR #284, too)
2385 From William Blevins:
2386 - Added support for cross-language dependency scanning;
2387 SCons now respects scanner keys for implicit dependencies.
2388 - Notes for SCons users with heterogeneous systems.
2389 - May find new (previously missed) dependencies.
2390 - May cause rebuild after upgrade due to dependency changes.
2391 - May find new dependency errors (EG. cycles).
2392 - Discovered in some of the SCons QT tests.
2393 - Resolved missing cross-language dependencies for
2394 SWIG bindings (fixes #2264).
2395 - Corrected typo in User Guide for Scanner keyword. (PR #2959)
2396 - Install builder interacts with scanner found in SCANNERS differently.
2397 - Previous: Install builder recursively scanned implicit dependencies
2398 for scanners from SCANNER, but not for built-in (default) scanners.
2399 - Current: Install builder will not scan for implicit dependencies via
2400 either scanner source. This optimizes some Install builder behavior
2401 and brings orthogonality to Install builder scanning behavior.
2403 From William Deegan:
2404 - Add better messaging when two environments have
2405 different actions for the same target (Bug #2024)
2406 - Fix issue only with MSVC and Always build where targets
2407 marked AlwaysBuild wouldn't make it into CHANGED_SOURCES
2408 and thus yield an empty compile command line. (Bug #2622)
2409 - Fix posix platform escaping logic to properly handle paths
2410 with parens in them "()". (Bug #2225)
2413 - Intel Compiler 2016 (Linux/Mac) update for tool directories.
2415 From Adarsh Sanjeev:
2416 - Fix for issue #2494: Added string support for Chmod function.
2419 - change cache to use 2 character subdirectories, rather than one character,
2420 so as not to give huge directories for large caches, a situation which
2421 causes issues for NFS.
2422 For existing caches, you will need to run the scons-configure-cache.py
2423 script to update them to the new format. You will get a warning every time
2424 you build until you co this.
2425 - Fix a bunch of unit tests on windows
2427 RELEASE 2.4.1 - Mon, 07 Nov 2015 10:37:21 -0700
2429 From Arfrever Frehtes Taifersar Arahesis:
2430 - Fix for Bug # 2791 - Setup.py fails unnecessarily under Jython.
2433 - Fixed license of SVG titlepage files in the context of Debian
2434 packaging, such that they allow for commercial use too (#2985).
2436 From William Blevins:
2437 - InstallVersionedLib now available in the DefaultEnvironment context.
2438 - Improves orthogonality of use cases between different Install functions.
2441 - Added new configure check, CheckProg, to check for
2442 existence of a program.
2444 From Andrew Featherstone:
2445 - Fix for issue #2840 - Fix for two environments specifying same target with different
2446 actions not throwing hard error. Instead SCons was incorrectly issuing a warning
2450 - Add support `Microsoft Visual C++ Compiler for Python 2.7'
2451 Compiler can be obtained at: https://www.microsoft.com/en-us/download/details.aspx?id=44266
2453 From Florian Miedniak:
2454 - Fixed tigris issue #3011: Glob() excludes didn't work when used with VariantDir(duplicate=0)
2456 From William Roberts:
2457 - Fix bug 2831 and allow Help() text to be appended to AddOption() help.
2459 From Paweł Tomulik:
2460 - Reimplemented versioning for shared libraries, with the following effects
2461 - Fixed tigris issues #3001, #3006.
2462 - Fixed several other issues not reported to tigris, including:
2463 issues with versioned libraries in subdirectories with tricky names,
2464 issues with versioned libraries and variant directories,
2465 issue with soname not being injected to library when using D linkers,
2466 - Switched to direct symlinks instead of daisy-chained ones -- soname and
2467 development symlinks point directly to the versioned shared library now),
2469 https://www.debian.org/doc/debian-policy/ch-sharedlibs.html
2470 https://fedoraproject.org/wiki/Packaging:Guidelines#Devel_Packages
2471 https://bitbucket.org/scons/scons/pull-requests/247/new-versioned-libraries-gnulink-cyglink/diff#comment-10063929
2472 - New construction variables to allow override default behavior: SONAME,
2473 SHLIBVERSIONFLAGS, _SHLIBVERSIONFLAGS, SHLIBNOVERSIONSYMLINKS,
2474 LDMODULEVERSION, LDMODULEVERSIONFLAGS, _LDMODULEVERSIONFLAGS,
2475 LDMODULENOVERSIONSYMLINKS.
2476 - Changed logic used to configure the versioning machinery from
2477 platform-centric to linker-oriented.
2478 - The SHLIBVERSION/LDMODULEVERSION variables are no longer validated by
2479 SCons (more freedom to users).
2480 - InstallVersionedLib() doesn't use SHLIBVERSION anymore.
2481 - Enchanced docs for the library versioning stuff.
2482 - New tests for versioned libraries.
2483 - Library versioning is currently implemented for the following linker
2484 tools: 'cyglink', 'gnulink', 'sunlink'.
2485 - Fix to swig tool - pick-up 'swig', 'swig3.0' and 'swig2.0' (in order).
2486 - Fix to swig tool - respect env['SWIG'] provided by user.
2490 RELEASE 2.4.0 - Mon, 21 Sep 2015 08:56:00 -0700
2493 - Switched several core classes to use "slots", to
2494 reduce the overall memory consumption in large
2495 projects (fixes #2180, #2178, #2198)
2496 - Memoizer counting uses decorators now, instead of
2497 the old metaclasses approach.
2499 From Andrew Featherstone
2500 - Fixed typo in SWIGPATH description
2502 RELEASE 2.3.6 - Mon, 31 Jul 2015 14:35:03 -0700
2505 - Added support for Visual Studio 2015
2507 RELEASE 2.3.5 - Mon, 17 Jun 2015 21:07:32 -0700
2509 From Stephen Pollard:
2510 - Documentation fixes for libraries.xml and
2511 builders-writing.xml (#2989 and #2990)
2513 From William Deegan:
2514 - Extended docs for InstallVersionedLib/SharedLibrary,
2515 and added SKIP_WIN_PACKAGES argument to build script
2516 bootstrap.py (PR #230, #3002).
2518 From William Blevins:
2519 - Fixed symlink support (PR #227, #2395).
2520 - Updated debug-count test case (PR #229).
2522 From Alexey Klimkin:
2523 - Fixed incomplete LIBS flattening and substitution in
2524 Program scanner(PR #205, #2954).
2527 - Added new method rentry_exists_on_disk to Node.FS (PR #193).
2530 - Fixed several D tests under the different OS.
2531 - Add support for f08 file extensions for Fortran 2008 code.
2533 From Anatoly Techtonik:
2534 - Show --config choices if no argument is specified (PR #202).
2535 - Fixed build crash when XML toolchain isn't installed, and
2536 activated compression for ZIP archives.
2538 From Alexandre Feblot:
2539 - Fix for VersionedSharedLibrary under 'sunos' platform.
2540 - Fixed dll link with precompiled headers on MSVC 2012
2541 - Added an 'exclude' parameter to Glob()
2543 From Laurent Marchelli:
2544 - Support for multiple cmdargs (one per variant) in VS project files.
2545 - Various improvements for TempFileMunge class.
2546 - Added an implementation for Visual Studio users files (PR #209).
2549 - Added support for the 'PlatformToolset' tag in VS project files (#2978).
2552 - Added support for '-isystem' to ParseFlags.
2554 RELEASE 2.3.4 - Mon, 27 Sep 2014 12:50:35 -0400
2556 From Bernhard Walle and Dirk Baechle:
2557 - Fixed the interactive mode, in connection with
2558 Configure contexts (#2971).
2560 From Anatoly Techtonik:
2561 - Fix EnsureSConsVersion warning when running packaged version
2564 - Fix D tools for building shared libraries
2566 RELEASE 2.3.3 - Sun, 24 Aug 2014 21:08:33 -0400
2569 - Fixed false line length calculation in the TempFileMunge class (#2970).
2571 From Gary Oberbrunner:
2572 - Improve SWIG detection
2575 - Fix regression on Windows in D language update
2577 From Neal Becker and Stefan Zimmermann:
2578 - Python 3 port and compatibility
2580 From Anatoly Techtonik:
2581 - Do not fail on EnsureSConsVersion when running from checkout
2583 From Kendrick Boyd and Rob Managan:
2584 - Fixed the newglossary action to work with VariantDir (LaTeX).
2586 From Manuel Francisco Naranjo:
2587 - Added a default for the BUILDERS environment variable,
2588 to prevent not defined exception on a Clone().
2590 From Andrew Featherstone:
2591 - Added description of CheckTypeSize method (#1991).
2592 - Fixed handling of CPPDEFINE var in Append()
2593 for several list-dict combinations (#2900).
2595 From William Blevins:
2596 - Added test for Java derived-source dependency tree generation.
2597 - Added Copy Action symlink soft-copy support (#2395).
2598 - Various contributions to the documentation (UserGuide).
2603 - Update XML doc editor configuration
2604 - Fix: Allow varlist to be specified as list of strings for Actions (#2754)
2606 From veon on bitbucket:
2607 - Fixed handling of nested ifs in CPP scanner PreProcessor class.
2610 - Support for Visual Studio 2013 (12.0)
2612 From Michael Haubenwallner:
2613 - Respect user's CC/CXX values; don't always overwrite in generate()
2614 - Delegate linker Tool.exists() to CC/CXX Tool.exists().
2617 - Updated the TeX builder to support use of the -synctex=1
2618 option and the files it creates.
2619 - Updated the TeX builder to correctly clean auxiliary files when
2620 the biblatex package is used.
2622 From Gary Oberbrunner:
2623 - get default RPM architecture more robustly when building RPMs
2626 - Fixed NoClean() for multi-target builders (#2353).
2628 From Paweł Tomulik:
2629 - Fix SConf tests that write output
2632 - Revamp of the D language support. Tools for DMD, GDC and LDC provided
2633 and integrated with the C and C++ linking. NOTE: This is only tested
2634 with D v2. Support for D v1 is now deprecated.
2636 From Anatoly Techtonik:
2637 - Several improvements for running scons.py from source:
2638 * engine files form source directory take priority over all other
2640 * message about scons.py running from source is removed to fix tests
2641 that were failing because of this extra line in the output
2642 * error message when SCons import fails now lists lookup paths
2643 - Remove support for QMTest harness from runtest.py
2644 - Remove RPM and m4 from default tools on Windows
2645 - BitKeeper, CVS, Perforce, RCS, SCCS are deprecated from default
2646 tools and will be removed in future SCons versions to speed up
2647 SCons initialization (it will still be possible to use these tools
2650 From Sye van der Veen:
2651 - Support for Visual Studio 12.0Exp, and fixes for earlier MSVS
2657 From Andrew Featherstone:
2658 - Added support for EPUB output format to the DocBook tool.
2661 - Stop leaking file handles to subprocesses by switching to using subprocess
2663 - Allow multiple options to be specified with --debug=a,b,c
2664 - Add support for a readonly cache (--cache-readonly)
2665 - Always print stats if requested
2666 - Generally try harder to print out a message on build errors
2667 - Adds a switch to warn on missing targets
2668 - Add Pseudo command to mark targets which should not exist after
2672 - Check for 8.3 filenames on cygwin as well as win32 to make variant_dir work properly.
2674 From Alexandre Feblot:
2675 - Make sure SharedLibrary depends on all dependent libs (by depending on SHLINKCOM)
2677 From Stefan Sperling:
2678 - Fixed the setup of linker flags for a versioned SharedLibrary
2679 under OpenBSD (#2916).
2681 From Antonio Cavallo:
2682 - Improve error if Visual Studio bat file not found.
2684 From Manuel Francisco Naranjo:
2685 - Allow Subst.Literal string objects to be compared with each other,
2686 so they work better in AddUnique() and Remove().
2688 From David Rothenberger:
2689 - Added cyglink linker that uses Cygwin naming conventions for
2690 shared libraries and automatically generates import libraries.
2693 - Update bootstrap.py so it can be used from any dir, to run
2694 SCons from a source (non-installed) dir.
2695 - Count statistics of instances are now collected only when
2696 the --debug=count command-line option is used (#2922).
2697 - Added release_target_info() to File nodes, which helps to
2698 reduce memory consumption in clean builds and update runs
2700 - Fixed the handling of long options in the command-line
2702 - Fixed misspelled variable in intelc.py (#2928).
2704 From Gary Oberbrunner:
2705 - Test harness: fail_test() can now print a message to help debugging.
2707 From Anatoly Techtonik:
2708 - Require rpmbuild when building SCons package.
2709 - Print full stack on certain errors, for debugging.
2710 - Improve documentation for Textfile builder.
2712 From William Deegan:
2713 - VS2012 & VS2010 Resolve initialization issues by adding path to reg.exe
2714 in shell used to run batch files.
2715 - MSVC Support fixed defaulting TARGET_ARCH to HOST_ARCH. It should be
2716 None if not explicitly set.
2717 - MSVC Fixed issue where if more than one Architectures compilers are
2718 detected, it would take the last one found, and not the first.
2721 - Added optional ZIPROOT to Zip tool.
2724 - Replaced old SGML-based documentation toolchain with a more modern
2725 approach, that also requires less external dependencies (programs and
2726 Python packages). Added a customized Docbook XSD for strict validation of
2727 all input XML files.
2729 From Luca Falavigna:
2730 - Fixed spelling errors in MAN pages (#2897).
2732 From Michael McDougall:
2733 - Fixed description of ignore_case for EnumVariable in the
2736 RELEASE 2.3.0 - Mon, 02 Mar 2013 13:22:29 -0400
2738 From Anatoly Techtonik:
2739 - Added ability to run scripts/scons.py directly from source checkout
2740 - Hide deprecated --debug={dtree,stree,tree} from --help output
2741 - Error messages from option parser now include hints about valid choices
2742 - Cleaned up some Python 1.5 and pre-2.3 code, so don't expect SCons
2743 to run on anything less than Python 2.4 anymore
2744 - Several fixes for runtest.py:
2745 * exit with an error if no tests were found
2746 * removed --noqmtest option - this behavior is by default
2747 * replaced `-o FILE --xml` combination with `--xml FILE`
2748 * changed `-o, --output FILE` option to capture stdout/stderr output
2750 - Remove os_spawnv_fix.diff patch required to enable parallel builds
2751 support prior to Python 2.2
2754 - Fix WiX Tool to use .wixobj rather than .wxiobj for compiler output
2755 - Support building with WiX releases after 2.0
2757 From Alexey Klimkin:
2758 - Fix nested LIBPATH expansion by flattening sequences in subst_path.
2760 From eyan on Bitbucket:
2761 - Print target name with command execution time with --debug=time
2763 From Thomas Berg and Evgeny Podjachev:
2764 - Fix subprocess spawning on Windows. Work around a Windows
2765 bug that can crash python occasionally when using -jN. (#2449)
2768 - Updated test framework to support dir and file fixtures and
2769 added ability to test external (out-of-tree) tools (#2862).
2770 See doc in QMTest/test-framework.rst.
2771 - Fixed several errors in the test suite (Java paths, MSVS version
2772 detection, Tool import), additionally
2773 * provided MinGW command-line support for the CXX, AS and
2775 * refactored the detection of the gcc version and the according
2776 Fortran startup library,
2777 * provided a new module rpmutils.py, wrapping the RPM naming rules
2778 for target files and further hardware-dependent info (compatibility,
2779 compiler flags, ...),
2780 * added new test methods must_exist_one_of() and
2781 must_not_exist_any_of() and
2782 * removed Aegis support from runtest.py. (#2872)
2784 From Gary Oberbrunner:
2785 - Add -jN support to runtest.py to run tests in parallel
2786 - Add MSVC10 and MSVC11 support to get_output low-level bat script runner.
2787 - Fix MSVS solution generation for VS11, and fixed tests.
2790 - Updated the TeX builder to support the \newglossary command
2791 in LaTeX's glossaries package and the files it creates.
2792 - Improve support for new versions of biblatex in the TeX builder
2793 so biber is called automatically if biblatex requires it.
2794 - Add SHLIBVERSION as an option that tells SharedLibrary to build
2795 a versioned shared library and create the required symlinks.
2796 Add builder InstallVersionedLib to create the required symlinks
2797 installing a versioned shared library.
2799 RELEASE 2.2.0 - Mon, 05 Aug 2012 15:37:48 +0000
2801 From dubcanada on Bitbucket:
2802 - Fix 32-bit Visual Express C++ on 64-bit Windows (generate 32-bit code)
2804 From Paweł Tomulik:
2805 - Added gettext toolset
2806 - Fixed FindSourceFiles to find final sources (leaf nodes).
2809 - Allow Node objects in Java path (#2825)
2812 - Make Windows not redefine builtin file as un-inheritable (#2857)
2813 - Fix WINDOWS_INSERT_DEF on MinGW (Windows) (#2856)
2815 From smallbub on Bitbucket:
2816 - Fix LINKCOMSTR, SHLINKCOMSTR, and LDMODULECOMSTR on Windows (#2833).
2819 - Make -s (silent mode) be silent about entering subdirs (#2976).
2820 - Fix cloning of builders when cloning environment (#2821).
2822 From Gary Oberbrunner:
2823 - Show valid Visual Studio architectures in error message
2824 when user passes invalid arch.
2826 From Alexey Petruchik:
2827 - Support for Microsoft Visual Studio 11 (both using it
2828 and generating MSVS11 solution files).
2830 From Alexey Klimkin:
2831 - Fixed the Taskmaster, curing spurious build failures in
2832 multi-threaded runs (#2720).
2835 - Improved documentation of command-line variables (#2809).
2836 - Fixed scons-doc.py to properly convert main XML files (#2812).
2839 - Updated the TeX builder to support LaTeX's multibib package.
2840 - Updated the TeX builder to support LaTeX's biblatex package.
2841 - Added support for using biber instead of bibtex by setting
2842 env['BIBTEX'] = 'biber'
2845 - Test for FORTRANPPFILESUFFIXES (#2129).
2848 RELEASE 2.1.0 - Mon, 09 Sep 2011 20:54:57 -0700
2851 - Fix Windows resource compiler scanner to accept DOS line endings.
2854 - Update MSVS documents to remove note indicating that only one
2855 project is currently supported per solution file.
2857 From Grzegorz Bizoń:
2858 - Fix long compile lines in batch mode by using TEMPFILE
2859 - Fix MSVC_BATCH=False (was treating it as true)
2861 From Justin Gullingsrud:
2862 - support -std=c++0x and related CXXFLAGS in pkgconfig (ParseFlags)
2864 From Vincent Beffara:
2865 - Support -dylib_file in pkgconfig (ParseFlags)
2867 From Gary Oberbrunner and Sohail Somani:
2868 - new construction variable WINDOWS_EMBED_MANIFEST to automatically
2869 embed manifests in Windows EXEs and DLLs.
2871 From Gary Oberbrunner:
2872 - Fix Visual Studio project generation when CPPPATH contains Dir nodes
2873 - Ensure Visual Studio project is regenerated when CPPPATH or CPPDEFINES change
2874 - Fix unicode error when using non-ASCII filenames with Copy or Install
2875 - Put RPATH in LINKCOM rather than LINKFLAGS so resetting
2876 LINKFLAGS doesn't kill RPATH
2877 - Fix precompiled headers on Windows when variant dir name has spaces.
2878 - Adding None to an Action no longer fails (just returns original action)
2879 - New --debug=prepare option to show each target as it's being
2880 prepared, whether or not anything needs to be done for it.
2881 - New debug option --debug=duplicate to print a line for each
2882 unlink/relink (or copy) of a variant file from its source file.
2883 - Improve error message for EnumVariables to show legal values.
2884 - Fix Intel compiler to sort versions >9 correctly (esp. on Linux)
2885 - Fix Install() when the source and target are directories and the
2886 target directory exists.
2888 From David Garcia Garzon:
2889 - Fix Delete to be able to delete broken symlinks and dir
2892 From Imran Fanaswala and Robert Lehr:
2893 - Handle .output file generated by bison/yacc properly. Cleaning it
2896 From Antoine Dechaume:
2897 - Handle SWIG file where there is whitespace after the module name
2898 properly. Previously the generated files would include
2902 - Handle Environment in case __semi_deepcopy is None
2906 - Much improved support for Windows UNC paths (\\SERVERNAME).
2908 From Jean-Baptiste Lab:
2910 - Fix problems with appending CPPDEFINES that contain
2911 dictionaries, and related issues with Parse/MergeFlags and
2916 - Fix for an issue with implicit-cache with multiple targets
2917 when dependencies are removed on disk.
2919 From Evgeny Podjachev and Alexey Petruchick:
2921 - Support generation of Microsoft Visual Studio 2008 (9.0)
2922 and 2010 (10.0) project and solution files.
2926 - Fix a problem when FS Entries which are actually Dirs have builders.
2928 From Luca Falavigna:
2930 - Support Fortran 03
2932 From Gary Oberbrunner:
2934 - Print the path to the SCons package in scons --version
2936 From Jean-Fran�ois Colson:
2938 - Improve Microsoft Visual Studio Solution generation, and fix
2939 various errors in the generated solutions especially when using
2940 MSVS_SCC_PROVIDER, and when generating multiple projects. The
2941 construction variable MSVS_SCC_PROJECT_BASE_PATH, which never
2942 worked properly, is removed. Users can use the new variable
2943 MSVS_SCC_CONNECTION_ROOT instead if desired.
2945 From Anatoly Techtonik:
2947 - Use subprocess in bootstrap.py instead of os.execve to avoid
2948 losing output control on Windows (http://bugs.python.org/issue9148)
2950 - Revert patch for adding SCons to App Paths, because standard cmd
2951 shell doesn't search there. This is confusing, because `scons` can
2952 be executed from explorer, but fail to start from console.
2954 - Fix broken installation with easy_install on Windows (issue #2051)
2955 SCons traditionally installed in a way that allowed to run multiple
2956 versions side by side. This custom logic was incompatible with
2957 easy_install way of doing things.
2959 - Use epydoc module for generating API docs in HTML if command line
2960 utility is not found in PATH. Actual for Windows.
2962 From Alexander Goomenyuk:
2964 - Add .sx to assembly source scanner list so .sx files
2965 get their header file dependencies detected.
2969 - Set module metadata when loading site_scons/site_init.py
2970 so it is treated as a proper module; __doc__, __file__ and
2971 __name__ now refer to the site_init.py file.
2975 - Users Guide updates explaining that Tools can be packages as
2976 well as python modules.
2978 From Gary Oberbrunner:
2980 - New systemwide and per-user site_scons dirs.
2984 - XML fixes in User's Guide.
2985 - Fixed the detection of 'jar' and 'rmic' during
2986 the initialization of the respective Tools (#2730).
2987 - Improved docs for custom Decider functions and
2988 custom Scanner objects (#2711, #2713).
2989 - Corrected SWIG module names for generated *.i files (#2707).
2993 - Fixed a case-sensitivity problem with Fortran modules.
2997 - Added Users Guide example for auto-generated source code
3001 - Fix explicit dependencies (Depends()) on Nodes that don't have
3004 - Fix use of the global Alias() function with command actions.
3008 - Fix the ability to append to default $*FLAGS values (which are
3009 implemented as CLVar instances) in a copied construction environment
3010 without affecting the original construction environment's value.
3014 - Updated the TeX command strings to include a /D on Windows in
3015 case the new directory is on a different drive letter.
3017 - Fixed the LaTeX scanner so dependencies are found in commands that
3018 are broken across lines with a comment or have embedded spaces.
3020 - The TeX builders should now work with tex files that are generated
3021 by another program. Thanks to Hans-Martin von Gaudecker for
3022 isolating the cause of this bug.
3024 - Added support for INDEXSTYLE environment variable so makeindex can
3027 - Added support for the bibunits package so we call bibtex on all
3030 - Add support of finding path information on OSX for TeX applications
3031 MacPorts and Fink paths need to be added by the user
3035 - Add support for DMD version 2 (the phobos2 library).
3037 From William Deegan:
3039 - Add initial support for VS/VC 2010 (express and non-express versions)
3040 - Remove warning for not finding MS VC/VS install.
3041 "scons: warning: No version of Visual Studio compiler found
3042 - C/C++ compilers most likely not set correctly"
3043 - Add support for Linux 3.0
3046 RELEASE 2.0.1 - Mon, 15 Aug 2010 15:46:32 -0700
3050 - Fix XML in documentation.
3054 - Fixed a case-sensitivity problem with Fortran modules.
3058 - Added Users Guide example for auto-generated source code
3062 - Fix explicit dependencies (Depends()) on Nodes that don't have
3067 - Fix the ability to append to default $*FLAGS values (which are
3068 implemented as CLVar instances) in a copied construction environment
3069 without affecting the original construction environment's value.
3073 - Updated the TeX command strings to include a /D on Windows in
3074 case the new directory is on a different drive letter.
3076 - Fixed the LaTeX scanner so dependencies are found in commands that
3077 are broken across lines with a comment or have embedded spaces.
3080 RELEASE 2.0.0.final.0 - Mon, 14 Jun 2010 22:01:37 -0700
3084 - Fix XML in documentation.
3088 - Provide forward compatibility for the 'profile' module.
3090 - Provide forward compatibility for the 'pickle' module.
3092 - Provide forward compatibility for the 'io' module.
3094 - Provide forward compatibility for the 'queue' module.
3096 - Provide forward compatibility for the 'collections' module.
3098 - Provide forward compatibility for the 'builtins' module.
3100 - Provide forward compatibility for 'sys.intern()'.
3102 - Convert to os.walk() from of os.path.walk().
3104 - Remove compatibility logic no longer needed.
3106 - Add a '-3' option to runtest to print 3.x incompatibility warnings.
3108 - Convert old-style classes into new-style classes.
3110 - Fix "Ignoring corrupt sconsign entry" warnings when building
3111 in a tree with a pre-2.0 .sconsign file.
3113 - Fix propagation from environment of VS*COMNTOOLS to resolve issues
3114 initializing MSVC/MSVS/SDK issues.
3116 - Handle detecting Visual C++ on Python versions with upper-case
3117 platform architectures like 'AMD64'.
3119 From W. Trevor King:
3121 - Revisions to README.
3125 - Apply numerous Python fixers to update code to more modern idioms.
3126 Find where fixers should be applied to code in test strings and
3127 apply the fixers there, too.
3129 - Write a fixer to convert string functions to string methods.
3131 - Modify the 'dict' fixer to be less conservative.
3133 - Modify the 'apply' fixer to handle more cases.
3135 - Create a modified 'types' fixer that converts types to 2.x
3136 equivalents rather than 3.x equivalents.
3138 - Write a 'division' fixer to highlight uses of the old-style
3139 division operator. Correct usage where needed.
3141 - Add forward compatibility for the new 'memoryview' function
3142 (which replaces the 'buffer' function).
3144 - Add forward compatibility for the 'winreg' module.
3146 - Remove no-longer-needed 'platform' module.
3148 - Run tests with the '-3' option to Python 2.6 and clear up
3149 various reported incompatibilities.
3151 - Comb out code paths specialized to Pythons older than 2.4.
3153 - Update deprecation warnings; most now become mandatory.
3155 - Start deprecation cycle for BuildDir() and build_dir.
3157 - Start deprecation cycle for SourceCode() and related factories
3159 - Fixed a problem with is_Dict() not identifying some objects derived
3164 - Document the AllowSubstExceptions() function in the User's Guide.
3166 From William Deegan:
3168 - Migrate MSVC/MSVS/SDK improvements from 1.3 branch.
3171 RELEASE 1.3.0 - Tue, 23 Mar 2010 21:44:19 -0400
3175 - Update man page and documentation.
3177 From William Deegan (plus minor patch from Gary Oberbrunner):
3179 - Support Visual Studio 8.0 Express
3181 RELEASE 1.2.0.d20100306 - Sat, 06 Mar 2010 16:18:33 -0800
3183 From Luca Falavigna:
3185 - Fix typos in the man page.
3187 From Gottfried Ganssauge:
3189 - Support execution when SCons is installed via easy_install.
3193 - Make the messages for Configure checks of compilers consistent.
3195 - Issue an error message if a BUILDERS entry is not a Builder
3196 object or a callable wrapper.
3200 - Update tex builder to handle the case where a \input{foo}
3201 command tries to work with a directory named foo instead of the
3202 file foo.tex. The builder now ignores a directory and continues
3203 searching to find the correct file. Thanks to Lennart Sauerbeck
3204 for the test case and initial patch
3206 Also allow the \include of files in subdirectories when variantDir
3207 is used with duplicate=0. Previously latex would crash since
3208 the directory in which the .aux file is written was not created.
3209 Thanks to Stefan Hepp for finding this and part of the solution.
3212 - Patches to fix some issues using MS SDK V7.0
3214 From William Deegan:
3215 - Lots of testing and minor patches to handle mixed MS VC and SDK
3216 installations, as well as having only the SDK installed.
3219 RELEASE 1.2.0.d20100117 - Sun, 17 Jan 2010 14:26:59 -0800
3222 - Fixed temp filename race condition on Windows with long cmd lines.
3224 From David Cournapeau:
3225 - Fixed tryRun when sconf directory is in a variant dir.
3226 - Do not add -fPIC for ifort tool on non-posix platforms (darwin and
3228 - Fix bug 2294 (spurious CheckCC failures).
3229 - Fix SCons bootstrap process on windows 64 (wrong wininst name)
3231 From William Deegan:
3232 - Final merge from vs_revamp branch to main
3234 - Added definition and usage of HOST_OS, HOST_ARCH, TARGET_OS,
3235 TARGET_ARCH, currently only defined/used by Visual Studio
3236 Compilers. This will be rolled out to other platforms/tools
3239 - Add check for python >= 3.0.0 and exit gracefully.
3240 For 1.3 python >= 1.5.2 and < 3.0.0 are supported
3242 - Fix bug 1944 - Handle non-existent .i file in swig emitter, previously
3243 it would crash with an IOError exception. Now it will try to make an
3244 educated guess on the module name based on the filename.
3246 From Lukas Erlinghagen:
3248 - Have AddOption() remove variables from the list of
3249 seen-but-unknown variables (which are reported later).
3251 - An option name and aliases can now be specified as a tuple.
3253 From Hartmut Goebel:
3259 - use "is/is not" in comparisons with None instead of "==" or "!=".
3263 - Avoid adding -gphobos to a command line multiple times
3264 when initializing use of the DMD compiler.
3268 - Sugguested HOST/TARGET OS/ARCH separation.
3272 - Fix the -n option when used with VariantDir(duplicate=1)
3273 and the variant directory doesn't already exist.
3275 - Fix scanning of Unicode files for both UTF-16 endian flavors.
3277 - Fix a TypeError on #include of file names with Unicode characters.
3279 - Fix an exception if a null command-line argument is passed in.
3281 - Evaluate Requires() prerequisites before a Node's direct children
3282 (sources and dependencies).
3286 - Remove redundant __metaclass__ initializations in Environment.py.
3288 - Correct the documentation of text returned by sconf.Result().
3290 - Document that filenames with '.' as the first character are
3291 ignored by Glob() by default (matching UNIX glob semantics).
3293 - Fix SWIG testing infrastructure to work on Mac OS X.
3295 - Restructure a test that occasionally hung so that the test would
3296 detect when it was stuck and fail instead.
3298 - Substfile builder.
3300 From Gary Oberbrunner:
3302 - When reporting a target that SCons doesn't know how to make,
3303 specify whether it's a File, Dir, etc.
3307 - Fix use of $SWIGOUTDIR when generating Python wrappers.
3309 - Add $SWIGDIRECTORSUFFIX and $SWIGVERSION construction variables.
3313 - Add -recorder flag to Latex commands and updated internals to
3314 use the output to find files TeX creates. This allows the MiKTeX
3315 installations to find the created files
3317 - Notify user of Latex errors that would get buried in the
3320 - Remove LATEXSUFFIXES from environments that don't initialize Tex.
3322 - Add support for the glossaries package for glossaries and acronyms
3324 - Fix problem that pdftex, latex, and pdflatex tools by themselves did
3325 not create the actions for bibtex, makeindex,... by creating them
3326 and other environment settings in one routine called by all four
3329 - Fix problem with filenames of sideeffects when the user changes
3330 the name of the output file from the latex default
3332 - Add scanning of files included in Latex by means of \lstinputlisting{}
3333 Patch from Stefan Hepp.
3335 - Change command line for epstopdf to use --outfile= instead of -o
3336 since this works on all platforms.
3337 Patch from Stefan Hepp.
3339 - Change scanner to properly search for included file from the
3340 directory of the main file instead of the file it is included from.
3341 Also update the emitter to add the .aux file associated with
3342 \include{filename} commands. This makes sure the required directories
3343 if any are created for variantdir cases.
3344 Half of the patch from Stefan Hepp.
3346 RELEASE 1.2.0.d20090223 - Mon, 23 Feb 2009 08:41:06 -0800
3348 From Stanislav Baranov:
3350 - Make suffix-matching for scanners case-insensitive on Windows.
3352 From David Cournapeau:
3354 - Change the way SCons finds versions of Visual C/C++ and Visual
3355 Studio to find and use the Microsoft v*vars.bat files.
3357 From Robert P. J. Day:
3359 - User's Guide updates.
3363 - Fix generation of Visual Studio 8 project files on x64 platforms.
3367 - Set IncludeSearchPath and PreprocessorDefinitions in generated
3368 Visual Studio 8 project files, to help IntelliSense work.
3372 - Fix deletion of broken symlinks by the --clean option.
3376 - Fix the error message when use of a non-existent drive on Windows
3379 - Add sources for files whose targets don't exist in $CHANGED_SOURCES.
3381 - Detect implicit dependencies on commands even when the command is
3384 - Fix interaction of $CHANGED_SOURCES with the --config=force option.
3386 - Fix finding #include files when the string contains escaped
3387 backslashes like "C:\\some\\include.h".
3389 - Pass $CCFLAGS to Visual C/C++ precompiled header compilation.
3391 - Remove unnecessary nested $( $) around $_LIBDIRFLAGS on link lines
3392 for the Microsoft linker, the OS/2 ilink linker and the Phar Lap
3395 - Spell the Windows environment variables consistently "SystemDrive"
3396 and "SystemRoot" instead of "SYSTEMDRIVE" and "SYSTEMROOT".
3400 RELEASE 1.2.0.d20090113 - Tue, 13 Jan 2009 02:50:30 -0800
3402 From Stanislav Baranov, Ted Johnson and Steven Knight:
3404 - Add support for batch compilation of Visual Studio C/C++ source
3405 files, controlled by a new $MSVC_BATCH construction variable.
3409 - Print the message, "scons: Build interrupted." on error output,
3410 not standard output.
3412 - Add a --warn=future-deprecated option for advance warnings about
3413 deprecated features that still have warnings hidden by default.
3415 - Fix use of $SOURCE and $SOURCES attributes when there are no
3416 sources specified in the Builder call.
3418 - Add support for new $CHANGED_SOURCES, $CHANGED_TARGETS,
3419 $UNCHANGED_SOURCES and $UNCHANGED_TARGETS variables.
3421 - Add general support for batch builds through new batch_key= and
3422 targets= keywords to Action object creation.
3426 - Make linker tools differentiate properly between SharedLibrary
3429 - Document TestCommon.shobj_prefix variable.
3431 - Support $SWIGOUTDIR values with spaces.
3435 - Don't automatically try to build .pdf graphics files for
3436 .eps files in \includegraphics{} calls in TeX/LaTeX files
3437 when building with the PDF builder (and thus using pdflatex).
3439 From Gary Oberbrunner:
3441 - Allow AppendENVPath() and PrependENVPath() to interpret '#'
3442 for paths relative to the top-level SConstruct directory.
3444 - Use the Borland ilink -e option to specify the output file name.
3446 - Document that the msvc Tool module uses $PCH, $PCHSTOP and $PDB.
3448 - Allow WINDOWS_INSERT_DEF=0 to disable --output-def when linking
3453 - Fix typos in the User's Guide.
3457 - Support implicit dependency scanning of files encoded in utf-8
3460 From Roberto de Vecchi:
3462 - Remove $CCFLAGS from the the default definitions of $CXXFLAGS for
3463 Visual C/C++ and MIPSpro C++ on SGI so, they match other tools
3464 and avoid flag duplication on C++ command lines.
3468 - Handle quoted module names in SWIG source files.
3470 - Emit *_wrap.h when SWIG generates header file for directors
3472 From Matthew Wesley:
3474 - Copy file attributes so we identify, and can link a shared library
3475 from, shared object files in a Repository.
3479 RELEASE 1.2.0 - Sat, 20 Dec 2008 22:47:29 -0800
3483 - Don't fail if can't import a _subprocess module on Windows.
3485 - Add warnings for use of the deprecated Options object.
3489 RELEASE 1.1.0.d20081207 - Sun, 07 Dec 2008 19:17:23 -0800
3493 - Improve the robustness of GetBuildFailures() by refactoring
3494 SCons exception handling (especially BuildError exceptions).
3496 - Have the --taskmastertrace= option print information about
3497 individual Task methods, not just the Taskmaster control flow.
3499 - Eliminate some spurious dependency cycles by being more aggressive
3500 about pruning pending children from the Taskmaster walk.
3502 - Suppress mistaken reports of a dependency cycle when a child
3503 left on the pending list is a single Node in EXECUTED state.
3505 From David Cournapeau:
3507 - Fix $FORTRANMODDIRPREFIX for the ifort (Intel Fortran) tool.
3509 From Brad Fitzpatrick:
3511 - Don't pre-generate an exception message (which will likely be
3512 ignored anyway) when an EntryProxy re-raises an AttributeError.
3516 - Clean up coding style and white space in Node/FS.py.
3518 - Fix a typo in the documentation for $_CPPDEFFLAGS.
3520 - Issue 2401: Fix usage of comparisons with None.
3522 From Ludwig H�hne:
3524 - Handle Java inner classes declared within a method.
3528 - Fix label placement by the "scons-time.py func" subcommand
3529 when a profile value was close to (or equal to) 0.0.
3531 - Fix env.Append() and env.Prepend()'s ability to add a string to
3532 list-like variables like $CCFLAGS under Python 2.6.
3534 - Other Python2.6 portability: don't use "as" (a Python 2.6 keyword).
3535 Don't use the deprecated Exception.message attribute.
3537 - Support using the -f option to search for a different top-level
3538 file name when walking up with the -D, -U or -u options.
3540 - Fix use of VariantDir when the -n option is used and doesn't,
3541 therefore, actually create the variant directory.
3543 - Fix a stack trace from the --debug=includes option when passed a
3544 static or shared library as an argument.
3546 - Speed up the internal find_file() function (used for searching
3547 CPPPATH, LIBPATH, etc.).
3549 - Add support for using the Python "in" keyword on construction
3550 environments (for example, if "CPPPATH" in env: ...).
3552 - Fix use of Glob() when a repository or source directory contains
3553 an in-memory Node without a corresponding on-disk file or directory.
3555 - Add a warning about future reservation of $CHANGED_SOURCES,
3556 $CHANGED_TARGETS, $UNCHANGED_SOURCES and $UNCHANGED_TARGETS.
3558 - Enable by default the existing warnings about setting the resource
3559 $SOURCE, $SOURCES, $TARGET and $TARGETS variable.
3563 - Scan for TeX files in the paths specified in the $TEXINPUTS
3564 construction variable and the $TEXINPUTS environment variable.
3566 - Configure the PDF() and PostScript() Builders as single_source so
3567 they know each source file generates a separate target file.
3569 - Add $EPSTOPDF, $EPSTOPDFFLAGS and $EPSTOPDFCOM
3571 - Add .tex as a valid extension for the PDF() builder.
3573 - Add regular expressions to find \input, \include and
3576 - Support generating a .pdf file from a .eps source.
3578 - Recursive scan included input TeX files.
3580 - Handle requiring searched-for TeX input graphics files to have
3581 extensions (to avoid trying to build a .eps from itself, e.g.).
3585 - Make the Action() function handle positional parameters consistently.
3587 - Clarify use of Configure.CheckType().
3589 - Make the File.{Dir,Entry,File}() methods create their entries
3590 relative to the calling File's directory, not the SConscript
3593 - Use the Python os.devnull variable to discard error output when
3594 looking for the $CC or $CXX version.
3596 - Mention LoadableModule() in the SharedLibrary() documentation.
3598 From Gary Oberbrunner:
3600 - Update the User's Guide to clarify use of the site_scons/
3601 directory and the site_init.py module.
3603 - Make env.AppendUnique() and env.PrependUnique remove duplicates
3604 within a passed-in list being added, too.
3606 From Randall Spangler:
3608 - Fix Glob() so an on-disk file or directory beginning with '#'
3609 doesn't throw an exception.
3613 RELEASE 1.1.0 - Thu, 09 Oct 2008 08:33:47 -0700
3617 - Use the specified environment when checking for the GCC compiler
3620 From Ian P. Cardenas:
3622 - Fix Glob() polluting LIBPATH by returning copy of list
3624 From David Cournapeau:
3626 - Add CheckCC, CheckCXX, CheckSHCC and CheckSHCXX tests to
3627 configuration contexts.
3629 - Have the --profile= argument use the much faster cProfile module
3630 (if it's available in the running Python version).
3632 - Reorder MSVC compilation arguments so the /Fo is first.
3636 - Add scanning Windows resource (.rc) files for implicit dependencies.
3640 - When scanning for a #include file, don't use a directory that
3641 has the same name as the file.
3643 From Ralf W. Grosse-Kunstleve
3645 - Suppress error output when checking for the GCC compiler version.
3649 - Fix VariantDir duplication of #included files in subdirectories.
3651 From Ludwig H�hne:
3653 - Reduce memory usage when a directory is used as a dependency of
3654 another Node (such as an Alias) by returning a concatenation
3655 of the children's signatures + names, not the children's contents,
3656 as the directory contents.
3658 - Raise AttributeError, not KeyError, when a Builder can't be found.
3660 - Invalidate cached Node information (such as the contenst returned
3661 by the get_contents() method) when calling actions with Execute().
3663 - Avoid object reference cycles from frame objects.
3665 - Reduce memory usage from Null Executor objects.
3667 - Compute MD5 checksums of large files without reading the entire
3668 file contents into memory. Add a new --md5-chunksize option to
3669 control the size of each chunk read into memory.
3673 - Fix the ability of the add_src_builder() method to add a new
3674 source builder to any other builder.
3676 - Avoid an infinite loop on non-Windows systems trying to find the
3677 SCons library directory if the Python library directory does not
3678 begin with the string "python".
3680 - Search for the SCons library directory in "scons-local" (with
3681 no version number) after "scons-local-{VERSION}".
3685 - Fix the user's ability to interrupt the TeX build chain.
3687 - Fix the TeX builder's allowing the user to specify the target name,
3688 instead of always using its default output name based on the source.
3690 - Iterate building TeX output files until all warning are gone
3691 and the auxiliary files stop changing, or until we reach the
3692 (configurable) maximum number of retries.
3694 - Add TeX scanner support for: glossaries, nomenclatures, lists of
3695 figures, lists of tables, hyperref and beamer.
3697 - Use the $BIBINPUTS, $BSTINPUTS, $TEXINPUTS and $TEXPICTS construction
3698 variables as search paths for the relevant types of input file.
3700 - Fix building TeX with VariantDir(duplicate=0) in effect.
3702 - Fix the LaTeX scanner to search for graphics on the TEXINPUTS path.
3704 - Have the PDFLaTeX scanner search for .gif files as well.
3708 - Fix typos and format bugs in the man page.
3710 - Add a first draft of a wrapper module for Python's subprocess
3713 - Refactor use of the SCons.compat module so other modules don't
3714 have to import it individually.
3716 - Add .sx as a suffix for assembly language files that use the
3719 From Gary Oberbrunner:
3721 - Make Glob() sort the returned list of Files or Nodes
3722 to prevent spurious rebuilds.
3724 - Add a delete_existing keyword argument to the AppendENVPath()
3725 and PrependENVPath() Environment methods.
3727 - Add ability to use "$SOURCE" when specifying a target to a builder
3731 - Add a test case to verify that SConsignFile() files can be
3732 created in previously non-existent subdirectories.
3736 - Make the subdirectory in which the SConsignFile() file will
3737 live, if the subdirectory doesn't already exist.
3741 - Add a test to verify duplication of files in VariantDir subdirectories.
3745 RELEASE 1.0.1 - Sat, 06 Sep 2008 07:29:34 -0700
3749 - Add a FindFile() section to the User's Guide.
3751 - Fix the FindFile() documentation in the man page.
3753 - Fix formatting errors in the Package() description in the man page.
3755 - Escape parentheses that appear within variable names when spawning
3756 command lines using os.system().
3764 - Clear the Node state when turning a generic Entry into a Dir.
3766 From Ludwig H�hne:
3768 - Fix sporadic output-order failures in test/GetBuildFailures/parallel.py.
3770 - Document the ParseDepends() function in the User's Guide.
3774 - Create a separate description and long_description for RPM packages.
3778 - Document the GetLaunchDir() function in the User's Guide.
3780 - Have the env.Execute() method print an error message if the
3781 executed command fails.
3783 - Add a script for creating a standard SCons development system on
3784 Ubuntu Hardy. Rewrite subsidiary scripts for install Python and
3785 SCons versions in Python (from shell).
3789 - Handle yacc/bison on newer Mac OS X versions creating file.hpp,
3792 - In RPCGEN tests, ignore stderr messages from older versions of
3793 rpcgen on some versions of Mac OS X.
3795 - Fix typos in man page descriptions of Tag() and Package(), and in
3796 the scons-time man page.
3798 - Fix documentation of SConf.CheckLibWithHeader and other SConf methods.
3800 - Update documentation of SConscript(variant_dir) usage.
3802 - Fix SWIG tests for (some versions of) Mac OS X.
3806 - Print the warning about -j on Windows being potentially unreliable if
3807 the pywin32 extensions are unavailable or lack file handle operations.
3811 - Fix the env.WhereIs() method to expand construction variables.
3813 From Rogier Schouten:
3815 - Enable building of shared libraries with the Bordand ilink32 linker.
3819 RELEASE 1.0.0 - Sat, 09 Aug 2008 12:19:44 -0700
3821 From Luca Falavigna:
3823 - Fix SCons man page indentation under Debian's man page macros.
3827 - Clarify the man page description of the SConscript(src_dir) argument.
3829 - User's Guide updates:
3831 - Document the BUILD_TARGETS, COMMAND_LINE_TARGETS and
3832 DEFAULT_TARGETS variables.
3834 - Document the AddOption(), GetOption() and SetOption() functions.
3836 - Document the Requires() function; convert to the Variables
3837 object, its UnknownOptions() method, and its associated
3838 BoolVariable(), EnumVariable(), ListVariable(), PackageVariable()
3839 and PathVariable() functions.
3841 - Document the Progress() function.
3843 - Reorganize the chapter and sections describing the different
3844 types of environments and how they interact. Document the
3845 SetDefault() method. Document the PrependENVPath() and
3846 AppendENVPath() functions.
3848 - Reorganize the command-line arguments chapter. Document the
3851 - Collect some miscellaneous sections into a chapter about
3852 configuring build output.
3856 - Document suggested use of the Visual C/C++ /FC option to fix
3857 the ability to double-click on file names in compilation error
3860 - Document the need to use Clean() for any SideEffect() files that
3861 must be explicitly removed when their targets are removed.
3863 - Explicitly document use of Node lists as input to Dependency().
3867 - Document MergeFlags(), ParseConfig(), ParseFlags() and SideEffect()
3868 in the User's Guide.
3870 From Gary Oberbrunner:
3872 - Document use of the GetBuildFailures() function in the User's Guide.
3876 - Add man page text clarifying the behavior of AddPreAction() and
3877 AddPostAction() when called with multiple targets.
3879 From Alexey Zezukin:
3881 - Fix incorrectly swapped man page descriptions of the --warn= options
3882 for duplicate-environment and missing-sconscript.
3886 RELEASE 0.98.5 - Sat, 07 Jun 2008 08:20:35 -0700
3890 - Fix the Intel C++ compiler ABI specification for EMT64 processors.
3892 From David Cournapeau:
3894 - Issue a (suppressable) warning, not an error, when trying to link
3895 C++ and Fortran object files into the same executable.
3899 - Update the scons.bat file so that it returns the real exit status
3900 from SCons, even though it uses setlocal + endlocal.
3902 - Fix the --interactive post-build messages so it doesn't get stuck
3903 mistakenly reporting failures after any individual build fails.
3905 - Fix calling File() as a File object method in some circumstances.
3907 - Fix setup.py installation on Mac OS X so SCons gets installed
3908 under /usr/lcoal by default, not in the Mac OS X Python framework.
3912 RELEASE 0.98.4 - Sat, 17 May 2008 22:14:46 -0700
3916 - Fix calculation of signatures for Python function actions with
3917 closures in Python versions before 2.5.
3919 From David Cournapeau:
3921 - Fix the initialization of $SHF77FLAGS so it includes $F77FLAGS.
3925 - Fix a syntax error in the Intel C compiler support on Windows.
3929 - Change how we represent Python Value Nodes when printing and when
3930 stored in .sconsign files (to avoid blowing out memory by storing
3931 huge strings in .sconsign files after multiple runs using Configure
3932 contexts cause the Value strings to be re-escaped each time).
3934 - Fix a regression in not executing configuration checks after failure
3935 of any configuration check that used the same compiler or other tool.
3937 - Handle multiple destinations in Visual Studio 8 settings for the
3938 analogues to the INCLUDE, LIBRARY and PATH variables.
3942 - Update man page text for VariantDir().
3946 RELEASE 0.98.3 - Tue, 29 Apr 2008 22:40:12 -0700
3950 - Fix use of $CXXFLAGS when building C++ shared object files.
3954 - Fix a regression when a Builder's source_scanner doesn't select
3955 a more specific scanner for the suffix of a specified source file.
3957 - Fix the Options object backwards compatibility so people can still
3958 "import SCons.Options.{Bool,Enum,List,Package,Path}Option" submodules.
3960 - Fix searching for implicit dependencies when an Entry Node shows up
3961 in the search path list.
3965 - Fix expansion of $FORTRANMODDIR in the default Fortran command line(s)
3966 when it's set to something like ${TARGET.dir}.
3970 RELEASE 0.98.2 - Sun, 20 Apr 2008 23:38:56 -0700
3974 - Fix a bug in Fortran suffix computation that would cause SCons to
3975 run out of memory on Windows systems.
3977 - Fix being able to specify --interactive mode command lines with
3978 \ (backslash) path name separators on Windows.
3980 From Gary Oberbrunner:
3982 - Document Glob() in the User's Guide.
3986 RELEASE 0.98.1 - Fri, 18 Apr 2008 19:11:58 -0700
3990 - Speed up the SCons.Util.to_string*() functions.
3992 - Optimize various Node intialization and calculations.
3994 - Optimize Executor scanning code.
3996 - Optimize Taskmaster execution, including dependency-cycle checking.
3998 - Fix the --debug=stree option so it prints its tree once, not twice.
4000 From Johan Boul�:
4002 - Fix the ability to use LoadableModule() under MinGW.
4004 From David Cournapeau:
4006 - Various missing Fortran-related construction variables have been added.
4008 - SCons now uses the program specified in the $FORTRAN construction
4009 variable to link Fortran object files.
4011 - Fortran compilers on Linux (Intel, g77 and gfortran) now add the -fPIC
4012 option by default when compilling shared objects.
4014 - New 'sunf77', 'sunf90' and 'sunf95' Tool modules have been added to
4015 support Sun Fortran compilers. On Solaris, the Sun Fortran compilers
4016 are used in preference to other compilers by default.
4018 - Fortran support now uses gfortran in preference to g77.
4020 - Fortran file suffixes are now configurable through the
4021 $F77FILESUFFIXES, $F90FILESUFFIXES, $F95FILESUFFIXES and
4022 $FORTRANFILESUFFIXES variables.
4026 - Make the -d, -e, -w and --no-print-directory options "Ignored for
4027 compatibility." (We're not going to implement them.)
4029 - Fix a serious inefficiency in how SCons checks for whether any source
4030 files are missing when a Builder call creates many targets from many
4033 - In Java projects, make the target .class files depend only on the
4034 specific source .java files where the individual classes are defined.
4036 - Don't store duplicate source file entries in the .sconsign file so
4037 we don't endlessly rebuild the target(s) for no reason.
4039 - Add a Variables object as the first step towards deprecating the
4040 Options object name. Similarly, add BoolVariable(), EnumVariable(),
4041 ListVariable(), PackageVariable() and PathVariable() functions
4042 as first steps towards replacing BoolOption(), EnumOption(),
4043 ListOption(), PackageOption() and PathOption().
4045 - Change the options= keyword argument to the Environment() function
4046 to variables=, to avoid confusion with SCons command-line options.
4047 Continue supporting the options= keyword for backwards compatibility.
4049 - When $SWIGFLAGS contains the -python flag, expect the generated .py
4050 file to be in the same (sub)directory as the target.
4052 - When compiling C++ files, allow $CCFLAGS settings to show up on the
4053 command line even when $CXXFLAGS has been redefined.
4055 - Fix --interactive with -u/-U/-D when a VariantDir() is used.
4057 From Anatoly Techtonik:
4059 - Have the scons.bat file add the script execution directory to its
4060 local %PATH% on Windows, so the Python executable can be found.
4064 - Fix passing variable names as a list to the Return() function.
4066 From Matthew Wesley:
4068 - Add support for the GDC 'D' language compiler.
4072 RELEASE 0.98 - Sun, 30 Mar 2008 23:33:05 -0700
4076 - Fix the --keep-going flag so it builds all possible targets even when
4077 a later top-level target depends on a child that failed its build.
4079 - Fix being able to use $PDB and $WINDWOWS_INSERT_MANIFEST together.
4081 - Don't crash if un-installing the Intel C compiler leaves left-over,
4082 dangling entries in the Windows registry.
4084 - Improve support for non-standard library prefixes and suffixes by
4085 stripping all prefixes/suffixes from file name string as appropriate.
4087 - Reduce the default stack size for -j worker threads to 256 Kbytes.
4088 Provide user control over this value by adding --stack-size and
4089 --warn=stack-size options, and a SetOption('stack_size') function.
4091 - Fix a crash on Linux systems when trying to use the Intel C compiler
4092 and no /opt/intel_cc_* directories are found.
4094 - Improve using Python functions as actions by incorporating into
4095 a FunctionAction's signature:
4096 - literal values referenced by the byte code.
4097 - values of default arguments
4098 - code of nested functions
4099 - values of variables captured by closures
4100 - names of referenced global variables and functions
4102 - Fix the closing message when --clean and --keep-going are both
4103 used and no errors occur.
4105 - Add support for the Intel C compiler on Mac OS X.
4107 - Speed up reading SConscript files by about 20% (for some
4108 configurations) by: 1) optimizing the SCons.Util.is_*() and
4109 SCons.Util.flatten() functions; 2) avoiding unnecessary os.stat()
4110 calls by using a File's .suffix attribute directly instead of
4113 From Jérôme Berger:
4115 - Have the D language scanner search for .di files as well as .d files.
4117 - Add a find_include_names() method to the Scanner.Classic class to
4118 abstract out how included names can be generated by subclasses.
4120 - Allow the D language scanner to detect multiple modules imported by
4123 From Konstantin Bozhikov:
4125 - Support expansion of construction variables that contain or refer
4126 to lists of other variables or Nodes within expansions like $CPPPATH.
4128 - Change variable substitution (the env.subst() method) so that an
4129 input sequence (list or tuple) is preserved as a list in the output.
4131 From David Cournapeau:
4133 - Add a CheckDeclaration() call to configure contexts.
4135 - Improve the CheckTypeSize() code.
4137 - Add a Define() call to configure contexts, to add arbitrary #define
4138 lines to a generated configure header file.
4140 - Add a "gfortran" Tool module for the GNU F95/F2003 compiler.
4142 - Avoid use of -rpath with the Mac OS X linker.
4144 - Add comment lines to the generated config.h file to describe what
4145 the various #define/#undef lines are doing.
4149 - Support the ability to subclass the new-style "str" class as input
4152 - Improve the performance of our type-checking by using isinstance()
4153 with new-style classes.
4155 - Fix #include (and other $*PATH variables searches) of files with
4156 absolute path names. Don't die if they don't exist (due to being
4157 #ifdef'ed out or the like).
4159 - Fix --interactive mode when Default(None) is used.
4161 - Fix --debug=memoizer to work around a bug in base Python 2.2 metaclass
4162 initialization (by just not allowing Memoization in Python versions
4165 - Have the "scons-time time" subcommand handle empty log files, and
4166 log files that contain no results specified by the --which option.
4168 - Fix the max Y of vertical bars drawn by "scons-time --fmt=gnuplot".
4170 - On Mac OS X, account for the fact that the header file generated
4171 from a C++ file will be named (e.g.) file.cpp.h, not file.hpp.
4173 - Fix floating-point numbers confusing the Java parser about
4174 generated .class file names in some configurations.
4176 - Document (nearly) all the values you can now fetch with GetOption().
4178 - Fix use of file names containing strings of multiple spaces when
4179 using ActionFactory instances like the Copy() or Move() function.
4181 - Fix a 0.97 regression when using a variable expansion (like
4182 $OBJSUFFIX) in a source file name to a builder with attached source
4183 builders that match suffix (like Program()+Object()).
4185 - Have the Java parser recognize generics (surrounded by angle brackets)
4186 so they don't interfere with identifying anonymous inner classes.
4188 - Avoid an infinite loop when trying to use saved copies of the
4189 env.Install() or env.InstallAs() after replacing the method
4192 - Improve the performance of setting construction variables.
4194 - When cloning a construction environment, avoid over-writing an
4195 attribute for an added method if the user explicitly replaced it.
4197 - Add a warning about deprecated support for Python 1.5, 2.0 and 2.1.
4199 - Fix being able to SetOption('warn', ...) in SConscript files.
4201 - Add a warning about env.Copy() being deprecated.
4203 - Add warnings about the --debug={dtree,stree,tree} options
4206 - Add VariantDir() as the first step towards deprecating BuildDir().
4207 Add the keyword argument "variant_dir" as the replacement for
4210 - Add warnings about the {Target,Source}Signatures() methods and
4211 functions being deprecated.
4215 - Enhance TeX and LaTeX support to work with BuildDir(duplicate=0).
4217 - Re-run LaTeX when it issues a package warning that it must be re-run.
4219 From Leanid Nazdrynau:
4221 - Have the Copy() action factory preserve file modes and times
4222 when copying individual files.
4226 - If $JARCHDIR isn't set explicitly, use the .java_classdir attribute
4227 that was set when the Java() Builder built the .class files.
4231 - Document the Dir(), File() and Entry() methods of Dir and File Nodes.
4233 - Add the parse_flags option when creating Environments
4235 From Gary Oberbrunner:
4237 - Make File(), Dir() and Entry() return a list of Nodes when passed
4238 a list of names, instead of trying to make a string from the name
4239 list and making a Node from that string.
4241 - Fix the ability to build an Alias in --interactive mode.
4243 - Fix the ability to hash the contents of actions for nested Python
4244 functions on Python versions where the inability to pickle them
4245 returns a TypeError (instead of the documented PicklingError).
4249 - Fix use of the Intel C compiler when the top compiler directory,
4250 but not the compiler version, is specified.
4252 - Handle Intel C compiler network license files (port@system).
4256 - Fix how Python Value Nodes are printed in --debug=explain output.
4260 - Add a --interactive option that starts a session for building (or
4261 cleaning) targets without re-reading the SConscript files every time.
4263 - Fix use of readline command-line editing in --interactive mode.
4265 - Have the --interactive mode "build" command with no arguments
4266 build the specified Default() targets.
4268 - Fix the Chmod(), Delete(), Mkdir() and Touch() Action factories to
4269 take a list (of Nodes or strings) as arguments.
4271 From Vaclav Smilauer:
4273 - Fix saving and restoring an Options value of 'all' on Python
4274 versions where all() is a builtin function.
4276 From Daniel Svensson:
4278 - Code correction in SCons.Util.is_List().
4282 - Support the SWIG %module statement with following modifiers in
4283 parenthese (e.g., '%module(directors="1")').
4287 RELEASE 0.97.0d20071212 - Wed, 12 Dec 2007 09:29:32 -0600
4291 - Fix occasional spurious rebuilds and inefficiency when using
4292 --implicit-cache and Builders that produce multiple targets.
4294 - Allow SCons to not have to know about the builders of generated
4295 files when BuildDir(duplicate=0) is used, potentially allowing some
4296 SConscript files to be ignored for smaller builds.
4298 From David Cournapeau:
4300 - Add a CheckTypeSize() call to configure contexts.
4304 - Make the "contents" of Alias Nodes a concatenation of the children's
4305 content signatures (MD5 checksums), not a concatenation of the
4306 children's contents, to avoid using large amounts of memory during
4307 signature calculation.
4311 - Fix a lot of typos in the man page and User's Guide.
4313 From Geoffrey Irving:
4315 - Speed up conversion of paths in .sconsign files to File or Dir Nodes.
4319 - Add an Options.UnknownOptions() method that returns any settings
4320 (from the command line, or whatever dictionary was passed in)
4321 that aren't known to the Options object.
4323 - Add a Glob() function.
4325 - When removing targets with the -c option, use the absolute path (to
4326 avoid problems interpreting BuildDir() when the top-level directory
4327 is the source directory).
4329 - Fix problems with Install() and InstallAs() when called through a
4330 clone (of a clone, ...) of a cloned construction environment.
4332 - When executing a file containing Options() settings, add the file's
4333 directory to sys.path (so modules can be imported from there) and
4334 explicity set __name__ to the name of the file so the statement's
4335 in the file can deduce the location if they need to.
4337 - Fix an O(n^2) performance problem when adding sources to a target
4338 through calls to a multi Builder (including Aliases).
4340 - Redefine the $WINDOWSPROGMANIFESTSUFFIX and
4341 $WINDOWSSHLIBMANIFESTSUFFIX variables so they pick up changes to
4342 the underlying $SHLIBSUFFIX and $PROGSUFFIX variables.
4344 - Add a GetBuildFailures() function that can be called from functions
4345 registered with the Python atexit module to print summary information
4346 about any failures encountered while building.
4348 - Return a NodeList object, not a Python list, when a single_source
4349 Builder like Object() is called with more than one file.
4351 - When searching for implicit dependency files in the directories
4352 in a $*PATH list, don't create Dir Nodes for directories that
4353 don't actually exist on-disk.
4355 - Add a Requires() function to allow the specification of order-only
4356 prerequisites, which will be updated before specified "downstream"
4357 targets but which don't actually cause the target to be rebuilt.
4359 - Restore the FS.{Dir,File,Entry}.rel_path() method.
4361 - Make the default behavior of {Source,Target}Signatures('timestamp')
4362 be equivalent to 'timestamp-match', not 'timestamp-newer'.
4364 - Fix use of CacheDir with Decider('timestamp-newer') by updating
4365 the modification time when copying files from the cache.
4367 - Fix random issues with parallel (-j) builds on Windows when Python
4368 holds open file handles (especially for SCons temporary files,
4369 or targets built by Python function actions) across process creation.
4371 From Maxim Kartashev:
4373 - Fix test scripts when run on Solaris.
4375 From Gary Oberbrunner:
4377 - Fix Glob() when a pattern is in an explicitly-named subdirectory.
4379 From Philipp Scholl:
4381 - Fix setting up targets if multiple Package builders are specified
4386 RELEASE 0.97.0d20070918 - Tue, 18 Sep 2007 10:51:27 -0500
4390 - Fix the wix Tool module to handle null entries in $PATH variables.
4392 - Move the documentation of Install() and InstallAs() from the list
4393 of functions to the list of Builders (now that they're implemented
4396 - Allow env.CacheDir() to be set per construction environment. The
4397 global CacheDir() function now sets an overridable global default.
4399 - Add an env.Decider() method and a Node.Decider() method that allow
4400 flexible specification of an arbitrary function to decide if a given
4401 dependency has changed since the last time a target was built.
4403 - Don't execute Configure actions (while reading SConscript files)
4404 when cleaning (-c) or getting help (-h or -H).
4406 - Add to each target an implicit dependency on the external command(s)
4407 used to build the target, as found by searching env['ENV']['PATH']
4408 for the first argument on each executed command line.
4410 - Add support for a $IMPLICIT_COMMAND_DEPENDENCIES construction
4411 variabe that can be used to disable the automatic implicit
4412 dependency on executed commands.
4414 - Add an "ensure_suffix" keyword to Builder() definitions that, when
4415 true, will add the configured suffix to the targets even if it looks
4416 like they already have a different suffix.
4418 - Add a Progress() function that allows for calling a function or string
4419 (or list of strings) to display progress while walking the DAG.
4421 - Allow ParseConfig(), MergeFlags() and ParseFlags() to handle output
4422 from a *config command with quoted path names that contain spaces.
4424 - Make the Return() function stop processing the SConscript file and
4425 return immediately. Add a "stop=" keyword argument that can be set
4426 to False to preserve the old behavior.
4428 - Fix use of exitstatfunc on an Action.
4430 - Introduce all man page function examples with "Example:" or "Examples:".
4432 - When a file gets added to a directory, make sure the directory gets
4433 re-scanned for the new implicit dependency.
4435 - Fix handling a file that's specified multiple times in a target
4436 list so that it doesn't cause dependent Nodes to "disappear" from
4437 the dependency graph walk.
4441 - Avoid race conditions with same-named files and directory creation
4442 when pushing copies of files to CacheDir().
4446 - Handle $ in Java class names.
4448 From Gary Oberbrunner:
4450 - Add support for the Intel C compiler on Windows64.
4452 - On SGI IRIX, have $SHCXX use $CXX by default (like other platforms).
4456 - When Cloning a construction environment, set any variables before
4457 applying tools (so the tool module can access the configured settings)
4458 and re-set them after (so they end up matching what the user set).
4460 From Matthias Troffaes:
4462 - Make sure extra auxiliary files generated by some LaTeX packages
4463 and not ending in .aux also get deleted by scons -c.
4467 - Add a $JAVABOOTCLASSPATH variable for directories to be passed to the
4468 javac -bootclasspath option.
4470 From Christoph Wiedemann:
4472 - Add implicit dependencies on the commands used to build a target.
4477 RELEASE 0.97.0d20070809 - Fri, 10 Aug 2007 10:51:27 -0500
4479 From Lars Albertsson:
4481 - Don't error if a #include line happens to match a directory
4482 somewhere on a path (like $CPPPATH, $FORTRANPATH, etc.).
4484 From Mark Bertoglio:
4486 - Fix listing multiple projects in Visual Studio 7.[01] solution files,
4487 including generating individual project GUIDs instead of re-using
4492 - Add /opt/SUNWspro/bin to the default execution PATH on Solaris.
4496 - Only expect the Microsoft IDL compiler to emit *_p.c and *_data.c
4497 files if the /proxy and /dlldata switches are used (respectively).
4501 - Have --debug=explain report if a target is being rebuilt because
4502 AlwaysBuild() is specified (instead of "unknown reasons").
4504 - Support {Get,Set}Option('help') to make it easier for SConscript
4505 files to tell if a help option (-h, --help, etc.) has been specified.
4507 - Support {Get,Set}Option('random') so random-dependency interaction
4508 with CacheDir() is controllable from SConscript files.
4510 - Add a new AddOption() function to support user-defined command-
4511 line flags (like --prefix=, --force, etc.).
4513 - Replace modified Optik version with new optparse compatibility module
4514 for command line processing in Scripts/SConsOptions.py
4516 - Push and retrieve built symlinks to/from a CacheDir() as actual
4517 symlinks, not by copying the file contents.
4519 - Fix how the Action module handles stringifying the shared library
4520 generator in the Tool/mingw.py module.
4522 - When generating a config.h file, print "#define HAVE_{FEATURE} 1"
4523 instad of just "#define HAVE_{FEATURE}", for more compatibility
4524 with Autoconf-style projects.
4526 - Fix expansion of $TARGET, $TARGETS, $SOURCE and $SOURCES keywords in
4527 Visual C/C++ PDB file names.
4529 - Fix locating Visual C/C++ PDB files in build directories.
4531 - Support an env.AddMethod() method and an AddMethod() global function
4532 for adding a new method, respectively, to a construction environment
4533 or an arbitrary object (such as a class).
4535 - Fix the --debug=time option when the -j option is specified and all
4536 files are up to date.
4538 - Add a $SWIGOUTDIR variable to allow setting the swig -outdir option,
4539 and use it to identify files created by the swig -java option.
4541 - Add a $SWIGPATH variable that specifies the path to be searched
4542 for included SWIG files, Also add related $SWIGINCPREFIX and
4543 $SWIGINCSUFFIX variables that specify the prefix and suffix to
4544 be be added to each $SWIGPATH directory when expanded on the SWIG
4547 - More efficient copying of construction environments (mostly borrowed
4548 from copy.deepcopy() in the standard Python library).
4550 - When printing --tree=prune output, don't print [brackets] around
4551 source files, only do so for built targets with children.
4553 - Fix interpretation of Builder source arguments when the Builder has
4554 a src_suffix *and* a source_builder and the argument has no suffix.
4556 - Fix use of expansions like ${TARGET.dir} or ${SOURCE.dir} in the
4557 following construction variables: $FORTRANMODDIR, $JARCHDIR,
4558 $JARFLAGS, $LEXFLAGS, $SWIGFLAGS, $SWIGOUTDIR and $YACCFLAGS.
4560 - Fix dependencies on Java files generated by SWIG so they can be
4561 detected and built in one pass.
4563 - Fix SWIG when used with a BuildDir().
4565 From Leanid Nazdrynau:
4567 - When applying Tool modules after a construction environment has
4568 already been created, don't overwrite existing $CFILESUFFIX and
4569 $CXXFILESUFFIX value.
4571 - Support passing the Java() builder a list of explicit .java files
4572 (not only a list of directories to be scanned for .java files).
4574 - Support passing .java files to the Jar() and JavaH() builders, which
4575 then use the builder underlying the Java() builder to turn them into
4576 .class files. (That is, the Jar()-Java() chain of builders become
4577 multi-step, like the Program()-Object()-CFile() builders.)
4579 - Support passing SWIG .i files to the Java builders (Java(),
4580 Jar(), JavaH()), to cause intermediate .java files to be created
4583 - Add $JAVACLASSPATH and $JAVASOURCEPATH variables, that get added to
4584 the javac "-classpath" and "-sourcepath" options. (Note that SCons
4585 does *not* currently search these paths for implicit dependencies.)
4587 - Commonize initialization of Java-related builders.
4591 - Find Java anonymous classes when the next token after the name is
4592 an open parenthesis.
4594 From Gary Oberbrunner:
4596 - Fix a code example in the man page.
4600 - Add support for the file names that Java 1.5 (and 1.6) generates for
4601 nested anonymous inner classes, which are different from Java 1.4.
4605 - Allow worker threads to terminate gracefully when all jobs are
4610 - Add LaTeX scanner support for finding dependencies specified with
4611 the \usepackage{} directive.
4615 RELEASE 0.97 - Thu, 17 May 2007 08:59:41 -0500
4619 - Fix a bug that would make parallel builds stop in their tracks if
4620 Nodes that depended on lists that contained some Nodes built together
4621 caused the reference count to drop below 0 if the Nodes were visited
4622 and commands finished in the wrong order.
4624 - Make sure the DirEntryScanner doesn't choke if it's handed something
4625 that's not a directory (Node.FS.Dir) Node.
4629 RELEASE 0.96.96 - Thu, 12 Apr 2007 12:36:25 -0500
4631 NOTE: This is (Yet) a(nother) pre-release of 0.97 for testing purposes.
4635 - Man page fix: remove cut-and-paste sentence in NoCache() description.
4637 From Dmitry Grigorenko and Gary Oberbrunner:
4639 - Use the Intel C++ compiler, not $CC, to link C++ source.
4643 - Fix the man page example of propagating a user's external environment.
4647 - Back out (most of) the Windows registry installer patch, which
4648 seems to not work on some versions of Windows.
4650 - Don't treat Java ".class" attributes as defining an inner class.
4652 - Fix detecting an erroneous Java anonymous class when the first
4653 non-skipped token after a "new" keyword is a closing brace.
4655 - Fix a regression when a CPPDEFINES list contains a tuple, the second
4656 item of which (the option value) is a construction variable expansion
4657 (e.g. $VALUE) and the value of the variable isn't a string.
4659 - Improve the error message if an IOError (like trying to read a
4660 directory as a file) occurs while deciding if a node is up-to-date.
4662 - Fix "maximum recursion" / "unhashable type" errors in $CPPPATH
4663 PathList expansion if a subsidiary expansion yields a stringable,
4666 - Generate API documentation from the docstrings (using epydoc).
4668 - Fix use of --debug=presub with Actions for out-of-the-box Builders.
4670 - Fix handling nested lists within $CPPPATH, $LIBPATH, etc.
4672 - Fix a "builders_used" AttributeError that real-world Qt initialization
4673 triggered in the refactored suffix handling for Builders.
4675 - Make the reported --debug=time timings meaningful when used with -j.
4676 Better documentation of what the times mean.
4678 - User Guide updates: --random, AlwaysBuild(), --tree=,
4679 --debug=findlibs, --debug=presub, --debug=stacktrace,
4682 - Document (in both man page and User's Guide) that --implicit-cache
4683 ignores changes in $CPPPATH, $LIBPATH, etc.
4685 From Jean-Baptiste Lab:
4687 - Remove hard-coded dependency on Python 2.2 from Debian packaging files.
4691 - Handle spaces in the build target name in Visual Studio project files.
4695 - Re-run LaTeX after BibTeX has been re-run in response to a changed
4698 From Joel B. Mohler:
4700 - Make additional TeX auxiliary files (.toc, .idx and .bbl files)
4701 Precious so their removal doesn't affect whether the necessary
4702 sections are included in output PDF or PostScript files.
4704 From Gary Oberbrunner:
4706 - Fix the ability to import modules in the site_scons directory from
4711 - Make sure parallel (-j) builds all targets even if they show up
4712 multiple times in the child list (as a source and a dependency).
4714 From Matthias Troffaes:
4716 - Don't re-run TeX if the triggering strings (\makeindex, \bibliography
4717 \tableofcontents) are commented out.
4721 - Fix use of custom include and lib paths with Visual Studio 8.
4723 - Select the default .NET Framework SDK Dir based on the version of
4724 Visual Studio being used.
4728 RELEASE 0.96.95 - Mon, 12 Feb 2007 20:25:16 -0600
4730 From Anatoly Techtonik:
4732 - Add the scons.org URL and a package description to the setup.py
4735 - Have the Windows installer add a registry entry for scons.bat in the
4736 "App Paths" key, so scons.bat can be executed without adding the
4737 directory to the %PATH%. (Python itself works this way.)
4741 - Fix looking for default paths in Visual Studio 8.0 (and later).
4743 - Add -lm to the list of default D libraries for linking.
4747 - Provide a more complete write-your-own-Scanner example in the man page.
4749 From Ralf W. Grosse-Kunstleve:
4751 - Contributed upstream Python change to our copied subprocess.py module
4752 for more efficient standard input processing.
4756 - Fix the Node.FS.Base.rel_path() method when the two nodes are on
4757 different drive letters. (This caused an infinite loop when
4758 trying to write .sconsign files.)
4760 - Fully support Scanners that use a dictionary to map file suffixes
4763 - Support delayed evaluation of the $SPAWN variable to allow selection
4764 of a function via ${} string expansions.
4766 - Add --srcdir as a synonym for -Y/--repository.
4768 - Document limitations of #include "file.h" with Repository().
4770 - Fix use of a toolpath under the source directory of a BuildDir().
4772 - Fix env.Install() with a file name portion that begins with '#'.
4774 - Fix ParseConfig()'s handling of multiple options in a string that's
4775 replaced a *FLAGS construction variable.
4777 - Have the C++ tools initialize common C compilation variables ($CCFLAGS,
4778 $SHCCFLAGS and $_CCCOMCOM) even if the 'cc' Tool isn't loaded.
4780 From Leanid Nazdrynau:
4782 - Fix detection of Java anonymous classes if a newline precedes the
4785 From Gary Oberbrunner:
4787 - Document use of ${} to execute arbitrary Python code.
4790 1) automatically adding a site_scons subdirectory (in the top-level
4791 SConstruct directory) to sys.path (PYTHONPATH);
4792 2) automatically importing site_scons/site_init.py;
4793 3) automatically adding site_scons/site_tools to the toolpath.
4797 - Change ParseConfig() to preserve white space in arguments passed in
4802 - Fix adding explicitly-named Java inner class files (and any
4803 other file names that may contain a '$') to Jar files.
4807 - Add a NoCache() function to mark targets as unsuitable for propagating
4808 to (or retrieving from) a CacheDir().
4812 - If the swig -noproxy option is used, it won't generate a .py file,
4813 so don't emit it as a target that we expect to be built.
4817 RELEASE 0.96.94 - Sun, 07 Jan 2007 18:36:20 -0600
4819 NOTE: This is a pre-release of 0.97 for testing purposes.
4823 - Allow arbitrary white space after a SWIG %module declaration.
4827 - When compiling resources under MinGW, make sure there's a space
4828 between the --include-dir option and its argument.
4832 - Alleviate long command line issues on Windows by executing command
4833 lines directly via os.spawnv() if the command line doesn't need
4834 shell interpretation (has no pipes, redirection, etc.).
4836 From Walter Franzini:
4838 - Exclude additional Debian packaging files from the copyright check.
4842 - Handle the conflict between the impending Python 2.6 'as' keyword
4843 and our Tool/as.py module name.
4847 - Speed up the Node.FS.Dir.rel_path() method used to generate path names
4848 that get put into the .sconsign* file(s).
4850 - Optimize Node.FS.Base.get_suffix() by computing the suffix once, up
4851 front, when we set the Node's name. (Duh...)
4853 - Reduce the Memoizer's responsibilities to simply counting hits and
4854 misses when the --debug=memoizer option is used, not to actually
4855 handling the key calculation and memoization itself. This speeds
4856 up some configurations significantly, and should cause no functional
4859 - Add a new scons-time script with subcommands for generating
4860 consistent timing output from SCons configurations, extracting
4861 various information from those timings, and displaying them in
4864 - Reduce some unnecessary stat() calls from on-disk entry type checks.
4866 - Fix SideEffect() when used with -j, which was badly broken in 0.96.93.
4868 - Propagate TypeError exceptions when evaluating construction variable
4869 expansions up the stack, so users can see what's going on.
4871 - When disambiguating a Node.FS.Entry into a Dir or File, don't look
4872 in the on-disk source directory until we've confirmed there's no
4873 on-disk entry locally and there *is* one in the srcdir. This avoids
4874 creating a phantom Node that can interfere with dependencies on
4877 - Add an AllowSubstExceptions() function that gives the SConscript
4878 files control over what exceptions cause a string to expand to ''
4879 vs. terminating processing with an error.
4881 - Allow the f90.py and f95.py Tool modules to compile earlier source
4882 source files of earlier Fortran version.
4884 - Fix storing signatures of files retrieved from CacheDir() so they're
4885 correctly identified as up-to-date next invocation.
4887 - Make sure lists of computed source suffixes cached by Builder objects
4888 don't persist across changes to the list of source Builders (so the
4889 addition of suffixes like .ui by the qt.py Tool module take effect).
4891 - Enhance the bootstrap.py script to allow it to be used to execute
4892 SCons more easily from a checked-out source tree.
4896 - Fix post-Memoizer value caching misspellings in Node.FS._doLookup().
4898 From Rob Managan, Dmitry Mikhin and Joel B. Mohler:
4900 - Handle TeX/LaTeX files in subdirectories by changing directory
4901 before invoking TeX/LaTeX.
4903 - Scan LaTeX files for \bibliography lines.
4905 - Support multiple file names in a "\bibliography{file1,file2}" string.
4907 - Handle TeX warnings about undefined citations.
4909 - Support re-running LaTeX if necessary due to a Table of Contents.
4913 - Return LaTeX if "Rerun to get citations correct" shows up on the next
4914 line after the "Warning:" string.
4916 From Gary Oberbrunner:
4918 - Add #include lines to fix portability issues in two tests.
4920 - Eliminate some unnecessary os.path.normpath() calls.
4922 - Add a $CFLAGS variable for C-specific options, leaving $CCFLAGS
4923 for options common to C and C++.
4927 - Have the error message print the missing file that Qt can't find.
4931 - Fix env.MergeFlags() appending to construction variable value of None.
4935 - Fix the "sconsign" script when the .sconsign.dblite file is explicitly
4936 specified on the command line (and not intuited from the old way of
4937 calling it with just ".sconsign").
4939 From Jose Pablo Ezequiel "Pupeno" Fernandez Silva:
4941 - Give the 'lex' tool knowledge of the additional target files produced
4942 by the flex "--header-file=" and "--tables-file=" options.
4944 - Give the 'yacc' tool knowledge of the additional target files produced
4945 by the bison "-g", "--defines=" and "--graph=" options.
4947 - Generate intermediate files with Objective C file suffixes (.m) when
4948 the lex and yacc source files have appropriate suffixes (.lm and .ym).
4952 - Have the mslink.py Tool only look for a 'link' executable on Windows
4955 From Vaclav Smilauer:
4957 - Add support for a "srcdir" keyword argument when calling a Builder,
4958 which will add a srcdir prefix to all non-relative string sources.
4960 From Jonathan Ultis:
4962 - Allow Options converters to take the construction environment as
4963 an optional argument.
4967 RELEASE 0.96.93 - Mon, 06 Nov 2006 00:44:11 -0600
4969 NOTE: This is a pre-release of 0.97 for testing purposes.
4973 - Allow Python Value Nodes to be Builder targets.
4977 - Only filter Visual Studio common filename prefixes on complete
4982 - Fix the build of the SCons documentation on systems that don't
4983 have "python" in the $PATH.
4987 - Enhance ParseConfig() to recognize options that begin with '+'.
4989 From John Calcote, Elliot Murphy:
4991 - Document ways to override the CCPDBFLAGS variable to use the
4992 Microsoft linker's /Zi option instead of the default /Z7.
4994 From Christopher Drexler:
4996 - Make SCons aware bibtex must be called if any \include files
4997 cause creation of a bibliography.
4999 - Make SCons aware that "\bilbiography" in TeX source files means
5000 that related .bbl and .blg bibliography files will be created.
5001 (NOTE: This still needs to search for the string in \include files.)
5005 - Fix inconsistent handling of Action strfunction arguments.
5007 - Preserve white space in display Action strfunction strings.
5009 From James Y. Knight and Gerard Patel:
5011 - Support creation of shared object files from assembly language.
5015 - Speed up the Taskmaster significantly by avoiding unnecessary
5016 re-scans of Nodes to find out if there's work to be done, having it
5017 track the currently-executed top-level target directly and not
5018 through its presence on the target list, and eliminating some other
5019 minor list(s), method(s) and manipulation.
5021 - Fix the expansion of $TARGET and $SOURCE in the expansion of
5022 $INSTALLSTR displayed for non-environment calls to InstallAs().
5024 - Fix the ability to have an Alias() call refer to a directory
5025 name that's not identified as a directory until later.
5027 - Enhance runtest.py with an option to use QMTest as the harness.
5028 This will become the default behavior as we add more functionality
5031 - Let linking on mingw use the default function that chooses $CC (gcc)
5032 or $CXX (g++) depending on whether there are any C++ source files.
5034 - Work around a bug in early versions of the Python 2.4 profile module
5035 that caused the --profile= option to fail.
5037 - Only call Options validators and converters once when initializing a
5038 construction environment.
5040 - Fix the ability of env.Append() and env.Prepend(), in all known Python
5041 versions, to handle different input value types when the construction
5042 variable being updated is a dictionary.
5044 - Add a --cache-debug option for information about what files it's
5045 looking for in a CacheDir().
5047 - Document the difference in construction variable expansion between
5048 {Action,Builder}() and env.{Action,Builder}().
5050 - Change the name of env.Copy() to env.Clone(), keeping the old name
5051 around for backwards compatibility (with the intention of eventually
5052 phasing it out to avoid confusion with the Copy() Action factory).
5056 - Support cleaning and scanning SWIG-generated files.
5060 - Allow selection of Visual Studio version by setting $MSVS_VERSION
5061 after construction environment initialization.
5063 From Jean-Baptiste Lab:
5065 - Try using zipimport if we can't import Tool or Platform modules
5066 using the normal "imp" module. This allows SCons to be packaged
5067 using py2exe's all-in-one-zip-file approach.
5071 - Do not re-scan files if the scanner returns no implicit dependencies.
5073 From Sanjoy Mahajan:
5075 - Change use of $SOURCES to $SOURCE in all TeX-related Tool modules.
5077 From Joel B. Mohler:
5079 - Make SCons aware that "\makeindex" in TeX source files means that
5080 related .ilg, .ind and .idx index files will be created.
5081 (NOTE: This still needs to search for the string in \include files.)
5083 - Prevent scanning the TeX .aux file for additional files from
5084 trying to remove it twice when the -c option is used.
5086 From Leanid Nazdrynau:
5088 - Give the MSVC RES (resource) Builder a src_builder list and a .rc
5089 src_suffix so other builders can generate .rc files.
5091 From Matthew A. Nicholson:
5093 - Enhance Install() and InstallAs() to handle directory trees as sources.
5097 - Don't use the -fPIC flag when using gcc on Windows (e.g. MinGW).
5101 - Add an env.ParseFlags() method that provides separate logic for
5102 parsing GNU tool chain flags into a dictionary.
5104 - Add an env.MergeFlags() method to apply an arbitrary dictionary
5105 of flags to a construction environment's variables.
5107 From Gary Oberbrunner:
5109 - Fix parsing tripartite Intel C compiler version numbers on Linux.
5111 - Extend the ParseConfig() function to recognize -arch and
5114 - Have the error message list the known suffixes when a Builder call
5115 can't build a source file with an unknown suffix.
5117 From Karol Pietrzak:
5119 - Avoid recursive calls to main() in the program snippet used by the
5120 SConf subsystem to test linking against libraries. This changes the
5121 default behavior of CheckLib() and CheckLibWithHeader() to print
5122 "Checking for C library foo..." instead of "Checking for main()
5123 in C library foo...".
5127 - Throw an exception if a command called by ParseConfig() or
5128 ParseFlags() returns an error.
5130 From Stefan Seefeld:
5132 - Initial infrastructure for running SCons tests under QMTest.
5136 - Fix tests that fail due to gcc warnings.
5138 From Dobes Vandermeer:
5140 - In stack traces, print the full paths of SConscript files.
5144 - Fix detection of Visual C++ Express Edition.
5146 From Dobes Vandermeer:
5148 - Let the src_dir option to the SConscript() function affect all the
5149 the source file paths, instead of treating all source files paths
5150 as relative to the SConscript directory itself.
5152 From Nicolas Vigier:
5154 - Fix finding Fortran modules in build directories.
5156 - Fix use of BuildDir() when the source file in the source directory
5157 is a symlink with a relative path.
5161 - Fix the Memoizer when the SCons Python modules are executed from
5162 .pyo files at different locations from where they were compiled.
5166 - Fix missing os.path.join() when constructing the $FRAMEWORKSDKDIR/bin.
5170 RELEASE 0.96.92 - Mon, 10 Apr 2006 21:08:22 -0400
5172 NOTE: This was a pre-release of 0.97 for testing purposes.
5176 - Fix the intelc.py Tool module to not throw an exception if the
5177 only installed version is something other than ia32.
5179 - Set $CCVERSION when using gcc.
5183 - Support generating project and solution files for Microsoft
5184 Visual Studio version 8.
5186 - Support generating more than one project file for a Microsoft
5187 Visual Studio solution file.
5189 - Add support for a support "runfile" parameter to Microsoft
5190 Visual Studio project file creation.
5192 - Put the project GUID, not the solution GUID, in the right spot
5193 in the solution file.
5195 From Erling Andersen:
5197 - Fix interpretation of Node.FS objects wrapped in Proxy instances,
5198 allowing expansion of things like ${File(TARGET)} in command lines.
5200 From Stanislav Baranov:
5202 - Add a separate MSVSSolution() Builder, with support for the
5203 following new construction variables: $MSVSBUILDCOM, $MSVSCLEANCOM,
5204 $MSVSENCODING, $MSVSREBUILDCOM, $MSVSSCONS, $MSVSSCONSCOM,
5205 $MSVSSCONSFLAGS, $MSVSSCONSCRIPT and $MSVSSOLUTIONCOM.
5207 From Ralph W. Grosse-Kunstleve and Patrick Mezard:
5209 - Remove unneceesary (and incorrect) SCons.Util strings on some function
5210 calls in SCons.Util.
5214 - Fix C/C++ compiler selection on AIX to not always use the external $CC
5215 environment variable.
5217 From August Hörandl:
5219 - Add a scanner for \include and \import files, with support for
5220 searching a directory list in $TEXINPUTS (imported from the external
5223 - Support $MAKEINDEX, $MAKEINDEXCOM, $MAKEINDEXCOMSTR and
5224 $MAKEINDEXFLAGS for generating indices from .idx files.
5226 From Steven Johnson:
5228 - Add a NoClean() Environment method and function to override removal
5229 of targets during a -c clean, including documentation and tests.
5233 - Check for whether files exist on disk by listing the directory
5234 contents, not calling os.path.exists() file by file. This is
5235 somewhat more efficient in general, and may be significantly
5236 more efficient on Windows.
5238 - Minor speedups in the internal is_Dict(), is_List() and is_String()
5241 - Fix a signature refactoring bug that caused Qt header files to
5242 get re-generated every time.
5244 - Don't fail when writing signatures if the .sconsign.dblite file is
5245 owned by a different user (e.g. root) from a previous run.
5247 - When deleting variables from stacked OverrideEnvironments, don't
5248 throw a KeyError if we were able to delte the variable from any
5249 Environment in the stack.
5251 - Get rid of the last indentation tabs in the SCons source files and
5252 add -tt to the Python invocations in the packaging build and the
5253 tests so they don't creep back in.
5255 - In Visual Studio project files, put quotes around the -C directory
5256 so everything works even if the path has spaces in it.
5258 - The Intel Fortran compiler uses -object:$TARGET, not "-o $TARGET",
5259 when building object files on Windows. Have the the ifort Tool
5260 modify the default command lines appropriately.
5262 - Document the --debug=explain option in the man page. (How did we
5265 - Add a $LATEXRETRIES variable to allow configuration of the number of
5266 times LaTex can be re-called to try to resolve undefined references.
5268 - Change the order of the arguments to Configure.Checklib() to match
5271 - Handle signature calculation properly when the Python function used
5272 for a FunctionAction is an object method.
5274 - On Windows, assume that absolute path names without a drive letter
5275 refer to the drive on which the SConstruct file lives.
5277 - Add /usr/ccs/bin to the end of the the default external execution
5280 - Add $PKGCHK and $PKGINFO variables for use on Solaris when searching
5281 for the SunPRO C++ compiler. Make the default value for $PKGCHK
5282 be /usr/sbin/pgkchk (since /usr/sbin isn't usually on the external
5285 - Fix a man page example of overriding variables when calling
5286 SharedLibrary() to also set the $LIBSUFFIXES variable.
5288 - Add a --taskmastertrace=FILE option to give some insight on how
5289 the taskmaster decides what Node to build next.
5291 - Changed the names of the old $WIN32DEFPREFIX, $WIN32DEFSUFFIX,
5292 $WIN32DLLPREFIX and $WIN32IMPLIBPREFIX construction variables to
5293 new $WINDOWSDEFPREFIX, $WINDOWSDEFSUFFIX, $WINDOWSDLLPREFIX and
5294 $WINDOWSIMPLIBPREFIX construction variables. The old names are now
5295 deprecated, but preserved for backwards compatibility.
5297 - Fix (?) a runtest.py hang on Windows when the --xml option is used.
5299 - Change the message when an error occurs trying to interact with the
5300 file system to report the target(s) in square brackets (as before) and
5301 the actual file or directory that encountered the error afterwards.
5305 - Add x64 support for Microsoft Visual Studio 8.
5307 From Baptiste Lepilleur:
5309 - Support the --debug=memory option on Windows when the Python version
5310 has the win32process and win32api modules.
5312 - Add support for Visual Studio 2005 Pro.
5314 - Fix portability issues in various tests: test/Case.py,
5315 Test/Java/{JAR,JARCHDIR,JARFLAGS,JAVAC,JAVACFLAGS,JAVAH,RMIC}.py,
5316 test/MSVS/vs-{6.0,7.0,7.1,8.0}-exec.py,
5317 test/Repository/{Java,JavaH,RMIC}.py,
5318 test/QT/{generated-ui,installed,up-to-date,warnings}.py,
5321 - Ignore pkgchk errors on Solaris when searching for the C++ compiler.
5323 - Speed up the SCons/EnvironmentTests.py unit tests.
5325 - Add a --verbose= option to runtest.py to print executed commands
5326 and their output at various levels.
5328 From Christian Maaser:
5330 - Add support for Visual Studio Express Editions.
5332 - Add support for Visual Studio 8 *.manifest files, includng
5333 new $WINDOWS_INSERT_MANIFEST, $WINDOWSPROGMANIFESTSUFFIX,
5334 $WINDOWSPROGMANIFESTPREFIX, $WINDOWSPROGMANIFESTSUFFIX,
5335 $WINDOWSSHLIBMANIFESTPREFIX and $WINDOWSSHLIBMANIFESTSUFFIX
5336 construction variables.
5340 - Fix detection of additional Java inner classes following use of a
5341 "new" keyword inside an inner class.
5343 From Sanjoy Mahajan:
5345 - Correct TeX-related command lines to just $SOURCE, not $SOURCES
5347 From Patrick Mezard:
5349 - Execute build commands for a command-line target if any of the
5350 files built along with the target is out of date or non-existent,
5351 not just if the command-line target itself is out of date.
5353 - Fix the -n option when used with -c to print all of the targets
5354 that will be removed for a multi-target Builder call.
5356 - If there's no file in the source directory, make sure there isn't
5357 one in the build directory, too, to avoid dangling files left
5358 over from previous runs when a source file is removed.
5360 - Allow AppendUnique() and PrependUnique() to append strings (and
5361 other atomic objects) to lists.
5363 From Joel B. Mohler:
5365 - Extend latex.py, pdflatex.py, pdftex.py and tex.py so that building
5366 from both TeX and LaTeX files uses the same logic to call $BIBTEX
5367 when it's necessary, to call $MAKEINDEX when it's necessary, and to
5368 call $TEX or $LATEX multiple times to handle undefined references.
5370 - Add an emitter to the various TeX builders so that the generated
5371 .aux and .log files also get deleted by the -c option.
5373 From Leanid Nazdrynau:
5375 - Fix the Qt UIC scanner to work with generated .ui files (by using
5376 the FindFile() function instead of checking by-hand for the file).
5378 From Jan Nieuwenhuizen:
5380 - Fix a problem with interpreting quoted argument lists on command lines.
5384 - Add /sw/bin to the default execution PATH on Mac OS X.
5388 - When building a .jar file and there is a $JARCHDIR, put the -C
5389 in front of each .class file on the command line.
5391 - Recognize the Java 1.5 enum keyword.
5393 From Asfand Yar Qazi:
5395 - Add /opt/bin to the default execution PATH on all POSIX platforms
5396 (between /usr/local/bin and /bin).
5400 - Fix the use of Configure() contexts from nested subsidiary
5403 From Christoph Schulz:
5405 - Add support for $CONFIGUREDIR and $CONFIGURELOG variables to control
5406 the directory and logs for configuration tests.
5408 - Add support for a $INSTALLSTR variable.
5410 - Add support for $RANLIBCOM and $RANLIBCOMSTR variables (which fixes
5411 a bug when setting $ARCOMSTR).
5415 - Add use of $CPPDEFINES to $RCCOM (resource file compilation) on MinGW.
5417 From Erick Tryzelaar:
5419 - Fix the error message when trying to report that a given option is
5420 not gettable/settable from an SConscript file.
5422 From Dobes Vandermeer:
5424 - Add support for SCC and other settings in Microsoft Visual
5425 Studio project and solution files: $MSVS_PROJECT_BASE_PATH,
5426 $MSVS_PROJECT_GUID, $MSVS_SCC_AUX_PATH, $MSVS_SCC_LOCAL_PATH,
5427 $MSVS_SCC_PROJECT_NAME, $MSVS_SCC_PROVIDER,
5429 - Add support for using a $SCONS_HOME variable (imported from the
5430 external environment, or settable internally) to put a shortened
5431 SCons execution line in the Visual Studio project file.
5433 From David J. Van Maren:
5435 - Only filter common prefixes from source files names in Visual Studio
5436 project files if the prefix is a complete (sub)directory name.
5440 - If $MSVSVERSIONS is already set, don't overwrite it with
5441 information from the registry.
5445 RELEASE 0.96.91 - Thu, 08 Sep 2005 07:18:23 -0400
5447 NOTE: This was a pre-release of 0.97 for testing purposes.
5451 - Have the environment store the toolpath and re-use it to find Tools
5452 modules during later Copy() or Tool() calls (unless overridden).
5454 - Normalize the directory path names in SConsignFile() database
5455 files so the same signature file can interoperate on Windows and
5456 non-Windows systems.
5458 - Make --debug=stacktrace print a stacktrace when a UserError is thrown.
5460 - Remove an old, erroneous cut-and-paste comment in Scanner/Dir.py.
5462 From Stanislav Baranov:
5464 - Make it possible to support with custom Alias (sub-)classes.
5466 - Allow Builders to take empty source lists when called.
5468 - Allow access to both TARGET and SOURCE in $*PATH expansions.
5470 - Allow SConscript files to modify BUILD_TARGETS.
5472 From Timothee Besset:
5474 - Add support for Objective C/C++ .m and .mm file suffixes (for
5479 - Fix the PharLap linkloc.py module to use target+source arguments
5480 when calling env.subst().
5482 From Bjorn Eriksson:
5484 - Fix an incorrect Command() keyword argument in the man page.
5486 - Add a $TEMPFILEPREFIX variable to control the prefix or flag used
5487 to pass a long-command-line-execution tempfile to a command.
5491 - Enhanced the SCons setup.py script to install man pages on
5494 - Add support for an Options.FormatOptionHelpText() method that can
5495 be overridden to customize the format of Options help text.
5497 - Add a global name for the Entry class (which had already been
5500 - Fix re-scanning of generated source files for implicit dependencies
5501 when the -j option is used.
5503 - Fix a dependency problem that caused $LIBS scans to not be added
5504 to all of the targets in a multiple-target builder call, which
5505 could cause out-of-order builds when the -j option is used.
5507 - Store the paths of source files and dependencies in the .sconsign*
5508 file(s) relative to the target's directory, not relative to the
5509 top-level SConstruct directory. This starts to make it possible to
5510 subdivide the dependency tree arbitrarily by putting an SConstruct
5511 file in every directory and using content signatures.
5513 - Add support for $YACCHFILESUFFIX and $YACCHXXFILESUFFIX variables
5514 that accomodate parser generators that write header files to a
5515 different suffix than the hard-coded .hpp when the -d option is used.
5517 - The default behavior is now to store signature information in a
5518 single .sconsign.dblite file in the top-level SConstruct directory.
5519 The old behavior of a separate .sconsign file in each directory can
5520 be specified by calling SConsignFile(None).
5522 - Remove line number byte codes within the signature calculation
5523 of Python function actions, so that changing the location of an
5524 otherwise unmodified Python function doesn't cause rebuilds.
5526 - Fix AddPreAction() and AddPostAction() when an action has more than
5527 one target file: attach the actions to the Executor, not the Node.
5529 - Allow the source directory of a BuildDir / build_dir to be outside
5530 of the top-level SConstruct directory tree.
5532 - Add a --debug=nomemoizer option that disables the Memoizer for clearer
5533 looks at the counts and profiles of the underlying function calls,
5534 not the Memoizer wrappers.
5536 - Print various --debug= stats even if we exit early (e.g. using -h).
5538 - Really only use the cached content signature value if the file
5539 is older than --max-drift, not just if --max-drift is set.
5541 - Remove support for conversion from old (pre 0.96) .sconsign formats.
5543 - Add support for a --diskcheck option to enable or disable various
5544 on-disk checks: that File and Dir nodes match on-disk entries;
5545 whether an RCS file exists for a missing source file; whether an
5546 SCCS file exists for a missing source file.
5548 - Add a --raw argument to the sconsign script, so it can print a
5549 raw representation of each entry's NodeInfo dictionary.
5551 - Add the 'f90' and 'f95' tools to the list of Fortran compilers
5552 searched for by default.
5554 - Add the +Z option by default when compiling shared objects on
5559 - Handle Visual Studio project and solution files in Unicode.
5561 From Sanjoy Mahajan:
5563 - Fix a bad use of Copy() in an example in the man page, and a
5564 bad regular expression example in the man page and User's Guide.
5568 - Have the Visual Studio project file(s) echo "Starting SCons" before
5569 executing SCons, mainly to work around a quote-stripping bug in
5570 (some versions of?) the Windows cmd command executor.
5572 From Georg Mischler:
5574 - Remove the space after the -o option when invoking the Borland
5575 BCC compiler; some versions apparently require that the file name
5576 argument be concatenated with the option.
5578 From Leanid Nazdrynau:
5580 - Fix the Java parser's handling of backslashes in strings.
5584 - Add construction variables to support frameworks on Mac OS X:
5585 $FRAMEWORKS, $FRAMEWORKPREFIX, $FRAMEWORKPATH, $FRAMEWORKPATHPREFIX.
5587 - Re-order link lines so the -o option always comes right after the
5590 From Gary Oberbrunner:
5592 - Add support for Intel C++ beta 9.0 (both 32 and 64 bit versions).
5594 - Document the new $FRAMEWORK* variables for Mac OS X.
5596 From Karol Pietrzak:
5598 - Add $RPATH (-R) support to the Sun linker Tool (sunlink).
5600 - Add a description of env.subst() to the man page.
5604 - Look in the right directory, not always the local directory, for a
5605 same-named file or directory conflict on disk.
5607 - On Windows, preserve the external environment's %SYSTEMDRIVE%
5612 - Have the Fortran module emitter look for Fortan modules to be created
5613 relative to $FORTRANMODDIR, not the top-level directory.
5615 - When saving Options to a file, run default values through the
5616 converter before comparing them with the set values. This correctly
5617 suppresses Boolean Option values from getting written to the saved
5618 file when they're one of the many synonyms for a default True or
5621 - Fix the Fortran Scanner's ability to handle a module being used
5622 in the same file in which it is defined.
5626 - Add the -KPIC option by default when compiling shared objects on
5629 - Change the default suffix for Solaris objects to .o, to conform to
5630 Sun WorkShop's expectations. Change the profix to so_ so they can
5631 still be differentiated from static objects in the same directory.
5635 - When calling the resource compiler on MinGW, add --include-dir and
5636 the source directory so it finds the source file.
5638 - Update EnsureSConsVersion() to support revision numbers.
5642 - Fix a misplaced line in the man page.
5646 RELEASE 0.96.90 - Tue, 15 Feb 2005 21:21:12 +0000
5648 NOTE: This was a pre-release of 0.97 for testing purposes.
5652 - Fix Java parsing to avoid erroneously identifying a new array
5653 of class instances as an anonymous inner class.
5655 - Fix a typo in the man page description of PathIsDirCreate.
5659 - Allow Help() to be called multiple times, appending to the help
5662 - Allow Tools found on a toolpath to import Python modules from
5663 their local directory.
5665 From Steve Christensen:
5667 - Handle exceptions from Python functions as build actions.
5669 - Add a set of canned PathOption validators: PathExists (the default),
5670 PathIsFile, PathIsDir and PathIsDirCreate.
5674 - Add support for .lex and .yacc file suffixes for Lex and Yacc files.
5678 - Huge performance improvement: wrap the tuples representing an
5679 include path in an object, so that the time it takes to hash the
5680 path doesn't grow porportionally to the length of the path.
5682 From Gottfried Ganssauge:
5684 - Fix SCons on SuSE/AMD-64 Linux by having the wrapper script also
5685 check for the build engine in the parent directory of the Python
5686 library directory (/usr/lib64 instead of /usr/lib).
5688 From Stephen Kennedy:
5690 - Speed up writing the .sconsign file at the end of a run by only
5691 calling sync() once at the end, not after every entry.
5695 - When compiling with Microsoft Visual Studio, don't include the ATL and
5696 MFC directories in the default INCLUDE and LIB environment variables.
5698 - Remove the following deprecated features: the ParseConfig()
5699 global function (deprecated in 0.93); the misspelled "validater"
5700 keyword to the Options.Add() method (deprecated in 0.91); the
5701 SetBuildSignatureType(), SetContentSignatureType(), SetJobs() and
5702 GetJobs() global functions (deprecated in 0.14).
5704 - Fix problems with corrupting the .sconsign.dblite file when
5705 interrupting builds by writing to a temporary file and renaming,
5706 not writing the file directly.
5708 - Fix a 0.96 regression where when running with -k, targets built from
5709 walking dependencies later on the command line would not realize
5710 that a dependency had failed an earlier build attempt, and would
5711 try to rebuild the dependent targets.
5713 - Change the final messages when using -k and errors occur from
5714 "{building,cleaning} terminated because of errors" to "done
5715 {building,cleaning} targets (errors occurred during {build,clean})."
5717 - Allow Configure.CheckFunc() to take an optional header argument
5718 (already supported by Conftest.py) to specify text at the top of
5719 the compiled test file.
5721 - Fix the --debug=explain output when a Python function action changed
5722 so it prints a meaningful string, not the binary representation of
5723 the function contents.
5725 - Allow a ListOption's default value(s) to be a Python list of specified
5726 values, not just a string containing a comma-separated list of names.
5728 - Add a ParseDepends() function that will parse up a list of explicit
5729 dependencies from a "make depend" style file.
5731 - Support the ability to change directory when executing an Action
5732 through "chdir" keyword arguments to Action and Builder creation
5735 - Fix handling of Action ojects (and other callables that don't match
5736 our calling arguments) in construction variable expansions.
5738 - On Win32, install scons.bat in the Python directory when installing
5739 from setup.py. (The bdist_wininst installer was already doing this.)
5741 - Fix env.SConscript() when called with a list of SConscipt files.
5742 (The SConscript() global function already worked properly.)
5744 - Add a missing newline to the end of the --debug=explain "unknown
5747 - Enhance ParseConfig() to work properly for spaces in between the -I,
5748 -L and -l options and their arguments.
5750 - Packaging build fix: Rebuild the files that are use to report the
5751 --version of SCons whenever the development version number changes.
5753 - Fix the ability to specify a target_factory of Dir() to a Builder,
5754 which the default create-a-directory Builder was interfering with.
5756 - Mark a directory as built if it's created as part of the preparation
5757 for another target, to avoid trying to build it again when it comes
5758 up in the target list.
5760 - Allow a function with the right calling signature to be put directly
5761 in an Environment's BUILDERS dictionary, making for easier creation
5762 and use of wrappers (pseudo-Builders) that call other Builders.
5764 - On Python 2.x, wrap lists of Nodes returned by Builders in a UserList
5765 object that adds a method that makes str() object return a string
5766 with all of the Nodes expanded to their path names. (Builders under
5767 Python 1.5.2 still return lists to avoid TypeErrors when trying
5768 to extend() list, so Python 1.5.2 doesn't get pretty-printing of Node
5769 lists, but everything should still function.)
5771 - Allow Aliases to have actions that will be executed whenever
5772 any of the expanded Alias targets are out of date.
5774 - Fix expansion of env.Command() overrides within target and
5777 - Support easier customization of what's displayed by various default
5778 actions by adding lots of new construction variables: $ARCOMSTR,
5779 $ASCOMSTR, $ASPPCOMSTR, $BIBTEXCOMSTR, $BITKEEPERCOMSTR, $CCCOMSTR,
5780 $CVSCOMSTR, $CXXCOMSTR, $DCOMSTR, $DVIPDFCOMSTR, $F77COMSTR,
5781 $F90COMSTR, $F95COMSTR, $FORTRANCOMSTR, $GSCOMSTR, $JARCOMSTR,
5782 $JAVACCOMSTR, $JAVAHCOMSTR, $LATEXCOMSTR, $LEXCOMSTR, $LINKCOMSTR,
5783 $M4COMSTR, $MIDLCOMSTR, $P4COMSTR, $PCHCOMSTR, $PDFLATEXCOMSTR,
5784 $PDFTEXCOMSTR, $PSCOMSTR, $QT_MOCFROMCXXCOMSTR, $QT_MOCFROMHCOMSTR,
5785 $QT_UICCOMSTR, $RCCOMSTR, $REGSVRCOMSTR, $RCS_COCOMSTR, $RMICCOMSTR,
5786 $SCCSCOMSTR, $SHCCCOMSTR, $SHCXXCOMSTR, $SHF77COMSTR, $SHF90COMSTR,
5787 $SHF95COMSTR, $SHFORTRANCOMSTR, $SHLINKCOMSTR, $SWIGCOMSTR,
5788 $TARCOMSTR, $TEXCOMSTR, $YACCCOMSTR and $ZIPCOMSTR.
5790 - Add an optional "map" keyword argument to ListOption() that takes a
5791 dictionary to map user-specified values to legal values from the list
5792 (like EnumOption() already doee).
5794 - Add specific exceptions to try:-except: blocks without any listed,
5795 so that they won't catch and mask keyboard interrupts.
5797 - Make --debug={tree,dtree,stree} print something even when there's
5800 - Fix how Scanners sort the found dependencies so that it doesn't
5801 matter whether the dependency file is in a Repository or not.
5802 This may cause recompilations upon upgrade to this version.
5804 - Make AlwaysBuild() work with Alias and Python value Nodes (making
5805 it much simpler to support aliases like "clean" that just invoke
5806 an arbitrary action).
5808 - Have env.ParseConfig() use AppendUnique() by default to suppress
5809 duplicate entries from multiple calls. Add a "unique" keyword
5810 argument to allow the old behavior to be specified.
5812 - Allow the library modules imported by an SConscript file to get at
5813 all of the normally-available global functions and variables by saying
5814 "from SCons.Script import *".
5816 - Add a --debug=memoizer option to print Memoizer hit/mass statistics.
5818 - Allow more than one --debug= option to be set at a time.
5820 - Change --debug=count to report object counts before and after
5821 reading SConscript files and before and after building targets.
5823 - Change --debug=memory output to line up the numbers and to better
5824 match (more or less) the headers on the --debug=count columns.
5826 - Speed things up when there are lists of targets and/or sources by
5827 getting rid of some N^2 walks of the lists involved.
5829 - Cache evaluation of LazyActions so we don't create a new object
5830 for each invocation.
5832 - When scanning, don't create Nodes for include files that don't
5833 actually exist on disk.
5835 - Make supported global variables CScanner, DScanner, ProgramScanner and
5836 SourceFileScanner. Make SourceFileScanner.add_scanner() a supported
5837 part of the public interface. Keep the old SCons.Defaults.*Scan names
5838 around for a while longer since some people were already using them.
5840 - By default, don't scan directories for on-disk files. Add a
5841 DirScanner global scanner that can be used in Builders or Command()
5842 calls that want source directory trees scanned for on-disk changes.
5843 Have the Tar() and Zip() Builders use the new DirScanner to preserve
5844 the behavior of rebuilding a .tar or .zip file if any file or
5845 directory under a source tree changes. Add Command() support for
5846 a source_scanner keyword argument to Command() that can be set to
5847 DirScanner to get this behavior.
5849 - Documentation changes: Explain that $CXXFLAGS contains $CCFLAGS
5850 by default. Fix a bad target_factory example in the man page.
5851 Add appendices to the User's Guide to cover the available Tools,
5852 Builders and construction variables. Comment out the build of
5853 the old Python 10 paper, which doesn't build on all systems and
5854 is old enough at this point that it probably isn't worth the
5855 effort to make it do so.
5859 - Avoid "maximum recursion limit" errors when removing $(-$) pairs
5860 from long command lines.
5862 From Clive Levinson:
5864 - Make ParseConfig() recognize and add -mno-cygwin to $LINKFLAGS and
5865 $CCFLAGS, and -mwindows to $LINKFLAGS.
5867 From Michael McCracken:
5869 - Add a new "applelink" tool to handle the things like Frameworks and
5870 bundles that Apple has added to gcc for linking.
5872 - Use more appropriate default search lists of linkers, compilers and
5873 and other tools for the 'darwin' platform.
5875 - Add a LoadableModule Builder that builds a bundle on Mac OS X (Darwin)
5876 and a shared library on other systems.
5878 - Improve SWIG tests for use on Mac OS X (Darwin).
5882 - Enhance the tests to guarantee persistence of ListOption
5883 values in saved options files.
5885 - Supply the help text when -h is used with the -u, -U or -D options.
5887 From Christian Neeb:
5889 - Fix the Java parser's handling of string definitions to avoid ignoring
5892 From Han-Wen Nienhuys:
5894 - Optimize variable expansion by: using the re.sub() method (when
5895 possible); not using "eval" for variables for which we can fetch the
5896 value directory; avoiding slowing substitution logic when there's no
5899 From Gary Oberbrunner:
5901 - Add an Environment.Dump() method to print the contents of a
5902 construction environment.
5904 - Allow $LIBS (and similar variables) to contain explicit File Nodes.
5906 - Change ParseConfig to add the found library names directly to the
5907 $LIBS variable, instead of returning them.
5909 - Add ParseConfig() support for the -framework GNU linker option.
5911 - Add a PRINT_CMD_LINE_FUNC construction variable to allow people
5912 to filter (or log) command-line output.
5914 - Print an internal Python stack trace in response to an otherwise
5915 unexplained error when --debug=stacktrace is specified.
5917 - Add a --debug=findlibs option to print what's happening when
5918 the scanner is searching for libraries.
5920 - Allow Tool specifications to be passed a dictionary of keyword
5923 - Support an Options default value of None, in which case the variable
5924 will not be added to the construction environment unless it's set
5925 explicitly by the user or from an Options file.
5927 - Avoid copying __builtin__ values into a construction environment's
5928 dictionary when evaluating construction variables.
5930 - Add a new cross-platform intelc.py Tool that can detect and
5931 configure the Intel C++ v8 compiler on both Windows, where it's
5932 named icl, and Linux, where it's named icc. It also checks that
5933 the directory specified in the Windows registry exists, and sets a
5934 new $INTEL_C_COMPILER_VERSION construction variable to identify the
5935 version being used. (Niall Douglas contributed an early prototype
5936 of parts of this module.)
5938 - Fix the private Conftest._Have() function so it doesn't change
5939 non-alphanumeric characters to underscores.
5941 - Supply a better error message when a construction variable expansion
5942 has an unknown attribute.
5944 - Documentation changes: Update the man page to describe use of
5945 filenames or Nodes in $LIBS.
5949 - Have the linkloc tool use $MSVS_VERSION to select the Microsoft
5950 Visual Studio version to use.
5954 - Fix the Builder name returned from ListBuilders and other instances
5955 of subclasses of the BuilderBase class.
5957 - Add Builders and construction variables to support rpcgen:
5958 RPCGenClient(), RPCGenHeader(), RPCGenService(), RPCGenXDR(),
5959 $RPCGEN, $RPCGENFLAGS, $RPCGENCLIENTFLAGS, $RPCGENHEADERFLAGS,
5960 $RPCGENSERVICEFLAGS, $RPCGENXDRFLAGS.
5962 - Update the man page to document that prefix and suffix Builder
5963 keyword arguments can be strings, callables or dictionaries.
5965 - Provide more info in the error message when a user tries to build
5966 a target multiple ways.
5968 - Fix Delete() when a file doesn't exist and must_exist=1. (We were
5969 unintentionally dependent on a bug in versions of the Python shutil.py
5970 module prior to Python 2.3, which would generate an exception for
5971 a nonexistent file even when ignore_errors was set.)
5973 - Only replace a Node's builder with a non-null source builder.
5975 - Fix a stack trace when a suffix selection dictionary is passed
5976 an empty source file list.
5978 - Allow optional names to be attached to Builders, for default
5979 Builders that don't get attached to construction environments.
5981 - Fix problems with Parallel Task Exception handling.
5983 - Build targets in an associated BuildDir even if there are targets
5984 or subdirectories locally in the source directory.
5986 - If a FunctionAction has a callable class as its underlying Python
5987 function, use its strfunction() method (if any) to display the
5990 - Fix handling when BuildDir() exists but is unwriteable. Add
5991 "Stop." to those error messages for consistency.
5993 - Catch incidents of bad builder creation (without an action) and
5994 supply meaningful error messages.
5996 - Fix handling of src_suffix values that aren't extensions (don't
5999 - Don't retrieve files from a CacheDir, but report what would happen,
6000 when the -n option is used.
6002 - Use the source_scanner from the target Node, not the source node
6005 - Internal Scanners fixes: Make sure Scanners are only passed Nodes.
6006 Fix how a Scanner.Selector called its base class initialization.
6007 Make comparisons of Scanner objects more robust. Add a name to
6008 an internal default ObjSourceScanner.
6010 - Add a deprecated warning for use of the old "scanner" keyword argument
6011 to Builder creation.
6013 - Improve the --debug=explain message when the build action changes.
6015 - Test enhancements in SourceCode.py, option-n.py, midl.py. Better
6016 Command() and Scanner test coverage. Improved test infrastructure
6019 - Refactor the interface between Action and Executor objects to treat
6022 - The --debug=presub option will now report the pre-substitution
6023 each action seprately, instead of reporting the entire list before
6024 executing the actions one by one.
6026 - The --debug=explain option explaining a changed action will now
6027 (more correctly) show pre-substitution action strings, instead of
6028 the commands with substituted file names.
6030 - A Node (file) will now be rebuilt if its PreAction or PostAction
6033 - Python Function actions now have their calling signature (target,
6034 source, env) reported correctly when displayed.
6036 - Fix BuildDir()/build_dir handling when the build_dir is underneath
6037 the source directory and trying to use entries from the build_dir
6038 as sources for other targets in the build-dir.
6040 - Fix hard-coding of JDK path names in various Java tests.
6042 - Handle Python stack traces consistently (stop at the SConscript stack
6043 frame, by default) even if the Python source code isn't available.
6045 - Improve the performance of the --debug={tree,dtree} options.
6047 - Add --debug=objects logging of creation of OverrideWarner,
6048 EnvironmentCopy and EnvironmentOverride objects.
6050 - Fix command-line expansion of Python Value Nodes.
6052 - Internal cleanups: Remove an unnecessary scan argument. Associate
6053 Scanners only with Builders, not nodes. Apply overrides once when
6054 a Builder is called, not in multiple places. Cache results from the
6055 Node.FS.get_suffix() and Node.get_build_env() methods. Use the Python
6056 md5 modules' hexdigest() method, if there is one. Have Taskmaster
6057 call get_stat() once for each Node and re-use the value instead of
6058 calling it each time it needs the value. Have Node.depends_on()
6059 re-use the list from the children() method instead of calling it
6062 - Use the correct scanner if the same source file is used for targets in
6063 two different environments with the same path but different scanners.
6065 - Collect logic for caching values in memory in a Memoizer class,
6066 which cleans up a lot of special-case code in various methods and
6067 caches additional values to speed up most configurations.
6069 - Add a PathAccept validator to the list of new canned PathOption
6074 - Documentation changes: Use $CPPDEFINES instead of $CCFLAGS in man
6079 - Allow $JARCHDIR to be expanded to other construction variables.
6081 From Christoph Wiedemann:
6083 - Add an Environment.SetDefault() method that only sets values if
6084 they aren't already set.
6086 - Have the qt.py Tool not override variables already set by the user.
6088 - Add separate $QT_BINPATH, $QT_CPPPATH and $QT_LIBPATH variables
6089 so these can be set individually, instead of being hard-wired
6092 - The %TEMP% and %TMP% external environment variables are now propagated
6093 automatically to the command execution environment on Windows systems.
6095 - A new --config= command-line option allows explicit control of
6096 of when the Configure() tests are run: --config=force forces all
6097 checks to be run, --config=cache uses all previously cached values,
6098 --config=auto (the default) runs tests only when dependency analysis
6099 determines it's necessary.
6101 - The Configure() subsystem can now write a config.h file with values
6102 like HAVE_STDIO_H, HAVE_LIBM, etc.
6104 - The Configure() subsystem now executes its checks silently when the
6105 -Q option is specified.
6107 - The Configure() subsystem now reports if a test result is being
6108 taken from cache, and prints the standard output and error output
6109 of tests even when cached.
6111 - Configure() test results are now reported as "yes" or "no" instead of
6114 - Fixed traceback printing when calling the env.Configure() method
6115 instead of the Configure() global function.
6117 - The Configure() subsystem now caches build failures in a .sconsign
6118 file in the subdirectory, not a .cache file. This may cause
6119 tests to be re-executed the first time after you install 0.97.
6121 - Additional significant internal cleanups in the Configure() subsystem
6124 - Have the Qt Builder make uic-generated files dependent on the .ui.h
6125 file, if one exists.
6127 - Add a test to make sure that SCons source code does not contain
6128 try:-except: blocks that catch all errors, which potentially catch
6129 and mask keyboard interrupts.
6131 - Fix us of TargetSignatures('content') with the SConf subsystem.
6133 From Russell Yanofsky:
6135 - Add support for the Metrowerks Codewarrior compiler and linker
6140 RELEASE 0.96.1 - Mon, 23 Aug 2004 12:55:50 +0000
6142 From Craig Bachelor:
6144 - Handle white space in the executable Python path name within in MSVS
6145 project files by quoting the path.
6147 - Correct the format of a GUID string in a solution (.dsw) file so
6148 MSVS can correctly "build enable" a project.
6152 - Add a must_exist flag to Delete() to let the user control whether
6153 it's an error if the specified entry doesn't exist. The default
6154 behavior is now to silently do nothing if it doesn't exist.
6156 - Package up the new Platform/darwin.py, mistakenly left out of 0.96.
6158 - Make the scons.bat REM statements into @REM so they aren't printed.
6160 - Make the SCons packaging SConscript files platform independent.
6164 - Fix scanning of pre-compiled header (.pch) files for #includes,
6169 RELEASE 0.96 - Wed, 18 Aug 2004 13:36:40 +0000
6173 - Make the CacheDir() directory if it doesn't already exist.
6175 - Allow construction variable substitutions in $LIBS specifications.
6177 - Allow the emitter argument to a Builder() to be or expand to a list
6178 of emitter functions, which will be called in sequence.
6180 - Suppress null values in construction variables like $LIBS that use
6181 the internal _concat() function.
6183 - Remove .dll files from the construction variables searched for
6184 libraries that can be fed to Win32 compilers.
6186 From Chad Austin and Christoph Wiedemann:
6188 - Add support for a $RPATH variable to supply a list of directories
6189 to search for shared libraries when linking a program. Used by
6190 the GNU and IRIX linkers (gnulink and sgilink).
6194 - Restore the ability to do construction variable substitutions in all
6195 kinds of *PATH variables, even when the substitution returns a Node
6200 - Allow the Java() Builder to take more than one source directory.
6202 From Ralf W. Grosse-Kunstleve:
6204 - Have SConsignFile() use, by default, a custom "dblite.py" that we can
6205 control and guarantee to work on all Python versions (or nearly so).
6207 From Jonathan Gurley:
6209 - Add support for the newer "ifort" versions of the Intel Fortran
6214 - Make the new *FLAGS variable type work with copied Environments.
6216 From Chris Hoeppler:
6218 - Initialize the name of a Scanner.Classic scanner correctly.
6222 - Add support for the .dylib shared library suffix and the -dynamiclib
6223 linker option on Mac OS X.
6227 - Add an Execute() method for executing actions directly.
6229 - Support passing environment override keyword arguments to Command().
6231 - Fix use of $MSVS_IGNORE_IDE_PATHS, which was broken when we added
6232 support for $MSVS_USE_MFC_DIRS last release.
6234 - Make env.Append() and env.Prepend() act like the underlying Python
6235 behavior when the variable being appended to is a UserList object.
6237 - Fix a regression that prevented the Command() global function in
6238 0.95 from working with command-line strings as actions.
6240 - Fix checking out a file from a source code management system when
6241 the env.SourceCode() method was called with an individual file name
6242 or node, not a directory name or node.
6244 - Enhance the Task.make_ready() method to create a list of the
6245 out-of-date Nodes for the task for use by the wrapping interface.
6247 - Allow Scanners to pull the list of suffixes from the construction
6248 environment when the "skeys" keyword argument is a string containing
6249 a construction variable to be expanded.
6251 - Support new $CPPSUFFIXES, $DSUFFIXES $FORTRANSUFFIXES, and
6252 $IDLSUFFIXES. construction variables that contain the default list
6253 of suffixes to be scanned by a given type of scanner, allowing these
6254 suffix lists to be easily added to or overridden.
6256 - Speed up Node creation when calling a Builder by comparing whether two
6257 Environments are the same object, not if their underlying dictionaries
6260 - Add a --debug=explain option that reports the reason(s) why SCons
6261 thinks it must rebuild something.
6263 - Add support for functions that return platform-independent Actions
6264 to Chmod(), Copy(), Delete(), Mkdir(), Move() and Touch() files
6265 and/or directories. Like any other Actions, the returned Action
6266 object may be executed directly using the Execute() global function
6267 or env.Execute() environment method, or may be used as a Builder
6268 action or in an env.Command() action list.
6270 - Add support for the strfunction argument to all types of Actions:
6271 CommandAction, ListAction, and CommandGeneratorAction.
6273 - Speed up turning file system Nodes into strings by caching the
6274 values after we're finished reading the SConscript files.
6276 - Have ParseConfig() recognize and supporting adding the -Wa, -Wl,
6277 and -Wp, flags to ASFLAGS, LINKFLAGS and CPPFLAGS, respectively.
6279 - Change the .sconsign format and the checks for whether a Node is
6280 up-to-date to make dependency checks more efficient and correct.
6282 - Add wrapper Actions to SCons.Defaults for $ASCOM, $ASPPCOM, $LINKCOM,
6283 $SHLINKCOM, $ARCOM, $LEXCOM and $YACCCOM. This makes it possible
6284 to replace the default print behavior with a custom strfunction()
6287 - When a Node has been built, don't walk the whole tree back to delete
6288 the parents's implicit dependencies, let returning up the normal
6289 Taskmaster descent take care of it for us.
6291 - Add documented support for separate target_scanner and source_scanner
6292 arguments to Builder creation, which allows different scanners to
6293 be applied to source files
6295 - Don't re-install or (re-generate) .h files when a subsidiary #included
6296 .h file changes. This eliminates incorrect circular dependencies
6297 with .h files generated from other source files.
6299 - Slim down the internal Sig.Calculator class by eliminating methods
6300 whose functionality is now covered by Node methods.
6302 - Document use of the target_factory and source_factory keyword
6303 arguments when creating Builder objects. Enhance Dir Nodes so that
6304 they can be created with user-specified Builder objects.
6306 - Don't blow up with stack trace when the external $PATH environment
6309 - Make Builder calls return lists all the time, even if there's only
6310 one target. This keeps things consistent and easier to program to
6313 - Add a Flatten() function to make it easier to deal with the Builders
6314 all returning lists of targets, not individual targets.
6316 - Performance optimizations in Node.FS.__doLookup().
6318 - Man page fixes: formatting typos, misspellings, bad example.
6320 - User's Guide fixes: Fix the signatures of the various example
6321 *Options() calls. Triple-quote properly a multi-line Split example.
6323 - User's Guide additions: Chapter describing File and Directory
6324 Nodes. Section describing declarative nature of SCons functions in
6325 SConscript files. Better organization and clarification of points
6326 raised by Robert P. J. Day. Chapter describing SConf (Autoconf-like)
6327 functionality. Chapter describing how to install Python and
6328 SCons. Chapter describing Java builds.
6332 - Add a .win32 attribute to force file names to expand with
6333 Windows backslash path separators.
6335 - Fix escaping file names on command lines when the expansion is
6336 concatenated with another string.
6338 - Add support for Fortran 90 and Fortran 95. This adds $FORTRAN*
6339 variables that specify a default compiler, command-line, flags,
6340 etc. for all Fortran versions, plus separate $F90* and $F95*
6341 variables for when different compilers/flags/etc. must be specified
6342 for different Fortran versions.
6344 - Have individual tools that create libraries override the default
6345 $LIBPREFIX and $LIBSUFFIX values set by the platform. This makes
6346 it easier to use Microsoft Visual Studio tools on a CygWin platform.
6348 From Gary Oberbrunner:
6350 - Add a --debug=presub option to print actions prior to substitution.
6352 - Add a warning upon use of the override keywords "targets" and
6353 "sources" when calling Builders. These are usually mistakes which
6354 are otherwise silently (and confusingly) turned into construction
6357 - Try to find the ICL license file path name in the external environment
6358 and the registry before resorting to the hard-coded path name.
6360 - Add support for fetching command-line keyword=value arguments in
6361 order from an ARGLIST list.
6363 - Avoid stack traces when trying to read dangling symlinks.
6365 - Treat file "extensions" that only contain digits as part of the
6366 file basename. This supports version numbers as part of shared
6367 library names, for example.
6369 - Avoid problems when there are null entries (None or '') in tool
6372 - Add an example and explanation of how to use "tools = ['default', ..."
6373 when creating a construction environment.
6375 - Add a section describing File and Directory Nodes and some of their
6376 attributes and methods.
6378 - Have ParseConfig() add a returned -pthread flag to both $CCFLAGS
6381 - Fix some test portability issues on Mac OS X (darwin).
6385 - Fix a bug introduced in building shared libraries under MinGW.
6389 - Handling SCons exceptions according to Pythonic standards.
6391 - Fix test/chained-build.py on systems that execute within one second.
6393 - Fix tests on systems where 'ar' warns about archive creation.
6397 - Fix use of the --implicit-cache option with timestamp signatures.
6399 - If Visual Studio is installed, assume the C/C++ compiler, the linker
6400 and the MIDL compiler that comes with it are available, too.
6402 - Better error messages when evaluating a construction variable
6403 expansion yields a Python syntax error.
6405 - Change the generation of PDB files when using Visual Studio from
6406 compile time to link time.
6410 - Allow SConf.CheckLib() to search a list of libraries, like the
6411 Autoconf AC_SEARCH_LIBS macro.
6413 - Allow the env.WhereIs() method to take a "reject" argument to
6414 let it weed out specific path names.
6416 From Christoph Wiedemann:
6418 - Add new Moc() and Uic() Builders for more explicit control over
6419 Qt builds, plus new construction variables to control them:
6420 $QT_AUTOSCAN, $QT_DEBUG, $QT_MOCCXXPREFIX, $QT_MOCCXXSUFFIX,
6421 $QT_MOCHPREFIX, $QT_MOCHSUFFIX, $QT_UICDECLPREFIX, $QT_UICDECLSUFFIX,
6422 $QT_UICIMPLPREFIX, $QT_UICIMPLSUFFIX and $QT_UISUFFIX.
6424 - Add a new single_source keyword argument for Builders that enforces
6425 a single source file on calls to the Builder.
6429 RELEASE 0.95 - Mon, 08 Mar 2004 06:43:20 -0600
6433 - Replace print statements with calls to sys.stdout.write() so output
6434 lines stay together when -j is used.
6436 - Add portability fixes for a number of tests.
6438 - Accomodate the fact that Cygwin's os.path.normcase() lies about
6439 the underlying system being case-sensitive.
6441 - Fix an incorrect _concat() call in the $RCINCFLAGS definition for
6444 - Fix a problem with the msvc tool with Python versions prior to 2.3.
6446 - Add support for a "toolpath" Tool() and Environment keyword that
6447 allows Tool modules to be found in specified local directories.
6449 - Work around Cygwin Python's silly fiction that it's using a
6450 case-sensitive file system.
6452 - More robust handling of data in VCComponents.dat.
6454 - If the "env" command is available, spawn commands with the more
6455 general "env -" instead of "env -i".
6457 From Kerim Borchaev:
6459 - Fix a typo in a msvc.py's registry lookup: "VCComponents.dat", not
6462 From Chris Burghart:
6464 - Fix the ability to save/restore a PackageOption to a file.
6466 From Steve Christensen:
6468 - Update the MSVS .NET and MSVC 6.0/7.0 path detection.
6470 From David M. Cooke:
6472 - Make the Fortran scanner case-insensitive for the INCLUDE string.
6476 - If no version of MSVC is detected but the tool is specified,
6477 use the MSVC 6.0 paths by default.
6479 - Ignore any "6.1" version of MSVC found in the registry; this is a
6480 phony version number (created by later service packs?) and would
6481 throw off the logic if the user had any non-default paths configure.
6483 - Correctly detect if the user has independently configured the MSVC
6484 "include," "lib" or "path" in the registry and use the appropriate
6485 values. Previously, SCons would only use the values if all three
6486 were set in the registry.
6488 - Make sure side-effect nodes are prepare()d before building their
6489 corresponding target.
6491 - Preserve the ability to call BuildDir() multiple times with the
6492 same target and source directory arguments.
6496 - Add support for the Digital Mars "D" programming language.
6498 From Scott Lystig Fritchie:
6500 - Fix the ability to use a custom _concat() function in the
6501 construction environment when calling _stripixes().
6503 - Make the message about ignoring a missing SConscript file into a
6504 suppressable Warning, not a hard-coded sys.stderr.write().
6506 - If a builder can be called multiple times for a target (because
6507 the sources and overrides are identical, or it's a builder with the
6508 "multi" flag set), allow the builder to be called through multiple
6509 environments so long as the builders have the same signature for
6510 the environments in questions (that is, they're the same action).
6514 - When multiple targets are built by a single action, retrieve all
6515 of them from cache, not just the first target, and exec the build
6516 command if any of the targets isn't present in the cache.
6518 From Zephaniah Hull:
6520 - Fix command-line ARGUMENTS with multiple = in them.
6524 - Fix EnsureSConsVersion() so it checks against the SCons version,
6525 not the Python version, on Pythons with sys.version_info.
6527 - Don't swallow the AttributeError when someone uses an expansion like
6528 $TARGET.bak, so we can supply a more informative error message.
6530 - Fix an odd double-quote escape sequence in the man page.
6532 - Fix looking up a naked drive letter as a directory (Dir('C:')).
6534 - Support using File nodes in the LIBS construction variable.
6536 - Allow the LIBS construction variable to be a single string or File
6537 node, not a list, when only one library is needed.
6539 - Fix typos in the man page: JAVACHDIR => JARCHDIR; add "for_signature"
6540 to the __call__() example in the "Variable Substitution" section.
6542 - Correct error message spellings of "non-existant" to "non-existent."
6544 - When scanning for libraries to link with, don't append $LIBPREFIXES
6545 or $LIBSUFFIXES values to the $LIBS values if they're already present.
6547 - Add a ZIPCOMPRESSION construction variable to control whether the
6548 internal Python action for the Zip Builder compresses the file or
6549 not. The default value is zipfile.ZIP_DEFLATED, which generates
6552 - Refactor construction variable expansion to support recursive
6553 expansion of variables (e.g. CCFLAGS = "$CCFLAGS -g") without going
6554 into an infinite loop. Support this in all construction variable
6555 overrides, as well as when copying Environments.
6557 - Fix calling Configure() from more than one subsidiary SConscript file.
6559 - Fix the env.Action() method so it returns the correct type of
6560 Action for its argument(s).
6562 - Fix specifying .class files as input to JavaH with the .class suffix
6563 when they weren't generated using the Java Builder.
6565 - Make the check for whether all of the objects going into a
6566 SharedLibrary() are shared work even if the object was built in a
6569 - Supply meaningful error messages, not stack traces, if we try to add
6570 a non-Node as a source, dependency, or ignored dependency of a Node.
6572 - Generate MSVS Project files that re-invoke SCons properly regardless
6573 of whether the file was built via scons.bat or scons.py.
6574 (Thanks to Niall Douglas for contributing code and testing.)
6576 - Fix TestCmd.py, runtest.py and specific tests to accomodate being
6577 run from directories whose paths include white space.
6579 - Provide a more useful error message if a construction variable
6580 expansion contains a syntax error during evaluation.
6582 - Fix transparent checkout of implicit dependency files from SCCS
6585 - Added new --debug=count, --debug=memory and --debug=objects options.
6586 --debug=count and --debug=objects only print anything when run
6587 under Python 2.1 or later.
6589 - Deprecate the "overrides" keyword argument to Builder() creation
6590 in favor of using keyword argument values directly (like we do
6591 for builder execution and the like).
6593 - Always use the Builder overrides in substitutions, not just if
6594 there isn't a target-specific environment.
6596 - Add new "rsrcpath" and "rsrcdir" and attributes to $TARGET/$SOURCE,
6597 so Builder command lines can find things in Repository source
6598 directories when using BuildDir.
6600 - Fix the M4 Builder so that it chdirs to the Repository directory
6601 when the input file is in the source directory of a BuildDir.
6603 - Save memory at build time by allowing Nodes to delete their build
6604 environments after they've been built.
6606 - Add AppendUnique() and PrependUnique() Environment methods, which
6607 add values to construction variables like Append() and Prepend()
6608 do, but suppress any duplicate elements in the list.
6610 - Allow the 'qt' tool to still be used successfully from a copied
6611 Environment. The include and library directories previously ended up
6612 having the same string re-appended to the end, yielding an incorrect
6615 - Supply a more descriptive error message when the source for a target
6618 - Initialize all *FLAGS variables with objects do the right thing with
6619 appending flags as strings or lists.
6621 - Make things like ${TARGET.dir} work in *PATH construction variables.
6623 - Allow a $MSVS_USE_MFC_DIRS construction variable to control whether
6624 ATL and MFC directories are included in the default INCLUDE and
6627 - Document the dbm_module argument to the SConsignFile() function.
6631 - Add support for the bcc32, ilink32 and tlib Borland tools.
6635 - Supply an error message if the user tries to configure a BuildDir
6636 for a directory that already has one.
6638 - Remove documentation of the still-unimplemented -e option.
6640 - Add -H help text listing the legal --debug values.
6642 - Don't choke if a construction variable is a non-string value.
6644 - Build Type Libraries in the target directory, not the source
6647 - Add an appendix to the User's Guide showing how to accomplish
6648 various common tasks in Python.
6652 - Add support for Microsoft Visual Studio 2003 (version 7.1).
6654 - Evaluate $MSVSPROJECTSUFFIX and $MSVSSOLUTIONSUFFIX when the Builder
6655 is invoked, not when the tool is initialized.
6657 From Christoph Wiedemann:
6659 - When compiling Qt, make sure the moc_*.cc files are compiled using
6660 the flags from the environment used to specify the target, not
6661 the environment that first has the Qt Builders attached.
6665 RELEASE 0.94 - Fri, 07 Nov 2003 05:29:48 -0600
6667 From Hartmut Goebel:
6669 - Add several new types of canned functions to help create options:
6670 BoolOption(), EnumOption(), ListOption(), PackageOption(),
6675 - Fix use of CPPDEFINES with C++ source files.
6677 - Fix env.Append() when the operand is an object with a __cmp__()
6678 method (like a Scanner instance).
6680 - Fix subclassing the Environment and Scanner classes.
6682 - Add BUILD_TARGETS, COMMAND_LINE_TARGETS and DEFAULT_TARGETS variables.
6686 - SGI fixes: Fix C++ compilation, add a separate Tool/sgic++.py module.
6688 From Gary Oberbrunner:
6690 - Fix how the man page un-indents after examples in some browsers.
6694 - Fix the C and C++ tool specifications for AIX.
6698 RELEASE 0.93 - Thu, 23 Oct 2003 07:26:55 -0500
6702 - On POSIX, execute commands with the more modern os.spawnvpe()
6703 function, if it's available.
6705 - Scan .S, .spp and .SPP files for C preprocessor dependencies.
6707 - Refactor the Job.Parallel() class to use a thread pool without a
6708 condition variable. This improves parallel build performance and
6709 handles keyboard interrupts properly when -j is used.
6713 - Add support for a JARCHDIR variable to control changing to a
6714 directory using the jar -C option.
6716 - Add support for detecting Java manifest files when using jar,
6717 and specifying them using the jar m flag.
6719 - Fix some Python 2.2 specific things in various tool modules.
6721 - Support directories as build sources, so that a rebuild of a target
6722 can be triggered if anything underneath the directory changes.
6724 - Have the scons.bat and scons.py files look for the SCons modules
6725 in site-packages as well.
6727 From Christian Engel:
6729 - Support more flexible inclusion of separate C and C++ compilers.
6731 - Use package management tools on AIX and Solaris to find where
6732 the comilers are installed, and what version they are.
6734 - Add support for CCVERSION and CXXVERSION variables for a number
6735 of C and C++ compilers.
6739 - Add test cases for the new capabilities to run bibtex and to rerun
6742 From Ralf W. Grosse-Kunstleve:
6744 - Accomodate anydbm modules that don't have a sync() method.
6746 - Allow SConsignFile() to take an argument specifying the DBM
6749 From Stephen Kennedy:
6751 - Add support for a configurable global .sconsign.dbm file which
6752 can be used to avoid cluttering each directory with an individual
6757 - Fix (re-)scanning of dependencies in generated or installed
6762 - The -Q option suppressed too many messages; fix it so that it only
6763 suppresses the Reading/Building messages.
6765 - Support #include when there's no space before the opening quote
6768 - Accomodate alphanumeric version strings in EnsurePythonVersion().
6770 - Support arbitrary expansion of construction variables within
6771 file and directory arguments to Builder calls and Environment methods.
6773 - Add Environment-method versions of the following global functions:
6774 Action(), AddPostAction(), AddPreAction(), Alias(), Builder(),
6775 BuildDir(), CacheDir(), Clean(), Configure(), Default(),
6776 EnsurePythonVersion(), EnsureSConsVersion(), Environment(),
6777 Exit(), Export(), FindFile(), GetBuildPath(), GetOption(), Help(),
6778 Import(), Literal(), Local(), Platform(), Repository(), Scanner(),
6779 SConscriptChdir(), SConsignFile(), SetOption(), SourceSignatures(),
6780 Split(), TargetSignatures(), Tool(), Value().
6782 - Add the following global functions that correspond to the same-named
6783 Environment methods: AlwaysBuild(), Command(), Depends(), Ignore(),
6784 Install(), InstallAs(), Precious(), SideEffect() and SourceCode().
6786 - Add the following global functions that correspond to the default
6787 Builder methods supported by SCons: CFile(), CXXFile(), DVI(), Jar(),
6788 Java(), JavaH(), Library(), M4(), MSVSProject(), Object(), PCH(),
6789 PDF(), PostScript(), Program(), RES(), RMIC(), SharedLibrary(),
6790 SharedObject(), StaticLibrary(), StaticObject(), Tar(), TypeLibrary()
6793 - Rearrange the man page to show construction environment methods and
6794 global functions in the same list, and to explain the difference.
6796 - Alphabetize the explanations of the builder methods in the man page.
6798 - Rename the Environment.Environment class to Enviroment.Base.
6799 Allow the wrapping interface to extend an Environment by using its own
6800 subclass of Environment.Base and setting a new Environment.Environment
6801 variable as the calling entry point.
6803 - Deprecate the ParseConfig() global function in favor of a same-named
6804 construction environment method.
6806 - Allow the Environment.WhereIs() method to take explicit path and
6807 pathext arguments (like the underlying SCons.Util.WhereIs() function).
6809 - Remove the long-obsolete {Get,Set}CommandHandler() functions.
6811 - Enhance env.Append() to suppress null values when appropriate.
6813 - Fix ParseConfig() so it works regardless of initial construction
6816 Extend CheckHeader(), CheckCHeader(), CheckCXXHeader() and
6817 CheckLibWithHeader() to accept a list of header files that will be
6818 #included in the test. The last one in the list is assumed to be
6819 the one being checked for. (Prototype code contributed by Gerard
6820 Patel and Niall Douglas).
6822 - Supply a warning when -j is used and threading isn't built in to
6823 the current version of Python.
6825 - First release of the User's Guide (finally, and despite a lot
6826 of things still missing from it...).
6830 - Generalize the action for .tex files so that it will decide whether
6831 a file is TeX or LaTeX, check the .aux output to decide if it should
6832 run bibtex, and check the .log output to re-run LaTeX if needed.
6834 From Bram Moolenaar:
6836 - Split the non-SCons-specific functionality from SConf.py to a new,
6837 re-usable Conftest.py module.
6839 From Gary Oberbrunner:
6841 - Allow a directory to be the target or source or dependency of a
6842 Depends(), Ignore(), Precious() or SideEffect() call.
6846 - Use the %{_mandir} macro when building our RPM package.
6848 From Marko Rauhamaa:
6850 - Have the closing message say "...terminated because of errors" if
6855 - On Win32 systems, only use "rm" to delete files if Cygwin is being
6856 used. ("rm" doesn't understand Win32-format path names.)
6858 From Christoph Wiedemann:
6860 - Fix test/SWIG.py to find the Python include directory in all cases.
6862 - Fix a bug in detection of Qt installed on the local system.
6864 - Support returning Python 2.3 BooleanType values from Configure checks.
6866 - Provide an error message if someone mistakenly tries to call a
6867 Configure check from within a Builder function.
6869 - Support calling a Builder when a Configure context is still open.
6871 - Handle interrupts better by eliminating all try:-except: blocks
6872 which caught any and all exceptions, including KeyboardInterrupt.
6874 - Add a --duplicate= option to control how files are duplicated.
6878 RELEASE 0.92 - Wed, 20 Aug 2003 03:45:28 -0500
6880 From Charles Crain and Gary Oberbrunner:
6882 - Fix Tool import problems with the Intel and PharLap linkers.
6886 - Refactor the DictCmdGenerator class to be a Selector subclass.
6888 - Allow the DefaultEnvironment() function to take arguments and pass
6889 them to instantiation of the default construction environment.
6891 - Update the Debian package so it uses Python 2.2 and more closely
6892 resembles the currently official Debian packaging info.
6896 - When the yacc -d flag is used, take the .h file base name from the
6897 target .c file, not the source (matching what yacc does).
6901 RELEASE 0.91 - Thu, 14 Aug 2003 13:00:44 -0500
6905 - Support specifying a list of tools when calling Environment.Copy().
6907 - Give a Value Nodes a timestamp of the system time when they're
6908 created, so they'll work when using timestamp-based signatures.
6910 - Add a DefaultEnvironment() function that only creates a default
6911 environment on-demand (for fetching source files, e.g.).
6913 - Portability fix for test/M4.py.
6917 - Tighten up the scons -H help output.
6919 - When the input yacc file ends in .yy and the -d flag is specified,
6920 recognize that a .hpp file (not a .h file) will be created.
6922 - Make builder prefixes work correctly when deducing a target
6923 from a source file name in another directory.
6925 - Documentation fixes: typo in the man page; explain up-front about
6926 not propagating the external environment.
6928 - Use "cvs co -d" instead of "cvs co -p >" when checking out something
6929 from CVS with a specified module name. This avoids zero-length
6930 files when there is a checkout error.
6932 - Add an "sconsign" script to print the contents of .sconsign files.
6934 - Speed up maintaining the various lists of Node children by using
6935 dictionaries to avoid "x in list" searches.
6937 - Cache the computed list of Node children minus those being Ignored
6938 so it's only calculated once.
6940 - Fix use of the --cache-show option when building a Program()
6941 (or using any other arbitrary action) by making sure all Action
6942 instances have strfunction() methods.
6944 - Allow the source of Command() to be a directory.
6946 - Better error handling of things like raw TypeErrors in SConscripts.
6948 - When installing using "setup.py install --prefix=", suppress the
6949 distutils warning message about adding the (incorrect) library
6950 directory to your search path.
6952 - Correct the spelling of the "validater" option to "validator."
6953 Add a DeprecatedWarning when the old spelling is used.
6955 - Allow a Builder's emitter to be a dictionary that maps source file
6956 suffixes to emitter functions, using the suffix of the first file
6957 in the source list to pick the right one.
6959 - Refactor the creation of the Program, *Object and *Library Builders
6960 so that they're moved out of SCons.Defaults and created on demand.
6962 - Don't split SConscript file names on white space.
6964 - Document the SConscript function's "dirs" and "name" keywords.
6966 - Remove the internal (and superfluous) SCons.Util.argmunge() function.
6968 - Add /TP to the default CXXFLAGS for msvc, so it can compile all
6969 of the suffixes we use as C++ files.
6971 - Allow the "prefix" and "suffix" attributes of a Builder to be
6972 callable objects that return generated strings, or dictionaries
6973 that map a source file suffix to the right prefix/suffix.
6975 - Support a MAXLINELINELENGTH construction variable on Win32 systems
6976 to control when a temporary file is used for long command lines.
6978 - Make how we build .rpm packages not depend on the installation
6979 locations from the distutils being used.
6981 - When deducing a target Node, create it directly from the first
6982 source Node, not by trying to create the right string to pass to
6985 - Add support for SWIG.
6987 From Bram Moolenaar:
6989 - Test portability fixes for FreeBSD.
6991 From Gary Oberbrunner:
6993 - Report the target being built in error messages when building
6994 multiple sources from different extensions, or when the target file
6995 extension can't be deduced, or when we don't have an action for a
6998 - Provide helpful error messages when the arguments to env.Install()
7001 - Fix the value returned by the Node.prevsiginfo() method to conform
7002 to a previous change when checking whether a node is current.
7004 - Supply a stack trace if the Taskmaster catches an exception.
7006 - When using a temporary file for a long link line on Win32 systems,
7007 (also) print the command line that is being executed through the
7010 - Initialize the LIB environment variable when using the Intel
7013 - Documentation fixes: better explain the AlwaysBuild() function.
7015 From Laurent Pelecq:
7017 - When the -debug=pdb option is specified, use pdb.Pdb().runcall() to
7018 call pdb directly, don't call Python recursively.
7022 - Add support for a platform-independent CPPDEFINES variable.
7024 From Christoph Wiedemann:
7026 - Have the g++ Tool actually use g++ in preference to c++.
7028 - Have the gcc Tool actually use gcc in preference to cc.
7030 - Add a gnutools.py test of the GNU tool chain.
7032 - Be smarter about linking: use $CC by default and $CXX only if we're
7033 linking with any C++ objects.
7035 - Avoid SCons hanging when a piped command has a lot of output to read.
7037 - Add QT support for preprocessing .ui files into .c files.
7041 RELEASE 0.90 - Wed, 25 Jun 2003 14:24:52 -0500
7045 - Fix the _concat() documentation, and add a test for it.
7047 - Portability fixes for non-GNU versions of lex and yacc.
7051 - Fix handling of library prefixes when the subdirectory matches
7054 From Timothee Bessett:
7056 - Add an M4 Builder.
7060 - Use '.lnk' as the suffix on the temporary file for linking long
7061 command lines (necessary for the Phar Lap linkloc linker).
7063 - Save non-string Options values as their actual type.
7065 - Save Options string values that contain a single quote correctly.
7067 - Save any Options values that are changed from the default
7068 Environment values, not just ones changed on the command line or in
7071 - Make closing the Options file descriptor exception-safe.
7075 - SCons now enforces (with an error) that construction variables
7076 must have the same form as valid Python identifiers.
7078 - Fix man page bugs: remove duplicate AddPostAction() description;
7079 document no_import_lib; mention that CPPFLAGS does not contain
7080 $_CPPINCFLAGS; mention that F77FLAGS does not contain $_F77INCFLAGS;
7081 mention that LINKFLAGS and SHLINKFLAGS contains neither $_LIBFLAGS
7084 - Eliminate a dependency on the distutils.fancy_getopt module by
7085 copying and pasting its wrap_text() function directly.
7087 - Make the Script.Options() subclass match the underlying base class
7090 - When reporting a target is up to date, quote the target like make
7091 (backquote-quote) instead of with double quotes.
7093 - Fix handling of ../* targets when using -U, -D or -u.
7097 - Don't update the .sconsign files when run with -n.
7099 From Gary Oberbrunner:
7101 - Add support for the Intel C Compiler (icl.exe).
7109 - Fix use of SConf in paths with white space in them.
7111 - Add CheckFunc and CheckType functionality to SConf.
7113 - Fix use of SConf with Builders that return a list of nodes.
7115 From David Snopek and Christoph Wiedemann
7117 - Fix use of the SConf subsystem with SConscriptChdir().
7121 - Check for the existence of MS Visual Studio on disk before using it,
7122 to avoid getting fooled by leftover junk in the registry.
7124 - Add support for MSVC++ .NET.
7126 - Add support for MS Visual Studio project files (DSP, DSW,
7127 SLN and VCPROJ files).
7129 From Christoph Wiedemann
7131 - SConf now works correctly when the -n and -q options are used.
7135 RELEASE 0.14 - Wed, 21 May 2003 05:16:32 -0500
7139 - Use .dll (not .so) for shared libraries on Cygwin; use -fPIC
7140 when compiling them.
7142 - Use 'rm' to remove files under Cygwin.
7144 - Add a PLATFORM variable to construction environments.
7146 - Remove the "platform" argument from tool specifications.
7148 - Propogate PYTHONPATH when running the regression tests so distutils
7149 can be found in non-standard locations.
7151 - Using MSVC long command-line linking when running Cygwin.
7153 - Portability fixes for a lot of tests.
7155 - Add a Value Node class for dependencies on in-core Python values.
7157 From Allen Bierbaum:
7159 - Pass an Environment to the Options validator method, and
7160 add an Options.Save() method.
7162 From Steve Christensen:
7164 - Add an optional sort function argument to the GenerateHelpText()
7167 - Evaluate the "varlist" variables when computing the signature of a
7172 - Parse the source .java files for class names (including inner class
7173 names) to figure out the target .class files that will be created.
7175 - Make Java support work with Repositories and SConscriptChdir(0).
7177 - Pass Nodes, not strings, to Builder emitter functions.
7179 - Refactor command-line interpolation and signature calculation
7180 so we can use real Node attributes.
7184 - Add Java support (javac, javah, jar and rmic).
7186 - Propagate the external SYSTEMROOT environment variable into ENV on
7187 Win32 systems, so external commands that use sockets will work.
7189 - Add a .posix attribute to PathList expansions.
7191 - Check out CVS source files using POSIX path names (forward slashes
7192 as separators) even on Win32.
7194 - Add Node.clear() and Node.FS.Entry.clear() methods to wipe out a
7195 Node's state, allowing it to be re-evaluated by continuous
7196 integration build interfaces.
7198 - Change the name of the Set{Build,Content}SignatureType() functions
7199 to {Target,Source}Signatures(). Deprecate the old names but support
7200 them for backwards compatibility.
7202 - Add internal SCons.Node.FS.{Dir,File}.Entry() methods.
7204 - Interpolate the null string if an out-of-range subscript is used
7205 for a construction variable.
7207 - Fix the internal Link function so that it properly links or copies
7208 files in subsidiary BuildDir directories.
7210 - Refactor the internal representation of a single execution instance
7211 of an action to eliminate redundant signature calculations.
7213 - Eliminate redundant signature calculations for Nodes.
7215 - Optimize out calling hasattr() before accessing attributes.
7217 - Say "Cleaning targets" (not "Building...") when the -c option is
7222 - Quote the "Entering directory" message like Make.
7224 From Stefan Reichor:
7226 - Add support for using Ghostscript to convert Postscript to PDF files.
7230 - Add a standalone "Alias" function (separate from an Environment).
7232 - Make Export() work for local variables.
7234 - Support passing a dictionary to Export().
7236 - Support Import('*') to import everything that's been Export()ed.
7238 - Fix an undefined exitvalmap on Win32 systems.
7240 - Support new SetOption() and GetOption() functions for setting
7241 various command-line options from with an SConscript file.
7243 - Deprecate the old SetJobs() and GetJobs() functions in favor of
7244 using the new generic {Set,Get}Option() functions.
7246 - Fix a number of tests that searched for a Fortran compiler using the
7247 external PATH instead of what SCons would use.
7249 - Fix the interaction of SideEffect() and BuildDir() so that (for
7250 example) PDB files get put correctly in a BuildDir().
7254 - Contribute the "Autoscons" code for Autoconf-like checking for
7255 the existence of libraries, header files and the like.
7257 - Have the Tool() function add the tool name to the $TOOLS
7258 construction variable.
7262 - Support the C preprocessor #import statement.
7264 - Allow the SharedLibrary() Builder on Win32 systems to be able to
7265 register a newly-built dll using regsvr32.
7267 - Add a Builder for Windows type library (.tlb) files from IDL files.
7269 - Add an IDL scanner.
7271 - Refactor the Fortran, C and IDL scanners to share common logic.
7273 - Add .srcpath and .srcdir attributes to $TARGET and $SOURCE.
7275 From Christoph Wiedemann:
7277 - Integrate David Snopek's "Autoscons" code as the new SConf
7278 configuration subsystem, including caching of values between
7279 runs (using normal SCons dependency mechanisms), tests, and
7284 RELEASE 0.13 - Mon, 31 Mar 2003 20:22:00 -0600
7288 - Fix a bug when BuildDir(duplicate=0) is used and SConscript
7289 files are called from within other SConscript files.
7291 - Support (older) versions of Perforce which don't set the Windows
7296 RELEASE 0.12 - Thu, 27 Mar 2003 23:52:09 -0600
7300 - Added support for the Perforce source code management system.
7302 - Fix str(Node.FS) so that it returns a path relative to the calling
7303 SConscript file's directory, not the top-level directory.
7305 - Added support for a separate src_dir argument to SConscript()
7306 that allows explicit specification of where the source files
7307 for an SConscript file can be found.
7309 - Support more easily re-usable flavors of command generators by
7310 calling callable variables when strings are expanded.
7314 - Added an INSTALL construction variable that can be set to a function
7315 to control how the Install() and InstallAs() Builders install files.
7316 The default INSTALL function now copies, not links, files.
7318 - Remove deprecated features: the "name" argument to Builder objects,
7319 and the Environment.Update() method.
7321 - Add an Environment.SourceCode() method to support fetching files
7322 from source code systems. Add factory methods that create Builders
7323 to support BitKeeper, CVS, RCS, and SCCS. Add support for fetching
7324 files from RCS or SCCS transparently (like GNU Make).
7326 - Make the internal to_String() function more efficient.
7328 - Make the error message the same as other build errors when there's a
7329 problem unlinking a target file in preparation for it being built.
7331 - Make TARGET, TARGETS, SOURCE and SOURCES reserved variable names and
7332 warn if the user tries to set them in a construction environment.
7334 - Add support for Tar and Zip files.
7336 - Better documentation of the different ways to export variables to a
7337 subsidiary SConscript file. Fix documentation bugs in a tools
7338 example, places that still assumed SCons split strings on white
7341 - Support fetching arbitrary files from the TARGETS or SOURCES lists
7342 (e.g. ${SOURCES[2]}) when calculating the build signature of a
7345 - Don't silently swallow exceptions thrown by Scanners (or other
7346 exceptions while finding a node's dependent children).
7348 - Push files to CacheDir() before calling the superclass built()
7349 method (which may clear the build signature as part of clearing
7350 cached implicit dependencies, if the file has a source scanner).
7351 (Bug reported by Jeff Petkau.)
7353 - Raise an internal error if we attempt to push a file to CacheDir()
7354 with a build signature of None.
7356 - Add an explicit Exit() function for terminating early.
7358 - Change the documentation to correctly describe that the -f option
7359 doesn't change to the directory in which the specified file lives.
7361 - Support changing directories locally with SConscript directory
7362 path names relative to any SConstruct file specified with -f.
7363 This allows you to build in another directory by simply changing
7364 there and pointing at the SConstruct file in another directory.
7366 - Change the default SConscriptChdir() behavior to change to the
7367 SConscript directory while it's being read.
7369 - Fix an exception thrown when the -U option was used with no
7370 Default() target specified.
7372 - Fix -u so that it builds things in corresponding build directories
7373 when used in a source directory.
7377 - Add SharedObject() support to the masm tool.
7379 - Fix WhereIs() to return normalized paths.
7383 - Don't copy a built file to a CacheDir() if it's already there.
7385 - Avoid partial copies of built files in a CacheDir() by copying
7386 to a temporary file and renaming.
7390 - Fix incorrect dependency-cycle errors when an Aliased source doesn't
7395 RELEASE 0.11 - Tue, 11 Feb 2003 05:24:33 -0600
7399 - Add support for IRIX and the SGI MIPSPro tool chain.
7401 - Support using the MSVC tool chain when running Cygwin Python.
7405 - Avoid losing signal bits in the exit status from a command,
7406 helping terminate builds on interrupt (CTRL+C).
7410 - Added new AddPreAction() and AddPostAction() functions that support
7411 taking additional actions before or after building specific targets.
7413 - Add support for the PharLap ETS tool chain.
7417 - Allow Python function Actions to specify a list of construction
7418 variables that should be included in the Action's signature.
7420 - Allow libraries in the LIBS variable to explicitly include the prefix
7421 and suffix, even when using the GNU linker.
7422 (Bug reported by Neal Becker.)
7424 - Use DOS-standard CR-LF line endings in the scons.bat file.
7425 (Bug reported by Gary Ruben.)
7427 - Doc changes: Eliminate description of deprecated "name" keyword
7428 argument from Builder definition (reported by Gary Ruben).
7430 - Support using env.Append() on BUILDERS (and other dictionaries).
7431 (Bug reported by Bj=F6rn Bylander.)
7433 - Setting the BUILDERS construction variable now properly clears
7434 the previous Builder attributes from the construction Environment.
7435 (Bug reported by Bj=F6rn Bylander.)
7437 - Fix adding a prefix to a file when the target isn't specified.
7438 (Bug reported by Esa Ilari Vuokko.)
7440 - Clean up error messages from problems duplicating into read-only
7441 BuildDir directories or into read-only files.
7443 - Add a CommandAction.strfunction() method, and add an "env" argument
7444 to the FunctionAction.strfunction() method, so that all Action
7445 objects have strfunction() methods, and the functions for building
7446 and returning a string both take the same arguments.
7448 - Add support for new CacheDir() functionality to share derived files
7449 between builds, with related options --cache-disable, --cache-force,
7452 - Change the default behavior when no targets are specified to build
7453 everything in the current directory and below (like Make). This
7454 can be disabled by specifying Default(None) in an SConscript.
7456 - Revamp SCons installation to fix a case-sensitive installation
7457 on Win32 systems, and to add SCons-specific --standard-lib,
7458 --standalone-lib, and --version-lib options for easier user
7459 control of where the libraries get installed.
7461 - Fix the ability to directly import and use Platform and Tool modules
7462 that have been implicitly imported into an Environment().
7464 - Add support for allowing an embedding interface to annotate a node
7467 - Extend the SConscript() function to accept build_dir and duplicate
7468 keyword arguments that function like a BuildDir() call.
7472 - Fix the output of -c -n when directories are involved, so it
7477 - Use a different shared object suffix (.os) when using gcc so shared
7478 and static objects can exist side-by-side in the same directory.
7480 - Allow the same object files on Win32 to be linked into either
7481 shared or static libraries.
7483 - Cache implicit cache values when using --implicit-cache.
7487 RELEASE 0.10 - Thu, 16 Jan 2003 04:11:46 -0600
7489 From Derrick 'dman' Hudson:
7491 - Support Repositories on other file systems by symlinking or
7492 copying files when hard linking won't work.
7496 - Remove Python bytecode (*.pyc) files from the scons-local packages.
7498 - Have FunctionActions print a description of what they're doing
7499 (a representation of the Python call).
7501 - Fix the Install() method so that, like other actions, it prints
7502 what would have happened when the -n option is used.
7504 - Don't create duplicate source files in a BuildDir when the -n
7507 - Refactor the Scanner interface to eliminate unnecessary Scanner
7508 calls and make it easier to write efficient scanners.
7510 - Added a "recursive" flag to Scanner creation that specifies the
7511 Scanner should be invoked recursively on dependency files returned
7514 - Significant performance improvement from using a more efficient
7515 check, throughout the code, for whether a Node has a Builder.
7517 - Fix specifying only the source file to MultiStepBuilders such as
7518 the Program Builder. (Bug reported by Dean Bair.)
7520 - Fix an exception when building from a file with the same basename as
7521 the subdirectory in which it lives. (Bug reported by Gerard Patel.)
7523 - Fix automatic deduction of a target file name when there are
7524 multiple source files specified; the target is now deduced from just
7525 the first source file in the list.
7527 - Documentation fixes: better initial explanation of SConscript files;
7528 fix a misformatted "table" in the StaticObject explanation.
7530 From Steven Knight and Steve Leblanc:
7532 - Fix the -c option so it will remove symlinks.
7536 - Add a Clean() method to support removing user-specified targets
7537 when using the -c option.
7539 - Add a development script for running SCons through PyChecker.
7541 - Clean up things found by PyChecker (mostly unnecessary imports).
7543 - Add a script to use HappyDoc to create HTML class documentation.
7547 - Make the Environment.get() method return None by default.
7551 - Add SetJobs() and GetJobs() methods to allow configuration of the
7552 number of default jobs (still overridden by -j).
7554 - Convert the .sconsign file format from ASCII to a pickled Python
7557 - Error message cleanups: Made consistent the format of error
7558 messages (now all start with "scons: ***") and warning messages (now
7559 all start with "scons: warning:"). Caught more cases with the "Do
7560 not know how to build" error message.
7562 - Added support for the MinGW tool chain.
7564 - Added a --debug=includes option.
7568 RELEASE 0.09 - Thu, 5 Dec 2002 04:48:25 -0600
7572 - Add a Prepend() method to Environments, to append values to
7573 the beginning of construction variables.
7577 - Add long command-line support to the "lib" Tool (Microsoft library
7582 - Allow $$ in a string to be passed through as $.
7584 - Support file names with odd characters in them.
7586 - Add support for construction variable substition on scanner
7587 directories (in CPPPATH, F77PATH, LIBPATH, etc.).
7589 From Charles Crain and Steven Knight:
7591 - Add Repository() functionality, including the -Y option.
7595 - Fix auto-deduction of target names so that deduced targets end
7596 up in the same subdirectory as the source.
7598 - Don't remove source files specified on the command line!
7600 - Suport the Intel Fortran Compiler (ifl.exe).
7602 - Supply an error message if there are no command-line or
7603 Default() targets specified.
7605 - Fix the ASPPCOM values for the GNU assembler.
7606 (Bug reported by Brett Polivka.)
7608 - Fix an exception thrown when a Default() directory was specified
7609 when using the -U option.
7611 - Issue a warning when -c can't remove a target.
7613 - Eliminate unnecessary Scanner calls by checking for the
7614 existence of a file before scanning it. (This adds a generic
7615 hook to check an arbitrary condition before scanning.)
7617 - Add explicit messages to tell when we're "Reading SConscript files
7618 ...," "done reading SConscript files," "Building targets," and
7619 "done building targets." Add a -Q option to supress these.
7621 - Add separate $SHOBJPREFIX and $SHOBJSUFFIX construction variables
7622 (by default, the same as $OBJPREFIX and $OBJSUFFIX).
7624 - Add Make-like error messages when asked to build a source file,
7625 and before trying to build a file that doesn't have all its source
7626 files (including when an invalid drive letter is used on WIN32).
7628 - Add an scons-local-{version} package (in both .tar.gz and .zip
7629 flavors) to help people who want to ship SCons as a stand-alone
7630 build tool in their software packages.
7632 - Prevent SCons from unlinking files in certain situations when
7633 the -n option is used.
7635 - Change the name of Tool/lib.py to Tool/mslib.py.
7637 From Steven Knight and Anthony Roach:
7639 - Man page: document the fact that Builder calls return Node objects.
7643 - Refactor option processing to use our own version of Greg Ward's
7644 Optik module, modified to run under Python 1.5.2.
7646 - Add a ParseConfig() command to modify an environment based on
7647 parsing output from a *-config command.
7651 - Fix interpretation of '#/../foo' on Win32 systems.
7655 - Fixed use of command lines with spaces in their arguments,
7656 and use of Nodes with spaces in their string representation.
7658 - Make access and modification times of files in a BuildDir match
7659 the source file, even when hard linking isn't available.
7661 - Make -U be case insensitive on Win32 systems.
7663 - Issue a warning and continue when finding a corrupt .sconsign file.
7665 - Fix using an alias as a dependency of a target so that if one of the
7666 alias' dependencies gets rebuilt, the resulting target will, too.
7668 - Fix differently ordered targets causing unnecessary rebuilds
7669 on case insensitive systems.
7671 - Use os.system() to execute external commands whenever the "env"
7672 utility is available, which is much faster than fork()/exec(),
7673 and fixes the -j option on several platforms.
7675 - Fix use of -j with multiple targets.
7677 - Add an Options() object for friendlier accomodation of command-
7680 - Add support for Microsoft VC++ precompiled header (.pch) files,
7681 debugger (.pdb) files, and resource (.rc) files.
7683 - Don't compute the $_CPPINCFLAGS, $_F77INCFLAGS, $_LIBFLAGS and
7684 $_LIBDIRFLAGS variables each time a command is executed, define
7685 them so they're computed only as needed. Add a new _concat
7686 function to the Environment that allows people to define their
7687 own similar variables.
7689 - Fix dependency scans when $LIBS is overridden.
7691 - Add EnsurePythonVersion() and EnsureSConsVersion() functions.
7693 - Fix the overly-verbose stack trace on ListBuilder build errors.
7695 - Add a SetContentSignatureType() function, allowing use of file
7696 timestamps instead of MD5 signatures.
7698 - Make -U and Default('source') fail gracefully.
7700 - Allow the File() and Dir() methods to take a path-name string as
7701 the starting directory, in addition to a Dir object.
7703 - Allow the command handler to be selected via the SPAWN, SHELL
7704 and ESCAPE construction variables.
7706 - Allow construction variables to be overridden when a Builder
7711 - Dynamically check for the existence of utilities with which to
7712 initialize Environments by default.
7716 RELEASE 0.08 - Mon, 15 Jul 2002 12:08:51 -0500
7720 - Fixed a bug with relative CPPPATH dirs when using BuildDir().
7721 (Bug reported by Bob Summerwill.)
7723 - Added a warnings framework and a --warn option to enable or
7726 - Make the C scanner warn users if files referenced by #include
7727 directives cannot be found and --warn=dependency is specified.
7729 - The BUILDERS construction variable should now be a dictionary
7730 that maps builder names to actions. Existing uses of lists,
7731 and the Builder name= keyword argument, generate warnings
7732 about use of deprecated features.
7734 - Removed the "shared" keyword argument from the Object and
7737 - Added separated StaticObject, SharedObject, StaticLibrary and
7738 SharedLibrary builders. Made Object and Library synonyms for
7739 StaticObject and StaticLibrary, respectively.
7741 - Add LIBS and LIBPATH dependencies for shared libraries.
7743 - Removed support for the prefix, suffix and src_suffix arguments
7744 to Builder() to be callable functions.
7746 - Fix handling file names with multiple dots.
7748 - Allow a build directory to be outside of the SConstruct tree.
7750 - Add a FindFile() function that searches for a file node with a
7753 - Add $CPPFLAGS to the shared-object command lines for g++ and gcc.
7755 From Charles Crain and Steven Knight:
7757 - Add a "tools=" keyword argument to Environment instantiation,
7758 and a separate Tools() method, for more flexible specification
7759 of tool-specific environment changes.
7763 - Add a "platform=" keyword argument to Environment instantiation,
7764 and a separate Platform() method, for more flexible specification
7765 of platform-specific environment changes.
7767 - Updated README instructions and setup.py code to catch an
7768 installation failure from not having distutils installed.
7770 - Add descriptions to the -H help text for -D, -u and -U so
7771 people can tell them apart.
7773 - Remove the old feature of automatically splitting strings
7774 of file names on white space.
7776 - Add a dependency Scanner for native Fortran "include" statements,
7777 using a new "F77PATH" construction variable.
7779 - Fix C #include scanning to detect file names with characters like
7782 - Add more specific version / build output to the -v option.
7784 - Add support for the GNU as, Microsoft masm, and nasm assemblers.
7786 - Allow the "target" argument to a Builder call to be omitted, in
7787 which case the target(s) are deduced from the source file(s) and the
7788 Builder's specified suffix.
7790 - Add a tar archive builder.
7792 - Add preliminary support for the OS/2 Platform, including the icc
7797 - Fix --implicit-cache if the scanner returns an empty list.
7801 - Add a "multi" keyword argument to Builder creation that specifies
7802 it's okay to call the builder multiple times for a target.
7804 - Set a "multi" on Aliases so multiple calls will append to an Alias.
7806 - Fix emitter functions' use of path names when using BuildDir or
7809 - Fix --implicit-cache causing redundant rebuilds when the header
7812 - Fix --implicit-cache when a file has no implicit dependencies and
7813 its source is generated.
7815 - Make the drive letters on Windows always be the same case, so that
7816 changes in the case of drive letters don't cause a rebuild.
7818 - Fall back to importing the SCons.TimeStamp module if the SCons.MD5
7819 module can't be imported.
7821 - Fix interrupt handling to guarantee that a single interrupt will
7822 halt SCons both when using -j and not.
7824 - Fix .sconsign signature storage so that output files of one build
7825 can be safely used as input files to another build.
7827 - Added a --debug=time option to print SCons execution times.
7829 - Print an error message if a file can't be unlinked before being
7830 built, rather than just silently terminating the build.
7832 - Add a SideEffect() method that can be used to tell the build
7833 engine that a given file is created as a side effect of building
7834 a target. A file can be specified as a side effect of more than
7835 one build comand, in which case the commands will not be executed
7838 - Significant performance gains from not using our own version of
7839 the inefficient stock os.path.splitext() method, caching source
7840 suffix computation, code cleanup in MultiStepBuilder.__call__(),
7841 and replicating some logic in scons_subst().
7843 - Add --implicit-deps-changed and --implicit-deps-unchanged options.
7845 - Add a GetLaunchDir() function.
7847 - Add a SetBuildSignatureType() function.
7851 - Add an Append() method to Environments, to append values to
7852 construction variables.
7854 - Change the name of Update() to Replace(). Keep Update() as a
7855 deprecated synonym, at least for now.
7857 From Terrel Shumway:
7859 - Use a $PYTHON construction variable, initialized to sys.executable,
7860 when using Python to build parts of the SCons packages.
7862 - Use sys.prefix, not sys.exec_prefix, to find pdb.py.
7866 RELEASE 0.07 - Thu, 2 May 2002 13:37:16 -0500
7870 - Changes to build SCons packages on IRIX (and other *NIces).
7872 - Don't create a directory Node when a file already exists there,
7875 - Add 'dirs' and 'names' keyword arguments to SConscript for
7876 easier specification of subsidiary SConscript files.
7880 - Internal cleanup of environment passing to function Actions.
7882 - Builders can now take arbitrary keyword arguments to create
7883 attributes to be passed to: command generator functions,
7884 FunctionAction functions, Builder emitter functions (below),
7885 and prefix/suffix generator functions (below).
7887 - Command generator functions can now return ANYTHING that can be
7888 converted into an Action (a function, a string, a CommandGenerator
7889 instance, even an ActionBase instance).
7891 - Actions now call get_contents() with the actual target and source
7892 nodes used for the build.
7894 - A new DictCmdGenerator class replaces CompositeBuilder to support
7895 more flexible Builder behavior internally.
7897 - Builders can now take an emitter= keyword argument. An emitter
7898 is a function that takes target, source, and env argument, then
7899 return a 2-tuple of (new sources, new targets). The emitter is
7900 called when the Builder is __call__'ed, allowing a user to modify
7901 source and target lists.
7903 - The prefix, suffix and src_suffix Builder arguments now take a
7904 callable as well a string. The callable is passed the Environment
7905 and any extra Builder keyword arguments and is expected to return
7906 the appropriate prefix or suffix.
7908 - CommandActions can now be a string, a list of command + argument
7909 strings, or a list of commands (strings or lists).
7911 - Added shared library support. The Object and Library Builders now
7912 take a "shared=1" keyword argument to specify that a shared object
7913 or shared library should be built. It is an error to try to build
7914 static objects into a shared library or vice versa.
7916 - Win32 support for .def files has been added. Added the Win32-specific
7917 construction variables $WIN32DEFPREFIX, $WIN32DEFSUFFIX,
7918 $WIN32DLLPREFIX and $WIN32IMPLIBPREFIX. When building a .dll,
7919 the new construction variable $WIN32_INSERT_DEF, controls whether
7920 the appropriately-named .def file is inserted into the target
7921 list (if not already present). A .lib file is always added to
7922 a Library build if not present in the list of targets.
7924 - ListBuilder now passes all targets to the action, not just the first.
7926 - Fix so that -c now deletes generated yacc .h files.
7928 - Builder actions and emitter functions can now be initialized, through
7929 construction variables, to things other than strings.
7931 - Make top-relative '#/dir' lookups work like '#dir'.
7933 - Fix for relative CPPPATH directories in subsidiary SConscript files
7936 - Add a for_signature argument to command generators, so that
7937 generators that need to can return distinct values for the
7938 command signature and for executing the command.
7942 - Create a better scons.bat file from a py2bat.py script on the Python
7943 mailing list two years ago (modeled after pl2bat.pl).
7947 - Fix so that -c -n does *not* remove the targets!
7949 - Man page: Add a hierarchical libraries + Program example.
7951 - Support long MSVC linker command lines through a builder action
7952 that writes to a temporary file and uses the magic MSVC "link @file"
7953 argument syntax if the line is longer than 2K characters.
7955 - Fix F77 command-line options on Win32 (use /Fo instead of -o).
7957 - Use the same action to build from .c (lower case) and .C (upper
7958 case) files on case-insensitive systems like Win32.
7960 - Support building a PDF file directly from a TeX or LaTeX file
7961 using pdftex or pdflatex.
7963 - Add a -x option to runtest.py to specify the script being tested.
7964 A -X option indicates it's an executable, not a script to feed
7965 to the Python interpreter.
7967 - Add a Split() function (identical to SCons.Util.argmunge()) for use
7968 in the next release, when Builders will no longer automatically split
7969 strings on white space.
7973 - Add the SConscriptChdir() method.
7977 - Fix --debug=tree when used with directory targets.
7979 - Significant internal restructuring of Scanners and Taskmaster.
7981 - Added new --debug=dtree option.
7983 - Fixes for --profile option.
7985 - Performance improvement in construction variable substitution.
7987 - Implemented caching of content signatures, plus added --max-drift
7988 option to control caching.
7990 - Implemented caching of dependency signatures, enabled by new
7991 --implicit-cache option.
7993 - Added abspath construction variable modifier.
7995 - Added $SOURCE variable as a synonym for $SOURCES[0].
7997 - Write out .sconsign files on error or interrupt so intermediate
7998 build results are saved.
8000 - Change the -U option to -D. Make a new -U that builds just the
8001 targets from the local SConscript file.
8003 - Fixed use of sys.path so Python modules can be imported from
8004 the SConscript directory.
8006 - Fix for using Aliases with the -u, -U and -D options.
8008 - Fix so that Nodes can be passed to SConscript files.
8012 - Changes for official Debian packaging.
8016 RELEASE 0.06 - Thu, 28 Mar 2002 01:24:29 -0600
8020 - Fix command generators to expand construction variables.
8022 - Make FunctionAction arguments be Nodes, not strings.
8024 From Stephen Kennedy:
8026 - Performance: Use a dictionary, not a list, for a Node's parents.
8030 - Add .zip files to the packages we build.
8032 - Man page: document LIBS, fix a typo, document ARGUMENTS.
8034 - Added RANLIB and RANLIBFLAGS construction variables. Only use them
8035 in ARCOM if there's a "ranlib" program on the system.
8037 - Add a configurable CFILESUFFIX for the Builder of .l and .y files
8040 - Add a CXXFile Builder that turns .ll and .yy files into .cc files
8041 (configurable via a CXXFILESUFFIX construction variable).
8043 - Use the POSIX-standard lex -t flag, not the GNU-specific -o flag.
8044 (Bug reported by Russell Christensen.)
8046 - Fixed an exception when CPPPATH or LIBPATH is a null string.
8047 (Bug reported by Richard Kiss.)
8049 - Add a --profile=FILE option to make profiling SCons easier.
8051 - Modify the new DVI builder to create .dvi files from LaTeX (.ltx
8054 - Add support for Aliases (phony targets).
8056 - Add a WhereIs() method for searching for path names to executables.
8058 - Add PDF and PostScript document builders.
8060 - Add support for compiling Fortran programs from a variety of
8061 suffixes (a la GNU Make): .f, .F, .for, .FOR, .fpp and .FPP
8063 - Support a CPPFLAGS variable on all default commands that use the
8068 - Add support for the -U option.
8070 - Allow CPPPATH, LIBPATH and LIBS to be specified as white-space
8073 - Add a document builder to create .dvi files from TeX (.tex) files.
8077 - Fix: Construction variables with values of 0 were incorrectly
8080 - Support env['VAR'] to fetch construction variable values.
8082 - Man page: document Precious().
8086 RELEASE 0.05 - Thu, 21 Feb 2002 16:50:03 -0600
8090 - Set PROGSUFFIX to .exe under Cygwin.
8094 - Allow a library to specified as a command-line source file, not just
8095 in the LIBS construction variable.
8097 - Compensate for a bug in os.path.normpath() that returns '' for './'
8100 - More performance optimizations: cache #include lines from files,
8101 eliminate unnecessary calls.
8103 - If a prefix or suffix contains white space, treat the resulting
8104 concatenation as separate arguments.
8106 - Fix irregularities in the way we fetch DevStudio information from
8107 the Windows registry, and in our registry error handling.
8111 - Flush stdout after print so it intermixes correctly with stderr
8114 - Allow Scanners to return a list of strings, and document how to
8115 write your own Scanners.
8117 - Look up implicit (scanned) dependencies relative to the directory
8118 of file being scanned.
8120 - Make writing .sconsign files more robust by first trying to write
8121 to a temp file that gets renamed.
8123 - Create all of the directories for a list of targets before trying
8124 to build any of the targets.
8126 - WIN32 portability fixes in tests.
8128 - Allow the list of variables exported to an SConscript file to be
8131 - Document the overlooked LIBPATH construction variable.
8132 (Bug reported by Eicke Godehardt.)
8134 - Fix so that Ignore() ignores indirect, implicit dependencies
8135 (included files), not just direct dependencies.
8137 - Put the man page in the Debian distribution.
8139 - Run HTML docs through tidy to clean up the HTML (for Konqueror).
8141 - Add preliminary support for Unicode strings.
8143 - Efficiency: don't scan dependencies more than once during the
8146 - Fix the -c option so it doesn't stop removing targets if one doesn't
8148 (Bug reported by Paul Connell.)
8150 - Fix the --debug=pdb option when run on Windows NT.
8151 (Bug reported by Paul Connell.)
8153 - Add support for the -q option.
8157 - Add support for the -u option.
8159 - Add .cc and .hh file suffixes to the C Scanner.
8163 - Make the scons script return an error code on failures.
8165 - Add support for using code to generate a command to build a target.
8169 RELEASE 0.04 - Wed, 30 Jan 2002 11:09:42 -0600
8173 - Significant performance improvements in the Node.FS and
8176 - Fix signatures of binary files on Win32 systems.
8178 - Allow LIBS and LIBPATH to be strings, not just arrays.
8180 - Print a traceback if a Python-function builder throws an exception.
8184 - Fix using a directory as a Default(), and allow Default() to
8185 support white space in file names for strings in arrays.
8187 - Man page updates: corrected some mistakes, documented various
8188 missing Environment methods, alphabetized the construction
8189 variables and other functions, defined begin and end macros for
8190 the example sections, regularized white space separation, fixed
8191 the use of Export() in the Multiple Variants example.
8193 - Function action fixes: None is now a successful return value.
8194 Exceptions are now reported. Document function actions.
8196 - Add 'Action' and 'Scanner' to the global keywords so SConscript
8197 files can use them too.
8199 - Removed the Wrapper class between Nodes and Walkers.
8201 - Add examples using Library, LIBS, and LIBPATH.
8203 - The C Scanner now always returns a sorted list of dependencies
8204 so order changes don't cause unnecessary rebuilds.
8206 - Strip $(-$) bracketed text from command lines. Use this to
8207 surround $_INCDIRS and $_LIBDIRS so we don't rebuild in response
8208 to changes to -I or -L options.
8210 - Add the Ignore() method to ignore dependencies.
8212 - Provide an error message when a nonexistent target is specified
8213 on the command line.
8215 - Remove targets before building them, and add an Environment
8216 Precious() method to override that.
8218 - Eliminate redundant calls to the same builder when the target is a
8219 list of targets: Add a ListBuilder class that wraps Builders to
8220 handle lists atomically. Extend the Task class to support building
8221 and updating multiple targets in a single Task. Simplify the
8222 interface between Task and Taskmaster.
8224 - Add a --debug=pdb option to re-run SCons under the Python debugger.
8226 - Only compute a build signature once for each node.
8228 - Changes to our sys.path[] manipulation to support installation into
8229 an arbitrary --prefix value.
8233 - Add var=value command-line arguments.
8237 RELEASE 0.03 - Fri, 11 Jan 2002 01:09:30 -0600
8241 - Performance improvements in the Node.FS and Sig.Calculator classes.
8243 - Add the InstallAs() method.
8245 - Execute commands through an external interpreter (sh, cmd.exe, or
8246 command.com) to handle redirection metacharacters.
8248 - Allow the user to supply a command handler.
8252 - Search both /usr/lib and /usr/local/lib for scons directories by
8253 adding them both to sys.path, with whichever is in sys.prefix first.
8255 - Fix interpreting strings of multiple white-space separated file names
8256 as separate file names, allowing prefixes and suffixes to be appended
8257 to each individually.
8259 - Refactor to move CompositeBuilder initialization logic from the
8260 factory wrapper to the __init__() method, and allow a Builder to
8261 have both an action and a src_builder (or array of them).
8263 - Refactor BuilderBase.__call__() to separate Node creation/lookup
8264 from initialization of the Node's builder information.
8266 - Add a CFile Builder object that supports turning lex (.l) and
8267 yacc (.y) files into .c files.
8269 - Document: variable interpretation attributes; how to propogate
8270 the user's environment variables to executed commands; how to
8271 build variants in multiple BuildDirs.
8273 - Collect String, Dict, and List type-checking in common utility
8274 routines so we can accept User{String,Dict,List}s all over.
8276 - Put the Action factory and classes into their own module.
8278 - Use one CPlusPlusAction in the Object Builder's action dictionary,
8279 instead of letting it create multiple identical instances.
8281 - Document the Install() and InstallAs() methods.
8285 - Require that a Builder be given a name argument, supplying a
8286 useful error message when it isn't.
8290 - Add a "duplicate" keyword argument to BuildDir() that can be set
8291 to prevent linking/copying source files into build directories.
8293 - Add a "--debug=tree" option to print an ASCII dependency tree.
8295 - Fetch the location of the Microsoft Visual C++ compiler(s) from
8296 the Registry, instead of hard-coding the location.
8298 - Made Scanner objects take Nodes, not path names.
8300 - Have the C Scanner cache the #include file names instead of
8301 (re-)scanning the file each time it's called.
8303 - Created a separate class for parent "nodes" of file system roots,
8304 eliminating the need for separate is-parent-null checks everywhere.
8306 - Removed defined __hash__() and __cmp() methods from FS.Entry, in
8307 favor of Python's more efficient built-in identity comparisons.
8311 RELEASE 0.02 - Sun, 23 Dec 2001 19:05:09 -0600
8315 - Added the Install(), BuildDir(), and Export() methods.
8317 - Fix the -C option by delaying setting the top of the FS tree.
8319 - Avoid putting the directory path on the libraries in the LIBS
8320 construction variable.
8322 - Added a GetBuildPath() method to return the full path to the
8323 Node for a specified string.
8325 - Fixed variable substitution in CPPPATH and LIBPATH.
8329 - Fixed the version comment in the scons.bat (the UNIX geek used
8332 - Fix to setup.py so it doesn't require a sys.argv[1] argument.
8334 - Provide make-like warning message for "command not found" and
8337 - Added an EXAMPLES section to the man page.
8339 - Make Default() targets properly relative to their SConscript
8340 file's subdirectory.
8344 - Documented CXXFLAGS, CXXCOM, and CPPPATH.
8346 - Fixed SCONS_LIB_DIR to work as documented.
8348 - Made Default() accept Nodes as arguments.
8350 - Changed Export() to make it easier to use.
8352 - Added the Import() and Return() methods.
8356 RELEASE 0.01 - Thu Dec 13 19:25:23 CST 2001
8358 A brief overview of important functionality available in release 0.01:
8360 - C and C++ compilation on POSIX and Windows NT.
8362 - Automatic scanning of C/C++ source files for #include dependencies.
8364 - Support for building libraries; setting construction variables
8365 allows creation of shared libraries.
8367 - Library and C preprocessor search paths.
8369 - File changes detected using MD5 signatures.
8371 - User-definable Builder objects for building files.
8373 - User-definable Scanner objects for scanning for dependencies.
8375 - Parallel build (-j) support.
8377 - Dependency cycles detected.
8379 - Linux packages available in RPM and Debian format.
8381 - Windows installer available.