Commit Graph
33 Commits
Author SHA1 Message Date
fanlusky 025f966a90 perf: reuse persistent database connections for fixed candidates 2026-07-27 20:46:49 +08:00
fanlusky e8736d66b9 feat: integrate candidate ranking, pinning, and cache refresh 2026-07-27 20:25:27 +08:00
fanlusky d5523dd44d feat: preserve user dictionary changes across updates 2026-07-27 16:32:34 +08:00
fanlusky 02d5a3ff37 fix(candwnd): measure and size candidate wrap at 600 DIP
Force wrap-aware measure, serialize FineTune after measure content
updates, and preserve flip-up host height via MarginTop.

feat: lazily load single-letter Pinyin candidates

- query the top 24 single-letter candidates from the database
- load the complete candidate list on the first page-down action
- apply the same behavior to Shuangpin and Quanpin
- resolve Shuangpin initials according to the active profile
- preserve candidate frequency adjustment and pinning
- disable deletion for single-letter candidates
- add regression tests for Shuangpin v-to-zh mapping and lazy expansion
2026-07-27 16:12:46 +08:00
fanlusky 0dbe4c2c86 Add voice commit modes, InsertText IPC, and Ctrl+Shift+Alt hotkey fix.
Support tsf/sendinput/ctrl_v voice commit, route TSF inserts via worker
InsertText, handle WM_SYSKEYDOWN for Ctrl+Shift+Alt+digit candidate delete,
and skip watchdog when the IME profile is disabled.
2026-07-25 21:30:44 +08:00
fanlusky 4f859d012f fix: stabilize AI/cloud candidate apply to restore paging and prevent duplicate 🤖
Skip async AI/cloud refresh on paging and selection keys, early-exit when the
suggestion is already in the list, and dedupe series-cache inserts so repeated
cache hits no longer reset page_index or accumulate AI rows.
2026-07-24 00:37:23 +08:00
fanlusky 7f06a1a046 fix: sync tray floating-toolbar toggle from config
Refresh the menu toggle from general.floating_toolbar on show,
navigation, and config reload so it stays aligned with Settings.
Refs metasequoiaime/MetasequoiaImeTsf#17
2026-07-23 21:43:15 +08:00
fanlusky c92bff8734 Preliminarily support customizing preedit on the TSF side. 2026-07-21 13:00:15 +08:00
fanlusky 4765d72156 Integrate the handwriting recognition board into the server. 2026-07-20 01:57:31 +08:00
fanlusky 7775b97c09 Fix the issue where the candidate window cannot be pulled up when switching back from Microsoft's emoji panel, and deeply optimize the stability of IPC connections. 2026-07-16 21:41:09 +08:00
fanlusky 985ec87ea2 Add support for the Ziranma Shuangpin scheme. 2026-07-15 00:26:07 +08:00
fanlusky e417eaee64 Refactor to prepare for adding the Ziranma scheme. 2026-07-14 23:39:34 +08:00
fanlusky df6002c03e Add preliminary support for Chinese-English mixed input. 2026-07-14 19:00:09 +08:00
fanlusky fe1cc4a1e1 Add support for the Wubi input method. 2026-07-13 18:35:52 +08:00
fanlusky c325828bc9 Add a cloud icon to cloud candidates. 2026-07-11 10:52:38 +08:00
fanlusky e3317a248e Fix the issue where cloud prediction for engine and shuangpin is not stored in the database. 2026-06-25 23:21:28 +08:00
fanlusky e9f12a6a07 Add fallback query for full pinyin such as gei, dia, biang, yo. 2026-06-23 09:06:56 +08:00
fanlusky 2463d5486c The engine backend should also cache cloud prediction results, and ensure that filtering with auxiliary codes is consistent with legacy behavior. 2026-06-23 07:26:03 +08:00
fanlusky b956e0d453 Fix the issue where the auxiliary code is not cleared during full-pinyin word creation. 2026-06-22 20:49:19 +08:00
fanlusky 2d41bbb6c4 Fix the preedit behavior during full-pinyin word creation. 2026-06-22 12:37:55 +08:00
fanlusky e09c1299a5 Add some tests 2026-06-22 10:07:49 +08:00
fanlusky 9c5127af98 Quanpin support creating words. 2026-06-22 01:32:40 +08:00
fanlusky 92f8858180 Separate the responsibility boundaries of quanpin_query and quanpin_utils. 2026-06-22 01:08:44 +08:00
fanlusky 77af7d7f26 Do not trigger cloud prediction when the full-pinyin auxiliary code is active. 2026-06-22 00:56:59 +08:00
fanlusky e31cd003b0 The auxiliary code can only be used when all full pinyin syllables are complete. 2026-06-22 00:51:07 +08:00
fanlusky 23b9b28f05 Add helpcode support for quanpin 2026-06-22 00:33:48 +08:00
fanlusky fca15d898d Add tests 2026-06-20 22:11:00 +08:00
fanlusky 3e57162cf0 Some simple refactoring 2026-06-19 21:04:01 +08:00
fanlumaster 7fd0e24475 [Project]: Rename IME name 2025-06-10 17:18:22 +08:00
fanlumaster ab537c2d8b [dependency]: Extract engine to a standalone module and import 2025-05-31 04:55:51 +08:00
fanlumaster fe011769bd [test]: Some tests 2025-04-22 03:25:28 +08:00
fanlumaster a9d218e743 [test]: Test pinyin query 2025-04-21 18:32:45 +08:00
fanlumaster 436d85fb84 [test]: Add tests 2025-04-20 17:44:33 +08:00