Commit Graph
7039 Commits
Author SHA1 Message Date
Dylan M. Taylor 4374003c36 raw: reject zero-pitch public opcode area iterators 2026-11-15 23:26:23 -05:00
FredApps 75017e2bdf craft-format: multi-line step detection, budget keeps every byte read, unreadable-entry test, place match when no identity survives 2026-11-16 05:25:45 +01:00
FredApps 009c8d23b3 Merge remote-tracking branch 'origin/main' into w1627 2026-11-16 05:25:45 +01:00
Dylan M. Taylor 0050743b99 Merge pull request #1798 from storytold/feat/smf-raw-timed-writer
MIDI: share bounded source-timed SMF framing for LoopCraft
2026-11-15 23:24:44 -05:00
FredApps f299664d7c craft-format: string-aware step detection, live expanded budget, unreadable names refused, retention identity fixes 2026-11-16 05:07:48 +01:00
FredApps b9636d757a Merge remote-tracking branch 'origin/main' into w1627 2026-11-16 05:06:49 +01:00
FredApps 2ecbd1e9cd fbx: integer index arrays in strict mode, cache package textures, set-based missing dedup 2026-11-16 05:04:55 +01:00
FredApps b203dc6705 Merge remote-tracking branch 'origin/main' into w1777 2026-11-16 05:04:55 +01:00
FredApps b3643af647 Merge pull request #1616 from storytold/codex/omf-bounds
aaf: preserve bounded FilmCraft OMF traversal
2026-11-16 04:50:18 +01:00
aiongg 286c5d0ecd Fix CI lints: ungate ChordChip sample, rustdoc links, level table, api-map, facade features, components index 2026-11-16 03:49:11 +00:00
FredApps a499742a93 Merge pull request #1779 from storytold/image-codecs/jpeg-stored-inks
feat(image-codecs): read four-component JPEGs as stored inks
2026-11-16 04:48:49 +01:00
FredApps a64f5a6e4a Merge pull request #1621 from storytold/codex/pcm-export-shared
audio: share streaming PCM export encoding
2026-11-16 04:48:11 +01:00
FredApps 07b5e88dce craft-format: block comments in step detection, room past budget, configured Deflate level, duplicate names, cached limits, whole-section/identity/top-level retention 2026-11-16 04:42:51 +01:00
batistalucasv 2e5e69091a craft-odf: preserve page background bitmap fill and legacy fallback (#1784)
- Preserves page background images and bitmap fills (`draw:fill="bitmap"`) alongside legacy `<style:background-image>` fallbacks on ODT export, preventing orphaned duplicate backgrounds and resolving naming collisions with header pictures.
- Reuses kept picture files or fill images with identical bytes on export instead of duplicating background files and definitions on every save.
- Allocates distinct fill names for replaced page pictures and maps colliding names in linear time.
- Falls back to legacy `<style:background-image>` when modern bitmap fill is missing or contains non-image bytes.
- Adds comprehensive round-trip tests in `crates/odf/src/text/tests_more/page_setup.rs`.
2026-11-16 00:41:54 -03:00
FredApps 1d2cd4a9b2 Merge remote-tracking branch 'origin/main' into w1627 2026-11-16 04:41:16 +01:00
FredApps 0479988f65 fbx package: entry limit counts only resolved textures; report overflow before the no-texture return 2026-11-16 04:39:34 +01:00
FredApps 232c2aa1f6 Merge remote-tracking branch 'origin/main' into w1777 2026-11-16 04:39:34 +01:00
FredApps aa6f41a3c8 Merge pull request #1732 from storytold/codex/jsonrpc-async-coverage
Cover optional JSON-RPC async line transport
2026-11-16 04:38:46 +01:00
FredApps 5a86ef0f26 Merge pull request #1692 from storytold/codex/shared-raw-video
Share uncompressed AVI and QuickTime sample decoding
2026-11-16 04:38:34 +01:00
Dylan M. Taylor f450b5b591 fix(video): preserve explicit rav1e zero quantizer 2026-11-15 22:33:24 -05:00
FredApps 2f10c9389e Merge pull request #1782 from storytold/image-codecs/jpeg-zune-panic
fix(image-codecs): read the JPEGs zune-jpeg panics on with craft-jpeg
2026-11-16 04:08:51 +01:00
aiongg 2286041124 craft-update drops getrandom from the lockfile 2026-11-16 03:03:52 +00:00
aiongg 0835e114ca Fix CI lints: samples referenced in every build, missing docs, rustdoc links, deprecated Ui::id, unused manifest dependencies 2026-11-16 03:03:33 +00:00
FredApps 1b00186ae0 Merge pull request #1687 from storytold/codex/shared-font-plan-cache
Share per-face shaping plan cache
2026-11-16 04:01:15 +01:00
FredApps 5ca6bf4f9d Merge pull request #1790 from storytold/fredapps/i778-rgba8-oom-tests
tga, dpx: test the RGBA8 encoders' allocation-failure path
2026-11-16 04:01:03 +01:00
Dylan M. Taylor e25e6dbcad Expose bounded source-timed SMF framing without note normalization 2026-11-15 21:51:54 -05:00
Dylan M. Taylor a8fc359bc5 raw: share CinemaDNG capture metadata 2026-11-15 21:49:46 -05:00
Dylan M. Taylor 61a9330f4e Adapt attributed FilmCraft metadata to bounded shared reader
Preserve vangel76 original FilmCraft source commit 28247afae7806590dcdb149d744408739fb738df before the shared metadata extraction. Final metadata implementation is unchanged from the existing PR.
2026-11-15 21:49:46 -05:00
Dylan M. Taylor b00cb4533a raw: use fixed-size opcode record chunks 2026-11-15 21:49:46 -05:00
vangel76andClaude Opus 5.5 79c6602a35 #1065: clean-room DNG / CinemaDNG decoder crate
Problem: camera RAW is at 0% (docs/codec-parity.md, #383). CinemaDNG,
the one cinema RAW format with a public specification, could not be
read at all.

Fix: new L0 crate filmcraft-dng, written from the public DNG 1.4-1.7,
TIFF 6.0 / TIFF-EP, ITU-T T.81 and CinemaDNG specifications only (no
other decoder's source read; editions in the crate README):
- TIFF container with SubIFDs, bounded (64 IFDs, 4 levels, cycles end
  the walk) and checked offsets; the main raw IFD is the largest
  NewSubFileType 0 CFA / LinearRaw image.
- Raw data: 1-16-bit uncompressed (MSB-first packing) and lossless JPEG
  (process 14, predictors 1-7, 1-4 components, point transform, line
  restarts), strips and tiles, tiles decoded in parallel; allocations
  capped by size and by the data present.
- Processing per the DNG model: ActiveArea, LinearizationTable, per-site
  black levels with deltas, white levels, as-shot white balance with
  neutral highlight clipping, Malvar-He-Cutler Bayer demosaic (bilinear
  for other patterns), DefaultCrop, ColorMatrix / CameraCalibration /
  ForwardMatrix with illuminant interpolation, Bradford to linear
  Rec. 709, BaselineExposure; output scene-linear RGBA floats.
- CinemaDNG FrameRate, TimeCodes and ReelName tags.
- A test-only writer (feature `writer`) synthesises DNGs. Tests: raw
  samples bit-exact for every depth / predictor / layout, processing
  against hand-computed values, hostile files (every truncation, 12k
  mutations, cyclic IFDs, huge sizes, bad offsets), and LibRaw's
  unprocessed_raw as an external oracle reading the same samples
  (skipped when not installed).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 21:49:46 -05:00
vangel76andClaude Opus 5.5 440e14c7f2 #1065: clean-room DNG / CinemaDNG decoder crate
Problem: camera RAW is at 0% (docs/codec-parity.md, #383). CinemaDNG,
the one cinema RAW format with a public specification, could not be
read at all.

Fix: new L0 crate filmcraft-dng, written from the public DNG 1.4-1.7,
TIFF 6.0 / TIFF-EP, ITU-T T.81 and CinemaDNG specifications only (no
other decoder's source read; editions in the crate README):
- TIFF container with SubIFDs, bounded (64 IFDs, 4 levels, cycles end
  the walk) and checked offsets; the main raw IFD is the largest
  NewSubFileType 0 CFA / LinearRaw image.
- Raw data: 1-16-bit uncompressed (MSB-first packing) and lossless JPEG
  (process 14, predictors 1-7, 1-4 components, point transform, line
  restarts), strips and tiles, tiles decoded in parallel; allocations
  capped by size and by the data present.
- Processing per the DNG model: ActiveArea, LinearizationTable, per-site
  black levels with deltas, white levels, as-shot white balance with
  neutral highlight clipping, Malvar-He-Cutler Bayer demosaic (bilinear
  for other patterns), DefaultCrop, ColorMatrix / CameraCalibration /
  ForwardMatrix with illuminant interpolation, Bradford to linear
  Rec. 709, BaselineExposure; output scene-linear RGBA floats.
- CinemaDNG FrameRate, TimeCodes and ReelName tags.
- A test-only writer (feature `writer`) synthesises DNGs. Tests: raw
  samples bit-exact for every depth / predictor / layout, processing
  against hand-computed values, hostile files (every truncation, 12k
  mutations, cyclic IFDs, huge sizes, bad offsets), and LibRaw's
  unprocessed_raw as an external oracle reading the same samples
  (skipped when not installed).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 21:49:46 -05:00
Dylan M. Taylor 7ad0385abd raw: order opcode modules for rustfmt 2026-11-15 21:49:46 -05:00
Dylan M. Taylor fab94c80fe raw: bound opcode area count validation 2026-11-15 21:49:46 -05:00
Dylan M. Taylor 75cff558e5 raw: parse DNG opcode parameters into typed values 2026-11-15 21:49:46 -05:00
vangel76andClaude Opus 5.5 cb3f76848b #1065: DNG opcode lists (OpcodeList1/2/3)
Problem: DNG opcode lists were ignored, so lens shading gain maps
(phones and many cameras), bad pixel maps, vignette and distortion
corrections and trims that a file asks for were silently left out,
and an opcode a reader must apply could not be refused.

Fix (DNG 1.7.1.0 chapter 7): a big-endian opcode list parser (at most
256 opcodes, every count checked against the parameter bytes before
allocating) and the opcodes WarpRectilinear, WarpFisheye,
WarpRectilinear2 (with the skip rule), FixVignetteRadial,
FixBadPixelsConstant / List, TrimBounds, MapTable, MapPolynomial,
GainMap, DeltaPerRow / Column and ScalePerRow / Column. OpcodeList1 runs
on the stored samples (0-65535), OpcodeList2 on the linear values
before white balance (the fused normalise splits only then),
OpcodeList3 on the demosaiced camera values; values are clipped after
each opcode. Unknown opcodes or ones newer than 1.7.1.0 are skipped
when optional and an error naming them when mandatory; preview-only
opcodes are skipped on the reduced-resolution path, and a mandatory
OpcodeList3 keeps full resolution. Interpretations where the spec
leaves room are recorded in the README. Files without opcode lists
develop exactly as before.

Tests: unit tests per opcode with known results (tables, polynomials,
deltas, scales, gain map interpolation and edge replication, vignette,
warps reproducing a ramp, fisheye, the skip rule, bad pixels, trim,
hostile parameters) and whole-file tests of each list's stage, the
optional flag, the preview path, and 3000 mutations under catch_unwind.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 21:49:46 -05:00
aiongg 016d5074c6 Component samples exist in every build: the contract macro names the sample with or without the testing feature, so craft-menu's build without it compiles 2026-11-16 02:43:01 +00:00
FredApps 3a6613f058 Merge pull request #1770 from storytold/extract/dng-writer-view
raw: share borrowed and prepared-lossy DNG writing
2026-11-16 03:38:01 +01:00
aiongg 4fb088234a craft-ui-canvas: doc links to guides::reading::running 2026-11-16 02:32:06 +00:00
aiongg cc00dbd368 Clippy and test-target lints: redundant must_use, type aliases for complex types, boxed large variants, argument structs, struct-update initialisers, deprecated egui calls, unused imports and dead code; the swatch library's reorder test runs as a trial 2026-11-16 02:30:55 +00:00
FredApps 82597f403d fbx: strict check for ColorsIndex/NormalIndex, stop texture resolution at the entry limit, model entry keeps .fbx 2026-11-16 03:13:21 +01:00
FredApps fa56e8854b Merge remote-tracking branch 'origin/main' into w1777 2026-11-16 03:13:21 +01:00
FredApps f57db543da raw_video: QuickTime RGB24 always uses even-padded rows; only the last row's pad may be missing 2026-11-16 03:12:25 +01:00
FredApps f428f4d3b0 Merge remote-tracking branch 'origin/main' into w1692 2026-11-16 03:12:24 +01:00
aiongg fd5490dc3b craft-ui-widgets: lints the gate denies (redundant must_use on builder setters, a Paint alias for the picture's painter, the test rows' type, the removed veil named) 2026-11-16 02:05:24 +00:00
FredApps d26e89917a omf: charge depth-limited visits and share a document search budget; AIFF-C needs an integer PCM code 2026-11-16 03:05:05 +01:00
aiongg 3af495956d Merge remote-tracking branch 'upstream/next' into sync/main
# Conflicts:
#	crates/ui-contract/src/testing/icon_trials.rs
2026-11-16 02:03:27 +00:00
aiongg 3ceff195c7 Sync follow-ups: upstream's new tests in crates whose test executable runs trials are trials (print cups, ticket and windows_native, timeline interchange, update); craft-print's cups module documented (missing_docs), its tests under cfg(test) 2026-11-16 02:02:00 +00:00
FredApps 2f01ba2652 Merge remote-tracking branch 'origin/main' into w1616 2026-11-16 03:01:38 +01:00
FredApps 4daca46778 pcm_export: use is_multiple_of 2026-11-16 03:01:21 +01:00
FredApps b99a64fc5b pcm_export: refuse zero channels, zero sample rate and partial frames 2026-11-16 03:01:11 +01:00