History log of /reactos/base/applications/kbswitch/kbswitch.c (Results 1 – 25 of 45)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# fcbcc5b3 10-Mar-2024 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>

[KBSWITCH][INPUT][SDK] Use <imm32_undoc.h>'s IS_IME_HKL (#6588)

Unify the private IMM32 macro
definitions. Refactoring...
JIRA issue: CORE-19361
- Define IS_SPECIAL_HKL macro
in <imm32_undoc.h

[KBSWITCH][INPUT][SDK] Use <imm32_undoc.h>'s IS_IME_HKL (#6588)

Unify the private IMM32 macro
definitions. Refactoring...
JIRA issue: CORE-19361
- Define IS_SPECIAL_HKL macro
in <imm32_undoc.h>.
- Use IS_IME_HKL and
IS_SPECIAL_HKL macros of
<imm32_undoc.h>,
in kbswitch and input modules.

show more ...


# 87f94aa1 30-Oct-2023 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>

[KBSWITCH] Update layout list on WM_NOTIFYICONMSG

The layout list was not updated correctly.
CORE-10667


# a0bef199 02-May-2023 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>

[KBSWITCH] Rely on GetKeyboardLayoutList for getting list (#5263)

- Use GetKeyboardLayoutList to get the keyboard list instead of using Preload registry key.
- Get the special IDs from registry to

[KBSWITCH] Rely on GetKeyboardLayoutList for getting list (#5263)

- Use GetKeyboardLayoutList to get the keyboard list instead of using Preload registry key.
- Get the special IDs from registry to handle special HKLs in newly-added LoadSpecialIds function.
- Add GetKLIDFromHKL, GetHKLFromLayoutNum, UpdateLayoutList, and GetKLIDFromLayoutNum helper functions.
CORE-13145, CORE-10667, CORE-18924

show more ...


# 7ee41e9e 28-Apr-2023 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>

[KBSWITCH] Delete SHLoadRegUIString hack (#5260)

Because shlwapi!SHLoadRegUIString function is already implemented, so we don't need the hack any more. CORE-10667


# 6f03be85 29-Oct-2022 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>

[KBSWITCH] Don't activate target window on WM_CREATE

CORE-10667


# 06cd4535 29-Oct-2022 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>

[KBSWITCH] Menu with icons (#4822)

Add icons to the left-click menu. CORE-10667


# a6df7ddb 29-Oct-2022 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>

[KBSWITCH] Fix shutdown and logout dialog CORE-18563

20221028-0.4.15-dev-5273-g36f7d1a introduced bug.
Quick fix.
CORE-18563


# 433240fe 29-Oct-2022 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>

[KBSWITCH] Follow-up of #4815 (36f7d1a); Less flicker Alt+Shift

Add bNoActivate argument to ActivateLayout function.
CORE-11700, CORE-2699, CORE-18546


# 36f7d1a9 28-Oct-2022 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>

[KBSWITCH][CPL:INPUT][NTUSER][EXPLORER] Fix keyboard layout icon (#4815)

Fix keyboard layout icon in taskbar notification area. JIRA issue: CORE-11700, CORE-2699, CORE-18546
- Call ActivateKeyboard

[KBSWITCH][CPL:INPUT][NTUSER][EXPLORER] Fix keyboard layout icon (#4815)

Fix keyboard layout icon in taskbar notification area. JIRA issue: CORE-11700, CORE-2699, CORE-18546
- Call ActivateKeyboardLayout to select the keyboard layout correctly.
- Modify WM_INPUTLANGCHANGEREQUEST parameter.
- Modify BroadcastSystemMessageW parameter.
- Revert Taskbar Notification Area MA_NOACTIVATE HACK 8344291 . This fixes Context Menu display.
- Load the "IME File" value and set the IME icon if necessary.
- Correctly implement global hooks.

show more ...


# bbef6180 13-Oct-2022 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>

[KBSWITCH][IMM32][USER32] Consider keyboard layout corner cases

Considering invalid Keyboard Layout registry entries.
CORE-11700


# dbe4abab 29-Sep-2022 Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>

[KBSWITCH][INPUT.CPL] Correctly do the input language indicator.

Addendum to commits 5f4bb73e and c6ccb92b.

- GetLocaleInfo() returns an int, not a bool: makes it clear in the test.

- No need to u

[KBSWITCH][INPUT.CPL] Correctly do the input language indicator.

Addendum to commits 5f4bb73e and c6ccb92b.

- GetLocaleInfo() returns an int, not a bool: makes it clear in the test.

- No need to use StringCchCopy() to just initialize two chars to the
same value.

- The question about the test in https://github.com/reactos/reactos/pull/4723#discussion_r981331634
was meant to discover that CreateDIBSection() was unnecessary, since
the very original code (before commit 0991cedc) did not use it and was
working fine in that regard. The simple fix was to use GetDC(NULL).

- Use SM_CXSMICON/SM_CYSMICON metrics for the KBSWITCH indicator as well.

- Override the font size obtained from SPI_GETICONTITLELOGFONT with a
known one (allows to get a correct indicator even if the user font
is very large).

- Do the initialization in such a way that in case SPI_GETICONTITLELOGFONT
or CreateFontIndirect fails, we always fall back to the default stock
font that is ensured to always exist.

- Initialize *all* the fields of the IconInfo structure.

show more ...


# c6ccb92b 28-Sep-2022 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>

[KBSWITCH] Fix keyboard indicator text and font (#4723)

- Do the same behaviour as input.dll in getting indicator text.
- Use full color DIB (device-independent bitmap) to improve icon.
- Use SPI_

[KBSWITCH] Fix keyboard indicator text and font (#4723)

- Do the same behaviour as input.dll in getting indicator text.
- Use full color DIB (device-independent bitmap) to improve icon.
- Use SPI_GETICONTITLELOGFONT for font.
CORE-10667

show more ...


# 2469ce2c 25-Sep-2022 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>

[NTUSER][KBSWITCH] Realize Alt+Shift keyboard switch (retry) (#4721)

Alt+Shift is a useful key combination to switch the current keyboard layout. CORE-11737
- Add ID_NEXTLAYOUT command to kbswitch.

[NTUSER][KBSWITCH] Realize Alt+Shift keyboard switch (retry) (#4721)

Alt+Shift is a useful key combination to switch the current keyboard layout. CORE-11737
- Add ID_NEXTLAYOUT command to kbswitch.
- Send command ID_NEXTLAYOUT to kbswitch on Alt+Shift key combination in WM_SYSKEYDOWN handling of IntDefWindowProc function.
- Make IntFindWindow a non-static function.

show more ...


# 8222c0e6 28-Aug-2022 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>

[KBSWITCH][NTUSER] Revert Shift+Alt handling

The current Shift+Alt handling is buggy. The keyboard won't work frequently.
It dislikes system-side Alt (VK_MENU) key handling.
It seems like Shift+Alt

[KBSWITCH][NTUSER] Revert Shift+Alt handling

The current Shift+Alt handling is buggy. The keyboard won't work frequently.
It dislikes system-side Alt (VK_MENU) key handling.
It seems like Shift+Alt handling should be in kernel.
CORE-10667

show more ...


# 43108ba7 28-Aug-2022 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>

[KBSWITCH] Simplify checking NULLs

CORE-10667


# e8b830d6 25-Aug-2022 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>

[KBSWITCH] Fix GetNextLayout for three or more languages (#4629)

Typing Alt+Shift should work cyclically.
CORE-11737


# 261416dd 25-Aug-2022 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>

[KBSWITCH] Follow-up of 0991ced

- Used FW_NORMAL.
- Added NULL checks.
CORE-10667


# d4ed449c 24-Aug-2022 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>

[KBSWITCH] Total refactoring


# 82db0523 24-Aug-2022 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>

[KBSWITCH] Fix notification icon handle leak


# eca08cfe 24-Aug-2022 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>

[KBSWITCH] Refactor WndProc


# 3892252b 24-Aug-2022 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>

[KBSWITCH] Use StringCchCopy instead of lstrcpyn


# 0991cedc 24-Aug-2022 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>

[KBSWITCH] Refactor CreateTrayIcon


# f974f028 24-Aug-2022 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>

[KBSWITCH] Fix menu handle leak


# b4f73f04 23-Aug-2022 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>

[KBSWITCH][NTUSER] Realize Shift+Alt language switch (#4622)

- Fix co_UserProcessHotKeys on modifiers-only hot-keys.
- Add Alt+Shift hot-keys to kbswitch window.
CORE-11737


Revision tags: 0.4.14-release, 0.4.15-dev, 0.4.14-RC, 0.4.13-release, 0.4.14-dev, 0.4.13-RC, 0.4.12-release, 0.4.12-RC, 0.4.13-dev, 0.4.11-release, 0.4.11-RC, 0.4.12-dev, 0.4.10-release, 0.4.11-dev, 0.4.10-RC, 0.4.9-release, 0.4.10-dev, 0.4.9-RC, 0.4.8-release, 0.4.8-RC, 0.4.9-dev
# 20a782b7 22-Jan-2018 Stanislav Motylkov <x86corez@gmail.com>

[KBSWITCH] Update tray icon on color scheme change

CORE-14240 #resolve


12