Commit Graph

70 Commits

Author SHA1 Message Date
Alexandre Julliard d8c986e062 wrc: Add support for loading translations from po files. 2011-01-04 11:18:45 +01:00
Alexandre Julliard 10700bf6b2 wrc: Add support for generating .po files from existing resources. 2011-01-04 11:18:10 +01:00
Alexandre Julliard 5fabc5cca7 wrc: Copy the strmake utility function from winegcc. 2010-12-30 12:27:13 +01:00
Alexandre Julliard e6340f1652 wrc: Add support for target options, and define _WIN64 for 64-bit builds. 2010-09-29 20:13:28 +02:00
Kirill Smelkov 277aba1d76 wrc: Drop hardcoded INCLUDEDIR.
INCLUDEDIR should be defined in Makefile.in, and if not, we should notice.
2010-04-22 11:27:52 +02:00
Alexandre Julliard cb9be96437 wrc: Move temp file management from wpp directly into the load_file function. 2010-03-30 15:33:54 +02:00
Rob Shearman 903f686899 wrc: Fix symbol was not declared and using plain integer as NULL pointer sparse warnings. 2010-01-22 12:18:20 +01:00
Michael Stefaniuc b90a74c724 Revert "wrc: Use an EOF rule instead of lex_destroy for compatibility with prediluvian flex versions.".
This reverts commit 1405c00ecb.
Wine now requires a new enough flex version.
2009-12-30 13:36:19 +01:00
Alexandre Julliard be7558fc30 wrc: Print a warning when encountering utf8 strings in non-utf8 codepage. 2009-08-20 15:33:03 +02:00
Marcus Meissner 39d4d12c08 wrc: Handle "no files == stdin". 2009-08-10 13:09:43 +02:00
Michael Stefaniuc d67a9d92ea wrc: Reset the language before processing multiple rc files. 2009-07-10 12:24:09 +02:00
Alexandre Julliard 683dc30e82 wrc: Clean up command line parsing for multiple files support. 2009-06-29 13:12:59 +02:00
Alexandre Julliard 1405c00ecb wrc: Use an EOF rule instead of lex_destroy for compatibility with prediluvian flex versions. 2009-06-23 15:53:01 +02:00
Alexandre Julliard e25bc79da1 wrc: Add support for loading multiple input files at once. 2009-06-22 12:23:39 +02:00
Alexandre Julliard cf63bb880e wrc: Print better error messages for functions that set errno. 2009-02-16 15:35:15 +01:00
Austin English 90f89fa74d tools: Spelling fixes. 2008-01-18 12:52:09 +01: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
Nicolas Delcros a6fe56a8cf wrc: Fixed typo for the --pedantic argument. 2006-09-25 17:56:38 +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 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 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
Dmitry Timoshkov 57a579ffcd Make more arrays const. 2006-01-24 14:00:32 +01:00
Alexandre Julliard 88991e2a4e Support building flex files without debug support. 2006-01-03 15:11:46 +01:00
Alexandre Julliard a8d69d6e35 Add current directory to default include path. 2005-10-10 18:07:34 +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
Mike McCormack a6dd1258b9 Move function prototypes to header. 2005-06-22 11:59:18 +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
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
Jon Griffiths 3e12aba93f Only statics are sure to be set to 0, explicitly initialise globals. 2003-08-18 19:48:58 +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
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
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 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
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
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 d07e901c86 Remove the -L wrc option, as no automatic fudging of filenames can
ever be correct.
2002-12-19 04:14:38 +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