Francois Gouget
9164fc24a6
oleaut32/tests: Make test_DispGetParam() static.
2009-12-14 12:04:05 +01:00
Huw Davies
663e11b256
oleaut32: Fix a memory leak in the tests.
...
Found by Valgrind.
2009-12-14 12:04:04 +01:00
Jeremy White
04a2102428
oleaut32: Use wire sizes for marshaled safe arrays of bstrs and variants; fixes a test failure on win64.
2009-12-11 17:47:30 +01:00
Jeremy White
5284baa82b
oleaut32/tests: Check the actual size of safe arrays marshaled, not just projected size.
2009-12-11 17:47:30 +01:00
Jeremy White
6401720daf
oleaut32/tests: Avoid a memory leak; spotted by Valgrind.
2009-12-11 17:47:29 +01:00
Huw Davies
026576995e
oleaut32: Fix double-free in tests.
...
Found by Valgrind.
2009-12-11 17:47:29 +01:00
Nikolay Sivov
7f9d5aad7c
oleaut32/tests: Fix a couple of leaks in tests.
2009-12-11 17:47:29 +01:00
Jeremy White
7e0c4fa404
usrmarshal: Add a test for marshalling a SAFEARRAY of VT_BSTR.
2009-12-10 11:54:08 +01:00
Huw Davies
0099431f08
oleaut32: Fix several memory leaks in tests.
...
Found by Valgrind.
2009-12-07 14:18:27 +01:00
Huw Davies
6f4ad21b9d
oleaut32: Fix a couple of memory leaks in the tests.
...
Found by Valgrind.
2009-12-07 14:18:24 +01:00
James Hawkins
89b2cde891
oleaut32: Report the parameter index for any failure in DispGetParam.
2009-12-07 09:49:06 +01:00
James Hawkins
02dcc19854
oleaut32: Add tests for DispGetParam. Fix two issues that crashed the tests.
2009-12-07 09:49:06 +01:00
Rob Shearman
f7624cbfbc
oleaut32: Remove LPVOID variables in olefont tests and pass IFont pointers into OleCreateFontIndirect directly.
...
In many places the assignment of the LPVOID variable into the
corresponding IFont * variable has been forgotten.
2009-12-01 15:10:37 +01:00
Rob Shearman
4f73fe3a09
oleaut32: Free the correct pointer on error in TLB_AllocAndInitVarDesc.
2009-11-29 16:42:20 +01:00
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
489b73dd9e
oleaut32: Fix size of memory allocated for byrefs in VARIANT_UserMarshal.
2009-11-29 16:37:10 +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
Rob Shearman
2a42f42951
oleaut32: Fix memory leak of name in ITypeLib2_Constructor_MSFT.
2009-11-19 14:24:11 +01:00
Rob Shearman
8a5886efad
oleaut32: Fix circular reference counting in typelibs/typeinfos.
...
Do not rely on the reference count of ITypeInfo's to go to zero to
delete them. Instead only rely on the parent typelib's reference
count, but update the parent typelib's reference count based on
whether each typeinfo has a valid reference.
2009-11-19 14:24:05 +01:00
Piotr Caban
1f7a07ebe3
oleaut32: Ignore milliseconds in VarDateFromUdate implementation.
2009-11-19 11:35:40 +01:00
Rob Shearman
99d9983b61
oleaut32: Fix memory leaks in ITypeInfo_fnInvoke.
2009-11-18 11:15:39 +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
Rob Shearman
9cffed2c75
oleaut32: Make BSTR and VARIANT marshalling for typelibs use the user marshalling functions.
...
Remove now redundant cases in serialize_param and deserialize_param.
2009-11-16 11:39:52 +01:00
Rob Shearman
8bd2d5395d
oleaut32: Fix memory leaks in LPSAFEARRAY and VT_CARRAY marshalling.
2009-11-16 11:39:45 +01:00
Rob Shearman
b5139f45b3
oleaut32: Zero initialize the stack used on the server side of typelib marshalling.
...
This is needed to allow for NDR marshalling rules in reusing memory on
the client side.
2009-11-16 11:39:39 +01:00
Sunil Mohan Adapa
ffb2cfc29e
oleaut32: Update comment about a newly seen value in SLTG TypeLib.
2009-11-10 15:18:06 +01:00
Sunil Mohan Adapa
59ae1705ac
oleaut32: Do no check for dispatchable flag on dual interfaces.
2009-11-10 15:18:06 +01:00
Sunil Mohan Adapa
926b884cd6
oleaut32: Fix SLTG parser so that dual interfaces are returned as IDispatch first.
2009-11-10 15:18:05 +01:00
Sunil Mohan Adapa
05b2426031
oleaut32: Fix SLTG parser so that dispatch interface can inherit another interface.
2009-11-10 15:18:05 +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
2a1114f805
oleaut32: Avoid floating point for some VarCy conversions.
2009-10-09 11:39:17 +02:00
Alexandre Julliard
4c184a8b88
oleaut32/tests: Skip a test that may crash on Win64.
2009-10-08 22:56:41 +02:00
Alexandre Julliard
ceac768adf
oleaut32: Use an assembly wrapper to implement DispCallFunc, and make it i386-only.
2009-10-06 16:12:35 +02:00
Michael Stefaniuc
8b2723d48d
oleaut32/tests: Use LONG instead of long.
2009-10-02 15:06:57 +02:00
Alexandre Julliard
9cb140c43d
oleaut32: Use the appropriate PSFactoryBuffer guid when registering interfaces.
2009-09-23 14:32:01 +02:00
Alexandre Julliard
6e2babc977
oleaut32: Properly register the stdole typelibs.
2009-09-23 14:28:13 +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
Vincent Povirk
9abdf54cb7
oleaut32: Implement ITypeLibComp::BindType.
2009-09-10 10:50:22 +02: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