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