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