vectorcraft/crates/engine/src/cmd
bflatastic 8c69173bb7 #1089: an image copied in a browser pastes as the picture, also from its markup
A browser's Copy Image puts the picture on the clipboard with text next
to it. Paste already took the picture when that text was only the
image's address (#597), but some browsers (seen on Fedora with KDE) put
the image's HTML there instead, `<img src="…" class="…" style="…">`,
which isn't an address, so the markup was pasted as type.

names_a_picture also takes markup whose only content is <img> elements
(no text outside its tags) as naming the picture, and Paste then reads
the bitmap. Markup with words in it, and an address alone, still paste
as text.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 13:51:41 +07:00
..
clipboard #1089: an image copied in a browser pastes as the picture, also from its markup 2026-10-11 13:51:41 +07:00
fileio Align: Align to Artboard uses the active artboard 2026-10-11 11:33:01 +07:00
findfiles Fix #832: --automation-read-root and --automation-write-root confine the MCP server's files 2026-10-10 14:27:24 +07:00
place Review #985: one parser for exact number lists; null `at` is no position 2026-10-11 01:44:11 +07:00
appearance.rs Colour graph series through Group Selection 2026-10-10 14:33:40 +07:00
assets.rs fix(assets): validate all explicit export object ids before collecting 2026-10-11 01:46:24 +07:00
attributes.rs M3.76: Attributes panel with overprint, centre point, path direction, fill rule, image map, URL and note 2026-10-05 03:46:04 +07:00
brushsym.rs #1002: new art is refused when no layer is shown and unlocked 2026-10-11 03:51:11 +07:00
buildcmds.rs Image Trace: Flat Logo mode (sub-pixel edges, restored corners, true lines and circles) 2026-10-09 17:57:04 +11:00
clipboard.rs #1089: an image copied in a browser pastes as the picture, also from its markup 2026-10-11 13:51:41 +07:00
colorcmds.rs Fix #122: colour adjustment live effects (Effect > Color Adjustments) 2026-10-06 00:42:26 +07:00
colormgmt.rs Fix #832: --automation-read-root and --automation-write-root confine the MCP server's files 2026-10-10 14:27:24 +07:00
colortheme.rs M3.96: Color Themes panel with a local theme library 2026-10-05 05:08:28 +07:00
create.rs #1002: new art is refused when no layer is shown and unlocked 2026-10-11 03:51:11 +07:00
css.rs M4.96: Window › CSS Properties shows, copies and exports the CSS of the selection 2026-10-05 16:03:11 +07:00
cut.rs Review #986: the rect through finite_numbers; rustfmt 2026-10-11 01:45:18 +07:00
distortcmds.rs Width points: set and copy refuse a malformed index 2026-10-11 10:49:42 +07:00
docinfo.rs Fix #813: type can name an installed version of its font 2026-10-09 19:26:51 +00:00
docmenu.rs Review: guides on hidden or locked layers, and through layer commands 2026-10-11 06:03:48 +07:00
docsetup.rs M4.20: Document Setup with bleed, transparency grid, paper and type options 2026-10-05 08:28:16 +07:00
draw2.rs Part of #852: Brush Options for Calligraphic and Bristle brushes, pen pressure 2026-10-10 12:15:18 +07:00
edit.rs Guides: Shift selects ruler guides and art together 2026-10-11 04:35:15 +07:00
effectcmd.rs M9: add live Revolve with artboard rotation and lighting controls 2026-10-10 23:44:46 +07:00
expand.rs Placed documents: Links commands check, update, relink and break their links 2026-10-08 12:20:51 -07:00
fileinfo.rs M4.55: File Info with author, description, keyword chips, rating and copyright, written to SVG, PDF and PNG 2026-10-05 09:55:47 +07:00
flatten.rs Part of ROADMAP gap 2: Radial Blur, Smart Blur and Unsharp Mask on a pixel-filter pipeline 2026-10-09 13:30:31 +07:00
fontfiles.rs Fix #832: --automation-read-root and --automation-write-root confine the MCP server's files 2026-10-10 14:27:24 +07:00
fonts.rs Part of #394: Show Font Names in English labels the font menus. 2026-10-10 14:10:31 +07:00
freeform.rs Review: width-point removal reuses point_indices; ROADMAP (#1079) 2026-10-11 07:43:14 +07:00
gradient.rs #1007: Reverse Gradient mirrors off-centre midpoints 2026-10-11 03:51:31 +07:00
graph.rs #1002: new art is refused when no layer is shown and unlocked 2026-10-11 03:51:11 +07:00
halftone.rs Fix #122: Object > Vector Halftone 2026-10-06 00:42:26 +07:00
help.rs Community links: Help menu (Discord, ArtCraft website, app page, GitHub), Discord button in the header, links on the About and Home screens; engine help.* commands return the URLs (menu clicks open them via the host's browser service) 2026-10-01 14:37:29 -04:00
inline.rs M7: inline symbols in text 2026-10-08 15:45:34 -07:00
layer.rs Review: one Selection::deselect_uneditable for the hide and lock commands; ROADMAP (#1107) 2026-10-11 11:33:05 +07:00
layerpanel.rs Review: one Selection::deselect_uneditable for the hide and lock commands; ROADMAP (#1107) 2026-10-11 11:33:05 +07:00
library.rs Fix #926: the Libraries panel's search, groups and library export/import 2026-10-10 17:17:01 +07:00
links.rs Links: one watch for changed linked files 2026-10-10 20:19:27 +07:00
live.rs M8.17: Edit envelopes on the canvas: Edit Contents, mesh points and handles, Control bar 2026-10-06 12:16:59 +07:00
maskedit.rs M3.86: Alt-click the mask thumbnail to view only the mask 2026-10-05 03:11:04 +07:00
menucmds.rs Review: Lock and Hide › All Artwork Above use Selection::deselect_uneditable; ROADMAP (#1109) 2026-10-11 11:33:07 +07:00
mod.rs Review: width-point removal reuses point_indices; ROADMAP (#1079) 2026-10-11 07:43:14 +07:00
newart.rs M14.4: no panics in the shipped code main gained since the no-panics branch 2026-10-05 06:39:18 +07:00
newdoc.rs Fix #681: Rearrange All Artboards layouts, order and one-click access 2026-10-09 12:22:48 +07:00
object.rs Review: Align and Distribute share one apply_moves; ROADMAP (#1108) 2026-10-11 11:33:06 +07:00
opacitymask.rs M3.69: target circles target layers, groups and objects; drag them to move appearances 2026-10-05 02:15:41 +07:00
overprint.rs M3.76: Attributes panel with overprint, centre point, path direction, fill rule, image map, URL and note 2026-10-05 03:46:04 +07:00
package.rs Review fixes for #777: report sections per document, fmt, docs and ROADMAP 2026-10-10 09:32:12 +07:00
paint.rs Gradient mesh: a fill colour recolours the point last clicked (#1050) 2026-10-11 07:13:33 +07:00
panelcmds.rs Type: Proportional Metrics in vertical type — upright glyphs on the font's proportional heights, `vpal` (#966) 2026-10-11 12:24:45 +07:00
path.rs Review #998: one strict anchor parser; build fix for path.appendAnchor 2026-10-11 01:50:30 +07:00
pathops.rs Fix #87: rust-version is 1.95, and clippy 1.95 passes 2026-10-05 23:05:32 +07:00
patterncmds.rs Robustness: VectorCraft never crashes — no panics in shipped code 2026-10-05 06:28:59 +07:00
pdfcmds.rs M4.44: PDF presets: built-ins in code, saved presets, Edit > PDF Presets 2026-10-05 10:40:22 +07:00
perspgrid.rs Fix #321: the perspective grid hides while a perspective tool is chosen 2026-10-08 03:27:36 +07:00
plugin.rs Fix #832: --automation-read-root and --automation-write-root confine the MCP server's files 2026-10-10 14:27:24 +07:00
prefscmds.rs Review: System Title Bar only where it applies, docs, title repaint 2026-10-10 21:15:21 +07:00
print.rs EPS import: bound what hostile editing data can cost, and say when it can't be read 2026-10-09 03:49:49 -04:00
printadvanced.rs M4.81: Print advanced options: overprints, flattener, printer profile, bitmap 2026-10-05 17:27:00 +07:00
printpresets.rs M4.79: print presets in the Print dialog and Edit > Print Presets 2026-10-05 16:30:46 +07:00
printtiling.rs M4.80: Print Tiling tool and View > Show Print Tiling 2026-10-05 17:26:59 +07:00
rasterfx.rs #983: supersample Art Optimized edges in exports 2026-10-11 03:48:03 +07:00
recolor.rs M3.95: Color Guide Limit to Library and Edit or Apply Colors without art 2026-10-05 05:08:15 +07:00
recovery.rs EPS import: bound what hostile editing data can cost, and say when it can't be read 2026-10-09 03:49:49 -04:00
select.rs Align: Align to Artboard uses the active artboard 2026-10-11 11:33:01 +07:00
shaper.rs Review: Shaper reads its explicit ids in one line; ROADMAP (#1078) 2026-10-11 07:43:14 +07:00
slices.rs M4.90: Save for Web (Legacy) previews and saves optimised GIF, JPEG, PNG-8 and PNG-24 images, slices and HTML 2026-10-05 15:24:51 +07:00
stroke.rs Review #987: test the next-object stroke with nothing selected; rustfmt 2026-10-11 01:46:22 +07:00
style.rs Part of #852: Brush Options for Calligraphic and Bristle brushes, pen pressure 2026-10-10 12:15:18 +07:00
stylelib.rs Swatches: swatch.library.copyToUser copies a loaded library into User Defined 2026-10-09 13:32:59 -07:00
swatch.rs M3.79: Edit or Apply Color Group opens Recolor Artwork on a colour group 2026-10-05 04:20:27 +07:00
swatchlib.rs Swatches: swatch.library.save counts only the swatches the file holds 2026-10-11 11:33:07 +07:00
tabs.rs M7: per-paragraph paragraph attributes 2026-10-08 15:07:13 -07:00
textedit.rs Type: Proportional Metrics in vertical type — upright glyphs on the font's proportional heights, `vpal` (#966) 2026-10-11 12:24:45 +07:00
textstyles.rs #1001: named text styles take leading, kerning, mojikumi and other attributes left out at their defaults 2026-10-11 03:51:06 +07:00
textwrap.rs Review: one checked ids-or-selection helper; ROADMAP (#1055) 2026-10-11 07:13:35 +07:00
threads.rs M7: inline symbols in text 2026-10-08 15:45:34 -07:00
typecmd.rs Type: Proportional Metrics — full-width glyphs on the font's proportional widths, `palt` (#966) 2026-10-11 07:00:35 +07:00
typemenu.rs M7: inline symbols in text 2026-10-08 15:45:34 -07:00
variablecmds.rs Review: one checked ids-or-selection helper; ROADMAP (#1055) 2026-10-11 07:13:35 +07:00
views.rs Review: New View reads its centre with finite_numbers; ROADMAP (#1058) 2026-10-11 07:13:37 +07:00
wand.rs M3.28: proxies look through groups like the paint commands (a group shows its contents' paint, and contents that differ make a "?" proxy), the toolbar and panels share the engine's Session::proxy_paints, Magic Wand and Select Text by Font bump the revision so the cached "?" state follows them; double-click proxy test 2026-10-04 18:22:05 +07:00
webexport.rs #983: supersample Art Optimized edges in exports 2026-10-11 03:48:03 +07:00
xform.rs Review #999: corners and from through finite_numbers; rustfmt 2026-10-11 01:51:12 +07:00