• Joined on 2026-04-07
dailz pushed to master at dailz/wl-webrtc 2026-06-07 18:31:39 +08:00
503e4dbc22 feat(portal): independent WebRTC thread + channel tuning for 60fps mouse latency
caccfec44e fix(portal): compositor stall detection + filler frames + PipeWire state logging
826f544569 feat(portal): async encode pipeline - decouple capture from encoding
aae030f309 fix(webrtc): SO_SNDBUF 2MB + VBV rate limiting + stats integration
029fe13e37 feat(stats): add --stats flag and PipelineStats windowed diagnostics
Compare 5 commits »
dailz commented on issue dailz/logViewer#12 2026-06-07 12:50:33 +08:00
🟡 [M2] Unicode 显示宽度全部视为 1,CJK/emoji 包裹位置错误

修复已合并: b58d66f

变更内容

  • crates/core/src/io/wrap.rs: wrap_line_chars 中将硬编码 width=1 替换为 unicode-width crate 的 UnicodeWidthChar::width(),正确处理 CJK (width=2)、…
dailz pushed to master at dailz/logViewer 2026-06-07 12:50:22 +08:00
b58d66f2aa fix(io): use unicode-width for correct CJK/emoji/zero-width display width (closes #12)
d4679a7543 fix(io): update visual height of last line on append without trailing newline (closes #11)
Compare 2 commits »
dailz closed issue dailz/logViewer#12 2026-06-07 12:50:22 +08:00
🟡 [M2] Unicode 显示宽度全部视为 1,CJK/emoji 包裹位置错误
dailz closed issue dailz/logViewer#11 2026-06-07 09:46:51 +08:00
🟡 [M1] update_for_append 不更新 visual_height_index
dailz commented on issue dailz/logViewer#11 2026-06-07 09:46:44 +08:00
🟡 [M1] update_for_append 不更新 visual_height_index

修复方案

根因: 文件不以 \n 结尾时,追加内容会续写最后一行导致其 visual height 变化,但 handle_file_appended 只为新增逻辑行计算高度,遗漏了旧行最后一行的高度更新。

修复: 新增…

dailz pushed to master at dailz/logViewer 2026-06-07 09:17:48 +08:00
8844e58cb4 Merge fix/m20-append-lines-error-handling: fix append_lines I/O error swallowing (closes #45) + clippy cleanup
6a2f8ecb66 fix(bench): resolve pre-existing clippy warnings in report.rs and mmap_reader.rs
f6081b9fe9 fix(bench): propagate I/O errors in append_lines instead of silently defaulting to 0 (closes #45)
Compare 3 commits »
dailz pushed to fix/m20-append-lines-error-handling at dailz/logViewer 2026-06-07 09:17:17 +08:00
6a2f8ecb66 fix(bench): resolve pre-existing clippy warnings in report.rs and mmap_reader.rs
f6081b9fe9 fix(bench): propagate I/O errors in append_lines instead of silently defaulting to 0 (closes #45)
Compare 2 commits »
dailz created branch fix/m20-append-lines-error-handling in dailz/logViewer 2026-06-07 09:17:17 +08:00
dailz closed issue dailz/logViewer#45 2026-06-07 09:14:16 +08:00
🟡 [M20] append_lines 吞掉行计数 I/O 错误并从 0 继续编号
dailz commented on issue dailz/logViewer#45 2026-06-07 09:14:11 +08:00
🟡 [M20] append_lines 吞掉行计数 I/O 错误并从 0 继续编号

修复方案

提交: f6081b9

改动内容

1. append_lines — 先计数再打开 + 错误传播

- let existing_lines = count_existing_lines(path).unwrap_or(0);
+ let existing_lines =…
dailz commented on issue dailz/logViewer#44 2026-06-07 09:02:54 +08:00
🟡 [M25] truncate safety benchmark 首轮后文件规模改变导致迭代条件不一致

已修复,提交 97a2c6a。

根因: bench_truncate_safety_mmap 和 bench_truncate_safety_pread 在循环外生成 150K 行文件,循环内恢复只写 1000 行,导致第 2 轮起文件从 ~10MB 缩水到 ~67KB。

修复: 将…

dailz pushed to master at dailz/logViewer 2026-06-07 09:02:27 +08:00
97a2c6a925 fix(bench): regenerate growable file each iteration in truncate safety benchmarks (closes #44)
dailz closed issue dailz/logViewer#44 2026-06-07 09:02:27 +08:00
🟡 [M25] truncate safety benchmark 首轮后文件规模改变导致迭代条件不一致
dailz commented on issue dailz/logViewer#43 2026-06-07 08:50:32 +08:00
🟡 [M24] memory scroll_rss 的 lines_read 记录值不等于实际读取行数

修复方案

Commit: e6e0e2c

改动内容 (crates/bench/src/suites/memory.rs)

  1. 新增 upper = max_lines.min(total) 作为循环上界,正确处理空文件边界
  2. 新增 lines_read 计数器,仅在…
dailz pushed to master at dailz/logViewer 2026-06-07 08:50:26 +08:00
e6e0e2cc90 fix(bench): correct lines_read to actual successful reads in bench_scroll_rss
dailz closed issue dailz/logViewer#43 2026-06-07 08:50:26 +08:00
🟡 [M24] memory scroll_rss 的 lines_read 记录值不等于实际读取行数
dailz closed pull request dailz/logViewer#46 2026-06-07 08:33:43 +08:00
fix: [M23] 小文件 single_frame_tail 与 head 重叠导致 render 数据误导
dailz pushed to master at dailz/logViewer 2026-06-07 08:33:00 +08:00
ffaf462bae Merge fix/m23-single-frame-tail-overlap: [M23] small file single_frame_tail overlap fix
a8dc067cd4 fix(bench): [M23] prevent single_frame_tail/head overlap for small files
Compare 2 commits »
dailz closed issue dailz/logViewer#42 2026-06-07 08:31:21 +08:00
🟡 [M23] 小文件 single_frame_tail 与 head 重叠导致 render 数据误导