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