Commit Graph
18767 Commits
Author SHA1 Message Date
BFlat 149959ba64 Merge pull request #8503 from dotCooCoo/feat/prefs-descriptions-devices
Preferences: the line under the fields describes each Devices setting
2026-11-19 21:52:06 +07:00
BFlat b42ea4327b Merge pull request #8721 from storytold/train/carry8708
Artboard tool: Shift held during a move keeps it to its line (#8580) (#8708)
2026-11-19 21:46:19 +07:00
bflatastic 5588fc19ee Merge main into #8708
# Conflicts:
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-19 21:45:59 +07:00
BFlat 696a0e8f32 Merge pull request #8720 from storytold/train/carry7977
View: Proof Setup saves and loads a custom proof setup (#7977)
2026-11-19 21:45:16 +07:00
bflatastic 6a3db0e842 Merge main into #7977 2026-11-19 21:44:26 +07:00
BFlat d72ad76679 Merge pull request #8192 from dotCooCoo/feat/palette-recent-rank
Command Palette: recent picks rank first within their grades
2026-11-19 21:38:44 +07:00
BFlat 16756500bf Merge pull request #8700 from dotCooCoo/fix/print-perceptual-paper-plateau
Print: a Perceptual gradient keeps the ink below across a paper-white stretch
2026-11-19 21:33:06 +07:00
BFlat aad3ea3bb5 Merge pull request #7674 from dotCooCoo/feat/proof-setup-customize
View: Proof Setup › Customize… opens a dialog for the device to simulate
2026-11-19 21:31:51 +07:00
dotCooCoo c4c1495c04 Direct Selection: Alt and Cmd/Ctrl apply while Space moves a handle
A handle drag kept the Alt and Cmd/Ctrl state it had before Space was
pressed, so pressing Alt or releasing Cmd/Ctrl during a Space translation
changed nothing until Space was released and the pointer moved. Both
modifiers are now read on every drag event. The Space translation still
keeps the accepted handle position.
2026-11-19 06:23:27 -08:00
dotCooCoo 88cac70e8b Color Wheel: find the largest OKLCH chroma on every stretch of the ray
The chromas sRGB holds along a ray of fixed lightness and hue can come
in several stretches, and the search looked past the first one only
near a primary color's hue. Near black the gamut slack opens stretches
at other hues: at L 0.02 and H 242 degrees the ray fits up to about
0.022 but the search stopped near 0.012, so the chroma tick sat too low
and a pick past the gamut lost more chroma than it had to.

Each linear sRGB channel is a cubic in the chroma, so the search now
takes the chromas where a channel meets a gamut bound, between each
cubic's turning points, and keeps the largest one that fits. A test
compares the result with a scan of the ray at 720 lightness and hue
pairs.
2026-11-19 06:23:20 -08:00
FredAppsandCodex ddb9495876 Reland HP-GL/2 shared byte writer (#8697)
* HPGL: delegate encoding to repaired shared byte writer [skip ci]

* HPGL: apply hosted rustfmt layout [skip ci]

* HPGL: unblock CAD validation with equivalent document condition [skip ci]

* HPGL: express duplicate point filter as match guard [skip ci]

* 778: simplify baseline CAD dependency predicates [skip ci]

* 778: keep baseline lint fixes out of HPGL cutover [skip ci]

---------

Co-authored-by: Codex <codex@openai.com>
2026-11-19 09:22:05 -05:00
BFlat fd22531ba6 Merge pull request #8514 from dotCooCoo/feat/swatches-alt-drag-pattern-replace
Swatches: art Alt-dragged onto a pattern swatch replaces its tile art
2026-11-19 21:20:55 +07: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
FredAppsandCodex cb8f5e0405 chore: unify shared craft-libs pin for HPGL and palette (#8703)
* 778: align shared dependencies on merged HPGL repair [skip ci]

* 778: record Windows-resolved unified shared lock [skip ci]

* 778: prepare unified merged palette dependency revision [skip ci]

* 778: record Windows-resolved palette revision lock [skip ci]

---------

Co-authored-by: Codex <codex@openai.com>
2026-11-19 09:18:36 -05:00
BFlat 9ec1e77f59 Merge pull request #8625 from dotCooCoo/fix/followup-8449
Show in Browser: no --connect hint, disabled on the web, no folder left after a failed write
2026-11-19 21:14:15 +07:00
BFlat 76d1bc1456 Merge pull request #8516 from dotCooCoo/feat/control-bar-link-label-opens-links
Control bar: the Linked File or Embedded label opens the Links panel
2026-11-19 21:13:55 +07:00
BFlat ef3e7a5677 Merge pull request #7899 from dotCooCoo/feat/recolor-edit-base-color-menus
Recolor Artwork: Edit tab right-click menus set the base color, pick a shade and add colors
2026-11-19 21:13:03 +07:00
BFlat 6b7ad6cf55 Merge pull request #8605 from dotCooCoo/feat/dimension-stroke-arrowheads
Dimension: Arrow Style offers every built-in stroke arrowhead
2026-11-19 21:07:19 +07:00
dotCooCoo b20c22500a Merge main into feat/symbolism-shift-gestures 2026-11-19 06:05:13 -08:00
BFlat 7d3231dc19 Merge pull request #8574 from dotCooCoo/fix/gaps-g5-brush-library-count
Docs: G5 Missing line counts eleven built-in brush libraries
2026-11-19 21:01:38 +07:00
BFlat 4e6cc2aed2 Merge pull request #8464 from dotCooCoo/fix/psd-knockout-layers-merge
PSD import: a layer with a knockout merges with the layers below it in its group
2026-11-19 21:01:03 +07:00
dotCooCoo 507b3d2d68 Color Wheel: end an OKLCH row drag when the working RGB space stops being sRGB
The OKLCH rows turn gray when Edit > Color Settings picks a working RGB
space other than sRGB, so a drag on one reports no release. The panel
now keeps that drag's preview as one undo step and ends the
interaction, as it does when the rows are hidden or replaced.

The ui.colorWheel tests now expect the harmony, harmonyRule, vision and
sliders keys that main and this branch report together.
2026-11-19 06:00:40 -08:00
dotCooCoo ff0b835509 Part of #5941: drop-down lists stop above the bottom bars
A drop-down list that did not fit on either side of its field was moved
up only as far as the window's bottom edge, so it could cover the status
bar, the hint bar and a Control bar docked at the bottom. The list now
measures the room below its field to those bars, as other menus do
(#2086), and a list too tall for either side moves up until it ends at
them. Its right-to-left alignment now follows the field's own style.

The Gradient panel's Presets menu change is taken out of this branch;
the menus that set a fixed minimum width get their own fix.

Tests:
- a_dropdown_list_stops_above_the_bottom_bars
- a_dropdown_option_cut_short_shows_its_full_name_on_hover, which checks
  the tooltip of an option cut short in a list narrowed to the window
2026-11-19 05:59:50 -08:00
dotCooCoo 5b25517dc1 Metafile import: one line's background reaches its furthest glyph edge
A single line without advances now has its background from the nearest
to the furthest edge its glyphs' advances reach, as a line of several
does, instead of from the nearest edge on by the sum of the advances.
2026-11-19 05:59:19 -08:00
dotCooCoo 14318099c2 Metafile import: an underlined blank line's background follows its bar
On more than one line without advances, a line of blanks whose underline
or strikethrough draws now has its background across its glyphs, where
the bar is drawn, instead of where the alignment puts a line that long.
Text without a background no longer measures or builds the cells.
2026-11-19 05:54:13 -08:00
dotCooCoo 8d7eaf36bb Gradient: an aspect for a Live Paint group without faces is an error
A fill edit of a selected Live Paint group with edges and no faces edits
no object, yet paint.editGradient accepted an aspect there and returned
no ids, and the Aspect Ratio field stayed enabled.

- paint.editGradient refuses an aspect when the Live Paint filter leaves
  no object. Graph design art alone still changes nothing without an
  error, as for the other params.
- Session::gradient_edit_has_objects reads the same filtered targets, so
  the field is dimmed in that case.
- Params text and docs/mcp.md name the case.
2026-11-19 05:53:08 -08:00
dotCooCoo 8dd0824b3f Metafile import: opaque backgrounds cover trailing spaces and NUL-only lines
On more than one line without advances, each line's background now runs
across its glyphs' advances, trailing spaces included, as a single line's
does; layout leaves the trailing spaces out of the width it aligns. A
first line that holds only NULs fills its cells across their advances
instead of drawing nothing.
2026-11-19 05:49:23 -08:00
dotCooCoo 8b289bf6bb Direct Selection: Cmd/Ctrl mirrors an ordinary path's handle again
The handle drag that keeps Space translation sent path.setHandle without
`symmetric`, so Cmd/Ctrl no longer mirrored the opposite handle on an
ordinary path. The drag now records the mirror with the handle it accepts
and sends it on every preview, so the opposite handle stays mirrored while
Space moves the anchor. Alt still takes priority.
2026-11-19 05:49:14 -08:00
BFlat 778b95918d Merge pull request #8460 from dotCooCoo/feat/transform-rect-ellipse-angle
Transform: Rectangle and Ellipse Properties show the shape's angle
2026-11-19 20:44:43 +07:00
BFlat bccded3d86 Merge pull request #8276 from yoriswind/codex/8068-trace-ignore-sampler
#8068: sample Image Trace Ignore Color from the source image
2026-11-19 20:44:24 +07:00
dotCooCoo 8993be043f Metafile import: keep the opaque text background to its own change
This takes three behavior changes out of the branch, so that it holds the
opaque background and the character cell it fills:

- A single line without advances is aligned as before, without its
  trailing spaces. Its cells run across its glyphs' advances from where
  its type starts; blanks alone, which draw no type, are filled where the
  alignment puts them.
- NULs after a line break add their advance to the character before them,
  as before.
- Blanks that are underlined or struck through draw nothing, as before.
  A string of NULs alone in an underlined font now fills its cells and
  adds no empty type object.

docs/mcp.md no longer describes the three, and docs/target-app-parity.md
lists the background and the cell.

The first commit's body names FontFace::win_ascent_descent as
Face::win_ascent_descent. A device context starts with a background color
that is typically white; the first commit states white as the playback
default.
2026-11-19 05:42:41 -08:00
dotCooCoo a5cc1d6548 Symbols: a click egui counts reads its modifiers wherever the button goes up
A click that went down on New Symbol, Delete Symbol or a panel menu
item and went up in a later frame within egui's click distance reads
the modifiers of that release, also past the interact radius. A click
within one frame is matched by where the button went down, as egui
does.
2026-11-19 05:42:24 -08:00
dotCooCoo 8c7b75300f Merge main into feat/paint-brush-library 2026-11-19 05:41:10 -08:00
dotCooCoo efe4c7e30f Proof Setup: a setup that would be too large to load is not saved
view.proofSetup.save refuses a setup whose file would be larger than
the 64 KiB view.proofSetup.load reads (a device profile with a very
long name), and writes nothing.
2026-11-19 05:39:51 -08:00
dotCooCoo 537d8ce10b Contextual Task Bar: docs and test comment say a null visible toggles
The opening sentence of the window.taskBar.actions entry in docs/mcp.md
now says the action toggles when visible is omitted or null, as the
params text does. The comment above bar_actions_refuse_bad_params now
says a visible that is not true, false or null is an error.
2026-11-19 05:38:54 -08:00
Sven Lafebre a16e459727 Artboard tool: Shift held during a move keeps it to its line (#8580)
Shift held once an artboard move or Alt-drag copy is under way keeps it
to the level, upright or 45° line from General › Constrain Angle, as a
Selection tool move does. A Shift-press still draws an artboard inside
another or marquee-selects (#2497). Smart Guides, the grid and whole
pixels slide the move along its line, and the cursor stays the move
cursor during a move.
2026-11-19 14:38:00 +01:00
dotCooCoo 25bb2abfc8 Retype: the null more test adds a font so a new search is told apart
When ten or fewer fonts match, adding more to the exhausted list returns
the same list as a new search, so the null more assertion could not tell
the two apart. The test now adds a font to the list before the null more
call, and only a new search drops it.
2026-11-19 05:36:53 -08:00
dotCooCoo c4d43cec03 Merge main into feat/palette-recent-rank 2026-11-19 05:35:46 -08:00
ruchirguitar d386d3280f Links panel: add row context menu (Relink, Go to Link, Edit Original, Show in Folder) 2026-11-19 18:59:17 +05:30
dotCooCoo 9dcc6913d8 Metafile import: text in the opaque background mode fills its character cells
A metafile playback starts in the opaque background mode with a white
background color, and text drawn in that mode fills its character cells
with the background color before the glyphs. EMF and WMF import now adds
one filled rectangle of the background color behind each line of such
text, before the type, from the font's OS/2 usWinAscent above the
baseline to its usWinDescent below it, as far as the line's advances
reach (NULs and negative advances included). Files that never set the
background mode now import with a background behind their text.

Top and bottom aligned text now has the top or the bottom of that cell at
the reference point instead of 0.8 and 0.2 of the em. A single line
without advances is aligned as long as its glyphs' advances, trailing
spaces included. NULs after a line break move the start of that line,
and underlined or struck through blanks draw their bars.

Face::win_ascent_descent gives the OS/2 usWinAscent and usWinDescent
separately, at a variable font's instance.
2026-11-19 05:28:52 -08:00
dotCooCoo 71086edeed Merge main into feat/swatches-add-selected-colors 2026-11-19 05:25:36 -08:00
dotCooCoo ff4076caaa Merge main into feat/prefs-descriptions-devices 2026-11-19 05:21:47 -08:00
dotCooCoo 54a964d4fa Tools: an option set during a press survives the press being dropped
A dropped press puts back the persistent options the tool had when the
press began. It also put back an option set while the press was held
(tool.setOption or the desktop app's setter), and the next store of the
tool's options wrote the old value over the new one. A General > Corner
Radius change during a Rounded Rectangle press was undone the same way.

- Setting an option of the tool that took the press updates the press's
  saved options with every option the set changed, so the dropped press
  keeps them.
- Setting an option stores all of the tool's options, the drag's changes
  included, so a dropped press after such a set stores the options it
  puts back.
- A Corner Radius change updates the held Rounded Rectangle press's
  saved radius.
- Both hold when the tool lent a selection tool for the press (a
  Cmd-drag).
2026-11-19 05:21:36 -08:00
dotCooCoo 056059d8cb Merge main into feat/direct-select-mirror-handles 2026-11-19 05:18:05 -08:00
dotCooCoo 5d458d3142 Merge main into feat/arc-by-points 2026-11-19 05:12:59 -08:00
dotCooCoo 2b1aa98c6f Links: the request to show the selected image applies only in its own document
The Control bar label's request to scroll the Links panel to the selected
image now carries the document it was made in. A draw of another document
drops it and leaves the Show filter as it is, and every draw that reads the
request clears it, including one with an empty list.
2026-11-19 05:12:15 -08:00
dotCooCoo 4d3bd79763 Symbols: a release that ends a drag begun in an earlier frame gives no modifiers
New Symbol, Delete Symbol and the panel menu's New Symbol… and Redefine
Symbol read the modifiers of a release only when egui reports the
control clicked by the pointer. A Click from the keyboard or a screen
reader reads the modifiers held now, so an Alt release that ends a drag
over Delete Symbol in the same frame no longer deletes without asking.
2026-11-19 05:11:47 -08:00
dotCooCoo 3965501b17 Merge main into feat/dropdown-list-fits-window 2026-11-19 05:10:50 -08:00
dotCooCoo 3e0963814f Merge main into feat/engraving-brush-library 2026-11-19 05:06:49 -08:00
dotCooCoo e16d59661c Contextual Task Bar: Bar Actions names drop a colon and an ellipsis in any order
More Options › Bar Actions now leaves out a final colon and a final
ellipsis ("…" or "...") whichever comes last, with or without a space
between them, so "Name...:" and "Name: ..." are listed as "Name".

window.taskBar.actions treats a `visible` of null as omitted again, so
the action toggles, as docs/mcp.md says for every command's params and
as window.control.options does. Its params text and docs/mcp.md entry
now say that null toggles, and a test covers it.
2026-11-19 05:06:18 -08:00