Commit Graph
272 Commits
Author SHA1 Message Date
fanlusky b324b45b55 Optimize the logging on both the TSF and Server sides to facilitate issue diagnosis. 2026-08-25 13:54:33 +08:00
fanlusky adc2d67cb6 docs. 2026-08-25 12:11:12 +08:00
fanlusky 3fea2c5fc1 Implement forward deletion within active compositions
Route Delete through immediate and deferred key handling, remove the character at the composition caret, and prevent end-of-composition Delete from leaking into the host application.
2026-08-23 17:30:50 +08:00
fanlusky ffe90560cd Fix the issue where the language bar and FTB are out of sync for the Chinese-Japanese status. 2026-08-22 19:40:33 +08:00
fanlusky 93319ec711 Docs. 2026-08-22 18:52:17 +08:00
fanlusky ded3cf3fb4 Attempt to fix the flickering issue with Microsoft Shuangpin. 2026-08-22 16:51:48 +08:00
fanlusky 96e1ecd5c5 There should also be a corresponding status indicator when the keyboard Caps Lock is turned on. 2026-08-21 23:10:01 +08:00
fanlusky 0f84f4b13a Optimize the tray icon of the language bar and the Japanese icon of the toolbar. 2026-08-21 22:06:48 +08:00
fanlusky 03c8145a0c Add dynamic switching of Japanese icons. 2026-08-21 17:34:46 +08:00
fanlusky 8e825920c5 Add inline preedit in-time ars result support for voice input. 2026-08-17 00:56:22 +08:00
fanlusky 9f83b88124 docs. 2026-08-16 03:09:07 +08:00
fanlusky 5998f01513 Preserve the last raw character committed with Enter so smart punctuation works correctly in Telegram and other shallow TSF text stores. 2026-08-13 04:46:06 +08:00
fanlusky 99cbc172e1 fix(tsf): support Shift language switching in mintty (refs #32) 2026-08-13 03:02:56 +08:00
fanlusky 42d4566bcc Fix the issue where, after quickly backspacing to delete an English smart punctuation mark and then pressing again, the "repeated press changes to Chinese" logic incorrectly uses SendInput(Backspace) and deletes the previous character. 2026-08-11 16:06:13 +08:00
fanlusky 04eda22a40 Add the feature that repeated smart punctuation input switches to Chinese punctuation. 2026-08-10 03:23:36 +08:00
fanlusky 8a84cdc178 docs. 2026-08-10 01:56:59 +08:00
fanlusky 1e345d818e Add Microsoft Shuangpin scheme. 2026-08-10 01:53:57 +08:00
fanlusky f6c62d0c45 Support paired punctuation. 2026-08-10 00:38:23 +08:00
fanlusky 90092e1a8c Fix the issue where content hosts such as Chrome/Twitter clear the smart punctuation override state due to DocumentMgr switching after Backspace, and where the deferred barrier misses recording Backspace, so that after deleting an English '.' after a number and then pressing the period key, it can stably commit the Chinese '。'. 2026-08-09 15:26:15 +08:00
fanlusky 98b3bf8eb6 Add dpi releated rules to agents.md. 2026-08-08 21:41:02 +08:00
fanlusky b025e9e351 docs. 2026-08-07 02:09:25 +08:00
fanlusky 398739fd8c docs. 2026-08-06 01:31:12 +08:00
fanlusky 00a069871a docs. 2026-08-05 23:31:39 +08:00
fanlusky 1b88cbd17c Update agents.md. 2026-08-04 23:29:20 +08:00
fanlusky 8a13222b98 docs. 2026-08-04 22:32:04 +08:00
fanlusky d3c3c63d48 Attempt to fix the issue where the candidate window is truncated in some windows, such as in CAD. 2026-08-04 12:20:19 +08:00
fanlusky 8c1c59b829 Fix UILess Mode issues to support Chinese input in Delta Force. 2026-08-04 01:09:21 +08:00
fanlusky a4ecf47f83 Migrate some shortcuts to keyeventsink. 2026-08-02 22:57:06 +08:00
fanlusky d30e764610 Fix the issue where the Chinese/English status between the tray icon and the FTB is not synchronized in VSCode multi-window scenarios, and also fix the issue where Chrome applications do not follow the default Chinese/English status when opened. 2026-08-02 21:47:35 +08:00
fanlusky 42c7d21b5d Fix the issue where smart punctuation fails in the built-in terminal of VSCode-related applications. 2026-08-02 01:36:55 +08:00
fanlusky 350d6a7457 Remove logs 2026-08-01 23:22:06 +08:00
fanlusky b5ded50274 Add English input mode. 2026-08-01 23:11:02 +08:00
fanlusky 22ad3f29a5 Implement smart punctuation, automatically using English punctuation , . : after English letters and numbers. 2026-08-01 19:54:21 +08:00
fanlusky 79a85628bf Add agents.md 2026-08-01 19:24:07 +08:00
fanlusky d2ac018b52 Fix the issue where selecting candidates with the numeric keypad fails to commit and causes the interface to flicker and freeze. 2026-08-01 17:38:07 +08:00
fanlusky 0c95aa272a fix(ime): keep first-key candidate window when entering Excel cell edit, do not suspend client on transient focus loss during Excel cell edit. 2026-08-01 02:35:51 +08:00
fanlusky 881dba501f fix(ime): launch Server off the UI thread and wake it on TIP activation
ShellExecuteW for the uiAccess Server was running on the host TSF thread,
which could freeze apps like Windows Terminal and make the language-bar
CN/EN icon disappear until the next OnUpdate. Move the launch to a
background thread, and revive a missing Server from ActivateEx/OnActivated
while keeping keystroke-driven keep-alive unchanged.
2026-07-31 00:43:32 +08:00
fanlusky b3909578e1 Replace watchdog wake-up with Weasel-style Server keep-alive on keystroke IPC failures.
Launch MetasequoiaImeServer via ShellExecute after 6 real key reconnect failures, and keep the background timer for reconnect only.
2026-07-30 21:09:07 +08:00
fanlusky 5e36ba1d01 feat: support exact candidate character commits
- handle exact-text commit responses from the server
- commit word-to-character results without appending punctuation
- use highlighted candidate text for punctuation commits
2026-07-29 13:44:08 +08:00
fanlusky ccedf77760 fix(composition): deduplicate consecutive pinyin separators
- prevent adjacent apostrophes in the TSF keystroke buffer
- keep the fallback commit buffer synchronized with accepted input
2026-07-29 11:57:49 +08:00
fanlusky 87ba31f2ec fix: reliably notify server when switching away from IME
Send terminal deactivation as soon as the language profile becomes inactive.
Preserve the focus token during teardown and fall back to an acknowledged Aux
notification when the Main pipe write fails.
2026-07-29 00:15:49 +08:00
fanlusky 34ff19482d fix(langbar): refresh theme icons immediately on system theme change
Watch theme registry changes and defer language bar refresh slightly so dark/light icon updates apply without switching away from the IME.
2026-07-28 22:50:40 +08:00
fanlusky c6895cc951 Add Ctrl-only CN-EN toggle and honor hotkey enable flags from config. 2026-07-28 21:44:28 +08:00
fanlusky 218217f5d9 Apply configured default CN/EN mode on IME activate.
Read input.default_ime_mode from shared config.toml when initializing compartments.
2026-07-28 20:23:31 +08:00
fanlusky 0b00c0042b feat(langbar): switch IME mode icons by system light/dark theme
Replace ImeModeOn/Off with cn/en light and dark icons, and refresh the language bar when the system theme changes.
2026-07-28 19:20:21 +08:00
fanlusky 79b3155099 fix(ime): defer CN→EN close until after Shift composition commit
Win32 EDIT/CUAS double-inserts preedit when KEYBOARD_OPENCLOSE is closed
before EndComposition. Commit first on Shift, then apply the pending mode
switch so Explorer dialogs match Chrome/Ctrl+Space behavior.
2026-07-28 00:37:53 +08:00
fanlusky 4ea2386611 fix(ime): keep numpad decimal as '.' in Chinese punctuation mode
Differentiate VK_DECIMAL from the main keyboard period so the numpad .
always commits ASCII . in Chinese punctuation mode, while preserving 。
for the main keyboard period.
2026-07-27 14:11:16 +08:00
fanlusky 4f35836a2c Handle worker InsertText for unsolicited voice commits 2026-07-25 18:54:00 +08:00
fanlusky 30c09425c5 fix: show langbar menu via session-less Aux pipe
Right-click was gated on the focused TIP Main session, so the menu
failed after focus loss. Route LangbarRightClick over Aux instead and
stop accepting it on Main.
2026-07-24 03:14:44 +08:00
fanlusky f0de23aaab Refs metasequoiaime/MetasequoiaImeTsf#11 2026-07-23 18:35:49 +08:00