Commit Graph
5896 Commits
Author SHA1 Message Date
FredApps 10a585c3e2 fix(psd): preserve consumer resource limits (#786) 2026-11-16 17:14:31 +01:00
aiongg b32bb77e61 Dock area: a document panel's body is shown edge to edge, without the panel inset 2026-11-16 16:14:25 +00:00
aiongg 73d19e15d9 A gradient swatch among a bar's members is a short length wide 2026-11-16 16:14:04 +00:00
aiongg 49258624fc Inspector and Text Styles panels take no padding of their own: the dock group insets them 2026-11-16 16:13:59 +00:00
aiongg dc41b3dbe3 Shell slots choose their region before naming it; exhaustive pad edges 2026-11-16 16:13:37 +00:00
aiongg d5929d22a0 PresetPicker gains a compact Chip field: a small thumbnail over its caption on no well, sized for a bar's line; the brush preset picker uses it. PaintBarWords drop Size and Hardness 2026-11-16 16:13:33 +00:00
aiongg 7cd391de7e One floating scroll indicator for every scroll area
ScrollBarLook is one look: a clear track and a thin dim thumb line along the track's outer edge
at rest (stroke.thick), the whole track thickness (handle.sm) over a tinted track under the
pointer or while pressed. The docked kind (chrome track, edge rule, inset thumb) goes:
canvas and timeline bars take the same look. CxCore::scroll_bar_state gives a bar's state,
hovered while the pointer is anywhere on the bar, for every painter of a bar.
2026-11-16 16:12:12 +00:00
aiongg b3124fb9f2 Gallery: docked bodies leave their padding to the dock group 2026-11-16 16:12:04 +00:00
aiongg 88df0b40ee Dock area: every docked body fills its group inset by the panel padding 2026-11-16 16:10:57 +00:00
aiongg b47e5a28c7 TypeBar's size field shows the size glyph of the Character panel's size row 2026-11-16 16:10:08 +00:00
aiongg 718d054ecf A title bar end with no captions keeps its content the regular pad off the window's edge 2026-11-16 16:09:19 +00:00
aiongg 3250b5a213 Gradient styles show production's icons 2026-11-16 16:08:34 +00:00
aiongg 0e7ac68d43 CropBar: no Angle field, a labelled Straighten toggle, "Background (default)" 2026-11-16 16:07:54 +00:00
FredApps d839db7d4a Test odd planar layouts and independent storage validation 2026-11-16 17:06:42 +01:00
aiongg 23de14acd3 Hex fields show their # as the side label of their row: the Color readout, the compact and the full picker 2026-11-16 16:06:31 +00:00
aiongg aca39c7347 The status readout shows the document's resolution after its dimensions, and its zoom field has no glyph label 2026-11-16 16:06:08 +00:00
aiongg 60bdf15129 ToolRail fits its slot: block padding, a rail-width column per column with the buttons centred, toggles on one line
ContainerProps gains pad_edges (PadEdges::Block pads top and bottom only) and LeastWidth::Rail
(size.rail.width per column). ToolRail pads only above and below, is at least its columns'
rail width wide, and centres its grid of buttons, so no button or corner mark reaches past the
slot. The column and side toggles share one header line as small control-glyph buttons that
touch, which fits two in one rail column. A container's child_size and child_glyphs reach its
header and footer as well as its body, so a rail's footer buttons show the rail's glyphs.
AppShell::tools takes the rail's column count, so a two-column rail gets a two-column slot.
2026-11-16 16:05:13 +00:00
FredApps b84343883d Validate compositor frame inputs and return allocation errors 2026-11-16 17:04:27 +01:00
aiongg 4d1063b6dc PaintBar follows the Pro options bar: pen toggles, rules, no size or hardness fields; bar Home and tool buttons at the standard control size 2026-11-16 16:04:10 +00:00
aiongg 4a1f0e7494 Dock group: import Tokens for the drag band width 2026-11-16 16:03:34 +00:00
aiongg e99c005219 Dock group: the drag band at the strip's end is an icon's room with panel padding, so long tab names shrink 2026-11-16 16:03:28 +00:00
aiongg 8296832417 A field takes its content width among a bar's members
ContainerProps::content_in_bar keeps a container from the width in a bar; Field sets it, and an explicit sizing
clears it. The Content sizing every bar set on its fields is gone.
2026-11-16 16:02:09 +00:00
aiongg e86e041e13 Dock area: a group view lays out in a Ui held to its group's rect and clipped to it 2026-11-16 16:00:29 +00:00
aiongg 81078945af A row given its height centres its line; a fill-width row on that line fills it; top and bottom shell panes lay their bar on one line
A container given its height whose body is an unwrapped row sets the row's line at the middle of its band and
pads only along the line. A fill-width container with a row body on such a line is given the line's height, so a
bar in a top or bottom slot fills the slot. A container whose first line is its own row's line sits on an outer
row's line by it even with a child of two lines. The shell's top and bottom panes lay their content out as a row;
the egui centring wrapper and the slot's surface under the bar are gone.
2026-11-16 15:59:53 +00:00
FredApps 3824ed5c25 Merge main and handle empty compositor frames safely 2026-11-16 16:57:39 +01:00
aiongg 4816295631 Shell edge panes paint chrome and the rule toward the body; the window paints the background
Every shell slot but the title is a chrome pane: its surface covers the whole pane, so a rail
shorter than the window leaves no band of the clear colour, and a divider runs along its edge
toward the body (rails, options bar, status bar, the canvas panel rail). The edge rule is drawn
by the pane itself; PanelRail's own rule and the env's enclosing pane edge go. The window root
paints the background surface and the document tabs pane sits on it.
2026-11-16 15:55:32 +00:00
aiongg 310439e6b4 Trial: only the last open group of a dock column fills it 2026-11-16 15:52:34 +00:00
aiongg dbeb743fab Dock column: the last open group fills; groups asking for a fill no longer share 2026-11-16 15:52:27 +00:00
aiongg 296810849c Report an unresolved icon name once per name 2026-11-16 15:51:37 +00:00
aiongg 540387ec88 Gradient icon: a suite drawing of PhotoCraft's gradient swatch replaces Phosphor's striped file 2026-11-16 15:51:25 +00:00
FredApps fb2b27b1f0 craft-xlsx: preserve spacing in simple structured references 2026-11-16 16:50:42 +01:00
aiongg 2103be6de1 Fix clippy and rustdoc errors in automation, draw, imaging, svg, ui-patterns and ui-widgets 2026-11-16 15:40:46 +00:00
FredApps a58989cae9 image-codecs: skip a SubIFDs array whose offset is cut off (#1889)
camera_raw_mode read a missing SubIFDs offset as 0, so it walked the TIFF
header as the pointer array and could classify a malformed TIFF as RAW.
Skip the entry instead, matching LightCraft's classifier.
2026-11-16 10:26:36 -05:00
FredApps d60d1b0a45 Merge pull request #1868 from tsw2k/fix/docx-frame-shape
craft-docx: a frame preset shape is a border with a hole
2026-11-16 16:24:26 +01:00
FredApps dd3015c678 wordmodel: keep the kashida length of a justified paragraph (#1875)
* wordmodel: keep the kashida length of a justified paragraph

ST_Jc lowKashida, mediumKashida and highKashida were all read as
Align::Justify, so the length was lost. ParaProps and ResolvedPara now
keep it; a direct both/justify cancels an inherited length. The DOCX
reader and writer round-trip the three values.

* docx: keep a style's kashida length when writing justify

w:jc encodes alignment and kashida together. A paragraph or style
with Align::Justify and kashida unset still inherits a length from
the style chain; writing "both" would read back as Some(Kashida::None)
and cancel it. Use the resolved length in that case.
2026-11-16 10:23:22 -05:00
FredApps 45ad9df637 craft-xlsx: decode XLSB defined names after the workbook's tables are indexed
A defined name's formula may use a structured reference (PtgList). Names were decoded inside
xlsb::workbook, before Package::workbook indexed the table parts, so such a name was left out
and the cells using it kept only their saved results. xlsb::workbook now returns the names
undecoded (Names), and Package::workbook decodes them with xlsb::read_names after
index_tables. Regression: a_name_using_a_structured_reference_is_decoded_after_tables_are_indexed
fails without the reorder.
2026-11-16 16:21:55 +01:00
FredApps fcf14d7d2d Merge main into XLSB tables (defined names, sizes and columns from #1330 and others) 2026-11-16 16:21:55 +01:00
Dylan M. Taylor 963a52ec95 test: report PackBits codec errors without requiring Failure Debug 2026-11-16 10:21:41 -05:00
FredApps e622efc125 Merge pull request #1865 from tsw2k/fix/table-narrow-column-floor
craft-flow: narrow table columns keep their width on import
2026-11-16 16:15:40 +01:00
FredApps fe512d4ffa Merge pull request #1862 from tsw2k/fix/rtf-table-grid-fallback
craft-rtf: tables keep their column grid on odd rows
2026-11-16 16:15:09 +01:00
FredApps 8ee8316213 Merge pull request #1652 from D13GOOOO/docx-locked-canvas
craft-docx: read a DrawingML locked canvas as a group of its members (wordcraft#5060)
2026-11-16 16:12:08 +01:00
FredApps c5f217e765 craft-docx: a shape's VML fallback takes its anchor's relativeHeight
Main's VML fallback (#1864) read the writer's z counter after the anchor was written. That counter now only counts objects without a stored order, so a stored order's fallback got the wrong z-index. The anchor's relativeHeight is now kept in anchor_z for the fallback, and the wps_fallback tests expect the written relativeHeight (one less than Float::z).
2026-11-16 16:10:03 +01:00
FredApps 9fc471fc5c psd: add Descriptor::parse_prefix for mid-stream reads (#1887)
from_bytes still requires the slice to be fully consumed. parse_prefix
returns the descriptor and the number of bytes used, matching
VersionedDescriptor, so apps can read a descriptor that is followed by
more data (layer effects, fill and adjustment blocks).

Part of #778 and effectcraft#786.
2026-11-16 10:09:54 -05:00
FredApps bb965ed3c9 Merge remote-tracking branch 'origin/main' into t1729 2026-11-16 16:09:39 +01:00
Dylan M. Taylor ed850ede0f stream-codecs: append TIFF PackBits rows with shared packet encoder 2026-11-16 10:06:40 -05:00
Dylan M. Taylor a4fbe4e392 Merge main preserving PackBits and prediction regressions 2026-11-16 10:05:24 -05:00
FredApps e44720af47 media: refuse a truncated file on a FileReader cache hit
file() only checked length when reopening after eviction, so a prefix
read could still succeed if the handle was pooled. Check metadata on
the cached handle too, and drop the entry if the file is shorter or no
longer a regular file. MAX_OPEN_FILES is documented as a bound on
retained pool entries, not in-flight Arc handles.
2026-11-16 16:02:40 +01:00
FredApps 2ff7bd99b9 Merge remote-tracking branch 'origin/main' into onee/781-file-reader 2026-11-16 16:02:20 +01:00
FredApps 43fbfaaa3b Merge pull request #1330 from keithcsqueensu/xlsb-names
craft-xlsx: read the defined names of a binary workbook
2026-11-16 16:02:07 +01:00
Dylan M. Taylor b774e4d168 psd: add bounded PackBits recovery decoding for app cutovers (#1885)
* psd: expose bounded PackBits recovery row decoding

* Clarify recovery row budget and partial-error contract
2026-11-16 09:55:44 -05:00