Commit Graph
5619 Commits
Author SHA1 Message Date
FredApps 0cca4ac66f Merge pull request #1900 from storytold/cutover/packbits-append
stream-codecs: append TIFF PackBits rows without EOD
2026-11-16 19:53:22 +01:00
Dylan M. Taylor 0d6dd8bed8 Merge pull request #1910 from storytold/refactor/timeline-depth-preflight
timeline: share allocation-free XML and JSON nesting preflight
2026-11-16 13:32:41 -05:00
aiongg 9d61d87e46 cargo fmt 2026-11-16 18:29:58 +00:00
vangel76 b73f8c03ed Merge remote-tracking branch 'upstream/main' into fix/dwg-field-format-2007-tmp 2026-11-16 19:18:25 +01:00
aiongg 7e7e86e09c Merge branch 'fw/d1' into fw/mac1 2026-11-16 18:18:10 +00:00
aiongg b93ae97d69 PresetPicker: a face thumbnail painter the host gives for the closed field; BrushPresetPicker's chip shows the app's current tip 2026-11-16 18:18:10 +00:00
aiongg 6b6b0905ac Dock group: the panel menu button paints over the header's band; a workspace save without a layout does not load 2026-11-16 18:18:10 +00:00
aiongg 9332e1c0c8 Fill children of a content-sized body take their measured width: a fill container not given the width offers its body the width it measured, unless it is held in a content column or passes its column's width on; a collection not given the width takes its content width in the real run too, unless held; trial: a content-sized row's fill leaf, held container and list leave the next member after them, inside the row 2026-11-16 18:16:48 +00:00
FredApps 3af2280ee3 Merge pull request #1337 from keithcsqueensu/xlsb-tables
craft-xlsx: read the tables of a binary workbook
2026-11-16 19:07:25 +01:00
FredApps c2068fc90b fix(import): normalize maximum drawing stacking orders without replay 2026-11-16 18:54:38 +01:00
aiongg b54fe562bc The canvas panel's rail is one rail column wide at the panel's end edge, so the document area runs up to it 2026-11-16 17:49:05 +00:00
aiongg cf72d57473 Runtime maps keyed by egui Ids use IdMap and IdSet
The ids already carry their hash: the runtime's per-pass stores (lazy, layout memory, sensing arenas, id pass,
reads of overlays, inspect, keys, pointer, access) look them up without SipHash. The id pass keys its Auto
ordinals by the scope's id joined with the component type.
2026-11-16 17:42:23 +00:00
aiongg a0e01972e0 Fit Layers asks for the layers' bounds only when it runs
Canvas::layer_bounds takes a LayerBounds provider; ViewCommands::apply and available take it in place of
ViewTarget::layers, which is gone. Fit Layers is available when the canvas has a provider and calls it only in
the pass that applies the command. Trial: showing the canvas asks for no bounds; firing Fit Layers asks once.
2026-11-16 17:42:23 +00:00
aiongg 9b8dbfb332 Shell slots and dock panel bodies settle when they give a content version
Slot::content and AppShell::content give a slot the version of the app data it shows; DockPanels::content
gives one per panel body. With one, the slot or body runs in a settling Lazy. Trials: a versioned slot and a
versioned panel body run only when their version changes; a stroke whose tool asks for repaints runs no
versioned panel beside the canvas and one pass per move frame.
2026-11-16 17:42:23 +00:00
aiongg 9341d4d478 Settling children: a content version, repaints scoped to the child that asks, input elsewhere leaves versioned children settled
Lazy::content gives the version of the app data a settling child shows; it runs when the version changes.
frame::request_repaint asked inside a settling child runs only that child; outside every one it still runs
them all. frame::request_own_repaint moves only what the caller shows: the tool host and the canvas zoom ease
use it. Input other than pointer motion unsettles only the children without a content version.
2026-11-16 17:42:11 +00:00
FredApps a341e86b6d Merge pull request #1709 from dotCooCoo/feat/craft-texture-axis-sampling
craft-texture: add per-axis wrapping and MaterialCraft's stored sampling
2026-11-16 18:37:03 +01:00
aiongg 154fd9cb59 Rerun diagnostics: each pass that asks to run again logs what changed under craft_ui::rerun 2026-11-16 17:25:10 +00:00
aiongg e0ebaf4634 A row's line record holds the line it shared: a row centred in another height measures its line afresh, so a title bar in its slot sits in the slot; the Swatches panel fills its room and scrolls its own swatches 2026-11-16 17:25:09 +00:00
FredApps 37d7236d86 fix(odf): preserve boundary stacking and inline drawing metadata 2026-11-16 18:24:18 +01:00
Simon Koch-Sultan b974484e03 craft-latex: paragraph breaks survive comments, control words and CR line ends (wordcraft#6350, #6365, #6366)
Three ways the lexer lost a blank line, so two paragraphs ran together:

- A comment took its line end with it, so a blank line right after it
  read as a single line end (wordcraft#6350).
- A control word took the spaces and one line end after it, so a blank
  line right after `\relax` at a line end read as a single line end
  (wordcraft#6366).
- Only LF was a line end. TeX ends a line at LF, CR or CRLF. With CR line
  ends every paragraph break was lost, and a comment or a verbatim
  environment ran to the end of the file and dropped the rest of it; with
  CR or CRLF a control word kept the line end after it as a space
  (wordcraft#6365, #6373, #6374, #6375). The lexer now reads every line
  end as LF.

Each symptom has its own test. The CR fix needs the control-word fix
before it: CRLF files read a blank line after a control word correctly
only because the CR stopped the control word from taking the line end.

Port of storytold/wordcraft#6387, whose files moved here with the LaTeX
reader.
2026-11-16 12:18:30 -05:00
Simon Koch-Sultan 9f73a01143 craft-latex: a backslash before a line end or a tab is a control space (wordcraft#6296)
The control symbol branch took the line end or tab after a `\` as the
symbol's name, and the parser drops unknown commands, so `mid\` at a line
end followed by `line` read as `midline`, and a blank line after it no
longer ended the paragraph. TeX reads `\` before a line end or a tab as a
control space, as for `\ `.

- lex.rs: `\` before a line end (LF or CRLF) or a tab gives `Tok::Cmd(" ")`
  and leaves the line end in place, so a following blank line still ends
  the paragraph and the line end adds no second space.
- parser.rs: an optional argument such as an `\item` label reads a
  control space as a space instead of writing `\ ` back as text.

This also keeps apart, on reopening, a paragraph that ends in two spaces:
export writes its last space as a control space at the line end.

Port of storytold/wordcraft#6298, whose files moved here with the LaTeX
reader.
2026-11-16 12:18:30 -05:00
FredApps 520de5f4b2 cms: integrate main and validate constructor wire boundaries 2026-11-16 18:18:22 +01:00
Dylan M. Taylor 3b597748ab timeline: keep provenance in module docs and personal attribution in Git 2026-11-16 12:07:35 -05:00
FredApps 808df4f186 dds: validate public boundaries and bound fallible decoding 2026-11-16 18:01:22 +01:00
Simon Koch-Sultan c3c19cc917 craft-latex: a starred line break shows no star
`\\*` is a line break that also forbids a page break after it. The lexer
read `\\` as the control symbol and left the `*` as text, so `a\\*b`
showed `a`, a line break, then `*b`, `\\*[3pt]` showed `*[3pt]`, and in
a tabular the next row's first cell started with `*`.

The lexer now takes the star with `\\`, so the parser and the tabular
reader see the line break they already handle, with its optional
spacing argument.
2026-11-16 11:54:29 -05:00
aiongg 8090388f3b Merge branch 'fw/det' into fw/mac1
# Conflicts:
#	crates/ui-widgets/src/bars/status_readout.rs
2026-11-16 16:48:00 +00:00
aiongg 1b376ba317 Merge branch 'fw/dlg-b' into fw/mac1 2026-11-16 16:47:54 +00:00
aiongg 5215f02eef Merge branch 'fw/dlg-a' into fw/mac1 2026-11-16 16:47:54 +00:00
aiongg 18f6bc55f8 List rows: trailing icon buttons rest in the quiet panel-rail glyph role 2026-11-16 16:47:13 +00:00
aiongg b7e972651b A row centres its line only in a fixed height: a rect, a pane or the row line it fills, not a fill share of its parent's room 2026-11-16 16:46:05 +00:00
aiongg 03cec5ea4f Status readout: info text in the muted shade 2026-11-16 16:45:16 +00:00
FredApps 692a7fe5c9 ci: run the Windows gate's tests with nextest (#1881)
* ci: run the Windows gate's tests with nextest and link with rust-lld

The Windows leg of the Workspace gate takes 55-100 minutes. About half of that is
cargo test running ~370 test binaries one after another, twice (default and all
features), and another 15-17 minutes per feature set is the uncached test build,
where link.exe links every test executable.

- Windows runs the tests with cargo-nextest (parallel across binaries) and the
  doctests with cargo test --doc. The same tests run; .config/nextest.toml puts
  the tests that relied on in-process mutexes (craft-ui GPU, craft-video h264
  fixtures, craft-print) in one-at-a-time groups.
- Windows links with rust-lld via CARGO_TARGET_X86_64_PC_WINDOWS_MSVC_LINKER.

Linux and macOS legs are unchanged.

* ci: keep link.exe on the Windows gate

The first run with rust-lld built the tests no faster than link.exe at the same
runner speed (14.4 min against 15.1 min on a runner 8% slower at clippy), so the
linker change is not worth its risk. nextest stays.
2026-11-16 11:45:15 -05:00
aiongg 45a14a4dad Rulers: minor tick token, mid tick 6/9, ticks end at the divider band, vertical labels step by the label size, horizontal labels sit one gap below the strip top 2026-11-16 16:45:11 +00:00
FredApps 209a40d66c craft-svg: floor declared() name window to a character boundary (#1899)
* svg: floor declared() name window to a character boundary

If the MAX_NAME+1 cut split a UTF-8 character, get(..bound).unwrap_or(rest)
fell back to scanning the entire suffix. Floor the window instead, and
when recording an overlong name extend to the next character boundary so
the key is still longer than MAX_NAME.

* test(svg): assert declared() keys stay bounded after a multibyte cut

The overlong-name refusal alone also passed on the old unwrap_or(rest)
fallback, which recorded the whole suffix. Bound recorded keys to
MAX_NAME+4 so the test fails if the suffix is stored again.
2026-11-16 11:45:10 -05:00
FredApps 24db17142b Merge pull request #1888 from storytold/onee/781-file-reader
media: add a pooled FileReader ByteSource
2026-11-16 17:43:18 +01:00
aiongg 3829737b47 Trial: the stacked parameter layout stacks sliders and puts the buttons across the foot; Below keeps the button column 2026-11-16 16:42:19 +00:00
FredApps cc63a31309 Validate frame alpha depth and correct color metadata contracts 2026-11-16 17:41:25 +01:00
aiongg e8ec7b44ae A unit select names its unit once: the number field reads the unit's spellings without a suffix, and the unit lists show the units' names (Units::name) 2026-11-16 16:40:28 +00:00
aiongg a293456ced Section headings in Canvas Size, Print, Export As and Save for Web: Current Size and New Size with their file sizes, Printer Setup and the app's sections, File Settings, all bold under a rule 2026-11-16 16:39:29 +00:00
Dylan M. Taylor ce2ec507c2 Merge pull request #1893 from storytold/feat/psd-unpredict-scratch
psd: support caller-budgeted prediction scratch
2026-11-16 11:38:15 -05:00
aiongg 265e4e33e5 Layer Style sliders sit on one line beside their label 2026-11-16 16:37:58 +00:00
aiongg b4810e927a Parameter sections show a bold title under a rule; radio groups keep their quiet caption 2026-11-16 16:37:58 +00:00
aiongg 592a757d30 ParamLayout::Stacked: stacked slider rows, the zoom row under the preview pane and the buttons across the foot, with its story 2026-11-16 16:37:58 +00:00
aiongg 68f7685b8e A form dialog's buttons go across the foot unless it asks for side buttons; Guide Layout, Layer Style and the Color Picker keep their button column 2026-11-16 16:37:51 +00:00
aiongg a2a7f492a2 Levels and Curves show the point picker row first, above the Channel select 2026-11-16 16:34:53 +00:00
aiongg 568b6ec337 Dock area: a group's padding reads its active panel's spec by reference; canvas scroll bars drop an unused import 2026-11-16 16:28:19 +00:00
aiongg d1b29f96ee Prompt buttons show plain labels; their letters still activate them 2026-11-16 16:28:09 +00:00
aiongg 7189821b26 A disabled solid button keeps its shape, dimmed 2026-11-16 16:27:51 +00:00
aiongg e6cc6225a6 Dialogs draw no scrim backdrop by default 2026-11-16 16:27:33 +00:00
aiongg 1dcf0f8a17 Gradient icon: add the suite drawing of PhotoCraft's gradient swatch that icons.toml names 2026-11-16 16:26:39 +00:00