Commit Graph

5216 Commits (oldstable)

Author SHA1 Message Date
Rémi Bernon a46bdec8eb 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>
(cherry picked from commit 1491453ea9)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2020-03-29 16:15:34 +02:00
Kevin Puetz 6cc918ac62 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>
(cherry picked from commit d5e175e32b)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2020-03-29 16:15:34 +02:00
Richard Pospesel c1f2e4ae76 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>
(cherry picked from commit 28715ce34e)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2020-01-19 19:25:41 +01:00
Enol Puente 62edbf6624 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>
(cherry picked from commit af5f7a8785)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2019-11-14 23:44:58 +01:00
Enol Puente 113f49c38e 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>
(cherry picked from commit ec3181633b)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2019-11-14 23:44:58 +01:00
Alexandre Julliard 87e7425820 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>
(cherry picked from commit 5ea4d5971b)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2019-11-14 23:44:57 +01:00
Zebediah Figura f46d69c9bb 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>
(cherry picked from commit 0afbcee924)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2019-11-14 23:44:56 +01:00
Zebediah Figura dff0bc91cd 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>
(cherry picked from commit 3c4d0bf4e3)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2019-11-14 23:44:56 +01:00
Zebediah Figura 22b6b13efb 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>
(cherry picked from commit 02976b655a)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2019-11-14 23:44:56 +01:00
Zebediah Figura 20a434478a 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>
(cherry picked from commit 6c64d02117)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2019-08-14 22:34:25 +02:00
Michael Stefaniuc 635d2417a9 tools: Get the ANNOUNCE bug list from the stable-notes git notes.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2019-04-27 22:40:40 +02: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