Zebediah Figura
50aeb5e777
user32: Do not delay-load setupapi.
...
This fixes a deadlock in the Steel Series Engine installer, between the
"user_section" lock and the loader lock.
Currently user32 takes the "user_section" lock during THREAD_DETACH, i.e. while
the loader lock is held. However, it is also possible for a thread to take the
locks in the reverse order. The observed path is:
- register_builtin()
- LoadCursorA()
- get_display_bpp()
- get_display_dc()
- CreateDCW()
- GetDeviceCaps(DESKTOPHORZRES)
- GetSystemMetrics(SM_CXVIRTUALSCREEN)
- EnumDisplayMonitors()
- update_monitor_cache()
Since we now rely on setupapi for fundamental tasks such as determining screen
size, it doesn't make much sense to delay-load it.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-10 18:04:35 +01:00
Zebediah Figura
f4f4a42349
wined3d: Move the source blend state to wined3d_blend_state.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-10 17:59:26 +01:00
Zebediah Figura
04453496a2
wined3d: Move the blend enable state to wined3d_blend_state.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-10 17:59:24 +01:00
Zebediah Figura
a6d74b0545
wined3d: Construct the blend state in wined3d_device_apply_stateblock().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-10 17:59:22 +01:00
Zebediah Figura
7520af4789
d3d11/tests: Add a test for independent blend.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-10 17:59:20 +01:00
Zebediah Figura
655fea5539
d3d10core/tests: Add a test for independent blend.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-10 17:59:17 +01:00
Alexandre Julliard
dac7992608
winaspi: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-10 17:56:41 +01:00
Alexandre Julliard
0abd9e2102
winaspi: Get rid of header files.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-10 17:56:41 +01:00
Alexandre Julliard
961041e0ee
winaspi: Reimplement on top of wnaspi32.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-10 17:56:41 +01:00
Alexandre Julliard
a6a415fa5d
winaspi: Get rid of DOS mode.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-10 17:56:41 +01:00
Alexandre Julliard
4599108cf2
gdi.exe: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-10 17:56:41 +01:00
Alexandre Julliard
41ec44bf3f
gdi.exe: Use 32-bit printer functions for print jobs.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-10 17:56:41 +01:00
Alexandre Julliard
762f51cf93
kernelbase: Use wide character string literals in the remaining files.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-10 10:00:53 +01:00
Alexandre Julliard
b8fe91248d
kernelbase: Use wide character string literals in registry.c.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-10 10:00:53 +01:00
Alexandre Julliard
fe79b87f02
kernelbase: Use wide character string literals in path.c.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-10 10:00:53 +01:00
Alexandre Julliard
d88bbf0a45
kernelbase: Use wide character string literals in file.c.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-09 22:16:30 +01:00
Alexandre Julliard
5be54b885e
kernelbase: Use wide character string literals in debug.c.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-09 22:16:30 +01:00
Jacek Caban
26ffc40bfb
include: Add corecrt_wdirect.h header.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-09 22:16:30 +01:00
Jacek Caban
ce62c3c8c9
include: Add corecrt_wprocess.h header.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-09 22:16:30 +01:00
Zebediah Figura
da7d60bf97
winebus.sys: Fix reporting axis values for joysticks.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-09 22:16:30 +01:00
Nikolay Sivov
673d984934
mfplat: Add MFGetPlaneSize().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-09 22:16:30 +01:00
Nikolay Sivov
50af05674c
mf: Partially implement sample copier transform.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-09 22:16:30 +01:00
Nikolay Sivov
6c3dbcdf43
include: Update MF resolver flags.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-09 22:16:30 +01:00
Piotr Caban
471425c16d
msvcrt: Optimize _strnicmp_l implementation.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48723
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-09 22:16:30 +01:00
Gabriel Ivăncescu
b526077189
jscript/tests: Add test for function constructor in named item context.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-09 22:16:30 +01:00
Gabriel Ivăncescu
335e0073c5
jscript: Retrieve the proper script dispatch from the named item in GetScriptDispatch.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-09 22:16:30 +01:00
Gabriel Ivăncescu
c2a5aa7d37
jscript: Add stub implementation of separate script dispatches for named items.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-09 22:16:30 +01:00
Gabriel Ivăncescu
f6201b4b11
jscript: Lookup the named item and keep a ref to it from the associated bytecode.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-09 22:16:30 +01:00
Dmitry Timoshkov
05dd821238
wbemdisp: Use pointer moniker instead of custom moniker implementation.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-09 12:11:06 +01:00
Dmitry Timoshkov
2cefc54fed
dnsapi/tests: Also test the "_ldap._tcp.deadbeef" query.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-09 12:10:55 +01:00
Zhiyi Zhang
2d1786c55a
wined3d: Pass a struct wined3d_adapter pointer to wined3d_check_depth_stencil_match().
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-09 12:10:53 +01:00
Zhiyi Zhang
744ff73829
wined3d: Introduce wined3d_output_get_adapter().
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-09 12:10:53 +01:00
Zhiyi Zhang
f9701d3777
wined3d: Pass a struct wined3d_output pointer to wined3d_check_device_type().
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-09 12:10:53 +01:00
Zhiyi Zhang
5df462274d
wined3d: Pass a struct wined3d_output pointer to wined3d_check_device_format_conversion().
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-09 12:10:52 +01:00
Zhiyi Zhang
2e7db80bad
wined3d: Refactor wined3d_get_adapter_raster_status() to wined3d_output_get_raster_status().
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-09 12:10:52 +01:00
Francois Gouget
75a5107c96
dsound: Move make_fir to the dsound directory.
...
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-09 12:10:52 +01:00
Zebediah Figura
495a95c38e
d3d11/tests: Add a test for color masks.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-09 12:10:52 +01:00
Zebediah Figura
3b043c1fdf
d3d10core/tests: Add a test for color masks.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-09 12:10:52 +01:00
Zebediah Figura
8ddf4e20a5
wined3d: Move the line antialias state to wined3d_rasterizer_state.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-09 12:10:52 +01:00
Zebediah Figura
a6009fa21f
wined3d: Move the scissor test state to wined3d_rasterizer_state.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-09 12:10:52 +01:00
Zebediah Figura
327d1792dc
wined3d: Move the constant depth bias to wined3d_rasterizer_state.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-09 12:10:52 +01:00
Zebediah Figura
ae6fdbea39
wined3d: Explicitly zero the whole wined3d_rasterizer_state_desc structure in wined3d_device_apply_stateblock().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-09 12:10:52 +01:00
Zebediah Figura
42b7bf0692
ntdll/tests: Test renaming a file to the same name.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-09 12:10:52 +01:00
Zebediah Figura
2eacc45de3
kernel32/tests: Add more tests for MoveFile[Ex]().
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-09 12:10:52 +01:00
Zebediah Figura
b2b4d1b0ec
include: Use public field names for FILE_RENAME_INFORMATION.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-09 12:10:52 +01:00
Ziqing Hui
d6305e1bdb
comctl32/imagelist: Support flag ILS_SATURATE for ImageList_DrawIndirect().
...
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-09 12:10:52 +01:00
Ziqing Hui
7a1727004b
comctl32/tests: Add a 4x4 bitmap for ImageList_DrawIndirect tests.
...
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-09 12:10:52 +01:00
Ziqing Hui
e8c2e505a8
comctl32/tests: Add tests for grayscale.
...
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-09 12:10:52 +01:00
Ziqing Hui
d6268b9e88
comctl32/tests: Change create_test_bitmap() to give it the ability to create more kinds of bitmaps.
...
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-09 12:10:52 +01:00
Roman Pišl
da395975b0
wineconsole: Allow maximization.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48706
Signed-off-by: Roman Pišl <rpisl@seznam.cz>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-09 12:10:52 +01:00