Rob Shearman
28ee1ee90f
widl: Add new type_get_type and type_get_real_type_type functions.
...
Use these to implement a few helper functions. Change the type
verification in type accessor functions to use these new functions.
2009-01-19 13:36:26 +01:00
Rob Shearman
77228b52e6
widl: Determine the type of an array entirely at code generation time instead of at parse time.
...
Previously, this was done partially (for fixed array types only).
2009-01-07 12:27:14 +01:00
Rob Shearman
67ac03ae4e
widl: Add a new function, type_pointer_get_ref.
...
Use it for retrieving the type that a pointer refers to.
2009-01-06 12:58:25 +01:00
Rob Shearman
64520ecdc7
widl: Move creation of module type into a separate function, type_new_module and give it a special FC type.
2009-01-06 12:57:15 +01:00
Rob Shearman
8b326c4ff8
widl: Move duptype and alias to parser.y.
...
Make duptype static and rename alias to type_new_alias.
2009-01-06 12:57:02 +01:00
Rob Shearman
cb8d3322be
widl: Add new type_is_alias and type_get_real_type helper functions.
...
Use type_is_alias to replace cumbersome "type->kind == TKIND_ALIAS" expressions.
Use type_get_real_type to simplify some code.
2009-01-06 12:56:51 +01:00
Rob Shearman
5223d04a7c
widl: Write the typelib based on the statement list generated in the typelib_t object instead of using hooks in the parser code.
2008-12-29 14:46:27 +01:00
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