Skip to content

Glim v0.1.18

Choose a tag to compare

@NeoPanic NeoPanic released this 13 Oct 10:09
· 26 commits to main since this release

English

Changes

  • Play GIFs at their original resolution with sequential background decoding and bounded compositing buffers, keeping one displayed frame and at most one prefetched frame. Remove the 2,000-frame cap and the cumulative decoded-animation size rejection. Preserve transparency, disposal, frame timing and finite/infinite looping.
  • Use the same streaming player for local and remote .gif image URLs in Markdown/HTML. Share players across duplicate references, release old textures, pause decoding in hidden tabs or source-only previews, and cancel playback when closed.
  • Load GitHub repository image links correctly by converting blob/raw page URLs to raw assets. If the raw host fails, fall back to the GitHub Contents API with a shared 20-second network deadline and a 16 MiB response limit.

Support and limitations

  • macOS 11 or later, Apple Silicon and Intel only. Local image input remains limited to 128 MiB; GIF canvas buffers retain a 512 MiB playback budget. Embedded streaming applies to image URL paths ending in .gif. Remote images require network access; the unauthenticated GitHub API fallback is rate-limited.
  • End-to-end GIF playback, remote-image rendering and real Intel hardware interactions have not been manually smoke-tested for this release.

Validation

  • Local cargo fmt --all --check, strict workspace Clippy, workspace tests and cargo build --locked passed (93 tests).
  • Release CI validates updater-enabled ARM formatting/Clippy/tests and native updater checks, builds both Mac architectures, verifies package identity/architecture/signatures/checksums, and signs and verifies both update feeds and uploaded asset roundtrips before publication.

Installation

  • Choose Glim-0.1.18-macos-arm64.dmg for Apple Silicon or Glim-0.1.18-macos-x86_64.dmg for Intel, then drag Glim.app to Applications.
  • Packages are ad-hoc signed, without Apple Developer ID signing or notarization. If Gatekeeper blocks first launch, open once and use System Settings → Privacy & Security → Open Anyway. Do not disable system security.
  • Existing updater-enabled installations (0.1.12+) can use Check for Updates. Version 0.1.11 and earlier need one manual installation. SHA-256 files and signed architecture-specific appcasts are included.

中文

变更

  • GIF 保留原分辨率,使用逐帧后台解码和有界合成缓冲区,仅保留当前显示帧和最多一帧预取。移除 2,000 帧上限及按整段动画累计解码大小拒绝打开的限制,保留透明度、帧处置、帧时序和有限/无限循环。
  • Markdown/HTML 中本地和远程的 .gif 图片地址复用同一逐帧播放器;重复引用共享播放器,释放旧纹理,隐藏标签或仅显示源码时暂停解码,关闭后取消播放。
  • 修复 GitHub 仓库图片链接加载:将 blob/raw 页面地址转换为原始图片地址;原始域名失败时回退到 GitHub Contents API,两个请求共用 20 秒网络时限,响应上限 16 MiB。

支持范围与限制

  • 仅支持 macOS 11 及以上的 Apple Silicon 和 Intel Mac。本地图片输入仍限制为 128 MiB,GIF 画布缓冲区保留 512 MiB 播放预算。嵌入式逐帧播放适用于路径以 .gif 结尾的图片地址。远程图片需要网络,未认证的 GitHub API 回退受请求频率限制。
  • 本版本尚未手动冒烟验证完整 GIF 播放、远程图片实际渲染及真实 Intel 硬件交互。

验证

  • 本地 cargo fmt --all --check、严格工作区 Clippy、工作区测试和 cargo build --locked 均通过,共 93 项测试。
  • 发布 CI 验证启用更新器的 ARM 格式/Clippy/测试及原生更新器检查,构建两种 Mac 架构,核对包身份/架构/签名/校验和,并在发布前完成两个更新源的签名验证和上传附件回下载核对。

安装

  • Apple Silicon 选择 Glim-0.1.18-macos-arm64.dmg,Intel 选择 Glim-0.1.18-macos-x86_64.dmg,将 Glim.app 拖入 Applications。
  • 安装包采用 ad-hoc 签名,没有 Apple Developer ID 签名或公证。如首次启动被 Gatekeeper 阻止,请先尝试打开,再到「系统设置 → 隐私与安全性 → 仍要打开」批准,无需关闭系统安全保护。
  • 已启用更新器的安装(0.1.12+)可使用「检查更新」;0.1.11 及更早版本需手动安装一次。附件包含 SHA-256 校验文件和分别签名的两种架构更新源。