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