Commit graph

71422 commits

Author SHA1 Message Date
Thomas Faber
c7c36702d2
[USER32] ForceResetUserApiHook is WINAPI, not FASTCALL. CORE-14450
Fixes stack pointer corruption when using Windows's uxtheme.dll.
2018-03-09 09:06:12 +01:00
Amine Khaldi
af9960ca99 [QUARTZ_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-03-08 13:47:02 +01:00
Amine Khaldi
83d28845a1 [QUARTZ] Sync with Wine Staging 3.3. CORE-14434 2018-03-08 13:46:24 +01:00
Amine Khaldi
7446d8c8a2 [DXSDK] Add a header guard to aviriff.h. 2018-03-08 13:44:37 +01:00
Amine Khaldi
d3e7f8dd2d [QEDIT] Sync with Wine Staging 3.3. CORE-14434 2018-03-08 13:43:36 +01:00
Amine Khaldi
7fdc682155 [MSDMO] Sync with Wine Staging 3.3. CORE-14434 2018-03-08 13:42:29 +01:00
Amine Khaldi
4203ed112e [DXDIAGN_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-03-08 13:41:10 +01:00
Amine Khaldi
afc3201b40 [DXDIAGN] Sync with Wine Staging 3.3. CORE-14434 2018-03-08 13:40:32 +01:00
Amine Khaldi
a531318156 [DPLAYX] Sync with Wine Staging 3.3. CORE-14434 2018-03-08 13:39:19 +01:00
Amine Khaldi
2608d38619 [DPLAY] Sync with Wine Staging 3.3. CORE-14434 2018-03-08 13:38:10 +01:00
Amine Khaldi
5d870f5ba6 [DMUSIC] Sync with Wine Staging 3.3. CORE-14434 2018-03-08 13:36:52 +01:00
Amine Khaldi
e8c6acd13d [DINPUT8] Sync with Wine Staging 3.3. CORE-14434 2018-03-08 13:35:22 +01:00
Amine Khaldi
32675648dc [DINPUT_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-03-08 13:34:24 +01:00
Amine Khaldi
7016dd6d65 [DINPUT] Sync with Wine Staging 3.3. CORE-14434 2018-03-08 13:33:13 +01:00
Amine Khaldi
d9b4957fdd [DEVENUM_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-03-08 13:31:41 +01:00
Amine Khaldi
dbcbc1cda1 [DEVENUM] Sync with Wine Staging 3.3. CORE-14434 2018-03-08 13:30:52 +01:00
Amine Khaldi
1bb40cffc0 [D3DXOF] Sync with Wine Staging 3.3. CORE-14434 2018-03-08 13:28:23 +01:00
Amine Khaldi
e5c42da45c [D3DX9_*] Sync with Wine Staging 3.3. CORE-14434 2018-03-08 13:26:47 +01:00
Amine Khaldi
e792c304fe [D3DRM] Sync with Wine Staging 3.3. CORE-14434 2018-03-08 13:17:38 +01:00
Amine Khaldi
9987f02917 [D3D8][D3D9][DDRAW][WINED3D] Sync with Wine Staging 3.3. CORE-14434 2018-03-08 13:15:18 +01:00
Amine Khaldi
595b846dae [AMSTREAM_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-03-08 13:11:06 +01:00
Amine Khaldi
7401c74a40 [AMSTREAM] Sync with Wine Staging 3.3. CORE-14434 2018-03-08 13:10:17 +01:00
Amine Khaldi
fbbe3b3856 [INCLUDE/WINE] Add a header guard to strmbase.h. 2018-03-08 13:07:57 +01:00
Thomas Faber
0aed0fd167
[BROWSEUI][SHELL32] Treat OnWinEvent's result parameter as optional. CORE-14443
Windows's explorer can call it with NULL.
2018-03-08 12:21:24 +01:00
Serge Gautherie
84a9284a3f
[APPHELP_APITEST] Fix a Clang-Cl warning about a memcmp() call
"warning: argument to 'sizeof' in 'memcmp' call is the same pointer type 'SDBQUERYRESULT_VISTA *' (aka 'struct tagSDBQUERYRESULT_VISTA *') as the destination; expected 'SDBQUERYRESULT_VISTA' (aka 'struct tagSDBQUERYRESULT_VISTA') or an explicit length [-Wsizeof-pointer-memaccess]"

CORE-14306
2018-03-07 20:42:14 +01:00
Serge Gautherie
601871955f
[APPHELP_APITEST] env.c: Fix a 3rd Windows S2003 special case
Test_Shimdata() already has a TODO with 2 special cases.

- Special-case "dwLayerCount" too.
- Add extra-safety checks.
2018-03-07 20:42:14 +01:00
Thomas Faber
3159de5573
[WINSRV] Don't try to remove messages from the queue without dispatching them. CORE-13734
This partially reverts r58615 / 01729482ae.
2018-03-07 13:32:38 +01:00
Thomas Faber
7905efdf35
[USER32_APITEST] Add a test for PeekMessage without DispatchMessage for WM_PAINT. CORE-13734 2018-03-07 13:20:42 +01:00
Thomas Faber
2b8f4f6e24
[NTOS:EX] Worker threads must not exit with a critical region held. CORE-13734 2018-03-07 13:18:09 +01:00
Eric Kohl
282b4397e0 [STOBJECT] Use double click time for the single click timers instead of a fixed timeout. 2018-03-06 20:43:04 +01:00
Pierre Schweitzer
da8a41b97b
[SHELL32] Fix a directory handle leak when browsing folders
A bit of history: in r71528, I tried to fix our explorer often
crashing while browsing directories. It was linked to the fact
that a notification result may arrive while the notification
structure had already been deleted.

The fix for this was actually broken and was leading to a double
leak: the notification structure was leaked. But also the handle
to the directory that had been browsed!
This means that the directory couldn't be modified anymore as
a leaked handle to it was still open.

Actually, when notifications are cancel, the kernel properly
calls the notification routine, but with a specific error code.
So the correct fix is to stop handling that notification when
we receive this error code. This is the correct fix with no leaks.

This commit is a complete r71528 revert with the appropriate fix.

CORE-10941
CORE-12843
2018-03-06 20:30:21 +01:00
Thomas Faber
ad301e6604
[LIBTIFF] Print errors to the console instead of in a MessageBox.
This is a temporary fix for a timeout in windowscodecs:tiffformat.
The test ends up invoking Win32ErrorHandler with:
_TIFFVSetField: <IStream object>: Bad value 0 for "ResolutionUnit" tag.

Ideally we'd keep the MessageBox version of the error/warning handlers but
make them respect the current error mode to avoid blocking tests and other
non-interactive applications.
2018-03-06 03:12:31 +01:00
Amine Khaldi
4a93fbcd97 [WINDOWSCODECS] Forgot to commit this file. Addendum to ae80686. CORE-14434 2018-03-05 23:56:28 +01:00
Katayama Hirofumi MZ
1f4c636453 [SHELL32] Fix item order in Folder Options (#415) 2018-03-05 23:40:41 +01:00
Mark Jansen
173b79095c
[SHLWAPI] Implement SHAreIconsEqual
CORE-14425
2018-03-05 22:43:18 +01:00
Mark Jansen
754a2fa872
[SHLWAPI_APITEST] Add test for SHAreIconsEqual 2018-03-05 22:43:17 +01:00
Thomas Faber
1f7cb06c22
[WINDOWSCODECS] Fix stack pointer corruption when handling PNGs.
Without PNG_API_RULE defined, these functions (like all others) aren't stdcall.
2018-03-05 18:51:48 +01:00
Thomas Faber
680d69d373
[AFD_APITEST] Introduce a test for directly creating and using sockets via AFD. CORE-9810
The initial tests in send.c validate correct behavior of send/sendto on
disconnected sockets (CORE-9810), fixed in r68129.
However, the helper functions are generic, so they can be used for additional
tests against AFD. Because AFD's create packet structure changes between
Windows versions, the functions check the OS version to determine the right
layout.
Tests succeed on Win2003 as well as Win10.
2018-03-05 14:52:56 +01:00
Amine Khaldi
31139640ea [MSI_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-03-05 00:31:58 +01:00
Amine Khaldi
c42b133eb1 [MSI] Sync with Wine Staging 3.3. CORE-14434 2018-03-05 00:30:58 +01:00
Amine Khaldi
23ec1e5e6f [WINDOWSCODECS_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-03-05 00:20:56 +01:00
Amine Khaldi
ae80686d81 [WINDOWSCODECS] Sync with Wine Staging 3.3. CORE-14434 2018-03-05 00:19:05 +01:00
Amine Khaldi
a8d718da39 [D3DCOMPILER_43] Sync with Wine Staging 3.3. CORE-14434 2018-03-05 00:15:03 +01:00
Amine Khaldi
bd5d127104 [DBGHELPHOST] Fix the *nix build. 2018-03-05 00:07:53 +01:00
Amine Khaldi
8d51a38cbc [DBGHELP] Sync with Wine Staging 3.3. CORE-14434 2018-03-04 23:54:20 +01:00
Amine Khaldi
a9068cc8d3 [RPCRT4_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-03-04 23:52:30 +01:00
Amine Khaldi
87a48c832a [RPCRT4] Sync with Wine Staging 3.3. CORE-14434 2018-03-04 23:49:21 +01:00
Timo Kreuzer
643e6bf382 [VFDLIB] More 64 bit fixes 2018-03-04 16:27:07 +01:00
Timo Kreuzer
0182dcd71b [PSDK][REACTOS] Fix definitions and usage of DWLP_MSGRESULT, DWLP_DLGPROC, and DWLP_USER
- Make sure the DWLP_* values are correct on _WIN64
- Don't use the DWL_* constants, they are not portable. Enforce this by removing them entirely from winuser.h
- Make sure Get/SetWindowLong*Ptr* is used and pointers are not truncated to LONG
2018-03-04 16:27:07 +01:00
Amine Khaldi
6cdd1357d6 [SHLWAPI_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-03-04 13:26:14 +01:00