Releases: osfans/trime
v3.2.3
Change log since v3.2.2:
- 8ea42b8 ci: rename workflow to same style
- fb85dd4 ci: migrate workflows from adopt to temurin
- ca099fe Move keystore properties to keystore.properties
- 8fe8c71 fix NullPointerException
- 288573b Init the colors config before load candidate background
- cd19c26 Fix a ClassCastException caused by the clipboard command
- 3d9a6a3 doc: update inappropriate translation
- 95e117a 优化候选栏。 当普通键盘的高亮候选词、液态键盘的高亮tab在屏幕外时,自动调整候选栏的滚动位置。
- 712e521 优化liquidKeyboard。 打开关闭的方式由开关改为command。支持使用名称和序号两种方式打开指定的liquidKeyboard Tab。修改同文风主题主键盘的颜文字按键为剪贴板管理器。
- 82a1abd 为 #524 增加开关
- 2893c46 优化键盘按键滑动事件的触发
- 58e7b83 refactor: try to meet spotless styling
- 61f278a refactor(core/Trime; keyboard/KeyboardView): remove unusable swipe action
- f147df8 perf(core/Trime): not pre-declare View to avoid static field leak
- 0fd7dd6 fix: cannot display liquid keyboard view
- 8974ebe refactor(res/layout; core/Trime): reorganize layout resources
- ff985af refactor(keyboard/KeyboardView): introduce LeakGuardHandlerWrapper
- 2951a08 perf(core/Trime): refactor handler class
- 9eb138e refactor(setup/Config): reduce context parameter usages
- 2c9bc2f feat: enhance haptic feedback
- f058710 fix: key properties should fallback to keyboard's
- 86ad95e fix: cannot seek progress of repeat interval setting
- f53ffcd perf(core): reorganize and improve Trime service
- a887ed1 refactor(core): fix typos
- eea722f fix(res): make Options Menu follow the UI mode (#521)
- ecbb36e refactor(symbol): fix typos
- 611cbb3 refactor(clipboard): fix typos
- 65e4038 refactor/perf(keyboard): improve KeyboardSwitch(er)
- 3c2da03 refactor(keyboard): move and rename TrimeKeyEffects
- 8f95b32 refactor(keyboard): remove unused KeyboardManager
- e7a878a chore: clean obsolete artwork
- 8dc7ba5 chore: upgrade spotless plugin to 5.15.0
- af19201 chore: upgrade google java format to 1.11.0
- 14e9b2e doc: add contribution guide in pull request template
- 849fab4 doc: add contribution guide in readme
- b8f4551 feat: add contribution guide
- 69dbd54 feat: add code of conduct file
- f9269eb fix: fix fdroid build by remove unverified repo
- b72d273 chore: remove obsolete readme file
- 822d36b chore: polish english readme
- bab1f3b chore: change readme referrer
- 325873f doc: set main readme to en
- 42d743b chore: polish en readme
- c82ca11 fix: fix image align by change icon
- ffed387 chore: fix typos in README_en.md
- 1d83f74 chore: fix typos in READMEs
- e66d97a chore: adjust READMEs' copywriting
- 36aafc3 chore: update README.md
- 61021a1 refactor: lower case package name and split
- a971088 fix: fix merge conflict and style
- fc3c75f utils: try to meet styling specification
- 512cdc8 utils:
YamlUtils
: new, adapted fromConfig
- 8403089 utils:
RimeUtils
: reorganize - 33a893d utils:
ShortcutUtils
: mark new line; removeFunction
- 25c7b26 utils:
StringUtils
: convert to Kotlin - 559e43f utils:
ShortcutUtils
: new, to replaceFunction
- a4c31cb utils:
StringUtils
: rename to fix typo - 4f2f1cf utils:
ImeUtils
: new, move from PrefMainActivity's companion object - 3362172 fix backfround
- 3c78028 fix height
- aeabc54 bug-fix & new feature 1. 使用ASCII键盘输入英文字符时,直接上屏,跳过复杂的调用,从表面上解决issue #301 知乎输入英语后输入法失去焦点的问题 (从100%复现变为概率性发生) 2. 优化预设皮肤的参数。 3. 在同文风皮肤的默认键盘中增加”更多“按钮,点击打开liquidKeyboard 4. #512 优化背景解析和加载的方法。支持把背景图放置到“background/background_folder”目录。 5. 调整皮肤参数位置。背景图/色从style统一移动到fallback_colors,并且由preset_color_schemes来定义。(为了后续的皮肤优化,代码逻辑简化,不对旧皮肤的相关参数做兼容)包含:root_background candidate_background 废弃layout/background, 改为text_back_color值既可以是色彩、也可以是背景图(window_background) 6. 修复 #515 的bug并调整皮肤中keyboard_padding开头的多个参数名和相关算法,增加左右手键盘switch。在默认皮肤-符号键盘提供了左右手模式的示例(长按,?两个按键)
- 6ec4955 chore: bump version to 3.2.3
- 9937980 chore: upgrade gradle to 7.2
- 74b6afb chore: remove obsolete script
v3.2.2
Change log since v3.2.1:
- 0c588c1 ci: add auto release action
- d384e6b chore: simply logic and refactor
- ffeeef5 chore: change some variable to final
- d969cd4 chore: add daily build tips
- 07536be feat: add debug daily build for review
- 4eb134d ci: enlarge gradle heap to 2GB
- a97b39c 1. 记录通过liquidKeyboard输入的符号历史,并在history类型的tab中展示这些符号 2. 优化键盘布局 3. 在默认皮肤的符号键盘中增加”更多“按钮,点击打开liquidKeyboard
- e90912f 增加Ctrl+left/right支持,增加剪贴板保存数量的选项,删除外部剪贴板管理器。
- 2f947ee spotlessApply
- b39e356 增加符号键盘和剪贴板 1. 增加符号键盘,实现了根据配置加载按键、可以滚动显示键盘、点击上屏的主要功能。 2. 滑动键盘以标签页的形式展示多组多组键盘,标签列表占用原键盘布局的候选栏位置,并且完全共用候选栏的皮肤参数。按键填充在LiquidKeyboard中,除背景色共用原皮肤的背景参数外,其他参数可以单独设定。 3. 在滑动键盘内增加内置剪贴板,提供监控剪贴板变化、列表显示、点击上屏的简单功能。剪贴板删除、查找、合并、编辑等功能目前未实现,背景色参数设定未实现。 4. 去除ScrollView一些未使用的变量。
- 802a851 fix: 方案选择失败时重置配置文件
- 7cc3eca chore: update pull request template
- 467fed6 refactor: convert KeyEventType to kotlin
- b9c4f5e refactor: make variable final by ide advice
- cf62532 fix: remove yaml duplicate key
- bb9483f refactor: use upper case scroll class
- 47faac0 fix #454
- 5a95ac9 fix #454
- dc1fa56 chore: fix a typo in pull request template
- 7feb45c refactor: lower case some variable
- 5ab8df5 chore: extract regex and compile once
- 4a535c6 chore: extract regex and compile once
- 844b826 chore: update git ignore file
- a9cd47c chore: remove jdk 1.8 compile options
- eba06a6 fix: fix github action job name typo
- ec98953 chore: enable gradle cache of github action
- 99a805b chore: upgrade AGP to 7.0.1
- 92c2627 chore: upgrade jdk to 11 for AGP 7.0
- c6f2e9b 初始化中 复制文件卡死
- b369f4f 初始化中 复制文件卡死
- a02908e chore: declare no wildcard imports rule
- a083971 chore: fix format by spotless
- c085b5a ui: drop unnecessary wrap up in the last commit
- 83d0112 ui: support set navigation bar color following the activity or window
- 877896c ci: enable spotless code style check
- 0907aaf chore: add spotless target
- 1bcd688 chore: clean make file icon target
- 35cc372 chore: format all kotlin code by spotless
- f3a0bec chore: format all java code by spotless
- 63bc4d1 feat: add hilited_candidate_text_color config
- da8d09d chore: update library licenses
- d3e95fb chore: drop deprecated code and apply new methods
- 2d2c13c chore: downgrade Gradle build tool temperately due to GitHub Actions failure
- f501b16 chore: specify the compile option
- cde9b79 chore: update kotlin plugin to 1.5.20
- f38f946 global: apply the Timber log tool
- 2fca2f6 chore: update Gradle build tool to 7.0.0
- 98e2772 global: plant the Timber log tree
- 0e1101e global:
TrimeApplication.kt
: wrap code withtry
block - b6258bc feat: use spotless to unify code style
- d3fec31 feat: add pull request template
- 2d1a068 feat: add issue templates
- 7e4184e chore: update version to 3.2.2
- 6f4afab chore: change min sdk version to 16 close #484
- 807c62d chore: upgrade ndk to latest lts 23
- 197438a chore: upgrade gradle to 7.1.1
- b981b36 settings: show uses library licenses
- 955dc78 settings: reorganize about page
- 818e5b5 chore: extract regex compile to static
- d107f99 fix: crash when typing with Shift key
- 3ed4eba fix: fix merge conflict and build error
- 47f5be6 chore: remove moved pacakge
- 2a55a21 fix
- 26bd577 1. 修复config重构造成的剪贴板管理器失效 2. 增加全屏模式(全屏模式下的文本框、按钮样式的设置目前无法实现) 3 优化asset路径算法。asset实际上需要全部拷贝到公用目录,并不需要多次判断 4. 部署结束toast消息,不自动退出
- 85d4216 categories: move a bunch of classes to their package
- c839f66 multi: a little optimization to several classes
- 6f77ec1 setup:
Config.java
: optimization (partly) - 770ad9d core:
Trime.java
: optimization (partly) - 8409aa9 enums:
WindowPositionType
: a little adjustment - 22461d0 util:
AppVersionUtil.kt
: optimization - 8c4feb3 text:
xScrollView.java
: a little adjustment - 6e7c74e keyboard: add a new keyboard manager
- fb7e088 fix: settings: user's setting doesn't take effort immediately
- 4795914 setup:
Config.java
: optimization (partly) - d2edaab setup:
IntentReveiver.java
: optimization - 28fcd87 core:
Speech.java
: optimization - 509dd05 core: add a new effect manager
- 4241b24 fix
- e38dd93 1. 修复config重构造成的剪贴板管理器失效 2. 增加全屏模式(全屏模式下的文本框、按钮样式的设置目前无法实现) 3 优化asset路径算法。asset实际上需要全部拷贝到公用目录,并不需要多次判断 4. 部署结束toast消息,不自动退出
- ef1dd9b 修复计算悬浮窗显示候选词词数的算法的bug
- beece9c 优化悬浮窗 - [x] 修正皮肤参数 layout/min_check 相关的计算方法,修复bug。 - [x] 增加皮肤参数 layout/real_margin。原有皮肤参数margin_x margin_y本质是padding参数,控制悬浮窗文本和边框的距离。引入的新参数可以控制屏幕左右边缘和悬浮窗之间的距离。 - [x] 对悬浮窗超出屏幕左侧做了简单修复。 - [x] 修改trime.yaml,添加近期新增的皮肤参数
- 5e78630 优化候选栏和悬浮窗 1. 考虑到曲面屏同样需要保留屏幕左右两侧到按键区域的间隙, 增加参数keyboard_padding。横屏和竖屏布局略有差异,横屏按键区域与候选栏同步缩小,而竖屏只缩小了按键区域 2. 候选栏去除滚动条,减少UI缝合感。 3. 修改悬浮窗 - 增加皮肤参数 layout/min_check 只要前n个候选词有长度大于等于min_length的词,就会把长度符合以及之前的词全部加到悬浮窗内。和原有参数all_phrases不同,all_phrases会让悬浮窗显示的长词和候选栏的词重复,min_check是让前半部分的候选词不分长短全部上屏了。 4. 修改trime.yaml,添加新增的皮肤参数
- df69aef core:
Preferences
: adjust some necessary places - 8a88038 core:
Preferences.kt
: apply the SharedPreferences helper - 1682a89 core: use a custom Application class
- f2ee9f3 core:
Preferences
: unify related Preference itemskey
naming style - bac4874 core: add a helper to organize SharedPreferences
- 82822b2 Remove dead code
- 5b8c909 Remove dead code
- 0b56099 Delete all dead code
- 458f03b 移除不必要的log输出
- d441073 兼容旧版本的主题
- dee116f 解决直接点击候选词与按数字键上屏结果不一致的问题
- ca40d18 增加功能及修复bug - [x] 增加.9图支持,解决画面拉伸问题(背景图需要以.9.png结尾) - [x] 候选词背景图(皮肤增加参数 /style/candidate_background) - [x] 增加开关:候选栏开关的提示是否显示箭头(有奇怪的bug,需要刷新主题或者切换方案之类的操作才会有效)入口在偏好设置-视图-在候选栏中显示状态时带箭头符号 - [x] 增加参数:横屏按键高度(这里没有生效),横屏键盘左右padding,竖屏全面屏抬起键盘的高度 对应参数均在/style/keyboard_padding_landscape, /style/keyboard_padding_portrait - [x] 候选词栏滑动到顶部、尾部的阻尼效果 - [x] 候选词滑动到尾部、顶部自动翻页 - [x] 修复翻页时候选词栏没有复位的bug - [x] 候选与键盘使用一张完整的图(皮肤增加/style/root_background参数),候选栏与键盘原有背景图叠加在其上显示 - [x] 解决bilibili横屏无候选词的bug - [x] 增加剪贴板API。在其他设置中,增加了剪贴板3个选项。当剪贴板内容发生变化时,自动发送剪贴板内容给指定的应用。选项“去重规则”和“过滤规则”每一行为一条正则表达式。每次通知剪贴板管理器,都会保存“去重规则”处理过的string。如果相邻两次剪贴内容,使用“去重规则”处理过后,内容不变,则不通知。如果内容与“过滤规则”匹配,则不通知指定App
- 0a1fa57 chore(rime): update librime-lua
- ba734bd chore(rime): update librime-octagram
- 6ccfa95 improve(ui mode): more standard night mode control
- f9587f7 revert: keep
Deploy
button a text - 314efb9 chore(settings): add icon for preferences item in top page
- a482c71 fix: typo in
Trime
- d45d753 fix: typo in
OtherFragment
- 66f9512 improve(icon): make icon more adaptive
- f9b50b0 improve: use appcompat widgets as many as possible
- cc37e4d fix(revert): Revert migrating to Material Design due to some wired issues
- 0d9592d improve(settings): Switching UI mode doesn't need to relaunch the app anymore
- 33fbd81 chore(components): let activity restart after confirming checked schema(s)
- ba5f8e3 fix(components): progressdialog doesn't show the message after selecting the schema(s)
- 7b03068 chore(components): Put the seekbar into a dialog
- 367c60f chore: fix typo in comment [ci skip]
- b1a5e82 fix: imperfect application of
LocaleUtils
- 363908e fix: fail to check/uncheck schemas in the menu opened from keyboard
- 77dad70 chore: split two objects from
Function
class - 64720b4 chore: support for hiding icon in the launcher
- eec38f7 chore: adjust preference trees
- aeaea94 fix: Night Mode isn't working properly
- aee3a4d chore: adjust the resource attribution
- cac8efd feat: Rewrite
Pref
Activity with AppCompat (This commit is a bit of a wrap-up) - acc7886 EP: Complete Dark Mode
- 62bc750 Complete
AboutActivity
- 4aa4abd Reorganize the preference trees
- 2df6d27 Complete click event methods and other relative methods
- 083490e Create options menu
- 7e3c6ae fix: crash on selecting schema in settings and failure on selecting theme in keyboard
- 9ada822 Add three fragments
- 42ab107 Complete methods
- 75ab3ca chore: enable allow backup close #432
- bf6a97e Add color scheme
- cc93fb5 Add toolbar support
- 098eb47 Prepare new preference class
- a89468b Add US intl and array30 keyboard layouts
- 2c94236 ci: enable androidx to fix build
- 1929642 fix: remove obsolete package import
- f20a44b feat: Rewrite dialog components in Kotlin (Replaced AsyncTask with Kotlin Coroutines)
- c57057a Complete schema class
- bc20a6b Complete theme class
- c0b767c Init theme class and complete color class and reset class
- bdb631e Implement dependencies and init new classes
- aec3d33 Move components classes to specified package directory
- 8dcfb3b fix: wrong rime version in installation.yaml
- ca8b90d ci: reduce pull request ci time
- 5bfec71 fix: change capnproto version to 0.8.0-1
- 3f9a29a chore: lock capnproto version to 0.8.0
- 5f02fe4 fix: install capnproto in experimental release
- 729ae83 chore: move dependency to head for fail-fast
- eb647cf chore: import debian experimental gpg key
- a55bf66 fix: ignore repo signatures couldn't be verified
- 8ad1f78 ci: add debian experimental repo to reduce ci time
- e6238af chore: upgrade prettytime to 5.0.1
v3.2.1
v3.2.0
下載鏈接見附件。
v3.2.0更新日志如下:
45af154 fix: fetch all tag and branch
21606f6 fix: remove keystore setup section
ebf2378 chore: upgrade ndk version to 22
1d1f908 fix: add ci build dependency of capnproto
d43986f fix: fix opencc file format
8e8ad15 fix: avoid return default board fix #382 #389
ae271fb fix:fix keyboard config close #382
ee4953d chore: add sponsor for trime[ci skip]
e66f6eb chore: add rimerc tip to release note fix #349
2c7f570 chore: use direct download link for last release
ec2ff6c chore(travis): use default build tools
87217b2 fix: 無內置方案時部署失敗
83497f9 fix: copy assets in rime folder
9dfce10 chore: print stack trace
e8774a3 More fixes on opencc
85c3886 chore(cmake): support rime plugin
3.1.3
更新
- 支持Android Q
- 支持64位
交流
- 問題反饋、 Google Play 、酷安、貼吧、QQ2群458845988(1群480159874已满)
打賞
自願捐贈贊助安卓同文和Win10 PRIME輸入平臺的開發工作。不論金額多少,都能表達您的支持和厚愛。
感謝yueduz*3、xiaoqun2016、ipcjs、Anonymous*2、啸傲居士、 矛矛、zcunlin、北冥有鱼*2、biopolyhedron、李進、國林、雷、天使的心跳、幸運超人、小雷先生、yeachdata、忠潤、大熊、建恒、封瀚、滿滿、WeiZeng、色卡沉默、SineTitan、通拼、小寶哥、追心、鵬鵬、恩龍、adfansor、青山岡昌、乘風破浪、建剛、零部件、Tenki、火中生蓮、kysoft、LyTen、曉剛、志承、雞毛、舒然*2、觀榮、阿森、腐敗的黨國、ppho99、Fisher、黃大鳥、☆*2、志明、甲烷君、Sgin of Zeta、老瑜、ensigma96、束帶、zy、csh、xcf、瘋狗、零、學壇、煒恒、中同、Henry.T、寓靈、豆泥丸、任志軍、超意、朝貝、博*2、宗俊、劭杰、Ace、明亮、軍宏、璐、雪琴、勇、天馬、樂、夢竹、靑、再興、展鵬、文波、躍平、紅、愛春、云峰、曉陽、建軍、樂、凱晨、專、克勇、wengd、法寧、浩、單單、lyy、兵、彥春、學海、洪運、黃輝、偉、森、冰、懷印、志剛、慶虎、明、天奇、林森*N、賢彬*3、華炬、聘生、宏地、火來、沿聲、飛龍、盛賢、子彬、庭健、斌、躍雪、小斌、瀟陽、泓霖、宇琛、建才、大慶、旭鵬、善鑫、宏地、翔、博、逸帆、銳、宇、瀟陽、春霖、進超、秀軍、銘佳、醒
的捐贈。
用手機支付寶掃描下方二維碼,捐贈到支付寶賬號 [email protected]
問答
- 問:如何自定義鍵盤?如何恢復默認鍵盤?
答:修改sdcard/rime目錄下的trime.yaml自定義鍵盤;打開全局設置,點擊“回廠”可恢復系統默認鍵盤 - 問:候選詞序混亂
答:PC上生成的*.bin文件與手機不通用,所以不建議直接複製到手機上使用。建議複製yaml文本文件,刪除bin文件,在手機上慢慢部署。推薦使用brise最新版字典、詞庫和配置。 - 問:候選詞中出現方框、豆腐塊等,怎麼辦
答:安裝擴展字符集的字體 - 問:發現問題,或者想建議新功能,怎麼做
答:在github上開issue:https://github.com/osfans/android-rime/issues
下載
- 穩定版
- 測試版 點擊下載