Commit Graph

  • fafe24bdb6 Fix Windows builds. Michael R Sweet 2021-10-26 07:12:41 -04:00
  • b865390b5d Update docos. Michael R Sweet 2021-10-25 22:00:25 -04:00
  • 1d1ff88ebc Merge pull request #26 from michaelrsweet/crypto Michael R Sweet 2021-10-25 21:56:58 -04:00
  • 8dfc2c6045 Fix LGTM issues. Michael R Sweet 2021-10-25 21:43:32 -04:00
  • 895738682e Update DLL exports file. Michael R Sweet 2021-10-25 21:39:44 -04:00
  • 90ad1e694a Fix early closing of input PDF. Michael R Sweet 2021-10-25 21:36:01 -04:00
  • e2b33a6cbb Merge branch 'master' into crypto Michael R Sweet 2021-10-25 21:25:12 -04:00
  • 790cd440ea Fix up copying objects from unencrypted to AES-encrypted documents (still looks like there are some issues with strings in dicts) Michael R Sweet 2021-10-25 21:22:59 -04:00
  • 038046e6d5 Save work on encrypted PDF reading. Michael R Sweet 2021-10-25 19:36:39 -04:00
  • 45c5a00252 Update Windows DLL exports file. Michael R Sweet 2021-10-24 11:05:33 -04:00
  • 7e9c0afc23 Update summary text. Michael R Sweet 2021-10-24 11:03:19 -04:00
  • 234c3a7381 Do some reorganization and start the implementation of decryption. Michael R Sweet 2021-10-24 10:59:25 -04:00
  • b7ecaeee07 Implement partial write buffering for AES. Michael R Sweet 2021-10-23 20:33:12 -04:00
  • 208c3419ff Fix AES-128 writing/encryption. Michael R Sweet 2021-10-23 20:09:02 -04:00
  • 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. Michael R Sweet 2021-10-23 18:08:16 -04:00
  • 3af39d5d1f Update crypto callback to return the number of output bytes (to account for AES expansion). Michael R Sweet 2021-10-23 14:37:25 -04:00
  • 19571d00f2 Fix AES cipher implementation. Michael R Sweet 2021-10-23 00:07:13 -04:00
  • af13376e6d Update docos. Michael R Sweet 2021-10-18 23:08:13 -04:00
  • 22c245ffd1 Update pdfioContentSetDashPattern to accept doubles (Issue #25) Michael R Sweet 2021-10-16 09:41:19 -04:00
  • 095a4c10d4 Fix some memory leaks (Issue #23) Michael R Sweet 2021-10-16 00:02:31 -04:00
  • f3689d6b3d Fix all-shared on Linux (Issue #22) Michael R Sweet 2021-10-15 19:32:08 -04:00
  • ea126c7e8d Save work. Michael R Sweet 2021-10-15 10:40:42 -04:00
  • e031254531 Fix 'all-shared' target. Michael R Sweet 2021-10-13 17:15:59 -04:00
  • 493fbca31c Save work on unit tests for crypto. RC4 and AES are having trouble for some reason... Michael R Sweet 2021-10-12 17:11:10 -04:00
  • c24243a2bc Refactor crypto callback to have separate input/output pointers. Add initial writing support. Michael R Sweet 2021-10-12 09:13:30 -04:00
  • 0caea44f32 Implement MakeReader/Writer functions. Michael R Sweet 2021-10-10 23:08:56 -04:00
  • 3de55421b5 New member names to specify type of value. Michael R Sweet 2021-10-10 22:40:42 -04:00
  • 61a7964d90 Implement pdfioFileSetPermissions. Michael R Sweet 2021-10-10 22:27:09 -04:00
  • 37e80d67b1 Use new random number function to generate file IDs. Michael R Sweet 2021-10-09 23:10:46 -04:00
  • 953de26f6b Add random number generation support. Michael R Sweet 2021-10-09 23:05:39 -04:00
  • 2245c9d4f5 Move AES code to separate file, prep private API for making keys/contexts/callbacks for encryption. Michael R Sweet 2021-10-09 10:49:22 -04:00
  • 27e4ce9f42 Update Xcode project to build the SHA-256 code. Michael R Sweet 2021-10-08 21:14:11 -04:00
  • 9c05f802fc Add SHA-256 code from RFC 6234. Michael R Sweet 2021-10-08 18:55:25 -04:00
  • 8aef2bfedd Fix warnings, update Xcode project. Michael R Sweet 2021-10-08 14:08:07 -04:00
  • f425952f36 Tweak coverity Github Actions. Michael R Sweet 2021-10-05 18:37:16 -04:00
  • 0c6b8f49d2 Tweak coverity Github Actions. Michael R Sweet 2021-10-05 18:26:51 -04:00
  • 8ad699c93a Tweak coverity Github Actions. Michael R Sweet 2021-10-05 18:21:37 -04:00
  • a259c3a6b9 Tweak coverity Github Actions. Michael R Sweet 2021-10-05 18:19:58 -04:00
  • 0ec1dd936f Tweak coverity Github Actions. Michael R Sweet 2021-10-05 18:17:49 -04:00
  • 1d63c6edd6 Add prototype coverity Github Actions integration. Michael R Sweet 2021-10-05 18:13:14 -04:00
  • d5173d14da Fix some Coverity-detected issues. Michael R Sweet 2021-10-01 11:38:04 -04:00
  • 1168fd974f Fix pdfio_native.redist package name. Michael R Sweet 2021-09-29 11:48:50 -04:00
  • 5cff1ca13c Bump NuGet versions. Michael R Sweet 2021-09-29 11:05:40 -04:00
  • 835fbda363 Tweak coverity Github Actions. Michael R Sweet 2021-10-05 18:37:16 -04:00
  • 494924a78c Tweak coverity Github Actions. Michael R Sweet 2021-10-05 18:26:51 -04:00
  • f23fd8de59 Tweak coverity Github Actions. Michael R Sweet 2021-10-05 18:21:37 -04:00
  • 3c702096b7 Tweak coverity Github Actions. Michael R Sweet 2021-10-05 18:19:58 -04:00
  • e67866e29d Tweak coverity Github Actions. Michael R Sweet 2021-10-05 18:17:49 -04:00
  • 89d9a7c471 Add prototype coverity Github Actions integration. Michael R Sweet 2021-10-05 18:13:14 -04:00
  • 00fb962e84 Add prototype coverity Github Actions integration. Michael R Sweet 2021-10-05 18:08:07 -04:00
  • fd08ce1b1a Add prototype coverity Github Actions integration. Michael R Sweet 2021-10-05 18:06:03 -04:00
  • 7fe093f3bd Save work on AES and RC4. Michael R Sweet 2021-10-04 21:13:01 -04:00
  • d1e8c966ed Fix some Coverity-detected issues. Michael R Sweet 2021-10-01 11:38:04 -04:00
  • 85bfab49ab Fix pdfio_native.redist package name. Michael R Sweet 2021-09-29 11:48:50 -04:00
  • 768cb33c47 Bump NuGet versions. Michael R Sweet 2021-09-29 11:05:40 -04:00
  • bb91fb4b13 Tweak macOS build command. Michael R Sweet 2021-09-27 10:23:32 -04:00
  • 76b2faee0e Add EPUB book cover. Michael R Sweet 2021-09-27 10:02:10 -04:00
  • 2d90b1325b Ignore new streamed output test file. Michael R Sweet 2021-09-27 08:57:15 -04:00
  • 6b9f4ba8c9 Fix Windows DLL exports file. Michael R Sweet 2021-09-27 08:38:04 -04:00
  • 43239eaf8a Add placeholder password callback to support reading of encrypted PDF files in the future. Michael R Sweet 2021-09-27 08:37:14 -04:00
  • ba9d03ecac Update docos. Michael R Sweet 2021-09-27 08:11:53 -04:00
  • 7473bc3cd9 Add some supporting documentation files. Michael R Sweet 2021-09-27 07:42:19 -04:00
  • d6746c08a4 Add pdfioFileCreateOutput API (Issue #21) Michael R Sweet 2021-09-27 07:41:50 -04:00
  • 9f1cadf78b Add redistributable NuGet package for DLL. Michael R Sweet 2021-09-03 09:13:16 -04:00
  • 760871b8db Update NuGet package info. Michael R Sweet 2021-09-01 17:09:05 -04:00
  • 81d358a6c0 Add ZIP file production. v1.0b1 Michael R Sweet 2021-08-30 16:44:48 -04:00
  • c53ad2a447 Prep for first beta release. Michael R Sweet 2021-08-30 16:31:00 -04:00
  • 3594b9cfcb Update README. Michael R Sweet 2021-08-30 11:24:03 -04:00
  • 320e2ec088 Update docos. Michael R Sweet 2021-08-30 11:22:35 -04:00
  • b07e595579 Bump NuGet package version. Michael R Sweet 2021-08-30 11:19:37 -04:00
  • b2db43afcb Show an error when opening an encrypted PDF file. Michael R Sweet 2021-08-30 11:18:23 -04:00
  • 6aa5585eb4 Fix some compressed stream bugs. Michael R Sweet 2021-08-30 10:55:45 -04:00
  • 6f726602c6 Clean up object stream support. Michael R Sweet 2021-08-29 18:35:23 -04:00
  • f9084400cd Tweak VS properties. Michael R Sweet 2021-08-26 18:56:58 -04:00
  • d76e2a30e1 Tweak for Windows NuGet. Michael R Sweet 2021-08-26 18:55:44 -04:00
  • 3881c2840a Fix NuGet spec file. Michael R Sweet 2021-08-26 14:10:21 -04:00
  • 715b93fb08 Always require zlib. Michael R Sweet 2021-08-26 11:20:37 -04:00
  • 525279eff0 Don't show function name, just filename. Michael R Sweet 2021-08-26 14:00:40 -04:00
  • e83fdf14dd Add zstrerror for ZLIB errors. Michael R Sweet 2021-08-25 09:30:03 -04:00
  • 6d42b6834e Don't try to pre-load object streams since that interferes with reading the rest of an xref stream... Michael R Sweet 2021-08-24 14:07:34 -04:00
  • 6745f785b7 Fix bug with xref stream with no index. Michael R Sweet 2021-08-24 13:49:43 -04:00
  • 4ec19545f3 Update NuGet files. Michael R Sweet 2021-08-24 13:49:21 -04:00
  • 1d1e038694 Add LGTM exclusions file. Michael R Sweet 2021-08-24 12:06:27 -04:00
  • 4f2753faae Fix LGTM warning, report errors to call. Michael R Sweet 2021-08-24 12:04:10 -04:00
  • 6e5cfc1a5f Make object reader handle object headers that don't conform to any of the PDF standards. Michael R Sweet 2021-08-23 19:52:01 -04:00
  • a3de05cf0e Increase size of value buffer. Michael R Sweet 2021-08-23 19:37:33 -04:00
  • 3f2de9c46a Update test program to process all files on the command-line, add a --help and --verbose option, and return the results of the unit tests. Michael R Sweet 2021-08-23 14:40:15 -04:00
  • 543364dfa2 More efficiently implement reading of integers vs. indirect references. Michael R Sweet 2021-08-23 14:31:54 -04:00
  • cd5158bae0 Implement support for multiple index arrays (Issue #8) Michael R Sweet 2021-08-23 14:31:19 -04:00
  • 3e4b01239e Implement TIFF predicator (Issue #12) Michael R Sweet 2021-08-21 22:51:25 -04:00
  • fc028356bc Merge branch 'master' of github.com:michaelrsweet/pdfio Michael R Sweet 2021-08-18 10:17:52 -04:00
  • e71c1a7e5e Don't export color constants since that breaks with DLLs... (Issue #19) Michael R Sweet 2021-08-18 10:17:47 -04:00
  • 2c7d7cf768 Add initial Nuget packaging files. Michael R Sweet 2021-07-30 20:33:21 -04:00
  • ac4620b808 Add nuget resource step. Michael R Sweet 2021-07-26 21:37:06 -04:00
  • d2e8f5e263 Add setup-msbuild step, use msbuild. Michael R Sweet 2021-07-26 20:56:28 -04:00
  • 1d22369c5e Add Windows CI target. Michael R Sweet 2021-07-26 18:42:16 -04:00
  • 21823fb0d9 Add testpdfio target for MSVC. Michael R Sweet 2021-07-26 11:58:20 -04:00
  • 94c09a1af4 Add missing symbols. Michael R Sweet 2021-07-26 11:56:59 -04:00
  • dd81069b1c Add Windows DLL exports file. Michael R Sweet 2021-07-26 11:18:36 -04:00
  • c60893a66c Finish initial documentation pass. Still need more examples but we'll add more as we go... (Issue #6) Michael R Sweet 2021-07-26 09:05:19 -04:00