Commit Graph

160 Commits

Author SHA1 Message Date
Huw Davies 1f34fdffee ole32: CoGetInterfaceAndReleaseStream shouldn't crash when passed a NULL stream. 2006-11-22 11:38:57 +01:00
Huw Davies 241336c749 ole32: CoRegisterMessageFilter shouldn't crash on an uninitialized apartment. 2006-11-16 22:09:24 +01:00
Francois Gouget 49ad2b10c1 ole32/tests: Don't use the NONAMELESS* macros in the tests. 2006-11-13 12:59:11 +01:00
Eric Pouech 3026d8844c ole32: Don't use PropVariantClear to setup an unitialized variant. 2006-11-09 12:24:46 +01:00
Michael Stefaniuc 22befac97e ole32: Fix the warnings introduced by the "unsigned long" to "ULONG" header changes. 2006-11-09 10:43:38 +01:00
Rob Shearman e1ee3b4de3 ole32: Fix some memory leaks in the marshal tests. 2006-10-23 15:18:05 +02:00
Francois Gouget 22288de732 Fix compilation with gcc 2.95. 2006-10-19 13:35:19 +02:00
Francois Gouget ef998ea6cb Assorted spelling fixes. 2006-10-16 11:33:38 +02:00
Michael Stefaniuc 15765dd953 The Data1 member of the GUID struct needs to be an unsigned int too for Win64 compatibility. 2006-10-16 10:53:04 +02:00
Michael Ploujnikov 9d2a804f9b ole32/tests: Win64 printf format warning fixes. 2006-10-14 20:17:16 +02:00
Jacek Caban 2abe8348fa ole32: Don't fail in OleCreate if created object doesn't implement IRunnableObject or IOleChache. 2006-10-09 12:43:57 +02:00
Francois Gouget 38520a819c Assorted spelling fixes. 2006-10-03 15:56:21 +02:00
Francois Gouget d0b322b00f ole32: Fix invalid macro usage. 2006-09-29 17:53:01 +02:00
Francois Gouget 87045eb0c5 Fix rpcndr.h so it takes CONST_VTABLE into account.
Define CONST_VTABLE in the tests that need it. This fixes many Visual C++ warnings.
2006-09-29 17:52:27 +02:00
Michael Stefaniuc 85ce5117c5 Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int. 2006-09-29 16:08:30 +02:00
Andrey Turkin 63f88b3d57 ole32: StgOpenStorage on non-existent file should create it (with test). 2006-09-28 14:14:59 +02:00
Alexandre Julliard 335144dc04 ole32/tests: Avoid using sizeof in a trace. 2006-09-27 20:54:05 +02:00
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Robert Shearman bfc1bdc3bb ole32: Fix the IStream_SetSize function for HGLOBAL streams to ignore HighPart. 2006-09-11 12:27:15 +02:00
Robert Shearman 83f13d6b99 ole32: Make an ok message match the name of the function it is testing. 2006-09-11 12:27:07 +02:00
Robert Shearman 355903ddc4 ole32: Fix the return value of the HGLOBAL stream IStream_LockRegion function. 2006-09-11 12:27:04 +02:00
Robert Shearman a552c2ead7 ole32: Fix the HGLOBAL stream IStream_Read function to return S_OK even if not all of the requested bytes were available. 2006-09-11 12:26:58 +02:00
Robert Shearman e10103e3ec ole32: Add tests for the stream object returned by CreateStreamOnHGlobal. 2006-09-11 12:25:01 +02:00
Francois Gouget 06f9532dda Assorted spelling fixes. 2006-09-08 11:04:53 +02:00
Robert Shearman 03510be55b ole32: Add a test for OleLoad. 2006-09-07 11:43:41 +02:00
Robert Shearman da321acf0e ole32: Add tests for OleCreate. 2006-09-07 11:43:16 +02:00
Robert Shearman 0e99d795b7 ole32: Add some more tests for failure cases of Co* functions and make builtin ole32 pass them. 2006-08-16 16:42:01 +02:00
Robert Shearman 31726e3823 ole32: Add tests for the failure cases of CLSIDFromProgID and fix the function to conform to these. 2006-08-16 16:41:47 +02:00
Andrew Talbot 6bb8a7f726 ole32/tests: Write-strings warnings fix. 2006-08-03 22:22:55 +02:00
Mike McCormack 24e69d544b ole32: Add a test showing what STGM_TRANSACTED does for streams. 2006-07-31 10:53:15 +02:00
Mike McCormack d9bfbe9197 ole32: Add a test for IEnumSTATSTG. 2006-07-29 11:55:39 +02:00
Robert Shearman 2308d49bcb ole32: Implement CoRegisterPSClsid. 2006-07-21 10:52:03 +02:00
Robert Shearman fac6bedda9 ole32: Improve CoRegisterMessageFilter and add tests for it. 2006-07-17 13:43:47 +02:00
Robert Shearman 69e10bf1ed ole32: Add validation of parameters to CoGetClassObject and make sure to initialise ppv to NULL. 2006-07-14 12:38:44 +02:00
Mike McCormack 6a15ac7f0a ole32: Only return S_FALSE in IPropertyStorage::ReadMultiple if a property was not found. 2006-07-12 19:30:06 +02:00
Mike McCormack ac01692523 ole32: Fix and test reading and writing of VT_CF properties. 2006-07-12 19:28:24 +02:00
Mike McCormack d323acc23b ole32: Fix conformance test to compile with MSVC6. 2006-07-12 13:17:41 +02:00
Alexandre Julliard 0fa8baafcb make_dlls: Recursively ignore .ok files in all tests directories. 2006-07-10 21:26:50 +02:00
Alexandre Julliard edd100b899 make_dlls: Recursively ignore testlist.c in all tests directories. 2006-07-10 21:19:42 +02:00
Alexandre Julliard cc2b3b48e6 Take advantage of the recursive nature of .gitignore for Makefile entries.
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Robert Shearman 628371021b ole32: When CoLockObjectExternal with fLock=TRUE is used on an object
that hasn't yet been marshaled then it should create a new stub
manager.
2006-06-30 20:44:02 +02:00
Robert Shearman 2f0e714a27 ole32: When marshaling a proxy make sure to maintain an external
reference on the stub object so that the first proxy can be released.

Implement external refcount sharing between a proxy and the marshaled proxy.

Extend the marshaling of a proxy test to show that an external reference 
is always kept on the stub object.
2006-06-29 14:40:50 +02:00
Robert Shearman 723aceb20f ole32: Add a test for CoCreateInstance doing object hosting by
automatically creating an appropriate apartment for the object and
returning a proxy to it.
2006-06-29 14:40:23 +02:00
Andrew Talbot d69745ff7a ole32/tests: Write-strings warning fix. 2006-06-23 10:45:57 +02:00
Robert Shearman f2dc25a5f3 ole32: Always rewind the stream in StdGlobalInterfaceTable_GetInterfaceFromGlobal
as CoUnmarshalInterface may have advanced the stream, even if it failed.
2006-06-15 12:07:10 +02:00
Robert Shearman fa757df883 ole32: Add a tests for OleSetMenuDescriptor and the global interface table. 2006-06-15 12:06:49 +02:00
Alexandre Julliard 28e17a75af ole32/tests: Don't use sizeof in ok() to avoid printf format warnings. 2006-06-13 14:03:36 +02:00
Robert Shearman 2c57189a97 ole32: Implement table-strong marshaling and ReleaseMarshalData for the free-threaded marshaler. 2006-05-25 10:43:07 +02:00
Robert Shearman f9b5280dd0 ole32: Implement table-weak marshaling for the free-threaded marshaler. 2006-05-25 10:42:56 +02:00
Robert Shearman 4335c64f7b ole32: Add a rough implementation of the free-threaded marshaler MarshalInterface and UnmarshalInterface methods, with test cases. 2006-05-25 10:41:17 +02:00