Commit graph

68956 commits

Author SHA1 Message Date
Amine Khaldi f6d85c300f [WIN32SS] Implement D3DKMT{Create,Destroy}DCFromMemory. Brought to you by Sebastian Gasiorek. CORE-11331 CORE-13362
svn path=/trunk/; revision=75059
2017-06-16 18:38:08 +00:00
Giannis Adamopoulos 3770c2d134 [SHELL32] -CMenuBand: When the flat menus style is enabled, shell menu bars should not look like toolbars.
svn path=/trunk/; revision=75058
2017-06-16 17:53:50 +00:00
Thomas Faber 8c8f34f7fd [KMTESTS:MM]
- In the MmMapLockedPagesSpecifyCache test, try to allocate & free memory or unmap a section view in the mapped buffer space
CORE-13444

svn path=/trunk/; revision=75057
2017-06-16 11:06:33 +00:00
Eric Kohl 57206b450b [ADVAPI32]
ScmRpcStatusToWinError: Convert STATUS_ACCESS_VIOLATION to ERROR_INVALID_HANDLE.
UnlockServiceDatabase returns ERROR_INVALID_SERVICE_LOCK instead of ERROR_INVALID_HANDLE.

svn path=/trunk/; revision=75053
2017-06-15 23:19:34 +00:00
Eric Kohl a26e5a47fc [ADVAPI32]
CreateServiceA/W: Call SetLastError() in case of success too.

svn path=/trunk/; revision=75052
2017-06-15 21:40:12 +00:00
Thomas Faber 830b3fc070 [NTOS:IO]
- Pass the class key handle as a parameter to IopAttachFilterDrivers, since we already opened it in PipCallDriverAddDevice.
CORE-13336 #resolve

svn path=/trunk/; revision=75051
2017-06-15 18:32:14 +00:00
Thomas Faber 56c393d8f4 [NTOS:IO]
- Consistently treat class filters as optional in IopAttachFilterDrivers
CORE-13336

svn path=/trunk/; revision=75049
2017-06-15 16:14:01 +00:00
Thomas Faber 7b8f448f33 [NTOS:IO]
- Simplify logic in PipCallDriverAddDevice.
CORE-13336

svn path=/trunk/; revision=75048
2017-06-15 13:51:09 +00:00
Thomas Faber b2405204cd [NTOS:IO]
- Addendum to r75046: add missing header change.
CORE-13336

svn path=/trunk/; revision=75047
2017-06-15 13:33:55 +00:00
Thomas Faber 2103cf341f [NTOS:IO]
- Pass Enum subkey handle to IopAttachFilterDrivers, since we've already opened it in PipCallDriverAddDevice.
CORE-13336

svn path=/trunk/; revision=75046
2017-06-15 13:25:26 +00:00
Thomas Faber 3dda28e8fb [WIN32K:NTUSER]
- Fix clipboard lock check in UserSetClipboardData. Fixes 24 user32:clipboard tests.
CORE-13414 #resolve

svn path=/trunk/; revision=75045
2017-06-15 12:16:09 +00:00
Eric Kohl 6664d60e19 [ADVAPI32]
OpenServiceA/W: Call SetLastError() in case of success too.

svn path=/trunk/; revision=75044
2017-06-15 09:29:22 +00:00
Thomas Faber 907d0d20e8 [RTL]
- Implement RtlIsCriticalSectionLocked and RtlIsCriticalSectionLockedByThread
CORE-13436 #resolve

svn path=/trunk/; revision=75043
2017-06-15 06:47:42 +00:00
Eric Kohl 248545d219 [NETAPI32]
Add obsolete NetRepl functions.

svn path=/trunk/; revision=75042
2017-06-15 00:21:07 +00:00
Mark Jansen 272bc3ef9f [APITEST] Move RedirectIat into it's own header so that it can be used from multiple tests.
svn path=/trunk/; revision=75041
2017-06-14 15:25:04 +00:00
Mark Jansen 0d157ecbc8 [NOTEPAD] Fix default font settings. Patch by Katayama Hirofumi MZ. CORE-13037
svn path=/trunk/; revision=75040
2017-06-14 14:22:32 +00:00
Eric Kohl ec398e2908 [NETAPI32]
- Add I_BrowserQueryEmulatedDomains and I_BrowserSetNetlogonState to the new computer browser inferface file.
- Get rid of the now obsolete browsr.c file.

svn path=/trunk/; revision=75039
2017-06-14 13:44:11 +00:00
Eric Kohl 243e71c96c [NETAPI32]
- Add the computer browser service client interface.
- Add binding code for the computer browser service client interface.

svn path=/trunk/; revision=75038
2017-06-14 13:10:36 +00:00
Eric Kohl 4d493bb613 [NETAPI32]
Implement NetEnumerateComputerNames. This function calls its counterpart in the workstation service.


svn path=/trunk/; revision=75037
2017-06-14 13:06:41 +00:00
Eric Kohl 8ef995b4d0 [IDL]
Add computer browser service interface definition files.

svn path=/trunk/; revision=75035
2017-06-14 12:57:52 +00:00
Eric Kohl 005d3af030 [NETAPI32]
Move the stubs NetServerEnum and NetServerEnumEx into a new file for the computer browser service interface code.

svn path=/trunk/; revision=75034
2017-06-14 12:17:08 +00:00
Eric Kohl 89eb252fb8 [NETAPI32]
Implement NetGetJoinableOUs and NetValidateName. These functions call their counterparts in the workstation service.


svn path=/trunk/; revision=75033
2017-06-14 11:31:54 +00:00
Eric Kohl 4747d6a5c1 [NETAPI32]
Implement NetAddAlternateComputerName, NetJoinDomain, NetRemoveAlternateComputerName, NetRenameMachineInDomain, NetSetPrimaryComputerName and NetUnjoinDomain. These functions call their counterparts in the workstation service.


svn path=/trunk/; revision=75032
2017-06-14 09:50:54 +00:00
Thomas Faber 25b44b332b [SETUPAPI]
- Properly stub SetupDiRemoveDeviceInterface. From Wine commit cdb72f39 by Hans Leidekker. Fixes crash when running setupapi_winetest:devinst.
CORE-13362

svn path=/trunk/; revision=75031
2017-06-14 07:14:44 +00:00
Thomas Faber b5cdb03dd8 [DEVENUM_WINETEST]
- Fix return value check for IEnumMoniker_Next. Fixes crash when running the test without renderers installed (as is the case on ROS).
CORE-13421 #resolve

svn path=/trunk/; revision=75030
2017-06-14 06:44:39 +00:00
Robert Naumann 0b9b807d23 [FONTS] Improve the font-substitution for Franklin Gothic Medium to better match the original font. This improves Luna's start button. CORE-12877
svn path=/trunk/; revision=75029
2017-06-13 21:40:41 +00:00
Eric Kohl 7b4db04803 [NTOSKRNL]
NtAccessCheck: Call SePrivilegePolicyCheck to get the list of required privileges and return it to the caller.
This fixes the ERROR_INSUFFICIENT_BUFFER failures in the advapi32 security winetest.

svn path=/trunk/; revision=75028
2017-06-13 20:58:10 +00:00
Thomas Faber 74a68e0f6b [SCHANNEL]
- Apply Wine commit 81861ddd (secur32: Don't change input buffer in InitializeSecurityContext) by Jacek Caban. Fixes crash when running secur32_winetest:schannel
CORE-13425 #resolve

svn path=/trunk/; revision=75027
2017-06-13 20:51:26 +00:00
Giannis Adamopoulos 74cca4dd1e [WIN32K] -Use RtlStringCchCopyW instead of RtlStringCbCopyW in SubstituteFontRecurse as LF_FACESIZE is the number of characters of the buffer. Patch by Katayama Hirofumi MZ. CORE-13419, CORE-13416
svn path=/trunk/; revision=75026
2017-06-13 20:17:07 +00:00
Thomas Faber eb3f29d2ad [WIN32K:NTUSER]
- Fail UserSetClipboardData in case of 0 format, as shown by user32:clipboard test

svn path=/trunk/; revision=75024
2017-06-13 14:11:26 +00:00
Thomas Faber a41482aaa8 [USER32]
- Set last error on success in EnumClipboardFormats, as shown by user32:clipboard test

svn path=/trunk/; revision=75022
2017-06-13 13:40:55 +00:00
Thomas Faber 5e10767ccd [WIN32K:NTUSER]
- Close the clipboard when a thread is destroyed. Fixes 148 user32:clipboard tests
CORE-13414

svn path=/trunk/; revision=75021
2017-06-13 13:27:03 +00:00
Thomas Faber d7fe3588b6 [WIN32K:NTUSER]
- Avoid crash on invalid format in UserEnumClipboardFormats. This is covered by user32_winetest but we currently fail that call before it can crash. The next commit will change that.
CORE-13414

svn path=/trunk/; revision=75020
2017-06-13 13:12:55 +00:00
Thomas Faber 1d4a0a6e30 [NTMARTA]
- Add support for CURRENT_USER trustee in AccpGetTrusteeSid. Fixes crash in advapi32_winetest:security
CORE-13420 #resolve

svn path=/trunk/; revision=75019
2017-06-13 10:10:57 +00:00
Thomas Faber e953073b5f [BOOTDATA]
- Add Print context menu item for .rtf files. Patch by Nikolay Burshtyn.
CORE-13342 #resolve

svn path=/trunk/; revision=75018
2017-06-13 06:45:39 +00:00
Thomas Faber 82284116fa [KMTESTS]
- Add test for hidparse's descriptor parsing
CORE-11538

svn path=/trunk/; revision=75017
2017-06-13 05:48:28 +00:00
James Tabor 4d11c54f65 [GDI32|Metafile]
- Instead of debug breaking, use wine code anyway. Should fix CORE-12911.

svn path=/trunk/; revision=75016
2017-06-12 22:42:45 +00:00
Thomas Faber 07e4b2cd19 [HDAUDBUS]
- Initialize the correct variable in HDA_FDOQueryBusRelations. Should fix random crashes due to uninitialized value use.
CORE-12707 #resolve

svn path=/trunk/; revision=75015
2017-06-12 19:51:29 +00:00
Thomas Faber c524a09a17 [WIN32K:NTUSER]
- Add a hack to avoid doubly freeing a DCE in IntDestroyClass. Since we don't implement W32PF_OWNDCCLEANUP and always free DCEs unconditionally in DceFreeDCE, it is not safe to access the class DCE here (and probably other places) since it could have been deleted by a dying thread.
CORE-13415 #resolve

svn path=/trunk/; revision=75014
2017-06-12 19:37:58 +00:00
Giannis Adamopoulos 40dcceff12 [SHELL32] -Add Comments as the 2nd column in CDesktopFolder, CDrivesFolder and CRegFolder. Add Type as the 3rd column in CRegFolder. This is not entirely correct. Our columns support is rudimentary, however we now show the comments stuff in the right place and the reg folder items have a type.
svn path=/trunk/; revision=75013
2017-06-12 18:38:26 +00:00
Giannis Adamopoulos f6131fb8a9 Fix build.
svn path=/trunk/; revision=75012
2017-06-12 10:11:39 +00:00
Giannis Adamopoulos f8555b75c4 [SHELL32]
- Rename the resource identifiers for column names to make sense. Get rid of one called File. This was renamed to Name but was the same in other languages, now it is replaced by Name for good. We also had two strings for a column called Comments and I think that in some languages one was singular and the other was plural. We only need the plural one. 
Note to translators: Please make sure that everything I changed makes sense. I had to edit all language files and there can be mistakes and typos.

svn path=/trunk/; revision=75011
2017-06-12 10:01:28 +00:00
Pierre Schweitzer 9805c2c7e7 [NTOSKRNL]
Implement SystemExtendedHandleInformation based on SystemHandleInformation.
To be improved...
Passes ntdll_winetest:info.

CORE-13368

svn path=/trunk/; revision=75006
2017-06-11 17:32:56 +00:00
Giannis Adamopoulos 2a0e4e58cf [SHELL32] -CDrivesFolder: Implement returning the appropriate type string in GetDetailsOf. Simplify GetDetailsOf and CDrivesExtractIcon_CreateInstance.
svn path=/trunk/; revision=75005
2017-06-11 14:02:14 +00:00
Mark Jansen 3a302c5330 [APPHELP_APITEST] Addendum to r74986, make the test work on win7. CORE-13284
svn path=/trunk/; revision=75004
2017-06-11 13:09:43 +00:00
Thomas Faber 3d3581bab1 [BUGCODES]
- Add DIRTY_NOWRITE_PAGES_CONGESTION and BUGCODE_USB_DRIVER

svn path=/trunk/; revision=75003
2017-06-11 12:46:15 +00:00
Thomas Faber b8ed811f40 [PSDK]
- Fix C++ version of BM_REQUEST_TYPE without breaking the C version

svn path=/trunk/; revision=75002
2017-06-11 12:26:48 +00:00
Mark Jansen b8ea78efa1 [WIN32NT_APITEST] Do not assert on a driver without DirectX support.
svn path=/trunk/; revision=75001
2017-06-11 11:47:41 +00:00
Thomas Faber 3779212db7 [NTOS:EX]
- Return STATUS_SUCCESS from the SystemExtendedHandleInformation stub to make Process Explorer happy. Fixes infinite loop on AHK bot.

svn path=/trunk/; revision=75000
2017-06-11 11:28:00 +00:00
Mark Jansen 27951d117b [WIN32K] Remove an unneeded check at GreGetDIBitsInternal. Patch by Victor Martinez Calvo. CORE-13413 CID 1411972
svn path=/trunk/; revision=74999
2017-06-11 11:18:57 +00:00