Commit Graph
12746 Commits
Author SHA1 Message Date
.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 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
.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 e7f3584f5f Docs: list the AD1006 and unlisted DWG codes the reader refuses 2026-12-05 05:27:59 -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 70273996ec Docs: Revolve on a group draws shaded faces for a see-through member
A painted member whose own opacity, or the opacity of a nested group
holding it, is below 100% makes Revolve draw the shaded faces instead of
one image.
2026-12-05 04:51:23 -08:00
dotCooCoo 96664d190f Merge main into fix/agents-folders-report-enforced-roots 2026-12-05 04:50:25 -08:00
dotCooCoo 557254d7f0 Merge main into fix/dwg-version-messages 2026-12-05 04:47:00 -08:00
dotCooCoo 1215d59e00 DWG import: a drawing of a version the reader skips names its version
Opening or placing a DWG drawing whose version code the converter does
not read now fails with a message that names the version and says to
save the drawing as DXF, or as a DWG from R10 to 2018. That covers R1.0
to R9 (MC0.0, AC1.2 to AC2.22, AC1001 to AC1004), codes newer than
AC1032 and unknown codes. Before, R2.5 to R9 drawings went to the
converter and failed with its own error, and R1.x and R2.x drawings got
a message that did not name the version. Version names follow
https://en.wikipedia.org/wiki/.dwg#Version_history.

A drawing that starts with an AD10nn code is read as a DWG drawing, as
the converter reads AD1009 and AD1012 to AD1032; before, it was read as
DXF and failed with "not a DXF drawing". A file that holds only a
version code says it is cut short.

Docs: docs/mcp.md, docs/target-app-parity.md.
2026-12-05 04:46:50 -08:00
dotCooCoo a18f164eac Merge main into feat/scripts-api-d10-print-options 2026-12-05 04:46:21 -08:00
dotCooCoo 8d06034b96 Merge main into fix/style-and-gallery-previews-keep-canvas-clear 2026-12-05 04:39:13 -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 f5a9bc56ce Merge main into feat/revolve-rendered-groups 2026-12-05 04:35:10 -08:00
.CooCoo b59ae808b8 Merge pull request #10940 from dotCooCoo/fix/recolor-picker-canvas-clear
Recolor Artwork: the canvas stays undimmed while the dialog and a row's Color Picker are open
2026-12-05 04:35:10 -08:00
dotCooCoo 590067c3de Merge main into feat/print-per-job-settings 2026-12-05 04:33:55 -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
.CooCoo 969905d25a Merge pull request #10938 from dotCooCoo/fix/previewing-dialogs-keep-canvas-clear
Fix #10706: Blend Options and other preview dialogs leave the canvas undimmed
2026-12-05 04:19:46 -08:00
dotCooCoo e69d6c6fcb Dialogs: Effect Gallery, Bullets and Numbering and the text style options leave the canvas undimmed
Effect Gallery, Bullets and Numbering, Character Style Options and
Paragraph Style Options preview on the canvas, but the modal layer
dimmed it, so the preview did not show its true colors, and the wheel
over the canvas did nothing while they were open.

- Effect Gallery and Bullets and Numbering store the current window's
  canvas (`preview_canvas`) when they open and keep its view open from
  the dialog body (`Sampler::keep_view_open`), as ParamDialog does.
- Character Style Options and Paragraph Style Options pass the canvas
  to `PropertiesDialog::canvas`. New Character Style and New Paragraph
  Style do not preview and still cover the canvas.
- Every craft-libs rev moves to the head of storytold/craft-libs#5510,
  which adds `PropertiesDialog::canvas`.

Part of #10590.
2026-12-05 04:03:28 -08:00
dotCooCoo c2f50261b0 Merge main into fix/style-and-gallery-previews-keep-canvas-clear 2026-12-05 03:59:43 -08:00
.CooCoo 37dd394ea9 Merge pull request #7051 from dotCooCoo/feat/concept-to-vector-providers
Concept to Vector: offline Image Trace styles behind a provider boundary
2026-12-05 03:57:28 -08:00
dotCooCoo 664d50c328 Type: a selected look matching the redefined default still styles new type
With New Art Has Basic Appearance off, new type took nothing from a
selected object whose fills, strokes and effects matched the document's
redefined Default Graphic Style without a link to it (after Break Link
to Graphic Style, for example), because the check that keeps type plain
for the document's default look also caught a look taken from the
selection. That check now applies only to the look paint.default gives,
so new type takes the selection's fills and effects, and new type made
after paint.default still keeps its characters' color.
2026-12-05 03:47:38 -08:00
dotCooCoo a1a77ebf84 Recolor Artwork: the canvas stays undimmed while the dialog and a row's Color Picker are open
Recolor Artwork previews its colors on the art, but its modal layer
dimmed the whole window, canvas included, so the preview could not be
judged. The dialog now keeps the canvas of the window it opened in open
under its modal layer, as the Color Picker and the color adjustment
dialogs do: no scrim over it, and the wheel still scrolls and zooms the
view. Other presses on the canvas stay blocked.

A Color Picker opened from a row's new color also keeps the canvas
undimmed. The picker now registers the canvas, and while it is open over
Recolor Artwork the dialog below draws no scrim of its own, so the
picker's layer is the only one that dims the window.

While the Color Theme Picker is on, its clicks and Shift-drags on the
art now reach the canvas. Before, the modal layer blocked them, so a
click on the art added no pick.

Part of #10590.
2026-12-05 03:24:56 -08:00
dotCooCoo 8a546bbdc5 Fix #10706: Blend Options and other preview dialogs leave the canvas undimmed
A dialog's modal layer dims everything but the canvas the dialog
registers. Blend Options, the envelope and path dialogs, Split Into Grid,
Flare Tool Options, Justification, Proof Setup, Swatch Options, the
Tangent Circle radius dialog, the add-on dialogs and the command dialogs
with a Preview box registered no canvas, so the art they previewed was
shown dimmed and the wheel over it did not scroll the view.

dialogs::host::preview_canvas gives the current window's canvas, and
PreviewsOn::previews_on registers it when the dialog previews. The add-on
dialog host registers it for every add-on dialog. Blend Options with no
blend selected sets the defaults for new blends and previews nothing, so
it still dims the canvas.

Part of #10590.
2026-12-05 03:02:03 -08:00
dotCooCoo 4e463a7621 Type: new art from a redefined style is unlinked, default look keeps type plain
A graphic style picked with nothing selected and then redefined gave new
art and type the look picked with the new definition's isolate and
knockout, still linked to the style. New art now links to the style only
while its fills, strokes, effects, opacity and blend mode match the
style's current definition; otherwise it keeps the look picked without
the link, isolate or knockout. appearance.newArt reports the style the
same way, and undoing the redefinition links new art again.

New type made with the look paint.default gives in a document whose
Default Graphic Style was redefined took that look and lost its
characters' color, which failed
an_open_document_takes_another_profiles_default_fill_stroke_and_font.
That look is the document's default, so new type made with it keeps its
characters' color, as with the shipped default.
2026-12-05 02:24:07 -08:00
dotCooCoo 7aeb44ead9 Place: the loaded place cursor shows its file and the files left again
The canvas drew no thumbnail or count beside the pointer while the place
cursor held files: since the craft UI port, place::cursor_overlay had no
caller.

- The canvas shows the cursor overlay while the Place tool holds files and
  the pointer is on the canvas, beside the pointer, and on its other side
  near the canvas's right or bottom edge.
- For a load of more than one file the count reads remaining/total (3/3,
  2/3, 1/3); a load of one file shows no count.
- The place tool reports a read-only `total`, the size of the load.

Fixes #10821
2026-12-05 01:03:29 -08:00
dotCooCoo 252454021e Type: an anchor added to type on a path leaves the type selected whole
path.insertAnchor on type on a path, unselected or with selectAnchor,
left the new anchor direct-selected under the type's id. The arrow keys
and path.moveAnchors then sent that anchor to the path editor, which
refused it with "object N is not a path". The type now stays selected
whole with no direct-selected anchors, as path.removeAnchor leaves it,
so a nudge moves the type.

The progress-doc entry now limits the tools to type outside
perspective and lists the Pen with Alt with the Anchor Point tool's
gestures rather than with adding and deleting anchors.
2026-12-05 00:58:26 -08:00
dotCooCoo 5f49ebf6e5 Type: new type keeps a style's look and transparency in another document
A graphic style picked in one document and used for new type in another
lost its look when the style was one plain fill and stroke, and lost its
opacity and blend mode in every case, because both checks read the style
name that is dropped outside the style's document. New type now checks
whether its look came from a graphic style separately from the link: the
link is still left out in another document, the look and transparency
are not.

The docs say that area type made with `text.create` and `area` takes the
template, and only Type on a Path and `text.createInPath` area type keep
the default appearance.
2026-12-05 00:52:29 -08:00
dotCooCoo 778ff39718 Merge main into fix/anchor-tools-type-on-path 2026-12-04 23:43:23 -08:00
dotCooCoo eb320aefbb Fix #10862: anchor tools and Pen + Alt edit the path of type on a path
The Anchor Point tool, the Add and Delete Anchor Point tools, Pen + Alt
and the Pen's Auto Add/Delete only picked anchors of plain paths, and
the path.* anchor commands refused type on a path ("object #N is not a
path"), so dragging an anchor of type on a path's path did not pull
handles out, as it does on a path.

- The tools pick the anchors and segments of selected type on a path
  outside perspective, and draw its anchors and handles; Scissors still
  does not cut it.
- path.convertAnchor, path.reshapeSegment, path.setHandle,
  path.moveAnchor, path.insertAnchor and path.removeAnchor edit the
  type's path in document space through its transform; the type lays
  out again and its brackets keep their fractions of the path.
  path.removeAnchor refuses to leave it fewer than two anchors.

Docs: docs/mcp.md, docs/target-app-parity.md.
2026-12-04 23:43:12 -08:00
dotCooCoo 949b344784 Merge main into fix/new-type-new-art-appearance 2026-12-04 23:35:06 -08:00
dotCooCoo cdfcef172f Type: new type's style link stays in its document, gradients fit the wrapped frame
New art and type took the graphic style picked with nothing selected by
its name, so in another document they were linked to a style of the same
name there, and took its isolate and knockout. The template now records
the document the style came from, and new art elsewhere takes the look
without the link.

New area type that text wrap moves as it is made (an Auto Size frame
below a wrap object grows) had the template's placed gradients fitted to
the frame before the reflow. Both ways of making type now let text wrap
reflow it first and fit the gradients to the frame it ends with; type
whose bounds do not change keeps its placement.

The docs name text.create as the command whose type takes the template,
state that Type on a Path and Area Type keep the default appearance, and
note that a color given to text.create keeps the characters' fill under
Override Character Color.
2026-12-04 23:35:05 -08:00
dotCooCoo 755d28c333 3D: Revolve renders on groups and on fills and strokes
In Render Settings > Rendered, Revolve on a group or layer drew its
shaded faces and reported "Revolve renders on a single object only".
Revolve on a fill or stroke did the same. Extrude & Bevel, Inflate and
Rotate already draw an image in both cases.

- On a group, every member's surface is swept about the shared axis
  into one mesh list and drawn as one image, with the shadow plane
  placed from every member that casts. A member that is not an opaque
  solid color in Normal blending, or that sits in a group with an
  opacity mask or a blending mode, keeps the shaded faces and reports
  why, as the other effects do. The painted bounds of the group are the
  image's rectangle.
- On a fill or stroke, that paint's surface is drawn as its own image
  under the effects after its Revolve, as Extrude & Bevel, Inflate and
  Rotate draw a rendered fill or stroke.
- When a group's members, or the clipping groups, blends and symbol
  instances in it, can't be revolved, a rendered Revolve on the group
  reports the reason in the status bar and the command's warning.
- The object, fill and stroke paths share one helper for the image, so
  the eligibility checks and the shadow plane are the same in each.

Docs: docs/mcp.md, docs/three-d.md, docs/target-app-parity.md.
2026-12-04 23:33:48 -08:00
dotCooCoo 146602fc95 Merge main into feat/concept-to-vector-providers 2026-12-04 23:02:25 -08:00
dotCooCoo 8ce2c031c9 Merge main into fix/retrace-keeps-note-and-tags 2026-12-04 22:55:05 -08:00
dotCooCoo dcc9010824 Merge main into feat/scripts-api-d11-perspective-presets 2026-12-04 22:46:33 -08:00
dotCooCoo 3e0e992268 Merge main into fix/agents-folders-report-enforced-roots 2026-12-04 22:40:10 -08:00
.CooCoo 65d61c56db Merge pull request #10133 from dotCooCoo/feat/font-sheet
Type Tools: Create Font Sheet sets a sample text in every font, labeled
2026-12-04 22:36:34 -08:00
.CooCoo a15bd42649 Merge pull request #10834 from dotCooCoo/fix/remove-all-image-frame-clip
Scripts: pathItems.removeAll keeps a clipping path that still holds an image
2026-12-04 22:30:41 -08:00
dotCooCoo 5fd750057b Concept to Vector: seam fills under Flat Color, and scripts can stop generate
Flat Color traces abutting fills, and each fill was drawn on its own, so
a light hairline showed wherever two colors met. The built-in provider
now lays the trace's seam fills under the fills, as Image Trace's
Abutting method with Fills does. Seam strokes are trimmed to half their
width inside the image, so they do not paint past its border, and they
are added only in the anchors and paths that every style's traced paths
leave of the limits, so they never make a later style's trace fail.

conceptVector.generate run from a script now stops when the script is
asked to stop, as imageTrace.make does, and keeps no job.
2026-12-04 22:30:24 -08:00
.CooCoo 4ca2c350d3 Merge pull request #10876 from dotCooCoo/fix/jpe-jpeg-extension
File formats: JPEG files named .jpe open and place
2026-12-04 22:29:22 -08:00
.CooCoo 5ba94c7509 Merge pull request #10882 from dotCooCoo/fix/raster-settings-opened-objects
3D: Raster Settings OK sets the objects the dialog opened on
2026-12-04 22:28:20 -08:00
.CooCoo 4a7fe04e81 Merge pull request #10888 from dotCooCoo/fix/targa-color-model
Targa export: a Color Model option writes grayscale files
2026-12-04 22:27:33 -08:00