Commit Graph
2 Commits
Author SHA1 Message Date
Osvaldo Duran MelendezandClaude Sonnet 5.5 83227d343a Format with rustfmt
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-20 00:22:45 -04:00
Osvaldo Duran MelendezandClaude Sonnet 5.5 39a9a6d2ca Attachments: report the added file's own key; drop an emptied indirect /Names
attachment_add compared every attachment name, including files attached to pages as comments, so a page comment with the same file name made the reported key empty. It now compares only the document-level name-tree keys. Deleting the last document attachment when the catalog's /Names is an indirect dictionary left an empty /Names behind; it is now removed from the catalog, as the direct case already did.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-19 21:08:21 -04:00