reactos.git
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

3 years ago[NTDLL_VISTA]
Thomas Faber [Mon, 5 Jun 2017 21:37:13 +0000 (21:37 +0000)]
[NTDLL_VISTA]
- Avoid importing from kernel32. We're supposed to be... ntdll
CORE-13361

svn path=/trunk/; revision=74928

3 years ago[WINETESTS] Avoid canceling the test when Samba is not installed and NTLM authenticat...
Peter Hater [Mon, 5 Jun 2017 19:27:50 +0000 (19:27 +0000)]
[WINETESTS] Avoid canceling the test when Samba is not installed and NTLM authentication is tested

svn path=/trunk/; revision=74927

3 years ago[UDFS]
Pierre Schweitzer [Mon, 5 Jun 2017 16:02:47 +0000 (16:02 +0000)]
[UDFS]
Only use unused var warnings. Patch by Thomas.

CORE-4375

svn path=/trunk/; revision=74926

3 years ago[UDFS]
Pierre Schweitzer [Mon, 5 Jun 2017 15:54:51 +0000 (15:54 +0000)]
[UDFS]
Misc fixes by Thomas.

CORE-4375

svn path=/trunk/; revision=74925

3 years agoFix gcc build.
Giannis Adamopoulos [Mon, 5 Jun 2017 14:40:48 +0000 (14:40 +0000)]
Fix gcc build.

svn path=/trunk/; revision=74924

3 years ago[COMCTL32_APITEST] -Add tests for CCM_GETVERSION and CCM_SETVERSION for the v5 and...
Giannis Adamopoulos [Mon, 5 Jun 2017 14:25:37 +0000 (14:25 +0000)]
[COMCTL32_APITEST] -Add tests for CCM_GETVERSION and CCM_SETVERSION for the v5 and v6 toolbar control.

svn path=/trunk/; revision=74923

3 years ago[COMCTL32] -Differentiate between v5 and v6 toolbar and make their CCM_SETVERSION...
Giannis Adamopoulos [Mon, 5 Jun 2017 14:23:42 +0000 (14:23 +0000)]
[COMCTL32] -Differentiate between v5 and v6 toolbar and make their CCM_SETVERSION behave correct according to their version.

svn path=/trunk/; revision=74922

3 years ago[UDFS]
Pierre Schweitzer [Mon, 5 Jun 2017 13:00:58 +0000 (13:00 +0000)]
[UDFS]
Misc coverity fixes.
CID 14120111321904132200813221511321905

CORE-4375

svn path=/trunk/; revision=74921

3 years ago[UDFS]
Pierre Schweitzer [Sun, 4 Jun 2017 19:17:10 +0000 (19:17 +0000)]
[UDFS]
Complete the implementation of UDFGetNetworkInformation() so that it sets all the fields.
This fixes displaying file size in explorer.

CORE-4375
CORE-13366

svn path=/trunk/; revision=74919

3 years ago[i8042prt]: Yet another hack for Dell trackpad, but this time, we inaugurate the...
Hermès Bélusca-Maïto [Sun, 4 Jun 2017 18:24:05 +0000 (18:24 +0000)]
[i8042prt]: Yet another hack for Dell trackpad, but this time, we inaugurate the Inspiron series with a Dell Inspiron 6000 hack!! x^( Something's fishy in our driver...
Tested and confirmed working by Jared Smudde.
CORE-6901

svn path=/trunk/; revision=74918

3 years ago[PSDK]: Remove a couple of redundant #defines that are already defined in this regstr...
Hermès Bélusca-Maïto [Sun, 4 Jun 2017 18:19:55 +0000 (18:19 +0000)]
[PSDK]: Remove a couple of redundant #defines that are already defined in this regstr.h file.

svn path=/trunk/; revision=74917

3 years ago[SETUPAPI]: Fix a 9-year old bug in the SETUP_CreateClassKey() logic, introduced...
Hermès Bélusca-Maïto [Sun, 4 Jun 2017 18:16:24 +0000 (18:16 +0000)]
[SETUPAPI]: Fix a 9-year old bug in the SETUP_CreateClassKey() logic, introduced in r31860, that set a wrong Class name value if the corresponding registry key already existed. The bug was unveiled by my commit r74761.
[SETUPAPI_APITEST]: When selecting another test_class_guid and test_class_name couple via SetupDiClassNameFromGuidA(), check whether this function actually succeeds. Also, improve some error output.

svn path=/trunk/; revision=74916

3 years ago[UDFS]
Pierre Schweitzer [Sun, 4 Jun 2017 16:59:25 +0000 (16:59 +0000)]
[UDFS]
Fix broken implementation of UDFGetFullNameInformation().
Always return full name length so that caller can allocate a big-enough buffer for later call.

CORE-4375

svn path=/trunk/; revision=74914

3 years ago[NETAPI32]
Eric Kohl [Sun, 4 Jun 2017 15:46:29 +0000 (15:46 +0000)]
[NETAPI32]
- Implement NetFileClose, NetFileEnum and NetFileGetInfo. These functions call their counterparts in the server service.
- Get rid of share.c as it is no longer needed.

svn path=/trunk/; revision=74913

3 years ago[README.WINE] Mark some modules as synced with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sun, 4 Jun 2017 15:19:05 +0000 (15:19 +0000)]
[README.WINE] Mark some modules as synced with Wine Staging 2.9. CORE-13362

svn path=/trunk/; revision=74912

3 years ago[ADVAPI32_WINETEST] Sync with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sun, 4 Jun 2017 14:57:35 +0000 (14:57 +0000)]
[ADVAPI32_WINETEST] Sync with Wine Staging 2.9. CORE-13362

svn path=/trunk/; revision=74911

3 years ago[NETAPI32]
Eric Kohl [Sun, 4 Jun 2017 14:34:27 +0000 (14:34 +0000)]
[NETAPI32]
- Implement NetSessionDel, NetSessionEnum and NetSessionGetInfo. These functions call their counterparts in the server service.

svn path=/trunk/; revision=74910

3 years ago[USER32_WINETEST] Sync with Wine Staging 2.9 except win.c. CORE-13362
Amine Khaldi [Sun, 4 Jun 2017 14:34:15 +0000 (14:34 +0000)]
[USER32_WINETEST] Sync with Wine Staging 2.9 except win.c. CORE-13362

svn path=/trunk/; revision=74909

3 years ago[KERNEL32_WINETEST] Sync with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sun, 4 Jun 2017 14:29:15 +0000 (14:29 +0000)]
[KERNEL32_WINETEST] Sync with Wine Staging 2.9. CORE-13362

svn path=/trunk/; revision=74908

3 years ago[PSDK] Add some missing PROC_THREAD_ATTRIBUTE_* definitions.
Amine Khaldi [Sun, 4 Jun 2017 14:27:51 +0000 (14:27 +0000)]
[PSDK] Add some missing PROC_THREAD_ATTRIBUTE_* definitions.

svn path=/trunk/; revision=74907

3 years ago[WIN32SS] Prevent accessing an unininitialized pointer when loading an invalid font...
Mark Jansen [Sun, 4 Jun 2017 14:03:25 +0000 (14:03 +0000)]
[WIN32SS] Prevent accessing an unininitialized pointer when loading an invalid font. CORE-13364

svn path=/trunk/; revision=74906