Commit graph

161144 commits

Author SHA1 Message Date
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
Rémi Bernon 9f48f4d580 windows.gaming.input: Set initial effect parameters within the CS. 2022-11-25 10:02:39 +01:00
Ivo Ivanov 5f8f6c3452 windows.gaming.input: Implement IForceFeedbackMotor_get_SupportedAxes. 2022-11-25 10:02:37 +01:00
Ivo Ivanov cd75ed1800 dinput: Always send both "Type Specific" and "Set Effect" reports on initial Download.
Fixes the Download method not sending an initial type specific
HID PID report in the rare cases where all type specific params
are set to 0 through the initial SetParameters call, so they aren't
considered as modified.

FH5 is affected by this issue, since it initially sets the
direction of its constant effect to 0, which translates to 0
magnitude in dinput.
2022-11-25 10:02:36 +01:00
Rémi Bernon a146f9b6f1 dinput/tests: Test zero-ed force feedback effect parameters. 2022-11-25 10:02:35 +01:00
Ivo Ivanov eccfcc8011 windows.gaming.input: Add gain of 1.0 to the initialization params of (Constant|Ramp)Effect's SetParameters.
Fixes FH5 not having (or having very subtle) force feedback.
Potentially affects most WGI games, since the constant effect is
usually the main effect.
2022-11-25 10:02:34 +01:00
Piotr Caban 50a2e2f0e9 localspl: Run XcvOpenPort tests when InitializePrintMonitor2 is used. 2022-11-25 10:02:17 +01:00
Piotr Caban b07b9074ee localspl: Remove unused OpenPortEx function pointers. 2022-11-25 10:02:17 +01:00
Piotr Caban 3d62544f1f localspl: Run OpenPort tests when InitializePrintMonitor2 is used. 2022-11-25 10:02:16 +01:00
Piotr Caban 9498fabfd3 localspl: Run EnumPorts tests when InitializePrintMonitor2 is used. 2022-11-25 10:02:16 +01:00
Piotr Caban 8e9bcf4280 localspl: Run AddPortEx tests when InitializePrintMonitor2 is used. 2022-11-25 10:02:16 +01:00
Jacek Caban 274a9db57a winevulkan: Don't try to convert unions without selectors. 2022-11-25 10:02:08 +01:00
Alex Henrie 81a6c8c882 dmusic: Don't force a calling convention on internal functions. 2022-11-24 22:20:21 +01:00
Alex Henrie 0b004131e2 dmsynth: Don't force a calling convention on internal functions. 2022-11-24 22:20:21 +01:00
Alex Henrie 6bf23c4ae9 dmstyle: Don't force a calling convention on internal functions. 2022-11-24 22:20:21 +01:00
Alex Henrie 5dab1e4ea4 dmscript: Don't force a calling convention on internal functions. 2022-11-24 22:20:21 +01:00
Alex Henrie be666ef422 dmloader: Don't force a calling convention on internal functions. 2022-11-24 22:20:21 +01:00