Commit Graph

  • b005175003 Doco updates. Michael R Sweet 2021-06-07 17:06:13 -04:00
  • a698b9c1a2 API cleanup, more work on documentation. Michael R Sweet 2021-06-07 08:34:30 -04:00
  • c158587070 Fix issues with grayscale PNG images. Michael R Sweet 2021-06-06 00:27:33 -04:00
  • bbd0b854b7 Initial PNG support and test files. Michael R Sweet 2021-06-05 22:56:05 -04:00
  • 1ea2b7514a Rework the color space support. Michael R Sweet 2021-06-05 11:28:32 -04:00
  • 3a133bd1c0 Fix one more resource leak found by Coverity. Michael R Sweet 2021-06-04 11:09:34 -04:00
  • 07b9ce80bb Fix one more resource leak found by Coverity. Michael R Sweet 2021-06-04 11:07:27 -04:00
  • b0d3080ffe Resolve clang warning. Michael R Sweet 2021-06-04 11:03:24 -04:00
  • 88bf3e710f Update Cppcheck exclusions. Michael R Sweet 2021-06-04 11:03:15 -04:00
  • ee5fcc2a4a Fix Coverity-discovered issues. Michael R Sweet 2021-06-04 10:56:23 -04:00
  • caf398d72c Add pdfioImageGetBytesPerLine API, document its use for image streams. Michael R Sweet 2021-06-04 10:33:39 -04:00
  • 3ec771e688 Add read-back tests. Michael R Sweet 2021-06-02 15:46:39 -04:00
  • 3c034eb919 Fix remaining PNG predictors. Michael R Sweet 2021-06-01 19:29:48 -04:00
  • d30579f905 Add badges. Michael R Sweet 2021-06-01 18:36:22 -04:00
  • 3efb4f800b Fix PNG predictor 12, 14, and 15. Michael R Sweet 2021-06-01 17:48:36 -04:00
  • 2856b440d1 Add PNG predictor test page (yes, we have problems) Michael R Sweet 2021-06-01 17:10:36 -04:00
  • 97846e0f34 Remove TODO file, everything converted to Github issues. Michael R Sweet 2021-06-01 08:53:55 -04:00
  • cc250e7201 Fix more of the text output code (paren handling). Michael R Sweet 2021-05-31 21:34:53 -04:00
  • 05df5919cd Save work on text tests. Michael R Sweet 2021-05-31 20:51:37 -04:00
  • 82e62ae852 Basic text support. Michael R Sweet 2021-05-31 19:41:02 -04:00
  • c4e0421f62 Implement calibrated color support, including constants for a few standard color spaces and a new color patch test page. Michael R Sweet 2021-05-31 09:31:00 -04:00
  • 627b04d9f0 Only use cppcheck on Linux. Michael R Sweet 2021-05-30 12:58:36 -04:00
  • 0d1c0cbb14 Fix clang/cppcheck commands. Michael R Sweet 2021-05-30 12:56:00 -04:00
  • 1f0ca4fd5b Install cppcheck Michael R Sweet 2021-05-30 12:54:15 -04:00
  • 38557db43e Add clang and cppcheck. Michael R Sweet 2021-05-30 12:51:26 -04:00
  • 9f0346df6d Add math library. Michael R Sweet 2021-05-30 10:27:00 -04:00
  • 28b3fa5bab Fix CI build flags. Michael R Sweet 2021-05-30 10:25:40 -04:00
  • 1967974f00 Add Github workflow/sponsor info. Michael R Sweet 2021-05-30 10:22:56 -04:00
  • 281f36cca4 Update logo. Michael R Sweet 2021-05-30 09:07:50 -04:00
  • e8bcde9cba Update name in README. Michael R Sweet 2021-05-30 07:43:35 -04:00
  • 246c2e4b41 Rename as PDFio for consistency. Michael R Sweet 2021-05-30 07:10:44 -04:00
  • 8bc538cc91 Update docos. Michael R Sweet 2021-05-29 21:27:49 -04:00
  • 10ab119922 Initial documentation. Michael R Sweet 2021-05-29 21:21:45 -04:00
  • a18b8fd606 Switch to using double for numbers, since they are also used to record lengths and other potentially large contents. Michael R Sweet 2021-05-29 21:16:21 -04:00
  • 35d22705fa Implement pdfioObjCopy and pdfioPageCopy, with tests. Michael R Sweet 2021-05-29 20:00:48 -04:00
  • 37842066c6 Add test fonts for future use. Michael R Sweet 2021-05-29 20:00:35 -04:00
  • f1fb09c6c0 Switch back to compressed page content streams. Michael R Sweet 2021-05-28 22:24:39 -04:00
  • 94cb915885 Fix xref table - wrong total number of objects. Michael R Sweet 2021-05-28 22:05:44 -04:00
  • fb853dadda Fix some issues with the core file writing code. Michael R Sweet 2021-05-28 10:41:21 -04:00
  • 9cf024c1ce Move test PDF file to new testfiles subdirectory. Michael R Sweet 2021-05-28 09:31:42 -04:00
  • 128d5f0d42 Implement JPEG image object support. Michael R Sweet 2021-05-25 16:31:32 -04:00
  • eb4477ce9b Add content convenience functions. Michael R Sweet 2021-05-24 19:33:40 -04:00
  • 0ae8ddc515 Save work. Michael R Sweet 2021-05-18 19:08:50 -04:00
  • 45899f8a8d Default CropBox should be the full MediaBox. Michael R Sweet 2021-05-16 18:31:45 -04:00
  • 35ea209c73 Initial unit tests for writing a PDF file. Michael R Sweet 2021-05-16 12:36:44 -04:00
  • 548ff7d119 Initial writing support. Michael R Sweet 2021-05-16 11:39:05 -04:00
  • 4bb81417a8 Start fleshing out writing/copying interfaces. Michael R Sweet 2021-05-15 09:29:37 -04:00
  • 17f2cc213e Implement object mapping framework. Michael R Sweet 2021-05-13 13:18:01 -04:00
  • 7cb4d0a557 Update TODOs. Michael R Sweet 2021-05-10 21:33:26 -04:00
  • b030c24ba1 Add pdfioObjGetArray. Michael R Sweet 2021-05-10 21:01:02 -04:00
  • 18853ca3d5 Increase token buffer to 256 bytes, to avoid overflow scenarios. Michael R Sweet 2021-05-10 17:37:57 -04:00
  • cfb5ca0ddc Rework error/debug output. Michael R Sweet 2021-05-10 08:40:52 -04:00
  • 67ed214c59 Restructure unit test program to include unit tests and alternate error handling. Michael R Sweet 2021-05-10 08:00:27 -04:00
  • af8c731699 Update token reader to handle balanced parens and to allow arbitrary backslash escapes. Michael R Sweet 2021-05-09 21:32:09 -04:00
  • 5f43761537 Initial support for reading pages dictionary. Michael R Sweet 2021-05-08 22:50:18 -04:00
  • e1c145b10a Defer loading the Root, Info, and Encrypt objects until we have loaded all of the xref tables. Michael R Sweet 2021-05-08 22:05:40 -04:00
  • 4e4c47ab33 Add pdfioObjGetLength function. Michael R Sweet 2021-05-08 19:16:27 -04:00
  • f8f048b87a Implement Paeth predictor. Michael R Sweet 2021-05-08 19:04:42 -04:00
  • 979ccf19ff Fix pdfioFileFindObject, fix cross-reference streams, implement support for compressed object streams. Michael R Sweet 2021-05-08 11:21:49 -04:00
  • 9a919d478f Rework token reading to be separate from the PDF file so we can add support for compressed object streams. Michael R Sweet 2021-05-08 07:38:44 -04:00
  • 923409ceff Save work on PNG predictors. Apparently object streams are also a common thing for newer Acrobat so we'll need to implement those, too. Michael R Sweet 2021-05-07 19:51:38 -04:00
  • 44325ce2d9 Safe work on streams - still need to implement predictors Michael R Sweet 2021-05-07 08:47:49 -04:00
  • c61d6ad686 Save work on streams. Michael R Sweet 2021-05-06 16:07:58 -04:00
  • d2a0484d93 Rework debug functions, start xref stream support. Michael R Sweet 2021-05-06 09:51:48 -04:00
  • c0b18a7e4f Fix pdfioStringCreate - was returning a char ** instead of a char *, causing crashes/corruption. Michael R Sweet 2021-05-05 13:51:42 -04:00
  • 4abb91ca24 Save work on loading object dictionaries - have a memory issue someplace. Michael R Sweet 2021-05-04 21:31:58 -04:00
  • 7afdfc725c Implement object loading. Michael R Sweet 2021-05-04 17:04:09 -04:00
  • 7733fbeb10 Rework object and xref processing to allow for sparse object lists and generation numbers. Michael R Sweet 2021-05-04 16:06:14 -04:00
  • 6287ede911 Update TODO. Michael R Sweet 2021-05-04 13:02:08 -04:00
  • 59ef6b48ed Add some debug output, "debug" make target. Michael R Sweet 2021-05-04 12:59:10 -04:00
  • 516c6b9ace Load trailer dict. Michael R Sweet 2021-05-04 12:24:29 -04:00
  • a5468b1b87 Implement value/array/dict reading, refactor indirect references. Michael R Sweet 2021-05-04 10:34:17 -04:00
  • e6a6ed708a Update todo Michael R Sweet 2021-05-02 09:59:53 -04:00
  • d54dcb1f01 Update readme docos/requirements. Michael R Sweet 2021-05-02 09:59:51 -04:00
  • 9f15e7397c Add start of FAQ. Michael R Sweet 2021-05-02 09:59:33 -04:00
  • 4b05ca6436 Token parsing code. Michael R Sweet 2021-05-01 22:38:11 -04:00
  • e107b94c83 Work on token parsing. Michael R Sweet 2021-05-01 17:50:52 -04:00
  • f5f0e190b5 Initial working pdfioFileOpen, test program. Michael R Sweet 2021-05-01 11:50:17 -04:00
  • d13364a4fd Implement pdfioFileOpen reading of xref table. Michael R Sweet 2021-05-01 11:41:43 -04:00
  • ab740207a5 Add a simple PDF test document. Michael R Sweet 2021-05-01 09:29:10 -04:00
  • fd4c2c0728 Update README to talk about Xcode project. Michael R Sweet 2021-05-01 07:43:39 -04:00
  • e6dbb256f1 Add an Xcode project and fix some Clang-reported issues. Michael R Sweet 2021-05-01 07:36:19 -04:00
  • 8031e31abb Do some cleanup for the array copy implmentation. Michael R Sweet 2021-04-30 08:21:21 -04:00
  • 9610892dd7 Implement binary string support in arrays, copy method. Michael R Sweet 2021-04-30 08:02:54 -04:00
  • f5c9aef7da Finish value copy, delete, and write methods. Michael R Sweet 2021-04-30 07:42:25 -04:00
  • 3a80327646 Stub stream implementations. Michael R Sweet 2021-04-30 07:06:56 -04:00
  • e2e2192ea9 Save work. Michael R Sweet 2021-04-27 21:22:34 -04:00
  • 11588ce2f5 Save work on low-level file I/O. Michael R Sweet 2021-04-26 10:42:01 -04:00
  • 253717248c pdfio_dict_t implementation Michael R Sweet 2021-04-25 20:12:52 -04:00
  • 2f928f67f5 Save pdfio_array_t implementation. Michael R Sweet 2021-04-25 18:12:24 -04:00
  • 98c48e66c2 Add string array, have the pdfio_file_t object manage allocated data. Michael R Sweet 2021-04-25 11:28:56 -04:00
  • 899feb15c7 Start filling out internal APIs. Michael R Sweet 2021-04-16 21:09:43 -04:00
  • c2610f2dd0 Fill out basic API functions. Michael R Sweet 2021-04-16 20:41:46 -04:00
  • 4a33f3f6f1 Save work. Michael R Sweet 2021-04-12 16:15:08 -04:00
  • 3048cdd9e6 pdfioObjectClose to finalize a created object without a stream. Michael R Sweet 2021-04-12 08:26:58 -04:00
  • 6092d261a7 Save work on fleshing out public API. Michael R Sweet 2021-04-12 08:09:25 -04:00
  • 8f6db46489 Install documentation to .../doc/pdfio. Michael R Sweet 2021-04-10 08:06:37 -04:00
  • 7a6659038b Initial checkin. Michael R Sweet 2021-04-10 08:00:52 -04:00