wine-orson.git
6 years agoRelease 3.2. wine-3.2
Alexandre Julliard [Fri, 16 Feb 2018 19:37:35 +0000 (20:37 +0100)]
Release 3.2.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agosetupapi/tests: Drop install test workarounds for Windows <= 2000.
Alex Henrie [Fri, 16 Feb 2018 15:41:15 +0000 (08:41 -0700)]
setupapi/tests: Drop install test workarounds for Windows <= 2000.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomshtml: Added IDOMKeyboardEvent::which and IDOMMouseEvent::which properties implement...
Jacek Caban [Fri, 16 Feb 2018 15:36:14 +0000 (16:36 +0100)]
mshtml: Added IDOMKeyboardEvent::which and IDOMMouseEvent::which properties implementation.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowined3d: Use renderbuffers when resolving multisample textures with conversion.
Józef Kucia [Fri, 16 Feb 2018 14:13:33 +0000 (15:13 +0100)]
wined3d: Use renderbuffers when resolving multisample textures with conversion.

Direct3D 9 allows blits from multisample resources to non-multisample
resources with scaling or format conversion. In OpenGL, we resolve
multisample texture to the renderbuffer associated with the texture
before doing the actual blit with scaling/format conversion.

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>
6 years agod3d9/tests: Add basic test for StretchRect() with multisample resources.
Józef Kucia [Fri, 16 Feb 2018 14:13:32 +0000 (15:13 +0100)]
d3d9/tests: Add basic test for StretchRect() with multisample resources.

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>
6 years agod3d11: Add DXGI_FORMAT_B4G4R4A4_UNORM format.
Józef Kucia [Fri, 16 Feb 2018 14:13:31 +0000 (15:13 +0100)]
d3d11: Add DXGI_FORMAT_B4G4R4A4_UNORM format.

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>
6 years agodxgi: Add DXGI_FORMAT_B4G4R4A4_UNORM format.
Józef Kucia [Fri, 16 Feb 2018 14:13:30 +0000 (15:13 +0100)]
dxgi: Add DXGI_FORMAT_B4G4R4A4_UNORM format.

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>
6 years agod3d10core/tests: Add test for alpha to coverage.
Józef Kucia [Fri, 16 Feb 2018 14:13:29 +0000 (15:13 +0100)]
d3d10core/tests: Add test for alpha to coverage.

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>
6 years agoserver: Avoid writing out of bounds in get_selector_entry().
Matteo Bruni [Thu, 15 Feb 2018 23:47:55 +0000 (00:47 +0100)]
server: Avoid writing out of bounds in get_selector_entry().

Fixes c6dfce272309c1ad869886a0fce186c795f3e5b7.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3d9/tests: Add a test for GenerateMipSubLevels().
Matteo Bruni [Thu, 15 Feb 2018 23:47:54 +0000 (00:47 +0100)]
d3d9/tests: Add a test for GenerateMipSubLevels().

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3d9/tests: Add a test for cube texture mipmap autogeneration.
Matteo Bruni [Thu, 15 Feb 2018 23:47:52 +0000 (00:47 +0100)]
d3d9/tests: Add a test for cube texture mipmap autogeneration.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3d9/tests: Extend autogen_mipmap_test().
Matteo Bruni [Thu, 15 Feb 2018 23:47:51 +0000 (00:47 +0100)]
d3d9/tests: Extend autogen_mipmap_test().

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3d9: Introduce a d3d9_texture_cleanup() function.
Matteo Bruni [Thu, 15 Feb 2018 23:47:50 +0000 (00:47 +0100)]
d3d9: Introduce a d3d9_texture_cleanup() function.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowincodecs: Create default encoder options for BMP encoder.
Nikolay Sivov [Tue, 6 Feb 2018 08:01:42 +0000 (11:01 +0300)]
wincodecs: Create default encoder options for BMP encoder.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowindowscodecs/tiffformat: Fix TiffFrameDecode_GetResolution, add test.
Joachim Priesner [Mon, 5 Feb 2018 19:34:59 +0000 (20:34 +0100)]
windowscodecs/tiffformat: Fix TiffFrameDecode_GetResolution, add test.

The behavior for the invalid resolution case is different for Windows XP
and Server 2003. Implement the behavior of current Windows versions, but
allow the old behavior in the test.

Signed-off-by: Joachim Priesner <joachim.priesner@web.de>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agouser32/tests: Test auto-registration for more redirected builtin classes.
Nikolay Sivov [Fri, 16 Feb 2018 13:23:01 +0000 (16:23 +0300)]
user32/tests: Test auto-registration for more redirected builtin classes.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agocomctl32/edit: Force update on focus change.
Nikolay Sivov [Fri, 16 Feb 2018 11:19:00 +0000 (14:19 +0300)]
comctl32/edit: Force update on focus change.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agocomctl32/tests: Replace asserts with regular test checks for Edit tests.
Nikolay Sivov [Fri, 16 Feb 2018 11:18:59 +0000 (14:18 +0300)]
comctl32/tests: Replace asserts with regular test checks for Edit tests.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowined3d: Enable the multi-threaded command stream by default.
Henri Verbeet [Fri, 16 Feb 2018 06:09:08 +0000 (09:39 +0330)]
wined3d: Enable the multi-threaded command stream by default.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3d9: Explicitly translate resource map flags.
Henri Verbeet [Fri, 16 Feb 2018 06:09:07 +0000 (09:39 +0330)]
d3d9: Explicitly translate resource map flags.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3d8: Explicitly translate resource map flags.
Henri Verbeet [Fri, 16 Feb 2018 06:09:06 +0000 (09:39 +0330)]
d3d8: Explicitly translate resource map flags.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoddraw: Explicitly translate resource map flags.
Henri Verbeet [Fri, 16 Feb 2018 06:09:05 +0000 (09:39 +0330)]
ddraw: Explicitly translate resource map flags.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3d11: Set resource access based on usage and CPU access flags.
Henri Verbeet [Fri, 16 Feb 2018 06:09:04 +0000 (09:39 +0330)]
d3d11: Set resource access based on usage and CPU access flags.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoadsldp: Add a stub for IADsADSystemInfo.
Dmitry Timoshkov [Fri, 9 Feb 2018 04:15:34 +0000 (12:15 +0800)]
adsldp: Add a stub for IADsADSystemInfo.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoinclude: Add IADsADSystemInfo definition.
Dmitry Timoshkov [Fri, 9 Feb 2018 04:15:25 +0000 (12:15 +0800)]
include: Add IADsADSystemInfo definition.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoinclude: Added activeds library definition.
Alexandre Julliard [Fri, 16 Feb 2018 12:31:22 +0000 (13:31 +0100)]
include: Added activeds library definition.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoamstream: Return S_OK in IDirectDrawStreamSampleImpl_Update.
Andrey Gusev [Tue, 13 Feb 2018 12:11:27 +0000 (14:11 +0200)]
amstream: Return S_OK in IDirectDrawStreamSampleImpl_Update.

Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agooleaut32/tests: Mark some tmarshal tests as todo on x64 and ARM.
Alex Henrie [Tue, 13 Feb 2018 16:19:05 +0000 (09:19 -0700)]
oleaut32/tests: Mark some tmarshal tests as todo on x64 and ARM.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomshtml: Added IDOMEvent::pageX and pageY properties implementation.
Jacek Caban [Thu, 15 Feb 2018 16:05:13 +0000 (17:05 +0100)]
mshtml: Added IDOMEvent::pageX and pageY properties implementation.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomshtml: Added IDOMMouseEvent::buttons property implementation.
Jacek Caban [Thu, 15 Feb 2018 16:05:07 +0000 (17:05 +0100)]
mshtml: Added IDOMMouseEvent::buttons property implementation.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomshtml: Added IDOMEvent::view property implementation.
Jacek Caban [Thu, 15 Feb 2018 16:05:00 +0000 (17:05 +0100)]
mshtml: Added IDOMEvent::view property implementation.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomshtml: Added IDOMEvent::stopImmediatePropagation implementaition.
Jacek Caban [Thu, 15 Feb 2018 16:04:51 +0000 (17:04 +0100)]
mshtml: Added IDOMEvent::stopImmediatePropagation implementaition.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3d11/tests: Fix typo in #undef.
Józef Kucia [Thu, 15 Feb 2018 12:49:38 +0000 (13:49 +0100)]
d3d11/tests: Fix typo in #undef.

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>
6 years agod3d10core/tests: Fix typo in #undef.
Józef Kucia [Thu, 15 Feb 2018 12:49:37 +0000 (13:49 +0100)]
d3d10core/tests: Fix typo in #undef.

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>
6 years agowined3d: Introduce structure for dummy textures.
Józef Kucia [Thu, 15 Feb 2018 12:49:36 +0000 (13:49 +0100)]
wined3d: Introduce structure for dummy textures.

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>
6 years agowined3d: Create dummy textures for multisample texture targets.
Józef Kucia [Thu, 15 Feb 2018 12:49:35 +0000 (13:49 +0100)]
wined3d: Create dummy textures for multisample texture targets.

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>
6 years agowined3d: Align OpenGL version comments for newer core functions.
Józef Kucia [Thu, 15 Feb 2018 12:49:34 +0000 (13:49 +0100)]
wined3d: Align OpenGL version comments for newer core functions.

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>
6 years agod3d8/tests: Add test for changing multisample type of implicit swapchain.
Józef Kucia [Thu, 15 Feb 2018 12:49:33 +0000 (13:49 +0100)]
d3d8/tests: Add test for changing multisample type of implicit 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>
6 years agocomctl32/button: Use allocated structure to keep control data.
Nikolay Sivov [Thu, 15 Feb 2018 08:00:09 +0000 (11:00 +0300)]
comctl32/button: Use allocated structure to keep control data.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agocomctl32/tests: Use the global memory allocation helpers.
Nikolay Sivov [Thu, 15 Feb 2018 08:00:08 +0000 (11:00 +0300)]
comctl32/tests: Use the global memory allocation helpers.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agocomctl32/combo: Use the global memory allocation helpers.
Nikolay Sivov [Thu, 15 Feb 2018 08:00:07 +0000 (11:00 +0300)]
comctl32/combo: Use the global memory allocation helpers.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agocomctl32/edit: Use the global memory allocation helpers.
Nikolay Sivov [Thu, 15 Feb 2018 08:00:06 +0000 (11:00 +0300)]
comctl32/edit: Use the global memory allocation helpers.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoinclude: Add some tchar forwards.
Daniel Lehman [Tue, 23 Aug 2016 01:23:24 +0000 (18:23 -0700)]
include: Add some tchar forwards.

Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agontdll: Use the image information data when mapping an image file.
Alexandre Julliard [Thu, 15 Feb 2018 11:23:23 +0000 (12:23 +0100)]
ntdll: Use the image information data when mapping an image file.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoserver: Implement the various image flags in SECTION_IMAGE_INFORMATION.
Alexandre Julliard [Thu, 15 Feb 2018 11:22:43 +0000 (12:22 +0100)]
server: Implement the various image flags in SECTION_IMAGE_INFORMATION.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agokernel32/tests: Add some tests for CIL 32-bit image flags.
Alexandre Julliard [Thu, 15 Feb 2018 07:07:09 +0000 (08:07 +0100)]
kernel32/tests: Add some tests for CIL 32-bit image flags.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoxinput: Implement XInputEnable.
Aric Stewart [Wed, 14 Feb 2018 18:42:00 +0000 (12:42 -0600)]
xinput: Implement XInputEnable.

Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoxinput: Implement XInputSetState.
Aric Stewart [Wed, 14 Feb 2018 18:41:44 +0000 (12:41 -0600)]
xinput: Implement XInputSetState.

Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoxinput: Update state of HID device.
Aric Stewart [Wed, 14 Feb 2018 18:41:33 +0000 (12:41 -0600)]
xinput: Update state of HID device.

Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoxinput: Detect and setup HID gamepads.
Aric Stewart [Wed, 14 Feb 2018 18:40:59 +0000 (12:40 -0600)]
xinput: Detect and setup HID gamepads.

Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowinebus.sys: Be more specific as to what we offer as IG_ enumerated devices.
Aric Stewart [Wed, 14 Feb 2018 18:24:27 +0000 (12:24 -0600)]
winebus.sys: Be more specific as to what we offer as IG_ enumerated devices.

Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agodxgi/tests: Introduce an ARRAY_SIZE macro.
Henri Verbeet [Thu, 15 Feb 2018 06:05:19 +0000 (09:35 +0330)]
dxgi/tests: Introduce an ARRAY_SIZE macro.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agodxgi: Translate swap effects in dxgi_factory_CreateSwapChainForHwnd().
Henri Verbeet [Thu, 15 Feb 2018 06:05:18 +0000 (09:35 +0330)]
dxgi: Translate swap effects in dxgi_factory_CreateSwapChainForHwnd().

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3d9: Explicitly translate swap effects.
Henri Verbeet [Thu, 15 Feb 2018 06:05:17 +0000 (09:35 +0330)]
d3d9: Explicitly translate swap effects.

Note that previously D3DSWAPEFFECT_OVERLAY would get mapped to
WINED3D_SWAP_EFFECT_COPY_VSYNC. That didn't matter so much because neither is
currently implemented.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3d8: Explicitly translate swap effects.
Henri Verbeet [Thu, 15 Feb 2018 06:05:16 +0000 (09:35 +0330)]
d3d8: Explicitly translate swap effects.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowined3d: Print a fixme for unimplemented swap effects during swapchain (re)creation.
Henri Verbeet [Thu, 15 Feb 2018 06:05:15 +0000 (09:35 +0330)]
wined3d: Print a fixme for unimplemented swap effects during swapchain (re)creation.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agocomctl32/button: Fix paint handler check when theming is on.
Nikolay Sivov [Wed, 14 Feb 2018 11:05:15 +0000 (14:05 +0300)]
comctl32/button: Fix paint handler check when theming is on.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3d9/tests: Extend test_mipmap_gen().
Matteo Bruni [Tue, 13 Feb 2018 00:00:45 +0000 (01:00 +0100)]
d3d9/tests: Extend test_mipmap_gen().

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowined3d: Get rid of legacy mipmap autogeneration support.
Matteo Bruni [Tue, 13 Feb 2018 00:00:44 +0000 (01:00 +0100)]
wined3d: Get rid of legacy mipmap autogeneration support.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowined3d: Update feature check for mipmap generation support.
Matteo Bruni [Tue, 13 Feb 2018 00:00:43 +0000 (01:00 +0100)]
wined3d: Update feature check for mipmap generation support.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3d9: Handle D3DUSAGE_AUTOGENMIPMAP textures entirely in d3d9.
Matteo Bruni [Tue, 13 Feb 2018 00:00:42 +0000 (01:00 +0100)]
d3d9: Handle D3DUSAGE_AUTOGENMIPMAP textures entirely in d3d9.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoimm32: Add stub for ImmDisableLegacyIME.
Michael Müller [Wed, 14 Feb 2018 04:35:04 +0000 (04:35 +0000)]
imm32: Add stub for ImmDisableLegacyIME.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agodxgi: Use assignment instead of memcpy().
Józef Kucia [Wed, 14 Feb 2018 11:35:54 +0000 (12:35 +0100)]
dxgi: Use assignment instead of memcpy().

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>
6 years agod3d12/tests: Add test for COM interfaces.
Józef Kucia [Wed, 14 Feb 2018 11:35:53 +0000 (12:35 +0100)]
d3d12/tests: Add test for COM 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>
6 years agod3d12: Add dll.
Józef Kucia [Wed, 14 Feb 2018 11:35:52 +0000 (12:35 +0100)]
d3d12: Add dll.

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>
6 years agodxguid: Add D3D12 IIDs.
Józef Kucia [Wed, 14 Feb 2018 11:35:51 +0000 (12:35 +0100)]
dxguid: Add D3D12 IIDs.

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>
6 years agoinclude: Add d3d12.idl.
Józef Kucia [Wed, 14 Feb 2018 11:35:50 +0000 (12:35 +0100)]
include: Add d3d12.idl.

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>
6 years agodxgi: Implement IDXGIFactory5.
Józef Kucia [Wed, 14 Feb 2018 11:35:49 +0000 (12:35 +0100)]
dxgi: Implement IDXGIFactory5.

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>
6 years agodxgi/tests: Add test for CreateDXGIFactory2().
Józef Kucia [Wed, 14 Feb 2018 11:35:48 +0000 (12:35 +0100)]
dxgi/tests: Add test for CreateDXGIFactory2().

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>
6 years agosecur32: Use the global memory allocation helpers.
Hans Leidekker [Wed, 14 Feb 2018 13:13:09 +0000 (14:13 +0100)]
secur32: Use the global memory allocation helpers.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agosecur32: Forward to either Kerberos or NTLM from the Negotiate provider.
Hans Leidekker [Wed, 14 Feb 2018 13:13:08 +0000 (14:13 +0100)]
secur32: Forward to either Kerberos or NTLM from the Negotiate provider.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agokerberos: Trace returned flags instead of the context handle in kerberos_SpAcceptLsaM...
Hans Leidekker [Wed, 14 Feb 2018 13:13:07 +0000 (14:13 +0100)]
kerberos: Trace returned flags instead of the context handle in kerberos_SpAcceptLsaModeContext.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agokerberos: ISC_REQ_USE_DCE_STYLE is supported.
Hans Leidekker [Wed, 14 Feb 2018 13:13:06 +0000 (14:13 +0100)]
kerberos: ISC_REQ_USE_DCE_STYLE is supported.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoiphlpapi/tests: Reduce window test verbosity.
Alexandre Julliard [Wed, 14 Feb 2018 10:33:51 +0000 (11:33 +0100)]
iphlpapi/tests: Reduce window test verbosity.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agouser32/tests: Remove workarounds for older Windows versions.
Alexandre Julliard [Wed, 14 Feb 2018 10:12:36 +0000 (11:12 +0100)]
user32/tests: Remove workarounds for older Windows versions.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agouser32/tests: Reduce window test verbosity.
Alexandre Julliard [Wed, 14 Feb 2018 10:00:54 +0000 (11:00 +0100)]
user32/tests: Reduce window test verbosity.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomsvfw32: Set fccType in ICInfo().
Zebediah Figura [Tue, 13 Feb 2018 19:00:05 +0000 (13:00 -0600)]
msvfw32: Set fccType in ICInfo().

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomsvfw32: Fix driver enumeration.
Zebediah Figura [Tue, 13 Feb 2018 19:00:04 +0000 (13:00 -0600)]
msvfw32: Fix driver enumeration.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowined3d: Use the global memory allocation helpers.
Henri Verbeet [Wed, 14 Feb 2018 06:39:59 +0000 (10:09 +0330)]
wined3d: Use the global memory allocation helpers.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowined3d: Rename WINED3D_SWAP_EFFECT_FLIP to WINED3D_SWAP_EFFECT_SEQUENTIAL.
Henri Verbeet [Wed, 14 Feb 2018 06:39:58 +0000 (10:09 +0330)]
wined3d: Rename WINED3D_SWAP_EFFECT_FLIP to WINED3D_SWAP_EFFECT_SEQUENTIAL.

For consistency with DXGI.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowined3d: Get rid of the WINED3D_SWAP_EFFECT_FLIP fixme in swapchain_gl_present().
Henri Verbeet [Wed, 14 Feb 2018 06:39:57 +0000 (10:09 +0330)]
wined3d: Get rid of the WINED3D_SWAP_EFFECT_FLIP fixme in swapchain_gl_present().

I think this works about as well as it's going to. There may be a theoretical
issue that GDI draws to the window should end up in the backbuffer after a
flip, but I don't think we have tests showing that to actually be the case,
and generally speaking I'm not all that worried about it.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowined3d: Do not implicitly set WINED3D_RESOURCE_ACCESS_MAP for dynamic resources.
Henri Verbeet [Wed, 14 Feb 2018 06:39:56 +0000 (10:09 +0330)]
wined3d: Do not implicitly set WINED3D_RESOURCE_ACCESS_MAP for dynamic resources.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowined3d: Enforce map access on all resources.
Henri Verbeet [Wed, 14 Feb 2018 06:39:55 +0000 (10:09 +0330)]
wined3d: Enforce map access on all resources.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agouxtheme: Properly initialize text drawing options.
Nikolay Sivov [Wed, 14 Feb 2018 05:39:21 +0000 (08:39 +0300)]
uxtheme: Properly initialize text drawing options.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agocomctl32/listbox: Merge theming logic.
Nikolay Sivov [Wed, 14 Feb 2018 05:35:19 +0000 (08:35 +0300)]
comctl32/listbox: Merge theming logic.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agocomctl32: Introduce ListBox control.
Nikolay Sivov [Wed, 14 Feb 2018 05:35:18 +0000 (08:35 +0300)]
comctl32: Introduce ListBox control.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agocomctl32/comboex: Remove child windows subclass on window destruction.
Nikolay Sivov [Wed, 14 Feb 2018 05:34:17 +0000 (08:34 +0300)]
comctl32/comboex: Remove child windows subclass on window destruction.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agocomctl32/tests: Use existing macros for control class names.
Nikolay Sivov [Wed, 14 Feb 2018 05:33:50 +0000 (08:33 +0300)]
comctl32/tests: Use existing macros for control class names.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agocomctl32/button: Use the global memory allocation helpers.
Nikolay Sivov [Tue, 13 Feb 2018 13:19:58 +0000 (16:19 +0300)]
comctl32/button: Use the global memory allocation helpers.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agocomctl32/button: Use messages to get control text.
Nikolay Sivov [Tue, 13 Feb 2018 13:19:57 +0000 (16:19 +0300)]
comctl32/button: Use messages to get control text.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agokernel32/tests: Add some tests for image flags and CLR images.
Alexandre Julliard [Tue, 13 Feb 2018 19:08:49 +0000 (20:08 +0100)]
kernel32/tests: Add some tests for image flags and CLR images.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoinclude: Add definitions for SECTION_IMAGE_INFORMATION flags.
Alexandre Julliard [Tue, 13 Feb 2018 09:37:28 +0000 (10:37 +0100)]
include: Add definitions for SECTION_IMAGE_INFORMATION flags.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowined3d: Introduce a WINED3DFMT_FLAG_GEN_MIPMAP flag.
Matteo Bruni [Tue, 13 Feb 2018 14:54:13 +0000 (15:54 +0100)]
wined3d: Introduce a WINED3DFMT_FLAG_GEN_MIPMAP flag.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3dx9: Correctly round constants in D3DXSHMultiply3 implementation.
Alex Henrie [Tue, 6 Feb 2018 03:47:08 +0000 (20:47 -0700)]
d3dx9: Correctly round constants in D3DXSHMultiply3 implementation.

The correct constants are given to approximately 64-bit precision in
"Code Generation and Factoring for Fast Evaluation of Low-order
Spherical Harmonic Products and Squares" (2006) by John Snyder.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoinclude: Add some math function declarations.
Daniel Lehman [Tue, 30 Aug 2016 20:48:42 +0000 (13:48 -0700)]
include: Add some math function declarations.

Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoddraw: Use the global memory allocation helpers.
Henri Verbeet [Tue, 13 Feb 2018 09:32:47 +0000 (13:02 +0330)]
ddraw: Use the global memory allocation helpers.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoinclude: Add d3d11.1 and d3d11.2 constants to d3d11.idl.
Henri Verbeet [Tue, 13 Feb 2018 09:32:46 +0000 (13:02 +0330)]
include: Add d3d11.1 and d3d11.2 constants to d3d11.idl.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3d11: Set WINED3D_RESOURCE_ACCESS_MAP on 2D textures.
Henri Verbeet [Tue, 13 Feb 2018 09:32:45 +0000 (13:02 +0330)]
d3d11: Set WINED3D_RESOURCE_ACCESS_MAP on 2D textures.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3d9: Set WINED3D_RESOURCE_ACCESS_MAP on 2D textures.
Henri Verbeet [Tue, 13 Feb 2018 09:32:44 +0000 (13:02 +0330)]
d3d9: Set WINED3D_RESOURCE_ACCESS_MAP on 2D textures.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3d9: Set WINED3D_RESOURCE_ACCESS_MAP on buffers.
Henri Verbeet [Tue, 13 Feb 2018 09:32:43 +0000 (13:02 +0330)]
d3d9: Set WINED3D_RESOURCE_ACCESS_MAP on buffers.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>