2 # __FILE__ __REVISION__ __DATE__ __DEVELOPER__
5 SCons - a software construction tool
15 - Fix listing multiple projects in Visual Studio 7.[01] solution files,
16 including generating individual project GUIDs instead of re-using
21 - Add /opt/SUNWspro/bin to the default execution PATH on Solaris.
25 - Only expect the Microsoft IDL compiler to emit *_p.c and *_data.c
26 files if the /proxy and /dlldata switches are used (respectively).
30 - Have --debug=explain report if a target is being rebuilt because
31 AlwaysBuild() is specified (instead of "unknown reasons").
33 - Support {Get,Set}Option('help') to make it easier for SConscript
34 files to tell if a help option (-h, --help, etc.) has been specified.
36 - Support {Get,Set}Option('random') so random-dependency interaction
37 with CacheDir() is controllable from SConscript files.
39 - Push and retrieve built symlinks to/from a CacheDir() as actual
40 symlinks, not by copying the file contents.
42 - Fix how the Action module handles stringifying the shared library
43 generator in the Tool/mingw.py module.
45 - When generating a config.h file, print "#define HAVE_{FEATURE} 1"
46 instad of just "#define HAVE_{FEATURE}", for more compatibility
47 with Autoconf-style projects.
49 - Fix expansion of $TARGET, $TARGETS, $SOURCE and $SOURCES keywords in
50 Visual C/C++ PDB file names.
52 - Fix locating Visual C/C++ PDB files in build directories.
54 - Support an env.AddMethod() method and an AddMethod() global function
55 for adding a new method, respectively, to a construction environment
56 or an arbitrary object (such as a class).
58 From Leanid Nazdrynau:
60 - When applying Tool modules after a construction environment has
61 already been created, don't overwrite existing $CFILESUFFIX and
66 - Find Java anonymous classes when the next token after the name is
71 - Add LaTeX scanner support for finding dependencies specified with
72 the \usepackage{} directive.
76 RELEASE 0.97 - Thu, 17 May 2007 08:59:41 -0500
80 - Fix a bug that would make parallel builds stop in their tracks if
81 Nodes that depended on lists that contained some Nodes built together
82 caused the reference count to drop below 0 if the Nodes were visited
83 and commands finished in the wrong order.
85 - Make sure the DirEntryScanner doesn't choke if it's handed something
86 that's not a directory (Node.FS.Dir) Node.
90 RELEASE 0.96.96 - Thu, 12 Apr 2007 12:36:25 -0500
92 NOTE: This is (Yet) a(nother) pre-release of 0.97 for testing purposes.
96 - Man page fix: remove cut-and-paste sentence in NoCache() description.
98 From Dmitry Grigorenko and Gary Oberbrunner:
100 - Use the Intel C++ compiler, not $CC, to link C++ source.
104 - Fix the man page example of propagating a user's external environment.
108 - Back out (most of) the Windows registry installer patch, which
109 seems to not work on some versions of Windows.
111 - Don't treat Java ".class" attributes as defining an inner class.
113 - Fix detecting an erroneous Java anonymous class when the first
114 non-skipped token after a "new" keyword is a closing brace.
116 - Fix a regression when a CPPDEFINES list contains a tuple, the second
117 item of which (the option value) is a construction variable expansion
118 (e.g. $VALUE) and the value of the variable isn't a string.
120 - Improve the error message if an IOError (like trying to read a
121 directory as a file) occurs while deciding if a node is up-to-date.
123 - Fix "maximum recursion" / "unhashable type" errors in $CPPPATH
124 PathList expansion if a subsidiary expansion yields a stringable,
127 - Generate API documentation from the docstrings (using epydoc).
129 - Fix use of --debug=presub with Actions for out-of-the-box Builders.
131 - Fix handling nested lists within $CPPPATH, $LIBPATH, etc.
133 - Fix a "builders_used" AttributeError that real-world Qt initialization
134 triggered in the refactored suffix handling for Builders.
136 - Make the reported --debug=time timings meaningful when used with -j.
137 Better documentation of what the times mean.
139 - User Guide updates: --random, AlwaysBuild(), --tree=,
140 --debug=findlibs, --debug=presub, --debug=stacktrace,
143 - Document (in both man page and User's Guide) that --implicit-cache
144 ignores changes in $CPPPATH, $LIBPATH, etc.
146 From Jean-Baptiste Lab:
148 - Remove hard-coded dependency on Python 2.2 from Debian packaging files.
152 - Handle spaces in the build target name in Visual Studio project files.
156 - Re-run LaTeX after BibTeX has been re-run in response to a changed
161 - Make additional TeX auxiliary files (.toc, .idx and .bbl files)
162 Precious so their removal doesn't affect whether the necessary
163 sections are included in output PDF or PostScript files.
165 From Gary Oberbrunner:
167 - Fix the ability to import modules in the site_scons directory from
172 - Make sure parallel (-j) builds all targets even if they show up
173 multiple times in the child list (as a source and a dependency).
175 From Matthias Troffaes:
177 - Don't re-run TeX if the triggering strings (\makeindex, \bibliography
178 \tableofcontents) are commented out.
182 - Fix use of custom include and lib paths with Visual Studio 8.
184 - Select the default .NET Framework SDK Dir based on the version of
185 Visual Studio being used.
189 RELEASE 0.96.95 - Mon, 12 Feb 2007 20:25:16 -0600
193 - Add the scons.org URL and a package description to the setup.py
196 - Have the Windows installer add a registry entry for scons.bat in the
197 "App Paths" key, so scons.bat can be executed without adding the
198 directory to the %PATH%. (Python itself works this way.)
202 - Fix looking for default paths in Visual Studio 8.0 (and later).
204 - Add -lm to the list of default D libraries for linking.
208 - Provide a more complete write-your-own-Scanner example in the man page.
210 From Ralf W. Grosse-Kunstleve:
212 - Contributed upstream Python change to our copied subprocess.py module
213 for more efficient standard input processing.
217 - Fix the Node.FS.Base.rel_path() method when the two nodes are on
218 different drive letters. (This caused an infinite loop when
219 trying to write .sconsign files.)
221 - Fully support Scanners that use a dictionary to map file suffixes
224 - Support delayed evaluation of the $SPAWN variable to allow selection
225 of a function via ${} string expansions.
227 - Add --srcdir as a synonym for -Y/--repository.
229 - Document limitations of #include "file.h" with Repository().
231 - Fix use of a toolpath under the source directory of a BuildDir().
233 - Fix env.Install() with a file name portion that begins with '#'.
235 - Fix ParseConfig()'s handling of multiple options in a string that's
236 replaced a *FLAGS construction variable.
238 - Have the C++ tools initialize common C compilation variables ($CCFLAGS,
239 $SHCCFLAGS and $_CCCOMCOM) even if the 'cc' Tool isn't loaded.
241 From Leanid Nazdrynau:
243 - Fix detection of Java anonymous classes if a newline precedes the
246 From Gary Oberbrunner:
248 - Document use of ${} to execute arbitrary Python code.
251 1) automatically adding a site_scons subdirectory (in the top-level
252 SConstruct directory) to sys.path (PYTHONPATH);
253 2) automatically importing site_scons/site_init.py;
254 3) automatically adding site_scons/site_tools to the toolpath.
258 - Change ParseConfig() to preserve white space in arguments passed in
263 - Fix adding explicitly-named Java inner class files (and any
264 other file names that may contain a '$') to Jar files.
268 - Add a NoCache() function to mark targets as unsuitable for propagating
269 to (or retrieving from) a CacheDir().
273 - If the swig -noproxy option is used, it won't generate a .py file,
274 so don't emit it as a target that we expect to be built.
278 RELEASE 0.96.94 - Sun, 07 Jan 2007 18:36:20 -0600
280 NOTE: This is a pre-release of 0.97 for testing purposes.
284 - Allow arbitrary white space after a SWIG %module declaration.
288 - When compiling resources under MinGW, make sure there's a space
289 between the --include-dir option and its argument.
293 - Alleviate long command line issues on Windows by executing command
294 lines directly via os.spawnv() if the command line doesn't need
295 shell interpretation (has no pipes, redirection, etc.).
297 From Walter Franzini:
299 - Exclude additional Debian packaging files from the copyright check.
303 - Handle the conflict between the impending Python 2.6 'as' keyword
304 and our Tool/as.py module name.
308 - Speed up the Node.FS.Dir.rel_path() method used to generate path names
309 that get put into the .sconsign* file(s).
311 - Optimize Node.FS.Base.get_suffix() by computing the suffix once, up
312 front, when we set the Node's name. (Duh...)
314 - Reduce the Memoizer's responsibilities to simply counting hits and
315 misses when the --debug=memoizer option is used, not to actually
316 handling the key calculation and memoization itself. This speeds
317 up some configurations significantly, and should cause no functional
320 - Add a new scons-time script with subcommands for generating
321 consistent timing output from SCons configurations, extracting
322 various information from those timings, and displaying them in
325 - Reduce some unnecessary stat() calls from on-disk entry type checks.
327 - Fix SideEffect() when used with -j, which was badly broken in 0.96.93.
329 - Propagate TypeError exceptions when evaluating construction variable
330 expansions up the stack, so users can see what's going on.
332 - When disambiguating a Node.FS.Entry into a Dir or File, don't look
333 in the on-disk source directory until we've confirmed there's no
334 on-disk entry locally and there *is* one in the srcdir. This avoids
335 creating a phantom Node that can interfere with dependencies on
338 - Add an AllowSubstExceptions() function that gives the SConscript
339 files control over what exceptions cause a string to expand to ''
340 vs. terminating processing with an error.
342 - Allow the f90.py and f95.py Tool modules to compile earlier source
343 source files of earlier Fortran version.
345 - Fix storing signatures of files retrieved from CacheDir() so they're
346 correctly identified as up-to-date next invocation.
348 - Make sure lists of computed source suffixes cached by Builder objects
349 don't persist across changes to the list of source Builders (so the
350 addition of suffixes like .ui by the qt.py Tool module take effect).
352 - Enhance the bootstrap.py script to allow it to be used to execute
353 SCons more easily from a checked-out source tree.
357 - Fix post-Memoizer value caching misspellings in Node.FS._doLookup().
359 From Rob Managan, Dmitry Mikhin and Joel B. Mohler:
361 - Handle TeX/LaTeX files in subdirectories by changing directory
362 before invoking TeX/LaTeX.
364 - Scan LaTeX files for \bibliography lines.
366 - Support multiple file names in a "\bibliography{file1,file2}" string.
368 - Handle TeX warnings about undefined citations.
370 - Support re-running LaTeX if necessary due to a Table of Contents.
374 - Return LaTeX if "Rerun to get citations correct" shows up on the next
375 line after the "Warning:" string.
377 From Gary Oberbrunner:
379 - Add #include lines to fix portability issues in two tests.
381 - Eliminate some unnecessary os.path.normpath() calls.
383 - Add a $CFLAGS variable for C-specific options, leaving $CCFLAGS
384 for options common to C and C++.
388 - Have the error message print the missing file that Qt can't find.
392 - Fix env.MergeFlags() appending to construction variable value of None.
396 - Fix the "sconsign" script when the .sconsign.dblite file is explicitly
397 specified on the command line (and not intuited from the old way of
398 calling it with just ".sconsign").
400 From Jose Pablo Ezequiel "Pupeno" Fernandez Silva:
402 - Give the 'lex' tool knowledge of the additional target files produced
403 by the flex "--header-file=" and "--tables-file=" options.
405 - Give the 'yacc' tool knowledge of the additional target files produced
406 by the bison "-g", "--defines=" and "--graph=" options.
408 - Generate intermediate files with Objective C file suffixes (.m) when
409 the lex and yacc source files have appropriate suffixes (.lm and .ym).
413 - Have the mslink.py Tool only look for a 'link' executable on Windows
416 From Vaclav Smilauer:
418 - Add support for a "srcdir" keyword argument when calling a Builder,
419 which will add a srcdir prefix to all non-relative string sources.
423 - Allow Options converters to take the construction environment as
424 an optional argument.
428 RELEASE 0.96.93 - Mon, 06 Nov 2006 00:44:11 -0600
430 NOTE: This is a pre-release of 0.97 for testing purposes.
434 - Allow Python Value Nodes to be Builder targets.
438 - Only filter Visual Studio common filename prefixes on complete
443 - Fix the build of the SCons documentation on systems that don't
444 have "python" in the $PATH.
448 - Enhance ParseConfig() to recognize options that begin with '+'.
450 From John Calcote, Elliot Murphy:
452 - Document ways to override the CCPDBFLAGS variable to use the
453 Microsoft linker's /Zi option instead of the default /Z7.
455 From Christopher Drexler:
457 - Make SCons aware bibtex must be called if any \include files
458 cause creation of a bibliography.
460 - Make SCons aware that "\bilbiography" in TeX source files means
461 that related .bbl and .blg bibliography files will be created.
462 (NOTE: This still needs to search for the string in \include files.)
466 - Fix inconsistent handling of Action strfunction arguments.
468 - Preserve white space in display Action strfunction strings.
470 From James Y. Knight and Gerard Patel:
472 - Support creation of shared object files from assembly language.
476 - Speed up the Taskmaster significantly by avoiding unnecessary
477 re-scans of Nodes to find out if there's work to be done, having it
478 track the currently-executed top-level target directly and not
479 through its presence on the target list, and eliminating some other
480 minor list(s), method(s) and manipulation.
482 - Fix the expansion of $TARGET and $SOURCE in the expansion of
483 $INSTALLSTR displayed for non-environment calls to InstallAs().
485 - Fix the ability to have an Alias() call refer to a directory
486 name that's not identified as a directory until later.
488 - Enhance runtest.py with an option to use QMTest as the harness.
489 This will become the default behavior as we add more functionality
492 - Let linking on mingw use the default function that chooses $CC (gcc)
493 or $CXX (g++) depending on whether there are any C++ source files.
495 - Work around a bug in early versions of the Python 2.4 profile module
496 that caused the --profile= option to fail.
498 - Only call Options validators and converters once when initializing a
499 construction environment.
501 - Fix the ability of env.Append() and env.Prepend(), in all known Python
502 versions, to handle different input value types when the construction
503 variable being updated is a dictionary.
505 - Add a --cache-debug option for information about what files it's
506 looking for in a CacheDir().
508 - Document the difference in construction variable expansion between
509 {Action,Builder}() and env.{Action,Builder}().
511 - Change the name of env.Copy() to env.Clone(), keeping the old name
512 around for backwards compatibility (with the intention of eventually
513 phasing it out to avoid confusion with the Copy() Action factory).
517 - Support cleaning and scanning SWIG-generated files.
521 - Allow selection of Visual Studio version by setting $MSVS_VERSION
522 after construction environment initialization.
524 From Jean-Baptiste Lab:
526 - Try using zipimport if we can't import Tool or Platform modules
527 using the normal "imp" module. This allows SCons to be packaged
528 using py2exe's all-in-one-zip-file approach.
532 - Do not re-scan files if the scanner returns no implicit dependencies.
536 - Change use of $SOURCES to $SOURCE in all TeX-related Tool modules.
540 - Make SCons aware that "\makeindex" in TeX source files means that
541 related .ilg, .ind and .idx index files will be created.
542 (NOTE: This still needs to search for the string in \include files.)
544 - Prevent scanning the TeX .aux file for additional files from
545 trying to remove it twice when the -c option is used.
547 From Leanid Nazdrynau:
549 - Give the MSVC RES (resource) Builder a src_builder list and a .rc
550 src_suffix so other builders can generate .rc files.
552 From Matthew A. Nicholson:
554 - Enhance Install() and InstallAs() to handle directory trees as sources.
558 - Don't use the -fPIC flag when using gcc on Windows (e.g. MinGW).
562 - Add an env.ParseFlags() method that provides separate logic for
563 parsing GNU tool chain flags into a dictionary.
565 - Add an env.MergeFlags() method to apply an arbitrary dictionary
566 of flags to a construction environment's variables.
568 From Gary Oberbrunner:
570 - Fix parsing tripartite Intel C compiler version numbers on Linux.
572 - Extend the ParseConfig() function to recognize -arch and
575 - Have the error message list the known suffixes when a Builder call
576 can't build a source file with an unknown suffix.
580 - Avoid recursive calls to main() in the program snippet used by the
581 SConf subsystem to test linking against libraries. This changes the
582 default behavior of CheckLib() and CheckLibWithHeader() to print
583 "Checking for C library foo..." instead of "Checking for main()
584 in C library foo...".
588 - Throw an exception if a command called by ParseConfig() or
589 ParseFlags() returns an error.
593 - Initial infrastructure for running SCons tests under QMTest.
597 - Fix tests that fail due to gcc warnings.
599 From Dobes Vandermeer:
601 - In stack traces, print the full paths of SConscript files.
605 - Fix detection of Visual C++ Express Edition.
607 From Dobes Vandermeer:
609 - Let the src_dir option to the SConscript() function affect all the
610 the source file paths, instead of treating all source files paths
611 as relative to the SConscript directory itself.
615 - Fix finding Fortran modules in build directories.
617 - Fix use of BuildDir() when the source file in the source directory
618 is a symlink with a relative path.
622 - Fix the Memoizer when the SCons Python modules are executed from
623 .pyo files at different locations from where they were compiled.
627 - Fix missing os.path.join() when constructing the $FRAMEWORKSDKDIR/bin.
631 RELEASE 0.96.92 - Mon, 10 Apr 2006 21:08:22 -0400
633 NOTE: This was a pre-release of 0.97 for testing purposes.
637 - Fix the intelc.py Tool module to not throw an exception if the
638 only installed version is something other than ia32.
640 - Set $CCVERSION when using gcc.
644 - Support generating project and solution files for Microsoft
645 Visual Studio version 8.
647 - Support generating more than one project file for a Microsoft
648 Visual Studio solution file.
650 - Add support for a support "runfile" parameter to Microsoft
651 Visual Studio project file creation.
653 - Put the project GUID, not the solution GUID, in the right spot
654 in the solution file.
656 From Erling Andersen:
658 - Fix interpretation of Node.FS objects wrapped in Proxy instances,
659 allowing expansion of things like ${File(TARGET)} in command lines.
661 From Stanislav Baranov:
663 - Add a separate MSVSSolution() Builder, with support for the
664 following new construction variables: $MSVSBUILDCOM, $MSVSCLEANCOM,
665 $MSVSENCODING, $MSVSREBUILDCOM, $MSVSSCONS, $MSVSSCONSCOM,
666 $MSVSSCONSFLAGS, $MSVSSCONSCRIPT and $MSVSSOLUTIONCOM.
668 From Ralph W. Grosse-Kunstleve and Patrick Mezard:
670 - Remove unneceesary (and incorrect) SCons.Util strings on some function
675 - Fix C/C++ compiler selection on AIX to not always use the external $CC
676 environment variable.
678 From August Hörandl:
680 - Add a scanner for \include and \import files, with support for
681 searching a directory list in $TEXINPUTS (imported from the external
684 - Support $MAKEINDEX, $MAKEINDEXCOM, $MAKEINDEXCOMSTR and
685 $MAKEINDEXFLAGS for generating indices from .idx files.
689 - Add a NoClean() Environment method and function to override removal
690 of targets during a -c clean, including documentation and tests.
694 - Check for whether files exist on disk by listing the directory
695 contents, not calling os.path.exists() file by file. This is
696 somewhat more efficient in general, and may be significantly
697 more efficient on Windows.
699 - Minor speedups in the internal is_Dict(), is_List() and is_String()
702 - Fix a signature refactoring bug that caused Qt header files to
703 get re-generated every time.
705 - Don't fail when writing signatures if the .sconsign.dblite file is
706 owned by a different user (e.g. root) from a previous run.
708 - When deleting variables from stacked OverrideEnvironments, don't
709 throw a KeyError if we were able to delte the variable from any
710 Environment in the stack.
712 - Get rid of the last indentation tabs in the SCons source files and
713 add -tt to the Python invocations in the packaging build and the
714 tests so they don't creep back in.
716 - In Visual Studio project files, put quotes around the -C directory
717 so everything works even if the path has spaces in it.
719 - The Intel Fortran compiler uses -object:$TARGET, not "-o $TARGET",
720 when building object files on Windows. Have the the ifort Tool
721 modify the default command lines appropriately.
723 - Document the --debug=explain option in the man page. (How did we
726 - Add a $LATEXRETRIES variable to allow configuration of the number of
727 times LaTex can be re-called to try to resolve undefined references.
729 - Change the order of the arguments to Configure.Checklib() to match
732 - Handle signature calculation properly when the Python function used
733 for a FunctionAction is an object method.
735 - On Windows, assume that absolute path names without a drive letter
736 refer to the drive on which the SConstruct file lives.
738 - Add /usr/ccs/bin to the end of the the default external execution
741 - Add $PKGCHK and $PKGINFO variables for use on Solaris when searching
742 for the SunPRO C++ compiler. Make the default value for $PKGCHK
743 be /usr/sbin/pgkchk (since /usr/sbin isn't usually on the external
746 - Fix a man page example of overriding variables when calling
747 SharedLibrary() to also set the $LIBSUFFIXES variable.
749 - Add a --taskmastertrace=FILE option to give some insight on how
750 the taskmaster decides what Node to build next.
752 - Changed the names of the old $WIN32DEFPREFIX, $WIN32DEFSUFFIX,
753 $WIN32DLLPREFIX and $WIN32IMPLIBPREFIX construction variables to
754 new $WINDOWSDEFPREFIX, $WINDOWSDEFSUFFIX, $WINDOWSDLLPREFIX and
755 $WINDOWSIMPLIBPREFIX construction variables. The old names are now
756 deprecated, but preserved for backwards compatibility.
758 - Fix (?) a runtest.py hang on Windows when the --xml option is used.
760 - Change the message when an error occurs trying to interact with the
761 file system to report the target(s) in square brackets (as before) and
762 the actual file or directory that encountered the error afterwards.
766 - Add x64 support for Microsoft Visual Studio 8.
768 From Baptiste Lepilleur:
770 - Support the --debug=memory option on Windows when the Python version
771 has the win32process and win32api modules.
773 - Add support for Visual Studio 2005 Pro.
775 - Fix portability issues in various tests: test/Case.py,
776 Test/Java/{JAR,JARCHDIR,JARFLAGS,JAVAC,JAVACFLAGS,JAVAH,RMIC}.py,
777 test/MSVS/vs-{6.0,7.0,7.1,8.0}-exec.py,
778 test/Repository/{Java,JavaH,RMIC}.py,
779 test/QT/{generated-ui,installed,up-to-date,warnings}.py,
782 - Ignore pkgchk errors on Solaris when searching for the C++ compiler.
784 - Speed up the SCons/EnvironmentTests.py unit tests.
786 - Add a --verbose= option to runtest.py to print executed commands
787 and their output at various levels.
789 From Christian Maaser:
791 - Add support for Visual Studio Express Editions.
793 - Add support for Visual Studio 8 *.manifest files, includng
794 new $WINDOWS_INSERT_MANIFEST, $WINDOWSPROGMANIFESTSUFFIX,
795 $WINDOWSPROGMANIFESTPREFIX, $WINDOWSPROGMANIFESTSUFFIX,
796 $WINDOWSSHLIBMANIFESTPREFIX and $WINDOWSSHLIBMANIFESTSUFFIX
797 construction variables.
801 - Fix detection of additional Java inner classes following use of a
802 "new" keyword inside an inner class.
806 - Correct TeX-related command lines to just $SOURCE, not $SOURCES
810 - Execute build commands for a command-line target if any of the
811 files built along with the target is out of date or non-existent,
812 not just if the command-line target itself is out of date.
814 - Fix the -n option when used with -c to print all of the targets
815 that will be removed for a multi-target Builder call.
817 - If there's no file in the source directory, make sure there isn't
818 one in the build directory, too, to avoid dangling files left
819 over from previous runs when a source file is removed.
821 - Allow AppendUnique() and PrependUnique() to append strings (and
822 other atomic objects) to lists.
826 - Extend latex.py, pdflatex.py, pdftex.py and tex.py so that building
827 from both TeX and LaTeX files uses the same logic to call $BIBTEX
828 when it's necessary, to call $MAKEINDEX when it's necessary, and to
829 call $TEX or $LATEX multiple times to handle undefined references.
831 - Add an emitter to the various TeX builders so that the generated
832 .aux and .log files also get deleted by the -c option.
834 From Leanid Nazdrynau:
836 - Fix the Qt UIC scanner to work with generated .ui files (by using
837 the FindFile() function instead of checking by-hand for the file).
839 From Jan Nieuwenhuizen:
841 - Fix a problem with interpreting quoted argument lists on command lines.
845 - Add /sw/bin to the default execution PATH on Mac OS X.
849 - When building a .jar file and there is a $JARCHDIR, put the -C
850 in front of each .class file on the command line.
852 - Recognize the Java 1.5 enum keyword.
854 From Asfand Yar Qazi:
856 - Add /opt/bin to the default execution PATH on all POSIX platforms
857 (between /usr/local/bin and /bin).
861 - Fix the use of Configure() contexts from nested subsidiary
864 From Christoph Schulz:
866 - Add support for $CONFIGUREDIR and $CONFIGURELOG variables to control
867 the directory and logs for configuration tests.
869 - Add support for a $INSTALLSTR variable.
871 - Add support for $RANLIBCOM and $RANLIBCOMSTR variables (which fixes
872 a bug when setting $ARCOMSTR).
876 - Add use of $CPPDEFINES to $RCCOM (resource file compilation) on MinGW.
878 From Erick Tryzelaar:
880 - Fix the error message when trying to report that a given option is
881 not gettable/settable from an SConscript file.
883 From Dobes Vandermeer:
885 - Add support for SCC and other settings in Microsoft Visual
886 Studio project and solution files: $MSVS_PROJECT_BASE_PATH,
887 $MSVS_PROJECT_GUID, $MSVS_SCC_AUX_PATH, $MSVS_SCC_LOCAL_PATH,
888 $MSVS_SCC_PROJECT_NAME, $MSVS_SCC_PROVIDER,
890 - Add support for using a $SCONS_HOME variable (imported from the
891 external environment, or settable internally) to put a shortened
892 SCons execution line in the Visual Studio project file.
894 From David J. Van Maren:
896 - Only filter common prefixes from source files names in Visual Studio
897 project files if the prefix is a complete (sub)directory name.
901 - If $MSVSVERSIONS is already set, don't overwrite it with
902 information from the registry.
906 RELEASE 0.96.91 - Thu, 08 Sep 2005 07:18:23 -0400
908 NOTE: This was a pre-release of 0.97 for testing purposes.
912 - Have the environment store the toolpath and re-use it to find Tools
913 modules during later Copy() or Tool() calls (unless overridden).
915 - Normalize the directory path names in SConsignFile() database
916 files so the same signature file can interoperate on Windows and
919 - Make --debug=stacktrace print a stacktrace when a UserError is thrown.
921 - Remove an old, erroneous cut-and-paste comment in Scanner/Dir.py.
923 From Stanislav Baranov:
925 - Make it possible to support with custom Alias (sub-)classes.
927 - Allow Builders to take empty source lists when called.
929 - Allow access to both TARGET and SOURCE in $*PATH expansions.
931 - Allow SConscript files to modify BUILD_TARGETS.
933 From Timothee Besset:
935 - Add support for Objective C/C++ .m and .mm file suffixes (for
940 - Fix the PharLap linkloc.py module to use target+source arguments
941 when calling env.subst().
945 - Fix an incorrect Command() keyword argument in the man page.
947 - Add a $TEMPFILEPREFIX variable to control the prefix or flag used
948 to pass a long-command-line-execution tempfile to a command.
952 - Enhanced the SCons setup.py script to install man pages on
955 - Add support for an Options.FormatOptionHelpText() method that can
956 be overridden to customize the format of Options help text.
958 - Add a global name for the Entry class (which had already been
961 - Fix re-scanning of generated source files for implicit dependencies
962 when the -j option is used.
964 - Fix a dependency problem that caused $LIBS scans to not be added
965 to all of the targets in a multiple-target builder call, which
966 could cause out-of-order builds when the -j option is used.
968 - Store the paths of source files and dependencies in the .sconsign*
969 file(s) relative to the target's directory, not relative to the
970 top-level SConstruct directory. This starts to make it possible to
971 subdivide the dependency tree arbitrarily by putting an SConstruct
972 file in every directory and using content signatures.
974 - Add support for $YACCHFILESUFFIX and $YACCHXXFILESUFFIX variables
975 that accomodate parser generators that write header files to a
976 different suffix than the hard-coded .hpp when the -d option is used.
978 - The default behavior is now to store signature information in a
979 single .sconsign.dblite file in the top-level SConstruct directory.
980 The old behavior of a separate .sconsign file in each directory can
981 be specified by calling SConsignFile(None).
983 - Remove line number byte codes within the signature calculation
984 of Python function actions, so that changing the location of an
985 otherwise unmodified Python function doesn't cause rebuilds.
987 - Fix AddPreAction() and AddPostAction() when an action has more than
988 one target file: attach the actions to the Executor, not the Node.
990 - Allow the source directory of a BuildDir / build_dir to be outside
991 of the top-level SConstruct directory tree.
993 - Add a --debug=nomemoizer option that disables the Memoizer for clearer
994 looks at the counts and profiles of the underlying function calls,
995 not the Memoizer wrappers.
997 - Print various --debug= stats even if we exit early (e.g. using -h).
999 - Really only use the cached content signature value if the file
1000 is older than --max-drift, not just if --max-drift is set.
1002 - Remove support for conversion from old (pre 0.96) .sconsign formats.
1004 - Add support for a --diskcheck option to enable or disable various
1005 on-disk checks: that File and Dir nodes match on-disk entries;
1006 whether an RCS file exists for a missing source file; whether an
1007 SCCS file exists for a missing source file.
1009 - Add a --raw argument to the sconsign script, so it can print a
1010 raw representation of each entry's NodeInfo dictionary.
1012 - Add the 'f90' and 'f95' tools to the list of Fortran compilers
1013 searched for by default.
1015 - Add the +Z option by default when compiling shared objects on
1020 - Handle Visual Studio project and solution files in Unicode.
1022 From Sanjoy Mahajan:
1024 - Fix a bad use of Copy() in an example in the man page, and a
1025 bad regular expression example in the man page and User's Guide.
1029 - Have the Visual Studio project file(s) echo "Starting SCons" before
1030 executing SCons, mainly to work around a quote-stripping bug in
1031 (some versions of?) the Windows cmd command executor.
1033 From Georg Mischler:
1035 - Remove the space after the -o option when invoking the Borland
1036 BCC compiler; some versions apparently require that the file name
1037 argument be concatenated with the option.
1039 From Leanid Nazdrynau:
1041 - Fix the Java parser's handling of backslashes in strings.
1045 - Add construction variables to support frameworks on Mac OS X:
1046 $FRAMEWORKS, $FRAMEWORKPREFIX, $FRAMEWORKPATH, $FRAMEWORKPATHPREFIX.
1048 - Re-order link lines so the -o option always comes right after the
1051 From Gary Oberbrunner:
1053 - Add support for Intel C++ beta 9.0 (both 32 and 64 bit versions).
1055 - Document the new $FRAMEWORK* variables for Mac OS X.
1057 From Karol Pietrzak:
1059 - Add $RPATH (-R) support to the Sun linker Tool (sunlink).
1061 - Add a description of env.subst() to the man page.
1065 - Look in the right directory, not always the local directory, for a
1066 same-named file or directory conflict on disk.
1068 - On Windows, preserve the external environment's %SYSTEMDRIVE%
1073 - Have the Fortran module emitter look for Fortan modules to be created
1074 relative to $FORTRANMODDIR, not the top-level directory.
1076 - When saving Options to a file, run default values through the
1077 converter before comparing them with the set values. This correctly
1078 suppresses Boolean Option values from getting written to the saved
1079 file when they're one of the many synonyms for a default True or
1082 - Fix the Fortran Scanner's ability to handle a module being used
1083 in the same file in which it is defined.
1087 - Add the -KPIC option by default when compiling shared objects on
1090 - Change the default suffix for Solaris objects to .o, to conform to
1091 Sun WorkShop's expectations. Change the profix to so_ so they can
1092 still be differentiated from static objects in the same directory.
1096 - When calling the resource compiler on MinGW, add --include-dir and
1097 the source directory so it finds the source file.
1099 - Update EnsureSConsVersion() to support revision numbers.
1103 - Fix a misplaced line in the man page.
1107 RELEASE 0.96.90 - Tue, 15 Feb 2005 21:21:12 +0000
1109 NOTE: This was a pre-release of 0.97 for testing purposes.
1113 - Fix Java parsing to avoid erroneously identifying a new array
1114 of class instances as an anonymous inner class.
1116 - Fix a typo in the man page description of PathIsDirCreate.
1120 - Allow Help() to be called multiple times, appending to the help
1123 - Allow Tools found on a toolpath to import Python modules from
1124 their local directory.
1126 From Steve Christensen:
1128 - Handle exceptions from Python functions as build actions.
1130 - Add a set of canned PathOption validators: PathExists (the default),
1131 PathIsFile, PathIsDir and PathIsDirCreate.
1135 - Add support for .lex and .yacc file suffixes for Lex and Yacc files.
1139 - Huge performance improvement: wrap the tuples representing an
1140 include path in an object, so that the time it takes to hash the
1141 path doesn't grow porportionally to the length of the path.
1143 From Gottfried Ganssauge:
1145 - Fix SCons on SuSE/AMD-64 Linux by having the wrapper script also
1146 check for the build engine in the parent directory of the Python
1147 library directory (/usr/lib64 instead of /usr/lib).
1149 From Stephen Kennedy:
1151 - Speed up writing the .sconsign file at the end of a run by only
1152 calling sync() once at the end, not after every entry.
1156 - When compiling with Microsoft Visual Studio, don't include the ATL and
1157 MFC directories in the default INCLUDE and LIB environment variables.
1159 - Remove the following deprecated features: the ParseConfig()
1160 global function (deprecated in 0.93); the misspelled "validater"
1161 keyword to the Options.Add() method (deprecated in 0.91); the
1162 SetBuildSignatureType(), SetContentSignatureType(), SetJobs() and
1163 GetJobs() global functions (deprecated in 0.14).
1165 - Fix problems with corrupting the .sconsign.dblite file when
1166 interrupting builds by writing to a temporary file and renaming,
1167 not writing the file directly.
1169 - Fix a 0.96 regression where when running with -k, targets built from
1170 walking dependencies later on the command line would not realize
1171 that a dependency had failed an earlier build attempt, and would
1172 try to rebuild the dependent targets.
1174 - Change the final messages when using -k and errors occur from
1175 "{building,cleaning} terminated because of errors" to "done
1176 {building,cleaning} targets (errors occurred during {build,clean})."
1178 - Allow Configure.CheckFunc() to take an optional header argument
1179 (already supported by Conftest.py) to specify text at the top of
1180 the compiled test file.
1182 - Fix the --debug=explain output when a Python function action changed
1183 so it prints a meaningful string, not the binary representation of
1184 the function contents.
1186 - Allow a ListOption's default value(s) to be a Python list of specified
1187 values, not just a string containing a comma-separated list of names.
1189 - Add a ParseDepends() function that will parse up a list of explicit
1190 dependencies from a "make depend" style file.
1192 - Support the ability to change directory when executing an Action
1193 through "chdir" keyword arguments to Action and Builder creation
1196 - Fix handling of Action ojects (and other callables that don't match
1197 our calling arguments) in construction variable expansions.
1199 - On Win32, install scons.bat in the Python directory when installing
1200 from setup.py. (The bdist_wininst installer was already doing this.)
1202 - Fix env.SConscript() when called with a list of SConscipt files.
1203 (The SConscript() global function already worked properly.)
1205 - Add a missing newline to the end of the --debug=explain "unknown
1208 - Enhance ParseConfig() to work properly for spaces in between the -I,
1209 -L and -l options and their arguments.
1211 - Packaging build fix: Rebuild the files that are use to report the
1212 --version of SCons whenever the development version number changes.
1214 - Fix the ability to specify a target_factory of Dir() to a Builder,
1215 which the default create-a-directory Builder was interfering with.
1217 - Mark a directory as built if it's created as part of the preparation
1218 for another target, to avoid trying to build it again when it comes
1219 up in the target list.
1221 - Allow a function with the right calling signature to be put directly
1222 in an Environment's BUILDERS dictionary, making for easier creation
1223 and use of wrappers (pseudo-Builders) that call other Builders.
1225 - On Python 2.x, wrap lists of Nodes returned by Builders in a UserList
1226 object that adds a method that makes str() object return a string
1227 with all of the Nodes expanded to their path names. (Builders under
1228 Python 1.5.2 still return lists to avoid TypeErrors when trying
1229 to extend() list, so Python 1.5.2 doesn't get pretty-printing of Node
1230 lists, but everything should still function.)
1232 - Allow Aliases to have actions that will be executed whenever
1233 any of the expanded Alias targets are out of date.
1235 - Fix expansion of env.Command() overrides within target and
1238 - Support easier customization of what's displayed by various default
1239 actions by adding lots of new construction variables: $ARCOMSTR,
1240 $ASCOMSTR, $ASPPCOMSTR, $BIBTEXCOMSTR, $BITKEEPERCOMSTR, $CCCOMSTR,
1241 $CVSCOMSTR, $CXXCOMSTR, $DCOMSTR, $DVIPDFCOMSTR, $F77COMSTR,
1242 $F90COMSTR, $F95COMSTR, $FORTRANCOMSTR, $GSCOMSTR, $JARCOMSTR,
1243 $JAVACCOMSTR, $JAVAHCOMSTR, $LATEXCOMSTR, $LEXCOMSTR, $LINKCOMSTR,
1244 $M4COMSTR, $MIDLCOMSTR, $P4COMSTR, $PCHCOMSTR, $PDFLATEXCOMSTR,
1245 $PDFTEXCOMSTR, $PSCOMSTR, $QT_MOCFROMCXXCOMSTR, $QT_MOCFROMHCOMSTR,
1246 $QT_UICCOMSTR, $RCCOMSTR, $REGSVRCOMSTR, $RCS_COCOMSTR, $RMICCOMSTR,
1247 $SCCSCOMSTR, $SHCCCOMSTR, $SHCXXCOMSTR, $SHF77COMSTR, $SHF90COMSTR,
1248 $SHF95COMSTR, $SHFORTRANCOMSTR, $SHLINKCOMSTR, $SWIGCOMSTR,
1249 $TARCOMSTR, $TEXCOMSTR, $YACCCOMSTR and $ZIPCOMSTR.
1251 - Add an optional "map" keyword argument to ListOption() that takes a
1252 dictionary to map user-specified values to legal values from the list
1253 (like EnumOption() already doee).
1255 - Add specific exceptions to try:-except: blocks without any listed,
1256 so that they won't catch and mask keyboard interrupts.
1258 - Make --debug={tree,dtree,stree} print something even when there's
1261 - Fix how Scanners sort the found dependencies so that it doesn't
1262 matter whether the dependency file is in a Repository or not.
1263 This may cause recompilations upon upgrade to this version.
1265 - Make AlwaysBuild() work with Alias and Python value Nodes (making
1266 it much simpler to support aliases like "clean" that just invoke
1267 an arbitrary action).
1269 - Have env.ParseConfig() use AppendUnique() by default to suppress
1270 duplicate entries from multiple calls. Add a "unique" keyword
1271 argument to allow the old behavior to be specified.
1273 - Allow the library modules imported by an SConscript file to get at
1274 all of the normally-available global functions and variables by saying
1275 "from SCons.Script import *".
1277 - Add a --debug=memoizer option to print Memoizer hit/mass statistics.
1279 - Allow more than one --debug= option to be set at a time.
1281 - Change --debug=count to report object counts before and after
1282 reading SConscript files and before and after building targets.
1284 - Change --debug=memory output to line up the numbers and to better
1285 match (more or less) the headers on the --debug=count columns.
1287 - Speed things up when there are lists of targets and/or sources by
1288 getting rid of some N^2 walks of the lists involved.
1290 - Cache evaluation of LazyActions so we don't create a new object
1291 for each invocation.
1293 - When scanning, don't create Nodes for include files that don't
1294 actually exist on disk.
1296 - Make supported global variables CScanner, DScanner, ProgramScanner and
1297 SourceFileScanner. Make SourceFileScanner.add_scanner() a supported
1298 part of the public interface. Keep the old SCons.Defaults.*Scan names
1299 around for a while longer since some people were already using them.
1301 - By default, don't scan directories for on-disk files. Add a
1302 DirScanner global scanner that can be used in Builders or Command()
1303 calls that want source directory trees scanned for on-disk changes.
1304 Have the Tar() and Zip() Builders use the new DirScanner to preserve
1305 the behavior of rebuilding a .tar or .zip file if any file or
1306 directory under a source tree changes. Add Command() support for
1307 a source_scanner keyword argument to Command() that can be set to
1308 DirScanner to get this behavior.
1310 - Documentation changes: Explain that $CXXFLAGS contains $CCFLAGS
1311 by default. Fix a bad target_factory example in the man page.
1312 Add appendices to the User's Guide to cover the available Tools,
1313 Builders and construction variables. Comment out the build of
1314 the old Python 10 paper, which doesn't build on all systems and
1315 is old enough at this point that it probably isn't worth the
1316 effort to make it do so.
1320 - Avoid "maximum recursion limit" errors when removing $(-$) pairs
1321 from long command lines.
1323 From Clive Levinson:
1325 - Make ParseConfig() recognize and add -mno-cygwin to $LINKFLAGS and
1326 $CCFLAGS, and -mwindows to $LINKFLAGS.
1328 From Michael McCracken:
1330 - Add a new "applelink" tool to handle the things like Frameworks and
1331 bundles that Apple has added to gcc for linking.
1333 - Use more appropriate default search lists of linkers, compilers and
1334 and other tools for the 'darwin' platform.
1336 - Add a LoadableModule Builder that builds a bundle on Mac OS X (Darwin)
1337 and a shared library on other systems.
1339 - Improve SWIG tests for use on Mac OS X (Darwin).
1343 - Enhance the tests to guarantee persistence of ListOption
1344 values in saved options files.
1346 - Supply the help text when -h is used with the -u, -U or -D options.
1348 From Christian Neeb:
1350 - Fix the Java parser's handling of string definitions to avoid ignoring
1353 From Han-Wen Nienhuys:
1355 - Optimize variable expansion by: using the re.sub() method (when
1356 possible); not using "eval" for variables for which we can fetch the
1357 value directory; avoiding slowing substitution logic when there's no
1360 From Gary Oberbrunner:
1362 - Add an Environment.Dump() method to print the contents of a
1363 construction environment.
1365 - Allow $LIBS (and similar variables) to contain explicit File Nodes.
1367 - Change ParseConfig to add the found library names directly to the
1368 $LIBS variable, instead of returning them.
1370 - Add ParseConfig() support for the -framework GNU linker option.
1372 - Add a PRINT_CMD_LINE_FUNC construction variable to allow people
1373 to filter (or log) command-line output.
1375 - Print an internal Python stack trace in response to an otherwise
1376 unexplained error when --debug=stacktrace is specified.
1378 - Add a --debug=findlibs option to print what's happening when
1379 the scanner is searching for libraries.
1381 - Allow Tool specifications to be passed a dictionary of keyword
1384 - Support an Options default value of None, in which case the variable
1385 will not be added to the construction environment unless it's set
1386 explicitly by the user or from an Options file.
1388 - Avoid copying __builtin__ values into a construction environment's
1389 dictionary when evaluating construction variables.
1391 - Add a new cross-platform intelc.py Tool that can detect and
1392 configure the Intel C++ v8 compiler on both Windows, where it's
1393 named icl, and Linux, where it's named icc. It also checks that
1394 the directory specified in the Windows registry exists, and sets a
1395 new $INTEL_C_COMPILER_VERSION construction variable to identify the
1396 version being used. (Niall Douglas contributed an early prototype
1397 of parts of this module.)
1399 - Fix the private Conftest._Have() function so it doesn't change
1400 non-alphanumeric characters to underscores.
1402 - Supply a better error message when a construction variable expansion
1403 has an unknown attribute.
1405 - Documentation changes: Update the man page to describe use of
1406 filenames or Nodes in $LIBS.
1410 - Have the linkloc tool use $MSVS_VERSION to select the Microsoft
1411 Visual Studio version to use.
1415 - Fix the Builder name returned from ListBuilders and other instances
1416 of subclasses of the BuilderBase class.
1418 - Add Builders and construction variables to support rpcgen:
1419 RPCGenClient(), RPCGenHeader(), RPCGenService(), RPCGenXDR(),
1420 $RPCGEN, $RPCGENFLAGS, $RPCGENCLIENTFLAGS, $RPCGENHEADERFLAGS,
1421 $RPCGENSERVICEFLAGS, $RPCGENXDRFLAGS.
1423 - Update the man page to document that prefix and suffix Builder
1424 keyword arguments can be strings, callables or dictionaries.
1426 - Provide more info in the error message when a user tries to build
1427 a target multiple ways.
1429 - Fix Delete() when a file doesn't exist and must_exist=1. (We were
1430 unintentionally dependent on a bug in versions of the Python shutil.py
1431 module prior to Python 2.3, which would generate an exception for
1432 a nonexistent file even when ignore_errors was set.)
1434 - Only replace a Node's builder with a non-null source builder.
1436 - Fix a stack trace when a suffix selection dictionary is passed
1437 an empty source file list.
1439 - Allow optional names to be attached to Builders, for default
1440 Builders that don't get attached to construction environments.
1442 - Fix problems with Parallel Task Exception handling.
1444 - Build targets in an associated BuildDir even if there are targets
1445 or subdirectories locally in the source directory.
1447 - If a FunctionAction has a callable class as its underlying Python
1448 function, use its strfunction() method (if any) to display the
1451 - Fix handling when BuildDir() exists but is unwriteable. Add
1452 "Stop." to those error messages for consistency.
1454 - Catch incidents of bad builder creation (without an action) and
1455 supply meaningful error messages.
1457 - Fix handling of src_suffix values that aren't extensions (don't
1460 - Don't retrieve files from a CacheDir, but report what would happen,
1461 when the -n option is used.
1463 - Use the source_scanner from the target Node, not the source node
1466 - Internal Scanners fixes: Make sure Scanners are only passed Nodes.
1467 Fix how a Scanner.Selector called its base class initialization.
1468 Make comparisons of Scanner objects more robust. Add a name to
1469 an internal default ObjSourceScanner.
1471 - Add a deprecated warning for use of the old "scanner" keyword argument
1472 to Builder creation.
1474 - Improve the --debug=explain message when the build action changes.
1476 - Test enhancements in SourceCode.py, option-n.py, midl.py. Better
1477 Command() and Scanner test coverage. Improved test infrastructure
1480 - Refactor the interface between Action and Executor objects to treat
1483 - The --debug=presub option will now report the pre-substitution
1484 each action seprately, instead of reporting the entire list before
1485 executing the actions one by one.
1487 - The --debug=explain option explaining a changed action will now
1488 (more correctly) show pre-substitution action strings, instead of
1489 the commands with substituted file names.
1491 - A Node (file) will now be rebuilt if its PreAction or PostAction
1494 - Python Function actions now have their calling signature (target,
1495 source, env) reported correctly when displayed.
1497 - Fix BuildDir()/build_dir handling when the build_dir is underneath
1498 the source directory and trying to use entries from the build_dir
1499 as sources for other targets in the build-dir.
1501 - Fix hard-coding of JDK path names in various Java tests.
1503 - Handle Python stack traces consistently (stop at the SConscript stack
1504 frame, by default) even if the Python source code isn't available.
1506 - Improve the performance of the --debug={tree,dtree} options.
1508 - Add --debug=objects logging of creation of OverrideWarner,
1509 EnvironmentCopy and EnvironmentOverride objects.
1511 - Fix command-line expansion of Python Value Nodes.
1513 - Internal cleanups: Remove an unnecessary scan argument. Associate
1514 Scanners only with Builders, not nodes. Apply overrides once when
1515 a Builder is called, not in multiple places. Cache results from the
1516 Node.FS.get_suffix() and Node.get_build_env() methods. Use the Python
1517 md5 modules' hexdigest() method, if there is one. Have Taskmaster
1518 call get_stat() once for each Node and re-use the value instead of
1519 calling it each time it needs the value. Have Node.depends_on()
1520 re-use the list from the children() method instead of calling it
1523 - Use the correct scanner if the same source file is used for targets in
1524 two different environments with the same path but different scanners.
1526 - Collect logic for caching values in memory in a Memoizer class,
1527 which cleans up a lot of special-case code in various methods and
1528 caches additional values to speed up most configurations.
1530 - Add a PathAccept validator to the list of new canned PathOption
1535 - Documentation changes: Use $CPPDEFINES instead of $CCFLAGS in man
1540 - Allow $JARCHDIR to be expanded to other construction variables.
1542 From Christoph Wiedemann:
1544 - Add an Environment.SetDefault() method that only sets values if
1545 they aren't already set.
1547 - Have the qt.py Tool not override variables already set by the user.
1549 - Add separate $QT_BINPATH, $QT_CPPPATH and $QT_LIBPATH variables
1550 so these can be set individually, instead of being hard-wired
1553 - The %TEMP% and %TMP% external environment variables are now propagated
1554 automatically to the command execution environment on Windows systems.
1556 - A new --config= command-line option allows explicit control of
1557 of when the Configure() tests are run: --config=force forces all
1558 checks to be run, --config=cache uses all previously cached values,
1559 --config=auto (the default) runs tests only when dependency analysis
1560 determines it's necessary.
1562 - The Configure() subsystem can now write a config.h file with values
1563 like HAVE_STDIO_H, HAVE_LIBM, etc.
1565 - The Configure() subsystem now executes its checks silently when the
1566 -Q option is specified.
1568 - The Configure() subsystem now reports if a test result is being
1569 taken from cache, and prints the standard output and error output
1570 of tests even when cached.
1572 - Configure() test results are now reported as "yes" or "no" instead of
1575 - Fixed traceback printing when calling the env.Configure() method
1576 instead of the Configure() global function.
1578 - The Configure() subsystem now caches build failures in a .sconsign
1579 file in the subdirectory, not a .cache file. This may cause
1580 tests to be re-executed the first time after you install 0.97.
1582 - Additional significant internal cleanups in the Configure() subsystem
1585 - Have the Qt Builder make uic-generated files dependent on the .ui.h
1586 file, if one exists.
1588 - Add a test to make sure that SCons source code does not contain
1589 try:-except: blocks that catch all errors, which potentially catch
1590 and mask keyboard interrupts.
1592 - Fix us of TargetSignatures('content') with the SConf subsystem.
1594 From Russell Yanofsky:
1596 - Add support for the Metrowerks Codewarrior compiler and linker
1601 RELEASE 0.96.1 - Mon, 23 Aug 2004 12:55:50 +0000
1603 From Craig Bachelor:
1605 - Handle white space in the executable Python path name within in MSVS
1606 project files by quoting the path.
1608 - Correct the format of a GUID string in a solution (.dsw) file so
1609 MSVS can correctly "build enable" a project.
1613 - Add a must_exist flag to Delete() to let the user control whether
1614 it's an error if the specified entry doesn't exist. The default
1615 behavior is now to silently do nothing if it doesn't exist.
1617 - Package up the new Platform/darwin.py, mistakenly left out of 0.96.
1619 - Make the scons.bat REM statements into @REM so they aren't printed.
1621 - Make the SCons packaging SConscript files platform independent.
1625 - Fix scanning of pre-compiled header (.pch) files for #includes,
1630 RELEASE 0.96 - Wed, 18 Aug 2004 13:36:40 +0000
1634 - Make the CacheDir() directory if it doesn't already exist.
1636 - Allow construction variable substitutions in $LIBS specifications.
1638 - Allow the emitter argument to a Builder() to be or expand to a list
1639 of emitter functions, which will be called in sequence.
1641 - Suppress null values in construction variables like $LIBS that use
1642 the internal _concat() function.
1644 - Remove .dll files from the construction variables searched for
1645 libraries that can be fed to Win32 compilers.
1647 From Chad Austin and Christoph Wiedemann:
1649 - Add support for a $RPATH variable to supply a list of directories
1650 to search for shared libraries when linking a program. Used by
1651 the GNU and IRIX linkers (gnulink and sgilink).
1655 - Restore the ability to do construction variable substitutions in all
1656 kinds of *PATH variables, even when the substitution returns a Node
1661 - Allow the Java() Builder to take more than one source directory.
1663 From Ralf W. Grosse-Kunstleve:
1665 - Have SConsignFile() use, by default, a custom "dblite.py" that we can
1666 control and guarantee to work on all Python versions (or nearly so).
1668 From Jonathan Gurley:
1670 - Add support for the newer "ifort" versions of the Intel Fortran
1675 - Make the new *FLAGS variable type work with copied Environments.
1677 From Chris Hoeppler:
1679 - Initialize the name of a Scanner.Classic scanner correctly.
1683 - Add support for the .dylib shared library suffix and the -dynamiclib
1684 linker option on Mac OS X.
1688 - Add an Execute() method for executing actions directly.
1690 - Support passing environment override keyword arguments to Command().
1692 - Fix use of $MSVS_IGNORE_IDE_PATHS, which was broken when we added
1693 support for $MSVS_USE_MFC_DIRS last release.
1695 - Make env.Append() and env.Prepend() act like the underlying Python
1696 behavior when the variable being appended to is a UserList object.
1698 - Fix a regression that prevented the Command() global function in
1699 0.95 from working with command-line strings as actions.
1701 - Fix checking out a file from a source code management system when
1702 the env.SourceCode() method was called with an individual file name
1703 or node, not a directory name or node.
1705 - Enhance the Task.make_ready() method to create a list of the
1706 out-of-date Nodes for the task for use by the wrapping interface.
1708 - Allow Scanners to pull the list of suffixes from the construction
1709 environment when the "skeys" keyword argument is a string containing
1710 a construction variable to be expanded.
1712 - Support new $CPPSUFFIXES, $DSUFFIXES $FORTRANSUFFIXES, and
1713 $IDLSUFFIXES. construction variables that contain the default list
1714 of suffixes to be scanned by a given type of scanner, allowing these
1715 suffix lists to be easily added to or overridden.
1717 - Speed up Node creation when calling a Builder by comparing whether two
1718 Environments are the same object, not if their underlying dictionaries
1721 - Add a --debug=explain option that reports the reason(s) why SCons
1722 thinks it must rebuild something.
1724 - Add support for functions that return platform-independent Actions
1725 to Chmod(), Copy(), Delete(), Mkdir(), Move() and Touch() files
1726 and/or directories. Like any other Actions, the returned Action
1727 object may be executed directly using the Execute() global function
1728 or env.Execute() environment method, or may be used as a Builder
1729 action or in an env.Command() action list.
1731 - Add support for the strfunction argument to all types of Actions:
1732 CommandAction, ListAction, and CommandGeneratorAction.
1734 - Speed up turning file system Nodes into strings by caching the
1735 values after we're finished reading the SConscript files.
1737 - Have ParseConfig() recognize and supporting adding the -Wa, -Wl,
1738 and -Wp, flags to ASFLAGS, LINKFLAGS and CPPFLAGS, respectively.
1740 - Change the .sconsign format and the checks for whether a Node is
1741 up-to-date to make dependency checks more efficient and correct.
1743 - Add wrapper Actions to SCons.Defaults for $ASCOM, $ASPPCOM, $LINKCOM,
1744 $SHLINKCOM, $ARCOM, $LEXCOM and $YACCCOM. This makes it possible
1745 to replace the default print behavior with a custom strfunction()
1748 - When a Node has been built, don't walk the whole tree back to delete
1749 the parents's implicit dependencies, let returning up the normal
1750 Taskmaster descent take care of it for us.
1752 - Add documented support for separate target_scanner and source_scanner
1753 arguments to Builder creation, which allows different scanners to
1754 be applied to source files
1756 - Don't re-install or (re-generate) .h files when a subsidiary #included
1757 .h file changes. This eliminates incorrect circular dependencies
1758 with .h files generated from other source files.
1760 - Slim down the internal Sig.Calculator class by eliminating methods
1761 whose functionality is now covered by Node methods.
1763 - Document use of the target_factory and source_factory keyword
1764 arguments when creating Builder objects. Enhance Dir Nodes so that
1765 they can be created with user-specified Builder objects.
1767 - Don't blow up with stack trace when the external $PATH environment
1770 - Make Builder calls return lists all the time, even if there's only
1771 one target. This keeps things consistent and easier to program to
1774 - Add a Flatten() function to make it easier to deal with the Builders
1775 all returning lists of targets, not individual targets.
1777 - Performance optimizations in Node.FS.__doLookup().
1779 - Man page fixes: formatting typos, misspellings, bad example.
1781 - User's Guide fixes: Fix the signatures of the various example
1782 *Options() calls. Triple-quote properly a multi-line Split example.
1784 - User's Guide additions: Chapter describing File and Directory
1785 Nodes. Section describing declarative nature of SCons functions in
1786 SConscript files. Better organization and clarification of points
1787 raised by Robert P. J. Day. Chapter describing SConf (Autoconf-like)
1788 functionality. Chapter describing how to install Python and
1789 SCons. Chapter describing Java builds.
1793 - Add a .win32 attribute to force file names to expand with
1794 Windows backslash path separators.
1796 - Fix escaping file names on command lines when the expansion is
1797 concatenated with another string.
1799 - Add support for Fortran 90 and Fortran 95. This adds $FORTRAN*
1800 variables that specify a default compiler, command-line, flags,
1801 etc. for all Fortran versions, plus separate $F90* and $F95*
1802 variables for when different compilers/flags/etc. must be specified
1803 for different Fortran versions.
1805 - Have individual tools that create libraries override the default
1806 $LIBPREFIX and $LIBSUFFIX values set by the platform. This makes
1807 it easier to use Microsoft Visual Studio tools on a CygWin platform.
1809 From Gary Oberbrunner:
1811 - Add a --debug=presub option to print actions prior to substitution.
1813 - Add a warning upon use of the override keywords "targets" and
1814 "sources" when calling Builders. These are usually mistakes which
1815 are otherwise silently (and confusingly) turned into construction
1818 - Try to find the ICL license file path name in the external environment
1819 and the registry before resorting to the hard-coded path name.
1821 - Add support for fetching command-line keyword=value arguments in
1822 order from an ARGLIST list.
1824 - Avoid stack traces when trying to read dangling symlinks.
1826 - Treat file "extensions" that only contain digits as part of the
1827 file basename. This supports version numbers as part of shared
1828 library names, for example.
1830 - Avoid problems when there are null entries (None or '') in tool
1833 - Add an example and explanation of how to use "tools = ['default', ..."
1834 when creating a construction environment.
1836 - Add a section describing File and Directory Nodes and some of their
1837 attributes and methods.
1839 - Have ParseConfig() add a returned -pthread flag to both $CCFLAGS
1842 - Fix some test portability issues on Mac OS X (darwin).
1846 - Fix a bug introduced in building shared libraries under MinGW.
1850 - Handling SCons exceptions according to Pythonic standards.
1852 - Fix test/chained-build.py on systems that execute within one second.
1854 - Fix tests on systems where 'ar' warns about archive creation.
1858 - Fix use of the --implicit-cache option with timestamp signatures.
1860 - If Visual Studio is installed, assume the C/C++ compiler, the linker
1861 and the MIDL compiler that comes with it are available, too.
1863 - Better error messages when evaluating a construction variable
1864 expansion yields a Python syntax error.
1866 - Change the generation of PDB files when using Visual Studio from
1867 compile time to link time.
1871 - Allow SConf.CheckLib() to search a list of libraries, like the
1872 Autoconf AC_SEARCH_LIBS macro.
1874 - Allow the env.WhereIs() method to take a "reject" argument to
1875 let it weed out specific path names.
1877 From Christoph Wiedemann:
1879 - Add new Moc() and Uic() Builders for more explicit control over
1880 Qt builds, plus new construction variables to control them:
1881 $QT_AUTOSCAN, $QT_DEBUG, $QT_MOCCXXPREFIX, $QT_MOCCXXSUFFIX,
1882 $QT_MOCHPREFIX, $QT_MOCHSUFFIX, $QT_UICDECLPREFIX, $QT_UICDECLSUFFIX,
1883 $QT_UICIMPLPREFIX, $QT_UICIMPLSUFFIX and $QT_UISUFFIX.
1885 - Add a new single_source keyword argument for Builders that enforces
1886 a single source file on calls to the Builder.
1890 RELEASE 0.95 - Mon, 08 Mar 2004 06:43:20 -0600
1894 - Replace print statements with calls to sys.stdout.write() so output
1895 lines stay together when -j is used.
1897 - Add portability fixes for a number of tests.
1899 - Accomodate the fact that Cygwin's os.path.normcase() lies about
1900 the underlying system being case-sensitive.
1902 - Fix an incorrect _concat() call in the $RCINCFLAGS definition for
1905 - Fix a problem with the msvc tool with Python versions prior to 2.3.
1907 - Add support for a "toolpath" Tool() and Environment keyword that
1908 allows Tool modules to be found in specified local directories.
1910 - Work around Cygwin Python's silly fiction that it's using a
1911 case-sensitive file system.
1913 - More robust handling of data in VCComponents.dat.
1915 - If the "env" command is available, spawn commands with the more
1916 general "env -" instead of "env -i".
1918 From Kerim Borchaev:
1920 - Fix a typo in a msvc.py's registry lookup: "VCComponents.dat", not
1923 From Chris Burghart:
1925 - Fix the ability to save/restore a PackageOption to a file.
1927 From Steve Christensen:
1929 - Update the MSVS .NET and MSVC 6.0/7.0 path detection.
1931 From David M. Cooke:
1933 - Make the Fortran scanner case-insensitive for the INCLUDE string.
1937 - If no version of MSVC is detected but the tool is specified,
1938 use the MSVC 6.0 paths by default.
1940 - Ignore any "6.1" version of MSVC found in the registry; this is a
1941 phony version number (created by later service packs?) and would
1942 throw off the logic if the user had any non-default paths configure.
1944 - Correctly detect if the user has independently configured the MSVC
1945 "include," "lib" or "path" in the registry and use the appropriate
1946 values. Previously, SCons would only use the values if all three
1947 were set in the registry.
1949 - Make sure side-effect nodes are prepare()d before building their
1950 corresponding target.
1952 - Preserve the ability to call BuildDir() multiple times with the
1953 same target and source directory arguments.
1957 - Add support for the Digital Mars "D" programming language.
1959 From Scott Lystig Fritchie:
1961 - Fix the ability to use a custom _concat() function in the
1962 construction environment when calling _stripixes().
1964 - Make the message about ignoring a missing SConscript file into a
1965 suppressable Warning, not a hard-coded sys.stderr.write().
1967 - If a builder can be called multiple times for a target (because
1968 the sources and overrides are identical, or it's a builder with the
1969 "multi" flag set), allow the builder to be called through multiple
1970 environments so long as the builders have the same signature for
1971 the environments in questions (that is, they're the same action).
1975 - When multiple targets are built by a single action, retrieve all
1976 of them from cache, not just the first target, and exec the build
1977 command if any of the targets isn't present in the cache.
1979 From Zephaniah Hull:
1981 - Fix command-line ARGUMENTS with multiple = in them.
1985 - Fix EnsureSConsVersion() so it checks against the SCons version,
1986 not the Python version, on Pythons with sys.version_info.
1988 - Don't swallow the AttributeError when someone uses an expansion like
1989 $TARGET.bak, so we can supply a more informative error message.
1991 - Fix an odd double-quote escape sequence in the man page.
1993 - Fix looking up a naked drive letter as a directory (Dir('C:')).
1995 - Support using File nodes in the LIBS construction variable.
1997 - Allow the LIBS construction variable to be a single string or File
1998 node, not a list, when only one library is needed.
2000 - Fix typos in the man page: JAVACHDIR => JARCHDIR; add "for_signature"
2001 to the __call__() example in the "Variable Substitution" section.
2003 - Correct error message spellings of "non-existant" to "non-existent."
2005 - When scanning for libraries to link with, don't append $LIBPREFIXES
2006 or $LIBSUFFIXES values to the $LIBS values if they're already present.
2008 - Add a ZIPCOMPRESSION construction variable to control whether the
2009 internal Python action for the Zip Builder compresses the file or
2010 not. The default value is zipfile.ZIP_DEFLATED, which generates
2013 - Refactor construction variable expansion to support recursive
2014 expansion of variables (e.g. CCFLAGS = "$CCFLAGS -g") without going
2015 into an infinite loop. Support this in all construction variable
2016 overrides, as well as when copying Environments.
2018 - Fix calling Configure() from more than one subsidiary SConscript file.
2020 - Fix the env.Action() method so it returns the correct type of
2021 Action for its argument(s).
2023 - Fix specifying .class files as input to JavaH with the .class suffix
2024 when they weren't generated using the Java Builder.
2026 - Make the check for whether all of the objects going into a
2027 SharedLibrary() are shared work even if the object was built in a
2030 - Supply meaningful error messages, not stack traces, if we try to add
2031 a non-Node as a source, dependency, or ignored dependency of a Node.
2033 - Generate MSVS Project files that re-invoke SCons properly regardless
2034 of whether the file was built via scons.bat or scons.py.
2035 (Thanks to Niall Douglas for contributing code and testing.)
2037 - Fix TestCmd.py, runtest.py and specific tests to accomodate being
2038 run from directories whose paths include white space.
2040 - Provide a more useful error message if a construction variable
2041 expansion contains a syntax error during evaluation.
2043 - Fix transparent checkout of implicit dependency files from SCCS
2046 - Added new --debug=count, --debug=memory and --debug=objects options.
2047 --debug=count and --debug=objects only print anything when run
2048 under Python 2.1 or later.
2050 - Deprecate the "overrides" keyword argument to Builder() creation
2051 in favor of using keyword argument values directly (like we do
2052 for builder execution and the like).
2054 - Always use the Builder overrides in substitutions, not just if
2055 there isn't a target-specific environment.
2057 - Add new "rsrcpath" and "rsrcdir" and attributes to $TARGET/$SOURCE,
2058 so Builder command lines can find things in Repository source
2059 directories when using BuildDir.
2061 - Fix the M4 Builder so that it chdirs to the Repository directory
2062 when the input file is in the source directory of a BuildDir.
2064 - Save memory at build time by allowing Nodes to delete their build
2065 environments after they've been built.
2067 - Add AppendUnique() and PrependUnique() Environment methods, which
2068 add values to construction variables like Append() and Prepend()
2069 do, but suppress any duplicate elements in the list.
2071 - Allow the 'qt' tool to still be used successfully from a copied
2072 Environment. The include and library directories previously ended up
2073 having the same string re-appended to the end, yielding an incorrect
2076 - Supply a more descriptive error message when the source for a target
2079 - Initialize all *FLAGS variables with objects do the right thing with
2080 appending flags as strings or lists.
2082 - Make things like ${TARGET.dir} work in *PATH construction variables.
2084 - Allow a $MSVS_USE_MFC_DIRS construction variable to control whether
2085 ATL and MFC directories are included in the default INCLUDE and
2088 - Document the dbm_module argument to the SConsignFile() function.
2092 - Add support for the bcc32, ilink32 and tlib Borland tools.
2096 - Supply an error message if the user tries to configure a BuildDir
2097 for a directory that already has one.
2099 - Remove documentation of the still-unimplemented -e option.
2101 - Add -H help text listing the legal --debug values.
2103 - Don't choke if a construction variable is a non-string value.
2105 - Build Type Libraries in the target directory, not the source
2108 - Add an appendix to the User's Guide showing how to accomplish
2109 various common tasks in Python.
2113 - Add support for Microsoft Visual Studio 2003 (version 7.1).
2115 - Evaluate $MSVSPROJECTSUFFIX and $MSVSSOLUTIONSUFFIX when the Builder
2116 is invoked, not when the tool is initialized.
2118 From Christoph Wiedemann:
2120 - When compiling Qt, make sure the moc_*.cc files are compiled using
2121 the flags from the environment used to specify the target, not
2122 the environment that first has the Qt Builders attached.
2126 RELEASE 0.94 - Fri, 07 Nov 2003 05:29:48 -0600
2128 From Hartmut Goebel:
2130 - Add several new types of canned functions to help create options:
2131 BoolOption(), EnumOption(), ListOption(), PackageOption(),
2136 - Fix use of CPPDEFINES with C++ source files.
2138 - Fix env.Append() when the operand is an object with a __cmp__()
2139 method (like a Scanner instance).
2141 - Fix subclassing the Environment and Scanner classes.
2143 - Add BUILD_TARGETS, COMMAND_LINE_TARGETS and DEFAULT_TARGETS variables.
2147 - SGI fixes: Fix C++ compilation, add a separate Tool/sgic++.py module.
2149 From Gary Oberbrunner:
2151 - Fix how the man page un-indents after examples in some browsers.
2155 - Fix the C and C++ tool specifications for AIX.
2159 RELEASE 0.93 - Thu, 23 Oct 2003 07:26:55 -0500
2163 - On POSIX, execute commands with the more modern os.spawnvpe()
2164 function, if it's available.
2166 - Scan .S, .spp and .SPP files for C preprocessor dependencies.
2168 - Refactor the Job.Parallel() class to use a thread pool without a
2169 condition variable. This improves parallel build performance and
2170 handles keyboard interrupts properly when -j is used.
2174 - Add support for a JARCHDIR variable to control changing to a
2175 directory using the jar -C option.
2177 - Add support for detecting Java manifest files when using jar,
2178 and specifying them using the jar m flag.
2180 - Fix some Python 2.2 specific things in various tool modules.
2182 - Support directories as build sources, so that a rebuild of a target
2183 can be triggered if anything underneath the directory changes.
2185 - Have the scons.bat and scons.py files look for the SCons modules
2186 in site-packages as well.
2188 From Christian Engel:
2190 - Support more flexible inclusion of separate C and C++ compilers.
2192 - Use package management tools on AIX and Solaris to find where
2193 the comilers are installed, and what version they are.
2195 - Add support for CCVERSION and CXXVERSION variables for a number
2196 of C and C++ compilers.
2200 - Add test cases for the new capabilities to run bibtex and to rerun
2203 From Ralf W. Grosse-Kunstleve:
2205 - Accomodate anydbm modules that don't have a sync() method.
2207 - Allow SConsignFile() to take an argument specifying the DBM
2210 From Stephen Kennedy:
2212 - Add support for a configurable global .sconsign.dbm file which
2213 can be used to avoid cluttering each directory with an individual
2218 - Fix (re-)scanning of dependencies in generated or installed
2223 - The -Q option suppressed too many messages; fix it so that it only
2224 suppresses the Reading/Building messages.
2226 - Support #include when there's no space before the opening quote
2229 - Accomodate alphanumeric version strings in EnsurePythonVersion().
2231 - Support arbitrary expansion of construction variables within
2232 file and directory arguments to Builder calls and Environment methods.
2234 - Add Environment-method versions of the following global functions:
2235 Action(), AddPostAction(), AddPreAction(), Alias(), Builder(),
2236 BuildDir(), CacheDir(), Clean(), Configure(), Default(),
2237 EnsurePythonVersion(), EnsureSConsVersion(), Environment(),
2238 Exit(), Export(), FindFile(), GetBuildPath(), GetOption(), Help(),
2239 Import(), Literal(), Local(), Platform(), Repository(), Scanner(),
2240 SConscriptChdir(), SConsignFile(), SetOption(), SourceSignatures(),
2241 Split(), TargetSignatures(), Tool(), Value().
2243 - Add the following global functions that correspond to the same-named
2244 Environment methods: AlwaysBuild(), Command(), Depends(), Ignore(),
2245 Install(), InstallAs(), Precious(), SideEffect() and SourceCode().
2247 - Add the following global functions that correspond to the default
2248 Builder methods supported by SCons: CFile(), CXXFile(), DVI(), Jar(),
2249 Java(), JavaH(), Library(), M4(), MSVSProject(), Object(), PCH(),
2250 PDF(), PostScript(), Program(), RES(), RMIC(), SharedLibrary(),
2251 SharedObject(), StaticLibrary(), StaticObject(), Tar(), TypeLibrary()
2254 - Rearrange the man page to show construction environment methods and
2255 global functions in the same list, and to explain the difference.
2257 - Alphabetize the explanations of the builder methods in the man page.
2259 - Rename the Environment.Environment class to Enviroment.Base.
2260 Allow the wrapping interface to extend an Environment by using its own
2261 subclass of Environment.Base and setting a new Environment.Environment
2262 variable as the calling entry point.
2264 - Deprecate the ParseConfig() global function in favor of a same-named
2265 construction environment method.
2267 - Allow the Environment.WhereIs() method to take explicit path and
2268 pathext arguments (like the underlying SCons.Util.WhereIs() function).
2270 - Remove the long-obsolete {Get,Set}CommandHandler() functions.
2272 - Enhance env.Append() to suppress null values when appropriate.
2274 - Fix ParseConfig() so it works regardless of initial construction
2277 Extend CheckHeader(), CheckCHeader(), CheckCXXHeader() and
2278 CheckLibWithHeader() to accept a list of header files that will be
2279 #included in the test. The last one in the list is assumed to be
2280 the one being checked for. (Prototype code contributed by Gerard
2281 Patel and Niall Douglas).
2283 - Supply a warning when -j is used and threading isn't built in to
2284 the current version of Python.
2286 - First release of the User's Guide (finally, and despite a lot
2287 of things still missing from it...).
2291 - Generalize the action for .tex files so that it will decide whether
2292 a file is TeX or LaTeX, check the .aux output to decide if it should
2293 run bibtex, and check the .log output to re-run LaTeX if needed.
2295 From Bram Moolenaar:
2297 - Split the non-SCons-specific functionality from SConf.py to a new,
2298 re-usable Conftest.py module.
2300 From Gary Oberbrunner:
2302 - Allow a directory to be the target or source or dependency of a
2303 Depends(), Ignore(), Precious() or SideEffect() call.
2307 - Use the %{_mandir} macro when building our RPM package.
2309 From Marko Rauhamaa:
2311 - Have the closing message say "...terminated because of errors" if
2316 - On Win32 systems, only use "rm" to delete files if Cygwin is being
2317 used. ("rm" doesn't understand Win32-format path names.)
2319 From Christoph Wiedemann:
2321 - Fix test/SWIG.py to find the Python include directory in all cases.
2323 - Fix a bug in detection of Qt installed on the local system.
2325 - Support returning Python 2.3 BooleanType values from Configure checks.
2327 - Provide an error message if someone mistakenly tries to call a
2328 Configure check from within a Builder function.
2330 - Support calling a Builder when a Configure context is still open.
2332 - Handle interrupts better by eliminating all try:-except: blocks
2333 which caught any and all exceptions, including KeyboardInterrupt.
2335 - Add a --duplicate= option to control how files are duplicated.
2339 RELEASE 0.92 - Wed, 20 Aug 2003 03:45:28 -0500
2341 From Charles Crain and Gary Oberbrunner:
2343 - Fix Tool import problems with the Intel and PharLap linkers.
2347 - Refactor the DictCmdGenerator class to be a Selector subclass.
2349 - Allow the DefaultEnvironment() function to take arguments and pass
2350 them to instantiation of the default construction environment.
2352 - Update the Debian package so it uses Python 2.2 and more closely
2353 resembles the currently official Debian packaging info.
2357 - When the yacc -d flag is used, take the .h file base name from the
2358 target .c file, not the source (matching what yacc does).
2362 RELEASE 0.91 - Thu, 14 Aug 2003 13:00:44 -0500
2366 - Support specifying a list of tools when calling Environment.Copy().
2368 - Give a Value Nodes a timestamp of the system time when they're
2369 created, so they'll work when using timestamp-based signatures.
2371 - Add a DefaultEnvironment() function that only creates a default
2372 environment on-demand (for fetching source files, e.g.).
2374 - Portability fix for test/M4.py.
2378 - Tighten up the scons -H help output.
2380 - When the input yacc file ends in .yy and the -d flag is specified,
2381 recognize that a .hpp file (not a .h file) will be created.
2383 - Make builder prefixes work correctly when deducing a target
2384 from a source file name in another directory.
2386 - Documentation fixes: typo in the man page; explain up-front about
2387 not propagating the external environment.
2389 - Use "cvs co -d" instead of "cvs co -p >" when checking out something
2390 from CVS with a specified module name. This avoids zero-length
2391 files when there is a checkout error.
2393 - Add an "sconsign" script to print the contents of .sconsign files.
2395 - Speed up maintaining the various lists of Node children by using
2396 dictionaries to avoid "x in list" searches.
2398 - Cache the computed list of Node children minus those being Ignored
2399 so it's only calculated once.
2401 - Fix use of the --cache-show option when building a Program()
2402 (or using any other arbitrary action) by making sure all Action
2403 instances have strfunction() methods.
2405 - Allow the source of Command() to be a directory.
2407 - Better error handling of things like raw TypeErrors in SConscripts.
2409 - When installing using "setup.py install --prefix=", suppress the
2410 distutils warning message about adding the (incorrect) library
2411 directory to your search path.
2413 - Correct the spelling of the "validater" option to "validator."
2414 Add a DeprecatedWarning when the old spelling is used.
2416 - Allow a Builder's emitter to be a dictionary that maps source file
2417 suffixes to emitter functions, using the suffix of the first file
2418 in the source list to pick the right one.
2420 - Refactor the creation of the Program, *Object and *Library Builders
2421 so that they're moved out of SCons.Defaults and created on demand.
2423 - Don't split SConscript file names on white space.
2425 - Document the SConscript function's "dirs" and "name" keywords.
2427 - Remove the internal (and superfluous) SCons.Util.argmunge() function.
2429 - Add /TP to the default CXXFLAGS for msvc, so it can compile all
2430 of the suffixes we use as C++ files.
2432 - Allow the "prefix" and "suffix" attributes of a Builder to be
2433 callable objects that return generated strings, or dictionaries
2434 that map a source file suffix to the right prefix/suffix.
2436 - Support a MAXLINELINELENGTH construction variable on Win32 systems
2437 to control when a temporary file is used for long command lines.
2439 - Make how we build .rpm packages not depend on the installation
2440 locations from the distutils being used.
2442 - When deducing a target Node, create it directly from the first
2443 source Node, not by trying to create the right string to pass to
2446 - Add support for SWIG.
2448 From Bram Moolenaar:
2450 - Test portability fixes for FreeBSD.
2452 From Gary Oberbrunner:
2454 - Report the target being built in error messages when building
2455 multiple sources from different extensions, or when the target file
2456 extension can't be deduced, or when we don't have an action for a
2459 - Provide helpful error messages when the arguments to env.Install()
2462 - Fix the value returned by the Node.prevsiginfo() method to conform
2463 to a previous change when checking whether a node is current.
2465 - Supply a stack trace if the Taskmaster catches an exception.
2467 - When using a temporary file for a long link line on Win32 systems,
2468 (also) print the command line that is being executed through the
2471 - Initialize the LIB environment variable when using the Intel
2474 - Documentation fixes: better explain the AlwaysBuild() function.
2476 From Laurent Pelecq:
2478 - When the -debug=pdb option is specified, use pdb.Pdb().runcall() to
2479 call pdb directly, don't call Python recursively.
2483 - Add support for a platform-independent CPPDEFINES variable.
2485 From Christoph Wiedemann:
2487 - Have the g++ Tool actually use g++ in preference to c++.
2489 - Have the gcc Tool actually use gcc in preference to cc.
2491 - Add a gnutools.py test of the GNU tool chain.
2493 - Be smarter about linking: use $CC by default and $CXX only if we're
2494 linking with any C++ objects.
2496 - Avoid SCons hanging when a piped command has a lot of output to read.
2498 - Add QT support for preprocessing .ui files into .c files.
2502 RELEASE 0.90 - Wed, 25 Jun 2003 14:24:52 -0500
2506 - Fix the _concat() documentation, and add a test for it.
2508 - Portability fixes for non-GNU versions of lex and yacc.
2512 - Fix handling of library prefixes when the subdirectory matches
2515 From Timothee Bessett:
2517 - Add an M4 Builder.
2521 - Use '.lnk' as the suffix on the temporary file for linking long
2522 command lines (necessary for the Phar Lap linkloc linker).
2524 - Save non-string Options values as their actual type.
2526 - Save Options string values that contain a single quote correctly.
2528 - Save any Options values that are changed from the default
2529 Environment values, not just ones changed on the command line or in
2532 - Make closing the Options file descriptor exception-safe.
2536 - SCons now enforces (with an error) that construction variables
2537 must have the same form as valid Python identifiers.
2539 - Fix man page bugs: remove duplicate AddPostAction() description;
2540 document no_import_lib; mention that CPPFLAGS does not contain
2541 $_CPPINCFLAGS; mention that F77FLAGS does not contain $_F77INCFLAGS;
2542 mention that LINKFLAGS and SHLINKFLAGS contains neither $_LIBFLAGS
2545 - Eliminate a dependency on the distutils.fancy_getopt module by
2546 copying and pasting its wrap_text() function directly.
2548 - Make the Script.Options() subclass match the underlying base class
2551 - When reporting a target is up to date, quote the target like make
2552 (backquote-quote) instead of with double quotes.
2554 - Fix handling of ../* targets when using -U, -D or -u.
2558 - Don't update the .sconsign files when run with -n.
2560 From Gary Oberbrunner:
2562 - Add support for the Intel C Compiler (icl.exe).
2570 - Fix use of SConf in paths with white space in them.
2572 - Add CheckFunc and CheckType functionality to SConf.
2574 - Fix use of SConf with Builders that return a list of nodes.
2576 From David Snopek and Christoph Wiedemann
2578 - Fix use of the SConf subsystem with SConscriptChdir().
2582 - Check for the existence of MS Visual Studio on disk before using it,
2583 to avoid getting fooled by leftover junk in the registry.
2585 - Add support for MSVC++ .NET.
2587 - Add support for MS Visual Studio project files (DSP, DSW,
2588 SLN and VCPROJ files).
2590 From Christoph Wiedemann
2592 - SConf now works correctly when the -n and -q options are used.
2596 RELEASE 0.14 - Wed, 21 May 2003 05:16:32 -0500
2600 - Use .dll (not .so) for shared libraries on Cygwin; use -fPIC
2601 when compiling them.
2603 - Use 'rm' to remove files under Cygwin.
2605 - Add a PLATFORM variable to construction environments.
2607 - Remove the "platform" argument from tool specifications.
2609 - Propogate PYTHONPATH when running the regression tests so distutils
2610 can be found in non-standard locations.
2612 - Using MSVC long command-line linking when running Cygwin.
2614 - Portability fixes for a lot of tests.
2616 - Add a Value Node class for dependencies on in-core Python values.
2618 From Allen Bierbaum:
2620 - Pass an Environment to the Options validator method, and
2621 add an Options.Save() method.
2623 From Steve Christensen:
2625 - Add an optional sort function argument to the GenerateHelpText()
2628 - Evaluate the "varlist" variables when computing the signature of a
2633 - Parse the source .java files for class names (including inner class
2634 names) to figure out the target .class files that will be created.
2636 - Make Java support work with Repositories and SConscriptChdir(0).
2638 - Pass Nodes, not strings, to Builder emitter functions.
2640 - Refactor command-line interpolation and signature calculation
2641 so we can use real Node attributes.
2645 - Add Java support (javac, javah, jar and rmic).
2647 - Propagate the external SYSTEMROOT environment variable into ENV on
2648 Win32 systems, so external commands that use sockets will work.
2650 - Add a .posix attribute to PathList expansions.
2652 - Check out CVS source files using POSIX path names (forward slashes
2653 as separators) even on Win32.
2655 - Add Node.clear() and Node.FS.Entry.clear() methods to wipe out a
2656 Node's state, allowing it to be re-evaluated by continuous
2657 integration build interfaces.
2659 - Change the name of the Set{Build,Content}SignatureType() functions
2660 to {Target,Source}Signatures(). Deprecate the old names but support
2661 them for backwards compatibility.
2663 - Add internal SCons.Node.FS.{Dir,File}.Entry() methods.
2665 - Interpolate the null string if an out-of-range subscript is used
2666 for a construction variable.
2668 - Fix the internal Link function so that it properly links or copies
2669 files in subsidiary BuildDir directories.
2671 - Refactor the internal representation of a single execution instance
2672 of an action to eliminate redundant signature calculations.
2674 - Eliminate redundant signature calculations for Nodes.
2676 - Optimize out calling hasattr() before accessing attributes.
2678 - Say "Cleaning targets" (not "Building...") when the -c option is
2683 - Quote the "Entering directory" message like Make.
2685 From Stefan Reichor:
2687 - Add support for using Ghostscript to convert Postscript to PDF files.
2691 - Add a standalone "Alias" function (separate from an Environment).
2693 - Make Export() work for local variables.
2695 - Support passing a dictionary to Export().
2697 - Support Import('*') to import everything that's been Export()ed.
2699 - Fix an undefined exitvalmap on Win32 systems.
2701 - Support new SetOption() and GetOption() functions for setting
2702 various command-line options from with an SConscript file.
2704 - Deprecate the old SetJobs() and GetJobs() functions in favor of
2705 using the new generic {Set,Get}Option() functions.
2707 - Fix a number of tests that searched for a Fortran compiler using the
2708 external PATH instead of what SCons would use.
2710 - Fix the interaction of SideEffect() and BuildDir() so that (for
2711 example) PDB files get put correctly in a BuildDir().
2715 - Contribute the "Autoscons" code for Autoconf-like checking for
2716 the existence of libraries, header files and the like.
2718 - Have the Tool() function add the tool name to the $TOOLS
2719 construction variable.
2723 - Support the C preprocessor #import statement.
2725 - Allow the SharedLibrary() Builder on Win32 systems to be able to
2726 register a newly-built dll using regsvr32.
2728 - Add a Builder for Windows type library (.tlb) files from IDL files.
2730 - Add an IDL scanner.
2732 - Refactor the Fortran, C and IDL scanners to share common logic.
2734 - Add .srcpath and .srcdir attributes to $TARGET and $SOURCE.
2736 From Christoph Wiedemann:
2738 - Integrate David Snopek's "Autoscons" code as the new SConf
2739 configuration subsystem, including caching of values between
2740 runs (using normal SCons dependency mechanisms), tests, and
2745 RELEASE 0.13 - Mon, 31 Mar 2003 20:22:00 -0600
2749 - Fix a bug when BuildDir(duplicate=0) is used and SConscript
2750 files are called from within other SConscript files.
2752 - Support (older) versions of Perforce which don't set the Windows
2757 RELEASE 0.12 - Thu, 27 Mar 2003 23:52:09 -0600
2761 - Added support for the Perforce source code management system.
2763 - Fix str(Node.FS) so that it returns a path relative to the calling
2764 SConscript file's directory, not the top-level directory.
2766 - Added support for a separate src_dir argument to SConscript()
2767 that allows explicit specification of where the source files
2768 for an SConscript file can be found.
2770 - Support more easily re-usable flavors of command generators by
2771 calling callable variables when strings are expanded.
2775 - Added an INSTALL construction variable that can be set to a function
2776 to control how the Install() and InstallAs() Builders install files.
2777 The default INSTALL function now copies, not links, files.
2779 - Remove deprecated features: the "name" argument to Builder objects,
2780 and the Environment.Update() method.
2782 - Add an Environment.SourceCode() method to support fetching files
2783 from source code systems. Add factory methods that create Builders
2784 to support BitKeeper, CVS, RCS, and SCCS. Add support for fetching
2785 files from RCS or SCCS transparently (like GNU Make).
2787 - Make the internal to_String() function more efficient.
2789 - Make the error message the same as other build errors when there's a
2790 problem unlinking a target file in preparation for it being built.
2792 - Make TARGET, TARGETS, SOURCE and SOURCES reserved variable names and
2793 warn if the user tries to set them in a construction environment.
2795 - Add support for Tar and Zip files.
2797 - Better documentation of the different ways to export variables to a
2798 subsidiary SConscript file. Fix documentation bugs in a tools
2799 example, places that still assumed SCons split strings on white
2802 - Support fetching arbitrary files from the TARGETS or SOURCES lists
2803 (e.g. ${SOURCES[2]}) when calculating the build signature of a
2806 - Don't silently swallow exceptions thrown by Scanners (or other
2807 exceptions while finding a node's dependent children).
2809 - Push files to CacheDir() before calling the superclass built()
2810 method (which may clear the build signature as part of clearing
2811 cached implicit dependencies, if the file has a source scanner).
2812 (Bug reported by Jeff Petkau.)
2814 - Raise an internal error if we attempt to push a file to CacheDir()
2815 with a build signature of None.
2817 - Add an explicit Exit() function for terminating early.
2819 - Change the documentation to correctly describe that the -f option
2820 doesn't change to the directory in which the specified file lives.
2822 - Support changing directories locally with SConscript directory
2823 path names relative to any SConstruct file specified with -f.
2824 This allows you to build in another directory by simply changing
2825 there and pointing at the SConstruct file in another directory.
2827 - Change the default SConscriptChdir() behavior to change to the
2828 SConscript directory while it's being read.
2830 - Fix an exception thrown when the -U option was used with no
2831 Default() target specified.
2833 - Fix -u so that it builds things in corresponding build directories
2834 when used in a source directory.
2838 - Add SharedObject() support to the masm tool.
2840 - Fix WhereIs() to return normalized paths.
2844 - Don't copy a built file to a CacheDir() if it's already there.
2846 - Avoid partial copies of built files in a CacheDir() by copying
2847 to a temporary file and renaming.
2851 - Fix incorrect dependency-cycle errors when an Aliased source doesn't
2856 RELEASE 0.11 - Tue, 11 Feb 2003 05:24:33 -0600
2860 - Add support for IRIX and the SGI MIPSPro tool chain.
2862 - Support using the MSVC tool chain when running Cygwin Python.
2866 - Avoid losing signal bits in the exit status from a command,
2867 helping terminate builds on interrupt (CTRL+C).
2871 - Added new AddPreAction() and AddPostAction() functions that support
2872 taking additional actions before or after building specific targets.
2874 - Add support for the PharLap ETS tool chain.
2878 - Allow Python function Actions to specify a list of construction
2879 variables that should be included in the Action's signature.
2881 - Allow libraries in the LIBS variable to explicitly include the prefix
2882 and suffix, even when using the GNU linker.
2883 (Bug reported by Neal Becker.)
2885 - Use DOS-standard CR-LF line endings in the scons.bat file.
2886 (Bug reported by Gary Ruben.)
2888 - Doc changes: Eliminate description of deprecated "name" keyword
2889 argument from Builder definition (reported by Gary Ruben).
2891 - Support using env.Append() on BUILDERS (and other dictionaries).
2892 (Bug reported by Bj=F6rn Bylander.)
2894 - Setting the BUILDERS construction variable now properly clears
2895 the previous Builder attributes from the construction Environment.
2896 (Bug reported by Bj=F6rn Bylander.)
2898 - Fix adding a prefix to a file when the target isn't specified.
2899 (Bug reported by Esa Ilari Vuokko.)
2901 - Clean up error messages from problems duplicating into read-only
2902 BuildDir directories or into read-only files.
2904 - Add a CommandAction.strfunction() method, and add an "env" argument
2905 to the FunctionAction.strfunction() method, so that all Action
2906 objects have strfunction() methods, and the functions for building
2907 and returning a string both take the same arguments.
2909 - Add support for new CacheDir() functionality to share derived files
2910 between builds, with related options --cache-disable, --cache-force,
2913 - Change the default behavior when no targets are specified to build
2914 everything in the current directory and below (like Make). This
2915 can be disabled by specifying Default(None) in an SConscript.
2917 - Revamp SCons installation to fix a case-sensitive installation
2918 on Win32 systems, and to add SCons-specific --standard-lib,
2919 --standalone-lib, and --version-lib options for easier user
2920 control of where the libraries get installed.
2922 - Fix the ability to directly import and use Platform and Tool modules
2923 that have been implicitly imported into an Environment().
2925 - Add support for allowing an embedding interface to annotate a node
2928 - Extend the SConscript() function to accept build_dir and duplicate
2929 keyword arguments that function like a BuildDir() call.
2933 - Fix the output of -c -n when directories are involved, so it
2938 - Use a different shared object suffix (.os) when using gcc so shared
2939 and static objects can exist side-by-side in the same directory.
2941 - Allow the same object files on Win32 to be linked into either
2942 shared or static libraries.
2944 - Cache implicit cache values when using --implicit-cache.
2948 RELEASE 0.10 - Thu, 16 Jan 2003 04:11:46 -0600
2950 From Derrick 'dman' Hudson:
2952 - Support Repositories on other file systems by symlinking or
2953 copying files when hard linking won't work.
2957 - Remove Python bytecode (*.pyc) files from the scons-local packages.
2959 - Have FunctionActions print a description of what they're doing
2960 (a representation of the Python call).
2962 - Fix the Install() method so that, like other actions, it prints
2963 what would have happened when the -n option is used.
2965 - Don't create duplicate source files in a BuildDir when the -n
2968 - Refactor the Scanner interface to eliminate unnecessary Scanner
2969 calls and make it easier to write efficient scanners.
2971 - Added a "recursive" flag to Scanner creation that specifies the
2972 Scanner should be invoked recursively on dependency files returned
2975 - Significant performance improvement from using a more efficient
2976 check, throughout the code, for whether a Node has a Builder.
2978 - Fix specifying only the source file to MultiStepBuilders such as
2979 the Program Builder. (Bug reported by Dean Bair.)
2981 - Fix an exception when building from a file with the same basename as
2982 the subdirectory in which it lives. (Bug reported by Gerard Patel.)
2984 - Fix automatic deduction of a target file name when there are
2985 multiple source files specified; the target is now deduced from just
2986 the first source file in the list.
2988 - Documentation fixes: better initial explanation of SConscript files;
2989 fix a misformatted "table" in the StaticObject explanation.
2991 From Steven Knight and Steve Leblanc:
2993 - Fix the -c option so it will remove symlinks.
2997 - Add a Clean() method to support removing user-specified targets
2998 when using the -c option.
3000 - Add a development script for running SCons through PyChecker.
3002 - Clean up things found by PyChecker (mostly unnecessary imports).
3004 - Add a script to use HappyDoc to create HTML class documentation.
3008 - Make the Environment.get() method return None by default.
3012 - Add SetJobs() and GetJobs() methods to allow configuration of the
3013 number of default jobs (still overridden by -j).
3015 - Convert the .sconsign file format from ASCII to a pickled Python
3018 - Error message cleanups: Made consistent the format of error
3019 messages (now all start with "scons: ***") and warning messages (now
3020 all start with "scons: warning:"). Caught more cases with the "Do
3021 not know how to build" error message.
3023 - Added support for the MinGW tool chain.
3025 - Added a --debug=includes option.
3029 RELEASE 0.09 - Thu, 5 Dec 2002 04:48:25 -0600
3033 - Add a Prepend() method to Environments, to append values to
3034 the beginning of construction variables.
3038 - Add long command-line support to the "lib" Tool (Microsoft library
3043 - Allow $$ in a string to be passed through as $.
3045 - Support file names with odd characters in them.
3047 - Add support for construction variable substition on scanner
3048 directories (in CPPPATH, F77PATH, LIBPATH, etc.).
3050 From Charles Crain and Steven Knight:
3052 - Add Repository() functionality, including the -Y option.
3056 - Fix auto-deduction of target names so that deduced targets end
3057 up in the same subdirectory as the source.
3059 - Don't remove source files specified on the command line!
3061 - Suport the Intel Fortran Compiler (ifl.exe).
3063 - Supply an error message if there are no command-line or
3064 Default() targets specified.
3066 - Fix the ASPPCOM values for the GNU assembler.
3067 (Bug reported by Brett Polivka.)
3069 - Fix an exception thrown when a Default() directory was specified
3070 when using the -U option.
3072 - Issue a warning when -c can't remove a target.
3074 - Eliminate unnecessary Scanner calls by checking for the
3075 existence of a file before scanning it. (This adds a generic
3076 hook to check an arbitrary condition before scanning.)
3078 - Add explicit messages to tell when we're "Reading SConscript files
3079 ...," "done reading SConscript files," "Building targets," and
3080 "done building targets." Add a -Q option to supress these.
3082 - Add separate $SHOBJPREFIX and $SHOBJSUFFIX construction variables
3083 (by default, the same as $OBJPREFIX and $OBJSUFFIX).
3085 - Add Make-like error messages when asked to build a source file,
3086 and before trying to build a file that doesn't have all its source
3087 files (including when an invalid drive letter is used on WIN32).
3089 - Add an scons-local-{version} package (in both .tar.gz and .zip
3090 flavors) to help people who want to ship SCons as a stand-alone
3091 build tool in their software packages.
3093 - Prevent SCons from unlinking files in certain situations when
3094 the -n option is used.
3096 - Change the name of Tool/lib.py to Tool/mslib.py.
3098 From Steven Knight and Anthony Roach:
3100 - Man page: document the fact that Builder calls return Node objects.
3104 - Refactor option processing to use our own version of Greg Ward's
3105 Optik module, modified to run under Python 1.5.2.
3107 - Add a ParseConfig() command to modify an environment based on
3108 parsing output from a *-config command.
3112 - Fix interpretation of '#/../foo' on Win32 systems.
3116 - Fixed use of command lines with spaces in their arguments,
3117 and use of Nodes with spaces in their string representation.
3119 - Make access and modification times of files in a BuildDir match
3120 the source file, even when hard linking isn't available.
3122 - Make -U be case insensitive on Win32 systems.
3124 - Issue a warning and continue when finding a corrupt .sconsign file.
3126 - Fix using an alias as a dependency of a target so that if one of the
3127 alias' dependencies gets rebuilt, the resulting target will, too.
3129 - Fix differently ordered targets causing unnecessary rebuilds
3130 on case insensitive systems.
3132 - Use os.system() to execute external commands whenever the "env"
3133 utility is available, which is much faster than fork()/exec(),
3134 and fixes the -j option on several platforms.
3136 - Fix use of -j with multiple targets.
3138 - Add an Options() object for friendlier accomodation of command-
3141 - Add support for Microsoft VC++ precompiled header (.pch) files,
3142 debugger (.pdb) files, and resource (.rc) files.
3144 - Don't compute the $_CPPINCFLAGS, $_F77INCFLAGS, $_LIBFLAGS and
3145 $_LIBDIRFLAGS variables each time a command is executed, define
3146 them so they're computed only as needed. Add a new _concat
3147 function to the Environment that allows people to define their
3148 own similar variables.
3150 - Fix dependency scans when $LIBS is overridden.
3152 - Add EnsurePythonVersion() and EnsureSConsVersion() functions.
3154 - Fix the overly-verbose stack trace on ListBuilder build errors.
3156 - Add a SetContentSignatureType() function, allowing use of file
3157 timestamps instead of MD5 signatures.
3159 - Make -U and Default('source') fail gracefully.
3161 - Allow the File() and Dir() methods to take a path-name string as
3162 the starting directory, in addition to a Dir object.
3164 - Allow the command handler to be selected via the SPAWN, SHELL
3165 and ESCAPE construction variables.
3167 - Allow construction variables to be overridden when a Builder
3172 - Dynamically check for the existence of utilities with which to
3173 initialize Environments by default.
3177 RELEASE 0.08 - Mon, 15 Jul 2002 12:08:51 -0500
3181 - Fixed a bug with relative CPPPATH dirs when using BuildDir().
3182 (Bug reported by Bob Summerwill.)
3184 - Added a warnings framework and a --warn option to enable or
3187 - Make the C scanner warn users if files referenced by #include
3188 directives cannot be found and --warn=dependency is specified.
3190 - The BUILDERS construction variable should now be a dictionary
3191 that maps builder names to actions. Existing uses of lists,
3192 and the Builder name= keyword argument, generate warnings
3193 about use of deprecated features.
3195 - Removed the "shared" keyword argument from the Object and
3198 - Added separated StaticObject, SharedObject, StaticLibrary and
3199 SharedLibrary builders. Made Object and Library synonyms for
3200 StaticObject and StaticLibrary, respectively.
3202 - Add LIBS and LIBPATH dependencies for shared libraries.
3204 - Removed support for the prefix, suffix and src_suffix arguments
3205 to Builder() to be callable functions.
3207 - Fix handling file names with multiple dots.
3209 - Allow a build directory to be outside of the SConstruct tree.
3211 - Add a FindFile() function that searches for a file node with a
3214 - Add $CPPFLAGS to the shared-object command lines for g++ and gcc.
3216 From Charles Crain and Steven Knight:
3218 - Add a "tools=" keyword argument to Environment instantiation,
3219 and a separate Tools() method, for more flexible specification
3220 of tool-specific environment changes.
3224 - Add a "platform=" keyword argument to Environment instantiation,
3225 and a separate Platform() method, for more flexible specification
3226 of platform-specific environment changes.
3228 - Updated README instructions and setup.py code to catch an
3229 installation failure from not having distutils installed.
3231 - Add descriptions to the -H help text for -D, -u and -U so
3232 people can tell them apart.
3234 - Remove the old feature of automatically splitting strings
3235 of file names on white space.
3237 - Add a dependency Scanner for native Fortran "include" statements,
3238 using a new "F77PATH" construction variable.
3240 - Fix C #include scanning to detect file names with characters like
3243 - Add more specific version / build output to the -v option.
3245 - Add support for the GNU as, Microsoft masm, and nasm assemblers.
3247 - Allow the "target" argument to a Builder call to be omitted, in
3248 which case the target(s) are deduced from the source file(s) and the
3249 Builder's specified suffix.
3251 - Add a tar archive builder.
3253 - Add preliminary support for the OS/2 Platform, including the icc
3258 - Fix --implicit-cache if the scanner returns an empty list.
3262 - Add a "multi" keyword argument to Builder creation that specifies
3263 it's okay to call the builder multiple times for a target.
3265 - Set a "multi" on Aliases so multiple calls will append to an Alias.
3267 - Fix emitter functions' use of path names when using BuildDir or
3270 - Fix --implicit-cache causing redundant rebuilds when the header
3273 - Fix --implicit-cache when a file has no implicit dependencies and
3274 its source is generated.
3276 - Make the drive letters on Windows always be the same case, so that
3277 changes in the case of drive letters don't cause a rebuild.
3279 - Fall back to importing the SCons.TimeStamp module if the SCons.MD5
3280 module can't be imported.
3282 - Fix interrupt handling to guarantee that a single interrupt will
3283 halt SCons both when using -j and not.
3285 - Fix .sconsign signature storage so that output files of one build
3286 can be safely used as input files to another build.
3288 - Added a --debug=time option to print SCons execution times.
3290 - Print an error message if a file can't be unlinked before being
3291 built, rather than just silently terminating the build.
3293 - Add a SideEffect() method that can be used to tell the build
3294 engine that a given file is created as a side effect of building
3295 a target. A file can be specified as a side effect of more than
3296 one build comand, in which case the commands will not be executed
3299 - Significant performance gains from not using our own version of
3300 the inefficient stock os.path.splitext() method, caching source
3301 suffix computation, code cleanup in MultiStepBuilder.__call__(),
3302 and replicating some logic in scons_subst().
3304 - Add --implicit-deps-changed and --implicit-deps-unchanged options.
3306 - Add a GetLaunchDir() function.
3308 - Add a SetBuildSignatureType() function.
3312 - Add an Append() method to Environments, to append values to
3313 construction variables.
3315 - Change the name of Update() to Replace(). Keep Update() as a
3316 deprecated synonym, at least for now.
3318 From Terrel Shumway:
3320 - Use a $PYTHON construction variable, initialized to sys.executable,
3321 when using Python to build parts of the SCons packages.
3323 - Use sys.prefix, not sys.exec_prefix, to find pdb.py.
3327 RELEASE 0.07 - Thu, 2 May 2002 13:37:16 -0500
3331 - Changes to build SCons packages on IRIX (and other *NIces).
3333 - Don't create a directory Node when a file already exists there,
3336 - Add 'dirs' and 'names' keyword arguments to SConscript for
3337 easier specification of subsidiary SConscript files.
3341 - Internal cleanup of environment passing to function Actions.
3343 - Builders can now take arbitrary keyword arguments to create
3344 attributes to be passed to: command generator functions,
3345 FunctionAction functions, Builder emitter functions (below),
3346 and prefix/suffix generator functions (below).
3348 - Command generator functions can now return ANYTHING that can be
3349 converted into an Action (a function, a string, a CommandGenerator
3350 instance, even an ActionBase instance).
3352 - Actions now call get_contents() with the actual target and source
3353 nodes used for the build.
3355 - A new DictCmdGenerator class replaces CompositeBuilder to support
3356 more flexible Builder behavior internally.
3358 - Builders can now take an emitter= keyword argument. An emitter
3359 is a function that takes target, source, and env argument, then
3360 return a 2-tuple of (new sources, new targets). The emitter is
3361 called when the Builder is __call__'ed, allowing a user to modify
3362 source and target lists.
3364 - The prefix, suffix and src_suffix Builder arguments now take a
3365 callable as well a string. The callable is passed the Environment
3366 and any extra Builder keyword arguments and is expected to return
3367 the appropriate prefix or suffix.
3369 - CommandActions can now be a string, a list of command + argument
3370 strings, or a list of commands (strings or lists).
3372 - Added shared library support. The Object and Library Builders now
3373 take a "shared=1" keyword argument to specify that a shared object
3374 or shared library should be built. It is an error to try to build
3375 static objects into a shared library or vice versa.
3377 - Win32 support for .def files has been added. Added the Win32-specific
3378 construction variables $WIN32DEFPREFIX, $WIN32DEFSUFFIX,
3379 $WIN32DLLPREFIX and $WIN32IMPLIBPREFIX. When building a .dll,
3380 the new construction variable $WIN32_INSERT_DEF, controls whether
3381 the appropriately-named .def file is inserted into the target
3382 list (if not already present). A .lib file is always added to
3383 a Library build if not present in the list of targets.
3385 - ListBuilder now passes all targets to the action, not just the first.
3387 - Fix so that -c now deletes generated yacc .h files.
3389 - Builder actions and emitter functions can now be initialized, through
3390 construction variables, to things other than strings.
3392 - Make top-relative '#/dir' lookups work like '#dir'.
3394 - Fix for relative CPPPATH directories in subsidiary SConscript files
3397 - Add a for_signature argument to command generators, so that
3398 generators that need to can return distinct values for the
3399 command signature and for executing the command.
3403 - Create a better scons.bat file from a py2bat.py script on the Python
3404 mailing list two years ago (modeled after pl2bat.pl).
3408 - Fix so that -c -n does *not* remove the targets!
3410 - Man page: Add a hierarchical libraries + Program example.
3412 - Support long MSVC linker command lines through a builder action
3413 that writes to a temporary file and uses the magic MSVC "link @file"
3414 argument syntax if the line is longer than 2K characters.
3416 - Fix F77 command-line options on Win32 (use /Fo instead of -o).
3418 - Use the same action to build from .c (lower case) and .C (upper
3419 case) files on case-insensitive systems like Win32.
3421 - Support building a PDF file directly from a TeX or LaTeX file
3422 using pdftex or pdflatex.
3424 - Add a -x option to runtest.py to specify the script being tested.
3425 A -X option indicates it's an executable, not a script to feed
3426 to the Python interpreter.
3428 - Add a Split() function (identical to SCons.Util.argmunge()) for use
3429 in the next release, when Builders will no longer automatically split
3430 strings on white space.
3434 - Add the SConscriptChdir() method.
3438 - Fix --debug=tree when used with directory targets.
3440 - Significant internal restructuring of Scanners and Taskmaster.
3442 - Added new --debug=dtree option.
3444 - Fixes for --profile option.
3446 - Performance improvement in construction variable substitution.
3448 - Implemented caching of content signatures, plus added --max-drift
3449 option to control caching.
3451 - Implemented caching of dependency signatures, enabled by new
3452 --implicit-cache option.
3454 - Added abspath construction variable modifier.
3456 - Added $SOURCE variable as a synonym for $SOURCES[0].
3458 - Write out .sconsign files on error or interrupt so intermediate
3459 build results are saved.
3461 - Change the -U option to -D. Make a new -U that builds just the
3462 targets from the local SConscript file.
3464 - Fixed use of sys.path so Python modules can be imported from
3465 the SConscript directory.
3467 - Fix for using Aliases with the -u, -U and -D options.
3469 - Fix so that Nodes can be passed to SConscript files.
3473 - Changes for official Debian packaging.
3477 RELEASE 0.06 - Thu, 28 Mar 2002 01:24:29 -0600
3481 - Fix command generators to expand construction variables.
3483 - Make FunctionAction arguments be Nodes, not strings.
3485 From Stephen Kennedy:
3487 - Performance: Use a dictionary, not a list, for a Node's parents.
3491 - Add .zip files to the packages we build.
3493 - Man page: document LIBS, fix a typo, document ARGUMENTS.
3495 - Added RANLIB and RANLIBFLAGS construction variables. Only use them
3496 in ARCOM if there's a "ranlib" program on the system.
3498 - Add a configurable CFILESUFFIX for the Builder of .l and .y files
3501 - Add a CXXFile Builder that turns .ll and .yy files into .cc files
3502 (configurable via a CXXFILESUFFIX construction variable).
3504 - Use the POSIX-standard lex -t flag, not the GNU-specific -o flag.
3505 (Bug reported by Russell Christensen.)
3507 - Fixed an exception when CPPPATH or LIBPATH is a null string.
3508 (Bug reported by Richard Kiss.)
3510 - Add a --profile=FILE option to make profiling SCons easier.
3512 - Modify the new DVI builder to create .dvi files from LaTeX (.ltx
3515 - Add support for Aliases (phony targets).
3517 - Add a WhereIs() method for searching for path names to executables.
3519 - Add PDF and PostScript document builders.
3521 - Add support for compiling Fortran programs from a variety of
3522 suffixes (a la GNU Make): .f, .F, .for, .FOR, .fpp and .FPP
3524 - Support a CPPFLAGS variable on all default commands that use the
3529 - Add support for the -U option.
3531 - Allow CPPPATH, LIBPATH and LIBS to be specified as white-space
3534 - Add a document builder to create .dvi files from TeX (.tex) files.
3538 - Fix: Construction variables with values of 0 were incorrectly
3541 - Support env['VAR'] to fetch construction variable values.
3543 - Man page: document Precious().
3547 RELEASE 0.05 - Thu, 21 Feb 2002 16:50:03 -0600
3551 - Set PROGSUFFIX to .exe under Cygwin.
3555 - Allow a library to specified as a command-line source file, not just
3556 in the LIBS construction variable.
3558 - Compensate for a bug in os.path.normpath() that returns '' for './'
3561 - More performance optimizations: cache #include lines from files,
3562 eliminate unnecessary calls.
3564 - If a prefix or suffix contains white space, treat the resulting
3565 concatenation as separate arguments.
3567 - Fix irregularities in the way we fetch DevStudio information from
3568 the Windows registry, and in our registry error handling.
3572 - Flush stdout after print so it intermixes correctly with stderr
3575 - Allow Scanners to return a list of strings, and document how to
3576 write your own Scanners.
3578 - Look up implicit (scanned) dependencies relative to the directory
3579 of file being scanned.
3581 - Make writing .sconsign files more robust by first trying to write
3582 to a temp file that gets renamed.
3584 - Create all of the directories for a list of targets before trying
3585 to build any of the targets.
3587 - WIN32 portability fixes in tests.
3589 - Allow the list of variables exported to an SConscript file to be
3592 - Document the overlooked LIBPATH construction variable.
3593 (Bug reported by Eicke Godehardt.)
3595 - Fix so that Ignore() ignores indirect, implicit dependencies
3596 (included files), not just direct dependencies.
3598 - Put the man page in the Debian distribution.
3600 - Run HTML docs through tidy to clean up the HTML (for Konqueror).
3602 - Add preliminary support for Unicode strings.
3604 - Efficiency: don't scan dependencies more than once during the
3607 - Fix the -c option so it doesn't stop removing targets if one doesn't
3609 (Bug reported by Paul Connell.)
3611 - Fix the --debug=pdb option when run on Windows NT.
3612 (Bug reported by Paul Connell.)
3614 - Add support for the -q option.
3618 - Add support for the -u option.
3620 - Add .cc and .hh file suffixes to the C Scanner.
3624 - Make the scons script return an error code on failures.
3626 - Add support for using code to generate a command to build a target.
3630 RELEASE 0.04 - Wed, 30 Jan 2002 11:09:42 -0600
3634 - Significant performance improvements in the Node.FS and
3637 - Fix signatures of binary files on Win32 systems.
3639 - Allow LIBS and LIBPATH to be strings, not just arrays.
3641 - Print a traceback if a Python-function builder throws an exception.
3645 - Fix using a directory as a Default(), and allow Default() to
3646 support white space in file names for strings in arrays.
3648 - Man page updates: corrected some mistakes, documented various
3649 missing Environment methods, alphabetized the construction
3650 variables and other functions, defined begin and end macros for
3651 the example sections, regularized white space separation, fixed
3652 the use of Export() in the Multiple Variants example.
3654 - Function action fixes: None is now a successful return value.
3655 Exceptions are now reported. Document function actions.
3657 - Add 'Action' and 'Scanner' to the global keywords so SConscript
3658 files can use them too.
3660 - Removed the Wrapper class between Nodes and Walkers.
3662 - Add examples using Library, LIBS, and LIBPATH.
3664 - The C Scanner now always returns a sorted list of dependencies
3665 so order changes don't cause unnecessary rebuilds.
3667 - Strip $(-$) bracketed text from command lines. Use this to
3668 surround $_INCDIRS and $_LIBDIRS so we don't rebuild in response
3669 to changes to -I or -L options.
3671 - Add the Ignore() method to ignore dependencies.
3673 - Provide an error message when a nonexistent target is specified
3674 on the command line.
3676 - Remove targets before building them, and add an Environment
3677 Precious() method to override that.
3679 - Eliminate redundant calls to the same builder when the target is a
3680 list of targets: Add a ListBuilder class that wraps Builders to
3681 handle lists atomically. Extend the Task class to support building
3682 and updating multiple targets in a single Task. Simplify the
3683 interface between Task and Taskmaster.
3685 - Add a --debug=pdb option to re-run SCons under the Python debugger.
3687 - Only compute a build signature once for each node.
3689 - Changes to our sys.path[] manipulation to support installation into
3690 an arbitrary --prefix value.
3694 - Add var=value command-line arguments.
3698 RELEASE 0.03 - Fri, 11 Jan 2002 01:09:30 -0600
3702 - Performance improvements in the Node.FS and Sig.Calculator classes.
3704 - Add the InstallAs() method.
3706 - Execute commands through an external interpreter (sh, cmd.exe, or
3707 command.com) to handle redirection metacharacters.
3709 - Allow the user to supply a command handler.
3713 - Search both /usr/lib and /usr/local/lib for scons directories by
3714 adding them both to sys.path, with whichever is in sys.prefix first.
3716 - Fix interpreting strings of multiple white-space separated file names
3717 as separate file names, allowing prefixes and suffixes to be appended
3718 to each individually.
3720 - Refactor to move CompositeBuilder initialization logic from the
3721 factory wrapper to the __init__() method, and allow a Builder to
3722 have both an action and a src_builder (or array of them).
3724 - Refactor BuilderBase.__call__() to separate Node creation/lookup
3725 from initialization of the Node's builder information.
3727 - Add a CFile Builder object that supports turning lex (.l) and
3728 yacc (.y) files into .c files.
3730 - Document: variable interpretation attributes; how to propogate
3731 the user's environment variables to executed commands; how to
3732 build variants in multiple BuildDirs.
3734 - Collect String, Dict, and List type-checking in common utility
3735 routines so we can accept User{String,Dict,List}s all over.
3737 - Put the Action factory and classes into their own module.
3739 - Use one CPlusPlusAction in the Object Builder's action dictionary,
3740 instead of letting it create multiple identical instances.
3742 - Document the Install() and InstallAs() methods.
3746 - Require that a Builder be given a name argument, supplying a
3747 useful error message when it isn't.
3751 - Add a "duplicate" keyword argument to BuildDir() that can be set
3752 to prevent linking/copying source files into build directories.
3754 - Add a "--debug=tree" option to print an ASCII dependency tree.
3756 - Fetch the location of the Microsoft Visual C++ compiler(s) from
3757 the Registry, instead of hard-coding the location.
3759 - Made Scanner objects take Nodes, not path names.
3761 - Have the C Scanner cache the #include file names instead of
3762 (re-)scanning the file each time it's called.
3764 - Created a separate class for parent "nodes" of file system roots,
3765 eliminating the need for separate is-parent-null checks everywhere.
3767 - Removed defined __hash__() and __cmp() methods from FS.Entry, in
3768 favor of Python's more efficient built-in identity comparisons.
3772 RELEASE 0.02 - Sun, 23 Dec 2001 19:05:09 -0600
3776 - Added the Install(), BuildDir(), and Export() methods.
3778 - Fix the -C option by delaying setting the top of the FS tree.
3780 - Avoid putting the directory path on the libraries in the LIBS
3781 construction variable.
3783 - Added a GetBuildPath() method to return the full path to the
3784 Node for a specified string.
3786 - Fixed variable substitution in CPPPATH and LIBPATH.
3790 - Fixed the version comment in the scons.bat (the UNIX geek used
3793 - Fix to setup.py so it doesn't require a sys.argv[1] argument.
3795 - Provide make-like warning message for "command not found" and
3798 - Added an EXAMPLES section to the man page.
3800 - Make Default() targets properly relative to their SConscript
3801 file's subdirectory.
3805 - Documented CXXFLAGS, CXXCOM, and CPPPATH.
3807 - Fixed SCONS_LIB_DIR to work as documented.
3809 - Made Default() accept Nodes as arguments.
3811 - Changed Export() to make it easier to use.
3813 - Added the Import() and Return() methods.
3817 RELEASE 0.01 - Thu Dec 13 19:25:23 CST 2001
3819 A brief overview of important functionality available in release 0.01:
3821 - C and C++ compilation on POSIX and Windows NT.
3823 - Automatic scanning of C/C++ source files for #include dependencies.
3825 - Support for building libraries; setting construction variables
3826 allows creation of shared libraries.
3828 - Library and C preprocessor search paths.
3830 - File changes detected using MD5 signatures.
3832 - User-definable Builder objects for building files.
3834 - User-definable Scanner objects for scanning for dependencies.
3836 - Parallel build (-j) support.
3838 - Dependency cycles detected.
3840 - Linux packages available in RPM and Debian format.
3842 - Windows installer available.