mirror of
https://github.com/storytold/wordcraft.git
synced 2026-11-22 22:06:26 -06:00
f44b2e41653c49593fc7aa44be73aff4d8de5feb
1559
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
f44b2e4165 |
A table row split across pages no longer runs off the bottom of the page (#6827)
* 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> |
||
|
|
45f49e9990 |
No empty page before the next section when a section's last paragraph has Keep with next (#6835)
* 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> |
||
|
|
70ecef86df |
#7124: mcp refuses to start without both automation roots, and refuses --connect (#7157)
* #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> |
||
|
|
685869239f |
Proofing: support freestanding custom.dic dictionary files (#5840) (#5899)
* 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> |
||
|
|
f5f29dc076 |
PDF export: tracked changes take the Track Changes Options colours (#5232) (#6144)
* 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> |
||
|
|
fea7a9182e |
#6518: typing after Backspace keeps the deleted character's formatting (#6522)
* #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> |
||
|
|
cdebeace8d |
DOCX: a run marked w:cs is bold and italic only by w:bCs and w:iCs (#4852)
* 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> |
||
|
|
46954248d1 |
M14: expose supported TIFF pictures in choosers and errors (#6704)
* 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
|
||
|
|
f42efe368c | Merge main and preserve both accessibility roadmap entries | ||
|
|
79a36f192d | Merge main and preserve dialog accessibility on framework surfaces | ||
|
|
e28050be8b | Merge main and announce formatting shortcuts through the framework command runtime | ||
|
|
b5e0be7879 |
Port the UI onto the craft framework (#7101)
* canvas-w21: net change of 3 commits - canvas-w21: written from its sheet - canvas-w21: repair 1 - canvas-w21: review fixes (review-1) * chrome-w8: net change of 2 commits - chrome-w8: repair 1 - chrome-w8: review fixes (review-1) * mini_toolbar tests: import egui pos2 and Vec2 the tests use directly (production imports only Rect, Ui) * App compile: open context_menu, font_box and ribbon::common to their callers; Label and Value import from their framework homes; balloons read command_enabled; wordart test runs fired commands through WordApp::run_fired; delete rtl.rs, which has no reader * Fix imports (palette, picker, icons, color), expose find helpers, drop old keytip phase state per S-L365 * keytip_places: removed with the old keytip phase machine (S-L365); WordApp, WindowUi and the destructurings no longer carry it * ribbon submodule imports: Value, Target, Remember, egui geometry, Label, TypeRole, DisclosureGlyph and kittest Node come from their own modules, not the ribbon.rs re-exports ribbon-w8 dropped * context menu: CanvasState keeps the open point so the menu anchors where it was asked * Palette derives Default: dialog forms hold an empty palette until prepare fills it * ribbon: Stack/Row/Menu show need ShowContainer in scope * canvas Read Mode: reading metrics come from a probe component measured under the theme (S-L355) * Dialog and mini toolbar call sites follow the framework: Mode into style previews, owned colour key, non-exhaustive DialogResult, struct EditEvent variants, IconButton::command, Props::command on bound toggles * canvas: the mini toolbar shows inside the page view body, where it maps its anchor through the canvas view * ribbon: runtime labels as owned Strings, Props in scope for MenuItem::label, RibbonGroup icon 'static * Tests read the canvas zoom through CanvasState::zoom and pass the context to qat_enabled * More Colors settle hook returns Settle (S-L280) so it registers as a DialogHooks settle * ribbon: wordart/shapes galleries take the menu body cx; TextRun built with its builders; symbol tile paints centred by the run's alignment; paint_style gets the content painter cx * math pictures: MathSource takes an aspect and sizes its layout box from the thumbnail request, with thumb_aspect for the tile or button (S-L393) * CatalogRef: Debug says whether a catalog is held, since the framework's Catalog has no Debug * mini toolbar tests: read accessibility labels and popups through kittest's NodeT::accesskit_node * tests.rs: readers move to the framework and canvas accessors that exist (ScriptedFiles held/queue/answer_to, Host::builder, page_rects()/canvas_rect(), drain_inbox, DefaultAppError, pixel-sized auto_scale_limit_over, ClipItem::Image, DropTarget::Elsewhere, dialogs::close_all) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * Reading probe returns an Outcome output; context menu rows label via MenuItem::new; colour preview matches cover non_exhaustive Preview; mini toolbar toggle icon is static * fu2-app: app batch 2 rulings on batch 1 sets (S-L412, S-L365, S-L410, S-L411, S-L414, S-L419, S-L372, S-L368, S-L364) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * Ribbon menu rows take owned labels: framework Label is String or 'static str, not a borrowed &str * QAT command menu request drops the removed opener field * Colour child answer: DialogResult is non_exhaustive, so any other result is ignored * Thickness menu face: Button has no icon_only, so it shows icon and label * Tests: By filter helper with an explicit lifetime; accessibility label compared as Option<String> * lead: last compile fixes (menu label lifetime; perf test reads the page view's resident pictures, S-L352) * lead: binary compile fixes (egui DroppedFile trait, Lang accessor, print test binding) * lead: dropped file bytes as Arc * lead: examples reach the framework through craft:: (S-L230) * lead: examples reach the framework through craft::ui::shell::embed (S-L230) * lead: ui_shot example runs its main under the test build cl uses (harness = false) * rr-app-ribbon: the ribbon slots are sized by their content (SlotSize::Content) The default top slot is one options bar high with a one-line layout: the ribbon's groups landed beside the tabs and all collapsed. Needs the framework's SlotSize::Content (branch red/ribbon-place). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * app tests: one harness that installs the craft runtime before the first frame Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * lead: WordApp::new registers the app icon set (ribbon-w13 icons::register had no caller) * red app-t2 g4: tests step with the app's command input; print preview is a group; neutral SmartArt error Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * red app-t2 g6: tests step with the app's frame input; integrated frame for the title-bar test; undo list caps rows; table press hold released; test clipboard answers files Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * red app-t2 g3: dialog collections cap their rows, tests give dialogs their context and focus, glyph scan skips test data Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * red app-t2 g5: tests step frames through frame_input; split-button arrows named; collections capped; stale premises rewritten Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * red app-t2 g8: closing guard outlives window swaps, root focus/close, web save undo, collections natural height, test premises Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * red app-t2 g2 (lead commit) * red app-t2 g1 (lead commit) * red app-t2 g7 (lead commit) * lead: backstage test row query borrows the name as long as the harness * red app-t4 g2: key tests step through the app's frame hook; draw paths read format state without running a command Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * red app-t4 g8: custom dictionary caps its rows; chrome/language-pack tests press as a person does; sources test steps through the frame hook; audit and pane tests follow the framework's layout Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * red app-t4 g3: dialog test premises and Custom Properties labels, colors route, macro names, bookmark delete Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * red app-t4 g6: md_source focus waits for a non-measuring pass; window rig reports inner rects; smoke sends a close request; switch windows label; i18n tests Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * red app-t4 g5: table borders above selection areas, ruler markers follow drags, proofing list click-activates, test premises (focus, Enter=OK, extra buttons stay open) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * red app-t4 g7: failed web save keeps clean state, symbol dialog fields, table margin hold release, object release keeps Alt placement, test premises (toggle off, Escape chord, CJK glyphs, palette swatches, frame gesture) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * red app-t4 g4: frame hook in keytips tests, held list previews, crop keys and handles, read-mode context menu, keyboard overrides notes Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * red app-t4 g1: frames run the app's input hook and close path; page focus survives measuring runs; stale prompt dropped; recipients/styles collections capped Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * look-backstage: File pages as production: menu rows at the reading start, Discord above About, page titles over sections, Info property labels, Print preview fills the page Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * look-dialogs-b: TOC levels label, Options/Modify row and sample card metrics; watermark layouts in a row; About listed layout and version line Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * look-ribbon-1b: Styles gallery tiles are 2:1 and named under the sample; Paragraph shows whole at 1440 pt The style gallery asks the framework gallery for 2:1 pictures (the sample crop, STYLE_TILE_W, at the medium thumbnail height) with the style's name under each, instead of square tiles that shrank the sample. A test pins the Home tab showing the Paragraph group whole in a 1440 pt window (framework: red/ribbon-look's ribbon place, short font and size boxes, flat close ribbon buttons). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * look-backstage: the File side menu is as tall as the window (Sizing::FillHeight), About and the community link at its foot Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * look-chrome: title in a native frame; status bar view icons, fonts warning icon, plain zoom rail The title bar shows the document title under the OS's title bar too (TitleBar::title_when_native), as the old bar always did. The status bar's view buttons are icon-only toggles in the old order (Read Mode, Print Layout, Web Layout) with the current view pressed; the missing-fonts item has its warning icon; the zoom slider has no fill up to the thumb. Tests the_title_shows_in_a_native_frame and status_bar_view_buttons_are_icons_with_the_view_pressed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * look-backstage: File page controls at stacked-row spacing, as production's Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * look-backstage: one contract import in pages.rs Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * look-dialogs-a: Zoom opens on the view's percent (fraction x100), radios in a row, slider with its field inline, fit buttons in the body; Word Count as a plain label/count table over Close and Cancel; Font dialog as the old framed boxes: label table, kerning size and Points and above on the check box's line, Effects two to a line, preview at its own size; tests * backstage test: import NodeT for accesskit_node * red app-t5 g6: window rig reports the real child, ruler drags free of the framework snap Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * red app-t5 g4: smoke drops texture deltas, md_source tests step the hook frame, font list rows are tree items, Escape closes bar then menu, symbol pick confirms twice Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * red app-t5 g5: rotate objects about their centre, CJK stand-in in ribbon fit test, caret blink restart, Switch Windows node pair Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * red app-t5 g7: nav lists take natural height; menu/keytip tests step the frames the runtime needs Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * red app-t5 g8: Size dialog tests step through the app frame hook, Styles pane test scrolls its capped list, pack tests end the agent's injection Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * red app-t5 g3: dialog tests read the page's preview, the input hook, framework About key; Alert on refused custom property; Text Pane focus via framework stop Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * red app-t5 g1: harness hands app input before the pass; confirm via passes; pane/close/clipboard test premises Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * red app-t5 g2: keys tests follow the framework's IME ordering, interrupt and reset; undo folds an open SmartArt run; join survives a later pass Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * look-rest-2: File side menu rows in the side menu place at the side menu's width (production's 200 pt rail of 38 pt rows); Print settings column wraps its notes at the column width * look-rest-2: side menu imports formatted; test pins the rail's width and row height * panes test: MouseWheel carries its source * red app-t6 g8: ribbon end order, cjk stand-in any family, capped findings list Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * red app-t6 g6: smoke finds the platform's answer button, info/side-menu tests use the framework's mechanisms, pack-bar click settles Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * red app-t6 g3: menus open from their opener, view buttons given, caret test animation time, switch windows rows Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * red app-t6 g2: icons dialog owns its scroll, effects grid fills, search opens in place, macros press runs once Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * red app-t6 g5: symbol pick OK, md pane Undo/Redo enabled by the field, live rotation pixel preview, text-box turn tolerance Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * red app-t6 g7: mini_toolbar and table_resize tests settle on the framework's layer and marker timing Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * red app-t6 g4: Alt+Q row follows the engine's build-time binding Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * red app-t6 g1: CJK stand-in in the shared harness, late-paste test clipboard, web-layout gutter, search dropped in Focus, split-button and held-Return tests Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * look-rest-3: Print settings column as production's: one Pages heading over both page lists, the page count muted, a rule above the export formats; Word Count rows a control's height apart * look-ribbon-3: Design's style-set tiles and Home's style samples at the large thumbnail size (Gallery::thumb), as large as the old ribbon's; the samples show unscaled Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Ribbon: the Zotero tab is called Citations; Zotero is its provider Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * Citations: a Provider menu with Zotero as its one provider Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * citations tests: hold the layout the tabs borrow; import NodeT * red app-t7 g6: settle the Install button before the person's click; wait for the caret glide; coverage check skips symbols kept from the English source Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * red app-t7 g5: smart-art category list natural height, print panel FillHeight, ribbon fit test checks on-screen controls Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * red app-t7 g2: Alt+Q test back on the Focus dialog, Tab hand-off owned by the framework, macros name read from the box, effects as pair rows, caret test waits for focus Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * red app-t7 g4: Size dialog fields take edit events, font list opens from the field, test keys release Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * red app-t7 g3: keymap test assigns through the keymap's Steal policy; smoke finds the prompt button by its resolved name Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * red app-t7 g1: Escape reaches select.collapse and the window's untaken Cancel (File page, Focus, Full Screen); web width settles after a drag; prompt helper asks the shown window; chord tests step the framework's frames Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * look-ribbon-4: the tab row's Comments and Editing are outlined and Share a filled accent button, as the old strip drew them (StripEnd::variant) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * look-rest-4: Font dialog's Effects columns as wide as their check boxes (production's table, Italic just past Superscript); File page section headings in the heading role (production's 15 pt) and page titles, Options' too, a step above them * look-5: Home's Font and Paragraph button rows close up as the old ribbon's; Layout's Paragraph group as two label/field grids of small fields, indents to two decimals, a section gap before Spacing * red stub g2: caret glide compares the view, which the page view reports on every pass Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * red stub g2: crop overlay takes the box as given so a drag survives to its commit Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * red stub g1: Alt+Q to Search Commands off macOS, ui.print state, scripts open no dialogs, equation state read without a command, size and New Label tests on the framework fields Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * red stub g2: collections in scrolling bodies cap their rows or take their natural height, as production shows them Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * red stub g2: Escape on the page dismisses an open text menu first Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * red stub g1: format.enclose gives a script an error without a shape, as the engine always has Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * red stub g2: the caret marks are shown over the view, so their strokes are not clipped to an empty rect Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * red stub g2: header/footer presses keep their release; the caret follow settles after a page jump; a wheel zoom keeps its exact zoom Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * red stub g2: tests find the framework's controls by their real roles and names; the ribbon group check covers the ribbon's groups Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * red stub g2: the canvas keeps the whole layout's page rects; the side-by-side test reads every page as production did * red stub g2: the perf wheel helper sends point travel over the touchpad factor the framework now applies, as production's host did * red stub g2: the alignment test steps once more for the fired command to run, as the port's command board does * red stub g2: the Zoom dialog's programmatic OK answers with the percent it shows * red stub g1: tests install no gallery story command sets (they took Mod+F from Find); the Navigation pane keeps its focus request until a pass takes it; Field Code opens before the first frame; report rows of the input-dialog test expect the report's data Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * red stub g2: a WordArt style pick hands the keyboard to the page * red stub g1: the language pack bar's slot takes the bar's height, so a failure's line no longer clips Install out of reach Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * red stub g2: a tab click and a dismissed status-bar language menu give the page the keyboard back after the pass; the test reads the framework's open menus * red stub g2: the caret follow waits for the page's settled rect and places an unplaced page's caret from the whole layout * red stub g2: the canvas reports the area the pages show in; the wheel-zoom test points at its centre, as production's canvas rect was * look-6: a script's launcher command (format.fontDialog, Zoom, Page Setup) opens its dialog as production did; commands lacking input still open none Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * look-6: the File page body stands on the window background (production's #f9f9f9), not the white panel Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * red stub g2: the app's Host carries the embedded catalogs, so framework words translate; catalog labels and command hints are translated; the canvas's zoom chords are dropped for Word's * red stub g2: the caret glide test catches the caret the frame after it sets off, as on main (the set-off frame draws it where it was) * red stub g2: Manage Styles and Customize Ribbon lists scroll their own rows (row caps as main's boxes); the Arabic Go To check compares the targets with the framework dialog's button column * red stub g1: Alt chords fire from the page (PlainKeysWait; Alt+F7/Alt+F8 left to Word's commands), Macros reopened keeps its hooks, the recipient grid holds its rows through the click that ends an edit, ui.clickText maps page points by the page's scale; chrome tests read the title bar outside the File page and open the desktop chooser as its pump does Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * red stub g2: watermark, citation style, TOC level, Zotero, caption, cross-reference and icon category labels are translated; the audit reads a wrapped marked label's second line as marked, and allows a hover hint's shortcut and separators, listed or cut-short names and trimmed licence texts * red stub g1: the Print page decides what an opening holds back in the opening frame's first pass, as appeared() now holds through all of that frame's passes Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * red stub g1: tests give a key and its text (or one IME batch) one frame, as kittest's event runs a frame per event; Paste Formatting's key reads its chord when the modifiers are already up; ⌘Q is the runtime's close (S-L332); Search's Escape meets the draft rule first Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * red stub g1: wrap the command board's import at the repository width Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * red stub g1: the PDF bytes test expects the equation's x the math face can draw (plain x on a host with no math font, as in the pre-port baseline) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * red stub g1: the smoke test turns AccessKit on for its own context, so the Save Changes prompt's buttons are in the tree it searches Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * look-7b: Custom Watermark's text field asks for 38 characters (Param::field_chars), about the old dialog's 280 pt; the field length gave about 195 pt * look-7a: File pages: titles at production's 26 pt (WordCraft's display size), the page's 40 pt margin clearing the move band, the rail's footer in the side menu place (white ink), Protect Document a section apart on Info, the Print settings a frameless 380 pt column with chevrons for the sheets; tests * red stub g2: Shift+Delete cuts the selection and does nothing without one (EditorInput::Delete.shift); the page reports its marked text (EditorState::marked); one-frame input back in the refused-delete and disabled Alt chord tests; a Delete after a commit waits out the framework's composition-key guard; a user binding reaches the keymap a harness frame later; window.move/size keep their defaults Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * red stub g2: Ctrl+wheel zoom test keeps the place under the pointer at each notch: a reflow centres the rows, so the page under the pointer is taken when the notch comes, and a pointer over the centre gutter moves onto a page first Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * merge app-ui: resolve production main into the port's UI - ribbon/home.rs ( |
||
|
|
09faec42ec |
Merge pull request #6162 from tsw2k/fix/docx-frame-shape
fix(render): frame shapes draw with a hole; frame presets open as frames |
||
|
|
8d25795427 |
fix(docx): a frame preset shape opens as a frame
#6886 read DrawingML's frame preset as a rectangle because WordCraft's model had no frame. Now that it has one, the model bridge keeps the kind and its border width (adj1), so the shape opens, saves and draws as a frame. |
||
|
|
0478b7633f |
Merge main (4e8c9d55) into formatting-shortcuts-say-what-they-did
|
||
|
|
3eaf2e1dcf |
Merge main (4e8c9d55) into dialog-controls-named
|
||
|
|
497d658574 | Merge remote-tracking branch 'origin/main' into fix/5886-wayland-resize | ||
|
|
4e8c9d5531 |
#3172: the Paste button's name has no macOS key on Windows and Linux
Home › Paste is named "Paste" for screen readers. Its hint adds the key as the platform writes it, so the name no longer carries macOS's ⌘V on Windows and Linux. The status bar's Go To hint uses the platform's key too. A menu button's KeyTip is looked up from the English tip, so it still appears in other interface languages. See the pull request for the discussion. |
||
|
|
3ab2e53a89 |
Screen readers: headings and list items come one level too deep (#3173)
Headings and list items now use AccessKit's zero-based level, so a Heading 1 reaches UI Automation as level 1 and a first-level list item as level 1. They previously came one level too deep. See the pull request for the discussion. |
||
|
|
be56b5f1bb | Merge remote-tracking branch 'origin/main' into fix/builtin-styles-bcs-ics-4198 | ||
|
|
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. |
||
|
|
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. |
||
|
|
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. |
||
|
|
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 |
||
|
|
15d315e3f8 | Wayland: 600 pt minimum width for GNOME split window tiling (#5886) | ||
|
|
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> |
||
|
|
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
|
||
|
|
26b3ae2cc2 |
inspect_document marks the page fields of headers and footers (#4467) (#4474)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
65212d6856 |
Shapes: lines move by their body and resize by their ends (#4393)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
c7c7421acf | Shapes: a rounded rectangle without a corner size of its own takes the preset's default (#6546) (#6547) | ||
|
|
ebe2f430d8 |
UI: Invalidate Home Styles preview textures on font changes (#5957) (#6029)
Co-authored-by: Shabir Ahmad <s238374@dac.unicamp.br> |
||
|
|
d4b5c68833 | Merge branch 'main' into fix/no-break-in-url-query | ||
|
|
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> |
||
|
|
224bfdb2a0 |
Layout: Word 2003's indent rules start a line right after a float before the indent (#5939) (#5940) (#6905)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-Authored-By: SenuraMalaka <19330762+SenuraMalaka@users.noreply.github.com> |
||
|
|
2dd0f9a67b | Field dialog: text fields have a Format list for capitalization (#5062) | ||
|
|
b69dc6a34f | Merge branch 'main' into fix/no-break-in-url-query | ||
|
|
b3f31666d3 | M14: align release guide with scheduled dry runs (#6682) | ||
|
|
68f758928e | M14: keep the type_text description in one MCP table row (#6683) | ||
|
|
840efd03fb | M14: link PDF revision guidance to the workspace manifest (#6685) | ||
|
|
ff0823f40d |
Track Changes: a deleted list item's number is drawn as deleted text (#4828) (#4836)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
211f62231d | M14: correct control protocol parameter examples (#6684) | ||
|
|
9144b9bfda | Insert › Shapes: the Arrow tile is the block arrow it inserts (#6768) (#6882) | ||
|
|
cd23034f65 | M14: clarify when layout tests need explicit font initialization (#6697) | ||
|
|
646fbc7cd5 | M10: clarify Zotero command response shapes (#6700) | ||
|
|
9fe9bd5042 | M14: clarify initial and pane spelling-review wrapping (#6720) | ||
|
|
de977bcde6 |
Merge pull request #6658 from dotCooCoo/fix/issue-6636
Metafiles: draw EMF+ bitmaps, pattern fills, clips and pen styles from craft-metafile (#6636) |
||
|
|
fe8a8a838c |
Header pictures: while editing the header, a click selects its Behind Text picture wherever no header text covers it (#5601)
* Header pictures: while editing the header, a click selects its Behind Text picture wherever no header text covers it Header and footer Behind Text pictures skip the deferred drag-over-text path where the plain hit test picked them with no text under them, and a right-click selects them (and sets the page they were hit on) so Reset Picture and Wrap Text act on them. Tests cover a header and a footer, a drag, and a repeated picture right-clicked on another page. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * #5601: header Behind Text picture: a left-click selects the copy clicked on a repeated page The press branch of pointer() selected the picture but left page_hint on the page being edited, so on a header picture repeated on page 2 the frame and handles were resolved and drawn on page 1. Set page_hint to the picked object's page, as select_at does for a right-click. Adds a left-click counterpart to the right-click test. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * #5601: header text hit test checks each line's own extent CodeRabbit: hf_text_at took the whole paragraph's right edge from its last line, so a click on a long first line past a short last line's end counted as clear of text and selected the Behind Text picture under it. Each line now has its own band and extent. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * #5601: pin that centred and right-aligned header lines cover their whole band Line::left/right are the edges available to a line, not where its ink sits, so a centred or right-aligned header line already covers the Behind Text picture across its band (indent and floats narrow it) plus 40pt. Test pins that, and the parity row now says what counts as covering the picture. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * #5601: pin Line.left/right as band edges in the header band test Assert the band's left edge is the 150pt indent, the centred/right ink starts well inside it, and a click between the indent and the ink is text. Fails if Line.left were the ink extent. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
2bd6f372c5 |
File › Print: reopened, the page doesn't repeat the last job's message (#5597)
* File › Print: opened again, the page doesn't repeat the last job's message "Print job submitted…" (or a failure) stayed on the Print page the next time it was opened. The job's outcome is said once in the status bar, so a fresh open drops it; a failure arriving while the page is open stays, and printer status (finding printers, none found) still shows. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FypgCYPZSei56X4AGFPSu5 * Print page: the last job's marker is kept per window, since egui counts passes per viewport Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FypgCYPZSei56X4AGFPSu5 * #5597: decide the Print page's hidden job message per window The shared printing.message is no longer cleared on reopening Print (ui.printSettings and other windows still report it). Each window remembers what it said (status bar or Print page) and hides only that; a result that arrived under File's other pages is not counted as said. Tests: failure-on-open-page now depends on reopen detection, never-said and two-window state. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * #5597: follow the job message by generation, not by text A retry that fails again with the same words is a new result and shows. A generation (WordApp::print_gen) is bumped when a job starts and when the message changes; each window's Print memo stores generations, so cross-window comparison is by identity too. Also: update the print_memo doc comment, drop an empty branch, align the docs row date. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FypgCXtSjB6e5jmy9Uq7u8 --------- Co-authored-by: Martin Ball <martin.ball@ucsmedical.co.uk> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
8a1f101c46 |
Save As and Export: Browse in WordCraft when the system dialog doesn't appear (#3535) (#3801) (#5790)
* Save As and Export: Browse in WordCraft when the system dialog doesn't appear (#3535) (#3801) Ported from #3801 by VoiceLessQ onto current main. Re-resolved against main: - file_browser.rs tests: rebuilt whole, keeping main's #3859 tests (browser above the dialog, Escape, dialog closing into the browser, modeless keyboard, no keytips) and the PR's #3535 export tests. - print_page.rs: EXPORT_FORMATS now carries main's OpenDocument Text Template (*.ott) and Flat OpenDocument Text (*.fodt) in main's order; main's tests module kept. - docs/control-protocol.md: ui.fileBrowser purpose "export" added to main's current row (keeps ui.displayServer). - docs/ui-parity.md: File dialogs row merged with main's Linux display server row, #3955 history row kept, status line and revision history bumped. Added a test that the ott and fodt export types get their extension and write the file. Co-Authored-By: VoiceLessQ <44067308+VoiceLessQ@users.noreply.github.com> Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FypgCVCCEo7u5wetHaJRU4 * #3535: Word XML export from the system dialog adds .xml to a typed name CodeRabbit: the system Save dialog accepts any name, and the engine takes the explicit Flat OPC format only for an .xml path, so `letter` failed to export. The extension is added as the built-in browser does; an existing file at the new name is refused, since the dialog never confirmed replacing it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * #3535: an existing file at the .xml name is refused on the status bar CodeRabbit: export_dialog drops ask_file's result, so the refusal was silent with a blocking Save dialog. finish_pick now puts it on the status bar as well. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * #3535: Export refusals show on the Export page; a typed document extension gives way to the chosen type's A refused or failed export is said on the Export page (Backstage hides the status bar), as Save As does. A known document extension on the typed name is replaced by the chosen Export type's, and any other is kept with the extension added. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * #3535: Print page shows export errors; cancel clears them; export_name edge cases The export error is drawn inside export_formats, so the Print page shows it as well as the Export page. Cancelling an export drops an earlier error. export_name treats a name that is only a known extension (.txt) as that extension and drops a trailing dot before adding the type's. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FypgCXtSjB6e5jmy9Uq7u8 * #3535: Export error is per window; a dotfile export name gets a real extension The export error moves from a shared Context-data id into per-window state (swapped with the window like missing_fonts), so one window's frame outside Backstage no longer erases another's message. export_name treats a dotfile name such as .docx as a stem, so the engine's explicit-format guard (Path::extension) accepts the result; Word 2003 XML exports are named the same way. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FypgCXtSjB6e5jmy9Uq7u8 --------- Co-authored-by: Martin Ball <martin.ball@ucsmedical.co.uk> Co-authored-by: VoiceLessQ <44067308+VoiceLessQ@users.noreply.github.com> Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com> |
||
|
|
42f8559b97 |
Review › Language: set the whole document's proofing language (#3518) (#5810)
* #3518: Review › Language can set the whole document's proofing language review.language takes scope "selection" (default, unchanged) or "document": every run and paragraph mark of every story (body, headers, footers, notes, comments, text boxes, table cells, glossary) takes lang/noProof in one undo step, selection unchanged, pending typing format follows. The Language dialog gets an "Apply to the whole document" check box. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FypgCVCCEo7u5wetHaJRU4 * #3518: whole-document OK sends only what was changed in the Language dialog With "Apply to the whole document" ticked, OK sends noProof only if the user changed it from the dialog's opening value, and lang if changed or if neither changed (never the engine's en-US default). Heading reads "Mark the whole document as:" while ticked. Glossary walker uses doc's PARA_WALK_DEPTH (now pub). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FypgCVCCEo7u5wetHaJRU4 * #3518: whole-document OK with Do not check ticked marks the whole document CodeRabbit: with the caret's text already not checked, the box was unchanged, so a whole-document OK never sent noProof and the rest of the document stayed checked. A ticked box is now always sent; an unticked, unchanged one is still omitted. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * #3518: refuse whole-document language changes under protection Protection leaves only its exceptions editable, so document scope is refused before anything changes. The post-check now compares the glossary, which no story-level check reached. * #3518: whole-document language keeps per-run proofing, returns selection, skips glossary while tracking - Language dialog: whole-document OK sends noProof only when the box was changed, so a language-only change no longer marks everything no-proof. - review.language scope "document" returns the caret/selection result (plus scope). - Whole-document change skips glossary blocks while Track Changes and Track Formatting are on (tracked formatting does not cover them). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * #3518: whole-document Do not check is sent when the box is clicked; report skipped glossary - Language dialog: a whole-document OK sends noProof iff the Do-not-check box was clicked (proof_touched), so ticking it with the caret in a no-proof run still marks the whole document, while a language-only change leaves other runs alone. - review.language document scope reports "glossarySkipped": true when the glossary was skipped under Track Changes + Track Formatting; doc comment reworded to state only the limitation. - Docs status line and revision row bumped to 2026-11-16. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Martin Ball <martin.ball@ucsmedical.co.uk> Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com> Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com> |