Markion v0.3.4
Markion v0.3.4
A Linux stability release: typing Chinese or Korean through an XIM input method on X11 no longer crashes Markion.
Highlights
Fixes
- Linux X11 input-method crash: entering Chinese or Korean through an XIM server such as IBus could terminate Markion when the server sent a valid legacy COMPOUND_TEXT preedit. The bundled decoder now handles GB2312 and KS C 5601 payloads, and malformed or genuinely unsupported server data degrades to a logged, recoverable error instead of a main-thread panic. Composition, commit, cancellation, and subsequent typing continue normally, and canonical document state, undo grouping, and per-version caches are untouched.
- Failure cleanup: when an XIM connection fails mid-composition, the editor now clears the composing state cleanly so the last accepted text and selection stay valid and plain keyboard input keeps working.
Compatibility
- No migration required: Markdown files, preferences, and workspace data are unchanged.
- Windows and macOS builds are unaffected by this release.
- Markion's Windows and macOS installers are unsigned and may require bypassing SmartScreen or Gatekeeper on first launch.
Downloads
- Windows x64: NSIS installer.
- macOS Apple Silicon: DMG.
- Linux x86_64: DEB and AppImage.
Verification
- Full local workspace test suite passed (
cargo test --workspace). - Focused XIM request-boundary tests for Chinese (GB2312) and Korean (KS C 5601) COMPOUND_TEXT payloads pass on Linux (Ubuntu,
x86_64-unknown-linux-gnu), including safe degradation on invalid payloads. - Windows, macOS, and Linux native CI builds succeeded, including installer packaging verification.
Full comparison: v0.3.3...v0.3.4
Markion v0.3.4(中文说明)
一个 Linux 稳定性版本:在 X11 下通过 XIM 输入法输入中文或韩文不再导致 Markion 崩溃。
主要更新
修复
- Linux X11 输入法崩溃:此前在 X11 下通过 IBus 等 XIM 输入法输入中文或韩文时,输入法服务器发送合法的旧式 COMPOUND_TEXT 预编辑串可能导致 Markion 直接退出。内置解码器现已支持 GB2312 与 KS C 5601 编码;对于格式错误或确实不支持的数据,改为记录日志并安全降级,不再引发主线程崩溃。输入组合、提交、取消及后续输入均正常继续,文档内容、撤销分组与派生缓存不受影响。
- 故障清理:当 XIM 连接在输入组合中途失败时,编辑器现在会正确清理组合状态,保证已接受的文本与选区保持有效,普通键盘输入可继续使用。
兼容性
- 无需迁移:Markdown 文件、偏好设置与工作区数据格式均无变化。
- 本版本不影响 Windows 与 macOS 构建。
- Markion 的 Windows 与 macOS 安装包未签名,首次运行时可能需要手动绕过 SmartScreen 或 Gatekeeper。
下载
- Windows x64:NSIS 安装程序。
- macOS Apple Silicon:DMG。
- Linux x86_64:DEB 与 AppImage。
验证
- 本地完整 workspace 测试套件通过(
cargo test --workspace)。 - 针对中文(GB2312)与韩文(KS C 5601)COMPOUND_TEXT 负载的 XIM 请求边界测试在 Linux(Ubuntu,
x86_64-unknown-linux-gnu)上通过,包含无效负载的安全降级用例。 - Windows、macOS、Linux 原生 CI 构建全部成功,含安装包打包校验。
完整变更对比: v0.3.3...v0.3.4