Commit Graph
25672 Commits
Author SHA1 Message Date
dotCooCoo fc5bd2fa11 New Document: Recent is headed as recent items and Saved is the second tab
On the Recent tab the heading read "Blank Document Presets (n)", the
same as the preset categories, and Saved was the last tab, after every
category. Before the move to the shared dialog, Recent had its own
heading and Saved came right after it.

The dialog now turns on the shared dialog's recent_items and
saved_after_recent options: Recent reads "Your Recent Items (n)" over
four cards to a row, and the tabs read Recent, Saved, then the
categories.
2026-12-04 02:04:36 -08:00
.CooCoo 3613c7f657 Merge pull request #10781 from dotCooCoo/fix/direct-select-ctrl-handle-mirror
Direct Selection: Ctrl held before pressing a handle mirrors the opposite handle
2026-12-04 01:17:57 -08:00
f29fe10c32 Retype: add a context menu to matching-font rows (#10594)
* Retype: add a context menu to matching-font rows

A secondary click, or Shift+F10 on the focused row, selects a font row in
the Retype panel without setting its font and opens a menu with Apply Font
(what a click on the row does; off without live text selected), the panel
menu's sample sizes and Reset Retype Panel. The menu closes when the list
or the document changes (G12).

* Rerun CI: the apt package download failed in a test shard's setup

---------

Co-authored-by: ruchirguitar <[email protected]>
Co-authored-by: FredApps <[email protected]>
2026-12-04 10:11:49 +01:00
yoriswindandFredApps aaf3cc87f0 PDF export: keep joins between opaque mesh patches smooth (#10372)
Co-authored-by: FredApps <[email protected]>
2026-12-04 09:43:27 +01:00
yoriswindandFredApps debd26b38f Appearance: reorder shared effects on multiple objects (#10353)
* Appearance: reorder shared effects on multiple objects

* Appearance: compare resolved effect lists for aligned moves

---------

Co-authored-by: FredApps <[email protected]>
2026-12-04 09:43:08 +01:00
Valentin KleinandFredApps e83947b9af Skip distant curves when testing outline hits (#10627)
Co-authored-by: FredApps <[email protected]>
2026-12-04 09:42:44 +01:00
yoriswindandFredApps 406dac5645 Color panel: apply picks to the selected Fill or Stroke well (#10413)
Co-authored-by: FredApps <[email protected]>
2026-12-04 09:09:08 +01:00
yoriswindandFredApps 8ce080b5a4 Cursors: keep the pen nib details visible (#10393)
Co-authored-by: FredApps <[email protected]>
2026-12-04 09:00:19 +01:00
.CooCoo 96f347651e Merge pull request #10757 from dotCooCoo/fix/doc-tests-unsafe-code
Doc tests: unsafe code is denied in doc tests too
2026-12-03 23:08:32 -08:00
yoriswindandFredApps 4070779f88 View: keep Cmd+0 on Fit Artboard in Window (#10396)
Co-authored-by: FredApps <[email protected]>
2026-12-04 07:52:39 +01:00
yoriswindandFredApps b2f59ace07 Docs: add a script for editable numbered grids (#10417)
* Docs: add a script for editable numbered grids

* Docs: bound the numbered-grid example and validate label numbers

---------

Co-authored-by: FredApps <[email protected]>
2026-12-04 07:36:50 +01:00
dotCooCoo 8b81ceb1bc Merge main into fix/direct-select-ctrl-handle-mirror 2026-12-03 22:29:17 -08:00
dotCooCoo 472d7f8e69 Direct Selection: picked handles stay picked after a Cmd/Ctrl+Shift drag
With two direction handles picked, a Cmd/Ctrl+Shift press on one of them
drags that handle alone with its opposite handle mirrored and its angle
constrained. Shift kept the press from counting as a press on one of
several picked handles, so the press did not record the picks, and its
release after a drag, or Escape during it, left only the pressed handle.

The press now records the picks for any mirroring press on one of several
picked handles, with or without Shift. Shift still keeps a drag from
moving every picked handle, and a Shift-click still adds or removes the
pressed handle.
2026-12-03 22:29:17 -08:00
.CooCoo babeae8c65 Merge pull request #10801 from dotCooCoo/fix/color-panel-idle-replay-flake
Tests: dock panel tests wait for the font scan before counting idle frames
2026-12-03 21:35:04 -08:00
dotCooCoo 629b4f5b2c Merge main into fix/direct-select-ctrl-handle-mirror 2026-12-03 21:26:45 -08:00
dotCooCoo 74b2ffdb82 Direct Selection: picked handles stay picked after a Cmd/Ctrl drag
A Cmd/Ctrl press on one of several picked direction handles drags that
handle alone so its opposite handle mirrors. The press cleared the picked
handles, and neither the release nor Escape restored them, so after the
drag only the pressed handle could be picked again.

The press now records that it is such a mirroring press. Its release
after a drag, and Escape during the drag, restore the handles that were
picked when the press began. A drag without Cmd/Ctrl still moves every
picked handle, and a click still picks the pressed handle alone.
2026-12-03 21:26:45 -08:00
dotCooCoo 4e2581f63d Doc tests: treat cfg_attr lints by what they could do, and skip raw C strings
The check did not read lint attributes inside cfg_attr at all, and it
does not evaluate cfg conditions. Two roots passed although the
condition all() is always true:

- #![cfg_attr(all(), forbid(unsafe_code))] with doc-test deny: the
  library forbids unsafe code, so its doc tests need forbid.
- #![doc(test(attr(deny(unsafe_code), cfg_attr(all(), allow(unsafe_code)))))]:
  the allow lowers the deny.

A cfg_attr now counts only in the direction that is never too lenient:
a forbid inside one asks the doc tests for forbid, and an allow, warn
or expect inside one lowers the doc tests' level. A deny or forbid
inside cfg_attr in the doc-test list still does not count.

The comment and literal scanner also skips raw C strings (cr"..."), so
text such as #![forbid(unsafe_code)] inside one is not read as an
attribute. Tests cover each case.
2026-12-03 21:17:30 -08:00
.CooCoo b767f2bea0 Merge pull request #10759 from dotCooCoo/fix/image-trace-draft-follows-selection
Image Trace: an unfinished slider or Divider value stays with the object it was typed for
2026-12-03 20:27:37 -08:00
dotCooCoo 1bccc76d77 Tests: dock panel tests wait for the font scan before counting idle frames
dock::tests::idle_frames_replay_the_color_panel failed now and then with
"idle frames replay the Color panel" (left: 1, right: 0). The app starts
the scan of the installed fonts on a background thread, and frames do
not wait for it. When the scan ends, the fonts' generation changes, and
a panel body's inputs hold that generation through layout_inputs. On a
loaded machine the scan can end after the helper's two settle frames,
so the first idle frame runs the body once.

The panel() helper now calls FontDb::global().family_list() after
making the app, which waits for that scan (or runs it), as the font
menu, properties and native menu tests already do. Every test in the
module goes through panel(), so all of them get the fix.
2026-12-03 20:23:55 -08:00
.CooCoo 003489cb7c Merge pull request #10730 from dotCooCoo/fix/tabs-draft-edit-target
Tabs: an unentered X, Leader or Align On value stays with its stop
2026-12-03 20:18:00 -08:00
.CooCoo 304e634880 Merge pull request #10779 from dotCooCoo/fix/selection-anchor-mesh
Canvas: selection anchors paint from one kept mesh
2026-12-03 20:10:17 -08:00
dotCooCoo fb0bce30e6 Doc tests: read the unsafe-code level that the doc-test attributes leave in force
The check accepted a library root when deny(unsafe_code) or
forbid(unsafe_code) appeared anywhere inside #![doc(test(...))]. Two
roots passed although their doc tests still allow unsafe code:

- #![doc(test(attr(cfg_attr(any(), forbid(unsafe_code)))))]: the lint
  sits inside a cfg_attr whose condition is false, so rustdoc adds no
  lint to the doc tests.
- #![doc(test(attr(deny(unsafe_code), allow(unsafe_code))))]: rustdoc
  adds both attributes in order, and the later allow overrides the deny.

The check now reads only the lint attributes that are direct members of
attr(...), in order, and keeps the last level for unsafe_code. A later
allow, warn or expect lowers deny, and nothing lowers forbid. Tests
cover each case.
2026-12-03 20:06:43 -08:00
.CooCoo 9b6ee0d684 Merge pull request #10773 from dotCooCoo/fix/text-panels-empty-state-no-scroll-bar
Panels: Character and Paragraph show no scroll bar over an empty state that fits
2026-12-03 20:00:28 -08:00
dotCooCoo 20a5b6eb50 Merge main into fix/doc-tests-unsafe-code 2026-12-03 19:53:53 -08:00
.CooCoo 36df439fe9 Merge pull request #10690 from dotCooCoo/fix/doc-pathitems-removeall-clipping
Scripts: document pathItems.removeAll refuses to delete a clipping path
2026-12-03 19:53:45 -08:00
dotCooCoo ae6a55ffac Merge main into fix/direct-select-ctrl-handle-mirror 2026-12-03 19:49:34 -08:00
BFlat 8ea0227804 Merge pull request #10533 from ruchirguitar/script-console-output-menu
Script Console: copy output lines from the row menu
2026-12-04 09:31:36 +07:00
BFlat d215702b56 Merge pull request #10593 from ruchirguitar/feat/g12-svg-interactivity-menu
SVG Interactivity: add a context menu to event rows
2026-12-04 09:31:06 +07:00
BFlat e2a9326b48 Merge pull request #10710 from ruchirguitar/fix/artboard-lock-menu-duplicate-rows
Artboards: avoid duplicate lock submenu rows
2026-12-04 09:30:09 +07:00
.CooCoo a2c28e1192 Merge pull request #10783 from dotCooCoo/fix/flyout-keeps-open-for-panel-popover
Panels: a popover opened from an auto-collapsing flyout leaves it open
2026-12-03 14:05:57 -08:00
.CooCoo 130eed51a6 Merge pull request #10774 from dotCooCoo/fix/task-bar-accent-outline
Contextual Task Bar: draw the accent outline around the bar
2026-12-03 13:45:42 -08:00
.CooCoo 381a3baa13 Merge pull request #10777 from dotCooCoo/fix/gradient-stop-popover-palette
Fix #10560: the stop popover stays open when a double click on a stop drifts
2026-12-03 13:37:38 -08:00
.CooCoo ecc5bb8673 Merge pull request #10780 from dotCooCoo/fix/hand-ends-after-missed-space-release
Canvas: the Space Hand ends when Space goes up while the canvas is away
2026-12-03 13:27:51 -08:00
.CooCoo 4f857e3115 Merge pull request #10775 from dotCooCoo/fix/test-lint-turbofish-builders
xtask: test-lint reads through turbofish arguments in constant-echo and fixture-only
2026-12-03 13:18:43 -08:00
dotCooCoo d1b41542ff Merge main into fix/direct-select-ctrl-handle-mirror 2026-12-03 12:59:15 -08:00
dotCooCoo b44dbefe12 Direct Selection: a Cmd/Ctrl drag of one of several picked handles mirrors
With two or more direction handles picked, a press without Shift on one
of them started a drag of all the picked handles (path.moveHandles),
which never mirrors. A Cmd/Ctrl press that Direct Selection now keeps on
a shown handle therefore translated every picked handle instead of
mirroring the opposite one.

press_handle now drags the pressed handle alone when the press mirrors
(Cmd/Ctrl without Alt, and not the press that lent the tool from another
tool), so the drag mirrors its opposite handle and the other picked
handles stay where they are. A drag without Cmd/Ctrl still moves every
picked handle.
2026-12-03 12:59:09 -08:00
.CooCoo a7ee8aeec4 Merge pull request #10772 from dotCooCoo/fix/font-catalog-bundled-lazy
Fonts: add the bundled fonts to the font catalog on its first read
2026-12-03 12:37:10 -08:00
.CooCoo dec8be341e Merge pull request #10731 from dotCooCoo/fix/blend-round-corners
Blend: steps between rounded rectangles keep round corners
2026-12-03 12:24:18 -08:00
.CooCoo 90c2216f36 Merge pull request #10768 from dotCooCoo/fix/eps-budget-test-cheaper
EPS import: test the measuring budget with 4 MiB of data instead of 300 MiB
2026-12-03 12:13:07 -08:00
dotCooCoo d163b607af Merge main into fix/flyout-keeps-open-for-panel-popover 2026-12-03 12:13:03 -08:00
dotCooCoo 8c15c135f9 Panels: a popover opened from an auto-collapsing flyout leaves it open
With Auto-Collapse Iconic Panels on, the Gradient panel's stop chip in an
icon column's flyout opened the stop popover, and the flyout closed in the
same frames. The popover is a layer of the window's dialog host, outside the
flyout's layers, so the focus moving into it and presses in it counted as
leaving the flyout.

The dock now notes the dialogs that open while a flyout is open. While one
of them is still open, the flyout is shown without auto-collapse; once they
close, a click away from the flyout closes it again.
2026-12-03 12:13:03 -08:00
dotCooCoo 244f2f29dd Merge main into fix/image-trace-draft-follows-selection 2026-12-03 12:12:26 -08:00
dotCooCoo 4fbe7364d9 Tests: read the coalesced release and press from the frame that took them
review_596866_owned_up_then_new_down_in_one_frame_keeps_the_next_click_single
checked the release and press edges in the step's last frame. The press's
Down comes in a second pass of the same frame only when another part of the
UI asks for a rerun; otherwise it comes in the next frame, whose first pass
has no events. Keying the Image Trace sliders on the selection moves the
status bar's rerun to an earlier step, so the Down came in a second frame
and the precondition failed while every behavior assertion still held.

The edges are now read with frame_event, which looks at the first pass of
each frame in the step.
2026-12-03 12:12:26 -08:00
.CooCoo 5b163436be Merge pull request #10763 from dotCooCoo/fix/drops-ignore-hidden-palettes
Panels: hidden or minimized palette windows no longer block canvas drops
2026-12-03 12:08:26 -08:00
dotCooCoo 8387f54b97 Doc tests: count only crate-level attributes in the unsafe-code check
The check read every #![...] attribute in a library root, including
ones inside a module's braces. A root with
mod tests { #![doc(test(attr(deny(unsafe_code))))] } and no crate-level
attribute passed, although an attribute inside a module does not apply
to the crate's other doc tests. A #![forbid(unsafe_code)] inside a
module was also read as the library forbidding unsafe code.

Attributes inside braces are now skipped, with a test for each case.
2026-12-03 12:05:15 -08:00
.CooCoo 7d5f0ee29f Merge pull request #10761 from dotCooCoo/fix/pathfinder-too-many-pieces-test
Tests: Divide refuses cutting lines past the segment cap
2026-12-03 12:01:23 -08:00
dotCooCoo 1efd8f7cdc Merge main into fix/test-lint-turbofish-builders 2026-12-03 11:58:39 -08:00
dotCooCoo ebafe0b102 xtask: test-lint normalizes only the current callee path
inert() passed the whole operand before a call to without_turbofish, so an
assertion with many Box::new elements copied every earlier element again at
each call. It now tracks where the current path starts and normalizes only
that path. A test covers a builder path that follows other elements.
2026-12-03 11:58:36 -08:00
dotCooCoo a520deb991 Doc tests: assert the exact report in the unsafe-code check's tests
CI's test-lint step failed with only-weak at xtask/src/doc_tests.rs:250:
every assertion in comments_other_lints_and_allow_do_not_count checked
only that problem() returned Some. Such a test still passes when the
check reports the wrong problem, for example when a commented-out
#![forbid(unsafe_code)] is counted and the forbid message is returned
instead of the deny message.

The tests now compare problem() with the exact message for each case,
and two cases cover a commented-out forbid on either side. The other
tests in the file that checked only is_some, is_none or a substring
compare the full result too.
2026-12-03 11:55:35 -08:00
.CooCoo f45c39472a Merge pull request #10753 from dotCooCoo/fix/desktop-links-open
Links: clicking a link on desktop opens it in the browser again
2026-12-03 11:45:06 -08:00