Commit Graph
27001 Commits
Author SHA1 Message Date
dotCooCoo ee1d35e8d6 Dependencies: craft-libs pin to main at f9e5cecc9c
Every craft-libs rev moves on to craft-libs main at f9e5cecc9c, which also
holds storytold/craft-libs#4039 and #5541. The egui, winit and acadrust
revs stay as craft-libs pins them.
2026-12-05 12:46:02 -08:00
dotCooCoo 75e46aa3c3 Merge main into chore/craft-libs-pin-5489
# Conflicts:
#	crates/ui-egui/src/chrome/control_bar.rs
2026-12-05 12:39:58 -08:00
.CooCoo 21fd9d2c19 Merge pull request #10949 from ruchirguitar/fix/contextual-taskbar-panels-10233
fix(ui): anchor control bar Stroke, Opacity, and Style popovers (#10233)
2026-12-05 12:35:13 -08:00
dotCooCoo c1c33e9d3c Dependencies: craft-libs pin to main at d32100f6d2
Every craft-libs rev moves on to craft-libs main at d32100f6d2, which also
holds storytold/craft-libs#5222 and #5569. The skrifa patch stays at
37d0532f42, whose vendored skrifa is the same as main's. The egui, winit
and acadrust revs stay as craft-libs pins them.
2026-12-05 12:26:47 -08:00
dotCooCoo 33e3c8db4c Merge main into chore/craft-libs-pin-5489 2026-12-05 12:12:37 -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
dotCooCoo 3d50f40e96 Dependencies: craft-libs pin to main at a7fb3c3cd8
Every craft-libs rev moves on to craft-libs main at a7fb3c3cd8, which also
holds storytold/craft-libs#5548. The egui, winit and acadrust revs stay as
craft-libs pins them.
2026-12-05 11:51:27 -08:00
dotCooCoo cb5ec21878 Merge main into chore/craft-libs-pin-5489
# Conflicts:
#	Cargo.lock
#	Cargo.toml
#	apps/vectorcraft-web/Cargo.toml
#	xtask/src/pdf_deps.rs
2026-12-05 11:45:52 -08:00
dotCooCoo 86b5e07ac7 Dependencies: craft-libs pin to main at 643892adc7
Every craft-libs rev moves on to craft-libs main at 643892adc7, which also
holds storytold/craft-libs#3665, #3710, #4928, #5471 and #5554. The egui,
winit and acadrust revs stay as craft-libs pins them.

With craft-libs#4928 the Bezier overlay paints its anchors and handles as
one kept mesh. The test that compares the canvas anchor marks with the
overlay now tessellates the marks' run of shapes the same way before it
compares them, and leaves out placeholder shapes that paint nothing.
2026-12-05 11:37:42 -08:00
.CooCoo f567a6a05b Merge pull request #10959 from dotCooCoo/fix/paste-late-read-finds-bitmap-copy
Paste: a bitmap copied here is found after a late text read on Linux
2026-12-05 11:35:32 -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 83393daca1 Merge pull request #10972 from dotCooCoo/fix/thumbnail-render-no-copy
Thumbnails: node renders and swatch previews become images without a copy
2026-12-05 11:15:21 -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
.CooCoo 68d102561e Merge pull request #10970 from dotCooCoo/fix/live-shape-draft-target
Transform: an unfinished live shape value stays with the shape it was typed for
2026-12-05 10:34:53 -08:00
.CooCoo 4e1f2bfa54 Merge pull request #10915 from dotCooCoo/fix/swatches-browser-selection-set
Swatches: the panel checks a large selection in one read of the swatches
2026-12-05 10:14:53 -08:00
dotCooCoo c8d90bb79f Edit Toolbar and DWG export keep their behavior on the new craft-libs
- Tools panel and toolbars: a click on a toolbar's Edit Toolbar button while
  the drawer is open beside another toolbar takes the drawer there again. The
  rail now also reports the button's response from its measuring pass, so the
  click ran window.editToolbar twice in one frame and the second run closed the
  drawer. The command runs only from the pass that shows the rail.
- DWG export: craft-dwg now also writes R13 and R14. DWG export still offers
  2000 to 2018 and refuses R12, R13 and R14 with the same message.
- Blend Options: the Ramp test expects the number field to keep its focus when
  another blend is selected, as SliderField::edit_target keeps it. The draft
  is still dropped and nothing is committed to the new blend.
2026-12-05 10:13:13 -08:00
.CooCoo d847eef951 Merge pull request #10966 from dotCooCoo/fix/clip-self-crossing-area
Scripting: a self-crossing clip path counts as enclosing an area
2026-12-05 09:54:59 -08:00
.CooCoo 5a11dde8bc Merge pull request #10833 from ruchirguitar/fix/type-menu-conversion-10830
Type menu: show conversions for the selected text kinds
2026-12-05 09:39:40 -08:00
dotCooCoo 7d58dab740 Dependencies: craft-libs pin to main at 80a65f8437
Every craft-libs rev moves to craft-libs main at 80a65f8437. Its egui, winit and acadrust revs
are the ones VectorCraft already pins.
2026-12-05 09:25:50 -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
.CooCoo f5907381f5 Merge pull request #10336 from mocenigo/fix/resize-color-space
macOS: the window keeps its colours while it is resized
2026-12-05 09:16:01 -08:00
dotCooCoo 418ad5dcff Tests: native Undo and Redo from a floating panel or toolbar window
A native menu's Cmd+Z and Shift+Cmd+Z, made while the OS window of a
floating panel or a floating toolbar has the keys and none of its text
fields is focused, undo and redo once each.
2026-12-05 09:14:06 -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 2743fa338d Merge main into chore/craft-libs-pin-5489
# Conflicts:
#	Cargo.toml
2026-12-05 09:08:16 -08:00
dotCooCoo d4e73489ef Dependencies: craft-libs pin to main, with the opacity and edit-target workarounds removed
Every craft-libs rev moves from 4f3e34d0dd, the head of craft-libs#5489, to craft-libs main.
The egui and winit revs are the ones that craft-libs rev pins, unchanged.

- Opacity fields (Control bar, Color Wheel, Gradient) show the stored fraction times 100 again.
  craft-libs#5466 makes the number field step on from a value such as 50.999999 %, so
  panels::shown_percent is removed.
- The Blend Options Ramp and Shift sliders, the Image Trace rows and the Divider field use
  SliderField::edit_target (craft-libs#5024) in place of the id-salt workarounds. A value typed
  for one object and not yet committed is still dropped when another is selected.
- CDR import: craft-libs now reads bitmaps as their own object kind. They are not placed; the
  warnings name them with the other objects not read, and a PowerClip frame that clips only a
  bitmap is named as a frame that opened empty.
2026-12-05 09:07:54 -08:00
dotCooCoo b4c4ca09de Merge main into train/carry10920 2026-12-05 09:07:26 -08:00
dotCooCoo ddbc4b1047 Merge main into train/carry10603 2026-12-05 09:07:22 -08:00
dotCooCoo 14097718db Merge main into fix/paste-late-read-finds-bitmap-copy 2026-12-05 09:07:10 -08:00
dotCooCoo 8415ba1eb6 Paste: the text is read before the late paste's bitmap check
When a late files read finds no copied files and the Copy made here was
a bitmap, Paste read the bitmap to compare it with the Copy before it
read the text. A bitmap read that gets no answer leaves the clipboard
worker busy, so the text read then failed at once and Paste took the
internal Copy instead of the text another app put there. The text is
now read first and kept for the paste.
2026-12-05 09:07:06 -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 238870c3e1 Stroke: describe the Profile drop-down in its own terms
The ProfileSelect doc comment named another vendor's app; it now says
what the drop-down holds. The closed and open widths, the Page Up/Down
step and the saved-row thumbnail size are documented consts, and the
thumbnail's size and inset are no longer literals at their call sites.
2026-12-05 09:01:22 -08:00
dotCooCoo 05c99d7f58 Stroke: screen readers step and set the Profile drop-down again
The framework's Select, which the Profile control used before, reports
the picked row's place in the list as a numeric value and takes
AccessKit's SetValue, Increment and Decrement. The new drop-down set
only a text value and never read take_set_value, so a screen reader
could no longer step or set the profile. ProfileSelect::access now sets
access.numeric with the row's place and label, and update takes
SetValue and the step moves before its focus check, as Select does.
2026-12-05 09:01:22 -08:00
.CooCoo 93749901fa Merge pull request #10831 from mcenahle/i18n/zh-hans-check-for-updates
i18n(zh-hans): translate Check for Updates menu item
2026-12-05 08:56:57 -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
.CooCoo b143faa667 Merge pull request #10365 from yoriswind/codex/5233-graph-command-availability
Graph: enable editing commands only for a selected graph
2026-12-05 08:29:40 -08:00
dotCooCoo da065b3ca8 Color Picker: a script's picker shows color in its own document's profiles
app.showColorPicker opened the picker with the front document's color
profiles: the opening color, the CMYK fields and the out-of-gamut test
used the active context, while OK converted the pick through the
script's document. With two documents assigned different profiles, the
picker showed and separated colors in the wrong space.

The script picker now draws its opening color, fills its CMYK fields
and tests the gamut through the profiles of the script's document.
Pickers opened from the panels keep using the active profiles.
2026-12-05 08:27:20 -08:00
dotCooCoo fc84b657d3 Scripting: a self-crossing clip path counts as enclosing an area
The clip-outline check behind `pathItems.removeAll()` measured each
subpath by its signed area. The loops of a figure eight turn opposite
ways and cancel, so the check treated the outline as enclosing nothing,
although both fill rules fill it. A subpath whose signed area is within
roundoff of zero is now measured by the area it fills under nonzero.
A subpath whose points all lie on one line still encloses nothing.
2026-12-05 08:26:28 -08:00
dotCooCoo 0848cfc2bb Merge main into fix/swatches-browser-selection-set 2026-12-05 08:06:38 -08:00
dotCooCoo 2e58bf49f7 Merge main into fix/live-shape-draft-target 2026-12-05 07:59:51 -08:00
.CooCoo 23e6ea61c3 Merge pull request #10946 from dotCooCoo/fix/dwg-import-version-tests
DWG import: R12, R13, R14 and 2018 files are tested, and R12 reports its own version
2026-12-05 07:57:19 -08:00
dotCooCoo 132055f795 i18n: Gujarati row for the Concept to Vector Detail slider
The Concept to Vector panel labels its slider and field with tl!("Detail"),
and gu.tsv had a row only for "Detail:", so the label stayed in English
in the Gujarati interface.
2026-12-05 07:49:08 -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
dotCooCoo 2766ec3912 Merge main into fix/paste-late-read-finds-bitmap-copy 2026-12-05 07:49:02 -08:00
dotCooCoo 5ae988ea75 Paste: copied files are read before the late paste's bitmap check
When a late text read answers and the Copy made here was a bitmap, Paste
read the bitmap to compare before it read copied files. A bitmap read that
got no answer left the worker busy, so the files' read failed at once and
an art-file list on the clipboard was not pasted. Paste now reads copied
files first whenever the ownership check needs a read of its own, since a
Copy made here writes no files.

The doc comment on Ours now states that a bitmap is known by its size, as
Clipboard::owns already compares it, and the test covers a same-size bitmap
from another app.
2026-12-05 07:49:02 -08:00
dotCooCoo 3c5fe686fe Merge main into fix/swatches-browser-selection-set 2026-12-05 07:46:05 -08:00
dotCooCoo 305ab4d21f Stroke: the drop-down's Add to Profiles asks for a name
The footer's Add to Profiles saved the profile at once as "Width Profile
N". It now opens the same name dialog as the Stroke panel's menu item
Add to Profiles…, as on main, and saves nothing until OK.
2026-12-05 07:40:41 -08:00