Commit Graph
20420 Commits
Author SHA1 Message Date
dotCooCoo 256a1a2f47 Color Wheel: a Live Paint group answers the opacity of the parts it sets
paint.setFill {opacity} sets a selected Live Paint group's faces and
paint.setStroke {opacity} its edges. paint.proxies now reads fillOpacity
from the faces and strokeOpacity from the edges, so the Color Wheel's
opacity row shows the value the row sets. Before, strokeOpacity could
answer a face's stroke.
2026-11-19 05:52:18 -08:00
dotCooCoo 4a7f523080 Merge main into feat/nature-icons-symbol-library 2026-11-19 05:51:21 -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
datatimp 04f818823e Merge remote-tracking branch 'upstream/main' into fix/8639-target-circle-modifiers
# Conflicts:
#	crates/ui-egui/src/panels/layers.rs
#	crates/ui-egui/src/panels/layers/tests.rs
#	docs/target-app-parity.md
2026-11-19 08:48:56 -05:00
dotCooCoo bcfdbc3113 Merge main into feat/palette-dimmed-rows 2026-11-19 05:45: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 fab39fc50b Tests: the Color Picker key opens the stroke with no document open
The Color Picker shortcut test now also brings the Stroke proxy forward
before a document is open and checks that the key opens the picker for
the stroke.
2026-11-19 05:41:58 -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
dotCooCoo 98692d9d48 Color Wheel: a null id keeps the paint on the selected characters
paint.setFill and paint.setStroke read a null `ids` or `id` as naming no
object, as the other paint commands do, so while the Type tool has
characters selected the paint goes to those characters and the rest of the
type keeps its paint. Before, a null `id` or `ids` recolored the whole
type object.

While the Live Paint Bucket is the active tool, paint.proxies answers null
for fillOpacity and strokeOpacity, so the Color Wheel's opacity row is
gray: a fill or stroke chosen then goes to the bucket, and an opacity has
nothing to go to. The doc comment of proxy_opacity names paint.setStroke
for the stroke opacity.
2026-11-19 05:32:34 -08:00
dotCooCoo 30d1cf35c4 Merge main into feat/color-wheel-opacity
main added Show Harmony and Harmony Rule to the Color Wheel settings and
Live Paint routing to paint.setFill and paint.setStroke. The resolution
keeps both: ui.colorWheel takes and returns view, channel, harmony,
harmonyRule, opacity and vision, and the paint params text describes the
Live Paint routing and the opacity param together. The paint.proxies text
and the catalog test's doc comment name paint.setStroke {opacity} for the
stroke opacity. Indonesian, now a complete-message language, has rows for
the opacity errors.
2026-11-19 05:31:23 -08:00
dotCooCoo 6ed07b44d1 Merge main into feat/palette-empty-search-recent 2026-11-19 05:30:24 -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 8c97874ad0 Merge main into feat/vector-packs-library 2026-11-19 05:23:10 -08:00
dotCooCoo 1c841c481e Merge main into feat/color-wheel-contrast 2026-11-19 05:22:26 -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
ruchirguitar 55c95f62cb Merge origin/main into feat/brushes-item-context-menu 2026-11-19 18:46:37 +05:30
dotCooCoo 51ab54ac2b Merge main into feat/decorative-brush-library 2026-11-19 05:15:47 -08:00
dotCooCoo 1f28746afc Merge main into feat/prefs-descriptions-appearance-of-black 2026-11-19 05:15:27 -08:00
dotCooCoo ddedcda657 Merge main into feat/ornamental-brush-library 2026-11-19 05:15:06 -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 1fefb5b031 Merge main into feat/circle-from-center 2026-11-19 05:11:36 -08:00
dotCooCoo 3965501b17 Merge main into feat/dropdown-list-fits-window 2026-11-19 05:10:50 -08:00
dotCooCoo f9b7c9482e Merge main into feat/circle-tool-options 2026-11-19 05:09:36 -08:00
dotCooCoo 2843ee7fd0 Keyboard Shortcuts: Color Picker can be given a key
Edit › Keyboard Shortcuts did not list Color Picker… (`ui.colorPicker`),
so no key could be assigned to it, and no menu item runs it. It is now
listed, with no default key. A key assigned to it runs the command with
no params, which opens the picker for the proxy in front: the fill, or
the stroke while Stroke is in front, with or without a selection and
with no document open.

Docs: docs/mcp.md, docs/ui-parity.md.
2026-11-19 05:07:02 -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
dotCooCoo 4c4b76a995 Merge main into fix/select-widget-drags-settle 2026-11-19 05:05:49 -08:00
dotCooCoo 63d87b6d3e Merge main into feat/swatches-alt-drag-pattern-replace 2026-11-19 05:05:44 -08:00
dotCooCoo dafade6173 Merge main into feat/proof-setup-customize
# Conflicts:
#	crates/ui-egui/src/dialogs.rs
#	crates/ui-egui/src/i18n/tests.rs
2026-11-19 05:04:12 -08:00
dotCooCoo 16de36545c Retype: retype.find's params text says a null more runs a new search
retype.find reads `more` with opt_bool, which treats null as omitted, so
`{more: null}` runs a new search. The params text said any value other
than true or false is an error. The params text, its MCP mirror and
docs/mcp.md now say that false, omitted or null runs a new search and
that a value other than true, false or null is an error. A test checks
that a null more lists the first ten again.
2026-11-19 05:04:10 -08:00
dotCooCoo 50b039cd10 Merge main into feat/color-wheel-hsl-sliders 2026-11-19 05:03:21 -08:00
BFlat 2ef4858543 Merge pull request #8698 from Hassan1305/fix-8693-script-io-real-temp
Tests: script_io makes its temp folders by their real paths
2026-11-19 20:02:19 +07:00
dotCooCoo 4e21ada68e Merge main into feat/prefs-descriptions-performance 2026-11-19 05:02:17 -08:00
dotCooCoo d48e652972 Merge main into feat/artistic-brush-library 2026-11-19 05:01:01 -08:00
dotCooCoo d5ab3f8654 Merge main into fix/live-paint-bucket-gradient-aspect 2026-11-19 05:00:35 -08:00