CHANGES 15 KB

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