LightCraft: An open-source non-destructive photo editor written by scratch in pure Rust
LR-PREF-PEOPLE: refresh model manager for current platform helpers
Daniel Voshart6e8db916736d
diff --git a/Cargo.lock b/Cargo.lockindex be24a88cf..d4adff9dd 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -2906,7 +2906,7 @@ dependencies = [[[package]]name = "lightcraft-faces"-version = "0.2.1"+version = "0.4.0"dependencies = ["proptest","serde",diff --git a/apps/lightcraft/src/main.rs b/apps/lightcraft/src/main.rsindex 39034e226..be44cc334 100644--- a/apps/lightcraft/src/main.rs+++ b/apps/lightcraft/src/main.rs@@ -402,8 +402,8 @@ fn services(ctx: egui::Context, log_file: Option<&std::path::Path>) -> Services})),pick_model_file: Some(Box::new(|| {rfd::FileDialog::new()- .set_title("Add a Face Recognition Model")- .add_filter("Face models (ONNX)", &["onnx"])+ .set_title(lightcraft_ui_egui::i18n::tr("Add a Face Recognition Model"))+ .add_filter_nocase(lightcraft_ui_egui::i18n::tr("Face models (ONNX)"), &["onnx"]).pick_file().map(|p| vec![p.to_string_lossy().to_string()]).unwrap_or_default()diff --git a/crates/engine/src/lib.rs b/crates/engine/src/lib.rsindex a368678e1..f656709e0 100644--- a/crates/engine/src/lib.rs+++ b/crates/engine/src/lib.rs@@ -789,10 +789,10 @@ mod tests_color;#[cfg(test)]mod tests_export;#[cfg(test)]-mod tests_folders;-#[cfg(test)]mod tests_face_models;#[cfg(test)]+mod tests_folders;+#[cfg(test)]mod tests_forget_local;#[cfg(test)]mod tests_import;diff --git a/crates/faces/src/lib.rs b/crates/faces/src/lib.rsindex f7dfe9260..3a6298872 100644--- a/crates/faces/src/lib.rs+++ b/crates/faces/src/lib.rs@@ -4,8 +4,8 @@//! own can be one drop and one licence prompt.//!//! Everything here treats model files and manifests as hostile input: sizes are capped, numbers must be-//! finite and sane, and a malformed file is an error, never a panic. Running a model (the `tract` runtime)-//! is not part of this crate yet.+//! finite and sane, and a malformed file is an error, never a panic. Model execution is not part of+//! this crate yet.#![forbid(unsafe_code)]#![deny(clippy::unwrap_used, clippy::expect_used, clippy::panic, clippy::unimplemented, clippy::todo, clippy::unreachable)]diff --git a/docs/parity.md b/docs/parity.mdindex baddd9ddd..ad9f5d596 100644--- a/docs/parity.md+++ b/docs/parity.md@@ -42,7 +42,7 @@ and prints the summary; `cargo xtask parity --write` refreshes the summary table| S. Export (EXP) | 15 | 1 | 2 | 0 | 7/7 (100%) | 7/7 (100%) || T. Share (SHARE) | 0 | 0 | 0 | 4 | — | — || U. Map & location (MAP) | 0 | 1 | 1 | 0 | — | 0/1 (0%) |-| V. Preferences (PREF) | 6 | 0 | 3 | 2 | 1/1 (100%) | 4/4 (100%) |+| V. Preferences (PREF) | 6 | 1 | 2 | 2 | 1/1 (100%) | 4/4 (100%) || W. Cloud & AI infrastructure (CLOUD / AI) | 1 | 0 | 1 | 2 | — | — || X. Cross-cutting behaviours (BEHAV) | 17 | 5 | 1 | 1 | 8/8 (100%) | 6/8 (75%) || Y. Menus | 82 | 0 | 4 | 8 | 47/47 (100%) | 23/23 (100%) |