Commit Graph
4058 Commits
Author SHA1 Message Date
aiongg 676b30d83c refactor(ui-egui): split sign_ui.rs into sign_ui/
New modules: dialog, panel.
2026-10-26 22:18:50 +00:00
aiongg ce5d36e470 refactor(ui-egui): split prepare.rs into prepare/
New modules: draft, properties, tabs.
2026-10-26 22:18:50 +00:00
aiongg eb69f95efe test(ui-egui): list edit_text_ui/image.rs among the page modules 2026-10-26 22:18:50 +00:00
aiongg c83a42144a refactor(ui-egui): split edit_text_ui.rs into edit_text_ui/
New modules: background, layout, image.
2026-10-26 21:17:18 +00:00
aiongg 36917232ba refactor(cos): split document.rs into document/
New modules: state, xref, open, objects, reader.
2026-10-26 21:17:18 +00:00
aiongg 61c9164037 refactor(ui-egui): split control.rs into control/
New modules: plugin, requests, screenshot, pending, host, transport (non-wasm).
transport_tests and screenshot_geometry_tests move with their code;
lifecycle_tests and pointer_tests stay.
2026-10-26 21:17:18 +00:00
aiongg 7cf7d1338b test(ui-egui): point the page-pointer source scan at canvas/*.rs 2026-10-26 21:17:18 +00:00
aiongg 41a525eee3 refactor(ui-egui): split canvas.rs into canvas/
New modules: find, selection, cache, zoom, navigation, xform, organize, bars, area.
fn document_area stays in canvas.rs this round.
2026-10-26 21:17:18 +00:00
aiongg d69b566db6 refactor(ui-egui): split app.rs into app/
New modules: app/files, links, input, keys, clipboard, window, prefs, commands, control, frame (frame holds panel_migration_tests).
2026-10-26 21:17:18 +00:00
aiongg 5e61134225 refactor(ui-egui): split lib.rs into app.rs, state.rs and hooks.rs
New modules: app (construction, queries, eframe::App, and every impl PdfCraftApp group, split further next), state (UI state types, OpenRequest, OpenOutcome, GridFile, CopyPage, DocumentCopyJob), hooks (host-hook types). PendingOpen, GridDrop and DocumentCopy stay in lib.rs as app struct field types.
2026-10-26 21:14:39 +00:00
aiongg e2b30ba7b5 docs: name i18n.rs and demo_pdf.rs after the mod.rs moves 2026-10-26 20:51:19 +00:00
aiongg b1a09ee08d docs(parity): point evidence at the tests' new files 2026-10-26 20:51:19 +00:00
aiongg da51747654 test(ui-egui): skip test files in the page pointer scan 2026-10-26 20:51:19 +00:00
aiongg d39b6629c8 test(pdfcraft): cut main.rs at the moved test module's declaration 2026-10-26 20:51:19 +00:00
aiongg bc69802ed9 refactor(ui-egui): move control.rs's lifecycle tests to control/lifecycle_tests.rs 2026-10-26 20:51:19 +00:00
aiongg 0457352c23 refactor(engine): move signature_scan.rs's tests to signature_scan/tests.rs 2026-10-26 20:51:19 +00:00
aiongg f281f0f18d refactor(ui-egui): move theme.rs's tests to theme/tests.rs 2026-10-26 20:51:19 +00:00
aiongg 0dc3d45f77 refactor(ui-egui): move page_pointer.rs's tests to page_pointer/tests.rs 2026-10-26 20:51:19 +00:00
aiongg b1761d5bbf refactor(engine): move links.rs's tests to links/tests.rs 2026-10-26 20:51:19 +00:00
aiongg 52f15202ef refactor(ui-egui): move bidi.rs's tests to bidi/tests.rs 2026-10-26 20:51:19 +00:00
aiongg 4739740804 refactor(ui-egui): move combine_grid.rs's tests to combine_grid/tests.rs 2026-10-26 20:51:19 +00:00
aiongg 7d54ae2be3 refactor(ui-egui): move motion.rs's tests to motion/tests.rs 2026-10-26 20:51:19 +00:00
aiongg 0ead57f2b5 refactor(ui-egui): move comments.rs's tests to comments/tests.rs 2026-10-26 20:51:19 +00:00
aiongg f700dc3f2e refactor(export): move pptx.rs's tests to pptx/tests.rs 2026-10-26 20:51:19 +00:00
aiongg 37fa7dca86 refactor(platform): move staging.rs's tests to staging/tests.rs 2026-10-26 20:51:19 +00:00
aiongg d823fbd77a refactor(forms): move af.rs's tests to af/tests.rs 2026-10-26 20:51:19 +00:00
aiongg 701988ecd6 refactor(automation): move lib.rs's tests to tests.rs 2026-10-26 20:51:19 +00:00
aiongg 9d6ae81f0e refactor(ui-egui): move editing.rs's tests to editing/tests.rs 2026-10-26 20:51:19 +00:00
aiongg 801729ed19 refactor(pdfcraft): move main.rs's tests to tests.rs 2026-10-26 20:51:19 +00:00
aiongg e0033d3989 refactor(export): move lib.rs's tests to tests.rs 2026-10-26 20:51:19 +00:00
aiongg 79d72038f1 refactor(fonts): move pdf.rs's tests to pdf/tests.rs 2026-10-26 20:51:19 +00:00
aiongg 6d8c0bb8dd refactor(ui-egui): move i18n.rs's tests to i18n/tests.rs 2026-10-26 20:51:19 +00:00
aiongg 38e95285d3 refactor(cos): move document.rs's tests to document/tests.rs 2026-10-26 20:51:19 +00:00
aiongg a892922237 refactor(render): move text.rs's tests to text/tests.rs 2026-10-26 20:51:19 +00:00
aiongg 401397d2be refactor(ui-egui): move canvas.rs's tests to canvas/tests.rs 2026-10-26 20:51:19 +00:00
aiongg dd927f62cb refactor(render): move inspect.rs's tests to inspect/tests.rs 2026-10-26 20:51:19 +00:00
aiongg 2f88c5e192 refactor(render): move raster.rs's tests to raster/tests.rs 2026-10-26 20:51:19 +00:00
aiongg 251d0a8f26 refactor(xtask): move demo_pdf/mod.rs to demo_pdf.rs 2026-10-26 20:51:19 +00:00
aiongg c3f6fa3b8c style(ui-egui): format i18n.rs after the include path update 2026-10-26 20:51:18 +00:00
aiongg d932d3bb3c refactor(ui-egui): move i18n/mod.rs to i18n.rs 2026-10-26 20:51:18 +00:00
aiongg c316328bb0 test: scan source directories recursively 2026-10-26 20:51:18 +00:00
skylar 69b71cab80 chore: merge current main for nextest update 2026-10-26 14:38:28 -06:00
KenM76andClaude Opus 5.5 ccb2565036 fix(forms): auto-sized single-line text fields fill their height, not 12 pt
An auto-sized (`0 Tf`) single-line text field drew at most 12 pt however
tall the box. Acrobat Reader draws it at the size the height gives (checked
black-box on a synthetic form: 30 pt and 60 pt fields); ISO 32000-2
§12.7.4.3 leaves the size implementation-defined. auto_text_size_by now
keeps the existing height / 1.15 size without the 12 pt cap, still shrinks
to the width and never goes under 4 pt, with the height bounded at 14,400
(MAX_AUTO_HEIGHT, the largest page side ISO 32000-1 Annex C recommends).

Multiline and comb auto-size keep their 12 pt cap: not yet checked against
Acrobat.

Tests: the forms unit tests now pin a tall box's size (they pinned 12 pt),
and an automation test fills a 30 pt field through form_fill and measures
the drawn text with text_find. All three fail with the cap restored.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SqmHYx8FiWM5PcsoiErgp9
2026-10-26 16:29:44 -04:00
alehelandClaude Opus 5.5 0cdd659207 chore: Cargo.lock: pdfcraft-edit's sha2 follows main's 0.11.1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 21:20:26 +01:00
alehel fd1382af6e Merge remote-tracking branch 'refs/remotes/origin/main' into fix/background-hidden-by-page-backdrop
# Conflicts:
#	crates/engine/src/lib.rs
2026-10-26 21:20:09 +01:00
skylar 2a3cb9dcb7 ci: require nextest 0.9.150
Use the fixed release for GHSA-vc25-qg58-w57c.
2026-10-26 14:13:01 -06:00
Dylan M. Taylor f94668f1c8 fix(sonar): clear css:S9441 and S3776 in forms actions 2026-10-26 16:01:32 -04:00
Dylan M. Taylor 32a9af4d08 proposal(redact): unlink unused Type 3 glyph programs and fonts on redaction (F-011) 2026-10-26 16:01:29 -04:00
Combiler01 1d1d509331 Merge remote-tracking branch 'upstream/main' into main 2026-10-27 00:28:10 +05:30
aiongg d28d047a9e Merge pull request #4730 from alehel/refactor/engine-lib-split
refactor(engine): split lib.rs into modules
2026-10-26 14:35:30 -04:00