Commit Graph

1468 Commits

Author SHA1 Message Date
Huw Davies 7e42fd8b4e oleaut32: If the font name property is changed, don't insist on the current charset when selecting a new font. 2010-02-02 12:00:25 +01:00
Huw Davies cf602ca422 oleaut32: Realize the font in getter functions. 2010-02-02 12:00:17 +01:00
André Hentschel 1b51c21fb3 oleaut32: Rewrite RollUdate to be easier to change and to support more conversions. 2010-02-02 11:59:28 +01:00
Huw Davies 7aaaf738ec oleaut32: Fix font handle lifetimes. 2010-02-01 15:40:58 +01:00
Huw Davies 439d585218 oleaut32: Add tests to explore the lifetime of font handles. 2010-02-01 15:39:44 +01:00
Huw Davies ad9843faab oleaut32: Fix an ole font leak. 2010-02-01 15:39:33 +01:00
Michael Stefaniuc 8b9ae4d35f oleaut32: The Ukrainian translation is in UTF8. 2010-02-01 12:00:03 +01:00
Igor Paliychuk 0076d8663a oleaut32: Add Ukrainian translations. 2010-01-29 13:30:04 +01:00
André Hentschel 0e1bc3ef2b oleaut32/tests: Add tests for backrolled time. 2010-01-28 11:07:42 +01:00
André Hentschel 2e48ecd924 oleaut32/tests: Add a test for DosTime. 2010-01-28 11:07:37 +01:00
André Hentschel 571b7a5a3a oleaut32: Fix a crash in VB6. 2010-01-25 18:05:03 +01:00
Aric Stewart 9a9c075ee9 oleaut32: Do not crash in logging if string is NULL. 2010-01-20 20:06:47 +01:00
Nikolay Sivov 88472df473 oleaut32/tests: Fix some leaks in safearray tests. 2010-01-07 19:41:33 +01:00
Huw Davies 7f175bd47c oleaut32: Fix several memory leaks in the tests.
Found by Valgrind.
2009-12-18 11:43:00 +01:00
Jeremy White 229fbad9ca oleaut32/tests: Adjust new tests to pass on win9x platforms. 2009-12-18 11:42:50 +01:00
Piotr Caban 7e3fd4e3c6 oleaut32: Fix SysReAllocStringLen implementation. 2009-12-16 13:04:34 +01:00
Huw Davies d83cf1af0f oleaut32: Fix a memory leak.
Found by Valgrind.
2009-12-16 12:42:40 +01:00
Huw Davies 487dc6b639 oleaut32: Fix memory leaks in the tests.
Found by Valgrind.
2009-12-16 12:42:40 +01:00
Huw Davies 08760936e4 oleaut32: Fix a leak in the tests.
Found by Valgrind.
2009-12-15 16:25:03 +01:00
Huw Davies 0535a2d39c oleaut32: Fix a memory leak in the tests.
Found by Valgrind.
2009-12-15 16:09:13 +01:00
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