From b8d6f9005f6d7c031b8d22fdb3de4c2582b94c95 Mon Sep 17 00:00:00 2001 From: astar76 Date: Thu, 26 Nov 2026 18:23:02 -0600 Subject: [PATCH] 0.4.1: release packages (AppImage, tar.gz, nacre-bin, .deb, Nix), README, LICENSE Co-Authored-By: Claude Opus 5.5 --- .gitignore | 3 +- CLAUDE.md | 4 +- Cargo.lock | 4 +- Cargo.toml | 2 +- LICENSE | 373 ++++++++++++++++++++++++++++++++++++ README.md | 54 ++++++ docs/releases/0.4.1.md | 11 ++ flake.nix | 10 + installer.sh | 159 +++++++++++++++ packaging/arch-bin/.SRCINFO | 35 ++++ packaging/arch-bin/PKGBUILD | 33 ++++ packaging/nix/default.nix | 33 ++++ tools/package.sh | 230 ++++++++++++++++++++++ webext/Cargo.toml | 2 +- 14 files changed, 946 insertions(+), 7 deletions(-) create mode 100644 LICENSE create mode 100644 README.md create mode 100644 docs/releases/0.4.1.md create mode 100644 flake.nix create mode 100755 installer.sh create mode 100644 packaging/arch-bin/.SRCINFO create mode 100644 packaging/arch-bin/PKGBUILD create mode 100644 packaging/nix/default.nix create mode 100755 tools/package.sh diff --git a/.gitignore b/.gitignore index 484f204..0fdbd90 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ target/ -releases/ +/releases/ *.log +/dist diff --git a/CLAUDE.md b/CLAUDE.md index a039894..d524846 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -37,7 +37,7 @@ Never modify: `~/Documents/Apps/Nacre` (the original Python Nacre, reference onl ## 2. Facts - **Engine**: WebKitGTK 6.0 (`webkit6` crate, `=0.6.1`) in a GTK 4 window; egui draws the chrome in a transparent `Gtk.GLArea` over the web views (D-033, D-035). WebKit tuning data and the engine test: `docs/engine/engine-comparison.md`, `docs/engine/tune/`. The Servo removal inventory (history): `docs/engine/servo-removal.md`. Pages' network work happens in the web process extension `webext/`. -- Cargo package `nacre` 0.4.0, edition 2024, Rust ≥ 1.88. No Servo, vendored crates or patched engine any more; builds take minutes (~2–4 min release), not hours. +- Cargo package `nacre` 0.4.1, edition 2024, Rust ≥ 1.88. No Servo, vendored crates or patched engine any more; builds take minutes (~2–4 min release), not hours. - Status: builds, `cargo test` green, hidden smokes pass; features still to re-verify on WebKit are marked in `docs/FEATURES.md`. - User rules: function first; plain egui UI until everything works; the Material You redesign comes afterwards (see `docs/UI-BRIEF.md`); nothing from the original is dropped silently (engine limits are shown as unavailable, see DESIGN.md "Engine limits"); never connect to Tor or proxies in tests. - Known gaps and things to check at the first build: `docs/REVIEW.md`. Feature list with file and review state: `docs/FEATURES.md`. @@ -81,7 +81,7 @@ Never modify: `~/Documents/Apps/Nacre` (the original Python Nacre, reference onl | `tools/smoke.sh tests/smoke/pip.txt` (+ `tools/hidden.sh tests/smoke/pip.txt -- tests/smoke/pip-driver.sh`: `/windows.json` PiP floating), `bindings.txt` (side buttons, middle click; hidden only), `ctxmenu.txt` (site menu vs Nacre's; hidden only), `pip-return.txt` (page input after PiP and back; hidden only), `pip-loop.txt` (+ `-- tests/smoke/pip-loop-driver.sh`: PiP three rounds, ended by command, Escape, window close; `windows-.json`; hidden only), selftest `pick x y` (GTK's pick at a page point + view state), `python3 tests/smoke/net/server.py &` + `SMOKE_SIZE=1280x900 tools/smoke.sh tests/smoke/auth.txt`, `tests/smoke/visible-ui.txt` (by hand, header) | PiP moves the live view and back (offline); HTTP sign-in cancel + saved login (offline); visible: portal file chooser, notification, page full screen, Web Inspector (`dialogs.txt` now also checks dialog answers, context menu, leave page, permission bars, notifications count) | now (S048, S056) | | `python3 tests/smoke/net/server.py &` + `tools/smoke.sh tests/smoke/player-ad.txt`; `tools/smoke.sh tests/smoke/ctxmenu.txt` | video site ad tricks (click catcher over the player, pop-under on click, pop-up without a click, ad frame in a cross-site frame must not take the tab); site context menus (`pages/site-menu.html`: YouTube-like toggle, Discord-like, plain, each 3×) and Nacre's menu keys via selftest `realkey `. Hidden only, offline | now (S061) | | `tools/hidden.sh