Commit Graph

6101 Commits

Author SHA1 Message Date
Alistair Leslie-Hughes
9a4fd0b9b0 Updated vkd3d-latest patchset 2024-03-09 11:53:27 +11:00
Alistair Leslie-Hughes
aa8b27c396 Updated user32-rawinput-mouse patchset
This update supersede user32-rawinput-mouse-experimental, removing.
2024-03-09 11:53:27 +11:00
Zebediah Figura
daf7cb4cb9 ntdll-WRITECOPY: Trigger write watches on the "info" pointer in SystemInterruptInformation.
This goes through a buffer in advapi32, so it's not obviously visible to the application; however, it means that a call to getrandom() will return EFAULT and won't actually fill the buffer.
2024-03-08 18:35:53 -06:00
Zebediah Figura
9e265ac738 Rebase against 1719aef8cbc99994ec93848ae6e9e29e5c4beb78. 2024-03-08 17:40:23 -06:00
Zebediah Figura
ec3dd19d45 ntdll-Junction_Points: Use debugstr_a() in two places.
From Aida Jonikienė.
2024-03-07 23:34:34 -06:00
Zebediah Figura
1ba0c55d0d kernel32-CopyFileEx: Rebase and reënable.
Rebased by Aida Jonikienė.
2024-03-07 23:29:47 -06:00
Zebediah Figura
7d2ceeab63 Rebase against 934cfb86b5e2b485b4b90e1eeac4021733559591. 2024-03-07 22:02:49 -06:00
Alistair Leslie-Hughes
445ab8ff01 Updated vkd3d-latest patchset 2024-03-07 10:54:09 +11:00
Zebediah Figura
64f5451ac7 Rebase against 83476e3d4ab0a0c7b1eca392e363591ba550440c. 2024-03-06 17:53:08 -06:00
Alistair Leslie-Hughes
0b083c6f73 Updated vkd3d-latest patchset
Squashed patchset.

Updated to vkd3d-1.11.
2024-03-06 16:04:05 +11:00
Alistair Leslie-Hughes
d999a6d250 Updated vkd3d-latest patchset 2024-03-06 16:04:05 +11:00
Zebediah Figura
6a02ba0240 mscoree-CorValidateImage: Remove patch set.
This was implemented upstream in e.g. 52e09e823e2a2b65f1f993145c0a65ab1d84713d and 926dd780697852b375ec0a193c762e7723a3f5e6, albeit in ntdll instead of mscoree.
2024-03-05 22:45:33 -06:00
Zebediah Figura
ff5fc9c0fa Rebase against c1b8db0c28ac5b7a14567bfb6df2c0af364de6a2. 2024-03-04 16:41:59 -06:00
Zebediah Figura
21b92f9611 server-File_Permissions: Remove patch 0001.
This patch concerns the case where we successfully create a read-only directory
with FILE_DELETE_ON_CLOSE. Currently we return STATUS_CANNOT_DELETE (having
cleared O_CREAT). This patch would change that to return success.

However, tests show that this is incorrect. Actually FILE_DELETE_ON_CLOSE should
always fail on a read-only file, including when that file is created by the same
call.
2024-03-01 23:50:11 -06:00
Zebediah Figura
3d69e00892 server-File_Permissions: Remove patches for Cygwin unlink().
These were committed without any explanation, but they do seem to fix Cygwin
unlink(), and it's been observed that many patches in Wine-Staging, whether
labeled or not, were specifically for Cygwin.

The relevant functionality was fixed a different way upstream, namely:

91e442b060
2024-03-01 23:50:11 -06:00
Zebediah Figura
6d50e5c435 wine.inf-Dummy_CA_Certificate: Add link to bug report. 2024-03-01 19:37:39 -06:00
Zebediah Figura
dd22e6eb1d Rebase against 0fb7c99c33507ac494c9c35e15fb6df8b000cdd2. 2024-03-01 19:19:58 -06:00
Zebediah Figura
e768e46a86 Rebase against 1d3b312f225f79bec74d3d265128ead455467e2a. 2024-02-29 18:06:56 -06:00
Alistair Leslie-Hughes
34eb04e7cc Rebase against 6cbe072c3799b27addb67014245ea7c59b1023dd. 2024-02-29 11:17:10 +11:00
Zebediah Figura
91d4974f10 Rebase against c2a4f3810b17f9efa3c848b473b19f641f7881f6. 2024-02-27 16:13:58 -06:00
Alistair Leslie-Hughes
364490576b Release v9.3 2024-02-25 10:31:37 +11:00
Alistair Leslie-Hughes
aa6bbfa001 Updated vkd3d-latest patchset 2024-02-25 10:30:04 +11:00
Alistair Leslie-Hughes
a23ff2f657 Rebase against 1b32ac45f821ee1fe06a3dc4f903a81a190216c7. 2024-02-25 10:30:04 +11:00
Zebediah Figura
af5ef15dce ntdll-NtQuerySection: Remove patch.
All of these tests are duplicated upstream now, in map_image_section() [kernel32:loader] and test_MapViewOfFile() [kernel32:virtual].
2024-02-24 12:58:32 -06:00
Alistair Leslie-Hughes
f76a6ab8da Removed winspool.drv-ClosePrinter patchset
This is now fixed upstream.
2024-02-23 18:14:28 +11:00
Alistair Leslie-Hughes
2cc42fa729 Removed winex11-Vulkan_support patchset
Debian Jessie is no longer supported. So this patch is no longer required.
2024-02-23 18:11:27 +11:00
Zebediah Figura
8f19bbf064 wined3d-mesa_texture_download: Remove patch set.
This was a workaround for a shortcoming in Gallium drivers, now fixed upstream.
2024-02-23 00:27:08 -06:00
Zebediah Figura
53e890acb9 ntdll-x86_64_Builtin_Frames: Remove patch.
There is no record at all of what this was for.

However, it's not hard to make a good guess. The effect of the patch is to skip
walking the TEB chain if the faulting %esp is *above* the first element in the
TEB chain.

The most obvious thing this protects against is the case where the application
switched stacks and the new stack happened to be at a higher address. Without
this patch, we would walk through the whole TEB chain, since all of its entries
would be below the target frame we are unwinding to. But they wouldn't actually
be "inner to" it, and so we'd incorrectly hit Wine try/catch blocks.

The most notable such try/catch block is the unhandled exception filter itself,
and it would necessarily have been triggered by any such exception if no other
blocks were.

One can further speculate that this patch, like many others in Wine-Staging, was
written for Cygwin, which is known to switch stacks.

Besides Wine commits c22aa54e9977785eafcd7cc3811116e5f4dd2da8, and other more
targeted workarounds to specific functions, the workaround introduced by this
patch was obviated by a similar, but more complete and holistic, workaround
upstream, namely 8fe95d29d32533e8fa28383c0211555eb71ea6c1.

Thus this patch has been, in almost the simplest sense, upstreamed. Remove it.
2024-02-22 23:31:30 -06:00
Alistair Leslie-Hughes
b0736d0417 Rebase against 232b18d820e08fe6534249a64d3afdbf35d0b688. 2024-02-23 10:04:43 +11:00
Alistair Leslie-Hughes
ea4b6adbe9 Updated vkd3d-latest patchset 2024-02-21 15:12:54 +11:00
Alistair Leslie-Hughes
905a2b141b Rebase against 340a4b05b50fce02215213c21993fdf793e9d519. 2024-02-21 13:19:40 +11:00
Zebediah Figura
96503e8822 Rebase against 1b0d8428dfc13b0fa5ea7d576dfef7aaf8a8c927. 2024-02-19 16:23:40 -06:00
Zebediah Figura
5a1530d636 kernel32-Processor_Group: Remove patch.
This seems to be another one of those cases where Sebastian added a patch for an
application [1], then never submitted the patch upstream, and then someone else
submitted a different patch upstream [2], but Sebastian didn't bother checking
if his version was actually still necessary, and instead assumed it was (or just
decided it was better) and rebased the patch [3], and of course still never
submitted it upstream.

In this case the patch is for Terragen 4. That application does not, according
to my testing, actually depend on success from SetThreadIdealProcessorEx().

The patch does not add a correct implementation, is trivial to recreate, and is
easy to re-debug (the function still prints a FIXME), so it's not adding any
value. Remove it.

[1] a12dca03ce

[2] 980754bff7

[3] 0c46d1e8a2
2024-02-18 18:28:09 -06:00
Alistair Leslie-Hughes
9ba49e71de Updated vkd3d-latest patchset 2024-02-17 14:22:20 +11:00
Alistair Leslie-Hughes
263cd1f039 Updated Compiler_Warnings patchset
Reordered alphabetically.
Updated to remove more warnings.
Squashed same modules patches.
2024-02-17 14:22:20 +11:00
Alistair Leslie-Hughes
40a934e71b Updated vkd3d-latest patchset
Squash to 9.2 and add latest git.
2024-02-17 14:22:20 +11:00
Zebediah Figura
9f8d8bb599 Rebase against 90103fa07e5c23c7500c7d33e538b0610bf3c27d. 2024-02-16 18:09:47 -06:00
Zebediah Figura
29b947b8e4 Rebase against bbf222ca726db1efaa7c0a4d33194b03e45cea0f. 2024-02-15 17:12:59 -06:00
Zebediah Figura
2491bcaac1 Rebase against ca97cb87008293f7893a5dd4d082b50c2cfbfb81. 2024-02-13 17:26:54 -06:00
Zebediah Figura
eedc72d581 Rebase against e8f4909ac3cc58e67ad73b9d4a0cbe6fe7b3bf90. 2024-02-12 17:29:03 -06:00
Alistair Leslie-Hughes
dc3b4e6589 Release v9.2 2024-02-11 09:38:15 +11:00
Alistair Leslie-Hughes
75367a75f2 Added explorer-reverts patchset 2024-02-11 07:48:11 +11:00
Alistair Leslie-Hughes
b2ca294530 Updated vkd3d-latest patchset 2024-02-10 18:55:27 +11:00
Zebediah Figura
dd067c0b0d ntdll: Replace a MAX_PATH with PATH_MAX.
Related code uses PATH_MAX; this seems to have been an accident.

Spotted by Aida Jonikienė.
2024-02-09 13:30:01 -06:00
Zebediah Figura
aa9b8391c0 ntdll-Junction_Points: Replace another symlink() with symlinkat().
Evidently accidentally omitted in 769ddd9f00.

Spotted by Aida Jonikienė.
2024-02-09 13:27:47 -06:00
Zebediah Figura
ef52b15ad6 ntdll-Junction_Points: Move deletion reparse point logic from inode_destroy() to unlink_closed_fd().
Found by Aida Jonikienė.

Fixes: ef85449de2
2024-02-09 13:06:02 -06:00
Alistair Leslie-Hughes
ff18b9b26e Rebase against 8cb68e43dec6e6bb32fcdf82e03a6d4263dd2354. 2024-02-09 15:28:59 +11:00
Alistair Leslie-Hughes
40467ae481 updated vkd3d-latest patchset 2024-02-07 14:12:01 +11:00
Zebediah Figura
2ec2518486 krnl386.exe16-Invalid_Console_Handles: Remove patch set.
Despite Michael Müller's claim that all patches in wine-staging actually fix
something [1], I've come across several patch sets over the years that seem to
be related to some contemporaneous work but don't actually fix any application
themselves (e.g. wine-staging commits 5d8901ac21, ba9a7a6a74, probably most of
e353590528; I think there are plenty of other examples as well.)

This patch appears to fall into this category. The upstream commit it was
written in response to was bc68b30d20.

The application in question is buggy. It uses OpenFile(), but compares the
return value to 0 instead of -1. The open in question is the first in the
program's run. The problem occurs if the DOS handles are unassigned, in which
case the valid handle 0 will be returned, and the program will interpret it as
failure, hit some broken code path, and crash.

bc68b30d20 fixes this by ensuring that the DOS standard handles are always
valid, and therefore OpenFile() will always return at least 5. This seems to
match what happens on Windows. I can reproduce this fix; I didn't go to the
trouble of building its parent, but reverting that patch in current Wine does
make the program crash the exact same way (comparing to the +relay log helpfully
provided in the bug report).

Sebastian probably saw this commit, thought that "well, there's multiple ways
for a handle to be invalid", wrote this patch catching the additional ones, and
for some reason never submitted it upstream.

Thing is, these handles come from the server, and they're guaranteed to be
either valid or zero. As evidence cf. the duplicate_handle() calls in the
new_process request handler, which were present even at the time. Hence this
patch isn't doing anything, so remove it.

[1] https://www.winehq.org/mailman3/hyperkitty/list/wine-devel@winehq.org/message/YGKVQN2N537MXAVSMLHX5IV4XCEWKBVY/
2024-02-06 16:15:29 -06:00
Alistair Leslie-Hughes
0525ea8268 Rebase against 23f98e9663a1737c94f6bd6c7612baa8b4a47bc5. 2024-02-06 13:31:27 +11:00