Compare commits

...

399 Commits
v2.17 ... v3.10

Author SHA1 Message Date
Alistair Leslie-Hughes
4592d28a7a Release 3.10 2018-06-12 10:22:26 +10:00
Alistair Leslie-Hughes
122a110c7a Rebase against e470221dcaaadf10f222551997ff837f1e7557de 2018-06-12 10:22:06 +10:00
Alistair Leslie-Hughes
d78f0a5a7b Added bcrypt-BCryptGenerateKeyPair patchset 2018-06-12 08:28:09 +10:00
Alistair Leslie-Hughes
95d74e37bd Updated uianimation-stubs patchset
Thanks Louis Lenders
2018-06-12 08:11:17 +10:00
Alistair Leslie-Hughes
e884abcd88 Add uianimation-stubs patchset 2018-06-08 09:16:42 +10:00
Alistair Leslie-Hughes
f98bff1805 Rebase against 868fb05e7710dbaa94569fa7d2c3736580aec438 2018-06-08 08:21:29 +10:00
Alistair Leslie-Hughes
6b93eac6ad Rebase against 5fd3090f522a9c2a4cfb077c9b7cdc1ae1304c4c 2018-06-06 08:44:57 +10:00
Alistair Leslie-Hughes
5ffb34bc71 Updated virtdisk-GetStorageDependencyInformation patchset 2018-06-05 09:46:50 +10:00
Alistair Leslie-Hughes
cf3c3e93e5 Rebase against 11e3cf091d8ec70a9d6004ac6a51d5c827d9ddff
No changes. This is to ensure the build includes the
upstream dbghelp which include "wine/heap.h".
2018-06-05 09:08:05 +10:00
Alistair Leslie-Hughes
7997379312 Added wintab32-improvements patchset 2018-06-03 08:45:19 +10:00
Alistair Leslie-Hughes
26bb2b21f2 Added winex11-Vulkan_support patchset 2018-06-03 08:45:19 +10:00
Alistair Leslie-Hughes
8df70b8b0c Rebase against 185d9ee7ebf56e0663f715e532f2ee2c27289f12 2018-06-01 09:07:56 +10:00
Alistair Leslie-Hughes
b69aa1fa72 Rebase against d3a71dec7ee99e9c65630d080c02d7d4182e61a6 2018-05-31 09:12:45 +10:00
Alistair Leslie-Hughes
d28e1388c0 Rebase against 37e837113ce6654c436211031712719e8f9f29a2 2018-05-30 08:48:14 +10:00
Alistair Leslie-Hughes
b305d85b78 Updated d3d11-Deferred_Context patchset 2018-05-27 11:52:08 +10:00
Alistair Leslie-Hughes
d0cc6096d1 Added wined3d-CompareInterpolationMode patchset 2018-05-27 11:46:46 +10:00
Alistair Leslie-Hughes
eb816d477a Updated windowscodecs-GIF_Encoder patchset.
Added test for function GetEncoderInfo.
2018-05-27 11:24:37 +10:00
Alistair Leslie-Hughes
69650f38d8 Release 3.9 2018-05-26 16:47:41 +10:00
Alistair Leslie-Hughes
06caa35518 Rebase against b70f0d723a768b9fdc89cd835b23718f6cd61f31 2018-05-25 09:05:36 +10:00
Alistair Leslie-Hughes
51557bbf6e Rebase against bf4d0982fd88f9c8848b9e27bb1391d45d18b68e 2018-05-24 10:15:30 +10:00
Zebediah Figura
1121536608 d3d11-Depth_Bias: Add tests for depth bias clamp. 2018-05-22 16:36:40 -05:00
Zebediah Figura
deac22809d Rebase against da5112c74313b5236183135204cab38a8b0169ed. 2018-05-22 16:36:18 -05:00
Zebediah Figura
da46ed3444 Rebase against 8b9ba16e9ad9ca85b93b05c13d6c5044a1a5ecf3. 2018-05-21 20:30:37 -05:00
Zebediah Figura
53a402bde4 Rebase against 8e9ea7a8a163147012908bad696a539454654d8f 2018-05-18 18:56:01 -05:00
Alistair Leslie-Hughes
41b4cfa2c4 Rebase against 48aeef69fc99ff1460da934f4933f0499ff33b13 2018-05-18 11:31:57 +10:00
Alistair Leslie-Hughes
7715ae4be5 Rebase against ba1d9f3aad85303997635ce8328caffa08992c14 2018-05-17 08:57:30 +10:00
Alistair Leslie-Hughes
f5bb52ba01 Disbale d3d11-dynamic-cpu-access patchset
Causing regressions.
2018-05-17 08:15:08 +10:00
Alistair Leslie-Hughes
584fc68f0e Rebase against 9321aa40f5ba79352d346c04f4d428d143575fb9 2018-05-16 08:02:03 +10:00
Alistair Leslie-Hughes
93d16ba18b Updated ntdll-Loader_Machine_Type patchset 2018-05-16 07:53:04 +10:00
Gijs Vermeulen
a6526e647f Update server-Realtime_Priority patchset 2018-05-15 09:01:25 +10:00
Alistair Leslie-Hughes
7966caf282 Rebase against 09bf88092d0748ceac355098a942b01b267e8773 2018-05-15 08:53:14 +10:00
Zebediah Figura
7348f0b12b Merge pull request #62 from gverm/master
Fix LsaLookUpPrivilegeName patchset folder name
2018-05-12 10:30:52 -05:00
Gijs Vermeulen
501012afe2 Fix LsaLookUpPrivilegeName patchset folder name 2018-05-12 15:12:11 +02:00
Alistair Leslie-Hughes
eb684dd939 Release 3.8 2018-05-12 17:19:45 +10:00
Alistair Leslie-Hughes
3851931e1c Added wined3d-Implement-oMask patchset 2018-05-12 13:55:47 +10:00
Alistair Leslie-Hughes
054b0f6db6 Added dxgi-IDXGIDevice2 patchset 2018-05-12 13:49:45 +10:00
Alistair Leslie-Hughes
fcff4a78ba Rebase against 7280f7fb744e951281e7f051c347fb8fef5ab36b 2018-05-12 09:24:56 +10:00
Alistair Leslie-Hughes
44ee738e8b Updated ntdll-Loader_Machine_Type patchset 2018-05-11 19:57:03 +10:00
Alistair Leslie-Hughes
fd7f8c9f16 Rebase against 6d6b4bffb3f619ae298669b888775350223e281f 2018-05-11 11:32:38 +10:00
Alistair Leslie-Hughes
54122cc23e Updated ntdll-Loader_Machine_Type patchset
- Resource only DLLs need to be excluded from the Architecture test.
2018-05-10 08:29:54 +10:00
Alistair Leslie-Hughes
31a33b08ad Rebase against 8f46ac233ed96f7286f6aacd1f8fb2626d3ed1c2 2018-05-10 08:26:38 +10:00
Zebediah Figura
ec4fd3ebdc Rebase against 7f955f22d317cad1e7d5323179e9a0ee635c9768. 2018-05-08 17:53:51 -05:00
Alistair Leslie-Hughes
e9ce651159 Added d3d11-dynamic-cpu-access patchset 2018-05-08 15:35:51 +10:00
Alistair Leslie-Hughes
9f3d2b6601 Disabled dwrite-FontFallback patchset
The tests pass without the implementaion.
2018-05-08 15:31:50 +10:00
Alistair Leslie-Hughes
eaebccd0b8 Rebase against 540c48b91175b11c7b8646d0a036b20c46425080 2018-05-05 09:01:04 +10:00
Alistair Leslie-Hughes
3c3993fdfa Updated shell32-NewMenu_Interface patchset 2018-05-04 18:45:15 +10:00
Alistair Leslie-Hughes
cc3e8145ba Updated shell32-NewMenu_Interface patchset 2018-05-04 10:32:47 +10:00
Alistair Leslie-Hughes
5571baf8cc Rebase against e637a6f0bf1eeba3e6be62c4e1c5688bb8f6102e 2018-05-04 10:25:05 +10:00
Alistair Leslie-Hughes
c7b329f9f1 Added dwrite-FontFallback patch 2018-05-04 09:32:17 +10:00
Alistair Leslie-Hughes
a022e6ff69 Added d3d11-shader-count patchset 2018-05-04 09:27:24 +10:00
Alistair Leslie-Hughes
f9342fe22e Added d2d1-ID2D1Factory1 patchset 2018-05-04 09:20:44 +10:00
Zebediah Figura
797372c132 ntoskrnl-DriverTest: Merge tests with appropriate patches in ntoskrnl-Stubs and winedevice-Default_Drivers. 2018-05-02 18:37:53 -05:00
Zebediah Figura
27c94566e3 Rebase against 8dca6c35e11a104385242ed8346ee05707b78ef7 2018-05-02 17:29:44 -05:00
Zebediah Figura
c6a90a954b Rebase against dbce559df683b7831861c747f1f4d28614eedbe2 2018-05-01 18:26:01 -05:00
Alistair Leslie-Hughes
d13e9fa487 Rebase against 784b617ae936f97118e18624da85cc9de900e3a7 2018-05-01 12:33:16 +10:00
Alistair Leslie-Hughes
4af8ffc7f2 Release v3.7 2018-04-29 08:16:14 +10:00
Zebediah Figura
4801f89bba Rebase against 9fecb7499531ddbcde7970b4d98df92dbc1bc010 2018-04-27 16:30:13 -05:00
Alistair Leslie-Hughes
9e260976b4 Rebase against d6654dbf2b38d02f3c6e0ede706a0388cd7cd4a6 2018-04-27 09:26:33 +10:00
Alistair Leslie-Hughes
48e37a9f7c Updated xaudio2 CommitChanges patchset
Renamed patch to reflect actual change.
2018-04-27 09:26:22 +10:00
Alistair Leslie-Hughes
c9330ebfa3 Updated ntdll-RtlQueryPackageIdentity-update patchset 2018-04-27 09:26:22 +10:00
Alistair Leslie-Hughes
9832547e5c Added wintrust-WTHelperGetProvCertFromChain patchset 2018-04-27 09:26:22 +10:00
Alistair Leslie-Hughes
792181ca4e Added dxgi-SetMaximumFrameLatency patchset 2018-04-27 09:26:21 +10:00
Alistair Leslie-Hughes
409261dc56 Rebase against 5e74b9ea945db50bd31cef3254865f6cd9544eb2 2018-04-26 08:48:52 +10:00
Zebediah Figura
bd3bf6c3b0 Rebase against e13f59085f8a3787abd4e3f3eabae1a7e607a3c0 2018-04-24 18:57:07 -05:00
Alistair Leslie-Hughes
6eb6431a82 Rebase against ee7756fdfd46cd64a09089def3c330a3b262cdd5 2018-04-24 09:07:00 +10:00
Alistair Leslie-Hughes
eb4096dc62 Rebase against a373054b72f396a04ab4f191e1f6c2c9e0476aa0 2018-04-21 11:59:41 +10:00
Alistair Leslie-Hughes
bff60a3afb Added winemapi - Use xdg-email if it is available 2018-04-20 08:48:13 +10:00
Alistair Leslie-Hughes
d61501a68f Rebase against 448344c5e443b35c06bc0cc4f2e8ee9b7968008f 2018-04-20 08:37:39 +10:00
Alistair Leslie-Hughes
5b388bb912 Rebase against c5023aea7e97213159b754a168b7abddc89664bb 2018-04-19 10:08:22 +10:00
Zebediah Figura
3e2b8a53bb Use WINAPIV for variadic functions.
Should fix https://bugs.winehq.org/show_bug.cgi?id=44099
2018-04-16 18:27:39 -05:00
Zebediah Figura
de87a73aac Rebase against 70c5dc64fc02408c6f7233c996e0ffdc5dc4a5a0 2018-04-16 18:15:29 -05:00
Alistair Leslie-Hughes
8fd6d103e3 Release v3.6 2018-04-14 15:25:13 +10:00
Zebediah Figura
11233f0810 Rebase against 3f281a3baad9f5f8f875da902718a1d5d3dc0d9f 2018-04-13 18:46:23 -05:00
Zebediah Figura
3fe54232fa Rebase against a7b33a6a428c9920d8130819373b1554bbd206c4 2018-04-12 18:20:32 -05:00
Alistair Leslie-Hughes
8853cef050 Rebase against aa27dd07aa55301f3e23acf9f74daa0f465e7b6d 2018-04-12 10:22:53 +10:00
Alistair Leslie-Hughes
f70daff195 Rebase against 4a6a7655e1cbc614f609ea53939e240f4f785a94 2018-04-11 10:34:16 +10:00
Alistair Leslie-Hughes
22f1c6b57f patchupdate.py: Warn when if no patches are found in a directory 2018-04-11 10:34:16 +10:00
Alistair Leslie-Hughes
a596208a7f Rebase against dd2624a24fba400bf59b9396e496d16c43d399d9 2018-04-10 09:10:43 +10:00
Alistair Leslie-Hughes
35999cf261 Updated combase-RoApi patchset 2018-04-08 11:09:31 +10:00
Alistair Leslie-Hughes
bd8446fa57 Rebase agains 3263d51a1fd86abf195c5be224f6fdb4db284b53 2018-04-05 08:09:25 +10:00
Zebediah Figura
0cf0a265da Rebase against 2986e895015b9785d61e7265763efacc053d7ad6. 2018-04-03 17:51:58 -05:00
Zebediah Figura
2736dff771 server-Shared_Memory: Fix compile failure on 64-bit.
This will at least hold us off until someone forces a real solution.
2018-04-02 21:50:53 -05:00
Zebediah Figura
f6fdc7705e ntdll-DllRedirects: Fall back to unredirected DLL on load failure. 2018-04-02 20:49:39 -05:00
Zebediah Figura
b4fce09d03 Rebase against ca9d03a7ac6bb599e50aa05ea5ec99d5cf096e2a. 2018-04-02 20:00:16 -05:00
Zebediah Figura
89733585b3 winecfg-Staging: Actually fix CSMT checkbox. 2018-04-02 12:03:04 -05:00
Zebediah Figura
6e3fbe28e1 winecfg-Staging: Fix CSMT checkbox.
Now toggles the upstream csmt registry value.
2018-04-01 17:23:01 -05:00
Alistair Leslie-Hughes
e31b1ba24f Release v3.5 2018-03-31 17:38:09 +11:00
Alistair Leslie-Hughes
1dfd404d6d Rebase against 79f93ecf429f42db15bc14f276045fdad35cef13 2018-03-31 09:46:41 +11:00
Zebediah Figura
6d95251218 ole32-Implicit_MTA: Add patchset. 2018-03-30 17:37:38 -05:00
Alistair Leslie-Hughes
4e3fb17588 Rebase against ecbb4fa3ea2d3a9e1d3f560c7e0dea008439db5b 2018-03-30 13:47:30 +11:00
Alistair Leslie-Hughes
ec58b6f6b1 Added msvcr110 _crtCapturePreviousContext and __crtCaptureCurrentContext patchset 2018-03-30 13:47:30 +11:00
Alistair Leslie-Hughes
7e20244fbc Added bcrypt Implement BCryptDeriveKeyPBKDF2 patch 2018-03-30 13:47:30 +11:00
Alistair Leslie-Hughes
c6b3d2a128 Updated ntoskrnl-Stubs patchset
- Added more stub patches
2018-03-30 13:47:30 +11:00
Alistair Leslie-Hughes
046821d509 Updated fltmgr.sys-filters patchset
Added Implement FltGetRoutineAddress.
2018-03-30 13:47:30 +11:00
Alistair Leslie-Hughes
e15e1cf076 Updated crypt32-MS_Root_Certs patch subject 2018-03-30 13:47:30 +11:00
Zebediah Figura
46d9678e0a Rebase against be002fd92b9d72163bf130ab8ade8aa4d9cdbad0. 2018-03-28 21:25:29 -05:00
Zebediah Figura
5876a3f782 Remove several d3d patchsets:
* wined3d-Core_Context: fixed by 62651d65f4f8e4dc6e1f4fb5d589526613d419aa
* wined3d-Limit_Vram: This patch is a no-op; LONG_MAX is 0x7fffffffffffffff on 64-bit.
* wined3d-Revert_Surface_Blt: fixed by d38076fd57a50452b17d61f771688bbfcd3a5563
* wined3d-WINED3DFMT_R32G32_UINT: fixed by af1be967a0b0262a980e9bfbdff107c1d6db7e8d
* wined3d-sample_c_lz: fixed by ce8610cea58ed1ba9d8f17857e507d9d6c30132d
* wined3d-CSMT_Helper, wined3d-CSMT_Main: Remove CSMT_Helper and remove toggle for CSMT_Main. CSMT is in Wine and configurable.
	Also remove patches 0008, 0019, 0034, which are no-ops and not useful.
* makedep-PARENTSPEC: Remove patch which was only needed for wined3d-csmt.
2018-03-27 19:57:17 -05:00
Zebediah Figura
b7119079a3 Rebase against d7430abd406d1f298acb9b2e5a397e11e448f304. 2018-03-27 18:31:13 -05:00
Zebediah Figura
f7ba182039 patchupdate.py: Allow both old and new GitHub URLs. 2018-03-27 18:30:38 -05:00
Alistair Leslie-Hughes
e50f0488cc Rebase against e1c7a1f7ce03c1e69e008378e90523e85e1c6e8f 2018-03-27 08:55:06 +11:00
Alistair Leslie-Hughes
4954f5c64c Rebase against 5946973021285dd6ecb8df224956fea4817f8fed 2018-03-24 16:23:18 +11:00
Alistair Leslie-Hughes
4d7af4085f Rebase against afef57f872433bcd3032c2ccbc0453bef5b62178 2018-03-23 11:48:17 +11:00
Alistair Leslie-Hughes
3d050ca9b9 Rebase against f2cb86decb334fc72ff5422122ba190bc9b6046e 2018-03-22 13:27:09 +11:00
Alistair Leslie-Hughes
e38104d365 Rebase against cfb67712ce35c05d6b7d27ece84c9192e66290b4 2018-03-21 13:00:33 +11:00
Alistair Leslie-Hughes
b05c091935 Rebase against ae5d0b22291d866a49f293e782b43ba025ab77ec 2018-03-20 12:26:23 +11:00
Alistair Leslie-Hughes
495f9db49c Rebase against afe4f54bb439cfa26ca72968cec2da357ea8836e 2018-03-17 10:29:06 +11:00
Alistair Leslie-Hughes
3f981ccb7f Update windowscodecs-Palette_Images patchset
Thanks Dmitry Timoshkov
2018-03-16 21:35:37 +11:00
Alistair Leslie-Hughes
fa354f3ca5 Rebase against bf7b21ec7b587215385c210e695cfa42e19efe4c 2018-03-16 14:23:41 +11:00
Alistair Leslie-Hughes
ebe4142fc3 Rebase against 1c8c9308e74abe5e5d85dfe722dea10e60092e7c 2018-03-15 11:02:33 +11:00
Zebediah Figura
cea60071d1 Remove some patches:
* ntdll-call_thread_func_wrapper: Remove patchset accommodating broken custom program.
* wined3d-Interpolation_Modifiers: Remove patch 0002, fixed by f75f581aa2b8f0c494a3c2c5b1cc1d9526c778c1. Probably more should be removed.
* winex11-Window_Groups: Remove, fixed by 917e86dd7a4cca1da47262caaded2bef9e022f99.
* winhlp32-Flex_Workaround: Remove, fixed upstream in flex 2.6.4.
2018-03-13 22:32:53 -05:00
Zebediah Figura
9739f8ff47 Rebase against c21c8525f9e69cfd48906ecc33b909490bd82783. 2018-03-13 22:31:07 -05:00
Alistair Leslie-Hughes
cc1da8fb76 Updated d3d11-Deferred_Context patchset
Thanks Kimmo Myllyvirta

Fixes crashes with Assassin's Creed Syndicate
2018-03-13 13:51:24 +11:00
Alistair Leslie-Hughes
b6406b6fbf Updated fltmgr.sys-filters patchset 2018-03-13 13:51:20 +11:00
Alistair Leslie-Hughes
8cb4aa20de Rebase against dfae798d98bf7a8b45954e6d788928d067d0772e
Disabled windowscodecs patchsets until all pending changes
have been committed/rejected.
2018-03-13 13:50:59 +11:00
Zebediah Figura
e8d98eb7ba wined3d-Indexed-Vertex-Blending: Fix rebase. 2018-03-11 19:13:10 -05:00
Zebediah Figura
4a31790533 patchupdate: Add option to skip bugtracker check. 2018-03-11 19:13:10 -05:00
Alistair Leslie-Hughes
480b33f208 Add patchset for FltRegisterFilter, FltStartFiltering, FltUnregisterFilter stubs 2018-03-10 21:11:01 +11:00
Alistair Leslie-Hughes
bedf3301ab Add patchset for ObRegisterCallbacks, ObUnRegisterCallbacks, ObGetFilterVersion stubs 2018-03-10 21:11:01 +11:00
Zebediah Figura
56c6aa09fd Rebase against dfde1195385df5ddb11f1104a0e744596b99477f 2018-03-09 20:14:22 -06:00
Alistair Leslie-Hughes
2ee460d68d Rebase against 661791cb7ea3757655aeff4fb061ada27a88cecc 2018-03-09 09:49:52 +11:00
Zebediah Figura
04283ef5c5 Rebase against 813ab925abd45d48c811898028fddc1047b0c250 2018-03-07 22:39:23 -06:00
Alistair Leslie-Hughes
61fcdf539a Rebase against dc328fe314970d39cbe6e330d99102adf619a73c 2018-03-07 12:43:35 +11:00
Alistair Leslie-Hughes
28c580ffb4 Updated windowscodecs-JPEG_Decoder patchset
Thanks Dmitry Timoshkov.
2018-03-06 12:35:33 +11:00
Alistair Leslie-Hughes
fcca2476bf Rebase against acd2f1e59bd22197b63eb5ae4ac0d621a0b8cce0 2018-03-06 12:30:29 +11:00
Alistair Leslie-Hughes
e09e1fd366 Release 3.3 2018-03-04 16:00:22 +11:00
Zebediah Figura
6a4c6089c4 Various fixes.
kernelbase-PathCchCombineEx: Restore mistakenly deleted patch.
wined3d-Core_Context: Fix rebase.
wined3d-Viewports: Restore mistakenly disabled patch.
2018-03-03 16:20:39 -06:00
Zebediah Figura
d854a14e64 bcrypt-Improvements: Fix Mac build.
Also fix some test failures.
2018-03-03 14:17:14 -06:00
Alistair Leslie-Hughes
1fdaf4c4e5 Rebase against f17120d11b0e1272bb9742ad88eb526ac914d7da 2018-03-03 19:45:18 +11:00
Alistair Leslie-Hughes
4f315f2a10 Updated bcrypt-Improvements patchset 2018-03-03 18:24:14 +11:00
Zebediah Figura
6d7bf6bd02 user32-WM_MEASUREITEM: Restore. 2018-03-02 09:42:49 -06:00
Zebediah Figura
745e1c5f96 Rebase against b1aee9c391a7e3ce4a069993d527dbdc518ef29c. 2018-03-01 16:03:19 -06:00
Zebediah Figura
092274bdf7 user32-Groupbox_Rectangle: Remove.
Proven incorrect by b7a08c9281
2018-03-01 15:02:52 -06:00
Alistair Leslie-Hughes
9999806838 Rebase against 0a72708126f5b8fc06698172d973bb529944c3bf 2018-03-01 16:25:25 +11:00
Zebediah Figura
d3bcb61436 winex11-SC_KEYMENU: Remove.
As per https://bugs.winehq.org/show_bug.cgi?id=41544#c11
2018-02-27 23:56:03 -06:00
Alistair Leslie-Hughes
c81dad1373 Removed wininet-Redirect patchset
Fixed upstream by cee99826b62b62acb7a8cf1ff32d27633c078e8f
2018-02-28 13:20:28 +11:00
Alistair Leslie-Hughes
f03920a32a Updated bcrypt-Improvements patchset 2018-02-28 13:20:27 +11:00
Zebediah Figura
7d1d3410c8 Rebase against 7b62a970e9ad3b4179394cf54f0232475fe2388a 2018-02-27 19:59:50 -06:00
Zebediah Figura
7ae8e84d71 Update several bug report references. 2018-02-27 00:20:18 -06:00
Zebediah Figura
11d0c892e2 Remove two more obsolete patches.
d3dx9 tests have all been fixed, and Wine no longer supports DOS executables.
2018-02-27 00:05:01 -06:00
Zebediah Figura
6a0ff5b96e Fix some rebase failures 2018-02-27 00:02:49 -06:00
Zebediah Figura
de0ef226da d3d9-DesktopWindow: Rebase and re-enable. 2018-02-26 21:30:43 -06:00
Alistair Leslie-Hughes
923358dcea Updated windowscodecs-JPEG_Decoder patchset 2018-02-27 12:38:43 +11:00
Alistair Leslie-Hughes
a1ec166849 Rebase againsts 9ae8b8c00f2cca205fdf4ce76e221778b7dfbea7 2018-02-27 12:26:58 +11:00
Alistair Leslie-Hughes
ef8e90cbdc Updated windowscodecs-TIFF_Support patch
Restore a test patch
2018-02-27 09:14:18 +11:00
Zebediah Figura
41645dc0b0 wined3d-CSMT_Main: Properly fix patchset and regenerate IfDefined. 2018-02-24 19:14:06 -06:00
Zebediah Figura
e33ae29ca0 Fix the rest of the configure lines. 2018-02-24 17:57:53 -06:00
Zebediah Figura
29b36434e8 ntdll-WRITECOPY: Fix mistakenly deleted line. 2018-02-24 17:48:15 -06:00
Zebediah Figura
ac17c5d866 Rebase against 7be8beab68c5074e78c899acac7ccb6eb2f7e22e 2018-02-24 17:43:27 -06:00
Thomas Crider
4cb811ac52 wined3d-Indexed_Vertex_Blending: 0005 apply omega13a's patch which moves transpose_matrix with minor correction 2018-02-23 19:24:46 -05:00
Brandon Amaro
caef127ac8 Update 0005-wined3d-Move-matrix-inversion-functions-into-utils.c.patch
Not only allows the patch to be applied but also moves a new matrix function that's been added after this patch was made to utils.c
2018-02-23 19:20:01 -05:00
Thomas Crider
ffd11f280d Revert "wined3d-Indexed_Vertex_Blending: 0005 fix patch apply"
This reverts commit 7773dec0f4.
2018-02-23 19:19:44 -05:00
Zebediah Figura
7b0a3f25ac Fix configure changes 2018-02-23 14:52:23 -06:00
gloriouseggroll
e180b2e4dd nvencodeapi-Video_Encoder: 0001 fix configure.ac patch apply 2018-02-23 12:21:28 -05:00
Zebediah Figura
2d66ecce58 nvcuvid-CUDA_Video_Support: Fix mistakenly deleted lines. 2018-02-23 10:03:55 -06:00
Alistair Leslie-Hughes
6bc9218559 Update patchinstall.sh 2018-02-23 14:10:42 +11:00
Alistair Leslie-Hughes
9d84ed42f1 Rebase against f9e1dbb83d850a2f7cb17079e02de139e2f8b920 2018-02-23 13:28:09 +11:00
Zebediah Figura
84fb9656a1 d3d11-Depth_Bias: Rebase and re-enable.
Note: The current git tree has tests for depth bias which would obviate 0002,
but I've left it in since the current git has no tests for depth clipping or
depth bias clamping, and I don't know how to rewrite these tests to work like
the tests JĂłzef added.
2018-02-22 12:28:35 -06:00
Zebediah Figura
52c1d8568a user32-Mouse_Message_Hwnd: Rebase and re-enable. 2018-02-22 10:02:49 -06:00
Zebediah Figura
5bf41624ab Add references to bug reports for several patches. 2018-02-21 23:47:48 -06:00
Alistair Leslie-Hughes
97461b276c Updated wined3d-1DTextures patchset 2018-02-22 16:29:04 +11:00
Alistair Leslie-Hughes
a85bb970af Updated ntdll-User_Shared_Data patchset 2018-02-22 15:52:44 +11:00
Zebediah Figura
1977c70f7d ntdll-DllRedirects: Rebase. 2018-02-21 22:38:18 -06:00
Zebediah Figura
a20cac28b5 ntdll-Hide_Wine_Exports: Fix incorrectly removed line.
Whether we want to have this patch at all is up for debate, though.
2018-02-21 22:34:05 -06:00
Zebediah Figura
6219ea48e6 ntdll-LdrRegisterDllNotification: Rebase. 2018-02-21 22:25:00 -06:00
Alistair Leslie-Hughes
950a11ae1d Updated windowscodecs-TIFF_Support patchset 2018-02-22 14:33:13 +11:00
Zebediah Figura
cf19a5d6d6 Rebase against 5ec6b8f807f61ee77b9a96d94798c8e3f3db7af4 2018-02-21 21:27:12 -06:00
Alistair Leslie-Hughes
7332557b2a updated advapi32-Token_Integrity_Level patchset 2018-02-22 12:12:39 +11:00
Zebediah Figura
c0279488d1 ntdll-APC_Start_Process: Disable. 2018-02-21 18:35:43 -06:00
Alistair Leslie-Hughes
fa8100f1b9 Updated wined3d-1DTextures patchset 2018-02-22 10:34:13 +11:00
Zebediah Figura
42fb38a610 ntdll-RtlCaptureContext: Remove.
Shown to be incorrect by https://source.winehq.org/git/wine.git/commit/2bb668b1.
2018-02-21 16:28:50 -06:00
Zebediah Figura
81667ba219 Update patchinstall.sh for previous. 2018-02-21 16:15:45 -06:00
Zebediah Figura
5f0a24beb9 ntoskrnl-DriverTest: Disable for now.
This will need some significant reworking.
2018-02-21 16:11:18 -06:00
GloriousEggroll
6fa35e72e2 Merge pull request #48 from GloriousEggroll/upstream
Upstream
2018-02-21 01:58:29 -05:00
gloriouseggroll
95f4b465bc wined3d-Indexed_Vertex_Blending: 0001, 0003 fix patch apply 2018-02-21 01:53:11 -05:00
gloriouseggroll
7773dec0f4 wined3d-Indexed_Vertex_Blending: 0005 fix patch apply 2018-02-21 01:52:51 -05:00
gloriouseggroll
a70435933a wined3d-Indexed_Vertex_Blending: 0004 fix patch apply 2018-02-21 01:52:42 -05:00
gloriouseggroll
06a6abe197 wined3d-Indexed_Vertex_Blending: 0002 fix patch apply 2018-02-21 01:52:30 -05:00
Alistair Leslie-Hughes
669b58c813 Updated ws2_32-WSACleanup patchset 2018-02-21 14:19:44 +11:00
Alistair Leslie-Hughes
9c74ae13d4 Updated shell32-UnixFS patchset 2018-02-21 14:19:44 +11:00
GloriousEggroll
ad9df471b8 Merge pull request #47 from GloriousEggroll/upstream
wined3d-Revert_Surface_Blt: 0001 update format->convert to conv_byte_…
2018-02-20 21:44:37 -05:00
gloriouseggroll
32b5281e4a wined3d-Revert_Surface_Blt: 0001 update format->convert to conv_byte_count: bc75bec270bfdc09c881799b331aabf4d119a271 2018-02-20 21:43:53 -05:00
Alistair Leslie-Hughes
9f7244a1c6 Fixed upstream by 59a7777f8494d909b9366015157d8be4ef1edb46 2018-02-21 13:28:43 +11:00
Zebediah Figura
c13d7cca17 advap32-Token_Integrity_Level: Fix changes to configure.ac in patch 0014. 2018-02-20 20:05:18 -06:00
Alistair Leslie-Hughes
a14e2990e5 Rebased against c3beca6c8fc8c07ecd992e64f8f8d0dda3a10ac8 2018-02-21 11:58:38 +11:00
Alistair Leslie-Hughes
8b6ef3476f Updated inseng patchset 2018-02-21 10:49:31 +11:00
Alistair Leslie-Hughes
471aacbe42 Updated dxgi-MakeWindowAssociation patchset 2018-02-21 10:49:31 +11:00
GloriousEggroll
1943caeef2 Merge pull request #46 from GloriousEggroll/testing
winebuild-Fake_Dlls, wined3d-1DTextures
2018-02-20 18:21:53 -05:00
gloriouseggroll
cf8a34a673 wined3d-1DTextures: 0001 fix wined3d_dummy_textures so it doesnt affect other patches 2018-02-20 18:13:17 -05:00
gloriouseggroll
139c48ff16 wined3d-1DTextures: 0001 update with new format 2018-02-20 18:07:54 -05:00
gloriouseggroll
4f69cc1bb7 winebuild-Fake_Dlls: 0010 fix patch apply 2018-02-20 18:07:02 -05:00
Alistair Leslie-Hughes
e71ab406f1 Updated bcrypt-Improvements
Updates patch #0029 to allow test to compile.
2018-02-21 08:54:33 +11:00
Alistair Leslie-Hughes
c35053e845 Updated ws2_32-WSACleanup patch 2018-02-20 20:43:52 +11:00
Alistair Leslie-Hughes
08182c7af0 Updated virtdisk-GetStorageDependencyInformation patchset 2018-02-20 20:34:30 +11:00
Alistair Leslie-Hughes
0364bdc886 Updated stdole32.idl-Typelib patchset 2018-02-20 20:32:47 +11:00
Alistair Leslie-Hughes
3459356aa2 Updated nvencodeapi-Video_Encoder patchset 2018-02-20 20:25:01 +11:00
Alistair Leslie-Hughes
779bfda14e Updated nvcuvid-CUDA_Video_Support patchset 2018-02-20 20:22:24 +11:00
Alistair Leslie-Hughes
4cea402c50 Updated nvapi-Stub_DLL patchset 2018-02-20 20:20:32 +11:00
Alistair Leslie-Hughes
c0d536d04b Updated nvcuda-CUDA_Support patchset 2018-02-20 20:17:52 +11:00
Alistair Leslie-Hughes
aecae62db4 Updated ntdll-NtQueryVirtualMemory patchset 2018-02-20 20:11:48 +11:00
Alistair Leslie-Hughes
341fc2c260 Udpated ntdll-DllRedirects patchset 2018-02-20 20:09:26 +11:00
Alistair Leslie-Hughes
75654525c4 Updated ntdll-DOS_Attributes patchset
0007-ntdll-Perform-the-Unix-style-hidden-file-check-withi
2018-02-20 20:05:47 +11:00
Alistair Leslie-Hughes
00c019a55e Merge pull request #45 from obsequiousnewt/master
update
2018-02-20 13:08:26 +11:00
Zebediah Figura
0372a60903 msi-MsiGetDatabaseState: Remove patch 0002.
Fixed by 237ec64807
2018-02-19 19:57:21 -06:00
Zebediah Figura
50dc891626 fix depedences and update patchinstall.sh 2018-02-19 19:57:21 -06:00
Zebediah Figura
25867f4e2e ntdll-DOS_Attributes: Add reference to bug #15679. 2018-02-19 19:57:21 -06:00
GloriousEggroll
aec386ceb9 Merge pull request #44 from GloriousEggroll/upstream
wined3d-CSMT_Main: 9999-IfDefined fix
2018-02-19 20:45:38 -05:00
gloriouseggroll
8030515325 wined3d-CSMT_Main: patch corrections-2 2018-02-19 20:44:04 -05:00
gloriouseggroll
15d6ebeab2 wined3d-CSMT_Main: initial patch corrections 2018-02-19 20:43:50 -05:00
Brandon Amaro
669232e38f Update 9999-IfDefined.patch
Allows the patch to be applied
2018-02-19 20:43:36 -05:00
GloriousEggroll
7311dd6848 Merge pull request #43 from GloriousEggroll/upstream
wined3d-1DTextures: 0008 correct typo
2018-02-19 20:34:39 -05:00
Alistair Leslie-Hughes
3ee8f1c014 Rebase against 538263d0efe725124df88ce1cce124bc3ad7e2af 2018-02-20 12:17:11 +11:00
gloriouseggroll
4675c9c0d9 wined3d-1DTextures: 0008 correct typo 2018-02-19 19:18:10 -05:00
GloriousEggroll
852c641a59 Merge pull request #42 from GloriousEggroll/upstream
Fixes d3dx9_36-DXTn compile issues.
2018-02-19 18:30:14 -05:00
gloriouseggroll
3954c8b1fa d3dx9_36-DXTn: fix makefile entries for missing d3dx9_41 42 43 - again 2018-02-19 18:28:57 -05:00
gloriouseggroll
8d07a09d37 d3dx9_36-DXTn: fix makefile entries for missing d3dx9_41 42 43 2018-02-19 18:28:47 -05:00
gloriouseggroll
f035f18061 d3dx9_36-DXTn: fix makefile entries from previous working patch 2018-02-19 18:28:33 -05:00
gloriouseggroll
3d396bbbcd d3dx9_36-DXTn: update to 1d08851c35, somehow was reverted to very old version 2018-02-19 18:28:21 -05:00
GloriousEggroll
209c938af4 Merge pull request #41 from GloriousEggroll/upstream
fix wined3d-1DTextures, remove deprecated wined3d-GenerateMips
2018-02-19 16:53:42 -05:00
gloriouseggroll
25c32643d1 wined3d-1DTextures: 0004 - fix incorrect way to check WINED3D_POOL_MANAGED 2018-02-19 16:49:59 -05:00
gloriouseggroll
d08487e304 wined3d-1DTextures: 0004 - fix debug_d3dpool compile error 2018-02-19 16:49:44 -05:00
gloriouseggroll
0f313c9f99 wined3d-1DTextures: 0004,008 - update to use global memory alloc as changed in mainline 2018-02-19 16:49:30 -05:00
gloriouseggroll
96b4e33894 wined3d-1DTextures: 0004 fix compiling-5 - just remove mipmap check, deprecated and all other checks removed in mainline 2018-02-19 16:49:13 -05:00
gloriouseggroll
45fbdfad6c wined3d-1DTextures: 0004 fix compiling-4 2018-02-19 16:49:02 -05:00
gloriouseggroll
d01ff543f3 wined3d-1DTextures: 0004 fix compiling-3 2018-02-19 16:48:48 -05:00
gloriouseggroll
5978ff107d wined3d-1DTextures: 0006,0007,0008 fix compiling-2 2018-02-19 16:48:35 -05:00
gloriouseggroll
0fb2bacdac wined3d-1DTextures: 0001-create-dummy-1d-textures not sure why this was removed. re-adding to attempt to fix compiling 2018-02-19 16:48:19 -05:00
gloriouseggroll
3585affaa9 removed, mainlined. generation of mips implemented in 0daea6d2a08b76ff3548d8e16c44cf629d8afa9b, bb3b55ce22f96d443c2053f6b1eb24e087ca1377 2018-02-19 16:47:52 -05:00
GloriousEggroll
f728c04557 Merge pull request #40 from GloriousEggroll/upstream
Upstream
2018-02-19 05:16:06 -05:00
gloriouseggroll
ebab0ccb03 wined3d-GenerateMips: 0003-d3d11-Implement-d3d10_device fix compile error 2018-02-19 05:12:17 -05:00
gloriouseggroll
5a297663cf wined3d-GenerateMips: 0001-d3d11-tests-Add-basic-test fix patch apply and compile 2018-02-19 05:11:49 -05:00
Brandon Amaro
8823b6c0d0 Update 0003-d3d11-Implement-d3d10_device_GenerateMips.patch
Allows the patch to be applied
2018-02-19 05:11:27 -05:00
Brandon Amaro
bfb30ebb53 Update 0002-wined3d-Implement-generation-of-mip-maps-for-shader-.patch
Allows the patch to be applied
2018-02-19 05:11:09 -05:00
Brandon Amaro
8ef881e9c0 Update 0001-d3d11-tests-Add-basic-test-for-mipmap-level-generati.patch
allows patch file to be applied
2018-02-19 05:10:49 -05:00
GloriousEggroll
9f233cfd3c Merge pull request #39 from GloriousEggroll/upstream
wined3d-Dual_Source_Blending: 0002-d3d11-tests-add-basic-dual-source …
2018-02-19 03:25:49 -05:00
gloriouseggroll
0150681304 wined3d-Dual_Source_Blending: 0002-d3d11-tests-add-basic-dual-source fix patch apply 2018-02-19 03:23:52 -05:00
GloriousEggroll
87281f1eba Merge pull request #28 from omega13a/patch-23
Update 0001-wined3d-Allow-arbitrary-viewports-for-d3d11.patch
2018-02-19 01:20:37 -05:00
GloriousEggroll
74292f1feb Merge pull request #26 from omega13a/patch-22
Update 0001-wined3d-Use-OpenGL-core-context-for-D3D10-11-when-ne.patch
2018-02-19 01:20:27 -05:00
GloriousEggroll
1d6e0dc90e Merge pull request #22 from omega13a/patch-18
Update 0004-winex11.drv-Indicate-direct-rendering-through-OpenGL.patch
2018-02-19 01:20:13 -05:00
Alistair Leslie-Hughes
fb385c985c Merge pull request #25 from omega13a/patch-21
Update 0010-tools-winebuild-Add-syscall-thunks-for-64-bit.patch
2018-02-19 17:06:02 +11:00
Alistair Leslie-Hughes
167843b4f5 Merge pull request #24 from omega13a/patch-20
Update 0002-krnl386.exe16-Do-not-abuse-WOW32Reserved-field-for-1.patch
2018-02-19 17:05:03 +11:00
Alistair Leslie-Hughes
a4c1a65b66 Merge pull request #23 from omega13a/patch-19
Update 0001-kernel32-tests-Add-basic-tests-for-fake-dlls.patch
2018-02-19 17:04:24 +11:00
Alistair Leslie-Hughes
a4e0892be4 Merge pull request #27 from GloriousEggroll/upstream
ntdll-User_Shared_Data: 0004-ntdll-tests-test-updating-tickcount fix …
2018-02-19 15:35:42 +11:00
Alistair Leslie-Hughes
91fa94203c Merge pull request #29 from omega13a/patch-24
Update 0003-wined3d-Implement-dual-source-blending.patch
2018-02-19 15:34:57 +11:00
Brandon Amaro
1759d5c248 Update 0003-wined3d-Implement-dual-source-blending.patch
Allows the patch file to be applied
2018-02-18 15:23:18 -08:00
Brandon Amaro
8cf7f25acc Update 0001-wined3d-Allow-arbitrary-viewports-for-d3d11.patch 2018-02-18 15:09:41 -08:00
Brandon Amaro
14cb31feb9 Update 0001-wined3d-Allow-arbitrary-viewports-for-d3d11.patch
allows the patch file to be applied
2018-02-18 15:06:43 -08:00
gloriouseggroll
c0280c3c49 ntdll-User_Shared_Data: 0004-ntdll-tests-test-updating-tickcount fix missing pNtGetTickCount var 2018-02-18 17:58:42 -05:00
Brandon Amaro
22eb6311e7 Update 0001-wined3d-Use-OpenGL-core-context-for-D3D10-11-when-ne.patch
Allows the patch to be applied
2018-02-18 14:58:24 -08:00
Brandon Amaro
02aff3e781 Update 0010-tools-winebuild-Add-syscall-thunks-for-64-bit.patch
Allows the patch to be applied
2018-02-18 14:31:58 -08:00
Brandon Amaro
bdf29b7cdc Update 0002-krnl386.exe16-Do-not-abuse-WOW32Reserved-field-for-1.patch
Allows the patch to be applied. Don't know if the code modification was correct but the patch now will apply during installation.
2018-02-18 14:26:30 -08:00
Brandon Amaro
dcef4cecb0 Update 0001-kernel32-tests-Add-basic-tests-for-fake-dlls.patch
Allows the patch to be applied
2018-02-18 14:12:52 -08:00
Brandon Amaro
bfe07a8e82 Update 0004-winex11.drv-Indicate-direct-rendering-through-OpenGL.patch
Allows the patch to be applied
2018-02-18 13:53:50 -08:00
Alistair Leslie-Hughes
b26132831e Merge pull request #21 from obsequiousnewt/master
Fixes for patchinstall.sh and more updates
2018-02-19 07:20:15 +11:00
Zebediah Figura
6ae68a30f2 ntdll-DOS_Attributes: Update definition. 2018-02-18 11:32:10 -06:00
Zebediah Figura
1d511798d0 Remove oleaut32-Vtable_Offset.
Fixed by https://source.winehq.org/git/wine.git/dd012af92a93fdf77ec648e422b4fb96369b42eb.
2018-02-18 11:26:46 -06:00
Zebediah Figura
0cfbc55f24 d3dx9_36-D3DXStubs: Update definition. 2018-02-18 11:24:17 -06:00
Zebediah Figura
80d7ae1e23 wined3d-WINED3D_RS_COLORWRITEENABLE: Rebase. 2018-02-18 11:18:05 -06:00
Zebediah Figura
77d4bb66d5 Remove wined3d-Copy_Resource_Typeless.
Fixed by https://source.winehq.org/git/wine.git/7374c8325dcfc0e70b3032cdf5702f5d50833271.
2018-02-18 11:09:01 -06:00
Zebediah Figura
3d8124a27f windowscodecs-GIF_Encoder: Remove patches 0005 and 0007.
Fixed by 0be89601f5.
2018-02-18 10:59:48 -06:00
Zebediah Figura
abaeab8e60 Bump version to 3.2. 2018-02-18 10:57:27 -06:00
Zebediah Figura
f11d05b414 Disable patches instead of commenting them out.
patchinstall.sh is autogenerated and should not be edited by hand.
2018-02-18 10:56:24 -06:00
Zebediah Figura
7e86c9d3dd ntdll-CLI_Images: Fix patch formatting. 2018-02-18 10:52:03 -06:00
Alistair Leslie-Hughes
c0594b617e Merge pull request #20 from omega13a/patch-17
Update 0014-windowscodecs-Add-some-tests-for-various-TIFF-color-.patch
2018-02-18 23:39:28 +11:00
Brandon Amaro
97e67509d5 Update 0014-windowscodecs-Add-some-tests-for-various-TIFF-color-.patch
Allows the patch file to be applied
2018-02-18 00:25:19 -08:00
Alistair Leslie-Hughes
18f211f6f2 Merge pull request #19 from omega13a/patch-15
Update 0001-windowscodecs-tests-Add-a-test-for-8bpp-indexed-TIFF.patch
2018-02-18 19:17:46 +11:00
Alistair Leslie-Hughes
020e93fd21 Merge pull request #18 from omega13a/patch-16
Update patchinstall.sh
2018-02-18 19:17:32 +11:00
Alistair Leslie-Hughes
3e2ae7b1b3 Merge pull request #17 from GloriousEggroll/master
wined3d-buffer_create: remove, mainlined, handled by desc->access: ht…
2018-02-18 19:17:17 +11:00
Brandon Amaro
483c939258 Update 0001-windowscodecs-tests-Add-a-test-for-8bpp-indexed-TIFF.patch
allows the patch file to be applied
2018-02-18 00:14:44 -08:00
Brandon Amaro
47fa8b8289 Update patchinstall.sh
Don't apply patches/windowscodecs-GIF_Encoder/0005-windowscodecs-Avoid-crashing-if-no-IPropertyBag2-was.patch and patches/windowscodecs-GIF_Encoder/0007-windowscodecs-Avoid-crashing-if-no-IPropertyBag2-was.patch.  They already been applied to wine 3.2
2018-02-17 23:58:05 -08:00
gloriouseggroll
54cf96ed97 wined3d-buffer_create: remove, mainlined, handled by desc->access: 916c13c6c1 2018-02-18 02:52:26 -05:00
Alistair Leslie-Hughes
d75cdefbcf Merge pull request #16 from GloriousEggroll/master
wined3d-1DTextures,  d3d11-ID3D11Texture1D, ddraw-Rendering_Targets fix deprecated vars
2018-02-18 18:30:51 +11:00
gloriouseggroll
c045545a88 Merge https://github.com/wine-staging/wine-staging 2018-02-18 02:12:09 -05:00
gloriouseggroll
9c776c29a3 uxtheme-GTK_Theming: 0001-uxthemegtk-add-configure-check fix apply patch 2018-02-18 01:56:12 -05:00
Alistair Leslie-Hughes
a1d059b2b2 Rebased patches
Disable Mouse-Move patch (To Confirm fixed)
2018-02-18 17:52:17 +11:00
gloriouseggroll
5baee54763 ddraw-Rendering_Targets: 0001-ddraw-create-rendering-targets fix apply patch 2018-02-18 01:41:53 -05:00
gloriouseggroll
adf35b866f d3d11-ID3D11Texture1D: 0002-d3d11-create-a-texture-in-d3d fix apply 2018-02-18 01:41:32 -05:00
gloriouseggroll
1b1aa41aa5 wined3d-1DTextures: 0004 and 0016 fix compile error 2018-02-18 01:41:19 -05:00
Alistair Leslie-Hughes
0bacf48a3d Rebase against 2936f3f9bb9dc01c595498a821d6adb6775b62cc
- Disable a few patches which dont apply cleanly.

- bias patches need to be revisited. (possible already fixed)
2018-02-18 16:12:48 +11:00
Alistair Leslie-Hughes
19c3c06677 Merge branch 'obsequiousnewt-master' 2018-02-18 14:48:31 +11:00
Alistair Leslie-Hughes
ddb4914549 Merge branch 'master' of git://github.com/obsequiousnewt/wine-staging into obsequiousnewt-master 2018-02-18 14:47:56 +11:00
Alistair Leslie-Hughes
48352aa496 Merge pull request #12 from omega13a/patch-11
Update 0001-ntdll-Catch-windows-int-0x2e-syscall-on-i386.patch
2018-02-18 14:40:52 +11:00
Alistair Leslie-Hughes
657d16845b Merge pull request #11 from omega13a/patch-10
Update 0001-ntdll-Implement-HashLinks-field-in-LDR-module-data.patch
2018-02-18 14:40:42 +11:00
Alistair Leslie-Hughes
14dc2c4737 Merge pull request #10 from omega13a/patch-9
Update 0005-ntdll-Implement-loader-redirection-scheme.patch
2018-02-18 14:40:09 +11:00
Brandon Amaro
0507f73a22 Update 0001-ntdll-Catch-windows-int-0x2e-syscall-on-i386.patch
Allows the patch file to be applied
2018-02-17 19:16:05 -08:00
Brandon Amaro
464eada106 Update 0001-ntdll-Implement-HashLinks-field-in-LDR-module-data.patch
Allows the patch file to be applied
2018-02-17 19:09:37 -08:00
Brandon Amaro
472c1048ec Update 0005-ntdll-Implement-loader-redirection-scheme.patch
allows the patch to be applied
2018-02-17 19:00:36 -08:00
Alistair Leslie-Hughes
d08debc99a Merge pull request #8 from omega13a/patch-7
Update 0001-ntdll-Load-CLI-.NET-images-in-the-same-way-as-Window.patch
2018-02-18 13:57:27 +11:00
Alistair Leslie-Hughes
55cb3e6d00 Merge pull request #9 from omega13a/patch-8
Update 0001-ntdll-Do-not-allow-to-allocate-thread-stack-for-curr.patch
2018-02-18 13:47:40 +11:00
Alistair Leslie-Hughes
616ab59674 Merge pull request #6 from omega13a/patch-6
Update 0004-ntdll-tests-Test-updating-TickCount-in-user_shared_d.patch
2018-02-18 13:45:17 +11:00
Alistair Leslie-Hughes
7bb5434fda Merge pull request #5 from omega13a/patch-5
Update 0003-ntdll-Create-thread-to-update-user_shared_data-time-.patch
2018-02-18 13:44:57 +11:00
Alistair Leslie-Hughes
7f6818cf31 Merge pull request #4 from omega13a/patch-4
Update 0001-ntdll-Move-code-to-update-user-shared-data-into-a-se.patch
2018-02-18 13:44:26 +11:00
Alistair Leslie-Hughes
a52ca8416d Merge pull request #2 from omega13a/patch-2
Update 0001-ntdll-Add-support-for-hiding-wine-version-informatio.patch
2018-02-18 13:44:07 +11:00
Alistair Leslie-Hughes
dc1bc1aff6 Merge pull request #3 from omega13a/patch-3
Update patchinstall.sh
2018-02-18 13:43:47 +11:00
Alistair Leslie-Hughes
e06053b609 Merge pull request #1 from omega13a/patch-1
Update 0001-ntdll-Ensure-process-dlls-are-not-attached-too-early.patch
2018-02-18 13:43:26 +11:00
Brandon Amaro
6ad8b3ed57 Update 0001-ntdll-Do-not-allow-to-allocate-thread-stack-for-curr.patch
Allows the patch to be applied
2018-02-17 17:49:46 -08:00
Brandon Amaro
5065df86e0 Update 0001-ntdll-Load-CLI-.NET-images-in-the-same-way-as-Window.patch
Don't know if it works but it allows the patch to be applied
2018-02-17 17:44:48 -08:00
Zebediah Figura
0f57303c6a winex11-UpdateLayeredWindow: Rebase. 2018-02-17 19:30:41 -06:00
Zebediah Figura
ddb9fa82ca Remove wined3d-Revert_Buffer_Upload.
This was for https://bugs.winehq.org/show_bug.cgi?id=42410, fixed by https://source.winehq.org/git/wine.git/e97ed10d09a94cae9bd449f297813a0f0722a378.
2018-02-17 19:27:30 -06:00
Zebediah Figura
909b4e25d6 wined3d-Accounting: Rebase. 2018-02-17 19:23:00 -06:00
Zebediah Figura
9a13d50c53 windowscodecs-Palette_Images: Rebase. 2018-02-17 19:19:55 -06:00
Zebediah Figura
11bcc32cd1 wbemprox-Win32_VideoController: Remove patch 0005.
Fixed by 7c0025b608
2018-02-17 19:16:06 -06:00
Zebediah Figura
d73f96248d user32-WindowDisplayAffinity: Rebase. 2018-02-17 19:13:01 -06:00
Zebediah Figura
772a410836 widl-SLTG_Typelib_Support: Rebase. 2018-02-17 19:08:48 -06:00
Zebediah Figura
81174370bb shell32-Context_Menu: Rebase. 2018-02-17 19:05:54 -06:00
Zebediah Figura
469d9bb7bf ntdll-Threading: Rebase. 2018-02-17 18:59:43 -06:00
Zebediah Figura
f97fd0676d server-Pipe_ObjectName: Rebase. 2018-02-17 18:55:54 -06:00
Zebediah Figura
1bec48302b Remove rasapi32-RasGetConnectionStatistics.
Fixed by 290aec59aa
2018-02-17 18:51:37 -06:00
Zebediah Figura
289404eabe oleaut32-TKIND_COCLASS: Rebase. 2018-02-17 18:49:21 -06:00
Zebediah Figura
cb536ac20c ole32-HGLOBALStream: Rebase. 2018-02-17 18:44:28 -06:00
Zebediah Figura
1537775f66 ntdll-x86_64_ExceptionInformation: Remove patch 0002.
Fixed by 959d240cbe
2018-02-17 18:39:39 -06:00
Zebediah Figura
05fafd86f0 ntdll-RtlQueryPackageIdentity: Rebase. 2018-02-17 18:37:09 -06:00
Zebediah Figura
3dadc9b50b ntdll-Pipe_SpecialCharacters: Rebase. 2018-02-17 18:33:34 -06:00
Zebediah Figura
7993a8d151 Remove ntdll-Attach_Process_Dlls
Fixed by https://source.winehq.org/git/wine.git/ed893d3591802bb562d100b277f968be402af740
2018-02-17 18:27:25 -06:00
Zebediah Figura
8c1c90df75 Remove wevtapi-EvtNext
fixed by aaf4e1d93d
2018-02-17 17:47:28 -06:00
Zebediah Figura
c58d017024 Remove user32-Revert_ListBox_Height.
Fixed by f0fc034997
2018-02-17 17:47:19 -06:00
Zebediah Figura
47754ac770 Remove user32-Invalidate_Key_State
fixed by 059d5ece23
2018-02-17 17:47:16 -06:00
Zebediah Figura
dce52cb85c Update patchinstall.sh 2018-02-17 17:47:13 -06:00
Zebediah Figura
b929eb6f9e fix dependencies 2018-02-17 17:47:07 -06:00
Brandon Amaro
db95c3ad44 Update 0004-ntdll-tests-Test-updating-TickCount-in-user_shared_d.patch
Allows the patch to be applied
2018-02-17 15:22:16 -08:00
Brandon Amaro
3e7844d276 Update 0003-ntdll-Create-thread-to-update-user_shared_data-time-.patch
allows the patch to be applied
2018-02-17 15:15:13 -08:00
Brandon Amaro
2f66d7483c Update 0001-ntdll-Move-code-to-update-user-shared-data-into-a-se.patch
Allows the patch to be applied
2018-02-17 14:58:48 -08:00
Brandon Amaro
70db296c0e Update patchinstall.sh
Remove 0002-ntdll-Avoid-crash-when-trying-to-access-page-prot-of.patch as the patch appears to be already applied in WINE.
2018-02-17 14:49:38 -08:00
Brandon Amaro
047fc8866d Update 0001-ntdll-Add-support-for-hiding-wine-version-informatio.patch
allows the patch to be applied
2018-02-17 13:40:54 -08:00
Brandon Amaro
f2fd3be62d Update 0001-ntdll-Ensure-process-dlls-are-not-attached-too-early.patch
Don't know if this works but it appears to allow the patch to be applied.
2018-02-17 13:29:34 -08:00
Alistair Leslie-Hughes
7622ec9450 Rebase against 65989f2ace1b06617638e31cb7ba56deb38fe690 2018-02-17 14:01:23 +11:00
Alistair Leslie-Hughes
6581a6f2ea Rebase against 389c3add0ad93f3b2180c636363b25f6c78757a2 2018-02-17 14:01:23 +11:00
Alistair Leslie-Hughes
47d2040c12 Rebase against 9d897b73a877e5eaae26df87930c951ff8273c14 2018-02-17 14:01:23 +11:00
Alistair Leslie-Hughes
e58651c321 Rebase against 0f1cb96b694a38106464044285296e531f90bb67 2018-02-17 14:01:23 +11:00
Alistair Leslie-Hughes
8b685b1ebd Rebase against 354fa7eb7921c3317e7943c18871febe5570dd52 2018-02-17 14:01:23 +11:00
Alistair Leslie-Hughes
b6035fb652 Rebase against f9181daa1ddc2c10d3b6ddd4610bc1421cfd0f42 2018-02-17 14:01:23 +11:00
Sebastian Lackner
90679f2faf Release 2.21. 2017-11-22 00:25:49 +01:00
Sebastian Lackner
5263c29479 oleaut32-x86_64_Marshaller: Fix compilation on x86_64. 2017-11-21 16:54:53 +01:00
Sebastian Lackner
aa9bb78434 Rebase against 53290d2ec483006656987352d53842ffc1852c91. 2017-11-21 09:51:39 +01:00
Sebastian Lackner
ad21b3e74b msi-Dummy_Thread: Add reference to bug report. 2017-11-08 20:49:11 +01:00
Sebastian Lackner
da5cab425d Rebase against f962bb0039c87c084214ca0bd4f40693db376195. 2017-11-08 19:10:05 +01:00
Sebastian Lackner
9ac47d26d7 Rebase against 2c51fc1bfc1d551aebb47616c19d3329c5e0f7f6. 2017-11-08 05:03:26 +01:00
Sebastian Lackner
b3199000fe Rebase against 31ef99245ae8cd08b2bb611a2a8803c6206f4d54. 2017-11-08 04:00:15 +01:00
Sebastian Lackner
9e01cd7628 Rebase against 039d267b0925273197a9edcf7664c4a42dca932d. 2017-11-08 02:52:58 +01:00
Sebastian Lackner
14750b5cf8 Release 2.20. 2017-11-06 00:58:12 +01:00
Sebastian Lackner
8596e77b21 Rebase against 40b7831cd80607e42b9e1c910a62f022c45ac884. 2017-11-02 09:00:51 +01:00
Sebastian Lackner
a44a43769b Rebase against d0f2361170d140ad2510bb26ad187d30fd1c1afa. 2017-10-27 23:42:26 +02:00
Sebastian Lackner
a9ee89f869 Rebase against c14a16b08911d1695e42b75c60436ace9f42ea01. 2017-10-27 21:23:08 +02:00
Sebastian Lackner
a8a83ab795 Rebase against 981dec4986e7ac1982049dbede1ca2aa72f5e70c. 2017-10-27 19:40:52 +02:00
Sebastian Lackner
e3089157b4 Rebase against 57ca6b90bb7337cb90465b3bf1f147e3d2564f2e. 2017-10-23 17:07:04 +02:00
Sebastian Lackner
9d1ea3e695 Release 2.19. 2017-10-20 19:12:39 +02:00
Sebastian Lackner
5110081815 Added patch to fix double-free in build_shared_mapping. 2017-10-16 16:40:29 +02:00
Sebastian Lackner
fd2221cfd9 Added patch to implement BCrypt RSA provider. 2017-10-14 22:52:22 +02:00
Sebastian Lackner
5e03e4422d d3d11-Depth_Bias: Added patches to implement support for depth bias clamping. 2017-10-14 17:54:36 +02:00
Sebastian Lackner
5149b192c9 Rebase against cf5616ffbb39df7ad3ac0a41e55777ab6c1abab9. 2017-10-14 10:21:44 +02:00
Sebastian Lackner
71bcbb308e Rebase against 4b028bb09cb9563e111fedab0f4c3663dc278d0a. 2017-10-12 11:15:17 +02:00
Sebastian Lackner
da45303bdc Rebase against ee7ddd1ed38a3b2f41bdb676f42e3453021968c1. 2017-10-11 08:54:10 +02:00
Sebastian Lackner
7dc2c0f2c6 Rebase against 63d6dce04746237c1cb39c22914ed666c55178e1. 2017-10-09 23:45:35 +02:00
Sebastian Lackner
1be574ad0d Added patch to ensure NtUnmapViewOfSection doesn't fail when trying to unmap builtin view. 2017-10-09 14:36:09 +02:00
Sebastian Lackner
12802a92b6 wuauserv-Dummy_Service: Add reference to bug report. 2017-10-09 13:52:20 +02:00
Sebastian Lackner
62f66c7aaa nvapi-Stub_DLL: Add reference to bug report. 2017-10-08 17:53:37 +02:00
Sebastian Lackner
25313a5526 Added patch to revert changes to address_space_start in virtual_init.
Breaks loading of all DOS executables.
2017-10-08 11:17:47 +02:00
Sebastian Lackner
f79f1d1e79 d3d11-Deferred_Context: Allow NULL pointer for initial count in d3d11_deferred_context_CSSetUnorderedAccessViews. 2017-10-08 07:01:33 +02:00
Sebastian Lackner
1b974b234d Rebase against fb8226f639093a3fef41f7273fa0089246d1dfa4. 2017-10-06 23:32:59 +02:00
Sebastian Lackner
7c183df10b Rebase against 825d5c86415d9e76c92a9d533c00790efe847ae7. 2017-10-05 23:09:54 +02:00
Sebastian Lackner
2cc3a4b98f gdiplus-DC_Handling: Remove reference to bug report. 2017-10-05 14:11:22 +02:00
Sebastian Lackner
053046f489 Added patch to implement stub for rasapi32.RasGetConnectionStatistics. 2017-10-05 14:09:49 +02:00
Sebastian Lackner
d677406b2a ntdll-TokenLogonSid: Fix some test failures. 2017-10-05 13:55:07 +02:00
Sebastian Lackner
3945cbfe36 Rebase against 9a53298eed493080fb132d0cd57fffa95b00b1ec. 2017-10-05 05:12:57 +02:00
Sebastian Lackner
48c730f761 Rebase against b34ea10112227a0d8554c81fc093c0cf6e1bc1b7. 2017-10-05 03:48:24 +02:00
Sebastian Lackner
788e74086e Rebase against e9c69fde09f0aca171652aaa2e26db2ef075d243. 2017-10-04 21:15:05 +02:00
Sebastian Lackner
726c476b6a Release 2.18. 2017-10-04 17:57:43 +02:00
Sebastian Lackner
568d91cbca ntdll-x86_64_ExceptionInformation: Handle a few more privileged instructions. 2017-10-04 17:56:31 +02:00
Sebastian Lackner
9f619e92e8 wined3d-Dual_Source_Blending: Update patchset. 2017-10-04 17:16:37 +02:00
Sebastian Lackner
a231c76ff4 user32-FlashWindowEx: Update and reenable patchset. 2017-10-04 03:46:59 +02:00
Sebastian Lackner
5672a07b8d Added patch to return CR_NO_SUCH_DEVNODE from CM_Get_Parent stub. 2017-10-04 03:28:28 +02:00
Sebastian Lackner
2d16aafa9a Added patch to keep reference on mapping for shared PE mappings. 2017-10-04 03:22:01 +02:00
Sebastian Lackner
431c546ca5 ntdll-segv_handler: Update patchset and implement proper detection of privileged instructions. 2017-10-04 01:53:09 +02:00
Sebastian Lackner
18a46d576a Added patch with backport for regression caused by virtual memory management changes. 2017-10-04 00:49:31 +02:00
Sebastian Lackner
7131b6ce3c crypt32-ECDSA_Cert_Chains: Avoid compile failures with gnutls < 3. 2017-10-03 05:45:20 +02:00
Sebastian Lackner
edf6f27f25 Added patch to implement support for validating ECDSA certificate chains. 2017-10-02 16:28:12 +02:00
Sebastian Lackner
76cd811f73 nvcuda-CUDA_Support: Add semi stub for cuD3D10GetDevice. 2017-10-02 16:00:52 +02:00
Sebastian Lackner
93b9924d3c d3d11-Deferred_Context: Implement restoring of state after executing a command list in d3d11. 2017-10-02 15:53:50 +02:00
Sebastian Lackner
b6b1505f12 wined3d-Interpolation_Modifiers: Add quirk for broken auxiliary qualifier matching in wined3d. 2017-10-02 15:11:17 +02:00
Sebastian Lackner
65acc06d90 Added patch to implement vsync handling for d3d10/d3d11. 2017-10-02 14:44:37 +02:00
Sebastian Lackner
b67879cfb2 d3d11-Deferred_Context: Allow NULL pointer for initial count in OMSetRenderTargetsAndUnorderedAccessViews.
Thanks Michael MĂĽller.
2017-10-02 13:56:05 +02:00
Sebastian Lackner
c3167b37c2 Added patch to define missing message string for TRUST_E_NOSIGNATURE. 2017-10-01 05:43:03 +02:00
Sebastian Lackner
37bc3c21bf Added patch with additional tests for job object accounting. 2017-10-01 04:53:37 +02:00
Sebastian Lackner
cc7f8f108a d3d11-Deferred_Context: Add dependency on wined3d-1DTextures. 2017-10-01 04:10:32 +02:00
Sebastian Lackner
dd1a215bef Added patch to fix crash when exporting REG_SZ data if size == 0. 2017-09-30 18:48:25 +02:00
Sebastian Lackner
4c7e1e892a Added patch to fix size of allocated ranges block. 2017-09-30 16:26:16 +02:00
Sebastian Lackner
f7fdbd9bbf Rebase against 2ae0574d8eac19db501a79ce2597f2fe30a770bd. 2017-09-29 09:54:59 +02:00
Sebastian Lackner
d654c8fe4b Added patch to fix length of some algorithm names in aProvEnumAlgsEx array. 2017-09-28 07:42:39 +02:00
Sebastian Lackner
85e5931a01 Added patch to always define hton/ntoh macros in winsock.h. 2017-09-28 07:03:37 +02:00
Sebastian Lackner
e95dde704f msi-MsiGetDatabaseState: Remove reference to bug report. 2017-09-28 00:13:59 +02:00
Sebastian Lackner
f7b70e7914 dwmapi-DwmSetIcon: Remove reference to bug report. 2017-09-28 00:12:32 +02:00
Sebastian Lackner
cd5a748195 Added patch to avoid unexpanding ComputerName in PathUnExpandEnvStrings. 2017-09-28 00:11:16 +02:00
Sebastian Lackner
7dcf0a40b3 Added patch to close process / thread handles in kernel32/tests. 2017-09-27 23:56:17 +02:00
Sebastian Lackner
34a26b4e9e wined3d-GenerateMips: Added patch to implement d3d10_device_GenerateMips. 2017-09-27 23:49:17 +02:00
Sebastian Lackner
13a6f6a44d Rebase against c91a531957acaf4cf7cdb985b5ba47a273f5f9b2. 2017-09-27 05:09:54 +02:00
Sebastian Lackner
094f2d8d0c Rebase against 44cb0afb2571984bda8ca1fa084a50c1fc04ac71. 2017-09-25 16:18:50 +02:00
Sebastian Lackner
48ffaa6b21 Rebase against 25a8773d21d0113dc5e4f9dee49d9d9dbeed347b. 2017-09-22 08:48:47 +02:00
Sebastian Lackner
17ebaec62c Rebase against 0991e015316e382f787b1f5c93b483c3faf04b9b. 2017-09-21 00:33:55 +02:00
Sebastian Lackner
3b068197d3 Rebase against fdac39f697e049ead215b164bfe6953269ffa7be. 2017-09-20 18:29:20 +02:00
Sebastian Lackner
8859da7cbd Rebase against 302153117e20b62c9170aed62aa33e83cacfaf59. 2017-09-20 07:17:22 +02:00
704 changed files with 13698 additions and 49688 deletions

View File

@@ -8,6 +8,7 @@ are part of **Wine Staging** and are licensed under the terms of the
```
Copyright (C) 2014-2017 the Wine Staging project authors.
Copyright (C) 2018 Alistair Leslie-Hughes
Wine Staging is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public

View File

@@ -1,26 +0,0 @@
From 43628d9b1905396ff6442e4f1e07c9dd48739b19 Mon Sep 17 00:00:00 2001
From: Sebastian Lackner <sebastian@fds-team.de>
Date: Fri, 14 Apr 2017 15:57:18 +0200
Subject: ole32: Fix compilation with recent versions of gcc.
---
dlls/ole32/storage32.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/dlls/ole32/storage32.h b/dlls/ole32/storage32.h
index 4fcfd9c362..2b23ab8eb8 100644
--- a/dlls/ole32/storage32.h
+++ b/dlls/ole32/storage32.h
@@ -526,6 +526,9 @@ StgStreamImpl* StgStreamImpl_Construct(
/******************************************************************************
* Endian conversion macros
*/
+#undef htole32
+#undef htole16
+
#ifdef WORDS_BIGENDIAN
#define htole32(x) RtlUlongByteSwap(x)
--
2.12.2

View File

@@ -1,26 +0,0 @@
From de9dbd542143b13741886c3e4b9f96ffcbfaa432 Mon Sep 17 00:00:00 2001
From: Sebastian Lackner <sebastian@fds-team.de>
Date: Wed, 16 Mar 2016 05:46:33 +0100
Subject: dsound: Avoid implicit cast of interface pointer.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
---
dlls/dsound/primary.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/dsound/primary.c b/dlls/dsound/primary.c
index 3f8a478..6f280f8 100644
--- a/dlls/dsound/primary.c
+++ b/dlls/dsound/primary.c
@@ -626,7 +626,7 @@ out:
static inline IDirectSoundBufferImpl *impl_from_IDirectSoundBuffer(IDirectSoundBuffer *iface)
{
/* IDirectSoundBuffer and IDirectSoundBuffer8 use the same iface. */
- return CONTAINING_RECORD(iface, IDirectSoundBufferImpl, IDirectSoundBuffer8_iface);
+ return CONTAINING_RECORD((IDirectSoundBuffer8 *)iface, IDirectSoundBufferImpl, IDirectSoundBuffer8_iface);
}
/* This sets this format for the primary buffer only */
--
2.7.1

View File

@@ -1,4 +1,4 @@
From 83d96cdd81553544c79527c2aed329e96938af64 Mon Sep 17 00:00:00 2001
From bd48f0d6b1476a77520f0bf5f82ac08e9dbf9acd Mon Sep 17 00:00:00 2001
From: Sebastian Lackner <sebastian@fds-team.de>
Date: Tue, 22 Mar 2016 21:54:01 +0100
Subject: amstream: Avoid implicit cast of interface pointer.
@@ -8,10 +8,10 @@ Subject: amstream: Avoid implicit cast of interface pointer.
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/amstream/mediastreamfilter.c b/dlls/amstream/mediastreamfilter.c
index d0c6714..3f0397a 100644
index 5abcb2f..a7ff6e8 100644
--- a/dlls/amstream/mediastreamfilter.c
+++ b/dlls/amstream/mediastreamfilter.c
@@ -70,7 +70,7 @@ typedef struct {
@@ -42,7 +42,7 @@ typedef struct {
static inline IMediaStreamFilterImpl *impl_from_IMediaStreamFilter(IMediaStreamFilter *iface)
{
@@ -19,7 +19,7 @@ index d0c6714..3f0397a 100644
+ return CONTAINING_RECORD((IBaseFilter *)iface, IMediaStreamFilterImpl, filter.IBaseFilter_iface);
}
static HRESULT WINAPI BasePinImpl_CheckMediaType(BasePin *This, const AM_MEDIA_TYPE *pmt)
/*** IUnknown methods ***/
--
2.7.1
2.7.4

View File

@@ -1,18 +1,18 @@
From 929eaf5dcdca040cd82141ad5ddfdcbc6c5f4a03 Mon Sep 17 00:00:00 2001
From 79ff79dba6d5c8008c53e4bcf5e38c3a54271091 Mon Sep 17 00:00:00 2001
From: Sebastian Lackner <sebastian@fds-team.de>
Date: Tue, 22 Mar 2016 21:54:26 +0100
Subject: d2d1: Avoid implicit cast of interface pointer.
---
dlls/d2d1/brush.c | 6 +++---
dlls/d2d1/brush.c | 8 ++++----
dlls/d2d1/geometry.c | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/dlls/d2d1/brush.c b/dlls/d2d1/brush.c
index aa92318..19b0993 100644
index 7f4c7bbb763..30d25fec4b4 100644
--- a/dlls/d2d1/brush.c
+++ b/dlls/d2d1/brush.c
@@ -181,7 +181,7 @@ static void d2d_brush_init(struct d2d_brush *brush, ID2D1Factory *factory,
@@ -251,7 +251,7 @@ static void d2d_brush_init(struct d2d_brush *brush, ID2D1Factory *factory,
static inline struct d2d_brush *impl_from_ID2D1SolidColorBrush(ID2D1SolidColorBrush *iface)
{
@@ -21,7 +21,7 @@ index aa92318..19b0993 100644
}
static HRESULT STDMETHODCALLTYPE d2d_solid_color_brush_QueryInterface(ID2D1SolidColorBrush *iface,
@@ -318,7 +318,7 @@ void d2d_solid_color_brush_init(struct d2d_brush *brush, ID2D1Factory *factory,
@@ -394,7 +394,7 @@ HRESULT d2d_solid_color_brush_create(ID2D1Factory *factory, const D2D1_COLOR_F *
static inline struct d2d_brush *impl_from_ID2D1LinearGradientBrush(ID2D1LinearGradientBrush *iface)
{
@@ -30,7 +30,16 @@ index aa92318..19b0993 100644
}
static HRESULT STDMETHODCALLTYPE d2d_linear_gradient_brush_QueryInterface(ID2D1LinearGradientBrush *iface,
@@ -476,7 +476,7 @@ void d2d_linear_gradient_brush_init(struct d2d_brush *brush, ID2D1Factory *facto
@@ -580,7 +580,7 @@ HRESULT d2d_linear_gradient_brush_create(ID2D1Factory *factory, const D2D1_LINEA
static inline struct d2d_brush *impl_from_ID2D1RadialGradientBrush(ID2D1RadialGradientBrush *iface)
{
- return CONTAINING_RECORD(iface, struct d2d_brush, ID2D1Brush_iface);
+ return CONTAINING_RECORD((ID2D1Brush *)iface, struct d2d_brush, ID2D1Brush_iface);
}
static HRESULT STDMETHODCALLTYPE d2d_radial_gradient_brush_QueryInterface(ID2D1RadialGradientBrush *iface,
@@ -776,7 +776,7 @@ HRESULT d2d_radial_gradient_brush_create(ID2D1Factory *factory, const D2D1_BRUSH
static inline struct d2d_brush *impl_from_ID2D1BitmapBrush(ID2D1BitmapBrush *iface)
{
@@ -40,10 +49,10 @@ index aa92318..19b0993 100644
static HRESULT STDMETHODCALLTYPE d2d_bitmap_brush_QueryInterface(ID2D1BitmapBrush *iface,
diff --git a/dlls/d2d1/geometry.c b/dlls/d2d1/geometry.c
index 9fa1783..125c610 100644
index a9588985642..b8457a9e1ea 100644
--- a/dlls/d2d1/geometry.c
+++ b/dlls/d2d1/geometry.c
@@ -2022,7 +2022,7 @@ static const struct ID2D1GeometrySinkVtbl d2d_geometry_sink_vtbl =
@@ -3024,7 +3024,7 @@ static const struct ID2D1GeometrySinkVtbl d2d_geometry_sink_vtbl =
static inline struct d2d_geometry *impl_from_ID2D1PathGeometry(ID2D1PathGeometry *iface)
{
@@ -52,7 +61,7 @@ index 9fa1783..125c610 100644
}
static HRESULT STDMETHODCALLTYPE d2d_path_geometry_QueryInterface(ID2D1PathGeometry *iface, REFIID iid, void **out)
@@ -2283,7 +2283,7 @@ void d2d_path_geometry_init(struct d2d_geometry *geometry, ID2D1Factory *factory
@@ -3540,7 +3540,7 @@ void d2d_path_geometry_init(struct d2d_geometry *geometry, ID2D1Factory *factory
static inline struct d2d_geometry *impl_from_ID2D1RectangleGeometry(ID2D1RectangleGeometry *iface)
{
@@ -61,7 +70,7 @@ index 9fa1783..125c610 100644
}
static HRESULT STDMETHODCALLTYPE d2d_rectangle_geometry_QueryInterface(ID2D1RectangleGeometry *iface,
@@ -2531,7 +2531,7 @@ HRESULT d2d_rectangle_geometry_init(struct d2d_geometry *geometry, ID2D1Factory
@@ -3876,7 +3876,7 @@ fail:
static inline struct d2d_geometry *impl_from_ID2D1TransformedGeometry(ID2D1TransformedGeometry *iface)
{
@@ -71,5 +80,5 @@ index 9fa1783..125c610 100644
static HRESULT STDMETHODCALLTYPE d2d_transformed_geometry_QueryInterface(ID2D1TransformedGeometry *iface,
--
2.7.1
2.14.1

View File

@@ -1,14 +1,14 @@
From cd3c63b259a711abf4e6e06f975e47f82b5b3e1b Mon Sep 17 00:00:00 2001
From 3dd0480317fe0ed3951daf1cf5757204d11a1ae5 Mon Sep 17 00:00:00 2001
From: Sebastian Lackner <sebastian@fds-team.de>
Date: Tue, 22 Mar 2016 21:55:12 +0100
Subject: d3d9: Avoid implicit cast of interface pointer.
Subject: [PATCH] d3d9: Avoid implicit cast of interface pointer.
---
dlls/d3d9/texture.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/d3d9/texture.c b/dlls/d3d9/texture.c
index 07bd83e..4e50093 100644
index d3662f8..ebc3413 100644
--- a/dlls/d3d9/texture.c
+++ b/dlls/d3d9/texture.c
@@ -25,17 +25,17 @@ WINE_DEFAULT_DEBUG_CHANNEL(d3d9);
@@ -31,7 +31,7 @@ index 07bd83e..4e50093 100644
+ return CONTAINING_RECORD((IDirect3DBaseTexture9 *)iface, struct d3d9_texture, IDirect3DBaseTexture9_iface);
}
static HRESULT WINAPI d3d9_texture_2d_QueryInterface(IDirect3DTexture9 *iface, REFIID riid, void **out)
static void STDMETHODCALLTYPE srv_wined3d_object_destroyed(void *parent)
--
2.7.1
1.9.1

View File

@@ -0,0 +1,25 @@
From b4586e37df817f205c8bebe319b4765dea5c62d5 Mon Sep 17 00:00:00 2001
From: Sebastian Lackner <sebastian@fds-team.de>
Date: Sun, 24 Sep 2017 19:21:06 +0200
Subject: evr: Avoid implicit cast of interface pointer.
---
dlls/evr/evr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/evr/evr.c b/dlls/evr/evr.c
index c2d2933211e..5533f38a649 100644
--- a/dlls/evr/evr.c
+++ b/dlls/evr/evr.c
@@ -136,7 +136,7 @@ static const IUnknownVtbl evr_inner_vtbl =
static inline evr_filter *impl_from_IBaseFilter(IBaseFilter *iface)
{
- return CONTAINING_RECORD(iface, evr_filter, filter);
+ return CONTAINING_RECORD(iface, evr_filter, filter.IBaseFilter_iface);
}
static HRESULT WINAPI filter_QueryInterface(IBaseFilter *iface, REFIID riid, void **ppv)
--
2.14.1

View File

@@ -1,42 +0,0 @@
From b0a0388503a1576fb9b1b91ca764251b30f7dd3e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
Date: Sun, 20 Jul 2014 22:22:14 +0200
Subject: wined3d: allow changing strict drawing through an exported function
---
dlls/wined3d/wined3d.spec | 2 ++
dlls/wined3d/wined3d_main.c | 5 +++++
2 files changed, 7 insertions(+)
diff --git a/dlls/wined3d/wined3d.spec b/dlls/wined3d/wined3d.spec
index bbd2fb5..2fd0c0e 100644
--- a/dlls/wined3d/wined3d.spec
+++ b/dlls/wined3d/wined3d.spec
@@ -220,6 +220,8 @@
@ cdecl wined3d_stateblock_decref(ptr)
@ cdecl wined3d_stateblock_incref(ptr)
+@ cdecl wined3d_strictdrawing_set(long)
+
@ cdecl wined3d_swapchain_create(ptr ptr ptr ptr ptr)
@ cdecl wined3d_swapchain_decref(ptr)
@ cdecl wined3d_swapchain_get_back_buffer(ptr long)
diff --git a/dlls/wined3d/wined3d_main.c b/dlls/wined3d/wined3d_main.c
index 0543d97..6a62697 100644
--- a/dlls/wined3d/wined3d_main.c
+++ b/dlls/wined3d/wined3d_main.c
@@ -515,6 +515,11 @@ void wined3d_unregister_window(HWND window)
wined3d_wndproc_mutex_unlock();
}
+void CDECL wined3d_strictdrawing_set(int value)
+{
+ wined3d_settings.strict_draw_ordering = value;
+}
+
/* At process attach */
BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, void *reserved)
{
--
2.7.1

View File

@@ -11,7 +11,7 @@ diff --git a/dlls/winex11.drv/opengl.c b/dlls/winex11.drv/opengl.c
index 71af3db..966d32d 100644
--- a/dlls/winex11.drv/opengl.c
+++ b/dlls/winex11.drv/opengl.c
@@ -440,6 +440,7 @@ static int GLXErrorHandler(Display *dpy, XErrorEvent *event, void *arg)
@@ -440,6 +440,7 @@ static int GLXErrorHandler(Display *dpy,
static BOOL X11DRV_WineGL_InitOpenglInfo(void)
{
static const char legacy_extensions[] = " WGL_EXT_extensions_string WGL_EXT_swap_control";
@@ -19,30 +19,26 @@ index 71af3db..966d32d 100644
int screen = DefaultScreen(gdi_display);
Window win = 0, root = 0;
@@ -491,10 +492,13 @@ static BOOL X11DRV_WineGL_InitOpenglInfo(void)
@@ -493,16 +494,18 @@ static BOOL X11DRV_WineGL_InitOpenglInfo
}
gl_renderer = (const char *)opengl_funcs.gl.p_glGetString(GL_RENDERER);
WineGLInfo.glVersion = (const char *) opengl_funcs.gl.p_glGetString(GL_VERSION);
+ WineGLInfo.glxDirect = pglXIsDirect(gdi_display, ctx);
gl_version = (const char *)opengl_funcs.gl.p_glGetString(GL_VERSION);
+ glx_direct = pglXIsDirect(gdi_display, ctx);
str = (const char *) opengl_funcs.gl.p_glGetString(GL_EXTENSIONS);
- WineGLInfo.glExtensions = HeapAlloc(GetProcessHeap(), 0, strlen(str)+sizeof(legacy_extensions));
+ WineGLInfo.glExtensions = HeapAlloc(GetProcessHeap(), 0, strlen(str)+sizeof(legacy_extensions)+sizeof(direct_extension));
strcpy(WineGLInfo.glExtensions, str);
strcat(WineGLInfo.glExtensions, legacy_extensions);
+ if (WineGLInfo.glxDirect)
+ strcat(WineGLInfo.glExtensions, direct_extension);
- glExtensions = HeapAlloc(GetProcessHeap(), 0, strlen(str)+sizeof(legacy_extensions));
+ glExtensions = HeapAlloc(GetProcessHeap(), 0, strlen(str)+sizeof(legacy_extensions)+sizeof(direct_extension));
strcpy(glExtensions, str);
strcat(glExtensions, legacy_extensions);
+ if (glx_direct)
+ strcat(glExtensions, direct_extension);
/* Get the common GLX version supported by GLX client and server ( major/minor) */
pglXQueryVersion(gdi_display, &WineGLInfo.glxVersion[0], &WineGLInfo.glxVersion[1]);
@@ -508,7 +512,7 @@ static BOOL X11DRV_WineGL_InitOpenglInfo(void)
WineGLInfo.glxClientExtensions = pglXGetClientString(gdi_display, GLX_EXTENSIONS);
pglXQueryVersion(gdi_display, &glxVersion[0], &glxVersion[1]);
WineGLInfo.glxExtensions = pglXQueryExtensionsString(gdi_display, screen);
- WineGLInfo.glxDirect = pglXIsDirect(gdi_display, ctx);
+
glxExtensions = pglXQueryExtensionsString(gdi_display, screen);
- glx_direct = pglXIsDirect(gdi_display, ctx);
TRACE("GL version : %s.\n", WineGLInfo.glVersion);
TRACE("GL version : %s.\n", gl_version);
TRACE("GL renderer : %s.\n", gl_renderer);
--
1.7.9.5

View File

@@ -1,40 +1,41 @@
From 41ee5d7699182ea01c61223ab9d0a10473e16ac2 Mon Sep 17 00:00:00 2001
From ee1533db82fa2a955765b6a00f5300900350d2fe Mon Sep 17 00:00:00 2001
From: Sebastian Lackner <sebastian@fds-team.de>
Date: Thu, 2 Oct 2014 19:44:31 +0200
Subject: kernel32: Add winediag message to show warning, that this isn't
vanilla wine.
Subject: [PATCH] kernel32: Add winediag message to show warning, that this
isn't vanilla wine.
---
dlls/kernel32/process.c | 9 +++++++++
1 file changed, 9 insertions(+)
dlls/kernel32/process.c | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/dlls/kernel32/process.c b/dlls/kernel32/process.c
index 6d0fc74cdf4..ed1d967ffdf 100644
index 0a3fd70..206224f 100644
--- a/dlls/kernel32/process.c
+++ b/dlls/kernel32/process.c
@@ -65,6 +65,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(process);
WINE_DECLARE_DEBUG_CHANNEL(file);
WINE_DECLARE_DEBUG_CHANNEL(relay);
+WINE_DECLARE_DEBUG_CHANNEL(winediag);
#ifdef __APPLE__
extern char **__wine_get_main_environment(void);
@@ -1104,6 +1105,14 @@ static DWORD WINAPI start_process( PEB *peb )
DPRINTF( "%04x:Starting process %s (entryproc=%p)\n", GetCurrentThreadId(),
debugstr_w(peb->ProcessParameters->ImagePathName.Buffer), entry );
@@ -1090,6 +1091,15 @@ void WINAPI start_process( LPTHREAD_START_ROUTINE entry, PEB *peb )
+ if (CreateEventA(0, 0, 0, "__winestaging_warn_event") && GetLastError() != ERROR_ALREADY_EXISTS)
+ {
+ FIXME_(winediag)("Wine Staging %s is a testing version containing experimental patches.\n", wine_get_version());
+ FIXME_(winediag)("Please mention your exact version when filing bug reports on winehq.org.\n");
+ }
+ else
+ WARN_(winediag)("Wine Staging %s is a testing version containing experimental patches.\n", wine_get_version());
__TRY
{
+ if (CreateEventA(0, 0, 0, "__winestaging_warn_event") && GetLastError() != ERROR_ALREADY_EXISTS)
+ {
+ FIXME_(winediag)("Wine Staging %s is a testing version containing experimental patches.\n", wine_get_version());
+ FIXME_(winediag)("Please mention your exact version when filing bug reports on winehq.org.\n");
+ }
+ else
+ WARN_(winediag)("Wine Staging %s is a testing version containing experimental patches.\n", wine_get_version());
+
if (!CheckRemoteDebuggerPresent( GetCurrentProcess(), &being_debugged ))
being_debugged = FALSE;
+
if (!CheckRemoteDebuggerPresent( GetCurrentProcess(), &being_debugged ))
being_debugged = FALSE;
--
2.11.0
1.9.1

View File

@@ -1,163 +0,0 @@
From fcefc5661656de44d02fed0431b4a61fa618b663 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
Date: Sun, 5 Mar 2017 23:50:06 +0100
Subject: advapi32: Implement LsaLookupPrivilegeName.
---
dlls/advapi32/advapi32.spec | 2 +-
dlls/advapi32/advapi32_misc.h | 2 ++
dlls/advapi32/lsa.c | 39 +++++++++++++++++++++++++++++++++++++++
dlls/advapi32/security.c | 27 ++++++++++++++++++---------
include/ntsecapi.h | 1 +
5 files changed, 61 insertions(+), 10 deletions(-)
diff --git a/dlls/advapi32/advapi32.spec b/dlls/advapi32/advapi32.spec
index d5503490a0..709a385967 100644
--- a/dlls/advapi32/advapi32.spec
+++ b/dlls/advapi32/advapi32.spec
@@ -469,7 +469,7 @@
@ stdcall LsaLookupNames(long long ptr ptr ptr)
@ stdcall LsaLookupNames2(ptr long long ptr ptr ptr)
@ stub LsaLookupPrivilegeDisplayName
-# @ stub LsaLookupPrivilegeName
+@ stdcall LsaLookupPrivilegeName(long ptr ptr)
# @ stub LsaLookupPrivilegeValue
@ stdcall LsaLookupSids(ptr long ptr ptr ptr)
# @ stub LsaLookupSids2
diff --git a/dlls/advapi32/advapi32_misc.h b/dlls/advapi32/advapi32_misc.h
index d116ecb836..ecb07f635a 100644
--- a/dlls/advapi32/advapi32_misc.h
+++ b/dlls/advapi32/advapi32_misc.h
@@ -68,4 +68,6 @@ static inline WCHAR *strdupAW( const char *src )
return dst;
}
+const WCHAR * const WellKnownPrivNames[SE_MAX_WELL_KNOWN_PRIVILEGE + 1];
+
#endif /* __WINE_ADVAPI32MISC_H */
diff --git a/dlls/advapi32/lsa.c b/dlls/advapi32/lsa.c
index 3da6d19b82..af5f9dd46d 100644
--- a/dlls/advapi32/lsa.c
+++ b/dlls/advapi32/lsa.c
@@ -973,3 +973,42 @@ NTSTATUS WINAPI LsaUnregisterPolicyChangeNotification(
FIXME("(%d,%p) stub\n", class, event);
return STATUS_SUCCESS;
}
+
+/******************************************************************************
+ * LsaLookupPrivilegeName [ADVAPI32.@]
+ *
+ */
+NTSTATUS WINAPI LsaLookupPrivilegeName(
+ LSA_HANDLE handle,
+ PLUID lpLuid,
+ PUNICODE_STRING *name)
+{
+ UNICODE_STRING *priv_unicode;
+ size_t priv_size;
+ WCHAR *strW;
+
+ TRACE("(%p, %p, %p)\n", handle, lpLuid, name);
+
+ if (!handle)
+ return STATUS_INVALID_HANDLE;
+
+ if (!name)
+ return STATUS_INVALID_PARAMETER;
+
+ if (lpLuid->HighPart ||
+ (lpLuid->LowPart < SE_MIN_WELL_KNOWN_PRIVILEGE ||
+ lpLuid->LowPart > SE_MAX_WELL_KNOWN_PRIVILEGE ||
+ !WellKnownPrivNames[lpLuid->LowPart]))
+ return STATUS_NO_SUCH_PRIVILEGE;
+
+ priv_size = (strlenW(WellKnownPrivNames[lpLuid->LowPart]) + 1) * sizeof(WCHAR);
+ priv_unicode = heap_alloc(sizeof(*priv_unicode) + priv_size);
+ if (!priv_unicode) return STATUS_NO_MEMORY;
+
+ strW = (WCHAR *)(priv_unicode + 1);
+ strcpyW(strW, WellKnownPrivNames[lpLuid->LowPart]);
+ RtlInitUnicodeString(priv_unicode, strW);
+
+ *name = priv_unicode;
+ return STATUS_SUCCESS;
+}
diff --git a/dlls/advapi32/security.c b/dlls/advapi32/security.c
index e36792cff4..3bc8f48b19 100644
--- a/dlls/advapi32/security.c
+++ b/dlls/advapi32/security.c
@@ -1840,7 +1840,7 @@ static const WCHAR SE_IMPERSONATE_NAME_W[] =
static const WCHAR SE_CREATE_GLOBAL_NAME_W[] =
{ 'S','e','C','r','e','a','t','e','G','l','o','b','a','l','P','r','i','v','i','l','e','g','e',0 };
-static const WCHAR * const WellKnownPrivNames[SE_MAX_WELL_KNOWN_PRIVILEGE + 1] =
+const WCHAR * const WellKnownPrivNames[SE_MAX_WELL_KNOWN_PRIVILEGE + 1] =
{
NULL,
NULL,
@@ -2043,33 +2043,42 @@ BOOL WINAPI
LookupPrivilegeNameW( LPCWSTR lpSystemName, PLUID lpLuid, LPWSTR lpName,
LPDWORD cchName)
{
+ UNICODE_STRING system_name, *priv;
+ LSA_HANDLE lsa;
+ NTSTATUS status;
size_t privNameLen;
TRACE("%s,%p,%p,%p\n",debugstr_w(lpSystemName), lpLuid, lpName, cchName);
- if (!ADVAPI_IsLocalComputer(lpSystemName))
+ RtlInitUnicodeString(&system_name, lpSystemName);
+ status = LsaOpenPolicy(&system_name, NULL, POLICY_LOOKUP_NAMES, &lsa);
+ if (status)
{
- SetLastError(RPC_S_SERVER_UNAVAILABLE);
+ SetLastError(LsaNtStatusToWinError(status));
return FALSE;
}
- if (lpLuid->HighPart || (lpLuid->LowPart < SE_MIN_WELL_KNOWN_PRIVILEGE ||
- lpLuid->LowPart > SE_MAX_WELL_KNOWN_PRIVILEGE))
+
+ status = LsaLookupPrivilegeName(&lsa, lpLuid, &priv);
+ LsaClose(lsa);
+ if (status)
{
- SetLastError(ERROR_NO_SUCH_PRIVILEGE);
+ SetLastError(LsaNtStatusToWinError(status));
return FALSE;
}
- privNameLen = strlenW(WellKnownPrivNames[lpLuid->LowPart]);
- /* Windows crashes if cchName is NULL, so will I */
+
+ privNameLen = priv->Length / sizeof(WCHAR);
if (*cchName <= privNameLen)
{
*cchName = privNameLen + 1;
+ LsaFreeMemory(priv);
SetLastError(ERROR_INSUFFICIENT_BUFFER);
return FALSE;
}
else
{
- strcpyW(lpName, WellKnownPrivNames[lpLuid->LowPart]);
+ strcpyW(lpName, priv->Buffer);
*cchName = privNameLen;
+ LsaFreeMemory(priv);
return TRUE;
}
}
diff --git a/include/ntsecapi.h b/include/ntsecapi.h
index 2bb3d312e4..0bf0eca43e 100644
--- a/include/ntsecapi.h
+++ b/include/ntsecapi.h
@@ -370,6 +370,7 @@ NTSTATUS WINAPI LsaLookupNames(LSA_HANDLE,ULONG,PLSA_UNICODE_STRING,PLSA_REFEREN
PLSA_TRANSLATED_SID*);
NTSTATUS WINAPI LsaLookupNames2(LSA_HANDLE,ULONG,ULONG,PLSA_UNICODE_STRING,PLSA_REFERENCED_DOMAIN_LIST*,
PLSA_TRANSLATED_SID2*);
+NTSTATUS WINAPI LsaLookupPrivilegeName(LSA_HANDLE,PLUID,PUNICODE_STRING*);
NTSTATUS WINAPI LsaLookupSids(LSA_HANDLE,ULONG,PSID *,PLSA_REFERENCED_DOMAIN_LIST *,PLSA_TRANSLATED_NAME *);
ULONG WINAPI LsaNtStatusToWinError(NTSTATUS);
NTSTATUS WINAPI LsaOpenPolicy(PLSA_UNICODE_STRING,PLSA_OBJECT_ATTRIBUTES,ACCESS_MASK,PLSA_HANDLE);
--
2.13.1

View File

@@ -1,62 +0,0 @@
From 63d642a1af3ccc579123cb8fd13959ab5e9136dd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
Date: Mon, 6 Mar 2017 00:01:53 +0100
Subject: advapi32: Add stub for LsaLookupPrivilegeDisplayName.
---
dlls/advapi32/advapi32.spec | 2 +-
dlls/advapi32/lsa.c | 21 +++++++++++++++++++++
2 files changed, 22 insertions(+), 1 deletion(-)
diff --git a/dlls/advapi32/advapi32.spec b/dlls/advapi32/advapi32.spec
index 124f527282..0b03cec3f5 100644
--- a/dlls/advapi32/advapi32.spec
+++ b/dlls/advapi32/advapi32.spec
@@ -468,7 +468,7 @@
# @ stub LsaICLookupSidsWithCreds
@ stdcall LsaLookupNames(long long ptr ptr ptr)
@ stdcall LsaLookupNames2(ptr long long ptr ptr ptr)
-@ stub LsaLookupPrivilegeDisplayName
+@ stdcall LsaLookupPrivilegeDisplayName(long ptr ptr ptr)
@ stdcall LsaLookupPrivilegeName(long ptr ptr)
# @ stub LsaLookupPrivilegeValue
@ stdcall LsaLookupSids(ptr long ptr ptr ptr)
diff --git a/dlls/advapi32/lsa.c b/dlls/advapi32/lsa.c
index ceb3b05c05..c2e02fb462 100644
--- a/dlls/advapi32/lsa.c
+++ b/dlls/advapi32/lsa.c
@@ -44,6 +44,12 @@ WINE_DEFAULT_DEBUG_CHANNEL(advapi);
return FailureCode; \
}
+static LPCSTR debugstr_us( const UNICODE_STRING *us )
+{
+ if (!us) return "(null)";
+ return debugstr_wn(us->Buffer, us->Length / sizeof(WCHAR));
+}
+
static void dumpLsaAttributes(const LSA_OBJECT_ATTRIBUTES *oa)
{
if (oa)
@@ -1011,3 +1017,18 @@ NTSTATUS WINAPI LsaLookupPrivilegeName(
*name = priv_unicode;
return STATUS_SUCCESS;
}
+
+/******************************************************************************
+ * LsaLookupPrivilegeDisplayName [ADVAPI32.@]
+ *
+ */
+NTSTATUS WINAPI LsaLookupPrivilegeDisplayName(
+ LSA_HANDLE handle,
+ PLSA_UNICODE_STRING name,
+ PLSA_UNICODE_STRING *dispname,
+ SHORT *language)
+{
+ FIXME("(%p, %s, %p, %p)\n", handle, debugstr_us(name), dispname, language);
+
+ return STATUS_NO_SUCH_PRIVILEGE;
+}
--
2.11.0

View File

@@ -1 +0,0 @@
Fixes: [43316] Add LsaLookupPrivilege[Display]Name stubs

View File

@@ -1,268 +0,0 @@
From 994fe46f1b68d851d285a29cce904bd9f22540ea Mon Sep 17 00:00:00 2001
From: Andrew Wesie <awesie@gmail.com>
Date: Tue, 2 May 2017 00:59:49 -0500
Subject: advapi32: Implement BuildSecurityDescriptorW.
---
dlls/advapi32/security.c | 218 +++++++++++++++++++++++++++++++++++------------
1 file changed, 164 insertions(+), 54 deletions(-)
diff --git a/dlls/advapi32/security.c b/dlls/advapi32/security.c
index 24ec3099713..82bb6689d43 100644
--- a/dlls/advapi32/security.c
+++ b/dlls/advapi32/security.c
@@ -58,6 +58,7 @@ static BOOL ParseStringSecurityDescriptorToSecurityDescriptor(
SECURITY_DESCRIPTOR_RELATIVE* SecurityDescriptor,
LPDWORD cBytes);
static DWORD ParseAclStringFlags(LPCWSTR* StringAcl);
+static DWORD trustee_to_sid(DWORD nDestinationSidLength, PSID pDestinationSid, PTRUSTEEW pTrustee);
typedef struct _ACEFLAG
{
@@ -1264,16 +1265,122 @@ DWORD WINAPI BuildSecurityDescriptorW(
IN ULONG cCountOfAccessEntries,
IN PEXPLICIT_ACCESSW pListOfAccessEntries,
IN ULONG cCountOfAuditEntries,
- IN PEXPLICIT_ACCESSW pListofAuditEntries,
+ IN PEXPLICIT_ACCESSW pListOfAuditEntries,
IN PSECURITY_DESCRIPTOR pOldSD,
IN OUT PULONG lpdwBufferLength,
OUT PSECURITY_DESCRIPTOR* pNewSD)
{
- FIXME("(%p,%p,%d,%p,%d,%p,%p,%p,%p) stub!\n",pOwner,pGroup,
- cCountOfAccessEntries,pListOfAccessEntries,cCountOfAuditEntries,
- pListofAuditEntries,pOldSD,lpdwBufferLength,pNewSD);
+ SECURITY_DESCRIPTOR desc;
+ NTSTATUS status;
+ DWORD ret = ERROR_SUCCESS;
+
+ TRACE("(%p,%p,%d,%p,%d,%p,%p,%p,%p)\n", pOwner, pGroup,
+ cCountOfAccessEntries, pListOfAccessEntries, cCountOfAuditEntries,
+ pListOfAuditEntries, pOldSD, lpdwBufferLength, pNewSD);
- return ERROR_CALL_NOT_IMPLEMENTED;
+ if (pOldSD)
+ {
+ SECURITY_DESCRIPTOR_CONTROL control;
+ DWORD desc_size, dacl_size = 0, sacl_size = 0, owner_size = 0, group_size = 0;
+ PACL dacl = NULL, sacl = NULL;
+ PSID owner = NULL, group = NULL;
+ DWORD revision;
+
+ if ((status = RtlGetControlSecurityDescriptor( pOldSD, &control, &revision )) != STATUS_SUCCESS)
+ return RtlNtStatusToDosError( status );
+ if (!(control & SE_SELF_RELATIVE))
+ return ERROR_INVALID_SECURITY_DESCR;
+
+ desc_size = sizeof(desc);
+ status = RtlSelfRelativeToAbsoluteSD( pOldSD, &desc, &desc_size, dacl, &dacl_size, sacl, &sacl_size,
+ owner, &owner_size, group, &group_size );
+ if (status == STATUS_BUFFER_TOO_SMALL)
+ {
+ if (dacl_size)
+ dacl = LocalAlloc( LMEM_FIXED, dacl_size );
+ if (sacl_size)
+ sacl = LocalAlloc( LMEM_FIXED, sacl_size );
+ if (owner_size)
+ owner = LocalAlloc( LMEM_FIXED, owner_size );
+ if (group_size)
+ group = LocalAlloc( LMEM_FIXED, group_size );
+
+ desc_size = sizeof(desc);
+ status = RtlSelfRelativeToAbsoluteSD( pOldSD, &desc, &desc_size, dacl, &dacl_size, sacl, &sacl_size,
+ owner, &owner_size, group, &group_size );
+ }
+ if (status != STATUS_SUCCESS)
+ {
+ LocalFree( dacl );
+ LocalFree( sacl );
+ LocalFree( owner );
+ LocalFree( group );
+ return RtlNtStatusToDosError( status );
+ }
+ }
+ else
+ {
+ if ((status = RtlCreateSecurityDescriptor( &desc, SECURITY_DESCRIPTOR_REVISION )) != STATUS_SUCCESS)
+ return RtlNtStatusToDosError( status );
+ }
+
+ if (pOwner)
+ {
+ LocalFree( desc.Owner );
+ desc.Owner = LocalAlloc( LMEM_FIXED, sizeof(MAX_SID) );
+ if ((ret = trustee_to_sid( sizeof(MAX_SID), desc.Owner, pOwner )))
+ goto done;
+ }
+
+ if (pGroup)
+ {
+ LocalFree( desc.Group );
+ desc.Group = LocalAlloc( LMEM_FIXED, sizeof(MAX_SID) );
+ if ((ret = trustee_to_sid( sizeof(MAX_SID), desc.Group, pGroup )))
+ goto done;
+ }
+
+ if (pListOfAccessEntries)
+ {
+ PACL new_dacl;
+
+ if ((ret = SetEntriesInAclW( cCountOfAccessEntries, pListOfAccessEntries, desc.Dacl, &new_dacl )))
+ goto done;
+
+ LocalFree( desc.Dacl );
+ desc.Dacl = new_dacl;
+ desc.Control |= SE_DACL_PRESENT;
+ }
+
+ if (pListOfAuditEntries)
+ {
+ PACL new_sacl;
+
+ if ((ret = SetEntriesInAclW( cCountOfAuditEntries, pListOfAuditEntries, desc.Sacl, &new_sacl )))
+ goto done;
+
+ LocalFree( desc.Sacl );
+ desc.Sacl = new_sacl;
+ desc.Control |= SE_SACL_PRESENT;
+ }
+
+ *lpdwBufferLength = RtlLengthSecurityDescriptor( &desc );
+ *pNewSD = LocalAlloc( LMEM_FIXED, *lpdwBufferLength );
+
+ if ((status = RtlMakeSelfRelativeSD( &desc, *pNewSD, lpdwBufferLength )) != STATUS_SUCCESS)
+ {
+ ret = RtlNtStatusToDosError( status );
+ LocalFree( *pNewSD );
+ *pNewSD = NULL;
+ }
+
+done:
+ /* free absolute descriptor */
+ LocalFree( desc.Owner );
+ LocalFree( desc.Group );
+ LocalFree( desc.Sacl );
+ LocalFree( desc.Dacl );
+ return ret;
}
/******************************************************************************
@@ -3766,6 +3873,56 @@ static void free_trustee_name(TRUSTEE_FORM form, WCHAR *trustee_nameW)
}
}
+static DWORD trustee_to_sid( DWORD nDestinationSidLength, PSID pDestinationSid, PTRUSTEEW pTrustee )
+{
+ if (pTrustee->MultipleTrusteeOperation == TRUSTEE_IS_IMPERSONATE)
+ {
+ WARN("bad multiple trustee operation %d\n", pTrustee->MultipleTrusteeOperation);
+ return ERROR_INVALID_PARAMETER;
+ }
+
+ switch (pTrustee->TrusteeForm)
+ {
+ case TRUSTEE_IS_SID:
+ if (!CopySid(nDestinationSidLength, pDestinationSid, pTrustee->ptstrName))
+ {
+ WARN("bad sid %p\n", pTrustee->ptstrName);
+ return ERROR_INVALID_PARAMETER;
+ }
+ break;
+ case TRUSTEE_IS_NAME:
+ {
+ DWORD sid_size = nDestinationSidLength;
+ DWORD domain_size = MAX_COMPUTERNAME_LENGTH + 1;
+ SID_NAME_USE use;
+ if (!strcmpW( pTrustee->ptstrName, CURRENT_USER ))
+ {
+ if (!lookup_user_account_name( pDestinationSid, &sid_size, NULL, &domain_size, &use ))
+ {
+ return GetLastError();
+ }
+ }
+ else if (!LookupAccountNameW(NULL, pTrustee->ptstrName, pDestinationSid, &sid_size, NULL, &domain_size, &use))
+ {
+ WARN("bad user name %s\n", debugstr_w(pTrustee->ptstrName));
+ return ERROR_INVALID_PARAMETER;
+ }
+ break;
+ }
+ case TRUSTEE_IS_OBJECTS_AND_SID:
+ FIXME("TRUSTEE_IS_OBJECTS_AND_SID unimplemented\n");
+ break;
+ case TRUSTEE_IS_OBJECTS_AND_NAME:
+ FIXME("TRUSTEE_IS_OBJECTS_AND_NAME unimplemented\n");
+ break;
+ default:
+ WARN("bad trustee form %d\n", pTrustee->TrusteeForm);
+ return ERROR_INVALID_PARAMETER;
+ }
+
+ return ERROR_SUCCESS;
+}
+
/******************************************************************************
* SetEntriesInAclA [ADVAPI32.@]
*/
@@ -3861,56 +4018,9 @@ DWORD WINAPI SetEntriesInAclW( ULONG count, PEXPLICIT_ACCESSW pEntries,
pEntries[i].Trustee.TrusteeForm, pEntries[i].Trustee.TrusteeType,
pEntries[i].Trustee.ptstrName);
- if (pEntries[i].Trustee.MultipleTrusteeOperation == TRUSTEE_IS_IMPERSONATE)
- {
- WARN("bad multiple trustee operation %d for trustee %d\n", pEntries[i].Trustee.MultipleTrusteeOperation, i);
- ret = ERROR_INVALID_PARAMETER;
- goto exit;
- }
-
- switch (pEntries[i].Trustee.TrusteeForm)
- {
- case TRUSTEE_IS_SID:
- if (!CopySid(FIELD_OFFSET(SID, SubAuthority[SID_MAX_SUB_AUTHORITIES]),
- ppsid[i], pEntries[i].Trustee.ptstrName))
- {
- WARN("bad sid %p for trustee %d\n", pEntries[i].Trustee.ptstrName, i);
- ret = ERROR_INVALID_PARAMETER;
- goto exit;
- }
- break;
- case TRUSTEE_IS_NAME:
- {
- DWORD sid_size = FIELD_OFFSET(SID, SubAuthority[SID_MAX_SUB_AUTHORITIES]);
- DWORD domain_size = MAX_COMPUTERNAME_LENGTH + 1;
- SID_NAME_USE use;
- if (!strcmpW( pEntries[i].Trustee.ptstrName, CURRENT_USER ))
- {
- if (!lookup_user_account_name( ppsid[i], &sid_size, NULL, &domain_size, &use ))
- {
- ret = GetLastError();
- goto exit;
- }
- }
- else if (!LookupAccountNameW(NULL, pEntries[i].Trustee.ptstrName, ppsid[i], &sid_size, NULL, &domain_size, &use))
- {
- WARN("bad user name %s for trustee %d\n", debugstr_w(pEntries[i].Trustee.ptstrName), i);
- ret = ERROR_INVALID_PARAMETER;
- goto exit;
- }
- break;
- }
- case TRUSTEE_IS_OBJECTS_AND_SID:
- FIXME("TRUSTEE_IS_OBJECTS_AND_SID unimplemented\n");
- break;
- case TRUSTEE_IS_OBJECTS_AND_NAME:
- FIXME("TRUSTEE_IS_OBJECTS_AND_NAME unimplemented\n");
- break;
- default:
- WARN("bad trustee form %d for trustee %d\n", pEntries[i].Trustee.TrusteeForm, i);
- ret = ERROR_INVALID_PARAMETER;
+ ret = trustee_to_sid( FIELD_OFFSET(SID, SubAuthority[SID_MAX_SUB_AUTHORITIES]), ppsid[i], &pEntries[i].Trustee);
+ if (ret)
goto exit;
- }
/* Note: we overestimate the ACL size here as a tradeoff between
* instructions (simplicity) and memory */
--
2.12.2

View File

@@ -1,69 +0,0 @@
From 09d62cfc4fa999eacc89af2ad414810e22c910a9 Mon Sep 17 00:00:00 2001
From: Sebastian Lackner <sebastian@fds-team.de>
Date: Fri, 5 May 2017 00:18:50 +0200
Subject: advapi32/tests: Add basic tests for BuildSecurityDescriptor.
---
dlls/advapi32/tests/security.c | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/dlls/advapi32/tests/security.c b/dlls/advapi32/tests/security.c
index ca5edffae5..db5a0f934c 100644
--- a/dlls/advapi32/tests/security.c
+++ b/dlls/advapi32/tests/security.c
@@ -7217,6 +7217,44 @@ static void test_GetExplicitEntriesFromAclW(void)
HeapFree(GetProcessHeap(), 0, old_acl);
}
+static void test_BuildSecurityDescriptorW(void)
+{
+ SECURITY_DESCRIPTOR old_sd, *new_sd, *rel_sd;
+ ULONG new_sd_size;
+ DWORD buf_size;
+ char buf[1024];
+ BOOL success;
+ DWORD ret;
+
+ InitializeSecurityDescriptor(&old_sd, SECURITY_DESCRIPTOR_REVISION);
+
+ buf_size = sizeof(buf);
+ rel_sd = (SECURITY_DESCRIPTOR *)buf;
+ success = MakeSelfRelativeSD(&old_sd, rel_sd, &buf_size);
+ ok(success, "MakeSelfRelativeSD failed with %u\n", GetLastError());
+
+ new_sd = NULL;
+ new_sd_size = 0;
+ ret = BuildSecurityDescriptorW(NULL, NULL, 0, NULL, 0, NULL, NULL, &new_sd_size, (void **)&new_sd);
+ ok(ret == ERROR_SUCCESS, "BuildSecurityDescriptor failed with %u\n", ret);
+ ok(new_sd != NULL, "expected new_sd != NULL\n");
+ ok(new_sd_size == sizeof(old_sd), "expected new_sd_size == sizeof(old_sd), got %u\n", new_sd_size);
+ LocalFree(new_sd);
+
+ new_sd = (void *)0xdeadbeef;
+ ret = BuildSecurityDescriptorW(NULL, NULL, 0, NULL, 0, NULL, &old_sd, &new_sd_size, (void **)&new_sd);
+ ok(ret == ERROR_INVALID_SECURITY_DESCR, "expected ERROR_INVALID_SECURITY_DESCR, got %u\n", ret);
+ ok(new_sd == (void *)0xdeadbeef, "expected new_sd == 0xdeadbeef, got %p\n", new_sd);
+
+ new_sd = NULL;
+ new_sd_size = 0;
+ ret = BuildSecurityDescriptorW(NULL, NULL, 0, NULL, 0, NULL, rel_sd, &new_sd_size, (void **)&new_sd);
+ ok(ret == ERROR_SUCCESS, "BuildSecurityDescriptor failed with %u\n", ret);
+ ok(new_sd != NULL, "expected new_sd != NULL\n");
+ ok(new_sd_size == sizeof(old_sd), "expected new_sd_size == sizeof(old_sd), got %u\n", new_sd_size);
+ LocalFree(new_sd);
+}
+
START_TEST(security)
{
init();
@@ -7271,6 +7309,7 @@ START_TEST(security)
test_maximum_allowed();
test_token_label();
test_GetExplicitEntriesFromAclW();
+ test_BuildSecurityDescriptorW();
/* Must be the last test, modifies process token */
test_token_security_descriptor();
--
2.13.1

View File

@@ -1,2 +0,0 @@
Fixes: Initial implementation of advapi32.BuildSecurityDescriptorW
Depends: advapi32-GetExplicitEntriesFromAclW

View File

@@ -1,4 +1,4 @@
From 3f314cc8251f62f592013abe7b1c3b977de0699a Mon Sep 17 00:00:00 2001
From 1eb8acd819f9eee8fdf154d0ef43881008265916 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
Date: Fri, 4 Aug 2017 02:33:14 +0200
Subject: ntdll: Implement NtFilterToken.
@@ -15,10 +15,10 @@ Subject: ntdll: Implement NtFilterToken.
8 files changed, 162 insertions(+), 5 deletions(-)
diff --git a/dlls/ntdll/nt.c b/dlls/ntdll/nt.c
index 93554e929be..5822dec9b15 100644
index c3f5df3..59a08de 100644
--- a/dlls/ntdll/nt.c
+++ b/dlls/ntdll/nt.c
@@ -136,6 +136,65 @@ NTSTATUS WINAPI NtDuplicateToken(
@@ -119,6 +119,65 @@ NTSTATUS WINAPI NtDuplicateToken(
}
/******************************************************************************
@@ -85,10 +85,10 @@ index 93554e929be..5822dec9b15 100644
* ZwOpenProcessToken [NTDLL.@]
*/
diff --git a/dlls/ntdll/ntdll.spec b/dlls/ntdll/ntdll.spec
index 4f7ee496437..275fda57970 100644
index c260b0d..3c5e69c 100644
--- a/dlls/ntdll/ntdll.spec
+++ b/dlls/ntdll/ntdll.spec
@@ -179,7 +179,7 @@
@@ -176,7 +176,7 @@
# @ stub NtEnumerateSystemEnvironmentValuesEx
@ stdcall NtEnumerateValueKey(long long long ptr long ptr)
@ stub NtExtendSection
@@ -98,10 +98,10 @@ index 4f7ee496437..275fda57970 100644
@ stdcall NtFlushBuffersFile(long ptr)
@ stdcall NtFlushInstructionCache(long ptr long)
diff --git a/include/winnt.h b/include/winnt.h
index f91f81eb559..891c9b6d4bb 100644
index 16d96d8..4e238f9 100644
--- a/include/winnt.h
+++ b/include/winnt.h
@@ -3844,6 +3844,11 @@ typedef enum _TOKEN_INFORMATION_CLASS {
@@ -3904,6 +3904,11 @@ typedef enum _TOKEN_INFORMATION_CLASS {
TOKEN_ADJUST_SESSIONID | \
TOKEN_ADJUST_DEFAULT )
@@ -114,10 +114,10 @@ index f91f81eb559..891c9b6d4bb 100644
#define _SECURITY_DEFINED
diff --git a/include/winternl.h b/include/winternl.h
index 140669b0105..899e8324d67 100644
index c84e6d7..288f93e 100644
--- a/include/winternl.h
+++ b/include/winternl.h
@@ -2348,6 +2348,7 @@ NTSYSAPI NTSTATUS WINAPI NtDuplicateToken(HANDLE,ACCESS_MASK,POBJECT_ATTRIBUTES
@@ -2303,6 +2303,7 @@ NTSYSAPI NTSTATUS WINAPI NtDuplicateToken(HANDLE,ACCESS_MASK,POBJECT_ATTRIBUTES
NTSYSAPI NTSTATUS WINAPI NtEnumerateKey(HANDLE,ULONG,KEY_INFORMATION_CLASS,void *,DWORD,DWORD *);
NTSYSAPI NTSTATUS WINAPI NtEnumerateValueKey(HANDLE,ULONG,KEY_VALUE_INFORMATION_CLASS,PVOID,ULONG,PULONG);
NTSYSAPI NTSTATUS WINAPI NtExtendSection(HANDLE,PLARGE_INTEGER);
@@ -126,10 +126,10 @@ index 140669b0105..899e8324d67 100644
NTSYSAPI NTSTATUS WINAPI NtFlushBuffersFile(HANDLE,IO_STATUS_BLOCK*);
NTSYSAPI NTSTATUS WINAPI NtFlushInstructionCache(HANDLE,LPCVOID,SIZE_T);
diff --git a/server/process.c b/server/process.c
index cbe726afe81..f0f60edcd3f 100644
index f8739d0..71d9d6d 100644
--- a/server/process.c
+++ b/server/process.c
@@ -571,7 +571,7 @@ struct thread *create_process( int fd, struct thread *parent_thread, int inherit
@@ -566,7 +566,7 @@ struct thread *create_process( int fd, struct thread *parent_thread, int inherit
: alloc_handle_table( process, 0 );
/* Note: for security reasons, starting a new process does not attempt
* to use the current impersonation token for the new process */
@@ -139,10 +139,10 @@ index cbe726afe81..f0f60edcd3f 100644
}
if (!process->handles || !process->token) goto error;
diff --git a/server/protocol.def b/server/protocol.def
index fc6e343af52..b3dce66eb9c 100644
index 35824ae..6ee6d28 100644
--- a/server/protocol.def
+++ b/server/protocol.def
@@ -3391,6 +3391,16 @@ enum caret_state
@@ -3356,6 +3356,16 @@ enum caret_state
obj_handle_t new_handle; /* duplicated handle */
@END
@@ -160,10 +160,10 @@ index fc6e343af52..b3dce66eb9c 100644
obj_handle_t handle; /* handle to the token */
unsigned int desired_access; /* desired access to the object */
diff --git a/server/security.h b/server/security.h
index 606dbb2ab2c..6c337143c3d 100644
index 873bbc6..bc4a8f6 100644
--- a/server/security.h
+++ b/server/security.h
@@ -56,7 +56,9 @@ extern const PSID security_high_label_sid;
@@ -55,7 +55,9 @@ extern const PSID security_high_label_sid;
extern struct token *token_create_admin(void);
extern int token_assign_label( struct token *token, PSID label );
extern struct token *token_duplicate( struct token *src_token, unsigned primary,
@@ -175,10 +175,10 @@ index 606dbb2ab2c..6c337143c3d 100644
const LUID_AND_ATTRIBUTES *reqprivs,
unsigned int count, LUID_AND_ATTRIBUTES *usedprivs);
diff --git a/server/token.c b/server/token.c
index 74db66e1e24..acd7a4dedb5 100644
index 0810a61..2f6a467 100644
--- a/server/token.c
+++ b/server/token.c
@@ -299,6 +299,19 @@ static int acl_is_valid( const ACL *acl, data_size_t size )
@@ -276,6 +276,19 @@ static int acl_is_valid( const ACL *acl, data_size_t size )
return TRUE;
}
@@ -198,7 +198,7 @@ index 74db66e1e24..acd7a4dedb5 100644
/* checks whether all members of a security descriptor fit inside the size
* of memory specified */
int sd_is_valid( const struct security_descriptor *sd, data_size_t size )
@@ -639,8 +652,36 @@ static struct token *create_token( unsigned primary, const SID *user,
@@ -619,8 +632,36 @@ static struct token *create_token( unsigned primary, const SID *user,
return token;
}
@@ -236,7 +236,7 @@ index 74db66e1e24..acd7a4dedb5 100644
{
const luid_t *modified_id =
primary || (impersonation_level == src_token->impersonation_level) ?
@@ -676,6 +717,12 @@ struct token *token_duplicate( struct token *src_token, unsigned primary,
@@ -656,6 +697,12 @@ struct token *token_duplicate( struct token *src_token, unsigned primary,
return NULL;
}
memcpy( newgroup, group, size );
@@ -248,8 +248,8 @@ index 74db66e1e24..acd7a4dedb5 100644
+ }
list_add_tail( &token->groups, &newgroup->entry );
if (src_token->primary_group == &group->sid)
token->primary_group = &newgroup->sid;
@@ -684,11 +731,14 @@ struct token *token_duplicate( struct token *src_token, unsigned primary,
{
@@ -667,11 +714,14 @@ struct token *token_duplicate( struct token *src_token, unsigned primary,
/* copy privileges */
LIST_FOR_EACH_ENTRY( privilege, &src_token->privileges, struct privilege, entry )
@@ -264,7 +264,7 @@ index 74db66e1e24..acd7a4dedb5 100644
if (sd) default_set_sd( &token->obj, sd, OWNER_SECURITY_INFORMATION | GROUP_SECURITY_INFORMATION |
DACL_SECURITY_INFORMATION | SACL_SECURITY_INFORMATION );
@@ -1322,7 +1372,7 @@ DECL_HANDLER(duplicate_token)
@@ -1304,7 +1354,7 @@ DECL_HANDLER(duplicate_token)
TOKEN_DUPLICATE,
&token_ops )))
{
@@ -273,7 +273,7 @@ index 74db66e1e24..acd7a4dedb5 100644
if (token)
{
reply->new_handle = alloc_handle_no_access_check( current->process, token, req->access, objattr->attributes );
@@ -1332,6 +1382,36 @@ DECL_HANDLER(duplicate_token)
@@ -1314,6 +1364,36 @@ DECL_HANDLER(duplicate_token)
}
}
@@ -311,5 +311,5 @@ index 74db66e1e24..acd7a4dedb5 100644
DECL_HANDLER(check_token_privileges)
{
--
2.13.1
2.7.4

View File

@@ -1 +1 @@
Fixes: Implement advapi32.CreateRestrictedToken
Fixes: [25834] Implement advapi32.CreateRestrictedToken

View File

@@ -1,279 +0,0 @@
From 510d9f43f441bc3a9723aabfd2c1cdc8737d6dcc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
Date: Sun, 28 Aug 2016 21:56:41 +0200
Subject: advapi32: Implement GetExplicitEntriesFromAclW.
---
dlls/advapi32/security.c | 81 ++++++++++++++++++++++-
dlls/advapi32/tests/security.c | 142 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 221 insertions(+), 2 deletions(-)
diff --git a/dlls/advapi32/security.c b/dlls/advapi32/security.c
index e36792cff4..b305947347 100644
--- a/dlls/advapi32/security.c
+++ b/dlls/advapi32/security.c
@@ -4205,8 +4205,85 @@ DWORD WINAPI GetExplicitEntriesFromAclA( PACL pacl, PULONG pcCountOfExplicitEntr
DWORD WINAPI GetExplicitEntriesFromAclW( PACL pacl, PULONG pcCountOfExplicitEntries,
PEXPLICIT_ACCESSW* pListOfExplicitEntries)
{
- FIXME("%p %p %p\n",pacl, pcCountOfExplicitEntries, pListOfExplicitEntries);
- return ERROR_CALL_NOT_IMPLEMENTED;
+ ACL_SIZE_INFORMATION sizeinfo;
+ EXPLICIT_ACCESSW* entries;
+ MAX_SID *sid_entries;
+ ACE_HEADER *ace;
+ NTSTATUS status;
+ int i;
+
+ FIXME("%p %p %p: semi-stub\n",pacl, pcCountOfExplicitEntries, pListOfExplicitEntries);
+
+ if (!pcCountOfExplicitEntries || !pListOfExplicitEntries)
+ return ERROR_INVALID_PARAMETER;
+
+ status = RtlQueryInformationAcl(pacl, &sizeinfo, sizeof(sizeinfo), AclSizeInformation);
+ if (status) return RtlNtStatusToDosError(status);
+
+ if (!sizeinfo.AceCount)
+ {
+ *pcCountOfExplicitEntries = 0;
+ *pListOfExplicitEntries = NULL;
+ return ERROR_SUCCESS;
+ }
+
+ entries = LocalAlloc(LMEM_FIXED | LMEM_ZEROINIT, (sizeof(EXPLICIT_ACCESSW) + sizeof(MAX_SID)) * sizeinfo.AceCount);
+ if (!entries) return ERROR_OUTOFMEMORY;
+ sid_entries = (MAX_SID*)((char*)entries + sizeof(EXPLICIT_ACCESSW) * sizeinfo.AceCount);
+
+ for (i = 0; i < sizeinfo.AceCount; i++)
+ {
+ status = RtlGetAce(pacl, i, (void**)&ace);
+ if (status) goto error;
+
+ switch (ace->AceType)
+ {
+ case ACCESS_ALLOWED_ACE_TYPE:
+ {
+ ACCESS_ALLOWED_ACE *allow = (ACCESS_ALLOWED_ACE *)ace;
+ entries[i].grfAccessMode = GRANT_ACCESS;
+ entries[i].grfInheritance = ace->AceFlags;
+ entries[i].grfAccessPermissions = allow->Mask;
+
+ CopySid(sizeof(MAX_SID), (PSID)&sid_entries[i], (PSID)&allow->SidStart);
+ entries[i].Trustee.pMultipleTrustee = NULL;
+ entries[i].Trustee.MultipleTrusteeOperation = NO_MULTIPLE_TRUSTEE;
+ entries[i].Trustee.TrusteeForm = TRUSTEE_IS_SID;
+ entries[i].Trustee.TrusteeType = TRUSTEE_IS_UNKNOWN;
+ entries[i].Trustee.ptstrName = (WCHAR *)&sid_entries[i];
+ break;
+ }
+
+ case ACCESS_DENIED_ACE_TYPE:
+ {
+ ACCESS_DENIED_ACE *deny = (ACCESS_DENIED_ACE *)ace;
+ entries[i].grfAccessMode = DENY_ACCESS;
+ entries[i].grfInheritance = ace->AceFlags;
+ entries[i].grfAccessPermissions = deny->Mask;
+
+ CopySid(sizeof(MAX_SID), (PSID)&sid_entries[i], (PSID)&deny->SidStart);
+ entries[i].Trustee.pMultipleTrustee = NULL;
+ entries[i].Trustee.MultipleTrusteeOperation = NO_MULTIPLE_TRUSTEE;
+ entries[i].Trustee.TrusteeForm = TRUSTEE_IS_SID;
+ entries[i].Trustee.TrusteeType = TRUSTEE_IS_UNKNOWN;
+ entries[i].Trustee.ptstrName = (WCHAR *)&sid_entries[i];
+ break;
+ }
+
+ default:
+ FIXME("Unhandled ace type %d\n", ace->AceType);
+ entries[i].grfAccessMode = NOT_USED_ACCESS;
+ continue;
+ }
+ }
+
+ *pcCountOfExplicitEntries = sizeinfo.AceCount;
+ *pListOfExplicitEntries = entries;
+ return ERROR_SUCCESS;
+
+error:
+ LocalFree(entries);
+ return RtlNtStatusToDosError(status);
}
/******************************************************************************
diff --git a/dlls/advapi32/tests/security.c b/dlls/advapi32/tests/security.c
index 3c68205922..ca5edffae5 100644
--- a/dlls/advapi32/tests/security.c
+++ b/dlls/advapi32/tests/security.c
@@ -134,6 +134,7 @@ static BOOL (WINAPI *pGetWindowsAccountDomainSid)(PSID,PSID,DWORD*);
static void (WINAPI *pRtlInitAnsiString)(PANSI_STRING,PCSZ);
static NTSTATUS (WINAPI *pRtlFreeUnicodeString)(PUNICODE_STRING);
static PSID_IDENTIFIER_AUTHORITY (WINAPI *pGetSidIdentifierAuthority)(PSID);
+static DWORD (WINAPI *pGetExplicitEntriesFromAclW)(PACL,PULONG,PEXPLICIT_ACCESSW*);
static HMODULE hmod;
static int myARGC;
@@ -230,6 +231,7 @@ static void init(void)
pGetWindowsAccountDomainSid = (void *)GetProcAddress(hmod, "GetWindowsAccountDomainSid");
pGetSidIdentifierAuthority = (void *)GetProcAddress(hmod, "GetSidIdentifierAuthority");
pDuplicateTokenEx = (void *)GetProcAddress(hmod, "DuplicateTokenEx");
+ pGetExplicitEntriesFromAclW = (void *)GetProcAddress(hmod, "GetExplicitEntriesFromAclW");
myARGC = winetest_get_mainargs( &myARGV );
}
@@ -7076,6 +7078,145 @@ static void test_child_token_sd(void)
HeapFree(GetProcessHeap(), 0, sd);
}
+static void test_GetExplicitEntriesFromAclW(void)
+{
+ static const WCHAR wszCurrentUser[] = { 'C','U','R','R','E','N','T','_','U','S','E','R','\0'};
+ SID_IDENTIFIER_AUTHORITY SIDAuthWorld = { SECURITY_WORLD_SID_AUTHORITY };
+ SID_IDENTIFIER_AUTHORITY SIDAuthNT = { SECURITY_NT_AUTHORITY };
+ PSID everyone_sid = NULL, users_sid = NULL;
+ EXPLICIT_ACCESSW access;
+ EXPLICIT_ACCESSW *access2;
+ PACL new_acl, old_acl = NULL;
+ ULONG count;
+ DWORD res;
+
+ if (!pGetExplicitEntriesFromAclW)
+ {
+ win_skip("GetExplicitEntriesFromAclW is not available\n");
+ return;
+ }
+
+ if (!pSetEntriesInAclW)
+ {
+ win_skip("SetEntriesInAclW is not available\n");
+ return;
+ }
+
+ old_acl = HeapAlloc(GetProcessHeap(), 0, 256);
+ res = InitializeAcl(old_acl, 256, ACL_REVISION);
+ if(!res && GetLastError() == ERROR_CALL_NOT_IMPLEMENTED)
+ {
+ win_skip("ACLs not implemented - skipping tests\n");
+ HeapFree(GetProcessHeap(), 0, old_acl);
+ return;
+ }
+ ok(res, "InitializeAcl failed with error %d\n", GetLastError());
+
+ res = AllocateAndInitializeSid(&SIDAuthWorld, 1, SECURITY_WORLD_RID, 0, 0, 0, 0, 0, 0, 0, &everyone_sid);
+ ok(res, "AllocateAndInitializeSid failed with error %d\n", GetLastError());
+
+ res = AllocateAndInitializeSid(&SIDAuthNT, 2, SECURITY_BUILTIN_DOMAIN_RID,
+ DOMAIN_ALIAS_RID_USERS, 0, 0, 0, 0, 0, 0, &users_sid);
+ ok(res, "AllocateAndInitializeSid failed with error %d\n", GetLastError());
+
+ res = AddAccessAllowedAce(old_acl, ACL_REVISION, KEY_READ, users_sid);
+ ok(res, "AddAccessAllowedAce failed with error %d\n", GetLastError());
+
+ access2 = NULL;
+ res = pGetExplicitEntriesFromAclW(old_acl, &count, &access2);
+ ok(res == ERROR_SUCCESS, "GetExplicitEntriesFromAclW failed with error %d\n", GetLastError());
+ ok(count == 1, "Expected count == 1, got %d\n", count);
+ ok(access2[0].grfAccessMode == GRANT_ACCESS, "Expected GRANT_ACCESS, got %d\n", access2[0].grfAccessMode);
+ ok(access2[0].grfAccessPermissions == KEY_READ, "Expected KEY_READ, got %d\n", access2[0].grfAccessPermissions);
+ ok(access2[0].Trustee.TrusteeForm == TRUSTEE_IS_SID, "Expected SID trustee, got %d\n", access2[0].Trustee.TrusteeForm);
+ ok(access2[0].grfInheritance == NO_INHERITANCE, "Expected NO_INHERITANCE, got %x\n", access2[0].grfInheritance);
+ ok(EqualSid(access2[0].Trustee.ptstrName, users_sid), "Expected equal SIDs\n");
+ LocalFree(access2);
+
+ access.Trustee.MultipleTrusteeOperation = NO_MULTIPLE_TRUSTEE;
+ access.Trustee.pMultipleTrustee = NULL;
+
+ access.grfAccessPermissions = KEY_WRITE;
+ access.grfAccessMode = GRANT_ACCESS;
+ access.grfInheritance = NO_INHERITANCE;
+ access.Trustee.TrusteeType = TRUSTEE_IS_WELL_KNOWN_GROUP;
+ access.Trustee.TrusteeForm = TRUSTEE_IS_SID;
+ access.Trustee.ptstrName = everyone_sid;
+ res = pSetEntriesInAclW(1, &access, old_acl, &new_acl);
+ ok(res == ERROR_SUCCESS, "SetEntriesInAclW failed: %u\n", res);
+ ok(new_acl != NULL, "returned acl was NULL\n");
+
+ access2 = NULL;
+ res = pGetExplicitEntriesFromAclW(new_acl, &count, &access2);
+ ok(res == ERROR_SUCCESS, "GetExplicitEntriesFromAclW failed with error %d\n", GetLastError());
+ ok(count == 2, "Expected count == 2, got %d\n", count);
+ ok(access2[0].grfAccessMode == GRANT_ACCESS, "Expected GRANT_ACCESS, got %d\n", access2[0].grfAccessMode);
+ ok(access2[0].grfAccessPermissions == KEY_WRITE, "Expected KEY_WRITE, got %d\n", access2[0].grfAccessPermissions);
+ ok(access2[0].Trustee.TrusteeType == TRUSTEE_IS_UNKNOWN,
+ "Expected TRUSTEE_IS_UNKNOWN trustee type, got %d\n", access2[0].Trustee.TrusteeType);
+ ok(access2[0].Trustee.TrusteeForm == TRUSTEE_IS_SID, "Expected SID trustee, got %d\n", access2[0].Trustee.TrusteeForm);
+ ok(access2[0].grfInheritance == NO_INHERITANCE, "Expected NO_INHERITANCE, got %x\n", access2[0].grfInheritance);
+ ok(EqualSid(access2[0].Trustee.ptstrName, everyone_sid), "Expected equal SIDs\n");
+ LocalFree(access2);
+ LocalFree(new_acl);
+
+ access.Trustee.TrusteeType = TRUSTEE_IS_UNKNOWN;
+ res = pSetEntriesInAclW(1, &access, old_acl, &new_acl);
+ ok(res == ERROR_SUCCESS, "SetEntriesInAclW failed: %u\n", res);
+ ok(new_acl != NULL, "returned acl was NULL\n");
+
+ access2 = NULL;
+ res = pGetExplicitEntriesFromAclW(new_acl, &count, &access2);
+ ok(res == ERROR_SUCCESS, "GetExplicitEntriesFromAclW failed with error %d\n", GetLastError());
+ ok(count == 2, "Expected count == 2, got %d\n", count);
+ ok(access2[0].grfAccessMode == GRANT_ACCESS, "Expected GRANT_ACCESS, got %d\n", access2[0].grfAccessMode);
+ ok(access2[0].grfAccessPermissions == KEY_WRITE, "Expected KEY_WRITE, got %d\n", access2[0].grfAccessPermissions);
+ ok(access2[0].Trustee.TrusteeType == TRUSTEE_IS_UNKNOWN,
+ "Expected TRUSTEE_IS_UNKNOWN trustee type, got %d\n", access2[0].Trustee.TrusteeType);
+ ok(access2[0].Trustee.TrusteeForm == TRUSTEE_IS_SID, "Expected SID trustee, got %d\n", access2[0].Trustee.TrusteeForm);
+ ok(access2[0].grfInheritance == NO_INHERITANCE, "Expected NO_INHERITANCE, got %x\n", access2[0].grfInheritance);
+ ok(EqualSid(access2[0].Trustee.ptstrName, everyone_sid), "Expected equal SIDs\n");
+ LocalFree(access2);
+ LocalFree(new_acl);
+
+ access.Trustee.TrusteeForm = TRUSTEE_IS_NAME;
+ access.Trustee.ptstrName = (LPWSTR)wszCurrentUser;
+ res = pSetEntriesInAclW(1, &access, old_acl, &new_acl);
+ ok(res == ERROR_SUCCESS, "SetEntriesInAclW failed: %u\n", res);
+ ok(new_acl != NULL, "returned acl was NULL\n");
+
+ access2 = NULL;
+ res = pGetExplicitEntriesFromAclW(new_acl, &count, &access2);
+ ok(res == ERROR_SUCCESS, "GetExplicitEntriesFromAclW failed with error %d\n", GetLastError());
+ ok(count == 2, "Expected count == 2, got %d\n", count);
+ ok(access2[0].grfAccessMode == GRANT_ACCESS, "Expected GRANT_ACCESS, got %d\n", access2[0].grfAccessMode);
+ ok(access2[0].grfAccessPermissions == KEY_WRITE, "Expected KEY_WRITE, got %d\n", access2[0].grfAccessPermissions);
+ ok(access2[0].Trustee.TrusteeType == TRUSTEE_IS_UNKNOWN,
+ "Expected TRUSTEE_IS_UNKNOWN trustee type, got %d\n", access2[0].Trustee.TrusteeType);
+ ok(access2[0].Trustee.TrusteeForm == TRUSTEE_IS_SID, "Expected SID trustee, got %d\n", access2[0].Trustee.TrusteeForm);
+ ok(access2[0].grfInheritance == NO_INHERITANCE, "Expected NO_INHERITANCE, got %x\n", access2[0].grfInheritance);
+ LocalFree(access2);
+ LocalFree(new_acl);
+
+ access.grfAccessMode = REVOKE_ACCESS;
+ access.Trustee.TrusteeForm = TRUSTEE_IS_SID;
+ access.Trustee.ptstrName = users_sid;
+ res = pSetEntriesInAclW(1, &access, old_acl, &new_acl);
+ ok(res == ERROR_SUCCESS, "SetEntriesInAclW failed: %u\n", res);
+ ok(new_acl != NULL, "returned acl was NULL\n");
+
+ access2 = (void *)0xdeadbeef;
+ res = pGetExplicitEntriesFromAclW(new_acl, &count, &access2);
+ ok(res == ERROR_SUCCESS, "GetExplicitEntriesFromAclW failed with error %d\n", GetLastError());
+ ok(count == 0, "Expected count == 0, got %d\n", count);
+ ok(access2 == NULL, "access2 was not NULL\n");
+ LocalFree(new_acl);
+
+ FreeSid(users_sid);
+ FreeSid(everyone_sid);
+ HeapFree(GetProcessHeap(), 0, old_acl);
+}
+
START_TEST(security)
{
init();
@@ -7129,6 +7270,7 @@ START_TEST(security)
test_pseudo_tokens();
test_maximum_allowed();
test_token_label();
+ test_GetExplicitEntriesFromAclW();
/* Must be the last test, modifies process token */
test_token_security_descriptor();
--
2.13.1

View File

@@ -1 +0,0 @@
Fixes: Implement semi-stub for advapi32.GetExplicitEntriesFromAclW

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