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).
91 - Speed up writing the .sconsign file at the end of a run by only
92 calling sync() once at the end, not after every entry.
96 - When compiling with Microsoft Visual Studio, don't include the ATL and
97 MFC directories in the default INCLUDE and LIB environment variables.
99 - Remove the following deprecated features: the ParseConfig()
100 global function (deprecated in 0.93); the misspelled "validater"
101 keyword to the Options.Add() method (deprecated in 0.91); the
102 SetBuildSignatureType(), SetContentSignatureType(), SetJobs() and
103 GetJobs() global functions (deprecated in 0.14).
105 - Fix problems with corrupting the .sconsign.dblite file when
106 interrupting builds by writing to a temporary file and renaming,
107 not writing the file directly.
109 - Fix a 0.96 regression where when running with -k, targets built from
110 walking dependencies later on the command line would not realize
111 that a dependency had failed an earlier build attempt, and would
112 try to rebuild the dependent targets.
114 - Change the final messages when using -k and errors occur from
115 "{building,cleaning} terminated because of errors" to "done
116 {building,cleaning} targets (errors occurred during {build,clean})."
118 - Allow Configure.CheckFunc() to take an optional header argument
119 (already supported by Conftest.py) to specify text at the top of
120 the compiled test file.
122 - Fix the --debug=explain output when a Python function action changed
123 so it prints a meaningful string, not the binary representation of
124 the function contents.
126 - Allow a ListOption's default value(s) to be a Python list of specified
127 values, not just a string containing a comma-separated list of names.
129 - Add a ParseDepends() function that will parse up a list of explicit
130 dependencies from a "make depend" style file.
132 - Support the ability to change directory when executing an Action
133 through "chdir" keyword arguments to Action and Builder creation
136 - Fix handling of Action ojects (and other callables that don't match
137 our calling arguments) in construction variable expansions.
139 - On Win32, install scons.bat in the Python directory when installing
140 from setup.py. (The bdist_wininst installer was already doing this.)
142 - Fix env.SConscript() when called with a list of SConscipt files.
143 (The SConscript() global function already worked properly.)
145 - Add a missing newline to the end of the --debug=explain "unknown
148 - Enhance ParseConfig() to work properly for spaces in between the -I,
149 -L and -l options and their arguments.
151 - Packaging build fix: Rebuild the files that are use to report the
152 --version of SCons whenever the development version number changes.
154 - Fix the ability to specify a target_factory of Dir() to a Builder,
155 which the default create-a-directory Builder was interfering with.
157 - Mark a directory as built if it's created as part of the preparation
158 for another target, to avoid trying to build it again when it comes
159 up in the target list.
161 - Allow a function with the right calling signature to be put directly
162 in an Environment's BUILDERS dictionary, making for easier creation
163 and use of wrappers (pseudo-Builders) that call other Builders.
165 - On Python 2.x, wrap lists of Nodes returned by Builders in a UserList
166 object that adds a method that makes str() object return a string
167 with all of the Nodes expanded to their path names. (Builders under
168 Python 1.5.2 still return lists to avoid TypeErrors when trying
169 to extend() list, so Python 1.5.2 doesn't get pretty-printing of Node
170 lists, but everything should still function.)
172 - Allow Aliases to have actions that will be executed whenever
173 any of the expanded Alias targets are out of date.
175 - Fix expansion of env.Command() overrides within target and
178 - Support easier customization of what's displayed by various default
179 actions by adding lots of new construction variables: $ARCOMSTR,
180 $ASCOMSTR, $ASPPCOMSTR, $BIBTEXCOMSTR, $BITKEEPERCOMSTR, $CCCOMSTR,
181 $CVSCOMSTR, $CXXCOMSTR, $DCOMSTR, $DVIPDFCOMSTR, $F77COMSTR,
182 $F90COMSTR, $F95COMSTR, $FORTRANCOMSTR, $GSCOMSTR, $JARCOMSTR,
183 $JAVACCOMSTR, $JAVAHCOMSTR, $LATEXCOMSTR, $LEXCOMSTR, $LINKCOMSTR,
184 $M4COMSTR, $MIDLCOMSTR, $P4COMSTR, $PCHCOMSTR, $PDFLATEXCOMSTR,
185 $PDFTEXCOMSTR, $PSCOMSTR, $QT_MOCFROMCXXCOMSTR, $QT_MOCFROMHCOMSTR,
186 $QT_UICCOMSTR, $RCCOMSTR, $REGSVRCOMSTR, $RCS_COCOMSTR, $RMICCOMSTR,
187 $SCCSCOMSTR, $SHCCCOMSTR, $SHCXXCOMSTR, $SHF77COMSTR, $SHF90COMSTR,
188 $SHF95COMSTR, $SHFORTRANCOMSTR, $SHLINKCOMSTR, $SWIGCOMSTR,
189 $TARCOMSTR, $TEXCOMSTR, $YACCCOMSTR and $ZIPCOMSTR.
191 - Add an optional "map" keyword argument to ListOption() that takes a
192 dictionary to map user-specified values to legal values from the list
193 (like EnumOption() already doee).
195 - Add specific exceptions to try:-except: blocks without any listed,
196 so that they won't catch and mask keyboard interrupts.
198 - Make --debug={tree,dtree,stree} print something even when there's
201 - Fix how Scanners sort the found dependencies so that it doesn't
202 matter whether the dependency file is in a Repository or not.
203 This may cause recompilations upon upgrade to this version.
205 - Make AlwaysBuild() work with Alias and Python value Nodes (making
206 it much simpler to support aliases like "clean" that just invoke
207 an arbitrary action).
209 - Have env.ParseConfig() use AppendUnique() by default to suppress
210 duplicate entries from multiple calls. Add a "unique" keyword
211 argument to allow the old behavior to be specified.
213 - Allow the library modules imported by an SConscript file to get at
214 all of the normally-available global functions and variables by saying
215 "from SCons.Script import *".
217 - Add a --debug=memoizer option to print Memoizer hit/mass statistics.
219 - Allow more than one --debug= option to be set at a time.
221 - Change --debug=count to report object counts before and after
222 reading SConscript files and before and after building targets.
224 - Change --debug=memory output to line up the numbers and to better
225 match (more or less) the headers on the --debug=count columns.
227 - Speed things up when there are lists of targets and/or sources by
228 getting rid of some N^2 walks of the lists involved.
230 - Cache evaluation of LazyActions so we don't create a new object
233 - When scanning, don't create Nodes for include files that don't
234 actually exist on disk.
236 - Make supported global variables CScanner, DScanner, ProgramScanner and
237 SourceFileScanner. Make SourceFileScanner.add_scanner() a supported
238 part of the public interface. Keep the old SCons.Defaults.*Scan names
239 around for a while longer since some people were already using them.
241 - By default, don't scan directories for on-disk files. Add a
242 DirScanner global scanner that can be used in Builders or Command()
243 calls that want source directory trees scanned for on-disk changes.
244 Have the Tar() and Zip() Builders use the new DirScanner to preserve
245 the behavior of rebuilding a .tar or .zip file if any file or
246 directory under a source tree changes. Add Command() support for
247 a source_scanner keyword argument to Command() that can be set to
248 DirScanner to get this behavior.
250 - Documentation changes: Explain that $CXXFLAGS contains $CCFLAGS
251 by default. Fix a bad target_factory example in the man page.
252 Add appendices to the User's Guide to cover the available Tools,
253 Builders and construction variables. Comment out the build of
254 the old Python 10 paper, which doesn't build on all systems and
255 is old enough at this point that it probably isn't worth the
256 effort to make it do so.
258 - Enhanced the SCons setup.py script to install man pages on
261 - Add support for an Options.FormatOptionHelpText() method that can
262 be overridden to customize the format of Options help text.
264 - Add a global name for the Entry class (which had already been
267 - Fix re-scanning of generated source files for implicit dependencies
268 when the -j option is used.
270 - Fix a dependency problem that caused $LIBS scans to not be added
271 to all of the targets in a multiple-target builder call, which
272 could cause out-of-order builds when the -j option is used.
274 - Store the paths of source files and dependencies in the .sconsign*
275 file(s) relative to the target's directory, not relative to the
276 top-level SConstruct directory. This starts to make it possible to
277 subdivide the dependency tree arbitrarily by putting an SConstruct
278 file in every directory and using content signatures.
280 - Add support for $YACCHFILESUFFIX and $YACCHXXFILESUFFIX variables
281 that accomodate parser generators that write header files to a
282 different suffix than the hard-coded .hpp when the -d option is used.
284 - The default behavior is now to store signature information in a
285 single .sconsign.dblite file in the top-level SConstruct directory.
286 The old behavior of a separate .sconsign file in each directory can
287 be specified by calling SConsignFile(None).
289 - Remove line number byte codes within the signature calculation
290 of Python function actions, so that changing the location of an
291 otherwise unmodified Python function doesn't cause rebuilds.
293 - Fix AddPreAction() and AddPostAction() when an action has more than
294 one target file: attach the actions to the Executor, not the Node.
296 - Allow the source directory of a BuildDir / build_dir to be outside
297 of the top-level SConstruct directory tree.
299 - Add a --debug=nomemoizer option that disables the Memoizer for clearer
300 looks at the counts and profiles of the underlying function calls,
301 not the Memoizer wrappers.
303 - Print various --debug= stats even if we exit early (e.g. using -h).
305 - Really only use the cached content signature value if the file
306 is older than --max-drift, not just if --max-drift is set.
308 - Remove support for conversion from old (pre 0.96) .sconsign formats.
310 - Add support for a --diskcheck option to enable or disable various
311 on-disk checks: that File and Dir nodes match on-disk entries;
312 whether an RCS file exists for a missing source file; whether an
313 SCCS file exists for a missing source file.
315 - Add a --raw argument to the sconsign script, so it can print a
316 raw representation of each entry's NodeInfo dictionary.
320 - Handle Visual Studio project and solution files in Unicode.
324 - Avoid "maximum recursion limit" errors when removing $(-$) pairs
325 from long command lines.
329 - Make ParseConfig() recognize and add -mno-cygwin to $LINKFLAGS and
330 $CCFLAGS, and -mwindows to $LINKFLAGS.
334 - Fix a bad use of Copy() in an example in the man page, and a
335 bad regular expression example in the man page and User's Guide.
339 - Have the Visual Studio project file(s) echo "Starting SCons" before
340 executing SCons, mainly to work around a quote-stripping bug in
341 (some versions of?) the Windows cmd command executor.
343 From Michael McCracken:
345 - Add a new "applelink" tool to handle the things like Frameworks and
346 bundles that Apple has added to gcc for linking.
348 - Use more appropriate default search lists of linkers, compilers and
349 and other tools for the 'darwin' platform.
351 - Add a LoadableModule Builder that builds a bundle on Mac OS X (Darwin)
352 and a shared library on other systems.
354 - Improve SWIG tests for use on Mac OS X (Darwin).
358 - Remove the space after the -o option when invoking the Borland
359 BCC compiler; some versions apparently require that the file name
360 argument be concatenated with the option.
364 - Enhance the tests to guarantee persistence of ListOption
365 values in saved options files.
367 - Supply the help text when -h is used with the -u, -U or -D options.
369 From Leanid Nazdrynau:
371 - Fix the Java parser's handling of backslashes in strings.
375 - Fix the Java parser's handling of string definitions to avoid ignoring
378 From Han-Wen Nienhuys:
380 - Optimize variable expansion by: using the re.sub() method (when
381 possible); not using "eval" for variables for which we can fetch the
382 value directory; avoiding slowing substitution logic when there's no
387 - Add construction variables to support frameworks on Mac OS X:
388 $FRAMEWORKS, $FRAMEWORKPREFIX, $FRAMEWORKPATH, $FRAMEWORKPATHPREFIX.
390 - Re-order link lines so the -o option always comes right after the
393 From Gary Oberbrunner:
395 - Add an Environment.Dump() method to print the contents of a
396 construction environment.
398 - Allow $LIBS (and similar variables) to contain explicit File Nodes.
400 - Change ParseConfig to add the found library names directly to the
401 $LIBS variable, instead of returning them.
403 - Add ParseConfig() support for the -framework GNU linker option.
405 - Add a PRINT_CMD_LINE_FUNC construction variable to allow people
406 to filter (or log) command-line output.
408 - Print an internal Python stack trace in response to an otherwise
409 unexplained error when --debug=stacktrace is specified.
411 - Add a --debug=findlibs option to print what's happening when
412 the scanner is searching for libraries.
414 - Allow Tool specifications to be passed a dictionary of keyword
417 - Support an Options default value of None, in which case the variable
418 will not be added to the construction environment unless it's set
419 explicitly by the user or from an Options file.
421 - Avoid copying __builtin__ values into a construction environment's
422 dictionary when evaluating construction variables.
424 - Add a new cross-platform intelc.py Tool that can detect and
425 configure the Intel C++ v8 compiler on both Windows, where it's
426 named icl, and Linux, where it's named icc. It also checks that
427 the directory specified in the Windows registry exists, and sets a
428 new $INTEL_C_COMPILER_VERSION construction variable to identify the
429 version being used. (Niall Douglas contributed an early prototype
430 of parts of this module.)
432 - Fix the private Conftest._Have() function so it doesn't change
433 non-alphanumeric characters to underscores.
435 - Supply a better error message when a construction variable expansion
436 has an unknown attribute.
438 - Documentation changes: Update the man page to describe use of
439 filenames or Nodes in $LIBS.
441 - Add support for Intel C++ beta 9.0 (both 32 and 64 bit versions).
443 - Document the new $FRAMEWORK* variables for Mac OS X.
447 - Have the linkloc tool use $MSVS_VERSION to select the Microsoft
448 Visual Studio version to use.
452 - Add $RPATH (-R) support to the Sun linker Tool (sunlink).
454 - Add a description of env.subst() to the man page.
458 - Look in the right directory, not always the local directory, for a
459 same-named file or directory conflict on disk.
461 - On Windows, preserve the external environment's %SYSTEMDRIVE%
466 - Fix the Builder name returned from ListBuilders and other instances
467 of subclasses of the BuilderBase class.
469 - Add Builders and construction variables to support rpcgen:
470 RPCGenClient(), RPCGenHeader(), RPCGenService(), RPCGenXDR(),
471 $RPCGEN, $RPCGENFLAGS, $RPCGENCLIENTFLAGS, $RPCGENHEADERFLAGS,
472 $RPCGENSERVICEFLAGS, $RPCGENXDRFLAGS.
474 - Update the man page to document that prefix and suffix Builder
475 keyword arguments can be strings, callables or dictionaries.
477 - Provide more info in the error message when a user tries to build
478 a target multiple ways.
480 - Fix Delete() when a file doesn't exist and must_exist=1. (We were
481 unintentionally dependent on a bug in versions of the Python shutil.py
482 module prior to Python 2.3, which would generate an exception for
483 a nonexistent file even when ignore_errors was set.)
485 - Only replace a Node's builder with a non-null source builder.
487 - Fix a stack trace when a suffix selection dictionary is passed
488 an empty source file list.
490 - Allow optional names to be attached to Builders, for default
491 Builders that don't get attached to construction environments.
493 - Fix problems with Parallel Task Exception handling.
495 - Build targets in an associated BuildDir even if there are targets
496 or subdirectories locally in the source directory.
498 - If a FunctionAction has a callable class as its underlying Python
499 function, use its strfunction() method (if any) to display the
502 - Fix handling when BuildDir() exists but is unwriteable. Add
503 "Stop." to those error messages for consistency.
505 - Catch incidents of bad builder creation (without an action) and
506 supply meaningful error messages.
508 - Fix handling of src_suffix values that aren't extensions (don't
511 - Don't retrieve files from a CacheDir, but report what would happen,
512 when the -n option is used.
514 - Use the source_scanner from the target Node, not the source node
517 - Internal Scanners fixes: Make sure Scanners are only passed Nodes.
518 Fix how a Scanner.Selector called its base class initialization.
519 Make comparisons of Scanner objects more robust. Add a name to
520 an internal default ObjSourceScanner.
522 - Add a deprecated warning for use of the old "scanner" keyword argument
525 - Improve the --debug=explain message when the build action changes.
527 - Test enhancements in SourceCode.py, option-n.py, midl.py. Better
528 Command() and Scanner test coverage. Improved test infrastructure
531 - Refactor the interface between Action and Executor objects to treat
534 - The --debug=presub option will now report the pre-substitution
535 each action seprately, instead of reporting the entire list before
536 executing the actions one by one.
538 - The --debug=explain option explaining a changed action will now
539 (more correctly) show pre-substitution action strings, instead of
540 the commands with substituted file names.
542 - A Node (file) will now be rebuilt if its PreAction or PostAction
545 - Python Function actions now have their calling signature (target,
546 source, env) reported correctly when displayed.
548 - Fix BuildDir()/build_dir handling when the build_dir is underneath
549 the source directory and trying to use entries from the build_dir
550 as sources for other targets in the build-dir.
552 - Fix hard-coding of JDK path names in various Java tests.
554 - Handle Python stack traces consistently (stop at the SConscript stack
555 frame, by default) even if the Python source code isn't available.
557 - Improve the performance of the --debug={tree,dtree} options.
559 - Add --debug=objects logging of creation of OverrideWarner,
560 EnvironmentCopy and EnvironmentOverride objects.
562 - Fix command-line expansion of Python Value Nodes.
564 - Internal cleanups: Remove an unnecessary scan argument. Associate
565 Scanners only with Builders, not nodes. Apply overrides once when
566 a Builder is called, not in multiple places. Cache results from the
567 Node.FS.get_suffix() and Node.get_build_env() methods. Use the Python
568 md5 modules' hexdigest() method, if there is one. Have Taskmaster
569 call get_stat() once for each Node and re-use the value instead of
570 calling it each time it needs the value. Have Node.depends_on()
571 re-use the list from the children() method instead of calling it
574 - Use the correct scanner if the same source file is used for targets in
575 two different environments with the same path but different scanners.
577 - Collect logic for caching values in memory in a Memoizer class,
578 which cleans up a lot of special-case code in various methods and
579 caches additional values to speed up most configurations.
581 - Add a PathAccept validator to the list of new canned PathOption
586 - Have the Fortran module emitter look for Fortan modules to be created
587 relative to $FORTRANMODDIR, not the top-level directory.
589 - When saving Options to a file, run default values through the
590 converter before comparing them with the set values. This correctly
591 suppresses Boolean Option values from getting written to the saved
592 file when they're one of the many synonyms for a default True or
595 - Fix the Fortran Scanner's ability to handle a module being used
596 in the same file in which it is defined.
600 - Documentation changes: Use $CPPDEFINES instead of $CCFLAGS in man
605 - Allow $JARCHDIR to be expanded to other construction variables.
609 - When calling the resource compiler on MinGW, add --include-dir and
610 the source directory so it finds the source file.
612 - Update EnsureSConsVersion() to support revision numbers.
616 - Fix a misplaced line in the man page.
618 From Christoph Wiedemann:
620 - Add an Environment.SetDefault() method that only sets values if
621 they aren't already set.
623 - Have the qt.py Tool not override variables already set by the user.
625 - Add separate $QT_BINPATH, $QT_CPPPATH and $QT_LIBPATH variables
626 so these can be set individually, instead of being hard-wired
629 - The %TEMP% and %TMP% external environment variables are now propagated
630 automatically to the command execution environment on Windows systems.
632 - A new --config= command-line option allows explicit control of
633 of when the Configure() tests are run: --config=force forces all
634 checks to be run, --config=cache uses all previously cached values,
635 --config=auto (the default) runs tests only when dependency analysis
636 determines it's necessary.
638 - The Configure() subsystem can now write a config.h file with values
639 like HAVE_STDIO_H, HAVE_LIBM, etc.
641 - The Configure() subsystem now executes its checks silently when the
642 -Q option is specified.
644 - The Configure() subsystem now reports if a test result is being
645 taken from cache, and prints the standard output and error output
646 of tests even when cached.
648 - Configure() test results are now reported as "yes" or "no" instead of
651 - Fixed traceback printing when calling the env.Configure() method
652 instead of the Configure() global function.
654 - The Configure() subsystem now caches build failures in a .sconsign
655 file in the subdirectory, not a .cache file. This may cause
656 tests to be re-executed the first time after you install 0.97.
658 - Additional significant internal cleanups in the Configure() subsystem
661 - Have the Qt Builder make uic-generated files dependent on the .ui.h
664 - Add a test to make sure that SCons source code does not contain
665 try:-except: blocks that catch all errors, which potentially catch
666 and mask keyboard interrupts.
668 - Fix us of TargetSignatures('content') with the SConf subsystem.
670 From Russell Yanofsky:
672 - Add support for the Metrowerks Codewarrior compiler and linker
681 - Handle white space in the executable Python path name within in MSVS
682 project files by quoting the path.
684 - Correct the format of a GUID string in a solution (.dsw) file so
685 MSVS can correctly "build enable" a project.
689 - Add a must_exist flag to Delete() to let the user control whether
690 it's an error if the specified entry doesn't exist. The default
691 behavior is now to silently do nothing if it doesn't exist.
693 - Package up the new Platform/darwin.py, mistakenly left out of 0.96.
695 - Make the scons.bat REM statements into @REM so they aren't printed.
697 - Make the SCons packaging SConscript files platform independent.
701 - Fix scanning of pre-compiled header (.pch) files for #includes,
706 RELEASE 0.96 - Wed, 18 Aug 2004 13:36:40 +0000
710 - Make the CacheDir() directory if it doesn't already exist.
712 - Allow construction variable substitutions in $LIBS specifications.
714 - Allow the emitter argument to a Builder() to be or expand to a list
715 of emitter functions, which will be called in sequence.
717 - Suppress null values in construction variables like $LIBS that use
718 the internal _concat() function.
720 - Remove .dll files from the construction variables searched for
721 libraries that can be fed to Win32 compilers.
723 From Chad Austin and Christoph Wiedemann:
725 - Add support for a $RPATH variable to supply a list of directories
726 to search for shared libraries when linking a program. Used by
727 the GNU and IRIX linkers (gnulink and sgilink).
731 - Restore the ability to do construction variable substitutions in all
732 kinds of *PATH variables, even when the substitution returns a Node
737 - Allow the Java() Builder to take more than one source directory.
739 From Ralf W. Grosse-Kunstleve:
741 - Have SConsignFile() use, by default, a custom "dblite.py" that we can
742 control and guarantee to work on all Python versions (or nearly so).
744 From Jonathan Gurley:
746 - Add support for the newer "ifort" versions of the Intel Fortran
751 - Make the new *FLAGS variable type work with copied Environments.
755 - Initialize the name of a Scanner.Classic scanner correctly.
759 - Add support for the .dylib shared library suffix and the -dynamiclib
760 linker option on Mac OS X.
764 - Add an Execute() method for executing actions directly.
766 - Support passing environment override keyword arguments to Command().
768 - Fix use of $MSVS_IGNORE_IDE_PATHS, which was broken when we added
769 support for $MSVS_USE_MFC_DIRS last release.
771 - Make env.Append() and env.Prepend() act like the underlying Python
772 behavior when the variable being appended to is a UserList object.
774 - Fix a regression that prevented the Command() global function in
775 0.95 from working with command-line strings as actions.
777 - Fix checking out a file from a source code management system when
778 the env.SourceCode() method was called with an individual file name
779 or node, not a directory name or node.
781 - Enhance the Task.make_ready() method to create a list of the
782 out-of-date Nodes for the task for use by the wrapping interface.
784 - Allow Scanners to pull the list of suffixes from the construction
785 environment when the "skeys" keyword argument is a string containing
786 a construction variable to be expanded.
788 - Support new $CPPSUFFIXES, $DSUFFIXES $FORTRANSUFFIXES, and
789 $IDLSUFFIXES. construction variables that contain the default list
790 of suffixes to be scanned by a given type of scanner, allowing these
791 suffix lists to be easily added to or overridden.
793 - Speed up Node creation when calling a Builder by comparing whether two
794 Environments are the same object, not if their underlying dictionaries
797 - Add a --debug=explain option that reports the reason(s) why SCons
798 thinks it must rebuild something.
800 - Add support for functions that return platform-independent Actions
801 to Chmod(), Copy(), Delete(), Mkdir(), Move() and Touch() files
802 and/or directories. Like any other Actions, the returned Action
803 object may be executed directly using the Execute() global function
804 or env.Execute() environment method, or may be used as a Builder
805 action or in an env.Command() action list.
807 - Add support for the strfunction argument to all types of Actions:
808 CommandAction, ListAction, and CommandGeneratorAction.
810 - Speed up turning file system Nodes into strings by caching the
811 values after we're finished reading the SConscript files.
813 - Have ParseConfig() recognize and supporting adding the -Wa, -Wl,
814 and -Wp, flags to ASFLAGS, LINKFLAGS and CPPFLAGS, respectively.
816 - Change the .sconsign format and the checks for whether a Node is
817 up-to-date to make dependency checks more efficient and correct.
819 - Add wrapper Actions to SCons.Defaults for $ASCOM, $ASPPCOM, $LINKCOM,
820 $SHLINKCOM, $ARCOM, $LEXCOM and $YACCCOM. This makes it possible
821 to replace the default print behavior with a custom strfunction()
824 - When a Node has been built, don't walk the whole tree back to delete
825 the parents's implicit dependencies, let returning up the normal
826 Taskmaster descent take care of it for us.
828 - Add documented support for separate target_scanner and source_scanner
829 arguments to Builder creation, which allows different scanners to
830 be applied to source files
832 - Don't re-install or (re-generate) .h files when a subsidiary #included
833 .h file changes. This eliminates incorrect circular dependencies
834 with .h files generated from other source files.
836 - Slim down the internal Sig.Calculator class by eliminating methods
837 whose functionality is now covered by Node methods.
839 - Document use of the target_factory and source_factory keyword
840 arguments when creating Builder objects. Enhance Dir Nodes so that
841 they can be created with user-specified Builder objects.
843 - Don't blow up with stack trace when the external $PATH environment
846 - Make Builder calls return lists all the time, even if there's only
847 one target. This keeps things consistent and easier to program to
850 - Add a Flatten() function to make it easier to deal with the Builders
851 all returning lists of targets, not individual targets.
853 - Performance optimizations in Node.FS.__doLookup().
855 - Man page fixes: formatting typos, misspellings, bad example.
857 - User's Guide fixes: Fix the signatures of the various example
858 *Options() calls. Triple-quote properly a multi-line Split example.
860 - User's Guide additions: Chapter describing File and Directory
861 Nodes. Section describing declarative nature of SCons functions in
862 SConscript files. Better organization and clarification of points
863 raised by Robert P. J. Day. Chapter describing SConf (Autoconf-like)
864 functionality. Chapter describing how to install Python and
865 SCons. Chapter describing Java builds.
869 - Add a .win32 attribute to force file names to expand with
870 Windows backslash path separators.
872 - Fix escaping file names on command lines when the expansion is
873 concatenated with another string.
875 - Add support for Fortran 90 and Fortran 95. This adds $FORTRAN*
876 variables that specify a default compiler, command-line, flags,
877 etc. for all Fortran versions, plus separate $F90* and $F95*
878 variables for when different compilers/flags/etc. must be specified
879 for different Fortran versions.
881 - Have individual tools that create libraries override the default
882 $LIBPREFIX and $LIBSUFFIX values set by the platform. This makes
883 it easier to use Microsoft Visual Studio tools on a CygWin platform.
885 From Gary Oberbrunner:
887 - Add a --debug=presub option to print actions prior to substitution.
889 - Add a warning upon use of the override keywords "targets" and
890 "sources" when calling Builders. These are usually mistakes which
891 are otherwise silently (and confusingly) turned into construction
894 - Try to find the ICL license file path name in the external environment
895 and the registry before resorting to the hard-coded path name.
897 - Add support for fetching command-line keyword=value arguments in
898 order from an ARGLIST list.
900 - Avoid stack traces when trying to read dangling symlinks.
902 - Treat file "extensions" that only contain digits as part of the
903 file basename. This supports version numbers as part of shared
904 library names, for example.
906 - Avoid problems when there are null entries (None or '') in tool
909 - Add an example and explanation of how to use "tools = ['default', ..."
910 when creating a construction environment.
912 - Add a section describing File and Directory Nodes and some of their
913 attributes and methods.
915 - Have ParseConfig() add a returned -pthread flag to both $CCFLAGS
918 - Fix some test portability issues on Mac OS X (darwin).
922 - Fix a bug introduced in building shared libraries under MinGW.
926 - Handling SCons exceptions according to Pythonic standards.
928 - Fix test/chained-build.py on systems that execute within one second.
930 - Fix tests on systems where 'ar' warns about archive creation.
934 - Fix use of the --implicit-cache option with timestamp signatures.
936 - If Visual Studio is installed, assume the C/C++ compiler, the linker
937 and the MIDL compiler that comes with it are available, too.
939 - Better error messages when evaluating a construction variable
940 expansion yields a Python syntax error.
942 - Change the generation of PDB files when using Visual Studio from
943 compile time to link time.
947 - Allow SConf.CheckLib() to search a list of libraries, like the
948 Autoconf AC_SEARCH_LIBS macro.
950 - Allow the env.WhereIs() method to take a "reject" argument to
951 let it weed out specific path names.
953 From Christoph Wiedemann:
955 - Add new Moc() and Uic() Builders for more explicit control over
956 Qt builds, plus new construction variables to control them:
957 $QT_AUTOSCAN, $QT_DEBUG, $QT_MOCCXXPREFIX, $QT_MOCCXXSUFFIX,
958 $QT_MOCHPREFIX, $QT_MOCHSUFFIX, $QT_UICDECLPREFIX, $QT_UICDECLSUFFIX,
959 $QT_UICIMPLPREFIX, $QT_UICIMPLSUFFIX and $QT_UISUFFIX.
961 - Add a new single_source keyword argument for Builders that enforces
962 a single source file on calls to the Builder.
966 RELEASE 0.95 - Mon, 08 Mar 2004 06:43:20 -0600
970 - Replace print statements with calls to sys.stdout.write() so output
971 lines stay together when -j is used.
973 - Add portability fixes for a number of tests.
975 - Accomodate the fact that Cygwin's os.path.normcase() lies about
976 the underlying system being case-sensitive.
978 - Fix an incorrect _concat() call in the $RCINCFLAGS definition for
981 - Fix a problem with the msvc tool with Python versions prior to 2.3.
983 - Add support for a "toolpath" Tool() and Environment keyword that
984 allows Tool modules to be found in specified local directories.
986 - Work around Cygwin Python's silly fiction that it's using a
987 case-sensitive file system.
989 - More robust handling of data in VCComponents.dat.
991 - If the "env" command is available, spawn commands with the more
992 general "env -" instead of "env -i".
996 - Fix a typo in a msvc.py's registry lookup: "VCComponents.dat", not
1001 - Fix the ability to save/restore a PackageOption to a file.
1003 From Steve Christensen:
1005 - Update the MSVS .NET and MSVC 6.0/7.0 path detection.
1007 From David M. Cooke:
1009 - Make the Fortran scanner case-insensitive for the INCLUDE string.
1013 - If no version of MSVC is detected but the tool is specified,
1014 use the MSVC 6.0 paths by default.
1016 - Ignore any "6.1" version of MSVC found in the registry; this is a
1017 phony version number (created by later service packs?) and would
1018 throw off the logic if the user had any non-default paths configure.
1020 - Correctly detect if the user has independently configured the MSVC
1021 "include," "lib" or "path" in the registry and use the appropriate
1022 values. Previously, SCons would only use the values if all three
1023 were set in the registry.
1025 - Make sure side-effect nodes are prepare()d before building their
1026 corresponding target.
1028 - Preserve the ability to call BuildDir() multiple times with the
1029 same target and source directory arguments.
1033 - Add support for the Digital Mars "D" programming language.
1035 From Scott Lystig Fritchie:
1037 - Fix the ability to use a custom _concat() function in the
1038 construction environment when calling _stripixes().
1040 - Make the message about ignoring a missing SConscript file into a
1041 suppressable Warning, not a hard-coded sys.stderr.write().
1043 - If a builder can be called multiple times for a target (because
1044 the sources and overrides are identical, or it's a builder with the
1045 "multi" flag set), allow the builder to be called through multiple
1046 environments so long as the builders have the same signature for
1047 the environments in questions (that is, they're the same action).
1051 - When multiple targets are built by a single action, retrieve all
1052 of them from cache, not just the first target, and exec the build
1053 command if any of the targets isn't present in the cache.
1055 From Zephaniah Hull:
1057 - Fix command-line ARGUMENTS with multiple = in them.
1061 - Fix EnsureSConsVersion() so it checks against the SCons version,
1062 not the Python version, on Pythons with sys.version_info.
1064 - Don't swallow the AttributeError when someone uses an expansion like
1065 $TARGET.bak, so we can supply a more informative error message.
1067 - Fix an odd double-quote escape sequence in the man page.
1069 - Fix looking up a naked drive letter as a directory (Dir('C:')).
1071 - Support using File nodes in the LIBS construction variable.
1073 - Allow the LIBS construction variable to be a single string or File
1074 node, not a list, when only one library is needed.
1076 - Fix typos in the man page: JAVACHDIR => JARCHDIR; add "for_signature"
1077 to the __call__() example in the "Variable Substitution" section.
1079 - Correct error message spellings of "non-existant" to "non-existent."
1081 - When scanning for libraries to link with, don't append $LIBPREFIXES
1082 or $LIBSUFFIXES values to the $LIBS values if they're already present.
1084 - Add a ZIPCOMPRESSION construction variable to control whether the
1085 internal Python action for the Zip Builder compresses the file or
1086 not. The default value is zipfile.ZIP_DEFLATED, which generates
1089 - Refactor construction variable expansion to support recursive
1090 expansion of variables (e.g. CCFLAGS = "$CCFLAGS -g") without going
1091 into an infinite loop. Support this in all construction variable
1092 overrides, as well as when copying Environments.
1094 - Fix calling Configure() from more than one subsidiary SConscript file.
1096 - Fix the env.Action() method so it returns the correct type of
1097 Action for its argument(s).
1099 - Fix specifying .class files as input to JavaH with the .class suffix
1100 when they weren't generated using the Java Builder.
1102 - Make the check for whether all of the objects going into a
1103 SharedLibrary() are shared work even if the object was built in a
1106 - Supply meaningful error messages, not stack traces, if we try to add
1107 a non-Node as a source, dependency, or ignored dependency of a Node.
1109 - Generate MSVS Project files that re-invoke SCons properly regardless
1110 of whether the file was built via scons.bat or scons.py.
1111 (Thanks to Niall Douglas for contributing code and testing.)
1113 - Fix TestCmd.py, runtest.py and specific tests to accomodate being
1114 run from directories whose paths include white space.
1116 - Provide a more useful error message if a construction variable
1117 expansion contains a syntax error during evaluation.
1119 - Fix transparent checkout of implicit dependency files from SCCS
1122 - Added new --debug=count, --debug=memory and --debug=objects options.
1123 --debug=count and --debug=objects only print anything when run
1124 under Python 2.1 or later.
1126 - Deprecate the "overrides" keyword argument to Builder() creation
1127 in favor of using keyword argument values directly (like we do
1128 for builder execution and the like).
1130 - Always use the Builder overrides in substitutions, not just if
1131 there isn't a target-specific environment.
1133 - Add new "rsrcpath" and "rsrcdir" and attributes to $TARGET/$SOURCE,
1134 so Builder command lines can find things in Repository source
1135 directories when using BuildDir.
1137 - Fix the M4 Builder so that it chdirs to the Repository directory
1138 when the input file is in the source directory of a BuildDir.
1140 - Save memory at build time by allowing Nodes to delete their build
1141 environments after they've been built.
1143 - Add AppendUnique() and PrependUnique() Environment methods, which
1144 add values to construction variables like Append() and Prepend()
1145 do, but suppress any duplicate elements in the list.
1147 - Allow the 'qt' tool to still be used successfully from a copied
1148 Environment. The include and library directories previously ended up
1149 having the same string re-appended to the end, yielding an incorrect
1152 - Supply a more descriptive error message when the source for a target
1155 - Initialize all *FLAGS variables with objects do the right thing with
1156 appending flags as strings or lists.
1158 - Make things like ${TARGET.dir} work in *PATH construction variables.
1160 - Allow a $MSVS_USE_MFC_DIRS construction variable to control whether
1161 ATL and MFC directories are included in the default INCLUDE and
1164 - Document the dbm_module argument to the SConsignFile() function.
1168 - Add support for the bcc32, ilink32 and tlib Borland tools.
1172 - Supply an error message if the user tries to configure a BuildDir
1173 for a directory that already has one.
1175 - Remove documentation of the still-unimplemented -e option.
1177 - Add -H help text listing the legal --debug values.
1179 - Don't choke if a construction variable is a non-string value.
1181 - Build Type Libraries in the target directory, not the source
1184 - Add an appendix to the User's Guide showing how to accomplish
1185 various common tasks in Python.
1189 - Add support for Microsoft Visual Studio 2003 (version 7.1).
1191 - Evaluate $MSVSPROJECTSUFFIX and $MSVSSOLUTIONSUFFIX when the Builder
1192 is invoked, not when the tool is initialized.
1194 From Christoph Wiedemann:
1196 - When compiling Qt, make sure the moc_*.cc files are compiled using
1197 the flags from the environment used to specify the target, not
1198 the environment that first has the Qt Builders attached.
1202 RELEASE 0.94 - Fri, 07 Nov 2003 05:29:48 -0600
1204 From Hartmut Goebel:
1206 - Add several new types of canned functions to help create options:
1207 BoolOption(), EnumOption(), ListOption(), PackageOption(),
1212 - Fix use of CPPDEFINES with C++ source files.
1214 - Fix env.Append() when the operand is an object with a __cmp__()
1215 method (like a Scanner instance).
1217 - Fix subclassing the Environment and Scanner classes.
1219 - Add BUILD_TARGETS, COMMAND_LINE_TARGETS and DEFAULT_TARGETS variables.
1223 - SGI fixes: Fix C++ compilation, add a separate Tool/sgic++.py module.
1225 From Gary Oberbrunner:
1227 - Fix how the man page un-indents after examples in some browsers.
1231 - Fix the C and C++ tool specifications for AIX.
1235 RELEASE 0.93 - Thu, 23 Oct 2003 07:26:55 -0500
1239 - On POSIX, execute commands with the more modern os.spawnvpe()
1240 function, if it's available.
1242 - Scan .S, .spp and .SPP files for C preprocessor dependencies.
1244 - Refactor the Job.Parallel() class to use a thread pool without a
1245 condition variable. This improves parallel build performance and
1246 handles keyboard interrupts properly when -j is used.
1250 - Add support for a JARCHDIR variable to control changing to a
1251 directory using the jar -C option.
1253 - Add support for detecting Java manifest files when using jar,
1254 and specifying them using the jar m flag.
1256 - Fix some Python 2.2 specific things in various tool modules.
1258 - Support directories as build sources, so that a rebuild of a target
1259 can be triggered if anything underneath the directory changes.
1261 - Have the scons.bat and scons.py files look for the SCons modules
1262 in site-packages as well.
1264 From Christian Engel:
1266 - Support more flexible inclusion of separate C and C++ compilers.
1268 - Use package management tools on AIX and Solaris to find where
1269 the comilers are installed, and what version they are.
1271 - Add support for CCVERSION and CXXVERSION variables for a number
1272 of C and C++ compilers.
1276 - Add test cases for the new capabilities to run bibtex and to rerun
1279 From Ralf W. Grosse-Kunstleve:
1281 - Accomodate anydbm modules that don't have a sync() method.
1283 - Allow SConsignFile() to take an argument specifying the DBM
1286 From Stephen Kennedy:
1288 - Add support for a configurable global .sconsign.dbm file which
1289 can be used to avoid cluttering each directory with an individual
1294 - Fix (re-)scanning of dependencies in generated or installed
1299 - The -Q option suppressed too many messages; fix it so that it only
1300 suppresses the Reading/Building messages.
1302 - Support #include when there's no space before the opening quote
1305 - Accomodate alphanumeric version strings in EnsurePythonVersion().
1307 - Support arbitrary expansion of construction variables within
1308 file and directory arguments to Builder calls and Environment methods.
1310 - Add Environment-method versions of the following global functions:
1311 Action(), AddPostAction(), AddPreAction(), Alias(), Builder(),
1312 BuildDir(), CacheDir(), Clean(), Configure(), Default(),
1313 EnsurePythonVersion(), EnsureSConsVersion(), Environment(),
1314 Exit(), Export(), FindFile(), GetBuildPath(), GetOption(), Help(),
1315 Import(), Literal(), Local(), Platform(), Repository(), Scanner(),
1316 SConscriptChdir(), SConsignFile(), SetOption(), SourceSignatures(),
1317 Split(), TargetSignatures(), Tool(), Value().
1319 - Add the following global functions that correspond to the same-named
1320 Environment methods: AlwaysBuild(), Command(), Depends(), Ignore(),
1321 Install(), InstallAs(), Precious(), SideEffect() and SourceCode().
1323 - Add the following global functions that correspond to the default
1324 Builder methods supported by SCons: CFile(), CXXFile(), DVI(), Jar(),
1325 Java(), JavaH(), Library(), M4(), MSVSProject(), Object(), PCH(),
1326 PDF(), PostScript(), Program(), RES(), RMIC(), SharedLibrary(),
1327 SharedObject(), StaticLibrary(), StaticObject(), Tar(), TypeLibrary()
1330 - Rearrange the man page to show construction environment methods and
1331 global functions in the same list, and to explain the difference.
1333 - Alphabetize the explanations of the builder methods in the man page.
1335 - Rename the Environment.Environment class to Enviroment.Base.
1336 Allow the wrapping interface to extend an Environment by using its own
1337 subclass of Environment.Base and setting a new Environment.Environment
1338 variable as the calling entry point.
1340 - Deprecate the ParseConfig() global function in favor of a same-named
1341 construction environment method.
1343 - Allow the Environment.WhereIs() method to take explicit path and
1344 pathext arguments (like the underlying SCons.Util.WhereIs() function).
1346 - Remove the long-obsolete {Get,Set}CommandHandler() functions.
1348 - Enhance env.Append() to suppress null values when appropriate.
1350 - Fix ParseConfig() so it works regardless of initial construction
1353 Extend CheckHeader(), CheckCHeader(), CheckCXXHeader() and
1354 CheckLibWithHeader() to accept a list of header files that will be
1355 #included in the test. The last one in the list is assumed to be
1356 the one being checked for. (Prototype code contributed by Gerard
1357 Patel and Niall Douglas).
1359 - Supply a warning when -j is used and threading isn't built in to
1360 the current version of Python.
1362 - First release of the User's Guide (finally, and despite a lot
1363 of things still missing from it...).
1367 - Generalize the action for .tex files so that it will decide whether
1368 a file is TeX or LaTeX, check the .aux output to decide if it should
1369 run bibtex, and check the .log output to re-run LaTeX if needed.
1371 From Bram Moolenaar:
1373 - Split the non-SCons-specific functionality from SConf.py to a new,
1374 re-usable Conftest.py module.
1376 From Gary Oberbrunner:
1378 - Allow a directory to be the target or source or dependency of a
1379 Depends(), Ignore(), Precious() or SideEffect() call.
1383 - Use the %{_mandir} macro when building our RPM package.
1385 From Marko Rauhamaa:
1387 - Have the closing message say "...terminated because of errors" if
1392 - On Win32 systems, only use "rm" to delete files if Cygwin is being
1393 used. ("rm" doesn't understand Win32-format path names.)
1395 From Christoph Wiedemann:
1397 - Fix test/SWIG.py to find the Python include directory in all cases.
1399 - Fix a bug in detection of Qt installed on the local system.
1401 - Support returning Python 2.3 BooleanType values from Configure checks.
1403 - Provide an error message if someone mistakenly tries to call a
1404 Configure check from within a Builder function.
1406 - Support calling a Builder when a Configure context is still open.
1408 - Handle interrupts better by eliminating all try:-except: blocks
1409 which caught any and all exceptions, including KeyboardInterrupt.
1411 - Add a --duplicate= option to control how files are duplicated.
1415 RELEASE 0.92 - Wed, 20 Aug 2003 03:45:28 -0500
1417 From Charles Crain and Gary Oberbrunner:
1419 - Fix Tool import problems with the Intel and PharLap linkers.
1423 - Refactor the DictCmdGenerator class to be a Selector subclass.
1425 - Allow the DefaultEnvironment() function to take arguments and pass
1426 them to instantiation of the default construction environment.
1428 - Update the Debian package so it uses Python 2.2 and more closely
1429 resembles the currently official Debian packaging info.
1433 - When the yacc -d flag is used, take the .h file base name from the
1434 target .c file, not the source (matching what yacc does).
1438 RELEASE 0.91 - Thu, 14 Aug 2003 13:00:44 -0500
1442 - Support specifying a list of tools when calling Environment.Copy().
1444 - Give a Value Nodes a timestamp of the system time when they're
1445 created, so they'll work when using timestamp-based signatures.
1447 - Add a DefaultEnvironment() function that only creates a default
1448 environment on-demand (for fetching source files, e.g.).
1450 - Portability fix for test/M4.py.
1454 - Tighten up the scons -H help output.
1456 - When the input yacc file ends in .yy and the -d flag is specified,
1457 recognize that a .hpp file (not a .h file) will be created.
1459 - Make builder prefixes work correctly when deducing a target
1460 from a source file name in another directory.
1462 - Documentation fixes: typo in the man page; explain up-front about
1463 not propagating the external environment.
1465 - Use "cvs co -d" instead of "cvs co -p >" when checking out something
1466 from CVS with a specified module name. This avoids zero-length
1467 files when there is a checkout error.
1469 - Add an "sconsign" script to print the contents of .sconsign files.
1471 - Speed up maintaining the various lists of Node children by using
1472 dictionaries to avoid "x in list" searches.
1474 - Cache the computed list of Node children minus those being Ignored
1475 so it's only calculated once.
1477 - Fix use of the --cache-show option when building a Program()
1478 (or using any other arbitrary action) by making sure all Action
1479 instances have strfunction() methods.
1481 - Allow the source of Command() to be a directory.
1483 - Better error handling of things like raw TypeErrors in SConscripts.
1485 - When installing using "setup.py install --prefix=", suppress the
1486 distutils warning message about adding the (incorrect) library
1487 directory to your search path.
1489 - Correct the spelling of the "validater" option to "validator."
1490 Add a DeprecatedWarning when the old spelling is used.
1492 - Allow a Builder's emitter to be a dictionary that maps source file
1493 suffixes to emitter functions, using the suffix of the first file
1494 in the source list to pick the right one.
1496 - Refactor the creation of the Program, *Object and *Library Builders
1497 so that they're moved out of SCons.Defaults and created on demand.
1499 - Don't split SConscript file names on white space.
1501 - Document the SConscript function's "dirs" and "name" keywords.
1503 - Remove the internal (and superfluous) SCons.Util.argmunge() function.
1505 - Add /TP to the default CXXFLAGS for msvc, so it can compile all
1506 of the suffixes we use as C++ files.
1508 - Allow the "prefix" and "suffix" attributes of a Builder to be
1509 callable objects that return generated strings, or dictionaries
1510 that map a source file suffix to the right prefix/suffix.
1512 - Support a MAXLINELINELENGTH construction variable on Win32 systems
1513 to control when a temporary file is used for long command lines.
1515 - Make how we build .rpm packages not depend on the installation
1516 locations from the distutils being used.
1518 - When deducing a target Node, create it directly from the first
1519 source Node, not by trying to create the right string to pass to
1522 - Add support for SWIG.
1524 From Bram Moolenaar:
1526 - Test portability fixes for FreeBSD.
1528 From Gary Oberbrunner:
1530 - Report the target being built in error messages when building
1531 multiple sources from different extensions, or when the target file
1532 extension can't be deduced, or when we don't have an action for a
1535 - Provide helpful error messages when the arguments to env.Install()
1538 - Fix the value returned by the Node.prevsiginfo() method to conform
1539 to a previous change when checking whether a node is current.
1541 - Supply a stack trace if the Taskmaster catches an exception.
1543 - When using a temporary file for a long link line on Win32 systems,
1544 (also) print the command line that is being executed through the
1547 - Initialize the LIB environment variable when using the Intel
1550 - Documentation fixes: better explain the AlwaysBuild() function.
1552 From Laurent Pelecq:
1554 - When the -debug=pdb option is specified, use pdb.Pdb().runcall() to
1555 call pdb directly, don't call Python recursively.
1559 - Add support for a platform-independent CPPDEFINES variable.
1561 From Christoph Wiedemann:
1563 - Have the g++ Tool actually use g++ in preference to c++.
1565 - Have the gcc Tool actually use gcc in preference to cc.
1567 - Add a gnutools.py test of the GNU tool chain.
1569 - Be smarter about linking: use $CC by default and $CXX only if we're
1570 linking with any C++ objects.
1572 - Avoid SCons hanging when a piped command has a lot of output to read.
1574 - Add QT support for preprocessing .ui files into .c files.
1578 RELEASE 0.90 - Wed, 25 Jun 2003 14:24:52 -0500
1582 - Fix the _concat() documentation, and add a test for it.
1584 - Portability fixes for non-GNU versions of lex and yacc.
1588 - Fix handling of library prefixes when the subdirectory matches
1591 From Timothee Bessett:
1593 - Add an M4 Builder.
1597 - Use '.lnk' as the suffix on the temporary file for linking long
1598 command lines (necessary for the Phar Lap linkloc linker).
1600 - Save non-string Options values as their actual type.
1602 - Save Options string values that contain a single quote correctly.
1604 - Save any Options values that are changed from the default
1605 Environment values, not just ones changed on the command line or in
1608 - Make closing the Options file descriptor exception-safe.
1612 - SCons now enforces (with an error) that construction variables
1613 must have the same form as valid Python identifiers.
1615 - Fix man page bugs: remove duplicate AddPostAction() description;
1616 document no_import_lib; mention that CPPFLAGS does not contain
1617 $_CPPINCFLAGS; mention that F77FLAGS does not contain $_F77INCFLAGS;
1618 mention that LINKFLAGS and SHLINKFLAGS contains neither $_LIBFLAGS
1621 - Eliminate a dependency on the distutils.fancy_getopt module by
1622 copying and pasting its wrap_text() function directly.
1624 - Make the Script.Options() subclass match the underlying base class
1627 - When reporting a target is up to date, quote the target like make
1628 (backquote-quote) instead of with double quotes.
1630 - Fix handling of ../* targets when using -U, -D or -u.
1634 - Don't update the .sconsign files when run with -n.
1636 From Gary Oberbrunner:
1638 - Add support for the Intel C Compiler (icl.exe).
1646 - Fix use of SConf in paths with white space in them.
1648 - Add CheckFunc and CheckType functionality to SConf.
1650 - Fix use of SConf with Builders that return a list of nodes.
1652 From David Snopek and Christoph Wiedemann
1654 - Fix use of the SConf subsystem with SConscriptChdir().
1658 - Check for the existence of MS Visual Studio on disk before using it,
1659 to avoid getting fooled by leftover junk in the registry.
1661 - Add support for MSVC++ .NET.
1663 - Add support for MS Visual Studio project files (DSP, DSW,
1664 SLN and VCPROJ files).
1666 From Christoph Wiedemann
1668 - SConf now works correctly when the -n and -q options are used.
1672 RELEASE 0.14 - Wed, 21 May 2003 05:16:32 -0500
1676 - Use .dll (not .so) for shared libraries on Cygwin; use -fPIC
1677 when compiling them.
1679 - Use 'rm' to remove files under Cygwin.
1681 - Add a PLATFORM variable to construction environments.
1683 - Remove the "platform" argument from tool specifications.
1685 - Propogate PYTHONPATH when running the regression tests so distutils
1686 can be found in non-standard locations.
1688 - Using MSVC long command-line linking when running Cygwin.
1690 - Portability fixes for a lot of tests.
1692 - Add a Value Node class for dependencies on in-core Python values.
1694 From Allen Bierbaum:
1696 - Pass an Environment to the Options validator method, and
1697 add an Options.Save() method.
1699 From Steve Christensen:
1701 - Add an optional sort function argument to the GenerateHelpText()
1704 - Evaluate the "varlist" variables when computing the signature of a
1709 - Parse the source .java files for class names (including inner class
1710 names) to figure out the target .class files that will be created.
1712 - Make Java support work with Repositories and SConscriptChdir(0).
1714 - Pass Nodes, not strings, to Builder emitter functions.
1716 - Refactor command-line interpolation and signature calculation
1717 so we can use real Node attributes.
1721 - Add Java support (javac, javah, jar and rmic).
1723 - Propagate the external SYSTEMROOT environment variable into ENV on
1724 Win32 systems, so external commands that use sockets will work.
1726 - Add a .posix attribute to PathList expansions.
1728 - Check out CVS source files using POSIX path names (forward slashes
1729 as separators) even on Win32.
1731 - Add Node.clear() and Node.FS.Entry.clear() methods to wipe out a
1732 Node's state, allowing it to be re-evaluated by continuous
1733 integration build interfaces.
1735 - Change the name of the Set{Build,Content}SignatureType() functions
1736 to {Target,Source}Signatures(). Deprecate the old names but support
1737 them for backwards compatibility.
1739 - Add internal SCons.Node.FS.{Dir,File}.Entry() methods.
1741 - Interpolate the null string if an out-of-range subscript is used
1742 for a construction variable.
1744 - Fix the internal Link function so that it properly links or copies
1745 files in subsidiary BuildDir directories.
1747 - Refactor the internal representation of a single execution instance
1748 of an action to eliminate redundant signature calculations.
1750 - Eliminate redundant signature calculations for Nodes.
1752 - Optimize out calling hasattr() before accessing attributes.
1754 - Say "Cleaning targets" (not "Building...") when the -c option is
1759 - Quote the "Entering directory" message like Make.
1761 From Stefan Reichor:
1763 - Add support for using Ghostscript to convert Postscript to PDF files.
1767 - Add a standalone "Alias" function (separate from an Environment).
1769 - Make Export() work for local variables.
1771 - Support passing a dictionary to Export().
1773 - Support Import('*') to import everything that's been Export()ed.
1775 - Fix an undefined exitvalmap on Win32 systems.
1777 - Support new SetOption() and GetOption() functions for setting
1778 various command-line options from with an SConscript file.
1780 - Deprecate the old SetJobs() and GetJobs() functions in favor of
1781 using the new generic {Set,Get}Option() functions.
1783 - Fix a number of tests that searched for a Fortran compiler using the
1784 external PATH instead of what SCons would use.
1786 - Fix the interaction of SideEffect() and BuildDir() so that (for
1787 example) PDB files get put correctly in a BuildDir().
1791 - Contribute the "Autoscons" code for Autoconf-like checking for
1792 the existence of libraries, header files and the like.
1794 - Have the Tool() function add the tool name to the $TOOLS
1795 construction variable.
1799 - Support the C preprocessor #import statement.
1801 - Allow the SharedLibrary() Builder on Win32 systems to be able to
1802 register a newly-built dll using regsvr32.
1804 - Add a Builder for Windows type library (.tlb) files from IDL files.
1806 - Add an IDL scanner.
1808 - Refactor the Fortran, C and IDL scanners to share common logic.
1810 - Add .srcpath and .srcdir attributes to $TARGET and $SOURCE.
1812 From Christoph Wiedemann:
1814 - Integrate David Snopek's "Autoscons" code as the new SConf
1815 configuration subsystem, including caching of values between
1816 runs (using normal SCons dependency mechanisms), tests, and
1821 RELEASE 0.13 - Mon, 31 Mar 2003 20:22:00 -0600
1825 - Fix a bug when BuildDir(duplicate=0) is used and SConscript
1826 files are called from within other SConscript files.
1828 - Support (older) versions of Perforce which don't set the Windows
1833 RELEASE 0.12 - Thu, 27 Mar 2003 23:52:09 -0600
1837 - Added support for the Perforce source code management system.
1839 - Fix str(Node.FS) so that it returns a path relative to the calling
1840 SConscript file's directory, not the top-level directory.
1842 - Added support for a separate src_dir argument to SConscript()
1843 that allows explicit specification of where the source files
1844 for an SConscript file can be found.
1846 - Support more easily re-usable flavors of command generators by
1847 calling callable variables when strings are expanded.
1851 - Added an INSTALL construction variable that can be set to a function
1852 to control how the Install() and InstallAs() Builders install files.
1853 The default INSTALL function now copies, not links, files.
1855 - Remove deprecated features: the "name" argument to Builder objects,
1856 and the Environment.Update() method.
1858 - Add an Environment.SourceCode() method to support fetching files
1859 from source code systems. Add factory methods that create Builders
1860 to support BitKeeper, CVS, RCS, and SCCS. Add support for fetching
1861 files from RCS or SCCS transparently (like GNU Make).
1863 - Make the internal to_String() function more efficient.
1865 - Make the error message the same as other build errors when there's a
1866 problem unlinking a target file in preparation for it being built.
1868 - Make TARGET, TARGETS, SOURCE and SOURCES reserved variable names and
1869 warn if the user tries to set them in a construction environment.
1871 - Add support for Tar and Zip files.
1873 - Better documentation of the different ways to export variables to a
1874 subsidiary SConscript file. Fix documentation bugs in a tools
1875 example, places that still assumed SCons split strings on white
1878 - Support fetching arbitrary files from the TARGETS or SOURCES lists
1879 (e.g. ${SOURCES[2]}) when calculating the build signature of a
1882 - Don't silently swallow exceptions thrown by Scanners (or other
1883 exceptions while finding a node's dependent children).
1885 - Push files to CacheDir() before calling the superclass built()
1886 method (which may clear the build signature as part of clearing
1887 cached implicit dependencies, if the file has a source scanner).
1888 (Bug reported by Jeff Petkau.)
1890 - Raise an internal error if we attempt to push a file to CacheDir()
1891 with a build signature of None.
1893 - Add an explicit Exit() function for terminating early.
1895 - Change the documentation to correctly describe that the -f option
1896 doesn't change to the directory in which the specified file lives.
1898 - Support changing directories locally with SConscript directory
1899 path names relative to any SConstruct file specified with -f.
1900 This allows you to build in another directory by simply changing
1901 there and pointing at the SConstruct file in another directory.
1903 - Change the default SConscriptChdir() behavior to change to the
1904 SConscript directory while it's being read.
1906 - Fix an exception thrown when the -U option was used with no
1907 Default() target specified.
1909 - Fix -u so that it builds things in corresponding build directories
1910 when used in a source directory.
1914 - Add SharedObject() support to the masm tool.
1916 - Fix WhereIs() to return normalized paths.
1920 - Don't copy a built file to a CacheDir() if it's already there.
1922 - Avoid partial copies of built files in a CacheDir() by copying
1923 to a temporary file and renaming.
1927 - Fix incorrect dependency-cycle errors when an Aliased source doesn't
1932 RELEASE 0.11 - Tue, 11 Feb 2003 05:24:33 -0600
1936 - Add support for IRIX and the SGI MIPSPro tool chain.
1938 - Support using the MSVC tool chain when running Cygwin Python.
1942 - Avoid losing signal bits in the exit status from a command,
1943 helping terminate builds on interrupt (CTRL+C).
1947 - Added new AddPreAction() and AddPostAction() functions that support
1948 taking additional actions before or after building specific targets.
1950 - Add support for the PharLap ETS tool chain.
1954 - Allow Python function Actions to specify a list of construction
1955 variables that should be included in the Action's signature.
1957 - Allow libraries in the LIBS variable to explicitly include the prefix
1958 and suffix, even when using the GNU linker.
1959 (Bug reported by Neal Becker.)
1961 - Use DOS-standard CR-LF line endings in the scons.bat file.
1962 (Bug reported by Gary Ruben.)
1964 - Doc changes: Eliminate description of deprecated "name" keyword
1965 argument from Builder definition (reported by Gary Ruben).
1967 - Support using env.Append() on BUILDERS (and other dictionaries).
1968 (Bug reported by Bj=F6rn Bylander.)
1970 - Setting the BUILDERS construction variable now properly clears
1971 the previous Builder attributes from the construction Environment.
1972 (Bug reported by Bj=F6rn Bylander.)
1974 - Fix adding a prefix to a file when the target isn't specified.
1975 (Bug reported by Esa Ilari Vuokko.)
1977 - Clean up error messages from problems duplicating into read-only
1978 BuildDir directories or into read-only files.
1980 - Add a CommandAction.strfunction() method, and add an "env" argument
1981 to the FunctionAction.strfunction() method, so that all Action
1982 objects have strfunction() methods, and the functions for building
1983 and returning a string both take the same arguments.
1985 - Add support for new CacheDir() functionality to share derived files
1986 between builds, with related options --cache-disable, --cache-force,
1989 - Change the default behavior when no targets are specified to build
1990 everything in the current directory and below (like Make). This
1991 can be disabled by specifying Default(None) in an SConscript.
1993 - Revamp SCons installation to fix a case-sensitive installation
1994 on Win32 systems, and to add SCons-specific --standard-lib,
1995 --standalone-lib, and --version-lib options for easier user
1996 control of where the libraries get installed.
1998 - Fix the ability to directly import and use Platform and Tool modules
1999 that have been implicitly imported into an Environment().
2001 - Add support for allowing an embedding interface to annotate a node
2004 - Extend the SConscript() function to accept build_dir and duplicate
2005 keyword arguments that function like a BuildDir() call.
2009 - Fix the output of -c -n when directories are involved, so it
2014 - Use a different shared object suffix (.os) when using gcc so shared
2015 and static objects can exist side-by-side in the same directory.
2017 - Allow the same object files on Win32 to be linked into either
2018 shared or static libraries.
2020 - Cache implicit cache values when using --implicit-cache.
2024 RELEASE 0.10 - Thu, 16 Jan 2003 04:11:46 -0600
2026 From Derrick 'dman' Hudson:
2028 - Support Repositories on other file systems by symlinking or
2029 copying files when hard linking won't work.
2033 - Remove Python bytecode (*.pyc) files from the scons-local packages.
2035 - Have FunctionActions print a description of what they're doing
2036 (a representation of the Python call).
2038 - Fix the Install() method so that, like other actions, it prints
2039 what would have happened when the -n option is used.
2041 - Don't create duplicate source files in a BuildDir when the -n
2044 - Refactor the Scanner interface to eliminate unnecessary Scanner
2045 calls and make it easier to write efficient scanners.
2047 - Added a "recursive" flag to Scanner creation that specifies the
2048 Scanner should be invoked recursively on dependency files returned
2051 - Significant performance improvement from using a more efficient
2052 check, throughout the code, for whether a Node has a Builder.
2054 - Fix specifying only the source file to MultiStepBuilders such as
2055 the Program Builder. (Bug reported by Dean Bair.)
2057 - Fix an exception when building from a file with the same basename as
2058 the subdirectory in which it lives. (Bug reported by Gerard Patel.)
2060 - Fix automatic deduction of a target file name when there are
2061 multiple source files specified; the target is now deduced from just
2062 the first source file in the list.
2064 - Documentation fixes: better initial explanation of SConscript files;
2065 fix a misformatted "table" in the StaticObject explanation.
2067 From Steven Knight and Steve Leblanc:
2069 - Fix the -c option so it will remove symlinks.
2073 - Add a Clean() method to support removing user-specified targets
2074 when using the -c option.
2076 - Add a development script for running SCons through PyChecker.
2078 - Clean up things found by PyChecker (mostly unnecessary imports).
2080 - Add a script to use HappyDoc to create HTML class documentation.
2084 - Make the Environment.get() method return None by default.
2088 - Add SetJobs() and GetJobs() methods to allow configuration of the
2089 number of default jobs (still overridden by -j).
2091 - Convert the .sconsign file format from ASCII to a pickled Python
2094 - Error message cleanups: Made consistent the format of error
2095 messages (now all start with "scons: ***") and warning messages (now
2096 all start with "scons: warning:"). Caught more cases with the "Do
2097 not know how to build" error message.
2099 - Added support for the MinGW tool chain.
2101 - Added a --debug=includes option.
2105 RELEASE 0.09 - Thu, 5 Dec 2002 04:48:25 -0600
2109 - Add a Prepend() method to Environments, to append values to
2110 the beginning of construction variables.
2114 - Add long command-line support to the "lib" Tool (Microsoft library
2119 - Allow $$ in a string to be passed through as $.
2121 - Support file names with odd characters in them.
2123 - Add support for construction variable substition on scanner
2124 directories (in CPPPATH, F77PATH, LIBPATH, etc.).
2126 From Charles Crain and Steven Knight:
2128 - Add Repository() functionality, including the -Y option.
2132 - Fix auto-deduction of target names so that deduced targets end
2133 up in the same subdirectory as the source.
2135 - Don't remove source files specified on the command line!
2137 - Suport the Intel Fortran Compiler (ifl.exe).
2139 - Supply an error message if there are no command-line or
2140 Default() targets specified.
2142 - Fix the ASPPCOM values for the GNU assembler.
2143 (Bug reported by Brett Polivka.)
2145 - Fix an exception thrown when a Default() directory was specified
2146 when using the -U option.
2148 - Issue a warning when -c can't remove a target.
2150 - Eliminate unnecessary Scanner calls by checking for the
2151 existence of a file before scanning it. (This adds a generic
2152 hook to check an arbitrary condition before scanning.)
2154 - Add explicit messages to tell when we're "Reading SConscript files
2155 ...," "done reading SConscript files," "Building targets," and
2156 "done building targets." Add a -Q option to supress these.
2158 - Add separate $SHOBJPREFIX and $SHOBJSUFFIX construction variables
2159 (by default, the same as $OBJPREFIX and $OBJSUFFIX).
2161 - Add Make-like error messages when asked to build a source file,
2162 and before trying to build a file that doesn't have all its source
2163 files (including when an invalid drive letter is used on WIN32).
2165 - Add an scons-local-{version} package (in both .tar.gz and .zip
2166 flavors) to help people who want to ship SCons as a stand-alone
2167 build tool in their software packages.
2169 - Prevent SCons from unlinking files in certain situations when
2170 the -n option is used.
2172 - Change the name of Tool/lib.py to Tool/mslib.py.
2174 From Steven Knight and Anthony Roach:
2176 - Man page: document the fact that Builder calls return Node objects.
2180 - Refactor option processing to use our own version of Greg Ward's
2181 Optik module, modified to run under Python 1.5.2.
2183 - Add a ParseConfig() command to modify an environment based on
2184 parsing output from a *-config command.
2188 - Fix interpretation of '#/../foo' on Win32 systems.
2192 - Fixed use of command lines with spaces in their arguments,
2193 and use of Nodes with spaces in their string representation.
2195 - Make access and modification times of files in a BuildDir match
2196 the source file, even when hard linking isn't available.
2198 - Make -U be case insensitive on Win32 systems.
2200 - Issue a warning and continue when finding a corrupt .sconsign file.
2202 - Fix using an alias as a dependency of a target so that if one of the
2203 alias' dependencies gets rebuilt, the resulting target will, too.
2205 - Fix differently ordered targets causing unnecessary rebuilds
2206 on case insensitive systems.
2208 - Use os.system() to execute external commands whenever the "env"
2209 utility is available, which is much faster than fork()/exec(),
2210 and fixes the -j option on several platforms.
2212 - Fix use of -j with multiple targets.
2214 - Add an Options() object for friendlier accomodation of command-
2217 - Add support for Microsoft VC++ precompiled header (.pch) files,
2218 debugger (.pdb) files, and resource (.rc) files.
2220 - Don't compute the $_CPPINCFLAGS, $_F77INCFLAGS, $_LIBFLAGS and
2221 $_LIBDIRFLAGS variables each time a command is executed, define
2222 them so they're computed only as needed. Add a new _concat
2223 function to the Environment that allows people to define their
2224 own similar variables.
2226 - Fix dependency scans when $LIBS is overridden.
2228 - Add EnsurePythonVersion() and EnsureSConsVersion() functions.
2230 - Fix the overly-verbose stack trace on ListBuilder build errors.
2232 - Add a SetContentSignatureType() function, allowing use of file
2233 timestamps instead of MD5 signatures.
2235 - Make -U and Default('source') fail gracefully.
2237 - Allow the File() and Dir() methods to take a path-name string as
2238 the starting directory, in addition to a Dir object.
2240 - Allow the command handler to be selected via the SPAWN, SHELL
2241 and ESCAPE construction variables.
2243 - Allow construction variables to be overridden when a Builder
2248 - Dynamically check for the existence of utilities with which to
2249 initialize Environments by default.
2253 RELEASE 0.08 - Mon, 15 Jul 2002 12:08:51 -0500
2257 - Fixed a bug with relative CPPPATH dirs when using BuildDir().
2258 (Bug reported by Bob Summerwill.)
2260 - Added a warnings framework and a --warn option to enable or
2263 - Make the C scanner warn users if files referenced by #include
2264 directives cannot be found and --warn=dependency is specified.
2266 - The BUILDERS construction variable should now be a dictionary
2267 that maps builder names to actions. Existing uses of lists,
2268 and the Builder name= keyword argument, generate warnings
2269 about use of deprecated features.
2271 - Removed the "shared" keyword argument from the Object and
2274 - Added separated StaticObject, SharedObject, StaticLibrary and
2275 SharedLibrary builders. Made Object and Library synonyms for
2276 StaticObject and StaticLibrary, respectively.
2278 - Add LIBS and LIBPATH dependencies for shared libraries.
2280 - Removed support for the prefix, suffix and src_suffix arguments
2281 to Builder() to be callable functions.
2283 - Fix handling file names with multiple dots.
2285 - Allow a build directory to be outside of the SConstruct tree.
2287 - Add a FindFile() function that searches for a file node with a
2290 - Add $CPPFLAGS to the shared-object command lines for g++ and gcc.
2292 From Charles Crain and Steven Knight:
2294 - Add a "tools=" keyword argument to Environment instantiation,
2295 and a separate Tools() method, for more flexible specification
2296 of tool-specific environment changes.
2300 - Add a "platform=" keyword argument to Environment instantiation,
2301 and a separate Platform() method, for more flexible specification
2302 of platform-specific environment changes.
2304 - Updated README instructions and setup.py code to catch an
2305 installation failure from not having distutils installed.
2307 - Add descriptions to the -H help text for -D, -u and -U so
2308 people can tell them apart.
2310 - Remove the old feature of automatically splitting strings
2311 of file names on white space.
2313 - Add a dependency Scanner for native Fortran "include" statements,
2314 using a new "F77PATH" construction variable.
2316 - Fix C #include scanning to detect file names with characters like
2319 - Add more specific version / build output to the -v option.
2321 - Add support for the GNU as, Microsoft masm, and nasm assemblers.
2323 - Allow the "target" argument to a Builder call to be omitted, in
2324 which case the target(s) are deduced from the source file(s) and the
2325 Builder's specified suffix.
2327 - Add a tar archive builder.
2329 - Add preliminary support for the OS/2 Platform, including the icc
2334 - Fix --implicit-cache if the scanner returns an empty list.
2338 - Add a "multi" keyword argument to Builder creation that specifies
2339 it's okay to call the builder multiple times for a target.
2341 - Set a "multi" on Aliases so multiple calls will append to an Alias.
2343 - Fix emitter functions' use of path names when using BuildDir or
2346 - Fix --implicit-cache causing redundant rebuilds when the header
2349 - Fix --implicit-cache when a file has no implicit dependencies and
2350 its source is generated.
2352 - Make the drive letters on Windows always be the same case, so that
2353 changes in the case of drive letters don't cause a rebuild.
2355 - Fall back to importing the SCons.TimeStamp module if the SCons.MD5
2356 module can't be imported.
2358 - Fix interrupt handling to guarantee that a single interrupt will
2359 halt SCons both when using -j and not.
2361 - Fix .sconsign signature storage so that output files of one build
2362 can be safely used as input files to another build.
2364 - Added a --debug=time option to print SCons execution times.
2366 - Print an error message if a file can't be unlinked before being
2367 built, rather than just silently terminating the build.
2369 - Add a SideEffect() method that can be used to tell the build
2370 engine that a given file is created as a side effect of building
2371 a target. A file can be specified as a side effect of more than
2372 one build comand, in which case the commands will not be executed
2375 - Significant performance gains from not using our own version of
2376 the inefficient stock os.path.splitext() method, caching source
2377 suffix computation, code cleanup in MultiStepBuilder.__call__(),
2378 and replicating some logic in scons_subst().
2380 - Add --implicit-deps-changed and --implicit-deps-unchanged options.
2382 - Add a GetLaunchDir() function.
2384 - Add a SetBuildSignatureType() function.
2388 - Add an Append() method to Environments, to append values to
2389 construction variables.
2391 - Change the name of Update() to Replace(). Keep Update() as a
2392 deprecated synonym, at least for now.
2394 From Terrel Shumway:
2396 - Use a $PYTHON construction variable, initialized to sys.executable,
2397 when using Python to build parts of the SCons packages.
2399 - Use sys.prefix, not sys.exec_prefix, to find pdb.py.
2403 RELEASE 0.07 - Thu, 2 May 2002 13:37:16 -0500
2407 - Changes to build SCons packages on IRIX (and other *NIces).
2409 - Don't create a directory Node when a file already exists there,
2412 - Add 'dirs' and 'names' keyword arguments to SConscript for
2413 easier specification of subsidiary SConscript files.
2417 - Internal cleanup of environment passing to function Actions.
2419 - Builders can now take arbitrary keyword arguments to create
2420 attributes to be passed to: command generator functions,
2421 FunctionAction functions, Builder emitter functions (below),
2422 and prefix/suffix generator functions (below).
2424 - Command generator functions can now return ANYTHING that can be
2425 converted into an Action (a function, a string, a CommandGenerator
2426 instance, even an ActionBase instance).
2428 - Actions now call get_contents() with the actual target and source
2429 nodes used for the build.
2431 - A new DictCmdGenerator class replaces CompositeBuilder to support
2432 more flexible Builder behavior internally.
2434 - Builders can now take an emitter= keyword argument. An emitter
2435 is a function that takes target, source, and env argument, then
2436 return a 2-tuple of (new sources, new targets). The emitter is
2437 called when the Builder is __call__'ed, allowing a user to modify
2438 source and target lists.
2440 - The prefix, suffix and src_suffix Builder arguments now take a
2441 callable as well a string. The callable is passed the Environment
2442 and any extra Builder keyword arguments and is expected to return
2443 the appropriate prefix or suffix.
2445 - CommandActions can now be a string, a list of command + argument
2446 strings, or a list of commands (strings or lists).
2448 - Added shared library support. The Object and Library Builders now
2449 take a "shared=1" keyword argument to specify that a shared object
2450 or shared library should be built. It is an error to try to build
2451 static objects into a shared library or vice versa.
2453 - Win32 support for .def files has been added. Added the Win32-specific
2454 construction variables $WIN32DEFPREFIX, $WIN32DEFSUFFIX,
2455 $WIN32DLLPREFIX and $WIN32IMPLIBPREFIX. When building a .dll,
2456 the new construction variable $WIN32_INSERT_DEF, controls whether
2457 the appropriately-named .def file is inserted into the target
2458 list (if not already present). A .lib file is always added to
2459 a Library build if not present in the list of targets.
2461 - ListBuilder now passes all targets to the action, not just the first.
2463 - Fix so that -c now deletes generated yacc .h files.
2465 - Builder actions and emitter functions can now be initialized, through
2466 construction variables, to things other than strings.
2468 - Make top-relative '#/dir' lookups work like '#dir'.
2470 - Fix for relative CPPPATH directories in subsidiary SConscript files
2473 - Add a for_signature argument to command generators, so that
2474 generators that need to can return distinct values for the
2475 command signature and for executing the command.
2479 - Create a better scons.bat file from a py2bat.py script on the Python
2480 mailing list two years ago (modeled after pl2bat.pl).
2484 - Fix so that -c -n does *not* remove the targets!
2486 - Man page: Add a hierarchical libraries + Program example.
2488 - Support long MSVC linker command lines through a builder action
2489 that writes to a temporary file and uses the magic MSVC "link @file"
2490 argument syntax if the line is longer than 2K characters.
2492 - Fix F77 command-line options on Win32 (use /Fo instead of -o).
2494 - Use the same action to build from .c (lower case) and .C (upper
2495 case) files on case-insensitive systems like Win32.
2497 - Support building a PDF file directly from a TeX or LaTeX file
2498 using pdftex or pdflatex.
2500 - Add a -x option to runtest.py to specify the script being tested.
2501 A -X option indicates it's an executable, not a script to feed
2502 to the Python interpreter.
2504 - Add a Split() function (identical to SCons.Util.argmunge()) for use
2505 in the next release, when Builders will no longer automatically split
2506 strings on white space.
2510 - Add the SConscriptChdir() method.
2514 - Fix --debug=tree when used with directory targets.
2516 - Significant internal restructuring of Scanners and Taskmaster.
2518 - Added new --debug=dtree option.
2520 - Fixes for --profile option.
2522 - Performance improvement in construction variable substitution.
2524 - Implemented caching of content signatures, plus added --max-drift
2525 option to control caching.
2527 - Implemented caching of dependency signatures, enabled by new
2528 --implicit-cache option.
2530 - Added abspath construction variable modifier.
2532 - Added $SOURCE variable as a synonym for $SOURCES[0].
2534 - Write out .sconsign files on error or interrupt so intermediate
2535 build results are saved.
2537 - Change the -U option to -D. Make a new -U that builds just the
2538 targets from the local SConscript file.
2540 - Fixed use of sys.path so Python modules can be imported from
2541 the SConscript directory.
2543 - Fix for using Aliases with the -u, -U and -D options.
2545 - Fix so that Nodes can be passed to SConscript files.
2549 - Changes for official Debian packaging.
2553 RELEASE 0.06 - Thu, 28 Mar 2002 01:24:29 -0600
2557 - Fix command generators to expand construction variables.
2559 - Make FunctionAction arguments be Nodes, not strings.
2561 From Stephen Kennedy:
2563 - Performance: Use a dictionary, not a list, for a Node's parents.
2567 - Add .zip files to the packages we build.
2569 - Man page: document LIBS, fix a typo, document ARGUMENTS.
2571 - Added RANLIB and RANLIBFLAGS construction variables. Only use them
2572 in ARCOM if there's a "ranlib" program on the system.
2574 - Add a configurable CFILESUFFIX for the Builder of .l and .y files
2577 - Add a CXXFile Builder that turns .ll and .yy files into .cc files
2578 (configurable via a CXXFILESUFFIX construction variable).
2580 - Use the POSIX-standard lex -t flag, not the GNU-specific -o flag.
2581 (Bug reported by Russell Christensen.)
2583 - Fixed an exception when CPPPATH or LIBPATH is a null string.
2584 (Bug reported by Richard Kiss.)
2586 - Add a --profile=FILE option to make profiling SCons easier.
2588 - Modify the new DVI builder to create .dvi files from LaTeX (.ltx
2591 - Add support for Aliases (phony targets).
2593 - Add a WhereIs() method for searching for path names to executables.
2595 - Add PDF and PostScript document builders.
2597 - Add support for compiling Fortran programs from a variety of
2598 suffixes (a la GNU Make): .f, .F, .for, .FOR, .fpp and .FPP
2600 - Support a CPPFLAGS variable on all default commands that use the
2605 - Add support for the -U option.
2607 - Allow CPPPATH, LIBPATH and LIBS to be specified as white-space
2610 - Add a document builder to create .dvi files from TeX (.tex) files.
2614 - Fix: Construction variables with values of 0 were incorrectly
2617 - Support env['VAR'] to fetch construction variable values.
2619 - Man page: document Precious().
2623 RELEASE 0.05 - Thu, 21 Feb 2002 16:50:03 -0600
2627 - Set PROGSUFFIX to .exe under Cygwin.
2631 - Allow a library to specified as a command-line source file, not just
2632 in the LIBS construction variable.
2634 - Compensate for a bug in os.path.normpath() that returns '' for './'
2637 - More performance optimizations: cache #include lines from files,
2638 eliminate unnecessary calls.
2640 - If a prefix or suffix contains white space, treat the resulting
2641 concatenation as separate arguments.
2643 - Fix irregularities in the way we fetch DevStudio information from
2644 the Windows registry, and in our registry error handling.
2648 - Flush stdout after print so it intermixes correctly with stderr
2651 - Allow Scanners to return a list of strings, and document how to
2652 write your own Scanners.
2654 - Look up implicit (scanned) dependencies relative to the directory
2655 of file being scanned.
2657 - Make writing .sconsign files more robust by first trying to write
2658 to a temp file that gets renamed.
2660 - Create all of the directories for a list of targets before trying
2661 to build any of the targets.
2663 - WIN32 portability fixes in tests.
2665 - Allow the list of variables exported to an SConscript file to be
2668 - Document the overlooked LIBPATH construction variable.
2669 (Bug reported by Eicke Godehardt.)
2671 - Fix so that Ignore() ignores indirect, implicit dependencies
2672 (included files), not just direct dependencies.
2674 - Put the man page in the Debian distribution.
2676 - Run HTML docs through tidy to clean up the HTML (for Konqueror).
2678 - Add preliminary support for Unicode strings.
2680 - Efficiency: don't scan dependencies more than once during the
2683 - Fix the -c option so it doesn't stop removing targets if one doesn't
2685 (Bug reported by Paul Connell.)
2687 - Fix the --debug=pdb option when run on Windows NT.
2688 (Bug reported by Paul Connell.)
2690 - Add support for the -q option.
2694 - Add support for the -u option.
2696 - Add .cc and .hh file suffixes to the C Scanner.
2700 - Make the scons script return an error code on failures.
2702 - Add support for using code to generate a command to build a target.
2706 RELEASE 0.04 - Wed, 30 Jan 2002 11:09:42 -0600
2710 - Significant performance improvements in the Node.FS and
2713 - Fix signatures of binary files on Win32 systems.
2715 - Allow LIBS and LIBPATH to be strings, not just arrays.
2717 - Print a traceback if a Python-function builder throws an exception.
2721 - Fix using a directory as a Default(), and allow Default() to
2722 support white space in file names for strings in arrays.
2724 - Man page updates: corrected some mistakes, documented various
2725 missing Environment methods, alphabetized the construction
2726 variables and other functions, defined begin and end macros for
2727 the example sections, regularized white space separation, fixed
2728 the use of Export() in the Multiple Variants example.
2730 - Function action fixes: None is now a successful return value.
2731 Exceptions are now reported. Document function actions.
2733 - Add 'Action' and 'Scanner' to the global keywords so SConscript
2734 files can use them too.
2736 - Removed the Wrapper class between Nodes and Walkers.
2738 - Add examples using Library, LIBS, and LIBPATH.
2740 - The C Scanner now always returns a sorted list of dependencies
2741 so order changes don't cause unnecessary rebuilds.
2743 - Strip $(-$) bracketed text from command lines. Use this to
2744 surround $_INCDIRS and $_LIBDIRS so we don't rebuild in response
2745 to changes to -I or -L options.
2747 - Add the Ignore() method to ignore dependencies.
2749 - Provide an error message when a nonexistent target is specified
2750 on the command line.
2752 - Remove targets before building them, and add an Environment
2753 Precious() method to override that.
2755 - Eliminate redundant calls to the same builder when the target is a
2756 list of targets: Add a ListBuilder class that wraps Builders to
2757 handle lists atomically. Extend the Task class to support building
2758 and updating multiple targets in a single Task. Simplify the
2759 interface between Task and Taskmaster.
2761 - Add a --debug=pdb option to re-run SCons under the Python debugger.
2763 - Only compute a build signature once for each node.
2765 - Changes to our sys.path[] manipulation to support installation into
2766 an arbitrary --prefix value.
2770 - Add var=value command-line arguments.
2774 RELEASE 0.03 - Fri, 11 Jan 2002 01:09:30 -0600
2778 - Performance improvements in the Node.FS and Sig.Calculator classes.
2780 - Add the InstallAs() method.
2782 - Execute commands through an external interpreter (sh, cmd.exe, or
2783 command.com) to handle redirection metacharacters.
2785 - Allow the user to supply a command handler.
2789 - Search both /usr/lib and /usr/local/lib for scons directories by
2790 adding them both to sys.path, with whichever is in sys.prefix first.
2792 - Fix interpreting strings of multiple white-space separated file names
2793 as separate file names, allowing prefixes and suffixes to be appended
2794 to each individually.
2796 - Refactor to move CompositeBuilder initialization logic from the
2797 factory wrapper to the __init__() method, and allow a Builder to
2798 have both an action and a src_builder (or array of them).
2800 - Refactor BuilderBase.__call__() to separate Node creation/lookup
2801 from initialization of the Node's builder information.
2803 - Add a CFile Builder object that supports turning lex (.l) and
2804 yacc (.y) files into .c files.
2806 - Document: variable interpretation attributes; how to propogate
2807 the user's environment variables to executed commands; how to
2808 build variants in multiple BuildDirs.
2810 - Collect String, Dict, and List type-checking in common utility
2811 routines so we can accept User{String,Dict,List}s all over.
2813 - Put the Action factory and classes into their own module.
2815 - Use one CPlusPlusAction in the Object Builder's action dictionary,
2816 instead of letting it create multiple identical instances.
2818 - Document the Install() and InstallAs() methods.
2822 - Require that a Builder be given a name argument, supplying a
2823 useful error message when it isn't.
2827 - Add a "duplicate" keyword argument to BuildDir() that can be set
2828 to prevent linking/copying source files into build directories.
2830 - Add a "--debug=tree" option to print an ASCII dependency tree.
2832 - Fetch the location of the Microsoft Visual C++ compiler(s) from
2833 the Registry, instead of hard-coding the location.
2835 - Made Scanner objects take Nodes, not path names.
2837 - Have the C Scanner cache the #include file names instead of
2838 (re-)scanning the file each time it's called.
2840 - Created a separate class for parent "nodes" of file system roots,
2841 eliminating the need for separate is-parent-null checks everywhere.
2843 - Removed defined __hash__() and __cmp() methods from FS.Entry, in
2844 favor of Python's more efficient built-in identity comparisons.
2848 RELEASE 0.02 - Sun, 23 Dec 2001 19:05:09 -0600
2852 - Added the Install(), BuildDir(), and Export() methods.
2854 - Fix the -C option by delaying setting the top of the FS tree.
2856 - Avoid putting the directory path on the libraries in the LIBS
2857 construction variable.
2859 - Added a GetBuildPath() method to return the full path to the
2860 Node for a specified string.
2862 - Fixed variable substitution in CPPPATH and LIBPATH.
2866 - Fixed the version comment in the scons.bat (the UNIX geek used
2869 - Fix to setup.py so it doesn't require a sys.argv[1] argument.
2871 - Provide make-like warning message for "command not found" and
2874 - Added an EXAMPLES section to the man page.
2876 - Make Default() targets properly relative to their SConscript
2877 file's subdirectory.
2881 - Documented CXXFLAGS, CXXCOM, and CPPPATH.
2883 - Fixed SCONS_LIB_DIR to work as documented.
2885 - Made Default() accept Nodes as arguments.
2887 - Changed Export() to make it easier to use.
2889 - Added the Import() and Return() methods.
2893 RELEASE 0.01 - Thu Dec 13 19:25:23 CST 2001
2895 A brief overview of important functionality available in release 0.01:
2897 - C and C++ compilation on POSIX and Windows NT.
2899 - Automatic scanning of C/C++ source files for #include dependencies.
2901 - Support for building libraries; setting construction variables
2902 allows creation of shared libraries.
2904 - Library and C preprocessor search paths.
2906 - File changes detected using MD5 signatures.
2908 - User-definable Builder objects for building files.
2910 - User-definable Scanner objects for scanning for dependencies.
2912 - Parallel build (-j) support.
2914 - Dependency cycles detected.
2916 - Linux packages available in RPM and Debian format.
2918 - Windows installer available.