wine/eterwine.git
9 years agopo: Update Lithuanian translation.
Aurimas Fišeras [Wed, 23 Dec 2015 15:36:00 +0000 (17:36 +0200)]
po: Update Lithuanian translation.

Signed-off-by: Aurimas Fišeras <aurimas@members.fsf.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoole32: Simplify OleRegGetUserType() using existing helper.
Nikolay Sivov [Tue, 22 Dec 2015 21:36:12 +0000 (00:36 +0300)]
ole32: Simplify OleRegGetUserType() using existing helper.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoole32: Simplify OleRegGetMiscStatus() using existing helper, use read-only key permis...
Nikolay Sivov [Tue, 22 Dec 2015 21:36:11 +0000 (00:36 +0300)]
ole32: Simplify OleRegGetMiscStatus() using existing helper, use read-only key permissions.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoole32: Fix parameter validation for CoGetMalloc().
Nikolay Sivov [Tue, 22 Dec 2015 21:36:45 +0000 (00:36 +0300)]
ole32: Fix parameter validation for CoGetMalloc().

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agomsxml3: Clear request headers on Open().
Nikolay Sivov [Tue, 22 Dec 2015 21:43:15 +0000 (00:43 +0300)]
msxml3: Clear request headers on Open().

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoconfigure: Allow to override the location of the *-config scripts.
Thomas Petazzoni [Tue, 22 Dec 2015 21:29:20 +0000 (22:29 +0100)]
configure: Allow to override the location of the *-config scripts.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoapi-ms-win-core-path-l1-1-0: Add stub dll.
Austin English [Wed, 16 Dec 2015 05:12:26 +0000 (23:12 -0600)]
api-ms-win-core-path-l1-1-0: Add stub dll.

Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agokernel32: Add TRACE to SetCommState.
Alex Henrie [Sat, 19 Dec 2015 04:51:21 +0000 (21:51 -0700)]
kernel32: Add TRACE to SetCommState.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agomaintainers: Alphabetize.
Andrew Eikum [Wed, 23 Dec 2015 15:03:19 +0000 (09:03 -0600)]
maintainers: Alphabetize.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowinmm: Respect return value from joyGetPos (Coverity).
André Hentschel [Tue, 22 Dec 2015 22:18:52 +0000 (23:18 +0100)]
winmm: Respect return value from joyGetPos (Coverity).

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agommdevapi: Skip device if GetId fails (Coverity).
André Hentschel [Tue, 22 Dec 2015 22:18:46 +0000 (23:18 +0100)]
mmdevapi: Skip device if GetId fails (Coverity).

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowbemprox: Implement Win32_NetworkAdapterConfiguration.SettingID.
Hans Leidekker [Wed, 23 Dec 2015 10:07:42 +0000 (11:07 +0100)]
wbemprox: Implement Win32_NetworkAdapterConfiguration.SettingID.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowbemprox: Implement Win32_NetworkAdapterConfiguration.DNSServerSearchOrder.
Hans Leidekker [Wed, 23 Dec 2015 10:07:41 +0000 (11:07 +0100)]
wbemprox: Implement Win32_NetworkAdapterConfiguration.DNSServerSearchOrder.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowbemprox: Implement Win32_NetworkAdapterConfiguration.DHCPEnabled.
Hans Leidekker [Wed, 23 Dec 2015 10:07:40 +0000 (11:07 +0100)]
wbemprox: Implement Win32_NetworkAdapterConfiguration.DHCPEnabled.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowbemprox: Set correct variant type if array property value is NULL.
Hans Leidekker [Wed, 23 Dec 2015 10:07:39 +0000 (11:07 +0100)]
wbemprox: Set correct variant type if array property value is NULL.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowbemprox: Implement Win32_NetworkAdapterConfiguration.DefaultIPGateway.
Hans Leidekker [Wed, 23 Dec 2015 10:07:38 +0000 (11:07 +0100)]
wbemprox: Implement Win32_NetworkAdapterConfiguration.DefaultIPGateway.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowbemprox: Implement Win32_NetworkAdapterConfiguration.Description.
Hans Leidekker [Wed, 23 Dec 2015 10:07:37 +0000 (11:07 +0100)]
wbemprox: Implement Win32_NetworkAdapterConfiguration.Description.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowbemprox: Support string literals in comparisons with integer properties.
Hans Leidekker [Wed, 23 Dec 2015 10:07:36 +0000 (11:07 +0100)]
wbemprox: Support string literals in comparisons with integer properties.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowbemdisp: Calculate the object count returned from ISWbemObjectSet::get_Count just...
Hans Leidekker [Wed, 23 Dec 2015 10:06:57 +0000 (11:06 +0100)]
wbemdisp: Calculate the object count returned from ISWbemObjectSet::get_Count just once.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowinhttp: Don't drain content until authorization is handled successfully.
Hans Leidekker [Wed, 23 Dec 2015 10:06:01 +0000 (11:06 +0100)]
winhttp: Don't drain content until authorization is handled successfully.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agodnsapi: Add a stub implementation of DnsFlushResolverCacheEntry_A/UTF8/W.
Hans Leidekker [Wed, 23 Dec 2015 10:05:30 +0000 (11:05 +0100)]
dnsapi: Add a stub implementation of DnsFlushResolverCacheEntry_A/UTF8/W.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoqmgr: Use the full path for HTTP downloads.
Hans Leidekker [Wed, 23 Dec 2015 10:04:57 +0000 (11:04 +0100)]
qmgr: Use the full path for HTTP downloads.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoriched32/tests: Test WM_GETTEXTLENGTH with multibyte character.
Jactry Zeng [Tue, 22 Dec 2015 15:14:39 +0000 (23:14 +0800)]
riched32/tests: Test WM_GETTEXTLENGTH with multibyte character.

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 agoriched20/tests: Add tests for WM_GETTEXTLENGTH.
Jactry Zeng [Tue, 22 Dec 2015 15:14:19 +0000 (23:14 +0800)]
riched20/tests: Add tests for WM_GETTEXTLENGTH.

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 agoriched32/tests: Test EM_GETSELTEXT with multibyte character.
Jactry Zeng [Tue, 22 Dec 2015 15:14:11 +0000 (23:14 +0800)]
riched32/tests: Test EM_GETSELTEXT with multibyte character.

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 agoriched20/tests: Test EM_GETSELTEXT with multibyte character.
Jactry Zeng [Tue, 22 Dec 2015 15:13:54 +0000 (23:13 +0800)]
riched20/tests: Test EM_GETSELTEXT with multibyte character.

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 agoriched32/tests: Test EM_GETTEXTRANGE with multibyte character.
Jactry Zeng [Tue, 22 Dec 2015 15:13:42 +0000 (23:13 +0800)]
riched32/tests: Test EM_GETTEXTRANGE with multibyte character.

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 agoriched20/tests: Test EM_GETTEXTRANGE with multibyte character.
Jactry Zeng [Tue, 22 Dec 2015 15:13:16 +0000 (23:13 +0800)]
riched20/tests: Test EM_GETTEXTRANGE with multibyte character.

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 agomsvcrt: Don't continue on demangle failure (Coverity).
André Hentschel [Tue, 22 Dec 2015 18:35:04 +0000 (19:35 +0100)]
msvcrt: Don't continue on demangle failure (Coverity).

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agooledb32: GetConversionSize shouldn't fail for null variants.
Alistair Leslie-Hughes [Wed, 23 Dec 2015 06:47:48 +0000 (17:47 +1100)]
oledb32: GetConversionSize shouldn't fail for null variants.

If we have a NULL variant which will be converted to a non-fixed sized
type (DBTYPE_WSTR) then we just return S_OK.

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>
9 years agotools: Remove redundant check for request size in make_requests.
Sebastian Lackner [Wed, 23 Dec 2015 02:09:39 +0000 (03:09 +0100)]
tools: Remove redundant check for request size in make_requests.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agopo: Update Russian translation.
Nikolay Sivov [Tue, 22 Dec 2015 22:23:25 +0000 (01:23 +0300)]
po: Update Russian translation.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agomsvcrt: Fix cwscanf* prototypes.
Nikolay Sivov [Tue, 22 Dec 2015 22:14:29 +0000 (01:14 +0300)]
msvcrt: Fix cwscanf* prototypes.

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 agomsvcrt: Fix char to int promotion that breaks pattern lookup.
Nikolay Sivov [Tue, 22 Dec 2015 22:14:28 +0000 (01:14 +0300)]
msvcrt: Fix char to int promotion that breaks pattern lookup.

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 agoddraw7/tests: Test GetPriority() on cubemap surfaces.
Riccardo Bortolato [Mon, 21 Dec 2015 17:38:40 +0000 (18:38 +0100)]
ddraw7/tests: Test GetPriority() on cubemap surfaces.

Signed-off-by: Riccardo Bortolato <rikyz619@gmail.com>
Signed-off-by: Stefan Dösinger <stefandoesinger@gmx.at>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoddraw: Check if surface is a mipmap sublevel or a non-positive X top level surface...
Riccardo Bortolato [Mon, 21 Dec 2015 17:38:39 +0000 (18:38 +0100)]
ddraw: Check if surface is a mipmap sublevel or a non-positive X top level surface through caps in ddraw_surface7_GetPriority().

Signed-off-by: Riccardo Bortolato <rikyz619@gmail.com>
Signed-off-by: Stefan Dösinger <stefandoesinger@gmx.at>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowininet: Return the correct error code (Clang).
André Hentschel [Tue, 22 Dec 2015 21:00:36 +0000 (22:00 +0100)]
wininet: Return the correct error code (Clang).

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoxaudio2_7: Check return of IAudioClient_Start (Coverity).
André Hentschel [Tue, 22 Dec 2015 18:34:57 +0000 (19:34 +0100)]
xaudio2_7: Check return of IAudioClient_Start (Coverity).

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoshell32: Minor cleanup of SHELL_execute (Clang).
André Hentschel [Tue, 22 Dec 2015 18:30:57 +0000 (19:30 +0100)]
shell32: Minor cleanup of SHELL_execute (Clang).

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowinmm: Remove a dead assignment (Clang).
André Hentschel [Tue, 22 Dec 2015 18:29:29 +0000 (19:29 +0100)]
winmm: Remove a dead assignment (Clang).

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agomsvcrt: Add _wtmpnam_s implementation.
Piotr Caban [Tue, 22 Dec 2015 16:47:21 +0000 (17:47 +0100)]
msvcrt: Add _wtmpnam_s implementation.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agomsvcrt: Add tmpnam_s implementation.
Piotr Caban [Tue, 22 Dec 2015 16:43:20 +0000 (17:43 +0100)]
msvcrt: Add tmpnam_s implementation.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agows2_32: Add WSAPoll() implementation.
Bruno Jesus [Tue, 22 Dec 2015 13:15:41 +0000 (21:15 +0800)]
ws2_32: Add WSAPoll() implementation.

Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agomsvcp110: Always return empty string in _Read_dir on end of enumeration or error.
Piotr Caban [Tue, 22 Dec 2015 10:11:03 +0000 (11:11 +0100)]
msvcp110: Always return empty string in _Read_dir on end of enumeration or error.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agomsvcrt: Rename __libm_sse2_* functions to fix compilation when using Intel compiler.
Paul Gofman [Tue, 22 Dec 2015 12:08:58 +0000 (15:08 +0300)]
msvcrt: Rename __libm_sse2_* functions to fix compilation when using Intel compiler.

Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agooledb32: Convert to a BSTR to work out it size.
Alistair Leslie-Hughes [Tue, 22 Dec 2015 10:09:45 +0000 (21:09 +1100)]
oledb32: Convert to a BSTR to work out it size.

This makes code for handling variants with DBTYPE_STR and DBTYPE_WSTR
types consistent.

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>
9 years agodsound: Use a better name for IDirectSoundBufferImpl_Create().
Michael Stefaniuc [Tue, 22 Dec 2015 09:50:34 +0000 (10:50 +0100)]
dsound: Use a better name for IDirectSoundBufferImpl_Create().

Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agodsound: Simplify error handling when creating a sound buffer.
Michael Stefaniuc [Tue, 22 Dec 2015 09:49:10 +0000 (10:49 +0100)]
dsound: Simplify error handling when creating a sound buffer.

Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agotdi.sys: Add a stub dll.
Austin English [Tue, 22 Dec 2015 02:41:46 +0000 (20:41 -0600)]
tdi.sys: Add a stub dll.

Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agosetupx.dll16: Add DiBuildDriverIndex stub.
Austin English [Tue, 15 Dec 2015 17:48:35 +0000 (11:48 -0600)]
setupx.dll16: Add DiBuildDriverIndex stub.

Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoiexplore: Sync registry and program resource values.
Austin English [Tue, 8 Dec 2015 23:05:28 +0000 (17:05 -0600)]
iexplore: Sync registry and program resource values.

Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agocomdlg32/fontdlg: Remove dead assignment (Coverity).
Nikolay Sivov [Mon, 21 Dec 2015 22:19:33 +0000 (01:19 +0300)]
comdlg32/fontdlg: Remove dead assignment (Coverity).

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agocomdlg32/fontdlg: Fix string format for sizes added to listbox.
Nikolay Sivov [Mon, 21 Dec 2015 22:19:32 +0000 (01:19 +0300)]
comdlg32/fontdlg: Fix string format for sizes added to listbox.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agocomdlg32/fontdlg: Allow font sizes outside of defaults set.
Nikolay Sivov [Mon, 21 Dec 2015 22:19:31 +0000 (01:19 +0300)]
comdlg32/fontdlg: Allow font sizes outside of defaults set.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agocomdlg32/fontdlg: Limit text length user can type in as font point size.
Nikolay Sivov [Mon, 21 Dec 2015 22:19:30 +0000 (01:19 +0300)]
comdlg32/fontdlg: Limit text length user can type in as font point size.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agogdi32: Initialize 'param' field (Coverity).
Nikolay Sivov [Mon, 21 Dec 2015 22:14:25 +0000 (01:14 +0300)]
gdi32: Initialize 'param' field (Coverity).

For consistency with the rest of the code, initialize both
'free' and 'param' fields.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowinemenubuilder: Simplify MIME types list management.
Nikolay Sivov [Mon, 21 Dec 2015 22:23:29 +0000 (01:23 +0300)]
winemenubuilder: Simplify MIME types list management.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoregedit: Fix potential buffer leak, simplify error handling (Coverity).
Nikolay Sivov [Mon, 21 Dec 2015 21:55:00 +0000 (00:55 +0300)]
regedit: Fix potential buffer leak, simplify error handling (Coverity).

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agodxdiagn: Improve error handling when converting to VT_BSTR (Coverity).
Nikolay Sivov [Mon, 21 Dec 2015 21:51:36 +0000 (00:51 +0300)]
dxdiagn: Improve error handling when converting to VT_BSTR (Coverity).

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agontdll: Fix valgrind heap realloc notifications.
Thomas Faller [Wed, 16 Dec 2015 21:00:58 +0000 (22:00 +0100)]
ntdll: Fix valgrind heap realloc notifications.

Valgrind can't handle a realloc if the new size is zero.

Signed-off-by: Thomas Faller <tfaller1@gmx.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agontdll: Trace RTL_BITMAP api arguments as unsigned when appropriate.
Nikolay Sivov [Thu, 17 Dec 2015 13:06:50 +0000 (16:06 +0300)]
ntdll: Trace RTL_BITMAP api arguments as unsigned when appropriate.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agontdll: Fix NtQueryDirectoryFile behavior on short file names on case insensitive...
Piotr Caban [Mon, 21 Dec 2015 17:42:04 +0000 (18:42 +0100)]
ntdll: Fix NtQueryDirectoryFile behavior on short file names on case insensitive file systems.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Ken Thomases <ken@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agohidclass.sys: Properly print 80 bytes in first line when tracing ParseDescriptor.
Changhui Liu [Fri, 18 Dec 2015 06:48:56 +0000 (14:48 +0800)]
hidclass.sys: Properly print 80 bytes in first line when tracing ParseDescriptor.

Signed-off-by: Changhui Liu <liuchanghui@linuxdeepin.com>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agohidclass.sys: Initialize ext->irp_queue immediately after HID_CreateDevice.
Changhui Liu [Fri, 18 Dec 2015 06:40:16 +0000 (14:40 +0800)]
hidclass.sys: Initialize ext->irp_queue immediately after HID_CreateDevice.

Signed-off-by: Changhui Liu <liuchanghui@linuxdeepin.com>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowbemprox: Iterate over all drives instead of just the first four.
Joachim Priesner [Mon, 21 Dec 2015 12:00:32 +0000 (13:00 +0100)]
wbemprox: Iterate over all drives instead of just the first four.

Signed-off-by: Joachim Priesner <joachim.priesner@web.de>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agodsound: Fail to create a version 8 3d buffer with DSBCAPS_CTRLPAN.
Michael Stefaniuc [Mon, 21 Dec 2015 11:08:09 +0000 (12:08 +0100)]
dsound: Fail to create a version 8 3d buffer with DSBCAPS_CTRLPAN.

Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agomshtml: Added nsIChannel::Cancel implementation.
Jacek Caban [Mon, 21 Dec 2015 13:31:29 +0000 (14:31 +0100)]
mshtml: Added nsIChannel::Cancel implementation.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agomshtml: Added IHTMLWindow::get_clientInformation implementation.
Jacek Caban [Mon, 21 Dec 2015 13:30:50 +0000 (14:30 +0100)]
mshtml: Added IHTMLWindow::get_clientInformation implementation.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoriched32/tests: Add tests for selection.
Jactry Zeng [Mon, 21 Dec 2015 13:01:37 +0000 (21:01 +0800)]
riched32/tests: Add tests for selection.

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 agoriched20/tests: Add multibyte character tests for selection.
Jactry Zeng [Mon, 21 Dec 2015 13:00:53 +0000 (21:00 +0800)]
riched20/tests: Add multibyte character tests for selection.

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 agoriched20/tests: Test EM_LINELENGTH with multibyte character.
Jactry Zeng [Mon, 21 Dec 2015 13:00:28 +0000 (21:00 +0800)]
riched20/tests: Test EM_LINELENGTH with multibyte character.

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 agoriched32/tests: Test EM_LINELENGTH with multibyte character.
Jactry Zeng [Mon, 21 Dec 2015 12:59:58 +0000 (20:59 +0800)]
riched32/tests: Test EM_LINELENGTH with multibyte character.

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 agomsxml3/tests: Use exact comparison in IXMLDOMNode::get_text tests.
Piotr Caban [Mon, 21 Dec 2015 10:41:30 +0000 (11:41 +0100)]
msxml3/tests: Use exact comparison in IXMLDOMNode::get_text tests.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agomsxml3: Add support for CDATA nodes in node_get_text.
Piotr Caban [Mon, 21 Dec 2015 10:41:26 +0000 (11:41 +0100)]
msxml3: Add support for CDATA nodes in node_get_text.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agomsxml3: Reimplement node_get_text helper so it uses information about ignorred white...
Piotr Caban [Mon, 21 Dec 2015 10:41:22 +0000 (11:41 +0100)]
msxml3: Reimplement node_get_text helper so it uses information about ignorred white space nodes.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agomsxml3: Store information about ignorrable whitespace nodes in xmlNode._private variable.
Piotr Caban [Mon, 21 Dec 2015 10:41:18 +0000 (11:41 +0100)]
msxml3: Store information about ignorrable whitespace nodes in xmlNode._private variable.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agomsxml3: Update xmlNode reference count when nodes are merged in node_insert_before.
Piotr Caban [Mon, 21 Dec 2015 10:41:10 +0000 (11:41 +0100)]
msxml3: Update xmlNode reference count when nodes are merged in node_insert_before.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoole32: Fix apartment window class name.
Piotr Caban [Mon, 21 Dec 2015 10:27:37 +0000 (11:27 +0100)]
ole32: Fix apartment window class name.

TestStand 2010 makes class name comparison when pumping RPC messages.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agosecur32/tests: Don't check the exact number of cipher bits.
Alexandre Julliard [Mon, 21 Dec 2015 17:20:29 +0000 (18:20 +0100)]
secur32/tests: Don't check the exact number of cipher bits.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agomsvcrt: Return error if last known character is further in the string then current...
Piotr Caban [Mon, 21 Dec 2015 10:22:55 +0000 (11:22 +0100)]
msvcrt: Return error if last known character is further in the string then current character.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agomsvcrt: Add _strtol_l implementation.
Piotr Caban [Mon, 21 Dec 2015 10:22:45 +0000 (11:22 +0100)]
msvcrt: Add _strtol_l implementation.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowinex11.drv: XDNDDropEffect stores OLE Drag&Drop effect so don't use it WS_EX_ACCEPTF...
Piotr Caban [Mon, 21 Dec 2015 10:21:31 +0000 (11:21 +0100)]
winex11.drv: XDNDDropEffect stores OLE Drag&Drop effect so don't use it WS_EX_ACCEPTFILES related drops.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowinex11.drv: Reset XDNDAccepted flag if IDropTarget::DragEnter fails.
Piotr Caban [Mon, 21 Dec 2015 10:21:27 +0000 (11:21 +0100)]
winex11.drv: Reset XDNDAccepted flag if IDropTarget::DragEnter fails.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowinex11.drv: Only update drop effect if IDropTarget::DragOver returned S_OK.
Piotr Caban [Mon, 21 Dec 2015 10:21:22 +0000 (11:21 +0100)]
winex11.drv: Only update drop effect if IDropTarget::DragOver returned S_OK.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowinex11.drv: Call DragLeave instead of Drop if DROPEFFECT_NONE was set.
Piotr Caban [Mon, 21 Dec 2015 10:21:18 +0000 (11:21 +0100)]
winex11.drv: Call DragLeave instead of Drop if DROPEFFECT_NONE was set.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowinex11.drv: Ignore effect returned in IDropTarget::DragEnter.
Piotr Caban [Mon, 21 Dec 2015 10:21:12 +0000 (11:21 +0100)]
winex11.drv: Ignore effect returned in IDropTarget::DragEnter.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agogdi32: Handle NULL filename in GetICMProfileA().
Andrey Melnikov [Mon, 21 Dec 2015 09:22:41 +0000 (12:22 +0300)]
gdi32: Handle NULL filename in GetICMProfileA().

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Andrey Melnikov <temnota.am@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoole2nls: Fix CompareString() prototype.
Nikolay Sivov [Mon, 21 Dec 2015 09:15:59 +0000 (12:15 +0300)]
ole2nls: Fix CompareString() prototype.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agouser.exe: Fix MapDialogRect() to actually convert passed rectangle (Coverity).
Nikolay Sivov [Mon, 21 Dec 2015 09:13:56 +0000 (12:13 +0300)]
user.exe: Fix MapDialogRect() to actually convert passed rectangle (Coverity).

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agouser32/tests: One more activation context test for interthread SendMessage.
Nikolay Sivov [Mon, 21 Dec 2015 09:10:27 +0000 (12:10 +0300)]
user32/tests: One more activation context test for interthread SendMessage.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoserver: Fix assignment of primary_group in token_duplicate.
Sebastian Lackner [Mon, 21 Dec 2015 04:32:35 +0000 (05:32 +0100)]
server: Fix assignment of primary_group in token_duplicate.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agokernel32/tests: Some tests for ZombifyActCtx().
Nikolay Sivov [Mon, 21 Dec 2015 09:10:04 +0000 (12:10 +0300)]
kernel32/tests: Some tests for ZombifyActCtx().

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agontdll: ProcessDebugFlags should return debug_children flag instead of !debugger_present.
Sebastian Lackner [Mon, 21 Dec 2015 04:18:50 +0000 (05:18 +0100)]
ntdll: ProcessDebugFlags should return debug_children flag instead of !debugger_present.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agokernel32/tests: Remove unnecessary call to GetExitCodeProcess in process tests.
Sebastian Lackner [Mon, 21 Dec 2015 04:26:09 +0000 (05:26 +0100)]
kernel32/tests: Remove unnecessary call to GetExitCodeProcess in process tests.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agomsvcp120/tests: Add tests of tr2_sys__Open_dir, tr2_sys__Read_dir and tr2_sys__Close_dir.
YongHao Hu [Mon, 21 Dec 2015 04:16:10 +0000 (12:16 +0800)]
msvcp120/tests: Add tests of tr2_sys__Open_dir, tr2_sys__Read_dir and tr2_sys__Close_dir.

Signed-off-by: YongHao Hu <christopherwuy@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agomsvcp110: Add tr2_sys__Close_dir implementation.
YongHao Hu [Mon, 21 Dec 2015 04:15:47 +0000 (12:15 +0800)]
msvcp110: Add tr2_sys__Close_dir implementation.

Signed-off-by: YongHao Hu <christopherwuy@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agomsvcp110: Add tr2_sys__Read_dir implementation.
YongHao Hu [Mon, 21 Dec 2015 04:15:34 +0000 (12:15 +0800)]
msvcp110: Add tr2_sys__Read_dir implementation.

Signed-off-by: YongHao Hu <christopherwuy@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoRelease 1.8.
Alexandre Julliard [Sat, 19 Dec 2015 15:57:44 +0000 (16:57 +0100)]
Release 1.8.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoddraw/tests: Rename mips to mipmaps.
André Hentschel [Sun, 13 Dec 2015 21:33:44 +0000 (22:33 +0100)]
ddraw/tests: Rename mips to mipmaps.

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agogdi32/tests: Some tests for GetICMProfile().
Nikolay Sivov [Mon, 14 Dec 2015 16:39:40 +0000 (19:39 +0300)]
gdi32/tests: Some tests for GetICMProfile().

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