Zhiyi Zhang
877d12f879
uxtheme: Support more HiDPI properties.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-24 12:13:35 +02:00
Zhiyi Zhang
4b2777db4b
uxtheme: Support TrueSizeStretchMark property.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-24 12:13:27 +02:00
Zhiyi Zhang
0d96bf1f38
uxtheme: Support TrueSizeScalingType property.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-24 12:13:23 +02:00
Zhiyi Zhang
399ebdf893
uxtheme: Remove useless calculation.
...
rcDst is not used after it is used for getting destination rectangle width and height.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-24 12:13:18 +02:00
Daniel Lehman
f33bf35d9a
kernelbase: Don't add a backslash to the second path if not needed.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 22:14:19 +02:00
Daniel Lehman
ac7f6fda43
kernelbase/tests: Add more tests for combining the second path.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 22:14:19 +02:00
André Zwing
9323d33fa4
shell32: Add IApplicationDocumentLists stub.
...
Lets Cablabel S3 Lite 1.4.0.2 start, otherwise it shows a msgbox with the error and freezes.
Signed-off-by: André Zwing <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 22:14:19 +02:00
Alistair Leslie-Hughes
d4f83ba77f
ws2_32: Handle success in addrinfo_err_from_unix.
...
When unix_getnameinfo is called, we end up with a warning fixme for no reason.
0740:fixme:winsock:addrinfo_err_from_unix unhandled error 0
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 20:51:17 +02:00
Jacek Caban
7f888ea093
gdi32: Separate EMFDRV_PDEVICE and struct emf.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 18:15:37 +02:00
Jacek Caban
478fa71f5f
gdi32: Use NtGdiGetRgnBox in emfdrv_stroke_and_fill_path.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 18:15:32 +02:00
Jacek Caban
0e8a7a5050
gdi32: Avoid using EMFDRV_PDEVICE outside emfdev.c.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 18:15:28 +02:00
Jacek Caban
1323ff842e
gdi32: Use struct emf for EMF helpers.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 18:15:23 +02:00
Jacek Caban
56efbd0212
gdi32: Move EMF driver to separated file.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 18:15:19 +02:00
Jacek Caban
233af3fdbf
gdi32: Handle EMF recording clean up in DeleteDC.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 18:15:14 +02:00
Jacek Caban
9a53f3ae11
gdi32: Use NtGdiDeleteObjectApp for DeleteDC.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 18:15:07 +02:00
Jacek Caban
e33cdf89c5
gdi32: Use NtGdiResetDC for ResetDCW.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 18:15:02 +02:00
Jacek Caban
c0e7df8b42
gdi32: Store EMF bounds in DC_ATTR.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 18:14:54 +02:00
Jacek Caban
59670ffb2d
gdi32: Introduce NtGdiCreateMetafileDC.
...
And use it in CreateEnhMetaFileW.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 18:14:49 +02:00
Francois Gouget
37f492ae55
services/tests: Vista+ returns fixed 1024x768 WinDisc monitor information.
...
Unlike Windows XP which returned the actual display information to
non-interactive services.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 12:08:18 +02:00
Francois Gouget
68a3863470
kernel32/tests: Remove the macros from the GetTimeFormatA() tests.
...
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 12:08:14 +02:00
Francois Gouget
6c58776d0d
kernel32/tests: Don't allow the pre-Vista locale results.
...
This simplifies the Get*Format() tests.
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 12:08:05 +02:00
Francois Gouget
9fe40c9f58
wineusb.sys: Fix a potential buffer overflow in add_usb_device().
...
name needs to be able to hold 15 characters plus an unsigned int,
potentially up to 10 characters even if it is unlikely, plus the
trailing nul character.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 12:07:38 +02:00
Francois Gouget
cb1d0c913d
avifil32: Fix a ASCII / ANSI mixup in comments.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 12:06:30 +02:00
Francois Gouget
2e89691bb6
kernel32/tests: Don't skip the CompareStringA() tests on Windows.
...
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 12:06:20 +02:00
Eric Pouech
bf6ac26f75
winedump: Fix public and data/proc ref definitions of Codeview records.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 12:05:14 +02:00
Eric Pouech
84b0bd4583
mscvpdb.h: Add typedefs for type-id references.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 12:04:57 +02:00
Eric Pouech
7499b98ec8
winedump: Update support for S_COMPILE* records.
...
Don't mix up S_COMPILE records with compiland information.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 12:04:36 +02:00
Eric Pouech
001c8bdb03
mscvpdb.h: Make len and id type/symbol fields unsigned.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 12:03:32 +02:00
Eric Pouech
9adf73be7e
dbghelp:: Add proper support for S_OBJNAME records.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 12:03:27 +02:00
Eric Pouech
fe9f0c7fcf
winedump: Add some new bits in UDT's property field.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 12:02:17 +02:00
Eric Pouech
a9c552fe7f
winedump: Dump calling convention attributes for CodeView.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 12:01:59 +02:00
Eric Pouech
1d9c8846b9
winedump: Display function attributes in function/methods codeview records.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 12:01:15 +02:00
Eric Pouech
b5b2031078
winedump: Add a bunch of new CPU definitions for PDB.
...
Update cvinfo.h accordingly.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 12:01:04 +02:00
Eric Pouech
fca405402d
winedump: Add more supported languages from .pdb COMPILE records.
...
Update cvconst.h accordingly.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 12:00:54 +02:00
Eric Pouech
bde14eac32
winedump: Move string conversion of machine and language into dedicated helpers.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 12:00:48 +02:00
Zebediah Figura
b6a20450f4
wineusb.sys: Unlink devices from the list in the PDO IRP_MN_SURPRISE_REMOVAL.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51479
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 11:57:17 +02:00
Zebediah Figura
33f7b14c6c
wineusb.sys: Mark child PDOs as removed as soon as they are hot-unplugged.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 11:57:14 +02:00
Zebediah Figura
4970266a70
ntoskrnl: Factor out remove_device().
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 11:57:09 +02:00
Zebediah Figura
e56e4f97a4
ntoskrnl: Dereference the device children in IoDeleteDevice().
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 11:57:05 +02:00
Huw Davies
6460f72db4
iphlpapi: Use the correct physical address.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51642
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 11:54:28 +02:00
Huw Davies
773c585193
iphlpapi: Don't truncate 64-bit ptrs.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51620
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51626
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 11:54:25 +02:00
Huw Davies
691bfa2628
winewrapper: Add dlls/ntdll to the library path so macOS can find ntdll.so.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 11:54:18 +02:00
Huw Davies
9af226c826
winegcc: Add a @loader_path to help the macOS loader find ntdll.so.
...
On macOS unixlibs that link to ntdll.so currently fail to load.
It appears the macOS loader needs to be able to locate the file
even if the library is already loaded.
This patch changes the LC_ID_DYLIB name of ntdll.so to
"@loader_path/ntdll.so" so that when other unixlibs link against this
they will insert that name into their LC_LOAD_DYLIB entry for
ntdll.so.
While changing only ntdll.so is necessary, for simplicity this patch
changes all unixlibs.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51632
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 11:54:16 +02:00
Zhiyi Zhang
05fe57f58a
light.msstyles: Add TrueSizeScalingType property to TrueSize sizing parts.
...
When SizingType property value is TrueSize, theme part images are scaled only when
TrueSizeScalingType property value is DPI or Size.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 11:53:40 +02:00
Zhiyi Zhang
4d6f1fe9ad
light.msstyles: Add more TreeView HiDPI images.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 11:53:37 +02:00
Zhiyi Zhang
7bebabd998
light.msstyles: Add Tooltip HiDPI images.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 11:53:35 +02:00
Zhiyi Zhang
0a82fe4cfe
light.msstyles: Add Scroll Bar gripper HiDPI images.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 11:53:32 +02:00
Zhiyi Zhang
db4604b4d5
light.msstyles: Add more Button HiDPI images.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 11:52:43 +02:00
Zebediah Figura
d4b13ef9d6
server: Remove a redundant NULL check for async->fd.
...
If the async has not been terminated yet, async->fd cannot be NULL.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 11:51:26 +02:00
Zebediah Figura
10ca57f4f5
server: Remove support for waiting on an IRP object.
...
This was initially used to let the client wait on IRP completion;
c56c42ff79
changed it to use the async handle
instead.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 11:49:44 +02:00