Commit Graph

10094 Commits

Author SHA1 Message Date
Mike Hearn ba0475e738 Force context switch on chanbuf disconnect to avoid a race in the test
suite.
2005-01-14 15:11:24 +00:00
Paul Vriens c905d691c8 - use Interlocked* functions in AddRef and Release.
- store the result of the Interlocked functions and use only this.
2005-01-14 15:10:52 +00:00
Christian Costa a010e3b3fa CoInitialize(Ex) should return S_FALSE when COM is already initialized
for the current thread.
2005-01-12 19:58:09 +00:00
Alexandre Julliard d7b4d60cd7 Use the exported functions SaveDC/RestoreDC instead of SetDCState16. 2005-01-12 19:57:08 +00:00
James Hawkins ed12a3defd - Use Interlocked* instead of ++/-- in AddRef/Release.
- Use only stored result of Interlocked* in AddRef/Release.
- Expand TRACEs to display the ref count.
2005-01-12 19:55:24 +00:00
James Hawkins 79ecb0d783 - Use only stored result of Interlocked* in AddRef/Release.
- Expand TRACEs to display the ref count.
2005-01-12 19:52:38 +00:00
James Hawkins 11db0ea655 Use only stored result of Interlocked* in AddRef/Release. 2005-01-12 19:50:22 +00:00
Robert Shearman 452491bd03 - Document CoSetState & CoGetState.
- Rewrite them to only retrieve TLS info once.
- Remove trailing whitespace in COM_CurrentInfo.
2005-01-12 19:48:39 +00:00
Robert Shearman 2891bc53ba Remove wine_marshal_data: it is unneeded and there is no equivalent in
STDOBJREF.
2005-01-12 19:48:20 +00:00
James Hawkins a1e304a25f - use only stored result of Interlocked* in AddRef/Release
- expand TRACEs to display the ref count
2005-01-12 19:29:43 +00:00
Paul Vriens fea45b1493 - Fix logic in Stream_fnRelease, refcount should be decremented before
the test for 0.
- Use Interlocked* functions in Stream_fnRelease .
- Store the result of the Interlocked functions and this in the
  TRACE.
2005-01-12 19:29:22 +00:00
Robert Shearman de95de1865 - Force creation of thread queue to stop PostThreadMessage from
failing.
- Remove incorrect comment.
2005-01-12 19:28:37 +00:00
Justin Chevrier a33c7d89db - Revert previous change of border metric to reference the
registry. Testing on Win98/WinXP showed that regardless of the
  "BorderWidth" value CM_C{X,Y}BORDER always returns 1.
- Point SPI_SETBORDER to "BorderWidth" under "HKCU\Control
  Panel\Desktop\WindowMetrics" instead of "HKCU\Control Panel\Desktop"
  to make it match Windows.
2005-01-12 19:28:16 +00:00
Robert Shearman 89f5c8241f The way apartments are used has changed, so fix up the hacks in the
RPC code that haven't yet been updated.
2005-01-12 19:27:22 +00:00
Robert Shearman 36f482cb7d - Make MTA dynamically allocated so that proxies and other resources
are freed at the proper time.
- Changed/removed some incorrect comments regarding apartments.
2005-01-12 19:27:04 +00:00
Paul Vriens b2bb57a484 - use Interlocked* functions in AddRef and Release.
- store the result of the Interlocked functions and use only this.
2005-01-12 19:26:42 +00:00
Paul Vriens 3da8524bb4 - use Interlocked* functions in AddRef and Release.
- store the result of the Interlocked functions and use only this.
2005-01-11 16:02:21 +00:00
Mike Hearn bef1336667 Give a more informative error when a DLL fails to initialize during
startup.
2005-01-11 16:01:31 +00:00
Dmitry Timoshkov 61b5e90d34 Make Alt press/release test actually pass for not managed windows. 2005-01-11 15:47:13 +00:00
Paul Vriens 6a8268f372 Use Interlocked* functions in AddRef and Release. 2005-01-11 15:46:43 +00:00
Dmitry Timoshkov d2512860ac Fix WmCreateCustomDialogSeq message sequence for 256 color mode. 2005-01-11 15:45:32 +00:00
Bill Medland 9c6de52bb2 Corrected testing for multithreaded (based upon observations by Paul
Vriens, Christian Costa and Robert Shearman).
Added TRACE for investigating OXID errors.
2005-01-11 15:45:03 +00:00
Paul Vriens 8dd96b170e Add an extra class to register. 2005-01-11 15:44:42 +00:00
Alexandre Julliard 56206376b8 Desktop window is repainted on WM_ERASEBKGND, it must never get a
WM_PAINT.
2005-01-11 15:15:11 +00:00
Alexandre Julliard e2a7181069 Warning fix. 2005-01-11 15:13:11 +00:00
Andreas Mohr 5b1fbcf778 Read/write completion functions get Windows error codes, not NT status
codes.
2005-01-11 15:12:28 +00:00
Jacek Caban 7e2a7c949d Get rid of W->A calls. 2005-01-11 15:10:56 +00:00
Rein Klazes 8032418e2d memicmpW() count are WCHAR's not bytes. Fixes opening CON device. 2005-01-11 15:09:01 +00:00
Mike McCormack 71424b80e5 Tests and fixes for StgOpenStorage. 2005-01-11 15:08:08 +00:00
Christian Costa fed06be797 Wait until the thread has created its message queue before posting a
message otherwise it will be lost.
2005-01-11 15:07:30 +00:00
Robert Shearman 68fc5f8890 Add tests for trying to unmarshal from a bad stream and for testing
what interfaces the proxy exposes.
2005-01-11 10:45:52 +00:00
Robert Shearman c353f85082 - Document how thread-safety is ensured for each member of the
stub_manager and ifstub structs.
- Make stub_manager ref counted to ensure it doesn't get freed whilst
  it is still being used.
- ifstubs are now freed only when the controlling stub_manager is freed.
- Rename stub_manager_ref/unref to stub_manager_ext_addref/release
  respectively and make then take an unsigned long to prevent
  malicious callers from passing in a negative value and corrupting
  the ref count.
2005-01-11 10:45:34 +00:00
Mike McCormack 6f20133705 Test and fix a few problems with OLE storage streams. 2005-01-11 10:44:28 +00:00
Robert Shearman 8a46494ea9 - Don't use an invalid file handle. In this case invalid file handle
means that the file hasn't yet been created.
- Only call GetFileTime when we are being logged for a tiny
  performance improvement.
- Reindent to 4 spaces.
2005-01-11 10:43:24 +00:00
Robert Shearman fbcc21be62 Use the DrawFocusRect function to draw the focus rect, instead of a
broken home-brewed solution.
2005-01-11 10:43:03 +00:00
Robert Shearman 3dad1f9043 Don't sort the children of My Computer in shell browse for folder
dialog.
2005-01-11 10:40:14 +00:00
Robert Shearman 040850e8c5 Don't highlight text in non-TVS_TRACKSELECT mode. 2005-01-11 10:39:33 +00:00
Dmitry Timoshkov b44b2cc880 Add more tests for keyboard/menu activation behaviour, make the tests
pass under Wine.
2005-01-11 10:38:31 +00:00
Lauri Tulmin d3cc4dcd05 Fixes to the handling of LBS_EXTENDEDSEL style, with tests. 2005-01-10 16:22:33 +00:00
Hans Leidekker 8be26da723 Stub implementations for WPUCompleteOverlappedRequest,
WSADuplicateSocketW, WSAEnumNameSpaceProviders{A,W}, WSAGetQOSByName,
WSAGetServiceClassInfo{A,W}, WSAGetServiceClassNameByClassId{A,W},
WSALookupServiceEnd, WSALookupServiceNext{A,W},
WSAProviderConfigChange,  WSASetService{A,W}, WSCEnableNSProvider,
WSCGetProviderPath, WSCInstallNameSpace,  WSCWriteProviderOrder.
Implementations for WSANtohl, WSANtohs, WSASocketA->W crosscall.
Avoid NULL dereferences in WSAStringToAddress{A,W} and
WSAAddressToString{A,W}.
2005-01-10 14:34:15 +00:00
Mike McCormack 07aa50bc48 Fix image list mask and blending. 2005-01-10 14:29:20 +00:00
Bill Medland 1953a1ed2d Only report the unsupported flags.
Keep quiet about hints.
2005-01-10 14:28:21 +00:00
Mike McCormack 29e3c63a15 Add proxy authentication dialog. 2005-01-10 14:27:29 +00:00
Evan Deaubl c84832160c GetItemA/W on header controls should handle message even if index is
invalid.
2005-01-10 14:25:30 +00:00
Jacek Caban c2ccf0f48c Added mshtml.idl. 2005-01-10 13:31:29 +00:00
Francois Gouget 87b0906789 Assorted spelling fixes. 2005-01-10 13:29:24 +00:00
Vincent Béron 151015fa02 Only use Alsa if 1.0 is detected. 2005-01-10 13:26:33 +00:00
Jacek Caban ed3ad8852d Get rid of W->A calls. 2005-01-10 13:22:35 +00:00
Alexandre Julliard 53526959e9 Another warning fix. 2005-01-10 12:31:06 +00:00
Rémi Assailly 9821beed52 Implemented GetLayout and SetLayout. 2005-01-10 12:30:18 +00:00