visible_anchor kept only the first emitted run of the topmost line; runs come out left to right, so an RTL line with several runs anchored at the leftmost run's right edge. Union the runs on that line.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCZhHKRuRB5wZUiw6BE
The bar sat at anchor.min.x + inset, the end of a selection that starts in an
RTL paragraph. Mirror it to anchor.max.x - inset when the paragraph where the
selection starts is RTL. Adds an RTL test and a multi-line LTR test.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCZhHKRuRB5wZUiw6BE
In Insert › SmartArt (dialogs_smart_art.rs), the layouts picker TileGrid
did not configure thumbnail sizing, causing tiles to expand to the default
card size (128 pt compact / 160 pt comfortable, resulting in ~136×154 pt
cells). This caused three rows to take ~482 pt in height, overflowing the
dialog's 304 pt viewport budget and pushing detail/footer controls out
of view.
Set .thumb_size(ThumbSize::Large).zoom(1.4) on the layouts TileGrid,
producing 67.2 pt thumbnails in 75.2×93.2 pt cells that cap at 299.6 pt
for 3 rows, matching pre-refactor parity (~96×96 pt cells within
PICKER_HEIGHT = 304 pt). Add a regression test verifying cell and grid
dimensions.
Configure StartScreen in File › Home with the active region's portrait page
aspect (17:22 Letter or 70:99 A4), a fixed card zoom factor of 1.0 (~150 pt
card width without filling the row), and white paper behind page pictures.
Update File › New template grid to use the region's page aspect and render
cards with Cover fit and white paper. Remove thumbnails from File › Open's
RecentList to restore production plain list rows without letterbox bars.
Tracks #7149 items 2 and 3.
Follow-up to #7311 and PR #7315.
In crates/ui-egui/icons/discord.svg, restore class="accent" (with #1E6FD9
fill fallback) so the Help › Community Discord ribbon button retains its
distinct brand accent coloration.
Add a dedicated single-ink discordPill.svg icon without class="accent"
(using pure currentColor fill) registered in WORDCRAFT_ICONS_TABLE as
IconId::new("discordPill"), and reference it in the title bar's compact
and full pill button variants (crates/ui-egui/src/chrome/title_bar.rs).
This ensures optimal on_strong contrast against the filled accent.strong
background in both light and dark themes.
Add an asset attribution entry in ATTRIBUTION.md and a regression test in
crates/ui-egui/src/chrome/tests.rs verifying that the title-bar Discord button
paints in text.on_strong while the Help ribbon button renders in accent.solid.
In crates/ui-egui/src/ribbon/galleries.rs (pub(crate) fn wordart), the
Decorative Text / WordArt Styles TileGrid called .content_cells() without an
explicit thumbnail sizing constraint. Because TileGrid defaults picture_side
to tokens.size.thumb.card and .content_cells() ignores thumb_size/zoom, each
WordArt tile expanded to ~132×119 pt.
Replace .content_cells() with .thumb_size(ThumbSize::Small).zoom(2.0)
so each WordArt style tile renders at compact dimensions (~40×36.4 pt with
ThumbAspect::new(10, 9)), matching pre-refactor ribbon dropdown parity. Add
a regression test verifying compact tile bounds.
* Ribbon: compact tile sizing for Home › Bullets library dropdown (#7323)
In the Home › Bullets dropdown popup (bullets_menu), the Bullet Library
grid tiles were rendered with .content_cells() without an explicit
thumbnail sizing constraint, causing each bullet tile to expand to default
card dimensions (~132×132 pt).
Replace .content_cells() with .thumb_size(ThumbSize::Small) so the
Bullet Library renders compact square bullet previews (~22×22 pt), matching
pre-refactor ribbon dropdown parity. Add a regression test verifying the
compact tile dimensions.
* Ribbon: bind command IDs for Table Styles, Borders, Delete, and AutoFit menus (#7324)
In crates/ui-egui/src/ribbon/table.rs, bind command IDs for four table
ribbon menu buttons (Styles -> table.style, Borders -> table.borders,
Delete -> table.deleteTable, AutoFit -> table.autofit) instead of None.
In crates/ui-egui/src/ribbon/common.rs, update menu_button to apply the
bound command's hint/tooltip when the command is disabled.
This ensures that menu button availability, disabled states, and disabled
tooltips accurately reflect engine command state and document protection rules.
---------
Co-authored-by: Martin Ball <martin.ball@ucscaregroup.co.uk>
In the Home › Bullets dropdown popup (bullets_menu), the Bullet Library
grid tiles were rendered with .content_cells() without an explicit
thumbnail sizing constraint, causing each bullet tile to expand to default
card dimensions (~132×132 pt).
Replace .content_cells() with .thumb_size(ThumbSize::Small) so the
Bullet Library renders compact square bullet previews (~22×22 pt), matching
pre-refactor ribbon dropdown parity. Add a regression test verifying the
compact tile dimensions.
Co-authored-by: Martin Ball <martin.ball@ucscaregroup.co.uk>
- Group status bar controls using outer Gap::Section spacing between Focus, view mode buttons, and zoom controls.
- Group view mode buttons (Read Mode, Print Layout, Web Layout) in an inner row with Gap::Item spacing.
- Adjust Zoom slider size with ControlSize::Md to match the 14pt icon proportions of adjacent zoom icon buttons.
- Add regression test asserting view mode toggle button spacing/grouping and slider thumb size.
ListRow::below lays its components out in one line. With the licence text
and the error notice both there, the licence took the row's width and the
notice was squeezed to a few pixels; in CI it dropped out of the tree. The
licence goes into the row's lines, and the notice (or the progress bar) is
alone below. The trial checks the reason is at least as wide as Install
and inside the list.
The app-window harnesses built a ui closure that made the app's input inside a
pass and handed it to the runtime when the next pass began, so each pass ran
on the previous pass's input and the build pass had none. The page picture
loader fixes its job queue from the host it first sees, so in tests it took
the default thread queue instead of the app's host jobs, and the big-table
scrolling test read the resident picture count before those threads finished:
it failed intermittently on loaded runners (Windows).
The harnesses now build with kittest's `build_eframe` over a test-only
`eframe::App` for `WordApp` whose `raw_input_hook` calls `embed::before_input`,
as the desktop driver does. `driver_logic`, `HandOver` and its pending input
are gone.
The scrolling test gives the app a host with `ManualJobs`, runs the queued
renders after each scroll step and checks that the renders use the host's
jobs. Its table and scroll steps are smaller; the relations are unchanged.
Key chords fire their command in the runtime's key stage, which the app reads
before the next pass, as on the desktop: the chord rows step twice.
ui-egui declares `craft`'s `ui-testing` for its own tests, so they build
without the workspace's feature union.
ListRow::below lays its components out in one line. With the licence text
and the error notice both there, the licence took the row's width and the
notice was squeezed to a few pixels; in CI it dropped out of the tree. The
licence goes into the row's lines, and the notice (or the progress bar) is
alone below. The trial checks the reason is at least as wide as Install
and inside the list.
* Layout: balanced columns keep a continued paragraph's last lines together from Word 2013's layout
When the columns of a section's last page are balanced before a continuous
break, Word (compatibility mode 15) does not leave one line of a paragraph
alone in a column: the last two or three lines of a paragraph that began on the
page before, and a two- or three-line paragraph that begins the page, stay in
the first column that can hold them. settled_end only guarded a paragraph's
start, and skipped even that at the top of a column, so the balancing tries
split such lines one per column and the section came out a line short.
In mode 15, while balancing, widow/orphan control also applies at the top of a
column, a one-line fragment of a continued paragraph with more after it moves
on whole, and lines it moved go to the next column instead of overflowing.
Mode 14 and unbalanced flow are unchanged. Part of #6821 fix, measured in Word
with synthetic documents (see layout::tests::balanced_tail).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
* Layout: balanced columns also keep kept paragraphs whole, and the lines are pinned beside notes and floats (#6821)
Measured in Word for Windows (synthetic documents, exact 14 pt lines, two and
three columns, compatibility mode 15): a paragraph with keep lines together, or
keep with next and the paragraph after it, stays whole in the first balanced
column; the tails and short paragraphs behave as before beside a footnote and a
square-wrapped picture; a section that starts and ends on one page, and plain
page flow with a footnote, widow control on and off, already matched.
keep_together now also applies at the top of a column while balancing in mode 15.
The move-on after widow/orphan control is taken only when that control, not a row
beside a floating object, moved the lines back (review of the first commit).
Tests added for notes, floats, a mid-page section, keep lines/next, unbalanced
columns and mode 14.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
* Layout: balanced columns fall back to the old layout when the strict rules cannot fit, and keep paragraphs ask again at a column top (#6821)
Second review: pass(full) can now fail (a page whose columns are a couple of
lines high), so balance_columns lays the page out once more without the strict
rules of Word 2013's layout (PageBuilder::relaxed, kept across the snapshot
restore) instead of leaving a spilled pass. A paragraph moved to a column top
by the lines before it asks keep lines / keep with next again there, and keeps
going on to a column that holds it. Tests: the columns' left edges come from the
first page, a page too short for the rules keeps every line, docs reworded.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
* Layout tests: classify columns by the declared column edges
The balanced-tail test helper took column edges from observed caret positions, so an empty middle column could be mistaken for the last one. The edges now come from the section geometry and keep every declared column.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
* Layout: release floats when balancing moves their anchors (#6821)
Use the same overflow decision for line emission and for retaining late floats. Cover the strict widow control case and qualify the balancing evidence.
---------
Co-authored-by: vangel76 <271991477+vangel76@users.noreply.github.com>
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-authored-by: Martin Ball <martin.ball@ucscaregroup.co.uk>
* Layout: a header at compatibility mode 14 or lower keeps its text beside its own floats
In Word, a header in a document of Word 2010's layout or older does not move its
text below or beside the header's own floating objects. A top and bottom object
only makes the header taller when it starts above the end of the text. From mode
15 the text goes below the object, which WordCraft already did in every mode.
Part of #6805. Not built or run yet.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
* Layout: header floats at mode 14: measured wraps only, tests read the header, distances
Only top and bottom and square objects stop wrapping the header's text at
compatibility mode 14 and lower (Tight and Through were not measured). The
distance below a top and bottom object counts, as in Word. The tests read the
header's own items, add the distance, space-after and multi-paragraph cases, and
the measured numbers are in the test file's header. The layout_box change moves
into three small helpers.
Part of #6805.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
* Layout: header floats at mode 11 measured in Word, test and notes say so
The legacy header path applies below compatibility mode 15, so mode 11 (.doc files)
takes it too. Measured in Word on synthetic .doc files: mode 11 keeps the header text
beside its own top and bottom object like modes 12 and 14. Add a test for it and drop
"mode 11 not measured" from the test header, ROADMAP and layout-parity notes.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
* docs: narrow header float coverage
Refs #6805
* docs: specify header contour compatibility
Refs #6805
---------
Co-authored-by: vangel76 <271991477+vangel76@users.noreply.github.com>
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-authored-by: Martin Ball <martin.ball@ucscaregroup.co.uk>
Word breaks a line between two hyphens in a row, so a ruled line made of
hyphens after a gap first fills the line and continues on the next. UAX #14
(LB21) keeps the hyphens together, so the whole row moved to the next line
and the paragraph got one line more than in Word. Add the break after U+002D
when another U+002D follows, next to the existing breaks before a digit and
before a slash and a letter. Non-breaking hyphens and minus signs stay
unbreakable.
Co-authored-by: vangel76 <271991477+vangel76@users.noreply.github.com>
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-authored-by: Martin Ball <98639962+benandez@users.noreply.github.com>
Co-authored-by: Martin Ball <martin.ball@ucscaregroup.co.uk>
* Tables: split the paragraph that starts a cell's part of a page where its lines fall
A row split across pages whose cell continued with a paragraph of two or three
lines, of which only the first (or two) fit, kept nothing on the page: the
orphan/widow rule moved the paragraph on whole, but it already started the page.
The row was then placed whole and ran off the bottom. Word splits such a paragraph
where the lines fall (a lone first line stays; three lines with room for two split
two and one; a continuation's lone line stays). A paragraph below other content of
its cell, and a row starting below other content of a page, keep the rule.
Part of #6823 (phase 1: not built or run yet).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
* Tables: a can't split row taller than a page splits at the page's end; more Word-measured cases
A can't split row (not an exact one) taller than a page now moves to a new page when it starts
below text and splits where the page ends, as Word does, instead of running off the page. The
tests now cover nested tables, a repeated header row, text lines, rows with several paragraphs and
the exact configurations measured in Word. The earlier note that Word keeps two and one below
other content was a misreading of a run without compatibility mode 15 and is removed.
Part of #6823 (phase 1: not built or run yet).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
* Tables: review fixes for the split-row work
The new test module defines its own lay helper; only text in the flow decides which paragraph
starts a cell's part of a page, so a floating picture above it no longer keeps the old orphan
rule; a can't split row only splits when it is taller than the room; a stale test comment is
updated; tests for a floating picture and a row that fits a page.
Part of #6823.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
* Tables: a test for a floating picture above the first paragraph; rustfmt
Floats are placed with the first piece of their paragraph, so the test puts the picture on the
table's first page. Without the in-flow-only rule it fails.
Part of #6823.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
* 6823: Document split-row limits
* 6823: Clarify widow control in split rows
---------
Co-authored-by: vangel76 <271991477+vangel76@users.noreply.github.com>
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-authored-by: Martin Ball <98639962+benandez@users.noreply.github.com>
* Layout: Keep with next on a section's last paragraph no longer adds an empty page
A paragraph that closes a section whose next section starts on a new page (next page, odd or
even) has nothing on its page to keep with. Keep with next still added the next section's first
line to the room it needed, so a closing paragraph that fitted at the bottom of a full page was
moved to the next page, leaving a page holding only it. Word ignores Keep with next there. The
chain lookahead stops at the closing paragraph too. Before a continuous section the old
behaviour stays (not measured in Word).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
* Layout: exact-geometry tests for keep with next at a section end (#6834)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
* Layout: format, and say odd/even breaks are by analogy (#6834)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
---------
Co-authored-by: vangel76 <271991477+vangel76@users.noreply.github.com>
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-authored-by: Martin Ball <98639962+benandez@users.noreply.github.com>
* #7124: mcp refuses to start without both automation roots, and refuses --connect
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* #7124: control protocol says --connect is refused; test folder comment matches
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* #7124: refuse --connect without a value; test folders removed by Drop guards
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* #7124: scratch folders retry only a name that exists
Scratch::new and Folders::new retried every create_dir failure, so a
missing or read-only temp folder looped forever instead of failing the
test (CodeRabbit). Retry only AlreadyExists; any other error panics with
the path.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* #7124: mcp's headless session is built by a function the unit tests reach
SonarCloud's new-code coverage was 57%: the session set-up after the
root checks ran only in the subprocess integration tests, which coverage
does not see. headless_mcp builds the confined session and applies
--author; mcp_headless_session_takes_the_author_flag covers it without
confining the test process.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: FredApps <153173854+FredApps@users.noreply.github.com>
craft-docx carries a kept w:mailMerge's external source relationship and refuses a missing one (storytold/craft-libs#2349). The fixture's rId9 now has its mailMergeSource part in word/_rels/settings.xml.rels, and the trial checks that mail merge and its source survive a save.
craft-docx rebinds a kept w:mailMerge's r:id to its external source relationship and refuses a missing one (storytold/craft-libs#2349). The fixture's rId9 had no relationship part; the trial checks the privacy flags, so the element goes.
WordApp's root environment sets ComponentSet::Productivity, so the rulers take the centred face. The craft-libs pin moves to next fd652b37, which names the set.
- egui fork pin follows craft-libs (6525c879).
- A value glyph is memo props: EdgeGlyph and LibraryGlyph derive MemoProps; a library glyph keys by its static icon's address, so it holds a 'static reference.
- The tests take craft::ui::testing through the facade's ui-testing feature.
Mod is Cmd on macOS, so the paste tests hold the platform's Mod key; Alt+Q is
the command search off macOS only; the unsaved-changes prompt asks Save on
macOS and Yes elsewhere; the default-app row shows Finder's steps on macOS, no
button; the i18n audit knows macOS chord symbols such as the Read Aloud hint.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* Proofing: support freestanding custom.dic dictionary files (#5840)
- Add freestanding custom dictionary loader and saver in custom_dict.rs
supporting UTF-16LE with BOM, UTF-16BE with BOM, UTF-8 with BOM, and UTF-8.
- Detect BOM-less UTF-16LE via NUL-byte heuristic and preserve encoding on save.
- Preserve original dictionary lines and casing (NASA, McDonald, multi-word
lines, lines > 64 chars) and merge disk additions on save.
- Add bounded reading (4 MB and 100,000 words limit) and graceful error handling.
- Validate read and write access, probe OS write permissions, and reject
symbolic links and read-only files in check_regular_file_setting.
- Add customDictionary preference in file.options and Proofing options UI.
- Provide wasm fallbacks in crate::io.
- Add comprehensive engine integration, UI Kittest, and unit regression tests.
* Proofing: keep a bound custom dictionary as the source of truth (#5840)
- Do not restore the ui.json word backup when customDictionary is set, so a
missing or unreadable file cannot leak its words into custom-dictionary.txt.
- Document the supported encodings, write-access checks and logged save
failures for the review.
- Add a UI regression test for the backup words.
Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
* Proofing: decode a custom dictionary before applying options (#5840)
file.options validated the customDictionary path's metadata but read the
file only while applying settings, so a writable file with malformed
UTF-8 refused the call after author, initials, units, region and
dictionariesFolder had already changed. Decode the requested file (and
the default one for auto) alongside the other parameter checks, then
apply nothing if it fails.
Regression: refused_custom_dictionary_leaves_every_other_option_unchanged
compares every setting, the bound path and the proofing words before and
after a combined refused call.
* Proofing: preserve custom dictionary persistence target during fallback (#5840)
* ROADMAP.md: remove conflict-resolution debris
* Format the custom dictionary tests
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
* Commit the custom dictionary path on Enter, and test the startup fallback
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Show the saved custom dictionary path when no edit is open
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
Co-authored-by: batistalucasv <batistalucasv@users.noreply.github.com>
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
* PDF export: tracked changes take the Track Changes Options colours (#5232)
PDF and page image exports now respect Review › Track Changes Options
colours (insertColor, deleteColor) and mark preferences (deleteMark:
hidden), matching on-screen behavior instead of always defaulting to
author-0 magenta (#5232).
Fixes#5232
Co-authored-by: cdhdt <cdhoudetot@ik.me>
* Page images and print preview draw headers at full strength (#6267)
The downloaded page image and print preview built RenderOptions::default(),
whose dim_header is true, so a tracked change in a header or footer faded
there while PDF and file.exportPng drew it at full strength. Both now use
full-strength header display, with page_image_options shared across
file.exportPng, file.strictReport's page check and downloaded page images.
file.printPdf documents its compress parameter, which the colour regressions
use to read the content stream.
* Docs: record tracked-change export colours and preview parity (#5232, #6267)
ROADMAP, gaps, file-format parity and UI parity now record the export
colours and marks, final-text print pagination, and the preview matching
the print job. #6263, #6265 and #6266 remain.
* Fix merge conflict markers in PDF and engine option structs (#5232)
* docs: remove stray branch labels in ROADMAP, gaps and ui-parity (#5232)
---------
Co-authored-by: cdhdt <cdhoudetot@ik.me>
Co-authored-by: batistalucasv <batistalucasv@users.noreply.github.com>
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
* #6518: typing after Backspace keeps the deleted character's formatting
As in Word, Backspace over one ordinary character leaves that character's
formatting waiting at the caret until it moves, and the Font buttons show
it. Forward Delete, deleting a selection and Track Changes carry nothing.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* #6518: a Backspace that changes nothing keeps formatting waiting at the caret
At the start of the document Backspace changes nothing, so the formatting carried from a deleted character, or set at the caret, still applies to the next typed text, as in Word for Windows. A paragraph join still drops it.
* #6518: Ctrl+Backspace that deletes nothing keeps formatting waiting at the caret
Observed in Word for Windows: at the start of the document Ctrl+Backspace changes nothing and the next typed text keeps formatting carried by an earlier Backspace or set at the caret; one that deletes a word or joins paragraphs drops it. WordCraft already behaves this way; pin it with a test and make the parity doc say so.
* #6518: formatting carried by Backspace applies only where the caret was
Backspace now records where it carried the deleted character's formatting
(Session::pending_at). Typing moves that place along; anything else that
leaves the caret elsewhere or selects text (a paste, Find, Go To, a click
in the front end) drops the carried formatting before the next command and
whenever it is read, so typing takes the formatting where the caret is.
Pasted text never takes it. The place is kept with undo steps, window views
and parked documents. Formatting set at the caret (Bold with nothing
selected) is unchanged.
Tests: Backspace then paste then type, Backspace then Find/Go To/click then
type, a Find with no match keeps it, typing and Undo keep it.
* #6518: Backspace with Track Changes on carries the deleted character's formatting
* #6518: keep carried formatting through failed commands and drop it on direct caret moves
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* DOCX: a run marked w:cs is bold and italic only by w:bCs and w:iCs
Word draws Thai marked w:cs with <w:b/> and no w:bCs plain (and with
<w:i/> and no w:iCs upright), through the run, its styles and the
defaults. WordCraft borrowed the Latin bold and italic, so a WPS memo's
subject line showed bold. Runs not marked w:cs still borrow them, and
the complex-script size still borrows w:sz until generated styles carry
w:szCs (#4197).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Bold and Italic buttons follow what a complex-script run shows
A run marked w:cs shows its w:bCs/w:iCs, so format.state reports those
and format.bold/format.italic toggle from them (CodeRabbit on #4852).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Bold and Italic buttons read right-to-left runs' complex-script values
Layout draws a w:rtl run with its complex-script bold and italic, so the
buttons and their toggles read those for rtl runs as for cs ones
(CodeRabbit on #4852).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Test the Latin text keeps w:b and w:i beside complex-script runs
Review: every case of complex_script_runs_take_bold_and_italic_only_from_bcs_and_ics now also checks the run's Latin bold and italic, through every save generation; Hebrew no writer marked w:cs keeps borrowing w:b, as Word draws it bold (measured in Word for Windows).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Merge Formatting and style sets keep complex-script bold and italic
Merge Formatting gives pasted text the destination's w:cs, so its emphasis
now sets w:bCs/w:iCs with w:b/w:i (either one in the source counts). The
basic and casual style sets make headings bold and italic in both scripts.
The file-format parity sentence goes into the current row instead of an
older copy of it the merge had added.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* M14: list TIFF in supported picture formats
Match the existing TIFF probe support and insertion test in the unsupported-format diagnostic.
* M14: show TIFF files in picture choosers
* M14: cover TIFF visibility in the picture browser
* M14: include TIFF in the web picture chooser
* M14: document supported TIFF pictures and chooser coverage
* Update roadmap with recent changes and dates
* M14: share picture suffixes and cover TIFF inbox routing
The PICTURES constant is now public and includes picture suffixes for file dialogs. Added a new function to check if a file name has a picture suffix.
* M14: dispatch TIFF drops and picked files as pictures
* M14: recognize TIFF paths through shared picture suffixes
* M14: keep the web picture chooser on the shared suffix list
* M14: restore complete format-parity revision history
Restore the complete upstream file from be56b5f1bb and reapply only the TIFF status clause, Pictures row and owned revision entry. Preserve all upstream history, including the rounded-rectangle update, and describe chooser, drop, inbox and pasted-path routing accurately. Complete source captured in chunks; inverse transformation exactly reproduces upstream. No local build or tests run for this documentation repair; hosted CI will validate the new head.
* M14: record TIFF drop and pasted-path routing
Update only the three TIFF-owned roadmap lines to mention native drops, picked-file inbox dispatch and pasted picture paths, matching the shared suffix routing already implemented. Preserve the complete 1460-line roadmap and all existing revision history. No local build or tests run for this wording-only follow-up.
* M14: carry TIFF picture routing onto framework file services
Preserve the incoming #7101 file-service implementation and reapply the shared TIFF suffix list. Port chooser/drop/copied-path regressions to ScriptedFiles and FileIntake. Companion conflict-resolution commits will retain the remaining incoming framework files before updating the branch from main. No local Rust toolchain is available; hosted CI must validate the integrated head.
* M14: preserve framework intake while dispatching TIFF drops
Carry the incoming #7101 file-intake and close-guard implementation unchanged, except for routing picture drops through the shared picture suffix predicate. This preserves TIFF name dispatch and the incoming framework changes. Hosted CI will validate after the companion conflict resolutions and main update.
* M14: keep incoming framework web picker integration
Retain the complete current-main web host implementation from #7101. Native and web picture filters now come through the UI crate's PickRequest rather than an app-local IMAGE_EXTS list. This file intentionally matches incoming main to resolve the framework migration conflict.
* M14: retain framework fallback chooser migration
Keep #7101's removal of the app-local file browser; the framework file service owns the fallback chooser. TIFF filter, selected-content, drop and copied-path coverage is carried in file_dialogs::picture_dispatch_tests against the new request and intake APIs.
* M14: preserve incoming parity updates and continuous revision history
Start from the complete current-main parity document, retain the incoming frame-preset status, content and history, and reapply only the TIFF-owned status, Pictures row and revision entry. Remove the duplicated October status block and surrounding blank lines so all revision rows form one continuous Markdown table. All 453 upstream table rows are retained; one TIFF revision row is added. No local build or runtime test ran for this documentation repair.