Commit Graph
19290 Commits
Author SHA1 Message Date
BFlat f35cf264c1 Merge pull request #8899 from dotCooCoo/docs/ai-deep-distorted-images 2026-11-21 08:51:00 +07:00
BFlat 08b68365d8 Merge pull request #8900 from dotCooCoo/fix/batch-test-checks-activate 2026-11-21 08:50:32 +07:00
Dylan M. TayloranddotCooCoo 82d5aabeec refactor(cdr): use shared craft-cdr from craft-libs (#8857)
* refactor(cdr): depend on shared craft-cdr from craft-libs (#1665)

Replaces the local crates/cdr (vectorcraft-cdr) crate with craft-cdr
from storytold/craft-libs#2697 (storytold/craft-libs#778), keeping
VectorCraft's document/artboard/layer/shape mapping in crates/engine.

Co-authored-by: dotCooCoo <RobertLeeLW@gmail.com>

* build(cdr): pin craft-cdr to craft-libs main (75d179f8df)

* build(cdr): pin craft-cdr to craft-libs main (9b28b56bc7)

* docs(cdr): point CDR/CMX provenance and test paths to craft-cdr

---------

Co-authored-by: dotCooCoo <RobertLeeLW@gmail.com>
2026-11-20 20:27:55 -05:00
Dylan M. Taylor ef2cf470e3 eps: bound DSC header/trailer scan with craft-eps and add regressions (#8855)
* eps: delegate DSC header comments to craft-eps, pin craft-ps, and add regressions

* eps: use Document::walk and NodeKind::Image in TIFF preview round-trip test

* eps: fix readline EOF bool expectation in tests_reads

* eps: use 2x2 image in truncated currentfile filter test so EOF is hit

* eps: exercise truncated currentfile filter without panicking and assert Err on unterminated EOF

* eps: preserve last in-range header box in Dsc::read and remove pin change
2026-11-20 20:27:33 -05:00
dotCooCoo bb8d24017a Docs: .ai writers write a distorted image 8 deep as its nearest placement and leave out deeper ones
The mesh sentence in docs/mcp.md no longer lists the .ai writers among
the exports that draw a mesh. Both docs now say the fallback applies to
an image nested 8 deep, name the containers each writer counts (ordinary
groups and layers do not count), and say an image nested deeper is not
written. The Perspective Distort line cites the two nesting tests.
2026-11-20 17:24:20 -08:00
dotCooCoo f9d447b13b Tests: the side widget batch test checks that the batch switches documents
The test found the polygon's document by its uid, so it passed even when
the batch's document.activate step left the active document unchanged. It
now asserts that the batch makes document 0 active and leaves the
polygon's document.
2026-11-20 17:23:00 -08:00
dotCooCoo 5511fb21c0 Docs: distorted images nested past the .ai writers' depth limit are written at their nearest placement
The mesh paragraph in docs/mcp.md named DXF, WMF and HP-GL as the only
exports that do not draw a distorted image as a mesh. The editing data
of a .ai file writes an image inside 8 or more nested opacity masks,
symbols, live objects and pattern tiles as the parallelogram nearest its
corners, and a legacy .ai (version 7) does so inside 8 or more nested
symbols and live objects, each with a warning. The paragraph and the
Perspective Distort line in docs/target-app-parity.md now say so.
2026-11-20 17:11:16 -08:00
Dylan M. Taylor 063f550802 doc: share CMYK TIFF read and write (#8751)
* doc: share CMYK TIFF read and write

* doc: fix craft_image_codecs encode/Image/Truncated calls and fmt

* cmyk: decode TIFF samples from the metadata directory

* doc: guard TIFF metadata tag sizes before decoding CMYK source

* doc: fix TIFF metadata preflight scan bound and repin craft-libs

* test(doc): distinguish shared craft-image-codecs CMYK TIFF read/write

* test(doc): pass written.bytes.as_slice() to Cursor

* chore: restore origin/main craft-libs pin (d7c9632bfb)
2026-11-20 12:45:50 -05:00
BFlat 71ba804d38 Merge pull request #8844 from storytold/train/carry8802
Asset Export panel: add tile context menu (Export, Remove, Rename, Select Artwork on Canvas) (#8802)
2026-11-21 00:26:32 +07:00
bflatastic baa6e46658 Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	docs/gaps.md
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-21 00:18:52 +07:00
BFlat 774abbc7d9 Merge pull request #8843 from storytold/train/carry8809
Appearance panel: add row context menu (Duplicate, Delete, Hide/Show, Edit Effect, Clear Appearance) (#8809)
2026-11-21 00:07:59 +07:00
Dylan M. Taylor c43c35e8d4 eps: add smooth shading edge-case tests (#8841)
* eps: add smooth shading edge-case tests

* eps: fix hard-edge padded stop assertion in shading test
2026-11-20 12:04:13 -05:00
bflatastic 8a4f750d4e Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	docs/target-app-parity.md
2026-11-21 00:00:27 +07:00
BFlat 8ae8169846 Merge pull request #8842 from storytold/train/carry8644
Fix #8639: target circles ignore Ctrl/Cmd-click and Shift-click ranges that layer names honor (#8644)
2026-11-20 23:59:46 +07:00
bflatastic cc0f98ed6a Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	docs/gaps.md
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-20 23:46:03 +07:00
ruchirguitar ae21438d48 G12: add Asset Export tile context menus 2026-11-20 22:15:57 +05:30
ruchirguitar edf4e97959 Text styles panel: add item right-click context menu (Options, Duplicate, Delete, Redefine) (#8745)
* Text styles panel: add item right-click context menu (Options, Duplicate, Delete, Redefine)

* fix(text-styles): require text target for clear overrides and update parity docs
2026-11-20 23:43:35 +07:00
ruchirguitar 0b57d2233b Properties panel: add contextual Quick Actions for text (Create Outlines, Retype, Find and Replace) (#8778)
* Properties panel: add contextual Quick Actions for text (Create Outlines, Retype, Find and Replace)

* Properties panel: address review comments on Retype reveal idempotency, test assertions and parity docs
2026-11-20 23:43:09 +07:00
bflatastic e1aa78590a Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	docs/target-app-parity.md
2026-11-20 23:41:24 +07:00
ruchirguitar bffbb1493d Appearance panel: address CodeRabbit review feedback
- Forward secondary clicks on name label links for stroke/fill and effect rows
- Enable Reduce to Basic Appearance when any selected subject needs reduction (including compound path children)
- Add headless regression tests for label context clicks and multi-selection reduction
- Update M14 roadmap entry and UI parity evidence, and clean conflict markers in ui-parity.md
2026-11-20 21:53:59 +05:30
ruchirguitar 05709aa624 Appearance panel: add row context menu (Duplicate, Delete, Hide/Show, Edit Effect, Clear Appearance) 2026-11-20 21:53:58 +05:30
ruchirguitar eca3bb5d0e Actions panel: add context menu for action sets and actions (Play, Duplicate, Delete, Options, Batch) (#8815) 2026-11-20 23:07:41 +07:00
f363f0a3e0 Adopt the shared AGENTS.md (RFC-0072) (#8805)
* Adopt the shared AGENTS.md (RFC-0072) and test rules (RFC-0071)

* Drop a restated rule from This repository

* Remove the cleanroom xtask command, which does not exist

* AGENTS.md: correct the repository facts

The desktop app's platform modules allow unsafe; list them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: FredApps <FredApps@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: FredApps <153173854+FredApps@users.noreply.github.com>
2026-11-20 21:30:25 +07:00
BFlat 3f7620e00b test: compare the cut tests' documents without their creation stamps (#8836) 2026-11-20 21:11:52 +07:00
aa78136bbf test: name the menu-access fixture fonts in 13 bytes (#8833)
#8813 tops up the font list with fonts renamed `Menu Test Font NN` on runners
with 20 or fewer families, but vectorcraft_testkit::fonts::renamed only takes
a 13-byte family (the length of "Source Sans 3"). Every run that reaches the
loop panics, as the coverage shard on main does. `Menu Test FNN` is 13 bytes.

Co-authored-by: FredApps <FredApps@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: BFlat <bombayapirat@gmail.com>
2026-11-20 20:54:22 +07:00
BFlat 542fe0a516 Merge pull request #8831 from dotCooCoo/fix/ci-shard-test-build 2026-11-20 20:31:04 +07:00
dotCooCoo 7f6c5349e0 Merge main into fix/ci-shard-test-build 2026-11-20 05:07:23 -08:00
291ea9fd00 ci: build the gate's test binaries without debug info (#8829)
Every gate since 20 Nov 00:38 UTC except one has been stopped mid-link
with "The runner has received a shutdown signal" (exit 143), on main and
on pull requests. Turn on the shared gate's dev-strip input, as photocraft
does, so the ~100 test binaries link without line tables or symbols.

Co-authored-by: FredApps <FredApps@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 19:41:48 +07:00
dotCooCoo 49be5fb875 CI: the gate builds and runs the tests in five shards
The gate's one job builds all 106 test binaries on a 4-CPU, 16 GB runner,
and it is often stopped with exit code 143 ("The runner has received a
shutdown signal") during that build. ci.yml now runs the gate as five
legs:

- Shards 1 to 4 run `cargo xtask ci shard`, which builds and runs the
  tests and doctests of its own crates: ui-egui, engine, the apps with
  mcp and xtask, and every other crate.
- Shard 5 runs the other `cargo xtask ci` steps.
- On pushes to main, a `cache warm` leg runs `cargo xtask ci warm`,
  which builds what every shard builds and saves the dependency cache.

`gate (ubuntu-24.04)` passes only when all five legs passed.
`cargo xtask ci` with no argument runs every step, as before.

`cargo xtask shards` lists each shard's crates. It fails when a crate
named in xtask/src/shards.rs is not a workspace member or is named
twice, and when a crate builds with other features in its shard than in
`cargo test --workspace`. Every shard runs it first. vectorcraft-affinity
and vectorcraft-pdf now turn on `synth` and `read-count` in their own
dev-dependencies, which vectorcraft-engine's dev-dependencies turned on
before. Without that, 39 tests of affinity's `it` binary do not build in
a shard without the engine.

The gate also sets dev-debug "0" and dev-strip: true, so the workspace
crates build without line tables and the test binaries without debug
info or symbols.
2026-11-20 01:56:01 -08:00
Dylan M. Taylor f987648e96 eps: delegate scene-writer shading, image stream, and line style syntax to craft-ps (#8810)
* eps: delegate scene-writer shading, image stream, and line style syntax to craft-ps

* chore(eps): repin craft-ps to merged craft-libs main (cfcc86242)
2026-11-20 03:01:58 -05:00
Dylan M. Taylor 2848526796 fix: resolve two coverage test failures on main (#8813)
- eps: restore linear-time memchr::memmem::find in lex::find so
  search_in_a_loop_runs_out_of_the_budget does not hit O(N*M) under
  craft_ps::read::lex::find.
- ui-egui: wait for FontDb background scan and ensure >20 font families
  in menu_access_stationary_pointer_repeat_and_rerun_do_not_retarget_or_double_invoke
  so coverage/minimal runners do not race or fall short of 20 families.
2026-11-20 02:32:03 -05:00
Dylan M. Taylor 54f58fff31 eps: cut over PostScript scanner (lex.rs) to craft-ps (#8793)
* eps: cut over PostScript scanner (lex.rs) to craft-ps

* chore: repin craft-ps to craft-libs main
2026-11-19 21:05:18 -05:00
BFlat 7a519eea68 Merge pull request #8787 from dotCooCoo/fix/retype-skip-prohibited-tracking
Retype: a tracking that translucent glyphs cannot take no longer drops the tracked prefix already found
2026-11-20 07:37:24 +07:00
BFlat e34c9198dd Merge pull request #8757 from Hassan1305/fix-8711-layers-target-ring
Layers: keep the targeted ring visible around the appearance dot (#8711)
2026-11-20 07:16:03 +07:00
BFlat b9227b0b7c Merge pull request #8756 from storytold/train/carry8336
Symbols: Add original Nature Icons library (#8336)
2026-11-20 07:10:55 +07:00
BFlat 6dd1363d75 Merge pull request #8784 from storytold/cutover/eps-shared-epsi
refactor(eps): delegate EPSI preview decoding to craft-eps
2026-11-20 07:10:30 +07:00
BFlat 5efe19e7c5 Merge pull request #8782 from storytold/train/carry8001
Fill Area: a click adds a path of the enclosed area and keeps the paths around it (#8001)
2026-11-20 07:00:48 +07:00
bflatastic b95ff44c06 Merge main into #8336
# Conflicts:
#	crates/ui-egui/src/i18n/bg.tsv
#	crates/ui-egui/src/i18n/bs.tsv
#	crates/ui-egui/src/i18n/ca.tsv
#	crates/ui-egui/src/i18n/cs.tsv
#	crates/ui-egui/src/i18n/da.tsv
#	crates/ui-egui/src/i18n/de.tsv
#	crates/ui-egui/src/i18n/el.tsv
#	crates/ui-egui/src/i18n/es.tsv
#	crates/ui-egui/src/i18n/fi.tsv
#	crates/ui-egui/src/i18n/fr.tsv
#	crates/ui-egui/src/i18n/gu.tsv
#	crates/ui-egui/src/i18n/hi.tsv
#	crates/ui-egui/src/i18n/hu.tsv
#	crates/ui-egui/src/i18n/id.tsv
#	crates/ui-egui/src/i18n/it.tsv
#	crates/ui-egui/src/i18n/ja.tsv
#	crates/ui-egui/src/i18n/ka.tsv
#	crates/ui-egui/src/i18n/ko.tsv
#	crates/ui-egui/src/i18n/nl.tsv
#	crates/ui-egui/src/i18n/pl.tsv
#	crates/ui-egui/src/i18n/pt-br.tsv
#	crates/ui-egui/src/i18n/ru.tsv
#	crates/ui-egui/src/i18n/sv.tsv
#	crates/ui-egui/src/i18n/tr.tsv
#	crates/ui-egui/src/i18n/uk.tsv
#	crates/ui-egui/src/i18n/vi.tsv
#	crates/ui-egui/src/i18n/zh-hans.tsv
#	crates/ui-egui/src/i18n/zh-hant.tsv
2026-11-20 06:59:22 +07:00
BFlat 9d0ae305d6 Merge pull request #8730 from storytold/train/carry8383
Brushes: Add original Ornamental library (#8383)
2026-11-20 06:22:11 +07:00
BFlat 78d135c38d Merge pull request #8786 from dotCooCoo/fix/dock-monitor-work-area
Panels: give floating panels and the restored window each monitor's work area
2026-11-20 06:15:40 +07:00
BFlat 10159277c3 Merge pull request #8731 from storytold/cutover/jpeg-icc-replace
doc: delegate JPEG ICC replacement to craft-image-codecs
2026-11-20 06:15:24 +07:00
BFlat 45f4050b2f Merge pull request #8790 from storytold/train/carry8741
3D and Materials: graphics map onto Inflate objects (#7767) (#8741)
2026-11-20 06:08:13 +07:00
bflatastic aa853ad275 Merge main into #8741
# Conflicts:
#	docs/effects-parity.md
#	docs/three-d.md
2026-11-20 06:07:45 +07:00
bflatastic 007ebaa36d Merge the earlier #8001 carry (superseded by this resolution) 2026-11-20 05:57:03 +07:00
HassanKhan c5a6971dfb Merge storytold/main (d38e414b77) into fix-8711-layers-target-ring
# Conflicts:
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-20 03:56:17 +05:00
bflatastic 0810ac5b87 Merge remote-tracking branch 'origin/main' into fix/8001
# Conflicts:
#	crates/mcp/src/ui_catalog.rs
#	crates/ui-egui/src/menus/ui_commands.rs
#	docs/roadmap.md
2026-11-20 05:47:07 +07:00
BFlat d38e414b77 Merge pull request #8765 from dotCooCoo/fix/live-paint-group-review-gaps
Live Paint: the Eyedropper, overprint, proxies and contents edits follow the whole-group rule
2026-11-20 05:46:01 +07:00
BFlat b366dad386 Merge pull request #8789 from storytold/train/carry8763
Quick Pen: on-canvas toolbar with its actions, Flip Arc and More menu (#8763)
2026-11-20 05:45:42 +07:00
bflatastic 864ef2f200 Merge main into #8763
# Conflicts:
#	docs/target-app-parity.md
2026-11-20 05:45:14 +07:00
BFlat 190375c76c Merge pull request #7760 from dotCooCoo/feat/graph-designs-from-other-document
Graphs: graph designs come in from another document
2026-11-20 05:44:33 +07:00