Commit Graph

411 Commits

Author SHA1 Message Date
ThePhatak
853fa4fe8f
Update pdfio.md 2024-10-14 13:14:59 +05:30
ThePhatak
2cadfd8a1e
Update pdfio.md 2024-10-14 13:10:57 +05:30
ThePhatak
f5d40a305e
Update pdfio.md 2024-10-14 13:09:13 +05:30
ThePhatak
eb5be57b4a
Update pdfio.md
basics of pdf file
2024-10-14 13:06:06 +05:30
ThePhatak
3de47ea63d
Update pdfio.md
update documentation
2024-10-14 12:43:40 +05:30
Michael R Sweet
8f2c47cb07
Make sure memory is freed on error conditions. 2024-10-09 15:32:48 -04:00
Michael R Sweet
74dfefdcc1
Update documentation (Issue #77)
- Explain pdfioObjGetSubtype and pdfioObjGetType values
- Provide example code and documentation for accessing common page object values
2024-10-09 15:07:57 -04:00
Michael R Sweet
206f75403a
Add debug printfs. 2024-08-26 09:19:34 -04:00
Michael R Sweet
7d22477917
Fix opening of certain encrypted PDF files (Issue #62) 2024-08-21 11:28:39 -04:00
Michael R Sweet
7c3651671b
Add NULL checks in the private debug APIs that testpdfio calls. 2024-08-21 09:22:58 -04:00
Michael R Sweet
6cb661f0f4
Cleanup changelog. 2024-08-21 08:25:11 -04:00
Michael R Sweet
7e01451b18
Merge 0-character font fix from TTF. 2024-08-21 08:22:31 -04:00
Michael R Sweet
138f3955d1
Add --password option to PDFio test program. 2024-08-19 17:12:16 -04:00
Michael R Sweet
82844ad2ce
Merge TTF v1.0.0 source files. 2024-08-19 16:59:00 -04:00
Michael R Sweet
d7cce4dfbc
Merge TTF v1.0.0 source files. 2024-08-19 16:58:38 -04:00
Michael R Sweet
1cec42f399
Bump version to 1.3.2. 2024-08-09 10:55:32 -04:00
Michael R Sweet
f3f70e7877
Merge some TTF sanity check fixes from the TTF project. 2024-08-09 10:54:28 -04:00
Michael R Sweet
90923c3818
Update DLL exports. 2024-08-05 21:55:32 -04:00
Michael R Sweet
986cc512cd
Bump NuGet project versions. 2024-08-05 21:50:18 -04:00
Michael R Sweet
c35ddbec00
Changelog 2024-08-05 21:49:26 -04:00
Michael R Sweet
e4e1c39578
Merge commit from fork
Add range checking to TTF loader.
2024-08-05 21:47:48 -04:00
Michael R Sweet
1d4f77cab1
Add examples to documentation (Issue #69) 2024-08-05 21:44:56 -04:00
Michael R Sweet
b035130cde
Merge pull request #68 from devnibo/master
Update documentation
2024-08-05 19:56:40 -04:00
Michael R Sweet
d6d5813b04
Update changelog with CVE number. 2024-08-05 16:34:12 -04:00
Michael R Sweet
6492f210cf
Bump version and changelog. 2024-08-05 10:23:51 -04:00
Michael R Sweet
207062a996
Add size limiting for num_cmap and nGlyphs. 2024-08-05 10:16:00 -04:00
devnibo
7d37abb0df Update documentation 2024-07-07 16:35:56 +02:00
Michael R Sweet
0c1122b689
Prep for release. 2024-06-28 19:06:44 -04:00
Michael R Sweet
d4f8dd46b5 Add Windows test script. 2024-06-28 19:00:51 -04:00
Michael R Sweet
986c5f0438
Update docos. 2024-06-24 11:51:50 -04:00
Michael R Sweet
a81907bdb9
Refactor get_info_string to rely on pdfioDictGetString to convert binary strings to regular ones. 2024-06-24 11:49:38 -04:00
Michael R Sweet
63a7a2cdbd
Add unit tests for new pdfioFileGetCatalog API (Issue #67)
Fix pdfioDictGetString to convert (formerly) encrypted binary strings to
regular strings.
2024-06-24 11:46:15 -04:00
Michael R Sweet
f040cc41c2
Add #define guard to allow MingW to build PDFio; note that MingW is NOT a supported toolchain for PDFio (Issue #66) 2024-06-24 09:03:46 -04:00
Michael R Sweet
23883268e3
Add pdfioFileGetCatalog function (Issue #67)
Refactor the pdfioFileCreateXxx functions to use a common (private) function to
handle creating/initializing the pdfio_file_t object and base file objects.

Update unit tests to display the filename for the pdfioFileClose test.
2024-06-24 08:56:16 -04:00
Michael R Sweet
a1e14503fd
Bump version in other files, update makesrcdist to support checking. 2024-06-24 07:28:54 -04:00
Michael R Sweet
0766869ad1
Bump version to 1.3.0. 2024-06-24 07:12:01 -04:00
Michael R Sweet
6c1db141a1
Switch string pool code to an insertion sort - provides a modest 25% improvement
to open speeds on typical files.
2024-01-27 20:58:50 -05:00
Michael R Sweet
b117959725
Make sure all output code paths set the locale information (Issue #61) 2024-01-27 19:23:51 -05:00
Michael R Sweet
e882622233
Fix locale support (Issue #61) 2024-01-27 18:22:16 -05:00
Michael R Sweet
c13b5a5e90
Bump version. 2024-01-27 18:20:36 -05:00
Michael R Sweet
cd1406e158
Update docos.
Fix static library build commands - remove archive before building it fresh.
2024-01-24 11:03:58 -05:00
Michael R Sweet
59deee020a
Fix some Clang warnings. 2024-01-24 10:58:11 -05:00
Michael R Sweet
476013706e
Prep for 1.2.0 release, bump copyright. 2024-01-24 10:53:53 -05:00
Michael R Sweet
a43a9d9e32
Fix whitespace. 2023-12-18 10:04:24 -05:00
Michael R Sweet
abc69b3361
Save work. 2023-12-18 10:04:00 -05:00
Michael R Sweet
83bfb135c6
Add some more debug printfs, relocate extra newline detection after stream
token.
2023-12-15 12:57:31 -05:00
Michael R Sweet
2dfb560f8b
Add more debug logging. 2023-12-14 17:05:10 -05:00
Michael R Sweet
7330cc35ba
Defer object/value decryption to after the object is loaded (Issue #42) 2023-12-14 16:02:26 -05:00
Michael R Sweet
5d760e7315
Update some debug printfs. 2023-12-13 12:48:31 -05:00
Michael R Sweet
2a85baaf81
Increase the maximum number of object streams in a file (Issue #58) - most files
only contain 1 or 2...

Change the implementation of add/find object to use a custom binary insertion
sort algorithm rather than doing a qsort after every addition.  This results in
a significant improvement in open speed - from 2371 seconds (about 39.5 minutes)
to 3.1 seconds for one large test file (an ESRI standard).
2023-12-13 12:26:25 -05:00