Commit Graph

1846 Commits

Author SHA1 Message Date
Jacek Caban 7fded88895 oleaut32: SysStringLen code clean up. 2012-05-01 15:28:53 +02:00
Jacek Caban d53bdeca62 oleaut32: Added BSTR cache implementation. 2012-04-30 10:59:27 +02:00
Daniel Lehman cc37abb658 oleaut32: Treat years 0 to 29 as 2000 to 2029 in VARIANT_RollUdate. 2012-04-19 13:44:52 +02:00
Michael Stefaniuc bb83794e28 oleaut32/tests: Compare the correct variants. 2012-04-16 12:05:49 +02:00
Alessandro Pignotti 25d6e9aee8 oleaut32: Avoid converting variants if it is not needed. 2012-03-16 13:02:49 +01:00
Huw Davies be4d45cacb oleaut32: Zero-init [out] only parameters. 2012-02-17 18:06:48 +01:00
Jeremy White 4f5271a17f oleaut32: When marshalling VT_CARRAY, only marshall by reference for appropriate types. 2012-02-15 11:56:35 +01:00
Huw Davies 0425a110d9 oleaut32: [restricted] members with negative dispids may still be called. 2012-02-07 09:34:22 -06:00
Nikolay Sivov a23dbc5dc5 oleaut32: Some tests for ITypeLib::FindName(), corrected parameter validation. 2012-01-26 21:27:59 +01:00
Alexandre Julliard 9422c19329 oleaut32/tests: Use a better invalid color for the olepicture icon test. 2012-01-23 16:07:41 +01:00
Hans Leidekker 110d96634b oleaut32: Handle negative offsets into the custom data table.
Fixes a crash in the Visio 2002 installer.
2012-01-17 13:59:03 +01:00
Francois Gouget 8375c8e003 oleaut32/tests: Dynamically load some functions that are missing on early NT4 releases. 2012-01-09 12:52:13 +01:00
Francois Gouget af3114a5c4 oleaut32/tests: Skip the VarBstrCat() tests when that API is not available.
For the early NT4 releases.
2012-01-09 12:52:13 +01:00
Francois Gouget 4f0104f887 oleaut32/tests: Once we have a function pointer, use it consistently. 2012-01-09 12:52:12 +01:00
Francois Gouget 6717f5445c oleaut32/tests: Skip some tests when OleLoadPictureEx() is not available.
For the early NT4 releases.
2012-01-09 12:52:12 +01:00
Francois Gouget b682e3b965 oleaut32/tests: Fix the olepicture START_TEST() indentation. 2012-01-09 12:52:12 +01:00
Francois Gouget 559cdbfc7c oleaut32/tests: Use win_skip() when detecting an API is missing. 2012-01-09 12:52:11 +01:00
Alexandre Julliard 1e0ab16069 oleaut32: Fix IPicture::SelectPicture to not try to select a bitmap into two DCs at the same time. 2011-12-16 17:40:33 +01:00
Frédéric Delanoy c55db752a2 oleaut32: Avoid hardcoding array lengths. 2011-11-23 09:11:29 +01:00
Frédéric Delanoy a7cb73d39e oleaut32: Avoid harcoding array lengths. 2011-11-21 11:05:04 +01:00
Marcus Meissner 49cade4b01 oleaut32: Use correct variable (Coverity). 2011-11-14 20:15:43 +01:00
Andrew Talbot c9a8d3bd89 oleaut32: Mark some fall-throughs in a switch statement. 2011-10-08 20:23:27 +02:00
Michael Stefaniuc 42ac8afe9a oleaut32/tests: Cleanup the EXPECTRES macros. 2011-10-08 17:37:24 +02:00
Michael Stefaniuc ef0a5a30c5 oleaut32/tests: Make the EXPECT_* macros that take no args more robust. 2011-10-08 17:37:12 +02:00
Michael Stefaniuc 38794b4ba0 oleaut32: Fix some VarCyFrom* tests.
Due to a broken EXPECTRES macro the EXPECT_OVERFLOW accepts S_OK return
values.
2011-10-08 17:36:47 +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 a2e5b50711 oleaut32/tests: Use FAILED instead of !SUCCEEDED. 2011-09-26 12:14:34 +02:00
Octavian Voicu 74a3d9ee5e oleaut32: Add tmarshal test with variant array and fix variant marshalled size calculation. 2011-09-21 18:39:54 +02:00
Michael Stefaniuc 22521b5809 oleaut32: COM cleanup in typelib2.c. 2011-09-02 10:44:23 +02:00
Octavian Voicu 8177b4793a oleaut32: Fix leak in typelib marshaler when invoking IDispatch methods. 2011-08-26 11:26:56 +02:00
Marcus Meissner 9d7219dfb9 oleaut32: Fixed buffer size to MBtoWC. 2011-08-25 11:31:54 +02:00
Jacek Caban 6ee95c7738 oleaut32: Correctly test VARIANT_BOOL value in VarCat. 2011-08-23 18:17:03 +02:00
Nikolay Sivov 2de8137f11 oleaut32: Use type names and sizeof() instead of hardcoded values for save/load methods. 2011-08-22 16:22:25 +02:00
Nikolay Sivov 1a7d52c907 oleaut32: Use strdupW to duplicate strings. 2011-08-22 16:22:05 +02:00
Nikolay Sivov 08f578a6c5 oleaut32: FONTDESC size field value is not important for OleCreateFontIndirect. 2011-08-22 16:21:32 +02:00
Nikolay Sivov 78ca68c854 oleaut32/tests: Clean result value checks. 2011-08-22 16:21:21 +02:00
Nikolay Sivov e800158ab0 oleaut32: Get rid of duplicated condition check. 2011-08-22 16:21:01 +02:00
Nikolay Sivov c69be3bfb9 oleaut32: Clean QueryInterface() method, turn impl. calls to interface calls. 2011-08-22 16:20:46 +02:00
Nikolay Sivov 92054ef01c oleaut32: Remove some useless comments and initializers. 2011-08-22 16:20:27 +02:00
Frédéric Delanoy 760faf01a9 tests: Assorted spelling fixes. 2011-08-04 18:27:37 +02:00
André Hentschel e1ae573de5 oleaut32/tests: Skip tests if typelib can't be registered. 2011-08-04 08:52:17 +02:00
Frédéric Delanoy 7e309601f3 dlls: Assorted spelling fixes. 2011-08-03 14:15:50 +02:00
Francois Gouget c21bfe4479 oleaut32: Fix the spelling of an internal structure field name. 2011-08-03 14:15:48 +02:00
Alexandre Julliard cde24ec095 oleaut32: Generate a few more coclass registrations from idl. 2011-08-02 23:25:17 +02:00
Alexandre Julliard 0d37433d65 oleaut32: Remove typelib registrations. 2011-08-02 20:47:48 +02:00
Alexandre Julliard df31247ede oleaut32: Specify the PSFactoryBuffer class in the idl files. 2011-08-01 17:20:46 +02:00
André Hentschel 862cc73fb4 oleaut32/tests: Only use interface if we succeeded in recreating it. 2011-08-01 11:07:06 +02:00
Alistair Leslie-Hughes d457956c58 oleaut32: Dont filter out VT_RECORD|VT_REF type in VariantCopyInd. 2011-07-20 19:23:04 +02:00
Alistair Leslie-Hughes 4b9b9b3be6 oleaut32: Correct ISupportErrorInfo clsid value. 2011-07-12 12:25:51 +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 5b80d1beea oleaut32: Unshadow cmp to make code work (Coverity). 2011-06-27 13:26:32 -05:00
Francois Gouget 30664aa091 oleaut32: Fix a typo in a documentation comment. 2011-06-13 11:32:39 +02:00
David Hedberg fd543f5aa3 oleaut32: Don't crash in wrapper if variant resides in read-only memory. 2011-05-31 19:43:48 +02:00
André Hentschel 1ec78b8105 oleaut32: Update OaBuildVersion. 2011-05-26 17:42:46 +02:00
Alexandre Julliard 25627ad445 oleaut32/tests: Remove some unnecessary constants. 2011-05-19 09:56:46 +02:00
Alexandre Julliard 38a797990c oleaut32: Reallocate in BSTR_UserUnmarshal to avoid changing the pointer if the string didn't change. 2011-05-18 11:35:17 +02:00
Marcus Meissner 37046546af oleaut32: Fixed offset calculation (Coverity). 2011-05-09 10:50:27 +02:00
Huw Davies da27bb5937 oleaut32/tests: Skip the named time tests for locales that use the 24 hour clock. 2011-05-04 17:26:47 +02:00
John Fremlin 66c42df02e oleau32: Stop incorrectly parsing dates in bogus YDM order in European locales. 2011-04-26 15:31:28 +02:00
Michael Stefaniuc 289005a79f oleaut32/tests: Use a proper static COM object. 2011-03-28 17:08:54 +02:00
Michael Stefaniuc 269f5bbe81 oleaut32: COM cleanup for the IPropertyPageSite iface. 2011-03-28 17:08:54 +02:00
Michael Stefaniuc 6fade2400a oleaut32/tests: COM cleanup in vartype.c. 2011-03-18 11:31:29 +01:00
Andrew Eikum 22cc547156 oleaut32: Convert ITypeLibImpl to use standard linked list. 2011-03-16 16:31:54 +01:00
Andrew Eikum 3d03a5e239 oleaut32: Convert TLBImpLib to use standard linked list. 2011-03-16 16:31:54 +01:00
Michael Stefaniuc 160c4f96a7 oleaut32/tests: COM cleanup in olepicture.c. 2011-03-15 17:14:07 +01:00
Andrew Eikum ec0a86002e oleaut32: Convert CustData to use standard linked lists. 2011-03-14 12:16:15 +01:00
Andrew Eikum 28fc129258 oleaut32: Use helper function to get CustData by GUID. 2011-03-14 12:16:04 +01:00
Andrew Eikum 517f5ba596 oleaut32: Convert TLBVarDesc to be stored as an array. 2011-03-11 11:44:12 +01:00
Andrew Eikum f76334fd3e oleaut32: Convert TLBImplType to be stored as an array. 2011-03-11 11:43:54 +01:00
Peter Schellenbach 2ecbfbe5df oleaut32: Fixed initial cyLogical value in IFont constructor. Fixed get_Size to return same value as Windows. 2011-03-10 16:30:09 +01:00
Austin English 651adc7fc8 oleaut32: Avoid shadowing a parameter. 2011-03-09 15:54:20 +01:00
Peter Schellenbach 99af2f56ba oleaut32: Corrected registration flag inversion in RegisterActiveObject. 2011-03-07 17:14:09 +01:00
Andrew Eikum 19fca2728b oleaut32: Convert TLBFuncDesc to be stored as an array. 2011-03-07 15:03:58 +01:00
Andrew Eikum b3e61a5661 oleaut32: Store ITypeInfoImpls in an array. 2011-03-07 15:03:13 +01:00
Marcus Meissner d9908d2abd oleaut32: Local variable goes out of scope via pointer (Coverity). 2011-03-04 16:26:00 +01:00
Nikolay Sivov f801abef48 oleaut32: Fix sizeof() usage (Coverity). 2011-02-25 11:09:31 +01:00
Austin English af0c217752 oleaut32/tests: Fix a couple of todo_wine's. 2011-02-25 11:08:03 +01:00
Austin English 28e1b942bd oleaut32/tests: Remove win9x hacks. 2011-02-25 11:07:57 +01:00
Huw Davies ac5e9812fd oleaut32: Fix the typelib marshaler when the vtbl has holes. 2011-02-24 15:49:27 +01:00
Huw Davies 060c8daf7f oleaut32: Mask off the lsb from the vtbl offset. This is set when the user specifies an offset in ICreateTypeInfo. 2011-02-24 15:49:27 +01:00
Peter Schellenbach 4f3b78797d oleaut32: Fixed short time & medium time named formats. 2011-02-22 16:49:40 +01:00
Alistair Leslie-Hughes f6b16ea774 oleaut32: Implement ITypeInfo_GetNames Stub/Proxy. 2011-02-22 12:49:40 +01:00
Austin English 00b8083b86 oleaut32/tests: Don't check return values inside of if(0) (LLVM/Clang). 2011-02-15 17:09:25 +01:00
Austin English fdf24a9406 oleaut32/tests: Remove dead assignments (LLVM/Clang). 2011-02-15 17:09:18 +01:00
Austin English 35c2ebd673 oleaut32/tests: Make sure return values are used (LLVM/Clang). 2011-02-15 17:09:09 +01:00
Austin English 3209f23c9d oleaut32/tests: Make sure return values are used (LLVM/Clang). 2011-02-15 17:09:02 +01:00
Austin English d38dfa133e oleaut32/tests: Make sure a return value is used (LLVM/Clang). 2011-02-15 17:08:54 +01:00
Austin English 81102327ef oleaut32/tests: Don't check return values inside of if(0) (LLVM/Clang). 2011-02-15 17:08:45 +01:00
Huw Davies 9e0e3a73d2 oleaut32: Implement proxy / stub for ITypeLib2_GetDocumentation2. 2011-02-11 14:52:49 +01:00
Huw Davies afeaaf3787 oleaut32: Implement proxy / stub for ITypeLib_GetDocumentation. 2011-02-11 14:52:45 +01:00
Huw Davies 1260bc8892 oleaut32: Implement proxy / stub for ITypeInfo2_GetDocumentation2. 2011-02-11 14:52:41 +01:00
Huw Davies 7cdc8bb418 oleaut32: Implement proxy / stub for ITypeInfo_GetDllEntry. 2011-02-11 14:52:36 +01:00
Huw Davies ef05072e27 oleaut32: Rewrite ITypeInfo_GetDocumentation proxy/stub to return only the information that is requested. 2011-02-10 10:28:01 -06:00
Austin English b8bf372e70 oleaut32/tests: Make sure return value is used (LLVM/Clang). 2011-02-10 10:28:00 -06:00
André Hentschel ba6bdf9fd6 oleaut32: Remove an unneeded error. 2011-02-09 13:49:06 -06:00
Austin English d2c4219c4d oleaut32/tests: Make sure return values are used (LLVM/Clang). 2011-02-08 13:42:14 -06:00
André Hentschel 1a37f6e940 oleaut32/tests: Add more safearray tests. 2011-02-08 09:04:13 -06:00
Nikolay Sivov 1dcf3f7aef oleaut32/tests: Fix a safearray leak (Valgrind). 2011-02-01 18:14:07 +01:00