Commit graph

158074 commits

Author SHA1 Message Date
Alexandre Julliard 0c986b2c77 ntdll: Add _wmakepath_s.
Implementation copied from msvcrt.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-30 12:32:48 +02:00
Alexandre Julliard 5d2f0688cf ntdll: Add _splitpath_s.
Implementation copied from msvcrt.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-30 12:32:48 +02:00
Alexandre Julliard 0db689edf4 ntdll: Add _wsplitpath_s.
Implementation copied from msvcrt.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-30 12:32:48 +02:00
Alexandre Julliard 911810c51a ntdll: Add _i64toa_s.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-30 12:32:48 +02:00
Alexandre Julliard 4e269f75ec ntdll: Add _ui64toa_s.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-30 12:32:48 +02:00
Alexandre Julliard c45abb8a7c ntdll: Add _i64tow_s.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-30 12:32:48 +02:00
Alexandre Julliard 703212b67e ntdll: Add _ui64tow_s.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-30 12:32:48 +02:00
Alexandre Julliard 9dcfda0233 ntdll: Add _wcstoui64.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-30 12:32:48 +02:00
Alexandre Julliard ae1202cef0 ntdll: Add _wcstoi64.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-30 12:32:48 +02:00
Zhiyi Zhang 914b1246d3 light.msstyles: Add window parts.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-06-30 10:55:02 +02:00
Zhiyi Zhang fe944b26f1 light.msstyles: Add Vista+ trackbar parts.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-06-30 10:55:01 +02:00
Zhiyi Zhang 4c292e773f light.msstyles: Add Vista+ tooltip parts.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-06-30 10:54:59 +02:00
Zhiyi Zhang b1ac164257 light.msstyles: Add Vista+ toolbar parts.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-06-30 10:54:58 +02:00
Zhiyi Zhang c894d9a41c light.msstyles: Add taskdialog class.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53066
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-06-30 10:54:56 +02:00
Zhiyi Zhang b5301fb147 light.msstyles: Add Vista+ tab parts.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-06-30 10:54:54 +02:00
Rémi Bernon b5c65f1ee0 winex11.drv: Avoid requesting current mode in X11DRV_desktop_get_modes.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-30 10:54:47 +02:00
Rémi Bernon 5cc3808a62 winex11.drv: Merge settings.c into display.c.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-30 10:54:45 +02:00
Rémi Bernon a4c36cba8d winex11.drv: Use nameless structs and unions in settings.c.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-30 10:54:44 +02:00
Rémi Bernon b8a639c08c winex11.drv: Rename display settings handlers to settings_handler.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-30 10:54:42 +02:00
Zebediah Figura ff166bac15 user32: Merge rawinput.c into input.c. 2022-06-30 10:54:18 +02:00
Zebediah Figura 0a93089019 win32u: Move raw input device list management from user32. 2022-06-30 10:54:17 +02:00
Zebediah Figura cbbab65571 win32u: Move NtUserGetRegisteredRawInputDevices from user32. 2022-06-30 10:54:16 +02:00
Zebediah Figura 0ce4ed675f win32u: Move NtUserRegisterRawInputDevices from user32. 2022-06-30 10:54:12 +02:00
Hugh McMaster e06a62049e regedit: Use correct printf specifier for UINT64 (QWORD) values.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
2022-06-29 23:23:41 +02:00
Hugh McMaster 9c30f3d97a regedit: Pass correct data size when adding a new value via the GUI.
This bug was exposed by 3b1faf59f6

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
2022-06-29 23:23:41 +02:00
Eric Pouech bb52ed3532 dbghelp/msc: Support LF_INDEX* in enumeration type definition.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-06-29 23:23:41 +02:00
Eric Pouech f8d3c2b203 winedbg: No longer hide current WineDbg process from 'info proc'.
We used to hide current WineDbg instance when displaying processes' list
(command 'info proc'). This can potentially generate some "dangling"
processes in the hierarchy (related to this WineDbg instance):
- conhost.exe
- start.exe (when launched from unix shell without full path
  to winedbg.exe)

Also, print a more comprehensive error message when trying to attach to
itself (now that debugger's PID is more easily available).

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-29 23:23:41 +02:00
Aurimas Fišeras a354bb18fa po: Update Lithuanian translation.
Signed-off-by: Aurimas Fišeras <aurimas@members.fsf.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-29 23:23:41 +02:00
Alexandre Julliard cbf5ad74fc ntdll: Add memcpy_s and memmove_s.
Implementation copied from msvcrt.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-29 23:23:41 +02:00
Alexandre Julliard 25f4760e85 ntdll: Add strupr_s and wcsupr_s.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-29 23:23:41 +02:00
Alexandre Julliard a15c55e658 ntdll: Add strlwr_s and wcslwr_s.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-29 23:23:41 +02:00
Alexandre Julliard b44ebda388 ntdll: Add strtok_s and wcstok_s.
Implementation copied from msvcrt.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-29 23:23:41 +02:00
Alexandre Julliard 7c70b9397f ntdll: Add strncat_s and wcsncat_s.
Implementation copied from msvcrt.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-29 23:23:41 +02:00
Alexandre Julliard 94e960c861 ntdll: Add strncpy_s and wcsncpy_s.
Implementation copied from msvcrt.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-29 23:23:41 +02:00
Alexandre Julliard 83cd792e35 ntdll: Add strcat_s and wcscat_s.
Implementation copied from msvcrt.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-29 23:23:41 +02:00
Alexandre Julliard 41f488a32d ntdll: Add strcpy_s and wcscpy_s.
Implementation copied from msvcrt.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-29 23:23:41 +02:00
Alexandre Julliard c948a6cf92 ntdll: Add a few more isw* functions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-29 23:23:41 +02:00
Rémi Bernon 90696fe884 mf: Uninitialize renderer before creating mixer and presenter.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-29 23:23:41 +02:00
Rémi Bernon 98c9aff086 mf: Release video renderer services before re-initializing.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-29 23:23:41 +02:00
Rémi Bernon d21fee129b mf: Avoid leaking nodes in IMFTopoLoader_Load.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-29 23:23:41 +02:00
Rémi Bernon d7c3aac296 mf/tests: Add some missing IMFActivate_ShutdownObject calls.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-29 23:23:41 +02:00
Rémi Bernon e71fe80c3a mf/tests: Add more consistent reference count checks.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-29 23:23:41 +02:00
Alexandre Julliard 194e09baec makefiles: Add separate variables for Unix flags and libraries.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-29 23:23:41 +02:00
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