Rémi Bernon
fe11aa6ad1
include: Add Windows.Foundation.Collections.IObservableVector<T> definition.
2023-01-25 18:31:03 +01:00
Rémi Bernon
5050ae668d
include: Add Windows.Foundation.Collections.IPropertySet definition.
2023-01-25 18:31:03 +01:00
Rémi Bernon
1aadd3fc6d
include: Add Windows.Foundation.Collections.IObservableMap<K, V> definition.
2023-01-25 18:31:03 +01:00
Rémi Bernon
44906b6051
include: Add Windows.Foundation.Collections.IMap<K, V> definition.
2023-01-25 18:31:03 +01:00
Rémi Bernon
634b163407
include: Add Windows.Foundation.Collections.MapChangedEventHandler<K, V> definition.
2023-01-25 18:31:03 +01:00
Rémi Bernon
f122309f35
include: Add Windows.Foundation.Collections.IMapChangedEventArgs<T> definition.
2023-01-25 18:31:03 +01:00
Rémi Bernon
a483e9928b
include: Add Windows.Foundation.Collections.IVectorChangedEventArgs definition.
2023-01-25 18:31:03 +01:00
Rémi Bernon
adbc9ae185
dinput: Rename lpdid local variable to device.
2023-01-25 18:31:03 +01:00
Rémi Bernon
1b7750e448
dinput: Move dinput class implementation to dinput.c.
2023-01-25 18:31:03 +01:00
Rémi Bernon
070e1f5ea8
dinput: Remove unnecessary initialization helpers.
2023-01-25 18:31:03 +01:00
Rémi Bernon
21fa1be53b
dinput: Add traces to the ANSI wrappers.
2023-01-25 18:31:03 +01:00
Rémi Bernon
1b3fab9bd4
dinput: Remove outdated and superfluous comments.
2023-01-25 18:31:03 +01:00
Rémi Bernon
e091a7b817
oledb32/tests: Avoid use-after-free and unused assignment.
2023-01-25 18:31:03 +01:00
Rémi Bernon
e7fbdd1eb2
oledb32: Fix error info cleanup dispparams rgvarg index.
2023-01-25 18:31:03 +01:00
Hans Leidekker
369e0cfae6
advapi32: Bump random buffer size.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54364
2023-01-25 18:31:03 +01:00
Paul Gofman
66b1a4f333
cryptnet: Also hash issuer cert for cache id.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54353
2023-01-25 18:28:06 +01:00
Paul Gofman
f114ab57d2
cryptnet: Use cert data hash as cache id instead of serial number.
2023-01-25 18:28:06 +01:00
Paul Gofman
6e782449ab
cryptnet: Cache revocation status in verify_cert_revocation().
2023-01-25 18:28:06 +01:00
Alex Henrie
88d6f8ac6c
include: Add localtime_s.
...
Needed to compile Tera Term.
2023-01-25 13:10:05 +01:00
Alex Henrie
9844a69411
include: Add ctime_s.
...
Needed to compile Tera Term.
2023-01-25 13:10:03 +01:00
Alex Henrie
261d7418a8
msvcrt: Change return type of _ctime32_s and _ctime64_s to errno_t.
2023-01-25 13:10:03 +01:00
Alexandre Julliard
ae8797c8e3
tools: Add a common helper to setup signal handlers.
2023-01-25 11:47:51 +01:00
Alexandre Julliard
9f0ae8c992
tools: Move signal masking to the common make_temp_file() helper.
2023-01-25 11:47:51 +01:00
Alexandre Julliard
ca398e2762
tools: Add a common helper to cleanup temp files.
2023-01-25 11:47:51 +01:00
Alexandre Julliard
ecb651c01f
tools: Add a common helper to get the argv0 directory.
2023-01-25 11:47:51 +01:00
Zebediah Figura
a0a3c25e84
win32u: Make draw_scroll_bar() static.
2023-01-25 10:17:13 +01:00
Zebediah Figura
e729c3bb70
win32u: Make draw_frame_caption() static.
2023-01-25 10:17:13 +01:00
Zebediah Figura
ffe262b29b
win32u: Make create_brush() hidden.
2023-01-25 10:17:13 +01:00
Zebediah Figura
035ac4df7a
win32u: Make the global "caret" structure static.
2023-01-25 10:17:13 +01:00
Zebediah Figura
e634f23659
win32u: Make call_messageAtoW() static.
2023-01-25 10:17:13 +01:00
Rémi Bernon
36b2f6be52
hidp: Allow match all usages on specific functions only.
2023-01-25 10:16:52 +01:00
Rémi Bernon
4466e2c24c
windows.gaming.input: Fix magnitude sign for constant and ramp effects.
...
The magnitude already carries the sign of X direction. Having a signed
direction will inverse the effective direction. The Y and Z direction
sign and magnitude seem to be ignored.
2023-01-25 10:16:51 +01:00
Rémi Bernon
9d06d700e8
windows.gaming.input: Introduce new effect_reorient_direction helper.
2023-01-25 10:16:50 +01:00
Rémi Bernon
d79075eb07
windows.gaming.input: Fix infinite effect duration scaling.
2023-01-25 10:16:48 +01:00
Rémi Bernon
42082d4d39
dinput: Avoid sending envelope report if it has been removed.
2023-01-25 10:16:48 +01:00
Alistair Leslie-Hughes
d05ce2e72d
include: Add _XHR enum values.
2023-01-25 10:16:31 +01:00
Paul Gofman
e41135a4a5
ntdll: Use MemAvailable field for free RAM estimation if available.
2023-01-25 10:13:07 +01:00
Francois Gouget
605ecafa67
user32: Fix a SetClipboardData() buffer overflow.
...
Wine would append a correctly aligned NUL Unicode character to
terminate the string but overflow the buffer by one byte for odd-sized
strings.
Windows instead overwrites the last two buffer bytes with a NUL Unicode
character which ends up being misaligned for odd-sized strings.
The clipboard data has a size field anyway so match the Windows
behavior.
Tweak the tests to show that SetClipboardData() can overwrite half of
the Unicode string's last character.
2023-01-25 10:10:24 +01:00
Francois Gouget
ee4f8cbb20
user32: Fix a SetClipboardData() underflow and improve the tests.
...
A 0 or 1 byte Unicode string cannot be NUL terminated. That does stop
Windows 10 and older from doing so which is why the 1 byte test must be
skipped to avoid a crash in the 64-bit case.
But in such cases SetClipboardData() fails on Windows 11 and so should
Wine (instead of underflowing the buffer like Windows).
Reorganize the test data by increasing size.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54192
2023-01-25 10:07:21 +01:00
Francois Gouget
47d4927424
user32/tests: Use wine_dbgstr_an() to trace malformed Unicode strings.
...
Using wine_dbgstr_wn() causes out-of-bounds memory accesses when given
Unicode strings with odd sizes, most obviously 1 byte strings.
Also trace the expected Ansi string for round-trip tests.
2023-01-25 10:07:19 +01:00
Francois Gouget
25d6c1a3b4
user32: GetClipboardData() should set last error when the format is not found.
...
This has the benefit of indicating why GetClipboardData() failed and of
matching the Windows 11 behavior.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54190
2023-01-25 10:07:17 +01:00
Eric Pouech
e8c7920919
conhost.exe: Handle ctrl-\ in Wine.
...
Let conhost handle ctrl-\ instead of Unix tty, and pretend it's a
ctrl-pause/break key stroke. This allows CUI application in processed
input mode not to close upon ctrl-\.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54141
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-01-25 10:04:02 +01:00
Eric Pouech
fda954dfd4
conhost.exe: Handle ctrl-pause/break key strokes.
...
Note: this patch should be extended by adding insertion
of the CTRL_BREAK_EVENT into processes' crtl handler
(as it's done for CTRL_C_EVENT).
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-01-25 10:04:00 +01:00
Fabian Maurer
ae84e423c5
d3dx10core: Don't redefine ID3D10Device1 (gcc 4.3).
...
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
2023-01-25 10:01:38 +01:00
Fabian Maurer
0de8f53b3b
d2d1_1: Don't redefine D2D1_PROPERTY_BINDING (gcc 4.3).
...
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
2023-01-25 10:01:36 +01:00
Alexandre Julliard
c844ebdb0a
shell32: Allocate a full SHITEMID to avoid a compiler warning.
2023-01-24 22:24:42 +01:00
Alexandre Julliard
cf3d58e4dc
krnl386: Remove a trace that causes compiler warnings.
2023-01-24 22:24:42 +01:00
Alexandre Julliard
6e43f873c3
krnl386: Make MapLS argument non-const to avoid some compiler warnings.
2023-01-24 22:24:39 +01:00
Alex Henrie
1afa20ae67
inetcomm: Fix memory leak on realloc failure in copy_headers_to_buf (cppcheck).
2023-01-24 22:13:48 +01:00
Alex Henrie
02d4647c9b
hhctrl: Handle memory allocation failure in SearchCHM_File (cppcheck).
2023-01-24 22:13:18 +01:00