Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-03-08 | Rename bits_include.cc to qpdf/bits_functions.hh | Jay Berkenbilt | |
It's better to just make it a .hh file to reduce confusion. | |||
2022-02-26 | TODO: solidify plans for code formatting | Jay Berkenbilt | |
2022-02-26 | Rename bits.icc to bits_include.cc | Jay Berkenbilt | |
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-26 | generate_auto_job: protect generated files from formatting | Jay Berkenbilt | |
2022-02-26 | Move default values to constexpr | Jay Berkenbilt | |
This was mainly to get comments about defaults out of constructor initializer lists where their fragile when a code formatter is being used. | |||
2022-02-25 | Allow \/ in a json string | Jay Berkenbilt | |
2022-02-22 | Use val.at instead of val[] | Jay Berkenbilt | |
2022-02-22 | Recognize explicit UTF-8 strings (fixes #654) | Jay Berkenbilt | |
2022-02-22 | Fix autogeneration of job.sums | Jay Berkenbilt | |
2022-02-18 | Fix logic error with Tf when generating appearances (fixes #655) | Jay Berkenbilt | |
2022-02-16 | Remove special case for 0xad for 10.6.2.release-qpdf-10.6.2 | Jay Berkenbilt | |
2022-02-16 | Fix asymmetry between newUnicodeString and getUTF8Value | Jay Berkenbilt | |
2022-02-15 | Silently/transparently recognize UTF-16LE as UTF-16 (fixes #649) | Jay Berkenbilt | |
The PDF spec only allows UTF-16BE, but most readers seem to accept UTF-16LE as well, so now qpdf does too. | |||
2022-02-15 | Ignore -- at the top level arg parser (fixes #652) | Jay Berkenbilt | |
This was unintended behavior that was added back for backward compatibility. It is intentionally undocumented. | |||
2022-02-15 | Handle odd PDFDoc codepoints in UTF-8 during transcoding (fixes #650) | Jay Berkenbilt | |
There are codepoints in PDFDoc that are not valid UTF-8 but map to valid UTF-8. We were handling those correctly with bidirectional mapping. However, if those same code points appeared in UTF-8, where they have no meaning, they were left as fixed points when converting to PDFDoc, where they do have meaning. This change recognizes them as errors. | |||
2022-02-11 | Fix tests for Form XObjects | m-holger | |
Remove test for type == /XObject in QPDFObjectHandle::isFormXObject as type value is optional (as per spec 8.10.2). Replace code to test for /Form in QPDFJob::shouldRemoveUnreferencedResources with a call to isFormXObject. | |||
2022-02-09 | Fix one more PDF doc encoding error for 10.6 release (fixes #637)release-qpdf-10.6.0 | Jay Berkenbilt | |
2022-02-08 | Only update output version from files used as input | Jay Berkenbilt | |
If we're opening a PDF file to copy its encryption information or attachments, its version doesn't need to influence the output version. | |||
2022-02-08 | Preserve input PDF version on pages/split-pages (fixes #610) | Jay Berkenbilt | |
2022-02-08 | Add QPDF::getVersionAsPDFVersion | Jay Berkenbilt | |
2022-02-08 | Add PDFVersion class | Jay Berkenbilt | |
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 | Use make_array_pointer_holder | Jay Berkenbilt | |
This will be able to be replaced with QUtil::make_shared_array | |||
2022-02-07 | Replace PointerHolder arrays with shared_ptr arrays where possible | Jay Berkenbilt | |
Replace PointerHolder arrays wherever it can be done without breaking ABI. | |||
2022-02-07 | Add QUtil::make_shared_array to help with PointerHolder transition | Jay Berkenbilt | |
2022-02-07 | Add getBufferSharedPointer() to Pl_Buffer and QPDFWriter | Jay Berkenbilt | |
2022-02-06 | C-API expose QPDFObjectHandle::getKeyIfDict | m-holger | |
2022-02-06 | Add method QPDFObjectHandle::getKeyIfDict | m-holger | |
2022-02-06 | C-API expose QPDFObjectHandle::getValueAs... accessors | m-holger | |
2022-02-05 | Stop using std::iterator (fixes #618) | Jay Berkenbilt | |
Create the typedefs directly in iterators rather than deriving from the deprecated std::iterator class. | |||
2022-02-05 | Add operator ""_qpdf for creating QPDFObjectHandle literals | Jay Berkenbilt | |
2022-02-05 | Add qpdf_empty_pdf to C API | Jay Berkenbilt | |
2022-02-05 | API contract: qpdf_get_qpdf_version() returns a static | Jay Berkenbilt | |
2022-02-05 | Improve use of std::unique_ptr | Jay Berkenbilt | |
* Use unique_ptr in place of shared_ptr in some cases * unique_ptr for arrays does not require a custom deleter * use std::make_unique (c++14) where possible | |||
2022-02-05 | Add new QPDFObjectHandle::getValueAs... accessors | m-holger | |
2022-02-04 | Update copyright for 2022 | Jay Berkenbilt | |
2022-02-04 | Add a blank line after the first header included in each source | Jay Berkenbilt | |
2022-02-04 | Add qpdf version macros to qpdf/DLL.h | 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-04 | JSON: use std::shared_ptr internally | Jay Berkenbilt | |
2022-02-04 | PointerHolder: deprecate getPointer() and getRefcount() | Jay Berkenbilt | |
Use get() and use_count() instead. Add #define NO_POINTERHOLDER_DEPRECATION to remove deprecation markers for these only. This commit also removes all deprecated PointerHolder API calls from qpdf's code except in PointerHolder's test suite, which must continue to test the deprecated APIs. | |||
2022-02-04 | C-API add two binary UTF8 funtions | m-holger | |
add qpdf_oh_new_binary_unicode_string and qpdf_oh_get_binary_utf8_value | |||
2022-02-04 | Fix --check-linearization of non-linearized files (fixes #615) | m-holger | |
2022-02-02 | Change QPDFExc type to unsupported for /Standard filter | 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 | Make QPDFArgParser accept const argv | Jay Berkenbilt | |
This makes it much more convention to use the initializeFromArgv functions since you can use string literals. | |||
2022-02-01 | Add qpdfjob-c.h -- simple C API around parts of QPDFJob | Jay Berkenbilt | |
2022-02-01 | Move QTC::TC for qpdf to QPDFJob | Jay Berkenbilt | |
All the coverage cases that used to be in qpdf.cc are now in QPDFJob*.cc. It doesn't really matter, but better to follow the convention of starting with the class that includes the coverage call. |