Michael R Sweet
b3aaf2e70f
Initial GIF support (Issue #145 )
2026-01-18 10:31:50 -05:00
Michael R Sweet
4e9ec397f1
Implement pdfioPageGetXxx functions (Issue #150 )
2026-01-16 20:54:02 -05:00
Michael R Sweet
aac04a2a96
Fix repaired xref stream offsets and support indirect Contents arrays for pages.
2026-01-16 16:54:37 -05:00
Michael R Sweet
65098b5509
Fix implementation of LZWDecode filter to account for the EarlyChange parameter
...
(somewhat buried, very frustrating...)
Add some debugging and update the test suite to find page metadata in any parent
page object.
2026-01-16 15:57:43 -05:00
Michael R Sweet
09520d250f
Add support for LZWDecode filter, needs more testing (Issue #11 )
2026-01-16 09:53:51 -05:00
Michael R Sweet
c92546ed94
More test suite tweaking.
2026-01-13 10:34:38 -05:00
Michael R Sweet
07c6005fad
Add some guards to make sure you don't accidentally overwrite existing PDF files with testpdfio...
2026-01-11 14:33:19 -05:00
Michael R Sweet
68dda34448
Fix an error propagation bug in _pdfioValueCopy (Issue #146 )
2026-01-06 11:18:52 -05:00
Michael R Sweet
5032ce926e
Fix some clang warnings.
...
Update Xcode project to use installed PNG library.
2025-11-10 16:14:21 -05:00
Michael R Sweet
1b82f141e7
Clean up PDF/A test pages and fix image object names.
2025-10-05 18:28:58 -04:00
Michael R Sweet
5699a52127
Fix test suite failure caused by migration of metadata for PDF 2.0.
2025-10-05 18:14:23 -04:00
Michael R Sweet
26a92febc6
Cleanup PR for PDF/A support and add documentation (Issue #122 )
2025-10-05 15:19:15 -04:00
vididvidid
c319f5a047
not printing whole pdf file name but only the pdfversion
2025-10-02 05:16:03 +00:00
vididvidid
6e98635d91
moved the do pdfa test after the closing of inpdf
2025-10-02 05:07:30 +00:00
vididvidid
04c52a74f6
used or assignment to clearly update the status
2025-10-02 04:57:16 +00:00
vididvidid
c603a4e2b0
renamed the filename to testpdfio-pdfa-rc4.pdf and updated message clearly encryption allowed on pdf/a files
2025-10-02 04:53:19 +00:00
vididvidid
66f0c84621
renamed the test pdfa files to testpdfio-pdfa-
2025-10-02 04:46:03 +00:00
vididvidid
98f6b90b53
removed text[256] which is now being unused because we removed the snprintf
2025-10-02 04:43:55 +00:00
vididvidid
c1ecf3a1ed
used pdfioContentTextShow instead of snprintf
2025-10-02 04:42:29 +00:00
vididvidid
71790bb6c4
added the unit testcases for the pdfa feature in the testpdfio and removed the custom one
2025-10-01 07:38:54 +00:00
Michael R Sweet
fe122d557b
Resolve clang warnings, update Xcode project.
2025-09-25 17:12:33 -04:00
Michael R Sweet
278ddb7fa7
Clarify error callback API, and actually use the return value.
...
Improve repair implementation.
2025-04-23 14:43:14 -04:00
Michael R Sweet
09ee7d16c1
More test program cleanup to use test header.
2025-04-18 18:08:37 -04:00
Michael R Sweet
078985fc20
Try to eliminate more Windows build warnings.
2025-04-18 17:58:06 -04:00
Michael R Sweet
1393cd6c04
Hopefully fix Windows build issues.
2025-04-18 17:07:53 -04:00
Michael R Sweet
b278e33aac
Update unit test program to use test header.
2025-04-18 11:27:12 -04:00
Michael R Sweet
1116e929f7
Add pdfioFileGet/SetLanguage functions (Issue #124 )
2025-04-13 20:21:23 -04:00
Michael R Sweet
b81d01f319
Fix builds without libpng.
2025-02-11 22:59:23 -05:00
Michael R Sweet
1b35321615
Add PngSuite to testpdfio (Issue #90 )
2025-02-11 22:54:59 -05:00
Michael R Sweet
138f3955d1
Add --password option to PDFio test program.
2024-08-19 17:12:16 -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
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
b117959725
Make sure all output code paths set the locale information (Issue #61 )
2024-01-27 19:23:51 -05:00
Michael R Sweet
34dbf6c2fe
Documentation cleanup.
2023-12-05 13:49:58 -05:00
Michael R Sweet
c188cb8dad
Finish implementation of pdfioContentTextMeasure (Issue #17 )
2023-12-04 21:20:51 -05:00
Michael R Sweet
088646e1cf
Drop the FEFF prefix on Unicode strings.
2023-11-19 07:30:17 -05:00
Michael R Sweet
d36df63b57
Fix a TrueType CMAP decoding bug and add a NotoSans-Regular test page.
2023-11-18 22:15:52 -05:00
Michael R Sweet
600fa4ce59
Fix Unicode font handling (Issue #16 )
2023-11-14 18:19:34 -05:00
Michael R Sweet
858cc101b6
Save work.
2023-11-13 13:39:06 -05:00
Michael R Sweet
35c674b633
Fix another build issue.
2023-03-20 10:11:05 -04:00
Michael R Sweet
a3f3bbfe11
Fix pdfioFileGetAuthor, etc. APIs (Issue #33 )
2022-07-12 18:36:08 -04:00
Michael R Sweet
067683cbcd
Add some protection against opening multiple streams in the same file at the same time.
2022-07-04 13:03:11 -04:00
Michael R Sweet
f4b8983c61
Implement pdfioDictIterateKeys API (Issue #31 )
2022-06-27 10:17:00 -04:00
Michael R Sweet
316b0ad559
Add pdfioFileCreateTemporary function (Issue #29 )
2022-05-15 22:52:53 -04: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
90ad1e694a
Fix early closing of input PDF.
2021-10-25 21:36:01 -04:00
Michael R Sweet
e2b33a6cbb
Merge branch 'master' into crypto
2021-10-25 21:25:12 -04:00
Michael R Sweet
038046e6d5
Save work on encrypted PDF reading.
2021-10-25 19:36:39 -04:00
Michael R Sweet
dd56317635
Need object when reading/writing encrypted PDFs (to decrypt/encrypt strings),
...
RC4 writing is now working, AES-128 needs work, AES-256 hasn't been done yet.
2021-10-23 18:08:16 -04:00
Michael R Sweet
19571d00f2
Fix AES cipher implementation.
...
Update test program to validate the key expansion using the FIPS-197 example.
Add password-protected RC4 test output.
Add no-password AES-128 test output.
2021-10-23 00:07:13 -04:00