2 # __FILE__ __REVISION__ __DATE__ __DEVELOPER__
5 SCons - a software construction tool
15 - Fix the intelc.py Tool module to not throw an exception if the
16 only installed version is something other than ia32.
18 - Set $CCVERSION when using gcc.
22 - Support generating project and solution files for Microsoft
23 Visual Studio version 8.
25 - Support generating more than one project file for a Microsoft
26 Visual Studio solution file.
28 - Add support for a support "runfile" parameter to Microsoft
29 Visual Studio project file creation.
31 - Put the project GUID, not the solution GUID, in the right spot
36 - Fix interpretation of Node.FS objects wrapped in Proxy instances,
37 allowing expansion of things like ${File(TARGET)} in command lines.
39 From Stanislav Baranov:
41 - Add a separate MSVSSolution() Builder, with support for the
42 following new construction variables: $MSVSBUILDCOM, $MSVSCLEANCOM,
43 $MSVSENCODING, $MSVSREBUILDCOM, $MSVSSCONS, $MSVSSCONSCOM,
44 $MSVSSCONSFLAGS, $MSVSSCONSCRIPT and $MSVSSOLUTIONCOM.
46 From Ralph W. Grosse-Kunstleve and Patrick Mezard:
48 - Remove unneceesary (and incorrect) SCons.Util strings on some function
53 - Fix C/C++ compiler selection on AIX to not always use the external $CC
58 - Add a scanner for \include and \import files, with support for
59 searching a directory list in $TEXINPUTS (imported from the external
62 - Support $MAKEINDEX, $MAKEINDEXCOM, $MAKEINDEXCOMSTR and
63 $MAKEINDEXFLAGS for generating indices from .idx files.
67 - Check for whether files exist on disk by listing the directory
68 contents, not calling os.path.exists() file by file. This is
69 somewhat more efficient in general, and may be significantly
70 more efficient on Windows.
72 - Minor speedups in the internal is_Dict(), is_List() and is_String()
75 - Fix a signature refactoring bug that caused Qt header files to
76 get re-generated every time.
78 - Don't fail when writing signatures if the .sconsign.dblite file is
79 owned by a different user (e.g. root) from a previous run.
81 - When deleting variables from stacked OverrideEnvironments, don't
82 throw a KeyError if we were able to delte the variable from any
83 Environment in the stack.
85 - Get rid of the last indentation tabs in the SCons source files and
86 add -tt to the Python invocations in the packaging build and the
87 tests so they don't creep back in.
89 - In Visual Studio project files, put quotes around the -C directory
90 so everything works even if the path has spaces in it.
92 - The Intel Fortran compiler uses -object:$TARGET, not "-o $TARGET",
93 when building object files on Windows. Have the the ifort Tool
94 modify the default command lines appropriately.
96 - Document the --debug=explain option in the man page. (How did we
99 - Add a $LATEXRETRIES variable to allow configuration of the number of
100 times LaTex can be re-called to try to resolve undefined references.
102 - Change the order of the arguments to Configure.Checklib() to match
105 - Handle signature calculation properly when the Python function used
106 for a FunctionAction is an object method.
108 - On Windows, assume that absolute path names without a drive letter
109 refer to the drive on which the SConstruct file lives.
111 - Add /usr/ccs/bin to the end of the the default external execution
114 - Add $PKGCHK and $PKGINFO variables for use on Solaris when searching
115 for the SunPRO C++ compiler. Make the default value for $PKGCHK
116 be /usr/sbin/pgkchk (since /usr/sbin isn't usually on the external
119 - Fix a man page example of overriding variables when calling
120 SharedLibrary() to also set the $LIBSUFFIXES variable.
122 - Add a --taskmastertrace=FILE option to give some insight on how
123 the taskmaster decides what Node to build next.
125 - Changed the names of the old $WIN32DEFPREFIX, $WIN32DEFSUFFIX,
126 $WIN32DLLPREFIX and $WIN32IMPLIBPREFIX construction variables to
127 new $WINDOWSDEFPREFIX, $WINDOWSDEFSUFFIX, $WINDOWSDLLPREFIX and
128 $WINDOWSIMPLIBPREFIX construction variables. The old names are now
129 deprecated, but preserved for backwards compatibility.
133 - Add x64 support for Microsoft Visual Studio 8.
135 From Baptiste Lepilleur:
137 - Support the --debug=memory option on Windows when the Python version
138 has the win32process and win32api modules.
140 From Christian Maaser:
142 - Add support for Visual Studio Express Editions.
144 - Add support for Visual Studio 8 *.manifest files, includng
145 new $WINDOWS_INSERT_MANIFEST, $WINDOWSPROGMANIFESTSUFFIX,
146 $WINDOWSPROGMANIFESTPREFIX, $WINDOWSPROGMANIFESTSUFFIX,
147 $WINDOWSSHLIBMANIFESTPREFIX and $WINDOWSSHLIBMANIFESTSUFFIX
148 construction variables.
152 - Correct TeX-related command lines to just $SOURCE, not $SOURCES
156 - Execute build commands for a command-line target if any of the
157 files built along with the target is out of date or non-existent,
158 not just if the command-line target itself is out of date.
160 - Fix the -n option when used with -c to print all of the targets
161 that will be removed for a multi-target Builder call.
163 - If there's no file in the source directory, make sure there isn't
164 one in the build directory, too, to avoid dangling files left
165 over from previous runs when a source file is removed.
167 - Allow AppendUnique() and PrependUnique() to append strings (and
168 other atomic objects) to lists.
172 - Extend latex.py, pdflatex.py, pdftex.py and tex.py so that building
173 from both TeX and LaTeX files uses the same logic to call $BIBTEX
174 when it's necessary, to call $MAKEINDEX when it's necessary, and to
175 call $TEX or $LATEX multiple times to handle undefined references.
177 - Add an emitter to the various TeX builders so that the generated
178 .aux and .log files also get deleted by the -c option.
180 From Leanid Nazdrynau:
182 - Fix the Qt UIC scanner to work with generated .ui files (by using
183 the FindFile() function instead of checking by-hand for the file).
185 From Jan Nieuwenhuizen:
187 - Fix a problem with interpreting quoted argument lists on command lines.
191 - Add /sw/bin to the default execution PATH on Mac OS X.
195 - When building a .jar file and there is a $JARCHDIR, put the -C
196 in front of each .class file on the command line.
198 - Recognize the Java 1.5 enum keyword.
200 From Asfand Yar Qazi:
202 - Add /opt/bin to the default execution PATH on all POSIX platforms
203 (between /usr/local/bin and /bin).
207 - Fix the use of Configure() contexts from nested subsidiary
210 From Christoph Schulz:
212 - Add support for $CONFIGUREDIR and $CONFIGURELOG variables to control
213 the directory and logs for configuration tests.
215 - Add support for a $INSTALLSTR variable.
217 - Add support for $RANLIBCOM and $RANLIBCOMSTR variables (which fixes
218 a bug when setting $ARCOMSTR).
222 - Add use of $CPPDEFINES to $RCCOM (resource file compilation) on MinGW.
224 From Dobes Vandermeer:
226 - Add support for SCC and other settings in Microsoft Visual
227 Studio project and solution files: $MSVS_PROJECT_BASE_PATH,
228 $MSVS_PROJECT_GUID, $MSVS_SCC_AUX_PATH, $MSVS_SCC_LOCAL_PATH,
229 $MSVS_SCC_PROJECT_NAME, $MSVS_SCC_PROVIDER,
231 - Add support for using a $SCONS_HOME variable (imported from the
232 external environment, or settable internally) to put a shortened
233 SCons execution line in the Visual Studio project file.
235 From David J. Van Maren:
237 - Only filter common prefixes from source files names in Visual Studio
238 project files if the prefix is a complete (sub)directory name.
242 - If $MSVSVERSIONS is already set, don't overwrite it with
243 information from the registry.
247 RELEASE 0.96.91 - Thu, 08 Sep 2005 07:18:23 -0400
249 NOTE: This was a pre-release of 0.97 for testing purposes.
253 - Have the environment store the toolpath and re-use it to find Tools
254 modules during later Copy() or Tool() calls (unless overridden).
256 - Normalize the directory path names in SConsignFile() database
257 files so the same signature file can interoperate on Windows and
260 - Make --debug=stacktrace print a stacktrace when a UserError is thrown.
262 - Remove an old, erroneous cut-and-paste comment in Scanner/Dir.py.
264 From Stanislav Baranov:
266 - Make it possible to support with custom Alias (sub-)classes.
268 - Allow Builders to take empty source lists when called.
270 - Allow access to both TARGET and SOURCE in $*PATH expansions.
272 - Allow SConscript files to modify BUILD_TARGETS.
274 From Timothee Besset:
276 - Add support for Objective C/C++ .m and .mm file suffixes (for
281 - Fix the PharLap linkloc.py module to use target+source arguments
282 when calling env.subst().
286 - Fix an incorrect Command() keyword argument in the man page.
288 - Add a $TEMPFILEPREFIX variable to control the prefix or flag used
289 to pass a long-command-line-execution tempfile to a command.
293 - Enhanced the SCons setup.py script to install man pages on
296 - Add support for an Options.FormatOptionHelpText() method that can
297 be overridden to customize the format of Options help text.
299 - Add a global name for the Entry class (which had already been
302 - Fix re-scanning of generated source files for implicit dependencies
303 when the -j option is used.
305 - Fix a dependency problem that caused $LIBS scans to not be added
306 to all of the targets in a multiple-target builder call, which
307 could cause out-of-order builds when the -j option is used.
309 - Store the paths of source files and dependencies in the .sconsign*
310 file(s) relative to the target's directory, not relative to the
311 top-level SConstruct directory. This starts to make it possible to
312 subdivide the dependency tree arbitrarily by putting an SConstruct
313 file in every directory and using content signatures.
315 - Add support for $YACCHFILESUFFIX and $YACCHXXFILESUFFIX variables
316 that accomodate parser generators that write header files to a
317 different suffix than the hard-coded .hpp when the -d option is used.
319 - The default behavior is now to store signature information in a
320 single .sconsign.dblite file in the top-level SConstruct directory.
321 The old behavior of a separate .sconsign file in each directory can
322 be specified by calling SConsignFile(None).
324 - Remove line number byte codes within the signature calculation
325 of Python function actions, so that changing the location of an
326 otherwise unmodified Python function doesn't cause rebuilds.
328 - Fix AddPreAction() and AddPostAction() when an action has more than
329 one target file: attach the actions to the Executor, not the Node.
331 - Allow the source directory of a BuildDir / build_dir to be outside
332 of the top-level SConstruct directory tree.
334 - Add a --debug=nomemoizer option that disables the Memoizer for clearer
335 looks at the counts and profiles of the underlying function calls,
336 not the Memoizer wrappers.
338 - Print various --debug= stats even if we exit early (e.g. using -h).
340 - Really only use the cached content signature value if the file
341 is older than --max-drift, not just if --max-drift is set.
343 - Remove support for conversion from old (pre 0.96) .sconsign formats.
345 - Add support for a --diskcheck option to enable or disable various
346 on-disk checks: that File and Dir nodes match on-disk entries;
347 whether an RCS file exists for a missing source file; whether an
348 SCCS file exists for a missing source file.
350 - Add a --raw argument to the sconsign script, so it can print a
351 raw representation of each entry's NodeInfo dictionary.
353 - Add the 'f90' and 'f95' tools to the list of Fortran compilers
354 searched for by default.
356 - Add the +Z option by default when compiling shared objects on
361 - Handle Visual Studio project and solution files in Unicode.
365 - Fix a bad use of Copy() in an example in the man page, and a
366 bad regular expression example in the man page and User's Guide.
370 - Have the Visual Studio project file(s) echo "Starting SCons" before
371 executing SCons, mainly to work around a quote-stripping bug in
372 (some versions of?) the Windows cmd command executor.
376 - Remove the space after the -o option when invoking the Borland
377 BCC compiler; some versions apparently require that the file name
378 argument be concatenated with the option.
380 From Leanid Nazdrynau:
382 - Fix the Java parser's handling of backslashes in strings.
386 - Add construction variables to support frameworks on Mac OS X:
387 $FRAMEWORKS, $FRAMEWORKPREFIX, $FRAMEWORKPATH, $FRAMEWORKPATHPREFIX.
389 - Re-order link lines so the -o option always comes right after the
392 From Gary Oberbrunner:
394 - Add support for Intel C++ beta 9.0 (both 32 and 64 bit versions).
396 - Document the new $FRAMEWORK* variables for Mac OS X.
400 - Add $RPATH (-R) support to the Sun linker Tool (sunlink).
402 - Add a description of env.subst() to the man page.
406 - Look in the right directory, not always the local directory, for a
407 same-named file or directory conflict on disk.
409 - On Windows, preserve the external environment's %SYSTEMDRIVE%
414 - Have the Fortran module emitter look for Fortan modules to be created
415 relative to $FORTRANMODDIR, not the top-level directory.
417 - When saving Options to a file, run default values through the
418 converter before comparing them with the set values. This correctly
419 suppresses Boolean Option values from getting written to the saved
420 file when they're one of the many synonyms for a default True or
423 - Fix the Fortran Scanner's ability to handle a module being used
424 in the same file in which it is defined.
428 - Add the -KPIC option by default when compiling shared objects on
431 - Change the default suffix for Solaris objects to .o, to conform to
432 Sun WorkShop's expectations. Change the profix to so_ so they can
433 still be differentiated from static objects in the same directory.
437 - When calling the resource compiler on MinGW, add --include-dir and
438 the source directory so it finds the source file.
440 - Update EnsureSConsVersion() to support revision numbers.
444 - Fix a misplaced line in the man page.
448 RELEASE 0.96.90 - Tue, 15 Feb 2005 21:21:12 +0000
450 NOTE: This was a pre-release of 0.97 for testing purposes.
454 - Fix Java parsing to avoid erroneously identifying a new array
455 of class instances as an anonymous inner class.
457 - Fix a typo in the man page description of PathIsDirCreate.
461 - Allow Help() to be called multiple times, appending to the help
464 - Allow Tools found on a toolpath to import Python modules from
465 their local directory.
467 From Steve Christensen:
469 - Handle exceptions from Python functions as build actions.
471 - Add a set of canned PathOption validators: PathExists (the default),
472 PathIsFile, PathIsDir and PathIsDirCreate.
476 - Add support for .lex and .yacc file suffixes for Lex and Yacc files.
480 - Huge performance improvement: wrap the tuples representing an
481 include path in an object, so that the time it takes to hash the
482 path doesn't grow porportionally to the length of the path.
484 From Gottfried Ganssauge:
486 - Fix SCons on SuSE/AMD-64 Linux by having the wrapper script also
487 check for the build engine in the parent directory of the Python
488 library directory (/usr/lib64 instead of /usr/lib).
490 From Stephen Kennedy:
492 - Speed up writing the .sconsign file at the end of a run by only
493 calling sync() once at the end, not after every entry.
497 - When compiling with Microsoft Visual Studio, don't include the ATL and
498 MFC directories in the default INCLUDE and LIB environment variables.
500 - Remove the following deprecated features: the ParseConfig()
501 global function (deprecated in 0.93); the misspelled "validater"
502 keyword to the Options.Add() method (deprecated in 0.91); the
503 SetBuildSignatureType(), SetContentSignatureType(), SetJobs() and
504 GetJobs() global functions (deprecated in 0.14).
506 - Fix problems with corrupting the .sconsign.dblite file when
507 interrupting builds by writing to a temporary file and renaming,
508 not writing the file directly.
510 - Fix a 0.96 regression where when running with -k, targets built from
511 walking dependencies later on the command line would not realize
512 that a dependency had failed an earlier build attempt, and would
513 try to rebuild the dependent targets.
515 - Change the final messages when using -k and errors occur from
516 "{building,cleaning} terminated because of errors" to "done
517 {building,cleaning} targets (errors occurred during {build,clean})."
519 - Allow Configure.CheckFunc() to take an optional header argument
520 (already supported by Conftest.py) to specify text at the top of
521 the compiled test file.
523 - Fix the --debug=explain output when a Python function action changed
524 so it prints a meaningful string, not the binary representation of
525 the function contents.
527 - Allow a ListOption's default value(s) to be a Python list of specified
528 values, not just a string containing a comma-separated list of names.
530 - Add a ParseDepends() function that will parse up a list of explicit
531 dependencies from a "make depend" style file.
533 - Support the ability to change directory when executing an Action
534 through "chdir" keyword arguments to Action and Builder creation
537 - Fix handling of Action ojects (and other callables that don't match
538 our calling arguments) in construction variable expansions.
540 - On Win32, install scons.bat in the Python directory when installing
541 from setup.py. (The bdist_wininst installer was already doing this.)
543 - Fix env.SConscript() when called with a list of SConscipt files.
544 (The SConscript() global function already worked properly.)
546 - Add a missing newline to the end of the --debug=explain "unknown
549 - Enhance ParseConfig() to work properly for spaces in between the -I,
550 -L and -l options and their arguments.
552 - Packaging build fix: Rebuild the files that are use to report the
553 --version of SCons whenever the development version number changes.
555 - Fix the ability to specify a target_factory of Dir() to a Builder,
556 which the default create-a-directory Builder was interfering with.
558 - Mark a directory as built if it's created as part of the preparation
559 for another target, to avoid trying to build it again when it comes
560 up in the target list.
562 - Allow a function with the right calling signature to be put directly
563 in an Environment's BUILDERS dictionary, making for easier creation
564 and use of wrappers (pseudo-Builders) that call other Builders.
566 - On Python 2.x, wrap lists of Nodes returned by Builders in a UserList
567 object that adds a method that makes str() object return a string
568 with all of the Nodes expanded to their path names. (Builders under
569 Python 1.5.2 still return lists to avoid TypeErrors when trying
570 to extend() list, so Python 1.5.2 doesn't get pretty-printing of Node
571 lists, but everything should still function.)
573 - Allow Aliases to have actions that will be executed whenever
574 any of the expanded Alias targets are out of date.
576 - Fix expansion of env.Command() overrides within target and
579 - Support easier customization of what's displayed by various default
580 actions by adding lots of new construction variables: $ARCOMSTR,
581 $ASCOMSTR, $ASPPCOMSTR, $BIBTEXCOMSTR, $BITKEEPERCOMSTR, $CCCOMSTR,
582 $CVSCOMSTR, $CXXCOMSTR, $DCOMSTR, $DVIPDFCOMSTR, $F77COMSTR,
583 $F90COMSTR, $F95COMSTR, $FORTRANCOMSTR, $GSCOMSTR, $JARCOMSTR,
584 $JAVACCOMSTR, $JAVAHCOMSTR, $LATEXCOMSTR, $LEXCOMSTR, $LINKCOMSTR,
585 $M4COMSTR, $MIDLCOMSTR, $P4COMSTR, $PCHCOMSTR, $PDFLATEXCOMSTR,
586 $PDFTEXCOMSTR, $PSCOMSTR, $QT_MOCFROMCXXCOMSTR, $QT_MOCFROMHCOMSTR,
587 $QT_UICCOMSTR, $RCCOMSTR, $REGSVRCOMSTR, $RCS_COCOMSTR, $RMICCOMSTR,
588 $SCCSCOMSTR, $SHCCCOMSTR, $SHCXXCOMSTR, $SHF77COMSTR, $SHF90COMSTR,
589 $SHF95COMSTR, $SHFORTRANCOMSTR, $SHLINKCOMSTR, $SWIGCOMSTR,
590 $TARCOMSTR, $TEXCOMSTR, $YACCCOMSTR and $ZIPCOMSTR.
592 - Add an optional "map" keyword argument to ListOption() that takes a
593 dictionary to map user-specified values to legal values from the list
594 (like EnumOption() already doee).
596 - Add specific exceptions to try:-except: blocks without any listed,
597 so that they won't catch and mask keyboard interrupts.
599 - Make --debug={tree,dtree,stree} print something even when there's
602 - Fix how Scanners sort the found dependencies so that it doesn't
603 matter whether the dependency file is in a Repository or not.
604 This may cause recompilations upon upgrade to this version.
606 - Make AlwaysBuild() work with Alias and Python value Nodes (making
607 it much simpler to support aliases like "clean" that just invoke
608 an arbitrary action).
610 - Have env.ParseConfig() use AppendUnique() by default to suppress
611 duplicate entries from multiple calls. Add a "unique" keyword
612 argument to allow the old behavior to be specified.
614 - Allow the library modules imported by an SConscript file to get at
615 all of the normally-available global functions and variables by saying
616 "from SCons.Script import *".
618 - Add a --debug=memoizer option to print Memoizer hit/mass statistics.
620 - Allow more than one --debug= option to be set at a time.
622 - Change --debug=count to report object counts before and after
623 reading SConscript files and before and after building targets.
625 - Change --debug=memory output to line up the numbers and to better
626 match (more or less) the headers on the --debug=count columns.
628 - Speed things up when there are lists of targets and/or sources by
629 getting rid of some N^2 walks of the lists involved.
631 - Cache evaluation of LazyActions so we don't create a new object
634 - When scanning, don't create Nodes for include files that don't
635 actually exist on disk.
637 - Make supported global variables CScanner, DScanner, ProgramScanner and
638 SourceFileScanner. Make SourceFileScanner.add_scanner() a supported
639 part of the public interface. Keep the old SCons.Defaults.*Scan names
640 around for a while longer since some people were already using them.
642 - By default, don't scan directories for on-disk files. Add a
643 DirScanner global scanner that can be used in Builders or Command()
644 calls that want source directory trees scanned for on-disk changes.
645 Have the Tar() and Zip() Builders use the new DirScanner to preserve
646 the behavior of rebuilding a .tar or .zip file if any file or
647 directory under a source tree changes. Add Command() support for
648 a source_scanner keyword argument to Command() that can be set to
649 DirScanner to get this behavior.
651 - Documentation changes: Explain that $CXXFLAGS contains $CCFLAGS
652 by default. Fix a bad target_factory example in the man page.
653 Add appendices to the User's Guide to cover the available Tools,
654 Builders and construction variables. Comment out the build of
655 the old Python 10 paper, which doesn't build on all systems and
656 is old enough at this point that it probably isn't worth the
657 effort to make it do so.
661 - Avoid "maximum recursion limit" errors when removing $(-$) pairs
662 from long command lines.
666 - Make ParseConfig() recognize and add -mno-cygwin to $LINKFLAGS and
667 $CCFLAGS, and -mwindows to $LINKFLAGS.
669 From Michael McCracken:
671 - Add a new "applelink" tool to handle the things like Frameworks and
672 bundles that Apple has added to gcc for linking.
674 - Use more appropriate default search lists of linkers, compilers and
675 and other tools for the 'darwin' platform.
677 - Add a LoadableModule Builder that builds a bundle on Mac OS X (Darwin)
678 and a shared library on other systems.
680 - Improve SWIG tests for use on Mac OS X (Darwin).
684 - Enhance the tests to guarantee persistence of ListOption
685 values in saved options files.
687 - Supply the help text when -h is used with the -u, -U or -D options.
691 - Fix the Java parser's handling of string definitions to avoid ignoring
694 From Han-Wen Nienhuys:
696 - Optimize variable expansion by: using the re.sub() method (when
697 possible); not using "eval" for variables for which we can fetch the
698 value directory; avoiding slowing substitution logic when there's no
701 From Gary Oberbrunner:
703 - Add an Environment.Dump() method to print the contents of a
704 construction environment.
706 - Allow $LIBS (and similar variables) to contain explicit File Nodes.
708 - Change ParseConfig to add the found library names directly to the
709 $LIBS variable, instead of returning them.
711 - Add ParseConfig() support for the -framework GNU linker option.
713 - Add a PRINT_CMD_LINE_FUNC construction variable to allow people
714 to filter (or log) command-line output.
716 - Print an internal Python stack trace in response to an otherwise
717 unexplained error when --debug=stacktrace is specified.
719 - Add a --debug=findlibs option to print what's happening when
720 the scanner is searching for libraries.
722 - Allow Tool specifications to be passed a dictionary of keyword
725 - Support an Options default value of None, in which case the variable
726 will not be added to the construction environment unless it's set
727 explicitly by the user or from an Options file.
729 - Avoid copying __builtin__ values into a construction environment's
730 dictionary when evaluating construction variables.
732 - Add a new cross-platform intelc.py Tool that can detect and
733 configure the Intel C++ v8 compiler on both Windows, where it's
734 named icl, and Linux, where it's named icc. It also checks that
735 the directory specified in the Windows registry exists, and sets a
736 new $INTEL_C_COMPILER_VERSION construction variable to identify the
737 version being used. (Niall Douglas contributed an early prototype
738 of parts of this module.)
740 - Fix the private Conftest._Have() function so it doesn't change
741 non-alphanumeric characters to underscores.
743 - Supply a better error message when a construction variable expansion
744 has an unknown attribute.
746 - Documentation changes: Update the man page to describe use of
747 filenames or Nodes in $LIBS.
751 - Have the linkloc tool use $MSVS_VERSION to select the Microsoft
752 Visual Studio version to use.
756 - Fix the Builder name returned from ListBuilders and other instances
757 of subclasses of the BuilderBase class.
759 - Add Builders and construction variables to support rpcgen:
760 RPCGenClient(), RPCGenHeader(), RPCGenService(), RPCGenXDR(),
761 $RPCGEN, $RPCGENFLAGS, $RPCGENCLIENTFLAGS, $RPCGENHEADERFLAGS,
762 $RPCGENSERVICEFLAGS, $RPCGENXDRFLAGS.
764 - Update the man page to document that prefix and suffix Builder
765 keyword arguments can be strings, callables or dictionaries.
767 - Provide more info in the error message when a user tries to build
768 a target multiple ways.
770 - Fix Delete() when a file doesn't exist and must_exist=1. (We were
771 unintentionally dependent on a bug in versions of the Python shutil.py
772 module prior to Python 2.3, which would generate an exception for
773 a nonexistent file even when ignore_errors was set.)
775 - Only replace a Node's builder with a non-null source builder.
777 - Fix a stack trace when a suffix selection dictionary is passed
778 an empty source file list.
780 - Allow optional names to be attached to Builders, for default
781 Builders that don't get attached to construction environments.
783 - Fix problems with Parallel Task Exception handling.
785 - Build targets in an associated BuildDir even if there are targets
786 or subdirectories locally in the source directory.
788 - If a FunctionAction has a callable class as its underlying Python
789 function, use its strfunction() method (if any) to display the
792 - Fix handling when BuildDir() exists but is unwriteable. Add
793 "Stop." to those error messages for consistency.
795 - Catch incidents of bad builder creation (without an action) and
796 supply meaningful error messages.
798 - Fix handling of src_suffix values that aren't extensions (don't
801 - Don't retrieve files from a CacheDir, but report what would happen,
802 when the -n option is used.
804 - Use the source_scanner from the target Node, not the source node
807 - Internal Scanners fixes: Make sure Scanners are only passed Nodes.
808 Fix how a Scanner.Selector called its base class initialization.
809 Make comparisons of Scanner objects more robust. Add a name to
810 an internal default ObjSourceScanner.
812 - Add a deprecated warning for use of the old "scanner" keyword argument
815 - Improve the --debug=explain message when the build action changes.
817 - Test enhancements in SourceCode.py, option-n.py, midl.py. Better
818 Command() and Scanner test coverage. Improved test infrastructure
821 - Refactor the interface between Action and Executor objects to treat
824 - The --debug=presub option will now report the pre-substitution
825 each action seprately, instead of reporting the entire list before
826 executing the actions one by one.
828 - The --debug=explain option explaining a changed action will now
829 (more correctly) show pre-substitution action strings, instead of
830 the commands with substituted file names.
832 - A Node (file) will now be rebuilt if its PreAction or PostAction
835 - Python Function actions now have their calling signature (target,
836 source, env) reported correctly when displayed.
838 - Fix BuildDir()/build_dir handling when the build_dir is underneath
839 the source directory and trying to use entries from the build_dir
840 as sources for other targets in the build-dir.
842 - Fix hard-coding of JDK path names in various Java tests.
844 - Handle Python stack traces consistently (stop at the SConscript stack
845 frame, by default) even if the Python source code isn't available.
847 - Improve the performance of the --debug={tree,dtree} options.
849 - Add --debug=objects logging of creation of OverrideWarner,
850 EnvironmentCopy and EnvironmentOverride objects.
852 - Fix command-line expansion of Python Value Nodes.
854 - Internal cleanups: Remove an unnecessary scan argument. Associate
855 Scanners only with Builders, not nodes. Apply overrides once when
856 a Builder is called, not in multiple places. Cache results from the
857 Node.FS.get_suffix() and Node.get_build_env() methods. Use the Python
858 md5 modules' hexdigest() method, if there is one. Have Taskmaster
859 call get_stat() once for each Node and re-use the value instead of
860 calling it each time it needs the value. Have Node.depends_on()
861 re-use the list from the children() method instead of calling it
864 - Use the correct scanner if the same source file is used for targets in
865 two different environments with the same path but different scanners.
867 - Collect logic for caching values in memory in a Memoizer class,
868 which cleans up a lot of special-case code in various methods and
869 caches additional values to speed up most configurations.
871 - Add a PathAccept validator to the list of new canned PathOption
876 - Documentation changes: Use $CPPDEFINES instead of $CCFLAGS in man
881 - Allow $JARCHDIR to be expanded to other construction variables.
883 From Christoph Wiedemann:
885 - Add an Environment.SetDefault() method that only sets values if
886 they aren't already set.
888 - Have the qt.py Tool not override variables already set by the user.
890 - Add separate $QT_BINPATH, $QT_CPPPATH and $QT_LIBPATH variables
891 so these can be set individually, instead of being hard-wired
894 - The %TEMP% and %TMP% external environment variables are now propagated
895 automatically to the command execution environment on Windows systems.
897 - A new --config= command-line option allows explicit control of
898 of when the Configure() tests are run: --config=force forces all
899 checks to be run, --config=cache uses all previously cached values,
900 --config=auto (the default) runs tests only when dependency analysis
901 determines it's necessary.
903 - The Configure() subsystem can now write a config.h file with values
904 like HAVE_STDIO_H, HAVE_LIBM, etc.
906 - The Configure() subsystem now executes its checks silently when the
907 -Q option is specified.
909 - The Configure() subsystem now reports if a test result is being
910 taken from cache, and prints the standard output and error output
911 of tests even when cached.
913 - Configure() test results are now reported as "yes" or "no" instead of
916 - Fixed traceback printing when calling the env.Configure() method
917 instead of the Configure() global function.
919 - The Configure() subsystem now caches build failures in a .sconsign
920 file in the subdirectory, not a .cache file. This may cause
921 tests to be re-executed the first time after you install 0.97.
923 - Additional significant internal cleanups in the Configure() subsystem
926 - Have the Qt Builder make uic-generated files dependent on the .ui.h
929 - Add a test to make sure that SCons source code does not contain
930 try:-except: blocks that catch all errors, which potentially catch
931 and mask keyboard interrupts.
933 - Fix us of TargetSignatures('content') with the SConf subsystem.
935 From Russell Yanofsky:
937 - Add support for the Metrowerks Codewarrior compiler and linker
942 RELEASE 0.96.1 - Mon, 23 Aug 2004 12:55:50 +0000
946 - Handle white space in the executable Python path name within in MSVS
947 project files by quoting the path.
949 - Correct the format of a GUID string in a solution (.dsw) file so
950 MSVS can correctly "build enable" a project.
954 - Add a must_exist flag to Delete() to let the user control whether
955 it's an error if the specified entry doesn't exist. The default
956 behavior is now to silently do nothing if it doesn't exist.
958 - Package up the new Platform/darwin.py, mistakenly left out of 0.96.
960 - Make the scons.bat REM statements into @REM so they aren't printed.
962 - Make the SCons packaging SConscript files platform independent.
966 - Fix scanning of pre-compiled header (.pch) files for #includes,
971 RELEASE 0.96 - Wed, 18 Aug 2004 13:36:40 +0000
975 - Make the CacheDir() directory if it doesn't already exist.
977 - Allow construction variable substitutions in $LIBS specifications.
979 - Allow the emitter argument to a Builder() to be or expand to a list
980 of emitter functions, which will be called in sequence.
982 - Suppress null values in construction variables like $LIBS that use
983 the internal _concat() function.
985 - Remove .dll files from the construction variables searched for
986 libraries that can be fed to Win32 compilers.
988 From Chad Austin and Christoph Wiedemann:
990 - Add support for a $RPATH variable to supply a list of directories
991 to search for shared libraries when linking a program. Used by
992 the GNU and IRIX linkers (gnulink and sgilink).
996 - Restore the ability to do construction variable substitutions in all
997 kinds of *PATH variables, even when the substitution returns a Node
1002 - Allow the Java() Builder to take more than one source directory.
1004 From Ralf W. Grosse-Kunstleve:
1006 - Have SConsignFile() use, by default, a custom "dblite.py" that we can
1007 control and guarantee to work on all Python versions (or nearly so).
1009 From Jonathan Gurley:
1011 - Add support for the newer "ifort" versions of the Intel Fortran
1016 - Make the new *FLAGS variable type work with copied Environments.
1018 From Chris Hoeppler:
1020 - Initialize the name of a Scanner.Classic scanner correctly.
1024 - Add support for the .dylib shared library suffix and the -dynamiclib
1025 linker option on Mac OS X.
1029 - Add an Execute() method for executing actions directly.
1031 - Support passing environment override keyword arguments to Command().
1033 - Fix use of $MSVS_IGNORE_IDE_PATHS, which was broken when we added
1034 support for $MSVS_USE_MFC_DIRS last release.
1036 - Make env.Append() and env.Prepend() act like the underlying Python
1037 behavior when the variable being appended to is a UserList object.
1039 - Fix a regression that prevented the Command() global function in
1040 0.95 from working with command-line strings as actions.
1042 - Fix checking out a file from a source code management system when
1043 the env.SourceCode() method was called with an individual file name
1044 or node, not a directory name or node.
1046 - Enhance the Task.make_ready() method to create a list of the
1047 out-of-date Nodes for the task for use by the wrapping interface.
1049 - Allow Scanners to pull the list of suffixes from the construction
1050 environment when the "skeys" keyword argument is a string containing
1051 a construction variable to be expanded.
1053 - Support new $CPPSUFFIXES, $DSUFFIXES $FORTRANSUFFIXES, and
1054 $IDLSUFFIXES. construction variables that contain the default list
1055 of suffixes to be scanned by a given type of scanner, allowing these
1056 suffix lists to be easily added to or overridden.
1058 - Speed up Node creation when calling a Builder by comparing whether two
1059 Environments are the same object, not if their underlying dictionaries
1062 - Add a --debug=explain option that reports the reason(s) why SCons
1063 thinks it must rebuild something.
1065 - Add support for functions that return platform-independent Actions
1066 to Chmod(), Copy(), Delete(), Mkdir(), Move() and Touch() files
1067 and/or directories. Like any other Actions, the returned Action
1068 object may be executed directly using the Execute() global function
1069 or env.Execute() environment method, or may be used as a Builder
1070 action or in an env.Command() action list.
1072 - Add support for the strfunction argument to all types of Actions:
1073 CommandAction, ListAction, and CommandGeneratorAction.
1075 - Speed up turning file system Nodes into strings by caching the
1076 values after we're finished reading the SConscript files.
1078 - Have ParseConfig() recognize and supporting adding the -Wa, -Wl,
1079 and -Wp, flags to ASFLAGS, LINKFLAGS and CPPFLAGS, respectively.
1081 - Change the .sconsign format and the checks for whether a Node is
1082 up-to-date to make dependency checks more efficient and correct.
1084 - Add wrapper Actions to SCons.Defaults for $ASCOM, $ASPPCOM, $LINKCOM,
1085 $SHLINKCOM, $ARCOM, $LEXCOM and $YACCCOM. This makes it possible
1086 to replace the default print behavior with a custom strfunction()
1089 - When a Node has been built, don't walk the whole tree back to delete
1090 the parents's implicit dependencies, let returning up the normal
1091 Taskmaster descent take care of it for us.
1093 - Add documented support for separate target_scanner and source_scanner
1094 arguments to Builder creation, which allows different scanners to
1095 be applied to source files
1097 - Don't re-install or (re-generate) .h files when a subsidiary #included
1098 .h file changes. This eliminates incorrect circular dependencies
1099 with .h files generated from other source files.
1101 - Slim down the internal Sig.Calculator class by eliminating methods
1102 whose functionality is now covered by Node methods.
1104 - Document use of the target_factory and source_factory keyword
1105 arguments when creating Builder objects. Enhance Dir Nodes so that
1106 they can be created with user-specified Builder objects.
1108 - Don't blow up with stack trace when the external $PATH environment
1111 - Make Builder calls return lists all the time, even if there's only
1112 one target. This keeps things consistent and easier to program to
1115 - Add a Flatten() function to make it easier to deal with the Builders
1116 all returning lists of targets, not individual targets.
1118 - Performance optimizations in Node.FS.__doLookup().
1120 - Man page fixes: formatting typos, misspellings, bad example.
1122 - User's Guide fixes: Fix the signatures of the various example
1123 *Options() calls. Triple-quote properly a multi-line Split example.
1125 - User's Guide additions: Chapter describing File and Directory
1126 Nodes. Section describing declarative nature of SCons functions in
1127 SConscript files. Better organization and clarification of points
1128 raised by Robert P. J. Day. Chapter describing SConf (Autoconf-like)
1129 functionality. Chapter describing how to install Python and
1130 SCons. Chapter describing Java builds.
1134 - Add a .win32 attribute to force file names to expand with
1135 Windows backslash path separators.
1137 - Fix escaping file names on command lines when the expansion is
1138 concatenated with another string.
1140 - Add support for Fortran 90 and Fortran 95. This adds $FORTRAN*
1141 variables that specify a default compiler, command-line, flags,
1142 etc. for all Fortran versions, plus separate $F90* and $F95*
1143 variables for when different compilers/flags/etc. must be specified
1144 for different Fortran versions.
1146 - Have individual tools that create libraries override the default
1147 $LIBPREFIX and $LIBSUFFIX values set by the platform. This makes
1148 it easier to use Microsoft Visual Studio tools on a CygWin platform.
1150 From Gary Oberbrunner:
1152 - Add a --debug=presub option to print actions prior to substitution.
1154 - Add a warning upon use of the override keywords "targets" and
1155 "sources" when calling Builders. These are usually mistakes which
1156 are otherwise silently (and confusingly) turned into construction
1159 - Try to find the ICL license file path name in the external environment
1160 and the registry before resorting to the hard-coded path name.
1162 - Add support for fetching command-line keyword=value arguments in
1163 order from an ARGLIST list.
1165 - Avoid stack traces when trying to read dangling symlinks.
1167 - Treat file "extensions" that only contain digits as part of the
1168 file basename. This supports version numbers as part of shared
1169 library names, for example.
1171 - Avoid problems when there are null entries (None or '') in tool
1174 - Add an example and explanation of how to use "tools = ['default', ..."
1175 when creating a construction environment.
1177 - Add a section describing File and Directory Nodes and some of their
1178 attributes and methods.
1180 - Have ParseConfig() add a returned -pthread flag to both $CCFLAGS
1183 - Fix some test portability issues on Mac OS X (darwin).
1187 - Fix a bug introduced in building shared libraries under MinGW.
1191 - Handling SCons exceptions according to Pythonic standards.
1193 - Fix test/chained-build.py on systems that execute within one second.
1195 - Fix tests on systems where 'ar' warns about archive creation.
1199 - Fix use of the --implicit-cache option with timestamp signatures.
1201 - If Visual Studio is installed, assume the C/C++ compiler, the linker
1202 and the MIDL compiler that comes with it are available, too.
1204 - Better error messages when evaluating a construction variable
1205 expansion yields a Python syntax error.
1207 - Change the generation of PDB files when using Visual Studio from
1208 compile time to link time.
1212 - Allow SConf.CheckLib() to search a list of libraries, like the
1213 Autoconf AC_SEARCH_LIBS macro.
1215 - Allow the env.WhereIs() method to take a "reject" argument to
1216 let it weed out specific path names.
1218 From Christoph Wiedemann:
1220 - Add new Moc() and Uic() Builders for more explicit control over
1221 Qt builds, plus new construction variables to control them:
1222 $QT_AUTOSCAN, $QT_DEBUG, $QT_MOCCXXPREFIX, $QT_MOCCXXSUFFIX,
1223 $QT_MOCHPREFIX, $QT_MOCHSUFFIX, $QT_UICDECLPREFIX, $QT_UICDECLSUFFIX,
1224 $QT_UICIMPLPREFIX, $QT_UICIMPLSUFFIX and $QT_UISUFFIX.
1226 - Add a new single_source keyword argument for Builders that enforces
1227 a single source file on calls to the Builder.
1231 RELEASE 0.95 - Mon, 08 Mar 2004 06:43:20 -0600
1235 - Replace print statements with calls to sys.stdout.write() so output
1236 lines stay together when -j is used.
1238 - Add portability fixes for a number of tests.
1240 - Accomodate the fact that Cygwin's os.path.normcase() lies about
1241 the underlying system being case-sensitive.
1243 - Fix an incorrect _concat() call in the $RCINCFLAGS definition for
1246 - Fix a problem with the msvc tool with Python versions prior to 2.3.
1248 - Add support for a "toolpath" Tool() and Environment keyword that
1249 allows Tool modules to be found in specified local directories.
1251 - Work around Cygwin Python's silly fiction that it's using a
1252 case-sensitive file system.
1254 - More robust handling of data in VCComponents.dat.
1256 - If the "env" command is available, spawn commands with the more
1257 general "env -" instead of "env -i".
1259 From Kerim Borchaev:
1261 - Fix a typo in a msvc.py's registry lookup: "VCComponents.dat", not
1264 From Chris Burghart:
1266 - Fix the ability to save/restore a PackageOption to a file.
1268 From Steve Christensen:
1270 - Update the MSVS .NET and MSVC 6.0/7.0 path detection.
1272 From David M. Cooke:
1274 - Make the Fortran scanner case-insensitive for the INCLUDE string.
1278 - If no version of MSVC is detected but the tool is specified,
1279 use the MSVC 6.0 paths by default.
1281 - Ignore any "6.1" version of MSVC found in the registry; this is a
1282 phony version number (created by later service packs?) and would
1283 throw off the logic if the user had any non-default paths configure.
1285 - Correctly detect if the user has independently configured the MSVC
1286 "include," "lib" or "path" in the registry and use the appropriate
1287 values. Previously, SCons would only use the values if all three
1288 were set in the registry.
1290 - Make sure side-effect nodes are prepare()d before building their
1291 corresponding target.
1293 - Preserve the ability to call BuildDir() multiple times with the
1294 same target and source directory arguments.
1298 - Add support for the Digital Mars "D" programming language.
1300 From Scott Lystig Fritchie:
1302 - Fix the ability to use a custom _concat() function in the
1303 construction environment when calling _stripixes().
1305 - Make the message about ignoring a missing SConscript file into a
1306 suppressable Warning, not a hard-coded sys.stderr.write().
1308 - If a builder can be called multiple times for a target (because
1309 the sources and overrides are identical, or it's a builder with the
1310 "multi" flag set), allow the builder to be called through multiple
1311 environments so long as the builders have the same signature for
1312 the environments in questions (that is, they're the same action).
1316 - When multiple targets are built by a single action, retrieve all
1317 of them from cache, not just the first target, and exec the build
1318 command if any of the targets isn't present in the cache.
1320 From Zephaniah Hull:
1322 - Fix command-line ARGUMENTS with multiple = in them.
1326 - Fix EnsureSConsVersion() so it checks against the SCons version,
1327 not the Python version, on Pythons with sys.version_info.
1329 - Don't swallow the AttributeError when someone uses an expansion like
1330 $TARGET.bak, so we can supply a more informative error message.
1332 - Fix an odd double-quote escape sequence in the man page.
1334 - Fix looking up a naked drive letter as a directory (Dir('C:')).
1336 - Support using File nodes in the LIBS construction variable.
1338 - Allow the LIBS construction variable to be a single string or File
1339 node, not a list, when only one library is needed.
1341 - Fix typos in the man page: JAVACHDIR => JARCHDIR; add "for_signature"
1342 to the __call__() example in the "Variable Substitution" section.
1344 - Correct error message spellings of "non-existant" to "non-existent."
1346 - When scanning for libraries to link with, don't append $LIBPREFIXES
1347 or $LIBSUFFIXES values to the $LIBS values if they're already present.
1349 - Add a ZIPCOMPRESSION construction variable to control whether the
1350 internal Python action for the Zip Builder compresses the file or
1351 not. The default value is zipfile.ZIP_DEFLATED, which generates
1354 - Refactor construction variable expansion to support recursive
1355 expansion of variables (e.g. CCFLAGS = "$CCFLAGS -g") without going
1356 into an infinite loop. Support this in all construction variable
1357 overrides, as well as when copying Environments.
1359 - Fix calling Configure() from more than one subsidiary SConscript file.
1361 - Fix the env.Action() method so it returns the correct type of
1362 Action for its argument(s).
1364 - Fix specifying .class files as input to JavaH with the .class suffix
1365 when they weren't generated using the Java Builder.
1367 - Make the check for whether all of the objects going into a
1368 SharedLibrary() are shared work even if the object was built in a
1371 - Supply meaningful error messages, not stack traces, if we try to add
1372 a non-Node as a source, dependency, or ignored dependency of a Node.
1374 - Generate MSVS Project files that re-invoke SCons properly regardless
1375 of whether the file was built via scons.bat or scons.py.
1376 (Thanks to Niall Douglas for contributing code and testing.)
1378 - Fix TestCmd.py, runtest.py and specific tests to accomodate being
1379 run from directories whose paths include white space.
1381 - Provide a more useful error message if a construction variable
1382 expansion contains a syntax error during evaluation.
1384 - Fix transparent checkout of implicit dependency files from SCCS
1387 - Added new --debug=count, --debug=memory and --debug=objects options.
1388 --debug=count and --debug=objects only print anything when run
1389 under Python 2.1 or later.
1391 - Deprecate the "overrides" keyword argument to Builder() creation
1392 in favor of using keyword argument values directly (like we do
1393 for builder execution and the like).
1395 - Always use the Builder overrides in substitutions, not just if
1396 there isn't a target-specific environment.
1398 - Add new "rsrcpath" and "rsrcdir" and attributes to $TARGET/$SOURCE,
1399 so Builder command lines can find things in Repository source
1400 directories when using BuildDir.
1402 - Fix the M4 Builder so that it chdirs to the Repository directory
1403 when the input file is in the source directory of a BuildDir.
1405 - Save memory at build time by allowing Nodes to delete their build
1406 environments after they've been built.
1408 - Add AppendUnique() and PrependUnique() Environment methods, which
1409 add values to construction variables like Append() and Prepend()
1410 do, but suppress any duplicate elements in the list.
1412 - Allow the 'qt' tool to still be used successfully from a copied
1413 Environment. The include and library directories previously ended up
1414 having the same string re-appended to the end, yielding an incorrect
1417 - Supply a more descriptive error message when the source for a target
1420 - Initialize all *FLAGS variables with objects do the right thing with
1421 appending flags as strings or lists.
1423 - Make things like ${TARGET.dir} work in *PATH construction variables.
1425 - Allow a $MSVS_USE_MFC_DIRS construction variable to control whether
1426 ATL and MFC directories are included in the default INCLUDE and
1429 - Document the dbm_module argument to the SConsignFile() function.
1433 - Add support for the bcc32, ilink32 and tlib Borland tools.
1437 - Supply an error message if the user tries to configure a BuildDir
1438 for a directory that already has one.
1440 - Remove documentation of the still-unimplemented -e option.
1442 - Add -H help text listing the legal --debug values.
1444 - Don't choke if a construction variable is a non-string value.
1446 - Build Type Libraries in the target directory, not the source
1449 - Add an appendix to the User's Guide showing how to accomplish
1450 various common tasks in Python.
1454 - Add support for Microsoft Visual Studio 2003 (version 7.1).
1456 - Evaluate $MSVSPROJECTSUFFIX and $MSVSSOLUTIONSUFFIX when the Builder
1457 is invoked, not when the tool is initialized.
1459 From Christoph Wiedemann:
1461 - When compiling Qt, make sure the moc_*.cc files are compiled using
1462 the flags from the environment used to specify the target, not
1463 the environment that first has the Qt Builders attached.
1467 RELEASE 0.94 - Fri, 07 Nov 2003 05:29:48 -0600
1469 From Hartmut Goebel:
1471 - Add several new types of canned functions to help create options:
1472 BoolOption(), EnumOption(), ListOption(), PackageOption(),
1477 - Fix use of CPPDEFINES with C++ source files.
1479 - Fix env.Append() when the operand is an object with a __cmp__()
1480 method (like a Scanner instance).
1482 - Fix subclassing the Environment and Scanner classes.
1484 - Add BUILD_TARGETS, COMMAND_LINE_TARGETS and DEFAULT_TARGETS variables.
1488 - SGI fixes: Fix C++ compilation, add a separate Tool/sgic++.py module.
1490 From Gary Oberbrunner:
1492 - Fix how the man page un-indents after examples in some browsers.
1496 - Fix the C and C++ tool specifications for AIX.
1500 RELEASE 0.93 - Thu, 23 Oct 2003 07:26:55 -0500
1504 - On POSIX, execute commands with the more modern os.spawnvpe()
1505 function, if it's available.
1507 - Scan .S, .spp and .SPP files for C preprocessor dependencies.
1509 - Refactor the Job.Parallel() class to use a thread pool without a
1510 condition variable. This improves parallel build performance and
1511 handles keyboard interrupts properly when -j is used.
1515 - Add support for a JARCHDIR variable to control changing to a
1516 directory using the jar -C option.
1518 - Add support for detecting Java manifest files when using jar,
1519 and specifying them using the jar m flag.
1521 - Fix some Python 2.2 specific things in various tool modules.
1523 - Support directories as build sources, so that a rebuild of a target
1524 can be triggered if anything underneath the directory changes.
1526 - Have the scons.bat and scons.py files look for the SCons modules
1527 in site-packages as well.
1529 From Christian Engel:
1531 - Support more flexible inclusion of separate C and C++ compilers.
1533 - Use package management tools on AIX and Solaris to find where
1534 the comilers are installed, and what version they are.
1536 - Add support for CCVERSION and CXXVERSION variables for a number
1537 of C and C++ compilers.
1541 - Add test cases for the new capabilities to run bibtex and to rerun
1544 From Ralf W. Grosse-Kunstleve:
1546 - Accomodate anydbm modules that don't have a sync() method.
1548 - Allow SConsignFile() to take an argument specifying the DBM
1551 From Stephen Kennedy:
1553 - Add support for a configurable global .sconsign.dbm file which
1554 can be used to avoid cluttering each directory with an individual
1559 - Fix (re-)scanning of dependencies in generated or installed
1564 - The -Q option suppressed too many messages; fix it so that it only
1565 suppresses the Reading/Building messages.
1567 - Support #include when there's no space before the opening quote
1570 - Accomodate alphanumeric version strings in EnsurePythonVersion().
1572 - Support arbitrary expansion of construction variables within
1573 file and directory arguments to Builder calls and Environment methods.
1575 - Add Environment-method versions of the following global functions:
1576 Action(), AddPostAction(), AddPreAction(), Alias(), Builder(),
1577 BuildDir(), CacheDir(), Clean(), Configure(), Default(),
1578 EnsurePythonVersion(), EnsureSConsVersion(), Environment(),
1579 Exit(), Export(), FindFile(), GetBuildPath(), GetOption(), Help(),
1580 Import(), Literal(), Local(), Platform(), Repository(), Scanner(),
1581 SConscriptChdir(), SConsignFile(), SetOption(), SourceSignatures(),
1582 Split(), TargetSignatures(), Tool(), Value().
1584 - Add the following global functions that correspond to the same-named
1585 Environment methods: AlwaysBuild(), Command(), Depends(), Ignore(),
1586 Install(), InstallAs(), Precious(), SideEffect() and SourceCode().
1588 - Add the following global functions that correspond to the default
1589 Builder methods supported by SCons: CFile(), CXXFile(), DVI(), Jar(),
1590 Java(), JavaH(), Library(), M4(), MSVSProject(), Object(), PCH(),
1591 PDF(), PostScript(), Program(), RES(), RMIC(), SharedLibrary(),
1592 SharedObject(), StaticLibrary(), StaticObject(), Tar(), TypeLibrary()
1595 - Rearrange the man page to show construction environment methods and
1596 global functions in the same list, and to explain the difference.
1598 - Alphabetize the explanations of the builder methods in the man page.
1600 - Rename the Environment.Environment class to Enviroment.Base.
1601 Allow the wrapping interface to extend an Environment by using its own
1602 subclass of Environment.Base and setting a new Environment.Environment
1603 variable as the calling entry point.
1605 - Deprecate the ParseConfig() global function in favor of a same-named
1606 construction environment method.
1608 - Allow the Environment.WhereIs() method to take explicit path and
1609 pathext arguments (like the underlying SCons.Util.WhereIs() function).
1611 - Remove the long-obsolete {Get,Set}CommandHandler() functions.
1613 - Enhance env.Append() to suppress null values when appropriate.
1615 - Fix ParseConfig() so it works regardless of initial construction
1618 Extend CheckHeader(), CheckCHeader(), CheckCXXHeader() and
1619 CheckLibWithHeader() to accept a list of header files that will be
1620 #included in the test. The last one in the list is assumed to be
1621 the one being checked for. (Prototype code contributed by Gerard
1622 Patel and Niall Douglas).
1624 - Supply a warning when -j is used and threading isn't built in to
1625 the current version of Python.
1627 - First release of the User's Guide (finally, and despite a lot
1628 of things still missing from it...).
1632 - Generalize the action for .tex files so that it will decide whether
1633 a file is TeX or LaTeX, check the .aux output to decide if it should
1634 run bibtex, and check the .log output to re-run LaTeX if needed.
1636 From Bram Moolenaar:
1638 - Split the non-SCons-specific functionality from SConf.py to a new,
1639 re-usable Conftest.py module.
1641 From Gary Oberbrunner:
1643 - Allow a directory to be the target or source or dependency of a
1644 Depends(), Ignore(), Precious() or SideEffect() call.
1648 - Use the %{_mandir} macro when building our RPM package.
1650 From Marko Rauhamaa:
1652 - Have the closing message say "...terminated because of errors" if
1657 - On Win32 systems, only use "rm" to delete files if Cygwin is being
1658 used. ("rm" doesn't understand Win32-format path names.)
1660 From Christoph Wiedemann:
1662 - Fix test/SWIG.py to find the Python include directory in all cases.
1664 - Fix a bug in detection of Qt installed on the local system.
1666 - Support returning Python 2.3 BooleanType values from Configure checks.
1668 - Provide an error message if someone mistakenly tries to call a
1669 Configure check from within a Builder function.
1671 - Support calling a Builder when a Configure context is still open.
1673 - Handle interrupts better by eliminating all try:-except: blocks
1674 which caught any and all exceptions, including KeyboardInterrupt.
1676 - Add a --duplicate= option to control how files are duplicated.
1680 RELEASE 0.92 - Wed, 20 Aug 2003 03:45:28 -0500
1682 From Charles Crain and Gary Oberbrunner:
1684 - Fix Tool import problems with the Intel and PharLap linkers.
1688 - Refactor the DictCmdGenerator class to be a Selector subclass.
1690 - Allow the DefaultEnvironment() function to take arguments and pass
1691 them to instantiation of the default construction environment.
1693 - Update the Debian package so it uses Python 2.2 and more closely
1694 resembles the currently official Debian packaging info.
1698 - When the yacc -d flag is used, take the .h file base name from the
1699 target .c file, not the source (matching what yacc does).
1703 RELEASE 0.91 - Thu, 14 Aug 2003 13:00:44 -0500
1707 - Support specifying a list of tools when calling Environment.Copy().
1709 - Give a Value Nodes a timestamp of the system time when they're
1710 created, so they'll work when using timestamp-based signatures.
1712 - Add a DefaultEnvironment() function that only creates a default
1713 environment on-demand (for fetching source files, e.g.).
1715 - Portability fix for test/M4.py.
1719 - Tighten up the scons -H help output.
1721 - When the input yacc file ends in .yy and the -d flag is specified,
1722 recognize that a .hpp file (not a .h file) will be created.
1724 - Make builder prefixes work correctly when deducing a target
1725 from a source file name in another directory.
1727 - Documentation fixes: typo in the man page; explain up-front about
1728 not propagating the external environment.
1730 - Use "cvs co -d" instead of "cvs co -p >" when checking out something
1731 from CVS with a specified module name. This avoids zero-length
1732 files when there is a checkout error.
1734 - Add an "sconsign" script to print the contents of .sconsign files.
1736 - Speed up maintaining the various lists of Node children by using
1737 dictionaries to avoid "x in list" searches.
1739 - Cache the computed list of Node children minus those being Ignored
1740 so it's only calculated once.
1742 - Fix use of the --cache-show option when building a Program()
1743 (or using any other arbitrary action) by making sure all Action
1744 instances have strfunction() methods.
1746 - Allow the source of Command() to be a directory.
1748 - Better error handling of things like raw TypeErrors in SConscripts.
1750 - When installing using "setup.py install --prefix=", suppress the
1751 distutils warning message about adding the (incorrect) library
1752 directory to your search path.
1754 - Correct the spelling of the "validater" option to "validator."
1755 Add a DeprecatedWarning when the old spelling is used.
1757 - Allow a Builder's emitter to be a dictionary that maps source file
1758 suffixes to emitter functions, using the suffix of the first file
1759 in the source list to pick the right one.
1761 - Refactor the creation of the Program, *Object and *Library Builders
1762 so that they're moved out of SCons.Defaults and created on demand.
1764 - Don't split SConscript file names on white space.
1766 - Document the SConscript function's "dirs" and "name" keywords.
1768 - Remove the internal (and superfluous) SCons.Util.argmunge() function.
1770 - Add /TP to the default CXXFLAGS for msvc, so it can compile all
1771 of the suffixes we use as C++ files.
1773 - Allow the "prefix" and "suffix" attributes of a Builder to be
1774 callable objects that return generated strings, or dictionaries
1775 that map a source file suffix to the right prefix/suffix.
1777 - Support a MAXLINELINELENGTH construction variable on Win32 systems
1778 to control when a temporary file is used for long command lines.
1780 - Make how we build .rpm packages not depend on the installation
1781 locations from the distutils being used.
1783 - When deducing a target Node, create it directly from the first
1784 source Node, not by trying to create the right string to pass to
1787 - Add support for SWIG.
1789 From Bram Moolenaar:
1791 - Test portability fixes for FreeBSD.
1793 From Gary Oberbrunner:
1795 - Report the target being built in error messages when building
1796 multiple sources from different extensions, or when the target file
1797 extension can't be deduced, or when we don't have an action for a
1800 - Provide helpful error messages when the arguments to env.Install()
1803 - Fix the value returned by the Node.prevsiginfo() method to conform
1804 to a previous change when checking whether a node is current.
1806 - Supply a stack trace if the Taskmaster catches an exception.
1808 - When using a temporary file for a long link line on Win32 systems,
1809 (also) print the command line that is being executed through the
1812 - Initialize the LIB environment variable when using the Intel
1815 - Documentation fixes: better explain the AlwaysBuild() function.
1817 From Laurent Pelecq:
1819 - When the -debug=pdb option is specified, use pdb.Pdb().runcall() to
1820 call pdb directly, don't call Python recursively.
1824 - Add support for a platform-independent CPPDEFINES variable.
1826 From Christoph Wiedemann:
1828 - Have the g++ Tool actually use g++ in preference to c++.
1830 - Have the gcc Tool actually use gcc in preference to cc.
1832 - Add a gnutools.py test of the GNU tool chain.
1834 - Be smarter about linking: use $CC by default and $CXX only if we're
1835 linking with any C++ objects.
1837 - Avoid SCons hanging when a piped command has a lot of output to read.
1839 - Add QT support for preprocessing .ui files into .c files.
1843 RELEASE 0.90 - Wed, 25 Jun 2003 14:24:52 -0500
1847 - Fix the _concat() documentation, and add a test for it.
1849 - Portability fixes for non-GNU versions of lex and yacc.
1853 - Fix handling of library prefixes when the subdirectory matches
1856 From Timothee Bessett:
1858 - Add an M4 Builder.
1862 - Use '.lnk' as the suffix on the temporary file for linking long
1863 command lines (necessary for the Phar Lap linkloc linker).
1865 - Save non-string Options values as their actual type.
1867 - Save Options string values that contain a single quote correctly.
1869 - Save any Options values that are changed from the default
1870 Environment values, not just ones changed on the command line or in
1873 - Make closing the Options file descriptor exception-safe.
1877 - SCons now enforces (with an error) that construction variables
1878 must have the same form as valid Python identifiers.
1880 - Fix man page bugs: remove duplicate AddPostAction() description;
1881 document no_import_lib; mention that CPPFLAGS does not contain
1882 $_CPPINCFLAGS; mention that F77FLAGS does not contain $_F77INCFLAGS;
1883 mention that LINKFLAGS and SHLINKFLAGS contains neither $_LIBFLAGS
1886 - Eliminate a dependency on the distutils.fancy_getopt module by
1887 copying and pasting its wrap_text() function directly.
1889 - Make the Script.Options() subclass match the underlying base class
1892 - When reporting a target is up to date, quote the target like make
1893 (backquote-quote) instead of with double quotes.
1895 - Fix handling of ../* targets when using -U, -D or -u.
1899 - Don't update the .sconsign files when run with -n.
1901 From Gary Oberbrunner:
1903 - Add support for the Intel C Compiler (icl.exe).
1911 - Fix use of SConf in paths with white space in them.
1913 - Add CheckFunc and CheckType functionality to SConf.
1915 - Fix use of SConf with Builders that return a list of nodes.
1917 From David Snopek and Christoph Wiedemann
1919 - Fix use of the SConf subsystem with SConscriptChdir().
1923 - Check for the existence of MS Visual Studio on disk before using it,
1924 to avoid getting fooled by leftover junk in the registry.
1926 - Add support for MSVC++ .NET.
1928 - Add support for MS Visual Studio project files (DSP, DSW,
1929 SLN and VCPROJ files).
1931 From Christoph Wiedemann
1933 - SConf now works correctly when the -n and -q options are used.
1937 RELEASE 0.14 - Wed, 21 May 2003 05:16:32 -0500
1941 - Use .dll (not .so) for shared libraries on Cygwin; use -fPIC
1942 when compiling them.
1944 - Use 'rm' to remove files under Cygwin.
1946 - Add a PLATFORM variable to construction environments.
1948 - Remove the "platform" argument from tool specifications.
1950 - Propogate PYTHONPATH when running the regression tests so distutils
1951 can be found in non-standard locations.
1953 - Using MSVC long command-line linking when running Cygwin.
1955 - Portability fixes for a lot of tests.
1957 - Add a Value Node class for dependencies on in-core Python values.
1959 From Allen Bierbaum:
1961 - Pass an Environment to the Options validator method, and
1962 add an Options.Save() method.
1964 From Steve Christensen:
1966 - Add an optional sort function argument to the GenerateHelpText()
1969 - Evaluate the "varlist" variables when computing the signature of a
1974 - Parse the source .java files for class names (including inner class
1975 names) to figure out the target .class files that will be created.
1977 - Make Java support work with Repositories and SConscriptChdir(0).
1979 - Pass Nodes, not strings, to Builder emitter functions.
1981 - Refactor command-line interpolation and signature calculation
1982 so we can use real Node attributes.
1986 - Add Java support (javac, javah, jar and rmic).
1988 - Propagate the external SYSTEMROOT environment variable into ENV on
1989 Win32 systems, so external commands that use sockets will work.
1991 - Add a .posix attribute to PathList expansions.
1993 - Check out CVS source files using POSIX path names (forward slashes
1994 as separators) even on Win32.
1996 - Add Node.clear() and Node.FS.Entry.clear() methods to wipe out a
1997 Node's state, allowing it to be re-evaluated by continuous
1998 integration build interfaces.
2000 - Change the name of the Set{Build,Content}SignatureType() functions
2001 to {Target,Source}Signatures(). Deprecate the old names but support
2002 them for backwards compatibility.
2004 - Add internal SCons.Node.FS.{Dir,File}.Entry() methods.
2006 - Interpolate the null string if an out-of-range subscript is used
2007 for a construction variable.
2009 - Fix the internal Link function so that it properly links or copies
2010 files in subsidiary BuildDir directories.
2012 - Refactor the internal representation of a single execution instance
2013 of an action to eliminate redundant signature calculations.
2015 - Eliminate redundant signature calculations for Nodes.
2017 - Optimize out calling hasattr() before accessing attributes.
2019 - Say "Cleaning targets" (not "Building...") when the -c option is
2024 - Quote the "Entering directory" message like Make.
2026 From Stefan Reichor:
2028 - Add support for using Ghostscript to convert Postscript to PDF files.
2032 - Add a standalone "Alias" function (separate from an Environment).
2034 - Make Export() work for local variables.
2036 - Support passing a dictionary to Export().
2038 - Support Import('*') to import everything that's been Export()ed.
2040 - Fix an undefined exitvalmap on Win32 systems.
2042 - Support new SetOption() and GetOption() functions for setting
2043 various command-line options from with an SConscript file.
2045 - Deprecate the old SetJobs() and GetJobs() functions in favor of
2046 using the new generic {Set,Get}Option() functions.
2048 - Fix a number of tests that searched for a Fortran compiler using the
2049 external PATH instead of what SCons would use.
2051 - Fix the interaction of SideEffect() and BuildDir() so that (for
2052 example) PDB files get put correctly in a BuildDir().
2056 - Contribute the "Autoscons" code for Autoconf-like checking for
2057 the existence of libraries, header files and the like.
2059 - Have the Tool() function add the tool name to the $TOOLS
2060 construction variable.
2064 - Support the C preprocessor #import statement.
2066 - Allow the SharedLibrary() Builder on Win32 systems to be able to
2067 register a newly-built dll using regsvr32.
2069 - Add a Builder for Windows type library (.tlb) files from IDL files.
2071 - Add an IDL scanner.
2073 - Refactor the Fortran, C and IDL scanners to share common logic.
2075 - Add .srcpath and .srcdir attributes to $TARGET and $SOURCE.
2077 From Christoph Wiedemann:
2079 - Integrate David Snopek's "Autoscons" code as the new SConf
2080 configuration subsystem, including caching of values between
2081 runs (using normal SCons dependency mechanisms), tests, and
2086 RELEASE 0.13 - Mon, 31 Mar 2003 20:22:00 -0600
2090 - Fix a bug when BuildDir(duplicate=0) is used and SConscript
2091 files are called from within other SConscript files.
2093 - Support (older) versions of Perforce which don't set the Windows
2098 RELEASE 0.12 - Thu, 27 Mar 2003 23:52:09 -0600
2102 - Added support for the Perforce source code management system.
2104 - Fix str(Node.FS) so that it returns a path relative to the calling
2105 SConscript file's directory, not the top-level directory.
2107 - Added support for a separate src_dir argument to SConscript()
2108 that allows explicit specification of where the source files
2109 for an SConscript file can be found.
2111 - Support more easily re-usable flavors of command generators by
2112 calling callable variables when strings are expanded.
2116 - Added an INSTALL construction variable that can be set to a function
2117 to control how the Install() and InstallAs() Builders install files.
2118 The default INSTALL function now copies, not links, files.
2120 - Remove deprecated features: the "name" argument to Builder objects,
2121 and the Environment.Update() method.
2123 - Add an Environment.SourceCode() method to support fetching files
2124 from source code systems. Add factory methods that create Builders
2125 to support BitKeeper, CVS, RCS, and SCCS. Add support for fetching
2126 files from RCS or SCCS transparently (like GNU Make).
2128 - Make the internal to_String() function more efficient.
2130 - Make the error message the same as other build errors when there's a
2131 problem unlinking a target file in preparation for it being built.
2133 - Make TARGET, TARGETS, SOURCE and SOURCES reserved variable names and
2134 warn if the user tries to set them in a construction environment.
2136 - Add support for Tar and Zip files.
2138 - Better documentation of the different ways to export variables to a
2139 subsidiary SConscript file. Fix documentation bugs in a tools
2140 example, places that still assumed SCons split strings on white
2143 - Support fetching arbitrary files from the TARGETS or SOURCES lists
2144 (e.g. ${SOURCES[2]}) when calculating the build signature of a
2147 - Don't silently swallow exceptions thrown by Scanners (or other
2148 exceptions while finding a node's dependent children).
2150 - Push files to CacheDir() before calling the superclass built()
2151 method (which may clear the build signature as part of clearing
2152 cached implicit dependencies, if the file has a source scanner).
2153 (Bug reported by Jeff Petkau.)
2155 - Raise an internal error if we attempt to push a file to CacheDir()
2156 with a build signature of None.
2158 - Add an explicit Exit() function for terminating early.
2160 - Change the documentation to correctly describe that the -f option
2161 doesn't change to the directory in which the specified file lives.
2163 - Support changing directories locally with SConscript directory
2164 path names relative to any SConstruct file specified with -f.
2165 This allows you to build in another directory by simply changing
2166 there and pointing at the SConstruct file in another directory.
2168 - Change the default SConscriptChdir() behavior to change to the
2169 SConscript directory while it's being read.
2171 - Fix an exception thrown when the -U option was used with no
2172 Default() target specified.
2174 - Fix -u so that it builds things in corresponding build directories
2175 when used in a source directory.
2179 - Add SharedObject() support to the masm tool.
2181 - Fix WhereIs() to return normalized paths.
2185 - Don't copy a built file to a CacheDir() if it's already there.
2187 - Avoid partial copies of built files in a CacheDir() by copying
2188 to a temporary file and renaming.
2192 - Fix incorrect dependency-cycle errors when an Aliased source doesn't
2197 RELEASE 0.11 - Tue, 11 Feb 2003 05:24:33 -0600
2201 - Add support for IRIX and the SGI MIPSPro tool chain.
2203 - Support using the MSVC tool chain when running Cygwin Python.
2207 - Avoid losing signal bits in the exit status from a command,
2208 helping terminate builds on interrupt (CTRL+C).
2212 - Added new AddPreAction() and AddPostAction() functions that support
2213 taking additional actions before or after building specific targets.
2215 - Add support for the PharLap ETS tool chain.
2219 - Allow Python function Actions to specify a list of construction
2220 variables that should be included in the Action's signature.
2222 - Allow libraries in the LIBS variable to explicitly include the prefix
2223 and suffix, even when using the GNU linker.
2224 (Bug reported by Neal Becker.)
2226 - Use DOS-standard CR-LF line endings in the scons.bat file.
2227 (Bug reported by Gary Ruben.)
2229 - Doc changes: Eliminate description of deprecated "name" keyword
2230 argument from Builder definition (reported by Gary Ruben).
2232 - Support using env.Append() on BUILDERS (and other dictionaries).
2233 (Bug reported by Bj=F6rn Bylander.)
2235 - Setting the BUILDERS construction variable now properly clears
2236 the previous Builder attributes from the construction Environment.
2237 (Bug reported by Bj=F6rn Bylander.)
2239 - Fix adding a prefix to a file when the target isn't specified.
2240 (Bug reported by Esa Ilari Vuokko.)
2242 - Clean up error messages from problems duplicating into read-only
2243 BuildDir directories or into read-only files.
2245 - Add a CommandAction.strfunction() method, and add an "env" argument
2246 to the FunctionAction.strfunction() method, so that all Action
2247 objects have strfunction() methods, and the functions for building
2248 and returning a string both take the same arguments.
2250 - Add support for new CacheDir() functionality to share derived files
2251 between builds, with related options --cache-disable, --cache-force,
2254 - Change the default behavior when no targets are specified to build
2255 everything in the current directory and below (like Make). This
2256 can be disabled by specifying Default(None) in an SConscript.
2258 - Revamp SCons installation to fix a case-sensitive installation
2259 on Win32 systems, and to add SCons-specific --standard-lib,
2260 --standalone-lib, and --version-lib options for easier user
2261 control of where the libraries get installed.
2263 - Fix the ability to directly import and use Platform and Tool modules
2264 that have been implicitly imported into an Environment().
2266 - Add support for allowing an embedding interface to annotate a node
2269 - Extend the SConscript() function to accept build_dir and duplicate
2270 keyword arguments that function like a BuildDir() call.
2274 - Fix the output of -c -n when directories are involved, so it
2279 - Use a different shared object suffix (.os) when using gcc so shared
2280 and static objects can exist side-by-side in the same directory.
2282 - Allow the same object files on Win32 to be linked into either
2283 shared or static libraries.
2285 - Cache implicit cache values when using --implicit-cache.
2289 RELEASE 0.10 - Thu, 16 Jan 2003 04:11:46 -0600
2291 From Derrick 'dman' Hudson:
2293 - Support Repositories on other file systems by symlinking or
2294 copying files when hard linking won't work.
2298 - Remove Python bytecode (*.pyc) files from the scons-local packages.
2300 - Have FunctionActions print a description of what they're doing
2301 (a representation of the Python call).
2303 - Fix the Install() method so that, like other actions, it prints
2304 what would have happened when the -n option is used.
2306 - Don't create duplicate source files in a BuildDir when the -n
2309 - Refactor the Scanner interface to eliminate unnecessary Scanner
2310 calls and make it easier to write efficient scanners.
2312 - Added a "recursive" flag to Scanner creation that specifies the
2313 Scanner should be invoked recursively on dependency files returned
2316 - Significant performance improvement from using a more efficient
2317 check, throughout the code, for whether a Node has a Builder.
2319 - Fix specifying only the source file to MultiStepBuilders such as
2320 the Program Builder. (Bug reported by Dean Bair.)
2322 - Fix an exception when building from a file with the same basename as
2323 the subdirectory in which it lives. (Bug reported by Gerard Patel.)
2325 - Fix automatic deduction of a target file name when there are
2326 multiple source files specified; the target is now deduced from just
2327 the first source file in the list.
2329 - Documentation fixes: better initial explanation of SConscript files;
2330 fix a misformatted "table" in the StaticObject explanation.
2332 From Steven Knight and Steve Leblanc:
2334 - Fix the -c option so it will remove symlinks.
2338 - Add a Clean() method to support removing user-specified targets
2339 when using the -c option.
2341 - Add a development script for running SCons through PyChecker.
2343 - Clean up things found by PyChecker (mostly unnecessary imports).
2345 - Add a script to use HappyDoc to create HTML class documentation.
2349 - Make the Environment.get() method return None by default.
2353 - Add SetJobs() and GetJobs() methods to allow configuration of the
2354 number of default jobs (still overridden by -j).
2356 - Convert the .sconsign file format from ASCII to a pickled Python
2359 - Error message cleanups: Made consistent the format of error
2360 messages (now all start with "scons: ***") and warning messages (now
2361 all start with "scons: warning:"). Caught more cases with the "Do
2362 not know how to build" error message.
2364 - Added support for the MinGW tool chain.
2366 - Added a --debug=includes option.
2370 RELEASE 0.09 - Thu, 5 Dec 2002 04:48:25 -0600
2374 - Add a Prepend() method to Environments, to append values to
2375 the beginning of construction variables.
2379 - Add long command-line support to the "lib" Tool (Microsoft library
2384 - Allow $$ in a string to be passed through as $.
2386 - Support file names with odd characters in them.
2388 - Add support for construction variable substition on scanner
2389 directories (in CPPPATH, F77PATH, LIBPATH, etc.).
2391 From Charles Crain and Steven Knight:
2393 - Add Repository() functionality, including the -Y option.
2397 - Fix auto-deduction of target names so that deduced targets end
2398 up in the same subdirectory as the source.
2400 - Don't remove source files specified on the command line!
2402 - Suport the Intel Fortran Compiler (ifl.exe).
2404 - Supply an error message if there are no command-line or
2405 Default() targets specified.
2407 - Fix the ASPPCOM values for the GNU assembler.
2408 (Bug reported by Brett Polivka.)
2410 - Fix an exception thrown when a Default() directory was specified
2411 when using the -U option.
2413 - Issue a warning when -c can't remove a target.
2415 - Eliminate unnecessary Scanner calls by checking for the
2416 existence of a file before scanning it. (This adds a generic
2417 hook to check an arbitrary condition before scanning.)
2419 - Add explicit messages to tell when we're "Reading SConscript files
2420 ...," "done reading SConscript files," "Building targets," and
2421 "done building targets." Add a -Q option to supress these.
2423 - Add separate $SHOBJPREFIX and $SHOBJSUFFIX construction variables
2424 (by default, the same as $OBJPREFIX and $OBJSUFFIX).
2426 - Add Make-like error messages when asked to build a source file,
2427 and before trying to build a file that doesn't have all its source
2428 files (including when an invalid drive letter is used on WIN32).
2430 - Add an scons-local-{version} package (in both .tar.gz and .zip
2431 flavors) to help people who want to ship SCons as a stand-alone
2432 build tool in their software packages.
2434 - Prevent SCons from unlinking files in certain situations when
2435 the -n option is used.
2437 - Change the name of Tool/lib.py to Tool/mslib.py.
2439 From Steven Knight and Anthony Roach:
2441 - Man page: document the fact that Builder calls return Node objects.
2445 - Refactor option processing to use our own version of Greg Ward's
2446 Optik module, modified to run under Python 1.5.2.
2448 - Add a ParseConfig() command to modify an environment based on
2449 parsing output from a *-config command.
2453 - Fix interpretation of '#/../foo' on Win32 systems.
2457 - Fixed use of command lines with spaces in their arguments,
2458 and use of Nodes with spaces in their string representation.
2460 - Make access and modification times of files in a BuildDir match
2461 the source file, even when hard linking isn't available.
2463 - Make -U be case insensitive on Win32 systems.
2465 - Issue a warning and continue when finding a corrupt .sconsign file.
2467 - Fix using an alias as a dependency of a target so that if one of the
2468 alias' dependencies gets rebuilt, the resulting target will, too.
2470 - Fix differently ordered targets causing unnecessary rebuilds
2471 on case insensitive systems.
2473 - Use os.system() to execute external commands whenever the "env"
2474 utility is available, which is much faster than fork()/exec(),
2475 and fixes the -j option on several platforms.
2477 - Fix use of -j with multiple targets.
2479 - Add an Options() object for friendlier accomodation of command-
2482 - Add support for Microsoft VC++ precompiled header (.pch) files,
2483 debugger (.pdb) files, and resource (.rc) files.
2485 - Don't compute the $_CPPINCFLAGS, $_F77INCFLAGS, $_LIBFLAGS and
2486 $_LIBDIRFLAGS variables each time a command is executed, define
2487 them so they're computed only as needed. Add a new _concat
2488 function to the Environment that allows people to define their
2489 own similar variables.
2491 - Fix dependency scans when $LIBS is overridden.
2493 - Add EnsurePythonVersion() and EnsureSConsVersion() functions.
2495 - Fix the overly-verbose stack trace on ListBuilder build errors.
2497 - Add a SetContentSignatureType() function, allowing use of file
2498 timestamps instead of MD5 signatures.
2500 - Make -U and Default('source') fail gracefully.
2502 - Allow the File() and Dir() methods to take a path-name string as
2503 the starting directory, in addition to a Dir object.
2505 - Allow the command handler to be selected via the SPAWN, SHELL
2506 and ESCAPE construction variables.
2508 - Allow construction variables to be overridden when a Builder
2513 - Dynamically check for the existence of utilities with which to
2514 initialize Environments by default.
2518 RELEASE 0.08 - Mon, 15 Jul 2002 12:08:51 -0500
2522 - Fixed a bug with relative CPPPATH dirs when using BuildDir().
2523 (Bug reported by Bob Summerwill.)
2525 - Added a warnings framework and a --warn option to enable or
2528 - Make the C scanner warn users if files referenced by #include
2529 directives cannot be found and --warn=dependency is specified.
2531 - The BUILDERS construction variable should now be a dictionary
2532 that maps builder names to actions. Existing uses of lists,
2533 and the Builder name= keyword argument, generate warnings
2534 about use of deprecated features.
2536 - Removed the "shared" keyword argument from the Object and
2539 - Added separated StaticObject, SharedObject, StaticLibrary and
2540 SharedLibrary builders. Made Object and Library synonyms for
2541 StaticObject and StaticLibrary, respectively.
2543 - Add LIBS and LIBPATH dependencies for shared libraries.
2545 - Removed support for the prefix, suffix and src_suffix arguments
2546 to Builder() to be callable functions.
2548 - Fix handling file names with multiple dots.
2550 - Allow a build directory to be outside of the SConstruct tree.
2552 - Add a FindFile() function that searches for a file node with a
2555 - Add $CPPFLAGS to the shared-object command lines for g++ and gcc.
2557 From Charles Crain and Steven Knight:
2559 - Add a "tools=" keyword argument to Environment instantiation,
2560 and a separate Tools() method, for more flexible specification
2561 of tool-specific environment changes.
2565 - Add a "platform=" keyword argument to Environment instantiation,
2566 and a separate Platform() method, for more flexible specification
2567 of platform-specific environment changes.
2569 - Updated README instructions and setup.py code to catch an
2570 installation failure from not having distutils installed.
2572 - Add descriptions to the -H help text for -D, -u and -U so
2573 people can tell them apart.
2575 - Remove the old feature of automatically splitting strings
2576 of file names on white space.
2578 - Add a dependency Scanner for native Fortran "include" statements,
2579 using a new "F77PATH" construction variable.
2581 - Fix C #include scanning to detect file names with characters like
2584 - Add more specific version / build output to the -v option.
2586 - Add support for the GNU as, Microsoft masm, and nasm assemblers.
2588 - Allow the "target" argument to a Builder call to be omitted, in
2589 which case the target(s) are deduced from the source file(s) and the
2590 Builder's specified suffix.
2592 - Add a tar archive builder.
2594 - Add preliminary support for the OS/2 Platform, including the icc
2599 - Fix --implicit-cache if the scanner returns an empty list.
2603 - Add a "multi" keyword argument to Builder creation that specifies
2604 it's okay to call the builder multiple times for a target.
2606 - Set a "multi" on Aliases so multiple calls will append to an Alias.
2608 - Fix emitter functions' use of path names when using BuildDir or
2611 - Fix --implicit-cache causing redundant rebuilds when the header
2614 - Fix --implicit-cache when a file has no implicit dependencies and
2615 its source is generated.
2617 - Make the drive letters on Windows always be the same case, so that
2618 changes in the case of drive letters don't cause a rebuild.
2620 - Fall back to importing the SCons.TimeStamp module if the SCons.MD5
2621 module can't be imported.
2623 - Fix interrupt handling to guarantee that a single interrupt will
2624 halt SCons both when using -j and not.
2626 - Fix .sconsign signature storage so that output files of one build
2627 can be safely used as input files to another build.
2629 - Added a --debug=time option to print SCons execution times.
2631 - Print an error message if a file can't be unlinked before being
2632 built, rather than just silently terminating the build.
2634 - Add a SideEffect() method that can be used to tell the build
2635 engine that a given file is created as a side effect of building
2636 a target. A file can be specified as a side effect of more than
2637 one build comand, in which case the commands will not be executed
2640 - Significant performance gains from not using our own version of
2641 the inefficient stock os.path.splitext() method, caching source
2642 suffix computation, code cleanup in MultiStepBuilder.__call__(),
2643 and replicating some logic in scons_subst().
2645 - Add --implicit-deps-changed and --implicit-deps-unchanged options.
2647 - Add a GetLaunchDir() function.
2649 - Add a SetBuildSignatureType() function.
2653 - Add an Append() method to Environments, to append values to
2654 construction variables.
2656 - Change the name of Update() to Replace(). Keep Update() as a
2657 deprecated synonym, at least for now.
2659 From Terrel Shumway:
2661 - Use a $PYTHON construction variable, initialized to sys.executable,
2662 when using Python to build parts of the SCons packages.
2664 - Use sys.prefix, not sys.exec_prefix, to find pdb.py.
2668 RELEASE 0.07 - Thu, 2 May 2002 13:37:16 -0500
2672 - Changes to build SCons packages on IRIX (and other *NIces).
2674 - Don't create a directory Node when a file already exists there,
2677 - Add 'dirs' and 'names' keyword arguments to SConscript for
2678 easier specification of subsidiary SConscript files.
2682 - Internal cleanup of environment passing to function Actions.
2684 - Builders can now take arbitrary keyword arguments to create
2685 attributes to be passed to: command generator functions,
2686 FunctionAction functions, Builder emitter functions (below),
2687 and prefix/suffix generator functions (below).
2689 - Command generator functions can now return ANYTHING that can be
2690 converted into an Action (a function, a string, a CommandGenerator
2691 instance, even an ActionBase instance).
2693 - Actions now call get_contents() with the actual target and source
2694 nodes used for the build.
2696 - A new DictCmdGenerator class replaces CompositeBuilder to support
2697 more flexible Builder behavior internally.
2699 - Builders can now take an emitter= keyword argument. An emitter
2700 is a function that takes target, source, and env argument, then
2701 return a 2-tuple of (new sources, new targets). The emitter is
2702 called when the Builder is __call__'ed, allowing a user to modify
2703 source and target lists.
2705 - The prefix, suffix and src_suffix Builder arguments now take a
2706 callable as well a string. The callable is passed the Environment
2707 and any extra Builder keyword arguments and is expected to return
2708 the appropriate prefix or suffix.
2710 - CommandActions can now be a string, a list of command + argument
2711 strings, or a list of commands (strings or lists).
2713 - Added shared library support. The Object and Library Builders now
2714 take a "shared=1" keyword argument to specify that a shared object
2715 or shared library should be built. It is an error to try to build
2716 static objects into a shared library or vice versa.
2718 - Win32 support for .def files has been added. Added the Win32-specific
2719 construction variables $WIN32DEFPREFIX, $WIN32DEFSUFFIX,
2720 $WIN32DLLPREFIX and $WIN32IMPLIBPREFIX. When building a .dll,
2721 the new construction variable $WIN32_INSERT_DEF, controls whether
2722 the appropriately-named .def file is inserted into the target
2723 list (if not already present). A .lib file is always added to
2724 a Library build if not present in the list of targets.
2726 - ListBuilder now passes all targets to the action, not just the first.
2728 - Fix so that -c now deletes generated yacc .h files.
2730 - Builder actions and emitter functions can now be initialized, through
2731 construction variables, to things other than strings.
2733 - Make top-relative '#/dir' lookups work like '#dir'.
2735 - Fix for relative CPPPATH directories in subsidiary SConscript files
2738 - Add a for_signature argument to command generators, so that
2739 generators that need to can return distinct values for the
2740 command signature and for executing the command.
2744 - Create a better scons.bat file from a py2bat.py script on the Python
2745 mailing list two years ago (modeled after pl2bat.pl).
2749 - Fix so that -c -n does *not* remove the targets!
2751 - Man page: Add a hierarchical libraries + Program example.
2753 - Support long MSVC linker command lines through a builder action
2754 that writes to a temporary file and uses the magic MSVC "link @file"
2755 argument syntax if the line is longer than 2K characters.
2757 - Fix F77 command-line options on Win32 (use /Fo instead of -o).
2759 - Use the same action to build from .c (lower case) and .C (upper
2760 case) files on case-insensitive systems like Win32.
2762 - Support building a PDF file directly from a TeX or LaTeX file
2763 using pdftex or pdflatex.
2765 - Add a -x option to runtest.py to specify the script being tested.
2766 A -X option indicates it's an executable, not a script to feed
2767 to the Python interpreter.
2769 - Add a Split() function (identical to SCons.Util.argmunge()) for use
2770 in the next release, when Builders will no longer automatically split
2771 strings on white space.
2775 - Add the SConscriptChdir() method.
2779 - Fix --debug=tree when used with directory targets.
2781 - Significant internal restructuring of Scanners and Taskmaster.
2783 - Added new --debug=dtree option.
2785 - Fixes for --profile option.
2787 - Performance improvement in construction variable substitution.
2789 - Implemented caching of content signatures, plus added --max-drift
2790 option to control caching.
2792 - Implemented caching of dependency signatures, enabled by new
2793 --implicit-cache option.
2795 - Added abspath construction variable modifier.
2797 - Added $SOURCE variable as a synonym for $SOURCES[0].
2799 - Write out .sconsign files on error or interrupt so intermediate
2800 build results are saved.
2802 - Change the -U option to -D. Make a new -U that builds just the
2803 targets from the local SConscript file.
2805 - Fixed use of sys.path so Python modules can be imported from
2806 the SConscript directory.
2808 - Fix for using Aliases with the -u, -U and -D options.
2810 - Fix so that Nodes can be passed to SConscript files.
2814 - Changes for official Debian packaging.
2818 RELEASE 0.06 - Thu, 28 Mar 2002 01:24:29 -0600
2822 - Fix command generators to expand construction variables.
2824 - Make FunctionAction arguments be Nodes, not strings.
2826 From Stephen Kennedy:
2828 - Performance: Use a dictionary, not a list, for a Node's parents.
2832 - Add .zip files to the packages we build.
2834 - Man page: document LIBS, fix a typo, document ARGUMENTS.
2836 - Added RANLIB and RANLIBFLAGS construction variables. Only use them
2837 in ARCOM if there's a "ranlib" program on the system.
2839 - Add a configurable CFILESUFFIX for the Builder of .l and .y files
2842 - Add a CXXFile Builder that turns .ll and .yy files into .cc files
2843 (configurable via a CXXFILESUFFIX construction variable).
2845 - Use the POSIX-standard lex -t flag, not the GNU-specific -o flag.
2846 (Bug reported by Russell Christensen.)
2848 - Fixed an exception when CPPPATH or LIBPATH is a null string.
2849 (Bug reported by Richard Kiss.)
2851 - Add a --profile=FILE option to make profiling SCons easier.
2853 - Modify the new DVI builder to create .dvi files from LaTeX (.ltx
2856 - Add support for Aliases (phony targets).
2858 - Add a WhereIs() method for searching for path names to executables.
2860 - Add PDF and PostScript document builders.
2862 - Add support for compiling Fortran programs from a variety of
2863 suffixes (a la GNU Make): .f, .F, .for, .FOR, .fpp and .FPP
2865 - Support a CPPFLAGS variable on all default commands that use the
2870 - Add support for the -U option.
2872 - Allow CPPPATH, LIBPATH and LIBS to be specified as white-space
2875 - Add a document builder to create .dvi files from TeX (.tex) files.
2879 - Fix: Construction variables with values of 0 were incorrectly
2882 - Support env['VAR'] to fetch construction variable values.
2884 - Man page: document Precious().
2888 RELEASE 0.05 - Thu, 21 Feb 2002 16:50:03 -0600
2892 - Set PROGSUFFIX to .exe under Cygwin.
2896 - Allow a library to specified as a command-line source file, not just
2897 in the LIBS construction variable.
2899 - Compensate for a bug in os.path.normpath() that returns '' for './'
2902 - More performance optimizations: cache #include lines from files,
2903 eliminate unnecessary calls.
2905 - If a prefix or suffix contains white space, treat the resulting
2906 concatenation as separate arguments.
2908 - Fix irregularities in the way we fetch DevStudio information from
2909 the Windows registry, and in our registry error handling.
2913 - Flush stdout after print so it intermixes correctly with stderr
2916 - Allow Scanners to return a list of strings, and document how to
2917 write your own Scanners.
2919 - Look up implicit (scanned) dependencies relative to the directory
2920 of file being scanned.
2922 - Make writing .sconsign files more robust by first trying to write
2923 to a temp file that gets renamed.
2925 - Create all of the directories for a list of targets before trying
2926 to build any of the targets.
2928 - WIN32 portability fixes in tests.
2930 - Allow the list of variables exported to an SConscript file to be
2933 - Document the overlooked LIBPATH construction variable.
2934 (Bug reported by Eicke Godehardt.)
2936 - Fix so that Ignore() ignores indirect, implicit dependencies
2937 (included files), not just direct dependencies.
2939 - Put the man page in the Debian distribution.
2941 - Run HTML docs through tidy to clean up the HTML (for Konqueror).
2943 - Add preliminary support for Unicode strings.
2945 - Efficiency: don't scan dependencies more than once during the
2948 - Fix the -c option so it doesn't stop removing targets if one doesn't
2950 (Bug reported by Paul Connell.)
2952 - Fix the --debug=pdb option when run on Windows NT.
2953 (Bug reported by Paul Connell.)
2955 - Add support for the -q option.
2959 - Add support for the -u option.
2961 - Add .cc and .hh file suffixes to the C Scanner.
2965 - Make the scons script return an error code on failures.
2967 - Add support for using code to generate a command to build a target.
2971 RELEASE 0.04 - Wed, 30 Jan 2002 11:09:42 -0600
2975 - Significant performance improvements in the Node.FS and
2978 - Fix signatures of binary files on Win32 systems.
2980 - Allow LIBS and LIBPATH to be strings, not just arrays.
2982 - Print a traceback if a Python-function builder throws an exception.
2986 - Fix using a directory as a Default(), and allow Default() to
2987 support white space in file names for strings in arrays.
2989 - Man page updates: corrected some mistakes, documented various
2990 missing Environment methods, alphabetized the construction
2991 variables and other functions, defined begin and end macros for
2992 the example sections, regularized white space separation, fixed
2993 the use of Export() in the Multiple Variants example.
2995 - Function action fixes: None is now a successful return value.
2996 Exceptions are now reported. Document function actions.
2998 - Add 'Action' and 'Scanner' to the global keywords so SConscript
2999 files can use them too.
3001 - Removed the Wrapper class between Nodes and Walkers.
3003 - Add examples using Library, LIBS, and LIBPATH.
3005 - The C Scanner now always returns a sorted list of dependencies
3006 so order changes don't cause unnecessary rebuilds.
3008 - Strip $(-$) bracketed text from command lines. Use this to
3009 surround $_INCDIRS and $_LIBDIRS so we don't rebuild in response
3010 to changes to -I or -L options.
3012 - Add the Ignore() method to ignore dependencies.
3014 - Provide an error message when a nonexistent target is specified
3015 on the command line.
3017 - Remove targets before building them, and add an Environment
3018 Precious() method to override that.
3020 - Eliminate redundant calls to the same builder when the target is a
3021 list of targets: Add a ListBuilder class that wraps Builders to
3022 handle lists atomically. Extend the Task class to support building
3023 and updating multiple targets in a single Task. Simplify the
3024 interface between Task and Taskmaster.
3026 - Add a --debug=pdb option to re-run SCons under the Python debugger.
3028 - Only compute a build signature once for each node.
3030 - Changes to our sys.path[] manipulation to support installation into
3031 an arbitrary --prefix value.
3035 - Add var=value command-line arguments.
3039 RELEASE 0.03 - Fri, 11 Jan 2002 01:09:30 -0600
3043 - Performance improvements in the Node.FS and Sig.Calculator classes.
3045 - Add the InstallAs() method.
3047 - Execute commands through an external interpreter (sh, cmd.exe, or
3048 command.com) to handle redirection metacharacters.
3050 - Allow the user to supply a command handler.
3054 - Search both /usr/lib and /usr/local/lib for scons directories by
3055 adding them both to sys.path, with whichever is in sys.prefix first.
3057 - Fix interpreting strings of multiple white-space separated file names
3058 as separate file names, allowing prefixes and suffixes to be appended
3059 to each individually.
3061 - Refactor to move CompositeBuilder initialization logic from the
3062 factory wrapper to the __init__() method, and allow a Builder to
3063 have both an action and a src_builder (or array of them).
3065 - Refactor BuilderBase.__call__() to separate Node creation/lookup
3066 from initialization of the Node's builder information.
3068 - Add a CFile Builder object that supports turning lex (.l) and
3069 yacc (.y) files into .c files.
3071 - Document: variable interpretation attributes; how to propogate
3072 the user's environment variables to executed commands; how to
3073 build variants in multiple BuildDirs.
3075 - Collect String, Dict, and List type-checking in common utility
3076 routines so we can accept User{String,Dict,List}s all over.
3078 - Put the Action factory and classes into their own module.
3080 - Use one CPlusPlusAction in the Object Builder's action dictionary,
3081 instead of letting it create multiple identical instances.
3083 - Document the Install() and InstallAs() methods.
3087 - Require that a Builder be given a name argument, supplying a
3088 useful error message when it isn't.
3092 - Add a "duplicate" keyword argument to BuildDir() that can be set
3093 to prevent linking/copying source files into build directories.
3095 - Add a "--debug=tree" option to print an ASCII dependency tree.
3097 - Fetch the location of the Microsoft Visual C++ compiler(s) from
3098 the Registry, instead of hard-coding the location.
3100 - Made Scanner objects take Nodes, not path names.
3102 - Have the C Scanner cache the #include file names instead of
3103 (re-)scanning the file each time it's called.
3105 - Created a separate class for parent "nodes" of file system roots,
3106 eliminating the need for separate is-parent-null checks everywhere.
3108 - Removed defined __hash__() and __cmp() methods from FS.Entry, in
3109 favor of Python's more efficient built-in identity comparisons.
3113 RELEASE 0.02 - Sun, 23 Dec 2001 19:05:09 -0600
3117 - Added the Install(), BuildDir(), and Export() methods.
3119 - Fix the -C option by delaying setting the top of the FS tree.
3121 - Avoid putting the directory path on the libraries in the LIBS
3122 construction variable.
3124 - Added a GetBuildPath() method to return the full path to the
3125 Node for a specified string.
3127 - Fixed variable substitution in CPPPATH and LIBPATH.
3131 - Fixed the version comment in the scons.bat (the UNIX geek used
3134 - Fix to setup.py so it doesn't require a sys.argv[1] argument.
3136 - Provide make-like warning message for "command not found" and
3139 - Added an EXAMPLES section to the man page.
3141 - Make Default() targets properly relative to their SConscript
3142 file's subdirectory.
3146 - Documented CXXFLAGS, CXXCOM, and CPPPATH.
3148 - Fixed SCONS_LIB_DIR to work as documented.
3150 - Made Default() accept Nodes as arguments.
3152 - Changed Export() to make it easier to use.
3154 - Added the Import() and Return() methods.
3158 RELEASE 0.01 - Thu Dec 13 19:25:23 CST 2001
3160 A brief overview of important functionality available in release 0.01:
3162 - C and C++ compilation on POSIX and Windows NT.
3164 - Automatic scanning of C/C++ source files for #include dependencies.
3166 - Support for building libraries; setting construction variables
3167 allows creation of shared libraries.
3169 - Library and C preprocessor search paths.
3171 - File changes detected using MD5 signatures.
3173 - User-definable Builder objects for building files.
3175 - User-definable Scanner objects for scanning for dependencies.
3177 - Parallel build (-j) support.
3179 - Dependency cycles detected.
3181 - Linux packages available in RPM and Debian format.
3183 - Windows installer available.