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