Commit Graph
6827 Commits
Author SHA1 Message Date
alehelandClaude Opus 5.5 fdc9f646f9 fix(ui): a grouped double-click, held presses and blocked Add text, from review
CodeRabbit's findings on #6243, each checked against the code:

- A double-click on the objects selected together took its target from
  the hits at the release, so a release just off the paragraph pressed
  opened nothing. The router keeps what lay on top at the press with the
  objects aside (`under_objects`), as every owner acts where its press was.
- A drag first seen on another page left the picked picture picked: that
  page is told `Elsewhere`, and the picture's test no longer ran there.
- Delete with a button held removed the item, and the press held then named
  the next one. Delete waits for the button to come up, for pictures and
  added content.
- A page just off the screen is still run for what lies near it, so a
  picture's keys acted there unseen. They ask whether the page is on screen.
- Add text's drags end while its input is blocked, as Edit text's do.
- With the page gaps hidden, a Shift-click on the row two pages share
  selected on the first page and the second cleared it. A press another
  page holds leaves the selection alone.

Tests, each seen failing with its fix reverted:
`a_double_click_on_a_grouped_paragraph_released_just_off_it_opens_it`,
`a_drag_first_seen_on_the_next_page_lets_the_picked_picture_go`,
`delete_waits_for_the_button_to_come_up` (each half),
`a_selected_pictures_keys_wait_for_its_page_to_be_on_screen` (its
continuous case), `a_paragraph_drag_ends_when_the_window_loses_focus` (Add
text), `a_shift_click_where_two_pages_touch_keeps_what_it_selected`,
`a_press_counts_the_modifiers_of_its_own_event`.
`add_text_keeps_a_changed_paragraph_and_a_draft_when_it_moves_on` pins that a
click on the page applies the open paragraph before a new box starts, so
neither edit can take the other's place; seen failing with the draft's edit
dropped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 08:51:44 +01:00
quincy-jcandClaude Opus 5.5 7c9e006c82 perf(measure): read a page's operators one at a time for snapping
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 17:31:51 +11:00
quincy-jcandClaude Opus 5.5 80cd15b474 fix(measure): bound the snap index and read one page at a time
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 16:24:51 +11:00
vangel76andClaude Sonnet 5.5 686a96f61d Merge upstream/main into feat/recent-reveal-5452
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 06:20:49 +01:00
mtlcl410 af583b77f2 Merge remote-tracking branch 'upstream/main' into fix/pdfa-xmp-exif-types 2026-11-05 13:04:03 +08:00
FredApps 15c505d1c6 Merge pull request #3858 from Kronbii/fix/scan-image-resampling
M2: scans stay sharp at screen size and smooth when zoomed (area-average shrink, bilinear enlarge)
2026-11-05 06:03:58 +01:00
mtlcl410 7b492b9943 Merge branch 'fix/pdfa-xmp-value-types' into fix/pdfa-xmp-exif-types 2026-11-05 12:49:49 +08:00
mtlcl410andClaude Opus 5.5 7bce37fefc M11: PDF/A verify takes no array from a property whose RDF attributes make its value something else (6.6.2.3.1)
An rdf:parseType or rdf:resource on a property element makes its value a
resource or another literal, not the rdf:Seq, rdf:Bag or rdf:Alt it holds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Pq7HyDBXygTf7jcqdsjcfn
2026-11-05 12:48:27 +08:00
FredApps 84e85c1ff3 Merge pull request #5758 from hasannadeem/feat/update-check-preference
M14: Preferences can turn off the update check at start (#5737, #5460)
2026-11-05 05:39:12 +01:00
mtlcl410 e09f1adf30 Merge branch 'fix/pdfa-xmp-value-types' into fix/pdfa-xmp-exif-types 2026-11-05 12:32:43 +08:00
mtlcl410andClaude Opus 5.5 c86b161672 M11: PDF/A verify checks XMP qualifiers and empty value forms, and rejects stray text (6.6.2.3.1)
Qualifiers beside an rdf:value that are predefined properties keep their
types; rdf:value may be an attribute of an empty property element; an
rdf:resource element is empty; and character data around array items or
in an rdf:Description structure breaks the value, as it already did in a
parseType="Resource" structure.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Pq7HyDBXygTf7jcqdsjcfn
2026-11-05 12:30:17 +08:00
mtlcl410andClaude Opus 5.5 14f8c2c64c M11: 6.2.10 checks a calibrated blending space's white point values
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Pq7HyDBXygTf7jcqdsjcfn
2026-11-05 12:24:05 +08:00
FredApps f3dc867651 Merge remote-tracking branch 'origin/main' into w
# Conflicts:
#	vendor/README.md
2026-11-05 05:14:13 +01:00
mtlcl410andClaude Opus 5.5 6e7acce67a M11: parity: PDF/A verify checks the TIFF, EXIF and aux XMP value types (6.6.2.3.1)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Pq7HyDBXygTf7jcqdsjcfn
2026-11-05 12:12:05 +08:00
mtlcl410andClaude Opus 5.5 a67a5c8d35 M11: tests: GPS coordinates need seconds or a minute fraction, and whole degrees (6.6.2.3.1)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Pq7HyDBXygTf7jcqdsjcfn
2026-11-05 12:11:49 +08:00
mtlcl410andClaude Opus 5.5 cdea50daac M11: PDF/A verify checks the value types of the TIFF, EXIF and aux XMP schemas (6.6.2.3.1)
The TIFF, EXIF and Additional EXIF namespaces come from the September
2005 XMP Specification that PDF/A-2 cites ("EXIF Schemas", pages 58-70),
with its EXIF value types (pages 83-87): Rational as numerator/
denominator, GPSCoordinate as DDD,MM,SSk or DDD,MM.mmk, and the Flash,
OECF/SFR, CFAPattern and DeviceSettings structures.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Pq7HyDBXygTf7jcqdsjcfn
2026-11-05 12:11:02 +08:00
mtlcl410andClaude Opus 5.5 ffa5c23f7d M11: 6.2.10 wants a CalGray or CalRGB blending space to carry its white point
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Pq7HyDBXygTf7jcqdsjcfn
2026-11-05 12:09:06 +08:00
mtlcl410andClaude Opus 5.5 75e9028e40 M11: 6.2.10 checks a device space's default and an ICC profile's header against its components
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Pq7HyDBXygTf7jcqdsjcfn
2026-11-05 11:53:54 +08:00
mtlcl410andClaude Opus 5.5 e3a3317d47 M11: PDF/A verify reads UTF-16 XMP packets and keeps GUIDs from being URIs (6.6.2.3.1)
A metadata stream is decoded by its byte order mark (UTF-16 big- or
little-endian, or UTF-8; ISO 16684-1 7.3) before it is parsed. A GUID
is a simple value but not a URI (ISO 16684-1 8.2.2.3), so the
document and instance IDs of xmpMM, stRef and stEvt don't take
rdf:resource.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Pq7HyDBXygTf7jcqdsjcfn
2026-11-05 11:48:32 +08:00
FredApps 21540829cd Merge pull request #5754 from agent-reed/fix/fill-sign-quick-bar-controls
M5.7: the Fill & Sign text controls use a colour dot and a size flyout
2026-11-05 04:48:17 +01:00
mtlcl410andClaude Opus 5.5 798dfa44c1 M11: 6.2.10 accepts only blending colour spaces and real soft masks
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Pq7HyDBXygTf7jcqdsjcfn
2026-11-05 11:35:05 +08:00
FredAppsandClaude Opus 5.5 943718ea98 fix(ui): About credits tables fit without side-scrolling and their columns resize (#6052)
* fix(ui): About credits tables fit without side-scrolling and their columns resize

The Contributors table and the Models table were egui Grids inside a
two-way scroll area: they opened wider than the dialog, so they scrolled
sideways, and Company and Model sat almost touching. Both are now
egui_extras tables. Each column opens at the width of its header and widest
cell, the spare width goes to the text columns (Name; Company and Model),
and every column edge can be dragged. Widening a column grows the table
like a spreadsheet, and only then does it scroll sideways; the header stays
put while the rows scroll. Counts and dates are right-aligned and every
cell is vertically centred.

The sorted column stays highlighted and its direction shows on the
toolbar's sort-order button, so headers no longer reserve room for an
arrow. The opening widths come from fit_widths, a pure function with unit
tests that a fitted table fills its room exactly and that only the text
columns give way when room is short.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Let every credits column be dragged, and refit changed tables

The last column was egui's remainder column, which has no drag handle, so
it could only be resized from the edge before it. It is now an ordinary
column with its own handle.

A table keeps its column widths, so switching to a longer name left the
Name column at its old width and clipped the text. The table now goes
back to the opening fit whenever that fit changes: a longer widest cell
or a resized window. Dragged widths are dropped at that point.

fit_widths could overflow the room when one column hit the minimum,
because the other columns did not take up its share. Columns now give
way in proportion to their width above the minimum.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Refit credits tables on what they measure, not the fitted widths

Comparing the fitted widths missed the case it was meant for. Name is the
only growing column, so a longer name takes its extra width from the
spare room and the fit comes out the same: a dragged Name width stayed,
clipping the longer name.

It could also drop dragged widths by accident. The fit comes from the
available width inside the scroll area, which scrolling can nudge, so
scrolling a widened table could reset it.

The table now compares the natural widths and the clip rect's width,
which scrolling does not move.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 04:33:21 +01:00
mtlcl410andClaude Opus 5.5 ba4e86c547 M11: PDF/A verify checks XMP value types in every metadata stream, more strictly (6.6.2.3.1)
Every metadata stream is read, within one decode allowance, not only the
catalog's. Predefined properties inside a Pantry item keep their types;
rdf:value may be an attribute; rdf:resource makes a URI, which only a
text type takes; a value's text is all its text nodes; an array item is
rdf:li; a parseType="Resource" structure has no character data; a time
zone is Z, +hh:mm or -hh:mm; and a value nested past every type's depth
doesn't have its type.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Pq7HyDBXygTf7jcqdsjcfn
2026-11-05 11:27:27 +08:00
quincy-jcandClaude Opus 5.5 8942b4332a fix(measure): snap on heavy sheets, off the window thread
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 14:25:52 +11:00
mtlcl410andClaude Opus 5.5 52131ba093 M11: 6.2.10 reads blend modes only from graphics states, wants a device-independent /CS and a profiled intent, rereads shallower
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Pq7HyDBXygTf7jcqdsjcfn
2026-11-05 11:16:00 +08:00
FredApps 13cb547434 Merge remote-tracking branch 'origin/main' into fix5754
# Conflicts:
#	crates/ui-egui/tests/it/fill_sign.rs
2026-11-05 04:06:56 +01:00
FredApps 713c61548f Merge pull request #5435 from agent-reed/feat/fill-sign-rail-default
M5.7: the quick bar's Fill & Sign button shows the tool it picks
2026-11-05 04:06:42 +01:00
mtlcl410andClaude Opus 5.5 3c749e13df M11: tests: split the predefined XMP value type test by kind of value (6.6.2.3.1)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Pq7HyDBXygTf7jcqdsjcfn
2026-11-05 11:05:35 +08:00
mtlcl410andClaude Opus 5.5 25e7024aae M11: parity: PDF/A verify checks predefined XMP value types (6.6.2.3.1)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Pq7HyDBXygTf7jcqdsjcfn
2026-11-05 11:04:15 +08:00
mtlcl410andClaude Opus 5.5 903405072e M11: PDF/A verify checks the value types of the predefined XMP schemas (6.6.2.3.1)
Properties of the Dublin Core, XMP Basic, Rights Management, Media
Management, Basic Job Ticket, Paged-Text, Dynamic Media, Adobe PDF,
Photoshop and Camera Raw namespaces must have the types ISO 16684-1
clause 8 and XMP Specification Part 2 give them: simple values by their
lexical form, arrays by kind and items, structures by their fields, in
every RDF/XML form a value can take. xmp::parse is shared with the
identification read.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Pq7HyDBXygTf7jcqdsjcfn
2026-11-05 11:03:28 +08:00
mtlcl410andClaude Opus 5.5 0b2c452bb1 M11: transparency: cite the ISO 32000-1 clauses that define transparent painting
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Pq7HyDBXygTf7jcqdsjcfn
2026-11-05 10:56:01 +08:00
mtlcl410andClaude Opus 5.5 be2c726935 M11: parity: Verify PDF/A checks transparency (6.2.10)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Pq7HyDBXygTf7jcqdsjcfn
2026-11-05 10:55:36 +08:00
mtlcl410andClaude Opus 5.5 c35d8441d9 M11: PDF/A verify reports blend modes ISO 32000-1 doesn't define (6.2.10)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Pq7HyDBXygTf7jcqdsjcfn
2026-11-05 10:54:12 +08:00
mtlcl410andClaude Opus 5.5 19da2752cf M11: PDF/A verify reports a page with transparency and no blending colour space (6.2.10)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Pq7HyDBXygTf7jcqdsjcfn
2026-11-05 10:52:22 +08:00
Eric Kaden 5dd1b287bd Merge remote-tracking branch 'upstream/main' into fix/choice-list-popup
# Conflicts:
#	crates/ui-egui/src/canvas/page_pointer/tests.rs
#	crates/ui-egui/src/tools/forms_ui.rs
2026-11-04 21:44:20 -05:00
Eric Kaden db14f75ed5 Merge remote-tracking branch 'upstream/main' into fix/cups-landscape-sheets
# Conflicts:
#	crates/print/README.md
2026-11-04 21:31:29 -05:00
Grzegorz MartensandClaude Opus 5.5 02360536a7 M7: tests and docs say what the font reads do
The Claims review of fd4b698c7:

- The predictor test's rows are tagged Up, not None: read without the
  predictor, None rows leave only zero bytes, which a CMap's parser
  skips, so its ToUnicode part passed without the fix.
- embedded_sfnt_within's comment and its test's doc gave guessed
  meanings as the reason no copy is adapted; it is the metrics read past
  the allowance, the widths' read of the program again included.
- The full-map test is named for the filters it covers, and the docs of
  Reads::decode, MAX_CMAP_BYTES and the own-limit test carry the
  conditions they hold under.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AmsdeUCdTaD72jkDw2pJKY
2026-11-05 03:22:45 +01:00
Eric Kaden 9008368062 Merge remote-tracking branch 'upstream/main' into feat/sign-tab-empty-signature-fields
# Conflicts:
#	crates/ui-egui/src/canvas.rs
#	crates/ui-egui/src/canvas/area.rs
#	crates/ui-egui/src/canvas/page_pointer/tests.rs
#	crates/ui-egui/src/tools/forms_ui.rs
2026-11-04 21:20:42 -05:00
mtlcl410andClaude Opus 5.5 75b82de0d5 M11: PDF/A verify reads an action's type through a reference (6.5.1)
An action whose /S refers to /Named or /NOP is checked like one that
names it directly, so verification reports it and conversion removes it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Pq7HyDBXygTf7jcqdsjcfn
2026-11-05 10:14:44 +08:00
mtlcl410andClaude Opus 5.5 fad9ee3f9f M11: Save as PDF/A makes a new file identifier when the old first string is too long to keep (6.1.3)
The first /ID string is kept only when a conforming file can hold it:
non-empty and within 32767 bytes (ISO 32000-1 Annex C). The report says
"Completed the file identifier" when it was kept and "Added a file
identifier" when both strings are new.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Pq7HyDBXygTf7jcqdsjcfn
2026-11-05 10:10:41 +08:00
mtlcl410andClaude Opus 5.5 d9abc9b82c M11: PDF/A verify reads a Named action's name through a reference (6.5.1)
A Named action whose /N refers to /NextPage (or another page move) is
allowed and survives Save as PDF/A; the test checks that conversion
keeps such an action.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Pq7HyDBXygTf7jcqdsjcfn
2026-11-05 10:00:38 +08:00
mtlcl410andClaude Opus 5.5 86aad0304c M11: Save as PDF/A keeps the permanent part of a malformed file identifier (6.1.3)
The first /ID string is the file's permanent identifier (ISO 32000-1
14.4); when it is a non-empty string, conversion keeps it and makes only
the second afresh. The test also checks that a good /ID is left as it is.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Pq7HyDBXygTf7jcqdsjcfn
2026-11-05 09:53:10 +08:00
mtlcl410andClaude Opus 5.5 33cd765828 M11: parity: PDF/A verify covers SetState, NOP and Named actions (6.5.1)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Pq7HyDBXygTf7jcqdsjcfn
2026-11-05 09:37:22 +08:00
mtlcl410andClaude Opus 5.5 ea51204d5f M11: PDF/A verify reports SetState, NOP and Named actions beyond the four page moves (6.5.1)
The PDF 1.2 SetState and NOP actions, which ISO 32000-1 no longer
defines, are forbidden, and a Named action may only name NextPage,
PrevPage, FirstPage or LastPage (ISO 32000-1 Table 212). Save as PDF/A
removes the others as it does other forbidden actions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Pq7HyDBXygTf7jcqdsjcfn
2026-11-05 09:36:59 +08:00
mtlcl410andClaude Opus 5.5 fd2c875702 M11: parity: PDF/A verify and Save as PDF/A cover the file identifier (6.1.3)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Pq7HyDBXygTf7jcqdsjcfn
2026-11-05 09:35:15 +08:00
mtlcl410andClaude Opus 5.5 1336bc8896 M11: PDF/A verify checks the file identifier and Save as PDF/A adds one (6.1.3)
The trailer the last startxref points to (an update's, or a linearized
file's first-page trailer) must have an /ID of two non-empty strings
(ISO 32000-1 14.4). Save as PDF/A gives a document without a good one a
new identifier, made by the writer's generator, now public in cos as
new_file_id.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Pq7HyDBXygTf7jcqdsjcfn
2026-11-05 09:26:20 +08:00
mtlcl410andClaude Opus 5.5 3d2134fa00 M11: parity: 6.2.5 notes cite the primary colour components
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Pq7HyDBXygTf7jcqdsjcfn
2026-11-05 09:22:40 +08:00
mtlcl410andClaude Opus 5.5 b4e99b6229 M11: PDF/A verify takes the primary colour components of all three device spaces (6.2.5)
Gray, Red, Green and Blue are primary colour components as well as Cyan,
Magenta, Yellow and Black (ISO 32000-1 10.5.5.6, ISO 32000-2 10.6.5.6):
their halftones need no transfer function and may not have one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Pq7HyDBXygTf7jcqdsjcfn
2026-11-05 09:21:14 +08:00
mtlcl410andClaude Opus 5.5 4c5fd46af7 M11: parity: cite the 6.2.5 scan test
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Pq7HyDBXygTf7jcqdsjcfn
2026-11-05 09:07:53 +08:00
mtlcl410andClaude Opus 5.5 1928500350 M11: PDF/A verify's graphics state scan reads each object once, whatever the generation (6.2.5)
Document::get fetches by object number, so references that differ only
in generation reach the same object; the reached and read sets now go
by number, and each object is walked once.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Pq7HyDBXygTf7jcqdsjcfn
2026-11-05 09:07:37 +08:00