Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-12-22 | Allow other than /Yes and /Off in a check box (fixes #1056) | Jay Berkenbilt | |
2023-06-09 | Code tidy - Clang-Tidy rule modernize-use-equals-default | m-holger | |
2023-06-09 | Code tidy - Clang-Tidy rule modernize-use-default-member-init | m-holger | |
2023-05-27 | Code tidy - reflow comments and strings | m-holger | |
2023-05-21 | Rerun clang-format | Jay Berkenbilt | |
2023-05-20 | Merge pull request #929 from m-holger/ogguard | Jay Berkenbilt | |
Add new convenience class QPDFObjGen::Guard | |||
2023-05-20 | Replace 'virtual' specifier with 'override' | m-holger | |
2023-05-20 | Use auto when initializing with a cast | m-holger | |
2023-05-20 | Replace deprecated C++ includes | m-holger | |
2023-05-19 | Use QPDFObjGen::set in QPDFFormFieldObjectHelper | m-holger | |
2022-11-20 | Add methods QPDFTokenizer::Token::isWord | m-holger | |
2022-09-07 | Revert getOwningQPDF, and add getQPDF that returns a reference | Jay Berkenbilt | |
2022-08-28 | Add optional parameter allow_nullptr to QPDFObjectHandle::getOwningQPDF | m-holger | |
Also, inline method and add optional parameter error_msg. | |||
2022-07-26 | Code tidy : replace 0 with nullptr or true | m-holger | |
2022-06-25 | Code tidy: remove redundant calls to QPDFObjectHandle::isInitialized | m-holger | |
2022-05-04 | Make use of the new Pipeline methods in some places | Jay Berkenbilt | |
2022-04-16 | Use anonymous namespaces for file-private classes | 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 library sources only | Jay Berkenbilt | |
(patrepl and cleanpatch are my own utilities) patrepl s/PointerHolder/std::shared_ptr/g {include,libqpdf}/qpdf/*.hh patrepl s/PointerHolder/std::shared_ptr/g libqpdf/*.cc patrepl s/make_pointer_holder/std::make_shared/g libqpdf/*.cc patrepl s/make_array_pointer_holder/QUtil::make_shared_array/g libqpdf/*.cc patrepl s,qpdf/std::shared_ptr,qpdf/PointerHolder, **/*.cc **/*.hh git restore include/qpdf/PointerHolder.hh 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-02-26 | Shorten coverage case name | Jay Berkenbilt | |
This is so it will fit on one line after a qtest upgrade allows us to split lines. | |||
2022-02-18 | Fix logic error with Tf when generating appearances (fixes #655) | Jay Berkenbilt | |
2022-02-07 | Update for clean compile with POINTERHOLDER_TRANSITION=2 | Jay Berkenbilt | |
2022-02-05 | Add operator ""_qpdf for creating QPDFObjectHandle literals | Jay Berkenbilt | |
2022-02-04 | Add a blank line after the first header included in each source | Jay Berkenbilt | |
2021-03-04 | When resolving font from /DR, copy it into resources | Jay Berkenbilt | |
2021-03-03 | Fix behavior for finding /Q, /DA, and /DR for form fields | Jay Berkenbilt | |
If not found in the field hierarchy, /Q and /DA are supposed to be looked up in the document-level form dictionary. /DR is supposed to only come from the document dictionary. | |||
2021-02-23 | Add methods for copying form fields | Jay Berkenbilt | |
2019-06-21 | Fix bugs found by fuzz tests | Jay Berkenbilt | |
* Several assertions in linearization were not always true; change them to run time errors * Handle a few cases of uninitialized objects * Handle pages with no contents when doing form operations * Handle invalid page tree nodes when traversing pages | |||
2019-06-21 | Fix sign and conversion warnings (major) | Jay Berkenbilt | |
This makes all integer type conversions that have potential data loss explicit with calls that do range checks and raise an exception. After this commit, qpdf builds with no warnings when -Wsign-conversion -Wconversion is used with gcc or clang or when -W3 -Wd4800 is used with MSVC. This significantly reduces the likelihood of potential crashes from bogus integer values. There are some parts of the code that take int when they should take size_t or an offset. Such places would make qpdf not support files with more than 2^31 of something that usually wouldn't be so large. In the event that such a file shows up and is valid, at least qpdf would raise an error in the right spot so the issue could be legitimately addressed rather than failing in some weird way because of a silent overflow condition. | |||
2019-06-21 | Appearance streams: some floating point values were truncated | Jay Berkenbilt | |
Bounding box X coordinates could be truncated, causing them to be off by a fraction of a point. This was most likely not visible, but it was still wrong. | |||
2019-01-21 | Handle fallback font size in text appearances | Jay Berkenbilt | |
If we end up using our fallback font size when generating appearances for text fields, reflect that in the Tf operator used in the appearance stream. | |||
2019-01-21 | Improve text objects used in text appearance streams | Jay Berkenbilt | |
2019-01-21 | Fix omissions in text appearance generation | Jay Berkenbilt | |
When generating appearance streams for variable text annotations, properly handle the cases of there being no appearance dictionary, no appearance stream, or an appearance stream with no BMC..EMC marker. | |||
2019-01-06 | Honor other base encodings when generating appearances | Jay Berkenbilt | |
2019-01-05 | Spell check | Jay Berkenbilt | |
2019-01-04 | Add basic appearance stream generation | Jay Berkenbilt | |
2019-01-04 | Add special case setV code for button fields | Jay Berkenbilt | |
2019-01-04 | Add form fields to json output | Jay Berkenbilt | |
Also add some additional methods for detecting form field types to assist in the json creation and for later use. | |||
2018-06-21 | Allow setting a form field's value | Jay Berkenbilt | |
2018-06-21 | Implement helper class for interactive forms | Jay Berkenbilt | |