pdfcraft/crates
bflatastic f50c5a4e88 macOS: open PDFs from Finder, Open With and the Dock (#73)
Finder hands files to an app as an Apple event, not on the command
line. winit doesn't handle it, so AppKit answered "PrintCraft cannot
open files in the PDF document format". The bundle also declared no PDF
document type: its Info.plist still carried the sibling image editor's
types.

- Info.plist declares PDF (by extension and MIME type) as a document
  type, role Editor, rank Alternate: offered under Open With and
  settable as the default, without taking over on install.
- apps/printcraft registers open-documents and quit Apple event
  handlers through fmv-macos-events (=0.1.0, the audited safe wrapper
  PhotoCraft uses, since the Objective-C interop needs unsafe), before
  the launch event arrives.
- printcraft-ui-egui gains OsEvent and PrintCraftApp::os_events, polled
  every frame: Open opens each file as File > Open does; Quit closes the
  window like its close button, so unsaved changes are asked about.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-07 01:39:33 +07:00
..
a11y Never crash: filters, fonts, js, optimize and a11y deny the panic lints 2026-10-04 13:06:23 -04:00
annot Fix text editing layout and preserve source PDF font styles (#36) 2026-10-05 07:48:23 -04:00
automation Forms: say so when a document is an XFA form (#60) 2026-10-06 07:22:33 -04:00
compare Never crash: deny the panic lints in crates that are already clean 2026-10-04 13:12:21 -04:00
content Never crash: deny the panic lints in crates that are already clean 2026-10-04 13:12:21 -04:00
cos Never crash: the fuzz job's eleven hangs finish (parser retries, inline images, Type 3 fan-out) 2026-10-05 07:35:38 -04:00
create Never crash: create has no expect calls 2026-10-04 13:12:21 -04:00
crypt Never crash: crypt has no panic paths 2026-10-04 13:06:23 -04:00
edit M7: move and resize existing text boxes in Edit text (#40) 2026-10-06 07:19:53 -04:00
engine Comments: Squiggly underline tool (Highlight flyout, All tools, command) 2026-10-05 18:57:28 -04:00
export Export tables: linear column lookups, a column cap, RTF spans 2026-10-06 07:38:17 -04:00
filters Never crash: filters, fonts, js, optimize and a11y deny the panic lints 2026-10-04 13:06:23 -04:00
fonts Fix text editing layout and preserve source PDF font styles (#36) 2026-10-05 07:48:23 -04:00
forms Fix text editing layout and preserve source PDF font styles (#36) 2026-10-05 07:48:23 -04:00
geom Never crash: deny the panic lints in crates that are already clean 2026-10-04 13:12:21 -04:00
js Merge pull request #16 from storytold/pr/never-crash-small 2026-10-04 14:46:43 -04:00
model Never crash: deny the panic lints in crates that are already clean 2026-10-04 13:12:21 -04:00
ocr Never crash: deny the panic lints in crates that are already clean 2026-10-04 13:12:21 -04:00
optimize Merge pull request #16 from storytold/pr/never-crash-small 2026-10-04 14:46:43 -04:00
organize Never crash: organize has no expect/unreachable 2026-10-04 13:12:20 -04:00
preflight Never crash: deny the panic lints in crates that are already clean 2026-10-04 13:12:21 -04:00
print Never crash: deny the panic lints in crates that are already clean 2026-10-04 13:12:21 -04:00
redact Never crash: deny the panic lints in crates that are already clean 2026-10-04 13:12:21 -04:00
render Forms: say so when a document is an XFA form (#60) 2026-10-06 07:22:33 -04:00
sign Never crash: sign has no expect/unreachable 2026-10-04 13:12:20 -04:00
ui-egui macOS: open PDFs from Finder, Open With and the Dock (#73) 2026-10-07 01:39:33 +07:00
xfdf XFDF: gracefully ignore invalid Unicode annotation colours (#48) 2026-10-05 16:36:08 -04:00