Commit Graph

426 Commits

Author SHA1 Message Date
Jacek Caban ed11765665 widl: Write type string for serialized types.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-09 21:08:09 +01:00
Jacek Caban 89a1dade80 widl: Support async interfaces proxy.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-07 18:40:19 +01:00
Jacek Caban 3a8dbbb634 widl: Use for_each_iface in get_size_procformatstring.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-07 18:40:17 +01:00
Jacek Caban 212cffbf99 widl: Use for_each_iface in process_tfs.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-07 18:40:16 +01:00
Jacek Caban 53e54833f6 widl: Introduce for_each_iface helper and use it in write_procformatstring.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-07 18:40:15 +01:00
Jacek Caban 2761fc91d0 widl: Add __int32 type support.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-01 21:50:57 +01:00
Zebediah Figura 76a665a1c6 widl: Fix FC_ALLOCED_ON_STACK for interpreted stubs.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-01 12:04:41 +01:00
Zebediah Figura 481c408a02 widl: Only mark simple [out] pointers as on-stack if they are [ref] pointers.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-01 12:04:38 +01:00
Zebediah Figura b0c5a77e26 widl: Fix -Oicf marshalling of pointers to arrays.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-11 23:59:08 +02:00
Alexandre Julliard 68cfa7fd03 widl: Silence a gcc warning.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-15 10:49:06 +02:00
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
Zebediah Figura 50a7b239bd widl: Generate correct size and alignment for all types.
Using type_memsize_and_alignment() directly instead of reimplementing it.

Also fix the generated tests in oleaut32 to reflect correct sizes for 64-bit
typelibs.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-05 10:07:10 +02:00
Zebediah Figura 947ff4ba46 widl: Size of an encapsulated union doesn't include the tag.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-12 13:20:41 +02:00
Zebediah Figura 6c942496a9 widl: Generate correct alignment for encapsulated union tags.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-12 13:20:33 +02:00
Jacek Caban 88987c0a95 widl: Added support for namespaced enums. 2015-08-07 23:50:48 +09:00
Jarkko Korpi abf4d5910f widl: Increase buffer size in typegen.c. 2015-07-14 14:57:30 +09:00
Dmitry Timoshkov 1b6b04e3a8 widl: Correct the condition when to use new code path which avoids writing negative offsets in the pointer description. 2014-04-03 11:11:01 +02:00
Dmitry Timoshkov a333c6584d widl: Add support for an array of strings to write_string_tfs. 2014-04-02 15:46:49 +02:00
Dmitry Timoshkov 1dbcdee326 widl: Don't call write_embedded_types if an array element is a string. 2014-04-02 15:46:47 +02:00
Dmitry Timoshkov bde38bebe9 widl: Avoid generating negative offsets for conformant arrays of strings. 2014-04-02 15:46:45 +02:00
Dmitry Timoshkov 1845d10c3e widl: Pass type attributes from write_array_tfs to write_array_element_type.
This allows to differentiate strings and write appropriate rpc type
(FC_C_C[W]STRING instead of FC_[W]CHAR).
2014-04-02 15:46:43 +02:00
Dmitry Timoshkov eb54b5b4df widl: Pass type attributes from write_array_tfs to write_pointer_description.
This allows to differentiate strings and write appropriate rpc type
(FC_C_C[W]STRING instead of FC_[W]CHAR).
2014-04-02 15:46:41 +02:00
Dmitry Timoshkov e6d585a6b2 widl: Move is_void(), is_declptr() and is_conformant_array() to header.h and make them inline. 2014-03-20 10:44:32 +01:00
Dmitry Timoshkov ae843427ed widl: Unify indentation of comments. 2014-03-19 11:36:33 +01:00
Alexandre Julliard 7ca08fee55 widl: Avoid short printf formats with int variables. 2013-06-17 13:34:40 +02:00
Austin English 554a2ccb11 widl: write_array_element_type shouldn't return a value. 2012-12-20 12:01:02 +01:00
Michael Stefaniuc 2c97f3fcb5 widl: Avoid FALSE:TRUE conditional expressions. 2012-08-15 12:15:13 +02:00
Alexandre Julliard bf0c37d56a widl: Zero-initialize [out] structures and unions that contain pointers. 2011-12-13 18:59:15 +01:00
Andrew Talbot 7f27eb6a45 widl: Avoid right-shift of negative values. 2011-11-23 09:13:04 +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 e2a92702ed widl: Pass variables around instead of types for function parameters. 2011-09-19 11:54:42 +02:00
Alexandre Julliard c31948a775 widl: Make the function return value a variable. 2011-09-17 16:09:47 +02:00
Alexandre Julliard 05ff9dfeb1 widl: Include string formats in the element description for complex arrays. 2011-09-16 21:08:54 +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 0d76bb7ec3 widl: Clear out more types of parameters in the proxy error handlers. 2011-07-27 16:04:24 +02:00
Alexandre Julliard 809810eb28 widl: Use NdrPointerFree instead of freeing by hand where possible. 2011-06-20 19:32:04 +02:00
Alexandre Julliard c173399d62 widl: Move the pointer check functionality to typegen.c. 2011-06-14 12:55:39 +02:00
Alexandre Julliard c70ef62958 widl: Make output unique pointers into object pointers in object interfaces. 2011-06-14 12:24:00 +02:00
Alexandre Julliard 351c6ca5e4 widl: If possible, use the interface name as prefix for the expr eval functions. 2011-06-13 23:59:04 +02:00
Alexandre Julliard 717f2bebd8 widl: Use the context handle description instead of the pointer for arguments that are pointer to handles. 2011-06-13 20:09:47 +02:00
Alexandre Julliard 3a709fa5bb widl: Fix a typo in updating the type format offset for strings. 2011-06-09 13:18:58 +02:00
Alexandre Julliard 211ed7be48 widl: Fix packing of parameter structures for arguments larger than a pointer. 2011-06-09 12:08:48 +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 3147545541 widl: Don't allow floating point parameters for interpreted functions. 2011-06-08 14:06:22 +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 e4a0483529 widl: Set a correct fpu parameter mask on 64-bit. 2011-06-08 11:51:27 +02:00
Alexandre Julliard 01b44d1317 widl: Generate thunks for callas functions using interpreted stubs. 2011-06-07 12:11:50 +02:00
Alexandre Julliard b724138bd9 widl: Add support for new-style interpreted stubs in the proc format strings. 2011-06-06 21:49:22 +02:00
Alexandre Julliard 4fe88648cb widl: Always use signed types in parameter formats.
Native marshaller doesn't support the unsigned ones.
2011-06-03 12:26:31 +02:00