Commit graph

160283 commits

Author SHA1 Message Date
Rémi Bernon
3468e96d3b win32u: Lock display devices while applying display settings. 2022-11-03 18:33:09 +01:00
Nikolay Sivov
de1d2223c4 mf/session: Add support for MESessionScrubSampleComplete event.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-03 18:33:09 +01:00
Alexandre Julliard
483085ad3f wow64: Load dependencies of 64-bit modules only from the 64-bit system directory. 2022-11-03 18:33:09 +01:00
Alexandre Julliard
c302b28729 ntdll: Fix trace formats for 64-bit values on ARM64. 2022-11-03 18:33:09 +01:00
Alex Henrie
abf03748af include: Include minidumpapiset.h in imagehlp.h.
Needed to compile Tera Term.
2022-11-02 17:20:20 +01:00
Zhiyi Zhang
957dfccb14 winecfg: Adjust top-level window rectangles after theme changes.
Manual tests show that calling EnableTheming() in uxtheme.dll doesn't update window sizes. So
it seems more appropriate to do it in winecfg.exe.
2022-11-02 17:19:44 +01:00
Zhiyi Zhang
982c9974a7 winecfg: Use SM_CYSIZE to set and get caption height.
After applying a theme with CaptionBarHeight set, caption height from SPI_GETNONCLIENTMETRICS is set
to the specified size. However in refresh_sysparams(), the caption height is refreshed and the value
from SM_CXSIZE is used and ends up overwriting the theme specified caption height. SM_CYSIZE is the
correct index instead of SM_CXSIZE.

You may need to turn a theme off and on for the correct caption height to take effect after the fix.
2022-11-02 17:19:42 +01:00
Stefan Dösinger
97bef536a3 ntdll: Fix building on Mojave / Xcode 11.3.1.
_STRUCT_X86_THREAD_FULL_STATE64 exists, but _STRUCT_MCONTEXT64_FULL and
_STRUCT_MCONTEXT_AVX64_FULL do not.
2022-11-02 17:19:24 +01:00
Rémi Bernon
d3bca13483 winebus.sys: Ignore SDL events for devices which aren't started.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53666
2022-11-02 17:00:00 +01:00
Rémi Bernon
764f91e5ba winmm: Add missing void parameter in function definition. 2022-11-02 16:22:30 +01:00
Rémi Bernon
f7ca911a6b winmm: Use a separate last_check for joyGetDevCapsW and joyGetPosEx.
Fixing spurious tests failures on the testbot.
2022-11-02 16:22:28 +01:00
Zhiyi Zhang
1d5e6d23ee winex11.drv: Initialize escape.drawable in X11DRV_GetDC().
Fix an uninitialized variable warning with GCC 12.
2022-11-02 16:22:13 +01:00
Bartosz Kosiorek
5258c8b952 msvcp90: Add _Wcerr_func implementation. 2022-11-02 16:01:31 +01:00
Bartosz Kosiorek
8b5b111f16 msvcp90: Add _Wclog_func implementation. 2022-11-02 16:01:30 +01:00
Bartosz Kosiorek
4e60e3babf msvcp90: Add _Wcout_func implementation. 2022-11-02 16:01:29 +01:00
Bartosz Kosiorek
5085dc2f2b msvcp90: Add _Cerr_func implementation. 2022-11-02 16:01:28 +01:00
Bartosz Kosiorek
10766e10dc msvcp90: Add _Clog_func implementation. 2022-11-02 16:01:26 +01:00
Bartosz Kosiorek
8cfe98c9de msvcp90: Add _Cout_func implementation. 2022-11-02 16:01:25 +01:00
Bartosz Kosiorek
1cdb3b55a5 msvcp90: Add _Wcin_func implementation. 2022-11-02 16:01:24 +01:00
Bartosz Kosiorek
ac224f25df msvcp90: Add _Cin_func implementation.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47304
2022-11-02 16:01:18 +01:00
Zebediah Figura
e78ca2a162 winevulkan: Do not pass win32 allocation callbacks directly to the Unix side.
Fixes a regression from 000a7bbb5a.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53859
2022-11-02 16:00:32 +01:00
Zhiyi Zhang
00ae070cd1 win32u: Skip detached monitors in is_window_rect_full_screen().
Fix a regression from ee405dd. After ee405dd, is_window_rect_full_screen() may compare window
rectangles against the empty rectangles of detached monitors. For example, is_window_rect_full_screen()
can incorrectly return TRUE for a (0, 0, 1, 1) rectangle because 0 <= 0 && 1 >= 0 && 0 <= 0 && 1 >= 0
is true.
2022-11-02 16:00:22 +01:00
Fabian Maurer
5d21966b9f msvcrt/tests: Fix typo (Coverity).
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
2022-11-02 16:00:01 +01:00
Fabian Maurer
6a917733b4 sapi: Prevent resource leak (Coverity).
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
2022-11-02 14:43:47 +01:00
Fabian Maurer
57e37c2a91 ntdll/tests: Fix uninitialized read in ok (Coverity).
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
2022-11-02 14:43:23 +01:00
Fabian Maurer
df90a32511 win32u: Prevent use after free (Coverity).
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
2022-11-02 14:41:56 +01:00
Fabian Maurer
0458949263 shell32: Prevent double free (Coverity).
If we get an error, we might get a double free otherwise.

Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
2022-11-02 14:41:11 +01:00
Fabian Maurer
f2459fa869 wbemproxy/tests: Prevent double free (Coverity).
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
2022-11-02 14:40:13 +01:00
Piotr Caban
7f5f904cfa msvcrt: Fix errno set on write to read-only file. 2022-11-02 14:40:10 +01:00
Piotr Caban
3fd47b4663 msvcrt: Fix errno set on read from write-only file.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53677
2022-11-02 14:40:10 +01:00
Brendan Shanks
c69f19552b winemac: Remove pre-Mac OS X 10.8 workarounds. 2022-11-02 14:39:46 +01:00
Zhiyi Zhang
398cb9595a comctl32/button: Initialize dtFlags in PB_Paint().
Fix an uninitialized variable warning.
2022-11-02 14:39:30 +01:00
Alexandre Julliard
1e58882e77 makedep: Always generate a fake module for the native architecture.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53861
2022-11-02 11:57:59 +01:00
Bartosz Kosiorek
7be72ce2a7 msvcrt: Add _swprintf_p_l implementation. 2022-11-01 20:50:05 +01:00
Bartosz Kosiorek
e2911c5ee6 msvcrt: Add _scprintf_p_l implementation. 2022-11-01 20:50:01 +01:00
Bartosz Kosiorek
3ac9ff07af msvcrt: Add _scprintf_p implementation. 2022-11-01 20:49:58 +01:00
Bartosz Kosiorek
25d44dd397 msvcrt: Add _scprintf_l implementation. 2022-11-01 20:49:54 +01:00
Bartosz Kosiorek
74252df967 msvcrt: Add _fwprintf_s_l implementation. 2022-11-01 20:49:50 +01:00
Bartosz Kosiorek
2b19ff5c68 msvcrt: Add _fwprintf_p_l implementation. 2022-11-01 20:49:46 +01:00
Bartosz Kosiorek
630b9f8ec0 msvcrt: Add _fwprintf_p implementation. 2022-11-01 20:49:42 +01:00
Bartosz Kosiorek
33551b28a5 msvcrt: Add _fprintf_s_l implementation. 2022-11-01 20:49:38 +01:00
Bartosz Kosiorek
03ae830653 msvcrt: Add _fprintf_p_l implementation. 2022-11-01 20:49:34 +01:00
Bartosz Kosiorek
f043fc32c9 msvcrt: Add _fprintf_p implementation. 2022-11-01 20:49:31 +01:00
Bartosz Kosiorek
52e2a53575 msvcrt: Add _fprintf_l implementation. 2022-11-01 20:49:27 +01:00
Brendan Shanks
f726b6ba79 ntdll: Print correct thread rename trace if non-pseudo-handle to current thread is used. 2022-11-01 20:48:35 +01:00
Jacek Caban
0c38bb0b2b winevulkan: Assert Unix call result in private thunks. 2022-11-01 20:46:23 +01:00
Jacek Caban
572dd0b466 winevulkan: Assert Unix call result in generated thunks.
Instead of silently ignoring crashes.
2022-11-01 20:46:23 +01:00
Jacek Caban
5b41a4816b winevulkan: Support optional dispatch handles. 2022-11-01 20:46:23 +01:00
Eric Pouech
9317a331f1 conhost/tests: Fix some conditions on tty test termination.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-11-01 20:46:23 +01:00
Eric Pouech
614b7d7430 user32: Fix rounding issue in edit tests for char pos messages.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-11-01 20:46:23 +01:00