1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-08 03:45:57 +00:00
Commit Graph

165541 Commits

Author SHA1 Message Date
Petrichor Park
100504d2f5 notepad: Use GetDpiForWindow().
Instead of querying the registry, just calls `GetDpiForWindow`.

Winecfg's DPI slider sets `Control Panel\\Desktop\\LogPixels`.
See `programs/winecfg/x11drvdlg.c`
Notepad queries `Software\\Fonts\\LogPixels`, and so doesn't pick up
on the change.
2023-07-19 10:44:51 +02:00
Jeff Smith
224b771c0d windowscodecs: Allow GIF with no color table. 2023-07-19 01:25:05 +02:00
Jeff Smith
8ff77999b5 windowscodecs: Factor out common GIF palette copying logic. 2023-07-19 01:25:05 +02:00
Alexandre Julliard
70a6ac07bf ver: Use nameless unions/structs. 2023-07-18 20:12:42 +02:00
Alexandre Julliard
80ee53bb90 mmsystem: Use nameless unions/structs. 2023-07-18 20:12:42 +02:00
Alexandre Julliard
7a82d78b17 krnl386: Use nameless unions/structs. 2023-07-18 20:12:42 +02:00
Alexandre Julliard
f5c4ae7c10 strmbase: Use nameless unions/structs. 2023-07-18 20:12:42 +02:00
Alexandre Julliard
0724f94fa7 winspool.drv: Use nameless unions/structs. 2023-07-18 20:12:42 +02:00
Alexandre Julliard
0682b43b55 winmm: Use nameless unions/structs. 2023-07-18 20:12:42 +02:00
Alexandre Julliard
94efe81ad5 wininet: Use nameless unions/structs. 2023-07-18 20:12:42 +02:00
Alexandre Julliard
f58ce1cef6 winhttp: Use nameless unions/structs. 2023-07-18 20:12:42 +02:00
Alex Henrie
16a2243ee9 include: Annotate SHAlloc with __WINE_(DEALLOC|MALLOC). 2023-07-18 15:26:13 +02:00
Alex Henrie
36cf7b3d9d shell32: Free item lists with ILFree. 2023-07-18 15:26:13 +02:00
Alex Henrie
c79ffafcae include: Annotate IoAllocate functions with __WINE_(ALLOC_SIZE|DEALLOC|MALLOC). 2023-07-18 15:26:13 +02:00
Jeff Smith
b48a37f450 gdiplus: Fix GdipGetAllPropertyItems return value when no properties exist.
Discovered in researching https://bugs.winehq.org/show_bug.cgi?id=54748
2023-07-18 15:26:13 +02:00
Jeff Smith
1517342fac gdiplus: Fix GdipGetPropertySize return value when no properties exist.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54748
2023-07-18 15:26:13 +02:00
Jeff Smith
d84210f00a gdiplus/tests: Pare down image property tests that are not run for Wine. 2023-07-18 15:26:13 +02:00
Jeff Smith
7c8a4c1ce8 gdiplus/tests: Use test context for test ran in a loop. 2023-07-18 15:26:13 +02:00
Jeff Smith
95be104443 gdiplus/tests: Add GIF to image properties tests. 2023-07-18 15:26:13 +02:00
Jeff Smith
211d538d35 gdiplus/tests: Use consistent no-alternate value for image properties. 2023-07-18 15:26:13 +02:00
Billy Laws
1ed5dd7e8a ntdll/tests: Test that NtContinue restores all register state on arm64. 2023-07-18 15:26:13 +02:00
Alistair Leslie-Hughes
fb49ae52d5 d3drm/tests: Show that viewport::render does not clear the background.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
2023-07-18 15:20:49 +02:00
Alex Henrie
17b212a5c2 webservices/tests: Use WS_STRING_VALUE and WS_XML_STRING_VALUE. 2023-07-18 15:20:00 +02:00
Alex Henrie
18daf628d5 include: Add WS_STRING_VALUE and WS_XML_STRING_VALUE. 2023-07-18 15:20:00 +02:00
Alex Henrie
9928202d7c webservices: Add missing const to url parameter of WsOpenListener. 2023-07-18 15:17:36 +02:00
Brendan Shanks
4e6dbf3b9e loader: In macOS preloader, add __program_vars section.
This is needed to be a correct macOS 10.7 binary.
2023-07-18 15:16:12 +02:00
Brendan Shanks
cfa0dd9dd9 loader: On 64-bit macOS, reserve the low 8GB using a zerofill section.
A zerofill section is the only way to reserve address space and prevent
system frameworks from using it, including preventing allocations
before any preloader code runs:
- starting with Ventura, dyld allocates private memory from 0x1000-0x81000.
  This breaks EXEs that have an image base of 0x10000.
- Rosetta allocates memory starting at 0x100000000, which breaks EXEs based there.
- starting with Monterey, for proper 10.7 binaries (which include a __program_vars section),
  libSystem initializes itself before the preloader runs. This fragments the <4GB
  address space which is needed for Wow64.

This will need to be adjusted if any EXEs based at 0x200000000 or higher
are found.
2023-07-18 15:16:12 +02:00
Brendan Shanks
0920543876 configure: Only attempt to build macOS preloader on Intel, and remove unnecessary flag checks. 2023-07-18 15:16:12 +02:00
Brendan Shanks
c1958ddc7a ntdll: Don't release address space on 64-bit macOS. 2023-07-18 15:15:24 +02:00
Biswapriyo Nath
900dfca389 include: Add more CLSIDs in d2d1effects.idl. 2023-07-17 23:31:23 +02:00
Jeff Smith
a55c89dba6 gdiplus/tests: Fix mangled test output when dumping data in hex format. 2023-07-17 21:58:57 +02:00
Jacek Caban
36384097c7 win32u: Pass module name before packed lparam in win_hook_params. 2023-07-17 18:11:19 +02:00
Jacek Caban
730d462b7f user32: Always use NtCallbackReturn to pass result from User32CallWindowsHook. 2023-07-17 18:11:19 +02:00
Jacek Caban
8f168ea69b wow64win: Convert parameters in place in wow64_NtUserCallWindowsHook. 2023-07-17 18:11:19 +02:00
Jacek Caban
2149bdfda7 wow64win: Convert parameters in place in wow64_NtUserCallWinProc. 2023-07-17 18:11:19 +02:00
Jacek Caban
e1ff3c8d22 wow64win: Support in place conversion in 64to32 struct conversion helpers. 2023-07-17 18:11:19 +02:00
Jacek Caban
3b9580a3c7 wow64win: Define more 32-bit types. 2023-07-17 18:11:19 +02:00
Zhao Yi
ff951dc843 comctl32/syslink: Check item type before increasing link ID in SYSLINK_LinkAtPt().
Signed-off-by: Zhaoyi <zhaoyi@uniontech.com>
2023-07-17 15:19:38 +02:00
Zhao Yi
53fd667eeb comctl32/tests: Add a test case to get syslinkid.
Signed-off-by: Zhaoyi <zhaoyi@uniontech.com>
2023-07-17 15:19:17 +02:00
Shaun Ren
327667a620 sapi/tests: Fix ISpObjectToken::CreateInstance E_ACCESSDENIED error. 2023-07-17 15:17:36 +02:00
Shaun Ren
bc479f2a19 sapi/tests: Fix intermittent duration test failure in mmaudio. 2023-07-17 15:17:36 +02:00
Shaun Ren
9941a71649 sapi: Invoke AddRef in ISpVoice::SetVoice. 2023-07-17 15:17:36 +02:00
Shaun Ren
5fccc408c6 sapi: Invoke AddRef in mmaudio SetObjectToken. 2023-07-17 15:17:36 +02:00
Jacob Czekalla
186d949703 comdlg32: Add parent folder button to IFileDialog. 2023-07-17 12:14:04 +02:00
Alexandre Julliard
12869e46bd winex11.drv: Use nameless unions/structs. 2023-07-17 11:39:50 +02:00
Alexandre Julliard
bb9030cb78 winemac.drv: Use nameless unions/structs. 2023-07-17 11:39:50 +02:00
Alexandre Julliard
744237ecf6 wineandroid.drv: Use nameless unions/structs. 2023-07-17 11:39:50 +02:00
Alexandre Julliard
e8f82d4d15 wined3d: Use nameless unions/structs. 2023-07-17 11:35:05 +02:00
Alexandre Julliard
d75127d41a wevtapi: Use nameless unions/structs. 2023-07-17 11:34:29 +02:00
Alexandre Julliard
8a2dca2563 wbemprox: Use nameless unions/structs. 2023-07-17 11:34:13 +02:00