Hermès Bélusca-Maïto
7bfd6858fb
[PSDK] Add IDCANCEL and IDASYNC values (returned by MessageBoxTimeout() and WTSSendMessage() functions).
2018-08-17 17:12:19 +02:00
Hermès Bélusca-Maïto
fcfcf7a5c9
[USER32] Move related functions close to each other.
2018-08-17 17:12:19 +02:00
Hermès Bélusca-Maïto
5e4b3c7cf0
[USER32] Code formatting/indentation fixes only.
2018-08-17 17:12:15 +02:00
Oleksandr Shaposhnikov
729d6e7981
[CONFIGURE] Fix tabulation issue
2018-08-17 17:45:07 +03:00
Serge Gautherie
669d6b445b
[SHELL32_WINETEST] Fix 2 MSVC warnings about flags
...
- "...\ebrowser.c(1188) : warning C4133: 'function' : incompatible types - from 'DWORD *' to 'EXPLORER_BROWSER_OPTIONS *'"
- "...\ebrowser.c(1198) : warning C4133: 'function' : incompatible types - from 'DWORD *' to 'EXPLORER_BROWSER_OPTIONS *'"
Cherry-pick 535f2f9e66
CORE-7538
2018-08-17 16:21:30 +02:00
Serge Gautherie
2ad650469e
[OLEAUT32] Fix an MSVC warning about VarCyMul()
...
"...\vartype.c(3808) : warning C4028: formal parameter 2 different from declaration"
Mininal cherry-pick Alexandre Julliard 18f7ec3670
CORE-7538
2018-08-17 16:18:41 +02:00
Katayama Hirofumi MZ
bd2ab1e9bc
[FONT][WIN32SS] Ignore identical mapping in IntLoadFontSubstList
2018-08-17 16:05:04 +02:00
Serge Gautherie
2ee150c374
[REACTOS] Warn if not using RosBE custom CMake
...
Better be explicit immediately, than fail later without a clue.
Thanks to Yuntian Zhang for initial code, adapted by me.
CORE-14607
2018-08-17 14:03:59 +02:00
Pierre Schweitzer
12e8d7fe0e
[NTOSKRNL] Only allow page file on a few specific device types
2018-08-16 19:00:22 +02:00
Pierre Schweitzer
cc59c97308
[NTOSKRNL] Don't need all access for file object
2018-08-16 18:54:23 +02:00
Pierre Schweitzer
8281f4baa6
[NTOSKRNL] Add a check commented out for now.
...
It's to be enabled once page file handling is moved to ARM3
2018-08-16 18:49:55 +02:00
Pierre Schweitzer
7f0ad923d2
[NTOSKRNL] MmTotalCommitLimit and MmTotalCommitLimitMaximum are in pages, not bytes
2018-08-16 18:40:23 +02:00
Oleksandr Shaposhnikov
c8d51bb87a
[CONFIGURE] Added support for new VS 19.15.x
2018-08-16 18:13:54 +03:00
Timo Kreuzer
dd73d1b6d4
[NTOS:MM] Make SLIST handling for kernel stacks portable
...
Kernel stacks that re freed, can be placed on an SLIST for quick reuse. The old code was using a member of the PFN of the last stack page as the SLIST_ENTRY. This relies on the following (non-portable) assumptions:
- A stack always has a PTE associated with it.
- This PTE has a PFN associated with it.
- The PFN has an empty field that can be re-used as an SLIST_ENTRY.
- The PFN has another field that points back to the PTE, which then can be used to get the stack base.
Specifically: On x64 the PFN field is not 16 bytes aligned, so it cannot be used as an SLIST_ENTRY. (In a "usermode kernel" the other assumptions are also invalid).
The new code does what Windows does (and which seems absolutely obvious to do): Place the SLIST_ENTRY directly on the stack.
2018-08-16 16:52:02 +02:00
Timo Kreuzer
6c154c0625
[NTOS:SE] Fix SeSetSecurityDescriptorInfoEx to prevent pool corruption on x64
2018-08-16 16:32:49 +02:00
Getequ
d559ca9c98
[ADVAPI32][SHELL32][DESK.CPL] Kill copy-paste of RegLoadMUIString. ( #748 )
...
RegLoadMUIStringW/A is part of advapi32.dll . shell32.dll and desk.cpl contained exact line-by-line copy of that function.
2018-08-16 16:10:41 +02:00
Serge Gautherie
20d4b2cfac
[NTOS:MM] Update a DPRINT string ( #760 )
...
CORE-12729
2018-08-16 15:10:24 +02:00
Katayama Hirofumi MZ
5b89e663af
[FONT][WIN32SS] Support MS symbol encoding ( #759 )
...
This commit adds support for the MS symbol encoding (FT_ENCODING_MS_SYMBOL) in our font engine.
It also fixes the display of the Anastasia font. And replacing our Marlett font with Windows' Marlett font is also fixed.
CORE-13269, CORE-14907
2018-08-16 14:38:46 +02:00
Thomas Faber
5403094339
[USBPORT] Fix 64 bit warnings.
2018-08-16 14:14:42 +02:00
Thomas Faber
bd4529b717
[USBPORT] Specify the correct length for the root hub's hub descriptor.
2018-08-16 14:14:31 +02:00
Thomas Faber
db54e5eb1c
[USBPORT] Remove an unnecessary check in USBPORT_AllocateBandwidthUSB2. CID 1434261
2018-08-16 14:14:23 +02:00
Thomas Faber
7ad4cf96f3
[USBPORT] Remove an unnecessary check in USB2_ConvertFrame. CID 1434244
2018-08-16 14:14:15 +02:00
Thomas Faber
d1e5699e60
[USBPORT] Accept negative BusTime in USB2_MoveTtEndpoint. CID 1434226
2018-08-16 14:14:04 +02:00
Thomas Faber
7b2bb85ceb
[WIN32K:NTUSER] Fix type confusion in MsgMemorySize.
2018-08-16 14:13:47 +02:00
Pierre Schweitzer
19318dcc1d
[NTOSKRNL] Start making our MMPAGING_FILE struct look like the real one
2018-08-16 14:04:27 +02:00
Pierre Schweitzer
e392bdf962
[NTOSKRNL] Store page file sizes in pages, not in bytes
2018-08-16 13:50:16 +02:00
Pierre Schweitzer
2fe4e71383
[NTOSKRNL] Store page file minimum size and use it to prevent page file shrinking
2018-08-16 13:41:16 +02:00
Pierre Schweitzer
bfc6a7957c
[NTOSKRNL] Page files don't have an init size, but a minimum size
...
NFC
2018-08-16 12:42:34 +02:00
Pierre Schweitzer
315867d4ff
[NTOSKRNL] Drop the MmPagingFile spin lock in favor of a guarded mutex
2018-08-16 12:39:24 +02:00
Pierre Schweitzer
891a6eeeb9
[NTOSKRNL] Drop the alloc map from page file
...
It was making no sense, and implemented in a broken way
that couldn't have worked if code path was used.
2018-08-16 12:16:39 +02:00
Pierre Schweitzer
5bd938bd24
[NTOSKRNL] Stub page file extension support
2018-08-16 11:58:58 +02:00
Katayama Hirofumi MZ
11b7619a71
[WIN32SS] Fix DrawText wrt DT_CALCRECT | DT_VCENTER ( #745 )
...
The test program: https://jira.reactos.org/secure/attachment/47925/TnB3.zip
CORE-14896
2018-08-15 19:50:19 +02:00
Stanislav Motylkov
68a4cdd5ec
[SYSDM] Use single string control for system version
2018-08-15 19:30:23 +02:00
Katayama Hirofumi MZ
6d9f89f813
[SYSSETUP] Fix the button sizes of theme selection dialog ( #746 )
...
CORE-14896
2018-08-15 18:32:17 +02:00
Mike Swanson
3c7e9bb332
Remove unnecessary executable bits
2018-08-15 18:29:09 +02:00
Denis Malikov
9e198799d4
[WIN32SS][USER] fixing couple typos for WINVER >= 0x600
...
CORE-12596
2018-08-15 18:27:31 +02:00
Pierre Schweitzer
c13ccc92f6
[BTRFS] Leak the root stream file object on mount.
...
For whatever (unknown) reason yet, this stream file object
seems to be deleted when still in use while installing
ReactOS on BtrFS partition, leading to use after free.
So, quick and dirty hack: leak it to prevent deletion.
CORE-13769
2018-08-15 16:38:56 +02:00
Pierre Schweitzer
80e11516b1
[BTRFS] Allow driver to start at first stage when no hive is present.
...
Contrary to upstream, we will ignore failure when opening registry
and will keep going.
CORE-13769
2018-08-15 16:35:05 +02:00
Mark Jansen
13a3cf03d7
[APPHELP_APITEST] Fix rc dependency.
...
As pointed out by Thomas.
2018-08-13 13:24:12 +02:00
Mark Jansen
9b6fb9f2f8
[RTL][KERNEL32] Add a comment indicating we need SEH in RtlImageNtHeaderEx
...
CORE-14532
CORE-14857
2018-08-13 13:24:12 +02:00
Mark Jansen
ad08c6631b
[LDR] Guard some sections where we grab a lock.
...
CORE-14532
2018-08-13 13:24:12 +02:00
Mark Jansen
86fe412d5c
[NTDLL_APITEST] Show behavior with exceptions in DllMain.
...
CORE-14532
2018-08-13 13:24:12 +02:00
Mark Jansen
55053f0099
[LDR] Add debug logging when we encountered an exception in dll/tls callbacks.
...
CORE-14532
2018-08-13 13:24:12 +02:00
Mark Jansen
dfff8ed0d8
[LDR] Protect calls from LdrpCallInitRoutine and LdrpCallTlsInitializers with SEH.
...
CORE-14532
2018-08-13 13:24:00 +02:00
Pierre Schweitzer
1ea68d0510
[NTOSKRNL] Don't use anonymus allocations for MM objects
2018-08-13 08:30:17 +02:00
Pierre Schweitzer
34e8f45122
[NTOSKRNL] Keep page file name along the page file and free it on shutdown
2018-08-13 08:30:17 +02:00
Pierre Schweitzer
5aaadf39db
[NTOSKRNL] Dereference page file objects in MM shutdown phase 1
...
Hack the call the MM shutdown phase 1
2018-08-13 08:30:17 +02:00
Pierre Schweitzer
3814a822f1
[NTOSKRNL] Close page files (and delete them!) on shutdown
2018-08-13 08:30:17 +02:00
Pierre Schweitzer
d793f196df
[NTOSKRNL] Stub MM shutdown
2018-08-13 08:30:17 +02:00
Eric Kohl
9d26058a8e
[UMPNPMGR] Partially implement ReenumerateDeviceInstance which is needed by the Lenovo T400 network driver installer
2018-08-12 22:26:22 +02:00