Commit Graph

518 Commits

Author SHA1 Message Date
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
Michael Stefaniuc 366a92146d oleaut32/tests: Standardize the COM usage in tmarshal.c. 2010-12-21 15:49:43 +01:00
Nikolay Sivov 495792e228 oleaut32/varformat: Fix day string representation format output. 2010-12-20 12:47:38 +01:00
Michael Stefaniuc 6c94cdc903 oleaut32/tests: Use an iface instead of an vtbl pointer in IRecordInfoImpl. 2010-12-14 13:24:33 +01:00
Nikolay Sivov cb0d7276c1 oleaut32/tests: Some VarDateFromStr() tests. 2010-11-29 11:23:41 +01:00
Alexandre Julliard 4e94fd5567 oleaut32: Fix the overflow check in VarNumFromParseNum.
Spotted by Adam Martinson.
2010-11-17 14:01:16 +01:00
Adam Martinson 5d7aac8c38 oleaut32/tests: Test VT_BSTR => VT_UI8 at upper limit. 2010-11-17 14:01:15 +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
Nikolay Sivov 71a3fe3c94 oleaut32: Remove some useless null checks. 2010-10-25 12:41:41 +02:00
Nikolay Sivov b08d3d2656 oleaut32: Fix multidimensional SAFEARRAY marshalling. 2010-10-19 10:58:19 +02:00
Jeremy Drake c8a4983ed9 oleaut32: Fix handling of negative fractional variant dates.
The integer part is the number of days to be added to the epoch
(1899-12-30), and the fractional part (disregarding sign) represents
the fraction of that day that has elapsed.
2010-10-07 12:00:28 +02:00
Jeremy Drake 25118e5383 oleaut32/tests: Test conversion of ambiguous DATE values.
For 0.0 < x < 1.0, DATE values x and -x represent the same date/time:
30-Dec-1899 at some time determined by x.  When converting from DATE,
either value is accepted.  When converting to DATE, the positive value
is produced.
2010-10-07 12:00:28 +02:00
Jeremy Drake 293b8be4e1 oleaut32/tests: Added tests for negative fractional variant dates. 2010-10-04 15:00:07 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Alexandre Julliard 70103aadc8 oleaut32/tests: Fix a pointer cast warning. 2010-09-01 14:01:04 +02: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
Nikolay Sivov f7b2add8d9 oleaut32/olepicture: Remove out pointer check in OleCreatePictureIndirect, it should crash. 2010-08-25 11:59:27 +02:00
Francois Gouget 88cae5d4c7 Assorted spelling fixes. 2010-08-24 15:22:35 +02:00
Nikolay Sivov 99863b02ba oleaut32/olepicture: Properly round while performing pixels->himetric units conversion. 2010-08-23 13:37:02 +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
Michael Stefaniuc bd132fed1e oleaut32/tests: Use IsEqualIID instead of memcmp to compare REFIIDs. 2010-07-23 11:46:34 +02:00
Michael Stefaniuc e5cb4fde64 oleaut32: Remove the ignored common resource attributes. 2010-07-22 11:41:40 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +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
Vincent Povirk 6799aaf34a oleaut32: Add test for dibs vs. ddbs in IPicture. 2010-07-19 11:10:01 +02:00
Francois Gouget 7649c75b40 Assorted typo and spelling fixes. 2010-06-24 10:37:05 +02:00
Alexandre Julliard a2791a0919 oleaut32: Fix handling of 'c' format for non-date variants in VarTokenizeFormatString. 2010-06-08 16:35:22 +02:00
Nikolay Sivov 9a5098bbb4 oleaut32: Copy bytes instead of WCHARs in VarBstrCat. 2010-06-01 11:04:11 +02:00
Gerald Pfeifer dbd2e8cb34 oleaut32/tests: Remove variable rValid which is not really used from test_VarMod. 2010-05-25 12:03:12 +02:00
Andrew Nguyen b8fb1c97a1 oleaut32/tests: Update a comment about PNG support in OLE picture tests. 2010-05-20 16:48:37 +02:00
Andrew Nguyen 96dbdcb8c9 oleaut32: Implicitly initialize COM in OleLoadPicturePath. 2010-05-20 16:48:37 +02:00
Andrew Nguyen 61f7f77636 oleaut32: Convert file URLs to DOS paths for special handling in OleLoadPicturePath.
File URLs cannot be used in the moniker code path, as binding to the IStream interface is not possible.
2010-05-20 16:48:37 +02:00
Andrew Nguyen dc13339988 oleaut32: Improve parameter validation in OleLoadPicturePath. 2010-05-20 16:48:37 +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
Gerald Pfeifer b98f916dae oleaut32/tests: Remove variable changed which is not really used from test_SysReAllocStringLen. 2010-05-10 13:44:17 +02:00
André Hentschel 7b66e1aeeb oleaut32: Check if the delimiter is a date delimiter. 2010-05-08 13:12:33 +02:00
Gerald Pfeifer 9c3729795f oleaut32/tests: Remove variable expectedhres which is not really used from test_VarDiv. 2010-05-03 15:41:59 +02:00
Gerald Pfeifer 14bf2dd2b6 oleaut32: Remove two variables that are not really used; corresponding checks are disabled. 2010-04-22 12:12:05 +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