Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-10-14 | Don't lose character after \d or \dd parsing string (fixes #1050) | Jay Berkenbilt | |
2023-05-27 | Code tidy - reflow comments and strings | m-holger | |
2023-05-21 | Rerun clang-format | Jay Berkenbilt | |
2023-05-20 | Rerun format_code (after merging clang-tidy PR) | Jay Berkenbilt | |
2023-05-20 | Replace 'virtual' specifier with 'override' | m-holger | |
2023-05-20 | Replace deprecated C++ includes | m-holger | |
2023-03-23 | Add new function QUtil::hex_decode_char | m-holger | |
2023-02-05 | Replace strchr in QPDFTokenizer::is_delimiter | m-holger | |
2023-01-07 | Add new method QPDFTokenizer::nextToken | m-holger | |
2023-01-07 | Only build QPDFTokenizer::val for name and string tokens | m-holger | |
For all other token types val and raw_val are identical. | |||
2022-11-20 | Add methods QPDFTokenizer::Token::isWord | m-holger | |
2022-08-27 | Fix commit b45420a | m-holger | |
2022-08-27 | Add methods InputSource::fastRead, fastUnRead and fastTell | m-holger | |
Provide buffered input for QPDFTokenizer. | |||
2022-08-25 | Remove redundant tests in QPDFTokenizer::readToken | m-holger | |
2022-08-25 | In QPDFTokenizer::readToken move call to getToken out of loop | m-holger | |
2022-08-25 | Remove unnecessary string copy in QPDFTokenizer::getToken | m-holger | |
2022-08-25 | Remove QPDFTokenizer::unread_char | m-holger | |
2022-08-25 | Refactor QPDFTokenizer::betweenTokens() | m-holger | |
2022-08-25 | Refactor QPDFTokenizer::presentEOF | m-holger | |
2022-08-25 | Integrate booleans and null into state machine in QPDFTokenizer | m-holger | |
2022-08-25 | Integrate numbers into state machine in QPDFTokenizer | m-holger | |
2022-08-25 | Integrate names into state machine in QPDFTokenizer | m-holger | |
2022-08-25 | Split QPDFTokenizer::handleCharacter into individual methods | m-holger | |
2022-08-25 | Refactor QPDFTokenizer::inCharCode | m-holger | |
2022-08-25 | Refactor st_top case in QPDFTokenizer::handleCharacter | m-holger | |
2022-08-25 | Refactor QPDFTokenizer::inHexstring | m-holger | |
2022-08-25 | Code tidy: replace if with case statement in QPDFTokenizer::inString | m-holger | |
2022-08-25 | Add state st_string_escape in QPDFTokenizer | m-holger | |
2022-08-21 | Add state st_string_after_cr in QPDFTokenizer | m-holger | |
2022-08-21 | Add state st_char_code in QPDFTokenizer | m-holger | |
2022-08-21 | Add private method QPDFTokenizer::inString | m-holger | |
2022-08-21 | Add private method QPDFTokenizer::inHexstring | m-holger | |
2022-08-21 | Code tidy: replace if with case statement in QPDFTokenizer::handleCharacter | m-holger | |
2022-08-21 | Add private method QPDFTokenizer::handleCharacter | m-holger | |
2022-08-21 | Code tidy: replace if with case statement in QPDFTokenizer::presentCharacter | m-holger | |
2022-08-20 | Avoid shrinking QPDFTokenizer::val and QPDFTokenizer::raw_val | m-holger | |
2022-08-18 | Remove QPDFTokenizer::Members | m-holger | |
2022-07-26 | Code tidy : replace 0 with nullptr or true | m-holger | |
2022-05-21 | Code clean up: use range-style for loops wherever possible | m-holger | |
Remove variables obsoleted by commit 4f24617. | |||
2022-04-30 | Code clean up: use range-style for loops wherever possible | Jay Berkenbilt | |
Where not possible, use "auto" to get the iterator type. Editorial note: I have avoid this change for a long time because of not wanting to make gratuitous changes to version history, which can obscure when certain changes were made, but with having recently touched every single file to apply automatic code formatting and with making several broad changes to the API, I decided it was time to take the plunge and get rid of the older (pre-C++11) verbose iterator syntax. The new code is just easier to read and understand, and in many cases, it will be more effecient as fewer temporary copies are being made. m-holger, if you're reading, you can see that I've finally come around. :-) | |||
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-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-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-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-01-11 | Fix signed/unsigned char warning (fixes #604) | Jay Berkenbilt | |
2020-10-27 | Revert removal of unreadCh change for performance | Jay Berkenbilt | |
Turns out unreadCh is much more efficient than seek(-1, SEEK_CUR). Update comments and code to reflect this. | |||
2020-10-18 | Stop using InputSource::unreadCh | Jay Berkenbilt | |
2020-04-16 | Fix warnings reported by -Wshadow=local (fixes #431) | Jay Berkenbilt | |