Commit Graph

527 Commits

Author SHA1 Message Date
Dan Hipschman fcebe48cad widl: Check for interface pointers in pointer handling. 2007-06-26 11:58:22 +02:00
Dan Hipschman bf5e46a60a widl: Fix warnings about unused function parameters. 2007-06-21 13:11:03 +02:00
Dan Hipschman 4e8c8d03e5 widl: Add tests for arrays of pointers. 2007-06-21 13:10:46 +02:00
Rob Shearman 4050c5f035 widl: Always write out pointers if the structure is a pointer structure. Pointer are optional for conformant varying structures. 2007-06-20 13:08:26 +02:00
Rob Shearman 4292776b83 widl: Write out embedded pointers for the element type when writing out arrays. 2007-06-20 13:08:22 +02:00
Rob Shearman be4cdefbf3 widl: Fix detection of structures with non-conformant strings. 2007-06-20 13:07:16 +02:00
Rob Shearman 6ad13f3ed1 widl: Implement pointer descriptions for all embedded pointer types. 2007-06-20 13:07:07 +02:00
Dan Hipschman 58dea5c9a8 widl: Fix a write_parameters_init bug. 2007-06-15 12:02:58 +02:00
Dan Hipschman e36981e116 widl: Factor the output functions. 2007-06-15 12:02:18 +02:00
Dan Hipschman e4679b0c13 widl: Handle encapsulated unions. 2007-06-15 11:57:53 +02:00
Dan Hipschman 8709a06028 widl: Handle embedded interface pointers. 2007-06-15 11:56:17 +02:00
Alexandre Julliard 9821acf5d2 widl: Add typecasts for user marshalling routines to avoid compiler warnings. 2007-06-14 12:10:45 +02:00
Dan Hipschman 3325020636 widl: Handle wire_marshal pointer attributes. 2007-06-14 11:36:05 +02:00
Dan Hipschman c0982b42c5 widl: Handle wire_marshal types. 2007-06-14 11:35:44 +02:00
Dan Hipschman 88c8128704 widl: Simplify correlation descriptor code. 2007-06-12 11:13:30 +02:00
Dan Hipschman 4e22899e13 widl: Fix incomplete struct/union typedef bug. 2007-06-08 11:57:15 +02:00
Dan Hipschman b186c4dd0e widl: Check for NULL in set_tfswrite. 2007-06-08 11:57:05 +02:00
Alexandre Julliard 56c6dbee9b widl: Get rid of the SIGSEGV handler, this only makes things harder to debug. 2007-06-07 13:00:09 +02:00
Misha Koshelev 21fcb00af8 widl: Add support for vararg attribute. 2007-06-07 13:00:09 +02:00
Dan Hipschman 8f689ee023 widl: Implement conformant structure handling. 2007-06-06 12:13:35 +02:00
Dan Hipschman 978b4d4f4e widl: Represent arrays with type_t. 2007-06-06 12:13:16 +02:00
Dan Hipschman f5baddf88a widl: Replace get_name with a field reference. 2007-06-06 12:12:36 +02:00
Rob Shearman 5ca386755e widl: Set current_structure when writing out structure members to
ensure the conformance/variance calculation function can find the
necessary fields in the structures.
2007-05-31 12:25:18 +02:00
Rob Shearman 36fd85f4cc widl: RPC_FC_BIND_PRIMITIVE is a base type so reverse an if statement
that caused string_of_type to fail and the RPC_FC_BIND_PRIMITIVE code
not to be executed.
2007-05-31 12:25:09 +02:00
Rob Shearman f198dcf09b widl: A structure with variance, but without conformance should be a complex struct instead of a conformant, varying struct. 2007-05-31 12:25:03 +02:00
Dan Hipschman 8f7a5d63ec widl: Allow types that reference themselves. 2007-05-25 19:36:12 +02:00
Dan Hipschman 9c30da77ba widl: Shrink type_t structure. 2007-05-25 19:35:49 +02:00
Dan Hipschman 00ce411231 widl: Handle pointers in unions.
Unify write_pointers with write_embedded_types, and handle pointers in
unions.  Includes tests.
2007-05-25 19:35:29 +02:00
Dmitry Timoshkov 4d0d9fcb69 widl: Fix compilation warnings in 64-bit mode. 2007-05-23 13:05:04 +02:00
Dmitry Timoshkov ccac7d1f11 widl: Fix compilation warnings in 64-bit mode. 2007-05-21 15:55:33 +02:00
Dan Hipschman c5aaadc4c8 widl: Lay framework for unions with simple unions working. 2007-05-21 12:40:58 +02:00
Dan Hipschman 18724eaeb8 widl: Replace erroneously removed current_func assignment.
This accidentally came out and should not have.  Thanks to Eric Kohl
for pointing this out to me.
2007-05-21 12:39:23 +02:00
Dan Hipschman 52ca3ebada widl: Write some structures to the type format string on the fly. 2007-05-16 13:33:17 +02:00
Dan Hipschman 217fc9c0f3 widl: Improve handling of offsets in the type format string. 2007-05-16 13:33:17 +02:00
Dan Hipschman d9c120490f widl: Handle pointers fields that point to structures. 2007-05-14 14:24:16 +02:00
Dan Hipschman faf5071549 widl: Remove an unnecessary assignment in write_pointers. 2007-05-14 14:24:06 +02:00
Dan Hipschman ef433e2792 widl: Remove var_t's ptr_level field and start write_pointers. 2007-05-11 12:33:27 +02:00
Dan Hipschman 234855f059 widl: Remove dead code in write_msft.c. 2007-05-10 12:57:06 +02:00
Dan Hipschman 541dddfde3 widl: Simplify make_safearray. 2007-05-10 12:55:33 +02:00
Dan Hipschman e7495555a0 widl: Remove redundant get_var_vt function. 2007-05-10 12:54:01 +02:00
Dan Hipschman 933ca7b126 widl: Add string_of_type function, prettify code. 2007-05-10 12:53:45 +02:00
Alexandre Julliard 7ca4e025e7 widl: Don't declare a global binding handle when using an implicit handle. 2007-05-03 14:25:58 +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
Dan Hipschman 1ecbb01617 widl: Get rid of the typeref_t structure, simplify code. 2007-05-01 12:37:08 +02:00
Dan Hipschman a67c37f871 widl: Declare fixed-size array args as pointers to arrays. 2007-04-26 16:12:15 +02:00
Dan Hipschman e714c89d2f widl: Add --prefix-* options (take 3). 2007-04-26 15:47:37 +02:00
Stefan Huehner 4d1d01f266 Mark several functions as static. 2007-03-13 13:35:12 +01:00
Alexandre Julliard 4091627cd7 configure: Get rid of lex compatibility support, we require flex anyway. 2007-03-08 13:19:50 +01:00
Rob Shearman 1c2a717b59 widl: Implement writing of SAFEARRAY type descriptions in typelibs. 2007-03-07 20:10:32 +01:00
Alexandre Julliard defc1d873e widl: Add missing '\n' on error message. 2007-02-28 20:44:24 +01:00
Rob Shearman 94a0a90165 widl: Print EXPR_NUM expresssions as unsigned to avoid printing an extra negative sign when lval is large. 2007-02-26 17:33:40 +01:00
Alexandre Julliard 77292a8c82 widl: 'control' is an attribute not a keyword. 2007-02-19 16:40:34 +01:00
Alexandre Julliard 6b808bafe0 widl: Rename parser states to uppercase to avoid conflicts. 2007-02-08 11:55:35 +01:00
Alexandre Julliard 94ee8e8fac widl: Output endpoint information in client and server files. 2007-02-07 17:55:09 +01:00
Alexandre Julliard cc9a07f194 widl: Add a string list type and use it for the endpoint attribute. 2007-02-07 17:54:33 +01:00
Alexandre Julliard 24ded9e69a widl: Only recognize attribute keywords inside an attribute list. 2007-02-07 17:50:17 +01:00
Alexandre Julliard 82b7eecf6c widl: Use the correct type offset when freeing proxy variables. 2007-02-06 18:01:43 +01:00
Alexandre Julliard 936455edd7 widl: Added support for iid_is conformance descriptors. 2007-02-06 16:00:41 +01:00
Alexandre Julliard 3c2a9f5df8 widl: size_is and length_is are expression lists now. 2007-02-06 15:59:24 +01:00
Alexandre Julliard 3bfa88dc49 widl: Take array dimensions into account when computing buffer size. 2007-02-06 15:55:49 +01:00
Alexandre Julliard 3fa891bfee widl: Add support for arrays of simple types in format strings. 2007-02-06 15:55:29 +01:00
Alexandre Julliard 732b3dc8c7 widl: Output correct alignments in type format strings. 2007-02-06 15:54:58 +01:00
Mike McCormack 609cd30277 widl: Implement dispinterfaces derived from an interface. 2007-02-06 13:20:46 +01:00
Mike McCormack 7d1e21e2c1 widl: Handle TKIND_DISPATCH when generating MSFT typelibs. 2007-01-26 14:29:18 +01:00
Huw Davies 305e4949ee widl: Don't restrict the number of params of [prop*] functions. 2007-01-26 12:22:40 +01:00
Huw Davies f994c35a3e widl: Add VT_DATE support to typelib generation. 2007-01-26 12:22:38 +01:00
Alexandre Julliard 2eee874382 widl: Make some generated variables static and/or const. 2007-01-26 12:09:25 +01:00
Alexandre Julliard 2b9c01eed2 widl: Avoid dependency on COBJMACROS in generated code. 2007-01-26 12:09:14 +01:00
Alexandre Julliard 9505b50ccf widl: Define __midl_proxy in the generated proxy code. 2007-01-26 12:09:03 +01:00
Alexandre Julliard 1a25936ca9 widl: Add a few more fields in the stub descriptor. 2007-01-26 12:08:51 +01:00
Alexandre Julliard 6c559cafab widl: Rename a couple of variables to make the code closer to what midl generates. 2007-01-26 12:04:40 +01:00
Alexandre Julliard 7e4a985269 widl: Initialize local variables in stub functions. 2007-01-26 12:03:02 +01:00
Alexandre Julliard 9e6acf818f widl: Use the typegen function for marshalling/unmarshalling in proxies. 2007-01-26 12:00:42 +01:00
Alexandre Julliard 9f1e9ad326 widl: Copy the UserMarshal support into the generic code. 2007-01-26 11:59:58 +01:00
Alexandre Julliard 8d50f9d054 widl: Add support for some simple pointer types. 2007-01-24 20:10:57 +01:00
Alexandre Julliard d885244148 widl: Store the interface id in _StubMsg.MaxCount for iid_is pointers. 2007-01-24 20:10:07 +01:00
Alexandre Julliard 4f106ca398 widl: Fix alignment check for struct members format string. 2007-01-24 20:08:50 +01:00
Alexandre Julliard 8996c79d83 widl: Fix possible crash in write_array_tfs. 2007-01-24 20:08:06 +01:00
Alexandre Julliard 8e3c5c9ab9 widl: Skip local functions when building format strings. 2007-01-24 20:06:51 +01:00
Alexandre Julliard 6dd5afd723 widl: Export a function to compute the proc format string size for a function. 2007-01-24 20:05:22 +01:00
Alexandre Julliard 6655071a3f widl: Move initialization of the stub buffer size into write_remoting_arguments(). 2007-01-24 20:02:05 +01:00
Alexandre Julliard 85ed9ca31a widl: Move support for stub arguments to typegen.c to make it usable for proxies too. 2007-01-24 19:59:16 +01:00
Alexandre Julliard 43ac6ed995 widl: Convert expression lists to standard Wine lists.
Add a specific type for array dimensions.
2007-01-22 14:31:40 +01:00
Alexandre Julliard eed74e4e4a widl: Convert variable lists to standard Wine lists. 2007-01-22 14:26:12 +01:00
Alexandre Julliard 58827d026b widl: Convert function lists to standard Wine lists. 2007-01-22 14:23:08 +01:00
Alexandre Julliard e262933bdf widl: Convert interface lists to standard Wine lists. 2007-01-22 14:21:56 +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
Alexandre Julliard 5aba7b0c67 widl: Use existing functions to retrieve attributes for typelibs. 2007-01-22 14:09:46 +01:00
Alexandre Julliard 75c2184f87 widl: Include objbase.h so that generated proxy file compiles on Wine. 2007-01-19 13:17:17 +01:00
Alexandre Julliard 0edfacdb6a widl: Generate proxy/client/server files when requested explicitly even if they are empty. 2007-01-19 12:46:19 +01:00
Andrew Talbot d3972880c0 widl: Fix memory leaks. 2007-01-04 21:14:14 +01:00
Alexandre Julliard 7035aa5041 make_makefiles: Generate the top-level .gitignore file.
Add a PROGRAMS variable in some makefiles to make things easier.
2006-12-27 21:23:36 +01:00
Francois Gouget bb8e625b5b Assorted spelling fixes. 2006-12-05 10:31:47 +01:00
Michael Stefaniuc cc234847d0 widl: Use ULONG instead of unsigned long when generating declarations for *_UserFree() functions. This is needed for Win64 compatibility. 2006-11-09 10:43:23 +01:00
Michael Stefaniuc 6f95047034 widl: Use ULONG instead of unsigned long when generating declarations for *_UserUnMarshal() functions. This is needed for Win64 compatibility. 2006-11-09 10:43:20 +01:00
Michael Stefaniuc 05b1aac100 widl: Use ULONG instead of unsigned long when generating declarations for *_UserMarshal() functions. This is needed for Win64 compatibility. 2006-11-09 10:43:16 +01:00
Michael Stefaniuc 177aaf6738 widl: Use ULONG instead of unsigned long when generating declarations for *_UserSize() functions. This is needed for Win64 compatibility. 2006-11-09 10:43:12 +01:00
Michael Stefaniuc 15765dd953 The Data1 member of the GUID struct needs to be an unsigned int too for Win64 compatibility. 2006-10-16 10:53:04 +02:00
Francois Gouget 58162f87fd Assorted spelling fixes. 2006-10-13 11:55:04 +02:00