Commit Graph

126 Commits

Author SHA1 Message Date
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
Alexandre Julliard b3a0833972 widl: Add support for writing 64-bit format typelibs. 2009-05-21 16:17:50 +02:00
Rob Shearman 0a8e3c39a1 widl: Include the version number in the __WIDL__ preprocessor definition. 2009-03-26 16:10:41 +01:00
Rob Shearman fb934347b4 widl: Use type_get_type to determine the types during statement enumeration. 2009-02-23 15:25:20 +01:00
Rob Shearman 6b955b514d widl: Generate header files from the parse tree instead of using hooks in the parser. 2008-12-29 14:54:34 +01:00
Rob Shearman bf5a9cb61e widl: Write the local stubs file based on the parsed list of statements, rather than using hooks in the parser code. 2008-12-29 14:47:03 +01:00
Rob Shearman 7d7dd182c1 widl: Write the generated file containing IID, DIID, CLSID and LIBID data based on the parsed list of statements instead of using hooks in the parser code. 2008-12-29 14:46:41 +01:00
Alexandre Julliard b1ab7d88b3 widl: Add --win32/--win64 options to select the type of code generated. 2008-12-26 17:21:12 +01:00
Alexandre Julliard 9ca1382eae widl: Store the size of a pointer in a variable instead of hardcoding the value of the host compiler. 2008-12-26 17:20:53 +01:00
Alexandre Julliard 36519069b3 widl: Don't define PROXY_DELEGATION unconditionally. 2008-12-01 14:45:43 +01:00
Alexandre Julliard cb7a0da5db widl: Fix the handling of proxy delegation.
Generate a BaseIIDList for delegated interface, and point directly to
the methods that have been defined in the same file instead of
delegating them.
2008-11-28 12:55:59 +01:00
Rob Shearman df0e38c067 widl: Create a list of statements in the whole IDL file, instead of just a list of interfaces. 2008-04-24 22:32:20 +02:00
Rob Shearman 59556de0c1 widl: Add support for generic binding handles. 2008-03-27 17:33:02 +01:00
Alexandre Julliard 1dca65607b widl: Avoid getopt constants that may not be defined. 2008-03-04 12:14:46 +01:00
Colin Finck 0fae921727 widl: Support Windows paths in dup_basename and make_token. 2008-02-08 11:00:55 +01:00
Alexandre Julliard b0585bf10f Make.rules: Added rules for building the dlldata.c file. 2007-12-10 14:26:13 +01:00
Dan Hipschman ea7ab4da66 widl: Add a --local-stubs option. 2007-10-31 12:39:54 +01:00
Dan Hipschman 4fb7a0e40e widl: Remove printf format strings that aren't really format strings. 2007-10-18 12:09:14 +02:00
Dan Hipschman 40e90aae25 widl: Generate dlldata files. 2007-10-18 12:09:02 +02:00
Dan Hipschman 67c634c203 widl: Improve file cleanup when errors occur. 2007-10-18 12:07:30 +02:00
Rob Shearman a2fedc3769 widl: Write prototypes for context handle rundown rountines into generated header files. 2007-09-28 10:59:32 +02:00
Dan Hipschman 9d2c6e78f2 widl: Output UUID files compatible with older Visual C++ and MinGW. 2007-09-11 11:49:23 +02:00
Dmitry Timoshkov c6747d57ed widl: Constify some data. 2007-08-30 11:48:42 +02:00
Alexandre Julliard 56c6dbee9b widl: Get rid of the SIGSEGV handler, this only makes things harder to debug. 2007-06-07 13:00:09 +02:00
Dan Hipschman e714c89d2f widl: Add --prefix-* options (take 3). 2007-04-26 15:47:37 +02:00
Alexandre Julliard 0edfacdb6a widl: Generate proxy/client/server files when requested explicitly even if they are empty. 2007-01-19 12:46:19 +01:00
Alexandre Julliard 86bb809e5b widl: Change the prefix on bison-generated names to avoid the name-prefix directive. 2006-09-12 09:05:07 +02:00
Alexandre Julliard aded30dad7 widl: Allow building without debug support in the parser. 2006-09-09 11:26:20 +02:00
Dan Hipschman 94755218ac widl: Remove usage of type_t ref field for base types; simplify code. 2006-08-25 11:32:05 +02:00
Dan Hipschman 4961379d74 widl: Replace strdup, malloc and realloc with xstrdup, xmalloc and xrealloc. 2006-08-05 11:25:26 +02:00
Dan Hipschman df91150e10 widl: Generate GUID (infile_i.c) files. 2006-08-04 13:25:37 +02:00
Alexandre Julliard 25dc6d912e widl: Clean output files when aborting on a signal. 2006-05-27 13:23:47 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Eric Kohl 2c7270e388 widl: Implement 'oldnames' option. 2006-05-05 16:37:42 +02:00
Alexandre Julliard 0f2a642d70 widl: Make sure the token variables are always initialized properly. 2006-02-02 13:22:47 +01:00
Alexandre Julliard 88991e2a4e Support building flex files without debug support. 2006-01-03 15:11:46 +01:00
Alexandre Julliard 5131ba6150 Set the widl version to be the same as the global package version. 2005-10-08 10:37:09 +00:00
Robert Shearman d026458860 - Output prototypes for user marshal functions at the end of the
header and by use.
- Add support for range and ptr attributes and for the "small" base
  type.
2005-09-12 20:13:40 +00:00
Alexandre Julliard 49b7fdcfc0 Removed the broken mmap64 configure check, and moved the
_FILE_OFFSET_BITS define to wine/port.h. Made sure that all files that
need the define include it.
2005-08-03 21:25:10 +00:00
Juan Lang c194b2e853 Always initialize header file name, to prevent "#include (null)"
statements in generated files.
2005-04-18 16:54:54 +00:00
Alexandre Julliard afcab24230 Removed the useless proxy.h header file.
Fixed a couple of warnings.
2005-02-23 21:03:15 +00:00
Eric Kohl 5bed4857d5 - Add basic support for creating client and server stub files.
- Support implicit_handle attribute in IDL files.
- Build mixed-mode stub files.
2005-02-23 20:31:07 +00:00
Huw Davies 0e53bb3f7b Fix typelib only option.
Make -t and -h options inclusive.
2005-01-26 19:40:47 +00:00
Huw Davies 9e15a42008 Bring the debug functions into line with the rest of Wine by not
appending a '\n'.
2005-01-05 17:30:37 +00:00
Vincent Béron 35a92e16c7 Generate only wanted files. 2004-12-27 17:13:25 +00:00
Jacek Caban 2161b36ac4 - Added creation of dispinterface header.
- Added creation of coclass header.
- Added messages when fopen fails.
2004-10-11 19:54:37 +00:00
Alexandre Julliard d062924f66 Removed no longer needed ICOM compatibility mode in widl. 2004-10-05 04:44:20 +00:00
Francois Gouget cfc3943c5f Make our ascii strings static const.
Remove a couple string variables that were used only once and use the
string literal directly.
2004-05-04 04:13:05 +00:00
Ove Kaaven 5d267d7372 Added rules to parse library, coclass, dispinterface, and module
definitions, and a number of attributes, and cleaned up a few things.
Started on a typelib generation framework.
2004-01-07 04:21:27 +00:00
Alexandre Julliard 0bde2bbe01 Use <> format in generated #include statements.
Integer constants should be unsigned.
2003-09-03 19:31:14 +00:00
Alexandre Julliard e1a9b10f51 Moved the wpp library from tools/ to libs/.
Create symlinks to the various libraries in the libs directory.
2003-05-01 03:16:21 +00:00
Alexandre Julliard 55379110c5 Get rid of the ICOM_CALL macros. 2003-04-10 21:13:58 +00:00
Alexandre Julliard 3d4dcc2a25 Make sure we display the correct file name and line in error messages. 2003-03-16 23:52:24 +00:00
Ove Kaaven be3c1141e3 Declare user-marshaller prototypes for types declared with [wire_marshal].
Define __WIDL__ preprocessor macro, so Wine-specific IDL can be enclosed
in #ifdef __WIDL__. Fixed a file output bug.
2003-01-09 01:05:54 +00:00
Ove Kaaven 998236b7cf Output raw ICOM-less C/C++ interface definitions by default. Added new
-b and -B command-line options for compatibility with ICOM macros.
2002-12-15 03:01:20 +00:00
Ove Kaaven e30a96776a Parse the NOT operator, the [idempotent] attribute, and the handle_t
and error_status_t types. Improved some parsing rules to get rid of
the LINK_LAST and LINK_SAFE macros. Enclose generated .h file within
an extern "C" (for C++). Output function prototypes for regular RPC
interfaces.  Fixed a couple of bugs.
2002-12-03 19:12:07 +00:00
Ove Kaaven 189397795d Added "generate headers only" command-line option. Implemented imports
from inside interface definitions. Fixed a few problems with
generating header files for COM interfaces.
2002-11-21 00:02:38 +00:00
Alexandre Julliard b1c3a89ade Moved rpc.h inclusion in widl-generated file so that tests compile. 2002-11-13 04:18:38 +00:00
Ove Kaaven 03c7d46806 Support for enums, arrays, encapsulated unions, signed/unsigned
qualifiers, UUIDs, include guards, the new ICOM_DEFINE1 macro, and
some other improvements.
2002-11-12 02:12:35 +00:00
Alexandre Julliard f08b186373 Try to derive temp file names from output file names for better
portability.
2002-08-27 22:29:26 +00:00
Dmitry Timoshkov c63d98038a Include protection for <unistd.h>, <sys/types.h> and <sys/stat.h>. 2002-08-17 18:28:43 +00:00
Alexandre Julliard 5f1565e7fd Explicitly specify the path to wpp.h so we don't need to change the
include path, to avoid conflicts with multiple y.tab.h files.
2002-07-20 19:00:52 +00:00
Alexandre Julliard 7d4ee77cab Merged the IDL compiler written by Ove Kaaven. 2002-07-16 03:20:45 +00:00