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