Commit graph

16190 commits

Author SHA1 Message Date
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
Alexandre Julliard 9f0ae8c992 tools: Move signal masking to the common make_temp_file() helper. 2023-01-25 11:47:51 +01:00
Alistair Leslie-Hughes d05ce2e72d include: Add _XHR enum values. 2023-01-25 10:16:31 +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 6e43f873c3 krnl386: Make MapLS argument non-const to avoid some compiler warnings. 2023-01-24 22:24:39 +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
Nikolay Sivov c38aa80ed4 windows.globalization: Implement ILanguage::get_LanguageTag(). 2023-01-24 18:26:57 +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
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
Alex Henrie 7ada8b96fb include: Add RTL_CONSTANT_STRING. 2023-01-24 18:21:34 +01:00
Evan Tang 8b0868c176 mshtml: Implement IHTMLRect2 for HTMLRect. 2023-01-24 18:14:11 +01:00
Hans Leidekker 1318f8aa0a ntdll: Fix a test failure on Windows 11. 2023-01-12 16:24:31 +01:00
Jacek Caban 4d8091cccc include: Add stdarg.h header.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54263
2023-01-10 09:20:54 +01:00
Jacek Caban 4c7e7ccac9 include: Add vadefs.h header.
Based on mingw-w64.
2023-01-10 09:20:51 +01:00
Zhiyi Zhang d81cf4ed55 win32u: Introduce a get_display_depth() helper to retrieve emulated display depth.
Using EnumDisplaySettings() directly to query display depth has a high overhead when using the
XRandR 1.0 display device handler on some NVIDIA setups.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51420
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53382
2023-01-09 16:44:08 +01:00
Alexandre Julliard 1c83f47893 Update copyright info for 2023. 2023-01-08 12:12:25 +01:00
Alistair Leslie-Hughes 51a27f3124 include: Add missing enum XHR_PROP_ values. 2023-01-06 13:39:45 +01:00
Biswapriyo Nath d059dd1cd0 include: Add missing constants in d3d11.idl. 2022-12-22 20:51:24 +01:00
Eric Pouech 495711c251 ntdll: Fix export and calling convention of RtlUlonglongByteSwap().
The RtlU*ByteSwap() family:
- has FASTCALL calling convention
- is only exported from ntdll and ntoskrnl.exe in 32bit mode
  (didn't check ARM though)

Wine's support for RtlUlonglongByteSwap() doesn't follow these constraints.
Note: in __fastcall, 64bit paramaters are passed on the stack, to
RtlUlonglongByteSwap() calling convention acts as __stdcall.

So:
- fix ntdll.spec (resp. ntoskrnl.exe.spec) to only export
  (resp. forward) RtlUlonglongByteSwap for i386
- always provide an inline implementation in winternl.h
- reimplement ntdll.RtlUlonglongByteSwap() for i386 with
  __fastcall calling convention.
- fix ntdll/tests/rtl.c to use correct calling convention.
- add test in ntdll/tests/rtl.c for inlined version.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53536
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-12-16 18:48:30 +01:00
Zebediah Figura 760788557c include: Add CONFIGFLAG_* definitions. 2022-12-13 12:44:51 +01:00
Alex Henrie 3ffc420440 include: Add _recalloc. 2022-12-13 12:08:29 +01:00
Eric Pouech cbde184047 wined3d: Reduce usage of long integral types in stateblock.c. 2022-12-09 17:52:25 +01:00
Eric Pouech e213d17d4c wined3d: Let sampler_states and texture_states be 2D arrays of uint32_t.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-12-09 17:52:25 +01:00
Jacek Caban 7fc68b7ac5 win32u: Move GetTaskmanWindow implementation from user32. 2022-12-09 17:52:25 +01:00
Jacek Caban 7d53e27cff win32u: Move SetTaskmanWindow implementation from user32. 2022-12-09 17:52:25 +01:00
Jacek Caban 592abf3379 win32u: Move GetProgmanWindow implementation from user32. 2022-12-09 17:52:25 +01:00
Jacek Caban 62852dc503 win32u: Move SetProgmanWindow implementation from user32. 2022-12-09 17:52:25 +01:00
Jacek Caban c8f1d41183 win32u: Move NtUserSetShellWindowEx implementation from user32. 2022-12-09 17:52:25 +01:00
Jacek Caban 67c3fff7cd win32u: Move GetShellWindow implementation from user32. 2022-12-09 17:52:25 +01:00
Jacek Caban ae7effbd78 win32u: Move NtUserWaitMessage implementation from user32. 2022-12-09 17:52:25 +01:00
Eric Pouech 901c9b5997 wined3d: Get/set texture's level_count and lod as unsigned int.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-12-08 21:07:30 +01:00
Georg Lehmann 07761336d6 winevulkan: Update to VK spec version 1.3.237. 2022-12-08 20:32:10 +01:00
Hans Leidekker fa533f11e1 wofutil: Stub WofShouldCompressBinaries(). 2022-12-08 18:41:25 +01:00
Jacek Caban f5c8275329 win32u: Move NtUserGetInternalWindowPos implementation from user32. 2022-12-08 18:41:24 +01:00
Jacek Caban 026700027e win32u: Move NtUserRealChildWindowFromPoint implementation from user32. 2022-12-08 18:41:24 +01:00
Alex Henrie 926433faa3 include: Add corecrt_malloc.h. 2022-12-08 18:12:51 +01:00
Eric Pouech d73c71098e wined3d: Reduce usage of long integral types in surface.c. 2022-12-07 23:20:39 +01:00
Eric Pouech 68811881e6 wined3d: Reduce usage of long integral types in include/wined3d.h.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-12-07 23:20:39 +01:00
Alex Henrie 1a7efafbab include: Annotate ILC* functions with __WINE_(DEALLOC|MALLOC). 2022-12-07 23:20:39 +01:00
Alex Henrie dfb025c39e include: Annotate GdipAlloc with __WINE_(DEALLOC|MALLOC). 2022-12-07 23:20:23 +01:00
Alex Henrie 5e943f6e1a include: Annotate (Alloc|Realloc)ADs* with __WINE_(ALLOC_SIZE|DEALLOC|MALLOC). 2022-12-07 20:27:26 +01:00
Alex Henrie b90f54b4b4 include: Annotate MFHeapAlloc with __WINE_(ALLOC_SIZE|DEALLOC|MALLOC). 2022-12-07 20:27:26 +01:00
Alex Henrie 803c616f7e include: Annotate WSDAllocateLinkedMemory with __WINE_(ALLOC_SIZE|MALLOC). 2022-12-07 20:27:25 +01:00
Sven Baars f8a0716111 win32u: Pass the client instance to NtUserCreateWindowEx.
On 16-bit the module instance and client instance are different.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53568
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53646
2022-12-07 17:10:37 +01:00
Alexandre Julliard 7eef69e1fc include: Use proper dllimports for winsock functions. 2022-12-07 14:25:18 +01:00
Alexandre Julliard 55fc5c8ae8 include: Use proper dllimports for shell32 functions. 2022-12-07 14:16:10 +01:00
Alexandre Julliard 9be166e251 include: Use proper dllimports for wininet functions. 2022-12-07 14:16:10 +01:00
Alexandre Julliard 19b4814fd3 include: Use proper dllimports for winhttp functions. 2022-12-07 13:51:37 +01:00