5311 Commits

Author SHA1 Message Date
Sebastian Lackner
8f35a7629b Added patch to emulate sample_c_lz using textureGradOffset for sampler2DArrayShadow. 2017-06-25 05:24:55 +02:00
Sebastian Lackner
735a9982cc Use proper directory names for ClipCursor patchsets. 2017-06-25 05:15:48 +02:00
Sebastian Lackner
1b5a0095b8 user32-Clip_Cursor: Update patchset. 2017-06-25 05:12:48 +02:00
Sebastian Lackner
12a893e94f Rebase against 4005e6e659107c29f93e7a35a3bb933b22416598. 2017-06-24 01:14:36 +02:00
Sebastian Lackner
dab61e7333 Rebase against f2bb2064bfdf0e7b369f22c34d680dec6c12493c. 2017-06-23 06:14:34 +02:00
Sebastian Lackner
b1cb4553ec Added patch to fix regression related to buffer_sync_apple handling. 2017-06-22 16:42:44 +02:00
Sebastian Lackner
4d290efd99 Rebase against 5cbc84e51eca1a8ce35916ddeebe79b4ccbd761d. 2017-06-22 04:37:31 +02:00
Sebastian Lackner
c0c29e5a88 ntdll-Builtin_Prot: Update patchset. 2017-06-21 23:23:12 +02:00
Sebastian Lackner
e179ddf842 Rebase against 3f6b7c34dbf76fdbf7561a3fe5019713b10d1c9e. 2017-06-21 00:26:40 +02:00
Sebastian Lackner
83a65ef99b Rebase against abaddc871842ba4ec0156f4bfed9939b44052ee4. 2017-06-20 13:55:21 +02:00
Sebastian Lackner
0a16521c7e ntdll-Builtin_Prot: Only handle read faults. 2017-06-19 04:01:59 +02:00
Sebastian Lackner
866e79688c loader-OSX_Preloader: Add workaround for a SELinux warning. 2017-06-18 00:52:15 +02:00
Sebastian Lackner
dbe0e706a4 Rebase against 95a49bdce6cd5a35d5035456e576ab81239fb081. 2017-06-17 21:01:05 +02:00
Sebastian Lackner
907dc4eae6 loader-OSX_Preloader: Add PAGEZERO section for wine-preloader executable.
For wine64-preloader we already do that, but apparently there are also kernel
versions which enforce a PAGEZERO section for 32-bit executables.
2017-06-16 22:45:03 +02:00
Sebastian Lackner
e24fc5fec1 Rebase against c7f0777fc55229d910461a7a38e21f1e17c8913a. 2017-06-16 22:42:57 +02:00
Sebastian Lackner
8ebf6f58e5 Added patches to fix multiple regressions related to GDI rendering. 2017-06-16 22:42:35 +02:00
Sebastian Lackner
f254a73e66 loader-OSX_Preloader: Fall back to MAP_FIXED if address hint is ignored.
This should get rid of preloader warnings on old versions of macOS.
Thanks to Gijs Vermeulen for help with debugging and testing this patch.

Ideally, we would like to use vm_allocate, but since the preloader runs
very early during the startup of the process, we don't have all required
libc functions available. Also, we don't want to reimplement it ourself,
which would be very unreliable in practice.

For now, lets just use mincore() to check if there are any other pages
mapped within the area, and then fallback to MAP_FIXED.
2017-06-15 15:10:14 +02:00
Sebastian Lackner
463f2b02c9 loader-OSX_Preloader: Temporarily map address ranges needed for Wine builtin DLLs. 2017-06-15 00:01:33 +02:00
Sebastian Lackner
e9daff5bc8 loader-OSX_Preloader: Allocate pagezero for main wine binary.
This change should fix compatibility with old versions of macOS.
Thanks to Gijs Vermeulen for help with debugging and testing this patch.

Old versions of libsystem_c.dylib crash while running initializers when
the application does not contain a PAGEZERO section. This is probably
caused by an incorrect comparison against NULL instead of (void *)-1.

Unfortunately, when we just add a PAGEZERO section, we trigger the next
bug - no matter if we actually use the page at address (void *)0 or not,
it will not be used because the relocation code tries to find a memory
hole of size (highAddr - lowAddr) ~ 2GB.

We might be able to workaround this issue by manually reordering the
sections in the main executable, but for now lets just drop the fixed
image base. Please note that this introduces a risk of conflicts with
builtin DLLs, which will be resolved in the next patch.
2017-06-14 23:17:23 +02:00
Sebastian Lackner
be0d43d2b1 kernel32-SetFileCompletionNotificationModes: Fix a corner-case related to AcceptEx (thanks Jacek). 2017-06-14 17:19:52 +02:00
Sebastian Lackner
2420bc89ed Rebase against d7eb469d5992f9901b0dd355e5e61709aed31d2b. 2017-06-14 03:16:45 +02:00
Sebastian Lackner
ecdf44fe29 patchinstall.sh: Add workaround for mktemp on macOS <= 10.10. 2017-06-13 23:54:27 +02:00
Sebastian Lackner
e2b993408e wined3d-Silence_FIXMEs: Remove a no longer valid Fixes line. 2017-06-13 22:51:54 +02:00
Sebastian Lackner
4a13b7eac7 Rebase against f254aec4498e9926200ea9fd9cd2acf914747d91. 2017-06-13 22:45:55 +02:00
Sebastian Lackner
3a7c5ae711 patchinstall.sh: Do not use 'readlink -f' to improve compatibility with macOS. 2017-06-13 22:45:55 +02:00