Commit Graph

393 Commits

Author SHA1 Message Date
Rob Shearman a94265e5a9 oleaut32: Fix accessing beyond end of buffer and memory leak in test_DispCallFunc.
The parameter isn't automatically converted by DispCallFunc, so make
sure we pass in the correct size of memory for the function to store
its BSTR in.
2009-11-29 16:39:53 +01:00
Rob Shearman 87c47219ae oleaut32: Fix a reference count leak in NonOleAutomation_GetTypeInfo.
Also enable a test which now works in Wine.
2009-11-19 14:24:19 +01:00
Piotr Caban 1f7a07ebe3 oleaut32: Ignore milliseconds in VarDateFromUdate implementation. 2009-11-19 11:35:40 +01:00
Rob Shearman 6d7572c0e7 oleaut32: Unmarshall byref types correctly in IDispatch_Invoke_Proxy.
Byref arguments should only be passed in the rgVarRef array, not in
arg array. Copy the value into the rgVarRef array before calling the
remote function to ensure that memory isn't allocated for the byref
pointers during unmarshalling.
2009-11-18 11:15:27 +01:00
Rob Shearman 4c8eec346d oleaut32: Add a test for the memory pointed to by a byref parameter being preserved through a remote IDispatch::Invoke call. 2009-11-17 15:15:11 +01:00
Jeremy White b8d7088e88 oleaut32: Implement the ability to marshall VT_CARRAY's of user defined types. 2009-10-26 11:19:12 +01:00
Jeremy White 1e0b836712 oleaut32: StructArg tests cannot rely on an unpacked structure memcmp. 2009-10-26 11:17:41 +01:00
Wilfried Pasquazzo a00d2235aa oleaut32: Updated IPicture_Render testcase to pass on all older Windows. 2009-10-19 11:45:05 +02:00
Wilfried Pasquazzo 6a5bd0c2ed oleaut32: Respect size of icons when drawing with IPicture_Render. 2009-10-15 12:06:22 +02:00
Wilfried Pasquazzo 57b55a661d oleaut32/tests: Testcase for IPicture_Render with icons, check for drawing size and position. 2009-10-15 12:06:22 +02:00
Alexander Kochetkov ae4de9d695 oleaut32: Fix null terminator in SysReAllocStringLen. 2009-10-14 11:50:19 +02:00
Alexander Kochetkov b6da072551 oleaut32/tests: Checking null terminator in return value of SysReAllocStringLen. 2009-10-14 11:46:50 +02:00
Alexandre Julliard 6310ff1d7b oleaut32/tests: Fix some test failures on Win64. 2009-10-12 19:45:06 +02:00
Alexandre Julliard 4c184a8b88 oleaut32/tests: Skip a test that may crash on Win64. 2009-10-08 22:56:41 +02:00
Michael Stefaniuc 8b2723d48d oleaut32/tests: Use LONG instead of long. 2009-10-02 15:06:57 +02: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
André Hentschel 932976dcf5 oleaut32: Test for rolled hours and seconds. 2009-09-15 14:31:29 -05:00
André Hentschel a83f94afa2 oleaut32: Test for rolled minutes. 2009-09-10 10:49:27 +02:00
André Hentschel 4705d60ba1 oleaut32/tests: Add a testcase for vartype. 2009-09-08 13:06:46 +02:00
Vincent Povirk a9221d7688 oleaut32/tests: Add test for tlibattr->lcid. 2009-09-02 15:48:24 +02:00
Vincent Povirk 34f1d8a200 oleaut32: Handle LCID arguments in ITypeInfo::Invoke. 2009-09-02 15:48:14 +02:00
Vincent Povirk 80c870251f oleaut32: Make ITypeInfo2::GetCustData succeed when data is not found. 2009-08-26 12:09:25 +02:00
Vincent Povirk 3e542bc60e oleaut32: Map INT and UINT typedesc's to VT_I4 and VT_UI4. 2009-08-20 15:25:54 +02:00
Vincent Povirk 2ae20e45c7 oleaut32: Add test for INT and UINT property return values. 2009-08-20 15:25:44 +02:00
Alexandre Julliard ee868cce5b tests: Make wine_dbgstr_w available in test.h for all tests. 2009-08-19 13:19:31 +02:00
Alexandre Julliard a0b8ec0e1b oleaut32/tests: Fix the usrmarshal tests on 64-bit. 2009-07-10 19:13:16 +02:00
Hib Eris 3e5159e169 oleaut32: Prevent overflow in VarDecCmp. 2009-07-07 14:18:19 +02:00
Hib Eris eb8778f9a0 oleaut32/tests: Add tests for VarDecCmp. 2009-07-07 14:18:14 +02:00
Paul Vriens f57c603798 oleaut32/tests: Fix test failures and crash on Win9x/WinME. 2009-07-02 12:13:56 +02:00
Stefan Leichter 3ca49a10d8 oleaut32: Add two tests of function VarDateFromStr for German date format. 2009-06-30 12:31:32 +02:00
Huw Davies 4b0a6a18b2 oleaut32/tests: Add some tests for [lcid] parameters. 2009-06-17 17:23:21 +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
Paul Vriens 28d0487c24 oleaut32/tests: Fix some intermittent test failures on W98 and NT4. 2009-06-02 11:57:21 +02:00
Paul Vriens 31bb9219d6 oleaut32/tests: Spelling fixes. 2009-05-29 11:26:08 +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 1c75ab091c oleaut32/tests: Fix the tmarshal test on 64-bit. 2009-05-21 16:17:50 +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
Francois Gouget 1ef2f3844f oleaut32/tests: Replace realloc() with HeapReAlloc(). 2009-05-19 12:01:09 +02:00
Damjan Jovanovic b51d03125d oleaut32: Add a failing VarFormat test showing that wine wrongly truncates decimals with large negative exponents instead of rounding. 2009-05-18 12:32:15 +02:00
Damjan Jovanovic 80dfd00530 oleaut32: Strip trailing decimal zeroes when rounding a number in VarFormat. 2009-05-14 17:22:34 +02:00
Damjan Jovanovic 560e76ee38 oleaut32: fix a rounding bug in VarFormat. 2009-05-13 12:02:38 +02:00
Alexandre Julliard 8b7269e7e6 oleaut32/tests: Don't crash if ITypeInfo_GetTypeAttr fails. 2009-05-08 14:27:11 +02:00
Alexandre Julliard 4d30e7af47 oleaut32/tests: Use the correct allocator in the ClearCustData test. 2009-05-08 14:12:40 +02:00
Detlef Riekenberg 00703d0c2f oleaut32/tests: Replace lstrcpyW and lstrcatW with memcpy to fix failures on win95. 2009-04-20 17:19:58 +02:00
Detlef Riekenberg 6643049116 oleaut32: VarCat must use localized names for VT_BOOL. 2009-04-14 15:11:58 -05:00
Dmitry Timoshkov 69ec6b4c6d oleaut32: Add some additional tests for QueryPathOfRegTypeLib, make them pass under Wine. 2009-04-13 17:35:51 -05:00
Rob Shearman 47ae95ccce oleaut32: Fix the SAFEARRAY marshalling on 64-bit platforms.
The pointers should be written as NDR 4-byte fields instead of a
platform-dependent size.
2009-04-07 14:53:43 +02:00
Lei Zhang 25c2e283d8 oleaut32: Fix some corner cases in VarBstrCmp. 2009-03-24 14:07:50 +01:00