2 # __FILE__ __REVISION__ __DATE__ __DEVELOPER__
5 SCons - a software construction tool
15 - Make the CacheDir() directory if it doesn't already exist.
17 - Allow construction variable substitutions in $LIBS specifications.
19 - Add a $QT_AUTOBUILD_MOC_SOURCES construction variable that controls
20 whether moc-generated .cpp files get compiled.
22 - Allow the emitter argument to a Builder() to be or expand to a list
23 of emitter functions, which will be called in sequence.
25 - Suppress null values in construction variables like $LIBS that use
26 the internal _concat() function.
28 From Chad Austin and Christoph Wiedemann:
30 - Add support for a $RPATH variable to supply a list of directories
31 to search for shared libraries when linking a program.
35 - Restore the ability to do construction variable substitutions in all
36 kinds of *PATH variables, even when the substitution returns a Node
41 - Allow the Java() Builder to take more than one source directory.
43 From Ralf W. Grosse-Kunstleve:
45 - Have SConsignFile() use, by default, a custom "dblite.py" that we can
46 control and guarantee to work on all Python versions (or nearly so).
50 - Make the new *FLAGS variable type work with copied Environments.
54 - Initialize the name of a Scanner.Classic scanner correctly.
58 - Add an Execute() method for executing actions directly.
60 - Support passing environment override keyword arguments to Command().
62 - Fix use of $MSVS_IGNORE_IDE_PATHS, which was broken when we added
63 support for $MSVS_USE_MFC_DIRS last release.
65 - Make env.Append() and env.Prepend() act like the underlying Python
66 behavior when the variable being appended to is a UserList object.
68 - Fix a regression that prevented the Command() global function in
69 0.95 from working with command-line strings as actions.
71 - Fix checking out a file from a source code management system when
72 the env.SourceCode() method was called with an individual file name
73 or node, not a directory name or node.
75 - Enhance the Task.make_ready() method to create a list of the
76 out-of-date Nodes for the task for use by the wrapping interface.
78 - Allow Scanners to pull the list of suffixes from the construction
79 environment when the "skeys" keyword argument is a string containing
80 a construction variable to be expanded.
82 - Support new $CPPSUFFIXES, $DSUFFIXES $FORTRANSUFFIXES, and
83 $IDLSUFFIXES. construction variables that contain the default list
84 of suffixes to be scanned by a given type of scanner, allowing these
85 suffix lists to be easily added to or overridden.
87 - Speed up Node creation when calling a Builder by comparing whether two
88 Environments are the same object, not if their underlying dictionaries
91 - Add a --debug=explain option that reports the reason(s) why SCons
92 thinks it must rebuild something.
94 - Add support for functions that return platform-independent Actions
95 to Chmod(), Copy(), Delete(), Mkdir(), Move() and Touch() files
96 and/or directories. Like any other Actions, the returned Action
97 object may be executed directly using the Execute() global function
98 or env.Execute() environment method, or may be used as a Builder
99 action or in an env.Command() action list.
101 - Add support for the strfunction argument to all types of Actions:
102 CommandAction, ListAction, and CommandGeneratorAction.
104 - Speed up turning file system Nodes into strings by caching the
105 values after we're finished reading the SConscript files.
107 From Gary Oberbrunner:
109 - Add a --debug=presub option to print actions prior to substitution.
111 - Add a warning upon use of the override keywords "targets" and
112 "sources" when calling Builders. These are usually mistakes which
113 are otherwise silently (and confusingly) turned into construction
116 - Try to find the ICL license file path name in the external environment
117 and the registry before resorting to the hard-coded path name.
121 - Fix a bug introduced in building shared libraries under MinGW.
125 - Allow SConf.CheckLib() to search a list of libraries, like the
126 Autoconf AC_SEARCH_LIBS macro.
128 - Allow the env.WhereIs() method to take a "reject" argument to
129 let it weed out specific path names.
133 RELEASE 0.95 - Mon, 08 Mar 2004 06:43:20 -0600
137 - Replace print statements with calls to sys.stdout.write() so output
138 lines stay together when -j is used.
140 - Add portability fixes for a number of tests.
142 - Accomodate the fact that Cygwin's os.path.normcase() lies about
143 the underlying system being case-sensitive.
145 - Fix an incorrect _concat() call in the $RCINCFLAGS definition for
148 - Fix a problem with the msvc tool with Python versions prior to 2.3.
150 - Add support for a "toolpath" Tool() and Environment keyword that
151 allows Tool modules to be found in specified local directories.
153 - Work around Cygwin Python's silly fiction that it's using a
154 case-sensitive file system.
156 - More robust handling of data in VCComponents.dat.
158 - If the "env" command is available, spawn commands with the more
159 general "env -" instead of "env -i".
163 - Fix a typo in a msvc.py's registry lookup: "VCComponents.dat", not
168 - Fix the ability to save/restore a PackageOption to a file.
170 From Steve Christensen:
172 - Update the MSVS .NET and MSVC 6.0/7.0 path detection.
176 - Make the Fortran scanner case-insensitive for the INCLUDE string.
180 - If no version of MSVC is detected but the tool is specified,
181 use the MSVC 6.0 paths by default.
183 - Ignore any "6.1" version of MSVC found in the registry; this is a
184 phony version number (created by later service packs?) and would
185 throw off the logic if the user had any non-default paths configure.
187 - Correctly detect if the user has independently configured the MSVC
188 "include," "lib" or "path" in the registry and use the appropriate
189 values. Previously, SCons would only use the values if all three
190 were set in the registry.
192 - Make sure side-effect nodes are prepare()d before building their
193 corresponding target.
195 - Preserve the ability to call BuildDir() multiple times with the
196 same target and source directory arguments.
200 - Add support for the Digital Mars "D" programming language.
202 From Scott Lystig Fritchie:
204 - Fix the ability to use a custom _concat() function in the
205 construction environment when calling _stripixes().
207 - Make the message about ignoring a missing SConscript file into a
208 suppressable Warning, not a hard-coded sys.stderr.write().
210 - If a builder can be called multiple times for a target (because
211 the sources and overrides are identical, or it's a builder with the
212 "multi" flag set), allow the builder to be called through multiple
213 environments so long as the builders have the same signature for
214 the environments in questions (that is, they're the same action).
218 - When multiple targets are built by a single action, retrieve all
219 of them from cache, not just the first target, and exec the build
220 command if any of the targets isn't present in the cache.
224 - Fix command-line ARGUMENTS with multiple = in them.
228 - Fix EnsureSConsVersion() so it checks against the SCons version,
229 not the Python version, on Pythons with sys.version_info.
231 - Don't swallow the AttributeError when someone uses an expansion like
232 $TARGET.bak, so we can supply a more informative error message.
234 - Fix an odd double-quote escape sequence in the man page.
236 - Fix looking up a naked drive letter as a directory (Dir('C:')).
238 - Support using File nodes in the LIBS construction variable.
240 - Allow the LIBS construction variable to be a single string or File
241 node, not a list, when only one library is needed.
243 - Fix typos in the man page: JAVACHDIR => JARCHDIR; add "for_signature"
244 to the __call__() example in the "Variable Substitution" section.
246 - Correct error message spellings of "non-existant" to "non-existent."
248 - When scanning for libraries to link with, don't append $LIBPREFIXES
249 or $LIBSUFFIXES values to the $LIBS values if they're already present.
251 - Add a ZIPCOMPRESSION construction variable to control whether the
252 internal Python action for the Zip Builder compresses the file or
253 not. The default value is zipfile.ZIP_DEFLATED, which generates
256 - Refactor construction variable expansion to support recursive
257 expansion of variables (e.g. CCFLAGS = "$CCFLAGS -g") without going
258 into an infinite loop. Support this in all construction variable
259 overrides, as well as when copying Environments.
261 - Fix calling Configure() from more than one subsidiary SConscript file.
263 - Fix the env.Action() method so it returns the correct type of
264 Action for its argument(s).
266 - Fix specifying .class files as input to JavaH with the .class suffix
267 when they weren't generated using the Java Builder.
269 - Make the check for whether all of the objects going into a
270 SharedLibrary() are shared work even if the object was built in a
273 - Supply meaningful error messages, not stack traces, if we try to add
274 a non-Node as a source, dependency, or ignored dependency of a Node.
276 - Generate MSVS Project files that re-invoke SCons properly regardless
277 of whether the file was built via scons.bat or scons.py.
278 (Thanks to Niall Douglas for contributing code and testing.)
280 - Fix TestCmd.py, runtest.py and specific tests to accomodate being
281 run from directories whose paths include white space.
283 - Provide a more useful error message if a construction variable
284 expansion contains a syntax error during evaluation.
286 - Fix transparent checkout of implicit dependency files from SCCS
289 - Added new --debug=count, --debug=memory and --debug=objects options.
290 --debug=count and --debug=objects only print anything when run
291 under Python 2.1 or later.
293 - Deprecate the "overrides" keyword argument to Builder() creation
294 in favor of using keyword argument values directly (like we do
295 for builder execution and the like).
297 - Always use the Builder overrides in substitutions, not just if
298 there isn't a target-specific environment.
300 - Add new "rsrcpath" and "rsrcdir" and attributes to $TARGET/$SOURCE,
301 so Builder command lines can find things in Repository source
302 directories when using BuildDir.
304 - Fix the M4 Builder so that it chdirs to the Repository directory
305 when the input file is in the source directory of a BuildDir.
307 - Save memory at build time by allowing Nodes to delete their build
308 environments after they've been built.
310 - Add AppendUnique() and PrependUnique() Environment methods, which
311 add values to construction variables like Append() and Prepend()
312 do, but suppress any duplicate elements in the list.
314 - Allow the 'qt' tool to still be used successfully from a copied
315 Environment. The include and library directories previously ended up
316 having the same string re-appended to the end, yielding an incorrect
319 - Supply a more descriptive error message when the source for a target
322 - Initialize all *FLAGS variables with objects do the right thing with
323 appending flags as strings or lists.
325 - Make things like ${TARGET.dir} work in *PATH construction variables.
327 - Allow a $MSVS_USE_MFC_DIRS construction variable to control whether
328 ATL and MFC directories are included in the default INCLUDE and
331 - Document the dbm_module argument to the SConsignFile() function.
335 - Add support for the bcc32, ilink32 and tlib Borland tools.
339 - Supply an error message if the user tries to configure a BuildDir
340 for a directory that already has one.
342 - Remove documentation of the still-unimplemented -e option.
344 - Add -H help text listing the legal --debug values.
346 - Don't choke if a construction variable is a non-string value.
348 - Build Type Libraries in the target directory, not the source
351 - Add an appendix to the User's Guide showing how to accomplish
352 various common tasks in Python.
356 - Add support for Microsoft Visual Studio 2003 (version 7.1).
358 - Evaluate $MSVSPROJECTSUFFIX and $MSVSSOLUTIONSUFFIX when the Builder
359 is invoked, not when the tool is initialized.
361 From Christoph Wiedemann:
363 - When compiling Qt, make sure the moc_*.cc files are compiled using
364 the flags from the environment used to specify the target, not
365 the environment that first has the Qt Builders attached.
369 RELEASE 0.94 - Fri, 07 Nov 2003 05:29:48 -0600
373 - Add several new types of canned functions to help create options:
374 BoolOption(), EnumOption(), ListOption(), PackageOption(),
379 - Fix use of CPPDEFINES with C++ source files.
381 - Fix env.Append() when the operand is an object with a __cmp__()
382 method (like a Scanner instance).
384 - Fix subclassing the Environment and Scanner classes.
386 - Add BUILD_TARGETS, COMMAND_LINE_TARGETS and DEFAULT_TARGETS variables.
390 - SGI fixes: Fix C++ compilation, add a separate Tool/sgic++.py module.
392 From Gary Oberbrunner:
394 - Fix how the man page un-indents after examples in some browsers.
398 - Fix the C and C++ tool specifications for AIX.
402 RELEASE 0.93 - Thu, 23 Oct 2003 07:26:55 -0500
406 - On POSIX, execute commands with the more modern os.spawnvpe()
407 function, if it's available.
409 - Scan .S, .spp and .SPP files for C preprocessor dependencies.
411 - Refactor the Job.Parallel() class to use a thread pool without a
412 condition variable. This improves parallel build performance and
413 handles keyboard interrupts properly when -j is used.
417 - Add support for a JARCHDIR variable to control changing to a
418 directory using the jar -C option.
420 - Add support for detecting Java manifest files when using jar,
421 and specifying them using the jar m flag.
423 - Fix some Python 2.2 specific things in various tool modules.
425 - Support directories as build sources, so that a rebuild of a target
426 can be triggered if anything underneath the directory changes.
428 - Have the scons.bat and scons.py files look for the SCons modules
429 in site-packages as well.
431 From Christian Engel:
433 - Support more flexible inclusion of separate C and C++ compilers.
435 - Use package management tools on AIX and Solaris to find where
436 the comilers are installed, and what version they are.
438 - Add support for CCVERSION and CXXVERSION variables for a number
439 of C and C++ compilers.
443 - Add test cases for the new capabilities to run bibtex and to rerun
446 From Ralf W. Grosse-Kunstleve:
448 - Accomodate anydbm modules that don't have a sync() method.
450 - Allow SConsignFile() to take an argument specifying the DBM
453 From Stephen Kennedy:
455 - Add support for a configurable global .sconsign.dbm file which
456 can be used to avoid cluttering each directory with an individual
461 - Fix (re-)scanning of dependencies in generated or installed
466 - The -Q option suppressed too many messages; fix it so that it only
467 suppresses the Reading/Building messages.
469 - Support #include when there's no space before the opening quote
472 - Accomodate alphanumeric version strings in EnsurePythonVersion().
474 - Support arbitrary expansion of construction variables within
475 file and directory arguments to Builder calls and Environment methods.
477 - Add Environment-method versions of the following global functions:
478 Action(), AddPostAction(), AddPreAction(), Alias(), Builder(),
479 BuildDir(), CacheDir(), Clean(), Configure(), Default(),
480 EnsurePythonVersion(), EnsureSConsVersion(), Environment(),
481 Exit(), Export(), FindFile(), GetBuildPath(), GetOption(), Help(),
482 Import(), Literal(), Local(), Platform(), Repository(), Scanner(),
483 SConscriptChdir(), SConsignFile(), SetOption(), SourceSignatures(),
484 Split(), TargetSignatures(), Tool(), Value().
486 - Add the following global functions that correspond to the same-named
487 Environment methods: AlwaysBuild(), Command(), Depends(), Ignore(),
488 Install(), InstallAs(), Precious(), SideEffect() and SourceCode().
490 - Add the following global functions that correspond to the default
491 Builder methods supported by SCons: CFile(), CXXFile(), DVI(), Jar(),
492 Java(), JavaH(), Library(), M4(), MSVSProject(), Object(), PCH(),
493 PDF(), PostScript(), Program(), RES(), RMIC(), SharedLibrary(),
494 SharedObject(), StaticLibrary(), StaticObject(), Tar(), TypeLibrary()
497 - Rearrange the man page to show construction environment methods and
498 global functions in the same list, and to explain the difference.
500 - Alphabetize the explanations of the builder methods in the man page.
502 - Rename the Environment.Environment class to Enviroment.Base.
503 Allow the wrapping interface to extend an Environment by using its own
504 subclass of Environment.Base and setting a new Environment.Environment
505 variable as the calling entry point.
507 - Deprecate the ParseConfig() global function in favor of a same-named
508 construction environment method.
510 - Allow the Environment.WhereIs() method to take explicit path and
511 pathext arguments (like the underlying SCons.Util.WhereIs() function).
513 - Remove the long-obsolete {Get,Set}CommandHandler() functions.
515 - Enhance env.Append() to suppress null values when appropriate.
517 - Fix ParseConfig() so it works regardless of initial construction
520 Extend CheckHeader(), CheckCHeader(), CheckCXXHeader() and
521 CheckLibWithHeader() to accept a list of header files that will be
522 #included in the test. The last one in the list is assumed to be
523 the one being checked for. (Prototype code contributed by Gerard
524 Patel and Niall Douglas).
526 - Supply a warning when -j is used and threading isn't built in to
527 the current version of Python.
529 - First release of the User's Guide (finally, and despite a lot
530 of things still missing from it...).
534 - Generalize the action for .tex files so that it will decide whether
535 a file is TeX or LaTeX, check the .aux output to decide if it should
536 run bibtex, and check the .log output to re-run LaTeX if needed.
540 - Split the non-SCons-specific functionality from SConf.py to a new,
541 re-usable Conftest.py module.
543 From Gary Oberbrunner:
545 - Allow a directory to be the target or source or dependency of a
546 Depends(), Ignore(), Precious() or SideEffect() call.
550 - Use the %{_mandir} macro when building our RPM package.
554 - Have the closing message say "...terminated because of errors" if
559 - On Win32 systems, only use "rm" to delete files if Cygwin is being
560 used. ("rm" doesn't understand Win32-format path names.)
562 From Christoph Wiedemann:
564 - Fix test/SWIG.py to find the Python include directory in all cases.
566 - Fix a bug in detection of Qt installed on the local system.
568 - Support returning Python 2.3 BooleanType values from Configure checks.
570 - Provide an error message if someone mistakenly tries to call a
571 Configure check from within a Builder function.
573 - Support calling a Builder when a Configure context is still open.
575 - Handle interrupts better by eliminating all try:-except: blocks
576 which caught any and all exceptions, including KeyboardInterrupt.
578 - Add a --duplicate= option to control how files are duplicated.
582 RELEASE 0.92 - Wed, 20 Aug 2003 03:45:28 -0500
584 From Charles Crain and Gary Oberbrunner:
586 - Fix Tool import problems with the Intel and PharLap linkers.
590 - Refactor the DictCmdGenerator class to be a Selector subclass.
592 - Allow the DefaultEnvironment() function to take arguments and pass
593 them to instantiation of the default construction environment.
595 - Update the Debian package so it uses Python 2.2 and more closely
596 resembles the currently official Debian packaging info.
600 - When the yacc -d flag is used, take the .h file base name from the
601 target .c file, not the source (matching what yacc does).
605 RELEASE 0.91 - Thu, 14 Aug 2003 13:00:44 -0500
609 - Support specifying a list of tools when calling Environment.Copy().
611 - Give a Value Nodes a timestamp of the system time when they're
612 created, so they'll work when using timestamp-based signatures.
614 - Add a DefaultEnvironment() function that only creates a default
615 environment on-demand (for fetching source files, e.g.).
617 - Portability fix for test/M4.py.
621 - Tighten up the scons -H help output.
623 - When the input yacc file ends in .yy and the -d flag is specified,
624 recognize that a .hpp file (not a .h file) will be created.
626 - Make builder prefixes work correctly when deducing a target
627 from a source file name in another directory.
629 - Documentation fixes: typo in the man page; explain up-front about
630 not propagating the external environment.
632 - Use "cvs co -d" instead of "cvs co -p >" when checking out something
633 from CVS with a specified module name. This avoids zero-length
634 files when there is a checkout error.
636 - Add an "sconsign" script to print the contents of .sconsign files.
638 - Speed up maintaining the various lists of Node children by using
639 dictionaries to avoid "x in list" searches.
641 - Cache the computed list of Node children minus those being Ignored
642 so it's only calculated once.
644 - Fix use of the --cache-show option when building a Program()
645 (or using any other arbitrary action) by making sure all Action
646 instances have strfunction() methods.
648 - Allow the source of Command() to be a directory.
650 - Better error handling of things like raw TypeErrors in SConscripts.
652 - When installing using "setup.py install --prefix=", suppress the
653 distutils warning message about adding the (incorrect) library
654 directory to your search path.
656 - Correct the spelling of the "validater" option to "validator."
657 Add a DeprecatedWarning when the old spelling is used.
659 - Allow a Builder's emitter to be a dictionary that maps source file
660 suffixes to emitter functions, using the suffix of the first file
661 in the source list to pick the right one.
663 - Refactor the creation of the Program, *Object and *Library Builders
664 so that they're moved out of SCons.Defaults and created on demand.
666 - Don't split SConscript file names on white space.
668 - Document the SConscript function's "dirs" and "name" keywords.
670 - Remove the internal (and superfluous) SCons.Util.argmunge() function.
672 - Add /TP to the default CXXFLAGS for msvc, so it can compile all
673 of the suffixes we use as C++ files.
675 - Allow the "prefix" and "suffix" attributes of a Builder to be
676 callable objects that return generated strings, or dictionaries
677 that map a source file suffix to the right prefix/suffix.
679 - Support a MAXLINELINELENGTH construction variable on Win32 systems
680 to control when a temporary file is used for long command lines.
682 - Make how we build .rpm packages not depend on the installation
683 locations from the distutils being used.
685 - When deducing a target Node, create it directly from the first
686 source Node, not by trying to create the right string to pass to
689 - Add support for SWIG.
693 - Test portability fixes for FreeBSD.
695 From Gary Oberbrunner:
697 - Report the target being built in error messages when building
698 multiple sources from different extensions, or when the target file
699 extension can't be deduced, or when we don't have an action for a
702 - Provide helpful error messages when the arguments to env.Install()
705 - Fix the value returned by the Node.prevsiginfo() method to conform
706 to a previous change when checking whether a node is current.
708 - Supply a stack trace if the Taskmaster catches an exception.
710 - When using a temporary file for a long link line on Win32 systems,
711 (also) print the command line that is being executed through the
714 - Initialize the LIB environment variable when using the Intel
717 - Documentation fixes: better explain the AlwaysBuild() function.
721 - When the -debug=pdb option is specified, use pdb.Pdb().runcall() to
722 call pdb directly, don't call Python recursively.
726 - Add support for a platform-independent CPPDEFINES variable.
728 From Christoph Wiedemann:
730 - Have the g++ Tool actually use g++ in preference to c++.
732 - Have the gcc Tool actually use gcc in preference to cc.
734 - Add a gnutools.py test of the GNU tool chain.
736 - Be smarter about linking: use $CC by default and $CXX only if we're
737 linking with any C++ objects.
739 - Avoid SCons hanging when a piped command has a lot of output to read.
741 - Add QT support for preprocessing .ui files into .c files.
745 RELEASE 0.90 - Wed, 25 Jun 2003 14:24:52 -0500
749 - Fix the _concat() documentation, and add a test for it.
751 - Portability fixes for non-GNU versions of lex and yacc.
755 - Fix handling of library prefixes when the subdirectory matches
758 From Timothee Bessett:
764 - Use '.lnk' as the suffix on the temporary file for linking long
765 command lines (necessary for the Phar Lap linkloc linker).
767 - Save non-string Options values as their actual type.
769 - Save Options string values that contain a single quote correctly.
771 - Save any Options values that are changed from the default
772 Environment values, not just ones changed on the command line or in
775 - Make closing the Options file descriptor exception-safe.
779 - SCons now enforces (with an error) that construction variables
780 must have the same form as valid Python identifiers.
782 - Fix man page bugs: remove duplicate AddPostAction() description;
783 document no_import_lib; mention that CPPFLAGS does not contain
784 $_CPPINCFLAGS; mention that F77FLAGS does not contain $_F77INCFLAGS;
785 mention that LINKFLAGS and SHLINKFLAGS contains neither $_LIBFLAGS
788 - Eliminate a dependency on the distutils.fancy_getopt module by
789 copying and pasting its wrap_text() function directly.
791 - Make the Script.Options() subclass match the underlying base class
794 - When reporting a target is up to date, quote the target like make
795 (backquote-quote) instead of with double quotes.
797 - Fix handling of ../* targets when using -U, -D or -u.
801 - Don't update the .sconsign files when run with -n.
803 From Gary Oberbrunner:
805 - Add support for the Intel C Compiler (icl.exe).
813 - Fix use of SConf in paths with white space in them.
815 - Add CheckFunc and CheckType functionality to SConf.
817 - Fix use of SConf with Builders that return a list of nodes.
819 From David Snopek and Christoph Wiedemann
821 - Fix use of the SConf subsystem with SConscriptChdir().
825 - Check for the existence of MS Visual Studio on disk before using it,
826 to avoid getting fooled by leftover junk in the registry.
828 - Add support for MSVC++ .NET.
830 - Add support for MS Visual Studio project files (DSP, DSW,
831 SLN and VCPROJ files).
833 From Christoph Wiedemann
835 - SConf now works correctly when the -n and -q options are used.
839 RELEASE 0.14 - Wed, 21 May 2003 05:16:32 -0500
843 - Use .dll (not .so) for shared libraries on Cygwin; use -fPIC
846 - Use 'rm' to remove files under Cygwin.
848 - Add a PLATFORM variable to construction environments.
850 - Remove the "platform" argument from tool specifications.
852 - Propogate PYTHONPATH when running the regression tests so distutils
853 can be found in non-standard locations.
855 - Using MSVC long command-line linking when running Cygwin.
857 - Portability fixes for a lot of tests.
859 - Add a Value Node class for dependencies on in-core Python values.
863 - Pass an Environment to the Options validator method, and
864 add an Options.Save() method.
866 From Steve Christensen:
868 - Add an optional sort function argument to the GenerateHelpText()
871 - Evaluate the "varlist" variables when computing the signature of a
876 - Parse the source .java files for class names (including inner class
877 names) to figure out the target .class files that will be created.
879 - Make Java support work with Repositories and SConscriptChdir(0).
881 - Pass Nodes, not strings, to Builder emitter functions.
883 - Refactor command-line interpolation and signature calculation
884 so we can use real Node attributes.
888 - Add Java support (javac, javah, jar and rmic).
890 - Propagate the external SYSTEMROOT environment variable into ENV on
891 Win32 systems, so external commands that use sockets will work.
893 - Add a .posix attribute to PathList expansions.
895 - Check out CVS source files using POSIX path names (forward slashes
896 as separators) even on Win32.
898 - Add Node.clear() and Node.FS.Entry.clear() methods to wipe out a
899 Node's state, allowing it to be re-evaluated by continuous
900 integration build interfaces.
902 - Change the name of the Set{Build,Content}SignatureType() functions
903 to {Target,Source}Signatures(). Deprecate the old names but support
904 them for backwards compatibility.
906 - Add internal SCons.Node.FS.{Dir,File}.Entry() methods.
908 - Interpolate the null string if an out-of-range subscript is used
909 for a construction variable.
911 - Fix the internal Link function so that it properly links or copies
912 files in subsidiary BuildDir directories.
914 - Refactor the internal representation of a single execution instance
915 of an action to eliminate redundant signature calculations.
917 - Eliminate redundant signature calculations for Nodes.
919 - Optimize out calling hasattr() before accessing attributes.
921 - Say "Cleaning targets" (not "Building...") when the -c option is
926 - Quote the "Entering directory" message like Make.
930 - Add support for using Ghostscript to convert Postscript to PDF files.
934 - Add a standalone "Alias" function (separate from an Environment).
936 - Make Export() work for local variables.
938 - Support passing a dictionary to Export().
940 - Support Import('*') to import everything that's been Export()ed.
942 - Fix an undefined exitvalmap on Win32 systems.
944 - Support new SetOption() and GetOption() functions for setting
945 various command-line options from with an SConscript file.
947 - Deprecate the old SetJobs() and GetJobs() functions in favor of
948 using the new generic {Set,Get}Option() functions.
950 - Fix a number of tests that searched for a Fortran compiler using the
951 external PATH instead of what SCons would use.
953 - Fix the interaction of SideEffect() and BuildDir() so that (for
954 example) PDB files get put correctly in a BuildDir().
958 - Contribute the "Autoscons" code for Autoconf-like checking for
959 the existence of libraries, header files and the like.
961 - Have the Tool() function add the tool name to the $TOOLS
962 construction variable.
966 - Support the C preprocessor #import statement.
968 - Allow the SharedLibrary() Builder on Win32 systems to be able to
969 register a newly-built dll using regsvr32.
971 - Add a Builder for Windows type library (.tlb) files from IDL files.
973 - Add an IDL scanner.
975 - Refactor the Fortran, C and IDL scanners to share common logic.
977 - Add .srcpath and .srcdir attributes to $TARGET and $SOURCE.
979 From Christoph Wiedemann:
981 - Integrate David Snopek's "Autoscons" code as the new SConf
982 configuration subsystem, including caching of values between
983 runs (using normal SCons dependency mechanisms), tests, and
988 RELEASE 0.13 - Mon, 31 Mar 2003 20:22:00 -0600
992 - Fix a bug when BuildDir(duplicate=0) is used and SConscript
993 files are called from within other SConscript files.
995 - Support (older) versions of Perforce which don't set the Windows
1000 RELEASE 0.12 - Thu, 27 Mar 2003 23:52:09 -0600
1004 - Added support for the Perforce source code management system.
1006 - Fix str(Node.FS) so that it returns a path relative to the calling
1007 SConscript file's directory, not the top-level directory.
1009 - Added support for a separate src_dir argument to SConscript()
1010 that allows explicit specification of where the source files
1011 for an SConscript file can be found.
1013 - Support more easily re-usable flavors of command generators by
1014 calling callable variables when strings are expanded.
1018 - Added an INSTALL construction variable that can be set to a function
1019 to control how the Install() and InstallAs() Builders install files.
1020 The default INSTALL function now copies, not links, files.
1022 - Remove deprecated features: the "name" argument to Builder objects,
1023 and the Environment.Update() method.
1025 - Add an Environment.SourceCode() method to support fetching files
1026 from source code systems. Add factory methods that create Builders
1027 to support BitKeeper, CVS, RCS, and SCCS. Add support for fetching
1028 files from RCS or SCCS transparently (like GNU Make).
1030 - Make the internal to_String() function more efficient.
1032 - Make the error message the same as other build errors when there's a
1033 problem unlinking a target file in preparation for it being built.
1035 - Make TARGET, TARGETS, SOURCE and SOURCES reserved variable names and
1036 warn if the user tries to set them in a construction environment.
1038 - Add support for Tar and Zip files.
1040 - Better documentation of the different ways to export variables to a
1041 subsidiary SConscript file. Fix documentation bugs in a tools
1042 example, places that still assumed SCons split strings on white
1045 - Support fetching arbitrary files from the TARGETS or SOURCES lists
1046 (e.g. ${SOURCES[2]}) when calculating the build signature of a
1049 - Don't silently swallow exceptions thrown by Scanners (or other
1050 exceptions while finding a node's dependent children).
1052 - Push files to CacheDir() before calling the superclass built()
1053 method (which may clear the build signature as part of clearing
1054 cached implicit dependencies, if the file has a source scanner).
1055 (Bug reported by Jeff Petkau.)
1057 - Raise an internal error if we attempt to push a file to CacheDir()
1058 with a build signature of None.
1060 - Add an explicit Exit() function for terminating early.
1062 - Change the documentation to correctly describe that the -f option
1063 doesn't change to the directory in which the specified file lives.
1065 - Support changing directories locally with SConscript directory
1066 path names relative to any SConstruct file specified with -f.
1067 This allows you to build in another directory by simply changing
1068 there and pointing at the SConstruct file in another directory.
1070 - Change the default SConscriptChdir() behavior to change to the
1071 SConscript directory while it's being read.
1073 - Fix an exception thrown when the -U option was used with no
1074 Default() target specified.
1076 - Fix -u so that it builds things in corresponding build directories
1077 when used in a source directory.
1081 - Add SharedObject() support to the masm tool.
1083 - Fix WhereIs() to return normalized paths.
1087 - Don't copy a built file to a CacheDir() if it's already there.
1089 - Avoid partial copies of built files in a CacheDir() by copying
1090 to a temporary file and renaming.
1094 - Fix incorrect dependency-cycle errors when an Aliased source doesn't
1099 RELEASE 0.11 - Tue, 11 Feb 2003 05:24:33 -0600
1103 - Add support for IRIX and the SGI MIPSPro tool chain.
1105 - Support using the MSVC tool chain when running Cygwin Python.
1109 - Avoid losing signal bits in the exit status from a command,
1110 helping terminate builds on interrupt (CTRL+C).
1114 - Added new AddPreAction() and AddPostAction() functions that support
1115 taking additional actions before or after building specific targets.
1117 - Add support for the PharLap ETS tool chain.
1121 - Allow Python function Actions to specify a list of construction
1122 variables that should be included in the Action's signature.
1124 - Allow libraries in the LIBS variable to explicitly include the prefix
1125 and suffix, even when using the GNU linker.
1126 (Bug reported by Neal Becker.)
1128 - Use DOS-standard CR-LF line endings in the scons.bat file.
1129 (Bug reported by Gary Ruben.)
1131 - Doc changes: Eliminate description of deprecated "name" keyword
1132 argument from Builder definition (reported by Gary Ruben).
1134 - Support using env.Append() on BUILDERS (and other dictionaries).
1135 (Bug reported by Bj=F6rn Bylander.)
1137 - Setting the BUILDERS construction variable now properly clears
1138 the previous Builder attributes from the construction Environment.
1139 (Bug reported by Bj=F6rn Bylander.)
1141 - Fix adding a prefix to a file when the target isn't specified.
1142 (Bug reported by Esa Ilari Vuokko.)
1144 - Clean up error messages from problems duplicating into read-only
1145 BuildDir directories or into read-only files.
1147 - Add a CommandAction.strfunction() method, and add an "env" argument
1148 to the FunctionAction.strfunction() method, so that all Action
1149 objects have strfunction() methods, and the functions for building
1150 and returning a string both take the same arguments.
1152 - Add support for new CacheDir() functionality to share derived files
1153 between builds, with related options --cache-disable, --cache-force,
1156 - Change the default behavior when no targets are specified to build
1157 everything in the current directory and below (like Make). This
1158 can be disabled by specifying Default(None) in an SConscript.
1160 - Revamp SCons installation to fix a case-sensitive installation
1161 on Win32 systems, and to add SCons-specific --standard-lib,
1162 --standalone-lib, and --version-lib options for easier user
1163 control of where the libraries get installed.
1165 - Fix the ability to directly import and use Platform and Tool modules
1166 that have been implicitly imported into an Environment().
1168 - Add support for allowing an embedding interface to annotate a node
1171 - Extend the SConscript() function to accept build_dir and duplicate
1172 keyword arguments that function like a BuildDir() call.
1176 - Fix the output of -c -n when directories are involved, so it
1181 - Use a different shared object suffix (.os) when using gcc so shared
1182 and static objects can exist side-by-side in the same directory.
1184 - Allow the same object files on Win32 to be linked into either
1185 shared or static libraries.
1187 - Cache implicit cache values when using --implicit-cache.
1191 RELEASE 0.10 - Thu, 16 Jan 2003 04:11:46 -0600
1193 From Derrick 'dman' Hudson:
1195 - Support Repositories on other file systems by symlinking or
1196 copying files when hard linking won't work.
1200 - Remove Python bytecode (*.pyc) files from the scons-local packages.
1202 - Have FunctionActions print a description of what they're doing
1203 (a representation of the Python call).
1205 - Fix the Install() method so that, like other actions, it prints
1206 what would have happened when the -n option is used.
1208 - Don't create duplicate source files in a BuildDir when the -n
1211 - Refactor the Scanner interface to eliminate unnecessary Scanner
1212 calls and make it easier to write efficient scanners.
1214 - Added a "recursive" flag to Scanner creation that specifies the
1215 Scanner should be invoked recursively on dependency files returned
1218 - Significant performance improvement from using a more efficient
1219 check, throughout the code, for whether a Node has a Builder.
1221 - Fix specifying only the source file to MultiStepBuilders such as
1222 the Program Builder. (Bug reported by Dean Bair.)
1224 - Fix an exception when building from a file with the same basename as
1225 the subdirectory in which it lives. (Bug reported by Gerard Patel.)
1227 - Fix automatic deduction of a target file name when there are
1228 multiple source files specified; the target is now deduced from just
1229 the first source file in the list.
1231 - Documentation fixes: better initial explanation of SConscript files;
1232 fix a misformatted "table" in the StaticObject explanation.
1234 From Steven Knight and Steve Leblanc:
1236 - Fix the -c option so it will remove symlinks.
1240 - Add a Clean() method to support removing user-specified targets
1241 when using the -c option.
1243 - Add a development script for running SCons through PyChecker.
1245 - Clean up things found by PyChecker (mostly unnecessary imports).
1247 - Add a script to use HappyDoc to create HTML class documentation.
1251 - Make the Environment.get() method return None by default.
1255 - Add SetJobs() and GetJobs() methods to allow configuration of the
1256 number of default jobs (still overridden by -j).
1258 - Convert the .sconsign file format from ASCII to a pickled Python
1261 - Error message cleanups: Made consistent the format of error
1262 messages (now all start with "scons: ***") and warning messages (now
1263 all start with "scons: warning:"). Caught more cases with the "Do
1264 not know how to build" error message.
1266 - Added support for the MinGW tool chain.
1268 - Added a --debug=includes option.
1272 RELEASE 0.09 - Thu, 5 Dec 2002 04:48:25 -0600
1276 - Add a Prepend() method to Environments, to append values to
1277 the beginning of construction variables.
1281 - Add long command-line support to the "lib" Tool (Microsoft library
1286 - Allow $$ in a string to be passed through as $.
1288 - Support file names with odd characters in them.
1290 - Add support for construction variable substition on scanner
1291 directories (in CPPPATH, F77PATH, LIBPATH, etc.).
1293 From Charles Crain and Steven Knight:
1295 - Add Repository() functionality, including the -Y option.
1299 - Fix auto-deduction of target names so that deduced targets end
1300 up in the same subdirectory as the source.
1302 - Don't remove source files specified on the command line!
1304 - Suport the Intel Fortran Compiler (ifl.exe).
1306 - Supply an error message if there are no command-line or
1307 Default() targets specified.
1309 - Fix the ASPPCOM values for the GNU assembler.
1310 (Bug reported by Brett Polivka.)
1312 - Fix an exception thrown when a Default() directory was specified
1313 when using the -U option.
1315 - Issue a warning when -c can't remove a target.
1317 - Eliminate unnecessary Scanner calls by checking for the
1318 existence of a file before scanning it. (This adds a generic
1319 hook to check an arbitrary condition before scanning.)
1321 - Add explicit messages to tell when we're "Reading SConscript files
1322 ...," "done reading SConscript files," "Building targets," and
1323 "done building targets." Add a -Q option to supress these.
1325 - Add separate $SHOBJPREFIX and $SHOBJSUFFIX construction variables
1326 (by default, the same as $OBJPREFIX and $OBJSUFFIX).
1328 - Add Make-like error messages when asked to build a source file,
1329 and before trying to build a file that doesn't have all its source
1330 files (including when an invalid drive letter is used on WIN32).
1332 - Add an scons-local-{version} package (in both .tar.gz and .zip
1333 flavors) to help people who want to ship SCons as a stand-alone
1334 build tool in their software packages.
1336 - Prevent SCons from unlinking files in certain situations when
1337 the -n option is used.
1339 - Change the name of Tool/lib.py to Tool/mslib.py.
1341 From Steven Knight and Anthony Roach:
1343 - Man page: document the fact that Builder calls return Node objects.
1347 - Refactor option processing to use our own version of Greg Ward's
1348 Optik module, modified to run under Python 1.5.2.
1350 - Add a ParseConfig() command to modify an environment based on
1351 parsing output from a *-config command.
1355 - Fix interpretation of '#/../foo' on Win32 systems.
1359 - Fixed use of command lines with spaces in their arguments,
1360 and use of Nodes with spaces in their string representation.
1362 - Make access and modification times of files in a BuildDir match
1363 the source file, even when hard linking isn't available.
1365 - Make -U be case insensitive on Win32 systems.
1367 - Issue a warning and continue when finding a corrupt .sconsign file.
1369 - Fix using an alias as a dependency of a target so that if one of the
1370 alias' dependencies gets rebuilt, the resulting target will, too.
1372 - Fix differently ordered targets causing unnecessary rebuilds
1373 on case insensitive systems.
1375 - Use os.system() to execute external commands whenever the "env"
1376 utility is available, which is much faster than fork()/exec(),
1377 and fixes the -j option on several platforms.
1379 - Fix use of -j with multiple targets.
1381 - Add an Options() object for friendlier accomodation of command-
1384 - Add support for Microsoft VC++ precompiled header (.pch) files,
1385 debugger (.pdb) files, and resource (.rc) files.
1387 - Don't compute the $_CPPINCFLAGS, $_F77INCFLAGS, $_LIBFLAGS and
1388 $_LIBDIRFLAGS variables each time a command is executed, define
1389 them so they're computed only as needed. Add a new _concat
1390 function to the Environment that allows people to define their
1391 own similar variables.
1393 - Fix dependency scans when $LIBS is overridden.
1395 - Add EnsurePythonVersion() and EnsureSConsVersion() functions.
1397 - Fix the overly-verbose stack trace on ListBuilder build errors.
1399 - Add a SetContentSignatureType() function, allowing use of file
1400 timestamps instead of MD5 signatures.
1402 - Make -U and Default('source') fail gracefully.
1404 - Allow the File() and Dir() methods to take a path-name string as
1405 the starting directory, in addition to a Dir object.
1407 - Allow the command handler to be selected via the SPAWN, SHELL
1408 and ESCAPE construction variables.
1410 - Allow construction variables to be overridden when a Builder
1415 - Dynamically check for the existence of utilities with which to
1416 initialize Environments by default.
1420 RELEASE 0.08 - Mon, 15 Jul 2002 12:08:51 -0500
1424 - Fixed a bug with relative CPPPATH dirs when using BuildDir().
1425 (Bug reported by Bob Summerwill.)
1427 - Added a warnings framework and a --warn option to enable or
1430 - Make the C scanner warn users if files referenced by #include
1431 directives cannot be found and --warn=dependency is specified.
1433 - The BUILDERS construction variable should now be a dictionary
1434 that maps builder names to actions. Existing uses of lists,
1435 and the Builder name= keyword argument, generate warnings
1436 about use of deprecated features.
1438 - Removed the "shared" keyword argument from the Object and
1441 - Added separated StaticObject, SharedObject, StaticLibrary and
1442 SharedLibrary builders. Made Object and Library synonyms for
1443 StaticObject and StaticLibrary, respectively.
1445 - Add LIBS and LIBPATH dependencies for shared libraries.
1447 - Removed support for the prefix, suffix and src_suffix arguments
1448 to Builder() to be callable functions.
1450 - Fix handling file names with multiple dots.
1452 - Allow a build directory to be outside of the SConstruct tree.
1454 - Add a FindFile() function that searches for a file node with a
1457 - Add $CPPFLAGS to the shared-object command lines for g++ and gcc.
1459 From Charles Crain and Steven Knight:
1461 - Add a "tools=" keyword argument to Environment instantiation,
1462 and a separate Tools() method, for more flexible specification
1463 of tool-specific environment changes.
1467 - Add a "platform=" keyword argument to Environment instantiation,
1468 and a separate Platform() method, for more flexible specification
1469 of platform-specific environment changes.
1471 - Updated README instructions and setup.py code to catch an
1472 installation failure from not having distutils installed.
1474 - Add descriptions to the -H help text for -D, -u and -U so
1475 people can tell them apart.
1477 - Remove the old feature of automatically splitting strings
1478 of file names on white space.
1480 - Add a dependency Scanner for native Fortran "include" statements,
1481 using a new "F77PATH" construction variable.
1483 - Fix C #include scanning to detect file names with characters like
1486 - Add more specific version / build output to the -v option.
1488 - Add support for the GNU as, Microsoft masm, and nasm assemblers.
1490 - Allow the "target" argument to a Builder call to be omitted, in
1491 which case the target(s) are deduced from the source file(s) and the
1492 Builder's specified suffix.
1494 - Add a tar archive builder.
1496 - Add preliminary support for the OS/2 Platform, including the icc
1501 - Fix --implicit-cache if the scanner returns an empty list.
1505 - Add a "multi" keyword argument to Builder creation that specifies
1506 it's okay to call the builder multiple times for a target.
1508 - Set a "multi" on Aliases so multiple calls will append to an Alias.
1510 - Fix emitter functions' use of path names when using BuildDir or
1513 - Fix --implicit-cache causing redundant rebuilds when the header
1516 - Fix --implicit-cache when a file has no implicit dependencies and
1517 its source is generated.
1519 - Make the drive letters on Windows always be the same case, so that
1520 changes in the case of drive letters don't cause a rebuild.
1522 - Fall back to importing the SCons.TimeStamp module if the SCons.MD5
1523 module can't be imported.
1525 - Fix interrupt handling to guarantee that a single interrupt will
1526 halt SCons both when using -j and not.
1528 - Fix .sconsign signature storage so that output files of one build
1529 can be safely used as input files to another build.
1531 - Added a --debug=time option to print SCons execution times.
1533 - Print an error message if a file can't be unlinked before being
1534 built, rather than just silently terminating the build.
1536 - Add a SideEffect() method that can be used to tell the build
1537 engine that a given file is created as a side effect of building
1538 a target. A file can be specified as a side effect of more than
1539 one build comand, in which case the commands will not be executed
1542 - Significant performance gains from not using our own version of
1543 the inefficient stock os.path.splitext() method, caching source
1544 suffix computation, code cleanup in MultiStepBuilder.__call__(),
1545 and replicating some logic in scons_subst().
1547 - Add --implicit-deps-changed and --implicit-deps-unchanged options.
1549 - Add a GetLaunchDir() function.
1551 - Add a SetBuildSignatureType() function.
1555 - Add an Append() method to Environments, to append values to
1556 construction variables.
1558 - Change the name of Update() to Replace(). Keep Update() as a
1559 deprecated synonym, at least for now.
1561 From Terrel Shumway:
1563 - Use a $PYTHON construction variable, initialized to sys.executable,
1564 when using Python to build parts of the SCons packages.
1566 - Use sys.prefix, not sys.exec_prefix, to find pdb.py.
1570 RELEASE 0.07 - Thu, 2 May 2002 13:37:16 -0500
1574 - Changes to build SCons packages on IRIX (and other *NIces).
1576 - Don't create a directory Node when a file already exists there,
1579 - Add 'dirs' and 'names' keyword arguments to SConscript for
1580 easier specification of subsidiary SConscript files.
1584 - Internal cleanup of environment passing to function Actions.
1586 - Builders can now take arbitrary keyword arguments to create
1587 attributes to be passed to: command generator functions,
1588 FunctionAction functions, Builder emitter functions (below),
1589 and prefix/suffix generator functions (below).
1591 - Command generator functions can now return ANYTHING that can be
1592 converted into an Action (a function, a string, a CommandGenerator
1593 instance, even an ActionBase instance).
1595 - Actions now call get_contents() with the actual target and source
1596 nodes used for the build.
1598 - A new DictCmdGenerator class replaces CompositeBuilder to support
1599 more flexible Builder behavior internally.
1601 - Builders can now take an emitter= keyword argument. An emitter
1602 is a function that takes target, source, and env argument, then
1603 return a 2-tuple of (new sources, new targets). The emitter is
1604 called when the Builder is __call__'ed, allowing a user to modify
1605 source and target lists.
1607 - The prefix, suffix and src_suffix Builder arguments now take a
1608 callable as well a string. The callable is passed the Environment
1609 and any extra Builder keyword arguments and is expected to return
1610 the appropriate prefix or suffix.
1612 - CommandActions can now be a string, a list of command + argument
1613 strings, or a list of commands (strings or lists).
1615 - Added shared library support. The Object and Library Builders now
1616 take a "shared=1" keyword argument to specify that a shared object
1617 or shared library should be built. It is an error to try to build
1618 static objects into a shared library or vice versa.
1620 - Win32 support for .def files has been added. Added the Win32-specific
1621 construction variables $WIN32DEFPREFIX, $WIN32DEFSUFFIX,
1622 $WIN32DLLPREFIX and $WIN32IMPLIBPREFIX. When building a .dll,
1623 the new construction variable $WIN32_INSERT_DEF, controls whether
1624 the appropriately-named .def file is inserted into the target
1625 list (if not already present). A .lib file is always added to
1626 a Library build if not present in the list of targets.
1628 - ListBuilder now passes all targets to the action, not just the first.
1630 - Fix so that -c now deletes generated yacc .h files.
1632 - Builder actions and emitter functions can now be initialized, through
1633 construction variables, to things other than strings.
1635 - Make top-relative '#/dir' lookups work like '#dir'.
1637 - Fix for relative CPPPATH directories in subsidiary SConscript files
1640 - Add a for_signature argument to command generators, so that
1641 generators that need to can return distinct values for the
1642 command signature and for executing the command.
1646 - Create a better scons.bat file from a py2bat.py script on the Python
1647 mailing list two years ago (modeled after pl2bat.pl).
1651 - Fix so that -c -n does *not* remove the targets!
1653 - Man page: Add a hierarchical libraries + Program example.
1655 - Support long MSVC linker command lines through a builder action
1656 that writes to a temporary file and uses the magic MSVC "link @file"
1657 argument syntax if the line is longer than 2K characters.
1659 - Fix F77 command-line options on Win32 (use /Fo instead of -o).
1661 - Use the same action to build from .c (lower case) and .C (upper
1662 case) files on case-insensitive systems like Win32.
1664 - Support building a PDF file directly from a TeX or LaTeX file
1665 using pdftex or pdflatex.
1667 - Add a -x option to runtest.py to specify the script being tested.
1668 A -X option indicates it's an executable, not a script to feed
1669 to the Python interpreter.
1671 - Add a Split() function (identical to SCons.Util.argmunge()) for use
1672 in the next release, when Builders will no longer automatically split
1673 strings on white space.
1677 - Add the SConscriptChdir() method.
1681 - Fix --debug=tree when used with directory targets.
1683 - Significant internal restructuring of Scanners and Taskmaster.
1685 - Added new --debug=dtree option.
1687 - Fixes for --profile option.
1689 - Performance improvement in construction variable substitution.
1691 - Implemented caching of content signatures, plus added --max-drift
1692 option to control caching.
1694 - Implemented caching of dependency signatures, enabled by new
1695 --implicit-cache option.
1697 - Added abspath construction variable modifier.
1699 - Added $SOURCE variable as a synonym for $SOURCES[0].
1701 - Write out .sconsign files on error or interrupt so intermediate
1702 build results are saved.
1704 - Change the -U option to -D. Make a new -U that builds just the
1705 targets from the local SConscript file.
1707 - Fixed use of sys.path so Python modules can be imported from
1708 the SConscript directory.
1710 - Fix for using Aliases with the -u, -U and -D options.
1712 - Fix so that Nodes can be passed to SConscript files.
1716 - Changes for official Debian packaging.
1720 RELEASE 0.06 - Thu, 28 Mar 2002 01:24:29 -0600
1724 - Fix command generators to expand construction variables.
1726 - Make FunctionAction arguments be Nodes, not strings.
1728 From Stephen Kennedy:
1730 - Performance: Use a dictionary, not a list, for a Node's parents.
1734 - Add .zip files to the packages we build.
1736 - Man page: document LIBS, fix a typo, document ARGUMENTS.
1738 - Added RANLIB and RANLIBFLAGS construction variables. Only use them
1739 in ARCOM if there's a "ranlib" program on the system.
1741 - Add a configurable CFILESUFFIX for the Builder of .l and .y files
1744 - Add a CXXFile Builder that turns .ll and .yy files into .cc files
1745 (configurable via a CXXFILESUFFIX construction variable).
1747 - Use the POSIX-standard lex -t flag, not the GNU-specific -o flag.
1748 (Bug reported by Russell Christensen.)
1750 - Fixed an exception when CPPPATH or LIBPATH is a null string.
1751 (Bug reported by Richard Kiss.)
1753 - Add a --profile=FILE option to make profiling SCons easier.
1755 - Modify the new DVI builder to create .dvi files from LaTeX (.ltx
1758 - Add support for Aliases (phony targets).
1760 - Add a WhereIs() method for searching for path names to executables.
1762 - Add PDF and PostScript document builders.
1764 - Add support for compiling Fortran programs from a variety of
1765 suffixes (a la GNU Make): .f, .F, .for, .FOR, .fpp and .FPP
1767 - Support a CPPFLAGS variable on all default commands that use the
1772 - Add support for the -U option.
1774 - Allow CPPPATH, LIBPATH and LIBS to be specified as white-space
1777 - Add a document builder to create .dvi files from TeX (.tex) files.
1781 - Fix: Construction variables with values of 0 were incorrectly
1784 - Support env['VAR'] to fetch construction variable values.
1786 - Man page: document Precious().
1790 RELEASE 0.05 - Thu, 21 Feb 2002 16:50:03 -0600
1794 - Set PROGSUFFIX to .exe under Cygwin.
1798 - Allow a library to specified as a command-line source file, not just
1799 in the LIBS construction variable.
1801 - Compensate for a bug in os.path.normpath() that returns '' for './'
1804 - More performance optimizations: cache #include lines from files,
1805 eliminate unnecessary calls.
1807 - If a prefix or suffix contains white space, treat the resulting
1808 concatenation as separate arguments.
1810 - Fix irregularities in the way we fetch DevStudio information from
1811 the Windows registry, and in our registry error handling.
1815 - Flush stdout after print so it intermixes correctly with stderr
1818 - Allow Scanners to return a list of strings, and document how to
1819 write your own Scanners.
1821 - Look up implicit (scanned) dependencies relative to the directory
1822 of file being scanned.
1824 - Make writing .sconsign files more robust by first trying to write
1825 to a temp file that gets renamed.
1827 - Create all of the directories for a list of targets before trying
1828 to build any of the targets.
1830 - WIN32 portability fixes in tests.
1832 - Allow the list of variables exported to an SConscript file to be
1835 - Document the overlooked LIBPATH construction variable.
1836 (Bug reported by Eicke Godehardt.)
1838 - Fix so that Ignore() ignores indirect, implicit dependencies
1839 (included files), not just direct dependencies.
1841 - Put the man page in the Debian distribution.
1843 - Run HTML docs through tidy to clean up the HTML (for Konqueror).
1845 - Add preliminary support for Unicode strings.
1847 - Efficiency: don't scan dependencies more than once during the
1850 - Fix the -c option so it doesn't stop removing targets if one doesn't
1852 (Bug reported by Paul Connell.)
1854 - Fix the --debug=pdb option when run on Windows NT.
1855 (Bug reported by Paul Connell.)
1857 - Add support for the -q option.
1861 - Add support for the -u option.
1863 - Add .cc and .hh file suffixes to the C Scanner.
1867 - Make the scons script return an error code on failures.
1869 - Add support for using code to generate a command to build a target.
1873 RELEASE 0.04 - Wed, 30 Jan 2002 11:09:42 -0600
1877 - Significant performance improvements in the Node.FS and
1880 - Fix signatures of binary files on Win32 systems.
1882 - Allow LIBS and LIBPATH to be strings, not just arrays.
1884 - Print a traceback if a Python-function builder throws an exception.
1888 - Fix using a directory as a Default(), and allow Default() to
1889 support white space in file names for strings in arrays.
1891 - Man page updates: corrected some mistakes, documented various
1892 missing Environment methods, alphabetized the construction
1893 variables and other functions, defined begin and end macros for
1894 the example sections, regularized white space separation, fixed
1895 the use of Export() in the Multiple Variants example.
1897 - Function action fixes: None is now a successful return value.
1898 Exceptions are now reported. Document function actions.
1900 - Add 'Action' and 'Scanner' to the global keywords so SConscript
1901 files can use them too.
1903 - Removed the Wrapper class between Nodes and Walkers.
1905 - Add examples using Library, LIBS, and LIBPATH.
1907 - The C Scanner now always returns a sorted list of dependencies
1908 so order changes don't cause unnecessary rebuilds.
1910 - Strip $(-$) bracketed text from command lines. Use this to
1911 surround $_INCDIRS and $_LIBDIRS so we don't rebuild in response
1912 to changes to -I or -L options.
1914 - Add the Ignore() method to ignore dependencies.
1916 - Provide an error message when a nonexistent target is specified
1917 on the command line.
1919 - Remove targets before building them, and add an Environment
1920 Precious() method to override that.
1922 - Eliminate redundant calls to the same builder when the target is a
1923 list of targets: Add a ListBuilder class that wraps Builders to
1924 handle lists atomically. Extend the Task class to support building
1925 and updating multiple targets in a single Task. Simplify the
1926 interface between Task and Taskmaster.
1928 - Add a --debug=pdb option to re-run SCons under the Python debugger.
1930 - Only compute a build signature once for each node.
1932 - Changes to our sys.path[] manipulation to support installation into
1933 an arbitrary --prefix value.
1937 - Add var=value command-line arguments.
1941 RELEASE 0.03 - Fri, 11 Jan 2002 01:09:30 -0600
1945 - Performance improvements in the Node.FS and Sig.Calculator classes.
1947 - Add the InstallAs() method.
1949 - Execute commands through an external interpreter (sh, cmd.exe, or
1950 command.com) to handle redirection metacharacters.
1952 - Allow the user to supply a command handler.
1956 - Search both /usr/lib and /usr/local/lib for scons directories by
1957 adding them both to sys.path, with whichever is in sys.prefix first.
1959 - Fix interpreting strings of multiple white-space separated file names
1960 as separate file names, allowing prefixes and suffixes to be appended
1961 to each individually.
1963 - Refactor to move CompositeBuilder initialization logic from the
1964 factory wrapper to the __init__() method, and allow a Builder to
1965 have both an action and a src_builder (or array of them).
1967 - Refactor BuilderBase.__call__() to separate Node creation/lookup
1968 from initialization of the Node's builder information.
1970 - Add a CFile Builder object that supports turning lex (.l) and
1971 yacc (.y) files into .c files.
1973 - Document: variable interpretation attributes; how to propogate
1974 the user's environment variables to executed commands; how to
1975 build variants in multiple BuildDirs.
1977 - Collect String, Dict, and List type-checking in common utility
1978 routines so we can accept User{String,Dict,List}s all over.
1980 - Put the Action factory and classes into their own module.
1982 - Use one CPlusPlusAction in the Object Builder's action dictionary,
1983 instead of letting it create multiple identical instances.
1985 - Document the Install() and InstallAs() methods.
1989 - Require that a Builder be given a name argument, supplying a
1990 useful error message when it isn't.
1994 - Add a "duplicate" keyword argument to BuildDir() that can be set
1995 to prevent linking/copying source files into build directories.
1997 - Add a "--debug=tree" option to print an ASCII dependency tree.
1999 - Fetch the location of the Microsoft Visual C++ compiler(s) from
2000 the Registry, instead of hard-coding the location.
2002 - Made Scanner objects take Nodes, not path names.
2004 - Have the C Scanner cache the #include file names instead of
2005 (re-)scanning the file each time it's called.
2007 - Created a separate class for parent "nodes" of file system roots,
2008 eliminating the need for separate is-parent-null checks everywhere.
2010 - Removed defined __hash__() and __cmp() methods from FS.Entry, in
2011 favor of Python's more efficient built-in identity comparisons.
2015 RELEASE 0.02 - Sun, 23 Dec 2001 19:05:09 -0600
2019 - Added the Install(), BuildDir(), and Export() methods.
2021 - Fix the -C option by delaying setting the top of the FS tree.
2023 - Avoid putting the directory path on the libraries in the LIBS
2024 construction variable.
2026 - Added a GetBuildPath() method to return the full path to the
2027 Node for a specified string.
2029 - Fixed variable substitution in CPPPATH and LIBPATH.
2033 - Fixed the version comment in the scons.bat (the UNIX geek used
2036 - Fix to setup.py so it doesn't require a sys.argv[1] argument.
2038 - Provide make-like warning message for "command not found" and
2041 - Added an EXAMPLES section to the man page.
2043 - Make Default() targets properly relative to their SConscript
2044 file's subdirectory.
2048 - Documented CXXFLAGS, CXXCOM, and CPPPATH.
2050 - Fixed SCONS_LIB_DIR to work as documented.
2052 - Made Default() accept Nodes as arguments.
2054 - Changed Export() to make it easier to use.
2056 - Added the Import() and Return() methods.
2060 RELEASE 0.01 - Thu Dec 13 19:25:23 CST 2001
2062 A brief overview of important functionality available in release 0.01:
2064 - C and C++ compilation on POSIX and Windows NT.
2066 - Automatic scanning of C/C++ source files for #include dependencies.
2068 - Support for building libraries; setting construction variables
2069 allows creation of shared libraries.
2071 - Library and C preprocessor search paths.
2073 - File changes detected using MD5 signatures.
2075 - User-definable Builder objects for building files.
2077 - User-definable Scanner objects for scanning for dependencies.
2079 - Parallel build (-j) support.
2081 - Dependency cycles detected.
2083 - Linux packages available in RPM and Debian format.
2085 - Windows installer available.