wine-orson.git
6 years agoRelease 3.0-rc5. wine-3.0-rc5
Alexandre Julliard [Fri, 5 Jan 2018 19:59:29 +0000 (20:59 +0100)]
Release 3.0-rc5.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agouser32: Add more CB_SETCURSEL tests on ComboBox.
Piotr Caban [Fri, 5 Jan 2018 18:25:46 +0000 (19:25 +0100)]
user32: Add more CB_SETCURSEL tests on ComboBox.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agouser32: Redraw combo text field even if it's empty.
Piotr Caban [Fri, 5 Jan 2018 18:25:33 +0000 (19:25 +0100)]
user32: Redraw combo text field even if it's empty.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agouser32: Let ComboBox edit control handle the redraw even if CBF_NOREDRAW is set.
Piotr Caban [Fri, 5 Jan 2018 18:25:20 +0000 (19:25 +0100)]
user32: Let ComboBox edit control handle the redraw even if CBF_NOREDRAW is set.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoddraw/tests: Add another invalid arguments test for surface QI.
Nikolay Sivov [Fri, 5 Jan 2018 15:50:40 +0000 (18:50 +0300)]
ddraw/tests: Add another invalid arguments test for surface QI.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoddraw/tests: Add a depth read-back test.
Henri Verbeet [Fri, 5 Jan 2018 17:53:13 +0000 (18:53 +0100)]
ddraw/tests: Add a depth read-back test.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowined3d: Add a download function for WINED3DFMT_X8D24_UNORM.
Henri Verbeet [Fri, 5 Jan 2018 17:53:12 +0000 (18:53 +0100)]
wined3d: Add a download function for WINED3DFMT_X8D24_UNORM.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomsvcr90/tests: Make test__vsnwprintf() static.
Francois Gouget [Thu, 4 Jan 2018 14:56:07 +0000 (15:56 +0100)]
msvcr90/tests: Make test__vsnwprintf() static.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomsvcrt: Don't include MSVC 7.1+ purecall functions in SOs for older DLLs.
Alex Henrie [Thu, 4 Jan 2018 04:33:03 +0000 (21:33 -0700)]
msvcrt: Don't include MSVC 7.1+ purecall functions in SOs for older DLLs.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomsvcrt: Don't include MSVC 8.0+ time functions in SOs for older DLLs.
Alex Henrie [Thu, 4 Jan 2018 04:33:02 +0000 (21:33 -0700)]
msvcrt: Don't include MSVC 8.0+ time functions in SOs for older DLLs.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomsvcrt: Don't include MSVC 8.0+ locale functions in SOs for older DLLs.
Alex Henrie [Thu, 4 Jan 2018 04:33:01 +0000 (21:33 -0700)]
msvcrt: Don't include MSVC 8.0+ locale functions in SOs for older DLLs.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomsvcrt: Don't include MSVC 8.0+ file functions in SOs for older DLLs.
Alex Henrie [Thu, 4 Jan 2018 04:33:00 +0000 (21:33 -0700)]
msvcrt: Don't include MSVC 8.0+ file functions in SOs for older DLLs.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomsvcrt: Don't include MSVC 8.0+ error functions in SOs for older DLLs.
Alex Henrie [Thu, 4 Jan 2018 04:32:59 +0000 (21:32 -0700)]
msvcrt: Don't include MSVC 8.0+ error functions in SOs for older DLLs.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomsvcrt: Don't include MSVC 8.0+ C++ functions in SOs for older DLLs.
Alex Henrie [Thu, 4 Jan 2018 04:32:58 +0000 (21:32 -0700)]
msvcrt: Don't include MSVC 8.0+ C++ functions in SOs for older DLLs.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowininet/tests: Fix resource leak.
Andrey Gusev [Fri, 5 Jan 2018 12:38:37 +0000 (14:38 +0200)]
wininet/tests: Fix resource leak.

Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowinhttp/tests: Fix resource leak.
Andrey Gusev [Fri, 5 Jan 2018 12:38:11 +0000 (14:38 +0200)]
winhttp/tests: Fix resource leak.

Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomshtml/tests: Remove null check after dereference (Coverity).
Nikolay Sivov [Fri, 5 Jan 2018 11:38:57 +0000 (14:38 +0300)]
mshtml/tests: Remove null check after dereference (Coverity).

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomshtml/tests: Test document stream creation failure (Coverity).
Nikolay Sivov [Fri, 5 Jan 2018 11:38:56 +0000 (14:38 +0300)]
mshtml/tests: Test document stream creation failure (Coverity).

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomshtml/tests: Add a trailing '\n' to ok() calls.
Alex Henrie [Fri, 5 Jan 2018 05:02:30 +0000 (22:02 -0700)]
mshtml/tests: Add a trailing '\n' to ok() calls.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agooleaut32/tests: Test more return values.
Nikolay Sivov [Fri, 5 Jan 2018 11:25:11 +0000 (14:25 +0300)]
oleaut32/tests: Test more return values.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoshell32/tests: Fix resource leak.
Andrey Gusev [Fri, 5 Jan 2018 13:23:26 +0000 (15:23 +0200)]
shell32/tests: Fix resource leak.

Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agouser32/tests: Fix resource leak.
Andrey Gusev [Fri, 5 Jan 2018 12:37:28 +0000 (14:37 +0200)]
user32/tests: Fix resource leak.

Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomshtml: Make IEventTarget_{add,remove}EventListener_hook() static.
Francois Gouget [Thu, 4 Jan 2018 14:57:55 +0000 (15:57 +0100)]
mshtml: Make IEventTarget_{add,remove}EventListener_hook() static.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomshtml/tests: Fix typos in a few comments.
Francois Gouget [Thu, 4 Jan 2018 14:57:22 +0000 (15:57 +0100)]
mshtml/tests: Fix typos in a few comments.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoole32: Rename entry_updatable() to its more common spelling.
Francois Gouget [Thu, 4 Jan 2018 14:55:48 +0000 (15:55 +0100)]
ole32: Rename entry_updatable() to its more common spelling.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agontdll: Fix source/destination confusion in vsscanf.
Alexandre Julliard [Fri, 5 Jan 2018 15:09:30 +0000 (16:09 +0100)]
ntdll: Fix source/destination confusion in vsscanf.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowtsapi32: Fix copy/paste error in comment.
Louis Lenders [Thu, 4 Jan 2018 09:10:00 +0000 (10:10 +0100)]
wtsapi32: Fix copy/paste error in comment.

Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agogameux/tests: Add a trailing '\n' to an ok() call.
Alex Henrie [Fri, 5 Jan 2018 05:01:48 +0000 (22:01 -0700)]
gameux/tests: Add a trailing '\n' to an ok() call.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowebservices/tests: Fix resource leak.
Andrey Gusev [Thu, 4 Jan 2018 17:10:45 +0000 (19:10 +0200)]
webservices/tests: Fix resource leak.

Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowinex11: Escape non-UTF-8 characters in string literals.
Alex Henrie [Thu, 4 Jan 2018 14:30:50 +0000 (07:30 -0700)]
winex11: Escape non-UTF-8 characters in string literals.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomsvcrt: _Gettnames() should respect user overrides.
Zebediah Figura [Wed, 3 Jan 2018 17:52:47 +0000 (11:52 -0600)]
msvcrt: _Gettnames() should respect user overrides.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agosapi: Make some impl_from_Xxx() functions static.
Francois Gouget [Thu, 4 Jan 2018 14:55:11 +0000 (15:55 +0100)]
sapi: Make some impl_from_Xxx() functions static.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agotwain_32: Make userselect_dlgproc() static.
Francois Gouget [Thu, 4 Jan 2018 14:56:00 +0000 (15:56 +0100)]
twain_32: Make userselect_dlgproc() static.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agogdiplus/tests: Add a trailing '\n' to ok() calls.
Francois Gouget [Thu, 4 Jan 2018 14:58:51 +0000 (15:58 +0100)]
gdiplus/tests: Add a trailing '\n' to ok() calls.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoglu32: A couple of spelling fixes in comments.
Francois Gouget [Thu, 4 Jan 2018 15:00:04 +0000 (16:00 +0100)]
glu32: A couple of spelling fixes in comments.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomlang/tests: Add a trailing '\n' to ok() calls.
Francois Gouget [Thu, 4 Jan 2018 14:58:40 +0000 (15:58 +0100)]
mlang/tests: Add a trailing '\n' to ok() calls.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agocomctl32/tests: Make test_combo_WS_VSCROLL() static.
Francois Gouget [Thu, 4 Jan 2018 14:58:17 +0000 (15:58 +0100)]
comctl32/tests: Make test_combo_WS_VSCROLL() static.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agocomctl32/tests: Make run_test_() static.
Francois Gouget [Thu, 4 Jan 2018 14:58:09 +0000 (15:58 +0100)]
comctl32/tests: Make run_test_() static.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agouser32/tests: Make test_WS_VSCROLL() static.
Francois Gouget [Thu, 4 Jan 2018 14:54:46 +0000 (15:54 +0100)]
user32/tests: Make test_WS_VSCROLL() static.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoshell32: Make some strings static constants.
Nikolay Sivov [Thu, 4 Jan 2018 12:02:48 +0000 (15:02 +0300)]
shell32: Make some strings static constants.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoRevert "msi: Store the current script in the package."
Hans Leidekker [Thu, 4 Jan 2018 11:58:43 +0000 (12:58 +0100)]
Revert "msi: Store the current script in the package."

Commit 036f007e241b95498964c53365300a3332a92c5a (which reverts
86bc556f9fd4a964cbaa66bc1fd67e4603ecd450) is not sufficient to
fix the Office installers because MsiGetMode(MSIRUNMODE_SCHEDULED)
no longer does the right thing after the revert.

That is caused by "msi: Store the current script in the package.",
which, in hindsight, should have been part of the first commit.

This reverts e1e668d41fce1dbd0270cd9de0d880a236ddb869.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoinclude: Add RtlCompareMemory declaration to winnt.h.
Stefan Leichter [Thu, 4 Jan 2018 11:15:17 +0000 (12:15 +0100)]
include: Add RtlCompareMemory declaration to winnt.h.

Signed-off-by: Stefan Leichter <sle85276@gmx.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agontdll/tests: Fix resource leak.
Andrey Gusev [Thu, 4 Jan 2018 09:22:52 +0000 (11:22 +0200)]
ntdll/tests: Fix resource leak.

Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agows2_32/tests: Initialize bytesReturned to 123456 before a failing test.
Alex Henrie [Thu, 4 Jan 2018 05:33:31 +0000 (22:33 -0700)]
ws2_32/tests: Initialize bytesReturned to 123456 before a failing test.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agows2_32/tests: Drop socket test workarounds for Windows <= 2000.
Alex Henrie [Thu, 4 Jan 2018 05:33:30 +0000 (22:33 -0700)]
ws2_32/tests: Drop socket test workarounds for Windows <= 2000.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agooledb32/tests: Add DataConvert DBTYPE_BSTR->DBTYPE_DBTIMESTAMP test.
Alistair Leslie-Hughes [Thu, 4 Jan 2018 03:34:00 +0000 (03:34 +0000)]
oledb32/tests: Add DataConvert DBTYPE_BSTR->DBTYPE_DBTIMESTAMP test.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoadvapi: Fix return value for QueryServiceConfig2W.
Andrew Eikum [Wed, 3 Jan 2018 19:57:58 +0000 (13:57 -0600)]
advapi: Fix return value for QueryServiceConfig2W.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3dx9/tests: Use true spherical light values and relax expectations.
Alex Henrie [Tue, 2 Jan 2018 04:50:32 +0000 (21:50 -0700)]
d3dx9/tests: Use true spherical light values and relax expectations.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agovbscript/tests: Fix first-day-of-week test on mixed locales.
Alex Henrie [Mon, 1 Jan 2018 02:20:53 +0000 (19:20 -0700)]
vbscript/tests: Fix first-day-of-week test on mixed locales.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomsvcrt: Don't include MSVC 8.0+ environment functions in SOs for older DLLs.
Alex Henrie [Wed, 3 Jan 2018 08:11:44 +0000 (01:11 -0700)]
msvcrt: Don't include MSVC 8.0+ environment functions in SOs for older DLLs.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomsvcrt: Don't include MSVC 14.0 console functions in SOs for older DLLs.
Alex Henrie [Wed, 3 Jan 2018 08:07:41 +0000 (01:07 -0700)]
msvcrt: Don't include MSVC 14.0 console functions in SOs for older DLLs.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomsvcrt: Fix _wcstod_l specfile entries.
Alex Henrie [Wed, 3 Jan 2018 08:07:40 +0000 (01:07 -0700)]
msvcrt: Fix _wcstod_l specfile entries.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agouser32/tests: Fix resource leak.
Andrey Gusev [Wed, 3 Jan 2018 15:36:03 +0000 (17:36 +0200)]
user32/tests: Fix resource leak.

Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agokernel32/tests: Fix resource leak.
Andrey Gusev [Wed, 3 Jan 2018 15:35:17 +0000 (17:35 +0200)]
kernel32/tests: Fix resource leak.

Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomsvcr100/tests: Fix resource leak.
Andrey Gusev [Wed, 3 Jan 2018 15:35:39 +0000 (17:35 +0200)]
msvcr100/tests: Fix resource leak.

Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3d9/tests: Introduce a test for vertex buffer map synchronisation.
Henri Verbeet [Wed, 3 Jan 2018 15:06:59 +0000 (16:06 +0100)]
d3d9/tests: Introduce a test for vertex buffer map synchronisation.

Based on a patch by Patrick Rudolph from a while ago.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3d8/tests: Introduce a test for vertex buffer map synchronisation.
Henri Verbeet [Wed, 3 Jan 2018 15:06:58 +0000 (16:06 +0100)]
d3d8/tests: Introduce a test for vertex buffer map synchronisation.

Based on a patch by Patrick Rudolph from a while ago. Thanks to Stefan
Dösinger for making this test work with AMD drivers.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoddraw/tests: Introduce a test for vertex buffer map synchronisation.
Henri Verbeet [Wed, 3 Jan 2018 15:06:57 +0000 (16:06 +0100)]
ddraw/tests: Introduce a test for vertex buffer map synchronisation.

Based on a patch by Patrick Rudolph from a while ago.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoddraw: Only respect DDLOCK_NOOVERWRITE and DDLOCK_DISCARDCONTENTS on version 7 vertex...
Henri Verbeet [Wed, 3 Jan 2018 15:06:56 +0000 (16:06 +0100)]
ddraw: Only respect DDLOCK_NOOVERWRITE and DDLOCK_DISCARDCONTENTS on version 7 vertex buffers.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowined3d: Ignore WINED3D_MAP_DISCARD when used together with WINED3D_MAP_NOOVERWRITE.
Henri Verbeet [Wed, 3 Jan 2018 15:06:55 +0000 (16:06 +0100)]
wined3d: Ignore WINED3D_MAP_DISCARD when used together with WINED3D_MAP_NOOVERWRITE.

This fixes a performance issue exposed by commit
afb2aa2512d4c5ffa7256ce5137bc2c142a5d065.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowinhttp/tests: Remove redundant comparison.
Andrey Gusev [Tue, 26 Dec 2017 11:09:42 +0000 (13:09 +0200)]
winhttp/tests: Remove redundant comparison.

Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowineandroid: Add permission for accessing external storage.
Alexandre Julliard [Wed, 3 Jan 2018 09:24:36 +0000 (10:24 +0100)]
wineandroid: Add permission for accessing external storage.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agooledb32: Silence interfaces for IDataSourceLocator QI.
Alistair Leslie-Hughes [Wed, 3 Jan 2018 04:21:53 +0000 (04:21 +0000)]
oledb32: Silence interfaces for IDataSourceLocator QI.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agooledb32: Coerce Variant to VT_DATE when converting data.
Alistair Leslie-Hughes [Tue, 2 Jan 2018 23:49:32 +0000 (23:49 +0000)]
oledb32: Coerce Variant to VT_DATE when converting data.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agopo: Portuguese translation update.
Fernando M C Martins [Wed, 3 Jan 2018 09:23:03 +0000 (10:23 +0100)]
po: Portuguese translation update.

Signed-off-by: Fernando M C Martins <fernando@cmartins.nl>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoddraw/tests: Mark GetDC() failures on VMware as broken.
Alex Henrie [Tue, 2 Jan 2018 15:28:12 +0000 (16:28 +0100)]
ddraw/tests: Mark GetDC() failures on VMware as broken.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3d8/tests: Use the available ARRAY_SIZE() macro.
Michael Stefaniuc [Thu, 28 Dec 2017 18:30:35 +0000 (19:30 +0100)]
d3d8/tests: Use the available ARRAY_SIZE() macro.

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoglu32: Don't cast return value from HeapAlloc.
André Hentschel [Tue, 2 Jan 2018 11:54:26 +0000 (12:54 +0100)]
glu32: Don't cast return value from HeapAlloc.

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoshell32: Don't cast return value from DPA_GetPtr.
André Hentschel [Tue, 2 Jan 2018 11:54:21 +0000 (12:54 +0100)]
shell32: Don't cast return value from DPA_GetPtr.

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoadvapi32/tests: Don't cast return value from HeapAlloc.
André Hentschel [Tue, 2 Jan 2018 11:54:11 +0000 (12:54 +0100)]
advapi32/tests: Don't cast return value from HeapAlloc.

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomsvcrt: Don't include MSVC 8.0+ string functions in SOs for older DLLs.
Alex Henrie [Thu, 28 Dec 2017 17:46:54 +0000 (10:46 -0700)]
msvcrt: Don't include MSVC 8.0+ string functions in SOs for older DLLs.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomsvcrt: Don't include MSVC 8.0+ heap functions in SOs for older DLLs.
Alex Henrie [Thu, 28 Dec 2017 17:46:53 +0000 (10:46 -0700)]
msvcrt: Don't include MSVC 8.0+ heap functions in SOs for older DLLs.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomshtml: Don't dispatch load event if document is already detached from its window.
Jacek Caban [Tue, 2 Jan 2018 14:07:07 +0000 (15:07 +0100)]
mshtml: Don't dispatch load event if document is already detached from its window.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoserver: Pass proper async object to queue_irp in device_file_flush.
Jacek Caban [Tue, 2 Jan 2018 12:56:54 +0000 (13:56 +0100)]
server: Pass proper async object to queue_irp in device_file_flush.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoregedit/tests: Get rid of version check.
Alexandre Julliard [Tue, 2 Jan 2018 14:22:16 +0000 (15:22 +0100)]
regedit/tests: Get rid of version check.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoreg/tests: Get rid of version check.
Alexandre Julliard [Tue, 2 Jan 2018 14:11:04 +0000 (15:11 +0100)]
reg/tests: Get rid of version check.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agontdll: Don't set floating point registers from initial context.
Alexandre Julliard [Tue, 2 Jan 2018 12:25:50 +0000 (13:25 +0100)]
ntdll: Don't set floating point registers from initial context.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoadvapi32/tests: Skip tests modifying HKLM if limited.
Zebediah Figura [Tue, 2 Jan 2018 06:34:35 +0000 (00:34 -0600)]
advapi32/tests: Skip tests modifying HKLM if limited.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agokernel32/tests: Update product type test.
Zebediah Figura [Tue, 2 Jan 2018 06:34:11 +0000 (00:34 -0600)]
kernel32/tests: Update product type test.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agompr/tests: Fix drive search loop.
Zebediah Figura [Tue, 2 Jan 2018 06:33:48 +0000 (00:33 -0600)]
mpr/tests: Fix drive search loop.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agouser32/tests: Add missing return value test (Coverity).
Nikolay Sivov [Mon, 1 Jan 2018 14:56:41 +0000 (17:56 +0300)]
user32/tests: Add missing return value test (Coverity).

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agopsapi/tests: Increase GetPerformanceInfo error margins for Windows 8.
Alex Henrie [Mon, 1 Jan 2018 02:21:15 +0000 (19:21 -0700)]
psapi/tests: Increase GetPerformanceInfo error margins for Windows 8.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agopo: Fix Catalan spelling and grammar (Softcatalà quality check).
Alex Henrie [Mon, 1 Jan 2018 02:20:08 +0000 (19:20 -0700)]
po: Fix Catalan spelling and grammar (Softcatalà quality check).

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agopo: Update Swedish translation.
Anders Jonsson [Sun, 31 Dec 2017 00:33:41 +0000 (01:33 +0100)]
po: Update Swedish translation.

Signed-off-by: Anders Jonsson <anders.jonsson@norsjovallen.se>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowsdapi/tests: Don't test function directly when reporting WSAGetLastError().
André Hentschel [Sat, 30 Dec 2017 18:59:38 +0000 (19:59 +0100)]
wsdapi/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>
6 years agomsvcrt/tests: Don't test function directly when reporting GetLastError().
André Hentschel [Sat, 30 Dec 2017 18:58:04 +0000 (19:58 +0100)]
msvcrt/tests: Don't test function directly when reporting GetLastError().

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoinetcomm/tests: Don't test function directly when reporting GetLastError().
André Hentschel [Sat, 30 Dec 2017 18:58:00 +0000 (19:58 +0100)]
inetcomm/tests: Don't test function directly when reporting GetLastError().

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agokernel32/tests: Don't test functions directly when reporting GetLastError().
André Hentschel [Sat, 30 Dec 2017 18:57:58 +0000 (19:57 +0100)]
kernel32/tests: Don't test functions directly when reporting GetLastError().

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoshell32/tests: Don't test functions directly when reporting GetLastError().
André Hentschel [Sat, 30 Dec 2017 18:57:54 +0000 (19:57 +0100)]
shell32/tests: Don't test functions directly when reporting GetLastError().

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoshell32/tests: Don't test functions directly when reporting DdeGetLastError().
André Hentschel [Sat, 30 Dec 2017 18:57:47 +0000 (19:57 +0100)]
shell32/tests: Don't test functions directly when reporting DdeGetLastError().

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowsdapi: Fix WSDXMLGetValueFromAny spec file entry.
André Hentschel [Sat, 30 Dec 2017 18:20:05 +0000 (19:20 +0100)]
wsdapi: Fix WSDXMLGetValueFromAny spec file entry.

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoUpdate copyright info for 2018.
Alexandre Julliard [Tue, 2 Jan 2018 09:12:12 +0000 (10:12 +0100)]
Update copyright info for 2018.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoRelease 3.0-rc4. wine-3.0-rc4
Alexandre Julliard [Fri, 29 Dec 2017 19:43:59 +0000 (20:43 +0100)]
Release 3.0-rc4.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3dx9/tests: Use the available ARRAY_SIZE() macro.
Michael Stefaniuc [Fri, 29 Dec 2017 18:20:10 +0000 (19:20 +0100)]
d3dx9/tests: Use the available ARRAY_SIZE() macro.

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoquartz/tests: Fix resource leak.
Andrey Gusev [Fri, 29 Dec 2017 15:53:16 +0000 (17:53 +0200)]
quartz/tests: Fix resource leak.

Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agobcrypt: macOS version 10.8 is needed for encryption support.
Alexandre Julliard [Fri, 29 Dec 2017 10:35:37 +0000 (11:35 +0100)]
bcrypt: macOS version 10.8 is needed for encryption support.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agouser32/tests: Recognize undefined characters in OemKeyScan tests.
Alex Henrie [Fri, 29 Dec 2017 06:46:57 +0000 (23:46 -0700)]
user32/tests: Recognize undefined characters in OemKeyScan tests.

This reverts commit 72ab2d5b078d0ebad70a0baed29a80ce6b6c86ad.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agouser32/tests: Fix OemKeyScan failures with input method editors.
Alex Henrie [Thu, 28 Dec 2017 17:45:46 +0000 (10:45 -0700)]
user32/tests: Fix OemKeyScan failures with input method editors.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agouser32/tests: Add some tests for A/W auto conversion in case of mismatching window...
Nikolay Sivov [Thu, 28 Dec 2017 12:23:05 +0000 (15:23 +0300)]
user32/tests: Add some tests for A/W auto conversion in case of mismatching window vs dialog procedure types.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agocomctl32/tests: Test some return values (Coverity).
Nikolay Sivov [Thu, 28 Dec 2017 12:20:17 +0000 (15:20 +0300)]
comctl32/tests: Test some return values (Coverity).

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