Skip to content

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 03 Dec 09:15
· 58 commits to main since this release

✨ 新功能与架构升级

  • 自由选择复制(静默不入历史)& 悬停预览窗自由调高记忆:简洁模式悬停预览、双栏右侧预览、图片 OCR 结果区与桌面便签均支持像浏览器一样鼠标拖选局部文字(配备清晰蓝色选区高亮),点击「复制选中」或按 Ctrl/Cmd+C 静默写入系统剪贴板供直接粘贴,绝不污染历史记录或触发列表跳动;悬停预览窗新增底部拖拽调高把手(160–560px),松手自动持久化记忆、双击一键恢复自适应高度。
  • 主面板单/双栏宽高独立记忆:自由拖拽调整主面板高度以及单栏/双栏各自的宽度后自动静默落盘记忆,重启、收起再唤起、胶囊展开/折叠与单双栏切换下均保持自定义尺寸。
  • 聊天软件图片智能归类、自动 OCR 与 5 重防 OOM 护栏:在微信、QQ、飞书、钉钉、Telegram 等聊天软件中复制的单张图片路径自动归类为「图片」入库(展示真实缩略图、大图预览、缓存清理不失效、以图片形态直贴并自动离线 OCR),同时自动过滤系统资源管理器(Explorer / Finder)的大批量文件复制搬运操作以防污染历史;内置 16 MiB 体积上限、解码前 25 MP / 128 MiB 压缩炸弹拦截、非 PNG 超大图 2560px 智能等比瘦身、Windows WinRT 长图缩放 + EXIF 旋正与主动工作集内存回收。
  • 启动 + 每 6 小时自动周期更新检测 & macOS Intel (x86_64) 签名发版:后台更新升级为启动 15 秒首查(开机网络未就绪 3 分钟重试)+ 每 6 小时周期复查;GitHub Release 同步产出 Apple Silicon (macos-aarch64) 与 Intel 64 位 (macos-x86_64) 双架构 .zip / .dmg 及完整 Ed25519 签名清单。
  • MIT 公理设计架构重构与自动化契约门禁:将三端平台 FFI 拆分为正交 windows.rs / macos.rs / linux.rs + 编译期 PlatformFfi 契约层,将 5,084 行设置中心拆分为 8 个高内聚子模块,建立唯一真源显式输入仲裁状态机 WindowInputArbiter 与数据驱动右键菜单;新增自动化架构公理测试、中英 i18n 100% 键对称性测试与 Ditto.db REAL 浮点列回归测试。

🐛 桌面贴纸与深度稳定性根治

  • 全面打磨桌面贴纸(Pin to Screen)体验:新增 configure_pin_sticker_window() 去除 Win11 DWM 外围矩形灰框,同时为便签卡片配上紧凑 16px 柔和双层环境投影与图片便签全圆角裁切(白底贴在白背景上清晰分层);改用原生 WindowControlArea::Drag 恢复任意贴纸丝滑拖移;移除文本便签嵌套滚动容器彻底修复点击划选乱滚问题,并升级紧凑零描边可点击操作栏。
  • 根治图片直贴自回环重复、偶发跳动与白框闪现:针对 Windows CF_DIB / HTML 写回重编码启用短时通配自抑制,彻底消除直贴图片二次录成重复条目的问题;建窗前直接按目标坐标构造 WindowBounds::Windowed 消除唤起居中白框闪现;引入 geom_gen 代次令牌根治悬停胶囊死锁与动画踩踏;新增受管贴纸 HWND 隔离、实时 DPI 换算、设置页/菜单/文件框/IME 失焦豁免、原生 SendInput 原子 Ctrl+V + 剪贴板 6 次退避重试、热键 TTL 自愈与剪贴板监听指数退避自恢复。

✨ What's New & Architectural Overhaul (English)

  • Browser-Like Partial Text Selection Copy (Silent) & Resizable Hover Preview: Hover previews (including image OCR panes), dual-pane previews, and desktop sticky notes now support mouse drag-selection with clear selection highlights and Copy Selected / Ctrl/Cmd+C that writes silently without polluting history or jumping the list; added a bottom drag handle (160–560px) on hover previews with persistent height memory and double-click auto-reset.
  • Persistent Main Panel Height & Independent Slim/Dual Widths: Manually resized main panel height as well as separate slim-mode and dual-pane widths are now persisted silently across restarts, hide/show cycles, capsule transitions, and mode switches.
  • Smart IM Image Promotion, Hardened OCR & 5-Layer OOM Protection: Single local image files copied from WeChat, QQ, Feishu/Lark, DingTalk, Telegram, etc. are automatically promoted into encrypted Image clips with thumbnails, image-native pasting, and offline OCR, while OS file manager (Explorer / Finder) bulk file transfers are skipped to keep history clean. Added 16 MiB file cap, pre-decode 25 MP / 128 MiB decompression-bomb guards, 2560px smart downscaling for oversized non-PNG photos, WinRT tall-image downscaling + EXIF auto-orientation, and working-set trimming.
  • Startup + 6-Hour Periodic Update Checks & macOS Intel (x86_64) Signed Releases: Upgraded background updates to an initial 15s check (3-minute retry on boot failure) plus 6-hour periodic checks; CI now builds and Ed25519-signs both Apple Silicon (macos-aarch64) and Intel 64-bit (macos-x86_64) macOS packages.
  • MIT Axiomatic Design Refactor & Automated Contract Gates: Split platform FFI into orthogonal windows.rs / macos.rs / linux.rs behind PlatformFfi, modularized the 5,084-line settings view into 8 cohesive submodules, introduced an SSOT WindowInputArbiter state machine and data-driven context menu, and added automated CI contract tests for DAG dependencies, unsafe isolation, brand asset SSOT, 100% i18n key/placeholder symmetry, and Ditto.db REAL regressions.

🐛 Pin Sticker & Deep Stability Fixes (English)

  • Polished Pin-to-Screen Desktop Stickers: Eliminated the Win11 outer grey border via configure_pin_sticker_window() while adding soft dual-layer ambient shadows (16px margin) and rounded image sticker corners for clear separation over light backgrounds; restored smooth native dragging via WindowControlArea::Drag, removed nested scroll containers that caused note selection jumps, and upgraded interactive borderless action controls.
  • Eliminated Image Self-Recapture Duplicates, Window Jumps & White Flashes: Added wildcard self-write suppression for re-encoded OS bitmap/HTML writebacks; constructed WindowBounds::Windowed at target coordinates before showing to eliminate first-frame white flashes; added monotonic geom_gen tokens, managed sticker HWND isolation, live per-monitor DPI conversion, blur exemptions for settings/menus/dialogs/IME, atomic Windows SendInput Ctrl+V with 6x clipboard retry, hotkey TTL self-healing, and exponential-backoff watcher supervision.

Full Changelog: v0.4.0...v0.5.0