Commit Graph
12548 Commits
Author SHA1 Message Date
dotCooCoo 8070fc5b7f Merge main into fix/dxf-hatch-pattern-gradient
# Conflicts:
#	crates/cad/src/import.rs
#	crates/cad/src/import/entity.rs
#	docs/file-format-parity.md
2026-12-04 22:42:46 -08:00
.CooCoo 65d61c56db Merge pull request #10133 from dotCooCoo/feat/font-sheet
Type Tools: Create Font Sheet sets a sample text in every font, labeled
2026-12-04 22:36:34 -08:00
.CooCoo a15bd42649 Merge pull request #10834 from dotCooCoo/fix/remove-all-image-frame-clip
Scripts: pathItems.removeAll keeps a clipping path that still holds an image
2026-12-04 22:30:41 -08:00
.CooCoo 4ca2c350d3 Merge pull request #10876 from dotCooCoo/fix/jpe-jpeg-extension
File formats: JPEG files named .jpe open and place
2026-12-04 22:29:22 -08:00
.CooCoo 5ba94c7509 Merge pull request #10882 from dotCooCoo/fix/raster-settings-opened-objects
3D: Raster Settings OK sets the objects the dialog opened on
2026-12-04 22:28:20 -08:00
.CooCoo 4a7fe04e81 Merge pull request #10888 from dotCooCoo/fix/targa-color-model
Targa export: a Color Model option writes grayscale files
2026-12-04 22:27:33 -08:00
.CooCoo e418292946 Merge pull request #10889 from dotCooCoo/fix/dwg-listed-without-decoder
File formats: DWG is listed as readable only where a decoder reads it
2026-12-04 22:27:01 -08:00
.CooCoo 6cca4c8968 Merge pull request #10895 from dotCooCoo/fix/artboard-guides-preview-keeps-delete
Plug-ins: an edit made during an add-on dialog's preview survives Cancel and OK
2026-12-04 22:25:59 -08:00
.CooCoo 9deca69775 Merge pull request #10897 from dotCooCoo/fix/dxf-region-import
DXF/DWG import: REGION entities open as filled paths
2026-12-04 22:25:28 -08:00
.CooCoo 99e8dc3f72 Merge pull request #10898 from dotCooCoo/fix/script-color-pick-document-profiles
Scripts: a Color Picker pick converts through the script document's profiles
2026-12-04 22:24:58 -08:00
dotCooCoo 3e1fb85fd6 DXF/DWG import: hatches follow their island style
Every boundary loop of a hatch went into one even-odd area, which is
right for the normal island style (group 75 = 0) only. With the outer
style (1) the area inside an outermost loop and outside the islands
directly in it is hatched, and islands inside islands are not; with
the ignore style (2) only the outermost loops are, and islands leave no
holes. This applies to solid, gradient and pattern hatches.

A loop counts as inside another when its bounds lie within the other's,
its area is smaller, and most of up to 16 points taken just inside it
lie inside the other loop. Each loop is measured around its own center,
so loops far from the origin, or far from each other, keep their
precision. A hatch whose nesting test would take more than 10,000,000
steps is filled as if every loop were a boundary, with a warning.
2026-12-04 22:09:32 -08:00
dotCooCoo e81d7d9b3a Merge main into feat/font-sheet 2026-12-04 21:37:34 -08:00
dotCooCoo 59da3bd87a Merge main into fix/jpe-jpeg-extension 2026-12-04 21:35:16 -08:00
dotCooCoo 028ff072e2 Docs: Raster Settings OK refuses only when there are changes to apply
With unchanged settings OK closes the dialog before the document, history and object checks run (crates/ui-egui/src/panels/three_d/raster.rs:147), so docs/mcp.md and docs/three-d.md now say the refusals apply when there are changes.
2026-12-04 21:26:00 -08:00
dotCooCoo 168d6c9cce Plug-ins: an outside command leaves recut paths and a refused step alone
During an add-on dialog's preview, a command from outside the dialog no
longer acts on a path whose selected anchors the preview renumbered (Set
Corners recut it), so Clear does not delete other points of the base
path. A refused outside command leaves the dialog's own selection as it
was, while a command that ran, such as Deselect, still sets it. The
journal records the selection the command acts on before it, so an
action replays it on the same objects.
2026-12-04 21:17:55 -08:00
dotCooCoo 7548988c4c Merge main into fix/dxf-region-import 2026-12-04 21:00:23 -08:00
dotCooCoo 31876d6775 Merge main into feat/font-sheet 2026-12-04 20:36:17 -08:00
dotCooCoo fc73fd9e2a Merge main into fix/dxf-hatch-pattern-gradient 2026-12-04 20:33:00 -08:00
dotCooCoo 787c489cfc DXF/DWG import: pattern hatches keep their pattern and gradient hatches their gradient
Pattern hatches came in as their boundary outlines, and gradient hatches
were filled with their first color.

- A pattern hatch now draws its pattern lines (groups 53, 43 to 46 and
  49): each family's lines clipped to the boundary (even-odd, as solid
  hatches fill), cut into dashes and dots that start from each line's
  base point, and stroked at the hatch's lineweight without its linetype.
  Dots get round caps. A user-defined double hatch (group 77) with one
  family gets the perpendicular family too.
- A gradient hatch (groups 450 to 470) is filled with a linear or radial
  gradient at its angle across the boundary, in its two colors or one
  color shaded or tinted (452, 462); the shift (461) moves the center up
  and left. The named gradients map to linear and radial ones by
  VectorCraft's own rule (hatch.rs). Gradient colors "by block" or "by
  layer" on layer 0 resolve through the insert, and a block holding one
  becomes a symbol per look.
- A pattern hatch without usable pattern lines, with more than 20,000
  dashes, or past the drawing's budget of 2,000,000 dashes or
  200,000,000 clipping steps still comes in as its boundary, with a
  warning.

Docs: docs/mcp.md (DXF import), docs/file-format-parity.md (DXF row).
2026-12-04 20:33:00 -08:00
.CooCoo 857ea2aa94 Merge pull request #10892 from dotCooCoo/fix/composite-installed-name-place
Place: placed type keeps an installed font that shares a composite font's name
2026-12-04 20:02:26 -08:00
.CooCoo 1597047278 Merge pull request #10873 from dotCooCoo/fix/dxf-group-block-reference
DXF export: Always Export Group as Block Reference
2026-12-04 19:41:55 -08:00
dotCooCoo 6ab79bce2e Docs: the JPEG filter lists only the lowercase .jpe
Open and Place read .jpe files in any letter case, but the dialogs' JPEG filter adds only the lowercase extension, and GTK matches filter patterns case-sensitively.
2026-12-04 19:37:30 -08:00
dotCooCoo d556e768f7 Docs: name the source profile of each script color pick
Typed RGB values convert from the RGB profile of the document the window
shows (or the working RGB profile) to the script document's RGB profile,
and separate through its CMYK profile only in a CMYK document. Hex,
screen-sample, HSB and web-snapped picks start in display sRGB.
2026-12-04 19:31:49 -08:00
dotCooCoo c5e2098a59 Merge main into fix/raster-settings-opened-objects
# Conflicts:
#	ROADMAP.md
2026-12-04 19:25:58 -08:00
dotCooCoo 348b561d3c Merge main into fix/dwg-listed-without-decoder 2026-12-04 19:11:56 -08:00
dotCooCoo dcf43d3017 Merge main into fix/dxf-region-import 2026-12-04 19:09:38 -08:00
dotCooCoo eb1e5b6b14 3D: Raster Settings OK refuses after a canceled edit or during a tool edit
A canceled undo group, or a canceled undo scope that put back an earlier
snapshot, now advances the document's history restore count, as Undo
and Redo do. The same steps can make an equal object with the same id
again after such a cancel, so Raster Settings, Placement Options and
Create Object Mosaic ask to be reopened. A scope canceled without an
edit puts back the same snapshot and does not count.

Raster Settings OK also refuses while a tool edit computed on another
thread is pending, since running the command would apply that edit
first, after the targets were checked.

When the objects the dialog opened on render again, OK clears their
earlier fallback warning from the status bar while it still shows it,
unless a selected object still gives that warning; the selection's
first other warning takes its place.
2026-12-04 19:04:33 -08:00
dotCooCoo b280bc282f Merge main into fix/remove-all-image-frame-clip 2026-12-04 19:00:29 -08:00
.CooCoo dcab528174 Merge pull request #10632 from dotCooCoo/fix/tracing-mask-art
Scripts: retracing and releasing refuse a tracing with added opacity mask art
2026-12-04 18:58:41 -08:00
.CooCoo 72801b126e Merge pull request #10896 from dotCooCoo/fix/new-group-in-shaper-group
Shaper: new groups and clipping masks no longer delete a Shaper group
2026-12-04 18:52:48 -08:00
.CooCoo 4be58b75cd Merge pull request #10144 from dotCooCoo/feat/release-containers
Artwork Cleanup: Release All Containers takes apart every group, clipping mask and compound path
2026-12-04 18:46:43 -08:00
dotCooCoo 02c4ac0f74 Scripts: a Color Picker pick converts through the script document's profiles
app.showColorPicker answers the run between slices, when the active
color settings hold the profiles of the document the window shows. A
pick in the run's own document, made or assigned other profiles by the
script, was converted to that document's RGB space and separated to CMYK
through the window's profiles instead.

The dialog now carries the RGB and CMYK profiles assigned to the run's
active document when the picker opens. On OK a display-sRGB pick (hex,
sample, HSB) is taken into that document's RGB space, RGB values typed
into the picker convert from the shown RGB profile to the document's,
and an RGB pick in a CMYK document separates through the document's
CMYK profile.
2026-12-04 18:38:31 -08:00
.CooCoo 7802fe94be Merge pull request #10726 from dotCooCoo/fix/held-dialog-outcomes
Dialogs: a control confirm of a held OK replies with the app's answer
2026-12-04 18:30:21 -08:00
dotCooCoo 60cdfc1eb4 Merge main into fix/dxf-group-block-reference
The craft-libs pins take main's rev. Until storytold/craft-libs#5381 merges,
crates/cad/src/blocks_compat.rs writes the block records, BLOCK definitions
and INSERT entities that #5381 adds to the drawing writer.
2026-12-04 18:24:34 -08:00
dotCooCoo 3795ea5bba Merge main into fix/jpe-jpeg-extension 2026-12-04 18:19:27 -08:00
dotCooCoo a680aef74a Merge main into fix/tracing-mask-art 2026-12-04 18:19:19 -08:00
dotCooCoo b63ed69db5 Merge main into fix/remove-all-image-frame-clip 2026-12-04 18:18:32 -08:00
dotCooCoo 0ca72a4a26 Merge main into fix/new-group-in-shaper-group 2026-12-04 18:18:17 -08:00
dotCooCoo ab17c55959 Merge main into fix/composite-installed-name-place 2026-12-04 18:17:54 -08:00
.CooCoo ae67ca69e6 Merge pull request #10884 from dotCooCoo/fix/script-stale-collection-before-range
Scripts: stale layers and artboards throw their stale error from index()
2026-12-04 18:10:21 -08:00
.CooCoo f4c65a2f0f Merge pull request #9053 from dotCooCoo/feat/scripts-api-d5-swatches-symbols
Scripts: documents give scripts their swatches, spots, symbols, graphic styles and brushes
2026-12-04 18:08:05 -08:00
dotCooCoo 43d4cb2a25 Merge main into feat/release-containers 2026-12-04 18:03:46 -08:00
dotCooCoo 05ed058fb1 Shaper: new groups and clipping masks no longer delete a Shaper group
A Shaper group keeps its source art at the bottom and rebuilds the rest
from it. object.newGroup with a Shaper group as parent at index 0, and
layer.clippingMask.toggle (also a script's clipped = true) on a Shaper
group, put a new object where the source art was. The group then read
no sources and was deleted. Both commands now refuse a Shaper group and
leave the document as it is; the clipping check runs before the edit
opens, so a refused call leaves typing as it is.
2026-12-04 18:02:53 -08:00
.CooCoo 85bd77b528 Merge pull request #9315 from dotCooCoo/feat/scripts-export-for-screens
Scripts: Document.exportForScreens writes artboards, assets or the document into a folder
2026-12-04 17:59:22 -08:00
.CooCoo 415fa81712 Merge pull request #10641 from dotCooCoo/fix/trace-preset-bracket-names
Scripts: loading the same built-in preset with or without brackets does not trace again
2026-12-04 17:59:16 -08:00
.CooCoo 48488547af Merge pull request #10856 from dotCooCoo/fix/live-corners-keep-straightened-radius
Live Corners: a straightened corner rounds again when a later move bends it
2026-12-04 17:59:11 -08:00
.CooCoo 32513255bd Merge pull request #10860 from dotCooCoo/fix/placed-dimension-composite-font
Place: a placed dimension keeps the composite font its label was renamed to
2026-12-04 17:59:07 -08:00
.CooCoo 0fb3f00a4b Merge pull request #10877 from dotCooCoo/fix/dwt-dws-open
DWG: .dwt templates and .dws standards files open as DWG drawings
2026-12-04 17:59:00 -08:00
.CooCoo 43e046ed33 Merge pull request #10878 from dotCooCoo/fix/webp-embed-icc
WebP export: Embed ICC Profile writes the sRGB profile in an ICCP chunk
2026-12-04 17:58:57 -08:00
dotCooCoo 48f7214daa Merge main into fix/targa-color-model 2026-12-04 17:52:30 -08:00