Commit Graph
9287 Commits
Author SHA1 Message Date
dotCooCoo ff26d5e4a3 Swatch libraries: colors a pattern brings skip the library's other names
A global or spot color that a library pattern's art brings under a
numbered name no longer takes a name the library gives another swatch.
Before, adding a pattern whose art uses "Ink" to a document with another
"Ink" brought the color as "Ink 2" even when the library has its own
"Ink 2"; adding that library swatch next then came in as "Ink 2 2". The
brought color now takes the next free name the library does not use
("Ink 3"), and every paint linked to it follows the new name, so adding
the library's "Ink 2" next adds it under its own name and adding both
again adds nothing.

A color the pattern's art brings or takes is the color a library tint
or gradient links to only when it has the library color's paint and its
process, global or spot kind, as for the other lookups in the same add.

The test a_numbered_copy_named_like_another_library_color_is_found now
makes the blue "Ink 2" itself, as an earlier version's pattern add left
it, since a pattern add no longer gives that name.
2026-11-21 15:38:19 -08:00
dotCooCoo 79dd33e228 Swatch libraries: a tint whose color was deleted brings it back
A library tint or gradient counts as already in the document only when
each color it links to is there. When the document's tint of that name
links to a color the document no longer has (deleted without unlinking),
the color comes back under its own name and is listed in `added`.

A picked pattern the document already holds keeps the copy of a color
its art takes (a numbered copy the library also names), and the picked
tints and gradients of that color link to it, so adding the pattern and
the tint again adds nothing. Without such a pattern, a numbered copy the
library also names stands for that library swatch alone.

docs/mcp.md also states that a pattern pasted with Merge for some colors
and Add for others is added again as a copy.
2026-11-21 09:30:26 -08:00
dotCooCoo 7f97df87d4 Swatch libraries: library tints link only to a color of their own kind
swatch.library.add linked a library tint to the wrong color in two cases.
When the document had a process color with the same name and paint as the
tint's global color, the global color counted as already present and the
tint linked to the process color. When a tint was added without its global
color and the document had another swatch of that color's name, the tint
linked to that swatch.

- A library color counts as already in the document only when the
  document's color of that name is the same kind: process, global or spot.
  A global color whose name the document gives a process color now comes
  in under a numbered name, and its tints link to that copy.
- A global or spot color that an added tint or gradient links to, and that
  the document does not have, now comes in with the tint or gradient. It
  keeps its own name when that name is free and gets a number otherwise.
  added lists it after the picked swatches.
- A library tint is not the document's tint of the same name and paint
  when the document's swatch of the base's name is another color or kind.
- A tint that a pattern brought is used for a picked library tint only
  when the color it links to is the library color's kind.
2026-11-21 07:54:43 -08:00
dotCooCoo 9772495468 Swatch libraries: check the color names a pattern copy gives
When a library tint waits for a color that a pattern's art brings,
swatch.library.add learns the color's name by importing the pattern into
a copy of the document. The import into the document now confirms those
names: when it gives a color another name, or none, the tints linked
from the copy are linked again.

- library.use and Add to Swatches report an error from the import that
  merges a pattern's colors instead of falling back to adding them.
- The params text, docs/mcp.md and docs/target-app-parity.md say that a
  tint or gradient links to the numbered copy its global or spot color
  comes in under or already has, and name a gradient test.
- The new code uses the HashMap import, and one helper relinks the
  added tints and gradients at both places that did it.
2026-11-21 05:42:17 -08:00
dotCooCoo 35e43f9cfe Swatch libraries: library tints and gradients link to their colors in any order
A library tint or gradient whose global or spot color comes in under a
numbered name now links to that copy whichever order the swatches are
picked in, when the color was added by an earlier call, and when a
pattern's art brought the color or took the document's copy of it.
Adding the same tints again finds the ones added before.

- Each tint's or gradient's color is looked up for itself before
  anything is added, past a process swatch of the same paint and past a
  color group of that name. A numbered copy that the library's own
  swatch of that name is stays that swatch's, and a new copy skips the
  library's other names.
- A tint links to a global or spot color of the same kind only, and to
  a color this call picks rather than to a copy a pattern took.
- Links are set as soon as the color's name is known. A tint waiting
  for a color that a pattern's art brings learns its name from an
  import into a copy, so the pattern does not add a second tint.
- A swatch a pattern brought takes a picked swatch's place only when
  its colors link where the picked one's do.
- A stop linked to the Registration swatch counts as linked.
- library.use, Add to Swatches and the reuse check share one import
  probe (patternlib::probe_import), and the probed copy is kept instead
  of importing a second time.

Docs: docs/mcp.md, docs/target-app-parity.md.
2026-11-21 04:57:24 -08:00
dotCooCoo 0575c1604a Swatch libraries: adding a pattern again reuses its numbered colors
Since the change that brings a library pattern's global and spot colors
under a numbered name ("Ink 2") when the document gives the name another
color, adding the same pattern or color again added more copies, and
Use Library Item still linked a pattern's art to the document's own
color of that name.

- A library color whose name the document gives another color is the
  document's numbered copy with the same color, so adding it again adds
  nothing. A numbered name that the same call also picks is not shared.
- A pattern the document holds with its art linked to the document's
  own color of a name, as pasting with Merge leaves it, is reused
  instead of coming in again as "Squares 2".
- `added` lists the colors a pattern brought, after the picked swatches.
- A library tint added with its base color links to the base's name in
  the document, and a later add finds it there.
- library.use brings a pattern's colors the same way.

Docs: docs/mcp.md.
2026-11-20 19:55:08 -08: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
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 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 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 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
bflatastic aa853ad275 Merge main into #8741
# Conflicts:
#	docs/effects-parity.md
#	docs/three-d.md
2026-11-20 06:07:45 +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
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
BFlat 4df756cc9a Merge pull request #8719 from Hassan1305/feat-8363-trim-view-guides
View: Trim View hides the guides and the grid while it is on (#8363)
2026-11-20 05:38:32 +07:00
BFlat fe8bcec1e4 Merge pull request #8716 from storytold/train/carry7112
Image Trace: Edit › Tracing Presets… manages, imports and exports tracing presets (#7112)
2026-11-20 05:38:06 +07:00
BFlat 684b1bf48d Merge pull request #7641 from dotCooCoo/feat/color-wheel-document-colors
Color Wheel: Show Document Colors lists the colors the art uses
2026-11-20 05:32:27 +07:00
BFlat 9a63cf2d1d Merge pull request #8769 from dotCooCoo/fix/quick-pen-followups
Pen: Quick Pen drags end where let go and keep outside edits
2026-11-20 05:26:53 +07:00
BFlat d2cecc63df Merge pull request #8754 from storytold/train/carry8729
HP-GL Options: OK writes nothing after another document became active (#8729)
2026-11-20 05:25:21 +07:00
BFlat f11c8da760 Merge pull request #8746 from storytold/train/carry8494
Shapes: Circle Tool Options set what the Circle tool shows and where its anchors go (#8494)
2026-11-20 05:15:55 +07:00
BFlat 924028964a Merge pull request #8210 from dotCooCoo/feat/palette-dimmed-rows
Command Palette: commands that cannot run now are dimmed
2026-11-20 05:10:21 +07:00
bflatastic f0b8980dbe 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/tests.rs
#	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 04:56:34 +07:00
BFlat a8087ef0bd Merge pull request #8728 from storytold/train/carry8458
Brushes: Add original Vector Packs library (#8458)
2026-11-20 04:51:02 +07:00
HassanKhan ff7d571f9d Docs: resolve the conflict markers left in by the main merge (#8711) 2026-11-20 02:45:13 +05:00
HassanKhan 7f1648a03b Merge storytold/main (759cb5f3b4) into fix-8711-layers-target-ring
# Conflicts:
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-20 02:43:24 +05:00
HassanKhan 60bcf0b274 Merge storytold/main (759cb5f3b4) into feat-8363-trim-view-guides
# Conflicts:
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-20 02:43:08 +05:00
BFlat 67c9c0ef35 Merge pull request #8761 from dotCooCoo/feat/retype-area-text
Retype: stacked lines become one area type object
2026-11-20 04:42:23 +07:00
dotCooCoo 93b0542438 Panels: give floating panels and the restored window each monitor's work area
The monitor list for floating panels now carries each monitor's work
area: rcWork from GetMonitorInfo on Windows, and visibleFrame on macOS,
turned into the top-left origin and physical pixels of the monitor's
rect. The work area is converted to points with the same scale and zoom
as the rect, and craft-ui uses it to decide whether a reopened panel's
title bar can be grabbed and where to move it. A work area with no width
or height is left out.

Restoring the main window now keeps it inside its monitor's work area
too, so a window saved at the top edge of a monitor with a taskbar along
its top opens below the taskbar, and a window taller or wider than the
work area is made to fit it, with room for a system title bar and
border when the window has them.

On Windows the panel list stays empty when the monitors have different
scale factors, as before, and a build without the wgpu feature reads no
work areas. Linux and the BSDs keep the whole monitor rect.
2026-11-19 13:31:56 -08:00
BFlat 759cb5f3b4 Merge pull request #8760 from dotCooCoo/feat/retype-tracking
Retype: evenly spaced glyphs keep their spacing as tracking
2026-11-20 04:31:14 +07:00
BFlat 36ee745791 Merge pull request #8774 from yoriswind/codex/8655-scissors-cut-preview
Scissors: preview the actual cut point
2026-11-20 04:25:33 +07:00
dotCooCoo f1b498a103 Quick Pen: the toolbar hides for any canvas drag, and Flip Arc returns an error from finishing the pending edit 2026-11-19 13:23:33 -08:00
dotCooCoo ab7fb310b1 Merge main into feat/palette-dimmed-rows 2026-11-19 13:08:47 -08:00
BFlat 134e3defa6 Merge pull request #7021 from dotCooCoo/feat/3d-custom-bevels
3D: Extrude & Bevel takes custom bevel shapes drawn as open paths
2026-11-20 04:08:29 +07:00
dotCooCoo e690eecb81 Merge main into feat/color-wheel-document-colors 2026-11-19 13:06:47 -08:00
BFlat e133d546e2 Merge pull request #8527 from dotCooCoo/feat/transform-rectangle-corner-type
Transform: Rectangle Properties has a Corner menu, one per corner when Corner Radius is unlinked
2026-11-20 03:46:22 +07:00