Commit Graph
19258 Commits
Author SHA1 Message Date
dotCooCoo 62204d9897 Merge main into feat/3d-custom-bevels 2026-11-15 19:52:16 -08:00
dotCooCoo 46aa337123 Merge main into feat/3d-graphics-inflate 2026-11-15 19:51:55 -08:00
dotCooCoo dd8a50dbe3 Path Precision Tools: Smooth Bridge leaves necks too thin to unite unbridged
With three or more circles, a pair just inside the arcs' limit can have
a neck far thinner than the precision the shapes are united at, and the
union could drop it while the pair still counted as joined. Each set of
connected circles is now united at a precision fine enough for its
smallest circle, and a pair whose neck is narrower than twice that gets
no bridge, the same as a pair too far apart for the arcs.
2026-11-15 19:49:25 -08:00
yoriswind 14972b7667 M2: keep erased contours in their clipping mask 2026-11-15 19:49:07 -08:00
FredApps 9047af65f8 render: decode images through craft-image-codecs; keep main's JPEG writer
The renderer's image paint reads sizes from the header (vectorcraft-doc's
header_size, craft-image-codecs' inspect_raster) and decodes through
craft-image-codecs, the pixels as stored, for the formats it drew
before (PNG, JPEG, GIF, WebP, TIFF and BMP). A test compares the pixels
with the image crate's for each PNG color type and depth, palettes and
1-bit gray, GIF, WebP, TIFF, BMP and JPEG.

The JPEG writer goes back to main's jpeg-encoder one: the craft-image-codecs
version wrote a CMYK JPEG's resolution in a little-endian EXIF of another
layout, failing the tests of main's #3084 fix. TIFF LZW strips stay on
craft-stream-codecs, checked against weezl (now a dev-dependency): read
back the same and never larger.
2026-11-16 04:48:31 +01:00
dotCooCoo 1e5d3d5240 .ai save: a cut clipping object keeps its name, opacity mask and variables
A clipping object written as art cut to it (a group, an image, a symbol
instance, a live object, type, or a path inside art already cut to
another clipping object) lost its name, opacity mask and variable
bindings in the editing data: no written object carried its dictionary,
and a painted one put its name on each of its fill and stroke objects.

The unpainted path that carried its text wrap options now carries its
whole dictionary, in the form the .ai reader reads (art_dictionary in
crates/eps/src/import/ai/read/document.rs). Its fills and strokes keep
only the opacity mask they are drawn through. The path is admitted by
the object count, so at the object limit its dictionary is never left
on the object before it, and a path whose dictionary comes out empty is
taken out again.
2026-11-15 19:48:00 -08:00
dotCooCoo 5dea503631 Merge main into feat/3d-classic-map-art 2026-11-15 19:42:25 -08:00
dotCooCoo b8c03fbe45 Merge main into feat/recolor-edit-base-color-menus 2026-11-15 19:41:18 -08:00
dotCooCoo df446a98e8 Merge main into fix/transform-copies-raster-effects-rows 2026-11-15 19:38:47 -08:00
dotCooCoo bcf7f9f926 Recolor Artwork: a color added on the Edit tab is not an empty row
Since main leaves rows with no current colors out of the Edit tab, Save
All Colors and the Color Theme Picker, a color the Add Color tool added
(also a row with no current colors) lost its bar and its place in the
color group. Such a row, marked `added`, is no longer counted as an
empty New Row row, so it stays on the Edit tab and in the group.
2026-11-15 19:38:41 -08:00
dotCooCoo 139b700334 Merge main into feat/stylus-wheel 2026-11-15 19:38:10 -08:00
BFlat 26c137334b Merge pull request #7116 from dotCooCoo/fix/i18n-justification-order-message
i18n: the justification order error is translated in every complete catalog
2026-11-16 10:36:33 +07:00
BFlat 3eb964bc1c Merge pull request #7948 from dotCooCoo/feat/crop-image-cropping-options
Crop Image: the Control bar sets the cropped image's resolution, reference point and linked size
2026-11-16 10:36:24 +07:00
dotCooCoo 83f21f4496 Path Precision Tools: Common Tangents adds the centerline between tiny paths
The centerline was left out whenever the two centers were less than 1e-9
points apart, so two separate paths a billionth of a point wide got their
tangents but no centerline. Centers now count as one point only when they
are closer than a billionth of the larger path's size.
2026-11-15 19:36:17 -08:00
BFlat b3c94280d4 Merge pull request #7974 from dotCooCoo/feat/composite-font-sample
Type: Composite Fonts' Show Sample draws the font picked with its metric lines
2026-11-16 10:36:14 +07:00
BFlat f9efd3ca0f Merge pull request #7983 from dotCooCoo/feat/font-menu-show-similar
Type: the font menu's Show Similar Fonts lists the families that look like a family first
2026-11-16 10:36:06 +07:00
BFlat bdf33b1114 Merge pull request #7839 from dotCooCoo/fix/expand-appearance-nested-instance-effects
Expand Appearance: raster effects on a symbol instance's fill or stroke expand to art, nested instances included
2026-11-16 10:35:50 +07:00
BFlat 89c3a9c4ec Merge pull request #7946 from dotCooCoo/feat/revolve-cut-caps
Revolve: a partial sweep with Cap closes its cut sides
2026-11-16 10:35:40 +07:00
BFlat 59771c6566 Merge pull request #8002 from dotCooCoo/fix/tool-overlays-long-drag-copies
Tool overlays: long drags keep their line in shared pieces instead of rebuilding it every frame
2026-11-16 10:35:26 +07:00
BFlat 6d6dd28fad Merge pull request #8018 from dotCooCoo/feat/ellipse-tangent-radius
Ellipse: a circle drawn from its center snaps its radius to touch a nearby path
2026-11-16 10:35:17 +07:00
BFlat 59a43d3268 Merge pull request #7969 from dotCooCoo/fix/confined-export-screens-folder-checked
SVG: a confined Preserve Editing attachment leaves out an Export for Screens folder outside the read roots
2026-11-16 10:35:09 +07:00
BFlat 74af4fdc5c Merge pull request #8008 from dotCooCoo/fix/spelling-continues-past-cap
Check Spelling: Ignore and Change All reach every word past the check limit
2026-11-16 10:34:56 +07:00
dotCooCoo b409e13924 Map Art: art left out frees its allowance, and the dialog draws the art in its box's proportions
- Mapped art that goes past a limit is left out together with the paint
  copies and points it would have taken, so a later solid's or appearance
  item's map still draws.
- The surface list collects every surface's outline in one pass over the
  facets.
- The Map Art dialog draws the mapped symbol stretched to its box, as its
  map scales it, and renders it at most 1,024 pixels on a side. Symbol
  thumbnails are bounded the same way.
- The params text and docs/mcp.md say that a hollow solid (cap false) has
  no caps, so its numbering starts at its first side wall.
2026-11-15 19:34:49 -08:00
BFlat f9aa592ffd Merge pull request #8011 from dotCooCoo/fix/symbol-pixel-grid-followups
Symbols: Align to Pixel Grid moves a snapped instance's linked mask and leaves editing layers to their symbol
2026-11-16 10:34:48 +07:00
BFlat 7058bdff88 Merge pull request #8012 from makesomethingshit/fix/8005-color-spectrum-height
Fix #8005: Grow the spectrum with the Color panel
2026-11-16 10:34:39 +07:00
dotCooCoo b047801903 Command Palette: keys in one frame move the highlight in the order pressed
Page Down, Up and the other keys that move the highlighted result now
apply in the order they were pressed, so Page Down then Up in one frame
lands one row above the page rather than on the last result. A scroll by
any amount, not only steps over half a point, moves the highlight onto a
row in view, so slow scrolling cannot carry the highlighted result out
of sight while Enter still runs it.
2026-11-15 19:25:14 -08:00
dotCooCoo d487dae5b3 Path Precision Tools: Common Tangents refuses a path that turns inward at a join
The convexity check compared points sampled along each segment and the
curvature inside each segment, but not the corner where one segment meets
the next. A segment that leaves its start a little the wrong way could make
an inward corner that neither check saw. Each join is now checked by the
directions the two segments meet it in, skipping segments of no length.
2026-11-15 19:19:45 -08:00
dotCooCoo 763be536f5 Add Polygonal Lasso as an optional tool
Polygonal Lasso selects anchor points inside a loop of straight
segments. Each click sets a vertex, and a segment from the last vertex
follows the pointer. A double-click, Enter or a click on the first
vertex closes the loop. Backspace or Delete removes the last vertex,
Escape drops the loop, and Shift keeps the next segment to 45-degree
steps from the Constrain Angle. Shift held at the first click adds to
the selection and Alt subtracts from it, as with the Lasso. A loop of
fewer than three vertices selects nothing and records no undo step.

The tool is listed under its own heading in All Tools and under
Object › Plug-ins › Polygonal Lasso, with no default toolbar slot or
shortcut. On close it uses the Lasso's test for which anchor and mesh
points are inside (even-odd), now shared as lasso_select; the Lasso
itself behaves as before.

Touch mode now counts Polygonal Lasso and Enclosing Lasso as selection
tools, as it counts the Lasso, so the two-finger tap switches from them
to the drawing tool chosen last.

Fixes #4736
2026-11-15 19:17:09 -08:00
dotCooCoo 2b3826e280 Merge feat/palette-outside-click into feat/palette-search-index 2026-11-15 19:14:36 -08:00
dotCooCoo 48a708dc0f 3D: Inflate faces that carry graphics keep their colored-light underlay
Under colored lights with smooth shading, a face of Inflate's front or
back that carries part of a mapped graphic is drawn as a group of the
face and those parts. The underlay that closes the seams between faces
did not take such a group, so the whole run was drawn without it and
hairline gaps could show between triangles. Such a face now takes its
facet's underlay and stays in the order with its parts.
2026-11-15 18:53:09 -08:00
dotCooCoo eacf48e1f7 Command Palette: a menu's title no longer lifts every item in that menu
A query that is a menu's title ("object", "effect", "select") put
every item of that menu in the starts-with tier, because the tier also
read each name with its menu path. Such items now rank by the word
grades like the rest, below results whose label holds the query as a
word. A query that holds `›` still starts a name with its menu path.

- A new test checks that the native Mac menu bar's application menu
  holds the items the palette places there, under the same submenus.
- The Drop Shadow query checks the exact effect, and the test of common
  queries is renamed to say that some only need to be near the top.
- docs/target-app-parity.md: the earlier palette line no longer states
  the old ranking rule, and the new line gives the kind of result as
  the reason "rect" lists the Rectangle Tool first.
2026-11-15 18:51:25 -08:00
dotCooCoo 81f8d8020d Merge main into feat/smooth-bridge-many 2026-11-15 18:51:11 -08:00
dotCooCoo 84308c53d7 Path Precision Tools: Smooth Bridge joins many circles and keeps a constant gap
Smooth Bridge now takes three or more circles. Every two whose outlines
are within a reach of each other are bridged, the bridges that connect
are united into one shape each, and a circle bridged to no other stays
as it is.

- `addon.pathtools.bridge` takes `gap` (0 to 1000 pt) in place of
  `radius`: the arcs' radius is the smaller circle's radius plus the
  gap, so each arc stays the gap away from a circle of the smaller
  circle's size about the arc's center. In a triangular grid of equal
  circles that gap apart, the channels around an empty place keep one
  width. Giving both is an error.
- `reach` (0 to 10000 pt, 10 by default) sets how far apart two circles'
  outlines may be for a bridge between them. It applies to three or
  more circles; two are bridged at any distance, and the dialog's Reach
  field is unavailable then. Pairs are found through a grid of cells,
  so each circle is compared only with its near neighbors. Holes
  smaller than 1% of the smallest circle's area are filled.
- A pair within reach but too far apart for the radius or gap gets no
  bridge. One circle inside another, no pair that can be bridged, no
  two circles within reach, more than 2000 circles and more than 8000
  bridges are refused with a message. An id given twice counts once.
- Each shape replaces its circles, painted as the topmost of them, or
  with `keepOriginals` goes directly above that circle. One undo step;
  the shapes and the circles left alone are selected, and the result is
  `{ids, alone}`, with `id` as well for two circles.
- `smooth_bridge` refuses circles whose sizes overflow when squared;
  it returned a path whose points were not numbers.
- The selection message becomes "select two or more circles to bridge".
- The dialog adds Constant Gap (a Gap field in place of Radius) and
  Reach.

Docs: docs/mcp.md, docs/ui-parity.md, docs/target-app-parity.md,
ROADMAP.
2026-11-15 18:49:45 -08:00
dotCooCoo 80e342c241 Merge main into feat/palette-outside-click 2026-11-15 18:45:49 -08:00
dotCooCoo 3c6250136c Merge main into feat/palette-compact-rows 2026-11-15 18:45:30 -08:00
dotCooCoo 19122ecc34 Merge main into fix/french-rows-use-a-no-break-space-before-as-fr 2026-11-15 18:45:01 -08:00
dotCooCoo 1041a5c528 Merge main into feat/common-tangents 2026-11-15 18:44:19 -08:00
yoriswind 2315dc39d5 M2: reconcile open-fill Eraser with current main (#6582) 2026-11-15 18:43:14 -08:00
dotCooCoo d7b0bc0e4d Merge main into feat/recolor-group-storage 2026-11-15 18:42:52 -08:00
dotCooCoo f190b81896 3D: the Materials tab builds the graphics frame once per edit
While the Materials tab was open, the artboard built the selected
object's graphics frame on every frame it drew, which for Inflate
means building its whole solid. The frame is now kept until the
document changes, and an object without mapped graphics builds none.
2026-11-15 18:42:33 -08:00
dotCooCoo 63d02a2568 3D: a drag over overlapping Inflate pieces maps through the nearer one
Where two pieces of Inflate's puffed front or back overlap on the page,
a handle drag picked the piece whose center was nearer, so a tilted
piece hidden at the pointer could take the drag and move the graphic
to the wrong offset. Each piece now keeps its plane, and the pointer
maps through the piece that is nearest at that point.
2026-11-15 18:42:33 -08:00
dotCooCoo b697ecbf07 Merge main into fix/erase-region-params-refused 2026-11-15 18:40:58 -08:00
dotCooCoo 7ff63a6cd7 Merge main into feat/line-segment-common-tangent 2026-11-15 18:40:40 -08:00
dotCooCoo bc09abc83a Merge main into feat/palette-panels-and-effects 2026-11-15 18:40:24 -08:00
dotCooCoo b1a10c1349 Merge main into fix/text-a-script-throws-itself-is-not-translated 2026-11-15 18:40:02 -08:00
dotCooCoo 69d3402f2a Merge main into feat/psd-export-writes-slices 2026-11-15 18:39:24 -08:00
dotCooCoo b983661aff Merge main into feat/smooth-bridge 2026-11-15 18:39:00 -08:00
dotCooCoo 8d50d3f911 Merge main into fix/blob-params-rejected 2026-11-15 18:36:57 -08:00
dotCooCoo bf19766447 Merge main into fix/confined-exports-script-paths 2026-11-15 18:36:36 -08:00
dotCooCoo eb48e1c0ed Merge main into fix/transform-copies-raster-effects-groups 2026-11-15 18:36:34 -08:00