Commit Graph

154 Commits

Author SHA1 Message Date
Zebediah Figura f9c8c20298 widl: Use publicly defined NDR constants.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-13 22:13:27 +02:00
André Hentschel 900e7c5d65 widl: Fix compiler warnings with flag -Wunused-macros. 2014-12-10 13:31:01 +01:00
Jacek Caban 218b1951db widl: Define PROXY_DELEGATION in dlldata.c when needed. 2012-11-01 15:42:33 +01: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
Bernhard Loos 00ab883644 widl: Also create proxies/stubs for interfaces marked with oleautomation. 2011-09-06 15:42:28 +02:00
Alexandre Julliard 8e15db40a8 widl: Don't output stubs for interfaces included in a typelib. 2011-09-06 15:42:16 +02:00
Alexandre Julliard ca22457d7b widl: Don't set base types to 0 on proxy entry. 2011-07-27 16:16:14 +02:00
Alexandre Julliard 0d76bb7ec3 widl: Clear out more types of parameters in the proxy error handlers. 2011-07-27 16:04:24 +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 7a0ce4c864 widl: Include the parent interfaces in the proxy thunk table too. 2011-06-13 23:16:36 +02:00
Alexandre Julliard 5881069601 widl: Use delegation when inheriting from a local interface. 2011-06-13 22:16:05 +02:00
Alexandre Julliard 799000ea3a widl: Include the parent interfaces in the proc format string offsets for proxies. 2011-06-13 21:58:33 +02:00
Alexandre Julliard 0cba5b06f5 widl: Use the local function as proxy entry for callas interpreted functions. 2011-06-13 21:17:52 +02:00
Alexandre Julliard 59171bd9f5 widl: Pass a structure containing the parameters to NdrClientCall instead of accessing the stack. 2011-06-09 12:08:48 +02:00
Alexandre Julliard 9f99d74a20 widl: Add a helper function for generating a stub that uses NdrClientCall. 2011-06-09 12:08:48 +02:00
Alexandre Julliard 350c93a164 widl: Don't require inline stubs for functions that are never generated. 2011-06-08 14:12:16 +02:00
Alexandre Julliard 36ee028f49 widl: Don't generate old-style interpreted stubs on 64-bit. 2011-06-08 12:14:47 +02:00
Alexandre Julliard d9cd0d8cac widl: In 64-bit mode, pass all arguments to NdrClientCall instead of a pointer to the first one. 2011-06-08 11:34:46 +02:00
Alexandre Julliard 609602cb38 widl: Add support for generating new-style interpreted stubs for proxies. 2011-06-07 14:18:15 +02:00
Alexandre Julliard 01b44d1317 widl: Generate thunks for callas functions using interpreted stubs. 2011-06-07 12:11:50 +02:00
Alexandre Julliard 33ba9731a3 widl: Add support for generating old-style interpreted stubs for proxies. 2011-06-03 12:27:00 +02:00
Alexandre Julliard 11416a20c9 widl: Generate function headers in the proc format string for interpreted functions. 2011-06-02 16:22:43 +02:00
Alexandre Julliard 56425e3767 widl: Don't generate proxies for oleautomation interfaces. 2011-01-19 17:43:01 +01:00
Alexandre Julliard ce3abe8c0c widl: Add support for generating a .rgs registration script for the defined interfaces. 2010-11-27 13:29:13 +01:00
Alexandre Julliard 3593b65935 widl: Output a format string table and server info structure for servers. 2010-10-22 20:49:45 +02: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 575485c6e7 widl: Duplicate all the proxy data tables between 32-bit and 64-bit. 2010-10-22 19:41:07 +02:00
Alexandre Julliard c6668089a4 widl: Set the default calling convention at header generation time, not at parsing time. 2010-08-27 13:52:09 +02:00
Paul Vriens caaf027e55 widl: Fix size parameter for xrealloc (Coccinelle). 2010-01-11 11:34:32 -06:00
Rob Shearman 6ed98b16a1 widl: Detect interfaces that inherit from another interface as objects. 2009-11-29 16:37:07 +01:00
Alexandre Julliard d88f9e3cd9 widl: Don't make the proxy virtual tables const if they use delegation. 2009-06-09 17:01:07 +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 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
Rob Shearman a93f531c21 widl: Ignore pointer attributes applied to interface pointers.
Print a warning if a pointer attribute is specified since the
generated code won't do what the developer expects.
2009-02-25 11:54:26 +01:00
Rob Shearman 2c6e611c8a widl: Add typegen_detect_type and use it.
Add typegen_detect_type for detecting types useful during
client/server/proxy code generation.
2009-02-23 15:25:57 +01:00
Rob Shearman af0800729b widl: Use type_get_type to determine the types of types during C client, server and proxy code generation. 2009-02-23 15:25:53 +01:00
Rob Shearman fb934347b4 widl: Use type_get_type to determine the types during statement enumeration. 2009-02-23 15:25:20 +01:00
Alexandre Julliard fcc096083f widl: Add printf format attribute on all printf-like functions and fix resulting warnings. 2009-02-06 14:54:03 +01:00
Francois Gouget a17f48219a widl: Add a trailing '\n' to an error() message. 2009-01-14 14:52:21 +01:00
Michael Karcher 8092e85ece widl: Fix handling of [local] functions without [call_as]. 2009-01-12 16:53:18 +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 9b139018cf widl: Add new function, type_iface_get_stmts.
Use it to retrieve statements contained in interface types.
2009-01-06 12:58:41 +01:00
Rob Shearman 8fc59d0ead widl: Add a new function, type_iface_get_inherit.
Use it for retrieving the parent interface for interfaces.
2009-01-06 12:58:33 +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 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
Michael Karcher 2fe1f36793 widl: Recurse search for need of delegation.
If any ancestor of an interface needs delegation, the interface itself
has holes in the vtables and thus needs delegation, too.
2009-01-02 12:53:20 +01:00
Rob Shearman c6e7609b01 widl: Don't add NULL pointer checks in generated code for user types. 2008-12-31 12:30:40 +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