Commit Graph

335 Commits

Author SHA1 Message Date
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