wine-orson.git
6 years agoRelease 2.17. wine-2.17
Alexandre Julliard [Fri, 15 Sep 2017 18:09:32 +0000 (20:09 +0200)]
Release 2.17.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agodsquery: Register CommonQuery coclass.
Zebediah Figura [Fri, 15 Sep 2017 16:41:39 +0000 (11:41 -0500)]
dsquery: Register CommonQuery coclass.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoopengl32: Update to OpenGL 4.6.
Matteo Bruni [Fri, 15 Sep 2017 13:12:27 +0000 (15:12 +0200)]
opengl32: Update to OpenGL 4.6.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoopengl32: Support a couple new typedefs in the XML.
Matteo Bruni [Fri, 15 Sep 2017 13:12:26 +0000 (15:12 +0200)]
opengl32: Support a couple new typedefs in the XML.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoopengl32/tests: Fix typo in ok() condition.
Matteo Bruni [Fri, 15 Sep 2017 13:12:25 +0000 (15:12 +0200)]
opengl32/tests: Fix typo in ok() condition.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agokernel32/tests: Test suspended process states.
Jonathan Doron [Thu, 14 Sep 2017 08:49:36 +0000 (11:49 +0300)]
kernel32/tests: Test suspended process states.

Signed-off-by: Jonathan Doron <jond@wizery.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoshell32: Implement Application property for FolderItem.
Nikolay Sivov [Fri, 15 Sep 2017 10:14:17 +0000 (13:14 +0300)]
shell32: Implement Application property for FolderItem.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoshell32/tests: Remove workarounds that are no longer relevant.
Nikolay Sivov [Fri, 15 Sep 2017 10:14:16 +0000 (13:14 +0300)]
shell32/tests: Remove workarounds that are no longer relevant.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3d9: Ask for texture GetDC() capability GET_DC based on texture format instead of...
Nikolay Sivov [Fri, 15 Sep 2017 05:14:34 +0000 (08:14 +0300)]
d3d9: Ask for texture GetDC() capability GET_DC based on texture format instead of initial swapchain buffer format.

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: Implement GetBounds() for path geometries.
Nikolay Sivov [Thu, 14 Sep 2017 12:10:57 +0000 (15:10 +0300)]
d2d1: Implement GetBounds() for path geometries.

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: Use better bezier segment bounds approximation when updating figure bounds.
Nikolay Sivov [Thu, 14 Sep 2017 12:10:56 +0000 (15:10 +0300)]
d2d1: Use better bezier segment bounds approximation when updating figure bounds.

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 agoieframe: Parse multiple command-line arguments.
Zebediah Figura [Fri, 15 Sep 2017 05:43:06 +0000 (00:43 -0500)]
ieframe: Parse multiple command-line arguments.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agounicows: Fix CreateDialogParamW spec file entry.
Andrey Gusev [Thu, 14 Sep 2017 12:17:42 +0000 (15:17 +0300)]
unicows: Fix CreateDialogParamW spec file entry.

Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomshtml: Fixed getElementsByTagName for comment elements.
Jacek Caban [Thu, 14 Sep 2017 12:15:13 +0000 (14:15 +0200)]
mshtml: Fixed getElementsByTagName for comment elements.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoriched20: Don't scale the picture size with dpi.
Huw Davies [Thu, 14 Sep 2017 11:51:04 +0000 (12:51 +0100)]
riched20: Don't scale the picture size with dpi.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoriched20: Don't special case the non-stretching case.
Huw Davies [Thu, 14 Sep 2017 11:51:03 +0000 (12:51 +0100)]
riched20: Don't special case the non-stretching case.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoriched20: Correctly release the STGMEDIUM.
Huw Davies [Thu, 14 Sep 2017 11:51:02 +0000 (12:51 +0100)]
riched20: Correctly release the STGMEDIUM.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoriched20: Remove an unused parameter.
Huw Davies [Thu, 14 Sep 2017 11:51:01 +0000 (12:51 +0100)]
riched20: Remove an unused parameter.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agokernel32/tests: Avoid some delays in the process test.
Alexandre Julliard [Thu, 14 Sep 2017 15:31:55 +0000 (17:31 +0200)]
kernel32/tests: Avoid some delays in the process test.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agodwrite/tests: Added a helper to initialize test text source.
Nikolay Sivov [Thu, 14 Sep 2017 08:40:10 +0000 (11:40 +0300)]
dwrite/tests: Added a helper to initialize test text source.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomsi/tests: Add external UI tests for top-level actions.
Zebediah Figura [Thu, 14 Sep 2017 06:03:57 +0000 (01:03 -0500)]
msi/tests: Add external UI tests for top-level actions.

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: Some cleanup for external UI tests.
Zebediah Figura [Thu, 14 Sep 2017 06:03:56 +0000 (01:03 -0500)]
msi/tests: Some cleanup for external UI tests.

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: Perform the given action, or INSTALL, from MsiInstallProduct().
Zebediah Figura [Thu, 14 Sep 2017 06:03:55 +0000 (01:03 -0500)]
msi: Perform the given action, or INSTALL, from MsiInstallProduct().

The removed code to re-run all actions after InstallValidate is old
and not supported by tests.

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: Implement the INSTALL top-level action.
Zebediah Figura [Thu, 14 Sep 2017 06:03:54 +0000 (01:03 -0500)]
msi: Implement the INSTALL top-level action.

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: More fully implement the ExecuteAction action.
Zebediah Figura [Thu, 14 Sep 2017 06:03:53 +0000 (01:03 -0500)]
msi: More fully implement the ExecuteAction action.

Major changes are adding several new UI messages (many of obscure
purpose), and executing the action given in the EXECUTEACTION
property rather than always running the InstallExecuteSequence table.

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 agowindowscodecs: Fix IWICBitmapEncoder::SetPalette for a not initialized case in TIFF...
Dmitry Timoshkov [Wed, 13 Sep 2017 20:12:42 +0000 (15:12 -0500)]
windowscodecs: Fix IWICBitmapEncoder::SetPalette for a not initialized case in TIFF encoder.

Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowindowscodecs: Implement IWICBitmapFrameEncode::SetPalette in the TIFF encoder.
Dmitry Timoshkov [Wed, 13 Sep 2017 20:12:41 +0000 (15:12 -0500)]
windowscodecs: Implement IWICBitmapFrameEncode::SetPalette in the TIFF encoder.

Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowindowscodecs: Implement IWICBitmapDecoder::CopyPalette in TIFF decoder.
Dmitry Timoshkov [Wed, 13 Sep 2017 20:12:40 +0000 (15:12 -0500)]
windowscodecs: Implement IWICBitmapDecoder::CopyPalette in TIFF decoder.

Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowindowscodecs: Implement IWICBitmapFrameEncode::SetPalette in BMP encoder.
Dmitry Timoshkov [Wed, 13 Sep 2017 20:12:39 +0000 (15:12 -0500)]
windowscodecs: Implement IWICBitmapFrameEncode::SetPalette in BMP encoder.

Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowindowscodecs: Fix IWICBitmapEncoder::SetPalette for a not initialized case in BMP...
Dmitry Timoshkov [Wed, 13 Sep 2017 20:12:38 +0000 (15:12 -0500)]
windowscodecs: Fix IWICBitmapEncoder::SetPalette for a not initialized case in BMP encoder.

Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomshtml: Expose IHTMLElement6 to scripts.
Jacek Caban [Wed, 13 Sep 2017 10:52:40 +0000 (12:52 +0200)]
mshtml: Expose IHTMLElement6 to scripts.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomshtml: Forward attributes functions from IHTMLElement6 to older interfaces.
Jacek Caban [Wed, 13 Sep 2017 10:52:29 +0000 (12:52 +0200)]
mshtml: Forward attributes functions from IHTMLElement6 to older interfaces.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomshtml: Forward IHTMLElement6::get_tagName to IHTMLElement implementation.
Jacek Caban [Wed, 13 Sep 2017 10:52:18 +0000 (12:52 +0200)]
mshtml: Forward IHTMLElement6::get_tagName to IHTMLElement implementation.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomshtml: Forward IHTMLElement6::get_nodeName to IHTMLDOMNode implementation.
Jacek Caban [Wed, 13 Sep 2017 11:17:30 +0000 (13:17 +0200)]
mshtml: Forward IHTMLElement6::get_nodeName to IHTMLDOMNode implementation.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoshell32: Implement Application() property for Folder and FolderItems.
Nikolay Sivov [Wed, 13 Sep 2017 10:58:32 +0000 (13:58 +0300)]
shell32: Implement Application() property for Folder and FolderItems.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowined3d: Disable the ARBfp blitter on core profile.
Matteo Bruni [Tue, 12 Sep 2017 19:22:29 +0000 (21:22 +0200)]
wined3d: Disable the ARBfp blitter on core profile.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowined3d: Disable YUV formats when not supported.
Matteo Bruni [Tue, 12 Sep 2017 19:22:28 +0000 (21:22 +0200)]
wined3d: Disable YUV formats when not supported.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomsi: Simplify message type processing.
Zebediah Figura [Wed, 13 Sep 2017 01:51:17 +0000 (20:51 -0500)]
msi: Simplify message type processing.

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: Remove ACTION_PerformUIAction().
Zebediah Figura [Wed, 13 Sep 2017 01:51:16 +0000 (20:51 -0500)]
msi: Remove ACTION_PerformUIAction().

It was originally used to show dialogs, but this is now handled in
ACTION_HandleCustomAction().

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 agontdll: Don't use the mapping handle to detect file mappings.
Alexandre Julliard [Wed, 13 Sep 2017 09:48:57 +0000 (11:48 +0200)]
ntdll: Don't use the mapping handle to detect file mappings.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agontdll: Also release memory past the last view in remove_reserved_area.
Alexandre Julliard [Wed, 13 Sep 2017 08:11:54 +0000 (10:11 +0200)]
ntdll: Also release memory past the last view in remove_reserved_area.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agokernel32: Add stub for GetProcessWorkingSetSizeEx.
Sebastian Lackner [Wed, 13 Sep 2017 05:10:49 +0000 (23:10 -0600)]
kernel32: Add stub for GetProcessWorkingSetSizeEx.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agontdll: Apply owner and group regardless of the SE_OWNER_DEFAULTED or SE_GROUP_DEFAULT...
Jonathan Doron [Tue, 12 Sep 2017 12:33:37 +0000 (15:33 +0300)]
ntdll: Apply owner and group regardless of the SE_OWNER_DEFAULTED or SE_GROUP_DEFAULTED flags.

Signed-off-by: Jonathan Doron <jond@wizery.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agocomctl32/tests: Dump failed message sequence correctly.
Fabian Maurer [Tue, 12 Sep 2017 19:53:01 +0000 (22:53 +0300)]
comctl32/tests: Dump failed message sequence correctly.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoitss: Fix handling non-ASCII content paths.
Rafał Mużyło [Tue, 12 Sep 2017 17:09:04 +0000 (19:09 +0200)]
itss: Fix handling non-ASCII content paths.

Signed-off-by: Rafał Mużyło <galtgendo@o2.pl>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoshell32: Implement FolderItems_get_Count.
Alex Henrie [Tue, 12 Sep 2017 05:16:42 +0000 (23:16 -0600)]
shell32: Implement FolderItems_get_Count.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoshell32: Implement FolderItems_Item.
Alex Henrie [Tue, 12 Sep 2017 05:16:41 +0000 (23:16 -0600)]
shell32: Implement FolderItems_Item.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoshell32/tests: Add tests for FolderItems_Item and FolderItems_get_Count.
Alex Henrie [Tue, 12 Sep 2017 05:16:40 +0000 (23:16 -0600)]
shell32/tests: Add tests for FolderItems_Item and FolderItems_get_Count.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agousp10/tests: Remove workarounds that are no longer useful.
Nikolay Sivov [Mon, 11 Sep 2017 17:15:33 +0000 (20:15 +0300)]
usp10/tests: Remove workarounds that are no longer useful.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agousp10/tests: Move initialization to a separate function, add another ScriptShape...
Nikolay Sivov [Mon, 11 Sep 2017 17:15:32 +0000 (20:15 +0300)]
usp10/tests: Move initialization to a separate function, add another ScriptShape() test.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agousp10/tests: Remove special itemization failure test that doesn't happen.
Nikolay Sivov [Mon, 11 Sep 2017 17:15:31 +0000 (20:15 +0300)]
usp10/tests: Remove special itemization failure test that doesn't happen.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomshtml: Added IHTMLDocument7::getElementsByClassName implementation.
Jacek Caban [Tue, 12 Sep 2017 11:15:48 +0000 (13:15 +0200)]
mshtml: Added IHTMLDocument7::getElementsByClassName implementation.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomshtml: Added IHTMLDocument7::head property implementation.
Jacek Caban [Tue, 12 Sep 2017 11:15:37 +0000 (13:15 +0200)]
mshtml: Added IHTMLDocument7::head property implementation.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomshtml: Expose IHTMLDocument7 interface to scripts.
Jacek Caban [Tue, 12 Sep 2017 11:15:23 +0000 (13:15 +0200)]
mshtml: Expose IHTMLDocument7 interface to scripts.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomshtml: Added implementation of IHTMLDocument7 event handler properties for supported...
Jacek Caban [Tue, 12 Sep 2017 11:14:57 +0000 (13:14 +0200)]
mshtml: Added implementation of IHTMLDocument7 event handler properties for supported events.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomshtml: Forward common function from IHTMLDocument7 to IHTMLDocument2.
Jacek Caban [Tue, 12 Sep 2017 11:14:43 +0000 (13:14 +0200)]
mshtml: Forward common function from IHTMLDocument7 to IHTMLDocument2.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomshtml: Added IHTMLDocument7::get_defaultView implementation and use it for get_paren...
Jacek Caban [Tue, 12 Sep 2017 11:14:32 +0000 (13:14 +0200)]
mshtml: Added IHTMLDocument7::get_defaultView implementation and use it for get_parentWindow implementation.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomshtml: Added IHTMLDocument7::get_characterSet implementation and use it in get_charset.
Jacek Caban [Tue, 12 Sep 2017 11:14:19 +0000 (13:14 +0200)]
mshtml: Added IHTMLDocument7::get_characterSet implementation and use it in get_charset.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomsvcrt: Protect onexit table with critical section.
Daniel Lehman [Thu, 31 Aug 2017 21:59:12 +0000 (14:59 -0700)]
msvcrt: Protect onexit table with critical section.

Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agontdll: Get rid of the VPROT_VALLOC flag.
Alexandre Julliard [Tue, 12 Sep 2017 10:59:28 +0000 (12:59 +0200)]
ntdll: Get rid of the VPROT_VALLOC flag.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agontdll: Pass the mapping file access instead of the protection bits to the server.
Alexandre Julliard [Tue, 12 Sep 2017 09:42:04 +0000 (11:42 +0200)]
ntdll: Pass the mapping file access instead of the protection bits to the server.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agontdll: Verify page protection against the mapping protections in VirtualAlloc and...
Alexandre Julliard [Tue, 12 Sep 2017 08:57:07 +0000 (10:57 +0200)]
ntdll: Verify page protection against the mapping protections in VirtualAlloc and VirtualProtect.

This partially reverts 3a5ee02735d49a808f3f3fc3a3f39d8e14089a52.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agontdll: Fix access rights checks for mapping objects.
Alexandre Julliard [Tue, 12 Sep 2017 08:33:33 +0000 (10:33 +0200)]
ntdll: Fix access rights checks for mapping objects.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoshell32: Stub SHOpenWithDialog.
Vincent Povirk [Mon, 11 Sep 2017 20:26:53 +0000 (15:26 -0500)]
shell32: Stub SHOpenWithDialog.

Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowindowscodecs: Fix IWICBitmapEncoder::SetPalette for a not initialized case in JPEG...
Dmitry Timoshkov [Mon, 11 Sep 2017 20:38:18 +0000 (15:38 -0500)]
windowscodecs: Fix IWICBitmapEncoder::SetPalette for a not initialized case in JPEG encoder.

Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowinhttp: Implement WINHTTP_OPTION_SECURE_PROTOCOLS.
Hans Leidekker [Tue, 12 Sep 2017 07:59:06 +0000 (09:59 +0200)]
winhttp: Implement WINHTTP_OPTION_SECURE_PROTOCOLS.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowinhttp: Allocate a credential handle for each session.
Hans Leidekker [Tue, 12 Sep 2017 07:59:05 +0000 (09:59 +0200)]
winhttp: Allocate a credential handle for each session.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowinhttp: Trace errors from send and recv.
Hans Leidekker [Tue, 12 Sep 2017 07:59:04 +0000 (09:59 +0200)]
winhttp: Trace errors from send and recv.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agosetupapi: Recursively remove any subkeys before calling NtDeleteKey().
Hugh McMaster [Tue, 12 Sep 2017 06:08:13 +0000 (06:08 +0000)]
setupapi: Recursively remove any subkeys before calling NtDeleteKey().

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomfplat: Implement MFCreateEventQueue.
Alistair Leslie-Hughes [Fri, 8 Sep 2017 11:00:20 +0000 (11:00 +0000)]
mfplat: Implement MFCreateEventQueue.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomfplat: Implement MFCreateStreamDescriptor.
Alistair Leslie-Hughes [Fri, 8 Sep 2017 11:00:12 +0000 (11:00 +0000)]
mfplat: Implement MFCreateStreamDescriptor.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agosane.ds: Add support for word list options.
Vincent Povirk [Mon, 11 Sep 2017 18:47:55 +0000 (13:47 -0500)]
sane.ds: Add support for word list options.

Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoloader/wine.inf: Put 32-bit .ds fakedlls in windows/twain_32.
Vincent Povirk [Mon, 11 Sep 2017 17:44:48 +0000 (12:44 -0500)]
loader/wine.inf: Put 32-bit .ds fakedlls in windows/twain_32.

Some programs search for TWAIN devices by listing this directory.

Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomsvcrt: Use exception base to create copy constructor pointer.
Daniel Lehman [Fri, 8 Sep 2017 17:32:07 +0000 (10:32 -0700)]
msvcrt: Use exception base to create copy constructor pointer.

The exception base (exc_base) from the ExceptionRecord is used in
find_caught_type to find the type info for the exception. All related
type information is relative to this base, including the offset for
the copy constructor.

Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agontdll: Trace views once they are properly initialized.
Alexandre Julliard [Mon, 11 Sep 2017 17:51:43 +0000 (19:51 +0200)]
ntdll: Trace views once they are properly initialized.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agontdll: Avoid accessing builtin views outside of the critical section.
Alexandre Julliard [Mon, 11 Sep 2017 17:50:30 +0000 (19:50 +0200)]
ntdll: Avoid accessing builtin views outside of the critical section.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowindowscodecs: Implement IWICBitmapFrameEncode::SetPalette in JPEG encoder.
Dmitry Timoshkov [Mon, 11 Sep 2017 16:40:27 +0000 (11:40 -0500)]
windowscodecs: Implement IWICBitmapFrameEncode::SetPalette in JPEG encoder.

Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoevr: Add interface definitions for EVR filter.
Fabian Maurer [Sun, 10 Sep 2017 22:40:12 +0000 (00:40 +0200)]
evr: Add interface definitions for EVR filter.

Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agodxva2api.idl: Add interface IDirectXVideoMemoryConfiguration.
Fabian Maurer [Sun, 10 Sep 2017 22:40:11 +0000 (00:40 +0200)]
dxva2api.idl: Add interface IDirectXVideoMemoryConfiguration.

Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomfidl.idl: Add interfaces IMFClockStateSink, IMFGetService.
Fabian Maurer [Sun, 10 Sep 2017 22:40:10 +0000 (00:40 +0200)]
mfidl.idl: Add interfaces IMFClockStateSink, IMFGetService.

Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agoqcap: Remove redundant filter state check.
Nikolay Sivov [Mon, 11 Sep 2017 09:54:04 +0000 (12:54 +0300)]
qcap: Remove redundant filter state check.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agocomctl32/tooltips: Calm down trace messages.
Nikolay Sivov [Mon, 11 Sep 2017 09:40:05 +0000 (12:40 +0300)]
comctl32/tooltips: Calm down trace messages.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agocomctl32/tooltips: Set current tool before sending TTN_NEEDTEXT.
Nikolay Sivov [Mon, 11 Sep 2017 09:40:04 +0000 (12:40 +0300)]
comctl32/tooltips: Set current tool before sending TTN_NEEDTEXT.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agocomctl32/tooltips: Return full toolinfo from TTM_GETCURRENTTOOL.
Nikolay Sivov [Mon, 11 Sep 2017 09:40:03 +0000 (12:40 +0300)]
comctl32/tooltips: Return full toolinfo from TTM_GETCURRENTTOOL.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agodwrite: Support DWRITE_TRIMMING_GRANULARITY_WORD mode.
Nikolay Sivov [Mon, 11 Sep 2017 09:37:14 +0000 (12:37 +0300)]
dwrite: Support DWRITE_TRIMMING_GRANULARITY_WORD mode.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3d11/tests: Add test for conservative depth output.
Józef Kucia [Sun, 10 Sep 2017 12:25:41 +0000 (14:25 +0200)]
d3d11/tests: Add test for conservative depth output.

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: Add conservative depth output information to GLSL pixel shaders.
Michael Müller [Sun, 10 Sep 2017 12:25:40 +0000 (14:25 +0200)]
wined3d: Add conservative depth output information to GLSL pixel shaders.

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: Recognize conservative depth output registers.
Michael Müller [Sun, 10 Sep 2017 12:25:39 +0000 (14:25 +0200)]
wined3d: Recognize conservative depth output registers.

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: Copy the module handle to a local variable in wined3d_cs_run().
Matteo Bruni [Fri, 8 Sep 2017 16:44:11 +0000 (18:44 +0200)]
wined3d: Copy the module handle to a local variable in wined3d_cs_run().

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3d8/tests: Trace the current test in test_signed_formats().
Matteo Bruni [Fri, 8 Sep 2017 16:44:10 +0000 (18:44 +0200)]
d3d8/tests: Trace the current test in test_signed_formats().

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agod3d9/tests: Trace the current test in test_signed_formats().
Matteo Bruni [Fri, 8 Sep 2017 16:44:09 +0000 (18:44 +0200)]
d3d9/tests: Trace the current test in test_signed_formats().

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowined3d: Get rid of most of the redundant query flushes.
Matteo Bruni [Fri, 8 Sep 2017 16:44:08 +0000 (18:44 +0200)]
wined3d: Get rid of most of the redundant query flushes.

This way we avoid queueing up CS packets on each
wined3d_query_get_data() call, which has been seen in some degenerate
cases to starve other client threads that are trying to submit actual
work into the CS (sort-of a livelock).

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowined3d: Restore support for d3d9 extension formats.
Matteo Bruni [Fri, 8 Sep 2017 16:44:07 +0000 (18:44 +0200)]
wined3d: Restore support for d3d9 extension formats.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agokernel32/tests: Also run mapping tests against an executable image.
Alexandre Julliard [Mon, 11 Sep 2017 13:48:54 +0000 (15:48 +0200)]
kernel32/tests: Also run mapping tests against an executable image.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agokernel32/tests: Also run mapping tests against an anonymous mapping.
Alexandre Julliard [Mon, 11 Sep 2017 09:50:11 +0000 (11:50 +0200)]
kernel32/tests: Also run mapping tests against an anonymous mapping.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agokernel32/tests: Fix mapping protection tests to succeed on recent Windows versions.
Alexandre Julliard [Mon, 11 Sep 2017 09:33:18 +0000 (11:33 +0200)]
kernel32/tests: Fix mapping protection tests to succeed on recent Windows versions.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agokernel32/tests: Retrieve the page size only once.
Alexandre Julliard [Mon, 11 Sep 2017 09:18:48 +0000 (11:18 +0200)]
kernel32/tests: Retrieve the page size only once.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowinemenubuilder: Set StartupWMClass for shortcuts to exe files.
Vincent Povirk [Fri, 8 Sep 2017 15:54:30 +0000 (10:54 -0500)]
winemenubuilder: Set StartupWMClass for shortcuts to exe files.

Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agowinex11: Convert process name to lowercase for WM name hint.
Vincent Povirk [Fri, 8 Sep 2017 15:54:29 +0000 (10:54 -0500)]
winex11: Convert process name to lowercase for WM name hint.

The startup-notification spec is vague on this point, but it seems
that StartupWMClass is case-sensitive. We should convert to a
standard case so we can use that field.

Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
6 years agomsxml3/httpreq: Support HEAD request.
Nikolay Sivov [Fri, 8 Sep 2017 14:47:27 +0000 (17:47 +0300)]
msxml3/httpreq: Support HEAD request.

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