1911 Commits

Author SHA1 Message Date
Andrew Bogott
c75a4fd50a ole32: Fix an off-by-one error that broke reading of many properties. 2010-12-01 11:14:34 +01:00
Andrew Bogott
df219f8758 ole32: Revert "ole32: Only read known format ids when attempting to read summary information.".
This reverts commit c94b2687d223100300b61628a77fe942e4f42121.
2010-12-01 11:14:29 +01:00
David Hedberg
41193de135 ole32: Avoid unneccessary stream conversion.
Truncating a large stream to less than 0x1000 bytes would cause an
unnecessarily expensive conversion.
2010-11-23 13:17:06 +01:00
Andrew Bogott
ddc5cbb371 ole32/tests: Added a couple of simple tests for StgCreateStorageEx. 2010-11-18 12:52:38 +01:00
Andrew Bogott
42cd791c4d ole32: Use default values if options passed to StgCreateStorageEx are NULL. 2010-11-18 12:52:38 +01:00
Vincent Povirk
e883aeb394 ole32: Cache the contents of one extended big block depot block. 2010-11-16 21:54:18 +01:00
Jacek Caban
0c6f2a6d2a ole32: Skip more tests on win9x. 2010-11-16 15:12:43 +01:00
Alexandre Julliard
54bf38575e ole32: Get rid of the ICOM_THIS_MULTI macro. 2010-11-11 20:16:59 +01:00
Vincent Povirk
8d101b269d ole32: Cache all extended big block depot locations. 2010-11-04 11:55:48 +01:00
Huw Davies
abf8da6727 ole32: Implement OnRun and OnStop. 2010-11-01 16:16:12 +01:00
Huw Davies
6b05b2a927 ole32: Remove some useless comments. 2010-11-01 16:16:05 +01:00
Huw Davies
96ab42728d ole32: Re-order some functions. 2010-11-01 16:15:57 +01:00
Huw Davies
c41c05057c ole32: Rename cache entry parameters from 'This' - it leads to too much confusion with the data cache itself, which is the real COM object. 2010-11-01 16:15:49 +01:00
Huw Davies
4d137e4702 ole32: Add a stub advise sink object to the data cache. 2010-11-01 16:15:38 +01:00
Huw Davies
ad326999ec ole32/tests: Add tests to exercise the datacache's IDataObject::GetData. 2010-11-01 16:15:32 +01:00
David Hedberg
a5caff3bac ole32: Pass failures from delegate object's ::QueryInterface in default handler. 2010-10-21 12:28:51 +02:00
David Hedberg
d95e2dbd62 ole32: OleLoad should not fail even if IOleObject::GetMiscStatus fails. 2010-10-18 19:08:38 +02:00
Alexandre Julliard
1e04e923be ole32: Use the correct resource ids for the drag&drop cursors. 2010-10-18 19:08:37 +02:00
Alexandre Julliard
bc8e70c089 ole32/tests: Make some variables static. 2010-10-01 13:37:14 +02:00
Michael Stefaniuc
620ca68d01 ole32: Allocate a small temp variable on the stack instead of the heap. 2010-09-29 10:07:54 +02:00
Andrew Eikum
91d91afb7d ole32: Create a FORMATETC if one is not given in OleCreate. 2010-09-28 17:33:20 +02:00
Huw Davies
250b55c41d ole32: Call the draw_continue function. 2010-09-28 17:33:17 +02:00
Huw Davies
6c7dd939cf ole32/tests: Mark the draw_continue callbacks as optional. Win9x can skip calls under low-load conditions. 2010-09-28 17:33:17 +02:00
Alexandre Julliard
81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Marcus Meissner
8d25534613 ole32: Check for interface NULL which happens with e.g. Abiword. 2010-09-16 13:37:32 -05:00
Vincent Povirk
2752c3bcd0 ole32: Don't fail if the file ends during a big block.
Apparently, it's valid for the last block in a file to be incomplete.
2010-09-08 13:30:46 +02:00
Alexandre Julliard
dd84876c3e ole32: Use int64 in the spec file for 64-bit integers. 2010-08-31 14:23:48 +02:00
Vincent Povirk
89646084ba ole32: Cache data and block locations in BigBlockStream objects. 2010-08-26 13:59:31 +02:00
Vincent Povirk
101de22a1a ole32: Flush before returning from any storage API call that writes. 2010-08-26 13:59:28 +02:00
Huw Davies
127260bb62 ole32: Pass a real IUnknown ptr to CoMarshalInterface. 2010-07-28 16:28:21 +02:00
Michael Stefaniuc
ffac31da09 ole32: Use IsEqualIID instead of memcmp to compare REFIIDs. 2010-07-23 11:46:29 +02:00
Huw Davies
6d1ef3a6a6 ole32: Implement cross-process drag and drop. 2010-07-22 16:11:59 +02:00
Huw Davies
a2e1dd29dc ole32/tests: Relax the reference counting tests a bit. We only care whether references are held or not. 2010-07-22 16:11:51 +02:00
Nikolay Sivov
1b0182f9bb ole32: Use IsEqualIID() instead of memcmp(). 2010-07-21 17:38:37 +02:00
Nikolay Sivov
114510801f ole32: No need to test for interface pointer being null. 2010-07-21 17:38:37 +02:00
Nikolay Sivov
2f61e19156 ole32: Fix assumption about HRESULT failure code value. 2010-07-21 17:38:37 +02:00
Nikolay Sivov
5185409144 ole32: Remove redundant variables. 2010-07-21 17:38:37 +02:00
Alexandre Julliard
b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Vincent Povirk
5116b979b2 ole32: Flush the ILockBytes object of a storage on commit and final release.
Some ILockBytes objects will not really write changes until their Flush
method is called. Also, further optimizations to the storage implementation
will involve caching writes, which will have to be flushed at times.
2010-07-19 14:38:16 +02:00
Vincent Povirk
b7dbfcbd48 ole32: Remove an unused variable. 2010-07-19 14:38:16 +02:00
Vincent Povirk
d0e6e4aa82 ole32: Use ILockBytes_Stat to get the filename of a storage. 2010-07-19 14:38:16 +02:00
Vincent Povirk
14f8f9d5b5 ole32: Remove the BigBlockFile abstraction and always use an ILockBytes. 2010-07-19 14:38:16 +02:00
Vincent Povirk
4171499411 ole32: Don't map storage files in memory. 2010-07-19 14:38:16 +02:00
Vincent Povirk
7f3c92b2a0 ole32: Update storage header saving code based on the latest MS spec.
These fields are needed for the MS storage implementation to load
files that were created by Wine with a block size of 4096.
2010-07-19 14:38:16 +02:00
Vincent Povirk
9c95761d9e ole32: Always check the size of the small block root chain.
In some storage files, the size of this stream is not a multiple of the big
block size. This means that we may need to enlarge the stream even when we
don't really have to allocate more space for it.
2010-05-28 16:22:24 +02:00
Vincent Povirk
d64ee9ff11 ole32: Fix seeking backwards in hglobalstream. 2010-05-27 14:46:43 +02:00
Vincent Povirk
ff4292c229 ole32/tests: Add more IStream_Seek tests for hglobalstream. 2010-05-27 14:46:42 +02:00
Michael Stefaniuc
162e420f0e ole32: Avoid potential NULL pointer dereferences in a TRACE. 2010-05-26 10:11:05 +02:00
Alexandre Julliard
78d1686b90 ole32: Implement the IAdviseSink call_as proxies and stubs.
Based on a patch by Rob Shearman.
2010-05-25 12:49:19 +02:00
Juan Lang
c94b2687d2 ole32: Only read known format ids when attempting to read summary information. 2010-05-25 12:02:47 +02:00