Commit Graph
18627 Commits
Author SHA1 Message Date
Codex 5e949edfad Preserve the degree symbol in the cursor documentation 2026-11-30 14:28:30 +01:00
Codex 41e5e75071 Count the selected-art pointer in the cursor catalog 2026-11-30 14:28:01 +01:00
Codex b41f294411 Keep large PDF previews and confirmed page imports off the desktop UI thread 2026-11-30 14:28:00 +01:00
Codex 6cd4975e0c Restore white artboards in Outline and the selection arrow over selected art 2026-11-30 14:27:58 +01:00
Codex 97fdd3ed8f Anchor Stroke and Opacity panels to the clicked field and remove fade seams 2026-11-30 14:27:55 +01:00
Codex 86a4421090 Size arrowhead selection bounds from the painted outlines 2026-11-30 14:27:55 +01:00
Codex 567eacdc5b Exercise playback using the active source artboard at copy time 2026-11-30 14:27:54 +01:00
Codex 78b65a3e1a Measure copied art from the active source artboard for Paste in Place 2026-11-30 14:27:54 +01:00
Codex 15cc4314a6 Format the font preview regression test 2026-11-30 14:27:54 +01:00
Codex b512b87692 Commit hovered font rows and avoid native clock calls in web character controls 2026-11-30 14:27:54 +01:00
Codex a08603416a Format the import budget check 2026-11-30 14:27:54 +01:00
Codex 3ee703df32 Bound text-object joins within the import comparison budget 2026-11-30 14:27:54 +01:00
jmvergesandClaude Opus 5.5 65bcf34192 .ai import: a word the page draws from two text objects in a row is their type
Where the text document makes the type of every text object that shows,
each piece of the page's type is matched with the made type that holds
it, and a word of the piece is that type's when its spelling contains
the word. The page can draw two text objects as one word: a word and a
letter set apart from it (a swash "h" after "Spirit") come out of the
page as one piece, "Spirith". Both text objects hold the piece, but
neither spells the word, so it was counted as type with no text object,
with the note "some of the page's type has no text object in the
layers, so it is left out" (a loss, so `convert` wouldn't write over the
file), though both text objects come in and draw it.

A word still left is now the type of the text objects holding the piece
when it is the last word of one of them joined to the first word of
another that draws after it along the first one's lines. Each part is a
whole word of its text object, so bits of words don't make up a piece,
and the two the other way round don't make the word.

In our garment files (used locally, never committed) this takes the
note off one file of 424 and changes nothing else.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 14:27:54 +01:00
Codex 1f16d6d36d Leave the artwork visible while previewing a transform 2026-11-30 14:18:30 +01:00
Codex ce37543513 Preview plug-in parameter edits from the visible dialog controls 2026-11-30 14:02:13 +01:00
Codex 0e6f90cb3f Keep all drawing modes inside the double-column toolbar 2026-11-30 12:50:24 +01:00
Codex adece8e918 Finish Hand panning before switching to a pen eraser 2026-11-30 12:50:23 +01:00
Codex f4e2f5f4c6 Honor pre-refactor window preferences and preserve Hand placement clicks 2026-11-30 12:16:43 +01:00
Codex fbf3a28cac Restore the main window on startup and enlarge tool rail icons 2026-11-30 12:10:16 +01:00
Codex 57c820e394 Count the selected Hand gesture when H is held 2026-11-30 12:10:16 +01:00
Codex 1b1dc76f7d Restore native save dialogs, selected Hand panning and font list space 2026-11-30 11:32:52 +01:00
.CooCoo 9bbc3950e1 Merge pull request #10094 from dotCooCoo/ci/warnings-G1
Engine: end_folder no longer warns about unused s and turn on wasm32
2026-11-29 09:51:35 -08:00
dotCooCoo 91e4c6fbce Engine: end_folder no longer warns about unused s and turn on wasm32
end_folder uses its Session and StoreTurn only in the native arm that
finishes loaded modules and saves the disabled list. The wasm32 build has
no such arm, so rustc reported both parameters as unused there. The
function now marks them used under cfg(target_arch = "wasm32"), as
install_folder above it already does.

cargo check -p vectorcraft-engine --target wasm32-unknown-unknown:
2 warnings in vectorcraft-engine before, 0 after. The manifest and patch
warnings it also prints are unchanged.
2026-11-29 09:10:51 -08:00
.CooCoo 619a6e5ed1 Merge pull request #10071 from dotCooCoo/fix/symbol-options-unchanged-undo
Symbols: Symbol Options and Replace Symbol that change nothing add no undo step
2026-11-29 09:10:19 -08:00
.CooCoo c7e9e4c673 Merge pull request #10068 from dotCooCoo/fix/scale-numberfield-landed-test
Import PDF: a page number the Page field refuses goes back to the shown page
2026-11-29 09:10:03 -08:00
.CooCoo 963c6001ca Merge pull request #10064 from dotCooCoo/fix/number-text-row-commit-tests
Graph Type: test that typed numbers and text reach the draft only on commit
2026-11-29 09:09:47 -08:00
.CooCoo aaf7230372 Merge pull request #10059 from dotCooCoo/fix/refused-ok-keeps-draft
Slices: a refused OK keeps Slice Options and Divide Slices open with what was typed
2026-11-29 09:09:30 -08:00
.CooCoo b6e8af8817 Merge pull request #10058 from dotCooCoo/fix/artboards-numberfield-commit-test
New Document: a test checks that a typed Artboards count keeps the preset until committed
2026-11-29 09:09:14 -08:00
.CooCoo c6695df569 Merge pull request #10057 from dotCooCoo/fix/escape-tests-cancel-path
Tool options: tests cover a canceled field edit that keeps the dialog open
2026-11-29 09:08:58 -08:00
.CooCoo a6fdce3c51 Merge pull request #10055 from dotCooCoo/fix/bristle-direction-commit-tests
Brush Options: test that a canceled Bristle slider drag leaves the brush as it was
2026-11-29 09:08:41 -08:00
.CooCoo 45150cf4ed Merge pull request #10054 from dotCooCoo/fix/arrange-sibling-dialog-tests
Arrange: tests cover the settings chosen in Replace with Top Object and Sort Objects
2026-11-29 09:08:25 -08:00
.CooCoo 5f7add2106 Merge pull request #10053 from dotCooCoo/fix/freehand-fidelity-commit
UI: Fidelity applies only once committed in freehand Tool Options and the Contextual Task Bar
2026-11-29 09:08:08 -08:00
.CooCoo e21b9202e9 Merge pull request #10048 from dotCooCoo/fix/transparency-info-values
Transparency: transparency.info reports the selected symbol part that transparency.set edits
2026-11-29 09:07:52 -08:00
.CooCoo 3ffd486d5f Merge pull request #10063 from dotCooCoo/fix/appearance-narrow-paint-labels
Appearance: a narrow group shows the Stroke and Fill labels whole
2026-11-29 09:07:36 -08:00
.CooCoo 033a829995 Merge pull request #10062 from dotCooCoo/fix/export-screens-artboard-list
Export for Screens: the items sit in a framed view, and checked items show selected
2026-11-29 09:07:20 -08:00
.CooCoo 006efe0e91 Merge pull request #10061 from dotCooCoo/fix/panel-menu-command-names
Panels: menu rows show their names instead of command ids
2026-11-29 09:07:03 -08:00
.CooCoo 778e9cea99 Merge pull request #10051 from dotCooCoo/fix/links-panel-row-thumbnails
Links: rows of images on layers show their thumbnails
2026-11-29 09:06:47 -08:00
.CooCoo 0fe52b0a19 Merge pull request #10050 from dotCooCoo/fix/pathfinder-disabled-shape-modes-dim
Pathfinder: Shape Modes buttons dim while they are off
2026-11-29 09:06:31 -08:00
FredApps a9c926ba84 Merge branch 'main' into fix/craft-libs-869c970 2026-11-29 16:35:33 +01:00
dotCooCoo 6ef6df3407 Scripts: round artboard rows as main's New Document test expects, and drop pathItems= from the host table
Cause of the CI failures on 212090fd7a:
- main's dialogs::new_document test a_presets_rows_reach_the_document_create_makes
  sets artboardLayout.rows to 3.6 and expects 4, but this branch refused a
  rows value that was not a whole number. rows now rounds like columns and is
  still refused outside 1 to 1000.
- script_host_vs_scriptcheck listed Document.prototype.pathItems=, the
  setter of main's placeholder. This branch makes pathItems a read-only
  collection, like pageItems, so the row goes.
2026-11-29 06:45:32 -08:00
dotCooCoo fa1c0a8dc4 Tests: read retained paint chunks in every ui-egui shape walk
The pinned egui replays a region that did not change as one
Shape::PaintChunk of clipped shapes. Test helpers that walked
out.shapes by hand stopped at the chunk, so text, meshes, rects and
lines painted inside it were missed.

- Add painted_shapes and flat_painted_shapes next to text_shapes in
  tests/labels.rs. They open Shape::Vec and Shape::PaintChunk in paint
  order and compose each shape's transform and clip the same way.
- Route every remaining hand-written text and shape walk in the
  ui-egui tests through text_shapes or these helpers, keeping each
  test's assertions and its first-painted or last-painted order.
- panel_readout_copy: the Link Info Name check called the removed
  text_shape helper and did not compile; it now reads visible_paint.
  Format the file.
2026-11-29 06:01:24 -08:00
dotCooCoo 7a71837dea Scripts: keep new-art defaults and direct selections through path edits
- PathPoint.remove() renumbers the direct-selected anchors and segments
  after the removed point, and drops the removed anchor and the selected
  segments it ended, through selection commands after the points are
  written. A removed anchor no longer stays selected, and the same index
  no longer selects a different point.
- pathItems.add() reads new art's paint after the target document is
  active, so a path added to a document in the back keeps the stroke
  that document's selection gives new art.
- Paths a script draws put new art's paint back afterwards, so a
  defaultStrokeWidth the script set applies to every path it draws, not
  only the first.
- appearance.setNewArt refuses a fill or stroke paint with a setting a
  paint does not take, such as opacity, instead of applying the rest.
2026-11-29 05:51:46 -08:00
FredApps 98a8cda027 Track retained paint in VectorCraft menu and readout tests
Keep the existing pointer and text expectations on composed paint output. Preserve paint order and apply the retained transforms and clipping when finding drawn controls.
2026-11-29 14:25:08 +01:00
dotCooCoo dd93247cbf Scripts: tests index page items topmost first and check the preset fallback
Cause of the script_dom and script_dom_paths failures: main's 9872e6b679
("page items report their own members, and lists start with the topmost
object") made pageItems, pathItems and the selection list art topmost first.
The branch's tests still indexed the objects bottom first, so pageItems[1]
and pathItems[0] named the other object. The tests now make the objects in
the order the lists read them, and index them topmost first.

The own-members test asked about rotate, which this branch makes available,
so it now asks about transform, which is not available yet.

The fallback test for addDocument relied on five 1,000,000 pt artboards not
fitting, but a new DocumentPreset puts them in one column. It now unsets the
layout so the built-in preset puts them in one row, and the test fails when
addDocument falls back to the saved preset of the same name.
2026-11-29 04:41:14 -08:00
FredApps 267b55bfa5 Read retained paint chunks in UI label tests
Collect painted swatch labels from retained paint chunks as well as flat shapes. Keep the localized-label and physical pointer assertions unchanged in scope.
2026-11-29 13:40:19 +01:00
dotCooCoo 951e552a76 Symbols: Symbol Options and Replace Symbol that change nothing add no undo step
symbol.options recorded an undo step and moved the revision whenever any
option was passed, unless only alignToPixelGrid was given with the value
the symbol already had. A newName equal to the current name, or a
registration, export type, 9-slice, type or pixel grid value the symbol
already has, now leaves the document and its undo history as they are.

symbol.replace with the symbol the instances already show recorded an
undo step too. It now records one only when an instance changes.

Both run through colorcmds::edit_if_changed, as the Symbol Shifter and
the other symbolism tools do.
2026-11-29 02:43:57 -08:00
dotCooCoo ad0330f359 Merge main into fix/craft-libs-869c970 2026-11-29 02:37:56 -08:00
dotCooCoo 5ce0ab2e0d Tests: Save Options radio test measures the check box with its label
The check box and the text of its label are two accessibility nodes with the same name. The test now takes the bounds of every node so named on the same line, so it measures the gap from the check box row and not from its label text.
2026-11-29 02:37:49 -08:00
dotCooCoo 85d7248548 Window: Tab reads Standard Screen Mode's hidden chrome
In Standard Screen Mode the shell records Tab's hide as the chrome hidden, not as everything hidden. The Tab command and the tool lookup read only the second, so a second Tab hid again instead of showing the panels. Both now use panel_docking::tab_hidden.
2026-11-29 02:37:49 -08:00
dotCooCoo 7d9cd73f5f Toolbars: Rename Button works on a button whose command is dimmed
A context menu owned by a disabled button takes no clicks with the current craft-libs, so Rename Button... on a dimmed button opened no dialog. The row around the button now owns the menu, and a right click on the button opens it.
2026-11-29 02:37:49 -08:00