reactos.git
3 years ago[NTOS:IO]
Thomas Faber [Thu, 15 Jun 2017 13:51:09 +0000 (13:51 +0000)]
[NTOS:IO]
- Simplify logic in PipCallDriverAddDevice.
CORE-13336

svn path=/trunk/; revision=75048

3 years ago[NTOS:IO]
Thomas Faber [Thu, 15 Jun 2017 13:33:55 +0000 (13:33 +0000)]
[NTOS:IO]
- Addendum to r75046: add missing header change.
CORE-13336

svn path=/trunk/; revision=75047

3 years ago[NTOS:IO]
Thomas Faber [Thu, 15 Jun 2017 13:25:26 +0000 (13:25 +0000)]
[NTOS:IO]
- Pass Enum subkey handle to IopAttachFilterDrivers, since we've already opened it in PipCallDriverAddDevice.
CORE-13336

svn path=/trunk/; revision=75046

3 years ago[WIN32K:NTUSER]
Thomas Faber [Thu, 15 Jun 2017 12:16:09 +0000 (12:16 +0000)]
[WIN32K:NTUSER]
- Fix clipboard lock check in UserSetClipboardData. Fixes 24 user32:clipboard tests.
CORE-13414 #resolve

svn path=/trunk/; revision=75045

3 years ago[ADVAPI32]
Eric Kohl [Thu, 15 Jun 2017 09:29:22 +0000 (09:29 +0000)]
[ADVAPI32]
OpenServiceA/W: Call SetLastError() in case of success too.

svn path=/trunk/; revision=75044

3 years ago[RTL]
Thomas Faber [Thu, 15 Jun 2017 06:47:42 +0000 (06:47 +0000)]
[RTL]
- Implement RtlIsCriticalSectionLocked and RtlIsCriticalSectionLockedByThread
CORE-13436 #resolve

svn path=/trunk/; revision=75043

3 years ago[NETAPI32]
Eric Kohl [Thu, 15 Jun 2017 00:21:07 +0000 (00:21 +0000)]
[NETAPI32]
Add obsolete NetRepl functions.

svn path=/trunk/; revision=75042

3 years ago[APITEST] Move RedirectIat into it's own header so that it can be used from multiple...
Mark Jansen [Wed, 14 Jun 2017 15:25:04 +0000 (15:25 +0000)]
[APITEST] Move RedirectIat into it's own header so that it can be used from multiple tests.

svn path=/trunk/; revision=75041

3 years ago[NOTEPAD] Fix default font settings. Patch by Katayama Hirofumi MZ. CORE-13037
Mark Jansen [Wed, 14 Jun 2017 14:22:32 +0000 (14:22 +0000)]
[NOTEPAD] Fix default font settings. Patch by Katayama Hirofumi MZ. CORE-13037

svn path=/trunk/; revision=75040

3 years ago[NETAPI32]
Eric Kohl [Wed, 14 Jun 2017 13:44:11 +0000 (13:44 +0000)]
[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

3 years ago[NETAPI32]
Eric Kohl [Wed, 14 Jun 2017 13:10:36 +0000 (13:10 +0000)]
[NETAPI32]
- Add the computer browser service client interface.
- Add binding code for the computer browser service client interface.

svn path=/trunk/; revision=75038

3 years ago[NETAPI32]
Eric Kohl [Wed, 14 Jun 2017 13:06:41 +0000 (13:06 +0000)]
[NETAPI32]
Implement NetEnumerateComputerNames. This function calls its counterpart in the workstation service.

svn path=/trunk/; revision=75037

3 years ago[IDL]
Eric Kohl [Wed, 14 Jun 2017 12:57:52 +0000 (12:57 +0000)]
[IDL]
Add computer browser service interface definition files.

svn path=/trunk/; revision=75035

3 years ago[NETAPI32]
Eric Kohl [Wed, 14 Jun 2017 12:17:08 +0000 (12:17 +0000)]
[NETAPI32]
Move the stubs NetServerEnum and NetServerEnumEx into a new file for the computer browser service interface code.

svn path=/trunk/; revision=75034

3 years ago[NETAPI32]
Eric Kohl [Wed, 14 Jun 2017 11:31:54 +0000 (11:31 +0000)]
[NETAPI32]
Implement NetGetJoinableOUs and NetValidateName. These functions call their counterparts in the workstation service.

svn path=/trunk/; revision=75033

3 years ago[NETAPI32]
Eric Kohl [Wed, 14 Jun 2017 09:50:54 +0000 (09:50 +0000)]
[NETAPI32]
Implement NetAddAlternateComputerName, NetJoinDomain, NetRemoveAlternateComputerName, NetRenameMachineInDomain, NetSetPrimaryComputerName and NetUnjoinDomain. These functions call their counterparts in the workstation service.

svn path=/trunk/; revision=75032

3 years ago[SETUPAPI]
Thomas Faber [Wed, 14 Jun 2017 07:14:44 +0000 (07:14 +0000)]
[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

3 years ago[DEVENUM_WINETEST]
Thomas Faber [Wed, 14 Jun 2017 06:44:39 +0000 (06:44 +0000)]
[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

3 years ago[FONTS] Improve the font-substitution for Franklin Gothic Medium to better match...
Robert Naumann [Tue, 13 Jun 2017 21:40:41 +0000 (21:40 +0000)]
[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

3 years ago[NTOSKRNL]
Eric Kohl [Tue, 13 Jun 2017 20:58:10 +0000 (20:58 +0000)]
[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

3 years ago[SCHANNEL]
Thomas Faber [Tue, 13 Jun 2017 20:51:26 +0000 (20:51 +0000)]
[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

3 years ago[WIN32K] -Use RtlStringCchCopyW instead of RtlStringCbCopyW in SubstituteFontRecurse...
Giannis Adamopoulos [Tue, 13 Jun 2017 20:17:07 +0000 (20:17 +0000)]
[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

3 years ago[WIN32K:NTUSER]
Thomas Faber [Tue, 13 Jun 2017 14:11:26 +0000 (14:11 +0000)]
[WIN32K:NTUSER]
- Fail UserSetClipboardData in case of 0 format, as shown by user32:clipboard test

svn path=/trunk/; revision=75024

3 years ago[USER32]
Thomas Faber [Tue, 13 Jun 2017 13:40:55 +0000 (13:40 +0000)]
[USER32]
- Set last error on success in EnumClipboardFormats, as shown by user32:clipboard test

svn path=/trunk/; revision=75022

3 years ago[WIN32K:NTUSER]
Thomas Faber [Tue, 13 Jun 2017 13:27:03 +0000 (13:27 +0000)]
[WIN32K:NTUSER]
- Close the clipboard when a thread is destroyed. Fixes 148 user32:clipboard tests
CORE-13414

svn path=/trunk/; revision=75021

3 years ago[WIN32K:NTUSER]
Thomas Faber [Tue, 13 Jun 2017 13:12:55 +0000 (13:12 +0000)]
[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

3 years ago[NTMARTA]
Thomas Faber [Tue, 13 Jun 2017 10:10:57 +0000 (10:10 +0000)]
[NTMARTA]
- Add support for CURRENT_USER trustee in AccpGetTrusteeSid. Fixes crash in advapi32_winetest:security
CORE-13420 #resolve

svn path=/trunk/; revision=75019

3 years ago[BOOTDATA]
Thomas Faber [Tue, 13 Jun 2017 06:45:39 +0000 (06:45 +0000)]
[BOOTDATA]
- Add Print context menu item for .rtf files. Patch by Nikolay Burshtyn.
CORE-13342 #resolve

svn path=/trunk/; revision=75018

3 years ago[KMTESTS]
Thomas Faber [Tue, 13 Jun 2017 05:48:28 +0000 (05:48 +0000)]
[KMTESTS]
- Add test for hidparse's descriptor parsing
CORE-11538

svn path=/trunk/; revision=75017

3 years ago[GDI32|Metafile]
James Tabor [Mon, 12 Jun 2017 22:42:45 +0000 (22:42 +0000)]
[GDI32|Metafile]
- Instead of debug breaking, use wine code anyway. Should fix CORE-12911.

svn path=/trunk/; revision=75016

3 years ago[HDAUDBUS]
Thomas Faber [Mon, 12 Jun 2017 19:51:29 +0000 (19:51 +0000)]
[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

3 years ago[WIN32K:NTUSER]
Thomas Faber [Mon, 12 Jun 2017 19:37:58 +0000 (19:37 +0000)]
[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

3 years ago[SHELL32] -Add Comments as the 2nd column in CDesktopFolder, CDrivesFolder and CRegFo...
Giannis Adamopoulos [Mon, 12 Jun 2017 18:38:26 +0000 (18:38 +0000)]
[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

3 years agoFix build.
Giannis Adamopoulos [Mon, 12 Jun 2017 10:11:39 +0000 (10:11 +0000)]
Fix build.

svn path=/trunk/; revision=75012

3 years ago[SHELL32]
Giannis Adamopoulos [Mon, 12 Jun 2017 10:01:28 +0000 (10:01 +0000)]
[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

3 years ago[NTOSKRNL]
Pierre Schweitzer [Sun, 11 Jun 2017 17:32:56 +0000 (17:32 +0000)]
[NTOSKRNL]
Implement SystemExtendedHandleInformation based on SystemHandleInformation.
To be improved...
Passes ntdll_winetest:info.

CORE-13368

svn path=/trunk/; revision=75006

3 years ago[SHELL32] -CDrivesFolder: Implement returning the appropriate type string in GetDetai...
Giannis Adamopoulos [Sun, 11 Jun 2017 14:02:14 +0000 (14:02 +0000)]
[SHELL32] -CDrivesFolder: Implement returning the appropriate type string in GetDetailsOf. Simplify GetDetailsOf and CDrivesExtractIcon_CreateInstance.

svn path=/trunk/; revision=75005

3 years ago[APPHELP_APITEST] Addendum to r74986, make the test work on win7. CORE-13284
Mark Jansen [Sun, 11 Jun 2017 13:09:43 +0000 (13:09 +0000)]
[APPHELP_APITEST] Addendum to r74986, make the test work on win7. CORE-13284

svn path=/trunk/; revision=75004

3 years ago[BUGCODES]
Thomas Faber [Sun, 11 Jun 2017 12:46:15 +0000 (12:46 +0000)]
[BUGCODES]
- Add DIRTY_NOWRITE_PAGES_CONGESTION and BUGCODE_USB_DRIVER

svn path=/trunk/; revision=75003

3 years ago[PSDK]
Thomas Faber [Sun, 11 Jun 2017 12:26:48 +0000 (12:26 +0000)]
[PSDK]
- Fix C++ version of BM_REQUEST_TYPE without breaking the C version

svn path=/trunk/; revision=75002

3 years ago[WIN32NT_APITEST] Do not assert on a driver without DirectX support.
Mark Jansen [Sun, 11 Jun 2017 11:47:41 +0000 (11:47 +0000)]
[WIN32NT_APITEST] Do not assert on a driver without DirectX support.

svn path=/trunk/; revision=75001

3 years ago[NTOS:EX]
Thomas Faber [Sun, 11 Jun 2017 11:28:00 +0000 (11:28 +0000)]
[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

3 years ago[WIN32K] Remove an unneeded check at GreGetDIBitsInternal. Patch by Victor Martinez...
Mark Jansen [Sun, 11 Jun 2017 11:18:57 +0000 (11:18 +0000)]
[WIN32K] Remove an unneeded check at GreGetDIBitsInternal. Patch by Victor Martinez Calvo. CORE-13413 CID 1411972

svn path=/trunk/; revision=74999

3 years ago[COMCTL32_IMAGELIST] Prevent dereferencing a null pointer.
Mark Jansen [Sun, 11 Jun 2017 11:08:32 +0000 (11:08 +0000)]
[COMCTL32_IMAGELIST] Prevent dereferencing a null pointer.

svn path=/trunk/; revision=74998

3 years ago[SHELL32] Do not fail CFSFolder::GetDisplayNameOf with a NULL pidl, preventing anothe...
Mark Jansen [Sun, 11 Jun 2017 10:39:55 +0000 (10:39 +0000)]
[SHELL32] Do not fail CFSFolder::GetDisplayNameOf with a NULL pidl, preventing another crash in shell32:CFSFolder

svn path=/trunk/; revision=74997

3 years ago[WIN32KNT_APITEST] Do not assert on the result of an unimplemented function.
Mark Jansen [Sun, 11 Jun 2017 08:51:36 +0000 (08:51 +0000)]
[WIN32KNT_APITEST] Do not assert on the result of an unimplemented function.

svn path=/trunk/; revision=74996

3 years ago[SHELL32] Don't try to follow a null pointer inside CFSDropTarget, this fixes a crash...
Mark Jansen [Sun, 11 Jun 2017 08:38:16 +0000 (08:38 +0000)]
[SHELL32] Don't try to follow a null pointer inside CFSDropTarget, this fixes a crash in shell32:CFSFolder

svn path=/trunk/; revision=74995

3 years ago[SHELL32] Expose IID_CDefView in our CDefView implementation, this fixes a crash...
Mark Jansen [Sun, 11 Jun 2017 08:37:03 +0000 (08:37 +0000)]
[SHELL32] Expose IID_CDefView in our CDefView implementation, this fixes a crash on shell32:shlview

svn path=/trunk/; revision=74994

3 years ago[WIN32K:NTUSER]
Thomas Faber [Sun, 11 Jun 2017 08:33:36 +0000 (08:33 +0000)]
[WIN32K:NTUSER]
Fix pool use after free during user32:clipboard:
- Rename IntIsFormatAvailable to IntGetFormatElement to better reflect what it does
- Introduce a new IntIsFormatAvailable that actually returns BOOL as implied by the name
- In IntAddSynthesizedFormats, call IntGetFormatElement right before its data is actually used, since IntAddFormatedData will invalidate the element pointer.
Thanks to Kamil for the initial investigation on this.
CORE-13408 #resolve

svn path=/trunk/; revision=74993

3 years ago[WS2_32]
Pierre Schweitzer [Sun, 11 Jun 2017 07:56:18 +0000 (07:56 +0000)]
[WS2_32]
Don't pass a null ptr at MSAFD to avoid dereference.
Fixes crash in ws2_32:sock

svn path=/trunk/; revision=74992

3 years ago[WIN32K:NTUSER]
Thomas Faber [Sun, 11 Jun 2017 06:53:28 +0000 (06:53 +0000)]
[WIN32K:NTUSER]
- Initialize BITMAPINFOHEADER::biSize before calling GreGetDIBitsInternal in IntSynthesizeDib. Fixes use of uninitialized memory and subsequent stack buffer overflow.
CORE-13408

svn path=/trunk/; revision=74991

3 years ago[WIN32K:NTUSER]
Thomas Faber [Sun, 11 Jun 2017 06:05:42 +0000 (06:05 +0000)]
[WIN32K:NTUSER]
- Include the CLIPBOARDDATA structure itself when calculating the size passed to UserCreateObject in IntSynthesizeDib. Fixes user heap corruption when running user32_winetest:clipboard.
CORE-13408

svn path=/trunk/; revision=74990

3 years ago[RDBSS]
Pierre Schweitzer [Sat, 10 Jun 2017 20:58:22 +0000 (20:58 +0000)]
[RDBSS]
Cosmetic fix

CID 14119681411969

svn path=/trunk/; revision=74989

3 years ago[RDBSS]
Pierre Schweitzer [Sat, 10 Jun 2017 20:46:28 +0000 (20:46 +0000)]
[RDBSS]
Fix reading parameters from registry

CID 1411973

svn path=/trunk/; revision=74987

3 years ago[APPHELP_APITEST] Add tests for ApphelpCheckRunApp[Ex], SdbGetMatchingExe, Sdb[Un...
Mark Jansen [Sat, 10 Jun 2017 20:31:58 +0000 (20:31 +0000)]
[APPHELP_APITEST] Add tests for ApphelpCheckRunApp[Ex], SdbGetMatchingExe, Sdb[Un]PackAppCompatData. CORE-13284

svn path=/trunk/; revision=74986

3 years ago[RXCE]
Pierre Schweitzer [Sat, 10 Jun 2017 20:28:25 +0000 (20:28 +0000)]
[RXCE]
Misc. fixes.

CID 141191814119291411919

svn path=/trunk/; revision=74985

3 years ago[SHLWAPI_APITEST] Add PathFindOnPath tests. Patch by Katayama Hirofumi MZ. ROSTESTS...
Mark Jansen [Sat, 10 Jun 2017 19:41:31 +0000 (19:41 +0000)]
[SHLWAPI_APITEST] Add PathFindOnPath tests. Patch by Katayama Hirofumi MZ. ROSTESTS-283 #comment Thanks!

svn path=/trunk/; revision=74984

3 years agoAddendum to r74982, remove some debugging code.
Mark Jansen [Sat, 10 Jun 2017 17:47:56 +0000 (17:47 +0000)]
Addendum to r74982, remove some debugging code.

svn path=/trunk/; revision=74983

3 years ago[SHELL32_APITEST] Add tests for PathResolve. Patch by Katayama Hirofumi MZ. CORE...
Mark Jansen [Sat, 10 Jun 2017 17:46:11 +0000 (17:46 +0000)]
[SHELL32_APITEST] Add tests for PathResolve. Patch by Katayama Hirofumi MZ. CORE-12665 #comment Thanks!

svn path=/trunk/; revision=74982

3 years ago[SCHEDSVC]
Eric Kohl [Sat, 10 Jun 2017 10:51:49 +0000 (10:51 +0000)]
[SCHEDSVC]
Add a loop at the end of SchedServiceMain that will run until a stop event is signaled. This loop will be used to run the schduled jobs.

svn path=/trunk/; revision=74981

3 years ago[NTOS:EX]
Thomas Faber [Sat, 10 Jun 2017 07:59:50 +0000 (07:59 +0000)]
[NTOS:EX]
- Stub NtQuerySystemInformation:SystemExtendedHandleInformation. Avoids crashes in the upcoming ntdll_winetest sync.
CORE-13368 #resolve

svn path=/trunk/; revision=74980

3 years ago[UDFS]
Pierre Schweitzer [Sat, 10 Jun 2017 05:45:26 +0000 (05:45 +0000)]
[UDFS]
Fix UDFS volume size computation.
Note that side effect of this is that free space computation is broken;
due to larger bitmap walk. To be fixed...

CORE-4375
CORE-13366

svn path=/trunk/; revision=74979

3 years ago[PSDK] Add some missing definitions.
Amine Khaldi [Fri, 9 Jun 2017 23:13:23 +0000 (23:13 +0000)]
[PSDK] Add some missing definitions.

svn path=/trunk/; revision=74978

3 years ago[WIN32K:NTUSER]
Thomas Faber [Fri, 9 Jun 2017 21:36:15 +0000 (21:36 +0000)]
[WIN32K:NTUSER]
- Fix fmt range check in NtUserGetClipboardFormatName (see Wine commit 4bdcf512). Fixes new test failures (and resulting debug spam) in user32_winetest:clipboard
CORE-13402 #resolve

svn path=/trunk/; revision=74977

3 years ago[CALC] Explicitly link against comctl32. Patch by Carlo Bramini. CORE-10727
Mark Jansen [Fri, 9 Jun 2017 18:21:54 +0000 (18:21 +0000)]
[CALC] Explicitly link against comctl32. Patch by Carlo Bramini. CORE-10727

svn path=/trunk/; revision=74976

3 years ago[USER32_WINETEST]
Thomas Faber [Fri, 9 Jun 2017 14:08:50 +0000 (14:08 +0000)]
[USER32_WINETEST]
- Hackfix crash in user32:clipboard test due to NULL pointer returned from GetClipboardData.

svn path=/trunk/; revision=74974

3 years ago[GDI32]
Thomas Faber [Fri, 9 Jun 2017 11:14:11 +0000 (11:14 +0000)]
[GDI32]
- Check for lpResults == NULL in GetCharacterPlacementA. Patch by Doug Lyons. Fixes crash in gdi32_winetest:font
CORE-13401 #resolve

svn path=/trunk/; revision=74973

3 years ago[EXPLORER] -Use WM_POPUPSYSTEMMENU to open the system menu of a window. CORE-13400
Giannis Adamopoulos [Fri, 9 Jun 2017 09:16:44 +0000 (09:16 +0000)]
[EXPLORER] -Use WM_POPUPSYSTEMMENU to open the system menu of a window. CORE-13400

svn path=/trunk/; revision=74972

3 years ago[EXPLORER] -Fix the return value in HandleShellHookMsg. Suggestion by Christoph.
Giannis Adamopoulos [Fri, 9 Jun 2017 08:29:04 +0000 (08:29 +0000)]
[EXPLORER] -Fix the return value in HandleShellHookMsg. Suggestion by Christoph.

svn path=/trunk/; revision=74971

3 years ago[NTOS:MM] Do not queue debugger events after notifying process exit. CORE-13393
Mark Jansen [Thu, 8 Jun 2017 20:34:47 +0000 (20:34 +0000)]
[NTOS:MM] Do not queue debugger events after notifying process exit. CORE-13393
Patch suggested by Thomas.

svn path=/trunk/; revision=74969

3 years ago[EXPLORER] -Revert a hack from r63304 that caused CORE-13388. This hid another bug...
Giannis Adamopoulos [Thu, 8 Jun 2017 20:31:49 +0000 (20:31 +0000)]
[EXPLORER] -Revert a hack from r63304 that caused CORE-13388. This hid another bug and the correct way to fix this is to return MA_NOACTIVATE to WM_MOUSEACTIVATE.

svn path=/trunk/; revision=74968

3 years ago[KMTESTS:MM]
Pierre Schweitzer [Thu, 8 Jun 2017 20:16:34 +0000 (20:16 +0000)]
[KMTESTS:MM]
When testing noncached mapping, use MmAllocateNonCachedMemory() as suggested by Thomas to avoid later potential failures

svn path=/trunk/; revision=74967

3 years ago[GDI32_APITEST]: Fix the "missing braces around initializer" GCC error that I've...
Hermès Bélusca-Maïto [Thu, 8 Jun 2017 19:09:01 +0000 (19:09 +0000)]
[GDI32_APITEST]: Fix the "missing braces around initializer" GCC error that I've introduced in r74962.

svn path=/trunk/; revision=74966

3 years ago[EXPLORER] -Open the start menu on mouse down. Patch by Joachim Henze (reactosfanboy...
Giannis Adamopoulos [Thu, 8 Jun 2017 18:57:53 +0000 (18:57 +0000)]
[EXPLORER] -Open the start menu on mouse down. Patch by Joachim Henze (reactosfanboy). CORE-13375

svn path=/trunk/; revision=74965

3 years ago[ADVAPI32_WINETEST]: Fix compilation with MSVC 2010 (guarded via __REACTOS__).
Hermès Bélusca-Maïto [Thu, 8 Jun 2017 17:04:24 +0000 (17:04 +0000)]
[ADVAPI32_WINETEST]: Fix compilation with MSVC 2010 (guarded via __REACTOS__).

svn path=/trunk/; revision=74963

3 years ago[GDI32_APITEST]: Fix compilation under MSVC 2010.
Hermès Bélusca-Maïto [Thu, 8 Jun 2017 17:00:55 +0000 (17:00 +0000)]
[GDI32_APITEST]: Fix compilation under MSVC 2010.

svn path=/trunk/; revision=74962

3 years ago[UXTHEME] -Implement support for non rectangular caption buttons in WM_NCHITTEST...
Giannis Adamopoulos [Thu, 8 Jun 2017 14:27:52 +0000 (14:27 +0000)]
[UXTHEME] -Implement support for non rectangular caption buttons in WM_NCHITTEST handling. Please note that non rectangular buttons or buttons with no gaps between them are HACKY for XP so hittesting will never work properly (we really mimic windows xp here). Cache the position of caption buttons in the WINDOWINFO. CORE-13171

svn path=/trunk/; revision=74960

3 years ago[NETAPI32]
Eric Kohl [Thu, 8 Jun 2017 09:34:31 +0000 (09:34 +0000)]
[NETAPI32]
Add obsolete NetErrorLog and NetService functions.

svn path=/trunk/; revision=74958

3 years ago[NETAPI32]
Eric Kohl [Thu, 8 Jun 2017 08:41:28 +0000 (08:41 +0000)]
[NETAPI32]
Add obsolete NetAudit and NetConfig functions.

svn path=/trunk/; revision=74957

3 years ago[PSDK]
Eric Kohl [Thu, 8 Jun 2017 08:37:59 +0000 (08:37 +0000)]
[PSDK]
Fix NetAuditRead and NetAuditWrite prototypes (LPTSTR->LPCWSTR).

svn path=/trunk/; revision=74956

3 years ago[KMTESTS:MM]
Pierre Schweitzer [Thu, 8 Jun 2017 06:44:48 +0000 (06:44 +0000)]
[KMTESTS:MM]
Make MmMapLockedPagesSpecifyCache a bit more robust. Based on Thomas' suggestions

svn path=/trunk/; revision=74955

3 years ago[NETAPI32]
Eric Kohl [Thu, 8 Jun 2017 00:30:49 +0000 (00:30 +0000)]
[NETAPI32]
Add obsolete NetAlert and NetMessage functions.

svn path=/trunk/; revision=74950

3 years ago[NETAPI32]
Eric Kohl [Wed, 7 Jun 2017 23:35:09 +0000 (23:35 +0000)]
[NETAPI32]
Implement NetServerTransportAdd, NetServerTransportAddEx, NetServerTransportDel and NetServertransportEnum. These functions call their counterparts in the server service.

svn path=/trunk/; revision=74949

3 years ago[NETAPI32]
Eric Kohl [Wed, 7 Jun 2017 22:27:34 +0000 (22:27 +0000)]
[NETAPI32]
- Implement NetServerDiskEnum, NetServerGetInfo and NetServerSetInfo. These functions call their counterparts in the server service.
- The new NetServerGetInfo function is disabled because its server side (NetrServerGetInfo) must be implemented before we can replace the Wine implemenation without loss of functionality.

svn path=/trunk/; revision=74948

3 years ago[KERNEL32_WINETEST] Kill process that hangs on an unimplemented feature.
Mark Jansen [Wed, 7 Jun 2017 20:40:42 +0000 (20:40 +0000)]
[KERNEL32_WINETEST] Kill process that hangs on an unimplemented feature.

svn path=/trunk/; revision=74947

3 years ago[NTOS:DBGK]
Thomas Faber [Wed, 7 Jun 2017 20:23:53 +0000 (20:23 +0000)]
[NTOS:DBGK]
- Add SEH in DbgkpPostFakeModuleMessages. Fixes crash in ntdll_winetest:info when trying to debug another process that was started suspended.
CORE-13369 #resolve

svn path=/trunk/; revision=74946

3 years ago[UDFS]
Pierre Schweitzer [Wed, 7 Jun 2017 19:33:55 +0000 (19:33 +0000)]
[UDFS]
Set the volume label with the logical volume ident contained in the file set descriptor.
Microsoft appears to do so, so mimic this behavior to have consistent volumes labels with Windows.

CORE-4375

svn path=/trunk/; revision=74945

3 years ago[SCHEDSVC]
Eric Kohl [Wed, 7 Jun 2017 17:45:05 +0000 (17:45 +0000)]
[SCHEDSVC]
Avoid JOBs overrunning in LoadJobs().
- Define JOB_NAME_LENGTH and use it instead of hardcoded values.
Based on a patch by Victor Martinez Calvo.
CORE-13389

svn path=/trunk/; revision=74944

3 years ago[INTL]
Eric Kohl [Wed, 7 Jun 2017 15:55:16 +0000 (15:55 +0000)]
[INTL]
- Fix a potential overflow and uninitialized variable in InitNegNumFmtCB().
- Get rid of the now useless string buffer szNewSample.
Based on a patch by Victor Martinez Calvo.
CORE-13384

svn path=/trunk/; revision=74942

3 years ago[INTL]
Eric Kohl [Wed, 7 Jun 2017 14:10:43 +0000 (14:10 +0000)]
[INTL]
Fix freeing logic in GetSupportedCP().
Patch by Victor Martinez Calvo.
CORE-13385

svn path=/trunk/; revision=74941

3 years ago[INTL]
Eric Kohl [Wed, 7 Jun 2017 13:48:49 +0000 (13:48 +0000)]
[INTL]
Fix GetDateSetting() overruns.
Patch by Victor Martinez Calvo.
CORE-13387

svn path=/trunk/; revision=74940

3 years ago[INTL]
Eric Kohl [Wed, 7 Jun 2017 13:43:33 +0000 (13:43 +0000)]
[INTL]
Fix overruns in GetTimeSetting().
Patch by Victor Martinez Calvo.
CORE-13386

svn path=/trunk/; revision=74939

3 years ago[INTL]
Eric Kohl [Wed, 7 Jun 2017 13:37:43 +0000 (13:37 +0000)]
[INTL]
Prevent wcsncopy overflows in GetCurrencySettings().
Patch by Victor Martinez Calvo.
CORE-13379

svn path=/trunk/; revision=74938

3 years ago[MSPAINT]
Benedikt Freisen [Wed, 7 Jun 2017 10:12:05 +0000 (10:12 +0000)]
[MSPAINT]
- fix incorrect file extension management -- patch by Katayama Hirofumi MZ

CORE-12354 #resolve

svn path=/trunk/; revision=74937

3 years ago[MSPAINT]
Benedikt Freisen [Wed, 7 Jun 2017 10:00:04 +0000 (10:00 +0000)]
[MSPAINT]
- fix incorrect image resizing -- patch by Katayama Hirofumi MZ

CORE-10719 #resolve

svn path=/trunk/; revision=74936

3 years ago[UXTHEME] -Fix parsing font styles like bold or italic.
Giannis Adamopoulos [Wed, 7 Jun 2017 08:35:35 +0000 (08:35 +0000)]
[UXTHEME] -Fix parsing font styles like bold or italic.

svn path=/trunk/; revision=74935

3 years ago[UXTHEME] -Rename ActiveThemeFile to g_ActiveThemeFile, user32ApiHook to g_user32ApiH...
Giannis Adamopoulos [Wed, 7 Jun 2017 08:28:14 +0000 (08:28 +0000)]
[UXTHEME] -Rename ActiveThemeFile to g_ActiveThemeFile, user32ApiHook to g_user32ApiHook and gbThemeHooksActive to g_bThemeHooksActive.

svn path=/trunk/; revision=74934

3 years ago[COMCTL32] -Fix a lot of tests for the v5 toolbar without braking the behavior of...
Giannis Adamopoulos [Tue, 6 Jun 2017 12:19:17 +0000 (12:19 +0000)]
[COMCTL32] -Fix a lot of tests for the v5 toolbar without braking the behavior of the v6 one (that needs to be tested).

svn path=/trunk/; revision=74931

3 years ago[EXPLORER]: Fix what appears to be a copy-pasta error: use the correct window class...
Hermès Bélusca-Maïto [Mon, 5 Jun 2017 22:01:09 +0000 (22:01 +0000)]
[EXPLORER]: Fix what appears to be a copy-pasta error: use the correct window class names in the corresponding message maps. Validated by Giannis Adamopoulos.

svn path=/trunk/; revision=74930

3 years ago[COMCTL32_APITEST] -Make comctl32v5.manifest really point to the v5 library.
Giannis Adamopoulos [Mon, 5 Jun 2017 21:50:21 +0000 (21:50 +0000)]
[COMCTL32_APITEST] -Make comctl32v5.manifest really point to the v5 library.

svn path=/trunk/; revision=74929