Commit Graph

1800 Commits

Author SHA1 Message Date
Daniel Jelinski 971a66e912 oleaut32: Added support for loading cursors in OLEPicture. 2012-05-07 11:42:19 +02:00
Jacek Caban 2217e42c9d oleaut32: Added warn+heap support for cached BSTRs. 2012-05-02 20:14:04 +02:00
Jacek Caban 4eebe0bcf0 oleaut32: Use a struct for internal BSTR representation to avoid pointer magic. 2012-05-02 20:13:57 +02:00
Jacek Caban ab509cde5e oleaut32: SysStringByteLen code clean up. 2012-05-01 15:29:08 +02:00
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