Colin Finck
39b6643030
[SYSDM] Move IDS_DEVS to the LANG_NEUTRAL resources to deduplicate it.
...
It should still be updated at some point, maybe automatically, but this should serve us well for the moment.
Use UTF-8 for the deduplicated string.
2021-02-01 07:32:14 +01:00
Colin Finck
1adbae9bae
[SYSDM] Restore actual fix from 9a0246ef65
2021-02-01 07:32:14 +01:00
Colin Finck
c1356e8d47
Revert "[SYSDM] Fix version string cutoff CORE-17429"
...
This reverts commit be2518704e
.
2021-02-01 07:32:14 +01:00
Hermès Bélusca-Maïto
3405cab9dd
[USETUP] Only check whether the system partition is of recognized type and if not, install FreeLdr on floppy/removable media.
2021-02-01 01:48:15 +01:00
Hermès Bélusca-Maïto
74c0a37e2f
[SETUPLIB][REACTOS][USETUP] Move partition types information to its dedicated file; update MBR partition types and add GPT GUID partition types.
2021-02-01 01:48:14 +01:00
Hermès Bélusca-Maïto
8f61f5c004
[USETUP] Add partition and disk description helpers to get standardized description strings. Replace and simplify USETUP code.
2021-02-01 01:48:10 +01:00
Victor Perevertkin
8248f02ff4
[HALX86] Restore Windows compatibility on reporting device IDs
...
And forwarding IRPs from FDO to PDO
This along with 8aff2c9de7
reverts the commit 74b889b397
2021-01-31 05:37:27 +03:00
Joachim Henze
f91efe1502
[SYSDM] Delete 2 forgotten defines
...
Addendum to 0.4.15-dev-1630-g be25187
(CORE-17429)
2021-01-30 20:07:30 +01:00
Eric Kohl
86a65fccb6
[SYSSETUP] Refactor ApplyAccountSettings() and add NewAdministratorName and NewGuestName options
2021-01-30 13:52:14 +01:00
Eric Kohl
cddc57431f
[INF] defltwk.inf: Reset NewGuestName to default value
2021-01-30 13:49:21 +01:00
Eric Kohl
0edaeba452
[SYSSETUP][INF] Add account settings
...
- Add EnableAdminAccount and EnableGuestAccount options
- Fix typo: TICKS_PER_SECOND --> TICKS_PER_MINUTE
2021-01-30 09:38:00 +01:00
Jérôme Gardou
6a4c6ea5d0
[RTL] Implement RtlTryAcquireSRWLockExclusive & RtlTryAcquireSRWLockShared
2021-01-29 18:42:54 +01:00
Jérôme Gardou
2486558ae1
[RTL] Do not mess with critical section lock when there is no reason to.
...
- When process is shutting down.
- When the caller is so drunk that they leave twice the pub altough they entered it only once.
2021-01-29 18:18:09 +01:00
Jérôme Gardou
6d697561f0
[RTL] Fix heap usage flags
...
- Use Heap->ForceFlags where needed
- Use passed-in flags instead of the heap flags in some places
- Do not recursively acquire the heap lock
2021-01-29 09:42:13 +01:00
Hervé Poussineau
d74df8af74
[SDK x64] Fix MSVC x64 compilation after 5d7dd4a3b5
2021-01-29 08:36:04 +01:00
Hervé Poussineau
db35a7861f
[FREELDR] Fix MSVC x64 compilation after d2f73877b7
2021-01-29 07:46:13 +01:00
Hervé Poussineau
d2f73877b7
[FREELDR/x64] Change syntax to be compatible with GAS x64
2021-01-28 23:10:01 +01:00
Hervé Poussineau
ec7d874c18
[FREELDR/x64] Merge x64 and x86 versions, to fix compilation with GAS x64
...
Upper bits of rcx are already checked to be 0. So, we can only take care of lower bits.
This also generates smaller code.
2021-01-28 23:10:01 +01:00
Hervé Poussineau
2a6d8465d6
[KDVBOX] Fix compilation with GAS x64
2021-01-28 23:10:01 +01:00
Hervé Poussineau
794f15e45f
[NTOSKRNL] Fix link with GCC x64
...
KeLowerIrql/KeRaiseIrqlToDpcLevel/KfRaiseIrql are defined as FORCEINLINE in ntoskrnl/ke/amd64/irql.c
Use KxLowerIrql/KxRaiseIrqlToDpcLevel/KxRaiseIrql instead, which call their respective Ke*/Kf* counterparts.
2021-01-28 23:10:01 +01:00
Hervé Poussineau
5904361a54
[FREELDR] In PE loader, use cache to not load twice the start of the file
...
This is especially important in PXE boot, where a seek backwards requires reloading the file from start.
2021-01-28 20:45:44 +01:00
Hervé Poussineau
9d110db433
[NTOS:KDBG] Support KDBG on x64
2021-01-28 20:44:21 +01:00
Hervé Poussineau
457b83f76a
[PSEH] When using GCC x64, use native SEH support instead of PSEH
2021-01-28 20:44:21 +01:00
Hervé Poussineau
5d7dd4a3b5
[ASM x64] Prevent having same label multiple times in ntoskrnl/ke/amd64/trap.S
2021-01-28 20:31:17 +01:00
Hervé Poussineau
c345f7f137
[ASM x64] Make UNIMPLEMENTED macro self-suffisant
...
This fixes link errors with MsgUnimplemented not defined on binaries not linking to CRT.
2021-01-28 20:31:16 +01:00
Hervé Poussineau
ae4ce99e00
[ASM x64] Fix usage of macro .allocstack
...
.allocstack only accepts one 'size' parameter."
2021-01-28 20:31:16 +01:00
Victor Perevertkin
a7cb59728d
[GITHUB] Fix PATH setting for Flex and Bison
2021-01-28 06:57:33 +03:00
Victor Perevertkin
5375e33490
[CMAKE] Generate Flex and Bison files at build time
...
We have Flex and Bison distributed along with RosBE 2.2 so this should
not be a problem
2021-01-28 06:43:05 +03:00
Victor Perevertkin
91fceab36e
[NTOS:IO][NTOS:PNP] Add PiActionAddBootDevices device action
...
During the boot process, it makes possible to initalize the driver's
devices right after the driver is loaded. Moreover, this way one can be
sure that all critical devices are initialized before the
IopMarkBootPartition call (because we explicitly call the driver's
AddDevice routine now, after each driver is loaded)
CORE-7826
2021-01-27 05:15:16 +03:00
Victor Perevertkin
b0c931ac91
[PARTMGR] Remove hacks as PnP manager should not send bogus IRPs anymore
2021-01-27 05:15:16 +03:00
Victor Perevertkin
d14d7e5b8c
[USBHUB] Add a delay hack for USB boot
...
CORE-7826
2021-01-27 05:15:15 +03:00
Victor Perevertkin
6f389a35db
[SETUPLIB] Add a workaround for installing from USB drives
2021-01-27 05:15:15 +03:00
Victor Perevertkin
798fc13b48
[NTOS:PNP] Implement NT5.2-like DEVICE_NODE state management
...
- Use DeviceNode->State field and its values, instead of
DeviceNode->Flags for tracking current node state
- Change DNF_* flags to the ones compatible with Windows XP+
- Simplify state changes for device nodes and encapsulate all the logic
inside the PiDevNodeStateMachine routine. This makes the ground for
future improvements in the device removal sequence and
resource management
- Now values inside DeviceNode->State and ->Flags are compatible with
the windbg !devnode macro and can be tracked using it
- BUGFIX: fixed cases where IRP_MN_START_DEVICE or
IRP_MN_QUERY_DEVICE_RELATIONS may be sent to a device after a
IRP_MN_REMOVE_DEVICE
CORE-7826
2021-01-27 05:15:15 +03:00
Victor Perevertkin
b704292808
[NTOS:IO] Add more enumeration requests during the boot process
...
This is to ensure that all needed devices are initialized during the
early boot
CORE-7826
2021-01-27 05:15:15 +03:00
Victor Perevertkin
e468da06be
[SETUPAPI] Set the CONFIGFLAG_FAILEDINSTALL flag in SetupDiInstallDevice
...
The code follows the comment now. The fix may be wrong, but DNF_DISABLED
is a kernel flag and should definitely not be used in a dll.
2021-01-27 05:15:14 +03:00
Victor Perevertkin
942f2e43c1
[BOOTDATA] Don't remove critical device DB for the setup
...
We need the CDDB during the setup, so don't delete it for now.
The "proper" way for filling it is yet to be decided, Windows does that
from the data in txtsetup.sif file. Our final approach may be different
2021-01-27 05:15:14 +03:00
Victor Perevertkin
0b81691806
[DEVMGR] Remove no longer needed hack CORE-5643
...
This reverts commit f9739601b3
.
2021-01-27 05:15:03 +03:00
Eric Kohl
c0caa5c0ae
[SYSSETUP][INF] Add lockout setup to the security profile
2021-01-24 21:35:33 +01:00
Eric Kohl
83f3bd8bd6
[SYSSETUP][INF] Add password setup to the security profile
2021-01-24 15:28:23 +01:00
Jérôme Gardou
f63401060d
[NTOS:MM] Fix compilation for amd64 port.
...
Addendum to 0919324772
2021-01-22 10:34:20 +01:00
Jérôme Gardou
0919324772
[NTOS:MM] Get rid of "compatibility layer" for hyper space mappings
...
Let's call that a bug layer instead.
2021-01-22 09:33:06 +01:00
Jérôme Gardou
57e8684bc6
[NTOS:MM] Allow "creating" a PDE in legacy Mm for foreign process
2021-01-22 09:32:36 +01:00
Jérôme Gardou
af3527d4d2
[MSVCRTEX] Do not include _CI* math functions
...
They are exported by msvcrt
CORE-17423
2021-01-21 09:43:43 +01:00
Joachim Henze
4e289ce0cc
[SYSDM] Addendum CORE-17429
...
This define in resource.h is also not needed anymore.
2021-01-20 03:42:39 +01:00
Joachim Henze
9a0246ef65
[SYSDM] Improve de-DE Uptime format translation
...
I tried initially to use Tag(e) but that does look too
crowded with the stuff after it. Since Windows is also not
consistent with the () for singular vs plural, I did chose
always plural "Tage".
Most often people will see "0 Tage" anyway, and that fits well.
2021-01-20 03:16:07 +01:00
Joachim Henze
be2518704e
[SYSDM] Fix version string cutoff CORE-17429
...
The version string cutoff started to happen when we switched from SVN
with its short revision number to git with the longer hashes.
0.4.7-dev-502-gc2c66af was the first git-only rev (2017-Oct-03)
This brings the dialogs layout closer to XP.
Also fixes some other truncations for specific languages.
And unifies the touched text controls sizes for all languages.
The credits have been moved to readme.txt where they are more present and
we can avoid having to groom all languages files each time we want to add
a new dev (and sysdm.cpl to grow each time). Less maintenance.
0.4.15-dev-1629-g9aa73da gcc 8.4.0 dbg RosBE2.2.1 I18N=all binary size
sysdm.cpl before: 925.696bytes after: 705.024bytes
readme.txt still fits into a single NTFS cluster afterwards with 3702bytes
2021-01-20 02:45:44 +01:00
Hermès Bélusca-Maïto
9aa73da948
[XDK] Even the DBG_UNREFERENCED_PARAMETER() should use (void)P. Addendum to 46ca069e
.
2021-01-18 22:23:24 +01:00
Victor Perevertkin
46ca069e42
[XDK] Remove UNREFERENCE_LOCAL_VARIABLE macro
...
Change UNREFERENCED_PARAMETER to (VOID)P to support const parameters
2021-01-19 00:15:02 +03:00
Victor Perevertkin
af0f8581ad
[HDAUDBUS] Return failure from HDA_SendVerbs on a timeout
...
Addendum to 48b3c61b5d
2021-01-18 04:02:32 +03:00
Eric Kohl
497ca54205
[INF] Add default security settings for ReactOS Server
2021-01-17 15:12:18 +01:00