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
Zebediah Figura
0aa6049c8d
widl: Create exactly one type_t object per named enum type.
...
Based on a patch by Richard Pospesel.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47035
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-20 09:08:57 +02:00
Zebediah Figura
833639bd09
widl: Create exactly one type_t object per named union type.
...
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-20 09:08:54 +02:00
Zebediah Figura
42321d7a11
widl: Create exactly one type_t object per named structure type.
...
Regardless of whether we are writing a typelib.
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-20 09:08:51 +02:00
Zebediah Figura
55234f65a8
widl: Track whether the type has been defined yet in the statement_t and var_t structures.
...
Based on a patch by Richard Pospesel.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47149
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-20 09:08:48 +02:00
Zebediah Figura
60d668631f
widl: Don't store the default pointer type in the type_t structure.
...
This fixes type format string generation for the following IDL:
typedef int *intp;
[pointer_default(ref)] interface IRef {
void a(intp *a);
}
[pointer_default(unique)] interface IUnique {
void b(intp *a);
}
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-19 11:29:28 +02:00
Zebediah Figura
5cc3548299
widl: Store the "inline" function specifier inside the decl_spec_t structure.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-19 11:29:28 +02:00
Richard Pospesel
7e4da76689
widl: Store the "const" type qualifier inside the decl_spec_t structure.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-19 11:29:28 +02:00
Zebediah Figura
df948ccc05
widl: Fix nesting of functions, pointers, and arrays.
...
This is actually broken in MIDL, even as recent as the version shipped with
the Windows 10 SDK, but it makes our code simpler, so there's no reason not
to do it right.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-19 11:29:28 +02:00
Richard Pospesel
f131795b30
widl: Pass a decl_spec_t to type_new_alias().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-16 10:09:33 +02:00
Richard Pospesel
d4dfbb630f
widl: Pass a decl_spec_t to type_new_array().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-16 10:09:29 +02:00
Richard Pospesel
e8b6c05242
widl: Pass a decl_spec_t to write_type_left().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-16 10:09:24 +02:00
Richard Pospesel
aa2bd521d9
widl: Pass a decl_spec_t to write_type_v().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-16 10:09:19 +02:00
Zebediah Figura
d0e10aa372
widl: Store the type for casts and sizeof() expressions as a decl_spec_t.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-16 10:09:13 +02:00
Richard Pospesel
e63df7f7bf
widl: Store the aliasee as a decl_spec_t structure.
...
Signed-off-by: Richard Pospesel <richard@torproject.org>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-15 10:22:40 +02:00
Zebediah Figura
2babcd6c1c
widl: Use the type_type field to track whether the type is an alias.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-15 10:22:35 +02:00
Zebediah Figura
07c131f0f4
widl: Introduce type_array_{get,set}_ptr_tfsoff().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-15 10:22:24 +02:00
Zebediah Figura
c5ab9d01be
widl: Use type_iface_get_inherit() in check_async_uuid().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-15 10:22:19 +02:00
Zebediah Figura
b4fe4ccc96
widl: Introduce type_iface_get_async_iface().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-15 10:22:14 +02:00
Zebediah Figura
8b2a065892
widl: Move the "idx" parameter from struct func_details to var_t.
...
It's not a part of the type; e.g. it doesn't make sense on a function pointer.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-14 12:16:10 +02:00
Zebediah Figura
a55aa54c42
widl: Use type_function_get_args() in more places.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-14 12:16:03 +02:00
Richard Pospesel
ebac6a6ac4
widl: Use type_pointer_get_default_fc() in declare_var().
...
Signed-off-by: Richard Pospesel <richard@torproject.org>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-14 12:15:57 +02:00
Zebediah Figura
c4f5fb383b
widl: Get rid of fix_incomplete().
...
This seems to have been broken since 0f7f7922bab; is_incomplete() will only
return true for non-aliases. It could be fixed by reverting that hunk of
0f7f7922ba
, but we intend rather to change the representation of aliases so
that no "fixing" is needed.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-14 12:15:49 +02:00
Richard Pospesel
083032b5ef
widl: Use type_function_get_args() instead of type_get_function_args().
...
Signed-off-by: Richard Pospesel <richard@torproject.org>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-14 12:15:37 +02:00
Richard Pospesel
1f59423039
widl: Bump MIDL version to 5.2.202 to avoid RPC_X_WRONG_STUB_VERSION exception in ObjectStublessClient.
...
Signed-off-by: Richard Pospesel <richard@torproject.org>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-13 10:21:16 +02:00
Richard Pospesel
76512154f8
widl: Refactor to have pointer type's ref use decl_spec_t rather than type_t.
...
Signed-off-by: Richard Pospesel <richard@torproject.org>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-13 10:21:07 +02:00
Richard Pospesel
c7d68454af
widl: Refactor to have array type's element use decl_spec_t rather than type_t.
...
Signed-off-by: Richard Pospesel <richard@torproject.org>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-13 10:21:03 +02:00
Richard Pospesel
1ffb6494db
widl: Change struct _var_t's type member to a struct _decl_spec_t.
...
Signed-off-by: Richard Pospesel <richard@torproject.org>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-13 10:21:00 +02:00
Jacek Caban
90bed22eb7
winegcc: Use -nodefaultlibs -nostartfiles for builtin DLLs.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-07 00:12:25 +02:00
Jacek Caban
b64187c998
winegcc: Use imported crt DLL instead of msvcrt if specified.
...
Makes winecrt0 use specified crt DLL instead of msvcrt.dll.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-07 00:12:25 +02:00
Alexandre Julliard
2477aa7a10
makefiles: Default to an msvcrt build for static libraries.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-05 18:58:58 +02:00
Nikolay Sivov
cd7dd5e895
dwrite: Add recent script properties.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-05 18:45:10 +02:00
Jacek Caban
aae296bfd7
winegcc: Always mark executables as nx compat.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-31 09:44:28 +02:00
Zebediah Figura
12d5b6899b
mscorwks: New DLL.
...
Game Maker Studio 2 Desktop needs this to launch.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-31 09:33:12 +02:00
Jacek Caban
5e0b0d3521
server: Rename cpu_type_t to client_cpu_t.
...
To avoid conflicts with mac headers.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-05 17:43:53 +02:00
Alexandre Julliard
1f6808f494
kernelbase: Forward functions directly to ntdll where possible.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-02 16:28:17 +02:00
Alexandre Julliard
907896fba5
winebuild: Set the default entry point also for Windows builds.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47410
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-25 17:44:03 +02:00
Alexandre Julliard
f535bcb2e6
advapi32: Move more event log stubs to ntdll.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-24 14:52:08 +02:00
Alexandre Julliard
cf619dd419
winebuild: Add -import entry point flag to generate hotpatchable import thunks.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-21 22:51:55 +02:00
Richard Pospesel
28715ce34e
widl: Use FC_CHAR rather than FC_BYTE for boolean typedef to match midl.exe output.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47041
Signed-off-by: Richard Pospesel <richard@torproject.org>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-20 09:05:52 +02:00
Michael Stefaniuc
dd0e2616a7
winebuild: Use the now available ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-19 20:41:26 +02:00
Alexandre Julliard
483de1a8a2
kernelbase: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-18 23:51:51 +02:00
Alexandre Julliard
61680b4449
winecrt0: Provide our own setjmp/longjmp functions for exception handling.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-18 23:51:51 +02:00
Alexandre Julliard
6bce2b1365
makefiles: Support mixing Unix and msvcrt headers in a single module.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-18 23:51:51 +02:00
Alexandre Julliard
450f0fa696
winebuild: Don't import standard C functions in Unix mode.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-17 09:24:45 +02:00
Alexandre Julliard
5061261c5e
winebuild: Add a -munix option.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-17 09:24:25 +02:00
Zebediah Figura
fcb96cf845
widl: Remove the unused "indent" parameter from write_type_tfs().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-14 09:15:59 +02:00
Zebediah Figura
0afbcee924
widl: Mark unions, user types, and ranges as IsSimpleRef.
...
This fixes a regression introduced by 02976b655a
.
That patch should only have affected arrays.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-14 09:15:55 +02:00
Michael Stefaniuc
1c5b5ce2a5
winedump: Fix the spelling of a string.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-04 23:06:12 +02:00
Alexandre Julliard
ded2e82f16
winebuild: Don't even try to resolve imports for PE builds.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-04 19:23:11 +02:00
Alexandre Julliard
60df3b14b5
include: Make the Wine exception handlers cdecl.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-30 15:04:06 +02:00
Zebediah Figura
bb0e8059f0
widl: Non-top-level conformant arrays are always [ref] by default.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-29 11:45:37 +02:00
Zebediah Figura
8e7fefe3d8
widl: Write array pointers as FC_OP pointers if appropriate.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47285
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-29 11:45:37 +02:00
Zebediah Figura
55a0ec420f
widl: Remove an unused variable.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-29 11:45:37 +02:00
Zebediah Figura
3c4d0bf4e3
widl: Also allocate top-level pointers to arrays as on-stack in -Oicf mode.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47285
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-29 11:45:37 +02:00
Zebediah Figura
02976b655a
widl: Use IsSimpleRef only for explicitly declared arrays.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47285
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-29 11:45:37 +02:00
Alexandre Julliard
d014b62787
makefiles: Build fonts in quiet mode.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-27 21:51:00 +02:00
Andrey Gusev
48505cad05
ext-ms-win-shell-shell32-l1-2-0: Add dll.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-27 14:43:39 +02:00
Andrey Gusev
f40c21c3c3
ext-ms-win-shell-comdlg32-l1-1-0: Add dll.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-27 14:43:30 +02:00
Andrey Gusev
f1c60104a7
ext-ms-win-shell-comctl32-init-l1-1-0: Add dll.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46090
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-27 14:43:19 +02:00
Alexandre Julliard
0fc2f6384e
makefiles: Add install dependency for PE builtins.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-24 18:01:19 +02:00
Alexandre Julliard
c52b2f1284
make_unicode: Remove duplicate DECLSPEC_HIDDEN.
...
Spotted by Matteo Bruni.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-24 11:25:38 +02:00
Alexandre Julliard
ef07087f47
gdi32: Use the same BiDi direction table as usp10.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-22 19:16:05 +02:00
Alexandre Julliard
01ebf1ade4
dwrite: Use the same BiDi direction table as usp10.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-22 19:16:05 +02:00
Alexandre Julliard
333e6b3c69
make_unicode: Avoid including wine/unicode.h in generated files.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-22 19:16:05 +02:00
Alexandre Julliard
d68f8d7b35
make_unicode: Store the full BiDi direction type in the table.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-22 19:16:05 +02:00
Alexandre Julliard
2f6918cbe2
make_unicode: Generate a separate table for BiDi direction type in usp10.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-22 19:16:05 +02:00
Alexandre Julliard
bb6bd8a2f1
make_unicode: Use a two-level table for the kernel32 wctype table.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-22 19:16:05 +02:00
Alexandre Julliard
02a04ba05e
make_unicode: Store the C2_* values directly in the kernel32 wctype table.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-22 19:16:05 +02:00
Alexandre Julliard
f09dade9cb
make_unicode: Add a wctype table in kernel32 for GetStringTypeW().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-22 19:16:05 +02:00
Zebediah Figura
ead21a1bdd
widl: Fix proxy vtbl generation in -Oi mode.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-21 18:08:37 +02:00
Alexandre Julliard
ddadd9d84b
winedump: Print fake dll information also for NE files.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-20 10:15:17 +02:00
Alexandre Julliard
c4e0b9d092
makefiles: Support cross-compilation of 16-bit libraries.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-20 10:15:17 +02:00
Alexandre Julliard
d58953b300
winebuild: Add 16-bit support for PE builds.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-20 10:15:17 +02:00
Alexandre Julliard
1f6681f474
winebuild: Use cdecl calling convention for stub exceptions.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47226
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-20 10:15:17 +02:00
Alexandre Julliard
7b494f13e7
winebuild: Store wine_ldt_copy pointer in the NE header at load time.
...
Avoids having to import libwine from 16-bit modules.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-17 20:01:01 +02:00
Alexandre Julliard
075e561f5c
winebuild: Don't change %fs and %gs when calling 16-bit register functions.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-17 20:00:59 +02:00
Alexandre Julliard
945efdb6f3
makefiles: Use -fshort-wchar when building with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-16 22:55:54 +02:00
Alexandre Julliard
40a76a212b
makefiles: Don't depend on cross import library if not necessary.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-16 22:55:50 +02:00
Alexandre Julliard
6c41cc6152
winebuild: Support relay debugging for PE builtin dlls.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-16 22:55:50 +02:00
Alexandre Julliard
c959a18cad
makefiles: Remove the check for msvcr* imports.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-16 19:00:10 +02:00
Alexandre Julliard
0d175fe861
winegcc: Use -static-libgcc for the Windows build.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-16 19:00:10 +02:00
Alexandre Julliard
0a79eb3608
include: Use the __thiscall attribute directly for the Mingw build.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-16 19:00:10 +02:00
Alexandre Julliard
e755ea2374
winebuild: Support Windows-style name mangling for fastcall functions.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-16 14:07:15 +02:00
Enol Puente
af5f7a8785
wmc: Support Asturian.
...
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:19 +02: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
Jacek Caban
8bce6309ac
server: Pass IRP output size in irp_params_t.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-03 21:15:46 +02:00
Alexandre Julliard
c685acba64
makefiles: Only cross-compile the static libraries that are actually used.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-03 11:18:00 +02:00
Alexandre Julliard
bbc302290b
makefiles: Only cross-compile the import libraries that are actually used.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-03 11:07:23 +02:00
Alexandre Julliard
5d1febc909
makefiles: Use a separate LDFLAGS variable for cross-compilation.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-02 17:10:36 +02:00
Alexandre Julliard
92233bfaf5
makefiles: Support delay imports for PE builds.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-02 17:10:35 +02:00
Alexandre Julliard
21e1018ebd
makefiles: Don't use custom LDFLAGS to link dlls.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-01 19:44:26 +02:00
Alexandre Julliard
8039941c52
makefiles: Also pass -fPIC flag when linking.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-30 22:45:35 +02:00
Nikolay Sivov
13364151a4
tools: Update to Unicode 12.0.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-29 18:46:25 +02:00
Zebediah Figura
d97e544387
winegcc: Add support for -fno-PIC.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-29 18:46:25 +02:00
Alexandre Julliard
87f7818f4b
makefiles: Don't allow using system headers with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-26 13:38:36 +02:00
Alexandre Julliard
d4ef782db7
makefiles: Build all tests with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-24 12:10:51 +02:00
Alexandre Julliard
629f2e10b1
makefiles: Don't use -fno-builtin flag with MinGW.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-24 11:54:14 +02:00
Alexandre Julliard
1f0a9c4c29
makefiles: Build modules that use msvcrt as PE builtins.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-24 11:42:17 +02:00
Alexandre Julliard
a58f4abc08
makefiles: Allow using EXTRADLLFLAGS instead of APPMODE.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-24 11:27:39 +02:00
Alexandre Julliard
5ea4d5971b
widl: Use %define parse.error verbose instead of %error-verbose.
...
The latter is deprecated and causes warnings.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-23 23:50:45 +02:00
Alexandre Julliard
0189cf21ce
makefiles: Build modules that don't contain code as PE builtins.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-22 19:48:26 +02:00
Alexandre Julliard
209d2976f2
winedump: Also check for builtin dll signature.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-22 19:48:26 +02:00
Alexandre Julliard
11ee7a7051
winegcc: Add option to put a builtin dll signature in the DOS header of PE files.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-22 11:34:14 +02:00
Zebediah Figura
6c64d02117
widl: Correctly set the import library offset for all imported types.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47031
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-18 18:45:35 +02:00
Alexandre Julliard
0ffb153551
makefiles: Stop installing wine/unicode.h.
...
Third party code should be using exported C runtime APIs.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-12 15:31:13 +02:00
Alexandre Julliard
3c29cc446b
sfnt2fon: Avoid using wine/unicode.h on Windows.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-12 13:30:03 +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
cd37201517
wmc: Avoid using wine/unicode.h on Windows.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-12 12:18:17 +02:00
Martin Storsjo
f098cd6d3a
winebuild: Print the nm command in verbose mode.
...
Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-10 17:29:11 +02:00
Alexandre Julliard
1d6a410244
makefiles: Unify APPMODE and EXTRADLLFLAGS variables.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-09 15:46:03 +02:00
Alexandre Julliard
5edcae420a
makefiles: Store resource files in a separate array.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-09 15:46:03 +02:00
Alexandre Julliard
1459a0105d
makefiles: Default to building test modules as PE.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-09 15:45:59 +02:00
Alexandre Julliard
0022af881e
makefiles: Default to building test resource dlls as PE.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-09 15:45:50 +02:00
Alexandre Julliard
cc7c6a734b
makefiles: Add a helper to generate a winegcc command line.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-09 14:07:10 +02:00
Alexandre Julliard
870f99eced
configure: Check for supported warning flags also for the cross-compiler.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-05 22:16:31 +02:00
Alexandre Julliard
3e6a4c4a5c
makefiles: Don't link against wine_port when using msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-05 22:16:30 +02:00
Alexandre Julliard
45bf872a43
winegcc: Use Wine's msvcrt for Windows builds.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-05 22:16:30 +02:00
Alexandre Julliard
82c44208b4
winedump: Avoid using mmap().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-04 10:43:57 +02:00
Alexandre Julliard
015f31fd5d
winebuild: Avoid using mmap().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-04 10:43:57 +02:00
Alexandre Julliard
f689c723a2
makefiles: Don't use libwine for Windows builds.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-04 10:43:57 +02:00
Alexandre Julliard
a37c38191e
libport: Don't hide the casemap and wctype tables.
...
For libwine backwards compatibility.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-02 19:20:21 +02:00
Alexandre Julliard
1f7489d493
crtdll: Share source with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-29 21:13:43 +01:00
Alexandre Julliard
610d48ba77
msvcrtd: Share source with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-29 14:20:27 +01:00
Alexandre Julliard
84cd904334
libwine: Move collation table to libwine_port.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-24 10:34:46 +01:00
Alexandre Julliard
9de388258f
libwine: Move casemap tables to libwine_port.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-24 10:34:44 +01:00
Alexandre Julliard
a67dca1bc8
libwine: Move wctype tables to libwine_port.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-23 13:45:52 +01:00
Alexandre Julliard
7fc9e45dd8
make_unicode: Don't output array sizes that could be over-estimated.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-22 19:45:39 +01:00
Alexandre Julliard
d945c1ea0e
winedump: Also print the thunk address for ordinal imports.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-20 12:48:27 +01:00
Alexandre Julliard
32b365c9c5
winebuild: List stubs in the import library .def files.
...
This way we have the full list of names to compute ordinal hints.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-20 12:33:14 +01:00
Alexandre Julliard
074ec5844b
winebuild: Set the import hint based on the name index.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-20 11:49:38 +01:00
Alexandre Julliard
265366c1e7
winebuild: Use proper RVAs for the export table on Windows.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-19 10:05:24 +01:00
Francois Gouget
069ce3b776
widl: A spelling fix in a variable name.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-15 20:04:22 +01:00
Huw Davies
c45acfe9a1
winemaker: Fix --single-target option parsing.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-13 23:40:39 +01:00
Huw Davies
b2585d98b2
winebuild: Use the correct section label on macOS.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-13 10:59:13 +01:00
Alexandre Julliard
4c0ea277cb
winegcc: Use a .spec.o files when building for Windows.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 10:02:50 +01:00
Alexandre Julliard
e4b9a501a3
winebuild: Support generating a .spec.o file for Windows platforms.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 10:02:04 +01:00
Huw Davies
7cb188fdb1
winegcc: Restore the linker option specifier for strip.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 10:01:39 +01:00
Alexandre Julliard
44839493ae
winegcc: Also return Windows link flags in get_link_args().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-09 20:54:17 +01:00
Alexandre Julliard
9ce91cd56e
winegcc: Make get_lddllflags() more generic to return all link flags.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-09 20:53:25 +01:00
Alexandre Julliard
d228b3cfd5
winegcc: Get rid of the Mingw Unicode hack.
...
Mingw supports Unicode nowadays.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-09 20:53:17 +01:00
Alexandre Julliard
b9c5bac673
winebuild: Specify the correct linker emulation for Windows platforms.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-06 18:28:19 +01:00
Alexandre Julliard
4f266a88c0
winebuild: Don't use underscore prefix on 64-bit Windows.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-06 18:28:19 +01:00
Alexandre Julliard
7d41cde73f
winebuild: Add a helper for generating data directories.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-06 18:28:19 +01:00
Alexandre Julliard
7555fd57e3
winebuild: Add a helper for generating RVA pointers.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-06 18:28:19 +01:00
Alexandre Julliard
ef9bda4c96
winebuild: Add a helper for decorating stdcall function names.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-06 18:28:19 +01:00
Alexandre Julliard
a3229faf59
winebuild: Output the module filename along with the stub data.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-06 18:28:19 +01:00
Alexandre Julliard
0cdab409ad
winebuild: Rename BuildSpec32File() for consistency.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-06 18:28:17 +01:00
Alexandre Julliard
67f6c6c0c9
winebuild: Add a helper function to open a temporary file as output.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-04 14:49:02 +01:00
Alexandre Julliard
aa0572f0a2
winebuild: Open the output file only when needed.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-04 14:49:02 +01:00
Michael Stefaniuc
22e74da914
winedump: Remove useless casts to self.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-04 12:25:57 +01: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
9d0ba368da
winebuild: Make relay entry points hot-patchable.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-01 17:48:26 +01:00
Alexandre Julliard
26bbbb7b73
winebuild: Use stdcall for fastcall wrappers.
...
This allows catching mismatched argument lists.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-01 17:48:26 +01:00
Alexandre Julliard
84a7a7ea07
winebuild: Add support for fastcall entry points.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-27 23:01:29 +01:00
Alexandre Julliard
28debd82fc
winebuild: Make thiscall an entry point flag instead of a function type.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-27 23:00:56 +01:00
Piotr Caban
8b24bc95b9
winebuild: Recognize armv7a target.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-22 18:22:21 +01:00
Andrey Gusev
a1a9ca8f4a
ext-ms-win-ntuser-misc-l1-1-0: Add dll.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-20 15:54:42 +01:00
Andrey Gusev
fe852ef122
ext-ms-win-ntuser-message-l1-1-0: Add dll.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-20 15:54:34 +01:00
Andrey Gusev
0b4ecdebe5
ext-ms-win-ntuser-dialogbox-l1-1-0: Add dll.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-20 15:54:20 +01:00
Andrey Gusev
a21448a663
ext-ms-win-gdi-font-l1-1-1: Add dll.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-19 20:38:59 +01:00
Andrey Gusev
5de4a5bc2f
ext-ms-win-gdi-font-l1-1-0: Add dll.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-19 20:38:50 +01:00
Andrey Gusev
2764f8c12b
ext-ms-win-ntuser-gui-l1-1-0: Add dll.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-19 20:38:43 +01:00
Andrey Gusev
c62db16787
ext-ms-win-gdi-draw-l1-1-0: Add dll.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-19 20:38:06 +01:00
Alexandre Julliard
39698f5468
winebuild: Align resource data to dword boundaries even on 64-bit.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-18 22:55:34 +01:00
Andrey Gusev
8a46597dc4
ext-ms-win-gdi-dc-create-l1-1-0: Add dll.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-18 21:14:29 +01:00
Andrey Gusev
e527d25de1
ext-ms-win-ntuser-window-l1-1-0: Add dll.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-18 21:14:15 +01:00
Andrey Gusev
eb0b06b9cf
ext-ms-win-ntuser-windowclass-l1-1-0: Add dll.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-18 21:13:50 +01:00
Huw Davies
db3ae2ca9f
libport: Add support for singleton decomposition.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-11 11:52:00 +01:00
Huw Davies
eceb69e172
libport: Add support for compatibility decomposition.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-11 11:52:00 +01:00
Huw Davies
dc919db2bf
kernel32: Implement canonical reordering.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-11 11:52:00 +01:00
Huw Davies
e4a9e2ff2e
kernel32: Initial support for canonical decomposition in NormalizeString().
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-11 11:52:00 +01:00
Andrey Gusev
1d8a2ba4f7
d3dx11_42: Share source with d3dx11_43.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-04 15:29:22 +01:00
Jacek Caban
83b9438029
widl: Fix handling context handle return type in mixed mode.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-30 18:32:36 +01:00
Jacek Caban
759a3bf34d
widl: Check function return values for additional prototype types.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-29 17:12:13 +01:00
Jacek Caban
d2a8994d99
widl: Default to input param if [out] nor [in] attribut is specified in get_contexthandle_flags.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-24 16:26:02 +01:00
Jacek Caban
895d04623c
widl: Fix context handle as return value handling.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-24 16:26:00 +01:00
Jacek Caban
28389a06f7
widl: Use public HANDLE_PARAM_IS_* flags.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-23 16:35:14 +01:00
Jacek Caban
7841a75743
widl: Fix HANDLE_PARAM_IS_RETURN flag handling.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-23 16:35:07 +01:00
James Larrowe
f97636bc49
winebuild: Fix a segmentation fault.
...
When 'winebuild' is called with no arguments, the make_c_identifier
function is passed a null pointer, which is dereferenced and causes
a segmentation fault.
Signed-off-by: James Larrowe <larrowe.semaj11@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-14 17:25:49 +01:00
Alexandre Julliard
d209055e91
wmc: Support more languages.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-24 19:49:49 +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
Alexandre Julliard
00c57ad89a
makefiles: Add support for sharing resource files with parent dll.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-21 13:59:15 +01:00
Andre Heider
9bb21d1135
winegcc: Don't add the prefix's include dir using -isystem.
...
Always use -I, this fixes the include search path if the prefix is
set to '/usr'.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46293
Signed-off-by: Andre Heider <a.heider@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-17 10:39:09 +01:00
Alistair Leslie-Hughes
9b81989bca
ext-ms-win-ntuser-misc-l1-2-0: Add dll.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-06 08:57:58 +01:00
Andrew Eikum
590ccd0f5c
winegcc: Pass -static-libstdc++ to the linker.
...
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-03 22:27:04 +01:00
Alexandre Julliard
1fd60d5656
makefiles: Expand more variables into the generated makefiles.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-30 19:36:51 +01:00
Alexandre Julliard
cb078bd3bf
makefiles: Look in the extra targets for dependencies.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-30 19:36:51 +01:00
Alexandre Julliard
364f97c2e1
makefiles: Output rules for building generated .rc files.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-30 19:36:51 +01:00
Alexandre Julliard
123b92373d
configure: Don't create fonts and server symlinks in the WoW64 build tree.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-28 21:10:07 +01:00
Alexandre Julliard
d84de4ca00
makefiles: Support specifying installed files in the top-level makefile.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-27 14:48:04 +01:00
Nikolay Sivov
74042733b1
shell32: Forward some functions to shcore.dll.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-26 12:25:42 +01:00
Andre Heider
2dfff7e63c
winegcc: Fix cross linking on multiarch platforms.
...
If e.g. the 64bit libdir was set to /foo/lib/x86_64-linux-gnu/bar, winegcc
will now look for the 32bit libdir at /foo/lib/i386-linux-gnu/bar.
Signed-off-by: Andre Heider <a.heider@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-21 17:05:41 +01:00
Alexandre Julliard
424a379f64
server: Return a WSA error code in create_socket.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-20 16:26:04 +01:00
Józef Kucia
b7402ddbbe
widl: Guard RPC includes with #ifdef _WIN32.
...
This makes it easier to use header files generated by widl without
Windows headers.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-20 10:11:11 +01:00
Andre Heider
0e279d26b8
winegcc: Add -I for the prefix's include dir.
...
This allows external projects to e.g. "#include <wine/debug.h>" for
non-standard prefixes, like winehq's distro packages residing in /opt.
Signed-off-by: Andre Heider <a.heider@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-19 10:17:48 +01:00
Alexandre Julliard
d076ff3c12
Revert "makefiles: Only generate proxy code for the target architecture."
...
This reverts commit ee206a3760
.
It's the default widl behavior now.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-14 23:11:31 +01:00
Alexandre Julliard
f67301e9ec
widl: Always generate files for the target platform only.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-14 23:11:31 +01:00
André Hentschel
9b94d0fda0
winedump: Add IMAGE_DEBUG_TYPE_REPRO.
...
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-13 20:54:28 +01:00
Jacek Caban
a514aa7653
widl: Don't make proxy vtbl const in interpreted mode.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-12 10:21:52 +01:00
Jacek Caban
da6b0ca6e6
widl: Write async interface IIDs to _i.c file.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-12 10:21:52 +01:00
Jacek Caban
fb5d6c672f
widl: Add support for serialization functions.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-09 21:08:09 +01:00
Jacek Caban
dc03ca5e15
widl: Write serialize function declarations in header.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-09 21:08:09 +01:00
Jacek Caban
ed11765665
widl: Write type string for serialized types.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-09 21:08:09 +01:00
Jacek Caban
90748c581b
widl: Add basic acf parser implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-09 21:08:09 +01:00
Jacek Caban
d6b76df314
widl: Preprocess and attempt to parse provided ACF file.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-09 21:08:09 +01:00
Jacek Caban
1db0ad9798
widl: Add -acf command line option.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-09 21:08:09 +01:00
Jacek Caban
2ffd106b9b
widl: Make MIDL_DEFINE_GUID more compatible with midl.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-09 21:08:09 +01:00
Fabian Maurer
e4ffe65899
make_specfiles: Add kernelbase for api-ms-win-core-synch-*.
...
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-08 18:57:14 +01:00
Alexandre Julliard
39b24fa3fa
makefiles: Support file-specific IDL flags.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-08 18:54:35 +01:00
Jacek Caban
824d513585
widl: Generate async interface table.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-07 18:40:20 +01:00
Jacek Caban
89a1dade80
widl: Support async interfaces proxy.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-07 18:40:19 +01:00
Jacek Caban
3a8dbbb634
widl: Use for_each_iface in get_size_procformatstring.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-07 18:40:17 +01:00
Jacek Caban
212cffbf99
widl: Use for_each_iface in process_tfs.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-07 18:40:16 +01:00
Jacek Caban
53e54833f6
widl: Introduce for_each_iface helper and use it in write_procformatstring.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-07 18:40:15 +01:00
Jacek Caban
069d7b02b7
widl: Support async interfaces in headers generation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-07 18:40:13 +01:00
Jacek Caban
b467f2de9b
widl: Create type for async variant of an interface with async_uuid attribute.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-07 18:40:11 +01:00
Alexandre Julliard
a51611e816
winegcc: Forward the -mfpu option to winebuild.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-05 20:21:30 +01:00
Alexandre Julliard
0fd533836b
winebuild: Pass the -mfpu option to the compiler/assembler.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-05 20:20:25 +01:00
Andrey Gusev
03fd289bed
api-ms-win-ntuser-sysparams-l1-1-0: Add dll.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-05 19:12:12 +01:00
Andrey Gusev
2f886e2d04
api-ms-win-core-processthreads-l1-1-3: Add dll.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46086
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-05 19:12:12 +01:00
Andrey Gusev
deb35e901a
api-ms-win-core-winrt-string-l1-1-1: Add dll.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46085
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-05 19:12:12 +01:00
Jacek Caban
b78de971f6
widl: Check for actual function name when handling call_as attribute.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-02 17:39:34 +01:00
Zebediah Figura
66f46f8182
widl: Correctly handle conformant arrays in clear_output_vars().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-02 15:17:52 +01:00
Jacek Caban
511b50e7bf
widl: Ignore -robust command line option.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-01 21:50:57 +01:00
Jacek Caban
2761fc91d0
widl: Add __int32 type support.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-01 21:50:57 +01:00
Zebediah Figura
76a665a1c6
widl: Fix FC_ALLOCED_ON_STACK for interpreted stubs.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-01 12:04:41 +01:00
Zebediah Figura
481c408a02
widl: Only mark simple [out] pointers as on-stack if they are [ref] pointers.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-01 12:04:38 +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
Michael Stefaniuc
86ebd6dc0d
wmc: 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:00 +02:00
Michael Stefaniuc
e9d844f2ff
winedump: 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:56:41 +02:00
Alexandre Julliard
c34e245137
widl: Support generating multiple typelibs into the same resource file.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-16 13:48:36 +02:00
Zebediah Figura
b0c5a77e26
widl: Fix -Oicf marshalling of pointers to arrays.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-11 23:59:08 +02:00
Zebediah Figura
cfab3111c2
widl: Handle typedef'd arrays.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-10 17:44:05 +02:00
Zebediah Figura
65610a4c94
widl: Fix detection of SAFEARRAY pointers when writing array pointers.
...
This code was introduced in 7d1e3691
, but that commit did not account for
pointers to normal C arrays.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-10 17:44:02 +02:00
Zebediah Figura
6f97103733
widl: Correctly generate headers for nested arrays and pointers.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-09 12:24:56 +02:00
Zebediah Figura
f12cc887f8
widl: Properly handle nesting of pointers and arrays when parsing.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-09 12:24:24 +02:00
Zebediah Figura
8f463a575d
widl: The default pointer attribute for an array is always ref.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-09 12:23:35 +02:00
Zebediah Figura
8118a45a6a
widl: Remove dead code.
...
MIDL doesn't warn on this, and it's not a particularly salient mistake to make.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-09 12:19:27 +02:00
Zebediah Figura
a2d0038045
widl: Check for positive array dimension when parsing array.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-09 12:19:26 +02:00
Zebediah Figura
bd37ddfa96
widl: Allow all dimensions of an array to be sizeless.
...
MIDL achieves this by setting the size of the inner arrays to a constant
value. widl actually already handles this (but uses 0 instead of 1.)
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-09 12:19:22 +02:00
Zebediah Figura
ee206a3760
makefiles: Only generate proxy code for the target architecture.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-04 11:15:07 -05: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
André Hentschel
18461f64f6
api-ms-win-security-cryptoapi-l1-1-0: Add dll.
...
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-07 18:18:03 +02:00
André Hentschel
82f0bb3754
api-ms-win-core-stringloader-l1-1-1: Add dll.
...
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-07 18:17:53 +02:00
André Hentschel
be974da9f6
api-ms-win-core-comm-l1-1-0: Add dll.
...
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-07 18:17:43 +02:00
Jacek Caban
bc6c2eb907
widl: Allow defaultvalue() attribute on any pointer type.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-24 20:12:05 +02:00
Jacek Caban
68c43a5ad9
widl: Split write_value for string and int values.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-24 20:12:05 +02:00
Francois Gouget
4522fcf0b0
winedump: Spelling fix in a comment.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-23 20:01:56 +02:00