wine/eterwine.git
9 years agoddraw: Mark surfaces as lost when the device window is deactivated.
Henri Verbeet [Fri, 4 Dec 2015 10:30:14 +0000 (11:30 +0100)]
ddraw: Mark surfaces as lost when the device window is deactivated.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoddraw: Return DDERR_NOEXCLUSIVEMODE in ddraw_surface7_Flip() when not in exclusive...
Henri Verbeet [Fri, 4 Dec 2015 10:30:13 +0000 (11:30 +0100)]
ddraw: Return DDERR_NOEXCLUSIVEMODE in ddraw_surface7_Flip() when not in exclusive mode.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowebservices: Add missing break.
Alistair Leslie-Hughes [Fri, 4 Dec 2015 09:55:22 +0000 (20:55 +1100)]
webservices: Add missing break.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowinhttp/tests: Add a test for data returned by IWinHttpRequest::get_ResponseText...
Dmitry Timoshkov [Fri, 4 Dec 2015 09:15:46 +0000 (17:15 +0800)]
winhttp/tests: Add a test for data returned by IWinHttpRequest::get_ResponseText() using an https connection.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowinhttp/tests: Add a test for data returned by IWinHttpRequest::get_ResponseText().
Dmitry Timoshkov [Fri, 4 Dec 2015 09:15:11 +0000 (17:15 +0800)]
winhttp/tests: Add a test for data returned by IWinHttpRequest::get_ResponseText().

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowinhttp/tests: For a secure connection check what WinHttpQueryDataAvailable() returns...
Dmitry Timoshkov [Fri, 4 Dec 2015 09:14:38 +0000 (17:14 +0800)]
winhttp/tests: For a secure connection check what WinHttpQueryDataAvailable() returns as well as first chunk of actual data.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowinhttp/tests: Accept Windows7 return value for WinHttpQueryOption(WINHTTP_OPTION_CON...
Dmitry Timoshkov [Fri, 4 Dec 2015 09:14:05 +0000 (17:14 +0800)]
winhttp/tests: Accept Windows7 return value for WinHttpQueryOption(WINHTTP_OPTION_CONNECTION_INFO).

Windows7 doesn't include the size of info.cbSize field in the returned
'size' value.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agobrowseui: Use defined context kind constant with CoGetMalloc().
Nikolay Sivov [Fri, 4 Dec 2015 09:23:22 +0000 (12:23 +0300)]
browseui: Use defined context kind constant with CoGetMalloc().

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoole32/tests: Some tests for CoGetMalloc().
Nikolay Sivov [Fri, 4 Dec 2015 09:19:26 +0000 (12:19 +0300)]
ole32/tests: Some tests for CoGetMalloc().

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowine.inf: Add HKCR\folder\shellex\ContextMenuHandlers and HKCR\*\shellex\ContextMenuH...
Austin English [Fri, 4 Dec 2015 03:48:41 +0000 (22:48 -0500)]
wine.inf: Add HKCR\folder\shellex\ContextMenuHandlers and HKCR\*\shellex\ContextMenuHandlers keys.

Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowine.inf: Add "HKLM\System\CurrentControlSet\Services\Eventlog\System" key.
Austin English [Thu, 3 Dec 2015 20:04:09 +0000 (14:04 -0600)]
wine.inf: Add "HKLM\System\CurrentControlSet\Services\Eventlog\System" key.

Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowineboot: Remove unused declaration for __wine_make_process_system.
Sebastian Lackner [Fri, 4 Dec 2015 00:28:04 +0000 (01:28 +0100)]
wineboot: Remove unused declaration for __wine_make_process_system.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agouser32: Make sure explorer.exe process is spawned for the correct desktop.
Sebastian Lackner [Fri, 4 Dec 2015 00:19:58 +0000 (01:19 +0100)]
user32: Make sure explorer.exe process is spawned for the correct desktop.

If an invalid combination of winstation/desktop is active for the
current process, the handle inheritance doesn't work, and no desktop is
created.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agouser32/tests: Add test to check ObjectNameInformation for desktop objects.
Sebastian Lackner [Fri, 4 Dec 2015 00:18:51 +0000 (01:18 +0100)]
user32/tests: Add test to check ObjectNameInformation for desktop objects.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoserver: Check winstation visibility in server to avoid race-conditions.
Sebastian Lackner [Fri, 4 Dec 2015 00:17:50 +0000 (01:17 +0100)]
server: Check winstation visibility in server to avoid race-conditions.

GetDesktopWindow incorrectly assumes, that the process window station is
still the same one, which was used earlier when changing the desktop.
By moving the visibility check to wineserver we can also avoid
wineserver roundtrip for invisible desktops.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoshlwapi/tests: Test SHFreeShared with NULL handle.
Olivier F. R. Dierick [Tue, 1 Dec 2015 23:44:20 +0000 (00:44 +0100)]
shlwapi/tests: Test SHFreeShared with NULL handle.

Signed-off-by: Olivier F. R. Dierick <o.dierick@piezo-forte.be>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoshlwapi: SHFreeShared returns TRUE when passed NULL handle.
Olivier F. R. Dierick [Tue, 1 Dec 2015 23:39:12 +0000 (00:39 +0100)]
shlwapi: SHFreeShared returns TRUE when passed NULL handle.

Signed-off-by: Olivier F. R. Dierick <o.dierick@piezo-forte.be>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agopo: Update Simplified Chinese translation.
Boyuan Yang [Thu, 26 Nov 2015 09:38:54 +0000 (17:38 +0800)]
po: Update Simplified Chinese translation.

Signed-off-by: Boyuan Yang <073plan@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoieframe: Fixed tests on some VMs.
Jacek Caban [Thu, 3 Dec 2015 10:46:58 +0000 (11:46 +0100)]
ieframe: Fixed tests on some VMs.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoiexplore: Add 'HKCR\Applications\iexplore.exe\shell\open\command' key.
Austin English [Wed, 2 Dec 2015 18:38:19 +0000 (12:38 -0600)]
iexplore: Add 'HKCR\Applications\iexplore.exe\shell\open\command' key.

Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agontdll/tests: Restore old value in a more context independent way.
Qian Hong [Wed, 2 Dec 2015 16:07:36 +0000 (00:07 +0800)]
ntdll/tests: Restore old value in a more context independent way.

Signed-off-by: Qian Hong <qhong@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agontdll: Silence useless fixme message when handling SIMD floating point invalid operat...
Qian Hong [Wed, 2 Dec 2015 16:07:18 +0000 (00:07 +0800)]
ntdll: Silence useless fixme message when handling SIMD floating point invalid operation exception.

Signed-off-by: Qian Hong <qhong@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agontdll/tests: Add SIMD exception test for floating point invalid operation fault.
Qian Hong [Wed, 2 Dec 2015 16:06:50 +0000 (00:06 +0800)]
ntdll/tests: Add SIMD exception test for floating point invalid operation fault.

Signed-off-by: Qian Hong <qhong@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agooleaut32/tests: Add test for calling method with coclass argument.
Sebastian Lackner [Wed, 2 Dec 2015 23:49:35 +0000 (00:49 +0100)]
oleaut32/tests: Add test for calling method with coclass argument.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowinedbg: Print windows version in system info.
Michael Müller [Wed, 2 Dec 2015 23:20:25 +0000 (00:20 +0100)]
winedbg: Print windows version in system info.

Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agodsound: A version 1 3d secondary buffer allows SetPan().
Michael Stefaniuc [Tue, 1 Dec 2015 13:49:04 +0000 (14:49 +0100)]
dsound: A version 1 3d secondary buffer allows SetPan().

For version 8 DSBCAPS_CTRL3D and DSBCAPS_CTRLPAN are mutually exclusive
and a sound buffer cannot be created when both flags are set.

Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agodsound/tests: Test Pan for 3D secondary buffers too.
Michael Stefaniuc [Tue, 1 Dec 2015 13:48:43 +0000 (14:48 +0100)]
dsound/tests: Test Pan for 3D secondary buffers too.

Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agodsound/tests: Version differences in flag handling for 3d buffers.
Michael Stefaniuc [Tue, 1 Dec 2015 13:47:42 +0000 (14:47 +0100)]
dsound/tests: Version differences in flag handling for 3d buffers.

Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agouser32/tests: Also ignore WM_SYSTIMER messages in input tests.
Alexandre Julliard [Wed, 2 Dec 2015 13:14:39 +0000 (22:14 +0900)]
user32/tests: Also ignore WM_SYSTIMER messages in input tests.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agouser32/tests: Maximized windows can be full-screen in recent Windows.
Alexandre Julliard [Wed, 2 Dec 2015 08:26:53 +0000 (17:26 +0900)]
user32/tests: Maximized windows can be full-screen in recent Windows.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agontdll/tests: Use more reasonable timeouts and avoid long long constants.
Alexandre Julliard [Wed, 2 Dec 2015 08:09:08 +0000 (17:09 +0900)]
ntdll/tests: Use more reasonable timeouts and avoid long long constants.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowinex11: Include raw motion events in the QS_MOUSEMOVE event filter.
Alexandre Julliard [Wed, 2 Dec 2015 06:31:34 +0000 (15:31 +0900)]
winex11: Include raw motion events in the QS_MOUSEMOVE event filter.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoAssorted spelling fixes.
Francois Gouget [Wed, 2 Dec 2015 00:42:31 +0000 (01:42 +0100)]
Assorted spelling fixes.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agocomctl32: Set listview focus in WM_LBUTTONDOWN.
Piotr Caban [Tue, 1 Dec 2015 18:12:41 +0000 (19:12 +0100)]
comctl32: Set listview focus in WM_LBUTTONDOWN.

This patch reverts commit 098dc7b3302f39c5500d644615a6f4c37d328ce0 and
moves focus setting after LVN_ITEMCHANGED notification is sent. Writing
tests for it is tricky because native blocks inside WM_LBUTTONDOWN message.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoieframe: Fixed tests on some VMs.
Jacek Caban [Tue, 1 Dec 2015 17:24:28 +0000 (18:24 +0100)]
ieframe: Fixed tests on some VMs.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoexdisp.idl: Added new DWebBrowserEvents2 members declarations.
Jacek Caban [Tue, 1 Dec 2015 17:24:21 +0000 (18:24 +0100)]
exdisp.idl: Added new DWebBrowserEvents2 members declarations.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoadvapi32: Use proper enum member to initialize SECURITY_IMPERSONATION_LEVEL variable...
Nikolay Sivov [Tue, 1 Dec 2015 16:27:06 +0000 (19:27 +0300)]
advapi32: Use proper enum member to initialize SECURITY_IMPERSONATION_LEVEL variable (Clang).

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agokrnl386.exe16: Skip invalid entries in GetPrivateProfileString16.
Bruno Jesus [Sat, 28 Nov 2015 21:47:38 +0000 (22:47 +0100)]
krnl386.exe16: Skip invalid entries in GetPrivateProfileString16.

Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agouser32/tests: Add tests for VK_SPACE, Shift-Space and Ctrl-Space.
Hugh McMaster [Tue, 1 Dec 2015 10:38:01 +0000 (21:38 +1100)]
user32/tests: Add tests for VK_SPACE, Shift-Space and Ctrl-Space.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowinex11.drv: Ctrl-Space should generate space, not 0.
Hugh McMaster [Tue, 1 Dec 2015 10:38:00 +0000 (21:38 +1100)]
winex11.drv: Ctrl-Space should generate space, not 0.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoddraw/tests: 64-bit ddraw doesn't support textures.
Henri Verbeet [Tue, 1 Dec 2015 10:25:43 +0000 (11:25 +0100)]
ddraw/tests: 64-bit ddraw doesn't support textures.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoddraw/tests: Test color keys on cube map surfaces.
Stefan Dösinger [Mon, 30 Nov 2015 20:06:29 +0000 (21:06 +0100)]
ddraw/tests: Test color keys on cube map surfaces.

Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agokernel32: Also check OS version to detect old binaries in GlobalMemoryStatus.
Alexandre Julliard [Tue, 1 Dec 2015 12:02:19 +0000 (21:02 +0900)]
kernel32: Also check OS version to detect old binaries in GlobalMemoryStatus.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowinex11: Ignore EnterNotify events that are older than the last mouse wrap.
Alexandre Julliard [Tue, 1 Dec 2015 08:42:38 +0000 (17:42 +0900)]
winex11: Ignore EnterNotify events that are older than the last mouse wrap.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowinex11: Add a helper function to check a motion event against the serial number.
Alexandre Julliard [Tue, 1 Dec 2015 08:42:01 +0000 (17:42 +0900)]
winex11: Add a helper function to check a motion event against the serial number.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agooledlg: Replace existing menu item in case of empty object too.
Nikolay Sivov [Tue, 1 Dec 2015 01:13:38 +0000 (04:13 +0300)]
oledlg: Replace existing menu item in case of empty object too.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowinemac: Don't post a WINDOW_BROUGHT_FORWARD event for a click on a window which...
Ken Thomases [Tue, 1 Dec 2015 02:10:32 +0000 (20:10 -0600)]
winemac: Don't post a WINDOW_BROUGHT_FORWARD event for a click on a window which is already frontmost in its level.

Commit 793ab7d45 fixed a bug where WINDOW_BROUGHT_FORWARD events weren't being
posted when they should, but it caused a regression in Scribblenauts Unlimited.
Every click caused a window ordering operation that generated messages and
Scribblenauts would move the mouse cursor to the upper-left corner of the
window in response.

Signed-off-by: Ken Thomases <ken@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowinemac: Remove a window from the NSWorkspace notification center when it's deallocated.
Ken Thomases [Mon, 30 Nov 2015 20:34:59 +0000 (14:34 -0600)]
winemac: Remove a window from the NSWorkspace notification center when it's deallocated.

It was added as an observer in commit 3beec95a0.  Failing to remove it caused
the notification center to have a dangling pointer and caused crashes and hangs.

Signed-off-by: Ken Thomases <ken@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agooleaut32/tests: Some tests for SafeArrayDestroyData().
Nikolay Sivov [Mon, 30 Nov 2015 20:28:44 +0000 (23:28 +0300)]
oleaut32/tests: Some tests for SafeArrayDestroyData().

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agomsacm32/tests: Add more acmStreamPrepareHeader tests.
Bruno Jesus [Fri, 27 Nov 2015 13:10:04 +0000 (21:10 +0800)]
msacm32/tests: Add more acmStreamPrepareHeader tests.

Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowined3d: Handle D3DRS_SRGBWRITEENABLE in clears when ARB_framebuffer_sRGB is not...
Matteo Bruni [Fri, 27 Nov 2015 19:39:36 +0000 (20:39 +0100)]
wined3d: Handle D3DRS_SRGBWRITEENABLE in clears when ARB_framebuffer_sRGB is not supported.

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 agowined3d: Respect D3DRS_SRGBWRITEENABLE in clears.
Matteo Bruni [Fri, 27 Nov 2015 19:39:35 +0000 (20:39 +0100)]
wined3d: Respect D3DRS_SRGBWRITEENABLE in clears.

This only handles the case where ARB_framebuffer_sRGB and
EXT_texture_sRGB_decode are supported by the GL 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>
9 years agoinclude: Add missing D3DPMISCCAPS_POSTBLENDSRGBCONVERT flag.
Matteo Bruni [Fri, 27 Nov 2015 19:39:34 +0000 (20:39 +0100)]
include: Add missing D3DPMISCCAPS_POSTBLENDSRGBCONVERT flag.

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 agowined3d: Add ARB_ES2_COMPATIBILITY entry to the core extensions table.
Matteo Bruni [Fri, 27 Nov 2015 19:39:33 +0000 (20:39 +0100)]
wined3d: Add ARB_ES2_COMPATIBILITY entry to the core extensions table.

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 agowined3d: Flush the GL context before switching away from it.
Matteo Bruni [Fri, 27 Nov 2015 19:39:31 +0000 (20:39 +0100)]
wined3d: Flush the GL context before switching away from it.

We might end up not using the old context anymore after that and the GL
implementation is allowed to delay executing commands indefinitely if we
don't flush.

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 agokernel32: Replace NULL argument with pointer to DWORD.
Hugh McMaster [Mon, 30 Nov 2015 08:08:42 +0000 (19:08 +1100)]
kernel32: Replace NULL argument with pointer to DWORD.

On Windows, passing in NULL can cause a memory access violation.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoloader: Fix a typo and improve a sentence in wine.man.in.
Hugh McMaster [Mon, 30 Nov 2015 08:51:55 +0000 (19:51 +1100)]
loader: Fix a typo and improve a sentence in wine.man.in.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoRevert "user.exe: Release the Win16 lock due to loading 32-bit dlls in CreateWindow."
Alexandre Julliard [Mon, 30 Nov 2015 12:04:47 +0000 (21:04 +0900)]
Revert "user.exe: Release the Win16 lock due to loading 32-bit dlls in CreateWindow."

This reverts commit 9ac7bca209e1b11af898d1b393d13c8dc92c66e1.
The bug has now been fixed in winoldap instead.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowinoldapp: Grab the Win16 lock again before exiting.
Alexandre Julliard [Mon, 30 Nov 2015 12:04:16 +0000 (21:04 +0900)]
winoldapp: Grab the Win16 lock again before exiting.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoieframe: Don't release the advise sink in IOleObject::SetClientSite.
Hans Leidekker [Mon, 30 Nov 2015 09:48:04 +0000 (10:48 +0100)]
ieframe: Don't release the advise sink in IOleObject::SetClientSite.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowidl: Fixup the defaultvalue(BSTR) expression type like midl does.
Dmitry Timoshkov [Fri, 27 Nov 2015 10:00:27 +0000 (18:00 +0800)]
widl: Fixup the defaultvalue(BSTR) expression type like midl does.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoriched20/tests: Test EM_REPLACESEL with rtf stream.
Jactry Zeng [Fri, 27 Nov 2015 08:44:20 +0000 (16:44 +0800)]
riched20/tests: Test EM_REPLACESEL with rtf stream.

Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agouser32: Avoid shift overflow in nulldrv_GetKeyboardLayoutList.
Gerald Pfeifer [Sat, 28 Nov 2015 21:54:52 +0000 (22:54 +0100)]
user32: Avoid shift overflow in nulldrv_GetKeyboardLayoutList.

Signed-off-by: Gerald Pfeifer <gerald@pfeifer.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agokrnl386.exe16: Avoid shift overflows in DMA_ioport_out.
Gerald Pfeifer [Sat, 28 Nov 2015 21:51:18 +0000 (22:51 +0100)]
krnl386.exe16: Avoid shift overflows in DMA_ioport_out.

Signed-off-by: Gerald Pfeifer <gerald@pfeifer.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agooleaut32: Simplify 'for' loop.
Dmitry Timoshkov [Mon, 30 Nov 2015 04:26:33 +0000 (12:26 +0800)]
oleaut32: Simplify 'for' loop.

Variable 'i' is not used neither in the loop nor at its end.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agomaintainers: Add section for timezone database.
Sebastian Lackner [Sat, 28 Nov 2015 21:00:45 +0000 (22:00 +0100)]
maintainers: Add section for timezone database.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowine.inf: Add information for delayed end of DST in Europe/Istanbul.
Sebastian Lackner [Sat, 28 Nov 2015 21:00:28 +0000 (22:00 +0100)]
wine.inf: Add information for delayed end of DST in Europe/Istanbul.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agokernel32/tests: Add tests for committing stack guard pages.
Sebastian Lackner [Sat, 28 Nov 2015 20:28:48 +0000 (21:28 +0100)]
kernel32/tests: Add tests for committing stack guard pages.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agontdll: Commit new guard pages in virtual_handle_stack_fault.
Sebastian Lackner [Sat, 28 Nov 2015 20:28:26 +0000 (21:28 +0100)]
ntdll: Commit new guard pages in virtual_handle_stack_fault.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agod3dx9: Don't take the fastpath when converting between texture formats of different...
Matteo Bruni [Fri, 27 Nov 2015 19:39:32 +0000 (20:39 +0100)]
d3dx9: Don't take the fastpath when converting between texture formats of different type.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agomsctf: Add a partial implementation of ITfThreadMgrEx_ActivateEx().
Matteo Bruni [Fri, 27 Nov 2015 19:39:30 +0000 (20:39 +0100)]
msctf: Add a partial implementation of ITfThreadMgrEx_ActivateEx().

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoodbc32: Fix SQLBindCol prototype.
Nikolay Sivov [Sat, 28 Nov 2015 22:26:37 +0000 (01:26 +0300)]
odbc32: Fix SQLBindCol prototype.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoavifil32: Use __ms_va* varargs variant for AVISave[A,W].
Nikolay Sivov [Sat, 28 Nov 2015 18:24:54 +0000 (21:24 +0300)]
avifil32: Use __ms_va* varargs variant for AVISave[A,W].

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agontoskrnl.exe: Fix specfile entry for MmMapIoSpace.
Sebastian Lackner [Sat, 28 Nov 2015 05:19:20 +0000 (06:19 +0100)]
ntoskrnl.exe: Fix specfile entry for MmMapIoSpace.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agomsvcrt: Fix specfile entry for $I10_OUTPUT and _wcstod_l.
Sebastian Lackner [Sat, 28 Nov 2015 05:07:50 +0000 (06:07 +0100)]
msvcrt: Fix specfile entry for $I10_OUTPUT and _wcstod_l.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowined3d: Fix specfile entry for wined3d_swapchain_get_back_buffer.
Sebastian Lackner [Sat, 28 Nov 2015 05:06:27 +0000 (06:06 +0100)]
wined3d: Fix specfile entry for wined3d_swapchain_get_back_buffer.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowinemac.drv: Fix specfile entry for ImeGetRegisterWordStyle.
Sebastian Lackner [Sat, 28 Nov 2015 05:05:20 +0000 (06:05 +0100)]
winemac.drv: Fix specfile entry for ImeGetRegisterWordStyle.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Ken Thomases <ken@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowinex11.drv: Fix specfile entry for X11DRV_ScrollDC.
Sebastian Lackner [Sat, 28 Nov 2015 05:04:04 +0000 (06:04 +0100)]
winex11.drv: Fix specfile entry for X11DRV_ScrollDC.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agousp10: Remove unused helper (Clang).
Nikolay Sivov [Fri, 27 Nov 2015 18:51:59 +0000 (21:51 +0300)]
usp10: Remove unused helper (Clang).

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoRelease 1.8-rc2.
Alexandre Julliard [Fri, 27 Nov 2015 14:18:47 +0000 (23:18 +0900)]
Release 1.8-rc2.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoieframe: Silence some noisy FIXMEs.
Jacek Caban [Fri, 27 Nov 2015 10:50:12 +0000 (11:50 +0100)]
ieframe: Silence some noisy FIXMEs.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agokernel32/tests: Add tests for GetDriveType with invalid drive spec.
Joachim Priesner [Thu, 26 Nov 2015 22:49:39 +0000 (23:49 +0100)]
kernel32/tests: Add tests for GetDriveType with invalid drive spec.

Signed-off-by: Joachim Priesner <joachim.priesner@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agontdll: Remove unused helper (Clang).
Nikolay Sivov [Fri, 27 Nov 2015 08:57:49 +0000 (11:57 +0300)]
ntdll: Remove unused helper (Clang).

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agod3dx9: Use proper enum member (Clang).
Nikolay Sivov [Fri, 27 Nov 2015 08:53:59 +0000 (11:53 +0300)]
d3dx9: Use proper enum member (Clang).

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowinex11: Flush the output of a flushed surface right away.
Alexandre Julliard [Fri, 27 Nov 2015 09:47:01 +0000 (18:47 +0900)]
winex11: Flush the output of a flushed surface right away.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agogdi32: Periodically flush a window surface if the app is continuously painting.
Alexandre Julliard [Fri, 27 Nov 2015 09:46:43 +0000 (18:46 +0900)]
gdi32: Periodically flush a window surface if the app is continuously painting.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agotapi32: Simplify the logic in an if condition.
Sergey Isakov [Fri, 27 Nov 2015 04:12:30 +0000 (07:12 +0300)]
tapi32: Simplify the logic in an if condition.

Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agomsi/tests: Simplify the logic in an if condition.
Sergey Isakov [Fri, 27 Nov 2015 04:11:59 +0000 (07:11 +0300)]
msi/tests: Simplify the logic in an if condition.

Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoprogman: Fix GROUP_AddGroup() declaration.
Andrey Gusev [Thu, 26 Nov 2015 23:00:59 +0000 (01:00 +0200)]
progman: Fix GROUP_AddGroup() declaration.

Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoAssorted typos fixes.
Andrey Gusev [Thu, 26 Nov 2015 22:23:09 +0000 (00:23 +0200)]
Assorted typos fixes.

Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agows2_32/tests: Don't test function directly when reporting WSAGetLastError().
André Hentschel [Thu, 26 Nov 2015 22:04:53 +0000 (23:04 +0100)]
ws2_32/tests: Don't test function directly when reporting WSAGetLastError().

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agogdiplus/tests: Fix build with MSVC.
Thomas Faber [Thu, 26 Nov 2015 16:34:49 +0000 (17:34 +0100)]
gdiplus/tests: Fix build with MSVC.

VC 2010 can't initialize a structure with a structure.

Signed-off-by: Thomas Faber <thomas.faber@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agontdll/tests: Fix build with PSDK headers.
Thomas Faber [Tue, 24 Nov 2015 16:52:28 +0000 (17:52 +0100)]
ntdll/tests: Fix build with PSDK headers.

CRITICAL_SECTION is distinct from RTL_CRITICAL_SECTION in PSDK.

Signed-off-by: Thomas Faber <thomas.faber@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agooleaut32: Grow the marshalling buffer exponentially.
Dmitry Timoshkov [Thu, 26 Nov 2015 06:52:03 +0000 (14:52 +0800)]
oleaut32: Grow the marshalling buffer exponentially.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agopo: Update Catalan translation.
Alex Henrie [Thu, 26 Nov 2015 03:04:21 +0000 (20:04 -0700)]
po: Update Catalan translation.

Includes suggestions from Jordi Mas of Softcatalà.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agows2_32/tests: Ensure we have more than one IP to test gethostbyname.
Bruno Jesus [Thu, 26 Nov 2015 05:22:12 +0000 (13:22 +0800)]
ws2_32/tests: Ensure we have more than one IP to test gethostbyname.

Sebastian called my attention about his machine that has a single IP and
make test fails. In such cases it is safe to assume that the IP returned
is the default route so the test is meaningless in this situation.

Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoregedit: Need 3 bytes of room at end of buffer for \r\n\0 to avoid endless loop.
Jiaxing Wang [Thu, 26 Nov 2015 04:22:40 +0000 (05:22 +0100)]
regedit: Need 3 bytes of room at end of buffer for \r\n\0 to avoid endless loop.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agogdi32: Add check for NULL pointer in dibdrv_wglDescribePixelFormat.
Sebastian Lackner [Thu, 26 Nov 2015 04:09:53 +0000 (05:09 +0100)]
gdi32: Add check for NULL pointer in dibdrv_wglDescribePixelFormat.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agokernel32/tests: Avoid busy-looping in APC deadlock tests.
Sebastian Lackner [Thu, 26 Nov 2015 00:46:39 +0000 (01:46 +0100)]
kernel32/tests: Avoid busy-looping in APC deadlock tests.

Spotted by Amine Khaldi.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agokernel32/tests: Add tests for calling wait functions with pseudo handles.
Sebastian Lackner [Thu, 26 Nov 2015 00:46:24 +0000 (01:46 +0100)]
kernel32/tests: Add tests for calling wait functions with pseudo handles.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>