Zhiyi Zhang
8b30c00a7b
comctl32/button: Do not restore push button font after themed painting.
...
Fix button tests failures when theming is on.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-01 12:36:23 +02:00
Zhiyi Zhang
760acf6c13
light.msstyles: Add scrollbar width and height.
...
Fix a bug that scrollbar width and height don't change when activating
Light theme. For example, when theming is inactive, change scrollbar
width from the default 16 pixels to 32 pixels, then activate Light theme.
Then scrollbar width should be changed to the theme specified scrollbar width.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-01 12:36:18 +02:00
Jacek Caban
fc7420de71
gdi32: Use NtAllocateVirtualMemory to allocate GDI_SHARED_MEMORY.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-01 12:36:10 +02:00
Jacek Caban
01b6ba88d6
gdi32: Use NtAllocateVirtualMemory to alloc DC_ATTR.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-01 12:36:02 +02:00
Jacek Caban
6ea18f6681
gdi32: Use native memory allocators in Unix library.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-01 12:35:54 +02:00
Alexandre Julliard
4adb160635
winemenubuilder: Use wide character string literals.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-01 11:37:52 +02:00
Alexandre Julliard
f1d4dd7cc8
winemenubuilder: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-01 11:37:33 +02:00
Alexandre Julliard
2f89d63bb9
winemenubuilder: Use DOS path names to create associations.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-01 11:36:09 +02:00
Alexandre Julliard
0428292fc7
winemenubuilder: Use DOS path names to create icon files.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-01 11:36:09 +02:00
Alexandre Julliard
1377be60ba
winemenubuilder: Use DOS path names to create desktop and menu files.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-01 11:36:09 +02:00
Alexandre Julliard
d4a773a1d7
winemenubuilder: Use Unicode strings to write desktop entries.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-01 11:36:09 +02:00
Alexandre Julliard
41881ff625
winemenubuilder: Use Unicode strings to process association entries.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-01 11:36:09 +02:00
Alexandre Julliard
542d67342d
winemenubuilder: Launch .lnk files directly through the Wine loader.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-01 10:20:15 +02:00
Alexandre Julliard
56701db474
winemenubuilder: Store the paths of .lnk files as DOS paths.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-01 10:19:32 +02:00
Alexandre Julliard
e14f3c40cd
winemenubuilder: Use PathMatchSpec() instead of fnmatch().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-01 09:36:17 +02:00
Alexandre Julliard
982a712c4d
winemenubuilder: Abort on memory allocation failures.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-01 09:35:48 +02:00
Alistair Leslie-Hughes
aa629c4c72
include: Add more sapi interfaces.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-30 22:14:15 +02:00
Nikolay Sivov
c716aa4802
d3d10/effect: Go through both local and shared variables when looking for shader resources.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-30 21:25:09 +02:00
Nikolay Sivov
7fe8e49f33
d3d10/effect: Go through both local and shared buffers when looking for shader resources.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-30 21:25:06 +02:00
Eric Pouech
70c51f89bd
d3dx9/tests: Fix use of D3DXVec2Normalize().
...
Spotted by GCC 11.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-30 21:24:38 +02:00
Eric Pouech
46b33179c2
d3dx9: Fix use of D3DXVec2Normalize().
...
Spotted by GCC 11.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-30 21:24:34 +02:00
Nikolay Sivov
2064c206c0
riched20: Use regular allocation helpers for text services objects.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-30 21:24:25 +02:00
Nikolay Sivov
1d5c9defb1
riched20: Remove New() allocation macro.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-30 21:24:21 +02:00
Rémi Bernon
5d782424d8
dinput: Fix HID joystick DIDFT_POV enumeration.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-30 21:24:13 +02:00
Alistair Leslie-Hughes
8825ed72d7
wininet: Reset context length for http status 304.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-30 21:23:30 +02:00
Rémi Bernon
e69f27d2ee
dinput8/tests: Add some HID joystick IDirectInputDevice8_CreateEffect tests.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-30 21:23:23 +02:00
Rémi Bernon
6d7e5c714b
dinput8/tests: Add the required PID reports to create effects.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-30 21:23:19 +02:00
Rémi Bernon
f9bb8f9897
dinput8/tests: Add some HID joystick IDirectInputDevice8_SendDeviceData tests.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-30 21:23:16 +02:00
Rémi Bernon
4ea75e55b6
dinput8/tests: Add some HID joystick IDirectInputDevice8_SendForceFeedbackCommand tests.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-30 21:23:13 +02:00
Rémi Bernon
beedf615b2
dinput8/tests: Add some HID joystick IDirectInputDevice8_GetForceFeedbackState tests.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-30 21:23:10 +02:00
Rémi Bernon
5b09ceae91
dinput8/tests: Add some HID joystick IDirectInputDevice8_Escape tests.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-30 21:23:07 +02:00
Rémi Bernon
46a42c78af
dinput8/tests: Add the required PID reports to acquire the device.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-30 21:23:03 +02:00
Rémi Bernon
e47fcc112f
dinput8/tests: Add some HID joystick IDirectInputDevice8_GetEffectInfo tests.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-30 21:22:58 +02:00
Rémi Bernon
5f492b5e8a
dinput8/tests: Add the required PID reports to enumerate some effects.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-30 21:22:54 +02:00
Rémi Bernon
be27b637a1
dinput8/tests: Add some HID joystick IDirectInputDevice8_EnumEffects tests.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-30 21:22:48 +02:00
Rémi Bernon
3bc1263e5a
dinput8/tests: Don't try running more tests after a win_skip.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-30 21:22:44 +02:00
Nikolay Sivov
d3446e1ff4
ole32: Use public function to get file extension in GetClassFile().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-30 21:22:34 +02:00
Nikolay Sivov
966d74a1b4
ole32/composite: Cleanup enumerator methods.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-30 21:22:29 +02:00
Nikolay Sivov
b557c39555
ole32/composite: Disable cloning of enumerator instances.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-30 21:22:26 +02:00
Nikolay Sivov
61f8991fd9
ole32/composite: Do not use enumerators and antimoniker composition in RelativePathTo().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-30 21:22:23 +02:00
Nikolay Sivov
7de48a7416
ole32/composite: Fix argument handling in component enumerator methods.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-30 21:22:21 +02:00
Gijs Vermeulen
441ef40813
secur32: Remove macOS backend.
...
GnuTLS has been the default since wine-6.11.
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-30 20:00:43 +02:00
Gijs Vermeulen
b3cd21c21c
bcrypt: Remove macOS backend.
...
GnuTLS has been the default since wine-3.13.
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-30 20:00:34 +02:00
Tim Clem
5853f356b8
dinput: Lock around polling a HID device in joystick_osx.
...
If multiple threads try to read IOHIDElements and IOHIDValues from
the same IOHIDDevice simultaneously, we sometimes crash deep in
IOKit.
Fixes a crash in GTA 4 when using a PS4 controller.
Signed-off-by: Tim Clem <tclem@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-30 10:16:05 +02:00
Tim Clem
c52645807b
dinput: Factor out HID value retrieval in joystick_osx.
...
Signed-off-by: Tim Clem <tclem@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-30 10:16:03 +02:00
Rémi Bernon
08b01d8271
hidclass.sys: Rename hid_report_queue into hid_queue.
...
As it now also queues IRPs.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-29 21:38:13 +02:00
Rémi Bernon
561e722a46
hidclass.sys: Keep pending IRPs with the report queues.
...
Since d15358518b83384b137e81b71729c4f47fac0665 we only complete one
pending IRP per HID report, but there may be more than one IRP queued,
from different readers.
This causes trouble and report interleaving when more than one reader
accesses a device at a time. We need to complete only one for each
report queue instead.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-29 21:38:13 +02:00
Rémi Bernon
9421dd2b3c
hidclass.sys: Don't leak report queues on device removal.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-29 21:38:13 +02:00
Rémi Bernon
8f1f061349
dinput: Simplify object enumeration by removing special cases.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-29 21:38:13 +02:00
Rémi Bernon
78207cf4d2
dinput: Enumerate output button objects in their declaration order.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-29 21:38:13 +02:00