Commit Graph

128368 Commits (dc3cb001afca2afff8df517b0168dfad467579aa)
 

Author SHA1 Message Date
Alistair Leslie-Hughes 31b05fdc72 oleaut32: Correctly get the Currency separator in VarFormatCurrency.
LOCALE_SCURRENCY allows for 13 chracters including the NULL.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46442
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit 29cf8ee8ab)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2019-04-26 22:41:16 +02:00
Zebediah Figura 449e0c5c0a msvcr120: Add nexttoward implementation.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45631
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit 28e74af742)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2019-04-26 22:41:16 +02:00
Piotr Caban df2ae75f87 msvcp140: Don't forward __ExceptionPtrCreate to msvcr120.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46583
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit a91c1e054a)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2019-04-26 22:41:16 +02:00
Hans Leidekker fc1c668745 mscms: Add a partial implementation of WcsOpenColorProfileA/W.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46708
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit aeec35ab5a)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2019-04-26 22:41:16 +02:00
Alistair Leslie-Hughes afaf8fa10d mfplat: Implement MFGetSystemTime.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46300
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit 7907ccfdcb)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2019-04-26 22:41:16 +02:00
Paul Gofman d141c9428e wined3d: Return 1e10f for MaxVertexW from wined3d_get_device_caps().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=23863
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit 91b43bca94)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2019-04-26 22:41:16 +02:00
Hans Leidekker 3b03145299 secur32: Return ISC_RET_USED_SUPPLIED_CREDS for schannel contexts if the feature was requested.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46127
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit e31bc3dbdb)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2019-04-26 22:41:16 +02:00
Zebediah Figura e822720a1d comsvcs: Create an implicit MTA thread in RegisterDispenser().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46581
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit ac1bb45364)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2019-04-26 22:41:16 +02:00
Zebediah Figura 0c60e7a27c comsvcs/tests: Add tests for implicit MTA creation in RegisterDispenser().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit 62d67bdebe)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2019-04-26 22:41:16 +02:00
Nikolay Sivov 59202a9a6a comctl32/listview: Take care of scrolling offset when repositioning header.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit 5b397df631)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2019-04-26 22:41:16 +02:00
Alistair Leslie-Hughes c75d8e66a5 dsound: IDirectSoundNotify is only available when DSBCAPS_CTRLPOSITIONNOTIFY is specified.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45473
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit 9a258c5dd7)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2019-04-26 22:41:16 +02:00
Paul Gofman ac96d882bf wined3d: Use lower 8 bits only from _ALPHAREF state.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=38138
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit 6963fd0bef)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2019-04-26 22:41:16 +02:00
Nikolay Sivov 4e8dc0577c d3d11: Implement d3d11_device_GetImmediateContext1().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46298
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit 9ede653d0d)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2019-04-26 22:41:16 +02:00
Józef Kucia ea092de37c d3d9: Validate surface parameter in d3d9_device_ColorFill().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46482
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>
(cherry picked from commit ac36e446c3)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2019-04-26 22:41:16 +02:00
Gabriel Ivăncescu 284049f770 libport: Handle partially overlapping buffers.
Cause of bug discovered by Jason Edmeades.

Some applications partially overlap the two buffers, so don't assume they
don't overlap.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=38558
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit e84c26cec6)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2019-04-26 22:41:16 +02:00
Dmitry Timoshkov bf3ca297c5 windowscodecs: Implement IWICPalette::InitializeFromBitmap.
Based on median cut implementation created by Sebastian Lackner.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit d102d6e9f7)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2019-04-26 22:41:16 +02:00
Matteo Bruni 4c37270f0e d3dx9/tests: Avoid some 64-bit test failures.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit 699eb8cdba)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2019-04-26 22:41:16 +02:00
Matteo Bruni 212b24164e d3dx9: Improve D3DXMatrixTransformation2D().
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit dba1304bdd)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2019-04-26 22:41:16 +02:00
Matteo Bruni e36c8d616e d3dx9: Improve D3DXMatrixTransformation() implementation.
Inspired by a patch from David Adam.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=33456
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit f54260a789)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2019-04-07 20:59:56 +02:00
Nikolay Sivov ed80f1c4e7 user32/dialog: Fix setting negative dialog item ids.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46494
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit 47a44e6d9c)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2019-04-07 20:58:14 +02:00
Zhiyi Zhang b357d44e9e user32: Check for null handle in GetRawInputData().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46499
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit bd730a5f41)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2019-04-07 20:56:33 +02:00
Fabian Maurer fe771ad8ac ucrtbase: Forward a few functions for dxil.dll and pkgmgr.exe.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=44469
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit e9c90afc06)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2019-04-07 20:56:20 +02:00
Fabian Maurer 697e9d04b2 api-ms-win-crt-private-l1-1-0: Update to 10.0.17134.12 (WinBuild.160101.0800).
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit d77464d8da)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2019-04-07 20:56:09 +02:00
Sebastian Lackner e98f711639 wtsapi32: Improve WTSQueryUserToken stub.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=39663
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit 0e89c840a6)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2019-04-07 16:17:15 +02:00
Jacek Caban 1ddfedd051 ntoskrnl.exe: Add __C_specific_handler entry.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit 496447f03b)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2019-04-05 23:35:57 +02:00
Piotr Caban f788805244 msvcrt: Optimize toupper function when locale was never changed.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit 6886717631)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2019-04-05 23:29:44 +02:00
Piotr Caban a6debb6796 msvcrt: Optimize tolower function when locale was never changed.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit e867af3bfe)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2019-04-05 23:28:54 +02:00
Józef Kucia 8cb1de4d06 ddraw: Pass correct box when mapping system memory vertex buffers.
This fixes a regression introduced by commit
5a8e430b96.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46536
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>
(cherry picked from commit 445b97b2a2)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2019-04-05 22:41:50 +02:00
Nikolay Sivov e8a705b4c8 comctl32/progress: Handle min == max case in PBM_STEPIT.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46485
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit 620a25ef1d)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2019-04-05 22:40:50 +02:00
Gijs Vermeulen c9a2aa88e9 msvcp140: Export _Equivalent and port tests.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46465
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit 7e2816d2f1)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2019-04-05 22:38:47 +02:00
Nikolay Sivov 4843534b28 api-ms-win-core-libraryloader-l1-2-1: Add missing FindResourceW() forward.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit 0e094fa9bd)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2019-04-05 22:35:39 +02:00
David Adam 6b5088b371 ddraw: Fix the "dwMipMapCount" field of texture sub-levels.
Instead of the total count, it indicates the count starting from the current
level.

Signed-off-by: David Adam <david.adam.cnrs@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit f5d7d9cccc)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2019-04-05 22:34:28 +02:00
David Adam 2b941ca0c3 ddraw/tests: Add tests for the "dwMipMapCount" field of texture sub-levels.
Signed-off-by: David Adam <david.adam.cnrs@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit 6ec69f0ee3)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2019-04-05 22:34:02 +02:00
Zhiyi Zhang 7483a38d4c msacm32: Reference count local drivers.
One local driver can be assigned to multiple driver ids.
When releasing the driver id, check if the reference count
of a local driver is one before actually releasing the local driver.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46520
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit bbdf6d5e21)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2019-04-05 22:31:34 +02:00
Alexandre Julliard 6b42eae19f Release 4.0.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-22 22:25:59 +01:00
Isira Seneviratne 8b9b9d10e8 po: Update Sinhala translation.
Signed-off-by: Isira Seneviratne <isirasen96@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-21 20:09:55 +01:00
Alexandre Julliard 96f7e40c69 ext-ms-win-ntuser-misc-l1-2-0: Fix makefile permissions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-21 20:08:04 +01:00
Alexandre Julliard b353d7c914 Release 4.0-rc7.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-18 23:49:47 +01:00
Sven Baars ba3e07420e ntdll/tests: Fix some string leaks (Valgrind).
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-18 23:39:02 +01:00
Henri Verbeet 5e677beef5 ddraw/tests: Add a test for the "GDI" surface.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-17 19:45:27 +01:00
Sven Baars 26db17e90d ntoskrnl.exe/tests: Fix some memory leaks (Valgrind).
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-17 19:45:27 +01:00
Alexandre Julliard 5bfa5f1e39 ntoskrnl.exe/tests: Fix path buffer allocation size.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-17 19:45:25 +01:00
Gijs Vermeulen 999ef32a3e msvcp140/tests: Fix typos in ok() messages.
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-17 17:46:23 +01:00
Sven Baars b0042fdc92 ole32/tests: Fix a memory leak (Valgrind).
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-17 17:06:39 +01:00
Józef Kucia e37b9c74f0 wined3d: Avoid potential out-of-bounds memory access in surface_cpu_blt_colour_fill().
Draw rects are derived from the current viewport. It is possible to produce a
clear operation with a draw rect which lies completely outside of one of render
targets in D3D9.

It seems that we never use the CPU blitter for D3D9 render target clears, so it
might not be a problem in practice.

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>
2019-01-17 16:14:05 +01:00
Dmitry Timoshkov 25ced03068 include: Fix a typo.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-17 10:46:06 +01:00
Gijs Vermeulen c5c54480c6 atl100/tests: Fix a memory leak (Valgrind).
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-17 10:46:01 +01:00
Sven Baars 9d79aa686b riched20/tests: Fix a memory leak (Valgrind).
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-17 10:45:58 +01:00
Sven Baars 0b3e7115de opcservices/tests: Fix some memory leaks (Valgrind).
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-16 20:18:27 +01:00
Sven Baars ec921c2d15 rpcrt4/tests: Fix some memory leaks (Valgrind).
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-16 17:15:09 +01:00