Commit Graph
884 Commits
Author SHA1 Message Date
dotCooCoo ccedb75154 Merge main into fix/dwg-export 2026-12-04 19:23:02 -08:00
dotCooCoo 96e66b5e8d Merge main into feat/scripts-api-d5-swatches-symbols 2026-12-04 16:27:43 -08:00
dotCooCoo ca77a2726f Merge main into fix/dwg-export 2026-12-04 15:53:43 -08:00
dotCooCoo 7dc78396e0 Merge main into feat/scripts-api-d5-swatches-symbols 2026-12-04 15:11:24 -08:00
dotCooCooandAlex-BB44 335c7c64dd DWG: export writes the DXF drawing as DWG 2000 to 2018
DWG was read only: Export As listed it grayed out, document.export
answered with a hint to export DXF, and a script's
AutoCADExportFileFormat.DWG, the default, threw an error.

- document.export {format: dwg}, a .dwg path, and document.exportDxf
  with format: dwg write the drawing the DXF export writes, with the
  same options, converted by craft-dwg in the --dwg-worker copy of the
  app. Versions are 2000, 2004, 2007, 2010, 2013 and 2018; R12, R13
  and R14 are refused with an error that names them. Records the DWG
  writer can't write in that version are left out with a warning that
  counts them by type.
- Export As lists DWG and opens DWG Options: DXF Options with the DWG
  versions. A version remembered from DXF Options that DWG isn't
  written as starts on 2018.
- Scripts: AutoCADExportFileFormat.DWG writes a .dwg file;
  AutoCADRelease13 and 14 with DWG throw an error.

Docs: docs/mcp.md, docs/control-protocol.md, docs/file-format-parity.md,
docs/target-app-parity.md, docs/roadmap.md.

Co-authored-by: Alex-BB44 <[email protected]>
2026-12-04 14:52:49 -08:00
dotCooCoo 49186cb426 Merge main into feat/scripts-api-layer-path-items 2026-12-04 12:28:26 -08:00
dotCooCoo e8693940fe Docs: the roadmap's M4 row lists DWG import as done
DWG drawings open and place through the DXF reader since #10802, but
the M4 row in docs/roadmap.md still listed DWG under Left. The row now
lists DWG import with its pull request, and Left keeps DWG export (use
DXF).
2026-12-04 09:43:41 -08:00
dotCooCoo 1ae7a5d5cb Merge main into feat/scripts-api-layer-path-items 2026-12-04 08:00:07 -08:00
dotCooCoo 516b7eb321 Merge main into feat/scripts-api-d5-swatches-symbols 2026-12-04 07:56:23 -08:00
.CooCoo 24151dfe33 Merge pull request #5911 from ruchirguitar/feat/5547-show-missing-links
Show missing-link markers on the canvas
2026-12-04 07:13:51 -08:00
dotCooCoo d5a54ccffa Merge main into feat/scripts-api-layer-path-items 2026-12-04 02:57:25 -08:00
FredApps 44ffd596e8 Merge branch 'main' into feat/gujarati-web-ui 2026-12-04 10:28:06 +01:00
dotCooCoo 8e23837867 Merge main into feat/scripts-api-layer-path-items 2026-12-03 11:15:06 -08:00
dotCooCoo 78a3861135 Merge main into feat/scripts-api-d5-swatches-symbols 2026-12-03 11:13:42 -08:00
ruchirguitar 1fd7a20055 Merge main into feat/5547-show-missing-links
Conflicts:
- crates/engine/src/tests.rs: keep both the missing_links and moved test modules.
- crates/ui-egui/src/panels/links.rs: take main's labelled menu entries and give
  the Show Missing Links row its translated title.
- docs/roadmap.md, docs/target-app-parity.md: take main's rows and re-apply this
  PR's #5547 notes.
- docs/ui-parity.md: take main's Headless column layout, re-add this PR's history
  and behaviour rows (Headless: unknown), and count the new row in the summary.
2026-12-03 22:48:06 +05:30
.CooCoo de87966ac0 Merge pull request #10182 from dotCooCoo/docs/roadmap-current
Docs: ROADMAP matches what main ships
2026-12-03 07:19:16 -08:00
dotCooCoo 7e8c6bae5c Merge main into feat/scripts-api-layer-path-items 2026-12-03 02:24:07 -08:00
dotCooCoo f5f984d7a9 Merge main into feat/scripts-api-d5-swatches-symbols 2026-12-03 01:55:44 -08:00
dotCooCoo 0313f86491 Docs: name layer and group pathItems in the roadmap 2026-12-02 23:53:38 -08:00
dotCooCoo e62b425aa9 Merge main into feat/scripts-api-d5-swatches-symbols 2026-12-02 21:51:58 -08:00
dotCooCoo 72e99d1c3b Merge main into feat/scripts-layer-text-frames 2026-12-02 21:17:26 -08:00
dotCooCoo 192c015f09 Merge main into feat/scripts-api-d5-swatches-symbols 2026-12-02 18:27:53 -08:00
dotCooCoo c1470adfc6 Merge main into feat/scripts-text-paint 2026-12-02 18:14:59 -08:00
dotCooCoo e4e6dd517d Merge main into feat/scripts-layer-text-frames 2026-12-02 17:49:12 -08:00
dotCooCoo 80eb658aa9 Merge main into feat/scripts-layer-text-frames 2026-12-02 14:12:48 -08:00
dotCooCoo 3140831da9 Merge main into feat/scripts-text-paint 2026-12-02 13:57:18 -08:00
dotCooCoo 499055bbbd Tools: show Edit Toolbar alone in the one-column rail
The one-column Tools rail stacked Search above Edit Toolbar in its
footer. The extra row made the default rail taller than a 1000 pt
window holds, so the rail scrolled and Edit Toolbar was out of view.

A one-column rail now shows Edit Toolbar alone. Search Commands stays
in the title bar, Help > Search Commands... and its shortcut. The
two-column rail keeps Search beside Edit Toolbar.

Tests: one_column_rail_shows_edit_toolbar_in_a_1000_point_window; the
#8758 layout test checks the one-column footer, and the search query
test runs on the two-column rail.
2026-12-02 13:16:38 -08:00
dotCooCoo ad1964c864 Merge main into feat/scripts-api-d5-swatches-symbols 2026-12-02 13:09:16 -08:00
ruchirguitar 750bf94b59 Web: Gujarati can be chosen as the interface language
The web build had no Gujarati face, so it never offered Gujarati: the
language gate looked only at embedded craft-fonts faces, and web builds
embed only BIZ UDPGothic.

- crates/text/web-fonts.txt lists Noto Sans Gujarati Regular as a
  `demand` face, like Noto Sans Devanagari for Hindi: served beside the
  wasm under fonts/ui/ and fetched by the interface font stack when its
  text needs Gujarati, never at startup or in the background queue.
- The Gujarati gate counts an embedded Gujarati face, or on the web a
  served one (SERVED_FONTS); desktop behaviour is unchanged.
- Tests: web_fonts_follow_the_list expects the new demand face;
  web_offers_gujarati_with_the_served_gujarati_face checks that a web
  build with only the served face offers `gu`;
  web_gujarati_face_covers_the_gujarati_catalog checks that the served
  face alone draws every Gujarati character of the catalog.

Docs: gaps.md (G16), localization-parity.md, roadmap.md,
target-app-parity.md.
2026-12-02 19:33:51 +05:30
dotCooCoo 8798591572 Scripts: closing an empty path refuses one on a locked artboard
PathItem.closed on an empty path checked only that the path was
editable, so an empty path in a group on a locked artboard accepted
closed = true. The setter now uses the same check as other path edits;
an assignment of the value the path has still does nothing.

Also splits the M14 roadmap row that a merge joined with the next row.
2026-12-01 12:22:18 -08:00
dotCooCoo 87ef847f14 Merge main into feat/scripts-text-paint 2026-12-01 04:42:44 -08:00
dotCooCoo 2c753edc01 Merge main into feat/scripts-layer-text-frames 2026-12-01 04:40:47 -08:00
dotCooCoo 9c99e21f2b Merge main into feat/scripts-api-d5-swatches-symbols 2026-12-01 04:36:50 -08:00
dotCooCoo 1612fa7047 Merge main into feat/scripts-api-d8b-tracing 2026-12-01 02:46:12 -08:00
dd1f4d2936 Tools: add search beside Edit Toolbar (#8770)
* Tools: add search beside Edit Toolbar

Open the existing tool-aware command palette from the Tools footer, preserving the customization button and fitting both column layouts.

Closes #8758.

* Format the toolbar Search interaction regressions

* Format the native Search tooltip expectation

* Use the current stroke paint API in Properties

* Scope app-bar test lookups to the title bar

---------

Co-authored-by: FredApps <[email protected]>
Co-authored-by: FredApps <[email protected]>
2026-12-01 11:34:49 +01:00
dotCooCoo 84783b2e17 Merge main into feat/scripts-api-d5-swatches-symbols 2026-11-30 20:14:15 -08:00
dotCooCoo 7b6c730df6 Merge main into feat/scripts-api-d8b-tracing 2026-11-30 15:48:31 -08:00
dotCooCoo 59eff04041 Merge main into feat/scripts-text-paint 2026-11-30 15:21:19 -08:00
dotCooCoo ef52adf1b6 Merge main into feat/scripts-layer-text-frames 2026-11-30 15:18:10 -08:00
.CooCoo cb0a23d293 Merge pull request #9052 from dotCooCoo/feat/scripts-api-d6-save-export-open
Scripts: documents save, export and open through Document.saveAs, exportFile and app.open
2026-11-30 14:36:03 -08:00
dotCooCoo 82cebc5190 Merge main into feat/scripts-api-d5-swatches-symbols 2026-11-30 13:57:55 -08:00
dotCooCoo c1af5511fb Merge main into feat/scripts-api-d8b-tracing 2026-11-30 11:24:27 -08:00
dotCooCoo 312bee4731 Merge main into feat/scripts-layer-text-frames 2026-11-30 11:04:44 -08:00
dotCooCoo 8a5f206e3c Merge main into feat/scripts-api-d6-save-export-open 2026-11-30 10:55:42 -08:00
dotCooCoo af973b54f7 Merge main into feat/scripts-api-d5-swatches-symbols 2026-11-30 10:19:30 -08:00
dotCooCoo 2821f7d2b9 Scripts: fix review points on layers and artboards
- hasSelectedArtwork = true on a layer with nothing to add runs no
  command even when the selection already holds more than 10,000
  objects; a layer whose art would take the selection past the limit
  still throws a RangeError.
- artboards.insert() returns undefined.
- Reflection gives Artboards.index an Artboard result and any key, and
  PageItems.parent any type, since layers, groups and compound paths
  have their own collections.
- The node.move test now requires the move of a clipping path to its
  own place to succeed, and the opacity test changes the item whose
  opacity it set.
- docs/mcp.md and the M13 roadmap line describe the changes and list
  Document.pathItems as available.
2026-11-30 09:50:18 -08:00
dotCooCoo ecdbad2d33 Merge main into fix/engine-tests-into-it 2026-11-30 08:18:55 -08:00
dotCooCoo 81cc0fc797 Tests: nine engine integration test files join the tests/it binary
blend_render_consistency, direct_handle_mirror, ellipse_drag_anchors,
eraser_open_fill, group3_reference, path_fill_hits, pen_space_handle,
preflight and scissors_snap were each a test binary of their own. They
now are modules of crates/engine/tests/it, with their tests unchanged,
so the engine's tests link nine fewer binaries.

The files that stay separate change process-wide state (installed
plug-ins, Safe Mode, the font database, color settings, the working
directory), are run by name from CI or xtask (the Affinity corpus
tests, script_corpus, import_fuzz), or compile for about a minute on
their own (command_sweep), which would make every edit to tests/it
rebuild it.

Docs that named the old paths name the new ones, and the preflight
command in docs/production-preflight.md runs `--test it preflight::`.
2026-11-30 06:19:13 -08:00
yoriswind 3d0183495c Merge upstream panel harness changes for Layers appearance markers 2026-11-30 05:40:00 -08:00
dotCooCoo a447847245 Merge main into feat/scripts-layer-text-frames
Main took its own host class engine, member descriptions for reflect, a
topmost-first pageItems order, revert-aware handles and the New Document
More Settings rework. The merge keeps main's versions of crates/js and
crates/ui-egui/src/dialogs/new_document.rs and moves the branch onto them:

- The layers, groups, compound paths and artboards members carry their
  reflect types, and Layer gains toString. The Layer class from layers.rs
  replaces main's name-only Layer class.
- Layer, Layers, Artboard and container collection handles carry the
  document's revert count, so they go stale after File > Revert as page
  items do (a layer then throws "Stale page item", as main's tests expect).
- A layer's or group's pageItems and the GroupItems and CompoundPathItems
  collections read names, index and toString as the document's pageItems
  does on main.
- controlBounds keeps the branch's rule (anchors and handles of shown
  paths, a clip group's clipping path only) and main's zeros for an empty
  object.
- areaText and pathText into a layer or group keep main's threading.
- group.clipped is refused on a locked artboard, a compound path keeps
  itself when its pathItems are cleared, a path in a locked layer is not
  converted into a layer's textFrames, layers.removeAll refuses more rows
  than layer.delete takes, and a path moved into a pixel-aligned compound
  path is snapped.
- A compound path's pathItems read the typename PageItems, the class they
  are, and the TextFrames reflect types name a TextFrame from index and any
  type from parent.

Tests whose rule main changed now assert main's rule: pageItems and
textFrames list topmost first, an empty selection is an empty list, a
segment-only path is restored with no anchors (the objects stay selected,
order not asserted), and the members not available yet are swatches, not
views or layers. The branch's tests of its own host class engine in
crates/js were dropped with that engine, since main's implementation
replaces it.
2026-11-30 04:27:16 -08:00