Commit Graph

515 Commits

Author SHA1 Message Date
Nikolay Sivov c46debeeeb widl: Fix pointer size for SYS_WIN64 typelibs.
The fact that test data was wrong was hidden by broken widl typelib,
and same test typelib was used on windows so we never get proper test
results. Standard IUnknown/IDispatch that live in system stdole2.tlb
are also tested now.
2014-01-27 14:13:54 +01:00
Andrew Eikum 57895e5a8c oleaut32: Improve ITypeLib::FindName. 2014-01-27 14:13:38 +01:00
Nikolay Sivov 1abafbffda oleaut32: Use CoTaskMem* when dealing with CUSTDATA. 2014-01-27 14:13:37 +01:00
Alexandre Julliard a414681648 oleaut32: Don't create non-existent typelib files. 2013-12-30 20:35:02 +01:00
Frédéric Delanoy 57d7f74d34 Assorted spelling fixes. 2013-11-21 19:44:46 +01:00
Frédéric Delanoy 128e4575e5 oleaut32: Use BOOL type where appropriate. 2013-11-21 13:36:08 +01:00
Nikolay Sivov 7be2251cd6 oleaut32: Always set LIBFLAG_FHASDISKIMAGE when loading from file. 2013-11-13 18:30:39 +01:00
Frédéric Delanoy f4dc64918e oleaut32: Use BOOL type where appropriate. 2013-10-18 12:34:39 +02:00
Andrew Eikum fbffa8935e oleaut32: Also register typelibs in the opposite registry mode. 2013-10-16 20:49:26 +02:00
Nikolay Sivov 1c23b501f7 oleaut32: LoadRegTypeLib() should check actual typelib version. 2013-09-24 12:57:54 +02:00
Nikolay Sivov 4be3013014 oleaut32: Support typelib redirection in QueryPathOfRegTypeLib(). 2013-09-24 12:57:46 +02:00
Andrew Eikum 7f47beb7d8 oleaut32: Implement ICreateTypeInfo::SetFuncDocString. 2013-09-19 20:14:06 +02:00
Andrew Eikum 6b4f43e8e6 oleaut32: Don't crash on NULL string arguments. 2013-09-10 17:31:49 +02:00
Andrew Eikum c5be905bf7 oleaut32: Fix TRACE. 2013-09-09 22:10:00 +02:00
Andrew Eikum 808c47cecb oleaut32: Typelib strings of size -1 are NULL. 2013-09-09 22:10:00 +02:00
Andrew Eikum 52b1adcd6e oleaut32: Correct TRACE statement. 2013-09-06 17:25:08 +02:00
Andrew Eikum cb1f4c5387 oleaut32: Apply TKIND_DISPATCH changes to FUNCDESC results from ITypeComp::Bind. 2013-09-06 17:25:08 +02:00
Andrew Eikum 664e7938cb oleaut32: Improve TYPEDESC encoding for unknown VARTYPEs.
It's not worth printing a FIXME for every VARTYPE we don't happen to
list in the switch statement.
2013-09-06 17:25:08 +02:00
Piotr Caban a2ea406eee oleaut32: Add ICreateTypeInfo2::SetVarName implementation. 2013-09-05 13:18:22 +02:00
Piotr Caban 3f4b06edf1 oleaut32: Allocate bigger buffer in WMSFT_compile_names function. 2013-08-28 11:37:00 +02:00
Andrew Eikum 810ec233c0 oleaut32: Implement ICreateTypeInfo::SetTypeDescAlias. 2013-08-27 21:30:02 +02:00
Andrew Eikum 56aa7d015d oleaut32: Resize 32-bit typeinfos when loaded in 64-bit. 2013-08-27 21:30:02 +02:00
Andrew Eikum b6bfd6d32e oleaut32: Assign MEMBERIDs to vardescs without one. 2013-08-19 11:29:27 +02:00
Andrew Eikum 341ff65b95 oleaut32: Run LayOut on typeinfos that require it before saving. 2013-08-19 11:29:16 +02:00
Andrew Eikum f66523abee oleaut32: Correct version byte order. 2013-08-19 11:29:09 +02:00
Andrew Eikum 6f5cc0887e oleaut32: Save typelib SYSKIND. 2013-08-15 16:23:34 +02:00
Andrew Eikum cc29cad2cc oleaut32: 64-bit typelib fixes. 2013-08-15 16:23:29 +02:00
Andrew Eikum f1398510df oleaut32: Don't prevent 64-bit from loading 32-bit typelibs. 2013-08-15 16:23:00 +02:00
Piotr Caban eb5c9707b5 oleaut32: Store hreftype associated with guid while saving typelib. 2013-07-31 22:26:57 +02:00
Piotr Caban e35a05b9a4 oleaut32: Name guids hash table segment in MSFT_SegDir struct. 2013-07-31 22:26:56 +02:00
Piotr Caban 0059a0af62 oleaut32: Fill guids hash table while creating typelib. 2013-07-31 22:26:56 +02:00
Piotr Caban c43bf14569 oleaut32: Fix ICreateTypeInfo2_fnAddVarDesc implementation. 2013-07-31 22:26:55 +02:00
Piotr Caban 2f707558fc oleaut32: Store PARAMDESCEX structure inside lprgelemdescParam.
Thanks to this change we don't need to free the data differently
depending on how it was created (by typelib reading or writing code).
2013-07-30 19:12:37 +02:00
Piotr Caban 1967b35962 oleaut32: Free guid_list in ITypeLib2_Release. 2013-07-30 19:12:29 +02:00
Piotr Caban 6d6c3e5d81 oleaut32: Don't leak BSTRs allocated in string_list and name_list. 2013-07-30 19:12:26 +02:00
Piotr Caban 00d132ee15 oleaut32: Store typeinfo hreftype while saving typelib. 2013-07-29 15:01:09 +02:00
Piotr Caban f9e73f97a9 oleaut32: Name names hash table segment in MSFT_SegDir struct. 2013-07-29 15:00:59 +02:00
Piotr Caban aada2c7b6f oleaut32: Fill names hash table while creating typelib. 2013-07-29 15:00:52 +02:00
Piotr Caban 4f62fb2eec oleaut32: Fix custdata_list initialization in ITypeInfo_fnGetRefTypeInfo. 2013-07-27 11:55:07 -05:00
Andrew Eikum d3b896358a oleaut32: Use typelib's pointer size, not system's. 2013-06-24 11:43:33 +02:00
Andrew Eikum 2fa16df551 oleaut32: Load referenced typelibs in the same architecture. 2013-06-24 11:43:00 +02:00
Andrew Eikum 82376431e8 oleaut32: Register the typelib's path without WOW64 redirection. 2013-06-24 11:42:53 +02:00
Dmitry Timoshkov 08bade6880 oleaut32: Do not rely on vtable placement in the implementation structure. 2013-06-14 11:45:26 +02:00
Dmitry Timoshkov eca18b5152 oleaut32: Do not rely on vtable placement in the implementation structure. 2013-06-13 17:13:28 +02:00
Marcus Meissner 0bd04d40cf oleaut32: Avoid memory leaking junk (Coverity). 2013-06-10 11:53:14 +02:00
Marcus Meissner b22dade1d6 oleaut32: Fixed incorrect pointer deref (Coverity). 2013-06-10 11:53:05 +02:00
Andrew Eikum 40966b3615 oleaut32: Use the new typelib creation implementation. 2013-06-06 10:41:39 +02:00
Andrew Eikum 9afd5845e5 oleaut32: Always read all imports from the typelib. 2013-06-05 17:31:40 +02:00
Andrew Eikum 7adad42745 oleaut32: Use implementation bitflag in href. 2013-06-05 17:31:40 +02:00
Andrew Eikum d983e6d590 oleaut32: Always search external references in GetRefTypeInfo. 2013-06-05 17:31:40 +02:00