Commit Graph

71 Commits

Author SHA1 Message Date
Andrew Talbot d3972880c0 widl: Fix memory leaks. 2007-01-04 21:14:14 +01:00
Francois Gouget 58162f87fd Assorted spelling fixes. 2006-10-13 11:55:04 +02:00
Dan Hipschman bd7e690c1f widl: Remove unused parameter in create_msft_typeinfo. 2006-09-14 11:39:37 +02:00
Dan Hipschman 48006f60a7 widl: Remove unused parameter in ctl2_encode_name. 2006-09-14 11:39:37 +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 4961379d74 widl: Replace strdup, malloc and realloc with xstrdup, xmalloc and xrealloc. 2006-08-05 11:25:26 +02:00
Dan Hipschman 678ce9875f widl: Encode coclass types in typelibs. 2006-07-29 11:55:20 +02:00
Dan Hipschman c650cceae3 widl: Check if a typeinfo is already in a typelib before adding it. 2006-07-29 11:54:44 +02:00
Dan Hipschman 90cdff9b3f widl: Set typelib_idx for coclasses when they're added to a typelib. 2006-07-29 11:54:21 +02:00
Dan Hipschman c67b19b4f4 widl: Fold class_t into type_t. 2006-07-29 11:54:09 +02:00
Jacek Caban 37cf4a5260 widl: Reorder segments to match midl. 2006-07-28 12:34:27 +02:00
Jacek Caban c9a08007eb widl: Use cval in ATTR_ID. 2006-07-28 12:34:20 +02:00
Jacek Caban b86bc2b634 widl: Added ATTR_BINDABLE handling to add_func_desc. 2006-07-28 12:34:14 +02:00
Jacek Caban 4d76264f3e widl: Store typekind in msft_typeinfo_t to fix ATTR_DUAL handling. 2006-07-28 12:34:08 +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 a7fa3a985b widl: Added support for importing parent interfaces from importlib. 2006-05-20 13:58:44 +02:00
Jacek Caban dce3f2be05 widl: Added RPC_FC_ENUM16 encoding. 2006-05-15 11:49:28 +02:00
Jacek Caban 4812abc247 widl: res50 is number of impinfos. Fix its usage. 2006-05-15 11:49:15 +02:00
Robert Shearman 555cf38269 widl: Prevent NULL pointer de-refs on "void *" types. 2006-04-20 15:16:59 +02:00
Robert Shearman 7ca82cd6d2 widl: Ignore [object] attribute on interfaces written to a typelib. 2006-04-18 16:48:39 +02:00
Mike McCormack 1d453ab551 widl: Add support for VT_I8 and VT_UI8 to msft typelibs. 2006-04-14 10:49:14 +02:00
Robert Shearman 4cd506b8fd widl: The lval member of var_t is essentially a duplicate of eval->cval.
- Generate eval's for enums that don't explicitly have one. This means
that enums written in header files won't match exactly what has been put
into the IDL file, but the numeric constat is the same and MIDL does a
similar thing.
- Replace constant lookups with eval->cval instead of lval.
2006-03-31 17:35:04 +02:00
Robert Shearman 59dd416fd2 widl: Fix a typo when removing TYPEFLAG_FDUAL. 2006-02-10 14:51:39 +01:00
Robert Shearman 91c35be7cc widl: Write out more TYPEFLAGs and add more type library-specific
attributes to the parser.
2006-02-09 12:10:08 +01:00
Robert Shearman 649d5d0e8e widl: Write out TYPEFLAG_FDUAL, TYPEFLAG_FDISPATCHABLE and
TYPEFLAG_FOLEAUTOMATION typelib flags.
2006-02-09 12:09:44 +01:00
Robert Shearman 59830d69b4 widl: Fix some warnings caused by making attributes const. 2006-02-07 16:25:10 +01:00
Robert Shearman e9ec85a01a widl: Remove unused 'rname' field of type_t. 2006-02-07 12:32:42 +01:00
Robert Shearman 2330d73f4a widl: Implement the writing of defaultvalue constants for enum values. 2006-01-31 18:04:20 +01:00
Robert Shearman 7f2419ceed widl: Add some const attributes. 2005-12-26 13:11:33 +01:00
Francois Gouget 6d442aeb34 Assorted spelling fixes. 2005-11-23 20:14:43 +01:00
Stefan Huehner f4285e68fe Fix some -Wsign-compare warnings. 2005-07-13 11:29:10 +00:00
Huw Davies a2051075fe Update the import table code to eliminate a few magic constants. 2005-06-29 19:18:41 +00:00
Robert Shearman 33b09d457f Add more struct types for TLB generation. 2005-06-09 09:45:26 +00:00
Jon Griffiths eb5bf7dd38 Documentation spelling fixes. 2005-02-25 14:07:56 +00:00
Huw Davies 1cba04d7d6 Add support for modules. 2005-02-08 16:51:35 +00:00
Huw Davies a82b1bcfe5 Check if we've already added the ptr to iface typedesc before adding a
new one.
2005-02-08 14:27:52 +00:00
Vincent Béron df5051e925 Support some more attributes for interface properties. 2005-02-08 13:43:34 +00:00
Vincent Béron f6ff452f17 Support ATTR_READONLY for interface properties. 2005-02-08 12:56:22 +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 49eb0b70e5 Add support for dispinterfaces (slightly hacked because we force the
import of stdole2.tlb).
Add propputref attribute.
2005-02-01 18:48:25 +00:00
Huw Davies 13b7c5ac12 Dynamically allocate the type data storage.
Split the function and variable type data into two - this will be
needed for dispinterfaces.
2005-01-31 16:24:23 +00:00
Vincent Béron 653c05971c Check that there are some methods to iterate through before iterating
through them.
2005-01-31 11:30:26 +00:00
Huw Davies 652ec646ad When adding an interface, midl adds the inherited interface first
unless the inherited interface doesn't itself inherit.
Fix the id, sizevft and datatype2 fields for interfaces that inherit.
Prevent a crash if the typelib is empty.
Clarify a few more entries on typelib_struct.h
2005-01-26 20:40:34 +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 b9bfc8e909 Add encoding for VT_R8.
Bug fix: Initialise child_size.
2005-01-25 19:02:32 +00:00