Commit Graph
7039 Commits
Author SHA1 Message Date
kiwi4boy 7ce48c367d ppt-binary: read PowerPoint 95 slides, masters, layouts and backgrounds (#2317, step 1)
PowerPoint 95 files use 16-byte record headers and a single record tree
instead of an edit chain. A stream that starts with that tree now takes
its own path: the slide size, each master as the caller's default master
with the file's colour scheme as its theme, and the slides in order with
their master, layout type and, when they don't follow the master's, a
solid background. Shapes, text, pictures and notes come in later steps,
so the slides are empty. Anything else keeps the PowerPoint 97 path,
whose TooOld error now names PowerPoint 4.0 and earlier.
2026-11-19 21:33:32 -05:00
haranishi dfbaf6a18d Adjust spacing on the desktop Home screen 2026-11-20 11:32:24 +09:00
aiongg 5b9cd2e994 Cursor: reach the layer id through runtime::egui 2026-11-20 02:31:59 +00:00
Elvis33LE 4b4d5f7a9d fix(exr): stage contained data windows in display canvas (#2033) 2026-11-19 21:30:51 -05:00
Terra854 359b72eebc docs: compare SQLite readers for #778 (#2443) 2026-11-19 21:30:46 -05:00
Martin Ball 2b7e9dc96b Ribbon: a collapsed group button shows the look menu arrow 2026-11-20 02:29:53 +00:00
Martin Ball 9bd719e717 Ribbon look: RibbonLook (renamed from RibbonIcons) sets the small row height; the body least follows three rows a tight gap apart 2026-11-20 02:26:58 +00:00
Martin Ball 44114f108b Ribbon menu arrows: RibbonIcons::arrow draws the filled triangle right after the label in its own room 2026-11-20 02:22:46 +00:00
haranishi 020d70b7fb Clamp supplied Save for Web dimensions to document limits 2026-11-20 11:19:27 +09:00
Martin Ball 16cba38396 Ribbon: app icon sides (RibbonIcons, Ribbon::icons) and launcher icon; group titles centred; ribbon tabs padded, 28-pt bar, underline under the label; strip and row start insets 2026-11-20 02:17:30 +00:00
aiongg 3b45620977 Reveals end at a container on its own layer; trials for the aim wake and layer reveals
- Step 15 routes a reveal to the scroll owner only from a component in its
  parent's flow (`in_flow`): a container on a layer, full-window layer or
  OS viewport passes neither its own focus reveal nor its body's reveal to
  the scroll region of its opener or to what lies under it.
- The part of a revealed rect a scroll body passes on is computed from the
  move it applied, after clamping.
- `Fixture::repaint_delay`, and trials: a crossed menu row waits for its
  rest with one wake, and a menu opened below a scroll region's view leaves
  the region's offset.
2026-11-20 02:10:55 +00:00
aiongg 2e70718e57 Guides story: is_some_and for the rulers' click 2026-11-20 02:09:17 +00:00
Dylan M. Taylor 5c0d5999bd Expose bounded ZIP directory records for catalog selection (#2474)
* zip: expose bounded central directory record listing

* Preserve original ZIP central directory name bytes
2026-11-19 21:08:56 -05:00
haranishi f0942b4479 Keep popup sliders continuous without explicit precision 2026-11-20 11:08:02 +09:00
aiongg 871e9590f8 svg, usd: module doc links name their items by path 2026-11-20 02:05:44 +00:00
aiongg 995f290435 Canvas: rulers carry their zero; clip skips transformed bodies; ruler trial checks the strip 2026-11-20 02:03:59 +00:00
aiongg d3bcafaf55 Cursor trial: the cover area takes a unique id 2026-11-20 01:53:53 +00:00
aiongg e19e64edba menu: Gate and ModalRules are props of the runtime's command gate
Gate derives MemoProps. ModalRules keys on its plain fields and its revision, which stands for the
pending closure the derive cannot take; design-lint allows that one hand-written impl.
2026-11-20 01:51:38 +00:00
aiongg b05c1c27f9 Merge storytold main into next (20 Nov sync) 2026-11-20 01:48:18 +00:00
aiongg a7822c06c7 Menus: a submenu row hover repaints only the menu
Opening a submenu ran every settling region of the window for two frames,
in two passes each:

- Menu level changes (open or clear a submenu, step, activate or run a row)
  ask `request_own_repaint`: no app data changed, so only the menu runs
  again. A crossed row waits for the end of its rest with one wake instead
  of a repaint every pass; the rest starts at the pointer's last move.
- A container layer is placed by the size its container measured in this
  pass, so it reads and records no `layer_size` entry and asks no discard
  pass on its first show.
- A reveal queues a scroll jump only when the clamped offset moves, and a
  container on its own layer or window passes no reveal on to the scroll
  region of its opener's body.
2026-11-20 01:46:51 +00:00
Dylan M. Taylor 3dff4793f1 craft-develop, craft-color-transform: deduplicate spline, add 1024-entry compose_len, spaces, and warm-green WB test (#2464)
* craft-develop, craft-color-transform: deduplicate spline, add 1024-entry Lut1::compose_len, spaces, and warm-green WB test

* cct: check bradford identity and matrix tolerance in warm-green WB test

* style(color-transform): fix clippy needless_range_loop in cct test
2026-11-19 20:36:43 -05:00
Dylan M. Taylor 106134631c video: add TrackDecoderOptions, with_threads, and set_draft on TrackDecoder (#2461)
* video: add TrackDecoderOptions, with_threads, and set_draft on TrackDecoder (#778)

* fix(video): allow unused opts when decoder features disabled

* video: fix unreachable pattern in TrackDecoder::set_draft and verify inner state on reset

* fix(video): allow irrefutable_let_patterns when single decoder feature enabled

* fix(video): remove nonexistent hevc/av1 Decoder::threads test getters

* style(video): allow clippy::cognitive_complexity in track options test
2026-11-19 20:36:39 -05:00
Dylan M. Taylor 483f2ab81f craft-usd: extract neutral USDA/USDC scene, prim, and layer read/write (#778) (#2459)
* craft-usd: extract neutral USDA/USDC scene, prim, and layer read/write (#778)

* chore: update Cargo.lock for craft-usd

* craft-usd: add integration tests for USDA/USDC scene read/write (#778)

* fix(usd): use asset-only external reference syntax in scene test

* test(usd): include Shader child prim for material surface target in neutral layer test
2026-11-19 20:36:34 -05:00
Dylan M. Taylor 03d1afced9 svg: extract shared SVG document/CSS interpretation helpers (#778) (#2456)
* svg: extract shared SVG document/CSS interpretation helpers (storytold/craft-libs#778)

* svg: document doc_style::length unknown-unit px fallback

* style(svg): fix clippy field_reassign_with_default in doc_style test
2026-11-19 20:36:26 -05:00
Martin Ball e93b8c1fea Docs: intra-doc links resolve under -D warnings 2026-11-20 01:33:09 +00:00
Martin BallandClaude Opus 5.5 a2085c5505 board: regression test for a kept resolution of the focused stop's edits
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 01:30:21 +00:00
Martin BallandClaude Opus 5.5 f73cb0d60a Command board: a kept resolution that read the focused stop edits is stale once an end hook moved them, so a read between passes (a test after its frames) sees a field Undo state
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 01:26:06 +00:00
Dylan M. Taylor 1a3be2d439 craft-develop: extract ToneMap/CameraTone and pure-Rust finish helpers (#2471)
* craft-develop: extract ToneMap/CameraTone and pure-Rust finish helpers

* fix(develop): add serde_json dev-dependency for tone tests
2026-11-19 20:23:11 -05:00
keithcsqueensu f4917bc47e craft-math: the control-word check stays linear over a run of letters
ends_with_control_word walked back over the whole trailing run of
letters for every letter written, so a long run took quadratic time:
200,000 letters took about 10 s in a release build, and 400,000 did not
finish in 3 minutes in a test build. The output position after the last
plain letter is now remembered; while the output still ends there its
trailing letters are plain text and are not scanned again.

Review finding on #1162 (ends_with_control_word).
2026-11-20 01:22:46 +00:00
Alan Rockefeller bbe5b514a8 Dialogs: a Save over an existing file keeps its extension's spelling (#2114)
With Lowercase Extension on, saving over an existing PHOTO.PNG wrote
PHOTO.png: a second file beside the one the panel asked about on a file
system that tells letter case apart, or a silent rename on one that does
not. settled_save_path now lowercases only a name that does not exist yet.

Port of storytold/photocraft#9899, whose code moved here in
storytold/photocraft#15449.
2026-11-19 20:16:53 -05:00
Dylan M. Taylor 429937ad72 craft-dds: expose shared BC1-7, ETC1/EAC, and packed pixel decoders (#778) (#2460)
* craft-dds: expose shared BC1-7, ETC1/EAC, and packed pixel decoders (#778)

* fix(dds): qualify super::anchor in bptc test

* craft-dds: add independent known-answer test vectors for BC6H, BC7, ETC1, and EAC

* fix(dds): remove unused partition/anchor imports in bptc test
2026-11-19 20:03:14 -05:00
Dylan M. Taylor 1546550b0d pptx/drawingml: upstream DeckCraft table caps, has_notes_slide, ModelError, and import_report (#2463)
* pptx/drawingml: upstream DeckCraft table caps, has_notes_slide, ModelError, and import_report (#792)

* drawingml(table): mark insert_row and insert_col #[must_use]
2026-11-19 20:01:09 -05:00
Dylan M. Taylor d0ca0cdb28 craft-mesh: add COLLADA (.dae) and Alembic (.abc) readers (#2462)
* craft-mesh: add COLLADA (.dae) and Alembic (.abc) readers

* fix(mesh): use str::to_owned instead of into_owned in dae

* craft-mesh: make dae and abc opt-in features

* fix(mesh): remove unused Error import and use Entry API in abc
2026-11-19 20:01:05 -05:00
Martin Ball 9a4dd39d3a Workspace clippy: fix lints across ui crates and tests 2026-11-20 00:56:55 +00:00
dotCooCoo 3fb6fa87c6 Merge main into fix/update-test-attach-retry 2026-11-19 16:56:40 -08:00
Dylan M. Taylor 7258e42d8d ps: expose public PostScript token/lexer scanner (read::lex) (#2458)
* ps: expose public PostScript token/lexer scanner (read::lex)

* ps(lex): only mark stream fresh on Ok token

* fix(ps): allow clippy::should_implement_trait on Lexer::next
2026-11-19 19:55:29 -05:00
Martin Ball e79bf44682 ui-widgets: every bar button face boxed 2026-11-20 00:51:45 +00:00
Dylan M. Taylor 512a1b8e8b mesh, image-codecs: add clearcoat/sheen GLB, obj_with_mtl, and EXR chromaticities (#778) (#2466)
* mesh, image-codecs: add clearcoat/sheen GLB, obj_with_mtl, and EXR chromaticities (#778)

* fix(mesh): import Image and TextureRef in obj tests

* fix(mesh): construct Mesh via struct literal in gltf test
2026-11-19 19:50:59 -05:00
Martin Ball 83b39eda59 Workspace clippy: boxed bar button faces, a split-menu body type, Id::unique in tests, unused leftovers 2026-11-20 00:50:26 +00:00
Martin Ball 1ae0d678ba Workspace clippy: unused imports, auto-deref, an unused clipboard helper, a chord-match type, field facts grouped, trial asserts, device tests under cfg(test) 2026-11-20 00:48:46 +00:00
Martin Ball 4d86420bcf platform: the portal watcher follows changes in its own function (cognitive complexity) 2026-11-20 00:43:46 +00:00
keithcsqueensu 4e5f883c93 Merge storytold/craft-libs main into math-ports 2026-11-20 00:40:38 +00:00
Martin Ball f77301a76d Merge follow-up: resolve_in takes Reads; the host-key trial gives states through CommandStates; cargo fmt 2026-11-20 00:40:05 +00:00
Dylan M. Taylor 0ffb1a0abe xlsx, drawingml: track dropped cells and chart data tables/pivot source/first slice angle (#778) (#2465)
* xlsx, drawingml: track dropped cells and chart data tables/pivot source/first slice angle (#778)

* xlsx, drawingml: add unit tests for dropped_cells, ChartDataTable, first_slice_angle, pivot_source (#778)
2026-11-19 19:39:15 -05:00
Dylan M. Taylor 0275c0b107 html, xfdf: extract standalone HTML writer and XFDF annotation/FDF grammar (#778) (#2457)
* html, xfdf: add standalone HTML writer and XFDF annotation/FDF grammar (#778)

* html, xfdf: escape image mime attribute and clarify rich_plain vs direct_text
2026-11-19 19:38:35 -05:00
keithcsqueensu 6c7e2c71d3 craft-math: a dropped character no longer joins a command to the next letters
linear_to_latex separated a control word from a following letter only by
looking at the next input character. A character it then dropped (an
unmatched 〖 or 〗, or a control character) hid the letter after it, so
`\in〗put` and `∈〗put` were written as `\input`, a command the exported
.tex would run on the machine of whoever compiles it. A letter is now
separated whenever the output so far ends in a control word.

Review finding on #1162 (latex_text.rs, the 〗 arm). The control
character case was already on main.
2026-11-20 00:37:18 +00:00
Martin Ball e9f8979aac Merge craft-libs next 200447091 (memo-resolve, drag handles) into the WordCraft port: story command states through CommandStates 2026-11-20 00:36:56 +00:00
aiongg 650694d5aa Clip a canvas's body to its view and show the rulers from the canvas
A body whose container sets scroll_owner is clipped to its body region. The canvas
pads its body by the rulers' strips and shows the Rulers itself over its own rect,
handing them its space and snap. The guide a ruler drag places reaches the body
through ruler_guide, so Guides::pending is gone, and the rulers' output comes back
in CanvasOutput. The tool host's paint and smart lines no longer clip to the canvas
rect.

Part of photocraft#15863, photocraft#15476.
2026-11-20 00:20:11 +00:00
FredApps ec3a32d0c2 Isolate generated track fixtures per test 2026-11-20 01:15:29 +01:00
Dylan M. Taylor 6719b207fa craft-pdf: add fonts feature with PDF encodings and Standard-14 metrics (#2454)
* craft-pdf: add fonts feature with ISO 32000-2 Annex D encodings and Standard-14 metrics

* pdf(fonts): call crate::fonts::win_ansi in std14
2026-11-19 19:14:36 -05:00