Repository navigation
BetterZUIKey v1.6.1 #12
CommandPrompt-Wang
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
BetterZUIKey v1.6.1
Please scroll down for English / 英语请向下滚动
摘要
此版本推出了全新的输入法适配功能。把「输入法增强」里对输入法适配文件相关功能合并入全新的「输入法适配管理」页;同时修复了一个会损坏配置文件的严重问题。
完整变更: 17-v1.5.2...19-v1.6.1
新功能
输入法适配管理页:按两种模式分两段管理,同一输入法可同时存在于两段,两段都启用时以「系统输入法框架」优先。
¹ 如果安装了 搜狗输入法联想版增强 这类扩展插件,会暴露出 subtype
支持添加应用、恢复内置配置、非内置条目重命名;已安装的应用会显示真实应用名。
Bug 修复
ime_changes队列每次追加都整串重写,而loadFromSP()每次调用都无条件追加一条reload,呈平方级增长(实测积到 5583 条 / 162 KB),最终把shared_prefs写成半截 XML —— 导致文件解析失败,本地配置随之丢失。现已移除冗余追加,并给队列加上限合并保护。其他
ime_profiles_v2,自动一次性迁移;旧内置项更新后将被丢弃⚠ 升级注意
BetterZUIKey v1.6.1
Highlights
This release introduces the brand-new Input Method Adaptation feature. The input method adaptation file-related functionality from "Input Method Enhancements" has been merged into the new "Input Method Adaptation Management" page; meanwhile, a critical issue that would corrupt configuration files has been fixed.
Full changelog: 17-v1.5.2...19-v1.6.1
New Features
Input Method Adaptation Management page: Managed in two sections by two modes; the same input method can exist in both sections simultaneously, and when both are enabled, "System Input Method Framework" takes priority.
¹ If an extension plugin such as Sogou Input Method Lenovo Edition Enhancement is installed, the subtype will be exposed.
Supports adding apps, restoring built-in configurations, and renaming non-built-in entries; installed apps will display their real app names.
Bug Fixes
ime_changesqueue rewrote the entire string on every append, whileloadFromSP()unconditionally appended areloadentry on every call, growing quadratically (measured at 5583 entries / 162 KB), eventually writingshared_prefsas truncated XML — causing file parsing failure and the loss of local configurations. The redundant append has now been removed, and an upper-limit merge protection has been added to the queue.Other
ime_profiles_v2, with automatic one-time migration; old built-in entries will be discarded after the update.⚠ Upgrade Notes
This discussion was created from the release BetterZUIKey v1.6.1.
All reactions