Zebediah Figura
edebe24a07
ddraw/tests: Use winetest_push_context() in test_viewport().
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 19:57:49 +02:00
Nikolay Sivov
738c1c01b6
ddraw: Improve tracing format for unsigned fields.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 19:57:44 +02:00
Huw Davies
186e4ac533
winepulse: Implement Wow64 entry points in the Unix library.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 18:58:28 +02:00
Huw Davies
27cb3324df
winepulse: Limit Wow64 buffer allocations to 32-bit addresses.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 18:58:25 +02:00
Huw Davies
5199420f46
winepulse: Return offsets rather than ptrs to the strings.
...
This will make the Wow64 syscall rather simpler.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 18:58:22 +02:00
Huw Davies
94d3e2b366
winepulse: Use UINT64 handles to represent the stream.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 18:58:18 +02:00
Bernhard Kölbl
457291c75c
windows.media.speech/tests: Make waits non infinite.
...
Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 18:58:02 +02:00
Bernhard Kölbl
2fe6d070fb
windows.media.speech/tests: Fix some uses after release.
...
Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 18:57:58 +02:00
Huw Davies
65ecd7b700
wineoss: Move MODM_PREPARE and MODM_UNPREPARE to the unixlib.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 18:57:53 +02:00
Huw Davies
f1a11cb53c
wineoss: Move MODM_LONGDATA to the unixlib.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 18:57:50 +02:00
Huw Davies
2cc89ecc10
wineoss: Move MODM_DATA to the unixlib.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 18:57:47 +02:00
Huw Davies
4e90f801f9
wineoss: Use separate functions to handle MODM_DATA for FM synths and ports.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 18:57:44 +02:00
Zebediah Figura
93d8a86ce2
setupapi: Avoid leaking subKey in SETUPDI_AddDeviceInterfaces().
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 14:46:02 +02:00
Zhiyi Zhang
a1dda8c376
win32u: Return -1 for NUMCOLORS with 8-bit display DCs.
...
According to tests, GetDeviceCaps(NUMCOLORS) returns -1 for display DCs when the current display
mode is 8-bit on newer versions of Windows, which makes sense because lower bit depth display modes
are actually emulated with 32-bit modes.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52679
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 14:44:58 +02:00
Zhiyi Zhang
bfed433024
user32/tests: Test NUMCOLORS for display DCs.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 14:44:55 +02:00
Zhiyi Zhang
6c784f2c46
user32/tests: Avoid unnecessary display mode changes.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 14:44:49 +02:00
Timo Zuccarello
a54755c87c
winex11.drv: Do not assign reserved virtual key 0xE0 to key codes.
...
Signed-off-by: Timo Zuccarello <timo@zuccarello.eu>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 14:43:54 +02:00
Zebediah Figura
ea4353858d
user32: Do not call the lparam for WM_SYSTIMER messages.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 14:41:48 +02:00
Zebediah Figura
019313b63e
win32u: Do not call the lparam for WM_SYSTIMER messages.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 14:41:42 +02:00
Zebediah Figura
5e4dedff8e
win32u: Remove the "proc" parameter to NtUserSetSystemTimer().
...
Testing on 32-bit Windows 10 suggests that the function only has three
parameters. The test fixed in this patch (which still succeeds on e.g. Windows
2003) suggests that the final parameter to SetSystemTimer() is not a callback,
either.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 14:41:22 +02:00
Zebediah Figura
079b0423b5
user32: Update mouse tracking information based on the timer ID in DispatchMessage().
...
Avoid passing a callback to NtUserSetSystemTimer(); it does not support one.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 14:41:08 +02:00
Zebediah Figura
95378c56b8
user32: Toggle the caret based on the timer ID in DispatchMessage().
...
Avoid passing a callback to NtUserSetSystemTimer(); it does not support one.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 14:40:59 +02:00
Zebediah Figura
33087806a6
user.exe: Implement SetSystemTimer() using SetTimer().
...
Avoid using SetSystemTimer() to specify a callback; it does not support one.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 14:40:39 +02:00
Hans Leidekker
7435487992
webservices: Always set channel state to WS_CHANNEL_STATE_FAULTED when a send or receive operation failed.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 12:40:03 +02:00
Connor McAdams
3dfe1d7733
webservices: Respect session dictionary size limits on receive dictionary.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 12:39:59 +02:00
Connor McAdams
e2fa62b8fe
webservices: Respect session dictionary size limits on send dictionary.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 12:39:49 +02:00
Rémi Bernon
36b45c6d1c
include: Add Windows.Gaming.Input.ForceFeedback.IForceFeedbackEffect interface declaration.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-20 22:58:12 +02:00
Rémi Bernon
b1998870df
include: Remove nested namespaces in windows.gaming.input.forcefeedback.idl.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-20 22:58:07 +02:00
Rémi Bernon
8421f1ec8b
include: Add Windows.Gaming.Input.RacingWheel runtimeclass declaration.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-20 22:58:02 +02:00
Biswapriyo Nath
38b140f69c
include: Add IArcadeStick interface in windows.gaming.input.idl.
...
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-20 22:57:56 +02:00
Nikolay Sivov
7e446ce7e7
wusa: Remove string duplication helper.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-20 22:57:51 +02:00
Nikolay Sivov
76fa97cddd
dwrite/tests: Fix context text.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-20 22:57:46 +02:00
Nikolay Sivov
77c06dfb29
dwrite/tests: Use safe table access helpers for GetFontSignature().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-20 22:57:42 +02:00
Rémi Bernon
c0584779f8
kernelbase: Allocate global memory handle table dynamically.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52763
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-20 17:51:04 +02:00
Zebediah Figura
6fc2799bd0
wined3d: Make wined3d_context_gl_set_draw_buffer() static.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-20 17:49:30 +02:00
Zebediah Figura
68cd60436c
wined3d: Factor out context_gl_apply_texture_draw_state().
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-20 17:49:27 +02:00
Jacek Caban
c5e7f1b0e5
winex11: Use Unix environment variable in remove_startup_notification.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-20 17:31:21 +02:00
Jacek Caban
ee405dd8b8
win32u: Move is_window_rect_full_screen implementation from winex11.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-20 17:31:18 +02:00
Jacek Caban
782220626f
win32u: Move GetMenuInfo implementation from user32.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-20 17:31:15 +02:00
Jacek Caban
9015ae5978
win32u: Move NtUserSetMenu implemenetation from user32.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-20 17:31:08 +02:00
Jacek Caban
19a2af2767
win32u: Move NtUserGetMenuItemRect implementation from user32.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-20 17:31:03 +02:00
Jacek Caban
d275253f5d
win32u: Move NtUserSetMenuContextHelpId implementation from user32.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-20 17:30:58 +02:00
Huw Davies
f57a3916e8
wineoss: Move MODM_OPEN and MODM_CLOSE to the unixlib.
...
They are both moved together because of the memory
allocated for "lpExtra".
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-20 16:32:48 +02:00
Huw Davies
5ebc7d78aa
wineoss: Add a temporary midi_out_fm_reset syscall.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-20 16:32:45 +02:00
Huw Davies
bbe19f20a9
wineoss: Add a temporary midi_out_fm_patch syscall.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-20 16:32:43 +02:00
Huw Davies
e37bf4e991
wineoss: Add a temporary syscall to open and close the seq fd.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-20 16:31:44 +02:00
Huw Davies
53eeb1162d
wineoss: Store the sequencer fd in the driver struct.
...
This avoids using a global variable.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-20 16:31:41 +02:00
Connor McAdams
c03f747a3a
webservices: Properly handle max session dictionary size channel property.
...
Treat WS_CHANNEL_PROPERTY_MAX_SESSION_DICTIONARY_SIZE as a read-only
property, and only allow it to be set upon channel creation.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-20 13:02:31 +02:00
Connor McAdams
dc849b0a6d
webservices: Check for channel state in WsReceiveMessage.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-20 13:02:28 +02:00
Connor McAdams
9eb26280f3
webservices: Don't advance binary encoding reader if record type doesn't match.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-20 13:02:25 +02:00