Commit Graph
24107 Commits
Author SHA1 Message Date
.CooCoo 32dca73ec1 Merge pull request #10432 from dotCooCoo/fix/test-tolerances-render-effects-brush
Tests: exact expectations for gradients, brush pressure, Smart Blur and effects
2026-12-01 06:39:09 -08:00
.CooCoo bc887583c7 Merge pull request #10435 from dotCooCoo/fix/weak-test-bounds-tools-js
Tests: assert exact columns, padding and corner span in js and tools tests
2026-12-01 06:37:50 -08:00
.CooCoo 3b6951705b Merge pull request #10091 from dotCooCoo/feat/color-randomly
Color Effects: Randomize Fill Colors gives each selected filled path its own random fill
2026-12-01 06:33:42 -08:00
dotCooCoo a992850228 Merge main into feat/color-randomly
# Conflicts:
#	crates/mcp/src/ui_catalog.rs
#	crates/ui-egui/src/menus/ui_commands.rs
2026-12-01 06:26:48 -08:00
.CooCoo 38e453c034 Merge pull request #10139 from dotCooCoo/feat/group-rows
Arrange Tools: Group by Row puts each row of the selection in its own group
2026-12-01 06:26:18 -08:00
dotCooCoo 8ba55104f0 Merge main into feat/group-rows
# Conflicts:
#	crates/engine/src/cmd/plugin_call/reviewed.rs
#	crates/mcp/src/ui_catalog.rs
#	crates/ui-egui/src/addons/arrange.rs
#	crates/ui-egui/src/menus/ui_commands.rs
#	docs/mcp.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-12-01 06:20:46 -08:00
.CooCoo 1cdb671be4 Merge pull request #10170 from dotCooCoo/fix/eval-super-parse-time
Scripts: test that eval code with a forbidden super or new.target runs none of it
2026-12-01 06:19:54 -08:00
.CooCoo 7e1343b607 Merge pull request #10215 from dotCooCoo/fix/plugin-dialog-values-bound
Plug-ins: test that typed values reach the preview and the rows they show
2026-12-01 06:19:49 -08:00
.CooCoo 4e6cc52aea Merge pull request #10332 from dotCooCoo/fix/script-page-item-edits
Scripts: locked artboards stop path edits, and move and zOrder respect clipping paths
2026-12-01 06:19:21 -08:00
.CooCoo 83b2c22b78 Merge pull request #10148 from dotCooCoo/feat/corner-marks
Arrange Tools: Mark Bounds of Each draws corner marks or a rectangle on each selected object's bounds
2026-12-01 06:18:27 -08:00
e28faa0a94 Color Halftone: draw dark dots on light tones (#10316)
* fix(effects): draw dark dots in RGB Color Halftone

(cherry picked from commit 2dbe91af9f)

* Cover dark-on-light RGB halftone polarity

Updated halftone tests to clarify behavior regarding pixel brightness and dot sizes.

(cherry picked from commit babd60e332)

* effects: bound Color Halftone dots at full coverage

(cherry picked from commit 8fb0bf55607762df6e3acc2ed7ed37a643fea022)

* effects: describe Color Halftone ink coverage

(cherry picked from commit 0dbf12514095b6e12cb4414055d8ac47ee1fbcdc)

* Document the change to saved RGB halftones

* Test the bounded edge overlap of full halftone dots

---------

Co-authored-by: Mex <[email protected]>
Co-authored-by: dotCooCoo <[email protected]>
2026-12-01 14:17:04 +01:00
.CooCoo 521347a60f Merge pull request #10370 from dotCooCoo/chore/rasterfilters-test-representative
Tests: check representative raster effects in the catalog test
2026-12-01 03:25:41 -08:00
dotCooCoo 72b0bdad60 Tests: Smart Blur checks hand-calculated pixels at radius 2 and 12
The Normal-mode test compares the default output with blurMode=normal,
so a fault both share passes it. Three checks now stand on their own:

- A 6-pixel row at radius 2 checks exact averages that a radius-1
  search gives differently (105 and 115 at the ends instead of 110).
- A step from gray 100 to 200 at radius 12 checks that the pixels next
  to the step read the box-blurred copy at threshold 50 and keep their
  gray at threshold 30, that pixels far from the step keep theirs, and
  that medium quality takes in less of the other gray than low.
- A one-column gray-200 stripe at radius 12 checks that a neighbour
  whose own value is past the threshold stays out even when its
  blurred value is within it.
- A 5 x 5 image at radius 2 checks that a pixel two columns away counts
  and one two columns and two rows away (outside the disc) does not.
- A 7 x 7 image with default settings checks that the default radius
  of 3 reaches a pixel three columns away.
- The radius-1 threshold test gives its last two pixels the same color
  with alpha 255 and 128, so it fails if alpha is left out.
2026-12-01 03:17:36 -08:00
.CooCoo c3c545dc69 Merge pull request #10430 from dotCooCoo/fix/format-test-tolerances
Tests: format tests check exact values instead of wide tolerances
2026-12-01 03:16:25 -08:00
.CooCoo d3ec8aa767 Merge pull request #10447 from dotCooCoo/fix/main-app-bar-home-control
Main: the Home size test uses the renamed app bar helper
2026-12-01 03:14:43 -08:00
dotCooCoo 1241f076f5 Main: the Home size test uses the renamed app bar helper
#8770 renamed the chrome test helper Shown::starting to app_bar_control,
which looks only in the window's title bar because the Tools panel can
hold a control with the same name. The test
the_app_bar_home_is_small_and_menu_titles_pad_their_text came in with
2030c7b2d2 while #8770 was open and still called starting, so
vectorcraft-ui-egui's tests no longer compile on main (E0599 at
chrome/tests.rs:573). The test now calls app_bar_control("Home").
2026-12-01 03:14:16 -08:00
.CooCoo fac0d0fc80 Merge pull request #10385 from dotCooCoo/fix/behavior-tests-for-source-greps
Tests: check the PDF key and Math.random seeds by behavior
2026-12-01 02:59:13 -08:00
dd1f4d2936 Tools: add search beside Edit Toolbar (#8770)
* Tools: add search beside Edit Toolbar

Open the existing tool-aware command palette from the Tools footer, preserving the customization button and fitting both column layouts.

Closes #8758.

* Format the toolbar Search interaction regressions

* Format the native Search tooltip expectation

* Use the current stroke paint API in Properties

* Scope app-bar test lookups to the title bar

---------

Co-authored-by: FredApps <[email protected]>
Co-authored-by: FredApps <[email protected]>
2026-12-01 11:34:49 +01:00
.CooCoo 295da28ec5 Merge pull request #10420 from dotCooCoo/fix/pdf-read-counter-address-reuse
PDF: count test reads of a buffer from a mark, not over its address's whole history
2026-12-01 02:32:29 -08:00
dotCooCoo cdc355d436 Tests: check the drawn H's vertical position and each mesh column's color
The composite import test now checks the H's top and bottom as well as its
width and height, so a shift of the drawn glyph fails it. The mesh export test
samples each patch's center, so swapped column fills fail it.
2026-12-01 02:27:45 -08:00
.CooCoo e8cd86bcf5 Merge pull request #10424 from dotCooCoo/fix/menu-font-scan-test-hang
Tests: the held font scan test no longer hangs when its pipe is released early
2026-12-01 02:23:55 -08:00
yoriswind a0bdd86acc Reuse document resources when rendering PDF effects (#10342) 2026-12-01 11:17:48 +01:00
dotCooCoo 9730c888fb Tests: seed the PDF file key test through protect
The test called Entropy::seeded directly, so it still passed if export
stopped reading the OS random source. Entropy::new now reads the OS
bytes and the time through seed_sources(), which a test can set for
its thread, and the test runs protect with fixed OS bytes, other OS
bytes and a failed OS read. The OS read in vectorcraft-js's os_random()
is now one function for tests and builds alike.
2026-12-01 02:17:47 -08:00
yoriswind 93286c8deb Dock panels inside the window on native Wayland (#10341) 2026-12-01 11:14:03 +01:00
dotCooCoo 8f5eb5435f Tests: assert exact columns, padding and corner span in js and tools tests
Five assertions accepted any positive value, so a wrong result could pass:

- host_tests: the evaluator site column and the thrown error's column are
  now 3, where the indented call and throw start.
- promise_tests: rejections relayed through Promise.all, Promise.race and
  a catch handler report column 3, not any column above 0.
- xmp_tests: the sample packet's padding is exactly 1.
- corners tests: a 10 pt radius at a 120 degree polygon corner spans
  10 pt, within 1e-6, instead of anything in (5, 10.5].
2026-12-01 02:13:46 -08:00
dotCooCoo 540d0fad70 Plug-ins: list Mark Bounds of Each in ui.menuDialog's params text
ui.menuDialog opens the Mark Bounds of Each dialog, so its command list and the generated MCP catalog now name addon.arrange.markBounds.
2026-12-01 02:11:16 -08:00
dotCooCoo 78eb2f4afb Arrange Tools: list Group by Row among the dialogs ui.menuDialog opens
ui.menuDialog opens the Group by Row dialog, so its params text and the
MCP UI catalog name addon.arrange.groupRows with the other Arrange Tools
dialogs.
2026-12-01 02:09:48 -08:00
dotCooCoo d0cf7f09ec Tests: format tests check exact values instead of wide tolerances
The PDF, EPS, SVG mesh, metafile hatch and distorted-image tests now
assert the values the input gives: the Letter page a page without area
falls back to, the H glyph's box from its font metrics, the middle gray
of each mesh piece, the 8 of 64 hatch pixels, and the bounds of the
placement taken at the image's center.
2026-12-01 02:05:29 -08:00
yoriswind e5bdd539d0 Keep file progress windows visible between frames (#10343)
* Keep the file progress window visible between frames

* Apply completed jobs while showing progress
2026-12-01 11:01:10 +01:00
yoriswind 45fd2a5347 Troubleshooting: report the active graphics driver (#10348) 2026-12-01 10:59:09 +01:00
dotCooCoo 7628ae5c0e Merge main into fix/test-tolerances-render-effects-brush 2026-12-01 01:53:59 -08:00
dotCooCoo e14ee70326 Tests: exact expectations for gradients, brush pressure, Smart Blur and effects
Seven render, brush and effects tests accepted results well away from
the value the code is meant to give:

- The two linear gradient tests now expect the value at the pixel
  center (126 of 255, red 126 and blue 129) within 2 levels, instead of
  12 or 20 around 128.
- The trimmed bristle strand test bounds the width ratio on both sides.
- The calligraphic roundness test expects the 0.1 pt hairline within
  1e-6 pt.
- Pucker & Bloat expects the corner anchor at (12.5, 12.5) and
  (-12.5, -12.5), not only the sign of the move.
- Exposure's offset and gamma checks expect the sRGB value within 1e-5.
- Smart Blur's checksums of earlier output are replaced by a 4 pixel row
  whose averages are worked out by hand.

Each new assertion fails when the code it covers is changed (the
gradient stops shifted, the pressure, roundness, pucker, offset or gamma
factor changed, or the blur threshold widened).
2026-12-01 01:53:59 -08:00
.CooCoo 0e8f44581d Merge pull request #10388 from dotCooCoo/fix/affinity-features-synthetic
Tests: run the attached recolor import test on a synthetic document
2026-12-01 01:53:38 -08:00
.CooCoo f77dfbae60 Merge pull request #10354 from dotCooCoo/fix/tool-icon-stroke-width
Icons: draw every tool icon's outline at the same width
2026-12-01 01:51:24 -08:00
.CooCoo 69b1f26ff0 Merge pull request #10377 from dotCooCoo/fix/tool-shortcut-collisions
Shortcuts: a lone Alt over the canvas no longer gives the menu bar the keys
2026-12-01 01:51:18 -08:00
dotCooCoo 7dde2f0310 Color Effects: ui.menuDialog lists Randomize Fill Colors
ui.menuDialog opens the Randomize Fill Colors dialog, so its params text and the generated MCP catalog list addon.color.randomFill.
2026-12-01 01:48:16 -08:00
.CooCoo 3b1cea04f5 Merge pull request #10081 from dotCooCoo/feat/split-cache-warm
CI: the cache warm on main builds its six shards in parallel
2026-12-01 01:35:00 -08:00
dotCooCoo c175089a20 Tests: seed the Math.random test realm through Interp::new
Realm::with_os_random made a realm and then replaced its seed, so the
test still passed if Interp::new stopped seeding from the OS random
source. The OS read now goes through os_random(), which a test can set
for the realms made on its thread, and with_os_random builds its realm
with Realm::new. The test fails when Interp::new uses a fixed seed.
2026-12-01 01:32:39 -08:00
dotCooCoo c9d9b75f76 Tests: the held font scan test no longer hangs when its pipe is released early
the_menu_family_list_now_does_not_wait_for_the_scan holds the font scan
at a named pipe and released it with one blocking open for writing. That
open waits for any reader and lets go only the readers already waiting.
When the scan reached the pipe after the release, or ran on the test's
own thread because its background thread did not start, nothing opened
the pipe again and the test waited until the job timed out (a gate shard
on pull request 10368 ran for over two hours).

The release thread now opens the pipe for reading and writing, which
does not wait for a reader, and repeats that until the scan has ended.
The thread is joined after the list that waits for the scan.
2026-12-01 01:30:45 -08:00
.CooCoo 7e565c3922 Merge pull request #10376 from dotCooCoo/fix/thin-stroke-close-anchors
Render: thin strokes keep smooth curves round where their lines turn sharply
2026-12-01 01:30:30 -08:00
.CooCoo 084c01d031 Merge pull request #10364 from dotCooCoo/fix/halftone-euclidean-elliptical
Vector Halftone: Euclidean and Elliptical dot shapes
2026-12-01 01:22:58 -08:00
.CooCoo 0d450fa20a Merge pull request #10369 from dotCooCoo/fix/shape-builder-freeze
Shape Builder: stop building regions of paths that cross too often
2026-12-01 01:16:11 -08:00
.CooCoo 643529e3ea Merge pull request #10387 from dotCooCoo/fix/pdf-stream-scan-tests
Tests: cover broken hex strings in the stream scan and restricted file fonts
2026-12-01 01:06:03 -08:00
dotCooCoo eadf345932 Merge main into feat/color-randomly 2026-12-01 01:04:32 -08:00
dotCooCoo 3fcb278b24 Merge main into feat/group-rows 2026-12-01 01:03:49 -08:00
dotCooCoo 9c4f01faf1 Merge main into feat/corner-marks 2026-12-01 01:03:01 -08:00
dotCooCoo 3a5a7252e2 Merge main into fix/pdf-read-counter-address-reuse 2026-12-01 01:01:39 -08:00
.CooCoo e4eaaabd0b Merge pull request #10352 from dotCooCoo/fix/menubar-padding
Menu bar: a smaller Home button and padding beside each menu title
2026-12-01 01:00:12 -08:00
dotCooCoo 68dbba0b92 PDF: count test reads of a buffer from a mark, not over its address's whole history
reads_of counts reads by buffer address and never forgets them, so a buffer
allocated where another test's freed buffer was read starts with that count.
linked_pages_read_the_file_once_and_a_blank_page_keeps_its_crop_box asserted
reads_of(&blob) == 0 and failed once that way under 16 test threads.

Each read now gets a sequence number. read_mark returns the next one and
reads_of_since counts only the reads at or after a mark. The linked-pages test
takes a mark before opening the file.
2026-11-30 23:05:46 -08:00
dotCooCoo f08d12949c Tests: run the attached recolor import test on a synthetic document
The recolor adjustment test read test.af from the repository root and
returned early when the file was absent, so it never ran in CI. It now
builds a magenta rectangle with an attached Recolor adjustment in the
test and checks that lightness 1 imports as a white fill, that
lightness 0.5 at hue 0 draws pure red, and that a hidden adjustment
leaves the fill unchanged.
2026-11-30 23:03:43 -08:00