Commit Graph
1145 Commits
Author SHA1 Message Date
FredApps d3fcb375c1 Parity checklist: headless counts (RFC-0052) (#3291)
* parity: headless counts in the summary (RFC-0052)

* Add the Headless header cell to the parity rows table
2026-11-27 23:32:05 +01:00
FredApps 411c647b38 Merge branch 'main' into perf/list-numbering-starts 2026-11-26 18:55:33 +01:00
FredApps 6ea5cc37c7 Merge branch 'main' into croatian-hyphenation 2026-11-26 18:37:31 +01:00
FredApps 585dafc3bf Merge remote-tracking branch 'origin/main' into rr-1280
# Conflicts:
#	crates/engine/src/tests.rs
2026-11-27 00:26:07 +07:00
FredApps a5cefba603 Merge branch 'main' into rtl-features 2026-11-26 18:24:01 +01:00
FredApps 770dbed9a5 Merge branch 'main' into fix/2338-anchored-text-frames 2026-11-26 18:06:59 +01:00
FredApps d7eb051b3e Merge branch 'main' into croatian-hyphenation 2026-11-26 17:52:00 +01:00
FredApps 1a59e0b1e5 Merge branch 'main' into rtl-features 2026-11-26 17:49:40 +01:00
FredApps f3b71a2d3f Merge remote-tracking branch 'origin/main' into rr-1280 2026-11-26 23:22:11 +07:00
FredApps 5167263136 Merge main into rtl-features (prefs.set help lists rtlFeatures and main's saveFormat; Preferences confirm saves both) 2026-11-26 23:19:34 +07:00
FredApps 2e970e0540 Merge remote-tracking branch 'origin/main' into rr-2343 2026-11-26 23:18:11 +07:00
FredApps 445050b173 Merge remote-tracking branch 'origin/main' into rr-2890
# Conflicts:
#	ROADMAP.md
#	docs/ui-parity.md
2026-11-26 23:16:21 +07:00
FredApps ba8c4e3634 Merge remote-tracking branch 'origin/main' into rr-2425
# Conflicts:
#	ROADMAP.md
2026-11-26 23:14:00 +07:00
FredApps 352afe73a8 Merge remote-tracking branch 'origin/main' into pr-1423
# Conflicts:
#	docs/ui-parity.md
2026-11-26 22:15:19 +07:00
FredApps d812526472 Merge branch 'main' into web-relink 2026-11-26 15:51:28 +01:00
FredApps c970c4d0dd Merge branch 'main' into feat/story-editor-paragraph-break-marks 2026-11-26 15:34:51 +01:00
FredApps ccaf94825f Merge main into web relink (Relink to Folder: main's folder picker on the desktop, the browser's file picker on the web) 2026-11-26 21:04:50 +07:00
FredApps 2a0ee2a25e Merge branch 'main' into fix/1994-hidden-character-visibility 2026-11-26 13:44:01 +01:00
skylar taylor-barrick f5c004a848 Switch on supervised nightlies on the nightly-signer branch (#3250)
Supervised nightly switch-on, merged under Skylar's explicit Nightly 758 override after green CI, CodeRabbit on this head with no open threads, Sonar passing, and an independent adversarial review with no blockers.
2026-11-25 20:44:19 -06:00
Dylan M. Taylor cdd650ccdd packaging(linux): support co-installable nightly packages (#3206)
Linux nightly packaging by @dylanmtaylor, with the per-app Nightly flavor commits stacked on his branch.

Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com>
2026-11-24 19:16:55 -06:00
Weyert de Boer 094281926a Merge branch 'main' into fix/2338-anchored-text-frames 2026-11-24 16:45:37 +09:00
211b667594 Text: validate explicit targets before reading or editing a story (#1809)
* Text: validate explicit story targets before selection fallback

* Text: allow explicit story targets without a selection

* Text: allow explicit targets with an empty selection

---------

Co-authored-by: sky <hi@sky.cc>
Co-authored-by: skylartaylor <skylartaylor@users.noreply.github.com>
2026-11-23 09:39:36 -06:00
skylar taylor-barrick 2d9b83b48e fix(links): preserve freshly placed artwork on immediate save (#3143)
Record a content hash from the placed bytes when no reliable timestamp is available. Keep proxy generation and ordinary link hashing in the worker.
2026-11-22 14:45:03 -06:00
Ramiro Roig e8995de528 Perf: build list/footnote/endnote numbering starts once per document version
Cross-story list numbering searched the whole item tree per story and per
list on every composition-cache lookup, so a 677-story IDML with 8
continuing lists took 69 s to compose and ~2 s per repaint or keystroke.
Document::number_starts now orders stories by page in one pass and the
compose cache keeps the result per document version (69 s -> 37 ms).
2026-11-22 09:46:12 +01:00
Claude cdd8564c61 Merge remote-tracking branch 'upstream/main' into web-relink 2026-11-20 18:14:25 +00:00
Mendi Marantz 21a8c71a87 Merge main into rtl-features 2026-11-20 16:40:19 +02:00
Markus Reimr f01c92b016 UI1994: merge main and document hidden-character visibility in status lines 2026-11-19 18:10:16 +01:00
.CooCooandCodex 209c8ab919 Dependencies: unify craft-libs at 30a568b97 for shared cutovers (#2889)
* Dependencies: take craft-libs main at 3af718585c

Every craft-libs dependency and patch in Cargo.toml now uses one
revision, craft-libs main at 3af718585c60d8e9bab05c241d7a28282c61f85c.
Cargo.lock changes only craft-libs packages.

The newer crates need these changes:

- craft-xml is at one revision, so the craft-xml-dtd alias is removed
  and the DTD adapter uses craft_xml::dtd.
- craft-svg's gradient paint carries its stops and its pattern paint
  carries its tile. Paste uses the first stop's color as before, and
  skips embedded image nodes, which the scene still counts for the
  paste warning.
- craft_svg::sniff::viewbox_size came from a craft-libs commit that is
  not in main. The IDML importer keeps the same bounded viewBox sizing
  as a local function and no longer depends on craft-svg.
- craft-svg's Limits has tree_depth, the depth after references such as
  <use> are followed. Images set it to MAX_SVG_DEPTH, and a test checks
  that a long <use> chain is refused.
- craft-ui adds the flyout width and top layout actions, which the
  iconic dock sends when a flyout's side or top edge is dragged.
  window.panel.layout rejected every action it did not list, so both
  are now checked like the other per-panel actions. A test checks that
  they are kept for a registered panel and refused for an unknown one.

* Panels: a group docked back keeps its flyout's width and top

craft-ui at 3af718585c saves a dock group's flyout width and top when the
group floats and restores them in its own restore path. Dock Panel for a
group that floated as a whole goes through DesignCraft's own path, which
replayed the height, minimized state and column but not the two flyout
values, so a widened or moved flyout came back at its default size and
place. The path now replays ResizeFlyoutWidth and MoveFlyoutTop with the
other saved state.

The images test's doc comment gives the nesting depth of its `<use>`
chain as four levels, counting the root as one.

* PDF: pdf-deps expects craft-libs 3af718585c

`cargo xtask pdf-deps` checks that craft-pdf, Krilla and the Hayro
crates resolve to one craft-libs revision named in xtask. The workspace
now takes them at 3af718585c, so the check expects that revision, and
docs/pdf-backend.md names it.

* IDML: a placed SVG with a byte order mark keeps its viewBox size

The importer's viewBox sizing looked for `<` as the first byte, so a
linked viewBox-only SVG that starts with a UTF-8 byte order mark was
placed at its GraphicBounds instead of its viewBox size. The mark is now
skipped first.

* Tests: the discarded-pass input test clears its texture changes

discarded_pass_does_not_acknowledge_injected_input dropped its frame
output without clearing textures_delta, so epaint panicked on drop
whenever the frame carried a texture change. With craft-ui at
3af718585c it failed in 2 of 3 full ui-egui test runs. The test now
clears it, as the tests around it do.

* Dependencies: take craft-libs crates from craft-libs main at 453b0da782

Every craft-libs git dependency and [patch.crates-io] entry moves from
3af718585c to 453b0da782, and xtask pdf-deps and docs/pdf-backend.md
name the new commit.
Cargo.lock changes only the source revision of the 50 craft-libs
packages; no package is added or removed and no registry package
changes version.

craft-update now inspects a release the app offers on a thread of its
own (storytold/craft-libs#1149), so the prompt opens at a later tick
instead of inside offer. updates_ui's startup_prompt_shows_and_closes
waits for that answer: it ticks on each immediate repaint request the
offer's thread makes until the prompt is open.

* Updates: the startup prompt test fails instead of waiting forever

offer_and_wait waits for the one immediate repaint the offer's thread
requests after it answers, ticks once, and then asserts that the prompt
is open. Before, it waited for a repaint after every tick, so an offer
that ended without a prompt (the launcher pinning the app while the
files were read) blocked the test instead of failing it.

NOTICE names craft-libs 453b0da782 as the source of the patched Hayro
crates, the revision Cargo.toml fetches them at, adds hayro-postscript,
which is patched from the same revision, and names the PdfCraft
revision the snapshots were re-synced to.

* IDML: a placed SVG's viewBox size comes from its root tag alone

svg_viewbox_size reads only the root's start tag instead of parsing the
whole file, so placing the same large linked SVG many times no longer
parses it each time. Files over 16 MiB still give no size. A viewBox
with a value that is not a number, such as "0 0 junk 200 100", now
gives no size, so the frame's GraphicBounds size the graphic; before,
the bad value was dropped and the other numbers were read as the
viewBox.

* IDML: a placed SVG's root tag is read with craft-xml's first_start

svg_viewbox_size reads the root's start tag with Options::first_start and a
pattern that matches any name, in place of its own event loop. A file whose
root is not an svg element still gives no viewBox size; the placement test has
a case for it.

* Cargo: drop the unused craft-xml-dtd alias again

The merge of main kept the craft-xml-dtd alias at craft-libs a5ac3aa05c, which this branch had removed. No crate uses it, and Cargo.lock does not change.

* chore: resolve shared BMP dependency pin with Cargo [skip ci]

* test(color): align FOGRA39 references and isolate no-BPC accuracy [skip ci]

---------

Co-authored-by: Codex <codex@openai.com>
2026-11-19 22:45:28 +07:00
AlPaka1234 a77656acad Merge main into fix/2880-bottom-aligned-resize 2026-11-19 09:46:46 +00:00
Mendi Marantz 030322cc32 Merge main into rtl-features
# Conflicts:
#	ROADMAP.md
2026-11-18 23:24:40 +02:00
Dylan M. Taylor 77de9c4f5f Place: reconcile PSD resolution with shared parser
Preserve Josef Mlčůch’s PSD placement work and tests while adapting resource lookup to the current shared zero-copy HeadView and ResolutionInfo. Keep current main decoding and sanity limits.
2026-11-18 15:27:36 -05:00
Markus Reimr 5d16cd0499 UI1994: merge main and preserve current hidden-character rendering 2026-11-18 17:26:44 +01:00
dotCooCoo f1d3d14e7d Merge main into feat/story-editor-paragraph-break-marks 2026-11-18 07:28:12 -08:00
.CooCoo 14fb342b26 Story Editor: View › Story Editor › Show/Hide Style Name Column, and a draggable column width (#1797)
View › Story Editor › Show/Hide Style Name Column shows or hides the
column of paragraph style names. The column width can be dragged
between 40 and 400 points, and the bar follows the pointer back from
those limits. The setting is remembered.
2026-11-18 20:00:41 +07:00
FredApps 6428460a7e Merge branch 'main' into web-relink 2026-11-18 19:35:57 +07:00
FredApps a612af91c7 Merge branch 'main' into link-badge 2026-11-18 19:35:42 +07:00
Hamza Naveed 0c90568d97 Hyphenation: a Korean word or an address is not broken by English rules (#1754)
A whitespace-delimited token that carries Hangul, kana or Han, or that
reads as an address, is not hyphenated by English rules. Breaking at a
hyphen the author typed is still allowed. The ligature / visible-source
follow-up is in #2196 and #2197.

Fixes #1688.
2026-11-18 19:35:21 +07:00
FredApps 8381c068f7 Merge branch 'main' into web-relink 2026-11-18 19:05:39 +07:00
FredApps b45b2fb225 Merge branch 'main' into link-badge 2026-11-18 19:05:25 +07:00
autocraft-bot[bot] 511d5edd27 Apply review fixes
- crates/engine/src/cmd/links.rs
- docs/linked-artwork.md
2026-11-18 11:30:55 +00:00
autocraft-bot[bot] 7d14467f8c Merge main into croatian-hyphenation 2026-11-18 11:26:29 +00:00
Weyert de Boer 57890e43c2 Scroll overflowing document tabs (#2357)
Document tabs that overflow the bar scroll (trackpad, wheel, or arrows), keep the active tab in view, and list every open document in a menu.

Fixes #2358.
2026-11-18 18:08:50 +07:00
FredApps 0c525a6b6d Merge branch 'main' into feat/story-editor-paragraph-break-marks 2026-11-18 17:43:39 +07:00
FredApps a72c54d79e Merge branch 'main' into link-badge 2026-11-18 17:43:28 +07:00
Adithya Shankaran 697279c56f Automation roots: refuse a network, device or non-disk verbatim path before the file system is asked about it (#2799)
Refuse UNC, device and non-disk verbatim paths in automation roots by their form, before any file-system lookup, and judge each symlink from its own text. This closes the NTLM/WebDAV leak where canonicalize was asked about a path first.
2026-11-18 16:31:52 +07:00
.CooCoo 13bd801db2 Tables: Cell Options › Diagonal Lines draws diagonal lines across cells (#1793)
Adds Cell Options › Diagonal Lines so cells can be drawn with diagonal lines. The dialog applies only to the cells and document it opened for, and PowerPoint export writes the diagonals as cell borders. Includes Swedish catalog rows for the new strings.
2026-11-18 16:31:13 +07:00
makesomethingshit b1bf440cbb fix(fonts): discover named instances before listing paragraph styles (#1246)
For a catalog-only variable family, named instances are discovered before the Font Style combo and the Family menu list their styles, so the first opening is complete. Styles are cached once per popup opening. Synthetic fvar regressions run by default.

Related to #1210.
2026-11-18 16:30:06 +07:00
AlPaka1234 76d8b7f6bc 2880: keep bottom-aligned text anchored when fitting or resizing from top
- Pass the opposite local reference point (ref 0..=8) from SelectionTool handle double-clicks into object.fit (omitting ref on mixed-orientation multi-selections).
- Add ref?: 0..8 anchoring to object.fit (fitFrameToContent) and default vertical text-frame fitting to the edge implied by vertical justification (bottom/center) while preserving non-rectangular frame paths such as ovals.
- Pin the unchanged edge in transform.resize before clamping scale at 1e-3 or flipping, and validate finite bounds and resulting transforms.
- Add unit and SelectionTool integration regression tests covering handle double-clicks, rotations, drags, clamped drags, flips, overset growth, right alignment with inside stroke/inset, ovals, and undo.
2026-11-16 20:48:57 +00:00
Mendi Marantz a97204cbe3 Merge main into rtl-features
# Conflicts:
#	contributors/people.toml
2026-11-16 21:46:11 +02:00
autocraft-bot[bot] dd87691e9e Merge main into fix/2338-anchored-text-frames 2026-11-16 08:59:41 +00:00