Commit Graph
22435 Commits
Author SHA1 Message Date
dotCooCoo fbd72fc4af Tests: Japanese dialog clicks wait for the CJK font lookup
On Linux, the interface fonts find a CJK face through a fontconfig
lookup that runs on its own thread and starts the first time a CJK
character has no glyph. Until it ends, Japanese labels draw without
glyphs. The pass after it ends registers the face, and the next frame
lays the labels out again, which moves the controls around them.

hyphenation_keeps_focused_edits_until_cancel_or_ok and
localized_compact_gallery_pointer_applies_and_cancels measure their
controls in one frame and click them frames later. When the lookup ends
in between, the click misses: the Hyphenation checkbox keeps its old
value ("ja Cancel: Some(8.0), (Some(8.0), Some(false))"), or the
gallery's OK applies nothing. A loaded machine slows the lookup's
fc-match runs, so it ends inside the Japanese pass.

testing::wait_for_cjk_fonts starts the lookup and waits for it through
its completion callback, with no timeout. Both tests call it before
they measure anything, so each new context registers its face after its
first pass and the controls stay in place from then on.
2026-11-28 02:37:26 -08:00
.CooCoo 4167e0abca Merge pull request #9884 from dotCooCoo/fix/readout-copy-empty-values
Info panels: empty readouts offer no Copy action
2026-11-28 01:45:30 -08:00
.CooCoo 13fc74e4fd Merge pull request #9000 from dotCooCoo/feat/tangent-circle-ask-radius
Tangent Circle Tool: Ask For Circle Radius asks for the radius after a click
2026-11-28 01:40:20 -08:00
.CooCoo 1ed6f2f704 Merge pull request #8998 from dotCooCoo/fix/smooth-reach-pieces-bound
Smooth: a drag's segment search stays within its piece limit however many curved segments are in reach
2026-11-28 01:40:07 -08:00
.CooCoo cefcc8a955 Merge pull request #9882 from dotCooCoo/fix/cold-cache-clear-start-wait
CI: the cold cache clear fails on a late warm leg before its job times out
2026-11-28 01:24:42 -08:00
.CooCoo 87b3dd9a98 Merge pull request #9853 from dotCooCoo/fix/script-documents-strict-assign
Scripts: assigning documents throws in strict mode and is ignored otherwise
2026-11-28 01:24:23 -08:00
.CooCoo ad6bf48cf4 Merge pull request #9391 from dotCooCoo/fix/packaging-fold-geometry
Fold Preview: preserve panel layer order
2026-11-28 01:23:01 -08:00
.CooCoo 22b17d6942 Merge pull request #9883 from dotCooCoo/fix/svg-complexity-tests-count-work
SVG import: complexity tests count the work done instead of timing it
2026-11-28 01:07:11 -08:00
.CooCoo c996fbba08 Merge pull request #9500 from dotCooCoo/fix/properties-profile-build
Properties: Fix the Profile row build after stroke tool routing changed
2026-11-28 01:06:43 -08:00
.CooCoo d5e41e24dc Merge pull request #9467 from dotCooCoo/fix/template-cache-code-reachability
Collect unreachable tagged-template cache entries in the same collection
2026-11-28 01:06:17 -08:00
.CooCoo 0b933e7a36 Merge pull request #9127 from dotCooCoo/feat/plugins-web-worker
Plug-ins: the web build checks plug-ins and runs filters in a Web Worker
2026-11-28 01:04:54 -08:00
.CooCoo 31066b39c2 Merge pull request #9065 from dotCooCoo/feat/scripts-reflection
Scripts: reflect describes an object's properties and methods
2026-11-28 01:03:47 -08:00
.CooCoo 3c7a3c7904 Merge pull request #9881 from dotCooCoo/fix/stroke-hit-cap-dots
Strokes: a click on the dot a round or projecting cap draws for a lone anchor hits the path
2026-11-28 00:48:03 -08:00
.CooCoo a949db79fe Merge pull request #9137 from dotCooCoo/feat/plugin-api-live-effect-appearance
Plug-ins: live effects set opacity, blending and effects on their pieces
2026-11-28 00:46:29 -08:00
.CooCoo ed86cbf5ab Merge pull request #9119 from dotCooCoo/feat/toolbar-command-buttons
Toolbars: a toolbar made with New Toolbar holds menu command buttons
2026-11-28 00:45:29 -08:00
dotCooCoo ab260718f5 CI: the cold cache clear fails when the warm leg starts after the start limit
start_overdue only looked at a leg that had not started, so a leg that
started 5 seconds past START_SECONDS and reached its save was let through
and the old entries were deleted. The script now exits 1 before the save
check when the leg's start time is more than START_SECONDS after the
script started.
2026-11-28 00:45:19 -08:00
.CooCoo 11ee54db00 Merge pull request #9058 from dotCooCoo/fix/issue-8583
Part of #8583: document tab titles draw in a condensed face, so more tabs fit
2026-11-28 00:43:51 -08:00
dotCooCoo a4a96ea4ee Merge main into fix/packaging-fold-geometry 2026-11-28 00:41:46 -08:00
dotCooCoo 5044b75ccf Info panels: empty readouts offer no Copy action
A panel readout that cannot be copied (an empty value, a disabled row or
a value clipped out of view) still told screen readers it had a Copy
action, and the action did nothing. An empty Link Info row, such as
Color Space for a placed document, showed it. The Copy description and
click action are now added only when a click on the value would copy.

New tests in panel_readout_copy.rs:

- empty_link_info_values_do_not_offer_copy: the empty Color Space row of
  a placed .vectorcraft link has no Copy action, and a forged click on it
  copies nothing.
- info_readout_copy_requires_the_press_and_release_inside_its_bounds: on
  the Info panel's W readout, a press outside followed by a release
  inside copies nothing, with the release in the same frame or the next.
- link_info_stays_visible_while_a_long_image_list_scrolls: with 32 images
  in each thumbnail size, Link Info stays in place and copyable while
  the list scrolls to its end.

Follows #8826 by @yoriswind.
2026-11-28 00:38:02 -08:00
dotCooCoo 7d6abb1d23 Merge main into fix/script-documents-strict-assign 2026-11-28 00:29:51 -08:00
.CooCoo 1f9b44c65c Merge pull request #9880 from dotCooCoo/fix/swatch-footer-menus
Swatches: Swatch Libraries and Show Swatch Kinds report that they open a menu
2026-11-28 00:28:19 -08:00
dotCooCoo c1cd6131d1 SVG import: complexity tests count the work done instead of timing it
Two SVG import tests asserted elapsed time (1 s and 5 s), so a loaded
machine could fail them and a slower but still bounded run could pass.

- prepass.rs: a test-only counter adds up the numbers Edits::id tries
  for a made-up id. The test asserts 55,000 tries for 5,000 ids made up
  past 50,000 taken ones. With each id starting again at the number of
  ids made so far, as before the fix it covers, the count is 237,507,500
  and the assertion fails.
- entities.rs: the run of 1 MiB of `&` keeps its check that nothing is
  expanded and drops the timing. The scan is craft_svg::guard in
  craft-libs, whose own test checks the linear read.
2026-11-28 00:27:36 -08:00
dotCooCoo b2f3c35e66 Merge main into fix/properties-profile-build 2026-11-28 00:25:34 -08:00
dotCooCoo 1f6ae9841b Merge main into fix/template-cache-code-reachability 2026-11-28 00:25:34 -08:00
.CooCoo 64c966d662 Merge pull request #9462 from dotCooCoo/fix/appearance-drag-document-current
Keep appearance drags tied to their source document
2026-11-28 00:22:40 -08:00
dotCooCoo 5f7ddb1009 Merge main into fix/smooth-reach-pieces-bound 2026-11-28 00:21:23 -08:00
dotCooCoo 6b12d7e600 Merge main into feat/tangent-circle-ask-radius 2026-11-28 00:21:17 -08:00
.CooCoo 9c5e83cdb8 Merge pull request #9359 from dotCooCoo/fix/prefs-dialog-keeps-outside-changes
Preferences: OK writes only the settings changed in the dialog
2026-11-28 00:19:56 -08:00
dotCooCoo ada0e99dfc CI: the cold cache clear fails on a late warm leg before its job times out
The script's 160-minute wait is timed from the cache warm leg's start, and
the leg starts only after gate / select legs and a free runner. The job's
200-minute timeout left 40 minutes for that; a push to main on 2026-11-28
took 44 minutes from the run's start to the leg's start. A later start
ended the job with a timeout instead of the script's error.

The script now fails with its own error when the leg has not started 120
minutes after the script started, and the job's timeout is 290 minutes,
longer than the start wait and the 160-minute save wait together. A test
reads both timeouts from ci.yml and checks them against the script's
limits.
2026-11-28 00:18:09 -08:00
.CooCoo 8dc964de18 Merge pull request #9879 from dotCooCoo/fix/effects-reference-box-lone-anchors
Effects: geometry effects work from bounds that hold lone anchors
2026-11-28 00:17:12 -08:00
.CooCoo 39f317a0c6 Merge pull request #9840 from dotCooCoo/fix/engine-tests-count-work
Tests: bounded-work checks count the work instead of timing it
2026-11-28 00:16:46 -08:00
.CooCoo 72c555deb7 Merge pull request #9407 from dotCooCoo/feat/packaging-fold-angle-command
Document stored fold angles and role defaults
2026-11-28 00:15:19 -08:00
.CooCoo 150998c32d Merge pull request #8990 from dotCooCoo/feat/web-stylus-wheel
Web: the Paintbrush records an airbrush pen's stylus wheel
2026-11-28 00:10:14 -08:00
dotCooCoo 7317159f52 Merge main into feat/scripts-reflection 2026-11-28 00:09:37 -08:00
dotCooCoo eb4c8bdc81 Scripts: script code builds with main's revert test and command hook
main added a test named wrappers_go_stale_after_revert and passes the
command id to dom::before_command by reference.

- The revert test of this branch is renamed
  objects_read_before_a_revert_are_stale_and_ones_read_after_are_the_loaded_ones.
- command_value takes `id` as a &str, so the call passes it as it is,
  which clippy's needless_borrow check requires.
2026-11-28 00:09:25 -08:00
.CooCoo bbefa3c8e3 Merge pull request #9072 from dotCooCoo/feat/js-es2015-collections-typed-arrays
JavaScript: ES2015 realms have Map, Set, WeakMap, WeakSet and typed arrays
2026-11-27 23:55:19 -08:00
.CooCoo bacd4d0ec2 Merge pull request #8853 from dotCooCoo/feat/swatches-pattern-drag-to-canvas
Swatches: a pattern swatch dropped on empty canvas places a copy of its tile art
2026-11-27 23:52:10 -08:00
dotCooCoo ff02d3c23d Effects: each copy of a painted piece carries its own raster effects
When a live-effect plug-in returned a piece whose effects list a raster
effect before a Transform effect that makes copies, the Transform effect
copied the bare geometry and the raster effect was drawn once around all
of the copies. dress_piece applied the piece's geometry effects to its
geometry alone and kept every raster effect on the group around them.

dress_piece now builds such a piece through copied_raster_art, as an
object's copies are built: each copy carries its own raster effects,
moved, turned, reflected and scaled with it. copied_raster_art takes an
optional budget and completion flag, so the piece still keeps to the room
it is given and is refused when its copies or its geometry effects would
stop short. The piece's fills and strokes keep their own effects for
their own stage.
2026-11-27 23:49:41 -08:00
dotCooCoo e75b26cffc Merge main into feat/scripts-reflection 2026-11-27 23:38:58 -08:00
dotCooCoo 326a5f83f2 Merge main into fix/issue-8583 2026-11-27 23:37:43 -08:00
.CooCoo b6f01852b7 Merge pull request #9874 from dotCooCoo/fix/swatch-libraries-menu-width
Swatches: the Swatch Libraries menu fits its rows like the other library menus
2026-11-27 23:36:56 -08:00
.CooCoo 484e561867 Merge pull request #9873 from dotCooCoo/fix/taskbar-fidelity-label
Contextual Task Bar: the Smooth tool's Fidelity label is framework Text on its field's row
2026-11-27 23:36:45 -08:00
.CooCoo 72f43b783a Merge pull request #9872 from dotCooCoo/fix/3d-color-swatches
3D: the light color and the custom shading color show color swatches
2026-11-27 23:36:34 -08:00
.CooCoo c2b8d7ce75 Merge pull request #9822 from dotCooCoo/fix/automation-args-handshake
Tests: automation root tests wait for the app to exit, not for a 30 s deadline
2026-11-27 23:35:58 -08:00
.CooCoo 9ce2299580 Merge pull request #9811 from dotCooCoo/fix/ai-envelope-stroked-line
.ai import: envelopes of a stroked straight line map from their stroked box
2026-11-27 23:35:45 -08:00
.CooCoo b95e342a50 Merge pull request #9808 from dotCooCoo/fix/revert-guards-remaining-dialogs
Dialogs: click, fold angle, gradient stop and link dialogs refuse drafts from before File > Revert
2026-11-27 23:35:33 -08:00
dotCooCoo 75573edf9d Merge main into fix/appearance-drag-document-current 2026-11-27 23:34:47 -08:00
dotCooCoo f94034362b Scripts: a reflection's find stays frozen in an ES2015 realm
In a realm with the ES2015 option, the `find` function of a reflection
had configurable `length` and `name` properties, so Object.isFrozen gave
false and a script could delete or redefine them. Both are now
non-writable and non-configurable, as the reflection's other parts are.
2026-11-27 23:34:40 -08:00
dotCooCoo 35aca2b9cd Merge main into fix/template-cache-code-reachability 2026-11-27 23:34:38 -08:00
.CooCoo 8f9fda6a7d Merge pull request #9432 from dotCooCoo/fix/script-handles-after-revert
Scripts: invalidate page-item handles after file.revert
2026-11-27 23:34:31 -08:00