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