c7718ece52
data: one trie for maps and dictionaries, one loader
...
The hash map served a single exact-match lookup that the trie already
answers, at the price of a second container, a second file loader with
its own drift, and a Str-to-UTF-8 conversion on every chain probe. The
files are small (kanji.dict is 7.5k lines), so the trie holds both.
trieopen validates keys and each space-separated value word against Str
and reports path:line; trielookup takes the Str every caller holds and
treats a nil trie as an unloaded map; trienew/trieput exist for tests.
The overflow guards on growth, Trie.root (always 0) and the per-language
init loop written twice are gone.
2026-08-16 15:56:32 +09:00
bfe83d0119
fix(data): reject partial and malformed map data
2026-08-14 23:09:55 +09:00
38475318db
fix(popup): fit the current X11 monitor
2026-08-14 22:54:15 +09:00
f222b4d573
popup: refine the input panel
2026-08-14 20:54:09 +09:00
e4fc327ffd
popup: show the candidate page
2026-08-14 20:06:53 +09:00
193ed009bd
popup: place and bound the input panel
2026-08-14 20:00:36 +09:00
2e6d7d8e48
xim: clear callback preedit on owner loss
2026-08-14 19:17:37 +09:00
4e07699460
xim: run server inside strans
2026-08-14 16:16:27 +09:00
08369e718e
popup: use system fonts exclusively
2026-08-14 15:17:00 +09:00
54355b8190
popup: replace FreeType renderer with PangoCairo
2026-08-14 14:37:30 +09:00
335783ebe5
daemon: claim ipc endpoint before ibus publication
2026-08-14 01:02:17 +09:00
b6a9ccd9d9
cleanup: simplify frontend request ownership
2026-08-13 21:57:32 +09:00
13f0b436b8
headers: make server key reader private
2026-08-13 21:26:56 +09:00
e01a991de4
remove: drop Wayland frontend
2026-08-13 21:25:12 +09:00
f46d51b539
renderer: use direct FreeType with explicit font files
2026-08-13 20:40:38 +09:00
de536da0bb
refactor: trim popup and XIM helpers
2026-08-12 17:33:14 +09:00
211a6917b2
refactor: remove guarded helper headers
2026-08-12 16:45:27 +09:00
5ba5cf209c
fix: assign one active engine owner
2026-08-12 15:41:46 +09:00
9dc116a035
harden ipc and frontend recovery
2026-08-11 19:34:47 +09:00
7b40ef419f
fix vietnamese telex state
2026-08-11 19:34:14 +09:00
e70278a3d2
fix core text and map ownership
2026-08-11 19:32:58 +09:00
7629ec5fe8
add wayland support
2026-05-28 17:28:47 +09:00
3a203766d5
add ibus supprot
2026-05-28 15:17:31 +09:00
b887972fb2
vietnamese telex input
2026-02-08 16:57:52 +09:00
d06cef6575
add lang dispatch, korean hangul input
2026-02-08 16:52:08 +09:00
5653298bb1
use trie for map lookup
2026-02-08 16:36:59 +09:00
436a49c3ca
remove jp.c
2025-12-28 13:02:53 +09:00
dcd1147638
first commit
2025-12-23 20:21:56 +09:00