Commit Graph
1155 Commits
Author SHA1 Message Date
.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
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
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
.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 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
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 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 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 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
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 4092a8b10b Docs: gaps.md matches what main ships
Lines that called shipped work missing, pending or unconfirmed now say
what main has: the key anchor for Align and Distribute (#7769, #8023),
artboard colors in exports and print (#4991), update checks (#4138),
Touch Type, Snap to Glyph, ruby, kinsoku sets and tate-chu-yoko, the
file-font and read-only save regressions passing in #4569 and #6671,
and the Wayland cursor and Windows title bar fixes the reporters
confirmed (#1645, #1758). The built-in brush library count and list
match the twenty libraries in brushlib.rs, and the Preferences count
matches the two options still listed under Missing.
2026-11-29 18:44:15 -08:00
FredApps cee1624df4 Merge current main into SVG export length-unit branch 2026-11-30 02:59:35 +01:00
dotCooCoo b1e9a4cbb3 Merge main into feat/scripts-api-d6-save-export-open
main's Document member list held saveAs and close as members that are not
available yet; this branch's save_open members implement them, so the
merge drops them from that list and keeps main's other entries. The
script host test lists take main's members together with this branch's
open, userInteractionLevel, fullName, path, saved and option classes,
and the heap accounting keeps main's ModuleNamespace arm beside the
FsEntry string arm.
2026-11-29 14:13:21 -08:00
dotCooCoo 7865be34a0 Merge main into feat/scripts-api-d8-placed-raster 2026-11-29 14:09:48 -08:00
dotCooCoo 52879dd78f Merge main into feat/scripts-api-d3-layers-artboards 2026-11-29 14:02:24 -08:00
dotCooCoo 68ac11f96e Merge main into feat/scripts-api-d8b-tracing
# Conflicts:
#	docs/target-app-parity.md
2026-11-29 13:43:24 -08:00
dotCooCoo 73499bb62f Merge main into feat/scripts-api-d8b-tracing 2026-11-29 09:57:07 -08:00
dotCooCoo 34379e0dda Merge main into feat/scripts-api-d8-placed-raster 2026-11-29 09:34:36 -08:00
ruchirguitar a4659724f6 Merge main into feat/spell-check
Cargo.toml: #10049 moved craft-libs to 186a229c; the font store crates this
branch adds move with it, so every craft-libs crate stays at one rev.
2026-11-29 22:41:45 +05:30