Alexandre Julliard
42e583f1f6
widl: We no longer need to avoid windows.h in generated headers.
2012-01-20 15:59:02 +01: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
Jacek Caban
c7602d51b3
widl: Define __REQUIRED_RPCNDR_H_VERSION__ in generated headers.
2011-09-22 19:51:49 +02: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
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
4ff0faa67c
widl: Generate a registration script along with the typelib when creating a resource file.
2011-08-02 20:47:48 +02:00
Alexandre Julliard
b568287eef
widl: Add support for generating typelibs directly in resource format.
2011-08-01 21:38:56 +02:00
Alexandre Julliard
36e73eb3fb
widl: Add helper functions for outputting resource files.
2011-08-01 21:38:14 +02:00
Alexandre Julliard
0359b30b1b
widl: Only register interfaces when the factory buffer is known.
2011-08-01 17:20:46 +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
82f33d3f6b
widl: Check for mismatched types in ?: expressions.
2011-07-25 10:43:09 +02:00
Jacek Caban
2b7c6a9599
widl: Produce __uuidof-compatible headers.
2011-07-14 21:51:36 +02:00
Alexandre Julliard
9df500d45d
widl: Support LANG_NEUTRAL as a valid lcid in typelibs.
2011-07-08 17:34:41 +02:00
Jacek Caban
f8c517978b
widl: Use proper calling convention attributes.
2011-07-07 17:32:12 +02:00
Marcus Meissner
28e92027b1
widl: Decrease is_object_interface after usage.
2011-07-06 17:01:32 +02:00
Jacek Caban
9afec542e0
widl: Generate class forward declaration for coclasses.
2011-07-06 16:58:49 +02:00
Jacek Caban
63d5462ced
widl: Insert standard windows.h and ole2.h includes to generated headers.
2011-06-27 13:30:57 -05: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
fa2b886d1d
widl: Also check array pointers for null ref pointers.
2011-06-14 12:55:22 +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
bcca410733
widl: Allow unsized in,out string parameters.
2011-06-14 12:23:32 +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
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
e620869d5f
widl: Output the list of rundown routines in server files.
2011-06-13 20:31:42 +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
717bd66440
widl: Default to the cdecl calling convention in client/server functions.
2011-06-13 11:53:28 +02:00
Alexandre Julliard
49c31e3bf8
makefiles: Use the generic install flags for the tools directories.
2011-06-12 12:47:48 +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
350c93a164
widl: Don't require inline stubs for functions that are never generated.
2011-06-08 14:12:16 +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
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
Jacek Caban
674ab49fa2
widl: Don't duplicate optarg and optind declarations in sources.
2011-06-07 14:18:34 +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
39b15066b0
widl: Add support for generating new-style interpreted stubs for servers.
2011-06-06 21:49:22 +02:00
Alexandre Julliard
e95d5a8e3c
widl: Add support for generating new-style interpreted stubs for clients.
2011-06-06 21:49:22 +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
e644c2cd03
widl: Add support for generating old-style interpreted stubs for servers.
2011-06-03 12:27:54 +02:00
Alexandre Julliard
9c4d01f329
widl: Add support for generating old-style interpreted stubs for clients.
2011-06-03 12:27:14 +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
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
0f8b64a57b
widl: Add a more generic way of determining the type of handle for a function.
2011-05-31 18:32:58 +02:00
Alexandre Julliard
21cbdaa1eb
widl: Support using custom handle types with the implicit_handle attribute.
2011-05-31 18:32:58 +02:00
Alexandre Julliard
968c8688c4
widl: Array dimensions have to be constants.
2011-05-28 13:39:18 +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
93dd252116
widl: Output a list of binding routines in client files.
2011-05-27 12:07:29 +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
56e65b4534
widl: Allow using fixed size arrays as strings.
2011-05-25 19:34:26 +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
Alexandre Julliard
2099d94001
widl: Call marshalling routines directly also for user-marshalled types accessed through a ref pointer.
2011-05-24 23:10:54 +02:00
Alexandre Julliard
bf9d2904dc
widl: Don't call the buffer sizer routine when the size is known already.
2011-05-24 22:47:07 +02:00
Alexandre Julliard
050f6f38d5
widl: Only return a buffer size for fixed-size arrays.
2011-05-24 22:30:39 +02:00
Marcus Meissner
37046546af
oleaut32: Fixed offset calculation (Coverity).
2011-05-09 10:50:27 +02:00
Marcus Meissner
0222ad7326
widl: Mark up a FALLTHROUGH case (Coverity).
2011-03-31 12:50:47 +02:00
Huw Davies
09dd285d8c
widl: Initialise [out] only conformant arrays.
...
This isn't strictly what midl does, however VB relies on the array in
IEnumVARIANT_Next() being zero initialised. Native uses stubless
proxies, where the initialisation is performed in NdrStubCall2().
2011-03-03 17:47:14 +01:00
Huw Davies
d8d963a9c3
widl: Don't dereference if the referenced type is a user type.
2011-02-03 16:24:55 +01:00
Huw Davies
5ae2b0f219
widl: Initialise [out] only parameters if they are user types or interface pointers.
2011-02-02 18:13:34 +01:00
Henri Verbeet
7421bb0b61
widl: Support forward type declarations.
2011-01-28 11:59:04 +01:00
Alexandre Julliard
56425e3767
widl: Don't generate proxies for oleautomation interfaces.
2011-01-19 17:43:01 +01:00
Alexandre Julliard
90c7acf845
widl: Allow specifying a class version outside of a typelib too.
2010-12-23 12:50:58 +01:00
Alexandre Julliard
fc3114ca80
widl: Don't free the input file name since it's stored in various places in the location info.
2010-12-23 12:50:52 +01:00
Alexandre Julliard
e5f65edfc9
widl: Allow specifying a version for a coclass independently of its typelib version.
2010-12-22 15:51:29 +01:00
Alexandre Julliard
875c1b8739
widl: Register the PSFactoryBuffer class as factory if it's defined in the idl file.
2010-12-17 14:58:47 +01:00
Alexandre Julliard
f3f5230b92
widl: Don't create the CurVer key if the ProgId is already version-independent.
2010-12-09 22:42:30 +01:00
Alexandre Julliard
cb246ca7a7
widl: Support encoding the DECIMAL type in typelibs.
2010-12-09 00:05:28 +01:00
Alexandre Julliard
8c78994866
widl: Signal an error when trying to output an undefined interface into a typelib.
2010-12-08 20:32:08 +01:00
Alexandre Julliard
2dc85894a7
widl: Improve registration of coclasses contained in typelibs.
2010-12-08 16:10:44 +01:00
Alexandre Julliard
15ccabc9a8
makefiles: Add common rules for installing the main man page.
2010-12-05 16:17:58 +01:00
Alexandre Julliard
2f5c578dba
widl: Output registration information also for IUnknown.
2010-12-03 19:29:49 +01:00
Alexandre Julliard
2bf6305ad6
widl: Don't force removal of progids since "CLSID" is also a progid.
2010-12-03 18:09:13 +01:00
Alexandre Julliard
b3ebd5a8c5
widl: Use the class name as default description for a progid.
2010-12-03 14:28:28 +01:00
Alexandre Julliard
335282f564
widl: Generate keys for coclasses in the registration resources.
2010-12-02 13:15:14 +01:00
Alexandre Julliard
3991b05746
widl: Add progid, threading and vi_progid attributes for coclasses.
...
This is a Wine extension, modelled after the corresponding attributes
supported by Visual C++.
2010-12-02 13:14:50 +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
233814c21e
widl: Add a general -o option instead of having a different output name option for each file type.
2010-11-27 13:28:16 +01:00
Alexandre Julliard
5d3b4fb6cb
widl: Use the output buffer functions to write typelibs.
2010-11-27 11:54:51 +01:00