Initialize the new branch.
[scons.git] / src / CHANGES.txt
1 # __COPYRIGHT__
2 # __FILE__ __REVISION__ __DATE__ __DEVELOPER__
3
4
5                  SCons - a software construction tool
6
7                             Change Log
8
9
10
11 RELEASE 0.15 - XXX
12
13   From Steven Knight:
14
15
16
17 RELEASE 0.14 - Wed, 21 May 2003 05:16:32 -0500
18
19   From Chad Austin:
20
21   - Use .dll (not .so) for shared libraries on Cygwin; use -fPIC
22     when compiling them.
23
24   - Use 'rm' to remove files under Cygwin.
25
26   - Add a PLATFORM variable to construction environments.
27
28   - Remove the "platform" argument from tool specifications.
29
30   - Propogate PYTHONPATH when running the regression tests so distutils
31     can be found in non-standard locations.
32
33   - Using MSVC long command-line linking when running Cygwin.
34
35   - Portability fixes for a lot of tests.
36
37   - Add a Value Node class for dependencies on in-core Python values.
38
39   From Allen Bierbaum:
40
41   - Pass an Environment to the Options validator method, and
42     add an Options.Save() method.
43
44   From Steve Christensen:
45
46   - Add an optional sort function argument to the GenerateHelpText()
47     Options function.
48
49   - Evaluate the "varlist" variables when computing the signature of a
50     function action.
51
52   From Charles Crain:
53
54   - Parse the source .java files for class names (including inner class
55     names) to figure out the target .class files that will be created.
56
57   - Make Java support work with Repositories and SConscriptChdir(0).
58
59   - Pass Nodes, not strings, to Builder emitter functions.
60
61   - Refactor command-line interpolation and signature calculation
62     so we can use real Node attributes.
63
64   From Steven Knight:
65
66   - Add Java support (javac, javah, jar and rmic).
67
68   - Propagate the external SYSTEMROOT environment variable into ENV on
69     Win32 systems, so external commands that use sockets will work.
70
71   - Add a .posix attribute to PathList expansions.
72
73   - Check out CVS source files using POSIX path names (forward slashes
74     as separators) even on Win32.
75
76   - Add Node.clear() and Node.FS.Entry.clear() methods to wipe out a
77     Node's state, allowing it to be re-evaluated by continuous
78     integration build interfaces.
79
80   - Change the name of the Set{Build,Content}SignatureType() functions
81     to {Target,Source}Signatures().  Deprecate the old names but support
82     them for backwards compatibility.
83
84   - Add internal SCons.Node.FS.{Dir,File}.Entry() methods.
85
86   - Interpolate the null string if an out-of-range subscript is used
87     for a construction variable.
88
89   - Fix the internal Link function so that it properly links or copies
90     files in subsidiary BuildDir directories.
91
92   - Refactor the internal representation of a single execution instance
93     of an action to eliminate redundant signature calculations.
94
95   - Eliminate redundant signature calculations for Nodes.
96
97   - Optimize out calling hasattr() before accessing attributes.
98
99   - Say "Cleaning targets" (not "Building...") when the -c option is
100     used.
101
102   From Damyan Pepper:
103
104   - Quote the "Entering directory" message like Make.
105
106   From Stefan Reichor:
107
108   - Add support for using Ghostscript to convert Postscript to PDF files.
109
110   From Anthony Roach:
111
112   - Add a standalone "Alias" function (separate from an Environment).
113
114   - Make Export() work for local variables.
115
116   - Support passing a dictionary to Export().
117
118   - Support Import('*') to import everything that's been Export()ed.
119
120   - Fix an undefined exitvalmap on Win32 systems.
121
122   - Support new SetOption() and GetOption() functions for setting
123     various command-line options from with an SConscript file.
124
125   - Deprecate the old SetJobs() and GetJobs() functions in favor of
126     using the new generic {Set,Get}Option() functions.
127
128   - Fix a number of tests that searched for a Fortran compiler using the
129     external PATH instead of what SCons would use.
130
131   - Fix the interaction of SideEffect() and BuildDir() so that (for
132     example) PDB files get put correctly in a BuildDir().
133
134   From David Snopek:
135
136   - Contribute the "Autoscons" code for Autoconf-like checking for
137     the existence of libraries, header files and the like.
138
139   - Have the Tool() function add the tool name to the $TOOLS
140     construction variable.
141
142   From Greg Spencer:
143
144   - Support the C preprocessor #import statement.
145
146   - Allow the SharedLibrary() Builder on Win32 systems to be able to
147     register a newly-built dll using regsvr32.
148
149   - Add a Builder for Windows type library (.tlb) files from IDL files.
150
151   - Add an IDL scanner.
152
153   - Refactor the Fortran, C and IDL scanners to share common logic.
154
155   - Add .srcpath and .srcdir attributes to $TARGET and $SOURCE.
156
157   From Christoph Wiedemann:
158
159   - Integrate David Snopek's "Autoscons" code as the new SConf
160     configuration subsystem, including caching of values between
161     runs (using normal SCons dependency mechanisms), tests, and
162     documentation.
163
164
165
166 RELEASE 0.13 - Mon, 31 Mar 2003 20:22:00 -0600
167
168   From Charles Crain:
169
170   - Fix a bug when BuildDir(duplicate=0) is used and SConscript
171     files are called from within other SConscript files.
172
173   - Support (older) versions of Perforce which don't set the Windows
174     registry.
175
176
177
178 RELEASE 0.12 - Thu, 27 Mar 2003 23:52:09 -0600
179
180   From Charles Crain:
181
182   - Added support for the Perforce source code management system.
183
184   - Fix str(Node.FS) so that it returns a path relative to the calling
185     SConscript file's directory, not the top-level directory.
186
187   - Added support for a separate src_dir argument to SConscript()
188     that allows explicit specification of where the source files
189     for an SConscript file can be found.
190
191   - Support more easily re-usable flavors of command generators by
192     calling callable variables when strings are expanded.
193
194   From Steven Knight:
195
196   - Added an INSTALL construction variable that can be set to a function
197     to control how the Install() and InstallAs() Builders install files.
198     The default INSTALL function now copies, not links, files.
199
200   - Remove deprecated features:  the "name" argument to Builder objects,
201     and the Environment.Update() method.
202
203   - Add an Environment.SourceCode() method to support fetching files
204     from source code systems.  Add factory methods that create Builders
205     to support BitKeeper, CVS, RCS, and SCCS.  Add support for fetching
206     files from RCS or SCCS transparently (like GNU Make).
207
208   - Make the internal to_String() function more efficient.
209
210   - Make the error message the same as other build errors when there's a
211     problem unlinking a target file in preparation for it being built.
212
213   - Make TARGET, TARGETS, SOURCE and SOURCES reserved variable names and
214     warn if the user tries to set them in a construction environment.
215
216   - Add support for Tar and Zip files.
217
218   - Better documentation of the different ways to export variables to a
219     subsidiary SConscript file.  Fix documentation bugs in a tools
220     example, places that still assumed SCons split strings on white
221     space, and typos.
222
223   - Support fetching arbitrary files from the TARGETS or SOURCES lists
224     (e.g. ${SOURCES[2]}) when calculating the build signature of a
225     command.
226
227   - Don't silently swallow exceptions thrown by Scanners (or other
228     exceptions while finding a node's dependent children).
229
230   - Push files to CacheDir() before calling the superclass built()
231     method (which may clear the build signature as part of clearing
232     cached implicit dependencies, if the file has a source scanner).
233     (Bug reported by Jeff Petkau.)
234
235   - Raise an internal error if we attempt to push a file to CacheDir()
236     with a build signature of None.
237
238   - Add an explicit Exit() function for terminating early.
239
240   - Change the documentation to correctly describe that the -f option
241     doesn't change to the directory in which the specified file lives.
242     
243   - Support changing directories locally with SConscript directory
244     path names relative to any SConstruct file specified with -f.
245     This allows you to build in another directory by simply changing
246     there and pointing at the SConstruct file in another directory.
247
248   - Change the default SConscriptChdir() behavior to change to the
249     SConscript directory while it's being read.
250
251   - Fix an exception thrown when the -U option was used with no
252     Default() target specified.
253
254   - Fix -u so that it builds things in corresponding build directories
255     when used in a source directory.
256
257   From Lachlan O'Dea:
258
259   - Add SharedObject() support to the masm tool.
260
261   - Fix WhereIs() to return normalized paths.
262
263   From Jeff Petkau:
264
265   - Don't copy a built file to a CacheDir() if it's already there.
266
267   - Avoid partial copies of built files in a CacheDir() by copying
268     to a temporary file and renaming.
269
270   From Anthony Roach:
271
272   - Fix incorrect dependency-cycle errors when an Aliased source doesn't
273     exist.
274
275
276
277 RELEASE 0.11 - Tue, 11 Feb 2003 05:24:33 -0600
278
279   From Chad Austin:
280
281   - Add support for IRIX and the SGI MIPSPro tool chain.
282
283   - Support using the MSVC tool chain when running Cygwin Python.
284
285   From Michael Cook:
286
287   - Avoid losing signal bits in the exit status from a command,
288     helping terminate builds on interrupt (CTRL+C).
289
290   From Charles Crain:
291
292   - Added new AddPreAction() and AddPostAction() functions that support
293     taking additional actions before or after building specific targets.
294
295   - Add support for the PharLap ETS tool chain.
296
297   From Steven Knight:
298
299   - Allow Python function Actions to specify a list of construction
300     variables that should be included in the Action's signature.
301
302   - Allow libraries in the LIBS variable to explicitly include the prefix
303     and suffix, even when using the GNU linker.
304     (Bug reported by Neal Becker.)
305
306   - Use DOS-standard CR-LF line endings in the scons.bat file.
307     (Bug reported by Gary Ruben.)
308
309   - Doc changes:  Eliminate description of deprecated "name" keyword
310     argument from Builder definition (reported by Gary Ruben).
311
312   - Support using env.Append() on BUILDERS (and other dictionaries).
313     (Bug reported by Bj=F6rn Bylander.)
314
315   - Setting the BUILDERS construction variable now properly clears
316     the previous Builder attributes from the construction Environment.
317     (Bug reported by Bj=F6rn Bylander.)
318
319   - Fix adding a prefix to a file when the target isn't specified.
320     (Bug reported by Esa Ilari Vuokko.)
321
322   - Clean up error messages from problems duplicating into read-only
323     BuildDir directories or into read-only files.
324
325   - Add a CommandAction.strfunction() method, and add an "env" argument
326     to the FunctionAction.strfunction() method, so that all Action
327     objects have strfunction() methods, and the functions for building
328     and returning a string both take the same arguments.
329
330   - Add support for new CacheDir() functionality to share derived files
331     between builds, with related options --cache-disable, --cache-force,
332     and --cache-show.
333
334   - Change the default behavior when no targets are specified to build
335     everything in the current directory and below (like Make).  This
336     can be disabled by specifying Default(None) in an SConscript.
337
338   - Revamp SCons installation to fix a case-sensitive installation
339     on Win32 systems, and to add SCons-specific --standard-lib,
340     --standalone-lib, and --version-lib options for easier user
341     control of where the libraries get installed.
342
343   - Fix the ability to directly import and use Platform and Tool modules
344     that have been implicitly imported into an Environment().
345
346   - Add support for allowing an embedding interface to annotate a node
347     when it's created.
348
349   - Extend the SConscript() function to accept build_dir and duplicate
350     keyword arguments that function like a BuildDir() call.
351
352   From Steve Leblanc:
353
354   - Fix the output of -c -n when directories are involved, so it
355     matches -c.
356
357   From Anthony Roach:
358
359   - Use a different shared object suffix (.os) when using gcc so shared
360     and static objects can exist side-by-side in the same directory.
361
362   - Allow the same object files on Win32 to be linked into either
363     shared or static libraries.
364
365   - Cache implicit cache values when using --implicit-cache.
366
367
368
369 RELEASE 0.10 - Thu, 16 Jan 2003 04:11:46 -0600
370
371   From Derrick 'dman' Hudson:
372
373   - Support Repositories on other file systems by symlinking or
374     copying files when hard linking won't work.
375
376   From Steven Knight:
377
378   - Remove Python bytecode (*.pyc) files from the scons-local packages.
379
380   - Have FunctionActions print a description of what they're doing
381     (a representation of the Python call).
382
383   - Fix the Install() method so that, like other actions, it prints
384     what would have happened when the -n option is used.
385
386   - Don't create duplicate source files in a BuildDir when the -n
387     option is used.
388
389   - Refactor the Scanner interface to eliminate unnecessary Scanner
390     calls and make it easier to write efficient scanners.
391
392   - Added a "recursive" flag to Scanner creation that specifies the
393     Scanner should be invoked recursively on dependency files returned
394     by the scanner.
395
396   - Significant performance improvement from using a more efficient
397     check, throughout the code, for whether a Node has a Builder.
398
399   - Fix specifying only the source file to MultiStepBuilders such as
400     the Program Builder.  (Bug reported by Dean Bair.)
401
402   - Fix an exception when building from a file with the same basename as
403     the subdirectory in which it lives.  (Bug reported by Gerard Patel.)
404
405   - Fix automatic deduction of a target file name when there are
406     multiple source files specified; the target is now deduced from just
407     the first source file in the list.
408
409   - Documentation fixes: better initial explanation of SConscript files;
410     fix a misformatted "table" in the StaticObject explanation.
411
412   From Steven Knight and Steve Leblanc:
413
414   - Fix the -c option so it will remove symlinks.
415
416   From Steve Leblanc:
417
418   - Add a Clean() method to support removing user-specified targets
419     when using the -c option.
420
421   - Add a development script for running SCons through PyChecker.
422
423   - Clean up things found by PyChecker (mostly unnecessary imports).
424
425   - Add a script to use HappyDoc to create HTML class documentation.
426
427   From Lachlan O'Dea:
428
429   - Make the Environment.get() method return None by default.
430
431   From Anthony Roach:
432
433   - Add SetJobs() and GetJobs() methods to allow configuration of the
434     number of default jobs (still overridden by -j).
435
436   - Convert the .sconsign file format from ASCII to a pickled Python
437     data structure.
438
439   - Error message cleanups:  Made consistent the format of error
440     messages (now all start with "scons: ***") and warning messages (now
441     all start with "scons: warning:").  Caught more cases with the "Do
442     not know how to build" error message.
443
444   - Added support for the MinGW tool chain.
445
446   - Added a --debug=includes option.
447
448
449
450 RELEASE 0.09 - Thu,  5 Dec 2002 04:48:25 -0600
451
452   From Chad Austin:
453
454   - Add a Prepend() method to Environments, to append values to
455     the beginning of construction variables.
456
457   From Matt Balvin:
458
459   - Add long command-line support to the "lib" Tool (Microsoft library
460     archiver), too.
461
462   From Charles Crain:
463
464   - Allow $$ in a string to be passed through as $.
465
466   - Support file names with odd characters in them.
467
468   - Add support for construction variable substition on scanner
469     directories (in CPPPATH, F77PATH, LIBPATH, etc.).
470
471   From Charles Crain and Steven Knight:
472
473   - Add Repository() functionality, including the -Y option.
474
475   From Steven Knight:
476
477   - Fix auto-deduction of target names so that deduced targets end
478     up in the same subdirectory as the source.
479
480   - Don't remove source files specified on the command line!
481
482   - Suport the Intel Fortran Compiler (ifl.exe).
483
484   - Supply an error message if there are no command-line or
485     Default() targets specified.
486
487   - Fix the ASPPCOM values for the GNU assembler.
488     (Bug reported by Brett Polivka.)
489
490   - Fix an exception thrown when a Default() directory was specified
491     when using the -U option.
492
493   - Issue a warning when -c can't remove a target.
494
495   - Eliminate unnecessary Scanner calls by checking for the
496     existence of a file before scanning it.  (This adds a generic
497     hook to check an arbitrary condition before scanning.)
498
499   - Add explicit messages to tell when we're "Reading SConscript files
500     ...," "done reading SConscript files," "Building targets," and
501     "done building targets."  Add a -Q option to supress these.
502
503   - Add separate $SHOBJPREFIX and $SHOBJSUFFIX construction variables
504     (by default, the same as $OBJPREFIX and $OBJSUFFIX).
505
506   - Add Make-like error messages when asked to build a source file,
507     and before trying to build a file that doesn't have all its source
508     files (including when an invalid drive letter is used on WIN32).
509
510   - Add an scons-local-{version} package (in both .tar.gz and .zip
511     flavors) to help people who want to ship SCons as a stand-alone
512     build tool in their software packages.
513
514   - Prevent SCons from unlinking files in certain situations when
515     the -n option is used.
516
517   - Change the name of Tool/lib.py to Tool/mslib.py.
518
519   From Steven Knight and Anthony Roach:
520
521   - Man page:  document the fact that Builder calls return Node objects.
522
523   From Steve LeBlanc:
524
525   - Refactor option processing to use our own version of Greg Ward's
526     Optik module, modified to run under Python 1.5.2.
527
528   - Add a ParseConfig() command to modify an environment based on
529     parsing output from a *-config command.
530
531   From Jeff Petkau:
532
533   - Fix interpretation of '#/../foo' on Win32 systems.
534
535   From Anthony Roach:
536
537   - Fixed use of command lines with spaces in their arguments,
538     and use of Nodes with spaces in their string representation.
539
540   - Make access and modification times of files in a BuildDir match
541     the source file, even when hard linking isn't available.
542
543   - Make -U be case insensitive on Win32 systems.
544
545   - Issue a warning and continue when finding a corrupt .sconsign file.
546
547   - Fix using an alias as a dependency of a target so that if one of the
548     alias' dependencies gets rebuilt, the resulting target will, too.
549
550   - Fix differently ordered targets causing unnecessary rebuilds
551     on case insensitive systems.
552
553   - Use os.system() to execute external commands whenever the "env"
554     utility is available, which is much faster than fork()/exec(),
555     and fixes the -j option on several platforms.
556
557   - Fix use of -j with multiple targets.
558
559   - Add an Options() object for friendlier accomodation of command-
560     line arguments.
561
562   - Add support for Microsoft VC++ precompiled header (.pch) files,
563     debugger (.pdb) files, and resource (.rc) files.
564
565   - Don't compute the $_CPPINCFLAGS, $_F77INCFLAGS, $_LIBFLAGS and
566     $_LIBDIRFLAGS variables each time a command is executed, define
567     them so they're computed only as needed.  Add a new _concat
568     function to the Environment that allows people to define their
569     own similar variables.
570
571   - Fix dependency scans when $LIBS is overridden.
572
573   - Add EnsurePythonVersion() and EnsureSConsVersion() functions.
574
575   - Fix the overly-verbose stack trace on ListBuilder build errors.
576
577   - Add a SetContentSignatureType() function, allowing use of file
578     timestamps instead of MD5 signatures.
579
580   - Make -U and Default('source') fail gracefully.
581
582   - Allow the File() and Dir() methods to take a path-name string as
583     the starting directory, in addition to a Dir object.
584
585   - Allow the command handler to be selected via the SPAWN, SHELL
586     and ESCAPE construction variables.
587
588   - Allow construction variables to be overridden when a Builder
589     is called.
590
591   From sam th:
592
593   - Dynamically check for the existence of utilities with which to
594     initialize Environments by default.
595
596
597
598 RELEASE 0.08 - Mon, 15 Jul 2002 12:08:51 -0500
599
600   From Charles Crain:
601
602   - Fixed a bug with relative CPPPATH dirs when using BuildDir().
603     (Bug reported by Bob Summerwill.)
604
605   - Added a warnings framework and a --warn option to enable or
606     disable warnings.
607
608   - Make the C scanner warn users if files referenced by #include
609     directives cannot be found and --warn=dependency is specified.
610
611   - The BUILDERS construction variable should now be a dictionary
612     that maps builder names to actions.  Existing uses of lists,
613     and the Builder name= keyword argument, generate warnings
614     about use of deprecated features.
615
616   - Removed the "shared" keyword argument from the Object and
617     Library builders.
618     
619   - Added separated StaticObject, SharedObject, StaticLibrary and
620     SharedLibrary builders.  Made Object and Library synonyms for
621     StaticObject and StaticLibrary, respectively.
622
623   - Add LIBS and LIBPATH dependencies for shared libraries.
624
625   - Removed support for the prefix, suffix and src_suffix arguments
626     to Builder() to be callable functions.
627
628   - Fix handling file names with multiple dots.
629
630   - Allow a build directory to be outside of the SConstruct tree.
631
632   - Add a FindFile() function that searches for a file node with a
633     specified name.
634
635   - Add $CPPFLAGS to the shared-object command lines for g++ and gcc.
636
637   From Charles Crain and Steven Knight:
638
639   - Add a "tools=" keyword argument to Environment instantiation,
640     and a separate Tools() method, for more flexible specification
641     of tool-specific environment changes.
642
643   From Steven Knight:
644
645   - Add a "platform=" keyword argument to Environment instantiation,
646     and a separate Platform() method, for more flexible specification
647     of platform-specific environment changes.
648
649   - Updated README instructions and setup.py code to catch an
650     installation failure from not having distutils installed.
651
652   - Add descriptions to the -H help text for -D, -u and -U so
653     people can tell them apart.
654
655   - Remove the old feature of automatically splitting strings
656     of file names on white space.
657
658   - Add a dependency Scanner for native Fortran "include" statements,
659     using a new "F77PATH" construction variable.
660
661   - Fix C #include scanning to detect file names with characters like
662     '-' in them.
663
664   - Add more specific version / build output to the -v option.
665
666   - Add support for the GNU as, Microsoft masm, and nasm assemblers.
667
668   - Allow the "target" argument to a Builder call to be omitted, in
669     which case the target(s) are deduced from the source file(s) and the
670     Builder's specified suffix.
671
672   - Add a tar archive builder.
673
674   - Add preliminary support for the OS/2 Platform, including the icc
675     and ilink Tools.
676
677   From Jeff Petkau:
678
679   - Fix --implicit-cache if the scanner returns an empty list.
680
681   From Anthony Roach:
682
683   - Add a "multi" keyword argument to Builder creation that specifies
684     it's okay to call the builder multiple times for a target.
685
686   - Set a "multi" on Aliases so multiple calls will append to an Alias.
687
688   - Fix emitter functions' use of path names when using BuildDir or
689     in subdirectories.
690
691   - Fix --implicit-cache causing redundant rebuilds when the header
692     file list changed.
693
694   - Fix --implicit-cache when a file has no implicit dependencies and
695     its source is generated.
696
697   - Make the drive letters on Windows always be the same case, so that
698     changes in the case of drive letters don't cause a rebuild.
699
700   - Fall back to importing the SCons.TimeStamp module if the SCons.MD5
701     module can't be imported.
702
703   - Fix interrupt handling to guarantee that a single interrupt will
704     halt SCons both when using -j and not.
705
706   - Fix .sconsign signature storage so that output files of one build
707     can be safely used as input files to another build.
708
709   - Added a --debug=time option to print SCons execution times.
710
711   - Print an error message if a file can't be unlinked before being
712     built, rather than just silently terminating the build.
713
714   - Add a SideEffect() method that can be used to tell the build
715     engine that a given file is created as a side effect of building
716     a target.  A file can be specified as a side effect of more than
717     one build comand, in which case the commands will not be executed
718     simultaneously.
719
720   - Significant performance gains from not using our own version of
721     the inefficient stock os.path.splitext() method, caching source
722     suffix computation, code cleanup in MultiStepBuilder.__call__(),
723     and replicating some logic in scons_subst().
724
725   - Add --implicit-deps-changed and --implicit-deps-unchanged options.
726
727   - Add a GetLaunchDir() function.
728
729   - Add a SetBuildSignatureType() function.
730
731   From Zed Shaw:
732
733   - Add an Append() method to Environments, to append values to
734     construction variables.
735
736   - Change the name of Update() to Replace().  Keep Update() as a
737     deprecated synonym, at least for now.
738
739   From Terrel Shumway:
740
741   - Use a $PYTHON construction variable, initialized to sys.executable,
742     when using Python to build parts of the SCons packages.
743
744   - Use sys.prefix, not sys.exec_prefix, to find pdb.py.
745
746
747
748 RELEASE 0.07 - Thu,  2 May 2002 13:37:16 -0500
749
750   From Chad Austin:
751
752   - Changes to build SCons packages on IRIX (and other *NIces).
753
754   - Don't create a directory Node when a file already exists there,
755     and vice versa.
756
757   - Add 'dirs' and 'names' keyword arguments to SConscript for
758     easier specification of subsidiary SConscript files.
759
760   From Charles Crain:
761
762   - Internal cleanup of environment passing to function Actions.
763
764   - Builders can now take arbitrary keyword arguments to create
765     attributes to be passed to: command generator functions,
766     FunctionAction functions, Builder emitter functions (below),
767     and prefix/suffix generator functions (below).
768
769   - Command generator functions can now return ANYTHING that can be
770     converted into an Action (a function, a string, a CommandGenerator
771     instance, even an ActionBase instance).
772
773   - Actions now call get_contents() with the actual target and source
774     nodes used for the build.
775
776   - A new DictCmdGenerator class replaces CompositeBuilder to support
777     more flexible Builder behavior internally.
778
779   - Builders can now take an emitter= keyword argument.  An emitter
780     is a function that takes target, source, and env argument, then
781     return a 2-tuple of (new sources, new targets).  The emitter is
782     called when the Builder is __call__'ed, allowing a user to modify
783     source and target lists.
784
785   - The prefix, suffix and src_suffix Builder arguments now take a
786     callable as well a string.  The callable is passed the Environment
787     and any extra Builder keyword arguments and is expected to return
788     the appropriate prefix or suffix.
789
790   - CommandActions can now be a string, a list of command + argument
791     strings, or a list of commands (strings or lists).
792
793   - Added shared library support.  The Object and Library Builders now
794     take a "shared=1" keyword argument to specify that a shared object
795     or shared library should be built.  It is an error to try to build
796     static objects into a shared library or vice versa.
797
798   - Win32 support for .def files has been added.  Added the Win32-specific
799     construction variables $WIN32DEFPREFIX, $WIN32DEFSUFFIX,
800     $WIN32DLLPREFIX and $WIN32IMPLIBPREFIX.  When building a .dll,
801     the new construction variable $WIN32_INSERT_DEF, controls whether
802     the appropriately-named .def file is inserted into the target
803     list (if not already present).  A .lib file is always added to
804     a Library build if not present in the list of targets.
805
806   - ListBuilder now passes all targets to the action, not just the first.
807
808   - Fix so that -c now deletes generated yacc .h files.
809
810   - Builder actions and emitter functions can now be initialized, through
811     construction variables, to things other than strings.
812
813   - Make top-relative '#/dir' lookups work like '#dir'.
814
815   - Fix for relative CPPPATH directories in subsidiary SConscript files
816     (broken in 0.06).
817
818   - Add a for_signature argument to command generators, so that
819     generators that need to can return distinct values for the
820     command signature and for executing the command.
821
822   From Alex Jacques:
823
824   - Create a better scons.bat file from a py2bat.py script on the Python
825     mailing list two years ago (modeled after pl2bat.pl).
826
827   From Steven Knight:
828
829   - Fix so that -c -n does *not* remove the targets!
830
831   - Man page:  Add a hierarchical libraries + Program example.
832
833   - Support long MSVC linker command lines through a builder action
834     that writes to a temporary file and uses the magic MSVC "link @file"
835     argument syntax if the line is longer than 2K characters.
836
837   - Fix F77 command-line options on Win32 (use /Fo instead of -o).
838
839   - Use the same action to build from .c (lower case) and .C (upper
840     case) files on case-insensitive systems like Win32.
841
842   - Support building a PDF file directly from a TeX or LaTeX file
843     using pdftex or pdflatex.
844
845   - Add a -x option to runtest.py to specify the script being tested.
846     A -X option indicates it's an executable, not a script to feed
847     to the Python interpreter.
848
849   - Add a Split() function (identical to SCons.Util.argmunge()) for use
850     in the next release, when Builders will no longer automatically split
851     strings on white space.
852
853   From Steve Leblanc:
854
855   - Add the SConscriptChdir() method.
856
857   From Anthony Roach:
858
859   - Fix --debug=tree when used with directory targets.
860
861   - Significant internal restructuring of Scanners and Taskmaster.
862
863   - Added new --debug=dtree option.
864
865   - Fixes for --profile option.
866
867   - Performance improvement in construction variable substitution.
868
869   - Implemented caching of content signatures, plus added --max-drift
870     option to control caching.
871
872   - Implemented caching of dependency signatures, enabled by new
873     --implicit-cache option.
874
875   - Added abspath construction variable modifier.
876
877   - Added $SOURCE variable as a synonym for $SOURCES[0].
878
879   - Write out .sconsign files on error or interrupt so intermediate
880     build results are saved.
881
882   - Change the -U option to -D.  Make a new -U that builds just the
883     targets from the local SConscript file.
884
885   - Fixed use of sys.path so Python modules can be imported from
886     the SConscript directory.
887
888   - Fix for using Aliases with the -u, -U and -D options.
889
890   - Fix so that Nodes can be passed to SConscript files.
891
892   From Moshe Zadka:
893   
894   - Changes for official Debian packaging.
895
896
897
898 RELEASE 0.06 - Thu, 28 Mar 2002 01:24:29 -0600
899
900   From Charles Crain:
901
902   - Fix command generators to expand construction variables.
903
904   - Make FunctionAction arguments be Nodes, not strings.
905
906   From Stephen Kennedy:
907
908   - Performance:  Use a dictionary, not a list, for a Node's parents.
909
910   From Steven Knight:
911
912   - Add .zip files to the packages we build.
913
914   - Man page:  document LIBS, fix a typo, document ARGUMENTS.
915
916   - Added RANLIB and RANLIBFLAGS construction variables.  Only use them
917     in ARCOM if there's a "ranlib" program on the system.
918
919   - Add a configurable CFILESUFFIX for the Builder of .l and .y files
920     into C files.
921
922   - Add a CXXFile Builder that turns .ll and .yy files into .cc files
923     (configurable via a CXXFILESUFFIX construction variable).
924
925   - Use the POSIX-standard lex -t flag, not the GNU-specific -o flag.
926     (Bug reported by Russell Christensen.)
927
928   - Fixed an exception when CPPPATH or LIBPATH is a null string.
929     (Bug reported by Richard Kiss.)
930
931   - Add a --profile=FILE option to make profiling SCons easier.
932
933   - Modify the new DVI builder to create .dvi files from LaTeX (.ltx
934     and .latex) files.
935
936   - Add support for Aliases (phony targets).
937
938   - Add a WhereIs() method for searching for path names to executables.
939
940   - Add PDF and PostScript document builders.
941
942   - Add support for compiling Fortran programs from a variety of
943     suffixes (a la GNU Make):  .f, .F, .for, .FOR, .fpp and .FPP
944
945   - Support a CPPFLAGS variable on all default commands that use the
946     C preprocessor.
947
948   From Steve Leblanc:
949
950   - Add support for the -U option.
951
952   - Allow CPPPATH, LIBPATH and LIBS to be specified as white-space
953     separated strings.
954
955   - Add a document builder to create .dvi files from TeX (.tex) files.
956
957   From Anthony Roach:
958
959   - Fix:  Construction variables with values of 0 were incorrectly
960     interpolated as ''. 
961
962   - Support env['VAR'] to fetch construction variable values.
963
964   - Man page:  document Precious().
965
966
967
968 RELEASE 0.05 - Thu, 21 Feb 2002 16:50:03 -0600
969
970   From Chad Austin:
971
972   - Set PROGSUFFIX to .exe under Cygwin.
973
974   From Charles Crain:
975
976   - Allow a library to specified as a command-line source file, not just
977     in the LIBS construction variable.
978
979   - Compensate for a bug in os.path.normpath() that returns '' for './'
980     on WIN32.
981
982   - More performance optimizations:  cache #include lines from files,
983     eliminate unnecessary calls.
984
985   - If a prefix or suffix contains white space, treat the resulting
986     concatenation as separate arguments.
987
988   - Fix irregularities in the way we fetch DevStudio information from
989     the Windows registry, and in our registry error handling.
990
991   From Steven Knight:
992
993   - Flush stdout after print so it intermixes correctly with stderr
994     when redirected.
995
996   - Allow Scanners to return a list of strings, and document how to
997     write your own Scanners.
998
999   - Look up implicit (scanned) dependencies relative to the directory
1000     of file being scanned.
1001
1002   - Make writing .sconsign files more robust by first trying to write
1003     to a temp file that gets renamed.
1004
1005   - Create all of the directories for a list of targets before trying
1006     to build any of the targets.
1007
1008   - WIN32 portability fixes in tests.
1009
1010   - Allow the list of variables exported to an SConscript file to be
1011     a UserList, too.
1012
1013   - Document the overlooked LIBPATH construction variable.
1014     (Bug reported by Eicke Godehardt.)
1015
1016   - Fix so that Ignore() ignores indirect, implicit dependencies
1017     (included files), not just direct dependencies.
1018
1019   - Put the man page in the Debian distribution.
1020
1021   - Run HTML docs through tidy to clean up the HTML (for Konqueror).
1022
1023   - Add preliminary support for Unicode strings.
1024
1025   - Efficiency:  don't scan dependencies more than once during the
1026     walk of a tree.
1027
1028   - Fix the -c option so it doesn't stop removing targets if one doesn't
1029     already exist.
1030     (Bug reported by Paul Connell.)
1031
1032   - Fix the --debug=pdb option when run on Windows NT.
1033     (Bug reported by Paul Connell.)
1034
1035   - Add support for the -q option.
1036
1037   From Steve Leblanc:
1038
1039   - Add support for the -u option.
1040
1041   - Add .cc and .hh file suffixes to the C Scanner.
1042
1043   From Anthony Roach:
1044
1045   - Make the scons script return an error code on failures.
1046
1047   - Add support for using code to generate a command to build a target.
1048
1049
1050
1051 RELEASE 0.04 - Wed, 30 Jan 2002 11:09:42 -0600
1052
1053   From Charles Crain:
1054
1055   - Significant performance improvements in the Node.FS and
1056     Scanner subsystems.
1057
1058   - Fix signatures of binary files on Win32 systems.
1059
1060   - Allow LIBS and LIBPATH to be strings, not just arrays.
1061
1062   - Print a traceback if a Python-function builder throws an exception.
1063
1064   From Steven Knight:
1065
1066   - Fix using a directory as a Default(), and allow Default() to
1067     support white space in file names for strings in arrays.
1068
1069   - Man page updates:  corrected some mistakes, documented various
1070     missing Environment methods, alphabetized the construction
1071     variables and other functions, defined begin and end macros for
1072     the example sections, regularized white space separation, fixed
1073     the use of Export() in the Multiple Variants example.
1074
1075   - Function action fixes:  None is now a successful return value.
1076     Exceptions are now reported.  Document function actions.
1077
1078   - Add 'Action' and 'Scanner' to the global keywords so SConscript
1079     files can use them too.
1080
1081   - Removed the Wrapper class between Nodes and Walkers.
1082
1083   - Add examples using Library, LIBS, and LIBPATH.
1084
1085   - The C Scanner now always returns a sorted list of dependencies
1086     so order changes don't cause unnecessary rebuilds.
1087
1088   - Strip $(-$) bracketed text from command lines.  Use this to
1089     surround $_INCDIRS and $_LIBDIRS so we don't rebuild in response
1090     to changes to -I or -L options.
1091
1092   - Add the Ignore() method to ignore dependencies.
1093
1094   - Provide an error message when a nonexistent target is specified
1095     on the command line.
1096
1097   - Remove targets before building them, and add an Environment
1098     Precious() method to override that.
1099
1100   - Eliminate redundant calls to the same builder when the target is a
1101     list of targets:  Add a ListBuilder class that wraps Builders to
1102     handle lists atomically.  Extend the Task class to support building
1103     and updating multiple targets in a single Task.  Simplify the
1104     interface between Task and Taskmaster.
1105
1106   - Add a --debug=pdb option to re-run SCons under the Python debugger.
1107
1108   - Only compute a build signature once for each node.
1109
1110   - Changes to our sys.path[] manipulation to support installation into
1111     an arbitrary --prefix value.
1112
1113   From Steve Leblanc:
1114
1115   - Add var=value command-line arguments.
1116
1117
1118
1119 RELEASE 0.03 - Fri, 11 Jan 2002 01:09:30 -0600
1120
1121   From Charles Crain:
1122
1123   - Performance improvements in the Node.FS and Sig.Calculator classes.
1124
1125   - Add the InstallAs() method.
1126
1127   - Execute commands through an external interpreter (sh, cmd.exe, or
1128     command.com) to handle redirection metacharacters.
1129
1130   - Allow the user to supply a command handler.
1131
1132   From Steven Knight:
1133
1134   - Search both /usr/lib and /usr/local/lib for scons directories by
1135     adding them both to sys.path, with whichever is in sys.prefix first.
1136
1137   - Fix interpreting strings of multiple white-space separated file names
1138     as separate file names, allowing prefixes and suffixes to be appended
1139     to each individually.
1140
1141   - Refactor to move CompositeBuilder initialization logic from the
1142     factory wrapper to the __init__() method, and allow a Builder to
1143     have both an action and a src_builder (or array of them).
1144
1145   - Refactor BuilderBase.__call__() to separate Node creation/lookup
1146     from initialization of the Node's builder information.
1147
1148   - Add a CFile Builder object that supports turning lex (.l) and
1149     yacc (.y) files into .c files.
1150
1151   - Document: variable interpretation attributes; how to propogate
1152     the user's environment variables to executed commands; how to
1153     build variants in multiple BuildDirs.
1154
1155   - Collect String, Dict, and List type-checking in common utility
1156     routines so we can accept User{String,Dict,List}s all over.
1157
1158   - Put the Action factory and classes into their own module.
1159
1160   - Use one CPlusPlusAction in the Object Builder's action dictionary,
1161     instead of letting it create multiple identical instances.
1162
1163   - Document the Install() and InstallAs() methods.
1164
1165   From Steve Leblanc:
1166
1167   - Require that a Builder be given a name argument, supplying a
1168     useful error message when it isn't.
1169
1170   From Anthony Roach:
1171
1172   - Add a "duplicate" keyword argument to BuildDir() that can be set
1173     to prevent linking/copying source files into build directories.
1174
1175   - Add a "--debug=tree" option to print an ASCII dependency tree.
1176
1177   - Fetch the location of the Microsoft Visual C++ compiler(s) from
1178     the Registry, instead of hard-coding the location.
1179     
1180   - Made Scanner objects take Nodes, not path names.
1181     
1182   - Have the C Scanner cache the #include file names instead of
1183     (re-)scanning the file each time it's called.
1184
1185   - Created a separate class for parent "nodes" of file system roots,
1186     eliminating the need for separate is-parent-null checks everywhere.
1187     
1188   - Removed defined __hash__() and __cmp() methods from FS.Entry, in
1189     favor of Python's more efficient built-in identity comparisons.
1190
1191
1192
1193 RELEASE 0.02 - Sun, 23 Dec 2001 19:05:09 -0600
1194
1195   From Charles Crain:
1196
1197   - Added the Install(), BuildDir(), and Export() methods.
1198
1199   - Fix the -C option by delaying setting the top of the FS tree.
1200
1201   - Avoid putting the directory path on the libraries in the LIBS
1202     construction variable.
1203
1204   - Added a GetBuildPath() method to return the full path to the
1205     Node for a specified string.
1206
1207   - Fixed variable substitution in CPPPATH and LIBPATH.
1208
1209   From Steven Knight:
1210
1211   - Fixed the version comment in the scons.bat (the UNIX geek used
1212     # instead of @rem).
1213
1214   - Fix to setup.py so it doesn't require a sys.argv[1] argument.
1215
1216   - Provide make-like warning message for "command not found" and
1217     similar errors.
1218
1219   - Added an EXAMPLES section to the man page.
1220
1221   - Make Default() targets properly relative to their SConscript
1222     file's subdirectory.
1223
1224   From Anthony Roach:
1225
1226   - Documented CXXFLAGS, CXXCOM, and CPPPATH.
1227
1228   - Fixed SCONS_LIB_DIR to work as documented.
1229
1230   - Made Default() accept Nodes as arguments.
1231
1232   - Changed Export() to make it easier to use.
1233   
1234   - Added the Import() and Return() methods.
1235
1236
1237
1238 RELEASE 0.01 - Thu Dec 13 19:25:23 CST 2001
1239
1240 A brief overview of important functionality available in release 0.01:
1241
1242   - C and C++ compilation on POSIX and Windows NT.
1243
1244   - Automatic scanning of C/C++ source files for #include dependencies.
1245
1246   - Support for building libraries; setting construction variables
1247     allows creation of shared libraries.
1248
1249   - Library and C preprocessor search paths.
1250
1251   - File changes detected using MD5 signatures.
1252
1253   - User-definable Builder objects for building files.
1254
1255   - User-definable Scanner objects for scanning for dependencies.
1256
1257   - Parallel build (-j) support.
1258
1259   - Dependency cycles detected.
1260
1261   - Linux packages available in RPM and Debian format.
1262
1263   - Windows installer available.