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