Commit Graph

112 Commits

Author SHA1 Message Date
Alexandre Julliard dbe7e12b54 widl: Use a string array for the filenames list.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-29 21:38:11 +02:00
Alexandre Julliard 9e3959bd9b tools: Add a few helper functions for file names and extensions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-29 21:38:11 +02:00
Alexandre Julliard 55701c6672 tools: Add a helper function to create temp files.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-29 21:38:11 +02:00
Alexandre Julliard b69ce3472d wpp: Move the preprocessor code into wrc.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-24 21:55:18 +02:00
Martin Storsjo 57433856b4 widl: Pick up the target arch from a prefix on argv[0].
If the executable is named <target>-widl, try to pick up the target
arch implicitly from there.

Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-17 17:42:15 +02:00
Martin Storsjo 4766a01818 widl: Allow switching between 32 and 64 bit ARM with the -m32/64 option.
Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-17 17:42:14 +02:00
Andrew Boyarshin 5423e0d9e6 widl: Fix handling of output_name in option parsing.
Do not overwrite explicitly stated paths, such as header_name or
proxy_name. Instead, use output_name when specified as a fallback.

Signed-off-by: Andrew Boyarshin <andrew.boyarshin@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-09 21:16:34 +01:00
Timothy Pearson fe723c2673 widl: Add PPC64 support.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-09 13:03:47 +01:00
Alexandre Julliard 107103e2bd wpp: Remove some dead code.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-03 20:18:38 +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 5f39d36a6c widl: Add --sysroot and --nostdinc options.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-02 13:55:16 +01: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
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
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
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
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 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
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 21740b5e15 widl: Added support for -ns_prefix option. 2015-08-05 23:42:45 +09:00
Jacek Caban fc761cb935 widl: Renamed --rt option to --winrt for midl compatibility. 2015-07-30 23:50:43 +02:00
Alexandre Julliard a2683dca64 widl: Ignore unknown -m target options. 2014-02-12 19:15:22 +01:00
Jacek Caban 0df819eecf widl: Make identifiers file more compatible with midl. 2014-01-09 12:28:43 +01:00
Alexandre Julliard 9e307f268e widl: Determine the output type from the file name if not specified explicitly. 2013-12-26 13:35:45 +01:00
Frédéric Delanoy 120dac41a1 widl: Constify a character string. 2013-12-20 10:51:17 +01:00
Jacek Caban 7e4462e28e widl: Generate names for imported nameless typedefs. 2013-08-29 19:56:18 +02:00
Kai Tietz 5ff7af708d widl: New option --rt for enabling rt's specific language extensions. 2013-08-19 11:30:30 +02:00
André Hentschel 478401dce7 widl: Remove SPARC and Alpha support. 2013-03-11 10:50:06 +01:00
André Hentschel 3ea316638d widl: Add ARM64 support. 2013-01-16 12:37:44 +01:00
Jacek Caban 4d323d176c widl: Ignore -app_config option. 2012-11-07 13:55:48 +01:00
Jacek Caban 218b1951db widl: Define PROXY_DELEGATION in dlldata.c when needed. 2012-11-01 15:42:33 +01:00
Jacek Caban 80d3055869 widl: Add IDL installation directory to include path. 2012-07-23 12:55:02 +02:00
Jacek Caban 42e77c849f widl: Added --help command line option. 2012-06-08 19:35:16 +02:00
Jacek Caban 718adc91fc widl: Make headers guards compatible with midl. 2012-03-08 19:22:45 +01:00
Jacek Caban af2eba24b7 widl: Removed unused idfile_token. 2012-03-08 18:56:13 +01:00
Alexandre Julliard 36ee028f49 widl: Don't generate old-style interpreted stubs on 64-bit. 2011-06-08 12:14:47 +02:00
Jacek Caban 674ab49fa2 widl: Don't duplicate optarg and optind declarations in sources. 2011-06-07 14:18:34 +02:00
Alexandre Julliard 6ae510050b widl: Add a -O option to specify stub style. 2011-06-02 16:22:42 +02:00
Alexandre Julliard c2406be6d4 widl: Add support for top-level conformances. 2011-05-26 21:58:59 +02:00
Alexandre Julliard ce3abe8c0c widl: Add support for generating a .rgs registration script for the defined interfaces. 2010-11-27 13:29:13 +01:00
Alexandre Julliard 233814c21e widl: Add a general -o option instead of having a different output name option for each file type. 2010-11-27 13:28:16 +01:00
Jacek Caban 06f3b94584 widl: Define _WIN32 by default. 2010-09-01 14:01:04 +02:00
André Hentschel 4bd8d384c4 widl: Add support for amd64-mingw32msvc platform. 2010-05-28 12:31:13 +02:00
Alexandre Julliard 4d55592540 widl: Move temp file management from wpp to widl. 2010-03-30 15:34:12 +02:00
Rob Shearman 39b3a57b3d widl: Fix symbol was not declared and using plain integer as NULL pointer sparse warnings. 2010-01-22 12:17:56 +01:00
Rob Shearman 6ed98b16a1 widl: Detect interfaces that inherit from another interface as objects. 2009-11-29 16:37:07 +01:00
André Hentschel 1d0365da95 widl: Add ARM support. 2009-09-28 13:31:32 +02:00
Huw Davies b524c55021 widl: Add separate --win32-align and --win64-align options. 2009-08-25 14:56:57 +02:00
Huw Davies bbb3a85c51 widl: Add a structure packing command line option. 2009-08-17 16:48:10 +02:00
Alexandre Julliard f914b57277 widl: Add support for standard target options to allow building the right typelib kind when cross-compiling. 2009-05-21 16:17:50 +02:00