Provide an error message when a target hasn't been defined.
[scons.git] / src / CHANGES.txt
1 # Copyright (c) 2001 Steven Knight
2 # __FILE__ __REVISION__ __DATE__ __DEVELOPER__
3
4
5                  SCons - a software construction tool
6
7                             Change Log
8
9
10
11 RELEASE 0.04 - 
12
13   From Charles Crain:
14
15   - Significant performance improvements in the Node.FS and
16     Scanner subsystems.
17
18   - Fix signatures of binary files on Win32 systems.
19
20   - Allow LIBS and LIBPATH to be strings, not just arrays.
21
22   - Print a traceback if a Python-function builder throws an exception.
23
24   From Steven Knight:
25
26   - Fix using a directory as a Default(), and allow Default() to
27     support white space in file names for strings in arrays.
28
29   - Man page updates:  corrected some mistakes, documented various
30     missing Environment methods, alphabetized the construction
31     variables and other functions, defined begin and end macros for
32     the example sections, regularized white space separation, fixed
33     the use of Export() in the Multiple Variants example.
34
35   - Function action fixes:  None is now a successful return value.
36     Exceptions are now reported.  Document function actions.
37
38   - Add 'Action' and 'Scanner' to the global keywords so SConscript
39     files can use them too.
40
41   - Removed the Wrapper class between Nodes and Walkers.
42
43   - Add examples using Library, LIBS, and LIBPATH.
44
45   - The C Scanner now always returns a sorted list of dependencies
46     so order changes don't cause unnecessary rebuilds.
47
48   - Strip $(-$) bracketed text from command lines.  Use this to
49     surround $_INCDIRS and $_LIBDIRS so we don't rebuild in response
50     to changes to -I or -L options.
51
52   - Add the Ignore() method to ignore dependencies.
53
54   - Provide an error message when a nonexistent target is specified
55     on the command line.
56
57   From Steve Leblanc:
58
59   - Add var=value command-line arguments.
60
61
62
63 RELEASE 0.03 - Fri, 11 Jan 2002 01:09:30 -0600
64
65   From Charles Crain:
66
67   - Performance improvements in the Node.FS and Sig.Calculator classes.
68
69   - Add the InstallAs() method.
70
71   - Execute commands through an external interpreter (sh, cmd.exe, or
72     command.com) to handle redirection metacharacters.
73
74   - Allow the user to supply a command handler.
75
76   From Steven Knight:
77
78   - Search both /usr/lib and /usr/local/lib for scons directories by
79     adding them both to sys.path, with whichever is in sys.prefix first.
80
81   - Fix interpreting strings of multiple white-space separated file names
82     as separate file names, allowing prefixes and suffixes to be appended
83     to each individually.
84
85   - Refactor to move CompositeBuilder initialization logic from the
86     factory wrapper to the __init__() method, and allow a Builder to
87     have both an action and a src_builder (or array of them).
88
89   - Refactor BuilderBase.__call__() to separate Node creation/lookup
90     from initialization of the Node's builder information.
91
92   - Add a CFile Builder object that supports turning lex (.l) and
93     yacc (.y) files into .c files.
94
95   - Document: variable interpretation attributes; how to propogate
96     the user's environment variables to executed commands; how to
97     build variants in multiple BuildDirs.
98
99   - Collect String, Dict, and List type-checking in common utility
100     routines so we can accept User{String,Dict,List}s all over.
101
102   - Put the Action factory and classes into their own module.
103
104   - Use one CPlusPlusAction in the Object Builder's action dictionary,
105     instead of letting it create multiple identical instances.
106
107   - Document the Install() and InstallAs() methods.
108
109   From Steve Leblanc:
110
111   - Require that a Builder be given a name argument, supplying a
112     useful error message when it isn't.
113
114   From Anthony Roach:
115
116   - Add a "duplicate" keyword argument to BuildDir() that can be set
117     to prevent linking/copying source files into build directories.
118
119   - Add a "--debug=tree" option to print an ASCII dependency tree.
120
121   - Fetch the location of the Microsoft Visual C++ compiler(s) from
122     the Registry, instead of hard-coding the location.
123     
124   - Made Scanner objects take Nodes, not path names.
125     
126   - Have the C Scanner cache the #include file names instead of
127     (re-)scanning the file each time it's called.
128
129   - Created a separate class for parent "nodes" of file system roots,
130     eliminating the need for separate is-parent-null checks everywhere.
131     
132   - Removed defined __hash__() and __cmp() methods from FS.Entry, in
133     favor of Python's more efficient built-in identity comparisons.
134
135
136
137 RELEASE 0.02 - Sun, 23 Dec 2001 19:05:09 -0600
138
139   From Charles Crain:
140
141   - Added the Install(), BuildDir(), and Export() methods.
142
143   - Fix the -C option by delaying setting the top of the FS tree.
144
145   - Avoid putting the directory path on the libraries in the LIBS
146     construction variable.
147
148   - Added a GetBuildPath() method to return the full path to the
149     Node for a specified string.
150
151   - Fixed variable substitution in CPPPATH and LIBPATH.
152
153   From Steven Knight:
154
155   - Fixed the version comment in the scons.bat (the UNIX geek used
156     # instead of @rem).
157
158   - Fix to setup.py so it doesn't require a sys.argv[1] argument.
159
160   - Provide make-like warning message for "command not found" and
161     similar errors.
162
163   - Added an EXAMPLES section to the man page.
164
165   - Make Default() targets properly relative to their SConscript
166     file's subdirectory.
167
168   From Anthony Roach:
169
170   - Documented CXXFLAGS, CXXCOM, and CPPPATH.
171
172   - Fixed SCONS_LIB_DIR to work as documented.
173
174   - Made Default() accept Nodes as arguments.
175
176   - Changed Export() to make it easier to use.
177   
178   - Added the Import() and Return() methods.
179
180
181
182 RELEASE 0.01 - Thu Dec 13 19:25:23 CST 2001
183
184 A brief overview of important functionality available in release 0.01:
185
186   - C and C++ compilation on POSIX and Windows NT.
187
188   - Automatic scanning of C/C++ source files for #include dependencies.
189
190   - Support for building libraries; setting construction variables
191     allows creation of shared libraries.
192
193   - Library and C preprocessor search paths.
194
195   - File changes detected using MD5 signatures.
196
197   - User-definable Builder objects for building files.
198
199   - User-definable Scanner objects for scanning for dependencies.
200
201   - Parallel build (-j) support.
202
203   - Dependency cycles detected.
204
205   - Linux packages available in RPM and Debian format.
206
207   - Windows installer available.