wine/eterwine.git
9 years agoieframe: Don't write icon file path and index to storage if not specified in shortcut...
Nikolay Sivov [Fri, 1 Jan 2016 16:51:59 +0000 (19:51 +0300)]
ieframe: Don't write icon file path and index to storage if not specified in shortcut (Valgrind).

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoxaudio2: Added missing break in a switch (Coverity).
Nikolay Sivov [Wed, 6 Jan 2016 14:56:05 +0000 (17:56 +0300)]
xaudio2: Added missing break in a switch (Coverity).

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoddraw: Only allow DDSCAPS_MIPMAP on textures.
Henri Verbeet [Wed, 6 Jan 2016 14:52:07 +0000 (15:52 +0100)]
ddraw: Only allow DDSCAPS_MIPMAP on textures.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoddraw/tests: Merge MipMapCreationTest() with test_mipmap_lock().
Henri Verbeet [Wed, 6 Jan 2016 14:52:06 +0000 (15:52 +0100)]
ddraw/tests: Merge MipMapCreationTest() with test_mipmap_lock().

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoddraw: Use the largest dimension to determine the mipmap count for version 7 surfaces.
Henri Verbeet [Wed, 6 Jan 2016 14:52:05 +0000 (15:52 +0100)]
ddraw: Use the largest dimension to determine the mipmap count for version 7 surfaces.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agod3d10core/tests: Add test for SM4 ld instruction.
Józef Kucia [Tue, 5 Jan 2016 20:52:34 +0000 (21:52 +0100)]
d3d10core/tests: Add test for SM4 ld 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>
9 years agod3d11/tests: Add test for SM4 ld instruction.
Józef Kucia [Tue, 5 Jan 2016 20:52:33 +0000 (21:52 +0100)]
d3d11/tests: Add test for SM4 ld 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>
9 years agowined3d: Implement SM4 ld instruction.
Józef Kucia [Tue, 5 Jan 2016 20:52:32 +0000 (21:52 +0100)]
wined3d: Implement SM4 ld 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>
9 years agowined3d: Record texture accesses for SM4 ld instruction.
Józef Kucia [Tue, 5 Jan 2016 20:52:31 +0000 (21:52 +0100)]
wined3d: Record texture accesses for SM4 ld 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>
9 years agowined3d: Maintain default sampler per device.
Józef Kucia [Tue, 5 Jan 2016 20:52:30 +0000 (21:52 +0100)]
wined3d: Maintain default sampler per device.

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>
9 years agomshtml: Added IHTMLDocument4::hasFocus implementation.
Jacek Caban [Wed, 6 Jan 2016 14:05:42 +0000 (15:05 +0100)]
mshtml: Added IHTMLDocument4::hasFocus implementation.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowbemprox: Implement Win32_VideoController.VideoModeDescription.
Hans Leidekker [Wed, 6 Jan 2016 13:44:34 +0000 (14:44 +0100)]
wbemprox: Implement Win32_VideoController.VideoModeDescription.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowbemprox: Fix a typo.
Hans Leidekker [Wed, 6 Jan 2016 13:44:33 +0000 (14:44 +0100)]
wbemprox: Fix a typo.

Spotted by Nikolay Sivov.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agobcrypt: Implement BCryptFinishHash.
Hans Leidekker [Wed, 6 Jan 2016 13:19:19 +0000 (14:19 +0100)]
bcrypt: Implement BCryptFinishHash.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agobcrypt: Implement BCryptHashData.
Hans Leidekker [Wed, 6 Jan 2016 13:19:18 +0000 (14:19 +0100)]
bcrypt: Implement BCryptHashData.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agobcrypt: Implement BCryptGetProperty.
Hans Leidekker [Wed, 6 Jan 2016 13:19:17 +0000 (14:19 +0100)]
bcrypt: Implement BCryptGetProperty.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agobcrypt: Implement BCryptCreateHash and BCryptDestroyHash.
Hans Leidekker [Wed, 6 Jan 2016 13:19:16 +0000 (14:19 +0100)]
bcrypt: Implement BCryptCreateHash and BCryptDestroyHash.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agobcrypt: Implement BCryptOpenAlgorithmProvider and BCryptCloseAlgorithmProvider.
Hans Leidekker [Wed, 6 Jan 2016 13:19:15 +0000 (14:19 +0100)]
bcrypt: Implement BCryptOpenAlgorithmProvider and BCryptCloseAlgorithmProvider.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoinclude: Add missing BCrypt declarations.
Hans Leidekker [Wed, 6 Jan 2016 13:19:14 +0000 (14:19 +0100)]
include: Add missing BCrypt declarations.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoole32/tests: A couple of tests for ReadClassStm/ReadClassStg.
Nikolay Sivov [Wed, 6 Jan 2016 12:51:28 +0000 (15:51 +0300)]
ole32/tests: A couple of tests for ReadClassStm/ReadClassStg.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agokernel32: Remove incorrect comment from !i386 version of GetLargestConsoleWindowSize.
Hugh McMaster [Wed, 6 Jan 2016 07:27:59 +0000 (18:27 +1100)]
kernel32: Remove incorrect comment from !i386 version of GetLargestConsoleWindowSize.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agokernel32: Clamp maximum console window size to screen buffer size.
Sebastian Lackner [Wed, 6 Jan 2016 00:05:04 +0000 (01:05 +0100)]
kernel32: Clamp maximum console window size to screen buffer size.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoshlwapi: Remove a cast that's not really needed.
Nikolay Sivov [Tue, 5 Jan 2016 20:48:22 +0000 (23:48 +0300)]
shlwapi: Remove a cast that's not really needed.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agooleaut32: Don't clear BSTR size.
Andrew Eikum [Tue, 5 Jan 2016 19:38:21 +0000 (13:38 -0600)]
oleaut32: Don't clear BSTR size.

The size is used during cache lookup. Clearing it will break lookup
and prevent detection of double-freeing when warn+heap is enabled.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agomshtml: Properly convert VT_NULL to string in get_elem_attr_value_by_dispid.
Jacek Caban [Tue, 5 Jan 2016 17:53:21 +0000 (18:53 +0100)]
mshtml: Properly convert VT_NULL to string in get_elem_attr_value_by_dispid.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agouser32/tests: Add tests for EM_SETSEL and getting/losing focus in combo boxes.
Hugh McMaster [Thu, 31 Dec 2015 13:00:20 +0000 (00:00 +1100)]
user32/tests: Add tests for EM_SETSEL and getting/losing focus in combo boxes.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agouser32/tests: Add message tests for EM_SETSEL when getting/losing focus in combo...
Hugh McMaster [Sat, 2 Jan 2016 11:55:26 +0000 (22:55 +1100)]
user32/tests: Add message tests for EM_SETSEL when getting/losing focus in combo boxes.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agontdll/tests: Add tests for setting debug registers with NtSetContextThread.
Sebastian Lackner [Sat, 2 Jan 2016 03:41:19 +0000 (04:41 +0100)]
ntdll/tests: Add tests for setting debug registers with NtSetContextThread.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agontdll: Receive debug registers from server on x86_64.
Sebastian Lackner [Sat, 2 Jan 2016 03:41:01 +0000 (04:41 +0100)]
ntdll: Receive debug registers from server on x86_64.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agontdll: Check ContextFlags before restoring registers on x86_64.
Sebastian Lackner [Sat, 2 Jan 2016 03:40:46 +0000 (04:40 +0100)]
ntdll: Check ContextFlags before restoring registers on x86_64.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agomsvcp120: Add vtordisp field to classes with virtual base.
Piotr Caban [Tue, 5 Jan 2016 15:28:58 +0000 (16:28 +0100)]
msvcp120: Add vtordisp field to classes with virtual base.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agomsvcp120: Add _Add_vtordisp virtual functions to basic_ios class.
Piotr Caban [Tue, 5 Jan 2016 15:28:49 +0000 (16:28 +0100)]
msvcp120: Add _Add_vtordisp virtual functions to basic_ios class.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoole2disp: Implement VariantInit().
Nikolay Sivov [Tue, 5 Jan 2016 15:46:34 +0000 (18:46 +0300)]
ole2disp: Implement VariantInit().

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoadvapi32: Make RegOpenCurrentUser() return real key handles for current SID.
Nikolay Sivov [Sun, 27 Dec 2015 22:18:00 +0000 (01:18 +0300)]
advapi32: Make RegOpenCurrentUser() return real key handles for current SID.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoole32: Properly implement OleRegGetUserType().
Nikolay Sivov [Wed, 30 Dec 2015 20:48:38 +0000 (23:48 +0300)]
ole32: Properly implement OleRegGetUserType().

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agokernel32/tests: Add tests for GetLargestConsoleWindowSize.
Hugh McMaster [Tue, 5 Jan 2016 07:59:35 +0000 (18:59 +1100)]
kernel32/tests: Add tests for GetLargestConsoleWindowSize.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agokernel32/tests: Refresh the console to clear the console font table.
Hugh McMaster [Tue, 5 Jan 2016 07:59:34 +0000 (18:59 +1100)]
kernel32/tests: Refresh the console to clear the console font table.

The testScreenBuffer function unintentionally causes the console font
table to increase from 14 entries to about 40.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agokernel32: Add a stub for SetConsoleFont.
Hugh McMaster [Tue, 5 Jan 2016 07:59:33 +0000 (18:59 +1100)]
kernel32: Add a stub for SetConsoleFont.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agokernel32: Implement GetLargestConsoleWindowSize.
Hugh McMaster [Tue, 5 Jan 2016 07:59:32 +0000 (18:59 +1100)]
kernel32: Implement GetLargestConsoleWindowSize.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowineconsole: Send the largest console window size information to the server.
Hugh McMaster [Tue, 5 Jan 2016 07:59:31 +0000 (18:59 +1100)]
wineconsole: Send the largest console window size information to the server.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agomshtml: Added IHTMLElement::lang property implementation.
Jacek Caban [Tue, 5 Jan 2016 14:58:48 +0000 (15:58 +0100)]
mshtml: Added IHTMLElement::lang property implementation.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowined3d: Get rid of unused error codes.
Henri Verbeet [Tue, 5 Jan 2016 14:04:57 +0000 (15:04 +0100)]
wined3d: Get rid of unused error codes.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowined3d: Get rid of GL_APPLE_client_storage support.
Henri Verbeet [Tue, 5 Jan 2016 14:04:56 +0000 (15:04 +0100)]
wined3d: Get rid of GL_APPLE_client_storage support.

Once upon a time this extention helped reduce address space usage on MacOS,
although at the cost of obscure driver bugs. These days it just seems to make
things worse.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowined3d: Set WINED3D_BUFFER_DOUBLEBUFFER for managed buffers as well.
Henri Verbeet [Tue, 5 Jan 2016 14:04:55 +0000 (15:04 +0100)]
wined3d: Set WINED3D_BUFFER_DOUBLEBUFFER for managed buffers as well.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoddraw/tests: Don't require a 3D device for test_resource_priority().
Henri Verbeet [Tue, 5 Jan 2016 14:04:54 +0000 (15:04 +0100)]
ddraw/tests: Don't require a 3D device for test_resource_priority().

This fixes commit b0d4502c29941c31108a53d6c23f9e23196fb7ec.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoddraw: Simplify the root surface test in ddraw_surface7_GetPriority().
Henri Verbeet [Tue, 5 Jan 2016 14:04:53 +0000 (15:04 +0100)]
ddraw: Simplify the root surface test in ddraw_surface7_GetPriority().

This fixes commit 97f0345f71679570d4eedb4ab750158d1a80001c. I assume it was
applied by mistake, since it's also missing the correct sign-off.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agomsxml3/tests: Fix BSTR leak warning (Valgrind).
Nikolay Sivov [Sun, 3 Jan 2016 22:04:39 +0000 (01:04 +0300)]
msxml3/tests: Fix BSTR leak warning (Valgrind).

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agokernel32: Forward GetLogicalProcessorInformationEx() to ntdll.
Nikolay Sivov [Sun, 3 Jan 2016 22:56:48 +0000 (01:56 +0300)]
kernel32: Forward GetLogicalProcessorInformationEx() to ntdll.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agontdll: Add NtQuerySystemInformationEx() stub.
Nikolay Sivov [Sun, 3 Jan 2016 22:56:47 +0000 (01:56 +0300)]
ntdll: Add NtQuerySystemInformationEx() stub.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agontdll/tests: Some tests for NtQuerySystemInformationEx().
Nikolay Sivov [Sun, 3 Jan 2016 22:56:46 +0000 (01:56 +0300)]
ntdll/tests: Some tests for NtQuerySystemInformationEx().

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agopo: Update Simplified Chinese translation.
Jactry Zeng [Mon, 4 Jan 2016 02:25:32 +0000 (10:25 +0800)]
po: Update Simplified Chinese translation.

Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agod3dx9: Add D3DXConvertMeshSubsetToSingleStrip stub.
Alistair Leslie-Hughes [Wed, 23 Dec 2015 06:46:56 +0000 (17:46 +1100)]
d3dx9: Add D3DXConvertMeshSubsetToSingleStrip stub.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowined3d: Do not perform texture alpha blending for BUMPENV textures.
Józef Kucia [Mon, 4 Jan 2016 12:26:03 +0000 (13:26 +0100)]
wined3d: Do not perform texture alpha blending for BUMPENV textures.

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowined3d: Reorder WINED3DSIH values alphabetically in shader_glsl_map2gl().
Józef Kucia [Mon, 4 Jan 2016 12:03:42 +0000 (13:03 +0100)]
wined3d: Reorder WINED3DSIH values alphabetically in shader_glsl_map2gl().

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>
9 years agowined3d: Implement SM4 imin instruction in GLSL backend.
Józef Kucia [Mon, 4 Jan 2016 12:03:41 +0000 (13:03 +0100)]
wined3d: Implement SM4 imin instruction in GLSL backend.

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>
9 years agowined3d: Implement SM4 imax instruction in GLSL backend.
Józef Kucia [Mon, 4 Jan 2016 12:03:40 +0000 (13:03 +0100)]
wined3d: Implement SM4 imax instruction in GLSL backend.

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>
9 years agod3d10core/tests: Add test for SM4 sample_l instruction.
Józef Kucia [Mon, 4 Jan 2016 12:03:39 +0000 (13:03 +0100)]
d3d10core/tests: Add test for SM4 sample_l 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>
9 years agod3d11/tests: Add test for SM4 sample_l instruction.
Józef Kucia [Mon, 4 Jan 2016 12:03:38 +0000 (13:03 +0100)]
d3d11/tests: Add test for SM4 sample_l 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>
9 years agowined3d: Implement SM4 sample_l instruction.
Józef Kucia [Mon, 4 Jan 2016 12:03:37 +0000 (13:03 +0100)]
wined3d: Implement SM4 sample_l 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>
9 years agowined3d: Add support for buffers in wined3d_device_update_sub_resource().
Józef Kucia [Mon, 4 Jan 2016 12:03:36 +0000 (13:03 +0100)]
wined3d: Add support for buffers in wined3d_device_update_sub_resource().

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>
9 years agomshtml: Add IHTMLXMLHttpRequest::responseXML() method implementation.
Zhenbo Li [Fri, 25 Dec 2015 07:30:06 +0000 (15:30 +0800)]
mshtml: Add IHTMLXMLHttpRequest::responseXML() method implementation.

Signed-off-by: Zhenbo Li <litimetal@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agogdi32: Fixup the internal ntmFlags for bitmap fonts.
Akihiro Sagawa [Thu, 31 Dec 2015 04:33:15 +0000 (13:33 +0900)]
gdi32: Fixup the internal ntmFlags for bitmap fonts.

The value is used not for APIs, but for our fake-bold implementation.

Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agogdi32/tests: Add font advance tests for synthetic bold face with scaling.
Akihiro Sagawa [Thu, 31 Dec 2015 04:33:13 +0000 (13:33 +0900)]
gdi32/tests: Add font advance tests for synthetic bold face with scaling.

Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agogdi32/tests: Refactor test_fake_bold_font() to avoid code duplications.
Akihiro Sagawa [Thu, 31 Dec 2015 04:33:12 +0000 (13:33 +0900)]
gdi32/tests: Refactor test_fake_bold_font() to avoid code duplications.

Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoUpdate copyright info for 2016.
Alexandre Julliard [Sun, 3 Jan 2016 19:08:27 +0000 (20:08 +0100)]
Update copyright info for 2016.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agomaintainers: Add Wine Staging maintainers.
Alex Henrie [Thu, 31 Dec 2015 16:59:15 +0000 (17:59 +0100)]
maintainers: Add Wine Staging maintainers.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoshell32/tests: Explicitly compare to HRESULT values.
Nikolay Sivov [Sat, 2 Jan 2016 11:07:43 +0000 (14:07 +0300)]
shell32/tests: Explicitly compare to HRESULT values.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoquartz: Explicitly compare to HRESULT values.
Nikolay Sivov [Sat, 2 Jan 2016 11:04:13 +0000 (14:04 +0300)]
quartz: Explicitly compare to HRESULT values.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agocomdlg32: Explicitly compare to HRESULT values.
Nikolay Sivov [Sat, 2 Jan 2016 11:03:53 +0000 (14:03 +0300)]
comdlg32: Explicitly compare to HRESULT values.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoddraw/tests: Use a slop for test_shademode.
Stefan Dösinger [Fri, 1 Jan 2016 18:24:51 +0000 (18:24 +0000)]
ddraw/tests: Use a slop for test_shademode.

Signed-off-by: Stefan Dösinger <stefandoesinger@gmx.at>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agod3d8/tests: Use a slop for test_shademode.
Stefan Dösinger [Fri, 1 Jan 2016 18:24:50 +0000 (18:24 +0000)]
d3d8/tests: Use a slop for test_shademode.

Signed-off-by: Stefan Dösinger <stefandoesinger@gmx.at>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agod3d9/tests: Use a slop for test_shademode.
Stefan Dösinger [Fri, 1 Jan 2016 18:24:49 +0000 (18:24 +0000)]
d3d9/tests: Use a slop for test_shademode.

Needed on my Geforce 7300. The old test passed OK, the newly extended
test needs a slop.

Signed-off-by: Stefan Dösinger <stefandoesinger@gmx.at>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowined3d: Print opcode names instead of enum values.
Józef Kucia [Fri, 1 Jan 2016 17:08:05 +0000 (18:08 +0100)]
wined3d: Print opcode names instead of enum values.

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>
9 years agowined3d: Recognize SM4 imin opcode.
Józef Kucia [Fri, 1 Jan 2016 17:08:04 +0000 (18:08 +0100)]
wined3d: Recognize SM4 imin 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>
9 years agowined3d: Recognize SM4 imax opcode.
Józef Kucia [Fri, 1 Jan 2016 17:08:03 +0000 (18:08 +0100)]
wined3d: Recognize SM4 imax 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>
9 years agowined3d: Avoid double initialization.
Alex Henrie [Thu, 24 Dec 2015 04:56:58 +0000 (21:56 -0700)]
wined3d: Avoid double initialization.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowined3d: Turn char_component and color into static constants.
Alex Henrie [Thu, 24 Dec 2015 04:56:57 +0000 (21:56 -0700)]
wined3d: Turn char_component and color into static constants.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoddraw: Check for mipmap sublevel through caps in ddraw_surface7_SetColorKey().
Riccardo Bortolato [Tue, 22 Dec 2015 21:43:41 +0000 (22:43 +0100)]
ddraw: Check for mipmap sublevel through caps in ddraw_surface7_SetColorKey().

Enabled some previously failing tests in ddraw/tests/ddraw7.c.

Signed-off-by: Riccardo Bortolato <rikyz619@gmail.com>
Signed-off-by: Stefan Dösinger <stefandoesinger@gmx.at>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowined3d: Regenerate FFP replacement VS on changes to the normal attribute in the...
Matteo Bruni [Mon, 14 Dec 2015 22:37:53 +0000 (23:37 +0100)]
wined3d: Regenerate FFP replacement VS on changes to the normal attribute in the vertex declaration.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agomsxml3/tests: Fix a stream leak (Valgrind).
Nikolay Sivov [Thu, 31 Dec 2015 09:42:56 +0000 (12:42 +0300)]
msxml3/tests: Fix a stream leak (Valgrind).

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agomsxml3/tests: Fix a minor variant leak (Valgrind).
Nikolay Sivov [Thu, 31 Dec 2015 09:42:55 +0000 (12:42 +0300)]
msxml3/tests: Fix a minor variant leak (Valgrind).

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agomsxml3/tests: Fix some leaks while testing attribute values (Valgrind).
Nikolay Sivov [Thu, 31 Dec 2015 09:42:54 +0000 (12:42 +0300)]
msxml3/tests: Fix some leaks while testing attribute values (Valgrind).

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agouser32: Properly handle WM_DEVICECHANGE in is_pointer_message().
Qian Hong [Wed, 30 Dec 2015 09:13:49 +0000 (17:13 +0800)]
user32: Properly handle WM_DEVICECHANGE in is_pointer_message().

Signed-off-by: Qian Hong <qhong@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoconfigure: Detect MinGW-w64 Clang cross toolchain.
André Hentschel [Wed, 30 Dec 2015 13:28:18 +0000 (14:28 +0100)]
configure: Detect MinGW-w64 Clang cross toolchain.

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoconfigure: Get rid of the prog parameter in WINE_CHECK_MINGW_PROG.
André Hentschel [Wed, 30 Dec 2015 13:27:52 +0000 (14:27 +0100)]
configure: Get rid of the prog parameter in WINE_CHECK_MINGW_PROG.

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agomsxml3: Add missing break for text node case (Valgrind).
Nikolay Sivov [Wed, 30 Dec 2015 11:52:15 +0000 (14:52 +0300)]
msxml3: Add missing break for text node case (Valgrind).

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agomsxml3: Fix cloneNode() for document nodes.
Nikolay Sivov [Wed, 30 Dec 2015 08:47:11 +0000 (11:47 +0300)]
msxml3: Fix cloneNode() for document nodes.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoapi-ms-win-security-lsalookup-l1-1-1: Add dll.
Austin English [Wed, 16 Dec 2015 05:20:50 +0000 (23:20 -0600)]
api-ms-win-security-lsalookup-l1-1-1: Add dll.

Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agondis.sys: Add NdisAllocateMemoryWithTag stub.
Austin English [Wed, 16 Dec 2015 05:56:01 +0000 (23:56 -0600)]
ndis.sys: Add NdisAllocateMemoryWithTag stub.

Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agopdh: Add PdhBindInputDataSourceA/W stubs.
Austin English [Sun, 27 Dec 2015 04:44:02 +0000 (22:44 -0600)]
pdh: Add PdhBindInputDataSourceA/W stubs.

Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowinefile: Use own icon in run dialog.
Jared Smudde [Tue, 29 Dec 2015 19:22:00 +0000 (13:22 -0600)]
winefile: Use own icon in run dialog.

Signed-off-by: Jared Smudde <computerwhiz02@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowinegcc: Sync toolchain detection with winebuild.
André Hentschel [Tue, 29 Dec 2015 23:25:55 +0000 (00:25 +0100)]
winegcc: Sync toolchain detection with winebuild.

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowinebuild: Detect armv* toolchains.
André Hentschel [Tue, 29 Dec 2015 23:25:52 +0000 (00:25 +0100)]
winebuild: Detect armv* toolchains.

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoriched20: Preserve higher bits of tabstop values (Coverity).
Nikolay Sivov [Tue, 29 Dec 2015 21:01:52 +0000 (00:01 +0300)]
riched20: Preserve higher bits of tabstop values (Coverity).

Bits 24-31 are reserved for tab alignment and tab leader style,
writer supports thatl.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agomsacm32.drv: Initialize reserved fields in WAVEINCAPS/WAVEOUTCAPS (Coverity).
Nikolay Sivov [Tue, 29 Dec 2015 20:03:59 +0000 (23:03 +0300)]
msacm32.drv: Initialize reserved fields in WAVEINCAPS/WAVEOUTCAPS (Coverity).

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoriched20: Initialize wEffects field before setting bits in it (Coverity).
Nikolay Sivov [Tue, 29 Dec 2015 19:44:30 +0000 (22:44 +0300)]
riched20: Initialize wEffects field before setting bits in it (Coverity).

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoshlwapi: Implement URL_ESCAPE_AS_UTF8.
Daniel Lehman [Tue, 24 Nov 2015 01:34:24 +0000 (17:34 -0800)]
shlwapi: Implement URL_ESCAPE_AS_UTF8.

Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agouser.exe: Fully convert MSG16 to MSG in IsDialogMessage() (Coverity).
Nikolay Sivov [Tue, 29 Dec 2015 18:36:57 +0000 (21:36 +0300)]
user.exe: Fully convert MSG16 to MSG in IsDialogMessage() (Coverity).

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agocommdlg: Explicitely initialize remaining fields of CHOOSECOLORA (Coverity).
Nikolay Sivov [Tue, 29 Dec 2015 17:52:03 +0000 (20:52 +0300)]
commdlg: Explicitely initialize remaining fields of CHOOSECOLORA (Coverity).

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agooleview: Use proper pointer type when allocating names array (Coverity).
Nikolay Sivov [Tue, 29 Dec 2015 17:36:55 +0000 (20:36 +0300)]
oleview: Use proper pointer type when allocating names array (Coverity).

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