Skip to content

Commit b8507f5

Browse files
committed
Update changelog.
1 parent 481bb37 commit b8507f5

5 files changed

Lines changed: 40 additions & 8 deletions

File tree

CHANGELOG.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,16 @@
1-
- 增加 REI 的兼容层
2-
- 修复 26.2 相关的微小兼容问题
1+
# v7.2.0
2+
此版本兼容 26.x 正式版以及最新快照版本
3+
## 新功能
4+
- 适配 BlazeSDL 模组以及原版最新快照的 SDL 后端([#154](https://github.com/reserveword/IMBlocker/issues/154)
5+
- 原生兼容 [LDLib2](https://github.com/Low-Drag-MC/LDLib2) 模组
6+
- 增加 SuperMartijn642's Core Lib 的兼容层
7+
- 增加 Linux 英文状态命令配置,若正确设置可将 `CONVERSION_STATUS` 作为英文状态实现方式(参见 [#150](https://github.com/reserveword/IMBlocker/issues/150)
8+
- 增加命令前缀正则表达式配置,可以加入“/”以外的命令前缀
9+
## 修复与改进
10+
- 额外缩放配置项现在开放给所有平台的 GLFW 后端
11+
- 兼容新版本的 Reese's Sodium Options 模组并**不再兼容旧版本**
12+
- 增加按键翻译补丁解决非 Windows 平台在 `DISABLE_IM` 英文状态实现方式下由于 `SDL_StopTextInput` 无法输入字符的问题([#154](https://github.com/reserveword/IMBlocker/issues/154)[#131](https://github.com/reserveword/IMBlocker/issues/131)
13+
## 杂项
14+
- Windows 平台的游戏内输入法将**始终保留为可选项**(需要通过 Cloth Config 打开)
315

416
[历史更新日志](https://github.com/reserveword/IMBlocker/blob/26.1%2B/Changelog_History.md)

Changelog_History.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
# v7.2.0
2+
此版本兼容 26.x 正式版以及最新快照版本
3+
## 新功能
4+
- 适配 BlazeSDL 模组以及原版最新快照的 SDL 后端([#154](https://github.com/reserveword/IMBlocker/issues/154)
5+
- 原生兼容 [LDLib2](https://github.com/Low-Drag-MC/LDLib2) 模组
6+
- 增加 SuperMartijn642's Core Lib 的兼容层
7+
- 增加 Linux 英文状态命令配置,若正确设置可将 `CONVERSION_STATUS` 作为英文状态实现方式(参见 [#150](https://github.com/reserveword/IMBlocker/issues/150)
8+
- 增加命令前缀正则表达式配置,可以加入“/”以外的命令前缀
9+
## 修复与改进
10+
- 额外缩放配置项现在开放给所有平台的 GLFW 后端
11+
- 兼容新版本的 Reese's Sodium Options 模组并**不再兼容旧版本**
12+
- 增加按键翻译补丁解决非 Windows 平台在 `DISABLE_IM` 英文状态实现方式下由于 `SDL_StopTextInput` 无法输入字符的问题([#154](https://github.com/reserveword/IMBlocker/issues/154)[#131](https://github.com/reserveword/IMBlocker/issues/131)
13+
## 杂项
14+
- Windows 平台的游戏内输入法将**始终保留为可选项**(需要通过 Cloth Config 打开)
15+
16+
<br>
17+
118
# 7.1.7
219
- 增加 REI 的兼容层
320
- 修复 26.2 相关的微小兼容问题

common/src/main/java/io/github/reserveword/imblocker/common/IMBlockerConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public boolean isScreenRecoveringEnabled() {
7373
}
7474

7575
public EnglishStateImpl getEnglishStateImpl() {
76-
return false ? EnglishStateImpl.CONVERSION_STATUS : EnglishStateImpl.DISABLE_IM; //FIXME 26.3 testing.
76+
return Platform.isWindows() ? EnglishStateImpl.CONVERSION_STATUS : EnglishStateImpl.DISABLE_IM;
7777
}
7878

7979
public EnglishState getPrimaryEnglishState() {

common/src/main/java/io/github/reserveword/imblocker/common/IMBlockerMixinPlugin.java

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,16 @@ public class IMBlockerMixinPlugin implements IMixinConfigPlugin {
3636

3737
if(Platform.isWindows()) {
3838
validMixins.add("WindowsIngameIMEInitializer");
39-
}else if(MinecraftClientUtil.isGameVersionReached(777/*26.3*/)) {
40-
validMixins.add("SDLKey2CharPatch");
4139
}
4240

43-
if(IMBlockerCore.IS_SDL_PRESENT) {
41+
if(MinecraftClientUtil.isGameVersionReached(777/*26.3*/)) {
4442
validMixins.add("SDLIMEHintTweaker");
45-
}else if(Platform.isLinux()) {
43+
if(!Platform.isWindows()) {
44+
validMixins.add("SDLKey2CharPatch");
45+
}
46+
}
47+
48+
if(!IMBlockerCore.IS_SDL_PRESENT && Platform.isLinux()) {
4649
validMixins.add("LinuxKeyboardPatch");
4750
}
4851

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ neo_version=26.1.2.66-beta
1515
# Mod
1616
mod_id=imblocker
1717
mod_name=IMBlocker
18-
mod_version=7.2.0-dev
18+
mod_version=7.2.0
1919
mod_logo=imblocker.png
2020
mod_description=Blocks Input Methods when you're not using it.\\n\u5728\u4F60\u4E0D\u6253\u5B57\u7684\u65F6\u5019\u81EA\u52A8\u5173\u95ED\u8F93\u5165\u6CD5
2121
mod_url=https://github.com/reserveword/IMBlocker

0 commit comments

Comments
 (0)