2 # __FILE__ __REVISION__ __DATE__ __DEVELOPER__
5 SCons - a software construction tool
15 - Support specifying a list of tools when calling Environment.Copy().
19 - Tighten up the scons -H help output.
21 - When the input yacc file ends in .yy and the -d flag is specified,
22 recognize that a .hpp file (not a .h file) will be created.
24 - Make builder prefixes work correctly when deducing a target
25 from a source file name in another directory.
27 - Documentation fixes: typo in the man page.
29 - Use "cvs co -d" instead of "cvs co -p >" when checking out something
30 from CVS with a specified module name. This avoids zero-length
31 files when there is a checkout error.
33 - Add an "sconsign" script to print the contents of .sconsign files.
35 - Speed up maintaining the various lists of Node children by using
36 dictionaries to avoid "x in list" searches.
38 - Cache the computed list of Node children minus those being Ignored
39 so it's only calculated once.
41 From Gary Oberbrunner:
43 - Report the target being built in error messages when building
44 multiple sources from different extensions, or when the target file
45 extension can't be deduced, or when we don't have an action for a
48 - Provide helpful error messages when the arguments to env.Install()
51 - Fix the value returned by the Node.prevsiginfo() method to conform
52 to a previous change when checking whether a node is current.
56 - When the -debug=pdb option is specified, use pdb.Pdb().runcall() to
57 call pdb directly, don't call Python recursively.
59 From Christoph Wiedemann
61 - Have the g++ Tool actually use g++ in preference to c++.
63 - Have the gcc Tool actually use gcc in preference to cc.
65 - Add a gnutools.py test of the GNU tool chain.
67 - Be smarter about linking: use $CC by default and $CXX only if we're
68 linking with any C++ objects.
72 RELEASE 0.90 - Wed, 25 Jun 2003 14:24:52 -0500
76 - Fix the _concat() documentation, and add a test for it.
78 - Portability fixes for non-GNU versions of lex and yacc.
82 - Fix handling of library prefixes when the subdirectory matches
85 From Timothee Bessett:
91 - Use '.lnk' as the suffix on the temporary file for linking long
92 command lines (necessary for the Phar Lap linkloc linker).
94 - Save non-string Options values as their actual type.
96 - Save Options string values that contain a single quote correctly.
98 - Save any Options values that are changed from the default
99 Environment values, not just ones changed on the command line or in
102 - Make closing the Options file descriptor exception-safe.
106 - SCons now enforces (with an error) that construction variables
107 must have the same form as valid Python identifiers.
109 - Fix man page bugs: remove duplicate AddPostAction() description;
110 document no_import_lib; mention that CPPFLAGS does not contain
111 $_CPPINCFLAGS; mention that F77FLAGS does not contain $_F77INCFLAGS;
112 mention that LINKFLAGS and SHLINKFLAGS contains neither $_LIBFLAGS
115 - Eliminate a dependency on the distutils.fancy_getopt module by
116 copying and pasting its wrap_text() function directly.
118 - Make the Script.Options() subclass match the underlying base class
121 - When reporting a target is up to date, quote the target like make
122 (backquote-quote) instead of with double quotes.
124 - Fix handling of ../* targets when using -U, -D or -u.
128 - Don't update the .sconsign files when run with -n.
130 From Gary Oberbrunner:
132 - Add support for the Intel C Compiler (icl.exe).
140 - Fix use of SConf in paths with white space in them.
142 - Add CheckFunc and CheckType functionality to SConf.
144 - Fix use of SConf with Builders that return a list of nodes.
146 From David Snopek and Christoph Wiedemann
148 - Fix use of the SConf subsystem with SConscriptChdir().
152 - Check for the existence of MS Visual Studio on disk before using it,
153 to avoid getting fooled by leftover junk in the registry.
155 - Add support for MSVC++ .NET.
157 - Add support for MS Visual Studio project files (DSP, DSW,
158 SLN and VCPROJ files).
160 From Christoph Wiedemann
162 - SConf now works correctly when the -n and -q options are used.
166 RELEASE 0.14 - Wed, 21 May 2003 05:16:32 -0500
170 - Use .dll (not .so) for shared libraries on Cygwin; use -fPIC
173 - Use 'rm' to remove files under Cygwin.
175 - Add a PLATFORM variable to construction environments.
177 - Remove the "platform" argument from tool specifications.
179 - Propogate PYTHONPATH when running the regression tests so distutils
180 can be found in non-standard locations.
182 - Using MSVC long command-line linking when running Cygwin.
184 - Portability fixes for a lot of tests.
186 - Add a Value Node class for dependencies on in-core Python values.
190 - Pass an Environment to the Options validator method, and
191 add an Options.Save() method.
193 From Steve Christensen:
195 - Add an optional sort function argument to the GenerateHelpText()
198 - Evaluate the "varlist" variables when computing the signature of a
203 - Parse the source .java files for class names (including inner class
204 names) to figure out the target .class files that will be created.
206 - Make Java support work with Repositories and SConscriptChdir(0).
208 - Pass Nodes, not strings, to Builder emitter functions.
210 - Refactor command-line interpolation and signature calculation
211 so we can use real Node attributes.
215 - Add Java support (javac, javah, jar and rmic).
217 - Propagate the external SYSTEMROOT environment variable into ENV on
218 Win32 systems, so external commands that use sockets will work.
220 - Add a .posix attribute to PathList expansions.
222 - Check out CVS source files using POSIX path names (forward slashes
223 as separators) even on Win32.
225 - Add Node.clear() and Node.FS.Entry.clear() methods to wipe out a
226 Node's state, allowing it to be re-evaluated by continuous
227 integration build interfaces.
229 - Change the name of the Set{Build,Content}SignatureType() functions
230 to {Target,Source}Signatures(). Deprecate the old names but support
231 them for backwards compatibility.
233 - Add internal SCons.Node.FS.{Dir,File}.Entry() methods.
235 - Interpolate the null string if an out-of-range subscript is used
236 for a construction variable.
238 - Fix the internal Link function so that it properly links or copies
239 files in subsidiary BuildDir directories.
241 - Refactor the internal representation of a single execution instance
242 of an action to eliminate redundant signature calculations.
244 - Eliminate redundant signature calculations for Nodes.
246 - Optimize out calling hasattr() before accessing attributes.
248 - Say "Cleaning targets" (not "Building...") when the -c option is
253 - Quote the "Entering directory" message like Make.
257 - Add support for using Ghostscript to convert Postscript to PDF files.
261 - Add a standalone "Alias" function (separate from an Environment).
263 - Make Export() work for local variables.
265 - Support passing a dictionary to Export().
267 - Support Import('*') to import everything that's been Export()ed.
269 - Fix an undefined exitvalmap on Win32 systems.
271 - Support new SetOption() and GetOption() functions for setting
272 various command-line options from with an SConscript file.
274 - Deprecate the old SetJobs() and GetJobs() functions in favor of
275 using the new generic {Set,Get}Option() functions.
277 - Fix a number of tests that searched for a Fortran compiler using the
278 external PATH instead of what SCons would use.
280 - Fix the interaction of SideEffect() and BuildDir() so that (for
281 example) PDB files get put correctly in a BuildDir().
285 - Contribute the "Autoscons" code for Autoconf-like checking for
286 the existence of libraries, header files and the like.
288 - Have the Tool() function add the tool name to the $TOOLS
289 construction variable.
293 - Support the C preprocessor #import statement.
295 - Allow the SharedLibrary() Builder on Win32 systems to be able to
296 register a newly-built dll using regsvr32.
298 - Add a Builder for Windows type library (.tlb) files from IDL files.
300 - Add an IDL scanner.
302 - Refactor the Fortran, C and IDL scanners to share common logic.
304 - Add .srcpath and .srcdir attributes to $TARGET and $SOURCE.
306 From Christoph Wiedemann:
308 - Integrate David Snopek's "Autoscons" code as the new SConf
309 configuration subsystem, including caching of values between
310 runs (using normal SCons dependency mechanisms), tests, and
315 RELEASE 0.13 - Mon, 31 Mar 2003 20:22:00 -0600
319 - Fix a bug when BuildDir(duplicate=0) is used and SConscript
320 files are called from within other SConscript files.
322 - Support (older) versions of Perforce which don't set the Windows
327 RELEASE 0.12 - Thu, 27 Mar 2003 23:52:09 -0600
331 - Added support for the Perforce source code management system.
333 - Fix str(Node.FS) so that it returns a path relative to the calling
334 SConscript file's directory, not the top-level directory.
336 - Added support for a separate src_dir argument to SConscript()
337 that allows explicit specification of where the source files
338 for an SConscript file can be found.
340 - Support more easily re-usable flavors of command generators by
341 calling callable variables when strings are expanded.
345 - Added an INSTALL construction variable that can be set to a function
346 to control how the Install() and InstallAs() Builders install files.
347 The default INSTALL function now copies, not links, files.
349 - Remove deprecated features: the "name" argument to Builder objects,
350 and the Environment.Update() method.
352 - Add an Environment.SourceCode() method to support fetching files
353 from source code systems. Add factory methods that create Builders
354 to support BitKeeper, CVS, RCS, and SCCS. Add support for fetching
355 files from RCS or SCCS transparently (like GNU Make).
357 - Make the internal to_String() function more efficient.
359 - Make the error message the same as other build errors when there's a
360 problem unlinking a target file in preparation for it being built.
362 - Make TARGET, TARGETS, SOURCE and SOURCES reserved variable names and
363 warn if the user tries to set them in a construction environment.
365 - Add support for Tar and Zip files.
367 - Better documentation of the different ways to export variables to a
368 subsidiary SConscript file. Fix documentation bugs in a tools
369 example, places that still assumed SCons split strings on white
372 - Support fetching arbitrary files from the TARGETS or SOURCES lists
373 (e.g. ${SOURCES[2]}) when calculating the build signature of a
376 - Don't silently swallow exceptions thrown by Scanners (or other
377 exceptions while finding a node's dependent children).
379 - Push files to CacheDir() before calling the superclass built()
380 method (which may clear the build signature as part of clearing
381 cached implicit dependencies, if the file has a source scanner).
382 (Bug reported by Jeff Petkau.)
384 - Raise an internal error if we attempt to push a file to CacheDir()
385 with a build signature of None.
387 - Add an explicit Exit() function for terminating early.
389 - Change the documentation to correctly describe that the -f option
390 doesn't change to the directory in which the specified file lives.
392 - Support changing directories locally with SConscript directory
393 path names relative to any SConstruct file specified with -f.
394 This allows you to build in another directory by simply changing
395 there and pointing at the SConstruct file in another directory.
397 - Change the default SConscriptChdir() behavior to change to the
398 SConscript directory while it's being read.
400 - Fix an exception thrown when the -U option was used with no
401 Default() target specified.
403 - Fix -u so that it builds things in corresponding build directories
404 when used in a source directory.
408 - Add SharedObject() support to the masm tool.
410 - Fix WhereIs() to return normalized paths.
414 - Don't copy a built file to a CacheDir() if it's already there.
416 - Avoid partial copies of built files in a CacheDir() by copying
417 to a temporary file and renaming.
421 - Fix incorrect dependency-cycle errors when an Aliased source doesn't
426 RELEASE 0.11 - Tue, 11 Feb 2003 05:24:33 -0600
430 - Add support for IRIX and the SGI MIPSPro tool chain.
432 - Support using the MSVC tool chain when running Cygwin Python.
436 - Avoid losing signal bits in the exit status from a command,
437 helping terminate builds on interrupt (CTRL+C).
441 - Added new AddPreAction() and AddPostAction() functions that support
442 taking additional actions before or after building specific targets.
444 - Add support for the PharLap ETS tool chain.
448 - Allow Python function Actions to specify a list of construction
449 variables that should be included in the Action's signature.
451 - Allow libraries in the LIBS variable to explicitly include the prefix
452 and suffix, even when using the GNU linker.
453 (Bug reported by Neal Becker.)
455 - Use DOS-standard CR-LF line endings in the scons.bat file.
456 (Bug reported by Gary Ruben.)
458 - Doc changes: Eliminate description of deprecated "name" keyword
459 argument from Builder definition (reported by Gary Ruben).
461 - Support using env.Append() on BUILDERS (and other dictionaries).
462 (Bug reported by Bj=F6rn Bylander.)
464 - Setting the BUILDERS construction variable now properly clears
465 the previous Builder attributes from the construction Environment.
466 (Bug reported by Bj=F6rn Bylander.)
468 - Fix adding a prefix to a file when the target isn't specified.
469 (Bug reported by Esa Ilari Vuokko.)
471 - Clean up error messages from problems duplicating into read-only
472 BuildDir directories or into read-only files.
474 - Add a CommandAction.strfunction() method, and add an "env" argument
475 to the FunctionAction.strfunction() method, so that all Action
476 objects have strfunction() methods, and the functions for building
477 and returning a string both take the same arguments.
479 - Add support for new CacheDir() functionality to share derived files
480 between builds, with related options --cache-disable, --cache-force,
483 - Change the default behavior when no targets are specified to build
484 everything in the current directory and below (like Make). This
485 can be disabled by specifying Default(None) in an SConscript.
487 - Revamp SCons installation to fix a case-sensitive installation
488 on Win32 systems, and to add SCons-specific --standard-lib,
489 --standalone-lib, and --version-lib options for easier user
490 control of where the libraries get installed.
492 - Fix the ability to directly import and use Platform and Tool modules
493 that have been implicitly imported into an Environment().
495 - Add support for allowing an embedding interface to annotate a node
498 - Extend the SConscript() function to accept build_dir and duplicate
499 keyword arguments that function like a BuildDir() call.
503 - Fix the output of -c -n when directories are involved, so it
508 - Use a different shared object suffix (.os) when using gcc so shared
509 and static objects can exist side-by-side in the same directory.
511 - Allow the same object files on Win32 to be linked into either
512 shared or static libraries.
514 - Cache implicit cache values when using --implicit-cache.
518 RELEASE 0.10 - Thu, 16 Jan 2003 04:11:46 -0600
520 From Derrick 'dman' Hudson:
522 - Support Repositories on other file systems by symlinking or
523 copying files when hard linking won't work.
527 - Remove Python bytecode (*.pyc) files from the scons-local packages.
529 - Have FunctionActions print a description of what they're doing
530 (a representation of the Python call).
532 - Fix the Install() method so that, like other actions, it prints
533 what would have happened when the -n option is used.
535 - Don't create duplicate source files in a BuildDir when the -n
538 - Refactor the Scanner interface to eliminate unnecessary Scanner
539 calls and make it easier to write efficient scanners.
541 - Added a "recursive" flag to Scanner creation that specifies the
542 Scanner should be invoked recursively on dependency files returned
545 - Significant performance improvement from using a more efficient
546 check, throughout the code, for whether a Node has a Builder.
548 - Fix specifying only the source file to MultiStepBuilders such as
549 the Program Builder. (Bug reported by Dean Bair.)
551 - Fix an exception when building from a file with the same basename as
552 the subdirectory in which it lives. (Bug reported by Gerard Patel.)
554 - Fix automatic deduction of a target file name when there are
555 multiple source files specified; the target is now deduced from just
556 the first source file in the list.
558 - Documentation fixes: better initial explanation of SConscript files;
559 fix a misformatted "table" in the StaticObject explanation.
561 From Steven Knight and Steve Leblanc:
563 - Fix the -c option so it will remove symlinks.
567 - Add a Clean() method to support removing user-specified targets
568 when using the -c option.
570 - Add a development script for running SCons through PyChecker.
572 - Clean up things found by PyChecker (mostly unnecessary imports).
574 - Add a script to use HappyDoc to create HTML class documentation.
578 - Make the Environment.get() method return None by default.
582 - Add SetJobs() and GetJobs() methods to allow configuration of the
583 number of default jobs (still overridden by -j).
585 - Convert the .sconsign file format from ASCII to a pickled Python
588 - Error message cleanups: Made consistent the format of error
589 messages (now all start with "scons: ***") and warning messages (now
590 all start with "scons: warning:"). Caught more cases with the "Do
591 not know how to build" error message.
593 - Added support for the MinGW tool chain.
595 - Added a --debug=includes option.
599 RELEASE 0.09 - Thu, 5 Dec 2002 04:48:25 -0600
603 - Add a Prepend() method to Environments, to append values to
604 the beginning of construction variables.
608 - Add long command-line support to the "lib" Tool (Microsoft library
613 - Allow $$ in a string to be passed through as $.
615 - Support file names with odd characters in them.
617 - Add support for construction variable substition on scanner
618 directories (in CPPPATH, F77PATH, LIBPATH, etc.).
620 From Charles Crain and Steven Knight:
622 - Add Repository() functionality, including the -Y option.
626 - Fix auto-deduction of target names so that deduced targets end
627 up in the same subdirectory as the source.
629 - Don't remove source files specified on the command line!
631 - Suport the Intel Fortran Compiler (ifl.exe).
633 - Supply an error message if there are no command-line or
634 Default() targets specified.
636 - Fix the ASPPCOM values for the GNU assembler.
637 (Bug reported by Brett Polivka.)
639 - Fix an exception thrown when a Default() directory was specified
640 when using the -U option.
642 - Issue a warning when -c can't remove a target.
644 - Eliminate unnecessary Scanner calls by checking for the
645 existence of a file before scanning it. (This adds a generic
646 hook to check an arbitrary condition before scanning.)
648 - Add explicit messages to tell when we're "Reading SConscript files
649 ...," "done reading SConscript files," "Building targets," and
650 "done building targets." Add a -Q option to supress these.
652 - Add separate $SHOBJPREFIX and $SHOBJSUFFIX construction variables
653 (by default, the same as $OBJPREFIX and $OBJSUFFIX).
655 - Add Make-like error messages when asked to build a source file,
656 and before trying to build a file that doesn't have all its source
657 files (including when an invalid drive letter is used on WIN32).
659 - Add an scons-local-{version} package (in both .tar.gz and .zip
660 flavors) to help people who want to ship SCons as a stand-alone
661 build tool in their software packages.
663 - Prevent SCons from unlinking files in certain situations when
664 the -n option is used.
666 - Change the name of Tool/lib.py to Tool/mslib.py.
668 From Steven Knight and Anthony Roach:
670 - Man page: document the fact that Builder calls return Node objects.
674 - Refactor option processing to use our own version of Greg Ward's
675 Optik module, modified to run under Python 1.5.2.
677 - Add a ParseConfig() command to modify an environment based on
678 parsing output from a *-config command.
682 - Fix interpretation of '#/../foo' on Win32 systems.
686 - Fixed use of command lines with spaces in their arguments,
687 and use of Nodes with spaces in their string representation.
689 - Make access and modification times of files in a BuildDir match
690 the source file, even when hard linking isn't available.
692 - Make -U be case insensitive on Win32 systems.
694 - Issue a warning and continue when finding a corrupt .sconsign file.
696 - Fix using an alias as a dependency of a target so that if one of the
697 alias' dependencies gets rebuilt, the resulting target will, too.
699 - Fix differently ordered targets causing unnecessary rebuilds
700 on case insensitive systems.
702 - Use os.system() to execute external commands whenever the "env"
703 utility is available, which is much faster than fork()/exec(),
704 and fixes the -j option on several platforms.
706 - Fix use of -j with multiple targets.
708 - Add an Options() object for friendlier accomodation of command-
711 - Add support for Microsoft VC++ precompiled header (.pch) files,
712 debugger (.pdb) files, and resource (.rc) files.
714 - Don't compute the $_CPPINCFLAGS, $_F77INCFLAGS, $_LIBFLAGS and
715 $_LIBDIRFLAGS variables each time a command is executed, define
716 them so they're computed only as needed. Add a new _concat
717 function to the Environment that allows people to define their
718 own similar variables.
720 - Fix dependency scans when $LIBS is overridden.
722 - Add EnsurePythonVersion() and EnsureSConsVersion() functions.
724 - Fix the overly-verbose stack trace on ListBuilder build errors.
726 - Add a SetContentSignatureType() function, allowing use of file
727 timestamps instead of MD5 signatures.
729 - Make -U and Default('source') fail gracefully.
731 - Allow the File() and Dir() methods to take a path-name string as
732 the starting directory, in addition to a Dir object.
734 - Allow the command handler to be selected via the SPAWN, SHELL
735 and ESCAPE construction variables.
737 - Allow construction variables to be overridden when a Builder
742 - Dynamically check for the existence of utilities with which to
743 initialize Environments by default.
747 RELEASE 0.08 - Mon, 15 Jul 2002 12:08:51 -0500
751 - Fixed a bug with relative CPPPATH dirs when using BuildDir().
752 (Bug reported by Bob Summerwill.)
754 - Added a warnings framework and a --warn option to enable or
757 - Make the C scanner warn users if files referenced by #include
758 directives cannot be found and --warn=dependency is specified.
760 - The BUILDERS construction variable should now be a dictionary
761 that maps builder names to actions. Existing uses of lists,
762 and the Builder name= keyword argument, generate warnings
763 about use of deprecated features.
765 - Removed the "shared" keyword argument from the Object and
768 - Added separated StaticObject, SharedObject, StaticLibrary and
769 SharedLibrary builders. Made Object and Library synonyms for
770 StaticObject and StaticLibrary, respectively.
772 - Add LIBS and LIBPATH dependencies for shared libraries.
774 - Removed support for the prefix, suffix and src_suffix arguments
775 to Builder() to be callable functions.
777 - Fix handling file names with multiple dots.
779 - Allow a build directory to be outside of the SConstruct tree.
781 - Add a FindFile() function that searches for a file node with a
784 - Add $CPPFLAGS to the shared-object command lines for g++ and gcc.
786 From Charles Crain and Steven Knight:
788 - Add a "tools=" keyword argument to Environment instantiation,
789 and a separate Tools() method, for more flexible specification
790 of tool-specific environment changes.
794 - Add a "platform=" keyword argument to Environment instantiation,
795 and a separate Platform() method, for more flexible specification
796 of platform-specific environment changes.
798 - Updated README instructions and setup.py code to catch an
799 installation failure from not having distutils installed.
801 - Add descriptions to the -H help text for -D, -u and -U so
802 people can tell them apart.
804 - Remove the old feature of automatically splitting strings
805 of file names on white space.
807 - Add a dependency Scanner for native Fortran "include" statements,
808 using a new "F77PATH" construction variable.
810 - Fix C #include scanning to detect file names with characters like
813 - Add more specific version / build output to the -v option.
815 - Add support for the GNU as, Microsoft masm, and nasm assemblers.
817 - Allow the "target" argument to a Builder call to be omitted, in
818 which case the target(s) are deduced from the source file(s) and the
819 Builder's specified suffix.
821 - Add a tar archive builder.
823 - Add preliminary support for the OS/2 Platform, including the icc
828 - Fix --implicit-cache if the scanner returns an empty list.
832 - Add a "multi" keyword argument to Builder creation that specifies
833 it's okay to call the builder multiple times for a target.
835 - Set a "multi" on Aliases so multiple calls will append to an Alias.
837 - Fix emitter functions' use of path names when using BuildDir or
840 - Fix --implicit-cache causing redundant rebuilds when the header
843 - Fix --implicit-cache when a file has no implicit dependencies and
844 its source is generated.
846 - Make the drive letters on Windows always be the same case, so that
847 changes in the case of drive letters don't cause a rebuild.
849 - Fall back to importing the SCons.TimeStamp module if the SCons.MD5
850 module can't be imported.
852 - Fix interrupt handling to guarantee that a single interrupt will
853 halt SCons both when using -j and not.
855 - Fix .sconsign signature storage so that output files of one build
856 can be safely used as input files to another build.
858 - Added a --debug=time option to print SCons execution times.
860 - Print an error message if a file can't be unlinked before being
861 built, rather than just silently terminating the build.
863 - Add a SideEffect() method that can be used to tell the build
864 engine that a given file is created as a side effect of building
865 a target. A file can be specified as a side effect of more than
866 one build comand, in which case the commands will not be executed
869 - Significant performance gains from not using our own version of
870 the inefficient stock os.path.splitext() method, caching source
871 suffix computation, code cleanup in MultiStepBuilder.__call__(),
872 and replicating some logic in scons_subst().
874 - Add --implicit-deps-changed and --implicit-deps-unchanged options.
876 - Add a GetLaunchDir() function.
878 - Add a SetBuildSignatureType() function.
882 - Add an Append() method to Environments, to append values to
883 construction variables.
885 - Change the name of Update() to Replace(). Keep Update() as a
886 deprecated synonym, at least for now.
890 - Use a $PYTHON construction variable, initialized to sys.executable,
891 when using Python to build parts of the SCons packages.
893 - Use sys.prefix, not sys.exec_prefix, to find pdb.py.
897 RELEASE 0.07 - Thu, 2 May 2002 13:37:16 -0500
901 - Changes to build SCons packages on IRIX (and other *NIces).
903 - Don't create a directory Node when a file already exists there,
906 - Add 'dirs' and 'names' keyword arguments to SConscript for
907 easier specification of subsidiary SConscript files.
911 - Internal cleanup of environment passing to function Actions.
913 - Builders can now take arbitrary keyword arguments to create
914 attributes to be passed to: command generator functions,
915 FunctionAction functions, Builder emitter functions (below),
916 and prefix/suffix generator functions (below).
918 - Command generator functions can now return ANYTHING that can be
919 converted into an Action (a function, a string, a CommandGenerator
920 instance, even an ActionBase instance).
922 - Actions now call get_contents() with the actual target and source
923 nodes used for the build.
925 - A new DictCmdGenerator class replaces CompositeBuilder to support
926 more flexible Builder behavior internally.
928 - Builders can now take an emitter= keyword argument. An emitter
929 is a function that takes target, source, and env argument, then
930 return a 2-tuple of (new sources, new targets). The emitter is
931 called when the Builder is __call__'ed, allowing a user to modify
932 source and target lists.
934 - The prefix, suffix and src_suffix Builder arguments now take a
935 callable as well a string. The callable is passed the Environment
936 and any extra Builder keyword arguments and is expected to return
937 the appropriate prefix or suffix.
939 - CommandActions can now be a string, a list of command + argument
940 strings, or a list of commands (strings or lists).
942 - Added shared library support. The Object and Library Builders now
943 take a "shared=1" keyword argument to specify that a shared object
944 or shared library should be built. It is an error to try to build
945 static objects into a shared library or vice versa.
947 - Win32 support for .def files has been added. Added the Win32-specific
948 construction variables $WIN32DEFPREFIX, $WIN32DEFSUFFIX,
949 $WIN32DLLPREFIX and $WIN32IMPLIBPREFIX. When building a .dll,
950 the new construction variable $WIN32_INSERT_DEF, controls whether
951 the appropriately-named .def file is inserted into the target
952 list (if not already present). A .lib file is always added to
953 a Library build if not present in the list of targets.
955 - ListBuilder now passes all targets to the action, not just the first.
957 - Fix so that -c now deletes generated yacc .h files.
959 - Builder actions and emitter functions can now be initialized, through
960 construction variables, to things other than strings.
962 - Make top-relative '#/dir' lookups work like '#dir'.
964 - Fix for relative CPPPATH directories in subsidiary SConscript files
967 - Add a for_signature argument to command generators, so that
968 generators that need to can return distinct values for the
969 command signature and for executing the command.
973 - Create a better scons.bat file from a py2bat.py script on the Python
974 mailing list two years ago (modeled after pl2bat.pl).
978 - Fix so that -c -n does *not* remove the targets!
980 - Man page: Add a hierarchical libraries + Program example.
982 - Support long MSVC linker command lines through a builder action
983 that writes to a temporary file and uses the magic MSVC "link @file"
984 argument syntax if the line is longer than 2K characters.
986 - Fix F77 command-line options on Win32 (use /Fo instead of -o).
988 - Use the same action to build from .c (lower case) and .C (upper
989 case) files on case-insensitive systems like Win32.
991 - Support building a PDF file directly from a TeX or LaTeX file
992 using pdftex or pdflatex.
994 - Add a -x option to runtest.py to specify the script being tested.
995 A -X option indicates it's an executable, not a script to feed
996 to the Python interpreter.
998 - Add a Split() function (identical to SCons.Util.argmunge()) for use
999 in the next release, when Builders will no longer automatically split
1000 strings on white space.
1004 - Add the SConscriptChdir() method.
1008 - Fix --debug=tree when used with directory targets.
1010 - Significant internal restructuring of Scanners and Taskmaster.
1012 - Added new --debug=dtree option.
1014 - Fixes for --profile option.
1016 - Performance improvement in construction variable substitution.
1018 - Implemented caching of content signatures, plus added --max-drift
1019 option to control caching.
1021 - Implemented caching of dependency signatures, enabled by new
1022 --implicit-cache option.
1024 - Added abspath construction variable modifier.
1026 - Added $SOURCE variable as a synonym for $SOURCES[0].
1028 - Write out .sconsign files on error or interrupt so intermediate
1029 build results are saved.
1031 - Change the -U option to -D. Make a new -U that builds just the
1032 targets from the local SConscript file.
1034 - Fixed use of sys.path so Python modules can be imported from
1035 the SConscript directory.
1037 - Fix for using Aliases with the -u, -U and -D options.
1039 - Fix so that Nodes can be passed to SConscript files.
1043 - Changes for official Debian packaging.
1047 RELEASE 0.06 - Thu, 28 Mar 2002 01:24:29 -0600
1051 - Fix command generators to expand construction variables.
1053 - Make FunctionAction arguments be Nodes, not strings.
1055 From Stephen Kennedy:
1057 - Performance: Use a dictionary, not a list, for a Node's parents.
1061 - Add .zip files to the packages we build.
1063 - Man page: document LIBS, fix a typo, document ARGUMENTS.
1065 - Added RANLIB and RANLIBFLAGS construction variables. Only use them
1066 in ARCOM if there's a "ranlib" program on the system.
1068 - Add a configurable CFILESUFFIX for the Builder of .l and .y files
1071 - Add a CXXFile Builder that turns .ll and .yy files into .cc files
1072 (configurable via a CXXFILESUFFIX construction variable).
1074 - Use the POSIX-standard lex -t flag, not the GNU-specific -o flag.
1075 (Bug reported by Russell Christensen.)
1077 - Fixed an exception when CPPPATH or LIBPATH is a null string.
1078 (Bug reported by Richard Kiss.)
1080 - Add a --profile=FILE option to make profiling SCons easier.
1082 - Modify the new DVI builder to create .dvi files from LaTeX (.ltx
1085 - Add support for Aliases (phony targets).
1087 - Add a WhereIs() method for searching for path names to executables.
1089 - Add PDF and PostScript document builders.
1091 - Add support for compiling Fortran programs from a variety of
1092 suffixes (a la GNU Make): .f, .F, .for, .FOR, .fpp and .FPP
1094 - Support a CPPFLAGS variable on all default commands that use the
1099 - Add support for the -U option.
1101 - Allow CPPPATH, LIBPATH and LIBS to be specified as white-space
1104 - Add a document builder to create .dvi files from TeX (.tex) files.
1108 - Fix: Construction variables with values of 0 were incorrectly
1111 - Support env['VAR'] to fetch construction variable values.
1113 - Man page: document Precious().
1117 RELEASE 0.05 - Thu, 21 Feb 2002 16:50:03 -0600
1121 - Set PROGSUFFIX to .exe under Cygwin.
1125 - Allow a library to specified as a command-line source file, not just
1126 in the LIBS construction variable.
1128 - Compensate for a bug in os.path.normpath() that returns '' for './'
1131 - More performance optimizations: cache #include lines from files,
1132 eliminate unnecessary calls.
1134 - If a prefix or suffix contains white space, treat the resulting
1135 concatenation as separate arguments.
1137 - Fix irregularities in the way we fetch DevStudio information from
1138 the Windows registry, and in our registry error handling.
1142 - Flush stdout after print so it intermixes correctly with stderr
1145 - Allow Scanners to return a list of strings, and document how to
1146 write your own Scanners.
1148 - Look up implicit (scanned) dependencies relative to the directory
1149 of file being scanned.
1151 - Make writing .sconsign files more robust by first trying to write
1152 to a temp file that gets renamed.
1154 - Create all of the directories for a list of targets before trying
1155 to build any of the targets.
1157 - WIN32 portability fixes in tests.
1159 - Allow the list of variables exported to an SConscript file to be
1162 - Document the overlooked LIBPATH construction variable.
1163 (Bug reported by Eicke Godehardt.)
1165 - Fix so that Ignore() ignores indirect, implicit dependencies
1166 (included files), not just direct dependencies.
1168 - Put the man page in the Debian distribution.
1170 - Run HTML docs through tidy to clean up the HTML (for Konqueror).
1172 - Add preliminary support for Unicode strings.
1174 - Efficiency: don't scan dependencies more than once during the
1177 - Fix the -c option so it doesn't stop removing targets if one doesn't
1179 (Bug reported by Paul Connell.)
1181 - Fix the --debug=pdb option when run on Windows NT.
1182 (Bug reported by Paul Connell.)
1184 - Add support for the -q option.
1188 - Add support for the -u option.
1190 - Add .cc and .hh file suffixes to the C Scanner.
1194 - Make the scons script return an error code on failures.
1196 - Add support for using code to generate a command to build a target.
1200 RELEASE 0.04 - Wed, 30 Jan 2002 11:09:42 -0600
1204 - Significant performance improvements in the Node.FS and
1207 - Fix signatures of binary files on Win32 systems.
1209 - Allow LIBS and LIBPATH to be strings, not just arrays.
1211 - Print a traceback if a Python-function builder throws an exception.
1215 - Fix using a directory as a Default(), and allow Default() to
1216 support white space in file names for strings in arrays.
1218 - Man page updates: corrected some mistakes, documented various
1219 missing Environment methods, alphabetized the construction
1220 variables and other functions, defined begin and end macros for
1221 the example sections, regularized white space separation, fixed
1222 the use of Export() in the Multiple Variants example.
1224 - Function action fixes: None is now a successful return value.
1225 Exceptions are now reported. Document function actions.
1227 - Add 'Action' and 'Scanner' to the global keywords so SConscript
1228 files can use them too.
1230 - Removed the Wrapper class between Nodes and Walkers.
1232 - Add examples using Library, LIBS, and LIBPATH.
1234 - The C Scanner now always returns a sorted list of dependencies
1235 so order changes don't cause unnecessary rebuilds.
1237 - Strip $(-$) bracketed text from command lines. Use this to
1238 surround $_INCDIRS and $_LIBDIRS so we don't rebuild in response
1239 to changes to -I or -L options.
1241 - Add the Ignore() method to ignore dependencies.
1243 - Provide an error message when a nonexistent target is specified
1244 on the command line.
1246 - Remove targets before building them, and add an Environment
1247 Precious() method to override that.
1249 - Eliminate redundant calls to the same builder when the target is a
1250 list of targets: Add a ListBuilder class that wraps Builders to
1251 handle lists atomically. Extend the Task class to support building
1252 and updating multiple targets in a single Task. Simplify the
1253 interface between Task and Taskmaster.
1255 - Add a --debug=pdb option to re-run SCons under the Python debugger.
1257 - Only compute a build signature once for each node.
1259 - Changes to our sys.path[] manipulation to support installation into
1260 an arbitrary --prefix value.
1264 - Add var=value command-line arguments.
1268 RELEASE 0.03 - Fri, 11 Jan 2002 01:09:30 -0600
1272 - Performance improvements in the Node.FS and Sig.Calculator classes.
1274 - Add the InstallAs() method.
1276 - Execute commands through an external interpreter (sh, cmd.exe, or
1277 command.com) to handle redirection metacharacters.
1279 - Allow the user to supply a command handler.
1283 - Search both /usr/lib and /usr/local/lib for scons directories by
1284 adding them both to sys.path, with whichever is in sys.prefix first.
1286 - Fix interpreting strings of multiple white-space separated file names
1287 as separate file names, allowing prefixes and suffixes to be appended
1288 to each individually.
1290 - Refactor to move CompositeBuilder initialization logic from the
1291 factory wrapper to the __init__() method, and allow a Builder to
1292 have both an action and a src_builder (or array of them).
1294 - Refactor BuilderBase.__call__() to separate Node creation/lookup
1295 from initialization of the Node's builder information.
1297 - Add a CFile Builder object that supports turning lex (.l) and
1298 yacc (.y) files into .c files.
1300 - Document: variable interpretation attributes; how to propogate
1301 the user's environment variables to executed commands; how to
1302 build variants in multiple BuildDirs.
1304 - Collect String, Dict, and List type-checking in common utility
1305 routines so we can accept User{String,Dict,List}s all over.
1307 - Put the Action factory and classes into their own module.
1309 - Use one CPlusPlusAction in the Object Builder's action dictionary,
1310 instead of letting it create multiple identical instances.
1312 - Document the Install() and InstallAs() methods.
1316 - Require that a Builder be given a name argument, supplying a
1317 useful error message when it isn't.
1321 - Add a "duplicate" keyword argument to BuildDir() that can be set
1322 to prevent linking/copying source files into build directories.
1324 - Add a "--debug=tree" option to print an ASCII dependency tree.
1326 - Fetch the location of the Microsoft Visual C++ compiler(s) from
1327 the Registry, instead of hard-coding the location.
1329 - Made Scanner objects take Nodes, not path names.
1331 - Have the C Scanner cache the #include file names instead of
1332 (re-)scanning the file each time it's called.
1334 - Created a separate class for parent "nodes" of file system roots,
1335 eliminating the need for separate is-parent-null checks everywhere.
1337 - Removed defined __hash__() and __cmp() methods from FS.Entry, in
1338 favor of Python's more efficient built-in identity comparisons.
1342 RELEASE 0.02 - Sun, 23 Dec 2001 19:05:09 -0600
1346 - Added the Install(), BuildDir(), and Export() methods.
1348 - Fix the -C option by delaying setting the top of the FS tree.
1350 - Avoid putting the directory path on the libraries in the LIBS
1351 construction variable.
1353 - Added a GetBuildPath() method to return the full path to the
1354 Node for a specified string.
1356 - Fixed variable substitution in CPPPATH and LIBPATH.
1360 - Fixed the version comment in the scons.bat (the UNIX geek used
1363 - Fix to setup.py so it doesn't require a sys.argv[1] argument.
1365 - Provide make-like warning message for "command not found" and
1368 - Added an EXAMPLES section to the man page.
1370 - Make Default() targets properly relative to their SConscript
1371 file's subdirectory.
1375 - Documented CXXFLAGS, CXXCOM, and CPPPATH.
1377 - Fixed SCONS_LIB_DIR to work as documented.
1379 - Made Default() accept Nodes as arguments.
1381 - Changed Export() to make it easier to use.
1383 - Added the Import() and Return() methods.
1387 RELEASE 0.01 - Thu Dec 13 19:25:23 CST 2001
1389 A brief overview of important functionality available in release 0.01:
1391 - C and C++ compilation on POSIX and Windows NT.
1393 - Automatic scanning of C/C++ source files for #include dependencies.
1395 - Support for building libraries; setting construction variables
1396 allows creation of shared libraries.
1398 - Library and C preprocessor search paths.
1400 - File changes detected using MD5 signatures.
1402 - User-definable Builder objects for building files.
1404 - User-definable Scanner objects for scanning for dependencies.
1406 - Parallel build (-j) support.
1408 - Dependency cycles detected.
1410 - Linux packages available in RPM and Debian format.
1412 - Windows installer available.