Commit Graph
8455 Commits
Author SHA1 Message Date
.CooCoo 22bc29d69d Merge pull request #10460 from dotCooCoo/fix/test-lint-mirror-false-alarms
xtask: test-lint mirror leaves out entry reads, never-run follows #[path] modules
2026-12-01 20:19:50 -08:00
.CooCoo 3860a8025c Merge pull request #10502 from dotCooCoo/fix/common-tangents-metaball
Path Precision Tools: Common Tangents and Smooth Bridge are one dialog
2026-12-01 18:28:19 -08:00
dotCooCoo c1b9fb98c3 Merge main into fix/test-lint-mirror-false-alarms 2026-12-01 18:24:34 -08:00
.CooCoo d6c378d227 Merge pull request #10512 from dotCooCoo/fix/import-fuzz-tests
Tests: import_fuzz's two regression tests check that their input reaches the export
2026-12-01 18:17:26 -08:00
.CooCoo 44522e9b7e Merge pull request #10506 from dotCooCoo/fix/include-bleed-native-files
Export for Screens: Include Bleed files of an artboard hold the bleed once
2026-12-01 17:32:13 -08:00
dotCooCoo 21f9323fcf Tests: import_fuzz's two regression tests check that their input reaches the export
svg_type_shifted_two_billion_points_exports_to_pdf now checks that the
SVG import keeps the type's shift of more than 2,000,000,000 pt, and that
the exported PDF leaves the type out, read back with the PDF importer.
Before, it checked only that the export returned Ok, so an import that
dropped or clamped the shift made it pass without reaching the bound.

a_long_thin_shape_with_a_shadow_renders_and_exports now checks that the
Affinity import gives exactly one shape with a drop shadow, more than
3,000,000 pt wide, before it renders and exports it. Before, an import
that dropped the shadow made it pass without drawing one.

The other 66 test-lint hits in import_fuzz.rs are property tests whose
claim is that hostile input loads, renders and exports without a panic.
Their helpers (survive, survive_library and the others) fail the case
through TestCaseError, which the no-assertion rule does not count.
2026-12-01 17:22:04 -08:00
dotCooCoo a61a9ba254 Merge main into fix/test-lint-mirror-false-alarms 2026-12-01 16:17:26 -08:00
FredApps 559a2205d5 Merge branch 'main' into svg/export-length-unit 2026-12-02 00:35:06 +01:00
.CooCoo 3852fa4afb Merge pull request #10484 from dotCooCoo/fix/pathops-cap-reports
Pathfinder: Divide and Live Paint report paths too complex to map
2026-12-01 15:33:36 -08:00
FredApps 5a4a558f5c Merge branch 'main' into svg/export-length-unit 2026-12-02 00:29:33 +01:00
.CooCoo 977062a652 Merge pull request #10462 from dotCooCoo/fix/colorcontrast-isolating-group-test
Tests: check the contrast answer for a Difference square in an isolating group
2026-12-01 15:19:00 -08:00
dotCooCoo bb9a4463ee Merge main into fix/include-bleed-native-files 2026-12-01 14:38:42 -08:00
dotCooCoo 86a5efd04c Export for Screens: Include Bleed files of an artboard hold the bleed once
With Include Bleed, a .vectorcraft, .ai or EPS row wrote the artboard
already grown by the document's bleed and kept the document's bleed as
well. Opened again, the file had the bleed outside the grown artboard, so
a PDF with the document's bleed came out with it twice: a 3 mm bleed made
a 6 mm one.

These files now hold the grown artboard with a bleed of 0. PDF rows and
Full Document files are unchanged. The params text and docs/mcp.md say so.
2026-12-01 14:38:27 -08:00
dotCooCoo 67ae8f8e58 Merge main into fix/common-tangents-metaball 2026-12-01 14:18:44 -08:00
dotCooCoo 5d494db4d9 Tests: Connect tangents' external shape does not cross itself
The test checked only which corners the shape has, so corners joined in
the wrong order passed. It now also checks the shape's area.
2026-12-01 14:16:38 -08:00
.CooCoo 4596f1a8be Merge pull request #10374 from dotCooCoo/fix/swallowed-regression-guards
Tests: guards check the environment, not the output under test
2026-12-01 14:10:23 -08:00
dotCooCoo 827f4fc87e Tests: make isolation change the contrast answer for the grouped Difference square
The white square behind the Difference square was opaque, so the art behind
the group never reached the blend and the test gave the same answer with
isolation off. That square is now 50 % opaque. The test checks that the
isolating group gives one answer and that the same group without isolation
reports that the art behind the selection is not one color.
2026-12-01 14:10:14 -08:00
dotCooCoo 16b0f49adb Merge main into fix/test-lint-mirror-false-alarms 2026-12-01 13:34:15 -08:00
dotCooCoo 9c7777372a Merge main into fix/colorcontrast-isolating-group-test 2026-12-01 13:17:13 -08:00
dotCooCoo 6230cf282a Merge main into fix/common-tangents-metaball 2026-12-01 13:17:02 -08:00
dotCooCoo 813ef9b3e7 Merge main into fix/pathops-cap-reports 2026-12-01 13:16:59 -08:00
.CooCoo a5a3e40c5e Merge pull request #9087 from dotCooCoo/feat/scripts-print-printer
Scripts: Document.print prints to an installed printer and app.printerList lists the printers
2026-12-01 13:11:17 -08:00
dotCooCoo 988e5ca919 Merge main into fix/common-tangents-metaball 2026-12-01 11:16:00 -08:00
dotCooCoo 6f684e6da9 Path Precision Tools: Common Tangents and Smooth Bridge are one dialog
Common Tangents… now also does what Smooth Bridge… did (#10465).

- Connect tangents joins the two tangents of each kind into one closed
  shape, along the chords between where they touch each path (a point's
  two lines make a triangle). `connect` on
  `addon.pathtools.commonTangents`.
- With External, the dialog shows Straight and Curved. Straight keeps
  the tangent lines; Curved joins the circles along concave arcs, as
  Smooth Bridge did, with Radius, Constant Gap, Reach and Keep
  Originals, which take input only with Curved. `curved`, `radius`,
  `gap`, `reach` and `keepOriginals` on the command; options of the
  other mode are an error.
- The Smooth Bridge… menu item is gone. `addon.pathtools.bridge` still
  runs for scripts and actions, opens the merged dialog with External
  and Curved, and is left out of the command palette and Keyboard
  Shortcuts. A palette search for "metaball" or "smooth bridge" finds
  Common Tangents.

Docs: docs/mcp.md, docs/ui-parity.md, ROADMAP.
2026-12-01 11:16:00 -08:00
.CooCoo 085d231803 Merge pull request #10461 from dotCooCoo/fix/sidecar-acl-test-macos
Tests: ACL replacement tests run without the acl tools
2026-12-01 10:59:51 -08:00
dotCooCoo eb0ee2baa4 Merge main into fix/colorcontrast-isolating-group-test 2026-12-01 10:43:39 -08:00
.CooCoo 7936fd6f67 Merge pull request #10153 from dotCooCoo/fix/file-new-rejects-bad-rows
New Document: file.new refuses artboard counts that are not whole numbers
2026-12-01 09:47:36 -08:00
.CooCoo d2b21eee81 Merge pull request #10145 from dotCooCoo/fix/placement-options-keeps-links
Links: Placement Options applies to the images it opened on
2026-12-01 09:47:28 -08:00
dotCooCoo 66c01445d5 Pathfinder: Divide and Live Paint report paths too complex to map
When the planar map is skipped because the paths have too many pieces
(SHAPE_BUILDER_MAX_MAP_EDGES, added in 7a46d5ec56), too many segments
or exceed the sweep's work budget, Divide with open paths fell back to
the filled areas. It replaced the selection with the uncut shapes and
deleted the cutting paths without saying so. Live Paint built no faces:
Make reported the paths as too degenerate to paint, and with Gap
Detection a group could get its edges and no faces.

pathops now has try_pathfinder_with, try_live_paint and
try_live_paint_with_gaps, which return TooManyPieces in those cases
without sweeping the filled areas. Divide, Live Paint Make, Merge and
Gap Options use them and stop with an error that leaves the art
unchanged. The caps, and the fallbacks of pathfinder_with, live_paint,
live_paint_with_gaps and the Shape Builder, are unchanged.

When a Gap Options preview fails after one that found gaps, the dialog
no longer keeps drawing the earlier preview's gaps over the groups the
failure put back.

Docs: docs/mcp.md, the commands' params text and the Divide line in
docs/target-app-parity.md.
2026-12-01 09:29:56 -08:00
BFlat 280dce86c5 Merge pull request #10438 from ruchirguitar/fix/9022-create-outlines-context-menu
Canvas: offer Create Outlines for selected text
2026-12-01 22:21:13 +07:00
.CooCoo eeebea1b9a Merge pull request #10442 from dotCooCoo/fix/engine-test-tolerances
Tests: engine assertions check the exact drag offset, dither shares and colors
2026-12-01 07:20:16 -08:00
dotCooCoo eca4eae37d Merge main into fix/test-lint-mirror-false-alarms 2026-12-01 07:13:57 -08:00
dotCooCoo 263eae8828 Merge main into fix/colorcontrast-isolating-group-test 2026-12-01 07:13:23 -08:00
dotCooCoo fca9f00cd4 Tests: check the contrast answer for a Difference square in an isolating group
a_blend_mode_inside_an_isolating_group_answers_over_art_of_several_colors
only checked that color.contrast returned Ok. It now checks that the
answer has a ratio above 1 and a background color, and that the same
square in Normal mode gives a different ratio, so a contrast reading
that drops the blend mode fails the test.
2026-12-01 07:10:54 -08:00
dotCooCoo 6f4fd3e187 Tests: ACL replacement tests run without the acl tools
a_replaced_sidecar_takes_no_inherited_acl and
a_replacement_takes_no_inherited_acl_the_old_file_lacked set the folder's
default ACL with setfacl and returned early when it was missing, so on a
Linux host without the acl package they passed without checking anything.
They now write the default ACL as the system.posix_acl_default extended
attribute through rustix, check that a new file takes it, and read the
replacement's access ACL with getxattr. They skip only when the file
system keeps no ACLs (EOPNOTSUPP); any other setup error fails the test.
2026-12-01 06:59:58 -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
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 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
Ruchir a8731bf8ed Canvas: offer Create Outlines for text inside selected groups 2026-12-01 19:31:48 +05:30
dotCooCoo adef85f5f0 Merge main into chore/never-run-test-allows 2026-12-01 03:42:46 -08:00
dotCooCoo 543a89edfc Merge main into fix/engine-test-tolerances 2026-12-01 03:35:40 -08: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 b2e8b5637e Merge main into chore/never-run-test-allows 2026-12-01 02:55:37 -08:00
dotCooCoo d22296ce82 Tests: engine assertions check the exact drag offset, dither shares and colors
The Alt-drag test now requires the 80 pt offset instead of any positive x. The pattern transparency dither tests check the exact 25% and 75% opaque shares. The plug-in tests' near() allows 2 levels per channel instead of 40.
2026-12-01 02:36:00 -08: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 0f95fb0880 Merge main into chore/never-run-test-allows 2026-12-01 02:21:01 -08:00
yoriswind a0bdd86acc Reuse document resources when rendering PDF effects (#10342) 2026-12-01 11:17:48 +01: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
dotCooCoo 010367e39e Tests: allow the 26 Windows and macOS tests that CI never runs
Each test that a cfg limits to Windows, macOS or a case-insensitive file
system gets a `test-lint: allow never-run` line naming its platform, so
`cargo xtask test-lint` no longer reports them. The tests are unchanged
and still run on their own platform.
2026-12-01 01:46:09 -08:00