Commit Graph
11491 Commits
Author SHA1 Message Date
.CooCoo d100d66a06 Merge pull request #10250 from dotCooCoo/fix/retype-period-font-order
Retype: glyphs drawn alike in several fonts count as one outline in near matching
2026-12-02 02:22:02 -08:00
.CooCoo fc0b5321f4 Merge pull request #10425 from dotCooCoo/chore/never-run-test-allows
xtask: test-lint catches tests a removed module route compiles out, and narrows two false alarms
2026-12-02 02:12:33 -08:00
.CooCoo d753c48d2e Merge pull request #10483 from dotCooCoo/fix/windows-evalfile-uri
Scripts: $.evalFile reads the URI paths File.parent gives, on Windows too
2026-12-02 02:02:31 -08:00
.CooCoo 907db2002f Merge pull request #10487 from dotCooCoo/fix/mark-bounds-tiny-objects
Arrange Tools: Mark Bounds of Each draws no empty group for an object too small for corner legs
2026-12-02 02:02:23 -08:00
dotCooCoo b65de1d729 Merge main into chore/never-run-test-allows 2026-12-02 01:21:47 -08:00
.CooCoo 0c6aaa074d Merge pull request #10448 from dotCooCoo/fix/make-numbers-sequence
Type Tools: Make Numbers Sequence numbers the selected type objects
2026-12-02 01:10:32 -08:00
dotCooCoo 9b40798f6a Merge main into fix/retype-period-font-order 2026-12-02 00:40:20 -08:00
dotCooCoo 8b8e246713 xtask: test-lint keeps the route, suffix and census refinements main lacks
- never-run: in changed mode, a file that a crate target loaded at the
  base and no target loads now counts as compiled out, so removing the
  last `mod` or `#[path]` declaration on the way to it, or deleting the
  only target root that loads it, fails the check for its tests.
- reads-source: an `ends_with(".rs")` check counts only when it picks
  entries from a file listing (an iterator filter or a `for` loop over
  one), or when the function around it reads a file or calls a function
  in the file that does. A suffix check on a generated name in a test
  that reads nothing is not reported.
- census: a helper on the left of an `||` hides the whole-table check on
  the right only when it always runs: not behind an `&&`, and not inside
  one arm of an `if` or `match`.
- docs: unchanged-line `never-run` hits fail the command when the change
  takes away a test's last CI route.
2026-12-01 22:45:04 -08:00
.CooCoo 2f68b49692 Merge pull request #10534 from dotCooCoo/fix/test-lint-platform-only-tests
xtask: test-lint never-run lists tests that build on macOS or Windows without failing
2026-12-01 22:31:34 -08:00
.CooCoo 7387c46666 Merge pull request #10520 from dotCooCoo/fix/ui-egui-outside-panels-tests
Tests: ui-egui tests outside the panels check counts and waits
2026-12-01 22:30:43 -08:00
.CooCoo 95dd368c2c Merge pull request #10188 from dotCooCoo/fix/craft-fonts-pin-main
CI: move the craft-fonts pin to craft-fonts main in every workflow, so builds embed the tab-title face
2026-12-01 22:27:41 -08:00
dotCooCoo 906aa83b6c Merge main into fix/test-lint-platform-only-tests
main replaced Hit's `also` lines with `gates`; the merge keeps `gates`
and adds `report_only` beside it.
2026-12-01 21:41:39 -08:00
BFlat f2f7727305 Merge pull request #10479 from ruchirguitar/feat/color-themes-row-menu
Color Themes: add a context menu to saved theme rows
2026-12-02 11:47:30 +07:00
BFlat 1e8e27fa16 Merge pull request #10481 from ruchirguitar/glyphs-cell-menus
Glyphs: right-click a cell to insert or apply it
2026-12-02 11:47:24 +07:00
BFlat 5ed86c0c45 Merge pull request #10482 from ruchirguitar/feat/resource-library-item-menus
Add item context menus to resource library panels
2026-12-02 11:47:18 +07:00
dotCooCoo b354c29de0 Type: Make Numbers Sequence keeps a seeded order and its doc line names skipped objects
A new test runs the same eight objects with seed 11, an end and
removeUnused in two fresh sessions and checks that each object gets the
same number and the same objects are removed. The progress doc line says
that in numbers and placeholder modes objects without a match are
skipped before ordering, so they take no number and are never deleted,
and that only a run that changes the document makes an undo step.
2026-12-01 20:31:43 -08:00
dotCooCoo f2d6ea0c51 Merge main into fix/make-numbers-sequence 2026-12-01 20:00:19 -08:00
dotCooCoo d1c255fa64 xtask: test-lint never-run lists tests that build on macOS or Windows without failing
never-run failed the check on tests of macOS- or Windows-only code, such
as the touchpad gesture tests in quickpenwheel.rs and the Windows
performance counter tests in vectorcraft-cli's perf.rs. CI cannot build
them on Linux, and they run locally on their platform.

A never-run hit on a test that still builds on macOS (aarch64 or x86_64)
or Windows (x86_64 or aarch64) is now listed with the report-only rules,
and its note says which platform to run it on. A test that no desktop
target builds, such as one gated on target_os = "ios" or
all(windows, unix), still fails the check.
2026-12-01 19:54:14 -08:00
dotCooCoo 6e6a9a6d2f Merge main into fix/craft-fonts-pin-main 2026-12-01 19:29:33 -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 1c1dae2234 Merge main into fix/ui-egui-outside-panels-tests 2026-12-01 17:39:54 -08:00
dotCooCoo 38debaa67e Tests: ui-egui tests outside the panels check counts and waits
- Artboard frame tests assert how many frames are drawn before checking
  each one, so a canvas that draws no frames fails them.
- Find Font's refresh test checks the document's one family and the one
  row it shows instead of checking every row of a list that may be empty.
- The freeform paint chip test also checks an opaque point and the chip's
  size, and the holographic test checks the foil chip's size.
- The background wait tests (Quit, packaging and export made at once)
  open the writer's gate when the UI thread starts waiting, through a
  test-only hook in background::wait_until, instead of after a sleep.
  Each asserts that the wait happened.
- Cancel Open waits for the file to be read before Cancel instead of
  sleeping after it.
- The automation roots test checks that the open keeps the same roots.
- The brightness test reads the saved ids and old labels in place of a
  round trip through its own table.
- Removed every_tool_cursors_hotspot_lies_inside_its_icon_box, which
  every_tool_cursors_hotspot_is_on_its_glyph covers, and
  message_dump_lists_the_reported_messages and the schema phrase loop,
  which held by construction.
- dump_source_strings is ignored with a reason; the translator commands
  in docs/development.md pass --ignored.
2026-12-01 17:39:41 -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
FredApps c3d4cd7444 Merge branch 'main' into feat/arabic-language-support 2026-12-02 01:08:16 +01: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 aa557da659 Merge pull request #8808 from dotCooCoo/feat/quick-pen-scroll-arc
Quick Pen: Ctrl+wheel over the canvas changes the arc size
2026-12-01 14:57:33 -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
.CooCoo 0667ef8644 Merge pull request #10421 from dotCooCoo/chore/test-lint-rules
xtask: test-lint reports mirror, constant-echo, fixture-only, never-run and exact-pixel tests
2026-12-01 14:01:51 -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
dotCooCoo 7097913724 Docs: $.evalFile tries the path as written before its URI forms
The parity entry now says the path as written is read first, and the
decoded URI forms are tried only when it is missing, fails to read or is
refused. A file over the size limit stops the lookup.
2026-12-01 09:58:35 -08:00
dotCooCoo ce596d4f57 Arrange Tools: Mark Bounds of Each draws no empty group for an object too small for corner legs
Each corner leg is at most half the side it runs along. An object wider or
taller than the flat limit but with both half-sides under it got a Corner Marks
group with no paths in it. Such an object now gets no corner marks, and a
selection of only such objects is refused with "nothing to mark: the selection
is too small for corner marks" and no undo step. The Rectangle style still
marks it.

Follows up #10148.
2026-12-01 09:47:43 -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
dotCooCoo c2cf867f1d Type: Make Numbers Sequence leaves locked type and masks alone and replaces signed numbers
Locked or hidden type inside a selected group is no longer numbered or
deleted, and removeUnused keeps a type object that masks a clipping group
or layer and keeps the selection instead of selecting the numbered objects.
In Numbers mode a minus sign that does not follow a letter is part of the
number, and a number or placeholder that already reads the new number keeps
its text and style. Rows and columns are found among the objects that get a
number, with the true median for an even count. A run that would replace
more than 10,000 numbers or placeholders is refused before any text is
built, and a seed that is not a whole number is refused even with shuffle
off. ui.menuDialog lists the dialog, and the progress doc has its line.
2026-12-01 09:46:40 -08:00
dotCooCoo f01f2ce6c0 Fix #10463: $.evalFile reads File URI paths
File.parent gives a folder in URI notation (/c/Users/..., with %20 for a
space). $.evalFile joined that text to the script's folder as written, so
on Windows $.evalFile(File($.fileName).parent + '/more.jsx') looked under
C:\c\Users\... and reported "include file not found".

When an absolute path starting with one / names no file the script may
read, $.evalFile now also tries it with its escapes decoded and, on
Windows, with /c/... as the drive C:. The path as written is still tried
first, and the scope check, the .. refusal and the file limits apply to
every form. Share and device paths are not converted, and #include lines
are read as before.
2026-12-01 09:30:34 -08:00
Ruchir 68a104ba8f Add item context menus to resource library panels 2026-12-01 23:00:18 +05:30
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
dotCooCoo 602d2142e4 Merge main into chore/test-lint-rules 2026-12-01 07:41:47 -08:00
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
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