Commit graph

418 commits

Author SHA1 Message Date
Frédéric Delanoy
a46da0e86a wrc: Use BOOL type where appropriate. 2013-09-23 20:32:29 +02:00
Alexandre Julliard
8fcac3b2bb wrc: Remove non-bison compatibility code. 2013-08-01 12:04:29 +02:00
Frédéric Delanoy
f753720eb5 wrc: Fix manpage formatting. 2013-07-17 20:30:50 +02:00
Alexandre Julliard
dcc97a186d Standardize the BUGS, AVAILABILITY and SEE ALSO sections across all man pages. 2013-07-16 20:48:05 +02:00
Francois Gouget
6cf05f914d include: Remove some non-standard sublang synonyms. 2013-07-08 17:17:57 +02:00
Alexandre Julliard
005565d90d makefiles: Make sure to install manpages for the install-lib and install-dev cases. 2013-07-02 19:39:30 +02:00
Alexandre Julliard
28ece74fd8 Use the official Microsoft definitions for Gaelic languages. 2013-06-19 20:09:51 +02:00
Jacek Caban
0da8be91ef wrc: Allow '/' and '\' in identifiers. 2013-04-23 15:35:12 +02:00
Alexandre Julliard
c9d806a0d1 wrc: Add support for PNG icons. 2013-03-27 20:12:27 +01:00
André Hentschel
198b70cb9d wrc: Add ARM64 support. 2013-01-16 12:37:46 +01:00
Francois Gouget
fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +02:00
Henri Verbeet
187065e1c3 wrc: Avoid an unused function warning when HAVE_LIBGETTEXTPO is not defined. 2012-01-31 13:46:36 +01:00
Alexandre Julliard
811da88cfc wrc: Fix parsing of virtkey accelerators. 2012-01-30 12:46:20 +01:00
Francois Gouget
1a512846e2 wrc: Add a trailing '\n' to the error() calls. 2012-01-27 18:05:54 +01:00
Alexandre Julliard
ceadc43c78 wrc: Add support for translating accelerators through po files. 2012-01-24 18:10:32 +01:00
Alexandre Julliard
ceb26b809b wrc: Fix lookup of strings that contain a context. 2011-11-18 19:26:42 +01:00
Alexandre Julliard
1eeaa874b3 wrc: Increase the font size when translating a dialog to a language that needs a larger font. 2011-10-31 16:47:13 +01:00
Alexandre Julliard
f13f25343c wrc: Set the WS_EX_LAYOUTRTL flag when translating a dialog to a RTL language. 2011-10-31 16:46:58 +01:00
Alexandre Julliard
413f5ccba5 wrc: Print warnings for mismatched dialogs during po file generation. 2011-10-31 16:46:22 +01:00
Alexandre Julliard
f4ec097c9b wrc: Load translations from mo files instead of po. 2011-10-22 20:13:40 +02:00
Alexandre Julliard
4215722988 wrc: Store the current po file in a global variable. 2011-10-22 17:44:38 +02:00
Francois Gouget
9c11faf619 wrc: Fix the spelling of the --endianness option. 2011-08-24 19:07:45 +02:00
Francois Gouget
32b310c737 wrc: If the message context is 'do not translate', then don't add the string to the PO file. 2011-08-24 19:07:45 +02:00
Frédéric Delanoy
701aabb141 tools: Assorted spelling fixes. 2011-07-29 12:09:12 +02:00
Henri Verbeet
6c0e6df1b7 wrc: Don't include gettext-po.h if we don't have the corresponding library. 2011-07-25 22:05:20 +02:00
Alexandre Julliard
a92d60efb5 wrc: Run through the translation process even if libgettext-po is missing. 2011-07-25 10:42:42 +02:00
Marcus Meissner
b07408cf82 wrc: Fixed some small leaks in PO code (Coverity). 2011-06-28 11:57:51 -05:00
Alexandre Julliard
49c31e3bf8 makefiles: Use the generic install flags for the tools directories. 2011-06-12 12:47:48 +02:00
Frédéric Delanoy
a53468b489 wrc: Fix spelling/grammar in manpage. 2011-05-27 17:53:39 +02:00
Akihiro Sagawa
96361b3951 wrc: Don't match a po message if a same msgid message is defined, but its msgctxt is null. 2011-02-01 18:14:09 +01:00
Alexandre Julliard
36bc86bfb3 wrc: Remove the context prefix when generating the po file for English. 2011-01-14 18:26:12 +01:00
Alexandre Julliard
c0b813f002 po: Use more standard names for the Serbian locales. 2011-01-07 12:11:41 +01:00
Alexandre Julliard
45ef8e8a18 wrc: Treat empty translation strings as missing. 2011-01-07 10:20:29 +01:00
Huw Davies
d5c66bc23d wrc: Initialise variable. 2011-01-05 17:54:33 +01:00
Alexandre Julliard
1898f22ca5 wrc: Do not use translations that are marked fuzzy. 2011-01-04 20:27:59 +01:00
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
df45a347ac wrc: Store location information in strings. 2010-12-30 13:08:30 +01:00
Alexandre Julliard
d0a6c806a9 wrc: Explicitly define structure creation functions instead of playing with macros. 2010-12-30 12:30:36 +01:00
Alexandre Julliard
5fabc5cca7 wrc: Copy the strmake utility function from winegcc. 2010-12-30 12:27:13 +01:00
André Hentschel
a49eac930a wrc: Allow comma after popup name. 2010-12-14 11:44:09 +01:00
Alexandre Julliard
577f202d25 wrc: Only allow 7-bit ASCII characters in wide string constants. 2010-12-05 16:33:13 +01:00
Alexandre Julliard
15ccabc9a8 makefiles: Add common rules for installing the main man page. 2010-12-05 16:17:58 +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
Alexandre Julliard
81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Alexandre Julliard
0fbe445871 wrc: Display a warning in pedantic mode when using memory options in 32-bit resources. 2010-07-22 11:41:40 +02:00
Alexandre Julliard
cdf6947080 wrc: Avoid use of toupper/isupper on signed chars. 2010-06-16 12:48:51 +02:00
Gerald Pfeifer
3aa6cff4ce wrc: Remove variable type which is not really used from rsrcid_to_token. 2010-05-05 10:53:05 +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
Kirill Smelkov
f4ff08f483 wrc: Use INCLUDEDIR when compiling. 2010-04-22 11:27:44 +02:00
Alexandre Julliard
1ffab3ab4e wrc: Make the bitmap size checking more generic, and add support for V5 bitmaps. 2010-04-21 14:07:50 +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
Alexandre Julliard
fbef7217b9 makefiles: Remove the no longer needed explicit dependencies for bison files. 2010-03-16 13:28:24 +01:00
Alexandre Julliard
bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Alexandre Julliard
9644d1dcd7 makefiles: Generate a general catch-all dependency on .tab.h files to replace the manually maintained ones. 2010-02-08 20:58:00 +01: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
Alexandre Julliard
82f910eb62 wrc: Merge the menu and menuex structures. 2010-01-04 12:41:16 +01:00
Alexandre Julliard
1b305dd2df wrc: Merge the menuitem and menuitemex structures. 2010-01-04 12:31:22 +01:00
Alexandre Julliard
0fb8203654 wrc: Merge the dialog and dialogex structures. 2010-01-04 12:23:37 +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
da3ee66505 wrc: Include unistd.h before the Windows headers. 2009-10-06 16:18:04 +02:00
Alexandre Julliard
a4e22d4928 tools: Build all the tools with -D__WINESRC__. 2009-10-05 14:55:25 +02:00
Gerald Pfeifer
bdb73f5c72 wrc: Fix eight conditions in compare_menuex_item. 2009-09-16 15:26:06 -05:00
Francois Gouget
b4e7155c1a wrc: Add a '\n' to a parser_warning() call. 2009-08-26 13:09:16 +02: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
Alexandre Julliard
fc8c8a5251 wrc: Report an error when encountering non-ASCII characters. 2009-07-16 11:15:15 +02:00
Alexandre Julliard
5d56995696 wrc: Avoid a crash if a file didn't contain any resources. 2009-07-16 11:15:00 +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
Michael Stefaniuc
2b066327ec tools: Remove unused alloca.h include. 2009-02-13 13:00:02 +01:00
Marcus Meissner
fc3b99b90a wrc: Free type to avoid leaks (Coverity). 2009-02-02 15:21:44 +01:00
Dmitry Timoshkov
c34b64d6d9 wrc: Warn for duplicate dialog ids. 2009-01-14 12:22:40 +01:00
Francois Gouget
bfa7fded98 wrc: Add a trailing '\n' to some warning and error messages. 2008-12-17 15:27:16 +01:00
Francois Gouget
28b97861b9 wrc: parser_error() does not need a trailing '\n'. 2008-11-25 11:50:15 +01:00
Alexandre Julliard
87e12632fa wrc: Fix the duplicate resource check for user-defined types. 2008-11-04 10:07:07 +01:00
Huw Davies
2e3e696a2c wrc: Include errno.h. 2008-10-20 22:33:43 +02:00
Rob Shearman
e3afab2691 wrc: Don't accept "0" as a valid codepage in "#pragma code_page" directives. 2008-10-20 11:37:27 +02:00
Rob Shearman
d1c1543893 wrc: Check for overflows when parsing integer constants. 2008-10-18 19:33:28 +02:00
Alexandre Julliard
f80cd0db71 tools: Convert source files to utf-8. 2008-10-18 19:22:54 +02:00
Alexandre Julliard
b3ec2e5f95 makefiles: Recurse into all directories for install-lib and install-dev too. 2008-08-25 14:27:03 +02:00
Alexandre Julliard
28a2179dd6 Add noinput directive to all lex files to avoid a compiler warning. 2008-07-07 12:31:33 +02:00
Francois Gouget
42a61d7ed7 Assorted spelling fixes. 2008-05-06 16:10:20 +02:00
Alexandre Julliard
cff332fbfd wrc: Add support for Unicode accelerator strings. 2008-04-08 11:54:47 +02:00
Francois Gouget
8a18e0e43a Assorted spelling fixes. 2008-04-07 13:36:18 +02:00
Michael Stefaniuc
fae9640f4d wrc: Sync the codepage mapping to the LANG_* identifiers from include/winnt.h. 2008-04-02 11:14:35 +02:00
Mikołaj Zalewski
19053786bb wrc: verify-translation: Allow the translators to set BS_MULTILINE on buttons without an error. 2008-03-31 12:12:53 +02:00
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