Commit Graph
8170 Commits
Author SHA1 Message Date
FredApps 5f128564f9 Merge remote-tracking branch 'origin/main' into fix/audit-clipping-coverage 2026-12-02 18:27:28 +07:00
FredApps b5e13c298e Merge pull request #9066 from storytold/fix/main-ci-text-select-wait
test(ui): wait for an encrypted document's view before reading its text layer
2026-12-02 12:10:13 +01:00
FredApps e8c6624960 test(ui): wait for an encrypted document's view before reading its text layer
harness_clip's wait read app.views[0] on its first check. An encrypted document opens in the
background after setup submits its password, so on a slow or busy machine the view did not
exist yet and the closure panicked with an index out of bounds instead of waiting.
2026-12-02 11:13:10 +01:00
FredApps 9888be8a18 Merge pull request #3233 from PerchAnton/fix/persist-form-reminder
Remember form-field reminder dismissal across sessions (#2725)
2026-12-02 10:40:18 +01:00
FredApps 9b2c9e1033 Pass the notice flags to notices() as one struct
After main was merged in, notices() takes eight arguments and clippy's
too_many_arguments fails the gate. AGENTS.md asks to fix the code a lint reports
rather than silence it, so the four booleans that decide which notices show
(form-field reminder, secured, repaired, lock offer) now travel as NoticeFlags.
Behaviour is unchanged.

Also use assert!(!..) in the form reminder test, which the newer clippy flags
(bool_assert_comparison); the assertion is the same.
2026-12-02 09:54:21 +01:00
FredApps e1a260b3b6 Merge remote-tracking branch 'origin/main' into HEAD 2026-12-02 08:53:31 +01:00
FredApps 0f0aeda1e8 Merge pull request #9033 from storytold/onee/ci-windows-cold-cache
ci: skip Windows clippy and debug info so a cold-cache Windows gate reaches its tests
2026-12-02 08:38:10 +01:00
FredApps 3d9f308762 Merge pull request #3331 from saad-mughal435/feat/image-page-size
M10: put image pages on a chosen paper size (#3273)
2026-12-02 08:24:24 +01:00
FredApps dcb2c569a5 Merge branch 'main' into feat/image-page-size 2026-12-02 07:41:28 +01:00
FredApps 2dd24dcdf9 Format with rustfmt after the main merge
Import lists in engine/src/lib.rs and session.rs reflow, and one blank line
goes from the automation tests; no other change.
2026-12-02 13:40:33 +07:00
FredApps 40e3766b66 Merge pull request #1972 from cyfung1031/feat/open-loading-feedback
Desktop: show an opening indicator during PDF preparation
2026-12-02 07:20:25 +01:00
FredApps 36f0150c42 Merge pull request #3069 from mtlcl410/feat/alpha-hit-testing
M7: pictures are picked where they show, not across their transparent margins (#3005)
2026-12-02 07:19:44 +01:00
FredApps 7d8d4cac1b Merge pull request #4530 from mtlcl410/fix/link-gotoe-embedded
M3: a GoToE link opens the PDF embedded in the document at its destination (view.follow-links)
2026-12-02 07:19:07 +01:00
FredApps 6fa36793a7 Merge pull request #4499 from mtlcl410/fix/validate-rejected-value-reverts
M6: a value the validate action rejects is dropped and the field keeps its value (#4498)
2026-12-02 07:18:20 +01:00
FredApps 7b5e9ee871 Merge branch 'main' into fix/persist-form-reminder 2026-12-02 06:33:17 +01:00
FredApps a728a14a67 Merge branch 'main' into feat/open-loading-feedback 2026-12-02 06:33:10 +01:00
FredApps dd90ee980d Merge branch 'main' into feat/alpha-hit-testing 2026-12-02 06:33:04 +01:00
FredApps 4e2f80648a Merge branch 'main' into fix/link-gotoe-embedded 2026-12-02 06:32:57 +01:00
FredApps ca74084fc9 Merge branch 'main' into fix/validate-rejected-value-reverts 2026-12-02 06:32:44 +01:00
FredApps b2308a7244 Merge pull request #622 from thorstenhirsch/feat/sign-ca-checks-and-trust-sets
M9: opt-in trust lists (a file of CA certificates, such as the EU Trusted Lists)
2026-12-02 06:31:41 +01:00
FredApps a639547bc9 Merge branch 'main' into feat/image-page-size 2026-12-02 05:45:52 +01:00
FredApps e0580ebaad Merge branch 'main' into feat/sign-ca-checks-and-trust-sets 2026-12-02 05:45:46 +01:00
FredApps 23c8c0fc76 Merge pull request #7470 from gmrmad1/fix/7382-document-script-notice
fix(ui): show a notice when a document script couldn't run (#7382)
2026-12-02 05:36:10 +01:00
FredApps 1c22296ae0 Merge pull request #6984 from alehel/fix/xfa-message-box-answers
fix(js, engine, ui): XFA message boxes return the button picked (#4291)
2026-12-02 05:35:34 +01:00
FredApps 8636becdec ci: skip Windows clippy and debug info so a cold-cache Windows gate reaches its tests
Clippy runs on Linux in cargo xtask ci, and its lints don't differ by platform.
Debug info for every dependency made a cold-cache Windows gate spend its 90
minutes compiling (run 46775764634), so cargo test never started.

Closes #9032
2026-12-02 10:58:47 +07:00
FredApps 7dc1f78bab Merge branch 'main' into fix/7382-document-script-notice 2026-12-02 04:52:25 +01:00
FredApps 016246e7fc Merge branch 'main' into fix/xfa-message-box-answers 2026-12-02 04:52:18 +01:00
FredApps 07e39ad46b Merge pull request #7444 from vangel76/fix/merge-data-quoted-csv-7410
Merge form data: a field name with a comma is one column, not two
2026-12-02 04:15:01 +01:00
FredApps 1034899e97 Merge branch 'main' into fix/merge-data-quoted-csv-7410 2026-12-02 02:07:03 +01:00
FredApps 7e5dc9b626 Merge pull request #7428 from gmrmad1/fix/4340-viewer-render-warnings
fix(ui): name a page's render warnings in a notice bar (#4340)
2026-12-02 02:02:56 +01:00
FredApps 54463a10d6 Merge branch 'main' into fix/4340-viewer-render-warnings 2026-12-02 01:16:38 +01:00
JeremyandClaude Opus 5.5 2cb78ff06c Bring back PdfCraft's v0.22.0 control shapes, sizes and mode bar height (#8955)
* Bring back PdfCraft's v0.22.0 control shapes and sizes over the framework set

The craft framework port (#8160) took the framework's Comfortable sizes, so buttons became
pills, windows got 12-point corners, button labels shrank to 12.5 points, small text grew to
11.5 points and controls in a bar moved 10 points apart. Before the port, PdfCraft's theme.rs
drew 6-point button corners, 10-point window corners, 13-point button text, 11-point small text
and 8 points between controls. The app's size overrides now set those values again.

Colours already match: the Graphite theme pins PdfCraft's former palette.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Stand the mode bar 48 points tall again, as before the framework port

Before the port (#8160), PdfCraft's mode bar was a 48-point panel. The shell's top slot now takes the
framework's options-bar height, 42 points. The app's size overrides set `size.bar.options` to 48. Only
the shell's top slot reads this size, and PdfCraft's only top slot is the mode bar.

Not changed here: the old accent underline under the active mode. The framework's text tabs draw a
text-colour underline and expose no token for it, so that needs a craft-libs option.

Duplicate search (01/12/2026): open PRs on mode bar and toolbar (#6104, #4562, #8677, #8854, #8823,
#6451), hotfix tracker #8910 and epic #8945, and `main` since #8160 in `app.rs` and `chrome/`. None
sets the bar height.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Keep the v0.22.0 size overrides to the Comfortable set

The overrides sat in the set for every density, so Compact would also get a 48-point mode bar and 10-point window corners. They now sit in the Comfortable section only. Density is fixed to Comfortable today, so nothing changes on screen.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Keep the framework's mode bar height

The 48-point mode bar pushed the page lower, so less of it fits in the
window. Keep the framework's 42 points.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Test the notice's wrapped case at 1550 wide

Buttons with 6-point corners are narrower than pills, so at 1600 wide the
security notice's message now fits on one line. At 1550 it wraps beside
the buttons, which is the case the test checks.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
2026-12-01 19:16:11 -05:00
JeremyandClaude Opus 5.5 e9b6b2db62 Read the title-bar policy only when the choice changes (#8996)
The frame hook asked the window policy for the title bar on every frame.
The policy reads the platform: on Linux it opens a new Wayland connection
and does a registry round trip, reads the GTK and KDE settings files, and
on GNOME starts a gsettings process. Its own doc says to read it once.

The hook now hands the choice to the window host only when it differs
from the one last applied. Preferences records the choice it applies, so
a change there is not applied twice.

Co-authored-by: Claude Opus 5.5 <[email protected]>
2026-12-01 19:16:06 -05:00
FredApps ffb269819a Merge pull request #6352 from jweaver3/fix/header-footer-update-5785
fix(edit): Update header & footer changes only the one chosen (#5785)
2026-12-02 01:13:14 +01:00
FredApps 74e2e3534d Merge branch 'main' into fix/header-footer-update-5785 2026-12-02 00:41:18 +01:00
FredApps 4cf59f81c2 Merge pull request #7558 from jweaver3/fix/cli-flag-operand-7516
cli: read option values without matching another option's operand
2026-12-01 10:55:10 +01:00
FredApps a3d4c3c38e Merge pull request #8891 from storytold/fix/redaction-delivered-test-readiness
Wait for the redaction fixture to open and verify its saved PDF
2026-12-01 04:47:56 +01:00
Codex 3e28e89eb8 Wait for the redaction fixture to open and verify the saved PDF 2026-12-01 03:45:32 +01:00
jweaver3 c95c21d7f2 M7.6: never pass a removed header and footer's id to one added again
The id was a hash of the settings alone, so a header and footer removed and
then added again with the same settings got the old id, and an update with a
selection made before the removal changed the new one. Each header and footer
now gets a serial when first seen, never given twice, which it loses once a
tool call ends without it; the id hashes settings and serial (#5785).
2026-11-30 19:04:33 -05:00
jweaver3 6026ba07b7 M7.6: name a header and footer to update by its id, not its place in the list
doc_header_footers gives each header and footer an id: a hash of its recorded settings, keyed per run, which is how the engine knows it too. doc_header_footer's update takes that id, so a selection made before the list changed still reaches its own header and footer, and one changed or removed since is refused instead of applied to another (#5785).
2026-11-30 13:24:46 -05:00
FredApps 9a9534b27a Merge pull request #8810 from storytold/fix/pdfcraft-windows-startup
Recover startup on Windows OpenGL-only GPUs and record first-frame diagnostics
2026-11-30 19:15:15 +01:00
FredApps 25506cdf74 Merge pull request #8848 from storytold/test/pdfcraft-native-double-clicks
Use native press and release frames in annotation double-click tests
2026-11-30 18:51:41 +01:00
FredApps 504e0e1ac0 Merge pull request #8844 from storytold/fix/pdfcraft-drawn-signature-orientation
Preserve the orientation and proportions of drawn signatures
2026-11-30 18:47:20 +01:00
Codex c0621caa19 Exercise the Windows GPU fallback with each renderer override 2026-11-30 18:24:56 +01:00
FredApps ed452ef34d Merge pull request #8816 from storytold/fix/title-drag-after-tabs
Move the window from unused document-tab space
2026-11-30 18:10:34 +01:00
Codex b379e457fe Exercise real down and up frames for annotation double-clicks 2026-11-30 18:06:08 +01:00
Codex d7f5b2ad0b Check ink orientation across antialiased edge pixels 2026-11-30 18:01:36 +01:00
FredApps cc8cf3944c Merge pull request #8821 from storytold/fix/pdfcraft-0231-wayland-clipboard
Restore clipboard transfers in Wayland Flatpak sessions
2026-11-30 17:57:08 +01:00
Codex 68436d07e6 Repair matching handwritten slots already migrated by 0.23.0 2026-11-30 17:36:23 +01:00
Codex 45ca70ed17 Preserve the Open layout slot when computing the title drag hit area 2026-11-30 17:34:43 +01:00