Commit Graph
21979 Commits
Author SHA1 Message Date
.CooCoo fcff8d81c6 Merge pull request #9786 from dotCooCoo/fix/retype-doc-font-choice
Retype: docs say which font a shape that several fonts match takes
2026-11-27 21:38:49 -08:00
.CooCoo b4fbaf9826 Merge pull request #9819 from dotCooCoo/fix/single-instance-test-handshakes
Single instance: hand-off tests no longer depend on how fast the machine is
2026-11-27 21:38:30 -08:00
.CooCoo 54432ad724 Merge pull request #9818 from dotCooCoo/fix/fold-preview-print-handshake
Fold Preview: time the print's settle wait on the app clock
2026-11-27 21:38:19 -08:00
.CooCoo 94fa38479f Merge pull request #9861 from dotCooCoo/fix/pdf-import-work-counters
PDF import: complexity tests count the work done instead of timing it
2026-11-27 21:38:07 -08:00
.CooCoo a7fb3792db Merge pull request #9858 from dotCooCoo/fix/cad-import-work-counts
DXF import: the symbol-name and layout tests count the work instead of timing it
2026-11-27 21:37:51 -08:00
.CooCoo a628629f7d Merge pull request #9857 from dotCooCoo/fix/file-locks-unlock-on-drop
Locks: dropping a lock holder unlocks its file
2026-11-27 21:37:36 -08:00
.CooCoo 2cabf8ddd6 Merge pull request #9854 from dotCooCoo/fix/cms-scoped-working-settings
Color: with_active keeps the working settings on its thread too
2026-11-27 21:37:24 -08:00
.CooCoo 61f41edbc3 Merge pull request #9851 from dotCooCoo/fix/complexity-tests-count-work
Tests: complexity tests in effects, brush, tools and trace count work instead of timing it
2026-11-27 21:37:11 -08:00
.CooCoo 4947e21b65 Merge pull request #9843 from dotCooCoo/fix/text-tests-no-wall-clock
Tests: text tests count work and wait on handshakes instead of the clock
2026-11-27 21:36:58 -08:00
.CooCoo 990637f30d Merge pull request #9839 from dotCooCoo/fix/plugins-tests-without-timing
Plug-ins: loader, registry and dialog tests wait on handshakes instead of spin counts
2026-11-27 21:36:45 -08:00
.CooCoo 0b07f8b0bd Merge pull request #9842 from dotCooCoo/fix/screenshot-test-app-clock
Tests: the screenshot trial steps the app's clock instead of the wall clock
2026-11-27 21:36:16 -08:00
.CooCoo 8529caaba7 Merge pull request #9855 from dotCooCoo/fix/dimension-preview-bounds-group-edges
Dimension: Linear points snap onto preview bounds edges, groups and stroked type
2026-11-27 21:36:07 -08:00
.CooCoo 77a609eed6 Merge pull request #9820 from dotCooCoo/chore/craft-libs-pin-51fcc3b0
Dependencies: take every craft-libs crate from craft-libs main at 51fcc3b041
2026-11-27 21:35:36 -08:00
.CooCoo 2fcaec65e8 Merge pull request #9817 from dotCooCoo/chore/ci-cache-workspace-crates
CI: the gate keeps the compiled workspace crates between runs
2026-11-27 21:24:28 -08:00
.CooCoo 35e192f177 Merge pull request #9836 from dotCooCoo/chore/wasmi-2-0-3
Plug-ins: a multi-value br_table gives every target its values (wasmi 2.0.3)
2026-11-27 21:15:11 -08:00
.CooCoo 3737ccdc9a Merge pull request #9838 from dotCooCoo/fix/script-folder-scan-clock
Scripts: folder listings take their time limit from the session's clock
2026-11-27 21:14:30 -08:00
.CooCoo 7c67dfb344 Merge pull request #9815 from dotCooCoo/fix/clipboard-test-handshakes
Clipboard: tests wait for each read's answer instead of a time limit
2026-11-27 21:13:49 -08:00
.CooCoo dd6a8b6123 Merge pull request #9834 from dotCooCoo/fix/plugins-abi-tests-no-wall-clock
Plug-ins: hostile, time budget and cancel tests check errors, not elapsed time
2026-11-27 21:13:04 -08:00
BFlat edc4fe00fa Merge pull request #9716 from dotCooCoo/fix/graph-design-manager-draft-drawing
Keep Graph Design manager edits with their drawing
2026-11-28 11:20:47 +07:00
BFlat 783f541183 Merge pull request #9715 from dotCooCoo/fix/placement-preserve-translations
Translate Preserve choices in Placement Options
2026-11-28 11:20:33 +07:00
BFlat adc4ec0e66 Merge pull request #9714 from dotCooCoo/fix/color-themes-commit-choices
Color Themes: apply dropdown changes only on commit
2026-11-28 11:20:18 +07:00
BFlat 7ee99a0ef0 Merge pull request #9713 from dotCooCoo/fix/text-import-options-after-accepted-place-mac2
Remember Text Import settings after Place accepts
2026-11-28 11:20:04 +07:00
BFlat ba613b1167 Merge pull request #9711 from dotCooCoo/fix/arrange-tools-hosted-form-edits
Apply edited settings in the Arrange add-on dialogs
2026-11-28 11:19:50 +07:00
BFlat 54a3e18cf9 Merge pull request #9710 from dotCooCoo/fix/xmp-property-read-fuel
Charge fuel before reading XMP property values
2026-11-28 11:19:37 +07:00
BFlat e5f02d3220 Merge pull request #9709 from dotCooCoo/fix/variable-drafts-after-file-revert
Require fresh Variable and Data Set edits after File Revert
2026-11-28 11:19:25 +07:00
BFlat b6ae850283 Merge pull request #9706 from dotCooCoo/fix/swatch-legend-live-form-fields
Apply live Create Swatch Legend settings
2026-11-28 11:19:11 +07:00
BFlat 29860cebec Merge pull request #9702 from dotCooCoo/fix/new-toolbar-typed-name
Show and apply names in New Toolbar
2026-11-28 11:18:57 +07:00
BFlat cd4dfe2d63 Merge pull request #9657 from dotCooCoo/fix/blend-options-opening-drawing
Keep Blend Options previews and approval on their opening drawing
2026-11-28 11:18:44 +07:00
BFlat e548209fca Merge pull request #9626 from dotCooCoo/fix/standalone-effect-opening-drawing
Keep standalone effect edits in their opening drawing
2026-11-28 11:18:28 +07:00
BFlat 2257e51824 Merge pull request #9625 from dotCooCoo/fix/graphic-style-options-refusal-locale
Localize Graphic Style Options duplicate-name feedback
2026-11-28 11:18:13 +07:00
BFlat f59a5a1892 Merge pull request #9621 from dotCooCoo/fix/panel-artwork-drop-file-revert
Reject panel artwork drags started before File Revert
2026-11-28 11:18:00 +07:00
BFlat 46e9359bea Merge pull request #9509 from dotCooCoo/fix/transform-each-opening-document
Keep Transform Each in its opening document
2026-11-28 11:17:31 +07:00
BFlat fca7b7811d Merge pull request #9489 from dotCooCoo/fix/ui-slice-dialog-selection
Keep Slice Options and Divide Slices on the original selection
2026-11-28 11:17:12 +07:00
BFlat 3db1b3c96a Merge pull request #9660 from makesomethingshit/fix/7872-convex-inside-bevel
3D: Keep inside bevels within collapsing convex outlines
2026-11-28 11:13:55 +07:00
BFlat 1bc87afc7b Merge pull request #9796 from jmverges/fix/ai-save-type-spot-ink
.ai save: type in a spot ink keeps its swatch link
2026-11-28 11:12:55 +07:00
BFlat 1411d28618 Merge pull request #9782 from jmverges/fix/ai-type-spot-ink
.ai import: type set in a spot ink keeps its ink
2026-11-28 11:12:05 +07:00
BFlat 721582b419 Merge pull request #9813 from jmverges/fix/pdf-stencil-hard-mask
PDF export: a black-and-white colorized image is never smoothed
2026-11-28 11:11:43 +07:00
BFlat efdb0fbfe5 Merge pull request #9757 from Hassan1305/fix-9227-offset-pasted-clip
Paste: a pasted copy of a clipping path is an ordinary path, so Offset Path works on it (#9227)
2026-11-28 11:10:32 +07:00
BFlat c693786275 Merge pull request #9759 from Hassan1305/fix-9320-random-uniform-scale
Transform Each: Random with the same horizontal and vertical scale keeps proportions (#9320)
2026-11-28 11:10:18 +07:00
BFlat 1e413f5368 Merge pull request #9845 from dotCooCoo/fix/placed-document-tests-without-timing
Tests: placed document tests wait on handshakes instead of timers
2026-11-28 11:02:05 +07:00
.CooCoo e883b8a49c Merge pull request #9789 from dotCooCoo/fix/fontlist-test-global-fonts
Tests: the font list tests hold back other threads' font changes
2026-11-27 19:58:32 -08:00
.CooCoo 4c376b6914 Merge pull request #9790 from dotCooCoo/fix/canvas-tests-profiles-generation
Tests: ui-egui tests that load a color profile run in their own process, so the profiles generation stays fixed
2026-11-27 19:57:48 -08:00
.CooCoo bdcc2d92de Merge pull request #9825 from dotCooCoo/fix/panel-readout-copy-language-guard
Tests: panel readout copy cases hold the language guard
2026-11-27 19:57:09 -08:00
dotCooCoo c72b9c8f7a Color: with_active keeps the working settings on its thread too
cms::with_active put its settings in place of the active settings on
its thread, but cms::working() still read the process-wide working
settings. Code inside with_active could therefore read active settings
from one context and working settings from another, and a set_active
on another thread changed the working half while the scope ran.

Inside with_active, working() now gives the working settings of the
context it was given: the ones for_document put a document's profiles
in place of, else that context itself. use_document_profiles and
for_document still read the process working settings, because they
install or keep process-wide contexts. Outside with_active nothing
changes. The app calls with_active only with for_document contexts
(canvas panes and the color mode change on open), whose working
settings are the process ones, so the app reads the same working
settings as before.
2026-11-27 19:56:23 -08:00
dotCooCoo 6927affc24 CI: the cold cache clear waits for the warm leg's own save and reads every cache page
scripts/ci-clear-rolling-cache.py:
- The 160-minute wait is timed from the cache warm leg's start, not from
  the script's start. The clear job starts with the run, and the leg
  starts after gate / select legs and a free runner. The job's timeout
  goes from 170 to 200 minutes to leave room for that delay.
- The leg counts as saving when its Post Setup step (the gate-setup
  action's cache save) starts, not when any Post step starts. A leg that
  ends canceled or failed before that step succeeds deletes nothing and
  exits 1, as a leg that failed before its save already did.
- actions/caches is read one page at a time, sorted by creation, until a
  page holds fewer than 100 entries.

scripts/ci-clear-rolling-cache-tests.py checks the script with recorded
API answers, and Nightly check runs it when either file changes.
2026-11-27 19:55:45 -08:00
dotCooCoo 61d4c573c1 DXF import: the symbol-name and layout tests count the work instead of timing it
many_by_block_looks_import_in_linear_time and
many_paper_layouts_are_read_in_linear_time checked for quadratic work by
timing the import (under 4 and 5 seconds), so a slow machine could fail
them and a regression that stayed under the bound passed. They now count
the work in test builds:

- the names `unique` tries for a new symbol: 4,000 symbols named by one
  block try fewer than 8,000 names (8,002,000 without the per-label
  suffix memo);
- the layout names the paper-layout de-duplication compares: 10,000
  layouts compare at most 10,000 (49,995,000 with a list in place of the
  set).

The counters are thread-local cells under cfg(test); release builds do
not count.
2026-11-27 19:07:30 -08:00
dotCooCoo b3917f89e8 Locks: dropping a lock holder unlocks its file
The plug-in store turn, the Data Recovery area hold, the script grants
lock and the hang report file each released their file lock only by
closing the file. The lock stays held while any copy of the handle is
open, and a child process that any thread starts holds a copy until it
runs its program. While one was starting, the next turn on the plug-in
store waited, an app found its own recovery area busy, a grants change
timed out, and the next launch left a hang report alone.

Each holder now unlocks the file when it is dropped, as #9837 does for
the nightly session and the GPU start file. The engine's three locks
share one type, `store::LockedFile`. A left hang report that a launch
locks to read is held the same way.

Each new test keeps a copy of the handle open, drops the holder and
takes the lock again.
2026-11-27 18:58:40 -08:00
dotCooCoo 2fc711da77 Dimension: Linear points snap onto preview bounds edges, groups and stroked type
With Use Preview Bounds on, a Linear point landed only on the four corners
of the preview bounds of a path or compound path. A group's own stroke or
effects and stroked type widen the bounds that W and H show, but gave no
corner to pick, and a click beside a stroked edge snapped to the stroke's
centerline.

- Stroked type, and a group or layer with fills, strokes or effects of
  its own, now give the corners of their preview bounds. A group's corner
  is held against the member path whose own box reaches nearest to it. A
  point on type has no link and stays where it was picked. A group or
  layer holding dimension artwork gives no corner, since its bounds take
  in the dimensions.
- A click that no anchor, corner, line end, guide, grid or pixel snapping
  places lands on the nearest point of an edge of the preview bounds
  within 8 pixels when no segment or dimension line is nearer. The point
  is held against the path holding the edge's nearer corner.
- Group members count against the same per-move member work as compound
  paths; a group holding more than one move may read is not read again
  for that revision.

Docs: docs/dimensions.md, docs/target-app-parity.md.
2026-11-27 18:55:32 -08:00
dotCooCoo 5466829792 PDF import: complexity tests count the work done instead of timing it
The four tests of the pre-open stream scan and the page hash test
asserted elapsed time (5 s and 60 s), so a loaded machine could fail
them and a slower but still bounded scan could pass them.

- streams.rs: a test-only counter adds up the bytes the scan looks at:
  in each helper that walks the file, in each charge to the scan's
  budget, and once for each step of the main reading. The tests assert
  at most 32 bytes looked at for each byte of the file. The largest
  case today looks at 21.
- editing.rs: a test-only counter adds up the page content the hash
  decodes. The test asserts no more than the hash limit plus the one
  stream that goes past it.

Each counter assertion fails on a broken version: strings read to the
end of the file instead of 64 bytes (131,076 bytes a byte), each
stream keyword reading back 64 KiB (7,937 bytes a byte), and every
page decoding the shared stream again (300 MiB decoded).
2026-11-27 18:03:03 -08:00
dotCooCoo b3d19b5760 Clipboard: the Wayland pipe tests send with no idle limit
a_read_stops_at_its_limit and a_copys_data_is_sent_through_the_pipe_and_closed
send more than a pipe holds through a default `Sends`, whose idle limit is
the app's 2 s `IDLE_WAIT`. When the test thread took more than 2 s between
reads, the send gave up: the first test then got the bytes sent so far
instead of the "larger than 2 MiB" error, and the second got only part of
the data.

Both tests now send through `Sends { idle: LONG, .. }`, as
pastes_that_read_nothing_hold_a_few_sends_at_most does, so each send ends
when the reader takes the data or closes the pipe. The second test still
checks that a default `Sends` uses `IDLE_WAIT`. Every assertion is kept.
2026-11-27 18:00:50 -08:00