Dr J A Gow
e3af1227c9
ole32: Fix stream ref counting.
...
Stream methods called after parent object has been closed correctly
return STG_E_REVERTED.
Stream refcounting fixed. Now can safely call IStorage destructor
before IStream destructor and guarantee file will be closed.
2006-02-21 11:18:05 +01:00
Dr J A Gow
c74e5a784d
ole32: Fix up permissions when opening streams.
...
Fix up permissions when opening streams in storage objects when
storage object has been opened in transacted mode.
2006-02-21 11:17:32 +01:00
Robert Shearman
023ad38914
ole: Test the behaviour of CoCreateInstance with an uninitialized apartment.
2006-02-20 11:16:08 +01:00
Mike McCormack
5c3b0df716
ole32: Added a test showing OLE storage's IStorage/IStream refcounting
...
behaviour.
2006-02-15 11:51:05 +01:00
Huw Davies
aaf7a974a9
ole: ProgIDFromCLSID sets progid to NULL on failure.
2006-01-20 19:41:56 +01:00
Robert Shearman
1b7d346d1f
ole: Verify that the proxy is being used in the correct thread.
2006-01-20 16:16:08 +01:00
Robert Shearman
98734cc894
ole: Add a test for WM_QUIT behaviour during COM calls.
2006-01-20 16:14:32 +01:00
Robert Shearman
9ac3b28354
ole: Use strict prototypes for some test functions.
2006-01-12 11:53:19 +01:00
Robert Shearman
e0605afdf6
ole: Add some tests for CLSIDFromString.
2006-01-09 18:40:27 +01:00
Robert Shearman
85128db39c
Fix detection of V1a prop variant library in test suite.
2005-12-26 12:56:48 +01:00
Robert Shearman
567919d78f
Implement some user marshal functions and add tests.
2005-11-29 11:35:27 +01:00
Alexandre Julliard
0ec7e1a591
Renamed all .cvsignore files to .gitignore.
2005-11-26 13:10:33 +01:00
Ivan Leo Puoti
52c6299538
Delete some temp files created by the ole32 tests.
2005-10-29 10:29:18 +00:00
Francois Gouget
a1f9a13997
Use "static const" rather than "const static" as gcc -W complains
...
about the former.
2005-10-06 11:38:45 +00:00
Robert Shearman
b3a4b59668
Fix ref-counting rules to match native DCOM Dlls.
2005-09-18 11:10:37 +00:00
Alexandre Julliard
5a49e40149
SendMessageTimeout takes a DWORD_PTR not a DWORD.
2005-09-12 20:43:32 +00:00
Richard Cohen
908e9e889e
Relax the share mode validation for transacted storage, with a test.
2005-09-07 09:22:15 +00:00
Robert Shearman
dab603def3
- Implement IMarshal on proxies so that we don't end up with proxies
...
to proxies, causing potential deadlock issues and performance
problems.
- Add a test for this situation and remove the todo_wine from another
test that now succeeds.
2005-08-27 09:25:16 +00:00
Robert Shearman
28479ea4aa
By-pass the RPC runtime if possible when calling an STA by posting a
...
message directly to the apartment window for it to process. Fixes a
deadlock in InstallShield caused by having to create a thread when
freeing an object that comes from an STA apartment. Added tests that
fail without this fix.
2005-07-19 19:12:47 +00:00
Stefan Huehner
863a4b1488
Fix some more -Wstrict-prototypes warnings.
2005-06-21 20:53:13 +00:00
Stefan Huehner
ac6f562b52
Fix more -Wstrict-prototypes warnings.
2005-06-20 14:18:03 +00:00
Robert Shearman
f419880d64
- Change some of the registry helper functions to use the unicode
...
versions of the CLSID & registry functions.
- Reindent CoGetClassObject and output an error message if the class
isn't registered.
- Add tests for the touched functions.
2005-06-20 10:33:17 +00:00
Mike McCormack
0220d7ac89
Fix declarations in the tests.
2005-06-15 10:20:30 +00:00
Alexandre Julliard
c2d5b444b3
Moved the NONAMELESSUNION/STRUCT macros to wine/test.h so that they
...
can be used in all the test.
2005-06-13 12:10:54 +00:00
Robert Shearman
fd5f7729cb
Fix PropVariant tests on Windows 2000 and above.
2005-06-13 10:02:10 +00:00
Dmitry Timoshkov
eba47f1dfe
Make remaining OLE interface vtables const.
2005-06-06 19:50:35 +00:00
Richard Cohen
977806a884
- Don't assume the ROT is already empty.
...
- Test that IEnum::Clone doesn't also do a Reset.
2005-06-02 20:06:33 +00:00
Richard Cohen
885e6298f2
Added tests for file monikers.
2005-06-02 19:43:03 +00:00
Robert Shearman
b9ecbb6167
- Marshal objects & monikers into the ROT.
...
- Test for this behaviour.
2005-05-23 09:54:53 +00:00
Jeff Latimer
72f73ac452
Implement the IEnumMoniker interface for the ROT and provide tests to
...
exercise the interface.
2005-05-14 18:50:14 +00:00
Hans Leidekker
6b7676a1e8
Don't import from ntdll.
2005-05-13 17:42:49 +00:00
Mike McCormack
e3b43fa458
Make sure a stream can't be created in read only storage.
2005-05-13 13:58:43 +00:00
Stefan Leichter
cabe752d1d
Make ole32 tests loadable on NT4.
2005-05-07 12:09:58 +00:00
Juan Lang
bf83ba1fa3
- convert strings between property storage's code page and system code
...
page
- add tests for setting code page
- fix tests and behavior to match WinXP
2005-04-23 19:04:49 +00:00
Stefan Leichter
950d678c5e
Make ole32 tests loadable on NT4.
2005-04-22 19:05:51 +00:00
Juan Lang
e68982fcaf
Implement FmtIdToPropStgName & PropStgNameToFmtId, with tests.
2005-04-15 14:09:18 +00:00
Juan Lang
c1fe67bc36
- add write support to IPropertyStorage, with tests
...
- misc. cleanups the tests turned up
2005-04-11 18:50:45 +00:00
Juan Lang
50794ce787
Add traces, add unit tests for IPropertyStorage, and fix the problems
...
they caught.
2005-04-11 14:30:24 +00:00
Francois Gouget
6b10c324c5
Assorted spelling fixes.
2005-03-30 17:08:31 +00:00
Jakob Eriksson
461c830745
Eliminate HeapAlloc casts.
2005-03-22 18:26:06 +00:00
Jakob Eriksson
665b9ca377
More trace info from storage32 test.
2005-03-22 18:18:43 +00:00
Mike McCormack
77fc6a5d82
StgOpenStorage shouldn't open zero length storage files.
2005-03-11 13:17:10 +00:00
Mike McCormack
6f2f76c410
Shared reading of storage files requires STGM_TRANSACTED.
2005-03-09 11:44:59 +00:00
Mike McCormack
a7609ee155
Test and fix grfMode handling in StgOpenDocfile.
2005-03-05 10:48:11 +00:00
Alexandre Julliard
53f3d4c65a
Authors: Rob Shearman <rob@codeweavers.com>, Mike Hearn <mh@codeweavers.com>
...
- Add re-entrancy tests to the test suite.
- Run RPCs on a new thread client side so we can pump the message
loop.
2005-03-04 12:30:47 +00:00
Mike McCormack
a6a91a440b
Implement and test IPropertySetStorage.
2005-02-21 20:58:09 +00:00
Robert Shearman
95288f9148
- Move marshaling state machine into stub manager from ifstub.
...
- Add additional needed states for table-weak marshaling, as shown by
tests.
- Protect external reference count from underflows/overflows.
2005-02-18 20:03:23 +00:00
Robert Shearman
403d8e23cd
Make Ole tests run on Windows 95.
2005-02-14 11:01:51 +00:00
Robert Shearman
999766d31b
- Implement CoDisconnectObject.
...
- Change CoLockObjectExternal so that it does the correct action now
and eliminate a fair few lines of now redundant code.
- Rename OLE32_Dll{Register,Unregister}Server to
Dll{Register,Unregister}Server.
2005-02-08 16:51:22 +00:00
Robert Shearman
f8a2edb805
- Split up apartment creation so that the long code paths that don't
...
need locking no longer have locking.
- Add special cases for the threads that join apartments but can't
increase the refcount of the apartment.
- Free TLS storage on thread destruction (including releasing the
apartment the thread is in, if any, and so making another test
pass).
2005-02-08 13:42:15 +00:00