Commit Graph
27 Commits
Author SHA1 Message Date
fanlusky b0156540c0 Revert the WebView2 changes and temporarily make it switchable between rendering backends. 2026-09-04 01:42:10 +08:00
fanlusky 5c02503139 Render the candidate window with D2D instead of WebView2
Drive the existing candidate HWND through CandidatePresenter and msimeui,
keep WebView2 for the menu, floating toolbar, and settings, and load
external skins from skin.toml color tokens. Restore cloud/AI badges on
D2D items, and keep click, pin, fix-position, and delete on the same
window messages as before.
2026-09-02 15:30:03 +08:00
fanlusky 2ca14df0a5 Add support for a skin system. 2026-08-29 19:36:12 +08:00
fanlusky dafc7d6040 Optimize the logging on both the TSF and Server sides to facilitate issue diagnosis. 2026-08-25 13:53:30 +08:00
fanlusky 06e19fb14f Add some logs. 2026-08-23 18:10:47 +08:00
fanlusky 608eac7552 Fix the issue where the menu displays a scrollbar. 2026-08-09 21:24:51 +08:00
fanlusky ac8d47ef09 Change the candidate window to a stable transparent host window occupying about 1/4 of the screen (updating with the cursor monitor/DPI), with content wrapping according to the host width and scrolling according to the host height, and fix the issues of high-DPI edge cropping and inconsistency between measurement and CSS limits. 2026-08-08 21:37:09 +08:00
fanlusky 73fd24b53d Strengthen the adaptive sizing of the FTB when the resolution changes. 2026-08-08 19:49:19 +08:00
fanlusky 2bacc57b91 fix(candwnd): measure wrapped horizontal candidates correctly
Allow candidate items to wrap at the width limit so the native window height accounts for additional rows.
2026-07-29 23:13:23 +08:00
fanlusky 27885a6fa4 fix(candwnd): use stable 720 DIP host with internal card offset
Keep the transparent candidate HWND at wrap-cap width so right-edge
growth adjusts MarginLeft/Top instead of SetWindowPos-moving the host,
which was flashing through layered transparency. Measure/layout keep
horizontal candidates on one row and wrap only inside long items.
2026-07-28 04:06:16 +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 e2af2c49d2 chore(logging): remove server debug logging
- remove OutputDebugString calls across the server
- remove spdlog calls and file logger initialization
- disable IPC and WebView debug output
- remove temporary database performance instrumentation
- update the MetasequoiaImeEngine submodule revision
2026-07-27 15:13:51 +08:00
fanlusky b01a73e336 fix: stop horizontal candidate wrap flash on long lists
Keep horizontal candidates on one line with max-content/nowrap, and resize the host/WebView before painting so content is never laid out in a still-narrow viewport.
2026-07-24 02:07:27 +08:00
fanlusky f70804d89f Defer small-window TopMost until WebViews are ready on first show.
Avoid uiAccess + HWND WebView2 init races that blanked the candidate UI,
and stop parking the floating toolbar off-screen until WebView starts.
2026-07-23 11:28:39 +08:00
fanlusky fd0cff71e9 Fix the issue where the language bar right-click menu does not respond. 2026-07-17 23:38:14 +08:00
fanlumaster a66c1f1561 Wrap log with macros. 2026-03-14 00:21:34 +08:00
fanlumaster 6a815c069b remove log new lines 2026-03-12 02:23:26 +08:00
fanlumaster 9bfa8160e1 log format 2026-03-12 01:34:41 +08:00
fanlumaster f6382391db [fix]: fix menu wnd size when started 2025-11-10 00:01:06 +08:00
fanlumaster b3696e26fc [feat]: Conduct an experiment where the keymap hint is placed below the candidate wnd 2025-11-09 18:06:52 +08:00
fanlumaster cd7297de6f [log]: add line break 2025-11-08 16:37:39 +08:00
fanlumaster 081602f518 [ui]: Make webview2 rendering more stable 2025-09-18 13:54:46 +08:00
fanlumaster 436782c8b4 [feat]: UI 2025-03-29 10:52:19 +08:00
fanlumaster 9e90c4280d Make candidate window position more accurate 2025-03-28 07:37:12 +08:00
fanlumaster b48b731a1b get webview dom size 2025-03-27 11:25:39 +08:00
fanlumaster 2dd6a19ffc set up spdlog 2025-03-26 17:34:43 +08:00
fanlumaster efa57fe37f refactor 2025-03-26 16:36:21 +08:00