2 # __FILE__ __REVISION__ __DATE__ __DEVELOPER__
5 SCons - a software construction tool
15 - Fix Java parsing to avoid erroneously identifying a new array
16 of class instances as an anonymous inner class.
18 - Fix a typo in the man page description of PathIsDirCreate.
22 - Allow Help() to be called multiple times, appending to the help
25 - Allow Tools found on a toolpath to import Python modules from
26 their local directory.
28 - Have the environment store the toolpath and re-use it to find Tools
29 modules during later Copy() or Tool() calls (unless overridden).
31 - Normalize the directory path names in SConsignFile() database
32 files so the same signature file can interoperate on Windows and
35 - Make --debug=stacktrace print a stacktrace when a UserError is thrown.
37 - Remove an old, erroneous cut-and-paste comment in Scanner/Dir.py.
39 From Stanislav Baranov:
41 - Make it possible to support with custom Alias (sub-)classes.
43 - Allow Builders to take empty source lists when called.
45 - Allow access to both TARGET and SOURCE in $*PATH expansions.
47 - Allow SConscript files to modify BUILD_TARGETS.
51 - Add support for Objective C/C++ .m and .mm file suffixes (for
54 From Steve Christensen:
56 - Handle exceptions from Python functions as build actions.
58 - Add a set of canned PathOption validators: PathExists (the default),
59 PathIsFile, PathIsDir and PathIsDirCreate.
63 - Fix the PharLap linkloc.py module to use target+source arguments
64 when calling env.subst().
68 - Add support for .lex and .yacc file suffixes for Lex and Yacc files.
72 - Fix an incorrect Command() keyword argument in the man page.
74 - Add a $TEMPFILEPREFIX variable to control the prefix or flag used
75 to pass a long-command-line-execution tempfile to a command.
79 - Huge performance improvement: wrap the tuples representing an
80 include path in an object, so that the time it takes to hash the
81 path doesn't grow porportionally to the length of the path.
83 From Gottfried Ganssauge:
85 - Fix SCons on SuSE/AMD-64 Linux by having the wrapper script also
86 check for the build engine in the parent directory of the Python
87 library directory (/usr/lib64 instead of /usr/lib).
89 From Ralph W. Grosse-Kunstleve and Patrick Mezard:
91 - Remove unneceesary (and incorrect) SCons.Util strings on some function
96 - Speed up writing the .sconsign file at the end of a run by only
97 calling sync() once at the end, not after every entry.
101 - When compiling with Microsoft Visual Studio, don't include the ATL and
102 MFC directories in the default INCLUDE and LIB environment variables.
104 - Remove the following deprecated features: the ParseConfig()
105 global function (deprecated in 0.93); the misspelled "validater"
106 keyword to the Options.Add() method (deprecated in 0.91); the
107 SetBuildSignatureType(), SetContentSignatureType(), SetJobs() and
108 GetJobs() global functions (deprecated in 0.14).
110 - Fix problems with corrupting the .sconsign.dblite file when
111 interrupting builds by writing to a temporary file and renaming,
112 not writing the file directly.
114 - Fix a 0.96 regression where when running with -k, targets built from
115 walking dependencies later on the command line would not realize
116 that a dependency had failed an earlier build attempt, and would
117 try to rebuild the dependent targets.
119 - Change the final messages when using -k and errors occur from
120 "{building,cleaning} terminated because of errors" to "done
121 {building,cleaning} targets (errors occurred during {build,clean})."
123 - Allow Configure.CheckFunc() to take an optional header argument
124 (already supported by Conftest.py) to specify text at the top of
125 the compiled test file.
127 - Fix the --debug=explain output when a Python function action changed
128 so it prints a meaningful string, not the binary representation of
129 the function contents.
131 - Allow a ListOption's default value(s) to be a Python list of specified
132 values, not just a string containing a comma-separated list of names.
134 - Add a ParseDepends() function that will parse up a list of explicit
135 dependencies from a "make depend" style file.
137 - Support the ability to change directory when executing an Action
138 through "chdir" keyword arguments to Action and Builder creation
141 - Fix handling of Action ojects (and other callables that don't match
142 our calling arguments) in construction variable expansions.
144 - On Win32, install scons.bat in the Python directory when installing
145 from setup.py. (The bdist_wininst installer was already doing this.)
147 - Fix env.SConscript() when called with a list of SConscipt files.
148 (The SConscript() global function already worked properly.)
150 - Add a missing newline to the end of the --debug=explain "unknown
153 - Enhance ParseConfig() to work properly for spaces in between the -I,
154 -L and -l options and their arguments.
156 - Packaging build fix: Rebuild the files that are use to report the
157 --version of SCons whenever the development version number changes.
159 - Fix the ability to specify a target_factory of Dir() to a Builder,
160 which the default create-a-directory Builder was interfering with.
162 - Mark a directory as built if it's created as part of the preparation
163 for another target, to avoid trying to build it again when it comes
164 up in the target list.
166 - Allow a function with the right calling signature to be put directly
167 in an Environment's BUILDERS dictionary, making for easier creation
168 and use of wrappers (pseudo-Builders) that call other Builders.
170 - On Python 2.x, wrap lists of Nodes returned by Builders in a UserList
171 object that adds a method that makes str() object return a string
172 with all of the Nodes expanded to their path names. (Builders under
173 Python 1.5.2 still return lists to avoid TypeErrors when trying
174 to extend() list, so Python 1.5.2 doesn't get pretty-printing of Node
175 lists, but everything should still function.)
177 - Allow Aliases to have actions that will be executed whenever
178 any of the expanded Alias targets are out of date.
180 - Fix expansion of env.Command() overrides within target and
183 - Support easier customization of what's displayed by various default
184 actions by adding lots of new construction variables: $ARCOMSTR,
185 $ASCOMSTR, $ASPPCOMSTR, $BIBTEXCOMSTR, $BITKEEPERCOMSTR, $CCCOMSTR,
186 $CVSCOMSTR, $CXXCOMSTR, $DCOMSTR, $DVIPDFCOMSTR, $F77COMSTR,
187 $F90COMSTR, $F95COMSTR, $FORTRANCOMSTR, $GSCOMSTR, $JARCOMSTR,
188 $JAVACCOMSTR, $JAVAHCOMSTR, $LATEXCOMSTR, $LEXCOMSTR, $LINKCOMSTR,
189 $M4COMSTR, $MIDLCOMSTR, $P4COMSTR, $PCHCOMSTR, $PDFLATEXCOMSTR,
190 $PDFTEXCOMSTR, $PSCOMSTR, $QT_MOCFROMCXXCOMSTR, $QT_MOCFROMHCOMSTR,
191 $QT_UICCOMSTR, $RCCOMSTR, $REGSVRCOMSTR, $RCS_COCOMSTR, $RMICCOMSTR,
192 $SCCSCOMSTR, $SHCCCOMSTR, $SHCXXCOMSTR, $SHF77COMSTR, $SHF90COMSTR,
193 $SHF95COMSTR, $SHFORTRANCOMSTR, $SHLINKCOMSTR, $SWIGCOMSTR,
194 $TARCOMSTR, $TEXCOMSTR, $YACCCOMSTR and $ZIPCOMSTR.
196 - Add an optional "map" keyword argument to ListOption() that takes a
197 dictionary to map user-specified values to legal values from the list
198 (like EnumOption() already doee).
200 - Add specific exceptions to try:-except: blocks without any listed,
201 so that they won't catch and mask keyboard interrupts.
203 - Make --debug={tree,dtree,stree} print something even when there's
206 - Fix how Scanners sort the found dependencies so that it doesn't
207 matter whether the dependency file is in a Repository or not.
208 This may cause recompilations upon upgrade to this version.
210 - Make AlwaysBuild() work with Alias and Python value Nodes (making
211 it much simpler to support aliases like "clean" that just invoke
212 an arbitrary action).
214 - Have env.ParseConfig() use AppendUnique() by default to suppress
215 duplicate entries from multiple calls. Add a "unique" keyword
216 argument to allow the old behavior to be specified.
218 - Allow the library modules imported by an SConscript file to get at
219 all of the normally-available global functions and variables by saying
220 "from SCons.Script import *".
222 - Add a --debug=memoizer option to print Memoizer hit/mass statistics.
224 - Allow more than one --debug= option to be set at a time.
226 - Change --debug=count to report object counts before and after
227 reading SConscript files and before and after building targets.
229 - Change --debug=memory output to line up the numbers and to better
230 match (more or less) the headers on the --debug=count columns.
232 - Speed things up when there are lists of targets and/or sources by
233 getting rid of some N^2 walks of the lists involved.
235 - Cache evaluation of LazyActions so we don't create a new object
238 - When scanning, don't create Nodes for include files that don't
239 actually exist on disk.
241 - Make supported global variables CScanner, DScanner, ProgramScanner and
242 SourceFileScanner. Make SourceFileScanner.add_scanner() a supported
243 part of the public interface. Keep the old SCons.Defaults.*Scan names
244 around for a while longer since some people were already using them.
246 - By default, don't scan directories for on-disk files. Add a
247 DirScanner global scanner that can be used in Builders or Command()
248 calls that want source directory trees scanned for on-disk changes.
249 Have the Tar() and Zip() Builders use the new DirScanner to preserve
250 the behavior of rebuilding a .tar or .zip file if any file or
251 directory under a source tree changes. Add Command() support for
252 a source_scanner keyword argument to Command() that can be set to
253 DirScanner to get this behavior.
255 - Documentation changes: Explain that $CXXFLAGS contains $CCFLAGS
256 by default. Fix a bad target_factory example in the man page.
257 Add appendices to the User's Guide to cover the available Tools,
258 Builders and construction variables. Comment out the build of
259 the old Python 10 paper, which doesn't build on all systems and
260 is old enough at this point that it probably isn't worth the
261 effort to make it do so.
263 - Enhanced the SCons setup.py script to install man pages on
266 - Add support for an Options.FormatOptionHelpText() method that can
267 be overridden to customize the format of Options help text.
269 - Add a global name for the Entry class (which had already been
272 - Fix re-scanning of generated source files for implicit dependencies
273 when the -j option is used.
275 - Fix a dependency problem that caused $LIBS scans to not be added
276 to all of the targets in a multiple-target builder call, which
277 could cause out-of-order builds when the -j option is used.
279 - Store the paths of source files and dependencies in the .sconsign*
280 file(s) relative to the target's directory, not relative to the
281 top-level SConstruct directory. This starts to make it possible to
282 subdivide the dependency tree arbitrarily by putting an SConstruct
283 file in every directory and using content signatures.
285 - Add support for $YACCHFILESUFFIX and $YACCHXXFILESUFFIX variables
286 that accomodate parser generators that write header files to a
287 different suffix than the hard-coded .hpp when the -d option is used.
289 - The default behavior is now to store signature information in a
290 single .sconsign.dblite file in the top-level SConstruct directory.
291 The old behavior of a separate .sconsign file in each directory can
292 be specified by calling SConsignFile(None).
294 - Remove line number byte codes within the signature calculation
295 of Python function actions, so that changing the location of an
296 otherwise unmodified Python function doesn't cause rebuilds.
298 - Fix AddPreAction() and AddPostAction() when an action has more than
299 one target file: attach the actions to the Executor, not the Node.
301 - Allow the source directory of a BuildDir / build_dir to be outside
302 of the top-level SConstruct directory tree.
304 - Add a --debug=nomemoizer option that disables the Memoizer for clearer
305 looks at the counts and profiles of the underlying function calls,
306 not the Memoizer wrappers.
308 - Print various --debug= stats even if we exit early (e.g. using -h).
310 - Really only use the cached content signature value if the file
311 is older than --max-drift, not just if --max-drift is set.
313 - Remove support for conversion from old (pre 0.96) .sconsign formats.
315 - Add support for a --diskcheck option to enable or disable various
316 on-disk checks: that File and Dir nodes match on-disk entries;
317 whether an RCS file exists for a missing source file; whether an
318 SCCS file exists for a missing source file.
320 - Add a --raw argument to the sconsign script, so it can print a
321 raw representation of each entry's NodeInfo dictionary.
323 - Add the 'f90' and 'f95' tools to the list of Fortran compilers
324 searched for by default.
326 - Add the +Z option by default when compiling shared objects on
329 - Check for whether files exist on disk by listing the directory
330 contents, not calling os.path.exists() file by file. This is
331 somewhat more efficient in general, and may be significantly
332 more efficient on Windows.
334 - Minor speedups in the internal is_Dict(), is_List() and is_String()
337 - Fix a signature refactoring bug that caused Qt header files to
338 get re-generated every time.
342 - Handle Visual Studio project and solution files in Unicode.
346 - Avoid "maximum recursion limit" errors when removing $(-$) pairs
347 from long command lines.
351 - Make ParseConfig() recognize and add -mno-cygwin to $LINKFLAGS and
352 $CCFLAGS, and -mwindows to $LINKFLAGS.
356 - Fix a bad use of Copy() in an example in the man page, and a
357 bad regular expression example in the man page and User's Guide.
361 - Have the Visual Studio project file(s) echo "Starting SCons" before
362 executing SCons, mainly to work around a quote-stripping bug in
363 (some versions of?) the Windows cmd command executor.
365 From Michael McCracken:
367 - Add a new "applelink" tool to handle the things like Frameworks and
368 bundles that Apple has added to gcc for linking.
370 - Use more appropriate default search lists of linkers, compilers and
371 and other tools for the 'darwin' platform.
373 - Add a LoadableModule Builder that builds a bundle on Mac OS X (Darwin)
374 and a shared library on other systems.
376 - Improve SWIG tests for use on Mac OS X (Darwin).
380 - Execute build commands for a command-line target if any of the
381 files built along with the target is out of date or non-existent,
382 not just if the command-line target itself is out of date.
386 - Remove the space after the -o option when invoking the Borland
387 BCC compiler; some versions apparently require that the file name
388 argument be concatenated with the option.
392 - Enhance the tests to guarantee persistence of ListOption
393 values in saved options files.
395 - Supply the help text when -h is used with the -u, -U or -D options.
397 From Leanid Nazdrynau:
399 - Fix the Java parser's handling of backslashes in strings.
403 - Fix the Java parser's handling of string definitions to avoid ignoring
406 From Han-Wen Nienhuys:
408 - Optimize variable expansion by: using the re.sub() method (when
409 possible); not using "eval" for variables for which we can fetch the
410 value directory; avoiding slowing substitution logic when there's no
415 - Add construction variables to support frameworks on Mac OS X:
416 $FRAMEWORKS, $FRAMEWORKPREFIX, $FRAMEWORKPATH, $FRAMEWORKPATHPREFIX.
418 - Re-order link lines so the -o option always comes right after the
421 From Gary Oberbrunner:
423 - Add an Environment.Dump() method to print the contents of a
424 construction environment.
426 - Allow $LIBS (and similar variables) to contain explicit File Nodes.
428 - Change ParseConfig to add the found library names directly to the
429 $LIBS variable, instead of returning them.
431 - Add ParseConfig() support for the -framework GNU linker option.
433 - Add a PRINT_CMD_LINE_FUNC construction variable to allow people
434 to filter (or log) command-line output.
436 - Print an internal Python stack trace in response to an otherwise
437 unexplained error when --debug=stacktrace is specified.
439 - Add a --debug=findlibs option to print what's happening when
440 the scanner is searching for libraries.
442 - Allow Tool specifications to be passed a dictionary of keyword
445 - Support an Options default value of None, in which case the variable
446 will not be added to the construction environment unless it's set
447 explicitly by the user or from an Options file.
449 - Avoid copying __builtin__ values into a construction environment's
450 dictionary when evaluating construction variables.
452 - Add a new cross-platform intelc.py Tool that can detect and
453 configure the Intel C++ v8 compiler on both Windows, where it's
454 named icl, and Linux, where it's named icc. It also checks that
455 the directory specified in the Windows registry exists, and sets a
456 new $INTEL_C_COMPILER_VERSION construction variable to identify the
457 version being used. (Niall Douglas contributed an early prototype
458 of parts of this module.)
460 - Fix the private Conftest._Have() function so it doesn't change
461 non-alphanumeric characters to underscores.
463 - Supply a better error message when a construction variable expansion
464 has an unknown attribute.
466 - Documentation changes: Update the man page to describe use of
467 filenames or Nodes in $LIBS.
469 - Add support for Intel C++ beta 9.0 (both 32 and 64 bit versions).
471 - Document the new $FRAMEWORK* variables for Mac OS X.
475 - When building a .jar file and there is a $JARCHDIR, put the -C
476 in front of each .class file on the command line.
480 - Have the linkloc tool use $MSVS_VERSION to select the Microsoft
481 Visual Studio version to use.
485 - Add $RPATH (-R) support to the Sun linker Tool (sunlink).
487 - Add a description of env.subst() to the man page.
491 - Look in the right directory, not always the local directory, for a
492 same-named file or directory conflict on disk.
494 - On Windows, preserve the external environment's %SYSTEMDRIVE%
499 - Fix the Builder name returned from ListBuilders and other instances
500 of subclasses of the BuilderBase class.
502 - Add Builders and construction variables to support rpcgen:
503 RPCGenClient(), RPCGenHeader(), RPCGenService(), RPCGenXDR(),
504 $RPCGEN, $RPCGENFLAGS, $RPCGENCLIENTFLAGS, $RPCGENHEADERFLAGS,
505 $RPCGENSERVICEFLAGS, $RPCGENXDRFLAGS.
507 - Update the man page to document that prefix and suffix Builder
508 keyword arguments can be strings, callables or dictionaries.
510 - Provide more info in the error message when a user tries to build
511 a target multiple ways.
513 - Fix Delete() when a file doesn't exist and must_exist=1. (We were
514 unintentionally dependent on a bug in versions of the Python shutil.py
515 module prior to Python 2.3, which would generate an exception for
516 a nonexistent file even when ignore_errors was set.)
518 - Only replace a Node's builder with a non-null source builder.
520 - Fix a stack trace when a suffix selection dictionary is passed
521 an empty source file list.
523 - Allow optional names to be attached to Builders, for default
524 Builders that don't get attached to construction environments.
526 - Fix problems with Parallel Task Exception handling.
528 - Build targets in an associated BuildDir even if there are targets
529 or subdirectories locally in the source directory.
531 - If a FunctionAction has a callable class as its underlying Python
532 function, use its strfunction() method (if any) to display the
535 - Fix handling when BuildDir() exists but is unwriteable. Add
536 "Stop." to those error messages for consistency.
538 - Catch incidents of bad builder creation (without an action) and
539 supply meaningful error messages.
541 - Fix handling of src_suffix values that aren't extensions (don't
544 - Don't retrieve files from a CacheDir, but report what would happen,
545 when the -n option is used.
547 - Use the source_scanner from the target Node, not the source node
550 - Internal Scanners fixes: Make sure Scanners are only passed Nodes.
551 Fix how a Scanner.Selector called its base class initialization.
552 Make comparisons of Scanner objects more robust. Add a name to
553 an internal default ObjSourceScanner.
555 - Add a deprecated warning for use of the old "scanner" keyword argument
558 - Improve the --debug=explain message when the build action changes.
560 - Test enhancements in SourceCode.py, option-n.py, midl.py. Better
561 Command() and Scanner test coverage. Improved test infrastructure
564 - Refactor the interface between Action and Executor objects to treat
567 - The --debug=presub option will now report the pre-substitution
568 each action seprately, instead of reporting the entire list before
569 executing the actions one by one.
571 - The --debug=explain option explaining a changed action will now
572 (more correctly) show pre-substitution action strings, instead of
573 the commands with substituted file names.
575 - A Node (file) will now be rebuilt if its PreAction or PostAction
578 - Python Function actions now have their calling signature (target,
579 source, env) reported correctly when displayed.
581 - Fix BuildDir()/build_dir handling when the build_dir is underneath
582 the source directory and trying to use entries from the build_dir
583 as sources for other targets in the build-dir.
585 - Fix hard-coding of JDK path names in various Java tests.
587 - Handle Python stack traces consistently (stop at the SConscript stack
588 frame, by default) even if the Python source code isn't available.
590 - Improve the performance of the --debug={tree,dtree} options.
592 - Add --debug=objects logging of creation of OverrideWarner,
593 EnvironmentCopy and EnvironmentOverride objects.
595 - Fix command-line expansion of Python Value Nodes.
597 - Internal cleanups: Remove an unnecessary scan argument. Associate
598 Scanners only with Builders, not nodes. Apply overrides once when
599 a Builder is called, not in multiple places. Cache results from the
600 Node.FS.get_suffix() and Node.get_build_env() methods. Use the Python
601 md5 modules' hexdigest() method, if there is one. Have Taskmaster
602 call get_stat() once for each Node and re-use the value instead of
603 calling it each time it needs the value. Have Node.depends_on()
604 re-use the list from the children() method instead of calling it
607 - Use the correct scanner if the same source file is used for targets in
608 two different environments with the same path but different scanners.
610 - Collect logic for caching values in memory in a Memoizer class,
611 which cleans up a lot of special-case code in various methods and
612 caches additional values to speed up most configurations.
614 - Add a PathAccept validator to the list of new canned PathOption
619 - Have the Fortran module emitter look for Fortan modules to be created
620 relative to $FORTRANMODDIR, not the top-level directory.
622 - When saving Options to a file, run default values through the
623 converter before comparing them with the set values. This correctly
624 suppresses Boolean Option values from getting written to the saved
625 file when they're one of the many synonyms for a default True or
628 - Fix the Fortran Scanner's ability to handle a module being used
629 in the same file in which it is defined.
633 - Documentation changes: Use $CPPDEFINES instead of $CCFLAGS in man
638 - Allow $JARCHDIR to be expanded to other construction variables.
642 - Add the -KPIC option by default when compiling shared objects on
645 - Change the default suffix for Solaris objects to .o, to conform to
646 Sun WorkShop's expectations. Change the profix to so_ so they can
647 still be differentiated from static objects in the same directory.
651 - When calling the resource compiler on MinGW, add --include-dir and
652 the source directory so it finds the source file.
654 - Update EnsureSConsVersion() to support revision numbers.
658 - Fix a misplaced line in the man page.
660 From Christoph Wiedemann:
662 - Add an Environment.SetDefault() method that only sets values if
663 they aren't already set.
665 - Have the qt.py Tool not override variables already set by the user.
667 - Add separate $QT_BINPATH, $QT_CPPPATH and $QT_LIBPATH variables
668 so these can be set individually, instead of being hard-wired
671 - The %TEMP% and %TMP% external environment variables are now propagated
672 automatically to the command execution environment on Windows systems.
674 - A new --config= command-line option allows explicit control of
675 of when the Configure() tests are run: --config=force forces all
676 checks to be run, --config=cache uses all previously cached values,
677 --config=auto (the default) runs tests only when dependency analysis
678 determines it's necessary.
680 - The Configure() subsystem can now write a config.h file with values
681 like HAVE_STDIO_H, HAVE_LIBM, etc.
683 - The Configure() subsystem now executes its checks silently when the
684 -Q option is specified.
686 - The Configure() subsystem now reports if a test result is being
687 taken from cache, and prints the standard output and error output
688 of tests even when cached.
690 - Configure() test results are now reported as "yes" or "no" instead of
693 - Fixed traceback printing when calling the env.Configure() method
694 instead of the Configure() global function.
696 - The Configure() subsystem now caches build failures in a .sconsign
697 file in the subdirectory, not a .cache file. This may cause
698 tests to be re-executed the first time after you install 0.97.
700 - Additional significant internal cleanups in the Configure() subsystem
703 - Have the Qt Builder make uic-generated files dependent on the .ui.h
706 - Add a test to make sure that SCons source code does not contain
707 try:-except: blocks that catch all errors, which potentially catch
708 and mask keyboard interrupts.
710 - Fix us of TargetSignatures('content') with the SConf subsystem.
712 From Russell Yanofsky:
714 - Add support for the Metrowerks Codewarrior compiler and linker
723 - Handle white space in the executable Python path name within in MSVS
724 project files by quoting the path.
726 - Correct the format of a GUID string in a solution (.dsw) file so
727 MSVS can correctly "build enable" a project.
731 - Add a must_exist flag to Delete() to let the user control whether
732 it's an error if the specified entry doesn't exist. The default
733 behavior is now to silently do nothing if it doesn't exist.
735 - Package up the new Platform/darwin.py, mistakenly left out of 0.96.
737 - Make the scons.bat REM statements into @REM so they aren't printed.
739 - Make the SCons packaging SConscript files platform independent.
743 - Fix scanning of pre-compiled header (.pch) files for #includes,
748 RELEASE 0.96 - Wed, 18 Aug 2004 13:36:40 +0000
752 - Make the CacheDir() directory if it doesn't already exist.
754 - Allow construction variable substitutions in $LIBS specifications.
756 - Allow the emitter argument to a Builder() to be or expand to a list
757 of emitter functions, which will be called in sequence.
759 - Suppress null values in construction variables like $LIBS that use
760 the internal _concat() function.
762 - Remove .dll files from the construction variables searched for
763 libraries that can be fed to Win32 compilers.
765 From Chad Austin and Christoph Wiedemann:
767 - Add support for a $RPATH variable to supply a list of directories
768 to search for shared libraries when linking a program. Used by
769 the GNU and IRIX linkers (gnulink and sgilink).
773 - Restore the ability to do construction variable substitutions in all
774 kinds of *PATH variables, even when the substitution returns a Node
779 - Allow the Java() Builder to take more than one source directory.
781 From Ralf W. Grosse-Kunstleve:
783 - Have SConsignFile() use, by default, a custom "dblite.py" that we can
784 control and guarantee to work on all Python versions (or nearly so).
786 From Jonathan Gurley:
788 - Add support for the newer "ifort" versions of the Intel Fortran
793 - Make the new *FLAGS variable type work with copied Environments.
797 - Initialize the name of a Scanner.Classic scanner correctly.
801 - Add support for the .dylib shared library suffix and the -dynamiclib
802 linker option on Mac OS X.
806 - Add an Execute() method for executing actions directly.
808 - Support passing environment override keyword arguments to Command().
810 - Fix use of $MSVS_IGNORE_IDE_PATHS, which was broken when we added
811 support for $MSVS_USE_MFC_DIRS last release.
813 - Make env.Append() and env.Prepend() act like the underlying Python
814 behavior when the variable being appended to is a UserList object.
816 - Fix a regression that prevented the Command() global function in
817 0.95 from working with command-line strings as actions.
819 - Fix checking out a file from a source code management system when
820 the env.SourceCode() method was called with an individual file name
821 or node, not a directory name or node.
823 - Enhance the Task.make_ready() method to create a list of the
824 out-of-date Nodes for the task for use by the wrapping interface.
826 - Allow Scanners to pull the list of suffixes from the construction
827 environment when the "skeys" keyword argument is a string containing
828 a construction variable to be expanded.
830 - Support new $CPPSUFFIXES, $DSUFFIXES $FORTRANSUFFIXES, and
831 $IDLSUFFIXES. construction variables that contain the default list
832 of suffixes to be scanned by a given type of scanner, allowing these
833 suffix lists to be easily added to or overridden.
835 - Speed up Node creation when calling a Builder by comparing whether two
836 Environments are the same object, not if their underlying dictionaries
839 - Add a --debug=explain option that reports the reason(s) why SCons
840 thinks it must rebuild something.
842 - Add support for functions that return platform-independent Actions
843 to Chmod(), Copy(), Delete(), Mkdir(), Move() and Touch() files
844 and/or directories. Like any other Actions, the returned Action
845 object may be executed directly using the Execute() global function
846 or env.Execute() environment method, or may be used as a Builder
847 action or in an env.Command() action list.
849 - Add support for the strfunction argument to all types of Actions:
850 CommandAction, ListAction, and CommandGeneratorAction.
852 - Speed up turning file system Nodes into strings by caching the
853 values after we're finished reading the SConscript files.
855 - Have ParseConfig() recognize and supporting adding the -Wa, -Wl,
856 and -Wp, flags to ASFLAGS, LINKFLAGS and CPPFLAGS, respectively.
858 - Change the .sconsign format and the checks for whether a Node is
859 up-to-date to make dependency checks more efficient and correct.
861 - Add wrapper Actions to SCons.Defaults for $ASCOM, $ASPPCOM, $LINKCOM,
862 $SHLINKCOM, $ARCOM, $LEXCOM and $YACCCOM. This makes it possible
863 to replace the default print behavior with a custom strfunction()
866 - When a Node has been built, don't walk the whole tree back to delete
867 the parents's implicit dependencies, let returning up the normal
868 Taskmaster descent take care of it for us.
870 - Add documented support for separate target_scanner and source_scanner
871 arguments to Builder creation, which allows different scanners to
872 be applied to source files
874 - Don't re-install or (re-generate) .h files when a subsidiary #included
875 .h file changes. This eliminates incorrect circular dependencies
876 with .h files generated from other source files.
878 - Slim down the internal Sig.Calculator class by eliminating methods
879 whose functionality is now covered by Node methods.
881 - Document use of the target_factory and source_factory keyword
882 arguments when creating Builder objects. Enhance Dir Nodes so that
883 they can be created with user-specified Builder objects.
885 - Don't blow up with stack trace when the external $PATH environment
888 - Make Builder calls return lists all the time, even if there's only
889 one target. This keeps things consistent and easier to program to
892 - Add a Flatten() function to make it easier to deal with the Builders
893 all returning lists of targets, not individual targets.
895 - Performance optimizations in Node.FS.__doLookup().
897 - Man page fixes: formatting typos, misspellings, bad example.
899 - User's Guide fixes: Fix the signatures of the various example
900 *Options() calls. Triple-quote properly a multi-line Split example.
902 - User's Guide additions: Chapter describing File and Directory
903 Nodes. Section describing declarative nature of SCons functions in
904 SConscript files. Better organization and clarification of points
905 raised by Robert P. J. Day. Chapter describing SConf (Autoconf-like)
906 functionality. Chapter describing how to install Python and
907 SCons. Chapter describing Java builds.
911 - Add a .win32 attribute to force file names to expand with
912 Windows backslash path separators.
914 - Fix escaping file names on command lines when the expansion is
915 concatenated with another string.
917 - Add support for Fortran 90 and Fortran 95. This adds $FORTRAN*
918 variables that specify a default compiler, command-line, flags,
919 etc. for all Fortran versions, plus separate $F90* and $F95*
920 variables for when different compilers/flags/etc. must be specified
921 for different Fortran versions.
923 - Have individual tools that create libraries override the default
924 $LIBPREFIX and $LIBSUFFIX values set by the platform. This makes
925 it easier to use Microsoft Visual Studio tools on a CygWin platform.
927 From Gary Oberbrunner:
929 - Add a --debug=presub option to print actions prior to substitution.
931 - Add a warning upon use of the override keywords "targets" and
932 "sources" when calling Builders. These are usually mistakes which
933 are otherwise silently (and confusingly) turned into construction
936 - Try to find the ICL license file path name in the external environment
937 and the registry before resorting to the hard-coded path name.
939 - Add support for fetching command-line keyword=value arguments in
940 order from an ARGLIST list.
942 - Avoid stack traces when trying to read dangling symlinks.
944 - Treat file "extensions" that only contain digits as part of the
945 file basename. This supports version numbers as part of shared
946 library names, for example.
948 - Avoid problems when there are null entries (None or '') in tool
951 - Add an example and explanation of how to use "tools = ['default', ..."
952 when creating a construction environment.
954 - Add a section describing File and Directory Nodes and some of their
955 attributes and methods.
957 - Have ParseConfig() add a returned -pthread flag to both $CCFLAGS
960 - Fix some test portability issues on Mac OS X (darwin).
964 - Fix a bug introduced in building shared libraries under MinGW.
968 - Handling SCons exceptions according to Pythonic standards.
970 - Fix test/chained-build.py on systems that execute within one second.
972 - Fix tests on systems where 'ar' warns about archive creation.
976 - Fix use of the --implicit-cache option with timestamp signatures.
978 - If Visual Studio is installed, assume the C/C++ compiler, the linker
979 and the MIDL compiler that comes with it are available, too.
981 - Better error messages when evaluating a construction variable
982 expansion yields a Python syntax error.
984 - Change the generation of PDB files when using Visual Studio from
985 compile time to link time.
989 - Allow SConf.CheckLib() to search a list of libraries, like the
990 Autoconf AC_SEARCH_LIBS macro.
992 - Allow the env.WhereIs() method to take a "reject" argument to
993 let it weed out specific path names.
995 From Christoph Wiedemann:
997 - Add new Moc() and Uic() Builders for more explicit control over
998 Qt builds, plus new construction variables to control them:
999 $QT_AUTOSCAN, $QT_DEBUG, $QT_MOCCXXPREFIX, $QT_MOCCXXSUFFIX,
1000 $QT_MOCHPREFIX, $QT_MOCHSUFFIX, $QT_UICDECLPREFIX, $QT_UICDECLSUFFIX,
1001 $QT_UICIMPLPREFIX, $QT_UICIMPLSUFFIX and $QT_UISUFFIX.
1003 - Add a new single_source keyword argument for Builders that enforces
1004 a single source file on calls to the Builder.
1008 RELEASE 0.95 - Mon, 08 Mar 2004 06:43:20 -0600
1012 - Replace print statements with calls to sys.stdout.write() so output
1013 lines stay together when -j is used.
1015 - Add portability fixes for a number of tests.
1017 - Accomodate the fact that Cygwin's os.path.normcase() lies about
1018 the underlying system being case-sensitive.
1020 - Fix an incorrect _concat() call in the $RCINCFLAGS definition for
1023 - Fix a problem with the msvc tool with Python versions prior to 2.3.
1025 - Add support for a "toolpath" Tool() and Environment keyword that
1026 allows Tool modules to be found in specified local directories.
1028 - Work around Cygwin Python's silly fiction that it's using a
1029 case-sensitive file system.
1031 - More robust handling of data in VCComponents.dat.
1033 - If the "env" command is available, spawn commands with the more
1034 general "env -" instead of "env -i".
1036 From Kerim Borchaev:
1038 - Fix a typo in a msvc.py's registry lookup: "VCComponents.dat", not
1041 From Chris Burghart:
1043 - Fix the ability to save/restore a PackageOption to a file.
1045 From Steve Christensen:
1047 - Update the MSVS .NET and MSVC 6.0/7.0 path detection.
1049 From David M. Cooke:
1051 - Make the Fortran scanner case-insensitive for the INCLUDE string.
1055 - If no version of MSVC is detected but the tool is specified,
1056 use the MSVC 6.0 paths by default.
1058 - Ignore any "6.1" version of MSVC found in the registry; this is a
1059 phony version number (created by later service packs?) and would
1060 throw off the logic if the user had any non-default paths configure.
1062 - Correctly detect if the user has independently configured the MSVC
1063 "include," "lib" or "path" in the registry and use the appropriate
1064 values. Previously, SCons would only use the values if all three
1065 were set in the registry.
1067 - Make sure side-effect nodes are prepare()d before building their
1068 corresponding target.
1070 - Preserve the ability to call BuildDir() multiple times with the
1071 same target and source directory arguments.
1075 - Add support for the Digital Mars "D" programming language.
1077 From Scott Lystig Fritchie:
1079 - Fix the ability to use a custom _concat() function in the
1080 construction environment when calling _stripixes().
1082 - Make the message about ignoring a missing SConscript file into a
1083 suppressable Warning, not a hard-coded sys.stderr.write().
1085 - If a builder can be called multiple times for a target (because
1086 the sources and overrides are identical, or it's a builder with the
1087 "multi" flag set), allow the builder to be called through multiple
1088 environments so long as the builders have the same signature for
1089 the environments in questions (that is, they're the same action).
1093 - When multiple targets are built by a single action, retrieve all
1094 of them from cache, not just the first target, and exec the build
1095 command if any of the targets isn't present in the cache.
1097 From Zephaniah Hull:
1099 - Fix command-line ARGUMENTS with multiple = in them.
1103 - Fix EnsureSConsVersion() so it checks against the SCons version,
1104 not the Python version, on Pythons with sys.version_info.
1106 - Don't swallow the AttributeError when someone uses an expansion like
1107 $TARGET.bak, so we can supply a more informative error message.
1109 - Fix an odd double-quote escape sequence in the man page.
1111 - Fix looking up a naked drive letter as a directory (Dir('C:')).
1113 - Support using File nodes in the LIBS construction variable.
1115 - Allow the LIBS construction variable to be a single string or File
1116 node, not a list, when only one library is needed.
1118 - Fix typos in the man page: JAVACHDIR => JARCHDIR; add "for_signature"
1119 to the __call__() example in the "Variable Substitution" section.
1121 - Correct error message spellings of "non-existant" to "non-existent."
1123 - When scanning for libraries to link with, don't append $LIBPREFIXES
1124 or $LIBSUFFIXES values to the $LIBS values if they're already present.
1126 - Add a ZIPCOMPRESSION construction variable to control whether the
1127 internal Python action for the Zip Builder compresses the file or
1128 not. The default value is zipfile.ZIP_DEFLATED, which generates
1131 - Refactor construction variable expansion to support recursive
1132 expansion of variables (e.g. CCFLAGS = "$CCFLAGS -g") without going
1133 into an infinite loop. Support this in all construction variable
1134 overrides, as well as when copying Environments.
1136 - Fix calling Configure() from more than one subsidiary SConscript file.
1138 - Fix the env.Action() method so it returns the correct type of
1139 Action for its argument(s).
1141 - Fix specifying .class files as input to JavaH with the .class suffix
1142 when they weren't generated using the Java Builder.
1144 - Make the check for whether all of the objects going into a
1145 SharedLibrary() are shared work even if the object was built in a
1148 - Supply meaningful error messages, not stack traces, if we try to add
1149 a non-Node as a source, dependency, or ignored dependency of a Node.
1151 - Generate MSVS Project files that re-invoke SCons properly regardless
1152 of whether the file was built via scons.bat or scons.py.
1153 (Thanks to Niall Douglas for contributing code and testing.)
1155 - Fix TestCmd.py, runtest.py and specific tests to accomodate being
1156 run from directories whose paths include white space.
1158 - Provide a more useful error message if a construction variable
1159 expansion contains a syntax error during evaluation.
1161 - Fix transparent checkout of implicit dependency files from SCCS
1164 - Added new --debug=count, --debug=memory and --debug=objects options.
1165 --debug=count and --debug=objects only print anything when run
1166 under Python 2.1 or later.
1168 - Deprecate the "overrides" keyword argument to Builder() creation
1169 in favor of using keyword argument values directly (like we do
1170 for builder execution and the like).
1172 - Always use the Builder overrides in substitutions, not just if
1173 there isn't a target-specific environment.
1175 - Add new "rsrcpath" and "rsrcdir" and attributes to $TARGET/$SOURCE,
1176 so Builder command lines can find things in Repository source
1177 directories when using BuildDir.
1179 - Fix the M4 Builder so that it chdirs to the Repository directory
1180 when the input file is in the source directory of a BuildDir.
1182 - Save memory at build time by allowing Nodes to delete their build
1183 environments after they've been built.
1185 - Add AppendUnique() and PrependUnique() Environment methods, which
1186 add values to construction variables like Append() and Prepend()
1187 do, but suppress any duplicate elements in the list.
1189 - Allow the 'qt' tool to still be used successfully from a copied
1190 Environment. The include and library directories previously ended up
1191 having the same string re-appended to the end, yielding an incorrect
1194 - Supply a more descriptive error message when the source for a target
1197 - Initialize all *FLAGS variables with objects do the right thing with
1198 appending flags as strings or lists.
1200 - Make things like ${TARGET.dir} work in *PATH construction variables.
1202 - Allow a $MSVS_USE_MFC_DIRS construction variable to control whether
1203 ATL and MFC directories are included in the default INCLUDE and
1206 - Document the dbm_module argument to the SConsignFile() function.
1210 - Add support for the bcc32, ilink32 and tlib Borland tools.
1214 - Supply an error message if the user tries to configure a BuildDir
1215 for a directory that already has one.
1217 - Remove documentation of the still-unimplemented -e option.
1219 - Add -H help text listing the legal --debug values.
1221 - Don't choke if a construction variable is a non-string value.
1223 - Build Type Libraries in the target directory, not the source
1226 - Add an appendix to the User's Guide showing how to accomplish
1227 various common tasks in Python.
1231 - Add support for Microsoft Visual Studio 2003 (version 7.1).
1233 - Evaluate $MSVSPROJECTSUFFIX and $MSVSSOLUTIONSUFFIX when the Builder
1234 is invoked, not when the tool is initialized.
1236 From Christoph Wiedemann:
1238 - When compiling Qt, make sure the moc_*.cc files are compiled using
1239 the flags from the environment used to specify the target, not
1240 the environment that first has the Qt Builders attached.
1244 RELEASE 0.94 - Fri, 07 Nov 2003 05:29:48 -0600
1246 From Hartmut Goebel:
1248 - Add several new types of canned functions to help create options:
1249 BoolOption(), EnumOption(), ListOption(), PackageOption(),
1254 - Fix use of CPPDEFINES with C++ source files.
1256 - Fix env.Append() when the operand is an object with a __cmp__()
1257 method (like a Scanner instance).
1259 - Fix subclassing the Environment and Scanner classes.
1261 - Add BUILD_TARGETS, COMMAND_LINE_TARGETS and DEFAULT_TARGETS variables.
1265 - SGI fixes: Fix C++ compilation, add a separate Tool/sgic++.py module.
1267 From Gary Oberbrunner:
1269 - Fix how the man page un-indents after examples in some browsers.
1273 - Fix the C and C++ tool specifications for AIX.
1277 RELEASE 0.93 - Thu, 23 Oct 2003 07:26:55 -0500
1281 - On POSIX, execute commands with the more modern os.spawnvpe()
1282 function, if it's available.
1284 - Scan .S, .spp and .SPP files for C preprocessor dependencies.
1286 - Refactor the Job.Parallel() class to use a thread pool without a
1287 condition variable. This improves parallel build performance and
1288 handles keyboard interrupts properly when -j is used.
1292 - Add support for a JARCHDIR variable to control changing to a
1293 directory using the jar -C option.
1295 - Add support for detecting Java manifest files when using jar,
1296 and specifying them using the jar m flag.
1298 - Fix some Python 2.2 specific things in various tool modules.
1300 - Support directories as build sources, so that a rebuild of a target
1301 can be triggered if anything underneath the directory changes.
1303 - Have the scons.bat and scons.py files look for the SCons modules
1304 in site-packages as well.
1306 From Christian Engel:
1308 - Support more flexible inclusion of separate C and C++ compilers.
1310 - Use package management tools on AIX and Solaris to find where
1311 the comilers are installed, and what version they are.
1313 - Add support for CCVERSION and CXXVERSION variables for a number
1314 of C and C++ compilers.
1318 - Add test cases for the new capabilities to run bibtex and to rerun
1321 From Ralf W. Grosse-Kunstleve:
1323 - Accomodate anydbm modules that don't have a sync() method.
1325 - Allow SConsignFile() to take an argument specifying the DBM
1328 From Stephen Kennedy:
1330 - Add support for a configurable global .sconsign.dbm file which
1331 can be used to avoid cluttering each directory with an individual
1336 - Fix (re-)scanning of dependencies in generated or installed
1341 - The -Q option suppressed too many messages; fix it so that it only
1342 suppresses the Reading/Building messages.
1344 - Support #include when there's no space before the opening quote
1347 - Accomodate alphanumeric version strings in EnsurePythonVersion().
1349 - Support arbitrary expansion of construction variables within
1350 file and directory arguments to Builder calls and Environment methods.
1352 - Add Environment-method versions of the following global functions:
1353 Action(), AddPostAction(), AddPreAction(), Alias(), Builder(),
1354 BuildDir(), CacheDir(), Clean(), Configure(), Default(),
1355 EnsurePythonVersion(), EnsureSConsVersion(), Environment(),
1356 Exit(), Export(), FindFile(), GetBuildPath(), GetOption(), Help(),
1357 Import(), Literal(), Local(), Platform(), Repository(), Scanner(),
1358 SConscriptChdir(), SConsignFile(), SetOption(), SourceSignatures(),
1359 Split(), TargetSignatures(), Tool(), Value().
1361 - Add the following global functions that correspond to the same-named
1362 Environment methods: AlwaysBuild(), Command(), Depends(), Ignore(),
1363 Install(), InstallAs(), Precious(), SideEffect() and SourceCode().
1365 - Add the following global functions that correspond to the default
1366 Builder methods supported by SCons: CFile(), CXXFile(), DVI(), Jar(),
1367 Java(), JavaH(), Library(), M4(), MSVSProject(), Object(), PCH(),
1368 PDF(), PostScript(), Program(), RES(), RMIC(), SharedLibrary(),
1369 SharedObject(), StaticLibrary(), StaticObject(), Tar(), TypeLibrary()
1372 - Rearrange the man page to show construction environment methods and
1373 global functions in the same list, and to explain the difference.
1375 - Alphabetize the explanations of the builder methods in the man page.
1377 - Rename the Environment.Environment class to Enviroment.Base.
1378 Allow the wrapping interface to extend an Environment by using its own
1379 subclass of Environment.Base and setting a new Environment.Environment
1380 variable as the calling entry point.
1382 - Deprecate the ParseConfig() global function in favor of a same-named
1383 construction environment method.
1385 - Allow the Environment.WhereIs() method to take explicit path and
1386 pathext arguments (like the underlying SCons.Util.WhereIs() function).
1388 - Remove the long-obsolete {Get,Set}CommandHandler() functions.
1390 - Enhance env.Append() to suppress null values when appropriate.
1392 - Fix ParseConfig() so it works regardless of initial construction
1395 Extend CheckHeader(), CheckCHeader(), CheckCXXHeader() and
1396 CheckLibWithHeader() to accept a list of header files that will be
1397 #included in the test. The last one in the list is assumed to be
1398 the one being checked for. (Prototype code contributed by Gerard
1399 Patel and Niall Douglas).
1401 - Supply a warning when -j is used and threading isn't built in to
1402 the current version of Python.
1404 - First release of the User's Guide (finally, and despite a lot
1405 of things still missing from it...).
1409 - Generalize the action for .tex files so that it will decide whether
1410 a file is TeX or LaTeX, check the .aux output to decide if it should
1411 run bibtex, and check the .log output to re-run LaTeX if needed.
1413 From Bram Moolenaar:
1415 - Split the non-SCons-specific functionality from SConf.py to a new,
1416 re-usable Conftest.py module.
1418 From Gary Oberbrunner:
1420 - Allow a directory to be the target or source or dependency of a
1421 Depends(), Ignore(), Precious() or SideEffect() call.
1425 - Use the %{_mandir} macro when building our RPM package.
1427 From Marko Rauhamaa:
1429 - Have the closing message say "...terminated because of errors" if
1434 - On Win32 systems, only use "rm" to delete files if Cygwin is being
1435 used. ("rm" doesn't understand Win32-format path names.)
1437 From Christoph Wiedemann:
1439 - Fix test/SWIG.py to find the Python include directory in all cases.
1441 - Fix a bug in detection of Qt installed on the local system.
1443 - Support returning Python 2.3 BooleanType values from Configure checks.
1445 - Provide an error message if someone mistakenly tries to call a
1446 Configure check from within a Builder function.
1448 - Support calling a Builder when a Configure context is still open.
1450 - Handle interrupts better by eliminating all try:-except: blocks
1451 which caught any and all exceptions, including KeyboardInterrupt.
1453 - Add a --duplicate= option to control how files are duplicated.
1457 RELEASE 0.92 - Wed, 20 Aug 2003 03:45:28 -0500
1459 From Charles Crain and Gary Oberbrunner:
1461 - Fix Tool import problems with the Intel and PharLap linkers.
1465 - Refactor the DictCmdGenerator class to be a Selector subclass.
1467 - Allow the DefaultEnvironment() function to take arguments and pass
1468 them to instantiation of the default construction environment.
1470 - Update the Debian package so it uses Python 2.2 and more closely
1471 resembles the currently official Debian packaging info.
1475 - When the yacc -d flag is used, take the .h file base name from the
1476 target .c file, not the source (matching what yacc does).
1480 RELEASE 0.91 - Thu, 14 Aug 2003 13:00:44 -0500
1484 - Support specifying a list of tools when calling Environment.Copy().
1486 - Give a Value Nodes a timestamp of the system time when they're
1487 created, so they'll work when using timestamp-based signatures.
1489 - Add a DefaultEnvironment() function that only creates a default
1490 environment on-demand (for fetching source files, e.g.).
1492 - Portability fix for test/M4.py.
1496 - Tighten up the scons -H help output.
1498 - When the input yacc file ends in .yy and the -d flag is specified,
1499 recognize that a .hpp file (not a .h file) will be created.
1501 - Make builder prefixes work correctly when deducing a target
1502 from a source file name in another directory.
1504 - Documentation fixes: typo in the man page; explain up-front about
1505 not propagating the external environment.
1507 - Use "cvs co -d" instead of "cvs co -p >" when checking out something
1508 from CVS with a specified module name. This avoids zero-length
1509 files when there is a checkout error.
1511 - Add an "sconsign" script to print the contents of .sconsign files.
1513 - Speed up maintaining the various lists of Node children by using
1514 dictionaries to avoid "x in list" searches.
1516 - Cache the computed list of Node children minus those being Ignored
1517 so it's only calculated once.
1519 - Fix use of the --cache-show option when building a Program()
1520 (or using any other arbitrary action) by making sure all Action
1521 instances have strfunction() methods.
1523 - Allow the source of Command() to be a directory.
1525 - Better error handling of things like raw TypeErrors in SConscripts.
1527 - When installing using "setup.py install --prefix=", suppress the
1528 distutils warning message about adding the (incorrect) library
1529 directory to your search path.
1531 - Correct the spelling of the "validater" option to "validator."
1532 Add a DeprecatedWarning when the old spelling is used.
1534 - Allow a Builder's emitter to be a dictionary that maps source file
1535 suffixes to emitter functions, using the suffix of the first file
1536 in the source list to pick the right one.
1538 - Refactor the creation of the Program, *Object and *Library Builders
1539 so that they're moved out of SCons.Defaults and created on demand.
1541 - Don't split SConscript file names on white space.
1543 - Document the SConscript function's "dirs" and "name" keywords.
1545 - Remove the internal (and superfluous) SCons.Util.argmunge() function.
1547 - Add /TP to the default CXXFLAGS for msvc, so it can compile all
1548 of the suffixes we use as C++ files.
1550 - Allow the "prefix" and "suffix" attributes of a Builder to be
1551 callable objects that return generated strings, or dictionaries
1552 that map a source file suffix to the right prefix/suffix.
1554 - Support a MAXLINELINELENGTH construction variable on Win32 systems
1555 to control when a temporary file is used for long command lines.
1557 - Make how we build .rpm packages not depend on the installation
1558 locations from the distutils being used.
1560 - When deducing a target Node, create it directly from the first
1561 source Node, not by trying to create the right string to pass to
1564 - Add support for SWIG.
1566 From Bram Moolenaar:
1568 - Test portability fixes for FreeBSD.
1570 From Gary Oberbrunner:
1572 - Report the target being built in error messages when building
1573 multiple sources from different extensions, or when the target file
1574 extension can't be deduced, or when we don't have an action for a
1577 - Provide helpful error messages when the arguments to env.Install()
1580 - Fix the value returned by the Node.prevsiginfo() method to conform
1581 to a previous change when checking whether a node is current.
1583 - Supply a stack trace if the Taskmaster catches an exception.
1585 - When using a temporary file for a long link line on Win32 systems,
1586 (also) print the command line that is being executed through the
1589 - Initialize the LIB environment variable when using the Intel
1592 - Documentation fixes: better explain the AlwaysBuild() function.
1594 From Laurent Pelecq:
1596 - When the -debug=pdb option is specified, use pdb.Pdb().runcall() to
1597 call pdb directly, don't call Python recursively.
1601 - Add support for a platform-independent CPPDEFINES variable.
1603 From Christoph Wiedemann:
1605 - Have the g++ Tool actually use g++ in preference to c++.
1607 - Have the gcc Tool actually use gcc in preference to cc.
1609 - Add a gnutools.py test of the GNU tool chain.
1611 - Be smarter about linking: use $CC by default and $CXX only if we're
1612 linking with any C++ objects.
1614 - Avoid SCons hanging when a piped command has a lot of output to read.
1616 - Add QT support for preprocessing .ui files into .c files.
1620 RELEASE 0.90 - Wed, 25 Jun 2003 14:24:52 -0500
1624 - Fix the _concat() documentation, and add a test for it.
1626 - Portability fixes for non-GNU versions of lex and yacc.
1630 - Fix handling of library prefixes when the subdirectory matches
1633 From Timothee Bessett:
1635 - Add an M4 Builder.
1639 - Use '.lnk' as the suffix on the temporary file for linking long
1640 command lines (necessary for the Phar Lap linkloc linker).
1642 - Save non-string Options values as their actual type.
1644 - Save Options string values that contain a single quote correctly.
1646 - Save any Options values that are changed from the default
1647 Environment values, not just ones changed on the command line or in
1650 - Make closing the Options file descriptor exception-safe.
1654 - SCons now enforces (with an error) that construction variables
1655 must have the same form as valid Python identifiers.
1657 - Fix man page bugs: remove duplicate AddPostAction() description;
1658 document no_import_lib; mention that CPPFLAGS does not contain
1659 $_CPPINCFLAGS; mention that F77FLAGS does not contain $_F77INCFLAGS;
1660 mention that LINKFLAGS and SHLINKFLAGS contains neither $_LIBFLAGS
1663 - Eliminate a dependency on the distutils.fancy_getopt module by
1664 copying and pasting its wrap_text() function directly.
1666 - Make the Script.Options() subclass match the underlying base class
1669 - When reporting a target is up to date, quote the target like make
1670 (backquote-quote) instead of with double quotes.
1672 - Fix handling of ../* targets when using -U, -D or -u.
1676 - Don't update the .sconsign files when run with -n.
1678 From Gary Oberbrunner:
1680 - Add support for the Intel C Compiler (icl.exe).
1688 - Fix use of SConf in paths with white space in them.
1690 - Add CheckFunc and CheckType functionality to SConf.
1692 - Fix use of SConf with Builders that return a list of nodes.
1694 From David Snopek and Christoph Wiedemann
1696 - Fix use of the SConf subsystem with SConscriptChdir().
1700 - Check for the existence of MS Visual Studio on disk before using it,
1701 to avoid getting fooled by leftover junk in the registry.
1703 - Add support for MSVC++ .NET.
1705 - Add support for MS Visual Studio project files (DSP, DSW,
1706 SLN and VCPROJ files).
1708 From Christoph Wiedemann
1710 - SConf now works correctly when the -n and -q options are used.
1714 RELEASE 0.14 - Wed, 21 May 2003 05:16:32 -0500
1718 - Use .dll (not .so) for shared libraries on Cygwin; use -fPIC
1719 when compiling them.
1721 - Use 'rm' to remove files under Cygwin.
1723 - Add a PLATFORM variable to construction environments.
1725 - Remove the "platform" argument from tool specifications.
1727 - Propogate PYTHONPATH when running the regression tests so distutils
1728 can be found in non-standard locations.
1730 - Using MSVC long command-line linking when running Cygwin.
1732 - Portability fixes for a lot of tests.
1734 - Add a Value Node class for dependencies on in-core Python values.
1736 From Allen Bierbaum:
1738 - Pass an Environment to the Options validator method, and
1739 add an Options.Save() method.
1741 From Steve Christensen:
1743 - Add an optional sort function argument to the GenerateHelpText()
1746 - Evaluate the "varlist" variables when computing the signature of a
1751 - Parse the source .java files for class names (including inner class
1752 names) to figure out the target .class files that will be created.
1754 - Make Java support work with Repositories and SConscriptChdir(0).
1756 - Pass Nodes, not strings, to Builder emitter functions.
1758 - Refactor command-line interpolation and signature calculation
1759 so we can use real Node attributes.
1763 - Add Java support (javac, javah, jar and rmic).
1765 - Propagate the external SYSTEMROOT environment variable into ENV on
1766 Win32 systems, so external commands that use sockets will work.
1768 - Add a .posix attribute to PathList expansions.
1770 - Check out CVS source files using POSIX path names (forward slashes
1771 as separators) even on Win32.
1773 - Add Node.clear() and Node.FS.Entry.clear() methods to wipe out a
1774 Node's state, allowing it to be re-evaluated by continuous
1775 integration build interfaces.
1777 - Change the name of the Set{Build,Content}SignatureType() functions
1778 to {Target,Source}Signatures(). Deprecate the old names but support
1779 them for backwards compatibility.
1781 - Add internal SCons.Node.FS.{Dir,File}.Entry() methods.
1783 - Interpolate the null string if an out-of-range subscript is used
1784 for a construction variable.
1786 - Fix the internal Link function so that it properly links or copies
1787 files in subsidiary BuildDir directories.
1789 - Refactor the internal representation of a single execution instance
1790 of an action to eliminate redundant signature calculations.
1792 - Eliminate redundant signature calculations for Nodes.
1794 - Optimize out calling hasattr() before accessing attributes.
1796 - Say "Cleaning targets" (not "Building...") when the -c option is
1801 - Quote the "Entering directory" message like Make.
1803 From Stefan Reichor:
1805 - Add support for using Ghostscript to convert Postscript to PDF files.
1809 - Add a standalone "Alias" function (separate from an Environment).
1811 - Make Export() work for local variables.
1813 - Support passing a dictionary to Export().
1815 - Support Import('*') to import everything that's been Export()ed.
1817 - Fix an undefined exitvalmap on Win32 systems.
1819 - Support new SetOption() and GetOption() functions for setting
1820 various command-line options from with an SConscript file.
1822 - Deprecate the old SetJobs() and GetJobs() functions in favor of
1823 using the new generic {Set,Get}Option() functions.
1825 - Fix a number of tests that searched for a Fortran compiler using the
1826 external PATH instead of what SCons would use.
1828 - Fix the interaction of SideEffect() and BuildDir() so that (for
1829 example) PDB files get put correctly in a BuildDir().
1833 - Contribute the "Autoscons" code for Autoconf-like checking for
1834 the existence of libraries, header files and the like.
1836 - Have the Tool() function add the tool name to the $TOOLS
1837 construction variable.
1841 - Support the C preprocessor #import statement.
1843 - Allow the SharedLibrary() Builder on Win32 systems to be able to
1844 register a newly-built dll using regsvr32.
1846 - Add a Builder for Windows type library (.tlb) files from IDL files.
1848 - Add an IDL scanner.
1850 - Refactor the Fortran, C and IDL scanners to share common logic.
1852 - Add .srcpath and .srcdir attributes to $TARGET and $SOURCE.
1854 From Christoph Wiedemann:
1856 - Integrate David Snopek's "Autoscons" code as the new SConf
1857 configuration subsystem, including caching of values between
1858 runs (using normal SCons dependency mechanisms), tests, and
1863 RELEASE 0.13 - Mon, 31 Mar 2003 20:22:00 -0600
1867 - Fix a bug when BuildDir(duplicate=0) is used and SConscript
1868 files are called from within other SConscript files.
1870 - Support (older) versions of Perforce which don't set the Windows
1875 RELEASE 0.12 - Thu, 27 Mar 2003 23:52:09 -0600
1879 - Added support for the Perforce source code management system.
1881 - Fix str(Node.FS) so that it returns a path relative to the calling
1882 SConscript file's directory, not the top-level directory.
1884 - Added support for a separate src_dir argument to SConscript()
1885 that allows explicit specification of where the source files
1886 for an SConscript file can be found.
1888 - Support more easily re-usable flavors of command generators by
1889 calling callable variables when strings are expanded.
1893 - Added an INSTALL construction variable that can be set to a function
1894 to control how the Install() and InstallAs() Builders install files.
1895 The default INSTALL function now copies, not links, files.
1897 - Remove deprecated features: the "name" argument to Builder objects,
1898 and the Environment.Update() method.
1900 - Add an Environment.SourceCode() method to support fetching files
1901 from source code systems. Add factory methods that create Builders
1902 to support BitKeeper, CVS, RCS, and SCCS. Add support for fetching
1903 files from RCS or SCCS transparently (like GNU Make).
1905 - Make the internal to_String() function more efficient.
1907 - Make the error message the same as other build errors when there's a
1908 problem unlinking a target file in preparation for it being built.
1910 - Make TARGET, TARGETS, SOURCE and SOURCES reserved variable names and
1911 warn if the user tries to set them in a construction environment.
1913 - Add support for Tar and Zip files.
1915 - Better documentation of the different ways to export variables to a
1916 subsidiary SConscript file. Fix documentation bugs in a tools
1917 example, places that still assumed SCons split strings on white
1920 - Support fetching arbitrary files from the TARGETS or SOURCES lists
1921 (e.g. ${SOURCES[2]}) when calculating the build signature of a
1924 - Don't silently swallow exceptions thrown by Scanners (or other
1925 exceptions while finding a node's dependent children).
1927 - Push files to CacheDir() before calling the superclass built()
1928 method (which may clear the build signature as part of clearing
1929 cached implicit dependencies, if the file has a source scanner).
1930 (Bug reported by Jeff Petkau.)
1932 - Raise an internal error if we attempt to push a file to CacheDir()
1933 with a build signature of None.
1935 - Add an explicit Exit() function for terminating early.
1937 - Change the documentation to correctly describe that the -f option
1938 doesn't change to the directory in which the specified file lives.
1940 - Support changing directories locally with SConscript directory
1941 path names relative to any SConstruct file specified with -f.
1942 This allows you to build in another directory by simply changing
1943 there and pointing at the SConstruct file in another directory.
1945 - Change the default SConscriptChdir() behavior to change to the
1946 SConscript directory while it's being read.
1948 - Fix an exception thrown when the -U option was used with no
1949 Default() target specified.
1951 - Fix -u so that it builds things in corresponding build directories
1952 when used in a source directory.
1956 - Add SharedObject() support to the masm tool.
1958 - Fix WhereIs() to return normalized paths.
1962 - Don't copy a built file to a CacheDir() if it's already there.
1964 - Avoid partial copies of built files in a CacheDir() by copying
1965 to a temporary file and renaming.
1969 - Fix incorrect dependency-cycle errors when an Aliased source doesn't
1974 RELEASE 0.11 - Tue, 11 Feb 2003 05:24:33 -0600
1978 - Add support for IRIX and the SGI MIPSPro tool chain.
1980 - Support using the MSVC tool chain when running Cygwin Python.
1984 - Avoid losing signal bits in the exit status from a command,
1985 helping terminate builds on interrupt (CTRL+C).
1989 - Added new AddPreAction() and AddPostAction() functions that support
1990 taking additional actions before or after building specific targets.
1992 - Add support for the PharLap ETS tool chain.
1996 - Allow Python function Actions to specify a list of construction
1997 variables that should be included in the Action's signature.
1999 - Allow libraries in the LIBS variable to explicitly include the prefix
2000 and suffix, even when using the GNU linker.
2001 (Bug reported by Neal Becker.)
2003 - Use DOS-standard CR-LF line endings in the scons.bat file.
2004 (Bug reported by Gary Ruben.)
2006 - Doc changes: Eliminate description of deprecated "name" keyword
2007 argument from Builder definition (reported by Gary Ruben).
2009 - Support using env.Append() on BUILDERS (and other dictionaries).
2010 (Bug reported by Bj=F6rn Bylander.)
2012 - Setting the BUILDERS construction variable now properly clears
2013 the previous Builder attributes from the construction Environment.
2014 (Bug reported by Bj=F6rn Bylander.)
2016 - Fix adding a prefix to a file when the target isn't specified.
2017 (Bug reported by Esa Ilari Vuokko.)
2019 - Clean up error messages from problems duplicating into read-only
2020 BuildDir directories or into read-only files.
2022 - Add a CommandAction.strfunction() method, and add an "env" argument
2023 to the FunctionAction.strfunction() method, so that all Action
2024 objects have strfunction() methods, and the functions for building
2025 and returning a string both take the same arguments.
2027 - Add support for new CacheDir() functionality to share derived files
2028 between builds, with related options --cache-disable, --cache-force,
2031 - Change the default behavior when no targets are specified to build
2032 everything in the current directory and below (like Make). This
2033 can be disabled by specifying Default(None) in an SConscript.
2035 - Revamp SCons installation to fix a case-sensitive installation
2036 on Win32 systems, and to add SCons-specific --standard-lib,
2037 --standalone-lib, and --version-lib options for easier user
2038 control of where the libraries get installed.
2040 - Fix the ability to directly import and use Platform and Tool modules
2041 that have been implicitly imported into an Environment().
2043 - Add support for allowing an embedding interface to annotate a node
2046 - Extend the SConscript() function to accept build_dir and duplicate
2047 keyword arguments that function like a BuildDir() call.
2051 - Fix the output of -c -n when directories are involved, so it
2056 - Use a different shared object suffix (.os) when using gcc so shared
2057 and static objects can exist side-by-side in the same directory.
2059 - Allow the same object files on Win32 to be linked into either
2060 shared or static libraries.
2062 - Cache implicit cache values when using --implicit-cache.
2066 RELEASE 0.10 - Thu, 16 Jan 2003 04:11:46 -0600
2068 From Derrick 'dman' Hudson:
2070 - Support Repositories on other file systems by symlinking or
2071 copying files when hard linking won't work.
2075 - Remove Python bytecode (*.pyc) files from the scons-local packages.
2077 - Have FunctionActions print a description of what they're doing
2078 (a representation of the Python call).
2080 - Fix the Install() method so that, like other actions, it prints
2081 what would have happened when the -n option is used.
2083 - Don't create duplicate source files in a BuildDir when the -n
2086 - Refactor the Scanner interface to eliminate unnecessary Scanner
2087 calls and make it easier to write efficient scanners.
2089 - Added a "recursive" flag to Scanner creation that specifies the
2090 Scanner should be invoked recursively on dependency files returned
2093 - Significant performance improvement from using a more efficient
2094 check, throughout the code, for whether a Node has a Builder.
2096 - Fix specifying only the source file to MultiStepBuilders such as
2097 the Program Builder. (Bug reported by Dean Bair.)
2099 - Fix an exception when building from a file with the same basename as
2100 the subdirectory in which it lives. (Bug reported by Gerard Patel.)
2102 - Fix automatic deduction of a target file name when there are
2103 multiple source files specified; the target is now deduced from just
2104 the first source file in the list.
2106 - Documentation fixes: better initial explanation of SConscript files;
2107 fix a misformatted "table" in the StaticObject explanation.
2109 From Steven Knight and Steve Leblanc:
2111 - Fix the -c option so it will remove symlinks.
2115 - Add a Clean() method to support removing user-specified targets
2116 when using the -c option.
2118 - Add a development script for running SCons through PyChecker.
2120 - Clean up things found by PyChecker (mostly unnecessary imports).
2122 - Add a script to use HappyDoc to create HTML class documentation.
2126 - Make the Environment.get() method return None by default.
2130 - Add SetJobs() and GetJobs() methods to allow configuration of the
2131 number of default jobs (still overridden by -j).
2133 - Convert the .sconsign file format from ASCII to a pickled Python
2136 - Error message cleanups: Made consistent the format of error
2137 messages (now all start with "scons: ***") and warning messages (now
2138 all start with "scons: warning:"). Caught more cases with the "Do
2139 not know how to build" error message.
2141 - Added support for the MinGW tool chain.
2143 - Added a --debug=includes option.
2147 RELEASE 0.09 - Thu, 5 Dec 2002 04:48:25 -0600
2151 - Add a Prepend() method to Environments, to append values to
2152 the beginning of construction variables.
2156 - Add long command-line support to the "lib" Tool (Microsoft library
2161 - Allow $$ in a string to be passed through as $.
2163 - Support file names with odd characters in them.
2165 - Add support for construction variable substition on scanner
2166 directories (in CPPPATH, F77PATH, LIBPATH, etc.).
2168 From Charles Crain and Steven Knight:
2170 - Add Repository() functionality, including the -Y option.
2174 - Fix auto-deduction of target names so that deduced targets end
2175 up in the same subdirectory as the source.
2177 - Don't remove source files specified on the command line!
2179 - Suport the Intel Fortran Compiler (ifl.exe).
2181 - Supply an error message if there are no command-line or
2182 Default() targets specified.
2184 - Fix the ASPPCOM values for the GNU assembler.
2185 (Bug reported by Brett Polivka.)
2187 - Fix an exception thrown when a Default() directory was specified
2188 when using the -U option.
2190 - Issue a warning when -c can't remove a target.
2192 - Eliminate unnecessary Scanner calls by checking for the
2193 existence of a file before scanning it. (This adds a generic
2194 hook to check an arbitrary condition before scanning.)
2196 - Add explicit messages to tell when we're "Reading SConscript files
2197 ...," "done reading SConscript files," "Building targets," and
2198 "done building targets." Add a -Q option to supress these.
2200 - Add separate $SHOBJPREFIX and $SHOBJSUFFIX construction variables
2201 (by default, the same as $OBJPREFIX and $OBJSUFFIX).
2203 - Add Make-like error messages when asked to build a source file,
2204 and before trying to build a file that doesn't have all its source
2205 files (including when an invalid drive letter is used on WIN32).
2207 - Add an scons-local-{version} package (in both .tar.gz and .zip
2208 flavors) to help people who want to ship SCons as a stand-alone
2209 build tool in their software packages.
2211 - Prevent SCons from unlinking files in certain situations when
2212 the -n option is used.
2214 - Change the name of Tool/lib.py to Tool/mslib.py.
2216 From Steven Knight and Anthony Roach:
2218 - Man page: document the fact that Builder calls return Node objects.
2222 - Refactor option processing to use our own version of Greg Ward's
2223 Optik module, modified to run under Python 1.5.2.
2225 - Add a ParseConfig() command to modify an environment based on
2226 parsing output from a *-config command.
2230 - Fix interpretation of '#/../foo' on Win32 systems.
2234 - Fixed use of command lines with spaces in their arguments,
2235 and use of Nodes with spaces in their string representation.
2237 - Make access and modification times of files in a BuildDir match
2238 the source file, even when hard linking isn't available.
2240 - Make -U be case insensitive on Win32 systems.
2242 - Issue a warning and continue when finding a corrupt .sconsign file.
2244 - Fix using an alias as a dependency of a target so that if one of the
2245 alias' dependencies gets rebuilt, the resulting target will, too.
2247 - Fix differently ordered targets causing unnecessary rebuilds
2248 on case insensitive systems.
2250 - Use os.system() to execute external commands whenever the "env"
2251 utility is available, which is much faster than fork()/exec(),
2252 and fixes the -j option on several platforms.
2254 - Fix use of -j with multiple targets.
2256 - Add an Options() object for friendlier accomodation of command-
2259 - Add support for Microsoft VC++ precompiled header (.pch) files,
2260 debugger (.pdb) files, and resource (.rc) files.
2262 - Don't compute the $_CPPINCFLAGS, $_F77INCFLAGS, $_LIBFLAGS and
2263 $_LIBDIRFLAGS variables each time a command is executed, define
2264 them so they're computed only as needed. Add a new _concat
2265 function to the Environment that allows people to define their
2266 own similar variables.
2268 - Fix dependency scans when $LIBS is overridden.
2270 - Add EnsurePythonVersion() and EnsureSConsVersion() functions.
2272 - Fix the overly-verbose stack trace on ListBuilder build errors.
2274 - Add a SetContentSignatureType() function, allowing use of file
2275 timestamps instead of MD5 signatures.
2277 - Make -U and Default('source') fail gracefully.
2279 - Allow the File() and Dir() methods to take a path-name string as
2280 the starting directory, in addition to a Dir object.
2282 - Allow the command handler to be selected via the SPAWN, SHELL
2283 and ESCAPE construction variables.
2285 - Allow construction variables to be overridden when a Builder
2290 - Dynamically check for the existence of utilities with which to
2291 initialize Environments by default.
2295 RELEASE 0.08 - Mon, 15 Jul 2002 12:08:51 -0500
2299 - Fixed a bug with relative CPPPATH dirs when using BuildDir().
2300 (Bug reported by Bob Summerwill.)
2302 - Added a warnings framework and a --warn option to enable or
2305 - Make the C scanner warn users if files referenced by #include
2306 directives cannot be found and --warn=dependency is specified.
2308 - The BUILDERS construction variable should now be a dictionary
2309 that maps builder names to actions. Existing uses of lists,
2310 and the Builder name= keyword argument, generate warnings
2311 about use of deprecated features.
2313 - Removed the "shared" keyword argument from the Object and
2316 - Added separated StaticObject, SharedObject, StaticLibrary and
2317 SharedLibrary builders. Made Object and Library synonyms for
2318 StaticObject and StaticLibrary, respectively.
2320 - Add LIBS and LIBPATH dependencies for shared libraries.
2322 - Removed support for the prefix, suffix and src_suffix arguments
2323 to Builder() to be callable functions.
2325 - Fix handling file names with multiple dots.
2327 - Allow a build directory to be outside of the SConstruct tree.
2329 - Add a FindFile() function that searches for a file node with a
2332 - Add $CPPFLAGS to the shared-object command lines for g++ and gcc.
2334 From Charles Crain and Steven Knight:
2336 - Add a "tools=" keyword argument to Environment instantiation,
2337 and a separate Tools() method, for more flexible specification
2338 of tool-specific environment changes.
2342 - Add a "platform=" keyword argument to Environment instantiation,
2343 and a separate Platform() method, for more flexible specification
2344 of platform-specific environment changes.
2346 - Updated README instructions and setup.py code to catch an
2347 installation failure from not having distutils installed.
2349 - Add descriptions to the -H help text for -D, -u and -U so
2350 people can tell them apart.
2352 - Remove the old feature of automatically splitting strings
2353 of file names on white space.
2355 - Add a dependency Scanner for native Fortran "include" statements,
2356 using a new "F77PATH" construction variable.
2358 - Fix C #include scanning to detect file names with characters like
2361 - Add more specific version / build output to the -v option.
2363 - Add support for the GNU as, Microsoft masm, and nasm assemblers.
2365 - Allow the "target" argument to a Builder call to be omitted, in
2366 which case the target(s) are deduced from the source file(s) and the
2367 Builder's specified suffix.
2369 - Add a tar archive builder.
2371 - Add preliminary support for the OS/2 Platform, including the icc
2376 - Fix --implicit-cache if the scanner returns an empty list.
2380 - Add a "multi" keyword argument to Builder creation that specifies
2381 it's okay to call the builder multiple times for a target.
2383 - Set a "multi" on Aliases so multiple calls will append to an Alias.
2385 - Fix emitter functions' use of path names when using BuildDir or
2388 - Fix --implicit-cache causing redundant rebuilds when the header
2391 - Fix --implicit-cache when a file has no implicit dependencies and
2392 its source is generated.
2394 - Make the drive letters on Windows always be the same case, so that
2395 changes in the case of drive letters don't cause a rebuild.
2397 - Fall back to importing the SCons.TimeStamp module if the SCons.MD5
2398 module can't be imported.
2400 - Fix interrupt handling to guarantee that a single interrupt will
2401 halt SCons both when using -j and not.
2403 - Fix .sconsign signature storage so that output files of one build
2404 can be safely used as input files to another build.
2406 - Added a --debug=time option to print SCons execution times.
2408 - Print an error message if a file can't be unlinked before being
2409 built, rather than just silently terminating the build.
2411 - Add a SideEffect() method that can be used to tell the build
2412 engine that a given file is created as a side effect of building
2413 a target. A file can be specified as a side effect of more than
2414 one build comand, in which case the commands will not be executed
2417 - Significant performance gains from not using our own version of
2418 the inefficient stock os.path.splitext() method, caching source
2419 suffix computation, code cleanup in MultiStepBuilder.__call__(),
2420 and replicating some logic in scons_subst().
2422 - Add --implicit-deps-changed and --implicit-deps-unchanged options.
2424 - Add a GetLaunchDir() function.
2426 - Add a SetBuildSignatureType() function.
2430 - Add an Append() method to Environments, to append values to
2431 construction variables.
2433 - Change the name of Update() to Replace(). Keep Update() as a
2434 deprecated synonym, at least for now.
2436 From Terrel Shumway:
2438 - Use a $PYTHON construction variable, initialized to sys.executable,
2439 when using Python to build parts of the SCons packages.
2441 - Use sys.prefix, not sys.exec_prefix, to find pdb.py.
2445 RELEASE 0.07 - Thu, 2 May 2002 13:37:16 -0500
2449 - Changes to build SCons packages on IRIX (and other *NIces).
2451 - Don't create a directory Node when a file already exists there,
2454 - Add 'dirs' and 'names' keyword arguments to SConscript for
2455 easier specification of subsidiary SConscript files.
2459 - Internal cleanup of environment passing to function Actions.
2461 - Builders can now take arbitrary keyword arguments to create
2462 attributes to be passed to: command generator functions,
2463 FunctionAction functions, Builder emitter functions (below),
2464 and prefix/suffix generator functions (below).
2466 - Command generator functions can now return ANYTHING that can be
2467 converted into an Action (a function, a string, a CommandGenerator
2468 instance, even an ActionBase instance).
2470 - Actions now call get_contents() with the actual target and source
2471 nodes used for the build.
2473 - A new DictCmdGenerator class replaces CompositeBuilder to support
2474 more flexible Builder behavior internally.
2476 - Builders can now take an emitter= keyword argument. An emitter
2477 is a function that takes target, source, and env argument, then
2478 return a 2-tuple of (new sources, new targets). The emitter is
2479 called when the Builder is __call__'ed, allowing a user to modify
2480 source and target lists.
2482 - The prefix, suffix and src_suffix Builder arguments now take a
2483 callable as well a string. The callable is passed the Environment
2484 and any extra Builder keyword arguments and is expected to return
2485 the appropriate prefix or suffix.
2487 - CommandActions can now be a string, a list of command + argument
2488 strings, or a list of commands (strings or lists).
2490 - Added shared library support. The Object and Library Builders now
2491 take a "shared=1" keyword argument to specify that a shared object
2492 or shared library should be built. It is an error to try to build
2493 static objects into a shared library or vice versa.
2495 - Win32 support for .def files has been added. Added the Win32-specific
2496 construction variables $WIN32DEFPREFIX, $WIN32DEFSUFFIX,
2497 $WIN32DLLPREFIX and $WIN32IMPLIBPREFIX. When building a .dll,
2498 the new construction variable $WIN32_INSERT_DEF, controls whether
2499 the appropriately-named .def file is inserted into the target
2500 list (if not already present). A .lib file is always added to
2501 a Library build if not present in the list of targets.
2503 - ListBuilder now passes all targets to the action, not just the first.
2505 - Fix so that -c now deletes generated yacc .h files.
2507 - Builder actions and emitter functions can now be initialized, through
2508 construction variables, to things other than strings.
2510 - Make top-relative '#/dir' lookups work like '#dir'.
2512 - Fix for relative CPPPATH directories in subsidiary SConscript files
2515 - Add a for_signature argument to command generators, so that
2516 generators that need to can return distinct values for the
2517 command signature and for executing the command.
2521 - Create a better scons.bat file from a py2bat.py script on the Python
2522 mailing list two years ago (modeled after pl2bat.pl).
2526 - Fix so that -c -n does *not* remove the targets!
2528 - Man page: Add a hierarchical libraries + Program example.
2530 - Support long MSVC linker command lines through a builder action
2531 that writes to a temporary file and uses the magic MSVC "link @file"
2532 argument syntax if the line is longer than 2K characters.
2534 - Fix F77 command-line options on Win32 (use /Fo instead of -o).
2536 - Use the same action to build from .c (lower case) and .C (upper
2537 case) files on case-insensitive systems like Win32.
2539 - Support building a PDF file directly from a TeX or LaTeX file
2540 using pdftex or pdflatex.
2542 - Add a -x option to runtest.py to specify the script being tested.
2543 A -X option indicates it's an executable, not a script to feed
2544 to the Python interpreter.
2546 - Add a Split() function (identical to SCons.Util.argmunge()) for use
2547 in the next release, when Builders will no longer automatically split
2548 strings on white space.
2552 - Add the SConscriptChdir() method.
2556 - Fix --debug=tree when used with directory targets.
2558 - Significant internal restructuring of Scanners and Taskmaster.
2560 - Added new --debug=dtree option.
2562 - Fixes for --profile option.
2564 - Performance improvement in construction variable substitution.
2566 - Implemented caching of content signatures, plus added --max-drift
2567 option to control caching.
2569 - Implemented caching of dependency signatures, enabled by new
2570 --implicit-cache option.
2572 - Added abspath construction variable modifier.
2574 - Added $SOURCE variable as a synonym for $SOURCES[0].
2576 - Write out .sconsign files on error or interrupt so intermediate
2577 build results are saved.
2579 - Change the -U option to -D. Make a new -U that builds just the
2580 targets from the local SConscript file.
2582 - Fixed use of sys.path so Python modules can be imported from
2583 the SConscript directory.
2585 - Fix for using Aliases with the -u, -U and -D options.
2587 - Fix so that Nodes can be passed to SConscript files.
2591 - Changes for official Debian packaging.
2595 RELEASE 0.06 - Thu, 28 Mar 2002 01:24:29 -0600
2599 - Fix command generators to expand construction variables.
2601 - Make FunctionAction arguments be Nodes, not strings.
2603 From Stephen Kennedy:
2605 - Performance: Use a dictionary, not a list, for a Node's parents.
2609 - Add .zip files to the packages we build.
2611 - Man page: document LIBS, fix a typo, document ARGUMENTS.
2613 - Added RANLIB and RANLIBFLAGS construction variables. Only use them
2614 in ARCOM if there's a "ranlib" program on the system.
2616 - Add a configurable CFILESUFFIX for the Builder of .l and .y files
2619 - Add a CXXFile Builder that turns .ll and .yy files into .cc files
2620 (configurable via a CXXFILESUFFIX construction variable).
2622 - Use the POSIX-standard lex -t flag, not the GNU-specific -o flag.
2623 (Bug reported by Russell Christensen.)
2625 - Fixed an exception when CPPPATH or LIBPATH is a null string.
2626 (Bug reported by Richard Kiss.)
2628 - Add a --profile=FILE option to make profiling SCons easier.
2630 - Modify the new DVI builder to create .dvi files from LaTeX (.ltx
2633 - Add support for Aliases (phony targets).
2635 - Add a WhereIs() method for searching for path names to executables.
2637 - Add PDF and PostScript document builders.
2639 - Add support for compiling Fortran programs from a variety of
2640 suffixes (a la GNU Make): .f, .F, .for, .FOR, .fpp and .FPP
2642 - Support a CPPFLAGS variable on all default commands that use the
2647 - Add support for the -U option.
2649 - Allow CPPPATH, LIBPATH and LIBS to be specified as white-space
2652 - Add a document builder to create .dvi files from TeX (.tex) files.
2656 - Fix: Construction variables with values of 0 were incorrectly
2659 - Support env['VAR'] to fetch construction variable values.
2661 - Man page: document Precious().
2665 RELEASE 0.05 - Thu, 21 Feb 2002 16:50:03 -0600
2669 - Set PROGSUFFIX to .exe under Cygwin.
2673 - Allow a library to specified as a command-line source file, not just
2674 in the LIBS construction variable.
2676 - Compensate for a bug in os.path.normpath() that returns '' for './'
2679 - More performance optimizations: cache #include lines from files,
2680 eliminate unnecessary calls.
2682 - If a prefix or suffix contains white space, treat the resulting
2683 concatenation as separate arguments.
2685 - Fix irregularities in the way we fetch DevStudio information from
2686 the Windows registry, and in our registry error handling.
2690 - Flush stdout after print so it intermixes correctly with stderr
2693 - Allow Scanners to return a list of strings, and document how to
2694 write your own Scanners.
2696 - Look up implicit (scanned) dependencies relative to the directory
2697 of file being scanned.
2699 - Make writing .sconsign files more robust by first trying to write
2700 to a temp file that gets renamed.
2702 - Create all of the directories for a list of targets before trying
2703 to build any of the targets.
2705 - WIN32 portability fixes in tests.
2707 - Allow the list of variables exported to an SConscript file to be
2710 - Document the overlooked LIBPATH construction variable.
2711 (Bug reported by Eicke Godehardt.)
2713 - Fix so that Ignore() ignores indirect, implicit dependencies
2714 (included files), not just direct dependencies.
2716 - Put the man page in the Debian distribution.
2718 - Run HTML docs through tidy to clean up the HTML (for Konqueror).
2720 - Add preliminary support for Unicode strings.
2722 - Efficiency: don't scan dependencies more than once during the
2725 - Fix the -c option so it doesn't stop removing targets if one doesn't
2727 (Bug reported by Paul Connell.)
2729 - Fix the --debug=pdb option when run on Windows NT.
2730 (Bug reported by Paul Connell.)
2732 - Add support for the -q option.
2736 - Add support for the -u option.
2738 - Add .cc and .hh file suffixes to the C Scanner.
2742 - Make the scons script return an error code on failures.
2744 - Add support for using code to generate a command to build a target.
2748 RELEASE 0.04 - Wed, 30 Jan 2002 11:09:42 -0600
2752 - Significant performance improvements in the Node.FS and
2755 - Fix signatures of binary files on Win32 systems.
2757 - Allow LIBS and LIBPATH to be strings, not just arrays.
2759 - Print a traceback if a Python-function builder throws an exception.
2763 - Fix using a directory as a Default(), and allow Default() to
2764 support white space in file names for strings in arrays.
2766 - Man page updates: corrected some mistakes, documented various
2767 missing Environment methods, alphabetized the construction
2768 variables and other functions, defined begin and end macros for
2769 the example sections, regularized white space separation, fixed
2770 the use of Export() in the Multiple Variants example.
2772 - Function action fixes: None is now a successful return value.
2773 Exceptions are now reported. Document function actions.
2775 - Add 'Action' and 'Scanner' to the global keywords so SConscript
2776 files can use them too.
2778 - Removed the Wrapper class between Nodes and Walkers.
2780 - Add examples using Library, LIBS, and LIBPATH.
2782 - The C Scanner now always returns a sorted list of dependencies
2783 so order changes don't cause unnecessary rebuilds.
2785 - Strip $(-$) bracketed text from command lines. Use this to
2786 surround $_INCDIRS and $_LIBDIRS so we don't rebuild in response
2787 to changes to -I or -L options.
2789 - Add the Ignore() method to ignore dependencies.
2791 - Provide an error message when a nonexistent target is specified
2792 on the command line.
2794 - Remove targets before building them, and add an Environment
2795 Precious() method to override that.
2797 - Eliminate redundant calls to the same builder when the target is a
2798 list of targets: Add a ListBuilder class that wraps Builders to
2799 handle lists atomically. Extend the Task class to support building
2800 and updating multiple targets in a single Task. Simplify the
2801 interface between Task and Taskmaster.
2803 - Add a --debug=pdb option to re-run SCons under the Python debugger.
2805 - Only compute a build signature once for each node.
2807 - Changes to our sys.path[] manipulation to support installation into
2808 an arbitrary --prefix value.
2812 - Add var=value command-line arguments.
2816 RELEASE 0.03 - Fri, 11 Jan 2002 01:09:30 -0600
2820 - Performance improvements in the Node.FS and Sig.Calculator classes.
2822 - Add the InstallAs() method.
2824 - Execute commands through an external interpreter (sh, cmd.exe, or
2825 command.com) to handle redirection metacharacters.
2827 - Allow the user to supply a command handler.
2831 - Search both /usr/lib and /usr/local/lib for scons directories by
2832 adding them both to sys.path, with whichever is in sys.prefix first.
2834 - Fix interpreting strings of multiple white-space separated file names
2835 as separate file names, allowing prefixes and suffixes to be appended
2836 to each individually.
2838 - Refactor to move CompositeBuilder initialization logic from the
2839 factory wrapper to the __init__() method, and allow a Builder to
2840 have both an action and a src_builder (or array of them).
2842 - Refactor BuilderBase.__call__() to separate Node creation/lookup
2843 from initialization of the Node's builder information.
2845 - Add a CFile Builder object that supports turning lex (.l) and
2846 yacc (.y) files into .c files.
2848 - Document: variable interpretation attributes; how to propogate
2849 the user's environment variables to executed commands; how to
2850 build variants in multiple BuildDirs.
2852 - Collect String, Dict, and List type-checking in common utility
2853 routines so we can accept User{String,Dict,List}s all over.
2855 - Put the Action factory and classes into their own module.
2857 - Use one CPlusPlusAction in the Object Builder's action dictionary,
2858 instead of letting it create multiple identical instances.
2860 - Document the Install() and InstallAs() methods.
2864 - Require that a Builder be given a name argument, supplying a
2865 useful error message when it isn't.
2869 - Add a "duplicate" keyword argument to BuildDir() that can be set
2870 to prevent linking/copying source files into build directories.
2872 - Add a "--debug=tree" option to print an ASCII dependency tree.
2874 - Fetch the location of the Microsoft Visual C++ compiler(s) from
2875 the Registry, instead of hard-coding the location.
2877 - Made Scanner objects take Nodes, not path names.
2879 - Have the C Scanner cache the #include file names instead of
2880 (re-)scanning the file each time it's called.
2882 - Created a separate class for parent "nodes" of file system roots,
2883 eliminating the need for separate is-parent-null checks everywhere.
2885 - Removed defined __hash__() and __cmp() methods from FS.Entry, in
2886 favor of Python's more efficient built-in identity comparisons.
2890 RELEASE 0.02 - Sun, 23 Dec 2001 19:05:09 -0600
2894 - Added the Install(), BuildDir(), and Export() methods.
2896 - Fix the -C option by delaying setting the top of the FS tree.
2898 - Avoid putting the directory path on the libraries in the LIBS
2899 construction variable.
2901 - Added a GetBuildPath() method to return the full path to the
2902 Node for a specified string.
2904 - Fixed variable substitution in CPPPATH and LIBPATH.
2908 - Fixed the version comment in the scons.bat (the UNIX geek used
2911 - Fix to setup.py so it doesn't require a sys.argv[1] argument.
2913 - Provide make-like warning message for "command not found" and
2916 - Added an EXAMPLES section to the man page.
2918 - Make Default() targets properly relative to their SConscript
2919 file's subdirectory.
2923 - Documented CXXFLAGS, CXXCOM, and CPPPATH.
2925 - Fixed SCONS_LIB_DIR to work as documented.
2927 - Made Default() accept Nodes as arguments.
2929 - Changed Export() to make it easier to use.
2931 - Added the Import() and Return() methods.
2935 RELEASE 0.01 - Thu Dec 13 19:25:23 CST 2001
2937 A brief overview of important functionality available in release 0.01:
2939 - C and C++ compilation on POSIX and Windows NT.
2941 - Automatic scanning of C/C++ source files for #include dependencies.
2943 - Support for building libraries; setting construction variables
2944 allows creation of shared libraries.
2946 - Library and C preprocessor search paths.
2948 - File changes detected using MD5 signatures.
2950 - User-definable Builder objects for building files.
2952 - User-definable Scanner objects for scanning for dependencies.
2954 - Parallel build (-j) support.
2956 - Dependency cycles detected.
2958 - Linux packages available in RPM and Debian format.
2960 - Windows installer available.