1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-08 20:06:18 +00:00
Commit Graph

158031 Commits

Author SHA1 Message Date
Alexandre Julliard
e2d96342df makefiles: Use the defined external lib variables also when building the libs themselves.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-29 23:23:41 +02:00
Zhiyi Zhang
d461cca19a uxtheme: Avoid calling application dialog procedures repeatedly.
Application dialog procedures are called in UXTHEME_DefDlgProc(), then may be called again in
USER_DefDlgProcA/W(). Lotus Approach doesn't expect this and run into infinite recursion.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52586
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-06-29 09:04:55 +02:00
Zhiyi Zhang
2a6a2b04fe uxtheme/tests: Add dialog procedure message tests.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-06-29 09:04:55 +02:00
Jinoh Kang
e6155827e8 windowscodecs: Fix non-zero alpha detection in ImagingFactory_CreateBitmapFromHICON.
Increment pixel pointer for every *pixel*, not every *stride*.

Signed-off-by: Jinoh Kang <jinoh.kang.kr@gmail.com>
2022-06-29 09:04:15 +02:00
Eric Pouech
29dd844439 dbghelp: Use remap table from PDB hash stream.
The PDB hash stream from TPI header contains information to force a remap
to a given type record (whatever the order in the bucket hash list).
This is generated by the incremental linker in some occasions.

Use that information to remap the corresponding types.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-06-28 20:30:05 +02:00
Eric Pouech
d12d5c7245 dbghelp: Preserve PDB's partial order for types of same name.
The PDB types can contain several times a type definition with an identical
name. It seems to appear when modifying a type in source (like adding new
fields to a struct):
- as the PDB file (generated from first compilation) is updated (and not
  fully rewritten), the debug information for the old type is not flushed;
  a new record (for the same struct name) is emitted, and inserted
  before the old one in the hash table (bucket list).

Even if dbghelp's hash table is different from PDB's internal one (ie
number of buckets & bucket lists are different), we must maintain the order
of records of identical names (they end up in the same bucket) as a lookup
by name *must* return the first record in PDB's order.
Lookup by name is used:
- when resolving a forward definition (to get the full UDT definition
  including for example a struct/class fields's list)
- when searching by type name from dbghelp APIs, like SymGetTypeFromName()

This patch implements the preservation of that order.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-06-28 20:30:05 +02:00
Eric Pouech
ddbd341bd0 dbghelp: Clearly separate the type loading into two passes.
- create (contentless) UDT & enum in first pass
- fill UDT&enum content and load the rest of types in second pass.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-06-28 20:30:05 +02:00
Eric Pouech
eb14fad72a mscvpdb.h: Redefine property with bitfields.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-06-28 20:30:05 +02:00
Eric Pouech
b7c231c78f dbghelp: Rely on first/last type index from type header.
Code now follows these guidelines:
- define PDB & Codeview internals in cvconst.h and mscvinfo.h (instead
  of having definitions in .c files, some of them being duplicate of .h
  content, and their "duplicate" values eventually diverged over time)
- index of first type comes from PDB type header (instead of always being
  hardcoded as FIRST_DEFINABLE_TYPE)
- use index of last typex from type header (instead of guessing the right
  value while parsing types, which also allows a single allocation
  instead of enlarging buffer while parsing).

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-06-28 20:30:05 +02:00
Eric Pouech
ba12b5ae88 winedump: Explore a bit more TPI hash elements.
Rename a couple of fields in PDB structures for clarity.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-06-28 20:24:18 +02:00
Arkadiusz Hiler
5d0d812dfd winealsa.drv: Set device path for all devices.
Signed-off-by: Arkadiusz Hiler <ahiler@codeweavers.com>
2022-06-28 20:19:58 +02:00
Arkadiusz Hiler
3180ed3237 winepulse.drv: Set device path for all devices.
Signed-off-by: Arkadiusz Hiler <ahiler@codeweavers.com>
2022-06-28 20:19:56 +02:00
Julian Rüger
39edda8a67 po: Update German translation.
Signed-off-by: Julian Rüger <jr98@gmx.net>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-28 18:46:46 +02:00
Zebediah Figura
e39880d945 ntdll/tests: Test setting the return value via alertable NtContinue().
This is currently broken on WoW64.
2022-06-28 18:45:36 +02:00
Zebediah Figura
1168dfc3c1 ntdll/tests: Fix test_user_apc() on Windows < 7. 2022-06-28 18:45:36 +02:00
Zebediah Figura
6775a20f4e ntdll/tests: Fix test_user_apc() on i386. 2022-06-28 18:45:36 +02:00
Stefan Dösinger
021eefdee0 winecfg: Support color profiles larger than MAX_PATH chars.
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
2022-06-28 18:44:48 +02:00
Dmitry Timoshkov
905dbb8f8b comctl32/listview: Add partial support for LVM_SETBKIMAGE.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-28 16:30:27 +02:00
Nikolay Sivov
ebbee24c5d advapi32: Implement RegRenameKey().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-28 15:54:15 +02:00
Nikolay Sivov
1fb6f27144 ntdll: Implement NtRenameKey().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-28 15:54:15 +02:00
Nikolay Sivov
440d37172d advapi32/tests: Add some tests for RegRenameKey().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-28 15:39:55 +02:00
Nikolay Sivov
4bd160da5e ntdll/tests: Add some tests for NtRenameKey().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-28 15:39:55 +02:00
Zhiyi Zhang
8e12b359f7 light.msstyles: Add Vista+ spin parts.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-06-28 13:58:28 +02:00
Zhiyi Zhang
4cb229a97c light.msstyles: Add Vista+ scrollbar parts.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-06-28 13:58:19 +02:00
Zhiyi Zhang
7110384741 light.msstyles: Add Vista+ rebar parts.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-06-28 13:58:11 +02:00
Zhiyi Zhang
9b3b64de85 light.msstyles: Add navigation class.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-06-28 13:58:02 +02:00
Zhiyi Zhang
51f488919d light.msstyles: Add Vista+ menu parts.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-06-28 13:57:51 +02:00
Zhiyi Zhang
5b563c21a9 light.msstyles: Add Vista+ listview parts.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-06-28 13:57:39 +02:00
Alexandre Julliard
3af0258795 ntdll: Fix returned status code for paths with a trailing slash.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-28 13:20:15 +02:00
Alexandre Julliard
fef675e764 ntdll: Fix returned status code for non-directory in path.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-28 13:20:15 +02:00
Alexandre Julliard
1a00dfe408 ntdll/tests: Add some tests for trailing slashes in paths.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-28 13:20:15 +02:00
Alexandre Julliard
cdeaf7c87f cabinet: Make sure the cabinet file name doesn't end with a backslash.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-28 13:20:15 +02:00
Giovanni Mascellani
fcb8edee6b mfplat/buffer: Fix the image copy function for IMC2/IMC4 buffers with odd height.
Signed-off-by: Giovanni Mascellani <gmascellani@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-28 10:25:49 +02:00
Giovanni Mascellani
496073d506 mfplat/tests: Use a more unique pattern when testing image formats.
Signed-off-by: Giovanni Mascellani <gmascellani@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-28 10:25:44 +02:00
Giovanni Mascellani
fcabfeea8f mfplat/buffer: Fix size for IMC2/IMC4 buffers with odd height.
Signed-off-by: Giovanni Mascellani <gmascellani@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-28 10:25:37 +02:00
Rémi Bernon
077d64bdbd winebus.sys: Use UINT instead of enum and UINT64 instead of unix_device pointer.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-27 22:58:21 +02:00
Rémi Bernon
3b1354ff4a winebus.sys: Move bus_event list entry to an internal structure.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-27 22:58:21 +02:00
Robert Wilhelm
82d27a0d3c vbscript: Use return_null in more places.
Signed-off-by: Robert Wilhelm <robert.wilhelm@gmx.net>
2022-06-27 22:58:21 +02:00
Jacek Caban
9546953bfa user32: Remove no longer needed helpers. 2022-06-27 22:58:21 +02:00
Jacek Caban
290a5314c8 win32u: Move menu object declarations to menu.c.
And drop typedefs.
2022-06-27 22:58:21 +02:00
Jacek Caban
e411b98155 win32u: Move NtUserGetSystemMenu implementation from user32. 2022-06-27 22:58:21 +02:00
Jacek Caban
fee6acf337 user32: Use IsMenu in MENU_mnu2mnuii. 2022-06-27 22:58:21 +02:00
Jacek Caban
2bd0c87278 win32u: Move GetMenuDefaultItem implementation from user32. 2022-06-27 22:58:21 +02:00
Nikolay Sivov
4e39188c63 reg: Add REG_QWORD support to 'add'.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-27 22:58:21 +02:00
Alexandre Julliard
50aaedffc9 msvcrt: Unify the strncat_s() and wcsncat_s() implementations.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-27 11:23:32 +02:00
Alexandre Julliard
fdcf03fb72 msvcrt: Unify the strncpy_s() and wcsncpy_s() implementations.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-27 11:23:32 +02:00
Alexandre Julliard
3514e65f26 msvcrt: Move the strncpy_s() implementation to string.c.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-27 11:23:32 +02:00
Ziqing Hui
aa7a4b7803 d2d1/effect: Add a transform graph stub.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-27 11:23:32 +02:00
Nikolay Sivov
906b659752 d2d1/tests: Enable effect context tests on Wine.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-27 11:23:32 +02:00
Nikolay Sivov
58ba801fd2 d2d1/effect: Add D2D1_PROPERTY_PRECISION property.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-27 11:23:32 +02:00