Jérôme Gardou
8a6d653044
[CRT] Fix _onexit
...
Avoid calling malloc in CR initialisation code.
Have executables call msvcrt implementation, while the DLLs keep their own function tables
CORE-17362
2020-12-30 19:03:52 +01:00
Jérôme Gardou
6c6d9bee68
[CRT] Do not call atexit at process initialization
...
There is no guarantee that the underlying APIs are initialized at this point
CORE-17362
2020-12-30 19:03:52 +01:00
Jérôme Gardou
26863538a4
[CRT] Format source a bit.
...
This is horrendous.
2020-12-30 19:03:52 +01:00
Stanislav Motylkov
f234cb6e59
[NTOS:CM] Do not create ProcessorNameString value if there is no Brand String
...
If the CPU does support CPUID instruction but does not have the Brand String,
the legacy name detection should be performed either in CIM_Processor (WMI),
in the Processor device driver, or in the application itself.
The deleted Intel CPU name detection code can go to the WMI at some point.
In fact Windows XP and 2003 kernels do not have any strings of that kind.
This effectively reverts the hack committed 6 years ago in 7a985425
(r63798)
that was intended to workaround CORE-7952.
CORE-17413
2020-12-30 19:38:41 +03:00
Stanislav Motylkov
c57d0b7b98
[ACPI] Do not panic if ProcessorNameString does not exist
...
Windows does not create this value in the registry if the processor core
does not expose the Brand String. It's an optional value and existing code
accessing it already has proper NULL checks:
https://git.reactos.org/?p=reactos.git;a=blob;f=drivers/bus/acpi/buspdo.c;hb=b96e88894a4d55f5e8b94430deeb0f086151b24f#l748
This is the proper fix for regression in CORE-7952.
Addendum to 48912992
(r61666) and 4d992804
(r62642).
CORE-17413
2020-12-30 19:38:33 +03:00
Stanislav Motylkov
740beb65e6
[DXDIAG] If ProcessorNameString not found, fall back to Identifier
...
It also should have its own routine for detecting CPU name, add a comment.
Windows XP and 2003 does have CPU name strings in dxdiagn.dll.
CORE-17413
2020-12-30 19:38:26 +03:00
Stanislav Motylkov
e9f9f83c0a
[SYSDM] If ProcessorNameString not found, fall back to Identifier
...
Also add a comment about CIM_Processor. CORE-17413
2020-12-30 19:38:14 +03:00
Jérôme Gardou
b96e88894a
[CMAKE] Turn import libs into regular C static libs
...
Embed msvcrtex into libmsvcrt
Idea taken from Thomas Faber
2020-12-28 12:13:30 +01:00
Jérôme Gardou
cad583967b
[GITHUB] Get LLVM latest version from chocolatey repository
...
Also, explicitly set target in toolchain file to help CMake getting things right.
2020-12-28 12:13:30 +01:00
Jérôme Gardou
56e56f8ecc
[CMAKE] Use -fcommon when using CLang
2020-12-28 12:13:30 +01:00
Jérôme Gardou
5387a7ccb2
[SPEC2DEF] Work-around a bug in MS linker handling of extern forwarders
2020-12-28 12:13:30 +01:00
Jérôme Gardou
d53b03e676
[MSVCRT_WINETEST] Unconditionally link against oldnames
2020-12-28 12:13:30 +01:00
Jérôme Gardou
6fcd9f3184
[FTP] Always link agains oldnames
2020-12-28 12:13:30 +01:00
Victor Perevertkin
8ee88d3bd5
[NTOS:PNP] Send removal IRPs to a file system device object for mounted devices
...
If a DeviceObject has VPB attached, it should be treated in a special way
CORE-16106
2020-12-27 18:40:33 +03:00
Victor Perevertkin
62a4f9d42b
[MOUNTMGR] Do not handle device removal notification
...
Do not treat target device change notification as
DEVICE_INTERFACE_CHANGE_NOTIFICATION. The notification have to be
unregistered while handling GUID_DEVICE_INTERFACE_REMOVAL, so
GUID_TARGET_DEVICE_REMOVE_COMPLETE should never be sent to mountmgr in a
normal case.
CORE-16106
2020-12-27 18:35:52 +03:00
Hermès Bélusca-Maïto
89f36bcfc8
[CONSRV] Less hardcoded magic values.
2020-12-27 00:52:01 +01:00
Hermès Bélusca-Maïto
a748350fc9
[NTOS:IO] Fail if the driver name passed to NtLoadDriver() is an empty string.
...
Otherwise an assertion on the driver name is hit later on.
Can be reproduced by calling NtLoadDriver with a valid UNICODE_STRING
of Length == 0.
2020-12-27 00:52:00 +01:00
Hermès Bélusca-Maïto
44511f0809
[NTOS:IO] Minor formatting only.
...
Making IopLoadUnloadDriver() looking similar to IopUnloadDriver().
2020-12-27 00:51:59 +01:00
Hermès Bélusca-Maïto
8be5f73255
[SAC] Fix the HeadlessInformation.PortType checks in DriverEntry().
2020-12-27 00:51:58 +01:00
Hermès Bélusca-Maïto
5214d2fab7
[SAC] Use NULL for null pointer in last argument in HeadlessDispatch() calls.
2020-12-27 00:51:58 +01:00
Hermès Bélusca-Maïto
5dd0b32799
[FREELDR] EMS boot options: Parse NT kernel load options in a consistent manner. Addendum to d887308b
.
...
In particular the parsing should not care about the letter case.
2020-12-27 00:51:57 +01:00
Hermès Bélusca-Maïto
fb9d8e5239
[PSDK][XDK] Add newer FILE_DEVICE_xxx DEVICE_TYPE defines.
2020-12-27 00:51:57 +01:00
Hermès Bélusca-Maïto
e8c9a73bb8
[USETUP] Free allocated memory after loading the new text-mode font from the .CAB file.
2020-12-27 00:51:56 +01:00
Hermès Bélusca-Maïto
4ab49bc276
[BLUE] IOCTL_CONSOLE_DRAW: Fix ConsoleDraw.SizeX/Y boundary checks. Always set the cursor position before possibly refreshing screen.
2020-12-27 00:51:42 +01:00
Baruch Rutman
f6de3342bf
[GDI32_APITEST] Add tests for SetLayout and its effects ( #3203 )
...
As part of the efforts to fix mirroring (Right-to-left UI), this API test
should help determine what is wrong currently in how certain functions behave
when the DC is mirrored. It focuses mostly on BitBlt, StretchBlt and LPtoDP.
Inspired by PR #3109 .
CORE-17298
2020-12-26 19:48:21 +03:00
Eric Kohl
7b20065211
[WIDL] Fix a deprecation message and hints on how to build a new scanner and parser
2020-12-26 14:22:43 +01:00
Eric Kohl
f9220ea444
[WIDL] Port ALLOCATE attribute support to our WIDL
2020-12-26 14:00:26 +01:00
Eric Kohl
65646a75a2
[DEVMGR] Report property changes by the device manager to the installer
2020-12-25 19:14:09 +01:00
Serge Gautherie
bb01b94f83
[SHELL32] spec: Fix SHGetAttributesFromDataObject() parameter types ( #3317 )
...
Addendum to cdb48b8
. CORE-17337
2020-12-23 15:20:37 +03:00
Jérôme Gardou
b805a7dd50
[UMANDLG] Define Globals variable in only one translation unit
2020-12-22 13:15:01 +01:00
Jérôme Gardou
fab4e82647
[INCLUDE/IDL] Give implicit handles a more unique name
...
This avoids duplicated symbols when linking DLLs using more than one client or server stub
2020-12-22 13:14:13 +01:00
Jérôme Gardou
762f3b9d2a
[CMAKE] Add missing dependencies on PSDK
2020-12-22 13:14:00 +01:00
Jérôme Gardou
988c682e8c
[LIBXSLT] Fix public variable declarations when using clang-cl
2020-12-22 12:25:55 +01:00
Jérôme Gardou
bd0445dbf2
[NTOS/FSRTL] Implement FsRtlAcquireToCreateMappedSection using filter callbacks
2020-12-22 11:37:53 +01:00
Jérôme Gardou
6929451500
[KMTEST] Test what happens when CcSetFileSizes is called with data still mapped at the tail od the file
2020-12-22 11:35:30 +01:00
Jérôme Gardou
9e6866402b
[FASTFAT_NEW] Fix ReactOS compiler workaround
2020-12-22 11:08:21 +01:00
Jérôme Gardou
57cf5cdc5d
[FASTFAT_NEW] Tune compile options and definitions for debugging
2020-12-22 11:08:06 +01:00
Jérôme Gardou
db34250b03
[FASTFAT_NEW] Fix build
2020-12-22 11:07:54 +01:00
Jérôme Gardou
ef4c7ae978
[NTOS:IO] Validate input parameters in NtQueryDirectoryFile
...
It turns out this is not the job of the FS driver
2020-12-22 11:06:38 +01:00
Jérôme Gardou
1d1dba51db
[NTOS:IO] Do not set Shared property of the file if we are failing in IoCheckShareAccess
2020-12-22 11:05:00 +01:00
Jérôme Gardou
115b8290cd
[KMTESTS] Add more tests for CcMapData & CcPinRead
...
Those show the shortcomings of the current implementation in ReactOS
2020-12-22 11:03:51 +01:00
Jérôme Gardou
a6c0af2e21
[NTOS:IO] Do not pass bogus file offset to the FS in NtReadFile & NtWriteFile
2020-12-22 11:02:33 +01:00
Eric Kohl
94f01f5b64
[WINLOGON] Add hidden logon/logoff SFC notification
2020-12-21 20:42:40 +01:00
Oleg Dubinskiy
9de8787187
[REGEDIT] Display search finished messagebox when using Find Next (F3) menu item ( #3371 )
...
This repeats behaviour of Windows Regedit. CORE-17368
2020-12-21 20:48:52 +03:00
Dmitry Borisov
bc90cbbb88
[WIN32K:NTUSER] Fix gradient caption bars with low color depth ( #3338 )
...
This fixes a problem when the window title bar is dithered down
to the 16- or 256-color palette. See also commit 0705f30
.
2020-12-20 23:12:30 +03:00
Dmitry Borisov
2e6c9ee1ca
[USER32_APITEST] Add a test for SPI_GETGRADIENTCAPTIONS ( #3338 )
2020-12-20 23:12:20 +03:00
Oleg Dubinskiy
d5132f5ce3
[BROWSEUI][PSDK] Stubplement ShellTaskScheduler ( #3326 )
...
Required by MS Picture and Fax Viewer (shimgvw.dll).
Now it starts properly without replacing any other system files.
CORE-17337
2020-12-20 22:06:16 +03:00
Oleg Dubinskiy
1f5e0f3fa7
[BROWSEUI][PSDK] Stubplement UserAssist
...
Initial implementation of `CUserAssist` class, which contains `IUserAssist` interface.
See https://www.geoffchappell.com/studies/windows/ie/browseui/classes/userassist.htm .
Required by MS shell32.dll.
CORE-17345 CORE-17393
2020-12-20 17:32:11 +03:00
Eric Kohl
bb209e9010
[INTL] Broadcast a WM_SETTINGCHANGED message when settings have been changed.
2020-12-20 11:21:10 +01:00
Eric Kohl
497fe0a884
[INTL] Implement the selection of a property page by command line
2020-12-20 10:47:08 +01:00