Commit Graph
17504 Commits
Author SHA1 Message Date
FredApps b652c6697c fix(codecs): keep main's behaviour where the cutover changed it
- EPS CCITTFaxDecode goes back to hayro-ccitt (main's filters.rs and data.rs):
  craft-stream-codecs decodes /K -1 /Columns 70 data to other rows
  (eps import::tests_images::ccitt_fax_images_draw). DCTDecode is main's again.
- The AI editing writer decodes through the image crate again: going through
  RGBA8 lost 16-bit sources, so their 8-bit warning disappeared
  (ai_editing::tests::sixteen_bit_images_are_written_at_eight_bits).
- Crop Image refuses an image over its allowance by header size again, with
  main's "an image of W × H pixels is too large to draw" message.
- Test fixes: colorized_images writes its gray PNGs gray again, and the PDF
  16→8-bit test expects rounding, as the 8-bit copy is made.
2026-11-15 19:01:25 +01:00
ruchirguitar 18bfc1239b G12: confirm context-menu swatch deletion
Reuse the panel deletion helper so the clicked swatch is deleted only after confirmation. Cover confirmation text, cancellation, clicked-item targeting and Undo across all five views. All 39 Swatches tests and all 13 local CI gates pass; fresh deep CodeRabbit review reports zero findings.
2026-11-15 23:25:36 +05:30
dotCooCoo 7d7c5918f3 MCP docs: Kurikaeshi Moji Shori covers the first repeat mark of a frame of type on a path 2026-11-15 09:52:57 -08:00
dotCooCoo fcaed952fb Paragraph: Kurikaeshi Moji Shori draws a threaded type-on-path frame's first repeat mark
A frame of type on a path whose first paragraph continues from the frame
before now draws a repeat mark at its start as the character before it in
the frames before, as area and point type do. The mark keeps its advance,
so the glyphs stay where they were, and live SVG text writes the character
drawn.
2026-11-15 09:50:38 -08:00
dotCooCoo f026c91159 Flare: shape.editFlare's rotation says it turns the rays clockwise
The engine's turn-direction check requires every rotation param to say which way it turns. shape.editFlare's rotation is shape.flare's setting, which turns the rays clockwise.
2026-11-15 09:50:19 -08:00
dotCooCoo da63094946 i18n: check the spooler-note print message in every catalog
`sent` now reports a spooler note as "The spooler replied: ...", so the
cross-language case checks that form instead of the old "(job 12)" one,
which matched the plain row and passed without the note row.
2026-11-15 09:46:54 -08:00
Dylan M. Taylor ac98891a69 Pin XML validation test fix 2026-11-15 17:45:27 +00:00
Dylan M. Taylor 09dda7bd9a Use shared strict XML attribute validation 2026-11-15 17:44:53 +00:00
Dylan M. Taylor abe90db45a Cover PNG transparency keys in opaque outline decoding 2026-11-15 17:42:47 +00:00
dotCooCoo 322ce1a015 Smart Guides: tangent and perpendicular snaps find a touch point that falls exactly on a sample
The touch points of a drawn line were found by sampling each target
segment in 24 steps and bisecting where the sign changed. When the line
was exactly square or tangent at one of the samples, the value there was
exactly 0, neither interval changed sign, and no snap was offered: for
example the foot of a perpendicular from a point above a segment's
middle, or a circle's tangent point when it fell exactly on a sample.

A sample whose value is exactly 0 now counts as a touch point when its
neighbors are not 0, so a straight curve seen from its own line still
gives none. The ends of the segment, a cusp and a start point on the
curve itself are left out, as between samples.

Part of #7846
2026-11-15 09:41:17 -08:00
Dylan M. Taylor 2ad5fa1734 Preserve renderer source limits for streaming PNG reduction 2026-11-15 17:41:07 +00:00
dotCooCoo 3e2a2ad9ac Paint: invert and complement of a group of design art remember its new fill
paint.invert and paint.complement given a group whose own fill or stroke
changed, with only graph design art inside it, left the last color and
the recent colors as they were, because the remembered paint was taken
only from the objects inside the group. It now comes from the first
group whose own fill or stroke changed. A recolor that changes no
group's paint, such as the complement of a gray fill, remembers nothing.
2026-11-15 09:41:04 -08:00
dotCooCoo 63451f5d78 Command Palette: a Recent Commands list beside the search field runs the last five picks again
A button beside the Help › Search Commands field opens a Recent Commands
list: the last five commands and tools picked from the palette, most
recent first. A command picked again moves to the top, so it takes one
place. Choosing a row closes the palette and runs it the way a pick of
the same result does, so dialogs, a dimmed item's reason and tool picks
work as before. With nothing picked yet, the list shows a dimmed No
recent commands row.

A command that is not available now, such as a filter of a plug-in that
is not loaded, is left out of the list but stays in the saved ids, so it
shows again when it comes back. The saved list keeps the last five
available picks and at most 20 ids in all. It is saved with the UI state
next to Recent Fonts.

While the list is open, its first row takes the keyboard, Up and Down
move through its rows and wrap at the ends, Enter runs the row, and
Escape closes the list before the palette.

Docs: docs/target-app-parity.md (command palette).

Fixes #6376
2026-11-15 09:39:13 -08:00
dotCooCoo a5b84d8e2a Paragraph: Kurikaeshi Moji Shori keeps one record per mark when area type flows again
Vertically aligned area type in a frame that is not a rectangle flows its
text again until it settles, and each pass added the line-start repeat
marks to the layout's records once more, so SVG export could look up the
wrong character. Each pass now starts from empty records, and an undone
pass restores the ones before it.
2026-11-15 09:38:15 -08:00
dotCooCoo aca3316954 Expand Appearance: note the image limits in the progress line
The progress line said nested symbol instances leave nothing live after
Expand Appearance. It now names the 1,024-image and 256-megapixel
limits, the objects they leave with their raster effects and the
`rasterLeft` warning, and the test that covers them.
2026-11-15 09:38:04 -08:00
dotCooCoo 2ae0db53c0 i18n: Georgian and Russian keep one row of the connect end message
The ka and ru catalogs already had a row for `connect end must be
"start" or "end"`, and this branch added a second one, which fails
bundled_catalogs_are_consistent. The added rows are removed and the
existing translations stay.
2026-11-15 09:35:53 -08:00
dotCooCoo 4b3dd42bc5 i18n: drop the ka and ru rows the joined messages replaced
The Georgian and Russian catalogs from main still carried rows for the
old `{within}{key}`, `{within}settings.{format}` and `{lo}–{hi}{unit}`
messages, which no message matches since their values are joined first.
Both catalogs already have rows for the joined messages.
2026-11-15 09:35:37 -08:00
FredApps 59ddf705b9 fix(codecs): read image sizes from headers for PNG, JPEG and TIFF again
craft_image_codecs::probe_size only reads WebP, EXR and the GIF/BMP/TGA family;
for PNG, JPEG and TIFF it returns Unsupported. The cutover used it for header
sizes, so DXF export left every PNG out (cad tests), plugin objects lost PNG
pixels, and EPS image-mask and SVG import fell back to decoding whole images to
learn their size. vectorcraft_doc::header_size reads PNG's IHDR and a JPEG's
frame through craft-image-codecs and other formats through the image crate's
header readers, as main does, without decoding pixels. The SVG filter's JPEG
size comes from jpeg_info instead of a full decode.
2026-11-15 18:35:21 +01:00
dotCooCoo 71a474450d Merge main into feat/3d-classic-black-overprint 2026-11-15 09:34:04 -08:00
dotCooCoo bef5bc01e1 i18n: drop the Georgian justification order row that main now carries
main's ka.tsv gained the same `@msg` row, so the catalog held it twice and
bundled_catalogs_are_consistent failed.
2026-11-15 09:32:31 -08:00
dotCooCoo 74f139062b Paragraph: Kurikaeshi Moji Shori scans a paragraph once while laying it out
Each line that started with a repeat mark scanned the paragraph's text from
its start for the character the mark stands for, so a paragraph with marks
at the start of many lines took quadratic time to lay out. The scan now
goes on from the line before.
2026-11-15 09:31:23 -08:00
dotCooCoo 9255edc3d8 Merge main into feat/3d-classic-light-sphere 2026-11-15 09:29:07 -08:00
dotCooCoo bf2a90ed90 Merge main into feat/3d-bevel-reset 2026-11-15 09:28:38 -08:00
Dylan M. Taylor d02b41414a Use shared ligature caret mapping 2026-11-15 17:25:58 +00:00
dotCooCoo 4518932381 Merge main into fix/blob-params-rejected 2026-11-15 09:24:54 -08:00
dotCooCoo a9119df4bc i18n: drop the ka and ru toolbar error rows that main already has 2026-11-15 09:24:23 -08:00
dotCooCoo 996423d968 Merge main into fix/i18n-adjacent-placeholders 2026-11-15 09:24:20 -08:00
dotCooCoo 9389acc81e i18n: drop Spanish catalog rows main already has
Main added Spanish rows for ten of the dialog-answer messages this branch also translates. The branch's copies are removed so each message has one row and bundled_catalogs_are_consistent passes; main's translations are identical.
2026-11-15 09:23:53 -08:00
dotCooCoo fb287514d5 i18n: drop catalog rows main already has
Main's Georgian catalog has a row for `index` must be a whole number
and one for the knockout groups warning, so the copies this branch
added are removed. Main's knockout row had two spaces after the colon,
which neither the program's text nor the message scan matches; it now
has one. The Georgian counts in localization-parity.md are recounted.
2026-11-15 09:23:45 -08:00
dotCooCoo eab8931dde i18n: drop catalog rows main already has
Main's Georgian catalog already carries the action step error row, so the copy this branch added is removed.
2026-11-15 09:23:36 -08:00
dotCooCoo bb3653e98f Docs: the command palette is named by its menu item, not by ⌘K
The egui crate's header comment and the M14.8 line in
docs/target-app-parity.md called it "the ⌘K palette" and "a ⌘K command
palette". Cmd+K runs edit.preferences, and help.commandPalette (Help ›
Search Commands…) defaults to Cmd+Shift+/. Both now name the menu item,
and the crate comment links the palette module.
2026-11-15 09:22:55 -08:00
Dylan M. Taylor 3d0b4c9a26 Use shared measured line break selection 2026-11-15 17:22:25 +00:00
dotCooCoo dae1bf749b i18n: drop catalog rows main already has
Merging main brought in Georgian and Russian rows for the SVG filter messages that this branch also added, so each catalog held them twice and bundled_catalogs_are_consistent failed. The branch's copies are removed and main's rows stay.
2026-11-15 09:21:48 -08:00
dotCooCoo cd30b7b31e Merge main into fix/expand-appearance-nested-instance-effects 2026-11-15 09:20:32 -08:00
Dylan M. Taylor 3002404467 Use shared visual cluster ordering 2026-11-15 17:19:37 +00:00
dotCooCoo 51803c222d Docs: moving a label can scale the plot of a graph saved without placedArt
docs/mcp.md said that moving a label on its own never moves or scales a
graph's plot. A graph saved without `placedArt`, or with one that has no
width or height, is measured on `placed`, the bounds of all of its art
including the labels. Moving an outermost label of such a graph on its
own changes those bounds, and the next redraw moves and scales the plot.
The paragraph now says so.
2026-11-15 09:19:33 -08:00
dotCooCoo 8263e36a8f Expand Appearance: shadow and glow images keep their blend mode
The image made of an object's shadows and outer glows took the default
blend mode, so a Multiply shadow (Drop Shadow's default) over colored art
became a plain shadow painted over it. When the shadows and glows all use
one blend mode, the image now paints with it, for the object's own effects
and for nested symbol instances alike.
2026-11-15 09:18:57 -08:00
dotCooCoo 2f54dac830 Merge main into fix/ka-missing-message-rows 2026-11-15 09:18:42 -08:00
dotCooCoo b6463e53cc Paragraph: threaded Kurikaeshi Moji Shori leads come from one pass over the frames
A thread of frames that hold only repeat marks or soft returns made each
frame look back through every frame before it, so opening or flowing such
a story took quadratic time, with the setting off as well. The leads are
now carried forward in one pass.
2026-11-15 09:13:16 -08:00
dotCooCoo 1e32738b8f MCP: confined SVG output checks the linked images the file draws
The read-root check for SVG output now looks at the same art the
writer draws:

- A placed document's art is checked, with the pixels its file holds.
  A placed native file that links an image outside the read roots was
  written with that path under Images: Link.
- Hidden objects inside symbols, patterns and graph designs are left
  out unless hidden layers are kept, as they are in the layers.
- With profile tiny12 the file leaves out opacity masks, and their
  images are not checked.
- An object whose effect SVG has no filter for is checked as the image
  the file draws of it, for file output and clipboard.exportSvg alike.

The last three refused files and clipboard SVG that name no file
outside the roots.
2026-11-15 09:13:08 -08:00
dotCooCoo 56625d5eab Merge main into feat/3d-graphics-extrude-side 2026-11-15 09:12:02 -08:00
dotCooCoo fdeb3a6ab3 Merge main into fix/tool-set-option-errors
# Conflicts:
#	crates/ui-egui/src/toolbar.rs
2026-11-15 09:11:04 -08:00
dotCooCoo 61ede55a08 Merge main into fix/shortcut-row-names-translated 2026-11-15 09:09:27 -08:00
dotCooCoo 19c7b2bd46 Merge main into fix/js-interp-errors-translated 2026-11-15 09:08:56 -08:00
dotCooCoo 79c696d879 Merge main into feat/3d-soft-shadows 2026-11-15 09:08:53 -08:00
dotCooCoo 1ec8a9ba8f Merge main into fix/actions-error-step-number 2026-11-15 09:08:40 -08:00
dotCooCoo a9a2d499f5 Merge main into fix/es-message-rows 2026-11-15 09:08:29 -08:00
dotCooCoo be4dab1e8c Merge main into feat/recolor-add-remove-color-tools 2026-11-15 09:08:28 -08:00
dotCooCoo 91f3f812c9 Merge main into feat/object-mosaic-dialog 2026-11-15 09:08:24 -08:00
dotCooCoo 3e4b8d81ff Merge main into fix/an-image-whose-recode-fails-is-written-without 2026-11-15 09:08:24 -08:00