Skip to content

Fyzenor v3.0.0

Choose a tag to compare

@Bimbok Bimbok released this 05 Jul 15:40
· 125 commits to main since this release

πŸ“ Fyzenor v3.0.0 β€” The Concurrency & Resiliency Release

We are excited to announce the release of Fyzenor v3.0.0! This is a major release introducing powerful asynchronous task operations, block-level file copy recovery, partition-compliant trashing, action undo safety, and responsive disk status indicators.

🌐 Official Documentation: fyzenor.vercel.app


πŸš€ What's New

1. 󰏀 Play/Pause Background Task Manager (w)

You can now fully control, monitor, and suspend active background operations (copying, moving, deleting, zipping, extracting) directly from the Task overlay:

  • C++ Worker Suspend: Press Space or p on an active task to suspend the C++ worker thread. Thread execution is paused using condition variables, consuming 0% CPU until resumed.
  • POSIX Subprocess Suspend: Suspends external utilities (Zip/Extract) using standard SIGSTOP signals and resumes them using SIGCONT.
  • Safe Cancellation: Paused tasks can be safely cancelled (x / d), which safely wakes the worker threads/processes up first to ensure clean filesystem exits and prevent zombie processes.

2. 󰏆 Smart Copy Resumption (Delta Copying)

Copying large files is no longer vulnerable to interruptions. If a copy task is cancelled or fails:

  • Existing file preservation: Incomplete files are retained at the destination rather than deleted.
  • Intelligent Overwrite Prompts: When pasting again and selecting [r]eplace:
    • Skipping: Files matching the source size exactly are skipped instantly.
    • Appending: For partially-written files, Fyzenor seeks to the destination offset (seekg/seekp) and copies only the remaining bytes block-by-block.
  • Symlink Safety: Replaces destination symlinks completely instead of writing through them, preventing accidental target file corruption.

3. σ°©Ή Multi-Partition compliant Trash System & Undo (u)

A fully-compliant Freedesktop.org Trash system has replaced raw deletions:

  • Mount Detection: Trashing (d) automatically detects the target drive mount.
  • Partition Bins: Home files move to ~/.local/share/Trash. Separate partitions (USB/mounts) utilize <mount_point>/.Trash-<uid> to avoid slow cross-device copy overhead.
  • Trash Manager (T): Aggregates all trash bins into a single unified view. Supports bulk restoring (r), permanent deleting (d), and asynchronous emptying (e).
  • Action Undo (u): Pressing u in the browser parses .trashinfo metadata and restores the last trashed file back to its original location.

4. 🎨 Visual & Performance Enhancements

  • Dynamic Space Gauge: Displays a visual disk space bar in the bottom status line showing partition storage (hides dynamically on small terminals to prevent clutter).
  • Constant-Time Folder Icons: Checks for empty directories in constant time ($O(1)$) to render folder states dynamically (ο„” for empty vs ο„• for closed/full) with zero navigation lag.

⌨️ New Keybindings Summary

Key Context Action
d File Browser Move selected items to Trash
D File Browser Delete selected items permanently (skips Trash)
T File Browser Open the unified Trash Manager TUI
u File Browser Undo the last move-to-trash action
Space / p Task Window (w) Toggle Pause / Resume on the highlighted task
r Trash Manager Restore the highlighted item to its original location
e Trash Manager Asynchronously empty all partition trash bins

πŸ› οΈ System Prerequisites

For the best experience (including code highlighting and Kitty graphic renders), ensure these utilities are installed:

# Ubuntu / Debian
sudo apt install libncursesw5-dev cmake ffmpeg bat ripgrep xclip

# Arch Linux
sudo pacman -S ncurses cmake ffmpeg bat ripgrep xclip

⚑ Installation

Install or update to v3.0.0 with our quick installer:

curl -fsSL https://raw.githubusercontent.com/Bimbok/fyzenor/main/install.sh | bash

Full Changelog: v2.0.0...v3.0.0