reactos.git
2 years ago[CRT] Add macros to disable diagnostics from GCC and clang
Jérôme Gardou [Mon, 12 Apr 2021 08:07:35 +0000 (10:07 +0200)]
[CRT] Add macros to disable diagnostics from GCC and clang

Instead of disabling them globally, this will help making finer grained decisions

2 years ago[SDK] Make sure we build pefixup with AMD64 definitions
Jérôme Gardou [Fri, 9 Apr 2021 17:21:25 +0000 (19:21 +0200)]
[SDK] Make sure we build pefixup with AMD64 definitions

2 years ago[SDK] Fix definition of IMAGE_NT_HEADERS64 in host tools
Jérôme Gardou [Tue, 27 Apr 2021 07:56:23 +0000 (09:56 +0200)]
[SDK] Fix definition of IMAGE_NT_HEADERS64 in host tools

2 years ago[COMPILER_APITEST] Disable SEH tests for GCC amd64 build
Jérôme Gardou [Fri, 9 Apr 2021 14:52:53 +0000 (16:52 +0200)]
[COMPILER_APITEST] Disable SEH tests for GCC amd64 build

2 years ago[KERNEL32_APITEST] Fix compilation & global wut?? with SSE exception test
Jérôme Gardou [Fri, 9 Apr 2021 14:50:43 +0000 (16:50 +0200)]
[KERNEL32_APITEST] Fix compilation & global wut?? with SSE exception test

2 years ago[ACPI] Improve Russian translation INF file
Stanislav Motylkov [Tue, 27 Apr 2021 20:58:53 +0000 (23:58 +0300)]
[ACPI] Improve Russian translation INF file

Also some minor whitespace fixes

2 years ago[FC] Add Russian (ru-RU) translation
Stanislav Motylkov [Tue, 27 Apr 2021 15:40:23 +0000 (18:40 +0300)]
[FC] Add Russian (ru-RU) translation

Addendum to 2db87ebd.

2 years ago[NTDLL_APITEST] Implement NtImpersonateAnonymousToken testcase 3555/head
George Bișoc [Fri, 26 Mar 2021 12:38:04 +0000 (13:38 +0100)]
[NTDLL_APITEST] Implement NtImpersonateAnonymousToken testcase

2 years ago[NTOS:SE] Implement the NtImpersonateAnonymousToken system call
George Bișoc [Thu, 25 Mar 2021 20:48:38 +0000 (21:48 +0100)]
[NTOS:SE] Implement the NtImpersonateAnonymousToken system call

Implement SepImpersonateAnonymousToken private helpers, which is necessary for the complete implementation of NtImpersonateAnonymousToken function and thus finally we're able to impersonate the anonymous logon token.

2 years ago[NTOS:SE] Add the declaration prototype of SepRegQueryHelper in the internal header
George Bișoc [Thu, 25 Mar 2021 19:47:30 +0000 (20:47 +0100)]
[NTOS:SE] Add the declaration prototype of SepRegQueryHelper in the internal header

2 years ago[NTOS:SE] Annotate the function parameters of SepRegQueryHelper with SAL
George Bișoc [Thu, 25 Mar 2021 12:05:49 +0000 (13:05 +0100)]
[NTOS:SE] Annotate the function parameters of SepRegQueryHelper with SAL

And add a documentation comment header

2 years ago[BOOTDATA] Include EveryoneIncludesAnonymous registry value on Lsa system key
George Bișoc [Thu, 25 Mar 2021 09:21:13 +0000 (10:21 +0100)]
[BOOTDATA] Include EveryoneIncludesAnonymous registry value on Lsa system key

For further information
https://docs.microsoft.com/en-us/windows/win32/api/securitybaseapi/nf-securitybaseapi-impersonateanonymoustoken

2 years ago[CMAKE] Fix compilation with newer windres versions
Jérôme Gardou [Tue, 27 Apr 2021 09:11:41 +0000 (11:11 +0200)]
[CMAKE] Fix compilation with newer windres versions

Also use clang as preprocessor when using it
Also, use *our* headers instead of the platform ones

2 years ago[PSDK] Import winuser.rh from wine 6.7
Jérôme Gardou [Tue, 27 Apr 2021 09:33:29 +0000 (11:33 +0200)]
[PSDK] Import winuser.rh from wine 6.7

2 years ago[CMDUTILS][FC] Forgot to add a line break to IDS_RESYNCH_FAILED
Katayama Hirofumi MZ [Tue, 27 Apr 2021 09:45:24 +0000 (18:45 +0900)]
[CMDUTILS][FC] Forgot to add a line break to IDS_RESYNCH_FAILED

CORE-17500

2 years ago[FC] Add the Polish translation (#3629)
Piotr Hetnarowicz [Tue, 27 Apr 2021 09:20:56 +0000 (11:20 +0200)]
[FC] Add the Polish translation (#3629)

2 years ago[JOY] Update Hebrew (he-IL) translation (#3563) 3563/head
Omer Itzic Schwartz [Mon, 29 Mar 2021 18:17:36 +0000 (21:17 +0300)]
[JOY] Update Hebrew (he-IL) translation (#3563)

2 years ago[CRT] exp2*.c: Add an explicit type for 'TWO' variable
Serge Gautherie [Sat, 10 Apr 2021 02:37:07 +0000 (04:37 +0200)]
[CRT] exp2*.c: Add an explicit type for 'TWO' variable

Addendum to 199adee.

2 years ago[CRT] intrin_x86.h: Fix '_InterlockedIncrement64' copypasta
Serge Gautherie [Sat, 10 Apr 2021 02:16:10 +0000 (04:16 +0200)]
[CRT] intrin_x86.h: Fix '_InterlockedIncrement64' copypasta

Addendum to bc3a471.

2 years ago[CMAKE] config.cmake: Fix 'STEQUAL' typo, in a comment
Serge Gautherie [Sat, 10 Apr 2021 02:12:48 +0000 (04:12 +0200)]
[CMAKE] config.cmake: Fix 'STEQUAL' typo, in a comment

Addendum to e90b6bb.

2 years ago[NTOS:OB] Do not close the handle if it's granted access to ObpAccessProtectCloseBit 3476/head
George Bișoc [Mon, 22 Feb 2021 09:43:30 +0000 (10:43 +0100)]
[NTOS:OB] Do not close the handle if it's granted access to ObpAccessProtectCloseBit

As of now the Object Manager private service, ObpCloseHandleTableEntry, looks for OBJ_PROTECT_CLOSE attribute if a handle should not be closed. However, in ObDuplicateObject if an attribute of OBJ_PROTECT_CLOSE is found as it's been filled to the caller (see L2466) this attribute is removed from the attributes list of the new handle and ObpAccessProtectCloseBit access is granted to the newly duplicated object handle.

With that being said ObpCloseHandleTableEntry indiscriminately closes the object handle albeit it shouldn't do so. As a matter of fact in Windows Server 2003 SP2 this service indeed checks for ObpAccessProtectCloseBit flag bit and if the condition is met then it returns STATUS_HANDLE_NOT_CLOSABLE as it should. Therefore we should do the same.

Now NtClose can properly warn the calling thread the object handle can't be closed which fixes a testcase failure within NtDuplicateObject NTDLL APITEST where this function gives handle close protection bit as requested by the caller.

2 years ago[NTOS:MM] MiSetPagingOfDriver(): Add an explicit #if around unreachable code
Serge Gautherie [Wed, 9 Sep 2020 01:46:56 +0000 (03:46 +0200)]
[NTOS:MM] MiSetPagingOfDriver(): Add an explicit #if around unreachable code

2 years ago[SYSSETUP] Forgot to update the ROS banner after 2021. Addendum to b570fac1.
Hermès Bélusca-Maïto [Mon, 26 Apr 2021 00:21:59 +0000 (02:21 +0200)]
[SYSSETUP] Forgot to update the ROS banner after 2021. Addendum to b570fac1.

2 years ago[FC][TRANSLATION] FC: Enable localization (#3626)
Katayama Hirofumi MZ [Mon, 26 Apr 2021 00:08:06 +0000 (09:08 +0900)]
[FC][TRANSLATION] FC: Enable localization (#3626)

Enable localization on FC (file comparison) command. CORE-17500

2 years ago[CMDUTILS][FC] Follow-up of #3622 (8bf4711)
Katayama Hirofumi MZ [Sun, 25 Apr 2021 23:52:22 +0000 (08:52 +0900)]
[CMDUTILS][FC] Follow-up of #3622 (8bf4711)

CORE-17500

2 years ago[USETUP] Update Russian (ru-RU) translation
Stanislav Motylkov [Sun, 25 Apr 2021 23:06:14 +0000 (02:06 +0300)]
[USETUP] Update Russian (ru-RU) translation

Addendum to 3ee9535e. CORE-17523

2 years ago[HHPCOMP] Add ARM64/AArch64 types 3599/head
Konrad Dybcio [Sun, 11 Apr 2021 01:11:13 +0000 (03:11 +0200)]
[HHPCOMP] Add ARM64/AArch64 types

These were missing... not anymore!

Addendum to 4c7b71ac. CORE-17518

Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
2 years ago[WINLOGON] Update Russian (ru-RU) translation
Stanislav Motylkov [Sun, 25 Apr 2021 17:22:45 +0000 (20:22 +0300)]
[WINLOGON] Update Russian (ru-RU) translation

Addendum to 7ca90b509a6d4bf0ec2bfa2e and 5f033392.

2 years ago[MMSYS] Implement ShowAudioPropertySheet() and ShowFullControlPanel()
Eric Kohl [Sun, 25 Apr 2021 17:04:11 +0000 (19:04 +0200)]
[MMSYS] Implement ShowAudioPropertySheet() and ShowFullControlPanel()

2 years ago[WIN32SS][NTUSER] Fix an integer underflow within scrollbar info setting
George Bișoc [Sun, 25 Apr 2021 13:56:39 +0000 (15:56 +0200)]
[WIN32SS][NTUSER] Fix an integer underflow within scrollbar info setting

Thanks goes to I_Kill_Bugs for the patch (and partly to Kyle Katarn for the PR) and Hermes for tweaking the patch code. Had to make a commit myself as the PR author's account is deleted.

Signed-off by: I_Kill_Bugs (original patch author)
Signed-off by: Kyle Katarn <contact@kcsoftwares.com>
Signed-off by: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito@reactos.org>

2 years ago[SDK][INCLUDE] Fix offsetof and CCSIZEOF_STRUCT for Clang-CL build (#3624)
Katayama Hirofumi MZ [Sun, 25 Apr 2021 04:38:22 +0000 (13:38 +0900)]
[SDK][INCLUDE] Fix offsetof and CCSIZEOF_STRUCT for Clang-CL build (#3624)

Clang-CL was failing with "error: function declaration cannot have variably modified type". This PR will fix the Clang-CL build. CORE-17547

2 years ago[CMDUTILS][FC] Initial implement FC command (#3622)
Katayama Hirofumi MZ [Sun, 25 Apr 2021 04:06:13 +0000 (13:06 +0900)]
[CMDUTILS][FC] Initial implement FC command (#3622)

Implement FC (file comparison) command. As a starting point, we support binary mode comparison at first. Text mode comparison and wildcard are not supported yet. CORE-17500

2 years ago[TRANSLATION][CACLS] Add Serbian translation (#859)
alexpavlovic [Sat, 24 Apr 2021 18:38:20 +0000 (20:38 +0200)]
[TRANSLATION][CACLS] Add Serbian translation  (#859)

2 years ago[REACTOS] InitImageList(): Fix error checks
Serge Gautherie [Thu, 12 Nov 2020 00:22:46 +0000 (01:22 +0100)]
[REACTOS] InitImageList(): Fix error checks

And simplify code a bit.

2 years ago[USRMGR] Increase name sizes to 'UNLEN + 1'
Serge Gautherie [Wed, 24 Jun 2020 18:41:44 +0000 (20:41 +0200)]
[USRMGR] Increase name sizes to 'UNLEN + 1'

2 years ago[COMCTL32] Fix an incorrect returned value for ImageList_Remove
George Bișoc [Sat, 24 Apr 2021 18:13:56 +0000 (20:13 +0200)]
[COMCTL32] Fix an incorrect returned value for ImageList_Remove

Thanks goes to Kyle Katarn. Had to make a commit myself due to author's account being deleted.

Signed-off-by: Kyle Katarn <contact@kcsoftwares.com>
2 years agoFix start logo resource
Abdulganiev Rafael [Mon, 23 Sep 2019 12:32:30 +0000 (16:32 +0400)]
Fix start logo resource

2 years ago[UMPNPMGR] Fix DPRINT in PNP_GetDeviceStatus()
Eric Kohl [Sat, 24 Apr 2021 15:06:08 +0000 (17:06 +0200)]
[UMPNPMGR] Fix DPRINT in PNP_GetDeviceStatus()

2 years ago[UMPNPMGR] Start the device in SetupDeviceInstance
Eric Kohl [Sat, 24 Apr 2021 15:04:11 +0000 (17:04 +0200)]
[UMPNPMGR] Start the device in SetupDeviceInstance

2 years ago[UMPNPMGR] Implement PNP_SetDeviceProblem
Eric Kohl [Sat, 24 Apr 2021 09:59:22 +0000 (11:59 +0200)]
[UMPNPMGR] Implement PNP_SetDeviceProblem

CORE-17527

2 years ago[TRANSLATION][WINLOGON] Small Romanian & Italian translation update
George Bișoc [Thu, 22 Apr 2021 16:12:22 +0000 (18:12 +0200)]
[TRANSLATION][WINLOGON] Small Romanian & Italian translation update

Small translation update as per the pushed 5f03339 commit.

2 years ago[MSGINA] Determine which kind of dialog box is before terminating it 3618/head
George Bișoc [Mon, 19 Apr 2021 15:18:51 +0000 (17:18 +0200)]
[MSGINA] Determine which kind of dialog box is before terminating it

Do a sanity check onto the dialog box type before terminating it. As it stands now, a call of PostQuitMessage() is invoked even when the dialog box is modal. This is illegal due to the fact that the shutdown dialog box is initiated by the "Security" main window thus WlxDialogBoxParam.

A call to PostQuitMessage onto a modal dialog box leads to a undefined behaviour, as it'll not just terminate the thread but also eventually killing the Winlogon process whose the thread belongs to.
CORE-17535

2 years ago[GITHUB] Update LLVM version to 12 and fix indentation
Victor Perevertkin [Thu, 22 Apr 2021 10:48:43 +0000 (13:48 +0300)]
[GITHUB] Update LLVM version to 12 and fix indentation

2 years ago[NEWDEV] Set the CM_PROB_FAILED_INSTALL problem code on failed install
Eric Kohl [Tue, 20 Apr 2021 20:00:41 +0000 (22:00 +0200)]
[NEWDEV] Set the CM_PROB_FAILED_INSTALL problem code on failed install

CORE-17527

3 years ago[DHCPCSVC] Change automatic address assignment to use hardware address
Hervé Poussineau [Mon, 19 Apr 2021 21:21:35 +0000 (23:21 +0200)]
[DHCPCSVC] Change automatic address assignment to use hardware address

According to RFC 3927, the pseudo-random number generation algorithm MUST be chosen
so that different hosts do not generate the same sequence of numbers, and that the
pseudo-random number generator SHOULD be seeded using a value derived from the
IEEE 802 MAC address, so that a host will usually select the same IPv4 Link-Local
address each time it is booted.

3 years ago[WINLOGON][MPR][SDK] WNetClearConnections: Fix function parameter type (#3480)
Serge Gautherie [Sun, 18 Apr 2021 18:58:44 +0000 (20:58 +0200)]
[WINLOGON][MPR][SDK] WNetClearConnections: Fix function parameter type (#3480)

Addendum to 62f79fae93.

Signed-off-by: Serge Gautherie <reactos-git_serge_171003@gautherie.fr>
3 years ago[WINLOGON] Show "Restarting..." message when restarting (#3593)
Arnav Bhatt [Sun, 18 Apr 2021 18:48:30 +0000 (18:48 +0000)]
[WINLOGON] Show "Restarting..." message when restarting (#3593)

Signed-off-by: Arnav Bhatt <arnavbhatt288@gmail.com>
3 years ago[NTOS:SE] Lock the token in SeQueryInformationToken and do some cleanup 3613/head
George Bișoc [Thu, 15 Apr 2021 14:42:28 +0000 (16:42 +0200)]
[NTOS:SE] Lock the token in SeQueryInformationToken and do some cleanup

* Guard the token in a lock whilst querying stuff
* Remove the piece of code that checks if the information class provided is above the maximum information class threshold. That code literally duplicates the inner functionality of the default case in the switch block, where the code falls in that case if an invalid information class is provided anyway.
* Remove the redundant information classes. Internally, this function in Windows has 12 switch case blocks (11 token info classes + the default case) and the other classes are supported in NtQueryInformationToken only so it doesn't make any logical sense to keep them in the codebase.
* Annotate the argument parameters with SAL and add documentation header

3 years ago[CONFIGURE] Fix warnings shown when parsing cmdline
Mark Jansen [Sun, 11 Apr 2021 12:25:08 +0000 (14:25 +0200)]
[CONFIGURE] Fix warnings shown when parsing cmdline

3 years ago[WS2_32] Create registry keys Protocol_Catalog9/NameSpace_Catalog5 if needed
Hervé Poussineau [Sat, 17 Apr 2021 21:06:53 +0000 (23:06 +0200)]
[WS2_32] Create registry keys Protocol_Catalog9/NameSpace_Catalog5 if needed

This fixes networking in LiveCD and installation in 2nd stage.
CORE-17514

3 years ago[DEVMGR] Get rid of the unknown device class hack
Eric Kohl [Fri, 16 Apr 2021 21:45:08 +0000 (23:45 +0200)]
[DEVMGR] Get rid of the unknown device class hack

Treat the unknown device class like any other device class.

CORE-17527

3 years ago[CMAKE] winetests/: Move '/wd4133' to gdiplus/ only
Serge Gautherie [Thu, 12 Nov 2020 00:22:46 +0000 (01:22 +0100)]
[CMAKE] winetests/: Move '/wd4133' to gdiplus/ only

Addendum to 42d2d5e.
CORE-7538

3 years ago[NEWDEV] When a device install fails, set the 'Unknown' device class for that device
Eric Kohl [Thu, 15 Apr 2021 19:49:32 +0000 (21:49 +0200)]
[NEWDEV] When a device install fails, set the 'Unknown' device class for that device

CORE-17527

3 years ago[TRANSLATION][RAPPS] Fix the unrecognised escape sequence in the Hungarian translation
George Bișoc [Thu, 15 Apr 2021 15:23:25 +0000 (17:23 +0200)]
[TRANSLATION][RAPPS] Fix the unrecognised escape sequence in the Hungarian translation

This is an addendum to ea04edc. The author has forgotten the newline escape sequence, whoops...

3 years ago[UDFS] Remove /Gz flag from options on MSVC
Victor Perevertkin [Thu, 15 Apr 2021 03:45:54 +0000 (06:45 +0300)]
[UDFS] Remove /Gz flag from options on MSVC

3 years ago[CMAKE] Rely less on CMAKE_BUILD_TYPE variable 3604/head
Victor Perevertkin [Thu, 15 Apr 2021 01:52:59 +0000 (04:52 +0300)]
[CMAKE] Rely less on CMAKE_BUILD_TYPE variable

Having conditional statements with CMAKE_BUILD_TYPE is an antipattern
See https://stackoverflow.com/questions/66079007/having-conditional-statements-on-build-type-variable-a-good-design

We use both single- and multi-config generators (Ninja and VS), so we
can't really rely on CMAKE_BUILD_TYPE, because it's not always set.

This commit alters some conditional flags to use <$CONFIG:...>
generator expression, but is still not complete. Also, our default
optimization level (4) now has what was always a de-facto flags

3 years ago[CMAKE] Require ARCH variable to be specified explicitly
Victor Perevertkin [Thu, 15 Apr 2021 01:50:12 +0000 (04:50 +0300)]
[CMAKE] Require ARCH variable to be specified explicitly

Also, use CMAKE_TRY_COMPILE_PLATFORM_VARIABLES in toolchain files
to solve issues with ARCH not being passed during try_compile

3 years ago[CMAKE] Unify configs for architectures
Victor Perevertkin [Tue, 13 Apr 2021 18:08:04 +0000 (21:08 +0300)]
[CMAKE] Unify configs for architectures

config*.cmake files are constantly getting out of sync between
each other. Besides that, the parameters are not really dependent
on a target architecture, but rather on a compiler (except *ARCH)

This approach seems to be more future-prone, and allows to see
all the options in one file (there are really not that many of them)

3 years ago[MSHTML] MSVC: There is no 'error C4028' anymore
Serge Gautherie [Thu, 12 Nov 2020 00:22:46 +0000 (01:22 +0100)]
[MSHTML] MSVC: There is no 'error C4028' anymore

MSVC amd64
'...\dll\win32\mshtml\nsio.c(3755): error C4028: formal parameter 3 different from declaration'
was fixed by 5ed1867.

CORE-7538

3 years ago[TRANSLATION] Add/update Hungarian translation for solitaire, spider solitaire, rapps...
Tibor Lajos Füzi [Sun, 11 Apr 2021 12:48:13 +0000 (14:48 +0200)]
[TRANSLATION] Add/update Hungarian translation for solitaire, spider solitaire, rapps, usetup, cpl/timedate, shell32, user32

3 years ago[BOOTDATA][CMAKE] Sort 2 directories out
Serge Gautherie [Thu, 12 Nov 2020 00:22:46 +0000 (01:22 +0100)]
[BOOTDATA][CMAKE] Sort 2 directories out

winsxs\x86_reactos.newapi_6595b64144ccf1df_1.0.0.0_none_deadbeef:
removed: silently added on 8d30456 and never used.

bin\suppl:
moved: to 60 from 80.

3 years ago[SETUPAPI] Correctly enumerate non-installed devices in SetupDiGetClassDevsExW
Hervé Poussineau [Sun, 11 Apr 2021 13:10:47 +0000 (15:10 +0200)]
[SETUPAPI] Correctly enumerate non-installed devices in SetupDiGetClassDevsExW

Always try to read the correct device GUID from registry, even if GUID filter is disabled.

CORE-17527

3 years ago[SETUPAPI] Reimplement SetupDiBuildClassInfoListExW using CM_* functions
Hervé Poussineau [Sun, 11 Apr 2021 09:46:41 +0000 (11:46 +0200)]
[SETUPAPI] Reimplement SetupDiBuildClassInfoListExW using CM_* functions

We can now enumerate device classes on other computers.

3 years ago[SETUPAPI] Fix CM_Open_Class_Key_ExW, when pClassGuid is used
Hervé Poussineau [Sun, 11 Apr 2021 09:37:23 +0000 (11:37 +0200)]
[SETUPAPI] Fix CM_Open_Class_Key_ExW, when pClassGuid is used

Braces around GUID were missing.

3 years ago[TRANSLATION] Chinese Traditional (zh-TW) translation update (#3526)
Chan Chilung [Sun, 11 Apr 2021 08:59:19 +0000 (16:59 +0800)]
[TRANSLATION] Chinese Traditional (zh-TW) translation update (#3526)

*Add Chinese Traditional translation for:
- [THEMES]
- [HIVESFT]
- [HIVEDEF]
- [HIVECLS]
- [SCREENSAVERS]
- [VGAFONTEDIT]
- [KERNEL32]
- [TASKLIST]
- [MYDOCS]
- [MSXML3R]
- INFs

*Chinese Traditional translation update for:
PR 3399
- [MSGINA]
- [SHELL32]

PR 3422
- [SOLITAIRE]

Others...

*Wine translation sync

3 years ago[CHKDSK][USERINIT] Add and improve Portuguese (pt-PT) translation (#3553)
Jose Carlos Jesus [Sun, 11 Apr 2021 07:40:58 +0000 (08:40 +0100)]
[CHKDSK][USERINIT] Add and improve Portuguese (pt-PT) translation (#3553)

3 years ago[UNIATA] uniata_reg.inf: Add 'PnpInterface\5' key
Serge Gautherie [Thu, 12 Nov 2020 00:22:46 +0000 (01:22 +0100)]
[UNIATA] uniata_reg.inf: Add 'PnpInterface\5' key

commented out, for the time being.

CORE-17395

3 years ago[UNIATA] DriverEntry(): Fix 'Paramaters' typo, in reg key names
Serge Gautherie [Thu, 12 Nov 2020 00:22:46 +0000 (01:22 +0100)]
[UNIATA] DriverEntry(): Fix 'Paramaters' typo, in reg key names

CORE-17524

3 years ago[CMD] de-DE: Fix 'Paramater' typo
Serge Gautherie [Thu, 12 Nov 2020 00:22:46 +0000 (01:22 +0100)]
[CMD] de-DE: Fix 'Paramater' typo

3 years ago[UMANDLG] DlgProc(): Fix 'paramater' typo, in documentation
Serge Gautherie [Thu, 12 Nov 2020 00:22:46 +0000 (01:22 +0100)]
[UMANDLG] DlgProc(): Fix 'paramater' typo, in documentation

3 years ago[CMAKE] Build xboxvmp in Xbox-builds only
Eric Kohl [Sat, 10 Apr 2021 18:15:08 +0000 (20:15 +0200)]
[CMAKE] Build xboxvmp in Xbox-builds only

This prevents the creation of a fake Xbox GPU device on non-Xbox builds.

CORE-17529

3 years ago[SHELL32] Do not format the partition if it's a system drive 3511/head
George Bișoc [Sun, 7 Mar 2021 13:24:16 +0000 (14:24 +0100)]
[SHELL32] Do not format the partition if it's a system drive

Implement a sanity check helper which determines if the partition is a system drive or not based on the %SystemDrive% environment variable, preventing the user from nuking accidentally the partition with ReactOS system files installed. :P

NOTE: This code serves as a temporary measure to prevent accidental formatting of the system drive. In the future most of this code has to be totally rewritten (and stopping syncing with WINE altogether) as well as FMIFS library code so that we're on par in terms of compatibility with Windows.

3 years ago[DEVMGR] Use FlagsEx to check for DI_FLAGSEX_POWERPAGE_ADDED
Eric Kohl [Sat, 10 Apr 2021 14:22:47 +0000 (16:22 +0200)]
[DEVMGR] Use FlagsEx to check for DI_FLAGSEX_POWERPAGE_ADDED

3 years ago[DEVMGR] UpdateDevInfo: Enable built-in property pages by default
Eric Kohl [Sat, 10 Apr 2021 13:50:37 +0000 (15:50 +0200)]
[DEVMGR] UpdateDevInfo: Enable built-in property pages by default

CORE-17532

3 years ago[OSK] Handle the warning dialog box in its own thread
George Bișoc [Mon, 4 May 2020 10:06:22 +0000 (12:06 +0200)]
[OSK] Handle the warning dialog box in its own thread

The dialog box at the startup of On-Screen Keyboard is displayed alongside with main window. While the Microsoft's OSK in XP is written in MFC and OSK is actually a mere window whereas our OSK is a dialog, the main dialog procedure call is superseded until the user does something with the warning dialog box on startup.

Just create a thread for it and handle the dialog box on startup in its own thread.

3 years ago[NTOS:KE] Both KeFindConfigurationEntry() and KeFindConfigurationNextEntry() function...
Hermès Bélusca-Maïto [Fri, 9 Apr 2021 22:43:52 +0000 (00:43 +0200)]
[NTOS:KE] Both KeFindConfigurationEntry() and KeFindConfigurationNextEntry() functions are exported by NTOSKRNL, so they definitively must NOT be in the discardable INIT section!!

Noticed while reviewing c7d1ff4a.

3 years ago[CRT] Properly declare rot functions in public headers
Jérôme Gardou [Fri, 9 Apr 2021 13:12:13 +0000 (15:12 +0200)]
[CRT] Properly declare rot functions in public headers

3 years ago[CRT] Fix rot functions aliases in non-x86 clang builds
Jérôme Gardou [Fri, 9 Apr 2021 12:59:33 +0000 (14:59 +0200)]
[CRT] Fix rot functions aliases in non-x86 clang builds

3 years ago[CRT] Add a generic C version of exp2(f) and use it for all architecture
Jérôme Gardou [Fri, 9 Apr 2021 12:33:27 +0000 (14:33 +0200)]
[CRT] Add a generic C version of exp2(f) and use it for all architecture

3 years ago[PSEH] Each amd64 compiler that we use support SEH
Jérôme Gardou [Fri, 9 Apr 2021 10:36:04 +0000 (12:36 +0200)]
[PSEH] Each amd64 compiler that we use support SEH

3 years ago[CMAKE] Also set GCC/CLANG variables on amd64 builds
Jérôme Gardou [Fri, 9 Apr 2021 10:35:30 +0000 (12:35 +0200)]
[CMAKE] Also set GCC/CLANG variables on amd64 builds

3 years ago[CRT] Do not try to implement x86_64 builtins of clang
Jérôme Gardou [Fri, 9 Apr 2021 08:33:05 +0000 (10:33 +0200)]
[CRT] Do not try to implement x86_64 builtins of clang

3 years ago[CMAKE] Use find_program to get the location of LD when building with clang
Jérôme Gardou [Fri, 9 Apr 2021 08:32:12 +0000 (10:32 +0200)]
[CMAKE] Use find_program to get the location of LD when building with clang

3 years ago[CMAKE] Do not call clang with unsupported arguments
Jérôme Gardou [Fri, 9 Apr 2021 08:09:55 +0000 (10:09 +0200)]
[CMAKE] Do not call clang with unsupported arguments

3 years ago[NDK] DATA_SEG requires an extra #pragma on MSVC
Victor Perevertkin [Fri, 9 Apr 2021 01:38:35 +0000 (04:38 +0300)]
[NDK] DATA_SEG requires an extra #pragma on MSVC

3 years ago[PC98VID] Fix a typo, addendum to 959729f6eecc2b23fe5b56554cf9c61938dc4c1e
Victor Perevertkin [Fri, 9 Apr 2021 00:59:55 +0000 (03:59 +0300)]
[PC98VID] Fix a typo, addendum to 959729f6eecc2b23fe5b56554cf9c61938dc4c1e

3 years ago[CMAKE] Some options are only supported by GCC, don't use them for clang
Victor Perevertkin [Fri, 9 Apr 2021 00:58:19 +0000 (03:58 +0300)]
[CMAKE] Some options are only supported by GCC, don't use them for clang

These are (so far):
-Wno-format-overflow
-Wno-nonnull-compare
-Wno-old-style-declaration
-Wno-unused-but-set-variable

3 years ago[PC98VID] Fix clang 12 warning
Victor Perevertkin [Fri, 9 Apr 2021 00:54:25 +0000 (03:54 +0300)]
[PC98VID] Fix clang 12 warning

3 years ago[SDK][NDK] Fix clang 12 compilation
Victor Perevertkin [Fri, 9 Apr 2021 00:51:32 +0000 (03:51 +0300)]
[SDK][NDK] Fix clang 12 compilation

3 years ago[WINSXS] Add some amd64 manifests
Mark Jansen [Wed, 16 Dec 2020 22:09:35 +0000 (23:09 +0100)]
[WINSXS] Add some amd64 manifests

Co-authored-by: Timo Kreuzer <timo.kreuzer@reactos.org>
3 years ago[NTOS:MM] Fix a bit page fault handler with regard to COW sections
Jérôme Gardou [Tue, 6 Apr 2021 10:58:02 +0000 (12:58 +0200)]
[NTOS:MM] Fix a bit page fault handler with regard to COW sections

3 years ago[NTOS:MM] Share "page.c" between i386 & amd64 builds
Jérôme Gardou [Thu, 1 Apr 2021 12:03:25 +0000 (14:03 +0200)]
[NTOS:MM] Share "page.c" between i386 & amd64 builds

3 years ago[NTOS:MM] Split MmCreateProcessAddressSpace in two parts
Jérôme Gardou [Thu, 1 Apr 2021 13:54:19 +0000 (15:54 +0200)]
[NTOS:MM] Split MmCreateProcessAddressSpace in two parts

Generic one and arch-specific one.
Properly fail if we are out of resources.
Restore a lost assert.

3 years ago[NTOS:MM] Properly track system process hyper space PDE page
Jérôme Gardou [Thu, 8 Apr 2021 12:36:50 +0000 (14:36 +0200)]
[NTOS:MM] Properly track system process hyper space PDE page

3 years ago[NTOS:MM] Make i386/page.c usable for all x86 variants
Jérôme Gardou [Wed, 7 Apr 2021 06:49:26 +0000 (08:49 +0200)]
[NTOS:MM] Make i386/page.c usable for all x86 variants

This includes PAE & amd64

3 years ago[NDK] Define NX bit in X86PAE PTE struct
Jérôme Gardou [Wed, 7 Apr 2021 06:49:07 +0000 (08:49 +0200)]
[NDK] Define NX bit in X86PAE PTE struct

3 years ago[NTOS:MM] Use MI_MAKE_HARDWARE_PTE & friends in legacy Mm
Jérôme Gardou [Thu, 1 Apr 2021 09:45:10 +0000 (11:45 +0200)]
[NTOS:MM] Use MI_MAKE_HARDWARE_PTE & friends in legacy Mm

3 years ago[NTOS:MM] Rewrite arch-specifics of the legacy Mm
Jérôme Gardou [Mon, 22 Mar 2021 08:52:11 +0000 (09:52 +0100)]
[NTOS:MM] Rewrite arch-specifics of the legacy Mm

Properly handle PDE refcounting
Clean-up of the internal API
Enforce attaching to the process when modifying its memory layout, instead of
making circonvoluted mappings which always end up being broken.

3 years ago[NTOS:MM] Get rid of MmRosFlushVirtualMemory
Jérôme Gardou [Wed, 10 Mar 2021 14:24:31 +0000 (15:24 +0100)]
[NTOS:MM] Get rid of MmRosFlushVirtualMemory

It's not used anywhere now, and it will eventually be gone

3 years ago[NTOS:MM] Get rid of MmSetCleanAllRmaps and MmIsDirtyPageRmap
Jérôme Gardou [Wed, 10 Mar 2021 14:16:29 +0000 (15:16 +0100)]
[NTOS:MM] Get rid of MmSetCleanAllRmaps and MmIsDirtyPageRmap

Everything is wrong with them. Bad locking. Bad logic.