Compare commits

...

354 Commits

Author SHA1 Message Date
Sebastian Lackner
3b127e5f51 Release 1.9.19. 2016-09-19 01:30:09 +02:00
Sebastian Lackner
1e2b0d3e0c Added patch to implement support for SP_COPY_IN_USE_NEEDS_REBOOT in do_file_copyW. 2016-09-18 23:11:45 +02:00
Sebastian Lackner
a358f0984b Added patch to implement CIF reader and download functionality in inseng.dll. 2016-09-18 22:48:10 +02:00
Sebastian Lackner
c08a9ab0d6 Added patch to allow to create win23 prefix when directory already exists. 2016-09-18 20:39:19 +02:00
Sebastian Lackner
4483c9737e Added patch to open current working directory with FILE_TRAVERSE access. 2016-09-18 20:22:06 +02:00
Sebastian Lackner
522961364f Rebase against e2ebc0dc23f0fa04ea79cefc9e3d2faf189a6bf7.
[windowscodecs-32bppGrayFloat]
Partially removed patches to implement support for WICPixelFormat32bppGrayFloat
(accepted upstream).

[windowscodecs-copypixels_to_24bppRGB]
Removed patch to avoid extra conversion step BGR->RGB when converting 32bpp
BGRA to 24bpp RGB (accepted upstream).
2016-09-17 16:06:46 +02:00
Sebastian Lackner
f8b5d1530a Rebase against 1938d389b293930c5ac2f2970c6241e09517cf49.
[gdiplus-GdipCreateMetafileFromStream]
Removed remaining patches to implement GdipGetMetafileHeaderFrom* functions
(accepted upstream).
2016-09-16 07:58:16 +02:00
Sebastian Lackner
75760561c3 Rebase against 4931e6f92bc7e0c229a057ebf2e000f8f5aa1edd. 2016-09-15 06:22:42 +02:00
Sebastian Lackner
79af70fad1 Rebase against 4e9cc305bb1a758eb70419318c7c41c2918fc180. 2016-09-13 23:52:10 +02:00
Sebastian Lackner
3bb2024464 Rebase against c1bc25dd38dab0504bd9eb45641a830ff08488b3.
[gdiplus-GdipCreateMetafileFromStream]
Removed patches to implement GdipCreateMetafileFromStream and
GdipGetMetafileHeaderFromMetafile (accepted upstream).
2016-09-12 23:39:35 +02:00
Sebastian Lackner
2ad4a084dd Added patch to silence a noisy FIXME message in msvcrt.pf_printf. 2016-09-10 18:56:18 +02:00
Sebastian Lackner
4465c82831 Rebase against 4bfefc5c7132023ee40d70572b677ae0e441df38. 2016-09-10 08:27:16 +02:00
Sebastian Lackner
141b05e4ff Rebase against 01581bfc48161c3c55027334b1ecb9e909873a6b. 2016-09-09 22:59:00 +02:00
Sebastian Lackner
50a0e530a8 Rebase against 7c06f1c218a2ecb1f2dda2cfb97b3a2c5b7f01e8. 2016-09-09 19:48:49 +02:00
Sebastian Lackner
b3a71a8918 Rebase against f53c320f04114253955b509da294ef454864679d. 2016-09-07 17:58:48 +02:00
Sebastian Lackner
82a0709ef2 Release 1.9.18. 2016-09-05 16:09:42 +02:00
Sebastian Lackner
bf90df4eed Added hack for WINED3DFMT_R24_UNORM_X8_TYPELESS format. 2016-09-04 21:23:54 +02:00
Sebastian Lackner
e2e200361f Added patch to implement IWICPalette::InitializeFromBitmap and corresponding gdiplus functions. 2016-09-04 21:12:21 +02:00
Sebastian Lackner
ad962f7d64 Rebase against 7baaab5b53011c3a593e1ff32538c9ca706db212.
FIXME: Use CS resource map/unmap mechanism instead of separate opcodes.
2016-09-03 21:19:17 +02:00
Sebastian Lackner
d28e0d12bb Rebase against 225c43b8124aaeb4c2e307379ab98036db1a38b3. 2016-09-01 19:55:33 +02:00
Sebastian Lackner
938ffad317 Rebase against 23a64ca074021bfda46f6287aaa529d6e8f66774. 2016-08-31 21:51:53 +02:00
Sebastian Lackner
6b3228a788 Added patch to avoid extra conversion step BGR->RGB when converting 32bpp BGRA to 24bpp RGB. 2016-08-31 17:54:00 +02:00
Michael MĂĽller
6b709dc505 Added patch for d3d11 1d textures. 2016-08-31 17:42:50 +02:00
Sebastian Lackner
8ca9f08b92 Rebase against 002af352fac43d170aad216bf15098b27555539a. 2016-08-30 20:44:42 +02:00
Sebastian Lackner
39c7e02819 Rebase against d3cb5c24a5ebbc7dcfb181a56f0f55cf3d1a1c30. 2016-08-29 18:29:37 +02:00
Sebastian Lackner
398d920e3a Added patch to implement semi-stub for d3d11_device_CheckFormatSupport. 2016-08-29 03:14:37 +02:00
Sebastian Lackner
5a40e8f8b3 Added patch to add WINED3DFMT_R32G32_{U,S}INT as render target format. 2016-08-29 03:06:03 +02:00
Sebastian Lackner
d4fa026231 Added patch to implement semi-stub for advapi32.GetExplicitEntriesFromAclW. 2016-08-29 03:05:30 +02:00
Sebastian Lackner
43a640f8fd Rebase against 30cdd1fb8cea410cb9e363b16278528669e2c19a. 2016-08-28 20:22:44 +02:00
Sebastian Lackner
deb73bfa7c Rebase against 839995d5e9afcbcdcd084eac3a8e6e48a2173eda. 2016-08-25 23:43:12 +02:00
Sebastian Lackner
f2fd04974f Rebase against a875e3c6ab075c0603e7bf1430abdba704640602. 2016-08-25 23:20:12 +02:00
Sebastian Lackner
9961dd76da Rebase against 94845c400e2d09c96854e756075a0004c17776bb. 2016-08-24 09:30:16 +02:00
Sebastian Lackner
d86ab36369 Rebase against 90173ce448e5afe55627c2cbece28fb4f6bae99d.
[ntdll-ThreadpoolCleanupGroup]
Removed patches to fix multiple bugs related to threadpool cleanup groups and
cancel callbacks (accepted upstream).
2016-08-24 09:29:31 +02:00
Sebastian Lackner
034992d90e Release 1.9.17. 2016-08-22 00:17:29 +02:00
Sebastian Lackner
5b67aa1fc3 Added patch to check input format in MPEG3_StreamOpen. 2016-08-21 03:40:47 +02:00
Sebastian Lackner
d3cebda659 Added patch to fill out DeviceInfoData in SetupDiGetDeviceInterfaceDetail even if interface buffer is too small. 2016-08-20 23:26:28 +02:00
Sebastian Lackner
f438f86e52 Added patches to fix multiple bugs related to threadpool cleanup groups and cancel callbacks. 2016-08-20 22:51:09 +02:00
Sebastian Lackner
17396cec6d kernel32-UmsStubs: Synchronize spec files. 2016-08-20 15:47:51 +02:00
Sebastian Lackner
c4d19a5e32 Rebase against a83d5d3b83042d2305de0595c0d03e4e7bf1e29e. 2016-08-20 14:40:39 +02:00
Sebastian Lackner
fbe5fa909a wined3d-CSMT_Main: Added patch to avoid calling SetEvent when worker thread is fast enough. 2016-08-19 17:14:36 +02:00
Sebastian Lackner
a8ed1e17c2 Rebase against 60f8b516e2a6233eaee8ae58cd2eccce998dd81f.
[ntdll-x86_64_Builtin_Frames]
Temporarily disable patchset to improve handling of builtin frames for x86_64
when switching stack. This needs additional work to be compatible with the
recent collided unwind upstream changes.
2016-08-19 17:12:13 +02:00
Sebastian Lackner
38d1d5a2fe Rebase against 51021faaef8312c35e9772873ad588c194c5c709. 2016-08-16 23:13:29 +02:00
Sebastian Lackner
4a42867417 Rebase against c90e46b66ded518dbfb88f1efdc366e7986defb4. 2016-08-15 20:39:38 +02:00
Sebastian Lackner
436e1adc84 Rebase against d6d0d96402b9c187877f11da173f8fbbf62ba072. 2016-08-13 05:24:18 +02:00
Sebastian Lackner
c46fab6261 Rebase against dca0e38d82c737cd8aeab63e08cf1990d05d9671.
FIXME: Merge buffer/texture preload commands.
2016-08-12 18:06:33 +02:00
Sebastian Lackner
e875860886 patchinstall.sh: Add support for eapply backend and mark epatch as deprecated (thanks NP-Hardass). 2016-08-11 06:07:13 +02:00
Sebastian Lackner
a6c6b83eb7 Rebase against 882980c17a9a033fa8e49a4c116af9583698d218. 2016-08-10 22:22:18 +02:00
Sebastian Lackner
b727968b45 Rebase against ba858c28fd489a812ea0f55a11680a8edaf99ce5. 2016-08-09 20:42:49 +02:00
Sebastian Lackner
929a758ef4 Rebase against 84b3218ed6ad5975f537481edf2f61fb26bedb8b. 2016-08-08 21:43:18 +02:00
Sebastian Lackner
1b0da6367b Release 1.9.16. 2016-08-06 23:43:07 +02:00
Sebastian Lackner
515f93534d wined3d-Silence_FIXMEs: Added patch to silence FIXME in shader_glsl_declare_generic_vertex_attribute. 2016-08-06 19:47:29 +02:00
Sebastian Lackner
d95ae10e5a Rebase against 3852d3357d087353d71d4d11359014a97dbf3e5a.
[d3dx9_36-D3DXDisassembleShader]
Removed patch to implement stub for d3dx9_36.D3DXFillCubeTextureTX (fixed upstream).
2016-08-06 05:03:26 +02:00
Sebastian Lackner
eaf5582379 wined3d-DXTn: Remove an invalid Fixes line. 2016-08-05 22:48:51 +02:00
Sebastian Lackner
61c40e8075 wined3d-CSMT_Main: Added patches to fix wrong return value and to send wined3d_texture_add_dirty_region through the command stream. 2016-08-05 22:47:08 +02:00
Sebastian Lackner
89e2d01a1d Rebase against 0b49495b8ed9e725b47b7ca791312a2a3c3e3c97. 2016-08-05 02:43:06 +02:00
Sebastian Lackner
43c1f6218c taskmgr-Memory_Usage: Update patch and return more precise freemem value if possible. 2016-08-04 20:45:59 +02:00
Sebastian Lackner
69b39e2f8a ntdll-Attach_Process_DLLs: Update patchset and fix a bug related to load ordering. 2016-08-04 08:53:05 +02:00
Sebastian Lackner
2260ec5633 Rebase against a65718a3e7b95443a82dafd5d2c9cded961404a6. 2016-08-04 03:33:52 +02:00
Sebastian Lackner
3aa3a625e3 Rebase against 9ef65cf3d6af2e488d7efcb94fe61aa7e8540351. 2016-08-03 03:13:11 +02:00
Sebastian Lackner
b5a323aaa3 Rebase against 7aadb08212a5269ebefcb100cf567f7cf7aa0a7c. 2016-08-02 23:48:54 +02:00
Sebastian Lackner
0b0ad0faa4 wined3d-CSMT_Main: Remove unused wined3d_cs_emit_query_poll declaration in header file. 2016-08-01 01:46:52 +02:00
Sebastian Lackner
a95641d039 d3dx9_36-D3DXStubs: Update spec files. 2016-07-31 03:45:07 +02:00
Sebastian Lackner
2c23a6155e d3dx9_36-D3DXDisassembleShader: Update spec file (thanks Alistair Leslie-Hughes). 2016-07-31 03:38:10 +02:00
Sebastian Lackner
3ddc7bcaff Fix compiler warnings in multiple patches. 2016-07-31 03:02:56 +02:00
Sebastian Lackner
9f334d5964 Added lots of patches to workaround GCC 6 compiler warnings. 2016-07-31 02:16:08 +02:00
Sebastian Lackner
d926a91bfa Rebase against 0f2a776a59006a15fb84a2a51237d3484f136966. 2016-07-31 01:20:28 +02:00
Sebastian Lackner
0fabea78c6 Rebase against 77fc4697dd7c2b81181c4549c22210bc16913736.
NtCurrentTeb()->Reserved5[0] is now used for a different purpose on x86_64 OSX.
2016-07-31 01:20:28 +02:00
Sebastian Lackner
50a53675fe Rebase against ba2e025b94fa3705d439803a545129c32e8818af. 2016-07-31 01:20:27 +02:00
Sebastian Lackner
ceb2471ad2 Rebase against 2337c50ed769f2078257283f82aa7e696b452324. 2016-07-31 01:20:27 +02:00
Sebastian Lackner
3d23048fe4 Rebase against d262a183116dedfbeedc2d1ec2ea597673bfcd86. 2016-07-31 01:20:27 +02:00
Sebastian Lackner
e1b287d31a Rebase against 52a3a3b20633bf3a08860d43c8a9130a693cbedb. 2016-07-31 01:20:27 +02:00
Sebastian Lackner
af8f18a1f6 Rebase against 63fcf7faee88aea9425f57de8516dea262f54531.
[ntdll-OSX_TEB_x86_64]
Removed patch to improve compatibility of 64-bit support for OS X (accepted
upstream).
2016-07-31 01:20:27 +02:00
Sebastian Lackner
002886bffa Rebase against b05704dbbd429a5325132c77a3e13fcb88b2995f. 2016-07-31 01:20:27 +02:00
Sebastian Lackner
104c5b24f1 Rebase against b54a8dda844a1a43d1dff22eff0ea206be5c630c.
[d3dx9_36-D3DXDisassembleShader]
Removed patch to implement d3dx9_36.D3DXCreateTextureShader with stub interface
(accepted upstream).

[ntdll-NtQuerySection]
Partially removed patches to implement NtQuerySection (fixed upstream).
2016-07-31 01:20:04 +02:00
Sebastian Lackner
e7778c5622 Release 1.9.15. 2016-07-23 22:40:22 +02:00
Sebastian Lackner
b8df58d714 Added patch to use sysfs to populate SCSI registry keys. 2016-07-23 18:37:21 +02:00
Sebastian Lackner
7307a7ea4f patchupdate.py: Add list of authors to autogenerated patches. 2016-07-23 17:27:59 +02:00
Sebastian Lackner
7ca3f2b608 Rebase against 267e8e3eeb6d0b6e8ccab809fddd27bae05cbfc2. 2016-07-23 16:30:17 +02:00
Sebastian Lackner
5989fb0938 Rebase against 654e960e340cc37a9282c52ba8aca5f779a13dbb. 2016-07-23 15:38:42 +02:00
Sebastian Lackner
3f111101a8 Rebase against 51c7df4f376fa7924752dc32a9715a4475e038df. 2016-07-23 14:32:39 +02:00
Sebastian Lackner
857c2fcfe2 Rebase against fac012f2e114870c9628e5ea5b5c8312284c0f3e. 2016-07-23 06:44:18 +02:00
Sebastian Lackner
f901f130fd Rebase against be2908ed071dd11de5dc2fae270aad15e5df7d17. 2016-07-22 20:22:24 +02:00
Sebastian Lackner
ba40b415b7 Rebase against a02c7ce7518b19d401ae854f18d2401a489f60db. 2016-07-22 19:10:06 +02:00
Sebastian Lackner
94f533c0ad Rebase against 0a5e205c06e0f0ccf632e02a48e86a386a4884e0. 2016-07-22 19:06:49 +02:00
Sebastian Lackner
4d1dd4c62a patchutils.py: Create smaller #ifdef ranges. 2016-07-22 18:49:06 +02:00
Sebastian Lackner
2b1f2e8578 patchutils.py: Fix a bug when parsing certain hunk headers. 2016-07-22 18:44:44 +02:00
Sebastian Lackner
4b1b7f77bc patchutils.py: Invert logic for applying #ifdef patches. 2016-07-22 17:33:27 +02:00
Sebastian Lackner
c779a2acbe Rebase against a615647435bd017af1993454902982d7a37b3cb3. 2016-07-20 21:01:50 +02:00
Sebastian Lackner
97fec39e47 Added patch to ensure process_attach callbacks are not executed too early. 2016-07-20 05:00:15 +02:00
Sebastian Lackner
cbd440689d Rebase against a71128513767d44a8f42e10895578b650061bdce.
[ntdll-NtUnmapViewOfSection]
Removed patch to fix behavior of UnmapViewOfFile for Win9x (accepted upstream).

[shell32-FolderItems_Stub_Iface]
Removed patch to implement stubbed FolderItems interface (fixed upstream).
2016-07-19 18:33:14 +02:00
Sebastian Lackner
5125d3edeb Rebase against adde9fadebe07c30ecc9f12685751fb78b3473c5.
[server-BaseNamedObjects]
Removed patch to provide symlink to BaseNamedObjects in \Sessions\1 (accepted
upstream).
2016-07-18 20:03:49 +02:00
Sebastian Lackner
6455c8e654 d3dx9_36-GetShaderSemantics: Correct spec files (thanks Alistair Leslie-Hughes). 2016-07-17 15:43:06 +02:00
Sebastian Lackner
b1b5d6c670 Added patch to provide symlink to BaseNamedObjects in \Sessions\1. 2016-07-16 18:12:26 +02:00
Sebastian Lackner
6a8aacda4c Rebase against fec0b697c74a8e016b41968b342f9fc9fe11bf74.
[ntdll-NtQueryInformationThread]
Removed patch to implement support for fs segment in GetThreadSelectorEntry
(accepted upstream).
2016-07-15 17:49:47 +02:00
Sebastian Lackner
f788007dc4 Rebase against 5101a90bca2bd2618b488f37624af43efe17a0e0.
[secur32-Gnutls_Algorithms]
Removed patch to define missing gnutls_kx_algorithm_t values for old gnutls
versions (accepted upstream).

[taskmgr-Memory_Usage]
Removed patch to use sysinfo to report correct number of physical pages
(accepted upstream).
2016-07-15 03:04:28 +02:00
Sebastian Lackner
31baacffe2 Rebase against 1bcc7ce75f64f2894de43379674bc5c53c52bb3a. 2016-07-11 03:06:53 +02:00
Sebastian Lackner
bd3563bdf1 Rebase against 0a3700e051f3e9473c5daa40a5cdd951b1310b8c.
[gdi32-PtInRegion]
Removed patch to add back the extents test (accepted upstream).
2016-07-10 22:20:23 +02:00
Sebastian Lackner
372c0be9d9 Release 1.9.14. 2016-07-10 19:52:08 +02:00
Sebastian Lackner
245467db83 Added patch to define missing gnutls_kx_algorithm_t values for old versions of gnutls. 2016-07-10 06:39:46 +02:00
Sebastian Lackner
f902de09d5 Added patch to add back extents test in PtInRegion. 2016-07-10 02:54:57 +02:00
Sebastian Lackner
17b81919fa wined3d-CSMT_Main: Removed patches affecting other dlls.
Because of the #ifdef those patches had no effect anyway.
2016-07-10 01:47:12 +02:00
Sebastian Lackner
a3e5cd8f58 Rebase against abb221fa81b60f53c14f6864bbfb9453455aeeeb. 2016-07-10 01:47:10 +02:00
Sebastian Lackner
a0cb1797f4 Rebase against cc9c18a46d1ce7e2834bae0fa65a6ed7904820dd. 2016-07-10 00:31:24 +02:00
Sebastian Lackner
970dc74e89 Rebase against 38f3d59ed694afba7913b4992d13cb044a09126c.
[user32-CharToOem]
Removed patch to properly handle invalid parameters in CharToOem* and
OemToChar* APIs (accepted upstream).
2016-07-09 17:57:44 +02:00
Sebastian Lackner
867c8334a1 Rebase against 94b6a885a880728f5e0a865fc17a82532723e756.
[ntdll-InMemoryOrderModuleList]
Removed patch to sort InMemoryOrderModuleList in load order (accepted upstream).
2016-07-07 20:33:23 +02:00
Sebastian Lackner
cf457f4e1c Rebase against 27ea3804ddc8077fedb7a0ea81ac96910f78a26f. 2016-07-06 22:38:12 +02:00
Sebastian Lackner
fc6aa583cf server-Realtime_Priority: Include stdarg.h in server/scheduler.c. 2016-07-06 05:51:29 +02:00
Sebastian Lackner
ed54d227d8 Added patch to forward various functions from d3d10_1 to d3d10. 2016-07-05 21:47:56 +02:00
Sebastian Lackner
f5734d67c8 Rebase against 9729d15a1a8de61030b68436a1c2239290af90f5. 2016-07-05 20:17:20 +02:00
Sebastian Lackner
8aa5c2acd0 Rebase against b1930ee4b8a0f77654bbab65c3bc30d721bf5d6a.
[include-webservices]
Removed patch to delete duplicate definition of WS_XML_NODE_POSITION (accepted
upstream).
2016-07-04 18:14:50 +02:00
Sebastian Lackner
d8862cbbfd Rebase against a9a6948b7944dccca6831914ea40e5c9aa5929bc.
[winspool.drv-SetPrinterW]
Removed patch to add stub for winspool.SetPrinterW level 8 (fixed upstream).
2016-07-03 23:05:00 +02:00
Sebastian Lackner
0792e994bd precommit-hook.sh: Use 'grep -q' instead of redirection to /dev/null. 2016-07-01 20:13:03 +02:00
Sebastian Lackner
09e1b75334 patchinstall.sh: Escape $ at the end of a string. 2016-07-01 19:50:22 +02:00
Sebastian Lackner
004c3abe40 patchutils.py: Generate diff in git format. 2016-07-01 01:28:38 +02:00
Sebastian Lackner
270b4f702b precommit-hook.sh: Automatically adjust version number after a release. 2016-07-01 01:13:40 +02:00
Sebastian Lackner
7df2eaa22d Release 1.9.13. 2016-06-25 17:18:29 +02:00
Sebastian Lackner
571ab663fd Added patch to remove duplicate definition in include/webservices.h. 2016-06-25 07:13:04 +02:00
Sebastian Lackner
ddba27937a ntoskrnl-DriverTest: Fix compile error caused by wrong import library. 2016-06-25 04:59:47 +02:00
Sebastian Lackner
f71c20b7f7 Rebase against af6f8ca4136ad937f8743494a8d3cea0b52d71cf.
[msvcrt-_fstat32i64]
Removed patch to implement msvcrt._fstat32i64 (accepted upstream).
2016-06-24 15:43:04 +02:00
Sebastian Lackner
8281fca8dc Added patch to implement ole32.OleGetIconOfFile stub. 2016-06-24 12:00:24 +02:00
Sebastian Lackner
093f3b9818 gdiplus-GdipCreateMetafileFromStream: Update patchset and implement GdipCreateMetafileFromFile. 2016-06-24 11:53:34 +02:00
Sebastian Lackner
c8299873fb wined3d-CSMT_Main: Remove patches with unnecessary 'Waiting for cs' warning. 2016-06-24 04:42:45 +02:00
Sebastian Lackner
60e6da65cd Rebase against 82f3446c5d09aba0aa0cffcf7ece54d44d3b86ef. 2016-06-24 02:24:55 +02:00
Sebastian Lackner
08dca3b834 Rebase against 38fb1062daaf68afe4dc20e1aceddfa89fe1ea4f. 2016-06-24 01:13:57 +02:00
Sebastian Lackner
4f12cf4dc9 Rebase against 9ba058e94c2662f5296c95adeafd29c59b137249. 2016-06-23 17:37:04 +02:00
Sebastian Lackner
1d08851c35 Rebase against e3bd659be9b2868b121857fb2643d775bbf0d8c7.
[d3dx9_33-Share_Source]
Removed patch to share source of d3dx9_36 with d3dx9_33 to avoid Wine DLL
forwards (accepted upstream).
2016-06-23 16:17:27 +02:00
Sebastian Lackner
a8976086e5 Rebase against 0c83f4d5bec8b01e1e6dcbb0a9a9932b6c24570b. 2016-06-23 07:26:56 +02:00
Sebastian Lackner
c6a96f3e32 Rebase against 7fe9858988eabf377ab5e2c64d92f973574b1ae8.
Also modifies a couple of other wined3d-CSMT_Main patches, and uses
wined3d_cs_emit_destroy_object where appropriate.
2016-06-23 06:15:03 +02:00
Sebastian Lackner
6adf92cebb Rebase against 4afc7470fb630035c911a1bf1d48f66bf16c230c. 2016-06-23 00:43:28 +02:00
Sebastian Lackner
e27647e4d5 Rebase against 9c1fbe509576d7cbaada3af9736888cfa1d02847. 2016-06-22 23:33:39 +02:00
Sebastian Lackner
2f3baafeca Rebase against 025c54344230ca8b32e80f08b9af13a16dfd2445.
[ws2_32-Sort_default_route]
Removed patch to ensure default route IP addresses are returned first in
gethostbyname.
2016-06-21 22:18:57 +02:00
Sebastian Lackner
5e5f21854b Rebase against 754c68182623657b4862d7700afbf781b4555c77.
[ucrtbase-Functions]
Removed patch to forward _{calloc,malloc,free}_base to {calloc,malloc,free}.
2016-06-17 19:04:51 +02:00
Sebastian Lackner
6b9d38b61c Remove disabled gdi32-PS_GEOMETRIC patchset.
Bug 39172 already has been fixed in a different way.
2016-06-17 05:40:44 +02:00
Sebastian Lackner
45157d6bbe Added patch with stubs for user-mode scheduling functions. 2016-06-17 03:44:38 +02:00
Sebastian Lackner
3cb1c835bc Added patch to use root dialog for DM_SETDEFID/DM_GETDEFID in DefDlgProc. 2016-06-16 23:52:44 +02:00
Sebastian Lackner
243a9f7b89 Rebase against 41d01871fef296dc717cf2c4f0bdbb07f5266acd. 2016-06-16 22:56:56 +02:00
Sebastian Lackner
4f532d23bb Rebase against 7cb3b72559745d94e7b7e3a0fbb40426f93d775f. 2016-06-16 22:02:21 +02:00
Sebastian Lackner
73d2e2a9e8 Rebase against 849163b1ed5e2586ee9f391e7a8b03f054bb620f. 2016-06-15 20:57:20 +02:00
Sebastian Lackner
7391ecfaa0 Release 1.9.12. 2016-06-13 19:02:12 +02:00
Sebastian Lackner
295deafca7 comctl32-Listview_DrawItem: Update patchset and fix a regression (thanks Michael MĂĽller). 2016-06-13 02:12:53 +02:00
Sebastian Lackner
2dd175172b Added patch to pass correct itemData to WM_MEASUREITEM when inserting an item to an owner-drawn listbox. 2016-06-12 19:58:05 +02:00
Sebastian Lackner
5924752fd9 Rebase against 50917e283629cbe994f2d7f091ed46ac8b25cda6. 2016-06-12 05:43:39 +02:00
Sebastian Lackner
57b298602e Rebase against 03b06fb76ba4204df5c20fda8955da09e16ec095. 2016-06-12 05:00:55 +02:00
Sebastian Lackner
52f5a405e9 Rebase against 0c0c86a8c7c93e7edbca8a7840c945f4159c3059.
FIXME: We should do all operations through the command stream.
2016-06-12 04:42:26 +02:00
Sebastian Lackner
c92ffa58c0 Rebase against 2a5b4fd884801a7f394ade49142fbfdba195243c. 2016-06-11 19:33:18 +02:00
Sebastian Lackner
e741b83080 Rebase against 9cc95e5a1d930d72892949a3ddf8fa00d471af88. 2016-06-06 22:38:52 +02:00
Sebastian Lackner
faf8d49216 winex11-_NET_ACTIVE_WINDOW: Update patchset and fix a regression (thanks Michael MĂĽller). 2016-06-05 02:34:21 +02:00
Sebastian Lackner
08e221b30c Added patch to send SC_KEYMENU on managed windows. 2016-06-05 01:32:42 +02:00
Sebastian Lackner
c2158ca405 Added patch to force conversion of 8 bpp grayscale PNG images to 32 bpp BGRA. 2016-06-04 03:04:10 +02:00
Sebastian Lackner
953ae16ca9 Added patch to scale a geometric pen for the mapping mode used by PATH_StrokePath. 2016-06-04 02:53:05 +02:00
Sebastian Lackner
066e207750 Rebase against d8641197c041763c2c9784f4b4a8b3dba2bbf0cb. 2016-06-03 18:05:36 +02:00
Sebastian Lackner
64e8ae3a61 Rebase against 5840ea47e6a0d761acbd45cd5a59fbcebfb86326. 2016-06-02 23:10:47 +02:00
Sebastian Lackner
3d1995983f Rebase against 03fa4cfaffd4c10f56a2f8bfd383f4eaf67d364c.
[ntdll-WinSqm]
Removed patch to add WinSqm[Start|End]Session implementation (accepted upstream).
2016-06-02 22:15:30 +02:00
Sebastian Lackner
4705d850ea Rebase against 59ee884bdf4947f5939499456539fca7a5806939. 2016-05-31 23:09:34 +02:00
Sebastian Lackner
8bede16222 Rebase against c89dc58deb9ba74d8dcd7faf7012203cff0724a0. 2016-05-30 18:24:40 +02:00
Sebastian Lackner
5c3c83fef5 Added patch to check if menu text is a valid string in MENU_DrawMenuItem. 2016-05-30 15:40:30 +02:00
Sebastian Lackner
8c43c80df2 Release 1.9.11. 2016-05-29 20:16:54 +02:00
Sebastian Lackner
99ddea76c5 Temporarily disable ntdll-Thread_Stack patchset.
The patchset was initially added for 64-bit MSYS2, however it seems to
break various other applications. Disable it until a better solution is
found.
2016-05-29 17:20:49 +02:00
Sebastian Lackner
6eb4b11c22 Added patch for ntoskrnl.IoStopTimer stub function. 2016-05-29 16:45:04 +02:00
Sebastian Lackner
5eb1d3c69b Added patch to implement DrawDibProfileDisplay in msvideo.dll16. 2016-05-28 00:24:35 +02:00
Sebastian Lackner
70a46a2305 Added patch to provide DeviceID, Location and PortName for printers. 2016-05-28 00:18:19 +02:00
Sebastian Lackner
bd04bf9ac0 Added patch for setupapi.CM_Get_DevNode_Status stub implementation. 2016-05-28 00:13:07 +02:00
Sebastian Lackner
749dc37048 Rebase against 81c700e0f8f8670f9c3b05a4baab2b2cffaeff89. 2016-05-27 23:41:15 +02:00
Sebastian Lackner
a15b448623 Rebase against 0dcf255b51ef096d649a5b4daee7204409550376. 2016-05-27 23:01:46 +02:00
Sebastian Lackner
e460e59354 Rebase against a0c651cd7cf83c9fac6b8776de2d54a731fc4b29.
[secur32-ANSI_NTLM_Credentials]
Removed patch to fix handling of ANSI NTLM credentials (accepted upstream).
2016-05-26 23:38:44 +02:00
Sebastian Lackner
71bb1a35f5 Added patch to avoid sorting InMemoryOrderModuleList by memory address. 2016-05-26 15:55:53 +02:00
Sebastian Lackner
83d43970e8 wined3d-CSMT_Main: Use newly introduced wined3d_calloc function. 2016-05-26 01:38:25 +02:00
Sebastian Lackner
0f1aef64bf Rebase against b5aeb661b9297a6ee6047335f42543936f593525. 2016-05-25 21:17:56 +02:00
Sebastian Lackner
a40017a010 Rebase against 351bd33f2cd1edd680176ef777d77a3d1256ab6d. 2016-05-25 20:34:59 +02:00
Sebastian Lackner
94419b1dad Rebase against 698d4114677205c3e5a0df659d230fe982578757. 2016-05-25 03:43:00 +02:00
Sebastian Lackner
5d32e6fc71 Added patch with workaround for Windows 3.1 apps which call LoadImage(LR_LOADFROMFILE) with a resource id. 2016-05-21 15:07:54 +02:00
Sebastian Lackner
f10c1d3c42 Rebase against 9a80284e1a886ff7e01d33f68715c9bfdb773459. 2016-05-19 20:06:07 +02:00
Sebastian Lackner
9aefba7af5 wined3d-CSMT_Main: Make float constant updates consistent with the rest of the code. 2016-05-19 14:44:21 +02:00
Sebastian Lackner
16e6b1c3e3 Rebase against 58e95f72218fa018739c484f172bc236e685d5bb.
[dbghelp-EnumerateLoadedModulesExW]
Removed patch to implement dbghelp.EnumerateLoadedModulesExW (fixed upstream).
2016-05-19 13:19:02 +02:00
Sebastian Lackner
8a2c526e13 Rebase against aa475ce23fa295a8f5d0fa120d7b3dac1a5a41b5.
[wininet-InternetReadFile]
Removed patch to return synchronously from InternetReadFile if there is no
more data to read (accepted upstream).
2016-05-19 13:18:45 +02:00
Sebastian Lackner
334b3cb393 Release 1.9.10. 2016-05-18 00:00:26 +02:00
Sebastian Lackner
54ed708c91 kernel32-Locale_Definitions: Update patchset and remove STAGED status. 2016-05-17 22:43:28 +02:00
Sebastian Lackner
1294cf8ca9 Added patch to implement msvcrt._fstat32i64. 2016-05-17 21:52:28 +02:00
Sebastian Lackner
5c40d98a8f Disabled wined3d-Revert_PixelFormat patchset.
The issue has already been fixed a while ago, and there are no known cases
where this patch actually makes a difference.
2016-05-17 15:15:15 +02:00
Sebastian Lackner
cc62b92f5e Added patch to recognize bump luminance X8L8V8U8 when loading dds file. 2016-05-17 14:51:17 +02:00
Sebastian Lackner
a89e9696d4 Added patch to properly handle invalid parameters in CharToOem* and OemToChar* APIs. 2016-05-17 14:43:30 +02:00
Sebastian Lackner
5f37cb2071 Added patch to resize buffer when call to InternetCanonicalizeUrlW fails in InternetCrackUrlW. 2016-05-17 14:38:43 +02:00
Sebastian Lackner
b4c93af2cb wined3d-CSMT_Main: Reenable CSMT patchset. 2016-05-17 12:57:30 +02:00
Sebastian Lackner
c2b1a0350d Added patch to implement dbghelp.EnumerateLoadedModulesExW. 2016-05-16 20:04:51 +02:00
Sebastian Lackner
70c4687b47 Added patch to fix various issues related to UnmapViewOfFile. 2016-05-16 19:59:21 +02:00
Sebastian Lackner
9907ab34d3 Added patch to return synchronously from InternetReadFile if there is no more data to read. 2016-05-16 19:40:37 +02:00
Sebastian Lackner
cd9936654a Rebase against f7ac364b0c06bbe7a1ef5b715f2be46b5e6c04d4. 2016-05-16 19:31:20 +02:00
Sebastian Lackner
87b3c56914 imagehlp-ImageLoad: Add dependency on imagehlp-Cleanup and remove a couple of todo_wines. 2016-05-15 22:55:46 +02:00
Sebastian Lackner
65a09eaaa0 d3d9-DesktopWindow: Fix some test failures. 2016-05-15 22:50:00 +02:00
Sebastian Lackner
35e6091943 winepulse-PulseAudio_Support: Add todo_wine to avoid a test failure. 2016-05-15 20:30:25 +02:00
Sebastian Lackner
2dff0d6075 oleaut32-OLEPictureImpl_SaveAsFile: Implement SaveAsFile for PICTYPE_ENHMETAFILE. 2016-05-15 19:09:59 +02:00
Sebastian Lackner
fd89a1b64c Added patch to avoid test failures in d2d1 tests on specific Nvidia graphic cards. 2016-05-15 17:32:04 +02:00
Sebastian Lackner
352d7723f5 mpr-WNetGetUniversalNameW: Fix a couple of test failures. 2016-05-15 17:28:01 +02:00
Sebastian Lackner
4564b0148b iphlpapi-System_Ping: Add/remove todo_wine to avoid test failures. 2016-05-15 17:20:24 +02:00
Sebastian Lackner
56c4a42468 Merge d3d9-Skip_Tests and d3d9-Tests patchset. 2016-05-15 17:15:01 +02:00
Sebastian Lackner
49f61371b2 Added patch to avoid test failures in d3d9 visual tests on specific Nvidia graphic cards. 2016-05-15 17:13:53 +02:00
Sebastian Lackner
fa0e389d75 Added patch to hide random test failures in ws2_32 socket tests. 2016-05-15 17:12:01 +02:00
Sebastian Lackner
44b04d6d36 winex11-wglShareLists: Remove todo for a succeeding tests. 2016-05-15 16:53:46 +02:00
Sebastian Lackner
64714a825f wined3d-Accounting: Mark some failing tests as todo. 2016-05-15 16:49:22 +02:00
Sebastian Lackner
71b8ace1aa wined3d-QUERY_Stubs: Remove todo for a couple of succeeding tests. 2016-05-15 16:38:54 +02:00
Sebastian Lackner
d661521305 ntdll-WRITECOPY: Do not mark tests as fixed.
The code is not active unless a special environment variable is set.
2016-05-15 16:32:20 +02:00
Sebastian Lackner
6f424b1e0f Rebase against 1348d9e97b1e83c99b68e0c9b592798038dc7f41. 2016-05-15 02:23:15 +02:00
Sebastian Lackner
131c688ab3 Added patch for sr-Latn-{CS,RS} locale definitions. 2016-05-15 00:11:30 +02:00
Sebastian Lackner
27ba45e053 Added patch to preserve custom colors between subitems for listview control. 2016-05-14 23:55:10 +02:00
Sebastian Lackner
1acbf46fcf Added patch to fix DialogBoxParam return value when control creation fails. 2016-05-14 23:46:34 +02:00
Sebastian Lackner
dc4a52734f Added patch with riched20 class tests. 2016-05-13 10:33:56 +02:00
Sebastian Lackner
b1d1f3475b Added patch to implement gdiplus.GdipGetMetafileHeaderFromMetafile and other metafile functions. 2016-05-13 08:29:00 +02:00
Sebastian Lackner
00902fdb2f Added patch to update Wine Gecko to version 2.47-beta1. 2016-05-11 02:58:17 +02:00
Sebastian Lackner
ee7d9bd76b oleaut32-Vtable_Offset: Add reference to upstream bug report. 2016-05-11 02:48:15 +02:00
Sebastian Lackner
e38a9d7073 Added patch to set buffer size to zero when InitializeSecurityContextW returns no data. 2016-05-08 23:20:09 +02:00
Sebastian Lackner
cd9e01c9ed Added patch to implement support for fs segment in GetThreadSelectorEntry. 2016-05-08 20:24:58 +02:00
Sebastian Lackner
ece39ae33d Added patch to extend a vtable offset before calling 64-bit DispCallFunc() for a 32-bit typelib. 2016-05-06 04:16:30 +02:00
Sebastian Lackner
cecff04cad Rebase against 6dd6c76299f02a311e37d20a4cef3a0f917f7076.
[ntdll-FileNamesInformation]
Removed patch to implement FileNamesInformation class support for
NtQueryDirectoryFile (fixed upstream).
2016-05-06 00:52:12 +02:00
Sebastian Lackner
96068c4fe2 Rebase against 9eaa37249948c4d77df37cf3649ad1db59412fcb.
[amstream-GetMultiMediaStream]
Removed patch to implement AMStream GetMultiMediaStream functions (accepted
upstream).

[mscoree-Buffer_Overflow]
Removed patch to avoid buffer overflow in mono print handler for large strings
(accepted upstream).

[ntdll-Fix_Free]
Removed patch to fix a handle leak in RemoveDirectoryW (accepted upstream).

[ntdll-FreeBSD_Directory]
Removed patch to use POSIX implementation to enumerate directory content on
FreeBSD (fixed upstream).
2016-05-04 05:14:18 +02:00
Sebastian Lackner
8e5acbdae3 Rebase against bd2999db92e63f3aa8b48945503c616c28726842.
[dwmapi-DwmSetWindowAttribute]
Removed patch to fake success in dwmapi.DwmSetWindowAttribute function
(accepted upstream).

[ntdll-NtSetLdtEntries]
Partially removed patch to implement ntdll.NtSetLdtEntries (accepted upstream).

[shell32-UNIXFS_get_unix_path]
Removed patch to check IsWoW64Process before calling Wow64 functions in
UNIXFS_get_unix_path (fixed upstream).
2016-05-02 20:35:09 +02:00
Sebastian Lackner
07d872e2bc Release 1.9.9. 2016-05-01 23:35:08 +02:00
Sebastian Lackner
fa8670d547 Added patch to fill stack with meaningful values in call_process_entry mis-align workaround. 2016-05-01 16:46:46 +02:00
Sebastian Lackner
b71dcee6b2 Added patch to improve wmic cmd line parser and add support for path command. 2016-04-30 23:41:04 +02:00
Sebastian Lackner
d77c36c405 Remove disabled ntdll-Heap_Delay_Free patchset.
The patchset was never actually enabled in a release because it caused various
regressions. Some applications depend on use-after-frees, others depend on the
fact that HeapAlloc() returns the previously used memory address after a
HeapFree.
2016-04-30 21:05:26 +02:00
Sebastian Lackner
853e7bea82 Remove disabled ntoskrnl-Irp_Status patchset.
The patchset did not properly resolve the original issue.
2016-04-30 21:03:25 +02:00
Sebastian Lackner
561eb28565 Remove disabled shell32-Default_Folder_ACLs patchset.
The patchset might not be completely wrong, but breaks the tests. Currently
there is no known application which depends on this.
2016-04-30 21:01:36 +02:00
Sebastian Lackner
7f8d293595 Remove disabled reg-Implement_Query patchset (accepted upstream). 2016-04-30 20:59:33 +02:00
Sebastian Lackner
05f4f2dfaf Disabled ntdll-Syscall_Wrappers patchset.
There are easier ways to workaround this bug in the meantime. Also,
the idea is not really feasible because its impossible to implement
proper syscall wrappers on 64-bit.
2016-04-30 05:18:57 +02:00
Sebastian Lackner
b7f0807cba ntdll-NtSetLdtEntries: Export the function also on other platforms (thanks Austin).
Whoops. Actually the function exists on x86_64, but similar to wow64, it just returns
STATUS_NOT_IMPLEMENTED.
2016-04-30 02:30:10 +02:00
Sebastian Lackner
424271828e Added patch to implement IKsControl stub subinterface for SynthPort. 2016-04-30 01:39:48 +02:00
Sebastian Lackner
88054b7a21 Added patch to avoid buffer overflow in mono print handler for large strings. 2016-04-29 23:14:35 +02:00
Sebastian Lackner
8d2cdec699 Rebase against 5e6f35ffbd8795da71c6fd6cb8adc84bf8a36504.
[fontsub-CreateFontPackage]
Removed patch to improve fontsub.CreateFontPackage stub implementation
(accepted upstream).

[quartz-AsyncReader]
Removed patch to improve detection of MPEG2 streams (accepted upstream).

[user32-SetCoalescableTimer]
Removed patch to add stub for SetCoalescableTimer (implemented upstream).
2016-04-29 21:08:18 +02:00
Sebastian Lackner
72a52e44c2 ntdll-NtSetLdtEntries: Fix a random test failure and minor style improvements. 2016-04-29 17:30:55 +02:00
Sebastian Lackner
79eb485272 Rebase against 179137c259ffed546fb6f2c88c0d4df0e140cc4c.
[kernel32-FreeUserPhysicalPages]
Removed patch to add stub for kernel32.FreeUserPhysicalPages (accepted upstream).

[wininet-HTTPREQ_ReadFile_Async]
Removed patch to implement support for async handling in InternetReadFile
(accepted upstream).
2016-04-28 20:58:58 +02:00
Sebastian Lackner
51b447a55f ntdll-NtSetLdtEntries: Update patchset and add actual implementation of NtSetLdtEntries. 2016-04-28 17:13:03 +02:00
Sebastian Lackner
0712486b63 Rebase against 4be4e282b737a7cfbccf18552a581ee6de3ac13c.
[winsta-WinStationEnumerateW]
Removed patch to add stub for winsta.WinStationEnumerateW (accepted upstream).
2016-04-28 00:44:52 +02:00
Sebastian Lackner
95899b69cc Added patch to improve fontsub.CreateFontPackage stub implementation. 2016-04-27 16:43:00 +02:00
Sebastian Lackner
52c70bd232 Added patch to postpone setting lpstrFileTitle to work around application bugs. 2016-04-27 16:39:23 +02:00
Sebastian Lackner
5e9e174e71 Added patch to implement support for loading and saving EMF to IPicture interface. 2016-04-27 16:24:34 +02:00
Sebastian Lackner
0d846617c9 wininet-HTTPREQ_ReadFile_Async: Update patchset and add initial tests. 2016-04-27 08:40:52 +02:00
Sebastian Lackner
8ae9a00d2e Rebase against a6e1adb8b701c390b248f8c4d74bef1ed5557599.
[shlwapi-IStream_fnRead]
Removed patch to fix IStream::Read() return value for partial reads (accepted
upstream).

[wined3d-Fix_Typos]
Removed patch to fix a typo in a wined3d TRACE message (accepted upstream).

[ws2_32-getaddrinfo]
Removed patch to ignore invalid protocol IPPROTO_IPV6 in getaddrinfo (accepted
upstream).
2016-04-26 17:46:43 +02:00
Sebastian Lackner
f837e9bbfd Rebase against 69eafe63ad7e3525f3498ab6af9f4c149753407f.
[server-Parent_Process]
Removed patch to avoid holding reference on parent process in
wineserver (accepted upstream).
2016-04-25 17:58:08 +02:00
Sebastian Lackner
1051d1524c Rebase against ef36a25aec33670cd2099e4bce379bd6e2ac42a0. 2016-04-22 18:50:58 +02:00
Sebastian Lackner
60387bee03 Added patch to create DIB section in OleLoadPicture. 2016-04-22 10:15:52 +02:00
Sebastian Lackner
686516f539 Removed disabled patchset makefiles-Revert_libwine_Import (fixed upstream). 2016-04-22 08:22:35 +02:00
Sebastian Lackner
b6a0bae40b wineps.drv-PostScript_Fixes: Add reference to upstream bug. 2016-04-22 08:22:35 +02:00
Sebastian Lackner
a1979756c6 Removed patch to increase MAX_WINPROCS (fixed upstream). 2016-04-22 08:22:35 +02:00
Sebastian Lackner
ab065dcd70 Rebase against 7c18fe17c76efd7d7a2b2648c48e5990c2ae780a.
[ws2_32-DisconnectEx]
Removed patch to implement semi-stub for ws2_32 DisconnectEx function (accepted
upstream).
2016-04-22 08:22:34 +02:00
Sebastian Lackner
ed798c278d Rebase against 00b68720bf32748422e6ccab8629acf04aec9d5a.
[user32-Revert_Popup_Menu]
Removed patch to fix a regression causing popup menus stay open
(accepted upstream).

[user32-WM_CTLCOLORBTN]
Removed patch to replicate Windows behavior of WM_SETTEXT handler
regarding WM_CTLCOLOR* messages (accepted upstream).

[user32-WM_MDICALCCHILDSCROLL]
Removed patch to change value of WM_MDICALCCHILDSCROLL to 0x003f
(accepted upstream).

[user32-WM_NOTIFY]
Removed patch to fix handling of WM_NOTIFY messages in PostThreadMessage
(accepted upstream).
2016-04-22 08:22:34 +02:00
Sebastian Lackner
cc990d9a9b Rebase against ab78cffea7ac676a7041c7d6941b61140cfe005c. 2016-04-22 08:22:34 +02:00
Sebastian Lackner
c366169c65 Added patch to fix a regression causing popup menus stay open. 2016-04-22 08:22:34 +02:00
Sebastian Lackner
6d48c2e282 Rebase against 3dbd46716299883761be9c4c4173a5f0402b2f7c.
[wbemdisp-ASSOCIATORS]
Removed patch with initial tests for ASSOCIATORS query (accepted upstream).
2016-04-22 08:21:19 +02:00
Sebastian Lackner
1f2899cb9f Release 1.9.8. 2016-04-17 17:09:14 +02:00
Sebastian Lackner
dd46af2590 Added patch to fix handling of wildcard paths in GetShortPathName and GetLongPathName. 2016-04-17 15:29:19 +02:00
Sebastian Lackner
6197fa1681 ntdll-Dealloc_Thread_Stack: Temporarily reenable patchset.
Without this patch, 64-bit MSYS2 runs into a STATUS_CONFLICTING_ADDRESSES
issue on x86_64 during fork(). This patch is not a proper solution, so it
will be disabled again in one of the future versions.
2016-04-17 08:32:52 +02:00
Sebastian Lackner
0946354641 user32-PNG_Support: Set EXTRAINCL variable in Makefile.in. 2016-04-17 02:19:37 +02:00
Sebastian Lackner
2354855786 Added patch to fix a bug when exception handling triggers stack guard page. 2016-04-17 01:28:17 +02:00
Sebastian Lackner
578398f0ab Added patch with tests for wbemprox ASSOCIATORS queries. 2016-04-16 22:59:37 +02:00
Sebastian Lackner
d8d1cf2e35 Added patch to trigger stack overflow exception earlier on x86_64. 2016-04-16 22:45:16 +02:00
Sebastian Lackner
4b7dbb610b Added patch with stubs for QUERY_TYPE_SO_STATISTICS and QUERY_TYPE_SO_OVERFLOW. 2016-04-16 21:15:16 +02:00
Sebastian Lackner
181ad80116 Added patch to fix a typo in a wined3d TRACE message. 2016-04-16 19:15:43 +02:00
Sebastian Lackner
b57004bc38 Added patch to improve compatibility of 64-bit support for OS X. 2016-04-16 16:30:58 +02:00
Sebastian Lackner
7fefd606b8 Rebase against f0429adbffce1f67b88b8c0a3e3a5badb6d6526e.
[compobj.dll16-StringFromGUID2]
Removed patch to fix implementation of compobj.dll16.StringFromGUID2 function
(accepted upstream).

[ntdll-Stack_Guard_Pages]
Removed patch to handle stack guard pages on x86_64 (accepted upstream).

[windowscodecs-PNG_Fixes]
Removed patch to allocate correct amount of memory for PNG image data (accepted
upstream).
2016-04-15 23:58:01 +02:00
Sebastian Lackner
7cbb25d95d Rebase against ee9ae29a55b12b2c657f968fd3a958d72ecd7857. 2016-04-14 19:02:36 +02:00
Sebastian Lackner
1a8a066920 Added patches for various improvements in wineps.drv. 2016-04-13 20:40:50 +02:00
Sebastian Lackner
141fc0844c Added patch to ignore invalid exit_frame when exiting thread.
This makes the ntdll-Dealloc_Thread_Stack patchset unnecessary.
2016-04-13 06:52:45 +02:00
Sebastian Lackner
95ff86b496 Added patch to use a separate stack when starting new threads. 2016-04-13 06:50:22 +02:00
Sebastian Lackner
579d7f8032 Removed disabled patchset user32-Dialog_Owner.
A rebased version of the remaining tests got upstream.
2016-04-12 23:00:20 +02:00
Sebastian Lackner
84922f9148 Rebase against 944190bad442f19fba5e0073d284469bd2329652. 2016-04-12 20:18:38 +02:00
Sebastian Lackner
402b8c4972 Added patch to improve handling of builtin frames for x86_64 when switching stacks. 2016-04-12 20:12:28 +02:00
Sebastian Lackner
b8b8585286 Added patch for feclient stub dll. 2016-04-12 07:00:54 +02:00
Sebastian Lackner
8064151dce Rebase against 1c201a96c57a68caaf6c976d7f3732738c9d9ac8. 2016-04-11 20:59:54 +02:00
Sebastian Lackner
cb89c75141 Added patch to implement support for async handling in InternetReadFile. 2016-04-09 08:30:09 +02:00
Sebastian Lackner
b4a404a22a Added patch to implement support for loading PNG icon files. 2016-04-09 07:53:48 +02:00
Sebastian Lackner
38db26b6d9 Rebase against ad7cb436571ec66ae7a5687568fca2f5318c7e76. 2016-04-08 18:34:13 +02:00
Sebastian Lackner
acd63ecddd Removed disabled patchset wined3d-MESA_GPU_Info.
The feature has already been integrated into the development branch.
2016-04-08 18:07:48 +02:00
Sebastian Lackner
1e7df1a0d8 Removed patch to rename wined3d_resource_(un)map to wined3d_resource_sub_resource_(un)map.
The patch was initially added for compatibility with the old CSMT patchset.
2016-04-08 18:07:31 +02:00
Sebastian Lackner
16975cdd43 api-ms-win-Stub_DLLs: Synchronize ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 spec file. 2016-04-08 02:46:33 +02:00
Sebastian Lackner
57dde8e88f Rebase against aaddf1365a3371263827206eedf1464a83562c00.
[msi-Fix_Stack_Alignment]
Removed patch to fix stack alignment in CUSTOMPROC_wrapper function (accepted
upstream).

[ntdll-FSCTL_PIPE_LISTEN]
Removed patch to avoid updating iosb.Status after FSCTL_PIPE_LISTEN call
(accepted upstream).

[user32-FlashWindowEx]
Removed patch to avoid dereferencing NULL pointer in a trace (accepted
upstream).

[windowscodecs-PNG_Fixes]
Removed patch to fix a copy/paste mistake (accepted upstream).

[winex11-Desktop_Resolution]
Removed patch to allow 320x240 as supported resolution in desktop mode
(accepted upstream).
2016-04-08 02:46:33 +02:00
Sebastian Lackner
e8ef34b3a1 Removed patch to fix cross-compilation of 32-bit Wine on OSX.
On Clang 3.5 passing "-m32" implicitly enabled SSE2 support. In newer versions
of Clang this issue was fixed, so the patch has no effect anymore, and a
different solution is required to fix various build failures related to SSE2
support. Ideally Wine should automatically set it when compiling such
components, but for now we pass CFLAGS="-msse2" in the build scripts to work
around this bug.

In addition, there are several bugs in the cctools-port crosscompiling
toolchain - at several places host architecture and target architecture are
mixed up, leading to build failures when the toolchain was built for a 64-bit
host system and trying to compile for a 32-bit target. For our build servers,
we now apply patches to fix those issues properly. A quick&dirty workaround
would be to keep the CFLAGS="-m32".
2016-04-08 02:34:12 +02:00
Sebastian Lackner
7ffe842cc0 shell32-File_Property_Dialog: Add reference to bug report. 2016-04-07 00:14:28 +02:00
Sebastian Lackner
640d075440 winex11-_NET_ACTIVE_WINDOW: Update patchset. 2016-04-06 18:51:03 +02:00
Sebastian Lackner
49ea937be3 Added patches to fix multiple minor issues in Wines windowscodecs implementation. 2016-04-06 18:43:29 +02:00
Sebastian Lackner
476a9c608e Rebase against be91fcd879a1de768a57b4a06be470c10313b08d.
[advapi32-RegNotifyChangeKeyValue]
Removed patch to fix return value of RegNotifyChangeKeyValue for pending events
(accepted upstream).
2016-04-05 22:35:54 +02:00
Sebastian Lackner
1f66129ef4 reg-Implement_Query: Update patchset. 2016-04-05 00:42:31 +02:00
Sebastian Lackner
1fa34cfef0 wined3d-Silence_FIXMEs: Added patch to display gl_blend_op FIXME only once when op is 0. 2016-04-05 00:33:14 +02:00
Sebastian Lackner
f427133a03 msvfw32-ICGetDisplayFormat: Added various fixes for stride handling. 2016-04-04 23:47:02 +02:00
Sebastian Lackner
fb87fbb11d Rebase against f6c10b8a75943dc3a49890c9c7a64c91752a4ee0.
[ntoskrnl-Stubs]
Removed patch to add stub for KeDelayExecutionThread (fixed upstream).
Removed patch to add stub for PsRemoveLoadImageNotifyRoutine (fixed upstream).

[wined3d-Geforce_425M]
Removed patch to add wined3d detection for GeForce GT 425M (accepted upstream).
2016-04-04 19:54:34 +02:00
Sebastian Lackner
6914bab984 patchutils.py: Use a common helper function for parsing patch hunks. 2016-04-04 04:43:05 +02:00
Sebastian Lackner
3ad772bb1f patchutils.py: Add tests for multiple patches in a single file. 2016-04-04 00:58:34 +02:00
Sebastian Lackner
a3bc186a20 patchutils.py: Move external test resources to a separate directory. 2016-04-04 00:56:14 +02:00
Sebastian Lackner
d21860deb6 patchutils.py: Get rid of 'expected' array in tests. 2016-04-04 00:24:26 +02:00
Sebastian Lackner
9e9b2716c4 patchutils.py: Avoid side-effects in asserts. 2016-04-03 23:47:43 +02:00
Sebastian Lackner
c4a321904d patchutils.py: Allow to pass io object to read_patch and _FileReader class. 2016-04-03 23:44:10 +02:00
Sebastian Lackner
9aba381edd Release 1.9.7. 2016-04-03 00:39:55 +02:00
Sebastian Lackner
f21f134546 patchutils.py: Remove is_binary() function. 2016-04-02 23:13:01 +02:00
Sebastian Lackner
a3ecf01ce2 Added patch to implement support for converting 16 bit depth to 24 bit in msvidc32. 2016-04-02 22:41:15 +02:00
Sebastian Lackner
bc7dbd89e0 patchutils.py: Remaining improvements for Python 3 compatibility. 2016-04-02 22:21:04 +02:00
Sebastian Lackner
74d16be256 patchutils.py: Explicitly open temporary files in non-binary mode for Python 3 compatibility. 2016-04-02 22:19:49 +02:00
Sebastian Lackner
8571c8b533 patchutils.py: Fix compatibility of StringIO with Python 3. 2016-04-02 22:16:59 +02:00
Sebastian Lackner
d3a4c072f7 patchutils.py: Add tests for read_patch function. 2016-04-02 21:22:01 +02:00
Sebastian Lackner
8bed2e61a6 patchutils.py: Avoid runtime error when parsing patch without author information. 2016-04-02 21:02:23 +02:00
Sebastian Lackner
6eb36a3a28 patchutils.py: Add tests for apply_patch function. 2016-04-02 20:25:37 +02:00
Sebastian Lackner
a872e2b1d0 wintrust-WinVerifyTrust: Fix a compiler warning with gcc 5.3.1 (thanks Michael MĂĽller). 2016-04-02 17:00:21 +02:00
Sebastian Lackner
8b8f5b3b8c msvfw32-ICGetDisplayFormat: Update patchset and fix initialization of biSizeImage field. 2016-04-02 16:27:28 +02:00
Sebastian Lackner
8cc2c511dd ntoskrnl-Stubs: Added patch for stub of ntoskrnl.IoGetDeviceAttachmentBaseRef. 2016-04-02 08:24:00 +02:00
Sebastian Lackner
bdb15cfc19 Added patch to implement image hash verification in WinVerifyTrust. 2016-04-02 07:43:48 +02:00
Sebastian Lackner
1f27eee3ed Added patches to fix multiple issues in shell32 context menu handling. 2016-04-02 05:58:59 +02:00
Sebastian Lackner
bd61bfe45f vulkan-Vulkan_Implementation: Also try to load libvulkan.so.1. 2016-04-02 03:49:51 +02:00
Sebastian Lackner
1b9726a88e Rebase against 442e60b7e4c010e6622d524f47a2dd0d26ba19d4. 2016-04-01 19:16:26 +02:00
Sebastian Lackner
29b8c10db6 Added patch for fsutil.exe hardlink command. 2016-04-01 01:56:01 +02:00
Sebastian Lackner
8bed2773c4 Added patch to allow 320x240 as supported resolution in desktop mode. 2016-04-01 01:27:54 +02:00
Sebastian Lackner
ca69ea6ddf Added patch for 'New' context menu handler entry for directories. 2016-04-01 01:15:45 +02:00
Sebastian Lackner
9527830afa Rebase against f820c0942854c14fcd063c83225af03e73286334.
[dinput-DIPROP_USERNAME]
Removed patch to implement dinput device property DIPROP_USERNAME (accepted
upstream).

[kernel32-CreateFileA]
Removed patch to check for invalid filename pointers in CreateFileA in Win 9x
mode (accepted upstream).

[kernel32-ERROR_DLL_NOT_FOUND]
Removed patch to set ERROR_DLL_NOT_FOUND as error code for Win 9X instead of
ERROR_MOD_NOT_FOUND in load_library (accepted upstream).

[kernel32-GetOverlappedResult]
Removed patch to fix handling of GetOverlappedResult when status remains
STATUS_PENDING (accepted upstream).

[setupapi-SetupDiSetDeviceInstallParamsW]
Removed patch to add stub for setupapi.SetupDiSetDeviceInstallParamsW
(accepted upstream).

[user32-EnumDisplayMonitors]
Removed patch to set %ecx to address of rect in EnumDisplayMonitors callback
(accepted upstream).
2016-04-01 00:36:37 +02:00
Sebastian Lackner
9d68d56c29 msvfw32-ICGetDisplayFormat: Update patchset and add some more tests. 2016-03-31 17:20:11 +02:00
Sebastian Lackner
962403c7ca Added patch to enable the correct dialog owner in DIALOG_DoDialogBox. 2016-03-31 06:46:04 +02:00
Sebastian Lackner
336873284e Added patch to avoid dereferencing NULL pointer in a user32 trace. 2016-03-31 06:24:52 +02:00
Sebastian Lackner
29a8c30ce8 oleaut32-OleLoadPictureFile: Remove reference to bug report. 2016-03-31 04:30:51 +02:00
Sebastian Lackner
086b729ec2 Added patch to fix implementation of ICGetDisplayFormat. 2016-03-31 02:56:10 +02:00
Sebastian Lackner
98284e0a1e Rebase against f34fd257c6c83804075914ee2b82cc42eadc683f. 2016-03-30 19:03:37 +02:00
Sebastian Lackner
a1621d692a Rebase against 5b3681f62ddd2977924424d6f326ce729de9102a. 2016-03-29 16:45:43 +02:00
Sebastian Lackner
c43b0d8ac0 Rebase against d04a54857cc84f881393e4bc794185650a302084.
[makefiles-Revert_libwine_Import]
Disabled patch, the problem should be fixed in the development branch.
2016-03-29 02:45:32 +02:00
Sebastian Lackner
0a391faaba reg-Implement_Query: Updated patchset. 2016-03-27 18:53:12 +02:00
Sebastian Lackner
e83d9c4233 Added patch to fix IStream::Read() return value for partial reads. 2016-03-27 18:29:41 +02:00
Sebastian Lackner
7edc147a61 oleaut32-OleLoadPictureFile: Updated patchset. 2016-03-27 18:22:11 +02:00
Sebastian Lackner
96fddf8187 Added patch to handle stack guard pages on x86_64. 2016-03-26 22:28:03 +01:00
Sebastian Lackner
0e9f07b2b7 Added patch to return stub interface from mf.MFCreateMediaSession. 2016-03-26 20:03:33 +01:00
Sebastian Lackner
86f1e40597 patchutils.py: Add tests for generate_ifdef_patch function. 2016-03-26 03:13:06 +01:00
Sebastian Lackner
5e5229ecce patchutils.py: Improve handling of patches without linebreak at end of file in generate_ifdef_patch. 2016-03-26 02:54:21 +01:00
Sebastian Lackner
4b1c2ec4d6 patchutils.py: Add tests for _parse_author and _parse_subject function. 2016-03-26 02:16:39 +01:00
Sebastian Lackner
19d04e3ea1 patchutils.py: Add tests for _preprocess_source function. 2016-03-26 01:10:48 +01:00
Sebastian Lackner
f8073b5148 makefiles-Revert_libwine_Import: Add reference to upstream bug. 2016-03-25 23:57:18 +01:00
Sebastian Lackner
450495f319 Added patch to use CONTAINING_RECORD in user.exe16 instead of reimplementing it. 2016-03-25 23:19:15 +01:00
Sebastian Lackner
980743ad37 winex11-MONITORENUMPROC: Rebase and move code to user32. 2016-03-25 22:50:15 +01:00
Sebastian Lackner
5cc96d631e setupapi-DiskSpaceList: Fix compile warning on x86_64. 2016-03-25 04:06:46 +01:00
Sebastian Lackner
04bb547a4b nvencodeapi-Video_Encoder: Fix compile warning on x86_64. 2016-03-25 04:02:28 +01:00
Sebastian Lackner
1b03b0201e ntdll-RtlIpStringToAddress_Tests: Fix compile warning on x86_64. 2016-03-25 03:59:18 +01:00
Sebastian Lackner
6b60ac392a ntdll-Junction_Points: Fix compile warning on x86_64. 2016-03-25 03:55:51 +01:00
Sebastian Lackner
20c3485cf8 Compiler_Warnings: Fix a whitespace error. 2016-03-25 03:02:09 +01:00
Sebastian Lackner
b550faff6a Rebase against 47cf3fe36d4f5a2f83c0d48ee763c256cd6010c5.
[winscard-SCardListReaders]
Removed patch to add stub for winscard.SCardListReadersA/W.
2016-03-24 17:40:50 +01:00
Sebastian Lackner
a748bea862 Added patch to implement oleaut32.OleLoadPictureFile. 2016-03-24 07:27:42 +01:00
Sebastian Lackner
e06dec2c39 windowscodecs-IMILBitmapSource: Fix number of arguments to IMILUnknown2Impl_unknown2. 2016-03-24 05:57:23 +01:00
Sebastian Lackner
a98c140c42 Added patch to fix return value of RegNotifyChangeKeyValue for pending events. 2016-03-24 02:47:21 +01:00
Sebastian Lackner
a7440de8ce Staging: Add some missing libraries to the wine_libs list. 2016-03-24 01:39:39 +01:00
Sebastian Lackner
711cfa9cf4 Rebase against 510c8e39838e4ceef1a66b42e7e58484bf4ac143. 2016-03-23 19:39:15 +01:00
Sebastian Lackner
70b46ff603 windowscodecs-IMILBitmapSource: Merge additional compatibility improvements. 2016-03-23 19:39:15 +01:00
Sebastian Lackner
edcd32bdea vulkan-Vulkan_Implementation: Use binary search to lookup function in is_null_func. 2016-03-23 19:36:53 +01:00
Sebastian Lackner
941d4e4383 vulkan-Vulkan_Implementation: Move WINE_DECLARE_DEBUG_CHANNEL inside #ifdef. 2016-03-23 17:54:06 +01:00
Sebastian Lackner
a3f00d208e Added multiple patches to avoid implicit cast of interface pointers. 2016-03-23 17:54:05 +01:00
Sebastian Lackner
7a99b50694 mmsystem.dll16-MIDIHDR_Refcount: Fix warnings caused by implicit casts from int to pointer. 2016-03-23 17:54:05 +01:00
Sebastian Lackner
22ca9a3c6a Added patch to improve compatibility of IMILBitmapSource interface. 2016-03-22 21:37:58 +01:00
Sebastian Lackner
f98cec7cf6 Rebase against 329dfee70c35184329d0820a5e9edbbed8b49b37. 2016-03-22 19:56:57 +01:00
Sebastian Lackner
f21c3bc221 patchutils.py: Simplify access of optional dict values. 2016-03-22 08:22:19 +01:00
Sebastian Lackner
b0cbb8bda2 patchutils.py: Reset the Signed-off-by header after parsing each patch. 2016-03-22 08:17:01 +01:00
Sebastian Lackner
d6f0fd33c7 patchutils.py: Avoid nested function definitions. 2016-03-22 08:00:18 +01:00
Sebastian Lackner
c2b79fac1f api-ms-win-Stub_DLLs: Sort kernelbase spec file alphabetically. 2016-03-22 04:21:47 +01:00
Sebastian Lackner
ac8c49d331 Synchronize multiple spec files. 2016-03-22 04:21:47 +01:00
Sebastian Lackner
90842489d6 Rebase against bc357819296594aca300fdf30bb0cda46e9f0be0. 2016-03-22 04:20:18 +01:00
Michael MĂĽller
ffad0e5c7b vulkan-Vulkan_Implementation: Fix compilation when XCB extension is not present. 2016-03-21 20:48:20 +01:00
735 changed files with 41601 additions and 40690 deletions

View File

@@ -66,7 +66,8 @@ Configuration:
Backends:
--backend=patch Use regular 'patch' utility to apply patches (default)
--backend=epatch Use 'epatch' to apply patches (Gentoo only)
--backend=eapply Use 'eapply' to apply patches (Gentoo only)
--backend=epatch Use 'epatch' to apply patches (Gentoo only, deprecated)
--backend=git-am Use 'git am' to apply patches
--backend=git-apply Use 'git apply' to apply patches
--backend=stg Import the patches using stacked git

View File

@@ -0,0 +1,25 @@
From 1d2744df97beb00c40ae4c9d307334f4fe0c253d Mon Sep 17 00:00:00 2001
From: Sebastian Lackner <sebastian@fds-team.de>
Date: Sun, 31 Jul 2016 00:01:52 +0200
Subject: include: Avoid shift overflow warning.
---
include/d3dtypes.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/d3dtypes.h b/include/d3dtypes.h
index 75aee55..8a884a8 100644
--- a/include/d3dtypes.h
+++ b/include/d3dtypes.h
@@ -53,7 +53,7 @@ typedef LONG D3DFIXED;
#define RGBA_GETRED(rgb) (((rgb) >> 16) & 0xff)
#define RGBA_GETGREEN(rgb) (((rgb) >> 8) & 0xff)
#define RGBA_GETBLUE(rgb) ((rgb) & 0xff)
-#define RGBA_MAKE(r, g, b, a) ((D3DCOLOR) (((a) << 24) | ((r) << 16) | ((g) << 8) | (b)))
+#define RGBA_MAKE(r, g, b, a) ((D3DCOLOR) (((DWORD)(a) << 24) | ((r) << 16) | ((g) << 8) | (b)))
#define D3DRGB(r, g, b) \
(0xff000000 | ( ((LONG)((r) * 255)) << 16) | (((LONG)((g) * 255)) << 8) | (LONG)((b) * 255))
--
2.9.0

View File

@@ -0,0 +1,26 @@
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

@@ -0,0 +1,25 @@
From 83d96cdd81553544c79527c2aed329e96938af64 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.
---
dlls/amstream/mediastreamfilter.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/amstream/mediastreamfilter.c b/dlls/amstream/mediastreamfilter.c
index d0c6714..3f0397a 100644
--- a/dlls/amstream/mediastreamfilter.c
+++ b/dlls/amstream/mediastreamfilter.c
@@ -70,7 +70,7 @@ typedef struct {
static inline IMediaStreamFilterImpl *impl_from_IMediaStreamFilter(IMediaStreamFilter *iface)
{
- return CONTAINING_RECORD(iface, IMediaStreamFilterImpl, filter);
+ return CONTAINING_RECORD((IBaseFilter *)iface, IMediaStreamFilterImpl, filter.IBaseFilter_iface);
}
static HRESULT WINAPI BasePinImpl_CheckMediaType(BasePin *This, const AM_MEDIA_TYPE *pmt)
--
2.7.1

View File

@@ -0,0 +1,75 @@
From 929eaf5dcdca040cd82141ad5ddfdcbc6c5f4a03 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/geometry.c | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/dlls/d2d1/brush.c b/dlls/d2d1/brush.c
index aa92318..19b0993 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,
static inline struct d2d_brush *impl_from_ID2D1SolidColorBrush(ID2D1SolidColorBrush *iface)
{
- return CONTAINING_RECORD(iface, struct d2d_brush, ID2D1Brush_iface);
+ return CONTAINING_RECORD((ID2D1Brush *)iface, struct d2d_brush, ID2D1Brush_iface);
}
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,
static inline struct d2d_brush *impl_from_ID2D1LinearGradientBrush(ID2D1LinearGradientBrush *iface)
{
- return CONTAINING_RECORD(iface, struct d2d_brush, ID2D1Brush_iface);
+ return CONTAINING_RECORD((ID2D1Brush *)iface, struct d2d_brush, ID2D1Brush_iface);
}
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
static inline struct d2d_brush *impl_from_ID2D1BitmapBrush(ID2D1BitmapBrush *iface)
{
- return CONTAINING_RECORD(iface, struct d2d_brush, ID2D1Brush_iface);
+ return CONTAINING_RECORD((ID2D1Brush *)iface, struct d2d_brush, ID2D1Brush_iface);
}
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
--- a/dlls/d2d1/geometry.c
+++ b/dlls/d2d1/geometry.c
@@ -2022,7 +2022,7 @@ static const struct ID2D1GeometrySinkVtbl d2d_geometry_sink_vtbl =
static inline struct d2d_geometry *impl_from_ID2D1PathGeometry(ID2D1PathGeometry *iface)
{
- return CONTAINING_RECORD(iface, struct d2d_geometry, ID2D1Geometry_iface);
+ return CONTAINING_RECORD((ID2D1Geometry *)iface, struct d2d_geometry, ID2D1Geometry_iface);
}
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
static inline struct d2d_geometry *impl_from_ID2D1RectangleGeometry(ID2D1RectangleGeometry *iface)
{
- return CONTAINING_RECORD(iface, struct d2d_geometry, ID2D1Geometry_iface);
+ return CONTAINING_RECORD((ID2D1Geometry *)iface, struct d2d_geometry, ID2D1Geometry_iface);
}
static HRESULT STDMETHODCALLTYPE d2d_rectangle_geometry_QueryInterface(ID2D1RectangleGeometry *iface,
@@ -2531,7 +2531,7 @@ HRESULT d2d_rectangle_geometry_init(struct d2d_geometry *geometry, ID2D1Factory
static inline struct d2d_geometry *impl_from_ID2D1TransformedGeometry(ID2D1TransformedGeometry *iface)
{
- return CONTAINING_RECORD(iface, struct d2d_geometry, ID2D1Geometry_iface);
+ return CONTAINING_RECORD((ID2D1Geometry *)iface, struct d2d_geometry, ID2D1Geometry_iface);
}
static HRESULT STDMETHODCALLTYPE d2d_transformed_geometry_QueryInterface(ID2D1TransformedGeometry *iface,
--
2.7.1

View File

@@ -0,0 +1,25 @@
From 23e0f029f1cc37d5d33bb39d5277371827b701aa Mon Sep 17 00:00:00 2001
From: Sebastian Lackner <sebastian@fds-team.de>
Date: Tue, 22 Mar 2016 21:54:48 +0100
Subject: d3d11: Avoid implicit cast of interface pointer.
---
dlls/d3d11/view.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/d3d11/view.c b/dlls/d3d11/view.c
index 5e48965..70eae5e 100644
--- a/dlls/d3d11/view.c
+++ b/dlls/d3d11/view.c
@@ -2191,7 +2191,7 @@ struct d3d_shader_resource_view *unsafe_impl_from_ID3D10ShaderResourceView(ID3D1
if (!iface)
return NULL;
assert(iface->lpVtbl == (ID3D10ShaderResourceViewVtbl *)&d3d10_shader_resource_view_vtbl);
- return CONTAINING_RECORD(iface, struct d3d_shader_resource_view, ID3D10ShaderResourceView1_iface);
+ return CONTAINING_RECORD((ID3D10ShaderResourceView1 *)iface, struct d3d_shader_resource_view, ID3D10ShaderResourceView1_iface);
}
/* ID3D11UnorderedAccessView methods */
--
2.8.0

View File

@@ -0,0 +1,37 @@
From 0913c58ca5a15868fa72c883d46db1f0038a2e22 Mon Sep 17 00:00:00 2001
From: Sebastian Lackner <sebastian@fds-team.de>
Date: Tue, 22 Mar 2016 21:55:00 +0100
Subject: d3d8: Avoid implicit cast of interface pointer.
---
dlls/d3d8/texture.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/d3d8/texture.c b/dlls/d3d8/texture.c
index 7ed79a5..62463ba 100644
--- a/dlls/d3d8/texture.c
+++ b/dlls/d3d8/texture.c
@@ -23,17 +23,17 @@ WINE_DEFAULT_DEBUG_CHANNEL(d3d8);
static inline struct d3d8_texture *impl_from_IDirect3DTexture8(IDirect3DTexture8 *iface)
{
- return CONTAINING_RECORD(iface, struct d3d8_texture, IDirect3DBaseTexture8_iface);
+ return CONTAINING_RECORD((IDirect3DBaseTexture8 *)iface, struct d3d8_texture, IDirect3DBaseTexture8_iface);
}
static inline struct d3d8_texture *impl_from_IDirect3DCubeTexture8(IDirect3DCubeTexture8 *iface)
{
- return CONTAINING_RECORD(iface, struct d3d8_texture, IDirect3DBaseTexture8_iface);
+ return CONTAINING_RECORD((IDirect3DBaseTexture8 *)iface, struct d3d8_texture, IDirect3DBaseTexture8_iface);
}
static inline struct d3d8_texture *impl_from_IDirect3DVolumeTexture8(IDirect3DVolumeTexture8 *iface)
{
- return CONTAINING_RECORD(iface, struct d3d8_texture, IDirect3DBaseTexture8_iface);
+ return CONTAINING_RECORD((IDirect3DBaseTexture8 *)iface, struct d3d8_texture, IDirect3DBaseTexture8_iface);
}
static HRESULT WINAPI d3d8_texture_2d_QueryInterface(IDirect3DTexture8 *iface, REFIID riid, void **out)
--
2.7.1

View File

@@ -0,0 +1,37 @@
From cd3c63b259a711abf4e6e06f975e47f82b5b3e1b 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.
---
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
--- a/dlls/d3d9/texture.c
+++ b/dlls/d3d9/texture.c
@@ -25,17 +25,17 @@ WINE_DEFAULT_DEBUG_CHANNEL(d3d9);
static inline struct d3d9_texture *impl_from_IDirect3DTexture9(IDirect3DTexture9 *iface)
{
- return CONTAINING_RECORD(iface, struct d3d9_texture, IDirect3DBaseTexture9_iface);
+ return CONTAINING_RECORD((IDirect3DBaseTexture9 *)iface, struct d3d9_texture, IDirect3DBaseTexture9_iface);
}
static inline struct d3d9_texture *impl_from_IDirect3DCubeTexture9(IDirect3DCubeTexture9 *iface)
{
- return CONTAINING_RECORD(iface, struct d3d9_texture, IDirect3DBaseTexture9_iface);
+ return CONTAINING_RECORD((IDirect3DBaseTexture9 *)iface, struct d3d9_texture, IDirect3DBaseTexture9_iface);
}
static inline struct d3d9_texture *impl_from_IDirect3DVolumeTexture9(IDirect3DVolumeTexture9 *iface)
{
- return CONTAINING_RECORD(iface, struct d3d9_texture, IDirect3DBaseTexture9_iface);
+ return CONTAINING_RECORD((IDirect3DBaseTexture9 *)iface, struct d3d9_texture, IDirect3DBaseTexture9_iface);
}
static HRESULT WINAPI d3d9_texture_2d_QueryInterface(IDirect3DTexture9 *iface, REFIID riid, void **out)
--
2.7.1

View File

@@ -0,0 +1,34 @@
From ff2e84fd4c6c12b5e9e6c9d793b71159295b1e01 Mon Sep 17 00:00:00 2001
From: Sebastian Lackner <sebastian@fds-team.de>
Date: Tue, 22 Mar 2016 21:58:30 +0100
Subject: ddraw: Avoid implicit cast of interface pointer.
---
dlls/ddraw/viewport.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/ddraw/viewport.c b/dlls/ddraw/viewport.c
index 5ebc41e..4f61d10 100644
--- a/dlls/ddraw/viewport.c
+++ b/dlls/ddraw/viewport.c
@@ -1121,7 +1121,7 @@ struct d3d_viewport *unsafe_impl_from_IDirect3DViewport2(IDirect3DViewport2 *ifa
/* IDirect3DViewport and IDirect3DViewport3 use the same iface. */
if (!iface) return NULL;
assert(iface->lpVtbl == (IDirect3DViewport2Vtbl *)&d3d_viewport_vtbl);
- return CONTAINING_RECORD(iface, struct d3d_viewport, IDirect3DViewport3_iface);
+ return CONTAINING_RECORD((IDirect3DViewport3 *)iface, struct d3d_viewport, IDirect3DViewport3_iface);
}
struct d3d_viewport *unsafe_impl_from_IDirect3DViewport(IDirect3DViewport *iface)
@@ -1129,7 +1129,7 @@ struct d3d_viewport *unsafe_impl_from_IDirect3DViewport(IDirect3DViewport *iface
/* IDirect3DViewport and IDirect3DViewport3 use the same iface. */
if (!iface) return NULL;
assert(iface->lpVtbl == (IDirect3DViewportVtbl *)&d3d_viewport_vtbl);
- return CONTAINING_RECORD(iface, struct d3d_viewport, IDirect3DViewport3_iface);
+ return CONTAINING_RECORD((IDirect3DViewport3 *)iface, struct d3d_viewport, IDirect3DViewport3_iface);
}
void d3d_viewport_init(struct d3d_viewport *viewport, struct ddraw *ddraw)
--
2.7.1

View File

@@ -0,0 +1,25 @@
From 869fbc7190eb77e027be4bcd98d938198189c3dd Mon Sep 17 00:00:00 2001
From: Sebastian Lackner <sebastian@fds-team.de>
Date: Tue, 22 Mar 2016 21:58:40 +0100
Subject: dwrite: Avoid implicit cast of interface pointer.
---
dlls/dwrite/layout.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/dwrite/layout.c b/dlls/dwrite/layout.c
index 38b5e32..24f4abc 100644
--- a/dlls/dwrite/layout.c
+++ b/dlls/dwrite/layout.c
@@ -5115,7 +5115,7 @@ static const IDWriteTextFormat2Vtbl dwritetextformatvtbl = {
static struct dwrite_textformat *unsafe_impl_from_IDWriteTextFormat(IDWriteTextFormat *iface)
{
return (iface->lpVtbl == (IDWriteTextFormatVtbl*)&dwritetextformatvtbl) ?
- CONTAINING_RECORD(iface, struct dwrite_textformat, IDWriteTextFormat2_iface) : NULL;
+ CONTAINING_RECORD((IDWriteTextFormat2 *)iface, struct dwrite_textformat, IDWriteTextFormat2_iface) : NULL;
}
HRESULT create_textformat(const WCHAR *family_name, IDWriteFontCollection *collection, DWRITE_FONT_WEIGHT weight, DWRITE_FONT_STYLE style,
--
2.7.1

View File

@@ -0,0 +1,25 @@
From 665373effeadbf44f75dd15b6ea27ebec0fd7190 Mon Sep 17 00:00:00 2001
From: Sebastian Lackner <sebastian@fds-team.de>
Date: Tue, 22 Mar 2016 22:28:09 +0100
Subject: msxml3: Avoid implicit cast of interface pointer.
---
dlls/msxml3/schema.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/msxml3/schema.c b/dlls/msxml3/schema.c
index f92130a..03d24b2 100644
--- a/dlls/msxml3/schema.c
+++ b/dlls/msxml3/schema.c
@@ -809,7 +809,7 @@ static inline schema_cache* impl_from_IXMLDOMSchemaCollection2(IXMLDOMSchemaColl
static inline schema_cache* impl_from_IXMLDOMSchemaCollection(IXMLDOMSchemaCollection* iface)
{
- return CONTAINING_RECORD(iface, schema_cache, IXMLDOMSchemaCollection2_iface);
+ return CONTAINING_RECORD((IXMLDOMSchemaCollection2 *)iface, schema_cache, IXMLDOMSchemaCollection2_iface);
}
static inline schema_cache* unsafe_impl_from_IXMLDOMSchemaCollection(IXMLDOMSchemaCollection *iface)
--
2.7.1

View File

@@ -0,0 +1,25 @@
From 60ab37cc3ba6cb771fccc187ea87b669ac83dc80 Mon Sep 17 00:00:00 2001
From: Sebastian Lackner <sebastian@fds-team.de>
Date: Tue, 22 Mar 2016 22:28:23 +0100
Subject: oleaut32: Avoid implicit cast of interface pointer.
---
dlls/oleaut32/oleaut.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/oleaut32/oleaut.c b/dlls/oleaut32/oleaut.c
index 742e63f..8dae150 100644
--- a/dlls/oleaut32/oleaut.c
+++ b/dlls/oleaut32/oleaut.c
@@ -117,7 +117,7 @@ static inline size_t bstr_alloc_size(size_t size)
static inline bstr_t *bstr_from_str(BSTR str)
{
- return CONTAINING_RECORD(str, bstr_t, u.str);
+ return CONTAINING_RECORD((void *)str, bstr_t, u.str);
}
static inline bstr_cache_entry_t *get_cache_entry_from_idx(unsigned cache_idx)
--
2.7.1

View File

@@ -0,0 +1,25 @@
From e35d665256d08ebccee30361867ba57f790d519f Mon Sep 17 00:00:00 2001
From: Sebastian Lackner <sebastian@fds-team.de>
Date: Tue, 22 Mar 2016 23:01:32 +0100
Subject: rpcrt4: Avoid implicit cast of interface pointer.
---
dlls/rpcrt4/cstub.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/rpcrt4/cstub.c b/dlls/rpcrt4/cstub.c
index 838ed03..992c235 100644
--- a/dlls/rpcrt4/cstub.c
+++ b/dlls/rpcrt4/cstub.c
@@ -59,7 +59,7 @@ typedef struct
static inline cstdstubbuffer_delegating_t *impl_from_delegating( IRpcStubBuffer *iface )
{
- return CONTAINING_RECORD(iface, cstdstubbuffer_delegating_t, stub_buffer);
+ return CONTAINING_RECORD((void *)iface, cstdstubbuffer_delegating_t, stub_buffer);
}
HRESULT CStdStubBuffer_Construct(REFIID riid,
--
2.7.1

View File

@@ -0,0 +1,25 @@
From 1806798cf9b186d2c788f5a94074d0d6fa426f9e Mon Sep 17 00:00:00 2001
From: Sebastian Lackner <sebastian@fds-team.de>
Date: Tue, 22 Mar 2016 23:01:48 +0100
Subject: vbscript: Avoid implicit cast of interface pointer.
---
dlls/vbscript/vbdisp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/vbscript/vbdisp.c b/dlls/vbscript/vbdisp.c
index 9c0c4c1..daed7ec 100644
--- a/dlls/vbscript/vbdisp.c
+++ b/dlls/vbscript/vbdisp.c
@@ -555,7 +555,7 @@ static IDispatchExVtbl DispatchExVtbl = {
static inline vbdisp_t *unsafe_impl_from_IDispatch(IDispatch *iface)
{
return iface->lpVtbl == (IDispatchVtbl*)&DispatchExVtbl
- ? CONTAINING_RECORD(iface, vbdisp_t, IDispatchEx_iface)
+ ? CONTAINING_RECORD((IDispatchEx *)iface, vbdisp_t, IDispatchEx_iface)
: NULL;
}
--
2.7.1

View File

@@ -0,0 +1,76 @@
From 59f0bb786dc3ec4e77cb43ea4410743ecd317bbf Mon Sep 17 00:00:00 2001
From: Sebastian Lackner <sebastian@fds-team.de>
Date: Tue, 22 Mar 2016 23:08:30 +0100
Subject: include: Check element type in CONTAINING_RECORD and similar macros.
---
include/wine/list.h | 10 ++++++++--
include/wine/rbtree.h | 10 ++++++++--
include/winnt.h | 10 ++++++++--
3 files changed, 24 insertions(+), 6 deletions(-)
diff --git a/include/wine/list.h b/include/wine/list.h
index b4d681f..287ad39 100644
--- a/include/wine/list.h
+++ b/include/wine/list.h
@@ -228,7 +228,13 @@ static inline void list_move_head( struct list *dst, struct list *src )
/* get pointer to object containing list element */
#undef LIST_ENTRY
-#define LIST_ENTRY(elem, type, field) \
- ((type *)((char *)(elem) - offsetof(type, field)))
+#ifdef __GNUC__
+# define LIST_ENTRY(elem, type, field) ({ \
+ const typeof(((type *)0)->field) *__ptr = (elem); \
+ (type *)((char *)__ptr - offsetof(type, field)); })
+#else
+# define LIST_ENTRY(elem, type, field) \
+ ((type *)((char *)(elem) - offsetof(type, field)))
+#endif
#endif /* __WINE_SERVER_LIST_H */
diff --git a/include/wine/rbtree.h b/include/wine/rbtree.h
index 13452d9..554d239 100644
--- a/include/wine/rbtree.h
+++ b/include/wine/rbtree.h
@@ -22,8 +22,14 @@
#ifndef __WINE_WINE_RBTREE_H
#define __WINE_WINE_RBTREE_H
-#define WINE_RB_ENTRY_VALUE(element, type, field) \
- ((type *)((char *)(element) - offsetof(type, field)))
+#ifdef __GNUC__
+# define WINE_RB_ENTRY_VALUE(element, type, field) ({ \
+ const typeof(((type *)0)->field) *__ptr = (element); \
+ (type *)((char *)__ptr - offsetof(type, field)); })
+#else
+# define WINE_RB_ENTRY_VALUE(element, type, field) \
+ ((type *)((char *)(element) - offsetof(type, field)))
+#endif
struct wine_rb_entry
{
diff --git a/include/winnt.h b/include/winnt.h
index 559a719..4a711f4 100644
--- a/include/winnt.h
+++ b/include/winnt.h
@@ -753,8 +753,14 @@ typedef struct _MEMORY_BASIC_INFORMATION
#define FIELD_OFFSET(type, field) ((LONG)offsetof(type, field))
-#define CONTAINING_RECORD(address, type, field) \
- ((type *)((PCHAR)(address) - offsetof(type, field)))
+#ifdef __GNUC__
+# define CONTAINING_RECORD(address, type, field) ({ \
+ const typeof(((type *)0)->field) *__ptr = (address); \
+ (type *)((PCHAR)__ptr - offsetof(type, field)); })
+#else
+# define CONTAINING_RECORD(address, type, field) \
+ ((type *)((PCHAR)(address) - offsetof(type, field)))
+#endif
/* Types */
--
2.7.1

View File

@@ -1,16 +1,16 @@
From e71a6c24c41e3d390a81aac1986938a1db71f9e6 Mon Sep 17 00:00:00 2001
From 41863fd8fdf3a885efa93359a538e4e74258fb30 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
Date: Wed, 28 May 2014 19:50:51 +0200
Subject: loader: Add commandline option --check-libs.
---
include/wine/library.h | 2 +
libs/wine/config.c | 112 +++++++++++++++++++++++++++++++++++++++++++++++++
libs/wine/loader.c | 36 ++++++++++++++++
libs/wine/config.c | 124 +++++++++++++++++++++++++++++++++++++++++++++++++
libs/wine/loader.c | 36 ++++++++++++++
libs/wine/wine.def | 2 +
libs/wine/wine.map | 2 +
loader/main.c | 50 +++++++++++++++++++++-
6 files changed, 203 insertions(+), 1 deletion(-)
loader/main.c | 50 +++++++++++++++++++-
6 files changed, 215 insertions(+), 1 deletion(-)
diff --git a/include/wine/library.h b/include/wine/library.h
index fae73fe..7395a11 100644
@@ -33,14 +33,17 @@ index fae73fe..7395a11 100644
extern void *wine_dlsym( void *handle, const char *symbol, char *error, size_t errorsize );
extern int wine_dlclose( void *handle, char *error, size_t errorsize );
diff --git a/libs/wine/config.c b/libs/wine/config.c
index 5262c76..7acf51b 100644
index 12f4a67..be9f401 100644
--- a/libs/wine/config.c
+++ b/libs/wine/config.c
@@ -444,6 +444,118 @@ const char *wine_get_build_dir(void)
@@ -443,6 +443,130 @@ const char *wine_get_build_dir(void)
return build_dir;
}
+const char *wine_libs[] = {
+#ifdef SONAME_LIBCAIRO
+ SONAME_LIBCAIRO,
+#endif
+#ifdef SONAME_LIBCAPI20
+ SONAME_LIBCAPI20,
+#endif
@@ -65,9 +68,15 @@ index 5262c76..7acf51b 100644
+#ifdef SONAME_LIBGNUTLS
+ SONAME_LIBGNUTLS,
+#endif
+#ifdef SONAME_LIBGOBJECT_2_0
+ SONAME_LIBGOBJECT_2_0,
+#endif
+#ifdef SONAME_LIBGSM
+ SONAME_LIBGSM,
+#endif
+#ifdef SONAME_LIBGTK_3
+ SONAME_LIBGTK_3,
+#endif
+#ifdef SONAME_LIBHAL
+ SONAME_LIBHAL,
+#endif
@@ -116,6 +125,9 @@ index 5262c76..7acf51b 100644
+#ifdef SONAME_LIBX11
+ SONAME_LIBX11,
+#endif
+#ifdef SONAME_LIBX11_XCB
+ SONAME_LIBX11_XCB,
+#endif
+#ifdef SONAME_LIBXCOMPOSITE
+ SONAME_LIBXCOMPOSITE,
+#endif
@@ -156,10 +168,10 @@ index 5262c76..7acf51b 100644
const char *wine_get_server_dir(void)
{
diff --git a/libs/wine/loader.c b/libs/wine/loader.c
index 3591ede..2718857 100644
index b5b32cc..1453a82 100644
--- a/libs/wine/loader.c
+++ b/libs/wine/loader.c
@@ -1043,6 +1043,42 @@ void *wine_dlopen( const char *filename, int flag, char *error, size_t errorsize
@@ -1041,6 +1041,42 @@ void *wine_dlopen( const char *filename, int flag, char *error, size_t errorsize
}
/***********************************************************************
@@ -243,7 +255,7 @@ index 7cb2918..72ffed8 100644
wine_get_sortkey;
wine_get_ss;
diff --git a/loader/main.c b/loader/main.c
index fa0efa2..e96363d 100644
index 343ea26..44804e1 100644
--- a/loader/main.c
+++ b/loader/main.c
@@ -36,6 +36,12 @@
@@ -318,5 +330,5 @@ index fa0efa2..e96363d 100644
--
2.3.1
2.7.1

View File

@@ -0,0 +1,277 @@
From cb383abcb7d36d739092a93c1f276895622b6806 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 92a1789..c60aa4e 100644
--- a/dlls/advapi32/security.c
+++ b/dlls/advapi32/security.c
@@ -4202,8 +4202,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 cf104ab..2bcb108 100644
--- a/dlls/advapi32/tests/security.c
+++ b/dlls/advapi32/tests/security.c
@@ -133,6 +133,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;
@@ -227,6 +228,7 @@ static void init(void)
pGetAce = (void *)GetProcAddress(hmod, "GetAce");
pGetWindowsAccountDomainSid = (void *)GetProcAddress(hmod, "GetWindowsAccountDomainSid");
pGetSidIdentifierAuthority = (void *)GetProcAddress(hmod, "GetSidIdentifierAuthority");
+ pGetExplicitEntriesFromAclW = (void *)GetProcAddress(hmod, "GetExplicitEntriesFromAclW");
myARGC = winetest_get_mainargs( &myARGV );
}
@@ -6378,6 +6380,145 @@ static void test_pseudo_tokens(void)
"Expected ERROR_NO_TOKEN, got %u\n", GetLastError());
}
+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();
@@ -6424,4 +6565,5 @@ START_TEST(security)
test_system_security_access();
test_GetSidIdentifierAuthority();
test_pseudo_tokens();
+ test_GetExplicitEntriesFromAclW();
}
--
2.9.0

View File

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

View File

@@ -1,88 +0,0 @@
From 4d0e6bbc00bd49b8dcfce494bd7380c49f58f92b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
Date: Tue, 28 Jul 2015 18:21:20 +0200
Subject: amstream: Implement IAMMediaStream::GetMultiMediaStream.
---
dlls/amstream/mediastream.c | 40 ++++++++++++++++++++++++++++++++--------
1 file changed, 32 insertions(+), 8 deletions(-)
diff --git a/dlls/amstream/mediastream.c b/dlls/amstream/mediastream.c
index 947be1e..e4e15d7 100644
--- a/dlls/amstream/mediastream.c
+++ b/dlls/amstream/mediastream.c
@@ -110,9 +110,15 @@ static HRESULT WINAPI DirectDrawMediaStreamImpl_IAMMediaStream_GetMultiMediaStre
{
DirectDrawMediaStreamImpl *This = impl_from_DirectDrawMediaStream_IAMMediaStream(iface);
- FIXME("(%p/%p)->(%p) stub!\n", This, iface, multi_media_stream);
+ TRACE("(%p/%p)->(%p) stub!\n", This, iface, multi_media_stream);
- return S_FALSE;
+ if (!multi_media_stream)
+ return E_POINTER;
+
+ IMultiMediaStream_AddRef(This->parent);
+ *multi_media_stream = This->parent;
+
+ return S_OK;
}
static HRESULT WINAPI DirectDrawMediaStreamImpl_IAMMediaStream_GetInformation(IAMMediaStream *iface,
@@ -271,9 +277,15 @@ static HRESULT WINAPI DirectDrawMediaStreamImpl_IDirectDrawMediaStream_GetMultiM
{
DirectDrawMediaStreamImpl *This = impl_from_IDirectDrawMediaStream(iface);
- FIXME("(%p/%p)->(%p) stub!\n", This, iface, ppMultiMediaStream);
+ TRACE("(%p/%p)->(%p) stub!\n", This, iface, ppMultiMediaStream);
- return S_FALSE;
+ if (!ppMultiMediaStream)
+ return E_POINTER;
+
+ IMultiMediaStream_AddRef(This->parent);
+ *ppMultiMediaStream = This->parent;
+
+ return S_OK;
}
static HRESULT WINAPI DirectDrawMediaStreamImpl_IDirectDrawMediaStream_GetInformation(IDirectDrawMediaStream *iface,
@@ -511,9 +523,15 @@ static HRESULT WINAPI AudioMediaStreamImpl_IAMMediaStream_GetMultiMediaStream(IA
{
AudioMediaStreamImpl *This = impl_from_AudioMediaStream_IAMMediaStream(iface);
- FIXME("(%p/%p)->(%p) stub!\n", This, iface, multi_media_stream);
+ TRACE("(%p/%p)->(%p)\n", This, iface, multi_media_stream);
- return S_FALSE;
+ if (!multi_media_stream)
+ return E_POINTER;
+
+ IMultiMediaStream_AddRef(This->parent);
+ *multi_media_stream = This->parent;
+
+ return S_OK;
}
static HRESULT WINAPI AudioMediaStreamImpl_IAMMediaStream_GetInformation(IAMMediaStream *iface,
@@ -672,9 +690,15 @@ static HRESULT WINAPI AudioMediaStreamImpl_IAudioMediaStream_GetMultiMediaStream
{
AudioMediaStreamImpl *This = impl_from_IAudioMediaStream(iface);
- FIXME("(%p/%p)->(%p) stub!\n", iface, This, multimedia_stream);
+ TRACE("(%p/%p)->(%p)\n", iface, This, multimedia_stream);
- return S_FALSE;
+ if (!multimedia_stream)
+ return E_POINTER;
+
+ IMultiMediaStream_AddRef(This->parent);
+ *multimedia_stream = This->parent;
+
+ return S_OK;
}
static HRESULT WINAPI AudioMediaStreamImpl_IAudioMediaStream_GetInformation(IAudioMediaStream *iface,
--
2.4.5

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