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