wine-orson.git
6 years agoRelease 2.21. wine-2.21
Alexandre Julliard [Sat, 11 Nov 2017 09:27:31 +0000 (10:27 +0100)]
Release 2.21.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3dx9/tests: Use a helper function to set matrix values in math tests.
Alex Henrie [Fri, 10 Nov 2017 19:56:42 +0000 (20:56 +0100)]
d3dx9/tests: Use a helper function to set matrix values in math tests.

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 agod3dx11: Fix D3DX11CompileFromMemory spec entry.
Andrey Gusev [Fri, 10 Nov 2017 15:46:13 +0000 (17:46 +0200)]
d3dx11: Fix D3DX11CompileFromMemory spec entry.

Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3dx9: Zero constantinfo_reserved on error in get_constants_desc().
Paul Gofman [Fri, 10 Nov 2017 07:33:30 +0000 (10:33 +0300)]
d3dx9: Zero constantinfo_reserved on error in get_constants_desc().

Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3dx9/tests: Relax D3DXQuaternionToAxisAngle test stringency a bit.
Alex Henrie [Fri, 10 Nov 2017 04:36:10 +0000 (21:36 -0700)]
d3dx9/tests: Relax D3DXQuaternionToAxisAngle test stringency a bit.

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 agoole32: Correctly track the number of inits when auto-joining the MTA.
Huw Davies [Fri, 10 Nov 2017 12:56:05 +0000 (12:56 +0000)]
ole32: Correctly track the number of inits when auto-joining the MTA.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoreadme: Patches should now be sent to wine-devel.
Alexandre Julliard [Fri, 10 Nov 2017 15:40:15 +0000 (16:40 +0100)]
readme: Patches should now be sent to wine-devel.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoshell32: Size ShellView column widths by font width.
Andrew Eikum [Fri, 10 Nov 2017 14:28:48 +0000 (08:28 -0600)]
shell32: Size ShellView column widths by font width.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoshell32: Scale explorer browser sizes by DPI.
Andrew Eikum [Thu, 9 Nov 2017 17:25:35 +0000 (11:25 -0600)]
shell32: Scale explorer browser sizes by DPI.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoexplorer: Scale element sizes by DPI.
Andrew Eikum [Thu, 9 Nov 2017 17:25:19 +0000 (11:25 -0600)]
explorer: Scale element sizes by DPI.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoregedit: Correctly export REG_DWORD values with no data.
Hugh McMaster [Fri, 10 Nov 2017 12:23:05 +0000 (12:23 +0000)]
regedit: Correctly export REG_DWORD values with no data.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoregedit: Correctly export hex values with no data.
Hugh McMaster [Fri, 10 Nov 2017 12:23:04 +0000 (12:23 +0000)]
regedit: Correctly export hex values with no data.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agofusion: Fix IAssemblyNameImpl_GetDisplayName behavior on PublicKeyToken containing 0.
Piotr Caban [Fri, 10 Nov 2017 11:25:17 +0000 (12:25 +0100)]
fusion: Fix IAssemblyNameImpl_GetDisplayName behavior on PublicKeyToken containing 0.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agofusion: Fix IAssemblyNameImpl_GetDisplayName behavior on too small buffer.
Piotr Caban [Fri, 10 Nov 2017 11:25:10 +0000 (12:25 +0100)]
fusion: Fix IAssemblyNameImpl_GetDisplayName behavior on too small buffer.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agokernel32/nls: Add LOCALE_SPARENT entries.
Zhiyi Zhang [Fri, 10 Nov 2017 11:34:18 +0000 (19:34 +0800)]
kernel32/nls: Add LOCALE_SPARENT entries.

Signed-off-by: Zhiyi Zhang <yi.gd.cn@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoquartz/tests: Add test AVI and MPG files.
Zebediah Figura [Fri, 10 Nov 2017 01:09:53 +0000 (19:09 -0600)]
quartz/tests: Add test AVI and MPG files.

Generated with ffmpeg using the following commands:

ffmpeg -f lavfi -i smptebars -t 1 -r 1 -f avi -vcodec rawvideo -pix_fmt yuv420p -vf scale=32x24 test.avi
ffmpeg -f lavfi -i smptebars -f lavfi -i "sine=frequency=1000" -t 0.04 -r 25 -f mpeg -vcodec mpeg1video -vf scale=32x24 -acodec mp2 test.mpg

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoquartz/tests: Skip tests if CLSID_NullRenderer is not available.
Zebediah Figura [Fri, 10 Nov 2017 01:09:52 +0000 (19:09 -0600)]
quartz/tests: Skip tests if CLSID_NullRenderer is not available.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3dx10: Fix tracing of shader source data.
Matteo Bruni [Thu, 9 Nov 2017 23:58:43 +0000 (00:58 +0100)]
d3dx10: Fix tracing of shader source data.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3dx10: Remove redundant header include.
Matteo Bruni [Thu, 9 Nov 2017 22:30:19 +0000 (23:30 +0100)]
d3dx10: Remove redundant header include.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3dx10: Add D3DX10PreprocessShaderFromMemory stub.
Andrey Gusev [Thu, 9 Nov 2017 14:25:05 +0000 (16:25 +0200)]
d3dx10: Add D3DX10PreprocessShaderFromMemory stub.

Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3dx9/tests: Provide 8 significant digits in matrix reference values.
Alex Henrie [Thu, 9 Nov 2017 13:05:51 +0000 (06:05 -0700)]
d3dx9/tests: Provide 8 significant digits in matrix reference values.

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 agopo: Update Finnish translation.
Lauri Kenttä [Thu, 9 Nov 2017 15:48:53 +0000 (17:48 +0200)]
po: Update Finnish translation.

Signed-off-by: Lauri Kenttä <lauri.kentta@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agofusion: Add support for ASM_NAME_ARCHITECTURE in IAssemblyNameImpl_GetProperty.
Piotr Caban [Thu, 9 Nov 2017 15:07:53 +0000 (16:07 +0100)]
fusion: Add support for ASM_NAME_ARCHITECTURE in IAssemblyNameImpl_GetProperty.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agofusion: Respect buffer size in IAssemblyNameImpl_GetProperty.
Piotr Caban [Thu, 9 Nov 2017 15:07:48 +0000 (16:07 +0100)]
fusion: Respect buffer size in IAssemblyNameImpl_GetProperty.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoexplorer: Don't leak PIDL.
Andrew Eikum [Thu, 9 Nov 2017 14:43:10 +0000 (08:43 -0600)]
explorer: Don't leak PIDL.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomlang: Add more Chinese code pages support.
Ziqing Hui [Thu, 9 Nov 2017 13:17:49 +0000 (21:17 +0800)]
mlang: Add more Chinese code pages support.

Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomlang: Fix font name of Chinese code pages.
Ziqing Hui [Thu, 9 Nov 2017 13:17:35 +0000 (21:17 +0800)]
mlang: Fix font name of Chinese code pages.

Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomlang/tests: Add IMultiLanguage2_GetCodePageInfo tests.
Ziqing Hui [Thu, 9 Nov 2017 13:17:23 +0000 (21:17 +0800)]
mlang/tests: Add IMultiLanguage2_GetCodePageInfo tests.

Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoquartz/tests: Remove thread-counting tests.
Zebediah Figura [Thu, 9 Nov 2017 05:26:06 +0000 (23:26 -0600)]
quartz/tests: Remove thread-counting tests.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoquartz: Output This in TRACE statements.
Alistair Leslie-Hughes [Thu, 9 Nov 2017 01:08:41 +0000 (01:08 +0000)]
quartz: Output This in TRACE statements.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoquartz: Output This in TRACE statements.
Alistair Leslie-Hughes [Thu, 9 Nov 2017 00:12:20 +0000 (00:12 +0000)]
quartz: Output This in TRACE statements.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agotdh: Stub TdhLoadManifest.
Vincent Povirk [Wed, 8 Nov 2017 22:11:02 +0000 (16:11 -0600)]
tdh: Stub TdhLoadManifest.

Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agohidclass.sys: Handle opportunistic reads.
Aric Stewart [Tue, 7 Nov 2017 16:08:10 +0000 (10:08 -0600)]
hidclass.sys: Handle opportunistic reads.

Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agouser32/tests: Avoid strlen in traces.
Alexandre Julliard [Wed, 8 Nov 2017 21:12:45 +0000 (22:12 +0100)]
user32/tests: Avoid strlen in traces.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agooleaut32/tests: Fixed 64-bit crash on tmarshal test.
Marcus Meissner [Fri, 3 Nov 2017 11:15:12 +0000 (12:15 +0100)]
oleaut32/tests: Fixed 64-bit crash on tmarshal test.

Signed-off-by: Marcus Meissner <marcus@jet.franken.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3dx9/tests: Correct Fresnel reference term.
Alex Henrie [Fri, 3 Nov 2017 18:10:31 +0000 (19:10 +0100)]
d3dx9/tests: Correct Fresnel reference term.

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 agoadvapi32: Fix QueryServiceConfig2 on Wow64.
Hans Leidekker [Tue, 7 Nov 2017 13:10:41 +0000 (14:10 +0100)]
advapi32: Fix QueryServiceConfig2 on Wow64.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoadvapi32: Fix EnumServicesStatusEx on Wow64.
Hans Leidekker [Tue, 7 Nov 2017 13:10:40 +0000 (14:10 +0100)]
advapi32: Fix EnumServicesStatusEx on Wow64.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoadvapi32: Fix EnumServicesStatus on Wow64.
Hans Leidekker [Tue, 7 Nov 2017 13:10:39 +0000 (14:10 +0100)]
advapi32: Fix EnumServicesStatus on Wow64.

The structures returned by this function contain pointers, which breaks on Wow64 if
the client is 32-bit (the service manager always runs in a 64-bit process).

This patch introduces a variant of ENUM_SERVICE_STATUS with offsets instead of pointers
and converts the structures on the client side.

The downside is that we need to buffer the data, but in return we can get rid of the
dummy buffer pointer.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agolibport: Move rint fallback implementations from msvcrt to libport.
Alex Henrie [Tue, 7 Nov 2017 02:01:13 +0000 (21:01 -0500)]
libport: Move rint fallback implementations from msvcrt to libport.

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 agod3dx9: Implement D3DXFrameFind().
Nikolay Sivov [Mon, 6 Nov 2017 10:31:10 +0000 (13:31 +0300)]
d3dx9: Implement D3DXFrameFind().

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoinclude: Add missing BCRYPT_CHAIN_MODE definitions.
Hans Leidekker [Wed, 8 Nov 2017 15:25:51 +0000 (16:25 +0100)]
include: Add missing BCRYPT_CHAIN_MODE definitions.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agovbscript: Don't leak IEnumVARIANT in interp_enumnext.
Piotr Caban [Wed, 8 Nov 2017 17:11:56 +0000 (18:11 +0100)]
vbscript: Don't leak IEnumVARIANT in interp_enumnext.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agovbscript: Don't return error on VBScript_SetScriptState(SCRIPTSTATE_DISCONNECTED...
Piotr Caban [Wed, 8 Nov 2017 14:05:20 +0000 (15:05 +0100)]
vbscript: Don't return error on VBScript_SetScriptState(SCRIPTSTATE_DISCONNECTED) call.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agovbscript: Add for each tests on array.
Piotr Caban [Wed, 8 Nov 2017 14:05:06 +0000 (15:05 +0100)]
vbscript: Add for each tests on array.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agovbscript: Add support for "for each" on arrays.
Piotr Caban [Wed, 8 Nov 2017 14:05:01 +0000 (15:05 +0100)]
vbscript: Add support for "for each" on arrays.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agorpcrt4: Don't free the argument if the freer was called, unless it's a simple ref.
Huw Davies [Wed, 8 Nov 2017 11:19:56 +0000 (11:19 +0000)]
rpcrt4: Don't free the argument if the freer was called, unless it's a simple ref.

In the simple reference case the freer will not see the top-level
pointer, so we need to free that here.

This fixes a double-free caused by commit 614afcefa33c727f31d566c3d7ee05d74afc363f.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agogdiplus/metafile: Support linear gradient brushes in playback.
Nikolay Sivov [Wed, 8 Nov 2017 10:12:44 +0000 (13:12 +0300)]
gdiplus/metafile: Support linear gradient brushes in playback.

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 agomsvcrt: Implement _memicmp_l().
Nikolay Sivov [Wed, 8 Nov 2017 09:26:16 +0000 (10:26 +0100)]
msvcrt: Implement _memicmp_l().

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomsvcp100: Add time_get::get function with format parameters.
Vijay Kiran Kamuju [Wed, 8 Nov 2017 09:01:33 +0000 (10:01 +0100)]
msvcp100: Add time_get::get function with format parameters.

Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agopo: Update Lithuanian translation.
Aurimas Fišeras [Wed, 8 Nov 2017 07:01:48 +0000 (09:01 +0200)]
po: Update Lithuanian translation.

Signed-off-by: Aurimas Fišeras <aurimas@members.fsf.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agooledb32: Fix typo.
Alistair Leslie-Hughes [Tue, 7 Nov 2017 23:11:05 +0000 (23:11 +0000)]
oledb32: Fix typo.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agooledb32: DataConvert support DBTYPE_VARIANT -> DBTYPE_R4.
Alistair Leslie-Hughes [Tue, 7 Nov 2017 23:11:03 +0000 (23:11 +0000)]
oledb32: DataConvert support DBTYPE_VARIANT -> DBTYPE_R4.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoconfigure: Use the -Wno-packed-not-aligned compiler option if available.
Gerald Pfeifer [Sat, 4 Nov 2017 19:06:07 +0000 (20:06 +0100)]
configure: Use the -Wno-packed-not-aligned compiler option if available.

Signed-off-by: Gerald Pfeifer <gerald@pfeifer.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowinemine: Add Reset Results button.
Andrey Semakin [Mon, 6 Nov 2017 11:13:27 +0000 (16:13 +0500)]
winemine: Add Reset Results button.

Signed-off-by: Andrey Semakin <and-semakin@ya.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowinemine: Save board without need to correctly finish the app.
Andrey Semakin [Mon, 6 Nov 2017 09:23:19 +0000 (14:23 +0500)]
winemine: Save board without need to correctly finish the app.

Thus player will never lose his best time even if app crashes.

Signed-off-by: Andrey Semakin <and-semakin@ya.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowinemine: Add WM_RBUTTONUP to cases of TestMines().
Andrey Semakin [Sun, 5 Nov 2017 14:24:25 +0000 (19:24 +0500)]
winemine: Add WM_RBUTTONUP to cases of TestMines().

Signed-off-by: Andrey Semakin <and-semakin@ya.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowined3d: Invalidate pixel shader only when rasterization is toggled.
Józef Kucia [Tue, 7 Nov 2017 13:29:17 +0000 (14:29 +0100)]
wined3d: Invalidate pixel shader only when rasterization is toggled.

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 stream output components.
Józef Kucia [Tue, 7 Nov 2017 13:29:16 +0000 (14:29 +0100)]
d3d11/tests: Add test for stream output components.

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: Handle stream output components when rasterization is disabled.
Józef Kucia [Tue, 7 Nov 2017 13:29:15 +0000 (14:29 +0100)]
wined3d: Handle stream output components when rasterization is disabled.

Geometry shader outputs can be freely split when there is no pixel 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>
6 years agowined3d: Disable pixel shader when rasterization is disabled.
Józef Kucia [Tue, 7 Nov 2017 13:29:14 +0000 (14:29 +0100)]
wined3d: Disable pixel shader when rasterization is disabled.

Allows us to split shader output variables when rasterization
is disabled.

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 agomshtml: Merge hlink.c into persist.c.
Jacek Caban [Tue, 7 Nov 2017 13:28:15 +0000 (14:28 +0100)]
mshtml: Merge hlink.c into persist.c.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agooleaut32: Ignore underflows in VarR8FromStr.
Piotr Caban [Tue, 7 Nov 2017 15:22:57 +0000 (16:22 +0100)]
oleaut32: Ignore underflows in VarR8FromStr.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agooleaut32: Fix automatic value getting in ITypeInfo::Invoke.
Piotr Caban [Tue, 7 Nov 2017 12:30:14 +0000 (13:30 +0100)]
oleaut32: Fix automatic value getting in ITypeInfo::Invoke.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agogdiplus/metafile: Implement playback for EmfPlusRecordTypeSetCompositingMode.
Nikolay Sivov [Tue, 7 Nov 2017 09:28:02 +0000 (12:28 +0300)]
gdiplus/metafile: Implement playback for EmfPlusRecordTypeSetCompositingMode.

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 agogdiplus/metafile: Implement playback for EmfPlusRecordTypeFillClosedCurve.
Nikolay Sivov [Tue, 7 Nov 2017 09:28:01 +0000 (12:28 +0300)]
gdiplus/metafile: Implement playback for EmfPlusRecordTypeFillClosedCurve.

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 agouser32: Pass the text length explicitly to EDIT_EM_ReplaceSel.
Alexandre Julliard [Tue, 7 Nov 2017 20:20:24 +0000 (21:20 +0100)]
user32: Pass the text length explicitly to EDIT_EM_ReplaceSel.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agouser32: Protect single-line edit against pasting new line character.
Rafał Harabień [Sun, 5 Nov 2017 18:28:38 +0000 (19:28 +0100)]
user32: Protect single-line edit against pasting new line character.

Signed-off-by: Rafał Harabień <rafalh1992@o2.pl>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoriched20: Protect read-only Richedit against pasting and cutting data.
Rafał Harabień [Mon, 6 Nov 2017 22:12:23 +0000 (23:12 +0100)]
riched20: Protect read-only Richedit against pasting and cutting data.

Signed-off-by: Rafał Harabień <rafalh1992@o2.pl>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3d9/tests: Windows 10 17.09 added an undocumented query type.
Stefan Dösinger [Mon, 6 Nov 2017 18:03:39 +0000 (19:03 +0100)]
d3d9/tests: Windows 10 17.09 added an undocumented query type.

Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agovbscript: Add UBound implementation.
Piotr Caban [Mon, 6 Nov 2017 15:53:08 +0000 (16:53 +0100)]
vbscript: Add UBound implementation.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agokernel32/tests: Detect and handle a redirected stdin.
Alex Henrie [Fri, 3 Nov 2017 10:43:20 +0000 (11:43 +0100)]
kernel32/tests: Detect and handle a redirected stdin.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoadvapi32/tests: Fix two clang warnings in test_LookupAccount SID_NAME_USE being out...
Gerald Pfeifer [Sun, 5 Nov 2017 09:46:22 +0000 (10:46 +0100)]
advapi32/tests: Fix two clang warnings in test_LookupAccount SID_NAME_USE being out of range.

Signed-off-by: Gerald Pfeifer <gerald@pfeifer.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agocomctl32/taskdialog: Added support for nDefaultButton.
Fabian Maurer [Mon, 6 Nov 2017 11:40:38 +0000 (14:40 +0300)]
comctl32/taskdialog: Added support for nDefaultButton.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoieframe/tests: Avoid crash on missing IID_IWebBrowser2 interface.
Marcus Meissner [Fri, 3 Nov 2017 17:02:50 +0000 (18:02 +0100)]
ieframe/tests: Avoid crash on missing IID_IWebBrowser2 interface.

Signed-off-by: Marcus Meissner <marcus@jet.franken.de>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomf: Add MFGetSupportedMimeTypes stub.
Andrey Gusev [Mon, 6 Nov 2017 09:47:11 +0000 (11:47 +0200)]
mf: Add MFGetSupportedMimeTypes stub.

Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agogdiplus/metafile: Implement playback for EmfPlusRecordTypeDrawEllipse.
Nikolay Sivov [Mon, 6 Nov 2017 10:32:09 +0000 (13:32 +0300)]
gdiplus/metafile: Implement playback for EmfPlusRecordTypeDrawEllipse.

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 agogdiplus/metafile: Implement playback for EmfPlusRecordTypeDrawArc.
Nikolay Sivov [Mon, 6 Nov 2017 10:32:08 +0000 (13:32 +0300)]
gdiplus/metafile: Implement playback for EmfPlusRecordTypeDrawArc.

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 agowined3d: Get rid of hull_shader_init().
Józef Kucia [Mon, 6 Nov 2017 09:55:28 +0000 (10:55 +0100)]
wined3d: Get rid of hull_shader_init().

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: Get rid of domain_shader_init().
Józef Kucia [Mon, 6 Nov 2017 09:55:27 +0000 (10:55 +0100)]
wined3d: Get rid of domain_shader_init().

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: Get rid of compute_shader_init().
Józef Kucia [Mon, 6 Nov 2017 09:55:26 +0000 (10:55 +0100)]
wined3d: Get rid of compute_shader_init().

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 wined3d_extract_bits().
Józef Kucia [Mon, 6 Nov 2017 09:55:25 +0000 (10:55 +0100)]
wined3d: Use wined3d_extract_bits().

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 wined3d_insert_bits().
Józef Kucia [Mon, 6 Nov 2017 09:55:24 +0000 (10:55 +0100)]
wined3d: Use wined3d_insert_bits().

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 sample_c_lz instruction.
Józef Kucia [Mon, 6 Nov 2017 09:55:23 +0000 (10:55 +0100)]
d3d11/tests: Add test for sample_c_lz instruction.

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 textureGrad*() to implement sample_c_lz for array and cube textures.
Józef Kucia [Mon, 6 Nov 2017 09:55:22 +0000 (10:55 +0100)]
wined3d: Use textureGrad*() to implement sample_c_lz for array and cube textures.

Based on a patch by Michael Müller.

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 textures views for depth views.
Józef Kucia [Mon, 6 Nov 2017 09:55:21 +0000 (10:55 +0100)]
wined3d: Create textures views for depth views.

In Direct3D a different format is used for sampling depth textures, but
this is not the case in OpenGL. We still need to create a texture view
when a texture type is different than a view type, or when a shader
resource view is being created for a subset of sub-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 agod3d10core/tests: Add test for SV_InstanceID.
Józef Kucia [Mon, 6 Nov 2017 09:55:20 +0000 (10:55 +0100)]
d3d10core/tests: Add test for SV_InstanceID.

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 agoole32: Clipboard format in the datacache is with trailing \0.
Marcus Meissner [Sun, 5 Nov 2017 22:07:05 +0000 (23:07 +0100)]
ole32: Clipboard format in the datacache is with trailing \0.

GetClipboardFormatName returns length without terminating 0,
but we need to store it with \0.

Signed-off-by: Marcus Meissner <marcus@jet.franken.de>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agouser32/tests: Simplify test_SendMessage_other_thread().
Zebediah Figura [Fri, 3 Nov 2017 06:01:20 +0000 (01:01 -0500)]
user32/tests: Simplify test_SendMessage_other_thread().

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agouser32/tests: Check GetClipboardFormatName length.
Marcus Meissner [Sun, 5 Nov 2017 21:58:51 +0000 (22:58 +0100)]
user32/tests: Check GetClipboardFormatName length.

Signed-off-by: Marcus Meissner <marcus@jet.franken.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agows2_32/tests: Add some tests for sockets bound to a completion port.
Dmitry Timoshkov [Mon, 6 Nov 2017 05:13:43 +0000 (13:13 +0800)]
ws2_32/tests: Add some tests for sockets bound to a completion port.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agofusion: Remove unused to_multibyte function.
Gerald Pfeifer [Sun, 5 Nov 2017 09:48:22 +0000 (10:48 +0100)]
fusion: Remove unused to_multibyte function.

Signed-off-by: Gerald Pfeifer <gerald@pfeifer.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoxmllite/tests: Fix clang warning.
Nikolay Sivov [Sun, 5 Nov 2017 08:39:53 +0000 (11:39 +0300)]
xmllite/tests: Fix clang warning.

Reported by Gerald Pfeifer.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agouser32: Use the given string length when converting strings in WM_GETTEXT.
Zebediah Figura [Sat, 4 Nov 2017 22:48:11 +0000 (17:48 -0500)]
user32: Use the given string length when converting strings in WM_GETTEXT.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agooleaut32: Fix DispCallFunc() stdcall test to be ABI not x64 specific.
Donna Whisnant [Sat, 4 Nov 2017 16:04:15 +0000 (11:04 -0500)]
oleaut32: Fix DispCallFunc() stdcall test to be ABI not x64 specific.

The tests checking callee stack cleaning for stdcall vs. cdecl should
be a function of the calling ABI of the platform, not whether it is
64-bit or not.  This fixes the check for platforms like ARM that may
be 32-bit but that do not use the stdcall convention of callee stack
cleaning.

Signed-off-by: Donna Whisnant <dewhisna@dewtronics.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoquartz/tests: Avoid Sleep().
Zebediah Figura [Sat, 4 Nov 2017 05:20:15 +0000 (00:20 -0500)]
quartz/tests: Avoid Sleep().

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoquartz/tests: GetDestinationPosition() returns the actual window width.
Zebediah Figura [Sat, 4 Nov 2017 05:20:14 +0000 (00:20 -0500)]
quartz/tests: GetDestinationPosition() returns the actual window width.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agodinput/tests: Don't pump messages in test_acquire().
Zebediah Figura [Fri, 3 Nov 2017 22:26:59 +0000 (17:26 -0500)]
dinput/tests: Don't pump messages in test_acquire().

This causes intermittent failures due to implementation of our window drivers.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agodinput/tests: Remove a no longer needed workaround.
Zebediah Figura [Fri, 3 Nov 2017 22:26:58 +0000 (17:26 -0500)]
dinput/tests: Remove a no longer needed workaround.

This was fixed by 41ce4a01583d552a976cb921d2991a043e0363e4.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowined3d: Disable ARB_draw_indirect if ARB_base_instance is not available.
Józef Kucia [Fri, 3 Nov 2017 13:35:20 +0000 (14:35 +0100)]
wined3d: Disable ARB_draw_indirect if ARB_base_instance is not available.

Avoids undefined behavior.

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>