Guo Lv
daa832f4bf
user32: Make functions use display dc thread-safe.
...
Signed-off-by: Guo Lv <lvguo@deepin.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-23 12:03:12 +01:00
Huw Davies
82973cfbd1
gdi32: Allocate the bitmap bits during CreateBitmapIndirect() to catch out-of-memory errors.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-23 11:33:39 +01:00
Sergio Gómez Del Real
3bf32809b0
ole32: Prevent adding additional cache entries to static class caches.
...
Signed-off-by: Sergio Gómez Del Real <sdelreal@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-23 11:33:38 +01:00
Huw Davies
c4a595e316
ole32: Explicitly enumerate the presentation streams rather than using EnumElements.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-23 11:33:36 +01:00
Huw Davies
ce66c8d147
ole32: Only load the contents stream for the static clsids.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-23 11:33:34 +01:00
Hans Leidekker
e3fe10719e
iphlpapi: Implement if_indextoname.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-23 11:32:25 +01:00
Hans Leidekker
9bafbe1086
crypt32: Add a stub implementation of CertUnregisterPhysicalStore.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-23 11:32:21 +01:00
Nikolay Sivov
5e947df1fe
msxml3: Register msxsl:node-set() extension function.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-23 11:32:16 +01:00
Nikolay Sivov
92513a9edd
msxml3: Implement custom document importing callback.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-23 11:32:14 +01:00
Nikolay Sivov
cdaf5625d1
msxml3: Use IUri API to load documents.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-23 11:32:12 +01:00
Jacek Caban
de90cca586
ole32/tests: Added more CoWaitForMultipleHandles tests.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-23 11:31:36 +01:00
Jacek Caban
2e66aa59b2
ole32: Don't stop processing messages after WM_QUIT in CoWaitForMultipleHandles.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-23 11:31:34 +01:00
Jacek Caban
98b44e793a
ole32: Don't dispatch WM_QUIT messages in CoWaitForMultipleHandles.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-23 11:31:32 +01:00
Jacek Caban
f4b1454f33
ole32: Post quit message after leaving wait loop in CoWaitForMultipleHandles.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-23 11:31:29 +01:00
Masanori Kakura
7ff0881775
xaudio2: Partially implement XA2SRC_SetChannelVolumes().
...
Signed-off-by: Masanori Kakura <kakurasan@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-22 22:26:47 +01:00
Andrew Eikum
de3591ca98
xinput: XInputGetStateEx takes the same struct as XInputGetState.
...
XINPUT_STATE_EX has four extra bytes for padding, but is otherwise
identical to XINPUT_STATE. It was introduced in a libSDL header in
2012, for use with the undocumented function at xinput ordinal 100,
which we call XInputGetStateEx.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-22 22:26:47 +01:00
Jacek Caban
a6a5bca509
schtasks: Added support for /f argument in create command.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-22 22:26:47 +01:00
Martin Storsjo
4415653f84
ntdll: Implement NtFlushInstructionCache using __clear_cache where available.
...
The configure check needs to be done with a more elaborate test than
just AC_CHECK_FUNC, since it's a built-in function in clang and errors
out if invoked with no parameters.
Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-22 22:26:46 +01:00
Nikolay Sivov
6aa853ae39
user32/edit: Fix EM_SETWORDBREAKPROC return value.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-22 22:26:46 +01:00
Henri Verbeet
8247c13aae
d2d1: Introduce a registry key to limit the maximum supported factory version.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-22 22:26:46 +01:00
Lucian Poston
9d9fbc0e4a
d2d1: Implement ID2D1Factory1.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-22 22:26:46 +01:00
Józef Kucia
05b11380e8
dxgi: Implement dxgi_swapchain_GetFullscreenDesc().
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-22 22:26:46 +01:00
Józef Kucia
0e4250c595
dxgi: Implement dxgi_swapchain_GetDesc1().
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-22 22:26:46 +01:00
Józef Kucia
90db63ab2d
dxgi/tests: Zero swapchain descriptions.
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-22 22:26:46 +01:00
Józef Kucia
6141647a52
dxgi: Set BufferUsage in dxgi_swapchain_GetDesc().
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-22 22:26:46 +01:00
Józef Kucia
bb5c90d967
d3d11: Prefer D3D11 interfaces.
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-22 22:26:46 +01:00
Alexandre Julliard
9d911a5736
ntdll: Move suspending a thread on startup back to the platform-specific files.
...
This partially reverts f64d2688d2
.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-22 22:26:46 +01:00
Alexandre Julliard
a83532d8dd
ntdll: Store the context on the thread stack after the initial suspend.
...
The initial stack pointer may have been modified during suspend.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-22 22:26:45 +01:00
Alexandre Julliard
3e80093410
ntdll: Implement RtlPushFrame, RtlPopFrame and RtlGetFrame.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-22 16:26:13 +01:00
Alexandre Julliard
bd4f6f4541
include: Add a few more TEB structure definitions.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-22 16:26:13 +01:00
Alexandre Julliard
c3d78af9bb
include: Add missing CONTEXT_ALL definitions.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-22 15:49:45 +01:00
Alexandre Julliard
03d31ea81d
server: Only update the modified parts of the context on thread suspend.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-22 15:18:48 +01:00
Alexandre Julliard
a6f85e616d
wineandroid: Don't allocate a window surface for off-screen windows.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-22 15:18:47 +01:00
Alexandre Julliard
5ef349e45f
winex11: Don't allocate a window surface for off-screen windows.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-22 15:18:47 +01:00
Martin Storsjo
ae49bc94b4
ucrtbase: Hook up __intrinsic_setjmpex for x86_64 and arm64.
...
Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-22 15:18:47 +01:00
Huw Davies
1def41b903
gdi32: Don't bother using the return value of HeapFree().
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-22 12:21:09 +01:00
Hans Leidekker
8bdcaf6036
msi: Write registry values for source components too.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-22 10:28:05 +01:00
Hans Leidekker
dfe48bab07
dnsapi: Use default server list if passed in array is empty.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-22 10:28:00 +01:00
Huw Davies
dd012af92a
oleaut32: Fix vtable offset for a SYS_WIN32 typelib loaded on WIN64.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-22 10:27:57 +01:00
Huw Davies
138f75f19f
oleaut32/tests: Remove some no longer needed test work-arounds.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-22 10:27:55 +01:00
Huw Davies
47967b7c08
ole32: Implement saving of view cache entries.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-22 10:27:15 +01:00
André Hentschel
dfe813e34f
ntdll: Determine write fault based on failed instruction on ARM64.
...
Based on code from Qemu. Reported by Stefan Dösinger.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-22 10:20:07 +01:00
Stefan Dösinger
5c421e5fcc
ws2_32/tests: Fix the printed value in a few ok lines.
...
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-22 10:17:37 +01:00
Nikolay Sivov
da3b5129a5
ole2disp: Implement SafeArrayDestroyData().
...
Based on patch by Vijay Kiran Kamuju.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-22 10:16:54 +01:00
Nikolay Sivov
6b2675dc8f
comctl32/listview: Always return zero state mask for subitems.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-22 10:16:45 +01:00
Nikolay Sivov
ce5fb75f7f
shell32: Reduce code duplication in GetCommandString().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-22 10:16:40 +01:00
Nikolay Sivov
2859e7d143
comctl32/updown: Remove window subclass right before window is destroyed.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-22 10:03:05 +01:00
Andrey Gusev
8aac7a224d
d3d8/tests: Use GetModuleHandleA instead of LoadLibraryA.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-19 22:07:17 +01:00
Akihiro Sagawa
844ae22fcf
kernel32: Return the list of module handles even if the last argument is null.
...
Touhou Shinpiroku relies on this behaviour.
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-19 19:46:19 +01:00
Jacek Caban
74b386d4a2
schtests: Added /create command implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-19 19:46:05 +01:00