Commit Graph
6595 Commits
Author SHA1 Message Date
FredApps c4c4129493 Expose text memo trials to the registry 2026-11-20 15:12:29 +01:00
FredApps a2ef8a4c0a Integrate landed egui font-cache revision 2026-11-20 15:09:38 +01:00
FredApps 5a26de289a Merge current next with text layout caching 2026-11-20 15:09:09 +01:00
FredApps f1edd22a0a Reuse text layouts without a sentinel job 2026-11-20 14:48:24 +01:00
Martin Ball 243d68e12d Merge pull request #2473 from storytold/port/wordcraft-ui
WordCraft UI port: framework changes
2026-11-20 13:31:28 +00:00
Martin BallandClaude Opus 5.5 c7d194eb66 ribbon face: stacked lines measure through MeasureCx::least, as next now does
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 13:27:09 +00:00
FredApps d4eb5c01a3 Keep the egui fork revision constant in sync 2026-11-20 14:22:27 +01:00
Martin BallandClaude Opus 5.5 5970a5a5e3 Merge storytold next (9ca7a5480) into the port
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 13:21:54 +00:00
David Mann 9ca7a54803 Merge pull request #2520 from aiongg/select-measure-once
Measure a select's faces once and keep them out of the layout memory
2026-11-20 14:20:09 +01:00
FredApps 96e54fd6dd Keep recorded replay in place after egui update 2026-11-20 13:45:13 +01:00
FredApps 13fa150f7e Merge pull request #2365 from storytold/perf/2218-video
video: consolidate integration test binaries
2026-11-20 19:43:03 +07:00
FredApps 5cbdea1d15 build: update egui for reusable font layouts 2026-11-20 13:36:36 +01:00
Martin BallandClaude Opus 5.5 27c1c0ebb1 Merge storytold next (d5b465e54) into the port
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 12:17:11 +00:00
David Mann d5b465e544 Merge pull request #2419 from haranishi/fix/10102-raw-window-placement
Remember the native Raw Develop window placement
2026-11-20 12:44:45 +01:00
FredApps a00313a52e Merge pull request #2375 from storytold/perf/2218-time-evm
time and evm: consolidate integration tests
2026-11-20 18:41:15 +07:00
FredApps 82ebc7bb35 Merge pull request #2374 from storytold/perf/2218-cloud
cloud, proof and testkit: consolidate integration tests
2026-11-20 18:40:16 +07:00
FredApps 35786102e9 Merge pull request #2372 from storytold/perf/2218-idml
document formats: consolidate integration tests
2026-11-20 18:39:16 +07:00
FredApps 00963f1d77 Merge pull request #2371 from storytold/perf/2218-sourcemap
XML formats: consolidate integration tests
2026-11-20 18:36:15 +07:00
FredApps f5e078193b Merge pull request #2370 from storytold/perf/2218-pptx
office formats: consolidate integration tests
2026-11-20 18:34:52 +07:00
FredApps ab9f9a4a27 Merge pull request #2369 from storytold/perf/2218-raster
image codecs: consolidate integration tests
2026-11-20 18:33:50 +07:00
FredApps 0ff58f1dac Merge pull request #2368 from storytold/perf/2218-dxf
dxf and prc: consolidate integration tests
2026-11-20 18:32:19 +07:00
FredApps 20dec8bbfc Merge pull request #2367 from storytold/perf/2218-zip
zip: consolidate integration test binaries
2026-11-20 18:30:49 +07:00
FredApps bcd5feda80 Merge pull request #2366 from storytold/perf/2218-ipc
ipc: consolidate integration tests and preserve discovery isolation
2026-11-20 18:29:32 +07:00
FredApps 06b351f51d Merge pull request #2364 from storytold/perf/2218-pcap
pcap: consolidate integration test binaries
2026-11-20 18:28:01 +07:00
FredApps f2180e9a9c Merge remote-tracking branch 'origin/next' into HEAD 2026-11-20 12:24:55 +01:00
FredApps 186d77bcad Merge pull request #2373 from storytold/perf/2218-menu
menu: consolidate tests and keep AppKit on the main thread
2026-11-20 18:22:34 +07:00
FredApps c8d7736628 Merge pull request #2362 from storytold/perf/2335-runtime-accessors
Share pass services and contract steps across component types
2026-11-20 18:20:49 +07:00
aiongg cc6c57134c craft-ui: face measure docs name every caller (measure, parts, header parts); trial says why entry 0 2026-11-20 09:52:22 +00:00
Martin BallandClaude Opus 5.5 1e48c0807e Merge storytold next (e7e877ac5) into the port
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 09:48:16 +00:00
Martin BallandClaude Opus 5.5 6ca7cf0ecc docs: the components index regenerated from the registrations
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 09:46:43 +00:00
Martin BallandClaude Opus 5.5 a9deabd00e design-lint: api, props, contract and exception findings of the port code
- api/non-exhaustive: #[non_exhaustive] on public enums, variants and structs, with constructors for what
  callers built by struct expression (KeytipControl, GroupWidths, RibbonMenuRequest, EdgeLook::sample,
  BalloonItem, CropScope::object, PageBandRoom, WheelSpeed, AltCodePages, GalleryFace, GradientTile).
  GalleryItem, RibbonOutput, LineBreakOptions, AsianTypography and GapEdge join the closed list.
- props/hand-setter: setters that only store become #[prop] fields. Keytips drops its own enabled field
  for Common enabled, and its show becomes show_over.
- contract/no-global-state: constant tables are const, not static.
- contract/egui-import, memory, allocate: LayerId, TreeUpdate, Id::unique, the text scroll memory and
  allocate_space go through runtime::egui.
- contract/overlay-flag: CanvasScrollbars declares overlay; its drag story covers Open.
- Markers and exception entries only where the code is the exception (stories, trials, unit-square
  coordinates, the balloons id scope).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 09:38:56 +00:00
Martin BallandClaude Opus 5.5 1becfbb1ee ui-contract: lower layers no longer import higher ones (design-lint layer/import)
The painted pointer art and painted_image move from runtime::cursor to primitives::pointer_art, which
draws them; EditorSurrounding moves to runtime::ime, which reads it; StyleCx::face moves to
contract::items beside measure_under. EditorSurrounding gets text() and unavailable() constructors now
its variants are non_exhaustive. painted_image is reached as craft_ui::primitives::painted_image.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 09:38:49 +00:00
Martin BallandClaude Opus 5.5 84b8358d24 dialogs trial: the chooser folder field is compared with the platform separator (Windows)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 09:35:40 +00:00
Martin BallandClaude Opus 5.5 6999c3c7b2 ui-contract trial: on macOS, where Move has no default chord, Alt+F7 in a floating window is the app binding
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 09:28:58 +00:00
Martin BallandClaude Opus 5.5 e5ac84f5f5 platform: Apple open events pass the paths through without a same-type conversion (macOS clippy)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 08:27:24 +00:00
aiongg 0383e19b70 Keep a composite's faces out of the layout memory
A face measured by MeasureCx::face is part of its composite's measure
call: that call's answer and the inputs the faces read are the record
the layout memory keeps and checks. The face recorded a leaf of its own
under one id shared by every face of the composite, so only the first
face was kept, and a change to it that left the composite's size alone
dropped the kept measurements and asked for a discard pass.

measure_face measures a face as measure_under does, without the leaf.
2026-11-20 08:18:48 +00:00
aiongg ef1a365006 Lay out a text measured at its least once
TextRun::least (MeasureCx::least) returns the run laid out whole with its
least width, so a text measured at Proposal::Min no longer lays the whole
line out a second time for its height. A fitted select face takes its cap
from the same call. A select of 29 blend modes plus the mixed word lays out
56 texts per Min ask instead of 86.
2026-11-20 08:05:28 +00:00
aiongg e7e877ac57 Merge pull request #2504 from aiongg/modifier-reads
craft-ui: a modifier read reruns the settled component that read it
2026-11-20 01:03:16 -05:00
aiongg a7fb8a074e Merge pull request #2490 from aiongg/picker-caption-widest
Preset picker: a caption range keeps the field at its widest caption
2026-11-20 01:02:42 -05:00
FredApps 40b7358574 Merge commit '051ec4fd' into perf/2218-idml 2026-11-20 06:40:41 +01:00
FredApps 051ec4fd62 Merge pull request #2389 from yoriswind/codex/shared-dpx-export-u8-r1
Avoid widened sample buffers in eight-bit DPX export
2026-11-20 12:36:48 +07:00
FredApps 54cb4af7e1 Merge pull request #2396 from yoriswind/codex/shared-dpx-decode-widen-r1
Reduce temporary memory when decoding DPX and Cineon
2026-11-20 12:31:20 +07:00
aiongg b5f9412055 Merge pull request #2469 from aiongg/drag-value-lag
Value drags rerun only the regions that show the value (photocraft#15859)
2026-11-20 00:22:50 -05:00
aiongg 34cfca1ee9 Merge pull request #2436 from aiongg/next-workspace-ci
ci: use main's workspace workflow on next
2026-11-20 00:21:43 -05:00
Martin BallandClaude Opus 5.5 a5f6cd7f6c Test kit: a closed child window leaves the next frame's input
The windows kit listed every child that ever ran a pass in each later
input, so a closed window stayed live with what its last pass left. Since
c8fe2cf86 a modal cover records itself from its first pass, so a window
closed right after its first modal pass (a Save prompt answered at once)
kept blocking the root's close in later frames. An integration drops a
viewport egui no longer outputs; the kit now does too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 05:16:35 +00:00
Martin BallandClaude Opus 5.5 5d6a3ef6ea Merge follow-up: the page view leaves room for its rulers without Canvas::show_rulers
Upstream 650694d5a removed Canvas::show_rulers and clips a canvas body to its view. PageView::rulers(on) now shows the canvas inside the ruler strips (Rulers::strips), so the view is inset as before, and runs the app body with the clip opened over the strips, where PageRulers show at PageBody::rect.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 04:53:30 +00:00
aiongg 0ca4fd7c26 craft-ui: a modifier read reruns the settled component that read it
Cx::modifiers read the pass's modifiers without a record, so a settled region
whose component painted by them (a menu bar underlining its mnemonics while Alt is
held) replayed its last paint until something else ran it. The read is now noted
under BindKey::Modifiers, and the pointer's begin hook notes an edit of that key
when the pass's modifiers, latched ones included, differ from the last pass's: the
regions that read them run in that frame, as for any edited value.

Part of storytold/photocraft#15476.
2026-11-20 04:41:35 +00:00
aiongg b83509532e Preset picker: the caption range sizes the field as a number field does
The field measured its face over both formatted ends of the range, in the
caption's proportional figures, so a value between them could still be wider
(4888 beside 5000) and change the chip's width. caption_range now names the
numeric range and decimal places of the caption; the field measures with
NumberCodec::widest of that range, and a face's thumbnail caption shows in
tabular figures, so the widest text is the widest number whatever its digits.
BrushPresetPicker writes its caption with the same codec.

Part of storytold/photocraft#15476, for storytold/photocraft#15859.
2026-11-20 04:39:56 +00:00
Martin BallandClaude Opus 5.5 9e099b475a Merge craft-libs next 3e9bbdff1 into the WordCraft port
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 04:29:29 +00:00
aiongg 3e9bbdff11 Merge pull request #2487 from aiongg/clipboard-wasm-imports
Clipboard: craft-platform's clipboard feature builds for wasm32
2026-11-19 23:24:47 -05:00