Commit Graph

226 Commits

Author SHA1 Message Date
Dan Hipschman 767a1f26f6 widl: Handle top-level conformance for complex arrays. 2007-09-20 14:27:29 +02:00
Dan Hipschman 33da66d6c8 widl: Set the pointer description offset to zero if there are no pointers. 2007-09-20 14:27:22 +02:00
Dan Hipschman 132f06cd48 widl: Implement complex arrays. 2007-09-19 11:39:09 +02:00
Dan Hipschman 6eb07cb100 widl: Handle all buffer sizes. 2007-09-19 11:38:53 +02:00
Dan Hipschman 8df79f0c99 widl: Implement pointer descriptions for complex structures. 2007-09-19 11:38:28 +02:00
Dan Hipschman b16de39417 widl: Fix alignment comments. 2007-09-19 11:38:16 +02:00
Rob Shearman aa649542e2 widl: None of the non-fixed arrays have fixed sizes, so don't set the alignment to anything and return a size of 0 from get_required_buffer_size_type. 2007-09-18 10:48:06 +02:00
Rob Shearman cf983bf15d widl: Missing size_is or length_is attributes should generate 0xffffffff for the correlation description. 2007-09-18 10:47:58 +02:00
Rob Shearman 9a28119dd8 widl: Fix write_string_tfs for strings declared as arrays.
The immediate type will be FC_*ARRAY, so rtype needs to use the referred 
type to get the base type.

Also update the typeformat-string offset of the type.
2007-09-17 12:57:08 +02:00
Rob Shearman f7fbfc7da5 widl: Add support for strings embedded in structures. 2007-09-17 12:57:06 +02:00
Dan Hipschman 5e84eb9a47 widl: Add padding to the end of complex structures. 2007-09-14 14:43:13 +02:00
Dan Hipschman ce4055c573 widl: Fix an unused parameter warning on write_conf_or_var_desc. 2007-09-13 12:44:18 +02:00
Dan Hipschman 177346f1b6 widl: Add calls to NdrFooFree for more types in server stubs. 2007-09-13 12:44:12 +02:00
Dan Hipschman 7deb62505c widl: Use the correct functions for interface pointers in stubs. 2007-09-13 12:44:07 +02:00
Dan Hipschman ba54c455fb widl: Allow size_is on strings. 2007-09-10 15:29:46 +02:00
Dan Hipschman 62fb623e14 widl: Implement NDR for struct field alignment. 2007-09-10 15:29:46 +02:00
Dan Hipschman 3d036da6d3 widl: Fix top-level and callback conformances. 2007-09-10 15:29:46 +02:00
Alexandre Julliard 40dda77c52 widl: Added support for floating-point constants. 2007-07-17 14:12:18 +02:00
Dan Hipschman 46222aee6e widl: Allow enums as union switch types. 2007-06-26 11:59:53 +02:00
Dan Hipschman 704f2868ed widl: Fix crash dealing with anonymous unions. 2007-06-26 11:59:15 +02:00
Dan Hipschman 512c36cae6 widl: Get simple enums working. 2007-06-26 11:59:02 +02:00
Dan Hipschman ab22b4b3d4 widl: Check for user types when calculating buffer size. 2007-06-26 11:58:48 +02:00
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 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
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
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
Dan Hipschman 8f7a5d63ec widl: Allow types that reference themselves. 2007-05-25 19:36:12 +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 933ca7b126 widl: Add string_of_type function, prettify code. 2007-05-10 12:53:45 +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
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 94ee8e8fac widl: Output endpoint information in client and server files. 2007-02-07 17:55:09 +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
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
Dan Hipschman 6e7389ada8 widl: Remove unused parameter in write_ip_tfs. 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 88820263c6 widl: Remove checks for typedefs that always fail. 2006-09-07 10:49:46 +02:00
Dan Hipschman 3870bf0d9e widl: Output format-strings for interface pointers. 2006-08-18 11:36:21 +02:00
Dan Hipschman 9b16916ed1 widl: Allow format-string functions to work with objects. 2006-08-18 11:36:06 +02:00
Dan Hipschman b7e7243a1e widl: Move format-string declaration output to typegen.c. 2006-08-17 11:21:10 +02:00
Dan Hipschman 06497dd44c widl: Use ref_type to simplify some code. 2006-08-12 11:40:30 +02:00
Dan Hipschman 216171fe52 widl: Add ref_type (dereference typedefs) and use it. 2006-08-10 10:57:53 +02:00
Robert Shearman f627845624 widl: Add support for the builtin constants "TRUE" and "FALSE". 2006-07-07 14:30:34 +02:00
Alexandre Julliard 043fd66907 widl: Use unsigned int instead of size_t to avoid printf format warnings. 2006-06-13 14:13:49 +02:00
Robert Shearman 90decb631c widl: Properly size the return value procformat. 2006-06-02 10:52:23 +02:00
Robert Shearman 6f85f989f5 widl: Only write one procformat string and one typeformat string per file. 2006-06-02 10:52:10 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Eric Kohl b64154882c widl: Fix a typo. 2006-05-05 16:36:46 +02:00
Eric Kohl ff302bfc7a widl: Implement support for unique pointers to strings. 2006-04-21 11:28:03 +02:00
Eric Kohl e7134bd4cd widl: Implement support for unique pointers to arrays. 2006-04-17 11:18:49 +02:00
Eric Kohl 7fb3f12ce5 widl: Implement support for ref pointers to simple structs. 2006-04-10 15:56:50 +02:00
Eric Kohl 83d72a4318 widl: Implement support for ref pointers to arrays of base types. 2006-04-05 10:58:25 +02:00
Robert Shearman e2ea2b5891 widl: Fix the type offset for generated conformant string calls. 2006-04-03 21:36:06 +02:00
Robert Shearman 837e830a26 widl: There's no need to cast _StubMsg - it's already of the correct type. 2006-03-31 17:38:00 +02:00
Robert Shearman 3e065ab342 widl: Move handling of base type marshaling and unmarshaling to a separate function.
Move handling of base type marshaling and unmarshaling to a separate
function and improve it to support return values.
2006-03-31 17:37:01 +02:00