reactos.git
4 years ago[TDI] Improve spec file
Timo Kreuzer [Mon, 20 Aug 2018 15:11:40 +0000 (17:11 +0200)]
[TDI] Improve spec file

4 years ago[PSDK] Fix #ifdef in winuser.h
Timo Kreuzer [Mon, 20 Aug 2018 14:02:44 +0000 (16:02 +0200)]
[PSDK] Fix #ifdef in winuser.h

4 years ago[VIDEOPRT] Fix order of some exports
Timo Kreuzer [Thu, 12 Jul 2018 11:23:04 +0000 (13:23 +0200)]
[VIDEOPRT] Fix order of some exports

4 years ago[NTOS:EX] Use InterlockedExchangeAdd64 instead of InterlockedCompareExchange64 loop...
Timo Kreuzer [Thu, 12 Jul 2018 13:54:52 +0000 (15:54 +0200)]
[NTOS:EX] Use InterlockedExchangeAdd64 instead of InterlockedCompareExchange64 loop in ExAllocateLocallyUniqueId

4 years ago[WIN32K] InitVideo() should return NTSTATUS, so return STATUS_SUCCESS instead of 1
Timo Kreuzer [Sun, 11 Feb 2018 20:53:03 +0000 (21:53 +0100)]
[WIN32K] InitVideo() should return NTSTATUS, so return STATUS_SUCCESS instead of 1

4 years ago[NTOS:IO] Improve an alignment
Timo Kreuzer [Thu, 4 Jan 2018 17:29:24 +0000 (18:29 +0100)]
[NTOS:IO] Improve an alignment

4 years ago[KSUSER] Improve pointer arithmetics
Timo Kreuzer [Thu, 28 Dec 2017 17:35:30 +0000 (18:35 +0100)]
[KSUSER] Improve pointer arithmetics

4 years ago[SHELL32] Fix Desktop Properties menu item action (#1833)
Katayama Hirofumi MZ [Thu, 15 Aug 2019 14:10:06 +0000 (23:10 +0900)]
[SHELL32] Fix Desktop Properties menu item action (#1833)

1. Right Click the Desktop.
2. Choose "Properties" menu item.
3. "Properties for Display" dialog must be shown.

The parameters of ShellExecuteW were wrong. The execution parameters must be separated from the file parameter.
CORE-16299

4 years ago[KERNEL32] implement CreateSemaphoreExW/A and adjust macroses for it
Denis Malikov [Sun, 18 Nov 2018 16:51:20 +0000 (23:51 +0700)]
[KERNEL32] implement CreateSemaphoreExW/A and adjust macroses for it

4 years ago[KERNEL32] Partially fix dll/win32/kernel32/client/vista.c compilation as NT6
Serge Gautherie [Thu, 15 Aug 2019 13:42:34 +0000 (15:42 +0200)]
[KERNEL32] Partially fix dll/win32/kernel32/client/vista.c compilation as NT6

CORE-12596

4 years ago[3RDPARTY] Suppress MSVC printf format warnings in 3rd-party code
Timo Kreuzer [Sat, 20 Jul 2019 15:34:24 +0000 (17:34 +0200)]
[3RDPARTY] Suppress MSVC printf format warnings in 3rd-party code

4 years ago[REACTOS] Fix MSVC printf format warnings
Timo Kreuzer [Mon, 20 Aug 2018 15:42:27 +0000 (17:42 +0200)]
[REACTOS] Fix MSVC printf format warnings

4 years ago[DBGHELP_APITEST] Add rsym+pdb tests on loaded modules 1445/head
Mark Jansen [Wed, 27 Mar 2019 22:09:36 +0000 (23:09 +0100)]
[DBGHELP_APITEST] Add rsym+pdb tests on loaded modules
Also reorder some stuff to make the tests more alike

4 years ago[REACTOS] Fix SIZE_T related warnings
Timo Kreuzer [Sun, 26 May 2019 13:00:21 +0000 (15:00 +0200)]
[REACTOS] Fix SIZE_T related warnings

4 years ago[VIDEOPRT] Implement support for INT10 on x64 using the newly implemented HAL functions.
Timo Kreuzer [Sun, 11 Feb 2018 18:22:30 +0000 (19:22 +0100)]
[VIDEOPRT] Implement support for INT10 on x64 using the newly implemented HAL functions.

4 years ago[VIDEOPRT] Fixes for x64
Timo Kreuzer [Sun, 11 Feb 2018 13:01:43 +0000 (14:01 +0100)]
[VIDEOPRT] Fixes for x64

4 years ago[VIDEOPRT] Call IntInt10CallBios from VideoPortInt10, instead of code duplication
Timo Kreuzer [Sun, 11 Feb 2018 12:49:14 +0000 (13:49 +0100)]
[VIDEOPRT] Call IntInt10CallBios from VideoPortInt10, instead of code duplication

4 years ago[VIDEOPRT] [FORMATTING] No code change
Timo Kreuzer [Sun, 11 Feb 2018 12:43:05 +0000 (13:43 +0100)]
[VIDEOPRT] [FORMATTING] No code change

4 years ago[HAL] Implement amd64 BIOS call support
Timo Kreuzer [Sun, 11 Feb 2018 18:21:01 +0000 (19:21 +0100)]
[HAL] Implement amd64 BIOS call support

The code uses FAST486 to emulate the BIOS code.

4 years ago[NDK] Add BIOS call API for amd64
Timo Kreuzer [Sun, 11 Feb 2018 15:43:51 +0000 (16:43 +0100)]
[NDK] Add BIOS call API for amd64

4 years ago[Translation] More Hebrew Translations
Shy Zedaka [Mon, 5 Aug 2019 21:01:24 +0000 (00:01 +0300)]
[Translation] More Hebrew Translations

Co-authored-by: Baruch Rutman <peterooch@gmail.com>
4 years ago[NTOSKRNL][PS] Implement NtQueueApcThreadEx and use it in NtQueueApcThread
Andrew Boyarshin [Sun, 25 Nov 2018 07:11:04 +0000 (14:11 +0700)]
[NTOSKRNL][PS] Implement NtQueueApcThreadEx and use it in NtQueueApcThread

Actually rename NtQueueApcThread to NtQueueApcThreadEx and ignore one additional parameter for now.

4 years ago[SHELL32] CDefView: Improve the context menu positioning 1817/head
Mark Jansen [Thu, 8 Aug 2019 19:01:19 +0000 (21:01 +0200)]
[SHELL32] CDefView: Improve the context menu positioning
Previously we would always show a menu on the focused item, but
this should only be done when it is also selected.

4 years ago[WININET_APITEST] Add Download testcase (#1832)
Katayama Hirofumi MZ [Thu, 15 Aug 2019 08:50:57 +0000 (17:50 +0900)]
[WININET_APITEST] Add Download testcase (#1832)

CORE-16310

4 years ago[MEDIA][FONTS] Add Baltic MS Sans Serif (ssee1257.fon) CORE-16166
Katayama Hirofumi MZ [Thu, 15 Aug 2019 01:23:50 +0000 (10:23 +0900)]
[MEDIA][FONTS] Add Baltic MS Sans Serif (ssee1257.fon) CORE-16166

4 years ago[FREELDR] Minor fixes.
Hermès Bélusca-Maïto [Wed, 14 Aug 2019 13:59:01 +0000 (15:59 +0200)]
[FREELDR] Minor fixes.

- Add some forgotten, or move some misplaced ArcClose() calls so as
  to avoid leakages in failure paths. (Thanks to Serge Gautherie for
  having caught some of them.)

- Simplify some code; remove unneeded casts; use string-safe functions.

4 years ago[FREELDR] Minor enhancements for disk/partition boot and UI.
Hermès Bélusca-Maïto [Tue, 13 Aug 2019 15:34:57 +0000 (17:34 +0200)]
[FREELDR] Minor enhancements for disk/partition boot and UI.

- Factor out disk & partition opening in LoadAndBootPartition() and
  LoadAndBootDrive() into a LoadAndBootPartitionOrDrive() helper.

- Use ARC paths and ArcOpen()/ArcRead() instead of calling the
  machine-specific BIOS-oriented DiskGetPartitionEntry() and
  MachDiskReadLogicalSectors() functions to open the disk/partition
  and read their boot sectors.

- Don't forget to close the opened boot sector file in LoadAndBootBootSector().

- Add assertions for DiskReadBufferSize in PcMemFinalizeMemoryMap()
  and EnumerateHarddisks().

- x86/amd64 only:
  * Add a DisableA20 helper for disabling the A20 line, before rebooting
    back, or chain-load a boot sector, into 16-bit world.
    Also pulse the output port of the keyboard controller to clear out
    its state after having set the state of the A20 line.

  * In addition to disabling the A20 line when rebooting or chain-loading
    a boot sector, reset the video back to 80x25 text mode.

- Reset the cursor position back to the origin when initializing or
  terminating the TUI.

4 years ago[OSK] Romanian translation update (#1820)
Bișoc George [Mon, 12 Aug 2019 18:58:39 +0000 (20:58 +0200)]
[OSK] Romanian translation update (#1820)

4 years ago[ATL_APITEST] Simplify code by using ok_int etc. (#1824)
Katayama Hirofumi MZ [Mon, 12 Aug 2019 14:10:47 +0000 (23:10 +0900)]
[ATL_APITEST] Simplify code by using ok_int etc. (#1824)

Simplify the code by using ok_int, ok_long etc.

4 years ago[MEDIA][FONTS] Total adjustment of MS Sans Serif
Katayama Hirofumi MZ [Mon, 12 Aug 2019 13:19:55 +0000 (22:19 +0900)]
[MEDIA][FONTS] Total adjustment of MS Sans Serif

4 years ago[SDK][INCLUDE] Update msgdump.h and winxx.h
Katayama Hirofumi MZ [Mon, 12 Aug 2019 10:31:44 +0000 (19:31 +0900)]
[SDK][INCLUDE] Update msgdump.h and winxx.h

4 years ago[ATL_APITEST] Add 'atltest.h' and use it (#1822)
Katayama Hirofumi MZ [Mon, 12 Aug 2019 10:24:08 +0000 (19:24 +0900)]
[ATL_APITEST] Add 'atltest.h' and use it (#1822)

- Add "atltest.h" header file for common use in atl_apitest.
- Delete the duplicated and simplify.

4 years ago[ATL] Add a minimal CAtlArray implementation 1819/head
Mark Jansen [Fri, 9 Aug 2019 22:22:03 +0000 (00:22 +0200)]
[ATL] Add a minimal CAtlArray implementation

4 years ago[ATL_APITEST] Add simple test for CAtlArray
Mark Jansen [Fri, 9 Aug 2019 19:25:16 +0000 (21:25 +0200)]
[ATL_APITEST] Add simple test for CAtlArray

4 years ago[ATL_APITEST] Change proj files to have a different intermediate dir
Mark Jansen [Fri, 9 Aug 2019 19:24:33 +0000 (21:24 +0200)]
[ATL_APITEST] Change proj files to have a different intermediate dir

4 years ago[ATL][ATL_APITEST] Add CAtlList::InsertBefore/After + test
Mark Jansen [Fri, 9 Aug 2019 17:14:43 +0000 (19:14 +0200)]
[ATL][ATL_APITEST] Add CAtlList::InsertBefore/After + test

4 years agoAddendum to fba4ad4c.
Hermès Bélusca-Maïto [Sun, 11 Aug 2019 20:06:27 +0000 (22:06 +0200)]
Addendum to fba4ad4c.

4 years ago[FREELDR] Move files where they are only used.
Hermès Bélusca-Maïto [Sun, 11 Aug 2019 16:56:40 +0000 (18:56 +0200)]
[FREELDR] Move files where they are only used.

- Merge fade.c/palette.c/video.c into video.c and move it into UI.
- Move inffile.c into NTLDR.

4 years ago[MEDIA][FONTS] Add Arabic MS Sans Serif (ssee1256.fon)
Katayama Hirofumi MZ [Sun, 11 Aug 2019 00:36:39 +0000 (09:36 +0900)]
[MEDIA][FONTS] Add Arabic MS Sans Serif (ssee1256.fon)

CORE-16166

4 years ago[WIN32SS][NTUSER] Fix menu drawing after style change (#1821)
Katayama Hirofumi MZ [Sat, 10 Aug 2019 22:46:14 +0000 (07:46 +0900)]
[WIN32SS][NTUSER] Fix menu drawing after style change (#1821)

There were menu drawing regression after https://github.com/reactos/reactos/commit/03adec81414abb53e589ecd9061042b9ca2104c1.
This PR will fix it. CORE-16244

- We don't have to draw the frame manually because of WS_EX_DLGMODALFRAME extended style.
- We don't need the margins (MENU_TOP_MARGIN and MENU_BOTTOM_MARGIN) in the client area any more because the client area doesn't contain the frame width.
- Use GetSystemMetrics(SM_CXDLGFRAME) and GetSystemMetrics(SM_CYDLGFRAME) for frame width.

4 years ago[FREELDR] Addendum to 31a3f317.
Hermès Bélusca-Maïto [Sat, 10 Aug 2019 17:47:49 +0000 (19:47 +0200)]
[FREELDR] Addendum to 31a3f317.

4 years ago[PROCESSR] Employ usual casing for CurrentControlSet key.
Hermès Bélusca-Maïto [Sat, 10 Aug 2019 17:14:04 +0000 (19:14 +0200)]
[PROCESSR] Employ usual casing for CurrentControlSet key.

4 years ago[FREELDR] Some changes that accumulated since years in my local copy. Also initialize...
Hermès Bélusca-Maïto [Sat, 10 Aug 2019 17:13:20 +0000 (19:13 +0200)]
[FREELDR] Some changes that accumulated since years in my local copy. Also initialize SetupBlock->ArcSetupDeviceName to some valid value.

4 years ago[FREELDR] Rework EXT2 filesystem to interface with ARC and not be tied to the boot...
Hermès Bélusca-Maïto [Sat, 10 Aug 2019 14:36:11 +0000 (16:36 +0200)]
[FREELDR] Rework EXT2 filesystem to interface with ARC and not be tied to the boot volume.

See 28bf1f3b (r42537) and c599bd7d (r43267) for additional information.

4 years ago[FREELDR] Diverse enhancements.
Hermès Bélusca-Maïto [Sat, 10 Aug 2019 11:44:33 +0000 (13:44 +0200)]
[FREELDR] Diverse enhancements.

- Get rid of the FsCloseFile(), FsReadFile(), FsGetFileInformation(),
  FsGetFileSize() and FsSetFilePointer() wrappers and use the ARC
  functions directly instead. Make FsOpenFile() return an ARC file
  descriptor ID of the correct type. Get rid of unused FS_* defines.

- Use TRACEs in the ***Mount() filesystem functions for diagnostics
  purposes.

- Remove a leak in FatGetFatEntry(). Assign stuff via QuadPart where
  possible in FatMount(). Remove an unused member in FAT_FILE_INFO.

- Reduce code indentation in BtrFsMount() and remove a leak there.

- Disable reading the "BootPath" parameter in the linux loader since
  we don't use this parameter (yet??)

4 years ago[LSASS] Initialize SAM before starting the security services
Eric Kohl [Sat, 10 Aug 2019 12:36:10 +0000 (14:36 +0200)]
[LSASS] Initialize SAM before starting the security services

We need to initialize SAM before the security services get started, otherwise we will have a running SamSs service although SAM is not initialized at that time. This is no good.

4 years ago[SERVICES] Improvements to registry control sets
Eric Kohl [Sat, 10 Aug 2019 12:24:11 +0000 (14:24 +0200)]
[SERVICES] Improvements to registry control sets

- Add a function that creates a new control set and deletes unused control sets in case of a successful boot.
- Add a stub function that will soon switch to the last known good control set in case of an unsuccessful boot.

4 years ago[IDL][WINLOGON] Rename locally used functions of the winreg rpc interface
Eric Kohl [Sat, 10 Aug 2019 12:04:58 +0000 (14:04 +0200)]
[IDL][WINLOGON] Rename locally used functions of the winreg rpc interface

- Function 14 is named BaseRegNotifyChangeKeyValue
- Function 28 is named OpenDynData

4 years ago[WIN32SS][NTUSER] Fix popup menu freezing
Katayama Hirofumi MZ [Sat, 10 Aug 2019 06:40:32 +0000 (15:40 +0900)]
[WIN32SS][NTUSER] Fix popup menu freezing

4 years ago[WIN32SS][NTGDI] Registry-based font management (#1816)
Katayama Hirofumi MZ [Sat, 10 Aug 2019 05:52:09 +0000 (14:52 +0900)]
[WIN32SS][NTGDI] Registry-based font management (#1816)

CORE-16269
- Add IntGdiAddFontResourceEx function that is extended from IntGdiAddFontResource, in order to add dwFlags parameter.
- Add IntLoadFontsInRegistry function that will load the fonts from registry info.
- If loading from registry failed, IntLoadSystemFonts will be called.
- Use IntLoadFontsInRegistry rather than IntLoadSystemFonts in the OS startup.
- Add NameFromCharSet function.
- Append " (CharSetName)" to registry value name if not TrueType.

4 years ago[WIN32SS][NTUSER] Fix popup menu window styles (#1814)
Katayama Hirofumi MZ [Fri, 9 Aug 2019 23:33:25 +0000 (08:33 +0900)]
[WIN32SS][NTUSER] Fix popup menu window styles (#1814)

Fix the class style, the window style and the extended style of the popup menu window. CORE-16244

4 years ago[FREELDR] Fix erroneous change from d05be0da regarding RAMDISK loading in SETUPLDR.
Hermès Bélusca-Maïto [Thu, 8 Aug 2019 21:06:33 +0000 (23:06 +0200)]
[FREELDR] Fix erroneous change from d05be0da regarding RAMDISK loading in SETUPLDR.

Restore the correct position of (optional) RAMDISK loading code, before
attempting to open txtsetup.sif since the bootcd ISO might be the RAMDISK.

4 years ago[WIN32SS] Ensure the last menu item is not accidentally selected when a system menu... 1812/head
Mark Jansen [Wed, 7 Aug 2019 21:53:42 +0000 (23:53 +0200)]
[WIN32SS] Ensure the last menu item is not accidentally selected when a system menu is off-screen
CORE-16297

4 years ago[WIN32SS] Do not propagate TPM_VERTICAL to sub-menus
Mark Jansen [Wed, 7 Aug 2019 20:14:58 +0000 (22:14 +0200)]
[WIN32SS] Do not propagate TPM_VERTICAL to sub-menus
With this change we can remove the workaround from the off-screen
menus dropping below their parent.
Many thanks to Joachim for his help debugging / testing this.

CORE-16297

4 years ago[WIN32SS] Fix tray popup menus stuck to the bottom of the screen
Mark Jansen [Wed, 7 Aug 2019 19:50:25 +0000 (21:50 +0200)]
[WIN32SS] Fix tray popup menus stuck to the bottom of the screen
Dedicated to Joachim
CORE-16297

4 years ago[WIN32SS] Fix off-screen menu's dropping below their parent
Mark Jansen [Tue, 6 Aug 2019 23:52:18 +0000 (01:52 +0200)]
[WIN32SS] Fix off-screen menu's dropping below their parent

4 years ago[WIN32SS] For application menu's, only exclude the menu item,
Mark Jansen [Tue, 6 Aug 2019 22:50:21 +0000 (00:50 +0200)]
[WIN32SS] For application menu's, only exclude the menu item,
not the entire window.
Because the application menu is part of the application window,
this would lead to bad results.

4 years ago[FONTVIEW] Broadcast WM_FONTCHANGE message (#1815)
Katayama Hirofumi MZ [Thu, 8 Aug 2019 12:41:15 +0000 (21:41 +0900)]
[FONTVIEW] Broadcast WM_FONTCHANGE message (#1815)

We have to send WM_FONTCHANGE message when the font list was changed.

4 years ago[WIN32SS][NTUSER] Fix MENU_DrawScrollArrows (#1753)
Katayama Hirofumi MZ [Thu, 8 Aug 2019 04:56:23 +0000 (13:56 +0900)]
[WIN32SS][NTUSER] Fix MENU_DrawScrollArrows (#1753)

Fix drawing the menu scrolling arrows. CORE-13211

4 years ago[FREELDR] Verbose error output for FS errors
Victor Perevertkin [Mon, 29 Jul 2019 20:25:03 +0000 (23:25 +0300)]
[FREELDR] Verbose error output for FS errors

4 years ago[FREELDR] Better fix for x64. Addendum to 268cdf57.
Hermès Bélusca-Maïto [Wed, 7 Aug 2019 17:30:55 +0000 (19:30 +0200)]
[FREELDR] Better fix for x64. Addendum to 268cdf57.

4 years ago[FREELDR] Fix EditBox initial string display length: do not count the NULL-terminator.
Hermès Bélusca-Maïto [Wed, 7 Aug 2019 17:18:04 +0000 (19:18 +0200)]
[FREELDR] Fix EditBox initial string display length: do not count the NULL-terminator.

4 years ago[FREELDR] Add ReactOS Setup as a custom boot type. (#1763) 1763/head
Yaroslav Kibysh [Sun, 28 Jul 2019 21:17:03 +0000 (00:17 +0300)]
[FREELDR] Add ReactOS Setup as a custom boot type. (#1763)
CORE-9023 CORE-16260

Co-authored-by: Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
4 years ago[FREELDR] Add "Edit Boot Command Line" feature. (#1763)
Yaroslav Kibysh [Sun, 28 Jul 2019 17:23:41 +0000 (20:23 +0300)]
[FREELDR] Add "Edit Boot Command Line" feature. (#1763)
CORE-9023 CORE-16260

Co-authored-by: Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
4 years ago[FREELDR] Some enhancements for the UI code. (#1763)
Hermès Bélusca-Maïto [Fri, 2 Aug 2019 19:35:23 +0000 (21:35 +0200)]
[FREELDR] Some enhancements for the UI code. (#1763)

- EditBox: Display the initial contents of the text buffer.
  This allows modifying already existing text in the passed buffer.

- Menu:
  * Make both MenuHeader and MenuFooter optional (but the latter is
    more "optional" than the former...).

  * Allow passing a user-provided "Context" structure to the key-press
    filter callback, and pass also the index of the menu item that has
    been selected.

- Minor formatting fixes.

4 years ago[FREELDR] Fix x64 build.
Hermès Bélusca-Maïto [Wed, 7 Aug 2019 16:47:54 +0000 (18:47 +0200)]
[FREELDR] Fix x64 build.

4 years ago[FREELDR] Don't call twice strlen() implicitly (in the min() macro).
Hermès Bélusca-Maïto [Wed, 7 Aug 2019 16:33:53 +0000 (18:33 +0200)]
[FREELDR] Don't call twice strlen() implicitly (in the min() macro).

4 years ago[FREELDR] xboxmem: Fix array out-of-bounds access (#1775)
Stanislav Motylkov [Wed, 7 Aug 2019 10:06:37 +0000 (13:06 +0300)]
[FREELDR] xboxmem: Fix array out-of-bounds access (#1775)

Memory map array should be large enough to fit additional descriptors.

CORE-16216 CORE-16267

4 years ago[SETUP][BOOTDATA][INF] Helvetica-to-Arial substitutes (#1809)
Katayama Hirofumi MZ [Wed, 7 Aug 2019 10:02:38 +0000 (19:02 +0900)]
[SETUP][BOOTDATA][INF] Helvetica-to-Arial substitutes (#1809)

Set the destinations of "Helvetica" font substitutes to "Arial". CORE-16264

4 years ago[SETUP][BOOTDATA][INF] Delete Tahoma-to-Tahoma substitutes (#1808)
Katayama Hirofumi MZ [Wed, 7 Aug 2019 10:01:25 +0000 (19:01 +0900)]
[SETUP][BOOTDATA][INF] Delete Tahoma-to-Tahoma substitutes (#1808)

Delete loopy Tahoma-to-Tahoma font substitutes. CORE-16264

4 years ago[WIN32K:NTGDI] Fix ASSERTS in REGION_bXformRgn. CORE-15992 1798/head
Doug Lyons [Sun, 4 Aug 2019 23:43:49 +0000 (18:43 -0500)]
[WIN32K:NTGDI] Fix ASSERTS in REGION_bXformRgn. CORE-15992

4 years ago[MEDIA][FONTS] Add Microsoft Sans Serif font (#1805)
Katayama Hirofumi MZ [Wed, 7 Aug 2019 03:31:13 +0000 (12:31 +0900)]
[MEDIA][FONTS] Add Microsoft Sans Serif font (#1805)

Add "Microsoft Sans Serif" fonts. CORE-16264

- Add "Microsoft Sans Serif" font by duplicating "Liberation Sans" font and renaming it.
- Add LICENSE file.

I made these font files by using FontForge. Its family name is "Microsoft Sans Serif". Its display name is "Microsoft Sans Serif". Its font filename is micross.ttf. The Underline Position is hacked by adding an integer value for workaround of FontForge's bug.

4 years ago[FREELDR] Some ARC-spec compatibility refactoring + simplifications & fixes.
Hermès Bélusca-Maïto [Tue, 6 Aug 2019 20:30:54 +0000 (22:30 +0200)]
[FREELDR] Some ARC-spec compatibility refactoring + simplifications & fixes.
CORE-9023

- During loading and initialization of the list of operating systems
  available in freeldr.ini, convert any legacy operating system entry
  encountered -- they are like those in NTLDR's boot.ini file, i.e.:

    ArcOsLoadPartition="LoadIdentifier" /List /of /Options

  into a new operating system INI entry, like those used by default in
  FreeLoader. This allows us to avoid treating this corner-case later in
  different parts of the code. Also, the "BootType" value is now
  determined there, only once.

- Convert the OS loaders entry-points to ARC-compatible ones, following
  the "Advanced RISC Computing Specification, Version 1.2" specification
  https://www.netbsd.org/docs/Hardware/Machines/ARC/riscspec.pdf

- Introduce helpers for retrieving options values from the argument vector
  in a simple way.

- Simplify LoadOperatingSystem(), since now the "BootType" value has
  been determined once while loading the list of OSes (see above) and
  is well-defined there. Use the BuildArgvForOsLoader() helper to build
  the ARC-compatible argument vector from the corresponding INI settings
  for the selected operating system entry, and use it when calling the
  corresponding OS loader.

- In the OS loaders, since we can now directly read the settings from
  the argument vector (instead of using INI settings), we can avoid
  using a bunch of fixed-size string buffers, and avoid potentially
  failing IniOpenSection() calls as well.

- Simplify code in the Linux loader (and the RemoveQuotes() function).

- Add UiShowMessageBoxesInArgv() that acts on the "MessageBox=" settings
  passed through the argument vector (equivalent to
  UiShowMessageBoxesInSection() ).

- Use string-safe functions where needed (copy/concatenation/printf on
  fixed-size buffers).

4 years ago[FREELDR] Add an INI helper that allows modifying an existing setting's value in...
Hermès Bélusca-Maïto [Fri, 2 Aug 2019 21:32:30 +0000 (23:32 +0200)]
[FREELDR] Add an INI helper that allows modifying an existing setting's value in memory.

4 years ago[WIN32SS] Exclude the entire menu from overlapping, not just the menu item 1807/head
Mark Jansen [Mon, 5 Aug 2019 20:57:21 +0000 (22:57 +0200)]
[WIN32SS] Exclude the entire menu from overlapping, not just the menu item
CORE-15863

4 years ago[WIN32SS] Iteratively mutate menu flags until we find a 'best fit'
Mark Jansen [Sun, 4 Aug 2019 21:47:02 +0000 (23:47 +0200)]
[WIN32SS] Iteratively mutate menu flags until we find a 'best fit'
CORE-15863

4 years ago[WIN32SS] Rewrite MENU_ShowPopup to take the exclude rectangle into account
Mark Jansen [Sat, 15 Jun 2019 19:14:41 +0000 (21:14 +0200)]
[WIN32SS] Rewrite MENU_ShowPopup to take the exclude rectangle into account
CORE-15863

4 years ago[SHELL32] Improve ShellExecute
Joachim Henze [Tue, 6 Aug 2019 18:24:55 +0000 (20:24 +0200)]
[SHELL32] Improve ShellExecute

This fixes regression CORE-6412 and also fixes CORE-12927
by bringing us a bit closer to Wine implementation.

Thanks to patches author Doug Lyons.
The removed code looks like historic workaround code.

Automated tests do improve as well
VBox https://reactos.org/testman/compare.php?ids=68662,68696
KVM https://reactos.org/testman/compare.php?ids=68663,68697

I intend to merge this back into 0.4.12RC.

4 years ago[SYSSETUP] Caption of 2nd stage ReactOS Setup is too heavy (#1806)
Katayama Hirofumi MZ [Tue, 6 Aug 2019 02:09:56 +0000 (11:09 +0900)]
[SYSSETUP] Caption of 2nd stage ReactOS Setup is too heavy (#1806)

The caption text of 2nd stage ReactOS Setup was too bold. CORE-16295

4 years ago[INF] Added BTRFS inf to remove unknown device
Benjamin Aerni [Mon, 5 Aug 2019 19:18:23 +0000 (12:18 -0700)]
[INF] Added BTRFS inf to remove unknown device

CORE-15928

4 years ago[SERVICES] Enable the backup and restore privileges before loading or unloading a...
Eric Kohl [Mon, 5 Aug 2019 18:18:17 +0000 (20:18 +0200)]
[SERVICES] Enable the backup and restore privileges before loading or unloading a user profile and then disable them again.

4 years ago[WIN32SS][NTUSER] Fix default menu item font weight (#1804)
Katayama Hirofumi MZ [Mon, 5 Aug 2019 14:16:01 +0000 (23:16 +0900)]
[WIN32SS][NTUSER] Fix default menu item font weight (#1804)

CORE-16294
We had added "Arial Black" font, so a request for heavy weight font will be realized as it is. This PR will fix font weight (FW_*) calculation of default menu items.

4 years ago[SETUP][INF] Helvetica must be substitute to Arial font (#1803)
Katayama Hirofumi MZ [Mon, 5 Aug 2019 10:55:00 +0000 (19:55 +0900)]
[SETUP][INF] Helvetica must be substitute to Arial font (#1803)

Helvetica must be font substitute to Arial font.

- Change some Helvetica substitutes to "Arial" from "Liberation Sans". Not all Helvetica. Some languages are lacking support.

4 years ago[MEDIA][FONTS] Replace Georgia fonts (#1802)
Katayama Hirofumi MZ [Mon, 5 Aug 2019 09:11:09 +0000 (18:11 +0900)]
[MEDIA][FONTS] Replace Georgia fonts (#1802)

Replace "Georgia" fonts with renamed "Gelasio". CORE-16293

- Replace "Georgia" fonts with renamed "Gelasio" fonts.
- Replace LICENSE file.

I made these font files by using FontForge. Their family name is "Georgia". Their display names are "Georgia", "Georgia Bold", "Georgia Bold Italic" and "Georgia Italic". Their font filenames are georgia.ttf, georgiab.ttf, georgiaz.ttf and georgiai.ttf. The Underline Positions are hacked by adding an integer value for workaround of FontForge's bug.

Gelasio is available at: https://github.com/SorkinType/Gelasio

4 years ago[MEDIA][FONTS] Replace 'Palatino Linotype' fonts (#1800)
Katayama Hirofumi MZ [Mon, 5 Aug 2019 05:36:06 +0000 (14:36 +0900)]
[MEDIA][FONTS] Replace 'Palatino Linotype' fonts (#1800)

Add 'Palatino Linotype' fonts with renamed 'TeXGyrePagella'. CORE-16292

- Replace 'Palatino Linotype' fonts with renamed "TeXGyrePagella".
- Replace LICENSE file.

I made these font files by using FontForge. Their family name is "Palatino Linotype". Their display names are "Palatino Linotype", "Palatino Linotype Bold", "Palatino Linotype Bold Italic" and "Palatino Linotype Italic". Their font filenames are pala.ttf, palab.ttf, palabi.ttf and palai.ttf. The Underline Positions are hacked by adding an integer value for workaround of FontForge's bug.

4 years ago[SYSSETUP] Fix bold font (#1799)
Katayama Hirofumi MZ [Mon, 5 Aug 2019 00:44:25 +0000 (09:44 +0900)]
[SYSSETUP] Fix bold font (#1799)

The font of radio buttons at ReactOS 2nd setup was wrong and too heavy. CORE-16291

4 years ago[MEDIA][FONTS] Fix Arial Black metadata (#1797)
Katayama Hirofumi MZ [Mon, 5 Aug 2019 00:42:24 +0000 (09:42 +0900)]
[MEDIA][FONTS] Fix Arial Black metadata (#1797)

Fix "Arial Black" font metadata. CORE-16291
- Its weight must be Black.
- It must be San Serif.

4 years ago[SERVICES] Fix indentation and remove an unused variable
Eric Kohl [Sun, 4 Aug 2019 20:43:46 +0000 (22:43 +0200)]
[SERVICES] Fix indentation and remove an unused variable

4 years ago[SERVICES] Use a proper security descriptor for the control pipes
Eric Kohl [Sun, 4 Aug 2019 20:30:40 +0000 (22:30 +0200)]
[SERVICES] Use a proper security descriptor for the control pipes

4 years ago[SERVICES] Do not try to start lsass.exe as a service.
Eric Kohl [Sun, 4 Aug 2019 18:58:12 +0000 (20:58 +0200)]
[SERVICES] Do not try to start lsass.exe as a service.

Starting the security services (samss, netlogon, etc) requires special code in services.exe and lsasrv.dll.

4 years ago[RPCSS] Prevent the RPCSS service from getting stopped
Eric Kohl [Sun, 4 Aug 2019 17:58:50 +0000 (19:58 +0200)]
[RPCSS] Prevent the RPCSS service from getting stopped

CORE-13500

4 years ago[FREELDR] Some initialization fixes.
Hermès Bélusca-Maïto [Sun, 4 Aug 2019 15:35:46 +0000 (17:35 +0200)]
[FREELDR] Some initialization fixes.

- Initialize BootPath and BootOptions buffers when fallback behaviour is not taken.
- Correctly skip all the understood whitespace (space & tabs) and the
  quotes before reading the boot options when using the alternative syntax:

  [Operating Systems]
  section_name = "ReactOS" /bootoptions

  Fixes the minor regression introduced in 370e8564 (r43875).

4 years ago[FREELDR] Whitespace, minor code styles and comments fixes only.
Hermès Bélusca-Maïto [Sun, 4 Aug 2019 15:29:07 +0000 (17:29 +0200)]
[FREELDR] Whitespace, minor code styles and comments fixes only.

4 years ago[FREELDR] Unload freeldr.ini file before booting.
Hermès Bélusca-Maïto [Tue, 30 Jul 2019 00:11:26 +0000 (02:11 +0200)]
[FREELDR] Unload freeldr.ini file before booting.

4 years ago[FREELDR] Use NOGUIBOOT when booting in Safe-Mode.
Hermès Bélusca-Maïto [Mon, 29 Jul 2019 23:49:23 +0000 (01:49 +0200)]
[FREELDR] Use NOGUIBOOT when booting in Safe-Mode.

4 years ago[NTOSKRNL] Implement SeRegisterLogonSessionTerminatedRoutine() and SeUnregisterLogonS...
Eric Kohl [Sun, 4 Aug 2019 11:59:39 +0000 (13:59 +0200)]
[NTOSKRNL] Implement SeRegisterLogonSessionTerminatedRoutine() and SeUnregisterLogonSessionTerminatedRoutine().

4 years ago[CODEOWNERS] Remove 'CMakeLists.txt' rule, which is too noisy.
Thomas Faber [Sun, 4 Aug 2019 10:55:45 +0000 (12:55 +0200)]
[CODEOWNERS] Remove 'CMakeLists.txt' rule, which is too noisy.

4 years ago[DEVMGR] Add the code to uninstall a device from the property page
Eric Kohl [Sun, 4 Aug 2019 09:18:42 +0000 (11:18 +0200)]
[DEVMGR] Add the code to uninstall a device from the property page

4 years ago[SETUP][INF] Fix font substitutes (#1794)
Katayama Hirofumi MZ [Sun, 4 Aug 2019 07:10:15 +0000 (16:10 +0900)]
[SETUP][INF] Fix font substitutes (#1794)

Fix font substitutes. CORE-16264

- Modify muifonts.h.
- Modify font.inf.

4 years ago[FONTS][SETUP][BOOTDATA] Add Lucida Console font (#1793)
Katayama Hirofumi MZ [Sun, 4 Aug 2019 06:38:45 +0000 (15:38 +0900)]
[FONTS][SETUP][BOOTDATA] Add Lucida Console font (#1793)

Add "Lucida Console" fonts. CORE-16264

- Add "Lucida Console" font by duplicating "DejaVu Sans Mono" font and renaming it.
- Delete some "Lucida Console" font substitutes.
- Add LICENSE file.

I used FontForge to rename it. Its family name is "Lucida Console". Its display name is "Lucida Console". Its font filename is lucon.ttf. The Underline Positions are hacked by adding an integer value for workaround of FontForge's bug.