Commit Graph
26914 Commits
Author SHA1 Message Date
dotCooCoo be9e3cc116 Merge main into feat/pict-export 2026-12-05 09:17:38 -08:00
dotCooCoo de9d70ee73 PICT: fills flattened more coarsely to fit one polygon are reported
A curved fill with more points than one polygon holds is first flattened
more coarsely. That loses detail, so the export now adds a warning for it,
and docs/mcp.md names the warning with the others.

craft-libs moves to the current head of storytold/craft-libs#5541
(c192150685), which stops counting polygon points at the limit and sets a
black foreground before each pixel map.
2026-12-05 09:17:38 -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 442845c121 Merge main into feat/pict-export 2026-12-05 08:54:26 -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
.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
.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 11aa309eaf PICT: the records are written by craft-metafile's PictWriter
The picture header, PaintPoly and DirectBitsRect records and PackBits
move to craft_metafile::write::PictWriter (storytold/craft-libs#5541),
next to the PICT reader, so other apps can write the format. VectorCraft
keeps flattening, cutting to the frame, non-zero fills, stroke outlines
and image placement.

Every craft-libs dependency moves from 4f3e34d0dd to 71dac21c25, the
head of craft-libs#5541, which is that commit plus the writer.
2026-12-05 07:48:27 -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
.CooCoo 4ff814fe99 Merge pull request #10958 from dotCooCoo/fix/layers-new-layer-button
Layers: the new-item icon adds a layer, and New Sublayer gets its own icon
2026-12-05 07:14:43 -08:00
dotCooCoo cb45500f1f Merge main into fix/dwg-export 2026-12-05 07:12:45 -08:00
dotCooCoo 432930961f PICT: art on a fractional artboard keeps its size when it opens again
The picture frame is in whole points, but the frame in device units was
rounded from the artboard's own size, so a reader scaled the drawing by
their ratio: on a 100.4 pt artboard art at x = 80 opened near 79.7. The
device frame is now the picture frame times the device units a point,
and art is cut to that frame.
2026-12-05 07:06:44 -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
dotCooCoo 987da47762 PICT: small curved figures stay when a fill is flattened more coarsely
A fill with more points than one polygon holds is flattened more
coarsely, and a small figure of two curves could then shrink to two
points and be left out. Each figure now keeps its finer outline when
the coarser one would drop it.

The warnings and docs/mcp.md now give the polygon limits as 8,189 and
8,187 points, since a polygon's size is a signed 16-bit count.
2026-12-05 06:56:48 -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 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 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 c970c86e81 Merge pull request #10792 from dotCooCoo/fix/character-controls-draft-target
Type: an unfinished Character value stays with the text it was typed for
2026-12-05 06:40:26 -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 d222871962 Layers: the new-item icon adds a layer, and New Sublayer gets its own icon
The Layers panel footer showed Create New Layer as `file-plus` and
Create New Sublayer as a plain `+`. Clicking the `+` to add a layer
made a sublayer inside the current layer, which the panel shows as a
row with a disclosure triangle under it.

Create New Layer now shows `dc-new-item`, the icon New Swatch, New
Brush, New Symbol and the other panels' new-item buttons show, and
Create New Sublayer shows a new `dc-new-sublayer` icon: a layer row with
a new-item square nested under it. The commands the buttons run are
unchanged.

The icon change follows Milo-IZ's #10651.
2026-12-05 06:32:59 -08:00
.CooCoo 3fae0caf5d Merge pull request #10891 from dotCooCoo/fix/swatches-name-index
Swatches: the panel looks swatch names up in an index instead of scanning the list
2026-12-05 06:31:52 -08:00
dotCooCoo 70134a5719 Merge main into fix/print-bitmap-shared-grid 2026-12-05 06:29:43 -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
.CooCoo adc463fed1 Merge pull request #10936 from dotCooCoo/fix/frame-taskbar-neighbor-monitor
Windows: a maximize skips the monitor above's taskbar; frame limit scales with DPI
2026-12-05 06:25:23 -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
dotCooCoo 5c3ef10941 Window frame: the DPI test asserts edge relationships, not written-out pixels
CI's test-lint step rejected the 500 % case of
the_frame_limit_grows_with_the_monitor_dpi, which compared the clamped
rect with a tuple of numbers. The test now checks that only the bottom
edge moves and that it hangs below the work area by the same border the
top edge hangs above the monitor.
2026-12-05 06:01:40 -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
.CooCoo 7f3778cd4a Merge pull request #8803 from devius/ka-update
i18n(ka): update the Georgian catalog (81 strings)
2026-12-05 05:54:37 -08:00
dotCooCoo d290f6a55d Merge main into feat/pict-export 2026-12-05 05:52:19 -08:00
dotCooCoo ca2c567f74 PICT: Export As writes QuickDraw pictures
File › Export As and document.export {format: "pict"} write a version 2
QuickDraw picture (.pct) of an artboard, or one per artboard with Use
Artboards, with the extended header at up to 16 device units a point.

- Fills are PaintPoly polygons. A path of several figures is one
  polygon that runs back along the line between its figures, so the
  even-odd fill QuickDraw gives polygons keeps its holes. Non-zero fills
  are first resolved into figures that don't overlap, and art is cut to
  the picture's frame so every coordinate fits 16 bits. A fill too
  complex to resolve is written as it is, with a warning.
- Strokes are written as their filled outlines (line_outline, with
  dashes, caps, joins and miter limit).
- Images are DirectBitsRect pixel maps in tiles of at most 1,024
  pixels, rows packed with PackBits, composited over white. Mirrored and
  quarter-turned images keep their placement, and an image reaching far
  past the frame keeps its columns in place.
- Clipping masks, gradients, patterns and transparency are written as
  WMF writes them, with the same warnings. Artboards over 32,767 points
  on a side are refused.

The writer follows the opcode tables of Inside Macintosh: Imaging With
QuickDraw, and the tests read every picture back through the PICT
reader.
2026-12-05 05:52:10 -08:00
dotCooCoo 13ee6a6c36 Merge main into fix/dwg-import-version-tests 2026-12-05 05:51:07 -08:00
dotCooCoo 53eb048dc9 Tests: check the hatch dash row's length before its all() assertion
The gate's test-lint step flags an all() assertion with no length check in dashes_start_at_each_lines_base_point. The test now asserts the row at y 50 holds more than the four pieces it compares.
2026-12-05 05:47:54 -08:00
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 b68e5164a2 Merge main into fix/character-controls-draft-target 2026-12-05 05:35:36 -08:00
dotCooCoo 528b41abfb Merge main into fix/ci-nextest-archive 2026-12-05 05:35:10 -08:00
dotCooCoo 3bf25bbf76 Merge main into feat/cgm-open-place 2026-12-05 05:34:40 -08:00