Commit Graph
104 Commits
Author SHA1 Message Date
aiongg 901f3c785b Merge remote-tracking branch 'upstream/main' into next-sync-1120c
# Conflicts:
#	.github/workflows/workspace.yml
#	crates/proof/src/affix_suggest.rs
#	crates/proof/src/it/suggest.rs
#	crates/proof/src/pl/suggest.rs
#	crates/proof/src/pt/suggest.rs
#	crates/proof/src/ru/suggest.rs
#	scripts/test-workspace-tests.py
2026-11-20 21:22:40 +00:00
FredApps 86d6df9c45 Preserve additional COLLADA camera instances (#2576) 2026-11-21 01:14:47 +07:00
David MannandClaude Opus 5.5 1929e79ebb Merge storytold main into next (20 Nov, second sync)
Merges main at 8f92ed1334 (#2550 and the rest of main since the 20 Nov sync).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 16:38:55 +01:00
49b542759c mesh: support opt-in GLB sampler filtering (#2523)
* mesh: support opt-in GLB sampler filtering

* mesh: describe GLB sampler filtering in the README

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: FredApps <FredApps@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 21:28:05 +07:00
aiongg b05c1c27f9 Merge storytold main into next (20 Nov sync) 2026-11-20 01:48:18 +00:00
Dylan M. Taylor d0ca0cdb28 craft-mesh: add COLLADA (.dae) and Alembic (.abc) readers (#2462)
* craft-mesh: add COLLADA (.dae) and Alembic (.abc) readers

* fix(mesh): use str::to_owned instead of into_owned in dae

* craft-mesh: make dae and abc opt-in features

* fix(mesh): remove unused Error import and use Entry API in abc
2026-11-19 20:01:05 -05:00
Dylan M. Taylor 512a1b8e8b mesh, image-codecs: add clearcoat/sheen GLB, obj_with_mtl, and EXR chromaticities (#778) (#2466)
* mesh, image-codecs: add clearcoat/sheen GLB, obj_with_mtl, and EXR chromaticities (#778)

* fix(mesh): import Image and TextureRef in obj tests

* fix(mesh): construct Mesh via struct literal in gltf test
2026-11-19 19:50:59 -05:00
aiongg f6532f9835 Sync fix: keep main's uri_decode import in the glTF tests 2026-11-19 00:32:21 +00: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
Dylan M. Taylor 4078682a51 mesh: expose strict UTF-8 URI percent decoding 2026-11-18 01:17:12 -05: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
ljkx 828daafd16 craft-mesh: triangulate concave faces by ear clipping instead of fanning across their notch (#2026) 2026-11-17 12:15:48 -05: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
.CooCoo fef9459b3f craft-mesh: list FBX and 3MF once in the READMEs and correct the crate description (#1268) 2026-11-16 21:36:48 -05:00
Ken Mantle 03181405cd craft-mesh: read and write KHR_texture_transform (#1935) 2026-11-16 21:29:47 -05:00
Dylan M. Taylor dd7e62720a Merge pull request #1939 from KenM76/fix/mesh-dropped-warnings
craft-mesh: warn when glTF morph targets or other scenes are left out
2026-11-16 19:44:50 -05:00
KenM76andClaude Opus 5.5 511e260d23 craft-mesh: test every scene choice; README names the new warnings
The README's glTF "Not read" line was doubled and listed sparse
accessors and tangents, which are read.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 16:55:57 -05:00
KenM76andClaude Opus 5.5 8c1498d1f8 craft-mesh: warn when glTF morph targets or other scenes are left out
A primitive's morph targets are not read, and only one scene becomes the
roots. Both now add a warning: a count of the primitives drawn in their
base shape, and which scene of how many was read.

Closes #1938.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 16:53:23 -05:00
KenM76andClaude Opus 5.5 deaee4e8e1 craft-mesh: decode a glTF data URI's percent escapes to bytes
A base64 body with `%2B`, `%2F` or `%3D` escapes was refused as bad
base64, and a plain body lost every escaped byte that was not UTF-8 to
U+FFFD. Escapes are now decoded to bytes first, then base64 when the URI
says so. `uri_decode` is unchanged for file names.

Closes #1936

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 16:47:28 -05:00
aiongg 2df33d2f01 Merge remote-tracking branch 'upstream/main' into sync/main-1116
# Conflicts:
#	Cargo.lock
#	crates/audio/src/lib.rs
#	crates/exr/src/decode.rs
#	crates/font-catalog/src/lib.rs
#	crates/ps/src/lib.rs
#	crates/svg/Cargo.toml
#	crates/text/Cargo.toml
#	crates/text/src/lib.rs
#	crates/video/Cargo.toml
#	crates/video/src/lib.rs
2026-11-16 14:23:07 +00:00
FredApps 00149f5d83 Merge remote-tracking branch 'origin/main' into w1728
# Conflicts:
#	crates/mesh/src/tests/fbx.rs
2026-11-16 07:09:12 +01:00
FredApps 5e780f24e1 fbx package: refuse an oversized model up front and stop resolving once the byte limit is passed 2026-11-16 05:26:28 +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 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 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
aiongg dffc61a7e0 Merge storytold main 832883b5 (sync 16 Nov)
961 upstream commits since 7bb6c900. Resolutions:
- Test-only conflicts: upstream tests from before the base that our side
  cut stay cut; tests new upstream are kept (audio aac/config, layout,
  encode_format; cms lutfile; media mux; print windows_native, ticket;
  update self_update; xml hostile).
- Code our side moved, with upstream's change carried to the new place:
  craft-media mux roll sample groups (mux/boxes.rs) and writer-start
  offsets with overflow checks (mux/progressive.rs); craft-print's
  shrink-to-fit scale guard (sheets/plan.rs); craft-update's nextest
  archive detection (self_update/detect.rs); craft-vectorcraft-format's
  Tail::write_to_with (container.rs); craft-i18n's pedantic fixes
  (bidi.rs, negotiation.rs).
- craft-ui: the old crate's modules stay removed; gpu_test_lock guarded
  their per-test wgpu renderers, which the snapshot kit does not have.
- New upstream tests in crates that build their integration tests into
  the library's test executable are modules of tests/main.rs (audio
  flac_decode and qoa_oracle, cms, docpath, pcraft-format,
  vectorcraft-format).
- The 22 new crates are optional members of the craft facade.
2026-11-16 01:52:09 +00:00
FredApps 6ec4c31355 mesh: FBX material IDs per corner/control point, texture candidate order
Addresses CodeRabbit on #1777: ByPolygonVertex/ByControlPoint material IDs use the
polygon's first corner instead of the polygon number; an earlier texture candidate
is tried before a later cached one; regression test for strict colours reading the
validated layer.
2026-11-16 02:16:29 +01:00
FredApps d4f5f1e0c4 Merge remote-tracking branch 'origin/main' into w1777 2026-11-16 02:14:58 +01:00
FredApps 1448b89a2a Fix merged FBX test boundaries 2026-11-16 00:20:35 +01:00
FredApps 095ba1ce29 Merge remote-tracking branch 'origin/codex/fbx-package' into fredapps/i778-fbx-batch 2026-11-16 00:19:57 +01:00
FredApps 891d59c6df Merge remote-tracking branch 'origin/codex/fbx-diffuse-materials' into fredapps/i778-fbx-batch
# Conflicts:
#	crates/mesh/src/tests/fbx.rs
2026-11-16 00:19:57 +01:00
FredApps 52e5b88dbb Merge remote-tracking branch 'origin/codex/fbx-strict-ascii' into fredapps/i778-fbx-batch 2026-11-16 00:19:57 +01:00
FredApps 029137bf87 Merge remote-tracking branch 'origin/codex/fbx-ascii-budget' into fredapps/i778-fbx-batch
# Conflicts:
#	crates/mesh/src/tests/fbx.rs
2026-11-16 00:19:57 +01:00
FredApps 442dec34e5 Merge remote-tracking branch 'origin/codex/fbx-color-layers' into fredapps/i778-fbx-batch
# Conflicts:
#	crates/mesh/src/fbx.rs
#	crates/mesh/src/tests/fbx.rs
2026-11-16 00:19:57 +01:00
FredApps d9e2bc634e Merge remote-tracking branch 'origin/codex/fbx-all-geometry' into fredapps/i778-fbx-batch
# Conflicts:
#	crates/mesh/src/fbx.rs
#	crates/mesh/src/tests/fbx.rs
2026-11-16 00:19:34 +01:00
FredApps 59ab99fe8c Merge remote-tracking branch 'origin/codex/fbx-camera-scene' into fredapps/i778-fbx-batch
# Conflicts:
#	crates/mesh/src/tests/fbx.rs
2026-11-16 00:19:24 +01:00
FredApps 0c33cf0bb5 Merge remote-tracking branch 'origin/codex/fbx-material-slots' into fredapps/i778-fbx-batch
# Conflicts:
#	crates/mesh/src/tests/fbx.rs
2026-11-16 00:19:24 +01:00
FredApps 42f06b384c Merge remote-tracking branch 'origin/codex/fbx-binary-budget' into fredapps/i778-fbx-batch
# Conflicts:
#	crates/mesh/src/tests/fbx.rs
2026-11-16 00:19:24 +01:00
FredApps 476f0b08ba Merge remote-tracking branch 'origin/main' into fbx-layer
# Conflicts:
#	crates/mesh/src/tests/fbx.rs
2026-11-15 23:56:06 +01:00
FredApps e42b9e1696 Merge pull request #1731 from storytold/codex/obj-compat-options
Expose compatible OBJ read options
2026-11-15 23:55:19 +01:00
FredApps 3a8c6aef3e Merge pull request #1730 from storytold/codex/obj-stream-bounds
Bound OBJ face and continued-line parsing
2026-11-15 23:54:59 +01:00
Dylan M. Taylor 316d40376e Keep OBJ declaration groups across smoothing changes 2026-11-15 19:19:15 +00:00
Dylan M. Taylor 2ee29d87b5 Preserve repeated OBJ group declarations 2026-11-15 19:18:54 +00:00
Dylan M. Taylor 284b0d815b Expose compatible OBJ read options 2026-11-15 19:15:02 +00:00
Dylan M. Taylor 40b9b7ef45 Bound OBJ face and continued-line parsing 2026-11-15 19:13:32 +00:00
Dylan M. Taylor 4f9c718985 Identify the source model of each FBX placement 2026-11-15 19:09:27 +00:00
Dylan M. Taylor e469ec0558 Expose FBX placement and polygon order 2026-11-15 19:07:13 +00:00
Dylan M. Taylor 0a7bab2bed Merge branch 'codex/fbx-color-layers' into codex/fbx-integration 2026-11-15 18:57:35 +00:00
Dylan M. Taylor 9b43d91e1d Bound FBX color seam staging memory 2026-11-15 18:57:25 +00:00
Dylan M. Taylor afea2ec3c5 Merge branch 'codex/fbx-parent-policy' into codex/fbx-integration 2026-11-15 18:54:29 +00:00