Commit Graph
19258 Commits
Author SHA1 Message Date
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
dotCooCoo b420095035 Merge main into feat/3d-graphics-inflate 2026-11-15 09:43:24 -08:00
Dylan M. Taylor abe90db45a Cover PNG transparency keys in opaque outline decoding 2026-11-15 17:42:47 +00:00
dotCooCoo 0556c82b24 Merge main into feat/color-profile-ask-prompts 2026-11-15 09:41:47 -08: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 526eba3ad4 Color Settings: a null profileMismatch asks as leaving it out does
With Ask When Pasting on, a paste or drop given profileMismatch: null
opened no question, though the command reads null as no choice. The
desktop app now asks for it as for an omitted choice.
2026-11-15 09:40:28 -08:00
dotCooCoo 6d4af7d6fe i18n: Indonesian rows for file.info, script answers and plug-in refusals
Indonesian now has to translate every message, and main added messages
since the catalog was written: the file.info control-character
refusals, script.run's answers refusals, the nested effect refusal
template and the plates gradient refusal. Add their rows.
2026-11-15 09:39:14 -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 295fc36d2b Pathfinder: inserted effect steps take their options from the engine's helper
effect.apply and Insert Menu Item now read a new Pathfinder effect's
options from one engine function, pathfinder_effect_options, so the
step an inserted Effect › Pathfinder item holds and the params the
click journals come from the same rule. A new test checks every
Effect › Pathfinder item with options other than the defaults,
removeUnpainted included.
2026-11-15 09:37:49 -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 6327e98e56 i18n: drop the Swedish script.run answers rows that main already has
main added the ten script.run answers messages to sv.tsv with the same
translations, so the catalog listed each one twice and
bundled_catalogs_are_consistent failed on the duplicate rows.
2026-11-15 09:35:44 -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 08add85e16 Merge main into feat/3d-custom-bevels 2026-11-15 09:29:08 -08:00
dotCooCoo 9255edc3d8 Merge main into feat/3d-classic-light-sphere 2026-11-15 09:29:07 -08:00
dotCooCoo 4eb1c93fd6 Merge main into feat/3d-classic-map-art 2026-11-15 09:29:03 -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 1f411c8fa1 Color Settings: the paste question has a choice for each model when both differ
profileMismatch also takes {rgb?, cmyk?}, a choice for each model, a
model left out following its policy, on the paste commands,
edit.dropSelection and clipboard.conflicts. With colors of both models
from other profiles, the paste question shows a choice under each
model's line, each starting on its model's policy, so OK no longer
gives the CMYK colors the RGB policy's choice.
2026-11-15 09:25:18 -08:00
dotCooCoo 1691a5ff31 Merge main into feat/indonesian-translates-every-status-and-error 2026-11-15 09:24:58 -08:00
dotCooCoo 4518932381 Merge main into fix/blob-params-rejected 2026-11-15 09:24:54 -08:00
dotCooCoo 306449ba98 Merge main into fix/sv-message-rows 2026-11-15 09:24:36 -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 c883b808cc Symbolism: a bad pen pressure is refused on a point without coordinates
symbol.adjust and symbol.spray skip a point whose x or y is not a
number, and the pressure check came after that skip, so a stroke with a
point such as [null, 0, "bad"] beside a valid one was applied. The
pressure is now checked first, and the command fails with the bad-pressure
error and leaves the document as it was.
2026-11-15 09:17:13 -08:00
dotCooCoo 78e56b6d7a Recolor Artwork: an added color whose row is excluded joins no color group 2026-11-15 09:16:17 -08:00
dotCooCoo f725dd8caa 3D: a wireframe is not refused for graphics it does not draw
Extrude & Bevel, Inflate and Rotate in wireframe mode draw the faces' edges
with no graphics, but the graphics' art was still checked against its
limits, and Inflate still built its puffed surface with the graphics on
it, so a wireframe could be refused as too complex. Neither check runs in
wireframe mode now, as Revolve already skips them.
2026-11-15 09:16:05 -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