Commit Graph

25808 Commits

Author SHA1 Message Date
dotCooCoo a010cd9ab4 Agents: Preferences saves no agent settings once automation drove the window
When input injected through the control channel reached the open
Preferences window, an edit on AI Integrations (such as a read or write
folder) could reach the draft and be saved later by a person's OK or
Apply, outside the automation roots. That let an agent driving the UI
widen the folders it may open from and save to.

The window now records that automation drove it. While it stays open,
OK and Apply put the agent settings back as they were read and refuse
them with a message; the person changes them in a Preferences window
they open again. An OK or Apply that a control request sends is refused
without touching the draft.
2026-12-04 09:41:48 -08:00
Dylan M. Taylor a9e223e425 Merge pull request #10832 from storytold/docs/freebsd-15-release-requirement
docs: specify the FreeBSD release requirement
2026-12-04 11:23:52 -05:00
.CooCoo ddff0adfbf Merge pull request #10747 from dotCooCoo/feat/live-star-points
Shapes: stars stay live with an editable point count
2026-12-04 08:12:18 -08:00
.CooCoo 851a96629b Merge pull request #10766 from dotCooCoo/fix/test-lint-scope-and-status-parens
xtask: test-lint follows scopes, quoted shell text and casts more exactly
2026-12-04 08:03:48 -08:00
.CooCoo 367af7c286 Merge pull request #10838 from dotCooCoo/fix/main-mcp-tool-schemas-nonempty
Main: guard the tool-name check in tool_schemas_are_valid
2026-12-04 07:49:59 -08:00
dotCooCoo 843d7cb497 Main: guard the tool-name check in tool_schemas_are_valid
#10622 changed the tool-name assertion in crates/mcp/src/tests.rs, and
test-lint's all-unguarded rule failed main's gate on it: the all() check
had no emptiness check that the rule recognizes. The test now asserts
that tools are defined and that each name is non-empty on its own, then
checks the name's length and characters.
2026-12-04 07:49:41 -08:00
.CooCoo 24151dfe33 Merge pull request #5911 from ruchirguitar/feat/5547-show-missing-links
Show missing-link markers on the canvas
2026-12-04 07:13:51 -08:00
.CooCoo a9ba1b3134 Merge pull request #10742 from dotCooCoo/fix/live-corners-anchor-edits
Live Corners: corners stay live after anchor moves
2026-12-04 07:12:48 -08:00
.CooCoo ef168fad05 Merge pull request #10665 from dotCooCoo/fix/remove-all-empty-compound-mask
Scripts: pathItems.removeAll cannot empty a compound path that clips other art
2026-12-04 06:56:17 -08:00
.CooCoo 599eb51d45 Merge pull request #10700 from dotCooCoo/fix/script-paths-locked-layer
Scripts: new paths skip a locked or hidden active layer
2026-12-04 06:56:13 -08:00
dotCooCoo 3451c7a0a8 xtask: test-lint takes a saved bound only from a saved length
A local saved from `xs.len()` or `xs.iter().count()` gives the number
compared with it as the item count. One saved from an item or a flag
(`xs.first().copied().unwrap_or(0)`) shows at least one item, whatever
it is compared with.
2026-12-04 06:51:26 -08:00
dotCooCoo 69eae94826 Shapes: a star's stored settings read back with up to 2000 corners
A star with a radius on each corner stores its corner list in its
shape settings entry. A 1000-point star's entry is longer than the
4,096-byte read limit, so it was dropped on read and the star lost its
pie angles and arc mode on the next edit. The limit is now 128 KiB,
which holds the longest entry a 1000-point star can write.
2026-12-04 06:44:59 -08:00
dotCooCoo 35cff28a2e Merge main into fix/test-lint-scope-and-status-parens 2026-12-04 06:37:27 -08:00
dotCooCoo 31f86b52b5 xtask: test-lint follows redirects, closure uses and saved counts exactly
Workflow environment scan:
- A command whose standard output is redirected
  (`echo "N=x" >/dev/null |& tee -a "$GITHUB_ENV"`) does not set the
  variable; the same pipeline without the redirect still does.
- `env` reads assignments only before its child command, so
  `env printf '%s' "N=x"` passes the word to `printf`.
- A line break after `|` or `|&` continues the pipeline.
- A line continuation inside a name (`MY_\` and `SAMPLES=x` on the
  next line) is removed before names are read; single-quoted text is
  kept as it is.

Test reads:
- Closure names are read past the 1 KiB decode window and with
  combining marks.
- A unary `-` or `!` stays inside a cast's operand (`-Kind::A as i8`).
- A closure called only from a closure that never runs is not run;
  statements are judged last first against the code kept so far.
- An async closure's future passed to `drop` or `std::mem::drop` is not
  polled.
- `fallback(xs).len()` is a size check of the call's result, not of
  `xs`; `(xs).len() == 2` keeps its exact bound.
- An index shows `k + 1` items (`xs[0]` does not guard
  `xs.windows(2)`), and an index after the assertion counts only while
  nothing in between changes the collection.
- Turbofish arguments neither end a selector closure nor count as
  selector locals.
- A count through `by_ref()` consumes its source.
- A saved count (`let n = xs.len()`) guards only `xs`, with its compared
  bound.
- `(status.success() && dest.exists()) == true` is not status-only.
- Brackets inside const arguments are skipped when tracking open
  generic lists, so a shift after them stays visible.
- Every grouping layer around a constructor is unwrapped before a field
  is read.
- A raw identifier (`r#loop`) does not open an iterator block.
2026-12-04 06:37:21 -08:00
aiongg f6f8b0c221 Merge pull request #10634 from davidmann4/packaging/macos-cli-in-app
packaging(macos): ship vectorcraft-cli inside VectorCraft.app
2026-12-04 09:24:53 -05:00
aiongg fb2415818c Merge pull request #10622 from davidmann4/feat/agents-open-window
feat(automation): agents in the open window through the ArtCraft Launcher's switch
2026-12-04 09:24:30 -05:00
Dylan M. Taylor 1b59dcb3ac docs: specify the FreeBSD release requirement 2026-12-04 09:11:23 -05:00
dotCooCoo e92ec08874 Live Corners: a canceled nudge with objects selected whole records no undo step
A nudge that the pixel-grid snap took back still recorded an undo step and
left a rounded live rectangle a live path when an object selected whole
was moved together with direct-selected anchors, because the no-change
check ran only for anchor-only selections. The check now also covers
objects selected whole. The path.moveAnchors params text and the Live
Corners progress entry now state the pixel-grid case as docs/mcp.md does.
2026-12-04 06:07:52 -08:00
dotCooCoo 781daaf0fe Merge main into fix/test-lint-scope-and-status-parens
The conflicts in xtask/src/test_lint.rs keep main's shell command
reader (shell_command, command_word, writes_env_file with its later
redirection check), main's first-item roots, indexed_local and
name_byte/local_name, and this branch's grouped receivers, unused
closure check, status_condition and tuple-literal fields.

The merged scanner also closes these gaps:
- A quoted NAME=value counts only when the setter is the command
  itself, not an argument (`cargo test -- env "NAME=x"`);
  `/usr/bin/env "NAME=x" cargo test` still counts.
- Bash `|&` continues the pipeline, and the environment-file writer is
  the command after the last pipe outside quotes, so
  `tee 'backup|copy' "$GITHUB_ENV"` is found. `>|` redirects like `>`.
- A backslash-newline continuation leaves the word state as it was, so
  a `#` after `true; \` and a line break starts a comment.
- name_at reads past whitespace longer than 1 KiB, such as a long
  masked comment before a binding or nested fn name.
- An indexed item, or an iterator taken from it (`rows[1].by_ref()`),
  that is the `.all()` receiver in the assertion does not guard it.
- A selector after a closure (`r.items(|i| i > 0, i)`) is tracked:
  closure parameters are hidden only inside the closure's body.
  Non-ASCII selector locals (`café`) are tracked through the mutation
  check.
- A count produced by draining its source (`xs.drain(..).count()`)
  guards nothing.
- The type of a qualified path in a loop iterator
  (`<Producer as Make<{ 1 + 1 }>>::items()`) is not taken as the loop
  body.
2026-12-04 05:59:34 -08:00
dotCooCoo 177d0c6700 Shapes: a whole star stays live whatever its pie angles hold
A whole star draws every point, so its pie angles no longer stop it
from being stored as a live star. Angles configured on any whole shape
are stored with it, so a later arc mode change uses them.

A corner list longer than the old corner count drops its entries past
the last corner before it is spread, so the corners a new point or
side count adds are sharp and keep the default kind.
2026-12-04 05:56:09 -08:00
.CooCoo b36fbc76bd Merge pull request #10756 from dotCooCoo/fix/test-lint-port-review-fixes
xtask: test-lint reads paths, fields, run scripts and user values more exactly
2026-12-04 05:05:56 -08:00
.CooCoo 4e811a22ec Merge pull request #10820 from dotCooCoo/fix/new-document-name-label
New Document: the name field reads Document Name
2026-12-04 04:56:36 -08:00
dotCooCoo fcd52a13de Merge main into fix/test-lint-port-review-fixes 2026-12-04 04:33:59 -08:00
dotCooCoo 5c09bd17ca xtask: test-lint keeps changed lines, redirects and guards to their own construct
- Only a hunk that removes blank lines and line comments reaches past
  the next line to the code after it, so deleting an import before an
  unchanged test no longer marks that test as changed.
- A replacement hunk that removes a skip comment inside a test also
  marks the code after it, so the `return` the comment explained counts
  as changed.
- A folded `run: >2-` block uses its indentation indicator as the
  content indentation.
- An assignment right after `&&`, `|`, `;` or `(` with no space before
  it (`true&&NAME=x cargo test`) is read as one.
- Only a redirection of standard output (`>>`, `1>>`, `&>>`) to
  `$GITHUB_ENV` writes the printed assignment; `2>>` does not.
- A redirection after `;`, `&&`, `&` or a line break belongs to the next
  command and does not replace the write to the environment file.
- A size check joined to an `.all(...)` by `||` does not guard it.
- A numeric index or a first-item unwrap guards only an `.all(...)` over
  the local it reads (`expected[1]` does not guard `actual.iter()`).
- A field of a tuple literal (`let pair = (5, Kind::A); pair.1`) resolves
  to its element, as a field of a tuple struct does.
2026-12-04 04:33:59 -08:00
dotCooCoo 65beb2a7d1 Merge main into fix/new-document-name-label 2026-12-04 03:26:43 -08:00
dotCooCoo 626369bff3 New Document: the name field reads Document Name
The framework names New Document's name field plain Name. While the
dialog is open, the window's shell now shows its dialogs under a words
overlay that names the field Document Name, as it already retitles the
Print dialog. dialogs::shell_words combines both overlays.

This is temporary: storytold/craft-libs#5291 renames the field in the
pattern and also gives Save Document Preset its save icon, which the
pinned framework does not let VectorCraft change. The pin bump that
takes #5291 removes the overlay.
2026-12-04 03:26:32 -08:00
.CooCoo 4c7aeff19a Merge pull request #10810 from dotCooCoo/fix/new-document-recent-heading
New Document: Recent is headed as recent items and Saved is the second tab
2026-12-04 03:19:39 -08:00
.CooCoo a2f75d916f Merge pull request #10813 from dotCooCoo/fix/new-document-recent-units
New Document: Recent entries of one size keep their own units
2026-12-04 03:10:30 -08:00
dotCooCoo 5b1c3577f1 Merge main into fix/test-lint-port-review-fixes 2026-12-04 02:59:06 -08:00
dotCooCoo c0568c15e7 xtask: test-lint reads folded run blocks, later redirects and indexed clones exactly
- A deletion's changed range runs past lines that hold only a block
  comment, so a return after `/* spacer */` still counts as changed.
- A `run: >` block is folded as YAML folds it before its assignments are
  read, and a `run:` block ends at the first line indented no deeper than
  the `run` key, so a sibling `env:` key is read as a mapping.
- A later redirection of standard output (`>> "$GITHUB_ENV" > setup.log`)
  replaces the write to the environment file.
- A strict length bound past `usize::MAX` guards no `.all(...)` and no
  longer overflows.
- An element indexed out of a local with a non-ASCII name, or out of a
  nested container, holds the element's user value for `.clone()`.
2026-12-04 02:59:06 -08:00
dotCooCoo cc13d6abee xtask: test-lint closes thirteen scanner gaps in workflow and test reads
Workflow environment scan:
- A quoted `NAME=value` counts as an assignment only after a command
  that sets variables (`export`, `declare`, `env`, `/usr/bin/env` and
  similar) or in a pipeline that writes `$GITHUB_ENV`, not as an
  argument such as `cargo test -- "NAME=x"`.
- Bash `|&` is one pipe, so `echo "NAME=x" |& tee -a "$GITHUB_ENV"`
  writes the environment file.
- A `#` after an escaped space (`a\ #b`) stays in its word and does not
  start a comment.

Test reads:
- `split_args` does not close generic arguments at a `->` arrow.
- Binding names and nested `fn` names read non-ASCII letters
  (`_vérifier`), so an uncalled closure or nested function is excluded.
- A grouped size receiver (`(xs).len()`) is checked for later shrinking.
- An indexed item that is the direct `.all()` receiver
  (`rows[1].all(..)`) does not guard that assertion; an earlier access
  still shows the collection has items.
- Selector locals before a bitwise `|` are tracked; closure parameters
  are excluded by their parameter list and scope, and the scan no
  longer slices inside a non-ASCII character.
- A count whose initializer shrinks its source after the size read
  (`xs.len() + { xs.clear(); 0 }`) guards nothing.
- `&&status.success()` is a double borrow, not a conjunction.
- Generic tuple constructors (`Pair::<Input>(..)`) resolve their fields.
- A braced const argument in a loop iterator's turbofish is not taken as
  the loop body.
2026-12-04 02:55:02 -08:00
FredApps 094d9bb88b Merge pull request #10277 from yoriswind/codex/10161-interface-font-language
Use the interface language for UI font fallback
2026-12-04 11:48:40 +01:00
FredApps be3ba1cea7 Merge branch 'main' into codex/10161-interface-font-language 2026-12-04 11:12:18 +01:00
FredApps cde182e959 Merge pull request #10015 from yoriswind/codex/10008-native-composite-adoption
Keep composite fonts when placing native artwork
2026-12-04 11:05:15 +01:00
dotCooCoo fc5bd2fa11 New Document: Recent is headed as recent items and Saved is the second tab
On the Recent tab the heading read "Blank Document Presets (n)", the
same as the preset categories, and Saved was the last tab, after every
category. Before the move to the shared dialog, Recent had its own
heading and Saved came right after it.

The dialog now turns on the shared dialog's recent_items and
saved_after_recent options: Recent reads "Your Recent Items (n)" over
four cards to a row, and the tabs read Recent, Saved, then the
categories.
2026-12-04 02:04:36 -08:00
FredApps 492ee7f9d8 Merge pull request #10566 from ruchirguitar/feat/gujarati-web-ui
Web: Gujarati can be chosen as the interface language
2026-12-04 11:03:09 +01:00
FredApps 217af0b77f Merge pull request #10489 from Terra854/fix/ai-dash-compatibility-10476
fix(ai): normalize and outline incompatible dash patterns
2026-12-04 11:02:21 +01:00
dotCooCoo ef100737d1 Merge main into fix/new-document-recent-units 2026-12-04 01:59:15 -08:00
dotCooCoo 2df4265f43 New Document: Recent entries of one size keep their own units
Recent keeps one entry per size and units, so an A4 made in pixels and an
A4 made in millimeters are two entries. The Recent cards decided which
entry the Preset Details fields came from by name, width and height only,
so every entry of that size showed the units chosen in Preset Details and
the two cards looked the same.

The settings now keep the units of the card or entry they were filled
from, and only the entry in those units shows the chosen units. The
other entries show their own. The dialog's fields list them as
basedOnUnits next to basedOn, so a set from outside the dialog keeps
them; editing any field but the units or the orientation in Preset
Details clears them, and the cards then match the entry in the units
shown.
2026-12-04 01:59:15 -08:00
dotCooCoo f177f37219 Merge main into fix/test-lint-port-review-fixes 2026-12-04 01:51:40 -08:00
dotCooCoo 53c7350eb4 xtask: test-lint reads run blocks, command names and guarded views more exactly
- A deleted line that can change a test also marks the blank lines after
  it up to the next line of code, so a `return` that a deleted skip
  comment leaves after blank lines counts as changed.
- A literal `run: |` block is read as one script, so a `{ ... }` group
  that spans lines keeps its redirection to `$GITHUB_ENV`.
- An unquoted `NAME=value` word counts only before the command name or
  for a command that reads it as an assignment, so
  `grep NAME=value file` sets nothing.
- The print exemption reads the command name (`echo`, `printf`) instead
  of any earlier word, and a write to `$GITHUB_ENV` needs a redirection
  or a `tee`, `Out-File`, `Add-Content` or `Set-Content` that takes it as
  its output file. `echo "NAME=x" "$GITHUB_ENV"` only prints.
- A discarded tuple (`let _ = (|| (), { ... });`) is not unwrapped like
  grouping parentheses, so its evaluated elements still count.
- A size check guards only the `.all(...)` views over the same local,
  and inside one assertion only while nothing between the read and the
  `.all(...)` changes the local.
- An index no longer guards full chunks of the indexed item
  (`rows[1].as_chunks::<2>().0`): the chain walk follows turbofish
  arguments.
- Selector locals and indexed locals may have names with no ASCII
  letters (`选`, `数`).
- `all_needs_a_non_empty_guard` is split in two and the size-check tuple
  has a type alias, so clippy passes.
2026-12-04 01:51:40 -08:00
.CooCoo 780199ad43 Merge pull request #10765 from dotCooCoo/fix/print-dialog-title-print
Print: the File › Print dialog is titled Print
2026-12-04 01:44:56 -08:00
.CooCoo 154d5f6eaf Merge pull request #10760 from dotCooCoo/fix/home-recent-files-heading
Home: head the recent files "Recent Files"
2026-12-04 01:33:50 -08:00
FredApps 6f6a6d4e20 Merge branch 'main' into codex/10008-native-composite-adoption 2026-12-04 10:31:44 +01:00
FredApps 44ffd596e8 Merge branch 'main' into feat/gujarati-web-ui 2026-12-04 10:28:06 +01:00
FredApps 440f672c1c Merge branch 'main' into fix/ai-dash-compatibility-10476 2026-12-04 10:28:06 +01:00
.CooCoo 3613c7f657 Merge pull request #10781 from dotCooCoo/fix/direct-select-ctrl-handle-mirror
Direct Selection: Ctrl held before pressing a handle mirrors the opposite handle
2026-12-04 01:17:57 -08:00
ruchirguitar f29fe10c32 Retype: add a context menu to matching-font rows (#10594)
* Retype: add a context menu to matching-font rows

A secondary click, or Shift+F10 on the focused row, selects a font row in
the Retype panel without setting its font and opens a menu with Apply Font
(what a click on the row does; off without live text selected), the panel
menu's sample sizes and Reset Retype Panel. The menu closes when the list
or the document changes (G12).

* Rerun CI: the apt package download failed in a test shard's setup

---------

Co-authored-by: ruchirguitar <info@jeevantirth.org>
Co-authored-by: FredApps <153173854+FredApps@users.noreply.github.com>
2026-12-04 10:11:49 +01:00
dotCooCoo 9c8f31344a xtask: test-lint reads grouped values, later checks and non-ASCII names more exactly
- A closure or async block bound to `_` inside parentheses
  (`let _ = (|| { … });`) is dropped unrun; `(|| { … })()` still runs.
- A length check after an `.all(…)` assertion guards it only when no code
  between them changes the local's item count (`xs.push(1)` included).
- A strict bound (`xs.len() > 1`, `1 < xs.len()`) gives one item more
  than its count, so `.windows(2)` after `> 1` is guarded.
- An index into the outer collection no longer guards `.all(…)` over an
  item read through `.iter_mut()`, `.windows(…)`, `.chunks(…)` or
  `.chunks_exact(…)`.
- A grouped argument (`std::mem::take((xs))`) is found as a call that can
  change a `&mut` local; `(xs).len()` stays a read.
- A nested `fn` with a non-ASCII name is skipped by the polling scan.
- A non-ASCII container local is followed to its initializer when deciding
  whether a conversion can test a user value.
- A `cfg` attribute covers a function whose return type holds `;`
  (`-> Result<(), [u8; 2]>`), so `never-run` reports it.
- The test repository directory comes from `tempfile`, created for the
  test alone.
2026-12-04 01:07:44 -08:00
dotCooCoo b3f5c22633 Shapes: a live star keeps a small ratio and its corners through edits
A live star whose ratio is below 0.01, which object.setLiveShape takes,
lost its inner radius and its live shape when addon.shapes.configure
changed another value: the stored ratio was clamped to 0.01 when the
star was drawn and no longer counted as live. Any ratio from 0 to 1 now
draws and stays live as it is.

A corner list shorter than the star's or polygon's corners counted as
one shared radius, so a new point or side count gave the missing corners
the first corner's radius. The missing corners now stay sharp.

A ratio that changes which corners a rounded star cuts is now an error
with radius or kind in the same call, as points is, since the corners
selected before it no longer name the same corners. The anchor selection
is dropped by the same check.
2026-12-04 01:01:51 -08:00