https://git.reactos.org/?p=reactos.git;a=commitdiff;h=4393e6cb54d7c1ec89e31…
commit 4393e6cb54d7c1ec89e31061655803875c23a6ca
Author: Joachim Henze <joachim.henze(a)reactos.org>
AuthorDate: Fri May 5 13:30:21 2023 +0200
Commit: GitHub <noreply(a)github.com>
CommitDate: Fri May 5 13:30:21 2023 +0200
[REGEDIT] de-DE.rc Fix accelerator collision (#5265)
Alt+D in german translation is already reserved for the file menu "&Datei"
in ROS and in MS Windows, thus we cannot use the same as accelerator
for focusing the address bar.
So for german we will use Alt+S instead, which is the same shortcut that
german MS+ROS explorer use for focusing their address bar.
This is an addendum to commit f908d37bb from PR #4885
which broke the german file-menu accelerator.
---
base/applications/regedit/lang/de-DE.rc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/base/applications/regedit/lang/de-DE.rc b/base/applications/regedit/lang/de-DE.rc
index f6d23a14570..6394f18e3ae 100644
--- a/base/applications/regedit/lang/de-DE.rc
+++ b/base/applications/regedit/lang/de-DE.rc
@@ -2,7 +2,7 @@ LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL
ID_ACCEL ACCELERATORS
BEGIN
- "D", ID_ADDRESS_FOCUS, VIRTKEY, ALT
+ "S", ID_ADDRESS_FOCUS, VIRTKEY, ALT
VK_DELETE, ID_EDIT_DELETE, VIRTKEY, NOINVERT
"^F", ID_EDIT_FIND
VK_F1, ID_HELP_HELPTOPICS, VIRTKEY, NOINVERT
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=2d31b06c67901db77b34a…
commit 2d31b06c67901db77b34a9207b8b6313d8720279
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Fri May 5 17:00:05 2023 +0900
Commit: GitHub <noreply(a)github.com>
CommitDate: Fri May 5 17:00:05 2023 +0900
[NTUSER] Remember old KL for Chinese IMEs (#5266)
The Chinese user uses Ctrl+Space key combination to switch between the IME keyboard and the non-IME keyboard. To enable Ctrl+Space, the system has to remember the previous keyboard layout. In IntImmActivateLayout function, remember the previous keyboard layout (hklPrev) to switch back for Chinese IMEs. CORE-18950
---
win32ss/user/ntuser/kbdlayout.c | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/win32ss/user/ntuser/kbdlayout.c b/win32ss/user/ntuser/kbdlayout.c
index f3971cf5c67..ef66cad9ddc 100644
--- a/win32ss/user/ntuser/kbdlayout.c
+++ b/win32ss/user/ntuser/kbdlayout.c
@@ -650,14 +650,21 @@ IntImmActivateLayout(
co_IntSendMessage(hImeWnd, WM_IME_SYSTEM, IMS_ACTIVATELAYOUT, (LPARAM)pKL->hkl);
UserDerefObjectCo(pImeWnd);
}
- else if (pti->spDefaultImc)
+ else
{
- /* IME Activation is needed */
- pti->pClientInfo->CI_flags |= CI_IMMACTIVATE;
+ /* Remember old keyboard layout to switch back for Chinese IMEs */
+ pti->hklPrev = pti->KeyboardLayout->hkl;
+
+ if (pti->spDefaultImc)
+ {
+ /* IME Activation is needed */
+ pti->pClientInfo->CI_flags |= CI_IMMACTIVATE;
+ }
}
UserAssignmentLock((PVOID*)&(pti->KeyboardLayout), pKL);
pti->pClientInfo->hKL = pKL->hkl;
+ pti->pClientInfo->CodePage = pKL->CodePage;
}
static VOID co_IntSetKeyboardLayoutForProcess(PPROCESSINFO ppi, PKL pKL)
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=df72bcd06c64672f1943c…
commit df72bcd06c64672f1943c487a8b0275e9bcc653f
Author: Timo Kreuzer <timo.kreuzer(a)reactos.org>
AuthorDate: Fri Apr 14 13:07:11 2023 +0300
Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org>
CommitDate: Thu May 4 14:09:14 2023 +0300
[NTOS:KDBG] Only load symbols on x86
Symbol loading leads to a hang on x64 boot in 2nd stage and KDBG symbols don't work on x64 anyway.
---
ntoskrnl/kdbg/kdb_symbols.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/ntoskrnl/kdbg/kdb_symbols.c b/ntoskrnl/kdbg/kdb_symbols.c
index 8cd897f339d..11ccd572219 100644
--- a/ntoskrnl/kdbg/kdb_symbols.c
+++ b/ntoskrnl/kdbg/kdb_symbols.c
@@ -355,8 +355,10 @@ KdbSymInit(
SHORT Found = FALSE;
CHAR YesNo;
- /* By default, load symbols in DBG builds, but not in REL builds */
-#if DBG
+ /* By default, load symbols in DBG builds, but not in REL builds
+ or anything other than x86, because they only work on x86
+ and can cause the system to hang on x64. */
+#if DBG && defined(_M_IX86)
LoadSymbols = TRUE;
#else
LoadSymbols = FALSE;