Repository navigation
导出日志;panic 先写日志;拼音查询限长 - #28
Merged
Merged
Conversation
- 托盘“导出日志”与设置“通用”标签的“日志”一行:日志、最近 30 天的系统崩溃报告和版本信息打成 zip 放进“下载”并在访达 / 资源管理器里选中,方便内测用户拖进聊天窗口 - 发布版 panic=abort:装 panic 钩子,退出前记线程与位置(只记写死的消息,避免带出剪切板内容); 打开数据库、面板初始化失败先记日志 - 关键词超过 64 个字母不按拼音匹配:音节切分递归深度随长度增长,粘贴超长字母串会撑爆线程栈 - 规格说明 v0.1.47 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
背景
真机关闭贴图闪退(#27),内测用户也反馈应用会突然退出。发布版
panic = "abort"+strip = true且没有 panic 钩子,Rust 侧任何 panic 都会无声退出;用户闪退后通过即时通讯工具反馈,需要一个能直接拖进聊天窗口的文件。改动
DiagnosticReports/xpaste-*.ips,Windows WERAppCrash_xpaste.exe_*/Report.wer)和info.txt(版本、平台、架构、系统版本、导出时间)打成xPaste-日志-<版本>-<时间>.zip放进“下载”并选中。新增依赖zip(只开 deflate,后端 zlib-rs 已在锁文件里)与chrono(clock)。run()开头装钩子,记线程与位置;消息只记字面量,格式化消息可能带剪切板内容(如字符串切片越界会附原文),只进 debug。打开数据库、面板初始化失败先log::error!(tauri 随后 panic)。a在 2 MiB 栈上溢出;补了复现测试。验收
make checkdiag.rs的 Windows 分支本机无法交叉编译)info.txt、logs/、crash/🤖 Generated with Claude Code