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