Commit Graph
105 Commits
Author SHA1 Message Date
aiongg 0f9802774b craft-scraft-format, craft-psd, craft-doc: gate samples of sweeps 2026-11-24 19:46:16 +00:00
aiongg cf35f7dbae Merge remote-tracking branch 'upstream/main' into next-sync-1123
# Conflicts:
#	Cargo.toml
#	crates/audio/src/track.rs
2026-11-23 01:29:52 +00: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
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
FredApps 4041815638 Merge remote-tracking branch 'origin/next' into perf/2218-raster 2026-11-20 05:14:46 +01:00
aiongg b05c1c27f9 Merge storytold main into next (20 Nov sync) 2026-11-20 01:48:18 +00:00
Terra854 6a5ff3d4fd psd: open merged composites without image resources (#2426) 2026-11-20 05:07:30 +07:00
Dylan M. Taylor 9d5c9cce69 psd: add resource writers for alpha names and clipping path (2999) (#2429) 2026-11-19 16:25:53 -05:00
FredApps dc6adc3fbd psd: expose bounded encoded composite rows [skip ci] (#2442) 2026-11-20 04:22:22 +07:00
Dylan M. Taylor 8dbe9705ff psd: detect Lr16/Lr32 and Mt* merged transparency in Merged::open (#2412) 2026-11-19 13:11:21 -05:00
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
FredApps dfe722af62 Consolidate related image tests 2026-11-19 13:05:37 +01:00
FredApps f86a51e6c7 psd: append borrowed TySh payload framing [skip ci] 2026-11-19 11:30:36 +01:00
FredApps c88e962815 psd: share borrowed SoLd data prefix [skip ci] 2026-11-19 06:14:05 +01:00
FredApps a51b0f81db psd: share borrowed layer effects and solid color framing 2026-11-19 04:25:01 +01:00
FredApps bd3fd7cc70 formats: add borrowed iterative PSD descriptor writer 2026-11-19 03:28:39 +01:00
FredApps fa4741d0bb psd: share raw hue and levels block writers 2026-11-19 00:59:54 +01:00
FredApps 027416ac9f Merge pull request #2272 from FredApps/fix/786-psd-fixed-writers
psd: share raw brightness and exposure block writers
2026-11-19 06:44:50 +07:00
aiongg e8e713ee26 Merge storytold main into next (18 Nov sync)
Merges main at 3b8e426a26.

- crates/ui: main's e-sign dialog (crates/ui/src/esign) moves to craft-cloud-ui beside the
  share dialog, behind craft-cloud-ui's esign feature; craft-ui forwards `esign` and
  re-exports the module.
- crates/proof: main's can_suggest_cased goes to affix/check.rs and its tests to
  affix/tests.rs (next split affix.rs); French wiring in lib.rs.
- crates/svg: main's validated resolver and raster validation stay under tree-render, which
  now also enables gif and image-webp; the shared image-codec helpers are gated on tree.
- craft-ai-agents: main's rev (craft-ai-integrations main), one entry.
- crates/craft: facade dependencies, features and re-exports for main's new crates.
2026-11-18 23:07:38 +00:00
FredApps 5c0abaaa44 Share raw brightness and exposure block writers 2026-11-18 21:21:53 +01:00
FredApps c62d548b6b psd: expose bounded recovering tagged descriptor prefixes 2026-11-18 20:36:57 +01:00
FredApps 62f7a7e477 Merge pull request #2244 from FredApps/fix/786-psd-tysh-prefix
psd: expose bounded raw TySh text prefix
2026-11-19 01:29:20 +07:00
FredApps a7ff7b31ae Merge pull request #2241 from FredApps/fix/786-psd-section-recovery
psd: add opt-in section-divider blend recovery
2026-11-19 01:29:08 +07:00
FredApps 1063b59726 psd: expose bounded raw type-layer text prefix 2026-11-18 17:37:25 +01:00
FredApps 8df7c0268a psd: expose recovering section-divider blend reader 2026-11-18 16:36:52 +01:00
FredApps 4d2784ec90 psd: use fixed-size chunks in vector record fixture 2026-11-18 13:38:03 +01:00
FredApps a557fed94e psd: expose path record knot decoding for consumer adapters 2026-11-18 13:15:03 +01:00
FredApps e1fc4b1376 psd: annotate quilt policy test closure parameter 2026-11-18 10:39:08 +01:00
FredApps d78a99a0a7 psd: validate explicit bounds in unsliced quilt context 2026-11-18 10:10:41 +01:00
FredApps c9862964df psd: require complete numeric explicit quilt bounds 2026-11-18 09:38:28 +01:00
FredApps e9ec481331 psd: preserve canonical quilt grids across numeric extremes 2026-11-18 09:11:45 +01:00
FredApps be556bedcb psd: align quilt serialization and strict slice admission 2026-11-18 08:43:10 +01:00
FredApps b3960accde psd: reject invalid quilt bounds and discard unsupported templates 2026-11-18 08:08:01 +01:00
FredApps f8d869c1e7 psd: preserve bounded placement and descriptor compatibility 2026-11-18 05:41:30 +01:00
aiongg 4d22e6b958 Merge storytold main d6b5b16bbb into next (18 Nov sync)
- Workflows: main's per-crate layout, with next in the push triggers, Linux only for pushes to
  next, next's crate features (keymap egui, window and update ui) and test paths (crw samples and
  the pdf fixtures run inside the lib's test binary). The workspace gate keeps --keep-going and
  the facade-as-an-app clippy from next's ui.yml. Per-crate doc steps live in docs.yml, which also
  documents craft-ui, the ui-* crates, craft-doc and craft-pdf with every feature. docpath, i18n,
  print and ui workflows go, as on main. actions.lock lists docs.yml and theme.yml.
- Main's cloud and share UI (account, cloud, share, presence, the overflow menu and split button)
  lives in the new crate craft-cloud-ui as main wrote it; the craft-ui facade forwards share and
  cloud and re-exports account, cloud, share and presence, so craft-cloud-local builds unchanged.
- audio and media: main's new tests join tests/main.rs under their features.
- cms: main's new synth and FOGRA39 tests, with the fogra39() helper they use.
- nextest: no gpu group on unix; next's tests create no GPU device.
2026-11-18 01:22:22 +00:00
Dylan M. Taylor 8d5c939e20 psd: use fixed-size guide chunks for strict clippy 2026-11-17 14:46:32 -05:00
aionggandDylan M. Taylor d55beb8f61 psd: share legacy guide header and record encoding
Extract PhotoCraft guide framing from 2aa88b0956; leave rounding and document ordering with callers. Add fixed-byte and hostile-prefix coverage.

Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com>
2026-11-17 14:23:06 -05:00
Brandon ThomasandDylan M. Taylor e1d883e444 psd: share legacy guide record prefix decoding
Adapt PhotoCraft parse_guides from 16941f7198, retaining signed-position semantics from 1a54384d80. Allocation-free framing preserves complete-prefix recovery.

Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com>
2026-11-17 14:23:06 -05:00
aiongg 53ac626a31 next CI: derive Preview's Default, restore flatten_write's Cyan ink and main's craft-zip README line, gate the embedded-SVG test on tree, fix doc links
- craft-behavior: Preview<V> derives Default with #[default] Unchanged (clippy::derivable_impls on Rust 1.100).
- craft-prepress tests/flatten_write.rs: main's even-odd test needs the Cyan ink const.
- craft-svg: the embedded-SVG scene test needs the data-URL image resolver, which is behind feature tree.
- Docs: no links to private items (markdown, dwg, ui-patterns), no link to a crate that is not a dependency (frame), write() for the function (doc-binary), an autolink for the URL (update), Self::from_bytes (psd). craft-midi's source_timed and craft-pdf's cos::content keep only their inner docs, so their links resolve inside the module.
- README: main's craft-zip entry with its lenient reader sentence, lost in the 17 Nov merge.
2026-11-17 14:28:37 +00:00
aiongg ac3dfd1f53 Merge storytold main into next (17 Nov sync)
storytold main 83cb1133dd (291 commits) into the integration head bab1a99b85; 47 conflicted files.

- Domain test files (metafile, prepress, pdf plates, settings store, heif, media-testkit, atomic): tests next cut stay cut; tests new on main are kept, as trials where the crate's test target runs trials.
- atomic: main's group-bits test and Faulty::set_group go to src/tests.rs. audio: main's GSM and SBC oracles join tests/main.rs. cms constructors, pdf knockout_backdrop and testing_pdf join their crates' one test binary; timeline's preflight tests become src/preflight_tests.rs trials.
- update: main's changes to detect, install (linux, macos) and the tests land in next's split modules. The app's own offer is inspected on a thread of its own, picked up by tick's polling; settle_for_tests settles offers too. Later on a ready update drops the close it asked for. updater_pin_tests.rs stays deleted; its new pin test is in tests/it/update.rs.
- craft-color: main added a different crate at crates/color (the colour tags of compositor and display frames); it is next's craft-color module `tags`, re-exported at the root.
- Old crates/ui (combo, docking, testing, README) and keymap's ui/view.rs stay deleted; main's new crates/ui/src/testing files are dropped with them.
- New crates in the craft facade: ai, control, dds, frame, ipc, media-source, palette, press-print, score, ssip. testkit and xtask are listed outside it.
- Cargo.lock: the union of both locks, resolved by cargo metadata. Workflow: main's nextest Windows leg, with next's --keep-going clippy.
2026-11-17 12:44:52 +00:00
Dylan M. Taylor 06496f5bf2 craft-psd: decode strict PackBits rows into caller-owned slices (#1978) 2026-11-16 22:22:35 -05:00
.CooCoo e62945a8da craft-psd: test-support is the name of the testgen feature, which stays as an alias (#1380) 2026-11-16 21:36:00 -05:00
Dylan M. Taylor 62145a3e63 psd: preserve PhotoCraft lenient TySh prefix parsing (#1923)
(cherry picked from commit 20220807a4)
2026-11-16 23:36:08 +00:00
Dylan M. Taylor 20220807a4 psd: preserve PhotoCraft lenient TySh prefix parsing (#1923) 2026-11-16 15:51:27 -05:00
FredApps 30cad49e95 Merge pull request #1907 from FredApps/fix/786-psd-consumer-resource-limits
fix(psd): preserve consumer parsing limits and borrow placed pixels
2026-11-16 19:53:51 +01: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
FredApps 10a585c3e2 fix(psd): preserve consumer resource limits (#786) 2026-11-16 17:14:31 +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
Dylan M. Taylor a4fbe4e392 Merge main preserving PackBits and prediction regressions 2026-11-16 10:05:24 -05: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