Commit Graph
8520 Commits
Author SHA1 Message Date
bflatastic b9144731d0 api-map: ZoomLadder is a removed entry and ZoomScheme its own replaced entry, the shape the codemods read 2026-11-22 22:37:03 +07:00
bflatastic 603697c7a2 automation, draw, imaging, menu: clippy 1.100 clean: no must_use on builders of must_use types; tests return directly, take Copy rows uncloned, name the remembered answers type 2026-11-22 22:36:59 +07:00
bflatastic 0beefd0d71 ui-panels: clippy 1.100 clean tests: collapsed if; the scopes trial drops the id import ruling (c) left unused 2026-11-22 22:36:57 +07:00
bflatastic d017edbad0 ui-canvas: clippy 1.100 clean: no must_use on builders of a must_use type; the task bar's More story drive finds its button without expect 2026-11-22 22:36:55 +07:00
bflatastic c7059b3a34 ui-shell: clippy 1.100 clean: the start screen's app section type named; no must_use on a builder of a must_use type; test types named, slice from_ref 2026-11-22 22:36:52 +07:00
bflatastic e85a6d3fee ui-patterns: clippy 1.100 clean: no must_use on builders of must_use types; collapsed ifs; Copy fields not cloned; the drop builder type named; the PDF export automation trial is two trials 2026-11-22 22:36:50 +07:00
bflatastic 03ef469d99 text: clippy 1.100 clean: the kerning row takes its side label built, as the leading row does; the axis value type named 2026-11-22 22:36:47 +07:00
bflatastic 7577f7a56c color-ui: clippy 1.100 clean: no must_use on builders of must_use types; pixel loops over as_chunks; harmony and pair closure types named; no needless borrow 2026-11-22 22:36:43 +07:00
bflatastic 5ad0e5288c layers: clippy 1.100 clean: the row's eye and lock cells in with_toggles; host drop place and footer types named; no needless borrow 2026-11-22 22:36:12 +07:00
bflatastic 368b3c9300 layers: LayersEvent::Filter boxes its edit, as the other large edit events do, so the event enum stays small 2026-11-22 22:36:09 +07:00
bflatastic f812df100a ui-contract: clippy 1.100 clean: a row unit reports how it leaves as one (cut_first, rank) pair; the items' place_rows takes the detail through ItemCx::take_detail and a cell_width helper; face and whole-paste types named; tests return directly and take the last visibility by reduce 2026-11-22 22:36:07 +07:00
bflatastic 1222194118 behavior, platform: name the history's weigh function and the clipboard's deferred read (LaterRead) for clippy's type_complexity 2026-11-22 22:36:05 +07:00
bflatastic 8faa8a02c3 keymap: clippy 1.100 clean: no needless borrow in the import's tool check; the hold-binding trial is three trials (text form, off and edits, clashes) 2026-11-22 22:36:03 +07:00
bflatastic 0c33c374a5 platform: the browser file service answers Files::pending_pick with the oldest pick it runs, never a sheet 2026-11-22 22:36:00 +07:00
aiongg 315a223e69 Merge pull request #3010 from aiongg/font-picker-port
FontPicker: production's font menu (row layout, aligned names, sample column, banner, separators)
2026-11-22 10:29:58 -05:00
aiongg 0baee1ff93 Merge pull request #3028 from aiongg/ime-empty-commit
ime: an empty commit with nothing marked is no edit
2026-11-22 10:29:45 -05:00
aiongg 25f2207178 Merge pull request #2995 from aiongg/win-hit-root
ui-shell: embed::before_ui takes the window handle, outside the app feature (photocraft#15870)
2026-11-22 10:29:32 -05:00
Martin Ball fa466c2639 Merge pull request #3049 from batistalucasv/fix/companion-layer-inbar-padding
ui-widgets: add bar padding, InBar env, and start alignment to Menu::companion CompanionLayer
2026-11-22 15:23:44 +00:00
Martin Ball c96fe1a60f Merge pull request #3048 from batistalucasv/fix/unsaved-dialog-alert-role
ui-panels: restore AlertDialog role and AccessKit reason description in UnsavedChangesDialog (#3040)
2026-11-22 15:23:39 +00:00
David MannandClaude Opus 5.5 1aabfe2baf Memoized views keep the row line they stand on, so a memoized bar fills its slot
A memoized view starts a layout room of its own (`start_view_room`), which dropped the row line of
the row around it. A fill-width row shown through a memoized view (an app's options bar in the
shell's options slot) then measured its content with its padding on top and bottom instead of
taking the slot's line: its members sat below the slot's middle and the bottom of a text button's
outline was cut off. The view now keeps the line as a levelled unit does (`places: false`): its
content fills the line without taking slots on it.

Fixes storytold/photocraft#16405.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 16:07:21 +01:00
David MannandClaude Opus 5.5 0130c9090f Dock grips: drop the import the grip ink no longer needs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 16:07:21 +01:00
FredApps 1507e63e6a develop: test local tone mapping across crop and tile coordinates (#3057) 2026-11-22 21:56:12 +07:00
dotCooCoo 430b7425fc craft-cdr: read the picture a .cdr file keeps of its drawing
`preview` returns that picture without reading the drawing, so an app can
show something for a file whose drawing it can't read. In versions 4 to
13 the picture is the RIFF form's `DISP` chunk, a bitmap that is returned
as a BMP file. Packages keep it as `metadata/thumbnails/thumbnail.bmp`
(versions 14 to 16) or `previews/thumbnail.png` (17 on). Versions 1 to 3
keep none.

The `DISP` walk stays within the RIFF form and the chunk count limit, and
the bitmap's color table, masks and rows must fit the chunk. A package
member is read within the member and inflate limits, with its CRC-32 and
signature checked. Rows R75 and R76 in PROVENANCE.md give the sources.
2026-11-22 06:48:52 -08:00
David MannandClaude Opus 5.5 8f8d03b771 Crop shield: one unfeathered mesh, no seam between its pieces
`paint_outside` filled each convex piece of the area outside the frame on its own, feathered on all
its edges, so along an edge two pieces share both faded out and the translucent shield left a thin
strip less covered than the rest: a light line from the frame's corner to the window's edge. The
pieces are now one mesh without feathering (`Draw::data_fill_tiled`), whose triangles meet with no
gap and no overlap. Crop and Perspective Crop both paint through it.

Fixes storytold/photocraft#16410.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 15:46:51 +01:00
David MannandClaude Opus 5.5 13d70a400d Theme: a line.grip token for the dock grips' marks, a little apart from the panel
The dock grips drew their marks at 0.83 of the panel colour, as the references do on their lighter
panels; on our dark panels that is #2a2a2a on #323232, almost invisible, and no theme could choose
it. The marks now use a `line.grip` token: by default two steps from the panel (lighter in dark
mode, darker in light mode; Pro dark #474747 on #323232), and a theme can pin its own.

Fixes storytold/photocraft#16406.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 15:42:58 +01:00
David MannandClaude Opus 5.5 4d059df7ce Crop: a move of an upright document crop may take the frame past its bounds
An edge or corner drag of a document crop already goes past the canvas (photocraft#16043); a move
of the frame (Classic Mode) or of the image under it (image mode) still stopped at the canvas
edge, so a crop could not take in the area past it by a move. In the reference application it
does. A move of an upright document crop now goes past the bounds too; a turned frame's move, turns,
drawn frames, nudges and a placed picture's crop keep their limits.

Fixes storytold/photocraft#16404.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 15:38:14 +01:00
David MannandClaude Opus 5.5 7536627202 Navigator: a view box drag follows every pointer move over a settling canvas
The canvas settles the view a drag proposes to whole device pixels, so the view the app writes
back differs from the Navigator preview's proposal by a fraction of a pixel. The preview used the
default `same_value` (exact equality), so the host-change check ended its drag after the first
move and the canvas only caught up on the release. It now compares with the tolerance the canvas
scroll bars use (photocraft#16006), shared as `settled_as_proposed`.

Fixes storytold/photocraft#16403.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 15:38:14 +01:00
David MannandClaude Opus 5.5 d5c7ae2c51 WIP: Navigator drag, Crop move past the canvas, options bar clip, grip ink (photocraft#16403-#16406)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 15:33:23 +01:00
Dylan M. Taylor 8300e3d448 fix(develop): apply deferred DNG linearization after OpcodeList1 (#3050)
* fix(develop): apply deferred DNG linearization after OpcodeList1

* test(develop): construct the DNG fixture with the CFA API

* docs(develop): describe deferred DNG linearization contract
2026-11-22 09:16:29 -05:00
bflatastic 1e48d97023 ui-contract: the suite's row press avoids pointer-only press parts of the collection, its children and ancestors (a grid's column edges) 2026-11-22 21:01:15 +07:00
bflatastic b1af55834d ui-patterns: NewDocumentDialog print_resolution and screen_resolution are quantity props again, set over the setup through DocumentSettings::set_resolutions 2026-11-22 21:01:13 +07:00
bflatastic bcce1c9f89 ui-patterns: DockArea::continue_move is a quantity prop taking (panel, grab) 2026-11-22 21:01:12 +07:00
bflatastic 83f452d669 ui-contract: the icon-fill trial's white tint is marked; icon-trial-fixed-tint covers 4 2026-11-22 21:01:10 +07:00
bflatastic b950fb234a ui-patterns: PresetRow::preview with its counted anonymous key goes; callers give a keyed face through preview_face (pattern swatches by texture, contours by their points) 2026-11-22 21:01:09 +07:00
bflatastic ccda1c03b3 imaging: the Filter Gallery session carries its layer-id counter (next_layer), kept across undo, instead of a process-wide static; ids are unique within a session 2026-11-22 21:01:08 +07:00
bflatastic b2544efa27 automation: control lookup moves to access.rs (Target::rect, ControlMap); At::resolve takes a control map instead of the access tree 2026-11-22 21:01:07 +07:00
bflatastic e3d43eaf2f framework: button presses read through contract::clicked; the command registry names layers as runtime::egui::areas::LayerKey; Pasteboard declares its overlay (its rename story covers Open); rename_field returns the TextField for callers to show; the tool host's cancel mapping no longer names the pipeline's Gesture; quantities declared on roundness and a field's named number; fixed sample and paste-picture colours from Srgba and the test kit 2026-11-22 20:37:43 +07:00
Dylan M. Taylor fe14ea0bcf TitleRow::icon_ink; a dialog's title icon is drawn in the accent (trial the_title_lock_is_drawn_in_the_accent_colour, seen failing) 2026-11-22 08:33:19 -05:00
batistalucasv de9d130f0d ui-panels: restore AlertDialog role and AccessKit reason description in UnsavedChangesDialog (#3040) 2026-11-22 10:27:52 -03:00
Dylan M. Taylor 8e1aaea8d9 Print preview: the paper stands inset in its well (trial the_paper_stands_inset_in_the_preview_well, seen failing; placement trial's premise updated) 2026-11-22 08:25:12 -05:00
bflatastic f3bbd51250 framework: trial rooms, drags and story offsets the port added are documented consts, not literal sizes; the tool-rail story's unused memory marker and its exception go; a caption trial asserts a relation 2026-11-22 20:20:36 +07:00
bflatastic bd7e55c424 framework: FacePaint and the preset browser's host closures key through the MemoProps and PlainData derives (covered_by, every_pass) instead of hand impls; the Font Height Reference glyphs are consts, and their segment helper no longer shares egui's stroke-taking name line 2026-11-22 20:16:41 +07:00
Dylan M. Taylor f61a28ff00 Dialog::title_icon; the password dialog's lock stands before its title (trial the_lock_icon_stands_by_the_title_not_the_message, seen failing) 2026-11-22 08:14:55 -05:00
bflatastic 35535b7720 ui-patterns: ParamDialog keeps its footer rows' states and pending flip in one session slot (runtime::memory::with_session), not egui temp data; the chord story narrows its room in testing::memory::scoped 2026-11-22 20:11:08 +07:00
bflatastic 9a4b9efb48 framework: setters that only store their argument are #[prop] fields the Props derive writes (TaskBar, FloatingGroup, ToolbarDrawer, CommandPalette, PresetBrowser, PresetPicker, AppShell, Radio, Swatch, Text, ListRow); ToolbarDrawer::mark and reveal take the tool, as ToolRail's do 2026-11-22 20:07:27 +07:00
bflatastic eaa3433662 framework: public enums and records the port added are #[non_exhaustive]; HoldSetting, PopupRegion, ParamPresets, CardSource::preset and WebDocument::vector take constructors for the crates that build them 2026-11-22 20:01:00 +07:00
Dylan M. Taylor 0ba9cb07cf PageView::pasteboard: the colour round the pages (L-309 full-screen black; trial seen failing) 2026-11-22 07:55:59 -05:00
Dylan M. Taylor ec7d40e3e1 Theme: page spacing back to production's 70/28/14 comfortable (L-310; trial comfortable_page_spacing_is_production_s) 2026-11-22 07:49:26 -05:00
Dylan M. Taylor d5f3da32f4 Revert "Theme: page spacing values keep the app's current geometry (the floating toolbar covers page text at a 70 pt side)"
This reverts commit c5de7eaf6a.
2026-11-22 07:49:24 -05:00
bflatastic ff6ba8b216 ui-contract: a link side label keeps its caption's type role and takes only the link's ink, so it takes the room its control measured for it 2026-11-22 19:45:13 +07:00