Commit graph

162085 commits

Author SHA1 Message Date
Zhiyi Zhang 2fbe1f3508 include: Add uiviewsettingsinterop.idl. 2023-02-02 18:08:39 +01:00
Fabian Maurer 2d6fdf7c8e dwrite/tests: Prevent "misleading indentation" warnings.
Happens on gcc 12.2.0

Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
2023-02-02 18:08:39 +01:00
Fabian Maurer fe0bf08ac6 winedump: Prevent "format overflow" warning.
Happens on gcc 12.2.0

Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
2023-02-02 18:08:39 +01:00
Hans Leidekker 2580127425 msi: Get rid of unnecessary typedefs. 2023-02-02 18:08:39 +01:00
Hans Leidekker 3611398b75 msi: Remove msi_ prefix from static functions. 2023-02-02 18:08:39 +01:00
Hans Leidekker d9d700f332 msi: Perform late initialization of the assembly caches.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51345
2023-02-02 18:08:39 +01:00
Hans Leidekker 2c450fd621 msi: Install and patch global assemblies in InstallFinalize.
Installing global assemblies requires assembly caches to be initialized and
this is no longer the case after the PE conversion (builtin fusion no longer
loads if the dll is not present on disk).

The next patch changes msi to perform late initialization of the assembly
caches so that native fusion can be loaded once it's installed by .NET
installers. However, there's no guarantee that all necessary files and
registry keys are installed before the InstallFiles and PatchFiles actions
are executed. Therefore this patch moves the parts of these actions handling
global assemblies to InstallFinalize.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51345
2023-02-02 18:08:39 +01:00
Kacper Michajłow 6e7a54f795 include: Add some DXGI_COLOR_SPACE_TYPE enumeration values.
Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
2023-02-02 11:00:16 +01:00
Eric Pouech e8777691c8 winedump: Be stricter about sizes while walking module's list.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-02-02 10:58:28 +01:00
Eric Pouech cda616d8ca winedump: Properly dump segment map information from PDB/DBI stream.
Changing field names to match better their content.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-02-02 10:58:21 +01:00
Eric Pouech cf71edaa4e winedump: Dump correctly ranges part of DBI stream.
The ranges describe for a PE image all the contributions
of each compilation unit towards the various sections.

Renaming offset_size into ranges_size which is closer to its actual content.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-02-02 10:58:07 +01:00
Eric Pouech a0d4a58a34 winedump: Explain a bit more errors on hash header.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-02-02 10:58:07 +01:00
Eric Pouech 4fc2c3319e winedump: Correctly dump PDB_STREAM_INDEX.segment.
This stream actually contains PE IMAGE_SECTION_HEADER.  So reflect the
content by renaming segment into section, and use some helpers
from the PE side.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-02-02 10:57:46 +01:00
Eric Pouech 97d2e9d902 winedump: Introduce a helper to print PE section's characteristics.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-02-02 10:57:46 +01:00
Brendan Shanks edc479eea9 kernelbase: Implement and add tests for QueryProcessCycleTime. 2023-02-02 10:56:43 +01:00
Brendan Shanks c0ffd587b5 ntdll: Add stub for NtQueryInformationProcess(ProcessCycleTime). 2023-02-02 10:56:42 +01:00
Brendan Shanks fe6294c743 taskkill: Use exit code 1 when terminating processes. 2023-02-02 10:56:34 +01:00
Brendan Shanks 2da1126021 taskmgr: Use exit code 1 when terminating processes. 2023-02-02 10:56:32 +01:00
Gabriel Ivăncescu 9a8e628d70 mshtml: Embed the HTMLLocation into the outer window.
Gets rid of the issues with the cyclic dependency or detached location.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-02-01 22:29:53 +01:00
Gabriel Ivăncescu 7b084e9f23 mshtml: Tie window.location to the outer window.
Even in IE9+ modes, it's still a non-JS object.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-02-01 22:29:51 +01:00
Gabriel Ivăncescu e495c256bb mshtml: Simplify dynamic props unlinking.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-02-01 22:29:51 +01:00
Gabriel Ivăncescu f43f96762e mshtml: Traverse and unlink builtin func disps.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-02-01 22:29:51 +01:00
Gabriel Ivăncescu fa63e870c5 mshtml: Return undefined from window.XMLHttpRequest for uninitialized documents.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-02-01 22:29:43 +01:00
Gabriel Ivăncescu c2b5538711 jscript: Pass the correct ServiceProvider when invoking external prop.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-02-01 22:29:43 +01:00
Gabriel Ivăncescu 9beef3fc5a mshtml: Use Scrollbar_Auto as default for vertical scrollbars.
While Internet Explorer 6 used to default to "always", this hasn't been
the case for a long while now.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-02-01 22:29:41 +01:00
Gabriel Ivăncescu 3eaf3774ad include/mshtml: Add the other IHTMLEventObj* interfaces.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-02-01 22:29:39 +01:00
Alex Henrie 42c15f1cdb urlmon: Use the _recalloc function instead of reimplementing it. 2023-02-01 17:12:52 +01:00
Rémi Bernon 078c6e5ab2 comctl32: Skip restoring window proc if it has been modified.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=43073
2023-02-01 17:12:31 +01:00
Rémi Bernon 8387d2feff comctl32: Always use unicode messages for subclass procedures.
Final Fantasy XIV Online depends on this for its text input.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=43073
2023-02-01 17:12:29 +01:00
Rémi Bernon 591f585a55 comctl32: Save unicode window nature on SetWindowSubclass call.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=43073
2023-02-01 17:12:29 +01:00
Rémi Bernon 711f05c432 comctl32/tests: Test unicode nature of window subclasses.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=43073
2023-02-01 17:12:29 +01:00
Hans Leidekker 79ec3d9fb8 msi/tests: Avoid test failures when running with insufficient rights.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51040
2023-02-01 17:11:52 +01:00
Hans Leidekker 3a819255f5 winecfg: Fix CurrentVersion registry string for Windows 10 and up.
It no longer reflects the real OS major and minor version numbers.
2023-02-01 17:11:47 +01:00
Hans Leidekker 69154f0329 ntdll: Default to Windows 10. 2023-02-01 17:11:47 +01:00
Hans Leidekker 2ccc2a42d7 ntdll: Add Windows 11 version. 2023-02-01 17:11:47 +01:00
Alex Henrie 94d6e616e2 server: Fix buffer overrun in map_view handler.
Because of padding at the end of the struct, sizeof(*view) is greater
than offsetof(struct memory_view, name[0]). Change the allocation to
overallocate slightly instead of underallocating slightly.
2023-02-01 17:11:10 +01:00
Alex Henrie 4aac4e7c67 winex11: Fix memory leak on realloc failure in import_xdnd_selection (cppcheck). 2023-02-01 17:10:31 +01:00
Alex Henrie e7ba00c7ca appwiz: Fix memory leak on realloc failure in install_from_registered_dir (cppcheck). 2023-02-01 17:10:13 +01:00
Paul Gofman 9c5e380cfe ws2_32: Provide same address order from gethostbyname() on consequent calls. 2023-02-01 17:09:37 +01:00
Alexandre Julliard 6c75cddb98 wow64cpu: Move base address to leave more room for wow64.dll. 2023-01-31 22:29:10 +01:00
Eric Pouech 9a74d2b62f include: Use stream to denote MSF stream/file.
Try to apply consistent naming:
- file refers to (PDB) file
- stream refers to a stream/file inside the PDB stream at MSF level
(we were also using file for the later, which isn't very simple to
follow).

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-01-31 22:29:07 +01:00
Eric Pouech 26f89d84e2 include: Consistenly use _size to name the size of a sub-block.
We were using either _size or _len depending on which one.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-01-31 22:29:05 +01:00
Eric Pouech 27f3676cfc include: Update some fields in PDB headers.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-01-31 22:29:03 +01:00
Eric Pouech 71abef0906 include: Be consistent in naming regarding MSF's block.
No longer calling it sometimes 'page'.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-01-31 22:29:00 +01:00
Rémi Bernon d970584b62 win32u/tests: Test NtUserGetPointerInfoList syscall signature.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53847
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51537
2023-01-31 21:05:37 +01:00
Rémi Bernon 87839a41ca win32u/tests: Test NtUserIsMouseInPointerEnabled syscall.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53847
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51537
2023-01-31 21:05:37 +01:00
Rémi Bernon 9443bde57d win32u/tests: Test NtUserEnableMouseInPointer syscall.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53847
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51537
2023-01-31 21:05:37 +01:00
Rémi Bernon 45e6dfc192 win32u: Stub NtUserGetPointerInfoList syscall.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53847
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51537
2023-01-31 21:05:37 +01:00
Rémi Bernon 1f2e722877 win32u: Stub NtUserIsMouseInPointerEnabled syscall.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53847
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51537
2023-01-31 21:05:37 +01:00
Rémi Bernon 738425185f win32u: Move NtUserEnableMouseInPointer from user32.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53847
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51537
2023-01-31 21:05:37 +01:00