Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-04-30 | Formatting: remove space in range-style for loops | Jay Berkenbilt | |
Change .clang-format and commit automated changes from a fresh run of format-code | |||
2022-04-30 | Use fluent replaceKey | Jay Berkenbilt | |
2022-04-16 | Use = default and = delete where possible in classes | Jay Berkenbilt | |
2022-04-09 | Replace PointerHolder with std::shared_ptr in the rest of the code | Jay Berkenbilt | |
Increase to POINTERHOLDER_TRANSITION=3 patrepl s/PointerHolder/std::shared_ptr/g **/*.cc **/*.hh patrepl s/make_pointer_holder/std::make_shared/g **/*.cc patrepl s/make_array_pointer_holder/QUtil::make_shared_array/g **/*.cc patrepl s,qpdf/std::shared_ptr,qpdf/PointerHolder, **/*.cc **/*.hh git restore include/qpdf/PointerHolder.hh git restore libtests/pointer_holder.cc cleanpatch ./format-code | |||
2022-04-05 | Update some code manually to get better formatting results | Jay Berkenbilt | |
Add comments to force line breaks, parenthesize function arguments that are contatenated strings, etc. -- these kinds of changes improve clang-format's results and also cause emacs cc-mode to match clang-format. After this type of change, most of the time, when clang-format and emacs disagree, clang-format is better. | |||
2022-04-04 | Programmatically apply new formatting to code | Jay Berkenbilt | |
Run this: for i in **/*.cc **/*.c **/*.h **/*.hh; do clang-format < $i >| $i.new && mv $i.new $i done | |||
2022-03-19 | Remove "lt-" workarounds | Jay Berkenbilt | |
The executables that libtool built invoked the underlying binary with an "lt-" prefix. The code contained numerous workarounds for testing, which can now be removed. | |||
2022-03-19 | Remove old build files | Jay Berkenbilt | |
2022-03-19 | Add cmake configuration files | Jay Berkenbilt | |
2022-03-19 | Run qpdf from path rather than environment variable in tests | Jay Berkenbilt | |
With cmake, we are customizing the path for each test suite so we can ensure we get the right qpdf without having to use an environment variable. | |||
2022-03-03 | Tidy example pdf-double-page-size | m-holger | |
Also fix typo in pdf-attach-file example. | |||
2022-02-26 | Tidy pdf-create example | m-holger | |
Convert loop to use range-based for statement. Remove unnecessary variables. | |||
2022-02-26 | Tidy pdf-count-strings example | m-holger | |
Convert loop to use range-based for statement. Remove unnecessary variables. | |||
2022-02-25 | Tidy pdf-attach-file example | m-holger | |
2022-02-11 | Tidy pdf-bookmarks example | m-holger | |
Convert loops to use range-based for statements. Simplify the extract_bookmarks function. | |||
2022-02-08 | WHITESPACE ONLY -- expand tabs in source code | Jay Berkenbilt | |
This comment expands all tabs using an 8-character tab-width. You should ignore this commit when using git blame or use git blame -w. In the early days, I used to use tabs where possible for indentation, since emacs did this automatically. In recent years, I have switched to only using spaces, which means qpdf source code has been a mixture of spaces and tabs. I have avoided cleaning this up because of not wanting gratuitous whitespaces change to cloud the output of git blame, but I changed my mind after discussing with users who view qpdf source code in editors/IDEs that have other tab widths by default and in light of the fact that I am planning to start applying automatic code formatting soon. | |||
2022-02-07 | Update for clean compile with POINTERHOLDER_TRANSITION=2 | Jay Berkenbilt | |
2022-02-07 | Tidy example CLI usage | m-holger | |
Change "-" to "--" for named parameters. Remove spaces inside "[ option ]" for optional parameters. Fix "pdf-mod-info --dump file" to match usage message. | |||
2022-02-05 | Add operator ""_qpdf for creating QPDFObjectHandle literals | Jay Berkenbilt | |
2022-02-04 | Replace containers of PointerHolder with containers of std::shared_ptr | Jay Berkenbilt | |
None of these are in the public API. | |||
2022-02-02 | Fix some doc typos | m-holger | |
2022-02-01 | QPDFJob: let initializeFromArgv just take argv, not argc | Jay Berkenbilt | |
Let argv be a null-terminated array. There is already code that assumes this, and it makes it easier to construct the arguments. | |||
2022-02-01 | Finish QPDFJob examples and add tests for them | Jay Berkenbilt | |
2022-02-01 | QPDFJob: documentation | Jay Berkenbilt | |
2022-01-31 | QPDFJob: add checkConfiguration to Config | Jay Berkenbilt | |
2022-01-30 | Placeholder QPDFJob example | Jay Berkenbilt | |
2022-01-27 | Remove some if statements and simplify some boolean expressions | m-holger | |
Use QPDFObjectHandle::isNameAndEquals, isDictionaryOfType and isStreamOfType. | |||
2021-09-10 | Fix QPDFEFStreamObjectHelper::{get,set}Subtype | Fredrik Fornwall | |
The /Subtype entry that specifies the mime type of an embedded file is inside the embedded file stream dictionary directly, not it in the parameter dictionary. See Table 45 and 46 in the PDF 1.7 specification: https://www.adobe.com/content/dam/acom/en/devnet/pdf/pdfs/PDF32000_2008.pdf#page=112 | |||
2021-03-05 | QPDFAcroFormDocumentHelper: add missing analyze calls | Jay Berkenbilt | |
2021-03-04 | Major rework of handling form fields when copying pages (fixes #509) | Jay Berkenbilt | |
2021-02-25 | Update examples to use copyStream() | Jay Berkenbilt | |
2021-02-23 | Remove accidentally-committed file and fix test that created it | Jay Berkenbilt | |
2021-02-23 | Update pdf-overlay-page example to copy annotations | Jay Berkenbilt | |
2021-02-22 | Change from QPDF{Array,Dict}Items to aitems() and ditems() | Jay Berkenbilt | |
2021-02-18 | Use QUtil::path_basename | Jay Berkenbilt | |
2021-02-18 | Add file attachment example | Jay Berkenbilt | |
2021-02-13 | QUtil::double_to_string: trim trailing zeroes with option to disable | Jay Berkenbilt | |
2021-02-10 | Minor clean up of Windows headers | Jay Berkenbilt | |
2021-02-08 | Make newly created name/number trees indirect objects | Jay Berkenbilt | |
2021-01-31 | Improve memory safety of dict/array iterators | Jay Berkenbilt | |
2021-01-30 | Add example of name/number trees and dictionary/array iteration | Jay Berkenbilt | |
2021-01-30 | Update examples to use QPDFObjectHandle iterators | Jay Berkenbilt | |
2021-01-24 | QPDFObjectHandle::newUnicodeString to uses UTF-16 only when needed | Jay Berkenbilt | |
Use the first of ASCII, PDFDocEncoding, or UTF-16 that is capable of encoding the string. | |||
2021-01-04 | Spell check | Jay Berkenbilt | |
2021-01-02 | Make more QPDFPageObjectHelper methods work with form XObject | Jay Berkenbilt | |
2021-01-02 | QPDFPageObjectHelper: filterPageContents -> filterContents + form XObject | Jay Berkenbilt | |
2021-01-02 | QPDFPageObjectHelper: getPageImages -> getImages | Jay Berkenbilt | |
2020-12-28 | Add pdf-custom-filter example | Jay Berkenbilt | |
2020-12-20 | Provide qpdf write progress reporting from C API (fixes #487) | Jay Berkenbilt | |
2020-11-29 | Add QPDFObjectHandle manipulation to C API | Jay Berkenbilt | |