Commit Graph
895 Commits
Author SHA1 Message Date
.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 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
HassanKhan be0e3bcb0f Merge remote-tracking branch 'upstream/main' into fix-8753-draw-inside-stroke
# Conflicts:
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-12-05 00:02:29 +05: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