No description
Find a file
wfx 9399a008c4 refactor: improve code quality and consistency
Comprehensive code audit addressing naming consistency, dead code removal,
and documentation improvements across the entire codebase.

- Rename panel_pages.rs → pages_panel.rs for consistent naming
- Unify view functions: all panels now use view() convention
- Rename header_start/end() → start/end() for brevity
- Update all imports and references

- Remove Rotation::from_degrees() (only 4 fixed states needed)
- Remove TransformState::identity() and is_identity() (Default suffices)
- Remove duplicate convenience methods from RasterDocument, VectorDocument,
  PortableDocument (rotate_cw/ccw, flip_horizontal/vertical)
- Remove unused imports and constants (ROTATION_STEP, FULL_ROTATION)

- Rename constants: PDF_RENDER_SCALE → PDF_RENDER_QUALITY,
  PDF_THUMBNAIL_SCALE → PDF_THUMBNAIL_SIZE
- Add comprehensive trait documentation explaining type erasure pattern
- Document why large enum variants are acceptable
- Add #[allow(dead_code)] with explanations for trait API types
- Improve all constant and config comments

- Collapse nested if statements using Rust 2024 let-chains
- Replace single-arm match with if-let
- Introduce StateChangeCallback<Message> type alias
- Apply clippy auto-fixes for better code style
2026-01-19 19:42:54 +01:00
docs docs: update 2026-01-18 20:42:46 +01:00
i18n/en feature: PDF and PDF thumbnails and refresh UI 2026-01-18 20:35:12 +01:00
resources chore: remove unused panel icon resources 2026-01-15 19:04:58 +01:00
src refactor: improve code quality and consistency 2026-01-19 19:42:54 +01:00
.gitignore chore: initial commit 2026-01-07 20:22:49 +01:00
Cargo.lock feature: PDF and PDF thumbnails and refresh UI 2026-01-18 20:35:12 +01:00
Cargo.toml feature: PDF and PDF thumbnails and refresh UI 2026-01-18 20:35:12 +01:00
i18n.toml chore: initial commit 2026-01-07 20:22:49 +01:00
justfile Fix: correct metainfo path, icon destination, add post-install 2026-01-08 20:49:54 +01:00
LICENSE chore: initial commit 2026-01-07 20:22:49 +01:00
README.md feature: PDF and PDF thumbnails and refresh UI 2026-01-18 20:35:12 +01:00
rustfmt.toml chore: initial commit 2026-01-07 20:22:49 +01:00

Noctua

An image viewer application for the COSMIC™ desktop

Screenshot

Installation

A justfile is included by default for the [casey/just][just] command runner.

  • just builds the application with the default just build-release recipe
  • just run builds and runs the application
  • just install installs the project into the system
  • just vendor creates a vendored tarball
  • just build-vendored compiles with vendored dependencies from that tarball
  • just check runs clippy on the project to check for linter warnings
  • just check-json can be used by IDEs that support LSP

Dependencies

Arch Linux

sudo pacman -S poppler-glib

Debian/Ubuntu

sudo apt install libpoppler-glib-dev

Fedora

sudo dnf install poppler-glib-devel

OpenSUSE

sudo zypper install poppler-glib-devel

Documentation

License

GPL-3.0-or-later