Commit Graph
12838 Commits
Author SHA1 Message Date
.CooCoo 5ac4a390a9 Merge pull request #10968 from dotCooCoo/feat/color-palette-strip
Swatches: a Swatch Strip panel of one-click color chips that docks along any edge
2026-12-05 14:14:55 -08:00
.CooCoo 29927c6df2 Merge pull request #10975 from dotCooCoo/fix/ci-lint-cache
CI: build the tests without bundled fonts in the build job, not the lint leg
2026-12-05 14:09:21 -08:00
.CooCoo c47b079671 Merge pull request #10964 from dotCooCoo/train/carry10603
i18n: Gujarati status and error messages, and the remaining interface strings (carries #10603)
2026-12-05 11:55:04 -08:00
.CooCoo 3451868b24 Merge pull request #10967 from dotCooCoo/fix/script-picker-document-cmyk
Color Picker: a script's picker shows color in its own document's profiles
2026-12-05 11:34:52 -08:00
.CooCoo c22dc54e54 Merge pull request #10874 from dotCooCoo/feat/open-text-documents
Open: text, RTF and Word files open as a new document
2026-12-05 11:16:01 -08:00
.CooCoo f55d3c6643 Merge pull request #10973 from dotCooCoo/train/carry10920
Stroke: the Profile drop-down ends in Add, Delete and Reset Profiles
2026-12-05 11:14:57 -08:00
.CooCoo 57262ba325 Merge pull request #10588 from ruchirguitar/feat/language-packs-ui
Language packs: a Preferences page to install them and a bar that offers a missing one
2026-12-05 10:55:19 -08:00
dotCooCoo b7604a54e7 CI: build the tests without bundled fonts in the build job, not the lint leg
The lint leg's dependency cache keeps no compiled workspace crates, so on
a pull request `cargo test -p vectorcraft-ui-egui --no-default-features
--test install_fonts` rebuilt every workspace crate without the bundled
fonts: 35 of the lint leg's 60 minutes, and the longest leg of the run.

`cargo xtask ci` splits its no-bundled-fonts step in two. The
`no-bundled-fonts` step (the `cargo tree` checks and the clippy run
without default features) stays in `cargo xtask ci checks`. The new
`no-bundled-fonts-tests` step runs the two tests, and the new
`cargo xtask ci after-archive` runs it after the doctests in the gate's
build job, whose rolling cache entry keeps the workspace crates. The
tests' builds record their units in CRAFT_CACHE_UNITS, so the cache trim
keeps the crates built without the fonts.
2026-12-05 09:53:20 -08:00
dotCooCoo c7e6cd5487 Color Picker: a script's picker uses its document's CMYK profile in RGB documents too
The CMYK fields of a script's picker now convert through the CMYK profile
of the script's document whenever one is given, not only in a CMYK
document, matching the gamut warning. An RGB color opens through the
active RGB profile, which the picker's RGB fields read its channel values
in, so the opening swatch and the fields agree. docs/mcp.md names the
profiles the picker uses.
2026-12-05 09:20:58 -08:00
dotCooCoo 5d69721b42 Open: refuse a truncated RTF file, wait for other dialogs
File > Open refuses an RTF file that ends inside a group as damaged
instead of opening the text read before the end; File > Place still
places that text. Binary data and bytes after the document's closing
brace are skipped, as the reader skips them.

Text Import Options for a file File > Open asks about now waits while
any dialog is open, as Missing Fonts does, so the two never show at
once.

The File > Open filter test uses the extensions and formats this build
reads, so it holds where no DWG decoder is built in.
2026-12-05 09:12:33 -08:00
.CooCoo 71c3002af4 Merge pull request #8817 from Hassan1305/fix-8753-draw-inside-stroke
Draw Inside: keep the object drawn into as the clipping path, with its stroke
2026-12-05 09:11:36 -08:00
dotCooCoo b4c4ca09de Merge main into train/carry10920 2026-12-05 09:07:26 -08:00
dotCooCoo 87e65b90d3 Docs: the Profile drop-down's footer
docs/mcp.md's Width profiles section says which commands the footer's
Add to Profiles, Delete Profile and Reset Profiles run, and the
progress doc gets a line for the footer with its tests.
2026-12-05 09:01:22 -08:00
dotCooCoo 0d2a98eed6 Merge main into train/carry10603 2026-12-05 08:34:13 -08:00
dotCooCoo d660414ef4 Docs: Gujarati counts, the web font prerequisite and the tests that need rows
The Gujarati status notes now give the catalog's real counts: 4,946 `@msg`
rows and 10,890 rows in all, and the revision rows give 4,926 new message
rows. They also say that a web build offers Gujarati only when it is built
with `CRAFT_FONTS_DIR` pointing at a craft-fonts checkout that has Noto Sans
Gujarati; without it `offered_codes` leaves `gu` out on the web.

docs/development.md no longer says a missing translation never fails a test.
It names the four tests that need a row in every complete catalog or every
`COMPLETE_MESSAGES` language.
2026-12-05 08:34:13 -08:00
dotCooCoo 4debbe69be Merge main into feat/color-palette-strip 2026-12-05 08:18:42 -08:00
.CooCoo 72e746543e Merge pull request #10870 from dotCooCoo/fix/dwg-export
DWG: export writes the DXF drawing as DWG 2000 to 2018
2026-12-05 07:49:06 -08:00
.CooCoo 485611102e Merge pull request #10961 from dotCooCoo/fix/preview-place-runs-outside
Plug-ins: a file placed during an add-on preview survives Cancel
2026-12-05 07:39:24 -08:00
.CooCoo 92f88c04a6 Merge pull request #10909 from dotCooCoo/fix/ci-nextest-archive
CI: build the tests once and run every shard from a nextest archive
2026-12-05 07:35:28 -08:00
.CooCoo 48c7b50394 Merge pull request #10942 from dotCooCoo/fix/live-corners-anchor-add-delete
Live Corners: adding or removing an anchor keeps the corners live
2026-12-05 07:34:48 -08:00
dotCooCoo c0b682ba78 Merge main into train/carry10603 2026-12-05 07:21:23 -08:00
dotCooCoo cb45500f1f Merge main into fix/dwg-export 2026-12-05 07:12:45 -08:00
dotCooCoo 1889f48ccd Open: a PDF file named .txt opens as a PDF
A .txt, .rtf, .docx or .doc file that starts with a PDF header (%PDF-
and a version such as 1.7) or an Affinity signature opens as that
format again, as it did before File > Open read text documents, and
File > Open asks no Text Import Options for it. A plain text note that
only starts with "%PDF" or "<svg" still opens as text.

Docs: docs/mcp.md (open_file), open_file's description.
2026-12-05 07:07:21 -08:00
dotCooCoo aea9c280db Merge main into feat/color-palette-strip
# Conflicts:
#	crates/ui-egui/src/panels/swatches.rs
2026-12-05 07:06:24 -08:00
dotCooCoo c2485d29ef Swatches: a Swatch Strip panel of one-click color chips
Window › Swatch Strip shows a None chip and then the document's color
swatches as a row of chips that wraps to the panel's room and scrolls
when the chips do not fit. Docked on the window's bottom edge the chips
run across in one line; in a dock column or a narrow floating window
they run down it. Gradient and pattern swatches are left out.

A click on a chip sets the fill (paint.setFill) and a right-click or an
Alt-click sets the stroke (paint.setStroke). Both pass focus: false, so
the active Fill or Stroke proxy stays as it was.

- window.panel {panel: "swatchStrip"} shows the panel, and
  window.panel.dock with placement {"Edge": "Bottom"} beside the canvas
  docks it along the bottom edge.
- The Swatches panel's shown() is shared so the strip draws a spot
  color the way its art shows it.

Docs: docs/control-protocol.md, ROADMAP.

Fixes #10951
2026-12-05 07:05:45 -08:00
dotCooCoo 0a0ebb5279 Plug-ins: a file placed during an add-on preview survives Cancel
With an add-on dialog previewing (Arrange in Grid, for example),
File > Place ran inside the preview's interaction, because every
`file.*` command other than `file.documentColorMode` was treated as one
that reads the drawing on show. The placed art went into the preview
document with no undo step of its own, and Cancel removed it.

`file.place` now runs on the document without the preview, as other
edits do: it records its own undo step and stays after Cancel and OK.
Save, Export, Copy and the other `file.*` commands still act on the
drawing as the preview shows it.

Docs: docs/mcp.md (undo/redo row).
2026-12-05 07:03:59 -08:00
dotCooCoo f7c14f635b Merge main into fix/dwg-export 2026-12-05 07:03:46 -08:00
.CooCoo b1f9008704 Merge pull request #10124 from dotCooCoo/feat/screen-print-marks
Color Effects: Create Screen Print Marks draws registration targets and ink lines
2026-12-05 06:56:26 -08:00
.CooCoo 6e8fc587d1 Merge pull request #10917 from dotCooCoo/fix/dxf-hatch-pattern-gradient
DXF/DWG import: pattern hatches keep their pattern and gradient hatches their gradient
2026-12-05 06:55:46 -08:00
.CooCoo 7aefbb8cee Merge pull request #9060 from dotCooCoo/feat/scripts-api-d10-print-options
Scripts: Document.print prints to a file with PrintOptions and its option classes
2026-12-05 06:52:50 -08:00
.CooCoo b62403e27b Merge pull request #10943 from dotCooCoo/fix/style-and-gallery-previews-keep-canvas-clear
Dialogs: Effect Gallery and Bullets and Numbering leave the canvas undimmed
2026-12-05 06:46:27 -08:00
.CooCoo e58d945341 Merge pull request #10638 from dotCooCoo/fix/retrace-keeps-note-and-tags
Image Trace: tracing again keeps the tracing's note and tags
2026-12-05 06:41:34 -08:00
.CooCoo 5e108fd768 Merge pull request #9059 from dotCooCoo/feat/scripts-api-d11-perspective-presets
Scripts: documents show, hide and set their perspective grid, and app gives preset settings
2026-12-05 06:34:26 -08:00
.CooCoo fe85d77d40 Merge pull request #10947 from dotCooCoo/fix/dwg-version-messages
DWG import: a drawing of a version the reader skips names its version
2026-12-05 06:28:45 -08:00
dotCooCoo 9706d36bc6 Merge main into feat/scripts-api-d10-print-options 2026-12-05 06:19:46 -08:00
dotCooCoo a7ccac35c6 Merge main into fix/style-and-gallery-previews-keep-canvas-clear
Takes main's craft-libs rev 4f3e34d0dd. Character Style Options and Paragraph Style Options canvas support and their two tests move to #10953, which waits on storytold/craft-libs#5510.
2026-12-05 06:15:14 -08:00
.CooCoo e967ac86a8 Merge pull request #10872 from dotCooCoo/fix/agents-folders-report-enforced-roots
Agents: agent_folders shows the folders the open window enforces
2026-12-05 06:14:48 -08:00
dotCooCoo 1a4646a2b5 Merge main into feat/screen-print-marks 2026-12-05 06:11:53 -08:00
dotCooCoo fe5226642b Merge main into fix/dxf-hatch-pattern-gradient 2026-12-05 06:08:56 -08:00
ruchirguitar 6646c18604 Language packs: add Preferences and a missing-pack bar using shared Craft UI 2026-12-05 19:18:21 +05:30
dotCooCoo 6ab4837d33 Merge main into fix/live-corners-anchor-add-delete 2026-12-05 05:47:47 -08:00
dotCooCoo bdb87ce714 Live Corners: map removal successors in one pass over the subpaths
Remove Anchor Points mapped each subpath's next anchor to the path as
drawn with `LiveCorners::drawn_anchor`, which counted the anchors of
every earlier subpath again for each one. `LiveCorners::drawn_anchors`
maps the whole set while walking the subpaths once.

The docs now say that Remove Anchor Points selects the next anchor of
the uncut outline, which can be an anchor added on a side as well as a
corner.
2026-12-05 05:47:42 -08:00
dotCooCoo 36abc64b39 Merge main into fix/dwg-export 2026-12-05 05:37:17 -08:00
dotCooCoo bac24f1038 Docs: the File formats missing list names what DWG still lacks
The detailed missing-items row for File formats still said DWG was
missing with DXF as the substitute. It now lists the DWG limits that
remain: the web build and FreeBSD for aarch64, R1.x and R2.x drawings,
and DWG export before version 2000.
2026-12-05 05:37:17 -08:00
dotCooCoo 528b41abfb Merge main into fix/ci-nextest-archive 2026-12-05 05:35:10 -08:00
.CooCoo f3063222f8 Merge pull request #10926 from dotCooCoo/feat/revolve-rendered-groups
3D: Revolve renders on groups and on fills and strokes
2026-12-05 05:34:30 -08:00
dotCooCoo 0f52b4e6ad Merge main into fix/retrace-keeps-note-and-tags 2026-12-05 05:34:30 -08:00
dotCooCoo c0310d1c6b Merge main into feat/scripts-api-d11-perspective-presets 2026-12-05 05:34:30 -08:00
dotCooCoo 6e2c0fea9c Merge main into fix/dwg-export 2026-12-05 05:29:36 -08:00
dotCooCoo e7f3584f5f Docs: list the AD1006 and unlisted DWG codes the reader refuses 2026-12-05 05:27:59 -08:00