Commit Graph
3824 Commits
Author SHA1 Message Date
Reuben Grinberg a0d4edccd6 validate(scan): distinguish unresolved-namespace AlternateContent in F11 pairing note (#7643)
In note_scan_incomplete (crates/validate/src/scan.rs:1373), the F11
coverage note previously stated that the part 'skipped
mc:AlternateContent', which overclaimed when enter_alt matched an
AlternateContent element of unresolved namespace (scan.rs:1445) or an
empty AlternateContent tag (Event::Empty, scan.rs:1178).

Reword the note so every clause holds on every path reaching line 1373:
the part contains an element treated as mc:AlternateContent
(mc:AlternateContent or AlternateContent of unresolved namespace) whose
contents are not scanned for pairing, has pending
field/move/bookmark/comment pairing, and completion-dependent pairing
checks were not run.

Part of #7643 (F11 fix round 2).
2026-11-29 21:16:54 -06:00
Reuben Grinberg b743dbad0a validate(media): drop unused Debug derive on PrefixResume for observation gate
Part of #7643 (F9).
2026-11-29 20:20:34 -06:00
Reuben Grinberg 45956f85bd validate(scan): reword skipped AlternateContent pairing note without positional claim
note_scan_incomplete previously claimed that the part had 'open
field/move/bookmark/comment ranges across skipped mc:AlternateContent',
even though skipped_content and completion_dependent_pending establish
only that mc:AlternateContent was skipped somewhere in the part and
that some completion-dependent pairing remained pending at the end of
the scan (a skipped block can precede the only range start).

Reword the note to describe the skipped mc:AlternateContent, the
pending field/move/bookmark/comment pairing, and the withheld
completion-dependent pairing checks without making an unsupported
positional claim, and pin the completed-AlternateContent-before-start
case in scan unit tests.

Part of #7643 (F11).
2026-11-29 20:04:58 -06:00
Reuben Grinberg 1201692df6 validate(media): preserve JPEG prefix fill position and marker state on resume
When a 0xFF marker-fill run or straddling marker reached the JPEGTables
prefix boundary, walk_jpeg_markers rewound to marker_start before the
entire fill run, forcing every strip chunk to rescan the same prefix
bytes.

Record the boundary resume state (AtMarker, InFill, or AfterCode(u8))
in JpegHeaderScan so each chunk resumes at the consumed position
without rescanning prefix fill bytes, and pin the splice-boundary
fill/marker/SOF/SOS cases in media_workspace unit tests.

Part of #7643 (F9).
2026-11-29 20:03:28 -06:00
Reuben Grinberg a03307d6b0 validate(media): enforce TIFF Tech Note #2 per-stream JPEGTables split
Keep spliced-stream JPEG workspace accounting unchanged so zune-jpeg's
memory stays accurately bounded, and add an independent per-stream
conformance check (media_workspace::tiff_jpeg_tables_conforming) for
ModernJPEG pages carrying JPEGTables (tag 347):
- JPEGTables must be an ITU-T T.81 Annex B.5 tables-only abbreviated
  stream (SOI, tables/misc segments only, EOI; no SOF, SOS, or
  straddling segments);
- each strip or tile must independently start with SOI and carry its
  own complete SOF frame header before SOS.

Non-conforming splits return AlternateAssessment::Unusable so a sole
SOF placed in tag 347 no longer earns a Warning grade while proper
splits continue to pass.

Part of #7643 (F9).
2026-11-29 19:38:29 -06:00
Reuben Grinberg 929950acff validate(media): dereference Copy JpegHeaderScan instead of cloning 2026-11-29 18:27:29 -06:00
Reuben Grinberg 4868d7947d validate(media): pin TIFF peer-chain depth and SubIFD depth-bound handling
Pin verified TIFF 6.0 §2 and Adobe TIFF Technical Note #1 depth behaviour
in media_magic_tiff_depth_is_the_minimum_over_routes:
- a 12-page main next-IFD chain (> max_depth = 10) remains at depth 0
  and decodes cleanly to Warning;
- a valid IFD0 with a depth-6 SubIFD tree (> tiff_ifd::MAX_SUB_DEPTH = 4,
  <= max_depth = 10) decodes cleanly to Warning, while depth 11 stops at
  the validator depth bound as Incomplete without grading.

Part of #7643 (F8).
2026-11-29 18:26:04 -06:00
Reuben Grinberg 0d31f95102 validate(scan): include comment ranges in pairing coverage note wording
note_scan_incomplete emitted 'field/move/bookmark' in its three pairing
incompleteness notes, omitting 'comment' even though finish_completion,
completion_dependent_pending, and unresolved_pairing_pending all cover
four pairing families (FLD-UNBALANCED, STRUCT-MOVE-UNPAIRED,
BOOKMARK-UNPAIRED, and COMMENT-RANGE-UNPAIRED).

Update all three notes to 'field/move/bookmark/comment' and pin the
unresolved comment-range note with a unit test.

Part of #7643 (F11).
2026-11-29 18:24:42 -06:00
Reuben Grinberg 76ee611ed5 validate(media): splice TIFF JPEGTables into JPEG strip workspace check
TIFF Technical Note #2 defines JPEGTables (tag 347) as an ITU-T T.81
Annex B.5 abbreviated table-specification datastream (SOI..EOI), but
tiff 0.11 strips its last two bytes and prepends them to each ModernJPEG
strip/tile (after stripping the chunk's first two bytes) before handing
the spliced bytes straight to zune-jpeg.

media_workspace::jpeg_strip_decoder previously inspected each raw chunk
in isolation, missing SOF/SOS segments placed in JPEGTables or marker
framing that crosses the splice boundary. Extract tag 347 in
tiff_admission::jpeg_tables and walk the shared prefix once before
resuming on each strip's suffix in O(|prefix| + sum(|chunk_headers|))
time with no heap allocation.

Part of #7643 (F9).
2026-11-29 18:22:35 -06:00
Reuben Grinberg aa0a0b990a validate(scan): align OMML element name list to all 124 ECMA-376 §22.1.2 elements
Compare scan::OMML_NAMES against shared-math.xsd (ECMA-376 Part 1 §22.1.2,
extracted into model::ELEMENTS): four real OMML elements were missing
(defJc, deg, wrapIndent, wrapRight) and two non-schema names were
spuriously present (gc, wrap), yielding 122 instead of 124.

Replace the match list with a sorted 124-entry table pinned directly
against model::ELEMENTS, and verify that unresolved deg withholds
MATH-PLACEMENT while non-OMML gc and wrap do not.

Part of #7643.
2026-11-29 18:10:41 -06:00
Dylan M. Taylor aaaeff2b94 ci(nightly): enable automated daily schedule and Stage 2 signer dispatch (#8054) 2026-11-29 16:16:22 -05:00
Dylan M. Taylor e1f261501c ci(sonarcloud): give each main commit its own concurrency group (#8144) 2026-11-29 16:05:30 -05:00
Lucas Batista Vargas 837999196a Picture and Shape: restore unit hints on size fields (#7952) (#7953) 2026-11-29 20:42:14 +00:00
Lucas Batista Vargas 13f5e9702c Manage Styles: open on the caret's current style (#7950) (#7951) 2026-11-29 20:42:09 +00:00
codeiou 0eace8de49 Search: the title bar keeps its command index between passes (#7674) (#7881) 2026-11-29 20:42:04 +00:00
codeiou 63863ec62d Caret: a window in the background shows no caret and stops repainting for it (#7674) (#7882) 2026-11-29 20:41:59 +00:00
codeiou b4f0a3abad Track Changes Options: the By author swatch shows the author colours side by side again (#7671) (#8011) 2026-11-29 20:41:54 +00:00
MaheshDesu ff98927ea6 UI: the Format Painter icon keeps its full outline (#7683) (#8044) 2026-11-29 20:41:48 +00:00
Lucas Batista Vargas fff580d8f0 perf(engine,ui-egui): skip char scans in word count, memoize format::state, and cache ribbon pickers (#7903) (#7913) 2026-11-29 20:41:43 +00:00
Lucas Batista Vargas 4b3e5d52df perf(ui-egui): defer closed Undo history rows and QAT menu assembly until opened (#7902) (#7912) 2026-11-29 20:38:45 +00:00
Dylan M. Taylor 53bbaa8978 test(nightly): retain exact launcher query and profile coverage (#8136) 2026-11-29 15:22:43 -05:00
Lucas Batista Vargas 813f069712 Styles pane: do not apply a style on right-click (#7958) (#7959) 2026-11-29 20:17:36 +00:00
Lucas Batista Vargas 43c38dfb56 Word Count: preserve the "Count words in text boxes and notes" preference on open (#7941) (#7942) 2026-11-29 19:55:25 +00:00
Dylan M. Taylor 6d6ab5f4dc feat: wire craft-nightly for self-isolated nightly launches (#8126) 2026-11-29 13:48:48 -05:00
Martin BallandClaude Opus 5.5 54f6709a97 UI port: Colors dialog shows no colour, not black, for an unknown Current (#7984) (#8048)
* fix(colors): Colors dialog shows no colour, not black, for an unknown Current; Current reads more targets (#7984)

Needs craft-libs ColorPickerDialog::no_current and the Colors: heading
(craft-libs branch fix/7984-colors-compare-none); waits for the pin to move.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCWNarDG3QfXK2YMzdx

* fix(colors): table shading Current skips cells a ragged table lacks (#7984)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCWNarDG3QfXK2YMzdx

* fix(colors): Current reads the run shading the command changes (#7984)

para.shading shades the selected text, not its paragraph, when the selection is text within one
paragraph. Current now reads the selected runs' shading (new "shading" key in format.state, None
when mixed or unset) under the engine's own shades_text rule, now pub. shape.effects Current reads
shapes only, as the command applies glow to shapes only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCWNarDG3QfXK2YMzdx

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 04:41:41 +00:00
Martin BallandClaude Opus 5.5 c6d71b829a fix(formats): an ODT list item's later paragraphs stay in the item (repin regression) (#8089)
craft-libs 9c27cebc14 reads an ODT list item's further paragraphs as unnumbered
paragraphs marked ParaProps.list_item. WordCraft's ParaProps had no such field,
so the bridge dropped it and HTML/Markdown export restarted numbering after the
item. Add the field, same type and serde name as craft-wordmodel's.


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

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 03:43:20 +00:00
Martin BallandClaude Opus 5.5 af26131063 fix(dialogs): Borders and Shading draws its preview at sample size (#7977) (#8088)
Claude-Session: https://claude.ai/code/session_01FypgCWNarDG3QfXK2YMzdx

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 03:42:47 +00:00
Dylan M. Taylor 9b13180006 fix(nightly): enable Linux package_formats (including Flatpak) in signing policy (#8091) 2026-11-28 22:42:19 -05:00
Martin BallandClaude Opus 5.5 2ca5bf5dfa fix(options): Initials shows its default-initials placeholder again (#8018) (#8081)
Claude-Session: https://claude.ai/code/session_01FypgCWNarDG3QfXK2YMzdx

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 03:41:59 +00:00
Martin BallandClaude Opus 5.5 1f6cf16029 fix(docx): a text box in a hyperlinked nested group survives an edit (repin regression) (#8087)
craft-libs 6a46b44449 keeps a hyperlinked nested group as a nested
InlineObject::Group. WordCraft looks one level deep, so prune_text_boxes
dropped the nested box's story on the first edit. The bridge now lifts nested
members into the parent group, offsets composed, as the reader does for
unlinked groups.


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

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 03:39:45 +00:00
Martin BallandClaude Opus 5.5 18bbf00090 UI port: Customize Keyboard categories, Customize Ribbon layout, command search locations (#7671) (#8024)
* fix(keyboard): Customize Keyboard lists the ribbon tabs as Categories, in a dialog of set size (#7971)

Catalog commands carry their English ribbon location as a menu path; Categories are
the ribbon tabs (from ribbon::TABS), Contextual Tabs, Other and All Commands.

Partial: the Commands list still gets no room until the craft-libs fix (a7d6dcfcbb on
fix/7971-keyboard-categories-height) is synced to main and WordCraft repins.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCWNarDG3QfXK2YMzdx

* fix(ribbon): Customize Ribbon and Quick Access panes share the width (#7981)

Tab names are no longer truncated and Up/Down no longer overlap the list.

Partial: the lists are still unframed (craft-libs List has no frame option).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCWNarDG3QfXK2YMzdx

* fix(search): command search shows each command's ribbon location (#7983)

Partial: the shortcut per row and the popup width are not done.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCWNarDG3QfXK2YMzdx

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 03:25:47 +00:00
Martin Ball a3b0f9835f Merge pull request #8072 from storytold/chore/craft-libs-repin-2026-11-28
chore(deps): repin craft-libs to 7097741460
v0.19.1-nightly.20261129.46219246875.1.ga3b0f9835fac
2026-11-29 00:33:18 +00:00
Martin BallandClaude Opus 5.5 5f06b28447 Land 14 approved PRs with stale CI (#8069)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 23:19:22 +00:00
Martin BallandClaude Opus 5.5 4c913ffd28 fix(docx): keep hide-spelling and hide-grammar settings on save (repin)
craft-docx now owns w:hideSpellingErrors and w:hideGrammaticalErrors in
settings.xml; wordcraft_doc::Settings lacked both, so the serde bridge
dropped them. Also fixes the mc:Ignorable order in the section test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCWNarDG3QfXK2YMzdx
2026-11-28 23:02:17 +00:00
Martin BallandClaude Opus 5.5 e3f1356360 chore(deps): repin craft-libs to 7097741460 (#7671)
Moves every craft-libs rev and the egui/winit fork pins to craft-libs main.
Mechanical API fixes: AppShell slots take a version (None, as before),
GroupChild gains `link`, Settings::compat_mode is an Option (the docx bridge
maps an omitted mode to Word 2007's 12 as before), ProofLang::Gu/Hi names,
and w16du joins mc:Ignorable in the docx test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCWNarDG3QfXK2YMzdx
2026-11-28 22:57:45 +00:00
Rees 303c80a253 Layout: index numbering definition lookups (#4640)
Co-Authored-By: OPUZZLES <109076338+OPUZZLES@users.noreply.github.com>
2026-11-28 22:56:50 +00:00
Martin BallandClaude Opus 5.5 9e899aaae9 UI port: Symbol and Diagram galleries show their grids, Diagram Design and Equation tab pictures draw (#7671) (#8030)
* fix(symbol): show the Symbols map in rows, with the Recently used heading and from Unicode (hex) (#7972)

max_rows counts items, not grid rows, so the 8-row cap showed one row; cap it by items.
The Recently used row already existed; its heading now shows (as the row's label) while
the row is empty too, and the code field says it is Unicode hex.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCWNarDG3QfXK2YMzdx

* fix(diagram): Insert Diagram shows every layout (#7973)

The same max_rows item-count cap showed 3 of 8 layouts. Partial: the names "Basic Process"
and "Basic Pyramid" are still elided, since wider cells break the pinned 75x93 cell size test
and two-line captions need card text the dialog does not use.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCWNarDG3QfXK2YMzdx

* fix(ribbon): Diagram Design layouts in one strip, Size fields labelled H:/W: (#7974)

size_field is shared, so Picture Format and Shape Format Size also gain the visible H:/W: labels.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCWNarDG3QfXK2YMzdx

* fix(equation): draw symbol and structure pictures without the checkerboard, symbols at a readable size (#7975)

Pictures are alpha ink masks drawn without the transparency grid. The symbol strip requests
its picture from the tile's short side (the tiles are 24 x 52 pt and the picture is fitted),
and sets symbols at 22 pt, so they read at about 16 pt.

Partial: the Tools labels (Unicode, LaTeX, Normal Text) are still icon-only at 1440, as the
ribbon fit keeps Tools at the compact level.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCWNarDG3QfXK2YMzdx

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 22:36:20 +00:00
Mex 8e52baaf18 README: qualify the default Windows graphics backend (#6702)
Co-Authored-By: MMexicann <44814932+MMexicann@users.noreply.github.com>
2026-11-28 22:27:33 +00:00
RickiNano 1b75d8dfd4 Find and Replace: a quote typed in Replace with goes in curly when smart quotes are on (#7949)
Co-Authored-By: RickiNano <81099017+RickiNano@users.noreply.github.com>
2026-11-28 21:59:13 +00:00
dedd658cb0 Deps: webbrowser 1.2.6 for its WSL command-injection fix (GHSA-j2mc-vg6q-w75p) (#5997)
Lands #5997 by @naxvog.

Co-Authored-By: naxvog <4963183+naxvog@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 21:54:40 +00:00
f28896acc1 Paragraph dialog: indents in points win over indents in characters (#6186)
Lands #6186 by @pakiat.

Co-Authored-By: pakiat <49967840+pakiat@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 21:54:39 +00:00
f3b51422b0 Caret: a click glides to its new place like a key does (#6360)
Lands #6360 by @fluorine.

Co-Authored-By: fluorine <1832604+fluorine@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 21:54:39 +00:00
11b1b69457 #6326: text typed into an inserted table row keeps the row's font (#6370)
Lands #6370 by @Nghiathan13.

Co-Authored-By: Nghiathan13 <201675788+Nghiathan13@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 21:54:39 +00:00
2b3b9c8460 #6013: a new table's cells are in the language of the text it is inserted in (#6381)
Lands #6381 by @Nghiathan13.

Co-Authored-By: Nghiathan13 <201675788+Nghiathan13@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 21:54:38 +00:00
ff0d327056 #5534: floating pictures are drawn over the shading of the paragraphs below them (#6395)
Lands #6395 by @Nghiathan13.

Co-Authored-By: Nghiathan13 <201675788+Nghiathan13@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 21:54:38 +00:00
194ca941bf Layout: the underline and selection over hanging spaces stop at the margin (#6434) (#6487)
Lands #6487 by @Nghiathan13.

Co-Authored-By: Nghiathan13 <201675788+Nghiathan13@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 21:54:37 +00:00
f0dfe49348 #5947: a paragraph style resets direct formatting as Word does (#6511)
Lands #6511 by @Nghiathan13.

Co-Authored-By: Nghiathan13 <201675788+Nghiathan13@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 21:54:37 +00:00
df3279f87e M7: explain the one-based sheet selector requirement (#6699)
Lands #6699 by @MMexicann.

Co-Authored-By: MMexicann <44814932+MMexicann@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 21:54:37 +00:00
45a851dee2 M14: explain interface size clamping in input errors (#6708)
Lands #6708 by @MMexicann.

Co-Authored-By: MMexicann <44814932+MMexicann@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 21:54:36 +00:00
1857c7e41b M14: list null among supported spreadsheet cell values (#6802)
Lands #6802 by @MMexicann.

Co-Authored-By: MMexicann <44814932+MMexicann@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 21:54:36 +00:00