Commit Graph
17583 Commits
Author SHA1 Message Date
BFlat eef7bd23b4 Merge pull request #6713 from yoriswind/codex/6470-scissors-shared-snap
Fix #6470: use shared drawing snaps for Scissors
2026-11-19 14:46:28 +07:00
BFlat 765fe34ee0 Merge pull request #6593 from yoriswind/codex/6543-index-thread-overlay-selection
M5: index selection lookups for text thread overlays
2026-11-19 14:46:18 +07:00
yoriswind 0471818814 Merge current main while preserving PR #6713 2026-11-19 06:32:22 +00:00
Juan ManuelandClaude Opus 5.5 bf3d27e2b9 .ai import: blank area type keeps its frame, blank point type is left out quietly (#8348)
* .ai import: blank area type keeps its frame, blank point type quiet

A text object whose story is blank (nothing but spaces and line ends)
was never made (`Story::node`), so its slot
was left empty and counted in the note "text objects on hidden layers
or hidden objects couldn't be read", shown or not.

A slot of a blank story that neither the text document nor the page
fills is now settled after the page is matched, so the page's type
still takes it where the page has some for it alone:

- Blank area type and type on a path come in as a text object that
  keeps its frame or path and draws nothing (`Story::blank_frame_node`),
  as VectorCraft's Type tool keeps an empty frame (#85, #154). That
  covers a frame the page's spare type went past (`Merged`) too. It is
  kept without being weighed against the page, and so are the later
  frames of its thread.
- Blank point type draws nothing and has nothing to keep, so it is left
  out without a note, as the Type tool discards empty point type.
- A blank slot takes the page's type left over only when no other open
  slot can (`readable_first`), so it no longer takes another object's
  type by painting order.
- A blank story's thread isn't held against an unread object that takes
  one of its frames, and a thread lists only the frames still there.
  Its frames are still threaded type to warps and envelopes, which
  never take the place of such a frame.

The note for text objects still left out no longer says they are
hidden: "text objects whose type couldn't be read from the file's text
document or its page are left out".

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

* .ai import: a blank frame an unread object leaves alone isn't threaded type

When an unread object takes one frame of a blank story's two-frame
thread with it, the other frame is no longer threaded in the document,
but warps and envelopes still treated it as threaded type and so never
weighed it against its look. They now get the frames of the threads
actually kept.

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

* Test: the lone blank frame in a warp comes in as its look, no text left

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 00:53:38 -05:00
ruchirguitar 8fcadbc3c1 Fix #864: SVG export preserves the document unit in viewBox and width/height (#8610)
* SVG export: preserve document unit in viewBox and width/height (#864)

When exporting SVG documents with physical units (mm, cm, in, pc), emit
the physical unit suffix on the root <svg width=... height=...>
attributes while keeping viewBox numbers and inner coordinates in 1:1 points
per SVG 1.1 coords §7.10. This avoids the 75% scaling mismatch when opening
drawings in external tools such as Inkscape or LightBurn, and preserves
the document unit setting across save/open round trips. Unitless documents
(points, pixels) continue to emit unitless dimensions.

Tested via export_physical_units_writes_unit_suffixes in vectorcraft-svg
and full round-trip svg_round_trip_preserves_document_units in vectorcraft-engine.
Ran cargo xtask ci (fmt, clippy, tests, xtask gates).

* SVG export: preserve nonzero width and viewBox on extreme small dimensions
2026-11-18 23:27:00 -05:00
BFlat 1233b23b19 Merge pull request #8636 from storytold/revert/8627
Revert #8627 (palette_io through craft-cms) and its two test fixes: messages leave the catalogs
2026-11-19 08:22:38 +07:00
bflatastic bd23b310ef Revert "color: cut over palette_io GPL/ASE/ACB to craft-cms (#8627)"
This reverts commit 0087be0452.
2026-11-19 08:21:30 +07:00
bflatastic ed0fde6593 Revert "color: the palette tests define the swatch exchange constants craft-cms keeps private"
This reverts commit 4e63316d9a.
2026-11-19 08:21:29 +07:00
bflatastic 6d8674bde8 Revert "Merge pull request #8635 from storytold/fix/ase-cap"
This reverts commit fc2a525ee1, reversing
changes made to bab45a99f3.
2026-11-19 08:21:29 +07:00
BFlat fc2a525ee1 Merge pull request #8635 from storytold/fix/ase-cap
color: an .ase library over the cap gets VectorCraft's own, translated message again
2026-11-19 08:00:13 +07:00
bflatastic 891dd6310d color: an .ase library over the cap gets VectorCraft's own, translated message again
#8627 left the check to craft-cms, whose wording isn't in the catalogs, and
main's test of the message failed.
2026-11-19 07:59:02 +07:00
BFlat bab45a99f3 Merge pull request #8631 from storytold/fix/cutovers-main
Revert #8626 (HP-GL/2 through craft-plotter) and fix #8627's palette tests: main fails to build
2026-11-19 07:21:15 +07:00
bflatastic 4e63316d9a color: the palette tests define the swatch exchange constants craft-cms keeps private 2026-11-19 07:18:08 +07:00
bflatastic 693785fc70 Revert "cutover: use craft_plotter::hpgl::write (#8626)"
This reverts commit d2bed0bdb8.
2026-11-19 07:18:07 +07:00
Dylan M. Taylor 0087be0452 color: cut over palette_io GPL/ASE/ACB to craft-cms (#8627) 2026-11-18 19:08:49 -05:00
Dylan M. Taylor d2bed0bdb8 cutover: use craft_plotter::hpgl::write (#8626) 2026-11-18 19:08:45 -05:00
yoriswind da916087fb Merge current main documentation into PR #6593 2026-11-18 15:45:59 -08:00
BFlat 96a34ff3f9 Merge pull request #8618 from storytold/revert/8612
Revert #8612 (craft-cms cutover) and its fmt fix #8616: main fails to build
2026-11-19 05:35:23 +07:00
bflatastic 57ac9a7ff2 Revert "color: cut over cms/icc.rs to craft-cms (#8612)"
This reverts commit 4d73308977.
2026-11-19 05:34:52 +07:00
bflatastic 8a84e0edcd Revert "Merge pull request #8616 from storytold/fix/fmt-icc"
This reverts commit 760c91f9fe, reversing
changes made to 4d73308977.
2026-11-19 05:34:52 +07:00
BFlat 760c91f9fe Merge pull request #8616 from storytold/fix/fmt-icc
color: format the craft-cms import in cms/icc.rs
2026-11-19 05:27:31 +07:00
bflatastic 2ef4fe36b4 color: format the craft-cms import in cms/icc.rs 2026-11-19 05:27:20 +07:00
Dylan M. Taylor 4d73308977 color: cut over cms/icc.rs to craft-cms (#8612) 2026-11-18 17:21:45 -05:00
BFlat 190b9ac6c9 Merge pull request #8614 from storytold/fix/shortcut-sheet-date
tests: the shortcut sheet test compares two exports without the clock's stamps
2026-11-19 05:19:12 +07:00
bflatastic 0ae4e9c10d tests: the shortcut sheet test compares two exports without the clock's stamps
The PDF writer dates each file and makes its IDs from the clock, so two
sheet exports on either side of a second boundary differed there and the
test failed on main's coverage run.
2026-11-19 05:14:13 +07:00
BFlat 2b42358568 Merge pull request #8609 from storytold/train/carry7007
Panels: floating panels keep their level while focus moves between the app's windows (#7007, main merged in)
2026-11-19 04:38:51 +07:00
bflatastic aef624be77 Merge main into #7007
# Conflicts:
#	docs/target-app-parity.md
2026-11-19 04:38:16 +07:00
BFlat 5dddce1425 Merge pull request #8129 from jmverges/fix/ai-grouped-clipping-paths-in-compound
.ai import: clipping paths grouped in a compound path are its subpaths
2026-11-19 04:37:33 +07:00
BFlat ba645414c6 Merge pull request #8603 from el-j/feat/layers-guide-spine-context-menus-8592
Layers panel: add row context menus for guide and blend spine rows (#8592)
2026-11-19 04:37:24 +07:00
.CooCoo f2ffbe81d0 SVG import: a textPath finds the element its href names through an id map built once (#8160)
Each <textPath> with an href walked the whole document to find the element it names, so a file with many texts on paths took time proportional to the number of texts times the number of elements. The importer now builds a map of element ids at the first such lookup, keeping the first element in document order for each id, and looks each href up there. Files whose texts name no element do not build the map. The imported document is the same: a test compares the whole document and warnings with the per-id walk, including duplicate, missing and unusable ids.
2026-11-18 15:51:04 -05:00
el-j 33701e2321 Layers panel: add row context menus for guide and blend spine rows (#8592) 2026-11-18 20:58:54 +01:00
yoriswind 34b6637cb4 Merge main into the text-thread overlay selection fix
Preserve the reviewed selection filtering and include the upstream status-test and catalog corrections.
2026-11-18 11:58:47 -08:00
Dan Green 94a4a50a15 Panels: focus moving between the app's windows can make floating panels disappear
Clicking between app windows (floating panels and the canvas) passes through one frame where none of them has focus. The palette levels counted the app inactive on that frame and lowered every floating panel's OS window. The panels flickered, could end up disappearing behind the main window until the next repaint, and a click on one panel's bar could hand the keyboard to another.

The app now counts as inactive once none of its windows has had focus for  0.25 s, counted from the first frame that saw none. craft-ui's docking waits as long.
Fixes #6986
2026-11-18 11:03:56 -08:00
BFlat e34bf8c82f Merge pull request #8601 from storytold/fix/main-tests-after-merges
tests: fix two main test failures from crossed merges
2026-11-19 01:53:26 +07:00
bflatastic bb66ae9a87 tests: fix main after tonight's merges crossed
- The French script error line now has the catalog's no-break spaces before its colons.
- es.tsv drops the old file.info control character row a merge brought back.
2026-11-19 01:47:51 +07:00
BFlat be2e4afa67 Merge pull request #8600 from storytold/fix/catalog-duplicate-rows
i18n: fix main's catalog test (duplicate Gujarati Panel row)
2026-11-19 01:40:00 +07:00
bflatastic b41254d05b i18n: drop the Gujarati Panel row two merges both added
Two PRs merged tonight each added the same row, so bundled_catalogs_are_consistent fails on main
(gu: duplicate "" "Panel"). Both rows have the same translation.
2026-11-19 01:39:31 +07:00
BFlat 18a5b41f31 Merge pull request #8599 from storytold/train/combo6
Land 21 dotCooCoo PRs, with main merged in
2026-11-19 01:29:14 +07:00
bflatastic 6f218a8ea5 combo: #8229 2026-11-19 01:26:14 +07:00
bflatastic 4bce0e413d combo: #8561 2026-11-19 01:26:14 +07:00
bflatastic 1e3e559820 combo: #8559 2026-11-19 01:26:13 +07:00
bflatastic 65673958c2 combo: #8553
# Conflicts:
#	docs/target-app-parity.md
2026-11-19 01:26:13 +07:00
bflatastic 7e76af1916 combo: #8545 2026-11-19 01:26:10 +07:00
bflatastic 5c6d82aa58 combo: #8517 2026-11-19 01:26:09 +07:00
bflatastic 35321b5f39 combo: #8502 2026-11-19 01:26:09 +07:00
bflatastic e3a5a29afa combo: #8495 2026-11-19 01:26:08 +07:00
bflatastic d40178b95b combo: #8489 2026-11-19 01:26:08 +07:00
bflatastic a56bad4c0d combo: #8452 2026-11-19 01:26:07 +07:00
bflatastic 71a0a0ee92 combo: #8420 2026-11-19 01:26:07 +07:00
bflatastic 6575c2dadf combo: #8295
# 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/da.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/gu.tsv
#	crates/ui-egui/src/i18n/id.tsv
#	crates/ui-egui/src/i18n/ka.tsv
#	crates/ui-egui/src/i18n/ru.tsv
#	crates/ui-egui/src/i18n/sv.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-19 01:26:07 +07:00