Commit Graph
452 Commits
Author SHA1 Message Date
FredApps 7b5e9ee871 Merge branch 'main' into fix/persist-form-reminder 2026-12-02 06:33:17 +01:00
Codex 038e8911ec build: pin the page viewport anchoring fixes 2026-11-30 12:45:38 +01:00
Codex 4dfcd89abb Release: PdfCraft v0.23.1 2026-11-30 11:53:13 +01:00
FredApps cc0c1c78d8 Merge pull request #8625 from storytold/bump/pdfcraft-v0.23.0
Release: PdfCraft v0.23.0
2026-11-30 03:16:49 +01:00
Dylan M. Taylor 4ef8250943 feat(pdfcraft): wire craft-nightly for self-isolated nightly launches (#8669)
* feat(pdfcraft): wire craft-nightly for self-isolated nightly launches

* fix(nightly): preserve version probes and app startup behavior

* fix(nightly): bump craft-nightly for single-instance sockets and add regression tests

* test(nightly): preserve app profile preparation behavior
2026-11-29 15:58:04 -05:00
Dylan M. Taylor a54bd301d3 chore(security): update curve25519-dalek to 5.1.0 (RUSTSEC-2026-0620) (#8671) 2026-11-29 12:52:32 -05:00
tomasmark79andFredApps d3c6bce447 Use canonical Wayland trackpad pinch support in PDFCraft (#1580)
* M3: restore native Wayland pinch through the resolved winit fork

Refresh #1580 on current main, pin the tested companion winit port and keep vendor changes as provenance. Permit only the exact temporary fork revision until storytold/winit#20 is merged. Retain the egui scale regressions and document current validation limits.

* docs: record native pinch verification and keep roadmap quotes contiguous

Document current-head GNOME feedback and protocol evidence, retain untested compositor and teardown limits, and address the MD028 review finding without changing runtime code or dependency-origin policy.

---------

Co-authored-by: FredApps <[email protected]>
2026-11-29 09:35:42 +01:00
Dylan M. Taylor be459f88d3 feat(nightly): onboard PdfCraft to signed two-stage nightly releases (#8643)
* feat(nightly): onboard PdfCraft to signed two-stage nightly releases

* chore: update Cargo.lock for rfd dependency in pdfcraft app

* chore: retrigger CI checks

* fix(nightly): enable Linux package_formats (including Flatpak) in signing policy

* fix(nightly): fix unused import, attribute nightly icons, and wire -Nightly/-BuildOnly in package.ps1

* test(nightly): exclude packaging/** from coverage and add nightly bootstrap unit tests
2026-11-29 01:09:39 -05:00
FredApps 7d427d9c6a Release: PdfCraft v0.23.0
Bump the workspace version from 0.22.0 to 0.23.0 (Cargo.toml and
Cargo.lock), as cargo xtask version set 0.23.0 does.

Refs #8624
2026-11-28 21:03:24 +01:00
FredApps 4610fc5913 Merge remote-tracking branch 'origin/main' into pr-3233
# Conflicts:
#	crates/ui-egui/src/app/control.rs
2026-11-28 04:52:33 +07:00
PerchAnton 0ad44c2087 Merge current main and reconcile Remember form-field reminder dismissal across sessions (#2725) 2026-11-27 08:35:00 +02:00
FredApps 7b82e3e7ae deny: pass the licence, source and advisory checks again
Allow CDLA-Permissive-2.0 (the certificate data in webpki-roots) and storytold's own repositories as git sources (vectorcraft-geom and vectorcraft-pathops come from storytold/vectorcraft). Lockfile only: url 2.5.8 to 2.5.9 (RUSTSEC-2026-0592, with form_urlencoded 1.2.3), async-executor 1.14.0 to 1.14.1 (yanked).
2026-11-26 20:08:24 +01:00
FredApps e0b127218d Merge main into #2268 2026-11-26 22:08:47 +07:00
FredApps b0944dce35 Merge branch 'main' into codex/fix-watermark-visible-crop 2026-11-26 13:23:12 +01:00
Dylan M. Taylor 0b714d0ee6 Cargo.lock: resolve the craft framework at storytold/craft-libs 0a6e42b80 2026-11-23 13:32:59 -05:00
Dylan M. Taylor d0e9ba10c5 prod merge: re-pin every craft-libs entry to the synced framework (f9d38c866, pushed pdfcraft-port head; incl. craft-pkcs7, craft-html, craft-xfa, craft-xfdf, craft-web-api/web-host, preflight's craft-cms), patch craft-font-catalog, craft-xfa and craft-xfdf to it as well (one craft-font-catalog in the lock), one lock resolve, regenerate ATTRIBUTION.md 2026-11-23 08:17:33 -05:00
Dylan M. Taylor 47a2aa6652 prod merge: workspace compiles against the synced framework (system clipboard feature, dock shown set as a Tracked set, preview serials, combo box edit response, examples on the ctx signatures; fill_screen pending L-314) 2026-11-23 01:26:55 -05:00
Dylan M. Taylor b86eff8259 merge deps: union workspace deps at the port pin (wordmodel, mcp-server, jsonrpc; craft-pdf fonts; 0.22.0), hayro/framework patch paths, shared AGENTS.md with port facts, comment wording, port Cargo.lock restored. The lead re-pins craft-libs after the framework sync. 2026-11-22 22:50:16 -05:00
Dylan M. Taylor 333b287a8b Production merge skeleton: upstream/main 9b3e6d6f3 into area/app-1 6cfe35235, conflict markers left in (42 files; 4 modify/delete keep the port's deletion) 2026-11-22 22:39:00 -05:00
charlieruk 9b3e6d6f38 deps: url 2.5.9 for RUSTSEC-2026-0592 (#8092) (#8093)
url 2.5.8 overflows the stack in Url::origin() on nested blob: URLs, which aborts the process past catch_unwind. 2.5.9 fixes it; form_urlencoded 1.2.3 comes with it.
2026-11-22 21:03:44 -06:00
a18498e835 Merge release v0.22.0 back to main (#8108)
* Release 0.20.0

* Release: PdfCraft v0.22.0

---------

Co-authored-by: FredApps <[email protected]>
Co-authored-by: FredApps <[email protected]>
2026-11-22 18:47:33 -05:00
Dylan M. Taylor 13770dc8f4 render: enforce max_coverage via craft-libs #2546 (storytold/craft-libs#778) (#7961) 2026-11-20 09:08:58 -05:00
FredApps c05499f707 Merge pull request #2923 from regendorf-ux/pr/tab-rename
Rename the open file from its tab (Rename… and double-click), with names that work on every system (#2102, #2867)
2026-11-20 21:03:47 +07:00
Dylan M. Taylor 2c0280eb11 fonts: cut over encodings, Std14, and font wire builders to craft-pdf (#778) (#7940) 2026-11-20 07:17:06 -05:00
skylar taylor-barrickandDylan M. Taylor 20830d092c Route PDF parsing and rendering through shared craft-pdf (#2068)
* refactor(render): route PDF reading and rendering through shared craft-pdf (storytold/craft-libs#778)

* fix(render): convert u32 raster dimensions to usize for Pixels::zeroed

* fix(render): remove unused hayro_syntax imports in inspect

* fix(render): let shared raster dimensions reject rounded over-budget sizes before allocation

* chore(pdf): repin craft-libs to #2497 and align tests with shared contract

* fix(render): align remaining 8 tests and OutputLimit error with craft-libs contract

* docs(attribution): update ATTRIBUTION.md for shared hayro* dependencies

* docs(attribution): include adobe_data suffix for hayro-cmap in ATTRIBUTION.md

* docs(attribution): sync ATTRIBUTION.md with cargo xtask assets --write

* docs(licenses): update NOTICE hash and hayro-interpret asset licences in LICENSES.toml

---------

Co-authored-by: Dylan M. Taylor <[email protected]>
2026-11-20 02:53:23 -05:00
Dylan M. Taylor 0a53d7cc22 create: use shared JPEG and JP2 embedding probes from craft-image-codecs (#778) (#7939)
* create: use shared JPEG and JP2 embedding probes from craft-image-codecs (#778)

* deps: pin craft-image-codecs to craft-libs main a7c6c9d6
2026-11-20 00:34:51 -05:00
Dylan M. Taylor e1d2f32e58 export, xfdf: cut over portable HTML writer and XFDF/FDF grammar to craft-libs (#778) (#7914)
* export, xfdf: cut over portable HTML writer and XFDF/FDF grammar to craft-libs (#778)

* fix(xfdf): align craft-xml rev with craft-xfdf and deref standalone El

* fix(xfdf): remove redundant deref on standalone(el, ns)

* xfdf, export: update craft-libs pin and add XFDF annotation round-trip test

* chore: align craft-xml rev with craft-xfdf

* chore: repin craft-xml to craft-libs main

* chore: repin craft-xml, craft-xfdf, craft-html to craft-libs main

* test(xfdf): pass &str to import_comments in round-trip test

* test(xfdf): bind dst.get(dst_ref) before as_dict

* test(fonts): import pdfcraft_cos::Stream in embedding tests

* test(xfdf): update newly added square annotation instead of widget[0]

* test(xfdf): read newly imported annotation at Annots.last() in roundtrip test
2026-11-19 22:42:25 -05:00
Dylan M. Taylor d7f4c6a668 mcp: delegate stdio framing and JSON-RPC envelopes to craft-mcp-server and craft-jsonrpc (#7910) 2026-11-19 18:38:34 -05:00
Dylan M. Taylor 14a88abca6 red9 g5: app red round 9 fixes 2026-11-19 17:26:56 -05:00
Dylan M. Taylor 13f1bf1e2d Navigation: a wheel notch eases unless animation effects are reduced, as production (F-48) 2026-11-19 13:23:52 -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 aea595f33c lead: the mode bar's tab strip takes its natural length inside the bar (the framework's collection-scroll rule; 4,568 test panics) 2026-11-18 19:52:27 -05:00
Dylan M. Taylor c07c6954e7 test compile fix 2 (all) (swarm/tfix2); committed by the lead 2026-11-18 19:22:11 -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 5727e93321 compile fix 8 (all): paragraph painted through ContentPainter components (L-222), comments overlay on PageSession, CanvasAction CopyText/ColourRequest, crates/fonts emits EmbeddedFace (L-221) (swarm/cfix8); committed by the lead 2026-11-18 18:42:29 -05:00
kiwi4boy f77ad824ee Merge main (#7814, which landed steps 1 and 2) and keep the RTF picture fixes
#7814 brought this branch's first two commits to main inside step 2, but not the three
fixes made here since: the RTF picture budget that counts every placement, rotations baked
into the pictures, pictures fitted to the text height, and the pages that lost a picture
reported through truncated_pages. They now sit in step 2's Builder: RTF's flow_doc gives
it a pictures::Budget, and Word's word_doc doesn't, so Word keeps its own limits
(room_for) and turns positioned pictures through their float. The text-height fit is in
the shared picture(), so Word's flowing pictures fit too.

The truncated_pages doc now says what RTF reports: pictures lost to its own limits or a
rotation it couldn't bake. A picture no format can encode is left out of all of them.
2026-11-18 17:28:58 -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 <[email protected]>
2026-11-18 17:11:01 -05:00
Aleksander Helgaker 77ea9b701b Merge branch 'main' into codex/fix-watermark-visible-crop 2026-11-18 22:13:27 +01:00
Dylan M. Taylor 18074b1bc4 owed by pdf-hub-w1/pdf-shell-w6: facade features text, text-font-picker, font-manager, platform-clipboard, update, theme-store, imaging; ui-testing for tests; craft on both app binaries (L-207, q199) 2026-11-18 15:17:04 -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
FredApps bad6ac7fa2 Merge pull request #7779 from FredApps/chore/778-xfa-merged-pin
Use merged XFA namespace and BOM safety fixes
2026-11-19 00:57:14 +07: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. TaylorandClaude Opus 5.5 53f0f6fd76 owed by pdf-hub-w1: the craft facade dependency, with the features the app sets use (contract head: every crate through the facade)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-18 10:31:32 -05:00
FredApps 6d95958ccc Use merged XFA namespace and BOM safety fixes 2026-11-18 16:08:32 +01:00
Dylan M. TaylorandClaude Opus 5.5 5fc28a9ec3 port/app-base: build against the frozen framework (pdf-port/fw-frozen-1 at trees/racheck-fw); local paths, never push
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-18 09:58:51 -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 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 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