Commit Graph
1176 Commits
Author SHA1 Message Date
.CooCoo 85bd77b528 Merge pull request #9315 from dotCooCoo/feat/scripts-export-for-screens
Scripts: Document.exportForScreens writes artboards, assets or the document into a folder
2026-12-04 17:59:22 -08:00
.CooCoo ed6fdd9f8d Merge pull request #10646 from dotCooCoo/fix/gaps-scripts-tracing-line
Docs: gaps.md no longer lists script tracing as missing
2026-12-04 10:35:31 -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
FredApps 44ffd596e8 Merge branch 'main' into feat/gujarati-web-ui 2026-12-04 10:28:06 +01:00
.CooCoo 3613c7f657 Merge pull request #10781 from dotCooCoo/fix/direct-select-ctrl-handle-mirror
Direct Selection: Ctrl held before pressing a handle mirrors the opposite handle
2026-12-04 01:17:57 -08:00
f29fe10c32 Retype: add a context menu to matching-font rows (#10594)
* Retype: add a context menu to matching-font rows

A secondary click, or Shift+F10 on the focused row, selects a font row in
the Retype panel without setting its font and opens a menu with Apply Font
(what a click on the row does; off without live text selected), the panel
menu's sample sizes and Reset Retype Panel. The menu closes when the list
or the document changes (G12).

* Rerun CI: the apt package download failed in a test shard's setup

---------

Co-authored-by: ruchirguitar <[email protected]>
Co-authored-by: FredApps <[email protected]>
2026-12-04 10:11:49 +01:00
dotCooCoo 5e2accc988 Merge main into fix/gaps-scripts-tracing-line 2026-12-04 00:55:56 -08:00
ruchirguitar 227df7a41c Merge main into feat/5547-show-missing-links 2026-12-04 09:44:42 +05:30
dotCooCoo ae6a55ffac Merge main into fix/direct-select-ctrl-handle-mirror 2026-12-03 19:49:34 -08:00
dotCooCoo 48ef8740e9 Direct Selection: Ctrl held before pressing a handle mirrors the opposite handle
With Direct Selection chosen, Cmd/Ctrl lends the Selection tool for the
press. That loan also took presses on the end of a shown direction handle,
so a Ctrl-drag on a handle moved the whole object (and anything selected
with it), or drew a marquee where no object was under the handle. Only Ctrl
added after the drag began mirrored the opposite handle.

A new Tool::keeps_cmd_press lets the active tool keep a Cmd/Ctrl press.
Direct Selection keeps one without Alt on the end of a shown handle of a
path, of type on a path, or of a selected blend spine anchor, so the drag
mirrors the opposite handle, with Shift constraining it. The session's
lent_tool_at asks it, so the press, the cursor and the status bar agree. A
press elsewhere, on a handle of the bounding box the lent Selection tool
shows, or with Cmd+Alt (Group Selection) is still lent as before.

docs/gaps.md and docs/ui-parity.md describe the press.
2026-12-03 11:33:13 -08:00
dotCooCoo 644a4e6b8c Merge main into feat/scripts-export-for-screens 2026-12-03 11:15:24 -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
ruchirguitar 4aa5732620 Merge upstream main into SVG Interactivity menu 2026-12-03 22:17:30 +05:30
.CooCoo afa90dff40 Merge pull request #10552 from dotCooCoo/fix/svg-pixel-size-not-zero
SVG export: a small positive pixel size is not written as 0
2026-12-03 07:27:33 -08:00
dotCooCoo 8714ec7731 Scripts: rasterize refuses sources clipped differently, capture checks file identity
- object.rasterize with ids refuses objects whose nearest clip group or
  clipped layer differs, before rendering: the image goes where the last
  object is, so mixed sources would be clipped by another object's path.
- Document.rasterize reads the image id from the command's result inside
  the run's savepoint, so an id above 2^53 binds the new RasterItem and a
  missing id undoes the edit.
- Document.imageCapture refuses a destination that is another name of an
  open document's file or a linked file (same device and inode, or same
  volume and file index), and on Unix any file with other hard links,
  which an in-place write would change under every name.
- Docs: gaps.md and target-app-parity.md list what rasterizing and
  capturing still lack; mcp.md states the clipping rule, the hard-link
  rule and that a later OS write failure can leave some files written.
2026-12-02 20:10:56 -08:00
dotCooCoo a7c7dae179 Merge main into feat/scripts-api-d8c-rasterize-capture 2026-12-02 17:25:26 -08:00
dotCooCoo dd62352a8a Merge main into feat/scripts-export-for-screens 2026-12-02 17:20:50 -08:00
dotCooCoo f52ff9b4ec Docs: gaps.md no longer lists script tracing as missing
The Scripts entry said tracing images from scripts was still missing and
listed placed and raster images twice. Scripts trace images with
`trace()` since #9062 (`crates/engine/src/script/dom/tracing.rs`), as
the same entry says a few lines later, so the earlier sentence drops the
duplicate and the stale claim. Rasterizing and capturing images stay
listed as missing.
2026-12-02 17:08:07 -08:00
dotCooCoo 0a2d25e334 Merge main into feat/scripts-export-for-screens 2026-12-02 17:00:47 -08:00
.CooCoo 5d8deddaf0 Merge pull request #9048 from dotCooCoo/feat/scripts-api-d3-layers-artboards
Scripts: documents give scripts their layers, groups, compound paths and artboards
2026-12-02 16:50:47 -08:00
.CooCoo e72ff7480d Merge pull request #9062 from dotCooCoo/feat/scripts-api-d8-placed-raster
Scripts: documents give scripts their placed and raster images
2026-12-02 16:07:47 -08:00
dotCooCoo b47eaf582c Merge main into feat/scripts-api-d8-placed-raster 2026-12-02 14:14:45 -08:00
dotCooCoo 326c88a8f3 Merge main into feat/scripts-api-d3-layers-artboards 2026-12-02 14:12:01 -08:00
dotCooCoo e8ec89cbb1 Merge main into feat/scripts-export-for-screens 2026-12-02 14:09:48 -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 82ed3b1d70 Merge main into feat/scripts-api-d8-placed-raster 2026-12-02 11:57:33 -08:00
dotCooCoo cd3a0da644 Merge main into feat/scripts-api-d3-layers-artboards 2026-12-02 11:39:00 -08:00
ruchirguitar 54f19989bc SVG Interactivity: add a context menu to event rows
A right-click on an event row, or Shift+F10 on the focused row, picks that
event and offers Remove Event, Clear Events and Link JavaScript Files..., the
same commands as the footer and the panel menu (G12).
2026-12-02 21:27:10 +05:30
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 90212adefd SVG export: a small positive pixel size is not written as 0
In a pixel document, or with Units set to Pixels, the root `width` and
`height` were rounded to the chosen decimals, so a size below half the
last decimal place was written as 0 while the `viewBox` kept a positive
value. Both now keep enough digits to stay positive, and sizes that need
more than 14 decimal places are written in scientific notation, so two
tiny sides keep their proportions.
2026-12-02 02:05:08 -08:00
dotCooCoo 4bcdc5d77c Merge main into feat/scripts-api-d8b-tracing 2026-12-02 01:26:36 -08:00
dotCooCoo 625c9949fb Merge main into feat/scripts-export-for-screens 2026-12-02 00:38:39 -08:00
BFlat 1e8e27fa16 Merge pull request #10481 from ruchirguitar/glyphs-cell-menus
Glyphs: right-click a cell to insert or apply it
2026-12-02 11:47:24 +07:00
FredApps 5a4a558f5c Merge branch 'main' into svg/export-length-unit 2026-12-02 00:29:33 +01:00
dotCooCoo 172a6c6c99 Merge main into feat/scripts-export-for-screens 2026-12-01 13:57:07 -08:00
dotCooCoo b0dff71845 Merge main into feat/scripts-api-d3-layers-artboards 2026-12-01 09:03:42 -08:00
dotCooCoo a0c0bce325 Merge main into feat/scripts-api-d8-placed-raster 2026-12-01 02:55:47 -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
RuchirandCursor f5962eb161 A right-click on a Glyphs cell inserts or applies that glyph.
The menu item does what a double-click does, and stays disabled when the glyph cannot be applied.

Co-authored-by: Cursor <[email protected]>
2026-12-01 06:43:18 +05:30
dotCooCoo 406a612d7b Merge main into feat/scripts-export-for-screens 2026-11-30 16:01:57 -08:00
dotCooCoo 7b6c730df6 Merge main into feat/scripts-api-d8b-tracing 2026-11-30 15:48:31 -08:00
dotCooCoo 8e682687ce Merge main into feat/scripts-api-d8-placed-raster 2026-11-30 15:39:04 -08:00
dotCooCoo 6d4454a73e Merge main into feat/scripts-api-d3-layers-artboards 2026-11-30 15:22:46 -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 24bd70fa08 Merge main into feat/scripts-api-d3-layers-artboards 2026-11-30 11:45:53 -08:00
dotCooCoo 6041799f16 Merge main into feat/scripts-api-d8-placed-raster 2026-11-30 11:41:46 -08:00
dotCooCoo 8842f0ac6f Merge main into feat/scripts-export-for-screens 2026-11-30 11:32:01 -08:00
dotCooCoo c1af5511fb Merge main into feat/scripts-api-d8b-tracing 2026-11-30 11:24:27 -08:00
dotCooCoo 8a5f206e3c Merge main into feat/scripts-api-d6-save-export-open 2026-11-30 10:55:42 -08:00