Commit Graph

389 Commits

Author SHA1 Message Date
Alexandre Julliard 3b0540edd0 wrc: Avoid using getopt_long().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-05 11:53:08 +02:00
Alexandre Julliard 9e3959bd9b tools: Add a few helper functions for file names and extensions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-29 21:38:11 +02:00
Alexandre Julliard 55701c6672 tools: Add a helper function to create temp files.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-29 21:38:11 +02:00
Alexandre Julliard 97ca9f8a3d tools: Add a shared header for common helper functions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-28 17:38:06 +02:00
Alexandre Julliard df08cd443a wrc: Use the existing global variable for pedantic mode.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-24 21:55:18 +02:00
Alexandre Julliard 1e173eaa8c wrc: Use asserts instead of explicit internal error.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-24 21:55:18 +02:00
Alexandre Julliard 04ae435f89 wrc: Use the standard memory allocation wrappers in the preprocessor.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-24 21:55:18 +02:00
Alexandre Julliard b69ce3472d wpp: Move the preprocessor code into wrc.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-24 21:55:18 +02:00
Alexandre Julliard 7722168823 wrc: Remove no longer used cmdline copy.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-22 21:47:45 +02:00
Francois Gouget 55ba6262d2 wrc: Remove the trailing linefeed from a parser_error() message.
Unlike most other trace and error reporting functions, parser_error()
appends a linefeed to the error message.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-02 20:42:16 +01:00
André Hentschel 9419eadd04 wrc: Add PPC64 support.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-09 13:05:31 +01:00
Alexandre Julliard a204ad557d makefiles: Expand makedep path at compile time.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-09 20:30:31 +02:00
Alexandre Julliard 6cc475dbe5 wrc: Remove some dead code.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-30 12:37:27 +02:00
Alexandre Julliard 721a2add2f wrc: Use external NLS files for codepage conversions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-12 16:54:02 +01:00
Alexandre Julliard 64ff68c884 wrc: Add --nls-dir option.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-12 16:54:02 +01:00
Alexandre Julliard 0a66eaea68 wrc: Set the output format from the output file name.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-07 10:38:06 +01:00
Alexandre Julliard fe888bbbb6 wrc: Avoid converting Unicode strings back to Ansi.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-07 10:34:59 +01:00
Alexandre Julliard 1d8f4fe4a0 wrc: Add an option to set the input codepage to UTF-8.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-07 10:34:59 +01:00
Alexandre Julliard 2045950096 wrc: Export the convert_string_utf8() helper function.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-07 10:25:28 +01:00
Alexandre Julliard 499d772cb6 wrc: Simplify the put_string() helper function.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-07 08:26:11 +01:00
Alexandre Julliard 358b4ad99a wrc: Add a helper function to terminate the resource data.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-07 08:16:19 +01:00
Alexandre Julliard 88abd7cb98 wrc: Directly implement UTF-8 conversions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-04 21:30:27 +01:00
Alexandre Julliard 5417826caa wrc: Also search the include dir relative to the binary path.
Suggested by Kevin Puetz.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-30 11:30:13 +01:00
Alexandre Julliard 9240ffbb29 wrc: Add --sysroot option.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-02 13:55:16 +01:00
Enol Puente ec3181633b wrc: Add Asturian locale.
Signed-off-by: Enol Puente <enolp@softastur.org>
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-03 21:47:09 +02:00
Alexandre Julliard ab6e4c8b73 wrc: Avoid using wine/unicode.h on Windows.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-12 13:04:26 +02:00
Alexandre Julliard 4b2d797d6e wrc: Don't map version block names to the target language.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-01 17:48:26 +01:00
Alexandre Julliard 395bef5200 wrc: Support more languages.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-24 19:48:19 +01:00
Michael Stefaniuc 79a6dd21ad wrc: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-23 13:57:03 +02:00
Dmitry Timoshkov d8607c57b0 wrc: Fix generation of custom dialog control data.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-01 19:12:22 -07:00
Fabian Maurer c0dfdbcf7b wrc: Don't crash when parsing COMBOBOX element without style.
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-20 18:36:56 +02:00
Józef Kucia 9269562a3a wrc: Accept hyphens in identificators.
It is a bit more permissive than it should be, hyphens should be allowed
in resource names, but not in filenames.

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-21 14:20:57 +02:00
Alexandre Julliard 832a40109e makefiles: Make the directory specifications a bit more standard.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-21 12:25:26 +01:00
Austin English 63df3cab7c wrc: Move WineHQ URLs to https.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-01 09:29:41 +01:00
Alexandre Julliard 8f08aee04d wrc: Only add translations for specific fields in version blocks.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-07 11:29:42 +02:00
Akihiro Sagawa 52931c7523 wrc: Add support for translating version info through po files.
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-22 16:14:08 +01:00
Michael Stefaniuc e697a639e0 wrc: Remove a wrong comment.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-17 12:27:54 +01:00
André Hentschel 0beb178a2e wrc: Remove getopt prototype.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-07 13:19:31 +09:00
Alexandre Julliard 3602962275 makefiles: Generate dependencies for static libraries.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-23 19:38:37 +09:00
Alexandre Julliard fabf11c240 wrc: Remove no longer needed use of libwine_static.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-22 17:37:09 +09:00
Alexandre Julliard 865f23b503 wrc: Avoid locale- or Unicode-dependent case conversions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-22 17:37:08 +09:00
Alexandre Julliard e8076eeced wrc: Only allow control key characters ^A to ^Z.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-22 17:33:52 +09:00
Alexandre Julliard 22cb2beb1c wrc: Don't convert class and menu names to uppercase in resource data.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-22 17:33:42 +09:00
Hugh McMaster 11669fa5e2 Assorted spelling and grammar fixes.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-17 22:56:40 +09:00
Alexandre Julliard da340169d6 makefiles: Generate rules for installing programs.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-29 21:20:06 +09:00
Alexandre Julliard 7626728b56 makefiles: Generate rules for building tool binaries.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-27 14:47:27 +09:00
Daniel Lehman 42724f3d50 wrc: Add support for LANG_INVARIANT. 2015-08-26 23:15:27 +09:00
Carlo Bramini 36a39cea90 wrc: Remove redeclaration of optarg and optind. 2015-08-13 16:07:29 +09:00
Francois Gouget f505e6fb4a Assorted spelling fixes. 2015-03-19 21:54:14 +09:00
Francois Gouget 9cb5579130 wrc: Remove an unused lexer definition. 2015-03-09 22:06:22 +09:00