Compare commits

...

367 Commits

Author SHA1 Message Date
Sebastian Lackner
9a4a7e1cb3 Release 1.7.26. 2014-09-07 23:51:44 +02:00
Sebastian Lackner
6053bea2da Updated debian/changelog. 2014-09-07 22:20:51 +02:00
Michael MĂĽller
c83e83b911 Add patch for GetMenuItemInfo. 2014-09-07 20:26:44 +02:00
Sebastian Lackner
aaf6e38a98 configure-Detect_Gnutls: Still not the right library, check for linking against libgnutls-openssl.so. 2014-09-07 19:19:26 +02:00
Sebastian Lackner
b33ea6c233 configure-Detect_Gnutls: Try 2, maybe Ubuntu 14.10 links against libgnutls-openssl.so? 2014-09-07 17:12:17 +02:00
Sebastian Lackner
f5abff47fb README.md: Some improvements in the first chapter. 2014-09-07 16:31:57 +02:00
Sebastian Lackner
1a5b602120 Remove deprecated information from debian/control (patchlist incomplete, and 31993 already fixed upstream). 2014-09-07 16:12:35 +02:00
Sebastian Lackner
7b90cca3d7 Added patch to (hopefully) fix detection of gnutls on Ubuntu 14.10. 2014-09-07 08:14:56 +02:00
Sebastian Lackner
6bca298771 patchupdate.py: Fix whitespace issue in 'Modified files' string. 2014-09-07 01:53:29 +02:00
Sebastian Lackner
ba1bf62faa Added additional patch to use assembly wrapper for TLS callbacks. 2014-09-07 01:51:30 +02:00
Sebastian Lackner
1598a4326e Added missing file ... there should be some automatic check for that ;) 2014-09-06 05:17:21 +02:00
Sebastian Lackner
baae7829ff Added patch to silence noise when compiling with -Werror on Archlinux. 2014-09-06 05:06:09 +02:00
Sebastian Lackner
41b4bc29a0 server-Inherited_ACLs: One more small fix to ensure we don't dereference a NULL pointer. 2014-09-06 04:07:11 +02:00
Sebastian Lackner
1d0979cb9b server-Inherited_ACLs: Fix leaking combined security descriptor and parent_sd. 2014-09-06 04:00:58 +02:00
Sebastian Lackner
b91cca8e61 server-Inherited_ACLs: More bugfixes (easy ones). 2014-09-06 03:10:50 +02:00
Sebastian Lackner
130fbbe654 server-Inherited_ACLs: Remove unused flag. 2014-09-06 00:34:40 +02:00
Sebastian Lackner
e536c2d707 server-ACL_Compat/server-Inherited_ACLs: Avoid creating unnecessary file object for checking the parent SDs. 2014-09-06 00:02:39 +02:00
Sebastian Lackner
6c26951aae server-Inherited_ACLs: Added check for return value of strndup, improve detection of parent directory.
This is the same method that is used to traverse the path in kernel32.dll. Its still not perfect, because
the wineserver will easily get confused by symlinks. In this case the attributes should be inherited
from the real parent directory, not from the directory that contains the symlink.
2014-09-05 22:53:25 +02:00
Sebastian Lackner
cc1c1f12ae Removed patch to fix detection of ncurses on Archlinux (accepted upstream). 2014-09-05 18:44:34 +02:00
Sebastian Lackner
b1a5dfb1f7 Updated libncursesw patch to be FreeBSD/MacOS compatible. 2014-09-04 22:23:45 +02:00
Sebastian Lackner
3cd7f91608 Removed patchset msi-MoveFiles (accepted upstream). 2014-09-04 22:04:40 +02:00
Sebastian Lackner
752393bbe3 Replace ncurses fix with easier solution (regex pattern instead of checking for two libs). 2014-09-04 09:34:49 +02:00
Sebastian Lackner
4c094dc57d Makefile: Add support for 'series' and 'install-git' target. 2014-09-04 04:46:15 +02:00
Sebastian Lackner
5cab0e1b8f kernel32-GetVolumePathName: Fix possible leak and merge patches 1 and 5. 2014-09-03 13:58:27 +02:00
Sebastian Lackner
819a738d3d server-ACL_Compat: Make parser more strict and clean up code.
Voila! This new parser should catch all invalid security descriptor ACLs... I
only hope that it doesn't block valid ones. Probably makes sense to do some testing
before the release. ;)
2014-09-03 00:28:40 +02:00
Sebastian Lackner
4caa3f834f server-ACL_Compat: Fix some style issues and buffer handling errors.
As we probably shouldn't remove ACL_Compat too soon, we have to maintain it unfortunately...
It would crash easily at the moment, when the extended attribute contains invalid data.
This patch is the easy part, there are a lot more issues left in the parser.
2014-09-02 07:13:24 +02:00
Sebastian Lackner
749bdd1781 Added patch to fix some of the issues with GetVolumePathName. 2014-09-02 05:37:54 +02:00
Sebastian Lackner
a118c9b4bd Added additional tests for GetVolumePathName (todo_wine still missing...). 2014-09-02 05:25:35 +02:00
Sebastian Lackner
b0f0c3ea9f kernel32-GetFinalPathNameByHandle: Fix an incorrect comment. 2014-09-01 23:47:48 +02:00
Sebastian Lackner
e272c49cd8 kernel32-GetFinalPathNameByHandle: Fix possible issues if GetVolumePathNameW changes upper/lowercase of characters. 2014-09-01 23:34:01 +02:00
Sebastian Lackner
c51df83deb kernel32-GetVolumePathName: Avoid reformatting unchanged lines. 2014-09-01 22:48:15 +02:00
Sebastian Lackner
c45a17079d Explicitly run patch scripts with python2 (since Archlinux has 3 installed by default). 2014-09-01 21:32:23 +02:00
Sebastian Lackner
faf78575ac Added patch to fix detection of ncurses library on Archlinux. 2014-09-01 21:30:32 +02:00
Sebastian Lackner
027b85ed1b Fix formatting issue in debian/changelog. 2014-08-29 22:43:06 +02:00
Sebastian Lackner
9b303a4f82 server-Stored_ACLs: Fix check for invalid security descriptors.
Checking for the length is not sufficient. The values contained in the SD (like AceCount) could
still be garbage, and lead to errors when the SD is processed later.
2014-08-29 04:22:32 +02:00
Sebastian Lackner
4ff0b53021 server-Inherited_ACLs: Avoid using different sizes for mem_alloc and memcpy, some style cleanup.
It is a bit risky to use two different values for mem_alloc and memcpy - under some circumstances
these values probably don't match, leading to an invalid memory access. As the ACLs are accessed
without any special checks this shows that we'll also need additional protection in one of the
earlier patches.
2014-08-29 03:58:31 +02:00
Sebastian Lackner
04d674d9b6 server-Stored_ACLs: Minor cleanup.
We can avoid some variable declarations in the regular code, and only need them for ACL_Compat.
2014-08-29 03:37:44 +02:00
Sebastian Lackner
e91e2daca4 ntdll-DOS_Attributes: Minor cleanup.
I think its more clear when all functions that take a tuple (struct stat, ULONG attr)
use the same argument order. Besides that I've removed the "const" prefix from ULONG
variables.
2014-08-28 18:11:00 +02:00
Sebastian Lackner
ece1d51745 ntdll-Fix_Free: Move fix for invalid memory access to patch 9, which introduced the error. 2014-08-28 07:26:53 +02:00
Sebastian Lackner
125673271d Simplify logic in patch to indicate direct rendering through OpenGL extension. 2014-08-28 07:14:02 +02:00
Sebastian Lackner
da7d2715d3 bcrypt-BCryptGetFipsAlgorithmMode: Don't expect mode to be off (otherwise it will be difficult to get this patch upstream). 2014-08-28 07:10:32 +02:00
Sebastian Lackner
e2f635a164 Fix copy&paste error in Junction_Point tests. 2014-08-28 06:14:52 +02:00
Sebastian Lackner
9e6408add9 Fix invalid memory access and handle leak in Fix_Free / Junction_Point patches. 2014-08-28 05:48:17 +02:00
Sebastian Lackner
f6566f892d README.md: Move most of the content to the Wiki. 2014-08-28 04:39:29 +02:00
Sebastian Lackner
9c80cd53f9 patchupdate.py: Clean up some comments and spelling fixes. 2014-08-28 04:06:16 +02:00
Sebastian Lackner
f4e3d72fc1 patchupdate.py: Fix issue in patch dependency detection (ntdll-Junction_Points depend on ntdll-Fix_Free to apply properly). 2014-08-28 03:53:34 +02:00
Sebastian Lackner
15a19d27fc patchupdate.py: Fix typo in name of exception. 2014-08-28 03:53:23 +02:00
Sebastian Lackner
a8f3f9c4e4 Added patch to improve heap allocation performance. 2014-08-27 02:58:27 +02:00
Sebastian Lackner
3246faa114 Add patch to fix issues with setcap on wine-preloader executable. 2014-08-27 00:38:26 +02:00
Sebastian Lackner
4e4a8b7d32 Fix issue in winepulse patches (wrong syntax in configure script). 2014-08-26 23:23:59 +02:00
Sebastian Lackner
cf5a6bdbf3 Add patch to make allow dynamic linking of wpcap. 2014-08-26 23:04:55 +02:00
Erich E. Hoover
7e7a3881c4 Fix (safe) duplicate free in last 'Free Fix' patch. 2014-08-26 12:22:36 -06:00
Erich E. Hoover
023b7bd4cb Revise README message for ntdll leak fixes. 2014-08-25 09:22:53 -06:00
Erich E. Hoover
ff169cd1b7 Add fix for unintentional leaks with ntdll internals. 2014-08-25 09:18:10 -06:00
Erich E. Hoover
5f93d74102 Remove unintentionally added experimental Junction Point patch. 2014-08-24 13:52:18 -06:00
Erich E. Hoover
ce3f41cee9 Merge updates in master. 2014-08-24 13:50:56 -06:00
Erich E. Hoover
52453428f2 Release 1.7.25. 2014-08-24 11:12:20 -06:00
Sebastian Lackner
1c40aa1553 Add missing entry to debian/changelog. 2014-08-23 15:32:45 +02:00
Sebastian Lackner
dad496036d shell32-Default_Path: Fix whitespace errors. 2014-08-23 07:47:26 +02:00
Sebastian Lackner
fe0aa3f54d server-OpenProcess: Update to latest version of the patch. 2014-08-23 07:39:07 +02:00
Sebastian Lackner
26b0797bcb Rewrite part of server-CreateProcess_ACLs in order to fix incorrect error codes and memory leaks. 2014-08-23 06:33:01 +02:00
Sebastian Lackner
bba9e118d9 server-CreateProcess_ACLs: Remove whitespace issues, remove duplicate subject line. 2014-08-23 03:29:30 +02:00
Sebastian Lackner
0bc7ba983c Add some additional changes to debian/changelog. 2014-08-23 03:00:32 +02:00
Sebastian Lackner
a445ccf24f Modify some bug descriptions. 2014-08-23 02:47:55 +02:00
Sebastian Lackner
8680d3ff32 Rename server-Process -> server-OpenProcess to avoid confusion with other patchsets. 2014-08-23 02:31:17 +02:00
Sebastian Lackner
11341b00f6 riched20-IText_Interface: Update patches. 2014-08-23 02:15:02 +02:00
Sebastian Lackner
0f9f7dc428 Add patch to implement KF_FLAG_DEFAULT_PATH for SHGetKnownFolderPath. 2014-08-23 01:40:17 +02:00
Erich E. Hoover
e2f3ff5808 Add broken test check back for GetVolumePathName patches. 2014-08-22 14:51:50 -06:00
Erich E. Hoover
3156ce7409 Fix whitespace warning in GetVolumePathName patch. 2014-08-22 14:14:50 -06:00
Erich E. Hoover
a7f0cf9bc7 Add missing apc argument to async TransmitFile. 2014-08-22 13:34:35 -06:00
Erich E. Hoover
1ccb2f1d1e Update TransmitFile sent bytes to be the actual number sent instead of the attempted bytes. 2014-08-22 13:29:56 -06:00
Erich E. Hoover
19ff1ed17c Update TransmitFile WSAENOTSOCK error check and fix whitespace warnings. 2014-08-22 13:26:51 -06:00
Sebastian Lackner
be50941de6 kernel-Process: Attempt to fix test failures in kernel32/loader.c. 2014-08-22 13:57:51 +02:00
Sebastian Lackner
3029f615d2 Remove patches for SetNamedPipeHandleState implementation (accepted upstream). 2014-08-21 23:08:37 +02:00
Erich E. Hoover
3385c78c50 Removed patch with stub for DwmInvalidateIconicBitmaps (accepted upstream). 2014-08-21 14:48:27 -06:00
Erich E. Hoover
9a0ba52594 Remove extra whitespace from GetSystemTimes patches. 2014-08-21 09:23:49 -06:00
Erich E. Hoover
717300b790 Update the GetSystemTimes tests to get rid of type warnings on 64-bit. 2014-08-21 00:07:25 -06:00
Erich E. Hoover
d447778cfb Revise the DOS attributes patch to simplify the addition of extended attributes. 2014-08-20 22:36:51 -06:00
Michael MĂĽller
6fa663e823 Add patch for linker version in PE header. 2014-08-20 22:36:51 -06:00
Michael MĂĽller
16b62f6817 Add patch for linker version in PE header. 2014-08-21 06:01:23 +02:00
Erich E. Hoover
fa92b283ed Added patch to implement DOS hidden/system file attributes. 2014-08-20 19:22:07 -06:00
Sebastian Lackner
2ae83d8d8e kernel32-Named_Pipe: Remove patches 2-4 (accepted upstream). 2014-08-20 22:07:05 +02:00
Michael MĂĽller
5f08af6906 Add patch to move NtProtectVirtualMemory and NtCreateSection to separate pages. 2014-08-20 19:30:14 +02:00
Sebastian Lackner
13f3004ee7 Replace SetNamedPipeHandleState patch with proper implementation. 2014-08-18 23:18:59 +02:00
Erich E. Hoover
183dabb19e Fix the maintainer email address in the control file. 2014-08-18 11:27:16 -06:00
Sebastian Lackner
e93cad00c3 Add patch to fix issues with dragimage in ImageLists. 2014-08-18 00:56:24 +02:00
Sebastian Lackner
6f776b5d61 Remove patch to update gl_drawable for embedded windows (deprecated). 2014-08-18 00:11:47 +02:00
Erich E. Hoover
534422e141 Another attempt to fix the random multithreaded dependency compilation issue with wtypes.h. 2014-08-17 15:26:59 -06:00
Michael MĂĽller
533f33055c Add patch to better group running wine programs in WMs. 2014-08-16 01:22:35 +02:00
Michael MĂĽller
96d0db4493 Add patch for BCryptGetFipsAlgorithmMode. 2014-08-16 00:26:42 +02:00
Michael MĂĽller
d8b9dc9636 Add OpenProcess server patch. 2014-08-14 03:28:26 +02:00
Sebastian Lackner
03b7601b4c Add patch to fix issues with msi/ITERATE_MoveFiles. 2014-08-14 01:43:30 +02:00
Sebastian Lackner
046a795ef1 Updated patches in riched20-IText_Interface. 2014-08-13 03:13:36 +02:00
Sebastian Lackner
69e14bd36b patchupdate.py: Ignore 'git show' errors when tag not present yet (normal when doing a new release). 2014-08-13 02:45:21 +02:00
Sebastian Lackner
933eca8d41 README.md: Fix typo. 2014-08-13 02:26:19 +02:00
Sebastian Lackner
7122276309 README.md: Improve formatting of headlines for fixed bugs. 2014-08-13 02:22:57 +02:00
Sebastian Lackner
786742620a Change formulation in definition files to 'Support for ...' for newly added features. 2014-08-13 02:15:22 +02:00
Sebastian Lackner
731a458cbe patchupdate.py: Instead of showing the current fixes in README.md, also show information about last stable version. 2014-08-13 01:59:01 +02:00
Sebastian Lackner
536e2fe646 patchupdate.py: Move code to read definition file into a separate function. 2014-08-13 00:13:36 +02:00
Sebastian Lackner
e492b4c116 patchupdate.py: Simplify code to query for wine bugs, use short summary in Makefile. 2014-08-12 23:45:39 +02:00
Sebastian Lackner
15815c9994 patchupdate.py: Merge functions to generate README.md and DEVELOPER.md. 2014-08-12 23:11:15 +02:00
Michael MĂĽller
06af5d9963 Add patch for GetFinalPathNameByHandle. 2014-08-12 20:30:54 +02:00
Sebastian Lackner
4c1c303b62 gitapply.sh: Fix patching issues on Gentoo. 2014-08-12 03:34:17 +02:00
Erich E. Hoover
5dc4aa102e Minor update to broken nVidia RandR detection patch. 2014-08-11 17:59:17 -06:00
Erich E. Hoover
4bc20dfb8e Removed patch to return empty D3D hardware flags for RGB device enumeration (accepted upstream). 2014-08-11 16:23:25 -06:00
Sebastian Lackner
43bba1b164 Update patches for riched20-IText_Interface. 2014-08-11 05:04:55 +02:00
Erich E. Hoover
4aa699f6ca Added patch with stub for DwmInvalidateIconicBitmaps. 2014-08-09 16:35:55 -06:00
Erich E. Hoover
45403d8669 Add a dependency on libpcap to the debian control file. 2014-08-09 14:06:35 -06:00
Erich E. Hoover
850aa4fc6b Add explicit include on wtypes.h in the address change patchset (should fix multithreaded compile). 2014-08-09 13:46:05 -06:00
Erich E. Hoover
ea409cf4fa Added patch to better detect broken nVidia RandR 1.2 support. 2014-08-09 13:23:58 -06:00
slackner
d021d173a9 Fix link in LICENSE.md. 2014-08-09 18:13:34 +02:00
Erich E. Hoover
b038fac54d Added Courier Prime (OFLv1.1) as a Courier New replacement. 2014-08-09 09:29:01 -06:00
Erich E. Hoover
87c4528445 Add missing dash in README fix info. 2014-08-09 00:04:18 -06:00
Erich E. Hoover
18524f3386 Release 1.7.24. 2014-08-08 22:06:43 -06:00
Sebastian Lackner
b2db6dedde Added patches to implement ITextRange, ITextPara and ITextFont (by Jactry Zeng). 2014-08-09 05:53:37 +02:00
Sebastian Lackner
f837eb03f6 Remove unnecessary dependency for server-CreateProcess_ACLs patch. 2014-08-09 04:38:25 +02:00
Erich E. Hoover
6bd6d630b3 Update the CreateProcess ACLs patches. 2014-08-08 20:31:43 -06:00
Sebastian Lackner
9087dedefc patchupdate.py: Define $(APPLY) macro, rename $(APPLY_PATCH) -> $(APPLY_FILE). 2014-08-09 04:22:16 +02:00
Erich E. Hoover
944a550aeb Appease the blessed version of gcc (4.5) when -Werror is enabled. 2014-08-08 19:45:21 -06:00
Sebastian Lackner
ce013a8a78 patchupdate.py: Also switch to $(DESTDIR) before applying the patchlist. 2014-08-09 03:12:49 +02:00
Sebastian Lackner
8d276fcfe1 patchupdate.py: Always change directory before running $(PATCH), simplifies using other patch commands. 2014-08-09 03:05:27 +02:00
Sebastian Lackner
7573e09b4a Fix build failure with -Werror in kernel32-GetSystenTimes patchset. 2014-08-09 00:13:19 +02:00
Sebastian Lackner
e54f90dd30 Added patch to workaround programs leaking wndproc slots. 2014-08-08 23:46:26 +02:00
Sebastian Lackner
2403b551ea Added patch to fix comparison of punctuation characters in lstrcmp. 2014-08-08 23:30:59 +02:00
Erich E. Hoover
36fb39e545 Adjust SHCreateSessionKey 'fixes' entry to be similar to other patches. 2014-08-08 15:09:13 -06:00
Erich E. Hoover
18b484d778 Added patch to support setting file disposition information. 2014-08-08 14:39:42 -06:00
Erich E. Hoover
0ee71b2abe Updated empty ddraw hardware flags patches. 2014-08-08 09:52:59 -06:00
Erich E. Hoover
dea02ac53a Added patch to use a linear resampler when there a large number of dsound mixing buffers. 2014-08-07 17:32:39 -06:00
Sebastian Lackner
368f765134 patchupdate.py: Ensure patch commandline utility never assumes reversed patches. 2014-08-08 00:00:32 +02:00
Sebastian Lackner
ea59363fcb Remove windowscodecs/PropertyBag patch (accepted upstream). 2014-08-07 23:58:57 +02:00
Sebastian Lackner
c50689ab09 gitapply.sh: Use variables for awk scripts instead of inline code. 2014-08-07 17:02:37 +02:00
Sebastian Lackner
2b2a8fac9a gitapply.sh: Fix issue with parsing of delta type binary patches, some style improvements. 2014-08-07 17:01:56 +02:00
slackner
5748d714b1 Add missing linebreak to ok() message in LoadIconMetric patch. 2014-08-07 16:37:10 +02:00
Sebastian Lackner
7d225dbb57 gitapply.sh: Fix typo in comment. 2014-08-07 03:37:03 +02:00
Sebastian Lackner
5d5b230c5a gitapply.sh: Rewrite script to improve performance on huge font patches. 2014-08-07 03:26:33 +02:00
Michael MĂĽller
1ca9157daa Add fix for PropertyBag_GetPropertyInfo. 2014-08-07 02:44:50 +02:00
Michael MĂĽller
4b4ea9fd2e Add patches for LoadIconMetric. 2014-08-07 02:01:42 +02:00
Michael MĂĽller
3d62769912 Add patches for LoadIconMetric. 2014-08-07 02:00:57 +02:00
Erich E. Hoover
9b6f3ef459 Removed strmbase/quartz locking fix patches (accepted upstream). 2014-08-05 17:28:27 -06:00
Sebastian Lackner
e08596a770 Added patch to set ldr.EntryPoint for main executable (fixes wine bug 33034). 2014-08-06 00:19:57 +02:00
Sebastian Lackner
399f43a3f2 Update debian/changelog. 2014-08-06 00:14:55 +02:00
Michael MĂĽller
cd729384de Add RunDLL_CallEntry16 patch. 2014-08-05 00:57:45 +02:00
Sebastian Lackner
647f53b37e Remove patchset shell32-Register_Folders (accepted upstream), update changelog. 2014-08-04 22:55:46 +02:00
Michael MĂĽller
98334f6e19 Add patch for extra large and jumbo icons. 2014-08-03 03:33:13 +02:00
Michael MĂĽller
281bf873aa Improve GetSystemMetrics. 2014-08-02 05:37:29 +02:00
Erich E. Hoover
1ff09d87c5 Added patch to fix edge cases in TOOLTIPS_GetTipText. 2014-07-31 11:15:26 -06:00
Erich E. Hoover
f9cb758cdc Fix the unlock order in one of the strmbase/quartz race condition patches. 2014-07-31 06:51:27 -06:00
Erich E. Hoover
92ab0e4143 Added patch to return the appropriate connection time with SO_CONNECT_TIME. 2014-07-30 17:40:32 -06:00
Erich E. Hoover
8f48583742 Added patch to return empty D3D hardware flags for HEL device enumeration. 2014-07-30 17:03:13 -06:00
Erich E. Hoover
f84058ab42 Fix Arch README information in template file. 2014-07-30 10:50:09 -06:00
compholio
489ccc88e6 Update README with appropriate Arch command.
Fixes Bug #37.
2014-07-30 10:45:11 -06:00
Sebastian Lackner
196a06e3b6 README.md: Some minor fixes. 2014-07-30 16:21:38 +02:00
Sebastian Lackner
e599595153 patchupdate.py: Speed up lookup of bug short_desc by using an 'undocumented feature' to query all at the same time. 2014-07-30 16:10:05 +02:00
Sebastian Lackner
89e1de9267 LICENSE.md: Fix formulation of introduction text. 2014-07-30 06:13:56 +02:00
Sebastian Lackner
3e8756078d Wine-Compholio is a name, so it should start everywhere with captial letter W and C. 2014-07-30 04:31:51 +02:00
Sebastian Lackner
f15cf20757 Fix github markdown syntax. 2014-07-30 04:27:36 +02:00
Sebastian Lackner
4b63027ca0 Improve license file, rename licenses before packaging them. 2014-07-30 04:24:46 +02:00
Sebastian Lackner
1f2bb7be5e debian/rules: Cleanup of rules file. 2014-07-30 03:09:17 +02:00
Sebastian Lackner
bcf0e1d72d README.md: Fix typo in Mageia installation instructions. 2014-07-29 21:21:44 +02:00
Sebastian Lackner
4a5b0ad90a Install LICENSE.wine-compholio.md instead of multiple individual licenses. 2014-07-29 05:18:02 +02:00
Sebastian Lackner
644869d239 LICENSE.wine-compholio.md: Reorder some parts, fix typo. 2014-07-29 05:14:51 +02:00
Sebastian Lackner
1896b3cd3b LICENSE.wine-compholio.md: One more attempt to make it look a bit better... 2014-07-29 05:12:26 +02:00
Sebastian Lackner
04e56f5acd LICENSE.wine-compholio.md: Change headlines one more time, and add direct links to anchors within same file. 2014-07-29 05:05:55 +02:00
Sebastian Lackner
420a6e0ba6 LICENSE.wine-compholio.md: Use bigger headlines. 2014-07-29 04:59:35 +02:00
Sebastian Lackner
abc3892f41 LICENSE.wine-compholio.md: Another attempt to fix formatting issues. 2014-07-29 04:57:41 +02:00
Sebastian Lackner
c29548b4e2 LICENSE.wine-compholio.md: Some formatting fixes. 2014-07-29 04:52:52 +02:00
Sebastian Lackner
dc0ef2893b Add license for wine-compholio in markdown format. 2014-07-29 04:49:46 +02:00
Sebastian Lackner
202cf08f77 README.md: Fix numbering in enumeration. 2014-07-29 03:56:11 +02:00
Sebastian Lackner
18ee5a9427 README.md: Use fixed wordwrap of 80 characters. 2014-07-29 03:55:22 +02:00
Sebastian Lackner
5f47470e86 DEVELOPER.md: Use fixed wordwrap of 80 characters. 2014-07-29 03:41:16 +02:00
Sebastian Lackner
46f1e23363 DEVELOPER.md: Shorten title a bit. 2014-07-29 03:34:16 +02:00
Sebastian Lackner
8b72d74b6f Merge ATTRIBUTION.md into DEVELOPER.md. 2014-07-29 03:29:55 +02:00
Sebastian Lackner
b0daaa4b96 Move developer readme (DEVELOPER.md) into a separate file. 2014-07-29 02:33:30 +02:00
Sebastian Lackner
9017db8694 Revert patch "Use an empty buffer in DecryptMessage".
Reverts 26302e61a3
2014-07-28 20:21:40 +02:00
Sebastian Lackner
2059944f48 patchupdate.py: Incrase number of concurrent webrequests to 16. 2014-07-28 02:45:35 +02:00
Sebastian Lackner
73f8a0cbf5 patchupdate.py: Move all defined paths into a config class (to allow easier modification). (2/2) 2014-07-28 02:41:50 +02:00
Sebastian Lackner
4eb3d2d06c patchupdate.py: Some style improvements (1/2). 2014-07-28 02:32:13 +02:00
Sebastian Lackner
3fa9e6b400 patchupdate.py: Add additional cache to speed up lookup of git source files based on commit sha1. 2014-07-28 02:22:58 +02:00
Michael MĂĽller
c0f05edf66 Update patch to create additional profile directories. 2014-07-28 02:00:50 +02:00
Erich E. Hoover
26302e61a3 Added patch to use an empty buffer in DecryptMessage to return decrypted data. 2014-07-27 14:51:44 -06:00
Erich E. Hoover
ca15d9aed6 Fix TRACE message in GetSystemTimes patch. 2014-07-27 13:12:46 -06:00
Erich E. Hoover
ddfef57f82 Add a couple missing changelog entries. 2014-07-27 13:06:18 -06:00
Erich E. Hoover
c8a6c04975 Added patch to implement GetSystemTimes. 2014-07-27 12:54:01 -06:00
Erich E. Hoover
1be929fbf9 Added patch with stubs for [Get|Set]SystemFileCacheSize. 2014-07-27 10:37:31 -06:00
Sebastian Lackner
935854b8a4 README.md: Sort bugs alphabetically instead of by bugzilla bug number. 2014-07-27 18:10:04 +02:00
Sebastian Lackner
3b6dcb11c8 Add Wine bugzilla bug number for winepulse patches. 2014-07-27 18:05:12 +02:00
Sebastian Lackner
3f4ea42573 patchupdate.py: Remove ugly hack to remove *.ok files on failure, use .INTERMEDIATE instead. 2014-07-27 17:55:33 +02:00
Erich E. Hoover
1f2cf52167 Fix author in definition file for inet_pton patch. 2014-07-27 09:49:24 -06:00
Erich E. Hoover
98fb8a1c69 Added patch to implement inet_pton. 2014-07-27 09:42:14 -06:00
Sebastian Lackner
dd68855d30 README.md: Add better description for wine-compholio. 2014-07-27 16:24:19 +02:00
Sebastian Lackner
348f35a57e Merge branch 'master' of github.com:compholio/wine-compholio 2014-07-27 06:06:58 +02:00
Sebastian Lackner
bb0d97b635 README.md: No need to use the cdn links, github caches images anyway. 2014-07-27 06:06:31 +02:00
Michael MĂĽller
047f20598e Merge branch 'master' of https://github.com/compholio/wine-compholio-daily 2014-07-27 04:06:53 +02:00
Sebastian Lackner
3d582c05b6 README.md: Reorder ArchLinux instructions, to make them more similar to all other distros. 2014-07-27 04:04:48 +02:00
Michael MĂĽller
49eb3fb9f2 Add patch to allow special characters in pipe names 2014-07-27 04:02:05 +02:00
Sebastian Lackner
e9a8aa66ce Merge branch 'master' of github.com:compholio/wine-compholio 2014-07-27 03:53:18 +02:00
Sebastian Lackner
0b40eddf61 README.md: Add additional information about how to use wine-compholio. 2014-07-27 03:52:57 +02:00
Michael MĂĽller
283dd7e35c Add patch to create AppData\LocalLow directory 2014-07-27 03:02:59 +02:00
Sebastian Lackner
c3a2198919 README.md: Second attempt to fix image sizes. 2014-07-27 01:28:34 +02:00
Sebastian Lackner
8ca12a7d01 README.md: First attempt to fix image sizes. 2014-07-27 01:05:31 +02:00
Sebastian Lackner
81287a6b64 README.md: Add distro images to installation instructions.
(Hopefully githubs markdown parser will understand this syntax ...)
2014-07-27 00:57:32 +02:00
Sebastian Lackner
c28233c13e Merge branch 'master' of github.com:compholio/wine-compholio 2014-07-27 00:43:07 +02:00
Sebastian Lackner
379cb257ae README.md: Add instructions how to install prebuilt versions of wine-compholio. 2014-07-27 00:42:46 +02:00
Erich E. Hoover
9561788866 Fix authot in SHCreateSessionKey defintion file. 2014-07-26 15:55:56 -06:00
Erich E. Hoover
df56f3b7dd Added patch to implement SHCreateSessionKey. 2014-07-26 15:49:56 -06:00
Erich E. Hoover
bca05a6284 Added patch to store IOCS data in a property instead of GWLP_USERDATA. 2014-07-26 15:26:03 -06:00
Sebastian Lackner
9af0621843 patchupdate.py: Make more clear what the functions causal_time_relation* do. 2014-07-26 23:19:39 +02:00
Sebastian Lackner
7154d8ae74 Merge branch 'master' of github.com:compholio/wine-compholio 2014-07-26 23:13:38 +02:00
Sebastian Lackner
1e27c09f56 patchupdate.py: Fix issue in patch order dependency check (and remove unnecessary dependeny from Misc_ACL on Stored_ACLs). 2014-07-26 23:13:27 +02:00
Erich E. Hoover
9060622885 Add missing changelog entry. 2014-07-26 14:42:17 -06:00
Erich E. Hoover
d703791841 Added patch to fix ConnectNamedPort return value in overlapped mode. 2014-07-26 14:22:36 -06:00
Sebastian Lackner
ddf264985b Add missing file Makefile.in. 2014-07-26 22:21:07 +02:00
Sebastian Lackner
b6e1475678 patchupdate.py: Silence output of some Makefile code related to patchlist. 2014-07-26 21:33:17 +02:00
Sebastian Lackner
77ae2f5dfe Merge branch 'master' of github.com:compholio/wine-compholio 2014-07-26 21:30:00 +02:00
Sebastian Lackner
9a01f9973d patchupdate.py: Move static part of generated Makefile into Makefile.in. 2014-07-26 21:29:46 +02:00
Erich E. Hoover
5ea2e4b5e2 Add missing comment to AllocateAndGetTcpExTableFromStack patch. 2014-07-26 13:15:00 -06:00
Erich E. Hoover
9032f33a16 Up the version number for next release (whoops). 2014-07-26 13:11:11 -06:00
Erich E. Hoover
afe4658dfc Add a markdown document about attribution. 2014-07-26 13:09:56 -06:00
Erich E. Hoover
13cf73babe Added patch to implement AllocateAndGetTcpExTableFromStack. 2014-07-26 12:42:06 -06:00
Erich E. Hoover
7efae8dc63 Remove unused variable in IMediaSeeking patches. 2014-07-25 21:23:43 -06:00
Erich E. Hoover
59a227fea5 Release 1.7.23. 2014-07-25 21:15:11 -06:00
Sebastian Lackner
7b41f47a27 patchupdate.py: Ensure that patchlist data is properly escaped. 2014-07-26 04:39:21 +02:00
Erich E. Hoover
2f48baf75b Add additional author on font patch definition file. 2014-07-25 20:03:43 -06:00
Sebastian Lackner
cdaf968aa6 Add LICENSE.GPLv3 to debian/wine-compholio.docs (and sort alphabetically). 2014-07-26 04:02:11 +02:00
Sebastian Lackner
f91056bdc2 Merge branch 'master' of github.com:compholio/wine-compholio 2014-07-26 03:56:22 +02:00
Sebastian Lackner
ee4b0b868e Merge branch 'master' of github.com:compholio/wine-compholio 2014-07-26 03:53:36 +02:00
Erich E. Hoover
46d3dece11 Have git ignore pre-compiled python files. 2014-07-25 19:53:27 -06:00
Sebastian Lackner
6e017c65e2 Pull in latest version of winepulse patches (rebase only). 2014-07-26 03:53:13 +02:00
Erich E. Hoover
d018c5bad9 Added WenQuanYi Micro Hei (GPLv3) as a Microsoft Yahei replacement. 2014-07-25 19:49:49 -06:00
Sebastian Lackner
6431b62348 Update changelog for HKEY_DYN_DATA patches. 2014-07-26 03:45:02 +02:00
Sebastian Lackner
600d6d0b87 Attempt to escape quotation marks in generated README.md. 2014-07-26 03:41:47 +02:00
Sebastian Lackner
145e5212b3 Merge branch 'master' of github.com:compholio/wine-compholio 2014-07-26 03:31:30 +02:00
Sebastian Lackner
799eed7336 patchupdate.py: Move README.md template to separate file. 2014-07-26 03:31:08 +02:00
Michael MĂĽller
b04636aa97 Add patch to populate HKEY_DYN_DATA. 2014-07-26 03:22:25 +02:00
Sebastian Lackner
d270fde97f Update path to Missing_Fonts patch. 2014-07-26 03:19:27 +02:00
Sebastian Lackner
f609f42eed Merge branch 'master' of github.com:compholio/wine-compholio 2014-07-26 03:14:57 +02:00
Sebastian Lackner
d39a62b810 Add debian/tools/wine to .gitignore. 2014-07-26 03:14:21 +02:00
Erich E. Hoover
8486f8265b Update README entry for default folder ACLs. 2014-07-25 19:01:05 -06:00
Erich E. Hoover
f03602bcfd Move 98-Miscellaneous to Miscellaneous. 2014-07-25 18:58:53 -06:00
Erich E. Hoover
20d1c91c29 Move 97-Pipelight to Pipelight. 2014-07-25 18:58:38 -06:00
Erich E. Hoover
e6cf192b7b Move 13-Misc_ACL to server-Misc_ACL. 2014-07-25 18:58:12 -06:00
Erich E. Hoover
9d339630bb Move 16-server-CreateProcess_ACLs to server-CreateProcess_ACLs. 2014-07-25 18:51:15 -06:00
Erich E. Hoover
a8de052a24 Move 15-wtsapi32 to wtsapi32-EnumerateProcesses. 2014-07-25 18:50:48 -06:00
Erich E. Hoover
846b29671f Move 19-ntdll-Dynamic_DST to ntdll-Dynamic_DST. 2014-07-25 18:50:14 -06:00
Erich E. Hoover
55e0e0ed4e Move 18-quartz-MediaSeeking_Positions to quartz-MediaSeeking_Positions. 2014-07-25 18:49:52 -06:00
Erich E. Hoover
020dc88b37 Move 17-strmbase-Lock_Race_Conditions to strmbase-Lock_Race_Conditions. 2014-07-25 18:49:34 -06:00
Erich E. Hoover
eb1e664c31 Move 14-UrlCombineW to shlwapi-UrlCombine. 2014-07-25 18:46:04 -06:00
Erich E. Hoover
77a19f836f Move 12-FD_Cache to ntdll-FD_Cache. 2014-07-25 18:40:38 -06:00
Erich E. Hoover
3a74d5cccc Move 10-Missing_Fonts to fonts-Missing_Fonts. 2014-07-25 18:40:06 -06:00
Erich E. Hoover
10354d4cb5 Move 09-TransmitFile to ws2_32-TransmitFile. 2014-07-25 18:39:43 -06:00
Erich E. Hoover
fe7b83a384 Move 08-Junction_Points to ntdll-Junction_Points. 2014-07-25 18:39:20 -06:00
Erich E. Hoover
ad021f5462 Move 07-GetVolumePathName to kernel32-GetVolumePathName. 2014-07-25 18:38:39 -06:00
Erich E. Hoover
e800cac340 Move 06-winepulse to winepulse-PulseAudio_Support. 2014-07-25 18:38:06 -06:00
Erich E. Hoover
91cd19237f Move 04-XEMBED to winex11-XEMBED. 2014-07-25 18:37:27 -06:00
Erich E. Hoover
1e0e9de2b0 Move 05-Named_Pipe to kernel32-Named_Pipe. 2014-07-25 18:36:21 -06:00
Erich E. Hoover
802ebcbb91 Move 00-Commandline to loader-Cmdline_Diagnostics. 2014-07-25 18:34:36 -06:00
Erich E. Hoover
2c3efe2faa Split 02-ACL_Extended_Attributes into server-Stored_ACLs, server-Inherited_ACLs, shell32-Default_Folder_ACLs, and server-ACL_Compat. 2014-07-25 18:33:58 -06:00
Erich E. Hoover
2a3d9afece Move 01-Address_Change_Notification to server-Address_Change_Notification. 2014-07-25 18:33:48 -06:00
Sebastian Lackner
1c6691895b Updated changelog for Dynamic DST patch. 2014-07-26 00:57:56 +02:00
Sebastian Lackner
4dea282c90 Add Dynamic DST patches to fix issues with Israel timezone. 2014-07-26 00:55:23 +02:00
Erich E. Hoover
845a4dd675 Update README to indicate that Wine's SetTimer value is now 10 ms. 2014-07-25 15:46:12 -06:00
Sebastian Lackner
5bfc96a6a5 README.md: Add instructions how to specify a list of patches when calling the Makefile. 2014-07-25 22:52:11 +02:00
Sebastian Lackner
b8ab34f8d6 Update README.md with recent changes to the patch system. 2014-07-25 22:37:29 +02:00
Sebastian Lackner
eccde841d5 Fix typo in README.md. 2014-07-25 22:17:51 +02:00
Sebastian Lackner
22f1f858b1 Fix typo in debian/changelog. 2014-07-25 22:09:08 +02:00
Sebastian Lackner
ef427399da Rewrite of patch system to simplify mainting large patchsets. 2014-07-25 22:08:08 +02:00
Sebastian Lackner
208b3c1d25 patchupdate.py: Small code style improvement. 2014-07-25 21:59:34 +02:00
Sebastian Lackner
60632bb522 patchutils.py: Silence output of patch commandline utility. 2014-07-25 21:57:46 +02:00
Sebastian Lackner
707a96d35a patchupdate.py: Improve output in case of errors. 2014-07-25 21:54:58 +02:00
Sebastian Lackner
aa54f206eb gitupdate.py: Add license header and some code cleanup. 2014-07-25 21:34:03 +02:00
Sebastian Lackner
6db9cf0e65 patchutils.py: Add license header, remove unnecessary variables. 2014-07-25 20:50:16 +02:00
Sebastian Lackner
8727d25f6f gitapply.sh: Move gitsha1 algorithm into separate function. 2014-07-25 20:19:35 +02:00
Sebastian Lackner
02f52948f5 gitapply.sh: More regular expression replacements. 2014-07-25 20:14:48 +02:00
Sebastian Lackner
3f9af9fb49 gitapply.sh: Replace regular expression with with bash substring at some places. 2014-07-25 20:00:24 +02:00
Sebastian Lackner
e99ff32949 gitapply.sh: Add license, check for dependencies before proceeding, several smaller improvements. 2014-07-25 19:49:56 +02:00
Sebastian Lackner
1f95d8181d patchupdate.py: Improve generated Makefile and delete *.ok files on error. 2014-07-25 17:52:08 +02:00
Sebastian Lackner
e827cc078f patchupdate.py: Improve patch system and remove dependencies, when the order of patches doesn't matter. 2014-07-25 16:39:08 +02:00
Sebastian Lackner
80e51dcad6 patchutils.py: Remove unused functions min_{source,dest}_size. 2014-07-25 04:03:28 +02:00
Sebastian Lackner
10d9fda5f9 Merged with master. 2014-07-25 03:45:20 +02:00
Sebastian Lackner
f69c6a545c Use patchutils.py to parse patch files and split them into individual changes. 2014-07-25 03:32:01 +02:00
Erich E. Hoover
a4d6e77557 Remove relative Junction Point linking for now (breaks tests). 2014-07-22 21:30:16 -06:00
Erich E. Hoover
5b691be2cc Fix failing Junction Point test. 2014-07-22 21:28:01 -06:00
Erich E. Hoover
02eae9d5a0 Add missing definition file for Arial replacement. 2014-07-22 19:22:20 -06:00
Erich E. Hoover
a4dbc11aff Add missing license file for Arial replacement. 2014-07-22 19:21:23 -06:00
Erich E. Hoover
f1121e3a1a Merge branch 'tkurbad-fontsmoothing' 2014-07-22 18:36:31 -06:00
Torsten Kurbad
ac83718ba8 Downgraded Arial replacement font to Liberation Sans v1.07.3. 2014-07-22 18:24:15 -06:00
Erich E. Hoover
603d7ca80e Make sure LICENSE files are included in the Debian packages. 2014-07-22 17:51:37 -06:00
Erich E. Hoover
6b2cc4c58f Return correct IMediaSeeking stream positions in quartz. 2014-07-22 08:38:10 -06:00
Michael MĂĽller
a3d2b4b9e0 Fix fuzz in patches. 2014-07-20 22:36:08 +02:00
Erich E. Hoover
95bee0aa1e Fix race condition between EndOfStream and Pause. 2014-07-18 10:58:54 -06:00
Erich E. Hoover
bc6f854478 Fix possible race conditions in strmbase/quartz. 2014-07-17 10:54:33 -06:00
Sebastian Lackner
0b33c39275 patchupdate.py: Use abort() function instead of hardcoded call to exit. 2014-07-13 04:53:20 +02:00
Sebastian Lackner
fce29b88da Improve patchupdate.py to detect changes even when regular diff files without git header are used. 2014-07-13 04:46:11 +02:00
Sebastian Lackner
f6dd1f3d0d Add instructions how to exclude patches in README.md. 2014-07-13 03:29:56 +02:00
Sebastian Lackner
49bbdc5bf2 Add .NOTPARALLEL to generated Makefile.
We don't want to add unnatural dependencies for patches, if for example both
patch A and B modify the same file, but the order of applying the patches doesn't
matter. Adding a dependency would cause trouble when excluding patches.
2014-07-13 02:47:34 +02:00
Sebastian Lackner
df034abacb Strip configure changes from winepulse patches.
These changes will be done automatically by autoreconf, keeping them in increases
chances to get conflicts.
2014-07-13 02:17:09 +02:00
Sebastian Lackner
d49ca49848 Update wine-pulse patches (extracted from version 1.7.21). 2014-07-13 02:07:52 +02:00
Sebastian Lackner
79843648fb Include list of affected files for each set of patches. 2014-07-13 01:51:15 +02:00
Sebastian Lackner
63e82e5cd2 Replace custom templating system with Python format() in patchupdate.py. 2014-07-13 01:46:08 +02:00
Sebastian Lackner
7e3381c7a3 Fix formatting issues for README.md. 2014-07-13 01:33:28 +02:00
Sebastian Lackner
cffa29b1ae Precommit script should trigger even if just the changelog was updated. 2014-07-13 01:32:09 +02:00
Sebastian Lackner
dc95c57c20 Automatically generate installation instructions based on template whenever updating patches / version. 2014-07-13 01:30:44 +02:00
Sebastian Lackner
a0a5084f55 Minor code cleanup in patchupdate.py. 2014-07-12 01:33:04 +02:00
Sebastian Lackner
386a2ce3ba Pulled changes from master. 2014-07-11 23:18:27 +02:00
Sebastian Lackner
86e6d52971 Add a missing short name for 13-Misc_ACL patches. 2014-07-11 21:29:45 +02:00
Sebastian Lackner
f7014738a8 Display short name instead of full bug report title in README.md. 2014-07-11 21:25:18 +02:00
Erich E. Hoover
4b95841bdb Release 1.7.22. 2014-07-11 13:00:13 -06:00
Erich E. Hoover
180fa60a17 Implement passing ACLs to CreateProcess. 2014-07-11 12:57:10 -06:00
Sebastian Lackner
32a0e9cc9e Use Python multiprocessing to speed up querying bug information from Wine bugzilla. 2014-07-11 20:35:39 +02:00
Sebastian Lackner
79861c20f1 Show bug numbers in README.md after the description. 2014-07-11 19:44:07 +02:00
Sebastian Lackner
bb0cece9a9 Sort entries for autogenerated README.md file. 2014-07-11 19:38:38 +02:00
Sebastian Lackner
32148424bd Fix generation of URLs in README.md. 2014-07-11 19:36:31 +02:00
Sebastian Lackner
5c72aff53e Add fixed bug numbers to each patchset, autogenerate README.md with patch information. 2014-07-11 19:34:33 +02:00
Sebastian Lackner
42afbafa33 Initial version of new dependency based patch system. 2014-07-11 18:51:03 +02:00
Sebastian Lackner
9d3369d7a6 gitapply.sh: Make sure that all error output is redirected to stderr, sort commandline options. 2014-07-11 00:31:33 +02:00
Sebastian Lackner
2bb1b96f06 Removed several patches (accepted upstream). 2014-07-09 21:47:48 +02:00
Erich E. Hoover
2bfe73c2b7 Updated main extended attributes patch to include BSD support. 2014-07-08 14:32:58 -06:00
Erich E. Hoover
8e2ab550d8 Updated main extended attributes patch to include additional data checks. 2014-07-08 14:32:06 -06:00
Erich E. Hoover
7f5e6044ee Reformat the display of the Wine bug number in the README. 2014-07-08 13:19:19 -06:00
Erich E. Hoover
db0464c6f2 Update repository name and description in README. 2014-07-08 12:39:31 -06:00
Sebastian Lackner
80455f2b22 Rebase patch to silence resource_check_usage FIXME. 2014-07-08 01:03:49 +02:00
Sebastian Lackner
ce40587ef4 Return NULL-terminated list of arguments in CommandLineToArgvW. 2014-07-07 23:43:30 +02:00
Sebastian Lackner
4ad4f948c3 Fix incorrect scaling for DECIMAL values in VarDecAdd. 2014-07-07 22:19:53 +02:00
Sebastian Lackner
1fbebd0a1a Add patch for implementation of wtsapi32.WTSEnumerateProcessesW. 2014-07-06 23:55:09 +02:00
Sebastian Lackner
1761c9534e Move UrlCombineW patches in a separate directory. 2014-07-06 23:47:00 +02:00
Sebastian Lackner
b500367ff7 Remove patch '0001-quartz-tests-Add-tests-for-IVMRMonitorConfig-and-IVMRM.patch'. 2014-07-06 23:40:17 +02:00
Erich E. Hoover
5721ee15c9 Removed RegSetKeySecurity patch (accepted upstream). 2014-07-04 13:18:59 -06:00
Erich E. Hoover
56264645ad Updated RegSetKeySecurity patch to work with special root keys. 2014-07-04 10:14:57 -06:00
Erich E. Hoover
113b554090 Retitle RegSetKeySecurity component (advapi -> advapi32). 2014-07-01 20:34:44 -06:00
Erich E. Hoover
24c6b554c9 Implement RegSetKeySecurity on top of NtSetSecurityObject. 2014-07-01 19:26:01 -06:00
Erich E. Hoover
b861c5731d Added NT4 support to the process ACL tests. 2014-07-01 18:32:31 -06:00
Erich E. Hoover
5d354c9b2a Release 1.7.21 2014-06-27 23:09:39 -06:00
Sebastian Lackner
e8fee88c50 Remove several patches (accepted upstream). 2014-06-22 20:40:51 +02:00
Sebastian Lackner
c2e8167d6d Release 1.7.20. 2014-06-14 19:46:09 +02:00
Sebastian Lackner
907d56238e Fix warning during compilation for unused variable. 2014-06-14 10:37:54 +02:00
Sebastian Lackner
674b998176 Add patch to fix issues with Obsidium copy protection (add missing exception in OutputDebugStringA). 2014-06-14 09:45:49 +02:00
Erich E. Hoover
882b560d0d Added patches for default security descriptor ownership and DACLs for processes. 2014-06-13 15:29:17 -06:00
Erich E. Hoover
8df335170a Updated changelog with recent changes. 2014-06-13 15:29:16 -06:00
Sebastian Lackner
2241ffdf4b Disable gstreamer (broken with glib >= 2.32.0).
See http://bugs.winehq.org/show_bug.cgi?id=30557 for more details.
2014-06-13 23:22:54 +02:00
Sebastian Lackner
dff7b6b562 Update winepulse patches to latest revision (extracted from 1.7.19). 2014-06-13 22:47:13 +02:00
Sebastian Lackner
cdb00a9e7a Update README.md. 2014-06-13 22:02:13 +02:00
Sebastian Lackner
f7541123b5 Add patch to avoid race-condition when unloading modules while hook is active. 2014-06-13 21:49:49 +02:00
Sebastian Lackner
6578707ac2 Remove several patches (accepted upstream). 2014-06-13 20:07:34 +02:00
Michael MĂĽller
719c65ebb0 Fix recommendation for odbc and add libgsm1. 2014-06-07 14:55:29 +02:00
Erich E. Hoover
ddefcb372a Force autoreconf even when timestamp seems to indicate that it is not necessary. 2014-06-05 15:38:43 -06:00
Michael MĂĽller
c594bca17a Error out in git apply script on *BSD. 2014-06-05 21:20:54 +02:00
Sebastian Lackner
3c33a592f6 Make generate-patchlist.sh compatible with FreeBSD. 2014-06-05 22:17:55 +02:00
Sebastian Lackner
4476d8af38 Update changelog for release 1.7.19-1. 2014-06-02 23:55:55 +02:00
Sebastian Lackner
b216cdce2c Update FD cache patch to allow complication with -DNDEBUG. 2014-06-02 20:57:19 +02:00
Sebastian Lackner
fc086bb2bc Add additional check to ensure wineserver doesn't crash if mem_alloc fails. 2014-06-02 01:42:23 +02:00
Sebastian Lackner
772dfd9f5a Work around compiler signed <-> unsigned casting issues. 2014-06-02 01:38:40 +02:00
Michael MĂĽller
b4d53a7344 Add support for xattr/ACLs on FreeBSD 2014-06-01 22:10:22 +02:00
Sebastian Lackner
e5c7fe8c18 Merge branch 'master' of github.com:compholio/wine-compholio-daily 2014-06-01 23:48:40 +02:00
Sebastian Lackner
fdc24226bf 02-ACL_Extended_Attributes: Add additional patch to prevent crashes in case of invalid extended attributes. 2014-06-01 23:47:53 +02:00
Michael MĂĽller
3886ee9fae Add patch to detect direct rendering in Wine applications. 2014-06-01 22:55:11 +02:00
Sebastian Lackner
229eb9bba5 Update fd cache patches (use slightly slower interlocked commands, which should also work well on less usual processor architectures). 2014-05-31 22:10:09 +02:00
Sebastian Lackner
1800d1f853 Fixed possible race-condition in FD cache patches. 2014-05-31 18:38:40 +02:00
Sebastian Lackner
24d682fd91 Add patch to fix exception test failures on x86_64. 2014-05-31 14:12:22 +02:00
Sebastian Lackner
979900f060 Add lockfree implementation for get_cached_fd to ntdll. 2014-05-31 04:02:40 +02:00
Michael MĂĽller
d094743650 Fix patchlist. 2014-05-31 03:46:10 +02:00
Michael MĂĽller
2c9d2d8f64 Merge branch 'master' of https://github.com/compholio/wine-compholio-daily 2014-05-31 03:42:29 +02:00
Michael MĂĽller
457c0bf7e1 Add patches to fix current Unity3D webplayer. 2014-05-31 03:42:21 +02:00
Sebastian Lackner
d2209c6ee0 Add additional patch for --check-libs commandline option. 2014-05-30 01:26:10 +02:00
Sebastian Lackner
84997e39ab Separate patchlist into patch-list.patch (containing the autogenerated list) and 00-Commandline for the commandline option changes. 2014-05-30 01:04:27 +02:00
Torsten Kurbad
ec9af72c77 Replaced Liberation Sans 2.01 bei 1.07.3 2014-05-27 11:56:11 +02:00
Michael MĂĽller
01be545e92 Replace strict draw ordering patch with a different approach. 2014-05-27 03:03:03 +02:00
Erich E. Hoover
bfb7d535af Updated SIO_ADDRESS_LIST_CHANGE patches. 2014-05-16 13:32:52 -06:00
270 changed files with 1525528 additions and 224293 deletions

5
.gitignore vendored Normal file
View File

@@ -0,0 +1,5 @@
debian/tools/wine
.depcache
.srccache
*.ok
*.pyc

152
DEVELOPER.md Normal file
View File

@@ -0,0 +1,152 @@
Developers and maintainers guide
================================
This document will provide some information targeted at developers, who
either want to build/package Wine-Compholio for their distribution, but also
for developers who would like to contribute their patches to Wine-Compholio,
to get them included in future releases.
Compiling Wine-Compholio
========================
**Warning:** Please note that starting with Wine-Compholio 1.7.23 it is
deprecated to manually apply patches without using the Makefile. To avoid
typical pitfalls for package maintainers (like trying to use the patch
commandline utility for binary patches or not updating the patchlist) it is
highly recommended to use the Makefile in order to apply all patches. This
ensures that the the correct patch utility is used, that the list of patches
is updated appropriately, and so on. Please note that it is still possible
to exclude patches if desired, take a look at the end of this document for
more details.
Instructions
------------
The following instructions (based on the [Gentoo
Wiki](https://wiki.gentoo.org/wiki/Netflix/Pipelight#Compiling_manually))
will give a short overview how to compile Wine-Compholio, but of course not
explain all details. Make sure to install all required Wine dependencies
before proceeding.
As the first step please grab the latest Wine source:
```bash
wget http://prdownloads.sourceforge.net/wine/wine-1.7.26.tar.bz2
wget https://github.com/compholio/wine-compholio-daily/archive/v1.7.26.tar.gz
```
Extract the archives:
```bash
tar xvjf wine-1*.tar.bz2
cd wine-1*
tar xvzf ../v1.7.26.tar.gz --strip-components 1
```
And apply the patches:
```bash
make -C ./patches DESTDIR=$(pwd) install
```
Afterwards run configure (you can also specify a prefix if you don't want to install
Wine-Compholio system-wide):
```bash
./configure --with-xattr
```
Before you continue you should make sure that `./configure` doesn't show any
warnings (look at the end of the output). If there are any warnings, this
most likely means that you're missing some important header files. Install
them and repeat the `./configure` step until all problems are fixed.
Afterwards compile it (and grab a cup of coffee):
```bash
make
```
And install it (you only need sudo for a system-wide installation):
```bash
sudo make install
```
Excluding patches
-----------------
It is also possible to apply only a subset of the patches, for example if
you're compiling for a distribution where PulseAudio is not installed, or
if you just don't like a specific patchset. Please note that some patchsets
depend on each other, and requesting an impossible situation might result
in a failure to apply all patches.
Lets assume you want to exclude the patchset in directory `DIRNAME`, then
just invoke the Makefile like this:
```bash
make -C ./patches DESTDIR=$(pwd) install -W DIRNAME.ok
```
Using the same method its also possible to exclude multiple patchsets. If you
want to exclude a very large number of patches, it is easier to do specify
a list of patches which should be included instead. To apply for example
only the patchsets in directory `DIRNAME1` and `DIRNAME2`, you can use:
```bash
make -C ./patches DESTDIR=$(pwd) PATCHLIST="DIRNAME1.ok DIRNAME2.ok" install
```
Contributing to Wine-Compholio
==============================
Please note that Wine-Compholio is not just an arbitrary collection of Wine
patches. We see Wine-Compholio as a **testing version** in preparation for
patches to be submitted to upstream Wine. This implies that all patches should
at least have a minimum standard quality. Unlike some other PPAs/AURs which
provide heavily patched Wine versions, we will not accept hacks for very
specific games. Such hacks often break compatibility with other applications,
which means we probably don't want to include them, sorry.
If you think your patches are indeed a proper implementation, then feel free
to contribute them. Please note that to allow possible later inclusion
into upstream Wine, we will require you to pay attention to the same
[rules](http://wiki.winehq.org/SubmittingPatches). Please be patient and
give us up to about a week to review them - we're a very small team, so
it might take some time, and we want to make sure that the implementation
doesn't contain any critical errors, which could cause regressions. If you
want to contribute huge sets of patches, we would really like you to *stay
contributing* in the future. Even if we accepted your patches, this doesn't
necessary mean we understand all of it, and if you cannot or don't want
to maintain them (especially in case of errors, or difficult rebasing),
we will probably end up removing them again.
You can also suggest adding patches written by other people - in this case
your request should include who wrote the patch. Anonymous patches which
don't include the author information aren't welcome, similar to the rules
for upstream Wine.
Attribution guidelines
----------------------
The Wine "Compholio" Edition repository expects all patches to conform to
Wine's (undocumented) attribution guidelines. There are a variety of ways
to attribute patches, but they all involve an additional line to the patch
subject:
```
commit 0000000000000000000000000000000000000000
Author: Example Author <example.email@email-provider.com>
Date: Sat Jul 26 12:31:50 2014 -0600
Name of patch.
TYPE-OF-ATTRIBUTION.
```
TYPE-OF-ATTRIBUTION can be any of the following:
`Found/Spotted by FINDER.`: The resolved issue was found by FINDER, they
should receive appropriate credit for finding the problem - even though
their patch was not used in the final implementation.
`Based on patch by AUTHOR.`: The patch created by AUTHOR was a starting point
for the patch, some modifications were made to their patch - but they should
receive credit since the original implementation was theirs.

1405
LICENSE.md Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

108
README.md
View File

@@ -1,18 +1,98 @@
wine-compholio-daily
====================
What is Wine-Compholio?
=======================
Daily updates for the Wine "Compholio" Edition.
**Warning: Do not report bugs at bugs.winehq.org when using this version!
Please take a look at our
[Wiki](https://github.com/compholio/wine-compholio/wiki/Reporting-bugs)
for more information about how to report bugs.**
Current patches include:
* Support for interface change notifications (http://bugs.winehq.org/show_bug.cgi?id=32328)
* Support for stored file ACLs (http://bugs.winehq.org/show_bug.cgi?id=31858)
* Support for inherited file ACLs (http://bugs.winehq.org/show_bug.cgi?id=34406)
* Support for Junction Points (http://bugs.winehq.org/show_bug.cgi?id=12401)
* Support for TransmitFile (http://bugs.winehq.org/show_bug.cgi?id=5048)
The **Wine "Compholio" Edition** is a special build of the popular Wine
software that includes both patches written by our team and selected patches
by third party developers that we consider good enough for inclusion. This can
be seen as a testing version in preparation for patches to be submitted to
upstream Wine - don't be surprised if you encounter additional bugs, which are
not present in regular wine, and always report such issues to us (via github!),
so we can improve our fixes even further. Thanks!
How to install and use Wine-Compholio
=====================================
Ready-to-use packages for Wine-Compholio are available for a variety
of different Linux distributions directly for download. Just follow the
instructions available on the
[Wiki](https://github.com/compholio/wine-compholio/wiki/Installation).
When using Wine-Compholio there are a few differences compared to regular
Wine. The main difference is that it is not sufficient to type `wine` to
run it, but instead you will have to type `/opt/wine-compholio/bin/wine`.
Besides that there are also some other differences, for example additional
configuration options to tweak performance, which are not available in regular
Wine. All those differences are also documented on the
[Wiki](https://github.com/compholio/wine-compholio/wiki/Usage).
Included bugfixes and improvements
==================================
**Bugs fixed in Wine-Compholio 1.7.26 [58]:**
* ATL IOCS data should not be stored in GWLP_USERDATA ([Wine Bug #21767](http://bugs.winehq.org/show_bug.cgi?id=21767 "Multiple applications storing AxHostWindow instance pointer in GWLP_USERDATA crash on startup (Wine uses GWLP_USERDATA to store IOCS)(JLC's Internet TV, Anime Studio Pro 10.x)"))
* Add Dynamic DST exceptions for Israel Standard Time ([Wine Bug #36374](http://bugs.winehq.org/show_bug.cgi?id=36374 "Israel timezone handled incorrectly"))
* Add default ACLs for user shell folders
* Allow special characters in pipe names ([Wine Bug #28995](http://bugs.winehq.org/show_bug.cgi?id=28995 "Unable to use named pipes with \">\" character in the name"))
* Audio stuttering and performance drops in multiple applications ([Wine Bug #30639](http://bugs.winehq.org/show_bug.cgi?id=30639 "Audio stuttering and performance drops in Star Wolves 3"))
* Ensure NtProtectVirtualMemory and NtCreateSection are on separate pages ([Wine Bug #33162](http://bugs.winehq.org/show_bug.cgi?id=33162 "Acrobat Reader 11 crashes on start (native API application virtualization, NtProtectVirtualMemory removes execute page protection on its own code)"))
* Fix comparison of punctuation characters in lstrcmp ([Wine Bug #10767](http://bugs.winehq.org/show_bug.cgi?id=10767 "lstrcmp and others do not compare punctuation characters correctly"))
* Fix for ConnectNamedPort return value in overlapped mode ([Wine Bug #16550](http://bugs.winehq.org/show_bug.cgi?id=16550 "ConnectNamedPort should never return OK in overlapped mode (affects chromium ui_tests.exe)"))
* Fix for programs leaking wndproc slots ([Wine Bug #32451](http://bugs.winehq.org/show_bug.cgi?id=32451 "Multiple GOG.com installer bundles show a broken/unresponsive dialog window during installation (installer process running out of wndproc slots)"))
* Fix issue with invisible dragimages in ImageList ([Wine Bug #36761](http://bugs.winehq.org/show_bug.cgi?id=36761 "Imagelist invisible dragimage"))
* Fix unintentional leaks with ntdll internals
* Fix unitialized cch value when calling GetMenuItemInfo with a null pointer ([Wine Bug #34642](http://bugs.winehq.org/show_bug.cgi?id=34642 "Adobe Premiere Pro 2.0 exits silently on startup ('GetMenuItemInfo' must zero out 'cch' if mask doesn't specify 'MIIM_TYPE')"))
* Games For Windows Live 1.x expects a valid linker version in the PE header ([Wine Bug #28768](http://bugs.winehq.org/show_bug.cgi?id=28768 "Multiple GFWL (Games For Windows Live) 1.x games crash on startup (Kane & Lynch: Dead Men)"))
* GetSecurityInfo returns NULL DACL for process object ([Wine Bug #15980](http://bugs.winehq.org/show_bug.cgi?id=15980 "Rhapsody 2 crashes on startup (GetSecurityInfo returns NULL DACL for process object)"))
* Implement a Microsoft Yahei replacement font ([Wine Bug #13829](http://bugs.winehq.org/show_bug.cgi?id=13829 "Wine does not have CJK fonts"))
* Implement an Arial replacement font ([Wine Bug #32323](http://bugs.winehq.org/show_bug.cgi?id=32323 "Netflix (Silverlight 4.x) and several .NET Framework 3.x/4.0 WPF apps require either Arial or Verdana to be installed"))
* Improvement for heap allocation performance
* Lockfree algorithm for filedescriptor cache (improves file access speed)
* Make it possible to change media center / tablet pc status ([Wine Bug #18732](http://bugs.winehq.org/show_bug.cgi?id=18732 "Microsoft Experience Pack for Tablet PC 1 refuses to install"))
* Need for Speed 3 installer requires devices in HKEY_DYN_DATA ([Wine Bug #7115](http://bugs.winehq.org/show_bug.cgi?id=7115 "Need for Speed III installer fails in Win9X mode, reporting \"Could not get 'HardWareKey' value\" (active PnP device keys in 'HKEY_DYN_DATA\\\\Config Manager\\\\Enum' missing)"))
* Other Pipelight-specific enhancements
* Prevent window managers from grouping all wine programs together ([Wine Bug #32699](http://bugs.winehq.org/show_bug.cgi?id=32699 "Add StartupWMClass to .desktop files."))
* Reduced SetTimer minimum value from 10 ms to 5 ms (improves Silverlight framerates)
* Return an error when trying to open a terminated process ([Wine Bug #37087](http://bugs.winehq.org/show_bug.cgi?id=37087 "Gothic 2 english demo fails with 'Conflict: a hook process was found. Please deactivate all Antivirus and Anti-Trojan programs and debuggers.'"))
* Return correct IMediaSeeking stream positions in quartz ([Wine Bug #23174](http://bugs.winehq.org/show_bug.cgi?id=23174 "Fallout 3: Diologue and Video/sound issues"))
* SO_CONNECT_TIME returns the appropriate time
* Set ldr.EntryPoint for main executable ([Wine Bug #33034](http://bugs.winehq.org/show_bug.cgi?id=33034 "Many GFWL (Games For Windows Live) 1.x/2.x/3.x games crash or exit silently on startup (DiRT 2/3, GTA IV Steam)"))
* Support for AllocateAndGetTcpExTableFromStack ([Wine Bug #34372](http://bugs.winehq.org/show_bug.cgi?id=34372 "Add missing function AllocateAndGetTcpExTableFromStack() to iphlpapi.dll"))
* Support for BCryptGetFipsAlgorithmMode ([Wine Bug #32194](http://bugs.winehq.org/show_bug.cgi?id=32194 "Multiple games and applications need bcrypt.dll.BCryptGetFipsAlgorithmMode (Chess Position Trainer, Terraria, .NET System.Security.Cryptography)"))
* Support for DOS hidden/system file attributes ([Wine Bug #9158](http://bugs.winehq.org/show_bug.cgi?id=9158 "Multiple Microsoft development tools online/web installers fail to skip \"$shtdwn$.req\" with FILE_ATTRIBUTE_HIDDEN (Visual Studio Express Editions, .NET Framework 3.0)"))
* Support for Dynamic DST (daylight saving time) information in registry
* Support for GetFinalPathNameByHandle ([Wine Bug #36073](http://bugs.winehq.org/show_bug.cgi?id=36073 "OneDrive crashes on unimplemented function KERNEL32.dll.GetFinalPathNameByHandleW"))
* Support for GetSystemTimes ([Wine Bug #19813](http://bugs.winehq.org/show_bug.cgi?id=19813 "Voddler needs GetSystemTimes to run"))
* Support for GetVolumePathName
* Implement an Arial replacement font (http://bugs.winehq.org/show_bug.cgi?id=32323)
* Workaround for TransactNamedPipe not being supported (http://bugs.winehq.org/show_bug.cgi?id=17273)
* XEMBED support for embedding Wine windows inside Linux applications
* Reduced SetTimer minimum value from 15 ms to 5 ms (improves Silverlight framerates)
* Support for ITextDocument_fnRange function ([Wine Bug #12458](http://bugs.winehq.org/show_bug.cgi?id=12458 "Multiple apps fail due to RichEdit ITextDocument_fnRange stub (MySQL Workbench, BlitzMaxDemo137)"))
* Support for ITextRange, ITextFont and ITextPara ([Wine Bug #18303](http://bugs.winehq.org/show_bug.cgi?id=18303 "Adobe Acrobat Pro 7: Crashes when selecting the \"edit\" menu while having a file open."))
* Support for Junction Points ([Wine Bug #12401](http://bugs.winehq.org/show_bug.cgi?id=12401 "Support junction points, i.e. DeviceIoCtl(FSCTL_SET_REPARSE_POINT/FSCTL_GET_REPARSE_POINT)"))
* Support for KF_FLAG_DEFAULT_PATH in SHGetKnownFolderPath ([Wine Bug #30385](http://bugs.winehq.org/show_bug.cgi?id=30385 "Windows Live Essentials 2011 web installer fails to download packages in background (shell32.SHGetKnownFolderPath missing support for KF_FLAG_DEFAULT_PATH)"))
* Support for LoadIconMetric ([Wine Bug #35375](http://bugs.winehq.org/show_bug.cgi?id=35375 "Multiple applications need Vista+ API COMCTL32.dll.380 a.k.a. 'LoadIconMetric' (Solidworks 2013 systray monitor, Microsoft One/SkyDrive)"))
* Support for NtSetInformationFile class FileDispositionInformation ([Wine Bug #30397](http://bugs.winehq.org/show_bug.cgi?id=30397 "Multiple applications need support for NtSetInformationFile class FileDispositionInformation (Cygwin installer, Stylizer 5.x Visual CSS editor, Spoon Studio 2011 (ex Xenocode) application sandboxing scheme)"))
* Support for PulseAudio backend for audio ([Wine Bug #10495](http://bugs.winehq.org/show_bug.cgi?id=10495 "Wine should support PulseAudio"))
* Support for SHCreateSessionKey ([Wine Bug #35630](http://bugs.winehq.org/show_bug.cgi?id=35630 "SHCreateSessionKey is unimplemented"))
* Support for TOOLTIPS_GetTipText edge cases ([Wine Bug #30648](http://bugs.winehq.org/show_bug.cgi?id=30648 "SEGA Genesis / Mega Drive Classic Collection (Steam) crashes on startup"))
* Support for TransmitFile ([Wine Bug #5048](http://bugs.winehq.org/show_bug.cgi?id=5048 "Multiple applications and games need support for ws2_32 SIO_GET_EXTENSION_FUNCTION_POINTER TransmitFile (WSAID_TRANSMITFILE)"))
* Support for WTSEnumerateProcessesW ([Wine Bug #29903](http://bugs.winehq.org/show_bug.cgi?id=29903 "Some Microsoft debuggers fail to enumerate processes due to wtsapi32.WTSEnumerateProcessesW() being a stub (Microsoft Visual Studio 2005, DbgCLR from .NET 2.0 SDK)"))
* Support for [Get|Set]SystemFileCacheSize ([Wine Bug #35886](http://bugs.winehq.org/show_bug.cgi?id=35886 "Lotus Notes 9 'cacheset.exe' utility needs KERNEL32.dll.SetSystemFileCacheSize"))
* Support for extra large and jumbo icon lists in shell32 ([Wine Bug #24721](http://bugs.winehq.org/show_bug.cgi?id=24721 "Explorer++ crashes when choosing to view large icons or extra large icons"))
* Support for inherited file ACLs ([Wine Bug #34406](http://bugs.winehq.org/show_bug.cgi?id=34406 "Finale Notepad 2012 doesn't copy/create user files on program start"))
* Support for interface change notifications ([Wine Bug #32328](http://bugs.winehq.org/show_bug.cgi?id=32328 "Many .NET and Silverlight applications require SIO_ADDRESS_LIST_CHANGE for interface change notifications"))
* Support for process ACLs ([Wine Bug #22006](http://bugs.winehq.org/show_bug.cgi?id=22006 "OpenProcess does not enforce ACL"))
* Support for setcap on wine-preloader ([Wine Bug #26256](http://bugs.winehq.org/show_bug.cgi?id=26256 "wine64-preloader can't handle setcap cap_net_raw+epi"))
* Support for stored file ACLs ([Wine Bug #31858](http://bugs.winehq.org/show_bug.cgi?id=31858 "Netflix on Firefox fails with Internet Connection Problem when loading bar is at 99%"))
* Support for ws2_32.inet_pton ([Wine Bug #36713](http://bugs.winehq.org/show_bug.cgi?id=36713 "Watch_Dogs requires ws2_32.inet_pton"))
* Use assembly wrapper to run TLS callbacks ([Wine Bug #21917](http://bugs.winehq.org/show_bug.cgi?id=21917 "SC2 'LazyLaunch' v2.0 fails with 'Exception frame is not in stack limits => unable to dispatch exception.' (TLS callbacks can taint EBP, needs assembly wrapper)"))
* Use manual relay for RunDLL_CallEntry16 in shell32 ([Wine Bug #23033](http://bugs.winehq.org/show_bug.cgi?id=23033 "Tages Protection v5.x: games report \"DLL not found shell.dll16.dll\" (Runaway 2: The Dream Of The Turtle, ...)"))
* Workaround for shlwapi URLs with relative paths
* Support for PulseAudio backend for audio
* XEMBED support for embedding Wine windows inside Linux applications
* nVidia driver for high-end laptop cards does not list all supported resolutions

133
debian/changelog vendored
View File

@@ -1,3 +1,136 @@
wine-compholio (1.7.26) unstable; urgency=low
* Added new make targets 'series' and 'install-git'.
* Some improvements in the patch system scripts.
* Fixed issues in the winepulse configure script.
* Fixed some issues in patches for Inherited ACLs.
* Fixed some issues in patches for backwards compatibility with old ACL format.
* Added patch to fix unintentional leaks with ntdll internals.
* Added patch to add support for DOS hidden/system file attributes.
* Added patch to use dynamic linking for libpcap.
* Added patch to fix issues when using setcap on wine executable.
* Added patch to improve heap allocation performance by using more freelists.
* Added patch to fix detection of ncurses on Archlinux (avoids ugly workarounds at build time).
* Added patch to fix detection of gnutls on Ubuntu 14.10.
* Added patch to use assembly wrapper for TLS callbacks.
* Added patch to fix uninitialized cch struct member in GetMenuItemInfo.
* Removed patch to fix issue with msi/ITERATE_MoveFiles (accepted upstream).
* Removed patch to fix detection of ncurses on Archlinux (accepted upstream).
-- Sebastian Lackner <sebastian@fds-team.de> Sun, 07 Sep 2014 23:50:25 +0200
wine-compholio (1.7.25) unstable; urgency=low
* Improve generation of README.md on patch update.
* Updated patches for riched20 IText* Interface.
* Fixed some issues in the patches for TransmitFile.
* Fixed some issues in the patches for CreateProcess ACLs.
* Fixed issue with gitapply.sh script on Gentoo systems.
* Added patch with stub for DwmInvalidateIconicBitmaps.
* Added Courier Prime (OFLv1.1) as a Courier New replacement.
* Added patch to implement DOS hidden/system file attributes.
* Added patch to better detect broken nVidia RandR 1.2 support.
* Added patch to set linker version in PE header.
* Added patch to move NtProtectVirtualMemory and NtCreateSection to separate pages.
* Added patch to fix issues with drag image in ImageLists.
* Added patch with stub for BCryptGetFipsAlgorithmMode.
* Added patch to fix issues with OpenProcess on terminated processes.
* Added patch to fix issues with msi/ITERATE_MoveFiles.
* Added patch to avoid grouping all Wine windows together.
* Added patch to implement KF_FLAG_DEFAULT_PATH for SHGetKnownFolderPath.
* Added patch to implement GetFinalPathNameByHandle.
* Removed patch to update gl_drawable for embedded windows (deprecated).
* Removed patch to return empty D3D hardware flags for RGB device enumeration (accepted upstream).
* Removed patch with stub for DwmInvalidateIconicBitmaps (accepted upstream).
* Removed patch for SetNamedPipeHandleState implementation (accepted upstream).
-- Erich E. Hoover <erich.e.hoover@gmail.com> Sun, 24 Aug 2014 11:09:58 -0600
wine-compholio (1.7.24) unstable; urgency=low
* Various further improvements to the patch system.
* Added patch to implement inet_pton.
* Added patch to implement GetSystemTimes.
* Added patch to implement SHCreateSessionKey.
* Added patch to create directory available on Vista and later.
* Added patch to fix edge cases in TOOLTIPS_GetTipText.
* Added patch to allow special characters in pipe names.
* Added patch with stubs for [Get|Set]SystemFileCacheSize.
* Added patch to implement AllocateAndGetTcpExTableFromStack.
* Added patch to support setting file disposition information.
* Added patch to fix ConnectNamedPort return value in overlapped mode.
* Added patch to store IOCS data in a property instead of GWLP_USERDATA.
* Added patch to return empty D3D hardware flags for HEL device enumeration.
* Added patch to return the appropriate connection time with SO_CONNECT_TIME.
* Added patch to support extra large and jumbo icons.
* Added patch to allow setting tablet / media center status via registry.
* Added patch to use manual redirection for RunDLL_CallEntry16.
* Added patch to set ldr.EntryPoint for main executable.
* Added patch to fix invalid memory access in windowscodecs/PropertyBag.
* Added patch to use a linear resampler when there a large number of dsound mixing buffers.
* Added patch to fix comparison of punctuation characters in lstrcmp.
* Added patch to workaround programs leaking wndproc splots.
* Added patch to implement ITextRange, ITextFont and ITextPara.
* Removed patch to create Vista directories (accepted upstream).
* Removed strmbase/quartz locking fix patches (accepted upstream).
* Removed windowscodecs/PropertyBag patch (accepted upstream).
-- Erich E. Hoover <erich.e.hoover@gmail.com> Fri, 08 Aug 2014 22:06:07 -0600
wine-compholio (1.7.23) unstable; urgency=low
* Rewrite of patch system to simplify maintaining large patchsets.
* Fix failing Junction Point test.
* Fix possible race conditions in strmbase/quartz.
* Fix race condition between EndOfStream and Pause.
* Fix issues with Israel Standard Time timezone.
* Add support for Dynamic DST (daylight saving time) information.
* Add some generic hardware in HKEY_DYN_DATA\Config Manager\Enum.
* Return correct IMediaSeeking stream positions in quartz.
* Make sure LICENSE files are included in the Debian packages.
* Downgraded Arial replacement font to Liberation Sans v1.07.3.
* Remove relative Junction Point linking for now (breaks tests).
* Added WenQuanYi Micro Hei (GPLv3) as a Microsoft Yahei replacement.
-- Erich E. Hoover <erich.e.hoover@gmail.com> Fri, 25 Jul 2014 21:12:42 -0600
wine-compholio (1.7.22) unstable; urgency=low
* Implement passing ACLs to CreateProcess.
* Removed several patches (accepted upstream).
* Added NT4 support to the process ACL tests.
* Implement RegSetKeySecurity on top of NtSetSecurityObject.
* Updated RegSetKeySecurity patch to work with special root keys.
* Add patch for wtsapi32.WTSEnumerateProcessesW function.
* Fix incorrect scaling for DECIMAL values in VarDecAdd.
* Updated main extended attributes patch to include BSD support.
* Return NULL-terminated list of arguments in CommandLineToArgvW.
* Updated main extended attributes patch to include additional data checks.
-- Erich E. Hoover <erich.e.hoover@gmail.com> Fri, 11 Jul 2014 13:00:03 -0600
wine-compholio (1.7.21) unstable; urgency=low
* Remove several patches (accepted upstream).
-- Sebastian Lackner <sebastian@fds-team.de> Fri, 27 Jun 2014 23:08:48 -0600
wine-compholio (1.7.20) unstable; urgency=low
* Remove several patches (accepted upstream).
* Fix recommendation for odbc and add libgsm1.
* Disabled gstreamer (broken with glib >= 2.32.0).
* Updated scripts to be compatible with BSD systems.
* Update winepulse patches to latest revision (extracted from 1.7.19).
* Force autoreconf even when timestamp seems to indicate that it is not necessary.
* Added patches for default security descriptor ownership and DACLs for processes.
* Added a patch to avoid a race-condition when unloading modules while a hook is active.
* Add patch to fix issues with Obsidium copy protection.
-- Erich E. Hoover <erich.e.hoover@gmail.com> Sat, 14 Jun 2014 18:15:12 +0200
wine-compholio (1.7.19-1) unstable; urgency=low
* Added a patch to fix return value for FSCTL_PIPE_WAIT (required for Unity3D).
* Added a patch to stub TokenAppContainerSid in NtQueryInformationToken (required for Unity3D).
* Added a patch to optimize the file descriptor cache by using lockfree algorithms.
* Add additional checks in XATTR patch to ensure wineserver doesn't crash if data is corrupted.
* Add support for extended attributes on FreeBSD systems.
* Added a patch to fix ntdll/exception test failures on x86_64.
* Allow to change 'strict draw ordering' at runtime.
* Add ability to test if all dynamic libraries are installed with "wine --check-libs".
* Added a patch to query if direct rendering is enabled via GLX extension.
-- Sebastian Lackner <sebastian@fds-team.de> Mon, 02 Jun 2014 23:50:23 +0200
wine-compholio (1.7.19) unstable; urgency=low
* Updated SIO_ADDRESS_LIST_CHANGE patches.
-- Erich E. Hoover <erich.e.hoover@gmail.com> Tue, 06 May 2014 15:42:32 -0600
wine-compholio (1.7.18-1) unstable; urgency=low
* Fix some issues on BSD systems.
* Add additional patches to silence a few FIXMEs.

33
debian/control vendored
View File

@@ -1,7 +1,7 @@
Source: wine-compholio
Section: otherosfs
Priority: optional
Maintainer: Erich E. Hoover <ehoover@mines.edu>
Maintainer: Erich E. Hoover <erich.e.hoover@gmail.com>
XSBC-Original-Maintainer: Scott Ritchie <scottritchie@ubuntu.com>
Build-Depends: autotools-dev,
autoconf,
@@ -32,8 +32,6 @@ Build-Depends: autotools-dev,
libgnutls-dev,
libgphoto2-dev | libgphoto2-6-dev | libgphoto2-2-dev (>= 2.4.6),
libgsm1-dev,
libgstreamer-plugins-base0.10-dev,
libgstreamer0.10-dev,
libice-dev,
libjpeg-dev,
liblcms2-dev | ubuntu-desktop (<< 1.267),
@@ -41,6 +39,7 @@ Build-Depends: autotools-dev,
libmpg123-dev,
libncurses5-dev | libncurses-dev,
libopenal-dev (>= 1:1.12) | ubuntu-desktop (<< 1.207),
libpcap-dev,
libpng12-dev,
libpulse-dev,
libsane-dev,
@@ -87,6 +86,7 @@ Recommends: libcapi20-3,
libjpeg8,
libopenal1 (>= 1:1.12),
libosmesa6,
libpcap0.8,
libpng12-0,
libpulse0,
libsane,
@@ -102,17 +102,14 @@ Recommends: libcapi20-3,
libxslt1.1,
libxt6,
libxxf86vm1,
unixodbc
libodbc1,
libgsm1
Section: otherosfs
Priority: optional
Replaces: wine-compholio (<< 1.7.15-1~)
Breaks: wine-compholio (<< 1.7.15-1~)
Description: The Compholio Edition is a special build of the popular Wine software
with patches representing my current staging tree for Wine.
Currently these patches fix:
* Netflix on Firefox hangs with loading bar at 100% (Bug 31993).
* Netflix on Firefox fails with Internet Connection Problem when loading bar is
at 99% (Bug 31858).
.
Microsoft Windows Compatibility Layer (Binary Emulator and Library)
Wine is a compatibility layer for running Windows applications on Linux.
@@ -144,6 +141,7 @@ Recommends: libcapi20-3,
libjpeg8,
libopenal1 (>= 1:1.12),
libosmesa6,
libpcap0.8,
libpng12-0,
libpulse0,
libsane,
@@ -159,17 +157,14 @@ Recommends: libcapi20-3,
libxslt1.1,
libxt6,
libxxf86vm1,
unixodbc
libodbc1,
libgsm1
Section: otherosfs
Priority: optional
Replaces: wine-compholio (<< 1.7.15-1~)
Breaks: wine-compholio (<< 1.7.15-1~)
Description: The Compholio Edition is a special build of the popular Wine software
with patches representing my current staging tree for Wine.
Currently these patches fix:
* Netflix on Firefox hangs with loading bar at 100% (Bug 31993).
* Netflix on Firefox fails with Internet Connection Problem when loading bar is
at 99% (Bug 31858).
.
Microsoft Windows Compatibility Layer (Binary Emulator and Library)
Wine is a compatibility layer for running Windows applications on Linux.
@@ -194,10 +189,6 @@ Section: otherosfs
Priority: optional
Description: The Compholio Edition is a special build of the popular Wine software
with patches representing my current staging tree for Wine.
Currently these patches fix:
* Netflix on Firefox hangs with loading bar at 100% (Bug 31993).
* Netflix on Firefox fails with Internet Connection Problem when loading bar is
at 99% (Bug 31858).
.
Microsoft Windows Compatibility Layer (Binary Emulator and Library)
Wine is a compatibility layer for running Windows applications on Linux.
@@ -226,10 +217,6 @@ Replaces: wine-compholio (<< 1.7.15-1~)
Breaks: wine-compholio (<< 1.7.15-1~)
Description: The Compholio Edition is a special build of the popular Wine software
with patches representing my current staging tree for Wine.
Currently these patches fix:
* Netflix on Firefox hangs with loading bar at 100% (Bug 31993).
* Netflix on Firefox fails with Internet Connection Problem when loading bar is
at 99% (Bug 31858).
.
Microsoft Windows Compatibility Layer (Binary Emulator and Library)
Wine is a compatibility layer for running Windows applications on Linux.
@@ -253,10 +240,6 @@ Replaces: wine-compholio (<< 1.7.15-1~)
Breaks: wine-compholio (<< 1.7.15-1~)
Description: The Compholio Edition is a special build of the popular Wine software
with patches representing my current staging tree for Wine.
Currently these patches fix:
* Netflix on Firefox hangs with loading bar at 100% (Bug 31993).
* Netflix on Firefox fails with Internet Connection Problem when loading bar is
at 99% (Bug 31858).
.
Microsoft Windows Compatibility Layer (Binary Emulator and Library)
Wine is a compatibility layer for running Windows applications on Linux.

30
debian/rules vendored
View File

@@ -10,34 +10,60 @@ endif
%:
dh $@ --parallel
override_dh_auto_configure:
# Apply our patches, reconfigure, and update the wineserver protocol request data
make -C "$(CURDIR)/patches/" DESTDIR="$(CURDIR)" install
# Run configure
ifeq ($(DEB_BUILD_ARCH), amd64)
./configure --prefix=/opt/wine-compholio --libdir=\$${prefix}/lib64 --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --enable-win64 --with-xattr $(CONFFLAGS)
./configure --prefix=/opt/wine-compholio \
--libdir=\$${prefix}/lib64 \
--mandir=\$${prefix}/share/man \
--infodir=\$${prefix}/share/info \
--enable-win64 \
--without-gstreamer \
--with-xattr \
$(CONFFLAGS)
else
./configure --prefix=/opt/wine-compholio --libdir=\$${prefix}/lib --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --with-xattr $(CONFFLAGS)
./configure --prefix=/opt/wine-compholio \
--libdir=\$${prefix}/lib \
--mandir=\$${prefix}/share/man \
--infodir=\$${prefix}/share/info \
--without-gstreamer \
--with-xattr \
$(CONFFLAGS)
endif
override_dh_auto_test:
# Wine's test suite does not pass on build daemons, skip it for now
override_dh_installdocs:
# Create copies of license files
cp "$(CURDIR)/LICENSE" "$(CURDIR)/LICENSE.wine"
cp "$(CURDIR)/LICENSE.md" "$(CURDIR)/LICENSE.wine-compholio"
dh_installdocs --link-doc=wine-compholio
override_dh_install:
dh_install --fail-missing
# These files will end up in multiple packages otherwise
rm -f debian/wine-compholio/opt/wine-compholio/bin/wine
rm -f debian/wine-compholio/opt/wine-compholio/bin/wine-preloader
rm -f debian/wine-compholio/opt/wine-compholio/bin/wine64
rm -f debian/wine-compholio/opt/wine-compholio/bin/wine64-preloader
override_dh_strip:
dh_strip -Xwine-pthread -Xwine-kthread --dbg-package=wine-compholio-dbg
override_dh_shlibdeps:
ifeq ($(DEB_HOST_ARCH),amd64)
dh_shlibdeps -l $(CURDIR)/debian/tmp/opt/wine-compholio/lib64/

152
debian/tools/DEVELOPER.md.in vendored Normal file
View File

@@ -0,0 +1,152 @@
Developers and maintainers guide
================================
This document will provide some information targeted at developers, who
either want to build/package Wine-Compholio for their distribution, but also
for developers who would like to contribute their patches to Wine-Compholio,
to get them included in future releases.
Compiling Wine-Compholio
========================
**Warning:** Please note that starting with Wine-Compholio 1.7.23 it is
deprecated to manually apply patches without using the Makefile. To avoid
typical pitfalls for package maintainers (like trying to use the patch
commandline utility for binary patches or not updating the patchlist) it is
highly recommended to use the Makefile in order to apply all patches. This
ensures that the the correct patch utility is used, that the list of patches
is updated appropriately, and so on. Please note that it is still possible
to exclude patches if desired, take a look at the end of this document for
more details.
Instructions
------------
The following instructions (based on the [Gentoo
Wiki](https://wiki.gentoo.org/wiki/Netflix/Pipelight#Compiling_manually))
will give a short overview how to compile Wine-Compholio, but of course not
explain all details. Make sure to install all required Wine dependencies
before proceeding.
As the first step please grab the latest Wine source:
```bash
wget http://prdownloads.sourceforge.net/wine/wine-{version}.tar.bz2
wget https://github.com/compholio/wine-compholio-daily/archive/v{version}.tar.gz
```
Extract the archives:
```bash
tar xvjf wine-1*.tar.bz2
cd wine-1*
tar xvzf ../v{version}.tar.gz --strip-components 1
```
And apply the patches:
```bash
make -C ./patches DESTDIR=$(pwd) install
```
Afterwards run configure (you can also specify a prefix if you don't want to install
Wine-Compholio system-wide):
```bash
./configure --with-xattr
```
Before you continue you should make sure that `./configure` doesn't show any
warnings (look at the end of the output). If there are any warnings, this
most likely means that you're missing some important header files. Install
them and repeat the `./configure` step until all problems are fixed.
Afterwards compile it (and grab a cup of coffee):
```bash
make
```
And install it (you only need sudo for a system-wide installation):
```bash
sudo make install
```
Excluding patches
-----------------
It is also possible to apply only a subset of the patches, for example if
you're compiling for a distribution where PulseAudio is not installed, or
if you just don't like a specific patchset. Please note that some patchsets
depend on each other, and requesting an impossible situation might result
in a failure to apply all patches.
Lets assume you want to exclude the patchset in directory `DIRNAME`, then
just invoke the Makefile like this:
```bash
make -C ./patches DESTDIR=$(pwd) install -W DIRNAME.ok
```
Using the same method its also possible to exclude multiple patchsets. If you
want to exclude a very large number of patches, it is easier to do specify
a list of patches which should be included instead. To apply for example
only the patchsets in directory `DIRNAME1` and `DIRNAME2`, you can use:
```bash
make -C ./patches DESTDIR=$(pwd) PATCHLIST="DIRNAME1.ok DIRNAME2.ok" install
```
Contributing to Wine-Compholio
==============================
Please note that Wine-Compholio is not just an arbitrary collection of Wine
patches. We see Wine-Compholio as a **testing version** in preparation for
patches to be submitted to upstream Wine. This implies that all patches should
at least have a minimum standard quality. Unlike some other PPAs/AURs which
provide heavily patched Wine versions, we will not accept hacks for very
specific games. Such hacks often break compatibility with other applications,
which means we probably don't want to include them, sorry.
If you think your patches are indeed a proper implementation, then feel free
to contribute them. Please note that to allow possible later inclusion
into upstream Wine, we will require you to pay attention to the same
[rules](http://wiki.winehq.org/SubmittingPatches). Please be patient and
give us up to about a week to review them - we're a very small team, so
it might take some time, and we want to make sure that the implementation
doesn't contain any critical errors, which could cause regressions. If you
want to contribute huge sets of patches, we would really like you to *stay
contributing* in the future. Even if we accepted your patches, this doesn't
necessary mean we understand all of it, and if you cannot or don't want
to maintain them (especially in case of errors, or difficult rebasing),
we will probably end up removing them again.
You can also suggest adding patches written by other people - in this case
your request should include who wrote the patch. Anonymous patches which
don't include the author information aren't welcome, similar to the rules
for upstream Wine.
Attribution guidelines
----------------------
The Wine "Compholio" Edition repository expects all patches to conform to
Wine's (undocumented) attribution guidelines. There are a variety of ways
to attribute patches, but they all involve an additional line to the patch
subject:
```
commit 0000000000000000000000000000000000000000
Author: Example Author <example.email@email-provider.com>
Date: Sat Jul 26 12:31:50 2014 -0600
Name of patch.
TYPE-OF-ATTRIBUTION.
```
TYPE-OF-ATTRIBUTION can be any of the following:
`Found/Spotted by FINDER.`: The resolved issue was found by FINDER, they
should receive appropriate credit for finding the problem - even though
their patch was not used in the final implementation.
`Based on patch by AUTHOR.`: The patch created by AUTHOR was a starting point
for the patch, some modifications were made to their patch - but they should
receive credit since the original implementation was theirs.

70
debian/tools/Makefile.in vendored Normal file
View File

@@ -0,0 +1,70 @@
#
# This file is automatically generated, DO NOT EDIT!
#
.NOTPARALLEL:
CURDIR ?= ${{.CURDIR}}
PATCH := $(CURDIR)/../debian/tools/gitapply.sh
APPLY = (cd "$(DESTDIR)" && $(PATCH))
APPLY_FILE = @echo "Applying $(1)"; $(APPLY) < "$(CURDIR)/$(1)"
#
# This Makefile understands the following targets:
#
# install (default): apply patches to directory provided by DESTDIR
# install-git: as above, but use 'git am' to apply the patches
# series: create a 'series' file containing the patch order
# clean: delete autogenerated and temporary files
#
PATCHLIST := \
{patchlist}
.PHONY: install
install: $(PATCHLIST)
cat *.ok | sort | $(CURDIR)/../debian/tools/patchlist.sh | $(APPLY)
cd $(DESTDIR) && autoreconf -f
cd $(DESTDIR) && ./tools/make_requests
.PHONY: install-git
install-git: PATCH := git am
install-git: install
series: APPLY_FILE = @echo "$(1)" >> series
series: $(PATCHLIST)
@cat *.ok | sort | $(CURDIR)/../debian/tools/patchlist.sh > patchlist.diff
@echo "patchlist.diff" >> series
@( \
echo ""; \
echo "The 'series' file was created in current directory. Please note that"; \
echo "'patchlist.diff' is autogenerated based on your selection of patches and not"; \
echo "included in this repository - keep in mind to update it on every release."; \
echo ""; \
echo "Moreover, depending on which patches you have selected, you will have to run"; \
echo "'autoreconf -f' and/or './tools/make_requests' after applying them."; \
echo ""; \
binary=0; \
while IFS= read -r line; do \
if grep -q "^GIT binary patch" "$$line"; then \
binary=1; break; \
fi \
done < series; \
if [ "$$binary" -ne 0 ]; then \
echo "The following files contain binary patches and cannot be applied with the"; \
echo "regular 'patch' commandline tool:"; \
echo ""; \
while IFS= read -r line; do \
grep -q "^GIT binary patch" "$$line" && echo "$$line"; \
done < series; \
echo ""; \
echo "Please use 'git apply' or '../debian/tools/gitapply.sh' from this repository."; \
echo ""; \
fi \
)
.PHONY: clean
clean:
rm -f series patchlist.diff
rm -f *.ok

39
debian/tools/README.md.in vendored Normal file
View File

@@ -0,0 +1,39 @@
What is Wine-Compholio?
=======================
**Warning: Do not report bugs at bugs.winehq.org when using this version!
Please take a look at our
[Wiki](https://github.com/compholio/wine-compholio/wiki/Reporting-bugs)
for more information about how to report bugs.**
The **Wine "Compholio" Edition** is a special build of the popular Wine
software that includes both patches written by our team and selected patches
by third party developers that we consider good enough for inclusion. This can
be seen as a testing version in preparation for patches to be submitted to
upstream Wine - don't be surprised if you encounter additional bugs, which are
not present in regular wine, and always report such issues to us (via github!),
so we can improve our fixes even further. Thanks!
How to install and use Wine-Compholio
=====================================
Ready-to-use packages for Wine-Compholio are available for a variety
of different Linux distributions directly for download. Just follow the
instructions available on the
[Wiki](https://github.com/compholio/wine-compholio/wiki/Installation).
When using Wine-Compholio there are a few differences compared to regular
Wine. The main difference is that it is not sufficient to type `wine` to
run it, but instead you will have to type `/opt/wine-compholio/bin/wine`.
Besides that there are also some other differences, for example additional
configuration options to tweak performance, which are not available in regular
Wine. All those differences are also documented on the
[Wiki](https://github.com/compholio/wine-compholio/wiki/Usage).
Included bugfixes and improvements
==================================
{fixes}

View File

@@ -1,166 +0,0 @@
#!/bin/sh
PATCH_DATA="";
for FILE in patches/*/*.def; do
UUID=$(echo "${FILE}" | sed -e 's|^.*/||g' -e 's|\.def$||g');
REVISION=$(cat "${FILE}" | sed -n 's|Revision: \(.*\)|\1|p');
AUTHOR=$(cat "${FILE}" | sed -n 's|Author: \(.*\)|\1|p');
TITLE=$(cat "${FILE}" | sed -n 's|Title: \(.*\)|\1|p');
if [ "${AUTHOR}" = "" ] && [ "${TITLE}" = "" ]; then
continue;
fi
if [ "${PATCH_DATA}" != "" ]; then
PATCH_DATA="${PATCH_DATA}
";
fi
PATCH_DATA="${PATCH_DATA}+ { \"${UUID}:${REVISION}\", \"${AUTHOR}\", \"${TITLE}\" },";
done
PATCH_LINES=$(echo "${PATCH_DATA}" | wc -l);
PATCH_LINES=$((${PATCH_LINES}+20));
PATCH_DATA=$(echo "${PATCH_DATA}" | sed ':a;N;$!ba;s/\n/\\n/g');
cat <<EOF | sed -e "s|##PATCH_LINES##|${PATCH_LINES}|" \
-e "s|##PATCH_DATA##|${PATCH_DATA}|"
From: "FDS-Team" <webmaster@fds-team.de>
Subject: Autogenerated patch list.
---
diff --git a/dlls/ntdll/misc.c b/dlls/ntdll/misc.c
index 8bd4eb7..4b4c318 100644
--- a/dlls/ntdll/misc.c
+++ b/dlls/ntdll/misc.c
@@ -60,6 +60,14 @@ const char * CDECL NTDLL_wine_get_version(void)
}
/*********************************************************************
+ * wine_get_patches (NTDLL.@)
+ */
+const void * CDECL NTDLL_wine_get_patches(void)
+{
+ return wine_get_patches();
+}
+
+/*********************************************************************
* wine_get_build_id (NTDLL.@)
*/
const char * CDECL NTDLL_wine_get_build_id(void)
diff --git a/dlls/ntdll/ntdll.spec b/dlls/ntdll/ntdll.spec
index 70bf94f..42eddcf 100644
--- a/dlls/ntdll/ntdll.spec
+++ b/dlls/ntdll/ntdll.spec
@@ -1410,6 +1410,7 @@
# Version
@ cdecl wine_get_version() NTDLL_wine_get_version
+@ cdecl wine_get_patches() NTDLL_wine_get_patches
@ cdecl wine_get_build_id() NTDLL_wine_get_build_id
@ cdecl wine_get_host_version(ptr ptr) NTDLL_wine_get_host_version
diff --git a/libs/wine/config.c b/libs/wine/config.c
index a273502..5fa0cd5 100644
--- a/libs/wine/config.c
+++ b/libs/wine/config.c
@@ -478,6 +478,##PATCH_LINES## @@ const char *wine_get_version(void)
return PACKAGE_VERSION;
}
+struct wine_patch {
+ const char *hash;
+ const char *author;
+ const char *title;
+} wine_patch_data[] = {
##PATCH_DATA##
+ { NULL, NULL, NULL }
+};
+
+/* return the applied non-standard patches */
+const void * wine_get_patches(void)
+{
+ return &wine_patch_data[0];
+}
+
/* return the build id string */
const char *wine_get_build_id(void)
{
diff --git a/libs/wine/wine.def b/libs/wine/wine.def
index ed315bd..5b42029 100644
--- a/libs/wine/wine.def
+++ b/libs/wine/wine.def
@@ -83,6 +83,7 @@ EXPORTS
wine_get_sortkey
wine_get_user_name
wine_get_version
+ wine_get_patches
wine_init
wine_init_argv0_path
wine_is_dbcs_leadbyte
diff --git a/libs/wine/wine.map b/libs/wine/wine.map
index 2159fac..7cb2918 100644
--- a/libs/wine/wine.map
+++ b/libs/wine/wine.map
@@ -90,6 +90,7 @@ WINE_1.0
wine_get_ss;
wine_get_user_name;
wine_get_version;
+ wine_get_patches;
wine_init;
wine_init_argv0_path;
wine_is_dbcs_leadbyte;
diff --git a/loader/main.c b/loader/main.c
index ac67290..516fd82 100644
--- a/loader/main.c
+++ b/loader/main.c
@@ -79,6 +79,12 @@ static inline void reserve_area( void *addr, size_t size )
#endif /* __APPLE__ */
+struct wine_patch {
+ const char *hash;
+ const char *author;
+ const char *title;
+};
+
/***********************************************************************
* check_command_line
*
@@ -89,7 +96,8 @@ static void check_command_line( int argc, char *argv[] )
static const char usage[] =
"Usage: wine PROGRAM [ARGUMENTS...] Run the specified program\n"
" wine --help Display this help and exit\n"
- " wine --version Output version information and exit";
+ " wine --version Output version information and exit\n"
+ " wine --patches Output patch information and exit";
if (argc <= 1)
{
@@ -106,6 +114,16 @@ static void check_command_line( int argc, char *argv[] )
printf( "%s\n", wine_get_build_id() );
exit(0);
}
+ if (!strcmp( argv[1], "--patches" ))
+ {
+ const struct wine_patch *wine_patch_data = wine_get_patches();
+ for(; wine_patch_data->hash != NULL; wine_patch_data++)
+ {
+ printf( "%s :: %s :: %s\n", wine_patch_data->hash, wine_patch_data->author,
+ wine_patch_data->title );
+ }
+ exit(0);
+ }
}
diff --git a/include/wine/library.h b/include/wine/library.h
index 242bb69..aa9e585 100644
--- a/include/wine/library.h
+++ b/include/wine/library.h
@@ -43,6 +43,7 @@ extern const char *wine_get_data_dir(void);
extern const char *wine_get_server_dir(void);
extern const char *wine_get_user_name(void);
extern const char *wine_get_version(void);
+extern const void *wine_get_patches(void);
extern const char *wine_get_build_id(void);
extern void wine_init_argv0_path( const char *argv0 );
extern void wine_exec_wine_binary( const char *name, char **argv, const char *env_var );
EOF

File diff suppressed because it is too large Load Diff

73
debian/tools/patchlist.sh vendored Executable file
View File

@@ -0,0 +1,73 @@
#!/bin/sh
PATCH_DATA=$(cat);
PATCH_LINES=$(echo "${PATCH_DATA}" | wc -l);
PATCH_LINES=$((${PATCH_LINES}+20));
cat <<EOF
From: "FDS-Team" <webmaster@fds-team.de>
Subject: Autogenerated patch list.
---
diff --git a/libs/wine/config.c b/libs/wine/config.c
index a273502..5fa0cd5 100644
--- a/libs/wine/config.c
+++ b/libs/wine/config.c
@@ -478,6 +478,${PATCH_LINES} @@ const char *wine_get_version(void)
return PACKAGE_VERSION;
}
+struct wine_patch {
+ const char *hash;
+ const char *author;
+ const char *title;
+} wine_patch_data[] = {
${PATCH_DATA}
+ { NULL, NULL, NULL }
+};
+
+/* return the applied non-standard patches */
+const void * wine_get_patches(void)
+{
+ return &wine_patch_data[0];
+}
+
/* return the build id string */
const char *wine_get_build_id(void)
{
diff --git a/libs/wine/wine.def b/libs/wine/wine.def
index ed315bd..5b42029 100644
--- a/libs/wine/wine.def
+++ b/libs/wine/wine.def
@@ -83,6 +83,7 @@ EXPORTS
wine_get_sortkey
wine_get_user_name
wine_get_version
+ wine_get_patches
wine_init
wine_init_argv0_path
wine_is_dbcs_leadbyte
diff --git a/libs/wine/wine.map b/libs/wine/wine.map
index 2159fac..7cb2918 100644
--- a/libs/wine/wine.map
+++ b/libs/wine/wine.map
@@ -90,6 +90,7 @@ WINE_1.0
wine_get_ss;
wine_get_user_name;
wine_get_version;
+ wine_get_patches;
wine_init;
wine_init_argv0_path;
wine_is_dbcs_leadbyte;
diff --git a/include/wine/library.h b/include/wine/library.h
index 242bb69..aa9e585 100644
--- a/include/wine/library.h
+++ b/include/wine/library.h
@@ -43,6 +43,7 @@ extern const char *wine_get_data_dir(void);
extern const char *wine_get_server_dir(void);
extern const char *wine_get_user_name(void);
extern const char *wine_get_version(void);
+extern const void *wine_get_patches(void);
extern const char *wine_get_build_id(void);
extern void wine_init_argv0_path( const char *argv0 );
extern void wine_exec_wine_binary( const char *name, char **argv, const char *env_var );
EOF

633
debian/tools/patchupdate.py vendored Executable file

File diff suppressed because it is too large Load Diff

320
debian/tools/patchutils.py vendored Normal file
View File

@@ -0,0 +1,320 @@
#!/usr/bin/python2
#
# Python functions to read, split and apply patches.
#
# Copyright (C) 2014 Sebastian Lackner
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
#
import collections
import difflib
import hashlib
import itertools
import os
import re
import subprocess
import tempfile
class PatchParserError(RuntimeError):
"""Unable to parse patch file - either an unimplemented feature, or corrupted patch."""
pass
class PatchApplyError(RuntimeError):
"""Failed to apply/merge patch."""
pass
class PatchObject(object):
def __init__(self, filename):
self.extracted_patch = None
self.unique_hash = None
self.filename = filename
self.offset_begin = None
self.offset_end = None
self.isbinary = False
self.oldname = None
self.newname = None
self.modified_file = None
self.oldsha1 = None
self.newsha1 = None
self.newmode = None
def is_binary(self):
return self.isbinary
def read_chunks(self):
"""Iterates over arbitrary sized chunks of this patch."""
assert self.offset_end >= self.offset_begin
with open(self.filename) as fp:
fp.seek(self.offset_begin)
i = self.offset_end - self.offset_begin
while i > 0:
buf = fp.read(4096 if i > 4096 else i)
if buf == "": raise IOError("Unable to extract patch.")
yield buf
i -= len(buf)
def extract(self):
"""Create a temporary file containing the extracted patch."""
if not self.extracted_patch:
self.extracted_patch = tempfile.NamedTemporaryFile()
for chunk in self.read_chunks():
self.extracted_patch.write(chunk)
self.extracted_patch.flush()
return self.extracted_patch
def hash(self):
"""Hash the content of the patch."""
if not self.unique_hash:
m = hashlib.sha256()
for chunk in self.read_chunks():
m.update(chunk)
self.unique_hash = m.digest()
return self.unique_hash
def read_patch(filename):
"""Iterates over all patches contained in a file, and returns PatchObject objects."""
class _FileReader(object):
def __init__(self, filename):
self.filename = filename
self.fp = open(self.filename)
self.peeked = None
def close(self):
self.fp.close()
def __enter__(self):
return self
def __exit__(self, type, value, traceback):
self.close()
def seek(self, pos):
"""Change the file cursor position."""
self.fp.seek(pos)
self.peeked = None
def tell(self):
"""Return the current file cursor position."""
if self.peeked is None:
return self.fp.tell()
return self.peeked[0]
def peek(self):
"""Read one line without changing the file cursor."""
if self.peeked is None:
pos = self.fp.tell()
tmp = self.fp.readline()
if len(tmp) == 0: return None
self.peeked = (pos, tmp)
return self.peeked[1]
def read(self):
"""Read one line from the file, and move the file cursor to the next line."""
if self.peeked is None:
tmp = self.fp.readline()
if len(tmp) == 0: return None
return tmp
tmp, self.peeked = self.peeked, None
return tmp[1]
def _read_single_patch(fp, oldname=None, newname=None):
"""Internal function to read a single patch from a file."""
patch = PatchObject(fp.filename)
patch.offset_begin = fp.tell()
patch.oldname = oldname
patch.newname = newname
# Skip over initial diff --git header
line = fp.peek()
if line.startswith("diff --git "):
assert fp.read() == line
# Read header
while True:
line = fp.peek()
if line is None:
break
elif line.startswith("--- "):
patch.oldname = line[4:].strip()
elif line.startswith("+++ "):
patch.newname = line[4:].strip()
elif line.startswith("old mode") or line.startswith("deleted file mode"):
pass # ignore
elif line.startswith("new mode "):
patch.newmode = line[9:].strip()
elif line.startswith("new file mode "):
patch.newmode = line[14:].strip()
elif line.startswith("new mode") or line.startswith("new file mode"):
raise PatchParserError("Unable to parse header line '%s'." % line)
elif line.startswith("copy from") or line.startswith("copy to"):
raise NotImplementedError("Patch copy header not implemented yet.")
elif line.startswith("rename "):
raise NotImplementedError("Patch rename header not implemented yet.")
elif line.startswith("similarity index") or line.startswith("dissimilarity index"):
pass # ignore
elif line.startswith("index "):
r = re.match("^index ([a-fA-F0-9]*)\.\.([a-fA-F0-9]*)", line)
if not r: raise PatchParserError("Unable to parse index header line '%s'." % line)
patch.oldsha1, patch.newsha1 = r.group(1), r.group(2)
else:
break
assert fp.read() == line
if patch.oldname is None or patch.newname is None:
raise PatchParserError("Missing old or new name.")
elif patch.oldname == "/dev/null" and patch.newname == "/dev/null":
raise PatchParserError("Old and new name is /dev/null?")
if patch.oldname.startswith("a/"):
patch.oldname = patch.oldname[2:]
elif patch.oldname != "/dev/null":
raise PatchParserError("Old name in patch doesn't start with a/.")
if patch.newname.startswith("b/"):
patch.newname = patch.newname[2:]
elif patch.newname != "/dev/null":
raise PatchParserError("New name in patch doesn't start with b/.")
if patch.newname != "/dev/null":
patch.modified_file = patch.newname
else:
patch.modified_file = patch.oldname
# Decide between binary and textual patch
if line is None or line.startswith("diff --git ") or line.startswith("--- "):
if oldname != newname:
raise PatchParserError("Stripped old- and new name doesn't match.")
elif line.startswith("@@ -"):
while True:
line = fp.peek()
if line is None or not line.startswith("@@ -"):
break
r = re.match("^@@ -(([0-9]+),)?([0-9]+) \+(([0-9]+),)?([0-9]+) @@", line)
if not r: raise PatchParserError("Unable to parse hunk header '%s'." % line)
srcpos = max(int(r.group(2)) - 1, 0) if r.group(2) else 0
dstpos = max(int(r.group(5)) - 1, 0) if r.group(5) else 0
srclines, dstlines = int(r.group(3)), int(r.group(6))
if srclines <= 0 and dstlines <= 0:
raise PatchParserError("Empty hunk doesn't make sense.")
assert fp.read() == line
while srclines > 0 or dstlines > 0:
line = fp.read()
if line is None:
raise PatchParserError("Truncated patch.")
elif line.startswith(" "):
if srclines == 0 or dstlines == 0:
raise PatchParserError("Corrupted patch.")
srclines -= 1
dstlines -= 1
elif line.startswith("-"):
if srclines == 0:
raise PatchParserError("Corrupted patch.")
srclines -= 1
elif line.startswith("+"):
if dstlines == 0:
raise PatchParserError("Corrupted patch.")
dstlines -= 1
elif line.startswith("\\ "):
pass # ignore
else:
raise PatchParserError("Unexpected line in hunk.")
while True:
line = fp.peek()
if line is None or not line.startswith("\\ "): break
assert fp.read() == line
elif line.rstrip() == "GIT binary patch":
if patch.oldsha1 is None or patch.newsha1 is None:
raise PatchParserError("Missing index header, sha1 sums required for binary patch.")
elif patch.oldname != patch.newname:
raise PatchParserError("Stripped old- and new name doesn't match for binary patch.")
assert fp.read() == line
line = fp.read()
if line is None: raise PatchParserError("Unexpected end of file.")
r = re.match("^(literal|delta) ([0-9]+)", line)
if not r: raise NotImplementedError("Only literal/delta patches are supported.")
patch.isbinary = True
# Skip over patch data
while True:
line = fp.read()
if line is None or line.strip() == "":
break
else:
raise PatchParserError("Unknown patch format.")
patch.offset_end = fp.tell()
return patch
with _FileReader(filename) as fp:
while True:
line = fp.peek()
if line is None:
break
elif line.startswith("diff --git "):
tmp = line.strip().split(" ")
if len(tmp) != 4: raise PatchParserError("Unable to parse git diff header line '%s'." % line)
yield _read_single_patch(fp, tmp[2].strip(), tmp[3].strip())
elif line.startswith("--- "):
yield _read_single_patch(fp)
elif line.startswith("@@ -") or line.startswith("+++ "):
raise PatchParserError("Patch didn't start with a git or diff header.")
else:
assert fp.read() == line
def apply_patch(content, patches, reverse=False, fuzz=2):
"""Apply a patch with optional fuzz - uses the commandline 'patch' utility."""
if not isinstance(patches, collections.Sequence):
patches = [patches]
contentfile = tempfile.NamedTemporaryFile(delete=False)
try:
contentfile.write(content)
contentfile.close()
for patch in patches:
patchfile = patch.extract()
cmdline = ["patch", "--force", "--silent", "-r", "-"]
if reverse: cmdline.append("--reverse")
if fuzz != 2: cmdline.append("--fuzz=%d" % fuzz)
cmdline += [contentfile.name, patchfile.name]
with open(os.devnull, 'w') as devnull:
exitcode = subprocess.call(cmdline, stdout=devnull, stderr=devnull)
if exitcode != 0:
raise PatchApplyError("Failed to apply patch (exitcode %d)." % exitcode)
with open(contentfile.name) as fp:
content = fp.read()
finally:
os.unlink(contentfile.name)
return content

View File

@@ -1,4 +1,6 @@
documentation/README.*
ANNOUNCE
AUTHORS
README
LICENSE.wine
LICENSE.wine-compholio
README

View File

@@ -1,3 +0,0 @@
Revision: 2
Author: Erich E. Hoover
Title: Implement SIO_ADDRESS_LIST_CHANGE.

View File

@@ -1,193 +0,0 @@
From 0be335ce9c2c93a186cf35be0a99519868ab8a0d Mon Sep 17 00:00:00 2001
From: "Erich E. Hoover" <erich.e.hoover@gmail.com>
Date: Fri, 18 Apr 2014 15:21:00 -0600
Subject: server: Add compatibility code for handling the old method of
storing ACLs.
---
server/file.c | 162 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 162 insertions(+)
diff --git a/server/file.c b/server/file.c
index e29d06b..08231a7 100644
--- a/server/file.c
+++ b/server/file.c
@@ -750,6 +750,167 @@ struct security_descriptor *get_xattr_sd( int fd )
#endif
}
+struct security_descriptor *get_xattr_acls( int fd, const SID *user, const SID *group )
+{
+#ifdef HAVE_ATTR_XATTR_H
+ int ace_count = 0, dacl_size = sizeof(ACL), i, n;
+ char buffer[XATTR_SIZE_MAX], *p = buffer, *pn;
+ struct security_descriptor *sd;
+ ACE_HEADER *current_ace;
+ ACCESS_ALLOWED_ACE *aaa;
+ ACCESS_DENIED_ACE *ada;
+ int type, flags, mask;
+ ACL *dacl;
+ char *ptr;
+
+ n = fgetxattr( fd, "user.wine.acl", buffer, sizeof(buffer) );
+ if (n == -1) return NULL;
+ buffer[n] = 0; /* ensure NULL terminated buffer for string functions */
+
+ do
+ {
+ int sub_authority_count = 0;
+
+ pn = strchr(p, ';');
+ if (pn) pn++;
+ sscanf(p, "%x", &type);
+ do
+ {
+ p = strchr(p, '-');
+ if (p) p++;
+ sub_authority_count++;
+ }
+ while(p && (!pn || p < pn));
+ sub_authority_count -= 3; /* Revision and IdentifierAuthority don't count */
+ p = pn; /* prepare for the next ACE */
+
+ /* verify that the SubAuthorityCount does not exceed the maximum permitted value */
+ if (sub_authority_count > SID_MAX_SUB_AUTHORITIES)
+ continue;
+
+ switch (type)
+ {
+ case ACCESS_DENIED_ACE_TYPE:
+ dacl_size += FIELD_OFFSET(ACCESS_DENIED_ACE, SidStart) +
+ FIELD_OFFSET(SID, SubAuthority[sub_authority_count]);
+ break;
+ case ACCESS_ALLOWED_ACE_TYPE:
+ dacl_size += FIELD_OFFSET(ACCESS_ALLOWED_ACE, SidStart) +
+ FIELD_OFFSET(SID, SubAuthority[sub_authority_count]);
+ break;
+ default:
+ continue;
+ }
+ ace_count++;
+ }
+ while(p);
+
+ sd = mem_alloc( sizeof(struct security_descriptor) +
+ FIELD_OFFSET(SID, SubAuthority[user->SubAuthorityCount]) +
+ FIELD_OFFSET(SID, SubAuthority[group->SubAuthorityCount]) +
+ dacl_size );
+
+ sd->control = SE_DACL_PRESENT;
+ sd->owner_len = FIELD_OFFSET(SID, SubAuthority[user->SubAuthorityCount]);
+ sd->group_len = FIELD_OFFSET(SID, SubAuthority[group->SubAuthorityCount]);
+ sd->sacl_len = 0;
+ sd->dacl_len = dacl_size;
+
+ ptr = (char *)(sd + 1);
+ memcpy( ptr, user, sd->owner_len );
+ ptr += sd->owner_len;
+ memcpy( ptr, group, sd->group_len );
+ ptr += sd->group_len;
+
+ dacl = (ACL *)ptr;
+ dacl->AclRevision = ACL_REVISION;
+ dacl->Sbz1 = 0;
+ dacl->AclSize = dacl_size;
+ dacl->AceCount = ace_count;
+ dacl->Sbz2 = 0;
+ aaa = (ACCESS_ALLOWED_ACE *)(dacl + 1);
+ current_ace = &aaa->Header;
+
+ p = buffer;
+ for(i=0; i<ace_count; i++)
+ {
+ char b[sizeof(SID) + sizeof(ULONG) * SID_MAX_SUB_AUTHORITIES];
+ int sub_authority_count = 0;
+ SID *sid = (SID *)&b[0];
+ char sidtxt[100];
+ int rev, ia, sa;
+
+ if (i != 0)
+ {
+ aaa = (ACCESS_ALLOWED_ACE *)ace_next( current_ace );
+ current_ace = &aaa->Header;
+ }
+ pn = strchr(p, ';');
+ if (pn) pn++;
+ sscanf(p, "%x,%x,%x,%[^;]", &type, &flags, &mask, sidtxt);
+ sscanf(sidtxt, "S-%u-%d", &rev, &ia);
+ sid->Revision = rev;
+ sid->IdentifierAuthority.Value[0] = 0;
+ sid->IdentifierAuthority.Value[1] = 0;
+ sid->IdentifierAuthority.Value[2] = HIBYTE(HIWORD(ia));
+ sid->IdentifierAuthority.Value[3] = LOBYTE(HIWORD(ia));
+ sid->IdentifierAuthority.Value[4] = HIBYTE(LOWORD(ia));
+ sid->IdentifierAuthority.Value[5] = LOBYTE(LOWORD(ia));
+ p = strchr(sidtxt, '-')+1;
+ p = strchr(p, '-')+1; /* Revision doesn't count */
+ p = strchr(p, '-')+1; /* IdentifierAuthority doesn't count */
+ do
+ {
+ if (sub_authority_count == SID_MAX_SUB_AUTHORITIES)
+ {
+ sub_authority_count++; /* fail on this SID and move on to the next one */
+ break;
+ }
+ sscanf(p, "%u", &sa);
+ sid->SubAuthority[sub_authority_count] = sa;
+ p = strchr(p, '-');
+ if (p) p++;
+ sub_authority_count++;
+ }
+ while(p);
+ sid->SubAuthorityCount = sub_authority_count;
+ p = pn; /* prepare for the next ACE */
+
+ /* verify that the SubAuthorityCount does not exceed the maximum permitted value */
+ if (sub_authority_count > SID_MAX_SUB_AUTHORITIES)
+ continue;
+
+ /* Handle the specific ACE */
+ switch (type)
+ {
+ case ACCESS_DENIED_ACE_TYPE:
+ ada = (ACCESS_DENIED_ACE *)aaa;
+ ada->Header.AceType = type;
+ ada->Header.AceFlags = flags;
+ ada->Header.AceSize = FIELD_OFFSET(ACCESS_DENIED_ACE, SidStart) +
+ FIELD_OFFSET(SID, SubAuthority[sid->SubAuthorityCount]);
+ ada->Mask = mask;
+ memcpy( &ada->SidStart, sid, FIELD_OFFSET(SID, SubAuthority[sid->SubAuthorityCount]) );
+ break;
+ case ACCESS_ALLOWED_ACE_TYPE:
+ aaa->Header.AceType = type;
+ aaa->Header.AceFlags = flags;
+ aaa->Header.AceSize = FIELD_OFFSET(ACCESS_ALLOWED_ACE, SidStart) +
+ FIELD_OFFSET(SID, SubAuthority[sid->SubAuthorityCount]);
+ aaa->Mask = mask;
+ memcpy( &aaa->SidStart, sid, FIELD_OFFSET(SID, SubAuthority[sid->SubAuthorityCount]) );
+ break;
+ default:
+ continue;
+ }
+ }
+
+ return sd;
+#else
+ return NULL;
+#endif
+}
+
/* Convert generic rights into standard access rights */
void convert_generic_sd( struct security_descriptor *sd )
{
@@ -790,6 +951,7 @@ struct security_descriptor *get_file_sd( struct object *obj, struct fd *fd, mode
user = security_unix_uid_to_sid( st.st_uid );
group = token_get_primary_group( current->process->token );
sd = get_xattr_sd( unix_fd );
+ if (!sd) sd = get_xattr_acls( unix_fd, user, group );
if (sd && convert_generic) convert_generic_sd( sd );
if (!sd) sd = mode_to_sd( st.st_mode, user, group);
if (!sd) return obj->sd;
--
1.7.9.5

View File

@@ -1,3 +0,0 @@
Revision: 4
Author: Erich E. Hoover
Title: Store and return security attributes with extended file attributes.

Some files were not shown because too many files have changed in this diff Show More