(no title)
andy_xor_andrew | 1 month ago
How much of these sorts of patches are specifically checking if a certain application is running, and then changing behavior to match what that application expects? And how much of it is simply better emulating the Windows API in general?
I think there are benefits to both approaches, not criticizing either one. I'm just curious if the implementation of a patch like this is "We fixed an inconsistency between Wine and Windows" vs "We're checking if Photoshop is running and using a different locking primitive" or whatever.
spijdar|1 month ago
superb_dev|1 month ago
Telaneo|1 month ago
https://arstechnica.com/gadgets/2022/10/windows-95-went-the-...
https://devblogs.microsoft.com/oldnewthing/20031015-00/?p=42...
https://devblogs.microsoft.com/oldnewthing/20160418-00/?p=93...
ddtaylor|1 month ago
In this case it looks like Adobe was doing a bunch of stuff related to Internet explorer that was critical to even having the basic functionality of their installer or launchers working.
Oftentimes if you take a program that is not running correctly or at all you can look at the log output and see a large stream of unsupported or partially supported API calls.
imtringued|1 month ago
>And how much of it is simply better emulating the Windows API in general?
It depends on your definition of "Windows API". If you think Internet Explorer is part of the "Windows API", then this patch is 100% about better emulating the "Windows API".
>How much of these sorts of patches are specifically checking if a certain application is running, and then changing behavior to match what that application expects?
Probably near zero, because there is not much point in doing so. If you need to get a specific application to run on Wine that doesn't work out of the box, you're expected to follow an application specific recipe (installing particular versions of Windows libraries or selecting the version of Windows to be compatible with) rather than Wine itself special casing application support. There were plenty of ways to get Photoshop running on Wine in the past, the practical problem was that they were too reliant on already having a full Windows installation, which defeats the point of using Wine.
[0] https://github.com/PhialsBasement/wine-adobe-installers/comm...
[1] https://gitlab.winehq.org/wine/wine-staging/-/commit/8090aa9...
YokoZar|1 month ago
Patches can be motivated by specific apps, of course, but generally the requirement is to complete the patch implementing/fixing some API in a generic way, proven by additions to the test suite showing the same behavior on Windows.
charcircuit|1 month ago