Commit Graph
9817 Commits
Author SHA1 Message Date
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
.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 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 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 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
.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 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 2e58bf49f7 Merge main into fix/live-shape-draft-target 2026-12-05 07:59:51 -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 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 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 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
.CooCoo 971bc00f8d Merge pull request #10904 from dotCooCoo/fix/print-bitmap-shared-grid
Print: Print as Bitmap prints at 72 ppi when the raster effects resolution is not a number
2026-12-05 07:03:51 -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 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 dbf59eded6 Merge pull request #10883 from dotCooCoo/feat/cgm-open-place
File formats: CGM files open and place
2026-12-05 06:50:37 -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
dotCooCoo 70134a5719 Merge main into fix/print-bitmap-shared-grid 2026-12-05 06:29:43 -08:00
dotCooCoo 9706d36bc6 Merge main into feat/scripts-api-d10-print-options 2026-12-05 06:19:46 -08:00
dotCooCoo 1a4646a2b5 Merge main into feat/screen-print-marks 2026-12-05 06:11:53 -08:00
dotCooCoo 7e065a97af Merge main into fix/live-shape-draft-target 2026-12-05 06:10:19 -08:00
dotCooCoo cd08707be8 Undo: canceled undo groups and scopes count only as history restores
Since #10882 a canceled undo group, and a canceled undo scope that put
back an earlier snapshot, advance history_restores, which every edit
target that reads rollbacks also hashes. They no longer advance
rollbacks as well, and the two engine tests for that are removed;
history_mem.rs covers the count.

The Corner Radius tests now cancel an interaction whose preview drew
the shape, which only rollbacks counts, so they still fail without
rollbacks in corner_target.
2026-12-05 06:06:15 -08:00
.CooCoo 06ae50d00f Merge pull request #10880 from dotCooCoo/fix/dxf-image-entities
DXF/DWG import: raster images come in as linked images
2026-12-05 05:58:46 -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 3bf25bbf76 Merge main into feat/cgm-open-place 2026-12-05 05:34:40 -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 81c7d60ea6 Live Corners: an added anchor keeps only the selected segments' ends selected
Adding an anchor on a side of a path with rounded Live Corners moved
each selected anchor to every anchor of its corner. The ends of a
selected segment are selected anchors, so a selected side also selected
the far ends of the arcs at its two corners, and an arrow-key nudge
then moved those anchors too. The ends of selected segments now follow
the segments instead: after the addition, only the ends of the
segments as drawn are selected. Anchors selected on their own still
select their whole corner.

A plain path no longer builds its corner layout for Add Anchor Point,
Delete Anchor Point or Remove Anchor Points before falling back to the
plain edit, and Add Anchor Point builds it once for the cut check and
the selection. The selected segments are matched to the new layout
through one lookup per subpath instead of a scan for each segment.

docs/mcp.md and the Live Corners entry in docs/target-app-parity.md
now say that removing anchors clears the path's selected anchors and
segments, and that Remove Anchor Points selects the anchor before the
removed one at an open path's end.
2026-12-05 05:20:08 -08:00
.CooCoo 52b449ea70 Merge pull request #9099 from dotCooCoo/feat/print-per-job-settings
Print: Print as Bitmap prints at advanced.bitmapResolution
2026-12-05 05:15:32 -08:00
dotCooCoo ce6ba28d19 Merge main into fix/dxf-image-entities 2026-12-05 04:59:53 -08:00
dotCooCoo a18f164eac Merge main into feat/scripts-api-d10-print-options 2026-12-05 04:46:21 -08:00
dotCooCoo bc786fcd55 Merge main into feat/open-text-documents 2026-12-05 04:36:38 -08:00
.CooCoo 5164c977d0 Merge pull request #10918 from dotCooCoo/fix/new-type-new-art-appearance
Type: new type takes new art's fills, strokes and effects
2026-12-05 04:35:37 -08:00
dotCooCoo 88a915b308 Merge main into fix/live-shape-draft-target 2026-12-05 04:35:17 -08:00
dotCooCoo 590067c3de Merge main into feat/print-per-job-settings 2026-12-05 04:33:55 -08:00
dotCooCoo f26f8601e3 Merge main into fix/live-corners-anchor-add-delete 2026-12-05 04:31:47 -08:00
.CooCoo 9bdfcf7347 Merge pull request #10925 from dotCooCoo/fix/anchor-tools-type-on-path
Fix #10862: anchor tools and Pen + Alt edit the path of type on a path
2026-12-05 04:25:59 -08:00