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