wine/eterwine.git
9 years agoserver: Add a helper function to validate and return object attributes.
Alexandre Julliard [Fri, 15 Jan 2016 09:15:31 +0000 (18:15 +0900)]
server: Add a helper function to validate and return object attributes.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoserver: Store the attributes in the object_attributes structure.
Alexandre Julliard [Fri, 15 Jan 2016 08:53:34 +0000 (17:53 +0900)]
server: Store the attributes in the object_attributes structure.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agontdll: Add a helper function to allocate the full object_attributes structure.
Alexandre Julliard [Fri, 15 Jan 2016 08:40:56 +0000 (17:40 +0900)]
ntdll: Add a helper function to allocate the full object_attributes structure.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agouser32: Remove unused variables in SCROLL_TrackScrollBar.
Carlo Bramini [Fri, 15 Jan 2016 09:20:40 +0000 (12:20 +0300)]
user32: Remove unused variables in SCROLL_TrackScrollBar.

Signed-off-by: Carlo Bramini <carlo.bramix@libero.it>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agodwrite: Always initialize out pointers.
Nikolay Sivov [Fri, 15 Jan 2016 09:12:24 +0000 (12:12 +0300)]
dwrite: Always initialize out pointers.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoole32/tests: OleGetClipboard should succeed when COM/OLE is not inited.
Paul Gofman [Fri, 15 Jan 2016 12:09:55 +0000 (15:09 +0300)]
ole32/tests: OleGetClipboard should succeed when COM/OLE is not inited.

Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoole32: Zero output interface pointer in OleGetClipboard() on error.
Paul Gofman [Fri, 15 Jan 2016 12:09:54 +0000 (15:09 +0300)]
ole32: Zero output interface pointer in OleGetClipboard() on error.

Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoole32: Fix behaviour of OLE init/uninit.
Paul Gofman [Fri, 15 Jan 2016 10:29:31 +0000 (13:29 +0300)]
ole32: Fix behaviour of OLE init/uninit.

Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agogdi32: Implement synthesizing bold glyphs for bitmap fonts.
Akihiro Sagawa [Wed, 13 Jan 2016 14:09:11 +0000 (23:09 +0900)]
gdi32: Implement synthesizing bold glyphs for bitmap fonts.

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>
9 years agogdi32: Return an boolean value whether synthesizing bold glyph is success.
Akihiro Sagawa [Wed, 13 Jan 2016 14:09:09 +0000 (23:09 +0900)]
gdi32: Return an boolean value whether synthesizing bold glyph is success.

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>
9 years agogdi32: Fix the advance width in synthetic bold glyphs with scaling.
Akihiro Sagawa [Wed, 13 Jan 2016 14:09:08 +0000 (23:09 +0900)]
gdi32: Fix the advance width in synthetic bold glyphs with scaling.

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>
9 years agogdi32: Add a helper function to calculate the glyph advance metric.
Akihiro Sagawa [Wed, 13 Jan 2016 14:09:06 +0000 (23:09 +0900)]
gdi32: Add a helper function to calculate the glyph advance metric.

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>
9 years agowinegstreamer: Update to use gstreamer-1.0.
Andrew Eikum [Thu, 14 Jan 2016 19:23:04 +0000 (13:23 -0600)]
winegstreamer: Update to use gstreamer-1.0.

Based on initial work by Rafał Mużyło.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowinegstreamer: Add TRACEs and improve formatting.
Andrew Eikum [Thu, 14 Jan 2016 19:22:11 +0000 (13:22 -0600)]
winegstreamer: Add TRACEs and improve formatting.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agodwrite: Store locale name range attribute in lower case.
Nikolay Sivov [Thu, 14 Jan 2016 21:24:24 +0000 (00:24 +0300)]
dwrite: Store locale name range attribute in lower case.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agodwrite: Implement support for underlines.
Nikolay Sivov [Thu, 14 Jan 2016 21:24:23 +0000 (00:24 +0300)]
dwrite: Implement support for underlines.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoole2disp: Implement SafeArrayAccessData()/SafeArrayUnaccessData().
Nikolay Sivov [Thu, 14 Jan 2016 20:34:17 +0000 (23:34 +0300)]
ole2disp: Implement SafeArrayAccessData()/SafeArrayUnaccessData().

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoxaudio2: Remove unnecessary kernel32 imports.
Alexandre Julliard [Fri, 15 Jan 2016 06:10:25 +0000 (15:10 +0900)]
xaudio2: Remove unnecessary kernel32 imports.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agox3daudio1_0: Use shared source.
Andrew Eikum [Thu, 14 Jan 2016 17:38:41 +0000 (11:38 -0600)]
x3daudio1_0: Use shared source.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agox3daudio1_1: Use shared source.
Andrew Eikum [Thu, 14 Jan 2016 17:38:38 +0000 (11:38 -0600)]
x3daudio1_1: Use shared source.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agox3daudio1_2: Use shared source.
Andrew Eikum [Thu, 14 Jan 2016 17:38:35 +0000 (11:38 -0600)]
x3daudio1_2: Use shared source.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agox3daudio1_3: Use shared source.
Andrew Eikum [Thu, 14 Jan 2016 17:38:32 +0000 (11:38 -0600)]
x3daudio1_3: Use shared source.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agox3daudio1_4: Use shared source.
Andrew Eikum [Thu, 14 Jan 2016 17:38:29 +0000 (11:38 -0600)]
x3daudio1_4: Use shared source.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agox3daudio1_5: Use shared source.
Andrew Eikum [Thu, 14 Jan 2016 17:38:26 +0000 (11:38 -0600)]
x3daudio1_5: Use shared source.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agox3daudio1_6: Use shared source.
Andrew Eikum [Thu, 14 Jan 2016 17:38:23 +0000 (11:38 -0600)]
x3daudio1_6: Use shared source.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agox3daudio1_7: Use shared source.
Andrew Eikum [Thu, 14 Jan 2016 17:38:19 +0000 (11:38 -0600)]
x3daudio1_7: Use shared source.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoinclude: Add declaration D3DXDisassembleEffect.
Alistair Leslie-Hughes [Tue, 12 Jan 2016 07:32:29 +0000 (18:32 +1100)]
include: Add declaration D3DXDisassembleEffect.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agomsvcp60: Export more complex numbers operators.
Piotr Caban [Thu, 14 Jan 2016 14:55:27 +0000 (15:55 +0100)]
msvcp60: Export more complex numbers operators.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agomsvcp100: Add numeric_limits<*>::lowest implementation.
Piotr Caban [Thu, 14 Jan 2016 14:55:16 +0000 (15:55 +0100)]
msvcp100: Add numeric_limits<*>::lowest implementation.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoxapofx1_1: Use shared source.
Andrew Eikum [Thu, 14 Jan 2016 14:10:09 +0000 (08:10 -0600)]
xapofx1_1: Use shared source.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoxapofx1_2: Use shared source.
Andrew Eikum [Thu, 14 Jan 2016 14:10:06 +0000 (08:10 -0600)]
xapofx1_2: Use shared source.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoxapofx1_3: Use shared source.
Andrew Eikum [Thu, 14 Jan 2016 14:10:02 +0000 (08:10 -0600)]
xapofx1_3: Use shared source.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoxapofx1_4: Use shared source.
Andrew Eikum [Thu, 14 Jan 2016 14:09:59 +0000 (08:09 -0600)]
xapofx1_4: Use shared source.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoxapofx1_5: Use shared source.
Andrew Eikum [Thu, 14 Jan 2016 14:09:55 +0000 (08:09 -0600)]
xapofx1_5: Use shared source.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agouser32/tests: Use 'start' and 'end' variables in test comparisons.
Hugh McMaster [Thu, 14 Jan 2016 09:05:01 +0000 (20:05 +1100)]
user32/tests: Use 'start' and 'end' variables in test comparisons.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agorasapi32: Add RasSetCustomAuthDataA/W stubs.
Austin English [Tue, 5 Jan 2016 06:56:46 +0000 (00:56 -0600)]
rasapi32: Add RasSetCustomAuthDataA/W stubs.

Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agorpcrt4: Add a stub for RpcBindingServerFromClient.
Austin English [Wed, 6 Jan 2016 09:20:37 +0000 (03:20 -0600)]
rpcrt4: Add a stub for RpcBindingServerFromClient.

Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agokernel32: Add SetSearchPathMode stub.
Austin English [Fri, 8 Jan 2016 04:02:37 +0000 (22:02 -0600)]
kernel32: Add SetSearchPathMode stub.

Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agowinegstreamer: Always run gstreamer callbacks on a Wine thread.
Andrew Eikum [Tue, 12 Jan 2016 19:35:04 +0000 (13:35 -0600)]
winegstreamer: Always run gstreamer callbacks on a Wine thread.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agohidclass.sys: Implement IOCTL_HID_SET_FEATURE.
Aric Stewart [Mon, 11 Jan 2016 15:18:44 +0000 (09:18 -0600)]
hidclass.sys: Implement IOCTL_HID_SET_FEATURE.

Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agohidclass.sys: Implement IOCTL_HID_GET_FEATURE.
Aric Stewart [Mon, 11 Jan 2016 15:18:38 +0000 (09:18 -0600)]
hidclass.sys: Implement IOCTL_HID_GET_FEATURE.

Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agohidclass.sys: Implement HID_Device_write.
Aric Stewart [Mon, 11 Jan 2016 14:40:07 +0000 (08:40 -0600)]
hidclass.sys: Implement HID_Device_write.

Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agomsvcp60/tests: Test virtual base table size exports.
Bernhard Übelacker [Wed, 13 Jan 2016 21:55:16 +0000 (22:55 +0100)]
msvcp60/tests: Test virtual base table size exports.

Signed-off-by: Bernhard Übelacker <bernhardu@vr-web.de>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agomsvcp90/tests: Test virtual base table size exports.
Bernhard Übelacker [Wed, 13 Jan 2016 21:54:56 +0000 (22:54 +0100)]
msvcp90/tests: Test virtual base table size exports.

Signed-off-by: Bernhard Übelacker <bernhardu@vr-web.de>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agomsvcp100/tests: Test virtual base table size exports.
Bernhard Übelacker [Wed, 13 Jan 2016 21:54:29 +0000 (22:54 +0100)]
msvcp100/tests: Test virtual base table size exports.

Signed-off-by: Bernhard Übelacker <bernhardu@vr-web.de>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agomsvcp110/tests: Test virtual base table size exports.
Bernhard Übelacker [Wed, 13 Jan 2016 21:54:11 +0000 (22:54 +0100)]
msvcp110/tests: Test virtual base table size exports.

Signed-off-by: Bernhard Übelacker <bernhardu@vr-web.de>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoexplorer: Support a quoted /desktop option.
Alexandre Julliard [Thu, 14 Jan 2016 10:41:49 +0000 (19:41 +0900)]
explorer: Support a quoted /desktop option.

Workaround for Worms Armageddon which uses an invalid but previously
supported syntax.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agooleaut32/tests: Show that VARIANT_UserUnmarshal may reuse passed in BSTR.
Piotr Caban [Wed, 13 Jan 2016 08:51:57 +0000 (09:51 +0100)]
oleaut32/tests: Show that VARIANT_UserUnmarshal may reuse passed in BSTR.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agooleaut32: Don't overwrite pointers in VARIANT_UserUnmarshal so we may free or reuse...
Piotr Caban [Wed, 13 Jan 2016 08:51:44 +0000 (09:51 +0100)]
oleaut32: Don't overwrite pointers in VARIANT_UserUnmarshal so we may free or reuse them.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agooleaut32: Reuse safearray passed to LPSAFEARRAY_UserUnmarshal if possible.
Piotr Caban [Wed, 13 Jan 2016 08:51:32 +0000 (09:51 +0100)]
oleaut32: Reuse safearray passed to LPSAFEARRAY_UserUnmarshal if possible.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agooleaut32: Pass safearray from VARIANT_UserUnmarshal to LPSAFEARRAY_UserUnmarshal...
Piotr Caban [Wed, 13 Jan 2016 08:51:23 +0000 (09:51 +0100)]
oleaut32: Pass safearray from VARIANT_UserUnmarshal to LPSAFEARRAY_UserUnmarshal so it can be reused.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agooleaut32: Set safearray pointer to NULL in LPSAFEARRAY_UserFree.
Piotr Caban [Wed, 13 Jan 2016 08:51:12 +0000 (09:51 +0100)]
oleaut32: Set safearray pointer to NULL in LPSAFEARRAY_UserFree.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agooleaut32/tests: Add tests for safearray unmarshaling into passed variant.
Piotr Caban [Wed, 13 Jan 2016 08:50:55 +0000 (09:50 +0100)]
oleaut32/tests: Add tests for safearray unmarshaling into passed variant.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agodwrite: Scale strikethrough thickness and position with current font size.
Nikolay Sivov [Wed, 13 Jan 2016 22:04:54 +0000 (01:04 +0300)]
dwrite: Scale strikethrough thickness and position with current font size.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agodwrite: Handle bitmap allocation error when rendering to bitmap target.
Nikolay Sivov [Wed, 13 Jan 2016 19:41:13 +0000 (22:41 +0300)]
dwrite: Handle bitmap allocation error when rendering to bitmap target.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoole2disp: Implement SafeArrayLock()/SafeArrayUnlock().
Nikolay Sivov [Wed, 13 Jan 2016 19:25:56 +0000 (22:25 +0300)]
ole2disp: Implement SafeArrayLock()/SafeArrayUnlock().

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agomscoree: Remove "Install Mono for Windows" message.
Vincent Povirk [Sat, 9 Jan 2016 22:16:24 +0000 (16:16 -0600)]
mscoree: Remove "Install Mono for Windows" message.

Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agomscoree: Remove search fallbacks when Wine Mono isn't installed.
Vincent Povirk [Sat, 9 Jan 2016 22:16:23 +0000 (16:16 -0600)]
mscoree: Remove search fallbacks when Wine Mono isn't installed.

Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agomshtml/tests: Fixed location tests on IE11.
Jacek Caban [Wed, 13 Jan 2016 15:32:28 +0000 (16:32 +0100)]
mshtml/tests: Fixed location tests on IE11.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoole2disp: Implement SafeArrayGetElemsize().
Nikolay Sivov [Wed, 13 Jan 2016 09:25:48 +0000 (12:25 +0300)]
ole2disp: Implement SafeArrayGetElemsize().

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoole2disp: Implement SafeArrayGetDim().
Nikolay Sivov [Wed, 13 Jan 2016 09:25:47 +0000 (12:25 +0300)]
ole2disp: Implement SafeArrayGetDim().

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agobcrypt/tests: Add tests for SHA hashes.
Hans Leidekker [Wed, 13 Jan 2016 09:43:37 +0000 (10:43 +0100)]
bcrypt/tests: Add tests for SHA hashes.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agobcrypt/tests: Don't load bcrypt dynamically.
Hans Leidekker [Wed, 13 Jan 2016 09:43:36 +0000 (10:43 +0100)]
bcrypt/tests: Don't load bcrypt dynamically.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agobcrypt: Add support for SHA hashes on Linux using GnuTLS.
Hans Leidekker [Wed, 13 Jan 2016 09:43:35 +0000 (10:43 +0100)]
bcrypt: Add support for SHA hashes on Linux using GnuTLS.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoshell32/tests: Trace the effective ShellExecuteEx() flags.
Francois Gouget [Wed, 13 Jan 2016 11:42:10 +0000 (12:42 +0100)]
shell32/tests: Trace the effective ShellExecuteEx() flags.

shell_execute_ex() adds some flags for its own internal needs. The
traces should reflect that.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoshell32/tests: Tweak some overly optimistic ok() messages.
Francois Gouget [Wed, 13 Jan 2016 11:41:15 +0000 (12:41 +0100)]
shell32/tests: Tweak some overly optimistic ok() messages.

ShellExecute() is more likely to have returned an unexpected error code
than it is to have succeeded.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agokernel32/tests: Declare childPrintf() as a printf-style function.
Francois Gouget [Wed, 13 Jan 2016 11:43:04 +0000 (12:43 +0100)]
kernel32/tests: Declare childPrintf() as a printf-style function.

And fix the corresponding warnings.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agokernel32/tests: Help the tests portably declare printf()-syle functions.
Francois Gouget [Wed, 13 Jan 2016 11:42:54 +0000 (12:42 +0100)]
kernel32/tests: Help the tests portably declare printf()-syle functions.

To do so they can now use the WINETEST_PRINTF_ATTR() macro.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agotests: Use plain printf() calls instead of fprintf(stdout).
Francois Gouget [Wed, 13 Jan 2016 11:41:42 +0000 (12:41 +0100)]
tests: Use plain printf() calls instead of fprintf(stdout).

The fprintf() calls are a left-over from when errors were reported to stderr.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agodde: Fix use-after-free.
Thomas Faller [Tue, 12 Jan 2016 21:06:30 +0000 (22:06 +0100)]
dde: Fix use-after-free.

Signed-off-by: Thomas Faller <tfaller1@gmx.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agodwrite: Fix strikethrough baseline origin.
Nikolay Sivov [Tue, 12 Jan 2016 20:12:09 +0000 (23:12 +0300)]
dwrite: Fix strikethrough baseline origin.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agodwrite: Pass drawing effect to renderer in DrawStrikethrough().
Nikolay Sivov [Tue, 12 Jan 2016 20:12:08 +0000 (23:12 +0300)]
dwrite: Pass drawing effect to renderer in DrawStrikethrough().

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agodwrite: Pass drawing effect to renderer in DrawGlyphRun().
Nikolay Sivov [Tue, 12 Jan 2016 20:12:07 +0000 (23:12 +0300)]
dwrite: Pass drawing effect to renderer in DrawGlyphRun().

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agodwrite: Keep underlines in separate list.
Nikolay Sivov [Tue, 12 Jan 2016 20:12:06 +0000 (23:12 +0300)]
dwrite: Keep underlines in separate list.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agodwrite: Start new effective run on strikethrough, underline or effect change.
Nikolay Sivov [Tue, 12 Jan 2016 20:12:05 +0000 (23:12 +0300)]
dwrite: Start new effective run on strikethrough, underline or effect change.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoxaudio2_0: Use shared source.
Andrew Eikum [Tue, 12 Jan 2016 19:31:26 +0000 (13:31 -0600)]
xaudio2_0: Use shared source.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoxaudio2_1: Use shared source.
Andrew Eikum [Tue, 12 Jan 2016 19:31:23 +0000 (13:31 -0600)]
xaudio2_1: Use shared source.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoxaudio2_2: Use shared source.
Andrew Eikum [Tue, 12 Jan 2016 19:31:20 +0000 (13:31 -0600)]
xaudio2_2: Use shared source.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoxaudio2_3: Use shared source.
Andrew Eikum [Tue, 12 Jan 2016 19:31:17 +0000 (13:31 -0600)]
xaudio2_3: Use shared source.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoxaudio2_4: Use shared source.
Andrew Eikum [Tue, 12 Jan 2016 19:31:13 +0000 (13:31 -0600)]
xaudio2_4: Use shared source.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoxaudio2_5: Use shared source.
Andrew Eikum [Tue, 12 Jan 2016 19:31:09 +0000 (13:31 -0600)]
xaudio2_5: Use shared source.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agomscoree: Set config path for default app domain.
Andrew Eikum [Tue, 12 Jan 2016 14:36:07 +0000 (08:36 -0600)]
mscoree: Set config path for default app domain.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agomshtml: Initialize dest VARIANT before VariantCopy call.
Jacek Caban [Tue, 12 Jan 2016 14:43:53 +0000 (15:43 +0100)]
mshtml: Initialize dest VARIANT before VariantCopy call.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agomshtml: Added IHTMLDocument2::get_defaultCharset implementation.
Jacek Caban [Tue, 12 Jan 2016 13:42:46 +0000 (14:42 +0100)]
mshtml: Added IHTMLDocument2::get_defaultCharset implementation.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agomshtml: Skip unused named args in Invoke calls.
Jacek Caban [Mon, 11 Jan 2016 19:49:24 +0000 (20:49 +0100)]
mshtml: Skip unused named args in Invoke calls.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agomsvcrt/tests: Don't check array pointer for NULL.
Alexandre Julliard [Tue, 12 Jan 2016 16:55:39 +0000 (01:55 +0900)]
msvcrt/tests: Don't check array pointer for NULL.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agomsvcp110: Add tr2_sys__Link implementation and test.
YongHao Hu [Mon, 11 Jan 2016 13:56:02 +0000 (21:56 +0800)]
msvcp110: Add tr2_sys__Link implementation and test.

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 agontdll: Remove redundant avail_mode check and confusing comment.
Alex Henrie [Mon, 11 Jan 2016 09:02:32 +0000 (02:02 -0700)]
ntdll: Remove redundant avail_mode check and confusing comment.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoconfigure: Check for MinGW even when cross compiling.
André Hentschel [Mon, 11 Jan 2016 21:24:13 +0000 (22:24 +0100)]
configure: Check for MinGW even when cross compiling.

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoole2disp: Implement SafeArrayAllocData().
Nikolay Sivov [Tue, 12 Jan 2016 08:49:30 +0000 (11:49 +0300)]
ole2disp: Implement SafeArrayAllocData().

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoole2disp: Implement SafeArrayDestroyDescriptor().
Nikolay Sivov [Tue, 12 Jan 2016 08:49:29 +0000 (11:49 +0300)]
ole2disp: Implement SafeArrayDestroyDescriptor().

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoinclude: Add TrySubmitThreadpoolCallback declaration.
Andrew Eikum [Mon, 11 Jan 2016 20:09:54 +0000 (14:09 -0600)]
include: Add TrySubmitThreadpoolCallback declaration.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoquartz: Handle NULL target format in FilterGraph::ConvertTimeFormat.
Anton Baskanov [Wed, 6 Jan 2016 17:29:42 +0000 (23:29 +0600)]
quartz: Handle NULL target format in FilterGraph::ConvertTimeFormat.

Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoinclude: Suppress "use msvcrt" error in tchar.h when -mno-cygwin is used.
Anthony Fok [Tue, 5 Jan 2016 17:50:23 +0000 (10:50 -0700)]
include: Suppress "use msvcrt" error in tchar.h when -mno-cygwin is used.

Signed-off-by: Anthony Fok <foka@debian.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoshell32/tests: Fix the shortcut vs. class interaction test.
Francois Gouget [Mon, 11 Jan 2016 01:18:40 +0000 (02:18 +0100)]
shell32/tests: Fix the shortcut vs. class interaction test.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoshell32/tests: Create_test_association() should either succeed or fail due to insuffi...
Francois Gouget [Mon, 11 Jan 2016 01:18:28 +0000 (02:18 +0100)]
shell32/tests: Create_test_association() should either succeed or fail due to insufficient permissions.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoshell32/tests: Check the hProcess field when ShellExecuteEx() fails.
Francois Gouget [Mon, 11 Jan 2016 01:18:12 +0000 (02:18 +0100)]
shell32/tests: Check the hProcess field when ShellExecuteEx() fails.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoshell32/tests: The expectedArgs parameter of the DDE tests is an argument count,...
Francois Gouget [Mon, 11 Jan 2016 01:17:58 +0000 (02:17 +0100)]
shell32/tests: The expectedArgs parameter of the DDE tests is an argument count, not a boolean.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agomsvcrt: Don't import atexit to avoid conflicts with the Mingw runtime.
Alexandre Julliard [Tue, 12 Jan 2016 09:47:14 +0000 (18:47 +0900)]
msvcrt: Don't import atexit to avoid conflicts with the Mingw runtime.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
9 years agoxaudio2_6: Use shared source.
Andrew Eikum [Mon, 11 Jan 2016 19:53:01 +0000 (13:53 -0600)]
xaudio2_6: Use shared source.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>