- Flush/spacing fixes, auto-restore English words - Tone placement for qu/gi/gio and uê/uơ clusters - Skip auto-repeat, Enter key, clipboard fixes - 102 tests total across all crates
2.7 KiB
2.7 KiB
Changelog
v0.1.2 (2026-06-26)
Flush & Spacing
- Flush char forwarded as raw key — Engine no longer includes flush char (space, enter, punctuation) in Replace insert text. Daemon forwards it as a raw keycode after injection, preventing clipboard paste from trimming trailing spaces.
- Stop retyping finished word on flush — Flush no longer erases and retypes the entire word. Characters already on screen stay, only the flush key is typed.
- Auto-restore English words — Recognizes common English words and invalid Vietnamese syllables. When typing
hellofollowed by space, the word is restored if the engine incorrectly applied Vietnamese marks.
Tone Placement
- qu/gi onset glides — Correct tone placement for
qu(quý, quả) andgi(gió, giờ) clusters. - uê/uơ clusters — Correct tone on second vowel for
uê(thuế) anduơ(thuở).
Injection Fixes
- Skip auto-repeat pile-up — After each injection, skip 3 auto-repeat events (value=2) to prevent
rrrrrrrrfrom flooding the output during injection delay. - Enter key support —
\ncharacter now sent asKEY_ENTERvia uinput. Fixes Enter requiring double-press. - Removed clipboard save/restore — The
xclip -oread was leaking content into text. Simple clipboard write+paste is sufficient. - Removed xdotool approach — xdotool type depends on keyboard layout and fails on US layout. Reverted to clipboard paste which is layout-independent.
AppImage
--quit/--restart/--updateflags — CLI control over daemon lifecycle and self-updating from GitHub releases.- xdotool bundling — Bundled in AppImage for future use (not active yet).
Engine Tests
- 102 total tests — 71 engine + 13 CLI + 12 protocol + 5 auto-restore + 1 tone placement.
- New:
tone_placement.rs(qu/gi/gio/uê/uơ clusters),auto_restore.rs(5 tests).
DEB & AppImage
vietc_0.1.2-1_amd64.deb(975K),Viet+-0.1.2-x86_64.AppImage(2.2M) published on GitHub and Forgejo.
v0.1.1 (2026-06-26)
Telex fixes
- Fix
rconsumed as tone key — Telex tone keys (f,s,r,x,j) now only activate when the composition has a vowel. - Fix normal letters consumed —
is_vn_control_keywas consuminga,e,o,d,uin Telex mode. - Tone key context check — Tone keys check
has_vowelbefore applying.
Injection
- 15ms delay between clipboard paste and trailing uinput ASCII.
- Persistent X11 connection for Ctrl+V via
std::sync::Once. - Enter key sends
KEY_ENTERvia uinput.
AppImage
--quit,--restart,--updateflags. GUI quit dialog.- 67 engine tests.
v0.1.0 (2026-06-26)
Initial release and major overhaul.