Skip to content

Releases

v1.0.1

Choose a tag to compare

@Denxrc Denxrc released this 26 Nov 17:12

Wayloop v1.0.1 — Bilingual Architecture, Terminal-Clean Docs & x86_64/ARM64 Release Automation

A documentation and infrastructure release aligning project docs with the actual v1.0.x codebase and introducing GitHub Actions CI and prebuilt Linux release pipelines for x86_64 and ARM64 (aarch64). No runtime code changes compared to v1.0.0.

Highlights

  • Bilingual Architecture Docs: Published ARCHITECTURE.md and ARCHITECTURE.ru.md in Git, synchronized strictly with current crate boundaries, symbol names, IPC timeouts, Cargo features (notify), and security invariants.
  • Prebuilt Binary Installation: Added step-by-step release archive installation with SHA256SUMS.txt verification in README.md and README.ru.md for linux-x86_64 and linux-aarch64.
  • CI & Release Workflows: Added .github/workflows/ci.yml and .github/workflows/release.yml targeting both x86_64 and native aarch64 (ubuntu-24.04-arm), plus .github/ISSUE_TEMPLATE/bug_report.md.

Improvements

  • Terminal-Clean Documentation: Redesigned README.md and README.ru.md with an upfront Quick Start, compact capability matrix, collapsible <details> sections for compositor keybindings (Hyprland, Niri, Sway), systemd --user service, and full config.toml reference, and a Roadmap focused on Stages 3–5.
  • Repository Hygiene: Removed obsolete specification drafts and temporary agent plans from the working tree.

Artifacts

  • Prebuilt Linux archives for x86_64 (wayloop-v1.0.1-linux-x86_64.tar.gz) and ARM64 (wayloop-v1.0.1-linux-aarch64.tar.gz)
  • Checksums: SHA256SUMS.txt

Verification

  • cargo fmt --all --check
  • cargo clippy --workspace --all-targets -- -D warnings
  • cargo test --workspace --locked (59 passed, 0 failed)
  • cargo check --workspace --no-default-features --locked

v1.0.0

Choose a tag to compare

@Denxrc Denxrc released this 26 Nov 14:40

Wayloop v1.0.0 (Stage 2)

Stage 2 introduces persistent Wayland clipboard ownership inside the headless daemon, protected two-part binary IPC, isolated task dispatch, bilingual D-Bus notifications, and overlay toggle lifecycle management — maintaining 0 MB VRAM and ~5–6 MB RSS in the background.

✨ What's New

  • Persistent Wayland Clipboard (wayloop-clipboard)
    • Added the crates/wayloop-clipboard crate built on pure-Rust wl-clipboard-rs (ext-data-control-v1 + zwlr-data-control-v1), supporting image/png and UTF-8 text/plain.
    • Runs clipboard ownership on dedicated OS threads (Options::foreground(true) + ServeRequests::Unlimited) so wayloop stop / SIGTERM shuts down immediately without stalling on Tokio spawn_blocking.
    • Serialized concurrent copy operations and added generation-safe active_gens tracking so rapid back-to-back captures or failed retries never corrupt has_clipboard_data status.
  • Protected Binary SubmitCrop IPC
    • Implemented two-part binary PNG transfer (SubmitCrop JSON header + raw PNG bytes) in src/client.rs and src/daemon.rs.
    • Enforces non-zero dimensions, 0 < byte_len <= max_ipc_payload_mb before buffer allocation, socket I/O timeouts, and 8-byte PNG signature validation (is_valid_png_header).
  • Task Isolation & End-to-End Full-Screen Copy
    • Dispatches crop actions (Copy, atomic 0600 Save) in isolated tokio::spawn workers (spawn_blocking for Wayland roundtrips and disk writes) so individual failures cannot crash the daemon.
    • Added wayloop capture --mode full --action copy to capture and push screenshots directly to the persistent Wayland clipboard via the daemon (preserving standalone wayloop capture --mode full --action save).
  • Localized D-Bus Notifications (notify feature)
    • Implemented bilingual (EN / RU) desktop notifications via pure-Rust zbus (org.freedesktop.Notifications.Notify) with a 3-second timeout and [notifications] config gating (on_save, on_copy, on_error).
  • Overlay Toggle & Watchdog Foundation (OverlayManager)
    • Added src/overlay_mgr.rs tracking active overlay child processes with graceful SIGTERM → overlay_kill_grace_ms → SIGKILL escalation and clean reaping.
  • Complete Bilingual Localization (i18n.rs)
    • Added full English and Russian translations for all Stage 2 notifications, IPC errors, daemon logs, and CLI error messages.

🛡️ Verification

  • #![forbid(unsafe_code)] across the entire workspace; cargo clippy --workspace --all-targets -- -D warnings clean (both default features and --no-default-features).
  • 59 tests passing across wayloop, wayloop-core, wayloop-capture, and wayloop-clipboard.
  • Verified live on Niri (Wayland): wayloop capture --mode full --action copy -> image/png confirmed via wl-paste -> instant graceful wayloop stop.

Full Changelog: v0.5.0...v1.0.0

v0.5.0

Choose a tag to compare

@Denxrc Denxrc released this 21 Nov 16:01

Wayloop v0.5.0 is the initial architectural release of a Wayland-native screenshot, clipboard, and visual search utility written in Rust.

This release establishes the core daemon, IPC layer, and native Wayland screen capture. Interactive region selection, clipboard integration, and visual search are planned for upcoming stages.

✨ Highlights & Features

  • Native Wayland Capture: Direct screen capture via zwlr-screencopy-v1 and ext-image-copy-capture-v1 (cursor excluded) with automatic pixel format normalization (ARGB8888, BGRA8888, y_invert, etc.) to RGBA8 and fast in-memory PNG encoding.
  • Lightweight Headless Daemon: Runs in the background using ~2–4 MB RAM and 0 MB VRAM (no GPU context initialized until needed).
  • Secure IPC & Single Instance: Uses non-blocking flock and a Unix domain socket (0600) with SO_PEERCRED UID verification and strict payload timeouts/limits.
  • Atomic File Saving: Fullscreen captures (wayloop capture --mode full --action save) are written atomically (0600 temp file + fsync + rename) with filename collision handling.
  • Bilingual CLI (EN / RU): Automatic locale detection (LANG) with manual override via config.toml.
  • Safe Rust & Lean Binary: Built with #![forbid(unsafe_code)], strict Clippy lints (unwrap/expect/panic denied), LTO, and stripping (~2.2 MB standalone binary).

🗺️ Roadmap

  • Stage 2: Persistent Wayland clipboard (wl-clipboard-rs), IPC crop streaming, and D-Bus notifications.
  • Stage 3: Full-screen CPU overlay (smithay-client-toolkit + tiny-skia) with freeform lasso selection.
  • Stage 4: Visual search integration (Google Lens).
  • Stage 5: Floating result window, Vision LLM streaming, and offline OCR (ocrs).