Commit Graph

592 Commits

Author SHA1 Message Date
Michael R Sweet
ef8dee325a Fallthrough attribute is Apple-specific at the moment... 2025-09-25 17:47:31 -04:00
Michael R Sweet
dc09418660 More clang warning fixes. 2025-09-25 17:20:20 -04:00
Michael R Sweet
06d680d6cd Clean up compiler warnings, update Xcode project. 2025-09-25 16:54:55 -04:00
Michael R Sweet
0dd2e6fd37 Mirror EOF fix (Issue #136) 2025-09-13 11:34:41 -04:00
Michael R Sweet
2b6f04a5a1 Fix some Clang warnings. 2025-09-04 14:40:18 -04:00
Michael R Sweet
cc695fef2c Current autoconf triggers the obsolete AC_HEADER_STDC checks, so force things before zlib. 2025-08-30 13:37:28 -04:00
Michael R Sweet
410e3b92ea Add underflow detection to TTF cmap code. 2025-08-27 11:21:16 -04:00
Michael R Sweet
dc584c0868 PDFio 1.5.4. v1.5.4 2025-08-26 12:33:30 -04:00
Michael R Sweet
4b7e9691b3 PDFio 1.5.4. 2025-08-26 12:32:50 -04:00
Michael R Sweet
795daba88e Fix typos. 2025-08-06 11:26:10 -04:00
Michael R Sweet
ca4f20e84c Clarify token too large errors (Issue #131) 2025-07-28 19:11:17 +01:00
Michael R Sweet
a54e2886a6 Fix copy_jpeg with invalid/corrupt JPEG data (Issue #132) 2025-07-28 19:04:17 +01:00
Michael R Sweet
d3a5fa9e0b Limit generation numbers to 0 to 65535. 2025-07-28 12:51:17 +01:00
Michael R Sweet
4bbb8b0b38 Update docos. v1.5.3 2025-05-03 10:09:45 -04:00
Michael R Sweet
1657e89ddb Bump version. 2025-05-03 10:08:54 -04:00
Michael R Sweet
afa6d4c4de Don't set extension pointer if object is NULL. 2025-04-25 12:41:11 -04:00
Michael R Sweet
31a086e165 Fix object map to use unique file hash instead of pointer values (Issue #125) 2025-04-24 14:00:30 -04:00
Michael R Sweet
01cc243bcf Add more range checking for streams. 2025-04-24 13:17:53 -04:00
Michael R Sweet
25f5e28e56 Update docos. 2025-04-24 12:30:01 -04:00
Michael R Sweet
e6588d3960 Backport more changes from master. 2025-04-24 12:29:53 -04:00
Michael R Sweet
8f706b9fe7 Backport reading improvements/bug fixes from master. 2025-04-24 12:19:11 -04:00
Michael R Sweet
f9c07a0346 Add support for EncryptMetadata key in encryption dictionary. 2025-04-23 10:12:33 -04:00
Michael R Sweet
a22957baa1 Protect against invalid predictor buffer size. 2025-04-23 10:12:18 -04:00
Michael R Sweet
d7f3c64f63 Fix encrypted PDF files with P values >2^31-1. 2025-04-20 17:34:38 -04:00
Michael R Sweet
29eea131b9 Remove old per-object crypto stuff we dont need. 2025-04-13 09:10:17 -04:00
Michael R Sweet
2dcef0936e Fix decryption of UTF-16 strings (Issue #42) 2025-04-13 09:05:02 -04:00
Michael R Sweet
20dd2a6d28 Fix decryption of RC4-40 files. 2025-04-13 08:37:24 -04:00
Michael R Sweet
4219b8fd77 Update release date. 2025-04-12 15:12:07 -04:00
Michael R Sweet
064e7fa473 Fix makesrcdist script. 2025-04-12 15:11:36 -04:00
Michael R Sweet
ea9b7843fc Bump version in NuGet files and update docos. v1.5.2 2025-04-12 14:38:40 -04:00
Michael R Sweet
755efe08da Range check dictionary values in pdfioImageGetBytesPerLine (Issue #121) 2025-04-12 14:33:13 -04:00
Michael R Sweet
0391df5bbd Add logging of when we are repairing the xref table. 2025-04-07 09:01:41 -04:00
Michael R Sweet
49efd97cab Discard duplication key/value pairs in dictionaries with a warning message (Issue #118) 2025-04-07 08:58:18 -04:00
Michael R Sweet
d7eb1fc540 One more tweak to the get_date_time function (Issue #115) 2025-04-07 08:20:08 -04:00
Michael R Sweet
7afefda326 More date/time processing fixes (Issue #115) 2025-04-06 12:10:55 -04:00
Michael R Sweet
cbea3ecc2a Fix timezone offset in date/time values (Issue #115) 2025-04-05 13:48:11 -04:00
Michael R Sweet
130cef8702 Update pdfioinfo example to support Acrobat Form dictionaries as well as indirect references (Issue #114) 2025-04-04 21:24:42 -04:00
Michael R Sweet
0bd9edc845 Move token buffers off the stack (Issue #117) 2025-04-04 21:20:23 -04:00
Michael R Sweet
fe755eac3d Add PDFIO_MAX_STRING constant to control maximum allowed PDF strings (Issue #117) 2025-04-04 19:27:03 -04:00
Michael R Sweet
8cca645835 Update date/time parsing (Issue #115) 2025-04-04 19:12:16 -04:00
Michael R Sweet
b8ea9ea064 Bump version. 2025-04-04 19:11:54 -04:00
Michael R Sweet
2874022aa4 Allow empty name tokens (Issue #116) 2025-04-04 18:26:35 -04:00
Michael R Sweet
3befcf2fd5 Fix warning about shadowed loop variable. 2025-04-04 18:17:04 -04:00
Michael R Sweet
3b2f7e21d9 Prep for 1.5.1 release. v1.5.1 2025-03-28 14:39:59 -04:00
Michael R Sweet
7e01069c5a Fix UTF-16 LE support (Issue #112) 2025-03-28 14:29:24 -04:00
Michael R Sweet
88839ccb56 Fix UTF-16 LE support (Issue #112) 2025-03-28 14:28:43 -04:00
Michael R Sweet
ebd5aab39b Fix handling of 0-length streams (Issue #111) 2025-03-27 12:44:42 -04:00
Michael R Sweet
71d33c03ff Add PDF merge example. 2025-03-27 11:48:41 -04:00
Michael R Sweet
cfe91b4ea2 Fix output of special characters in name values (Issue #106)
Fix output of special characters in string values (Issue #107)
Fi output of large integers in dictionaries (Issue #108)

Bump version to 1.5.1.
2025-03-24 18:33:24 -04:00
Michael R Sweet
458f366d78 Fix some Unicode font embedding issues:
- Reworked Widths array compression for CID fonts to require at least 4 repeated
  widths.
- Fixed the embedded CMap for Unicode fonts.
v1.5.0
2025-03-06 17:09:27 -05:00