Use the Unicode string functions from wine/unicode.h instead of the
[wine.git] / tools / wrc / CHANGES
blobbc0aa7a10157ad103df948471c1bcb0c6571dee9
1 ---------------------------------------------------------------------------
2 Version 1.1.4 (07-Jun-2000)
4 Bertho Stultiens <bertho@akhphd.au.dk>
5 - Implemented MESSAGETABLE resource type.
6 - Usertype resources that cause a type-clash with defined resources
7   are now detected and a warning is generated. Some types should be
8   rerouted through other code so that they will be (re-)interpreted.
9 - Bugfix: Line-continuation in strings in resources include a newline.
10   This `feature' got deleted with the builtin preprocessor, but has been
11   put back into place (see last changes comment from version 1.1.0).
12 - Bugfix: The preprocessor now correctly will see "\\\r\n" as a line-
13   continuation.
14 - Bugfix: Assemblers on some platforms do not use 16bit quantities
15   for `.word'. This directive is now changed into `.short'.
16 - All types that accept inline data definitions (a la RCDATA) now
17   also accept a file specification. This unifies the structure a bit.
19 ---------------------------------------------------------------------------
20 Version 1.1.3 (21-May-2000)
22 Bertho Stultiens <bertho@akhphd.au.dk>
23 - Implemented animated cursors and icons resource types.
24 - Added partial support for font resources (user supplied fontdir is
25   required).
26 - All resources with inline data (a la RCDATA) now support language,
27   version and characteristics data.
28 - Implemented resource name duplicate checks. It is now an error if
29   two resources of the same type have the same name.
30 - Bugfix: Language propagation was not correct when .res files were
31   generated.
32 - Bugfix: VERSIONINFO now handles memory options.
33 - Bugfix: resource names and the resource type may be equal (e.g. MENU
34   MENU {...}). This support was mistakingly deleted in the upgrade to
35   the builtin preprocessor.
36   The standalone LANGUAGE setting became context sensitive as a consequence
37   of this. Now it *must* end with a newline *after* both expressions and
38   no newlines are allowed within the line (the statement must fit on one
39   line). This is no practical problem though.
41 Patrik Stridvall <ps@leissner.se>
42 - Fixed byte order on Solaris and FreeBSD.
44 ---------------------------------------------------------------------------
45 Version 1.1.2 (08-May-2000)
47 Bertho Stultiens <bertho@akhphd.au.dk>
48 - Bugfix: Corrected a SEGV in the rawdata handling. Mistakingly took the
49   address of a pointer instead of its value. This probably slipped in
50   during the merge of my tree into the winetree.
51   Lesson learned: always double check.
52 - Verified most resources so that win16 compile also generates correct
53   output for reversed endian.
55 ---------------------------------------------------------------------------
56 Version 1.1.1 (07-May-2000)
58 Bertho Stultiens <bertho@akhphd.au.dk>
59 - Implemented byte-ordering for resources. All resources can be forced
60   to be little-, big- or native endian with command-line option -B.
61 - Reading resources from .res-files are only accepted in native byte-
62   ordering so that no additional semantic analysis is required.
63 - Resource directory is still written in native-only format, including
64   the strings.
65 - Wrc is now installed through the makefile with 'make install' and also
66   uninstalled with 'make uninstall'.
67 - Wrote a man-page for better reference. The manpage also gets installed
68   and uninstalled.
69 - Cleaned up the namespace a bit by more agressive use of static.
71 ---------------------------------------------------------------------------
72 Version 1.1.0 (01-May-2000)
74 Bertho Stultiens <bertho@akhphd.au.dk>
75 - Implemented a new preprocessor that is (nearly) ANSI-C compliant. The
76   old parser has been stripped from the old preprocessor-code which 
77   cleaned up both resource-scanner and -parser.
78 - Standard defines have been introduced (see README.wrc)
79 - Both preprocessor- and resource-scanner have been optimized slightly
80   so that no backing up is required (one char lookahead is enough).
81 - Filename-scanning has been cleaned up, though not perfect yet.
82 - User-type resources are compatible now.
83 - Line-continuation in strings is corrected so that it does not
84   introduce a newline in the output.
86 ---------------------------------------------------------------------------
87 Version 1.0.18 (28-Dec-1999)
89 Bertho Stultiens <bertho@akhphd.au.dk>
90 - Bugfix: The named resources were not named correctly for indirectly
91   addressable resources, which resulted in an undefined variable. The
92   previous fix was incomplete (I was probably sleeping while I made it).
94 ---------------------------------------------------------------------------
95 Version 1.0.17 (20-Dec-1999)
97 Bertho Stultiens <bertho@akhphd.au.dk>
98 - Bugfix: Named resources of different types generated the same assembly-
99   label twice, resulting in a compile failure.
101 ---------------------------------------------------------------------------
102 Version 1.0.16 (6-Nov-1999)
104 Juergen.Schmied@debitel.net
105 - Bugfix: Styles were evaluated as expressions. The NOT in combination
106   with style flags was not overwriting the default styles like WS_VISIBLE.
107   Solved by introducing own rules for parsing styles.
109 ---------------------------------------------------------------------------
110 Version 1.0.15 (13-Aug-1999)
112 Bertho Stultiens <bertho@akhphd.au.dk>
113 - Bugfix: IDs were not checked which resulted in numbers > 2^16-1 being
114   accepted as IDs. This resulted in duplicate IDs and all other sort of
115   trouble.
117 ---------------------------------------------------------------------------
118 Version 1.0.14 (08-Aug-1999)
120 Bertho Stultiens <bertho@akhphd.au.dk>
121 - Deeply ashamed that I thought that flex had a bug. Of course my own fault
122   not recognizing unmatched text in start condition yyrcd and pp_strip[ps].
123   There is a catch all rule now in the flexer with a warning to mark the
124   condition and promptly revealed errors in the wine-headers.
126 ---------------------------------------------------------------------------
127 Version 1.0.13 (08-Aug-1999)
129 Bertho Stultiens <bertho@akhphd.au.dk>
130 - Fixed uppercase conversion of titles in dialog controls which was
131   introduced with the icon changes.
132 - Fixed strings longer than 1024 bytes/shorts by autosizing the array. A
133   warning is issued whenever more than 64k is allocated.
134 - Made a workarround for a flex bug where an ECHO put '\\' and '\n'
135   characters on the screen.
137 ---------------------------------------------------------------------------
138 Version 1.0.12 (18-Jul-1999)
140 Bertho Stultiens <bertho@akhphd.au.dk>
141 - Generalized the distinction between 2 and 4 byte integers slightly through
142   a new parser state. The is now a warning when a 2 byte integer is larger
143   than 16 bit (and is truncated).
144 - Fixed a couple of cosmetic things in the DLGINIT stuff so that dumping of
145   this type will work as expected.
146 - Added generalized language/version/characteristics support to the DLGINIT
147   resource type.
149 Ulrich Czekalla <ulrichc@corel.ca>
150 - Added support for DLGINIT resource-type.
151 - Added string continuation and embedded quoting.
152 - Added numeric IDs for icons in controls.
154 Eric Pouech <Eric.Pouech@wanadoo.fr>
155 - Bugfix: Distinguish between 2 and 4 byte integers in RCDATA.
157 ---------------------------------------------------------------------------
158 Version 1.0.11 (22-Apr-1999)
160 Bertho Stultiens <bertho@akhphd.au.dk>
161 - Fixed a counting bug in the win32 count and sort routine.
162 - Fixed sort order of resources (must be name before ordinal).
163 - Shuffled a couple of global variables so that built-in dlls now can
164   load resources through the proper PE interface.
166 ---------------------------------------------------------------------------
167 Version 1.0.10 (18-Feb-1999)
169 Alexandre Julliard <julliard@lrc.epfl.ch>
170 - Fixed the TIME_LONG ugliness.
172 David Luyer <luyer@ucs.uwa.edu.au>
173 - Added string.h include in newstruc.c for compilation on 64bit platforms.
174 - Added TIME_LONG to support time_t==int in printf formats on alpha
175   platforms.
177 Bertho Stultiens <bertho@akhphd.au.dk>
178 - Added some more use of TIME_LONG in implicit format used in header-file
179   generation.
180 - Removed the windows.h include and replaced it with wintypes.h in
181   wrctypes.h and added winuser.h in two other sources. This cuts compilation
182   time by a factor of 2 and final executable size with debug by a factor 2.5.
184 ---------------------------------------------------------------------------
185 Version 1.0.9 (01-Feb-1999)
187 Albert den Haan <albertd@corel.ca>:
188 - Fixed wrong order of res_ico and res_bmp which must be in RT_xxx order.
190 ---------------------------------------------------------------------------
191 Version 1.0.8 (10-Jan-1999)
193 Albert den Haan <albertd@corel.ca>:
194 - Added TOOLBAR support.
195 - Buffer overflow fix in strncpyWtoA.
196 - Open embedded files in resource definitions through the include path from
197   the commandline.
198 - Support named icons in dialogs with unquoted names
200 Bertho Stultiens <bertho@akhphd.au.dk>
201 - Fixed a major bug in the language propagation in the parser. The parser
202   did not copy the current language while binding it to a resource structure
203   causing wrong sorting if multiple global languages were in use and was a
204   potential segfault because the pointer might not be valid.
205 - Added language/version/characteristics support for toolbar.
206 - Moved some defines from wrc.h to wrctypes.h to support in toolbars.
207 - Removed function stricmp from source and replaced with native function
208   strcasecmp.
209 - Allocate cursor and icon ordinals according to the language of the item to
210   decrease the amount of ordinals in use. This reduces the resource
211   directory size by reducing the tree size.
212 - Versions 1.0.5 through 1.0.7 were never commited to cvs but were available
213   for download from an alternate site for elf-dll test generation.
215 ---------------------------------------------------------------------------
216 Version 1.0.7 (19-Dec-1998)
217 - Changed a couple of labels that are used by dllglue. Also reversed a patch
218   that made wrc's generated code dependent on dllglue's code.
220 ---------------------------------------------------------------------------
221 Version 1.0.6 (12-Dec-1998)
222 - Fixed the _PEResTab table where incorrect RVA's were put in the table.
223   The dllglue should now be merged into wrc for correct labels and the least
224   number of loadtime fixups.
226 ---------------------------------------------------------------------------
227 Version 1.0.5 (12-Dec-1998)
228 - Fixed an omited .globl statement for dllglue linking.
230 ---------------------------------------------------------------------------
231 Version 1.0.4 (10-Dec-1998)
232 - Added a global label for elf-dll linking and a long with the resource
233   size and a long with the directory size.
234 - Killed an annoying warning since version 1.0.0 in parser.y about a
235   var being used before init.
237 ---------------------------------------------------------------------------
238 Version 1.0.3 (02-Nov-1998)
239 - Bugfix in write_name_str() [writeres.c] where the length byte/word was
240   wrongly counted in the length of the string.
241   Thanks to Ulrich Weigand <weigand@informatik.uni-erlangen.de>
243 ---------------------------------------------------------------------------
244 Version 1.0.2 (20-Jun-1998)
245 - Started this file
246 - Fixed a bug in filename scanning when they are double quoted. The code now
247   is compatible with MS' rc and Borland's brc. There is a compromise in the
248   filenames because of case-sensitivity under *nix.
249 - Backslashes in a filepath are now converted to forward slashes and double
250 - Fixed a bug in printing the filename if loading of a file should fail.
251   backslashes are converted to single forward slash.
252 - Added -L option to prevent conversion to lower case for embedded filenames
253   in resource statements.
254 - Added language posibilities to icons and cursors so that the current
255   language is put into the .res ans .s file.
256 - Added character position indication of an error.
257 - Fixed CLASS statement so that it accepts double quoted strings as class
258   argument. This seems to be the correct behaviour (see SDK). The unquoted
259   class-name is still supported because it seems a reasonable option.
260 - Fixed accelerators with CONTROL option set so that they generate correct
261   code instead of generating an error.
262 - Added testing for flex version 2.5 or better because wrc needs the
263   yy_scan* functions to do preprocessing.
265 ---------------------------------------------------------------------------
266 Version  1.0.1 (08-Jun-1998)
267 - Added -A commandline option to generate autoregister code for the winelib
268   programs.
270 ---------------------------------------------------------------------------
271 Version 1.0.0 (28-May-1998)
272 - Initial release