Michael R Sweet
a83f7f50ff
Allow extra whitespace/newlines after stream tokens (Issue #40 )
2023-10-02 05:06:33 -04:00
Michael R Sweet
e138232a93
Fix build error due to mismatched function declarations.
2023-03-20 08:19:31 -04:00
Michael R Sweet
4f10021e7e
Fix denial-of-service attack when reading corrupt PDF files.
2023-02-03 20:39:04 -05:00
Michael R Sweet
599640eda1
Update makefile to be silent with basic progress reporting.
2022-08-02 09:41:13 -04:00
Jake Leahy
1ed7f0089c
Update Makefile
2022-06-09 14:33:53 +10:00
Michael R Sweet
316b0ad559
Add pdfioFileCreateTemporary function (Issue #29 )
2022-05-15 22:52:53 -04:00
Michael R Sweet
54578144a0
Update documentation and prep for 1.0.1 release.
2022-03-02 09:30:01 -05:00
Michael R Sweet
93a3fcea6c
Add missing pdfioPageGetNumStreams and pdfioPageOpenStream functions.
...
Add initial version of pdfiototext text extraction utility.
2022-02-28 15:00:25 -05:00
Michael R Sweet
bd2f9d44d4
Prep for 1.0.0 release.
2021-12-14 12:36:33 -05:00
Michael R Sweet
019c05d04a
Fix AFL target, remove excess PDF test files.
2021-11-30 08:13:41 -05:00
Michael R Sweet
7ab550254a
Add AFL make target (runs for 10 minutes).
2021-11-29 20:59:30 -05:00
Michael R Sweet
001dcbb123
Fix testpdfio build - dependencies on pdfio-private.h were missing.
2021-11-29 17:57:49 -05:00
Michael R Sweet
a431d7806f
Fix a few stack/buffer overflow bugs discovered by Bart, Steffan, and Mark from
...
the Radboud University NL (thanks!)
- Add depth argument to all value read functions that recurse
- Add depth argument to page tree loading code
- Validate xref stream sizes individually to avoid out-of-bounds access to local
xref buffer.
2021-11-29 17:46:56 -05:00
Michael R Sweet
1d5310a5f3
Bump version to 1.0b2.
2021-11-07 11:15:35 -05:00
Michael R Sweet
895738682e
Update DLL exports file.
2021-10-25 21:39:44 -04:00
Michael R Sweet
e2b33a6cbb
Merge branch 'master' into crypto
2021-10-25 21:25:12 -04:00
Michael R Sweet
45c5a00252
Update Windows DLL exports file.
2021-10-24 11:05:33 -04:00
Michael R Sweet
095a4c10d4
Fix some memory leaks (Issue #23 )
2021-10-16 00:02:31 -04:00
Michael R Sweet
f3689d6b3d
Fix all-shared on Linux (Issue #22 )
2021-10-15 19:32:08 -04:00
Michael R Sweet
e031254531
Fix 'all-shared' target.
2021-10-13 17:15:59 -04:00
Michael R Sweet
493fbca31c
Save work on unit tests for crypto. RC4 and AES are having trouble for some reason...
2021-10-12 17:11:10 -04:00
Michael R Sweet
2245c9d4f5
Move AES code to separate file, prep private API for making keys/contexts/callbacks for encryption.
2021-10-09 10:49:22 -04:00
Michael R Sweet
9c05f802fc
Add SHA-256 code from RFC 6234.
2021-10-08 18:55:25 -04:00
Michael R Sweet
7fe093f3bd
Save work on AES and RC4.
2021-10-04 21:13:01 -04:00
Michael R Sweet
76b2faee0e
Add EPUB book cover.
2021-09-27 10:02:10 -04:00
Michael R Sweet
d6746c08a4
Add pdfioFileCreateOutput API (Issue #21 )
2021-09-27 07:41:50 -04:00
Michael R Sweet
94c09a1af4
Add missing symbols.
2021-07-26 11:56:59 -04:00
Michael R Sweet
dd81069b1c
Add Windows DLL exports file.
2021-07-26 11:18:36 -04:00
Michael R Sweet
87b9ea87ad
Save work on documentation.
2021-07-24 13:08:46 -04:00
Michael R Sweet
b007156c01
Save work on documentation tweaking.
2021-07-18 10:01:43 -04:00
Michael R Sweet
30343cdb00
Info catalog accessors (Issue #9 )
2021-07-06 20:31:30 -04:00
Michael R Sweet
bbdf0cdb18
Add proper TrueType font support (Issue #2 )
...
Still need to implement proper Unicode support (currently only writes WinAnsi
font descriptor and handles UTF-8 for 0-255...)
2021-06-17 10:18:55 -04:00
Michael R Sweet
38557db43e
Add clang and cppcheck.
2021-05-30 12:51:26 -04:00
Michael R Sweet
9f0346df6d
Add math library.
2021-05-30 10:27:00 -04:00
Michael R Sweet
246c2e4b41
Rename as PDFio for consistency.
...
Add PDFio logo image.
Move documentation to "doc" subdirectory.
2021-05-30 07:10:44 -04:00
Michael R Sweet
10ab119922
Initial documentation.
2021-05-29 21:21:45 -04:00
Michael R Sweet
a18b8fd606
Switch to using double for numbers, since they are also used to record lengths
...
and other potentially large contents.
2021-05-29 21:16:21 -04:00
Michael R Sweet
35d22705fa
Implement pdfioObjCopy and pdfioPageCopy, with tests.
2021-05-29 20:00:48 -04:00
Michael R Sweet
fb853dadda
Fix some issues with the core file writing code.
...
Add test images to the unit tests.
2021-05-28 10:41:21 -04:00
Michael R Sweet
eb4477ce9b
Add content convenience functions.
2021-05-24 19:33:40 -04:00
Michael R Sweet
4abb91ca24
Save work on loading object dictionaries - have a memory issue someplace.
2021-05-04 21:31:58 -04:00
Michael R Sweet
59ef6b48ed
Add some debug output, "debug" make target.
...
Fix loading of dicts, trailer.
2021-05-04 12:59:10 -04:00
Michael R Sweet
e107b94c83
Work on token parsing.
2021-05-01 17:50:52 -04:00
Michael R Sweet
98c48e66c2
Add string array, have the pdfio_file_t object manage allocated data.
2021-04-25 11:28:56 -04:00
Michael R Sweet
c2610f2dd0
Fill out basic API functions.
2021-04-16 20:41:46 -04:00
Michael R Sweet
6092d261a7
Save work on fleshing out public API.
2021-04-12 08:09:25 -04:00
Michael R Sweet
8f6db46489
Install documentation to .../doc/pdfio.
2021-04-10 08:06:37 -04:00
Michael R Sweet
7a6659038b
Initial checkin.
2021-04-10 08:00:52 -04:00