Commit Graph

967 Commits

Author SHA1 Message Date
Francois Gouget 30e44c85c8 Assorted spelling fixes. 2006-11-07 15:25:24 +01:00
Andrew Talbot 97ee9c7820 ole32: Cast-qual warnings fix. 2006-11-07 15:06:30 +01:00
Rob Shearman b1bfad067b ole32: Fix a memory leak on the error path of dispatch_rpc. 2006-10-27 11:59:58 +02:00
Rob Shearman 93dfdf7a3f ole32: Fix some memory leaks in the class factory proxy. 2006-10-27 11:59:40 +02:00
Rob Shearman 7cbafd4f74 ole32: Always call IRpcChannelBuffer_GetBuffer in the class factory stub. 2006-10-27 11:59:34 +02:00
Eric Pouech a79fa50280 ole32: Fixed some wrong conditions in OleFlushClipboard. 2006-10-24 11:32:48 +02:00
Eric Pouech 5c0f35a2aa ole32: CoUninitialize: No longer access an object after it's been freed. 2006-10-24 11:32:38 +02:00
Rob Shearman e1ee3b4de3 ole32: Fix some memory leaks in the marshal tests. 2006-10-23 15:18:05 +02:00
Alexandre Julliard b0ea577ae5 Avoid usage of sizeof in traces that causes warnings on MacOSX. 2006-10-20 12:16:45 +02:00
Francois Gouget 22288de732 Fix compilation with gcc 2.95. 2006-10-19 13:35:19 +02:00
Alexandre Julliard 12c196203c Make.rules: Added support for building IDL client/proxy/server/iid files. 2006-10-16 17:20:37 +02:00
Francois Gouget ef998ea6cb Assorted spelling fixes. 2006-10-16 11:33:38 +02:00
Michael Stefaniuc 21ff87bf50 ole32: Win64 printf format warning fixes. 2006-10-16 10:53:28 +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
Jeff Latimer 6a355aec1b ole32: Remove dead code in errorinfo.c (Coverity). 2006-10-14 20:38:20 +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
Huw Davies fead72e8a7 ole32: Don't return from CoRegisterClassObject until we have created the named pipe.
Also don't fail if the client connects to the pipe between CreateNamedPipe and ConnectNamedPipe.
2006-09-28 11:56:08 +02:00
Robert Shearman 3721bf60bb ole32: Check the return value of IStream_SetSize so as to not blindly continue on and possibly corrupt the structured storage file. 2006-09-28 11:55:56 +02:00
Alexandre Julliard 335144dc04 ole32/tests: Avoid using sizeof in a trace. 2006-09-27 20:54:05 +02:00
Andrew Talbot c9f9797890 ole32: Cast-qual warnings fix. 2006-09-21 11:16:42 +02:00
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Gerald Pfeifer 24dc347134 ole32: Silence a compiler warning about unused variable in StgStreamImpl_Write(). 2006-09-13 11:01:53 +02:00
Robert Shearman aa336618ec ole32: Add a check for a condition where a stream has an invalid size
and so there aren't enough blocks in the chain to write data into.
2006-09-11 12:28:23 +02:00
Robert Shearman 106156cb75 ole32: Remove some assertions in the stuctured storage code by
returning error codes to the caller and by handling the error
condition.
2006-09-11 12:28:12 +02:00
Robert Shearman 79f7318a11 ole32: Convert the *_{Read,Write}At structured storage functions to
return HRESULTs instead of BOOLs so that errors can be properly
propagated from lower levels.
2006-09-11 12:27:45 +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
Francois Gouget 19be7545e5 ole32: Fix spelling of a couple of local variables. 2006-09-08 11:03:07 +02:00
Robert Shearman bb1276425f ole32: Allocate memory for a copy of the ptd member of FORMATETC in
DataAdviseHolder_Advise since there is no requirement for the
application to keep this memory valid for the lifetime of the
connection.
2006-09-07 11:44:11 +02:00
Robert Shearman 5e9df71e0e ole32: Don't send data changes in DataAdviseHolder_Advise for
ADVF_PRIMEFIRST connections if we are connected to a data object,
since it will send the data change for us.
2006-09-07 11:44:03 +02:00
Robert Shearman 53d01d2764 ole32: DefaultHandler_GetData and DefaultHandler_QueryGetData should
both defer to the real data object if the cached versions fail and we
are running.
2006-09-07 11:43:59 +02:00
Robert Shearman 6bf6caa69d ole32: Add a reference to the stream in RPC_StartLocalServer since we
release a reference to it when the local server thread dies.
2006-09-07 11:43:49 +02:00
Robert Shearman 03510be55b ole32: Add a test for OleLoad. 2006-09-07 11:43:41 +02:00
Robert Shearman d0b4717cdb ole32: Do a QueryInterface for IOleLink in OleLoad, like native does. 2006-09-07 11:43:33 +02:00
Robert Shearman 4ad8da53f5 ole32: Re-order the function calls in OleLoad to match native.
Call IOleObject_GetMiscStatus like OleCreate and native do.
2006-09-07 11:43:27 +02:00
Robert Shearman da321acf0e ole32: Add tests for OleCreate. 2006-09-07 11:43:16 +02:00
Robert Shearman 53be8cc861 ole32: Call IRunnableObject_Run and IOleCache_Cache from OleCreate if the render option is specified as draw or format.
This is documented on MSDN and is confirmed by tests.
2006-09-07 11:42:39 +02:00
Robert Shearman 6da80a8898 ole32: Call IOleObject_GetMiscStatus in OleCreate if a client site is passed in. 2006-09-07 11:42:28 +02:00
Robert Shearman ccb634fdee ole32: Re-structure OleCreate to match to order of calls that native does.
Get rid of hres1 since all failures are returned. Cleanup pUnk on 
failure and make sure to return NULL in ppvObj.
2006-09-07 11:42:22 +02:00
Robert Shearman aaa26b2702 ole32: Set the storage's class ID in OleCreate. 2006-09-07 11:42:11 +02:00