10104 Commits

Author SHA1 Message Date
Aric Stewart
516a9c70ed First implementation of the WriteIniValues action. 2005-01-14 15:59:26 +00:00
Robert Shearman
ead057c4b7 - Don't use the pipe caching code because it doesn't work correctly at
the moment.
- Always write disconnect reply packet, even in failure cases.
2005-01-14 15:59:01 +00:00
Klemens Friedl
a4d4652dd1 Update German language file. 2005-01-14 15:13:56 +00:00
Mike McCormack
1afd5f68f8 Cleanup service handles. 2005-01-14 15:13:40 +00:00
Jon Griffiths
ae720e6d7c Increase the required rectangle size before drawing big +/-. 2005-01-14 15:13:24 +00:00
Walt Ogburn
b28c79aa50 Fix BS_PATTERN brushes in mfdrv. Un-comment the corresponding test. 2005-01-14 15:12:59 +00:00
James Hawkins
6847d5956a Return CLASS_E_NOAGGREGATION if pUnkOuter is non-null. 2005-01-14 15:12:43 +00:00
Aric Stewart
dbb5d2a871 Custom actions can have null in their target parameters, handle that
without crashing. Also enable deformating of lines greater than 256
characters.
2005-01-14 15:12:27 +00:00
Robert Shearman
a84e7d7b75 Destroy stubs on apartment shutdown. 2005-01-14 15:11:55 +00:00
Ge van Geldorp
7cf104aa52 Fix prototypes according to PSDK. 2005-01-14 15:11:40 +00:00
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