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
Alex Henrie
88a5c64b93
hhctrl: Handle memory allocation failure in ReadChmSystem (cppcheck).
2023-01-24 22:12:44 +01:00
Alex Henrie
7a441eafb4
dbghelp: Handle memory allocation failure in image_locate_build_id_target (cppcheck).
2023-01-24 22:12:36 +01:00
Alex Henrie
3e5a956563
twain_32: Handle realloc failure in twain_add_onedriver (cppcheck).
2023-01-24 22:11:37 +01:00
Fabian Maurer
89f1d626dc
wldap32: Set error code in error cases (Coverity).
...
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
2023-01-24 22:11:06 +01:00
Fabian Maurer
0408d3a800
wldap32: Free resource in error case and return error code (Coverity).
...
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
2023-01-24 22:11:04 +01:00
Alex Henrie
4a8b12a1f6
mshtml: Handle memory allocation failure in set_statustext.
2023-01-24 22:10:52 +01:00
Alex Henrie
d394df4a30
msi: Fix memory leak on realloc failure in search_directory (cppcheck).
2023-01-24 22:10:45 +01:00
Alex Henrie
6c1dd0f2c5
msi: Fix memory leak on realloc failure in msi_get_window_text (cppcheck).
2023-01-24 22:10:36 +01:00
Alex Henrie
3e231d0f36
msi: Fix memory leak on realloc failure in create_diff_row_query (cppcheck).
2023-01-24 22:10:29 +01:00
Alex Henrie
a8e2aa6c4b
winspool: Improve the grammar of a comment in get_servername_from_name.
2023-01-24 22:10:16 +01:00
Paul Gofman
be57ebe015
ddraw: Do not report D3DDEVCAPS_HWRASTERIZATION for RGB emulation device.
2023-01-24 20:42:10 +01:00
Joshua Ashton
90416a48af
winevulkan: Enable VK_EXT_hdr_metadata.
...
This works fine with the new struct conversions, and is needed
for HDR with native Vulkan games such as Doom Eternal and games using
HDR with DXVK and VKD3D-Proton.
2023-01-24 20:14:52 +01:00
Alex Henrie
aa70bdb5d6
winex11: Simplify confusing condition and error messages in wglShareLists.
...
Mathematically, ((a && b) || b) == b. Moreover, test_sharelists in
dlls/opengl32/tests/opengl.c checks that wglShareLists can share lists
from a source context that has been current.
2023-01-24 20:14:52 +01:00
Rémi Bernon
d418cb7551
schedsvc: Use CRT allocation functions in remaining calls.
2023-01-24 20:14:52 +01:00
Rémi Bernon
554cfb1984
schedsvc: Avoid mismatching heap in RPC allocations.
...
SchRpcEnumFolders names are allocated with malloc, and later freed
in __finally_ITaskSchedulerService_SchRpcEnumFolders using
MIDL_user_free.
2023-01-24 20:14:52 +01:00
Rémi Bernon
381e756a9b
schedsvc: Avoid mismatching heap in SchRpcEnumTasks.
2023-01-24 20:14:52 +01:00
Rémi Bernon
d59e89dab1
schedsvc: Avoid mismatching heap in SchRpcEnumFolders.
2023-01-24 20:14:52 +01:00
Paul Gofman
a98319d0c5
ntdll: Do not use extended context in RtlCopyContext() if extended state is not copied.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54289
2023-01-24 20:14:52 +01:00
Paul Gofman
4679b556a2
ntdll: Factor out context_copy_ranges() function.
2023-01-24 20:14:52 +01:00
Paul Gofman
03e08d1834
ntdll/tests: Fix random test failure in test_restore_context().
2023-01-24 20:14:52 +01:00
Paul Gofman
e59bfb7b82
ntdll/tests: Fix xstate tests failing on modern Windows and CPUs with more xstate features.
2023-01-24 20:14:52 +01:00
Paul Gofman
be92764a5a
ntdll/tests: Fix the case of absent XSTATE context in test_copy_context().
2023-01-24 20:14:52 +01:00
Eric Pouech
5fc54e3219
winedbg: Use debuggee's bitness for 'examine /a' command.
...
Also fixes stack dump in crash summary and 'info stack' command.
(We were using debugger's bitness instead).
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-01-24 20:14:52 +01:00
Eric Pouech
ad21db2e1e
dbghelp: Don't use dbghelp_current_cpu.
...
It's bound to debugger's CPU not debuggee's.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-01-24 20:14:52 +01:00
Eric Pouech
85fb74a672
dbghelp: In dwarf debug info, use the same name of anonymous UDT as pdb.
...
It's hard coded by msvc in PDB information, so adapt dwarf to advertize
the same.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-01-24 20:14:52 +01:00
Akihiro Sagawa
c385b6475e
user32/edit: Fix WM_CHAR handler for double-byte characters.
...
After commit 2aa54a90bd
, a double-byte
character is sent to the edit control by double WM_CHAR messages.
However, its WM_CHAR handler (ANSI version) can't process a double-
byte character properly because the handler converts WM_CHAR to WCHAR
one by one.
This fix queues the double-byte lead byte as it comes in and then uses
it afterwards for the WCHAR conversion.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54337
2023-01-24 20:09:10 +01:00
Akihiro Sagawa
cbe3a39b64
user32/tests: Add DBCS WM_CHAR tests for edit control.
2023-01-24 20:09:10 +01:00
Rémi Bernon
17ac4059a5
dwrite: Statically init the system_fallback locale list.
...
To avoid a crash on DLL unload if it wasn't initialized.
2023-01-24 20:06:18 +01:00
Alistair Leslie-Hughes
90d50bc611
mountmgr.sys: Don't attempt to read from invalid media.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49615
2023-01-24 18:27:08 +01:00
Nikolay Sivov
c38aa80ed4
windows.globalization: Implement ILanguage::get_LanguageTag().
2023-01-24 18:26:57 +01:00
Bernhard Kölbl
86fb17c8fb
windows.media.speech/tests: Test starting, stopping, pausing and resuming the recognition session.
...
Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
2023-01-24 18:26:35 +01:00
Bernhard Kölbl
b36871b85a
windows.media.speech/tests: Test the recognizer state.
...
Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
2023-01-24 18:26:34 +01:00
Bernhard Kölbl
4e88f093b0
windows.media.speech: Return IAsyncAction from session_PauseAsync.
...
Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
2023-01-24 18:26:33 +01:00
Bernhard Kölbl
d21b872a80
windows.media.speech: Return IAsyncAction from session_StopAsync.
...
Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
2023-01-24 18:26:32 +01:00
Bernhard Kölbl
754452dd9d
windows.media.speech: Do not force calling convention on internal callbacks.
...
Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
2023-01-24 18:26:31 +01:00
Bernhard Kölbl
e203d3be0a
windows.media.speech: Move constraints vector to the recognition session.
...
Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
2023-01-24 18:26:29 +01:00
Alex Henrie
08643dc4d5
dwrite: Handle memory allocation failure in bidi_compute_bracket_pairs (cppcheck).
2023-01-24 18:26:15 +01:00
Eric Pouech
a89975f731
dbghelp: Expose the real path to the module in SymGetModuleInfo*().
...
Expose the real path of a loaded module (potentially read from
WINEDLLDIR or WINEBUILDDIR or overriden load order or ...). This
improves gdb integration by passing the real path to the loaded
modules (instead of the paths in c:\windows\ system subdirectories).
Introduce new Wine only dbghelp's extended option to enable the
feature.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54250
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-01-24 18:25:58 +01:00
Ake Rehnman
70b8461bef
dbghelp: Store path to module image when passed through file handle.
...
Co-authored-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-01-24 18:25:54 +01:00
Eric Pouech
3055653c1e
winedbg: Pass loaded image's file handle to dbghelp.
...
In some cases (running from build tree, overriding load order...), the
path to the module from the load DLL debug event isn't the real path
to the loaded module. So pass the handle to loaded module's image from
winedbg to dbghelp (to avoid image lookup).
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54250
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-01-24 18:24:13 +01:00
Eric Pouech
168c7a475d
dbghelp: Don't search path when we have a file handle to loaded image.
...
When the handle to the loaded module is passed in SymLoadModule*(),
don't try to search for the module's image path and use only the file
handle.
Co-authored-by: Ake Rehnman <ake.rehnman@gmail.com>
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-01-24 18:24:09 +01:00
Nikolay Sivov
cab673f8b3
include: Add recent DirectWrite API changes.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2023-01-24 18:22:05 +01:00
Fabian Maurer
4bc6aad375
user32/tests: Don't assign const variable to other const (gcc 4.7).
...
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
2023-01-24 18:21:44 +01:00
Alex Henrie
7ada8b96fb
include: Add RTL_CONSTANT_STRING.
2023-01-24 18:21:34 +01:00