aboutsummaryrefslogtreecommitdiffstats
path: root/libtests
AgeCommit message (Collapse)Author
2023-06-17Merge pull request #983 from m-holger/bufferJay Berkenbilt
Add new Buffer method copy and deprecate copy constructor / assignment operator
2023-06-17Add new Buffer method copy and deprecate copy constructor / assignment operatorm-holger
Also fix accidental Buffer copy in Pl_LZWDecoder::addToTable.
2023-06-09Code tidy - Clang-Tidy rule modernize-use-overridem-holger
2023-06-09Code tidy - Clang-Tidy rule modernize-use-equals-defaultm-holger
2023-06-09Code tidy - Clang-Tidy rule modernize-use-default-member-initm-holger
2023-05-21Rerun clang-formatJay Berkenbilt
2023-05-20Rerun format_code (after merging clang-tidy PR)Jay Berkenbilt
2023-05-20Replace 'virtual' specifier with 'override'm-holger
2023-05-20Remove redundant 'virtual' specifiersm-holger
2023-05-20Use auto when initializing with a castm-holger
2023-05-20Use auto when initialializing with newm-holger
2023-05-20Use nullptr instead of 0 or NULLm-holger
2023-05-20Replace deprecated C++ includesm-holger
2023-05-20Remove unused include directivesm-holger
2023-04-01Remove SparseOHArraym-holger
2023-04-01Change sparse_array test to test sparse QPDF_Arraysm-holger
2023-03-08Add new procedure QUtil::read_file_into_stringm-holger
2023-02-04In JSONParser::getToken handle structural and space chars earlym-holger
2023-02-04In JSONParser::getToken handle legal control chars earlym-holger
Also, reject them in strings.
2023-02-04In JSONParser::getToken reject illegal control charactersm-holger
2023-02-04In JSONParser::handleToken simplify setting of start and endm-holger
2023-02-01Refactor end of input handling in JSONParserm-holger
2023-02-01In JSONParser add lex_state ls_number_e_signm-holger
2023-02-01In JSONParser add lex_state ls_number_pointm-holger
Also. remove '.' as starting char in lsTop.
2023-02-01In JSONParser add lex_state ls_number_leading_zerom-holger
2023-02-01In JSONParser add lex_state ls_number_minusm-holger
2022-11-25Code formatting updatesJay Berkenbilt
2022-11-20Add methods QPDFTokenizer::Token::isWordm-holger
2022-11-14Fix stray formatting errorm-holger
2022-09-26Fix edge case in character encoding (fixes #778)Jay Berkenbilt
Avoid representing as PDF Doc encoding any string whose PDF Doc encoding representation starts with a UTF-16 or UTF-8 marker.
2022-09-21Replace calls to QUtil::int_to_string with std::to_stringm-holger
2022-09-09Make QPDFLogger() private and provide create methodJay Berkenbilt
2022-09-08Switch user-supplied functions in C API to return intJay Berkenbilt
2022-09-08Add ability to initialize Pl_Function with a C-style functionJay Berkenbilt
2022-09-05Take advantage of unique_ptr and move construction for BufferJames R. Barlow
Since Buffer has always implemented its copy constructor with a deep copy, its Members object will never have multiple owners. Change to unique_ptr. Also implement move constructors for Buffer, since there may be cases where a deep copy is not needed.
2022-08-31Add QUtil::get_max_memory_usage for testingJay Berkenbilt
2022-07-24JSON schema: support multi-element array validationJay Berkenbilt
2022-07-24JSON schema -- accept single item in place of arrayJay Berkenbilt
When the schema wants a variable-length array, allow a single item as well as allowing an array.
2022-06-25Reformat codeJay Berkenbilt
2022-06-19Add Pl_Function -- a generic function pipelineJay Berkenbilt
2022-06-19Add C API to QPDFLoggerJay Berkenbilt
2022-06-18Add and test QPDFLogger classJay Berkenbilt
2022-05-31Add conversions to ISO-8601 date formatJay Berkenbilt
2022-05-21Format codeJay Berkenbilt
2022-05-21Replace std::regex with validators for better performanceJay Berkenbilt
2022-05-20JSON: detect duplicate dictionary keys while parsingJay Berkenbilt
2022-05-20JSON fix: correctly parse UTF-16 surrogate pairsJay Berkenbilt
2022-05-20Back out fluent QPDFObjectHandle methods. Keep the andGet methods.Jay Berkenbilt
I decided these were confusing and inconsistent with how JSON works. They muddle the API rather than improving it.
2022-05-16Add QUtil::is_long_longJay Berkenbilt
2022-05-14JSON reactor: improve handling of nested containersJay 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.