40 Commits
Author SHA1 Message Date
Dylan M. Taylor 96f83f48aa docs: prefer craft-libs for reusable formats, codecs, protocols and UI (#261) 2026-11-16 21:59:00 -05:00
Dylan M. Taylor 271890af61 Merge pull request #253 from storytold/extract/shared-format-codec
Reuse shared XML escaping for SBS attributes
2026-11-15 18:04:47 -05:00
Dylan M. Taylor faa78d4175 Reuse shared Base64 output for SBS embedded resources 2026-11-15 14:26:33 -05:00
Dylan M. Taylor c0d8e921eb Use shared DDS float surface decoder
Keep original MaterialCraft transfer and first-surface policy; move backend access and checked allocation to craft-texture.
2026-11-15 14:00:31 -05:00
Dylan M. Taylor 258e74cc86 Merge pull request #252 from storytold/codex/zip-guard-pin
Adopt shared ZIP64 entry-count guard fix
2026-11-15 11:54:33 -05:00
Dylan M. Taylor 5cf55f805c Keep shared XML lockfile entry in Cargo order 2026-11-15 11:44:04 -05:00
Dylan M. Taylor fd0f4bd4c1 Reuse shared XML escaping for SBS attributes 2026-11-15 11:08:29 -05:00
Dylan M. Taylor 3e361b2af5 Adopt shared ZIP64 entry-count guard fix 2026-11-15 15:47:19 +00:00
Dylan M. Taylor 18c25a3f87 Merge pull request #246 from storytold/codex/shared-mcmat-consumer
Use shared portable material archives
2026-11-15 08:43:00 -05:00
Dylan M. Taylor 5d7dcd8029 Pin merged shared material format 2026-11-15 13:08:27 +00:00
Dylan M. Taylor 01f0c70648 Use bounded portable material detection 2026-11-15 11:39:50 +00:00
Dylan M. Taylor f4e079b49d Use shared portable material archive 2026-11-15 11:36:22 +00:00
Dylan M. Taylor 6f19501a4b automation: cap workspace and trusted-local reads at 2 GiB (#240)
* automation: cap workspace and trusted-local reads at 2 GiB

* automation: format the read-cap changes

* automation: drop unneeded mut from capped reads

* automation: cover trusted read size and file-kind checks
2026-11-14 17:31:30 -05:00
Dylan M. Taylor cd9addceb4 formats: use a set for unique SBS resource names (#242)
Every resource rebuilt a vector of all existing names and scanned it linearly, making duplicate-heavy packages quadratic on open. Track used names in a HashSet and add a duplicate-name regression test.
2026-11-14 16:55:33 -05:00
Dylan M. Taylor 3a08213c55 formats: create atomic-write temps exclusively so a planted symlink is never followed (#239) 2026-11-14 15:55:15 -05:00
Dylan M. Taylor 703d3b1cf4 Bound SBS input bytes, wire counts and stored warnings (#237)
* formats: bound SBS input, wires and stored warnings

* formats: format the SBS size check
2026-11-14 15:21:33 -05:00
Dylan M. Taylor 6f5812f8ef engine: cap linked SBS resources at 256 MiB (#236) 2026-11-14 15:21:29 -05:00
Dylan M. Taylor 3a2b421e6d Refuse oversized .mcraft archives (#235)
* Refuse oversized .mcraft archives

The archive reader had no entry-count, per-entry or aggregate decompression
limit: every member was read to its end and retained, so a small zip bomb
could exhaust memory on Open. Members are now limited to 100 000 entries,
256 MiB each and 1 GiB together, and a member is read at most one byte past
its allowance before the archive is refused.

* formats: drop the unused mut on the capped zip entry
2026-11-14 14:32:52 -05:00
Dylan M. Taylor b73facdc7b fix(flatpak): honor the launcher version choices (#208) 2026-11-11 19:06:20 -05:00
Dylan M. Taylor c0a5a70d4a chore: bump version to 0.4.1 for the Flatpak update fix (#207) 2026-11-11 14:55:58 -05:00
Dylan M. Taylor d8aceb5cc8 Fix Flatpak permissions for update checks and self-updates (#205)
* fix(flatpak): allow release checks and self-update helpers

* test: keep Flatpak permission parsing within strict Clippy rules
2026-11-11 14:24:20 -05:00
Dylan M. Taylor 08b2cfb632 Merge pull request #203 from storytold/chore/craft-update-6e03f65
Updates: take craft-update from craft-libs main at 6e03f65bf
2026-11-11 12:44:52 -05:00
Dylan M. Taylor 49bc10d11f Updates: take craft-update from craft-libs main at 6e03f65bf 2026-11-11 12:44:46 -05:00
Dylan M. Taylor 4fb799dcf2 Sonar: [[ in packaging scripts, no literal empty range in a slider test (S7688, S7432) (#193)
Clears all 69 open SonarCloud issues.

- `packaging/{linux,macos,freebsd,web}/*.sh`: `[[ ]]` in place of `[ ]` for bash tests (SonarCloud shell:S7688). Every script has a bash shebang; no test uses `-a`/`-o`, escaped parentheses or an unquoted pattern on the right of `=`. `bash -n` passes on each.
- `packaging/web/package.sh`: the wasm size override is read as base 10 (`$((10#…))`), since `-gt` inside `[[` evaluates its operands arithmetically (a leading zero would read as octal). Same as photocraft.
- `crates/ui-egui/src/property/input.rs`: the reversed-limits slider test passes its limits through variables, as imported limits arrive, instead of a literal `3.0..=2.0` (rust:S7432). Same range, same test.

Compile and tests are left to CI.
2026-11-10 18:45:14 -05:00
Dylan M. Taylor 7116602329 docs: add SonarCloud and CodeRabbit badges to README (#179) 2026-11-09 10:10:26 -05:00
Dylan M. Taylor 96a8ae35d0 Merge pull request #174 from dotCooCoo/feat/self-updater
feat(ui): check for new releases and update the app from inside it
2026-11-09 00:15:33 -05:00
Dylan M. Taylor e6c2925aa7 Merge main into release 2026-11-04 21:12:42 -05:00
Dylan M. Taylor 2c92a5c41f Merge main into release 2026-11-04 21:07:37 -05:00
Dylan M. Taylor 1639314ca5 Revert the release environment on the workflow call 2026-11-04 19:39:19 -05:00
Dylan M. Taylor 42b0bfe4f3 Run the signed release from the release environment 2026-11-04 19:36:10 -05:00
Dylan M. Taylor 2939420ef3 Update the lock file for MaterialCraft 0.1.2 2026-11-04 18:38:48 -05:00
Dylan M. Taylor da89acba22 Release MaterialCraft 0.1.2 2026-11-04 18:38:42 -05:00
Dylan M. Taylor 62bf83cf6b Fix the MaterialCraft 0.1.2 lock file 2026-11-04 18:34:24 -05:00
Dylan M. Taylor 45a5eee59a Fix the MaterialCraft 0.1.2 lock file 2026-11-04 18:34:09 -05:00
Dylan M. Taylor 36d20fc194 Restore Cargo.lock for the MaterialCraft 0.1.2 release 2026-11-04 18:29:39 -05:00
Dylan M. Taylor 31b13349e6 Release MaterialCraft 0.1.2 2026-11-04 18:22:06 -05:00
Dylan M. Taylor 57c06be62a Release MaterialCraft 0.1.1 2026-11-04 12:34:09 -05:00
Dylan M. Taylor ddb78274f9 Honor release version in packaging 2026-11-04 12:30:01 -05:00
Dylan M. Taylor 4e8bb9ca9a ci: add SonarCloud analysis 2026-11-04 09:47:53 -05:00
Dylan M. Taylor 4bbb15bc81 ci(release): sign the Linux packages with LINUX_SIGNING_KEY
Pass LINUX_SIGNING_KEY to the shared release workflow (storytold/craft-common-actions#129),
which signs the rpm, deb, Arch package, AppImage, tarballs, Flatpak OCI image and SHA256SUMS.txt,
and scaffold flatpak-bundle.sh so a release signs the Flatpak bundle's commit and embeds the key,
with the bundle's origin updating from the ArtCraft OCI repository.
2026-11-02 22:02:12 -05:00