Commit Graph

149 Commits

Author SHA1 Message Date
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
Huw Davies c1db191d9b Add interface inheritance. 2005-01-25 10:56:58 +00:00
Huw Davies 0a2f7e2054 Add referenced types that aren't already in the typelib. 2005-01-24 13:31:50 +00:00
Huw Davies 3387fc9077 Fix handling of void. 2005-01-24 12:41:06 +00:00
Huw Davies 2e6bd29a88 Add support for hidden and restricted function attributes.
Add support for odl interface attribute.
2005-01-24 11:27:56 +00:00
Huw Davies 8c51807ba5 Bit 0x0200 always appears to be set in the typeinfo's
typekind/alignment member.
2005-01-21 17:04:00 +00:00
Huw Davies 2573227675 [local] functions should not be written to the typelib. 2005-01-21 16:19:39 +00:00
Huw Davies 218281c42c Better guid hash. 2005-01-20 20:33:48 +00:00
Huw Davies 18b1fe8dee MIDL adds two sets of custom data to the library: one is a timestamp
and the second is MIDL's version number.
2005-01-20 19:56:57 +00:00
Huw Davies b1a0c6c3d7 Add propget and propput function attributes.
Clarify the meaning of the FKCCIC bit field.
2005-01-19 19:08:01 +00:00
Huw Davies 2717b812dd Pad small strings out to eight bytes.
Fix 'has default values' flag.
2005-01-19 16:58:21 +00:00
Huw Davies c7c55ff33a Add a missing break to fix typeinfo version regression. 2005-01-18 11:39:31 +00:00
Huw Davies 90351160c9 Add VT_VARIANT support.
Fix for the case when there is no helpstringdll.
Fix for parameter arrays.
2005-01-17 13:41:19 +00:00
Huw Davies 55ca7eaaff Add support for BSTR default values. 2005-01-14 17:20:43 +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 989960f77f Add help* attributes for typeinfos and functions. 2005-01-11 10:38:51 +00:00
Huw Davies 635221222f Add support for the help* attributes on type libraries. 2005-01-10 16:08:36 +00:00
Huw Davies a3026ca8f9 Add support for optional arguments and some suppport for the
defaultvalue attributes.
Better calculation of the typeinfo's res3 member (at least for
interfaces).
2005-01-10 14:22:24 +00:00
Huw Davies 862e922c93 Add support for hidden, restricted and version attributes on
typeinfos.
2005-01-10 13:21:54 +00:00
Huw Davies 634693c114 Add attributes control, hidden and restricted.
Correctly set the libflags for these attributes.
2005-01-09 17:59:44 +00:00
Huw Davies 346188b755 Initial support for typelib generation. 2005-01-06 20:45:21 +00:00