78 Commits

Author SHA1 Message Date
Rocka
5d149c40a6
Adopt fcitx5 CandidateWord::spaceBetweenComment API 2026-04-05 01:40:54 +08:00
Rocka
55a24664db
Use empty string as candiadte text comment separator 2026-03-27 00:39:12 +08:00
Rocka
85196e6a73
Force show CandidatesView only when input method switched by user 2025-11-09 15:11:02 +08:00
Rocka
2ad65bd234
Restore InputView state when switching between virtual/physical keyboard 2025-11-09 02:58:14 +08:00
Rocka
dc99740b2f
Fix trigger candidate action in bulk candidate list 2025-05-30 01:02:53 +08:00
Rocka
5d7338a9a1
Fix candidate action in bulk candidate list with undetermined size (-1) 2025-05-29 23:02:57 +08:00
Panda527
ad08268084
Make CandidatesView touchable (#680)
* Make CandidatesView touchable

* Update touchEventReceiverWindow's position after CandidatesView's

* Disable animations

* Make pagination icons clickable

* Fix selecting paged candidate

---------

Co-authored-by: Rocka <i@rocka.me>
2025-01-27 22:58:14 +08:00
Rocka
00466a5937
Apply fcitx input filter to paged candidates 2025-01-01 17:29:34 +08:00
Rocka
a21fe4b5b7
Avoid creating unnecessary empty PagedCandidate* objects 2024-08-22 00:51:01 +08:00
Rocka
d07838d868
Dedicated PagedCandidateEvent 2024-08-21 01:03:05 +08:00
Rocka
2fb0c03368 Adopt fcitx5 candidate action API 2024-06-19 23:23:56 +08:00
Rocka
364afb44dc
Adopt fcitx::CandidateWord::textWithComment() 2024-04-10 20:24:14 +08:00
Rocka
652d13d933
Adopt sensitive flag for passwords in clipboard 2024-04-08 17:58:21 +08:00
ACh Sulfate
442b715bc9
Trigger "forget word" by hotkey in pinyin and table engine (#457)
Co-authored-by: Rocka <i@rocka.me>
2024-04-08 17:42:49 +08:00
Rocka
cd529e0c0a
Remove client preedit workaround 2023-12-03 14:40:52 +08:00
Potato Hatsue
25e08fad8b
Add SPDX license header and project copyright template
Co-authored-by: Rocka <i@rocka.me>
2023-11-07 18:23:07 +08:00
Rocka
3583d6df0f
Always use active InputContext in androidfrontend 2023-10-27 21:04:51 +08:00
Rocka
bb72d2c6c8
Make use of InputContextFlushUIEvent 2023-10-27 21:04:51 +08:00
Rocka
97d6215c4f
Implement deleteSurroundingText 2023-10-21 18:38:02 +08:00
Rocka
6e22d34eb7
Make use of new commitStringWithCursor API 2023-10-11 21:41:34 +08:00
Rocka
a4bb68117f
Check clientPreedit update only for androidkeyboard 2023-10-08 01:59:29 +08:00
Rocka
358c3ce923
Support BulkCandidateList with unknown size (-1) 2023-10-06 14:19:09 +08:00
Rocka
4d67d318c0
New androidnotification addon
only implements `fcitx::INotifications::showTip`
2023-10-06 14:03:40 +08:00
rocka
8f088594b7
Split more prefab libraries and unikey plugin (#324)
New prefab libraries: fcitx5-lua libime fcitx5-chinese-addons
New plugin: fcitx5-unikey
2023-08-28 21:30:50 +08:00
Rocka
c69bba84e7
Use InputContext::invokeAction for cursor reposition 2023-08-11 15:53:11 +08:00
Rocka
ada7a70cbc
Fix paging candidates loading 2023-03-31 23:10:49 +08:00
Rocka
0ad16279b5
Add getFcitxCandidates native method
Also limit candidates count in CandidateListEvent to 16
2023-03-29 16:07:37 +08:00
Rocka
af967f746c
Refactor Preedit and InputPanel update events 2023-02-21 00:53:44 +08:00
Rocka
c763caa10a
Use package name for InputContext program 2023-02-01 23:55:29 +08:00
Rocka
60bda34607
Implement preedit text format 2023-01-20 20:46:18 +08:00
Rocka
accb85b81f
Deduplicate StatusArea update events 2022-12-12 10:53:06 +08:00
Rocka
1285ca9d2a
Always forward KeyEvent regardless of InputView visibility 2022-10-10 16:45:07 +08:00
Rocka
214a503786
Use Int for KeyEvent "timestamp" 2022-10-10 15:37:43 +08:00
Rocka
5e7dbdd01e Return boolean value in Fcitx::select(Int)
`true` means "success", or at least there is somthing to select
2022-09-25 22:52:59 +08:00
Rocka
87d003a71b
Track active InputContext in androidfrontend
Ensure setCapabilityFlags on active InputContext
2022-09-25 15:10:49 +08:00
Rocka
b8e0602481
Manage InputContext in LRU cache 2022-09-21 10:16:06 +08:00
Rocka
60754ad6f5
Create an InputContext for every Android InputBinding 2022-09-20 16:17:18 +08:00
Rocka
aa0fdab453
Forward original KeyEvent from physical keyboard 2022-09-19 21:07:15 +08:00
Rocka
ac49fef27a
Minor refactor 2022-08-05 16:45:40 +08:00
Rocka
cedb167fe3
Convert fcitx preedit cursor to jvm string length 2022-05-26 01:49:39 +08:00
Rocka
d25a98c52b Send StatusArea Action to JVM 2022-04-15 10:01:55 +08:00
Rocka
c8fd56bdba
Apply outputFilter to strings produced by androidfrontend 2022-04-08 18:46:14 +08:00
Rocka
0d1122ccc7
move some log to debug and suppress debug log on release buld 2022-03-27 19:01:30 +08:00
Rocka
883ff78ae7
minor fixes 2022-03-23 13:38:48 +08:00
Rocka
a6a011f4a2
implement forward key in android frontend 2022-03-23 11:48:49 +08:00
Rocka
466fed5873
report KeyEvent KeySym/KeyState and up/down action 2022-03-23 01:15:11 +08:00
Rocka
c1b1c00bc9
distinguish preedit cursor and client preedit cursor 2022-03-21 20:26:06 +08:00
Rocka
beb75c057c
use InputContextInputMethodActivated for imChanged callback 2022-01-13 15:15:57 +08:00
Rocka
db650f453c set input context capability flags in kotlin 2022-01-10 23:45:08 +08:00
Rocka
69f7a583da
tweak startInput/finishInput behavior
-  focusOut and focusIn when restarting input
- requestCursorUpdates only when system cursor not ignored
2022-01-09 22:18:34 +08:00