Commit Graph
8520 Commits
Author SHA1 Message Date
haranishi 4df6107dba Merge next to pick up the design lint fix 2026-11-20 15:33:30 +09:00
haranishi 3cbd10a228 Use the theme field color for the status zoom 2026-11-20 15:33:26 +09:00
FredApps b93d7ca706 Merge pull request #2180 from dotCooCoo/fix/number-format-trailing-spaces
wordmodel: number formats keep a trailing space that is part of the code
2026-11-20 13:29:45 +07:00
Codex 45aebd6f99 Integrate reviewed metadata reader with merged prior-layout state
Retain both metadata and prior-paragraph-layout regression suites. Combined-head validation is pending normal upstream CI.
2026-11-20 07:27:17 +01:00
FredApps 946094d5cf Merge pull request #2505 from OPUZZLES/opuzzles/rtf-prior-paragraph-layout
RTF: retain prior paragraph layout in tracked changes
2026-11-20 13:22:28 +07:00
Dylan M. Taylor a0afd7bbd2 Merge pull request #2013 from dotCooCoo/feat/audio-dsp
Add craft-audio-dsp: compressor, limiter, equalizer, loudness meter and other effects
2026-11-20 01:20:58 -05:00
aiongg d368d684c9 tests: a bar member's shown part is its interact rect
A member the bar cuts keeps its whole rect as its response rect; the part
the bar shows is the rect egui senses it in.
2026-11-20 06:19:22 +00:00
FredApps 407e4a41b8 Merge pull request #2190 from arnav-hiwarkar/fix/3831-spi3d-allocate-after-rows
cms: validate SPI3D rows before reserving the lattice
2026-11-20 13:19:20 +07:00
Dylan M. Taylor 0c6b195efe craft-zip: add SeekableArchive::has_duplicate_names_matching and duplicate_names (#2511)
* craft-zip: add SeekableArchive::has_duplicate_names_matching and duplicate_names

* craft-zip: use zip::ZipWriter in duplicate-names test

* craft-zip: patch second entry name in duplicate-names test
2026-11-20 01:15:20 -05:00
kiwi4boy 1cf315b637 ppt95: text insets follow the unturned box; a balloon's text ends at its body
A shape turned a quarter before its text was typed holds its box and its
text rectangle turned (probes rot90thentext and rot90arrowtext). The
shape's box is turned back, so the insets now move to the unturned box's
edges with it. A balloon's box is its body, so its bottom inset is now
measured from the body's bottom (balloontext).

The samples test now reads the slide size from each file's DocumentAtom,
matches outlines vertex by vertex in order, reads rectangle records as
outlines too, and fails on a rendering it can't read. Tests that skipped
their checks on a missing slide or shape now fail instead.
2026-11-20 01:12:08 -05:00
FredApps d042b09745 Merge pull request #2510 from OPUZZLES/opuzzles/docx-picture-soft-edge-roundtrip
DOCX: preserve imported picture soft edges
2026-11-20 13:09:33 +07:00
aiongg f43fb4e2c2 craft-ui: a root's egui widget takes its whole rect and egui clips its interact rect
As egui's own widgets do (Response::rect and interact_rect): a root its
clip cuts reports and reveals where it is, and egui's hit test uses the
part inside the clip. Widening a widget's sense checks its interact
rect; a secondary release opens a press opener only inside it.
2026-11-20 06:08:46 +00:00
aiongg 16952f629e tests: a tab strip places its tabs by their measure in its first frame, and reports the rects it places
The frame-0 trial uses a panel strip too narrow for its tabs that takes
its measured height, so it fails without the measure ahead. The report
trial checks tab_rects in the frame a title changes.
2026-11-20 06:08:46 +00:00
aiongg 71a764ab94 craft-ui: a collection takes its rows' measure ahead in the run that measures them
The measure ahead ran the row measure as a measuring run and set the
layout inside it, so a layout that reports its placement only outside
measuring runs (the tab strip's report: tab rects, hidden tabs, the
overflow button) kept the placement from before the measure in a pass
with no measuring run. The layout now takes the results after the
measure, in the run that called it.

The docking trial checks that a label too long for its group moves the
group's other tab to the overflow menu in the frame of the change.
2026-11-20 06:08:46 +00:00
Rees d6e13ee891 Count empty rows when resolving HTML zero row spans 2026-11-20 07:05:38 +01: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
kiwi4boy 4af95e2a75 Merge branch 'ppt95-text' into ppt95-shapes
# Conflicts:
#	crates/ppt-binary/src/lib.rs
#	crates/ppt-binary/src/ppt95/tests.rs
2026-11-20 01:02:34 -05:00
kiwi4boy bf729d6d02 ppt95: skip runs of no characters; the font table is the first list with a face
A zero-length run counted as one character of coverage, so a few of them
used up the runs read and a real run after them was never reached.

A font list whose only face atom was cut short gave an empty face and
still won over a later list with real faces.
2026-11-20 01:01:49 -05:00
yoriswind b7cf916792 style: format DPX decoded budget assertion
(cherry picked from commit a874344ced)
2026-11-20 07:00:55 +01:00
yoriswind 0596a975ae Reduce temporary memory when decoding DPX and Cineon
(cherry picked from commit f08789c7a6)
2026-11-20 07:00:55 +01:00
yoriswind 4f31e9c33a Avoid widened sample buffers in eight-bit DPX export
(cherry picked from commit 23393d1def)
2026-11-20 07:00:49 +01:00
kiwi4boy 86dde45a35 Merge branch 'ppt95' into ppt95-text
# Conflicts:
#	crates/ppt-binary/src/lib.rs
#	crates/ppt-binary/src/ppt95/tests.rs
2026-11-20 01:00:32 -05:00
kiwi4boy b1984522c4 ppt-binary: a PowerPoint 95 Document needs its DocumentAtom; name the slides a short file lost
The detector took any root whose first child was a Document, so an empty
Document read as a deck with no slides instead of being damaged. It now
also needs a DocumentAtom long enough for its slide count.

import_checked names the slides that count says are missing, by position,
so a cut-short file no longer reads as whole.

TooOld no longer promises every file before PowerPoint 95: a file that
isn't a compound file is NotPpt, and no earlier file was tried.
2026-11-20 00:59:29 -05:00
FredApps 9867c5ac13 Merge pull request #2347 from OPUZZLES/opuzzles/docx-screentips
craft-docx: preserve bounded hyperlink ScreenTips
2026-11-20 12:54:14 +07:00
kiwi4boy 08c85df8b4 Merge branch 'ppt95-text' into ppt95-shapes
# Conflicts:
#	crates/ppt-binary/src/ppt95/tests.rs
2026-11-20 00:54:08 -05:00
kiwi4boy e031ad06a0 ppt95: bound the paragraphs and runs text makes; a centred master title takes its ruler
Each paragraph is about 4 KB and each run about 2 KB, so a text atom of
nothing but paragraph or line breaks made gigabytes from a megabyte of
file. The document's text now makes at most 65,536 of them together and
leaves the rest out, with a warning.

A master's title placeholder of type 0x0F (a centred title) is in the
title family, but only a plain title set the title style's ruler.
2026-11-20 00:53:23 -05:00
FredApps e956256f1d Merge pull request #2349 from OPUZZLES/opuzzles/docx-mail-merge
Preserve external DOCX mail-merge source relationships
2026-11-20 12:51:44 +07:00
FredApps 796d915ba9 Merge pull request #2445 from MMexicann/patch-4
DOCX: save the current zoom when merging retained settings
2026-11-20 12:47:19 +07:00
FredApps 40b7358574 Merge commit '051ec4fd' into perf/2218-idml 2026-11-20 06:40:41 +01:00
FredApps ceb5c69e7c Merge pull request #2492 from keithcsqueensu/ppt-trapezoid
craft-ppt-binary: OfficeArt trapezoids face the right way
2026-11-20 12:39:29 +07:00
aiongg 5ed60e5564 craft-ui: a record's clip with no area is Rect::NOTHING
A cut member's shapes record an empty clip that came about in different ways in
different passes; one clip passes nothing.
2026-11-20 05:38:29 +00:00
aiongg 2b3f149afe craft-ui: a record journals each read once
The reads are a set to what reads them. A run that measures a component again (a kept
transcript's check) reads nothing new, so its journal no longer depends on how many
times the pass measured.
2026-11-20 05:38:29 +00:00
aiongg 6b634df42e craft-ui: a scrolling body's real run decides its scroll from the content this pass measured
The measuring run records the content's extent, and the real run takes it at step 5:
whether the content overflows (the wheel, the bars, the strips) and how far it
scrolls. A bar too short for its members takes the wheel from its first frame.
2026-11-20 05:38:29 +00:00
kiwi4boy ec51aa9d1c ppt-binary: slides with their own scheme in the PowerPoint 95 shape tests don't follow the master's
Two tests gave a slide its own colours while it still followed the master's scheme; since the
slide box's flags are read, PowerPoint 95 marks such a slide as not following.
2026-11-20 00:38:13 -05:00
kiwi4boy 82037cf1a0 Merge branch 'ppt95-text' into ppt95-shapes 2026-11-20 00:37:37 -05:00
kiwi4boy 513eecc86c Merge branch 'ppt95' into ppt95-text
# Conflicts:
#	crates/ppt-binary/README.md
#	crates/ppt-binary/src/ppt95.rs
#	crates/ppt-binary/src/ppt95/tests.rs
2026-11-20 00:37:32 -05: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
kiwi4boy 041ba948c8 ppt-binary: PowerPoint 95 slides follow the master's objects and scheme
The slide box's bytes at +16 and +17 are whether a slide shows the master's objects and uses the
master's colour scheme: turning the master's objects off on one slide clears the first, and giving
one slide its own scheme clears the second. A slide following the master's scheme now takes the
master's colours rather than the copy it holds.
2026-11-20 00:36:22 -05: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
kiwi4boy cfd19dcf87 Merge branch 'ppt95-text' into ppt95-shapes
# Conflicts:
#	crates/ppt-binary/README.md
#	crates/ppt-binary/src/lib.rs
#	crates/ppt-binary/src/ppt95.rs
#	crates/ppt-binary/src/ppt95/tests.rs
2026-11-20 00:29:58 -05:00
FredApps 726b5b1184 Merge pull request #2450 from mmazzieri/fix/doc-layout-in-cell
craft-doc-binary: read Layout in table cell from a shape's properties
2026-11-20 12:27:44 +07:00
Dylan M. Taylor cbf62cb2ce Merge branch 'main' into feat/audio-dsp 2026-11-20 00:26:12 -05:00
kiwi4boy 07b7c8b8fb ppt-binary: PowerPoint 95 master text styles, anchoring, spacing and justified text
Paragraph runs give line spacing, space before and space after at +52, +56 and +60: a percentage
of a line, or minus a size in points. Alignment 3 is justified. The text atom's +8 byte holds the
anchoring (top, middle or bottom, and whether it is centred across) and its +4 flags word wrap.
The Environment's 4052 atoms, one per text type, hold the master's styles, five levels each laid
out as the runs are; the title, body and other ones become the master's styles, with the margins
of the ruler the master's title and body name. All of this was learned from files PowerPoint 95
wrote.
2026-11-20 00:25:00 -05: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
Dylan M. Taylor bdd1288eb4 rustfmt batch 6 2026-11-20 00:22:08 -05:00
Dylan M. Taylor 4bd4aced5f Merge branch 'pdf-port/fwb6-b' into pdf-port/followups
# Conflicts:
#	crates/pages/tests/it/views.rs
2026-11-20 00:21: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
Dylan M. Taylor 1b41c7ceef Merge branch 'pdf-port/fwb6-a' into pdf-port/followups 2026-11-20 00:21:40 -05:00
Dylan M. Taylor 1333d3c347 Framework fwb6-b: port follow-ups (see runs/fwb6-b.md) 2026-11-20 00:21:40 -05:00