Commit Graph
7897 Commits
Author SHA1 Message Date
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
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
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
FredApps 18d9e1e66f Control test: find the shortcuts window's rows as a user does
The table lays out only the rows in view, so the test scrolls it to each command, and the keys the document view handles itself are listed under Show > Fixed Keys, so it picks that view before looking for them.
2026-11-26 19:28:20 +01:00
FredApps c7020ab493 Merge main into #4369
# Conflicts:
#	parity/acrobat-features.toml
2026-11-26 19:06:19 +01:00
FredApps 448cd37405 Merge main into #4538
# Conflicts:
#	parity/acrobat-features.toml
2026-11-26 19:06:02 +01:00
FredApps b3dcebb5f3 Merge pull request #4522 from EricKaden/fix/xfa-date-display-picture
M12: an XFA date field is shown through its display picture and typed in its edit picture's pattern
2026-11-26 18:53:01 +01:00
FredApps bd65e37b7d Merge pull request #3242 from MarekSpodBiedry/issue-3172
Fix blank glyphs inside overprinted numbers and word gaps next to taller glyphs in text extraction (#3172)
2026-11-26 18:28:15 +01:00
FredApps 54a3be06df Keyboard shortcuts window: labels in the interface language, grouped by menu
The window listed the command catalog the keys run on, which keeps English labels, so a translated interface showed English rows all under Other. It now lists each command as the menus label it, in the current language, with its English label kept for search, under the menu bar path that lists it, and relists them when the language changes while it is open.
2026-11-27 00:27:44 +07:00
FredApps ec0513414a Inserted attachments keep the encoding of a renamed name-tree key
A clashing key from an inserted or combined file is numbered as text, and " (2)" is appended in the key's own encoding: UTF-16 big- or little-endian after a byte-order mark, bytes after a PDFDocEncoding key. A little-endian key was read as PDFDocEncoding and rewritten as different UTF-16 text, so the renamed attachment lost its name.
2026-11-27 00:27:44 +07:00
FredApps 294f8b29cf Merge remote-tracking branch 'origin/main' into ci/repair-main-after-8168 2026-11-27 00:11:39 +07:00
FredApps 1e05eefeae Merge main into #4369 2026-11-27 00:10:52 +07:00
FredApps e4144bfdde Merge main into #4538 2026-11-27 00:09:02 +07:00
FredApps a462b8c6ad Merge main into #4522 2026-11-27 00:01:37 +07:00
FredApps e334d6d4be Merge pull request #4527 from EricKaden/fix/xfa-ready-events
XFA: ready events run in the other viewer's order, and layout:ready again after a new layout
2026-11-26 17:50:24 +01:00
FredApps 36d9fd7268 Merge pull request #3280 from ahmadmuj/fix/pdfcraft-3221-stm-refusal
Refuse unsafe stream-qualified tag mutations
2026-11-26 17:48:11 +01:00
FredApps d3428827db Merge pull request #2763 from kavishkashehan726-sudo/claude/serene-hawking-sk6w13
fix(engine): validate signed XFA forms as the file was read (#2759)
2026-11-26 17:37:19 +01:00
FredApps 328a1bca2b Merge main into #4538 2026-11-26 17:33:12 +01:00
FredApps 05f31ac058 Merge pull request #5470 from croquete1/fix/4744-repeat-min-instances
M12: um subformulário repetido mantém o mínimo de instâncias de occur, seja qual for o dado (#4744)
2026-11-26 17:27:42 +01:00
FredApps 2d45b068fc Keep the line's word-gap threshold beside a superscript under the script size floor (#3172) 2026-11-26 17:26:45 +01:00
FredApps 781ab07f8c Merge main into #4369 2026-11-26 23:23:46 +07:00
FredApps 3b5d24fdf5 Merge pull request #2268 from oracola91/ci/dependency-hygiene
CI: refuse yanked crates
2026-11-26 17:23:15 +01:00
FredApps cb061454b2 Merge main into #4522 2026-11-26 23:20:14 +07:00