Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-05-07 | Top-level json: write incrementally | Jay Berkenbilt | |
This commit just changes the order in which fields are written to the json without changing their content. All the json files in the test suite were modified with this script to ensure that we didn't get any changes other than ordering. ---------- #!/usr/bin/env python3 import json import sys def json_dumps(data): return json.dumps(data, ensure_ascii=False, indent=2, separators=(',', ': ')) for filename in sys.argv[1:]: with open(filename, 'r') as f: data = json.loads(f.read()) newdata = {} for i in ('version', 'parameters', 'pages', 'pagelabels', 'acroform', 'attachments', 'encrypt', 'outlines', 'objects', 'objectinfo'): if i in data: newdata[i] = data[i] print(json_dumps(newdata)) ---------- | |||
2022-05-07 | Add next to Pl_String and fix comments | Jay Berkenbilt | |
2022-05-07 | Add --test-json-schema command-line option | Jay Berkenbilt | |
2022-05-07 | QPDFJob: have doJSON write to a pipeline | Jay Berkenbilt | |
2022-05-07 | JSON: add blob type that generates base64-encoded binary data | Jay Berkenbilt | |
2022-05-04 | Change JSON parser to parse from an InputSource | Jay Berkenbilt | |
2022-05-04 | Add new FileInputSource constructors | Jay Berkenbilt | |
2022-05-04 | JSON: add write methods and implement unparse() in terms of those | Jay Berkenbilt | |
2022-05-04 | Add new Pl_String Pipeline | Jay Berkenbilt | |
2022-05-04 | Add new Pl_OStream Pipeline | Jay Berkenbilt | |
2022-05-04 | Add new Pipeline convenience methods | Jay Berkenbilt | |
2022-05-04 | Make Pipeline::write take an unsigned char const* (API change) | Jay Berkenbilt | |
2022-05-04 | Make assert handling less error-prone | Jay Berkenbilt | |
Prevent my future self or other contributors from using assert in tests and then having that assert not do anything because of the NDEBUG macro. | |||
2022-05-02 | Add reactors to the JSON parser | Jay Berkenbilt | |
2022-05-01 | Spell check | Jay Berkenbilt | |
2022-04-30 | Mark weak encryption with API changes (fixes #576) | Jay Berkenbilt | |
2022-04-30 | Remove deprecated (pre-8.4.0) encryption APIs | Jay Berkenbilt | |
2022-04-30 | Add comments around non-security-related uses of MD5 | Jay Berkenbilt | |
2022-04-30 | Revert "Remove QPDFObjectHandle::replaceOrRemoveKey" | Jay Berkenbilt | |
This reverts commit dc059560e73e0b373a6e54e71b07e3af4b692cb4. I changed my mind. There's no harm in leaving it deprecated for a release cycle. | |||
2022-04-30 | Remove QPDFObjectHandle::replaceOrRemoveKey | Jay Berkenbilt | |
See ChangeLog for rationale for not deprecating it as originally planned. | |||
2022-04-30 | Add new QPDFObjectHandle methods for more fluent programming | Jay Berkenbilt | |
2022-04-24 | Deprecate replaceOrRemoveKey -- it's the same as replaceKey | Jay Berkenbilt | |
2022-04-24 | Have dictionary/streams mutators take const& where possible | Jay Berkenbilt | |
2022-04-24 | Add new QPDF::warn that takes most of QPDFExc's arguments | Jay Berkenbilt | |
2022-04-24 | Expose QUtil::get_next_utf8_codepoint | Jay Berkenbilt | |
2022-04-16 | Remove deprecated name/number tree constructors | Jay Berkenbilt | |
Remove the name/number tree object helper constructors that don't take a QPDF&. | |||
2022-04-16 | Remove QPDFAcroFormDocumentHelper::copyFieldsFromForeignPage | Jay Berkenbilt | |
2022-04-16 | Use = default and = delete where possible in classes | Jay Berkenbilt | |
2022-04-16 | Make ABI-breaking changes that don't modify API at all | Jay Berkenbilt | |
* Merge overloaded functions by adding default values * Remove non-const methods that are identical to const methods | |||
2022-04-10 | Fix comments in PointerHolder.hh | Jay Berkenbilt | |
2022-04-10 | Typo: warn -> warning | Jay Berkenbilt | |
2022-04-10 | Mark non-ABI symbols in exported class with QPDF_DLL_PRIVATE | Jay Berkenbilt | |
2022-04-10 | Use QPDF_DLL_CLASS with Pipeline and InputSource subclasses | Jay Berkenbilt | |
This enables RTTI so we can use dynamic_cast on them across the shared object boundary. | |||
2022-04-10 | Clean up/fix DLL.h | Jay Berkenbilt | |
* Change DLL_EXPORT to libqpdf_EXPORTS (internal to the build). The new name is cmake's default, is more conventional, and is less likely to clash with other symbols. * Add QPDF_DLL_PRIVATE for non-Windows * Make logic around when to define QPDF_DLL et al more explicit * Add detailed comments | |||
2022-04-10 | Tweak for clang-format and emacs font-lock | Jay Berkenbilt | |
2022-04-09 | Enable PointerHolder warning and define POINTERHOLDER_IS_SHARED_POINTER | 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-09 | Rewrite PointerHolder as derived from std::shared_ptr | Jay Berkenbilt | |
2022-04-09 | Bump version to 11.0.0, indicating ABI-breaking changes | Jay Berkenbilt | |
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 | Add cmake configuration files | Jay Berkenbilt | |
2022-03-08 | DLL.h: remove distinction between QPDF_DLL_CLASS and QPDF_DLL for mingw | Jay Berkenbilt | |
2022-02-28 | Remove Version.h -- it was never used | Jay Berkenbilt | |
2022-02-26 | generate_auto_job: protect generated files from formatting | Jay Berkenbilt | |
2022-02-26 | Pl_DCT.hh -- protect order of includes for code formatting | Jay Berkenbilt | |
2022-02-26 | Bump version to 10.6.3 | Jay Berkenbilt | |
2022-02-16 | Prepare 10.6.2 release | Jay Berkenbilt | |
2022-02-16 | Fix lgtm warning | 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-11 | Prepare 10.6.1 releaserelease-qpdf-10.6.1 | Jay Berkenbilt | |