wine-orson.git
6 years agowinex11: Fix WGL_CONTEXT_OPENGL_NO_ERROR_ARB FTBFS orson-wine-ftbfs
Jürgen Tretthahn [Thu, 8 Feb 2018 21:46:25 +0000 (22:46 +0100)]
winex11: Fix WGL_CONTEXT_OPENGL_NO_ERROR_ARB FTBFS

Rename WGL_CONTEXT_OPENGL_NO_ERROR_ARB to GLX_CONTEXT_OPENGL_NO_ERROR_ARB

6 years agowined3d: Fix GL[_MAX]_TEXTURE_MAX_ANISOTROPY FTBFS
Jürgen Tretthahn [Sat, 6 Jan 2018 21:01:08 +0000 (22:01 +0100)]
wined3d: Fix GL[_MAX]_TEXTURE_MAX_ANISOTROPY FTBFS

Rename:
GL_TEXTURE_MAX_ANISOTROPY -> GL_TEXTURE_MAX_ANISOTROPY_EXT
GL_MAX_TEXTURE_MAX_ANISOTROPY -> GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT

6 years agomsvcrt: Compile but show an error if Bessel functions aren't available. other-orson wine-patches winehq winepulse.drv-mbl winepulse.drv-orson
Alex Henrie [Fri, 2 Mar 2018 17:02:46 +0000 (10:02 -0700)]
msvcrt: Compile but show an error if Bessel functions aren't available.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3dx9: Improve argument validation in CloneEffect().
Nikolay Sivov [Fri, 2 Mar 2018 22:35:51 +0000 (23:35 +0100)]
d3dx9: Improve argument validation in CloneEffect().

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 agosfc_os: Set an error code in SfcGetNextProtectedFile stub.
Michael Müller [Sun, 4 Mar 2018 16:51:25 +0000 (10:51 -0600)]
sfc_os: Set an error code in SfcGetNextProtectedFile stub.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agontdll/tests: Add a test for ProcessImageFileNameWin32.
Zebediah Figura [Sun, 4 Mar 2018 16:20:06 +0000 (10:20 -0600)]
ntdll/tests: Add a test for ProcessImageFileNameWin32.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agontdll/tests: Simplify ProcessImageFileName test.
Zebediah Figura [Sun, 4 Mar 2018 16:20:05 +0000 (10:20 -0600)]
ntdll/tests: Simplify ProcessImageFileName test.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agontdll: Implement ProcessImageFileNameWin32 in NtQueryInformationProcess.
Michael Müller [Sun, 4 Mar 2018 16:20:04 +0000 (10:20 -0600)]
ntdll: Implement ProcessImageFileNameWin32 in NtQueryInformationProcess.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agousp10: Use heap_calloc() in ScriptPlace().
Henri Verbeet [Mon, 5 Mar 2018 07:36:36 +0000 (11:06 +0330)]
usp10: Use heap_calloc() in ScriptPlace().

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowined3d: Pass a texture and sub-resource index to wined3d_surface_upload_data().
Henri Verbeet [Mon, 5 Mar 2018 07:36:35 +0000 (11:06 +0330)]
wined3d: Pass a texture and sub-resource index to wined3d_surface_upload_data().

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowined3d: Pass a texture to surface_translate_drawable_coords().
Henri Verbeet [Mon, 5 Mar 2018 07:36:34 +0000 (11:06 +0330)]
wined3d: Pass a texture to surface_translate_drawable_coords().

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowined3d: Explicitly calculate the sub-resource level in wined3d_texture_update_overlay().
Henri Verbeet [Mon, 5 Mar 2018 07:36:33 +0000 (11:06 +0330)]
wined3d: Explicitly calculate the sub-resource level in wined3d_texture_update_overlay().

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowined3d: Explicitly calculate the sub-resource level in texture2d_create_dc().
Henri Verbeet [Mon, 5 Mar 2018 07:36:32 +0000 (11:06 +0330)]
wined3d: Explicitly calculate the sub-resource level in texture2d_create_dc().

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoquartz/tests: Test that IFilterMapper enums filters registered with IFilterMapper2.
Zebediah Figura [Mon, 5 Mar 2018 05:11:06 +0000 (23:11 -0600)]
quartz/tests: Test that IFilterMapper enums filters registered with IFilterMapper2.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoquartz/tests: Clean up test_legacy_filter_registration().
Zebediah Figura [Mon, 5 Mar 2018 05:11:05 +0000 (23:11 -0600)]
quartz/tests: Clean up test_legacy_filter_registration().

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agokernel32: Add UmsThreadYield stub.
Alistair Leslie-Hughes [Mon, 5 Mar 2018 04:00:09 +0000 (04:00 +0000)]
kernel32: Add UmsThreadYield stub.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agokernel32: Add SetUmsThreadInformation stub.
Alistair Leslie-Hughes [Mon, 5 Mar 2018 04:00:08 +0000 (04:00 +0000)]
kernel32: Add SetUmsThreadInformation stub.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agokernel32: Add QueryUmsThreadInformation stub.
Alistair Leslie-Hughes [Mon, 5 Mar 2018 04:00:07 +0000 (04:00 +0000)]
kernel32: Add QueryUmsThreadInformation stub.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agokernel32: Add GetUmsCompletionListEvent stub.
Alistair Leslie-Hughes [Mon, 5 Mar 2018 04:00:05 +0000 (04:00 +0000)]
kernel32: Add GetUmsCompletionListEvent stub.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agokernel32: Add GetNextUmsListItem stub.
Alistair Leslie-Hughes [Mon, 5 Mar 2018 04:00:04 +0000 (04:00 +0000)]
kernel32: Add GetNextUmsListItem stub.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agokernel32: Add GetCurrentUmsThread stub.
Alistair Leslie-Hughes [Mon, 5 Mar 2018 04:00:03 +0000 (04:00 +0000)]
kernel32: Add GetCurrentUmsThread stub.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agokernel32: Add ExecuteUmsThread stub.
Alistair Leslie-Hughes [Mon, 5 Mar 2018 04:00:02 +0000 (04:00 +0000)]
kernel32: Add ExecuteUmsThread stub.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agokernel32: Add EnterUmsSchedulingMode stub.
Alistair Leslie-Hughes [Mon, 5 Mar 2018 04:00:00 +0000 (04:00 +0000)]
kernel32: Add EnterUmsSchedulingMode stub.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agokernel32: Add DequeueUmsCompletionListItems stub.
Alistair Leslie-Hughes [Mon, 5 Mar 2018 03:59:59 +0000 (03:59 +0000)]
kernel32: Add DequeueUmsCompletionListItems stub.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agokernel32: Add DeleteUmsThreadContext stub.
Alistair Leslie-Hughes [Mon, 5 Mar 2018 03:59:58 +0000 (03:59 +0000)]
kernel32: Add DeleteUmsThreadContext stub.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agokernel32: Add DeleteUmsCompletionList stub.
Alistair Leslie-Hughes [Mon, 5 Mar 2018 03:59:57 +0000 (03:59 +0000)]
kernel32: Add DeleteUmsCompletionList stub.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agokernel32: Add CreateUmsThreadContext stub.
Alistair Leslie-Hughes [Mon, 5 Mar 2018 03:59:55 +0000 (03:59 +0000)]
kernel32: Add CreateUmsThreadContext stub.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agokernel32: Add CreateUmsCompletionList stub.
Alistair Leslie-Hughes [Mon, 5 Mar 2018 03:59:54 +0000 (03:59 +0000)]
kernel32: Add CreateUmsCompletionList stub.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoinclude: Add UMS typedef's.
Alistair Leslie-Hughes [Mon, 5 Mar 2018 03:59:53 +0000 (03:59 +0000)]
include: Add UMS typedef's.

Based on a patch by Dmitry Timoshkov.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoinclude: Add some missing NTSTATUS defines.
Alistair Leslie-Hughes [Mon, 5 Mar 2018 00:34:31 +0000 (00:34 +0000)]
include: Add some missing NTSTATUS defines.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomakefiles: Treat all directories the same way in configure.
Alexandre Julliard [Sun, 4 Mar 2018 22:02:30 +0000 (23:02 +0100)]
makefiles: Treat all directories the same way in configure.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomakefiles: Generate dummy dependencies for header files.
Alexandre Julliard [Sun, 4 Mar 2018 23:20:57 +0000 (00:20 +0100)]
makefiles: Generate dummy dependencies for header files.

This allows building when a header file is removed.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomakefiles: Generate the tools dependencies from makedep.
Alexandre Julliard [Sun, 4 Mar 2018 21:27:23 +0000 (22:27 +0100)]
makefiles: Generate the tools dependencies from makedep.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomakefiles: Generate the winetest resource list from makedep.
Alexandre Julliard [Sun, 4 Mar 2018 14:36:10 +0000 (15:36 +0100)]
makefiles: Generate the winetest resource list from makedep.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomakefiles: Generate the crosstest disabled rule from makedep.
Alexandre Julliard [Sun, 4 Mar 2018 14:33:02 +0000 (15:33 +0100)]
makefiles: Generate the crosstest disabled rule from makedep.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomakefiles: Fix typo in documentation rules generation.
Alexandre Julliard [Sun, 4 Mar 2018 09:45:39 +0000 (10:45 +0100)]
makefiles: Fix typo in documentation rules generation.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoRelease 3.3. wine-3.3
Alexandre Julliard [Fri, 2 Mar 2018 18:12:41 +0000 (19:12 +0100)]
Release 3.3.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agogdiplus/tests: Fix copy-paste typos.
Andrey Gusev [Fri, 2 Mar 2018 10:03:49 +0000 (12:03 +0200)]
gdiplus/tests: Fix copy-paste typos.

Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agogdiplus/tests: Check the correct value.
Alistair Leslie-Hughes [Thu, 1 Mar 2018 23:04:49 +0000 (23:04 +0000)]
gdiplus/tests: Check the correct value.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agodwmapi: Add stub for DwmSetIconicLivePreviewBitmap.
Michael Müller [Fri, 2 Mar 2018 03:23:02 +0000 (03:23 +0000)]
dwmapi: Add stub for DwmSetIconicLivePreviewBitmap.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowinevulkan: Load instance functions.
Roderick Colenbrander [Fri, 2 Mar 2018 06:13:35 +0000 (22:13 -0800)]
winevulkan: Load instance functions.

Signed-off-by: Roderick Colenbrander <thunderbird2k@gmail.com>
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agokernelbase: Implement PathCchAddBackslash()/PathCchAddBackslashEx().
Nikolay Sivov [Fri, 2 Mar 2018 11:14:54 +0000 (14:14 +0300)]
kernelbase: Implement PathCchAddBackslash()/PathCchAddBackslashEx().

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowbemprox/tests: Add tests for Win32_Printer.
Hans Leidekker [Fri, 2 Mar 2018 10:55:00 +0000 (11:55 +0100)]
wbemprox/tests: Add tests for Win32_Printer.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowbemprox: Provide DeviceID, Location and PortName for printers.
Michael Müller [Fri, 2 Mar 2018 10:54:59 +0000 (11:54 +0100)]
wbemprox: Provide DeviceID, Location and PortName for printers.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowbemprox/tests: Add a test for Win32_OperatingSystem.FreePhysicalMemory.
Hans Leidekker [Fri, 2 Mar 2018 10:54:58 +0000 (11:54 +0100)]
wbemprox/tests: Add a test for Win32_OperatingSystem.FreePhysicalMemory.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowbemprox: Add FreePhysicalMemory to Win32_OperatingSystem.
Michael Müller [Fri, 2 Mar 2018 10:54:57 +0000 (11:54 +0100)]
wbemprox: Add FreePhysicalMemory to Win32_OperatingSystem.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agosecur32: Add support for NameFullyQualifiedDN to GetComputerObjectName.
Dmitry Timoshkov [Fri, 2 Mar 2018 10:46:13 +0000 (18:46 +0800)]
secur32: Add support for NameFullyQualifiedDN to GetComputerObjectName.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoadvapi32: Also initialize DnsDomainName and DnsForestName in LsaQueryInformationPolicy.
Dmitry Timoshkov [Fri, 2 Mar 2018 10:45:13 +0000 (18:45 +0800)]
advapi32: Also initialize DnsDomainName and DnsForestName in LsaQueryInformationPolicy.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoadvapi32: Return correct short domain name.
Dmitry Timoshkov [Fri, 2 Mar 2018 10:45:00 +0000 (18:45 +0800)]
advapi32: Return correct short domain name.

Also remove suffix and uppercase the returned name as Windows does.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoadvapi32: Use GetWindowsAccountDomainSid() to retrieve the domain SID.
Dmitry Timoshkov [Fri, 2 Mar 2018 10:44:17 +0000 (18:44 +0800)]
advapi32: Use GetWindowsAccountDomainSid() to retrieve the domain SID.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agousp10: Use heap_calloc() in ScriptTextOut().
Henri Verbeet [Fri, 2 Mar 2018 08:40:49 +0000 (12:10 +0330)]
usp10: Use heap_calloc() in ScriptTextOut().

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agousp10: Use heap_calloc() in ScriptLayout().
Henri Verbeet [Thu, 1 Mar 2018 06:16:55 +0000 (09:46 +0330)]
usp10: Use heap_calloc() in ScriptLayout().

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agojscript: Added Array.prototype.indexOf implementation.
Jacek Caban [Thu, 1 Mar 2018 22:58:55 +0000 (23:58 +0100)]
jscript: Added Array.prototype.indexOf implementation.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agojscript: Renamed equal2_values to jsval_strict_equal.
Jacek Caban [Thu, 1 Mar 2018 22:58:45 +0000 (23:58 +0100)]
jscript: Renamed equal2_values to jsval_strict_equal.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agojscript: Properly handle elisions in array literals.
Jacek Caban [Thu, 1 Mar 2018 22:58:38 +0000 (23:58 +0100)]
jscript: Properly handle elisions in array literals.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agojscript: Properly support missing array elements in Array.pop.
Jacek Caban [Thu, 1 Mar 2018 22:58:25 +0000 (23:58 +0100)]
jscript: Properly support missing array elements in Array.pop.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agojscript: Properly support missing array elements in stringify_array.
Jacek Caban [Thu, 1 Mar 2018 22:58:17 +0000 (23:58 +0100)]
jscript: Properly support missing array elements in stringify_array.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agopo: Update Norwegian translation.
Kim Malmo [Thu, 1 Mar 2018 22:19:59 +0000 (22:19 +0000)]
po: Update Norwegian translation.

Signed-off-by: Kim Malmo <berencamlost@msn.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agodmusic/tests: Add IDirectMusicObject::ParseDescriptor() tests.
Michael Stefaniuc [Thu, 1 Mar 2018 22:57:38 +0000 (23:57 +0100)]
dmusic/tests: Add IDirectMusicObject::ParseDescriptor() tests.

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agodmime/tests: Add IDirectMusicObject::ParseDescriptor() tests.
Michael Stefaniuc [Fri, 2 Mar 2018 00:16:08 +0000 (01:16 +0100)]
dmime/tests: Add IDirectMusicObject::ParseDescriptor() tests.

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowined3d: Explicitly calculate the sub-resource level in wined3d_texture_allocate_gl_m...
Henri Verbeet [Fri, 2 Mar 2018 08:40:48 +0000 (12:10 +0330)]
wined3d: Explicitly calculate the sub-resource level in wined3d_texture_allocate_gl_mutable_storage().

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowined3d: Explicitly pass the sub-resource level to surface_is_full_rect().
Henri Verbeet [Fri, 2 Mar 2018 08:40:47 +0000 (12:10 +0330)]
wined3d: Explicitly pass the sub-resource level to surface_is_full_rect().

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowined3d: Explicitly calculate the sub-resource level in raw_blitter_blit().
Henri Verbeet [Fri, 2 Mar 2018 08:40:46 +0000 (12:10 +0330)]
wined3d: Explicitly calculate the sub-resource level in raw_blitter_blit().

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowined3d: Explicitly calculate the sub-resource level in surface_load_renderbuffer().
Henri Verbeet [Fri, 2 Mar 2018 08:40:45 +0000 (12:10 +0330)]
wined3d: Explicitly calculate the sub-resource level in surface_load_renderbuffer().

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoquartz/tests: Remove some unnecessary error-checking.
Zebediah Figura [Thu, 1 Mar 2018 19:19:23 +0000 (13:19 -0600)]
quartz/tests: Remove some unnecessary error-checking.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoquartz/tests: Add more tests for IMediaSeeking.
Zebediah Figura [Thu, 1 Mar 2018 19:19:22 +0000 (13:19 -0600)]
quartz/tests: Add more tests for IMediaSeeking.

Also remove uninteresting IMediaControl test.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoquartz/tests: Simply test_render_with_multithread().
Zebediah Figura [Thu, 1 Mar 2018 19:19:21 +0000 (13:19 -0600)]
quartz/tests: Simply test_render_with_multithread().

Use CoCreateInstance directly, and try to run the graph on a real file.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoquartz/tests: Expand and separate media event tests.
Zebediah Figura [Thu, 1 Mar 2018 19:19:20 +0000 (13:19 -0600)]
quartz/tests: Expand and separate media event tests.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoquartz/tests: Expand and separate state change tests.
Zebediah Figura [Thu, 1 Mar 2018 19:19:19 +0000 (13:19 -0600)]
quartz/tests: Expand and separate state change tests.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoquartz/tests: Explicitly test correct return value for IGraphBuilder_Connect().
Zebediah Figura [Thu, 1 Mar 2018 19:19:18 +0000 (13:19 -0600)]
quartz/tests: Explicitly test correct return value for IGraphBuilder_Connect().

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3d11/tests: Use no attachments draw calls.
Józef Kucia [Thu, 1 Mar 2018 18:36:56 +0000 (19:36 +0100)]
d3d11/tests: Use no attachments draw calls.

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 draws with NULL render target views.
Józef Kucia [Thu, 1 Mar 2018 18:36:55 +0000 (19:36 +0100)]
d3d11/tests: Add test for draws with NULL render target views.

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowined3d: Fix draw calls when first render target is NULL.
Józef Kucia [Thu, 1 Mar 2018 18:36:54 +0000 (19:36 +0100)]
wined3d: Fix draw calls when first render target is NULL.

In Direct3D 10+, the render target at index 0 can be set to NULL.

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: Factor out get_viewport() function.
Józef Kucia [Thu, 1 Mar 2018 18:36:53 +0000 (19:36 +0100)]
wined3d: Factor out get_viewport() function.

No attachment draw calls are always offscreen.

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 draw calls with no attachments.
Józef Kucia [Thu, 1 Mar 2018 18:36:52 +0000 (19:36 +0100)]
wined3d: Implement draw calls with no attachments.

Supported when ARB_framebuffer_no_attachments is available.

It was reported that no attachments framebuffers trigger GPU hangs
in The Witcher 3 on some system configurations with radeonsi driver.
MESA_EXTENSION_OVERRIDE=-GL_ARB_framebuffer_no_attachments can be used
as a workaround until it's fixed.

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: Remove redundant if statement from device_init_swapchain_state().
Józef Kucia [Thu, 1 Mar 2018 18:36:51 +0000 (19:36 +0100)]
wined3d: Remove redundant if statement from device_init_swapchain_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 agokernel32: Move the mapping object functions to sync.c.
Alexandre Julliard [Fri, 2 Mar 2018 09:51:31 +0000 (10:51 +0100)]
kernel32: Move the mapping object functions to sync.c.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agokernel32: Add a helper function to fill object attributes in Create* functions.
Alexandre Julliard [Fri, 2 Mar 2018 09:41:12 +0000 (10:41 +0100)]
kernel32: Add a helper function to fill object attributes in Create* functions.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agokernel32: Add a helper function to fill object attributes in Open* functions.
Alexandre Julliard [Fri, 2 Mar 2018 09:40:41 +0000 (10:40 +0100)]
kernel32: Add a helper function to fill object attributes in Open* functions.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agokernel32/tests: Remove some win9x workarounds.
Alexandre Julliard [Fri, 2 Mar 2018 09:39:50 +0000 (10:39 +0100)]
kernel32/tests: Remove some win9x workarounds.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agopo: Update Russian translation.
Nikolay Sivov [Thu, 1 Mar 2018 18:33:48 +0000 (21:33 +0300)]
po: Update Russian translation.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agojscript: Added Array.isArray implementation.
Jacek Caban [Thu, 1 Mar 2018 18:19:01 +0000 (19:19 +0100)]
jscript: Added Array.isArray implementation.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agojscript: Added Date.now implementation.
Jacek Caban [Thu, 1 Mar 2018 18:18:49 +0000 (19:18 +0100)]
jscript: Added Date.now implementation.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomshtml: Use JScript extension for IE9+ mode support.
Jacek Caban [Thu, 1 Mar 2018 18:18:35 +0000 (19:18 +0100)]
mshtml: Use JScript extension for IE9+ mode support.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agojscript: Introduce Wine-specific extension allowing IE9+ JavaScript mode implementation.
Jacek Caban [Thu, 1 Mar 2018 18:18:26 +0000 (19:18 +0100)]
jscript: Introduce Wine-specific extension allowing IE9+ JavaScript mode implementation.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomshtml: Use SCRIPTLANGUAGEVERSION_5_7 for IE7 and IE5 compatibility mode.
Jacek Caban [Thu, 1 Mar 2018 18:18:10 +0000 (19:18 +0100)]
mshtml: Use SCRIPTLANGUAGEVERSION_5_7 for IE7 and IE5 compatibility mode.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomshtml: Use IE8 compatibility mode for documents in standards mode in internet zone.
Jacek Caban [Thu, 1 Mar 2018 18:17:59 +0000 (19:17 +0100)]
mshtml: Use IE8 compatibility mode for documents in standards mode in internet zone.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoamstream: Use streams as pins in MediaStreamFilter.
Anton Baskanov [Fri, 16 Feb 2018 16:43:43 +0000 (23:43 +0700)]
amstream: Use streams as pins in MediaStreamFilter.

Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoamstream: Store streams as IAMMediaStream in MediaStreamFilter.
Anton Baskanov [Fri, 16 Feb 2018 16:43:42 +0000 (23:43 +0700)]
amstream: Store streams as IAMMediaStream in MediaStreamFilter.

Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoamstream: Implement AMAudioStream::JoinFilter.
Anton Baskanov [Fri, 16 Feb 2018 16:43:41 +0000 (23:43 +0700)]
amstream: Implement AMAudioStream::JoinFilter.

Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoamstream: Implement CheckMediaType for AMAudioStream based on code from mediastreamfi...
Anton Baskanov [Fri, 16 Feb 2018 16:43:40 +0000 (23:43 +0700)]
amstream: Implement CheckMediaType for AMAudioStream based on code from mediastreamfilter.c.

Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoamstream: Implement GetMediaType for AMAudioStream based on code from mediastreamfilt...
Anton Baskanov [Fri, 16 Feb 2018 16:43:39 +0000 (23:43 +0700)]
amstream: Implement GetMediaType for AMAudioStream based on code from mediastreamfilter.c.

Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoamstream: Add stub IPin and IMemInputPin to AMAudioStream.
Anton Baskanov [Fri, 16 Feb 2018 16:43:38 +0000 (23:43 +0700)]
amstream: Add stub IPin and IMemInputPin to AMAudioStream.

Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoamstream: Implement AMDirectDrawStream::JoinFilter.
Anton Baskanov [Fri, 16 Feb 2018 16:43:37 +0000 (23:43 +0700)]
amstream: Implement AMDirectDrawStream::JoinFilter.

Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoamstream: Implement CheckMediaType for AMDirectDrawStream based on code form mediastr...
Anton Baskanov [Fri, 16 Feb 2018 16:43:36 +0000 (23:43 +0700)]
amstream: Implement CheckMediaType for AMDirectDrawStream based on code form mediastreamfilter.c.

Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoamstream: Implement GetMediaType for AMDirectDrawStream based on code from mediastrea...
Anton Baskanov [Fri, 16 Feb 2018 16:43:35 +0000 (23:43 +0700)]
amstream: Implement GetMediaType for AMDirectDrawStream based on code from mediastreamfilter.c.

Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoamstream: Add stub IPin and IMemInputPin to AMDirectDrawStream.
Anton Baskanov [Fri, 16 Feb 2018 16:43:34 +0000 (23:43 +0700)]
amstream: Add stub IPin and IMemInputPin to AMDirectDrawStream.

Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoping: Implement -l, -w, -n using IcmpSendEcho.
Isira Seneviratne [Sat, 17 Feb 2018 04:52:55 +0000 (10:22 +0530)]
ping: Implement -l, -w, -n using IcmpSendEcho.

Signed-off-by: Isira Seneviratne <isirasen96@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agokernelbase/tests: Add some tests for PathCchCombineEx().
Michael Müller [Wed, 28 Feb 2018 10:54:17 +0000 (13:54 +0300)]
kernelbase/tests: Add some tests for PathCchCombineEx().

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoinclude: Add PathCchCombineEx() definition.
Michael Müller [Wed, 28 Feb 2018 10:54:16 +0000 (13:54 +0300)]
include: Add PathCchCombineEx() definition.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>