1 ---------------------------------------------------------------------------
2 Version 1.1.9 (31-Dec-2000)
4 Ulrich Weigand <weigand@informatik.uni-erlangen.de>
5 - Fixed a byteorder conversion problem with message tables.
6 - Carefully read and write (possibly) misaligned data elements
7 to avoid crashes on architectures where this is not allowed.
9 ---------------------------------------------------------------------------
10 Version 1.1.8 (24-Aug-2000)
12 Bertho Stultiens <bertho@akhphd.au.dk>
13 - Fixed a LALR(2) problem while scanning usertype resources which
14 had identifiers for both name and type.
16 ---------------------------------------------------------------------------
17 Version 1.1.7 (24-Jul-2000)
19 Bertho Stultiens <bertho@akhphd.au.dk>
20 - Implemented a bug-work-arround for Berkeley yacc (byacc) which
21 does not generate proper default transition rules for non-terminals.
22 See comments in parser.y how the fix works.
23 - Changed the error-line/char position to make emacs happy parsing
24 the position of the error.
25 - Added comments in the documentation in which order the line-numer
26 and character-position of the error is written.
28 ---------------------------------------------------------------------------
29 Version 1.1.6 (05-Jun-2000)
31 Bertho Stultiens <bertho@akhphd.au.dk>
32 - Bugfix: Macro expansion of strings would assert an internal error
33 or a segfault due to a lacking '\0' in the expansion.
34 - Bugfix: Prevent buffer overflow in reallocation of macro expansion
36 - Bugfix: Wrc's version information was not passed as numerical to the
37 preprocessor due to an error in the definition of the macro.
38 - Relaxed the newline constraint in global LANGUAGE statements, which
39 was introduced in version 1.1.3, so that some fancy preprocessor
41 - Removed the gcc-style #line handling from the resource-parser to the
42 resource-scanner so that it is possible to include files at any stage
43 of the source, independent of the parser-state.
44 - Bugfix: Stringtables were not correctly searched for duplicates
45 because the language comparison disregarded the sublanguage.
46 - Eliminated a repetitive warning when writing stringtables with zero
47 length string entries. These are perfectly valid (but make no sense:-).
48 Warning are now only generated during parse in pedantic mode.
50 ---------------------------------------------------------------------------
51 Version 1.1.5 (12-Jun-2000)
53 Bertho Stultiens <bertho@akhphd.au.dk>
54 - Bugfix: Corrected "off by one" error in the linenumber while parsing
56 - Bugfix: A segfault would occur if messagetables were parsed without
57 memory options attached. Also added buffer-overflow safeguard while
58 converting between byteorders.
59 - Finished remapping usertype resources onto standars types by tricking
60 the parser into accepting a different token. The remapping can be
61 disabled with a new commandline option '-m'.
62 - Resolved some warning about chars used as index on SGI O2 machine
63 (the ctype isXXX() routines are macros there).
65 ---------------------------------------------------------------------------
66 Version 1.1.4 (07-Jun-2000)
68 Bertho Stultiens <bertho@akhphd.au.dk>
69 - Implemented MESSAGETABLE resource type.
70 - Usertype resources that cause a type-clash with defined resources
71 are now detected and a warning is generated. Some types should be
72 rerouted through other code so that they will be (re-)interpreted.
73 - Bugfix: Line-continuation in strings in resources include a newline.
74 This `feature' got deleted with the builtin preprocessor, but has been
75 put back into place (see last changes comment from version 1.1.0).
76 - Bugfix: The preprocessor now correctly will see "\\\r\n" as a line-
78 - Bugfix: Assemblers on some platforms do not use 16bit quantities
79 for `.word'. This directive is now changed into `.short'.
80 - All types that accept inline data definitions (a la RCDATA) now
81 also accept a file specification. This unifies the structure a bit.
83 ---------------------------------------------------------------------------
84 Version 1.1.3 (21-May-2000)
86 Bertho Stultiens <bertho@akhphd.au.dk>
87 - Implemented animated cursors and icons resource types.
88 - Added partial support for font resources (user supplied fontdir is
90 - All resources with inline data (a la RCDATA) now support language,
91 version and characteristics data.
92 - Implemented resource name duplicate checks. It is now an error if
93 two resources of the same type have the same name.
94 - Bugfix: Language propagation was not correct when .res files were
96 - Bugfix: VERSIONINFO now handles memory options.
97 - Bugfix: resource names and the resource type may be equal (e.g. MENU
98 MENU {...}). This support was mistakingly deleted in the upgrade to
99 the builtin preprocessor.
100 The standalone LANGUAGE setting became context sensitive as a consequence
101 of this. Now it *must* end with a newline *after* both expressions and
102 no newlines are allowed within the line (the statement must fit on one
103 line). This is no practical problem though.
105 Patrik Stridvall <ps@leissner.se>
106 - Fixed byte order on Solaris and FreeBSD.
108 ---------------------------------------------------------------------------
109 Version 1.1.2 (08-May-2000)
111 Bertho Stultiens <bertho@akhphd.au.dk>
112 - Bugfix: Corrected a SEGV in the rawdata handling. Mistakingly took the
113 address of a pointer instead of its value. This probably slipped in
114 during the merge of my tree into the winetree.
115 Lesson learned: always double check.
116 - Verified most resources so that win16 compile also generates correct
117 output for reversed endian.
119 ---------------------------------------------------------------------------
120 Version 1.1.1 (07-May-2000)
122 Bertho Stultiens <bertho@akhphd.au.dk>
123 - Implemented byte-ordering for resources. All resources can be forced
124 to be little-, big- or native endian with command-line option -B.
125 - Reading resources from .res-files are only accepted in native byte-
126 ordering so that no additional semantic analysis is required.
127 - Resource directory is still written in native-only format, including
129 - Wrc is now installed through the makefile with 'make install' and also
130 uninstalled with 'make uninstall'.
131 - Wrote a man-page for better reference. The manpage also gets installed
133 - Cleaned up the namespace a bit by more agressive use of static.
135 ---------------------------------------------------------------------------
136 Version 1.1.0 (01-May-2000)
138 Bertho Stultiens <bertho@akhphd.au.dk>
139 - Implemented a new preprocessor that is (nearly) ANSI-C compliant. The
140 old parser has been stripped from the old preprocessor-code which
141 cleaned up both resource-scanner and -parser.
142 - Standard defines have been introduced (see README.wrc)
143 - Both preprocessor- and resource-scanner have been optimized slightly
144 so that no backing up is required (one char lookahead is enough).
145 - Filename-scanning has been cleaned up, though not perfect yet.
146 - User-type resources are compatible now.
147 - Line-continuation in strings is corrected so that it does not
148 introduce a newline in the output.
150 ---------------------------------------------------------------------------
151 Version 1.0.18 (28-Dec-1999)
153 Bertho Stultiens <bertho@akhphd.au.dk>
154 - Bugfix: The named resources were not named correctly for indirectly
155 addressable resources, which resulted in an undefined variable. The
156 previous fix was incomplete (I was probably sleeping while I made it).
158 ---------------------------------------------------------------------------
159 Version 1.0.17 (20-Dec-1999)
161 Bertho Stultiens <bertho@akhphd.au.dk>
162 - Bugfix: Named resources of different types generated the same assembly-
163 label twice, resulting in a compile failure.
165 ---------------------------------------------------------------------------
166 Version 1.0.16 (6-Nov-1999)
168 Juergen.Schmied@debitel.net
169 - Bugfix: Styles were evaluated as expressions. The NOT in combination
170 with style flags was not overwriting the default styles like WS_VISIBLE.
171 Solved by introducing own rules for parsing styles.
173 ---------------------------------------------------------------------------
174 Version 1.0.15 (13-Aug-1999)
176 Bertho Stultiens <bertho@akhphd.au.dk>
177 - Bugfix: IDs were not checked which resulted in numbers > 2^16-1 being
178 accepted as IDs. This resulted in duplicate IDs and all other sort of
181 ---------------------------------------------------------------------------
182 Version 1.0.14 (08-Aug-1999)
184 Bertho Stultiens <bertho@akhphd.au.dk>
185 - Deeply ashamed that I thought that flex had a bug. Of course my own fault
186 not recognizing unmatched text in start condition yyrcd and pp_strip[ps].
187 There is a catch all rule now in the flexer with a warning to mark the
188 condition and promptly revealed errors in the wine-headers.
190 ---------------------------------------------------------------------------
191 Version 1.0.13 (08-Aug-1999)
193 Bertho Stultiens <bertho@akhphd.au.dk>
194 - Fixed uppercase conversion of titles in dialog controls which was
195 introduced with the icon changes.
196 - Fixed strings longer than 1024 bytes/shorts by autosizing the array. A
197 warning is issued whenever more than 64k is allocated.
198 - Made a workarround for a flex bug where an ECHO put '\\' and '\n'
199 characters on the screen.
201 ---------------------------------------------------------------------------
202 Version 1.0.12 (18-Jul-1999)
204 Bertho Stultiens <bertho@akhphd.au.dk>
205 - Generalized the distinction between 2 and 4 byte integers slightly through
206 a new parser state. The is now a warning when a 2 byte integer is larger
207 than 16 bit (and is truncated).
208 - Fixed a couple of cosmetic things in the DLGINIT stuff so that dumping of
209 this type will work as expected.
210 - Added generalized language/version/characteristics support to the DLGINIT
213 Ulrich Czekalla <ulrichc@corel.ca>
214 - Added support for DLGINIT resource-type.
215 - Added string continuation and embedded quoting.
216 - Added numeric IDs for icons in controls.
218 Eric Pouech <Eric.Pouech@wanadoo.fr>
219 - Bugfix: Distinguish between 2 and 4 byte integers in RCDATA.
221 ---------------------------------------------------------------------------
222 Version 1.0.11 (22-Apr-1999)
224 Bertho Stultiens <bertho@akhphd.au.dk>
225 - Fixed a counting bug in the win32 count and sort routine.
226 - Fixed sort order of resources (must be name before ordinal).
227 - Shuffled a couple of global variables so that built-in dlls now can
228 load resources through the proper PE interface.
230 ---------------------------------------------------------------------------
231 Version 1.0.10 (18-Feb-1999)
233 Alexandre Julliard <julliard@lrc.epfl.ch>
234 - Fixed the TIME_LONG ugliness.
236 David Luyer <luyer@ucs.uwa.edu.au>
237 - Added string.h include in newstruc.c for compilation on 64bit platforms.
238 - Added TIME_LONG to support time_t==int in printf formats on alpha
241 Bertho Stultiens <bertho@akhphd.au.dk>
242 - Added some more use of TIME_LONG in implicit format used in header-file
244 - Removed the windows.h include and replaced it with wintypes.h in
245 wrctypes.h and added winuser.h in two other sources. This cuts compilation
246 time by a factor of 2 and final executable size with debug by a factor 2.5.
248 ---------------------------------------------------------------------------
249 Version 1.0.9 (01-Feb-1999)
251 Albert den Haan <albertd@corel.ca>:
252 - Fixed wrong order of res_ico and res_bmp which must be in RT_xxx order.
254 ---------------------------------------------------------------------------
255 Version 1.0.8 (10-Jan-1999)
257 Albert den Haan <albertd@corel.ca>:
258 - Added TOOLBAR support.
259 - Buffer overflow fix in strncpyWtoA.
260 - Open embedded files in resource definitions through the include path from
262 - Support named icons in dialogs with unquoted names
264 Bertho Stultiens <bertho@akhphd.au.dk>
265 - Fixed a major bug in the language propagation in the parser. The parser
266 did not copy the current language while binding it to a resource structure
267 causing wrong sorting if multiple global languages were in use and was a
268 potential segfault because the pointer might not be valid.
269 - Added language/version/characteristics support for toolbar.
270 - Moved some defines from wrc.h to wrctypes.h to support in toolbars.
271 - Removed function stricmp from source and replaced with native function
273 - Allocate cursor and icon ordinals according to the language of the item to
274 decrease the amount of ordinals in use. This reduces the resource
275 directory size by reducing the tree size.
276 - Versions 1.0.5 through 1.0.7 were never commited to cvs but were available
277 for download from an alternate site for elf-dll test generation.
279 ---------------------------------------------------------------------------
280 Version 1.0.7 (19-Dec-1998)
281 - Changed a couple of labels that are used by dllglue. Also reversed a patch
282 that made wrc's generated code dependent on dllglue's code.
284 ---------------------------------------------------------------------------
285 Version 1.0.6 (12-Dec-1998)
286 - Fixed the _PEResTab table where incorrect RVA's were put in the table.
287 The dllglue should now be merged into wrc for correct labels and the least
288 number of loadtime fixups.
290 ---------------------------------------------------------------------------
291 Version 1.0.5 (12-Dec-1998)
292 - Fixed an omited .globl statement for dllglue linking.
294 ---------------------------------------------------------------------------
295 Version 1.0.4 (10-Dec-1998)
296 - Added a global label for elf-dll linking and a long with the resource
297 size and a long with the directory size.
298 - Killed an annoying warning since version 1.0.0 in parser.y about a
299 var being used before init.
301 ---------------------------------------------------------------------------
302 Version 1.0.3 (02-Nov-1998)
303 - Bugfix in write_name_str() [writeres.c] where the length byte/word was
304 wrongly counted in the length of the string.
305 Thanks to Ulrich Weigand <weigand@informatik.uni-erlangen.de>
307 ---------------------------------------------------------------------------
308 Version 1.0.2 (20-Jun-1998)
310 - Fixed a bug in filename scanning when they are double quoted. The code now
311 is compatible with MS' rc and Borland's brc. There is a compromise in the
312 filenames because of case-sensitivity under *nix.
313 - Backslashes in a filepath are now converted to forward slashes and double
314 - Fixed a bug in printing the filename if loading of a file should fail.
315 backslashes are converted to single forward slash.
316 - Added -L option to prevent conversion to lower case for embedded filenames
317 in resource statements.
318 - Added language posibilities to icons and cursors so that the current
319 language is put into the .res ans .s file.
320 - Added character position indication of an error.
321 - Fixed CLASS statement so that it accepts double quoted strings as class
322 argument. This seems to be the correct behaviour (see SDK). The unquoted
323 class-name is still supported because it seems a reasonable option.
324 - Fixed accelerators with CONTROL option set so that they generate correct
325 code instead of generating an error.
326 - Added testing for flex version 2.5 or better because wrc needs the
327 yy_scan* functions to do preprocessing.
329 ---------------------------------------------------------------------------
330 Version 1.0.1 (08-Jun-1998)
331 - Added -A commandline option to generate autoregister code for the winelib
334 ---------------------------------------------------------------------------
335 Version 1.0.0 (28-May-1998)