Commit Graph

414 Commits

Author SHA1 Message Date
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
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 11416a20c9 widl: Generate function headers in the proc format string for interpreted functions. 2011-06-02 16:22:43 +02:00
Alexandre Julliard 6ae510050b widl: Add a -O option to specify stub style. 2011-06-02 16:22:42 +02:00
Alexandre Julliard 2db27725bf widl: Don't allow unions passed by value or floating point returns for interpreted functions. 2011-06-02 16:21:52 +02:00
Alexandre Julliard 82d3ea86cf widl: Always update the type format offset in write_type_tfs and not in callers. 2011-06-02 14:42:13 +02:00
Alexandre Julliard 5e67dcd10f widl: Fix representation of context handles in the format string. 2011-06-02 14:41:55 +02:00
Alexandre Julliard 0486140c3d widl: Don't output callback conformances for non-interpreted functions.
The Windows marshaller calls the callback with an invalid stack.
2011-05-28 13:38:25 +02:00
Alexandre Julliard c2406be6d4 widl: Add support for top-level conformances. 2011-05-26 21:58:59 +02:00
Alexandre Julliard d8059aee3a widl: Move the check for already processed types into the type-specific functions.
Fixed a couple of instances where types were printed redundantly or
incorrectly reused.
2011-05-26 19:45:00 +02:00
Alexandre Julliard 52cb5b20f7 widl: Set the correct stack size for parameters in the proc format string. 2011-05-25 20:32:12 +02:00
Alexandre Julliard 96a5def678 widl: Also compute buffer size for non-ref pointers. 2011-05-25 00:22:40 +02:00
Alexandre Julliard 8f156e266e widl: Return the buffer size of the object pointed by a ref pointer for all types. 2011-05-25 00:07:15 +02:00