Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-03-08 | Add new procedure QUtil::read_file_into_string | m-holger | |
2023-02-04 | In JSONParser::getToken handle structural and space chars early | m-holger | |
2023-02-04 | In JSONParser::getToken handle legal control chars early | m-holger | |
Also, reject them in strings. | |||
2023-02-04 | In JSONParser::getToken reject illegal control characters | m-holger | |
2023-02-04 | In JSONParser::handleToken simplify setting of start and end | m-holger | |
2023-02-01 | Refactor end of input handling in JSONParser | m-holger | |
2023-02-01 | In JSONParser add lex_state ls_number_e_sign | m-holger | |
2023-02-01 | In JSONParser add lex_state ls_number_point | m-holger | |
Also. remove '.' as starting char in lsTop. | |||
2023-02-01 | In JSONParser add lex_state ls_number_leading_zero | m-holger | |
2023-02-01 | In JSONParser add lex_state ls_number_minus | m-holger | |
2022-09-08 | Add ability to initialize Pl_Function with a C-style function | Jay Berkenbilt | |
2022-08-31 | Add QUtil::get_max_memory_usage for testing | Jay Berkenbilt | |
2022-07-24 | JSON schema: support multi-element array validation | Jay Berkenbilt | |
2022-07-24 | JSON schema -- accept single item in place of array | Jay Berkenbilt | |
When the schema wants a variable-length array, allow a single item as well as allowing an array. | |||
2022-06-19 | Add Pl_Function -- a generic function pipeline | Jay Berkenbilt | |
2022-06-19 | Add C API to QPDFLogger | Jay Berkenbilt | |
2022-06-18 | Add and test QPDFLogger class | Jay Berkenbilt | |
2022-05-31 | Add conversions to ISO-8601 date format | Jay Berkenbilt | |
2022-05-20 | JSON: detect duplicate dictionary keys while parsing | Jay Berkenbilt | |
2022-05-20 | JSON fix: correctly parse UTF-16 surrogate pairs | Jay Berkenbilt | |
2022-05-16 | Add QUtil::is_long_long | Jay Berkenbilt | |
2022-05-14 | JSON reactor: improve handling of nested containers | Jay Berkenbilt | |
Call the parent container's item method before calling the child item's start method so we can easily know the current nesting level when nested items are added. | |||
2022-05-04 | Add internal Pl_Base64 | Jay Berkenbilt | |
Bidirectional base64; will be used by JSON v2. | |||
2022-05-02 | Add reactors to the JSON parser | Jay Berkenbilt | |
2022-05-02 | Windows perl workaround | Jay Berkenbilt | |
2022-05-01 | Limit parser depth for json parser | Jay Berkenbilt | |
2022-04-09 | Rewrite PointerHolder as derived from std::shared_ptr | Jay Berkenbilt | |
2022-02-25 | Allow \/ in a json string | Jay Berkenbilt | |
2022-02-16 | Remove special case for 0xad for 10.6.2.release-qpdf-10.6.2 | 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 | 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-09 | Fix one more PDF doc encoding error for 10.6 release (fixes #637)release-qpdf-10.6.0 | 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-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-04 | PointerHolder: add get() and use_count() for forward compatibility | Jay Berkenbilt | |
PointerHolder will be replaced with shared_ptr, so let people start moving. | |||
2022-02-04 | Add array test to PointerHolder | Jay Berkenbilt | |
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-01-31 | JSONHandler: pass JSON object to array start function | Jay Berkenbilt | |
2022-01-31 | JSONHandler: pass JSON object to dict start function | Jay Berkenbilt | |
If some keys depend on others, we have to check up front since there is no control of what order key handlers will be called. Anyway, keys are unordered in json, so we don't want to depend on ordering. | |||
2022-01-30 | Improve top-level help information | Jay Berkenbilt | |
2022-01-30 | QPDFArgParser: remove unused copyFromOtherTable | Jay Berkenbilt | |
This was used, but it no longer is, so let's not keep the extra complexity around. | |||
2022-01-30 | Add QUtil::make_shared_cstr | Jay Berkenbilt | |
Replace most of the calls to QUtil::copy_string with this instead. | |||
2022-01-30 | Allow optional fields in json "schema" checks | Jay Berkenbilt | |
2022-01-30 | JSONHandler: rework dictionary and array handlers | Jay Berkenbilt | |
2022-01-30 | Implement JSONHandler for recursively processing JSON | Jay Berkenbilt | |
2022-01-30 | Add JSON::parse | Jay Berkenbilt | |
2022-01-30 | Generate help content from manual | Jay Berkenbilt | |
This is a massive rewrite of the help text and cli.rst section of the manual. All command-line flags now have their own help and are specifically index. qpdf --help is completely redone. | |||
2022-01-30 | QPDFArgParser: support adding/printing help information | Jay Berkenbilt | |
2022-01-30 | QPDFArgParser: handle optional choices including help | Jay Berkenbilt | |
Handle optional choices in addition to required choices. Refactor the way help options are added to completion to make it work with optional help choices. |