Commit Graph

153 Commits

Author SHA1 Message Date
André Hentschel a46bfd644d oleaut32: Don't leak memory allocated by heap_alloc_zero (coverity). 2012-10-29 10:39:59 +01:00
Marcus Meissner d8c1507846 oleaut2: Pass up errors on typelib writeout (Coverity). 2012-10-01 11:59:37 +02:00
Jacek Caban 4a5eca88aa oleaut32: Use proper helpers for iface calls. 2012-07-27 17:05:27 +02:00
Thomas Faber 7f57141078 oleaut32: Fix build with MSVC. 2012-06-11 12:19:06 +02:00
Andrew Talbot c9a8d3bd89 oleaut32: Mark some fall-throughs in a switch statement. 2011-10-08 20:23:27 +02:00
Nikolay Sivov 8899c2e59a oleaut32/typelib: Use BSTR for filename. 2011-10-06 16:46:41 -05:00
Nikolay Sivov c71637b692 oleaut32/typelib: Properly handle allocation failure on creation. 2011-10-06 16:46:41 -05:00
Michael Stefaniuc 22521b5809 oleaut32: COM cleanup in typelib2.c. 2011-09-02 10:44:23 +02:00
Alistair Leslie-Hughes 1a74194f9e oleaut32: Implement ICreateTypeInfo2 SetHelpStringContext. 2011-07-07 19:22:46 +02:00
Alistair Leslie-Hughes 1bd8d40675 oleaut32: COM Cleanup ICreateTypeLib2Imp. 2011-07-06 16:48:50 +02:00
Marcus Meissner 37046546af oleaut32: Fixed offset calculation (Coverity). 2011-05-09 10:50:27 +02:00
Nikolay Sivov d902249e54 oleaut32: Fix default parameter variant leak (Valgrind). 2011-01-31 12:28:25 +01:00
Nikolay Sivov 0044cc8f26 oleaut32: Do nothing for TKIND_ALIAS types in ::LayOut(). 2011-01-04 14:56:15 +01:00
Nikolay Sivov 2e25e5e22c oleaut32: Use alloc/free helpers for typelib creation part too. 2011-01-04 14:53:50 +01:00
Nikolay Sivov ed749f51ce oleaut32: Use IDispatch vtable size instead of hardcoded value. 2011-01-04 14:52:52 +01:00
Nikolay Sivov 30b516b8d4 oleaut32: Use structure size instead of hardcoded values. 2011-01-03 16:45:42 +01:00
Nikolay Sivov b421934ead oleaut32: Implement ICreateTypeInfo2::SetVarDocString(). 2010-12-31 11:45:25 +01:00
Nikolay Sivov 8c8b5da9fc oleaut32: Update variable description and typeinfo size in ICreateTypeInfo2::SetVarHelpContext(). 2010-12-31 11:45:20 +01:00
Nikolay Sivov 59cc0d5c2e oleaut32: Get function/variable description size with a helper, remove a hardcoded size. 2010-12-31 11:45:09 +01:00
Nikolay Sivov cd88a165a4 oleaut32: Get rid of useless comment lines. 2010-12-30 12:21:53 +01:00
Nikolay Sivov 677302cf22 oleaut32: Move common define to a header. 2010-12-27 11:49:52 +01:00
Nikolay Sivov c924922935 oleaut32: Get SYSKIND value with a helper. 2010-12-27 11:49:30 +01:00
Nikolay Sivov 069b8e50eb oleaut32: Allow all property methods to have the same name. 2010-12-27 11:49:23 +01:00
Nikolay Sivov b6313c702e oleaut32: Add a helper to return INVOKEKIND flags value. 2010-12-27 11:49:14 +01:00
Nikolay Sivov 60001e1c67 oleaut32: Hide variables and functions count storage details in helpers. 2010-12-24 12:05:18 +01:00
Nikolay Sivov 8305abdab7 oleaut32: Fix ICreateTypeInfo2::SetVarHelpContext() to iterate properly. 2010-12-24 12:05:10 +01:00
Nikolay Sivov 623abfcaae oleaut32: Fix null parameters handling in ICreateTypeLib2::CreateTypeInfo(). 2010-12-23 13:47:22 +01:00
Nikolay Sivov 0346ba9131 oleaut32: Added ICreateTypeInfo2::SetVarHelpContext(). 2010-12-22 13:00:11 +01:00
Nikolay Sivov c395ae563e oleaut32: Basic parameter validation tests for some GetTypeInfo* methods. 2010-12-22 13:00:10 +01:00
Andrew Eikum b85cb1b865 oleaut32: Implement decoding for complex typedescs. 2010-08-23 11:51:39 +02:00
Andrew Eikum 6868fe8643 oleaut32: Implement ITypeInfo2::GetFuncDesc. 2010-08-23 11:51:33 +02:00
Andrew Eikum 3788a080cf oleaut32: Improve MEMBERID assignment in ICreateTypeInfo::LayOut. 2010-08-23 11:51:10 +02:00
Andrew Eikum 471475ec28 oleaut32: Properly mask size from funcdesc typedata.
The high word of a funcdesc's typedata[0] is used for other data and needs
to be masked out.
2010-08-23 11:50:53 +02:00
Andrew Eikum 7fcea36a82 oleaut32: Improve ITypeInfo::ReleaseTypeAttr. 2010-08-23 11:49:36 +02:00
Andrew Eikum 3f13a07b47 oleaut32: Implement ITypeInfo2::ReleaseFuncDesc. 2010-08-23 11:49:32 +02:00
Andrew Eikum 9d3e2f1b51 oleaut32: Implement ITypeInfo2::GetCustData. 2010-08-19 11:16:40 +02:00
Andrew Eikum 9c53c8e7b3 oleaut32: Ensure that CyclicList nodes have a type.
Some code checks against the type of a CyclicList node, so we should
make sure that it's always initialized.
2010-08-19 11:16:34 +02:00
Andrew Eikum a8dbeb1e60 oleaut32: Overwrite previous CustData segment.
This eliminates the diff between Wine's and Windows XP's generated TLB
files.
2010-08-19 11:16:25 +02:00
Andrew Eikum a0c0d2693d oleaut32: Use correct bitpattern if referenced type is not user defined.
This reduces the diff between the TLB file output by Wine and Windows XP
when running the typelib test module.
2010-08-19 11:16:20 +02:00
Michael Stefaniuc c165fd743c oleaut32: Use IsEqualGUID instead of memcmp to compare GUIDs. 2010-07-28 12:22:00 +02:00
Andrey Turkin 9fd7f392dc oleaut32: Better handle secondary type when generating type descriptors. 2010-07-20 14:40:31 +02:00
Andrey Turkin fe7e384e07 oleaut32: Add support for const variables. 2010-07-20 14:40:31 +02:00
Andrey Turkin eb03917935 oleaut32: Reuse existing function to encode custom data. 2010-07-20 14:40:31 +02:00
Andrey Turkin 234afb88e8 oleaut32: Don't rewrite name's hreftype. 2010-05-24 11:20:45 +02:00
Andrey Turkin 61dfc28b75 oleaut32: Store correct offset for imported files in ICreateTypeInfo::AddRefTypeInfo. 2010-05-24 11:20:00 +02:00
Andrey Turkin 9724c6d774 oleaut32: Fix ctl2_alloc_importfile offset calculations. 2010-05-24 11:19:41 +02:00
Andrey Turkin 16468517bb oleaut32: Set flag for retval params in ICreateTypeInfo::AddFuncDesc. 2010-05-17 13:17:05 +02:00
Andrey Turkin 5e4c16b348 oleaut32: Distinguish between variables and functions in ICreateTypeInfo functions. 2010-05-17 13:16:51 +02:00
Andrey Turkin 40b59afac8 oleaut32: Implement ICreateTypeInfo2::SetFuncCustData. 2010-05-17 13:16:00 +02:00
Andrey Turkin b4025a3ed1 oleaut32: Fix ICreateTypeLib2::SetFuncAndParamNames.
Getters and setters for same property can have an identical name
2010-05-17 13:15:34 +02:00