This makes it possible to detect modules that weren't unmapped from
dlclose, and that we should not fixup again.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49640
This usually happens with C++ winelibs, where some C++ symbols may
be inlined into the winelib, then later resolved in preference over
other symbol definitions when libstdc++ loads.
This results in circular dependency between the winelib and libstdc++,
making dlclose no-op.
In this case, reloading the lib later and calling `map_so_dll` on it
again will fixup the RVAs again, ending up with invalid addresses.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/1498
In practice they never fail. If they fail, it means that there
is some underlying platform problem and there is little we can do
anyway. Under pthreads function prototypes allow returning failure,
but that's only used for "error checking" mutexes, which we
don't use.
On the other hand, error handling in vkd3d is rather inconsistent:
sometimes the errors are ignored, sometimes logged, sometimes
passed to the caller. It's hard to handle failures appropriately
if you can't even keep your state consistent, so I think it's
better to avoid trying, assume that synchronization primitives do
not fail and at least have consistent logging if something goes
wrong.
--
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/75
First part of v2 of !27, which aims to:
* Allow allocation of variables of complex types that contain both numerics and objects across multiple register sets (regsets).
* Support the tex2D and tex3D intrinsics, inferring generic samplers dimension from usage, writing sampler declarations, and writing sample instructions.
* Support for arrays of resources for both SM1 and SM4 (not to be confused with the resource-arrays of SM 5.1, which can have non-constant indexes).
* Support for resources declared within structs.
* Support for synthetic combined samplers for SM1 and synthetic separated samplers for SM4, considering that they can be arrays or members of structs.
* Imitate the way the native compiler assigns the register indexes of the resources on allocation, which proved to be the most difficult thing.
* Support for object components within complex input parameters.
* Small fixes to corner cases.
This part consists on parsing the `tex2D()` and `tex3D()` intrinsics and beginning to support the allocation of variables across multiple regsets.
The whole series, is on my [master6](https://gitlab.winehq.org/fcasas/vkd3d/-/commits/master6) branch.
--
v4: vkd3d-shader/hlsl: Allocate register reservations in a separate pass.
vkd3d-shader/hlsl: Respect object reservations even if the object is unused.
vkd3d-shader/hlsl: Allocate objects according to register set.
vkd3d-shader/hlsl: Keep an hlsl_reg for each register set in hlsl_ir_var.
vkd3d-shader/hlsl: Store the type's register size for each register set.
vkd3d-shader/hlsl: Parse the tex3D() intrinsic.
vkd3d-shader/hlsl: Parse the tex2D() intrinsic.
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/66
Bunch of misc fixes and preparations for further improvements. The location changes are especially important later when we'll use outer windows everywhere we pass them to external callers (such as script engines, since inner windows are an implementation detail and all operations otherwise should go through the outer window "proxy").
--
v2: mshtml: Embed the HTMLLocation into the outer window.
mshtml: Tie window.location to the outer window.
mshtml: Return undefined from window.XMLHttpRequest for uninitialized
jscript: Pass the correct ServiceProvider when invoking external prop.
mshtml: Use Scrollbar_Auto as default for vertical scrollbars.
include/mshtml: Add the other IHTMLEventObj* interfaces.
https://gitlab.winehq.org/wine/wine/-/merge_requests/2069
This series brings some improvements for debugging support
in the new wow64 environment:
- detects and adapt to the new environement
- fixes a couple of bugs appearing now
- adds a couple of tests
- extends winedbg to hide or display the modules when
multiple machines are used in the same process
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/2078
--
v2: winecfg: Fix CurrentVersion registry string for Windows 10 and up.
ntdll: Default to Windows 10.
ntdll: Add Windows 11 version.
msi: Use GetVersion() to set version properties.
https://gitlab.winehq.org/wine/wine/-/merge_requests/2077