Commit Graph
3506 Commits
Author SHA1 Message Date
FredApps be56b5f1bb Merge remote-tracking branch 'origin/main' into fix/builtin-styles-bcs-ics-4198 2026-11-18 16:35:11 +07:00
naxvog 7831216b2c Borders: lines meet in closed corners, as in Word
Border lines meet in closed corners, as in Word, including after the side-border geometry from #5036.

Originally authored by @naxvog in #1757.
2026-11-18 16:33:13 +07:00
NetterSilver 73b999ec89 Say in the placeholder when a picture is too large to decode
When a picture is too large to decode, the placeholder now says so, instead of a plain broken box.

Originally authored by @Silvertree2010 in #5638.
2026-11-18 16:30:16 +07:00
pakiat 1e1bd7e002 Fields: PDFs and prints show body PAGEREF pages, as Word fills them in
PDFs and prints show body PAGEREF pages as Word fills them in, including PAGEREF in text boxes and notes, with a second pass once the pages are known.

Originally authored by @pakiat in #5129.
2026-11-18 16:29:51 +07:00
pakiat 5bf3ffb920 Tables: percentage cell widths size their columns whichever rows give them
Percentage cell widths size their columns from whichever rows give them, taking the largest when rows disagree, sharing a merged cell's percentage, and keeping a grid that already matches.

Originally authored by @pakiat in #5074.
2026-11-18 16:29:27 +07:00
pakiat 32b4ab5724 Paragraph dialog: Special box sets First line and Hanging indents
The Paragraph dialog's Special box sets First line and Hanging indents, keeps By when the kind changes, leaves a mixed selection blank, and limits By to 0–22 inches.

Originally authored by @pakiat in #4922.
2026-11-18 16:29:00 +07:00
Thân Minh Nghĩa c3be9f094f #2702: a missing font is drawn in its font table's altName, as Word does
A missing font is drawn in its font table altName, as Word does. The DOCX reader half lives in craft-libs#1426; this is the fonts, layout and settings half.

Originally authored by @Nghiathan13 in #2711.
2026-11-18 16:28:30 +07:00
Bryan Mark c3fe680a0f Fonts: fallback no longer keeps unneeded font families in memory
Font fallback records the file stamp with the first coverage read, so a rescan does not keep loading families that are no longer needed, and a replaced file still invalidates the cache.

Originally authored by @arcanii in #2345.
2026-11-18 16:28:07 +07:00
FredApps b0d3165ede Merge pull request #5096 from dfgodvan/fix/no-break-in-url-query
Layout: no line break after the '?' of a query, nor after a slash before an underscore
2026-11-18 16:24:30 +07:00
Martin BallandClaude Opus 5.5 22a73d9f2d #778: progress log: file formats, codecs and protocols come from craft-libs (#6962)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 21:31:05 +00:00
dfd51a3cdc #778: land the picture-probe and MCP cutovers (#6955, #6956) on main (#6960)
* #778: take craft-libs integration/wordcraft-778 at beeea924

Every craft-libs git dependency (workspace, ui-egui, wordcraft, wordcraft-web,
krilla patch) moves from 453b0da782 to beeea92451 (craft-libs main 0649a07aa
plus open PRs #2061-#2064). Cargo.lock: only craft-libs sources move, plus
windows-sys edge changes inside craft-libs crates; no crates.io versions change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* #778: docx stacking-order test follows the shared reader's one-more z

craft-libs 5f453efa9 (craft-docx: a relativeHeight of 0 stays the lowest
stacking order) reads Float::z as one more than the file's relativeHeight and
writes stored orders one less, so a file's 0 is no longer "none". The test
expected the old values; relative order and the round trip are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* #778: take craft-libs integration/wordcraft-778 at 24a15211

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* deps: pin craft-libs to the merged shared cutover prerequisites

* #778: pin craft-libs main at 93dac78c (with #2061-#2064)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* #778: picture probes use craft-image-codecs (DIB wrapping, JPEG budget, PNG/WebP) (#6955)

* #778: picture: wrap clipboard DIBs with craft-image-codecs' bmp_probe

probe_dib's local dib_to_bmp and dib_layout are replaced by
craft_image_codecs::bmp_probe::{dib_to_bmp, dib_layout}. The shared copies are
the same code; the only change is that they reserve their output fallibly. A
failed reservation in dib_to_bmp (the BMP's bytes can't be allocated) is
Refusal::TooLarge with the size the DIB header declares, the refusal a picture
too large to hold already gets; dib_layout leaves the DIB unchanged then.

The local dib_to_bmp name stays as a thin wrapper returning Result<_, Refusal>.
The old code is kept in the tests as an oracle: wrapping and layout are
byte-equal on thousands of crafted DIBs (core, info, V4, V5 headers, bit
fields, alpha with BI_RGB, every truncation), and probe_dib agrees.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* #778: picture: budget JPEG coefficients with craft-image-codecs

probe's JPEG held-coefficient estimate (jpeg_coefficients, frame_coefficients,
worst_coefficients) is replaced by craft_image_codecs::jpeg_worst_case_coefficients,
which returns the larger of that same estimate and the shared held_coefficients.
So the charge can only grow, never shrink.

It grows for: a SOF0/SOF1 8-bit first frame whose first scan has fewer
components than the frame (the decoder holds the coefficients until the other
scans); and a first-frame SOF2 with sampling factors above 4 (the old rule
clamped them to 4). A real baseline JPEG with all components in its first scan
is charged nothing, as before. With the 512 MiB budget, a 4:4:4 non-interleaved
baseline JPEG is now refused from about 59.6 Mpx instead of 67 Mpx; 4:2:0 and
4:2:2 stay under the RGBA8 conversion and are unchanged.

The old code is kept in the tests as an oracle: the new charge is never less
(crafted headers, every prefix, random damage), equal where the shared rule adds
nothing, and one test pins a case where it grows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* #778: picture: read PNG and WebP probes with craft-image-codecs

The local png_chunks header read is replaced by
craft_image_codecs::png_probe::pixel_model, and the VP8X alpha check in probe
by webp_probe::has_alpha (an error reads as no alpha, as non-RIFF input did).

PNG: for every valid colour type and bit depth, with and without tRNS and an
iCCP chunk, the size, bytes a pixel and alpha are what the old read gave
(PixelModel::bytes_per_pixel is channels * 2 for 16 bits, else channels, with a
palette as RGB and tRNS adding a channel to grey, RGB and palette). pixel_model
is stricter, so these are now refused (probe: Refusal::Broken, dimensions:
None) where the old read measured them: an invalid colour type and bit depth
pair, a zero or past-i32::MAX side, and more than 65,536 chunks before the
image data. None is a valid PNG.

WebP: a bare lossless (VP8L) picture whose header sets alpha_is_used now reports
alpha; the old rule only knew the VP8X flag.

The old PNG read and WebP rule are kept in the tests as oracles.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* #778: picture tests follow craft-image-codecs' DIB fixes

The shared dib_to_bmp no longer adds 12 appended mask bytes to the pixel
offset of 52/56-byte BI_BITFIELDS headers, and dib_layout treats the bytes
after the header as a mask copy only when the payload is longer than the
pixel rows need. The differential test excludes exactly those inputs by
named predicate, asserts the new output for them, and stays byte-equal
elsewhere.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* #778: dib_header_dims uses the shared fallible dib_to_bmp

Calls the shared probe directly so a failed allocation cannot recurse through the refusal wrapper.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

* #778: WordCraft's MCP stdio server runs on craft-mcp-server (#6956)

The JSON-RPC framing, bounded line reading, initialize, ping, tools/* and
resources/* now come from craft_mcp_server::Server; WordCraft keeps its tools,
resources, instructions and backends. The old server.rs stays as a test-only
oracle for a differential test. click/key schemas list every argument the app
accepts, since the shared check refuses unlisted ones.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com>
2026-11-17 22:19:16 +01:00
c39b0e5755 doc: cut legacy encoding tables over to craft-codepage (#6785)
* doc: reuse shared legacy codepage tables with parity tests

* Regenerate codepage dependency ordering in Cargo lockfile

* #778: Cargo.lock: wordcraft-doc depends on craft-codepage after merging main

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Martin Ball <martin.ball@ucscaregroup.co.uk>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 22:19:05 +01:00
d2bfcd4d16 #778: speech: use craft-ssip for the SSIP wire helpers (#6951)
Message encoding, reply framing and final-code parsing now come from the shared crate;
socket discovery, timings, conversation and events stay here.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com>
2026-11-17 22:18:55 +01:00
Martin BallandClaude Opus 5.5 1531007d5e #778: plain-text detection uses craft-mime detect (#6950)
The local is_text/decode/legacy copies in formats::txt are replaced by a re-export of
craft_mime::detect. The old code stays as a test oracle, with differential and random-buffer
tests showing identical output. chardetng stays only as a dev-dependency of that oracle.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 15:47:52 -05:00
30584c81ad #778: pin craft-libs main with the shared cutover prerequisites (#6954)
* #778: take craft-libs integration/wordcraft-778 at beeea924

Every craft-libs git dependency (workspace, ui-egui, wordcraft, wordcraft-web,
krilla patch) moves from 453b0da782 to beeea92451 (craft-libs main 0649a07aa
plus open PRs #2061-#2064). Cargo.lock: only craft-libs sources move, plus
windows-sys edge changes inside craft-libs crates; no crates.io versions change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* #778: docx stacking-order test follows the shared reader's one-more z

craft-libs 5f453efa9 (craft-docx: a relativeHeight of 0 stays the lowest
stacking order) reads Float::z as one more than the file's relativeHeight and
writes stored orders one less, so a file's 0 is no longer "none". The test
expected the old values; relative order and the round trip are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* #778: take craft-libs integration/wordcraft-778 at 24a15211

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* deps: pin craft-libs to the merged shared cutover prerequisites

* #778: pin craft-libs main at 93dac78c (with #2061-#2064)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com>
2026-11-17 15:45:46 -05:00
Aleksander HelgakerandClaude Fable 5.2 8331f2e68d Fonts: tell where a missing font can be downloaded (Get the Missing Fonts) (#6826)
* Fonts: tell where a missing font can be downloaded (Get the Missing Fonts)

A document opened from a file that is missing fonts their publisher gives
away (Microsoft's Aptos family, Cascadia Code and Mono) brings up a box
naming each font, the font drawn instead, the publisher's download page and
how to install the download. Once per document; never for a new document or
one a script opened. "Don't show this again" turns it off (File > Options >
General turns it back on); the status bar's missing-fonts menu opens it by
hand (ui.dialog fontDownload).

font.missing reports the same page as "download", so agents get it without
the box. WordCraft links to the page only: nothing is downloaded or bundled.

The desktop and web apps switch the box on at start-up
(tell_about_font_downloads); tests and ui_shot don't, so what they show
doesn't depend on the fonts installed where they run.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GBVQLv63guWCuWUM3SctPP

* Get the Missing Fonts: the box with nothing to download is one row tall

Its Close button's far-side layout took the rest of the window's height.
The button row is now a row of its own, shared by both forms of the box.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GBVQLv63guWCuWUM3SctPP

* Floating windows: a flat title bar and room around the content

Dialogs, the Read Aloud player and the built-in file browser had a grey
band behind a centred title and 6 pt margins. The title bar is now the
window's own colour with no band or line under it, and the title and the
content have 18 pt of room. The close box follows the new title bar height.

egui fills the front window's title bar with the colour of an open menu
button, so show_window makes that colour the window's while the title bar
is drawn and puts it back before the content is.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GBVQLv63guWCuWUM3SctPP

* Get the Missing Fonts: a headline, a card to each download, numbered steps

The box was a plain table and a paragraph of steps. It now opens with the
warning mark and how many fonts are missing; lists each download once
(Aptos and Aptos Display come in one) with the fonts drawn instead, the
publisher and a Download button that opens the publisher's page; and gives
the two steps that add the download, with Add Font… beside its step.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GBVQLv63guWCuWUM3SctPP

* Fonts: the download pages are a JSON list (font_downloads.json)

The list of fonts their publisher gives away, and each publisher's page,
was a table in the code. It is now crates/fonts/src/font_downloads.json,
built into the app: adding a font is a new entry there. Entries without a
family, a publisher or an https page are left out, and a list that isn't
JSON has no downloads rather than failing.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GBVQLv63guWCuWUM3SctPP

* Get the Missing Fonts: licence notice, and fonts offered with limits

The box says that fonts come with licence terms and that following the
publisher's terms is up to the user. A font whose publisher limits who may
use it is marked "restricted" in font_downloads.json, says so on its card
and in font.missing ("restricted"), and has a card of its own.

The list gains Selawik (Microsoft's open-source font) and, marked
restricted, Segoe UI Variable, Segoe Fluent Icons and Segoe MDL2 Assets
from Microsoft's Windows design downloads page. Plain Segoe UI is not
offered for download and is not matched.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GBVQLv63guWCuWUM3SctPP

* Get the Missing Fonts: the downloads scroll in a short window

With many downloads in a short window the box ran past the bottom of the
screen, leaving the steps, Add Font…, Don't show this again and Close out
of reach. The cards now scroll in the room the window has left, between
96 and 320 pt, and the rest of the box stays in view.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* Get the Missing Fonts: all above the Close row scrolls in a short window

Only the download cards scrolled, within fixed limits, so in a window
shorter than about 480 pt the opt-out and Close could still fall off
screen. Everything above the row with Don't show this again and Close now
scrolls in the room the window has left, and that row stays on screen.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* Floating windows: the flat title bar and wider margins leave this change

Reverts 2d39c54e and its revision-history row. The restyle changes every
dialog, the Read Aloud player and the file browser, and is to be reviewed
on its own.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* Get the Missing Fonts: the headline counts the fonts that can be downloaded

The box lists only the missing fonts with a download, so "1 font in this
document isn't installed" was wrong for a document missing others too. It
now says "1 missing font can be downloaded", and the line under it no longer
mixes one and many.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-17 21:05:13 +01:00
Martin BallandClaude Opus 5.5 1d71d904d2 #778: a clipboard DIB's size is read by craft-image-codecs' BMP probe (#6949)
`dib_header_dims` read a DIB header's width and height by hand. It now
wraps the header's first 12 bytes as a BMP and asks
`craft_image_codecs::bmp_probe::dimensions`. Header sizes other than 12
and 40 or more are still refused here, since the probe reads them as
info headers. The old reader stays as a test oracle.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 14:47:31 -05:00
Martin BallandClaude Opus 5.5 e28c25639b #778: the ZIP entry-count guard delegates to craft-zip (#6948)
* #778: zip_guard delegates to craft-zip's entry-count guard

wordcraft_doc::zip_guard::check and zip64_entry_count_sample now call craft-zip, which also
treats a central-directory size of u32::MAX as a ZIP64 marker.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* #778: Cargo.lock: wordcraft-doc depends on craft-zip

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* #778: zip_guard: craft-zip test-support as a dev-dependency

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 14:47:27 -05:00
Martin BallandClaude Opus 5.5 7b3c2efb1f CI: skip every performance test under coverage instrumentation (#6873)
SonarCloud's coverage shards run tests built with -Cinstrument-coverage
on shared runners. Tests that assert a wall-clock limit or a time
ratio swing there: the megabyte-word test took 5.7-23 s against a
15 s limit, and three linear-time tests read 24-31x against 24x. Each
one that flakes turns main red after merging.

Ignore under cfg(coverage) every test whose purpose is performance
(linear time, bounded, capped, fast). The gate CI still runs them all
uninstrumented. Behaviour tests that only carry a generous time guard
(fuzz, never-panics, clipboard, regex, render, recent fonts) and the
SSIP speech timeout tests keep running, so their checks stay covered.


Claude-Session: https://claude.ai/code/session_01FypgCXtSjB6e5jmy9Uq7u8

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 20:29:14 +01:00
Michael MuandClaude Sonnet 5.5 8b212e6665 KeyTips: a compact button's badge no longer covers its icon (#4497) (#4503)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-17 16:42:25 +01:00
Diego GueriniandClaude Opus 5.5 26b3ae2cc2 inspect_document marks the page fields of headers and footers (#4467) (#4474)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 16:26:33 +01:00
Martin BallandClaude Opus 5.5 e784a2aaed Tests: review.language's no-proofing case uses zxx, not fr-FR (#6944)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 16:12:46 +01:00
pakiatandClaude Opus 5.5 65212d6856 Shapes: lines move by their body and resize by their ends (#4393)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 15:59:23 +01:00
Thân Minh Nghĩa 5c8a6e1d75 #3917: Text Outline and Shape Outline › Weight show a line sample for each weight (#3933) 2026-11-17 15:45:51 +01:00
Thân Minh NghĩaandClaude Opus 5.5 83f18db12d #2786: Home › Bullets: Define New Bullet… dialog and Change List Level › (#2860)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 15:29:27 +01:00
.CooCoo 1a56d041de Dependencies: take craft-libs main at 453b0da782 (#6886)
* Dependencies: take craft-libs main at 3af2280ee3

Every craft-libs git dependency (the workspace's 25, ui-egui's 3, the app's
craft-print, the web build's 2 and the krilla patch) moves to craft-libs main
at 3af2280ee3 from the 8 revisions they were pinned at. Cargo.lock changes
those sources, moves winprint and craft-winprint-gdi with craft-print, drops
the second craft-tiff, and adds cap-primitives and its dependencies, which
craft-font-store's Language pack recovery uses on native builds.

- craft_print::Job has two new fields. WordCraft sets grey_pages to false,
  since it does not turn the spooled pages gray, and driver_settings to None.
- DOCX text boxes, rectangles, rounded rectangles and ellipses are now
  written in mc:AlternateContent with a VML fallback that repeats the text
  box's text. Two tests that counted w:txbxContent elements, or the story
  text, now count the fallback copy as well.

* Printing: the isolated print helper keeps the job's grey pages and driver settings

The Windows print helper process rebuilt each job with grey_pages off and no
driver settings, whatever the job carried. Its request now carries both: the
driver settings travel as the printer's name and the DEVMODE in hex, and
damaged settings are an error. The request file may now be up to 2 MiB larger,
the size of the largest driver settings craft-print accepts, written as hex.

Comments in Cargo.toml and apps/wordcraft/Cargo.toml now describe the shared
craft-libs commit, and the shared-story text box test says where its two copies
are written.

* DOCX: open picture frame shapes and keep chart formatting from craft-libs

At this craft-libs commit the DOCX reader returns a picture frame shape
(`frame` preset) as its own shape kind, and charts carry series formatting
and axis settings. WordCraft's model had neither:

- A document with a picture frame shape failed to open with "unknown
  variant `frame`". The model bridge now reads it as a rectangle, as the
  earlier reader did.
- The chart model drops nothing the shared chart model holds: series fill,
  line width, line and fill off, markers, smooth lines, data labels and
  number format, and the category and value axes. Before, saving a chart
  with any of these wrote the chart again without them.
- A new scatter series is drawn as markers without a line, as before.
  Change Chart Type sets this when a chart becomes a scatter chart or stops
  being one, Edit Data keeps each replaced series' formatting, and Data
  Labels replaces each series' own label setting.

* Charts: draw turned axis titles and keep stored scatter charts without lines

At this craft-libs commit a chart's vertical axis title is a text item
turned -90°. WordCraft's graphic text item now carries that angle, and the
text is laid out along its box and drawn turned about the box's center.

Scatter series saved in a .json document or a recovery snapshot before
series formatting existed have no `noLine` value. They now read as markers
without a line, as they were drawn when saved.

* Charts: draw opened ODT scatter charts without lines

The ODF reader at this craft-libs commit does not read a scatter chart's
line setting, so a scatter chart saved as ODT and opened again was drawn
with lines between its points. The ODF writer writes every scatter series
as markers without a line, and the opened chart is now drawn that way.

* Charts: set scatter series to markers only for opened ODF files alone

Opened ODT, OTT and FODT files set their scatter series to markers
without a line, since the ODF reader does not read a series' line
setting. Other formats that go through the same import path keep their
series as read. A series that arrives with its markers turned off gets
them back, as Change Chart Type does, so it is still drawn.

The test for an opened scatter chart now also covers flat ODT, checks
the drawn items against the markers-only drawing, and checks that the
chart's paragraph is still written as read.

* Dependencies: take craft-libs main at 453b0da782

Every craft-libs dependency, and the craft-proof note in Cargo.toml,
moves from 3af2280ee3 to 453b0da782. Cargo.lock adds craft-dds, which
craft-image-codecs now uses; no crates.io version changes.

- craft-xls builds its test fixtures only for tests and its
  test-support feature, and they return a Result. wordcraft-formats
  gets a test-support feature that turns it on; sheet::xls_fixture is
  behind it and returns Result, and wordcraft-engine's tests enable it.
- craft_metafile::Picture has new report fields; the render tests'
  literals fill them with Default.
- The docx tests follow the writer: the font table is kept as read,
  the flat OPC comparison allows a kept part without its XML
  declaration, and the bibliography store is related from the main
  part, once, after a second save too.

* DOCX: gutter position Top is kept when a document is opened and saved

craft-libs now reads w:gutterAtTop into its settings model instead of
keeping it as unread XML, and WordCraft's settings had no field for it,
so opening and saving a document dropped the setting. Settings gets
gutter_at_top (off by default), which the document bridge carries both
ways. Layout still puts the gutter on the left.

* Charts: Change Chart Type gives a pie chart's value axis the new type's gridlines

A pie or doughnut chart keeps a plain value axis (no gridlines, axis
line on), and a new chart of any other type has gridlines and no axis
line. Change Chart Type kept the old axis, so a pie chart changed to a
column chart was drawn and saved without gridlines and with an axis
line. Change Chart Type between a round chart and another type now sets
the value axis to the new type's when it is still the old type's; an
axis that was changed stays as it is.

The progress log gets a line for the chart formatting, turned axis
titles, picture frame shapes and gutter position this branch brings.
The gutter_at_top doc comment states only what the field holds.
2026-11-17 07:24:29 -05:00
Mex 880cda902f M14: clarify finite positive CLI scale errors (#6691) 2026-11-17 13:16:17 +01:00
pakiatandClaude Opus 5.5 24885e830c Recovery: removing a record's folder waits for files Windows is still deleting (#6666)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 13:00:45 +01:00
.CooCoo 40fd69b6d8 backstage: the side menu scrolls when the window is too short for it (#6639) (#6647) 2026-11-17 12:47:26 +01:00
Thân Minh Nghĩa b7b528fbcf Layout: the automatic space after a Latin run beside East Asian text follows the Latin face (#6589) 2026-11-17 12:34:29 +01:00
Thân Minh Nghĩa c7e84ae43d #6282: print preview follows FILENAME text, fonts, texture limit and exact size (#6478) 2026-11-17 12:22:13 +01:00
Menonro c7c7421acf Shapes: a rounded rectangle without a corner size of its own takes the preset's default (#6546) (#6547) 2026-11-17 12:07:38 +01:00
Thân Minh Nghĩa bbfacd8f62 #6438: a right-to-left table's move handle sits at its top-right corner, and dragging it moves the whole table (#6477) 2026-11-17 11:54:39 +01:00
Thân Minh Nghĩa 4029e29905 #6503: a straight " in Find also finds curly double quotes (#6507) 2026-11-17 11:38:25 +01:00
Thân Minh Nghĩa 328e3738a0 #5231: Alt column widths on the ruler are in the measurement unit, written the region's way (#6408) 2026-11-17 11:23:53 +01:00
Joseph AngladaandClaude Fable 5.2 0b99c871e9 Layout: typing in a long document is about 5 times faster with proofing on (#6207)
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-17 11:08:21 +01:00
tpawley2001 c99dd5cc6e References: TOC, index, table of figures and page cross-references use the section's page number format (#3856) (#5971) 2026-11-17 10:56:37 +01:00
Ahmad Bagheri 53e05c2420 Linux: draw on the GPU that drives the screen (#6016) (#6158) 2026-11-17 10:40:08 +01:00
Senura Dissanayake 8fced5d045 Compare: "Show changes at:" keeps its labels on one line (#6046) (#6145) 2026-11-17 10:24:06 +01:00
keithcsqueensu de694152a9 Equations: an empty shown n-ary limit survives linear text (#6076) (#6085) 2026-11-17 10:13:06 +01:00
Mex a216825578 M14: keep selected file names intact in the built-in browser (#6777) 2026-11-17 09:57:16 +01:00
batistalucasvandShabir Ahmad ebe2f430d8 UI: Invalidate Home Styles preview textures on font changes (#5957) (#6029)
Co-authored-by: Shabir Ahmad <s238374@dac.unicamp.br>
2026-11-17 09:40:28 +01:00
naxvog 8fa2895202 Layout: pin the leading-float space-before rule's edge cases (follow-up to #5440) (#5999) 2026-11-17 09:26:57 +01:00
Martin Ball d4b5c68833 Merge branch 'main' into fix/no-break-in-url-query 2026-11-17 09:24:47 +01:00
Zaxaerith d7215f4441 fix(ui): allow Start at 0 in Page Number Format (#4911) (#4927) 2026-11-17 09:06:43 +01:00
Bryan MarkandClaude Opus 5.5 aeb9704d82 UI: CJK text gets an installed CJK font in builds without craft-fonts and craft-i18n (#4637)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 08:53:51 +01:00
Michael MuandClaude Sonnet 5.5 221faf2901 KeyTips: two-letter command badges can be completed (#4498) (#4499)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-17 08:40:33 +01:00
Dylan M. Taylor a5753be57e docs: prefer shared craft-libs implementations (#6862) 2026-11-17 08:27:16 +01:00
Valentin KleinandClaude Sonnet 5.5 caa4c4b114 Enter in a paragraph with a drop cap no longer copies the drop cap (#6793)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-17 08:10:58 +01:00
Mex ca075db458 M14: report missing --cmd values before CLI options (#6686) 2026-11-17 07:54:43 +01:00