Commit Graph
5992 Commits
Author SHA1 Message Date
aiongg ca58dfe6c9 Merge storytold main into next (19 Nov sync)
Merges main at d7c9632bfb.

- Cargo.toml: both sides' new workspace crates (next's font-subset, harfbuzz-subset-sys and
  host; main's gpu, gpu-null, gpu-providers and gpu-wgpu).
- crates/jpeg: next split lib.rs into modules; main's reduced-size decoding goes to them: the
  scaled IDCT, reconstruction and render_scaled to idct.rs, MAX_SHRINK, reduced_estimate and
  decode_reduced stay public in lib.rs. Main's new test added; the frame test next removed
  stays removed.
- crates/audio, crates/media: next builds the integration tests into the library's test
  executable (autotests off, tests/main.rs); main's new DSD and MPEG-TS mux tests are modules
  there behind their features instead of [[test]] targets, and the mux tests reach their shared
  helper module through the integration module.
- crates/media/src/matroska/track.rs: main's new FFV1 codec-parameter test added; the test
  modules next removed stay removed.
- crates/file-formats: main's JXL capability test, which asks the codec whether JXL reads,
  replaces next's interim check.
2026-11-19 16:22:24 +00:00
aiongg eac80b4404 Merge pull request #2360 from storytold/perf/2334-ui-inspection
Record UI inspection data on demand
2026-11-19 11:04:52 -05:00
Dylan M. Taylor d7c9632bfb image-codecs: add jpeg_with_icc and jpeg_without_icc to jpeg_inks (#2400) 2026-11-19 10:53:18 -05:00
Dylan M. Taylor 48c57b5faf http-url: add parse_content_range (#2395) 2026-11-19 10:00:32 -05:00
Dylan M. Taylor cfadb66dbf midi: add live MIDI 1.0 channel-voice message decoder (#2392) 2026-11-19 10:00:27 -05:00
FredAppsandFredApps 30a568b97f image-codecs: expose raw BMP density probe (#2354) [skip ci]
Co-authored-by: FredApps <FredApps@users.noreply.github.com>
2026-11-19 21:26:09 +07:00
aiongg 4bd0107b92 Merge pull request #2339 from aiongg/memo-counters
Count-trial counters (#2336)
2026-11-19 08:54:49 -05:00
aiongg 2fb86ac2b0 Merge pull request #2342 from aiongg/memo-props
MemoProps, MemoKey, derive, Stateless<F> (#2336)
2026-11-19 08:54:35 -05:00
aiongg 62fd9223a8 Merge pull request #2340 from aiongg/memo-tracked
craft-tracked: Tracked<T>, PlainData and bind_tracked! (#2336)
2026-11-19 08:54:22 -05:00
aiongg 0e93f7f97c Merge pull request #2341 from aiongg/lint-no-global-state
design-lint rule no-global-state (#2336)
2026-11-19 08:54:08 -05:00
FredApps 448e8d4bfc Test parts declaration guard and inspector focus order 2026-11-19 14:44:36 +01:00
FredAppsandCodex 50b0ee7bf8 Expose structured palette errors for localized consumers (#2377) [skip ci]
Co-authored-by: Codex <codex@openai.com>
2026-11-19 20:36:51 +07:00
FredApps a0919f3cdb Merge pull request #2338 from FredApps/fix/786-psd-sold-prefix
PSD: stage borrowed descriptor and SoLd data framing
2026-11-19 20:12:01 +07:00
Dylan M. Taylor 1292300110 Merge pull request #1787 from el-j/feat/audio-dsd
craft-audio: DSD audio (DSF and DFF) to PCM
2026-11-19 06:54:33 -05:00
FredApps a49f56c504 Merge current video decoder main into PSD stack [skip ci] 2026-11-19 12:43:16 +01:00
FredApps 6d0aba2eeb Merge main HPGL fix into reviewed PSD stack [skip ci] 2026-11-19 12:41:44 +01:00
Dylan M. Taylor c260a6e1c3 Merge pull request #2351 from alehel/codex/video-track-remaining-decoders
craft-video: TrackDecoder for ProRes, DNx, APV, FFV1 and VP8 (#1231)
2026-11-19 06:36:08 -05:00
FredApps b963c7a6b1 Merge current main into reviewed PSD stack [skip ci] 2026-11-19 12:35:06 +01:00
FredAppsandCodex 8fc78247a6 Fix HPGL2 byte stream encoding (#2359) [skip ci]
* fix(plotter): preserve HP-GL/2 byte encoding and pen state [skip ci]

* test(plotter): cover PE continuation bytes and palette bounds [skip ci]

---------

Co-authored-by: Codex <codex@openai.com>
2026-11-19 18:34:11 +07:00
FredApps f86a51e6c7 psd: append borrowed TySh payload framing [skip ci] 2026-11-19 11:30:36 +01:00
Dylan M. Taylor 1acd07f6bc Merge pull request #2345 from storytold/dot/pkcs7-cms-inspection-private-20261119
craft-pkcs7: add bounded borrowed CMS wire inspection
2026-11-19 05:03:32 -05:00
alehel 9ef7889f5b craft-video: dispatch ProRes, DNx, APV, FFV1 and VP8 tracks 2026-11-19 10:14:21 +01:00
FredApps 50812ec37c Use the declarations slice for the suite assertion 2026-11-19 09:58:09 +01:00
aiongg b2456f91c6 Merge pull request #2328 from aiongg/space-and-uia-fixes
access: no dangling AccessKit controls id (Windows menu crash, from #2239)
2026-11-19 03:55:22 -05:00
el-j 7b1a8f4515 craft-audio: validate DSF container bounds and DSDIFF channel counts (#1787) 2026-11-19 09:26:19 +01:00
FredApps 0c076f890b ui-contract: record steps only inside an inspected region 2026-11-19 09:19:37 +01:00
el-j 22710f1587 Merge remote-tracking branch 'origin/main' into feat/audio-dsd 2026-11-19 09:17:52 +01:00
aiongg 3a815c9657 ui-contract: MemoProps, MemoKey, Stateless and the MemoProps derive
MemoProps keys every input of a memoized view. The derive builds on the
plain-data field check, with #[memo_props(hash = "reason")] for foreign
plain types and #[memo_props(stateless)] for the type parameter of a
Stateless callback, which no fn item implements MemoProps for: the shared
check takes an optional per-parameter escape beside the field escape, and
PlainData passes none. FitKeep derives Hash.
2026-11-19 08:04:49 +00:00
aiongg ee0798cda0 craft: facade features table from the member manifests; PlainData derive reaches craft-tracked through contract 2026-11-19 08:04:36 +00:00
Dylan M. Taylor e4252faa21 Exercise optional CMS wire sets and preserve acceptance boundaries 2026-11-19 02:55:14 -05:00
Dylan M. Taylor 67e1cfd12b Refresh private CMS inspection onto merged shared inspection main 2026-11-19 02:53:38 -05:00
aiongg d7804c73c2 access: the controls step reaches the tests through runtime::egui 2026-11-19 07:41:02 +00:00
aiongg 0489ea03bf Keep the counters in pass-local state; mark Settle non_exhaustive 2026-11-19 07:25:25 +00:00
FredApps 5b12fdd273 Skip undeclared parts outside declaration trials 2026-11-19 08:18:03 +01:00
FredApps 20287bf3fa Index inspected elements for focus and labels 2026-11-19 08:15:23 +01:00
aiongg 94c912daa9 design-lint: allow ui-contract's own MemoProps impls (#2336) 2026-11-19 07:08:11 +00:00
aiongg a5a337466c design-lint: no-global-state rejects __split_for_bind instead of __from_field_path (#2336) 2026-11-19 07:02:51 +00:00
aiongg 02b3ea4a34 craft-ui: bind_tracked! binds several fields of one Tracked at once
bind_tracked!(doc => title, style.size) splits the Tracked into its value and
its write count (a Cell over the count) and gives each field path its own
write-through binding, so the borrow checker rejects overlapping paths. A
binding moves the count at each write that changes its field; making and
reading bindings every pass leaves the revision. Bind::tracked, Field, Place,
Projection and field! are gone: this is the one way to bind a tracked field.
2026-11-19 07:00:52 +00:00
aiongg c0df034524 ui-macros: plain-data check bounds type parameters and checks every field
The impl bounds each type parameter by the derive's trait, and every field is
checked under those bounds, so a generic recursive type derives without
overflowing and a Cell<T> field fails at the derive, naming the field. A field
type written with Self is checked as the type itself. The escape is an Escape
{ attr, keyword } parsed by escaped(), and the check item is a separate output a
derive may leave out. A direct craft-tracked dependency is preferred over the
facade when finding the crate path.
2026-11-19 06:57:03 +00:00
aiongg 6d1d6bb6d1 design-lint: per-item no-global-state allowlist; motion:clock flags clock fn values (#2336) 2026-11-19 06:53:55 +00:00
aiongg 7199467079 design-lint: no-global-state rejects PlainData impls and __from_field_path (#2336) 2026-11-19 06:51:05 +00:00
aiongg b083a40316 craft-tracked: Tracked<T>, PlainData and its derive, field! and Bind::tracked
Tracked<T> owns its value, a process-unique source id and a write count. Deref
reads; DerefMut, edit and a Field's writes move the count, and a clone is a new
source. T must be PlainData, a marker with no implementation for interior
mutability, raw pointers, dyn objects or closures, so no write can bypass the
count. #[derive(PlainData)] in ui-macros checks every field through a field-check
helper the plain-data derives share; #[plain_data(assume = "reason")] skips one
field of a foreign plain type.

field!(a.b) builds a read and a write projection from a field path only.
Bind::tracked(&mut t, field!(a.b)) reads through the read projection and moves
the revision only when an edit changes the field.
2026-11-19 06:47:09 +00:00
aiongg fc4fce56a0 design-lint: contract/no-global-state (#2336) 2026-11-19 06:43:32 +00:00
aiongg 21b790af4a Gate the counters on the testing feature 2026-11-19 06:41:32 +00:00
aiongg fc8d1205ab Use const for immutable UI tables (#2336) 2026-11-19 06:40:20 +00:00
aiongg 8a7e1e6bea Add count-trial counters for settling, text layout and measure asks, and an idle-frame trial 2026-11-19 06:39:51 +00:00
aiongg 4ec453ed5a access: the controls tests live in the integration binary 2026-11-19 06:38:55 +00:00
William Dunn 56c3c833bb file-formats: let the codec decide whether JXL reads (#2278)
Every workspace gate with `--all-features` has been failing since #2135 taught
craft-image-codecs to read JPEG XL behind a `jxl` feature. The capability test
asserted that JXL read is `Unsupported`, full stop. With that codec feature on,
`capabilities()` forwards the codec's own answer of `Available`. The assertion
then fails.

This crate cannot read that feature through `cfg!`. The feature belongs to a
dependency. A workspace build turns it on without this crate selecting
anything. An equality against either value is therefore wrong in some build.

The test now asks the codec the same question the code asks it. It compares
the two answers. A build whose codec reads JXL must report `Available`. One whose codec
does not must report `Unsupported`. The mapping has to exist either way. A missing
codec therefore fails an assertion of its own. The comparison is never quietly
skipped. Without `raster-codecs` there is no codec to ask. The answer is
`Unsupported`.

Verified at 1.100.0 on Linux. `cargo test -p craft-file-formats -p craft-image-codecs --all-features --locked` runs the case that was failing and passes. The same test passes with `-p craft-file-formats --all-features` and with `--no-default-features`. clippy with `--all-targets --all-features -D warnings` is clean. `cargo fmt --check` is clean. Making `capabilities()` ignore the codec's read flag fails the test. That is what the comparison is for. The HEIF and deep-EXR failures in that package need the pinned corpus. My checkout has not fetched it.
2026-11-19 00:43:07 -05:00
FredApps c88e962815 psd: share borrowed SoLd data prefix [skip ci] 2026-11-19 06:14:05 +01:00
el-jandDylan M. Taylor 56847b14ad craft-captions: MP4 timed text sample codec (mov_text / tx3g) (#1781)
* craft-captions: MP4 timed text sample codec (mov_text / tx3g)

Add 3GPP TS 26.245 timed text subtitle sample decoding and encoding,
modifier box parsing (styl, hlit, hclr, krok, dlay, href, tbox, blnk, wrap),
markup conversion and tx3g sample entry configuration under feature
mov-text. Closes #1555.

* craft-captions: address reviews on mov_text formatting, twrp, and timescales.

---------

Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com>
2026-11-19 00:11:54 -05:00