Commit graph

162107 commits

Author SHA1 Message Date
Shaun Ren 91c1c05f5b ir50_32: Add stub dll. 2023-02-07 10:35:11 +01:00
Eric Pouech a958b5aebf dbghelp: Identify a 32bit multi-arch wow64 debuggee as a live target.
Note: from now on, winedbg will 'see' the ELF 64 bit modules (not yet
the PE ones) in multi-arch wow64 use case.
Modules can be displayed in 'info wow share' command and their debug
information is loaded.
Stack manipulation and backtracking are not available.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-02-06 22:34:45 +01:00
Eric Pouech 234943344f winedbg: Don't expose module whose machine isn't the process' one to gdb.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-02-06 22:34:44 +01:00
Eric Pouech 71dbcbce26 winedbg: Handle multi-machine process in command 'info share'.
- filter out native machine on wow64 configuration.
- add option to info share to print all modules.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-02-06 22:34:44 +01:00
Eric Pouech aac4e9df0a dbghelp: Filter on machine when searching for Wine system PE modules.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-02-06 22:34:44 +01:00
Eric Pouech 4d2cbb4104 dbghelp: Allow loading modules for different machines.
SYMOPT_INCLUDE_32BIT_MODULES option applies when enumerating
loaded modules, but not when actually loading debug information for
a module.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-02-06 22:34:44 +01:00
Eric Pouech 75fd446272 dbghelp: Add tests about modules loading.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-02-06 22:34:44 +01:00
Eric Pouech 7de1284b59 dbghelp: Stop unwinding on potential 64bit frame for i386 cpu.
Transform potential error on 32 => 64 bit transition with
end of stack (needed in new wow64 for dbghelp's stackwalk tests).

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-02-06 22:34:44 +01:00
Alex Henrie 002057543d setupapi: Fix memory leak on realloc failure in RetreiveFileSecurity. 2023-02-06 22:34:44 +01:00
Eric Pouech 7077c5bcab conhost: Only update font when running with a window.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54449
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-02-06 22:34:44 +01:00
Alex Henrie 687c4f5c8d msi: Handle memory allocation failure in get_link_file (cppcheck). 2023-02-06 10:34:24 +01:00
Michael Stefaniuc b0e65dbe50 d3d11/tests: Actually test the return of CreateRasterizerState(). 2023-02-06 10:33:49 +01:00
Michael Stefaniuc dc31e66e01 mshtml/tests: Actually test a return value. 2023-02-06 10:33:49 +01:00
Jacek Caban de2ca5e5ae wininet/tests: Add more InternetSetFilePointer tests. 2023-02-06 10:13:40 +01:00
Jason Kuo 90713a5c10 wininet/tests: Add InternetSetFilePointer tests. 2023-02-06 10:13:40 +01:00
Jason Kuo 00ea069777 wininet: Partially implement InternetSetFilePointer.
The function is implemented by setting the newly added contentPos
that keep track of current read position in the content, when
InternetReadFile related function is called, data will be read from
req_file->file_handle before continuing reading from http stream.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=26570
2023-02-06 10:13:38 +01:00
Zebediah Figura cf553129c2 wined3d: Make depth bounds test a proper state and handle it in wined3d_device_apply_stateblock().
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
2023-02-06 10:12:02 +01:00
Giovanni Mascellani 798fbd4205 wbemprox: Do not call Release() inside wbemprox_cf_CreateInstance().
The Ubisoft overlay version 135 hot patches and hooks wbem_locator_Release(),
but crashes if Release() is called inside CoCreateInstance(), a condition
that doesn't appear to happen on Windows. So we try to exhibit the
same behavior.
2023-02-06 10:11:19 +01:00
Alexandre Julliard a4ed65d577 Release 8.1. 2023-02-02 22:17:09 +01:00
Alexandre Julliard a6451971a2 kernelbase: Report correct errors in GetModuleHandleExA(). 2023-02-02 19:09:23 +01:00
Hans Leidekker 34a797e878 wbemprox: Recognize Windows 11. 2023-02-02 18:08:48 +01:00
Zhiyi Zhang 7937596f8f opengl32/tests: Make context current before calling wglCopyContext().
Otherwise, wglCopyContext() crashes on Windows with a NVIDIA GPU and fails on Windows with a AMD GPU.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51311
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54103
2023-02-02 18:08:39 +01:00
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