Alexandre Julliard
dec6f0773b
unicode: Fix parsing of Indic data files.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-13 11:40:29 +01:00
Francois Gouget
75a5107c96
dsound: Move make_fir to the dsound directory.
...
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-09 12:10:52 +01:00
Jacek Caban
4ec4988c2e
makedep: Use winebuild to build cross compiled static libraries.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-04 22:44:50 +01:00
Jacek Caban
c0467a1470
winebuild: Add an option to build a static library.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-04 22:43:41 +01:00
Jacek Caban
d473611469
winebuild: Also try llvm variants of tools in find_tool.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-04 22:43:27 +01:00
Jacek Caban
aabfd2dd3a
winegcc: Add support for using clang directly.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-03 14:22:17 +01:00
Jacek Caban
9a9f35a4df
winegcc: Pass tool by id to build_tool_name.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-03 14:22:13 +01:00
Jacek Caban
4cfe747772
winegcc: Return build_tool_name result as strarray.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-03 14:22:11 +01:00
Jacek Caban
945c61c32d
winegcc: Lookup PATH in find_binary and don't try to run binaries that can't be found.
...
Based on winebuild.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-03 14:22:07 +01:00
Alexandre Julliard
5d2ec076fe
kernel32: Remove the nameprep tables.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-03 13:20:24 +01:00
Jacek Caban
0959d189c8
makedep: Build builtin programs with ucrt.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-02 20:29:32 +01:00
Jacek Caban
747c46a4bc
winegcc: Don't pass ld command to winebuild when building PE file.
...
It's not used anyway.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-28 16:39:02 +01:00
Jacek Caban
e7fe6c0ac2
winegcc: Fix passing -delayload argument to linker.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-28 16:39:02 +01:00
Jacek Caban
cf20f54dd9
winegcc: Check more target components for platform string.
...
Fixes parsing llvm style mingw target *-pc-windows-gnu.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-27 23:34:51 +01:00
Jacek Caban
d24503fecf
winebuild: Check more target components for platform string.
...
Fixes parsing llvm style mingw target *-pc-windows-gnu.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-27 23:34:51 +01:00
Jacek Caban
b253bd6565
winegcc: Clean up output file on error.
...
Based on winebuild.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-21 21:10:40 +01:00
Jacek Caban
b0ea67ed46
winegcc: Treat -target argument as an alias to --target for clang compatibility.
...
clang uses -target for the same thing as we do.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-21 21:10:29 +01:00
Jacek Caban
8cf418314c
winegcc: Recognize -rtlib as linker argument.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-21 21:10:22 +01:00
Alexandre Julliard
e7eaa1a857
unicode: Remove no longer used normalization tables.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-21 13:48:44 +01:00
Alexandre Julliard
f9f3e57cf8
unicode: Generate the NLS files for normalization forms.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-21 13:48:44 +01:00
Alexandre Julliard
3d55de8c73
winedump: Add dumping of normalization NLS files.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-21 09:18:57 +01:00
Jacek Caban
229c33791f
makedep: Define _UCRT in modules that link to ucrtbase.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-18 20:30:14 +01:00
Alexandre Julliard
b507fe49ea
unicode: Use the standard compression function for the casemap table.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-18 11:14:58 +01:00
Dmitry Timoshkov
2c501aa750
widl: If a variable doesn't have a name provide an autogenerated one.
...
Otherwise widl crashes while generating a typelib for a structure
with an embedded anonymous union:
typedef struct _s
{
int type;
union
{
int f;
};
} s;
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-17 15:04:59 +01:00
Dmitry Timoshkov
8d0f8da652
widl: Generate name for a tagless union.
...
Otherwise widl crashes while generating a typelib for
typedef struct _s
{
int type;
union
{
int field;
} u;
} s;
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-17 15:04:59 +01:00
Alexandre Julliard
2b9d720ea0
unicode: Take into account explicit composition exclusions.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-17 15:04:59 +01:00
Alexandre Julliard
30f298f5db
unicode: Remove non-starter and compatibility compositions from the table.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-17 15:04:59 +01:00
Alexandre Julliard
ce41b32117
unicode: Generate compositions on the fly based on the decomposition table.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-17 15:04:59 +01:00
Alexandre Julliard
64e6d72284
unicode: Add support for high Unicode planes in composition tables.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-17 15:04:59 +01:00
Alexandre Julliard
c658731975
unicode: Add support for high Unicode planes in decomposition tables.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-17 15:04:59 +01:00
Alexandre Julliard
148f564d10
unicode: Add support for high Unicode planes to the combining class table.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-17 13:49:05 +01:00
Alexandre Julliard
23cee79d72
libport: Move the composition tables back to libwine and stop updating them.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-17 13:49:05 +01:00
Alexandre Julliard
0f2e88b0b2
unicode: Copy the composition table to ntdll.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-17 10:30:06 +01:00
Alexandre Julliard
4dab9bc04b
unicode: Move the compatibility decomposition table to ntdll.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-17 10:29:47 +01:00
Jacek Caban
0d537c854c
makedep: Use msvcrt headers for objects inside importlibs.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-13 16:44:24 +01:00
Alexandre Julliard
5b4bdb9fd3
libport: Move the codepage tables back to libwine and stop updating them.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-12 16:54:03 +01:00
Alexandre Julliard
831f58caa5
libport: Move the codepage table functions back to libwine and make them obsolete.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-12 16:54:02 +01:00
Alexandre Julliard
c47910ec47
wmc: 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
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
a4fc84bd4d
wmc: Add --nls-dir option.
...
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
Jacek Caban
a592c1ed08
makedep: Use -mno-cygwin for linking modules with no sources.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-11 22:39:59 +01:00
Alexandre Julliard
fb316c3377
unicode: Generate nls files for the codepage tables.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-11 09:06:45 +01:00
Alexandre Julliard
42a30a693a
makefiles: Move l_intl.nls to a new nls directory.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-11 09:05:33 +01:00
Alexandre Julliard
cb524e09a6
unicode: Remove some codepages that don't exist on Windows.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-10 14:56:49 +01:00
Alexandre Julliard
09d97e9685
unicode: Use codepage files from Microsoft's Open Specification data.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-10 14:56:49 +01:00
Alexandre Julliard
44ce5d9283
unicode: Support fetching a zip containining the data files.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-09 09:48:42 +01:00
Alexandre Julliard
d94b605a8a
unicode: Add JIS-0212 mappings to the 20932 (EUC-JP) codepage table.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-08 12:15:41 +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
d96a0acf29
winegcc: Make the WINEBUILD variable take precedence over the bin directory.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-06 21:40:22 +01:00
Alexandre Julliard
f504135e38
wmc: Always output resource strings in Unicode format.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-06 20:04:59 +01:00
Alexandre Julliard
ccfabb323b
wmc: Add trailing newlines to error messages.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-06 20:04:59 +01:00
Alexandre Julliard
8247686c10
wmc: Set the output format from the output file name.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-06 20:04:59 +01:00
Alexandre Julliard
b7b44224d1
wmc: Reimplement input format detection to correctly handle Unicode BOM.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-06 20:04:59 +01:00
Alexandre Julliard
fd86c85918
libport: Move the collation table back to libwine and stop updating it.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-05 09:00:47 +01:00
Alexandre Julliard
599166bd35
libport: Move the digitmap table back to libwine and stop updating it.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-05 09:00:40 +01:00
Alexandre Julliard
c2f6714970
wmc: Directly implement UTF-8 conversions.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-04 21:30:27 +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
Jacek Caban
26ad9a7ba3
widl: Check dispinterfaces for duplicated methods.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-04 21:30:27 +01:00
Alexandre Julliard
6346809302
unicode: Move the combining class table to ntdll.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-04 21:30:26 +01:00
Alexandre Julliard
0576fa43c4
unicode: Expand surrogates in decomposition tables.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-04 21:30:26 +01:00
Alexandre Julliard
cd8eaef47e
unicode: Avoid copying the decomposition data when not necessary.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-04 21:30:26 +01:00
Alexandre Julliard
a646e4e6f2
unicode: Store recursive decompositions directly in the tables.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-04 21:30:26 +01:00
Alexandre Julliard
dba4bd756a
unicode: Store variable-length sequences also for the main decomposition table.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-04 21:30:26 +01:00
Zebediah Figura
56995dd322
widl: Output a registry script for all interfaces written into the typelib.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46005
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-30 16:22:33 +01:00
Alexandre Julliard
69a9c2be72
winegcc: Also search the include and lib dirs relative to the binary path.
...
Suggested by Kevin Puetz.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-30 15:57:11 +01:00
Alexandre Julliard
90a543d3d7
widl: 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:33:13 +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
f17a228d45
unicode: Try harder to reuse subsequences when compressing data arrays.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-28 19:26:13 +01:00
Alexandre Julliard
bfeb0a97fe
unicode: Use a standard two-level mapping table for the sortkeys map.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-28 19:25:07 +01:00
Alexandre Julliard
fb87398b99
unicode: Use a standard two-level mapping table for the mirror map.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-28 18:58:50 +01:00
Alexandre Julliard
31360d4785
unicode: Use a standard two-level mapping table for the digit map.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-28 18:58:50 +01:00
Jacek Caban
1867a411b0
winegcc: Use Wine crt when linking to msvcrt.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-27 14:40:42 +01:00
Alexandre Julliard
62069b4ee8
sfnt2fon: Directly store the codepage tables for the few encodings we need.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-27 14:37:54 +01:00
Gerald Pfeifer
7299735fdf
winedump: Add a default case to numeric_leaf().
...
This addresses two warnings issues by GCC 10 (currently in development
stage 4, so this is unlikely to change):
msc.c:687:9: warning: 'value' may be used uninitialized in this function
msc.c:301:13: warning: 'value' may be used uninitialized in this function
Signed-off-by: Gerald Pfeifer <gerald@pfeifer.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-24 17:21:06 +01:00
Jacek Caban
c6e6771fab
winegcc: Use Wine crt when linking builtin EXEs.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-23 21:11:29 +01:00
Jacek Caban
618ac5f32a
winegcc: Add support for -Wl,--entry argument.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-23 21:11:29 +01:00
Jacek Caban
3ad95e03b8
makedep: Link importlib object files into module only when it's explicitly imported.
...
To prevent msvcrt linking its own importlib into DLL.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-23 21:11:29 +01:00
Alexandre Julliard
9c3a25b855
unicode: Specify a bit width instead of a format when dumping arrays.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-23 21:11:29 +01:00
Alexandre Julliard
a08821186a
unicode: Use existing helpers to build the sortkeys table.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-23 21:11:29 +01:00
Alexandre Julliard
4b5c67ee0b
unicode: Remove case mappings that don't round-trip.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-23 21:11:29 +01:00
Alexandre Julliard
bd9d83b73a
unicode: Use existing helpers to build the l_intl.nls file.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-23 16:45:02 +01:00
Alexandre Julliard
3f26eb4455
wmc: Get rid of some unused codepage information.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-23 10:03:57 +01:00
Alexandre Julliard
b2c26f28f0
winedump: Add dumping of codepage NLS files.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-22 23:07:06 +01:00
Alexandre Julliard
51cea310a0
winedump: Add dumping of case mapping NLS files.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-22 23:06:57 +01:00
Alexandre Julliard
5b0ba5be0b
makefiles: Add the builtin flag again after stripping.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47718
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-18 21:13:16 +01:00
Alexandre Julliard
51ffea5a39
winegcc: Use winebuild to set the builtin flag.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-18 21:13:16 +01:00
Alexandre Julliard
9dc348a071
winebuild: Add a --builtin option to mark PE files as builtins.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-18 21:13:13 +01:00
Alexandre Julliard
f6a1b37d13
tools: Upgrade the autoconf scripts.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-18 17:56:21 +01:00
Alexandre Julliard
ef2475b4f0
makefiles: Install only exe files in the bin directory.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-12 23:16:36 +01:00
Jacek Caban
55f803c81b
makedep: Build implib cross object files with -fno-builtin.
...
We want to be specific about used function and not want optimizations to
interfere.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-09 23:47:46 +01:00
Alexandre Julliard
94a3add0ea
kernel32: Move LCMapString functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-09 23:47:46 +01:00
Alexandre Julliard
1b46da5c05
kernel32: Move GetStringType functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-09 23:47:46 +01:00
Nikolay Sivov
624ed18b1f
Update to Unicode 12.1.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-09 23:47:45 +01:00
Alexandre Julliard
328ec3a768
kernelbase: Reimplement WideCharToMultiByte using Win32-format codepage tables.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-06 22:30:23 +01:00
Alexandre Julliard
7e8f1dac30
kernelbase: Reimplement MultiByteToWideChar() using Win32-format codepage tables.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-06 22:30:23 +01:00
Rémi Bernon
1491453ea9
widl: Cast freed pointers to void* to fix discarded-array-qualifiers warning.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-02 22:02:56 +01:00
Alexandre Julliard
7bb286ad9d
kernel32: Move FoldStringW() function to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-28 09:05:13 +01:00
Gijs Vermeulen
6ca93646be
server: Add support for additional fields in set_console_output_info.
...
Signed-off-by: Gijs Vermeulen <gijsvrm@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-25 20:47:43 +01:00
Chip Davis
6c50dbd14e
winegcc: Pass through -fuse-ld= to the linker.
...
Signed-off-by: Chip Davis <cdavis@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-25 20:47:43 +01:00
Alexandre Julliard
4152f944f6
makefiles: Create source dir symlinks from the makefiles.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-22 14:45:10 +01:00
Jacek Caban
3d19efae72
makedep: Use -Wl,-delayload on cross targets when supported by linker.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-13 22:36:58 +01:00
Jacek Caban
4346d68e1b
makedep: Use -Wl,-delayload option for winebuild delayimports.
...
Also fixes winebuild to correctly handle module extensions.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-12 21:39:40 +01:00
Jacek Caban
9180dec0b7
winegcc: Add support for -Wl,-delayload argument.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-12 21:39:40 +01:00
Jacek Caban
c15f83a2a3
widl: Use strmake in get_name.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-08 23:37:06 +01:00
Jacek Caban
d5c745e467
widl: Don't use fixed size buffer in ctl2_encode_string.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-08 23:36:54 +01:00
Jacek Caban
908c2bec28
widl: Don't use fixed size buffer in ctl2_encode_name.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-08 23:36:50 +01:00
Alexandre Julliard
21c832da63
winegcc: Also check magic number to detect shared libraries.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-04 22:43:01 +01:00
Alexandre Julliard
42cf6cce4b
makefiles: Pass --nostdinc also to widl.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-02 13:55:16 +01:00
Alexandre Julliard
5f39d36a6c
widl: Add --sysroot and --nostdinc options.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-02 13:55:16 +01:00
Alexandre Julliard
264d8884d5
widl: Add strmake() helper.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-02 13:55:16 +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
Alexandre Julliard
4f63971169
libport: Add codepage 28601 (Latin/Thai).
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-17 18:23:54 +02:00
Alexandre Julliard
6306a1730a
winebuild: Add support for excluding a specific CPU architecture.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-16 14:38:13 +02:00
Zebediah Figura
8746bf094f
widl: Also compute buffer size for non-ref arrays.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47886
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-07 09:59:38 +02:00
Zebediah Figura
dd35baa8e3
widl: Write pointer classes for explicitly declared arrays only if they are top-level parameters.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-07 09:59:36 +02:00
Alexandre Julliard
a9285c5131
make_unicode: Avoid duplicate lead bytes.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-06 13:39:53 +02:00
Huw Davies
ba2def2503
winegcc: Add a missing break.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-30 11:48:21 +02:00
Alexandre Julliard
0bfee2c6eb
winegcc: Centralize argument parsing into the main switch.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-27 13:26:52 +02:00
Alexandre Julliard
c307223791
winegcc: Update __stdcall defines for ARM platforms.
...
Reported by Kevin Puetz.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-27 13:26:52 +02:00
Michael Stefaniuc
bbcf44eb97
widl: Add the ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-26 21:05:44 +02:00
Alexandre Julliard
d8bb3030d8
make_specfiles: Don't add forwards to the api-ms-* dlls.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-26 21:00:14 +02:00
Kevin Puetz
d5e175e32b
winegcc: Correctly pass the '-' file name (stdin) to the compiler.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=38300
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-24 18:38:28 +02:00
Jacek Caban
6cba24ef1f
winegcc: Use -print-libgcc-file-name to find libgcc.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-23 19:44:18 +02:00
Alexandre Julliard
d63c51fd30
winegcc: Pass all linker arguments also when testing link options.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-23 19:44:18 +02:00
Alexandre Julliard
683e455497
winegcc: Always search the standard include dirs.
...
By analogy with the library dir search.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-23 19:44:18 +02:00
Alexandre Julliard
08956bc9bb
winegcc: Add --wine-objdir and --winebuild options for the Wine build.
...
This avoids overloading the meaning of the -B and --sysroot options.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-23 19:44:17 +02:00
Alexandre Julliard
cb010cd6ec
winegcc: Add ARRAY_SIZE macro.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-23 19:44:17 +02:00
Alexandre Julliard
13850a3eb8
winegcc: Forward the -B options to winebuild.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-10 23:20:41 +02:00
Alexandre Julliard
ab871dc4d8
winegcc: Support the --target option like winebuild does.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-10 23:20:41 +02:00
Alexandre Julliard
0c2cc9bb05
winegcc: Fix handling of the --sysroot flag when not building inside the Wine tree.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-10 23:20:41 +02:00
Alexandre Julliard
6ba101b229
winebuild: Add support for the -B option.
...
Based on a patch by Kevin Puetz.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-10 23:20:41 +02:00
Francois Gouget
2814409990
widl: Fix a variable name in a comment.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-02 20:46:58 +02:00
Alexandre Julliard
0fd3b1eab9
Revert "winebuild: Quote stdcall decored symbols."
...
This reverts commit a3e1fe936e
.
It breaks with older binutils.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-27 10:41:20 +02:00
Jacek Caban
a3e1fe936e
winebuild: Quote stdcall decored symbols.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-26 17:41:15 +02:00
Jacek Caban
e574d4f8f9
winebuild: Don't underscore local symbols in func_declaration.
...
This is the case in output_call16_function. GNU ld happens to handle it,
but LLD does not.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-26 17:41:15 +02:00
Jacek Caban
dd1a83c20a
winebuild: Don't include aliases in importlib .def files.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-26 17:41:11 +02:00
Richard Pospesel
57f697e137
widl: Respect wire-marshal typedefs in type libraries.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47041
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-21 20:04:10 +02:00
Richard Pospesel
4b1dfa6037
widl: Add the typedef to the type library if the aliasee is an anonymous UDT.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47050
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-21 20:04:05 +02:00
Zebediah Figura
96e11d51ba
widl: Write public typedefs into the typelib if they are referenced directly.
...
I.e. write "apple_t" into the typelib given the following snippet:
typedef [public] struct { ... } apple_t;
library {
interface IFoo {
HRESULT a(apple_t arg);
}
}
Based on a patch by Richard Pospesel.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-21 20:04:01 +02:00
Zebediah Figura
4f4763ab6b
widl: Handle encapsulated unions in type libraries.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-21 20:03:57 +02:00
Zebediah Figura
732f67ed38
widl: Generate a name for the encapsulated union type.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-21 20:03:52 +02:00
Richard Pospesel
181cafcd52
widl: Fail compilation if an incomplete union or enum is used in a remoted field.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-21 09:33:57 +02:00
Zebediah Figura
a58e4cc07c
widl: Check for redefinition of named user types.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-21 09:33:55 +02:00
Alexandre Julliard
509e8d2093
winedump: Add dumping for exception info for ARM64.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-20 21:29:37 +02:00