wine-orson.git
6 years agoRelease 3.0-rc1. wine-3.0-rc1
Alexandre Julliard [Fri, 8 Dec 2017 19:48:54 +0000 (20:48 +0100)]
Release 3.0-rc1.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowebservices: Don't use the dictionary for UTF-16 text.
Hans Leidekker [Fri, 8 Dec 2017 14:49:41 +0000 (15:49 +0100)]
webservices: Don't use the dictionary for UTF-16 text.

Although UTF-16 text is converted to UTF-8 before transmission it's
stored inline rather than in the dictionary.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowebservices: Enable dictionary lookup after setting the output buffer.
Hans Leidekker [Fri, 8 Dec 2017 14:49:40 +0000 (15:49 +0100)]
webservices: Enable dictionary lookup after setting the output buffer.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowebservices: Implement WS_REPEATING_ELEMENT_CHOICE_FIELD_MAPPING in the writer.
Hans Leidekker [Fri, 8 Dec 2017 14:49:39 +0000 (15:49 +0100)]
webservices: Implement WS_REPEATING_ELEMENT_CHOICE_FIELD_MAPPING in the writer.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowebservices: Don't require specific writer state for element mappings in WsWriteType.
Hans Leidekker [Fri, 8 Dec 2017 14:49:38 +0000 (15:49 +0100)]
webservices: Don't require specific writer state for element mappings in WsWriteType.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowebservices: Store the async context directly in struct receive_message.
Hans Leidekker [Fri, 8 Dec 2017 14:49:37 +0000 (15:49 +0100)]
webservices: Store the async context directly in struct receive_message.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3d11/tests: Run depth bias test on smaller render targets.
Józef Kucia [Fri, 8 Dec 2017 13:28:52 +0000 (14:28 +0100)]
d3d11/tests: Run depth bias test on smaller render targets.

Makes the test much faster.

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/tests: Add test for depth bias.
Józef Kucia [Fri, 8 Dec 2017 13:28:51 +0000 (14:28 +0100)]
d3d11/tests: Add test for depth bias.

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: Avoid calling removed/deprecated GL functions in SetupForBlit().
Józef Kucia [Fri, 8 Dec 2017 09:41:21 +0000 (10:41 +0100)]
wined3d: Avoid calling removed/deprecated GL functions in SetupForBlit().

Eliminates possible GL errors when core contexts are used.

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/tests: Add some tests for invalid RTVs.
Matteo Bruni [Thu, 7 Dec 2017 21:56:20 +0000 (22:56 +0100)]
d3d11/tests: Add some tests for invalid RTVs.

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: Only allow swapchain textures to have mismatched sRGB setting in resource...
Matteo Bruni [Thu, 7 Dec 2017 21:56:18 +0000 (22:56 +0100)]
wined3d: Only allow swapchain textures to have mismatched sRGB setting in resource views.

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: Fix shader_resource_view_generate_mipmaps() with texture views.
Matteo Bruni [Thu, 7 Dec 2017 21:56:17 +0000 (22:56 +0100)]
wined3d: Fix shader_resource_view_generate_mipmaps() with texture views.

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 agoinclude: Add dhtmled.idl and dhtmldid.h.
Alex Henrie [Wed, 6 Dec 2017 19:11:49 +0000 (12:11 -0700)]
include: Add dhtmled.idl and dhtmldid.h.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoole32: Don't clear the dirty flag when saving to another storage.
Huw Davies [Fri, 8 Dec 2017 10:52:45 +0000 (10:52 +0000)]
ole32: Don't clear the dirty flag when saving to another storage.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoole32: Remove unused variable.
Huw Davies [Fri, 8 Dec 2017 10:52:44 +0000 (10:52 +0000)]
ole32: Remove unused variable.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoole32: Properly align HMETAFILEPICT marshal data.
Huw Davies [Fri, 8 Dec 2017 10:26:51 +0000 (10:26 +0000)]
ole32: Properly align HMETAFILEPICT marshal data.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoole32: Properly align HENHMETAFILE marshal data.
Huw Davies [Fri, 8 Dec 2017 10:26:50 +0000 (10:26 +0000)]
ole32: Properly align HENHMETAFILE marshal data.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoole32: Properly align HANDLE marshal data.
Huw Davies [Fri, 8 Dec 2017 10:26:49 +0000 (10:26 +0000)]
ole32: Properly align HANDLE marshal data.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoole32: Properly align CLIPFORMAT marshal data.
Huw Davies [Fri, 8 Dec 2017 10:26:48 +0000 (10:26 +0000)]
ole32: Properly align CLIPFORMAT marshal data.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoole32: Add user marshalling for TYMED_GDI.
Zebediah Figura [Thu, 7 Dec 2017 17:20:12 +0000 (11:20 -0600)]
ole32: Add user marshalling for TYMED_GDI.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoole32: Add local user marshalling for bitmaps.
Zebediah Figura [Thu, 7 Dec 2017 17:20:11 +0000 (11:20 -0600)]
ole32: Add local user marshalling for bitmaps.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoole32: Add in-process user marshalling for bitmaps.
Zebediah Figura [Thu, 7 Dec 2017 17:20:10 +0000 (11:20 -0600)]
ole32: Add in-process user marshalling for bitmaps.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoole32/tests: Add tests for enhmetafile and CONTENTS stream saving.
Sergio Gómez Del Real [Wed, 6 Dec 2017 15:52:27 +0000 (10:52 -0500)]
ole32/tests: Add tests for enhmetafile and CONTENTS stream saving.

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>
6 years agoole32: Add support for saving enhmetafiles to CONTENTS and Presentation streams.
Sergio Gómez Del Real [Wed, 6 Dec 2017 15:52:26 +0000 (10:52 -0500)]
ole32: Add support for saving enhmetafiles to CONTENTS and Presentation streams.

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>
6 years agoole32: Add support for saving metafiles to CONTENTS streams.
Sergio Gómez Del Real [Wed, 6 Dec 2017 15:52:25 +0000 (10:52 -0500)]
ole32: Add support for saving metafiles to CONTENTS streams.

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>
6 years agoole32: Add support for saving DIBs to CONTENTS streams.
Sergio Gómez Del Real [Wed, 6 Dec 2017 15:52:24 +0000 (10:52 -0500)]
ole32: Add support for saving DIBs to CONTENTS streams.

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>
6 years agoole32: Refactor OLE's data cache Save implementation.
Sergio Gómez Del Real [Wed, 6 Dec 2017 15:52:23 +0000 (10:52 -0500)]
ole32: Refactor OLE's data cache Save implementation.

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>
6 years agooleaut32: Fix check for DECIMAL variant in VarNumFromParseNum.
Alexandre Julliard [Fri, 8 Dec 2017 14:23:55 +0000 (15:23 +0100)]
oleaut32: Fix check for DECIMAL variant in VarNumFromParseNum.

Reported by Gerald Pfeifer.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agooleaut32: Fix ARM floating point register allocations.
Alexandre Julliard [Fri, 8 Dec 2017 14:08:57 +0000 (15:08 +0100)]
oleaut32: Fix ARM floating point register allocations.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agooleaut32: Disable floating point instructions for the soft-float ARM build.
Alexandre Julliard [Fri, 8 Dec 2017 12:22:31 +0000 (13:22 +0100)]
oleaut32: Disable floating point instructions for the soft-float ARM build.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomsvcrt: Disable floating point instructions for the soft-float ARM build.
Alexandre Julliard [Fri, 8 Dec 2017 12:03:28 +0000 (13:03 +0100)]
msvcrt: Disable floating point instructions for the soft-float ARM build.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoinclude: Don't use floating point for WINAPI functions when building for soft-float...
Alexandre Julliard [Fri, 8 Dec 2017 11:43:19 +0000 (12:43 +0100)]
include: Don't use floating point for WINAPI functions when building for soft-float on ARM.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoconfigure: Add option for overriding the floating point ABI on ARM platforms.
Alexandre Julliard [Fri, 8 Dec 2017 10:37:16 +0000 (11:37 +0100)]
configure: Add option for overriding the floating point ABI on ARM platforms.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowinegcc: Add support for -mfloat-abi option.
Alexandre Julliard [Fri, 8 Dec 2017 10:55:42 +0000 (11:55 +0100)]
winegcc: Add support for -mfloat-abi option.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowinebuild: Add support for -mfloat-abi option.
Alexandre Julliard [Fri, 8 Dec 2017 10:55:30 +0000 (11:55 +0100)]
winebuild: Add support for -mfloat-abi option.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowinemac: Stop the display link after 2 seconds of idleness, not the first time it...
Ken Thomases [Fri, 8 Dec 2017 08:54:08 +0000 (02:54 -0600)]
winemac: Stop the display link after 2 seconds of idleness, not the first time it's idle.

Signed-off-by: Ken Thomases <ken@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowinemac: Leave a window in auto-display mode when it doesn't yet have a display link.
Ken Thomases [Fri, 8 Dec 2017 08:54:07 +0000 (02:54 -0600)]
winemac: Leave a window in auto-display mode when it doesn't yet have a display link.

This fixes an issue where some windows (on some systems) would never display
their content area.  If they had a title bar, they'd just display that and
nothing else.

Signed-off-by: Ken Thomases <ken@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowinemac: Check the display link running state as well as the window count to decide...
Ken Thomases [Fri, 8 Dec 2017 08:54:06 +0000 (02:54 -0600)]
winemac: Check the display link running state as well as the window count to decide whether to start/stop it.

The display link may be stopped even if there are associated windows, due to
idleness.  So, it may need to be started when a window is added even if it's
not the first window.

Signed-off-by: Ken Thomases <ken@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agobcrypt: Add support for AES encryption on macOS.
Hans Leidekker [Fri, 8 Dec 2017 08:17:31 +0000 (09:17 +0100)]
bcrypt: Add support for AES encryption on macOS.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3dx9/tests: Add a test for D3DXGetShader{Input|Output}Semantics().
Matteo Bruni [Thu, 7 Dec 2017 21:56:16 +0000 (22:56 +0100)]
d3dx9/tests: Add a test for D3DXGetShader{Input|Output}Semantics().

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3dx9: Implement D3DXGetShader{Input|Output}Semantics().
Matteo Bruni [Thu, 7 Dec 2017 21:56:15 +0000 (22:56 +0100)]
d3dx9: Implement D3DXGetShader{Input|Output}Semantics().

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3dx9: Use the D3DCOMPILE_ENABLE_BACKWARDS_COMPATIBILITY flag when compiling ASCII...
Matteo Bruni [Thu, 7 Dec 2017 21:56:14 +0000 (22:56 +0100)]
d3dx9: Use the D3DCOMPILE_ENABLE_BACKWARDS_COMPATIBILITY flag when compiling ASCII effects.

Some manual testing shows that the behavior changed with d3dx9_37.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3dx9: Merge "main" source files.
Matteo Bruni [Thu, 7 Dec 2017 21:56:13 +0000 (22:56 +0100)]
d3dx9: Merge "main" source files.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoreadme: Move WineHQ URLs to https in translations.
Lauri Kenttä [Thu, 7 Dec 2017 15:00:34 +0000 (17:00 +0200)]
readme: Move WineHQ URLs to https in translations.

Signed-off-by: Lauri Kenttä <lauri.kentta@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agorsaenh: Removed no longer needed ALG_ID argument from helper functions.
Jacek Caban [Thu, 7 Dec 2017 18:47:21 +0000 (19:47 +0100)]
rsaenh: Removed no longer needed ALG_ID argument from helper functions.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agorsaenh: Use bcrypt for MD5 hashes.
Jacek Caban [Thu, 7 Dec 2017 18:47:13 +0000 (19:47 +0100)]
rsaenh: Use bcrypt for MD5 hashes.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agorsaenh: Use bcrypt for MD4 hashes.
Jacek Caban [Thu, 7 Dec 2017 18:47:06 +0000 (19:47 +0100)]
rsaenh: Use bcrypt for MD4 hashes.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agobcrypt: Added support for MD4 hashes.
Jacek Caban [Thu, 7 Dec 2017 18:46:58 +0000 (19:46 +0100)]
bcrypt: Added support for MD4 hashes.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agorsaenh: Use bcrypt for SHA1 hashes.
Jacek Caban [Thu, 7 Dec 2017 18:46:41 +0000 (19:46 +0100)]
rsaenh: Use bcrypt for SHA1 hashes.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agorsaenh: Use bcrypt for MD2 hashes.
Jacek Caban [Thu, 7 Dec 2017 18:46:33 +0000 (19:46 +0100)]
rsaenh: Use bcrypt for MD2 hashes.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agobcrypt: Added MD2 hash support.
Jacek Caban [Thu, 7 Dec 2017 18:46:20 +0000 (19:46 +0100)]
bcrypt: Added MD2 hash support.

By adopting rsaenh implementation.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agobcrypt/tests: Use common helper for testing different hash types.
Jacek Caban [Thu, 7 Dec 2017 18:45:43 +0000 (19:45 +0100)]
bcrypt/tests: Use common helper for testing different hash types.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agontdll: Return correct time zone names for Asia/Tokyo and Asia/Yakutsk.
Akihiro Sagawa [Sun, 3 Dec 2017 14:26:05 +0000 (23:26 +0900)]
ntdll: Return correct time zone names for Asia/Tokyo and Asia/Yakutsk.

Without this change, for Japan, Wine returns "Korea Standard Time",
not "Tokyo Standard Time" as seen in Bug 42719.

Actually, this is a regression by d666143f880f9e19849f8f2b520dc059a11750d1.
The new code relies on offsets from UTC and DST change timings.  However,
Northeast Asia regions don't use daylight saving time.  Thus, Wine can't
distinguish between these regions.

Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomsvcp: Disable relay for _Thrd_current function.
Piotr Caban [Wed, 6 Dec 2017 19:42:16 +0000 (20:42 +0100)]
msvcp: Disable relay for _Thrd_current function.

Spotted by Stefan.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowined3d: Raise the default max_gl_version for specific cases.
Henri Verbeet [Thu, 7 Dec 2017 15:38:27 +0000 (19:08 +0330)]
wined3d: Raise the default max_gl_version for specific cases.

Effectively, this will enable Direct3D 11 by default on AMD and Intel
hardware.

Yes, this patch is awful.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowined3d: Do not call wined3d_from_cs() in shader_resource_view_generate_mipmaps().
Józef Kucia [Thu, 7 Dec 2017 11:39:56 +0000 (12:39 +0100)]
wined3d: Do not call wined3d_from_cs() in shader_resource_view_generate_mipmaps().

The context_acquire() function does that.

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: Do not modify depth test state in wined3d_device_reset().
Józef Kucia [Thu, 7 Dec 2017 11:14:24 +0000 (12:14 +0100)]
wined3d: Do not modify depth test state in wined3d_device_reset().

For consistency with wined3d_device_init_3d().

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 agoddraw: Set depth test state while resetting device.
Józef Kucia [Thu, 7 Dec 2017 11:14:23 +0000 (12:14 +0100)]
ddraw: Set depth test state while resetting device.

wined3d will not do this anymore.

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: Set depth test state while resetting device.
Józef Kucia [Thu, 7 Dec 2017 11:14:22 +0000 (12:14 +0100)]
d3d9: Set depth test state while resetting device.

wined3d will not do this anymore.

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: Set depth test state while resetting device.
Józef Kucia [Thu, 7 Dec 2017 11:14:21 +0000 (12:14 +0100)]
d3d8: Set depth test state while resetting device.

wined3d will not do this anymore.

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: Fix relative addressing for SM4+ vertex shader inputs.
Józef Kucia [Thu, 7 Dec 2017 11:14:18 +0000 (12:14 +0100)]
wined3d: Fix relative addressing for SM4+ vertex shader inputs.

Relative addressing doesn't necessarily work for SM3.

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/tests: Add test for relative addressing of vertex shader inputs.
Józef Kucia [Thu, 7 Dec 2017 11:14:17 +0000 (12:14 +0100)]
d3d11/tests: Add test for relative addressing of vertex shader inputs.

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 agoddraw: Also store supported user clip planes.
Józef Kucia [Thu, 7 Dec 2017 11:14:16 +0000 (12:14 +0100)]
ddraw: Also store supported user clip planes.

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 agoloader/wine.pl.UTF-8.man.in: Move WineHQ URL to https.
Austin English [Wed, 6 Dec 2017 23:35:49 +0000 (17:35 -0600)]
loader/wine.pl.UTF-8.man.in: Move WineHQ URL to https.

Missed in 3bc68c24b972643aba2b96dcdcf97ea2f9fb82bd.

Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agontdll: Don't require full-page reads in NtReadFileScatter.
Andrew Eikum [Wed, 6 Dec 2017 21:08:00 +0000 (15:08 -0600)]
ntdll: Don't require full-page reads in NtReadFileScatter.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agontdll: Don't return an error when reading past EOF in NtReadFileScatter.
Andrew Eikum [Wed, 6 Dec 2017 21:07:54 +0000 (15:07 -0600)]
ntdll: Don't return an error when reading past EOF in NtReadFileScatter.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agontdll: Report NtReadFileScatter results asynchronously.
Andrew Eikum [Wed, 6 Dec 2017 21:07:45 +0000 (15:07 -0600)]
ntdll: Report NtReadFileScatter results asynchronously.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agopo: Update Finnish translation.
Lauri Kenttä [Thu, 7 Dec 2017 15:08:50 +0000 (17:08 +0200)]
po: Update Finnish translation.

Signed-off-by: Lauri Kenttä <lauri.kentta@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agontdll: Display floating point arguments in relay debugging on i386 and x86-64.
Alexandre Julliard [Thu, 7 Dec 2017 10:14:02 +0000 (11:14 +0100)]
ntdll: Display floating point arguments in relay debugging on i386 and x86-64.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomaintainers: Move WineHQ URLs to https.
Austin English [Wed, 6 Dec 2017 19:51:09 +0000 (13:51 -0600)]
maintainers: Move WineHQ URLs to https.

Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomshtml.idl: Added IDOMKeyboardEvent declaration.
Jacek Caban [Wed, 6 Dec 2017 18:26:20 +0000 (19:26 +0100)]
mshtml.idl: Added IDOMKeyboardEvent declaration.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomsvcp: Fix failure class layout and exception information data.
Piotr Caban [Wed, 6 Dec 2017 17:25:49 +0000 (18:25 +0100)]
msvcp: Fix failure class layout and exception information data.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowinegstreamer: Remove redundant check.
Alistair Leslie-Hughes [Tue, 5 Dec 2017 00:15:01 +0000 (00:15 +0000)]
winegstreamer: Remove redundant check.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agouser32/tests: Remove runtime check for EndMenu().
Nikolay Sivov [Wed, 6 Dec 2017 12:23:38 +0000 (15:23 +0300)]
user32/tests: Remove runtime check for EndMenu().

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomsvcp: Cast the wait time in _Cnd_timedwait to ULONG.
Stefan Dösinger [Wed, 6 Dec 2017 12:50:21 +0000 (13:50 +0100)]
msvcp: Cast the wait time in _Cnd_timedwait to ULONG.

This prevents sign extending it when promoting it to ULONGLONG. This
fixes high CPU usage in Wargaming Game Center that was caused by
_Cnd_timedwait instantly returning timeout instead of waiting for the
requested 30 days.

Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomsvcp: Use int64 for byval _Thrd_t parameters.
Stefan Dösinger [Wed, 6 Dec 2017 12:50:20 +0000 (13:50 +0100)]
msvcp: Use int64 for byval _Thrd_t parameters.

Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3d11/tests: Add test for initial depth stencil state.
Józef Kucia [Wed, 6 Dec 2017 10:00:40 +0000 (11:00 +0100)]
d3d11/tests: Add test for initial depth stencil state.

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: Fix initial depth stencil state.
Józef Kucia [Wed, 6 Dec 2017 10:00:39 +0000 (11:00 +0100)]
d3d11: Fix initial depth stencil state.

The initial WINED3D_RS_ZFUNC state is different in wined3d.

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: Do not modify depth test state in wined3d_device_init_3d().
Józef Kucia [Wed, 6 Dec 2017 10:00:38 +0000 (11:00 +0100)]
wined3d: Do not modify depth test state in wined3d_device_init_3d().

We do not want to automagically disable depth test for D3D10+.

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: Toggle depth test state based on auto depth stencil.
Józef Kucia [Wed, 6 Dec 2017 10:00:37 +0000 (11:00 +0100)]
d3d9: Toggle depth test state based on auto depth stencil.

wined3d will not do this anymore

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: Toggle depth test state based on auto depth stencil.
Józef Kucia [Wed, 6 Dec 2017 10:00:36 +0000 (11:00 +0100)]
d3d8: Toggle depth test state based on auto depth stencil.

wined3d will not do this anymore

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: Implement depth bias.
Józef Kucia [Wed, 6 Dec 2017 10:00:35 +0000 (11:00 +0100)]
d3d11: Implement depth bias.

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: Add support for D3D10+ depth bias.
Józef Kucia [Wed, 6 Dec 2017 10:00:34 +0000 (11:00 +0100)]
wined3d: Add support for D3D10+ depth bias.

Direct3D seems to define exact depth bias scale factors per format.
In order to make depth bias work reliably across OpenGL drivers we need
to slightly adjust depth bias values passed to glPolygonOffset().

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: Use GL_DEPTH_COMPONENT16 for 16 bit depth texture formats.
Matteo Bruni [Wed, 6 Dec 2017 10:00:33 +0000 (11:00 +0100)]
wined3d: Use GL_DEPTH_COMPONENT16 for 16 bit depth texture formats.

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowined3d: Detect depth bias scale value per format.
Matteo Bruni [Wed, 6 Dec 2017 10:00:32 +0000 (11:00 +0100)]
wined3d: Detect depth bias scale value per format.

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
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: Add support for WINED3DFMT_BC4_SNORM format.
Józef Kucia [Wed, 6 Dec 2017 10:00:31 +0000 (11:00 +0100)]
wined3d: Add support for WINED3DFMT_BC4_SNORM 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 agowined3d: Add Intel HD Graphics 5000 to the GPU list.
Li Keqing [Tue, 5 Dec 2017 17:40:26 +0000 (01:40 +0800)]
wined3d: Add Intel HD Graphics 5000 to the GPU list.

Signed-off-by: Li Keqing <auroracloud4096@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoreadme: Use UTF-8 consistently in all translations.
Lauri Kenttä [Tue, 5 Dec 2017 20:40:46 +0000 (22:40 +0200)]
readme: Use UTF-8 consistently in all translations.

Signed-off-by: Lauri Kenttä <lauri.kentta@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoddraw/tests: Redundant mode sets are broken on Windows 10.
Henri Verbeet [Tue, 5 Dec 2017 19:06:52 +0000 (22:36 +0330)]
ddraw/tests: Redundant mode sets are broken on Windows 10.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3d10core/tests: Introduce a format compatibility test.
Henri Verbeet [Tue, 5 Dec 2017 19:06:51 +0000 (22:36 +0330)]
d3d10core/tests: Introduce a format compatibility test.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agohttpapi/tests: Added some basic tests for session and group creation.
Nikolay Sivov [Mon, 4 Dec 2017 09:09:16 +0000 (12:09 +0300)]
httpapi/tests: Added some basic tests for session and group creation.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomshtml: Added IDOMEvent::get_timeStamp implementation.
Jacek Caban [Tue, 5 Dec 2017 17:24:46 +0000 (18:24 +0100)]
mshtml: Added IDOMEvent::get_timeStamp implementation.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agojscript: Support VT_UI8 in variant_to_jsval.
Jacek Caban [Tue, 5 Dec 2017 17:24:41 +0000 (18:24 +0100)]
jscript: Support VT_UI8 in variant_to_jsval.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowined3d: Store only supported user clip planes.
Józef Kucia [Mon, 4 Dec 2017 23:26:35 +0000 (00:26 +0100)]
wined3d: Store only supported user clip planes.

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 agoddraw: Store all 32 user clip planes.
Józef Kucia [Mon, 4 Dec 2017 23:26:34 +0000 (00:26 +0100)]
ddraw: Store all 32 user clip planes.

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: Correctly transform FFP clip planes.
Józef Kucia [Mon, 4 Dec 2017 23:26:33 +0000 (00:26 +0100)]
wined3d: Correctly transform FFP clip planes.

A plane isn't transformed as simply as a vector.

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
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 agod3d11/tests: Add test for combined clip and cull distances.
Józef Kucia [Mon, 4 Dec 2017 23:26:32 +0000 (00:26 +0100)]
d3d11/tests: Add test for combined clip and cull distances.

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: Implement SV_CullDistance.
Józef Kucia [Mon, 4 Dec 2017 23:26:31 +0000 (00:26 +0100)]
wined3d: Implement SV_CullDistance.

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/tests: Add test for SV_ClipDistance.
Józef Kucia [Mon, 4 Dec 2017 23:26:30 +0000 (00:26 +0100)]
d3d11/tests: Add test for SV_ClipDistance.

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: Implement SV_ClipDistance.
Józef Kucia [Mon, 4 Dec 2017 23:26:29 +0000 (00:26 +0100)]
wined3d: Implement SV_ClipDistance.

In D3D10+ all clip distances declared in a shader are always enabled.
In other words, enablement of clip distances is a property of a shader.

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>