Commit Graph

378 Commits

Author SHA1 Message Date
Mikołaj Zalewski 7487051555 wrc: verify-translation: Remove dumping of stringtables. 2008-03-31 12:12:36 +02:00
Mikołaj Zalewski c933dbf1b4 wrc: verify-translation: Compare all the controls of dialogs, not only the first one. 2008-03-31 12:12:29 +02:00
Michael Stefaniuc 865c31b811 wrc: Add the code page mapping for LANG_ROMANSH. 2008-03-28 09:51:10 +01:00
Alexandre Julliard 0a16b6b81f wrc: parser_error must append a newline. 2008-03-22 10:32:07 +01:00
Mikołaj Zalewski fee6076a2b wrc: Convert standard control classes names into ids also for UTF-8 resource files. 2008-03-03 11:59:17 +01:00
Alexandre Julliard 41fbacefa1 Avoid the nounistd option that doesn't exist on older flex, define YY_NO_UNISTD_H instead. 2008-02-19 15:42:49 +01:00
Rob Shearman 878ea5d2e2 Add the nounistd option to all lex source files. 2008-02-19 13:39:25 +01:00
Francois Gouget d0794c4aeb Assorted spelling fixes. 2008-01-23 21:16:22 +01:00
Austin English 90f89fa74d tools: Spelling fixes. 2008-01-18 12:52:09 +01:00
Michael Stefaniuc 7f5757f683 tools: Remove duplicate includes. 2007-11-19 13:54:52 +01:00
Michael Stefaniuc e01e8a0192 wrc: Remove redundant NULL check before free(). Found by Smatch. 2007-10-22 12:36:08 +02:00
Francois Gouget 7e92283678 wrc: Modify the error, warning and tracing functions to behave like all the other Wine tracing methods, that is to not append a '\n' to the message. 2007-10-19 11:46:11 +02:00
Dmitry Timoshkov fcd6f662ac wrc: Constify some data. 2007-08-30 11:48:47 +02:00
Alexandre Julliard 549351ab09 wrc: Strip C code based on the name of the include file.
Get rid of the old C code stripping support that wasn't used anymore.
2007-06-28 14:10:07 +02:00
Alexandre Julliard 1f11333c7b makefiles: Build programs that link against libwine twice with appropriate rpaths.
One rpath is for installing and one is for running inside the build tree.
2007-06-20 20:03:30 +02:00
Michael Stefaniuc cb2574722e wrc: Fix redundant checks for NULL before free(). Found by Smatch. 2007-06-14 13:14:56 +02:00
Michael Stefaniuc f69d6fd450 wrc: Fix non-ANSI function declaration. Found by sparse. 2007-06-05 12:19:03 +02:00
Mikołaj Zalewski c74f6d9d7a wrc: Change the format of the output of "wrc --verify-translation". 2007-03-27 12:34:05 +02:00
Mikołaj Zalewski fbd25173a8 wrc: Add HTML resources support to wrc --verify-translation. 2007-03-27 12:31:38 +02:00
Alexandre Julliard a79b26284a libwine: Pass flags to wine_utf8_wcstombs to allow supporting WC_ERR_INVALID_CHARS. 2007-03-14 15:57:50 +01:00
Alexandre Julliard 4091627cd7 configure: Get rid of lex compatibility support, we require flex anyway. 2007-03-08 13:19:50 +01:00
Alexandre Julliard 442243257b wrc: Added support for utf-8 codepage. 2007-01-09 22:21:53 +01:00
Andrew Talbot 782e28afb6 wrc: Declare some variables static const. 2007-01-02 13:30:25 +01:00
Kai Blin 802cf1a728 wrc: Fix comparison typo (Coverity). 2007-01-02 13:30:02 +01:00
Alexandre Julliard 7035aa5041 make_makefiles: Generate the top-level .gitignore file.
Add a PROGRAMS variable in some makefiles to make things easier.
2006-12-27 21:23:36 +01:00
Francois Gouget 30e44c85c8 Assorted spelling fixes. 2006-11-07 15:25:24 +01:00
Francois Gouget ef998ea6cb Assorted spelling fixes. 2006-10-16 11:33:38 +02:00
Michael Stefaniuc 0fb444b58c tools: Remove redundant NULL checks before free() (found by Smatch). 2006-10-10 12:56:20 +02:00
Michael Stefaniuc d2d330174f wrc: Win64 printf format warning fixes. 2006-10-02 11:55:04 +02:00
Michael Stefaniuc 85ce5117c5 Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int. 2006-09-29 16:08:30 +02:00
Nicolas Delcros a6fe56a8cf wrc: Fixed typo for the --pedantic argument. 2006-09-25 17:56:38 +02:00
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Alexandre Julliard 42418fbbe8 wrc: Change the prefix on bison-generated names to avoid the name-prefix directive. 2006-09-12 09:05:20 +02:00
Alexandre Julliard bcdc5fb55f Make.rules: Set the default prefix for bison files from the file basename. 2006-09-11 21:47:49 +02:00
Alexandre Julliard 145a0ba508 makefiles: List bison dependencies explicitly for parallel makes, since older bisons don't support --defines. 2006-09-11 21:43:11 +02:00
Alexandre Julliard 9c085cba0a makefiles: Add global rules for bison and lex files.
Also build the .c and .h files separately to allow parallel makes.
2006-09-09 13:16:22 +02:00
Alexandre Julliard 050c8942d1 wrc: Allow building without debug support in the parser. 2006-09-09 11:26:29 +02:00
Alexandre Julliard fce74f7411 wrc: Get rid of xmalloc casts. 2006-08-26 21:42:01 +02:00
Alexandre Julliard fba0897ee7 wrc: xmalloc shouldn't initialize to zero, do that explicitly where needed. 2006-08-26 21:42:00 +02:00
Alexandre Julliard 13a93b4a94 configure: Set rpath on all executables that link to libwine.
Also add the -multiply_defined suppress option for executables on MacOS.
2006-08-25 17:23:44 +02:00
Alexandre Julliard 2886e9b0e8 makefiles: Use make dependencies to create installation directories.
This avoids a lot of redundant calls to mkinstalldirs.
2006-08-07 17:48:18 +02:00
Alexandre Julliard 645cd6ff50 libs: Get rid of the symlinks for the static libs. 2006-07-11 19:33:48 +02:00
Alexandre Julliard eb8a40c368 libs: Merged libwine_unicode into libwine.
Most dlls use libwine_unicode at this point, so there's nothing to
gain by having two separate libraries.
2006-07-11 19:33:22 +02:00
Alexandre Julliard 88c97d7284 .gitignore: Added wildcards to ignore lex and bison output files. 2006-07-10 21:40:49 +02:00
Alexandre Julliard cc2b3b48e6 Take advantage of the recursive nature of .gitignore for Makefile entries.
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Mike McCormack 2d107f98ab wrc: Remove some tokens declared twice. 2006-06-14 12:47:05 +02:00
Alexandre Julliard f1de64db39 wrc: Clean output files when aborting on an error or signal. 2006-05-27 13:23:37 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Mike McCormack 69dcbaaf93 wrc: Don't use identifiers starting yy*, they're reserved for flex. 2006-03-06 17:50:52 +01:00
Alexandre Julliard 8f08fe6c0d wrc: Integer ids can be used for control labels instead of strings. 2006-02-28 15:27:25 +01:00
Mike Frysinger 5392844392 Add support for 'make install DESTDIR'. 2006-02-14 13:51:38 +01:00
Dmitry Timoshkov 57a579ffcd Make more arrays const. 2006-01-24 14:00:32 +01:00
Alexandre Julliard 1e96455094 Remove YY_NO defines that cause warnings. 2006-01-05 12:20:05 +01:00
Alexandre Julliard 88991e2a4e Support building flex files without debug support. 2006-01-03 15:11:46 +01:00
Alexandre Julliard 0ae2c69c7a Added some flex options to avoid compiler warnings.
Moved options from the Makefile into the source.
2006-01-03 12:16:05 +01:00
Alexandre Julliard 0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +01:00
Francois Gouget 6d442aeb34 Assorted spelling fixes. 2005-11-23 20:14:43 +01:00
Alexandre Julliard a8d69d6e35 Add current directory to default include path. 2005-10-10 18:07:34 +00:00
Alexandre Julliard 36c3199782 Default search path for an include file should be based on the path of
the parent source file, not the current directory.
2005-10-10 18:06:50 +00:00
Alexandre Julliard ac21d34b26 Set the version we report in wmc and wrc from the global Wine
version.
2005-10-10 10:43:41 +00:00
Alexandre Julliard 12a749984c Put Wine version information in all the man pages. 2005-10-06 16:10:01 +00:00
Alexandre Julliard cd91bc61be Now that we are requiring bison anyway, make the .tab.c file use the
same base name as the .y file, so that we can generate correct
dependencies in all cases.
2005-09-28 18:17:08 +00:00
Alexandre Julliard 261e376495 Fixed a number of pointer to integer conversions that wouldn't work
right on a 64-bit platform.
2005-09-12 15:14:06 +00:00
Alexandre Julliard 49b7fdcfc0 Removed the broken mmap64 configure check, and moved the
_FILE_OFFSET_BITS define to wine/port.h. Made sure that all files that
need the define include it.
2005-08-03 21:25:10 +00:00
Marcus Meissner 2d7e976eed Fixed signedness warnings. 2005-07-10 17:45:53 +00:00
Mike McCormack 723ee0a3bc gcc 4.0 -Wpointer-sign fixes. 2005-07-05 14:26:54 +00:00
Alexandre Julliard 52788d1f1c Added support for HTML resource type. 2005-06-30 20:58:52 +00:00
Stefan Huehner 4d11eba003 Fix some -Wsign-compare warnings. 2005-06-30 18:10:08 +00:00
Jacek Caban 6580ae03ed '.' is a valid char of tIDENT. 2005-06-30 18:09:39 +00:00
Eric Pouech 809edabfbe Const correctness fixes. 2005-06-27 09:53:46 +00:00
Mike McCormack a6dd1258b9 Move function prototypes to header. 2005-06-22 11:59:18 +00:00
Michael Stefaniuc d40517cb18 Change the type of 1 bit wide bitfields to unsigned. 2005-05-09 09:26:28 +00:00
Michael Lin 8acdd0baa9 Change menu item options to use optional comma. 2005-04-14 11:32:44 +00:00
Francois Gouget 93416cdaf7 Assorted spelling fixes. 2005-03-23 13:15:18 +00:00
Alexandre Julliard 72d6373743 Allow specifying extended control styles also in standard dialogs
(reported by Michael Lin).
2005-03-08 19:09:16 +00:00
Francois Gouget fbb3343547 Assorted spelling fixes. 2005-03-02 13:53:50 +00:00
Alexandre Julliard d0ee9f9309 Avoid spaces before preprocessor directives, that's not portable. 2005-03-02 12:23:20 +00:00
Jon Griffiths eb5bf7dd38 Documentation spelling fixes. 2005-02-25 14:07:56 +00:00
Alexandre Julliard 09c68d9dd5 Avoid assertion failure when loading an empty data file. 2005-01-28 14:01:55 +00:00
Alexandre Julliard 38964fd852 Removed an unused function. 2004-12-07 14:48:46 +00:00
Eric Pouech 763aff61a0 Another couple of missing static definitions. 2004-12-06 16:44:32 +00:00
Rein Klazes 2443c7f6d3 Allow negative numbers in RCDATA resources like RC.EXE does.
Fix false out of 16 bits range warning.
2004-11-22 18:15:42 +00:00
Eric Frias 741844c6ea Fixed error writing control IDs in dialogex on sparc. 2004-11-21 15:38:00 +00:00
Zach Gorman 2141f28fa0 WS_TABSTOP should not be a default style for GROUPBOX controls. 2004-08-19 01:02:07 +00:00
Alexandre Julliard f1ada8e686 Fixed handling of LANGUAGE statement for message tables (found by
Zhangrong Huang).
2004-07-20 01:24:11 +00:00
Marcus Meissner 1f787ca675 Generic SKIP_TAG to skip a number of bytes, use it where applicable. 2004-07-06 19:26:28 +00:00
Jon Griffiths 0aab81fa0c Also handle OS2 v1.x (AKA windows 2.0) bitmaps. 2004-06-01 19:43:21 +00:00
Dimitrie O. Paun cb0dc5cdf6 Document the --verbose switch. 2004-05-30 03:09:57 +00:00
Francois Gouget cfc3943c5f Make our ascii strings static const.
Remove a couple string variables that were used only once and use the
string literal directly.
2004-05-04 04:13:05 +00:00
Dimitrie O. Paun 23a1c12d8e Add support for --verbose for compatibility. 2004-04-12 22:04:13 +00:00
Alexandre Julliard e7579ef3f6 Fixed line number handling for escaped end of lines inside strings. 2004-04-09 19:08:53 +00:00
Vincent Béron 8451240526 Added a new flag to wrc, to be used to assess translations
advancement.
2004-01-18 23:24:04 +00:00
Mike McCormack 06113289f9 Avoid a crash if the dialog style is missing. 2004-01-02 20:12:25 +00:00
Dimitrie O. Paun c0232546bd Make the winehq.org domain the official one. 2003-11-26 03:55:01 +00:00
Daniel Marmier 4034ff36c0 Fixed warnings with gcc option "-Wwrite-strings". 2003-10-14 01:19:27 +00:00
Vincent Béron 3ce7ed5c15 Get rid of useless comment (empty function header). 2003-10-06 20:57:36 +00:00
Alexandre Julliard f3434c2539 Fixed handling of Unicode strings used as filenames (reports by Martin
Fuchs).
2003-09-29 20:23:15 +00:00
Vincent Béron a8fb3d786e Fix strncpyWtoA to actually act as advertised (and not overflow the
input buffer).
Small cleanups of it at the same time.
2003-09-22 19:45:29 +00:00
Eric Frias 16f4ededb6 Fixed combobox flags handling to allow CBS_DROPDOWN style. 2003-09-18 04:31:15 +00:00
Steven Edwards 9ef093ea8e Portability fix for language ids. 2003-09-10 03:44:20 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Vincent Béron 09a97f0608 Fixed typo. 2003-09-01 23:59:41 +00:00
Steven Edwards 14e3b19cd0 Fixes for building with w32api headers on Mingw. 2003-08-22 05:05:56 +00:00
Jon Griffiths 3e12aba93f Only statics are sure to be set to 0, explicitly initialise globals. 2003-08-18 19:48:58 +00:00
Juraj Hercek 286c605583 Adjusted grammar to accept also help-ids for dialogex controls. 2003-07-09 21:55:45 +00:00
Francois Gouget c5f775a9c7 Typos/spelling fixes. 2003-06-18 03:30:39 +00:00
Alexandre Julliard e1a9b10f51 Moved the wpp library from tools/ to libs/.
Create symlinks to the various libraries in the libs directory.
2003-05-01 03:16:21 +00:00
Dimitrie O. Paun 45864a7775 Add -fo as a synonym for -o, for compatibility with rc.
Line up help message, cleanup some error messages.
2003-04-19 02:47:28 +00:00
Dimitrie O. Paun 29ba6163aa Remove the no longer needed -m option, ignore -r for compatibility
with rc.
Rename -B to --endianess, -d to --debug, -W to --pedantic.
Add a new -U,--undefine option to undefined preprocessor symbols.
Cleanup the help message (order the long options alphabetically).
2003-03-28 19:31:49 +00:00
Dimitrie O. Paun 8794935e12 Remove unused options -a and -C.
Collapse the -w into -O, for symmetry with -J.
Update the man page to the latest options.
2003-03-27 18:37:59 +00:00
Alexandre Julliard 25fe361010 Added 'wine' prefix to libwine_unicode exports. 2003-03-21 21:30:51 +00:00
Dimitrie O. Paun fea0164996 Introduce the -J, --input-format options for compatibility with
windres.
Collpase the -e option into the -J option. Update man page.
Cleanup file header (remove history that's already in log msgs, etc.)
2003-03-20 19:23:08 +00:00
Dimitrie O. Paun d5a194b7dd Remove -J, -P, and -V as they have long options equivalents.
Update documentation, small code cleanups.
2003-03-19 22:45:51 +00:00
Alexandre Julliard 6a9fe36de2 Created a separate static portability library and moved some of the
libwine routines in there.
2003-03-19 22:09:16 +00:00
Dimitrie O. Paun deaf02a586 Remove assembly generation from wrc. 2003-02-26 05:04:12 +00:00
Dimitrie O. Paun 095322e271 Add option to set preprocessor (not yet implemented).
Remove the -N option, which is equivalent to '-P cat'.
2003-02-11 21:58:46 +00:00
Dimitrie O. Paun c306f35197 Merge README.wrc into wrc's man page. 2003-02-01 00:36:59 +00:00
Dimitrie O. Paun 68481e8e72 Remove header file generation, and related options. 2003-01-31 03:20:49 +00:00
Gerald Pfeifer 714148c555 Declare variable only if needed. 2003-01-23 21:21:50 +00:00
Dan Kegel 74e15940cc \ at EOL in string now behaves like in msvc6's rc. 2003-01-21 00:28:28 +00:00
Dimitrie O. Paun 42f9f0c29f Remove the obsolete wrc options: -A, -T, and -t. 2003-01-20 23:29:27 +00:00
Dimitrie O. Paun d26933edbd Added windres compatibility switches: -v, --[no-]use-temp-file.
New -h option to conform to standard practice (and MS' rc).
Updated documentation, minor option parsing cleanup.
2003-01-11 20:55:18 +00:00
Alexandre Julliard f8bac62769 Do not define __WINESRC__ when building tools and miscemu. 2003-01-09 01:57:15 +00:00
Dimitrie O. Paun 4a883a55f6 Collapse the -hHrs options into the -O option.
Generate .res files by default.
2003-01-09 00:03:53 +00:00
Dimitrie O. Paun 8b36681bad Rename __WINE__ to __WINESRC__. 2003-01-04 00:52:18 +00:00
Alexandre Julliard 60d84e8127 Updated for recent options changes. 2003-01-02 19:30:17 +00:00
Dimitrie O. Paun d07e901c86 Remove the -L wrc option, as no automatic fudging of filenames can
ever be correct.
2002-12-19 04:14:38 +00:00
Alexandre Julliard f9875bc1ca Added y.tab.[ch] pseudo-dependencies to fix parallel makes. 2002-12-15 01:19:53 +00:00
Dimitrie O. Paun e41ec931c7 Do not display the long options in the usage message if we don't
actually support them. Small other cleanups.
2002-12-12 22:23:55 +00:00
Dimitrie O. Paun 6f264583aa wrc should be aware of the location of the system headers. 2002-12-11 01:31:22 +00:00
Dimitrie O. Paun 647c1a33c8 Gracefully degrade to getopt if getopt_long does not exist. 2002-12-10 19:16:24 +00:00
Dimitrie O. Paun 9d8b149773 Make wrc command line compatible with windres. 2002-12-06 19:49:36 +00:00
Steven Edwards ca14f24af4 Fixed typo in BITMAPV4HEADER stucture. 2002-09-04 18:47:32 +00:00
Alexandre Julliard f08b186373 Try to derive temp file names from output file names for better
portability.
2002-08-27 22:29:26 +00:00
Dmitry Timoshkov c63d98038a Include protection for <unistd.h>, <sys/types.h> and <sys/stat.h>. 2002-08-17 18:28:43 +00:00
Alexandre Julliard f22ba0560d Added support for #pragma code_page.
Fixed a few bugs in language handling.
Added error message when Ansi->Unicode conversion in the current
codepage loses information.
2002-08-15 21:57:36 +00:00
Alexandre Julliard 27189627cb Added explicit dependency on y.tab.h for lex output. 2002-08-10 00:03:08 +00:00
Gregg Mattinson 8c9bdcc9e1 Fixes for Sparc build. 2002-08-07 01:18:41 +00:00
Alexandre Julliard 59ffa9fff7 Removed struct user to avoid conflicts with system headers (spotted by
Martin Cracauer).
2002-08-02 00:55:42 +00:00
Alexandre Julliard 65c6d38581 Replace all uses of PREFIX and @function by the __ASM_NAME and
__ASM_FUNC macros.
2002-07-22 20:47:11 +00:00
Alexandre Julliard 5f1565e7fd Explicitly specify the path to wpp.h so we don't need to change the
include path, to avoid conflicts with multiple y.tab.h files.
2002-07-20 19:00:52 +00:00
Alexandre Julliard b7d3c79beb Split the C preprocessor from wrc into a separate library.
Prefixed exported functions by 'pp' to avoid namespace conflicts.
2002-07-16 02:33:10 +00:00
Alexandre Julliard f673b71ece Fixed make install target to work even when nothing has been compiled
yet.
Added install-lib and install-dev targets to allow partial
installations; moved winemaker.man and winelauncher.in to better fit
in the new install categories.
2002-06-14 23:48:27 +00:00
Alexandre Julliard 7cae558bdc Removed some more trailing whitespace. 2002-06-01 02:55:48 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Steven Edwards 0b386cdc48 Fixes for building on mingw. 2002-05-30 20:36:29 +00:00
Steven Edwards 0a8e15abfb Detect snprintf && _snprintf, use _snprintf on stupid platforms
(windows).
2002-05-10 01:33:40 +00:00
Alexandre Julliard ce830a9c18 Added mkinstalldirs to create directories more portably. 2002-05-09 04:31:39 +00:00
Warren Baird 714bfd7e4a Solve alignment problems by converting bitmap headers *after* they
have been copied into an aligned location, and then copying the
converted header back over the original header.
2002-05-04 18:26:34 +00:00
Alexandre Julliard 9a68b7bef0 Link the tools and the server against libwine so we can use the
portability functions in there.
2002-04-27 21:19:22 +00:00
Alexandre Julliard 5769d1de00 Better support for configure detection of missing types, added check
for ssize_t.
Removed a couple of no longer used portability functions.
Various portability fixes in port.h.
2002-04-26 19:05:15 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Andreas Mohr 8bc7f16caa Spelling/alignment fixes. 2002-02-27 01:34:08 +00:00
Alexandre Julliard f5818d2f7a Upgraded configure script to use autoconf 2.50 features, and renamed
to configure.ac.
Changed a few things to better follow the autoconf guidelines.
2002-02-14 19:47:29 +00:00
Andreas Mohr a69c039c80 Documentation update. 2001-12-26 20:40:47 +00:00
Michael Stefaniuc 690d24f28e Replaced MAX with max and deleted definition of MAX. 2001-12-19 18:47:46 +00:00
Francois Gouget 381111d58f Fix a buffer overflow in write_name_str, bug found by
jonathan@corvu.com.au.
2001-11-06 22:23:37 +00:00
François Gouget 1425941e29 Fix the #include order for config.h.
Add #include "config.h" directives where needed.
2001-11-06 20:57:11 +00:00
Bang Jun-Young a556f688ec Add a workaround for a bug in byacc (again). 2001-06-24 00:23:37 +00:00
Francois Gouget f0c20b2d87 Wrc no longer needs to parse C code. Remove c-junk handling code. 2001-06-06 21:04:07 +00:00
Maciek Kaliszewski d7c69a5d5f Added support for RCINCLUDE directive. Now wrc ignores everything
except preprocessor directives from included *.h *.c files.
2001-06-04 03:09:11 +00:00
Francois Gouget 22507a018d Fix the conversion of MS style '#line' directives to gcc style. 2001-06-04 03:00:39 +00:00
Maciek Kaliszewski 8722373d9a Added better GCC-style #line directive handling. 2001-05-29 20:51:26 +00:00
Francois Gouget 0e85f54db7 -l/-L were not renamed to -t/-T in the usage messages. 2001-05-07 18:17:58 +00:00
Rein Klazes 3932f3a648 Added support for the Malayan language. 2001-02-12 03:47:10 +00:00
Jon Griffiths d0f41e0894 Remove xmalloc/xrealloc limits for large binary resources. 2001-02-12 01:15:37 +00:00
Ulrich Weigand b5533c1dc6 - Fixed a byteorder conversion problem with message tables.
- Carefully read and write (possibly) misaligned data elements
  to avoid crashes on architectures where this is not allowed.
2001-01-02 20:46:28 +00:00
François Gouget 44a182229b winuser.h now requires that we include winbase.h first. 2000-12-19 04:53:20 +00:00
Michael Veksler cfb63bd289 Add basic NLS information needed for Hebrew. 2000-12-06 20:11:40 +00:00
Alexandre Julliard e2222fd8ff Use libwine and libwine_unicode directly from their build directory
instead of using symlinks.
2000-12-06 00:05:14 +00:00
Nerijus Baliunas 01eeb01f0b Fixed Serbian language code page. 2000-12-05 21:12:56 +00:00
Alexandre Julliard 01af00a518 Added a few missing languages. 2000-11-25 23:53:01 +00:00
Joerg Mayer abe635cfd7 Get rid of some warnings about unused variables, signed/unsigned
comparisons and incomplete initializations.
2000-11-11 00:38:37 +00:00
Alexandre Julliard d19ad3962e Better error message when an include file is not found by makedep.
Added support for .mc extension.
Do not try to open *.tab.h and *.mc.rc include files.
2000-11-06 05:32:59 +00:00
Alexandre Julliard 2fa4f767aa Build ntdll as a real dll, including everything that was previously in
libwine.so. Created a new (mostly empty) libwine.so in library/ subdir.
2000-10-31 00:20:51 +00:00
Kristoffer Gleditsch d2e2bb240a Added LDFLAGS to linking of wine-related binaries. 2000-10-25 21:36:54 +00:00
Alexandre Julliard e904bf3b07 16-bit resource size must be scaled by alignment. 2000-10-25 20:31:51 +00:00
Alexandre Julliard 1d1f5f3eed Added codepage translation based on the language id (based on a patch
by Junichi Kuchinishi <jkuchi@mahoroba.ne.jp>).
2000-10-24 21:29:28 +00:00
Alexandre Julliard 053db33ac1 Fixed duplication of typename in 16-bit assembly output. 2000-10-23 01:29:52 +00:00
Francois Gouget e355ee2df1 Filenames may contain '/' and '\'.
Small typo fixes.
2000-09-24 03:02:12 +00:00
Bertho Stultiens c5a46ba96e Fixed a LALR(2) problem while scanning usertype resources which had
identifiers for both name and type.
2000-08-25 21:32:18 +00:00
Bertho Stultiens b37a889f2f - Implemented a bug-work-around for Berkeley yacc (byacc) which
does not generate proper default transition rules for non-terminals.
  See comments in parser.y how the fix works.
- Changed the error-line/char position to make emacs happy parsing
  the position of the error.
- Added comments in the documentation in which order the line-numer
  and character-position of the error is written.
2000-07-25 17:44:08 +00:00
Bertho Stultiens 24b5050a7f - Bugfix: Macro expansion of strings would assert an internal error
or a segfault due to a lacking '\0' in the expansion.
- Bugfix: Prevent buffer overflow in reallocation of macro expansion
  buffers.
- Bugfix: Wrc's version information was not passed as numerical to the
  preprocessor due to an error in the definition of the macro.
- Relaxed the newline constraint in global LANGUAGE statements, which
  was introduced in version 1.1.3, so that some fancy preprocessor
  constructs can work.
- Removed the gcc-style #line handling from the resource-parser to the
  resource-scanner so that it is possible to include files at any stage
  of the source, independent of the parser-state.
- Bugfix: Stringtables were not correctly searched for duplicates
  because the language comparison disregarded the sublanguage.
- Eliminated a repetitive warning when writing stringtables with zero
  length string entries. These are perfectly valid (but make no sense:-).
  Warnings are now only generated during parse in pedantic mode.
2000-07-08 11:49:29 +00:00
Alexander V. Lukyanov 90e756a30b Fixed problems with compilation/install out of source tree. 2000-06-20 20:50:50 +00:00
Alexandre Julliard 2f158c2678 Removed @PROGEXT@ (it was broken anyway).
Improved 'make install'.
Cleaned up the main Makefile.
2000-06-14 21:45:38 +00:00
Bertho Stultiens 661a94033e - Bugfix: Corrected "off by one" error in the linenumber while parsing
resource.
- Bugfix: A segfault would occur if messagetables were parsed without
  memory options attached. Also added buffer-overflow safeguard while
  converting between byteorders.
- Finished remapping usertype resources onto standars types by tricking
  the parser into accepting a different token. The remapping can be
  disabled with a new commandline option '-m'.
- Resolved some warning about chars used as index on SGI O2 machine
  (the ctype isXXX() routines are macros there).
2000-06-13 03:37:56 +00:00
Bertho Stultiens c107f714d0 - Implemented MESSAGETABLE resource type.
- Usertype resources that cause a type-clash with defined resources
  are now detected and a warning is generated. Some types should be
  rerouted through other code so that they will be (re-)interpreted.
- Bugfix: Line-continuation in strings in resources include a newline.
  This `feature' got deleted with the builtin preprocessor, but has been
  put back into place (see last changes comment from version 1.1.0).
- Bugfix: The preprocessor now correctly will see "\\\r\n" as a line-
  continuation.
- Bugfix: Assemblers on some platforms do not use 16bit quantities
  for `.word'. This directive is now changed into `.short'.
- All types that accept inline data definitions (a la RCDATA) now
  also accept a file specification. This unifies the structure a bit.
2000-06-08 00:38:47 +00:00
Marcus Meissner 35201ffc14 Add a ; needed by some YACCs. 2000-05-30 20:05:30 +00:00
Alexandre Julliard 24c3c5ed87 Revived the GEN_C_SRCS variable to support wrc lex/yacc sources. 2000-05-24 03:31:04 +00:00
Bertho Stultiens 997e0d782f - Implemented animated cursors and icons resource types.
- Added partial support for font resources (user supplied fontdir is
  required).
- All resources with inline data (a la RCDATA) now support language,
  version and characteristics data.
- Implemented resource name duplicate checks. It is now an error if
  two resources of the same type have the same name.
- Bugfix: Language propagation was not correct when .res files were
  generated.
- Bugfix: VERSIONINFO now handles memory options.
- Bugfix: resource names and the resource type may be equal (e.g. MENU
  MENU {...}). This support was mistakingly deleted in the upgrade to
  the builtin preprocessor.
  The standalone LANGUAGE setting became context sensitive as a consequence
  of this. Now it *must* end with a newline *after* both expressions and
  no newlines are allowed within the line (the statement must fit on one
  line). This is no practical problem though.
2000-05-23 01:18:38 +00:00
Patrik Stridvall d303dad1fe Fixed byte order on Solaris and FreeBSD. 2000-05-12 21:39:55 +00:00
Bertho Stultiens 3d455c9b16 - Bugfix: Corrected a SEGV in the rawdata handling. Mistakingly took the
address of a pointer instead of its value. This probably slipped in
  during the merge of my tree into the winetree.
  Lesson learned: always double check.
- Verified most resources so that win16 compile also generates correct
  output for reversed endian.
- Implemented byte-ordering for resources. All resources can be forced
  to be little-, big- or native endian with command-line option -B.
- Reading resources from .res-files are only accepted in native byte-
  ordering so that no additional semantic analysis is required.
- Resource directory is still written in native-only format, including
  the strings.
- Wrc is now installed through the makefile with 'make install' and also
  uninstalled with 'make uninstall'.
- Wrote a man-page for better reference. The manpage also gets installed
  and uninstalled.
- Cleaned up the namespace a bit by more agressive use of static.
2000-05-09 22:35:10 +00:00
Bertho Stultiens 27337af65c - Implemented a new preprocessor that is (nearly) ANSI-C compliant. The
old parser has been stripped from the old preprocessor-code which
  cleaned up both resource-scanner and -parser.
- Standard defines have been introduced (see README.wrc)
- Both preprocessor- and resource-scanner have been optimized slightly
  so that no backing up is required (one char lookahead is enough).
- Filename-scanning has been cleaned up, though not perfect yet.
- User-type resources are compatible now.
- Line-continuation in strings is corrected so that it does not
  introduce a newline in the output.
2000-05-01 20:05:58 +00:00
Alexandre Julliard c53ceba478 Improved support for Makefiles that need to recurse in subdirectories. 2000-04-09 18:19:59 +00:00
Patrik Stridvall 2fb8f9b61f Minor fix in wrc to support the Solaris preprocessor. 2000-03-28 19:25:46 +00:00
Francois Gouget 524bd76997 - An extern statement finishes with the first closing '}' or the first
outer ';'
- Handle '#error', '#line' and '#pragma' even when in the 'pp_strips',
  'pp_stripe', 'pp_stripp' or 'pp_false' contexts (just like '#if' and
  co).  But still don't issue an error if '#error' is found when in the
  'pp_false' state.
2000-03-19 12:44:46 +00:00
Francois Gouget b8d1b48736 Make the first comma in the control's definition optional. 2000-03-19 12:44:03 +00:00
Jeremy White d3e22d9d55 Removed #include of wingdi.h and windef.h from winuser.h (and resolved
the resulting compilation failures).
2000-02-10 19:03:02 +00:00
Alexandre Julliard b2f6f0e7d2 Removed resource.h. 2000-02-03 01:54:36 +00:00
Bertho Stultiens 3781d0d6e7 Generated labels of resource names must be unique throughout the
generated code.
2000-01-04 00:24:05 +00:00