- 23 Mar, 2009 3 commits
-
-
Rob Shearman authored
Previously it was only done for pointers.
-
Rob Shearman authored
_StubMsg.pfnFree should be used instead of NdrPointerFree for conformant-sized strings since the buffer will have been allocated using NdrAllocate. Non-conformant strings do not need any freeing since they use a buffer that is allocated on the stack.
-
Rob Shearman authored
-
- 13 Mar, 2009 1 commit
-
-
Michael Stefaniuc authored
long is always 32bit in IDL files but that's not true in C.
-
- 11 Mar, 2009 1 commit
-
-
Rob Shearman authored
-
- 09 Mar, 2009 5 commits
-
-
Rob Shearman authored
Move to using type_basic_get_type in other files where appropriate.
-
Rob Shearman authored
widl: Fix a memory leak in the server/stub code when unmarshalling pointers to strings at the top level. It is necessary for the first pointer to have an offset to a second pointer instead of directly to the string type, since the second pointer frees the memory for the string.
-
Rob Shearman authored
-
Rob Shearman authored
Avoid changing the details of a pointer once created. Properly determine the pointer type for arrays.
-
Rob Shearman authored
-
- 05 Mar, 2009 10 commits
-
-
Rob Shearman authored
-
Rob Shearman authored
-
Rob Shearman authored
widl: Move type_new_enum, type_new_struct, type_new_encapsulated_union and type_new_unencapsulated_union to typetree.c.
-
Rob Shearman authored
-
Rob Shearman authored
widl: Move the pointer referent, array element, function return type and interface inheritance properties from type_t to details structures for the appropriate types.
-
Rob Shearman authored
-
Rob Shearman authored
It isn't valid in MIDL or the FreeDCE IDL compiler, nor does it appear in the DCE/RPC or C99 specs.
-
Rob Shearman authored
-
Rob Shearman authored
widl: Fix get_explicit_generic_handle_type and is_context_handle to detect attributes set on typedefs other than the first. Change get_explicit_handle_var to use accessors for the type structure.
-
Rob Shearman authored
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.
-
- 25 Feb, 2009 2 commits
-
-
Rob Shearman authored
widl: Only classify top-level pointers as ref pointers if they don't have any other pointer attributes.
-
Rob Shearman authored
Print a warning if a pointer attribute is specified since the generated code won't do what the developer expects.
-
- 23 Feb, 2009 7 commits
-
-
Rob Shearman authored
Add typegen_detect_type for detecting types useful during client/server/proxy code generation.
-
Rob Shearman authored
widl: Use type_get_type to determine the types of types during C client, server and proxy code generation.
-
Rob Shearman authored
-
Rob Shearman authored
-
Rob Shearman authored
-
Rob Shearman authored
-
Rob Shearman authored
Use type_get_type and friends instead.
-
- 19 Feb, 2009 1 commit
-
-
Rob Shearman authored
widl: Fix typos in write_remoting_arg which caused ref pointers to unions to not result in direct calls to NonEncapsulatedUnion/EncapsulatedUnion functions.
-
- 16 Feb, 2009 4 commits
-
-
Rob Shearman authored
widl: Call Pointer function for freeing non-conformant strings and for all phases for returned non-conformant strings, as is done for conformant strings. Also call Pointer functions for any string that isn't a reference pointer.
-
Rob Shearman authored
Document how much of hack duplicating a type in order to change its pointer type is.
-
Rob Shearman authored
It's slightly quicker than calling pointer phase functions and does the same job.
-
Rob Shearman authored
The generated code should use NdrSimpleType{Marshall,Unmarshall} instead of direct buffer access, since the memory size isn't always equal to the size on the wire and extra checks.
-
- 13 Feb, 2009 1 commit
-
-
Michael Stefaniuc authored
-
- 10 Feb, 2009 1 commit
-
-
Alexandre Julliard authored
widl: Change write_type_def_or_decl and write_type_decl to take an argument name instead of a printf format.
-
- 06 Feb, 2009 4 commits
-
-
Alexandre Julliard authored
-
Alexandre Julliard authored
-
Alexandre Julliard authored
-
Alexandre Julliard authored
-