2 # __FILE__ __REVISION__ __DATE__ __DEVELOPER__
5 SCons - a software construction tool
15 - Fix Java parsing to avoid erroneously identifying a new array
16 of class instances as an anonymous inner class.
18 - Fix a typo in the man page description of PathIsDirCreate.
20 - Fix the intelc.py Tool module to not throw an exception if the
21 only installed version is something other than ia32.
25 - Allow Help() to be called multiple times, appending to the help
28 - Allow Tools found on a toolpath to import Python modules from
29 their local directory.
31 - Have the environment store the toolpath and re-use it to find Tools
32 modules during later Copy() or Tool() calls (unless overridden).
34 - Normalize the directory path names in SConsignFile() database
35 files so the same signature file can interoperate on Windows and
38 - Make --debug=stacktrace print a stacktrace when a UserError is thrown.
40 - Remove an old, erroneous cut-and-paste comment in Scanner/Dir.py.
42 From Stanislav Baranov:
44 - Make it possible to support with custom Alias (sub-)classes.
46 - Allow Builders to take empty source lists when called.
48 - Allow access to both TARGET and SOURCE in $*PATH expansions.
50 - Allow SConscript files to modify BUILD_TARGETS.
52 - Add a separate MSVSSolution() Builder, with support for the
53 following new construction variables: $MSVSBUILDCOM, $MSVSCLEANCOM,
54 $MSVSENCODING, $MSVSREBUILDCOM, $MSVSSCONS, $MSVSSCONSCOM,
55 $MSVSSCONSFLAGS, $MSVSSCONSCRIPT and $MSVSSOLUTIONCOM.
59 - Add support for Objective C/C++ .m and .mm file suffixes (for
62 From Steve Christensen:
64 - Handle exceptions from Python functions as build actions.
66 - Add a set of canned PathOption validators: PathExists (the default),
67 PathIsFile, PathIsDir and PathIsDirCreate.
71 - Fix the PharLap linkloc.py module to use target+source arguments
72 when calling env.subst().
76 - Add support for .lex and .yacc file suffixes for Lex and Yacc files.
80 - Fix an incorrect Command() keyword argument in the man page.
82 - Add a $TEMPFILEPREFIX variable to control the prefix or flag used
83 to pass a long-command-line-execution tempfile to a command.
87 - Huge performance improvement: wrap the tuples representing an
88 include path in an object, so that the time it takes to hash the
89 path doesn't grow porportionally to the length of the path.
91 From Gottfried Ganssauge:
93 - Fix SCons on SuSE/AMD-64 Linux by having the wrapper script also
94 check for the build engine in the parent directory of the Python
95 library directory (/usr/lib64 instead of /usr/lib).
97 From Ralph W. Grosse-Kunstleve and Patrick Mezard:
99 - Remove unneceesary (and incorrect) SCons.Util strings on some function
102 From Stephen Kennedy:
104 - Speed up writing the .sconsign file at the end of a run by only
105 calling sync() once at the end, not after every entry.
109 - When compiling with Microsoft Visual Studio, don't include the ATL and
110 MFC directories in the default INCLUDE and LIB environment variables.
112 - Remove the following deprecated features: the ParseConfig()
113 global function (deprecated in 0.93); the misspelled "validater"
114 keyword to the Options.Add() method (deprecated in 0.91); the
115 SetBuildSignatureType(), SetContentSignatureType(), SetJobs() and
116 GetJobs() global functions (deprecated in 0.14).
118 - Fix problems with corrupting the .sconsign.dblite file when
119 interrupting builds by writing to a temporary file and renaming,
120 not writing the file directly.
122 - Fix a 0.96 regression where when running with -k, targets built from
123 walking dependencies later on the command line would not realize
124 that a dependency had failed an earlier build attempt, and would
125 try to rebuild the dependent targets.
127 - Change the final messages when using -k and errors occur from
128 "{building,cleaning} terminated because of errors" to "done
129 {building,cleaning} targets (errors occurred during {build,clean})."
131 - Allow Configure.CheckFunc() to take an optional header argument
132 (already supported by Conftest.py) to specify text at the top of
133 the compiled test file.
135 - Fix the --debug=explain output when a Python function action changed
136 so it prints a meaningful string, not the binary representation of
137 the function contents.
139 - Allow a ListOption's default value(s) to be a Python list of specified
140 values, not just a string containing a comma-separated list of names.
142 - Add a ParseDepends() function that will parse up a list of explicit
143 dependencies from a "make depend" style file.
145 - Support the ability to change directory when executing an Action
146 through "chdir" keyword arguments to Action and Builder creation
149 - Fix handling of Action ojects (and other callables that don't match
150 our calling arguments) in construction variable expansions.
152 - On Win32, install scons.bat in the Python directory when installing
153 from setup.py. (The bdist_wininst installer was already doing this.)
155 - Fix env.SConscript() when called with a list of SConscipt files.
156 (The SConscript() global function already worked properly.)
158 - Add a missing newline to the end of the --debug=explain "unknown
161 - Enhance ParseConfig() to work properly for spaces in between the -I,
162 -L and -l options and their arguments.
164 - Packaging build fix: Rebuild the files that are use to report the
165 --version of SCons whenever the development version number changes.
167 - Fix the ability to specify a target_factory of Dir() to a Builder,
168 which the default create-a-directory Builder was interfering with.
170 - Mark a directory as built if it's created as part of the preparation
171 for another target, to avoid trying to build it again when it comes
172 up in the target list.
174 - Allow a function with the right calling signature to be put directly
175 in an Environment's BUILDERS dictionary, making for easier creation
176 and use of wrappers (pseudo-Builders) that call other Builders.
178 - On Python 2.x, wrap lists of Nodes returned by Builders in a UserList
179 object that adds a method that makes str() object return a string
180 with all of the Nodes expanded to their path names. (Builders under
181 Python 1.5.2 still return lists to avoid TypeErrors when trying
182 to extend() list, so Python 1.5.2 doesn't get pretty-printing of Node
183 lists, but everything should still function.)
185 - Allow Aliases to have actions that will be executed whenever
186 any of the expanded Alias targets are out of date.
188 - Fix expansion of env.Command() overrides within target and
191 - Support easier customization of what's displayed by various default
192 actions by adding lots of new construction variables: $ARCOMSTR,
193 $ASCOMSTR, $ASPPCOMSTR, $BIBTEXCOMSTR, $BITKEEPERCOMSTR, $CCCOMSTR,
194 $CVSCOMSTR, $CXXCOMSTR, $DCOMSTR, $DVIPDFCOMSTR, $F77COMSTR,
195 $F90COMSTR, $F95COMSTR, $FORTRANCOMSTR, $GSCOMSTR, $JARCOMSTR,
196 $JAVACCOMSTR, $JAVAHCOMSTR, $LATEXCOMSTR, $LEXCOMSTR, $LINKCOMSTR,
197 $M4COMSTR, $MIDLCOMSTR, $P4COMSTR, $PCHCOMSTR, $PDFLATEXCOMSTR,
198 $PDFTEXCOMSTR, $PSCOMSTR, $QT_MOCFROMCXXCOMSTR, $QT_MOCFROMHCOMSTR,
199 $QT_UICCOMSTR, $RCCOMSTR, $REGSVRCOMSTR, $RCS_COCOMSTR, $RMICCOMSTR,
200 $SCCSCOMSTR, $SHCCCOMSTR, $SHCXXCOMSTR, $SHF77COMSTR, $SHF90COMSTR,
201 $SHF95COMSTR, $SHFORTRANCOMSTR, $SHLINKCOMSTR, $SWIGCOMSTR,
202 $TARCOMSTR, $TEXCOMSTR, $YACCCOMSTR and $ZIPCOMSTR.
204 - Add an optional "map" keyword argument to ListOption() that takes a
205 dictionary to map user-specified values to legal values from the list
206 (like EnumOption() already doee).
208 - Add specific exceptions to try:-except: blocks without any listed,
209 so that they won't catch and mask keyboard interrupts.
211 - Make --debug={tree,dtree,stree} print something even when there's
214 - Fix how Scanners sort the found dependencies so that it doesn't
215 matter whether the dependency file is in a Repository or not.
216 This may cause recompilations upon upgrade to this version.
218 - Make AlwaysBuild() work with Alias and Python value Nodes (making
219 it much simpler to support aliases like "clean" that just invoke
220 an arbitrary action).
222 - Have env.ParseConfig() use AppendUnique() by default to suppress
223 duplicate entries from multiple calls. Add a "unique" keyword
224 argument to allow the old behavior to be specified.
226 - Allow the library modules imported by an SConscript file to get at
227 all of the normally-available global functions and variables by saying
228 "from SCons.Script import *".
230 - Add a --debug=memoizer option to print Memoizer hit/mass statistics.
232 - Allow more than one --debug= option to be set at a time.
234 - Change --debug=count to report object counts before and after
235 reading SConscript files and before and after building targets.
237 - Change --debug=memory output to line up the numbers and to better
238 match (more or less) the headers on the --debug=count columns.
240 - Speed things up when there are lists of targets and/or sources by
241 getting rid of some N^2 walks of the lists involved.
243 - Cache evaluation of LazyActions so we don't create a new object
246 - When scanning, don't create Nodes for include files that don't
247 actually exist on disk.
249 - Make supported global variables CScanner, DScanner, ProgramScanner and
250 SourceFileScanner. Make SourceFileScanner.add_scanner() a supported
251 part of the public interface. Keep the old SCons.Defaults.*Scan names
252 around for a while longer since some people were already using them.
254 - By default, don't scan directories for on-disk files. Add a
255 DirScanner global scanner that can be used in Builders or Command()
256 calls that want source directory trees scanned for on-disk changes.
257 Have the Tar() and Zip() Builders use the new DirScanner to preserve
258 the behavior of rebuilding a .tar or .zip file if any file or
259 directory under a source tree changes. Add Command() support for
260 a source_scanner keyword argument to Command() that can be set to
261 DirScanner to get this behavior.
263 - Documentation changes: Explain that $CXXFLAGS contains $CCFLAGS
264 by default. Fix a bad target_factory example in the man page.
265 Add appendices to the User's Guide to cover the available Tools,
266 Builders and construction variables. Comment out the build of
267 the old Python 10 paper, which doesn't build on all systems and
268 is old enough at this point that it probably isn't worth the
269 effort to make it do so.
271 - Enhanced the SCons setup.py script to install man pages on
274 - Add support for an Options.FormatOptionHelpText() method that can
275 be overridden to customize the format of Options help text.
277 - Add a global name for the Entry class (which had already been
280 - Fix re-scanning of generated source files for implicit dependencies
281 when the -j option is used.
283 - Fix a dependency problem that caused $LIBS scans to not be added
284 to all of the targets in a multiple-target builder call, which
285 could cause out-of-order builds when the -j option is used.
287 - Store the paths of source files and dependencies in the .sconsign*
288 file(s) relative to the target's directory, not relative to the
289 top-level SConstruct directory. This starts to make it possible to
290 subdivide the dependency tree arbitrarily by putting an SConstruct
291 file in every directory and using content signatures.
293 - Add support for $YACCHFILESUFFIX and $YACCHXXFILESUFFIX variables
294 that accomodate parser generators that write header files to a
295 different suffix than the hard-coded .hpp when the -d option is used.
297 - The default behavior is now to store signature information in a
298 single .sconsign.dblite file in the top-level SConstruct directory.
299 The old behavior of a separate .sconsign file in each directory can
300 be specified by calling SConsignFile(None).
302 - Remove line number byte codes within the signature calculation
303 of Python function actions, so that changing the location of an
304 otherwise unmodified Python function doesn't cause rebuilds.
306 - Fix AddPreAction() and AddPostAction() when an action has more than
307 one target file: attach the actions to the Executor, not the Node.
309 - Allow the source directory of a BuildDir / build_dir to be outside
310 of the top-level SConstruct directory tree.
312 - Add a --debug=nomemoizer option that disables the Memoizer for clearer
313 looks at the counts and profiles of the underlying function calls,
314 not the Memoizer wrappers.
316 - Print various --debug= stats even if we exit early (e.g. using -h).
318 - Really only use the cached content signature value if the file
319 is older than --max-drift, not just if --max-drift is set.
321 - Remove support for conversion from old (pre 0.96) .sconsign formats.
323 - Add support for a --diskcheck option to enable or disable various
324 on-disk checks: that File and Dir nodes match on-disk entries;
325 whether an RCS file exists for a missing source file; whether an
326 SCCS file exists for a missing source file.
328 - Add a --raw argument to the sconsign script, so it can print a
329 raw representation of each entry's NodeInfo dictionary.
331 - Add the 'f90' and 'f95' tools to the list of Fortran compilers
332 searched for by default.
334 - Add the +Z option by default when compiling shared objects on
337 - Check for whether files exist on disk by listing the directory
338 contents, not calling os.path.exists() file by file. This is
339 somewhat more efficient in general, and may be significantly
340 more efficient on Windows.
342 - Minor speedups in the internal is_Dict(), is_List() and is_String()
345 - Fix a signature refactoring bug that caused Qt header files to
346 get re-generated every time.
348 - Don't fail when writing signatures if the .sconsign.dblite file is
349 owned by a different user (e.g. root) from a previous run.
351 - When deleting variables from stacked OverrideEnvironments, don't
352 throw a KeyError if we were able to delte the variable from any
353 Environment in the stack.
355 - Get rid of the last indentation tabs in the SCons source files and
356 add -tt to the Python invocations in the packaging build and the
357 tests so they don't creep back in.
359 - In Visual Studio project files, put quotes around the -C directory
360 so everything works even if the path has spaces in it.
362 - The Intel Fortran compiler uses -object:$TARGET, not "-o $TARGET",
363 when building object files on Windows. Have the the ifort Tool
364 modify the default command lines appropriately.
368 - Handle Visual Studio project and solution files in Unicode.
372 - Avoid "maximum recursion limit" errors when removing $(-$) pairs
373 from long command lines.
377 - Make ParseConfig() recognize and add -mno-cygwin to $LINKFLAGS and
378 $CCFLAGS, and -mwindows to $LINKFLAGS.
382 - Fix a bad use of Copy() in an example in the man page, and a
383 bad regular expression example in the man page and User's Guide.
387 - Have the Visual Studio project file(s) echo "Starting SCons" before
388 executing SCons, mainly to work around a quote-stripping bug in
389 (some versions of?) the Windows cmd command executor.
391 From Michael McCracken:
393 - Add a new "applelink" tool to handle the things like Frameworks and
394 bundles that Apple has added to gcc for linking.
396 - Use more appropriate default search lists of linkers, compilers and
397 and other tools for the 'darwin' platform.
399 - Add a LoadableModule Builder that builds a bundle on Mac OS X (Darwin)
400 and a shared library on other systems.
402 - Improve SWIG tests for use on Mac OS X (Darwin).
406 - Execute build commands for a command-line target if any of the
407 files built along with the target is out of date or non-existent,
408 not just if the command-line target itself is out of date.
410 - Fix the -n option when used with -c to print all of the targets
411 that will be removed for a multi-target Builder call.
413 - If there's no file in the source directory, make sure there isn't
414 one in the build directory, too, to avoid dangling files left
415 over from previous runs when a source file is removed.
419 - Remove the space after the -o option when invoking the Borland
420 BCC compiler; some versions apparently require that the file name
421 argument be concatenated with the option.
425 - Enhance the tests to guarantee persistence of ListOption
426 values in saved options files.
428 - Supply the help text when -h is used with the -u, -U or -D options.
430 From Leanid Nazdrynau:
432 - Fix the Java parser's handling of backslashes in strings.
434 - Fix the Qt UIC scanner to work with generated .ui files (by using
435 the FindFile() function instead of checking by-hand for the file).
439 - Fix the Java parser's handling of string definitions to avoid ignoring
442 From Han-Wen Nienhuys:
444 - Optimize variable expansion by: using the re.sub() method (when
445 possible); not using "eval" for variables for which we can fetch the
446 value directory; avoiding slowing substitution logic when there's no
451 - Add construction variables to support frameworks on Mac OS X:
452 $FRAMEWORKS, $FRAMEWORKPREFIX, $FRAMEWORKPATH, $FRAMEWORKPATHPREFIX.
454 - Re-order link lines so the -o option always comes right after the
457 - Add /sw/bin to the default execution PATH on Mac OS X.
459 From Gary Oberbrunner:
461 - Add an Environment.Dump() method to print the contents of a
462 construction environment.
464 - Allow $LIBS (and similar variables) to contain explicit File Nodes.
466 - Change ParseConfig to add the found library names directly to the
467 $LIBS variable, instead of returning them.
469 - Add ParseConfig() support for the -framework GNU linker option.
471 - Add a PRINT_CMD_LINE_FUNC construction variable to allow people
472 to filter (or log) command-line output.
474 - Print an internal Python stack trace in response to an otherwise
475 unexplained error when --debug=stacktrace is specified.
477 - Add a --debug=findlibs option to print what's happening when
478 the scanner is searching for libraries.
480 - Allow Tool specifications to be passed a dictionary of keyword
483 - Support an Options default value of None, in which case the variable
484 will not be added to the construction environment unless it's set
485 explicitly by the user or from an Options file.
487 - Avoid copying __builtin__ values into a construction environment's
488 dictionary when evaluating construction variables.
490 - Add a new cross-platform intelc.py Tool that can detect and
491 configure the Intel C++ v8 compiler on both Windows, where it's
492 named icl, and Linux, where it's named icc. It also checks that
493 the directory specified in the Windows registry exists, and sets a
494 new $INTEL_C_COMPILER_VERSION construction variable to identify the
495 version being used. (Niall Douglas contributed an early prototype
496 of parts of this module.)
498 - Fix the private Conftest._Have() function so it doesn't change
499 non-alphanumeric characters to underscores.
501 - Supply a better error message when a construction variable expansion
502 has an unknown attribute.
504 - Documentation changes: Update the man page to describe use of
505 filenames or Nodes in $LIBS.
507 - Add support for Intel C++ beta 9.0 (both 32 and 64 bit versions).
509 - Document the new $FRAMEWORK* variables for Mac OS X.
513 - When building a .jar file and there is a $JARCHDIR, put the -C
514 in front of each .class file on the command line.
518 - Have the linkloc tool use $MSVS_VERSION to select the Microsoft
519 Visual Studio version to use.
523 - Add $RPATH (-R) support to the Sun linker Tool (sunlink).
525 - Add a description of env.subst() to the man page.
529 - Look in the right directory, not always the local directory, for a
530 same-named file or directory conflict on disk.
532 - On Windows, preserve the external environment's %SYSTEMDRIVE%
535 From Asfand Yar Qazi:
537 - Add /opt/bin to the default execution PATH on all POSIX platforms
538 (between /usr/local/bin and /bin).
542 - Fix the Builder name returned from ListBuilders and other instances
543 of subclasses of the BuilderBase class.
545 - Add Builders and construction variables to support rpcgen:
546 RPCGenClient(), RPCGenHeader(), RPCGenService(), RPCGenXDR(),
547 $RPCGEN, $RPCGENFLAGS, $RPCGENCLIENTFLAGS, $RPCGENHEADERFLAGS,
548 $RPCGENSERVICEFLAGS, $RPCGENXDRFLAGS.
550 - Update the man page to document that prefix and suffix Builder
551 keyword arguments can be strings, callables or dictionaries.
553 - Provide more info in the error message when a user tries to build
554 a target multiple ways.
556 - Fix Delete() when a file doesn't exist and must_exist=1. (We were
557 unintentionally dependent on a bug in versions of the Python shutil.py
558 module prior to Python 2.3, which would generate an exception for
559 a nonexistent file even when ignore_errors was set.)
561 - Only replace a Node's builder with a non-null source builder.
563 - Fix a stack trace when a suffix selection dictionary is passed
564 an empty source file list.
566 - Allow optional names to be attached to Builders, for default
567 Builders that don't get attached to construction environments.
569 - Fix problems with Parallel Task Exception handling.
571 - Build targets in an associated BuildDir even if there are targets
572 or subdirectories locally in the source directory.
574 - If a FunctionAction has a callable class as its underlying Python
575 function, use its strfunction() method (if any) to display the
578 - Fix handling when BuildDir() exists but is unwriteable. Add
579 "Stop." to those error messages for consistency.
581 - Catch incidents of bad builder creation (without an action) and
582 supply meaningful error messages.
584 - Fix handling of src_suffix values that aren't extensions (don't
587 - Don't retrieve files from a CacheDir, but report what would happen,
588 when the -n option is used.
590 - Use the source_scanner from the target Node, not the source node
593 - Internal Scanners fixes: Make sure Scanners are only passed Nodes.
594 Fix how a Scanner.Selector called its base class initialization.
595 Make comparisons of Scanner objects more robust. Add a name to
596 an internal default ObjSourceScanner.
598 - Add a deprecated warning for use of the old "scanner" keyword argument
601 - Improve the --debug=explain message when the build action changes.
603 - Test enhancements in SourceCode.py, option-n.py, midl.py. Better
604 Command() and Scanner test coverage. Improved test infrastructure
607 - Refactor the interface between Action and Executor objects to treat
610 - The --debug=presub option will now report the pre-substitution
611 each action seprately, instead of reporting the entire list before
612 executing the actions one by one.
614 - The --debug=explain option explaining a changed action will now
615 (more correctly) show pre-substitution action strings, instead of
616 the commands with substituted file names.
618 - A Node (file) will now be rebuilt if its PreAction or PostAction
621 - Python Function actions now have their calling signature (target,
622 source, env) reported correctly when displayed.
624 - Fix BuildDir()/build_dir handling when the build_dir is underneath
625 the source directory and trying to use entries from the build_dir
626 as sources for other targets in the build-dir.
628 - Fix hard-coding of JDK path names in various Java tests.
630 - Handle Python stack traces consistently (stop at the SConscript stack
631 frame, by default) even if the Python source code isn't available.
633 - Improve the performance of the --debug={tree,dtree} options.
635 - Add --debug=objects logging of creation of OverrideWarner,
636 EnvironmentCopy and EnvironmentOverride objects.
638 - Fix command-line expansion of Python Value Nodes.
640 - Internal cleanups: Remove an unnecessary scan argument. Associate
641 Scanners only with Builders, not nodes. Apply overrides once when
642 a Builder is called, not in multiple places. Cache results from the
643 Node.FS.get_suffix() and Node.get_build_env() methods. Use the Python
644 md5 modules' hexdigest() method, if there is one. Have Taskmaster
645 call get_stat() once for each Node and re-use the value instead of
646 calling it each time it needs the value. Have Node.depends_on()
647 re-use the list from the children() method instead of calling it
650 - Use the correct scanner if the same source file is used for targets in
651 two different environments with the same path but different scanners.
653 - Collect logic for caching values in memory in a Memoizer class,
654 which cleans up a lot of special-case code in various methods and
655 caches additional values to speed up most configurations.
657 - Add a PathAccept validator to the list of new canned PathOption
660 From Christoph Schulz:
662 - Add support for $CONFIGUREDIR and $CONFIGURELOG variables to control
663 the directory and logs for configuration tests.
667 - Have the Fortran module emitter look for Fortan modules to be created
668 relative to $FORTRANMODDIR, not the top-level directory.
670 - When saving Options to a file, run default values through the
671 converter before comparing them with the set values. This correctly
672 suppresses Boolean Option values from getting written to the saved
673 file when they're one of the many synonyms for a default True or
676 - Fix the Fortran Scanner's ability to handle a module being used
677 in the same file in which it is defined.
681 - Documentation changes: Use $CPPDEFINES instead of $CCFLAGS in man
686 - Allow $JARCHDIR to be expanded to other construction variables.
690 - Add the -KPIC option by default when compiling shared objects on
693 - Change the default suffix for Solaris objects to .o, to conform to
694 Sun WorkShop's expectations. Change the profix to so_ so they can
695 still be differentiated from static objects in the same directory.
699 - When calling the resource compiler on MinGW, add --include-dir and
700 the source directory so it finds the source file.
702 - Update EnsureSConsVersion() to support revision numbers.
706 - Fix a misplaced line in the man page.
708 From Christoph Wiedemann:
710 - Add an Environment.SetDefault() method that only sets values if
711 they aren't already set.
713 - Have the qt.py Tool not override variables already set by the user.
715 - Add separate $QT_BINPATH, $QT_CPPPATH and $QT_LIBPATH variables
716 so these can be set individually, instead of being hard-wired
719 - The %TEMP% and %TMP% external environment variables are now propagated
720 automatically to the command execution environment on Windows systems.
722 - A new --config= command-line option allows explicit control of
723 of when the Configure() tests are run: --config=force forces all
724 checks to be run, --config=cache uses all previously cached values,
725 --config=auto (the default) runs tests only when dependency analysis
726 determines it's necessary.
728 - The Configure() subsystem can now write a config.h file with values
729 like HAVE_STDIO_H, HAVE_LIBM, etc.
731 - The Configure() subsystem now executes its checks silently when the
732 -Q option is specified.
734 - The Configure() subsystem now reports if a test result is being
735 taken from cache, and prints the standard output and error output
736 of tests even when cached.
738 - Configure() test results are now reported as "yes" or "no" instead of
741 - Fixed traceback printing when calling the env.Configure() method
742 instead of the Configure() global function.
744 - The Configure() subsystem now caches build failures in a .sconsign
745 file in the subdirectory, not a .cache file. This may cause
746 tests to be re-executed the first time after you install 0.97.
748 - Additional significant internal cleanups in the Configure() subsystem
751 - Have the Qt Builder make uic-generated files dependent on the .ui.h
754 - Add a test to make sure that SCons source code does not contain
755 try:-except: blocks that catch all errors, which potentially catch
756 and mask keyboard interrupts.
758 - Fix us of TargetSignatures('content') with the SConf subsystem.
760 From Russell Yanofsky:
762 - Add support for the Metrowerks Codewarrior compiler and linker
771 - Handle white space in the executable Python path name within in MSVS
772 project files by quoting the path.
774 - Correct the format of a GUID string in a solution (.dsw) file so
775 MSVS can correctly "build enable" a project.
779 - Add a must_exist flag to Delete() to let the user control whether
780 it's an error if the specified entry doesn't exist. The default
781 behavior is now to silently do nothing if it doesn't exist.
783 - Package up the new Platform/darwin.py, mistakenly left out of 0.96.
785 - Make the scons.bat REM statements into @REM so they aren't printed.
787 - Make the SCons packaging SConscript files platform independent.
791 - Fix scanning of pre-compiled header (.pch) files for #includes,
796 RELEASE 0.96 - Wed, 18 Aug 2004 13:36:40 +0000
800 - Make the CacheDir() directory if it doesn't already exist.
802 - Allow construction variable substitutions in $LIBS specifications.
804 - Allow the emitter argument to a Builder() to be or expand to a list
805 of emitter functions, which will be called in sequence.
807 - Suppress null values in construction variables like $LIBS that use
808 the internal _concat() function.
810 - Remove .dll files from the construction variables searched for
811 libraries that can be fed to Win32 compilers.
813 From Chad Austin and Christoph Wiedemann:
815 - Add support for a $RPATH variable to supply a list of directories
816 to search for shared libraries when linking a program. Used by
817 the GNU and IRIX linkers (gnulink and sgilink).
821 - Restore the ability to do construction variable substitutions in all
822 kinds of *PATH variables, even when the substitution returns a Node
827 - Allow the Java() Builder to take more than one source directory.
829 From Ralf W. Grosse-Kunstleve:
831 - Have SConsignFile() use, by default, a custom "dblite.py" that we can
832 control and guarantee to work on all Python versions (or nearly so).
834 From Jonathan Gurley:
836 - Add support for the newer "ifort" versions of the Intel Fortran
841 - Make the new *FLAGS variable type work with copied Environments.
845 - Initialize the name of a Scanner.Classic scanner correctly.
849 - Add support for the .dylib shared library suffix and the -dynamiclib
850 linker option on Mac OS X.
854 - Add an Execute() method for executing actions directly.
856 - Support passing environment override keyword arguments to Command().
858 - Fix use of $MSVS_IGNORE_IDE_PATHS, which was broken when we added
859 support for $MSVS_USE_MFC_DIRS last release.
861 - Make env.Append() and env.Prepend() act like the underlying Python
862 behavior when the variable being appended to is a UserList object.
864 - Fix a regression that prevented the Command() global function in
865 0.95 from working with command-line strings as actions.
867 - Fix checking out a file from a source code management system when
868 the env.SourceCode() method was called with an individual file name
869 or node, not a directory name or node.
871 - Enhance the Task.make_ready() method to create a list of the
872 out-of-date Nodes for the task for use by the wrapping interface.
874 - Allow Scanners to pull the list of suffixes from the construction
875 environment when the "skeys" keyword argument is a string containing
876 a construction variable to be expanded.
878 - Support new $CPPSUFFIXES, $DSUFFIXES $FORTRANSUFFIXES, and
879 $IDLSUFFIXES. construction variables that contain the default list
880 of suffixes to be scanned by a given type of scanner, allowing these
881 suffix lists to be easily added to or overridden.
883 - Speed up Node creation when calling a Builder by comparing whether two
884 Environments are the same object, not if their underlying dictionaries
887 - Add a --debug=explain option that reports the reason(s) why SCons
888 thinks it must rebuild something.
890 - Add support for functions that return platform-independent Actions
891 to Chmod(), Copy(), Delete(), Mkdir(), Move() and Touch() files
892 and/or directories. Like any other Actions, the returned Action
893 object may be executed directly using the Execute() global function
894 or env.Execute() environment method, or may be used as a Builder
895 action or in an env.Command() action list.
897 - Add support for the strfunction argument to all types of Actions:
898 CommandAction, ListAction, and CommandGeneratorAction.
900 - Speed up turning file system Nodes into strings by caching the
901 values after we're finished reading the SConscript files.
903 - Have ParseConfig() recognize and supporting adding the -Wa, -Wl,
904 and -Wp, flags to ASFLAGS, LINKFLAGS and CPPFLAGS, respectively.
906 - Change the .sconsign format and the checks for whether a Node is
907 up-to-date to make dependency checks more efficient and correct.
909 - Add wrapper Actions to SCons.Defaults for $ASCOM, $ASPPCOM, $LINKCOM,
910 $SHLINKCOM, $ARCOM, $LEXCOM and $YACCCOM. This makes it possible
911 to replace the default print behavior with a custom strfunction()
914 - When a Node has been built, don't walk the whole tree back to delete
915 the parents's implicit dependencies, let returning up the normal
916 Taskmaster descent take care of it for us.
918 - Add documented support for separate target_scanner and source_scanner
919 arguments to Builder creation, which allows different scanners to
920 be applied to source files
922 - Don't re-install or (re-generate) .h files when a subsidiary #included
923 .h file changes. This eliminates incorrect circular dependencies
924 with .h files generated from other source files.
926 - Slim down the internal Sig.Calculator class by eliminating methods
927 whose functionality is now covered by Node methods.
929 - Document use of the target_factory and source_factory keyword
930 arguments when creating Builder objects. Enhance Dir Nodes so that
931 they can be created with user-specified Builder objects.
933 - Don't blow up with stack trace when the external $PATH environment
936 - Make Builder calls return lists all the time, even if there's only
937 one target. This keeps things consistent and easier to program to
940 - Add a Flatten() function to make it easier to deal with the Builders
941 all returning lists of targets, not individual targets.
943 - Performance optimizations in Node.FS.__doLookup().
945 - Man page fixes: formatting typos, misspellings, bad example.
947 - User's Guide fixes: Fix the signatures of the various example
948 *Options() calls. Triple-quote properly a multi-line Split example.
950 - User's Guide additions: Chapter describing File and Directory
951 Nodes. Section describing declarative nature of SCons functions in
952 SConscript files. Better organization and clarification of points
953 raised by Robert P. J. Day. Chapter describing SConf (Autoconf-like)
954 functionality. Chapter describing how to install Python and
955 SCons. Chapter describing Java builds.
959 - Add a .win32 attribute to force file names to expand with
960 Windows backslash path separators.
962 - Fix escaping file names on command lines when the expansion is
963 concatenated with another string.
965 - Add support for Fortran 90 and Fortran 95. This adds $FORTRAN*
966 variables that specify a default compiler, command-line, flags,
967 etc. for all Fortran versions, plus separate $F90* and $F95*
968 variables for when different compilers/flags/etc. must be specified
969 for different Fortran versions.
971 - Have individual tools that create libraries override the default
972 $LIBPREFIX and $LIBSUFFIX values set by the platform. This makes
973 it easier to use Microsoft Visual Studio tools on a CygWin platform.
975 From Gary Oberbrunner:
977 - Add a --debug=presub option to print actions prior to substitution.
979 - Add a warning upon use of the override keywords "targets" and
980 "sources" when calling Builders. These are usually mistakes which
981 are otherwise silently (and confusingly) turned into construction
984 - Try to find the ICL license file path name in the external environment
985 and the registry before resorting to the hard-coded path name.
987 - Add support for fetching command-line keyword=value arguments in
988 order from an ARGLIST list.
990 - Avoid stack traces when trying to read dangling symlinks.
992 - Treat file "extensions" that only contain digits as part of the
993 file basename. This supports version numbers as part of shared
994 library names, for example.
996 - Avoid problems when there are null entries (None or '') in tool
999 - Add an example and explanation of how to use "tools = ['default', ..."
1000 when creating a construction environment.
1002 - Add a section describing File and Directory Nodes and some of their
1003 attributes and methods.
1005 - Have ParseConfig() add a returned -pthread flag to both $CCFLAGS
1008 - Fix some test portability issues on Mac OS X (darwin).
1012 - Fix a bug introduced in building shared libraries under MinGW.
1016 - Handling SCons exceptions according to Pythonic standards.
1018 - Fix test/chained-build.py on systems that execute within one second.
1020 - Fix tests on systems where 'ar' warns about archive creation.
1024 - Fix use of the --implicit-cache option with timestamp signatures.
1026 - If Visual Studio is installed, assume the C/C++ compiler, the linker
1027 and the MIDL compiler that comes with it are available, too.
1029 - Better error messages when evaluating a construction variable
1030 expansion yields a Python syntax error.
1032 - Change the generation of PDB files when using Visual Studio from
1033 compile time to link time.
1037 - Allow SConf.CheckLib() to search a list of libraries, like the
1038 Autoconf AC_SEARCH_LIBS macro.
1040 - Allow the env.WhereIs() method to take a "reject" argument to
1041 let it weed out specific path names.
1043 From Christoph Wiedemann:
1045 - Add new Moc() and Uic() Builders for more explicit control over
1046 Qt builds, plus new construction variables to control them:
1047 $QT_AUTOSCAN, $QT_DEBUG, $QT_MOCCXXPREFIX, $QT_MOCCXXSUFFIX,
1048 $QT_MOCHPREFIX, $QT_MOCHSUFFIX, $QT_UICDECLPREFIX, $QT_UICDECLSUFFIX,
1049 $QT_UICIMPLPREFIX, $QT_UICIMPLSUFFIX and $QT_UISUFFIX.
1051 - Add a new single_source keyword argument for Builders that enforces
1052 a single source file on calls to the Builder.
1056 RELEASE 0.95 - Mon, 08 Mar 2004 06:43:20 -0600
1060 - Replace print statements with calls to sys.stdout.write() so output
1061 lines stay together when -j is used.
1063 - Add portability fixes for a number of tests.
1065 - Accomodate the fact that Cygwin's os.path.normcase() lies about
1066 the underlying system being case-sensitive.
1068 - Fix an incorrect _concat() call in the $RCINCFLAGS definition for
1071 - Fix a problem with the msvc tool with Python versions prior to 2.3.
1073 - Add support for a "toolpath" Tool() and Environment keyword that
1074 allows Tool modules to be found in specified local directories.
1076 - Work around Cygwin Python's silly fiction that it's using a
1077 case-sensitive file system.
1079 - More robust handling of data in VCComponents.dat.
1081 - If the "env" command is available, spawn commands with the more
1082 general "env -" instead of "env -i".
1084 From Kerim Borchaev:
1086 - Fix a typo in a msvc.py's registry lookup: "VCComponents.dat", not
1089 From Chris Burghart:
1091 - Fix the ability to save/restore a PackageOption to a file.
1093 From Steve Christensen:
1095 - Update the MSVS .NET and MSVC 6.0/7.0 path detection.
1097 From David M. Cooke:
1099 - Make the Fortran scanner case-insensitive for the INCLUDE string.
1103 - If no version of MSVC is detected but the tool is specified,
1104 use the MSVC 6.0 paths by default.
1106 - Ignore any "6.1" version of MSVC found in the registry; this is a
1107 phony version number (created by later service packs?) and would
1108 throw off the logic if the user had any non-default paths configure.
1110 - Correctly detect if the user has independently configured the MSVC
1111 "include," "lib" or "path" in the registry and use the appropriate
1112 values. Previously, SCons would only use the values if all three
1113 were set in the registry.
1115 - Make sure side-effect nodes are prepare()d before building their
1116 corresponding target.
1118 - Preserve the ability to call BuildDir() multiple times with the
1119 same target and source directory arguments.
1123 - Add support for the Digital Mars "D" programming language.
1125 From Scott Lystig Fritchie:
1127 - Fix the ability to use a custom _concat() function in the
1128 construction environment when calling _stripixes().
1130 - Make the message about ignoring a missing SConscript file into a
1131 suppressable Warning, not a hard-coded sys.stderr.write().
1133 - If a builder can be called multiple times for a target (because
1134 the sources and overrides are identical, or it's a builder with the
1135 "multi" flag set), allow the builder to be called through multiple
1136 environments so long as the builders have the same signature for
1137 the environments in questions (that is, they're the same action).
1141 - When multiple targets are built by a single action, retrieve all
1142 of them from cache, not just the first target, and exec the build
1143 command if any of the targets isn't present in the cache.
1145 From Zephaniah Hull:
1147 - Fix command-line ARGUMENTS with multiple = in them.
1151 - Fix EnsureSConsVersion() so it checks against the SCons version,
1152 not the Python version, on Pythons with sys.version_info.
1154 - Don't swallow the AttributeError when someone uses an expansion like
1155 $TARGET.bak, so we can supply a more informative error message.
1157 - Fix an odd double-quote escape sequence in the man page.
1159 - Fix looking up a naked drive letter as a directory (Dir('C:')).
1161 - Support using File nodes in the LIBS construction variable.
1163 - Allow the LIBS construction variable to be a single string or File
1164 node, not a list, when only one library is needed.
1166 - Fix typos in the man page: JAVACHDIR => JARCHDIR; add "for_signature"
1167 to the __call__() example in the "Variable Substitution" section.
1169 - Correct error message spellings of "non-existant" to "non-existent."
1171 - When scanning for libraries to link with, don't append $LIBPREFIXES
1172 or $LIBSUFFIXES values to the $LIBS values if they're already present.
1174 - Add a ZIPCOMPRESSION construction variable to control whether the
1175 internal Python action for the Zip Builder compresses the file or
1176 not. The default value is zipfile.ZIP_DEFLATED, which generates
1179 - Refactor construction variable expansion to support recursive
1180 expansion of variables (e.g. CCFLAGS = "$CCFLAGS -g") without going
1181 into an infinite loop. Support this in all construction variable
1182 overrides, as well as when copying Environments.
1184 - Fix calling Configure() from more than one subsidiary SConscript file.
1186 - Fix the env.Action() method so it returns the correct type of
1187 Action for its argument(s).
1189 - Fix specifying .class files as input to JavaH with the .class suffix
1190 when they weren't generated using the Java Builder.
1192 - Make the check for whether all of the objects going into a
1193 SharedLibrary() are shared work even if the object was built in a
1196 - Supply meaningful error messages, not stack traces, if we try to add
1197 a non-Node as a source, dependency, or ignored dependency of a Node.
1199 - Generate MSVS Project files that re-invoke SCons properly regardless
1200 of whether the file was built via scons.bat or scons.py.
1201 (Thanks to Niall Douglas for contributing code and testing.)
1203 - Fix TestCmd.py, runtest.py and specific tests to accomodate being
1204 run from directories whose paths include white space.
1206 - Provide a more useful error message if a construction variable
1207 expansion contains a syntax error during evaluation.
1209 - Fix transparent checkout of implicit dependency files from SCCS
1212 - Added new --debug=count, --debug=memory and --debug=objects options.
1213 --debug=count and --debug=objects only print anything when run
1214 under Python 2.1 or later.
1216 - Deprecate the "overrides" keyword argument to Builder() creation
1217 in favor of using keyword argument values directly (like we do
1218 for builder execution and the like).
1220 - Always use the Builder overrides in substitutions, not just if
1221 there isn't a target-specific environment.
1223 - Add new "rsrcpath" and "rsrcdir" and attributes to $TARGET/$SOURCE,
1224 so Builder command lines can find things in Repository source
1225 directories when using BuildDir.
1227 - Fix the M4 Builder so that it chdirs to the Repository directory
1228 when the input file is in the source directory of a BuildDir.
1230 - Save memory at build time by allowing Nodes to delete their build
1231 environments after they've been built.
1233 - Add AppendUnique() and PrependUnique() Environment methods, which
1234 add values to construction variables like Append() and Prepend()
1235 do, but suppress any duplicate elements in the list.
1237 - Allow the 'qt' tool to still be used successfully from a copied
1238 Environment. The include and library directories previously ended up
1239 having the same string re-appended to the end, yielding an incorrect
1242 - Supply a more descriptive error message when the source for a target
1245 - Initialize all *FLAGS variables with objects do the right thing with
1246 appending flags as strings or lists.
1248 - Make things like ${TARGET.dir} work in *PATH construction variables.
1250 - Allow a $MSVS_USE_MFC_DIRS construction variable to control whether
1251 ATL and MFC directories are included in the default INCLUDE and
1254 - Document the dbm_module argument to the SConsignFile() function.
1258 - Add support for the bcc32, ilink32 and tlib Borland tools.
1262 - Supply an error message if the user tries to configure a BuildDir
1263 for a directory that already has one.
1265 - Remove documentation of the still-unimplemented -e option.
1267 - Add -H help text listing the legal --debug values.
1269 - Don't choke if a construction variable is a non-string value.
1271 - Build Type Libraries in the target directory, not the source
1274 - Add an appendix to the User's Guide showing how to accomplish
1275 various common tasks in Python.
1279 - Add support for Microsoft Visual Studio 2003 (version 7.1).
1281 - Evaluate $MSVSPROJECTSUFFIX and $MSVSSOLUTIONSUFFIX when the Builder
1282 is invoked, not when the tool is initialized.
1284 From Christoph Wiedemann:
1286 - When compiling Qt, make sure the moc_*.cc files are compiled using
1287 the flags from the environment used to specify the target, not
1288 the environment that first has the Qt Builders attached.
1292 RELEASE 0.94 - Fri, 07 Nov 2003 05:29:48 -0600
1294 From Hartmut Goebel:
1296 - Add several new types of canned functions to help create options:
1297 BoolOption(), EnumOption(), ListOption(), PackageOption(),
1302 - Fix use of CPPDEFINES with C++ source files.
1304 - Fix env.Append() when the operand is an object with a __cmp__()
1305 method (like a Scanner instance).
1307 - Fix subclassing the Environment and Scanner classes.
1309 - Add BUILD_TARGETS, COMMAND_LINE_TARGETS and DEFAULT_TARGETS variables.
1313 - SGI fixes: Fix C++ compilation, add a separate Tool/sgic++.py module.
1315 From Gary Oberbrunner:
1317 - Fix how the man page un-indents after examples in some browsers.
1321 - Fix the C and C++ tool specifications for AIX.
1325 RELEASE 0.93 - Thu, 23 Oct 2003 07:26:55 -0500
1329 - On POSIX, execute commands with the more modern os.spawnvpe()
1330 function, if it's available.
1332 - Scan .S, .spp and .SPP files for C preprocessor dependencies.
1334 - Refactor the Job.Parallel() class to use a thread pool without a
1335 condition variable. This improves parallel build performance and
1336 handles keyboard interrupts properly when -j is used.
1340 - Add support for a JARCHDIR variable to control changing to a
1341 directory using the jar -C option.
1343 - Add support for detecting Java manifest files when using jar,
1344 and specifying them using the jar m flag.
1346 - Fix some Python 2.2 specific things in various tool modules.
1348 - Support directories as build sources, so that a rebuild of a target
1349 can be triggered if anything underneath the directory changes.
1351 - Have the scons.bat and scons.py files look for the SCons modules
1352 in site-packages as well.
1354 From Christian Engel:
1356 - Support more flexible inclusion of separate C and C++ compilers.
1358 - Use package management tools on AIX and Solaris to find where
1359 the comilers are installed, and what version they are.
1361 - Add support for CCVERSION and CXXVERSION variables for a number
1362 of C and C++ compilers.
1366 - Add test cases for the new capabilities to run bibtex and to rerun
1369 From Ralf W. Grosse-Kunstleve:
1371 - Accomodate anydbm modules that don't have a sync() method.
1373 - Allow SConsignFile() to take an argument specifying the DBM
1376 From Stephen Kennedy:
1378 - Add support for a configurable global .sconsign.dbm file which
1379 can be used to avoid cluttering each directory with an individual
1384 - Fix (re-)scanning of dependencies in generated or installed
1389 - The -Q option suppressed too many messages; fix it so that it only
1390 suppresses the Reading/Building messages.
1392 - Support #include when there's no space before the opening quote
1395 - Accomodate alphanumeric version strings in EnsurePythonVersion().
1397 - Support arbitrary expansion of construction variables within
1398 file and directory arguments to Builder calls and Environment methods.
1400 - Add Environment-method versions of the following global functions:
1401 Action(), AddPostAction(), AddPreAction(), Alias(), Builder(),
1402 BuildDir(), CacheDir(), Clean(), Configure(), Default(),
1403 EnsurePythonVersion(), EnsureSConsVersion(), Environment(),
1404 Exit(), Export(), FindFile(), GetBuildPath(), GetOption(), Help(),
1405 Import(), Literal(), Local(), Platform(), Repository(), Scanner(),
1406 SConscriptChdir(), SConsignFile(), SetOption(), SourceSignatures(),
1407 Split(), TargetSignatures(), Tool(), Value().
1409 - Add the following global functions that correspond to the same-named
1410 Environment methods: AlwaysBuild(), Command(), Depends(), Ignore(),
1411 Install(), InstallAs(), Precious(), SideEffect() and SourceCode().
1413 - Add the following global functions that correspond to the default
1414 Builder methods supported by SCons: CFile(), CXXFile(), DVI(), Jar(),
1415 Java(), JavaH(), Library(), M4(), MSVSProject(), Object(), PCH(),
1416 PDF(), PostScript(), Program(), RES(), RMIC(), SharedLibrary(),
1417 SharedObject(), StaticLibrary(), StaticObject(), Tar(), TypeLibrary()
1420 - Rearrange the man page to show construction environment methods and
1421 global functions in the same list, and to explain the difference.
1423 - Alphabetize the explanations of the builder methods in the man page.
1425 - Rename the Environment.Environment class to Enviroment.Base.
1426 Allow the wrapping interface to extend an Environment by using its own
1427 subclass of Environment.Base and setting a new Environment.Environment
1428 variable as the calling entry point.
1430 - Deprecate the ParseConfig() global function in favor of a same-named
1431 construction environment method.
1433 - Allow the Environment.WhereIs() method to take explicit path and
1434 pathext arguments (like the underlying SCons.Util.WhereIs() function).
1436 - Remove the long-obsolete {Get,Set}CommandHandler() functions.
1438 - Enhance env.Append() to suppress null values when appropriate.
1440 - Fix ParseConfig() so it works regardless of initial construction
1443 Extend CheckHeader(), CheckCHeader(), CheckCXXHeader() and
1444 CheckLibWithHeader() to accept a list of header files that will be
1445 #included in the test. The last one in the list is assumed to be
1446 the one being checked for. (Prototype code contributed by Gerard
1447 Patel and Niall Douglas).
1449 - Supply a warning when -j is used and threading isn't built in to
1450 the current version of Python.
1452 - First release of the User's Guide (finally, and despite a lot
1453 of things still missing from it...).
1457 - Generalize the action for .tex files so that it will decide whether
1458 a file is TeX or LaTeX, check the .aux output to decide if it should
1459 run bibtex, and check the .log output to re-run LaTeX if needed.
1461 From Bram Moolenaar:
1463 - Split the non-SCons-specific functionality from SConf.py to a new,
1464 re-usable Conftest.py module.
1466 From Gary Oberbrunner:
1468 - Allow a directory to be the target or source or dependency of a
1469 Depends(), Ignore(), Precious() or SideEffect() call.
1473 - Use the %{_mandir} macro when building our RPM package.
1475 From Marko Rauhamaa:
1477 - Have the closing message say "...terminated because of errors" if
1482 - On Win32 systems, only use "rm" to delete files if Cygwin is being
1483 used. ("rm" doesn't understand Win32-format path names.)
1485 From Christoph Wiedemann:
1487 - Fix test/SWIG.py to find the Python include directory in all cases.
1489 - Fix a bug in detection of Qt installed on the local system.
1491 - Support returning Python 2.3 BooleanType values from Configure checks.
1493 - Provide an error message if someone mistakenly tries to call a
1494 Configure check from within a Builder function.
1496 - Support calling a Builder when a Configure context is still open.
1498 - Handle interrupts better by eliminating all try:-except: blocks
1499 which caught any and all exceptions, including KeyboardInterrupt.
1501 - Add a --duplicate= option to control how files are duplicated.
1505 RELEASE 0.92 - Wed, 20 Aug 2003 03:45:28 -0500
1507 From Charles Crain and Gary Oberbrunner:
1509 - Fix Tool import problems with the Intel and PharLap linkers.
1513 - Refactor the DictCmdGenerator class to be a Selector subclass.
1515 - Allow the DefaultEnvironment() function to take arguments and pass
1516 them to instantiation of the default construction environment.
1518 - Update the Debian package so it uses Python 2.2 and more closely
1519 resembles the currently official Debian packaging info.
1523 - When the yacc -d flag is used, take the .h file base name from the
1524 target .c file, not the source (matching what yacc does).
1528 RELEASE 0.91 - Thu, 14 Aug 2003 13:00:44 -0500
1532 - Support specifying a list of tools when calling Environment.Copy().
1534 - Give a Value Nodes a timestamp of the system time when they're
1535 created, so they'll work when using timestamp-based signatures.
1537 - Add a DefaultEnvironment() function that only creates a default
1538 environment on-demand (for fetching source files, e.g.).
1540 - Portability fix for test/M4.py.
1544 - Tighten up the scons -H help output.
1546 - When the input yacc file ends in .yy and the -d flag is specified,
1547 recognize that a .hpp file (not a .h file) will be created.
1549 - Make builder prefixes work correctly when deducing a target
1550 from a source file name in another directory.
1552 - Documentation fixes: typo in the man page; explain up-front about
1553 not propagating the external environment.
1555 - Use "cvs co -d" instead of "cvs co -p >" when checking out something
1556 from CVS with a specified module name. This avoids zero-length
1557 files when there is a checkout error.
1559 - Add an "sconsign" script to print the contents of .sconsign files.
1561 - Speed up maintaining the various lists of Node children by using
1562 dictionaries to avoid "x in list" searches.
1564 - Cache the computed list of Node children minus those being Ignored
1565 so it's only calculated once.
1567 - Fix use of the --cache-show option when building a Program()
1568 (or using any other arbitrary action) by making sure all Action
1569 instances have strfunction() methods.
1571 - Allow the source of Command() to be a directory.
1573 - Better error handling of things like raw TypeErrors in SConscripts.
1575 - When installing using "setup.py install --prefix=", suppress the
1576 distutils warning message about adding the (incorrect) library
1577 directory to your search path.
1579 - Correct the spelling of the "validater" option to "validator."
1580 Add a DeprecatedWarning when the old spelling is used.
1582 - Allow a Builder's emitter to be a dictionary that maps source file
1583 suffixes to emitter functions, using the suffix of the first file
1584 in the source list to pick the right one.
1586 - Refactor the creation of the Program, *Object and *Library Builders
1587 so that they're moved out of SCons.Defaults and created on demand.
1589 - Don't split SConscript file names on white space.
1591 - Document the SConscript function's "dirs" and "name" keywords.
1593 - Remove the internal (and superfluous) SCons.Util.argmunge() function.
1595 - Add /TP to the default CXXFLAGS for msvc, so it can compile all
1596 of the suffixes we use as C++ files.
1598 - Allow the "prefix" and "suffix" attributes of a Builder to be
1599 callable objects that return generated strings, or dictionaries
1600 that map a source file suffix to the right prefix/suffix.
1602 - Support a MAXLINELINELENGTH construction variable on Win32 systems
1603 to control when a temporary file is used for long command lines.
1605 - Make how we build .rpm packages not depend on the installation
1606 locations from the distutils being used.
1608 - When deducing a target Node, create it directly from the first
1609 source Node, not by trying to create the right string to pass to
1612 - Add support for SWIG.
1614 From Bram Moolenaar:
1616 - Test portability fixes for FreeBSD.
1618 From Gary Oberbrunner:
1620 - Report the target being built in error messages when building
1621 multiple sources from different extensions, or when the target file
1622 extension can't be deduced, or when we don't have an action for a
1625 - Provide helpful error messages when the arguments to env.Install()
1628 - Fix the value returned by the Node.prevsiginfo() method to conform
1629 to a previous change when checking whether a node is current.
1631 - Supply a stack trace if the Taskmaster catches an exception.
1633 - When using a temporary file for a long link line on Win32 systems,
1634 (also) print the command line that is being executed through the
1637 - Initialize the LIB environment variable when using the Intel
1640 - Documentation fixes: better explain the AlwaysBuild() function.
1642 From Laurent Pelecq:
1644 - When the -debug=pdb option is specified, use pdb.Pdb().runcall() to
1645 call pdb directly, don't call Python recursively.
1649 - Add support for a platform-independent CPPDEFINES variable.
1651 From Christoph Wiedemann:
1653 - Have the g++ Tool actually use g++ in preference to c++.
1655 - Have the gcc Tool actually use gcc in preference to cc.
1657 - Add a gnutools.py test of the GNU tool chain.
1659 - Be smarter about linking: use $CC by default and $CXX only if we're
1660 linking with any C++ objects.
1662 - Avoid SCons hanging when a piped command has a lot of output to read.
1664 - Add QT support for preprocessing .ui files into .c files.
1668 RELEASE 0.90 - Wed, 25 Jun 2003 14:24:52 -0500
1672 - Fix the _concat() documentation, and add a test for it.
1674 - Portability fixes for non-GNU versions of lex and yacc.
1678 - Fix handling of library prefixes when the subdirectory matches
1681 From Timothee Bessett:
1683 - Add an M4 Builder.
1687 - Use '.lnk' as the suffix on the temporary file for linking long
1688 command lines (necessary for the Phar Lap linkloc linker).
1690 - Save non-string Options values as their actual type.
1692 - Save Options string values that contain a single quote correctly.
1694 - Save any Options values that are changed from the default
1695 Environment values, not just ones changed on the command line or in
1698 - Make closing the Options file descriptor exception-safe.
1702 - SCons now enforces (with an error) that construction variables
1703 must have the same form as valid Python identifiers.
1705 - Fix man page bugs: remove duplicate AddPostAction() description;
1706 document no_import_lib; mention that CPPFLAGS does not contain
1707 $_CPPINCFLAGS; mention that F77FLAGS does not contain $_F77INCFLAGS;
1708 mention that LINKFLAGS and SHLINKFLAGS contains neither $_LIBFLAGS
1711 - Eliminate a dependency on the distutils.fancy_getopt module by
1712 copying and pasting its wrap_text() function directly.
1714 - Make the Script.Options() subclass match the underlying base class
1717 - When reporting a target is up to date, quote the target like make
1718 (backquote-quote) instead of with double quotes.
1720 - Fix handling of ../* targets when using -U, -D or -u.
1724 - Don't update the .sconsign files when run with -n.
1726 From Gary Oberbrunner:
1728 - Add support for the Intel C Compiler (icl.exe).
1736 - Fix use of SConf in paths with white space in them.
1738 - Add CheckFunc and CheckType functionality to SConf.
1740 - Fix use of SConf with Builders that return a list of nodes.
1742 From David Snopek and Christoph Wiedemann
1744 - Fix use of the SConf subsystem with SConscriptChdir().
1748 - Check for the existence of MS Visual Studio on disk before using it,
1749 to avoid getting fooled by leftover junk in the registry.
1751 - Add support for MSVC++ .NET.
1753 - Add support for MS Visual Studio project files (DSP, DSW,
1754 SLN and VCPROJ files).
1756 From Christoph Wiedemann
1758 - SConf now works correctly when the -n and -q options are used.
1762 RELEASE 0.14 - Wed, 21 May 2003 05:16:32 -0500
1766 - Use .dll (not .so) for shared libraries on Cygwin; use -fPIC
1767 when compiling them.
1769 - Use 'rm' to remove files under Cygwin.
1771 - Add a PLATFORM variable to construction environments.
1773 - Remove the "platform" argument from tool specifications.
1775 - Propogate PYTHONPATH when running the regression tests so distutils
1776 can be found in non-standard locations.
1778 - Using MSVC long command-line linking when running Cygwin.
1780 - Portability fixes for a lot of tests.
1782 - Add a Value Node class for dependencies on in-core Python values.
1784 From Allen Bierbaum:
1786 - Pass an Environment to the Options validator method, and
1787 add an Options.Save() method.
1789 From Steve Christensen:
1791 - Add an optional sort function argument to the GenerateHelpText()
1794 - Evaluate the "varlist" variables when computing the signature of a
1799 - Parse the source .java files for class names (including inner class
1800 names) to figure out the target .class files that will be created.
1802 - Make Java support work with Repositories and SConscriptChdir(0).
1804 - Pass Nodes, not strings, to Builder emitter functions.
1806 - Refactor command-line interpolation and signature calculation
1807 so we can use real Node attributes.
1811 - Add Java support (javac, javah, jar and rmic).
1813 - Propagate the external SYSTEMROOT environment variable into ENV on
1814 Win32 systems, so external commands that use sockets will work.
1816 - Add a .posix attribute to PathList expansions.
1818 - Check out CVS source files using POSIX path names (forward slashes
1819 as separators) even on Win32.
1821 - Add Node.clear() and Node.FS.Entry.clear() methods to wipe out a
1822 Node's state, allowing it to be re-evaluated by continuous
1823 integration build interfaces.
1825 - Change the name of the Set{Build,Content}SignatureType() functions
1826 to {Target,Source}Signatures(). Deprecate the old names but support
1827 them for backwards compatibility.
1829 - Add internal SCons.Node.FS.{Dir,File}.Entry() methods.
1831 - Interpolate the null string if an out-of-range subscript is used
1832 for a construction variable.
1834 - Fix the internal Link function so that it properly links or copies
1835 files in subsidiary BuildDir directories.
1837 - Refactor the internal representation of a single execution instance
1838 of an action to eliminate redundant signature calculations.
1840 - Eliminate redundant signature calculations for Nodes.
1842 - Optimize out calling hasattr() before accessing attributes.
1844 - Say "Cleaning targets" (not "Building...") when the -c option is
1849 - Quote the "Entering directory" message like Make.
1851 From Stefan Reichor:
1853 - Add support for using Ghostscript to convert Postscript to PDF files.
1857 - Add a standalone "Alias" function (separate from an Environment).
1859 - Make Export() work for local variables.
1861 - Support passing a dictionary to Export().
1863 - Support Import('*') to import everything that's been Export()ed.
1865 - Fix an undefined exitvalmap on Win32 systems.
1867 - Support new SetOption() and GetOption() functions for setting
1868 various command-line options from with an SConscript file.
1870 - Deprecate the old SetJobs() and GetJobs() functions in favor of
1871 using the new generic {Set,Get}Option() functions.
1873 - Fix a number of tests that searched for a Fortran compiler using the
1874 external PATH instead of what SCons would use.
1876 - Fix the interaction of SideEffect() and BuildDir() so that (for
1877 example) PDB files get put correctly in a BuildDir().
1881 - Contribute the "Autoscons" code for Autoconf-like checking for
1882 the existence of libraries, header files and the like.
1884 - Have the Tool() function add the tool name to the $TOOLS
1885 construction variable.
1889 - Support the C preprocessor #import statement.
1891 - Allow the SharedLibrary() Builder on Win32 systems to be able to
1892 register a newly-built dll using regsvr32.
1894 - Add a Builder for Windows type library (.tlb) files from IDL files.
1896 - Add an IDL scanner.
1898 - Refactor the Fortran, C and IDL scanners to share common logic.
1900 - Add .srcpath and .srcdir attributes to $TARGET and $SOURCE.
1902 From Christoph Wiedemann:
1904 - Integrate David Snopek's "Autoscons" code as the new SConf
1905 configuration subsystem, including caching of values between
1906 runs (using normal SCons dependency mechanisms), tests, and
1911 RELEASE 0.13 - Mon, 31 Mar 2003 20:22:00 -0600
1915 - Fix a bug when BuildDir(duplicate=0) is used and SConscript
1916 files are called from within other SConscript files.
1918 - Support (older) versions of Perforce which don't set the Windows
1923 RELEASE 0.12 - Thu, 27 Mar 2003 23:52:09 -0600
1927 - Added support for the Perforce source code management system.
1929 - Fix str(Node.FS) so that it returns a path relative to the calling
1930 SConscript file's directory, not the top-level directory.
1932 - Added support for a separate src_dir argument to SConscript()
1933 that allows explicit specification of where the source files
1934 for an SConscript file can be found.
1936 - Support more easily re-usable flavors of command generators by
1937 calling callable variables when strings are expanded.
1941 - Added an INSTALL construction variable that can be set to a function
1942 to control how the Install() and InstallAs() Builders install files.
1943 The default INSTALL function now copies, not links, files.
1945 - Remove deprecated features: the "name" argument to Builder objects,
1946 and the Environment.Update() method.
1948 - Add an Environment.SourceCode() method to support fetching files
1949 from source code systems. Add factory methods that create Builders
1950 to support BitKeeper, CVS, RCS, and SCCS. Add support for fetching
1951 files from RCS or SCCS transparently (like GNU Make).
1953 - Make the internal to_String() function more efficient.
1955 - Make the error message the same as other build errors when there's a
1956 problem unlinking a target file in preparation for it being built.
1958 - Make TARGET, TARGETS, SOURCE and SOURCES reserved variable names and
1959 warn if the user tries to set them in a construction environment.
1961 - Add support for Tar and Zip files.
1963 - Better documentation of the different ways to export variables to a
1964 subsidiary SConscript file. Fix documentation bugs in a tools
1965 example, places that still assumed SCons split strings on white
1968 - Support fetching arbitrary files from the TARGETS or SOURCES lists
1969 (e.g. ${SOURCES[2]}) when calculating the build signature of a
1972 - Don't silently swallow exceptions thrown by Scanners (or other
1973 exceptions while finding a node's dependent children).
1975 - Push files to CacheDir() before calling the superclass built()
1976 method (which may clear the build signature as part of clearing
1977 cached implicit dependencies, if the file has a source scanner).
1978 (Bug reported by Jeff Petkau.)
1980 - Raise an internal error if we attempt to push a file to CacheDir()
1981 with a build signature of None.
1983 - Add an explicit Exit() function for terminating early.
1985 - Change the documentation to correctly describe that the -f option
1986 doesn't change to the directory in which the specified file lives.
1988 - Support changing directories locally with SConscript directory
1989 path names relative to any SConstruct file specified with -f.
1990 This allows you to build in another directory by simply changing
1991 there and pointing at the SConstruct file in another directory.
1993 - Change the default SConscriptChdir() behavior to change to the
1994 SConscript directory while it's being read.
1996 - Fix an exception thrown when the -U option was used with no
1997 Default() target specified.
1999 - Fix -u so that it builds things in corresponding build directories
2000 when used in a source directory.
2004 - Add SharedObject() support to the masm tool.
2006 - Fix WhereIs() to return normalized paths.
2010 - Don't copy a built file to a CacheDir() if it's already there.
2012 - Avoid partial copies of built files in a CacheDir() by copying
2013 to a temporary file and renaming.
2017 - Fix incorrect dependency-cycle errors when an Aliased source doesn't
2022 RELEASE 0.11 - Tue, 11 Feb 2003 05:24:33 -0600
2026 - Add support for IRIX and the SGI MIPSPro tool chain.
2028 - Support using the MSVC tool chain when running Cygwin Python.
2032 - Avoid losing signal bits in the exit status from a command,
2033 helping terminate builds on interrupt (CTRL+C).
2037 - Added new AddPreAction() and AddPostAction() functions that support
2038 taking additional actions before or after building specific targets.
2040 - Add support for the PharLap ETS tool chain.
2044 - Allow Python function Actions to specify a list of construction
2045 variables that should be included in the Action's signature.
2047 - Allow libraries in the LIBS variable to explicitly include the prefix
2048 and suffix, even when using the GNU linker.
2049 (Bug reported by Neal Becker.)
2051 - Use DOS-standard CR-LF line endings in the scons.bat file.
2052 (Bug reported by Gary Ruben.)
2054 - Doc changes: Eliminate description of deprecated "name" keyword
2055 argument from Builder definition (reported by Gary Ruben).
2057 - Support using env.Append() on BUILDERS (and other dictionaries).
2058 (Bug reported by Bj=F6rn Bylander.)
2060 - Setting the BUILDERS construction variable now properly clears
2061 the previous Builder attributes from the construction Environment.
2062 (Bug reported by Bj=F6rn Bylander.)
2064 - Fix adding a prefix to a file when the target isn't specified.
2065 (Bug reported by Esa Ilari Vuokko.)
2067 - Clean up error messages from problems duplicating into read-only
2068 BuildDir directories or into read-only files.
2070 - Add a CommandAction.strfunction() method, and add an "env" argument
2071 to the FunctionAction.strfunction() method, so that all Action
2072 objects have strfunction() methods, and the functions for building
2073 and returning a string both take the same arguments.
2075 - Add support for new CacheDir() functionality to share derived files
2076 between builds, with related options --cache-disable, --cache-force,
2079 - Change the default behavior when no targets are specified to build
2080 everything in the current directory and below (like Make). This
2081 can be disabled by specifying Default(None) in an SConscript.
2083 - Revamp SCons installation to fix a case-sensitive installation
2084 on Win32 systems, and to add SCons-specific --standard-lib,
2085 --standalone-lib, and --version-lib options for easier user
2086 control of where the libraries get installed.
2088 - Fix the ability to directly import and use Platform and Tool modules
2089 that have been implicitly imported into an Environment().
2091 - Add support for allowing an embedding interface to annotate a node
2094 - Extend the SConscript() function to accept build_dir and duplicate
2095 keyword arguments that function like a BuildDir() call.
2099 - Fix the output of -c -n when directories are involved, so it
2104 - Use a different shared object suffix (.os) when using gcc so shared
2105 and static objects can exist side-by-side in the same directory.
2107 - Allow the same object files on Win32 to be linked into either
2108 shared or static libraries.
2110 - Cache implicit cache values when using --implicit-cache.
2114 RELEASE 0.10 - Thu, 16 Jan 2003 04:11:46 -0600
2116 From Derrick 'dman' Hudson:
2118 - Support Repositories on other file systems by symlinking or
2119 copying files when hard linking won't work.
2123 - Remove Python bytecode (*.pyc) files from the scons-local packages.
2125 - Have FunctionActions print a description of what they're doing
2126 (a representation of the Python call).
2128 - Fix the Install() method so that, like other actions, it prints
2129 what would have happened when the -n option is used.
2131 - Don't create duplicate source files in a BuildDir when the -n
2134 - Refactor the Scanner interface to eliminate unnecessary Scanner
2135 calls and make it easier to write efficient scanners.
2137 - Added a "recursive" flag to Scanner creation that specifies the
2138 Scanner should be invoked recursively on dependency files returned
2141 - Significant performance improvement from using a more efficient
2142 check, throughout the code, for whether a Node has a Builder.
2144 - Fix specifying only the source file to MultiStepBuilders such as
2145 the Program Builder. (Bug reported by Dean Bair.)
2147 - Fix an exception when building from a file with the same basename as
2148 the subdirectory in which it lives. (Bug reported by Gerard Patel.)
2150 - Fix automatic deduction of a target file name when there are
2151 multiple source files specified; the target is now deduced from just
2152 the first source file in the list.
2154 - Documentation fixes: better initial explanation of SConscript files;
2155 fix a misformatted "table" in the StaticObject explanation.
2157 From Steven Knight and Steve Leblanc:
2159 - Fix the -c option so it will remove symlinks.
2163 - Add a Clean() method to support removing user-specified targets
2164 when using the -c option.
2166 - Add a development script for running SCons through PyChecker.
2168 - Clean up things found by PyChecker (mostly unnecessary imports).
2170 - Add a script to use HappyDoc to create HTML class documentation.
2174 - Make the Environment.get() method return None by default.
2178 - Add SetJobs() and GetJobs() methods to allow configuration of the
2179 number of default jobs (still overridden by -j).
2181 - Convert the .sconsign file format from ASCII to a pickled Python
2184 - Error message cleanups: Made consistent the format of error
2185 messages (now all start with "scons: ***") and warning messages (now
2186 all start with "scons: warning:"). Caught more cases with the "Do
2187 not know how to build" error message.
2189 - Added support for the MinGW tool chain.
2191 - Added a --debug=includes option.
2195 RELEASE 0.09 - Thu, 5 Dec 2002 04:48:25 -0600
2199 - Add a Prepend() method to Environments, to append values to
2200 the beginning of construction variables.
2204 - Add long command-line support to the "lib" Tool (Microsoft library
2209 - Allow $$ in a string to be passed through as $.
2211 - Support file names with odd characters in them.
2213 - Add support for construction variable substition on scanner
2214 directories (in CPPPATH, F77PATH, LIBPATH, etc.).
2216 From Charles Crain and Steven Knight:
2218 - Add Repository() functionality, including the -Y option.
2222 - Fix auto-deduction of target names so that deduced targets end
2223 up in the same subdirectory as the source.
2225 - Don't remove source files specified on the command line!
2227 - Suport the Intel Fortran Compiler (ifl.exe).
2229 - Supply an error message if there are no command-line or
2230 Default() targets specified.
2232 - Fix the ASPPCOM values for the GNU assembler.
2233 (Bug reported by Brett Polivka.)
2235 - Fix an exception thrown when a Default() directory was specified
2236 when using the -U option.
2238 - Issue a warning when -c can't remove a target.
2240 - Eliminate unnecessary Scanner calls by checking for the
2241 existence of a file before scanning it. (This adds a generic
2242 hook to check an arbitrary condition before scanning.)
2244 - Add explicit messages to tell when we're "Reading SConscript files
2245 ...," "done reading SConscript files," "Building targets," and
2246 "done building targets." Add a -Q option to supress these.
2248 - Add separate $SHOBJPREFIX and $SHOBJSUFFIX construction variables
2249 (by default, the same as $OBJPREFIX and $OBJSUFFIX).
2251 - Add Make-like error messages when asked to build a source file,
2252 and before trying to build a file that doesn't have all its source
2253 files (including when an invalid drive letter is used on WIN32).
2255 - Add an scons-local-{version} package (in both .tar.gz and .zip
2256 flavors) to help people who want to ship SCons as a stand-alone
2257 build tool in their software packages.
2259 - Prevent SCons from unlinking files in certain situations when
2260 the -n option is used.
2262 - Change the name of Tool/lib.py to Tool/mslib.py.
2264 From Steven Knight and Anthony Roach:
2266 - Man page: document the fact that Builder calls return Node objects.
2270 - Refactor option processing to use our own version of Greg Ward's
2271 Optik module, modified to run under Python 1.5.2.
2273 - Add a ParseConfig() command to modify an environment based on
2274 parsing output from a *-config command.
2278 - Fix interpretation of '#/../foo' on Win32 systems.
2282 - Fixed use of command lines with spaces in their arguments,
2283 and use of Nodes with spaces in their string representation.
2285 - Make access and modification times of files in a BuildDir match
2286 the source file, even when hard linking isn't available.
2288 - Make -U be case insensitive on Win32 systems.
2290 - Issue a warning and continue when finding a corrupt .sconsign file.
2292 - Fix using an alias as a dependency of a target so that if one of the
2293 alias' dependencies gets rebuilt, the resulting target will, too.
2295 - Fix differently ordered targets causing unnecessary rebuilds
2296 on case insensitive systems.
2298 - Use os.system() to execute external commands whenever the "env"
2299 utility is available, which is much faster than fork()/exec(),
2300 and fixes the -j option on several platforms.
2302 - Fix use of -j with multiple targets.
2304 - Add an Options() object for friendlier accomodation of command-
2307 - Add support for Microsoft VC++ precompiled header (.pch) files,
2308 debugger (.pdb) files, and resource (.rc) files.
2310 - Don't compute the $_CPPINCFLAGS, $_F77INCFLAGS, $_LIBFLAGS and
2311 $_LIBDIRFLAGS variables each time a command is executed, define
2312 them so they're computed only as needed. Add a new _concat
2313 function to the Environment that allows people to define their
2314 own similar variables.
2316 - Fix dependency scans when $LIBS is overridden.
2318 - Add EnsurePythonVersion() and EnsureSConsVersion() functions.
2320 - Fix the overly-verbose stack trace on ListBuilder build errors.
2322 - Add a SetContentSignatureType() function, allowing use of file
2323 timestamps instead of MD5 signatures.
2325 - Make -U and Default('source') fail gracefully.
2327 - Allow the File() and Dir() methods to take a path-name string as
2328 the starting directory, in addition to a Dir object.
2330 - Allow the command handler to be selected via the SPAWN, SHELL
2331 and ESCAPE construction variables.
2333 - Allow construction variables to be overridden when a Builder
2338 - Dynamically check for the existence of utilities with which to
2339 initialize Environments by default.
2343 RELEASE 0.08 - Mon, 15 Jul 2002 12:08:51 -0500
2347 - Fixed a bug with relative CPPPATH dirs when using BuildDir().
2348 (Bug reported by Bob Summerwill.)
2350 - Added a warnings framework and a --warn option to enable or
2353 - Make the C scanner warn users if files referenced by #include
2354 directives cannot be found and --warn=dependency is specified.
2356 - The BUILDERS construction variable should now be a dictionary
2357 that maps builder names to actions. Existing uses of lists,
2358 and the Builder name= keyword argument, generate warnings
2359 about use of deprecated features.
2361 - Removed the "shared" keyword argument from the Object and
2364 - Added separated StaticObject, SharedObject, StaticLibrary and
2365 SharedLibrary builders. Made Object and Library synonyms for
2366 StaticObject and StaticLibrary, respectively.
2368 - Add LIBS and LIBPATH dependencies for shared libraries.
2370 - Removed support for the prefix, suffix and src_suffix arguments
2371 to Builder() to be callable functions.
2373 - Fix handling file names with multiple dots.
2375 - Allow a build directory to be outside of the SConstruct tree.
2377 - Add a FindFile() function that searches for a file node with a
2380 - Add $CPPFLAGS to the shared-object command lines for g++ and gcc.
2382 From Charles Crain and Steven Knight:
2384 - Add a "tools=" keyword argument to Environment instantiation,
2385 and a separate Tools() method, for more flexible specification
2386 of tool-specific environment changes.
2390 - Add a "platform=" keyword argument to Environment instantiation,
2391 and a separate Platform() method, for more flexible specification
2392 of platform-specific environment changes.
2394 - Updated README instructions and setup.py code to catch an
2395 installation failure from not having distutils installed.
2397 - Add descriptions to the -H help text for -D, -u and -U so
2398 people can tell them apart.
2400 - Remove the old feature of automatically splitting strings
2401 of file names on white space.
2403 - Add a dependency Scanner for native Fortran "include" statements,
2404 using a new "F77PATH" construction variable.
2406 - Fix C #include scanning to detect file names with characters like
2409 - Add more specific version / build output to the -v option.
2411 - Add support for the GNU as, Microsoft masm, and nasm assemblers.
2413 - Allow the "target" argument to a Builder call to be omitted, in
2414 which case the target(s) are deduced from the source file(s) and the
2415 Builder's specified suffix.
2417 - Add a tar archive builder.
2419 - Add preliminary support for the OS/2 Platform, including the icc
2424 - Fix --implicit-cache if the scanner returns an empty list.
2428 - Add a "multi" keyword argument to Builder creation that specifies
2429 it's okay to call the builder multiple times for a target.
2431 - Set a "multi" on Aliases so multiple calls will append to an Alias.
2433 - Fix emitter functions' use of path names when using BuildDir or
2436 - Fix --implicit-cache causing redundant rebuilds when the header
2439 - Fix --implicit-cache when a file has no implicit dependencies and
2440 its source is generated.
2442 - Make the drive letters on Windows always be the same case, so that
2443 changes in the case of drive letters don't cause a rebuild.
2445 - Fall back to importing the SCons.TimeStamp module if the SCons.MD5
2446 module can't be imported.
2448 - Fix interrupt handling to guarantee that a single interrupt will
2449 halt SCons both when using -j and not.
2451 - Fix .sconsign signature storage so that output files of one build
2452 can be safely used as input files to another build.
2454 - Added a --debug=time option to print SCons execution times.
2456 - Print an error message if a file can't be unlinked before being
2457 built, rather than just silently terminating the build.
2459 - Add a SideEffect() method that can be used to tell the build
2460 engine that a given file is created as a side effect of building
2461 a target. A file can be specified as a side effect of more than
2462 one build comand, in which case the commands will not be executed
2465 - Significant performance gains from not using our own version of
2466 the inefficient stock os.path.splitext() method, caching source
2467 suffix computation, code cleanup in MultiStepBuilder.__call__(),
2468 and replicating some logic in scons_subst().
2470 - Add --implicit-deps-changed and --implicit-deps-unchanged options.
2472 - Add a GetLaunchDir() function.
2474 - Add a SetBuildSignatureType() function.
2478 - Add an Append() method to Environments, to append values to
2479 construction variables.
2481 - Change the name of Update() to Replace(). Keep Update() as a
2482 deprecated synonym, at least for now.
2484 From Terrel Shumway:
2486 - Use a $PYTHON construction variable, initialized to sys.executable,
2487 when using Python to build parts of the SCons packages.
2489 - Use sys.prefix, not sys.exec_prefix, to find pdb.py.
2493 RELEASE 0.07 - Thu, 2 May 2002 13:37:16 -0500
2497 - Changes to build SCons packages on IRIX (and other *NIces).
2499 - Don't create a directory Node when a file already exists there,
2502 - Add 'dirs' and 'names' keyword arguments to SConscript for
2503 easier specification of subsidiary SConscript files.
2507 - Internal cleanup of environment passing to function Actions.
2509 - Builders can now take arbitrary keyword arguments to create
2510 attributes to be passed to: command generator functions,
2511 FunctionAction functions, Builder emitter functions (below),
2512 and prefix/suffix generator functions (below).
2514 - Command generator functions can now return ANYTHING that can be
2515 converted into an Action (a function, a string, a CommandGenerator
2516 instance, even an ActionBase instance).
2518 - Actions now call get_contents() with the actual target and source
2519 nodes used for the build.
2521 - A new DictCmdGenerator class replaces CompositeBuilder to support
2522 more flexible Builder behavior internally.
2524 - Builders can now take an emitter= keyword argument. An emitter
2525 is a function that takes target, source, and env argument, then
2526 return a 2-tuple of (new sources, new targets). The emitter is
2527 called when the Builder is __call__'ed, allowing a user to modify
2528 source and target lists.
2530 - The prefix, suffix and src_suffix Builder arguments now take a
2531 callable as well a string. The callable is passed the Environment
2532 and any extra Builder keyword arguments and is expected to return
2533 the appropriate prefix or suffix.
2535 - CommandActions can now be a string, a list of command + argument
2536 strings, or a list of commands (strings or lists).
2538 - Added shared library support. The Object and Library Builders now
2539 take a "shared=1" keyword argument to specify that a shared object
2540 or shared library should be built. It is an error to try to build
2541 static objects into a shared library or vice versa.
2543 - Win32 support for .def files has been added. Added the Win32-specific
2544 construction variables $WIN32DEFPREFIX, $WIN32DEFSUFFIX,
2545 $WIN32DLLPREFIX and $WIN32IMPLIBPREFIX. When building a .dll,
2546 the new construction variable $WIN32_INSERT_DEF, controls whether
2547 the appropriately-named .def file is inserted into the target
2548 list (if not already present). A .lib file is always added to
2549 a Library build if not present in the list of targets.
2551 - ListBuilder now passes all targets to the action, not just the first.
2553 - Fix so that -c now deletes generated yacc .h files.
2555 - Builder actions and emitter functions can now be initialized, through
2556 construction variables, to things other than strings.
2558 - Make top-relative '#/dir' lookups work like '#dir'.
2560 - Fix for relative CPPPATH directories in subsidiary SConscript files
2563 - Add a for_signature argument to command generators, so that
2564 generators that need to can return distinct values for the
2565 command signature and for executing the command.
2569 - Create a better scons.bat file from a py2bat.py script on the Python
2570 mailing list two years ago (modeled after pl2bat.pl).
2574 - Fix so that -c -n does *not* remove the targets!
2576 - Man page: Add a hierarchical libraries + Program example.
2578 - Support long MSVC linker command lines through a builder action
2579 that writes to a temporary file and uses the magic MSVC "link @file"
2580 argument syntax if the line is longer than 2K characters.
2582 - Fix F77 command-line options on Win32 (use /Fo instead of -o).
2584 - Use the same action to build from .c (lower case) and .C (upper
2585 case) files on case-insensitive systems like Win32.
2587 - Support building a PDF file directly from a TeX or LaTeX file
2588 using pdftex or pdflatex.
2590 - Add a -x option to runtest.py to specify the script being tested.
2591 A -X option indicates it's an executable, not a script to feed
2592 to the Python interpreter.
2594 - Add a Split() function (identical to SCons.Util.argmunge()) for use
2595 in the next release, when Builders will no longer automatically split
2596 strings on white space.
2600 - Add the SConscriptChdir() method.
2604 - Fix --debug=tree when used with directory targets.
2606 - Significant internal restructuring of Scanners and Taskmaster.
2608 - Added new --debug=dtree option.
2610 - Fixes for --profile option.
2612 - Performance improvement in construction variable substitution.
2614 - Implemented caching of content signatures, plus added --max-drift
2615 option to control caching.
2617 - Implemented caching of dependency signatures, enabled by new
2618 --implicit-cache option.
2620 - Added abspath construction variable modifier.
2622 - Added $SOURCE variable as a synonym for $SOURCES[0].
2624 - Write out .sconsign files on error or interrupt so intermediate
2625 build results are saved.
2627 - Change the -U option to -D. Make a new -U that builds just the
2628 targets from the local SConscript file.
2630 - Fixed use of sys.path so Python modules can be imported from
2631 the SConscript directory.
2633 - Fix for using Aliases with the -u, -U and -D options.
2635 - Fix so that Nodes can be passed to SConscript files.
2639 - Changes for official Debian packaging.
2643 RELEASE 0.06 - Thu, 28 Mar 2002 01:24:29 -0600
2647 - Fix command generators to expand construction variables.
2649 - Make FunctionAction arguments be Nodes, not strings.
2651 From Stephen Kennedy:
2653 - Performance: Use a dictionary, not a list, for a Node's parents.
2657 - Add .zip files to the packages we build.
2659 - Man page: document LIBS, fix a typo, document ARGUMENTS.
2661 - Added RANLIB and RANLIBFLAGS construction variables. Only use them
2662 in ARCOM if there's a "ranlib" program on the system.
2664 - Add a configurable CFILESUFFIX for the Builder of .l and .y files
2667 - Add a CXXFile Builder that turns .ll and .yy files into .cc files
2668 (configurable via a CXXFILESUFFIX construction variable).
2670 - Use the POSIX-standard lex -t flag, not the GNU-specific -o flag.
2671 (Bug reported by Russell Christensen.)
2673 - Fixed an exception when CPPPATH or LIBPATH is a null string.
2674 (Bug reported by Richard Kiss.)
2676 - Add a --profile=FILE option to make profiling SCons easier.
2678 - Modify the new DVI builder to create .dvi files from LaTeX (.ltx
2681 - Add support for Aliases (phony targets).
2683 - Add a WhereIs() method for searching for path names to executables.
2685 - Add PDF and PostScript document builders.
2687 - Add support for compiling Fortran programs from a variety of
2688 suffixes (a la GNU Make): .f, .F, .for, .FOR, .fpp and .FPP
2690 - Support a CPPFLAGS variable on all default commands that use the
2695 - Add support for the -U option.
2697 - Allow CPPPATH, LIBPATH and LIBS to be specified as white-space
2700 - Add a document builder to create .dvi files from TeX (.tex) files.
2704 - Fix: Construction variables with values of 0 were incorrectly
2707 - Support env['VAR'] to fetch construction variable values.
2709 - Man page: document Precious().
2713 RELEASE 0.05 - Thu, 21 Feb 2002 16:50:03 -0600
2717 - Set PROGSUFFIX to .exe under Cygwin.
2721 - Allow a library to specified as a command-line source file, not just
2722 in the LIBS construction variable.
2724 - Compensate for a bug in os.path.normpath() that returns '' for './'
2727 - More performance optimizations: cache #include lines from files,
2728 eliminate unnecessary calls.
2730 - If a prefix or suffix contains white space, treat the resulting
2731 concatenation as separate arguments.
2733 - Fix irregularities in the way we fetch DevStudio information from
2734 the Windows registry, and in our registry error handling.
2738 - Flush stdout after print so it intermixes correctly with stderr
2741 - Allow Scanners to return a list of strings, and document how to
2742 write your own Scanners.
2744 - Look up implicit (scanned) dependencies relative to the directory
2745 of file being scanned.
2747 - Make writing .sconsign files more robust by first trying to write
2748 to a temp file that gets renamed.
2750 - Create all of the directories for a list of targets before trying
2751 to build any of the targets.
2753 - WIN32 portability fixes in tests.
2755 - Allow the list of variables exported to an SConscript file to be
2758 - Document the overlooked LIBPATH construction variable.
2759 (Bug reported by Eicke Godehardt.)
2761 - Fix so that Ignore() ignores indirect, implicit dependencies
2762 (included files), not just direct dependencies.
2764 - Put the man page in the Debian distribution.
2766 - Run HTML docs through tidy to clean up the HTML (for Konqueror).
2768 - Add preliminary support for Unicode strings.
2770 - Efficiency: don't scan dependencies more than once during the
2773 - Fix the -c option so it doesn't stop removing targets if one doesn't
2775 (Bug reported by Paul Connell.)
2777 - Fix the --debug=pdb option when run on Windows NT.
2778 (Bug reported by Paul Connell.)
2780 - Add support for the -q option.
2784 - Add support for the -u option.
2786 - Add .cc and .hh file suffixes to the C Scanner.
2790 - Make the scons script return an error code on failures.
2792 - Add support for using code to generate a command to build a target.
2796 RELEASE 0.04 - Wed, 30 Jan 2002 11:09:42 -0600
2800 - Significant performance improvements in the Node.FS and
2803 - Fix signatures of binary files on Win32 systems.
2805 - Allow LIBS and LIBPATH to be strings, not just arrays.
2807 - Print a traceback if a Python-function builder throws an exception.
2811 - Fix using a directory as a Default(), and allow Default() to
2812 support white space in file names for strings in arrays.
2814 - Man page updates: corrected some mistakes, documented various
2815 missing Environment methods, alphabetized the construction
2816 variables and other functions, defined begin and end macros for
2817 the example sections, regularized white space separation, fixed
2818 the use of Export() in the Multiple Variants example.
2820 - Function action fixes: None is now a successful return value.
2821 Exceptions are now reported. Document function actions.
2823 - Add 'Action' and 'Scanner' to the global keywords so SConscript
2824 files can use them too.
2826 - Removed the Wrapper class between Nodes and Walkers.
2828 - Add examples using Library, LIBS, and LIBPATH.
2830 - The C Scanner now always returns a sorted list of dependencies
2831 so order changes don't cause unnecessary rebuilds.
2833 - Strip $(-$) bracketed text from command lines. Use this to
2834 surround $_INCDIRS and $_LIBDIRS so we don't rebuild in response
2835 to changes to -I or -L options.
2837 - Add the Ignore() method to ignore dependencies.
2839 - Provide an error message when a nonexistent target is specified
2840 on the command line.
2842 - Remove targets before building them, and add an Environment
2843 Precious() method to override that.
2845 - Eliminate redundant calls to the same builder when the target is a
2846 list of targets: Add a ListBuilder class that wraps Builders to
2847 handle lists atomically. Extend the Task class to support building
2848 and updating multiple targets in a single Task. Simplify the
2849 interface between Task and Taskmaster.
2851 - Add a --debug=pdb option to re-run SCons under the Python debugger.
2853 - Only compute a build signature once for each node.
2855 - Changes to our sys.path[] manipulation to support installation into
2856 an arbitrary --prefix value.
2860 - Add var=value command-line arguments.
2864 RELEASE 0.03 - Fri, 11 Jan 2002 01:09:30 -0600
2868 - Performance improvements in the Node.FS and Sig.Calculator classes.
2870 - Add the InstallAs() method.
2872 - Execute commands through an external interpreter (sh, cmd.exe, or
2873 command.com) to handle redirection metacharacters.
2875 - Allow the user to supply a command handler.
2879 - Search both /usr/lib and /usr/local/lib for scons directories by
2880 adding them both to sys.path, with whichever is in sys.prefix first.
2882 - Fix interpreting strings of multiple white-space separated file names
2883 as separate file names, allowing prefixes and suffixes to be appended
2884 to each individually.
2886 - Refactor to move CompositeBuilder initialization logic from the
2887 factory wrapper to the __init__() method, and allow a Builder to
2888 have both an action and a src_builder (or array of them).
2890 - Refactor BuilderBase.__call__() to separate Node creation/lookup
2891 from initialization of the Node's builder information.
2893 - Add a CFile Builder object that supports turning lex (.l) and
2894 yacc (.y) files into .c files.
2896 - Document: variable interpretation attributes; how to propogate
2897 the user's environment variables to executed commands; how to
2898 build variants in multiple BuildDirs.
2900 - Collect String, Dict, and List type-checking in common utility
2901 routines so we can accept User{String,Dict,List}s all over.
2903 - Put the Action factory and classes into their own module.
2905 - Use one CPlusPlusAction in the Object Builder's action dictionary,
2906 instead of letting it create multiple identical instances.
2908 - Document the Install() and InstallAs() methods.
2912 - Require that a Builder be given a name argument, supplying a
2913 useful error message when it isn't.
2917 - Add a "duplicate" keyword argument to BuildDir() that can be set
2918 to prevent linking/copying source files into build directories.
2920 - Add a "--debug=tree" option to print an ASCII dependency tree.
2922 - Fetch the location of the Microsoft Visual C++ compiler(s) from
2923 the Registry, instead of hard-coding the location.
2925 - Made Scanner objects take Nodes, not path names.
2927 - Have the C Scanner cache the #include file names instead of
2928 (re-)scanning the file each time it's called.
2930 - Created a separate class for parent "nodes" of file system roots,
2931 eliminating the need for separate is-parent-null checks everywhere.
2933 - Removed defined __hash__() and __cmp() methods from FS.Entry, in
2934 favor of Python's more efficient built-in identity comparisons.
2938 RELEASE 0.02 - Sun, 23 Dec 2001 19:05:09 -0600
2942 - Added the Install(), BuildDir(), and Export() methods.
2944 - Fix the -C option by delaying setting the top of the FS tree.
2946 - Avoid putting the directory path on the libraries in the LIBS
2947 construction variable.
2949 - Added a GetBuildPath() method to return the full path to the
2950 Node for a specified string.
2952 - Fixed variable substitution in CPPPATH and LIBPATH.
2956 - Fixed the version comment in the scons.bat (the UNIX geek used
2959 - Fix to setup.py so it doesn't require a sys.argv[1] argument.
2961 - Provide make-like warning message for "command not found" and
2964 - Added an EXAMPLES section to the man page.
2966 - Make Default() targets properly relative to their SConscript
2967 file's subdirectory.
2971 - Documented CXXFLAGS, CXXCOM, and CPPPATH.
2973 - Fixed SCONS_LIB_DIR to work as documented.
2975 - Made Default() accept Nodes as arguments.
2977 - Changed Export() to make it easier to use.
2979 - Added the Import() and Return() methods.
2983 RELEASE 0.01 - Thu Dec 13 19:25:23 CST 2001
2985 A brief overview of important functionality available in release 0.01:
2987 - C and C++ compilation on POSIX and Windows NT.
2989 - Automatic scanning of C/C++ source files for #include dependencies.
2991 - Support for building libraries; setting construction variables
2992 allows creation of shared libraries.
2994 - Library and C preprocessor search paths.
2996 - File changes detected using MD5 signatures.
2998 - User-definable Builder objects for building files.
3000 - User-definable Scanner objects for scanning for dependencies.
3002 - Parallel build (-j) support.
3004 - Dependency cycles detected.
3006 - Linux packages available in RPM and Debian format.
3008 - Windows installer available.