wine-orson.git
6 years agoRelease 2.13. wine-2.13
Alexandre Julliard [Fri, 21 Jul 2017 19:06:46 +0000 (21:06 +0200)]
Release 2.13.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agodbghelp: Silence a noisy FIXME.
Zebediah Figura [Fri, 21 Jul 2017 15:26:17 +0000 (10:26 -0500)]
dbghelp: Silence a noisy FIXME.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agogdi32: Return non-zero VREFRESH value for display devices.
Akihiro Sagawa [Fri, 21 Jul 2017 13:58:04 +0000 (22:58 +0900)]
gdi32: Return non-zero VREFRESH value for display devices.

Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoreg: Account for sizeof(WCHAR) when resizing the value name buffer during the query...
Hugh McMaster [Fri, 21 Jul 2017 08:47:15 +0000 (08:47 +0000)]
reg: Account for sizeof(WCHAR) when resizing the value name buffer during the query operation.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agorsaenh: Do not use stack variables out of frame (Coverity).
Jacek Caban [Fri, 21 Jul 2017 13:36:31 +0000 (15:36 +0200)]
rsaenh: Do not use stack variables out of frame (Coverity).

Based on patch by Marcus Meissner.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoserver: Remove no loner needed fd NULL check (Coverity).
Jacek Caban [Fri, 21 Jul 2017 13:19:37 +0000 (15:19 +0200)]
server: Remove no loner needed fd NULL check (Coverity).

Spotted by Marcus Meissner.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowpcap: Fix build with newer pcap versions.
André Hentschel [Fri, 21 Jul 2017 13:16:51 +0000 (15:16 +0200)]
wpcap: Fix build with newer pcap versions.

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomshtml: Added IHTMLDOMNode3::put_textContent implementation.
Jacek Caban [Fri, 21 Jul 2017 13:11:10 +0000 (15:11 +0200)]
mshtml: Added IHTMLDOMNode3::put_textContent implementation.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoinclude: Support all version of BackgroundCopyManager from bits.h.
Alistair Leslie-Hughes [Fri, 21 Jul 2017 01:34:01 +0000 (01:34 +0000)]
include: Support all version of BackgroundCopyManager from bits.h.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agokrnl386.exe16: Fail int 21, 4e if the volume label is an empty string.
Zebediah Figura [Fri, 21 Jul 2017 04:21:09 +0000 (23:21 -0500)]
krnl386.exe16: Fail int 21, 4e if the volume label is an empty string.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoxmllite/reader: Added a helper for setting current attribute cursor.
Nikolay Sivov [Fri, 21 Jul 2017 12:00:04 +0000 (15:00 +0300)]
xmllite/reader: Added a helper for setting current attribute cursor.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoxmllite/reader: Implement MoveToAttributeByName().
Nikolay Sivov [Fri, 21 Jul 2017 12:00:03 +0000 (15:00 +0300)]
xmllite/reader: Implement MoveToAttributeByName().

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3d11: Fix race condition in d3d_sampler_state_create().
Józef Kucia [Thu, 20 Jul 2017 12:11:04 +0000 (14:11 +0200)]
d3d11: Fix race condition in d3d_sampler_state_create().

Spotted by Kimmo Myllyvirta.

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3d11: Introduce d3d_sampler_state_create() helper function.
Józef Kucia [Thu, 20 Jul 2017 12:11:03 +0000 (14:11 +0200)]
d3d11: Introduce d3d_sampler_state_create() helper function.

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3d11: Fix race condition in d3d_rasterizer_state_create().
Józef Kucia [Thu, 20 Jul 2017 12:11:02 +0000 (14:11 +0200)]
d3d11: Fix race condition in d3d_rasterizer_state_create().

Spotted by Kimmo Myllyvirta.

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3d11: Introduce d3d_rasterizer_state_create() helper function.
Józef Kucia [Thu, 20 Jul 2017 12:11:01 +0000 (14:11 +0200)]
d3d11: Introduce d3d_rasterizer_state_create() helper function.

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3d11: Fix race condition in d3d_depthstencil_state_create().
Józef Kucia [Thu, 20 Jul 2017 12:11:00 +0000 (14:11 +0200)]
d3d11: Fix race condition in d3d_depthstencil_state_create().

Spotted by Kimmo Myllyvirta.

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3d11: Introduce d3d_depthstencil_state_create() helper function.
Józef Kucia [Thu, 20 Jul 2017 12:10:59 +0000 (14:10 +0200)]
d3d11: Introduce d3d_depthstencil_state_create() helper function.

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3d11: Fix race condition in d3d_blend_state_create().
Józef Kucia [Thu, 20 Jul 2017 12:10:58 +0000 (14:10 +0200)]
d3d11: Fix race condition in d3d_blend_state_create().

Spotted by Kimmo Myllyvirta.

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3d11: Introduce d3d_blend_state_create() helper function.
Józef Kucia [Thu, 20 Jul 2017 12:10:57 +0000 (14:10 +0200)]
d3d11: Introduce d3d_blend_state_create() helper function.

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomsi: Send the dialog created message in dialog_create().
Zebediah Figura [Fri, 21 Jul 2017 04:43:15 +0000 (23:43 -0500)]
msi: Send the dialog created message in dialog_create().

It should be sent before the message loop, and it should also be sent
for dialogs spawned with control events.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomsi: Don't queue a parent dialog to be shown in EndDialog.
Zebediah Figura [Fri, 21 Jul 2017 04:43:14 +0000 (23:43 -0500)]
msi: Don't queue a parent dialog to be shown in EndDialog.

When using "Return", the parent dialog already exists, so there is
no need to do this. Moreover, if the parent dialog is queued, a
subsequent "Exit" would not properly exit the parent dialog.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomsi: Process ShowDialog/EndDialog after all other control events.
Zebediah Figura [Fri, 21 Jul 2017 04:43:13 +0000 (23:43 -0500)]
msi: Process ShowDialog/EndDialog after all other control events.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomsi: Don't set _BrowseProperty.
Zebediah Figura [Fri, 21 Jul 2017 04:43:12 +0000 (23:43 -0500)]
msi: Don't set _BrowseProperty.

This is a revert of 166a7e993cb0033fac7ec2712c346558fb7bd100.
_BrowseProperty is not set by Windows, but should rather be set by the
program in question.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomsi: Avoid a null pointer dereference.
Zebediah Figura [Fri, 21 Jul 2017 04:43:11 +0000 (23:43 -0500)]
msi: Avoid a null pointer dereference.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomsi/tests: Use static linking for a couple functions.
Zebediah Figura [Fri, 21 Jul 2017 04:43:10 +0000 (23:43 -0500)]
msi/tests: Use static linking for a couple functions.

These are available on all of the test machines.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agopo: Update Norwegian translation.
Kim Malmo [Thu, 20 Jul 2017 23:09:06 +0000 (23:09 +0000)]
po: Update Norwegian translation.

Signed-off-by: Kim Malmo <berencamlost@msn.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agodwrite: Fix cache entry use-after-free (Valgrind).
Nikolay Sivov [Thu, 20 Jul 2017 16:47:33 +0000 (19:47 +0300)]
dwrite: Fix cache entry use-after-free (Valgrind).

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agodwrite: Print missing table message as a trace.
Nikolay Sivov [Thu, 20 Jul 2017 16:47:32 +0000 (19:47 +0300)]
dwrite: Print missing table message as a trace.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoxmllite/tests: Use input stream helper in more tests.
Nikolay Sivov [Thu, 20 Jul 2017 16:47:08 +0000 (19:47 +0300)]
xmllite/tests: Use input stream helper in more tests.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomshtml: Added IHTMLDOMNode3::get_textContent implementation.
Jacek Caban [Thu, 20 Jul 2017 16:11:29 +0000 (18:11 +0200)]
mshtml: Added IHTMLDOMNode3::get_textContent implementation.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomshtml: Support returning VT_NULL from return_nsstr_variant.
Jacek Caban [Thu, 20 Jul 2017 16:11:22 +0000 (18:11 +0200)]
mshtml: Support returning VT_NULL from return_nsstr_variant.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agopo: Update Finnish translation.
Lauri Kenttä [Thu, 20 Jul 2017 14:38:45 +0000 (17:38 +0300)]
po: Update Finnish translation.

Signed-off-by: Lauri Kenttä <lauri.kentta@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowebservices: Implement the Message Framing Protocol.
Hans Leidekker [Thu, 20 Jul 2017 13:01:56 +0000 (15:01 +0200)]
webservices: Implement the Message Framing Protocol.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowebservices: Write Action and To headers unless the addressing version is WS_ADDRESSI...
Hans Leidekker [Thu, 20 Jul 2017 13:01:55 +0000 (15:01 +0200)]
webservices: Write Action and To headers unless the addressing version is WS_ADDRESSING_VERSION_TRANSPORT.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowebservices: Set default channel envelope and addressing versions.
Hans Leidekker [Thu, 20 Jul 2017 13:01:54 +0000 (15:01 +0200)]
webservices: Set default channel envelope and addressing versions.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowebservices: Add support for reading float values.
Hans Leidekker [Thu, 20 Jul 2017 13:01:53 +0000 (15:01 +0200)]
webservices: Add support for reading float values.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoreg: Avoid using RegQueryInfoKey() to enumerate subkeys and values in the query opera...
Hugh McMaster [Thu, 20 Jul 2017 11:33:33 +0000 (11:33 +0000)]
reg: Avoid using RegQueryInfoKey() to enumerate subkeys and values in the query operation.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoregedit: Re-size the data export buffer using the required size instead of doubling it.
Hugh McMaster [Thu, 20 Jul 2017 11:33:24 +0000 (11:33 +0000)]
regedit: Re-size the data export buffer using the required size instead of doubling it.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoregedit: Remove unused header includes from regproc.c.
Hugh McMaster [Thu, 20 Jul 2017 11:33:16 +0000 (11:33 +0000)]
regedit: Remove unused header includes from regproc.c.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoregedit: Remove an unused #define.
Hugh McMaster [Thu, 20 Jul 2017 11:33:08 +0000 (11:33 +0000)]
regedit: Remove an unused #define.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoinclude: Undefine PARITY_NONE to avoid warnings.
Alexandre Julliard [Thu, 20 Jul 2017 14:26:41 +0000 (16:26 +0200)]
include: Undefine PARITY_NONE to avoid warnings.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agontdll: Add small assembly wrappers for snooping instead of saving/restoring the entir...
Alexandre Julliard [Thu, 20 Jul 2017 14:18:45 +0000 (16:18 +0200)]
ntdll: Add small assembly wrappers for snooping instead of saving/restoring the entire context.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agontdll: Call NtRaiseException directly from RtlRaiseException on i386.
Alexandre Julliard [Thu, 20 Jul 2017 11:35:53 +0000 (13:35 +0200)]
ntdll: Call NtRaiseException directly from RtlRaiseException on i386.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agontdll: Remove the raise_exception helper function on x86-64.
Alexandre Julliard [Thu, 20 Jul 2017 11:25:04 +0000 (13:25 +0200)]
ntdll: Remove the raise_exception helper function on x86-64.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agontdll: Call NtRaiseException directly from RtlRaiseException on x86-64.
Alexandre Julliard [Thu, 20 Jul 2017 11:00:10 +0000 (13:00 +0200)]
ntdll: Call NtRaiseException directly from RtlRaiseException on x86-64.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3drm/tests: Fix a leak in tests (Valgrind).
Nikolay Sivov [Wed, 19 Jul 2017 11:39:51 +0000 (14:39 +0300)]
d3drm/tests: Fix a leak in tests (Valgrind).

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 agopo: Update Norwegian translation.
Kim Malmo [Wed, 19 Jul 2017 21:45:21 +0000 (21:45 +0000)]
po: Update Norwegian translation.

Signed-off-by: Kim Malmo <berencamlost@msn.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agouser32: Don't exclude clipped children from the copied window bits since they may...
Alexandre Julliard [Thu, 20 Jul 2017 08:41:43 +0000 (10:41 +0200)]
user32: Don't exclude clipped children from the copied window bits since they may be up to date.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowinhttp: Rename host_t to hostdata_t.
Sebastian Lackner [Wed, 19 Jul 2017 15:22:13 +0000 (17:22 +0200)]
winhttp: Rename host_t to hostdata_t.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomshtml: Expose IHTMLDOMNode3 interface to scripts.
Jacek Caban [Wed, 19 Jul 2017 18:32:55 +0000 (20:32 +0200)]
mshtml: Expose IHTMLDOMNode3 interface to scripts.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomshtml: Forward duplicated IHTMLDOMNode3 functions to IHTMLDOMNode implementation.
Jacek Caban [Wed, 19 Jul 2017 18:32:49 +0000 (20:32 +0200)]
mshtml: Forward duplicated IHTMLDOMNode3 functions to IHTMLDOMNode implementation.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomshtml: Added IHTMLDOMNode3 stub implementation.
Jacek Caban [Wed, 19 Jul 2017 18:32:40 +0000 (20:32 +0200)]
mshtml: Added IHTMLDOMNode3 stub implementation.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agogdiplus: Use write_path_data helper in GdipGetRegionData.
Piotr Caban [Tue, 18 Jul 2017 16:59:55 +0000 (18:59 +0200)]
gdiplus: Use write_path_data helper in GdipGetRegionData.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agogdiplus: Add write_path_data helper to create EMF+ path object.
Piotr Caban [Tue, 18 Jul 2017 16:59:48 +0000 (18:59 +0200)]
gdiplus: Add write_path_data helper to create EMF+ path object.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agogdiplus: Store newer gdi+ version in created GdipRegions.
Piotr Caban [Tue, 18 Jul 2017 16:59:40 +0000 (18:59 +0200)]
gdiplus: Store newer gdi+ version in created GdipRegions.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoconfigure: Improve check for if_nameindex.
Sebastian Lackner [Wed, 19 Jul 2017 15:26:11 +0000 (17:26 +0200)]
configure: Improve check for if_nameindex.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoshell32: Prevent a possible null pointer dereference in SHGetFileInfoW.
Mark Jansen [Wed, 19 Jul 2017 15:23:07 +0000 (17:23 +0200)]
shell32: Prevent a possible null pointer dereference in SHGetFileInfoW.

Signed-off-by: Mark Jansen <mark.jansen@reactos.org>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agouser32: Allow activating the desktop window.
Zebediah Figura [Fri, 7 Jul 2017 23:58:12 +0000 (18:58 -0500)]
user32: Allow activating the desktop window.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agokernel32: Add stub for ResolveLocaleName.
Jactry Zeng [Wed, 28 Jun 2017 07:05:21 +0000 (15:05 +0800)]
kernel32: Add stub for ResolveLocaleName.

Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agodwrite/tests: Use empty text in line metrics test.
Nikolay Sivov [Wed, 19 Jul 2017 11:42:32 +0000 (14:42 +0300)]
dwrite/tests: Use empty text in line metrics test.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agodwrite: Added ability to specify multiple families per fallback range.
Nikolay Sivov [Wed, 19 Jul 2017 11:42:31 +0000 (14:42 +0300)]
dwrite: Added ability to specify multiple families per fallback range.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agontdll: Add support for debug registers in exceptions on x86-64.
Alexandre Julliard [Wed, 19 Jul 2017 15:11:38 +0000 (17:11 +0200)]
ntdll: Add support for debug registers in exceptions on x86-64.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agontdll: Move the plaform-specific thread data to the SystemReserved2 TEB field.
Alexandre Julliard [Wed, 19 Jul 2017 13:20:42 +0000 (15:20 +0200)]
ntdll: Move the plaform-specific thread data to the SystemReserved2 TEB field.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agontdll: Move the plaform-independent thread data to the GdiTebBatch TEB field.
Alexandre Julliard [Wed, 19 Jul 2017 13:18:29 +0000 (15:18 +0200)]
ntdll: Move the plaform-independent thread data to the GdiTebBatch TEB field.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agontdll: Add platform-specific versions of the thread data structure.
Alexandre Julliard [Wed, 19 Jul 2017 13:14:24 +0000 (15:14 +0200)]
ntdll: Add platform-specific versions of the thread data structure.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoregedit: Export value names from the export_data() function.
Hugh McMaster [Wed, 19 Jul 2017 05:29:22 +0000 (05:29 +0000)]
regedit: Export value names from the export_data() function.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoregedit: Append a newline to the end of the export file.
Hugh McMaster [Wed, 19 Jul 2017 05:29:16 +0000 (05:29 +0000)]
regedit: Append a newline to the end of the export file.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoregedit: Export REG_SZ data via the export_data() function.
Hugh McMaster [Wed, 19 Jul 2017 05:29:05 +0000 (05:29 +0000)]
regedit: Export REG_SZ data via the export_data() function.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoregedit: Use a helper function to export hex data and REG_DWORD data.
Hugh McMaster [Wed, 19 Jul 2017 05:28:56 +0000 (05:28 +0000)]
regedit: Use a helper function to export hex data and REG_DWORD data.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoregedit: Export REG_DWORD data from a separate function.
Hugh McMaster [Wed, 19 Jul 2017 05:28:47 +0000 (05:28 +0000)]
regedit: Export REG_DWORD data from a separate function.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoregedit: Export value names from a separate function.
Hugh McMaster [Wed, 19 Jul 2017 05:28:38 +0000 (05:28 +0000)]
regedit: Export value names from a separate function.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoregedit: Read registry value information before exporting.
Hugh McMaster [Wed, 19 Jul 2017 05:28:29 +0000 (05:28 +0000)]
regedit: Read registry value information before exporting.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoregedit: Re-implement some parts of the export operation.
Hugh McMaster [Wed, 19 Jul 2017 05:28:21 +0000 (05:28 +0000)]
regedit: Re-implement some parts of the export operation.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agodmloader/tests: NUL terminate a wide string.
Michael Stefaniuc [Wed, 19 Jul 2017 00:24:04 +0000 (02:24 +0200)]
dmloader/tests: NUL terminate a wide string.

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agodmloader: Initialize a stack variable to avoid erratic test behavior.
Michael Stefaniuc [Wed, 19 Jul 2017 00:24:03 +0000 (02:24 +0200)]
dmloader: Initialize a stack variable to avoid erratic test behavior.

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoinclude: Fix the name of a method of IDirectMusicLoader.
Michael Stefaniuc [Wed, 19 Jul 2017 00:24:02 +0000 (02:24 +0200)]
include: Fix the name of a method of IDirectMusicLoader.

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agokernel32/tests: Increase timeout for loader test.
Daniel Lehman [Tue, 18 Jul 2017 15:28:11 +0000 (08:28 -0700)]
kernel32/tests: Increase timeout for loader test.

Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agouser32: Calculate a window's minimized size even if it's already minimized.
Zebediah Figura [Fri, 14 Jul 2017 18:02:51 +0000 (13:02 -0500)]
user32: Calculate a window's minimized size even if it's already minimized.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agogdiplus: Don't require specific gdi+ versions in metafile structures.
Vincent Povirk [Tue, 18 Jul 2017 16:35:28 +0000 (11:35 -0500)]
gdiplus: Don't require specific gdi+ versions in metafile structures.

Based on testing of manually edited metafiles, only the signature portion
of version fields are tested, not the version number.

Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3dx9: Get rid of a forward declaration.
Matteo Bruni [Tue, 18 Jul 2017 16:58:28 +0000 (18:58 +0200)]
d3dx9: Get rid of a forward declaration.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3dx9: Fix potential memory leak on HeapReAlloc() failure in get_constants_desc().
Paul Gofman [Tue, 11 Jul 2017 11:27:01 +0000 (14:27 +0300)]
d3dx9: Fix potential memory leak on HeapReAlloc() failure in get_constants_desc().

Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3dx9/tests: Add more tests for skip_constants effect parameter.
Paul Gofman [Tue, 11 Jul 2017 11:27:00 +0000 (14:27 +0300)]
d3dx9/tests: Add more tests for skip_constants effect parameter.

Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3dx9: Support skip_constants parameter for effect.
Paul Gofman [Tue, 11 Jul 2017 11:26:59 +0000 (14:26 +0300)]
d3dx9: Support skip_constants parameter for effect.

Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3dx9: Introduce d3dx_shader_get_ctab_constant() function and use it instead of ID3DX...
Paul Gofman [Tue, 11 Jul 2017 11:26:58 +0000 (14:26 +0300)]
d3dx9: Introduce d3dx_shader_get_ctab_constant() function and use it instead of ID3DXConstantTableImpl_GetConstantDesc().

Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3dx9: Fail effect creation when parameter evaluator creation fails.
Paul Gofman [Tue, 11 Jul 2017 11:26:57 +0000 (14:26 +0300)]
d3dx9: Fail effect creation when parameter evaluator creation fails.

Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowinealsa.drv: Fix uninitialized variable warning.
Andrey Gusev [Tue, 18 Jul 2017 16:20:54 +0000 (19:20 +0300)]
winealsa.drv: Fix uninitialized variable warning.

Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomsvcrt: Don't set errno in log functions if x is positive infinity.
Alex Henrie [Tue, 18 Jul 2017 04:33:53 +0000 (22:33 -0600)]
msvcrt: Don't set errno in log functions if x is positive infinity.

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 agomsvcr120: Set errno in log2.
Alex Henrie [Tue, 18 Jul 2017 04:33:52 +0000 (22:33 -0600)]
msvcr120: Set errno in log2.

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 agomsvcr120: Add log1p.
Alex Henrie [Tue, 18 Jul 2017 04:33:51 +0000 (22:33 -0600)]
msvcr120: Add log1p.

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 agowined3d: Make sure we are still using the correct window before setting pixel format.
Alexandre Julliard [Tue, 18 Jul 2017 08:03:51 +0000 (10:03 +0200)]
wined3d: Make sure we are still using the correct window before setting pixel format.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod2d1: Force appropriate antialiasing mode when drawing text elements using 2D primitives.
Nikolay Sivov [Tue, 18 Jul 2017 06:46:17 +0000 (09:46 +0300)]
d2d1: Force appropriate antialiasing mode when drawing text elements using 2D primitives.

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 agod2d1: Enforce text antialias mode vs text rendering mode consistency.
Nikolay Sivov [Tue, 18 Jul 2017 06:46:16 +0000 (09:46 +0300)]
d2d1: Enforce text antialias mode vs text rendering mode consistency.

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 agod2d1: Pass current text antialias mode down to IDWriteGlyphRunAnalysis.
Nikolay Sivov [Tue, 18 Jul 2017 06:46:15 +0000 (09:46 +0300)]
d2d1: Pass current text antialias mode down to IDWriteGlyphRunAnalysis.

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 agod3d11: Handle D3D11_MAP_WRITE map type.
Józef Kucia [Mon, 17 Jul 2017 22:17:20 +0000 (00:17 +0200)]
d3d11: Handle D3D11_MAP_WRITE map type.

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3d11/tests: Add additional tests for SM5 bit instructions.
Józef Kucia [Mon, 17 Jul 2017 22:17:19 +0000 (00:17 +0200)]
d3d11/tests: Add additional tests for SM5 bit instructions.

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowined3d: Translate ld_{raw, structured} instructions more carefully.
Józef Kucia [Mon, 17 Jul 2017 22:17:18 +0000 (00:17 +0200)]
wined3d: Translate ld_{raw, structured} instructions more carefully.

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowined3d: Translate bfi, ubfe, ibfe instructions more carefully.
Józef Kucia [Mon, 17 Jul 2017 22:17:17 +0000 (00:17 +0200)]
wined3d: Translate bfi, ubfe, ibfe instructions more carefully.

Makes sure that we do not overwrite source parameters for consecutive
GLSL function calls when the instruction is translated into multiple
lines.

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agontdll: Don't copy cached debug registers from the parent thread.
Alexandre Julliard [Tue, 18 Jul 2017 09:34:22 +0000 (11:34 +0200)]
ntdll: Don't copy cached debug registers from the parent thread.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agontdll: Move NtGetContextThread implementation to the platform-specific files.
Alexandre Julliard [Tue, 18 Jul 2017 09:15:46 +0000 (11:15 +0200)]
ntdll: Move NtGetContextThread implementation to the platform-specific files.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>