Commit Graph
17735 Commits
Author SHA1 Message Date
BFlat e016f7cb28 Merge pull request #7981 from dotCooCoo/feat/tool-cards
Tools: General › Show Tool Cards shows what a tool does and what its keys do
2026-11-19 14:53:53 +07:00
BFlat df42e09ba5 Merge pull request #7733 from dotCooCoo/feat/color-profile-ask-prompts
Color Settings: Ask When Opening and Ask When Pasting prompt about profile mismatches
2026-11-19 14:52:30 +07:00
BFlat 408c94c0ed Merge pull request #7701 from dotCooCoo/feat/symbolism-options-method
Symbols: Symbolism Tools Options gain Method, pen pressure and the Sprayer and Sizer options
2026-11-19 14:52:13 +07:00
BFlat 5d7613d68b Merge pull request #8656 from storytold/train/carry6295
Edit Original: choose a raster editor through the native picker (#6295)
2026-11-19 14:51:53 +07:00
BFlat d77930b619 Merge pull request #7647 from dotCooCoo/feat/3d-classic-map-art
3D (Classic): Map Art maps symbols onto Extrude & Bevel and Revolve surfaces
2026-11-19 14:51:19 +07:00
BFlat 04bd8d417c Merge pull request #7629 from dotCooCoo/feat/color-wheel-harmony
Color Wheel: the wheel shows the colors of a harmony rule
2026-11-19 14:51:03 +07:00
bflatastic c528513911 Merge main into #6295
# Conflicts:
#	docs/gaps.md
#	docs/roadmap.md
#	docs/target-app-parity.md
2026-11-19 14:50:17 +07:00
BFlat a8a16041cd Merge pull request #7565 from dotCooCoo/feat/docinfo-font-details
Document Info: Fonts gives each font's type and number of uses
2026-11-19 14:49:29 +07:00
BFlat 49f5da65ae Merge pull request #7331 from dotCooCoo/feat/hpgl-options-dialog
HP-GL: Export As opens HP-GL Options for the version, pens, origin and path order
2026-11-19 14:48:03 +07:00
BFlat 3f0707e64f Merge pull request #7103 from dotCooCoo/feat/stylus-wheel
Brushes: an airbrush pen's stylus wheel varies brush size and width
2026-11-19 14:46:40 +07:00
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
ruchirguitar 36cc381f40 Merge main into raster editor picker branch (#5804) 2026-11-19 08:14:23 +05:30
dotCooCoo 9b0fc2e249 HP-GL Options: check and list pens from what the export writes
- Export Selection to HP-GL checks the selection and starts Pen Table
  from its pens, as the export writes it, and `exportSelection` is no
  longer remembered for the next whole-document export.
- Pen Table with options or an artboard choice the export refuses keeps
  One Pen per Color and shows the error, instead of starting from one
  black pen that corrected options would keep. `automatic_pens` returns
  that error.
- `automatic_pens` refuses `rect`, as `check` and the export do.
- A save panel shown in line that is canceled keeps the dialog open,
  and a canceled save panel keeps the options remembered before.
2026-11-18 18:24:51 -08:00
dotCooCoo 00f9a9c205 Brushes: main's eraser and bristle tip tests take the stylus wheel
The Bristle tip outline reads the five pen controls and leaves the
wheel unused. The bristle tip test's pen pose gives no wheel, and the
eraser test's mode error lists `stylusWheel`.
2026-11-18 17:44:35 -08:00
dotCooCoo bae4defa45 Symbols: Average sizes are sizes on the page, and a pen pressure change where the pen stays is kept
The Sizer's and the Sprayer's Average compare each instance's size on the page, so a set that
holds instances of different symbols meets at their mean drawn size. A symbol without a recorded
size is measured by its art, once per command. With Size: Average and no instance under the brush,
a sprayed instance has its symbol's own size whatever `scale` is, and new instances are spaced by
the size they are placed at. With Use Pressure Pen, a drag sample at the same position is kept when
the pressure changes by 0.05 or more.
2026-11-18 17:34:48 -08:00
dotCooCoo 4080708714 Merge main into feat/stylus-wheel 2026-11-18 17:25:37 -08:00
dotCooCoo 6c36bd840d Merge main into feat/3d-classic-map-art 2026-11-18 17:24:41 -08: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
dotCooCoo bed8685d53 Merge main into feat/tool-cards 2026-11-18 17:22:09 -08: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
dotCooCoo e506b7ed74 Color Settings: a scope narrowed several times keeps every script gate
Narrowing a scope that already carried two composed gates replaced the earlier gate's chain with the new gate, so a path only that earlier gate refused could be read. The new gate is now added at the end of the chain.
2026-11-18 17:20:18 -08: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
dotCooCoo 6c5e10fd64 Color Settings: keep script gates and background reads after a profile answer
- A scope narrowed to the confirming caller keeps the script gates of both,
  and reads are exempt from them only where both scopes exempt them.
- A file read off the UI thread does the rest of its read after its profile
  answer (linked files and type) off the UI thread too; an open a caller
  asked for by path still finishes before OK returns.
2026-11-18 16:46:24 -08:00
dotCooCoo 52e959d4be 3D (Classic): Map Art keeps to the limits the art draws within
- When any solid's mapped art passes the shared limits, every solid in
  the effect draws without its mapped art, so Invisible Geometry hides
  all of them or none.
- A revolved group lists its surfaces with the members' shared curve
  sampling, and an extruded group lists none past the faces of one
  object.
- Commands refuse art on walls, bevels and Revolve's side whose curves,
  cut into straight pieces at the map's scale and placed about the
  surface's center, pass 400,000 points. Caps are not counted.
- Each contour's bounds test counts as a cut, in Map Art and in the side
  graphics.
- On a facet whose curved edge bows out of its cell, the art reaches the
  whole facet.
- A bevel as deep as the solid leaves no walls, and its bevels take the
  numbers after the caps.
- Surfaces past the face limit are refused as the side is.
- threeD.mapArt keeps a deleted symbol only while the request leaves
  `symbol` out.
2026-11-18 16:25:43 -08: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
dotCooCoo 95ed13dd80 Color Settings: answer the review of the profile prompts
- An absolute-colorimetric conversion from CMYK starts from the source's
  absolute appearance.
- An assigned profile that was removed counts as the working space when
  copied colors are compared.
- Colors that can't convert are listed with convertible false, start on
  Preserve Numbers, and the dialog disables Convert for them.
- Paste on All Artboards leaves the backgrounds of copied artboards out of
  the question (clipboard.profileMismatch allArtboards).
- A converting paste into its own document keeps its image keys.
- An open answer is refused once Color Settings change the question; the
  dialog asks the new question, or opens by the policy.
- Files opened while a question is open ask their own questions in turn.
- OK on the paste question and on Swatch Conflict checks again where the
  paste runs and asks again when the question changed.
- docs/mcp.md and the command help describe these rules.
2026-11-18 15:42:03 -08:00
dotCooCoo 3ef0e5e588 Symbols: the Symbolism tools take their new options, and OK checks them before any change
tool.setOption now accepts usePressure, method, showBrush, the Symbol
Sprayer options, proportional and affectsDensity for the Symbolism
tools, so the Symbolism Tools Options dialog can save them. The dialog
checks every option, the number ranges included, before
symbol.setDensity re-spaces the selected symbol sets.

- Size: Average gives a sprayed instance the mean size under the brush,
  or the symbol's own size with none there, without the size jitter.
- A stroke that moves an instance away and back again does not count
  it, and adds no undo step.
- symbol.adjust reads an instance's own values for Average only.
2026-11-18 15:10:38 -08:00
dotCooCoo 24d04bd50b Merge main into feat/hpgl-options-dialog 2026-11-18 15:10:32 -08:00
dotCooCoo eb19c0438b Merge main into feat/color-wheel-harmony 2026-11-18 14:37:28 -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
dotCooCoo 8a4473cd1e Preferences: Show Tool Cards gets its description line
Main now requires a description sentence for every General setting, so Show Tool Cards gets one, with a row in each catalog. The Polish card row for Puppet Warp now calls artwork kompozycja, as main's Polish terminology test requires.
2026-11-18 14:12:26 -08:00