Commit graph

75678 commits

Author SHA1 Message Date
Hermès Bélusca-Maïto a9411fb658
[FREELDR] Minor code style - use RtlZeroMemory(); shorter member name; use different debug channel. 2019-09-13 15:18:28 +02:00
Hermès Bélusca-Maïto eeff926ede
[FREELDR] Limit the usage of DiskStopFloppyMotor() in hardware/platform-specific code.
- Move DiskStopFloppyMotor() calls into the implementations of
  Boot(New)LinuxKernel() and Reboot() HW functions, and the explanation
  comments in ChainLoadBiosBootSectorCode().

- Remove unneeded DiskStopFloppyMotor() dummies in ARM and PPC code.

- Use more adequate bitmask value to be sent to floppy's Digital Output
  Register for shutting down its motor (based on OSDev & our floppy
  controller driver).
2019-09-13 15:18:27 +02:00
Hermès Bélusca-Maïto 4843c1a954
[FREELDR] Other enhancements.
- Add optional arguments BootDrive and BootPartition to
  ChainLoadBiosBootSectorCode() so as not to modify explicitly the
  FrldrBootDrive and FrldrBootPartition variables, that should remain
  purely internal.

- Implement ChainLoadBiosBootSectorCode() for x64.

- Get rid of the machine-specific DiskGetBootPath(), and instead do its
  job only once in the machine-specific InitializeBootDevices() (or in
  MachInit() for PPC).
  Cache the result of this operation into the globally-accessible
  FrldrBootPath buffer. This avoids the unneeded calls to (Mach)DiskGetBootPath()
  we used to do before.
  Also remove the separate distinction between the PC and XBOX versions
  of this functionality.

- Move the PC-specific DiskIsDriveRemovable() and DiskGetBootPath()
  as well as the disk-IO-error functionality, back into the
  corresponding PC-arch files.

- Simplify IniFileInitialize(), getting rid of IniOpenIniFile().
2019-09-13 15:18:07 +02:00
Stanislav Motylkov b16ca9cd65 [WIN32SS][NTUSER] Fix debug print in winpos.c (#1893) 2019-09-12 15:53:29 +02:00
Eric Kohl 3d0ae05303 [SYSDM] Show the profile type (local or roaming) in the type column, show the other profile states in the status column 2019-09-12 10:23:33 +02:00
Eric Kohl 6984729f81 [SYSDM] Improvements to the user profile size format 2019-09-11 15:12:26 +02:00
Eric Kohl 7072a34739 [SYSDM] Calculate and display the size of the user profiles 2019-09-11 10:14:02 +02:00
Eric Kohl cd2d97873e [SYSDM] Remove unused variables
Thanks a lot Katayama Hirofumi for the hint!
2019-09-10 15:38:29 +02:00
Eric Kohl 48c01c8717 [SYSDM] Check the profile directory and hive file and display the last write date of the hive file. 2019-09-10 13:40:47 +02:00
Katayama Hirofumi MZ b81f9b0842
[WIN32SS][FONT] Fix registry-based management (#1879)
CORE-16269
- Fix and improve registry-based font entry management.
- Append style name to registry value name.
- Make some DPRINT DPRINT1 (noisy).
2019-09-10 20:39:52 +09:00
Timo Kreuzer eaf24cc380 [DLLEXPORT_TEST] Fix duplicated export on non-x86 architectures 2019-09-08 16:59:57 +02:00
Timo Kreuzer 175abab7ad [IPHLPAPI] Simplify spec file
Also move the exports where they are on Windows. This was already handled correctly by MSVC and still doesn't fix the order on GCC builds, but that is a different story and shall be addressed at a different time.
2019-09-08 16:23:46 +02:00
Timo Kreuzer 76eed61813 [IPHLPAPI] Improve function stubs 2019-09-08 16:23:46 +02:00
Timo Kreuzer 2adbfdf6cd [PSDK] Add fltdefs.h 2019-09-08 16:23:46 +02:00
Carlo Bramini 6b8d722bb2 Fix italian translation: "Cancella" -> "Annulla" (#1902) 2019-09-08 14:04:41 +02:00
Timo Kreuzer 85616bc8b2 [SETUP] Add support for archtitcure specific inf sections and use it for x64 computer type 2019-09-08 10:42:16 +02:00
Timo Kreuzer a71a6531ef [UNIATA] Fix uniata on x64 2019-09-08 10:39:01 +02:00
Thomas Faber acfea670fe
[KMTESTS:EX] Try to avoid some spurious test failures.
E.g. https://reactos.org/testman/detail.php?id=43906459&prev=43889679

This test depends on the timeout to be long enough for another thread to
actually have started waiting, which may take longer than 10ms under load.
2019-09-08 08:06:51 +02:00
Thomas Faber 5d4f13f625
[ACPICA] Update to version 20190816. CORE-16368 2019-09-08 07:46:53 +02:00
Pierre Schweitzer 7ff3658f10
[BTRFS] Reenable the MountMgr thread
Now that IOCTL_MOUNTMGR_QUERY_POINTS and IOCTL_MOUNTMGR_CHANGE_NOTIFY have
been fixed, the thread no longer eats 100% CPU nor prevent ReactOS shutdown
2019-09-07 23:28:58 +02:00
Pierre Schweitzer d904ee19c5
[MOUNTMGR] Properly return EpicNumber in MountMgrChangeNotify 2019-09-07 23:07:54 +02:00
Serge Gautherie 400eb23a64 [BTRFS] Revert "Allow driver to start at first stage when no hive is present."
Not needed anymore.

This reverts commit 80e11516b1.
2019-09-07 19:58:03 +02:00
Serge Gautherie e08dc30569 [BTRFS] Revert "Leak the root stream file object on mount."
Not needed anymore.

This reverts commit c13ccc92f6.
2019-09-07 19:58:03 +02:00
Pierre Schweitzer ddc853a4be
[SDK] Workaround MSVC2010 not having _Bool type
CORE-16366
2019-09-06 08:56:58 +02:00
Pierre Schweitzer 6e3c0d360b
[BTRFS] bool must be 1-sized
CORE-16366
2019-09-06 08:56:26 +02:00
Serge Gautherie b45f27cf2e [MOUNTMGR] Remove a leftover UNREFERENCED_PARAMETER()
Addendum to 77657c22c9.
2019-09-06 08:34:14 +02:00
Pierre Schweitzer ff19ce934b
[MOUNTMGR] Don't overrun output buffer in QueryPointsFromMemory 2019-09-06 08:30:18 +02:00
Pierre Schweitzer 26a31b160a
[MOUNTMGR] Fix QueryPointsFromSymbolicLinkName and make it working
Select the current stack location for output buffer
And set output size so that buffer gets properly copied to caller
2019-09-06 08:28:36 +02:00
Pierre Schweitzer 16ec2e2aa5
[MOUNTMGR_APITEST] Add a test suite for the mount manager
It only tests IOCTL_MOUNTMGR_QUERY_POINTS for now
2019-09-05 08:36:20 +02:00
Pierre Schweitzer d592e00dfa
[MOUNTMGR] Fix QueryPointsFromMemory and make it working
Select the current stack location for output buffer
And set output size so that buffer gets properly copied to caller
2019-09-05 08:36:19 +02:00
Pierre Schweitzer 70d29ec423
[MOUNTMGR] Properly validate input buffer size
This avoids IOCTL_MOUNTMGR_QUERY_POINTS always failing
2019-09-05 08:36:19 +02:00
Pierre Schweitzer 77657c22c9
[MOUNTMGR] Fix global symbolic link creations
They were wrongly pointing to the original target once rewritten
instead of pointing to the proper target: the device.

This notably fixes opening the MountMgr device from user
mode (to perform IOCTL calls, for instance), and might
also fix various bugs dealing with global namespaces.
This might have some various effects in ReactOS~.
2019-09-05 08:36:19 +02:00
jimtabor 6f353f7747 [Win32SS|Eng] Update stubs.
These functions are no longer support for UMPD.
2019-09-04 13:09:34 -05:00
Victor Perevertkin bc44b334d7
[TXTSETUP] Revert an accidental change 2019-09-04 17:54:00 +03:00
Victor Perevertkin 6392c5a78c
[USBHUB_NEW] Enable generic USB hubs (USB class 09)
They actually work, tested on a couple of real devices
2019-09-04 05:26:02 +03:00
jimtabor 3ca67d97e2 [Win32SS] Fix safe pointer and define type. 2019-09-03 15:02:46 -05:00
jimtabor c698eff041 [Win32SS] Implement EngCreate/DeletePalette.
Safe to be called from user side without UMPD support.
2019-09-03 14:36:20 -05:00
Pierre Schweitzer dcd463ba98
[BTRFS] Fix fileinfo.c build 2019-09-02 22:17:17 +02:00
Pierre Schweitzer 021e25f249
[BTRFS] Fix create.c build 2019-09-02 22:02:45 +02:00
Pierre Schweitzer fe0a6c9be4
[BTRFS] Fix dirctl.c build 2019-09-02 21:48:54 +02:00
Pierre Schweitzer 255ef2c332
[UBTRFS] Upgrade to 1.4
CORE-16354
2019-09-02 08:19:49 +02:00
Pierre Schweitzer 318da0c18c
[BTRFS] Upgrade to 1.4
CORE-16354
2019-09-02 08:19:48 +02:00
Pierre Schweitzer a0592b71e9
[CRT] Import stdbool.h from CLANG
CORE-16354
2019-09-02 08:19:48 +02:00
Doug Lyons 79d67dc846 Merge pull request #1889 from Doug-Lyons/find_regression_test
Add Regression test for "find" using BAT with Conditionals "&&" and "||"
2019-09-01 23:03:16 +02:00
Stanislav Motylkov b54a38b8c0 [XBOXVMP] Improve debugging prints 2019-09-01 23:01:57 +02:00
Stanislav Motylkov 816149e0c3 [XBOXVMP] Code formatting only 2019-09-01 23:01:57 +02:00
Stanislav Motylkov 053bf17e8b [BOOTVID] Refactor font data from i386 and arm bootdata.c (#1891) 2019-09-01 23:01:40 +02:00
Bișoc George 9efe8dab89 [CPL] Do not enable the "Apply" button unconditionally (#1876)
Fix for WINED3DCFG and OPENGLCFG.
CORE-16330
2019-09-01 22:58:43 +02:00
Eric Kohl 12e2039743 [SYSDM] Only Administrators should see all user profiles and be able to copy or delete them 2019-09-01 19:39:28 +02:00
Stanislav Motylkov 17bb6d10eb [HAL] Return correct bus handler in HaliFindBusAddressTranslation
This fixes the bug when VidInitialize asks for different translated addresses
and VgaIsPresent always returns FALSE either because the machine does not have
VGA controller at all (e.g. 86Duino Zero), or it does have video hardware
that is not compatible with VGA standard (e.g. Original Xbox).

The problem investigated by Stanislav Motylkov. Suggested fix by Thomas Faber.

CORE-14625 CORE-16216 CORE-16222

Co-authored-by: Thomas Faber <thomas.faber@reactos.org>
2019-09-01 16:37:56 +02:00