Logo white

OpenSystemsDevelopment / qpdf

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Commits 4,691
  • Compare
  • Branches 1
  • Tags 0
  • qpdf
  • libqpdf
  • QPDF_Array.cc
12 Jan, 2024
1 commit
  • Fix null pointer issue on array copy
    ebb10f32
    Jay Berkenbilt authored
    2024-01-12 08:05:22 -0500  
    Browse File »

10 Jan, 2024
1 commit
  • Tune handling of sparse arrays in QPDF_Array ...
    5e9de5cd
    Sparse arrays are rare. Dynamically create the variables needed to manage
    them only when needed.
    m-holger authored
    2024-01-10 09:36:18 +0000  
    Browse File »

09 Jun, 2023
1 commit
  • Code tidy - Clang-Tidy rule modernize-use-emplace
    7bc0f1d8
    m-holger authored
    2023-06-09 15:42:11 +0100  
    Browse File »

02 Jun, 2023
1 commit
  • Code tidy - reflow comments and strings
    3c5700c2
    m-holger authored
    2023-06-02 16:00:40 +0100  
    Browse File »

21 May, 2023
1 commit
  • Rerun clang-format
    60965d5f
    Jay Berkenbilt authored
    2023-05-21 13:35:09 -0400  
    Browse File »

20 May, 2023
1 commit
  • Use auto when initialializing with new
    41ec7eda
    m-holger authored
    2023-05-20 15:41:40 +0100  
    Browse File »

01 Apr, 2023
19 commits
  • Refactor QPDF_Array::unparse
    0b53b648
    m-holger authored
    2023-04-01 13:58:21 +0100  
    Browse File »
  • Refactor QPDF_Array::getJSON
    c2ab0441
    m-holger authored
    2023-04-01 13:58:15 +0100  
    Browse File »
  • Remove SparseOHArray
    a7b69751
    m-holger authored
    2023-04-01 13:58:06 +0100  
    Browse File »
  • Refactor QPDF_Array::copy
    d3f2dc32
    m-holger authored
    2023-04-01 13:57:47 +0100  
    Browse File »
  • Refactor QPDF_Array::disconnect
    a171ebb9
    m-holger authored
    2023-04-01 13:57:35 +0100  
    Browse File »
  • Refactor QPDF_Array::setFromVector
    0aae54d3
    m-holger authored
    2023-04-01 13:57:28 +0100  
    Browse File »
  • Refactor QPDF_Array::getAsVector
    50722388
    m-holger authored
    2023-04-01 13:57:22 +0100  
    Browse File »
  • Remove SparseOHArray::at, setAt and append
    e186da17
    m-holger authored
    2023-04-01 13:57:15 +0100  
    Browse File »
  • Remove SparseOHArray::erase
    1c85e7ec
    m-holger authored
    2023-04-01 13:56:54 +0100  
    Browse File »
  • Remove SparseOHArray::insert
    6295da43
    m-holger authored
    2023-04-01 13:56:47 +0100  
    Browse File »
  • Refactor QPDF_Array::setItem and rename to setAt
    182c2480
    m-holger authored
    2023-04-01 13:56:29 +0100  
    Browse File »
  • Refactor QPDF_Array::eraseItem and rename to erase
    4d37389b
    m-holger authored
    2023-04-01 13:56:16 +0100  
    Browse File »
  • Refactor QPDF_Array::insertItem and rename to insert
    1bb23d05
    m-holger authored
    2023-04-01 13:56:10 +0100  
    Browse File »
  • Refactor QPDF_Array::appendItem and rename to push_back
    cedb37ca
    m-holger authored
    2023-04-01 13:55:14 +0100  
    Browse File »
  • Add new method QPDFValue::checkOwnership
    c6179da9
    m-holger authored
    2023-04-01 13:54:44 +0100  
    Browse File »
  • Refactor QPDF_Array::getItem and rename to at
    a1a8f35b
    m-holger authored
    2023-04-01 13:54:17 +0100  
    Browse File »
  • Inline QPDF_Array::getNItems and rename to size
    51d350c9
    m-holger authored
    2023-04-01 12:25:15 +0100  
    Browse File »
  • Change SparseOHArray index type to int and elements type to map ...
    e6db8dde
    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.
    m-holger authored
    2023-04-01 12:25:06 +0100  
    Browse File »
  • Remove temporary OHArray
    ea516493
    m-holger authored
    2023-04-01 12:24:52 +0100  
    Browse File »

29 Mar, 2023
8 commits
  • Remove temporary OHArray::erase, insert and copy
    9e30de80
    m-holger authored
    2023-03-29 13:15:39 +0100  
    Browse File »
  • Remove temporary OHArray::disconnect and setAt
    0db65e79
    m-holger authored
    2023-03-29 13:06:26 +0100  
    Browse File »
  • Remove temporary OHArray::at
    13672260
    m-holger authored
    2023-03-29 13:00:28 +0100  
    Browse File »
  • Remove temporary OHArray::size, append and remove_last ...
    ad2875a4
    Also, add const overload of QPDFObjectHandle::getObj
    m-holger authored
    2023-03-29 12:34:07 +0100  
    Browse File »
  • Optimize QPDFParser for non-sparse QPDF_Arrays ...
    8fdc3f09
    Stop using nullptr to represent null objects.
    Count null array elements and trigger creation of sparse arrays if null count is
    greater than 100.
    m-holger authored
    2023-03-29 12:10:19 +0100  
    Browse File »
  • Change underlying data structure of QPDF_Array in non-sparse mode to std::vector
    18c1ffe0
    m-holger authored
    2023-03-29 12:01:24 +0100  
    Browse File »
  • Add separate sparse mode to QPDF_Array ...
    38cf7c16
    Add temporary clone of SparseOHArray  to implement non-sparse mode.
    m-holger authored
    2023-03-29 11:48:21 +0100  
    Browse File »
  • Remove redundant QPDF_Array::addExplicitElementsToList
    de29fd56
    m-holger authored
    2023-03-29 10:47:37 +0100  
    Browse File »

31 Dec, 2022
2 commits
  • Avoid inserting direct null objects into olist
    83910224
    m-holger authored
    2022-12-31 14:37:35 -0500  
    Browse File »
  • Change olist variable in QPDFParser::parse to vector<shared_ptr<QPDFObject>>
    9da50ca3
    m-holger authored
    2022-12-31 14:37:35 -0500  
    Browse File »

20 Nov, 2022
2 commits
  • Refactor QPDFObjectHandle::copyObject1
    b1eb1a95
    m-holger authored
    2022-11-20 12:07:22 -0500  
    Browse File »
  • Rename QPDFObject::shallowCopy to copy ...
    dbc5f07b
    Add optional parameter shallow. Change logic errors to runtime errors.
    m-holger authored
    2022-11-20 12:07:22 -0500  
    Browse File »

08 Sep, 2022
3 commits
  • Rename QPDFValueProxy back to QPDFObject ...
    18a583e8
    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.
    Jay Berkenbilt authored
    2022-09-08 11:29:23 -0400  
    Browse File »
  • Change reset to disconnect and clarify comments ...
    c7a4967d
    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.
    Jay Berkenbilt authored
    2022-09-08 11:06:15 -0400  
    Browse File »
  • Clear owning QPDF information for all objects, not just indirect
    264e25f3
    Jay Berkenbilt authored
    2022-09-08 10:19:38 -0400  
    Browse File »