Commit graph

16048 commits

Author SHA1 Message Date
Brendan Shanks d3416d9081 ntdll: Add a Wine-specific THREADINFOCLASS to set just the native thread name. 2022-11-07 21:13:32 +01:00
Alex Henrie bae772695e include: Add sdkddkver.h.
Needed to compile Tera Term.
2022-11-07 21:13:31 +01:00
Martin Storsjö f760976803 ntdll: Add ARM EHABI unwind instructions in assembly functions.
On most ELF platforms on ARM, ARM EHABI is the unwind info
format normally used, instead of DWARF like on most other platforms.

Currently, when unwinding through ELF objects with libunwind, the
libraries don't have any .eh_frame section mapped at runtime (since
DWARF isn't used for unwinding). Instead, what happens is that
libunwind ends up loading .debug_frame from the libraries on disk
instead.

Therefore, currently, ELF unwinding relies on the .so files not being
stripped.

This patch adds the necessary EHABI unwinding instructions in the
assembly functions that currently have DWARF CFI instructions.

EHABI isn't signaled via any specific preprocessor macro, but
is signaled by the absence of other unwind mechanisms (such
as __ARM_DWARF_EH__ and __SEH__, or maybe SjLj).

Mark the asm functions in the preloaders as .cantunwind, to avoid
undefined references to __aeabi_unwind_cpp_pr* functions.

Also mark other assembly functions as .cantunwind; for
signal_exit_thread this is essential if the function is marked
with .fnstart/.fnend - otherwise exiting threads does hang.
(pthread_exit internally calls _Unwind_ForcedUnwind, which would
hang if signal_exit_thread had .fnstart without any matching unwind
info).

This would, in principle, allow unwinding through these functions with
libunwind, for versions of libunwind that can parse the EHABI unwind
info - see e.g.
4d779f55c0.
(This commit isn't yet in any current release AFAIK). Unwinding with
EHABI via libunwind would require a few tweaks to the libunwind interface
usage in unix/signal_arm.c though, since e.g. the unw_get_proc_info call
fails if there's no .eh_frame or .debug_frame available.

Signed-off-by: Martin Storsjö <martin@martin.st>
2022-11-07 10:28:18 +01:00
Paul Gofman 0aacfd6861 include: Add windows.gaming.ui.idl. 2022-11-04 19:23:56 +01:00
Zhiyi Zhang c196d2462d user32: Hook drawing menu buttons. 2022-11-04 19:23:55 +01:00
Rémi Bernon dec91f0631 opengl32: Introduce a new NtUserCallOpenGLDebugMessageCallback callback. 2022-11-04 19:23:55 +01:00
Paul Gofman d656cb2024 ws2_32: Track SO_EXCLUSIVEADDRUSE option value. 2022-11-04 19:23:54 +01:00
Georg Lehmann c3769732f8 winevulkan: VkDeviceAddress needs alignment. 2022-11-03 18:33:09 +01:00
Georg Lehmann b04d09158f winevulkan: Update to VK spec version 1.3.233. 2022-11-03 18:33:09 +01:00
Alex Henrie 5f46d556fe include: Add wcsncat_s.
Needed to compile Tera Term.
2022-11-03 18:33:09 +01:00
Alex Henrie d24cbd1165 include: Add freopen_s.
Needed to compile Tera Term.
2022-11-03 18:33:09 +01:00
Alex Henrie 01777127cf include: Add _splitpath_s.
Needed to compile Tera Term.
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
Rémi Bernon 2fec6dd3e3 win32u: Add is_primary parameter to GetCurrentDisplaySettings. 2022-11-01 20:46:23 +01:00
Rémi Bernon 6aeaeed9fb win32u: Add primary adapter name parameter to ChangeDisplaySettings. 2022-11-01 20:46:22 +01:00
Connor McAdams 4ed9f4c2c5 uiautomationcore: Add UiaNavigate stub.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-11-01 17:50:59 +01:00
Bartosz Kosiorek 7984319248 msvcrt: Add _mbcjmstojis_l implementation. 2022-10-31 20:41:45 +01:00
Nikolay Sivov 645326214f user32: Add DragObject() stub.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53768
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-10-31 20:41:45 +01:00
Nikolay Sivov 9cd5bc0d86 kernelbase: Add QueryVirtualMemoryInformation().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-10-31 20:41:44 +01:00
Nikolay Sivov fc5cb9b577 ntdll: Partially implement MemoryRegionInformation query.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-10-31 20:41:44 +01:00
Paul Gofman 162101bcb3 win32u: Move NtUserDisplayConfigGetDeviceInfo implementation from user32. 2022-10-31 12:12:15 +01:00
Piotr Caban f590f72eed compstui: Add CPSFUNC_ADD_PROPSHEETPAGE support. 2022-10-31 12:11:55 +01:00
Nikolay Sivov f054d2ab58 kernelbase: Make sure to provide a message for missing information classes in GetFileInformationByHandleEx().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-10-31 12:11:55 +01:00
Bartosz Kosiorek 2f26b02fd2 gdiplus: Add GdipGetPenCompoundArray implementation.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52196
2022-10-31 12:11:55 +01:00
Connor McAdams 2de6b5719e uiautomationcore: Add UiaGetUpdatedCache stub.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-10-25 21:33:56 +02:00
Nikolay Sivov 853d9024b7 ntdll: Add some already implemented security descriptor exports.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-10-25 11:01:42 +02:00
Mihail Ivanchev 10e7c824e0 include: Add prototype for ReOpenFile().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53821
2022-10-24 11:13:06 +02:00
Alex Henrie 7d85693750 include: Add _putenv_s.
Needed to compile Tera Term.
2022-10-20 18:30:14 +02:00
Alex Henrie 5235526b16 include: Move strto[iu]max(_l) from stdlib.h to inttypes.h.
Needed to compile PuTTY.
2022-10-19 18:48:54 +02:00
Alex Henrie e9ff761d51 include: Add WSANO_ADDRESS to winsock2.h.
Needed to compile Tera Term.
2022-10-18 17:57:28 +02:00
Alex Henrie fc636b7f45 include: Add TOOLINFO[AW].
Needed to compile Tera Term.
2022-10-17 11:23:34 +02:00
Daniel Lehman 0a02b6a86a ntdll: Implement NtCancelSynchronousIoFile.
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
2022-10-17 11:22:41 +02:00
Daniel Lehman 05d00d5e78 ntdll: Add NtCancelSynchronousIoFile stub.
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
2022-10-17 11:22:26 +02:00
Huw Davies fad925d582 nsi: Update struct nsi_tcp_conn_dynamic for Windows 11. 2022-10-14 21:52:55 +02:00
Alex Henrie 8aef70a997 include: Add LV_COLUMN[AW].
Needed to compile Tera Term.
2022-10-14 18:00:59 +02:00
Huw Davies 673da9cdec nsi: Use the correct members for the error and discard counts.
Wine-Bug: https://bugs.winehq.org//show_bug.cgi?id=53234
2022-10-13 15:20:27 +02:00
Paul Gofman 51e1c70695 include/windows.devices.enumeration: Define DeviceAccessInformation class. 2022-10-13 10:37:40 +02:00
Connor McAdams 890faf87dd uiautomationcore: Implement UiaDisconnectProvider.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-10-12 15:46:57 +02:00
Alistair Leslie-Hughes 64c930ab3e include: Add missing SP defines.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49775
2022-10-11 12:00:14 +02:00
Paul Gofman 71f58158c1 wintrust: Load secondary signatures in SoftpubLoadSignature(). 2022-10-11 11:42:41 +02:00
Erich E. Hoover 1cd1a28670 ntdll: Implement retrieving DOS attributes in [fd_]get_file_info().
Co-authored-by: Joel Holdsworth <joel@airwebreathe.org.uk>
Signed-off-by: Joel Holdsworth <joel@airwebreathe.org.uk>
2022-10-10 12:23:14 +02:00
Hugh McMaster 627f2b3557 kernelbase: Return full title length from GetConsoleTitle(). 2022-10-10 11:19:44 +02:00
Alex Henrie 7d223c5326 include: Fix typos in NIN_BALLOON*.
Needed to compile Tera Term.
2022-10-10 11:16:20 +02:00
Alex Henrie 9d2b879d17 include: Fix typo in LR_VGACOLOR.
Needed to compile Tera Term.
2022-10-10 11:15:52 +02:00
Nikolay Sivov c083b2edcf include: Add IActiveDesktop definition.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-10-10 11:11:43 +02:00
Nikolay Sivov 8957d74b99 include: Change include guard for wininet.h.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-10-10 11:11:43 +02:00
Gabriel Ivăncescu 797030483e include/mshtml: Move some forward interface declarations to match Windows SDK.
Currently, these forward declarations make widl add IHTMLDocument2's `URL`
symbol before the other, lowercased, `url` symbols to the type library
(from IHTMLMetaElement, IDOMStorageEvent, etc). Since the typelib symbols
are case insensitive, `URL` ends up stored instead of `url`, which doesn't
match native.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-09-29 17:59:17 +02:00
Georg Lehmann 98f91b30ed winevulkan: Update to VK spec version 1.3.230. 2022-09-29 12:36:05 +02:00
Francois Gouget 8bfb1ecf25 tests: Print unhandled exception messages in colour.
Note that quite often the unhandled exception messages actually come
from Windows or Wine and these cannot be colorized.
2022-09-28 21:43:44 +02:00
Eric Pouech a014f19bdd winedump: Dump PDB public symbols' stream.
Add relevant structures to include/mscvpdb.h.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-09-27 18:29:34 +02:00