Commit graph

16209 commits

Author SHA1 Message Date
Alex Henrie 9716a1a97d include: Remove __WINE_MALLOC from functions that shouldn't have it.
According to the GCC documentation,[1] __attribute__((malloc)) may not
be used on functions that return memory that contains one or more valid
pointers.

[1] https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html
2023-01-30 16:49:55 +01:00
Alexandre Julliard 42b13eff24 include: Add some C99 floating point comparison macros. 2023-01-30 16:49:55 +01:00
Mohamad Al-Jaf e8ebab396d include: Add windows.system.profile.systemmanufacturers.idl file. 2023-01-27 13:39:06 +01:00
Alistair Leslie-Hughes 84d38ef306 include: Add D3DKMT_ENUMADAPTERS2 structure. 2023-01-27 13:39:06 +01:00
Brendan Shanks 21c4260792 include/msvcrt: Add __WINE_(ALLOC_SIZE|DEALLOC) attributes to _recalloc. 2023-01-26 22:05:13 +01:00
Brendan Shanks d36cbc4a57 include/msvcrt: Add __WINE_(ALLOC_SIZE|DEALLOC|MALLOC) attributes to _aligned_malloc functions. 2023-01-26 22:05:13 +01:00
Brendan Shanks 3a688e81a6 include/msvcrt: Add __WINE_(DEALLOC|MALLOC) attributes to _strdup and _wcsdup. 2023-01-26 22:05:13 +01:00
Nikolay Sivov 3a1146d8e6 propsys: Add InitPropVariantFromStringVector(). 2023-01-26 22:05:13 +01:00
Nikolay Sivov 5267fccae6 ktmw32: Use syscall interface for transaction objects stubs.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2023-01-26 22:05:13 +01:00
Georg Lehmann 83199991ed winevulkan: Update to VK spec version 1.3.240. 2023-01-26 22:05:13 +01:00
Rémi Bernon c5c9108d8c include: Add Windows.Foundation.IAsyncOperationWithProgress<TResult, TProgress> definition. 2023-01-25 18:31:03 +01:00
Rémi Bernon f0f83180c6 include: Add Windows.Foundation.IAsyncActionWithProgress<TProgress> definition. 2023-01-25 18:31:03 +01:00
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
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