Commit Graph
655 Commits
Author SHA1 Message Date
HassanKhan 3092cac3fb Docs: the web canvas's partial redraw names when it still renders whole (#8688) 2026-11-19 22:29:22 +05:00
HassanKhan 10516658bf Canvas (web): edits once the view is still don't put off its render
still_wait started its STILL_SECS wait again whenever the cache key
asked for changed, and the key holds the document's revision. After a
heavy document's view moved and stopped while a drag went on editing
it, each edit was drawn into the frame shown and restarted the wait,
so the canvas never rendered whole for the view while the edits went
on. The wait now starts again only when the document or the view
(zoom, centre, size, pixel density, rotation, Pixel Preview's pixels)
changes. The checks that render at once when more than the view
differs from the frame shown are unchanged.

Refs #8688
2026-11-19 22:14:03 +05:00
HassanKhan 18df506f0d Merge remote-tracking branch 'upstream/main' into fix-8688-web-pan-reuse
# Conflicts:
#	docs/roadmap.md
#	docs/target-app-parity.md
2026-11-19 21:44:19 +05:00
HassanKhan 4c5ba5516d Canvas (web): an edit while a heavy document's view moves draws only what it changed
In the web build (no render worker), while the view of a document whose
last render took more than 8 ms moves, the canvas draws the last frame
moved with the view and renders once the view is still. An edit in
that time rendered the whole canvas at the new view, every frame: a
tool drag held at an edge of the canvas (#8551) or a wheel scroll during
a drag did that on each step.

Such an edit is now drawn into the frame shown, at the view it was
rendered for: only the part the edit changed (changed_pixels). The
frame stays drawn reprojected and renders whole once the view has been
still for STILL_SECS, as for a view change without an edit. An edit
that changes more than half of the frame, or one while more than the
view and the document change, renders whole at once as before. The
partial redraw of draw_frame moves into draw_changed, shared by both.

Fixes #8688
2026-11-19 21:30:16 +05:00
BFlat f0d97f5e45 Merge pull request #8330 from dotCooCoo/feat/engraving-brush-library
Brushes: Add original Engraving library
2026-11-19 21:20:18 +07:00
dotCooCoo 3e0963814f Merge main into feat/engraving-brush-library 2026-11-19 05:06:49 -08:00
yoriswind 943f28989a Merge pinned main preserving Image Trace sampler ownership 2026-11-19 04:34:33 -08:00
bflatastic ccdad44caf Merge main into #8554
# Conflicts:
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-19 16:05:01 +07:00
bflatastic 87b64100ba Merge main into #8546
# Conflicts:
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-19 15:35:31 +07:00
yoriswind f4a919e40d Merge main 2c1 with Image Trace qualified-click and temporary-return repairs 2026-11-19 08:34:26 +00:00
bflatastic 615bc1e0d3 Merge main into #7373
# Conflicts:
#	docs/gaps.md
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-19 15:34:18 +07:00
bflatastic 101f3ec2aa Merge main into #8653
# Conflicts:
#	docs/file-format-parity.md
#	docs/roadmap.md
#	docs/target-app-parity.md
2026-11-19 15:28:09 +07:00
bflatastic a82a968b25 Merge main into #8645
# Conflicts:
#	docs/gaps.md
#	docs/roadmap.md
#	docs/target-app-parity.md
2026-11-19 15:27:12 +07:00
bflatastic b9c3215a94 Merge main into #8292
# Conflicts:
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-19 15:26:08 +07:00
bflatastic be7fb767de Merge main into #8286
# Conflicts:
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-19 15:25:23 +07:00
bflatastic 618fb1416d Merge main into #8201
# Conflicts:
#	docs/file-format-parity.md
#	docs/roadmap.md
#	docs/target-app-parity.md
2026-11-19 15:24:38 +07:00
bflatastic 06706b1660 Merge main into #8122
# Conflicts:
#	docs/gaps.md
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-19 15:23:56 +07:00
bflatastic c4d20e2c18 Merge main into #7992
# Conflicts:
#	docs/gaps.md
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-19 15:22:54 +07:00
bflatastic 7dfe58e09a Merge main into #7822
# Conflicts:
#	docs/gaps.md
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-19 15:22:11 +07:00
bflatastic 08b01d714c Merge main into #7652
# Conflicts:
#	docs/gaps.md
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-19 15:20:44 +07:00
bflatastic e4169d7412 Merge main into #7515
# Conflicts:
#	docs/roadmap.md
#	docs/target-app-parity.md
2026-11-19 15:19:43 +07:00
HassanKhan 44f04bd5ae Merge remote-tracking branch 'upstream/main' into fix-8549-lost-reset
# Conflicts:
#	docs/roadmap.md
#	docs/target-app-parity.md
2026-11-19 13:11:51 +05:00
bflatastic feb024d8a7 Merge main into #8347
# 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/da.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/gu.tsv
#	crates/ui-egui/src/i18n/id.tsv
#	crates/ui-egui/src/i18n/ka.tsv
#	crates/ui-egui/src/i18n/ru.tsv
#	crates/ui-egui/src/i18n/sv.tsv
#	crates/ui-egui/src/i18n/vi.tsv
#	crates/ui-egui/src/i18n/zh-hans.tsv
#	crates/ui-egui/src/i18n/zh-hant.tsv
#	docs/gaps.md
2026-11-19 15:04:59 +07:00
bflatastic c528513911 Merge main into #6295
# Conflicts:
#	docs/gaps.md
#	docs/roadmap.md
#	docs/target-app-parity.md
2026-11-19 14:50:17 +07:00
BFlat eef7bd23b4 Merge pull request #6713 from yoriswind/codex/6470-scissors-shared-snap
Fix #6470: use shared drawing snaps for Scissors
2026-11-19 14:46:28 +07:00
BFlat 765fe34ee0 Merge pull request #6593 from yoriswind/codex/6543-index-thread-overlay-selection
M5: index selection lookups for text thread overlays
2026-11-19 14:46:18 +07:00
jayzed80 b20f1ffd2f fix(ui): a hovered dimmed tool in the All Tools drawer keeps its text readable (#8294)
A dimmed row's hover painted the lighter hover fill, which left its dim
text at 4.3:1 in the default Charcoal theme and at 4.1:1 in Classic Dark,
under the 4.5:1 the dim colour is drawn for. A dimmed row can't be dragged
in again, so its hover is now a recess in the panel's darker fill, which
keeps 4.5:1 or better in every colour scheme and brightness.

The docs now give the measured range: 4.5:1 or better on the panel in every
Modern brightness and in Classic's lightest and darkest settings, 5.4:1 in
the default theme, and Classic's own dim text at 3.55:1 at its middle-dark
brightness, which the drawer draws as that palette does.

Tests: a_hovered_dimmed_row_stays_readable (new) checks the hover fill and
its contrast in both schemes and all four brightnesses;
tools_in_the_toolbar_are_dimmed_in_the_drawer now covers every palette too.
2026-11-19 06:50:50 +00:00
HassanKhan 6ec76d7513 Canvas: edge scrolling arms from the press and from every move of a frame
Review follow-up for #8551:
- The press position is where the primary button went down, not where
  the frame's input left the pointer: a press and a move to the edge in
  one input batch has dragged, and holding still there now scrolls.
- Any move of a frame that goes 3 points from the press arms edge
  scrolling, not only the frame's last position: a move away and back
  within one frame still dragged.
- docs/roadmap.md: the M11 row, status line and revision history mention
  the edge scrolling; the View & navigation row points to its evidence.
2026-11-19 11:41:31 +05:00
yoriswind 0471818814 Merge current main while preserving PR #6713 2026-11-19 06:32:22 +00:00
yoriswind 28ccda8dd5 Merge current main while preserving PR #8122 2026-11-19 06:31:27 +00:00
yoriswind a346c381e4 Merge main into in-window menu access keys 2026-11-18 22:30:44 -08:00
yoriswind b21a218b21 Merge current main while preserving PR #7515 2026-11-19 06:30:20 +00:00
HassanKhan de8b9e59dc PDF import: keep lost fills when a fill pass starts a new line (#8549 follow-up)
Answers the CodeRabbit review on #8653.

A glyph kept as an outline ends the open line, so the next mapped glyph
went through park_text's fallback arm into flush_text, which forgot the
lost glyphs in the middle of the fill pass. flush_text is now
finish_text plus forgetting them, and park_text calls finish_text:
starting a new line draws nothing else, so it is never a boundary.

Docs: the M4 roadmap row names this follow-up.
2026-11-19 11:28:37 +05:00
yoriswind 20c54c1c33 Merge main into selected guide row highlight 2026-11-18 22:26:46 -08:00
yoriswind e0eceaa8d1 Merge main into selected dimension extension-line controls 2026-11-18 22:22:08 -08:00
yoriswind 4fb16fbab2 Merge current main while preserving pattern-only keyboard nudges 2026-11-19 06:21:54 +00:00
yoriswind 6bca1e4fb4 Merge current main for Brush Options Key Color canvas sampling
Retain the owned canvas aperture and upstream modal opened-state handling,
keep both appended test functions and complete documentation histories, and
pass None in the new ordinary-modal test call.
2026-11-18 22:21:51 -08:00
jayzed80 744b54ee76 Merge remote-tracking branch 'upstream/main' into fix/all-tools-panel-text-dim-8294
# Conflicts:
#	docs/target-app-parity.md
2026-11-19 06:13:14 +00:00
HassanKhan 2113b214f1 PDF import: forget lost fills at flush points (#8549 follow-up)
Since #8549 the glyphs of lines finished past MAX_PARKED were kept
until the next stroke and, past 4096 of them, matched every stroke.
A `2 Tr` word after a dense page of filled-only type then came in as a
filled object and a stroked one.

- flush_text forgets them: nothing is drawn between an operator's fill
  pass and its stroke pass. end_text keeps them, since it also runs
  mid fill pass for a glyph kept as an outline.
- LostFills keeps the first 4096 glyphs and matches only those; there
  is no overflow that matches every stroke.
- replayed counts the lines its `left` check looks at toward
  MAX_REPLAY_WORK.
2026-11-19 11:06:23 +05:00
jmvergesandClaude Opus 5.5 dc57c26f69 Merge main (8fcadbc3c) into fix/ai-art-brush-tints-of-a-spot-color
Conflicts in docs only (status lines, changelog rows and table rows):
main's entries and this branch's are both kept, each once. Main now has
this branch's first File formats row fix (#868) itself.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 05:43:15 +00:00
yoriswind f3612ec03e Merge main into Image Trace Ignore Color repair
Preserve the sampler repair and current-main documentation entries.
2026-11-18 21:29:46 -08:00
yoriswind 0580e3fbb5 Merge current main into PR #7652
Preserve both the qualified feature and current main documentation.
2026-11-18 21:09:02 -08:00
ruchirguitar 82c5ad7a31 docs: distinguish G5 revised estimate from unchanged milestone estimates 2026-11-19 10:08:27 +05:30
ruchirguitar 0c65ede5de G5: Add built-in Media Controls symbol library
# Conflicts:
#	docs/gaps.md
#	docs/target-app-parity.md
2026-11-19 10:08:20 +05:30
ruchirguitar 8fcadbc3c1 Fix #864: SVG export preserves the document unit in viewBox and width/height (#8610)
* SVG export: preserve document unit in viewBox and width/height (#864)

When exporting SVG documents with physical units (mm, cm, in, pc), emit
the physical unit suffix on the root <svg width=... height=...>
attributes while keeping viewBox numbers and inner coordinates in 1:1 points
per SVG 1.1 coords §7.10. This avoids the 75% scaling mismatch when opening
drawings in external tools such as Inkscape or LightBurn, and preserves
the document unit setting across save/open round trips. Unitless documents
(points, pixels) continue to emit unitless dimensions.

Tested via export_physical_units_writes_unit_suffixes in vectorcraft-svg
and full round-trip svg_round_trip_preserves_document_units in vectorcraft-engine.
Ran cargo xtask ci (fmt, clippy, tests, xtask gates).

* SVG export: preserve nonzero width and viewBox on extreme small dimensions
2026-11-18 23:27:00 -05:00
jayzed80 4443403b3b Merge remote-tracking branch 'upstream/main' into fix/all-tools-panel-text-dim-8294
# Conflicts:
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-19 03:40:16 +00:00
dotCooCoo 39190add8b Merge main into feat/engraving-brush-library 2026-11-18 19:04:50 -08:00
ruchirguitar 36cc381f40 Merge main into raster editor picker branch (#5804) 2026-11-19 08:14:23 +05:30
yoriswind f787dac15f Merge current main documentation into PR #7652 2026-11-18 15:46:01 -08:00
yoriswind da916087fb Merge current main documentation into PR #6593 2026-11-18 15:45:59 -08:00