Commit Graph

189 Commits

Author SHA1 Message Date
Andrew Eikum a8ebda9801 oleaut32: For 64-bit, fallback on the win32 key if win64 key is empty for typelibs. 2013-10-16 20:49:26 +02:00
Andrew Eikum fbffa8935e oleaut32: Also register typelibs in the opposite registry mode. 2013-10-16 20:49:26 +02:00
Frédéric Delanoy dba4e004ed oleaut32/tests: Use BOOL type where appropriate. 2013-10-02 11:06:49 +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
Francois Gouget 51e717345b oleaut32/tests: Fix compilation on systems that don't support nameless unions. 2013-09-13 00:17:53 +02:00
Andrew Eikum 6b4f43e8e6 oleaut32: Don't crash on NULL string arguments. 2013-09-10 17:31:49 +02:00
Andrew Eikum cb1f4c5387 oleaut32: Apply TKIND_DISPATCH changes to FUNCDESC results from ITypeComp::Bind. 2013-09-06 17:25:08 +02:00
Piotr Caban a2ea406eee oleaut32: Add ICreateTypeInfo2::SetVarName implementation. 2013-09-05 13:18:22 +02:00
Francois Gouget a205171b4f oleaut32/tests: Add a trailing '\n' to a couple of ok() calls. 2013-08-28 20:23:47 +02:00
Piotr Caban 6ab3ba1373 oleaut32: Fix memory leaks in typelib tests. 2013-08-28 11:36:51 +02:00
Andrew Eikum 810ec233c0 oleaut32: Implement ICreateTypeInfo::SetTypeDescAlias. 2013-08-27 21:30:02 +02:00
Nikolay Sivov a1e28f70d1 oleaut32/tests: Some tests for QueryPathOfRegTypeLib() with activated context. 2013-08-23 10:41:08 +02:00
Nikolay Sivov 0473a072dd oleaut32/tests: Some tests for LoadRegTypeLib() with activated context. 2013-08-22 20:03:18 +02:00
Andrew Eikum b6bfd6d32e oleaut32: Assign MEMBERIDs to vardescs without one. 2013-08-19 11:29:27 +02:00
Andrew Eikum f66523abee oleaut32: Correct version byte order. 2013-08-19 11:29:09 +02:00
Andrew Eikum 6c45e6fea3 oleaut32/tests: Test all supported SYSKINDs. 2013-08-15 16:23:58 +02:00
Andrew Eikum 3821eaf391 oleaut32/tests: Add save/load tests for created typelibs. 2013-08-15 16:23:49 +02:00
Piotr Caban eb5c9707b5 oleaut32: Store hreftype associated with guid while saving typelib. 2013-07-31 22:26:57 +02:00
Andrew Eikum 2fa16df551 oleaut32: Load referenced typelibs in the same architecture. 2013-06-24 11:43:00 +02:00
Andrew Eikum 90e72d2d49 oleaut32: Implement ICreateTypeInfo::SetFuncAndParamNames. 2013-05-30 10:56:26 +02:00
Francois Gouget 440e936abe oleaut32/tests: Add a trailing '\n' to a couple of ok() calls. 2013-05-29 11:25:40 +02:00
Tatyana Fokina 97f501bec3 oleaut32: Ignore NULL ppTLib/pIndex in ITypeInfo2_fnGetContainingTypeLib. 2013-05-28 19:47:53 +02:00
Piotr Caban 3f7c07f560 oleaut32: Add support of VT_USERDEFINED arguments with default value in AddFuncDesc. 2013-04-09 15:26:14 +02:00
Piotr Caban fc456a3fea oleaut32: Add support for VARIANT arguments with default value in AddFuncDesc. 2013-04-09 15:26:12 +02:00
Piotr Caban cd9bbd64e8 oleaut32: Fixed setting oVft value in ITypeInfo2::GetFuncDesc. 2013-04-09 15:26:12 +02:00
Jacek Caban 88367a3c58 oleaut32: Return error if VT_HRESULT is used as return type in DispCallFunc. 2013-02-12 15:01:55 +01:00
Nikolay Sivov 7f8825085d oleaut32: Added a test for prop getter invocation with different flags. 2012-12-14 19:01:36 +01:00
Jacek Caban 5a31c1a881 oleaut32/tests: Use proper helpers for iface calls. 2012-08-13 16:28:47 +02:00
Nikolay Sivov a23dbc5dc5 oleaut32: Some tests for ITypeLib::FindName(), corrected parameter validation. 2012-01-26 21:27:59 +01:00
Austin English 3209f23c9d oleaut32/tests: Make sure return values are used (LLVM/Clang). 2011-02-15 17:09:02 +01:00
Nikolay Sivov 0fc4e7b17c oleaut32/tests: Fix a string leak (Valgrind). 2011-01-17 12:48:41 +01:00
David Hedberg 900c5cde69 oleaut32: Make ITypeComp::BindType case-insensitive. 2011-01-11 16:05:46 +01:00
David Hedberg 454b1fca24 oleaut32: Handle NULL arguments to ITypeComp::BindType. 2011-01-11 16:05:45 +01:00
Nikolay Sivov 4e17e38aa2 oleaut32/tests: Cleanup some test macros. 2011-01-03 16:45:59 +01:00
Nikolay Sivov b421934ead oleaut32: Implement ICreateTypeInfo2::SetVarDocString(). 2010-12-31 11:45:25 +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 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 6408679e44 oleaut32: Fix GetLibAttr for null argument, plus error handling. 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
Nikolay Sivov 18a7152270 oleaut32/tests: Test return value without macros. 2010-12-22 13:00:10 +01:00
Jacek Caban 9de2ed97c9 oleaut32: Added LoadTypeLib failure test. 2010-11-15 19:29:17 +01:00
Andrew Eikum c0f120db5d oleaut32: Search inherited interfaces again in ITypeComp::Bind. 2010-11-10 12:13:39 +01:00
Francois Gouget b462bc223a oleaut32/tests: Fix compilation on systems that don't support nameless unions. 2010-08-30 11:26:46 +02:00
Alexandre Julliard a0a4667fde oleaut32: Add tests for DispCallFunc and fix a number of corner cases. 2010-08-26 12:35:31 +02:00
Francois Gouget 88cae5d4c7 Assorted spelling fixes. 2010-08-24 15:22:35 +02: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
Jacek Caban 7d7586d358 oleaut32: Try both SYS_WIN64 and SYS_WIN32 syskind in QueryPathOfRegTypeLib on win64. 2010-08-20 13:21:01 +02:00
Andrew Eikum 9d3e2f1b51 oleaut32: Implement ITypeInfo2::GetCustData. 2010-08-19 11:16:40 +02:00
Andrew Nguyen ce8c450d83 oleaut32/tests: Test typelib registration in the user registry. 2010-07-30 14:59:42 +02:00
Alexandre Goujon 14db6a802c oleaut32/typelib: Fix ITypeInfo_Invoke with restricted keyword. 2010-07-20 12:35:51 +02:00
Andrew Eikum 3173305e88 oleaut32: Don't fail if member is missing in ITypeComp::Bind. 2010-07-19 14:38:17 +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
Andrey Turkin 57c784e205 oleaut32: Implement ITypeInfo::GetDocumentation. 2010-05-17 13:15:21 +02:00
Andrey Turkin 658209b571 oleaut32: Implement ICreateTypeInfo2::SetCustData method. 2010-05-10 18:20:37 +02:00
Paul Vriens 84e6bf9971 oleau32/tests: Fix test failures on Win9x/WinMe by using more A-functions. 2010-04-12 11:28:13 +02:00
Alexandre Julliard e11f637c57 oleaut32: Fix a couple of typelib test failures on 64-bit. 2010-04-07 13:09:49 +02:00
Huw Davies adeba6ee80 oleaut32: Only oleautomation interfaces as well as all dispinterfaces should be registered. 2010-04-01 18:12:58 +02:00
Francois Gouget 5ca6d9b5be oleaut32/tests: Fix compilation on systems that don't support nameless unions. 2010-03-29 11:45:31 +02:00
Piotr Caban cca98c460d oleaut32/tests: Make tests working on older systems, prevent crash on some wine boxes. 2010-03-18 11:14:23 +01:00
Piotr Caban 45306f8671 oleaut32: Improve ITypeInfo2 GetTypeAttr implementation. 2010-03-18 11:14:17 +01:00
Piotr Caban aecd956b7e oleaut32: Improved ICreateTypeInfo AddFuncDesc implementation. 2010-03-16 11:48:48 +01:00
Piotr Caban e119aceb7c oleaut32: Fix some reference leaks. 2010-03-16 11:48:22 +01:00
Piotr Caban 3c747fec50 oleaut32: Added ICreateTypeInfo2_SetFuncHelpContext implementation. 2010-03-16 11:48:16 +01:00
Piotr Caban eb15921ff5 oleaut32: Improve dual interfaces creation in typelib. 2010-03-16 11:48:10 +01:00
Piotr Caban d9fd33e3a9 oleaut32: Improve TypeInfos with changed TypeKind handling. 2010-03-16 11:48:04 +01:00
Vincent Povirk da409d6a7b oleaut32: Return type mismatch errors in ITypeLibComp_fnBind. 2010-03-15 15:53:59 +01:00
Paul Vriens 13762e233d oleaut32/tests: Don't add typelib information to the registry. 2010-03-15 13:28:23 +01:00
Piotr Caban ccdafdb9c3 oleaut32: Update TypeInfo flags when object inherits IDispatch. 2010-02-25 16:00:40 +01:00
Piotr Caban 247b11e046 oleaut32: Added ITypeLib2_GetDocumentation implementation. 2010-02-25 16:00:33 +01:00
Piotr Caban 177d7aac3d oleaut32: Added ITypeLib2_GetLibAttr implementation. 2010-02-25 16:00:20 +01:00
Piotr Caban 77e1b7a13f oleaut32: Added implementation of ITypeInfo2_GetRefTypeOfImplType. 2010-02-24 15:16:00 +01:00
Piotr Caban 3183786367 oleaut32: Added implementation of ITypeInfo2_GetImplTypeFlags. 2010-02-24 15:15:57 +01:00
Piotr Caban 69579b0449 oleaut32/tests: Remove incorrect test.
This test is crashing on some systems.
2010-02-24 15:15:54 +01:00
Piotr Caban ea6b690f82 oleaut32: Improve TKIND_COCLASS handling while creating typelib. 2010-02-24 15:15:49 +01:00
Piotr Caban b6cf636c6e oleaut32: Added implementation of ITypeInfo2_fnGetTypeAttr. 2010-02-24 15:15:42 +01:00
Piotr Caban 456de20085 oleaut32/tests: Added more typelib creation tests. 2010-02-23 12:09:10 +01:00
Piotr Caban 3647c337a9 oleaut32: Improved ICreateTypeInfo2_AddRefTypeInfo implementation. 2010-02-23 12:08:44 +01:00
Piotr Caban 6ebe1ec4d3 oleaut32/tests: Added VT_PTR tests in function arguments. 2010-02-23 12:07:37 +01:00
Piotr Caban 3102176ceb oleaut32: Improved ICreateTypeInfo2_SetFuncAndParamNames implementation. 2010-02-23 12:07:32 +01:00
Piotr Caban e68c7cf709 oleaut32: Added VT_BSTR handling to ctl2_add_default_value. 2010-02-23 12:07:27 +01:00
Piotr Caban f42a73d01f oleaut32: Added more arguments with default values handling. 2010-02-23 12:07:22 +01:00
Piotr Caban 4f555e3cc2 oleaut32: Added partial ICreateTypeInfo2_AddFuncDesc arguments with default values handling. 2010-02-23 12:07:07 +01:00
Piotr Caban bf0815424b oleaut32: Added MEMBERID_NIL handling to ICreateTypeInfo_LayOut. 2010-02-22 12:02:22 +01:00
Piotr Caban 1dda40deb2 oleaut32: Improved ICreateTypeInfo2_fnAddFuncDesc implementation. 2010-02-22 12:02:08 +01:00
Piotr Caban 1f2590be9b oleaut32: Return TYPE_E_NAMECONFLICT in ICreateTypeLib2::CreateTypeInfo. 2010-02-17 16:31:09 +01:00
Piotr Caban 2c911147b9 oleaut32: Fix crash in LoadTypeLib if typelib name is not specified. 2010-02-17 16:31:01 +01:00
Huw Davies 7f175bd47c oleaut32: Fix several memory leaks in the tests.
Found by Valgrind.
2009-12-18 11:43:00 +01:00
Vincent Povirk 03683b2530 oleaut32: Use DISPATCH_HREF_MASK even for non-dual dispatch types. 2009-09-16 15:36:35 -05:00
Vincent Povirk 004ad9af10 oleaut32: Add test for HREFTYPE's from inherited methods. 2009-09-16 15:36:22 -05:00
Vincent Povirk 80c870251f oleaut32: Make ITypeInfo2::GetCustData succeed when data is not found. 2009-08-26 12:09:25 +02:00
Huw Davies d84693cc29 oleaut32: Calling SetLcid with LOCALE_NEUTRAL is a special case which sets the first header lcid to US English and the second one to 0. 2009-06-11 11:45:51 +02:00
Alexandre Julliard 6194cf888d oleaut32/tests: Fix a test broken on XP 64. 2009-05-25 11:49:08 +02:00
Alexandre Julliard cdf8aeb0c8 oleaut32/tests: Fix some pointer sizes in typelib tests for 64-bit. 2009-05-21 16:17:51 +02:00
Alexandre Julliard 538c706787 oleaut32/tests: Fix some pointer sizes in typelib tests for 64-bit. 2009-05-21 16:17:50 +02:00
Alexandre Julliard 8b7269e7e6 oleaut32/tests: Don't crash if ITypeInfo_GetTypeAttr fails. 2009-05-08 14:27:11 +02:00