Commit Graph
4191 Commits
Author SHA1 Message Date
Dylan M. Taylor 7039de09fa plotter: share classic HP-GL command serialization 2026-11-22 11:18:44 -05:00
FredApps 1507e63e6a develop: test local tone mapping across crop and tile coordinates (#3057) 2026-11-22 21:56:12 +07:00
Dylan M. Taylor 8300e3d448 fix(develop): apply deferred DNG linearization after OpcodeList1 (#3050)
* fix(develop): apply deferred DNG linearization after OpcodeList1

* test(develop): construct the DNG fixture with the CFA API

* docs(develop): describe deferred DNG linearization contract
2026-11-22 09:16:29 -05:00
Terra854andFredApps 52d2560c18 image-codecs: share ISO-BMFF brand prefix framing (#2638)
Co-authored-by: FredApps <153173854+FredApps@users.noreply.github.com>
2026-11-22 18:45:42 +07:00
FredAppsandCodex d20e7ff883 craft-develop: bound binned CFA phase tables (#587) (#3037)
* craft-develop: bound binned CFA phase tables (#587)

* craft-develop: format the binned parity fixture

Co-authored-by: Codex <codex@openai.com>

---------

Co-authored-by: Codex <codex@openai.com>
2026-11-22 18:08:47 +07:00
FredApps 3a34b8b2e0 docs(develop): clarify sensor and local tone consumer contracts (#3038) 2026-11-22 17:55:14 +07:00
Dylan M. TaylorandFredApps 7631ed550e craft-develop: extract sensor and local_tone stages (#587) (#3021)
* craft-develop: extract sensor and local_tone stages (#587)

* craft-develop: fix sensor chart_table/color/binned compilation

* craft-develop: factor OffsetList alias in xtrans demosaic for clippy

* craft-develop: remove unused Bayer test helper

All sensor fixtures already call Cfa::bayer directly. Remove the unused wrapper so strict test lint can pass without suppressing warnings.

AI-assisted: OpenAI Boris.

* craft-develop: keep binned feasibility checks allocation-free

Reject blocks that cannot fit the active area. Check each CFA phase over one period rather than allocating per-block layouts during preflight. Keep the existing path for valid rendered bins and cover both the fitting and non-fitting cases with a small synthetic crop.

AI-assisted: OpenAI Boris.

---------

Co-authored-by: FredApps <153173854+FredApps@users.noreply.github.com>
2026-11-22 05:26:27 -05:00
Terra854 59c9ebfa6c Report DNG linearization in decoder comparisons (#3030) 2026-11-22 16:23:30 +07:00
FredApps f8c3cef36f craft-develop: widen raster blur width arithmetic (#587) (#3019)
Calculate the bounded box width square in u64 and retain the existing f32 variance and radius limit.
2026-11-22 09:18:23 +01:00
Dylan M. Taylor a7f8dd621e craft-develop: extract local, nrc_joint, auto, and profiles stages (#587) (#3015)
* craft-develop: extract local, nrc_joint, auto, and profiles stages (#587)

* craft-develop: fix cct/Xy/nrc_joint compilation and wasm32 rayon gating

* craft-develop: match Process::V1..V8 in tone_base_detail

* craft-develop: make local::Planes public

* craft-develop: remove profiling calls from nrc_joint_reference
2026-11-22 03:04:44 -05:00
FredApps eda95dd6b4 craft-develop: preserve LightCraft raster sRGB rounding (#587) (#3017)
Carry over LightCraft's sqrt-domain quantizer from 08179b9b for the extracted raster conversion; leave craft-color's general transfer lookup unchanged.
2026-11-22 08:54:06 +01:00
Dylan M. Taylor 742af23a37 craft-develop: extract raster and crystal grain stages (#587) (#3009)
* craft-develop: extract raster and crystal grain stages (#587)

* craft-develop: fix raster submodule crate:: imports

* craft-develop: fix Plane path in raster::blur test
2026-11-22 02:18:42 -05:00
Dylan M. Taylor b67df8175c craft-develop: extract colorops and light_v3 stages (#587) (#3000)
* craft-develop: extract colorops and light_v3 stages (#587)

* craft-develop: fix colorops imports against craft-color-transform

* develop: preserve calibrated color and RAW stage parity
2026-11-22 01:18:12 -05:00
Dylan M. Taylor 34129bac99 png: add write_16bit helper for 16-bit PNGs (#3001)
* png: add write_16bit helper for 16-bit PNGs

* png: use as_chunks in 16-bit test to satisfy clippy
2026-11-22 00:35:35 -05:00
Terra854 2be8991cb5 Share SQLite record header splitting (#2846) 2026-11-22 00:15:57 -05:00
Dylan M. Taylor c42c34bfa1 Merge pull request #2946 from Terra854/feat/shared-png-writer
png: share an 8-bit PNG writer
2026-11-21 20:01:03 -05:00
Terra854 e1a8223052 png: share an 8-bit PNG writer 2026-11-22 07:07:15 +08:00
Dylan M. Taylor 3d23eae3dc develop-model: map remaining Camera Raw fields to DevelopSettings (#587) (#2942)
* develop-model: map remaining Camera Raw fields to DevelopSettings (#587)

* test(develop-model): avoid json! macro recursion limit in migration test (#587)
2026-11-21 17:40:58 -05:00
Dylan M. Taylor 1ad61320ac develop-model: map Camera Raw 1-to-1 scalar fields to DevelopSettings (#587) (#2938) 2026-11-21 17:26:48 -05:00
FredApps 3de39fd3a5 media-source: play indexed Y4M from bounded byte ranges (#2903)
* media-source: play indexed Y4M from bounded byte ranges

* Preserve Y4M indexing errors and align fractional seek boundaries
2026-11-22 04:58:22 +07:00
Terra854 6a061a30bd audio: decode FLAC frames through TrackDecoder (#2868)
* audio: decode FLAC frames through TrackDecoder

* audio: keep FLAC state out of the decoder enum layout
2026-11-21 14:04:27 -05:00
Dylan M. Taylor d20a82481b svg: share CSS transform, style, unit, and viewBox syntax helpers (#789) (#2887)
* svg: share CSS transform, style, unit, and viewBox syntax helpers (#789)

* svg: fix expected 3-decimal mm formatting in roundtrip_text_and_units
2026-11-21 13:53:27 -05:00
Dylan M. Taylor 068e079c7b eps,ps: share AI editing-data lexer and journal save/restore dictionaries (#790) (#2885)
* eps,ps: share AI editing-data lexer and journal save/restore dictionaries (#790)

* ps: fix test assertions for rectfill PDF output and SubFileDecode readline

* ps: factor JournalEntry type alias to satisfy clippy::type_complexity
2026-11-21 13:29:42 -05:00
Dylan M. Taylor 5319811431 psd: share plane stream, RLE row-count and ZIP limit framing (#786) (#2884) 2026-11-21 13:22:16 -05:00
Terra854 ba25ccd233 Honor initial GIF and WebP frame budgets (#2843) 2026-11-21 13:00:24 -05:00
Terra854 bb30de6b91 Keep GIF graphic control with its rendering block (#2848)
* Keep GIF graphic control with its rendering block

* gif: apply text control scope during frame decoding
2026-11-21 13:00:21 -05:00
Terra854 8b40f1a4b0 exr: share exact-size scanline zlib inflation (#2853) 2026-11-21 12:56:51 -05:00
Terra854 0a5b1389c4 stream-codecs: decode an LZW stream prefix (#2883) 2026-11-21 12:56:47 -05:00
Terra854 44b842cadf video: expose FFV1 configured alpha before decoding (#2881) 2026-11-21 12:56:43 -05:00
Terra854 e1d62d7e19 image-codecs: share PNG physical resolution writing (#2879) 2026-11-21 12:56:40 -05:00
FredAppsandFredApps 3f3b6ef037 develop-model: map PhotoCraft Camera Raw exposure to a caller baseline (#2877)
* develop-model: map PhotoCraft Camera Raw exposure to a caller baseline

* develop-model: format the exposure migration test cases

* develop-model: classify Camera Raw migration errors

---------

Co-authored-by: FredApps <FredApps@users.noreply.github.com>
2026-11-21 12:56:36 -05:00
Terra854 69b7468cd3 video: dispatch Motion JPEG through TrackDecoder (#2874) 2026-11-21 12:56:32 -05:00
Terra854 5d25fa3d22 Share scoped media request cancellation (#2861) 2026-11-21 12:56:29 -05:00
Dylan M. Taylor c60e7a2006 image-codecs: expose raw PNG pHYs pixels_per_meter reader (#785) (#2865) 2026-11-21 11:39:45 -05:00
FredAppsandCodex 531f12d235 Add bounded Sony rtmd timecode prefix parser (#2789)
Co-authored-by: Codex <codex@openai.com>
2026-11-21 14:42:45 +07:00
studiosloppyandFredApps ad0cb48e82 craft-psd: tolerate a missing pad byte after the last image resource (#1949) (#1951)
Co-authored-by: FredApps <153173854+FredApps@users.noreply.github.com>
2026-11-21 09:22:30 +07:00
Terra854 b674d91fbe stream-codecs: decode a RunLength stream prefix (#2703) 2026-11-21 08:32:16 +07:00
Dylan M. TayloranddotCooCoo 9b28b56bc7 craft-cdr: look up clipped objects' own chunks once (port vectorcraft#8862) (#2727)
Ports @dotCooCoo's clipped-group lookup accounting and regression test
() from storytold/vectorcraft#8862
into craft-cdr (#778, storytold/vectorcraft#8857).

Co-authored-by: dotCooCoo <RobertLeeLW@gmail.com>
2026-11-20 19:30:33 -05:00
Dylan M. Taylor 0350c2edc0 sqlite: extract shared page-size, B-tree header, local-payload, and signed-int helpers (#2694)
* sqlite: extract shared page-size, B-tree header, and signed-int helpers (#778)

* sqlite: remove duplicate test block in wire.rs

* sqlite: cover Error Display and truncated/invalid page-header branches
2026-11-20 19:26:17 -05:00
Dylan M. TayloranddotCooCoo 75d179f8df craft-cdr: move VectorCraft's bounded CDR/CMX reader into craft-libs (#2697)
* craft-cdr: move VectorCraft's bounded CDR/CMX reader into craft-libs (#778)

Moves crates/cdr (vectorcraft-cdr, landed in storytold/vectorcraft#8632)
to craft-libs as craft-cdr: legacy WL (v1-v2), RIFF/cmpr (v3-v13),
ZIP packages and data streams (v14-v27), .cmx (32-bit), provenance
(R1-R63), synthetic test builders, and integration tests.

Co-authored-by: dotCooCoo <RobertLeeLW@gmail.com>

* craft-cdr: address CodeRabbit review findings

- Classify all-zero CMX dash patterns once in Tables::read instead of per-curve
- Validate loda offset table length before reserving offsets Vec capacity

---------

Co-authored-by: dotCooCoo <RobertLeeLW@gmail.com>
2026-11-20 19:12:32 -05:00
Terra854 c6c90e991b sqlite: share B-tree local payload sizing (#2696) 2026-11-21 06:16:40 +07:00
FredApps 2d9d096e4f Merge pull request #2495 from keithcsqueensu/ppt95-shapes
craft-ppt-binary: read PowerPoint 95 shapes and lines (#2317, step 3)
2026-11-21 02:41:26 +07:00
FredApps d7fc79387d Merge pull request #2493 from keithcsqueensu/ppt95-text
craft-ppt-binary: read PowerPoint 95 placeholders and text (#2317, step 2)
2026-11-21 02:10:22 +07:00
dependabot[bot] a20dfd1623 ci(deps): bump actions/checkout (#2582)
Bumps the actions group with 1 update in the / directory: [actions/checkout](https://github.com/actions/checkout).


Updates `actions/checkout` from 4.4.0 to 7.0.1
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4.4.0...v7.0.1)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 7.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-11-20 13:19:17 -05:00
bdb9dae67d craft-xlsx: typed external links, and external references in binary formulas (#1347)
* craft-xlsx: typed external links, read from .xlsx and .xlsb; external references in binary formulas

ExternalLink (another workbook as ExternalBook: its target, sheet names,
defined names with refersTo and sheetId, and cached cells; a DDE or OLE link
as Other) reads from externalLinkN.xml and externalLinkN.bin alike.
Package::external_links gives one entry per Workbook::external_references,
which is now a typed field, read from externalReferences or the binary
workbook's BrtSupBookSrc records and written back from the field.

A binary formula's reference to another workbook decodes as .xlsx spells it:
[1]Data!$A$1, '[1]Other Sheet'!A1, '[1]A:C'!A1, [1]!ExtName, [1]Data!Local
for a sheet-scoped name, a DDE item [2]!'R1C1'. The link parts are read when
the workbook part is; one that can't be read, a deleted sheet of it or a name
it lacks keeps the cell's saved result.

Closes #1252.

* craft-xlsx: review fixes: external links keep their numbers, are read once, and deleted sheets keep values

- An externalReference without an r:id, or a BrtSupBookSrc whose id can't be
  read, keeps its place as an empty id, so the links after it keep their
  [n]; it is written back without r:id.
- A binary workbook's external link parts are read once, with its workbook
  part: the formulas' index and Package::external_links share that read, so
  cached cells are charged to binary_cells once.
- PtgNameX through a deleted sheet of another workbook (-1) keeps the cell's
  saved result instead of falling back to the name's own scope.

* craft-xlsx: deduplicate binary external links against budget and add cache-cap test

* craft-xlsx: avoid cloning ExternalLink on duplicate binary external references

---------

Co-authored-by: kiwi4boy <kiwi4boy@gmail.com>
Co-authored-by: FredApps <FredApps@users.noreply.github.com>
Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com>
2026-11-20 13:19:14 -05:00
FredApps 86d6df9c45 Preserve additional COLLADA camera instances (#2576) 2026-11-21 01:14:47 +07:00
FredApps 7f5c123859 Merge pull request #2116 from marcwgls/fix/html-fragment-spacing
craft-html: a fragment keeps its paragraphs' spacing and indents
2026-11-21 01:05:10 +07:00
aiongg 7d22ffc36b Merge pull request #2503 from aiongg/ci-test-select
Workspace: pull requests run only the tests their change reaches
2026-11-20 13:01:27 -05:00
FredApps a49329e71e Merge pull request #2507 from OPUZZLES/opuzzles/proof-map-lookups
Proofing: index spelling MAP lookups
2026-11-21 00:23:07 +07:00
aiongg 1819a0868e Workspace: pull requests run only the tests their change reaches
craft-common-actions' select-platforms selects the tests: the crates that
own a changed file, the crates that declare a read of it, and every
crate that depends on them. Every nextest run gets the filter; the build
and the doctests stay whole-workspace. The build setup, a crate's own
Cargo.toml and files outside the crates other than docs run every test;
docs alone run none. pdf, svg and the fonts-build consumer declare the
files of other crates that their tests read.
2026-11-20 17:17:41 +00:00