Commit graph

69129 commits

Author SHA1 Message Date
Giannis Adamopoulos 040ae7635a [SHELL32] -CMenuBand: forward WM_WININICHANGE to CMenuToolbarBase so that when themes get enabled, the menu bar in explorer becomes flat immediately.
svn path=/trunk/; revision=75072
2017-06-17 07:43:52 +00:00
Giannis Adamopoulos 5a105b3163 [BROWSEUI]
- CShellBrowser: Propagate WM_WININICHANGE to all immediate children.
- CInternetToolbar: Forward WM_WININICHANGE to the menu band to make aware that the flat menus option changed.

svn path=/trunk/; revision=75071
2017-06-17 07:28:35 +00:00
Hermès Bélusca-Maïto d56490d24a [NTOS]: Employ the simple CMP_ASSERT_KCB_LOCK() macro to perform these asserts.
svn path=/trunk/; revision=75070
2017-06-17 01:22:17 +00:00
Hermès Bélusca-Maïto 0c258ecde0 [NTOS]: Whitespace fixes only.
svn path=/trunk/; revision=75069
2017-06-17 01:21:21 +00:00
James Tabor 6f9aac412d [User32]
- Based on patch by Nikolay Sivov : Fix static control id. Fixes dialog tests, see CORE-13362.

svn path=/trunk/; revision=75068
2017-06-16 22:49:36 +00:00
James Tabor 5d4aa30793 [User32]
- Skip desktop for positive index. See CORE-13362.

svn path=/trunk/; revision=75067
2017-06-16 22:44:21 +00:00
Hermès Bélusca-Maïto 3112a6b342 [NTOS]: Fix a bit the CmUnloadKey() function:
- When a hive is unloaded, we *must* set the HIVE_IS_UNLOADING flag before doing anything else (as other code in Cm depends on this);
- If we don't force a hive unload, we *must* check whether there are other opened handles to keys inside this hive, and if so, we must fail.
  If this is a force-unload however, we *must* invalidate/close all the opened handles to keys inside this hive, BUT this is left UNIMPLEMENTED at the moment (and therefore expect the already existing problems linked to this to still happen).
- Move the HvFree(Hive); call at the very end, just before deleting the Cm hive, and as is done in CmpDestroyHive().

svn path=/trunk/; revision=75066
2017-06-16 21:06:04 +00:00
Hermès Bélusca-Maïto 3c50fb3900 [NTOS]: Reorder the destruction code in CmpDestroyHive() to make it similar to the one in CmUnloadKey(). Same remark for a comment in NtUnloadKey2() too.
svn path=/trunk/; revision=75065
2017-06-16 21:02:27 +00:00
Hermès Bélusca-Maïto 4d90c65d54 [NTOS]: Few improvements:
- Remove few unneeded PCMHIVE "backwards"-casts, and in particular the 1st parameter of CmpUnlinkHiveFromMaster().
- Improve the dprints in CmCountOpenSubKeys().

svn path=/trunk/; revision=75064
2017-06-16 20:59:15 +00:00
Hermès Bélusca-Maïto 89d7d06790 [NTOS]: Remove trailing whitespace ; Use a correct pool tag in the CmpFree() call in CmpFreeDelayItem().
svn path=/trunk/; revision=75063
2017-06-16 20:44:51 +00:00
Amine Khaldi 098839afec [USBPORT] Bring-in the usbport driver created by Vadim Galyant. CR-111 GitHub PR #27. This is the first module out of many to come, so stay tuned! Many thanks to everyone involved in the code review. Very special thanks for Thomas as his help, insight and reviews helped tremendously.
svn path=/trunk/; revision=75062
2017-06-16 19:20:03 +00:00
Amine Khaldi 4b0ee92f91 [D3D8][D3D9][DDRAW][WINED3D] Sync with Wine Staging 2.9. This work couldn't have been committed without Sebastian Gasiorek's work on CORE-11331 so thanks again! Dedicated to Daniel. CORE-13362
svn path=/trunk/; revision=75061
2017-06-16 18:50:42 +00:00
Amine Khaldi 0cc09fc848 [PSDK] Update D3DCOLOR_ARGB and D3DQUERYTYPE. [DXSDK] Add missing D3DDEVICEDESC1, D3DDEVICEDESC2, D3DFINDDEVICERESULT1 and D3DFINDDEVICERESULT2.
svn path=/trunk/; revision=75060
2017-06-16 18:40:31 +00:00
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
Shriraj Sawant 96612d92b8 {QCKLNCH]
-Successfully added CISFBand to CQuickLaunchBand.
-Forwarded methods exported by CISFBand to CQuickLaunchBand.

svn path=/branches/GSoC_2017/shellext/; revision=75050
2017-06-15 17:07:22 +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
Shriraj Sawant abfd95f82e [QCKLNCH]
-Tested CISFband in FinalConstruct.
-Performed Clean up on whitespace issues.

svn path=/branches/GSoC_2017/shellext/; revision=75036
2017-06-14 12:58:12 +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
Giannis Adamopoulos a34b262695 [PSDK] -Add IShellFolderBand and IFolderBandPriv interfaces.
svn path=/branches/GSoC_2017/shellext/; revision=75025
2017-06-13 15:00:50 +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
Giannis Adamopoulos e53d4a63ce [PSDK] -Add CLSID_ISFBand, IID_IShellFolderBand and IID_IFolderBandPriv.
svn path=/branches/GSoC_2017/shellext/; revision=75023
2017-06-13 13:56:11 +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