Commit Graph

954 Commits

Author SHA1 Message Date
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
Alexandre Julliard 00dda6f687 widl: Copy the output buffer management functions from winebuild. 2010-11-27 11:42:09 +01:00
André Hentschel d4dc2a3a4f widl: Fix for typelib generation when unaligned access to memory is not allowed. 2010-11-15 13:20:05 +01:00
Amine Khaldi c9dcef156e widl: Do not define MIDL_user_allocate and MIDL_user_free as it's already in the psdk. 2010-10-27 12:02:41 +02: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 4c41dd5fca widl: Duplicate the exception handling code between 32-bit and 64-bit. 2010-10-22 19:44:00 +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 a638c663b5 widl: Add a separate function to write the proc format string for a function. 2010-10-21 21:36:45 +02:00
Alexandre Julliard 63d5217fd6 widl: Output some comments for proc format strings. 2010-10-21 21:36:45 +02:00
Alexandre Julliard 226e963429 widl: Use get_size_procformatstring_func() for clients too instead of duplicating the code. 2010-10-21 21:35:21 +02:00
Alexandre Julliard 2debb114e3 widl: Add support for some more typelib flags based on the added attributes. 2010-10-21 21:34:33 +02:00
Alexandre Julliard 537773fbf4 widl: Add some more attribute keywords. 2010-10-21 21:23:36 +02:00
Gerald Pfeifer 17ee7300f8 widl: Avoid duplicate assignments in resolve_expression. 2010-09-21 20:16:15 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Austin English b94bc5604a widl: Fix compiler warnings on clang. 2010-09-18 13:23:29 +02:00
Alexandre Julliard d3c4106d6f widl: Fix declaration order in generated headers. 2010-09-06 17:06:59 +02:00