Commit Graph

377 Commits

Author SHA1 Message Date
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
Alexandre Julliard f15d077f93 wrc: Remove duplicate parentheses. 2015-03-04 17:27:12 +09:00
Michael Stefaniuc 11bee58bda wrc: Remove some more always-true conditions. 2015-01-13 19:53:59 +01:00
Martin Storsjo 84e99d13ae wrc: Declare the data buffer as unsigned char. 2014-12-08 17:27:26 +01:00
André Hentschel 9b810cd6e8 wrc: Remove duplicate code (PVS-Studio). 2014-10-28 14:05:52 +09:00
Nikolay Sivov 08058c793f wrc: Remove some always-true conditions (PVS-Studio). 2014-08-19 14:49:22 +02:00
Alexandre Julliard 03167b4369 wrc: Allow specifying the default message font in dialogs by setting DS_SETFONT. 2014-04-15 21:03:55 +02:00
Alexandre Julliard da066aeafc wrc: Ignore unknown -m target options. 2014-02-12 19:15:23 +01:00
Frédéric Delanoy 0f2bed51bd Assorted spelling fixes. 2014-02-10 15:47:29 +01:00
Frédéric Delanoy 4d3ba0310e wrc: Remove unused variables. 2014-02-05 13:49:20 +01:00
Alexandre Julliard cf0e96c6d0 configure: Rename substituted variables to a standard _CFLAGS and _LIBS format. 2014-01-30 14:51:33 +01:00
Alexandre Julliard 509364e1dd makefiles: Get rid of Make.rules. 2014-01-14 12:18:02 +01:00
Alexandre Julliard 0d533cf0bd makefiles: Allow define arguments to be specific to a single file. 2014-01-07 12:20:25 +01:00