He Yang [Sat, 21 Nov 2020 17:05:22 +0000 (11:05 -0600)]
[TRANSLATION][CMD] Update zh-CN translation (partially) (#3330)
Aobi Chan CL [Sat, 21 Nov 2020 17:03:37 +0000 (01:03 +0800)]
[TRANSLATION] Improve zh-TW translation (#3218)
- Added zh-TW translation for the following modules: credui, crypt32, getuname, mapi32, themeui, shlwapi.
- Modify zh-TW translation for other files.
- Moving Traditional Chinese translation back to Zh.rc for files came from Wine (comdlg32).
Co-authored-by: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito@reactos.org>
Hermès Bélusca-Maïto [Sat, 21 Nov 2020 16:34:55 +0000 (17:34 +0100)]
Addendum to commit
3e79cb8e: Add also the official URL to the PCI IDs database.
Serge Gautherie [Thu, 12 Nov 2020 00:22:46 +0000 (01:22 +0100)]
[HALX86] Update the PCI hardware IDs database.
Extracted from the pci.ids database at https://pci-ids.ucw.cz/ from 2020-11-14 03:15:02 .
Maintained by Albert Pool, Martin Mares, and other volunteers from the PCI ID Project.
Co-authored-by: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito@reactos.org>
Jérôme Gardou [Fri, 20 Nov 2020 18:56:56 +0000 (19:56 +0100)]
[VMAKE/WIDL] Properly fix build (try 3)
Jérôme Gardou [Fri, 20 Nov 2020 18:54:54 +0000 (19:54 +0100)]
[CMAKE] Fix host tools dependency tracking
Stanislav Motylkov [Fri, 20 Nov 2020 18:16:37 +0000 (21:16 +0300)]
[RAPPS] Properly use FormatMessageW with WinInet message table
Addendum to
fb1582d. CORE-17375 CORE-17377
Jérôme Gardou [Fri, 20 Nov 2020 09:17:43 +0000 (10:17 +0100)]
[CMAKE/WIDL] Fix build (try 2)
Jérôme Gardou [Fri, 20 Nov 2020 09:12:31 +0000 (10:12 +0100)]
[CMAKE/WIDL] Fix build
Jérôme Gardou [Fri, 20 Nov 2020 08:47:33 +0000 (09:47 +0100)]
[CMAKE/WIDL] Run widl from the source directory
This dramatically improves ccache direct hit rate as now the generated files are identical across build trees
Hervé Poussineau [Tue, 17 Nov 2020 13:22:27 +0000 (14:22 +0100)]
[NTOS:KD] Correctly define previous mode when entering KDBG (addendum to
0c76bbfe98d8dae26749670cba355136413ba3ce)
Jérôme Gardou [Mon, 16 Nov 2020 13:27:47 +0000 (14:27 +0100)]
[PARTMGR] Use FORCEINLINE
Jérôme Gardou [Mon, 16 Nov 2020 13:27:24 +0000 (14:27 +0100)]
[SDK] Use FORCEINLINE instead of inline
Jérôme Gardou [Tue, 10 Nov 2020 13:25:54 +0000 (14:25 +0100)]
[NCFTP] declare DisposeWinsock as static
Jérôme Gardou [Tue, 10 Nov 2020 08:20:04 +0000 (09:20 +0100)]
[GITHUB] Add CLang build action
Jérôme Gardou [Mon, 9 Nov 2020 16:01:07 +0000 (17:01 +0100)]
[NTOSKRNL] DO not disable optimisations when compiling with CLang
Jérôme Gardou [Mon, 9 Nov 2020 15:05:12 +0000 (16:05 +0100)]
[RAPPS] Do not implicitly cast pointer to BOOL
Jérôme Gardou [Mon, 9 Nov 2020 14:59:55 +0000 (15:59 +0100)]
[ATL] Declare pointer as return type for functions returning pointers
Jérôme Gardou [Mon, 9 Nov 2020 12:28:34 +0000 (13:28 +0100)]
[EXT2FS] Use GNU89 standard when using CLang
Jérôme Gardou [Mon, 9 Nov 2020 12:28:08 +0000 (13:28 +0100)]
[CDFS] Use GNU89 standard when using CLang
Jérôme Gardou [Mon, 9 Nov 2020 11:54:46 +0000 (12:54 +0100)]
[MSVCRT] make some functions static
Jérôme Gardou [Mon, 9 Nov 2020 11:54:06 +0000 (12:54 +0100)]
[CRT] Use ASM aliases for CLang builds
Jérôme Gardou [Mon, 9 Nov 2020 11:04:25 +0000 (12:04 +0100)]
[NFS41_DRIVER] Use GNU89 standard when compiling with CLang.
Jérôme Gardou [Mon, 9 Nov 2020 08:45:03 +0000 (09:45 +0100)]
[STORAHCI] Use FORCEINLINE instead of __inline
Jérôme Gardou [Mon, 9 Nov 2020 08:41:48 +0000 (09:41 +0100)]
[NTOSKRNL] Link memcmp to the import lib when using CLang
CLang performs some optimisations on e.g. strcmp, but memcmp is not exported by ntoskrnl
Jérôme Gardou [Mon, 9 Nov 2020 08:15:57 +0000 (09:15 +0100)]
[NDIS] Use FORCEINLINE instead of __inline
Jérôme Gardou [Fri, 6 Nov 2020 20:39:00 +0000 (21:39 +0100)]
[MSVCRTEX] Add some floating point functions for CLang build
Clang makes optimisations requiring functions not present in msvcrt
Jérôme Gardou [Fri, 6 Nov 2020 16:27:32 +0000 (17:27 +0100)]
[CRT] Fix __forceinline definition for clang
Jérôme Gardou [Thu, 10 Sep 2020 21:24:59 +0000 (23:24 +0200)]
[CRT] Fix intrinsics definition with clang
Jérôme Gardou [Thu, 10 Sep 2020 21:23:14 +0000 (23:23 +0200)]
[CMAKE] Fix use of CLang
- Updated toolchain file
- set GCC variable when using CLang in "GCC mode"
- Properly retrieve GCC support libraries
- Various flags needed to get this going
Hervé Poussineau [Sun, 12 Apr 2020 07:30:32 +0000 (09:30 +0200)]
[NTOS:KD] Move some KDBG-specific variables to KDBG-specific file
Hervé Poussineau [Thu, 9 Apr 2020 12:31:47 +0000 (14:31 +0200)]
[NTOS:KD] Merge KdpReportExceptionStateChange() with kd64 version
Hervé Poussineau [Wed, 8 Apr 2020 21:08:57 +0000 (23:08 +0200)]
[NTOS:KD] Use a PCONTEXT instead of a PKTRAP_FRAME in KDBG
Hervé Poussineau [Tue, 31 Mar 2020 21:40:14 +0000 (23:40 +0200)]
[NTOS:KD] Move some declarations where they belong
Hervé Poussineau [Tue, 31 Mar 2020 21:35:27 +0000 (23:35 +0200)]
[NTOS:KD] Remove useless define
KdbEnterDebuggerException() is only called when KDBG is defined.
Hervé Poussineau [Sat, 28 Mar 2020 18:15:57 +0000 (19:15 +0100)]
[NTOS:KD] Remove useless variables/members
Those where only set and never read.
Hervé Poussineau [Sat, 28 Mar 2020 09:45:31 +0000 (10:45 +0100)]
[NTOS:KD] Remove Bochs port debugging
You can use serial port debugging instead.
Hervé Poussineau [Mon, 9 Mar 2020 23:10:08 +0000 (00:10 +0100)]
[NTOS:KD] Remove useless implementation of BREAKPOINT_PRINT in KdSystemDebugControl
This is (as expected) handled in KdpTrap(), which also calls KdpPrint().
Hervé Poussineau [Mon, 9 Mar 2020 23:01:22 +0000 (00:01 +0100)]
[NTOS:KD] Merge KdpReportCommandStringStateChange() with kd64 version
Hervé Poussineau [Mon, 9 Mar 2020 23:00:00 +0000 (00:00 +0100)]
[NTOS:KD] Merge KdpReportLoadSymbolsStateChange() with kd64 version
Hervé Poussineau [Mon, 9 Mar 2020 22:48:55 +0000 (23:48 +0100)]
[NTOS:KD] Merge KdEnableDebuggerWithLock()/KdDisableDebuggerWithLock() with kd64 version
Hervé Poussineau [Mon, 9 Mar 2020 22:46:32 +0000 (23:46 +0100)]
[NTOS:KD] Merge KdEnterDebugger()/KdExitDebugger() with kd64 version
Hervé Poussineau [Mon, 9 Mar 2020 22:45:22 +0000 (23:45 +0100)]
[NTOS:KD] Remove useless uses of _WINKD_
Hervé Poussineau [Sun, 8 Mar 2020 22:16:43 +0000 (23:16 +0100)]
[NTOS:KD] Merge KdpReport() with kd64 version
Hervé Poussineau [Sun, 8 Mar 2020 16:52:19 +0000 (17:52 +0100)]
[NTOS:KD] Merge KdpTrap() with kd64 version
Hervé Poussineau [Sat, 7 Mar 2020 22:33:57 +0000 (23:33 +0100)]
[NTOS:KD] Merge KdpPrintString()/KdpPromptString() with kd64 version
Hervé Poussineau [Sat, 7 Mar 2020 18:32:45 +0000 (19:32 +0100)]
[NTOS:KD] Merge KdpStub with kd64 version
Hervé Poussineau [Sat, 7 Mar 2020 18:30:15 +0000 (19:30 +0100)]
[NTOS:KD] Remove some now useless tests on _WINKD_
Hervé Poussineau [Sat, 7 Mar 2020 18:14:09 +0000 (19:14 +0100)]
[NTOS:KD] Merge some more functions with kd64
Functions are KdIsThisAKdTrap, KdUpdateDataBlock, KdEnterDebugger,
KdExitDebugger, KdRefreshDebuggerNotPresent, KdDisableDebugger,
KdEnableDebuggerWithLock, KdEnableDebugger, KdSystemDebugControl
Hervé Poussineau [Sat, 7 Mar 2020 17:54:21 +0000 (18:54 +0100)]
[NTOS:KD] Rename KdpEnterDebuggerException to KdpTrap + add KdpStub forwarder
This removes somes uses of _WINKD_ macro.
Hervé Poussineau [Sat, 7 Mar 2020 17:07:05 +0000 (18:07 +0100)]
[NTOS:KD] Merge KdInitDebugger with kd64 version + move variable declarations to kd64/kddata.c
Remove now unused file kd/kdinit.c
Hervé Poussineau [Sat, 7 Mar 2020 17:00:20 +0000 (18:00 +0100)]
[NTOS:KD] Import KdpCallInitRoutine() into KdDebuggerInitialize1()
Hervé Poussineau [Sat, 7 Mar 2020 16:32:49 +0000 (17:32 +0100)]
[NTOS:KD] Move implementation of banner display from each debug output type to common code
Hervé Poussineau [Sat, 7 Mar 2020 16:18:33 +0000 (17:18 +0100)]
[NTOS:KD] Make implementation of KdInitSystem more similar with the kd64 one
Move some kd initializations into KdDebuggerInitialize0() function.
Hervé Poussineau [Sat, 7 Mar 2020 14:56:44 +0000 (15:56 +0100)]
[NTOS:KD] Compile all kd64 files in kdbg mode
Hervé Poussineau [Sat, 7 Mar 2020 14:48:35 +0000 (15:48 +0100)]
[NTOS:KD] Merge KdPowerTransition/KdChangeOption with kd64 version
Hervé Poussineau [Sat, 7 Mar 2020 10:39:37 +0000 (11:39 +0100)]
[NTOS:KD] Implement empty versions of KdDebuggerInitialize0/KdSendPacket/KdReceivePacket
Move KdDebuggerInitialize1 to common code.
Add #defines to local names to prevent clashes with kdcom.dll
Hervé Poussineau [Fri, 6 Mar 2020 23:05:22 +0000 (00:05 +0100)]
[NTOS:KD] Merge KdPollBreakIn() with kd64 version
Hervé Poussineau [Sat, 28 Mar 2020 10:03:28 +0000 (11:03 +0100)]
[NTOS:KD] Remove invalid configuration (not _WINKD_ on amd64)
This was not working, as the file ntoskrnl/kd/amd64/kd.c was non-existent.
Hervé Poussineau [Sat, 28 Mar 2020 09:42:17 +0000 (10:42 +0100)]
[NTOS:KD] Remove 'support' for Pice. It was only setting a flag.
Hervé Poussineau [Sat, 28 Mar 2020 09:16:44 +0000 (10:16 +0100)]
[NTOS:KD] Remove GDB stubs
drivers/base/kdgdb/ should be used instead.
Hervé Poussineau [Sat, 28 Mar 2020 18:25:03 +0000 (19:25 +0100)]
[NTOS:KDBG] Remove useless file
Hervé Poussineau [Tue, 3 Nov 2020 21:04:41 +0000 (22:04 +0100)]
[NTOS:IO] Do not translate resources of type CmResourceTypeDevicePrivate
CmResourceTypeDevicePrivate resources are created the the bus driver, for its own later use,
when children devices will receive the IRP_MN_START_DEVICE.
Do not translate them, as they have no meaning outside bus driver.
Hervé Poussineau [Sat, 31 Oct 2020 14:33:47 +0000 (15:33 +0100)]
[PCI] Accept a bus number range instead of a single bus number
Oleg Dubinskiy [Sat, 14 Nov 2020 18:21:10 +0000 (20:21 +0200)]
[REGEDIT] Make "finished find" messagebox owned by Regedit window (#3369)
Same behaviour as in MS Regedit.
CORE-17367
Serge Gautherie [Wed, 9 Sep 2020 01:46:56 +0000 (03:46 +0200)]
[SAMSRV] SamIFree_SAMPR_USER_INFO_BUFFER: Add missing breaks. CORE-17355
Addendum to fda13e (r58742).
Serge Gautherie [Wed, 9 Sep 2020 01:46:56 +0000 (03:46 +0200)]
[SAMSRV] SamrQueryInformationUser: Add missing break. CORE-17355
Addendum to
2f6a92c (r56820).
Vadim Galyant [Thu, 5 Nov 2020 20:56:05 +0000 (22:56 +0200)]
[HALX86] Implement HalQueryAMLIIllegalIOPortAddresses case in HaliQuerySystemInformation
CORE-17359
Co-authored-by: Stanislav Motylkov <x86corez@gmail.com>
Co-authored-by: Oleg Dubinskiy <oleg.dubinskij2013@yandex.ua>
Thomas Faber [Fri, 30 Oct 2020 16:29:29 +0000 (17:29 +0100)]
[NTOS:CM] Implement support for KeyValuePartialInformationAlign64. CORE-17358
Thomas Faber [Sat, 31 Oct 2020 12:08:06 +0000 (13:08 +0100)]
[NTDLL_APITEST] Add a test for KeyValuePartialInformationAlign64. CORE-17358
Serge Gautherie [Wed, 9 Sep 2020 01:46:56 +0000 (03:46 +0200)]
[COMPBATT] Add a missing OBJ_KERNEL_HANDLE
CORE-10207
Serge Gautherie [Wed, 9 Sep 2020 01:46:56 +0000 (03:46 +0200)]
[NTOS:KDBG] Add some missing OBJ_KERNEL_HANDLE
CORE-10207
Victor Perevertkin [Fri, 13 Nov 2020 01:13:32 +0000 (04:13 +0300)]
[PARTMGR] Disable driver startup
Victor Perevertkin [Fri, 13 Nov 2020 00:15:31 +0000 (03:15 +0300)]
[PSDK] Add more 32 and 64-bit definitions to ntddscsi.h
Victor Perevertkin [Fri, 13 Nov 2020 00:04:15 +0000 (03:04 +0300)]
[PARTMGR] Add the Partition Manager driver
This driver works as complement to disk.sys/classpnp.sys from Windows 10
Manages partition PDOs and exposes them as volumes to mountmgr.sys.
The driver is almost complete, just some minor IOCTLs missing (will be
added on demand)
Victor Perevertkin [Thu, 12 Nov 2020 16:19:27 +0000 (19:19 +0300)]
[MOUNTMGR] Volumes with NO_DRIVE_LETTER attribute should not be mounted, not the opposite
Victor Perevertkin [Mon, 9 Nov 2020 22:56:59 +0000 (01:56 +0300)]
[NTOS:PNP] Enumerate the device tree after loading boot drivers and HAL
Adam Słaboń [Mon, 9 Nov 2020 22:46:35 +0000 (23:46 +0100)]
[BOOTDATA] Add an empty SystemPrefix value (#3362)
This gets "ReactOS" with Win2003 NT kernel + HAL boot a bit further.
(The "SystemPrefix" REG_DWORD value is part of license information in Win2000/XP/2003.)
Hermès Bélusca-Maïto [Mon, 9 Nov 2020 21:33:02 +0000 (22:33 +0100)]
[XDK] Update the definition of DEBUG_DEVICE_DESCRIPTOR and related structures with Vista,7,8,10 additions.
CORE-17360
Information from:
- https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/ntddk/ns-ntddk-debug_device_descriptor
- https://www.vergiliusproject.com
- https://codemachine.com
Jérôme Gardou [Mon, 9 Nov 2020 09:06:44 +0000 (10:06 +0100)]
|CMAKE] Use RULE_LAUNCH_COMPILE property to handle ccache
Jérôme Gardou [Fri, 6 Nov 2020 08:38:17 +0000 (09:38 +0100)]
[KDGDB] Always use kernel stack to get stack frame
Victor Perevertkin [Sun, 8 Nov 2020 22:28:50 +0000 (01:28 +0300)]
[HALX86] Drop hacks in HalpAddDevice to work around PnP synchronization bugs
Our PnP manager handles OS boot in a synchronous manner thus we don't
need it anymore.
This effectively reverts
f23e722,
d974e84,
3aff101 and
4a9fcb6
CORE-5686
Victor Perevertkin [Sun, 8 Nov 2020 21:08:18 +0000 (00:08 +0300)]
[GITHUB] Enable amd64 artefacts and other minor changes
- Enable artefacts upload for amd64 builds
- Use environment files instead of ::set-env due to security issue
- Upgrade upload-artifact and cache packages to v2
Victor Perevertkin [Sun, 8 Nov 2020 20:32:25 +0000 (23:32 +0300)]
[MOUNTMGR] Fix ReparseFile concatenation in OnlineMountedVolumes
- ReparseFile was concatenated with itself, instead of ReparseIndex
- Meanwhile, use RtlAppendUnicodeStringToString for concatenating
strings instead of raw memory operations
Timo Kreuzer [Fri, 3 Jan 2020 09:59:43 +0000 (10:59 +0100)]
[NTOS:MM] Handle PXE/PPE gaps in MiDeleteVirtualAddresses
Timo Kreuzer [Sun, 9 Feb 2020 21:19:54 +0000 (22:19 +0100)]
[HAL:X64] Fix/improve the BIOS interface
* Call HalInitializeBios both in phase 0 and 1
* In phase 0 allocate some physical memory, instead of using arbitrary hardcoded pages, that then end up as page tables and get filled with VESA tables
Timo Kreuzer [Fri, 9 Mar 2018 20:31:15 +0000 (21:31 +0100)]
[CMAKE] Add architecture to our build string
This introduces a new CMake variable WINARCH, which what Windows usually uses ("x86" instead of "i386") e.g. in sxs names.
Timo Kreuzer [Fri, 23 Oct 2020 08:31:50 +0000 (10:31 +0200)]
[SPEC2DEF] Implement support for private exports
Timo Kreuzer [Sat, 4 Jan 2020 12:56:11 +0000 (13:56 +0100)]
[WIN32K] Fix an ASSERT to ignore the upper 32 bits of a passed in GDI handle
Timo Kreuzer [Sat, 4 Jan 2020 12:14:28 +0000 (13:14 +0100)]
[WIN32NT_APITEST] Add tests for truncated and extended handle to NtGdiDeleteObjectApp test
Timo Kreuzer [Mon, 12 Feb 2018 18:14:15 +0000 (19:14 +0100)]
[KERNEL32] Fix register initialization in BaseInitializeContext
Get rid of BaseThreadStartupThunk and BaseProcessStartThunk asm wrappers and go to the C functions directly (home space is allocated on the stack by the kernel)
Timo Kreuzer [Fri, 3 Jan 2020 20:43:44 +0000 (21:43 +0100)]
[PSAPI] Fix and simplify FindDeviceDriver
The previous version was miscalculating the buffer size on x64 (due to alignment) and always using a too small buffer.
The new version removes the size calculation entirely and uses the required size returned by NtQuerySystemInformation.
Jose Carlos Jesus [Sat, 7 Nov 2020 16:30:36 +0000 (16:30 +0000)]
[SHELL32][SHELLEXT] Portuguese (PT) translation improvements and object adjustements (#3186)
- SHELL32: Improve Portuguese (PT) translation.
Minor objects adjustments to the text
and minor improvements to translation.
- SHELLEXT: Improve Portuguese (PT) translation to acppage rc file.
Jose Carlos Jesus [Sat, 7 Nov 2020 16:27:52 +0000 (16:27 +0000)]
[CMD] Add new portuguese (PT) translation (#3260)
Timo Kreuzer [Fri, 3 Jan 2020 19:44:05 +0000 (20:44 +0100)]
[NTOS:SE] Fix handling of relative security descriptors in SeQuerySecurityDescriptorInfo
Thomas Faber [Sat, 31 Oct 2020 11:26:27 +0000 (12:26 +0100)]
[KMTESTS:HAL] Add a test for HalQueryAMLIIllegalIOPortAddresses. CORE-17359
Hermès Bélusca-Maïto [Thu, 5 Nov 2020 23:17:33 +0000 (00:17 +0100)]
[WINDOWSCODECS] It turns out that /wd4133 is not enough to demote the error; we need to use remove_target_compile_option() to completely remove the /we4133 flag.
Addendum to commits
7e116f0e and
00ed72d7.
This removes the "error C4133: 'function': incompatible types - from
'WICPixelFormatNumericRepresentation *' to 'DWORD *'"
message that still remains even when using /wd4133 .
Hermès Bélusca-Maïto [Thu, 5 Nov 2020 18:55:33 +0000 (19:55 +0100)]
[RAPPS.COM] Use HeapAlloc/Free instead of the deprecated LocalAlloc/Free.
And fix my build.
Hermès Bélusca-Maïto [Thu, 5 Nov 2020 18:03:30 +0000 (19:03 +0100)]
[NTOS:EX] Move the C_ASSERT UUID_CACHED_VALUES_STRUCT.GuidInit to a better place, where the structure is defined.
Hermès Bélusca-Maïto [Thu, 20 Aug 2020 15:47:40 +0000 (17:47 +0200)]
[CMD][SERVMAN][SHELL32][WINSPOOL][ROSAPPS][NTOS:PNP] Fix my build.