Piotr Hetnarowicz
4771551c74
[BROWSEUI] Polish translation update ( #3703 )
2021-06-02 11:53:07 +02:00
Piotr Hetnarowicz
0e18985e56
[WINLOGON] Polish translation update ( #3702 )
2021-06-02 11:52:10 +02:00
Piotr Hetnarowicz
d05a20e7b3
[SHELL32] Polish translation update ( #3701 )
2021-06-02 11:50:54 +02:00
George Bișoc
06b0d2e380
[NTOS:SE] Implement logon session deletion
...
And declare a prototype for SepCleanupLUIDDeviceMapDirectory and annotate it with SAL.
2021-06-02 11:09:01 +02:00
Serge Gautherie
2dcc40fb3e
[CMAKE] CMakeLists.txt: Remove NO_UNDERSCORE_PREFIX leftovers
...
And switch to add_compile_definitions().
Addendum to 9efafd6
.
2021-06-02 10:04:21 +02:00
Katayama Hirofumi MZ
59d4c11203
[WIN32SS][NTUSER] ShowWindow.SW_MINIMIZE should show window ( #3700 )
...
- user32!ShowWindow.SW_MINIMIZE should show the window.
- Fix the return value of ShowWindow function on invalid parameter.
CORE-15669
2021-06-01 11:11:23 +09:00
Serge Gautherie
5ce9e2ec8e
[GITHUB] build.yml: Define CLANG_VERSION for clang only
...
Addendum to a66214c
.
2021-05-31 16:04:49 +02:00
Serge Gautherie
4d00a5653a
[GITHUB] build.yml: Properly define LLVM_VERSION
...
Addendum to a66214c
.
2021-05-31 16:04:49 +02:00
Katayama Hirofumi MZ
32b0cf6fc6
[WIN32SS][NTUSER] Improve HSHELL_WINDOWCREATED condition ( #3697 )
...
Modify the condition of generating HSHELL_WINDOWCREATED, especially on WS_CHILD window style. CORE-15669
2021-05-31 13:08:06 +09:00
Eric Kohl
7b970c67a8
[NETCFGX] Create unique network connection names
2021-05-30 21:12:58 +02:00
Katayama Hirofumi MZ
a8ed286c86
[USER32_APITEST] Add ShowWindow testcase ( #3689 )
...
Investigate the implementation of user32!ShowWindow. CORE-15669
2021-05-30 09:37:38 +09:00
Timo Kreuzer
0c3812eb7e
[RTL/x64] Implement RtlRestoreContext
2021-05-29 21:20:48 +02:00
Timo Kreuzer
abb338b13d
[RTL/x64] Improve RtlCaptureContext
...
Use movaps instead of movdqa, it does the same thing, but is one byte shorter.
Shuffle instructions around a bit to maximize parallel execution.
2021-05-29 21:20:48 +02:00
Timo Kreuzer
3831c0ca31
[RTL/x64] Improve RtlInitializeContext
2021-05-29 21:20:48 +02:00
George Bișoc
3140dac3fe
[NTOS:SE] Do some cleanup on ICIF flags in token information classes
...
A few of these classes have fixed size lengths, the rest are arbitrary. Also the TokenAuditPolicy class hasn't a size length type specified in the table, which is wrong (and move the corresponding TOKEN_AUDIT_POLICY_INFORMATION structure into the private header).
2021-05-29 12:44:03 +02:00
Katayama Hirofumi MZ
d21adc9b31
[SHELL32_APITEST] Strengthen and improve ShellHook testcase ( #3687 )
...
- Add tests to find the missing parameters against HSHELL_WINDOWCREATED conditions.
- Improve code readability. CORE-15669
2021-05-29 09:33:46 +09:00
Timo Kreuzer
e693d5ffc0
[USBPORT] Make unload work
2021-05-28 22:29:44 +02:00
Timo Kreuzer
db0c59cbd4
[CRT] Use the asm version of sqrt on amd64
2021-05-28 11:52:42 +02:00
Timo Kreuzer
90a0e426ed
[NTOS:KE] Add IRQL checks and fix KiInitiateUserApc
2021-05-28 11:52:42 +02:00
Timo Kreuzer
3d18831c19
[NTOS:KE] Improve KiSystemCallEntry64
2021-05-28 11:52:42 +02:00
Timo Kreuzer
69e8cb635a
[NTOS:KE] Fix stack alignment issues
2021-05-28 11:52:42 +02:00
Timo Kreuzer
2a2d0903bf
[NTOS:KE] Remove duplicated EFlag definitions
2021-05-28 11:52:42 +02:00
Timo Kreuzer
42e1fefcc6
[ASM] Clear interrupt flag in ExitTrap before returning
2021-05-28 11:52:42 +02:00
Timo Kreuzer
d07203ecb7
[WIN32K][USER32] Change mechanism for storing dialog info pointer
...
DLGWINDOWEXTRA is 30 (both on win32 and win64). This has storage for the following entries: DWLP_MSGRESULT (0), DWLP_DLGPROC (8), DWLP_USER (16)
We used to store the dialog info pointer using SetWindowLongPtr (DWLP_ROS_DIALOGINFO == DWLP_USER+sizeof(ULONG_PTR) == 24), which was fine on win32, but failed on win64, since there wasn't enough space left (24 + 8 = 32 > 30).
Rewrite the way the DLGINFO pointer is stored, by adding an additional field to the WND structure and set it using NtUserxSetDialogPointer (which is what it is for).
Also fix too small cbWndExtra for the button class.
2021-05-28 08:26:36 +02:00
Timo Kreuzer
50c9dab6c9
[WIN32K] Fix wrong calculation in DIB_32BPP_BitBltSrcCopy
...
Using an unsigned integer will cause the calculations to be unsigned, which on x64 leads to wrong results, when adding it to a pointer.
2021-05-27 15:53:24 +02:00
Mark Jansen
f0bee6c4bc
[SHELL32] CDefView: Prevent use after free
...
While updating the item, the LVIF_STATE would be requested,
for which the old lParam would be accessed.
2021-05-26 22:57:43 +02:00
Katayama Hirofumi MZ
949e3a9cec
[REGEDIT] Use InitCommonControlsEx instead of InitCommonControls ( #3686 )
...
NOTE: Windows sets 0xFFFF to icce.dwICC but we use better value.
2021-05-26 21:11:10 +09:00
Jérôme Gardou
b0ebf68d98
[NTOS:IO] Be more specific for chasing CORE-17587
...
Addendum to 42ec1388d7
2021-05-26 11:03:34 +02:00
Jérôme Gardou
42ec1388d7
[NTOS:IO] Break on IoRaiseInformationalHardError
...
This one will eventually be reverted. For now, this will help debugging CORE-17587
2021-05-26 10:48:29 +02:00
Hermès Bélusca-Maïto
53bd132cec
[CMD] Reset the current thread UI language at startup, and when updating the local code page cache.
...
CORE-17601
2021-05-26 01:42:12 +02:00
Hermès Bélusca-Maïto
0483063b69
[MODE] Reset the current thread UI language and streams codepage after changing the console codepage. Add extra error handling.
...
CORE-17601
2021-05-26 01:42:11 +02:00
Hermès Bélusca-Maïto
a8ef85ad71
[CHCP] Reset the current thread UI language and streams codepage after changing the console codepage.
...
CORE-17601
2021-05-26 01:42:11 +02:00
Hermès Bélusca-Maïto
7c3aabc088
[CONUTILS] Implement ConSetThreadUILanguage() as a wrapper for kernel32!SetThreadUILanguage().
...
CORE-17601
Dynamically load SetThreadUILanguage(), so as to support systems where this API is not present.
Hopefully implemented in a thread-safe manner.
2021-05-26 01:42:10 +02:00
Hermès Bélusca-Maïto
35f499e52f
[CONUTILS][CMD] Add and use a helper ConStdStreamsSetCacheCodePage() macro instead of repeatedly calling ConStreamSetCacheCodePage() on the standard streams.
2021-05-26 01:42:09 +02:00
Hermès Bélusca-Maïto
f268430c05
[CONUTILS] Update some documentation.
2021-05-26 01:42:09 +02:00
Hervé Poussineau
831cad3410
[NTOS:MM] Remove wrong cleaning of PDEs at session cleanup
2021-05-25 21:13:32 +02:00
Hervé Poussineau
1a1dac04c7
[SMLIB] Implement SmStartCsr and SmStopCsr
2021-05-25 19:02:16 +02:00
Hervé Poussineau
735d2b4c93
[SMSS] Implement SmpStartCsr
2021-05-25 18:48:16 +02:00
Hervé Poussineau
98882fb089
[NTOS:MM] Finish implementation of MmSessionDelete
2021-05-25 18:48:16 +02:00
Hervé Poussineau
eac0afc6fe
[NTOS:MM] MiDereferenceSession: return as soon as session is destroyed
...
This leads to some simplifications in the following code.
2021-05-25 18:48:16 +02:00
Timo Kreuzer
dd08ae2c0f
[NTOS:CC] Fix use of unintialized variable (caught by RTC1)
2021-05-24 22:00:11 +02:00
Timo Kreuzer
184d3a6849
[NTOS:MM] MiIsPdeForAddressValid is NOT an INIT function!
2021-05-24 18:45:47 +02:00
Mark Jansen
c1538a82b8
[GITHUB] Add ARM builder
...
This only builds rapps for now
CORE-17517
2021-05-24 17:34:49 +02:00
Mark Jansen
5f94b23d2b
[HOST-TOOLS] Configure environment for MSVC cross-compiling
...
This makes ARM builds on a non-arm host work again.
CORE-17542
CORE-17517
2021-05-24 17:34:49 +02:00
Mark Jansen
a555892027
[SDK] Remove duplicate definition
2021-05-24 17:34:49 +02:00
Mark Jansen
0911e8f457
[CMAKE] Add some arm/arm64 specific paths
...
CORE-17517 CORE-17518
2021-05-24 17:34:28 +02:00
Stanislav Motylkov
dcc1506af5
[FREELDR][HALXBOX] Initialize PCI bridge secondary & subordinate bus values
...
This fixes the recursion when pci.sys attempts to get PCI bridge children
devices, which in fact are non-existing.
Note that the problem in pci.sys itself also deserves a separate fix.
CORE-16319 CORE-16216
2021-05-24 18:12:02 +03:00
Stanislav Motylkov
f1410d2b09
[FREELDR] Replace CONFIG_CMD macro with a straightforward bitfield struct
...
Also fix magic values related to PCI registers.
2021-05-24 18:02:16 +03:00
Stanislav Motylkov
5caa59b31a
[HAL] HalpDebugPciDumpBus: Fix parsing bugs
...
- Bridge devices don't have Subsystem ID and Subsystem Vendor ID
- Also they have only two BARs, don't parse data outside of bounds
Addendum to b232efe1
. CORE-16319 CORE-16216
2021-05-24 17:24:24 +03:00
Eric Kohl
2047cf3613
[DHCPCSRV] Send an ARP request to check if an automatic private address is available
2021-05-24 15:18:58 +02:00