wine-orson.git
8 years agodsound: kill unconditional memory allocation in mixing thread dsound.dll-mbl
Maarten Lankhorst [Mon, 16 Mar 2015 13:33:41 +0000 (14:33 +0100)]
dsound: kill unconditional memory allocation in mixing thread

Unfortunately this doesn't get rid of the memory allocation entirely,
but it will decrease the chance of underruns due to locking immensely.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
8 years agodsound: remove state machine from render buffer
Maarten Lankhorst [Mon, 16 Mar 2015 13:33:41 +0000 (14:33 +0100)]
dsound: remove state machine from render buffer

.. wat

8 years agodsound: fix format handling on invalid format to never fail
Maarten Lankhorst [Mon, 23 Mar 2015 08:14:34 +0000 (09:14 +0100)]
dsound: fix format handling on invalid format to never fail

For the users still on oss4 this is probably useful. This is more of
a theoretical concern than practical, since nobody uses primary mode.
And even if someone did, they would have to find a format that was
unsupported, like IEEE float would probably be the easiest to trigger.

This patch now forces everything to a single call to DSOUND_ReopenDevice,
which will either fail and keep previous state, or succeed.

8 years agodsound: fixup IDirectSoundCaptureBuffer_QueryInterface
Maarten Lankhorst [Mon, 23 Mar 2015 08:14:33 +0000 (09:14 +0100)]
dsound: fixup IDirectSoundCaptureBuffer_QueryInterface

Don't expose v8, and actually respond to iunknown.

8 years agodsound: fixup DSOUND_WaveQueue checks
Maarten Lankhorst [Mon, 23 Mar 2015 08:14:33 +0000 (09:14 +0100)]
dsound: fixup DSOUND_WaveQueue checks

If you're going to be silly, you should go all the way. :P

8 years agodsound: mix float natively
Maarten Lankhorst [Mon, 23 Mar 2015 08:14:33 +0000 (09:14 +0100)]
dsound: mix float natively

8 years agodsound: rework ugly mixer logic
Maarten Lankhorst [Mon, 23 Mar 2015 08:14:33 +0000 (09:14 +0100)]
dsound: rework ugly mixer logic

8 years agontdll: Implement SystemLogicalProcessorInformationEx.
Andrew Eikum [Mon, 25 Jan 2016 14:47:10 +0000 (08:47 -0600)]
ntdll: Implement SystemLogicalProcessorInformationEx.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agoddraw: Return DDERR_INVALIDPARAMS for render states >= D3DSTATE_OVERRIDE_BIAS.
Józef Kucia [Wed, 27 Jan 2016 23:17:48 +0000 (00:17 +0100)]
ddraw: Return DDERR_INVALIDPARAMS for render states >= D3DSTATE_OVERRIDE_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>
8 years agowined3d: Validate render state in wined3d_device_set_render_state().
Józef Kucia [Wed, 27 Jan 2016 23:17:46 +0000 (00:17 +0100)]
wined3d: Validate render state in wined3d_device_set_render_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>
8 years agod3d8/tests: Test the creation of render targets with invalid multisample settings.
Matteo Bruni [Wed, 27 Jan 2016 23:15:48 +0000 (00:15 +0100)]
d3d8/tests: Test the creation of render targets with invalid multisample settings.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agod3d8/tests: Port test_checkdevicemultisampletype() from d3d9.
Matteo Bruni [Wed, 27 Jan 2016 23:15:47 +0000 (00:15 +0100)]
d3d8/tests: Port test_checkdevicemultisampletype() from d3d9.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agod3d9/tests: Test the creation of render targets with invalid multisample settings.
Matteo Bruni [Wed, 27 Jan 2016 23:15:46 +0000 (00:15 +0100)]
d3d9/tests: Test the creation of render targets with invalid multisample settings.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agod3d9/tests: Extend test_checkdevicemultisampletype().
Matteo Bruni [Wed, 27 Jan 2016 23:15:45 +0000 (00:15 +0100)]
d3d9/tests: Extend test_checkdevicemultisampletype().

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agowined3d: Fail texture creation when invalid multisample settings are specified.
Matteo Bruni [Wed, 27 Jan 2016 23:15:44 +0000 (00:15 +0100)]
wined3d: Fail texture creation when invalid multisample settings are specified.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agowined3d: Add a real implementation of wined3d_check_device_multisample_type().
Matteo Bruni [Wed, 27 Jan 2016 23:15:43 +0000 (00:15 +0100)]
wined3d: Add a real implementation of wined3d_check_device_multisample_type().

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agowined3d: Recognize SM4 sample_b opcode.
Józef Kucia [Wed, 27 Jan 2016 22:43:46 +0000 (23:43 +0100)]
wined3d: Recognize SM4 sample_b opcode.

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>
8 years agowined3d: Recognize SM4 sample_c_lz opcode.
Józef Kucia [Wed, 27 Jan 2016 22:43:45 +0000 (23:43 +0100)]
wined3d: Recognize SM4 sample_c_lz opcode.

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>
8 years agowined3d: Implement SM4 round_z instruction.
Józef Kucia [Wed, 27 Jan 2016 22:43:44 +0000 (23:43 +0100)]
wined3d: Implement SM4 round_z 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>
8 years agowined3d: Implement SM4 round_pi instruction.
Józef Kucia [Wed, 27 Jan 2016 22:43:43 +0000 (23:43 +0100)]
wined3d: Implement SM4 round_pi 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>
8 years agowined3d: Recognize SM4 round_z opcode.
Józef Kucia [Wed, 27 Jan 2016 22:43:42 +0000 (23:43 +0100)]
wined3d: Recognize SM4 round_z opcode.

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>
8 years agowined3d: Recognize SM4 round_pi opcode.
Józef Kucia [Wed, 27 Jan 2016 22:43:41 +0000 (23:43 +0100)]
wined3d: Recognize SM4 round_pi opcode.

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>
8 years agowined3d: Implement SM4 ine instruction.
Józef Kucia [Wed, 27 Jan 2016 22:43:40 +0000 (23:43 +0100)]
wined3d: Implement SM4 ine 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>
8 years agod2d1: Use drawing effect for underlines.
Nikolay Sivov [Wed, 27 Jan 2016 20:34:00 +0000 (23:34 +0300)]
d2d1: Use drawing effect for underlines.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agontdll: Add tests for kernel object names in the various open functions.
Alexandre Julliard [Thu, 28 Jan 2016 12:24:12 +0000 (21:24 +0900)]
ntdll: Add tests for kernel object names in the various open functions.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agoserver: Fix initialization of mailslot objects that don't have a name.
Alexandre Julliard [Thu, 28 Jan 2016 13:33:12 +0000 (22:33 +0900)]
server: Fix initialization of mailslot objects that don't have a name.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agowine.inf: Fix the wordpad.exe path in associations.
Alexandre Julliard [Thu, 28 Jan 2016 12:23:02 +0000 (21:23 +0900)]
wine.inf: Fix the wordpad.exe path in associations.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agoadvapi32/tests: Trace the SIDs if they are not as expected.
Francois Gouget [Sun, 24 Jan 2016 19:21:31 +0000 (20:21 +0100)]
advapi32/tests: Trace the SIDs if they are not as expected.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agooleaut32: Add ICreateTypeLib2::SetCustData tests.
Piotr Caban [Wed, 27 Jan 2016 12:04:36 +0000 (13:04 +0100)]
oleaut32: Add ICreateTypeLib2::SetCustData tests.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agooleaut32: Add ICreateTypeLib2::SetCustData implementation.
Piotr Caban [Wed, 27 Jan 2016 12:04:29 +0000 (13:04 +0100)]
oleaut32: Add ICreateTypeLib2::SetCustData implementation.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agooleaut32: Update cdguid on data reallocation in WMSFT_compile_custdata.
Piotr Caban [Wed, 27 Jan 2016 12:04:19 +0000 (13:04 +0100)]
oleaut32: Update cdguid on data reallocation in WMSFT_compile_custdata.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agoshell32/tests: Fix a couple of okChildPath()/okChildString() mixups.
Francois Gouget [Wed, 27 Jan 2016 14:41:58 +0000 (15:41 +0100)]
shell32/tests: Fix a couple of okChildPath()/okChildString() mixups.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agoshell32/tests: Show that verbs and classes override ShellExecute()'s normal handling...
Francois Gouget [Wed, 27 Jan 2016 14:41:19 +0000 (15:41 +0100)]
shell32/tests: Show that verbs and classes override ShellExecute()'s normal handling of executables.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agoshell32/tests: Test handling of nonexistent verbs in ShellExecute() & co.
Francois Gouget [Wed, 27 Jan 2016 14:40:21 +0000 (15:40 +0100)]
shell32/tests: Test handling of nonexistent verbs in ShellExecute() & co.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agodwrite: Don't use BOOL defined values for fields that are not BOOL.
Nikolay Sivov [Thu, 28 Jan 2016 01:17:19 +0000 (04:17 +0300)]
dwrite: Don't use BOOL defined values for fields that are not BOOL.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agodwrite: Inline object origin is at top-left corner, not baseline.
Nikolay Sivov [Thu, 28 Jan 2016 01:17:18 +0000 (04:17 +0300)]
dwrite: Inline object origin is at top-left corner, not baseline.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agodwrite: Return valid metrics for layout created on empty text.
Nikolay Sivov [Thu, 28 Jan 2016 01:17:17 +0000 (04:17 +0300)]
dwrite: Return valid metrics for layout created on empty text.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agodwrite/tests: Some tests for layout based on empty text.
Nikolay Sivov [Thu, 28 Jan 2016 01:17:16 +0000 (04:17 +0300)]
dwrite/tests: Some tests for layout based on empty text.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agodwrite: Fix parameter validation in CreateTextLayout()/CreateGdiCompatibleTextLayout().
Nikolay Sivov [Thu, 28 Jan 2016 01:17:15 +0000 (04:17 +0300)]
dwrite: Fix parameter validation in CreateTextLayout()/CreateGdiCompatibleTextLayout().

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agod3d9: Replace wined3d surface refcounting with texture refcounting.
Riccardo Bortolato [Wed, 27 Jan 2016 19:44:41 +0000 (20:44 +0100)]
d3d9: Replace wined3d surface refcounting with texture refcounting.

Signed-off-by: Riccardo Bortolato <rikyz619@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agod3d9: Implement d3d9_device_UpdateSurface() on top of wined3d_device_copy_sub_resourc...
Riccardo Bortolato [Wed, 27 Jan 2016 19:44:40 +0000 (20:44 +0100)]
d3d9: Implement d3d9_device_UpdateSurface() on top of wined3d_device_copy_sub_resource_region().

Signed-off-by: Riccardo Bortolato <rikyz619@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agod3d11: Add the Direct3D 11.1 D3D11_FORMAT_SUPPORT enum elements.
Alistair Leslie-Hughes [Wed, 27 Jan 2016 19:44:39 +0000 (20:44 +0100)]
d3d11: Add the Direct3D 11.1 D3D11_FORMAT_SUPPORT enum elements.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agowined3d: Require non-NULL rectangles in wined3d_surface_blt().
Henri Verbeet [Wed, 27 Jan 2016 19:44:38 +0000 (20:44 +0100)]
wined3d: Require non-NULL rectangles in wined3d_surface_blt().

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agowined3d: Pass non-NULL rectangles to wined3d_surface_blt() in wined3d_texture_blt().
Henri Verbeet [Wed, 27 Jan 2016 19:44:37 +0000 (20:44 +0100)]
wined3d: Pass non-NULL rectangles to wined3d_surface_blt() in wined3d_texture_blt().

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agoddraw: Pass non-NULL rectangles to wined3d_surface_blt() in ddraw_surface7_BltFast().
Henri Verbeet [Wed, 27 Jan 2016 19:44:36 +0000 (20:44 +0100)]
ddraw: Pass non-NULL rectangles to wined3d_surface_blt() in ddraw_surface7_BltFast().

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agoddraw: Pass non-NULL rectangles to wined3d_surface_blt() in ddraw_surface_blt_clipped().
Henri Verbeet [Wed, 27 Jan 2016 19:44:35 +0000 (20:44 +0100)]
ddraw: Pass non-NULL rectangles to wined3d_surface_blt() in ddraw_surface_blt_clipped().

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agoddraw: Pass non-NULL rectangles to wined3d_surface_blt() in ddraw_surface_update_fron...
Henri Verbeet [Wed, 27 Jan 2016 19:44:34 +0000 (20:44 +0100)]
ddraw: Pass non-NULL rectangles to wined3d_surface_blt() in ddraw_surface_update_frontbuffer().

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agojscript: Added JSON tests.
Jacek Caban [Wed, 27 Jan 2016 19:44:12 +0000 (20:44 +0100)]
jscript: Added JSON tests.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agojscript: Added JSON.stringify implementation.
Jacek Caban [Wed, 27 Jan 2016 19:43:55 +0000 (20:43 +0100)]
jscript: Added JSON.stringify implementation.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agojscript: Added JSON.parse implementation.
Jacek Caban [Wed, 27 Jan 2016 19:43:41 +0000 (20:43 +0100)]
jscript: Added JSON.parse implementation.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agojscript: Added JSON object stub implementation.
Jacek Caban [Wed, 27 Jan 2016 19:43:26 +0000 (20:43 +0100)]
jscript: Added JSON object stub implementation.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agojscript: Added new is_finite helper.
Jacek Caban [Wed, 27 Jan 2016 19:43:11 +0000 (20:43 +0100)]
jscript: Added new is_finite helper.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agojscript: Make parse_decimal a more generic helper.
Jacek Caban [Wed, 27 Jan 2016 19:42:52 +0000 (20:42 +0100)]
jscript: Make parse_decimal a more generic helper.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agowineconsole: Improve a user dialog resource string.
Hugh McMaster [Wed, 27 Jan 2016 05:20:05 +0000 (16:20 +1100)]
wineconsole: Improve a user dialog resource string.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agokernel32/tests: Add tests for the TRUE pathway of GetCurrentConsoleFont.
Hugh McMaster [Wed, 27 Jan 2016 03:55:17 +0000 (14:55 +1100)]
kernel32/tests: Add tests for the TRUE pathway of GetCurrentConsoleFont.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agokernel32: Implement the TRUE pathway of GetCurrentConsoleFont.
Hugh McMaster [Wed, 27 Jan 2016 03:55:16 +0000 (14:55 +1100)]
kernel32: Implement the TRUE pathway of GetCurrentConsoleFont.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agodwrite: Line height/baseline includes lineGap as well.
Nikolay Sivov [Wed, 27 Jan 2016 12:57:48 +0000 (15:57 +0300)]
dwrite: Line height/baseline includes lineGap as well.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agodwrite: Fix invalid cluster metrics array index access.
Nikolay Sivov [Wed, 27 Jan 2016 12:57:47 +0000 (15:57 +0300)]
dwrite: Fix invalid cluster metrics array index access.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agoinclude: Add IDropSourceNotify.
Huw Davies [Wed, 27 Jan 2016 13:31:47 +0000 (13:31 +0000)]
include: Add IDropSourceNotify.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agoolepro32: Add typelib resource.
Alistair Leslie-Hughes [Wed, 27 Jan 2016 09:15:21 +0000 (20:15 +1100)]
olepro32: Add typelib resource.

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>
8 years agowined3d: Don't leak the device context on failure in context_create().
Hans Leidekker [Wed, 27 Jan 2016 12:38:04 +0000 (13:38 +0100)]
wined3d: Don't leak the device context on failure in context_create().

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agod3d9: Return one quality level when the multisampling type isn't available.
Matteo Bruni [Tue, 26 Jan 2016 21:51:33 +0000 (22:51 +0100)]
d3d9: Return one quality level when the multisampling type isn't available.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agowined3d: Add ARB_internalformat_query extension.
Matteo Bruni [Tue, 26 Jan 2016 21:51:30 +0000 (22:51 +0100)]
wined3d: Add ARB_internalformat_query extension.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agowined3d: Limit the number of WINED3D_MULTISAMPLE_NON_MASKABLE quality levels reported.
Matteo Bruni [Tue, 26 Jan 2016 21:51:29 +0000 (22:51 +0100)]
wined3d: Limit the number of WINED3D_MULTISAMPLE_NON_MASKABLE quality levels reported.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agowined3d: Improve wined3d_popcount() implementation.
Matteo Bruni [Tue, 26 Jan 2016 21:51:28 +0000 (22:51 +0100)]
wined3d: Improve wined3d_popcount() implementation.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agowined3d: Implement SM4 not instruction.
Józef Kucia [Tue, 26 Jan 2016 16:49:15 +0000 (17:49 +0100)]
wined3d: Implement SM4 not 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>
8 years agowined3d: Recognize SM4 not opcode.
Józef Kucia [Tue, 26 Jan 2016 16:49:14 +0000 (17:49 +0100)]
wined3d: Recognize SM4 not opcode.

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>
8 years agowined3d: Implement SM4 ineg instruction.
Józef Kucia [Tue, 26 Jan 2016 16:49:13 +0000 (17:49 +0100)]
wined3d: Implement SM4 ineg 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>
8 years agowined3d: Implement SM4 ilt instruction.
Józef Kucia [Tue, 26 Jan 2016 16:49:12 +0000 (17:49 +0100)]
wined3d: Implement SM4 ilt 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>
8 years agowined3d: Implement SM4 ieq instruction.
Józef Kucia [Tue, 26 Jan 2016 16:49:11 +0000 (17:49 +0100)]
wined3d: Implement SM4 ieq 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>
8 years agowined3d: Recognize SM4 else opcode.
Józef Kucia [Tue, 26 Jan 2016 16:49:10 +0000 (17:49 +0100)]
wined3d: Recognize SM4 else opcode.

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>
8 years agod2d1: Use drawing effect at DrawGlyphRun().
Nikolay Sivov [Tue, 26 Jan 2016 12:36:18 +0000 (15:36 +0300)]
d2d1: Use drawing effect at DrawGlyphRun().

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agoinclude: Add more OID defines.
André Hentschel [Tue, 26 Jan 2016 19:51:02 +0000 (20:51 +0100)]
include: Add more OID defines.

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agowined3d: Pass non-NULL rectangles to wined3d_surface_blt() in wined3d_device_copy_res...
Henri Verbeet [Tue, 26 Jan 2016 23:06:27 +0000 (00:06 +0100)]
wined3d: Pass non-NULL rectangles to wined3d_surface_blt() in wined3d_device_copy_resource().

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agowined3d: Pass non-NULL rectangles to wined3d_surface_blt() in resolve_depth_buffer().
Henri Verbeet [Tue, 26 Jan 2016 23:06:26 +0000 (00:06 +0100)]
wined3d: Pass non-NULL rectangles to wined3d_surface_blt() in resolve_depth_buffer().

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agowined3d: Rename the texture creation flags to WINED3D_TEXTURE_CREATE_*.
Henri Verbeet [Tue, 26 Jan 2016 23:06:25 +0000 (00:06 +0100)]
wined3d: Rename the texture creation flags to WINED3D_TEXTURE_CREATE_*.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agowined3d: Rename WINED3D_RTYPE_VOLUME_TEXTURE to WINED3D_RTYPE_TEXTURE_3D.
Henri Verbeet [Tue, 26 Jan 2016 23:06:24 +0000 (00:06 +0100)]
wined3d: Rename WINED3D_RTYPE_VOLUME_TEXTURE to WINED3D_RTYPE_TEXTURE_3D.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agowined3d: Unify WINED3D_RTYPE_TEXTURE and WINED3D_RTYPE_CUBE_TEXTURE.
Henri Verbeet [Tue, 26 Jan 2016 23:06:23 +0000 (00:06 +0100)]
wined3d: Unify WINED3D_RTYPE_TEXTURE and WINED3D_RTYPE_CUBE_TEXTURE.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agooleaut32/tests: Fix some test failures.
Nikolay Sivov [Tue, 26 Jan 2016 16:31:14 +0000 (19:31 +0300)]
oleaut32/tests: Fix some test failures.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agontdll/tests: Fix some more failures on restricted Windows.
Alexandre Julliard [Wed, 27 Jan 2016 03:15:48 +0000 (12:15 +0900)]
ntdll/tests: Fix some more failures on restricted Windows.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agowpcap: Forward pcap_strerror to msvcrt.strerror.
André Hentschel [Mon, 25 Jan 2016 20:52:37 +0000 (21:52 +0100)]
wpcap: Forward pcap_strerror to msvcrt.strerror.

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agowineconsole: Apply the selected background colour to the entire font preview dialog.
Hugh McMaster [Mon, 25 Jan 2016 10:01:02 +0000 (21:01 +1100)]
wineconsole: Apply the selected background colour to the entire font preview dialog.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agokernel32: Apply the new background colour to the active line.
Hugh McMaster [Mon, 25 Jan 2016 10:01:01 +0000 (21:01 +1100)]
kernel32: Apply the new background colour to the active line.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agowineconsole: Apply the new background colour to the visible screen buffer.
Hugh McMaster [Mon, 25 Jan 2016 10:01:00 +0000 (21:01 +1100)]
wineconsole: Apply the new background colour to the visible screen buffer.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agouser32: Test error returned in out of timers case.
Piotr Caban [Mon, 25 Jan 2016 08:59:57 +0000 (09:59 +0100)]
user32: Test error returned in out of timers case.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agoserver: Avoid infinite loop when we're out of timers in set_win_timer server call.
Piotr Caban [Mon, 25 Jan 2016 08:59:46 +0000 (09:59 +0100)]
server: Avoid infinite loop when we're out of timers in set_win_timer server call.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agompr: Add support for REG_EXPAND_SZ for providers path.
Pierre Schweitzer [Mon, 25 Jan 2016 07:17:48 +0000 (08:17 +0100)]
mpr: Add support for REG_EXPAND_SZ for providers path.

Signed-off-by: Pierre Schweitzer <pierre@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agoshell32/tests: Trace the association properties for the DDE tests.
Francois Gouget [Fri, 22 Jan 2016 17:02:56 +0000 (18:02 +0100)]
shell32/tests: Trace the association properties for the DDE tests.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agoshell32/tests: Call okShell() after a shell_execute{_ex}() test.
Francois Gouget [Fri, 22 Jan 2016 17:02:35 +0000 (18:02 +0100)]
shell32/tests: Call okShell() after a shell_execute{_ex}() test.

This ensures all the failed call parameters will be traced.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agoshell32/tests: Trace the last ShellExecute command whenever a corresponding test...
Francois Gouget [Fri, 22 Jan 2016 17:01:55 +0000 (18:01 +0100)]
shell32/tests: Trace the last ShellExecute command whenever a corresponding test fails.

okShell() serves to encapsulate handling of shell_call and also provides a means for further extensions.

Remove the shell_call static initialization to not hide potential
use-before-assignment compiler warnings.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agodwrite: Implement DetermineMinWidth() using line breaking info.
Nikolay Sivov [Tue, 26 Jan 2016 12:44:48 +0000 (15:44 +0300)]
dwrite: Implement DetermineMinWidth() using line breaking info.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agodwrite: Fix setting canWrapLineAfter cluster flag.
Nikolay Sivov [Tue, 26 Jan 2016 12:44:47 +0000 (15:44 +0300)]
dwrite: Fix setting canWrapLineAfter cluster flag.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agodwrite: Reuse linebreaking isSoftHyphen flag for cluster metrics.
Nikolay Sivov [Tue, 26 Jan 2016 12:44:46 +0000 (15:44 +0300)]
dwrite: Reuse linebreaking isSoftHyphen flag for cluster metrics.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agodwrite: Reuse linebreaking whitespace flag when filling cluster metrics.
Nikolay Sivov [Tue, 26 Jan 2016 12:44:45 +0000 (15:44 +0300)]
dwrite: Reuse linebreaking whitespace flag when filling cluster metrics.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agodwrite: Zero width space U+200b is not a whitespace from analyzer/layout point of...
Nikolay Sivov [Tue, 26 Jan 2016 12:44:44 +0000 (15:44 +0300)]
dwrite: Zero width space U+200b is not a whitespace from analyzer/layout point of view.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agopo: Update Russian translation.
Nikolay Sivov [Tue, 26 Jan 2016 12:31:49 +0000 (15:31 +0300)]
po: Update Russian translation.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agomsi: Include the dialog in the check for duplicate event subscriptions.
Hans Leidekker [Tue, 26 Jan 2016 10:16:05 +0000 (11:16 +0100)]
msi: Include the dialog in the check for duplicate event subscriptions.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agowininet/tests: Fix test failures.
Hans Leidekker [Tue, 26 Jan 2016 10:14:31 +0000 (11:14 +0100)]
wininet/tests: Fix test failures.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agobcrypt/tests: Fix incorrect null termination.
Huw Davies [Tue, 26 Jan 2016 09:30:02 +0000 (09:30 +0000)]
bcrypt/tests: Fix incorrect null termination.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
8 years agowined3d: Recognize SM4 dcl_temps opcode.
Józef Kucia [Mon, 25 Jan 2016 23:34:04 +0000 (00:34 +0100)]
wined3d: Recognize SM4 dcl_temps opcode.

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>