Commit Graph
7918 Commits
Author SHA1 Message Date
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 <153173854+FredApps@users.noreply.github.com>
2026-11-29 09:35:42 +01:00
Dylan M. Taylor 8a5468e6eb fix(pdfcraft): pass None to socket_path() in Windows unit test (#8657) 2026-11-29 03:25:25 -05:00
Dylan M. Taylor 1e8fbce219 fix(nightly): keep Linux nightly notices flat and relocate Arch nightly models dir (#8654) 2026-11-29 02:05:41 -05:00
Dylan M. Taylor b385ac0bb2 chore(nightly): pin producer_workflow_id to 434362399 (#8651) 2026-11-29 01:09:55 -05: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 ec8703ab89 Merge pull request #8623 from storytold/fix/zone-mark-missing-target
fix(platform): don't create a missing file when marking its zone (#8622)
2026-11-29 00:02:09 +01:00
FredApps 376bc99fd1 Merge pull request #8631 from storytold/fix/save-in-place-hint
fix(automation): a refused in-place save says to save a copy with Save As (#8630)
2026-11-28 23:51:42 +01:00
FredApps 8b1730db8e Merge pull request #8489 from codeiou/icon-names-resolve
fix(ui): icon buttons draw their icons again
2026-11-28 23:40:40 +01:00
FredApps a7bb625025 Merge pull request #8492 from icelyfire/fix/macos-finder-open
macOS: files opened from the Finder, Open With or the Dock open again (#8491)
2026-11-28 23:40:33 +01:00
FredApps d1ab463fcf Merge pull request #8485 from codeiou/command-palette-runs
fix(ui): the command palette runs what is picked in it
2026-11-28 23:40:26 +01:00
FredApps 5feb72346e fix(automation): a refused in-place save says to save a copy with Save As (#8630)
When doc_save can't replace the file it was opened from (read-only,
extended attributes it can't keep, a folder that refuses the new file),
the file and the unsaved edit are kept, but since the writer moved into
craft-libs the message no longer said how to keep the work. 0.22.0 said
"save a copy with Save As". An in-place save's refusal now ends with
that again; a save to a new path is unchanged.

Refs #8630
2026-11-28 22:57:45 +01:00
FredApps bfebc15e0b Merge main into icon-names-resolve 2026-11-28 22:50:58 +01:00
FredApps 11a1928207 Merge main into command-palette-runs 2026-11-28 22:50:33 +01:00
FredApps 1c404e5238 Merge main into fix/macos-finder-open 2026-11-28 22:50:20 +01:00
FredApps f7aa5bc1fc Merge pull request #8626 from storytold/fix/macos-build-native-menu
fix(macos): build again, and poll the native menu each frame
2026-11-28 22:38:31 +01:00
FredApps 59f8798200 fix(platform): hold the zone's target open, without delete sharing, until the stream is written
Addresses review: between the existence check and the stream write,
another process could delete or rename the target, and the write would
then recreate it as an empty file. The target is now opened without
FILE_SHARE_DELETE, so it can't be deleted or renamed until the zone is
written, and the check reads that handle's metadata.

Refs #8622
2026-11-28 22:38:02 +01:00
e5812b8f17 Document CRAFT_I18N_DIR in the environment table (#8621)
development.md listed the other build inputs but not CRAFT_I18N_DIR.

Co-authored-by: Fredrik Hallin <fredrik.hallin@guidelinegeo.com>
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-28 21:25:16 +01:00
FredApps 0709c0dc1d fix(macos): build again, and poll the native menu each frame
- app/files.rs called macos_association::repair without the crate::
  path the other callers use. The line only compiles on macOS, so main
  hasn't built there since 2026-11-23 (nightly macOS red, #8595).
- The native menu's events are collected by NativeMenu::poll, and
  nothing called it after the UI port, so the menu bar's clicks and key
  equivalents stayed queued. menus::frame now polls once per frame,
  before set_gate, as craft-menu documents.

Carries the fix from #8166 by @patangay for the v0.23.0 release.

Refs #8595, #8624
Co-authored-by: patangay <176307+patangay@users.noreply.github.com>
2026-11-28 21:05:52 +01:00
FredApps 59cd00129c fix(platform): don't create a missing file when marking its zone (#8622)
On NTFS, writing <path>:Zone.Identifier creates <path> when it doesn't
exist. mark_from now returns NotFound for a target that isn't an existing
file, so marking a saved attachment never leaves an empty file behind.
This is what kept the Windows gate red on main: the scripted file service
records the save without touching disk, and the zone mark then created
the destination file.

Fixes #8622
2026-11-28 21:01:23 +01:00
faebae8ad5 Embed craft-fonts by default via .cargo/config.toml [env] (#1655)
CRAFT_FONTS_DIR has to be passed on the command line, so a plain
`cargo build --release` silently produces a CJK-blind binary: build.rs warns
"no craft-fonts embedded: Chinese and Japanese text will render as empty boxes"
and carries on. A build-time requirement that lives only in a warning is one
that gets forgotten and comes back as a bug report about missing glyphs.

relative = true resolves against the repo root rather than hardcoding an
absolute path, on the assumption the warning already makes: that craft-fonts is
cloned beside this repo. No force, so a CRAFT_FONTS_DIR already in the
environment still wins for a one-off build against a different font set. If
craft-fonts is absent, behaviour is unchanged — build.rs warns exactly as now.

This mirrors deckcraft's own config, which already ships this block.

Verified with the variable removed from the environment
(env -u CRAFT_FONTS_DIR cargo build --release): the crate recompiled and the
warning did not appear.

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Co-authored-by: Fredrik Hallin <fredrik.hallin@guidelinegeo.com>
2026-11-28 20:11:44 +01:00
FredApps 345b5b67cb Merge pull request #7286 from Combiler01/update/Browser-styled-tabs
ui-egui: add browser-styled tab grouping, pinned tabs & Animations
2026-11-28 17:48:10 +01:00
FredApps a64ecbd2e9 Merge pull request #6992 from Combiler01/FeatDel-confirm-popup
feat(ui): ask before deleting pages (#6872)
2026-11-28 17:06:05 +01:00
FredApps 6bc22c8902 fix(ui): dragging a group member to the edge of another group ungroups it
move_tab_in_strip left a dragged tab in its old group when it landed next to
a different group and not next to its own, so the tab carried group A's
colour inside group B's run. It now joins a group only when dropped between
two members of it (or next to its own group) and is ungrouped otherwise.

Adds a unit test that drags a member of group A behind the last member of
group B.
2026-11-28 17:04:53 +01:00
Combiler01 14d9aa5bc3 fix(ui): carry originating pane with target_group for split-pane ordering
- Store Option<(TabGroupId, Place)> in PendingOpen, OpenRequest, PasswordPrompt, open_dialog_in_group, and open_path_in_group

- Pass the strip Place from show_group_editor into group_editor_popup

- Set view.pane.place and view.pane.placed on unplaced views in attach_tab_to_target_group before add_tab_to_group runs

- Add open_path_in_group_in_second_pane_places_tab_next_to_group test
2026-11-28 13:47:47 +05:30
Combiler01 457a23e696 fix(ui): address PR review findings on tab groups, pinning, and close actions
- Paint group header pills, colored top accent bars, and the group editor popover in doc_tabs

- Show pin icons on pinned tabs and avoid opening empty Menu::context overlays for non-view strip items

- Scope close_other_tabs, close_tabs_to_right, close_tab_group, add_tab_to_group, and set_tab_pinned to the pane strip order, keep pinned tabs, and close via request_close_tab

- Thread target_group through file opening for New tab in group

- Remove unused DocView animation fields and restore DocView::twin doc comment
2026-11-28 13:11:34 +05:30
Combiler01 756db4037c Merge remote-tracking branch 'upstream/main' into fix/pr-6992
# Conflicts:
#	crates/ui-egui/tests/it/control.rs
#	crates/ui-egui/tests/it/pickers.rs
2026-11-28 10:42:12 +05:30
codeiouandClaude Opus 5.5 f281124f5f fix(ui): icon buttons draw their icons again
After the craft framework port (#8160) the UI looks icons up in craft-libs'
catalogue, which names them by meaning (chevron_down, maximize_2, undo) and
matches names exactly. The port renamed the engine's icon names, but the UI
crate still asked for 19 names that neither the catalogue nor the app's own
set has, so their buttons, menu rows and notices drew no icon: Combine
files' Move up/down, Undo/Redo and Expand all, Organize pages' Rotate and
Move earlier/later buttons, All tools' Expand all tools, and others.

- Use the catalogue's names, as the engine does: chevron_*, folder_open,
  layout_grid, lock_open, maximize_2, rotate_ccw, rotate_cw, undo, redo,
  new_file, open, note and ellipse_dashed.
- Add Lucide's chevrons-down, chevrons-up and pin-off to the app's own set,
  unchanged from lucide-static 1.49.0 like its other Lucide icons: the
  catalogue has no icon for them.
- Where a table or helper carried one of these names as a string (the
  picture menu, Organize's page options, the image buttons, the Fields
  panel's field kinds, the Accessibility Checker's statuses and the
  notice bars), it carries an IconId, so the test sees the name.
- every_icon_the_app_names_resolves also checks every command icon in the
  app's command catalog and every IconId::new literal in the UI source;
  without the renames it reports all 19 names.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 09:06:58 +10:00
FredApps 81a475e55f Merge pull request #6982 from Combiler01/fix/freehand-highlight-icon
Fix: Use a dedicated icon for Freehand Highlight (#6961)
2026-11-27 23:30:26 +01:00
FredApps f076d5ef17 Merge pull request #7528 from Combiler01/fix/blank-password
Protect Using Password: allow setting open and permissions passwords together (#7401)
2026-11-27 23:29:20 +01:00
Dylan M. TaylorandFredApps 455673e9d3 ci: notify artcraft-services on release state changes (#8509)
* ci: notify artcraft-services on release state changes

* ci: pass only the dispatch token to the notify-services workflow

secrets: inherit hands the called workflow every repository secret, including
the signing credentials. The reusable workflow only reads
ARTCRAFT_SERVICES_DISPATCH_TOKEN, so map just that one.

---------

Co-authored-by: FredApps <153173854+FredApps@users.noreply.github.com>
2026-11-27 15:19:44 -05:00
8668de7182 Settle the script response dialog before clicking OK. (#8247)
The hosted gate confirms the suffix prompt on the first frame it appears, while the modal is still recentring, so the worker never writes greeting.

Co-authored-by: sixpar1 <sixpar1@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-27 15:02:14 -05:00
Combiler01 fab11b8686 Fix LICENSES.toml sha256 for LICENSE-freehand-highlighter.txt 2026-11-27 21:36:28 +05:30
Combiler01 7d98f3b805 Merge remote-tracking branch 'upstream/main' into update/Browser-styled-tabs
# Conflicts:
#	crates/ui-egui/tests/it/pickers.rs
2026-11-27 20:54:53 +05:30
Harsh Verma e1ffdaae0d Rerun CI 2026-11-27 20:50:50 +05:30
Harsh Verma fc97d099df Rerun CI 2026-11-27 20:40:27 +05:30
FredApps c34c6c5a0b Merge pull request #8435 from storytold/ci/repair-main-after-8168
CI: repair main's gate after #8168 (combines #8177–#8180, #8314, #8316, #8317)
2026-11-27 13:38:56 +01:00
FredApps ecc5737401 Organize: keep the numbered-name attachment test running
The previous change dropped the test attribute from set_attachments_does_not_clobber_later_numbered_attachment_name.
2026-11-27 09:42:34 +01:00
FredApps e5fd870737 Organize: keep a renamed UTF-16 attachment key aligned when the original ends mid-unit
A leftover last byte is not a unit, and readers leave it out when decoding. Dropping it before appending " (2)" keeps the suffix in the key's byte order, so the stored name is the decoded name plus the suffix rather than a misaligned string.
2026-11-27 09:41:15 +01:00
FredApps 76aec3fb9b Merge remote-tracking branch 'origin/main' into ci/repair-main-after-8168 2026-11-27 09:39:04 +01:00
Yuri GanugiandClaude Opus 5.5 da46aa2d02 macOS: files opened from the Finder, Open With or the Dock open again (#8491)
The port (#8160) dropped the result of AppleEvents::connect, the function that drains the Apple-event inbox into the file intake, so 'odoc' and quit events were never delivered. PdfCraftApp keeps it again as os_events, as in v0.22.0, and each frame's logic calls it before it opens the intake. Found by MarcGoudy (#8443).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 22:37:33 +01:00
FredApps d492d88902 Merge pull request #4538 from EricKaden/fix/xfa-dynamic-render-required
XFA: a form saved with its pages is laid out when it requires dynamic rendering, unless signed
2026-11-26 21:17:32 +01:00
FredApps f53cab766c Merge main into #4538 2026-11-26 20:27:19 +01: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 cbc1c52ba2 Merge remote-tracking branch 'origin/main' into ci/repair-main-after-8168 2026-11-26 20:07:50 +01:00
FredApps e862b77560 Merge pull request #4369 from EricKaden/fix/xfa-check-box-click-scripts
M12: XFA check boxes and radio buttons run their click scripts when a click changes them
2026-11-26 20:05:40 +01:00
FredApps 594e54fd03 deny: allow MPL-2.0 for unmodified third-party crates
standards/licences.md already allows MPL-2.0 for dependencies used unmodified (file-level copyleft, no obligation on our code). The crate option-ext, pulled in by dirs through craft-settings, uses it, and the deny check failed without this identifier on the allow list.
2026-11-26 19:56:56 +01:00
FredApps ecd98d7b15 Merge remote-tracking branch 'origin/main' into ci/repair-main-after-8168 2026-11-26 19:53:32 +01:00
FredApps e7860b9a38 Merge pull request #1021 from storytold/ci-speedup-nightly-platform-checks
CI: FreeBSD and Windows ARM64 nightly and on release, not per PR
2026-11-26 19:37:29 +01:00
FredApps 53b12279a9 Merge pull request #3523 from storytold/fix/3511-prune-image-resources
fix(edit): unlink unused image resources on delete
2026-11-26 19:37:22 +01:00
FredApps e7a812f531 Organize: read a little-endian attachment key in two-byte chunks with as_chunks 2026-11-26 19:34:24 +01:00