wine-orson.git
7 years agoRelease 1.9.17. wine-1.9.17
Alexandre Julliard [Fri, 19 Aug 2016 13:17:09 +0000 (22:17 +0900)]
Release 1.9.17.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agod3drm: Implement IDirect3DRMViewport*::Clear.
Aaryaman Vasishta [Wed, 17 Aug 2016 18:28:41 +0000 (23:58 +0530)]
d3drm: Implement IDirect3DRMViewport*::Clear.

Signed-off-by: Aaryaman Vasishta <jem456.vasishta@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agod3d11: Support D3D11_FEATURE_D3D10_X_HARDWARE_OPTIONS in ID3D11Device CheckFeatureSup...
Alistair Leslie-Hughes [Wed, 17 Aug 2016 12:21:07 +0000 (12:21 +0000)]
d3d11: Support D3D11_FEATURE_D3D10_X_HARDWARE_OPTIONS in ID3D11Device CheckFeatureSupport.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agontdll: Add NtResumeProcess stub.
Austin English [Fri, 19 Aug 2016 08:17:16 +0000 (03:17 -0500)]
ntdll: Add NtResumeProcess stub.

Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agowlanapi: Add WlanCloseHandle() stub.
Austin English [Fri, 19 Aug 2016 07:14:19 +0000 (02:14 -0500)]
wlanapi: Add WlanCloseHandle() stub.

Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agokernel32: Add GetNumberFormatEx.
Daniel Lehman [Mon, 15 Aug 2016 17:54:20 +0000 (10:54 -0700)]
kernel32: Add GetNumberFormatEx.

Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agoapi-ms-win-core-console-l2-1-0: Add stub dll.
Hadrien Boizard [Wed, 17 Aug 2016 10:39:05 +0000 (12:39 +0200)]
api-ms-win-core-console-l2-1-0: Add stub dll.

Signed-off-by: Hadrien Boizard <h.boizard@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agontdll: Convert an ERR to a WARN when wait is triggered while destroying threadpool...
Sebastian Lackner [Thu, 18 Aug 2016 23:03:31 +0000 (01:03 +0200)]
ntdll: Convert an ERR to a WARN when wait is triggered while destroying threadpool object.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agouser32/tests: Disable custom GDI clipboard formats tests on 64-bit.
Alexandre Julliard [Fri, 19 Aug 2016 07:06:03 +0000 (16:06 +0900)]
user32/tests: Disable custom GDI clipboard formats tests on 64-bit.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agokernel32: Fix RegisterWaitForSingleObject for console handles.
Keno Fischer [Tue, 16 Aug 2016 18:35:27 +0000 (14:35 -0400)]
kernel32: Fix RegisterWaitForSingleObject for console handles.

Signed-off-by: Keno Fischer <keno@juliacomputing.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agodinput: Cope with NULL flags in LinuxInputEffectImpl_GetEffectStatus.
Bruno Jesus [Fri, 19 Aug 2016 01:50:13 +0000 (22:50 -0300)]
dinput: Cope with NULL flags in LinuxInputEffectImpl_GetEffectStatus.

Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agodinput: Implement DIPROP_PRODUCTNAME in GetProperty.
Bruno Jesus [Thu, 18 Aug 2016 19:40:22 +0000 (16:40 -0300)]
dinput: Implement DIPROP_PRODUCTNAME in GetProperty.

Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agowinedevice: Track loaded drivers and update their status on load/unload.
Sebastian Lackner [Fri, 19 Aug 2016 06:02:09 +0000 (08:02 +0200)]
winedevice: Track loaded drivers and update their status on load/unload.

Based on a patch by Aric Stewart.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agoservices: Allocate a separate status_changed_event for each service.
Sebastian Lackner [Fri, 19 Aug 2016 06:01:03 +0000 (08:01 +0200)]
services: Allocate a separate status_changed_event for each service.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agoservices: Return an error instead of BOOL from process_send_start_message.
Sebastian Lackner [Fri, 19 Aug 2016 06:00:41 +0000 (08:00 +0200)]
services: Return an error instead of BOOL from process_send_start_message.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agoreg: Simplify help handling by removing an if-else if-else block.
Hugh McMaster [Thu, 18 Aug 2016 11:54:27 +0000 (11:54 +0000)]
reg: Simplify help handling by removing an if-else if-else block.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agoreg: Fix dword conversion on 64-bit operating systems.
Hugh McMaster [Thu, 18 Aug 2016 09:59:53 +0000 (09:59 +0000)]
reg: Fix dword conversion on 64-bit operating systems.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agowinex11: Allocate clipboard data as GMEM_FIXED.
Alexandre Julliard [Thu, 18 Aug 2016 11:57:51 +0000 (20:57 +0900)]
winex11: Allocate clipboard data as GMEM_FIXED.

Based on a patch by Rafał Harabień.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agouser32/tests: Add some tests for GDI clipboard formats.
Alexandre Julliard [Thu, 18 Aug 2016 11:51:16 +0000 (20:51 +0900)]
user32/tests: Add some tests for GDI clipboard formats.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agowinex11: Correctly free CF_DIB format, and don't free unknown GDI formats.
Alexandre Julliard [Thu, 18 Aug 2016 09:24:28 +0000 (18:24 +0900)]
winex11: Correctly free CF_DIB format, and don't free unknown GDI formats.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agomsvcrt: Fix strtok_s and _mbstok_s for empty strings.
Bernhard Übelacker [Thu, 18 Aug 2016 09:49:04 +0000 (11:49 +0200)]
msvcrt: Fix strtok_s and _mbstok_s for empty strings.

Signed-off-by: Bernhard Übelacker <bernhardu@mailbox.org>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agontdll/tests: Skip broken SYSTEM_HANDLE_INFORMATION behaviour.
Huw Davies [Thu, 18 Aug 2016 08:22:58 +0000 (09:22 +0100)]
ntdll/tests: Skip broken SYSTEM_HANDLE_INFORMATION behaviour.

Vista and 2008 only copy the first handle's information into the
buffer.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agoservices: Use threadpool API instead of custom wait implementation.
Sebastian Lackner [Thu, 18 Aug 2016 07:38:24 +0000 (09:38 +0200)]
services: Use threadpool API instead of custom wait implementation.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agoservices: Sort autostart services by dwTagId config value.
Sebastian Lackner [Thu, 18 Aug 2016 07:31:35 +0000 (09:31 +0200)]
services: Sort autostart services by dwTagId config value.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agoservices: Hold startup lock before calling service_start.
Sebastian Lackner [Thu, 18 Aug 2016 07:30:33 +0000 (09:30 +0200)]
services: Hold startup lock before calling service_start.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agoservices: Track number of services per process.
Sebastian Lackner [Thu, 18 Aug 2016 07:27:58 +0000 (09:27 +0200)]
services: Track number of services per process.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agoservices: WaitForSingleObject returns a DWORD result.
Sebastian Lackner [Thu, 18 Aug 2016 07:25:23 +0000 (09:25 +0200)]
services: WaitForSingleObject returns a DWORD result.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agodinput: Use the correct index to remap the axis.
Bruno Jesus [Thu, 18 Aug 2016 06:34:37 +0000 (03:34 -0300)]
dinput: Use the correct index to remap the axis.

Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agoinclude: Add DIPROP_PRODUCTNAME and remove duplicate #defines from dinput.h.
Bruno Jesus [Thu, 18 Aug 2016 05:03:25 +0000 (02:03 -0300)]
include: Add DIPROP_PRODUCTNAME and remove duplicate #defines from dinput.h.

Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agomsvcirt: Implement ios::sync_with_stdio.
Iván Matellanes [Wed, 17 Aug 2016 19:36:03 +0000 (20:36 +0100)]
msvcirt: Implement ios::sync_with_stdio.

Signed-off-by: Iván Matellanes <matellanesivan@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agomsvcirt: Add predefined streams.
Iván Matellanes [Wed, 17 Aug 2016 19:36:02 +0000 (20:36 +0100)]
msvcirt: Add predefined streams.

Signed-off-by: Iván Matellanes <matellanesivan@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agodinput: Properly debug DIDEVTYPE_HID in _dump_DIDEVCAPS.
Bruno Jesus [Thu, 18 Aug 2016 04:41:46 +0000 (01:41 -0300)]
dinput: Properly debug DIDEVTYPE_HID in _dump_DIDEVCAPS.

Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agodinput: Properly fill the HID information for the controller in the event driver.
Bruno Jesus [Thu, 18 Aug 2016 00:50:06 +0000 (21:50 -0300)]
dinput: Properly fill the HID information for the controller in the event driver.

Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agodinput: Implement GetDeviceInfo(A) using the W version in the event driver.
Bruno Jesus [Thu, 18 Aug 2016 00:49:55 +0000 (21:49 -0300)]
dinput: Implement GetDeviceInfo(A) using the W version in the event driver.

Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agouser32: Prevent resetting WS_MINIMIZE through SetWindowLong.
Józef Kucia [Wed, 17 Aug 2016 11:56:09 +0000 (13:56 +0200)]
user32: Prevent resetting WS_MINIMIZE through SetWindowLong.

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agouser32/tests: Add more tests for setting window styles.
Józef Kucia [Wed, 17 Aug 2016 11:56:08 +0000 (13:56 +0200)]
user32/tests: Add more tests for setting window styles.

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agontdll: Pass updated context inside dispatch.ContextRecord in call_stack_handlers.
Piotr Caban [Wed, 17 Aug 2016 10:48:24 +0000 (12:48 +0200)]
ntdll: Pass updated context inside dispatch.ContextRecord in call_stack_handlers.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agontdll: Print fixme message in case of nested exception.
Piotr Caban [Wed, 17 Aug 2016 10:48:17 +0000 (12:48 +0200)]
ntdll: Print fixme message in case of nested exception.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agontdll: Add support for exceptions inside termination handlers in __C_specific_handler.
Piotr Caban [Wed, 17 Aug 2016 10:48:13 +0000 (12:48 +0200)]
ntdll: Add support for exceptions inside termination handlers in __C_specific_handler.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agontdll: Call exception handler with correct context.
Piotr Caban [Wed, 17 Aug 2016 10:48:10 +0000 (12:48 +0200)]
ntdll: Call exception handler with correct context.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agontdll: Add support for ExceptionCollidedUnwind return from exception handler.
Piotr Caban [Wed, 17 Aug 2016 10:48:05 +0000 (12:48 +0200)]
ntdll: Add support for ExceptionCollidedUnwind return from exception handler.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agontdll: Add support for collided unwinds.
Piotr Caban [Wed, 17 Aug 2016 10:48:00 +0000 (12:48 +0200)]
ntdll: Add support for collided unwinds.

Based on work by Alexandre Julliard.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agontdll/tests: Dump the handle table on failure.
Huw Davies [Wed, 17 Aug 2016 12:45:18 +0000 (13:45 +0100)]
ntdll/tests: Dump the handle table on failure.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agokernel32/tests: Add thread tests for fiber-local storage.
John Sheu [Tue, 2 Aug 2016 22:55:44 +0000 (15:55 -0700)]
kernel32/tests: Add thread tests for fiber-local storage.

Signed-off-by: John Sheu <sheu@google.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agokernel32/tests: Add loader tests for fiber-local storage.
John Sheu [Tue, 2 Aug 2016 22:55:43 +0000 (15:55 -0700)]
kernel32/tests: Add loader tests for fiber-local storage.

Signed-off-by: John Sheu <sheu@google.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agowebservices: Implement WsRemoveMappedHeader.
Hans Leidekker [Wed, 17 Aug 2016 12:24:02 +0000 (14:24 +0200)]
webservices: Implement WsRemoveMappedHeader.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agowebservices: Implement WsAddMappedHeader.
Hans Leidekker [Wed, 17 Aug 2016 12:24:01 +0000 (14:24 +0200)]
webservices: Implement WsAddMappedHeader.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agowebservices: Validate the handle in channel functions.
Hans Leidekker [Wed, 17 Aug 2016 12:24:00 +0000 (14:24 +0200)]
webservices: Validate the handle in channel functions.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agowebservices: Add support for writing GUID values.
Hans Leidekker [Wed, 17 Aug 2016 12:23:59 +0000 (14:23 +0200)]
webservices: Add support for writing GUID values.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agoinclude: Add missing Web Services declarations.
Hans Leidekker [Wed, 17 Aug 2016 12:23:58 +0000 (14:23 +0200)]
include: Add missing Web Services declarations.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agomsvcirt: Implement Iostream_init constructor.
Iván Matellanes [Wed, 17 Aug 2016 10:57:37 +0000 (11:57 +0100)]
msvcirt: Implement Iostream_init constructor.

Signed-off-by: Iván Matellanes <matellanesivan@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agomsvcirt: Add a partial implementation of class Iostream_init.
Iván Matellanes [Wed, 17 Aug 2016 10:57:36 +0000 (11:57 +0100)]
msvcirt: Add a partial implementation of class Iostream_init.

Signed-off-by: Iván Matellanes <matellanesivan@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agomsvcrt: Add _wcreate_locale.
Piotr Caban [Wed, 17 Aug 2016 11:17:17 +0000 (13:17 +0200)]
msvcrt: Add _wcreate_locale.

Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agoucrtbase: Add __stdio_common_vfwscanf.
Daniel Lehman [Mon, 8 Aug 2016 21:02:16 +0000 (14:02 -0700)]
ucrtbase: Add __stdio_common_vfwscanf.

Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agoinetcomm: Add MimeOleObjectFromMoniker stub.
Alistair Leslie-Hughes [Mon, 15 Aug 2016 20:53:45 +0000 (20:53 +0000)]
inetcomm: Add MimeOleObjectFromMoniker stub.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agoadvapi32: Do not stop service main thread as long as there are still running services.
Sebastian Lackner [Wed, 17 Aug 2016 07:40:04 +0000 (09:40 +0200)]
advapi32: Do not stop service main thread as long as there are still running services.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agoadvapi32: Hold lock while handling service thread shutdown.
Sebastian Lackner [Wed, 17 Aug 2016 07:36:59 +0000 (09:36 +0200)]
advapi32: Hold lock while handling service thread shutdown.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agoadvapi32: Hold lock while processing service controls.
Sebastian Lackner [Wed, 17 Aug 2016 07:36:13 +0000 (09:36 +0200)]
advapi32: Hold lock while processing service controls.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agoadvapi32: Simplify RegisterServiceCtrlHandlerExW.
Sebastian Lackner [Wed, 17 Aug 2016 07:35:30 +0000 (09:35 +0200)]
advapi32: Simplify RegisterServiceCtrlHandlerExW.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agoservices: Add a grab_service function.
Sebastian Lackner [Wed, 17 Aug 2016 07:12:27 +0000 (09:12 +0200)]
services: Add a grab_service function.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agouser32/tests: Add some cross-process clipboard tests.
Alexandre Julliard [Wed, 17 Aug 2016 10:01:25 +0000 (19:01 +0900)]
user32/tests: Add some cross-process clipboard tests.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agowinex11: Don't crash when getting an invalid window in SelectionRequest.
Alexandre Julliard [Wed, 17 Aug 2016 08:23:31 +0000 (17:23 +0900)]
winex11: Don't crash when getting an invalid window in SelectionRequest.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agouser32/tests: Add tests for clipboard global memory handles.
Alexandre Julliard [Wed, 17 Aug 2016 07:55:16 +0000 (16:55 +0900)]
user32/tests: Add tests for clipboard global memory handles.

The GMEM_FIXED tests are based on a patch by Rafał Harabień.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agoole32/tests: Make the clipboard test more strict and remove Win9x compatibility cruft.
Alexandre Julliard [Wed, 17 Aug 2016 05:26:59 +0000 (14:26 +0900)]
ole32/tests: Make the clipboard test more strict and remove Win9x compatibility cruft.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agokernel32: Implement GetConsoleScreenBufferInfoEx.
Hugh McMaster [Wed, 17 Aug 2016 01:35:53 +0000 (01:35 +0000)]
kernel32: Implement GetConsoleScreenBufferInfoEx.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agokernel32/tests: Add tests for GetConsoleScreenBufferInfoEx.
Hugh McMaster [Wed, 17 Aug 2016 01:35:39 +0000 (01:35 +0000)]
kernel32/tests: Add tests for GetConsoleScreenBufferInfoEx.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agowinex11.drv: Return default locale in LoadKeyboardLayout stub instead of 0.
Nils Kuhnhenn [Thu, 11 Aug 2016 15:28:17 +0000 (17:28 +0200)]
winex11.drv: Return default locale in LoadKeyboardLayout stub instead of 0.

Signed-off-by: Nils Kuhnhenn <kuhnhenn.nils@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agohidclass.sys: Do not send IRP_MJ_POWER ioctls.
Aric Stewart [Fri, 12 Aug 2016 13:20:11 +0000 (08:20 -0500)]
hidclass.sys: Do not send IRP_MJ_POWER ioctls.

That is the Plug and Play Manager's job.

Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agohidclass.sys: Do not send IRP_MJ_PNP ioctls.
Aric Stewart [Fri, 12 Aug 2016 13:20:01 +0000 (08:20 -0500)]
hidclass.sys: Do not send IRP_MJ_PNP ioctls.

That is the Plug and Play Manager's job.

Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agohidclass.sys: Call IoAttachDeviceToDeviceStack when creating HID device.
Aric Stewart [Fri, 12 Aug 2016 13:18:56 +0000 (08:18 -0500)]
hidclass.sys: Call IoAttachDeviceToDeviceStack when creating HID device.

Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agohidclass.sys: Use the PDO instance id for the HID instance id.
Aric Stewart [Fri, 12 Aug 2016 13:17:55 +0000 (08:17 -0500)]
hidclass.sys: Use the PDO instance id for the HID instance id.

Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agohal: Add WRITE_PORT_UCHAR stub.
André Hentschel [Tue, 16 Aug 2016 20:30:20 +0000 (22:30 +0200)]
hal: Add WRITE_PORT_UCHAR stub.

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agodinput: Properly fill the HID information for the controller in the js driver.
Bruno Jesus [Wed, 17 Aug 2016 01:24:14 +0000 (22:24 -0300)]
dinput: Properly fill the HID information for the controller in the js driver.

Even the Xbox 360 controller which does not use HID has the same flags
and usage page set on Windows.

Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agodinput: Implement GetDeviceInfo(A) using the W version in the js driver.
Bruno Jesus [Wed, 17 Aug 2016 01:24:03 +0000 (22:24 -0300)]
dinput: Implement GetDeviceInfo(A) using the W version in the js driver.

Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agodinput: Use a helper to read information files for the js device.
Bruno Jesus [Wed, 17 Aug 2016 01:23:45 +0000 (22:23 -0300)]
dinput: Use a helper to read information files for the js device.

Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agogdiplus/tests: Add metafile test for SetClipRect.
Vincent Povirk [Tue, 16 Aug 2016 21:00:27 +0000 (16:00 -0500)]
gdiplus/tests: Add metafile test for SetClipRect.

Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agogdiplus: Implement playback/recording for SetClipRect.
Vincent Povirk [Tue, 16 Aug 2016 21:00:26 +0000 (16:00 -0500)]
gdiplus: Implement playback/recording for SetClipRect.

Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agodinput/tests: Test for DIDOI_ASPECTPOSITION on joystick axes.
Bruno Jesus [Tue, 16 Aug 2016 20:28:38 +0000 (17:28 -0300)]
dinput/tests: Test for DIDOI_ASPECTPOSITION on joystick axes.

Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agodinput: Report DIDOI_ASPECTPOSITION flag for axes objects.
Andrew Church [Tue, 16 Aug 2016 20:28:34 +0000 (17:28 -0300)]
dinput: Report DIDOI_ASPECTPOSITION flag for axes objects.

Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agouser32: Handle invalid dialog handles in IsDialogMessage().
Nikolay Sivov [Tue, 16 Aug 2016 07:38:32 +0000 (10:38 +0300)]
user32: Handle invalid dialog handles in IsDialogMessage().

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agogdi32: Exponentially grow successive point buffers.
Huw Davies [Tue, 16 Aug 2016 14:09:30 +0000 (15:09 +0100)]
gdi32: Exponentially grow successive point buffers.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agod3dx11: Add D3DX11CreateTextureFromMemory stub.
Alistair Leslie-Hughes [Tue, 16 Aug 2016 05:47:15 +0000 (05:47 +0000)]
d3dx11: Add D3DX11CreateTextureFromMemory stub.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agod3d11: Remove redundant 'break' statement.
Józef Kucia [Mon, 15 Aug 2016 14:00:23 +0000 (16:00 +0200)]
d3d11: Remove redundant 'break' statement.

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>
7 years agodxgi/tests: Check fullscreen state in test_create_swapchain().
Józef Kucia [Mon, 15 Aug 2016 14:00:22 +0000 (16:00 +0200)]
dxgi/tests: Check fullscreen state in test_create_swapchain().

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>
7 years agodxgi: Properly switch to fullscreen mode when creating fullscreen swapchains.
Józef Kucia [Mon, 15 Aug 2016 14:00:21 +0000 (16:00 +0200)]
dxgi: Properly switch to fullscreen mode when creating fullscreen swapchains.

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>
7 years agodxgi/tests: Also test IDXGISwapChain_ResizeTarget() in fullscreen with disabled mode...
Józef Kucia [Mon, 15 Aug 2016 14:00:20 +0000 (16:00 +0200)]
dxgi/tests: Also test IDXGISwapChain_ResizeTarget() in fullscreen with disabled mode switch.

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>
7 years agod3d11/tests: Fix copy-paste error in test_swapchain_views().
Józef Kucia [Mon, 15 Aug 2016 14:00:19 +0000 (16:00 +0200)]
d3d11/tests: Fix copy-paste error in test_swapchain_views().

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>
7 years agod3d10core/tests: Add test for swapchain views.
Józef Kucia [Mon, 15 Aug 2016 14:00:18 +0000 (16:00 +0200)]
d3d10core/tests: Add test for swapchain views.

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>
7 years agod3d9/tests: Add test for regression in IDirect3DDevice9_Reset().
Józef Kucia [Mon, 15 Aug 2016 14:00:17 +0000 (16:00 +0200)]
d3d9/tests: Add test for regression in IDirect3DDevice9_Reset().

This adds a test for regression introduced in
cad279449c62a965a70a712a91b11ba52c4ff4f7.

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>
7 years agostrmbase: Fix media type leaks when creating IEnumMediaTypes instance (Valgrind).
Nikolay Sivov [Mon, 15 Aug 2016 13:38:33 +0000 (16:38 +0300)]
strmbase: Fix media type leaks when creating IEnumMediaTypes instance (Valgrind).

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agopreloader: Add proper CFI instructions to _start functions.
Keno Fischer [Thu, 11 Aug 2016 19:04:39 +0000 (15:04 -0400)]
preloader: Add proper CFI instructions to _start functions.

Signed-off-by: Keno Fischer <keno@juliacomputing.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agod3drm: Implement IDirect3DRMFrame*::GetScene.
Aaryaman Vasishta [Mon, 15 Aug 2016 19:50:15 +0000 (01:20 +0530)]
d3drm: Implement IDirect3DRMFrame*::GetScene.

Signed-off-by: Aaryaman Vasishta <jem456.vasishta@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agowebservices: Implement WS_ADDRESSING_VERSION_TRANSPORT.
Hans Leidekker [Tue, 16 Aug 2016 10:30:36 +0000 (12:30 +0200)]
webservices: Implement WS_ADDRESSING_VERSION_TRANSPORT.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agowebservices: Add missing channel properties.
Hans Leidekker [Tue, 16 Aug 2016 10:30:35 +0000 (12:30 +0200)]
webservices: Add missing channel properties.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agowebservices: Implement WsRemoveHeader.
Hans Leidekker [Tue, 16 Aug 2016 10:30:34 +0000 (12:30 +0200)]
webservices: Implement WsRemoveHeader.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agowebservices: Support WS_STRING values in WsSetHeader.
Hans Leidekker [Tue, 16 Aug 2016 10:30:33 +0000 (12:30 +0200)]
webservices: Support WS_STRING values in WsSetHeader.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agowebservices: Write the envelope in WsInitializeMessage.
Hans Leidekker [Tue, 16 Aug 2016 10:30:32 +0000 (12:30 +0200)]
webservices: Write the envelope in WsInitializeMessage.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agowinhttp: Validate the port number in WinHttpCrackUrl.
Hans Leidekker [Tue, 16 Aug 2016 10:30:02 +0000 (12:30 +0200)]
winhttp: Validate the port number in WinHttpCrackUrl.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agowinhttp: Set required buffer length for all components in WinHttpCrackUrl.
Hans Leidekker [Tue, 16 Aug 2016 10:30:01 +0000 (12:30 +0200)]
winhttp: Set required buffer length for all components in WinHttpCrackUrl.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7 years agomsvcirt/tests: Simplify generating a pointer to address 0x1.
Michael Stefaniuc [Tue, 16 Aug 2016 07:43:37 +0000 (09:43 +0200)]
msvcirt/tests: Simplify generating a pointer to address 0x1.

Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>