Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-06-02 | Code tidy - reflow comments and strings | m-holger | |
2023-05-21 | Rerun clang-format | Jay Berkenbilt | |
2023-05-20 | Use auto when initialializing with new | m-holger | |
2023-04-01 | Refactor QPDF_Array::unparse | m-holger | |
2023-04-01 | Refactor QPDF_Array::getJSON | m-holger | |
2023-04-01 | Remove SparseOHArray | m-holger | |
2023-04-01 | Refactor QPDF_Array::copy | m-holger | |
2023-04-01 | Refactor QPDF_Array::disconnect | m-holger | |
2023-04-01 | Refactor QPDF_Array::setFromVector | m-holger | |
2023-04-01 | Refactor QPDF_Array::getAsVector | m-holger | |
2023-04-01 | Remove SparseOHArray::at, setAt and append | m-holger | |
2023-04-01 | Remove SparseOHArray::erase | m-holger | |
2023-04-01 | Remove SparseOHArray::insert | m-holger | |
2023-04-01 | Refactor QPDF_Array::setItem and rename to setAt | m-holger | |
2023-04-01 | Refactor QPDF_Array::eraseItem and rename to erase | m-holger | |
2023-04-01 | Refactor QPDF_Array::insertItem and rename to insert | m-holger | |
2023-04-01 | Refactor QPDF_Array::appendItem and rename to push_back | m-holger | |
2023-04-01 | Add new method QPDFValue::checkOwnership | m-holger | |
2023-04-01 | Refactor QPDF_Array::getItem and rename to at | m-holger | |
2023-04-01 | Inline QPDF_Array::getNItems and rename to size | m-holger | |
2023-04-01 | Change SparseOHArray index type to int and elements type to map | m-holger | |
There are no reasons other than historical to use size_t. On balance, using map is more efficient. Hold shared pointers to QPDFObjects rather than QPDFObjectHandles for consistencey with QPDF_Array. | |||
2023-04-01 | Remove temporary OHArray | m-holger | |
2023-03-29 | Remove temporary OHArray::erase, insert and copy | m-holger | |
2023-03-29 | Remove temporary OHArray::disconnect and setAt | m-holger | |
2023-03-29 | Remove temporary OHArray::at | m-holger | |
2023-03-29 | Remove temporary OHArray::size, append and remove_last | m-holger | |
Also, add const overload of QPDFObjectHandle::getObj | |||
2023-03-29 | Optimize QPDFParser for non-sparse QPDF_Arrays | m-holger | |
Stop using nullptr to represent null objects. Count null array elements and trigger creation of sparse arrays if null count is greater than 100. | |||
2023-03-29 | Change underlying data structure of QPDF_Array in non-sparse mode to std::vector | m-holger | |
2023-03-29 | Add separate sparse mode to QPDF_Array | m-holger | |
Add temporary clone of SparseOHArray to implement non-sparse mode. | |||
2023-03-29 | Remove redundant QPDF_Array::addExplicitElementsToList | m-holger | |
2022-12-31 | Avoid inserting direct null objects into olist | m-holger | |
2022-12-31 | Change olist variable in QPDFParser::parse to vector<shared_ptr<QPDFObject>> | m-holger | |
2022-11-20 | Refactor QPDFObjectHandle::copyObject1 | m-holger | |
2022-11-20 | Rename QPDFObject::shallowCopy to copy | m-holger | |
Add optional parameter shallow. Change logic errors to runtime errors. | |||
2022-09-08 | Rename QPDFValueProxy back to QPDFObject | Jay Berkenbilt | |
QPDFValueProxy wasn't a good name for it. We decided the evil of having the header file be named QPDFObject_private.hh was less than the evil of having the class be named something other than what it should have been named. | |||
2022-09-08 | Change reset to disconnect and clarify comments | Jay Berkenbilt | |
I decided that it's actually fine to copy a direct object to another QPDF. Even if we eventually prevent a QPDFObject from having multiple parents, this could happen if an object is moved. | |||
2022-09-08 | Clear owning QPDF information for all objects, not just indirect | Jay Berkenbilt | |
2022-09-06 | Rename QPDFObject -> QPDFValueProxy | Jay Berkenbilt | |
This is in preparation for restoring a QPDFObject.hh to ease the transition on qpdf_object_type_e. This commit was created by * Renaming QPDFObject.cc and QPDFObject.hh * Replacing QPDFObject\b with QPDFValueProxy (where \b is word boundary) * Running format-code * Manually resorting files in libqpdf/CMakeLists.txt * Manually refilling the comment in QPDF.hh near class Resolver | |||
2022-09-04 | Fix commit 805c1ad : Reset QPDFValue::qpdf and QPDFValue::og when ... | m-holger | |
On destruction of the QPDF object replace all indirect object references with direct nulls. Remove all existing code to release resolved references. Fixes performance issue due to interaction of resetting QPDFValue::qpdf and og members and prior code. | |||
2022-09-01 | Remove virtual methods QPDFValue::getTypeCode and getTypeName | m-holger | |
2022-09-01 | Split QPDFObject into QPDFObject and QPDFValue | m-holger | |
2022-06-27 | Refactor QPDFObject creation and cloning | m-holger | |
Move responsibility for creating shared pointers to objects and cloning from QPDFObjectHandle to QPDFObject. | |||
2022-06-25 | Remove redundant QPDF_Array::setDescription and QPDF_Dictionary::setDescription | m-holger | |
2022-05-07 | Prepare code for JSON v2 | Jay Berkenbilt | |
Update getJSON() methods and calls to them | |||
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-30 | Formatting: remove space in range-style for loops | Jay Berkenbilt | |
Change .clang-format and commit automated changes from a fresh run of format-code | |||
2022-04-16 | Use = default and = delete where possible in classes | 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-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 | Add a blank line after the first header included in each source | Jay Berkenbilt | |