Commit Graph
23685 Commits
Author SHA1 Message Date
dotCooCoo 45785dbb1b Merge main into fix/parser-var-scope-budget 2026-11-28 00:41:46 -08:00
dotCooCoo fb29b84fff Merge main into fix/symbol-registry-budget 2026-11-28 00:41:46 -08:00
dotCooCoo a4a96ea4ee Merge main into fix/packaging-fold-geometry 2026-11-28 00:41:46 -08:00
dotCooCoo c358968590 JS: Promise statics reject host classes registered without construct
A host class registered with construct: None still has a constructor
function that throws when called, so Promise.resolve and the other
statics accepted it as a constructor. The class entry now records
whether a construct function was supplied, and the statics check that.
`new` on such a class still throws its existing TypeError.
2026-11-28 00:39:56 -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
dotCooCoo 60ba6ac992 Merge main into feat/script-warning-reaches 2026-11-28 00:29:36 -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
dotCooCoo 40eaf74680 Brushes: a canceled Pattern brush scale change does not reach the brush
The Scale and Width row that art and pattern brushes share read the
slider's in-progress value, so a held drag ended with Escape left the
dragged value in the dialog and rounded a fractional stored value. Main
reads brush option sliders, fields and menus through landed() and
committed() so a canceled or unfinished edit does not reach the brush
(#9752); the row now does the same and keeps the exact opening value.

The new test drags Pattern Brush Options' Scale slider, cancels with
Escape while the dialog stays open and checks the field still holds the
opening 100.25 %, then checks a released drag is kept by OK. The Art
brush width test now finds the mode menu by its name, Width: Mode.
2026-11-28 00:07:56 -08:00
HassanKhan 3d2e30b069 Merge remote-tracking branch 'upstream/main' into fix-9848-mosaic-stale-warning 2026-11-28 13:01:14 +05:00
HassanKhan f06a8829a0 Paths: a bend by nothing leaves the segment as it was
A zero move no longer spreads a straight segment's handles, which could
turn a smooth end's other handle and change the segment beside it.
2026-11-28 12:59:44 +05: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
dotCooCoo 4cac1da41e Scripts: a ScriptUI button in a hidden or disabled group is not the default, and a question over the dialog holds its queued events
Enter and Escape found OK and Cancel by their own enabled and visible flags only, so an OK button inside a disabled or hidden group could become the default element and the usable OK button after it could not. A control is now usable only when every container that holds it is enabled and shown.

While a question such as the one quitting asks was open over the ScriptUI dialog, each frame still gave the run the dialog's queued events, so a queued click on OK could close the dialog before the question was answered. The events now wait until the dialog is on top again.
2026-11-27 23:36:35 -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
dotCooCoo 1ad7a1134f Merge main into feat/plugin-api-generated-art 2026-11-27 23:35:47 -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
dotCooCoo 513ba7b488 Merge main into fix/promise-host-constructors 2026-11-27 23:34:26 -08:00
dotCooCoo 48188c3b8e Merge main into fix/symbol-registry-budget 2026-11-27 23:34:11 -08:00
dotCooCoo 1d1c19dae9 Merge main into fix/command-dialog-document-scope 2026-11-27 23:34:10 -08:00
dotCooCoo 90c9d0fd69 Merge main into fix/parser-var-scope-budget 2026-11-27 23:34:08 -08:00
dotCooCoo 86500e3e9f Merge main into fix/packaging-fold-geometry 2026-11-27 23:34:08 -08:00
dotCooCoo 4d5ec01e54 Merge main into fix/prefs-dialog-keeps-outside-changes 2026-11-27 23:34:05 -08:00
dotCooCoo a87f351a7d Merge main into feat/packaging-fold-angle-command 2026-11-27 23:34:04 -08:00
HassanKhan 2974fedf23 Merge remote-tracking branch 'upstream/main' into fix-8531-snap-budget-edges
# Conflicts:
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-28 12:33:38 +05:00