m-holger
|
bd300be08d
|
Replace calls to QPDFObjectHandle::Factory::newIndirect where possible
|
2022-08-31 22:45:45 +01:00 |
|
Jay Berkenbilt
|
a078202c1b
|
Merge pull request #752 from jberkenbilt/report-mem-usage
Report mem usage
|
2022-08-31 15:50:17 -04:00 |
|
Jay Berkenbilt
|
7b3134ef94
|
Add ChangeLog for previous contribution
Also remove no-longer-needed #include
|
2022-08-31 15:06:37 -04:00 |
|
Jay Berkenbilt
|
4aac7c325a
|
Update TODO with reminders about memory testing
|
2022-08-31 14:47:27 -04:00 |
|
Jay Berkenbilt
|
433f1dae19
|
Add --report-mem-usage option for debugging/testing
|
2022-08-31 14:47:27 -04:00 |
|
Jay Berkenbilt
|
0a54247652
|
Add QUtil::get_max_memory_usage for testing
|
2022-08-31 14:47:27 -04:00 |
|
m-holger
|
9532dca3a5
|
Inline QPDFObjectHandle::setParsedOffset
Part of #729
|
2022-08-30 14:55:45 +01:00 |
|
m-holger
|
70d985f942
|
Optimise QPDFParser::parse for #311 problem
Avoid creating new null objects that later will be discarded and made
implicit.
Part of #729
|
2022-08-30 13:32:54 +01:00 |
|
m-holger
|
97a7ad1d80
|
Avoid setting descriptions / offsets for direct nulls in QPDFParser::parse
Part of #729
|
2022-08-30 13:07:48 +01:00 |
|
m-holger
|
7402c02c80
|
Combine stacks in QPDFParser::parse
Part of #729
|
2022-08-30 12:53:19 +01:00 |
|
m-holger
|
74162a2d48
|
Tune QPDFParser::parse
Replace SparseOHArray with std::vector<QPDFObjectHandle>.
Part of #729
|
2022-08-30 11:32:43 +01:00 |
|
m-holger
|
6fc982b71a
|
Move QPDFObjectHandle::setObjectDescriptionFromInput to QPDFParser
Part of #729
|
2022-08-30 06:42:46 +01:00 |
|
m-holger
|
8ad1ea34fe
|
Add private methods QPDFParser::warn
Part of #729
|
2022-08-30 06:04:34 +01:00 |
|
m-holger
|
6670c685ab
|
Move QPDFObjectHandle::parseInternal to new class QPDFParser
Part of #729
|
2022-08-30 05:56:23 +01:00 |
|
Jay Berkenbilt
|
0adfd74f8b
|
Merge pull request #747 from m-holger/new_stream
Add optional parameter allow_nullptr to QPDFObjectHandle::getOwningQPDF
|
2022-08-29 16:33:19 -04:00 |
|
Jay Berkenbilt
|
2b01a79e87
|
Fix header ordering in QTC (format code)
|
2022-08-29 11:55:02 -04:00 |
|
m-holger
|
c53d54b13d
|
Add optional parameter allow_nullptr to QPDFObjectHandle::getOwningQPDF
Also, inline method and add optional parameter error_msg.
|
2022-08-28 22:15:59 +01:00 |
|
Jay Berkenbilt
|
a3145ab3b7
|
TODO note
|
2022-08-28 16:25:44 -04:00 |
|
Jay Berkenbilt
|
980987ba65
|
TODO note about removing raw pointers from API
|
2022-08-28 09:40:07 -04:00 |
|
Jay Berkenbilt
|
394302a411
|
Add ChangeLog/release-notes (with credit) for last pull request
|
2022-08-27 08:14:36 -04:00 |
|
m-holger
|
b0c1ae05a3
|
Fix commit b45420a
|
2022-08-27 12:43:49 +01:00 |
|
m-holger
|
fc4feb6f1a
|
Remove BufferInputSource::Members
|
2022-08-27 12:19:51 +01:00 |
|
m-holger
|
d6a447b654
|
Remove ClosedFileInputSource::Members
|
2022-08-27 12:13:39 +01:00 |
|
m-holger
|
69a5fb7047
|
Add methods InputSource::fastRead, fastUnRead and fastTell
Provide buffered input for QPDFTokenizer.
|
2022-08-26 23:55:56 +01:00 |
|
m-holger
|
13ef50cd27
|
Avoid virtual method call in FileInputSource::read
|
2022-08-25 15:08:03 +01:00 |
|
m-holger
|
a318b203be
|
Refactor FileInputSource::seek and FileInputSource::unreadCh
Avoid building error message each call "just in case".
|
2022-08-25 15:04:41 +01:00 |
|
m-holger
|
dc5c8b82eb
|
Remove FileInputSource::Members
|
2022-08-25 12:42:14 +01:00 |
|
m-holger
|
7108cd7b98
|
Remove redundant tests in QPDFTokenizer::readToken
|
2022-08-25 11:32:08 +01:00 |
|
m-holger
|
10fda01b07
|
In QPDFTokenizer::readToken move call to getToken out of loop
|
2022-08-25 11:31:45 +01:00 |
|
m-holger
|
e4073ee868
|
Remove unnecessary string copy in QPDFTokenizer::getToken
|
2022-08-25 11:31:09 +01:00 |
|
m-holger
|
b45420a980
|
Remove QPDFTokenizer::unread_char
|
2022-08-25 11:30:49 +01:00 |
|
m-holger
|
706106dabb
|
Refactor QPDFTokenizer::betweenTokens()
|
2022-08-25 11:30:35 +01:00 |
|
m-holger
|
6371b90ae3
|
Refactor QPDFTokenizer::presentEOF
|
2022-08-25 11:30:24 +01:00 |
|
m-holger
|
42ed58e446
|
Integrate booleans and null into state machine in QPDFTokenizer
|
2022-08-25 11:30:13 +01:00 |
|
m-holger
|
fe33b7ca18
|
Integrate numbers into state machine in QPDFTokenizer
|
2022-08-25 11:26:46 +01:00 |
|
m-holger
|
931fbb6156
|
Integrate names into state machine in QPDFTokenizer
|
2022-08-25 11:26:38 +01:00 |
|
m-holger
|
a3f3238f37
|
Split QPDFTokenizer::handleCharacter into individual methods
|
2022-08-25 11:26:05 +01:00 |
|
m-holger
|
6111a6a424
|
Refactor QPDFTokenizer::inCharCode
|
2022-08-25 10:55:45 +01:00 |
|
m-holger
|
e7889ec5dc
|
Refactor st_top case in QPDFTokenizer::handleCharacter
|
2022-08-25 10:51:51 +01:00 |
|
m-holger
|
e4fe0d5cf5
|
Refactor QPDFTokenizer::inHexstring
|
2022-08-25 10:50:06 +01:00 |
|
m-holger
|
a5d2e88775
|
Code tidy: replace if with case statement in QPDFTokenizer::inString
|
2022-08-25 10:43:29 +01:00 |
|
m-holger
|
7c32f6cc2e
|
Add state st_string_escape in QPDFTokenizer
|
2022-08-25 10:41:36 +01:00 |
|
m-holger
|
7c5778f999
|
Add state st_string_after_cr in QPDFTokenizer
|
2022-08-21 11:13:48 +01:00 |
|
m-holger
|
f29d0a6312
|
Add state st_char_code in QPDFTokenizer
|
2022-08-21 11:01:48 +01:00 |
|
m-holger
|
d26b537a7c
|
Add private method QPDFTokenizer::inString
|
2022-08-21 02:54:34 +01:00 |
|
m-holger
|
2697ba49bc
|
Add private method QPDFTokenizer::inHexstring
|
2022-08-21 02:46:31 +01:00 |
|
m-holger
|
f9530a5815
|
Code tidy: replace if with case statement in QPDFTokenizer::handleCharacter
|
2022-08-21 02:38:49 +01:00 |
|
m-holger
|
86ade3f9cd
|
Add private method QPDFTokenizer::handleCharacter
|
2022-08-21 02:26:27 +01:00 |
|
m-holger
|
91fb61eda5
|
Code tidy: replace if with case statement in QPDFTokenizer::presentCharacter
|
2022-08-21 00:54:41 +01:00 |
|
m-holger
|
cf945eeabf
|
Avoid shrinking QPDFTokenizer::val and QPDFTokenizer::raw_val
|
2022-08-20 19:43:00 +01:00 |
|