100 Commits
Author SHA1 Message Date
Dylan M. Taylor eeee51ff7b Merge pull request #7572 from keithcsqueensu/rtf-full-writer
Export: bound RTF pictures per placement, bake their rotations, report the pages that lose one
2026-11-18 21:50:30 -05:00
Dylan M. Taylor 44aaf2d003 Merge main preserving RTF safety and PPTX parity fixes 2026-11-18 21:06:36 -05:00
Dylan M. Taylor 93a34204e3 Preserve plain PPTX tables and validate shared-writer semantics 2026-11-18 19:23:10 -05:00
Dylan M. Taylor 79477f3909 Point hayro-postscript to storytold/craft-libs (storytold/craft-libs#790) (#7828) 2026-11-18 19:08:53 -05:00
Dylan M. Taylor 8f4f4ea9c5 Cut over pptx export to craft-pptx (#7823)
* cut over pptx export to craft-pptx (storytold/craft-libs#792)

* style(export): run cargo fmt on pptx.rs
2026-11-18 18:57:36 -05:00
Dylan M. Taylor 8d14c81be2 Bound aggregate input work for rotated RTF picture probes 2026-11-18 18:07:30 -05:00
Dylan M. Taylorandkiwi4boy d03b99ea54 Export: Word through craft-docx, from the shared word model (rebased #7592) (#7814)
* export: write RTF through craft-rtf's full writer, from the word model

The pages are mapped onto a craft_wordmodel::Document (as_word.rs, the
mapping the DOCX export will share), and craft_rtf::doc::export writes
it. Over the small writer this keeps, in RTF:
- pictures, inline (the engine no longer leaves them out for RTF);
- each page's size, as a section per page (blank pages kept);
- Heading 1 and 2 styles;
- the title;
- hard line breaks inside a paragraph or cell (storytold/pdfcraft#4723).
It also fixes two bugs: \cellx was the absolute page x, so every column
edge sat one left margin too far right, and tables that touched became
one (NIST CSF 2.0 came out with 28 tables instead of 68).

craft-rtf, craft-wordmodel, craft-docx and craft-mime are pinned together
at one craft-libs commit: doc::export takes its own revision's Document.

* export: pin craft-libs main with push_text, the header-row fix and the RTF generator name

craft-rtf, craft-wordmodel, craft-docx and craft-mime move to craft-libs
b8eaa8e2, which has storytold/craft-libs#1946, #1947 and #1950. The
mapping appends through Paragraph::push_text/push_object, tables keep
the default look, and the RTF names PdfCraft as its generator.

* export: write Word through craft-docx, from the shared word model

as_docx.rs no longer writes WordprocessingML itself: as_word::word_doc
maps the pages onto a craft_wordmodel::Document and craft_docx::write
writes it. The decisions stay the same: a page with rotated text or
overlapping text keeps its layout as positioned text boxes and pictures
(watermark-sized text behind, pictures over it, other text on top), the
other pages flow, each page is a section of its own size, a shared page
colour is the document's, the PDF's language goes in the slot Word keeps
for its script, and the media limits are unchanged.

Over the hand-written package this gains:
- a VML fallback for every text box, so Word 2007 opens positioned pages;
- rotated text as a turned text box Word draws as a line;
- the body font named (Arial), with a font table saying it is a sans;
- PdfCraft as the application in docProps/app.xml;
- a picture drawn many times stored once.

The tests that matched XML read the package back through craft-docx.

* parity: the Word export through craft-docx, checked in Word 16, Word 2007 and LibreOffice

* chore: update Cargo.lock after rebasing #7592

---------

Co-authored-by: kiwi4boy <kiwi4boy@gmail.com>
2026-11-18 17:11:01 -05:00
Dylan M. Taylor ac8c44517d Fit RTF pictures within page bounds and report omitted media 2026-11-18 14:57:09 -05:00
Dylan M. Taylor 1cd10fb9b2 Merge current main while preserving RTF and HTML media regressions 2026-11-18 14:06:43 -05:00
Dylan M. Taylor 0b50bddc84 Bound RTF picture expansion and bake image rotations before embedding 2026-11-18 14:05:40 -05:00
Dylan M. Taylor b11d37c0ed Merge pull request #7795 from storytold/fix/shared-ocsp-wrapper-pin-20261118
fix(sign): consume standard OCSP certificate wrapper parsing
2026-11-18 12:36:28 -05:00
Dylan M. Taylor dbf59f410f Merge pull request #7786 from storytold/test/ocsp-independent-oracle-20261118
test(sign): keep embedded OCSP certificate oracle independent
2026-11-18 11:54:34 -05:00
Dylan M. Taylor 3f1088afe2 Keep the OCSP parity oracle independent for embedded certificates 2026-11-18 11:01:52 -05:00
Dylan M. Taylor 209c040cce Merge pull request #7783 from storytold/fix/unused-tag-import
Keep the DER tag import where the test oracles use it
2026-11-18 10:43:26 -05:00
Dylan M. Taylor c9c4eb94e8 Keep the DER tag import where the test oracles use it 2026-11-18 10:43:09 -05:00
Dylan M. Taylor f1ace254bf Merge pull request #7656 from storytold/refactor/shared-ocsp
Sign: parse ocsp through shared PKCS7 components
2026-11-18 10:08:06 -05:00
Dylan M. Taylor 34d6706088 Pin shared PKCS7 adapters to merged parts API 2026-11-18 09:58:51 -05:00
Dylan M. Taylor d79a0fdc3d Merge main into shared OCSP adapter, retaining CRL parity coverage 2026-11-18 09:58:06 -05:00
Dylan M. Taylor a49a037db6 Merge pull request #7646 from storytold/refactor/shared-xfdf-fields
XFDF: use shared bounded field-value reader
2026-11-18 09:53:53 -05:00
Dylan M. Taylor e6274ea729 Merge branch 'refactor/shared-xfdf-fields' of github.com:storytold/pdfcraft into pr-7646 2026-11-18 09:53:36 -05:00
Dylan M. Taylor 70c7cebde8 Merge remote-tracking branch 'base-src/main' into pr-7646
# Conflicts:
#	Cargo.lock
2026-11-18 09:50:17 -05:00
Dylan M. Taylor e835554187 Merge pull request #7655 from storytold/refactor/shared-x509
Sign: parse x509 through shared PKCS7 components
2026-11-18 09:47:14 -05:00
Dylan M. Taylor 78706fe8c0 Merge pull request #7654 from storytold/refactor/shared-crl
Sign: parse crl through shared PKCS7 components
2026-11-18 09:47:10 -05:00
Dylan M. Taylor 7c15cb5019 Merge pull request #7642 from storytold/refactor/shared-xfa-xml
XFA: use shared namespace-aware XML DOM
2026-11-18 09:47:03 -05:00
Dylan M. Taylor 2801898667 Merge pull request #7637 from storytold/refactor/shared-timestamp-request
Sign: use shared RFC 3161 request reader
2026-11-18 09:46:59 -05:00
Dylan M. Taylor c26d380659 Merge remote-tracking branch 'origin/main' into refactor/shared-xfdf-fields 2026-11-18 09:41:01 -05:00
Dylan M. Taylor 02cbeb24d7 Merge pull request #7659 from storytold/fix/xfa-count-cache-20261117
XFA: cache repeated prototype child counts without relaxing work limits
2026-11-18 09:19:07 -05:00
Dylan M. Taylor b24a313ff5 Merge remote-tracking branch 'origin/main' into pr-7656 2026-11-18 09:12:07 -05:00
Dylan M. Taylor 4085380014 Merge remote-tracking branch 'origin/main' into pr-7655 2026-11-18 09:12:03 -05:00
Dylan M. Taylor babccf53e7 Merge remote-tracking branch 'origin/main' into pr-7654 2026-11-18 09:11:58 -05:00
Dylan M. Taylor b26c0c529f Merge remote-tracking branch 'origin/main' into pr-7646 2026-11-18 09:11:54 -05:00
Dylan M. Taylor 8d0ed386c0 Merge remote-tracking branch 'origin/main' into pr-7642 2026-11-18 09:11:50 -05:00
Dylan M. Taylor b7887ea0d1 Merge remote-tracking branch 'origin/main' into pr-7637 2026-11-18 09:09:10 -05:00
Dylan M. Taylor add7f7b509 Merge remote-tracking branch 'origin/pr7702-current' into fix/xfa-count-cache-20261117 2026-11-18 08:35:44 -05:00
Dylan M. Taylor ef2d06e303 build: preserve Cargo canonical XML package order 2026-11-18 05:13:23 -05:00
Dylan M. Taylor 30c1e449f3 fix(export): package a repeated picture once in PPTX and bound HTML embedded pictures (#5933)
* fix(export): package repeated PPTX pictures once and bound HTML embedded images

* test: make reused PPTX picture reading order explicit
2026-11-18 05:10:11 -05:00
Dylan M. Taylor f715e41507 Propagate XFDF parity test errors without unwrap 2026-11-18 02:07:01 -05:00
Dylan M. Taylor 1a317aa7de Refresh XFDF reader adapter on merged bounded import and shared parser 2026-11-18 02:03:18 -05:00
Dylan M. Taylor 9db6c9d95c fix(xfdf): bound field text, look up names, guard tab cells, protect fields (#5937)
* fix(xfdf): bound field text, look up names, guard tab cells, protect fields

XFDF import built every full field name from its parent's with no total; it
is held to 64 MiB of names and values. FDF field arrays charge each decoded
value before keeping it instead of after decoding all of them. merge_csv,
XFDF field export and apply_values looked names up by linear scan per field;
they use maps, keeping first-match behaviour. Tab-delimited export guards
formula-like cells with a leading ' as CSV does, and import takes it off.
A same-name comment import no longer replaces a widget whose subtype is a
reference or whose /FT is inherited from its parent, existing annotations
are borrowed instead of deep-copied per import, and an imported redaction
mark's /Rect is grown to hold its /QuadPoints so nothing is removed outside
its review outline.

* address review: follow /Parent 64 levels in is_field
2026-11-18 01:55:16 -05:00
Dylan M. Taylor 2f8820eda3 test(xfa): verify cached layers consume the same writer budget 2026-11-17 13:57:45 -05:00
Dylan M. Taylor c8d0f17b25 xfa: cache repeated prototype child counts without changing work charges 2026-11-17 13:57:22 -05:00
Dylan M. Taylor a5e78cc6e7 Parse OCSP evidence through shared components, retaining verification policy 2026-11-17 11:59:07 -05:00
Dylan M. Taylor 355c186cfd Parse X509 certificates through shared components, retaining app policy 2026-11-17 11:57:46 -05:00
Dylan M. Taylor 0b6306165e Parse CRL evidence through shared PKCS7 components 2026-11-17 11:56:36 -05:00
Dylan M. Taylor 955205860a Specify shared XFA crate version for dependency policy 2026-11-17 11:49:58 -05:00
Dylan M. Taylor 42b3015319 Read XFDF field values through shared bounded parser 2026-11-17 10:42:51 -05:00
Dylan M. Taylor cb564fd827 Merge current XML adapters into bounded XFDF import and precharge text 2026-11-17 10:14:24 -05:00
Dylan M. Taylor 79fc51b740 Use shared XFA XML DOM while retaining app form policy 2026-11-17 09:59:30 -05:00
Dylan M. Taylor b2b6ec62f2 Delegate RFC 3161 request parsing to shared PKCS7 2026-11-17 08:33:33 -05:00
Dylan M. Taylor 271e479c53 Merge pull request #7591 from storytold/dot/pdf-shared-markdown-20261117
Export: use shared extracted-text Markdown writer with exact output parity
2026-11-17 02:16:26 -05:00
Dylan M. Taylor 2959b7050f Fix canonical ordering of pinned XML lock entries 2026-11-17 00:06:10 -05:00
Dylan M. Taylor 4d64115874 export: pin extracted-text writer to merged shared prerequisite 2026-11-16 23:10:41 -05:00
Dylan M. Taylor 9892160ed6 fix(platform): confine staging names; private temp dirs for tests and macOS signing (#5923) 2026-11-16 21:59:18 -05:00
Dylan M. Taylor f8197e29ca fix(fonts): a CMap's codespace ranges are at most four bytes and listed once (#6075) 2026-11-16 21:59:15 -05:00
Dylan M. Taylor 0bb5fcca94 fix(fonts): the licence policy reads name-table records one at a time within a total allowance (#7044) 2026-11-16 21:59:11 -05:00
Dylan M. Taylor b3f6d485ba docs: prefer shared craft-libs implementations (#7527) 2026-11-16 21:59:06 -05:00
Dylan M. Taylor 35a1d33857 sign: use shared CMS SignedData signing writer (#7584) 2026-11-16 21:59:03 -05:00
Dylan M. Taylor 46234dd471 export: map PDF layout through shared extracted-text Markdown writer 2026-11-16 21:15:46 -05:00
Dylan M. Taylor 5410dc1cfc xfa: avoid rescanning prototype-only child lists 2026-11-15 14:11:27 -05:00
Dylan M. Taylor a11ea7ad85 Merge pull request #7450 from storytold/refactor/shared-srgb-v2
preflight: use shared ICC v2 sRGB output-intent bytes
2026-11-15 14:02:29 -05:00
Dylan M. Taylor 073644e09c sign: delegate public-key verification to existing craft-pkcs7 2026-11-15 13:03:34 -05:00
Dylan M. Taylor e14ed45a4d Pin ICC v2 generator to merged shared revision 2026-11-15 17:24:08 +00:00
Dylan M. Taylor 17fc47b692 Merge pull request #7447 from storytold/dot/pdf-shared-der
sign: replace local BER/DER codec with existing craft-pkcs7
2026-11-15 12:18:03 -05:00
Dylan M. Taylor 5a6ab66a4f deps: declare shared PKCS7 version for dependency policy 2026-11-15 10:12:51 -05:00
Dylan M. Taylor 08d24b3ad8 preflight: constrain shared CMS package version 2026-11-15 10:10:12 -05:00
Dylan M. Taylor 0ca899e830 preflight: follow shared ICC helper lint fix 2026-11-15 09:43:56 -05:00
Dylan M. Taylor acb6408244 preflight: use shared byte-compatible ICC v2 sRGB profile 2026-11-15 09:42:07 -05:00
Dylan M. Taylor d80d64fb97 Use shared MIME Base64 codec for document exports 2026-11-15 09:38:36 -05:00
Dylan M. Taylor bb158c0ab8 sign: delegate BER and DER encoding to existing craft-pkcs7 2026-11-15 09:35:45 -05:00
Dylan M. Taylor e098c5c85e Merge pull request #7374 from keithcsqueensu/rtf-export-craft-rtf-793
Export: write RTF through craft-rtf (storytold/craft-libs#793)
2026-11-15 09:24:10 -05:00
Dylan M. Taylor fa8c473d23 Clarify scope of RTF mapping complexity test 2026-11-15 13:25:23 +00:00
Dylan M. Taylor 93309e6b1c Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	crates/ui-egui/src/platform/pickers.rs
2026-11-15 12:54:24 +00:00
Dylan M. Taylor fc77f5a749 Merge pull request #7422 from storytold/codex/picker-optimize-completion
Handle fast optimization completion in picker test
2026-11-15 07:53:43 -05:00
Dylan M. Taylor 3f20c6848b Test fast optimize completion after picker 2026-11-15 12:29:26 +00:00
Dylan M. Taylor b7256c81bc test(pickers): avoid racing completed optimization 2026-11-15 07:23:35 -05:00
Dylan M. Taylor e94fa524ca Export: pin merged RTF writer and preserve empty-page breaks
Use the merged craft-libs #1467 commit for craft-rtf and its codepage dependency, leaving other shared pins unchanged. Flush pending breaks before a second break and at end of input so blank and omitted-image pages retain every boundary. Add semantic readback coverage for those cases.
2026-11-15 06:11:34 -05:00
Dylan M. Taylor 27287c297d Merge pull request #7378 from storytold/dot/pcx-shared-cutover
Create: decode PCX through craft-image-codecs
2026-11-15 03:53:06 -05:00
Dylan M. Taylor 0a11922520 fix(create): preserve version-four PCX compatibility 2026-11-14 23:59:16 -05:00
Dylan M. Taylor e9f7aeaeee refactor(create): decode PCX through shared image codecs 2026-11-14 23:56:51 -05:00
Dylan M. Taylor 7d44e65412 fix(xfa): resolve clippy lints on main (#7354)
* fix(xfa): resolve clippy needless_update and field_reassign_with_default

* fix(create,xfdf): resolve remaining clippy lints

* fix(export): remove needless borrow in pptx and as_docx

* fix(engine): resolve clippy lints in signature_image

* fix(automation): resolve clippy lints in tests

* fix(create): avoid clippy::unreachable in tests

* chore(deny): allow IJG license for jpeg-encoder via craft-image-codecs
2026-11-14 16:37:43 -05:00
Dylan M. Taylor 163a44bdea fix(create): report invalid PNG fixture through allowed test panic 2026-11-14 15:16:45 -05:00
Dylan M. Taylor eead454105 Cut over remaining codecs, xfa XML, and export packaging to craft-libs (#7326)
* chore: cut over image, png, tiff, and zune-jpeg to craft-image-codecs

* chore: cut over xfa XML parsing from roxmltree to craft-xml

* chore: cut over export DOCX and PPTX packaging to craft-opc and craft-xml

* style: cargo fmt
2026-11-14 13:49:46 -05:00
Dylan M. Taylor e98dc1712c Merge pull request #7261 from storytold/craftlibs-deep-cutover
Move remaining file formats and codecs to craft-libs (#778)
2026-11-13 23:29:36 -05:00
Dylan M. Taylor b7ffe8732f xtask, export: update attribution, parity evidence, and RTF test for craft-libs cutover 2026-11-14 04:29:32 +00:00
Dylan M. Taylor bd2120909a cos: retain pdfcraft-crypt and pdfcraft-filters in dev-dependencies 2026-11-14 04:10:43 +00:00
Dylan M. Taylor 937c3fc7e1 print: initialize driver_settings on craft-print Job 2026-11-14 04:10:10 +00:00
Dylan M. Taylor ed18238d74 crypt, filters, cos, export, xfdf: migrate to craft-pdf, craft-rtf, craft-csv 2026-11-14 04:02:21 +00:00
Dylan M. Taylor 524d9f6b64 prc: remove crates/prc and cut over to craft-prc (#778) 2026-11-14 03:44:47 +00:00
Dylan M. Taylor 9475e50cf1 Merge pull request #7260 from storytold/feat/pdfcraft-craftlibs
export: migrate zip writer to craft-zip (#778)
2026-11-13 22:12:33 -05:00
Dylan M. Taylor 93a5e1545a export: migrate zip writer to craft-zip (#778) 2026-11-14 00:06:39 +00:00
Dylan M. Taylor 785e7e510c fix(forms): finding the first character a simple font cannot hold encodes the whole string once, then each distinct character once (#7047) 2026-11-13 12:23:58 +01:00
Dylan M. Taylor b167422b2e fix(sign): every signature's VRI entry shares the store's evidence arrays instead of copying them (#7038) 2026-11-13 12:22:54 +01:00
Dylan M. Taylor b0607f5cd3 fix(optimize): a destination name given by reference is copied once however many dictionaries name it (#7035)
* fix(optimize): a destination name given by reference is copied once however many dictionaries name it

* fix(optimize): aliases of one destination-name object are copied once
2026-11-13 12:21:26 +01:00
Dylan M. Taylor 1d2af9907b Fix Flatpak updates and bump to 0.21.1 (#7020)
* fix(flatpak): allow release checks and self-update helpers

* test: keep Flatpak permission parsing within strict Clippy rules

* chore: bump version to 0.21.1 for the Flatpak update fix
2026-11-11 18:38:09 -05:00
Dylan M. Taylor 80e26e674d fix(redact): remove a stroked path by the box its stroke paints (#5876)
* fix(redact): remove a stroked path by the box its stroke paints

Path redaction tested a path's construction box against the marks. A
horizontal or vertical stroke has a zero-area box, which overlaps
nothing, so its drawing commands stayed beneath the overlay; a wide
stroke whose points lie beside a mark but whose ink reaches into it
stayed too.

The interpreter now tracks the line width, miter limit and join style
(`w`, `M`, `j`, and `LW`, `ML`, `LJ` through `gs`) and, for a stroking
operator, grows the box by half the width (at least one unit), times
the miter limit when the path has mitred joins, scaled by the CTM's
largest stretch, before the hit test. The bound is conservative: a
stroke near a mark may now go where before it stayed.

* address review: pad hairlines by half a unit, rectangles for their corners, square caps by sqrt 2

* review: test a kept clip against the path as constructed

* address review: a line state set between a path and its stroke no longer lets the stroke skip the redaction test

* address review: line-state operators read the operand before the operator
2026-11-11 18:16:48 -05:00
Dylan M. Taylor 9f763636fd fix(forms,xfa): find every password field before a save skips scrubbing it (#5864)
* fix(forms,xfa): find every password field before a save skips scrubbing it

The quick Password-flag check in pdfcraft-forms stopped silently at its
depth limit, and visited the tree in an order where a field the full
field walk reaches could be cut off on a long branch first. It now
answers true (read every field) whenever it cannot look as far as the
field walk, and also walks below fields adopted from page widgets.

XFA password classification walked AcroForm fields only 32 levels deep,
shallower than editing and dataset synchronization, and read the
datasets packet of an XFA array without the prefixes its preamble
declares, so a typed password could stay in the saved datasets. It now
walks as deep as the field walk, refuses to clear (and so to save) when
the tree is deeper than it can check, and reads the packet the way the
datasets writer does.

* address review: check every page widget's /Parent chain for the password flag

* address review: password scan follows the parents of nameless /Fields entries; field-walk completeness checked before the datasets packet is read

* address review: the field walk's completeness is decided after every root; the subtree scan starts at the last dictionary of the parent chain

* address review: a skipped visit does not replace the reach a field was classified with
2026-11-11 18:16:31 -05:00
Dylan M. Taylor 1d7a9f9ffe fix(edit,a11y): font aliases share the metrics built for their font (#5998)
* fix(edit,a11y): font aliases share the metrics built for their font

Text extraction and heading extraction built and kept font metrics per resource name, so
many names for one font object each held a copy of its Unicode and width tables.

* fmt

* address review: font metrics are cached by the object at the end of the reference chain
2026-11-11 15:51:22 -05:00
Dylan M. Taylor 69936f1d1f fix(engine): run the renderer redaction check on redactions applied inside a batch (#5977)
* fix(engine): run the renderer redaction check on redactions applied inside a batch

* Resolve redaction marks by page object and measure the edited document

The renderer check looked marks up by the page index they had when they
were drawn, so a MovePages later in the same batch pointed them at another
page's text, and it measured glyphs with page geometry from before the edit.

Each mark now carries the page object it was placed on, and the geometry is
read back from the document as the batch wrote it.

* review: skip marks whose page the batch deleted

* review: group marks by page once and refuse an ambiguous page tree

* address review: refuse a batch that deletes a marked page while adding pages

* merge main, keep both

* address review: a batch that applies redactions and then copies a page is refused
2026-11-11 15:50:56 -05:00
Dylan M. Taylor abec4e3fee fix(js): bound array text, month parsing, name registration and list work (#5883)
* fix(js): bound array text, month parsing, name registration and list work

- strings() (field value and colour setters, resetForm) copied every array
  entry into its own String with no total: one long string listed a million
  times was copied a million times. The copies together are now held to the
  run's MAX_PAYLOAD byte budget.
- FormCalc parse_date copied and lowercased the rest of the text for every
  month token of the picture, quadratic in both; it reads at most the longest
  month name now.
- XFA global registration checked each child name against a Vec of every
  name defined so far, quadratic in a wide form; it is a HashSet.
- FormCalc gather charged one step for a whole collection and list_push
  charged nothing for a duplicate it dropped, so .all on same-named siblings
  did quadratic work for one step a pair; every node visited costs a step.
- add_instance reserved only the new root's SOM before copying a subtree;
  the copy's nodes, names and SOMs are charged to the byte budget first.

* address review: gather charges each call; check an array entry's length before copying it

* Hold an array entry to its widest escaped size before copying it

The pre-copy check compared the payload budget against a JS string's UTF-16
length, which is shorter than the escaped UTF-8 form it is copied to: a
string of quotes or non-ASCII text could allocate up to six times the
budget before the post-check rejected it.

The check now uses the widest escaped width, so the copy cannot exceed the
budget it is checked against.

* review: measure an array entry's escaped width before refusing it

* address review: count an array entry's escaped width without copying it

* address review: charge retained field text and colours to a run-wide budget

* fmt

* fmt

* merge main, keep both
2026-11-11 15:50:29 -05:00
Dylan M. Taylor 77078864f4 fix(render): charge inspection text (fields, tooltips, layers, bookmarks, blank comments) against shared allowances (#6015)
* fix(render): charge field, tooltip, layer, bookmark and blank-comment text against shared allowances

* address review: charge comment text once, keep JS and field-action flags past the budgets

* review: count an unlisted field's actions through its whole subtree

* review: mark multi-select values the allowance dropped

* review: count only real actions, walk each field once, keep name selections

* address review: revisit shared field descendants from shallower paths, charge value separators, check every widget for actions

* merge main, keep both
2026-11-11 15:50:02 -05:00