Commit Graph

24182 Commits

Author SHA1 Message Date
dotCooCoo 1ebbbf1fe4 Merge main into fix/test-lint-helper-ignore-wrapper-guards 2026-12-01 11:05:11 -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
.CooCoo eb8e3b41bd Merge pull request #10452 from dotCooCoo/fix/halftone-merged-dot-edges
Vector Halftone: round and diamond dots stay in their cell, so dark tones join cleanly
2026-12-01 10:49:12 -08:00
.CooCoo c4d4ba8552 Merge pull request #10360 from dotCooCoo/fix/undocked-document-window
Windows: a floating document window moves by its title bar and its tab closes it
2026-12-01 10:42:55 -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
.CooCoo 9a9cdbcf33 Merge pull request #10140 from dotCooCoo/feat/symbol-drop-keeps-art
Symbols: art dropped on a symbol with Alt+Shift redefines it and stays as it was
2026-12-01 09:47:19 -08:00
.CooCoo fd24af05d7 Merge pull request #10118 from dotCooCoo/fix/layer-options-key
MCP: dialog params texts name the keys ui.inspect reports
2026-12-01 09:47:10 -08:00
BFlat fcfdb51030 Merge pull request #9228 from ruchirguitar/fix/ai-locked-items-9176
Fix locked items and groups import from Adobe Illustrator files (#9176)
2026-12-02 00:27:00 +07:00
ruchirguitar 2604dab38a Copy a fallback layer lock only between layers that share a name (#9176)
A PDF part without layers comes in on one layer named for its page. When
the editing data is set aside (a stale copy of another page size, say),
pairing that layer with the editing data's one layer locked art nothing
ties to it. Layers now take locks only by a name unique on both sides.
2026-12-01 22:01:26 +05:30
BFlat 7b5b960f33 Merge pull request #10456 from ruchirguitar/preflight-finding-menu
Preflight: add finding row context menus
2026-12-01 22:40:58 +07:00
dotCooCoo 77e37176e2 xtask: test-lint no longer reports helper, diagnostic and fixed-size false alarms
no-assertion:
- A call in a top-level test reaches the helper its own file defines. A
  non-asserting helper of the same name in another file of the crate no
  longer hides it (several_handles.rs `near` beside affinity_features.rs).
  Names the file also calls with a path, and definitions below the file's
  top level, keep the crate's verdict.
- An `#[ignore = "reason"]` test that prints is a diagnostic and needs no
  assertion.
- An asserting function passed by name as a value
  (`keeping_color_settings(the_body)`) counts as the test's check, also
  through a helper that passes it, unless a local binding or parameter
  shadows the name.

all-unguarded:
- A parenthesized range of literals or constants, `(0..3).all(...)`.
- A receiver whose source an earlier `assert_eq!` compares with a
  non-empty literal: a local collected from the receiver, or a call on the
  same local the receiver was made from, when nothing changes the source
  in between.
- A call to a function of the file that lists a constant table and
  filters it only on parameters that are not references.

On the whole tree, `cargo xtask test-lint --all` reports 96 no-assertion
hits instead of 157 and 375 all-unguarded hits instead of 419.
2026-12-01 07:40:34 -08:00
.CooCoo bfca450f2a Merge pull request #10371 from dotCooCoo/fix/census-tests-representative
Tests: Color Effects history names check two adjustments in two languages
2026-12-01 07:37:17 -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
.CooCoo 7399ed20a6 Merge pull request #10443 from dotCooCoo/fix/test-tolerances-geom
Tests: tighten loose tolerances in geom, pathops, trace and three-d
2026-12-01 07:11:08 -08:00
.CooCoo 707aa4a3b6 Merge pull request #10378 from dotCooCoo/fix/cursor-scale-with-ui
Cursors: tool cursors keep their size under UI Scaling unless Scale Cursor Proportional to UI is on
2026-12-01 07:07:04 -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
.CooCoo b61bfc7212 Merge pull request #10350 from dotCooCoo/fix/properties-double-title
Properties: show No Selection above the Document section instead of a second Document title
2026-12-01 06:54:20 -08:00
.CooCoo dd144f7cab Merge pull request #10440 from dotCooCoo/fix/test-tolerances-text-color
Tests: tighten loose bounds in color and text tests
2026-12-01 06:50:03 -08:00
.CooCoo d1208efe17 Merge pull request #10441 from dotCooCoo/fix/test-baselines-derived
Tests: check Affinity pixels and DXF goldens against the formats
2026-12-01 06:43:53 -08:00
.CooCoo 730e891dd0 Merge pull request #10367 from dotCooCoo/chore/test-lint-census
xtask: test-lint reports census tests
2026-12-01 06:43:03 -08:00
.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
dotCooCoo def951051a Merge main into fix/test-lint-helper-ignore-wrapper-guards 2026-12-01 06:18:42 -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 8a73135d7f Preflight: add finding row context menus 2026-12-01 19:39:01 +05:30
Ruchir a8731bf8ed Canvas: offer Create Outlines for text inside selected groups 2026-12-01 19:31:48 +05:30
yoriswind 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 <44814932+MMexicann@users.noreply.github.com>
Co-authored-by: dotCooCoo <RobertLeeLW@gmail.com>
2026-12-01 14:17:04 +01:00
dotCooCoo b26f833acf Vector Halftone: round and diamond dots stay in their cell
Circle, Ellipse and Diamond dots were sized by their own area and drew
past their cell once they reached its sides. In dark tones neighbors of
different sizes overlapped into notches and slivers where the dots
joined, and even full black left white specks at the cell corners.

These dots are now clipped to their cell and sized so the clipped dot
covers the tone. Neighbors meet along the shared side, and full tone
fills the whole cell. Light tones, where the dot stays inside its cell,
draw as before.
2026-12-01 04:37:05 -08:00
dotCooCoo 889e8eefeb Merge main into fix/test-tolerances-geom 2026-12-01 04:13:05 -08:00
dotCooCoo 4de23f0c95 Tests: census skips helper sources and negated rejection checks
A whole-table loop or .all(…) whose source calls an asserting helper
runs that helper for every entry, so census no longer reports it.
A negated is_ok() or is_some() checks a rejection and is no longer
counted as a presence check; !is_empty() still is.
2026-12-01 04:06:08 -08:00
dotCooCoo 3de055166f Merge main into fix/test-baselines-derived 2026-12-01 04:05:47 -08:00
dotCooCoo adef85f5f0 Merge main into chore/never-run-test-allows 2026-12-01 03:42:46 -08:00
dotCooCoo 44c8e34513 xtask: test-lint review fixes for spans, cfg_attr, shared roots and bindings
- A negated .contains(...) check forbids a value and is no longer
  treated as a presence check; !items.is_empty() still is.
- reads-source matches the last path literal of a read_to_string
  argument, and its span runs through the argument's closing paren.
- A for pattern binding shadows an outer let inside the loop body.
- Nested cfg_attr conditions are combined before the inner cfg applies.
- A never-run hit counts edits to the enclosing cfg lines and to the
  test, not to code between them.
- A parent declaration edit counts against a child's test only when
  the test still ran in CI at the base.
- A module loaded by several roots is off only when every root leaves
  it out.
- docs/development.md lists reads-source and never-run as failing rules.
2026-12-01 03:42:46 -08:00
dotCooCoo a75bcbde3d Merge main into chore/test-lint-census 2026-12-01 03:35:41 -08:00
dotCooCoo 543a89edfc Merge main into fix/engine-test-tolerances 2026-12-01 03:35:40 -08:00
dotCooCoo 6a34a994bb xtask: census skips loops with a break and rejections across &&
A break can end a whole-table loop before the last entry, and an unwrap_err() or expect_err() on the other side of an && always runs, so neither is a presence-only census.
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 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