Commit Graph

64 Commits

Author SHA1 Message Date
Eric Kohl 919d14c577 widl: 'unsigned char' and 'byte' are must be distinct types. 2006-03-18 18:06:14 +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
Alexandre Julliard 91da64c9ca widl: Remove '\n' from yyerror calls. 2006-02-07 12:36:20 +01:00
Robert Shearman 4e40675032 widl: Make 'attrs' field of type_t const. 2006-02-07 12:32:57 +01:00
Robert Shearman e9ec85a01a widl: Remove unused 'rname' field of type_t. 2006-02-07 12:32:42 +01:00
Robert Shearman 9f0c45b7e7 widl: Fix pointer detection for structures with embedded arrays.
Pointers have priority over every other type, so move the detection to
the top of get_struct_type.
Fall through from the embedded array detection to the embedded
structure handling code so that conformance, variance and pointer
presence is inherited from the array's base type.
2006-02-07 12:29:39 +01:00
Robert Shearman 513996fde4 widl: Do constant folding for the sizeof operator on simple types. 2006-01-31 18:06:25 +01:00
Robert Shearman 2eedb11f22 widl: Fix detection of varying arrays.
Correctly identify structures containing varying arrays as conformant
varying structures.
2006-01-24 11:14:38 +01:00
Robert Shearman b4fb36c363 widl: Fix detection of conformant varying structs.
Rename has_conformant_array to has_conformance, add a new variable
has_variance and map has_conformant_string to has_conformance and
has_variance.
A conformant varying struct should be returned if just variance is
present and even if no pointers are present.
2006-01-24 11:14:15 +01:00
Robert Shearman e9c771f98b widl: Error if an array is in the middle of a structure.
Fix detection of conformant arrays and output an error if the array
isn't at the end of the structure.
2006-01-24 11:12:20 +01:00
Robert Shearman 362d42e082 widl: Fix the detection of conformant and pointer structs. 2006-01-24 11:11:56 +01:00
Robert Shearman 7f2419ceed widl: Add some const attributes. 2005-12-26 13:11:33 +01:00
Robert Shearman e59dcf53fc widl: Use the same precendence rule for the conditional operator as in wpp.
Fixes several shift/reduce warnings.
2005-12-26 13:07:08 +01:00
Jacek Caban a3b35129ce widl: Added bindable and displaybind attributes handling. 2005-12-16 12:40:17 +01:00
Robert Shearman f4356a64e3 widl: Don't treat FC_SMALL as FC_SHORT.
FC_SMALL is its own type and is the same size as FC_CHAR, not
FC_SHORT.
2005-12-12 12:11:11 +01:00
Robert Shearman b86efe5d11 widl: Formatting cleanups. 2005-12-08 13:48:46 +01: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
Stefan Huehner b8585b8d0c Change some char* to const char* to fix warnigns. 2005-07-21 11:59:11 +00:00
Alexandre Julliard 9c04ad7439 Workaround to allow using the async keyword as method name. 2005-05-26 12:22:28 +00:00
Vincent Béron 2eaf7b2e8a Add support for single in idl files. 2005-03-28 10:01:13 +00:00
Jacek Caban 10a605b072 Added handling of unsigned type. 2005-03-24 15:07:57 +00:00
Jacek Caban e6150fe206 Write uuid of library in header. 2005-03-05 10:49:22 +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 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 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 6126fc75c9 unsigned char support. 2005-01-25 16:41:12 +00:00
Huw Davies 21842318e9 Don't set ATTR_IN or ATTR_OUT by default - this essentially reverts
rev. 1.21.  The proxy code must explicitly add these if they're
needed.
2005-01-20 20:34:08 +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 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
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
Huw Davies 5c1231d2df Add the precedence of the conditional operator. 2005-01-04 20:34:05 +00:00
Jacek Caban 54cba79d64 Added optional, defaultvalue and vararg. 2005-01-03 14:26:17 +00:00
Jacek Caban 90ce00abeb Fixed defining DIIDs. 2004-12-27 17:04:00 +00:00
Jacek Caban 5c98265050 Added writing forward declaration of dispinterface. 2004-10-18 19:35:08 +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 68604dbae7 Allow defined types to be used as function names. 2004-10-06 18:54:20 +00:00
Alexandre Julliard 4806630104 Added support for the propget/propput function attributes. 2004-10-05 02:14:54 +00:00
Filip Navara 75e02e9335 - Force default [in] attribute on all parameters where explicit [in]
or [out] attributes aren't specified.
- Force default [out] attribute on return values.
2004-09-28 02:12:36 +00:00
Mike McCormack 0e5d9b56cb Improve the handling of complex data types (strings and structs). 2004-09-20 19:11:16 +00:00
Mike McCormack 1a77ea567c Determine RPC struct types more exactly. 2004-09-14 19:28:12 +00:00
Mike McCormack 2d8d1e2f74 Improve proxy code generated for oaidl.idl. 2004-09-13 18:05:47 +00:00
Filip Navara 977d863c0e Make widl parse the 'transmit_as' and 'endpoint' keywords. 2004-04-26 23:29:59 +00:00
Filip Navara 19fd305a7e Make widl compile without most of Windows/Wine headers, so it can be
reused by other projects.
2004-04-22 03:40:01 +00:00
Robert Shearman 7f0abaffe5 - Handle "? :" conditionals.
- Allow [handle] attribute for types.
2004-04-19 23:08:22 +00:00