Timo Kreuzer
a82e46e521
[CRT_APITEST] Add tests for floating point control and status functions
2022-08-22 11:22:08 +02:00
Artyom Ovsyannikov
5a9efc4081
[DRWTSN32] Add Russian (ru-RU) translation ( #4617 )
...
Reviewed-by: Stanislav Motylkov <x86corez@gmail.com>
2022-08-22 01:54:03 +03:00
Artyom Ovsyannikov
3dd5599fc4
[TRANSLATION] Improve Russian (ru-RU) translation ( #4615 )
...
[WINEMINE][INF] Improve Russian translation for Minesweeper
[TIMEDATE] Improve Russian translation
2022-08-22 01:42:24 +03:00
Artyom Ovsyannikov
e59e6ba017
[OSK] Update Russian (ru-RU) translation ( #4611 )
...
Reviewed-by: Stanislav Motylkov <x86corez@gmail.com>
2022-08-21 23:46:38 +03:00
Katayama Hirofumi MZ
6c748ca8a9
[NTUSER] Rewrite NtUserUnloadKeyboardLayout ( #4613 )
...
- Add co_IntUnloadKeyboardLayoutEx (Win: xxxInternalUnloadKeyboardLayout), IntUnloadKeyboardLayout (Win: xxxUnloadKeyboardLayout) helper functions.
- Rewrite NtUserUnloadKeyboardLayout function.
CORE-11700
2022-08-20 09:45:06 +09:00
Katayama Hirofumi MZ
c06cccea22
[USER32] Adjustment for IME/IMM ( #4610 )
...
- Add IS_CICERO_MODE() macro.
- Append DWORD dwLastStatus to IMEUI structure.
- Modify ImeWndProc_common, ImeWnd_OnCreate, ImeWnd_OnImeSelect, and ImeWnd_OnImeControl functions.
CORE-11700
2022-08-18 10:55:11 +09:00
Katayama Hirofumi MZ
93955f37de
[NTUSER][USER32] Define NtUserSetWindowLongPtr for non-Win64 ( #4612 )
...
- Add NtUserSetWindowLongPtr macro on non-Win64.
- Use NtUserSetWindowLongPtr instead of NtUserSetWindowLong.
CORE-11700
2022-08-17 17:23:40 +09:00
Katayama Hirofumi MZ
fd1e799123
[USER32] Insert curly-brackts for switch-case
...
Follow-up of #4607 (60be15f
).
CORE-11700
2022-08-17 08:04:11 +09:00
George Bișoc
3b00f98b94
[NTOS:SE] Fix new dynamic length calculation in TokenPrimaryGroup case
...
Not only primary group assignation was broken but new dynamic length calculation is also broken. The length of the captured SID is not taken into account so the new dynamic length gets only the size of the default ACL present in an access token.
Therefore, the condition is always FALSE and the code never jumps to the STATUS_ALLOTTED_SPACE_EXCEEDED branch because the length will always be small than the charged dynamic length.
Addendum to 86bde3c
.
2022-08-16 20:27:27 +02:00
Thamatip Chitpong
3bd822366c
[THEMES] New restore window button for Lautus and Mizu themes ( #4590 )
...
The original file for Lautus theme is made by JIRA user name Start.
CORE-15101 CORE-15936
2022-08-16 17:40:16 +03:00
Katayama Hirofumi MZ
e44e151840
[NTUSER] Empower co_UserActivateKeyboardLayout ( #4608 )
...
- Add code to co_UserActivateKeyboardLayout function for IME.
- Add IntImmActivateLayout helper function.
CORE-11700
2022-08-16 22:03:54 +09:00
George Bișoc
86bde3c76a
[NTOS:SE] Fix the primary group assignation in TokenPrimaryGroup class case
...
With current master, what happens is that when someone wants to assign a new primary group SID for an access token, it results in an instant page fault because the primary group variable doesn't get assigned the dynamic part's address.
So the primary group variable gets an address which is basically a representation of the ACL size, hence the said address is bogus and it's where the page fault kicks in.
CORE-18249
2022-08-16 13:05:44 +02:00
Luke Luo
626fd4d240
[TRANSLATION] Improve Korean (ko-KR) translation ( #4574 )
...
- [SHELL32] Update Korean translation
- [EXPLORER] Update Korean translation
Reviewed-by: Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
Reviewed-by: Seungju Kim <admin@manateeshome.com>
Reviewed-by: Stanislav Motylkov <x86corez@gmail.com>
2022-08-16 13:02:25 +03:00
Chan Chilung
ac87259fa2
[TRANSLATION] Update Traditional Chinese (zh-TW) translation - Jun 2022 ( #4570 )
...
- [REG] Update zh-TW translation
- [DISKPART] Update zh-TW translation
- [HHCTRL.OCX] Update zh-TW translation
2022-08-16 13:00:11 +03:00
Katayama Hirofumi MZ
fe8f80610e
[NTUSER] Send WM_IME_SYSTEM:IMS_LOADTHREADLAYOUT at IntCreateWindow ( #4606 )
...
- Send WM_IME_SYSTEM:IMS_LOADTHREADLAYOUT message at IntCreateWindow function.
CORE-11700
2022-08-16 08:02:49 +09:00
Katayama Hirofumi MZ
60be15ff5d
[USER32] RealDefWindowProcA/W WM_IME_SYSTEM handling ( #4607 )
...
- Add WM_IME_SYSTEM message handling on RealDefWindowProcA and RealDefWindowProcW functions.
- Improve WM_IME_... messages handling.
- s/IMMGWL_IMC/IMMGWLP_IMC/
- Don't set IMMGWLP_IMC value to the default IME window.
CORE-11700
2022-08-16 08:00:47 +09:00
Katayama Hirofumi MZ
eb674f353e
[IMM32] Reduce magic numbers from CtfImmSetLangBand
...
CORE-11700
2022-08-15 23:00:54 +09:00
Katayama Hirofumi MZ
f9a11d1e0b
[IMM32] Add 'Win:' comments more
...
CORE-11700
2022-08-15 21:46:33 +09:00
Katayama Hirofumi MZ
379188acfe
[NTUSER] Refactor NtUserUnloadKeyboardLayout ( #4605 )
...
- Add IntHKLtoPKL, co_UserActivateKeyboardLayout, IntReorderKeyboardLayouts, and co_IntActivateKeyboardLayout helper functions.
- Rewrite NtUserUnloadKeyboardLayout by using helper functions.
CORE-11700
2022-08-15 08:25:06 +09:00
Katayama Hirofumi MZ
e8ccc8516f
[USER32] Call CliImmInitializeHotKeys on LoadKeyboardLayoutW epilogue ( #4604 )
...
Enable the IME hotkeys.
- Call CliImmInitializeHotKeys.SETIMEHOTKEY_ADD on IntLoadKeyboardLayout epilogue.
CORE-11700
2022-08-14 10:53:58 +09:00
Katayama Hirofumi MZ
25fcdc5c2b
[USER32][IMM32][INCLUDE] Empower WM_IME_SYSTEM handling ( #4603 )
...
- Add code to ImeWnd_OnImeSystem function.
- Add CtfLoadThreadLayout and User32DoImeHelp helper functions.
- Define IMS_... constants (for WM_IME_SYSTEM wParam) and fix some magic numbers.
CORE-11700
2022-08-13 07:08:18 +09:00
Katayama Hirofumi MZ
5fa84035cf
[IMM32] Renaming around ImmSystemHandler ( #4602 )
...
- s/IMM_UNKNOWN_PROCESS1/IMM_DELAY_SET_LANG_BAND/
- s/Imm32UnknownProcess1Proc/Imm32DelaySetLangBandProc/ (Win: DelaySetLangBand)
- s/Imm32UnknownProcess1/CtfImmSetLangBand/ (Win: CtfImmSetLangBand)
- s/Imm32SendChangeProc/Imm32SendNotificationProc/ (Win: SendNotificationProc)
- s/Imm32SendChange/Imm32SendNotification/ (Win: ImmSendNotification)
CORE-11700
2022-08-12 09:17:46 +09:00
Katayama Hirofumi MZ
1381cea2a7
[USER32] Refactoring on LoadKeyboardLayout(W/Ex) ( #4601 )
...
- Add IntLoadKeyboardLayout (Win: LoadKeyboardLayoutWorker) helper function.
- Use it in LoadKeyboardLayoutW and LoadKeyboardLayoutEx functions.
CORE-11700
2022-08-12 09:16:18 +09:00
Andrew Boyarshin
c15a9c1d09
[KERNEL32] lpNumberOfCharsWritten is optional for WriteConsole ( #1079 )
...
Some applications (and libraries, like replxx) rely on this undocumented behavior.
2022-08-12 01:58:18 +02:00
Katayama Hirofumi MZ
934e5212e4
[IMM32] Implement ImmWINNLSEnableIME ( #4599 )
...
- Implement imm32!ImmWINNLSEnableIME function.
- Rename CLIENTIMC_UNKNOWN3 flag as CLIENTIMC_DISABLEIME.
- Modify imm32.spec.
CORE-11700
2022-08-09 20:09:23 +09:00
Katayama Hirofumi MZ
d519b11a28
[NTUSER] Security: Follow-up of #4595 ( #4598 )
...
Improve security. CORE-11700
2022-08-08 21:23:49 +09:00
Thamatip Chitpong
f7d068e2bd
[SHELL32] Fix "Fonts" and "Administrative Tools" icon incorrectly displayed after 8d520f3
( #4597 )
...
CORE-18251
2022-08-08 18:46:20 +09:00
Katayama Hirofumi MZ
2220e566a2
[KEYBOARD][BOOTDATA][TOOLS] Rename keyboard layout files ( #4596 )
...
The keyboard layout file names of ReactOS are different from Windows' ones. It was one reason why ImmInstallIMEW fails.
- s/kbdbgm/kbdbu/ Bulgarian (Typewriter)
- s/kbdgrist/kbdgr1/ German_IBM
- s/kbdes/kbdsp/ Spanish (non-alternate!)
- s/kbdja/kbdjpn/ Japanese
- s/kbdko/kbdkor/ Korean
- s/kbdsk/kbdsl/ Slovak
- s/kbdsk1/kbdsl1/ Slovak (QWERTY)
CORE-11700
2022-08-06 08:03:46 +09:00
Katayama Hirofumi MZ
3e42f7b478
[NTUSER][USER32] NtUserGetKeyboardLayoutName and GetKeyboardLayoutNameW ( #4595 )
...
#4594 has proved that the 1st argument of NtUserGetKeyboardLayoutName has type PUNICODE_STRING.
CORE-11700
2022-08-06 08:02:31 +09:00
Timo Kreuzer
786017c5b6
[NTOS] Don't assert, when dispatching an exception to user mode fails
...
Instead continue with second chance handling.
2022-08-04 16:15:24 +02:00
Timo Kreuzer
b3a8f8611d
[NTOS] Treat page faults with interrupts disabled as access violation
2022-08-04 16:15:24 +02:00
Timo Kreuzer
e45af60560
[NTOS:KE/X64] Enable interrupts when accessing user mode memory
2022-08-04 16:15:24 +02:00
Timo Kreuzer
902c6eee1e
[NTOS:KE] Restore interrupts in KiSwitchKernelStack
2022-08-04 16:15:24 +02:00
Timo Kreuzer
ae39ad4d10
[NTOS] Add a hack for VBox
2022-08-04 16:15:24 +02:00
Timo Kreuzer
f96bee30ed
[KERNEL32] Fix printing exception address
2022-08-04 16:15:24 +02:00
Timo Kreuzer
f8b6cc249e
[HAL] Add missing I/O port to int 10 BIOS emulator
2022-08-04 16:15:24 +02:00
Timo Kreuzer
74014e74c0
[NTOS:KDBG] Improve x64 stack trace printing
2022-08-04 16:15:24 +02:00
Timo Kreuzer
090ccb3d8e
[WIN32K] Add missing NULL checks
...
Also fix an old copy-pasta.
2022-08-04 16:15:24 +02:00
Katayama Hirofumi MZ
5f4db56486
[NTUSER] KLF_UNLOAD flag of NtUserGetKeyboardLayoutList ( #4592 )
...
This implementation enables KLF_UNLOAD flag awareness on listing the KLs.
CORE-11700
2022-08-03 12:45:10 +09:00
Katayama Hirofumi MZ
bfa92268da
[WIN32KNT_APITEST] Follow-up of Follow-up of #4594 ( 54b3b73
)
...
CORE-11700
2022-08-02 13:25:35 +09:00
Katayama Hirofumi MZ
8043706bf0
[WIN32KNT_APITEST] Follow-up of #4594 ( 54b3b73
)
...
CORE-11700
2022-08-02 12:07:09 +09:00
Katayama Hirofumi MZ
54b3b73c08
[WIN32KNT_APITEST] Add NtUserGetKeyboardLayoutName testcase ( #4594 )
...
The type of the 1st argument of NtUserGetKeyboardLayoutName is doubtful.
CORE-11700
2022-08-02 10:47:49 +09:00
Katayama Hirofumi MZ
b9ecf4b055
[NTUSER] Release WinSta->spklList at IntWinStaObjectDelete ( #4593 )
...
Call UserAssignmentUnlock((PVOID*)&WinSta->spklList); in IntWinStaObjectDelete function.
CORE-11700
2022-08-02 10:46:37 +09:00
Katayama Hirofumi MZ
6c1b65d7a4
[NTUSER] Improve WINSTATION_OBJECT compatibility ( #4591 )
...
- Modify WINSTATION_OBJECT structure with inserting struct tagKL *spklList member.
- Add some C_ASSERT(offsetof(WINSTATION_OBJECT, ...) == ...);.
CORE-18252
2022-07-31 10:25:07 +09:00
Eric Kohl
23ecbb3ed5
[SECLOGON][ADVAPI] CreateProcessWithLogonW: Return process information to the caller
2022-07-24 01:08:13 +02:00
Katayama Hirofumi MZ
bfe959e62c
[IMM32] Follow-up of #4588 ( ffbdb7d
)
...
CORE-11700
2022-07-23 12:42:54 +09:00
Katayama Hirofumi MZ
ffbdb7d39e
[IMM32][USER32] ImmPutImeMenuItemsIntoMappedFile ( #4588 )
...
Implement inter-process menu item retrieving.
CORE-11700
2022-07-23 05:58:17 +09:00
Timo Kreuzer
fe777bb52f
[NTOS:KDBG] Nuke KdbEnter and KdbpCliModuleLoaded
...
They are not used anymore. Also clean up some obsolete prototypes.
2022-07-20 23:57:42 +02:00
Timo Kreuzer
6778fa157f
[SETUP] Don't default to MP builds, when KDBG is enabled
...
The reason is that KDBG and the MP kernel don't like each other much and crash hard, causing VBox to shut down.
2022-07-20 23:57:42 +02:00
Timo Kreuzer
31a5fa61bb
[NTOS:KDBG] Add KdbpPrintUnicodeString
...
Calling normal unicode functions is not allowed at IRQL > APC_LEVEL, so calling _vsnprintf with unicode parameters from KDBG is invalid.
2022-07-20 23:57:42 +02:00