Commit graph

161110 commits

Author SHA1 Message Date
Alex Henrie
b072bb494b wldap32: Use the strdup function instead of reimplementing it. 2022-11-28 21:01:55 +01:00
Rémi Bernon
c6cdea71cc joy.cpl: Avoid race condition when accessing selected effect. 2022-11-28 11:38:39 +01:00
Rémi Bernon
b274278d0e joy.cpl: Remove unnecessary joystick forcefeedback member. 2022-11-28 11:38:39 +01:00
Rémi Bernon
9b4cd90850 joy.cpl: Read the device path property instead of storing it. 2022-11-28 11:38:39 +01:00
Rémi Bernon
7e854933cd joy.cpl: Read the number of buttons instead of storing it. 2022-11-28 11:38:39 +01:00
Rémi Bernon
b53df5dffb joy.cpl: Read the device instance name instead of storing it. 2022-11-28 11:38:39 +01:00
Rémi Bernon
9d4a9e16a5 joy.cpl: Use a struct list to keep created device effects. 2022-11-28 11:38:39 +01:00
Rémi Bernon
1c94551ef8 joy.cpl: Read the effect DIEFFECTINFOW instead of storing it. 2022-11-28 11:38:39 +01:00
Rémi Bernon
d9bd1c49bb joy.cpl: Read the effect parameters instead of storing them.
The direction and axis arrays are also not pointing to valid memory
anymore.
2022-11-28 11:38:39 +01:00
Rémi Bernon
85790d8379 joy.cpl: Use designated initializer to init effect params. 2022-11-28 11:38:39 +01:00
Rémi Bernon
ceea9b8721 joy.cpl: Move ff_effects_callback function around. 2022-11-28 11:38:39 +01:00
Rémi Bernon
e365242892 joy.cpl: Move constants and structures to main.c. 2022-11-28 11:38:39 +01:00
Rémi Bernon
ed91d22fe4 maintainers: Take ownership of joy.cpl. 2022-11-28 11:38:39 +01:00
Piotr Caban
2aa9400897 localspl: Add FILE: port tests. 2022-11-28 11:33:37 +01:00
Piotr Caban
bdd561cfa3 localspl: Add FILE: port monitor implementation. 2022-11-28 11:33:36 +01:00
Eric Pouech
3e5bdebbce wined3d: Set location types to uint32_t.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-11-28 11:33:21 +01:00
Eric Pouech
718118f3af wined3d: Set flag types to uint32_t (internal definitions).
(no longer using long types)

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-11-28 11:33:08 +01:00
Eric Pouech
a71526bb07 wined3d: Set flag types to uint32_t (external definitions).
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-11-28 11:33:01 +01:00
Alexandre Julliard
20d86f34a0 Release 7.22. 2022-11-26 00:22:31 +01:00
Eric Pouech
f2ca35bd80 cmd: Use OEM code page when reading a file.
Calling GetConsoleCP() when ReadConsoleW() fails (potentially indicating
that cmd.exe's instance isn't attached to a console) makes no sense.

In details, since GetConsoleCP() returns 0 when not attached to a console
to indicate error, we're in fact using CP_ACP.

So fallback explicitely to OEM CP (which is the default for CUI programs).

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-11-25 18:09:57 +01:00
Rémi Bernon
1c30f7803c winepath: Free wine_get_(dos|unix)_file_name memory with HeapFree. 2022-11-25 18:09:57 +01:00
Rémi Bernon
a49838f24e mshtml: Free wine_get_dos_file_name memory with HeapFree. 2022-11-25 18:09:57 +01:00
Rémi Bernon
489218444f appwiz.cpl: Free wine_get_dos_file_name memory with HeapFree. 2022-11-25 18:09:57 +01:00
Alex Henrie
76696cd966 mshtml: Handle memory allocation failure in ConnectionPoint_Advise. 2022-11-25 17:42:57 +01:00
Alex Henrie
db691cd9d0 wininet: Use standard C functions for memory allocation. 2022-11-25 17:42:04 +01:00
Mohamad Al-Jaf
d673b697eb windows.media: Partially implement IClosedCaptionPropertiesStatics_get_RegionOpacity. 2022-11-25 17:40:53 +01:00
Mohamad Al-Jaf
576f7e2a73 windows.media: Partially implement IClosedCaptionPropertiesStatics_get_RegionColor. 2022-11-25 17:40:52 +01:00
Mohamad Al-Jaf
216df6b9b7 windows.media: Partially implement IClosedCaptionPropertiesStatics_get_BackgroundOpacity. 2022-11-25 17:40:51 +01:00
Mohamad Al-Jaf
16d90e06c8 windows.media: Partially implement IClosedCaptionPropertiesStatics_get_BackgroundColor. 2022-11-25 17:40:50 +01:00
Mohamad Al-Jaf
f923b6bb4e windows.media: Partially implement IClosedCaptionPropertiesStatics_get_FontEffect. 2022-11-25 17:40:49 +01:00
Mohamad Al-Jaf
925c14251e windows.media: Partially implement IClosedCaptionPropertiesStatics_get_FontStyle. 2022-11-25 17:40:47 +01:00
Mohamad Al-Jaf
0b01577231 windows.media: Partially implement IClosedCaptionPropertiesStatics_get_FontSize. 2022-11-25 17:40:46 +01:00
Mohamad Al-Jaf
c15f9b9a20 windows.media: Partially implement IClosedCaptionPropertiesStatics_get_FontOpacity. 2022-11-25 17:40:45 +01:00
Mohamad Al-Jaf
3f1d500017 windows.media: Partially implement IClosedCaptionPropertiesStatics_get_FontColor. 2022-11-25 17:40:43 +01:00
Mohamad Al-Jaf
10af2e50c8 windows.media/tests: Add Closed Caption Properties tests. 2022-11-25 17:40:41 +01:00
Alexandre Julliard
7c0b3a408c winecrt0: Call __wine_unix_call through an explicit pointer in the helper macro. 2022-11-25 10:31:00 +01:00
Alexandre Julliard
12a129586b ws2_32: Use the Unix call helpers. 2022-11-25 10:19:43 +01:00
Alexandre Julliard
006eae345b winevulkan: Use the Unix call helpers. 2022-11-25 10:19:43 +01:00
Alexandre Julliard
86554e8199 winegstreamer: Use the Unix call helpers. 2022-11-25 10:19:43 +01:00
Alexandre Julliard
f82dc3d7c4 secur32: Use the Unix call helpers. 2022-11-25 10:16:06 +01:00
Alexandre Julliard
e9c065e590 opengl32: Use the Unix call helpers. 2022-11-25 10:14:36 +01:00
Alexandre Julliard
3b50ca0ff8 opencl: Use the Unix call helpers. 2022-11-25 10:14:03 +01:00
Alexandre Julliard
7f808e564d odbc32: Use the Unix call helpers. 2022-11-25 10:13:24 +01:00
Alexandre Julliard
f7b55ffafa kerberos: Use the Unix call helpers. 2022-11-25 10:12:17 +01:00
Alexandre Julliard
5392bd303e dwrite: Use the Unix call helpers. 2022-11-25 10:11:36 +01:00
Alexandre Julliard
f340406417 crypt32: Use the Unix call helpers. 2022-11-25 10:10:59 +01:00
Alexandre Julliard
a4f8d28de7 bcrypt: Use the Unix call helpers. 2022-11-25 10:10:34 +01:00
Ivo Ivanov
496f7c6134 windows.gaming.input: Assume that joysticks with single FFB axis are racing wheels.
The HID PID steering wheels always declare one force feedback axis,
while the joysticks always have two or more. So it is safe to
assume that joysticks with single FFB axis are racing wheels.

Fixes FH5 not having force feedback with a Simucube 2 steering
wheel, when using the hidraw backend.
2022-11-25 10:02:43 +01:00
Ivo Ivanov
a1ce348c95 windows.gaming.input: Implement the number of FFB axes according to the SupportedAxes property. 2022-11-25 10:02:41 +01:00
Ivo Ivanov
c821787338 dinput/tests: Reduce the available FFB axes to X and Y in test_windows_gaming_input.
Windows.Gaming.Input on Windows always uses the X and Y axes for
FFB, ignoring what is declared in the HID report descriptor, and
the Axes Enable collection. Since we have the correct behavior
on Wine, this allows the test to complete on both platforms
without issues.
2022-11-25 10:02:40 +01:00