Compare commits

..

174 Commits

Author SHA1 Message Date
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
548 changed files with 20829 additions and 33133 deletions

View File

@@ -1,74 +0,0 @@
From 63e3d8fa86ea5bb6dd9154754d57b680b00533ad Mon Sep 17 00:00:00 2001
From: Sebastian Lackner <sebastian@fds-team.de>
Date: Thu, 24 Mar 2016 02:42:22 +0100
Subject: advapi32: Fix return value of RegNotifyChangeKeyValue for pending
events.
Also remove handling for STATUS_TIMEOUT. Is it ever returned?
---
dlls/advapi32/registry.c | 2 +-
dlls/advapi32/tests/registry.c | 28 ++++++++++++++++++++++++++++
2 files changed, 29 insertions(+), 1 deletion(-)
diff --git a/dlls/advapi32/registry.c b/dlls/advapi32/registry.c
index 7992384..4b3d852 100644
--- a/dlls/advapi32/registry.c
+++ b/dlls/advapi32/registry.c
@@ -2760,7 +2760,7 @@ LSTATUS WINAPI RegNotifyChangeKeyValue( HKEY hkey, BOOL fWatchSubTree,
fdwNotifyFilter, fWatchSubTree, NULL, 0,
fAsync);
- if (status && status != STATUS_TIMEOUT)
+ if (status && status != STATUS_PENDING)
return RtlNtStatusToDosError( status );
return ERROR_SUCCESS;
diff --git a/dlls/advapi32/tests/registry.c b/dlls/advapi32/tests/registry.c
index f877b36..82f5015 100644
--- a/dlls/advapi32/tests/registry.c
+++ b/dlls/advapi32/tests/registry.c
@@ -3452,6 +3452,33 @@ static void test_RegOpenCurrentUser(void)
RegCloseKey(key);
}
+static void test_RegNotifyChangeKeyValue(void)
+{
+ HKEY key, subkey;
+ HANDLE event;
+ DWORD dwret;
+ LONG ret;
+
+ event = CreateEventW(NULL, FALSE, TRUE, NULL);
+ ok(event != NULL, "CreateEvent failed, error %u\n", GetLastError());
+ ret = RegCreateKeyA(hkey_main, "TestKey", &key);
+ ok(ret == ERROR_SUCCESS, "expected ERROR_SUCCESS, got %d\n", ret);
+
+ ret = RegNotifyChangeKeyValue(key, TRUE, REG_NOTIFY_CHANGE_NAME, event, TRUE);
+ ok(ret == ERROR_SUCCESS, "expected ERROR_SUCCESS, got %d\n", ret);
+ dwret = WaitForSingleObject(event, 0);
+ ok(dwret == WAIT_TIMEOUT, "expected WAIT_TIMEOUT, got %u\n", dwret);
+
+ ret = RegCreateKeyA(key, "SubKey", &subkey);
+ ok(ret == ERROR_SUCCESS, "expected ERROR_SUCCESS, got %d\n", ret);
+ dwret = WaitForSingleObject(event, 0);
+ ok(dwret == WAIT_OBJECT_0, "expected WAIT_OBJECT_0, got %u\n", dwret);
+
+ RegDeleteKeyA(key, "");
+ RegCloseKey(key);
+ CloseHandle(event);
+}
+
START_TEST(registry)
{
/* Load pointers for functions that are not available in all Windows versions */
@@ -3486,6 +3513,7 @@ START_TEST(registry)
test_delete_value();
test_delete_key_value();
test_RegOpenCurrentUser();
+ test_RegNotifyChangeKeyValue();
/* cleanup */
delete_key( hkey_main );
--
2.7.1

View File

@@ -1 +0,0 @@
Fixes: [39863] Fix return value of RegNotifyChangeKeyValue for pending events

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

View File

@@ -1 +0,0 @@
Fixes: [37090] Implement AMStream GetMultiMediaStream functions

View File

@@ -1,4 +1,4 @@
From 3a4e938b07407fd58a3a554cc8cbdb2d0b09a3d6 Mon Sep 17 00:00:00 2001
From 06fc57e35f3424d17d8e3cb61692d594691674f4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
Date: Sat, 23 Jan 2016 21:10:37 +0100
Subject: ext-ms-win-rtcore-ntuser-sysparams-l1-1-0: Add dll.
@@ -33,7 +33,7 @@ index 0000000..18a0b1f
+MODULE = ext-ms-win-rtcore-ntuser-sysparams-l1-1-0.dll
diff --git a/dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0.spec b/dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0.spec
new file mode 100644
index 0000000..374b961
index 0000000..ffb8f5b
--- /dev/null
+++ b/dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0.spec
@@ -0,0 +1,20 @@
@@ -48,7 +48,7 @@ index 0000000..374b961
+@ stdcall GetMonitorInfoW(long ptr) user32.GetMonitorInfoW
+@ stdcall GetSysColor(long) user32.GetSysColor
+@ stdcall GetSystemMetrics(long) user32.GetSystemMetrics
+@ stub IsProcessDPIAware
+@ stdcall IsProcessDPIAware() user32.IsProcessDPIAware
+@ stdcall MonitorFromPoint(int64 long) user32.MonitorFromPoint
+@ stdcall MonitorFromRect(ptr long) user32.MonitorFromRect
+@ stdcall MonitorFromWindow(long long) user32.MonitorFromWindow
@@ -58,7 +58,7 @@ index 0000000..374b961
+@ stdcall SystemParametersInfoA(long long ptr long) user32.SystemParametersInfoA
+@ stdcall SystemParametersInfoW(long long ptr long) user32.SystemParametersInfoW
diff --git a/tools/make_specfiles b/tools/make_specfiles
index bbf2b5e..c1c1860 100755
index 43b8dc2..af88f8b 100755
--- a/tools/make_specfiles
+++ b/tools/make_specfiles
@@ -281,6 +281,7 @@ my @dll_groups =

View File

@@ -0,0 +1,133 @@
From 4a8b29b5a4c923cec3a78bd9f43e0fc736721cd7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
Date: Tue, 12 Apr 2016 01:00:02 +0200
Subject: feclient: Add stub dll.
---
configure.ac | 1 +
dlls/feclient/Makefile.in | 4 ++++
dlls/feclient/feclient.spec | 36 ++++++++++++++++++++++++++++++++++++
dlls/feclient/main.c | 45 +++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 86 insertions(+)
create mode 100644 dlls/feclient/Makefile.in
create mode 100644 dlls/feclient/feclient.spec
create mode 100644 dlls/feclient/main.c
diff --git a/configure.ac b/configure.ac
index 98bb7d7..39097d1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2957,6 +2957,7 @@ WINE_CONFIG_DLL(ext-ms-win-uxtheme-themes-l1-1-0)
WINE_CONFIG_DLL(ext-ms-win-xaml-pal-l1-1-0)
WINE_CONFIG_DLL(faultrep,,[implib])
WINE_CONFIG_TEST(dlls/faultrep/tests)
+WINE_CONFIG_DLL(feclient)
WINE_CONFIG_DLL(fltlib)
WINE_CONFIG_DLL(fltmgr.sys)
WINE_CONFIG_DLL(fntcache)
diff --git a/dlls/feclient/Makefile.in b/dlls/feclient/Makefile.in
new file mode 100644
index 0000000..d3eeefb
--- /dev/null
+++ b/dlls/feclient/Makefile.in
@@ -0,0 +1,4 @@
+MODULE = feclient.dll
+
+C_SRCS = \
+ main.c
diff --git a/dlls/feclient/feclient.spec b/dlls/feclient/feclient.spec
new file mode 100644
index 0000000..3620b85
--- /dev/null
+++ b/dlls/feclient/feclient.spec
@@ -0,0 +1,36 @@
+@ stub EdpContainerizeFile
+@ stub EdpCredentialCreate
+@ stub EdpCredentialDelete
+@ stub EdpCredentialExists
+@ stub EdpCredentialQuery
+@ stub EdpDecontainerizeFile
+@ stub EdpDplPolicyEnabledForUser
+@ stub EdpDplUpgradePinInfo
+@ stub EdpDplUpgradeVerifyUser
+@ stub EdpDplUserCredentialsSet
+@ stub EdpDplUserUnlockComplete
+@ stub EdpDplUserUnlockStart
+@ stub EdpFree
+@ stub EdpGetContainerIdentity
+@ stub EdpGetCredServiceState
+@ stub EdpQueryCredServiceInfo
+@ stub EdpQueryDplEnforcedPolicyOwnerIds
+@ stub EdpQueryRevokedPolicyOwnerIds
+@ stub EdpRmsClearKeys
+@ stub EdpSetCredServiceInfo
+@ stub EfsClientCloseFileRaw
+@ stub EfsClientDecryptFile
+@ stub EfsClientDuplicateEncryptionInfo
+@ stub EfsClientEncryptFileEx
+@ stub EfsClientFileEncryptionStatus
+@ stub EfsClientFreeProtectorList
+@ stub EfsClientGetEncryptedFileVersion
+@ stub EfsClientOpenFileRaw
+@ stub EfsClientQueryProtectors
+@ stub EfsClientReadFileRaw
+@ stub EfsClientWriteFileRaw
+@ stub EfsClientWriteFileWithHeaderRaw
+@ stub EfsUtilGetCurrentKey
+@ stub FeClientInitialize
+@ stub GetLockSessionUnwrappedKey
+@ stub GetLockSessionWrappedKey
diff --git a/dlls/feclient/main.c b/dlls/feclient/main.c
new file mode 100644
index 0000000..91aed70
--- /dev/null
+++ b/dlls/feclient/main.c
@@ -0,0 +1,45 @@
+/*
+ * feclient API
+ *
+ * Copyright 2016 Michael MĂĽller
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+#include "config.h"
+
+#include <stdarg.h>
+
+#include "windef.h"
+#include "winbase.h"
+#include "wine/debug.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(feclient);
+
+BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void *reserved)
+{
+ TRACE("(%p, %u, %p)\n", instance, reason, reserved);
+
+ switch (reason)
+ {
+ case DLL_WINE_PREATTACH:
+ return FALSE; /* prefer native version */
+ case DLL_PROCESS_ATTACH:
+ DisableThreadLibraryCalls(instance);
+ break;
+ }
+
+ return TRUE;
+}
--
2.7.1

View File

@@ -0,0 +1,311 @@
From a1b20acdf908d93184138869d1fc105c133498ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
Date: Tue, 12 Apr 2016 01:02:34 +0200
Subject: uiautomationcore: Add dll and stub some functions.
---
configure.ac | 1 +
dlls/uiautomationcore/Makefile.in | 5 ++
dlls/uiautomationcore/main.c | 117 ++++++++++++++++++++++++++++
dlls/uiautomationcore/uiautomationcore.spec | 99 +++++++++++++++++++++++
include/uiautomationcoreapi.h | 16 ++++
5 files changed, 238 insertions(+)
create mode 100644 dlls/uiautomationcore/Makefile.in
create mode 100644 dlls/uiautomationcore/main.c
create mode 100644 dlls/uiautomationcore/uiautomationcore.spec
diff --git a/configure.ac b/configure.ac
index 39097d1..896d413 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3304,6 +3304,7 @@ WINE_CONFIG_TEST(dlls/twain_32/tests)
WINE_CONFIG_DLL(typelib.dll16,enable_win16)
WINE_CONFIG_DLL(ucrtbase)
WINE_CONFIG_TEST(dlls/ucrtbase/tests)
+WINE_CONFIG_DLL(uiautomationcore)
WINE_CONFIG_DLL(unicows,,[implib])
WINE_CONFIG_DLL(updspapi)
WINE_CONFIG_DLL(url,,[implib])
diff --git a/dlls/uiautomationcore/Makefile.in b/dlls/uiautomationcore/Makefile.in
new file mode 100644
index 0000000..bd6f9d6
--- /dev/null
+++ b/dlls/uiautomationcore/Makefile.in
@@ -0,0 +1,5 @@
+MODULE = uiautomationcore.dll
+IMPORTS = uuid
+
+C_SRCS = \
+ main.c
diff --git a/dlls/uiautomationcore/main.c b/dlls/uiautomationcore/main.c
new file mode 100644
index 0000000..71fe84c
--- /dev/null
+++ b/dlls/uiautomationcore/main.c
@@ -0,0 +1,117 @@
+/*
+ * uiautomationcore API
+ *
+ * Copyright 2016 Michael MĂĽller
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+#include "config.h"
+
+#include <stdarg.h>
+
+#include "windef.h"
+#include "winbase.h"
+#include "wine/debug.h"
+
+#define COBJMACROS
+#include "uiautomationcoreapi.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(uiautomation);
+
+static HRESULT WINAPI dummy_QueryInterface(IUnknown *iface, REFIID iid, void **ppv)
+{
+ TRACE("(%p, %s, %p)\n", iface, debugstr_guid(iid), ppv);
+
+ if (!ppv) return E_INVALIDARG;
+
+ if (!IsEqualIID(&IID_IUnknown, iid))
+ {
+ FIXME("Unknown interface: %s\n", debugstr_guid(iid));
+ *ppv = NULL;
+ return E_NOINTERFACE;
+ }
+
+ *ppv = iface;
+ IUnknown_AddRef((IUnknown *)*ppv);
+ return S_OK;
+}
+
+static ULONG WINAPI dummy_AddRef(IUnknown *iface)
+{
+ FIXME("(%p): stub\n", iface);
+ return 1;
+}
+
+static ULONG WINAPI dummy_Release(IUnknown *iface)
+{
+ FIXME("(%p): stub\n", iface);
+ return 1;
+}
+
+static const IUnknownVtbl dummy_Vtbl =
+{
+ dummy_QueryInterface,
+ dummy_AddRef,
+ dummy_Release,
+};
+
+static IUnknown dummy = { &dummy_Vtbl };
+
+int WINAPI UiaLookupId(AutomationIdentifierType type, const GUID *guid)
+{
+ FIXME("(%d, %s)\n", type, debugstr_guid(guid));
+ return 1;
+}
+
+HRESULT WINAPI UiaGetReservedMixedAttributeValue(IUnknown **value)
+{
+ FIXME("(%p): stub\n", value);
+
+ *value = &dummy;
+ return S_OK;
+}
+
+HRESULT WINAPI UiaGetReservedNotSupportedValue(IUnknown **value)
+{
+ FIXME("(%p): stub\n", value);
+
+ *value = &dummy;
+ return S_OK;
+}
+
+LRESULT WINAPI UiaReturnRawElementProvider(HWND hwnd, WPARAM wparam, LPARAM lparam,
+ IRawElementProviderSimple *provider)
+{
+ FIXME("(%p, %lx, %lx, %p): stub\n", hwnd, wparam, lparam, provider);
+ return 0;
+}
+
+
+BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void *reserved)
+{
+ TRACE("(%p, %u, %p)\n", instance, reason, reserved);
+
+ switch (reason)
+ {
+ case DLL_WINE_PREATTACH:
+ return FALSE; /* prefer native version */
+ case DLL_PROCESS_ATTACH:
+ DisableThreadLibraryCalls(instance);
+ break;
+ }
+
+ return TRUE;
+}
diff --git a/dlls/uiautomationcore/uiautomationcore.spec b/dlls/uiautomationcore/uiautomationcore.spec
new file mode 100644
index 0000000..321cd06
--- /dev/null
+++ b/dlls/uiautomationcore/uiautomationcore.spec
@@ -0,0 +1,99 @@
+@ stub DllCanUnloadNow
+@ stub DllGetClassObject
+@ stub DllRegisterServer
+@ stub DllUnregisterServer
+@ stub DockPattern_SetDockPosition
+@ stub ExpandCollapsePattern_Collapse
+@ stub ExpandCollapsePattern_Expand
+@ stub GridPattern_GetItem
+@ stub InvokePattern_Invoke
+@ stub ItemContainerPattern_FindItemByProperty
+@ stub LegacyIAccessiblePattern_DoDefaultAction
+@ stub LegacyIAccessiblePattern_GetIAccessible
+@ stub LegacyIAccessiblePattern_Select
+@ stub LegacyIAccessiblePattern_SetValue
+@ stub MultipleViewPattern_GetViewName
+@ stub MultipleViewPattern_SetCurrentView
+@ stub RangeValuePattern_SetValue
+@ stub ScrollItemPattern_ScrollIntoView
+@ stub ScrollPattern_Scroll
+@ stub ScrollPattern_SetScrollPercent
+@ stub SelectionItemPattern_AddToSelection
+@ stub SelectionItemPattern_RemoveFromSelection
+@ stub SelectionItemPattern_Select
+@ stub SynchronizedInputPattern_Cancel
+@ stub SynchronizedInputPattern_StartListening
+@ stub TextPattern_GetSelection
+@ stub TextPattern_GetVisibleRanges
+@ stub TextPattern_RangeFromChild
+@ stub TextPattern_RangeFromPoint
+@ stub TextPattern_get_DocumentRange
+@ stub TextPattern_get_SupportedTextSelection
+@ stub TextRange_AddToSelection
+@ stub TextRange_Clone
+@ stub TextRange_Compare
+@ stub TextRange_CompareEndpoints
+@ stub TextRange_ExpandToEnclosingUnit
+@ stub TextRange_FindAttribute
+@ stub TextRange_FindText
+@ stub TextRange_GetAttributeValue
+@ stub TextRange_GetBoundingRectangles
+@ stub TextRange_GetChildren
+@ stub TextRange_GetEnclosingElement
+@ stub TextRange_GetText
+@ stub TextRange_Move
+@ stub TextRange_MoveEndpointByRange
+@ stub TextRange_MoveEndpointByUnit
+@ stub TextRange_RemoveFromSelection
+@ stub TextRange_ScrollIntoView
+@ stub TextRange_Select
+@ stub TogglePattern_Toggle
+@ stub TransformPattern_Move
+@ stub TransformPattern_Resize
+@ stub TransformPattern_Rotate
+@ stub UiaAddEvent
+@ stub UiaClientsAreListening
+@ stub UiaDisconnectAllProviders
+@ stub UiaDisconnectProvider
+@ stub UiaEventAddWindow
+@ stub UiaEventRemoveWindow
+@ stub UiaFind
+@ stub UiaGetErrorDescription
+@ stub UiaGetPatternProvider
+@ stub UiaGetPropertyValue
+@ stdcall UiaGetReservedMixedAttributeValue(ptr)
+@ stdcall UiaGetReservedNotSupportedValue(ptr)
+@ stub UiaGetRootNode
+@ stub UiaGetRuntimeId
+@ stub UiaGetUpdatedCache
+@ stub UiaHPatternObjectFromVariant
+@ stub UiaHTextRangeFromVariant
+@ stub UiaHUiaNodeFromVariant
+@ stub UiaHasServerSideProvider
+@ stub UiaHostProviderFromHwnd
+@ stub UiaIAccessibleFromProvider
+@ stdcall UiaLookupId(long ptr)
+@ stub UiaNavigate
+@ stub UiaNodeFromFocus
+@ stub UiaNodeFromHandle
+@ stub UiaNodeFromPoint
+@ stub UiaNodeFromProvider
+@ stub UiaNodeRelease
+@ stub UiaPatternRelease
+@ stub UiaProviderForNonClient
+@ stub UiaProviderFromIAccessible
+@ stub UiaRaiseAsyncContentLoadedEvent
+@ stub UiaRaiseAutomationEvent
+@ stub UiaRaiseAutomationPropertyChangedEvent
+@ stub UiaRaiseStructureChangedEvent
+@ stub UiaRaiseTextEditTextChangedEvent
+@ stub UiaRegisterProviderCallback
+@ stub UiaRemoveEvent
+@ stdcall UiaReturnRawElementProvider(long long long ptr)
+@ stub UiaSetFocus
+@ stub UiaTextRangeRelease
+@ stub ValuePattern_SetValue
+@ stub VirtualizedItemPattern_Realize
+@ stub WindowPattern_Close
+@ stub WindowPattern_SetWindowVisualState
+@ stub WindowPattern_WaitForInputIdle
diff --git a/include/uiautomationcoreapi.h b/include/uiautomationcoreapi.h
index 340f500..b9107ce 100644
--- a/include/uiautomationcoreapi.h
+++ b/include/uiautomationcoreapi.h
@@ -19,6 +19,8 @@
#ifndef _INC_UIAUTOMATIONCOREAPI
#define _INC_UIAUTOMATIONCOREAPI
+#include "uiautomationcore.h"
+
#ifdef __cplusplus
extern "C" {
#endif
@@ -34,6 +36,16 @@ extern "C" {
#define UiaAppendRuntimeId 3
#define UiaRootObjectId -25
+typedef enum AutomationIdentifierType
+{
+ AutomationIdentifierType_Property,
+ AutomationIdentifierType_Pattern,
+ AutomationIdentifierType_Event,
+ AutomationIdentifierType_ControlType,
+ AutomationIdentifierType_TextAttribute,
+ AutomationIdentifierType_LandmarkType,
+} AutomationIdentifierType;
+
DECLARE_HANDLE(HUIANODE);
DECLARE_HANDLE(HUIAPATTERNOBJECT);
DECLARE_HANDLE(HUIATEXTRANGE);
@@ -41,6 +53,10 @@ DECLARE_HANDLE(HUIAEVENT);
BOOL WINAPI UiaPatternRelease(HUIAPATTERNOBJECT hobj);
BOOL WINAPI UiaTextRangeRelease(HUIATEXTRANGE hobj);
+int WINAPI UiaLookupId(AutomationIdentifierType type, const GUID *guid);
+HRESULT WINAPI UiaGetReservedMixedAttributeValue(IUnknown **value);
+HRESULT WINAPI UiaGetReservedNotSupportedValue(IUnknown **value);
+LRESULT WINAPI UiaReturnRawElementProvider(HWND hwnd, WPARAM wparam, LPARAM lparam, IRawElementProviderSimple *provider);
#ifdef __cplusplus
}
--
2.7.1

View File

@@ -19,7 +19,6 @@ Fixes: Add ext-ms-win-kernel32-package-current-l1-1-0 dll
Fixes: Add kernelbase dll
Fixes: Add iertutil dll
Fixes: Add shcore dll
Depends: kernel32-GetFinalPathNameByHandle
Depends: kernel32-FreeUserPhysicalPages
Fixes: [40451] Add feclient dll
Depends: kernel32-GetCurrentPackageFamilyName
Depends: combase-RoApi

View File

@@ -0,0 +1,116 @@
From 8113f7a7b3c214b5c9d07a4b6f5b0d97d6f576f1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
Date: Sat, 12 Jul 2014 23:58:19 +0200
Subject: comctl32: Preserve custom colors between subitems. (v2)
---
dlls/comctl32/listview.c | 20 +++++++++-----------
dlls/comctl32/tests/listview.c | 27 ++++++++++++++++++++++-----
2 files changed, 31 insertions(+), 16 deletions(-)
diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c
index 784ca7b..2c4051d 100644
--- a/dlls/comctl32/listview.c
+++ b/dlls/comctl32/listview.c
@@ -1054,7 +1054,7 @@ static void prepaint_setup (const LISTVIEW_INFO *infoPtr, HDC hdc, NMLVCUSTOMDRA
COLORREF backcolor, textcolor;
/* apparently, for selected items, we have to override the returned values */
- if (!SubItem)
+ if (!SubItem || (infoPtr->dwLvExStyle & LVS_EX_FULLROWSELECT))
{
if (lpnmlvcd->nmcd.uItemState & CDIS_SELECTED)
{
@@ -4767,6 +4767,7 @@ static BOOL LISTVIEW_DrawItem(LISTVIEW_INFO *infoPtr, HDC hdc, INT nItem, ITERAT
while (iterator_next(subitems))
{
DWORD subitemstage = CDRF_DODEFAULT;
+ NMLVCUSTOMDRAW temp_nmlvcd;
/* We need to query for each subitem, item's data (subitem == 0) is already here at this point */
if (subitems->nItem)
@@ -4793,19 +4794,16 @@ static BOOL LISTVIEW_DrawItem(LISTVIEW_INFO *infoPtr, HDC hdc, INT nItem, ITERAT
if (cdsubitemmode & CDRF_NOTIFYSUBITEMDRAW)
subitemstage = notify_customdraw(infoPtr, CDDS_SUBITEM | CDDS_ITEMPREPAINT, &nmlvcd);
- else
- {
- nmlvcd.clrTextBk = infoPtr->clrTextBk;
- nmlvcd.clrText = infoPtr->clrText;
- }
- if (subitems->nItem == 0 || (cdmode & CDRF_NOTIFYITEMDRAW))
- prepaint_setup(infoPtr, hdc, &nmlvcd, FALSE);
- else if (!(infoPtr->dwLvExStyle & LVS_EX_FULLROWSELECT))
- prepaint_setup(infoPtr, hdc, &nmlvcd, TRUE);
+ /*
+ * A selection should neither affect the colors in the post paint notification nor
+ * affect the colors of the next drawn subitem. Copy the structure to prevent this.
+ */
+ temp_nmlvcd = nmlvcd;
+ prepaint_setup(infoPtr, hdc, &temp_nmlvcd, subitems->nItem);
if (!(subitemstage & CDRF_SKIPDEFAULT))
- LISTVIEW_DrawItemPart(infoPtr, &lvItem, &nmlvcd, &pos);
+ LISTVIEW_DrawItemPart(infoPtr, &lvItem, &temp_nmlvcd, &pos);
if (subitemstage & CDRF_NOTIFYPOSTPAINT)
subitemstage = notify_customdraw(infoPtr, CDDS_SUBITEM | CDDS_ITEMPOSTPAINT, &nmlvcd);
diff --git a/dlls/comctl32/tests/listview.c b/dlls/comctl32/tests/listview.c
index ed5d9f9..64cc214 100644
--- a/dlls/comctl32/tests/listview.c
+++ b/dlls/comctl32/tests/listview.c
@@ -1823,14 +1823,18 @@ static LRESULT WINAPI cd_wndproc(HWND hwnd, UINT message, WPARAM wParam, LPARAM
clr = GetBkColor(nmlvcd->nmcd.hdc);
ok(nmlvcd->clrTextBk == CLR_DEFAULT, "got 0x%x\n", nmlvcd->clrTextBk);
ok(nmlvcd->clrText == RGB(0, 255, 0), "got 0x%x\n", nmlvcd->clrText);
- if (nmlvcd->iSubItem)
- todo_wine ok(clr == c0ffee, "clr=%.8x\n", clr);
- else
- ok(clr == c0ffee, "clr=%.8x\n", clr);
+ if (!(GetWindowLongW(nmhdr->hwndFrom, GWL_STYLE) & LVS_SHOWSELALWAYS))
+ {
+ if (nmlvcd->iSubItem)
+ todo_wine ok(clr == c0ffee, "clr=%.8x\n", clr);
+ else
+ ok(clr == c0ffee, "clr=%.8x\n", clr);
+ }
return CDRF_NOTIFYPOSTPAINT;
case CDDS_ITEMPOSTPAINT | CDDS_SUBITEM:
clr = GetBkColor(nmlvcd->nmcd.hdc);
- todo_wine ok(clr == c0ffee, "clr=%.8x\n", clr);
+ if (!(GetWindowLongW(nmhdr->hwndFrom, GWL_STYLE) & LVS_SHOWSELALWAYS))
+ todo_wine ok(clr == c0ffee, "clr=%.8x\n", clr);
ok(nmlvcd->clrTextBk == CLR_DEFAULT, "got 0x%x\n", nmlvcd->clrTextBk);
ok(nmlvcd->clrText == RGB(0, 255, 0), "got 0x%x\n", nmlvcd->clrText);
return CDRF_DODEFAULT;
@@ -1846,6 +1850,7 @@ static void test_customdraw(void)
{
HWND hwnd;
WNDPROC oldwndproc;
+ LVITEMA item;
hwnd = create_listview_control(LVS_REPORT);
@@ -1865,6 +1870,18 @@ static void test_customdraw(void)
UpdateWindow(hwnd);
ok_sequence(sequences, PARENT_CD_SEQ_INDEX, parent_report_cd_seq, "parent customdraw, LVS_REPORT", FALSE);
+ /* check colors when item is selected */
+ SetWindowLongW(hwnd, GWL_STYLE, GetWindowLongW(hwnd, GWL_STYLE) | LVS_SHOWSELALWAYS);
+ item.mask = LVIF_STATE;
+ item.stateMask = LVIS_SELECTED;
+ item.state = LVIS_SELECTED;
+ SendMessageA(hwnd, LVM_SETITEMSTATE, 0, (LPARAM)&item);
+
+ flush_sequences(sequences, NUM_MSG_SEQUENCES);
+ InvalidateRect(hwnd, NULL, TRUE);
+ UpdateWindow(hwnd);
+ ok_sequence(sequences, PARENT_CD_SEQ_INDEX, parent_report_cd_seq, "parent customdraw, LVS_REPORT, selection", FALSE);
+
DestroyWindow(hwnd);
hwnd = create_listview_control(LVS_LIST);
--
2.8.0

View File

@@ -0,0 +1 @@
Fixes: [38941] Preserve custom colors between subitems for listview control

View File

@@ -0,0 +1,74 @@
From 022ab9291e3d8c324c7c2dacbfb0b23e234fb4ae Mon Sep 17 00:00:00 2001
From: Dmitry Timoshkov <dmitry@baikal.ru>
Date: Tue, 26 Apr 2016 18:28:21 +0800
Subject: comdlg32: Postpone setting ofn->lpstrFileTitle to work around an
application bug.
An application in the bug 38400 passes a not initialized ofn->lpstrFileTitle
to GetSaveFileNameW(). Basically ofn->lpstrFileTitle points to the stack
approximately 428 bytes above the current stack pointer, and since Wine's
GetSaveFileNameW() uses more than 4096 bytes one of internal stack frames is
guaranteed to be trashed after copying file name to ofn->lpstrFileTitle.
---
dlls/comdlg32/filedlg.c | 31 ++++++++++++++-----------------
1 file changed, 14 insertions(+), 17 deletions(-)
diff --git a/dlls/comdlg32/filedlg.c b/dlls/comdlg32/filedlg.c
index 1453396..6a6a093 100644
--- a/dlls/comdlg32/filedlg.c
+++ b/dlls/comdlg32/filedlg.c
@@ -463,6 +463,13 @@ static BOOL GetFileDialog95A(LPOPENFILENAMEA ofn,UINT iDlgType)
ret = FALSE;
}
+ /* set the lpstrFileTitle */
+ if (ret && ofn->lpstrFile && ofn->lpstrFileTitle)
+ {
+ LPSTR lpstrFileTitle = PathFindFileNameA(ofn->lpstrFile);
+ lstrcpynA(ofn->lpstrFileTitle, lpstrFileTitle, ofn->nMaxFileTitle);
+ }
+
if (lpstrSavDir)
{
SetCurrentDirectoryA(lpstrSavDir);
@@ -555,6 +562,13 @@ static BOOL GetFileDialog95W(LPOPENFILENAMEW ofn,UINT iDlgType)
ret = FALSE;
}
+ /* set the lpstrFileTitle */
+ if (ret && ofn->lpstrFile && ofn->lpstrFileTitle)
+ {
+ LPWSTR lpstrFileTitle = PathFindFileNameW(ofn->lpstrFile);
+ lstrcpynW(ofn->lpstrFileTitle, lpstrFileTitle, ofn->nMaxFileTitle);
+ }
+
if (lpstrSavDir)
{
SetCurrentDirectoryW(lpstrSavDir);
@@ -2735,23 +2749,6 @@ BOOL FILEDLG95_OnOpen(HWND hwnd)
fodInfos->ofnInfos->nFileExtension = (*lpszTemp) ? (lpszTemp - tempFileA) + 1 : 0;
}
- /* set the lpstrFileTitle */
- if(fodInfos->ofnInfos->lpstrFileTitle)
- {
- LPWSTR lpstrFileTitle = PathFindFileNameW(lpstrPathAndFile);
- if(fodInfos->unicode)
- {
- LPOPENFILENAMEW ofn = fodInfos->ofnInfos;
- lstrcpynW(ofn->lpstrFileTitle, lpstrFileTitle, ofn->nMaxFileTitle);
- }
- else
- {
- LPOPENFILENAMEA ofn = (LPOPENFILENAMEA)fodInfos->ofnInfos;
- WideCharToMultiByte(CP_ACP, 0, lpstrFileTitle, -1,
- ofn->lpstrFileTitle, ofn->nMaxFileTitle, NULL, NULL);
- }
- }
-
/* copy currently selected filter to lpstrCustomFilter */
if (fodInfos->ofnInfos->lpstrCustomFilter)
{
--
2.8.0

View File

@@ -0,0 +1,2 @@
Fixes: [38400] Postpone setting lpstrFileTitle in GetSaveFileNameW
Fixes: [35200] Postpone setting lpstrFileTitle in GetSaveFileNameA

View File

@@ -1,45 +0,0 @@
From 9bfa901639b950dbfb16c67fe881f742445b30da Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
Date: Sat, 27 Feb 2016 00:49:36 +0100
Subject: compobj.dll16: StringFromGUID2 must write a char string into the
buffer.
---
dlls/compobj.dll16/compobj.c | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/dlls/compobj.dll16/compobj.c b/dlls/compobj.dll16/compobj.c
index 6261c13..9ec8556 100644
--- a/dlls/compobj.dll16/compobj.c
+++ b/dlls/compobj.dll16/compobj.c
@@ -54,6 +54,7 @@ typedef LPCSTR LPCOLESTR16;
#define STDMETHOD16(m) HRESULT (STDMETHOD16CALLTYPE *m)
#define STDMETHOD16_(t,m) t (STDMETHOD16CALLTYPE *m)
+#define CHARS_IN_GUID 39
/***********************************************************************
* IMalloc16 interface
@@ -689,9 +690,17 @@ HRESULT WINAPI CLSIDFromProgID16(LPCOLESTR16 progid, LPCLSID riid)
/******************************************************************************
* StringFromGUID2 [COMPOBJ.76]
*/
-INT WINAPI StringFromGUID216(REFGUID id, LPOLESTR str, INT cmax)
+INT WINAPI StringFromGUID216(REFGUID id, LPOLESTR16 str, INT cmax)
{
- return StringFromGUID2( id, str, cmax );
+ static const char format[] = "{%08X-%04X-%04X-%02X%02X-%02X%02X%02X%02X%02X%02X}";
+
+ if (!id || cmax < CHARS_IN_GUID) return 0;
+
+ sprintf( str, format, id->Data1, id->Data2, id->Data3,
+ id->Data4[0], id->Data4[1], id->Data4[2], id->Data4[3],
+ id->Data4[4], id->Data4[5], id->Data4[6], id->Data4[7] );
+
+ return CHARS_IN_GUID;
}
--
2.7.1

View File

@@ -1 +0,0 @@
Fixes: Fix implementation of compobj.dll16.StringFromGUID2 function

View File

@@ -1,30 +0,0 @@
From 4b55f147ef88c192985081fc5a023de2b198cfb1 Mon Sep 17 00:00:00 2001
From: Sebastian Lackner <sebastian@fds-team.de>
Date: Mon, 7 Mar 2016 02:40:56 +0100
Subject: configure.ac: Fix cross-compiling of 32-bit Wine for OSX.
---
configure.ac | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/configure.ac b/configure.ac
index b57ff6a..fd65810 100644
--- a/configure.ac
+++ b/configure.ac
@@ -175,6 +175,13 @@ case $host in
AC_SUBST(TARGETFLAGS,"-marm")
;;
i[[3456789]]86*)
+ if test "$cross_compiling" = "yes"; then
+ CC="$CC -m32"
+ CXX="$CXX -m32"
+ host_cpu="i386"
+ notice_platform="32-bit "
+ AC_SUBST(TARGETFLAGS,"-m32")
+ fi
enable_win16=${enable_win16:-yes}
;;
esac
--
2.7.1

View File

@@ -0,0 +1,24 @@
From 46a3f35c38aa4dcb9ca3101fc346fe44fa0d240d Mon Sep 17 00:00:00 2001
From: Sebastian Lackner <sebastian@fds-team.de>
Date: Sun, 15 May 2016 17:30:35 +0200
Subject: d2d1/tests: Avoid test failure on specific Nvidia graphic cards.
---
dlls/d2d1/tests/d2d1.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/d2d1/tests/d2d1.c b/dlls/d2d1/tests/d2d1.c
index 7f9632f..0961373 100644
--- a/dlls/d2d1/tests/d2d1.c
+++ b/dlls/d2d1/tests/d2d1.c
@@ -1103,6 +1103,7 @@ static void test_bitmap_brush(void)
hr = ID2D1RenderTarget_EndDraw(rt, NULL, NULL);
ok(SUCCEEDED(hr), "Failed to end draw, hr %#x.\n", hr);
match = compare_surface(surface, "393636185359a550d459e1e5f0e25411814f724c");
+ todo_wine_if (compare_surface(surface, "f428a7d2f886e33a8be006a831fb38d88b235884"))
ok(match, "Surface does not match.\n");
ID2D1RenderTarget_BeginDraw(rt);
--
2.8.0

View File

@@ -1,4 +1,4 @@
From a408faad22694f7dd6b9e24b3f47ac60fc6f4c4f Mon Sep 17 00:00:00 2001
From 26a7497a9fb1184080a1622f6a834bed50d2a239 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
Date: Wed, 3 Jun 2015 22:57:21 +0200
Subject: winex11.drv: Allow changing the opengl pixel format on the desktop
@@ -11,16 +11,74 @@ window will fail because of this limitation. Unless someone comes up with
a more correct solution or finds an application that breaks because of this,
it seems to be a suitable workaround as it fixes multiple applications.
---
dlls/d3d9/tests/device.c | 16 ++++++++++++++++
dlls/winex11.drv/opengl.c | 5 ++++-
2 files changed, 20 insertions(+), 1 deletion(-)
dlls/d3d10_1/tests/d3d10_1.c | 14 ++++++++++++--
dlls/d3d11/tests/d3d11.c | 20 ++++++++++++++++----
dlls/d3d9/tests/device.c | 16 ++++++++++++++++
dlls/winex11.drv/opengl.c | 5 ++++-
4 files changed, 48 insertions(+), 7 deletions(-)
diff --git a/dlls/d3d10_1/tests/d3d10_1.c b/dlls/d3d10_1/tests/d3d10_1.c
index f5b1454..ac21f68 100644
--- a/dlls/d3d10_1/tests/d3d10_1.c
+++ b/dlls/d3d10_1/tests/d3d10_1.c
@@ -226,8 +226,18 @@ static void test_create_device(void)
hr = D3D10CreateDeviceAndSwapChain1(NULL, D3D10_DRIVER_TYPE_HARDWARE, NULL, 0,
supported_feature_level, D3D10_1_SDK_VERSION, &swapchain_desc, &swapchain, &device);
todo_wine ok(hr == DXGI_ERROR_INVALID_CALL, "D3D10CreateDeviceAndSwapChain1 returned %#x.\n", hr);
- ok(!swapchain, "Got unexpected swapchain pointer %p.\n", swapchain);
- ok(!device, "Got unexpected device pointer %p.\n", device);
+ if (SUCCEEDED(hr))
+ {
+ refcount = IDXGISwapChain_Release(swapchain);
+ ok(!refcount, "Swapchain has %u references left.\n", refcount);
+ refcount = ID3D10Device1_Release(device);
+ ok(!refcount, "Device has %u references left.\n", refcount);
+ }
+ else
+ {
+ ok(!swapchain, "Got unexpected swapchain pointer %p.\n", swapchain);
+ ok(!device, "Got unexpected device pointer %p.\n", device);
+ }
swapchain = (IDXGISwapChain *)0xdeadbeef;
device = (ID3D10Device1 *)0xdeadbeef;
diff --git a/dlls/d3d11/tests/d3d11.c b/dlls/d3d11/tests/d3d11.c
index 04a369c..ee506f5 100644
--- a/dlls/d3d11/tests/d3d11.c
+++ b/dlls/d3d11/tests/d3d11.c
@@ -805,10 +805,22 @@ static void test_create_device(void)
hr = D3D11CreateDeviceAndSwapChain(NULL, D3D_DRIVER_TYPE_HARDWARE, NULL, 0, NULL, 0, D3D11_SDK_VERSION,
&swapchain_desc, &swapchain, &device, &feature_level, &immediate_context);
todo_wine ok(hr == DXGI_ERROR_INVALID_CALL, "D3D11CreateDeviceAndSwapChain returned %#x.\n", hr);
- ok(!swapchain, "Got unexpected swapchain pointer %p.\n", swapchain);
- ok(!device, "Got unexpected device pointer %p.\n", device);
- ok(!feature_level, "Got unexpected feature level %#x.\n", feature_level);
- ok(!immediate_context, "Got unexpected immediate context pointer %p.\n", immediate_context);
+ if (SUCCEEDED(hr))
+ {
+ refcount = IDXGISwapChain_Release(swapchain);
+ ok(!refcount, "Swapchain has %u references left.\n", refcount);
+ refcount = ID3D11DeviceContext_Release(immediate_context);
+ ok(!refcount, "Immediate context has %u references left.\n", refcount);
+ refcount = ID3D11Device_Release(device);
+ ok(!refcount, "Device has %u references left.\n", refcount);
+ }
+ else
+ {
+ ok(!swapchain, "Got unexpected swapchain pointer %p.\n", swapchain);
+ ok(!device, "Got unexpected device pointer %p.\n", device);
+ ok(!feature_level, "Got unexpected feature level %#x.\n", feature_level);
+ ok(!immediate_context, "Got unexpected immediate context pointer %p.\n", immediate_context);
+ }
swapchain = (IDXGISwapChain *)0xdeadbeef;
device = (ID3D11Device *)0xdeadbeef;
diff --git a/dlls/d3d9/tests/device.c b/dlls/d3d9/tests/device.c
index 5bf7121..0c2df95 100644
index 4302f76..342f8d2 100644
--- a/dlls/d3d9/tests/device.c
+++ b/dlls/d3d9/tests/device.c
@@ -10769,6 +10769,21 @@ static void test_check_device_format(void)
IDirect3D9_Release(d3d);
@@ -11171,6 +11171,21 @@ static void test_get_render_target_data(void)
DestroyWindow(window);
}
+static void test_desktop_window(void)
@@ -41,19 +99,19 @@ index 5bf7121..0c2df95 100644
START_TEST(device)
{
WNDCLASSA wc = {0};
@@ -10883,6 +10898,7 @@ START_TEST(device)
test_resource_priority();
test_swapchain_parameters();
@@ -11287,6 +11302,7 @@ START_TEST(device)
test_check_device_format();
test_miptree_layout();
test_get_render_target_data();
+ test_desktop_window();
UnregisterClassA("d3d9_test_wc", GetModuleHandleA(NULL));
}
diff --git a/dlls/winex11.drv/opengl.c b/dlls/winex11.drv/opengl.c
index 3d0bd24..845b022 100644
index 0f7534e..613d1df 100644
--- a/dlls/winex11.drv/opengl.c
+++ b/dlls/winex11.drv/opengl.c
@@ -1434,12 +1434,15 @@ static BOOL set_pixel_format(HDC hdc, int format, BOOL allow_change)
@@ -1457,12 +1457,15 @@ static BOOL set_pixel_format(HDC hdc, int format, BOOL allow_change)
TRACE("(%p,%d)\n", hdc, format);
@@ -71,5 +129,5 @@ index 3d0bd24..845b022 100644
if (!fmt)
{
--
2.7.0
2.8.0

View File

@@ -1 +0,0 @@
Category: stable

View File

@@ -0,0 +1,61 @@
From a568780e076f43ab5a7f07c4eb963e7777f84255 Mon Sep 17 00:00:00 2001
From: Sebastian Lackner <sebastian@fds-team.de>
Date: Sun, 15 May 2016 17:05:15 +0200
Subject: d3d9/tests: Avoid test failures on specific Nvidia graphic cards.
---
dlls/d3d9/tests/visual.c | 24 +++++++++++++-----------
1 file changed, 13 insertions(+), 11 deletions(-)
diff --git a/dlls/d3d9/tests/visual.c b/dlls/d3d9/tests/visual.c
index a308311..c3de15e 100644
--- a/dlls/d3d9/tests/visual.c
+++ b/dlls/d3d9/tests/visual.c
@@ -14923,6 +14923,7 @@ static void fp_special_test(void)
D3DCOLOR nv40;
D3DCOLOR nv50;
D3DCOLOR warp;
+ D3DCOLOR todo;
}
vs_body[] =
{
@@ -14939,17 +14940,17 @@ static void fp_special_test(void)
* There are considerable differences between graphics cards in how
* these are handled, but pow and nrm never generate INF or NAN on
* real hardware. */
- {"log", vs_log, sizeof(vs_log), 0x00000000, 0x00000000, 0x00ff0000, 0x00ff7f00, 0x00ff8000},
- {"pow", vs_pow, sizeof(vs_pow), 0x000000ff, 0x000000ff, 0x0000ff00, 0x000000ff, 0x00008000},
- {"nrm", vs_nrm, sizeof(vs_nrm), 0x00ff0000, 0x00ff0000, 0x0000ff00, 0x00ff0000, 0x00008000},
- {"rcp1", vs_rcp1, sizeof(vs_rcp1), 0x000000ff, 0x000000ff, 0x00ff00ff, 0x00ff7f00, 0x00ff8000},
- {"rcp2", vs_rcp2, sizeof(vs_rcp2), 0x000000ff, 0x00000000, 0x00ff0000, 0x00ff7f00, 0x00ff8000},
- {"rsq1", vs_rsq1, sizeof(vs_rsq1), 0x000000ff, 0x000000ff, 0x00ff00ff, 0x00ff7f00, 0x00ff8000},
- {"rsq2", vs_rsq2, sizeof(vs_rsq2), 0x000000ff, 0x000000ff, 0x00ff00ff, 0x00ff7f00, 0x00ff8000},
- {"lit", vs_lit, sizeof(vs_lit), 0x00ff0000, 0x00ff0000, 0x00ff0000, 0x00ff0000, 0x00ff0000},
- {"def1", vs_def1, sizeof(vs_def1), 0x000000ff, 0x00007f00, 0x0000ff00, 0x00007f00, 0x00008000},
- {"def2", vs_def2, sizeof(vs_def2), 0x00ff0000, 0x00ff7f00, 0x00ff0000, 0x00ff7f00, 0x00ff8000},
- {"def3", vs_def3, sizeof(vs_def3), 0x00ff00ff, 0x00ff7f00, 0x00ff00ff, 0x00ff7f00, 0x00ff8000},
+ {"log", vs_log, sizeof(vs_log), 0x00000000, 0x00000000, 0x00ff0000, 0x00ff7f00, 0x00ff8000, ~0U},
+ {"pow", vs_pow, sizeof(vs_pow), 0x000000ff, 0x000000ff, 0x0000ff00, 0x000000ff, 0x00008000, ~0U},
+ {"nrm", vs_nrm, sizeof(vs_nrm), 0x00ff0000, 0x00ff0000, 0x0000ff00, 0x00ff0000, 0x00008000, ~0U},
+ {"rcp1", vs_rcp1, sizeof(vs_rcp1), 0x000000ff, 0x000000ff, 0x00ff00ff, 0x00ff7f00, 0x00ff8000, 0x00ff0000},
+ {"rcp2", vs_rcp2, sizeof(vs_rcp2), 0x000000ff, 0x00000000, 0x00ff0000, 0x00ff7f00, 0x00ff8000, ~0U},
+ {"rsq1", vs_rsq1, sizeof(vs_rsq1), 0x000000ff, 0x000000ff, 0x00ff00ff, 0x00ff7f00, 0x00ff8000, 0x00ff0000},
+ {"rsq2", vs_rsq2, sizeof(vs_rsq2), 0x000000ff, 0x000000ff, 0x00ff00ff, 0x00ff7f00, 0x00ff8000, 0x00ff0000},
+ {"lit", vs_lit, sizeof(vs_lit), 0x00ff0000, 0x00ff0000, 0x00ff0000, 0x00ff0000, 0x00ff0000, ~0U},
+ {"def1", vs_def1, sizeof(vs_def1), 0x000000ff, 0x00007f00, 0x0000ff00, 0x00007f00, 0x00008000, 0x00000000},
+ {"def2", vs_def2, sizeof(vs_def2), 0x00ff0000, 0x00ff7f00, 0x00ff0000, 0x00ff7f00, 0x00ff8000, ~0U},
+ {"def3", vs_def3, sizeof(vs_def3), 0x00ff00ff, 0x00ff7f00, 0x00ff00ff, 0x00ff7f00, 0x00ff8000, 0x00ff0000},
};
static const DWORD ps_code[] =
@@ -15068,6 +15069,7 @@ static void fp_special_test(void)
ok(SUCCEEDED(hr), "EndScene failed, hr %#x.\n", hr);
color = getPixelColor(device, 320, 240);
+ todo_wine_if(vs_body[i].todo != ~0U && color_match(color, vs_body[i].todo, 1))
ok(color_match(color, vs_body[i].r500, 1)
|| color_match(color, vs_body[i].r600, 1)
|| color_match(color, vs_body[i].nv40, 1)
--
2.8.0

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