Commit Graph

50 Commits

Author SHA1 Message Date
Steven Edwards
6bdfc2fa2c widl: Open files in binary mode to avoid corruption from text mode on Windows. 2008-09-10 10:40:18 +02:00
Dan Hipschman
6725c5d756 widl: Implement type redefinition checks.
This allows widl to catch type redefinitions and report an error, like MIDL.
However, this does a better job than MIDL since it also reports the location
of the originial definition, like GCC.
2008-07-02 11:40:50 +02:00
Francois Gouget
d2364d5d27 Add a comment warning when a table must be kept sorted for later use with bsearch(). 2008-05-06 16:11:09 +02:00
Rob Shearman
80be9df3a7 widl: Add typedefs to typelibs which have the public or uuid attributes, not any other attribute. 2008-04-28 13:28:16 +02: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
abdc08e013 widl: Make the attrs parameter passed to start_typelib const. 2008-04-14 13:39:02 +02:00
Rob Shearman
a5886607d0 widl: Guard the inclusion of unistd.h. 2008-02-15 11:06:25 +01:00
Rob Shearman
c233ba105e widl: Remove unused headers. 2008-02-15 11:06:21 +01:00
Dan Hipschman
2226ddcadf widl: Keep track of every allocated type_t to simplify set_all_tfswrite. 2007-10-09 17:52:45 +02:00
Dan Hipschman
24ce74e96a widl: Implement pointer_default functionality. 2007-10-09 17:52:45 +02:00
Dmitry Timoshkov
c6747d57ed widl: Constify some data. 2007-08-30 11:48:42 +02:00
Dan Hipschman
7d73123dbc widl: Handle the size_is attribute on pointers. 2007-08-30 11:47:38 +02:00
Dan Hipschman
d82b384859 widl: Handle LPSTR in typelibs. 2007-08-28 11:56:30 +02:00
Dan Hipschman
978b4d4f4e widl: Represent arrays with type_t. 2007-06-06 12:13:16 +02:00
Dan Hipschman
e7495555a0 widl: Remove redundant get_var_vt function. 2007-05-10 12:54:01 +02:00
Dan Hipschman
d676d3be5f widl: Get rid of the tname field of var_t, simplify code. 2007-05-01 12:37:18 +02:00
Rob Shearman
1c2a717b59 widl: Implement writing of SAFEARRAY type descriptions in typelibs. 2007-03-07 20:10:32 +01:00
Alexandre Julliard
e998590557 widl: Convert attribute lists to standard Wine lists. 2007-01-22 14:20:36 +01:00
Alexandre Julliard
5b0bf5dc76 widl: Convert typelib lists to standard Wine lists. 2007-01-22 14:10:30 +01:00
Dan Hipschman
3ad3f8de42 widl: Don't compare result of read() to unsigned type. 2006-09-14 11:39:37 +02:00
Dan Hipschman
6ff8ae327f widl: Add more complete pointer handling to write_typeformatstring_var. 2006-09-08 11:05:02 +02:00
Dan Hipschman
a407da4775 widl: Sanity check string and pointer attrs. Don't assign string as type. 2006-09-07 10:50:18 +02:00
Dan Hipschman
929a759895 widl: Add an is_ptr function. 2006-09-07 10:21:13 +02:00
Dan Hipschman
aadc90b266 widl: Factor the entry_t structure. 2006-09-07 10:20:56 +02:00
Dan Hipschman
c117a20cdb widl: Use type_t for typedefs, not var_t. Simplify representation. 2006-09-07 10:20:41 +02:00
Alexandre Julliard
883aef172d widl: xmalloc shouldn't initialize to zero, do that explicitly where needed. 2006-08-26 21:41:37 +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
c67b19b4f4 widl: Fold class_t into type_t. 2006-07-29 11:54:09 +02:00
Alexandre Julliard
59493b6c33 widl: Get rid of unnecessary inclusion of unicode.h. 2006-05-24 17:41:47 +02:00
Jonathan Ernst
360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Jacek Caban
dee8790c69 widl: Don't add importlib if it is already on the list. Remove warning. 2006-05-20 13:58:54 +02:00
Jacek Caban
6137e1b60a widl: Added importlib reading implementation. 2006-05-17 21:02:00 +02:00
Jacek Caban
8cd409facf widl: Added importlib parsing code. 2006-04-21 12:46:13 +02:00
Robert Shearman
7ca82cd6d2 widl: Ignore [object] attribute on interfaces written to a typelib. 2006-04-18 16:48:39 +02:00
Stefan Huehner
737978a833 Fix a -Wsign-compare warning. 2005-07-14 12:18:38 +00:00
Robert Shearman
33b09d457f Add more struct types for TLB generation. 2005-06-09 09:45:26 +00:00
Vincent Béron
5c837cac49 A RPC_FC_ENUM16 is a VT_USERDEFINED. 2005-02-14 11:05:41 +00:00
Huw Davies
13e36059a8 Add VARIANT_BOOL.
Fix CURRENCY alignment.
A function with a [retval] param has a bit set in the FKCCIC bitfield.
Two functions with the same name share the same id.
The param names of propput and propputref functions don't go into the
typelib.
2005-02-08 12:09:42 +00:00
Huw Davies
c2c87daf4a Coclass support. 2005-02-03 13:34:28 +00:00
Huw Davies
d33a553d63 Add support for typedefs. 2005-02-02 19:10:02 +00:00
Huw Davies
d488cb3e70 Structs with ptrs are also VT_USERDEFINED. 2005-01-28 13:59:08 +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
a43a250bd1 Add enum support.
Another attempt at getting the alignment bits correct.
2005-01-25 20:02:09 +00:00
Huw Davies
ba874a31d0 Add support for interface ptrs including the special cases for
IUnknown and IDispatch.
2005-01-14 16:50:16 +00:00
Huw Davies
e9ca9f1955 Better type encoding. (Interface ptrs still not there yet). 2005-01-12 19:28:59 +00:00
Huw Davies
346188b755 Initial support for typelib generation. 2005-01-06 20:45:21 +00:00
Huw Davies
86fead3c25 Store interfaces, structs, coclasses and modules that are to be
written into a typelib in a list.
2005-01-05 17:12:25 +00:00
Eric Pouech
294835a839 Another round of const correctness fixes. 2004-12-06 20:43:55 +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
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