Sergei Bolotov
646dfe746d
widl: Handle "midl_pragma warning" statement in parser.
...
Signed-off-by: Sergei Bolotov <bolotov.s.s@yandex.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-12 12:27:17 +09:00
Jacek Caban
867b0f8278
widl: Use proper macro name for forward declarations of interfaces inside a namespace.
2015-07-31 14:38:58 +02:00
Jacek Caban
ddc493a805
widl: Keep track of namespace in parser and beginning namespace lookup implementation.
2015-07-31 14:38:34 +02:00
Dmitry Timoshkov
e809f0bd8c
widl: Move is_ptr() and is_array() to header.h and make them inline.
2014-03-19 11:36:12 +01:00
Alexandre Julliard
cc02e15220
widl: Add support for #pragma directives.
2013-11-04 17:41:11 +01:00
Kai Tietz
f05853b28a
widl: Add async_uuid attribute base support in parser.
2013-08-19 12:53:19 +02:00
Alexandre Julliard
977e15b762
widl: Store the type format offset for function parameters in the variable object.
2011-09-19 12:56:25 +02:00
Alexandre Julliard
c31948a775
widl: Make the function return value a variable.
2011-09-17 16:09:47 +02:00
Alexandre Julliard
b568287eef
widl: Add support for generating typelibs directly in resource format.
2011-08-01 21:38:56 +02:00
Alexandre Julliard
c173399d62
widl: Move the pointer check functionality to typegen.c.
2011-06-14 12:55:39 +02:00
Alexandre Julliard
fa2b886d1d
widl: Also check array pointers for null ref pointers.
2011-06-14 12:55:22 +02:00
Alexandre Julliard
e620869d5f
widl: Output the list of rundown routines in server files.
2011-06-13 20:31:42 +02:00
Alexandre Julliard
9128dea410
widl: Use the pointer offset for arrays declared as pointer in the proc format strings of interpreted functions.
2011-06-02 16:22:43 +02:00
Alexandre Julliard
93dd252116
widl: Output a list of binding routines in client files.
2011-05-27 12:07:29 +02:00
Alexandre Julliard
3991b05746
widl: Add progid, threading and vi_progid attributes for coclasses.
...
This is a Wine extension, modelled after the corresponding attributes
supported by Visual C++.
2010-12-02 13:14:50 +01:00
Alexandre Julliard
9551524308
widl: Output a format string table and server info structure for stubs.
2010-10-22 20:23:56 +02:00
Alexandre Julliard
537773fbf4
widl: Add some more attribute keywords.
2010-10-21 21:23:36 +02:00
Alexandre Julliard
a83563aa40
widl: Long constants must be 32-bit on all platforms.
2010-03-26 11:42:28 +01:00
Rob Shearman
979bdf28b6
widl: Remove func_t type.
...
It was just a simple indirection to get to a var_t, so just replace
all uses of it with the latter.
2010-03-23 17:28:22 +01:00
Rob Shearman
5d985a8028
widl: Remove some unused functions, definitions and types.
2010-03-16 11:32:53 +01:00
Rob Shearman
d9b83e8bb2
widl: Add support for character constants in expressions.
2010-01-19 12:43:31 +01:00
Rob Shearman
cdec0fe485
widl: Add support for bit-fields in non-remote structures.
2009-11-09 20:42:00 +01:00
Rob Shearman
4339f9edfb
widl: Implement __int3264 keyword.
2009-11-09 20:36:19 +01:00
Huw Davies
ab32b3df4d
widl: Add support for parsing the annotation attribute.
2009-10-26 14:05:29 +01:00
Huw Davies
81b2c9eb85
widl: Add support for the lcid parameter attribute.
2009-06-08 15:39:14 +02:00
Alexandre Julliard
b3a0833972
widl: Add support for writing 64-bit format typelibs.
2009-05-21 16:17:50 +02:00
Rob Shearman
23673ca373
widl: Determine pointer fc at generation time instead of at parse time.
...
Avoid changing the details of a pointer once created.
Properly determine the pointer type for arrays.
2009-03-09 12:09:39 +01:00
Rob Shearman
13c3967522
widl: Move type_new_enum, type_new_struct, type_new_encapsulated_union and type_new_unencapsulated_union to typetree.c.
2009-03-05 18:39:02 +01:00
Rob Shearman
4866026d7f
widl: Move the pointer referent, array element, function return type and interface inheritance properties from type_t to details structures for the appropriate types.
2009-03-05 18:39:02 +01:00
Rob Shearman
277e0617d5
widl: Store the abstract identifier of the type in type object instead of an NDR format character.
2009-03-05 18:39:02 +01:00
Rob Shearman
319a7a102e
widl: Implement a more abstract way of representing basic types.
2009-03-05 18:38:45 +01:00
Rob Shearman
7e08ff27c2
widl: Move declarray property to array_details.
...
Invert the property since an array being declared as a pointer is more
surprising than an array being declared as an array.
Provide an accessor, type_array_is_decl_as_ptr.
2009-03-05 16:34:00 +01:00
Alexandre Julliard
ef6971da40
widl: Replace unsigned long and size_t by unsigned int where appropriate.
2009-02-06 14:54:03 +01:00
Austin English
e5418e194a
widl: Fix a compiler warning.
2009-01-20 12:30:50 +01:00
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
8a976a7d78
widl: Replace uses of get_func_return_type with type_function_get_rettype.
...
Also replace direct accesses into the type structure to get the return
type of a function with the same function.
2009-01-06 14:36:25 +01:00
Rob Shearman
8a42bc1f7b
widl: Move the ifaces field of the type_t structure to coclass details.
2009-01-06 12:58:01 +01:00
Rob Shearman
1f519e17cc
widl: Don't store typelib kind information in the type structure.
...
It can trivially be derived from the type field now.
2009-01-06 12:57:31 +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
200ec53835
widl: Access array type properties through accessors instead of getting them directly.
...
Store array type properties in the details union to save a bit of
memory and to make the general properties more obvious.
2009-01-06 12:56:33 +01:00
Rob Shearman
901a42b7f9
widl: Move funcs and stmts fields from type_t structure to module_details and function_details.
2009-01-06 12:56:15 +01:00
Rob Shearman
6b955b514d
widl: Generate header files from the parse tree instead of using hooks in the parser.
2008-12-29 14:54:34 +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
Rob Shearman
213f32744f
widl: Store the type-specific information in a union in the type_t structure.
...
Use pointers for the information for structures, enumerations,
functions and interfaces so that we can determine whether or not the
type has been defined yet and to enable more information to be stored.
2008-12-29 14:45:16 +01:00
Rob Shearman
04a22cc412
widl: Hide the details of where arguments, fields, values and cases are stored in the type_t structure for functions, structures, enums and unions.
2008-12-29 14:42:47 +01:00
Alexandre Julliard
53626dbd93
widl: Add support for generating 32-bit and/or 64-bit code for proxies/clients/servers.
2008-12-26 17:22:25 +01: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
Rob Shearman
e71219e66e
widl: Add the parsing of storage classes into declaration-specifiers.
...
Support the static and register keywords.
This consolidates externdef and constdef rules into one declaration rule.
2008-04-30 16:59:47 +02:00
Rob Shearman
d64e4c26ee
widl: Prepare for supporting storage classes in declaration statements.
...
Return a decl_spec_t structure from decl_spec rules so that the storage
class and type qualifiers can both be returned.
2008-04-30 16:59:30 +02:00