diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000000..e3ff66fc1c
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,2 @@
+# The DXF writer goldens are compared byte for byte with the writer's output (LF line endings).
+crates/cad/tests/data/*.dxf -text
diff --git a/.github/nightly-linux-signing-key.asc b/.github/nightly-linux-signing-key.asc
new file mode 100644
index 0000000000..a1c1f31e8d
--- /dev/null
+++ b/.github/nightly-linux-signing-key.asc
@@ -0,0 +1,16 @@
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+
+mDMEaulK1xYJKwYBBAHaRw8BAQdAqHJeDCjY6Hx5FTn/hW+aqu6V394ubLk0Zj3C
+bftDwFm0IkFydENyYWZ0IExpbnV4IFJlbGVhc2UgU2lnbmluZyBLZXmIkwQTFgoA
+OxYhBCt2dBtBSq1s0z5jEhOgBcC518PtBQJq6UrXAhsBBQsJCAcCAiICBhUKCQgL
+AgQWAgMBAh4HAheAAAoJEBOgBcC518PtGeUA/RjvULBTLlccc+2wtJkfjSnCV+cf
+PUMEGmW7XkZWkk51AP9w2A/WLv+79nREWEpZzI8LGK5EjrNazP+sY0l7j5rFCLgz
+BGrpStcWCSsGAQQB2kcPAQEHQPl7XkQ1gWsvSPf/T9b4m/UHcjJjBpSOtpYlWR56
+er5RiO8EGBYKACAWIQQrdnQbQUqtbNM+YxIToAXAudfD7QUCaulK1wIbAgCBCRAT
+oAXAudfD7XYgBBkWCgAdFiEEVo3B9o+Prsx5fzx7AG2va7DvM04FAmrpStcACgkQ
+AG2va7DvM07taQEA4d2VFkKRIP0g9TrE86KpnuXPap+LKqe0tfIxpdf9YxIA/0Wo
+9H/iG8nH++nxC087p3HE0S+0UovxqkhXJLSr8B4JDOoA/iLRpqTdYmk6fVXMyPJo
+SkOVuwZIGS6VgBdSQP0e2P2YAP41L5OoSvwdQIG3/uNrM+ieqpYeM597/hCLFs5A
+ga/qCA==
+=3wGQ
+-----END PGP PUBLIC KEY BLOCK-----
diff --git a/.github/nightly-signing-policy.json b/.github/nightly-signing-policy.json
new file mode 100644
index 0000000000..55d2a1983c
--- /dev/null
+++ b/.github/nightly-signing-policy.json
@@ -0,0 +1,157 @@
+{
+ "schema": "craft-nightly-release-policy/v3",
+ "repository": "storytold/vectorcraft",
+ "repository_id": 1398097510,
+ "producer_workflow_id": 430275079,
+ "producer_workflow_path": ".github/workflows/nightly.yml",
+ "producer_tooling_revision": "main",
+ "producer_workflow_ref": "storytold/craft-common-actions/.github/workflows/nightly-unsigned.yml@main",
+ "signer_workflow_path": ".github/workflows/nightly-sign.yml",
+ "signer_tooling_revision": "main",
+ "release_branch": "nightly-signer",
+ "manual_actors": [
+ "bflatastic",
+ "dylanmtaylor",
+ "echelon",
+ "FredApps",
+ "skylartaylor"
+ ],
+ "max_age_seconds": 86400,
+ "candidate_policy": {
+ "schema": "craft-nightly-candidate-policy/v3",
+ "epoch": "vectorcraft-nightly-20261124",
+ "repository": "storytold/vectorcraft",
+ "branch": "main",
+ "required_workflows": [
+ {
+ "workflow_id": 380135806,
+ "workflow_path": ".github/workflows/ci.yml",
+ "jobs": [
+ {
+ "name": "gate / select legs",
+ "app_id": 15368,
+ "applicability": "required"
+ },
+ {
+ "name": "gate / cache warm (ubuntu-24.04)",
+ "app_id": 15368,
+ "applicability": "required"
+ },
+ {
+ "name": "gate / test 1/6 (ubuntu-24.04)",
+ "app_id": 15368,
+ "applicability": "required"
+ },
+ {
+ "name": "gate / test 2/6 (ubuntu-24.04)",
+ "app_id": 15368,
+ "applicability": "required"
+ },
+ {
+ "name": "gate / test 3/6 (ubuntu-24.04)",
+ "app_id": 15368,
+ "applicability": "required"
+ },
+ {
+ "name": "gate / test 4/6 (ubuntu-24.04)",
+ "app_id": 15368,
+ "applicability": "required"
+ },
+ {
+ "name": "gate / test 5/6 (ubuntu-24.04)",
+ "app_id": 15368,
+ "applicability": "required"
+ },
+ {
+ "name": "gate / test 6/6 (ubuntu-24.04)",
+ "app_id": 15368,
+ "applicability": "required"
+ },
+ {
+ "name": "gate / gate (ubuntu-24.04)",
+ "app_id": 15368,
+ "applicability": "required"
+ }
+ ]
+ }
+ ],
+ "sonar": {
+ "organization": "storytold",
+ "project": "storytold_vectorcraft",
+ "app_id": 12526,
+ "check_name": "SonarCloud Code Analysis",
+ "details_url": "https://sonarcloud.io/dashboard?id=storytold_vectorcraft&branch=main",
+ "issue_types": [
+ "VULNERABILITY"
+ ],
+ "accepted_conditions": [
+ {
+ "metric": "new_security_rating",
+ "comparator": "GT",
+ "error_threshold": "1",
+ "maximum": "5"
+ }
+ ],
+ "required_conditions": [
+ {
+ "metric": "new_reliability_rating",
+ "comparator": "GT",
+ "error_threshold": "1"
+ },
+ {
+ "metric": "new_maintainability_rating",
+ "comparator": "GT",
+ "error_threshold": "1"
+ },
+ {
+ "metric": "new_coverage",
+ "comparator": "LT",
+ "error_threshold": "80"
+ },
+ {
+ "metric": "new_duplicated_lines_density",
+ "comparator": "GT",
+ "error_threshold": "3"
+ },
+ {
+ "metric": "new_security_hotspots_reviewed",
+ "comparator": "LT",
+ "error_threshold": "100"
+ }
+ ],
+ "debt": []
+ }
+ },
+ "max_artifact_bytes": 2147483648,
+ "automatic_signer_actors": [
+ "github-actions[bot]"
+ ],
+ "platforms": {
+ "windows-x86_64": {
+ "unsigned_artifact_name": "nightly-unsigned-windows-x86_64",
+ "trust": {
+ "publisher_subject": "CN=Learning Machines Inc, O=Learning Machines Inc, L=Atlanta, S=Georgia, C=US"
+ }
+ },
+ "linux-x86_64": {
+ "unsigned_artifact_name": "nightly-unsigned-linux-x86_64",
+ "trust": {
+ "fingerprint": "2B76741B414AAD6CD33E631213A005C0B9D7C3ED"
+ },
+ "package_formats": [
+ "appimage",
+ "arch",
+ "deb",
+ "flatpak",
+ "oci",
+ "rpm"
+ ]
+ },
+ "macos-aarch64": {
+ "unsigned_artifact_name": "nightly-unsigned-macos-aarch64",
+ "trust": {
+ "apple_team_id": "DJ6XS33FX8"
+ }
+ }
+ }
+}
diff --git a/.github/scripts/release-rpm-smoke.py b/.github/scripts/release-rpm-smoke.py
new file mode 100644
index 0000000000..3d70cca7c1
--- /dev/null
+++ b/.github/scripts/release-rpm-smoke.py
@@ -0,0 +1,74 @@
+"""Check a real installed release RPM and exercise the GUI control channel."""
+
+import json
+import os
+from pathlib import Path
+import secrets
+import socket
+import subprocess
+import time
+import tempfile
+
+
+def run_smoke(results):
+ requirements = (results / "rpm-requires.txt").read_text()
+ for capability in (
+ "libc.so.6()(64bit)",
+ "libm.so.6(GLIBC_2.35)(64bit)",
+ "libgcc_s.so.1()(64bit)",
+ "libxkbcommon.so.0()(64bit)",
+ "(libvulkan.so.1()(64bit) or libEGL.so.1()(64bit))",
+ ):
+ if capability not in requirements.splitlines():
+ raise RuntimeError(f"Missing RPM requirement: {capability}")
+
+ version = subprocess.check_output(["vectorcraft-cli", "--version"], text=True)
+ (results / "cli-version.txt").write_text(version)
+ # Original fixture authored for this package smoke test; no external artwork.
+ fixture = results / "original-smoke.svg"
+ fixture.write_text('')
+ token = secrets.token_hex(32)
+ with tempfile.TemporaryDirectory(prefix="vectorcraft-runtime-") as runtime, (results / "gui.log").open("w") as log:
+ env = dict(os.environ, VECTORCRAFT_NO_PREFS="1", XDG_RUNTIME_DIR=runtime,
+ VECTORCRAFT_CONTROL_TOKEN=token)
+ app = subprocess.Popen([
+ "vectorcraft", "--control", "32180", "--automation-read-root", str(results),
+ "--automation-write-root", str(results), str(fixture),
+ ], stdout=log, stderr=subprocess.STDOUT, env=env)
+ try:
+ deadline = time.monotonic() + 90
+ while True:
+ if app.poll() is not None:
+ raise RuntimeError(f"GUI exited during startup: {app.returncode}")
+ try:
+ channel = socket.create_connection(("127.0.0.1", 32180), timeout=5)
+ break
+ except OSError:
+ if time.monotonic() >= deadline:
+ raise RuntimeError("GUI control channel did not become ready") from None
+ time.sleep(1)
+ channel.settimeout(30)
+ with channel, channel.makefile("rwb") as stream:
+ for request_id, method, params in (
+ (0, "auth", {"token": token}),
+ (1, "ui.inspect", {}),
+ ):
+ stream.write((json.dumps(dict(id=request_id, method=method, params=params)) + "\n").encode())
+ stream.flush()
+ response = json.loads(stream.readline())
+ (results / f"{method}.json").write_text(json.dumps(response, indent=2))
+ if response.get("id") != request_id or response.get("ok") is not True:
+ raise RuntimeError(f"GUI request failed: {method}")
+ finally:
+ app.terminate()
+ try:
+ app.wait(timeout=10)
+ except subprocess.TimeoutExpired:
+ app.kill()
+ app.wait()
+
+
+if __name__ == "__main__":
+ run_smoke(Path("/results"))
diff --git a/.github/scripts/tests/test_release_rpm_smoke.py b/.github/scripts/tests/test_release_rpm_smoke.py
new file mode 100644
index 0000000000..9d92237534
--- /dev/null
+++ b/.github/scripts/tests/test_release_rpm_smoke.py
@@ -0,0 +1,116 @@
+"""Exercise failures that an installed-package happy-path check cannot reproduce."""
+import importlib.util
+import json
+from pathlib import Path
+import subprocess
+import tempfile
+import unittest
+from unittest.mock import MagicMock, patch
+
+spec = importlib.util.spec_from_file_location("rpm_smoke", Path(__file__).parents[1] / "release-rpm-smoke.py")
+smoke = importlib.util.module_from_spec(spec)
+spec.loader.exec_module(smoke)
+
+
+class SmokeLifecycleTests(unittest.TestCase):
+ def setUp(self):
+ self.folder = tempfile.TemporaryDirectory()
+ self.addCleanup(self.folder.cleanup)
+ self.results = Path(self.folder.name)
+ (self.results / "rpm-requires.txt").write_text("\n".join([
+ "libc.so.6()(64bit)", "libm.so.6(GLIBC_2.35)(64bit)",
+ "libgcc_s.so.1()(64bit)", "libxkbcommon.so.0()(64bit)",
+ "(libvulkan.so.1()(64bit) or libEGL.so.1()(64bit))",
+ ]))
+ self.app = MagicMock()
+ self.app.poll.return_value = None
+ self.channel = MagicMock()
+ self.stream = self.channel.makefile.return_value.__enter__.return_value
+ self.stream.readline.side_effect = [
+ b'{"id":0,"ok":true}\n', b'{"id":1,"ok":true,"result":{"window":"fixture"}}\n',
+ ]
+ self.runtime = None
+
+ def launch(*args, **kwargs):
+ self.runtime = Path(kwargs["env"]["XDG_RUNTIME_DIR"])
+ self.assertTrue(self.runtime.is_dir())
+ return self.app
+
+ self.launch = self.start_patch(smoke.subprocess, "Popen", side_effect=launch)
+ self.start_patch(smoke.subprocess, "check_output", return_value="vectorcraft-cli 0.25.0\n")
+ self.connect = self.start_patch(smoke.socket, "create_connection", return_value=self.channel)
+ self.start_patch(smoke.time, "sleep")
+
+ def start_patch(self, owner, name, **kwargs):
+ patcher = patch.object(owner, name, **kwargs)
+ result = patcher.start()
+ self.addCleanup(patcher.stop)
+ return result
+
+ def assert_cleaned_up(self):
+ self.app.terminate.assert_called_once()
+ self.assertFalse(self.runtime.exists())
+
+ def test_success_records_inspection_and_removes_private_runtime(self):
+ smoke.run_smoke(self.results)
+ report = json.loads((self.results / "ui.inspect.json").read_text())
+ self.assertEqual(report["result"], {"window": "fixture"})
+ requests = [json.loads(call.args[0]) for call in self.stream.write.call_args_list]
+ self.assertEqual(requests[0]["method"], "auth")
+ self.assertEqual(requests[0]["params"]["token"], self.launch.call_args.kwargs["env"]["VECTORCRAFT_CONTROL_TOKEN"])
+ self.assert_cleaned_up()
+
+ def test_missing_runtime_dependency_prevents_launch(self):
+ (self.results / "rpm-requires.txt").write_text("")
+ with self.assertRaisesRegex(RuntimeError, "Missing RPM requirement"):
+ smoke.run_smoke(self.results)
+ self.launch.assert_not_called()
+
+ def test_child_exit_during_startup_is_a_failure(self):
+ self.app.poll.return_value = 1
+ self.app.returncode = 1
+ with self.assertRaisesRegex(RuntimeError, "exited during startup"):
+ smoke.run_smoke(self.results)
+ self.assert_cleaned_up()
+
+ def test_connection_is_retried_until_ready(self):
+ self.connect.side_effect = [OSError("not ready"), self.channel]
+ smoke.run_smoke(self.results)
+ self.assertEqual(self.connect.call_count, 2)
+ self.assert_cleaned_up()
+
+ def test_startup_timeout_stops_child(self):
+ self.connect.side_effect = OSError("not ready")
+ self.start_patch(smoke.time, "monotonic", side_effect=[0, 91])
+ with self.assertRaisesRegex(RuntimeError, "did not become ready"):
+ smoke.run_smoke(self.results)
+ self.assert_cleaned_up()
+
+ def test_auth_refusal_prevents_inspection(self):
+ self.stream.readline.side_effect = [b'{"id":0,"ok":false}\n']
+ with self.assertRaisesRegex(RuntimeError, "request failed: auth"):
+ smoke.run_smoke(self.results)
+ self.assertFalse((self.results / "ui.inspect.json").exists())
+ self.assert_cleaned_up()
+
+ def test_response_for_another_request_is_rejected(self):
+ self.stream.readline.side_effect = [b'{"id":0,"ok":true}\n', b'{"id":99,"ok":true}\n']
+ with self.assertRaisesRegex(RuntimeError, "request failed: ui.inspect"):
+ smoke.run_smoke(self.results)
+ self.assert_cleaned_up()
+
+ def test_malformed_response_still_stops_child(self):
+ self.stream.readline.side_effect = [b'not json\n']
+ with self.assertRaises(json.JSONDecodeError):
+ smoke.run_smoke(self.results)
+ self.assert_cleaned_up()
+
+ def test_unresponsive_child_is_killed_after_termination_timeout(self):
+ self.app.wait.side_effect = [subprocess.TimeoutExpired("vectorcraft", 10), 0]
+ smoke.run_smoke(self.results)
+ self.app.kill.assert_called_once()
+ self.assert_cleaned_up()
+
+
+if __name__ == "__main__":
+ unittest.main()
diff --git a/.github/workflows/cache-prune.yml b/.github/workflows/cache-prune.yml
new file mode 100644
index 0000000000..a79f1ed907
--- /dev/null
+++ b/.github/workflows/cache-prune.yml
@@ -0,0 +1,35 @@
+name: Cache prune
+
+# A pass of the cache prune after every CI attempt on main. ci.yml's `cache prune` job prunes while
+# a run's jobs save their entries, but "Re-run failed jobs" re-runs only the failed jobs: a re-run
+# `cache warm` leg saves a new entry, and the prune job, which succeeded in the first attempt, does
+# not run again. The entry it replaced would stay until the next main run, and with it the cache
+# would be over its 10 GB budget, where GitHub evicts entries a run still needs. This runs once
+# after every attempt, re-runs and canceled runs included (craft-common-actions actions/cache-prune).
+on:
+ workflow_run:
+ workflows: [CI]
+ types: [completed]
+ branches: [main]
+
+permissions:
+ contents: read
+
+jobs:
+ cache-prune:
+ name: cache prune
+ # A fork's pull request from a branch named main also matches `branches`.
+ if: github.event.workflow_run.event != 'pull_request'
+ timeout-minutes: 10
+ runs-on: ubuntu-24.04
+ permissions:
+ actions: write
+ steps:
+ - name: Harden runner
+ uses: step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a # v2.22.4
+ with:
+ egress-policy: audit
+ # A failed pass warns; the next run's prune deletes what it missed.
+ - name: Prune replaced cache entries
+ uses: storytold/craft-common-actions/actions/cache-prune@main
+ continue-on-error: true
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index ce472c2fdb..0954b5c35c 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -1,10 +1,14 @@
name: CI
# Quality gates for every push to main and every pull request (`cargo xtask ci`), through the
-# suite's shared gate workflow in craft-common-actions.
+# suite's shared gate workflow in craft-common-actions. Every night the gate runs a cold build:
+# the safety net for the workspace crates it keeps between runs (`cache-workspace-crates`), and a
+# fresh start for that cache entry.
on:
push:
branches: [main]
+ schedule:
+ - cron: "37 3 * * *"
pull_request:
workflow_dispatch:
@@ -23,7 +27,10 @@ jobs:
with:
# Same craft-fonts commit as release.yml.
craft-fonts-ref: b076417b5880bd4154bd22f00695b1d28c6bea83
- timeout-minutes: 90
+ # A cold `cache warm` leg (the nightly run, or any run after a toolchain or lockfile change)
+ # took 90 minutes to reach its last three steps on 2026-11-27 and was canceled there; with
+ # those steps and the save it needs about two hours.
+ timeout-minutes: 150
# The gate's test binaries carry no debug info and no symbols (CARGO_PROFILE_TEST_DEBUG=0,
# CARGO_PROFILE_TEST_STRIP=symbols), as photocraft's do: linking ~100 test binaries with line
# tables ran the hosted runner out of resources, and it stopped mid-link with "received a
@@ -32,14 +39,77 @@ jobs:
dev-strip: true
# The workspace crates also build without line tables. A panic still names its file and line.
dev-debug: "0"
- # Five legs instead of one: shards 1 to 4 each build and run the tests of their own crates,
- # and shard 5 runs the other `cargo xtask ci` steps (xtask/src/shards.rs). `gate ()`
- # passes only when all five did. On pushes to main, a `cache warm` leg builds what every
- # shard builds and saves the dependency cache.
- test-shards: 5
+ # Six legs instead of one: shards 1 and 2 each build vectorcraft-ui-egui's tests and run
+ # half of them, shards 3 to 5 each build and run the tests of their own crates, and shard 6
+ # runs the other `cargo xtask ci` steps (xtask/src/shards.rs). `gate ()` passes only
+ # when all six did. On pushes to main, a `cache warm` leg builds what every shard builds and
+ # saves the dependency cache.
+ test-shards: 6
shard-command: cargo xtask ci shard
warm-command: cargo xtask ci warm
+ # The dependency cache also keeps the compiled workspace crates and test executables, so a
+ # pull request's shards rebuild only the crates its changes reach. Each main run's `cache
+ # warm` leg saves a rolling entry of its own, every leg restores the newest one, and
+ # `cache-prune` below deletes the one it replaced. The nightly run restores nothing and
+ # builds everything from source.
+ cache-workspace-crates: true
+ cold-build: ${{ github.event_name == 'schedule' }}
packages: >-
pkg-config libxkbcommon-dev libwayland-dev libx11-dev libxcb1-dev libxcursor-dev
libxrandr-dev libxi-dev libfontconfig1-dev libfreetype-dev mesa-vulkan-drivers
libgl1-mesa-dev
+
+ # Keeps one rolling gate entry on main, so the repository stays within its 10 GB Actions cache
+ # budget. It runs beside the gate and prunes each time the `cache warm` leg finishes saving. A
+ # failed prune warns instead of failing the run, and cache-prune.yml prunes again after every
+ # attempt, re-runs of failed jobs included. `watch-minutes` is longer than the gate's
+ # `timeout-minutes`, so the watch outlasts a cold `cache warm` leg.
+ cache-prune:
+ name: cache prune
+ if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
+ runs-on: ubuntu-24.04
+ timeout-minutes: 170
+ permissions:
+ actions: write
+ steps:
+ - name: Harden runner
+ uses: step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a # v2.22.4
+ with:
+ egress-policy: audit
+ - name: Prune replaced cache entries
+ uses: storytold/craft-common-actions/actions/cache-prune@main
+ continue-on-error: true
+ with:
+ watch: true
+ watch-minutes: 160
+ saving-jobs: |
+ ^gate( / cache warm \(.*\))?$
+
+ # The nightly cold run never restores the rolling crates entry, so the old entry is only overlap
+ # while the cold run saves its own: two entries of about 4.6 GB, which with the others go over the
+ # 10 GB cache limit and get the corpus, SonarCloud and Windows ARM64 entries evicted. This deletes
+ # the old entries when the `cache warm` leg starts saving (scripts/ci-clear-rolling-cache.py).
+ # When the leg fails or is canceled, before its save or during it, this job fails too, so "Re-run
+ # failed jobs" runs it again beside the re-run leg. The leg starts after `gate / select legs` and a
+ # free runner: the script fails when the leg has not started within 120 minutes, and then waits
+ # up to 160 minutes from the leg's start. This job's timeout is longer than both together, so the
+ # script reports a leg that starts late with its own error before the job times out.
+ cold-cache-clear:
+ name: cold cache clear
+ if: github.event_name == 'schedule'
+ runs-on: ubuntu-24.04
+ timeout-minutes: 290
+ permissions:
+ actions: write
+ steps:
+ - name: Harden runner
+ uses: step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a # v2.22.4
+ with:
+ egress-policy: audit
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+ with:
+ persist-credentials: false
+ - name: Delete the old rolling entries before the save
+ env:
+ GH_TOKEN: ${{ github.token }}
+ run: python3 scripts/ci-clear-rolling-cache.py
diff --git a/.github/workflows/nightly-check.yml b/.github/workflows/nightly-check.yml
new file mode 100644
index 0000000000..4ec39820d1
--- /dev/null
+++ b/.github/workflows/nightly-check.yml
@@ -0,0 +1,75 @@
+name: Nightly check
+
+# The app-side Nightly pieces, checked without a feed run: the Python suites that read the archive,
+# plist and signing scripts, the workflow contracts, and (on Windows) the packaging and signing
+# PowerShell suites. The producer itself is .github/workflows/nightly.yml; the Apple-silicon bundle
+# is built and verified by nightly-macos.yml behind the `full-ci` label. The same job also runs the
+# suite for scripts/ci-clear-rolling-cache.py, which ci.yml's nightly cold run calls.
+on:
+ push:
+ branches: [main, release]
+ paths: [".github/workflows/nightly*.yml", "packaging/**", "apps/vectorcraft/**", "crates/ui-egui/src/os_window.rs", "scripts/ci-clear-rolling-cache*.py"]
+ pull_request:
+ paths: [".github/workflows/nightly*.yml", "packaging/**", "apps/vectorcraft/**", "crates/ui-egui/src/os_window.rs", "scripts/ci-clear-rolling-cache*.py"]
+ workflow_dispatch:
+
+permissions:
+ contents: read
+
+concurrency:
+ group: nightly-check-${{ github.ref }}
+ cancel-in-progress: true
+
+jobs:
+ synthetic:
+ name: Packaging suites and script syntax
+ runs-on: ubuntu-latest
+ timeout-minutes: 20
+ steps:
+ - name: Harden runner
+ uses: step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a # v2.22.4
+ with:
+ egress-policy: audit
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+ with:
+ persist-credentials: false
+ - name: Run the synthetic suites
+ run: python3 packaging/nightly-tests.py
+ - name: Run the cold cache clear suite
+ run: python3 scripts/ci-clear-rolling-cache-tests.py
+ - name: Parse every nightly shell script
+ run: |
+ set -euo pipefail
+ for script in packaging/nightly-common.sh packaging/linux/nightly.sh packaging/linux/nightly-launch.sh \
+ packaging/linux/nightly-arch-tar.sh packaging/macos/nightly.sh \
+ packaging/macos/nightly-lib.sh packaging/macos/nightly-sign.sh packaging/macos/nightly-verify.sh; do
+ bash -n "$script"
+ done
+ - name: Shellcheck
+ run: |
+ set -euo pipefail
+ sudo apt-get update -qq
+ sudo apt-get install -y -qq shellcheck
+ shellcheck -x -P packaging packaging/nightly-common.sh packaging/linux/nightly.sh \
+ packaging/linux/nightly-launch.sh \
+ packaging/macos/nightly.sh packaging/macos/nightly-lib.sh packaging/macos/nightly-sign.sh \
+ packaging/macos/nightly-verify.sh
+
+ windows:
+ name: Windows packaging and signing suites
+ runs-on: windows-latest
+ timeout-minutes: 20
+ steps:
+ - name: Harden runner
+ uses: step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a # v2.22.4
+ with:
+ egress-policy: audit
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+ with:
+ persist-credentials: false
+ - name: Nightly packaging suite
+ shell: pwsh
+ run: ./packaging/windows/nightly-package-tests.ps1 -FixtureRoot $env:RUNNER_TEMP
+ - name: Nightly signing suite
+ shell: pwsh
+ run: ./packaging/windows/nightly-signing-tests.ps1 -FixtureRoot $env:RUNNER_TEMP
diff --git a/.github/workflows/nightly-dispatch.yml b/.github/workflows/nightly-dispatch.yml
new file mode 100644
index 0000000000..4ef372c40b
--- /dev/null
+++ b/.github/workflows/nightly-dispatch.yml
@@ -0,0 +1,72 @@
+name: Dispatch release-ref nightly
+
+# Transport only, never authorization. No checkout, payload parsing or release environment.
+on:
+ workflow_run:
+ workflows: [VectorCraft unsigned nightly]
+ types: [completed]
+ branches: [main]
+
+permissions: {}
+
+jobs:
+ dispatch:
+ # Enabled for automated scheduled producer completions on main.
+ if: >-
+ github.repository == 'storytold/vectorcraft' &&
+ github.event_name == 'workflow_run'
+ runs-on: ubuntu-latest
+ timeout-minutes: 5
+ permissions:
+ actions: write
+ steps:
+ - name: Dispatch only the exact completed producer run and attempt
+ shell: python
+ env:
+ GH_TOKEN: ${{ github.token }}
+ run: |
+ import json
+ import os
+ import urllib.request
+
+ def require(value, message):
+ if not value:
+ raise RuntimeError(message)
+
+ # These filters reduce noise; the protected signer-branch validator repeats admission
+ # against authenticated API metadata and required attestation/quality evidence.
+ require(os.environ.get('GITHUB_REPOSITORY') == 'storytold/vectorcraft', 'wrong repository')
+ require(os.environ.get('GITHUB_EVENT_NAME') == 'workflow_run', 'wrong event')
+ with open(os.environ['GITHUB_EVENT_PATH'], encoding='utf-8') as stream:
+ event = json.load(stream)
+ require(event.get('action') == 'completed', 'producer is not complete')
+ require(event.get('repository', {}).get('full_name') == 'storytold/vectorcraft', 'wrong event repository')
+ producer = event.get('workflow_run', {})
+ require(producer.get('head_repository', {}).get('full_name') == 'storytold/vectorcraft', 'foreign producer')
+ require(producer.get('path') == '.github/workflows/nightly.yml', 'wrong producer path')
+ require(producer.get('head_branch') == 'main', 'wrong producer branch')
+ require(producer.get('status') == 'completed' and producer.get('conclusion') == 'success', 'producer did not succeed')
+ # First scheduled attempt only; reviewed manual/re-run authority belongs to release policy.
+ require(producer.get('event') == 'schedule', 'not an automatic scheduled producer')
+ run_id, attempt = producer.get('id'), producer.get('run_attempt')
+ require(type(run_id) is int and run_id > 0, 'invalid producer run id')
+ require(type(attempt) is int and attempt == 1, 'invalid automatic producer attempt')
+ body = json.dumps({'ref': 'refs/heads/nightly-signer', 'inputs': {
+ 'producer_run_id': str(run_id), 'producer_run_attempt': str(attempt)
+ }}).encode('utf-8')
+ request = urllib.request.Request(
+ 'https://api.github.com/repos/storytold/vectorcraft/actions/workflows/nightly-sign.yml/dispatches',
+ data=body, method='POST', headers={
+ 'Authorization': 'Bearer ' + os.environ['GH_TOKEN'],
+ 'Accept': 'application/vnd.github+json',
+ 'Content-Type': 'application/json',
+ 'X-GitHub-Api-Version': '2022-11-28',
+ 'User-Agent': 'vectorcraft-nightly-dispatch'
+ })
+ class NoRedirect(urllib.request.HTTPRedirectHandler):
+ def redirect_request(self, req, fp, code, msg, headers, newurl):
+ raise RuntimeError('dispatch redirects are forbidden')
+ # One bounded request, no retry: duplicate transport is not publication authority.
+ with urllib.request.build_opener(NoRedirect()).open(request, timeout=20) as response:
+ require(response.status == 204, 'dispatch was not accepted')
+ print('Dispatched producer run/attempt to the release-ref validator; not a signing result.')
diff --git a/.github/workflows/nightly-macos.yml b/.github/workflows/nightly-macos.yml
new file mode 100644
index 0000000000..59536dcf36
--- /dev/null
+++ b/.github/workflows/nightly-macos.yml
@@ -0,0 +1,90 @@
+name: Nightly macOS build
+
+# Builds the unsigned Apple-silicon VectorCraft Nightly (packaging/macos/nightly.sh) on a hosted
+# macOS runner and checks the archive as the Launcher unpacks it, ending with the bundle's version
+# query (packaging/macos/nightly-verify.sh --expect unsigned). No secrets and no environment: the real
+# Nightly is signed and notarized by the shared release-ref signer (craft-common-actions), which calls
+# packaging/macos/nightly-sign.sh.
+on:
+ # macOS runners are shared with release builds and have a monthly minute cap: pull requests run
+ # this only with the `full-ci` label, never by changed paths. `labeled` so adding it starts a run.
+ pull_request:
+ types: [opened, synchronize, reopened, labeled]
+ workflow_dispatch:
+
+permissions:
+ contents: read
+
+# A newer push to a labelled PR cancels its older run. Any event that will not build (no `full-ci`
+# label, or another label added) gets a group of its own, so it never cancels a real build.
+concurrency:
+ group: nightly-macos-${{ github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'full-ci') && (github.event.action != 'labeled' || github.event.label.name == 'full-ci') && github.ref || github.run_id }}
+ cancel-in-progress: ${{ github.event_name == 'pull_request' }}
+
+jobs:
+ build:
+ name: Nightly .app (aarch64, unsigned)
+ if: >-
+ github.event_name == 'workflow_dispatch' ||
+ (contains(github.event.pull_request.labels.*.name, 'full-ci') &&
+ (github.event.action != 'labeled' || github.event.label.name == 'full-ci'))
+ runs-on: macos-15
+ timeout-minutes: 120
+ env:
+ CARGO_TERM_COLOR: always
+ CARGO_INCREMENTAL: 0
+ RUST_BACKTRACE: 1
+ steps:
+ - name: Harden runner
+ uses: step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a # v2.22.4
+ with:
+ egress-policy: audit
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+ with:
+ persist-credentials: false
+ fetch-depth: 0
+ # The release's pin (release.yml craft-fonts-ref), so the bundle's notices match a shipped build.
+ - name: Check out craft-fonts
+ uses: storytold/craft-common-actions/actions/checkout-craft-fonts@main
+ with:
+ ref: b076417b5880bd4154bd22f00695b1d28c6bea83
+ - id: rust
+ uses: storytold/craft-common-actions/actions/rust-channel@main
+ with:
+ targets: aarch64-apple-darwin
+ - uses: step-security/dtolnay-rust-toolchain@8dd607977d06adf4ed49b190381e74c17a9dd25f # v1.0.0
+ with:
+ toolchain: ${{ steps.rust.outputs.toolchain }}
+ targets: ${{ steps.rust.outputs.targets }}
+ components: ${{ steps.rust.outputs.components }}
+ # A version of the prepared Nightly form for this commit; the real one comes from the feed's
+ # identity job. Only nightly.sh's input checks read it.
+ - name: Prepare a Nightly identity for this commit
+ run: |
+ set -euo pipefail
+ base="$(python3 -c 'import tomllib; print(tomllib.load(open("Cargo.toml", "rb"))["workspace"]["package"]["version"].split("-")[0])')"
+ sha="$(git rev-parse HEAD)"
+ date="$(date -u +%Y-%m-%d)"
+ {
+ echo "VECTORCRAFT_BUILD_SHA=$sha"
+ echo "VECTORCRAFT_BUILD_DATE=$date"
+ echo "VECTORCRAFT_VERSION=$base-nightly.${date//-/}.$GITHUB_RUN_NUMBER.$GITHUB_RUN_ATTEMPT.g${sha:0:12}"
+ } >>"$GITHUB_ENV"
+ - name: Build the unsigned Nightly bundle
+ env:
+ VECTORCRAFT_BUILD_CHANNEL: nightly-v1
+ CARGO_TARGET_DIR: ${{ runner.temp }}/nightly-targets
+ DIST: ${{ runner.temp }}/nightly-dist
+ CRAFT_FONTS_DIR: ${{ github.workspace }}/craft-fonts
+ run: bash packaging/macos/nightly.sh --arch aarch64
+ - name: Check the archive and the bundle's version
+ run: bash packaging/macos/nightly-verify.sh --expect unsigned --input "$RUNNER_TEMP/nightly-dist/vectorcraft-$VECTORCRAFT_VERSION-macos-aarch64-nightly.zip"
+ # Keeps the verified unsigned zip briefly for keyless signer tests and hand testing. Unsigned only.
+ - name: Keep the unsigned archive
+ uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
+ with:
+ name: vectorcraft-nightly-macos-aarch64-unsigned
+ path: ${{ runner.temp }}/nightly-dist/vectorcraft-${{ env.VECTORCRAFT_VERSION }}-macos-aarch64-nightly.zip
+ if-no-files-found: error
+ retention-days: 7
+ compression-level: 0
diff --git a/.github/workflows/nightly-sign.yml b/.github/workflows/nightly-sign.yml
new file mode 100644
index 0000000000..6cc6f885a2
--- /dev/null
+++ b/.github/workflows/nightly-sign.yml
@@ -0,0 +1,59 @@
+name: VectorCraft release-ref nightly signer
+
+# Enabled for supervised manual dispatch on the dedicated nightly-signer branch, which only ever
+# fast-forwards to reviewed main commits (never the stable release branch).
+# A reusable callee does not change context; this must be a real top-level signer-branch dispatch.
+on:
+ workflow_dispatch:
+ inputs:
+ producer_run_id:
+ description: Exact untrusted producer Actions run ID
+ required: true
+ type: string
+ producer_run_attempt:
+ description: Exact untrusted producer Actions run attempt
+ required: true
+ type: string
+
+permissions: {}
+
+concurrency:
+ group: vectorcraft-nightly-release
+ cancel-in-progress: false
+
+jobs:
+ release:
+ # Actual context guards: official repository, manual dispatch, real nightly-signer branch.
+ if: >-
+ github.repository == 'storytold/vectorcraft' &&
+ github.event_name == 'workflow_dispatch' &&
+ github.ref == 'refs/heads/nightly-signer' && github.ref_type == 'branch'
+ permissions:
+ contents: write
+ actions: read
+ checks: read
+ attestations: write
+ id-token: write
+ uses: storytold/craft-common-actions/.github/workflows/nightly-release.yml@main
+ with:
+ tooling-revision: main
+ app-name: vectorcraft
+ producer_run_id: ${{ inputs.producer_run_id }}
+ producer_run_attempt: ${{ inputs.producer_run_attempt }}
+ secrets:
+ APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }}
+ APPLE_CERTIFICATE_PASSWORD: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }}
+ KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }}
+ APPLE_ID: ${{ secrets.APPLE_ID }}
+ APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
+ APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
+ AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
+ AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
+ AZURE_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }}
+ AZURE_SIGNING_ENDPOINT: ${{ secrets.AZURE_SIGNING_ENDPOINT }}
+ AZURE_SIGNING_ACCOUNT: ${{ secrets.AZURE_SIGNING_ACCOUNT }}
+ AZURE_CERT_PROFILE: ${{ secrets.AZURE_CERT_PROFILE }}
+ LINUX_SIGNING_KEY: ${{ secrets.LINUX_SIGNING_KEY }}
+ # No secrets: inherit or raw platform values in this caller. Only the isolated native
+ # callee job may bind the release environment and export its keys; that environment must
+ # admit nightly-signer alongside release before the first dispatch.
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml
new file mode 100644
index 0000000000..c2224a81ba
--- /dev/null
+++ b/.github/workflows/nightly.yml
@@ -0,0 +1,36 @@
+name: VectorCraft unsigned nightly
+
+# Automated daily nightly builds at 06:30 UTC, plus supervised manual runs by reviewed manual actors.
+on:
+ schedule:
+ - cron: '30 6 * * *'
+ workflow_dispatch:
+
+permissions:
+ contents: read
+
+jobs:
+ unsigned:
+ # Actual context guards only; no inherited/platform secrets.
+ if: >-
+ github.repository == 'storytold/vectorcraft' &&
+ github.ref == 'refs/heads/main' && github.ref_type == 'branch' &&
+ (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch')
+ # Maximum for the reusable workflow. Its compiler narrows to contents/actions read;
+ # no OIDC, attestation write, release environment or platform secrets in compilation.
+ permissions:
+ contents: read
+ actions: read
+ attestations: write
+ id-token: write
+ uses: storytold/craft-common-actions/.github/workflows/nightly-unsigned.yml@main
+ with:
+ tooling-revision: main
+ app-name: vectorcraft
+ manual-actors: '["bflatastic","dylanmtaylor","echelon","FredApps","skylartaylor"]'
+ craft-fonts-ref: b076417b5880bd4154bd22f00695b1d28c6bea83
+ # One producer run builds every listed platform for one all-or-nothing release. The pin is the
+ # craft-common-actions main commit that merged the exact-analysis admission (#371, after #370,
+ # #369 and #364).
+ platforms: '["windows-x86_64","linux-x86_64","macos-aarch64"]'
+ linux-package-formats: '["deb","rpm","appimage","flatpak","oci","arch"]'
diff --git a/.github/workflows/notify-services.yml b/.github/workflows/notify-services.yml
new file mode 100644
index 0000000000..3dc8eaf4ac
--- /dev/null
+++ b/.github/workflows/notify-services.yml
@@ -0,0 +1,20 @@
+name: Notify Services on Release Change
+
+on:
+ release:
+ types:
+ - published
+ - unpublished
+ - created
+ - edited
+ - deleted
+ - prereleased
+ - released
+
+permissions: {}
+
+jobs:
+ notify:
+ uses: storytold/craft-common-actions/.github/workflows/notify-services.yml@main
+ secrets:
+ ARTCRAFT_SERVICES_DISPATCH_TOKEN: ${{ secrets.ARTCRAFT_SERVICES_DISPATCH_TOKEN }}
diff --git a/.github/workflows/print.yml b/.github/workflows/print.yml
index 8cdaf0cb28..ac941b5098 100644
--- a/.github/workflows/print.yml
+++ b/.github/workflows/print.yml
@@ -7,9 +7,26 @@ on:
- "apps/vectorcraft/Cargo.toml"
- "apps/vectorcraft/src/printing.rs"
- "apps/vectorcraft/src/printing/**"
+ - "crates/ui-egui/Cargo.toml"
- "crates/ui-egui/src/print.rs"
- "crates/ui-egui/src/tests/printps.rs"
- ".github/workflows/print.yml"
+ # A push to main saves the Windows cache entry that pull requests restore.
+ push:
+ branches: [main]
+ paths:
+ - "Cargo.toml"
+ - "Cargo.lock"
+ - "apps/vectorcraft/Cargo.toml"
+ - "apps/vectorcraft/src/printing.rs"
+ - "apps/vectorcraft/src/printing/**"
+ - "crates/ui-egui/Cargo.toml"
+ - "crates/ui-egui/src/print.rs"
+ - "crates/ui-egui/src/tests/printps.rs"
+ - ".github/workflows/print.yml"
+ # A weekly run on main saves a fresh entry after a new stable Rust changes the cache key.
+ schedule:
+ - cron: "23 6 * * 1"
workflow_dispatch:
permissions:
contents: read
@@ -18,15 +35,14 @@ concurrency:
group: print-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
- # Desktop printing on Windows, through the suite's shared gate. Pull requests restore the cache
- # but never save one; a manual run on main saves the cache they restore.
+ # Desktop printing on Windows, through the suite's shared gate. Pushes to main, the weekly run and
+ # manual runs on main save the cache; pull requests restore it and never save one.
windows:
# Tracks @main so suite-wide CI fixes reach every app without a PR in each repository.
uses: storytold/craft-common-actions/.github/workflows/gate.yml@main
with:
os: '["windows-2022"]'
- # A change to Cargo.lock finds no cache (only main saves one) and builds everything cold:
- # about 55 minutes for `-p vectorcraft` alone, then the UI crate's tests.
+ # A run that finds no cache builds everything cold, which took 76 to 126 minutes.
timeout-minutes: 150
# As in ci.yml: test binaries without debug info or symbols, and workspace crates without
# line tables. A panic still names its file and line.
@@ -36,10 +52,14 @@ jobs:
craft-fonts-ref: ""
tools: ""
targets: ""
- # A filter that matches nothing still passes, so the printps run fails unless some test ran.
+ # Both test runs select the same two packages, so Cargo resolves features once and the
+ # second run reuses the first run's dependencies. The first runs every test of the app
+ # (`--bin vectorcraft --test it`), the second the UI crate's `tests::printps` tests. A filter
+ # that matches nothing still passes, so the printps run fails unless some test ran.
command: |
+ set -o pipefail
cargo clippy --locked -p vectorcraft --all-targets -- -D warnings
- cargo test --locked -p vectorcraft
+ cargo test --locked -p vectorcraft -p vectorcraft-ui-egui --bin vectorcraft --test it
log="$RUNNER_TEMP/printps.log"
- cargo test --locked -p vectorcraft-ui-egui --lib -- tests::printps | tee "$log"
+ cargo test --locked -p vectorcraft -p vectorcraft-ui-egui --lib -- tests::printps | tee "$log"
grep -Eq 'test result: ok\. [1-9][0-9]* passed' "$log" || { echo "::error::tests::printps matched no tests"; exit 1; }
diff --git a/.github/workflows/release-rpm-smoke.yml b/.github/workflows/release-rpm-smoke.yml
new file mode 100644
index 0000000000..61948e0f35
--- /dev/null
+++ b/.github/workflows/release-rpm-smoke.yml
@@ -0,0 +1,114 @@
+name: Release RPM smoke
+
+on:
+ workflow_dispatch:
+ inputs:
+ run-id:
+ description: Release run containing both RPM artifacts (empty selects the latest available pair)
+ type: string
+ default: ""
+ pull_request:
+ paths:
+ - .github/workflows/release-rpm-smoke.yml
+ - .github/scripts/release-rpm-smoke.py
+ - .github/scripts/tests/test_release_rpm_smoke.py
+
+permissions: {}
+
+jobs:
+ source:
+ permissions:
+ actions: read
+ runs-on: ubuntu-24.04
+ timeout-minutes: 5
+ outputs:
+ run-id: ${{ steps.source.outputs.run-id }}
+ steps:
+ - id: source
+ env:
+ GH_TOKEN: ${{ github.token }}
+ RUN_ID: ${{ inputs.run-id }}
+ run: |
+ candidates="$RUN_ID"
+ if [ -z "$candidates" ]; then
+ candidates=$(gh run list --repo "$GITHUB_REPOSITORY" --workflow release.yml --branch release --limit 10 --json databaseId --jq '.[].databaseId')
+ fi
+ for candidate in $candidates; do
+ [[ "$candidate" =~ ^[0-9]+$ ]]
+ names=$(gh api "repos/$GITHUB_REPOSITORY/actions/runs/$candidate/artifacts?per_page=100" --jq '.artifacts[] | select(.expired == false) | .name')
+ if grep -Fxq release-linux-x86_64 <<< "$names" && grep -Fxq release-linux-aarch64 <<< "$names"; then
+ printf 'run-id=%s\n' "$candidate" >> "$GITHUB_OUTPUT"
+ exit 0
+ fi
+ done
+ echo '::error::No release run has both Linux package artifacts available'
+ exit 1
+ smoke:
+ permissions:
+ contents: read
+ actions: read
+ needs: source
+ timeout-minutes: 25
+ strategy:
+ fail-fast: false
+ matrix:
+ platform:
+ - {arch: x86_64, runner: ubuntu-24.04}
+ - {arch: aarch64, runner: ubuntu-24.04-arm}
+ distro: [fedora, rocky, opensuse]
+ runs-on: ${{ matrix.platform.runner }}
+ steps:
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
+ with:
+ persist-credentials: false
+ - name: Download the release packages
+ env:
+ GH_TOKEN: ${{ github.token }}
+ RUN_ID: ${{ needs.source.outputs.run-id }}
+ ARCH: ${{ matrix.platform.arch }}
+ run: |
+ [[ "$RUN_ID" =~ ^[0-9]+$ ]]
+ mkdir -p packages results
+ gh run view "$RUN_ID" --json headSha,url > results/source.json
+ gh run download "$RUN_ID" --name "release-linux-$ARCH" --dir packages
+ sha256sum packages/*.rpm > results/rpm-sha256.txt
+ - name: Install and start the RPM on the target distribution
+ env:
+ DISTRO: ${{ matrix.distro }}
+ run: |
+ sudo apt-get update -qq
+ sudo apt-get install -y xvfb
+ Xvfb :99 -screen 0 1440x900x24 -ac -nolisten tcp > results/xvfb.log 2>&1 &
+ for _attempt in {1..20}; do
+ [ -S /tmp/.X11-unix/X99 ] && break
+ sleep 1
+ done
+ [ -S /tmp/.X11-unix/X99 ]
+ case "$DISTRO" in
+ fedora) image=fedora:latest ;;
+ rocky) image=rockylinux:10 ;;
+ opensuse) image=opensuse/tumbleweed:latest ;;
+ esac
+ docker pull "$image"
+ docker image inspect "$image" --format '{{json .RepoDigests}}' > results/container-digest.json
+ docker run --rm --ipc=host --name rpm-smoke -e DISTRO -e DISPLAY=:99 -e LIBGL_ALWAYS_SOFTWARE=1 \
+ -v /tmp/.X11-unix:/tmp/.X11-unix:ro -v "$PWD/packages:/packages:ro" \
+ -v "$PWD/results:/results" -v "$PWD/.github/scripts:/checks:ro" "$image" bash -euc '
+ cat /etc/os-release > /results/os-release.txt
+ if [ "$DISTRO" = opensuse ]; then
+ zypper --non-interactive refresh
+ zypper --non-interactive install python3 Mesa-dri Mesa-libEGL1 libX11-6 libXcursor1 libXi6 libXrandr2 libxkbcommon0 libxkbcommon-x11-0
+ zypper --non-interactive --no-gpg-checks install /packages/*.rpm
+ else
+ dnf -y install python3 mesa-dri-drivers mesa-libEGL libX11 libXcursor libXi libXrandr libxkbcommon libxkbcommon-x11
+ dnf -y --nogpgcheck install /packages/*.rpm
+ fi
+ rpm -qp --requires /packages/*.rpm > /results/rpm-requires.txt
+ python3 /checks/release-rpm-smoke.py
+ '
+ - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9
+ if: always()
+ with:
+ name: rpm-smoke-${{ matrix.distro }}-${{ matrix.platform.arch }}
+ path: results/
+ if-no-files-found: error
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 226830fc1b..ea3bf92583 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -42,6 +42,8 @@ jobs:
dry-run: ${{ github.event_name == 'schedule' }}
app-name: vectorcraft
app-title: VectorCraft
+ macos-runner: macos-15
+ macos-split-build: true
craft-fonts-ref: b076417b5880bd4154bd22f00695b1d28c6bea83
web-craft-fonts: true
version: ${{ inputs.version }}
diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml
index 90cf166ed7..98e9c1d00a 100644
--- a/.github/workflows/sonarcloud.yml
+++ b/.github/workflows/sonarcloud.yml
@@ -1,6 +1,7 @@
name: SonarCloud
on:
+ workflow_dispatch:
push:
branches: [main]
pull_request:
@@ -10,7 +11,7 @@ permissions:
contents: read
concurrency:
- group: sonarcloud-${{ github.ref }}
+ group: ${{ github.ref == 'refs/heads/main' && format('sonarcloud-main-{0}', github.sha) || format('sonarcloud-{0}', github.ref) }}
# A push to main is the run that publishes coverage; superseded runs there would never finish.
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
@@ -20,4 +21,7 @@ jobs:
# The reusable workflow defaults build-jobs to 2 so a cold instrumented
# archive stays within hosted-runner memory (craft-common-actions#333).
uses: storytold/craft-common-actions/.github/workflows/sonarcloud.yml@main
+ with:
+ python-coverage-source: .github/scripts
+ python-coverage-script: .github/scripts/tests/test_release_rpm_smoke.py
secrets: inherit
diff --git a/.gitignore b/.gitignore
index 8c493ff12b..ee97af30f7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,10 @@ plan/
.DS_Store
# A craft-fonts checkout for CRAFT_FONTS_DIR (CI and release workflows check it out here)
/craft-fonts
+# The Python packaging helpers' bytecode: `nightly-archive.py` imports `nightly_paths`, and the
+# producer's clean-tree check runs after a local packaging run would have written it.
+__pycache__/
+# The shared nightly workflow's scratch checkouts and inputs: the producer requires a clean tree.
+/.nightly-tools
+/.nightly-input
+/craft-i18n
diff --git a/ASSETS.md b/ASSETS.md
index a483174dc1..03f33d9a6e 100644
--- a/ASSETS.md
+++ b/ASSETS.md
@@ -16,6 +16,15 @@
| `crates/text/patterns/hyph-or.tex` | Santhosh Thottingal | https://github.com/hyphenation/tex-hyphen/blob/5684c0f51c0b81133db2efbe60a408b4155a3ff5/hyph-utf8/tex/generic/hyph-utf8/patterns/tex/hyph-or.tex | MIT (selected option) | Unmodified; full license in file |
| `crates/text/patterns/hyph-as.tex` | Santhosh Thottingal | https://github.com/hyphenation/tex-hyphen/blob/5684c0f51c0b81133db2efbe60a408b4155a3ff5/hyph-utf8/tex/generic/hyph-utf8/patterns/tex/hyph-as.tex | MIT (selected option) | Unmodified; full license in file |
+## Printing-condition characterization data
+
+Fogra's terms (https://fogra.org/en/downloads/work-tools/characterisation-data): "Free use and redistribution of the Fogra characterisation data is permitted, including redistribution as part of commercial and non-commercial software, provided that the data are distributed unmodified and Fogra is identified as the source. The designation FOGRAxx may be used solely to identify the respective reference data. Such use does not imply certification, approval or endorsement by Fogra." VectorCraft computes its Coated CMYK (FOGRA51) and Uncoated CMYK (FOGRA52) working spaces from these files at run time; the files themselves are not changed.
+
+| Asset | Author | Source | Licence | Notes |
+|---|---|---|---|---|
+| `crates/color/data/FOGRA51.txt` | Fogra Forschungsgesellschaft Druck e.V. (www.fogra.org) | https://fogra.org/fileadmin/files/7_downloads/Charakterisierungsdaten/F51-52.zip | Fogra characterization data terms (above): redistribution of the unmodified data with Fogra named as the source | Unmodified, byte for byte (SHA-256 `ad472a1c0bdafd558597ff93eeda5175805086565af814cb6346e910e2f25aa5`, checked by a test) |
+| `crates/color/data/FOGRA52.txt` | Fogra Forschungsgesellschaft Druck e.V. (www.fogra.org) | https://fogra.org/fileadmin/files/7_downloads/Charakterisierungsdaten/F51-52.zip | Fogra characterization data terms (above): redistribution of the unmodified data with Fogra named as the source | Unmodified, byte for byte (SHA-256 `be4f0732328ed62ade63ec7f317d3b9e9dad6bbe2430fefddaf0f901d5ba13d6`, checked by a test) |
+
Every non-code asset in this repository (icons, images, fonts, example art, colour profiles, presets) is listed here with its author, source and licence. `cargo xtask assets` (part of `cargo xtask ci`) fails if an asset file is missing from this table.
**Policy (mandatory):** VectorCraft contains **no Adobe iconography, images, artwork, presets, swatch/brush/symbol/pattern libraries or ICC profiles**. Every asset is either original work by VectorCraft contributors, or third-party material under an open licence (OSI open source, public domain / CC0, or Creative Commons that allows redistribution), and it is attributed below. Screenshots of Adobe software are never committed. The one exception is the ArtCraft name, wordmark and logos in `docs/brand/`: ArtCraft trademarks, not open source, usable only under [`docs/brand/LICENSE-brand.txt`](docs/brand/LICENSE-brand.txt).
@@ -24,7 +33,7 @@ Generated-in-code art is original and has no file to list. This covers the defau
**Font files are never committed here.** Fonts shared by the Crafting Apps live in [storytold/craft-fonts](https://github.com/storytold/craft-fonts). The small Latin UI/document fonts below predate that rule and stay.
-**Optional build input: craft-fonts.** Builds made with `CRAFT_FONTS_DIR=` (all official releases) embed the Japanese fonts listed in its [`ATTRIBUTION.md`](https://github.com/storytold/craft-fonts/blob/main/ATTRIBUTION.md): BIZ UDPGothic Regular and Bold, Shippori Mincho Regular and BIZ UDMincho Regular (web builds: BIZ UDPGothic Regular only), all under the SIL Open Font License 1.1. They are not files in this repository; release packages carry each one's `OFL-.txt`. Builds without `CRAFT_FONTS_DIR` embed none of them.
+**Optional build input: craft-fonts.** Builds made with `CRAFT_FONTS_DIR=` (all official releases) embed the Japanese fonts listed in its [`ATTRIBUTION.md`](https://github.com/storytold/craft-fonts/blob/main/ATTRIBUTION.md): BIZ UDPGothic Regular and Bold, Shippori Mincho Regular and BIZ UDMincho Regular (web builds: BIZ UDPGothic Regular only), all under the SIL Open Font License 1.1. They are not files in this repository; release packages carry each one's `OFL-.txt`. Builds without `CRAFT_FONTS_DIR` embed none of them. Desktop builds with a checkout whose opt-in `fonts/latin-manifest.txt` lists Noto Sans Condensed SemiBold (The Noto Project Authors, SIL Open Font License 1.1, from the [notofonts/latin-greek-cyrillic NotoSans-v2.015 release](https://github.com/notofonts/latin-greek-cyrillic/releases/tag/NotoSans-v2.015)) also embed that face, for document tab titles.
| Asset | Author | Source | Licence | Notes |
|---|---|---|---|---|
@@ -51,6 +60,10 @@ Generated-in-code art is original and has no file to list. This covers the defau
| `assets/app-icon/hicolor/scalable/apps/ai.storyteller.vectorcraft.svg` | Project owner (ArtCraft team) | Original artwork drawn in ArtCraft for VectorCraft, vectorised and rendered by `packaging/icons.sh` | MIT OR Apache-2.0 (`assets/app-icon/LICENSE.txt`) | App icon (engraved dragon) |
| `assets/app-icon/vectorcraft-1024.png` | Project owner (ArtCraft team) | Original artwork drawn in ArtCraft for VectorCraft, vectorised and rendered by `packaging/icons.sh` | MIT OR Apache-2.0 (`assets/app-icon/LICENSE.txt`) | App icon (engraved dragon) |
| `assets/app-icon/vectorcraft-macos-512.png` | Project owner (ArtCraft team) | Original artwork drawn in ArtCraft for VectorCraft, vectorised and rendered by `packaging/icons.sh` | MIT OR Apache-2.0 (`assets/app-icon/LICENSE.txt`) | App icon (engraved dragon) |
+| `assets/app-icon/vectorcraft-nightly-1024.png` | Project owner (ArtCraft team) | Recoloured from the stable app tile by `packaging/nightly-icons.py`, original artwork drawn in ArtCraft for VectorCraft | MIT OR Apache-2.0 (`assets/app-icon/LICENSE.txt`) | Nightly `.app` master: the full tile with Apple's margin, 1024 px |
+| `assets/app-icon/vectorcraft-nightly.icns` | Project owner (ArtCraft team) | Recoloured from the stable app tile by `packaging/nightly-icons.py`, original artwork drawn in ArtCraft for VectorCraft | MIT OR Apache-2.0 (`assets/app-icon/LICENSE.txt`) | Nightly macOS icon set, 16 to 1024 px |
+| `assets/app-icon/vectorcraft-nightly.ico` | Project owner (ArtCraft team) | Recoloured from the stable app tile by `packaging/nightly-icons.py`, original artwork drawn in ArtCraft for VectorCraft | MIT OR Apache-2.0 (`assets/app-icon/LICENSE.txt`) | Nightly Windows icons, 16 to 256 px |
+| `assets/app-icon/vectorcraft-nightly.png` | Project owner (ArtCraft team) | Recoloured from the stable app tile by `packaging/nightly-icons.py`, original artwork drawn in ArtCraft for VectorCraft | MIT OR Apache-2.0 (`assets/app-icon/LICENSE.txt`) | Nightly feed art and window icon, 1024 px |
| `assets/app-icon/vectorcraft-small.svg` | Project owner (ArtCraft team) | Original artwork drawn in ArtCraft for VectorCraft, vectorised and rendered by `packaging/icons.sh` | MIT OR Apache-2.0 (`assets/app-icon/LICENSE.txt`) | App icon (engraved dragon) |
| `assets/app-icon/vectorcraft.icns` | Project owner (ArtCraft team) | Original artwork drawn in ArtCraft for VectorCraft, vectorised and rendered by `packaging/icons.sh` | MIT OR Apache-2.0 (`assets/app-icon/LICENSE.txt`) | App icon (engraved dragon) |
| `assets/app-icon/vectorcraft.ico` | Project owner (ArtCraft team) | Original artwork drawn in ArtCraft for VectorCraft, vectorised and rendered by `packaging/icons.sh` | MIT OR Apache-2.0 (`assets/app-icon/LICENSE.txt`) | App icon (engraved dragon) |
@@ -137,14 +150,18 @@ Generated-in-code art is original and has no file to list. This covers the defau
| `assets/icons/dc-arrow-down.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-arrow-extend.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-arrow-fill.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | The Selection and Direct Selection arrows' fill, painted black or white under their outline |
+| `assets/icons/dc-arrow-left.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
+| `assets/icons/dc-arrow-right.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-arrow-tip.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-arrow-up.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
+| `assets/icons/dc-artboard.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-artboard-options.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-artboards.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-blend.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-blend-align-page.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-blend-align-path.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-bloat.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
+| `assets/icons/dc-blob-brush.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-cap-butt.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-cap-round.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-cap-square.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
@@ -154,6 +171,7 @@ Generated-in-code art is original and has no file to list. This covers the defau
| `assets/icons/dc-clear.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-color-guide.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-contour.svg` | VectorCraft contributors | Original work, drawn for VectorCraft (a solid rounded square inside four corner arcs, its offset outline); not derived from any other application's icon | MIT OR Apache-2.0 | |
+| `assets/icons/dc-corner-tool.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-crystallize.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-cube.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-curvature-circle.svg` | VectorCraft contributors | Original work, drawn for VectorCraft (an arch with the circle that touches it at its top, and that circle's center) | MIT OR Apache-2.0 | |
@@ -194,15 +212,29 @@ Generated-in-code art is original and has no file to list. This covers the defau
| `assets/icons/dc-grad-stroke-along.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-grad-stroke-within.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-gradient.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
+| `assets/icons/dc-graph-area.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
+| `assets/icons/dc-graph-bar.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
+| `assets/icons/dc-graph-column.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
+| `assets/icons/dc-graph-line.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
+| `assets/icons/dc-graph-pie.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
+| `assets/icons/dc-graph-radar.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
+| `assets/icons/dc-graph-scatter.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
+| `assets/icons/dc-graph-stacked-bar.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
+| `assets/icons/dc-graph-stacked-column.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-graphic-styles.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-grid-view.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-group-select.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
+| `assets/icons/dc-guide-horizontal.svg` | VectorCraft contributors | Original work, drawn for VectorCraft (a ruler down the left with a line across) | MIT OR Apache-2.0 | |
+| `assets/icons/dc-guide-vertical.svg` | VectorCraft contributors | Original work, drawn for VectorCraft (a ruler along the top with a line down) | MIT OR Apache-2.0 | |
| `assets/icons/dc-help.svg` | VectorCraft contributors | Original work, drawn for VectorCraft (a question mark in a circle) | MIT OR Apache-2.0 | |
| `assets/icons/dc-join-bevel.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-join-miter.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-join-round.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-join.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-knife.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
+| `assets/icons/dc-lasso-enclosing.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
+| `assets/icons/dc-lasso-polygonal.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
+| `assets/icons/dc-lasso.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-line-cut.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-line.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-list-view.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
@@ -210,6 +242,7 @@ Generated-in-code art is original and has no file to list. This covers the defau
| `assets/icons/dc-live-select.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-mask-none.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-measure.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
+| `assets/icons/dc-measure-inspect.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-mesh.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-mirror-cut.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-new-fill.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
@@ -228,8 +261,10 @@ Generated-in-code art is original and has no file to list. This covers the defau
| `assets/icons/dc-para-numbers.svg` | VectorCraft contributors | Original work, drawn for VectorCraft: the digits 1, 2 and 3, each before a line | MIT OR Apache-2.0 | |
| `assets/icons/dc-para-right.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-para-rtl.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
+| `assets/icons/dc-parametric-shape.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-path-eraser.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-pathfinder.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
+| `assets/icons/dc-perspective-select.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-perspective.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-pf-crop.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-pf-divide.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
@@ -244,26 +279,38 @@ Generated-in-code art is original and has no file to list. This covers the defau
| `assets/icons/dc-place-symbol.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-polar-grid.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-polygon.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
+| `assets/icons/dc-print-tiling.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-pucker.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-puppet.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-quick-pen.svg` | VectorCraft contributors | Original work, drawn for VectorCraft (a line and a half circle with a dot at each point) | MIT OR Apache-2.0 | |
| `assets/icons/dc-rearrange.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
+| `assets/icons/dc-recolor-arrow.svg` | VectorCraft contributors | Original work, drawn for VectorCraft (a right arrow, a Recolor Artwork row that is recolored) | MIT OR Apache-2.0 | |
+| `assets/icons/dc-recolor-arrow-off.svg` | VectorCraft contributors | Original work, drawn for VectorCraft (a dashed line without a head, a Recolor Artwork row that is excluded) | MIT OR Apache-2.0 | |
+| `assets/icons/dc-rect.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-rect-cut.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-rect-grid.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-reference-point.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-remove-brush.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-reshape.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-reverse.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
+| `assets/icons/dc-rotate.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-rotate-view.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-rounded-rect.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-rule-evenodd.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-rule-nonzero.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
+| `assets/icons/dc-scale.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-scallop.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-screen-mode.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-selection.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-shape-builder.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
+| `assets/icons/dc-shaper.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
+| `assets/icons/dc-shared-edge.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-shear.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
+| `assets/icons/dc-slice-select.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
+| `assets/icons/dc-slice.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
+| `assets/icons/dc-slide-anchor.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-smooth.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
+| `assets/icons/dc-spiral.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-stroke-center.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-stroke-inside.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-stroke-outside.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
@@ -273,7 +320,15 @@ Generated-in-code art is original and has no file to list. This covers the defau
| `assets/icons/dc-swatch-kinds.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-swatch-process.svg` | VectorCraft contributors | Original work, drawn for VectorCraft (a square, a process color) | MIT OR Apache-2.0 | |
| `assets/icons/dc-swatch-spot.svg` | VectorCraft contributors | Original work, drawn for VectorCraft (a dot in a ring, a spot color) | MIT OR Apache-2.0 | |
+| `assets/icons/dc-symbol-screener.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
+| `assets/icons/dc-symbol-scruncher.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
+| `assets/icons/dc-symbol-shifter.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
+| `assets/icons/dc-symbol-sizer.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
+| `assets/icons/dc-symbol-spinner.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-symbol-sprayer.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
+| `assets/icons/dc-symbol-stainer.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
+| `assets/icons/dc-symbol-styler.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
+| `assets/icons/dc-tangent-circle.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-touch-type.svg` | VectorCraft contributors (designed by ham9zah) | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-transform-panel.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-transparency.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
@@ -284,6 +339,7 @@ Generated-in-code art is original and has no file to list. This covers the defau
| `assets/icons/dc-type-vertical.svg` | VectorCraft contributors (designed by ham9zah) | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-type-vertical-area.svg` | VectorCraft contributors (designed by ham9zah) | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-type-vertical-path.svg` | VectorCraft contributors (designed by ham9zah) | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
+| `assets/icons/dc-warp.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-width-profile.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-width.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
| `assets/icons/dc-wrinkle.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
diff --git a/Cargo.lock b/Cargo.lock
index fcb4e425de..170ad40f3d 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -123,10 +123,21 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0"
dependencies = [
"cfg-if",
- "cipher",
+ "cipher 0.4.4",
"cpufeatures 0.2.17",
]
+[[package]]
+name = "aes"
+version = "0.9.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fc0fc36d7440d015b45468ba08a21e80e056ebbd014c611c6298bb7503e04bd1"
+dependencies = [
+ "cipher 0.5.2",
+ "cpubits",
+ "cpufeatures 0.3.1",
+]
+
[[package]]
name = "ahash"
version = "0.8.12"
@@ -247,6 +258,17 @@ version = "1.0.104"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "330a5ed07fa54e4702c9d6c4174f74427fc0ef6e214bbd677ae50a5099946470"
+[[package]]
+name = "apple-native-keyring-store"
+version = "1.0.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "02e465454e78fda6f7cd9dab7eb47518ca28c59b1bc392ca865af61452741dd3"
+dependencies = [
+ "keyring-core",
+ "log",
+ "security-framework",
+]
+
[[package]]
name = "arboard"
version = "3.7.0"
@@ -592,10 +614,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06"
[[package]]
-name = "block"
-version = "0.1.6"
+name = "blake3"
+version = "1.8.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0d8c1fef690941d3e7788d328517591fecc684c084084702d6ff1641e993699a"
+checksum = "64c0e36294adc8db531500e3f2b8ec75c4af9177271e9c6d33f93609d56e57cd"
+dependencies = [
+ "arrayvec",
+ "cc",
+ "cfg-if",
+ "constant_time_eq",
+ "cpufeatures 0.3.1",
+]
[[package]]
name = "block-buffer"
@@ -606,6 +635,24 @@ dependencies = [
"generic-array",
]
+[[package]]
+name = "block-buffer"
+version = "0.12.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d2f6c7dbe95a6ed67ad9f18e57daf93a2f034c524b99fd2b76d18fdfeb6660aa"
+dependencies = [
+ "hybrid-array",
+]
+
+[[package]]
+name = "block-padding"
+version = "0.4.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "710f1dd022ef4e93f8a438b4ba958de7f64308434fa6a87104481645cc30068b"
+dependencies = [
+ "hybrid-array",
+]
+
[[package]]
name = "block2"
version = "0.5.1"
@@ -672,6 +719,17 @@ dependencies = [
"brotli-decompressor 5.0.3",
]
+[[package]]
+name = "brotli"
+version = "9.1.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9071f285ed78f04f37d675abaaef5de7689e2f30a216c8dc6795465d81910a13"
+dependencies = [
+ "alloc-no-stdlib 3.0.0",
+ "alloc-stdlib 0.3.0",
+ "brotli-decompressor 6.3.2",
+]
+
[[package]]
name = "brotli-decompressor"
version = "5.0.3"
@@ -718,6 +776,12 @@ dependencies = [
"syn 3.0.9",
]
+[[package]]
+name = "byteorder"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
+
[[package]]
name = "byteorder-lite"
version = "0.1.0"
@@ -808,6 +872,15 @@ dependencies = [
"winx",
]
+[[package]]
+name = "cbc"
+version = "0.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ce2dc9ee5f88d11e0beb842c88b33c8a5cf0d1329c4b19494af42b07dbfe8896"
+dependencies = [
+ "cipher 0.5.2",
+]
+
[[package]]
name = "cc"
version = "1.9.0"
@@ -902,8 +975,18 @@ version = "0.4.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad"
dependencies = [
- "crypto-common",
- "inout",
+ "crypto-common 0.1.7",
+ "inout 0.1.4",
+]
+
+[[package]]
+name = "cipher"
+version = "0.5.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e8cf2a2c93cd704877c0858356ed03480ff301ee950b43f1cbe4573b088bfa6c"
+dependencies = [
+ "crypto-common 0.2.2",
+ "inout 0.2.6",
]
[[package]]
@@ -935,6 +1018,12 @@ dependencies = [
"cc",
]
+[[package]]
+name = "cmov"
+version = "0.5.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0c9ea0ac24bc397ab3c98583a3c9ba74fa56b09a4449bbe172b9b1ddb016027a"
+
[[package]]
name = "cmpv2"
version = "0.2.0"
@@ -953,7 +1042,7 @@ version = "0.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7b77c319abfd5219629c45c34c89ba945ed3c5e49fcde9d16b6c3885f118a730"
dependencies = [
- "const-oid",
+ "const-oid 0.9.6",
"der",
"spki",
"x509-cert",
@@ -1029,6 +1118,21 @@ version = "0.9.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8"
+[[package]]
+name = "const-oid"
+version = "0.10.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "be95d4a884358a21a199689323c29e9256b4a1b315e22f183d155422041d3a9a"
+
+[[package]]
+name = "constant_time_eq"
+version = "0.6.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "144e7f1de087984240b7816d47f698b414979faa6f40839c5b86d6bd47db57b7"
+dependencies = [
+ "rustversion",
+]
+
[[package]]
name = "cookie-factory"
version = "0.3.3"
@@ -1085,19 +1189,6 @@ dependencies = [
"libc",
]
-[[package]]
-name = "core-graphics2"
-version = "0.6.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5b65858d95344d2711161cd92196732f67d6c5fea238cf12f994584828731a5c"
-dependencies = [
- "bitflags 2.13.2",
- "block",
- "cfg-if",
- "core-foundation 0.10.1",
- "libc",
-]
-
[[package]]
name = "core_detect"
version = "1.0.0"
@@ -1113,6 +1204,12 @@ dependencies = [
"libm",
]
+[[package]]
+name = "cpubits"
+version = "0.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "15b85f9c39137c3a891689859392b1bd49812121d0d61c9caf00d46ed5ce06ae"
+
[[package]]
name = "cpufeatures"
version = "0.2.17"
@@ -1134,7 +1231,7 @@ dependencies = [
[[package]]
name = "craft"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"craft-automation",
"craft-behavior",
@@ -1175,7 +1272,7 @@ dependencies = [
[[package]]
name = "craft-affinity"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"crc32fast",
"flate2",
@@ -1186,17 +1283,19 @@ dependencies = [
[[package]]
name = "craft-appkit"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"block2 0.6.2",
+ "objc2 0.6.5",
"objc2-app-kit 0.3.2",
+ "objc2-core-graphics",
"objc2-foundation 0.3.2",
]
[[package]]
name = "craft-atomic"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"rustix 1.1.6",
]
@@ -1204,7 +1303,7 @@ dependencies = [
[[package]]
name = "craft-automation"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"base64 0.23.1",
"craft-behavior",
@@ -1216,12 +1315,12 @@ dependencies = [
"craft-ui",
"egui",
"getrandom 0.3.4",
- "hmac",
+ "hmac 0.12.1",
"log",
"png 0.17.16",
"serde",
"serde_json",
- "sha2",
+ "sha2 0.10.9",
"thiserror 2.0.21",
"web-time",
]
@@ -1229,7 +1328,7 @@ dependencies = [
[[package]]
name = "craft-behavior"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"accesskit",
"bitflags 2.13.2",
@@ -1247,7 +1346,7 @@ dependencies = [
[[package]]
name = "craft-browse"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"craft-behavior",
"craft-docpath",
@@ -1265,7 +1364,7 @@ dependencies = [
[[package]]
name = "craft-cdr"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"crc32fast",
"flate2",
@@ -1274,7 +1373,7 @@ dependencies = [
[[package]]
name = "craft-cloud-ui"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"egui",
]
@@ -1282,7 +1381,7 @@ dependencies = [
[[package]]
name = "craft-cms"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"md-5",
"rayon",
@@ -1291,12 +1390,12 @@ dependencies = [
[[package]]
name = "craft-codepage"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
[[package]]
name = "craft-color-ui"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"craft-behavior",
"craft-cms",
@@ -1316,17 +1415,28 @@ dependencies = [
[[package]]
name = "craft-control"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
- "getrandom 0.3.4",
+ "craft-control-protocol",
+ "craft-platform",
"serde",
"serde_json",
]
+[[package]]
+name = "craft-control-protocol"
+version = "0.1.0"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
+dependencies = [
+ "getrandom 0.3.4",
+ "serde_json",
+ "subtle",
+]
+
[[package]]
name = "craft-dds"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"rayon",
]
@@ -1334,9 +1444,10 @@ dependencies = [
[[package]]
name = "craft-dialogs"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"block2 0.6.2",
+ "craft-appkit",
"craft-atomic",
"craft-behavior",
"craft-browse",
@@ -1356,10 +1467,26 @@ dependencies = [
"zbus",
]
+[[package]]
+name = "craft-doc"
+version = "0.1.0"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
+dependencies = [
+ "blake3",
+ "craft-ecproj-format",
+ "craft-pcraft-format",
+ "craft-vectorcraft-format",
+ "flate2",
+ "ruzstd",
+ "serde",
+ "serde_json",
+ "thiserror 2.0.21",
+]
+
[[package]]
name = "craft-docpath"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"serde",
]
@@ -1367,7 +1494,7 @@ dependencies = [
[[package]]
name = "craft-draw"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"craft-behavior",
"craft-color-ui",
@@ -1386,7 +1513,7 @@ dependencies = [
[[package]]
name = "craft-dxf"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"craft-codepage",
"encoding_rs",
@@ -1395,15 +1522,25 @@ dependencies = [
"thiserror 2.0.21",
]
+[[package]]
+name = "craft-ecproj-format"
+version = "0.1.0"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
+dependencies = [
+ "serde",
+ "serde_json",
+ "thiserror 2.0.21",
+]
+
[[package]]
name = "craft-eps"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
[[package]]
name = "craft-font-catalog"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"fontique",
"harfrust 0.13.3",
@@ -1418,7 +1555,7 @@ dependencies = [
[[package]]
name = "craft-font-manager"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"craft-behavior",
"craft-font-catalog",
@@ -1431,39 +1568,50 @@ dependencies = [
"egui",
"log",
"serde",
- "skrifa 0.44.0",
+ "skrifa 0.47.0",
+]
+
+[[package]]
+name = "craft-font-os-windows"
+version = "0.1.0"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
+dependencies = [
+ "windows-registry",
+ "windows-sys 0.61.2",
]
[[package]]
name = "craft-font-store"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"cap-primitives",
"craft-atomic",
"craft-font-catalog",
+ "craft-font-os-windows",
"flate2",
"log",
"ruzstd",
"serde",
"serde_json",
- "sha2",
+ "sha2 0.10.9",
"skrifa 0.47.0",
"tar",
"thiserror 2.0.21",
"toml",
"ureq",
+ "wuff",
]
[[package]]
name = "craft-fonts-build"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
[[package]]
name = "craft-gif"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"gif",
]
@@ -1471,7 +1619,7 @@ dependencies = [
[[package]]
name = "craft-gzip"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"flate2",
]
@@ -1479,7 +1627,7 @@ dependencies = [
[[package]]
name = "craft-host"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"bitflags 2.13.2",
"craft-i18n",
@@ -1492,8 +1640,10 @@ dependencies = [
[[package]]
name = "craft-i18n"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
+ "brotli 9.1.3",
+ "brotli-decompressor 6.3.2",
"chrono",
"fixed_decimal",
"icu_calendar",
@@ -1520,7 +1670,7 @@ dependencies = [
[[package]]
name = "craft-image-codecs"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"craft-dds",
"craft-jpeg",
@@ -1533,7 +1683,7 @@ dependencies = [
"hayro-jpeg2000",
"image",
"image-webp",
- "jpeg-encoder",
+ "jpeg-encoder 0.7.1",
"png 0.18.1",
"rayon",
"serde_json",
@@ -1547,7 +1697,7 @@ dependencies = [
[[package]]
name = "craft-imaging"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"craft-behavior",
"craft-color-ui",
@@ -1565,7 +1715,7 @@ dependencies = [
[[package]]
name = "craft-jpeg"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"thiserror 2.0.21",
]
@@ -1573,7 +1723,7 @@ dependencies = [
[[package]]
name = "craft-jxl"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"brotli-decompressor 5.0.3",
"jixel",
@@ -1584,7 +1734,7 @@ dependencies = [
[[package]]
name = "craft-keymap"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"craft-host",
"craft-i18n",
@@ -1599,7 +1749,7 @@ dependencies = [
[[package]]
name = "craft-layers"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"craft-behavior",
"craft-i18n",
@@ -1613,7 +1763,7 @@ dependencies = [
[[package]]
name = "craft-menu"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"craft-behavior",
"craft-host",
@@ -1631,7 +1781,7 @@ dependencies = [
[[package]]
name = "craft-metadata"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"brotli-decompressor 6.3.2",
"chrono",
@@ -1643,7 +1793,7 @@ dependencies = [
[[package]]
name = "craft-metafile"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"encoding_rs",
"image",
@@ -1654,17 +1804,26 @@ dependencies = [
[[package]]
name = "craft-mime"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"chrono",
"craft-codepage",
"encoding_rs",
]
+[[package]]
+name = "craft-nightly"
+version = "0.1.0"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
+dependencies = [
+ "uds_windows",
+ "winsafe",
+]
+
[[package]]
name = "craft-pages"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"craft-behavior",
"craft-keymap",
@@ -1677,10 +1836,21 @@ dependencies = [
"serde_json",
]
+[[package]]
+name = "craft-pcraft-format"
+version = "0.1.0"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
+dependencies = [
+ "flate2",
+ "serde",
+ "serde_json",
+ "thiserror 2.0.21",
+]
+
[[package]]
name = "craft-pdf"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"hayro-interpret",
"hayro-syntax",
@@ -1692,12 +1862,12 @@ dependencies = [
[[package]]
name = "craft-platform"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"async-channel",
"async-io",
"async-process",
- "core-graphics2",
+ "craft-appkit",
"craft-atomic",
"craft-docpath",
"craft-host",
@@ -1707,6 +1877,8 @@ dependencies = [
"js-sys",
"log",
"objc2-app-kit 0.3.2",
+ "objc2-core-foundation",
+ "objc2-core-graphics",
"rfd",
"serde",
"serde_json",
@@ -1723,7 +1895,7 @@ dependencies = [
[[package]]
name = "craft-plotter"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"kurbo 0.13.1",
"thiserror 2.0.21",
@@ -1732,7 +1904,7 @@ dependencies = [
[[package]]
name = "craft-print"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"craft-behavior",
"craft-host",
@@ -1756,7 +1928,7 @@ dependencies = [
[[package]]
name = "craft-proof"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"log",
"miniz_oxide 0.9.1",
@@ -1767,7 +1939,7 @@ dependencies = [
[[package]]
name = "craft-ps"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"craft-eps",
"flate2",
@@ -1781,7 +1953,7 @@ dependencies = [
[[package]]
name = "craft-psd"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"encoding_rs",
"flate2",
@@ -1792,7 +1964,7 @@ dependencies = [
[[package]]
name = "craft-quit"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"dispatch2",
"egui",
@@ -1805,7 +1977,7 @@ dependencies = [
[[package]]
name = "craft-review"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"base64 0.23.1",
"craft-behavior",
@@ -1824,7 +1996,7 @@ dependencies = [
[[package]]
name = "craft-settings"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"craft-atomic",
"craft-host",
@@ -1841,7 +2013,7 @@ dependencies = [
[[package]]
name = "craft-stream-codecs"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"fax",
"hayro-ccitt",
@@ -1852,7 +2024,7 @@ dependencies = [
[[package]]
name = "craft-svg"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"craft-image-codecs",
"craft-xml",
@@ -1873,7 +2045,7 @@ dependencies = [
[[package]]
name = "craft-table"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"craft-behavior",
"craft-keymap",
@@ -1885,7 +2057,7 @@ dependencies = [
[[package]]
name = "craft-text"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"craft-behavior",
"craft-font-manager",
@@ -1910,7 +2082,7 @@ dependencies = [
[[package]]
name = "craft-theme"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"bitflags 2.13.2",
"craft-tracked",
@@ -1925,7 +2097,7 @@ dependencies = [
[[package]]
name = "craft-theme-store"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"craft-atomic",
"craft-behavior",
@@ -1940,7 +2112,7 @@ dependencies = [
[[package]]
name = "craft-tiff"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"serde",
"thiserror 2.0.21",
@@ -1950,7 +2122,7 @@ dependencies = [
[[package]]
name = "craft-time"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"serde",
"thiserror 2.0.21",
@@ -1959,7 +2131,7 @@ dependencies = [
[[package]]
name = "craft-timeline"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"craft-behavior",
"craft-keymap",
@@ -1974,12 +2146,12 @@ dependencies = [
[[package]]
name = "craft-tracked"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
[[package]]
name = "craft-ui"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"craft-cloud-ui",
"craft-ui-canvas",
@@ -1993,7 +2165,7 @@ dependencies = [
[[package]]
name = "craft-ui-canvas"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"craft-behavior",
"craft-i18n",
@@ -2009,7 +2181,7 @@ dependencies = [
[[package]]
name = "craft-ui-contract"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"accesskit",
"craft-behavior",
@@ -2047,7 +2219,7 @@ dependencies = [
[[package]]
name = "craft-ui-macros"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"proc-macro-crate",
"proc-macro2",
@@ -2058,7 +2230,7 @@ dependencies = [
[[package]]
name = "craft-ui-panels"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"craft-behavior",
"craft-host",
@@ -2076,7 +2248,7 @@ dependencies = [
[[package]]
name = "craft-ui-patterns"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"craft-behavior",
"craft-host",
@@ -2097,7 +2269,7 @@ dependencies = [
[[package]]
name = "craft-ui-shell"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"craft-behavior",
"craft-host",
@@ -2118,7 +2290,7 @@ dependencies = [
[[package]]
name = "craft-ui-widgets"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"craft-behavior",
"craft-host",
@@ -2137,13 +2309,15 @@ dependencies = [
[[package]]
name = "craft-update"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
+ "base64 0.22.1",
"chrono",
"craft-host",
"craft-theme",
"craft-ui",
"dunce",
+ "ed25519-dalek",
"egui",
"flate2",
"image",
@@ -2153,9 +2327,10 @@ dependencies = [
"semver",
"serde",
"serde_json",
- "sha2",
+ "sha2 0.10.9",
"tar",
"tempfile",
+ "toml",
"ureq",
"verifysign",
"winreg",
@@ -2166,7 +2341,7 @@ dependencies = [
[[package]]
name = "craft-vectorcraft-format"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"flate2",
"serde",
@@ -2177,7 +2352,7 @@ dependencies = [
[[package]]
name = "craft-wayland"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"raw-window-handle",
"wayland-backend",
@@ -2187,7 +2362,7 @@ dependencies = [
[[package]]
name = "craft-web-api"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"js-sys",
"serde_json",
@@ -2198,7 +2373,7 @@ dependencies = [
[[package]]
name = "craft-win32"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"winsafe",
]
@@ -2206,7 +2381,7 @@ dependencies = [
[[package]]
name = "craft-window"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"craft-appkit",
"craft-atomic",
@@ -2238,7 +2413,7 @@ dependencies = [
[[package]]
name = "craft-xml"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"quick-xml 0.41.0",
"serde",
@@ -2316,12 +2491,57 @@ dependencies = [
"typenum",
]
+[[package]]
+name = "crypto-common"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ce6e4c961d6cd6c9a86db418387425e8bdeaf05b3c8bc1411e6dca4c252f1453"
+dependencies = [
+ "hybrid-array",
+]
+
+[[package]]
+name = "ctutils"
+version = "0.4.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "261af4dc7a06ea8a527a8717d8cbba3417530d6ea14e1edb3de6b67806be474f"
+dependencies = [
+ "cmov",
+]
+
[[package]]
name = "cursor-icon"
version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f27ae1dd37df86211c42e150270f82743308803d90a6f6e6651cd730d5e1732f"
+[[package]]
+name = "curve25519-dalek"
+version = "4.1.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "97fb8b7c4503de7d6ae7b42ab72a5a59857b4c937ec27a3d4539dba95b5ab2be"
+dependencies = [
+ "cfg-if",
+ "cpufeatures 0.2.17",
+ "curve25519-dalek-derive",
+ "digest 0.10.7",
+ "fiat-crypto",
+ "rustc_version",
+ "subtle",
+ "zeroize",
+]
+
+[[package]]
+name = "curve25519-dalek-derive"
+version = "0.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.119",
+]
+
[[package]]
name = "data-url"
version = "0.3.2"
@@ -2334,7 +2554,7 @@ version = "0.7.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e7c1832837b905bbfb5101e07cc24c8deddf52f93225eee6ead5f4d63d53ddcb"
dependencies = [
- "const-oid",
+ "const-oid 0.9.6",
"der_derive",
"flagset",
"pem-rfc7468",
@@ -2377,11 +2597,23 @@ version = "0.10.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
dependencies = [
- "block-buffer",
- "crypto-common",
+ "block-buffer 0.10.4",
+ "crypto-common 0.1.7",
"subtle",
]
+[[package]]
+name = "digest"
+version = "0.11.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f1dd6dbb5841937940781866fa1281a1ff7bd3bf827091440879f9994983d5c2"
+dependencies = [
+ "block-buffer 0.12.1",
+ "const-oid 0.10.3",
+ "crypto-common 0.2.2",
+ "ctutils",
+]
+
[[package]]
name = "dirs"
version = "7.0.0"
@@ -2400,7 +2632,7 @@ dependencies = [
"libc",
"option-ext",
"redox_users",
- "windows-sys 0.59.0",
+ "windows-sys 0.61.2",
]
[[package]]
@@ -2526,16 +2758,40 @@ checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813"
[[package]]
name = "ecolor"
version = "0.37.0"
-source = "git+https://github.com/storytold/egui.git?rev=f5025284445ea19c35f746d96fc0b75468b3f560#f5025284445ea19c35f746d96fc0b75468b3f560"
+source = "git+https://github.com/storytold/egui.git?rev=07c20531f89717e461c0f387dd1f9649553f9321#07c20531f89717e461c0f387dd1f9649553f9321"
dependencies = [
"bytemuck",
"emath",
]
+[[package]]
+name = "ed25519"
+version = "2.2.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "115531babc129696a58c64a4fef0a8bf9e9698629fb97e9e40767d235cfbcd53"
+dependencies = [
+ "pkcs8",
+ "signature",
+]
+
+[[package]]
+name = "ed25519-dalek"
+version = "2.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "70e796c081cee67dc755e1a36a0a172b897fab85fc3f6bc48307991f64e4eca9"
+dependencies = [
+ "curve25519-dalek",
+ "ed25519",
+ "serde",
+ "sha2 0.10.9",
+ "subtle",
+ "zeroize",
+]
+
[[package]]
name = "eframe"
version = "0.37.0"
-source = "git+https://github.com/storytold/egui.git?rev=f5025284445ea19c35f746d96fc0b75468b3f560#f5025284445ea19c35f746d96fc0b75468b3f560"
+source = "git+https://github.com/storytold/egui.git?rev=07c20531f89717e461c0f387dd1f9649553f9321#07c20531f89717e461c0f387dd1f9649553f9321"
dependencies = [
"ahash",
"bytemuck",
@@ -2570,7 +2826,7 @@ dependencies = [
[[package]]
name = "egui"
version = "0.37.0"
-source = "git+https://github.com/storytold/egui.git?rev=f5025284445ea19c35f746d96fc0b75468b3f560#f5025284445ea19c35f746d96fc0b75468b3f560"
+source = "git+https://github.com/storytold/egui.git?rev=07c20531f89717e461c0f387dd1f9649553f9321#07c20531f89717e461c0f387dd1f9649553f9321"
dependencies = [
"accesskit",
"ahash",
@@ -2589,7 +2845,7 @@ dependencies = [
[[package]]
name = "egui-wgpu"
version = "0.37.0"
-source = "git+https://github.com/storytold/egui.git?rev=f5025284445ea19c35f746d96fc0b75468b3f560#f5025284445ea19c35f746d96fc0b75468b3f560"
+source = "git+https://github.com/storytold/egui.git?rev=07c20531f89717e461c0f387dd1f9649553f9321#07c20531f89717e461c0f387dd1f9649553f9321"
dependencies = [
"ahash",
"bytemuck",
@@ -2608,7 +2864,7 @@ dependencies = [
[[package]]
name = "egui-winit"
version = "0.37.0"
-source = "git+https://github.com/storytold/egui.git?rev=f5025284445ea19c35f746d96fc0b75468b3f560#f5025284445ea19c35f746d96fc0b75468b3f560"
+source = "git+https://github.com/storytold/egui.git?rev=07c20531f89717e461c0f387dd1f9649553f9321#07c20531f89717e461c0f387dd1f9649553f9321"
dependencies = [
"accesskit_winit",
"arboard",
@@ -2633,7 +2889,7 @@ dependencies = [
[[package]]
name = "egui_extras"
version = "0.37.0"
-source = "git+https://github.com/storytold/egui.git?rev=f5025284445ea19c35f746d96fc0b75468b3f560#f5025284445ea19c35f746d96fc0b75468b3f560"
+source = "git+https://github.com/storytold/egui.git?rev=07c20531f89717e461c0f387dd1f9649553f9321#07c20531f89717e461c0f387dd1f9649553f9321"
dependencies = [
"ahash",
"egui",
@@ -2647,7 +2903,7 @@ dependencies = [
[[package]]
name = "egui_glow"
version = "0.37.0"
-source = "git+https://github.com/storytold/egui.git?rev=f5025284445ea19c35f746d96fc0b75468b3f560#f5025284445ea19c35f746d96fc0b75468b3f560"
+source = "git+https://github.com/storytold/egui.git?rev=07c20531f89717e461c0f387dd1f9649553f9321#07c20531f89717e461c0f387dd1f9649553f9321"
dependencies = [
"bytemuck",
"egui",
@@ -2660,7 +2916,7 @@ dependencies = [
[[package]]
name = "egui_kittest"
version = "0.37.0"
-source = "git+https://github.com/storytold/egui.git?rev=f5025284445ea19c35f746d96fc0b75468b3f560#f5025284445ea19c35f746d96fc0b75468b3f560"
+source = "git+https://github.com/storytold/egui.git?rev=07c20531f89717e461c0f387dd1f9649553f9321#07c20531f89717e461c0f387dd1f9649553f9321"
dependencies = [
"dify",
"eframe",
@@ -2686,7 +2942,7 @@ checksum = "0e9c71c2167ca323c882b99918929403426e2373ea17242ff5653e0d5e1058be"
[[package]]
name = "emath"
version = "0.37.0"
-source = "git+https://github.com/storytold/egui.git?rev=f5025284445ea19c35f746d96fc0b75468b3f560#f5025284445ea19c35f746d96fc0b75468b3f560"
+source = "git+https://github.com/storytold/egui.git?rev=07c20531f89717e461c0f387dd1f9649553f9321#07c20531f89717e461c0f387dd1f9649553f9321"
dependencies = [
"bytemuck",
]
@@ -2767,7 +3023,7 @@ dependencies = [
[[package]]
name = "epaint"
version = "0.37.0"
-source = "git+https://github.com/storytold/egui.git?rev=f5025284445ea19c35f746d96fc0b75468b3f560#f5025284445ea19c35f746d96fc0b75468b3f560"
+source = "git+https://github.com/storytold/egui.git?rev=07c20531f89717e461c0f387dd1f9649553f9321#07c20531f89717e461c0f387dd1f9649553f9321"
dependencies = [
"ahash",
"bytemuck",
@@ -2793,7 +3049,11 @@ dependencies = [
[[package]]
name = "epaint_default_fonts"
version = "0.37.0"
-source = "git+https://github.com/storytold/egui.git?rev=f5025284445ea19c35f746d96fc0b75468b3f560#f5025284445ea19c35f746d96fc0b75468b3f560"
+source = "git+https://github.com/storytold/egui.git?rev=07c20531f89717e461c0f387dd1f9649553f9321#07c20531f89717e461c0f387dd1f9649553f9321"
+dependencies = [
+ "brotli 9.1.3",
+ "brotli-decompressor 6.3.2",
+]
[[package]]
name = "equivalent"
@@ -2889,6 +3149,12 @@ version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b97b65636e5b9ef369943878ac74335ba1c55c1cb6adbf1e2c293c624248d693"
+[[package]]
+name = "fiat-crypto"
+version = "0.2.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "28dea519a9695b9977216879a3ebfddf92f1c08c05d984f8996aecd6ecdc811d"
+
[[package]]
name = "filetime"
version = "0.2.29"
@@ -3083,7 +3349,7 @@ checksum = "94e7099f6313ecacbe1256e8ff9d617b75d1bcb16a6fddef94866d225a01a14a"
dependencies = [
"io-lifetimes 2.0.4",
"rustix 1.1.6",
- "windows-sys 0.52.0",
+ "windows-sys 0.59.0",
]
[[package]]
@@ -3506,16 +3772,16 @@ checksum = "9f4d0e94ddd48749f06bbe4e5389fb9799a0c45bcaf00495042076ef05e3241a"
[[package]]
name = "hayro-cmap"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
- "brotli",
+ "brotli 8.0.4",
"hayro-postscript",
]
[[package]]
name = "hayro-interpret"
version = "0.7.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"bitflags 2.13.2",
"hayro-cmap",
@@ -3533,7 +3799,7 @@ dependencies = [
[[package]]
name = "hayro-jbig2"
version = "0.3.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"fearless_simd",
"hayro-ccitt",
@@ -3551,12 +3817,12 @@ dependencies = [
[[package]]
name = "hayro-postscript"
version = "0.1.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
[[package]]
name = "hayro-syntax"
version = "0.7.2"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"flate2",
"hayro-ccitt",
@@ -3596,13 +3862,31 @@ version = "0.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"
+[[package]]
+name = "hkdf"
+version = "0.13.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4aaa26c720c68b866f2c96ef5c1264b3e6f473fe5d4ce61cd44bbe913e553018"
+dependencies = [
+ "hmac 0.13.0",
+]
+
[[package]]
name = "hmac"
version = "0.12.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e"
dependencies = [
- "digest",
+ "digest 0.10.7",
+]
+
+[[package]]
+name = "hmac"
+version = "0.13.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6303bc9732ae41b04cb554b844a762b4115a61bfaa81e3e83050991eeb56863f"
+dependencies = [
+ "digest 0.11.3",
]
[[package]]
@@ -3644,6 +3928,15 @@ version = "1.10.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87"
+[[package]]
+name = "hybrid-array"
+version = "0.4.15"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "27f864f10dfb56725ce5ce5472bc52252c8f93a4ab86327122cebf62c5f59a17"
+dependencies = [
+ "typenum",
+]
+
[[package]]
name = "hyper"
version = "1.12.0"
@@ -4100,6 +4393,16 @@ dependencies = [
"generic-array",
]
+[[package]]
+name = "inout"
+version = "0.2.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3a580c13f0ffc335ef42dd3f6b1a41b726051c5e1656d9a3aa6fddb3c5dfbbf9"
+dependencies = [
+ "block-padding",
+ "hybrid-array",
+]
+
[[package]]
name = "inventory"
version = "0.3.25"
@@ -4116,7 +4419,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "20fd6de4ccfcc187e38bc21cfa543cb5a302cb86a8b114eb7f0bf0dc9f8ac00f"
dependencies = [
"io-lifetimes 3.0.1",
- "windows-sys 0.52.0",
+ "windows-sys 0.59.0",
]
[[package]]
@@ -4260,6 +4563,12 @@ version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b454d911ac55068f53495488d8ccd0646eaa540c033a28ee15b07838afafb01f"
+[[package]]
+name = "jpeg-encoder"
+version = "0.7.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a0370574b86f7eca156b9f298392b5e69a23f8c86f3f865add60bbc2e79467a6"
+
[[package]]
name = "js-sys"
version = "0.3.106"
@@ -4457,6 +4766,15 @@ dependencies = [
"serde",
]
+[[package]]
+name = "keyring-core"
+version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "281c851dbae0de36d405299dd463126df4826dc32665c1314e931696b8cdee77"
+dependencies = [
+ "log",
+]
+
[[package]]
name = "khronos-egl"
version = "6.0.0"
@@ -4487,7 +4805,7 @@ dependencies = [
[[package]]
name = "krilla"
version = "0.8.2"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"base64 0.22.1",
"bumpalo",
@@ -4644,7 +4962,7 @@ checksum = "d4a5ff6bcca6c4867b1c4fd4ef63e4db7436ef363e0ad7531d1558856bae64f4"
[[package]]
name = "linesweeper"
version = "0.5.0"
-source = "git+https://github.com/storytold/craft-libs?rev=3238a3eca8af59ba13ee04a39f3527979e1dc33d#3238a3eca8af59ba13ee04a39f3527979e1dc33d"
+source = "git+https://github.com/storytold/craft-libs?rev=2680a3b3fe464c7afa3d260b33a828fa94e12f6d#2680a3b3fe464c7afa3d260b33a828fa94e12f6d"
dependencies = [
"arrayvec",
"kurbo 0.13.1",
@@ -4720,7 +5038,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d89e7ee0cfbedfc4da3340218492196241d89eefb6dab27de5df917a6d2e78cf"
dependencies = [
"cfg-if",
- "digest",
+ "digest 0.10.7",
]
[[package]]
@@ -4951,12 +5269,75 @@ dependencies = [
"memchr",
]
+[[package]]
+name = "num"
+version = "0.4.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "35bd024e8b2ff75562e5f34e7f4905839deb4b22955ef5e73d2fea1b9813cb23"
+dependencies = [
+ "num-bigint",
+ "num-complex",
+ "num-integer",
+ "num-iter",
+ "num-rational",
+ "num-traits",
+]
+
+[[package]]
+name = "num-bigint"
+version = "0.4.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c89e69e7e0f03bea5ef08013795c25018e101932225a656383bd384495ecc367"
+dependencies = [
+ "num-integer",
+ "num-traits",
+]
+
+[[package]]
+name = "num-complex"
+version = "0.4.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "73f88a1307638156682bada9d7604135552957b7818057dcef22705b4d509495"
+dependencies = [
+ "num-traits",
+]
+
[[package]]
name = "num-conv"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "521739c6d2bac4aa25192232afe6841231376b2b26d4d9fae5ecf8ca5772e441"
+[[package]]
+name = "num-integer"
+version = "0.1.47"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7ce2d95d4b3734dc35aa2f45e1aa22cd416814592a4f9d9205e11affd5b8e10b"
+dependencies = [
+ "num-traits",
+]
+
+[[package]]
+name = "num-iter"
+version = "0.1.46"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c92800bd69a1eac91786bcfe9da64a897eb72911b8dc3095decbd07429e8048b"
+dependencies = [
+ "num-integer",
+ "num-traits",
+]
+
+[[package]]
+name = "num-rational"
+version = "0.4.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f83d14da390562dca69fc84082e73e548e1ad308d24accdedd2720017cb37824"
+dependencies = [
+ "num-bigint",
+ "num-integer",
+ "num-traits",
+]
+
[[package]]
name = "num-traits"
version = "0.2.19"
@@ -5790,6 +6171,16 @@ dependencies = [
"system-deps",
]
+[[package]]
+name = "pkcs8"
+version = "0.10.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7"
+dependencies = [
+ "der",
+ "spki",
+]
+
[[package]]
name = "pkg-config"
version = "0.3.34"
@@ -6133,6 +6524,9 @@ name = "rand_core"
version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
+dependencies = [
+ "getrandom 0.2.17",
+]
[[package]]
name = "rand_core"
@@ -6683,6 +7077,25 @@ dependencies = [
"tiny-skia 0.11.4",
]
+[[package]]
+name = "secret-service"
+version = "5.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5107b24b91445dd2aa449a258a1807b63240942157292354dc5bfdbeb8bc6db8"
+dependencies = [
+ "aes 0.9.4",
+ "cbc",
+ "futures-util",
+ "getrandom 0.4.3",
+ "hkdf",
+ "hybrid-array",
+ "num",
+ "once_cell",
+ "serde",
+ "sha2 0.11.1",
+ "zbus",
+]
+
[[package]]
name = "security-framework"
version = "3.7.0"
@@ -6822,7 +7235,7 @@ checksum = "a978451301f4db1d02937a4ab3ccce137717b81826e79b7d49ffe3244a13c3b8"
dependencies = [
"cfg-if",
"cpufeatures 0.2.17",
- "digest",
+ "digest 0.10.7",
]
[[package]]
@@ -6833,7 +7246,18 @@ checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283"
dependencies = [
"cfg-if",
"cpufeatures 0.2.17",
- "digest",
+ "digest 0.10.7",
+]
+
+[[package]]
+name = "sha2"
+version = "0.11.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "47d7069beb7d6ac7b9acd1039986e73443f24234f41074da099d6f994ac9ad19"
+dependencies = [
+ "cfg-if",
+ "cpufeatures 0.3.1",
+ "digest 0.11.3",
]
[[package]]
@@ -6893,12 +7317,12 @@ checksum = "da90c3d9af638898a5fdc347479b18f950bb0dde11ecf2244f94cd28135da53b"
dependencies = [
"aws-lc-rs",
"base64 0.22.1",
- "const-oid",
+ "const-oid 0.9.6",
"der",
- "digest",
+ "digest 0.10.7",
"pem",
"rand_core 0.10.1",
- "sha2",
+ "sha2 0.10.9",
"signature",
"sigstore-types",
"spki",
@@ -6967,7 +7391,7 @@ dependencies = [
"chrono",
"cmpv2",
"cms",
- "const-oid",
+ "const-oid 0.9.6",
"der",
"hex",
"rand",
@@ -7006,7 +7430,7 @@ dependencies = [
"base64 0.22.1",
"chrono",
"cms",
- "const-oid",
+ "const-oid 0.9.6",
"hex",
"pem",
"rustls-pki-types",
@@ -8101,13 +8525,14 @@ dependencies = [
[[package]]
name = "vectorcraft"
-version = "0.24.1"
+version = "0.25.1"
dependencies = [
"arboard",
"block2 0.6.2",
"chrono",
"clipboard-win",
"craft",
+ "craft-nightly",
"eframe",
"egui",
"egui_extras",
@@ -8124,7 +8549,6 @@ dependencies = [
"raw-window-handle",
"rustix 1.1.6",
"serde_json",
- "socket2",
"tempfile",
"vectorcraft-engine",
"vectorcraft-render",
@@ -8145,7 +8569,7 @@ dependencies = [
[[package]]
name = "vectorcraft-affinity"
-version = "0.24.1"
+version = "0.25.1"
dependencies = [
"craft-affinity",
"craft-image-codecs",
@@ -8156,26 +8580,26 @@ dependencies = [
[[package]]
name = "vectorcraft-apischema"
-version = "0.24.1"
+version = "0.25.1"
dependencies = [
"serde_json",
]
[[package]]
name = "vectorcraft-brush"
-version = "0.24.1"
+version = "0.25.1"
dependencies = [
"kurbo 0.13.1",
"serde",
"serde_json",
"vectorcraft-color",
"vectorcraft-doc",
- "vectorcraft-geom 0.24.1",
+ "vectorcraft-geom 0.25.1",
]
[[package]]
name = "vectorcraft-cad"
-version = "0.24.1"
+version = "0.25.1"
dependencies = [
"craft-dxf",
"craft-image-codecs",
@@ -8187,14 +8611,14 @@ dependencies = [
"vectorcraft-color",
"vectorcraft-doc",
"vectorcraft-effects",
- "vectorcraft-geom 0.24.1",
- "vectorcraft-pathops 0.24.1",
+ "vectorcraft-geom 0.25.1",
+ "vectorcraft-pathops 0.25.1",
"vectorcraft-text",
]
[[package]]
name = "vectorcraft-cli"
-version = "0.24.1"
+version = "0.25.1"
dependencies = [
"log",
"objc2-core-foundation",
@@ -8205,7 +8629,7 @@ dependencies = [
"vectorcraft-doc",
"vectorcraft-engine",
"vectorcraft-format",
- "vectorcraft-geom 0.24.1",
+ "vectorcraft-geom 0.25.1",
"vectorcraft-mcp",
"vectorcraft-render",
"vectorcraft-svg",
@@ -8217,7 +8641,7 @@ dependencies = [
[[package]]
name = "vectorcraft-color"
-version = "0.24.1"
+version = "0.25.1"
dependencies = [
"craft-cms",
"craft-color-ui",
@@ -8227,33 +8651,35 @@ dependencies = [
"proptest",
"serde",
"serde_json",
+ "sha2 0.10.9",
"thiserror 2.0.21",
]
[[package]]
name = "vectorcraft-doc"
-version = "0.24.1"
+version = "0.25.1"
dependencies = [
"chrono",
"craft-image-codecs",
"craft-stream-codecs",
"flate2",
"image",
- "jpeg-encoder",
+ "jpeg-encoder 0.6.1",
"kurbo 0.13.1",
"proptest",
"serde",
"serde_json",
+ "sha2 0.10.9",
"thiserror 2.0.21",
"tiff",
"vectorcraft-color",
- "vectorcraft-geom 0.24.1",
+ "vectorcraft-geom 0.25.1",
"zune-jpeg",
]
[[package]]
name = "vectorcraft-effects"
-version = "0.24.1"
+version = "0.25.1"
dependencies = [
"craft-image-codecs",
"craft-svg",
@@ -8263,8 +8689,8 @@ dependencies = [
"svgtypes 0.16.1",
"vectorcraft-color",
"vectorcraft-doc",
- "vectorcraft-geom 0.24.1",
- "vectorcraft-pathops 0.24.1",
+ "vectorcraft-geom 0.25.1",
+ "vectorcraft-pathops 0.25.1",
"vectorcraft-plugins",
"vectorcraft-text",
"vectorcraft-three-d",
@@ -8274,13 +8700,17 @@ dependencies = [
[[package]]
name = "vectorcraft-engine"
-version = "0.24.1"
+version = "0.25.1"
dependencies = [
+ "apple-native-keyring-store",
"cfb",
"chrono",
"craft-cdr",
"craft-codepage",
+ "craft-doc",
"craft-docpath",
+ "craft-font-catalog",
+ "craft-font-store",
"craft-image-codecs",
"craft-jxl",
"craft-proof",
@@ -8289,12 +8719,15 @@ dependencies = [
"crc32fast",
"encoding_rs",
"flate2",
+ "getrandom 0.4.3",
"hayro-ccitt",
"heic-rs",
+ "hmac 0.12.1",
"image",
"jxl-color",
"jxl-grid",
"jxl-oxide",
+ "keyring-core",
"kurbo 0.13.1",
"log",
"proptest",
@@ -8304,6 +8737,7 @@ dependencies = [
"same-file",
"serde",
"serde_json",
+ "sha2 0.10.9",
"skrifa 0.47.0",
"thiserror 2.0.21",
"tiff",
@@ -8315,10 +8749,10 @@ dependencies = [
"vectorcraft-doc",
"vectorcraft-eps",
"vectorcraft-format",
- "vectorcraft-geom 0.24.1",
+ "vectorcraft-geom 0.25.1",
"vectorcraft-js",
"vectorcraft-metafile",
- "vectorcraft-pathops 0.24.1",
+ "vectorcraft-pathops 0.25.1",
"vectorcraft-pdf",
"vectorcraft-plugins",
"vectorcraft-render",
@@ -8330,13 +8764,15 @@ dependencies = [
"vectorcraft-tools",
"vectorcraft-trace",
"wat",
+ "windows-native-keyring-store",
+ "zbus-secret-service-keyring-store",
"zune-core",
"zune-jpegxl",
]
[[package]]
name = "vectorcraft-eps"
-version = "0.24.1"
+version = "0.25.1"
dependencies = [
"craft-eps",
"craft-image-codecs",
@@ -8356,9 +8792,10 @@ dependencies = [
"vectorcraft-color",
"vectorcraft-doc",
"vectorcraft-effects",
- "vectorcraft-geom 0.24.1",
+ "vectorcraft-eps",
+ "vectorcraft-geom 0.25.1",
"vectorcraft-metafile",
- "vectorcraft-pathops 0.24.1",
+ "vectorcraft-pathops 0.25.1",
"vectorcraft-pdf",
"vectorcraft-render",
"vectorcraft-testkit",
@@ -8367,7 +8804,7 @@ dependencies = [
[[package]]
name = "vectorcraft-format"
-version = "0.24.1"
+version = "0.25.1"
dependencies = [
"craft-gzip",
"craft-vectorcraft-format",
@@ -8379,7 +8816,7 @@ dependencies = [
"thiserror 2.0.21",
"vectorcraft-brush",
"vectorcraft-doc",
- "vectorcraft-geom 0.24.1",
+ "vectorcraft-geom 0.25.1",
"vectorcraft-testkit",
]
@@ -8395,7 +8832,7 @@ dependencies = [
[[package]]
name = "vectorcraft-geom"
-version = "0.24.1"
+version = "0.25.1"
dependencies = [
"kurbo 0.13.1",
"proptest",
@@ -8406,9 +8843,10 @@ dependencies = [
[[package]]
name = "vectorcraft-js"
-version = "0.24.1"
+version = "0.25.1"
dependencies = [
"chrono",
+ "craft-xml",
"getrandom 0.4.3",
"proptest",
"unicode-properties",
@@ -8416,7 +8854,7 @@ dependencies = [
[[package]]
name = "vectorcraft-mcp"
-version = "0.24.1"
+version = "0.25.1"
dependencies = [
"craft",
"craft-image-codecs",
@@ -8428,7 +8866,7 @@ dependencies = [
"vectorcraft-doc",
"vectorcraft-engine",
"vectorcraft-format",
- "vectorcraft-geom 0.24.1",
+ "vectorcraft-geom 0.25.1",
"vectorcraft-render",
"vectorcraft-svg",
"vectorcraft-testkit",
@@ -8437,7 +8875,7 @@ dependencies = [
[[package]]
name = "vectorcraft-metafile"
-version = "0.24.1"
+version = "0.25.1"
dependencies = [
"craft-image-codecs",
"craft-metafile",
@@ -8447,7 +8885,7 @@ dependencies = [
"vectorcraft-color",
"vectorcraft-doc",
"vectorcraft-effects",
- "vectorcraft-geom 0.24.1",
+ "vectorcraft-geom 0.25.1",
"vectorcraft-text",
]
@@ -8464,21 +8902,21 @@ dependencies = [
[[package]]
name = "vectorcraft-pathops"
-version = "0.24.1"
+version = "0.25.1"
dependencies = [
"kurbo 0.13.1",
"linesweeper",
"proptest",
"thiserror 2.0.21",
- "vectorcraft-geom 0.24.1",
+ "vectorcraft-geom 0.25.1",
"vectorcraft-testkit",
]
[[package]]
name = "vectorcraft-pdf"
-version = "0.24.1"
+version = "0.25.1"
dependencies = [
- "aes",
+ "aes 0.8.4",
"chrono",
"craft",
"craft-image-codecs",
@@ -8487,7 +8925,7 @@ dependencies = [
"flate2",
"getrandom 0.4.3",
"image",
- "jpeg-encoder",
+ "jpeg-encoder 0.6.1",
"krilla",
"kurbo 0.13.1",
"log",
@@ -8496,7 +8934,7 @@ dependencies = [
"objc2-core-graphics",
"serde",
"serde_json",
- "sha2",
+ "sha2 0.10.9",
"siphasher",
"skrifa 0.47.0",
"smallvec",
@@ -8505,15 +8943,25 @@ dependencies = [
"vectorcraft-color",
"vectorcraft-doc",
"vectorcraft-effects",
- "vectorcraft-geom 0.24.1",
+ "vectorcraft-geom 0.25.1",
"vectorcraft-pdf",
"vectorcraft-testkit",
"vectorcraft-text",
]
+[[package]]
+name = "vectorcraft-plugin-worker"
+version = "0.25.1"
+dependencies = [
+ "js-sys",
+ "vectorcraft-plugins",
+ "wasm-bindgen",
+ "web-sys",
+]
+
[[package]]
name = "vectorcraft-plugins"
-version = "0.24.1"
+version = "0.25.1"
dependencies = [
"craft-image-codecs",
"craft-vectorcraft-format",
@@ -8521,11 +8969,13 @@ dependencies = [
"rustix 1.1.6",
"serde",
"serde_json",
- "sha2",
+ "sha2 0.10.9",
"thiserror 2.0.21",
"vectorcraft-color",
"vectorcraft-doc",
- "vectorcraft-geom 0.24.1",
+ "vectorcraft-geom 0.25.1",
+ "vectorcraft-js",
+ "vectorcraft-plugins",
"wasmi",
"wasmparser 0.228.0",
"wat",
@@ -8534,7 +8984,7 @@ dependencies = [
[[package]]
name = "vectorcraft-render"
-version = "0.24.1"
+version = "0.25.1"
dependencies = [
"craft-gif",
"craft-image-codecs",
@@ -8543,7 +8993,7 @@ dependencies = [
"craft-tiff",
"flate2",
"image",
- "jpeg-encoder",
+ "jpeg-encoder 0.6.1",
"log",
"proptest",
"serde_json",
@@ -8552,7 +9002,7 @@ dependencies = [
"vectorcraft-color",
"vectorcraft-doc",
"vectorcraft-effects",
- "vectorcraft-geom 0.24.1",
+ "vectorcraft-geom 0.25.1",
"vectorcraft-plugins",
"vectorcraft-testkit",
"vectorcraft-text",
@@ -8565,7 +9015,7 @@ dependencies = [
[[package]]
name = "vectorcraft-scriptcheck"
-version = "0.24.1"
+version = "0.25.1"
dependencies = [
"proptest",
"unicode-properties",
@@ -8573,7 +9023,7 @@ dependencies = [
[[package]]
name = "vectorcraft-svg"
-version = "0.24.1"
+version = "0.25.1"
dependencies = [
"craft-docpath",
"craft-image-codecs",
@@ -8597,15 +9047,15 @@ dependencies = [
"vectorcraft-color",
"vectorcraft-doc",
"vectorcraft-effects",
- "vectorcraft-geom 0.24.1",
- "vectorcraft-pathops 0.24.1",
+ "vectorcraft-geom 0.25.1",
+ "vectorcraft-pathops 0.25.1",
"vectorcraft-testkit",
"vectorcraft-text",
]
[[package]]
name = "vectorcraft-testkit"
-version = "0.24.1"
+version = "0.25.1"
dependencies = [
"craft-image-codecs",
"fax",
@@ -8616,14 +9066,14 @@ dependencies = [
"vectorcraft-doc",
"vectorcraft-engine",
"vectorcraft-format",
- "vectorcraft-geom 0.24.1",
+ "vectorcraft-geom 0.25.1",
"vectorcraft-render",
"vectorcraft-svg",
]
[[package]]
name = "vectorcraft-text"
-version = "0.24.1"
+version = "0.25.1"
dependencies = [
"craft",
"craft-fonts-build",
@@ -8641,23 +9091,32 @@ dependencies = [
"unicode-script",
"unicode-segmentation",
"vectorcraft-doc",
- "vectorcraft-geom 0.24.1",
+ "vectorcraft-geom 0.25.1",
"vello_cpu",
"write-fonts",
]
[[package]]
name = "vectorcraft-three-d"
-version = "0.24.1"
+version = "0.25.1"
dependencies = [
"proptest",
- "vectorcraft-geom 0.24.1",
- "vectorcraft-pathops 0.24.1",
+ "vectorcraft-geom 0.25.1",
+ "vectorcraft-pathops 0.25.1",
+]
+
+[[package]]
+name = "vectorcraft-thumbnail-handler"
+version = "0.25.1"
+dependencies = [
+ "png 0.18.1",
+ "windows",
+ "windows-core",
]
[[package]]
name = "vectorcraft-tools"
-version = "0.24.1"
+version = "0.25.1"
dependencies = [
"craft-image-codecs",
"kurbo 0.13.1",
@@ -8667,14 +9126,15 @@ dependencies = [
"vectorcraft-color",
"vectorcraft-doc",
"vectorcraft-effects",
- "vectorcraft-geom 0.24.1",
- "vectorcraft-pathops 0.24.1",
+ "vectorcraft-geom 0.25.1",
+ "vectorcraft-pathops 0.25.1",
"vectorcraft-text",
+ "vectorcraft-tools",
]
[[package]]
name = "vectorcraft-trace"
-version = "0.24.1"
+version = "0.25.1"
dependencies = [
"craft-image-codecs",
"image",
@@ -8682,12 +9142,12 @@ dependencies = [
"serde",
"serde_json",
"thiserror 2.0.21",
- "vectorcraft-geom 0.24.1",
+ "vectorcraft-geom 0.25.1",
]
[[package]]
name = "vectorcraft-ui-egui"
-version = "0.24.1"
+version = "0.25.1"
dependencies = [
"bytemuck",
"chrono",
@@ -8711,7 +9171,7 @@ dependencies = [
"vectorcraft-engine",
"vectorcraft-eps",
"vectorcraft-format",
- "vectorcraft-geom 0.24.1",
+ "vectorcraft-geom 0.25.1",
"vectorcraft-pdf",
"vectorcraft-plugins",
"vectorcraft-render",
@@ -8726,7 +9186,7 @@ dependencies = [
[[package]]
name = "vectorcraft-web"
-version = "0.24.1"
+version = "0.25.1"
dependencies = [
"craft",
"craft-web-api",
@@ -8911,9 +9371,9 @@ dependencies = [
[[package]]
name = "wasmi"
-version = "2.0.0"
+version = "2.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "78693fcdd618e0fc34af59c6b8efa9ac5d58c68df940beff4bedddb6acfe7c27"
+checksum = "36dcb6cbd722c1575daf8c3063dd7ba1883fcd35b51fcbd377ae4f3371ac4dba"
dependencies = [
"spin",
"wasmi_collections",
@@ -8924,27 +9384,27 @@ dependencies = [
[[package]]
name = "wasmi_collections"
-version = "2.0.0"
+version = "2.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8a8be2aa467cf2d29e96ff759472c36eeb44a3c81c67fc9cb76c9a24c519c557"
+checksum = "b62dc4c1a17f3294aa2b23ac39979e3b38f3ee6afe5673eea76b76902d11103b"
dependencies = [
"string-interner",
]
[[package]]
name = "wasmi_core"
-version = "2.0.0"
+version = "2.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "69372d5fda3ea3d1e0aa6603c7888110e0187e88ea17cd8fc2e2df0a0e1f37fa"
+checksum = "c19f6f7fcf32b9e12cebc8fec606fefac71af3d386bae1472e35d620b5471754"
dependencies = [
"libm",
]
[[package]]
name = "wasmi_ir"
-version = "2.0.0"
+version = "2.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8f17b774caa13c618c7244f1ee51fe23c5e7b8538a471fa46d9949779758aed6"
+checksum = "14f9c115dfd2397700880a64d14161db3a4da0a11059fac39c6a7935eb8f6b36"
dependencies = [
"wasmi_core",
]
@@ -9463,6 +9923,19 @@ version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
+[[package]]
+name = "windows-native-keyring-store"
+version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "063426e76fdec7438d56bb777f67e318a84a25c707b07e575cb8b78e10c028f8"
+dependencies = [
+ "byteorder",
+ "keyring-core",
+ "regex",
+ "windows-sys 0.61.2",
+ "zeroize",
+]
+
[[package]]
name = "windows-numerics"
version = "0.3.1"
@@ -9605,7 +10078,7 @@ checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
[[package]]
name = "winit"
version = "0.30.13"
-source = "git+https://github.com/storytold/winit.git?rev=a517b3846ee8457d84ee4975110bfda6797c44dc#a517b3846ee8457d84ee4975110bfda6797c44dc"
+source = "git+https://github.com/storytold/winit.git?rev=0dfcec0eb62fda5904137a63a6dd0c3d83295f45#0dfcec0eb62fda5904137a63a6dd0c3d83295f45"
dependencies = [
"ahash",
"android-activity",
@@ -9717,7 +10190,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3f3fd376f71958b862e7afb20cfe5a22830e1963462f3a17f49d82a6c1d1f42d"
dependencies = [
"bitflags 2.13.2",
- "windows-sys 0.52.0",
+ "windows-sys 0.59.0",
]
[[package]]
@@ -9772,6 +10245,16 @@ dependencies = [
"either",
]
+[[package]]
+name = "wuff"
+version = "0.2.10"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f6a992b57b3d1ee972b2e3fd9225e44793104d49818836dd812d5459187712dd"
+dependencies = [
+ "brotli-decompressor 6.3.2",
+ "bytes",
+]
+
[[package]]
name = "x11-dl"
version = "2.21.0"
@@ -9810,7 +10293,7 @@ version = "0.2.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1301e935010a701ae5f8655edc0ad17c44bad3ac5ce8c39185f75453b720ae94"
dependencies = [
- "const-oid",
+ "const-oid 0.9.6",
"der",
"sha1",
"signature",
@@ -9932,7 +10415,7 @@ checksum = "9440ea3e5aeabb0ac63af70daf835274065238cdd0cec83418f417eae38bacee"
[[package]]
name = "xtask"
-version = "0.24.1"
+version = "0.25.1"
dependencies = [
"serde_json",
]
@@ -10030,6 +10513,17 @@ dependencies = [
"zvariant",
]
+[[package]]
+name = "zbus-secret-service-keyring-store"
+version = "1.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "74801d001b9e7729adb4f1825b67b398185fed424749aa3d8bacf70417137d9a"
+dependencies = [
+ "keyring-core",
+ "secret-service",
+ "zbus",
+]
+
[[package]]
name = "zbus_macros"
version = "5.19.0"
@@ -10276,18 +10770,3 @@ dependencies = [
"syn 3.0.9",
"winnow",
]
-
-[[patch.unused]]
-name = "egui_demo_lib"
-version = "0.37.0"
-source = "git+https://github.com/storytold/egui.git?rev=f5025284445ea19c35f746d96fc0b75468b3f560#f5025284445ea19c35f746d96fc0b75468b3f560"
-
-[[patch.unused]]
-name = "egui_inspection"
-version = "0.37.0"
-source = "git+https://github.com/storytold/egui.git?rev=f5025284445ea19c35f746d96fc0b75468b3f560#f5025284445ea19c35f746d96fc0b75468b3f560"
-
-[[patch.unused]]
-name = "egui_system_font_provider"
-version = "0.37.0"
-source = "git+https://github.com/storytold/egui.git?rev=f5025284445ea19c35f746d96fc0b75468b3f560#f5025284445ea19c35f746d96fc0b75468b3f560"
diff --git a/Cargo.toml b/Cargo.toml
index 5ae1f2eac2..7720ce4b8a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -4,51 +4,57 @@ members = ["crates/*", "apps/*", "xtask"]
default-members = ["crates/*", "apps/vectorcraft", "apps/vectorcraft-cli", "xtask"]
[workspace.package]
-version = "0.24.1"
+version = "0.25.1"
edition = "2024"
license = "MIT OR Apache-2.0"
rust-version = "1.95"
-repository = "https://github.com/storytold/vectorcraft"
[workspace.dependencies]
-craft-cms = { git = "https://github.com/storytold/craft-libs", rev = "3238a3eca8af59ba13ee04a39f3527979e1dc33d" }
-craft-pdf = { git = "https://github.com/storytold/craft-libs", rev = "3238a3eca8af59ba13ee04a39f3527979e1dc33d", default-features = false, features = ["interpret", "write"] }
-craft-docpath = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "3238a3eca8af59ba13ee04a39f3527979e1dc33d" }
-craft-proof = { git = "https://github.com/storytold/craft-libs", rev = "3238a3eca8af59ba13ee04a39f3527979e1dc33d" }
+craft-cms = { git = "https://github.com/storytold/craft-libs", rev = "2680a3b3fe464c7afa3d260b33a828fa94e12f6d" }
+craft-pdf = { git = "https://github.com/storytold/craft-libs", rev = "2680a3b3fe464c7afa3d260b33a828fa94e12f6d", default-features = false, features = ["interpret", "write"] }
+craft-docpath = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "2680a3b3fe464c7afa3d260b33a828fa94e12f6d" }
+craft-proof = { git = "https://github.com/storytold/craft-libs", rev = "2680a3b3fe464c7afa3d260b33a828fa94e12f6d" }
+# Language packs: the Craft apps' shared font store installs them (#4936).
+craft-font-store = { git = "https://github.com/storytold/craft-libs", rev = "2680a3b3fe464c7afa3d260b33a828fa94e12f6d" }
+craft-font-catalog = { git = "https://github.com/storytold/craft-libs", rev = "2680a3b3fe464c7afa3d260b33a828fa94e12f6d" }
# The `.vectorcraft` envelope: its members, version, embedded images and the data after the JSON.
-craft-vectorcraft-format = { git = "https://github.com/storytold/craft-libs", rev = "3238a3eca8af59ba13ee04a39f3527979e1dc33d" }
-craft-gzip = { git = "https://github.com/storytold/craft-libs", rev = "3238a3eca8af59ba13ee04a39f3527979e1dc33d" }
+craft-vectorcraft-format = { git = "https://github.com/storytold/craft-libs", rev = "2680a3b3fe464c7afa3d260b33a828fa94e12f6d" }
+craft-gzip = { git = "https://github.com/storytold/craft-libs", rev = "2680a3b3fe464c7afa3d260b33a828fa94e12f6d" }
+# `.pcraft` documents: their manifest, full-size composite, preview, layer pixels and ICC profile.
+craft-doc = { git = "https://github.com/storytold/craft-libs", rev = "2680a3b3fe464c7afa3d260b33a828fa94e12f6d", features = ["pcraft-pixels"] }
# Native Affinity documents (craft-libs#914).
-craft-affinity = { git = "https://github.com/storytold/craft-libs", rev = "3238a3eca8af59ba13ee04a39f3527979e1dc33d" }
+craft-affinity = { git = "https://github.com/storytold/craft-libs", rev = "2680a3b3fe464c7afa3d260b33a828fa94e12f6d" }
# Bounded CDR (v1-v27) and CMX (32-bit) reader (craft-libs#778).
-craft-cdr = { git = "https://github.com/storytold/craft-libs", rev = "3238a3eca8af59ba13ee04a39f3527979e1dc33d" }
+craft-cdr = { git = "https://github.com/storytold/craft-libs", rev = "2680a3b3fe464c7afa3d260b33a828fa94e12f6d" }
# SVG parsing, limits, SVGZ and writer (craft-libs#778).
-craft-svg = { git = "https://github.com/storytold/craft-libs", rev = "3238a3eca8af59ba13ee04a39f3527979e1dc33d", features = ["tree"] }
-craft-mime = { git = "https://github.com/storytold/craft-libs", rev = "3238a3eca8af59ba13ee04a39f3527979e1dc33d" }
+craft-svg = { git = "https://github.com/storytold/craft-libs", rev = "2680a3b3fe464c7afa3d260b33a828fa94e12f6d", features = ["tree"] }
+craft-mime = { git = "https://github.com/storytold/craft-libs", rev = "2680a3b3fe464c7afa3d260b33a828fa94e12f6d" }
# EPS container, previews, ASCII85 and DSC comments (craft-libs#778).
-craft-eps = { git = "https://github.com/storytold/craft-libs", rev = "3238a3eca8af59ba13ee04a39f3527979e1dc33d" }
+craft-eps = { git = "https://github.com/storytold/craft-libs", rev = "2680a3b3fe464c7afa3d260b33a828fa94e12f6d" }
# DXF tags, reader and writer (craft-libs#778, #926, #927).
-craft-plotter = { git = "https://github.com/storytold/craft-libs", rev = "3238a3eca8af59ba13ee04a39f3527979e1dc33d" }
-craft-dxf = { git = "https://github.com/storytold/craft-libs", rev = "3238a3eca8af59ba13ee04a39f3527979e1dc33d" }
+craft-plotter = { git = "https://github.com/storytold/craft-libs", rev = "2680a3b3fe464c7afa3d260b33a828fa94e12f6d" }
+craft-dxf = { git = "https://github.com/storytold/craft-libs", rev = "2680a3b3fe464c7afa3d260b33a828fa94e12f6d" }
# WMF, EMF and EMF+ reader (craft-libs#778).
-craft-metafile = { git = "https://github.com/storytold/craft-libs", rev = "3238a3eca8af59ba13ee04a39f3527979e1dc33d" }
-craft-xml = { git = "https://github.com/storytold/craft-libs", rev = "3238a3eca8af59ba13ee04a39f3527979e1dc33d" }
-craft-image-codecs = { git = "https://github.com/storytold/craft-libs", rev = "3238a3eca8af59ba13ee04a39f3527979e1dc33d" }
-craft-gif = { git = "https://github.com/storytold/craft-libs", rev = "3238a3eca8af59ba13ee04a39f3527979e1dc33d" }
-craft-tiff = { git = "https://github.com/storytold/craft-libs", rev = "3238a3eca8af59ba13ee04a39f3527979e1dc33d" }
-craft-ps = { git = "https://github.com/storytold/craft-libs", rev = "3238a3eca8af59ba13ee04a39f3527979e1dc33d", default-features = false, features = ["read", "write"] }
-craft-psd = { git = "https://github.com/storytold/craft-libs", rev = "3238a3eca8af59ba13ee04a39f3527979e1dc33d" }
-craft-stream-codecs = { git = "https://github.com/storytold/craft-libs", rev = "3238a3eca8af59ba13ee04a39f3527979e1dc33d" }
-craft-jxl = { git = "https://github.com/storytold/craft-libs", rev = "3238a3eca8af59ba13ee04a39f3527979e1dc33d" }
-craft-codepage = { git = "https://github.com/storytold/craft-libs", rev = "3238a3eca8af59ba13ee04a39f3527979e1dc33d" }
+craft-metafile = { git = "https://github.com/storytold/craft-libs", rev = "2680a3b3fe464c7afa3d260b33a828fa94e12f6d" }
+craft-xml = { git = "https://github.com/storytold/craft-libs", rev = "2680a3b3fe464c7afa3d260b33a828fa94e12f6d" }
+craft-image-codecs = { git = "https://github.com/storytold/craft-libs", rev = "2680a3b3fe464c7afa3d260b33a828fa94e12f6d" }
+craft-gif = { git = "https://github.com/storytold/craft-libs", rev = "2680a3b3fe464c7afa3d260b33a828fa94e12f6d" }
+craft-tiff = { git = "https://github.com/storytold/craft-libs", rev = "2680a3b3fe464c7afa3d260b33a828fa94e12f6d" }
+craft-ps = { git = "https://github.com/storytold/craft-libs", rev = "2680a3b3fe464c7afa3d260b33a828fa94e12f6d", default-features = false, features = ["read", "write"] }
+craft-psd = { git = "https://github.com/storytold/craft-libs", rev = "2680a3b3fe464c7afa3d260b33a828fa94e12f6d" }
+craft-stream-codecs = { git = "https://github.com/storytold/craft-libs", rev = "2680a3b3fe464c7afa3d260b33a828fa94e12f6d" }
+craft-jxl = { git = "https://github.com/storytold/craft-libs", rev = "2680a3b3fe464c7afa3d260b33a828fa94e12f6d" }
+craft-codepage = { git = "https://github.com/storytold/craft-libs", rev = "2680a3b3fe464c7afa3d260b33a828fa94e12f6d" }
# The framework facade (`craft::ui`, `craft::settings`, `craft::platform`, ...). No default features: each crate names
# the members it imports.
-craft = { git = "https://github.com/storytold/craft-libs", rev = "3238a3eca8af59ba13ee04a39f3527979e1dc33d" }
+craft = { git = "https://github.com/storytold/craft-libs", rev = "2680a3b3fe464c7afa3d260b33a828fa94e12f6d" }
# Below the egui layer, so not through the facade: the colour harmony rules and their settings (craft-color-ui
# without its `ui` feature), the colour type they work in, and the craft-fonts tables the text crate's build writes.
-craft-color-ui = { git = "https://github.com/storytold/craft-libs", rev = "3238a3eca8af59ba13ee04a39f3527979e1dc33d" }
-craft-theme = { git = "https://github.com/storytold/craft-libs", rev = "3238a3eca8af59ba13ee04a39f3527979e1dc33d" }
-craft-fonts-build = { git = "https://github.com/storytold/craft-libs", rev = "3238a3eca8af59ba13ee04a39f3527979e1dc33d" }
+craft-color-ui = { git = "https://github.com/storytold/craft-libs", rev = "2680a3b3fe464c7afa3d260b33a828fa94e12f6d" }
+craft-theme = { git = "https://github.com/storytold/craft-libs", rev = "2680a3b3fe464c7afa3d260b33a828fa94e12f6d" }
+craft-fonts-build = { git = "https://github.com/storytold/craft-libs", rev = "2680a3b3fe464c7afa3d260b33a828fa94e12f6d" }
+# Nightly profile isolation, launch protocol, and security fence.
+craft-nightly = { git = "https://github.com/storytold/craft-libs", rev = "2680a3b3fe464c7afa3d260b33a828fa94e12f6d" }
# internal
vectorcraft-geom = { path = "crates/geom" }
vectorcraft-color = { path = "crates/color" }
@@ -84,7 +90,6 @@ vectorcraft-apischema = { path = "crates/apischema" }
# foundation
kurbo = { version = "0.13", features = ["serde"] }
-peniko = "0.6"
thiserror = "2"
serde = { version = "1", features = ["derive", "rc"] }
serde_json = { version = "1", features = ["float_roundtrip"] }
@@ -154,10 +159,8 @@ egui = "0.37"
egui_extras = { version = "0.37", default-features = false, features = ["svg"] }
eframe = { version = "0.37", default-features = false }
egui_kittest = "0.37"
-rfd = "0.17"
arboard = { version = "3.6", default-features = false }
clipboard-win = "5.4"
-webbrowser = "1"
[workspace.lints.rust]
unsafe_code = "deny"
@@ -191,25 +194,22 @@ lto = "thin"
codegen-units = 1
[patch.crates-io]
-hayro-syntax = { git = "https://github.com/storytold/craft-libs", rev = "3238a3eca8af59ba13ee04a39f3527979e1dc33d" }
-hayro-interpret = { git = "https://github.com/storytold/craft-libs", rev = "3238a3eca8af59ba13ee04a39f3527979e1dc33d" }
-hayro-jbig2 = { git = "https://github.com/storytold/craft-libs", rev = "3238a3eca8af59ba13ee04a39f3527979e1dc33d" }
-hayro-cmap = { git = "https://github.com/storytold/craft-libs", rev = "3238a3eca8af59ba13ee04a39f3527979e1dc33d" }
-hayro-postscript = { git = "https://github.com/storytold/craft-libs", rev = "3238a3eca8af59ba13ee04a39f3527979e1dc33d" }
-krilla = { git = "https://github.com/storytold/craft-libs", rev = "3238a3eca8af59ba13ee04a39f3527979e1dc33d" }
-linesweeper = { git = "https://github.com/storytold/craft-libs", rev = "3238a3eca8af59ba13ee04a39f3527979e1dc33d" }
-ecolor = { git = "https://github.com/storytold/egui.git", rev = "f5025284445ea19c35f746d96fc0b75468b3f560" }
-emath = { git = "https://github.com/storytold/egui.git", rev = "f5025284445ea19c35f746d96fc0b75468b3f560" }
-epaint = { git = "https://github.com/storytold/egui.git", rev = "f5025284445ea19c35f746d96fc0b75468b3f560" }
-epaint_default_fonts = { git = "https://github.com/storytold/egui.git", rev = "f5025284445ea19c35f746d96fc0b75468b3f560" }
-egui = { git = "https://github.com/storytold/egui.git", rev = "f5025284445ea19c35f746d96fc0b75468b3f560" }
-egui-winit = { git = "https://github.com/storytold/egui.git", rev = "f5025284445ea19c35f746d96fc0b75468b3f560" }
-egui-wgpu = { git = "https://github.com/storytold/egui.git", rev = "f5025284445ea19c35f746d96fc0b75468b3f560" }
-egui_glow = { git = "https://github.com/storytold/egui.git", rev = "f5025284445ea19c35f746d96fc0b75468b3f560" }
-egui_extras = { git = "https://github.com/storytold/egui.git", rev = "f5025284445ea19c35f746d96fc0b75468b3f560" }
-egui_kittest = { git = "https://github.com/storytold/egui.git", rev = "f5025284445ea19c35f746d96fc0b75468b3f560" }
-egui_system_font_provider = { git = "https://github.com/storytold/egui.git", rev = "f5025284445ea19c35f746d96fc0b75468b3f560" }
-eframe = { git = "https://github.com/storytold/egui.git", rev = "f5025284445ea19c35f746d96fc0b75468b3f560" }
-egui_demo_lib = { git = "https://github.com/storytold/egui.git", rev = "f5025284445ea19c35f746d96fc0b75468b3f560" }
-egui_inspection = { git = "https://github.com/storytold/egui.git", rev = "f5025284445ea19c35f746d96fc0b75468b3f560" }
-winit = { git = "https://github.com/storytold/winit.git", rev = "a517b3846ee8457d84ee4975110bfda6797c44dc" }
+hayro-syntax = { git = "https://github.com/storytold/craft-libs", rev = "2680a3b3fe464c7afa3d260b33a828fa94e12f6d" }
+hayro-interpret = { git = "https://github.com/storytold/craft-libs", rev = "2680a3b3fe464c7afa3d260b33a828fa94e12f6d" }
+hayro-jbig2 = { git = "https://github.com/storytold/craft-libs", rev = "2680a3b3fe464c7afa3d260b33a828fa94e12f6d" }
+hayro-cmap = { git = "https://github.com/storytold/craft-libs", rev = "2680a3b3fe464c7afa3d260b33a828fa94e12f6d" }
+hayro-postscript = { git = "https://github.com/storytold/craft-libs", rev = "2680a3b3fe464c7afa3d260b33a828fa94e12f6d" }
+krilla = { git = "https://github.com/storytold/craft-libs", rev = "2680a3b3fe464c7afa3d260b33a828fa94e12f6d" }
+linesweeper = { git = "https://github.com/storytold/craft-libs", rev = "2680a3b3fe464c7afa3d260b33a828fa94e12f6d" }
+ecolor = { git = "https://github.com/storytold/egui.git", rev = "07c20531f89717e461c0f387dd1f9649553f9321" }
+emath = { git = "https://github.com/storytold/egui.git", rev = "07c20531f89717e461c0f387dd1f9649553f9321" }
+epaint = { git = "https://github.com/storytold/egui.git", rev = "07c20531f89717e461c0f387dd1f9649553f9321" }
+epaint_default_fonts = { git = "https://github.com/storytold/egui.git", rev = "07c20531f89717e461c0f387dd1f9649553f9321" }
+egui = { git = "https://github.com/storytold/egui.git", rev = "07c20531f89717e461c0f387dd1f9649553f9321" }
+egui-winit = { git = "https://github.com/storytold/egui.git", rev = "07c20531f89717e461c0f387dd1f9649553f9321" }
+egui-wgpu = { git = "https://github.com/storytold/egui.git", rev = "07c20531f89717e461c0f387dd1f9649553f9321" }
+egui_glow = { git = "https://github.com/storytold/egui.git", rev = "07c20531f89717e461c0f387dd1f9649553f9321" }
+egui_extras = { git = "https://github.com/storytold/egui.git", rev = "07c20531f89717e461c0f387dd1f9649553f9321" }
+egui_kittest = { git = "https://github.com/storytold/egui.git", rev = "07c20531f89717e461c0f387dd1f9649553f9321" }
+eframe = { git = "https://github.com/storytold/egui.git", rev = "07c20531f89717e461c0f387dd1f9649553f9321" }
+winit = { git = "https://github.com/storytold/winit.git", rev = "0dfcec0eb62fda5904137a63a6dd0c3d83295f45" }
diff --git a/NOTICE b/NOTICE
index 434cd3e524..4d7c813796 100644
--- a/NOTICE
+++ b/NOTICE
@@ -45,6 +45,8 @@ fonts listed in https://github.com/storytold/craft-fonts/blob/main/ATTRIBUTION.m
Shippori Mincho, BIZ UDMincho, Noto Sans CJK SC and Noto Sans Arabic in the current manifest;
web builds BIZ UDPGothic Regular only) under the SIL
Open Font License 1.1. Their license texts ship with the release packages as OFL-.txt.
+Desktop builds with a craft-fonts checkout whose fonts/latin-manifest.txt lists Noto Sans Condensed
+SemiBold (Copyright 2022 The Noto Project Authors, SIL Open Font License 1.1) also embed that face.
PDF import decodes CJK text with Adobe's CMap resources (https://github.com/adobe-type-tools/cmap-resources),
compiled into the app through the hayro-cmap crate under the BSD 3-Clause License:
@@ -152,6 +154,17 @@ Copyright (C) 2016 Santhosh Thottingal, used under the MIT license option.
Original copyright and full license notices are preserved in each hyph-*.tex file.
Source: hyphenation/tex-hyphen, commit 5684c0f51c0b81133db2efbe60a408b4155a3ff5.
+FOGRA51 and FOGRA52 characterization data (crates/color/data/):
+Source: Fogra Forschungsgesellschaft Druck e.V., www.fogra.org,
+https://fogra.org/en/downloads/work-tools/characterisation-data. The files are distributed
+unmodified. Fogra's terms: "Free use and redistribution of the Fogra characterisation data is
+permitted, including redistribution as part of commercial and non-commercial software, provided
+that the data are distributed unmodified and Fogra is identified as the source. The designation
+FOGRAxx may be used solely to identify the respective reference data. Such use does not imply
+certification, approval or endorsement by Fogra." VectorCraft's Coated CMYK (FOGRA51) and
+Uncoated CMYK (FOGRA52) working spaces are computed from this data by VectorCraft's own code;
+they are not Fogra profiles.
+
JPEG encoder dependency notices
diff --git a/README.md b/README.md
index 158a4ca2c8..8e51d4930e 100644
--- a/README.md
+++ b/README.md
@@ -257,7 +257,7 @@ All 57 approximated Photoshop-style raster filters are available. The Effect Gal
**What's missing:**
- reliable exchange of .ai files (layer structure in real files; the editing copy a save writes keeps live effects only on paths, compound paths and groups that qualify (at most a fill and a stroke, a non-zero fill rule when filled, no large canvas) and whose appearance and effects the art-style writer supports (see [docs/file-format-parity.md](docs/file-format-parity.md)), leaves out other objects' effects other than geometry effects, and writes live objects as their art);
- an interaction-fidelity pass covering every tool's modifiers and small behaviours;
-- 3D and Materials beyond the initial live Revolve (Extrude & Bevel, Inflate, Rotate, materials);
+- the rest of 3D and Materials (base and Adobe Substance materials, shadows from lights after the first, ray-traced rendering, Turntable; see [docs/three-d.md](docs/three-d.md));
- CJK composition for vertical type (vertical type itself has initial support, with a Japanese interface);
- scripting, and the rest of Variables (image and graph kinds, dataset import);
- generative AI features.
@@ -287,7 +287,9 @@ signed and published. Every bundled asset is listed with its licence in [`ASSETS
|---|---|---|
| x64 (64-bit Intel/AMD) | `vectorcraft--windows-x64.msi` | `vectorcraft--windows-x64-portable.zip` |
| arm64 (Snapdragon and other ARM PCs) | `vectorcraft--windows-arm64.msi` | `vectorcraft--windows-arm64-portable.zip` |
-| x86 (32-bit) | `vectorcraft--windows-x86.msi` | `vectorcraft--windows-x86-portable.zip` |
+
+For 32-bit Windows, [VectorCraft v0.22.0](https://github.com/storytold/vectorcraft/releases/tag/v0.22.0)
+was the last release with both an x86 MSI and portable ZIP.
Installers and executables are code-signed.
@@ -306,13 +308,18 @@ Installers and executables are code-signed.
| Flatpak | `vectorcraft--linux-x86_64.flatpak` | `vectorcraft--linux-aarch64.flatpak` | Sandboxed; `flatpak install --user ` |
| Debian/Ubuntu | `vectorcraft--linux-x86_64.deb` | `vectorcraft--linux-aarch64.deb` | |
| Fedora/RHEL/openSUSE | `vectorcraft--linux-x86_64.rpm` | `vectorcraft--linux-aarch64.rpm` | |
+| Arch Linux | `vectorcraft--linux-x86_64.pkg.tar.zst` | `vectorcraft--linux-aarch64.pkg.tar.zst` | |
| Tarball | `vectorcraft--linux-x86_64.tar.gz` | `vectorcraft--linux-aarch64.tar.gz` | Unpack anywhere |
+RISC-V (riscv64) packages are `vectorcraft--linux-riscv64.deb`,
+`vectorcraft--linux-riscv64.rpm`, and `vectorcraft--linux-riscv64.tar.gz`.
+
### FreeBSD
| Build | File |
|---|---|
| x86_64 | `vectorcraft--freebsd-x86_64.tar.gz` |
+| aarch64 (ARM64) | `vectorcraft--freebsd-aarch64.tar.gz` |
### Web (WebAssembly)
diff --git a/ROADMAP.md b/ROADMAP.md
index 90a6100167..e317f148d8 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -2,7 +2,7 @@
**Stage: alpha** · next: beta, ~13 points (ready for real work ~62% → ~75%, and reliable `.ai` exchange) and ~170–270 h away
-> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-11-15 · **Change:** minor (G5: built-in Neon & Glow graphic style library (Cyan Neon, Magenta Laser, Amber Tube, Electric Lime, Pulse Violet, Cobalt Phosphor); G5 estimate unchanged (3–13 h); previously: Tech Circuit brush library, G5; previously: docs tidy-up, no content change: stray notes at the top moved into the revision table; scores and estimates unchanged; previously minor: Raster effects 85% → 88%, gallery thumbnails and in-dialog preview in; headline numbers unchanged; Symbols area ~87% → ~88%: dynamic instance parts take opacity, blend, gradient and pattern on the canvas; G5 docs sync for Overlap and Pattern auto corners; previously minor: Tools stays beside the canvas with left-side panels; Hindi catalog draft complete under the translation tests; contributor loanword terminology reviewed; wider proofreading welcome; Compound Shapes add-on, beyond Illustrator; scores and estimates unchanged; Contour add-on, beyond Illustrator; scores and estimates unchanged; new gradients follow document color mode; scores and estimates unchanged) · **Target:** Adobe Illustrator 2026 (30.x)
+> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-11-22 · **Change:** minor (Upcoming: G11 names what is left (#864's unit preference, #885), not the fixed Shape Builder regions and Asset Export borders, with docs/roadmap.md's 6–13 h, and the Essentials row names Shape Builder's remaining depth, #8314; previously: G5: built-in Neon & Glow graphic style library (Cyan Neon, Magenta Laser, Amber Tube, Electric Lime, Pulse Violet, Cobalt Phosphor); G5 estimate unchanged (3–13 h); previously: Tech Circuit brush library, G5; previously: docs tidy-up, no content change: stray notes at the top moved into the revision table; scores and estimates unchanged; previously minor: Raster effects 85% → 88%, gallery thumbnails and in-dialog preview in; headline numbers unchanged; Symbols area ~87% → ~88%: dynamic instance parts take opacity, blend, gradient and pattern on the canvas; G5 docs sync for Overlap and Pattern auto corners; previously minor: Tools stays beside the canvas with left-side panels; Hindi catalog draft complete under the translation tests; contributor loanword terminology reviewed; wider proofreading welcome; Compound Shapes add-on, beyond Illustrator; scores and estimates unchanged; Contour add-on, beyond Illustrator; scores and estimates unchanged; new gradients follow document color mode; scores and estimates unchanged) · **Target:** Adobe Illustrator 2026 (30.x)
VectorCraft is a clean-room, open-source, pure-Rust reimplementation of the Adobe Illustrator workflow. It runs
on macOS, Windows, Linux, FreeBSD and the web (WASM), and agents can drive all of it over MCP, the CLI and a JSON
@@ -35,7 +35,7 @@ blocking it ([Alpha gate](docs/roadmap.md#alpha-gate)).
|---|---:|---:|---:|---|
| **Full Illustrator** (ready for real work; decides the stage) | **~62%** (57–67%) | **~340–560 h** | ~95–160 h | the mainstream work below, plus 3D (50–85 h), raster effects (23–39 h), advanced type (20–28 h), generative AI (30–60 h), localization (50–85 h) and ecosystem |
| **Mainstream illustrator** | **~65%** (60–70%) | **~230–380 h** | ~65–110 h | the interaction-fidelity pass (60–90 h), hardening and QA (30–50 h), stability (20–35 h), performance budgets (15–25 h), `.ai` exchange (10–20 h), the remaining depth of the everyday areas |
-| **Essentials user** | **~75%** (70–80%) | **~60–105 h** | ~25–45 h | launch and stability on Windows (20–35 h), in-app help and onboarding (8–15 h), basic QA (10–15 h), Shape Builder regions (4–8 h), UI polish |
+| **Essentials user** | **~75%** (70–80%) | **~60–105 h** | ~25–45 h | launch and stability on Windows (20–35 h), in-app help and onboarding (8–15 h), basic QA (10–15 h), Shape Builder depth (4–8 h; #937's reproduced case is fixed, unconfirmed on the reporter's file), UI polish |
Hours are Opus 5.5 agent wall-clock hours, calibrated from this repo's merged-PR timestamps (e.g. 0.7–1.2 h per
Photoshop-style filter, ~0.8 h per medium feature); see [calibration](docs/target-app-parity.md#calibration).
@@ -119,11 +119,13 @@ Ranked; detail in [docs/roadmap.md](docs/roadmap.md) and [docs/gaps.md](docs/gap
1. **Interaction-fidelity pass** (G1), tool by tool from [ui-parity.md](docs/ui-parity.md): 60–90 h.
2. **`.ai` files from real users** (G9): layer structure, guides, speed: 10–20 h.
3. **Launch and stability on real machines** (G10): 20–35 h.
-4. **Core-tool correctness** (G11: Shape Builder regions, Asset Export borders): 8–15 h.
+4. **Core-tool correctness** (G11: the unit preference reverting to points, #864, SVG export units fixed; a Transform effect in a fill's or stroke's own effects, #885; Shape Builder regions and Asset Export borders are fixed): 6–13 h.
5. **Then:** type core and advanced type (G4), the Illustrator 2026 additions (G13), 3D (G3). The Effect Gallery's filter thumbnails and in-dialog preview are in (G2).
## Progress log
+- 2026-11-20: Color conversion indexes global swatch bases and linked-paint lookups (#8804); scores, estimates and measured budgets unchanged.
+
- 2026-11-18: Built-in symbol library Media Controls: adds a seventh procedural symbol library (Window › Symbol Libraries, the Symbols panel's Symbol Libraries Menu) containing six original vector symbols (Play, Pause, Stop, Skip Next, Shuffle, Repeat) generated in code without default 9-slice guides (part of Gap 5). Headline numbers unchanged.
- 2026-11-14: Built-in symbol library Weather Icons: adds a sixth procedural symbol library (Window › Symbol Libraries, the Symbols panel's Symbol Libraries Menu) containing six original vector symbols (Sun, Moon, Cloud, Rain, Thunder, Snow) generated in code without default 9-slice guides (part of Gap 5). Headline numbers unchanged.
@@ -142,13 +144,18 @@ Ranked; detail in [docs/roadmap.md](docs/roadmap.md) and [docs/gaps.md](docs/gap
- 2026-11-14: Packaging Tools add-on (Object › Plug-ins › Packaging Tools): fold line roles for dielines (Cut, Crease, Partial Cut, Perforation), each carried by the swatch on a path's top stroke through a per-document role table that native files keep; PDF prints a role line on its swatch's separation when that swatch is a spot color, as the default role swatches are, and SVG, DXF and HP-GL keep the stroke's color. Make Cut Line, Make Crease Line, Make Partial Cut Line and Make Perforation Line give the selected paths a role, overprinting by default, and make a missing role swatch; the Fold Lines panel counts each role in the selection or the document, and its Role Swatches… picks another swatch for a role (`addon.packaging.setRole`, `addon.packaging.roles`, `addon.packaging.setRoleSwatch`). A VectorCraft addition: headline numbers unchanged.
- 2026-11-16: Check Fold Lines in the Packaging Tools add-on (Object › Plug-ins › Packaging Tools, and the Fold Lines panel's Check button): the fold lines of the selection or the document are split into blanks, panels and hinges (cut lines bound the material, and creases, partial cuts and perforations divide it into panels), and 15 kinds of issue are listed, errors and warnings, each naming its lines: cut lines that enclose nothing or end loose, gaps closed within a tolerance, a cut on top of a crease, duplicate lines, creases that end inside a panel, divide nothing, lie outside the blank or are not straight, gaps too narrow to map, fold lines in a hole, panels joined by no crease, and fold lines on a non-printing layer. The panel lists the issues in the interface language; clicking one selects its lines (`addon.packaging.check`). A VectorCraft addition: headline numbers unchanged.
- 2026-11-16: Fold Preview in the Packaging Tools add-on (Object › Plug-ins › Packaging Tools, and the Fold Lines panel's Fold Preview button): a window that folds the document's blank into its 3D shape about its largest panel, or the panel double-clicked, with the printed art on the outside of each panel (fold lines and non-printing layers left out, unless Show Fold Lines is on) and the board's inside color on the back. Creases and perforations fold 90° away from the print and partial cuts 90° toward it; a Fold slider goes from flat to folded, and the view turns by dragging and the arrow keys, zooms, moves and takes a perspective and seven view presets. The status line says when a joint does not close or two panels pass through each other (`addon.packaging.fold`, `ui.foldPreview`). A VectorCraft addition: headline numbers unchanged.
+- 2026-11-19: Set Fold Angle in the Packaging Tools add-on (Object › Plug-ins › Packaging Tools, and a Fold Angle field with Reset in the Fold Lines panel): a crease, partial cut or perforation line can fold at its own angle, from -180° to 180°, instead of its role's 90° away from or toward the print; native files keep the angle, and the Fold Preview folds each hinge at the angle of the line with the most length in it (`addon.packaging.setFoldAngle`). A VectorCraft addition: headline numbers unchanged.
- 2026-11-02: Mouse wheel over a closed font-family field in Character, Properties or Control changes selected text through the family list using saved font filters (excluding search text), one undo step per notch, stopping at the ends (#5253). Scores and estimates unchanged.
- 2026-11-17: Curvature Circle tool (after the Circle tool in its group): a click on a path draws the circle that touches it there and bends as it bends, on the side it bends toward, or with Shift on the other side; a segment that is the usual cubic of a circular arc of 90° or less gives the arc's own radius, so a click on a circle draws that circle; the tool shows the circle, its center and its radius (with an asterisk for an arc's radius) until the click, or "Straight segment", "Cusp", "Corner" or "Circle too large" where it draws none (`shape.curvatureCircle`). One undo step per circle. A VectorCraft addition: headline numbers unchanged.
+- 2026-11-20: Curvature Circle Tool Options (double-click the Curvature Circle tool): Snap Tolerance sets how near a path pulls the pointer, Snap with Smart Guides Off unchecked keeps it within the selection tolerance while Smart Guides are off, Annotate Radius hides the radius label, Anchors at Standard Positions off puts an anchor where the circle touches the path and one every 90° from there, and Use the Radius of Circular Arcs off gives a circular arc's own cubic curvature (`tool.setOption {tool: "curvatureCircle"}`). A VectorCraft addition: headline numbers unchanged.
- 2026-11-15: Circle through three points: three Shift-clicks with the Ellipse tool, or `shape.circleThroughPoints` with three points or three selected anchor points, draw the circle whose edge passes through them, with the current paint, in one undo step; after two points the tool previews the circle through the pointer, and two points that are the same or three on one line are refused with a message. Scores and estimates unchanged.
- 2026-11-17: Circle tool (after the Ellipse tool in its group): two clicks or a drag draw the circle on that diameter, and a click followed by a drag from a second point to a third draws the circle through the three; Shift keeps the diameter at 45° steps, Alt rounds a two-point circle's diameter to the rulers' ticks at the current zoom, points snap to Smart Guides, and the tool shows the circle, its center, its radii and its diameter until the release, or "Circle too large" for points on one line or a circle past the canvas. `shape.circleThroughPoints` also takes two points or two selected anchor points as the ends of a diameter. One undo step per circle. A VectorCraft addition: headline numbers unchanged.
- 2026-11-17: Circle Tool Options (double-click the Circle tool): Show Center, Show Radii and Show Diameter switch what the tool shows while a circle is drawn, Color sets the color of the center cross and radius lines, Anchors at Standard Positions off puts the circle's anchors at the points it was drawn through (`shape.circleThroughPoints {anchors: "points"}`), and Third Point by Dragging off draws a three-point circle with three clicks and a two-point circle with a double-click on the second point. A VectorCraft addition: headline numbers unchanged.
+- 2026-11-17: Circle tool, From Center (a Control bar checkbox, `tool.setOption` `fromCenter`): the first point is the circle's center and the outline passes through the pointer, which snaps to Smart Guides and anchor points, so a circle centered on one corner of a rectangle can pass through the opposite corner; `shape.circleThroughPoints {center, points: [[x, y]]}` draws it. One undo step per circle. A VectorCraft addition: headline numbers unchanged.
- 2026-11-19: Quick Pen tool, in the Pen tool's group (Alt+P, Option+P on macOS): clicks or drags add straight lines, continuous arcs or sharp-corner arcs; Alt tapped on its own switches the action, C flips the last arc, `[` and `]` size it, a click on the first point closes the path and a click on an open end continues it (`path.quickPen`, part of #2660). Headline numbers unchanged.
+- 2026-11-19: Quick Pen length handles: a handle beyond the start and the end of the path being drawn, or of the selected path, makes the line or arc there longer or shorter when dragged; a line keeps its direction and an arc its circle (`path.quickPenLength`, part of #2660). Headline numbers unchanged.
- 2026-11-19: Quick Pen toolbar on the canvas while the tool is active: Straight Line, Continuous Arc and Sharp Corner Arc, Flip Arc, and More Options with Hide Toolbar, Pin Toolbar Position and Reset Toolbar Position; it follows the drawing beside the path's last point and its handle drags it (`tool.quickPen.flipArc`, `window.quickPenToolbar`, Window › Quick Pen Toolbar; part of #2660). Headline numbers unchanged.
+- 2026-11-19: Quick Pen editing: with no path being drawn, a drag on an anchor or a segment of a selected path moves it, a line staying a line and an arc an arc beside a moved corner anchor (at a smooth anchor the handles stay in line and the segments bend to meet); a click selects an anchor, Shift-click adds one, and the canvas context menu's Delete removes the selected anchors (`path.moveAnchors`, `edit.clear`; #2660). Headline numbers unchanged.
- 2026-10-31: Pattern libraries: Window › Swatch Libraries › Patterns and the Swatches panel's library menu open Geometric Patterns, a built-in library of eleven pattern swatches (dots, stripes, checks, a grid and shapes); clicking one adds its pattern and swatch to the document, once, and applies it to the active fill or stroke (`swatch.library.add`).
- 2026-11-11: Pattern libraries: Patterns › Grit Textures, a second built-in pattern library, holds eight seamless black textures (Fine Grain, Coarse Grit, Sand, Speckle, Stipple, Scratches, Sparse Flecks and Dense Flecks) on tiles of 18 to 36 pt, each drawn the same way every time; marks that reach past a tile edge continue on the next tile, so the tiles join without a seam (`swatch.library.add`). Scores and estimates unchanged.
- 2026-11-11: Pattern libraries: Patterns › Optical Effects, a third built-in pattern library, of VectorCraft's own designs, holds eight black wave, moiré and op-art tiles (Sine Bands, Ripple Lines, Interference Rings, Offset Rings, Warped Checks, Pinched Stripes, Chevron Pulse and Radiating Lenses) of 32 to 48 pt, each drawn the same way every time; each tile is one period of its design, and art that reaches past a tile edge continues on the next tile, so the tiles join without a seam (`swatch.library.add`). Scores and estimates unchanged.
@@ -156,8 +163,11 @@ Ranked; detail in [docs/roadmap.md](docs/roadmap.md) and [docs/gaps.md](docs/gap
- 2026-11-01: Expand Dashes into Paths joins the Path Precision Tools add-on (Object › Plug-ins › Path Precision Tools): each selected path's dashed stroke becomes separate open paths, one per dash, laid out exactly as the stroke draws them (pattern, offset, Align Dashes to Corners and Path Ends), each keeping the stroke with the dashes off, so the gaps are real gaps for cutters and plotters, as one undo step (`addon.pathtools.expandDashes`, #4922).
- 2026-11-01: Randomize Opacity joins the Arrange Tools add-on (Object › Plug-ins › Arrange Tools): each selected object gets its own opacity at random between a minimum and a maximum percent, with a seed that repeats the result, as one undo step (`addon.arrange.randomizeOpacity`, #4925).
- 2026-11-01: Sort Objects joins the Arrange Tools add-on (Object › Plug-ins › Arrange Tools): the selected objects are sorted by width, height, area, position, opacity or stacking order (small to large, large to small or at random) and take another of those in that order, trading their values or stepping them evenly, as one undo step (`addon.arrange.sort`, #4917).
+- 2026-11-29: Match Objects joins the Arrange Tools add-on (Object › Plug-ins › Arrange Tools): the other selected objects take the width, the height or both, the bounding-box angle and the stacking place of the key object, or of the top or the bottom selected object, about a reference point, with Preview, as one undo step (`addon.arrange.match`). A VectorCraft addition: headline numbers unchanged.
+- 2026-11-29: Offset Objects joins the Arrange Tools add-on (Object › Plug-ins › Arrange Tools): the selected objects are chained one after another in a row or a column with a set gap (negative to overlap them), in stacking order or by position, either way; the first stays in place and the others move only along the row or column, as one undo step (`addon.arrange.offset`). A VectorCraft addition: headline numbers unchanged.
- 2026-11-15: Tangent Circle joins the Path Precision Tools add-on (Object › Plug-ins › Path Precision Tools): the circles that touch two selected paths or compound paths at a set radius, or three of them (up to eight for three circles), touching each outline without crossing it; circles, rotated ellipses and other paths alike. A dialog that previews every circle or one picked by number, the current paint, one undo step (`addon.pathtools.tangentCircle`). A VectorCraft addition: headline numbers unchanged.
- 2026-11-17: Add Bounding Rectangle and Add Bounding Circle join the Path Precision Tools add-on (Object › Plug-ins › Path Precision Tools): a live rectangle on the selection's geometric bounding box, or the smallest live circle that holds its outlines, around the whole selection or around each object, with the current paint and one undo step; the menu items open a dialog with Offset, One per Object and Preview (`addon.pathtools.boundingRectangle`, `addon.pathtools.boundingCircle`, #6966). A VectorCraft addition: headline numbers unchanged.
+- 2026-11-22: Add Inscribed Circle joins the Path Precision Tools add-on (Object › Plug-ins › Path Precision Tools): the largest live circle inside each selected closed path or compound path, in the area it fills under its fill rule, with the current paint and one undo step (`addon.pathtools.inscribedCircle`, #6966). A VectorCraft addition: headline numbers unchanged.
- 2026-11-01: New Symbols from Layers joins the Document Tools add-on (Object › Plug-ins › Document Tools): one symbol of each top-level layer's art (the layers highlighted in the Layers panel when two or more are, else every layer), named after the layer, made as New Symbol makes one; Convert Layers to Symbols also puts an instance of each in place of its layer's art. Empty layers are skipped and reported; one undo step. A VectorCraft addition: headline numbers unchanged.
- 2026-11-01: Document Tools, a built-in add-on (Object › Plug-ins › Document Tools), starts with Save a Timestamped Copy: a copy of the document named `_YYYY-MM-DD_HH-MM` (UTC; `-2`, `-3`… when that name is taken) goes next to it, or into a folder picked for a document never saved, written as File › Save a Copy writes it, so the document keeps its path, title and modified state. Off on the web, which has no clock. A VectorCraft addition: headline numbers unchanged.
- 2026-11-01: Divide into Dashes joins the Path Precision Tools add-on (Object › Plug-ins › Path Precision Tools): the selected paths, or only their direct-selected segments, are cut into separate open paths of a dash length measured along the curve, with an optional gap (left empty, or kept as pieces), each keeping the path's appearance; Fit to Corners and Ends stretches or squeezes the lengths so every run starts and ends on a dash. A dialog with Preview, one undo step, at most 100000 pieces. A VectorCraft addition: headline numbers unchanged.
@@ -166,6 +176,7 @@ Ranked; detail in [docs/roadmap.md](docs/roadmap.md) and [docs/gaps.md](docs/gap
- 2026-11-18: Common Tangents also takes a point (a path of one anchor) and a convex closed path: the lines from the point that touch the path, and the line from the point to the path's center if asked; a point on the outline gets the one tangent there, and a point inside gets none, with a message (#7846). A VectorCraft addition: headline numbers unchanged.
- 2026-11-15: With Smart Guides and Snap to Tangent on, a Line Segment drag pressed on one convex curved path and dragged near another lands on a common tangent of the two: both ends move to where the line touches the paths, each labeled "tangent" (#7845). A VectorCraft addition: headline numbers unchanged.
- 2026-11-17: Three-Point Arc tool, in the Line Segment tool's group after the Arc tool: two ends placed by a drag or two clicks, then a third point the open circular arc passes through, or with Third Point Sets Direction (Tool Options, or `]` while drawing) the direction the arc leaves an end in; it previews the arc, its center and, with Measurement Labels on, its radius, and draws it in one undo step (`shape.threePointArc`). Points with no arc are refused with a message. A VectorCraft addition: headline numbers unchanged.
+- 2026-11-28: The Three-Point Arc tool joins an arc to the open paths whose ends its ends are placed on, with Join to Open Path Ends (Tool Options, or J while drawing; `shape.threePointArc` `join`), and in direction mode snaps the third point to where the arc carries an open path on, the same way or turned back (Snap Where the Arc Continues a Path, on by default). Headline numbers unchanged.
- 2026-11-15: Smooth Bridge joins the Path Precision Tools add-on (Object › Plug-ins › Path Precision Tools): two selected circles become one closed outline joined by two concave arcs that touch both circles, so every anchor is smooth; the arcs' radius is a percentage of the smaller circle's radius (1 to 1000%, 100% by default), and Keep Originals adds the outline above the circles instead of replacing them. A dialog with Preview, one undo step (`addon.pathtools.bridge`). A VectorCraft addition: headline numbers unchanged.
- 2026-11-18: Smooth Bridge also joins three or more circles: every two whose outlines are within Reach (10 pt by default) are joined, the bridges that connect become one shape each, and a circle bridged to no other stays as it is (at most 2000 circles); with Constant Gap the arcs' radius is the smaller circle's radius plus a gap (#8030). A VectorCraft addition: headline numbers unchanged.
- 2026-11-03: Text Tweaker, the first tool of the Type Tools add-on (Object › Plug-ins › Type Tools): one character attribute (size, baseline shift, rotation, horizontal or vertical scale, tracking, leading or stroke weight) goes letter by letter from a start value to an end value along a straight ramp, an ease, a bow, a spike or at random with a seed, set as the Character panel sets it, while the text stays live; a dialog with Preview, one undo step (`addon.type.textTweaker`, #4924). A VectorCraft addition: headline numbers unchanged.
@@ -249,6 +260,8 @@ The full earlier record of what landed is kept in [docs/roadmap.md](docs/roadmap
| Date | Change | Summary |
|---|---|---|
+| 2026-11-20 | minor | Color conversion indexes global swatch bases and linked-paint lookups (#8804); scores, estimates and measured budgets unchanged. |
+| 2026-11-22 | minor | Upcoming: the G11 item names what is left, the unit preference reverting to points (#864; SVG export units are fixed) and a Transform effect in a fill's or stroke's own effects (#885), instead of Shape Builder regions and Asset Export borders, which are fixed (#937, #983 / #1037); its estimate follows docs/roadmap.md and docs/gaps.md, 8–15 → 6–13 h, #8314. The Essentials readiness row's Shape Builder item names what its 4–8 h still covers (checking #937's fix on the reporter's file, still unconfirmed). Headline numbers unchanged. |
| 2026-11-15 | minor | Graphic Styles: built-in Neon & Glow graphic style library (Cyan Neon, Magenta Laser, Amber Tube, Electric Lime, Pulse Violet, Cobalt Phosphor); G5 estimate unchanged (3–13 h). |
| 2026-11-14 | minor | Tech Circuit adds three original procedural brushes (Circuit Trace, Bus Lines, Terminal Nodes); ten built-in brush libraries. G5 remaining estimate 3–13 h (estimated); parity scores and headline totals unchanged. |
| 2026-11-14 | minor | Gujarati (#6613): contributor proofreading completed for all 387 additions, with 11 wording corrections; 4,673 reviewed catalog rows. Status/error messages remain partial; web selection requires a bundled Gujarati face. Scores and estimates unchanged. |
diff --git a/apps/vectorcraft-cli/src/main.rs b/apps/vectorcraft-cli/src/main.rs
index 6b4e0b8344..c01f84edd9 100644
--- a/apps/vectorcraft-cli/src/main.rs
+++ b/apps/vectorcraft-cli/src/main.rs
@@ -7,6 +7,7 @@
//! vectorcraft-cli commands
//! vectorcraft-cli convert IN OUT [--scale 2] [--ppi 300] [--artboard 0 | --range 1-3,5] [--outline-text] [--decimals N] [--replace-lossy] [--editing-data] [--legacy-name-encoding ENC] [--preserve-editing] [--ai-version 7|pdf] [--hidden-objects layer|omit|visible] [--transparent-images flatten|omit]
//! vectorcraft-cli info FILE
+//! vectorcraft-cli thumbnail [--size 256] IN OUT
//! vectorcraft-cli bench FILE [--size 2880x1800] [--iters 5]
//! vectorcraft-cli perf [--paths 50000] [--deep]
//! ```
@@ -145,6 +146,15 @@ USAGE:
read from its preview and why), title, colour mode, units, artboards, object counts by
kind, fonts.
+ vectorcraft-cli thumbnail [--size N] IN OUT
+ Open IN (any readable format) and write OUT as a PNG of its first artboard (else the art),
+ N pixels on its longer side (1 to 1024, default 256), with a transparent background. Linux
+ file managers run it for .vectorcraft, .drawcraft and .vctemplate files through
+ share/thumbnailers/ai.storyteller.vectorcraft.thumbnailer, and the Windows thumbnail
+ handler (vectorcraft_thumbnail_handler.dll) runs it for Explorer. It exits with an error
+ and writes nothing when IN is larger than 256 MiB, can't be opened, shows nothing, or takes
+ longer than 20 seconds.
+
vectorcraft-cli bench FILE [--size WxH] [--iters N]
Render FILE (any readable format) fitted to WxH (default 2880x1800) and print ms per frame
(warm), multithreaded and single-threaded.
@@ -201,6 +211,9 @@ fn main() -> ExitCode {
#[cfg(target_os = "macos")]
mac_fonts::install();
prefs_dir::install_fonts();
+ // The Language packs installed in the shared font store; `proof.installPack` returns once
+ // installed.
+ prefs_dir::use_language_packs();
let mut args: Vec = std::env::args().skip(1).collect();
// Before any subcommand attaches the plug-in folder.
let safe_mode = args.first().is_some_and(|a| a == "--safe-mode");
@@ -217,6 +230,7 @@ fn main() -> ExitCode {
Some("commands") => commands(),
Some("convert") => convert(&args[1..]),
Some("info") => info(&args[1..]),
+ Some("thumbnail") => thumbnail(&args[1..]),
Some("bench") => bench(&args[1..]),
Some("perf") => perf::run(&args[1..]),
Some("-h" | "--help" | "help") | None => help(),
@@ -238,11 +252,13 @@ fn main() -> ExitCode {
/// A headless session that remembers what the user keeps between runs: the PDF presets saved, the
/// ICC profiles loaded, the plug-ins installed (#2168, #2174, #2541), the custom dictionary's words (#4936) and the Color Settings (#6335), in the folders
/// and files next to the preferences that the desktop app uses too, and lists the scripts of the Scripts folder there
-/// (`script.listInstalled`), keeps each script's `Folder.userData` in the Script Data folder there, keeps File Info's
+/// (`script.listInstalled`) and finds its Startup Scripts folder (`script.startup.run`, never run on its own), keeps each
+/// script's `Folder.userData` in the Script Data folder there, keeps File Info's
/// metadata templates there and starts new documents from the New Document profiles there. `VECTORCRAFT_NO_PREFS` and
/// `VECTORCRAFT_CONFIG_DIR` apply as they do there.
fn with_stores(mut h: Headless) -> Headless {
prefs_dir::attach_scripts_dir(&mut h.session);
+ prefs_dir::attach_startup_scripts_dir(&mut h.session);
prefs_dir::attach_script_data(&mut h.session);
prefs_dir::attach_metadata_templates_dir(&mut h.session);
prefs_dir::attach_new_doc_profiles(&mut h.session);
@@ -519,6 +535,83 @@ fn info(args: &[String]) -> Result<(), String> {
Ok(())
}
+/// Largest file `thumbnail` opens, in bytes on disk.
+const THUMBNAIL_MAX_FILE: u64 = 256 << 20;
+/// Largest `--size` of `thumbnail`: the thumbnail standard's largest size, xx-large.
+const THUMBNAIL_MAX_SIZE: u32 = 1024;
+/// `--size` when it isn't given: the thumbnail standard's large size.
+const THUMBNAIL_DEFAULT_SIZE: u32 = 256;
+/// Longest `thumbnail` runs before it exits without writing OUT.
+const THUMBNAIL_TIME: std::time::Duration = std::time::Duration::from_secs(20);
+
+/// `thumbnail`: the PNG a Linux file manager shows for a document, run through the
+/// `.thumbnailer` entry in `packaging/linux`
+/// (), and the
+/// picture the Windows thumbnail handler (`apps/vectorcraft-thumbnail-handler`) gives Explorer.
+fn thumbnail(args: &[String]) -> Result<(), String> {
+ if help_requested(args, &["--size", "-s"]) {
+ return help();
+ }
+ let mut files = vec![];
+ let mut size = THUMBNAIL_DEFAULT_SIZE;
+ let mut it = args.iter();
+ while let Some(a) = it.next() {
+ match a.as_str() {
+ "--size" | "-s" => {
+ size = it
+ .next()
+ .and_then(|v| v.parse().ok())
+ .filter(|n| (1..=THUMBNAIL_MAX_SIZE).contains(n))
+ .ok_or_else(|| format!("--size needs a number of pixels from 1 to {THUMBNAIL_MAX_SIZE}"))?;
+ }
+ other if other.starts_with('-') => return Err(format!("unknown thumbnail option `{other}`")),
+ f => files.push(f),
+ }
+ }
+ let [input, output] = <[&str; 2]>::try_from(files).map_err(|_| "thumbnail needs IN and OUT")?;
+ // The process ends when the time is up, wherever the work is: OUT is written whole or not at all.
+ std::thread::spawn(|| {
+ std::thread::sleep(THUMBNAIL_TIME);
+ eprintln!("vectorcraft-cli: thumbnail: took longer than {} seconds", THUMBNAIL_TIME.as_secs());
+ std::process::exit(1);
+ });
+ let len = std::fs::metadata(input).map_err(|e| format!("{input}: {e}"))?.len();
+ if len > THUMBNAIL_MAX_FILE {
+ return Err(format!("{input}: larger than {} MiB", THUMBNAIL_MAX_FILE >> 20));
+ }
+ // Opened as the app opens it: the fonts it carries, its type measured, its linked files read.
+ let mut h = Headless::new();
+ h.call("app.open", json!({"path": input})).map_err(|e| format!("{input}: {e}"))?;
+ let doc = &h.session.doc().map_err(|e| e.to_string())?.doc;
+ // A picture without a visible pixel is an error, and the file manager keeps the file's icon.
+ let img = vectorcraft_render::encode::first_artboard(doc, size)
+ .filter(|img| img.pixels.as_chunks::<4>().0.iter().any(|px| px[3] != 0))
+ .ok_or_else(|| format!("{input}: the document shows nothing"))?;
+ let png = img.to_png().map_err(|e| format!("{input}: {e}"))?;
+ write_whole(Path::new(output), &png, |tmp, out| std::fs::rename(tmp, out)).map_err(|e| format!("{output}: {e}"))
+}
+
+/// Writes `bytes` to a temporary file beside `out` and moves it over `out` with `rename`. When the
+/// temporary file can't be written or `rename` fails, this returns the error, removes the temporary
+/// file and leaves `out` unchanged; it never copies into `out`.
+fn write_whole(out: &Path, bytes: &[u8], rename: impl FnOnce(&Path, &Path) -> std::io::Result<()>) -> std::io::Result<()> {
+ let name = out.file_name().ok_or_else(|| std::io::Error::new(std::io::ErrorKind::InvalidInput, "not a file name"))?;
+ let mut tmp_name = std::ffi::OsString::from(".");
+ tmp_name.push(name);
+ tmp_name.push(format!(".{}.tmp", std::process::id()));
+ let tmp = out.with_file_name(tmp_name);
+ // A file already at `tmp` is not this run's: the error leaves it in place.
+ let mut f = std::fs::OpenOptions::new().write(true).create_new(true).open(&tmp)?;
+ let written = f.write_all(bytes).and_then(|()| vectorcraft_format::sync_file(&f));
+ drop(f);
+ let written = written.and_then(|()| rename(&tmp, out));
+ if written.is_err() {
+ // Best effort: the temporary file is all there is to clean up.
+ let _ = std::fs::remove_file(&tmp);
+ }
+ written
+}
+
enum Step {
Cmd(String, Value),
Export(String),
@@ -768,3 +861,41 @@ fn bench(args: &[String]) -> Result<(), String> {
}
Ok(())
}
+
+#[cfg(test)]
+mod write_whole_tests {
+ use super::write_whole;
+
+ #[test]
+ fn a_failed_rename_leaves_out_unchanged_and_no_temporary_file() {
+ let dir = tempfile::tempdir().unwrap_or_else(|e| panic!("{e}"));
+ let out = dir.path().join("out.png");
+ std::fs::write(&out, b"old").unwrap_or_else(|e| panic!("{e}"));
+ let refused = write_whole(&out, b"new picture", |_, _| Err(std::io::Error::other("refused")));
+ assert!(refused.is_err());
+ assert_eq!(std::fs::read(&out).unwrap_or_else(|e| panic!("{e}")), b"old");
+ let names: Vec<_> = std::fs::read_dir(dir.path()).unwrap_or_else(|e| panic!("{e}")).flatten().map(|e| e.file_name()).collect();
+ assert_eq!(names, ["out.png"]);
+ }
+
+ #[test]
+ fn a_file_already_at_the_temporary_name_is_kept() {
+ let dir = tempfile::tempdir().unwrap_or_else(|e| panic!("{e}"));
+ let out = dir.path().join("out.png");
+ let tmp = dir.path().join(format!(".out.png.{}.tmp", std::process::id()));
+ std::fs::write(&tmp, b"someone else's").unwrap_or_else(|e| panic!("{e}"));
+ assert!(write_whole(&out, b"new picture", |tmp, out| std::fs::rename(tmp, out)).is_err());
+ assert_eq!(std::fs::read(&tmp).unwrap_or_else(|e| panic!("{e}")), b"someone else's");
+ assert!(!out.exists());
+ }
+
+ #[test]
+ fn a_rename_replaces_out() {
+ let dir = tempfile::tempdir().unwrap_or_else(|e| panic!("{e}"));
+ let out = dir.path().join("out.png");
+ std::fs::write(&out, b"old").unwrap_or_else(|e| panic!("{e}"));
+ write_whole(&out, b"new picture", |tmp, out| std::fs::rename(tmp, out)).unwrap_or_else(|e| panic!("{e}"));
+ assert_eq!(std::fs::read(&out).unwrap_or_else(|e| panic!("{e}")), b"new picture");
+ assert_eq!(std::fs::read_dir(dir.path()).unwrap_or_else(|e| panic!("{e}")).count(), 1);
+ }
+}
diff --git a/apps/vectorcraft-cli/tests/it/main.rs b/apps/vectorcraft-cli/tests/it/main.rs
index d898dda20a..a820d4f7b4 100644
--- a/apps/vectorcraft-cli/tests/it/main.rs
+++ b/apps/vectorcraft-cli/tests/it/main.rs
@@ -6,6 +6,7 @@ mod cli;
mod fileio;
mod mcp_e2e;
mod script;
+mod thumbnail;
/// Nextest relocates archived binaries; Cargo's compile-time path still names the build runner.
fn bin() -> std::path::PathBuf {
diff --git a/apps/vectorcraft-cli/tests/it/thumbnail.rs b/apps/vectorcraft-cli/tests/it/thumbnail.rs
new file mode 100644
index 0000000000..b75d99b158
--- /dev/null
+++ b/apps/vectorcraft-cli/tests/it/thumbnail.rs
@@ -0,0 +1,162 @@
+//! `thumbnail` and the Linux `.thumbnailer` entry that runs it for file managers.
+
+use std::path::{Path, PathBuf};
+use std::process::{Command, Output};
+
+const THUMBNAILER: &str = include_str!("../../../../packaging/linux/ai.storyteller.vectorcraft.thumbnailer");
+const MIME: &str = include_str!("../../../../packaging/linux/ai.storyteller.vectorcraft.mime.xml");
+const PACKAGE: &str = include_str!("../../../../packaging/linux/package.sh");
+
+/// Returns a new empty folder in the temp folder, removed with everything in it when the guard drops.
+fn tmp() -> tempfile::TempDir {
+ tempfile::tempdir().unwrap()
+}
+
+fn cli(args: &[&str]) -> Output {
+ Command::new(crate::bin()).args(args).output().unwrap()
+}
+
+/// Saves a `width`×`height` document with a rectangle on its artboard as `name` in `dir` and returns its path.
+fn document(dir: &Path, name: &str, width: u32, height: u32) -> PathBuf {
+ save(dir, name, width, height, &["--cmd", "shape.rectangle", "--params", r#"{"x":10,"y":10,"width":40,"height":20}"#])
+}
+
+/// Saves a new `width`×`height` document as `name` in `dir` after the `run` arguments `steps`.
+fn save(dir: &Path, name: &str, width: u32, height: u32, steps: &[&str]) -> PathBuf {
+ let path = dir.join(name);
+ let size = format!(r#"{{"width":{width},"height":{height}}}"#);
+ let mut args = vec!["run", "--cmd", "file.new", "--params", &size];
+ args.extend_from_slice(steps);
+ args.extend(["--export", path.to_str().unwrap()]);
+ let out = cli(&args);
+ assert!(out.status.success(), "{}", String::from_utf8_lossy(&out.stderr));
+ path
+}
+
+/// The width and height in a PNG's IHDR chunk, after checking that it is the 8-bit, non-interlaced
+/// RGBA a thumbnail must be ().
+fn png_size(png: &[u8]) -> (u32, u32) {
+ assert!(png.starts_with(b"\x89PNG\r\n\x1a\n") && &png[12..16] == b"IHDR", "not a PNG");
+ assert_eq!((png[24], png[25], png[28]), (8, 6, 0), "bit depth, color type (RGBA) and interlacing");
+ let be = |b: &[u8]| u32::from_be_bytes([b[0], b[1], b[2], b[3]]);
+ (be(&png[16..20]), be(&png[20..24]))
+}
+
+/// The value of `key` in the entry's `[Thumbnailer Entry]` group.
+fn entry(key: &str) -> &'static str {
+ assert_eq!(THUMBNAILER.lines().next(), Some("[Thumbnailer Entry]"));
+ THUMBNAILER.lines().find_map(|l| l.strip_prefix(key)?.strip_prefix('=')).unwrap_or_else(|| panic!("no {key} key"))
+}
+
+/// The file manager's command for the entry: `Exec` split at spaces, `%s` the size, `%i` the
+/// input path and `%o` the output path (the codes the thumbnail factories expand).
+fn exec(size: u32, input: &Path, output: &Path) -> Vec {
+ entry("Exec")
+ .split(' ')
+ .map(|arg| match arg {
+ "%s" => size.to_string(),
+ "%i" => input.to_string_lossy().into_owned(),
+ "%o" => output.to_string_lossy().into_owned(),
+ other => {
+ assert!(!other.contains('%'), "a field code the CLI doesn't take: {other}");
+ other.to_string()
+ }
+ })
+ .collect()
+}
+
+/// The entry runs the CLI with the size, the document and the PNG to write, as a file manager
+/// does: with no environment, and the PNG is the first artboard at that size, drawn by the
+/// renderer that embeds a native file's preview.
+#[test]
+fn the_thumbnailer_entry_writes_the_first_artboard() {
+ let dir = tmp();
+ let doc = document(dir.path(), "wide.vectorcraft", 200, 100);
+ let out = dir.path().join("wide.png");
+ let command = exec(128, &doc, &out);
+ assert_eq!(command[0], entry("TryExec"));
+ assert_eq!(command[0], "vectorcraft-cli");
+ let run = Command::new(crate::bin()).args(&command[1..]).env_clear().output().unwrap();
+ assert!(run.status.success(), "{}", String::from_utf8_lossy(&run.stderr));
+ let png = std::fs::read(&out).unwrap();
+ assert_eq!(png_size(&png), (128, 64));
+ let saved = vectorcraft_format::load(&std::fs::read(&doc).unwrap()).unwrap();
+ assert_eq!(Some(png), vectorcraft_render::encode::first_artboard_png(&saved, 128).unwrap(), "the renderer's picture");
+}
+
+/// Each type the entry lists is a native document type the app's MIME package declares, and the
+/// packages install the entry where the thumbnail factories look.
+#[test]
+fn the_thumbnailer_entry_covers_the_native_types() {
+ let types: Vec<&str> = entry("MimeType").split(';').filter(|t| !t.is_empty()).collect();
+ assert_eq!(types, ["application/x-vectorcraft", "application/x-vectorcraft-template"]);
+ for t in types {
+ assert!(MIME.contains(&format!("")), "the MIME package doesn't declare {t}");
+ }
+ assert!(
+ PACKAGE.contains(r#"install -Dm644 "$HERE/$APP_ID.thumbnailer" "$STAGE/usr/share/thumbnailers/$APP_ID.thumbnailer""#),
+ "package.sh doesn't install the entry"
+ );
+}
+
+/// The size defaults to 256 pixels on the longer side, and a tall artboard is fitted by its height.
+#[test]
+fn thumbnail_fits_the_longer_side() {
+ let dir = tmp();
+ let doc = document(dir.path(), "tall.vectorcraft", 100, 400);
+ let out = dir.path().join("tall.png");
+ let run = cli(&["thumbnail", doc.to_str().unwrap(), out.to_str().unwrap()]);
+ assert!(run.status.success(), "{}", String::from_utf8_lossy(&run.stderr));
+ assert_eq!(png_size(&std::fs::read(&out).unwrap()), (64, 256));
+}
+
+/// A size outside 1 to 1024 pixels, a missing file name and an unknown option are errors, and no
+/// PNG is written.
+#[test]
+fn thumbnail_refuses_bad_arguments() {
+ let dir = tmp();
+ let doc = document(dir.path(), "args.vectorcraft", 100, 100);
+ let out = dir.path().join("args.png");
+ let (d, o) = (doc.to_str().unwrap(), out.to_str().unwrap());
+ for (args, says) in [
+ (vec!["thumbnail", "--size", "0", d, o], "--size"),
+ (vec!["thumbnail", "--size", "1025", d, o], "--size"),
+ (vec!["thumbnail", "--size", "big", d, o], "--size"),
+ (vec!["thumbnail", "--size"], "--size"),
+ (vec!["thumbnail", d], "IN and OUT"),
+ (vec!["thumbnail", "--quality", "9", d, o], "--quality"),
+ ] {
+ let run = cli(&args);
+ assert!(!run.status.success(), "{args:?}");
+ assert!(String::from_utf8_lossy(&run.stderr).contains(says), "{args:?}: {}", String::from_utf8_lossy(&run.stderr));
+ assert!(!out.exists(), "{args:?} wrote a PNG");
+ }
+}
+
+/// A file that isn't a document, a damaged one, one larger than the CLI opens, a missing one and
+/// an empty document get an error and no PNG, so the file manager shows the file's icon.
+#[test]
+fn thumbnail_writes_nothing_for_files_it_cannot_read() {
+ let dir = tmp();
+ let text = dir.path().join("notes.vectorcraft");
+ std::fs::write(&text, b"not a document").unwrap();
+ let saved = std::fs::read(document(dir.path(), "whole.vectorcraft", 100, 100)).unwrap();
+ let damaged = dir.path().join("damaged.vectorcraft");
+ std::fs::write(&damaged, &saved[..saved.len() / 2]).unwrap();
+ // Sparse where the file system allows it: its size is checked before anything is read.
+ let large = dir.path().join("large.vectorcraft");
+ std::fs::File::create(&large).unwrap().set_len((256 << 20) + 1).unwrap();
+ let missing = dir.path().join("missing.vectorcraft");
+ let empty = save(dir.path(), "empty.vectorcraft", 100, 100, &[]);
+ for (input, says) in
+ [(&text, None), (&damaged, None), (&large, Some("larger than 256 MiB")), (&missing, None), (&empty, Some("the document shows nothing"))]
+ {
+ let out = dir.path().join("unreadable.png");
+ let run = cli(&["thumbnail", input.to_str().unwrap(), out.to_str().unwrap()]);
+ assert!(!run.status.success(), "{input:?}");
+ let err = String::from_utf8_lossy(&run.stderr);
+ assert!(err.contains(input.to_str().unwrap()), "{input:?}: {err}");
+ assert!(says.is_none_or(|s| err.contains(s)), "{input:?}: {err}");
+ assert!(!out.exists(), "{input:?} wrote a PNG");
+ }
+}
diff --git a/apps/vectorcraft-plugin-worker/Cargo.toml b/apps/vectorcraft-plugin-worker/Cargo.toml
new file mode 100644
index 0000000000..a2dfc0b944
--- /dev/null
+++ b/apps/vectorcraft-plugin-worker/Cargo.toml
@@ -0,0 +1,20 @@
+[package]
+name = "vectorcraft-plugin-worker"
+description = "The web build's plug-in worker: checks plug-in modules being installed and runs filters off the page"
+version.workspace = true
+edition.workspace = true
+license.workspace = true
+publish = false
+
+[lints]
+workspace = true
+
+[[bin]]
+name = "vectorcraft-plugin-worker"
+path = "src/main.rs"
+
+[target.'cfg(target_arch = "wasm32")'.dependencies]
+vectorcraft-plugins = { workspace = true }
+wasm-bindgen = "0.2"
+js-sys = "0.3"
+web-sys = { version = "0.3", features = ["DedicatedWorkerGlobalScope", "MessageEvent"] }
diff --git a/apps/vectorcraft-plugin-worker/src/main.rs b/apps/vectorcraft-plugin-worker/src/main.rs
new file mode 100644
index 0000000000..4699ca2e3f
--- /dev/null
+++ b/apps/vectorcraft-plugin-worker/src/main.rs
@@ -0,0 +1,37 @@
+//! The web build's plug-in worker ([`vectorcraft_plugins::worker`]). Trunk builds it beside the
+//! app (`data-type="worker"` in `apps/vectorcraft-web/index.html`), and the page starts one for each
+//! module it checks and each filter it runs, through the loader Trunk writes for it
+//! (`vectorcraft-plugin-worker_loader.js`). Each message, both ways, is one `Uint8Array`.
+
+#[cfg(target_arch = "wasm32")]
+fn main() {
+ use std::cell::RefCell;
+ use std::rc::Rc;
+
+ use wasm_bindgen::JsCast as _;
+ use wasm_bindgen::prelude::Closure;
+ use web_sys::{DedicatedWorkerGlobalScope, MessageEvent};
+
+ let scope: DedicatedWorkerGlobalScope = js_sys::global().unchecked_into();
+ let poster = scope.clone();
+ let post = Rc::new(move |msg: Vec| {
+ let bytes = js_sys::Uint8Array::from(msg.as_slice());
+ // A message that can't be posted leaves the page waiting, and its time budget ends the run.
+ let _ = poster.post_message_with_transfer(&bytes, &js_sys::Array::of1(&bytes.buffer()));
+ });
+ let worker = Rc::new(RefCell::new(vectorcraft_plugins::worker::Worker::new(post)));
+ let handler = Rc::clone(&worker);
+ let on_message = Closure::::new(move |e: MessageEvent| {
+ let msg = js_sys::Uint8Array::new(&e.data()).to_vec();
+ handler.borrow_mut().handle(&msg);
+ });
+ scope.set_onmessage(Some(on_message.as_ref().unchecked_ref()));
+ // The handler lives as long as the worker.
+ on_message.forget();
+ worker.borrow().ready();
+}
+
+#[cfg(not(target_arch = "wasm32"))]
+fn main() {
+ eprintln!("vectorcraft-plugin-worker only runs in the browser, as the web build's plug-in worker");
+}
diff --git a/apps/vectorcraft-thumbnail-handler/Cargo.toml b/apps/vectorcraft-thumbnail-handler/Cargo.toml
new file mode 100644
index 0000000000..af502bd751
--- /dev/null
+++ b/apps/vectorcraft-thumbnail-handler/Cargo.toml
@@ -0,0 +1,33 @@
+[package]
+name = "vectorcraft-thumbnail-handler"
+description = "Windows Explorer thumbnail handler for VectorCraft documents and templates"
+version.workspace = true
+edition.workspace = true
+license.workspace = true
+publish = false
+
+[lints]
+workspace = true
+
+# A COM server DLL that Explorer loads; on other systems it builds the parts the tests check.
+[lib]
+crate-type = ["cdylib"]
+
+# PNG decoding of the picture `vectorcraft-cli thumbnail` writes. MIT OR Apache-2.0.
+[dependencies]
+png = "0.18"
+
+# IThumbnailProvider, IInitializeWithStream, the class factory, DIB sections and the registry.
+# MIT OR Apache-2.0.
+[target.'cfg(windows)'.dependencies]
+windows = { version = "0.62", features = [
+ "Win32_Foundation",
+ "Win32_Graphics_Gdi",
+ "Win32_System_Com",
+ "Win32_System_LibraryLoader",
+ "Win32_System_Registry",
+ "Win32_System_SystemServices",
+ "Win32_UI_Shell",
+ "Win32_UI_Shell_PropertiesSystem",
+] }
+windows-core = "0.62"
diff --git a/apps/vectorcraft-thumbnail-handler/src/com.rs b/apps/vectorcraft-thumbnail-handler/src/com.rs
new file mode 100644
index 0000000000..ebd421060d
--- /dev/null
+++ b/apps/vectorcraft-thumbnail-handler/src/com.rs
@@ -0,0 +1,345 @@
+//! The COM server: the thumbnail provider, its class factory and the functions the DLL exports
+//! (`DllGetClassObject`, `DllCanUnloadNow`, `DllRegisterServer` and `DllUnregisterServer`).
+//!
+//! COM, GDI and the registry are C APIs with no safe binding, hence the scoped `unsafe_code`
+//! allowance.
+#![allow(unsafe_code)]
+
+use std::ffi::c_void;
+use std::io::{self, Read};
+use std::os::windows::ffi::OsStringExt;
+use std::panic::AssertUnwindSafe;
+use std::path::PathBuf;
+use std::ptr::null_mut;
+use std::sync::Mutex;
+use std::sync::atomic::{AtomicPtr, AtomicUsize, Ordering};
+
+use windows::Win32::Foundation::{
+ CLASS_E_CLASSNOTAVAILABLE, CLASS_E_NOAGGREGATION, E_FAIL, E_POINTER, ERROR_ALREADY_INITIALIZED, ERROR_FILE_NOT_FOUND, HINSTANCE, HMODULE,
+ S_FALSE, S_OK,
+};
+use windows::Win32::Graphics::Gdi::{BI_RGB, BITMAPINFO, BITMAPINFOHEADER, CreateDIBSection, DIB_RGB_COLORS, DeleteObject, HBITMAP};
+use windows::Win32::System::Com::{CoTaskMemFree, IClassFactory, IClassFactory_Impl, IStream};
+use windows::Win32::System::LibraryLoader::GetModuleFileNameW;
+use windows::Win32::System::Registry::{HKEY_CURRENT_USER, REG_SZ, RRF_RT_REG_SZ, RegDeleteTreeW, RegGetValueW, RegSetKeyValueW};
+use windows::Win32::System::SystemServices::DLL_PROCESS_ATTACH;
+use windows::Win32::UI::Shell::PropertiesSystem::{IInitializeWithStream, IInitializeWithStream_Impl};
+use windows::Win32::UI::Shell::{
+ FOLDERID_LocalAppDataLow, IThumbnailProvider, IThumbnailProvider_Impl, KNOWN_FOLDER_FLAG, SHCNE_ASSOCCHANGED, SHCNF_IDLIST, SHChangeNotify,
+ SHGetKnownFolderPath, WTS_ALPHATYPE, WTSAT_ARGB,
+};
+use windows::core::{BOOL, Error, GUID, HRESULT, HSTRING, IUnknown, Interface, PCWSTR, Ref, Result, implement};
+
+use crate::{CLI, CLSID_VALUE, DEADLINE, Document, MAX_FILE, Picture, RegistryValue};
+
+/// The handler's class id ([`crate::CLSID`]).
+const CLASS_ID: GUID = GUID::from_u128(CLSID_VALUE);
+/// The registry key the values of [`crate::registry_values`] go under.
+const CLASSES: &str = "Software\\Classes";
+/// The longest DLL path read, in UTF-16 units (Windows' own limit).
+const MAX_PATH: usize = 32_767;
+
+/// The DLL's module handle, from `DllMain`.
+static MODULE: AtomicPtr = AtomicPtr::new(null_mut());
+/// Providers and class factories alive plus `LockServer` locks held; the DLL can be unloaded at 0.
+static LIVE: AtomicUsize = AtomicUsize::new(0);
+
+/// The thumbnail provider: Explorer hands it the file's stream, then asks for the picture.
+#[implement(IInitializeWithStream, IThumbnailProvider)]
+struct Provider {
+ document: Mutex