Commit Graph
4131 Commits
Author SHA1 Message Date
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
Dylan M. Taylor 5d4357256a ps(write): handle empty, single, and flat stops in push_shading (#2570) 2026-11-20 11:43:22 -05:00
FredApps 712b35379b Merge pull request #1691 from vangel76/fix/drawingml-numfmt-1675
Chart number and date formats show what Excel shows (rounding, dates, fractions, conditions)
2026-11-20 22:45:34 +07:00
FredApps f389c25c23 Resolve scatter category axis by position rather than ID order 2026-11-20 16:01:18 +01:00
David Mann 8f92ed1334 Merge pull request #2550 from davidmann4/agents/default-folder
craft-control agents: default agent folder in Documents and the agent_folders tool
2026-11-20 15:54:58 +01:00
FredApps 6200c71304 Keep category formats with their source and preserve literal slashes 2026-11-20 15:51:04 +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
FredApps 05603f5e40 Match observed second rounding in date and minute formats 2026-11-20 15:10:53 +01:00
FredApps 533518fc18 Keep original date and minute when seconds are not displayed 2026-11-20 15:05:31 +01:00
FredApps 7c2494b611 Merge main, retaining chart date formats and data-table metadata 2026-11-20 15:05:16 +01:00
David MannandClaude Opus 5.5 f9ebae49c0 craft-control agents: default agent folder in Documents and the agent_folders tool (#2548)
An empty agent folder setting meant no file access, so an agent reached
through the launcher's MCP entry could neither open nor save a file, and
nothing told it where to put files.

- default_folder(app): Documents/ArtCraft/Agents/<App> (dirs::document_dir,
  else ~/Documents), only for plain app names.
- AgentSettings::folders / folders_with: the person's own folders win; an
  empty setting falls back to the default, created on first use.
- The live client's headless sessions use it (LiveConfig::default_folder).
- FOLDERS_TOOL, folders_tool, folders_answer: the tool each app offers so an
  agent learns the folders it may use.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 15:00:40 +01:00
Dylan M. Taylor 9eb02be84f Merge pull request #2546 from dylanmtaylor/feat/pdf-max-coverage
feat(pdf): enforce max_coverage budget via vendored vello_cpu 0.0.8
2026-11-20 08:27:48 -05:00
David Mann e544a6c69b Merge pull request #2035 from dotCooCoo/fix/update-test-attach-retry
craft-update: the macOS partway-install test retries a busy disk-image attach
2026-11-20 14:20:44 +01:00
aiongg 8048f8ef92 Adopt the shared AGENTS.md (RFC-0072) and test rules (RFC-0071) (#2489) 2026-11-20 18:08:50 +07:00
kiwi4boy bb829867fa Merge remote-tracking branch 'origin/main' into ppt95-text 2026-11-20 02:54:29 -05:00
kiwi4boy 6571b28594 Merge branch 'ppt95' into ppt95-text 2026-11-20 02:23:15 -05:00
kiwi4boy b122ba51dd ppt-binary: a PowerPoint 95 slide whose SlideAtom was cut short is lost too
A stream cut just after the SlideAtom's header left an atom with no
body, which counted as kept: the slide read blank and nothing was named
lost. A slide is now kept only when its atom gives its id and its
master's.
2026-11-20 02:23:13 -05:00
kiwi4boy ed6d273e05 ppt-binary: an empty footer gives its look from its end mark; cap point spacing at DrawingML's
The footer row's look came from its first run, so an empty footer, date
or slide number placeholder (no runs once normalized) gave none. It now
falls back to the paragraph's end mark. This is the shared helper, so
both paths take it.

PowerPoint 95 point spacing was capped at 4000 pt, but DrawingML holds at
most 1584 and the writer clamps to that, so a larger value changed on
export. It is now capped at 1584.
2026-11-20 02:13:09 -05:00
kiwi4boy 7fd97515a7 Merge branch 'ppt95' into ppt95-text
# Conflicts:
#	crates/ppt-binary/src/ppt95/tests.rs
2026-11-20 02:11:30 -05:00
kiwi4boy f09e70f281 ppt-binary: a PowerPoint 95 slide cut off after its header is left out and named as lost
PowerPoint 95 writes a slide's SlideAtom first. A slide record without
one is what a file cut just after the slide's header leaves; it read as
a blank slide, and import_checked reported nothing lost. It is now left
out, as the PowerPoint 97 path leaves out the slides it lost, and named
by its position.
2026-11-20 02:11:02 -05:00
FredApps e6dbc97ca3 Merge pull request #2348 from OPUZZLES/opuzzles/rtf-info-groups
craft-rtf: preserve document properties across nested groups
2026-11-20 13:58:23 +07:00
Codex 9b57bcdd94 Merge main for combined HTML fragment and table export validation 2026-11-20 07:54:59 +01:00
FredApps f7067b297c Merge pull request #2485 from keithcsqueensu/ppt95
craft-ppt-binary: read PowerPoint 95 slides, masters, layouts and backgrounds (#2317, step 1)
2026-11-20 13:49:24 +07:00
kiwi4boy c9eba77824 ppt-binary: a paragraph's end mark keeps the formatting at its CR, on both paths
Both paths gave a paragraph's end mark the formatting of its first
character. PowerPoint reads it from the character run at the CR (or at
the text's end for the last paragraph): a .ppt PowerPoint 16 saved, with
'AB\rCD' at 24 pt and only the first CR at 40, opens with that paragraph's
endParaRPr at 40. PowerPoint 95 gives the CR a run of its own when it
differs, so its path reads the same position.
2026-11-20 01:49:15 -05:00
FredApps 227009258a Merge pull request #2512 from FredApps/integrate/778-dpx-main
Integrate reviewed DPX memory reductions on main
2026-11-20 13:48:54 +07:00
FredApps 17ec60ad0c Merge pull request #2379 from trufae/fix/raw-orf-preview-fallback
craft-raw: recover ORF previews with missing pointers
2026-11-20 13:43:32 +07:00
FredApps 8014b39bfc Merge pull request #2378 from trufae/fix/raw-nef-packed-guard
craft-raw: simplify NEF packed-layout eligibility
2026-11-20 13:41:41 +07:00
FredApps 385988d9a4 Merge pull request #2346 from OPUZZLES/opuzzles/html-rowspan-zero
craft-html: keep zero row spans in their row group
2026-11-20 13:36:07 +07:00
FredApps 63ed548b69 Merge pull request #2380 from trufae/fix/raw-orf-crop-coordinates
craft-raw: reject narrowing ORF crop coordinates
2026-11-20 13:35:05 +07:00
FredApps 2e45aeeee5 Merge pull request #2192 from Morzilla/docx-grid-from-cells
craft-docx: a table without w:tblGrid takes its grid from its cells, as Word rebuilds it
2026-11-20 13:33:59 +07:00
FredApps b93d7ca706 Merge pull request #2180 from dotCooCoo/fix/number-format-trailing-spaces
wordmodel: number formats keep a trailing space that is part of the code
2026-11-20 13:29:45 +07:00
Codex 45aebd6f99 Integrate reviewed metadata reader with merged prior-layout state
Retain both metadata and prior-paragraph-layout regression suites. Combined-head validation is pending normal upstream CI.
2026-11-20 07:27:17 +01:00
FredApps 946094d5cf Merge pull request #2505 from OPUZZLES/opuzzles/rtf-prior-paragraph-layout
RTF: retain prior paragraph layout in tracked changes
2026-11-20 13:22:28 +07:00
Dylan M. Taylor a0afd7bbd2 Merge pull request #2013 from dotCooCoo/feat/audio-dsp
Add craft-audio-dsp: compressor, limiter, equalizer, loudness meter and other effects
2026-11-20 01:20:58 -05:00
FredApps 407e4a41b8 Merge pull request #2190 from arnav-hiwarkar/fix/3831-spi3d-allocate-after-rows
cms: validate SPI3D rows before reserving the lattice
2026-11-20 13:19:20 +07:00
Dylan M. Taylor 0c6b195efe craft-zip: add SeekableArchive::has_duplicate_names_matching and duplicate_names (#2511)
* craft-zip: add SeekableArchive::has_duplicate_names_matching and duplicate_names

* craft-zip: use zip::ZipWriter in duplicate-names test

* craft-zip: patch second entry name in duplicate-names test
2026-11-20 01:15:20 -05:00
FredApps d042b09745 Merge pull request #2510 from OPUZZLES/opuzzles/docx-picture-soft-edge-roundtrip
DOCX: preserve imported picture soft edges
2026-11-20 13:09:33 +07:00
Rees d6e13ee891 Count empty rows when resolving HTML zero row spans 2026-11-20 07:05:38 +01:00
kiwi4boy bf729d6d02 ppt95: skip runs of no characters; the font table is the first list with a face
A zero-length run counted as one character of coverage, so a few of them
used up the runs read and a real run after them was never reached.

A font list whose only face atom was cut short gave an empty face and
still won over a later list with real faces.
2026-11-20 01:01:49 -05:00
yoriswind b7cf916792 style: format DPX decoded budget assertion
(cherry picked from commit a874344ced)
2026-11-20 07:00:55 +01:00
yoriswind 0596a975ae Reduce temporary memory when decoding DPX and Cineon
(cherry picked from commit f08789c7a6)
2026-11-20 07:00:55 +01:00
yoriswind 4f31e9c33a Avoid widened sample buffers in eight-bit DPX export
(cherry picked from commit 23393d1def)
2026-11-20 07:00:49 +01:00
kiwi4boy 86dde45a35 Merge branch 'ppt95' into ppt95-text
# Conflicts:
#	crates/ppt-binary/src/lib.rs
#	crates/ppt-binary/src/ppt95/tests.rs
2026-11-20 01:00:32 -05:00