Commit Graph
7052 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
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 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
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 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
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 f53cab766c Merge main into #4538 2026-11-26 20:27:19 +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 ecd98d7b15 Merge remote-tracking branch 'origin/main' into ci/repair-main-after-8168 2026-11-26 19:53:32 +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 cb061454b2 Merge main into #4522 2026-11-26 23:20:14 +07:00
FredApps f555f1574c Merge pull request #4576 from jonathanwxh-cell/fix/sign-revision-structure-3998
sign: validate signature dicts and post-signing changes against signed revision (#3998)
2026-11-26 17:16:48 +01:00
FredApps 6f9c05d8a1 Measure a combining mark's word-gap threshold by its cluster base (#3172) 2026-11-26 23:09:32 +07:00
FredApps dc64a6f83e Use main's highlight_fields location in the frame's highlight sync (#4527) 2026-11-26 23:07:19 +07:00
FredApps 0b47a83928 Merge main into #4527 2026-11-26 23:05:58 +07:00
FredApps c7b433206c Merge main into #3280
alt.rs: main now resolves indirect structure kids (#5611), checks the parent and computes the new parent /K before it reads the page, and marks content through decode_page_streams/Marked (damaged streams refuse). This PR's mutation_mcids ownership checks replace main's has_child_structure + mcids in both actions, and its reachable-parent check runs with main's parent checks, before any write. Since main validates the parent first, the missing-/P + missing-content case now refuses with NoParent (test renamed), still without mutation. tools.rs and roadmap keep main's text plus this PR's refusal notes.
2026-11-26 23:00:01 +07:00
FredApps 4825ebfbf2 Merge pull request #3526 from EricKaden/fix/xfa-hanging-indent
M12: a negative XFA text indent hangs the first line
2026-11-26 16:53:39 +01:00
FredApps c2bd7c14b7 Merge pull request #4604 from mtlcl410/fix/xfa-script-relayout-full-refresh
M12: an XFA form laid out again by its scripts rebuilds its pages in the view (#4603)
2026-11-26 16:51:38 +01:00
FredApps ea25e82618 Merge remote-tracking branch 'origin/main' into ic51-3242
# Conflicts:
#	crates/render/src/text/layout.rs
2026-11-26 16:51:16 +01:00
FredApps 814e19b00d Merge pull request #6590 from eliets2/fix/issue-3147-image-arrange-and-remove-crop-report-suc
Refuse image arrange and crop removal that change nothing
2026-11-26 16:49:51 +01:00
FredApps 3242e74de6 Control test: scroll the language list with the wheel until the chosen language is shown
The drop-down lays out only the rows in view, so a language further down has no widget until the list is scrolled, as a user does.
2026-11-26 16:49:43 +01:00
FredApps 8e8019a742 Format the click test's focus assertion 2026-11-26 16:49:37 +01:00
FredApps cd7b5cefd0 Merge main into #2763
main split the engine's lib.rs into modules; the as-opened validation is ported: Editor::as_opened and AsOpened in history.rs, editor_signatures in doc_state.rs (used wherever an editor's signatures are validated), the as-read capture in open.rs, and mark_saved clearing it in session/save.rs. The test also pins the saved status (dynamic Invalid, static Valid).
2026-11-26 22:46:38 +07:00