Commit Graph
2235 Commits
Author SHA1 Message Date
Dylan M. TaylorandClaude Opus 5.5 33c0eeeb98 canvas: the slide page takes a thin edge on a flat surround, as production
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-29 20:11:16 +00:00
Dylan M. TaylorandClaude Opus 5.5 cc932416c3 control: the protocol's flat ui.drag {x, y, toX, toY} is taken as the library's {from, to}
The framework sync took the library's drag. Scripts and clients written to docs/control-protocol.md send the flat form, which the library refuses as unknown fields. A flat drag missing a coordinate is still refused, naming it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-29 17:23:20 +00:00
Dylan M. TaylorandClaude Opus 5.5 cbd3c49c8e Slide show bar and grid: the framework's over_picture() and ColumnRule::fit_to_view
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-29 15:23:22 +00:00
Dylan M. TaylorandClaude Opus 5.5 41c04f0dc3 Production merge: cargo fmt
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-29 15:12:12 +00:00
Dylan M. TaylorandClaude Opus 5.5 701d142ebb Fonts: answer to and load Windows family names from the catalogue
The catalogue lists faces under their typographic family only, so has_family missed a Windows family name ("DeckCraft Legacy Semibold") and face() never loaded its file, drawing the last-resort face. has_family and load_cataloged now also take the cataloged faces whose legacy family is the name, loading only those faces' files, as production's catalogue entries did.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-29 06:32:43 +00:00
Dylan M. TaylorandClaude Opus 5.5 13ea89fa06 Production merge: compile fixes against the synced framework
- pptx convert: both sides added the chart's category_format and date_1904; keep one of each.
- AppShell slots and pages take upstream's version argument (|_| None: run every pass, as before).
- profile_root's folder list (production 274ec864) reads the log folder from one LOG_DIR in main.rs, which the logger uses too (the port moved logging to the framework).
- Cargo.lock: toml 1.1.8 for craft-update, and the synced framework's packages.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-29 05:34:57 +00:00
Dylan M. TaylorandClaude Opus 5.5 0348d88127 Production merge: owed lead lines (theme.rs keeps the port's font install; production's minimal-port framework.rs, app/document_focus.rs and document_focus_tests.rs removed: no module declares them and their behaviour is the framework canvas's)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-29 05:27:59 +00:00
Dylan M. TaylorandClaude Opus 5.5 19007a6816 Combine production merge area tests-b
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-29 05:19:36 +00:00
Dylan M. TaylorandClaude Opus 5.5 285ddd0347 Combine production merge area tests-a
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-29 05:19:36 +00:00
Dylan M. TaylorandClaude Opus 5.5 e599339642 Combine production merge area dialogs
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-29 05:19:36 +00:00
Dylan M. TaylorandClaude Opus 5.5 0274166b8f Merge production main, shell area: port side for the minimal-port plumbing, production's fixes kept
- Cargo.toml, deckcraft-web and ui-egui Cargo.toml: the port's craft-libs and egui pins and the craft
  facade; production's craft-host/keymap/theme/window and craft-web-api/web-host lines dropped.
- desktop main.rs: the port's runtime install and hooks; production's macOS refusal fix
  (refusal_dialog and its test) kept.
- web.rs, app.rs, app/input.rs, app/keys.rs, canvas.rs, canvas/context_menu.rs, eyedropper.rs,
  lib.rs, menus.rs, opening.rs, settings.rs, show/ui.rs, sorter.rs, status.rs: the port's code;
  production's framework.rs and document_focus modules are no longer declared (the framework
  canvas, window intents and QAT claims cover them).
- model chart.rs: production's comment for the ? placeholders.
- show/frames.rs: an audio icon with Hide During Show stays hidden while it plays (#1659),
  through MediaClip::hidden_during_show.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-29 04:32:27 +00:00
Dylan M. TaylorandClaude Opus 5.5 a456296b50 merge(dialogs): resolve the production merge in the dialogs area
Every block in the 20 dialogs files keeps the port side: production's
edits there are the minimal port's craft_ui::ComboBox -> egui::ComboBox
renames, window Escape through framework::escape_pressed, the SmartArt
line's Tab, and install_headless harness setup in tests, all of which
the port's framework controls and harness already cover or replaced.
dialogs/body.rs stays deleted (its edits are ComboBox renames only).

Carried from production's craft-update dialog move: the update result
dialog's Cancel (Esc, the close box, a release prompt that withdrew it)
and its Close dismiss the status, so a dismissed result no longer opens
again; the dialog closes when the status returns to idle; and it gets
the updater's installing flag and progress message.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-29 04:31:01 +00:00
Dylan M. TaylorandClaude Opus 5.5 83ea303907 Merge production main into the port: tests-a area
Resolve the 23 tests-a files to the port side. Production's only edit to
them is the minimal-port harness plumbing (with_context_setup(
crate::framework::install_headless) around build_ui_state), which the
port's test_harness already covers by building the window through
SlideApp::new with the runtime installed.

Drop production's new eyedropper test space_on_the_focused_slide_picks_no_colour
from the app: in the port the pick is the framework DropperTool under
ToolHost, and Space on the canvas is the framework's momentary Hand, so
the behaviour is the framework's; it is reported as a framework trial.

find_dialog_tests.rs and ribbon/add_animation_menu_tests.rs stay deleted.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-29 04:30:11 +00:00
Dylan M. TaylorandClaude Opus 5.5 5d73414b96 Merge area tests-b: keep the port's test harness in 23 UI test files
Production's edits to these files (1afbb0ec, 0d8d4b75) add
with_context_setup(crate::framework::install_headless) to hand-built
harnesses. The port's crate::test_harness already installs the craft-ui
runtime through SlideApp::new, so every hunk takes the port's side.
Production's new alt_digit_and_escape_reach_the_app_through_the_runtime
is covered by alt_digit_runs_a_quick_access_slot_unless_text_is_edited
and every_view_draws_the_document_and_the_file_tab_takes_its_focus.
ribbon/effects_tests.rs and ribbon/icons_popup_tests.rs stay deleted.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-29 04:28:55 +00:00
Dylan M. TaylorandClaude Opus 5.5 3b6ce8298c Merge production main b6dd921b into the port (skeleton: conflict markers left in for the area merges)
The port's deletions are kept for the 8 modify/delete files; Cargo.lock is the port's, resolved again after the combine.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-29 04:25:40 +00:00
Dylan M. TaylorandClaude Opus 5.5 58e0ec1487 Merge look-fix-wasm app work (the web build compiles)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-29 04:10:30 +00:00
Dylan M. TaylorandClaude Opus 5.5 59c98f3668 web: the wasm build compiles (print preview desktop-only, drops through the intake)
- The temporary-file print preview is desktop-only: craft-platform's temp
  module has no web build. On the web File > Print downloads the PDF, as the
  Print page says and as production did.
- Files dropped on the web canvas no longer go through a window drop target
  on BodyCx, which the framework does not have. The web shell reads them
  asynchronously, as production's web shell did, and hands them to the app's
  FileIntake as name and bytes; a file the browser could not read is
  reported in the status bar. A trial covers the intake's pathless drops.
- The settings trait import is scoped to the desktop block that uses it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-29 02:33:46 +00:00
Dylan M. TaylorandClaude Opus 5.5 cbb58bc974 ui-egui, mcp: clippy clean (imports, arguments, test checks)
Explicit super imports in the form modules; smartart_gallery takes a
LayoutPick; needless borrows and get_or_insert_with; OpeningJobs before the
test module. Tests: clipboard seeds assert the write landed (Written::Written,
as the framework's own tests do); the edit-points test's setup, target and
closing checks are helpers; the mcp backend test module is a plain
cfg(test) module (with its wasm gate beside it) so its helpers count as test
code.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-29 02:22:24 +00:00
Dylan M. TaylorandClaude Opus 5.5 30735ede88 ui-egui: replacement egui and atomic names; window input methods in their own function
Ui::scope_id and Id::unique are the renamed Ui::id and Id::new (same hash, so
ids are unchanged); AtomicU64::try_update is the renamed fetch_update.
control::handle answers the input, screenshot and window methods through
window_input, bringing it under the complexity limit.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-29 02:22:19 +00:00
Dylan M. TaylorandClaude Opus 5.5 72db063166 ui-egui: remove what the port left unread
Unused imports in show.rs (the cfg(test) re-exports the tests import from
the submodules directly), lib.rs, app.rs, closing and chart_data. Dead items:
Show::hidden_time_driven (replaced by next_wake), the Show backdrop wrappers
(tests call the frame store), ShowFrames::current_key (the test checks the
texture left on screen instead), GridPick (sheet returns the picked slide;
the control channel recomputes cells), SlideApp::frame (only
integrated_titlebar read it, at construction) and catalog_generation (the
harness reads AppCatalog::generation). canvas_menu is crate-visible like its
type. The show keys test's typed-digit run is its own helper.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-29 02:22:16 +00:00
Dylan M. TaylorandClaude Opus 5.5 fddc733e8d engine: clippy clean (collapse the notes-run reset into a let chain, io tests at the end of the file)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-29 01:51:52 +00:00
Dylan M. TaylorandClaude Opus 5.5 9b10e46da0 fmt: import order in fillui, ribbon animations, home and title bar
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-29 01:49:31 +00:00
Dylan M. TaylorandClaude Opus 5.5 256b7c4714 Merge look-fix-new-page app work (New page tiles)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-29 00:42:30 +00:00
Dylan M. TaylorandClaude Opus 5.5 df91574b68 Merge look-fix-request-drain app work (paint while a screenshot is pending)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-29 00:42:30 +00:00
Dylan M. TaylorandClaude Opus 5.5 ee1e59136b Merge look-fix-pinch-anchor app work (canvas scrolls its fit margin)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-29 00:42:30 +00:00
Dylan M. TaylorandClaude Opus 5.5 b760926b00 control: keep painting while an issued screenshot awaits its image
The renderer reads a capture back as it submits a later frame, and a slow
device (llvmpipe) may not have finished by the frame the issue asked for. The
window asked for frames only while a capture was unissued, so an idle window
(a paused GIF) drew no more and ui.screenshot got no reply in 60 s.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-29 00:17:16 +00:00
Dylan M. TaylorandClaude Opus 5.5 378872f489 backstage: New tiles are pictures with their names under them, as production's
The blank presentation shows at production's larger size (the card thumbnail at 1.25), every tile frames
its picture only and sets its name under it on up to two lines (CaptionPlace::BelowWrapped), and
"Templates" is a plain heading, as Info's and Print's are, with no fold.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-29 00:16:52 +00:00
Dylan M. TaylorandClaude Opus 5.5 46eed3591d control: test that a request arriving in a frame that runs twice is answered
Requests are taken once a frame, in raw_input_hook. One that arrives after that
drain, in a frame whose first pass is discarded, has only the transport's wake,
which eframe drops as more than one pass old. The trial runs frames as eframe
does, one per kept wake, and needs the framework's ControlChannel::poll_input to
ask for the next frame while a request waits.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-28 23:56:25 +00:00
Dylan M. TaylorandClaude Opus 5.5 db24e74f16 Merge look-fix-ribbon-height app work (16 px icon glyphs)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-28 23:27:15 +00:00
Dylan M. TaylorandClaude Opus 5.5 cd4cf5ae80 sizes: icon-only buttons show 16 px glyphs, as production's icon buttons in the title bar and quick access did
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-28 23:22:01 +00:00
Dylan M. TaylorandClaude Opus 5.5 80a6dbd9e8 Merge look-fix-place-rows app work (Open and Export place rows)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-28 23:04:47 +00:00
Dylan M. TaylorandClaude Opus 5.5 f7820a77e1 backstage: Export lays its tasks out as Open's places: a side-menu-wide list, a rule, then the task
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-28 23:03:04 +00:00
Dylan M. TaylorandClaude Opus 5.5 2d9061bbaa canvas: a zoomed-in slide scrolls its fit margin past its edges, as production's, so a pinch out keeps the point under the pointer
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-28 22:54:21 +00:00
Dylan M. TaylorandClaude Opus 5.5 e82eec3a2f backstage: Open's places and Export's tasks show as side-menu place rows
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-28 22:53:32 +00:00
Dylan M. TaylorandClaude Opus 5.5 0f2e72edd5 ribbon: size and timing field labels without a colon, as the format pane's fields (the form standard)
The Field names its control from its label, so 'Height:' left no 'Height' spin button
(units_tests::the_ribbon_size_boxes_show_and_take_centimetres). One label style for fields in
the app: the format pane's.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-28 21:49:54 +00:00
Dylan M. Taylor 7eb29ea345 Merge restore-tests app work
Co-Authored-By: Claude Opus 5.5 <[email protected]>

# Conflicts:
#	crates/ui-egui/src/panels/fillui.rs
2026-11-28 21:29:55 +00:00
Dylan M. TaylorandClaude Opus 5.5 0c66a78dcc Merge look-fix-automation-2 app work
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-28 21:27:45 +00:00
Dylan M. TaylorandClaude Opus 5.5 02044715aa ribbon: size and timing fields are named without the label's colon; units tests read the inch mark
The labelled ribbon fields (look-fix-ribbon-row) passed their visible label, colon included,
as the control's name, so 'Height:' had no 'Height' spin button. The visible label keeps the
colon; the name is the label without it, which still starts the visible label.
InchSpelling::Mark writes inches as ″; the units tests accept it beside " and 'in' and refuse it
where no inches may show.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-28 21:27:45 +00:00
Dylan M. TaylorandClaude Opus 5.5 a5fa8ed3b4 control: take requests once a frame before its input, so its command states include them
eframe runs App::logic in every pass of a frame, but the frame's command states
are taken once, in raw_input_hook. A request drained in a frame's second pass
(insert.smartArt makes one) ran after that snapshot, so the pass drew the
SmartArt Design tab with Change Colors disabled and a labelled click found it
'not clickable'. A request also waited a pass between admission and its first
injected step, and a late layout change in that pass withdrew the click before
it ran ('input cancelled').

drain_control now runs in raw_input_hook, before the command states and the
injected input hook: every pass of the frame shows what the requests did, and a
request's first step enters the frame that admitted it. eframe's logic-only
iteration calls raw_input_hook too, so a hidden window still answers.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-28 20:55:04 +00:00
Dylan M. Taylor e146519a1c Merge look-fix-show-fit app work (black show letterbox, 28-point fit margin, two-line notes pane)
Co-Authored-By: Claude Opus 5.5 <[email protected]>

# Conflicts:
#	crates/ui-egui/src/sizes.json
#	crates/ui-egui/src/theme.rs
2026-11-28 20:45:35 +00:00
Dylan M. Taylor 711f73de0c Merge look-fix-format-editors app work (gradient stop fields, eight directions, dash samples, inch mark)
Co-Authored-By: Claude Opus 5.5 <[email protected]>

# Conflicts:
#	crates/ui-egui/src/theme.rs
2026-11-28 20:44:38 +00:00
Dylan M. TaylorandClaude Opus 5.5 7447c3a88a tests: restore the timeline clamp, effect preset tile and styles row resize tests
panels::animtimeline::tests::drags_snap_and_clamp guards timing_of's clamps,
panels::effect_presets_tests::preset_tiles_set_shadow_glow_and_soft_edges the tile
clicks, and ribbon::picture_styles_tests::a_resize_alone_settles_the_styles_row that a
resize with no input lays the Picture Format row out again.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-28 20:39:00 +00:00
Dylan M. TaylorandClaude Opus 5.5 dbeef34c33 fill: a double-clicked gradient stop's colour menu stays open
The menu hung from a point under the marker, so the press of the double click that
opened it counted as a press outside and closed it in the same pass. It now hangs
from the marker's rect, which the outside rule leaves out.

Restores panels::fillui::tests::double_clicking_a_stop_opens_its_color_menu.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-28 20:38:56 +00:00
Dylan M. TaylorandClaude Opus 5.5 f4761dc706 canvas: Fit to Window fits before the pass's input, so a pinch or Ctrl+wheel at the fit zooms
The canvas applied the Fit on Screen the app queued every frame in fit mode after the
pass's wheel and pinch, which undid them. Fit mode now gives the view without a rect,
which the canvas fits on the pass's own rect before reading input.

Restores canvas::tests::wheel_and_pinch_zoom_keep_the_point_under_the_pointer,
zoom_commands_keep_the_middle_of_the_view, format_painter_sets_the_cursor and
animation_painter_sets_the_cursor.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-28 20:38:51 +00:00
Dylan M. TaylorandClaude Opus 5.5 bb9744d5d5 canvas: fit the slide with 0.19's 28-point margin and a two-line notes pane
DeckCraft's sizes set space.inset.fit to 28, the margin its editor kept around
the slide, and the notes pane opens at 78, the height 0.19's two-line notes
field gave it (and saved), so the slide sits where it did.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-28 20:27:16 +00:00
Dylan M. TaylorandClaude Opus 5.5 ef1dd23549 show: letterbox the slide in black with the slide page's pasteboard
The show canvas set a black pasteboard colour but showed no Pasteboard, so the
bands around the slide were the canvas surface. The show body now shows the
slide page with no border under everything it draws.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-28 20:27:13 +00:00
Dylan M. TaylorandClaude Opus 5.5 ba30bdead2 format pane: production's gradient stop fields, eight directions, preset headings, dash samples, inch mark
The gradient editor uses StopFields::Transparency (Position, a Transparency slider, Remove stop), shows
all eight directions in a wrapping row (the Segmented row was cut after six) and labels its preset
grid, as the Pattern grid; the Line section's dashes are one row of drawn line samples; inches show
the inch mark (InchSpelling::Mark at the root).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-28 20:05:33 +00:00
Dylan M. TaylorandClaude Opus 5.5 c57351bf5e Merge look-fix-backstage app work (File view titles, page width, forgetRecent, glyph Back)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-28 19:10:08 +00:00
Dylan M. TaylorandClaude Opus 5.5 4fab4dedf2 File view: titles at 18 px, full-width page, recent remove through app.forgetRecent, glyph Back
DeckCraft's sizes set the Title role (pane and File page titles) to 18 px and the File page column to production's
1180 px. The search fields show their placeholder, every recent row shows its remove button and removing runs the
new app.forgetRecent command, the side menu's Back is the glyph alone, and the Export and Info icons use their
registered ids so they draw.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-28 18:53:02 +00:00
Dylan M. TaylorandClaude Opus 5.5 5e05bca7b4 Merge look-fix-ribbon-row app work
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-28 18:44:23 +00:00