reactos.git
2 years ago[FREELDR] Don't insert a driver into the BootDriver list twice (#755)
Timo Kreuzer [Sat, 18 Aug 2018 14:41:30 +0000 (16:41 +0200)]
[FREELDR] Don't insert a driver into the BootDriver list twice (#755)

This happened for the livecd, where the cdfs driver was inserted twice - once since it is the driver for the boot device, and the 2nd time, because it was specified in the registry - which was then initialized twice by the kernel, leading to a name conflict when trying to create another device object, which resulted in the newly created device object to be dereferenced again and the driver unloaded. This can be seen from the debug message "(ntoskrnl\mm\ARM3\sysldr.c:955) Leaking driver: cdfs.sys"

2 years ago[WLNOTIFY] Add SCard, Termsrv and Wlballon notifications and remove the test notifica...
Eric Kohl [Sat, 18 Aug 2018 14:14:09 +0000 (16:14 +0200)]
[WLNOTIFY] Add SCard, Termsrv and Wlballon notifications and remove the test notifications

2 years ago[NETSHELL] Fix the too long texts
Katayama Hirofumi MZ [Sat, 18 Aug 2018 02:11:31 +0000 (11:11 +0900)]
[NETSHELL] Fix the too long texts

2 years ago[FREELDR] Fix calculation of page lookup table (#761)
Timo Kreuzer [Sat, 18 Aug 2018 10:16:33 +0000 (12:16 +0200)]
[FREELDR] Fix calculation of page lookup table (#761)

On x64 we only map 1GB of pages, so adjust MM_MAX_PAGE accordingly and also respect that value when searching for the best location of the page lookup table.
CORE-11048 #resolve

2 years ago[USER32] Fix copying from WNDCLASS to WNDCLASSEX
Timo Kreuzer [Fri, 17 Aug 2018 12:50:22 +0000 (14:50 +0200)]
[USER32] Fix copying from WNDCLASS to WNDCLASSEX
This must be done field by field, since the alignment of the structures is different on _WIN64

2 years ago[NTOS:PS] Fix an issue with PROCESS_DEVICEMAP_INFORMATION size on 64 bit builds
Timo Kreuzer [Sat, 10 Feb 2018 22:57:27 +0000 (23:57 +0100)]
[NTOS:PS] Fix an issue with PROCESS_DEVICEMAP_INFORMATION  size on 64 bit builds

The PROCESS_DEVICEMAP_INFORMATION  union has 2 fields, one is a handle, the other one is a structure of 36 bytes (independent of architecture). The handle forces 64 bit alignment on 64 bit builds, making the structure 4 bytes bigger than on 32 bit builds. The site is checked in NtQueryInformationProcess (case ProcessDeviceMap). The expected size on x64 is the size of the Query structure without alignment. autocheck correctly passes the site of the Query union member, while smss passes the full size of PROCESS_DEVICEMAP_INFORMATION. Packing the structure is not an option, since it is defined in public headers without packing. Using the original headers sizeof(PROCESS_DEVICEMAP_INFORMATION) is 0x28, sizeof(PROCESS_DEVICEMAP_INFORMATION::Query) is 0x24.

2 years ago[USER32] Implement support for the MB_SERVICE_NOTIFICATION flag in the MessageBox...
Hermès Bélusca-Maïto [Fri, 17 Aug 2018 19:49:16 +0000 (21:49 +0200)]
[USER32] Implement support for the MB_SERVICE_NOTIFICATION flag in the MessageBox*() APIs.

2 years ago[ROSTESTS] Add a test for the MB_SERVICE_NOTIFICATION flag of the MessageBox*() APIs.
Hermès Bélusca-Maïto [Fri, 17 Aug 2018 19:46:50 +0000 (21:46 +0200)]
[ROSTESTS] Add a test for the MB_SERVICE_NOTIFICATION flag of the MessageBox*() APIs.

2 years ago[ROSTESTS] Rename the "softmodalmsgbox" test to "messagebox".
Hermès Bélusca-Maïto [Fri, 17 Aug 2018 19:44:44 +0000 (21:44 +0200)]
[ROSTESTS] Rename the "softmodalmsgbox" test to "messagebox".

2 years ago[NTOS:OB] Rename object types to their official names to satisfy WinDbg
Timo Kreuzer [Tue, 13 Feb 2018 20:33:04 +0000 (21:33 +0100)]
[NTOS:OB] Rename object types to their official names to satisfy WinDbg

- Rename ObDirectoryType to ObpDirectoryObjectType and remove it from NDK (this is not exported!)
- Rename ObSymbolicLinkType to ObpSymbolicLinkObjectType
- Remove duplicated ObpTypeObjectType from ob.h

2 years ago[NTOSKRNL] Properly initialize the IO_STATUS_BLOCK
Pierre Schweitzer [Fri, 17 Aug 2018 17:12:30 +0000 (19:12 +0200)]
[NTOSKRNL] Properly initialize the IO_STATUS_BLOCK

2 years ago[SHELL32] Translation de-DE CORE-14916
Joachim Henze [Fri, 17 Aug 2018 16:07:35 +0000 (18:07 +0200)]
[SHELL32] Translation de-DE CORE-14916

fix control overlapping in IDD_FOLDER_OPTIONS_FILETYPES
(broke in 0.4.10-dev-24-ed1c6bb0060d06f4c0167d9c2d732f4dc2b4cce4)

and translate IDD_NEWEXTENSION, IDD_EDITTYPE, IDD_ACTION, IDD_FOLDER_CUSTOMIZE

2 years ago[USER32] Update file description.
Hermès Bélusca-Maïto [Thu, 16 Aug 2018 20:08:08 +0000 (22:08 +0200)]
[USER32] Update file description.

2 years ago[USER32] Implement SoftModalMessageBox() based on the original MessageBoxTimeoutIndir...
Hermès Bélusca-Maïto [Thu, 16 Aug 2018 20:04:48 +0000 (22:04 +0200)]
[USER32] Implement SoftModalMessageBox() based on the original MessageBoxTimeoutIndirectW().

Additional changes:

- Adapt the message-box dialog procedure to correctly take into account
  the presence or absence of a CANCEL button and take appropriate actions.

- Cache the strings retrieved by MB_GetString() (add FIXME notices too).

2 years ago[ROSTESTS] Add an interactive test for the user32.dll API SoftModalMessageBox().
Hermès Bélusca-Maïto [Thu, 16 Aug 2018 20:01:52 +0000 (22:01 +0200)]
[ROSTESTS] Add an interactive test for the user32.dll API SoftModalMessageBox().

2 years ago[USER32] Code refactoring for MessageBoxTimeoutIndirectW(), in preparation for SoftMo...
Hermès Bélusca-Maïto [Sun, 12 Aug 2018 16:16:29 +0000 (18:16 +0200)]
[USER32] Code refactoring for MessageBoxTimeoutIndirectW(), in preparation for SoftModalMessageBox() implementation.

- Remove usage of ButtonLen and ibtn-pointer arrays, to make the code
  more generic and less dependent on the (maximal) number of buttons
  in the message boxes.

- Move around the code that computes the positions and sizes of the
  window controls.

2 years ago[USER32] Get rid of the old MSGBOXINFO structure and use the new internal MSGBOXDATA...
Hermès Bélusca-Maïto [Fri, 10 Aug 2018 19:38:09 +0000 (21:38 +0200)]
[USER32] Get rid of the old MSGBOXINFO structure and use the new internal MSGBOXDATA structure instead.

2 years ago[USER32] Code formatting only.
Hermès Bélusca-Maïto [Fri, 10 Aug 2018 19:29:45 +0000 (21:29 +0200)]
[USER32] Code formatting only.

2 years ago[USER32] Specify the font to be used for the message-box in its dialog template,...
Hermès Bélusca-Maïto [Fri, 10 Aug 2018 16:20:53 +0000 (18:20 +0200)]
[USER32] Specify the font to be used for the message-box in its dialog template, using DS_SETFONT and a font point size of 0x7FFF, instead of passing a font handle and setting the font of each control manually.

Also improve the flags used in the DrawTextW() call for calculating
the size to be taken by the message-box text.

2 years ago[SDK][UNDOCUSER] Add undocumented user32.dll SoftModalMessageBox() definition and...
Hermès Bélusca-Maïto [Tue, 20 Feb 2018 22:07:11 +0000 (23:07 +0100)]
[SDK][UNDOCUSER] Add undocumented user32.dll SoftModalMessageBox() definition and its structure MSGBOXDATA.

Documented on http://www.vbforums.com/showthread.php?840593-Message-Box-with-Four-Buttons
and augmented from my own testings.

In addition, add also MessageBoxTimeoutA/W() and MB_GetString().

2 years ago[PSDK] Add IDCANCEL and IDASYNC values (returned by MessageBoxTimeout() and WTSSendMe...
Hermès Bélusca-Maïto [Tue, 20 Feb 2018 21:05:31 +0000 (22:05 +0100)]
[PSDK] Add IDCANCEL and IDASYNC values (returned by MessageBoxTimeout() and WTSSendMessage() functions).

2 years ago[USER32] Move related functions close to each other.
Hermès Bélusca-Maïto [Sun, 18 Feb 2018 19:37:16 +0000 (20:37 +0100)]
[USER32] Move related functions close to each other.

2 years ago[USER32] Code formatting/indentation fixes only.
Hermès Bélusca-Maïto [Sun, 18 Feb 2018 19:31:29 +0000 (20:31 +0100)]
[USER32] Code formatting/indentation fixes only.

2 years ago[CONFIGURE] Fix tabulation issue
Oleksandr Shaposhnikov [Fri, 17 Aug 2018 14:43:54 +0000 (17:43 +0300)]
[CONFIGURE] Fix tabulation issue

2 years ago[SHELL32_WINETEST] Fix 2 MSVC warnings about flags
Serge Gautherie [Thu, 19 Jul 2018 16:45:32 +0000 (18:45 +0200)]
[SHELL32_WINETEST] Fix 2 MSVC warnings about flags

- "...\ebrowser.c(1188) : warning C4133: 'function' : incompatible types - from 'DWORD *' to 'EXPLORER_BROWSER_OPTIONS *'"
- "...\ebrowser.c(1198) : warning C4133: 'function' : incompatible types - from 'DWORD *' to 'EXPLORER_BROWSER_OPTIONS *'"

Cherry-pick https://source.winehq.org/git/wine.git/commit/535f2f9e663b7b3db3147960942d3b4934e1ce07
CORE-7538

2 years ago[OLEAUT32] Fix an MSVC warning about VarCyMul()
Serge Gautherie [Wed, 18 Jul 2018 13:21:15 +0000 (15:21 +0200)]
[OLEAUT32] Fix an MSVC warning about VarCyMul()

"...\vartype.c(3808) : warning C4028: formal parameter 2 different from declaration"

Mininal cherry-pick Alexandre Julliard https://source.winehq.org/git/wine.git/commit/18f7ec3670375f6389b36527fbfe1216fe795e53
CORE-7538

2 years ago[FONT][WIN32SS] Ignore identical mapping in IntLoadFontSubstList
Katayama Hirofumi MZ [Fri, 17 Aug 2018 01:46:01 +0000 (10:46 +0900)]
[FONT][WIN32SS] Ignore identical mapping in IntLoadFontSubstList

2 years ago[REACTOS] Warn if not using RosBE custom CMake
Serge Gautherie [Fri, 11 May 2018 03:57:10 +0000 (05:57 +0200)]
[REACTOS] Warn if not using RosBE custom CMake

Better be explicit immediately, than fail later without a clue.

Thanks to Yuntian Zhang for initial code, adapted by me.

CORE-14607

2 years ago[NTOSKRNL] Only allow page file on a few specific device types
Pierre Schweitzer [Thu, 16 Aug 2018 17:00:22 +0000 (19:00 +0200)]
[NTOSKRNL] Only allow page file on a few specific device types

2 years ago[NTOSKRNL] Don't need all access for file object
Pierre Schweitzer [Thu, 16 Aug 2018 16:54:23 +0000 (18:54 +0200)]
[NTOSKRNL] Don't need all access for file object

2 years ago[NTOSKRNL] Add a check commented out for now.
Pierre Schweitzer [Thu, 16 Aug 2018 16:49:55 +0000 (18:49 +0200)]
[NTOSKRNL] Add a check commented out for now.

It's to be enabled once page file handling is moved to ARM3

2 years ago[NTOSKRNL] MmTotalCommitLimit and MmTotalCommitLimitMaximum are in pages, not bytes
Pierre Schweitzer [Thu, 16 Aug 2018 16:40:23 +0000 (18:40 +0200)]
[NTOSKRNL] MmTotalCommitLimit and MmTotalCommitLimitMaximum are in pages, not bytes

2 years ago[CONFIGURE] Added support for new VS 19.15.x
Oleksandr Shaposhnikov [Thu, 16 Aug 2018 15:11:53 +0000 (18:11 +0300)]
[CONFIGURE] Added support for new VS 19.15.x

2 years ago[NTOS:MM] Make SLIST handling for kernel stacks portable
Timo Kreuzer [Sun, 4 Feb 2018 12:30:47 +0000 (13:30 +0100)]
[NTOS:MM] Make SLIST handling for kernel stacks portable

Kernel stacks that re freed, can be placed on an SLIST for quick reuse. The old code was using a member of the PFN of the last stack page as the SLIST_ENTRY. This relies on the following (non-portable) assumptions:
- A stack always has a PTE associated with it.
- This PTE has a PFN associated with it.
- The PFN has an empty field that can be re-used as an SLIST_ENTRY.
- The PFN has another field that points back to the PTE, which then can be used to get the stack base.

Specifically: On x64 the PFN field is not 16 bytes aligned, so it cannot be used as an SLIST_ENTRY. (In a "usermode kernel" the other assumptions are also invalid).

The new code does what Windows does (and which seems absolutely obvious to do): Place the SLIST_ENTRY directly on the stack.

2 years ago[NTOS:SE] Fix SeSetSecurityDescriptorInfoEx to prevent pool corruption on x64
Timo Kreuzer [Sun, 4 Feb 2018 19:07:17 +0000 (20:07 +0100)]
[NTOS:SE] Fix SeSetSecurityDescriptorInfoEx to prevent pool corruption on x64

2 years ago[ADVAPI32][SHELL32][DESK.CPL] Kill copy-paste of RegLoadMUIString. (#748)
Getequ [Thu, 16 Aug 2018 14:10:41 +0000 (21:10 +0700)]
[ADVAPI32][SHELL32][DESK.CPL] Kill copy-paste of RegLoadMUIString. (#748)

RegLoadMUIStringW/A is part of advapi32.dll . shell32.dll and desk.cpl contained exact line-by-line copy of that function.

2 years ago[NTOS:MM] Update a DPRINT string (#760)
Serge Gautherie [Thu, 16 Aug 2018 13:10:24 +0000 (15:10 +0200)]
[NTOS:MM] Update a DPRINT string (#760)

CORE-12729

2 years ago[FONT][WIN32SS] Support MS symbol encoding (#759)
Katayama Hirofumi MZ [Thu, 16 Aug 2018 12:38:46 +0000 (21:38 +0900)]
[FONT][WIN32SS] Support MS symbol encoding (#759)

This commit adds support for the MS symbol encoding (FT_ENCODING_MS_SYMBOL) in our font engine.
It also fixes the display of the Anastasia font. And replacing our Marlett font with Windows' Marlett font is also fixed.

CORE-13269, CORE-14907

2 years ago[USBPORT] Fix 64 bit warnings.
Thomas Faber [Thu, 16 Aug 2018 12:10:35 +0000 (14:10 +0200)]
[USBPORT] Fix 64 bit warnings.

2 years ago[USBPORT] Specify the correct length for the root hub's hub descriptor.
Thomas Faber [Thu, 16 Aug 2018 12:10:15 +0000 (14:10 +0200)]
[USBPORT] Specify the correct length for the root hub's hub descriptor.

2 years ago[USBPORT] Remove an unnecessary check in USBPORT_AllocateBandwidthUSB2. CID 1434261
Thomas Faber [Wed, 15 Aug 2018 10:49:42 +0000 (12:49 +0200)]
[USBPORT] Remove an unnecessary check in USBPORT_AllocateBandwidthUSB2. CID 1434261

2 years ago[USBPORT] Remove an unnecessary check in USB2_ConvertFrame. CID 1434244
Thomas Faber [Wed, 15 Aug 2018 10:22:02 +0000 (12:22 +0200)]
[USBPORT] Remove an unnecessary check in USB2_ConvertFrame. CID 1434244

2 years ago[USBPORT] Accept negative BusTime in USB2_MoveTtEndpoint. CID 1434226
Thomas Faber [Wed, 15 Aug 2018 10:20:01 +0000 (12:20 +0200)]
[USBPORT] Accept negative BusTime in USB2_MoveTtEndpoint. CID 1434226

2 years ago[WIN32K:NTUSER] Fix type confusion in MsgMemorySize.
Thomas Faber [Sun, 12 Aug 2018 13:47:12 +0000 (15:47 +0200)]
[WIN32K:NTUSER] Fix type confusion in MsgMemorySize.

2 years ago[NTOSKRNL] Start making our MMPAGING_FILE struct look like the real one
Pierre Schweitzer [Thu, 16 Aug 2018 12:04:27 +0000 (14:04 +0200)]
[NTOSKRNL] Start making our MMPAGING_FILE struct look like the real one

2 years ago[NTOSKRNL] Store page file sizes in pages, not in bytes
Pierre Schweitzer [Thu, 16 Aug 2018 11:50:16 +0000 (13:50 +0200)]
[NTOSKRNL] Store page file sizes in pages, not in bytes

2 years ago[NTOSKRNL] Store page file minimum size and use it to prevent page file shrinking
Pierre Schweitzer [Thu, 16 Aug 2018 11:41:16 +0000 (13:41 +0200)]
[NTOSKRNL] Store page file minimum size and use it to prevent page file shrinking

2 years ago[NTOSKRNL] Page files don't have an init size, but a minimum size
Pierre Schweitzer [Thu, 16 Aug 2018 10:42:34 +0000 (12:42 +0200)]
[NTOSKRNL] Page files don't have an init size, but a minimum size

NFC

2 years ago[NTOSKRNL] Drop the MmPagingFile spin lock in favor of a guarded mutex
Pierre Schweitzer [Thu, 16 Aug 2018 10:39:24 +0000 (12:39 +0200)]
[NTOSKRNL] Drop the MmPagingFile spin lock in favor of a guarded mutex

2 years ago[NTOSKRNL] Drop the alloc map from page file
Pierre Schweitzer [Thu, 16 Aug 2018 10:16:39 +0000 (12:16 +0200)]
[NTOSKRNL] Drop the alloc map from page file

It was making no sense, and implemented in a broken way
that couldn't have worked if code path was used.

2 years ago[NTOSKRNL] Stub page file extension support
Pierre Schweitzer [Thu, 16 Aug 2018 09:58:58 +0000 (11:58 +0200)]
[NTOSKRNL] Stub page file extension support

2 years ago[WIN32SS] Fix DrawText wrt DT_CALCRECT | DT_VCENTER (#745)
Katayama Hirofumi MZ [Wed, 15 Aug 2018 17:50:19 +0000 (02:50 +0900)]
[WIN32SS] Fix DrawText wrt DT_CALCRECT | DT_VCENTER (#745)

The test program: https://jira.reactos.org/secure/attachment/47925/TnB3.zip
CORE-14896

2 years ago[SYSDM] Use single string control for system version
Stanislav Motylkov [Sat, 11 Aug 2018 09:56:08 +0000 (12:56 +0300)]
[SYSDM] Use single string control for system version

2 years ago[SYSSETUP] Fix the button sizes of theme selection dialog (#746)
Katayama Hirofumi MZ [Wed, 15 Aug 2018 16:32:17 +0000 (01:32 +0900)]
[SYSSETUP] Fix the button sizes of theme selection dialog (#746)

CORE-14896

2 years agoRemove unnecessary executable bits
Mike Swanson [Tue, 14 Aug 2018 23:10:55 +0000 (16:10 -0700)]
Remove unnecessary executable bits

2 years ago[WIN32SS][USER] fixing couple typos for WINVER >= 0x600
Denis Malikov [Wed, 15 Aug 2018 15:05:03 +0000 (22:05 +0700)]
[WIN32SS][USER] fixing couple typos for WINVER >= 0x600

CORE-12596

2 years ago[BTRFS] Leak the root stream file object on mount.
Pierre Schweitzer [Wed, 15 Aug 2018 14:38:56 +0000 (16:38 +0200)]
[BTRFS] Leak the root stream file object on mount.

For whatever (unknown) reason yet, this stream file object
seems to be deleted when still in use while installing
ReactOS on BtrFS partition, leading to use after free.

So, quick and dirty hack: leak it to prevent deletion.

CORE-13769

2 years ago[BTRFS] Allow driver to start at first stage when no hive is present.
Pierre Schweitzer [Wed, 15 Aug 2018 14:35:05 +0000 (16:35 +0200)]
[BTRFS] Allow driver to start at first stage when no hive is present.

Contrary to upstream, we will ignore failure when opening registry
and will keep going.

CORE-13769

2 years ago[APPHELP_APITEST] Fix rc dependency. 477/head
Mark Jansen [Wed, 1 Aug 2018 20:15:51 +0000 (22:15 +0200)]
[APPHELP_APITEST] Fix rc dependency.
As pointed out by Thomas.

2 years ago[RTL][KERNEL32] Add a comment indicating we need SEH in RtlImageNtHeaderEx
Mark Jansen [Sun, 29 Jul 2018 17:45:13 +0000 (19:45 +0200)]
[RTL][KERNEL32] Add a comment indicating we need SEH in RtlImageNtHeaderEx
CORE-14532
CORE-14857

2 years ago[LDR] Guard some sections where we grab a lock.
Mark Jansen [Sun, 29 Jul 2018 15:40:42 +0000 (17:40 +0200)]
[LDR] Guard some sections where we grab a lock.
CORE-14532

2 years ago[NTDLL_APITEST] Show behavior with exceptions in DllMain.
Mark Jansen [Sat, 14 Apr 2018 19:00:18 +0000 (21:00 +0200)]
[NTDLL_APITEST] Show behavior with exceptions in DllMain.
CORE-14532

2 years ago[LDR] Add debug logging when we encountered an exception in dll/tls callbacks.
Mark Jansen [Sun, 29 Jul 2018 15:13:42 +0000 (17:13 +0200)]
[LDR] Add debug logging when we encountered an exception in dll/tls callbacks.
CORE-14532

2 years ago[LDR] Protect calls from LdrpCallInitRoutine and LdrpCallTlsInitializers with SEH.
Mark Jansen [Sun, 8 Apr 2018 19:51:20 +0000 (21:51 +0200)]
[LDR] Protect calls from LdrpCallInitRoutine and LdrpCallTlsInitializers with SEH.
CORE-14532

2 years ago[NTOSKRNL] Don't use anonymus allocations for MM objects
Pierre Schweitzer [Mon, 13 Aug 2018 06:29:17 +0000 (08:29 +0200)]
[NTOSKRNL] Don't use anonymus allocations for MM objects

2 years ago[NTOSKRNL] Keep page file name along the page file and free it on shutdown
Pierre Schweitzer [Mon, 13 Aug 2018 06:24:39 +0000 (08:24 +0200)]
[NTOSKRNL] Keep page file name along the page file and free it on shutdown

2 years ago[NTOSKRNL] Dereference page file objects in MM shutdown phase 1
Pierre Schweitzer [Mon, 13 Aug 2018 06:23:44 +0000 (08:23 +0200)]
[NTOSKRNL] Dereference page file objects in MM shutdown phase 1

Hack the call the MM shutdown phase  1

2 years ago[NTOSKRNL] Close page files (and delete them!) on shutdown
Pierre Schweitzer [Mon, 13 Aug 2018 05:52:05 +0000 (07:52 +0200)]
[NTOSKRNL] Close page files (and delete them!) on shutdown

2 years ago[NTOSKRNL] Stub MM shutdown
Pierre Schweitzer [Mon, 13 Aug 2018 05:42:57 +0000 (07:42 +0200)]
[NTOSKRNL] Stub MM shutdown

2 years ago[UMPNPMGR] Partially implement ReenumerateDeviceInstance which is needed by the Lenov...
Eric Kohl [Sun, 12 Aug 2018 20:19:05 +0000 (22:19 +0200)]
[UMPNPMGR] Partially implement ReenumerateDeviceInstance which is needed by the Lenovo T400 network driver installer

2 years ago[SYSTEMINFO] Fix various bugs and add SMBIOS support
Stanislav Motylkov [Tue, 31 Jul 2018 15:57:58 +0000 (18:57 +0300)]
[SYSTEMINFO] Fix various bugs and add SMBIOS support

2 years ago[WIN32SS][FONT] Fix font metrics (#713)
Katayama Hirofumi MZ [Sun, 12 Aug 2018 13:12:13 +0000 (22:12 +0900)]
[WIN32SS][FONT] Fix font metrics (#713)

Fix vertical alignment and Aspect penalty; improve font penalty system; fixes for Wine tests.
This is an update of #706. See CORE-11536 for more details.

The display of the following programs is fixed:
- Total Commander 8.52 setup: font displayed too large - CORE-11620.
- Effective File Search 6.8.1 german localization text rendering issues - CORE-14378.
- Font garbage in register splash screen in Foxit Reader 7.1.5 - CORE-9767.
- Calipers-1 is not displayed correctly - CORE-14302.
- Some MSI-installers draw their dialogs too large (example: Click-N-Type Virtual Keyboard 3.03.0412) - CORE-13161.
- Irfanview 4.50: font in zoom combobox displayed too large - CORE-14396.
- Rufus: The window and controls are displayed larger than necessary - CORE-14461.

2 years ago[NETAPI32] Add DFS RPC interface and some DFS stubs
Eric Kohl [Sun, 12 Aug 2018 12:13:26 +0000 (14:13 +0200)]
[NETAPI32] Add DFS RPC interface and some DFS stubs

2 years ago[DXDIAG] Fix wrapped controls in russian translation
Stanislav Motylkov [Sun, 12 Aug 2018 09:11:39 +0000 (12:11 +0300)]
[DXDIAG] Fix wrapped controls in russian translation

2 years ago[DXDIAG] Minor code style fixes
Stanislav Motylkov [Fri, 3 Aug 2018 21:22:49 +0000 (00:22 +0300)]
[DXDIAG] Minor code style fixes

2 years ago[DXDIAG] Fix blank system and BIOS values
Stanislav Motylkov [Tue, 31 Jul 2018 15:52:09 +0000 (18:52 +0300)]
[DXDIAG] Fix blank system and BIOS values

CORE-5961 #resolve

2 years ago[SDK] Add user-mode DMI/SMBIOS helper library
Stanislav Motylkov [Tue, 31 Jul 2018 15:48:32 +0000 (18:48 +0300)]
[SDK] Add user-mode DMI/SMBIOS helper library

CORE-5961

2 years ago[MSPAINT] Fix interpretation of command line (#707)
Katayama Hirofumi MZ [Sun, 12 Aug 2018 09:23:16 +0000 (18:23 +0900)]
[MSPAINT] Fix interpretation of command line (#707)

2 years ago[KMTESTS:MM] Properly clean up files
Pierre Schweitzer [Sun, 12 Aug 2018 08:05:25 +0000 (10:05 +0200)]
[KMTESTS:MM] Properly clean up files

This fixes driver unloading on Windows.

ROSTESTS-266

2 years ago[NTOSKRNL] Misc fixes:
Pierre Schweitzer [Sat, 11 Aug 2018 21:34:08 +0000 (23:34 +0200)]
[NTOSKRNL] Misc fixes:
- Rename page file struct to MMPAGING_FILE
- Increment page files count after current page file was put in the list

2 years ago[NTOSKRNL] Rename PagingFileList to MmPagingFile and make insertion simpler
Pierre Schweitzer [Sat, 11 Aug 2018 21:19:58 +0000 (23:19 +0200)]
[NTOSKRNL] Rename PagingFileList to MmPagingFile and make insertion simpler

2 years ago[NTOSKRNL] Remove useless define
Pierre Schweitzer [Sat, 11 Aug 2018 21:07:53 +0000 (23:07 +0200)]
[NTOSKRNL] Remove useless define

2 years ago[NTOSKRNL] Replace the alloc map by a bitmap
Pierre Schweitzer [Sat, 11 Aug 2018 20:47:58 +0000 (22:47 +0200)]
[NTOSKRNL] Replace the alloc map by a bitmap

2 years ago[NTOSKRNL] Drop unused field
Pierre Schweitzer [Sat, 11 Aug 2018 20:06:41 +0000 (22:06 +0200)]
[NTOSKRNL] Drop unused field

2 years ago[NTOSKRNL] Revert r4668 (yeah, that was 15y ago)
Pierre Schweitzer [Sat, 11 Aug 2018 16:37:31 +0000 (18:37 +0200)]
[NTOSKRNL] Revert r4668 (yeah, that was 15y ago)

It's hardly understandable and doesn't really makes sense.
Furthermore, it breaks compatibility with 3rd party FSD that
don't implement such FSCTL.
Obviously, Windows doesn't do this.

2 years ago[NTOSKRNL] Restrict rights on the page file
Pierre Schweitzer [Fri, 10 Aug 2018 06:40:02 +0000 (08:40 +0200)]
[NTOSKRNL] Restrict rights on the page file

2 years ago[NTOSKRNL] Deny page file creation on floppy disk
Pierre Schweitzer [Fri, 10 Aug 2018 06:01:31 +0000 (08:01 +0200)]
[NTOSKRNL] Deny page file creation on floppy disk

2 years ago[NTOSKRNL] Properly open a page file and set appropriate attributes
Pierre Schweitzer [Fri, 10 Aug 2018 05:50:16 +0000 (07:50 +0200)]
[NTOSKRNL] Properly open a page file and set appropriate attributes

2 years ago[NTOSKRNL] Check that caller has appropriate right before creating page file
Pierre Schweitzer [Thu, 9 Aug 2018 19:13:08 +0000 (21:13 +0200)]
[NTOSKRNL] Check that caller has appropriate right before creating page file

2 years ago[DLLHOST] Add dllhost to make the device driver extractor for my Lenovo T400 happy
Eric Kohl [Sat, 11 Aug 2018 20:25:30 +0000 (22:25 +0200)]
[DLLHOST] Add dllhost to make the device driver extractor for my Lenovo T400 happy

2 years ago[WIN32SS][FONT] Fix the system logical stock font data (#709)
Katayama Hirofumi MZ [Fri, 10 Aug 2018 13:37:37 +0000 (22:37 +0900)]
[WIN32SS][FONT] Fix the system logical stock font data (#709)

This fixes the stock font data to improve font selection.
CORE-14885

2 years ago[SHELL32] Fix a careless mistake of ShellExecCmdLine (#737)
Katayama Hirofumi MZ [Fri, 10 Aug 2018 11:25:50 +0000 (20:25 +0900)]
[SHELL32] Fix a careless mistake of ShellExecCmdLine (#737)

CORE-14886

2 years ago[CONSRV] Implement support for file/directory drag-and-drop (#692). 692/head
Katayama Hirofumi MZ [Wed, 18 Jul 2018 20:02:49 +0000 (05:02 +0900)]
[CONSRV] Implement support for file/directory drag-and-drop (#692).
CORE-14833

2 years ago[REACTOS] Improve how some ASSERTMSG() message values are printed: enforce ending... 660/head
Serge Gautherie [Wed, 4 Jul 2018 01:42:04 +0000 (03:42 +0200)]
[REACTOS] Improve how some ASSERTMSG() message values are printed: enforce ending "\n".

NB: Not touching calls in "third-party" code: class and classpnp.

2 years ago[CMLIB] Simplify an ASSERTMSG() as an ASSERT().
Serge Gautherie [Mon, 2 Jul 2018 09:45:01 +0000 (11:45 +0200)]
[CMLIB] Simplify an ASSERTMSG() as an ASSERT().

2 years ago[BOOTLIB] Fix the implementation of RtlAssert() ('Message' can be NULL, and fix the...
Hermès Bélusca-Maïto [Wed, 8 Aug 2018 19:37:22 +0000 (21:37 +0200)]
[BOOTLIB] Fix the implementation of RtlAssert() ('Message' can be NULL, and fix the printing of ANSI string). Fix also the implementation of DbgPrint().

2 years ago[REACTOS] RtlAssert(): use "%lu" as LineNumber format.
Serge Gautherie [Thu, 21 Jun 2018 03:05:50 +0000 (05:05 +0200)]
[REACTOS] RtlAssert(): use "%lu" as LineNumber format.

2 years ago[CONSRV] Minor code re-organization.
Hermès Bélusca-Maïto [Wed, 8 Aug 2018 18:45:39 +0000 (20:45 +0200)]
[CONSRV] Minor code re-organization.

2 years ago[CONSRV] Add a PasteText() helper function and use it.
Hermès Bélusca-Maïto [Wed, 8 Aug 2018 18:38:41 +0000 (20:38 +0200)]
[CONSRV] Add a PasteText() helper function and use it.

2 years ago[HAL] Remove misleading debug prints about USB controllers.
Thomas Faber [Wed, 8 Aug 2018 17:58:56 +0000 (19:58 +0200)]
[HAL] Remove misleading debug prints about USB controllers.