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