3 SCons - a software construction tool
7 NOTE: The 4.0.0 Release of SCons dropped Python 2.7 Support
8 NOTE: 4.3.0 now requires Python 3.6.0 and above. Python 3.5.x is no longer supported
10 RELEASE VERSION/DATE TO BE FILLED IN LATER
13 - The --debug flag now has a 'json' option which will write information
14 generated by --debug={count, memory, time, action-timestamps} and about
16 - Obsoleted YACCVCGFILESUFFIX, being replaced by YACC_GRAPH_FILE_SUFFIX.
17 If YACC_GRAPH_FILE_SUFFIX is not set, it will respect YACCVCGFILESUFFIX.
20 - C scanner's dictifyCPPDEFINES routine did not understand the possible
21 combinations of CPPDEFINES - not aware of a "name=value" string either
22 embedded in a sequence, or by itself. The conditional C scanner thus
23 did not always properly apply the defines. The regular C scanner does
24 not use these, so was not affected. [fixes #4193]
25 - Minor cleanup for ValidateOptions - docs and docstring tweaked,
26 add missed versionadded indicator.
27 - Added some typing annotations generated by a tool, to eliminate manual
28 work in future on things which are safe for the tool to produce.
29 Then manually fixed up some things related to bool that the tool did
30 not handly ideally. For example, simple functions which just did
31 "return 1" were interpreted by the tool as returning int, when bool
32 was really the intent. Functions/methods named like "is_*", "has_*",
33 "exists" are now pretty consistently marked as "-> bool".
34 - Simplify some code due to pylint observation: "C2801: Unnecessarily
35 calls dunder method __call__. Invoke instance directly."
36 - Python 3.9 dropped the alias base64.decodestring, deprecated since 3.1.
37 Only used in msvs.py. Use base64.decodebytes instead.
38 - When debugging (--debug=pdb), the filenames SConstruct and SConscript
39 are now recognized when manipulating breakpoints. Previously,
40 only a full pathname to an sconscript file worked, as pdb requires
41 a .py extension to open a file that is not an absolute path.
42 - SCons test runner now uses pathlib to normalize and compare paths
44 - D compilers : added support for generation of .di interface files.
45 New variables DI_FILE_DIR, DI_FILE_DIR_PREFIX, DI_FILE_DIR_SUFFIX,
47 - Fixed: when using the mingw tool, if an msys2 Python is used (os.sep
48 is '/' rather than the Windows default '\'), certain Configure checks
49 could fail due to the construction of the path to run the compiled check.
50 - Added effort to find mingw if it comes from Chocolatey install of msys2.
51 - Minor doc fixes: signature of Alias() now matches implementation
52 to avoid problem if kwargs used; case of Alias with no targets is
53 mentioned in text (was already shown in example); now mention that
54 Action([item]) does not return a ListAction - previously implied
55 that if arg was a list, a ListAction was *always* returned; mention
56 default Decider and sort the names of available decider functions,
57 and add a version marking. Minor fiddling with Alias.py docstrings.
58 - Python 3.12 support: new bytecodes for ActionTests.py, adapt to
59 changes to pathlib module in runtest.py (PosixPath no longer
60 converts slashes if given a Windows-style path). Also switch to
61 using `subTest` in `ActionTests`, so that we can see all 21 fails
62 due to bytecode changes (previously testcases aborted on the first
63 assert fail so we only saw seven), and use unittest asserts to
64 simplify complex printing stanzas.
65 - Added copyright headers to files in test/ that didn't have them.
66 - Drop three unused methods from the Environment Base class:
67 get_src_sig_type and get_tgt_sig_type, as well as "private"
68 _changed_source. These were orphaned when the long-deprecated
69 Source Signatures and Target Signatures were removed, these were
71 - Remove dead code: some mocked classes in unit tests had methods
72 which have been removed from the Node class they're mocking,
73 there's no need to shadow those any more as there are no callers.
74 The methods are depends_on (base functionality removed in 2005)
75 and is_pseudeo_derived (base functionality removed in 2006). There
77 - Added pass_test() call to test/MSVC/MSVC_BATCH-spaces-targetdir.py.
78 It looked it was missing a more detailed check, but it should be
79 sufficient just to check the build worked. Renamed the fixture
80 dir to follow naming convention in test/MSVC overall, and added
81 a sconstest.skip file, also to follow convention.
82 - Marked some scanner methods as @staticmethod.
83 - Class ActionBase is now an abstract base class to more accurately
84 reflect its usage. Derived _ActionAction inherits the ABC, so it
85 now declares (actually raises NotImplementedError) two methods it
86 doesn't use so it can be instantiated by unittests and others.
87 - The yacc tool now understands the bison behavior of --header,
88 --defines and --graph being called without option-argument as being
89 synonyms for -d (first two) and -g. -H also recognized as a synonym
90 for -d. Default value for $YACC_GRAPH_FILE_SUFFIX changed to '.gv'
91 to match current bison default (since bison 3.8). Set this variable
92 to '.dot' if using byacc. The graph file name (-g) is now generated
93 relative to the requested target file name, not to the source file
94 name, to match actual current behavior (only affects if target
95 explicitly requested with a different base name
96 than source). Docs updated. Fixes #4326 and #4327.
97 - Cleaned up dblite module (checker warnings, etc.).
98 - Some cleanup in the FortranCommon tool.
100 From Jonathon Reinhart:
101 - Fix another instance of `int main()` in CheckLib() causing failures
102 when using -Wstrict-prototypes.
105 RELEASE 4.5.2 - Sun, 21 Mar 2023 14:08:29 -0700
108 - Remove the redundant `wheel` dependency from `pyproject.toml`,
109 as it is added automatically by the setuptools PEP517 backend.
112 - Fix a problem (#4321) in 4.5.0/4.5.1 where ParseConfig could cause an
113 exception in MergeFlags when the result would be to add preprocessor
114 defines to existing CPPDEFINES. The following code illustrates the
115 circumstances that could trigger this:
116 env=Environment(CPPDEFINES=['a'])
117 env.Append(CPPDEFINES=['b'])
118 env.MergeFlags({'CPPDEFINES': 'c'})
121 RELEASE 4.5.1 - Mon, 06 Mar 2023 14:08:29 -0700
124 - Fix a problem in 4.5.0 where using something like the following code
125 will cause a Clone()'d environment to share the CPPDEFINES with the
126 original Environment() which was cloned. Causing leakage of changes
127 to CPPDEFINES when they should be completely independent after the Clone.
128 env=Environment(CPPDEFINES=['a'])
129 env.Append(CPPDEFINES=['b']) (or AppendUnique,Prepend,PrependUnique)
131 env1.Append(CPPDEFINES=['c']) (or any other modification, but not overwriting CPPDEFINES
132 Now env['CPPDEFINES'] will contain 'c' when it should not.
135 RELEASE 4.5.0 - Sun, 05 Mar 2023 14:08:29 -0700
137 From Anatoli Babenia:
138 - Do not initialize DefaultEnvironment when calling EnsureSConsVersion(),
139 EnsurePythonVersion(), Exit(), GetLaunchDir() and SConscriptChdir().
140 - Remove unused private method SConsEnvironment._exceeds_version().
143 - Added ValidateOptions() which will check that all command line options are in either
144 those specified by SCons itself, or by AddOption() in SConstruct/SConscript. It should
145 not be called until all AddOption() calls are completed. Resolves Issue #4187
146 - Refactored SCons/Taskmaster into a package. Moved SCons/Jobs.py into that package.
147 NOTE: If you hook into SCons.Jobs, you'll have to change that to use SCons.Taskmaster.Jobs
148 - Changed the Taskmaster trace logic to use python's logging module. The output formatting
149 should remain (mostly) the same. Minor update to unittest for this to adjust for 1 less newline.
150 - Migrated logging logic for --taskmastertrace to use Python's logging module. Added logging
151 to NewParallel Job class (Andrew Morrow's new parallel job implementation)
152 - Ninja: Fix execution environment sanitation for launching ninja. Previously if you set an
153 execution environment variable set to a python list it would crash. Now it
154 will create a string joining the list with os.pathsep
155 - Move execution environment sanitation from Action._subproc() to
156 SCons.Util.sanitize_shell_env(ENV)
157 - Moved rpm and debian directories under packaging
158 - Added logic to help packagers enable reproducible builds into packaging/etc/. Please
159 read packaging/etc/README.txt if you are interested.
160 - Added --experimental=tm_v2, which enables Andrew Morrow's new NewParallel Job implementation.
161 This should scale much better for highly parallel builds. You can also enable this via SetOption().
162 - Fixed command line argument --diskcheck: previously a value of 'none' was ignored.
163 SetOption('diskcheck','none') is unaffected, as it did not have the problem.
164 - Added overrides argument to SCons.Subst.scons_subst(), subst_list(), subst(), and Action's process(),
165 strfunction(). This allows passing a dictionary of envvars to override when evaluating subst()'d strings/lists
166 - Fixed Issue #4275 - when outputting compilation db and TEMPFILE was in use, the compilation db would have
167 command lines using the generated tempfile for long command lines, instead of the full command line for
168 the compilation step for the source/target pair.
169 - Renamed the qt tools to qt3 since the logic in that tool is only for QT version 3. Renamed all env vars
170 which affect qt3 from QT_ to QT3_. If you are still using SCons to build QT 3 code, you'll need to update
171 your SConscripts. Note that using 'qt' tool has been deprecated for some time.
174 - Added JAVAPROCESSORPATH construction variable which populates -processorpath.
175 - Updated JavaScanner to scan JAVAPROCESSORPATH.
177 From Nickolai Korshunov
178 - Added FILE_ENCODING, to allow explicitly setting the text encoding for files
179 written by the Textfile() and Substfile() builders. If not specified, Textfile() and Substfile() builders
180 will write files as UTF-8. Fixed Issue #4302.
182 From Dan Mezhiborsky:
183 - Add newline to end of compilation db (compile_commands.json).
186 - Added error message to handle the case when SCons attempts to retrieve all the targets
187 for a specified builder from the CacheDir, fails to do so, and then runs into an error
188 when deleting the files which were retrieved. Previously if this happened there was no
190 - Fix issue #2757, where Configure checks that perform a check which reads a modified source
191 (including program, source or header file(s)) would incorrectly mark that file "up to date" so the
192 actual build would not see the file as modified. Leading to incorrect incremental builds.
193 Now configure checks now clear node info for non conftest nodes, so they will be re-evaluated for
194 the real taskmaster run when the build commences.
197 - Avoid returning UniqueList for `children` and other `Executor` APIs. This type
198 iterates more slowly than the builtin types. Also simplify uniquer_hashables to
199 use an faster implementation under the assumption of ordered dictionaries.
202 - Fixed runtest.py failure on Windows caused by excessive escaping of the path to python.exe.
205 - Run LaTeX after biber/bibtex only if necessary
208 - Added -fsanitize support to ParseFlags(). This will propagate to CCFLAGS and LINKFLAGS.
211 - A list argument as the source to the Copy() action function is now
212 correctly handled by converting elements to string. Copy errors out
213 if asked to copy a list to an existing non-directory destination.
214 Both the implementation and the strfunction which prints the progress
215 message were adjusted. Fixes #3009.
216 - doc: EnsureSConsVersion, EnsurePythonVersion, Exit, GetLaunchDir and
217 SConscriptChdir are now listed as Global functions only; the
218 Environment versions still work but are not documented.
219 - The Java scanner processing of JAVACLASSPATH for dependencies was
220 changed to split on os.pathsep instead of space, to match usage of
221 passing a path string like "xxx:yyy:zzz". This is not portable -
222 passing a POSIX-style path string (with ':') won't work on Windows
223 (';') - which is now documented with a hint to use a list instead
224 to be portable. Splitting on space broke paths with embedded spaces.
226 - Cleanup: make sure BoolVariable usage in tests and examples uses Python
227 boolean values instead of 0/1.
228 - Stop telling people to run "python setup.py install" in the User Guide.
229 Adds new content on using virtualenvs to be able to have multiple
230 different SCons versions available on one system.
231 - Added the "DefaultEnvironment(tools=[])" stanza to a number of tests
232 that are known to be particularly slow. It's still just a tiny
233 speedup, but the Windows CI had been occasionally timing out,
234 so maybe this helps a bit.
235 - Remove an extra existence check in one ninja test that caused it
236 to be skipped on some otherwise-valid Windows installations.
237 - test framework tests now pass on Linux and Windows (the latter can
238 still run into problems on some configurations), and automated
239 tests are now run on changes in this area so future problems can
241 - The single-file Util module was split into a package with a few
242 functional areas getting their own files - Util.py had grown to
244 - Add a zipapp package of scons-local: can use SCons from a local
245 file which does not need unpacking.
246 - Additional explanations for MSVSProject and MSVSSolution builders.
247 - Fix a problem (present in 4.4.0 only) where a Java inner class could
248 not be cached because the emitted filename contained a '$' and when
249 looked up through a node ended up generating a Python SyntaxError
250 because it was passed through scons_subst().
251 - Have the gfortran tool do a better job of honoring user preferences
252 for the dialect tools (F77, F90, F03 and F09, as well as the shared-library
253 equivalents SHF77, SHF90, SHF03, SHF09). Previously these were
254 unconditionally overwritten to 'gfortran'; the change should be more
255 in line with expectations of how these variables should work.
256 Also cleaned a few Fortran tests - test behavior does not change.
257 - Updated MSVC documentation - adds "version added" annotations on recently
258 added construction variables and provides a version-mapping table.
259 - Add Python 3.12 support, and indicate 3.11/3.12 support in package.
260 3.12 is in alpha for this SCons release, the bytecode sequences
261 embedded in SCons/ActionTests.py may need to change later, but
262 based on what is known now, 3.12 itself should work with this release.
263 - Add "append" keyword argument to Configure context's CheckLib and
264 CheckLibWithHeader to control whether to append or prepend (issue #2767)
265 Also added "unique" keyword, to control whether a library is added
266 or not if it is already in the $LIBS construction var in the
267 configure context. (issue #2768).
268 - Completely refactored the CPPDEFINES logic in Append/AppendUnique/Prepend/PrependUnique
269 This change fixes the following GH Issues:
270 - GH Issue #3876 - Append() and AppendUnique() will handle CPPDEFINES the same
271 - GH Issue #4254 - Make handling tuples in CPPDEFINES consistent.
272 - We no longer sort the keys added to CPPDEFINES by their dictionary keys.
273 We take advantage that their order is now stable based on insertion order
275 - Added/modifed unit and system tests to verify these changes.
278 RELEASE 4.4.0 - Sat, 30 Jul 2022 14:08:29 -0700
281 - Verify that a user specified msvc script (via MSVC_USE_SCRIPT) exists and raise an exception
282 when the user specified msvc script does not exist.
283 - Fix issue where if you only had mingw installed on a Windows system and no MSVC compiler, and
284 did not explicitly request the mingw tool, mingw tool initialization would fail and set the
285 default compiler to MSVC which wasn't installed, yielding broken build.
286 Updated mingw tool so that the generate and exists methods use the same mingw search paths
288 - Update the debug output written to stdout for MSVC initialization which is enabled by setting
289 SCONS_MSCOMMON_DEBUG=- to use the logging module. Also changed the debug output format
290 written to stdout to include more information about the source for each message of MSVC
291 initialization debugging output. A single space was added before the message for all
292 debugging output records written to stdout and to files.
293 - Refactor the data definitions for msvc configurations to allow derived data structures to be
294 constructed during initialization that removes the need for special case handling during
295 runtime execution. Special case handling of host/target combinations is eliminated and
296 replaced with pre-computed search lists that implicitly handle the differences between full
297 versions and express versions of msvc. This fixes an issue where Express versions of the MSVC
298 compiler were not detected due to differences in initial msvc detection and msvc batch file
299 determination when configuring the build environment. This could lead to build failures when
300 only an MSVC Express instance is installed and the MSVC version is not explicitly specified
301 (issue #2668 and issue #2697).
302 - Added MSVC_USE_SETTINGS construction variable to pass a dictionary to configure the msvc compiler
303 system environment as an alternative to bypassing Visual Studio autodetection entirely.
304 - Added MSVC_SDK_VERSION construction variable which allows building with a specific Microsoft
305 SDK version. This variable is used with the msvc batch file determined via autodetection subject
306 to validation constraints. Refer to the documentation for additional requirements and validation
308 - Added MSVC_TOOLSET_VERSION construction variable which allows building with a specific toolset
309 version. This variable is used with the msvc batch file determined via autodetection subject to
310 validation constraints. This variable does not affect the autodetection and selection of msvc
311 instances. The toolset version is applied after an msvc instance is selected. This could be the
312 default version of msvc. Refer to the documentation for additional requirements and validation
313 details. Addresses issue #3265, issue #3664, and pull request #4149.
314 - Added MSVC_SPECTRE_LIBS construction variable which allows building with spectre-mitigated
315 Visual C++ libraries. This variable is used with the msvc batch file determined via autodetection
316 subject to validation constraints. Refer to the documentation for additional requirements and
318 - Added MSVC_SCRIPT_ARGS construction variable which specifies command line arguments that are
319 passed to the msvc batch file determined via autodetection subject to validation constraints.
320 Refer to the documentation for additional requirements and validation details. Addresses
321 enhancement issue #4106.
322 - An exception is raised when MSVC_UWP_APP is enabled for Visual Studio 2013 and earlier.
323 Previous behavior was to silently ignore MSVC_UWP_APP when enabled for Visual Studio 2013
324 and earlier. Refer to the documentation for additional requirements and validation details.
325 MSVC_UWP_APP was extended to accept True, False, and None in addition to '1' and '0'.
326 - The imported system environment variable names for MSVC 7.0 and 6.0 have been changed to the
327 names set by their respective installers. Prior to this change, bypassing MSVC detection by
328 specifying the MSVC 7.0 batch file directly would fail due to using an erroneous environment
329 variable name. Arguments are no longer passed to the MSVC 6.0 to 7.1 batch files as no
330 arguments are required and could improve the effectiveness of the internal MSVC cache.
331 - Propagate the OS and windir environment variables from the system environment to the msvc
332 environment. The OS and windir environment variables are used in the MSVC 6.0 batch file
333 and the SDK 6.0-7.1 SetEnv.cmd batch files. Inclusion of the OS and windir environment
334 variables eliminates some partial paths and warnings generated by the MSVC 6.0 and SDK
335 6.0-7.1 batch files when the variables are not defined.
336 Note: Attempting to run the SDK 6.0-7.1 batch files directly via MSVC_USE_SCRIPT can lead to
337 build failures and/or incomplete build environments. The SDK 6.0-7.1 batch files
338 require delayed expansion to be enabled which is currently not supported and is
339 typically not enabled by default on the host system. The batch files may also require
340 environment variables that are not included by default in the msvc environment.
341 - Suppress issuing a warning when there are no installed Visual Studio instances for the default
342 tools configuration (issue #2813). When msvc is the default compiler because there are no
343 compilers installed, a build may fail due to the cl.exe command not being recognized. At
344 present, there is no easy way to detect during msvc initialization if the default environment
345 will be used later to build a program and/or library. There is no error/warning issued for the
346 default tools as there are legitimate SCons uses that do not require a c compiler.
347 - Added a global policy setting and an environment construction variable for specifying the
348 action to be taken when an msvc request cannot be satisfied. The available options are "error",
349 "exception", "warning", "warn", "ignore", and "suppress". The global policy variable may be
350 set and retrieved via the functions msvc_set_notfound_policy and msvc_get_notfound_policy,
351 respectively. These two methods may be imported from SCons.Tool.MSCommon. The environment
352 construction variable is MSVC_NOTFOUND_POLICY. When defined, the environment construction
353 variable overrides the global policy setting for a given environment. When the active policy
354 is "error" or "exception", an MSVCVersionNotFound exception is raised. When the active policy
355 is "warning" or "warn", a VisualCMissingWarning warning is issued and the constructed
356 environment is likely incomplete. When the active policy is "ignore" or "suppress", no action
357 is taken and the constructed environment is likely incomplete. As implemented, the default
358 global policy is "warning". The ability to set the global policy via an SCons command-line
359 option may be added in a future enhancement.
360 - Added a global policy setting and an environment construction variable for specifying the
361 action to be taken when msvc script errors are detected. The available options are "error",
362 "exception", "warning", "warn", "ignore", and "suppress". The global policy variable may be
363 set and retrieved via the functions msvc_set_scripterror_policy and msvc_get_scripterror_policy,
364 respectively. These two methods may be imported from SCons.Tool.MSCommon. The environment
365 construction variable is MSVC_SCRIPTERROR_POLICY. When defined, the environment construction
366 variable overrides the global policy setting for a given environment. When the active policy
367 is "error" or "exception", an MSVCScriptExecutionError exception is raised when msvc batch file
368 errors are detected. When the active policy is "warning" or "warn", an MSVCScriptExecutionWarning
369 warning is issued when msvc batch file errors are detected. When the active policy is "ignore" or
370 "suppress", msvc batch error messages are suppressed. As implemented, the default global policy
371 is "ignore". The ability to set the global policy via an SCons command-line option may be added
372 in a future enhancement.
373 - Added experimental function msvc_query_version_toolset to SCons.Tool.MSCommon. Given a version
374 specification, this function will return an msvc version and an msvc toolset version. The msvc
375 toolset version may be None. The msvc version and msvc toolset version can be used in the
376 environment construction variables MSVC_VERSION and MSVC_TOOLSET_VERSION, respectively. The
377 version specification may be an msvc version or an msvc toolset version. This is a proxy for
378 using an msvc toolset version to select an msvc instance. This function may be removed when an
379 msvc toolset version is used during msvc instance selection.
380 - Modify the MSCommon logger configuration to be independent of the root logger. This fixes an issue
381 when multiple loggers are created and the MSCommon logger added computed fields to the root logger
382 that are not present in other logging instances.
383 - Modify the MSVC_USE_SCRIPT_ARGS test fixture to disable the msvc cache. This fixes an issue where
384 the MSVC_USE_SCRIPT_ARGS test for success relied on a debug log message that was not produced when
385 the msvc cache file exists and the test keys are already in the cache as the msvc script invocation
389 - Fix check for unsupported Python version. It was broken. Also now the error message
390 will include what is the minimum supported version of Python
391 - Fix ActionTests to work with python 3.10.1 (and higher)
392 NOTE: If you build with Python 3.10.0 and then rebuild with 3.10.1 (or higher), you may
393 see unexpected rebuilds. This is due to Python internals changing which changed
394 the signature of a Python Action Function.
395 - Fix a number of Python ResourceWarnings which are issued when running SCons and/or it's tests
396 with python 3.9 (or higher)
397 - Action._subproc() can now be used as a python context manager to ensure that the
398 POpen object is properly closed.
399 (Thanks to Mats Wichmann for catching that DummyPopen needed additional logic)
400 - Added project_url for mailing lists and Discord
401 - Updated project url in steup.cfg to be https instead of http
402 - Updated setup.cfg to remove Python 3.5 and add Python 3.10
403 - Added default values for source and target arguments to _defines() function. This
404 is used to expand CPPDEFINES (and others). Previous change added those arguments
405 with no defaults, so old usage where _defines() was called without source and target
406 arguments would yield an exception. This issue was found via qt4 and qt5 tools in
407 scons-contrib https://github.com/SCons/scons-contrib/issues/45
410 - Add JavaScanner to include JAVACLASSPATH as a dependency when using the Java tool.
411 - Fix incorrect Java classpath generation when a NodeList is used as part of any JAVA*PATH variables.
414 - Add cache-debug messages for push failures.
415 - Ninja: Changed generated build.ninja file to run SCons only build Actions via
416 a SCons Deamon. Added logic for starting and connecting to SCons daemon (currently
418 - Ninja: Fix issue where Configure files weren't being properly processed when build run
420 - Ninja: Added ninja mingw support and improved ninja CommandGeneratorAction support.
421 - Ninja: Update ninja file generation to only create response files for build commands
422 which exceed MAXLINELENGTH
423 - Ninja: Added NINJA_GENERATED_SOURCE_ALIAS_NAME which allows user to specify an
424 Alias() which the ninja tool can use to determine which files are generated sources.
425 If this is not set by the user then the ninja tool will still dynamically determine
426 which files are generated sources based on NINJA_GENERATED_SOURCE_SUFFIXES, and create
427 a phony target _ninja_generated_sources. Generated sources will be built first by
428 ninja. This is needed because ninja cannot determine which generated sources are
429 required by other build targets. Code contributed by MongoDB
430 The downstream commit is here:
431 https://github.com/mongodb/mongo/commit/2fef432fa6e7cf3fd4f22ba3b193222c2887f14f
432 - Ninja: Added special case for ninja scons daemon to work in win32 python3.6 environments.
433 This particular environment does a bad job managing popen standard file handles, so
434 some special workarounds are needed.
435 - Ninja:Added user configurable setting of ninja depfile format via NINJA_DEPFILE_PARSE_FORMAT.
436 Now setting NINJA_DEPFILE_PARSE_FORMAT to [msvc,gcc,clang] can force the ninja expected
437 format. Compiler tools will also configure the variable automatically.
438 - Ninja: Made ninja tool force the ninja file as the only target.
439 - Ninja: Improved the default targets setup and made sure there is always a default target for
440 the ninja file, which excludes targets that start and stop the daemon.
441 - Ninja: Update ninja tool so targets passed to SCons are propagated to ninja when scons
442 automatically executes ninja.
443 - Small refactor of scons daemons using a shared StateInfo class for communication
444 between the scons interactive thread and the http server thread. Added error handling
445 for scons interactive failing to startup.
446 - Ninja: Updated ninja scons daemon scripts to output errors to stderr as well as the daemon log.
447 - Ninja: Fix typo in ninja scons daemon startup which causes ConnectionRefusedError to not retry
448 - Added SHELL_ENV_GENERATORS construction variable. This variable should be set to a list
449 (or an iterable) which contains functions to be called in order
450 when constructing the execution environment (Generally this is the shell environment
451 variables). This allows the user to customize how (for example) PATH is constructed.
452 Note that these are called for every build command run by SCons. It could have considerable
453 performance impact if not used carefully.
454 to connect to the server during start up.
455 - lex: Fixed an issue with the lex tool where file arguments specified to either "--header-file="
456 or "--tables-file=" which included a space in the path to the file would be processed incorrectly
457 - Ninja: added option "--skip-ninja-regen" to enable skipping regeneration of the ninja file
458 if scons can determine the ninja file doesnot need to be regenerated, which will also
459 skip restarting the scons daemon. Note this option is could result in incorrect rebuilds
460 if scons Glob or scons generated files are used in ninja build target's command lines.
461 - Ninja: Added new alias "shutdown-ninja-scons-daemon" to allow ninja to shutdown the daemon.
462 Also added cleanup to test framework to kill ninja scons daemons and clean ip daemon logs.
463 NOTE: Test for this requires python psutil module. It will be skipped if not present.
464 - Ninja: Added command line variable NINJA_CMD_ARGS that allows to pass through ninja command line args.
465 This can also be set in your Environment().
468 - Tweak the way default site_scons paths on Windows are expressed to
469 conform to conventions (what they actually resolve to is unchanged),
470 drop a Py2 workaround, and pick a better "system" path, old one
471 remains supported (%AllUsersProfile%\scons\site_scons vs old
472 %AllUsersProfile%\Application Data\scons\site_scons).
473 - Fix testsuite to work on Windows systems where there is no usable
474 association for running .py files directly. There are a few tests where
475 we need to do this for internal reasons, those are skipped in that case.
476 Bad association could mean some other tool took it over (Visual
477 Studio Code is known to do this), or no association at all.
478 - Updated debug code in MSVC and MSVS tools to conform to the
479 suggested "lazy interpolation" use of the Python logging module.
480 Calls now look like 'debug("template %s", text)' rather than
481 'debug("template %s" % text)' so the logging system does the
482 interpolation only when/if needed (was a pylint warning).
483 - Update Help (-H) output a bit. Drop "ignored for compat" entry.
484 Pass window size to formatter so it formats for wider displays too.
485 - runtest.py now accepts -j 0 to auto-detect number of usable
486 processors for testing threads.
487 - Fixed crash in C scanner's dictify_CPPDEFINES() function which happens if
488 AppendUnique is called on CPPPATH. (Issue #4108).
489 - The MSVC script_env_cache now contains a sanity check: if the retrieved
490 tools path does not exist, the entry is invalidated so it will
491 be recomputed, in an attempt to avoid scons failing when certain
492 compiler version bumps have taken place. The dictionary key (uses
493 the name of a batch file and any arguments which may have been
494 passes), is now computed a bit differently: the dashes are left
495 off if there are no arguments. The default cachefile is changed
496 to have a .json suffix, for better recognition on Windows since
497 the contents are json.
498 - As "code modernization" all of SCons now uses the current super()
499 zero-argument syntax instead of direct calls to a parent class method
500 or the super() two-argument syntax.
501 - Renamed ParseFlag's internal data structure to "mapping" instead of
502 "dict" (avoid redefining builtin)
503 - Fix an old use-before-set bug in tex tool (issue #2888)
504 - Fix a test harness exception returning stderr if a wait_for timed out.
505 - ParseConfig now correctly passes the *unique* flag to a user-supplied
506 flag-merging function.
507 - Restore the ability of the content-timestamp decider to see that a
508 a source which is a symlink has changed if the file-system target of
509 that link has been modified (issue #3880)
510 - Modernize a few tests that use now-deprecated unittest.getTestCaseNames
511 and unittest.makeSuite - Python itself suggests the replacements.
512 - SCons.Tool.find_program_path now takes an optional add_path argument
513 to add a path to the execution environment if it was discovered in
514 default_paths. Previously, the routine, called by many tool modules,
515 never altered the execution environment, leaving it to the tools.
516 - A new construction variable FORTRANCOMMONFLAGS is added which is
517 applied to all Fortran dialects, in case someone needs to set some
518 flags globally. FORTRANFLAGS looked like it was intended for that,
519 but was not applied to other dialects, and e2e tests explicitly checked
520 that FORTRANFLAGS did not propagate outside the FORTRAN dialect,
521 so the conclusion is that behavior is intentional (issue #2257)
522 - SCons programmatic importing (tool modules and platform modules)
523 no longer uses the deprecated (since Py 3.10) importlib.load_module
524 routine, shifting to the preferred exec_module. Old Python 2 compatible
525 import fallback (using the imp module) in tool module loading is dropped.
526 Tool module loading no longer special-cases Jython, which is a dead
527 project as far as SCons (no timeline in sight for Python 3 support).
528 - Improvements to lex and yacc tools: better documentation of
529 extra-file options, add test for extra-file behavior.
530 - Two new construction variables are introduced for lex (LEX_HEADER_FILE
531 and LEX_TABLES_FILE) as the preferred way of specifying these extra-file
533 - Two new construction variables are introduced for yacc
534 (YACC_HEADER_FILE and YACC_GRAPH_FILE) as the preferred way of
535 specifying these extra-file options.
539 - Added MSVC_USE_SCRIPT_ARGS variable to pass arguments to MSVC_USE_SCRIPT.
540 - Added Configure.CheckMember() checker to check if struct/class has the specified member.
542 From Ivan Kravets, PlatformIO:
543 - Conditional C/C++ Preprocessor: Strip shell's backslashes from the computed include (-DFOO_H=\"foo.h\")
545 RELEASE 4.3.0 - Tue, 16 Nov 2021 18:12:46 -0700
547 From Jacob Cassagnol:
548 - Default hash algorithm check updated for SCons FIPS compliance. Now checks for hash viability
549 first and then walks the tree to use the first viable hash as the default one. This typically
550 selects SHA1 on FIPS-enabled systems less than Python 3.9 as the new default instead of MD5,
551 unless SHA1 has also been disabled by security policy, at which point SCons selects SHA256
552 as the default. For systems running Python 3.9 and later, the hashlib bug has been fixed,
553 and SCons will once again default to MD5 as the preferred algorithm.
556 - Fix MSVS tests (vs-N.N-exec.py) for MSVS 6.0, 7.0, and 7.1 (import missing module).
557 - Add support for Visual Studio 2022.
560 - Fix reproducible builds. Restore logic respecting SOURCE_DATE_EPOCH when set.
561 - Fix version tests to work with updated scons --version output. (Date format changed)
562 - Fix issue #4021. Change the way subst() is used in Textfile() to not evaluate '$$(' -> '$',
563 but instead it should yield '$('.
564 - Change SCons.Platform.win32.get_architecture() to return platform.platform() when run in an
565 environment where neither: PROCESSOR_ARCHITEW6432 nor PROCESSOR_ARCHITECTURE is set.
566 This should fix platform tests which started failing when HOST_OS/HOST_ARCH changes
567 introduced by Aaron Franke (listed below) were merged.
568 - Further PCH updates. It's now recommended that env['PCH'] should always be a File node.
569 Either via return value from env.PCH() or by explicitly using File('StdAfx.pch').
570 - Added --no-ignore-skips to runtest.py. Changed default to ignore skips when setting
571 runtest.py's exit status. Previously would exit 2 if any tests were skipped.
572 Now will only exit 2 if user specifies --no-ignore-skips and some tests were skipped.
575 - Small fix to ensure CLVar default value is an empty list.
576 See MongoDB bug report: https://jira.mongodb.org/browse/SERVER-59656
577 Code contributed by MongoDB.
578 - Ninja - Fixed an issue where if you control-c and/or killed ninja while it was running scons to
579 regenerate build.ninja you would end up with no build.ninja file and have to rerun scons from scratch.
580 Code contributed by MongoDB.
583 - Define HOST_OS and HOST_ARCH in the environment for all platforms.
584 Before this change, these were only defined for Win32 and OS/2.
587 - Fix ninja tool to never use for_sig substitution because ninja does not use signatures. This
588 issue affected CommandGeneratorAction function actions specifically.
589 - Expanded ninja Mkdir to also support Mkdir actions.
590 - Added support for the PCH environment variable to support subst generators.
591 - Fix command line escaping for ninja dollar sign escape. Without escaping ninja properly,
592 the ninja file scons regenerate and callback invocations will lose the $ characters used in
593 the scons command line which ninja uses itself for escaping. For Example:
594 scons BUILD=xyz OTHERVAR=$BUILD
595 Prior to this fix, it would cause ninja to fail to escape the dollar sign, leading to the
596 single dollar sign being used as a ninja escape character in the ninja file.
599 - Added ninja API 'NINJA_FORCE_SCONS_BUILD' to force a node to callback to scons.
602 - Two small Python 3.10 fixes: one more docstring turned into raw
603 because it contained an escape; updated "helpful" syntax error message
604 from 3.10 was not expected by SubstTests.py and test/Subst/Syntax.py
605 - EmitterProxy rich comparison set is completed (checker warning).
606 Added __le__, __gt__, __ge__.
607 - Fix gcc/g++ tool failing if "gcc --version" returns text which fails
608 to_String conversion (i.e., not UTF-8) - failure happens when tool
609 initialization checks version. For gcc, the initial version string is
610 not translated, for the rest, don't convert, just consume raw and discard.
611 - Maintenance and doc: modernize some usage in Scanner package,
612 calling super(), switching some imitialization to comprehensions,
613 and code formatting. Docstring for scanner Base moved from
614 init-method to class-level so it's picked up by Sphinx.
615 Added new sconsign filenames to skip_entry_list in Scanner/Dir.py
616 - Change SCons.Scanner.Base to ScannerBase. Old name kept as an alias
617 but is now unused in SCons itself.
618 - Call Variables option converter consistently - the converter should
619 have access to the env if it needs to (issue #2064).
620 - Fixed the variables Add() method to accept a tuple for the variable
621 name the same way AddVariables() does (issue #3869).
622 - The premade validator PathIsDirCreate for for PathVariable now catches
623 the case where the directory could not be created due to permission
624 problems, allowing a more helpful error to be emitted (issue #2828)
625 - Maintenance: Python thread.setDaemon is deprecated in favor of
626 directly updating daemon attribute - update SCons to do this.
627 - Make sure when subst'ing a callable, the callable is called with
628 the correct for_signature value, previously it would be true even
629 if doing SUBST_RAW (issue #4037)
630 - Update Util/NodeList implementation to get rid of a workaround for
631 early Python 3 slicing issue that is no longer a problem.
632 - Rework some Java tests to skip rather than fail on CI systems, where
633 the working java is > v9, but a 1.8 or 9 was also found.
634 - Java updates: on Windows, detect more default JDK install locations.
635 On all platforms, more Java versions (up to 17.0 now). Add more information
636 on version selection to docs.
637 Update docs on JavaH tool in light of javah command dropped since 10.0.
638 Try to be better about preserving user's passed-in JAVA* construction vars.
639 - Start the deprecation of the qt tool, which refers to Qt3 (usupported
640 since around 2006). There's a deprecation warning added, initially
641 defaulting to disabled.
643 From Brian Quistorff:
644 - Fix crash when scons is run from a python environement where a signal
645 is set from outside Python.
648 RELEASE 4.2.0 - Sat, 31 Jul 2021 18:12:46 -0700
651 - Fix Install() issue when copytree recursion gives bad arguments that can
652 lead to install side-effects including keeping dangling symlinks and
653 silently failing to copy directories (and their subdirectories) when the
654 directory already exists in the target.
657 - Internal MSVS update: Remove unnecessary calls to find all installed versions of msvc
658 when constructing the installed visual studios list.
661 - Improve Subst()'s logic to check for proper callable function or class's argument list.
662 It will now allow callables with expected args, and any extra args as long as they
663 have default arguments. Additionally functions with no defaults for extra arguments
664 as long as they are set using functools.partial to create a new callable which set them.
665 - Fix Issue #3035 - mingw with SHLIBVERSION set fails with either not a dll error or
666 "Multiple ways to build the same target were specified for:". Now mingw will disable
667 creating the symlinks (and adding version string to ) dlls. It sets SHLIBNOVERSIONSYMLINKS,
668 IMPLIBNOVERSIONSYMLINKS and LDMODULENOVERSIONSYMLINKS to True.
669 - Added --experimental flag, to enable various experimental features/tools. You can specify
670 'all', 'none', or any combination of available experimental features.
671 - Fix Issue #3933 - Remove unguarded print of debug information in SharedLibrary logic when
672 SHLIBVERSION is specified.
673 - Fix versioned shared library naming for MacOS platform. (Previously was libxyz.dylib.1.2.3,
674 has been fixed to libxyz.1.2.3.dylib. Additionally the sonamed symlink had the same issue,
675 that is now resolved as well)
676 - Add experimental ninja builder. (Contributed by MongoDB, Daniel Moody and many others).
677 - Fix #3955 - _LIBDIRFLAGS leaving $( and $) in *COMSTR output. Added affect_signature flag to
678 _concat function. If set to False, it will prepend and append $( and $). That way the various
679 Environment variables can use that rather than "$( _concat(...) $)".
680 - Fix issue with exparimental ninja tool which would fail on windows or when ninja package wasn't
681 installed but --experimental=ninja was specified.
682 - As part of experimental ninja tool, allow SetOption() to set both disable_execute_ninja and
686 - Fix Issue #3906 - `IMPLICIT_COMMAND_DEPENDENCIES` was not properly disabled when
687 set to any string value (For example ['none','false','no','off'])
688 Also previously 'All' wouldn't have the desired affect.
691 - Provide a custom argument escape function for `TempFileMunge` using a new
692 `TEMPFILEARGESCFUNC` variable. Useful if you need to apply extra operations on
693 a command argument before writing to a temporary file (fix Windows slashes,
694 normalize paths, etc.)
697 - DocbookXslt tool: The XSLT stylesheet file is now initialized to an env.File() Node,
698 such that dependencies work correctly in hierarchical builds (eg when using
699 DocbookXslt in SConscript('subdir/SConscript') context.
702 - Update CacheDir to use uuid for tmpfile uniqueness instead of pid.
703 This fixes cases for shared cache where two systems write to the same
704 cache tmpfile at the same time because the happened to get the same pid.
705 - Added support for passing custom CacheDir derived classes to SCons. Moved
706 copy_from_cache attribute from the Environment class to CacheDir class.
707 Code contributed by MongoDB.
708 - Update BuildTask to pass all targets to the progress object fixing an issue
709 where multi-target build nodes only got the first target passed to the progress
711 - Fix a potential race condition in shared cache environments where the permissions are
712 not writeable for a moment after the file has been renamed and other builds (users) will copy
713 it out of the cache. Small reorganization of logic to copy files from cachedir. Moved CacheDir
714 writeable permission code for copy to cache behind the atomic rename operation.
715 - Added marking of intermediate and and multi target nodes generated from SConf tests so that
716 is_conftest() is more accurate.
717 - Added test for configure check failing to ensure it didn't break generating and running ninja.
721 - Initial support in tests for Python 3.10 - expected bytecode and
722 one changed expected exception message. Change some more regexes
723 to be specified as rawstrings in response to DeprecationWarnings.
724 - Add an example of adding an emitter to User Guide (concept
726 - Add timing information for sconsign database dump when --debug=time
727 is selected. Also switch to generally using time.perf_counter,
728 which is the Python recommended way for timing short durations.
729 - Drop remaining definitions of dict-like has_key methods, since
730 Python 3 doesn't have a dictionary has_key (maintenance)
731 - Do not treat --site-dir=DIR and --no-site-dir as distinct options.
732 Allows a later instance to override an earlier one.
733 - Ignore empty cmdline arguments when computing targets (issue 2986)
734 - Remove long-deprecated construction variables PDFCOM, WIN32_INSERT_DEF,
735 WIN32DEFPREFIX, WIN32DEFSUFFIX, WIN32EXPPREFIX, WIN32EXPSUFFIX.
736 All have been replaced by other names since at least 1.0.
737 - Add a __iadd__ method to the CLVar class so that inplace adds
738 (+=) also work as expected (issue 2399)
739 - Remove local copy of CLVar in EnvironmentTests unittest file -
740 should be testing against the production version, and they
741 didn't really differ.
742 - Don't strip spaces in INSTALLSTR by using raw subst (issue 2018)
743 - Deprecate Python 3.5 as a supported version.
744 - CPPDEFINES now expands construction variable references (issue 2363)
745 - Restore behavior that Install()'d files are writable (issue 3927)
746 - Simplified Mkdir(), the internal mkdir_func no longer needs to handle
747 existing directories, it can now pass exist_ok=True to os.makedirs().
748 - Avoid WhereIs exception if user set a tool name to empty (from issue 1742)
749 - Maintenance: remove obsolete __getslice__ definitions (Py3 never calls);
750 add Node.fs.scandir to call new (Py3.5) os.scandir; Node.fs.makedirs
751 now passes the exist_ok flag; Cachedir creation now uses this flag.
752 - Maintenance: remove unneeded imports and reorganize some. Fix uses
753 of warnings in some tools which instantiated the class but did nothing
754 with them, need to instead call SCons.Warnings.warn with the warn class.
755 - Drop overridden changed_since_last_build method in Value class.
756 - Resync the SetOption implementation and the manpage, making sure new
757 options are available and adding a notes column for misc information.
758 SetOption equivalents to --hash-chunksize, --implicit-deps-unchanged
759 and --implicit-deps-changed are enabled.
760 - Add tests for SetOption failing on disallowed options and value types.
761 - Maintenance: eliminate lots of checker complaints about Util.py.
762 - Maintenance: fix checker-spotted issues in Environment (apply_tools)
763 and EnvironmentTests (asserts comparing with self).
764 For consistency, env.Tool() now returns a tool object the same way
766 - Change SConscript() missing SConscript behavior - if must_exist=False,
767 the warning is suppressed.
768 - Make sure TEMPFILEPREFIX can be set to an empty string (issue 3964)
771 - Add support for the (TARGET,SOURCE,TARGETS,SOURCES,CHANGED_TARGETS,CHANGED_SOURCES}.relpath property.
772 This will provide a path relative to the top of the build tree (where the SConstruct is located)
776 - Fix issue #3790: Generators in CPPDEFINES now have access to populated source
779 RELEASE 4.1.0 - Tues, 19 Jan 2021 15:04:42 -0700
782 - Add COMPILATIONDB_PATH_FILTER env option for CompilationDatabase() builder which allows
783 filtering of entries based on the output file paths using glob style file matching (issue #3742).
786 - Internal MSVC and test updates: Rework the msvc installed versions cache so that it
787 is not exposed externally and update external references accordingly.
788 - Modify the MSCommon internal-use only debug logging records to contain the correct relative
789 file path when the debug function is called from outside the MSCommon module.
792 - Fix yacc tool, not respecting YACC set at time of tool initialization.
793 - Refactor SCons.Tool to move all common shared and loadable module linking logic to SCons.Tool.linkCommon
794 - Remove pywin32 imports from SCons.Script.Main. No longer needed.
795 - Switch to use ctypes instead of pywin32 (requiring an extra pip install) - Fixes Github Issue #2291
796 - pywin32 no longer necessary for SCons install. (pip install SCons will no longer also require pywin32 on win32)
797 - Remove pywin32 usage from SCons.Util where it was used for accessing the registry. Python native winreg
798 library already includes this functionality.
799 - Remove using pywin32 to retrieve peak memory usage on Win32 for `--debug=memory`
800 - Fix Issue #3759 - include scons.1, sconsign.1, scons-time.1 manpages in sdist and wheel packages.
801 - Change SCons's build so the generated `SCons/__init__.py` is no longer removed by `scons -c`
802 - Completely rewrote versioned shared libraries logic. Added support for SOVERSION via dmoody's initial PR #3733
803 - No longer automatically disable setting SONAME on shared libraries on OpenBSD.
804 - Fix race condition bug when initializing a scons cache directory at the
805 same time from multiple threads or processes. Problem described in PR #3114.
806 This is a simpler fix which should avoid some problems identified with the initial PR.
807 (Credit to Fredrik Medley for reporting the issue, the initial PR, and discussing and testing
809 - Minor edits to User Guide and manpage's header with copyright, released date changed.
812 - Fix dvipdf test failure due to passing incorrect flag to dvipdf.
815 - Fix minor bug affecting SCons.Node.FS.File.get_csig()'s usage of the MD5 chunksize.
816 User-facing behavior does not change with this fix (GH Issue #3726).
817 - Fix occasional test failures caused by not being able to find a file or directory fixture
818 when running multiple tests with multiple jobs.
819 - Added support for a new command-line parameter `--hash-format` to override the default
820 hash format that SCons uses. It can also be set via `SetOption('hash_format')`. Supported
821 values are: `md5`, `sha1`, and `sha256`. For all hash formats other than
822 the default of `md5`, the SConsign database will include the name of the hash format.
823 For example, `--hash-format=sha256` will create a SConsign with name
824 `.sconsign_sha256.dblite.`.
825 - Fix incorrect cache hits and/or misses when running in interactive mode by having
826 SCons.Node.Node.clear() clear out all caching-related state.
827 - Change Environment.SideEffect() to not add duplicate side effects.
828 NOTE: The list of returned side effect Nodes will not include any duplicate side effect Nodes.
829 - Add support to the Python scanner for finding dynamically generated dependencies.
830 Previously the scanner only found imports if they existed on disk at scanning time.
833 - Add ZIP_OVERRIDE_TIMESTAMP env option to Zip builder which allows for overriding of the file
834 modification times in the archive.
835 - Fix Zip builder not rebuilding when ZIPROOT env option was changed.
838 - Fix python3 crash when Value node get_text_content when child content does not have decode()
839 NOTE: If you depend on Value node's get_text_content returning concatenated contents of it's
840 children. This may break your code. It now concatenates the csig() of all children.
842 From Joachim Kuebart:
843 - Suppress missing SConscript deprecation warning if `must_exist=False`
847 - Fix Zip tool to respect ZIPCOMSTR. Previously all zip builder calls would yield something
848 like zip(["test.zip"], ["zip_scons.py"]) and ignore ZIPCOMSTR if ZIPCOM and ZIPCOMSTR
849 weren't set after the Environment/Tool is initialized. (Explained in PR #3659)
852 - Fix issue where java parsed a class incorrectly from lambdas used after a new.
855 - Fix using TEMPFILE in multiple actions in an action list. Previously a builder, or command
856 with an action list like this:
857 ['${TEMPFILE("xxx.py -otempfile $SOURCE")}', '${TEMPFILE("yyy.py -o$TARGET tempfile")}']
858 Could yield a single tempfile with the first TEMPFILE's contents, used by both steps
862 - Complete tests for Dictionary, env.keys() and env.values() for
863 OverrideEnvironment. Enable env.setdefault() method, add tests.
864 - Raise an error if an option (not otherwise consumed) is used which
865 looks like an abbreviation of one one added by AddOption. (#3653)
866 - Tool module not found will now raise a UserError to more clearly indicate this is
867 probably an SConscript problem, and to make the traceback more relevant.
868 - Fix three issues with MergeFlags:
869 - Signature/return did not match documentation or existing usage - the implementation
870 now no longer returns the passed env
871 - merging --param arguments did not work (issue #3107);
872 - passing a dict to merge where the values are strings failed (issue #2961).
873 - Include previously-excluded SideEffect section in User Guide.
874 - Clean up unneeded imports (autoflake tool).
875 - Make sure cProfile is used if profiling - SCons was expecting
876 the Util module to monkeypatch in cProfile as profile if available,
877 but this is no longer being done.
878 - Cleanup in SCons.Util.AddMethod. If called with an environment instance
879 as the object to modify, the method would not be correctly set up in
880 any Clone of that instance. Now tries to detect this and calls
881 MethodWrapper to set up the method the same way env.AddMethod does.
882 MethodWrapper moved to Util to avoid a circular import. Fixes #3028.
883 - Some Python 2 compatibility code dropped
884 - Rework runtest.py to use argparse for arg handling (was a mix
885 of hand-coded and optparse, with a stated intent to "gradually port").
886 - Add options to runtest to generate/not generate a log of failed tests,
887 and to rerun such tests. Useful when an error cascades through several
888 tests, can quickly try if a change improves all the fails. Dropped
889 runtest test for fallback from qmtest, not needed; added new tests.
890 - Eliminate tex tool usage of "for foo in range(len(iterable))"
891 - Restore internal Trace function to functional state.
892 - Only try to initialize the wix tool by default (or when tool `default` is explicitly installed)
893 on Windows based systems.
894 - Pick a better "Topic" Trove classifier for SCons: SW Dev / Build Tools
895 - Use os.replace instead of os.rename in dblite so don't need to
896 special-case Windows here. dblite is the default storage engine for the SConsign file(s).
897 - Fix cut-n-paste error in msvc debug printout and make some debug output
898 in msvs and msvsTests.py be off until needed (uncomment to use)
899 - Fix Issue #3014 - Empty file and missing file have same csig
900 - Refactor env.Append/Prepend to remove Py 1.5 era need to nest
901 try blocks, can now "continue" at the appropriate places.
902 - Add /snap/bin to env['PATH'] on POSIX, although this is only
903 really useful for a subset of POSIX systems that use snaps.
904 Was needed for CI builds, which run on Ubuntu LTS images.
905 - Eliminate Py2-ism __nonzero__ (now __bool__). Work around issue #3860
906 where a check for BuilderBase raising exc. on __bool__ was optimized out.
907 This issue was found due to a bug in Python 3.10.0a4. See issue #3860 for details.
910 RELEASE 4.0.1 - Mon, 16 Jul 2020 16:06:40 -0700
913 - Fix fortran tools to set SHFORTRAN variables to $FORTRAN, similarly SHF77, SHF90, SHF95,
914 SHF03 and SHF08 will default to the variables $F77, $F90, $F95, $F03 and $F08 respectively.
915 If you were depending on changing the value of FORTRAN (or $F[0-9][0-9]) having no effect
916 on the value of SHFORTRAN, this change will break that. The values of FORTRAN, F77, F90,
917 F95, F03, F08 and SHFORTRAN, SHF77 (etc.) now are not overridden in generate if alredy set
919 - Fix subprocess execution of 'lslpp' on AIX to produce text standard i/o.
920 - Re-do the fix for suncxx tool (Oracle Studio compiler) now that only Python 3 is supported,
921 to avoid decoding errors.
924 - Added Environment() variable TEMPFILEDIR which allows setting the directory which temp
925 files createdby TEMPFILEMUNGE are created in.
928 - Added method on Node to test if its node used in SConf. (Github Issue #3626)
932 RELEASE 4.0.0 - Sat, 04 Jul 2020 12:00:27 +0000
935 - Updated documentation toolchain to work properly under Python3, also
936 removed libxslt support from the Docbook Tool. (issue #3580)
937 - Added Docker images for building and testing SCons. (issue #3585)
941 - Improve Visual Studio solution/project generation code to add support
942 for a per-variant cppflags. Intellisense can be affected by cppflags,
943 this is especially important when it comes to /std:c++* which specifies
944 what C++ standard version to target. SCons will append /Zc:__cplusplus
945 to the project's cppflags when a /std:c++* flag is found as this is
946 required for intellisense to use the C++ standard version from cppflags.
949 - Specify UTF-8 encoding when opening Java source file as text. By default, encoding is the output
950 of locale.getpreferredencoding(False), and varies by platform.
953 - MSVC updates: When there are multiple product installations (e.g, Community and
954 Build Tools) of MSVC 2017 or MSVC 2019, an Enterprise, Professional,
955 or Community installation will be selected before a Build Tools installation when
956 "14.1" or "14.2" is requested, respectively. (GH Issue #3699).
957 - MSVC updates: When there are multiple product installations of MSVC 2017 (e.g.,
958 Community and Express), 2017 Express is no longer returned when "14.1" is
959 requested. Only 2017 Express will be returned when "14.1Exp" is requested.
961 - MSVC updates: An MSVC 6.0 installation now appears in the installed versions list
962 when msvc debug output is enabled (GH Issue #3699).
963 - MSVS test updates: Tests for building a program using generated MSVS project and
964 solution files using MSVS 2015 and later now work as expected on x86 hosts.
965 - Test update: Reduce the number of "false negative" test failures for the interactive
966 configuration test (test/interactive/configure.py).
967 - MSVS update: Fix the development environment path for MSVS 7.0.
970 - Fix broken clang + MSVC 2019 combination by using MSVC configuration logic to
971 propagate'VCINSTALLDIR' and 'VCToolsInstallDir' which clang tools use to locate
972 header files and libraries from MSVC install. (Fixes GH Issue #3480)
973 - Added C:\msys64\mingw64\bin to default mingw and clang windows PATH's. This
974 is a reasonable default and also aligns with changes in Appveyor's VS2019 image.
975 - Drop support for Python 2.7. SCons will be Python 3.5+ going forward.
976 - Change SCons.Node.ValueWithMemo to consider any name passed when memoizing Value() nodes
977 - Fix Github Issue #3550 - When using Substfile() with a value like Z:\mongo\build\install\bin
978 the implementation using re.sub() would end up interpreting the string and finding regex escape
979 characters where it should have been simply replacing existing text. Switched to use string.replace().
980 - Fix Github Issue #2904 - Provide useful error message when more than one Configure Contexts are opened.
981 Only one open is allowed. You must call conf.Finish() to complete the currently open one before creating another
982 - Add msys2 installed mingw default path to PATH for mingw tool.
983 - C:\msys64\mingw64\bin
984 - Purge obsolete internal build and tooling scripts
985 - Allow user specified location for vswhere.exe specified by VSWHERE.
986 NOTE: This must be set at the time the 'msvc' 'msvs' and/or 'mslink' tool(s) are initialized to have any effect.
987 - Resolve Issue #3451 and Issue #3450 - Rewrite SCons setup.py and packaging. Move script logic to entry points so
988 package can create scripts which use the correct version of Python.
989 - Resolve Issue #3248 - Removing '-Wl,-Bsymbolic' from SHLIBVERSIONFLAGS
990 NOTE: If your build depends on the above you must now add to your SHLIBVERSIONFLAGS
991 - Speedup bin/docs-update-generated by caching parsed docbook schema. (60x speedup)
992 - Reorganized source tree. Moved src/engine/SCons to SCons to be more in line with current Python source
993 tree organization practices.
994 - Renamed as.py to asm.py and left redirecting tool. 'as' is a reserved word and so
995 changing the name was required as we wanted to import symbols for use in compilation_db
997 - Add CompilationDatabase() builder in compilation_db tool. Contributed by MongoDB.
998 Setting COMPILATIONDB_USE_ABSPATH to True|False controls whether the files are absolute or relative
999 paths. Address Issue #3693 and #3694 found during development.
1000 - Fixed Github Issue 3628 - Hardcoding pickle protocol to 4 (supports python 3.4+)
1001 and skipping Python 3.8's new pickle protocol 5 whose main advantage is for out-of-band data buffers.
1002 NOTE: If you used Python 3.8 with SCons 3.0.0 or above, you may get a a pickle protocol error. Remove your
1003 .sconsign.dblite. You will end up with a full rebuild.
1005 From Andrii Doroshenko:
1006 - Extended `Environment.Dump()` to select a format to serialize construction variables (pretty, json).
1009 - Updated design doc to use the correct syntax for Depends()
1012 - Added support for scanning multiple entries in an action string if
1013 IMPLICIT_COMMAND_DEPENDENCIES is set to 2 or 'all'. This enables more thorough
1014 action scanning where every item in each command line is scanned to determine
1015 if it is a non-source and non-target path and added to the list of implicit dependencies
1017 - Added support for taking instances of the Value class as implicit
1019 - Added new module SCons.Scanner.Python to allow scanning .py files.
1020 - Added support for explicitly passing a name when creating Value() nodes. This may be useful
1021 when the value can't be converted to a string or if having a name is otherwise desirable.
1022 - Fixed usage of abspath and path for RootDir objects on Windows. Previously
1023 env.fs.Dir("T:").abspath would return "T:\T:" and now it correctly returns "T:".
1025 From Ivan Kravets, PlatformIO
1026 - New conditional C Scanner (`SCons.Scanner.C.CConditionalScanner()`)
1027 which interprets C/C Preprocessor conditional syntax (#ifdef, #if, #else,
1028 #elif, #define, etc.)
1029 - Improvements for virtual C Pre-Processor:
1030 * Handle UNSIGNED LONG and LONG numeric constants in DEC (keep support for HEX)
1031 * Skip unrecognized directives, such as `#if( defined ...)`
1032 * Ignore `#include DYNAMIC_INCLUDE` directive that depends on a dynamic
1033 macro which is not located in a state TABLE.
1034 * Cleanup CPP expressions before evaluating (strip comments, carriage returns)
1037 - Added a new flag called "linedraw" for the command line argument "--tree"
1038 that instructs scons to use single line drawing characters to draw the dependency tree.
1041 - Add no_progress (-Q) option as a set-able option. However, setting it in the
1042 SConstruct/SConscript will still cause "scons: Reading SConscript files ..." to be
1043 printed, since the option is not set when the build scripts first get read.
1044 - Added check for SONAME in environment to setup symlinks correctly (Github Issue #3246)
1045 - User callable's called during substition expansion could possibly throw a TypeError
1046 exception, however SCons was using TypeError to detect if the callable had a different
1047 signature than expected, and would silently fail to report user's exceptions. Fixed to
1048 use signature module to detect function signature instead of TypeError. (Github Issue #3654)
1049 - Added storage of SConstructs and SConscripts nodes into global set for checking
1050 if a given node is a SConstruct/SConscript.
1051 Added new node function SCons.Node.is_sconscript(self) (Github Issue #3625)
1054 - Fix Issue #3469 - Fixed improper reuse of temporary and compiled files by Configure when changing
1055 the order and/or number of tests. This is done by using the hash of the generated temporary files
1056 content and (For the target files) the hash of the action.
1057 So where previously files would be named:
1058 - config_1.c, config_1.o, config_1
1059 The will now be named (For example)
1060 - conftest_68b375d16e812c43e6d72d6e93401e7c_0.c,
1061 conftest_68b375d16e812c43e6d72d6e93401e7c_0_5713f09fc605f46b2ab2f7950455f187.o
1063 conftest_68b375d16e812c43e6d72d6e93401e7c_0.o
1064 conftest_68b375d16e812c43e6d72d6e93401e7c_0_5713f09fc605f46b2ab2f7950455f187 (for executable)
1066 From Mathew Robinson:
1067 - Improve performance of Subst by preventing unnecessary frame
1068 allocations by no longer defining the *Subber classes inside of their
1069 respective function calls.
1070 - Improve performance of Subst in some cases by preventing
1071 unnecessary calls to eval when a token is surrounded in braces
1072 but is not a function call.
1073 - Improve performance of subst by removing unnecessary recursion.
1074 - Cleanup dangling symlinks before running builders (Issue #3516)
1077 - Remove deprecated SourceCode
1078 - str.format syntax errors fixed
1079 - a bunch of linter/checker syntax fixups
1080 - Convert remaining uses of insecure/deprecated mktemp method.
1081 - Clean up some duplications in manpage. Clarify portion of manpage on Dir and File nodes.
1082 - Reduce needless list conversions.
1083 - Fixed regex in Python scanner.
1084 - Accommodate VS 2017 Express - it's got a more liberal license then VS
1085 Community, so some people prefer it (from 2019, no more Express)
1086 - vswhere call should also now work even if programs aren't on the C: drive.
1087 - Add an alternate warning message if cl.exe is not found and msvc config
1088 cache is in use (SCONS_CACHE_MSVC_CONFIG was given) - config cache
1090 - Fixed bug where changing TEXTFILESUFFIX would cause Substfile() to rebuild. (Github Issue #3540)
1091 - Script/Main.py now uses importlib instead of imp module.
1092 - Drop some Python 2-isms.
1093 - MSVC updates: pass on VSCMD_DEBUG and VSCMD_SKIP_SENDTELEMETRY to msvc
1094 tool setup if set in environment. Add Powershell to default env
1095 (used to call telemetry script).
1096 - Microsoft Visual Studio - switch to using uuid module to generate GUIDs rather than hand rolled
1097 method using md5 directly.
1098 NOTE: This change affects the following builders' output. If your build depends on the output of these builders
1099 you will likely see a rebuild.
1100 * Package() (with PACKAGETYPE='msi')
1103 - Docbook builder provides a fallback if lxml fails to generate
1104 a document with tostring().
1105 - Fix description of ARCOMSTR constr. var. (issue 3636). Previously the text was a copy of ASCOMSTR which
1106 has different function.
1107 - Update xml files in SCons to reflect changed relative paths after
1108 code restructuring (src/engine/SCons -> SCons)
1109 - Preliminary Python 3.9 support - elimination of some warnings.
1110 - Drop the with_metaclass jig which was designed to let class
1111 definitions using a metaclass be written the same for Py2/Py3.
1112 - Bump python_version_unsupported (and deprecated) to indicate 3.5
1113 is lowest supported Python.
1114 - ParseFlags should not modify the user's passed in dict in case it's
1115 a compound data structure (e.g. values are lists) (issue #3665)
1116 - In Py3 classes no longer need to be listed as deriving from object.
1117 - Remove deprecated check for Task subclasses needing a needs_execute
1118 method - this is now enforced via an abstract base class, so the
1119 check and test is no longer needed.
1120 - Close various logfiles (trace, cache, taskmastertrace, configure)
1121 when done using atexit calls.
1122 - Rebase forked copy of shutil.copytree to Python 3.7 stlib version.
1123 - Significant rework of documentation: API docs are now generated
1124 using Sphinx; manpage and user guide now use more "standard"
1125 markup elements (which could facilitate later conversion to a
1126 different doc format, should that choice be made); significant
1127 rewordings in manpage. Manpage Examples moved to an external
1128 repository / website (scons-cookbook.readthedocs.io).
1129 - Clean up test harness and tests' use of subdir, file_fixture and
1131 - SubstitutionEnvironment and OverrideEnvironment now have keys()
1132 and values() methods to better emulate a dict (already had items()).
1133 - Rename internal Warning base class to SConsWarning to avoid any
1134 possible confusion with Python's own Warning class.
1137 RELEASE 3.1.2 - Mon, 17 Dec 2019 02:06:27 +0000
1139 From Edoardo Bezzeccheri
1140 - Added debug option "action_timestamps" which outputs to stdout the absolute start and end time for each target.
1143 - Fix suncxx tool (Oracle Studio compiler) when using Python 3. Previously would throw an exception.
1144 Resolved by properly handling tool version string output as unicode.
1147 - Resolved a typo in engine.SCons.Tool
1150 - Resolved a race condition in multithreaded Windows builds with Python 2
1151 in the case where a child process is spawned while a Python action has a
1152 file open. Original author: Ryan Beasley.
1153 - Added memoization support for calls to Environment.Value() in order to
1154 improve performance of repeated calls.
1158 - Update Command() function to accept target_scanner, source_factory, and target_factory arguments.
1159 This makes Command act more like a one-off builder.
1162 - Added support for "-imacros" to ParseFlags
1165 - Fix CheckFunc detection code for Visual 2019. Some functions
1166 (e.g. memmove) were incorrectly recognized as not available.
1169 - Fix stacktrace when using SCons with Python 3.5+ and SunOS/Solaris related tools.
1171 From Philipp Maierhöfer:
1172 - Avoid crash with UnicodeDecodeError on Python 3 when a Latex log file in
1173 non-UTF-8 encoding (e.g. containing umlauts in Latin-1 encoding when
1174 the fontenc package is included with \usepackage[T1]{fontenc}) is read.
1176 From Mathew Robinson:
1177 - Improved threading performance by ensuring NodeInfo is shared
1178 across threads. Results in ~13% improvement for parallel builds
1179 (-j# > 1) with many shared nodes.
1180 - Improve performance of Entry.disambiguate() by making check for
1181 most common case first, preventing unnecessary IO.
1182 - Improved DAG walk performance by reducing unnecessary work when
1183 there are no un-visited children.
1186 - Replace instances of string find method with "in" checks where
1187 the index from find() was not used.
1188 - CmdStringHolder fix from issue #3428
1189 - Turn previously deprecated debug options into failures:
1190 --debug=tree, --debug=dtree, --debug=stree, --debug=nomemoizer.
1191 - Experimental New Feature: Enable caching MSVC configuration
1192 If SCONS_CACHE_MSVC_CONFIG shell environment variable is set,
1193 SCons will cache the results of past calls to vcvarsall.bat to
1194 a file; integrates with existing memoizing of such vars.
1195 On vs2019 saves 5+ seconds per SCons invocation, which really
1196 helps test suite runs.
1197 - Remove deprecated SourceSignatures, TargetSignatures
1198 - Remove deprecated Builder keywords: overrides and scanner
1199 - Remove deprecated env.Copy
1200 - Remove deprecated BuildDir plus SConscript keyword build_dir
1201 - A number of documentation improvements.
1204 RELEASE 3.1.1 - Mon, 07 Aug 2019 20:09:12 -0500
1206 From William Deegan:
1207 - Remove obsoleted references to DeciderNeedsNode which could cause crash when using --debug=explain
1210 - Add Fix and test for crash in 3.1.0 when using Decider('MD5-timestamp') and --debug=explain
1213 - Added -fmerge-all-constants to flags that get included in both CCFLAGS and LINKFLAGS.
1215 From Mathew Robinson:
1216 - Fix issue #3415 - Update remaining usages of EnvironmentError to SConsEnvironmentError
1217 this patch fixes issues introduced in 3.1.0 where any of the
1218 following would cause SCons to error and exit:
1219 - CacheDir not write-able
1220 - JSON encoding errors for CacheDir config
1221 - JSON decoding errors for CacheDir config
1223 RELEASE 3.1.0 - Mon, 20 Jul 2019 16:59:23 -0700
1226 - Code to supply correct version-specifier argument to vswhere for
1227 VS version selection.
1229 From William Deegan:
1230 - Enhanced --debug=explain output. Now the separate components of the dependency list are split up
1233 scons: rebuilding `file3' because:
1234 the dependency order changed:
1241 Old:/usr/bin/python New:/usr/bin/python
1242 - Fix Issue #3350 - SCons Exception EnvironmentError is conflicting with Python's EnvironmentError.
1243 - Fix spurious rebuilds on second build for cases where builder has > 1 target and the source file
1244 is generated. This was causing the > 1th target to not have it's implicit list cleared when the source
1245 file was actually built, leaving an implicit list similar to follows for 2nd and higher target
1246 ['/usr/bin/python', 'xxx', 'yyy', 'zzz']
1247 This was getting persisted to SConsign and on rebuild it would be corrected to be similar to this
1248 ['zzz', 'yyy', 'xxx', '/usr/bin/python']
1249 Which would trigger a rebuild because the order changed.
1250 The fix involved added logic to mark all shared targets as peers and then ensure they're implicit
1251 list is all cleared together.
1252 - Fix Issue #3349 - SCons Exception EnvironmentError is conflicting with Python's EnvironmentError.
1253 Renamed to SConsEnvironmentError
1254 - Fix Issue #3350 - mslink failing when too many objects. This is resolved by adding TEMPFILEARGJOIN variable
1255 which specifies what character to join all the argements output into the tempfile. The default remains a space
1256 when mslink, msvc, or mslib tools are loaded they change the TEMPFILEARGJOIN to be a line separator (\r\n on win32)
1257 - Fix performance degradation for MD5-timestamp decider. NOTE: This changes the Decider() function arguments.
1259 def my_decider(dependency, target, prev_ni):
1261 def my_decider(dependency, target, prev_ni, repo_node):
1262 Where repo_node is the repository (or other) node to use to check if the node is out of date instead of dependency.
1265 - Additional fix to issue #3135 - Also handle 'pure' and 'elemental' type bound procedures
1266 - Fix issue #3135 - Handle Fortran submodules and type bound procedures
1269 - Upgraded and improved Visual Studio solution/project generation code using the MSVSProject builder.
1270 - Added support for Visual Studio 2017 and 2019.
1271 - Added support for the following per-variant parameters to the builder:
1272 - cpppaths: Provides per-variant include paths.
1273 - cppdefines: Provides per-variant preprocessor definitions.
1275 From Michael Hartmann:
1276 - Fix handling of Visual Studio Compilers to properly reject any unknown HOST_PLATFORM or TARGET_PLATFORM
1279 - Added support for Visual Studio 2019 toolset.
1281 From Mathew Robinson:
1282 - Update cache debug output to include cache hit rate.
1283 - No longer unintentionally hide exceptions in Action.py
1284 - Allow builders and pseudo-builders to inherit from OverrideEnvironments
1286 From Leonard de Ruijter:
1287 - Add logic to derive correct version argument to vswhere
1289 From Lukas Schrangl:
1290 - Enable LaTeX scanner to find more than one include per line
1292 From Sergey Torokhov:
1293 - Recognize jdk on Gentoo systems.
1296 - scons-time takes more care closing files and uses safer mkdtemp to avoid
1297 possible races on multi-job runs.
1298 - Use importlib to dynamically load tool and platform modules instead of imp module
1299 - sconsign: default to .sconsign.dblite if no filename is specified.
1300 Be more informative in case of unsupported pickle protocol (py2 only).
1301 - Fix issue #3336 - on Windows, paths were being added to PATH even if
1302 tools were not found in those paths.
1303 - More fixes for newer Java versions (since 9): handle new jdk directory
1304 naming (jdk-X.Y instead of jdkX.Y) on Windows; handle two-digit major
1305 version. Docstrings improved.
1306 - Fixups for pylint: exception types, redefined functions,
1307 globals, etc. Some old code removed to resolve issues (hashlib is
1308 always present on modern Pythons; no longer need the code for
1309 2.5-and-earlier optparse). cmp is not a builtin function in Py3,
1310 drop one (unused) use; replace one. Fix another instance of
1311 renaming to SConsEnvironmentError. Trailing whitespace.
1312 Consistently use not is/in (if not x is y -> if x is not y).
1313 - Add a PY3-only function for setting up the cachedir that should be less
1314 prone to races. Add a hack to the PY2 version (from Issue #3351) to
1315 be less prone to a race in the check for old-style cache.
1316 - Fix coding error in docbook tool only exercised when using python lxml
1317 - Recognize two additional GNU compiler header directory options in
1318 ParseFlags: -iquote and -idirafter.
1319 - Fix more re patterns that contain \ but not specified as raw strings
1320 (affects scanners for D, LaTeX, swig)
1323 RELEASE 3.0.5 - Mon, 26 Mar 2019 15:04:42 -0700
1325 From William Deegan:
1327 - Fix Issue #3283 - Handle using --config=force in combination with Decider('MD5-timestamp').
1328 3.0.2 in fix for issue #2980 added that deciders can throw DeciderNeedsNode exception.
1329 The Configure logic directly calls the decider when using --config=force but wasn't handling
1330 that exception. This would yield minimally configure tests using TryLink() not running and
1331 leaving TypeError Nonetype exception in config.log
1332 - Fix Issue #3303 - Handle --config=force overwriting the Environment passed into Configure()'s
1333 Decider and not clearing it when the configure context is completed.
1334 - Add default paths for yacc tool on windows to include cygwin, mingw, and chocolatey
1335 - Fix issue #2799 - Fix mingw tool to respect SHCCCOMSTR, SHLINKCOMSTR and LDMODULECOMSTR
1336 - Fix Issue #3329 - Add support for MS SDK V10.0A (which is commonly installed with VS2017)
1337 - Fix Issue #3333 - Add support for finding vswhere under 32 bit windows installs.
1339 From Maciej Kumorek:
1340 - Update the MSVC tool to include the nologo flag by default in RCFLAGS
1343 - Change the default for AppendENVPath to delete_existing=0, so path
1344 order will not be changed, unless explicitly set (Issue #3276)
1345 - Fixed bug which threw error when running SCons on windows system with no MSVC installed.
1346 - Update link tool to convert target to node before accessing node member
1347 - Update mingw tool to remove MSVC like nologo CCFLAG
1348 - Add default paths for lex tool on windows to include cygwin, mingw, and chocolatey
1349 - Add lex construction variable LEXUNISTD for turning off unix headers on windows
1350 - Update lex tool to use win_flex on windows if available
1353 - Quiet open file ResourceWarnings on Python >= 3.6 caused by
1354 not using a context manager around Popen.stdout
1355 - Add the textfile tool to the default tool list
1356 - Fix syntax on is/is not clauses: should not use with a literal
1357 - Properly retrieve exit code when catching SystemExit
1358 - scons-time now uses context managers around file opens
1359 - Fix regex patterns that were not specified as raw strings
1361 From Bernhard M. Wiedemann:
1362 - Do not store build host+user name if reproducible builds are wanted
1365 RELEASE 3.0.4 - Mon, 20 Jan 2019 22:49:27 +0000
1368 - Improve finding of Microsoft compiler: add a 'products' wildcard
1369 in case 2017 Build Tools only is installed as it is considered a separate
1370 product from the default Visual Studio
1371 - Add TEMPFILESUFFIX to allow a customizable filename extension, as
1372 described in the patch attached to issue #2431.
1373 - scons.py and sconsign.py stopped working if script called as a symlink
1374 to location in scons-local location.
1375 - Fix issue running scons using a symlink to scons.py in an scons-local dir
1376 - Doc updates around Default(), and the various *TARGETS variables.
1379 - Improved support for VC14.1 and Visual Studio 2017, as well as arm and arm64 targets.
1380 Issues #3268 & Issue #3222
1381 - Initial support for ARM targets with Visual Studio 2017 - Issue #3182 (You must set TARGET_ARCH for this to work)
1382 - Update TempFileMunge class to use PRINT_CMD_LINE_FUNC
1385 - Enhance cpp scanner regex logic to detect if/elif expressions without whitespaces but
1386 parenthesis like "#if(defined FOO)" or "#elif!(BAR)" correctly.
1389 RELEASE 3.0.3 - Mon, 07 Jan 2019 20:05:22 -0400
1390 NOTE: 3.0.2 release was dropped because there was a packaging bug. Please consider all 3.0.2
1393 From William Deegan:
1394 - Fixes to packaging logic. Ensuring the SCons.Tool.clangCommon module is added
1395 to the release packages.
1396 - Modify scons.bat script to check for scons python script without .py extension if no file
1397 scons.py exists. This enables an all platform wheel to work.
1400 - Update doc examples to work with Python 3.5+: map() now returns an iterable instead of a list.
1403 RELEASE 3.0.2 - Mon, 31 Dec 2018 16:00:12 -0700
1405 From Bernard Blackham:
1406 - Fixed handling of side-effects in task master (fixes #3013).
1408 From William Deegan:
1409 - Remove long deprecated SCons.Options code and tests. This removes BoolOption,EnumOption,
1410 ListOption,PackageOption, and PathOption which have been replaced by *Variable() many years ago.
1411 - Re-Enable parallel SCons (-j) when running via Pypy
1412 - Move SCons test framework files to testing/framework and remove all references to QMtest.
1413 QMTest has not been used by SCons for some time now.
1414 - Updated logic for mingw and clang on win32 to search default tool install paths if not
1415 found in normal SCons PATH. If the user specifies PATH or tool specific paths they
1416 will be used and the default paths below will be ignored.
1417 - Default path for clang/clangxx : C:\Program Files\LLVM\bin
1418 - Default path for mingw : C:\MinGW\bin and/or C:\mingw-w64\*\mingw64\bin
1419 - Key program to locate mingw : mingw32-make (as the gcc with mingw prefix has no fixed name)
1420 - Fixed issue causing stack trace when python Action function contains a unicode string when being
1422 - Add alternate path to QT install for Centos in qt tool: /usr/lib64/qt-3.3/bin
1423 - Fix Java tools to search reasonable default paths for Win32, Linux, macOS. Add required paths
1424 for swig and java native interface to JAVAINCLUDES. You should add these to your CPPPATH if you need
1425 to compile with them. This handles spaces in paths in default Java paths on windows.
1426 - Added more java paths to match install for Centos 7 of openjdk
1427 - Fix new logic which populates JAVAINCLUDES to handle the case where javac is not found.
1428 - Fix GH Issue #2580 - # in FRAMEWORKPATH doesn't get properly expanded. The # is left in the
1430 - Fix issue #2980 with credit to Piotr Bartosik (and William Blevins). This is an issue where using
1431 TimeStamp-MD5 Decider and CacheDir can yield incorrect md5's being written into the .sconsign.
1432 The difference between Piotr Bartosik's patch and the current code is that the more complicated
1433 creation of file to csig map is only done when the count of children for the current node doesn't
1434 match the previous count which is loaded from the sconsign.
1435 - Fix issue # 3106 MSVC if using MSVC_BATCH and target dir had a space would fail due to quirk in
1436 MSVC's handling of escaped targetdirs when batch compiling.
1437 - Fix GH Issue #3141 unicode string in a TryAction() with python 2.7 crashes.
1438 - Fix GH Issue #3212 - Use of Py3 and CacheDir + Configure's TryCompile (or likely and Python Value Nodes)
1439 yielded trying to combine strings and bytes which threw exception.
1440 - Fix GH Issue #3225 SCons.Util.Flatten() doesn't handle MappingView's produced by dictionary as return
1441 values from dict().{items(), keys(), values()}.
1442 - Fix GH Issue #3241 - Properly support versioned shared libraries for MacOS. We've also introduced two
1443 new env variables APPLELINK_CURRENT_VERSION and APPLELINK_COMPATIBILITY_VERSION which will specify
1444 what is passed to the linkers -current_version and -compatibility_version flags. If not specified
1445 they will be derived from SHLIBVERSION as such:
1446 - APPLELINK_CURRENT_VERSION = SHLIBVERSION
1447 - APPLELINK_COMPATIBILITY_VERSION = all but the last digit in SHLIBVERSION with .0 appended.
1448 Note that the values of the above will be validated. Valid format for either APPLELINK variable is
1449 X[.Y[.Z]] where 0 <= X <= 65535, 0 <= Y <= 255, 0 <= Z <= 255.
1450 The new variables have been added to the documents and should show up in user guide and manpage.
1451 - Fix GH Issue #3136 no longer wrap io.{BufferedReader,BufferedWriter,BufferedRWPair,BufferedRandom,TextIOWrapper
1452 with logic to set HANDLE_FLAG_INHERIT flag on the file handle. Python 3.4+ automatically sets this according
1453 to Python docs: https://docs.python.org/3/library/os.html#fd-inheritance
1456 - Fix the PATH created by scons.bat (and other .bat files) to provide a normalized
1457 PATH. Some pythons in the 3.6 series are no longer able to handle paths which
1458 have ".." in them and end up crashing. This is done by cd'ing into the directory
1459 we want to add to the path and then using %CD% to give us the normalized directory
1460 See bug filed under Python 3.6: https://bugs.python.org/issue32457.
1461 Note: On Win32 PATH's which have not been normalized may cause undefined behavior
1462 by other executables being run by SCons (or any subprocesses of executables being run by SCons).
1463 Resolving this issue should eliminate that possibility going forward.
1465 From Andrew Featherstone
1466 - Removed unused --warn options from the man page and source code.
1469 - Fix cpp scanner regex logic to treat ifndef for py3.5+. Previously it was
1470 not properly differentiating between if, ifdef, and ifndef.
1472 From Philipp Maierhöfer
1473 - Added a __hash__ method to the class SCons.Subst.Literal. Required when substituting Literal
1474 objects when SCons runs with Python 3.
1475 - Added missing FORTRANMODDIRPREFIX to the gfortran tool.
1477 From Matthew Marinets:
1478 - Fixed an issue that caused the Java emitter to incorrectly parse arguments to constructors that
1479 implemented a class.
1481 From Fredrik Medley:
1482 - Fix exception when printing of EnviromentError messages.
1483 Specifically, this fixes error reporting of the race condition when
1484 initializing the cache which error previously was hidden.
1487 - Updated Jar builder to handle nodes and directories better
1488 - Updated Jar builder to flatten source list which could contain embedded lists
1489 - Removed some magic numbers from jar.py on behalf of Mats Wichmann (mats@linux.com)
1490 - Set the pickling protocal back to highest which was causing issues
1491 with variant dir tests. This will cause issues if reading sconsigns
1492 pickled with the previous lower protocol.
1493 - Updated swig to setup default paths for windows
1494 - Updated gettext tools to setup default paths for windows with Cygwin/MinGW setups
1495 - Add common location for default paths for cygwin and mingw in Platform modules
1496 - Updated YACC tool to work on windows with Cygwin/MinGW setups
1497 - Set the pickling protocal back to highest which was causing issues
1498 with variant dir tests. This will cause issues if reading sconsigns
1499 pickled with the previous lower protocol.
1500 - Updated FS.py to handle removal of splitunc function from python 3.7
1501 - Updated the vc.py to ignore MSVS versions where no compiler could be found
1503 From Gary Oberbrunner:
1504 - Fix bug when Installing multiple subdirs outside the source tree
1505 - fix to_str to handle None without raising exception
1506 - Fix -jN for python 3.7
1508 From Jonathon Reinhart:
1509 - Replace all instances of `int main()` in C code with `int main(void)`.
1510 Specifically, this fixes the test cases use by Configure.CheckCC() which
1511 would fail when using -Wstrict-prototypes.
1513 From Zachary Tessler:
1514 - Fix calculation of signatures for FunctionActions that contain list (or set,...)
1515 comprehensions whose expressions involve constant literals. Those constants had
1516 been ignored in signatures, so changing them did not cause targets to be rebuilt.
1519 - In the testing framework, module TestCommon, fixed must_contain(),
1520 must_not_contain(), and related methods of TestCommon class to work with
1521 substrings located at zero offset.
1522 - Added virtualenv support. A new function Virtualenv() determines whether
1523 SCons runs in a virtualenv. The search PATH may also be extended to
1524 prefer executables from the current virtualenv over the ones provided by
1525 base environment. New option --enable-virtualenv provided to import some
1526 virtualenv-related variables to SCons and extend every env['ENV']['PATH']
1527 automatically. New option --ignore-virtualenv disables this. Two
1528 environment variables, SCONS_ENABLE_VIRTUALENV and
1529 SCONS_IGNORE_VIRTUALENV are supported for the same purpose.
1532 - Add SConstruct.py, Sconstruct.py, sconstruct.py to the search path for the root SConstruct file.
1533 Allows easier debugging within Visual Studio
1534 - Change setup.py to change the install directory (via pip, or setup.py install) from scons-#.#.#
1535 to scons (Yielding <pythondir>/lib/scons/SCons/ instead of <pythondir>/lib/scons/SCons-#.#.#/).
1536 This changes SCons to better comply with normal Python installation practices.
1539 - Recognize new java 9, 10, 11 (as 9.0 and 10.0, 11.0)
1540 - Updated manpage scons.xml to fix a nested list problem
1541 - Updated doc terminiology: use prepend instead of append as appropriate
1542 - XML validity fixes from SConstruct.py change
1543 - Update wiki links to new github location
1544 - Update bug links to new github location
1545 - Make it easier for SConscript() call to fail on missing script.
1546 It was possible to call SCons.Warnings.warningAsException
1547 (not documented as a user API) to make all warnings fail. Now
1548 SConscript can take an optional must_exist flag which if true fails
1549 if the script does not exist. Not failing on missing script is
1550 now considered deprecated, and the first instance will print a
1551 deprecation message. It is now also possible to flip the scons
1552 behavior (which still defaults to warn, not fail) by calling
1553 SCons.Script.set_missing_sconscript_error, which is also not a
1554 documented interface at the moment.
1555 - Convert TestCmd.read to use with statement on open (quiets 17 py3 warnings)
1556 - Quiet py3 warning in UtilTests.py
1557 - Fix tests specifying octal constants for py3
1558 - Fix must_contain tests for py3
1559 - RPM package generation:
1560 - Fix supplying a build architecture
1561 - Disable auto debug package generation on certain rpmbuild versions
1562 - Adjust some tests to only supply build-id file on certain rpmbuild versions
1563 - Tests now use a file fixture for the repeated (trivial) main.c program.
1564 - Document and comment cleanup.
1565 - Added new Environment Value X_RPM_EXTRADEFS to supply custom settings
1566 to the specfile without adding specific logic for each one to scons.
1567 - The test for Python.h needed by swig tests is moved to get_python_platform
1568 so it does not have to be repeated in every test; picks up one failure
1569 which did not make the (previously needed) check. Windows version
1570 of get_python_platform needed some rework in case running in virtualenv.
1571 - If test opens os.devnull, register with atexit so file opens do not leak.
1572 - Fix bugs in Win32 process spawn logic to handle OSError exception correctly.
1573 - Use time.perf_counter instead of time.clock if it exists.
1574 time.clock deprecated since py3.3, due to remove in 3.8. deprecation
1575 warnings from py3.7 were failing a bunch of tests on Windows since they
1576 mess up expected stderr.
1577 - Prefer Py3's inspect.getfullargspec over deprecated inspect.getargspec.
1578 Switched to "new" (standard in Py2.7) usage of receiving a namedtuple -
1579 we were unpacking to a four-tuple, two of the items of which were unused;
1580 getfullargspec returns a named tuple with seven elements so it is a
1581 cleaner drop-in replacement using the namedtuple.
1582 - Updated the test-framework.rst documentation.
1583 - Remove obsoleted internal implementaiton of OrderedDict.
1584 - Test for tar packaging fixups
1585 - Stop using deprecated unittest asserts
1586 - messages in strip-install-dir test now os-neutral
1587 - Add xz compression format to packaging choices.
1588 - Syntax cleanups - trailing blanks, use "is" to compare with None, etc.
1589 Three uses of variables not defined are changed.
1590 - Some script changes in trying to find scons engine
1591 - Update (pep8) configure-cache script, add a --show option.
1592 - Fix for a couple of "what if tool not found" exceptions in framework.
1593 - Add Textfile/Substfile to default environment. (issue #3147)
1594 - sconsign: a couple of python3 fixes; be more tolerant of implicit
1595 entries which have no signatures; minor PEP8 changes.
1596 - Fix a couple of type mistakes (list-> string, filter type -> list)
1597 - Fix a couple of type mistakes in packaging tools: list-> string in msi,
1598 filter type -> list in ipk
1600 From Bernhard M. Wiedemann:
1601 - Update SCons' internal scons build logic to allow overriding build date
1602 with SOURCE_DATE_EPOCH for SCons itself.
1603 - Change the datestamps in SCons' docs and embedded in code use ISO 8601 format and UTC
1606 - Typo in customized decider example in user guide
1607 - Replace usage of unittest.TestSuite with unittest.main() (fix #3113)
1609 RELEASE 3.0.1 - Mon, 12 Nov 2017 15:31:33 -0700
1612 - Jar can take multiple targets, and will make a duplicate jar from the sources for each target
1613 - Added some warnings in case the Jar builder makes an implicit target
1614 - Added Jar method and changed jar build to be more specific. Jar method will take in
1615 directories or classes as source. Added more tests to JAR to ensure the jar was
1616 packaged with the correct compiled class files.
1617 - Added a No result test case to handle bug which seems unrelated to java in the
1618 swig-dependencies.py test, more info here: http://scons.tigris.org/issues/show_bug.cgi?id=2907
1619 - Added a travis script to test on ubuntu trusty now that the project is on github
1620 so that Continuus Integration tests can be run automatically. It tests most case and considers
1621 no result a pass as well. Improving this script can install more dependincies allowing for more
1625 - Updated the Jar Builder tool in Tool/__init__.py so that is doesn't force class files as
1626 sources, allowing directories to be passed, which was causing test/Java/JAR.py to fail.
1628 From William Deegan:
1629 - Fix issue where code in utility routine to_String_for_subst() had code whose result was never
1631 (Found by: James Rinkevich https://pairlist4.pair.net/pipermail/scons-users/2017-October/006358.html )
1632 - Fixed Variables.GenerateHelpText() to now use the sort parameter. Due to incorrect 2to3 fixer changes
1633 8 years ago it was being used as a boolean parameter. Now you can specify sort to be a callable, or boolean
1634 value. (True = normal sort). Manpage also updated.
1635 - Fixed Tool loading logic from exploding sys.path with many site_scons/site_tools prepended on py3.
1636 - Added additional output with time to process each SConscript file when using --debug=time.
1639 - Fixed a regression in scons-3.0.0 where "from __future__ import print_function" was imposed
1640 on the scope where SConstruct is executed, breaking existing builds using PY 2.7.
1642 From William Deegan:
1643 - Fix broken subst logic where a string with "$$(abc)" was being treated as "$(abc) and the
1644 logic for removing the signature escapes was then failing because there was no closing "$)".
1645 This was introduced by a pull request to allow recursive variable evaluations to yield a string
1646 such as "$( $( some stuff $) $)".
1648 From Zachary Tessler:
1649 - Fix incorrect warning for repeated identical builder calls that use overrides
1652 RELEASE 3.0.0 - Mon, 18 Sep 2017 08:32:04 -0700
1654 NOTE: This is a major release. You should expect that some targets may rebuild when upgrading.
1655 Significant changes in some python action signatures. Also switching between PY 2.7 and PY 3.5, 3.6
1656 will cause rebuilds.
1659 From William Blevins:
1660 - Updated D language scanner support to latest: 2.071.1. (PR #1924)
1661 https://dlang.org/spec/module.html accessed 11 August 2016
1663 - Added support for selective imports: "import A : B, C;" -> A
1664 - Added support for renamed imports. "import B = A;" -> A
1665 - Supports valid combinations: "import A, B, CCC = C, DDD = D : EEE = FFF;" -> A, B, C, D
1667 - May find new (previously missed) Dlang dependencies.
1668 - May cause rebuild after upgrade due to dependency changes.
1669 - Updated Fortran-related tests to pass under GCC 5/6.
1670 - Fixed SCons.Tool.Packaging.rpm.package source nondeterminism across builds.
1672 From William Deegan:
1673 - Removed deprecated tools CVS, Perforce, BitKeeper, RCS, SCCS, Subversion.
1674 - Removed deprecated module SCons.Sig
1675 - Added prioritized list of xsltproc tools to docbook. The order will now be as
1676 follows: xsltproc, saxon, saxon-xslt, xalan (with first being highest priority, first
1678 - Fixed MSVSProject example code (http://scons.tigris.org/issues/show_bug.cgi?id=2979)
1679 - Defined MS SDK 10.0 and Changed VS 2015 to use SDK 10.0
1680 - Changes to Action Function and Action Class signiture creation. NOTE: This will cause rebuilds
1681 for many builds when upgrading to SCons 3.0
1682 - Fixed Bug #3027 - "Cross Compiling issue: cannot override ranlib"
1683 - Fixed Bug #3020 - "Download link in user guide wrong. python setup.py install --version-lib broken"
1684 - Fixed Bug #2486 - Added SetOption('silent',True) - Previously this value was not allowed to be set.
1685 - Fixed Bug #3040 - Non-unicode character in CHANGES.txt
1686 - Fixed Bug #2622 - AlwaysBuild + MSVC regression.
1687 - Fixed Bug #3025 - (Credit to Florian : User flow86 on tigris) - Fix typo JAVACLASSSUFIX should have been
1692 - Added the capability to build Windows Store Compatible libraries that can be used
1693 with Universal Windows Platform (UWP) Apps and published to the store
1696 - Add basic support for PyPy (by deleting __slots__ from Node with a
1697 metaclass on PyPy); wrap most-used open() calls in 'with' statements to
1698 avoid too many open files.
1699 - Add __main__.py for `python -m SCons` in case it is on PYTHONPATH.
1700 - Always use highest available pickle protocol for efficiency.
1701 - Remove unused command line fallback for the zip tool.
1703 From Gaurav Juvekar:
1704 - Fix issue #2832: Expand construction variables in 'chdir' argument of builders. (PR #463)
1705 - Fix issue #2910: Make --tree=all handle Unicode. (PR #427)
1706 - Fix issue #2788: Fix typo in documentation example for sconf. (PR #388)
1708 From Alexey Klimkin:
1709 - Use memoization to optimize PATH evaluation across all dependencies per
1711 - Use set() where it is applicable (PR #344)
1714 - Fixed msvs.py for Visual Studio Express editions that would report
1715 "Error : ValueError: invalid literal for float(): 10.0Exp".
1718 - Update LaTeX scanner to understand \import and related commands
1720 From Steve Robinson:
1721 - Add support for Visual Studio 2017. This support requires vswhere.exe a helper
1722 tool installed with newer installs of 2017. SCons expects it to be located at
1723 "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe"
1724 It can be downloaded separately at
1725 https://github.com/Microsoft/vswhere
1728 - Allow nested $( ... $) sections
1731 - Fixed the issue with LDMODULEVERSIONFLAGS reported by Tim Jenness
1732 (https://pairlist4.pair.net/pipermail/scons-users/2016-May/004893.html).
1733 An error was causing "-Wl,Bsymbolic" being added to linker's command-line
1734 even when there was no specified value in LDMODULEVERSION and thus no
1735 need for the flags to be specified.
1736 - Added LoadableModule to the list of global functions (DefaultEnvironment
1739 From Manish Vachharajani:
1740 - Update debian rules, compat, and control to not use features
1741 deprecated or obsolete in later versions of debhelpers
1742 - Update python version to 2.7 in debian/control
1745 - Fixed PCHPDBFLAGS causing a deprecation warning on MSVC v8 and later when
1746 using PCHs and PDBs together.
1750 - Added nested / namespace tool support
1751 - Added a small fix to the python3 tool loader when loading a tool as a package
1752 - Added additional documentation to the user manual on using toolpaths with the environment
1753 This includes the use of sys.path to search for tools installed via pip or package managers
1754 - Added support for a PyPackageDir function for use with the toolpath
1757 - Reordered the default D tools from "dmd, gdc, ldc" to "dmd, ldc, gdc".
1758 - Add a ProgramAllAtOnce builder to the dmd, ldc, and gdc tools. (PR #448)
1759 - Remove a file name exception for very old Fedora LDC installation.
1760 - gdc can now handle building shared objects (tested for version 6.3.0).
1761 - Remove establishing the SharedLibrary builder in the dmd, ldc, and gdc
1762 tools, must now include the ar tool to get this builder as is required for
1763 other compiler tools.
1764 - Add clang and clang++ tools based on Paweł Tomulik's work.
1766 RELEASE 2.5.1 - Mon, 03 Nov 2016 13:37:42 -0400
1768 From William Deegan:
1769 - Add scons-configure-cache.py to packaging. It was omitted
1771 From Alexey Klimkin:
1772 - Use memoization to optimize PATH evaluation across all dependencies per
1775 RELEASE 2.5.0 - Mon, 09 Apr 2016 11:27:42 -0700
1778 - Removed a lot of compatibility methods and workarounds
1779 for Python versions < 2.7, in order to prepare the work
1780 towards a combined 2.7/3.x version. (PR #284)
1781 Also fixed the default arguments for the print_tree and
1782 render_tree methods. (PR #284, too)
1784 From William Blevins:
1785 - Added support for cross-language dependency scanning;
1786 SCons now respects scanner keys for implicit dependencies.
1787 - Notes for SCons users with heterogeneous systems.
1788 - May find new (previously missed) dependencies.
1789 - May cause rebuild after upgrade due to dependency changes.
1790 - May find new dependency errors (EG. cycles).
1791 - Discovered in some of the SCons QT tests.
1792 - Resolved missing cross-language dependencies for
1793 SWIG bindings (fixes #2264).
1794 - Corrected typo in User Guide for Scanner keyword. (PR #2959)
1795 - Install builder interacts with scanner found in SCANNERS differently.
1796 - Previous: Install builder recursively scanned implicit dependencies
1797 for scanners from SCANNER, but not for built-in (default) scanners.
1798 - Current: Install builder will not scan for implicit dependencies via
1799 either scanner source. This optimizes some Install builder behavior
1800 and brings orthogonality to Install builder scanning behavior.
1802 From William Deegan:
1803 - Add better messaging when two environments have
1804 different actions for the same target (Bug #2024)
1805 - Fix issue only with MSVC and Always build where targets
1806 marked AlwaysBuild wouldn't make it into CHANGED_SOURCES
1807 and thus yield an empty compile command line. (Bug #2622)
1808 - Fix posix platform escaping logic to properly handle paths
1809 with parens in them "()". (Bug #2225)
1812 - Intel Compiler 2016 (Linux/Mac) update for tool directories.
1814 From Adarsh Sanjeev:
1815 - Fix for issue #2494: Added string support for Chmod function.
1818 - change cache to use 2 character subdirectories, rather than one character,
1819 so as not to give huge directories for large caches, a situation which
1820 causes issues for NFS.
1821 For existing caches, you will need to run the scons-configure-cache.py
1822 script to update them to the new format. You will get a warning every time
1823 you build until you co this.
1824 - Fix a bunch of unit tests on windows
1826 RELEASE 2.4.1 - Mon, 07 Nov 2015 10:37:21 -0700
1828 From Arfrever Frehtes Taifersar Arahesis:
1829 - Fix for Bug # 2791 - Setup.py fails unnecessarily under Jython.
1832 - Fixed license of SVG titlepage files in the context of Debian
1833 packaging, such that they allow for commercial use too (#2985).
1835 From William Blevins:
1836 - InstallVersionedLib now available in the DefaultEnvironment context.
1837 - Improves orthogonality of use cases between different Install functions.
1840 - Added new configure check, CheckProg, to check for
1841 existence of a program.
1843 From Andrew Featherstone:
1844 - Fix for issue #2840 - Fix for two environments specifying same target with different
1845 actions not throwing hard error. Instead SCons was incorrectly issuing a warning
1849 - Add support `Microsoft Visual C++ Compiler for Python 2.7'
1850 Compiler can be obtained at: https://www.microsoft.com/en-us/download/details.aspx?id=44266
1852 From Florian Miedniak:
1853 - Fixed tigris issue #3011: Glob() excludes didn't work when used with VariantDir(duplicate=0)
1855 From William Roberts:
1856 - Fix bug 2831 and allow Help() text to be appended to AddOption() help.
1859 - Reimplemented versioning for shared libraries, with the following effects
1860 - Fixed tigris issues #3001, #3006.
1861 - Fixed several other issues not reported to tigris, including:
1862 issues with versioned libraries in subdirectories with tricky names,
1863 issues with versioned libraries and variant directories,
1864 issue with soname not being injected to library when using D linkers,
1865 - Switched to direct symlinks instead of daisy-chained ones -- soname and
1866 development symlinks point directly to the versioned shared library now),
1868 https://www.debian.org/doc/debian-policy/ch-sharedlibs.html
1869 https://fedoraproject.org/wiki/Packaging:Guidelines#Devel_Packages
1870 https://bitbucket.org/scons/scons/pull-requests/247/new-versioned-libraries-gnulink-cyglink/diff#comment-10063929
1871 - New construction variables to allow override default behavior: SONAME,
1872 SHLIBVERSIONFLAGS, _SHLIBVERSIONFLAGS, SHLIBNOVERSIONSYMLINKS,
1873 LDMODULEVERSION, LDMODULEVERSIONFLAGS, _LDMODULEVERSIONFLAGS,
1874 LDMODULENOVERSIONSYMLINKS.
1875 - Changed logic used to configure the versioning machinery from
1876 platform-centric to linker-oriented.
1877 - The SHLIBVERSION/LDMODULEVERSION variables are no longer validated by
1878 SCons (more freedom to users).
1879 - InstallVersionedLib() doesn't use SHLIBVERSION anymore.
1880 - Enchanced docs for the library versioning stuff.
1881 - New tests for versioned libraries.
1882 - Library versioning is currently implemented for the following linker
1883 tools: 'cyglink', 'gnulink', 'sunlink'.
1884 - Fix to swig tool - pick-up 'swig', 'swig3.0' and 'swig2.0' (in order).
1885 - Fix to swig tool - respect env['SWIG'] provided by user.
1889 RELEASE 2.4.0 - Mon, 21 Sep 2015 08:56:00 -0700
1892 - Switched several core classes to use "slots", to
1893 reduce the overall memory consumption in large
1894 projects (fixes #2180, #2178, #2198)
1895 - Memoizer counting uses decorators now, instead of
1896 the old metaclasses approach.
1898 From Andrew Featherstone
1899 - Fixed typo in SWIGPATH description
1901 RELEASE 2.3.6 - Mon, 31 Jul 2015 14:35:03 -0700
1904 - Added support for Visual Studio 2015
1906 RELEASE 2.3.5 - Mon, 17 Jun 2015 21:07:32 -0700
1908 From Stephen Pollard:
1909 - Documentation fixes for libraries.xml and
1910 builders-writing.xml (#2989 and #2990)
1912 From William Deegan:
1913 - Extended docs for InstallVersionedLib/SharedLibrary,
1914 and added SKIP_WIN_PACKAGES argument to build script
1915 bootstrap.py (PR #230, #3002).
1917 From William Blevins:
1918 - Fixed symlink support (PR #227, #2395).
1919 - Updated debug-count test case (PR #229).
1921 From Alexey Klimkin:
1922 - Fixed incomplete LIBS flattening and substitution in
1923 Program scanner(PR #205, #2954).
1926 - Added new method rentry_exists_on_disk to Node.FS (PR #193).
1929 - Fixed several D tests under the different OS.
1930 - Add support for f08 file extensions for Fortran 2008 code.
1932 From Anatoly Techtonik:
1933 - Show --config choices if no argument is specified (PR #202).
1934 - Fixed build crash when XML toolchain isn't installed, and
1935 activated compression for ZIP archives.
1937 From Alexandre Feblot:
1938 - Fix for VersionedSharedLibrary under 'sunos' platform.
1939 - Fixed dll link with precompiled headers on MSVC 2012
1940 - Added an 'exclude' parameter to Glob()
1942 From Laurent Marchelli:
1943 - Support for multiple cmdargs (one per variant) in VS project files.
1944 - Various improvements for TempFileMunge class.
1945 - Added an implementation for Visual Studio users files (PR #209).
1948 - Added support for the 'PlatformToolset' tag in VS project files (#2978).
1951 - Added support for '-isystem' to ParseFlags.
1953 RELEASE 2.3.4 - Mon, 27 Sep 2014 12:50:35 -0400
1955 From Bernhard Walle and Dirk Baechle:
1956 - Fixed the interactive mode, in connection with
1957 Configure contexts (#2971).
1959 From Anatoly Techtonik:
1960 - Fix EnsureSConsVersion warning when running packaged version
1963 - Fix D tools for building shared libraries
1965 RELEASE 2.3.3 - Sun, 24 Aug 2014 21:08:33 -0400
1968 - Fixed false line length calculation in the TempFileMunge class (#2970).
1970 From Gary Oberbrunner:
1971 - Improve SWIG detection
1974 - Fix regression on Windows in D language update
1976 From Neal Becker and Stefan Zimmermann:
1977 - Python 3 port and compatibility
1979 From Anatoly Techtonik:
1980 - Do not fail on EnsureSConsVersion when running from checkout
1982 From Kendrick Boyd and Rob Managan:
1983 - Fixed the newglossary action to work with VariantDir (LaTeX).
1985 From Manuel Francisco Naranjo:
1986 - Added a default for the BUILDERS environment variable,
1987 to prevent not defined exception on a Clone().
1989 From Andrew Featherstone:
1990 - Added description of CheckTypeSize method (#1991).
1991 - Fixed handling of CPPDEFINE var in Append()
1992 for several list-dict combinations (#2900).
1994 From William Blevins:
1995 - Added test for Java derived-source dependency tree generation.
1996 - Added Copy Action symlink soft-copy support (#2395).
1997 - Various contributions to the documentation (UserGuide).
2002 - Update XML doc editor configuration
2003 - Fix: Allow varlist to be specified as list of strings for Actions (#2754)
2005 From veon on bitbucket:
2006 - Fixed handling of nested ifs in CPP scanner PreProcessor class.
2009 - Support for Visual Studio 2013 (12.0)
2011 From Michael Haubenwallner:
2012 - Respect user's CC/CXX values; don't always overwrite in generate()
2013 - Delegate linker Tool.exists() to CC/CXX Tool.exists().
2016 - Updated the TeX builder to support use of the -synctex=1
2017 option and the files it creates.
2018 - Updated the TeX builder to correctly clean auxiliary files when
2019 the biblatex package is used.
2021 From Gary Oberbrunner:
2022 - get default RPM architecture more robustly when building RPMs
2025 - Fixed NoClean() for multi-target builders (#2353).
2028 - Fix SConf tests that write output
2031 - Revamp of the D language support. Tools for DMD, GDC and LDC provided
2032 and integrated with the C and C++ linking. NOTE: This is only tested
2033 with D v2. Support for D v1 is now deprecated.
2035 From Anatoly Techtonik:
2036 - Several improvements for running scons.py from source:
2037 * engine files form source directory take priority over all other
2039 * message about scons.py running from source is removed to fix tests
2040 that were failing because of this extra line in the output
2041 * error message when SCons import fails now lists lookup paths
2042 - Remove support for QMTest harness from runtest.py
2043 - Remove RPM and m4 from default tools on Windows
2044 - BitKeeper, CVS, Perforce, RCS, SCCS are deprecated from default
2045 tools and will be removed in future SCons versions to speed up
2046 SCons initialization (it will still be possible to use these tools
2049 From Sye van der Veen:
2050 - Support for Visual Studio 12.0Exp, and fixes for earlier MSVS
2056 From Andrew Featherstone:
2057 - Added support for EPUB output format to the DocBook tool.
2060 - Stop leaking file handles to subprocesses by switching to using subprocess
2062 - Allow multiple options to be specified with --debug=a,b,c
2063 - Add support for a readonly cache (--cache-readonly)
2064 - Always print stats if requested
2065 - Generally try harder to print out a message on build errors
2066 - Adds a switch to warn on missing targets
2067 - Add Pseudo command to mark targets which should not exist after
2071 - Check for 8.3 filenames on cygwin as well as win32 to make variant_dir work properly.
2073 From Alexandre Feblot:
2074 - Make sure SharedLibrary depends on all dependent libs (by depending on SHLINKCOM)
2076 From Stefan Sperling:
2077 - Fixed the setup of linker flags for a versioned SharedLibrary
2078 under OpenBSD (#2916).
2080 From Antonio Cavallo:
2081 - Improve error if Visual Studio bat file not found.
2083 From Manuel Francisco Naranjo:
2084 - Allow Subst.Literal string objects to be compared with each other,
2085 so they work better in AddUnique() and Remove().
2087 From David Rothenberger:
2088 - Added cyglink linker that uses Cygwin naming conventions for
2089 shared libraries and automatically generates import libraries.
2092 - Update bootstrap.py so it can be used from any dir, to run
2093 SCons from a source (non-installed) dir.
2094 - Count statistics of instances are now collected only when
2095 the --debug=count command-line option is used (#2922).
2096 - Added release_target_info() to File nodes, which helps to
2097 reduce memory consumption in clean builds and update runs
2099 - Fixed the handling of long options in the command-line
2101 - Fixed misspelled variable in intelc.py (#2928).
2103 From Gary Oberbrunner:
2104 - Test harness: fail_test() can now print a message to help debugging.
2106 From Anatoly Techtonik:
2107 - Require rpmbuild when building SCons package.
2108 - Print full stack on certain errors, for debugging.
2109 - Improve documentation for Textfile builder.
2111 From William Deegan:
2112 - VS2012 & VS2010 Resolve initialization issues by adding path to reg.exe
2113 in shell used to run batch files.
2114 - MSVC Support fixed defaulting TARGET_ARCH to HOST_ARCH. It should be
2115 None if not explicitly set.
2116 - MSVC Fixed issue where if more than one Architectures compilers are
2117 detected, it would take the last one found, and not the first.
2120 - Added optional ZIPROOT to Zip tool.
2123 - Replaced old SGML-based documentation toolchain with a more modern
2124 approach, that also requires less external dependencies (programs and
2125 Python packages). Added a customized Docbook XSD for strict validation of
2126 all input XML files.
2128 From Luca Falavigna:
2129 - Fixed spelling errors in MAN pages (#2897).
2131 From Michael McDougall:
2132 - Fixed description of ignore_case for EnumVariable in the
2135 RELEASE 2.3.0 - Mon, 02 Mar 2013 13:22:29 -0400
2137 From Anatoly Techtonik:
2138 - Added ability to run scripts/scons.py directly from source checkout
2139 - Hide deprecated --debug={dtree,stree,tree} from --help output
2140 - Error messages from option parser now include hints about valid choices
2141 - Cleaned up some Python 1.5 and pre-2.3 code, so don't expect SCons
2142 to run on anything less than Python 2.4 anymore
2143 - Several fixes for runtest.py:
2144 * exit with an error if no tests were found
2145 * removed --noqmtest option - this behavior is by default
2146 * replaced `-o FILE --xml` combination with `--xml FILE`
2147 * changed `-o, --output FILE` option to capture stdout/stderr output
2149 - Remove os_spawnv_fix.diff patch required to enable parallel builds
2150 support prior to Python 2.2
2153 - Fix WiX Tool to use .wixobj rather than .wxiobj for compiler output
2154 - Support building with WiX releases after 2.0
2156 From Alexey Klimkin:
2157 - Fix nested LIBPATH expansion by flattening sequences in subst_path.
2159 From eyan on Bitbucket:
2160 - Print target name with command execution time with --debug=time
2162 From Thomas Berg and Evgeny Podjachev:
2163 - Fix subprocess spawning on Windows. Work around a Windows
2164 bug that can crash python occasionally when using -jN. (#2449)
2167 - Updated test framework to support dir and file fixtures and
2168 added ability to test external (out-of-tree) tools (#2862).
2169 See doc in QMTest/test-framework.rst.
2170 - Fixed several errors in the test suite (Java paths, MSVS version
2171 detection, Tool import), additionally
2172 * provided MinGW command-line support for the CXX, AS and
2174 * refactored the detection of the gcc version and the according
2175 Fortran startup library,
2176 * provided a new module rpmutils.py, wrapping the RPM naming rules
2177 for target files and further hardware-dependent info (compatibility,
2178 compiler flags, ...),
2179 * added new test methods must_exist_one_of() and
2180 must_not_exist_any_of() and
2181 * removed Aegis support from runtest.py. (#2872)
2183 From Gary Oberbrunner:
2184 - Add -jN support to runtest.py to run tests in parallel
2185 - Add MSVC10 and MSVC11 support to get_output low-level bat script runner.
2186 - Fix MSVS solution generation for VS11, and fixed tests.
2189 - Updated the TeX builder to support the \newglossary command
2190 in LaTeX's glossaries package and the files it creates.
2191 - Improve support for new versions of biblatex in the TeX builder
2192 so biber is called automatically if biblatex requires it.
2193 - Add SHLIBVERSION as an option that tells SharedLibrary to build
2194 a versioned shared library and create the required symlinks.
2195 Add builder InstallVersionedLib to create the required symlinks
2196 installing a versioned shared library.
2198 RELEASE 2.2.0 - Mon, 05 Aug 2012 15:37:48 +0000
2200 From dubcanada on Bitbucket:
2201 - Fix 32-bit Visual Express C++ on 64-bit Windows (generate 32-bit code)
2204 - Added gettext toolset
2205 - Fixed FindSourceFiles to find final sources (leaf nodes).
2208 - Allow Node objects in Java path (#2825)
2211 - Make Windows not redefine builtin file as un-inheritable (#2857)
2212 - Fix WINDOWS_INSERT_DEF on MinGW (Windows) (#2856)
2214 From smallbub on Bitbucket:
2215 - Fix LINKCOMSTR, SHLINKCOMSTR, and LDMODULECOMSTR on Windows (#2833).
2218 - Make -s (silent mode) be silent about entering subdirs (#2976).
2219 - Fix cloning of builders when cloning environment (#2821).
2221 From Gary Oberbrunner:
2222 - Show valid Visual Studio architectures in error message
2223 when user passes invalid arch.
2225 From Alexey Petruchik:
2226 - Support for Microsoft Visual Studio 11 (both using it
2227 and generating MSVS11 solution files).
2229 From Alexey Klimkin:
2230 - Fixed the Taskmaster, curing spurious build failures in
2231 multi-threaded runs (#2720).
2234 - Improved documentation of command-line variables (#2809).
2235 - Fixed scons-doc.py to properly convert main XML files (#2812).
2238 - Updated the TeX builder to support LaTeX's multibib package.
2239 - Updated the TeX builder to support LaTeX's biblatex package.
2240 - Added support for using biber instead of bibtex by setting
2241 env['BIBTEX'] = 'biber'
2244 - Test for FORTRANPPFILESUFFIXES (#2129).
2247 RELEASE 2.1.0 - Mon, 09 Sep 2011 20:54:57 -0700
2250 - Fix Windows resource compiler scanner to accept DOS line endings.
2253 - Update MSVS documents to remove note indicating that only one
2254 project is currently supported per solution file.
2256 From Grzegorz Bizoń:
2257 - Fix long compile lines in batch mode by using TEMPFILE
2258 - Fix MSVC_BATCH=False (was treating it as true)
2260 From Justin Gullingsrud:
2261 - support -std=c++0x and related CXXFLAGS in pkgconfig (ParseFlags)
2263 From Vincent Beffara:
2264 - Support -dylib_file in pkgconfig (ParseFlags)
2266 From Gary Oberbrunner and Sohail Somani:
2267 - new construction variable WINDOWS_EMBED_MANIFEST to automatically
2268 embed manifests in Windows EXEs and DLLs.
2270 From Gary Oberbrunner:
2271 - Fix Visual Studio project generation when CPPPATH contains Dir nodes
2272 - Ensure Visual Studio project is regenerated when CPPPATH or CPPDEFINES change
2273 - Fix unicode error when using non-ASCII filenames with Copy or Install
2274 - Put RPATH in LINKCOM rather than LINKFLAGS so resetting
2275 LINKFLAGS doesn't kill RPATH
2276 - Fix precompiled headers on Windows when variant dir name has spaces.
2277 - Adding None to an Action no longer fails (just returns original action)
2278 - New --debug=prepare option to show each target as it's being
2279 prepared, whether or not anything needs to be done for it.
2280 - New debug option --debug=duplicate to print a line for each
2281 unlink/relink (or copy) of a variant file from its source file.
2282 - Improve error message for EnumVariables to show legal values.
2283 - Fix Intel compiler to sort versions >9 correctly (esp. on Linux)
2284 - Fix Install() when the source and target are directories and the
2285 target directory exists.
2287 From David Garcia Garzon:
2288 - Fix Delete to be able to delete broken symlinks and dir
2291 From Imran Fanaswala and Robert Lehr:
2292 - Handle .output file generated by bison/yacc properly. Cleaning it
2295 From Antoine Dechaume:
2296 - Handle SWIG file where there is whitespace after the module name
2297 properly. Previously the generated files would include
2301 - Handle Environment in case __semi_deepcopy is None
2305 - Much improved support for Windows UNC paths (\\SERVERNAME).
2307 From Jean-Baptiste Lab:
2309 - Fix problems with appending CPPDEFINES that contain
2310 dictionaries, and related issues with Parse/MergeFlags and
2315 - Fix for an issue with implicit-cache with multiple targets
2316 when dependencies are removed on disk.
2318 From Evgeny Podjachev and Alexey Petruchick:
2320 - Support generation of Microsoft Visual Studio 2008 (9.0)
2321 and 2010 (10.0) project and solution files.
2325 - Fix a problem when FS Entries which are actually Dirs have builders.
2327 From Luca Falavigna:
2329 - Support Fortran 03
2331 From Gary Oberbrunner:
2333 - Print the path to the SCons package in scons --version
2335 From Jean-Fran�ois Colson:
2337 - Improve Microsoft Visual Studio Solution generation, and fix
2338 various errors in the generated solutions especially when using
2339 MSVS_SCC_PROVIDER, and when generating multiple projects. The
2340 construction variable MSVS_SCC_PROJECT_BASE_PATH, which never
2341 worked properly, is removed. Users can use the new variable
2342 MSVS_SCC_CONNECTION_ROOT instead if desired.
2344 From Anatoly Techtonik:
2346 - Use subprocess in bootstrap.py instead of os.execve to avoid
2347 losing output control on Windows (http://bugs.python.org/issue9148)
2349 - Revert patch for adding SCons to App Paths, because standard cmd
2350 shell doesn't search there. This is confusing, because `scons` can
2351 be executed from explorer, but fail to start from console.
2353 - Fix broken installation with easy_install on Windows (issue #2051)
2354 SCons traditionally installed in a way that allowed to run multiple
2355 versions side by side. This custom logic was incompatible with
2356 easy_install way of doing things.
2358 - Use epydoc module for generating API docs in HTML if command line
2359 utility is not found in PATH. Actual for Windows.
2361 From Alexander Goomenyuk:
2363 - Add .sx to assembly source scanner list so .sx files
2364 get their header file dependencies detected.
2368 - Set module metadata when loading site_scons/site_init.py
2369 so it is treated as a proper module; __doc__, __file__ and
2370 __name__ now refer to the site_init.py file.
2374 - Users Guide updates explaining that Tools can be packages as
2375 well as python modules.
2377 From Gary Oberbrunner:
2379 - New systemwide and per-user site_scons dirs.
2383 - XML fixes in User's Guide.
2384 - Fixed the detection of 'jar' and 'rmic' during
2385 the initialization of the respective Tools (#2730).
2386 - Improved docs for custom Decider functions and
2387 custom Scanner objects (#2711, #2713).
2388 - Corrected SWIG module names for generated *.i files (#2707).
2392 - Fixed a case-sensitivity problem with Fortran modules.
2396 - Added Users Guide example for auto-generated source code
2400 - Fix explicit dependencies (Depends()) on Nodes that don't have
2403 - Fix use of the global Alias() function with command actions.
2407 - Fix the ability to append to default $*FLAGS values (which are
2408 implemented as CLVar instances) in a copied construction environment
2409 without affecting the original construction environment's value.
2413 - Updated the TeX command strings to include a /D on Windows in
2414 case the new directory is on a different drive letter.
2416 - Fixed the LaTeX scanner so dependencies are found in commands that
2417 are broken across lines with a comment or have embedded spaces.
2419 - The TeX builders should now work with tex files that are generated
2420 by another program. Thanks to Hans-Martin von Gaudecker for
2421 isolating the cause of this bug.
2423 - Added support for INDEXSTYLE environment variable so makeindex can
2426 - Added support for the bibunits package so we call bibtex on all
2429 - Add support of finding path information on OSX for TeX applications
2430 MacPorts and Fink paths need to be added by the user
2434 - Add support for DMD version 2 (the phobos2 library).
2436 From William Deegan:
2438 - Add initial support for VS/VC 2010 (express and non-express versions)
2439 - Remove warning for not finding MS VC/VS install.
2440 "scons: warning: No version of Visual Studio compiler found
2441 - C/C++ compilers most likely not set correctly"
2442 - Add support for Linux 3.0
2445 RELEASE 2.0.1 - Mon, 15 Aug 2010 15:46:32 -0700
2449 - Fix XML in documentation.
2453 - Fixed a case-sensitivity problem with Fortran modules.
2457 - Added Users Guide example for auto-generated source code
2461 - Fix explicit dependencies (Depends()) on Nodes that don't have
2466 - Fix the ability to append to default $*FLAGS values (which are
2467 implemented as CLVar instances) in a copied construction environment
2468 without affecting the original construction environment's value.
2472 - Updated the TeX command strings to include a /D on Windows in
2473 case the new directory is on a different drive letter.
2475 - Fixed the LaTeX scanner so dependencies are found in commands that
2476 are broken across lines with a comment or have embedded spaces.
2479 RELEASE 2.0.0.final.0 - Mon, 14 Jun 2010 22:01:37 -0700
2483 - Fix XML in documentation.
2487 - Provide forward compatibility for the 'profile' module.
2489 - Provide forward compatibility for the 'pickle' module.
2491 - Provide forward compatibility for the 'io' module.
2493 - Provide forward compatibility for the 'queue' module.
2495 - Provide forward compatibility for the 'collections' module.
2497 - Provide forward compatibility for the 'builtins' module.
2499 - Provide forward compatibility for 'sys.intern()'.
2501 - Convert to os.walk() from of os.path.walk().
2503 - Remove compatibility logic no longer needed.
2505 - Add a '-3' option to runtest to print 3.x incompatibility warnings.
2507 - Convert old-style classes into new-style classes.
2509 - Fix "Ignoring corrupt sconsign entry" warnings when building
2510 in a tree with a pre-2.0 .sconsign file.
2512 - Fix propagation from environment of VS*COMNTOOLS to resolve issues
2513 initializing MSVC/MSVS/SDK issues.
2515 - Handle detecting Visual C++ on Python versions with upper-case
2516 platform architectures like 'AMD64'.
2518 From W. Trevor King:
2520 - Revisions to README.
2524 - Apply numerous Python fixers to update code to more modern idioms.
2525 Find where fixers should be applied to code in test strings and
2526 apply the fixers there, too.
2528 - Write a fixer to convert string functions to string methods.
2530 - Modify the 'dict' fixer to be less conservative.
2532 - Modify the 'apply' fixer to handle more cases.
2534 - Create a modified 'types' fixer that converts types to 2.x
2535 equivalents rather than 3.x equivalents.
2537 - Write a 'division' fixer to highlight uses of the old-style
2538 division operator. Correct usage where needed.
2540 - Add forward compatibility for the new 'memoryview' function
2541 (which replaces the 'buffer' function).
2543 - Add forward compatibility for the 'winreg' module.
2545 - Remove no-longer-needed 'platform' module.
2547 - Run tests with the '-3' option to Python 2.6 and clear up
2548 various reported incompatibilities.
2550 - Comb out code paths specialized to Pythons older than 2.4.
2552 - Update deprecation warnings; most now become mandatory.
2554 - Start deprecation cycle for BuildDir() and build_dir.
2556 - Start deprecation cycle for SourceCode() and related factories
2558 - Fixed a problem with is_Dict() not identifying some objects derived
2563 - Document the AllowSubstExceptions() function in the User's Guide.
2565 From William Deegan:
2567 - Migrate MSVC/MSVS/SDK improvements from 1.3 branch.
2570 RELEASE 1.3.0 - Tue, 23 Mar 2010 21:44:19 -0400
2574 - Update man page and documentation.
2576 From William Deegan (plus minor patch from Gary Oberbrunner):
2578 - Support Visual Studio 8.0 Express
2580 RELEASE 1.2.0.d20100306 - Sat, 06 Mar 2010 16:18:33 -0800
2582 From Luca Falavigna:
2584 - Fix typos in the man page.
2586 From Gottfried Ganssauge:
2588 - Support execution when SCons is installed via easy_install.
2592 - Make the messages for Configure checks of compilers consistent.
2594 - Issue an error message if a BUILDERS entry is not a Builder
2595 object or a callable wrapper.
2599 - Update tex builder to handle the case where a \input{foo}
2600 command tries to work with a directory named foo instead of the
2601 file foo.tex. The builder now ignores a directory and continues
2602 searching to find the correct file. Thanks to Lennart Sauerbeck
2603 for the test case and initial patch
2605 Also allow the \include of files in subdirectories when variantDir
2606 is used with duplicate=0. Previously latex would crash since
2607 the directory in which the .aux file is written was not created.
2608 Thanks to Stefan Hepp for finding this and part of the solution.
2611 - Patches to fix some issues using MS SDK V7.0
2613 From William Deegan:
2614 - Lots of testing and minor patches to handle mixed MS VC and SDK
2615 installations, as well as having only the SDK installed.
2618 RELEASE 1.2.0.d20100117 - Sun, 17 Jan 2010 14:26:59 -0800
2621 - Fixed temp filename race condition on Windows with long cmd lines.
2623 From David Cournapeau:
2624 - Fixed tryRun when sconf directory is in a variant dir.
2625 - Do not add -fPIC for ifort tool on non-posix platforms (darwin and
2627 - Fix bug 2294 (spurious CheckCC failures).
2628 - Fix SCons bootstrap process on windows 64 (wrong wininst name)
2630 From William Deegan:
2631 - Final merge from vs_revamp branch to main
2633 - Added definition and usage of HOST_OS, HOST_ARCH, TARGET_OS,
2634 TARGET_ARCH, currently only defined/used by Visual Studio
2635 Compilers. This will be rolled out to other platforms/tools
2638 - Add check for python >= 3.0.0 and exit gracefully.
2639 For 1.3 python >= 1.5.2 and < 3.0.0 are supported
2641 - Fix bug 1944 - Handle non-existent .i file in swig emitter, previously
2642 it would crash with an IOError exception. Now it will try to make an
2643 educated guess on the module name based on the filename.
2645 From Lukas Erlinghagen:
2647 - Have AddOption() remove variables from the list of
2648 seen-but-unknown variables (which are reported later).
2650 - An option name and aliases can now be specified as a tuple.
2652 From Hartmut Goebel:
2658 - use "is/is not" in comparisons with None instead of "==" or "!=".
2662 - Avoid adding -gphobos to a command line multiple times
2663 when initializing use of the DMD compiler.
2667 - Sugguested HOST/TARGET OS/ARCH separation.
2671 - Fix the -n option when used with VariantDir(duplicate=1)
2672 and the variant directory doesn't already exist.
2674 - Fix scanning of Unicode files for both UTF-16 endian flavors.
2676 - Fix a TypeError on #include of file names with Unicode characters.
2678 - Fix an exception if a null command-line argument is passed in.
2680 - Evaluate Requires() prerequisites before a Node's direct children
2681 (sources and dependencies).
2685 - Remove redundant __metaclass__ initializations in Environment.py.
2687 - Correct the documentation of text returned by sconf.Result().
2689 - Document that filenames with '.' as the first character are
2690 ignored by Glob() by default (matching UNIX glob semantics).
2692 - Fix SWIG testing infrastructure to work on Mac OS X.
2694 - Restructure a test that occasionally hung so that the test would
2695 detect when it was stuck and fail instead.
2697 - Substfile builder.
2699 From Gary Oberbrunner:
2701 - When reporting a target that SCons doesn't know how to make,
2702 specify whether it's a File, Dir, etc.
2706 - Fix use of $SWIGOUTDIR when generating Python wrappers.
2708 - Add $SWIGDIRECTORSUFFIX and $SWIGVERSION construction variables.
2712 - Add -recorder flag to Latex commands and updated internals to
2713 use the output to find files TeX creates. This allows the MiKTeX
2714 installations to find the created files
2716 - Notify user of Latex errors that would get buried in the
2719 - Remove LATEXSUFFIXES from environments that don't initialize Tex.
2721 - Add support for the glossaries package for glossaries and acronyms
2723 - Fix problem that pdftex, latex, and pdflatex tools by themselves did
2724 not create the actions for bibtex, makeindex,... by creating them
2725 and other environment settings in one routine called by all four
2728 - Fix problem with filenames of sideeffects when the user changes
2729 the name of the output file from the latex default
2731 - Add scanning of files included in Latex by means of \lstinputlisting{}
2732 Patch from Stefan Hepp.
2734 - Change command line for epstopdf to use --outfile= instead of -o
2735 since this works on all platforms.
2736 Patch from Stefan Hepp.
2738 - Change scanner to properly search for included file from the
2739 directory of the main file instead of the file it is included from.
2740 Also update the emitter to add the .aux file associated with
2741 \include{filename} commands. This makes sure the required directories
2742 if any are created for variantdir cases.
2743 Half of the patch from Stefan Hepp.
2745 RELEASE 1.2.0.d20090223 - Mon, 23 Feb 2009 08:41:06 -0800
2747 From Stanislav Baranov:
2749 - Make suffix-matching for scanners case-insensitive on Windows.
2751 From David Cournapeau:
2753 - Change the way SCons finds versions of Visual C/C++ and Visual
2754 Studio to find and use the Microsoft v*vars.bat files.
2756 From Robert P. J. Day:
2758 - User's Guide updates.
2762 - Fix generation of Visual Studio 8 project files on x64 platforms.
2766 - Set IncludeSearchPath and PreprocessorDefinitions in generated
2767 Visual Studio 8 project files, to help IntelliSense work.
2771 - Fix deletion of broken symlinks by the --clean option.
2775 - Fix the error message when use of a non-existent drive on Windows
2778 - Add sources for files whose targets don't exist in $CHANGED_SOURCES.
2780 - Detect implicit dependencies on commands even when the command is
2783 - Fix interaction of $CHANGED_SOURCES with the --config=force option.
2785 - Fix finding #include files when the string contains escaped
2786 backslashes like "C:\\some\\include.h".
2788 - Pass $CCFLAGS to Visual C/C++ precompiled header compilation.
2790 - Remove unnecessary nested $( $) around $_LIBDIRFLAGS on link lines
2791 for the Microsoft linker, the OS/2 ilink linker and the Phar Lap
2794 - Spell the Windows environment variables consistently "SystemDrive"
2795 and "SystemRoot" instead of "SYSTEMDRIVE" and "SYSTEMROOT".
2799 RELEASE 1.2.0.d20090113 - Tue, 13 Jan 2009 02:50:30 -0800
2801 From Stanislav Baranov, Ted Johnson and Steven Knight:
2803 - Add support for batch compilation of Visual Studio C/C++ source
2804 files, controlled by a new $MSVC_BATCH construction variable.
2808 - Print the message, "scons: Build interrupted." on error output,
2809 not standard output.
2811 - Add a --warn=future-deprecated option for advance warnings about
2812 deprecated features that still have warnings hidden by default.
2814 - Fix use of $SOURCE and $SOURCES attributes when there are no
2815 sources specified in the Builder call.
2817 - Add support for new $CHANGED_SOURCES, $CHANGED_TARGETS,
2818 $UNCHANGED_SOURCES and $UNCHANGED_TARGETS variables.
2820 - Add general support for batch builds through new batch_key= and
2821 targets= keywords to Action object creation.
2825 - Make linker tools differentiate properly between SharedLibrary
2828 - Document TestCommon.shobj_prefix variable.
2830 - Support $SWIGOUTDIR values with spaces.
2834 - Don't automatically try to build .pdf graphics files for
2835 .eps files in \includegraphics{} calls in TeX/LaTeX files
2836 when building with the PDF builder (and thus using pdflatex).
2838 From Gary Oberbrunner:
2840 - Allow AppendENVPath() and PrependENVPath() to interpret '#'
2841 for paths relative to the top-level SConstruct directory.
2843 - Use the Borland ilink -e option to specify the output file name.
2845 - Document that the msvc Tool module uses $PCH, $PCHSTOP and $PDB.
2847 - Allow WINDOWS_INSERT_DEF=0 to disable --output-def when linking
2852 - Fix typos in the User's Guide.
2856 - Support implicit dependency scanning of files encoded in utf-8
2859 From Roberto de Vecchi:
2861 - Remove $CCFLAGS from the the default definitions of $CXXFLAGS for
2862 Visual C/C++ and MIPSpro C++ on SGI so, they match other tools
2863 and avoid flag duplication on C++ command lines.
2867 - Handle quoted module names in SWIG source files.
2869 - Emit *_wrap.h when SWIG generates header file for directors
2871 From Matthew Wesley:
2873 - Copy file attributes so we identify, and can link a shared library
2874 from, shared object files in a Repository.
2878 RELEASE 1.2.0 - Sat, 20 Dec 2008 22:47:29 -0800
2882 - Don't fail if can't import a _subprocess module on Windows.
2884 - Add warnings for use of the deprecated Options object.
2888 RELEASE 1.1.0.d20081207 - Sun, 07 Dec 2008 19:17:23 -0800
2892 - Improve the robustness of GetBuildFailures() by refactoring
2893 SCons exception handling (especially BuildError exceptions).
2895 - Have the --taskmastertrace= option print information about
2896 individual Task methods, not just the Taskmaster control flow.
2898 - Eliminate some spurious dependency cycles by being more aggressive
2899 about pruning pending children from the Taskmaster walk.
2901 - Suppress mistaken reports of a dependency cycle when a child
2902 left on the pending list is a single Node in EXECUTED state.
2904 From David Cournapeau:
2906 - Fix $FORTRANMODDIRPREFIX for the ifort (Intel Fortran) tool.
2908 From Brad Fitzpatrick:
2910 - Don't pre-generate an exception message (which will likely be
2911 ignored anyway) when an EntryProxy re-raises an AttributeError.
2915 - Clean up coding style and white space in Node/FS.py.
2917 - Fix a typo in the documentation for $_CPPDEFFLAGS.
2919 - Issue 2401: Fix usage of comparisons with None.
2921 From Ludwig H�hne:
2923 - Handle Java inner classes declared within a method.
2927 - Fix label placement by the "scons-time.py func" subcommand
2928 when a profile value was close to (or equal to) 0.0.
2930 - Fix env.Append() and env.Prepend()'s ability to add a string to
2931 list-like variables like $CCFLAGS under Python 2.6.
2933 - Other Python2.6 portability: don't use "as" (a Python 2.6 keyword).
2934 Don't use the deprecated Exception.message attribute.
2936 - Support using the -f option to search for a different top-level
2937 file name when walking up with the -D, -U or -u options.
2939 - Fix use of VariantDir when the -n option is used and doesn't,
2940 therefore, actually create the variant directory.
2942 - Fix a stack trace from the --debug=includes option when passed a
2943 static or shared library as an argument.
2945 - Speed up the internal find_file() function (used for searching
2946 CPPPATH, LIBPATH, etc.).
2948 - Add support for using the Python "in" keyword on construction
2949 environments (for example, if "CPPPATH" in env: ...).
2951 - Fix use of Glob() when a repository or source directory contains
2952 an in-memory Node without a corresponding on-disk file or directory.
2954 - Add a warning about future reservation of $CHANGED_SOURCES,
2955 $CHANGED_TARGETS, $UNCHANGED_SOURCES and $UNCHANGED_TARGETS.
2957 - Enable by default the existing warnings about setting the resource
2958 $SOURCE, $SOURCES, $TARGET and $TARGETS variable.
2962 - Scan for TeX files in the paths specified in the $TEXINPUTS
2963 construction variable and the $TEXINPUTS environment variable.
2965 - Configure the PDF() and PostScript() Builders as single_source so
2966 they know each source file generates a separate target file.
2968 - Add $EPSTOPDF, $EPSTOPDFFLAGS and $EPSTOPDFCOM
2970 - Add .tex as a valid extension for the PDF() builder.
2972 - Add regular expressions to find \input, \include and
2975 - Support generating a .pdf file from a .eps source.
2977 - Recursive scan included input TeX files.
2979 - Handle requiring searched-for TeX input graphics files to have
2980 extensions (to avoid trying to build a .eps from itself, e.g.).
2984 - Make the Action() function handle positional parameters consistently.
2986 - Clarify use of Configure.CheckType().
2988 - Make the File.{Dir,Entry,File}() methods create their entries
2989 relative to the calling File's directory, not the SConscript
2992 - Use the Python os.devnull variable to discard error output when
2993 looking for the $CC or $CXX version.
2995 - Mention LoadableModule() in the SharedLibrary() documentation.
2997 From Gary Oberbrunner:
2999 - Update the User's Guide to clarify use of the site_scons/
3000 directory and the site_init.py module.
3002 - Make env.AppendUnique() and env.PrependUnique remove duplicates
3003 within a passed-in list being added, too.
3005 From Randall Spangler:
3007 - Fix Glob() so an on-disk file or directory beginning with '#'
3008 doesn't throw an exception.
3012 RELEASE 1.1.0 - Thu, 09 Oct 2008 08:33:47 -0700
3016 - Use the specified environment when checking for the GCC compiler
3019 From Ian P. Cardenas:
3021 - Fix Glob() polluting LIBPATH by returning copy of list
3023 From David Cournapeau:
3025 - Add CheckCC, CheckCXX, CheckSHCC and CheckSHCXX tests to
3026 configuration contexts.
3028 - Have the --profile= argument use the much faster cProfile module
3029 (if it's available in the running Python version).
3031 - Reorder MSVC compilation arguments so the /Fo is first.
3035 - Add scanning Windows resource (.rc) files for implicit dependencies.
3039 - When scanning for a #include file, don't use a directory that
3040 has the same name as the file.
3042 From Ralf W. Grosse-Kunstleve
3044 - Suppress error output when checking for the GCC compiler version.
3048 - Fix VariantDir duplication of #included files in subdirectories.
3050 From Ludwig H�hne:
3052 - Reduce memory usage when a directory is used as a dependency of
3053 another Node (such as an Alias) by returning a concatenation
3054 of the children's signatures + names, not the children's contents,
3055 as the directory contents.
3057 - Raise AttributeError, not KeyError, when a Builder can't be found.
3059 - Invalidate cached Node information (such as the contenst returned
3060 by the get_contents() method) when calling actions with Execute().
3062 - Avoid object reference cycles from frame objects.
3064 - Reduce memory usage from Null Executor objects.
3066 - Compute MD5 checksums of large files without reading the entire
3067 file contents into memory. Add a new --md5-chunksize option to
3068 control the size of each chunk read into memory.
3072 - Fix the ability of the add_src_builder() method to add a new
3073 source builder to any other builder.
3075 - Avoid an infinite loop on non-Windows systems trying to find the
3076 SCons library directory if the Python library directory does not
3077 begin with the string "python".
3079 - Search for the SCons library directory in "scons-local" (with
3080 no version number) after "scons-local-{VERSION}".
3084 - Fix the user's ability to interrupt the TeX build chain.
3086 - Fix the TeX builder's allowing the user to specify the target name,
3087 instead of always using its default output name based on the source.
3089 - Iterate building TeX output files until all warning are gone
3090 and the auxiliary files stop changing, or until we reach the
3091 (configurable) maximum number of retries.
3093 - Add TeX scanner support for: glossaries, nomenclatures, lists of
3094 figures, lists of tables, hyperref and beamer.
3096 - Use the $BIBINPUTS, $BSTINPUTS, $TEXINPUTS and $TEXPICTS construction
3097 variables as search paths for the relevant types of input file.
3099 - Fix building TeX with VariantDir(duplicate=0) in effect.
3101 - Fix the LaTeX scanner to search for graphics on the TEXINPUTS path.
3103 - Have the PDFLaTeX scanner search for .gif files as well.
3107 - Fix typos and format bugs in the man page.
3109 - Add a first draft of a wrapper module for Python's subprocess
3112 - Refactor use of the SCons.compat module so other modules don't
3113 have to import it individually.
3115 - Add .sx as a suffix for assembly language files that use the
3118 From Gary Oberbrunner:
3120 - Make Glob() sort the returned list of Files or Nodes
3121 to prevent spurious rebuilds.
3123 - Add a delete_existing keyword argument to the AppendENVPath()
3124 and PrependENVPath() Environment methods.
3126 - Add ability to use "$SOURCE" when specifying a target to a builder
3130 - Add a test case to verify that SConsignFile() files can be
3131 created in previously non-existent subdirectories.
3135 - Make the subdirectory in which the SConsignFile() file will
3136 live, if the subdirectory doesn't already exist.
3140 - Add a test to verify duplication of files in VariantDir subdirectories.
3144 RELEASE 1.0.1 - Sat, 06 Sep 2008 07:29:34 -0700
3148 - Add a FindFile() section to the User's Guide.
3150 - Fix the FindFile() documentation in the man page.
3152 - Fix formatting errors in the Package() description in the man page.
3154 - Escape parentheses that appear within variable names when spawning
3155 command lines using os.system().
3163 - Clear the Node state when turning a generic Entry into a Dir.
3165 From Ludwig H�hne:
3167 - Fix sporadic output-order failures in test/GetBuildFailures/parallel.py.
3169 - Document the ParseDepends() function in the User's Guide.
3173 - Create a separate description and long_description for RPM packages.
3177 - Document the GetLaunchDir() function in the User's Guide.
3179 - Have the env.Execute() method print an error message if the
3180 executed command fails.
3182 - Add a script for creating a standard SCons development system on
3183 Ubuntu Hardy. Rewrite subsidiary scripts for install Python and
3184 SCons versions in Python (from shell).
3188 - Handle yacc/bison on newer Mac OS X versions creating file.hpp,
3191 - In RPCGEN tests, ignore stderr messages from older versions of
3192 rpcgen on some versions of Mac OS X.
3194 - Fix typos in man page descriptions of Tag() and Package(), and in
3195 the scons-time man page.
3197 - Fix documentation of SConf.CheckLibWithHeader and other SConf methods.
3199 - Update documentation of SConscript(variant_dir) usage.
3201 - Fix SWIG tests for (some versions of) Mac OS X.
3205 - Print the warning about -j on Windows being potentially unreliable if
3206 the pywin32 extensions are unavailable or lack file handle operations.
3210 - Fix the env.WhereIs() method to expand construction variables.
3212 From Rogier Schouten:
3214 - Enable building of shared libraries with the Bordand ilink32 linker.
3218 RELEASE 1.0.0 - Sat, 09 Aug 2008 12:19:44 -0700
3220 From Luca Falavigna:
3222 - Fix SCons man page indentation under Debian's man page macros.
3226 - Clarify the man page description of the SConscript(src_dir) argument.
3228 - User's Guide updates:
3230 - Document the BUILD_TARGETS, COMMAND_LINE_TARGETS and
3231 DEFAULT_TARGETS variables.
3233 - Document the AddOption(), GetOption() and SetOption() functions.
3235 - Document the Requires() function; convert to the Variables
3236 object, its UnknownOptions() method, and its associated
3237 BoolVariable(), EnumVariable(), ListVariable(), PackageVariable()
3238 and PathVariable() functions.
3240 - Document the Progress() function.
3242 - Reorganize the chapter and sections describing the different
3243 types of environments and how they interact. Document the
3244 SetDefault() method. Document the PrependENVPath() and
3245 AppendENVPath() functions.
3247 - Reorganize the command-line arguments chapter. Document the
3250 - Collect some miscellaneous sections into a chapter about
3251 configuring build output.
3255 - Document suggested use of the Visual C/C++ /FC option to fix
3256 the ability to double-click on file names in compilation error
3259 - Document the need to use Clean() for any SideEffect() files that
3260 must be explicitly removed when their targets are removed.
3262 - Explicitly document use of Node lists as input to Dependency().
3266 - Document MergeFlags(), ParseConfig(), ParseFlags() and SideEffect()
3267 in the User's Guide.
3269 From Gary Oberbrunner:
3271 - Document use of the GetBuildFailures() function in the User's Guide.
3275 - Add man page text clarifying the behavior of AddPreAction() and
3276 AddPostAction() when called with multiple targets.
3278 From Alexey Zezukin:
3280 - Fix incorrectly swapped man page descriptions of the --warn= options
3281 for duplicate-environment and missing-sconscript.
3285 RELEASE 0.98.5 - Sat, 07 Jun 2008 08:20:35 -0700
3289 - Fix the Intel C++ compiler ABI specification for EMT64 processors.
3291 From David Cournapeau:
3293 - Issue a (suppressable) warning, not an error, when trying to link
3294 C++ and Fortran object files into the same executable.
3298 - Update the scons.bat file so that it returns the real exit status
3299 from SCons, even though it uses setlocal + endlocal.
3301 - Fix the --interactive post-build messages so it doesn't get stuck
3302 mistakenly reporting failures after any individual build fails.
3304 - Fix calling File() as a File object method in some circumstances.
3306 - Fix setup.py installation on Mac OS X so SCons gets installed
3307 under /usr/lcoal by default, not in the Mac OS X Python framework.
3311 RELEASE 0.98.4 - Sat, 17 May 2008 22:14:46 -0700
3315 - Fix calculation of signatures for Python function actions with
3316 closures in Python versions before 2.5.
3318 From David Cournapeau:
3320 - Fix the initialization of $SHF77FLAGS so it includes $F77FLAGS.
3324 - Fix a syntax error in the Intel C compiler support on Windows.
3328 - Change how we represent Python Value Nodes when printing and when
3329 stored in .sconsign files (to avoid blowing out memory by storing
3330 huge strings in .sconsign files after multiple runs using Configure
3331 contexts cause the Value strings to be re-escaped each time).
3333 - Fix a regression in not executing configuration checks after failure
3334 of any configuration check that used the same compiler or other tool.
3336 - Handle multiple destinations in Visual Studio 8 settings for the
3337 analogues to the INCLUDE, LIBRARY and PATH variables.
3341 - Update man page text for VariantDir().
3345 RELEASE 0.98.3 - Tue, 29 Apr 2008 22:40:12 -0700
3349 - Fix use of $CXXFLAGS when building C++ shared object files.
3353 - Fix a regression when a Builder's source_scanner doesn't select
3354 a more specific scanner for the suffix of a specified source file.
3356 - Fix the Options object backwards compatibility so people can still
3357 "import SCons.Options.{Bool,Enum,List,Package,Path}Option" submodules.
3359 - Fix searching for implicit dependencies when an Entry Node shows up
3360 in the search path list.
3364 - Fix expansion of $FORTRANMODDIR in the default Fortran command line(s)
3365 when it's set to something like ${TARGET.dir}.
3369 RELEASE 0.98.2 - Sun, 20 Apr 2008 23:38:56 -0700
3373 - Fix a bug in Fortran suffix computation that would cause SCons to
3374 run out of memory on Windows systems.
3376 - Fix being able to specify --interactive mode command lines with
3377 \ (backslash) path name separators on Windows.
3379 From Gary Oberbrunner:
3381 - Document Glob() in the User's Guide.
3385 RELEASE 0.98.1 - Fri, 18 Apr 2008 19:11:58 -0700
3389 - Speed up the SCons.Util.to_string*() functions.
3391 - Optimize various Node intialization and calculations.
3393 - Optimize Executor scanning code.
3395 - Optimize Taskmaster execution, including dependency-cycle checking.
3397 - Fix the --debug=stree option so it prints its tree once, not twice.
3401 - Fix the ability to use LoadableModule() under MinGW.
3403 From David Cournapeau:
3405 - Various missing Fortran-related construction variables have been added.
3407 - SCons now uses the program specified in the $FORTRAN construction
3408 variable to link Fortran object files.
3410 - Fortran compilers on Linux (Intel, g77 and gfortran) now add the -fPIC
3411 option by default when compilling shared objects.
3413 - New 'sunf77', 'sunf90' and 'sunf95' Tool modules have been added to
3414 support Sun Fortran compilers. On Solaris, the Sun Fortran compilers
3415 are used in preference to other compilers by default.
3417 - Fortran support now uses gfortran in preference to g77.
3419 - Fortran file suffixes are now configurable through the
3420 $F77FILESUFFIXES, $F90FILESUFFIXES, $F95FILESUFFIXES and
3421 $FORTRANFILESUFFIXES variables.
3425 - Make the -d, -e, -w and --no-print-directory options "Ignored for
3426 compatibility." (We're not going to implement them.)
3428 - Fix a serious inefficiency in how SCons checks for whether any source
3429 files are missing when a Builder call creates many targets from many
3432 - In Java projects, make the target .class files depend only on the
3433 specific source .java files where the individual classes are defined.
3435 - Don't store duplicate source file entries in the .sconsign file so
3436 we don't endlessly rebuild the target(s) for no reason.
3438 - Add a Variables object as the first step towards deprecating the
3439 Options object name. Similarly, add BoolVariable(), EnumVariable(),
3440 ListVariable(), PackageVariable() and PathVariable() functions
3441 as first steps towards replacing BoolOption(), EnumOption(),
3442 ListOption(), PackageOption() and PathOption().
3444 - Change the options= keyword argument to the Environment() function
3445 to variables=, to avoid confusion with SCons command-line options.
3446 Continue supporting the options= keyword for backwards compatibility.
3448 - When $SWIGFLAGS contains the -python flag, expect the generated .py
3449 file to be in the same (sub)directory as the target.
3451 - When compiling C++ files, allow $CCFLAGS settings to show up on the
3452 command line even when $CXXFLAGS has been redefined.
3454 - Fix --interactive with -u/-U/-D when a VariantDir() is used.
3456 From Anatoly Techtonik:
3458 - Have the scons.bat file add the script execution directory to its
3459 local %PATH% on Windows, so the Python executable can be found.
3463 - Fix passing variable names as a list to the Return() function.
3465 From Matthew Wesley:
3467 - Add support for the GDC 'D' language compiler.
3471 RELEASE 0.98 - Sun, 30 Mar 2008 23:33:05 -0700
3475 - Fix the --keep-going flag so it builds all possible targets even when
3476 a later top-level target depends on a child that failed its build.
3478 - Fix being able to use $PDB and $WINDWOWS_INSERT_MANIFEST together.
3480 - Don't crash if un-installing the Intel C compiler leaves left-over,
3481 dangling entries in the Windows registry.
3483 - Improve support for non-standard library prefixes and suffixes by
3484 stripping all prefixes/suffixes from file name string as appropriate.
3486 - Reduce the default stack size for -j worker threads to 256 Kbytes.
3487 Provide user control over this value by adding --stack-size and
3488 --warn=stack-size options, and a SetOption('stack_size') function.
3490 - Fix a crash on Linux systems when trying to use the Intel C compiler
3491 and no /opt/intel_cc_* directories are found.
3493 - Improve using Python functions as actions by incorporating into
3494 a FunctionAction's signature:
3495 - literal values referenced by the byte code.
3496 - values of default arguments
3497 - code of nested functions
3498 - values of variables captured by closures
3499 - names of referenced global variables and functions
3501 - Fix the closing message when --clean and --keep-going are both
3502 used and no errors occur.
3504 - Add support for the Intel C compiler on Mac OS X.
3506 - Speed up reading SConscript files by about 20% (for some
3507 configurations) by: 1) optimizing the SCons.Util.is_*() and
3508 SCons.Util.flatten() functions; 2) avoiding unnecessary os.stat()
3509 calls by using a File's .suffix attribute directly instead of
3512 From Jérôme Berger:
3514 - Have the D language scanner search for .di files as well as .d files.
3516 - Add a find_include_names() method to the Scanner.Classic class to
3517 abstract out how included names can be generated by subclasses.
3519 - Allow the D language scanner to detect multiple modules imported by
3522 From Konstantin Bozhikov:
3524 - Support expansion of construction variables that contain or refer
3525 to lists of other variables or Nodes within expansions like $CPPPATH.
3527 - Change variable substitution (the env.subst() method) so that an
3528 input sequence (list or tuple) is preserved as a list in the output.
3530 From David Cournapeau:
3532 - Add a CheckDeclaration() call to configure contexts.
3534 - Improve the CheckTypeSize() code.
3536 - Add a Define() call to configure contexts, to add arbitrary #define
3537 lines to a generated configure header file.
3539 - Add a "gfortran" Tool module for the GNU F95/F2003 compiler.
3541 - Avoid use of -rpath with the Mac OS X linker.
3543 - Add comment lines to the generated config.h file to describe what
3544 the various #define/#undef lines are doing.
3548 - Support the ability to subclass the new-style "str" class as input
3551 - Improve the performance of our type-checking by using isinstance()
3552 with new-style classes.
3554 - Fix #include (and other $*PATH variables searches) of files with
3555 absolute path names. Don't die if they don't exist (due to being
3556 #ifdef'ed out or the like).
3558 - Fix --interactive mode when Default(None) is used.
3560 - Fix --debug=memoizer to work around a bug in base Python 2.2 metaclass
3561 initialization (by just not allowing Memoization in Python versions
3564 - Have the "scons-time time" subcommand handle empty log files, and
3565 log files that contain no results specified by the --which option.
3567 - Fix the max Y of vertical bars drawn by "scons-time --fmt=gnuplot".
3569 - On Mac OS X, account for the fact that the header file generated
3570 from a C++ file will be named (e.g.) file.cpp.h, not file.hpp.
3572 - Fix floating-point numbers confusing the Java parser about
3573 generated .class file names in some configurations.
3575 - Document (nearly) all the values you can now fetch with GetOption().
3577 - Fix use of file names containing strings of multiple spaces when
3578 using ActionFactory instances like the Copy() or Move() function.
3580 - Fix a 0.97 regression when using a variable expansion (like
3581 $OBJSUFFIX) in a source file name to a builder with attached source
3582 builders that match suffix (like Program()+Object()).
3584 - Have the Java parser recognize generics (surrounded by angle brackets)
3585 so they don't interfere with identifying anonymous inner classes.
3587 - Avoid an infinite loop when trying to use saved copies of the
3588 env.Install() or env.InstallAs() after replacing the method
3591 - Improve the performance of setting construction variables.
3593 - When cloning a construction environment, avoid over-writing an
3594 attribute for an added method if the user explicitly replaced it.
3596 - Add a warning about deprecated support for Python 1.5, 2.0 and 2.1.
3598 - Fix being able to SetOption('warn', ...) in SConscript files.
3600 - Add a warning about env.Copy() being deprecated.
3602 - Add warnings about the --debug={dtree,stree,tree} options
3605 - Add VariantDir() as the first step towards deprecating BuildDir().
3606 Add the keyword argument "variant_dir" as the replacement for
3609 - Add warnings about the {Target,Source}Signatures() methods and
3610 functions being deprecated.
3614 - Enhance TeX and LaTeX support to work with BuildDir(duplicate=0).
3616 - Re-run LaTeX when it issues a package warning that it must be re-run.
3618 From Leanid Nazdrynau:
3620 - Have the Copy() action factory preserve file modes and times
3621 when copying individual files.
3625 - If $JARCHDIR isn't set explicitly, use the .java_classdir attribute
3626 that was set when the Java() Builder built the .class files.
3630 - Document the Dir(), File() and Entry() methods of Dir and File Nodes.
3632 - Add the parse_flags option when creating Environments
3634 From Gary Oberbrunner:
3636 - Make File(), Dir() and Entry() return a list of Nodes when passed
3637 a list of names, instead of trying to make a string from the name
3638 list and making a Node from that string.
3640 - Fix the ability to build an Alias in --interactive mode.
3642 - Fix the ability to hash the contents of actions for nested Python
3643 functions on Python versions where the inability to pickle them
3644 returns a TypeError (instead of the documented PicklingError).
3648 - Fix use of the Intel C compiler when the top compiler directory,
3649 but not the compiler version, is specified.
3651 - Handle Intel C compiler network license files (port@system).
3655 - Fix how Python Value Nodes are printed in --debug=explain output.
3659 - Add a --interactive option that starts a session for building (or
3660 cleaning) targets without re-reading the SConscript files every time.
3662 - Fix use of readline command-line editing in --interactive mode.
3664 - Have the --interactive mode "build" command with no arguments
3665 build the specified Default() targets.
3667 - Fix the Chmod(), Delete(), Mkdir() and Touch() Action factories to
3668 take a list (of Nodes or strings) as arguments.
3670 From Vaclav Smilauer:
3672 - Fix saving and restoring an Options value of 'all' on Python
3673 versions where all() is a builtin function.
3675 From Daniel Svensson:
3677 - Code correction in SCons.Util.is_List().
3681 - Support the SWIG %module statement with following modifiers in
3682 parenthese (e.g., '%module(directors="1")').
3686 RELEASE 0.97.0d20071212 - Wed, 12 Dec 2007 09:29:32 -0600
3690 - Fix occasional spurious rebuilds and inefficiency when using
3691 --implicit-cache and Builders that produce multiple targets.
3693 - Allow SCons to not have to know about the builders of generated
3694 files when BuildDir(duplicate=0) is used, potentially allowing some
3695 SConscript files to be ignored for smaller builds.
3697 From David Cournapeau:
3699 - Add a CheckTypeSize() call to configure contexts.
3703 - Make the "contents" of Alias Nodes a concatenation of the children's
3704 content signatures (MD5 checksums), not a concatenation of the
3705 children's contents, to avoid using large amounts of memory during
3706 signature calculation.
3710 - Fix a lot of typos in the man page and User's Guide.
3712 From Geoffrey Irving:
3714 - Speed up conversion of paths in .sconsign files to File or Dir Nodes.
3718 - Add an Options.UnknownOptions() method that returns any settings
3719 (from the command line, or whatever dictionary was passed in)
3720 that aren't known to the Options object.
3722 - Add a Glob() function.
3724 - When removing targets with the -c option, use the absolute path (to
3725 avoid problems interpreting BuildDir() when the top-level directory
3726 is the source directory).
3728 - Fix problems with Install() and InstallAs() when called through a
3729 clone (of a clone, ...) of a cloned construction environment.
3731 - When executing a file containing Options() settings, add the file's
3732 directory to sys.path (so modules can be imported from there) and
3733 explicity set __name__ to the name of the file so the statement's
3734 in the file can deduce the location if they need to.
3736 - Fix an O(n^2) performance problem when adding sources to a target
3737 through calls to a multi Builder (including Aliases).
3739 - Redefine the $WINDOWSPROGMANIFESTSUFFIX and
3740 $WINDOWSSHLIBMANIFESTSUFFIX variables so they pick up changes to
3741 the underlying $SHLIBSUFFIX and $PROGSUFFIX variables.
3743 - Add a GetBuildFailures() function that can be called from functions
3744 registered with the Python atexit module to print summary information
3745 about any failures encountered while building.
3747 - Return a NodeList object, not a Python list, when a single_source
3748 Builder like Object() is called with more than one file.
3750 - When searching for implicit dependency files in the directories
3751 in a $*PATH list, don't create Dir Nodes for directories that
3752 don't actually exist on-disk.
3754 - Add a Requires() function to allow the specification of order-only
3755 prerequisites, which will be updated before specified "downstream"
3756 targets but which don't actually cause the target to be rebuilt.
3758 - Restore the FS.{Dir,File,Entry}.rel_path() method.
3760 - Make the default behavior of {Source,Target}Signatures('timestamp')
3761 be equivalent to 'timestamp-match', not 'timestamp-newer'.
3763 - Fix use of CacheDir with Decider('timestamp-newer') by updating
3764 the modification time when copying files from the cache.
3766 - Fix random issues with parallel (-j) builds on Windows when Python
3767 holds open file handles (especially for SCons temporary files,
3768 or targets built by Python function actions) across process creation.
3770 From Maxim Kartashev:
3772 - Fix test scripts when run on Solaris.
3774 From Gary Oberbrunner:
3776 - Fix Glob() when a pattern is in an explicitly-named subdirectory.
3778 From Philipp Scholl:
3780 - Fix setting up targets if multiple Package builders are specified
3785 RELEASE 0.97.0d20070918 - Tue, 18 Sep 2007 10:51:27 -0500
3789 - Fix the wix Tool module to handle null entries in $PATH variables.
3791 - Move the documentation of Install() and InstallAs() from the list
3792 of functions to the list of Builders (now that they're implemented
3795 - Allow env.CacheDir() to be set per construction environment. The
3796 global CacheDir() function now sets an overridable global default.
3798 - Add an env.Decider() method and a Node.Decider() method that allow
3799 flexible specification of an arbitrary function to decide if a given
3800 dependency has changed since the last time a target was built.
3802 - Don't execute Configure actions (while reading SConscript files)
3803 when cleaning (-c) or getting help (-h or -H).
3805 - Add to each target an implicit dependency on the external command(s)
3806 used to build the target, as found by searching env['ENV']['PATH']
3807 for the first argument on each executed command line.
3809 - Add support for a $IMPLICIT_COMMAND_DEPENDENCIES construction
3810 variabe that can be used to disable the automatic implicit
3811 dependency on executed commands.
3813 - Add an "ensure_suffix" keyword to Builder() definitions that, when
3814 true, will add the configured suffix to the targets even if it looks
3815 like they already have a different suffix.
3817 - Add a Progress() function that allows for calling a function or string
3818 (or list of strings) to display progress while walking the DAG.
3820 - Allow ParseConfig(), MergeFlags() and ParseFlags() to handle output
3821 from a *config command with quoted path names that contain spaces.
3823 - Make the Return() function stop processing the SConscript file and
3824 return immediately. Add a "stop=" keyword argument that can be set
3825 to False to preserve the old behavior.
3827 - Fix use of exitstatfunc on an Action.
3829 - Introduce all man page function examples with "Example:" or "Examples:".
3831 - When a file gets added to a directory, make sure the directory gets
3832 re-scanned for the new implicit dependency.
3834 - Fix handling a file that's specified multiple times in a target
3835 list so that it doesn't cause dependent Nodes to "disappear" from
3836 the dependency graph walk.
3840 - Avoid race conditions with same-named files and directory creation
3841 when pushing copies of files to CacheDir().
3845 - Handle $ in Java class names.
3847 From Gary Oberbrunner:
3849 - Add support for the Intel C compiler on Windows64.
3851 - On SGI IRIX, have $SHCXX use $CXX by default (like other platforms).
3855 - When Cloning a construction environment, set any variables before
3856 applying tools (so the tool module can access the configured settings)
3857 and re-set them after (so they end up matching what the user set).
3859 From Matthias Troffaes:
3861 - Make sure extra auxiliary files generated by some LaTeX packages
3862 and not ending in .aux also get deleted by scons -c.
3866 - Add a $JAVABOOTCLASSPATH variable for directories to be passed to the
3867 javac -bootclasspath option.
3869 From Christoph Wiedemann:
3871 - Add implicit dependencies on the commands used to build a target.
3876 RELEASE 0.97.0d20070809 - Fri, 10 Aug 2007 10:51:27 -0500
3878 From Lars Albertsson:
3880 - Don't error if a #include line happens to match a directory
3881 somewhere on a path (like $CPPPATH, $FORTRANPATH, etc.).
3883 From Mark Bertoglio:
3885 - Fix listing multiple projects in Visual Studio 7.[01] solution files,
3886 including generating individual project GUIDs instead of re-using
3891 - Add /opt/SUNWspro/bin to the default execution PATH on Solaris.
3895 - Only expect the Microsoft IDL compiler to emit *_p.c and *_data.c
3896 files if the /proxy and /dlldata switches are used (respectively).
3900 - Have --debug=explain report if a target is being rebuilt because
3901 AlwaysBuild() is specified (instead of "unknown reasons").
3903 - Support {Get,Set}Option('help') to make it easier for SConscript
3904 files to tell if a help option (-h, --help, etc.) has been specified.
3906 - Support {Get,Set}Option('random') so random-dependency interaction
3907 with CacheDir() is controllable from SConscript files.
3909 - Add a new AddOption() function to support user-defined command-
3910 line flags (like --prefix=, --force, etc.).
3912 - Replace modified Optik version with new optparse compatibility module
3913 for command line processing in Scripts/SConsOptions.py
3915 - Push and retrieve built symlinks to/from a CacheDir() as actual
3916 symlinks, not by copying the file contents.
3918 - Fix how the Action module handles stringifying the shared library
3919 generator in the Tool/mingw.py module.
3921 - When generating a config.h file, print "#define HAVE_{FEATURE} 1"
3922 instad of just "#define HAVE_{FEATURE}", for more compatibility
3923 with Autoconf-style projects.
3925 - Fix expansion of $TARGET, $TARGETS, $SOURCE and $SOURCES keywords in
3926 Visual C/C++ PDB file names.
3928 - Fix locating Visual C/C++ PDB files in build directories.
3930 - Support an env.AddMethod() method and an AddMethod() global function
3931 for adding a new method, respectively, to a construction environment
3932 or an arbitrary object (such as a class).
3934 - Fix the --debug=time option when the -j option is specified and all
3935 files are up to date.
3937 - Add a $SWIGOUTDIR variable to allow setting the swig -outdir option,
3938 and use it to identify files created by the swig -java option.
3940 - Add a $SWIGPATH variable that specifies the path to be searched
3941 for included SWIG files, Also add related $SWIGINCPREFIX and
3942 $SWIGINCSUFFIX variables that specify the prefix and suffix to
3943 be be added to each $SWIGPATH directory when expanded on the SWIG
3946 - More efficient copying of construction environments (mostly borrowed
3947 from copy.deepcopy() in the standard Python library).
3949 - When printing --tree=prune output, don't print [brackets] around
3950 source files, only do so for built targets with children.
3952 - Fix interpretation of Builder source arguments when the Builder has
3953 a src_suffix *and* a source_builder and the argument has no suffix.
3955 - Fix use of expansions like ${TARGET.dir} or ${SOURCE.dir} in the
3956 following construction variables: $FORTRANMODDIR, $JARCHDIR,
3957 $JARFLAGS, $LEXFLAGS, $SWIGFLAGS, $SWIGOUTDIR and $YACCFLAGS.
3959 - Fix dependencies on Java files generated by SWIG so they can be
3960 detected and built in one pass.
3962 - Fix SWIG when used with a BuildDir().
3964 From Leanid Nazdrynau:
3966 - When applying Tool modules after a construction environment has
3967 already been created, don't overwrite existing $CFILESUFFIX and
3968 $CXXFILESUFFIX value.
3970 - Support passing the Java() builder a list of explicit .java files
3971 (not only a list of directories to be scanned for .java files).
3973 - Support passing .java files to the Jar() and JavaH() builders, which
3974 then use the builder underlying the Java() builder to turn them into
3975 .class files. (That is, the Jar()-Java() chain of builders become
3976 multi-step, like the Program()-Object()-CFile() builders.)
3978 - Support passing SWIG .i files to the Java builders (Java(),
3979 Jar(), JavaH()), to cause intermediate .java files to be created
3982 - Add $JAVACLASSPATH and $JAVASOURCEPATH variables, that get added to
3983 the javac "-classpath" and "-sourcepath" options. (Note that SCons
3984 does *not* currently search these paths for implicit dependencies.)
3986 - Commonize initialization of Java-related builders.
3990 - Find Java anonymous classes when the next token after the name is
3991 an open parenthesis.
3993 From Gary Oberbrunner:
3995 - Fix a code example in the man page.
3999 - Add support for the file names that Java 1.5 (and 1.6) generates for
4000 nested anonymous inner classes, which are different from Java 1.4.
4004 - Allow worker threads to terminate gracefully when all jobs are
4009 - Add LaTeX scanner support for finding dependencies specified with
4010 the \usepackage{} directive.
4014 RELEASE 0.97 - Thu, 17 May 2007 08:59:41 -0500
4018 - Fix a bug that would make parallel builds stop in their tracks if
4019 Nodes that depended on lists that contained some Nodes built together
4020 caused the reference count to drop below 0 if the Nodes were visited
4021 and commands finished in the wrong order.
4023 - Make sure the DirEntryScanner doesn't choke if it's handed something
4024 that's not a directory (Node.FS.Dir) Node.
4028 RELEASE 0.96.96 - Thu, 12 Apr 2007 12:36:25 -0500
4030 NOTE: This is (Yet) a(nother) pre-release of 0.97 for testing purposes.
4034 - Man page fix: remove cut-and-paste sentence in NoCache() description.
4036 From Dmitry Grigorenko and Gary Oberbrunner:
4038 - Use the Intel C++ compiler, not $CC, to link C++ source.
4042 - Fix the man page example of propagating a user's external environment.
4046 - Back out (most of) the Windows registry installer patch, which
4047 seems to not work on some versions of Windows.
4049 - Don't treat Java ".class" attributes as defining an inner class.
4051 - Fix detecting an erroneous Java anonymous class when the first
4052 non-skipped token after a "new" keyword is a closing brace.
4054 - Fix a regression when a CPPDEFINES list contains a tuple, the second
4055 item of which (the option value) is a construction variable expansion
4056 (e.g. $VALUE) and the value of the variable isn't a string.
4058 - Improve the error message if an IOError (like trying to read a
4059 directory as a file) occurs while deciding if a node is up-to-date.
4061 - Fix "maximum recursion" / "unhashable type" errors in $CPPPATH
4062 PathList expansion if a subsidiary expansion yields a stringable,
4065 - Generate API documentation from the docstrings (using epydoc).
4067 - Fix use of --debug=presub with Actions for out-of-the-box Builders.
4069 - Fix handling nested lists within $CPPPATH, $LIBPATH, etc.
4071 - Fix a "builders_used" AttributeError that real-world Qt initialization
4072 triggered in the refactored suffix handling for Builders.
4074 - Make the reported --debug=time timings meaningful when used with -j.
4075 Better documentation of what the times mean.
4077 - User Guide updates: --random, AlwaysBuild(), --tree=,
4078 --debug=findlibs, --debug=presub, --debug=stacktrace,
4081 - Document (in both man page and User's Guide) that --implicit-cache
4082 ignores changes in $CPPPATH, $LIBPATH, etc.
4084 From Jean-Baptiste Lab:
4086 - Remove hard-coded dependency on Python 2.2 from Debian packaging files.
4090 - Handle spaces in the build target name in Visual Studio project files.
4094 - Re-run LaTeX after BibTeX has been re-run in response to a changed
4097 From Joel B. Mohler:
4099 - Make additional TeX auxiliary files (.toc, .idx and .bbl files)
4100 Precious so their removal doesn't affect whether the necessary
4101 sections are included in output PDF or PostScript files.
4103 From Gary Oberbrunner:
4105 - Fix the ability to import modules in the site_scons directory from
4110 - Make sure parallel (-j) builds all targets even if they show up
4111 multiple times in the child list (as a source and a dependency).
4113 From Matthias Troffaes:
4115 - Don't re-run TeX if the triggering strings (\makeindex, \bibliography
4116 \tableofcontents) are commented out.
4120 - Fix use of custom include and lib paths with Visual Studio 8.
4122 - Select the default .NET Framework SDK Dir based on the version of
4123 Visual Studio being used.
4127 RELEASE 0.96.95 - Mon, 12 Feb 2007 20:25:16 -0600
4129 From Anatoly Techtonik:
4131 - Add the scons.org URL and a package description to the setup.py
4134 - Have the Windows installer add a registry entry for scons.bat in the
4135 "App Paths" key, so scons.bat can be executed without adding the
4136 directory to the %PATH%. (Python itself works this way.)
4140 - Fix looking for default paths in Visual Studio 8.0 (and later).
4142 - Add -lm to the list of default D libraries for linking.
4146 - Provide a more complete write-your-own-Scanner example in the man page.
4148 From Ralf W. Grosse-Kunstleve:
4150 - Contributed upstream Python change to our copied subprocess.py module
4151 for more efficient standard input processing.
4155 - Fix the Node.FS.Base.rel_path() method when the two nodes are on
4156 different drive letters. (This caused an infinite loop when
4157 trying to write .sconsign files.)
4159 - Fully support Scanners that use a dictionary to map file suffixes
4162 - Support delayed evaluation of the $SPAWN variable to allow selection
4163 of a function via ${} string expansions.
4165 - Add --srcdir as a synonym for -Y/--repository.
4167 - Document limitations of #include "file.h" with Repository().
4169 - Fix use of a toolpath under the source directory of a BuildDir().
4171 - Fix env.Install() with a file name portion that begins with '#'.
4173 - Fix ParseConfig()'s handling of multiple options in a string that's
4174 replaced a *FLAGS construction variable.
4176 - Have the C++ tools initialize common C compilation variables ($CCFLAGS,
4177 $SHCCFLAGS and $_CCCOMCOM) even if the 'cc' Tool isn't loaded.
4179 From Leanid Nazdrynau:
4181 - Fix detection of Java anonymous classes if a newline precedes the
4184 From Gary Oberbrunner:
4186 - Document use of ${} to execute arbitrary Python code.
4189 1) automatically adding a site_scons subdirectory (in the top-level
4190 SConstruct directory) to sys.path (PYTHONPATH);
4191 2) automatically importing site_scons/site_init.py;
4192 3) automatically adding site_scons/site_tools to the toolpath.
4196 - Change ParseConfig() to preserve white space in arguments passed in
4201 - Fix adding explicitly-named Java inner class files (and any
4202 other file names that may contain a '$') to Jar files.
4206 - Add a NoCache() function to mark targets as unsuitable for propagating
4207 to (or retrieving from) a CacheDir().
4211 - If the swig -noproxy option is used, it won't generate a .py file,
4212 so don't emit it as a target that we expect to be built.
4216 RELEASE 0.96.94 - Sun, 07 Jan 2007 18:36:20 -0600
4218 NOTE: This is a pre-release of 0.97 for testing purposes.
4222 - Allow arbitrary white space after a SWIG %module declaration.
4226 - When compiling resources under MinGW, make sure there's a space
4227 between the --include-dir option and its argument.
4231 - Alleviate long command line issues on Windows by executing command
4232 lines directly via os.spawnv() if the command line doesn't need
4233 shell interpretation (has no pipes, redirection, etc.).
4235 From Walter Franzini:
4237 - Exclude additional Debian packaging files from the copyright check.
4241 - Handle the conflict between the impending Python 2.6 'as' keyword
4242 and our Tool/as.py module name.
4246 - Speed up the Node.FS.Dir.rel_path() method used to generate path names
4247 that get put into the .sconsign* file(s).
4249 - Optimize Node.FS.Base.get_suffix() by computing the suffix once, up
4250 front, when we set the Node's name. (Duh...)
4252 - Reduce the Memoizer's responsibilities to simply counting hits and
4253 misses when the --debug=memoizer option is used, not to actually
4254 handling the key calculation and memoization itself. This speeds
4255 up some configurations significantly, and should cause no functional
4258 - Add a new scons-time script with subcommands for generating
4259 consistent timing output from SCons configurations, extracting
4260 various information from those timings, and displaying them in
4263 - Reduce some unnecessary stat() calls from on-disk entry type checks.
4265 - Fix SideEffect() when used with -j, which was badly broken in 0.96.93.
4267 - Propagate TypeError exceptions when evaluating construction variable
4268 expansions up the stack, so users can see what's going on.
4270 - When disambiguating a Node.FS.Entry into a Dir or File, don't look
4271 in the on-disk source directory until we've confirmed there's no
4272 on-disk entry locally and there *is* one in the srcdir. This avoids
4273 creating a phantom Node that can interfere with dependencies on
4276 - Add an AllowSubstExceptions() function that gives the SConscript
4277 files control over what exceptions cause a string to expand to ''
4278 vs. terminating processing with an error.
4280 - Allow the f90.py and f95.py Tool modules to compile earlier source
4281 source files of earlier Fortran version.
4283 - Fix storing signatures of files retrieved from CacheDir() so they're
4284 correctly identified as up-to-date next invocation.
4286 - Make sure lists of computed source suffixes cached by Builder objects
4287 don't persist across changes to the list of source Builders (so the
4288 addition of suffixes like .ui by the qt.py Tool module take effect).
4290 - Enhance the bootstrap.py script to allow it to be used to execute
4291 SCons more easily from a checked-out source tree.
4295 - Fix post-Memoizer value caching misspellings in Node.FS._doLookup().
4297 From Rob Managan, Dmitry Mikhin and Joel B. Mohler:
4299 - Handle TeX/LaTeX files in subdirectories by changing directory
4300 before invoking TeX/LaTeX.
4302 - Scan LaTeX files for \bibliography lines.
4304 - Support multiple file names in a "\bibliography{file1,file2}" string.
4306 - Handle TeX warnings about undefined citations.
4308 - Support re-running LaTeX if necessary due to a Table of Contents.
4312 - Return LaTeX if "Rerun to get citations correct" shows up on the next
4313 line after the "Warning:" string.
4315 From Gary Oberbrunner:
4317 - Add #include lines to fix portability issues in two tests.
4319 - Eliminate some unnecessary os.path.normpath() calls.
4321 - Add a $CFLAGS variable for C-specific options, leaving $CCFLAGS
4322 for options common to C and C++.
4326 - Have the error message print the missing file that Qt can't find.
4330 - Fix env.MergeFlags() appending to construction variable value of None.
4334 - Fix the "sconsign" script when the .sconsign.dblite file is explicitly
4335 specified on the command line (and not intuited from the old way of
4336 calling it with just ".sconsign").
4338 From Jose Pablo Ezequiel "Pupeno" Fernandez Silva:
4340 - Give the 'lex' tool knowledge of the additional target files produced
4341 by the flex "--header-file=" and "--tables-file=" options.
4343 - Give the 'yacc' tool knowledge of the additional target files produced
4344 by the bison "-g", "--defines=" and "--graph=" options.
4346 - Generate intermediate files with Objective C file suffixes (.m) when
4347 the lex and yacc source files have appropriate suffixes (.lm and .ym).
4351 - Have the mslink.py Tool only look for a 'link' executable on Windows
4354 From Vaclav Smilauer:
4356 - Add support for a "srcdir" keyword argument when calling a Builder,
4357 which will add a srcdir prefix to all non-relative string sources.
4359 From Jonathan Ultis:
4361 - Allow Options converters to take the construction environment as
4362 an optional argument.
4366 RELEASE 0.96.93 - Mon, 06 Nov 2006 00:44:11 -0600
4368 NOTE: This is a pre-release of 0.97 for testing purposes.
4372 - Allow Python Value Nodes to be Builder targets.
4376 - Only filter Visual Studio common filename prefixes on complete
4381 - Fix the build of the SCons documentation on systems that don't
4382 have "python" in the $PATH.
4386 - Enhance ParseConfig() to recognize options that begin with '+'.
4388 From John Calcote, Elliot Murphy:
4390 - Document ways to override the CCPDBFLAGS variable to use the
4391 Microsoft linker's /Zi option instead of the default /Z7.
4393 From Christopher Drexler:
4395 - Make SCons aware bibtex must be called if any \include files
4396 cause creation of a bibliography.
4398 - Make SCons aware that "\bilbiography" in TeX source files means
4399 that related .bbl and .blg bibliography files will be created.
4400 (NOTE: This still needs to search for the string in \include files.)
4404 - Fix inconsistent handling of Action strfunction arguments.
4406 - Preserve white space in display Action strfunction strings.
4408 From James Y. Knight and Gerard Patel:
4410 - Support creation of shared object files from assembly language.
4414 - Speed up the Taskmaster significantly by avoiding unnecessary
4415 re-scans of Nodes to find out if there's work to be done, having it
4416 track the currently-executed top-level target directly and not
4417 through its presence on the target list, and eliminating some other
4418 minor list(s), method(s) and manipulation.
4420 - Fix the expansion of $TARGET and $SOURCE in the expansion of
4421 $INSTALLSTR displayed for non-environment calls to InstallAs().
4423 - Fix the ability to have an Alias() call refer to a directory
4424 name that's not identified as a directory until later.
4426 - Enhance runtest.py with an option to use QMTest as the harness.
4427 This will become the default behavior as we add more functionality
4430 - Let linking on mingw use the default function that chooses $CC (gcc)
4431 or $CXX (g++) depending on whether there are any C++ source files.
4433 - Work around a bug in early versions of the Python 2.4 profile module
4434 that caused the --profile= option to fail.
4436 - Only call Options validators and converters once when initializing a
4437 construction environment.
4439 - Fix the ability of env.Append() and env.Prepend(), in all known Python
4440 versions, to handle different input value types when the construction
4441 variable being updated is a dictionary.
4443 - Add a --cache-debug option for information about what files it's
4444 looking for in a CacheDir().
4446 - Document the difference in construction variable expansion between
4447 {Action,Builder}() and env.{Action,Builder}().
4449 - Change the name of env.Copy() to env.Clone(), keeping the old name
4450 around for backwards compatibility (with the intention of eventually
4451 phasing it out to avoid confusion with the Copy() Action factory).
4455 - Support cleaning and scanning SWIG-generated files.
4459 - Allow selection of Visual Studio version by setting $MSVS_VERSION
4460 after construction environment initialization.
4462 From Jean-Baptiste Lab:
4464 - Try using zipimport if we can't import Tool or Platform modules
4465 using the normal "imp" module. This allows SCons to be packaged
4466 using py2exe's all-in-one-zip-file approach.
4470 - Do not re-scan files if the scanner returns no implicit dependencies.
4472 From Sanjoy Mahajan:
4474 - Change use of $SOURCES to $SOURCE in all TeX-related Tool modules.
4476 From Joel B. Mohler:
4478 - Make SCons aware that "\makeindex" in TeX source files means that
4479 related .ilg, .ind and .idx index files will be created.
4480 (NOTE: This still needs to search for the string in \include files.)
4482 - Prevent scanning the TeX .aux file for additional files from
4483 trying to remove it twice when the -c option is used.
4485 From Leanid Nazdrynau:
4487 - Give the MSVC RES (resource) Builder a src_builder list and a .rc
4488 src_suffix so other builders can generate .rc files.
4490 From Matthew A. Nicholson:
4492 - Enhance Install() and InstallAs() to handle directory trees as sources.
4496 - Don't use the -fPIC flag when using gcc on Windows (e.g. MinGW).
4500 - Add an env.ParseFlags() method that provides separate logic for
4501 parsing GNU tool chain flags into a dictionary.
4503 - Add an env.MergeFlags() method to apply an arbitrary dictionary
4504 of flags to a construction environment's variables.
4506 From Gary Oberbrunner:
4508 - Fix parsing tripartite Intel C compiler version numbers on Linux.
4510 - Extend the ParseConfig() function to recognize -arch and
4513 - Have the error message list the known suffixes when a Builder call
4514 can't build a source file with an unknown suffix.
4516 From Karol Pietrzak:
4518 - Avoid recursive calls to main() in the program snippet used by the
4519 SConf subsystem to test linking against libraries. This changes the
4520 default behavior of CheckLib() and CheckLibWithHeader() to print
4521 "Checking for C library foo..." instead of "Checking for main()
4522 in C library foo...".
4526 - Throw an exception if a command called by ParseConfig() or
4527 ParseFlags() returns an error.
4529 From Stefan Seefeld:
4531 - Initial infrastructure for running SCons tests under QMTest.
4535 - Fix tests that fail due to gcc warnings.
4537 From Dobes Vandermeer:
4539 - In stack traces, print the full paths of SConscript files.
4543 - Fix detection of Visual C++ Express Edition.
4545 From Dobes Vandermeer:
4547 - Let the src_dir option to the SConscript() function affect all the
4548 the source file paths, instead of treating all source files paths
4549 as relative to the SConscript directory itself.
4551 From Nicolas Vigier:
4553 - Fix finding Fortran modules in build directories.
4555 - Fix use of BuildDir() when the source file in the source directory
4556 is a symlink with a relative path.
4560 - Fix the Memoizer when the SCons Python modules are executed from
4561 .pyo files at different locations from where they were compiled.
4565 - Fix missing os.path.join() when constructing the $FRAMEWORKSDKDIR/bin.
4569 RELEASE 0.96.92 - Mon, 10 Apr 2006 21:08:22 -0400
4571 NOTE: This was a pre-release of 0.97 for testing purposes.
4575 - Fix the intelc.py Tool module to not throw an exception if the
4576 only installed version is something other than ia32.
4578 - Set $CCVERSION when using gcc.
4582 - Support generating project and solution files for Microsoft
4583 Visual Studio version 8.
4585 - Support generating more than one project file for a Microsoft
4586 Visual Studio solution file.
4588 - Add support for a support "runfile" parameter to Microsoft
4589 Visual Studio project file creation.
4591 - Put the project GUID, not the solution GUID, in the right spot
4592 in the solution file.
4594 From Erling Andersen:
4596 - Fix interpretation of Node.FS objects wrapped in Proxy instances,
4597 allowing expansion of things like ${File(TARGET)} in command lines.
4599 From Stanislav Baranov:
4601 - Add a separate MSVSSolution() Builder, with support for the
4602 following new construction variables: $MSVSBUILDCOM, $MSVSCLEANCOM,
4603 $MSVSENCODING, $MSVSREBUILDCOM, $MSVSSCONS, $MSVSSCONSCOM,
4604 $MSVSSCONSFLAGS, $MSVSSCONSCRIPT and $MSVSSOLUTIONCOM.
4606 From Ralph W. Grosse-Kunstleve and Patrick Mezard:
4608 - Remove unneceesary (and incorrect) SCons.Util strings on some function
4609 calls in SCons.Util.
4613 - Fix C/C++ compiler selection on AIX to not always use the external $CC
4614 environment variable.
4616 From August Hörandl:
4618 - Add a scanner for \include and \import files, with support for
4619 searching a directory list in $TEXINPUTS (imported from the external
4622 - Support $MAKEINDEX, $MAKEINDEXCOM, $MAKEINDEXCOMSTR and
4623 $MAKEINDEXFLAGS for generating indices from .idx files.
4625 From Steven Johnson:
4627 - Add a NoClean() Environment method and function to override removal
4628 of targets during a -c clean, including documentation and tests.
4632 - Check for whether files exist on disk by listing the directory
4633 contents, not calling os.path.exists() file by file. This is
4634 somewhat more efficient in general, and may be significantly
4635 more efficient on Windows.
4637 - Minor speedups in the internal is_Dict(), is_List() and is_String()
4640 - Fix a signature refactoring bug that caused Qt header files to
4641 get re-generated every time.
4643 - Don't fail when writing signatures if the .sconsign.dblite file is
4644 owned by a different user (e.g. root) from a previous run.
4646 - When deleting variables from stacked OverrideEnvironments, don't
4647 throw a KeyError if we were able to delte the variable from any
4648 Environment in the stack.
4650 - Get rid of the last indentation tabs in the SCons source files and
4651 add -tt to the Python invocations in the packaging build and the
4652 tests so they don't creep back in.
4654 - In Visual Studio project files, put quotes around the -C directory
4655 so everything works even if the path has spaces in it.
4657 - The Intel Fortran compiler uses -object:$TARGET, not "-o $TARGET",
4658 when building object files on Windows. Have the the ifort Tool
4659 modify the default command lines appropriately.
4661 - Document the --debug=explain option in the man page. (How did we
4664 - Add a $LATEXRETRIES variable to allow configuration of the number of
4665 times LaTex can be re-called to try to resolve undefined references.
4667 - Change the order of the arguments to Configure.Checklib() to match
4670 - Handle signature calculation properly when the Python function used
4671 for a FunctionAction is an object method.
4673 - On Windows, assume that absolute path names without a drive letter
4674 refer to the drive on which the SConstruct file lives.
4676 - Add /usr/ccs/bin to the end of the the default external execution
4679 - Add $PKGCHK and $PKGINFO variables for use on Solaris when searching
4680 for the SunPRO C++ compiler. Make the default value for $PKGCHK
4681 be /usr/sbin/pgkchk (since /usr/sbin isn't usually on the external
4684 - Fix a man page example of overriding variables when calling
4685 SharedLibrary() to also set the $LIBSUFFIXES variable.
4687 - Add a --taskmastertrace=FILE option to give some insight on how
4688 the taskmaster decides what Node to build next.
4690 - Changed the names of the old $WIN32DEFPREFIX, $WIN32DEFSUFFIX,
4691 $WIN32DLLPREFIX and $WIN32IMPLIBPREFIX construction variables to
4692 new $WINDOWSDEFPREFIX, $WINDOWSDEFSUFFIX, $WINDOWSDLLPREFIX and
4693 $WINDOWSIMPLIBPREFIX construction variables. The old names are now
4694 deprecated, but preserved for backwards compatibility.
4696 - Fix (?) a runtest.py hang on Windows when the --xml option is used.
4698 - Change the message when an error occurs trying to interact with the
4699 file system to report the target(s) in square brackets (as before) and
4700 the actual file or directory that encountered the error afterwards.
4704 - Add x64 support for Microsoft Visual Studio 8.
4706 From Baptiste Lepilleur:
4708 - Support the --debug=memory option on Windows when the Python version
4709 has the win32process and win32api modules.
4711 - Add support for Visual Studio 2005 Pro.
4713 - Fix portability issues in various tests: test/Case.py,
4714 Test/Java/{JAR,JARCHDIR,JARFLAGS,JAVAC,JAVACFLAGS,JAVAH,RMIC}.py,
4715 test/MSVS/vs-{6.0,7.0,7.1,8.0}-exec.py,
4716 test/Repository/{Java,JavaH,RMIC}.py,
4717 test/QT/{generated-ui,installed,up-to-date,warnings}.py,
4720 - Ignore pkgchk errors on Solaris when searching for the C++ compiler.
4722 - Speed up the SCons/EnvironmentTests.py unit tests.
4724 - Add a --verbose= option to runtest.py to print executed commands
4725 and their output at various levels.
4727 From Christian Maaser:
4729 - Add support for Visual Studio Express Editions.
4731 - Add support for Visual Studio 8 *.manifest files, includng
4732 new $WINDOWS_INSERT_MANIFEST, $WINDOWSPROGMANIFESTSUFFIX,
4733 $WINDOWSPROGMANIFESTPREFIX, $WINDOWSPROGMANIFESTSUFFIX,
4734 $WINDOWSSHLIBMANIFESTPREFIX and $WINDOWSSHLIBMANIFESTSUFFIX
4735 construction variables.
4739 - Fix detection of additional Java inner classes following use of a
4740 "new" keyword inside an inner class.
4742 From Sanjoy Mahajan:
4744 - Correct TeX-related command lines to just $SOURCE, not $SOURCES
4746 From Patrick Mezard:
4748 - Execute build commands for a command-line target if any of the
4749 files built along with the target is out of date or non-existent,
4750 not just if the command-line target itself is out of date.
4752 - Fix the -n option when used with -c to print all of the targets
4753 that will be removed for a multi-target Builder call.
4755 - If there's no file in the source directory, make sure there isn't
4756 one in the build directory, too, to avoid dangling files left
4757 over from previous runs when a source file is removed.
4759 - Allow AppendUnique() and PrependUnique() to append strings (and
4760 other atomic objects) to lists.
4762 From Joel B. Mohler:
4764 - Extend latex.py, pdflatex.py, pdftex.py and tex.py so that building
4765 from both TeX and LaTeX files uses the same logic to call $BIBTEX
4766 when it's necessary, to call $MAKEINDEX when it's necessary, and to
4767 call $TEX or $LATEX multiple times to handle undefined references.
4769 - Add an emitter to the various TeX builders so that the generated
4770 .aux and .log files also get deleted by the -c option.
4772 From Leanid Nazdrynau:
4774 - Fix the Qt UIC scanner to work with generated .ui files (by using
4775 the FindFile() function instead of checking by-hand for the file).
4777 From Jan Nieuwenhuizen:
4779 - Fix a problem with interpreting quoted argument lists on command lines.
4783 - Add /sw/bin to the default execution PATH on Mac OS X.
4787 - When building a .jar file and there is a $JARCHDIR, put the -C
4788 in front of each .class file on the command line.
4790 - Recognize the Java 1.5 enum keyword.
4792 From Asfand Yar Qazi:
4794 - Add /opt/bin to the default execution PATH on all POSIX platforms
4795 (between /usr/local/bin and /bin).
4799 - Fix the use of Configure() contexts from nested subsidiary
4802 From Christoph Schulz:
4804 - Add support for $CONFIGUREDIR and $CONFIGURELOG variables to control
4805 the directory and logs for configuration tests.
4807 - Add support for a $INSTALLSTR variable.
4809 - Add support for $RANLIBCOM and $RANLIBCOMSTR variables (which fixes
4810 a bug when setting $ARCOMSTR).
4814 - Add use of $CPPDEFINES to $RCCOM (resource file compilation) on MinGW.
4816 From Erick Tryzelaar:
4818 - Fix the error message when trying to report that a given option is
4819 not gettable/settable from an SConscript file.
4821 From Dobes Vandermeer:
4823 - Add support for SCC and other settings in Microsoft Visual
4824 Studio project and solution files: $MSVS_PROJECT_BASE_PATH,
4825 $MSVS_PROJECT_GUID, $MSVS_SCC_AUX_PATH, $MSVS_SCC_LOCAL_PATH,
4826 $MSVS_SCC_PROJECT_NAME, $MSVS_SCC_PROVIDER,
4828 - Add support for using a $SCONS_HOME variable (imported from the
4829 external environment, or settable internally) to put a shortened
4830 SCons execution line in the Visual Studio project file.
4832 From David J. Van Maren:
4834 - Only filter common prefixes from source files names in Visual Studio
4835 project files if the prefix is a complete (sub)directory name.
4839 - If $MSVSVERSIONS is already set, don't overwrite it with
4840 information from the registry.
4844 RELEASE 0.96.91 - Thu, 08 Sep 2005 07:18:23 -0400
4846 NOTE: This was a pre-release of 0.97 for testing purposes.
4850 - Have the environment store the toolpath and re-use it to find Tools
4851 modules during later Copy() or Tool() calls (unless overridden).
4853 - Normalize the directory path names in SConsignFile() database
4854 files so the same signature file can interoperate on Windows and
4855 non-Windows systems.
4857 - Make --debug=stacktrace print a stacktrace when a UserError is thrown.
4859 - Remove an old, erroneous cut-and-paste comment in Scanner/Dir.py.
4861 From Stanislav Baranov:
4863 - Make it possible to support with custom Alias (sub-)classes.
4865 - Allow Builders to take empty source lists when called.
4867 - Allow access to both TARGET and SOURCE in $*PATH expansions.
4869 - Allow SConscript files to modify BUILD_TARGETS.
4871 From Timothee Besset:
4873 - Add support for Objective C/C++ .m and .mm file suffixes (for
4878 - Fix the PharLap linkloc.py module to use target+source arguments
4879 when calling env.subst().
4881 From Bjorn Eriksson:
4883 - Fix an incorrect Command() keyword argument in the man page.
4885 - Add a $TEMPFILEPREFIX variable to control the prefix or flag used
4886 to pass a long-command-line-execution tempfile to a command.
4890 - Enhanced the SCons setup.py script to install man pages on
4893 - Add support for an Options.FormatOptionHelpText() method that can
4894 be overridden to customize the format of Options help text.
4896 - Add a global name for the Entry class (which had already been
4899 - Fix re-scanning of generated source files for implicit dependencies
4900 when the -j option is used.
4902 - Fix a dependency problem that caused $LIBS scans to not be added
4903 to all of the targets in a multiple-target builder call, which
4904 could cause out-of-order builds when the -j option is used.
4906 - Store the paths of source files and dependencies in the .sconsign*
4907 file(s) relative to the target's directory, not relative to the
4908 top-level SConstruct directory. This starts to make it possible to
4909 subdivide the dependency tree arbitrarily by putting an SConstruct
4910 file in every directory and using content signatures.
4912 - Add support for $YACCHFILESUFFIX and $YACCHXXFILESUFFIX variables
4913 that accomodate parser generators that write header files to a
4914 different suffix than the hard-coded .hpp when the -d option is used.
4916 - The default behavior is now to store signature information in a
4917 single .sconsign.dblite file in the top-level SConstruct directory.
4918 The old behavior of a separate .sconsign file in each directory can
4919 be specified by calling SConsignFile(None).
4921 - Remove line number byte codes within the signature calculation
4922 of Python function actions, so that changing the location of an
4923 otherwise unmodified Python function doesn't cause rebuilds.
4925 - Fix AddPreAction() and AddPostAction() when an action has more than
4926 one target file: attach the actions to the Executor, not the Node.
4928 - Allow the source directory of a BuildDir / build_dir to be outside
4929 of the top-level SConstruct directory tree.
4931 - Add a --debug=nomemoizer option that disables the Memoizer for clearer
4932 looks at the counts and profiles of the underlying function calls,
4933 not the Memoizer wrappers.
4935 - Print various --debug= stats even if we exit early (e.g. using -h).
4937 - Really only use the cached content signature value if the file
4938 is older than --max-drift, not just if --max-drift is set.
4940 - Remove support for conversion from old (pre 0.96) .sconsign formats.
4942 - Add support for a --diskcheck option to enable or disable various
4943 on-disk checks: that File and Dir nodes match on-disk entries;
4944 whether an RCS file exists for a missing source file; whether an
4945 SCCS file exists for a missing source file.
4947 - Add a --raw argument to the sconsign script, so it can print a
4948 raw representation of each entry's NodeInfo dictionary.
4950 - Add the 'f90' and 'f95' tools to the list of Fortran compilers
4951 searched for by default.
4953 - Add the +Z option by default when compiling shared objects on
4958 - Handle Visual Studio project and solution files in Unicode.
4960 From Sanjoy Mahajan:
4962 - Fix a bad use of Copy() in an example in the man page, and a
4963 bad regular expression example in the man page and User's Guide.
4967 - Have the Visual Studio project file(s) echo "Starting SCons" before
4968 executing SCons, mainly to work around a quote-stripping bug in
4969 (some versions of?) the Windows cmd command executor.
4971 From Georg Mischler:
4973 - Remove the space after the -o option when invoking the Borland
4974 BCC compiler; some versions apparently require that the file name
4975 argument be concatenated with the option.
4977 From Leanid Nazdrynau:
4979 - Fix the Java parser's handling of backslashes in strings.
4983 - Add construction variables to support frameworks on Mac OS X:
4984 $FRAMEWORKS, $FRAMEWORKPREFIX, $FRAMEWORKPATH, $FRAMEWORKPATHPREFIX.
4986 - Re-order link lines so the -o option always comes right after the
4989 From Gary Oberbrunner:
4991 - Add support for Intel C++ beta 9.0 (both 32 and 64 bit versions).
4993 - Document the new $FRAMEWORK* variables for Mac OS X.
4995 From Karol Pietrzak:
4997 - Add $RPATH (-R) support to the Sun linker Tool (sunlink).
4999 - Add a description of env.subst() to the man page.
5003 - Look in the right directory, not always the local directory, for a
5004 same-named file or directory conflict on disk.
5006 - On Windows, preserve the external environment's %SYSTEMDRIVE%
5011 - Have the Fortran module emitter look for Fortan modules to be created
5012 relative to $FORTRANMODDIR, not the top-level directory.
5014 - When saving Options to a file, run default values through the
5015 converter before comparing them with the set values. This correctly
5016 suppresses Boolean Option values from getting written to the saved
5017 file when they're one of the many synonyms for a default True or
5020 - Fix the Fortran Scanner's ability to handle a module being used
5021 in the same file in which it is defined.
5025 - Add the -KPIC option by default when compiling shared objects on
5028 - Change the default suffix for Solaris objects to .o, to conform to
5029 Sun WorkShop's expectations. Change the profix to so_ so they can
5030 still be differentiated from static objects in the same directory.
5034 - When calling the resource compiler on MinGW, add --include-dir and
5035 the source directory so it finds the source file.
5037 - Update EnsureSConsVersion() to support revision numbers.
5041 - Fix a misplaced line in the man page.
5045 RELEASE 0.96.90 - Tue, 15 Feb 2005 21:21:12 +0000
5047 NOTE: This was a pre-release of 0.97 for testing purposes.
5051 - Fix Java parsing to avoid erroneously identifying a new array
5052 of class instances as an anonymous inner class.
5054 - Fix a typo in the man page description of PathIsDirCreate.
5058 - Allow Help() to be called multiple times, appending to the help
5061 - Allow Tools found on a toolpath to import Python modules from
5062 their local directory.
5064 From Steve Christensen:
5066 - Handle exceptions from Python functions as build actions.
5068 - Add a set of canned PathOption validators: PathExists (the default),
5069 PathIsFile, PathIsDir and PathIsDirCreate.
5073 - Add support for .lex and .yacc file suffixes for Lex and Yacc files.
5077 - Huge performance improvement: wrap the tuples representing an
5078 include path in an object, so that the time it takes to hash the
5079 path doesn't grow porportionally to the length of the path.
5081 From Gottfried Ganssauge:
5083 - Fix SCons on SuSE/AMD-64 Linux by having the wrapper script also
5084 check for the build engine in the parent directory of the Python
5085 library directory (/usr/lib64 instead of /usr/lib).
5087 From Stephen Kennedy:
5089 - Speed up writing the .sconsign file at the end of a run by only
5090 calling sync() once at the end, not after every entry.
5094 - When compiling with Microsoft Visual Studio, don't include the ATL and
5095 MFC directories in the default INCLUDE and LIB environment variables.
5097 - Remove the following deprecated features: the ParseConfig()
5098 global function (deprecated in 0.93); the misspelled "validater"
5099 keyword to the Options.Add() method (deprecated in 0.91); the
5100 SetBuildSignatureType(), SetContentSignatureType(), SetJobs() and
5101 GetJobs() global functions (deprecated in 0.14).
5103 - Fix problems with corrupting the .sconsign.dblite file when
5104 interrupting builds by writing to a temporary file and renaming,
5105 not writing the file directly.
5107 - Fix a 0.96 regression where when running with -k, targets built from
5108 walking dependencies later on the command line would not realize
5109 that a dependency had failed an earlier build attempt, and would
5110 try to rebuild the dependent targets.
5112 - Change the final messages when using -k and errors occur from
5113 "{building,cleaning} terminated because of errors" to "done
5114 {building,cleaning} targets (errors occurred during {build,clean})."
5116 - Allow Configure.CheckFunc() to take an optional header argument
5117 (already supported by Conftest.py) to specify text at the top of
5118 the compiled test file.
5120 - Fix the --debug=explain output when a Python function action changed
5121 so it prints a meaningful string, not the binary representation of
5122 the function contents.
5124 - Allow a ListOption's default value(s) to be a Python list of specified
5125 values, not just a string containing a comma-separated list of names.
5127 - Add a ParseDepends() function that will parse up a list of explicit
5128 dependencies from a "make depend" style file.
5130 - Support the ability to change directory when executing an Action
5131 through "chdir" keyword arguments to Action and Builder creation
5134 - Fix handling of Action ojects (and other callables that don't match
5135 our calling arguments) in construction variable expansions.
5137 - On Win32, install scons.bat in the Python directory when installing
5138 from setup.py. (The bdist_wininst installer was already doing this.)
5140 - Fix env.SConscript() when called with a list of SConscipt files.
5141 (The SConscript() global function already worked properly.)
5143 - Add a missing newline to the end of the --debug=explain "unknown
5146 - Enhance ParseConfig() to work properly for spaces in between the -I,
5147 -L and -l options and their arguments.
5149 - Packaging build fix: Rebuild the files that are use to report the
5150 --version of SCons whenever the development version number changes.
5152 - Fix the ability to specify a target_factory of Dir() to a Builder,
5153 which the default create-a-directory Builder was interfering with.
5155 - Mark a directory as built if it's created as part of the preparation
5156 for another target, to avoid trying to build it again when it comes
5157 up in the target list.
5159 - Allow a function with the right calling signature to be put directly
5160 in an Environment's BUILDERS dictionary, making for easier creation
5161 and use of wrappers (pseudo-Builders) that call other Builders.
5163 - On Python 2.x, wrap lists of Nodes returned by Builders in a UserList
5164 object that adds a method that makes str() object return a string
5165 with all of the Nodes expanded to their path names. (Builders under
5166 Python 1.5.2 still return lists to avoid TypeErrors when trying
5167 to extend() list, so Python 1.5.2 doesn't get pretty-printing of Node
5168 lists, but everything should still function.)
5170 - Allow Aliases to have actions that will be executed whenever
5171 any of the expanded Alias targets are out of date.
5173 - Fix expansion of env.Command() overrides within target and
5176 - Support easier customization of what's displayed by various default
5177 actions by adding lots of new construction variables: $ARCOMSTR,
5178 $ASCOMSTR, $ASPPCOMSTR, $BIBTEXCOMSTR, $BITKEEPERCOMSTR, $CCCOMSTR,
5179 $CVSCOMSTR, $CXXCOMSTR, $DCOMSTR, $DVIPDFCOMSTR, $F77COMSTR,
5180 $F90COMSTR, $F95COMSTR, $FORTRANCOMSTR, $GSCOMSTR, $JARCOMSTR,
5181 $JAVACCOMSTR, $JAVAHCOMSTR, $LATEXCOMSTR, $LEXCOMSTR, $LINKCOMSTR,
5182 $M4COMSTR, $MIDLCOMSTR, $P4COMSTR, $PCHCOMSTR, $PDFLATEXCOMSTR,
5183 $PDFTEXCOMSTR, $PSCOMSTR, $QT_MOCFROMCXXCOMSTR, $QT_MOCFROMHCOMSTR,
5184 $QT_UICCOMSTR, $RCCOMSTR, $REGSVRCOMSTR, $RCS_COCOMSTR, $RMICCOMSTR,
5185 $SCCSCOMSTR, $SHCCCOMSTR, $SHCXXCOMSTR, $SHF77COMSTR, $SHF90COMSTR,
5186 $SHF95COMSTR, $SHFORTRANCOMSTR, $SHLINKCOMSTR, $SWIGCOMSTR,
5187 $TARCOMSTR, $TEXCOMSTR, $YACCCOMSTR and $ZIPCOMSTR.
5189 - Add an optional "map" keyword argument to ListOption() that takes a
5190 dictionary to map user-specified values to legal values from the list
5191 (like EnumOption() already doee).
5193 - Add specific exceptions to try:-except: blocks without any listed,
5194 so that they won't catch and mask keyboard interrupts.
5196 - Make --debug={tree,dtree,stree} print something even when there's
5199 - Fix how Scanners sort the found dependencies so that it doesn't
5200 matter whether the dependency file is in a Repository or not.
5201 This may cause recompilations upon upgrade to this version.
5203 - Make AlwaysBuild() work with Alias and Python value Nodes (making
5204 it much simpler to support aliases like "clean" that just invoke
5205 an arbitrary action).
5207 - Have env.ParseConfig() use AppendUnique() by default to suppress
5208 duplicate entries from multiple calls. Add a "unique" keyword
5209 argument to allow the old behavior to be specified.
5211 - Allow the library modules imported by an SConscript file to get at
5212 all of the normally-available global functions and variables by saying
5213 "from SCons.Script import *".
5215 - Add a --debug=memoizer option to print Memoizer hit/mass statistics.
5217 - Allow more than one --debug= option to be set at a time.
5219 - Change --debug=count to report object counts before and after
5220 reading SConscript files and before and after building targets.
5222 - Change --debug=memory output to line up the numbers and to better
5223 match (more or less) the headers on the --debug=count columns.
5225 - Speed things up when there are lists of targets and/or sources by
5226 getting rid of some N^2 walks of the lists involved.
5228 - Cache evaluation of LazyActions so we don't create a new object
5229 for each invocation.
5231 - When scanning, don't create Nodes for include files that don't
5232 actually exist on disk.
5234 - Make supported global variables CScanner, DScanner, ProgramScanner and
5235 SourceFileScanner. Make SourceFileScanner.add_scanner() a supported
5236 part of the public interface. Keep the old SCons.Defaults.*Scan names
5237 around for a while longer since some people were already using them.
5239 - By default, don't scan directories for on-disk files. Add a
5240 DirScanner global scanner that can be used in Builders or Command()
5241 calls that want source directory trees scanned for on-disk changes.
5242 Have the Tar() and Zip() Builders use the new DirScanner to preserve
5243 the behavior of rebuilding a .tar or .zip file if any file or
5244 directory under a source tree changes. Add Command() support for
5245 a source_scanner keyword argument to Command() that can be set to
5246 DirScanner to get this behavior.
5248 - Documentation changes: Explain that $CXXFLAGS contains $CCFLAGS
5249 by default. Fix a bad target_factory example in the man page.
5250 Add appendices to the User's Guide to cover the available Tools,
5251 Builders and construction variables. Comment out the build of
5252 the old Python 10 paper, which doesn't build on all systems and
5253 is old enough at this point that it probably isn't worth the
5254 effort to make it do so.
5258 - Avoid "maximum recursion limit" errors when removing $(-$) pairs
5259 from long command lines.
5261 From Clive Levinson:
5263 - Make ParseConfig() recognize and add -mno-cygwin to $LINKFLAGS and
5264 $CCFLAGS, and -mwindows to $LINKFLAGS.
5266 From Michael McCracken:
5268 - Add a new "applelink" tool to handle the things like Frameworks and
5269 bundles that Apple has added to gcc for linking.
5271 - Use more appropriate default search lists of linkers, compilers and
5272 and other tools for the 'darwin' platform.
5274 - Add a LoadableModule Builder that builds a bundle on Mac OS X (Darwin)
5275 and a shared library on other systems.
5277 - Improve SWIG tests for use on Mac OS X (Darwin).
5281 - Enhance the tests to guarantee persistence of ListOption
5282 values in saved options files.
5284 - Supply the help text when -h is used with the -u, -U or -D options.
5286 From Christian Neeb:
5288 - Fix the Java parser's handling of string definitions to avoid ignoring
5291 From Han-Wen Nienhuys:
5293 - Optimize variable expansion by: using the re.sub() method (when
5294 possible); not using "eval" for variables for which we can fetch the
5295 value directory; avoiding slowing substitution logic when there's no
5298 From Gary Oberbrunner:
5300 - Add an Environment.Dump() method to print the contents of a
5301 construction environment.
5303 - Allow $LIBS (and similar variables) to contain explicit File Nodes.
5305 - Change ParseConfig to add the found library names directly to the
5306 $LIBS variable, instead of returning them.
5308 - Add ParseConfig() support for the -framework GNU linker option.
5310 - Add a PRINT_CMD_LINE_FUNC construction variable to allow people
5311 to filter (or log) command-line output.
5313 - Print an internal Python stack trace in response to an otherwise
5314 unexplained error when --debug=stacktrace is specified.
5316 - Add a --debug=findlibs option to print what's happening when
5317 the scanner is searching for libraries.
5319 - Allow Tool specifications to be passed a dictionary of keyword
5322 - Support an Options default value of None, in which case the variable
5323 will not be added to the construction environment unless it's set
5324 explicitly by the user or from an Options file.
5326 - Avoid copying __builtin__ values into a construction environment's
5327 dictionary when evaluating construction variables.
5329 - Add a new cross-platform intelc.py Tool that can detect and
5330 configure the Intel C++ v8 compiler on both Windows, where it's
5331 named icl, and Linux, where it's named icc. It also checks that
5332 the directory specified in the Windows registry exists, and sets a
5333 new $INTEL_C_COMPILER_VERSION construction variable to identify the
5334 version being used. (Niall Douglas contributed an early prototype
5335 of parts of this module.)
5337 - Fix the private Conftest._Have() function so it doesn't change
5338 non-alphanumeric characters to underscores.
5340 - Supply a better error message when a construction variable expansion
5341 has an unknown attribute.
5343 - Documentation changes: Update the man page to describe use of
5344 filenames or Nodes in $LIBS.
5348 - Have the linkloc tool use $MSVS_VERSION to select the Microsoft
5349 Visual Studio version to use.
5353 - Fix the Builder name returned from ListBuilders and other instances
5354 of subclasses of the BuilderBase class.
5356 - Add Builders and construction variables to support rpcgen:
5357 RPCGenClient(), RPCGenHeader(), RPCGenService(), RPCGenXDR(),
5358 $RPCGEN, $RPCGENFLAGS, $RPCGENCLIENTFLAGS, $RPCGENHEADERFLAGS,
5359 $RPCGENSERVICEFLAGS, $RPCGENXDRFLAGS.
5361 - Update the man page to document that prefix and suffix Builder
5362 keyword arguments can be strings, callables or dictionaries.
5364 - Provide more info in the error message when a user tries to build
5365 a target multiple ways.
5367 - Fix Delete() when a file doesn't exist and must_exist=1. (We were
5368 unintentionally dependent on a bug in versions of the Python shutil.py
5369 module prior to Python 2.3, which would generate an exception for
5370 a nonexistent file even when ignore_errors was set.)
5372 - Only replace a Node's builder with a non-null source builder.
5374 - Fix a stack trace when a suffix selection dictionary is passed
5375 an empty source file list.
5377 - Allow optional names to be attached to Builders, for default
5378 Builders that don't get attached to construction environments.
5380 - Fix problems with Parallel Task Exception handling.
5382 - Build targets in an associated BuildDir even if there are targets
5383 or subdirectories locally in the source directory.
5385 - If a FunctionAction has a callable class as its underlying Python
5386 function, use its strfunction() method (if any) to display the
5389 - Fix handling when BuildDir() exists but is unwriteable. Add
5390 "Stop." to those error messages for consistency.
5392 - Catch incidents of bad builder creation (without an action) and
5393 supply meaningful error messages.
5395 - Fix handling of src_suffix values that aren't extensions (don't
5398 - Don't retrieve files from a CacheDir, but report what would happen,
5399 when the -n option is used.
5401 - Use the source_scanner from the target Node, not the source node
5404 - Internal Scanners fixes: Make sure Scanners are only passed Nodes.
5405 Fix how a Scanner.Selector called its base class initialization.
5406 Make comparisons of Scanner objects more robust. Add a name to
5407 an internal default ObjSourceScanner.
5409 - Add a deprecated warning for use of the old "scanner" keyword argument
5410 to Builder creation.
5412 - Improve the --debug=explain message when the build action changes.
5414 - Test enhancements in SourceCode.py, option-n.py, midl.py. Better
5415 Command() and Scanner test coverage. Improved test infrastructure
5418 - Refactor the interface between Action and Executor objects to treat
5421 - The --debug=presub option will now report the pre-substitution
5422 each action seprately, instead of reporting the entire list before
5423 executing the actions one by one.
5425 - The --debug=explain option explaining a changed action will now
5426 (more correctly) show pre-substitution action strings, instead of
5427 the commands with substituted file names.
5429 - A Node (file) will now be rebuilt if its PreAction or PostAction
5432 - Python Function actions now have their calling signature (target,
5433 source, env) reported correctly when displayed.
5435 - Fix BuildDir()/build_dir handling when the build_dir is underneath
5436 the source directory and trying to use entries from the build_dir
5437 as sources for other targets in the build-dir.
5439 - Fix hard-coding of JDK path names in various Java tests.
5441 - Handle Python stack traces consistently (stop at the SConscript stack
5442 frame, by default) even if the Python source code isn't available.
5444 - Improve the performance of the --debug={tree,dtree} options.
5446 - Add --debug=objects logging of creation of OverrideWarner,
5447 EnvironmentCopy and EnvironmentOverride objects.
5449 - Fix command-line expansion of Python Value Nodes.
5451 - Internal cleanups: Remove an unnecessary scan argument. Associate
5452 Scanners only with Builders, not nodes. Apply overrides once when
5453 a Builder is called, not in multiple places. Cache results from the
5454 Node.FS.get_suffix() and Node.get_build_env() methods. Use the Python
5455 md5 modules' hexdigest() method, if there is one. Have Taskmaster
5456 call get_stat() once for each Node and re-use the value instead of
5457 calling it each time it needs the value. Have Node.depends_on()
5458 re-use the list from the children() method instead of calling it
5461 - Use the correct scanner if the same source file is used for targets in
5462 two different environments with the same path but different scanners.
5464 - Collect logic for caching values in memory in a Memoizer class,
5465 which cleans up a lot of special-case code in various methods and
5466 caches additional values to speed up most configurations.
5468 - Add a PathAccept validator to the list of new canned PathOption
5473 - Documentation changes: Use $CPPDEFINES instead of $CCFLAGS in man
5478 - Allow $JARCHDIR to be expanded to other construction variables.
5480 From Christoph Wiedemann:
5482 - Add an Environment.SetDefault() method that only sets values if
5483 they aren't already set.
5485 - Have the qt.py Tool not override variables already set by the user.
5487 - Add separate $QT_BINPATH, $QT_CPPPATH and $QT_LIBPATH variables
5488 so these can be set individually, instead of being hard-wired
5491 - The %TEMP% and %TMP% external environment variables are now propagated
5492 automatically to the command execution environment on Windows systems.
5494 - A new --config= command-line option allows explicit control of
5495 of when the Configure() tests are run: --config=force forces all
5496 checks to be run, --config=cache uses all previously cached values,
5497 --config=auto (the default) runs tests only when dependency analysis
5498 determines it's necessary.
5500 - The Configure() subsystem can now write a config.h file with values
5501 like HAVE_STDIO_H, HAVE_LIBM, etc.
5503 - The Configure() subsystem now executes its checks silently when the
5504 -Q option is specified.
5506 - The Configure() subsystem now reports if a test result is being
5507 taken from cache, and prints the standard output and error output
5508 of tests even when cached.
5510 - Configure() test results are now reported as "yes" or "no" instead of
5513 - Fixed traceback printing when calling the env.Configure() method
5514 instead of the Configure() global function.
5516 - The Configure() subsystem now caches build failures in a .sconsign
5517 file in the subdirectory, not a .cache file. This may cause
5518 tests to be re-executed the first time after you install 0.97.
5520 - Additional significant internal cleanups in the Configure() subsystem
5523 - Have the Qt Builder make uic-generated files dependent on the .ui.h
5524 file, if one exists.
5526 - Add a test to make sure that SCons source code does not contain
5527 try:-except: blocks that catch all errors, which potentially catch
5528 and mask keyboard interrupts.
5530 - Fix us of TargetSignatures('content') with the SConf subsystem.
5532 From Russell Yanofsky:
5534 - Add support for the Metrowerks Codewarrior compiler and linker
5539 RELEASE 0.96.1 - Mon, 23 Aug 2004 12:55:50 +0000
5541 From Craig Bachelor:
5543 - Handle white space in the executable Python path name within in MSVS
5544 project files by quoting the path.
5546 - Correct the format of a GUID string in a solution (.dsw) file so
5547 MSVS can correctly "build enable" a project.
5551 - Add a must_exist flag to Delete() to let the user control whether
5552 it's an error if the specified entry doesn't exist. The default
5553 behavior is now to silently do nothing if it doesn't exist.
5555 - Package up the new Platform/darwin.py, mistakenly left out of 0.96.
5557 - Make the scons.bat REM statements into @REM so they aren't printed.
5559 - Make the SCons packaging SConscript files platform independent.
5563 - Fix scanning of pre-compiled header (.pch) files for #includes,
5568 RELEASE 0.96 - Wed, 18 Aug 2004 13:36:40 +0000
5572 - Make the CacheDir() directory if it doesn't already exist.
5574 - Allow construction variable substitutions in $LIBS specifications.
5576 - Allow the emitter argument to a Builder() to be or expand to a list
5577 of emitter functions, which will be called in sequence.
5579 - Suppress null values in construction variables like $LIBS that use
5580 the internal _concat() function.
5582 - Remove .dll files from the construction variables searched for
5583 libraries that can be fed to Win32 compilers.
5585 From Chad Austin and Christoph Wiedemann:
5587 - Add support for a $RPATH variable to supply a list of directories
5588 to search for shared libraries when linking a program. Used by
5589 the GNU and IRIX linkers (gnulink and sgilink).
5593 - Restore the ability to do construction variable substitutions in all
5594 kinds of *PATH variables, even when the substitution returns a Node
5599 - Allow the Java() Builder to take more than one source directory.
5601 From Ralf W. Grosse-Kunstleve:
5603 - Have SConsignFile() use, by default, a custom "dblite.py" that we can
5604 control and guarantee to work on all Python versions (or nearly so).
5606 From Jonathan Gurley:
5608 - Add support for the newer "ifort" versions of the Intel Fortran
5613 - Make the new *FLAGS variable type work with copied Environments.
5615 From Chris Hoeppler:
5617 - Initialize the name of a Scanner.Classic scanner correctly.
5621 - Add support for the .dylib shared library suffix and the -dynamiclib
5622 linker option on Mac OS X.
5626 - Add an Execute() method for executing actions directly.
5628 - Support passing environment override keyword arguments to Command().
5630 - Fix use of $MSVS_IGNORE_IDE_PATHS, which was broken when we added
5631 support for $MSVS_USE_MFC_DIRS last release.
5633 - Make env.Append() and env.Prepend() act like the underlying Python
5634 behavior when the variable being appended to is a UserList object.
5636 - Fix a regression that prevented the Command() global function in
5637 0.95 from working with command-line strings as actions.
5639 - Fix checking out a file from a source code management system when
5640 the env.SourceCode() method was called with an individual file name
5641 or node, not a directory name or node.
5643 - Enhance the Task.make_ready() method to create a list of the
5644 out-of-date Nodes for the task for use by the wrapping interface.
5646 - Allow Scanners to pull the list of suffixes from the construction
5647 environment when the "skeys" keyword argument is a string containing
5648 a construction variable to be expanded.
5650 - Support new $CPPSUFFIXES, $DSUFFIXES $FORTRANSUFFIXES, and
5651 $IDLSUFFIXES. construction variables that contain the default list
5652 of suffixes to be scanned by a given type of scanner, allowing these
5653 suffix lists to be easily added to or overridden.
5655 - Speed up Node creation when calling a Builder by comparing whether two
5656 Environments are the same object, not if their underlying dictionaries
5659 - Add a --debug=explain option that reports the reason(s) why SCons
5660 thinks it must rebuild something.
5662 - Add support for functions that return platform-independent Actions
5663 to Chmod(), Copy(), Delete(), Mkdir(), Move() and Touch() files
5664 and/or directories. Like any other Actions, the returned Action
5665 object may be executed directly using the Execute() global function
5666 or env.Execute() environment method, or may be used as a Builder
5667 action or in an env.Command() action list.
5669 - Add support for the strfunction argument to all types of Actions:
5670 CommandAction, ListAction, and CommandGeneratorAction.
5672 - Speed up turning file system Nodes into strings by caching the
5673 values after we're finished reading the SConscript files.
5675 - Have ParseConfig() recognize and supporting adding the -Wa, -Wl,
5676 and -Wp, flags to ASFLAGS, LINKFLAGS and CPPFLAGS, respectively.
5678 - Change the .sconsign format and the checks for whether a Node is
5679 up-to-date to make dependency checks more efficient and correct.
5681 - Add wrapper Actions to SCons.Defaults for $ASCOM, $ASPPCOM, $LINKCOM,
5682 $SHLINKCOM, $ARCOM, $LEXCOM and $YACCCOM. This makes it possible
5683 to replace the default print behavior with a custom strfunction()
5686 - When a Node has been built, don't walk the whole tree back to delete
5687 the parents's implicit dependencies, let returning up the normal
5688 Taskmaster descent take care of it for us.
5690 - Add documented support for separate target_scanner and source_scanner
5691 arguments to Builder creation, which allows different scanners to
5692 be applied to source files
5694 - Don't re-install or (re-generate) .h files when a subsidiary #included
5695 .h file changes. This eliminates incorrect circular dependencies
5696 with .h files generated from other source files.
5698 - Slim down the internal Sig.Calculator class by eliminating methods
5699 whose functionality is now covered by Node methods.
5701 - Document use of the target_factory and source_factory keyword
5702 arguments when creating Builder objects. Enhance Dir Nodes so that
5703 they can be created with user-specified Builder objects.
5705 - Don't blow up with stack trace when the external $PATH environment
5708 - Make Builder calls return lists all the time, even if there's only
5709 one target. This keeps things consistent and easier to program to
5712 - Add a Flatten() function to make it easier to deal with the Builders
5713 all returning lists of targets, not individual targets.
5715 - Performance optimizations in Node.FS.__doLookup().
5717 - Man page fixes: formatting typos, misspellings, bad example.
5719 - User's Guide fixes: Fix the signatures of the various example
5720 *Options() calls. Triple-quote properly a multi-line Split example.
5722 - User's Guide additions: Chapter describing File and Directory
5723 Nodes. Section describing declarative nature of SCons functions in
5724 SConscript files. Better organization and clarification of points
5725 raised by Robert P. J. Day. Chapter describing SConf (Autoconf-like)
5726 functionality. Chapter describing how to install Python and
5727 SCons. Chapter describing Java builds.
5731 - Add a .win32 attribute to force file names to expand with
5732 Windows backslash path separators.
5734 - Fix escaping file names on command lines when the expansion is
5735 concatenated with another string.
5737 - Add support for Fortran 90 and Fortran 95. This adds $FORTRAN*
5738 variables that specify a default compiler, command-line, flags,
5739 etc. for all Fortran versions, plus separate $F90* and $F95*
5740 variables for when different compilers/flags/etc. must be specified
5741 for different Fortran versions.
5743 - Have individual tools that create libraries override the default
5744 $LIBPREFIX and $LIBSUFFIX values set by the platform. This makes
5745 it easier to use Microsoft Visual Studio tools on a CygWin platform.
5747 From Gary Oberbrunner:
5749 - Add a --debug=presub option to print actions prior to substitution.
5751 - Add a warning upon use of the override keywords "targets" and
5752 "sources" when calling Builders. These are usually mistakes which
5753 are otherwise silently (and confusingly) turned into construction
5756 - Try to find the ICL license file path name in the external environment
5757 and the registry before resorting to the hard-coded path name.
5759 - Add support for fetching command-line keyword=value arguments in
5760 order from an ARGLIST list.
5762 - Avoid stack traces when trying to read dangling symlinks.
5764 - Treat file "extensions" that only contain digits as part of the
5765 file basename. This supports version numbers as part of shared
5766 library names, for example.
5768 - Avoid problems when there are null entries (None or '') in tool
5771 - Add an example and explanation of how to use "tools = ['default', ..."
5772 when creating a construction environment.
5774 - Add a section describing File and Directory Nodes and some of their
5775 attributes and methods.
5777 - Have ParseConfig() add a returned -pthread flag to both $CCFLAGS
5780 - Fix some test portability issues on Mac OS X (darwin).
5784 - Fix a bug introduced in building shared libraries under MinGW.
5788 - Handling SCons exceptions according to Pythonic standards.
5790 - Fix test/chained-build.py on systems that execute within one second.
5792 - Fix tests on systems where 'ar' warns about archive creation.
5796 - Fix use of the --implicit-cache option with timestamp signatures.
5798 - If Visual Studio is installed, assume the C/C++ compiler, the linker
5799 and the MIDL compiler that comes with it are available, too.
5801 - Better error messages when evaluating a construction variable
5802 expansion yields a Python syntax error.
5804 - Change the generation of PDB files when using Visual Studio from
5805 compile time to link time.
5809 - Allow SConf.CheckLib() to search a list of libraries, like the
5810 Autoconf AC_SEARCH_LIBS macro.
5812 - Allow the env.WhereIs() method to take a "reject" argument to
5813 let it weed out specific path names.
5815 From Christoph Wiedemann:
5817 - Add new Moc() and Uic() Builders for more explicit control over
5818 Qt builds, plus new construction variables to control them:
5819 $QT_AUTOSCAN, $QT_DEBUG, $QT_MOCCXXPREFIX, $QT_MOCCXXSUFFIX,
5820 $QT_MOCHPREFIX, $QT_MOCHSUFFIX, $QT_UICDECLPREFIX, $QT_UICDECLSUFFIX,
5821 $QT_UICIMPLPREFIX, $QT_UICIMPLSUFFIX and $QT_UISUFFIX.
5823 - Add a new single_source keyword argument for Builders that enforces
5824 a single source file on calls to the Builder.
5828 RELEASE 0.95 - Mon, 08 Mar 2004 06:43:20 -0600
5832 - Replace print statements with calls to sys.stdout.write() so output
5833 lines stay together when -j is used.
5835 - Add portability fixes for a number of tests.
5837 - Accomodate the fact that Cygwin's os.path.normcase() lies about
5838 the underlying system being case-sensitive.
5840 - Fix an incorrect _concat() call in the $RCINCFLAGS definition for
5843 - Fix a problem with the msvc tool with Python versions prior to 2.3.
5845 - Add support for a "toolpath" Tool() and Environment keyword that
5846 allows Tool modules to be found in specified local directories.
5848 - Work around Cygwin Python's silly fiction that it's using a
5849 case-sensitive file system.
5851 - More robust handling of data in VCComponents.dat.
5853 - If the "env" command is available, spawn commands with the more
5854 general "env -" instead of "env -i".
5856 From Kerim Borchaev:
5858 - Fix a typo in a msvc.py's registry lookup: "VCComponents.dat", not
5861 From Chris Burghart:
5863 - Fix the ability to save/restore a PackageOption to a file.
5865 From Steve Christensen:
5867 - Update the MSVS .NET and MSVC 6.0/7.0 path detection.
5869 From David M. Cooke:
5871 - Make the Fortran scanner case-insensitive for the INCLUDE string.
5875 - If no version of MSVC is detected but the tool is specified,
5876 use the MSVC 6.0 paths by default.
5878 - Ignore any "6.1" version of MSVC found in the registry; this is a
5879 phony version number (created by later service packs?) and would
5880 throw off the logic if the user had any non-default paths configure.
5882 - Correctly detect if the user has independently configured the MSVC
5883 "include," "lib" or "path" in the registry and use the appropriate
5884 values. Previously, SCons would only use the values if all three
5885 were set in the registry.
5887 - Make sure side-effect nodes are prepare()d before building their
5888 corresponding target.
5890 - Preserve the ability to call BuildDir() multiple times with the
5891 same target and source directory arguments.
5895 - Add support for the Digital Mars "D" programming language.
5897 From Scott Lystig Fritchie:
5899 - Fix the ability to use a custom _concat() function in the
5900 construction environment when calling _stripixes().
5902 - Make the message about ignoring a missing SConscript file into a
5903 suppressable Warning, not a hard-coded sys.stderr.write().
5905 - If a builder can be called multiple times for a target (because
5906 the sources and overrides are identical, or it's a builder with the
5907 "multi" flag set), allow the builder to be called through multiple
5908 environments so long as the builders have the same signature for
5909 the environments in questions (that is, they're the same action).
5913 - When multiple targets are built by a single action, retrieve all
5914 of them from cache, not just the first target, and exec the build
5915 command if any of the targets isn't present in the cache.
5917 From Zephaniah Hull:
5919 - Fix command-line ARGUMENTS with multiple = in them.
5923 - Fix EnsureSConsVersion() so it checks against the SCons version,
5924 not the Python version, on Pythons with sys.version_info.
5926 - Don't swallow the AttributeError when someone uses an expansion like
5927 $TARGET.bak, so we can supply a more informative error message.
5929 - Fix an odd double-quote escape sequence in the man page.
5931 - Fix looking up a naked drive letter as a directory (Dir('C:')).
5933 - Support using File nodes in the LIBS construction variable.
5935 - Allow the LIBS construction variable to be a single string or File
5936 node, not a list, when only one library is needed.
5938 - Fix typos in the man page: JAVACHDIR => JARCHDIR; add "for_signature"
5939 to the __call__() example in the "Variable Substitution" section.
5941 - Correct error message spellings of "non-existant" to "non-existent."
5943 - When scanning for libraries to link with, don't append $LIBPREFIXES
5944 or $LIBSUFFIXES values to the $LIBS values if they're already present.
5946 - Add a ZIPCOMPRESSION construction variable to control whether the
5947 internal Python action for the Zip Builder compresses the file or
5948 not. The default value is zipfile.ZIP_DEFLATED, which generates
5951 - Refactor construction variable expansion to support recursive
5952 expansion of variables (e.g. CCFLAGS = "$CCFLAGS -g") without going
5953 into an infinite loop. Support this in all construction variable
5954 overrides, as well as when copying Environments.
5956 - Fix calling Configure() from more than one subsidiary SConscript file.
5958 - Fix the env.Action() method so it returns the correct type of
5959 Action for its argument(s).
5961 - Fix specifying .class files as input to JavaH with the .class suffix
5962 when they weren't generated using the Java Builder.
5964 - Make the check for whether all of the objects going into a
5965 SharedLibrary() are shared work even if the object was built in a
5968 - Supply meaningful error messages, not stack traces, if we try to add
5969 a non-Node as a source, dependency, or ignored dependency of a Node.
5971 - Generate MSVS Project files that re-invoke SCons properly regardless
5972 of whether the file was built via scons.bat or scons.py.
5973 (Thanks to Niall Douglas for contributing code and testing.)
5975 - Fix TestCmd.py, runtest.py and specific tests to accomodate being
5976 run from directories whose paths include white space.
5978 - Provide a more useful error message if a construction variable
5979 expansion contains a syntax error during evaluation.
5981 - Fix transparent checkout of implicit dependency files from SCCS
5984 - Added new --debug=count, --debug=memory and --debug=objects options.
5985 --debug=count and --debug=objects only print anything when run
5986 under Python 2.1 or later.
5988 - Deprecate the "overrides" keyword argument to Builder() creation
5989 in favor of using keyword argument values directly (like we do
5990 for builder execution and the like).
5992 - Always use the Builder overrides in substitutions, not just if
5993 there isn't a target-specific environment.
5995 - Add new "rsrcpath" and "rsrcdir" and attributes to $TARGET/$SOURCE,
5996 so Builder command lines can find things in Repository source
5997 directories when using BuildDir.
5999 - Fix the M4 Builder so that it chdirs to the Repository directory
6000 when the input file is in the source directory of a BuildDir.
6002 - Save memory at build time by allowing Nodes to delete their build
6003 environments after they've been built.
6005 - Add AppendUnique() and PrependUnique() Environment methods, which
6006 add values to construction variables like Append() and Prepend()
6007 do, but suppress any duplicate elements in the list.
6009 - Allow the 'qt' tool to still be used successfully from a copied
6010 Environment. The include and library directories previously ended up
6011 having the same string re-appended to the end, yielding an incorrect
6014 - Supply a more descriptive error message when the source for a target
6017 - Initialize all *FLAGS variables with objects do the right thing with
6018 appending flags as strings or lists.
6020 - Make things like ${TARGET.dir} work in *PATH construction variables.
6022 - Allow a $MSVS_USE_MFC_DIRS construction variable to control whether
6023 ATL and MFC directories are included in the default INCLUDE and
6026 - Document the dbm_module argument to the SConsignFile() function.
6030 - Add support for the bcc32, ilink32 and tlib Borland tools.
6034 - Supply an error message if the user tries to configure a BuildDir
6035 for a directory that already has one.
6037 - Remove documentation of the still-unimplemented -e option.
6039 - Add -H help text listing the legal --debug values.
6041 - Don't choke if a construction variable is a non-string value.
6043 - Build Type Libraries in the target directory, not the source
6046 - Add an appendix to the User's Guide showing how to accomplish
6047 various common tasks in Python.
6051 - Add support for Microsoft Visual Studio 2003 (version 7.1).
6053 - Evaluate $MSVSPROJECTSUFFIX and $MSVSSOLUTIONSUFFIX when the Builder
6054 is invoked, not when the tool is initialized.
6056 From Christoph Wiedemann:
6058 - When compiling Qt, make sure the moc_*.cc files are compiled using
6059 the flags from the environment used to specify the target, not
6060 the environment that first has the Qt Builders attached.
6064 RELEASE 0.94 - Fri, 07 Nov 2003 05:29:48 -0600
6066 From Hartmut Goebel:
6068 - Add several new types of canned functions to help create options:
6069 BoolOption(), EnumOption(), ListOption(), PackageOption(),
6074 - Fix use of CPPDEFINES with C++ source files.
6076 - Fix env.Append() when the operand is an object with a __cmp__()
6077 method (like a Scanner instance).
6079 - Fix subclassing the Environment and Scanner classes.
6081 - Add BUILD_TARGETS, COMMAND_LINE_TARGETS and DEFAULT_TARGETS variables.
6085 - SGI fixes: Fix C++ compilation, add a separate Tool/sgic++.py module.
6087 From Gary Oberbrunner:
6089 - Fix how the man page un-indents after examples in some browsers.
6093 - Fix the C and C++ tool specifications for AIX.
6097 RELEASE 0.93 - Thu, 23 Oct 2003 07:26:55 -0500
6101 - On POSIX, execute commands with the more modern os.spawnvpe()
6102 function, if it's available.
6104 - Scan .S, .spp and .SPP files for C preprocessor dependencies.
6106 - Refactor the Job.Parallel() class to use a thread pool without a
6107 condition variable. This improves parallel build performance and
6108 handles keyboard interrupts properly when -j is used.
6112 - Add support for a JARCHDIR variable to control changing to a
6113 directory using the jar -C option.
6115 - Add support for detecting Java manifest files when using jar,
6116 and specifying them using the jar m flag.
6118 - Fix some Python 2.2 specific things in various tool modules.
6120 - Support directories as build sources, so that a rebuild of a target
6121 can be triggered if anything underneath the directory changes.
6123 - Have the scons.bat and scons.py files look for the SCons modules
6124 in site-packages as well.
6126 From Christian Engel:
6128 - Support more flexible inclusion of separate C and C++ compilers.
6130 - Use package management tools on AIX and Solaris to find where
6131 the comilers are installed, and what version they are.
6133 - Add support for CCVERSION and CXXVERSION variables for a number
6134 of C and C++ compilers.
6138 - Add test cases for the new capabilities to run bibtex and to rerun
6141 From Ralf W. Grosse-Kunstleve:
6143 - Accomodate anydbm modules that don't have a sync() method.
6145 - Allow SConsignFile() to take an argument specifying the DBM
6148 From Stephen Kennedy:
6150 - Add support for a configurable global .sconsign.dbm file which
6151 can be used to avoid cluttering each directory with an individual
6156 - Fix (re-)scanning of dependencies in generated or installed
6161 - The -Q option suppressed too many messages; fix it so that it only
6162 suppresses the Reading/Building messages.
6164 - Support #include when there's no space before the opening quote
6167 - Accomodate alphanumeric version strings in EnsurePythonVersion().
6169 - Support arbitrary expansion of construction variables within
6170 file and directory arguments to Builder calls and Environment methods.
6172 - Add Environment-method versions of the following global functions:
6173 Action(), AddPostAction(), AddPreAction(), Alias(), Builder(),
6174 BuildDir(), CacheDir(), Clean(), Configure(), Default(),
6175 EnsurePythonVersion(), EnsureSConsVersion(), Environment(),
6176 Exit(), Export(), FindFile(), GetBuildPath(), GetOption(), Help(),
6177 Import(), Literal(), Local(), Platform(), Repository(), Scanner(),
6178 SConscriptChdir(), SConsignFile(), SetOption(), SourceSignatures(),
6179 Split(), TargetSignatures(), Tool(), Value().
6181 - Add the following global functions that correspond to the same-named
6182 Environment methods: AlwaysBuild(), Command(), Depends(), Ignore(),
6183 Install(), InstallAs(), Precious(), SideEffect() and SourceCode().
6185 - Add the following global functions that correspond to the default
6186 Builder methods supported by SCons: CFile(), CXXFile(), DVI(), Jar(),
6187 Java(), JavaH(), Library(), M4(), MSVSProject(), Object(), PCH(),
6188 PDF(), PostScript(), Program(), RES(), RMIC(), SharedLibrary(),
6189 SharedObject(), StaticLibrary(), StaticObject(), Tar(), TypeLibrary()
6192 - Rearrange the man page to show construction environment methods and
6193 global functions in the same list, and to explain the difference.
6195 - Alphabetize the explanations of the builder methods in the man page.
6197 - Rename the Environment.Environment class to Enviroment.Base.
6198 Allow the wrapping interface to extend an Environment by using its own
6199 subclass of Environment.Base and setting a new Environment.Environment
6200 variable as the calling entry point.
6202 - Deprecate the ParseConfig() global function in favor of a same-named
6203 construction environment method.
6205 - Allow the Environment.WhereIs() method to take explicit path and
6206 pathext arguments (like the underlying SCons.Util.WhereIs() function).
6208 - Remove the long-obsolete {Get,Set}CommandHandler() functions.
6210 - Enhance env.Append() to suppress null values when appropriate.
6212 - Fix ParseConfig() so it works regardless of initial construction
6215 Extend CheckHeader(), CheckCHeader(), CheckCXXHeader() and
6216 CheckLibWithHeader() to accept a list of header files that will be
6217 #included in the test. The last one in the list is assumed to be
6218 the one being checked for. (Prototype code contributed by Gerard
6219 Patel and Niall Douglas).
6221 - Supply a warning when -j is used and threading isn't built in to
6222 the current version of Python.
6224 - First release of the User's Guide (finally, and despite a lot
6225 of things still missing from it...).
6229 - Generalize the action for .tex files so that it will decide whether
6230 a file is TeX or LaTeX, check the .aux output to decide if it should
6231 run bibtex, and check the .log output to re-run LaTeX if needed.
6233 From Bram Moolenaar:
6235 - Split the non-SCons-specific functionality from SConf.py to a new,
6236 re-usable Conftest.py module.
6238 From Gary Oberbrunner:
6240 - Allow a directory to be the target or source or dependency of a
6241 Depends(), Ignore(), Precious() or SideEffect() call.
6245 - Use the %{_mandir} macro when building our RPM package.
6247 From Marko Rauhamaa:
6249 - Have the closing message say "...terminated because of errors" if
6254 - On Win32 systems, only use "rm" to delete files if Cygwin is being
6255 used. ("rm" doesn't understand Win32-format path names.)
6257 From Christoph Wiedemann:
6259 - Fix test/SWIG.py to find the Python include directory in all cases.
6261 - Fix a bug in detection of Qt installed on the local system.
6263 - Support returning Python 2.3 BooleanType values from Configure checks.
6265 - Provide an error message if someone mistakenly tries to call a
6266 Configure check from within a Builder function.
6268 - Support calling a Builder when a Configure context is still open.
6270 - Handle interrupts better by eliminating all try:-except: blocks
6271 which caught any and all exceptions, including KeyboardInterrupt.
6273 - Add a --duplicate= option to control how files are duplicated.
6277 RELEASE 0.92 - Wed, 20 Aug 2003 03:45:28 -0500
6279 From Charles Crain and Gary Oberbrunner:
6281 - Fix Tool import problems with the Intel and PharLap linkers.
6285 - Refactor the DictCmdGenerator class to be a Selector subclass.
6287 - Allow the DefaultEnvironment() function to take arguments and pass
6288 them to instantiation of the default construction environment.
6290 - Update the Debian package so it uses Python 2.2 and more closely
6291 resembles the currently official Debian packaging info.
6295 - When the yacc -d flag is used, take the .h file base name from the
6296 target .c file, not the source (matching what yacc does).
6300 RELEASE 0.91 - Thu, 14 Aug 2003 13:00:44 -0500
6304 - Support specifying a list of tools when calling Environment.Copy().
6306 - Give a Value Nodes a timestamp of the system time when they're
6307 created, so they'll work when using timestamp-based signatures.
6309 - Add a DefaultEnvironment() function that only creates a default
6310 environment on-demand (for fetching source files, e.g.).
6312 - Portability fix for test/M4.py.
6316 - Tighten up the scons -H help output.
6318 - When the input yacc file ends in .yy and the -d flag is specified,
6319 recognize that a .hpp file (not a .h file) will be created.
6321 - Make builder prefixes work correctly when deducing a target
6322 from a source file name in another directory.
6324 - Documentation fixes: typo in the man page; explain up-front about
6325 not propagating the external environment.
6327 - Use "cvs co -d" instead of "cvs co -p >" when checking out something
6328 from CVS with a specified module name. This avoids zero-length
6329 files when there is a checkout error.
6331 - Add an "sconsign" script to print the contents of .sconsign files.
6333 - Speed up maintaining the various lists of Node children by using
6334 dictionaries to avoid "x in list" searches.
6336 - Cache the computed list of Node children minus those being Ignored
6337 so it's only calculated once.
6339 - Fix use of the --cache-show option when building a Program()
6340 (or using any other arbitrary action) by making sure all Action
6341 instances have strfunction() methods.
6343 - Allow the source of Command() to be a directory.
6345 - Better error handling of things like raw TypeErrors in SConscripts.
6347 - When installing using "setup.py install --prefix=", suppress the
6348 distutils warning message about adding the (incorrect) library
6349 directory to your search path.
6351 - Correct the spelling of the "validater" option to "validator."
6352 Add a DeprecatedWarning when the old spelling is used.
6354 - Allow a Builder's emitter to be a dictionary that maps source file
6355 suffixes to emitter functions, using the suffix of the first file
6356 in the source list to pick the right one.
6358 - Refactor the creation of the Program, *Object and *Library Builders
6359 so that they're moved out of SCons.Defaults and created on demand.
6361 - Don't split SConscript file names on white space.
6363 - Document the SConscript function's "dirs" and "name" keywords.
6365 - Remove the internal (and superfluous) SCons.Util.argmunge() function.
6367 - Add /TP to the default CXXFLAGS for msvc, so it can compile all
6368 of the suffixes we use as C++ files.
6370 - Allow the "prefix" and "suffix" attributes of a Builder to be
6371 callable objects that return generated strings, or dictionaries
6372 that map a source file suffix to the right prefix/suffix.
6374 - Support a MAXLINELINELENGTH construction variable on Win32 systems
6375 to control when a temporary file is used for long command lines.
6377 - Make how we build .rpm packages not depend on the installation
6378 locations from the distutils being used.
6380 - When deducing a target Node, create it directly from the first
6381 source Node, not by trying to create the right string to pass to
6384 - Add support for SWIG.
6386 From Bram Moolenaar:
6388 - Test portability fixes for FreeBSD.
6390 From Gary Oberbrunner:
6392 - Report the target being built in error messages when building
6393 multiple sources from different extensions, or when the target file
6394 extension can't be deduced, or when we don't have an action for a
6397 - Provide helpful error messages when the arguments to env.Install()
6400 - Fix the value returned by the Node.prevsiginfo() method to conform
6401 to a previous change when checking whether a node is current.
6403 - Supply a stack trace if the Taskmaster catches an exception.
6405 - When using a temporary file for a long link line on Win32 systems,
6406 (also) print the command line that is being executed through the
6409 - Initialize the LIB environment variable when using the Intel
6412 - Documentation fixes: better explain the AlwaysBuild() function.
6414 From Laurent Pelecq:
6416 - When the -debug=pdb option is specified, use pdb.Pdb().runcall() to
6417 call pdb directly, don't call Python recursively.
6421 - Add support for a platform-independent CPPDEFINES variable.
6423 From Christoph Wiedemann:
6425 - Have the g++ Tool actually use g++ in preference to c++.
6427 - Have the gcc Tool actually use gcc in preference to cc.
6429 - Add a gnutools.py test of the GNU tool chain.
6431 - Be smarter about linking: use $CC by default and $CXX only if we're
6432 linking with any C++ objects.
6434 - Avoid SCons hanging when a piped command has a lot of output to read.
6436 - Add QT support for preprocessing .ui files into .c files.
6440 RELEASE 0.90 - Wed, 25 Jun 2003 14:24:52 -0500
6444 - Fix the _concat() documentation, and add a test for it.
6446 - Portability fixes for non-GNU versions of lex and yacc.
6450 - Fix handling of library prefixes when the subdirectory matches
6453 From Timothee Bessett:
6455 - Add an M4 Builder.
6459 - Use '.lnk' as the suffix on the temporary file for linking long
6460 command lines (necessary for the Phar Lap linkloc linker).
6462 - Save non-string Options values as their actual type.
6464 - Save Options string values that contain a single quote correctly.
6466 - Save any Options values that are changed from the default
6467 Environment values, not just ones changed on the command line or in
6470 - Make closing the Options file descriptor exception-safe.
6474 - SCons now enforces (with an error) that construction variables
6475 must have the same form as valid Python identifiers.
6477 - Fix man page bugs: remove duplicate AddPostAction() description;
6478 document no_import_lib; mention that CPPFLAGS does not contain
6479 $_CPPINCFLAGS; mention that F77FLAGS does not contain $_F77INCFLAGS;
6480 mention that LINKFLAGS and SHLINKFLAGS contains neither $_LIBFLAGS
6483 - Eliminate a dependency on the distutils.fancy_getopt module by
6484 copying and pasting its wrap_text() function directly.
6486 - Make the Script.Options() subclass match the underlying base class
6489 - When reporting a target is up to date, quote the target like make
6490 (backquote-quote) instead of with double quotes.
6492 - Fix handling of ../* targets when using -U, -D or -u.
6496 - Don't update the .sconsign files when run with -n.
6498 From Gary Oberbrunner:
6500 - Add support for the Intel C Compiler (icl.exe).
6508 - Fix use of SConf in paths with white space in them.
6510 - Add CheckFunc and CheckType functionality to SConf.
6512 - Fix use of SConf with Builders that return a list of nodes.
6514 From David Snopek and Christoph Wiedemann
6516 - Fix use of the SConf subsystem with SConscriptChdir().
6520 - Check for the existence of MS Visual Studio on disk before using it,
6521 to avoid getting fooled by leftover junk in the registry.
6523 - Add support for MSVC++ .NET.
6525 - Add support for MS Visual Studio project files (DSP, DSW,
6526 SLN and VCPROJ files).
6528 From Christoph Wiedemann
6530 - SConf now works correctly when the -n and -q options are used.
6534 RELEASE 0.14 - Wed, 21 May 2003 05:16:32 -0500
6538 - Use .dll (not .so) for shared libraries on Cygwin; use -fPIC
6539 when compiling them.
6541 - Use 'rm' to remove files under Cygwin.
6543 - Add a PLATFORM variable to construction environments.
6545 - Remove the "platform" argument from tool specifications.
6547 - Propogate PYTHONPATH when running the regression tests so distutils
6548 can be found in non-standard locations.
6550 - Using MSVC long command-line linking when running Cygwin.
6552 - Portability fixes for a lot of tests.
6554 - Add a Value Node class for dependencies on in-core Python values.
6556 From Allen Bierbaum:
6558 - Pass an Environment to the Options validator method, and
6559 add an Options.Save() method.
6561 From Steve Christensen:
6563 - Add an optional sort function argument to the GenerateHelpText()
6566 - Evaluate the "varlist" variables when computing the signature of a
6571 - Parse the source .java files for class names (including inner class
6572 names) to figure out the target .class files that will be created.
6574 - Make Java support work with Repositories and SConscriptChdir(0).
6576 - Pass Nodes, not strings, to Builder emitter functions.
6578 - Refactor command-line interpolation and signature calculation
6579 so we can use real Node attributes.
6583 - Add Java support (javac, javah, jar and rmic).
6585 - Propagate the external SYSTEMROOT environment variable into ENV on
6586 Win32 systems, so external commands that use sockets will work.
6588 - Add a .posix attribute to PathList expansions.
6590 - Check out CVS source files using POSIX path names (forward slashes
6591 as separators) even on Win32.
6593 - Add Node.clear() and Node.FS.Entry.clear() methods to wipe out a
6594 Node's state, allowing it to be re-evaluated by continuous
6595 integration build interfaces.
6597 - Change the name of the Set{Build,Content}SignatureType() functions
6598 to {Target,Source}Signatures(). Deprecate the old names but support
6599 them for backwards compatibility.
6601 - Add internal SCons.Node.FS.{Dir,File}.Entry() methods.
6603 - Interpolate the null string if an out-of-range subscript is used
6604 for a construction variable.
6606 - Fix the internal Link function so that it properly links or copies
6607 files in subsidiary BuildDir directories.
6609 - Refactor the internal representation of a single execution instance
6610 of an action to eliminate redundant signature calculations.
6612 - Eliminate redundant signature calculations for Nodes.
6614 - Optimize out calling hasattr() before accessing attributes.
6616 - Say "Cleaning targets" (not "Building...") when the -c option is
6621 - Quote the "Entering directory" message like Make.
6623 From Stefan Reichor:
6625 - Add support for using Ghostscript to convert Postscript to PDF files.
6629 - Add a standalone "Alias" function (separate from an Environment).
6631 - Make Export() work for local variables.
6633 - Support passing a dictionary to Export().
6635 - Support Import('*') to import everything that's been Export()ed.
6637 - Fix an undefined exitvalmap on Win32 systems.
6639 - Support new SetOption() and GetOption() functions for setting
6640 various command-line options from with an SConscript file.
6642 - Deprecate the old SetJobs() and GetJobs() functions in favor of
6643 using the new generic {Set,Get}Option() functions.
6645 - Fix a number of tests that searched for a Fortran compiler using the
6646 external PATH instead of what SCons would use.
6648 - Fix the interaction of SideEffect() and BuildDir() so that (for
6649 example) PDB files get put correctly in a BuildDir().
6653 - Contribute the "Autoscons" code for Autoconf-like checking for
6654 the existence of libraries, header files and the like.
6656 - Have the Tool() function add the tool name to the $TOOLS
6657 construction variable.
6661 - Support the C preprocessor #import statement.
6663 - Allow the SharedLibrary() Builder on Win32 systems to be able to
6664 register a newly-built dll using regsvr32.
6666 - Add a Builder for Windows type library (.tlb) files from IDL files.
6668 - Add an IDL scanner.
6670 - Refactor the Fortran, C and IDL scanners to share common logic.
6672 - Add .srcpath and .srcdir attributes to $TARGET and $SOURCE.
6674 From Christoph Wiedemann:
6676 - Integrate David Snopek's "Autoscons" code as the new SConf
6677 configuration subsystem, including caching of values between
6678 runs (using normal SCons dependency mechanisms), tests, and
6683 RELEASE 0.13 - Mon, 31 Mar 2003 20:22:00 -0600
6687 - Fix a bug when BuildDir(duplicate=0) is used and SConscript
6688 files are called from within other SConscript files.
6690 - Support (older) versions of Perforce which don't set the Windows
6695 RELEASE 0.12 - Thu, 27 Mar 2003 23:52:09 -0600
6699 - Added support for the Perforce source code management system.
6701 - Fix str(Node.FS) so that it returns a path relative to the calling
6702 SConscript file's directory, not the top-level directory.
6704 - Added support for a separate src_dir argument to SConscript()
6705 that allows explicit specification of where the source files
6706 for an SConscript file can be found.
6708 - Support more easily re-usable flavors of command generators by
6709 calling callable variables when strings are expanded.
6713 - Added an INSTALL construction variable that can be set to a function
6714 to control how the Install() and InstallAs() Builders install files.
6715 The default INSTALL function now copies, not links, files.
6717 - Remove deprecated features: the "name" argument to Builder objects,
6718 and the Environment.Update() method.
6720 - Add an Environment.SourceCode() method to support fetching files
6721 from source code systems. Add factory methods that create Builders
6722 to support BitKeeper, CVS, RCS, and SCCS. Add support for fetching
6723 files from RCS or SCCS transparently (like GNU Make).
6725 - Make the internal to_String() function more efficient.
6727 - Make the error message the same as other build errors when there's a
6728 problem unlinking a target file in preparation for it being built.
6730 - Make TARGET, TARGETS, SOURCE and SOURCES reserved variable names and
6731 warn if the user tries to set them in a construction environment.
6733 - Add support for Tar and Zip files.
6735 - Better documentation of the different ways to export variables to a
6736 subsidiary SConscript file. Fix documentation bugs in a tools
6737 example, places that still assumed SCons split strings on white
6740 - Support fetching arbitrary files from the TARGETS or SOURCES lists
6741 (e.g. ${SOURCES[2]}) when calculating the build signature of a
6744 - Don't silently swallow exceptions thrown by Scanners (or other
6745 exceptions while finding a node's dependent children).
6747 - Push files to CacheDir() before calling the superclass built()
6748 method (which may clear the build signature as part of clearing
6749 cached implicit dependencies, if the file has a source scanner).
6750 (Bug reported by Jeff Petkau.)
6752 - Raise an internal error if we attempt to push a file to CacheDir()
6753 with a build signature of None.
6755 - Add an explicit Exit() function for terminating early.
6757 - Change the documentation to correctly describe that the -f option
6758 doesn't change to the directory in which the specified file lives.
6760 - Support changing directories locally with SConscript directory
6761 path names relative to any SConstruct file specified with -f.
6762 This allows you to build in another directory by simply changing
6763 there and pointing at the SConstruct file in another directory.
6765 - Change the default SConscriptChdir() behavior to change to the
6766 SConscript directory while it's being read.
6768 - Fix an exception thrown when the -U option was used with no
6769 Default() target specified.
6771 - Fix -u so that it builds things in corresponding build directories
6772 when used in a source directory.
6776 - Add SharedObject() support to the masm tool.
6778 - Fix WhereIs() to return normalized paths.
6782 - Don't copy a built file to a CacheDir() if it's already there.
6784 - Avoid partial copies of built files in a CacheDir() by copying
6785 to a temporary file and renaming.
6789 - Fix incorrect dependency-cycle errors when an Aliased source doesn't
6794 RELEASE 0.11 - Tue, 11 Feb 2003 05:24:33 -0600
6798 - Add support for IRIX and the SGI MIPSPro tool chain.
6800 - Support using the MSVC tool chain when running Cygwin Python.
6804 - Avoid losing signal bits in the exit status from a command,
6805 helping terminate builds on interrupt (CTRL+C).
6809 - Added new AddPreAction() and AddPostAction() functions that support
6810 taking additional actions before or after building specific targets.
6812 - Add support for the PharLap ETS tool chain.
6816 - Allow Python function Actions to specify a list of construction
6817 variables that should be included in the Action's signature.
6819 - Allow libraries in the LIBS variable to explicitly include the prefix
6820 and suffix, even when using the GNU linker.
6821 (Bug reported by Neal Becker.)
6823 - Use DOS-standard CR-LF line endings in the scons.bat file.
6824 (Bug reported by Gary Ruben.)
6826 - Doc changes: Eliminate description of deprecated "name" keyword
6827 argument from Builder definition (reported by Gary Ruben).
6829 - Support using env.Append() on BUILDERS (and other dictionaries).
6830 (Bug reported by Bj=F6rn Bylander.)
6832 - Setting the BUILDERS construction variable now properly clears
6833 the previous Builder attributes from the construction Environment.
6834 (Bug reported by Bj=F6rn Bylander.)
6836 - Fix adding a prefix to a file when the target isn't specified.
6837 (Bug reported by Esa Ilari Vuokko.)
6839 - Clean up error messages from problems duplicating into read-only
6840 BuildDir directories or into read-only files.
6842 - Add a CommandAction.strfunction() method, and add an "env" argument
6843 to the FunctionAction.strfunction() method, so that all Action
6844 objects have strfunction() methods, and the functions for building
6845 and returning a string both take the same arguments.
6847 - Add support for new CacheDir() functionality to share derived files
6848 between builds, with related options --cache-disable, --cache-force,
6851 - Change the default behavior when no targets are specified to build
6852 everything in the current directory and below (like Make). This
6853 can be disabled by specifying Default(None) in an SConscript.
6855 - Revamp SCons installation to fix a case-sensitive installation
6856 on Win32 systems, and to add SCons-specific --standard-lib,
6857 --standalone-lib, and --version-lib options for easier user
6858 control of where the libraries get installed.
6860 - Fix the ability to directly import and use Platform and Tool modules
6861 that have been implicitly imported into an Environment().
6863 - Add support for allowing an embedding interface to annotate a node
6866 - Extend the SConscript() function to accept build_dir and duplicate
6867 keyword arguments that function like a BuildDir() call.
6871 - Fix the output of -c -n when directories are involved, so it
6876 - Use a different shared object suffix (.os) when using gcc so shared
6877 and static objects can exist side-by-side in the same directory.
6879 - Allow the same object files on Win32 to be linked into either
6880 shared or static libraries.
6882 - Cache implicit cache values when using --implicit-cache.
6886 RELEASE 0.10 - Thu, 16 Jan 2003 04:11:46 -0600
6888 From Derrick 'dman' Hudson:
6890 - Support Repositories on other file systems by symlinking or
6891 copying files when hard linking won't work.
6895 - Remove Python bytecode (*.pyc) files from the scons-local packages.
6897 - Have FunctionActions print a description of what they're doing
6898 (a representation of the Python call).
6900 - Fix the Install() method so that, like other actions, it prints
6901 what would have happened when the -n option is used.
6903 - Don't create duplicate source files in a BuildDir when the -n
6906 - Refactor the Scanner interface to eliminate unnecessary Scanner
6907 calls and make it easier to write efficient scanners.
6909 - Added a "recursive" flag to Scanner creation that specifies the
6910 Scanner should be invoked recursively on dependency files returned
6913 - Significant performance improvement from using a more efficient
6914 check, throughout the code, for whether a Node has a Builder.
6916 - Fix specifying only the source file to MultiStepBuilders such as
6917 the Program Builder. (Bug reported by Dean Bair.)
6919 - Fix an exception when building from a file with the same basename as
6920 the subdirectory in which it lives. (Bug reported by Gerard Patel.)
6922 - Fix automatic deduction of a target file name when there are
6923 multiple source files specified; the target is now deduced from just
6924 the first source file in the list.
6926 - Documentation fixes: better initial explanation of SConscript files;
6927 fix a misformatted "table" in the StaticObject explanation.
6929 From Steven Knight and Steve Leblanc:
6931 - Fix the -c option so it will remove symlinks.
6935 - Add a Clean() method to support removing user-specified targets
6936 when using the -c option.
6938 - Add a development script for running SCons through PyChecker.
6940 - Clean up things found by PyChecker (mostly unnecessary imports).
6942 - Add a script to use HappyDoc to create HTML class documentation.
6946 - Make the Environment.get() method return None by default.
6950 - Add SetJobs() and GetJobs() methods to allow configuration of the
6951 number of default jobs (still overridden by -j).
6953 - Convert the .sconsign file format from ASCII to a pickled Python
6956 - Error message cleanups: Made consistent the format of error
6957 messages (now all start with "scons: ***") and warning messages (now
6958 all start with "scons: warning:"). Caught more cases with the "Do
6959 not know how to build" error message.
6961 - Added support for the MinGW tool chain.
6963 - Added a --debug=includes option.
6967 RELEASE 0.09 - Thu, 5 Dec 2002 04:48:25 -0600
6971 - Add a Prepend() method to Environments, to append values to
6972 the beginning of construction variables.
6976 - Add long command-line support to the "lib" Tool (Microsoft library
6981 - Allow $$ in a string to be passed through as $.
6983 - Support file names with odd characters in them.
6985 - Add support for construction variable substition on scanner
6986 directories (in CPPPATH, F77PATH, LIBPATH, etc.).
6988 From Charles Crain and Steven Knight:
6990 - Add Repository() functionality, including the -Y option.
6994 - Fix auto-deduction of target names so that deduced targets end
6995 up in the same subdirectory as the source.
6997 - Don't remove source files specified on the command line!
6999 - Suport the Intel Fortran Compiler (ifl.exe).
7001 - Supply an error message if there are no command-line or
7002 Default() targets specified.
7004 - Fix the ASPPCOM values for the GNU assembler.
7005 (Bug reported by Brett Polivka.)
7007 - Fix an exception thrown when a Default() directory was specified
7008 when using the -U option.
7010 - Issue a warning when -c can't remove a target.
7012 - Eliminate unnecessary Scanner calls by checking for the
7013 existence of a file before scanning it. (This adds a generic
7014 hook to check an arbitrary condition before scanning.)
7016 - Add explicit messages to tell when we're "Reading SConscript files
7017 ...," "done reading SConscript files," "Building targets," and
7018 "done building targets." Add a -Q option to supress these.
7020 - Add separate $SHOBJPREFIX and $SHOBJSUFFIX construction variables
7021 (by default, the same as $OBJPREFIX and $OBJSUFFIX).
7023 - Add Make-like error messages when asked to build a source file,
7024 and before trying to build a file that doesn't have all its source
7025 files (including when an invalid drive letter is used on WIN32).
7027 - Add an scons-local-{version} package (in both .tar.gz and .zip
7028 flavors) to help people who want to ship SCons as a stand-alone
7029 build tool in their software packages.
7031 - Prevent SCons from unlinking files in certain situations when
7032 the -n option is used.
7034 - Change the name of Tool/lib.py to Tool/mslib.py.
7036 From Steven Knight and Anthony Roach:
7038 - Man page: document the fact that Builder calls return Node objects.
7042 - Refactor option processing to use our own version of Greg Ward's
7043 Optik module, modified to run under Python 1.5.2.
7045 - Add a ParseConfig() command to modify an environment based on
7046 parsing output from a *-config command.
7050 - Fix interpretation of '#/../foo' on Win32 systems.
7054 - Fixed use of command lines with spaces in their arguments,
7055 and use of Nodes with spaces in their string representation.
7057 - Make access and modification times of files in a BuildDir match
7058 the source file, even when hard linking isn't available.
7060 - Make -U be case insensitive on Win32 systems.
7062 - Issue a warning and continue when finding a corrupt .sconsign file.
7064 - Fix using an alias as a dependency of a target so that if one of the
7065 alias' dependencies gets rebuilt, the resulting target will, too.
7067 - Fix differently ordered targets causing unnecessary rebuilds
7068 on case insensitive systems.
7070 - Use os.system() to execute external commands whenever the "env"
7071 utility is available, which is much faster than fork()/exec(),
7072 and fixes the -j option on several platforms.
7074 - Fix use of -j with multiple targets.
7076 - Add an Options() object for friendlier accomodation of command-
7079 - Add support for Microsoft VC++ precompiled header (.pch) files,
7080 debugger (.pdb) files, and resource (.rc) files.
7082 - Don't compute the $_CPPINCFLAGS, $_F77INCFLAGS, $_LIBFLAGS and
7083 $_LIBDIRFLAGS variables each time a command is executed, define
7084 them so they're computed only as needed. Add a new _concat
7085 function to the Environment that allows people to define their
7086 own similar variables.
7088 - Fix dependency scans when $LIBS is overridden.
7090 - Add EnsurePythonVersion() and EnsureSConsVersion() functions.
7092 - Fix the overly-verbose stack trace on ListBuilder build errors.
7094 - Add a SetContentSignatureType() function, allowing use of file
7095 timestamps instead of MD5 signatures.
7097 - Make -U and Default('source') fail gracefully.
7099 - Allow the File() and Dir() methods to take a path-name string as
7100 the starting directory, in addition to a Dir object.
7102 - Allow the command handler to be selected via the SPAWN, SHELL
7103 and ESCAPE construction variables.
7105 - Allow construction variables to be overridden when a Builder
7110 - Dynamically check for the existence of utilities with which to
7111 initialize Environments by default.
7115 RELEASE 0.08 - Mon, 15 Jul 2002 12:08:51 -0500
7119 - Fixed a bug with relative CPPPATH dirs when using BuildDir().
7120 (Bug reported by Bob Summerwill.)
7122 - Added a warnings framework and a --warn option to enable or
7125 - Make the C scanner warn users if files referenced by #include
7126 directives cannot be found and --warn=dependency is specified.
7128 - The BUILDERS construction variable should now be a dictionary
7129 that maps builder names to actions. Existing uses of lists,
7130 and the Builder name= keyword argument, generate warnings
7131 about use of deprecated features.
7133 - Removed the "shared" keyword argument from the Object and
7136 - Added separated StaticObject, SharedObject, StaticLibrary and
7137 SharedLibrary builders. Made Object and Library synonyms for
7138 StaticObject and StaticLibrary, respectively.
7140 - Add LIBS and LIBPATH dependencies for shared libraries.
7142 - Removed support for the prefix, suffix and src_suffix arguments
7143 to Builder() to be callable functions.
7145 - Fix handling file names with multiple dots.
7147 - Allow a build directory to be outside of the SConstruct tree.
7149 - Add a FindFile() function that searches for a file node with a
7152 - Add $CPPFLAGS to the shared-object command lines for g++ and gcc.
7154 From Charles Crain and Steven Knight:
7156 - Add a "tools=" keyword argument to Environment instantiation,
7157 and a separate Tools() method, for more flexible specification
7158 of tool-specific environment changes.
7162 - Add a "platform=" keyword argument to Environment instantiation,
7163 and a separate Platform() method, for more flexible specification
7164 of platform-specific environment changes.
7166 - Updated README instructions and setup.py code to catch an
7167 installation failure from not having distutils installed.
7169 - Add descriptions to the -H help text for -D, -u and -U so
7170 people can tell them apart.
7172 - Remove the old feature of automatically splitting strings
7173 of file names on white space.
7175 - Add a dependency Scanner for native Fortran "include" statements,
7176 using a new "F77PATH" construction variable.
7178 - Fix C #include scanning to detect file names with characters like
7181 - Add more specific version / build output to the -v option.
7183 - Add support for the GNU as, Microsoft masm, and nasm assemblers.
7185 - Allow the "target" argument to a Builder call to be omitted, in
7186 which case the target(s) are deduced from the source file(s) and the
7187 Builder's specified suffix.
7189 - Add a tar archive builder.
7191 - Add preliminary support for the OS/2 Platform, including the icc
7196 - Fix --implicit-cache if the scanner returns an empty list.
7200 - Add a "multi" keyword argument to Builder creation that specifies
7201 it's okay to call the builder multiple times for a target.
7203 - Set a "multi" on Aliases so multiple calls will append to an Alias.
7205 - Fix emitter functions' use of path names when using BuildDir or
7208 - Fix --implicit-cache causing redundant rebuilds when the header
7211 - Fix --implicit-cache when a file has no implicit dependencies and
7212 its source is generated.
7214 - Make the drive letters on Windows always be the same case, so that
7215 changes in the case of drive letters don't cause a rebuild.
7217 - Fall back to importing the SCons.TimeStamp module if the SCons.MD5
7218 module can't be imported.
7220 - Fix interrupt handling to guarantee that a single interrupt will
7221 halt SCons both when using -j and not.
7223 - Fix .sconsign signature storage so that output files of one build
7224 can be safely used as input files to another build.
7226 - Added a --debug=time option to print SCons execution times.
7228 - Print an error message if a file can't be unlinked before being
7229 built, rather than just silently terminating the build.
7231 - Add a SideEffect() method that can be used to tell the build
7232 engine that a given file is created as a side effect of building
7233 a target. A file can be specified as a side effect of more than
7234 one build comand, in which case the commands will not be executed
7237 - Significant performance gains from not using our own version of
7238 the inefficient stock os.path.splitext() method, caching source
7239 suffix computation, code cleanup in MultiStepBuilder.__call__(),
7240 and replicating some logic in scons_subst().
7242 - Add --implicit-deps-changed and --implicit-deps-unchanged options.
7244 - Add a GetLaunchDir() function.
7246 - Add a SetBuildSignatureType() function.
7250 - Add an Append() method to Environments, to append values to
7251 construction variables.
7253 - Change the name of Update() to Replace(). Keep Update() as a
7254 deprecated synonym, at least for now.
7256 From Terrel Shumway:
7258 - Use a $PYTHON construction variable, initialized to sys.executable,
7259 when using Python to build parts of the SCons packages.
7261 - Use sys.prefix, not sys.exec_prefix, to find pdb.py.
7265 RELEASE 0.07 - Thu, 2 May 2002 13:37:16 -0500
7269 - Changes to build SCons packages on IRIX (and other *NIces).
7271 - Don't create a directory Node when a file already exists there,
7274 - Add 'dirs' and 'names' keyword arguments to SConscript for
7275 easier specification of subsidiary SConscript files.
7279 - Internal cleanup of environment passing to function Actions.
7281 - Builders can now take arbitrary keyword arguments to create
7282 attributes to be passed to: command generator functions,
7283 FunctionAction functions, Builder emitter functions (below),
7284 and prefix/suffix generator functions (below).
7286 - Command generator functions can now return ANYTHING that can be
7287 converted into an Action (a function, a string, a CommandGenerator
7288 instance, even an ActionBase instance).
7290 - Actions now call get_contents() with the actual target and source
7291 nodes used for the build.
7293 - A new DictCmdGenerator class replaces CompositeBuilder to support
7294 more flexible Builder behavior internally.
7296 - Builders can now take an emitter= keyword argument. An emitter
7297 is a function that takes target, source, and env argument, then
7298 return a 2-tuple of (new sources, new targets). The emitter is
7299 called when the Builder is __call__'ed, allowing a user to modify
7300 source and target lists.
7302 - The prefix, suffix and src_suffix Builder arguments now take a
7303 callable as well a string. The callable is passed the Environment
7304 and any extra Builder keyword arguments and is expected to return
7305 the appropriate prefix or suffix.
7307 - CommandActions can now be a string, a list of command + argument
7308 strings, or a list of commands (strings or lists).
7310 - Added shared library support. The Object and Library Builders now
7311 take a "shared=1" keyword argument to specify that a shared object
7312 or shared library should be built. It is an error to try to build
7313 static objects into a shared library or vice versa.
7315 - Win32 support for .def files has been added. Added the Win32-specific
7316 construction variables $WIN32DEFPREFIX, $WIN32DEFSUFFIX,
7317 $WIN32DLLPREFIX and $WIN32IMPLIBPREFIX. When building a .dll,
7318 the new construction variable $WIN32_INSERT_DEF, controls whether
7319 the appropriately-named .def file is inserted into the target
7320 list (if not already present). A .lib file is always added to
7321 a Library build if not present in the list of targets.
7323 - ListBuilder now passes all targets to the action, not just the first.
7325 - Fix so that -c now deletes generated yacc .h files.
7327 - Builder actions and emitter functions can now be initialized, through
7328 construction variables, to things other than strings.
7330 - Make top-relative '#/dir' lookups work like '#dir'.
7332 - Fix for relative CPPPATH directories in subsidiary SConscript files
7335 - Add a for_signature argument to command generators, so that
7336 generators that need to can return distinct values for the
7337 command signature and for executing the command.
7341 - Create a better scons.bat file from a py2bat.py script on the Python
7342 mailing list two years ago (modeled after pl2bat.pl).
7346 - Fix so that -c -n does *not* remove the targets!
7348 - Man page: Add a hierarchical libraries + Program example.
7350 - Support long MSVC linker command lines through a builder action
7351 that writes to a temporary file and uses the magic MSVC "link @file"
7352 argument syntax if the line is longer than 2K characters.
7354 - Fix F77 command-line options on Win32 (use /Fo instead of -o).
7356 - Use the same action to build from .c (lower case) and .C (upper
7357 case) files on case-insensitive systems like Win32.
7359 - Support building a PDF file directly from a TeX or LaTeX file
7360 using pdftex or pdflatex.
7362 - Add a -x option to runtest.py to specify the script being tested.
7363 A -X option indicates it's an executable, not a script to feed
7364 to the Python interpreter.
7366 - Add a Split() function (identical to SCons.Util.argmunge()) for use
7367 in the next release, when Builders will no longer automatically split
7368 strings on white space.
7372 - Add the SConscriptChdir() method.
7376 - Fix --debug=tree when used with directory targets.
7378 - Significant internal restructuring of Scanners and Taskmaster.
7380 - Added new --debug=dtree option.
7382 - Fixes for --profile option.
7384 - Performance improvement in construction variable substitution.
7386 - Implemented caching of content signatures, plus added --max-drift
7387 option to control caching.
7389 - Implemented caching of dependency signatures, enabled by new
7390 --implicit-cache option.
7392 - Added abspath construction variable modifier.
7394 - Added $SOURCE variable as a synonym for $SOURCES[0].
7396 - Write out .sconsign files on error or interrupt so intermediate
7397 build results are saved.
7399 - Change the -U option to -D. Make a new -U that builds just the
7400 targets from the local SConscript file.
7402 - Fixed use of sys.path so Python modules can be imported from
7403 the SConscript directory.
7405 - Fix for using Aliases with the -u, -U and -D options.
7407 - Fix so that Nodes can be passed to SConscript files.
7411 - Changes for official Debian packaging.
7415 RELEASE 0.06 - Thu, 28 Mar 2002 01:24:29 -0600
7419 - Fix command generators to expand construction variables.
7421 - Make FunctionAction arguments be Nodes, not strings.
7423 From Stephen Kennedy:
7425 - Performance: Use a dictionary, not a list, for a Node's parents.
7429 - Add .zip files to the packages we build.
7431 - Man page: document LIBS, fix a typo, document ARGUMENTS.
7433 - Added RANLIB and RANLIBFLAGS construction variables. Only use them
7434 in ARCOM if there's a "ranlib" program on the system.
7436 - Add a configurable CFILESUFFIX for the Builder of .l and .y files
7439 - Add a CXXFile Builder that turns .ll and .yy files into .cc files
7440 (configurable via a CXXFILESUFFIX construction variable).
7442 - Use the POSIX-standard lex -t flag, not the GNU-specific -o flag.
7443 (Bug reported by Russell Christensen.)
7445 - Fixed an exception when CPPPATH or LIBPATH is a null string.
7446 (Bug reported by Richard Kiss.)
7448 - Add a --profile=FILE option to make profiling SCons easier.
7450 - Modify the new DVI builder to create .dvi files from LaTeX (.ltx
7453 - Add support for Aliases (phony targets).
7455 - Add a WhereIs() method for searching for path names to executables.
7457 - Add PDF and PostScript document builders.
7459 - Add support for compiling Fortran programs from a variety of
7460 suffixes (a la GNU Make): .f, .F, .for, .FOR, .fpp and .FPP
7462 - Support a CPPFLAGS variable on all default commands that use the
7467 - Add support for the -U option.
7469 - Allow CPPPATH, LIBPATH and LIBS to be specified as white-space
7472 - Add a document builder to create .dvi files from TeX (.tex) files.
7476 - Fix: Construction variables with values of 0 were incorrectly
7479 - Support env['VAR'] to fetch construction variable values.
7481 - Man page: document Precious().
7485 RELEASE 0.05 - Thu, 21 Feb 2002 16:50:03 -0600
7489 - Set PROGSUFFIX to .exe under Cygwin.
7493 - Allow a library to specified as a command-line source file, not just
7494 in the LIBS construction variable.
7496 - Compensate for a bug in os.path.normpath() that returns '' for './'
7499 - More performance optimizations: cache #include lines from files,
7500 eliminate unnecessary calls.
7502 - If a prefix or suffix contains white space, treat the resulting
7503 concatenation as separate arguments.
7505 - Fix irregularities in the way we fetch DevStudio information from
7506 the Windows registry, and in our registry error handling.
7510 - Flush stdout after print so it intermixes correctly with stderr
7513 - Allow Scanners to return a list of strings, and document how to
7514 write your own Scanners.
7516 - Look up implicit (scanned) dependencies relative to the directory
7517 of file being scanned.
7519 - Make writing .sconsign files more robust by first trying to write
7520 to a temp file that gets renamed.
7522 - Create all of the directories for a list of targets before trying
7523 to build any of the targets.
7525 - WIN32 portability fixes in tests.
7527 - Allow the list of variables exported to an SConscript file to be
7530 - Document the overlooked LIBPATH construction variable.
7531 (Bug reported by Eicke Godehardt.)
7533 - Fix so that Ignore() ignores indirect, implicit dependencies
7534 (included files), not just direct dependencies.
7536 - Put the man page in the Debian distribution.
7538 - Run HTML docs through tidy to clean up the HTML (for Konqueror).
7540 - Add preliminary support for Unicode strings.
7542 - Efficiency: don't scan dependencies more than once during the
7545 - Fix the -c option so it doesn't stop removing targets if one doesn't
7547 (Bug reported by Paul Connell.)
7549 - Fix the --debug=pdb option when run on Windows NT.
7550 (Bug reported by Paul Connell.)
7552 - Add support for the -q option.
7556 - Add support for the -u option.
7558 - Add .cc and .hh file suffixes to the C Scanner.
7562 - Make the scons script return an error code on failures.
7564 - Add support for using code to generate a command to build a target.
7568 RELEASE 0.04 - Wed, 30 Jan 2002 11:09:42 -0600
7572 - Significant performance improvements in the Node.FS and
7575 - Fix signatures of binary files on Win32 systems.
7577 - Allow LIBS and LIBPATH to be strings, not just arrays.
7579 - Print a traceback if a Python-function builder throws an exception.
7583 - Fix using a directory as a Default(), and allow Default() to
7584 support white space in file names for strings in arrays.
7586 - Man page updates: corrected some mistakes, documented various
7587 missing Environment methods, alphabetized the construction
7588 variables and other functions, defined begin and end macros for
7589 the example sections, regularized white space separation, fixed
7590 the use of Export() in the Multiple Variants example.
7592 - Function action fixes: None is now a successful return value.
7593 Exceptions are now reported. Document function actions.
7595 - Add 'Action' and 'Scanner' to the global keywords so SConscript
7596 files can use them too.
7598 - Removed the Wrapper class between Nodes and Walkers.
7600 - Add examples using Library, LIBS, and LIBPATH.
7602 - The C Scanner now always returns a sorted list of dependencies
7603 so order changes don't cause unnecessary rebuilds.
7605 - Strip $(-$) bracketed text from command lines. Use this to
7606 surround $_INCDIRS and $_LIBDIRS so we don't rebuild in response
7607 to changes to -I or -L options.
7609 - Add the Ignore() method to ignore dependencies.
7611 - Provide an error message when a nonexistent target is specified
7612 on the command line.
7614 - Remove targets before building them, and add an Environment
7615 Precious() method to override that.
7617 - Eliminate redundant calls to the same builder when the target is a
7618 list of targets: Add a ListBuilder class that wraps Builders to
7619 handle lists atomically. Extend the Task class to support building
7620 and updating multiple targets in a single Task. Simplify the
7621 interface between Task and Taskmaster.
7623 - Add a --debug=pdb option to re-run SCons under the Python debugger.
7625 - Only compute a build signature once for each node.
7627 - Changes to our sys.path[] manipulation to support installation into
7628 an arbitrary --prefix value.
7632 - Add var=value command-line arguments.
7636 RELEASE 0.03 - Fri, 11 Jan 2002 01:09:30 -0600
7640 - Performance improvements in the Node.FS and Sig.Calculator classes.
7642 - Add the InstallAs() method.
7644 - Execute commands through an external interpreter (sh, cmd.exe, or
7645 command.com) to handle redirection metacharacters.
7647 - Allow the user to supply a command handler.
7651 - Search both /usr/lib and /usr/local/lib for scons directories by
7652 adding them both to sys.path, with whichever is in sys.prefix first.
7654 - Fix interpreting strings of multiple white-space separated file names
7655 as separate file names, allowing prefixes and suffixes to be appended
7656 to each individually.
7658 - Refactor to move CompositeBuilder initialization logic from the
7659 factory wrapper to the __init__() method, and allow a Builder to
7660 have both an action and a src_builder (or array of them).
7662 - Refactor BuilderBase.__call__() to separate Node creation/lookup
7663 from initialization of the Node's builder information.
7665 - Add a CFile Builder object that supports turning lex (.l) and
7666 yacc (.y) files into .c files.
7668 - Document: variable interpretation attributes; how to propogate
7669 the user's environment variables to executed commands; how to
7670 build variants in multiple BuildDirs.
7672 - Collect String, Dict, and List type-checking in common utility
7673 routines so we can accept User{String,Dict,List}s all over.
7675 - Put the Action factory and classes into their own module.
7677 - Use one CPlusPlusAction in the Object Builder's action dictionary,
7678 instead of letting it create multiple identical instances.
7680 - Document the Install() and InstallAs() methods.
7684 - Require that a Builder be given a name argument, supplying a
7685 useful error message when it isn't.
7689 - Add a "duplicate" keyword argument to BuildDir() that can be set
7690 to prevent linking/copying source files into build directories.
7692 - Add a "--debug=tree" option to print an ASCII dependency tree.
7694 - Fetch the location of the Microsoft Visual C++ compiler(s) from
7695 the Registry, instead of hard-coding the location.
7697 - Made Scanner objects take Nodes, not path names.
7699 - Have the C Scanner cache the #include file names instead of
7700 (re-)scanning the file each time it's called.
7702 - Created a separate class for parent "nodes" of file system roots,
7703 eliminating the need for separate is-parent-null checks everywhere.
7705 - Removed defined __hash__() and __cmp() methods from FS.Entry, in
7706 favor of Python's more efficient built-in identity comparisons.
7710 RELEASE 0.02 - Sun, 23 Dec 2001 19:05:09 -0600
7714 - Added the Install(), BuildDir(), and Export() methods.
7716 - Fix the -C option by delaying setting the top of the FS tree.
7718 - Avoid putting the directory path on the libraries in the LIBS
7719 construction variable.
7721 - Added a GetBuildPath() method to return the full path to the
7722 Node for a specified string.
7724 - Fixed variable substitution in CPPPATH and LIBPATH.
7728 - Fixed the version comment in the scons.bat (the UNIX geek used
7731 - Fix to setup.py so it doesn't require a sys.argv[1] argument.
7733 - Provide make-like warning message for "command not found" and
7736 - Added an EXAMPLES section to the man page.
7738 - Make Default() targets properly relative to their SConscript
7739 file's subdirectory.
7743 - Documented CXXFLAGS, CXXCOM, and CPPPATH.
7745 - Fixed SCONS_LIB_DIR to work as documented.
7747 - Made Default() accept Nodes as arguments.
7749 - Changed Export() to make it easier to use.
7751 - Added the Import() and Return() methods.
7755 RELEASE 0.01 - Thu Dec 13 19:25:23 CST 2001
7757 A brief overview of important functionality available in release 0.01:
7759 - C and C++ compilation on POSIX and Windows NT.
7761 - Automatic scanning of C/C++ source files for #include dependencies.
7763 - Support for building libraries; setting construction variables
7764 allows creation of shared libraries.
7766 - Library and C preprocessor search paths.
7768 - File changes detected using MD5 signatures.
7770 - User-definable Builder objects for building files.
7772 - User-definable Scanner objects for scanning for dependencies.
7774 - Parallel build (-j) support.
7776 - Dependency cycles detected.
7778 - Linux packages available in RPM and Debian format.
7780 - Windows installer available.