Commit Graph

2208 Commits

Author SHA1 Message Date
Dmitry Timoshkov 2daa5367f8 ole32/tests: Add a test for local server interaction using an in-process handler. 2013-06-10 12:38:31 +02:00
Dmitry Timoshkov 289437dc4d ole32/tests: Remove redundant code. 2013-06-10 12:38:31 +02:00
Dmitry Timoshkov eeca784b70 ole32: Add a basic OLE client/server test suite. 2013-06-07 17:40:41 +02:00
Alistair Leslie-Hughes f0806fd68c ole32/tests: Check function pointer. 2013-06-03 22:55:27 +02:00
Alistair Leslie-Hughes 0f4c77d877 ole32/tests: Fix crash under NT. 2013-06-03 22:55:21 +02:00
Akihiro Sagawa 884ead472b ole32: Use LMEM_MOVEABLE when reallocating memory. 2013-06-03 11:29:41 +02:00
Dmitry Timoshkov 748c3ea9c9 ole32: Add a couple more defaulthandler tests. 2013-05-30 20:19:32 +02:00
Alistair Leslie-Hughes 97ac6943c3 ole32: Fix test under NT. 2013-05-29 11:26:13 +02:00
Jacek Caban a30cc75fe0 ole32: Added IExternalConnection support. 2013-05-23 20:18:16 +02:00
Jacek Caban 889112a29a ole32: Use a separated object to expose local servers instead of marshaling them in CoRegisterClassObject. 2013-05-23 20:03:17 +02:00
Alexandre Julliard aaa680bfda ole32/tests: Fix array indices in a trace. 2013-05-21 14:57:53 +02:00
Alexandre Julliard 5e95368e0a ole32: Don't bother to unregister classes at process exit. 2013-05-14 11:33:27 +02:00
Jacek Caban b4cc5a2114 ole32: Error handling clean up in local_server_thread. 2013-05-13 20:52:07 +02:00
Jacek Caban fdc4d40d18 ole32: Added more default handler QueryInterface tests. 2013-05-10 17:53:05 +02:00
Dmitry Timoshkov 79ef449e32 ole32: Add a semi-stub for CLSIDFromProgIDEx. 2013-05-07 11:18:52 +02:00
Nikolay Sivov 448a44ca5f ole32: Simplify IEnumSTATSTG initialization. 2013-04-19 16:16:18 +02:00
Nikolay Sivov 3b9568802a ole32: Remove some casts that are not needed. 2013-04-19 16:16:17 +02:00
Nikolay Sivov 5132f60298 ole32: Store SMWR storage instance role separately. 2013-04-19 16:16:17 +02:00
Nikolay Sivov 1b4f3ca6f7 ole32: Merge release code to Release method. 2013-04-18 17:00:53 +02:00
Nikolay Sivov a06db6cce5 ole32: Stub for IDirectWriterLock. 2013-04-18 17:00:17 +02:00
Nikolay Sivov c29f3dff8c ole32: Accept STGM_DIRECT_SWMR mode. 2013-04-18 17:00:12 +02:00
Nikolay Sivov a90c1efe51 ole32: Move share/access modes to static arrays. 2013-04-18 16:59:56 +02:00
Nikolay Sivov 611cf6bb0d ole32: Fix possible return of freed pointer (Coverity). 2013-04-01 12:32:37 +02:00
Dmitry Timoshkov 41d3085522 ole32: Fix an apartment reference count leak on error path. 2013-03-28 17:36:53 +01:00
Piotr Caban c0a17a4f09 ole32: Don't pass CLSCTX_INPROC_SERVER and CLSCTX_INPROC_HANDLER flags to CoCreateInstance in DefaultHandler_Run. 2013-02-27 19:23:48 +01:00
Piotr Caban 0cf2b77aed ole32: Added more OleCreateDefaultHandler tests. 2013-02-27 19:23:47 +01:00
Andrew Talbot faaeeea937 ole32: Avoid signed-unsigned integer comparisons. 2013-02-22 10:20:57 +01:00
Marcus Meissner 2dbb23c810 ole32: Free *ppszProgID on error path (Coverity). 2013-02-18 10:32:22 +01:00
Roman Dadkov 665717ae75 ole32/tests: Add test for OleRun. 2013-02-15 11:55:37 +01:00
Roman Dadkov 8a4557ac8b ole32/tests: Add test for SetClientSite. 2013-02-13 20:39:42 +01:00
Alexander Morozov 5857895684 ole32: Avoid a deadlock when a being loaded DLL calls CoRegisterClassObject from its DLL_PROCESS_ATTACH handler. 2013-02-08 12:07:48 +01:00
Alexandre Julliard e089295f75 ole32: Fix wrap-around bug in tick count comparison. 2013-01-24 15:15:25 +01:00
Eric Pouech d1ccbceb4d Various background processes must be launched detached from current console (if any). 2013-01-16 14:02:55 +01:00
Francois Gouget f963f93964 Assorted spelling fixes. 2013-01-07 11:10:40 +01:00
Andrew Talbot fa96beb5c4 ole32: Indentation fix. 2012-12-19 12:54:41 +01:00
Jacek Caban 4eb769451e ole32: Added IMoniker::BindToStorage proxy/stub implementation. 2012-12-13 18:39:02 +01:00
Alexandre Julliard a283b986c7 ole32: Limit the number of messages processed at once in CoWaitForMultipleObjects. 2012-12-12 14:06:46 +01:00
Qian Hong 9b90ea557b ole32: Fix OleDraw() with NULL pUnk. 2012-12-06 22:52:15 +01:00
Frédéric Delanoy 8ddb00b22b ole32: Fix some leaks (coverity). 2012-11-27 19:45:37 +01:00
Frédéric Delanoy 02da0411e1 ole32: Add helper for string table memory freeing. 2012-11-27 19:45:37 +01:00
Hans Leidekker 7895eae15b ole32: Convert the remaining RegCreateKey and RegOpenKey calls to the wrappers. 2012-11-26 16:59:22 +01:00
Hans Leidekker a82c49028d ole32: Use wrappers around NT functions to access the registry in CoGetPSClsid. 2012-11-26 16:59:17 +01:00
Nikolay Sivov 6a8b4f11a8 ole32: Fix OleDraw() regarding passed rectangle handling. 2012-11-26 11:57:04 +01:00
Hans Leidekker 479b7bcf60 ole32/tests: Add a test to show that CoGetPSClsid is not affected by an override of HKEY_CLASSES_ROOT. 2012-11-22 17:35:30 +01:00
Frédéric Delanoy 3cdd1abd09 ole32: Avoid erroneously freeing a variable in ReadFmtUserTypeStg. 2012-11-12 12:14:48 +01:00
Frédéric Delanoy 780228b6ca ole32: Fix some leaks (coverity). 2012-11-09 11:56:18 +01:00
Tatyana Fokina 9d4fcaf2bb ole32: Removed unused parametrs keyname and valuename in COM_RegReadPath. 2012-11-05 11:41:29 +01:00
Michael Stefaniuc 470ad72b05 ole32/tests: Fix a memleak on an error path (Smatch). 2012-10-31 16:12:27 +01:00
André Hentschel fbe682a22a ole32: Don't leak memory allocated by ProgIDFromCLSID (coverity). 2012-10-29 10:40:32 +01:00
André Hentschel c223354912 ole32: Don't leak memory allocated by FileMonikerImpl_DecomposePath (coverity). 2012-10-29 10:39:42 +01:00
André Hentschel 7c381e59c4 ole32: Don't leak memory allocated by enumx_allocate (coverity). 2012-10-29 10:35:40 +01:00
Nikolay Sivov 90407224d0 ole32: Cleanup IClientSecurity interface of a proxy manager. 2012-10-16 11:37:28 +02:00
Nikolay Sivov 21a04f5621 ole32: Cleanup IMarshal interface of proxy manager. 2012-10-16 11:37:20 +02:00
Nikolay Sivov ba4b88bc00 ole32: Cleanup IMultiQI interface of proxy manager. 2012-10-15 15:25:36 +02:00
Nikolay Sivov 0b5c0855be ole32: Store destination context and context data in server channel. 2012-10-15 15:25:34 +02:00
Nikolay Sivov 3099a25464 ole32: Store destination context data in channel buffer. 2012-10-15 15:25:31 +02:00
Nikolay Sivov 27d59c8919 ole32: Cleanup IRpcChannelBuffer. 2012-10-15 15:25:29 +02:00
Nikolay Sivov af5cee1862 ole32: Fix debug output for user marshal flags. 2012-10-15 15:25:28 +02:00
Alexandre Julliard cba98a2d8e ole32/tests: Fix a test failure on newer Windows versions. 2012-10-12 11:54:03 +02:00
Roman Dadkov 9e145eebdf ole32: Fix dwClsContext parameter of a CoCreateInstance call in DefaultHandler_Run. 2012-10-10 20:34:11 +02:00
Vincent Povirk 718f095629 ole32: Add tests for StgConvertVariantToProperty. 2012-10-08 12:55:26 +02:00
Vincent Povirk 04eaae5ce8 ole32: Stub StgConvertVariantToProperty. 2012-10-08 12:55:18 +02:00
André Hentschel fb383cd5a6 ole32/tests: Use IUnknown_Release instead of deprecated WdtpInterfacePointer_UserFree. 2012-09-27 22:21:55 +02:00
Alistair Leslie-Hughes 939b1bbe21 ole32: Add CoGetDefaultContext stub. 2012-09-20 19:53:25 +02:00
Vincent Povirk 284f3cc047 ole32: Fix typo. 2012-08-28 14:40:58 +02:00
Vincent Povirk 0a5086ab64 ole32: Add support for reading BSTR properties. 2012-08-28 14:40:57 +02:00
Vincent Povirk 58c2462c36 ole32: Implement StgConvertPropertyToVariant. 2012-08-28 14:40:38 +02:00
Vincent Povirk ae722c45ad ole32: Add tests for StgConvertPropertyToVariant. 2012-08-28 14:40:33 +02:00
Jacek Caban b3b390d8ac ole32: Added ISynchronizeHandle tests. 2012-08-13 16:28:49 +02:00
Jacek Caban c6793a2e27 ole32: Added ISynchronizeHandle implementation. 2012-08-13 16:28:49 +02:00
Jacek Caban df4f027238 ole32/tests: Use proper helpers for iface calls. 2012-08-13 16:28:48 +02:00
Jacek Caban 153b94b3c5 ole32: Use proper helpers for iface calls. 2012-08-13 16:28:48 +02:00
Michael Stefaniuc 55d811351a ole32: Remove superfluous NULL pointer check before free (Smatch). 2012-08-13 12:07:49 +02:00
Michael Stefaniuc 43ae84636a ole32: Avoid TRUE:FALSE conditional expressions. 2012-08-13 11:50:42 +02:00
Jacek Caban 4da232070e ole32: Use proper allocators for storing help file in ErrorInfoImpl. 2012-07-19 16:01:52 +02:00
Jacek Caban cd1f67ee24 ole32: Use proper allocators for storing description in ErrorInfoImpl. 2012-07-19 16:01:52 +02:00
Jacek Caban 4843f031f9 ole32: Use proper allocators for storing source in ErrorInfoImpl. 2012-07-19 16:01:51 +02:00
Nikolay Sivov 24a690e90e ole32: Use a single implementation for 1Ole stream initialization. 2012-07-19 15:44:25 +02:00
Jacek Caban 1eda4ac4ba ole32: Forward BSTR functions to oleaut32. 2012-07-18 17:15:21 +02:00
Nikolay Sivov 53dd90aeb3 ole32: Give names to 1Ole stream header fields. 2012-07-18 11:14:18 +02:00
Nikolay Sivov e45202fdae ole32: Remove unsupported interface REFIID from storage stream QueryInterface. 2012-07-18 11:14:04 +02:00
Nikolay Sivov 382acd526f ole32: Fix QueryInterface for file-based ILockBytes. 2012-07-18 11:13:55 +02:00
Nikolay Sivov 959814a3bd ole32: Fix QueryInterface for IErrorInfo to return IUnknown pointer. 2012-07-17 12:50:20 +02:00
Nikolay Sivov fa4db6d9ef ole32: COM cleanup for IErrorInfo. 2012-07-17 12:50:20 +02:00
Nikolay Sivov 897d4d4e4a ole32: COM cleanup of HGLOBAL ILockBytes implementation. 2012-07-17 12:50:19 +02:00
Nikolay Sivov 52ce30d242 ole32: Make ole stream creation helper capable of handling flags data. 2012-07-17 12:50:19 +02:00
Nikolay Sivov 88e6c8175b ole32: Use interface macros to call methods. 2012-07-17 12:50:18 +02:00
Nikolay Sivov 3956296128 ole32: Implement SetConvertStg(). 2012-07-16 15:21:45 +02:00
Nikolay Sivov a3a97558de ole32: No need to test for null implementation pointer in methods. 2012-07-16 15:21:44 +02:00
Nikolay Sivov ac032593c0 ole32: COM cleanup of IPropertySetStorage interface. 2012-07-16 15:21:44 +02:00
Nikolay Sivov 0c658860b1 ole32: COM cleanup for IStorage interface of base storage implementation. 2012-07-13 10:29:13 -05:00
Nikolay Sivov 08303391e9 ole32: Simplify storage root entry name initialization. 2012-07-13 10:28:57 -05:00
Nikolay Sivov 7b373edb81 ole32: Implement GetConvertStg(). 2012-07-13 10:28:42 -05:00
Nikolay Sivov ea196ef0eb ole32: COM cleanup of storage IStream implementation. 2012-07-13 10:28:15 -05:00
Dmitry Timoshkov 574a52e522 ole32: Add VT_I1 to the list of supported variant types. 2012-06-12 10:21:49 +02:00
Dmitry Timoshkov f0d309689c ole32: Forward OleCreateLinkFromData and OleCreateStaticFromData to OleCreateFromData. 2012-05-23 18:25:10 +02:00
Dmitry Timoshkov 83aa7eff6c ole32: Query support also for static storage formats. 2012-05-23 18:25:09 +02:00
Alexandre Julliard 2736d28064 ole32: Add a NULL pointer check in CoDisconnectObject. 2012-05-14 18:24:19 +02:00
Bruno Jesus 2cd2628c7b ole32: Make sure StgIsStorageILockBytes tests real data. 2012-04-16 17:49:30 +02:00
Alistair Leslie-Hughes d764b5188e ole32/tests: Assign a default value (clang). 2012-03-16 13:02:51 +01:00
Huw Davies 903803b552 ole32: Trace the drop effect in hex. 2012-02-21 16:02:03 +01:00
Huw Davies 5c8edb0449 ole32: Don't hold a ref to the drop target in the wrapper. Apps tend to destroy the target object without calling RevokeDragDrop. 2012-02-07 09:33:53 -06:00
André Hentschel 0d23c1d464 ole32: No need for WINE_ prefixed debug output macro. 2012-01-11 17:47:24 +01:00
Francois Gouget a603e9871e include: Add a few missing include directives to shlguid.h. 2011-12-20 10:16:45 +01:00
Francois Gouget d21c37a860 ole32: Avoid hardcoding the Unicode string literal lengths. 2011-12-16 17:40:42 +01:00
Francois Gouget 3c3a4740ca include: Add a couple of missing include directives in windows.h.
Rename a variable to avoid a conflict with the Unknown enumeration value.
Define WIN32_LEAN_AND_MEAN to avoid conflicts caused by the SetPort macro.
2011-12-15 10:49:18 +01:00
Nikolay Sivov 5b533d82d2 ole32: Simplify stream creation, remove redundant comments. 2011-12-13 18:59:02 +01:00
Nikolay Sivov 5f5d5e0c65 ole32: COM cleanup of IStream based on HGLOBAL. 2011-12-13 18:59:02 +01:00
Marcus Meissner cfe49e3697 ole32: Output more information in OleCreateStaticFromData. 2011-12-05 17:41:02 +01:00
Marcus Meissner 48ae8e9ced ole32: Handle VT_BLOB in PropertyStorage_ReadProperty. 2011-12-05 17:40:28 +01:00
Alexandre Julliard 0f3e60747f ole32: Process all pending messages in CoWaitForMultipleHandles before waiting again, otherwise we may not wake up. 2011-11-29 21:22:40 +01:00
Frédéric Delanoy 67181743a6 ole32: Avoid hardcoding array lengths. 2011-11-18 15:37:02 +01:00
Francois Gouget ed03674bc3 ole32: Delete the compobj and rpc static critical sections when unloading the dll. 2011-11-17 11:37:56 +01:00
André Hentschel 09202ee949 ole32: Implement writing VT_CLSID properties. 2011-11-15 11:46:46 +01:00
Andrew Talbot 85fc5a3ae9 ole32: Remove unneeded address-of operators from array names. 2011-10-31 23:54:07 +01:00
Michael Stefaniuc e68643f1a1 ole32: Drop 'inline' from a function using sigsetjmp. 2011-10-31 23:53:44 +01:00
André Hentschel c2015d3341 ole32: Return if out of memory (Coverity). 2011-10-08 19:54:33 +02:00
Marcus Meissner da0f475d4b ole32: Mark two functions as hidden. 2011-10-03 16:10:56 -05:00
Francois Gouget 88ba9c3274 ole32/tests: Skip some tests if not allowed to modify the Classes registry key. 2011-09-21 11:35:43 +02:00
Francois Gouget 54c74dc4a2 ole32/tests: Fix compilation on systems that don't support nameless unions. 2011-09-19 13:19:29 +02:00
Vincent Povirk cb9e572611 ole32: Discard existing data when creating a new storage on an ILockBytes. 2011-09-13 09:20:29 +02:00
Vincent Povirk 7df35e9b0f ole32/tests: Test creation of a storage on an ILockBytes containing data. 2011-09-13 09:20:27 +02:00
Octavian Voicu 9b1fc0fd74 ole32: Fix a few incorrect pointer/integer casts on 64-bit. 2011-08-31 19:43:08 +02:00
Michael Stefaniuc 43a31b6200 ole32: COM cleanup in compositemoniker.c. 2011-08-30 11:57:09 +02:00
Michael Stefaniuc 70c038dc2f ole32: COM cleanup in filemoniker.c. 2011-08-30 11:57:03 +02:00
Michael Stefaniuc 82b3d35b73 ole32: Cleanup ItemMonikerImpl_QueryInterface(). 2011-08-25 11:31:53 +02:00
Michael Stefaniuc d3c934adcd ole32: COM cleanup in itemmoniker.c. 2011-08-25 11:31:53 +02:00
Michael Stefaniuc 7d7c79db1d ole32: COM cleanup in classmoniker.c. 2011-08-23 16:53:54 +02:00
Michael Stefaniuc cd3f8a8078 ole32: COM cleanup in antimoniker.c. 2011-08-23 16:53:54 +02:00
Frédéric Delanoy 760faf01a9 tests: Assorted spelling fixes. 2011-08-04 18:27:37 +02:00
Frédéric Delanoy 7e309601f3 dlls: Assorted spelling fixes. 2011-08-03 14:15:50 +02:00
Michael Stefaniuc 3673f6b7c4 ole32/tests: COM cleanup in compobj.c. 2011-08-03 14:15:48 +02:00
Alexandre Julliard f01c1c429d ole32: Fix a couple of race conditions with the local server pipe. 2011-08-01 18:26:25 +02:00
Alexandre Julliard 096bf10f11 ole32: Specify the PSFactoryBuffer class in the idl files. 2011-08-01 17:20:46 +02:00
Austin English 94f63d7681 ole32/tests: Make sure to use a return value (LLVM/Clang). 2011-07-26 10:22:38 +02:00
Michael Stefaniuc 9d94b1d402 ole32: COM cleanup for the IEnumCATEGORYINFO iface. 2011-07-13 15:00:22 +02:00
Francois Gouget be9a032693 ole32: Modify local_server_thread() to recreate the pipe for each request.
This avoids having the named pipe get stuck in the STATUS_PIPE_BUSY state after the DisconnectNamedPipe() call.
2011-07-13 11:52:59 +02:00
Francois Gouget b6f28fc70f ole32: Fix a handle leak in local_server_thread(). 2011-07-13 11:52:45 +02:00
Frédéric Delanoy 8f32948d9a ole32/tests: Remove dead assignment (Clang). 2011-07-11 18:33:46 +02:00
Marcus Meissner 2395ea98bb ole32: Access the array entry, not the array (Coverity). 2011-06-27 13:27:37 -05:00
Michael Stefaniuc 7b3d1bbc4e ole32: COM cleanup for the static object ComCatMgrImpl. 2011-06-21 17:12:15 +02:00
Adam Martinson e85668b463 ole32: Don't call IDropTarget::QueryInterface() in RegisterDragDrop(). 2011-06-08 17:36:40 +02:00
Vincent Povirk c72ecb1de6 ole32: Avoid opening source storage in IStorage::CopyTo. 2011-06-03 17:37:09 +02:00
David Hedberg a0980b47c8 ole32: Add ManualResetEvent implementation. 2011-05-30 17:55:43 +02:00
Alexandre Julliard 7efe6d9895 ole32: Delete the transacted storage scratch file on release. 2011-05-26 13:27:41 +02:00
Adam Martinson 456e48efa1 ole32/tests: IDropTarget::QueryInterface() shouldn't be called. 2011-05-20 17:57:01 +02:00
Alexandre Julliard 5a559f181a ole32: Don't continue to wait for a local server if the process has terminated. 2011-05-20 13:41:18 +02:00
Nicolas Le Cam cfe11f1875 ole32/tests: Fix large integer overflow warnings. 2011-05-02 12:42:21 +02:00
David Hedberg ea14a6b2e7 oleaut32: Fix CLSIDToString behaviour when passed an invalid CLSID-string.
In some cases, Excel 2007 apparently relies on CLSIDToString properly
parsing an "invalid" CLSID string where extra bytes are appended.
2011-04-28 18:17:18 +02:00
Marcus Meissner 14c4ef3fdd ole32: Mark internal symbols has hidden visibility. 2011-04-25 13:02:01 +02:00