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
31 Jan, 2019
3 commits
  • Improve locating inline image's EI ...
    2b6c79bc
    We've actually seen a PDF file in the wild that contained EI
    surrounded by delimiters inside the image data, which confused qpdf's
    naive code. This significantly improves EI detection.
    Jay Berkenbilt authored
    2019-01-31 09:26:37 -0500  
    Browse Dir »
  • Refactor QPDFTokenizer's inline image handling ...
    ec9e310c
    Add a version of expectInlineImage that takes an input source and
    searches for EI. This is in preparation for improving the way EI is
    found. This commit just refactors the code without changing the
    functionality and adds tests to make sure the old and new code behave
    identically.
    Jay Berkenbilt authored
    2019-01-31 09:26:37 -0500  
    Browse Dir »
  • Inline image token value ends with EI, not delimiter ...
    31372edc
    The inline image token erroneously included the delimiter that
    followed EI. The ObjectHandle created from it was correct.
    Jay Berkenbilt authored
    2019-01-31 09:26:37 -0500  
    Browse Dir »

29 Jan, 2019
2 commits
  • Clean up some private functions
    b776dcd2
    Jay Berkenbilt authored
    2019-01-29 22:14:20 -0500  
    Browse Dir »
  • Handle direct page objects (fixes #164)
    8a9cfd26
    Jay Berkenbilt authored
    2019-01-29 17:01:36 -0500  
    Browse Dir »

28 Jan, 2019
3 commits
  • Clarify documentation for copyForeignObject regarding pages ...
    2d0885bc
    Make explicit that copyForeignObject can be used on page objects and
    will copy them properly but not update the pages tree.
    Jay Berkenbilt authored
    2019-01-28 21:53:55 -0500  
    Browse Dir »
  • Fix logic for when to compress object and xref streams (fixes #271)
    2712869c
    Jay Berkenbilt authored
    2019-01-28 21:43:06 -0500  
    Browse Dir »
  • Resolve duplicated page objects (fixes #268) ...
    52f9d326
    When linearizing a file or getting the list of all pages in a file,
    detect if the pages tree contains a duplicated page object and, if so,
    shallow copy it. This makes it possible to have a one to one mapping
    of page positions to page objects.
    Jay Berkenbilt authored
    2019-01-28 20:29:58 -0500  
    Browse Dir »

27 Jan, 2019
3 commits
  • Convert pages to form XObjects ...
    623f5b66
    Support conversion of pages to form XObjects and placement of form
    XObjects on pages.
    Jay Berkenbilt authored
    2019-01-27 07:50:30 -0500  
    Browse Dir »
  • Move rectangle transformation into QPDFMatrix
    68ccd87c
    Jay Berkenbilt authored
    2019-01-27 07:50:30 -0500  
    Browse Dir »
  • Add QPDFObjectHandle::getUniqueResourceName
    8cb24573
    Jay Berkenbilt authored
    2019-01-27 07:50:30 -0500  
    Browse Dir »

25 Jan, 2019
1 commit
  • Handle inheritable page attributes ...
    009767d9
    Add getAttribute for handling inheritable page attributes, and fix
    getPageImages and annotation flattening code to use it.
    Jay Berkenbilt authored
    2019-01-25 22:30:05 -0500  
    Browse Dir »

21 Jan, 2019
1 commit
  • Handle fallback font size in text appearances ...
    2d32f4db
    If we end up using our fallback font size when generating appearances
    for text fields, reflect that in the Tf operator used in the
    appearance stream.
    Jay Berkenbilt authored
    2019-01-21 07:38:21 -0500  
    Browse Dir »

20 Jan, 2019
3 commits
  • Improve text objects used in text appearance streams
    9cb59987
    Jay Berkenbilt authored
    2019-01-20 23:05:58 -0500  
    Browse Dir »
  • Fix omissions in text appearance generation ...
    930eade6
    When generating appearance streams for variable text annotations,
    properly handle the cases of there being no appearance dictionary, no
    appearance stream, or an appearance stream with no BMC..EMC marker.
    Jay Berkenbilt authored
    2019-01-20 23:05:58 -0500  
    Browse Dir »
  • When flattening, remove annotations with no appearance stream ...
    65ef0bf3
    With the exception of form field annotations when /NeedAppearances is
    true, remove annotations that don't have appearance streams when
    flattening. There is no reason to keep these when flattening since
    they are invisible. This may include unchecked checkboxes, unshown
    popup windows, etc.
    Jay Berkenbilt authored
    2019-01-20 23:05:58 -0500  
    Browse Dir »

19 Jan, 2019
1 commit
  • mingw workaround for QPDFExc destructor ...
    c18ee440
    mingw doesn't like it when you don't inline empty virtual destructors.
    Jay Berkenbilt authored
    2019-01-19 10:14:07 -0500  
    Browse Dir »

17 Jan, 2019
8 commits
  • Add QUtil::possible_repaired_encodings
    e87d1499
    Jay Berkenbilt authored
    2019-01-17 11:43:56 -0500  
    Browse Dir »
  • Modernize encryption API for more granularity ...
    6ec22f11
    Setting encryption permissions for R >= 3 set permission bits in
    groups corresponding to menu options in Acrobat 5. The new API allows
    the bits to be set individually.
    Jay Berkenbilt authored
    2019-01-17 11:43:56 -0500  
    Browse Dir »
  • Add status-reporting transcoders to QUtil
    46303777
    Jay Berkenbilt authored
    2019-01-17 11:43:56 -0500  
    Browse Dir »
  • QUtil::analyze_encoding
    8f389f14
    Jay Berkenbilt authored
    2019-01-17 11:43:56 -0500  
    Browse Dir »
  • Bidirectional transcoding for win, mac, pdf, utf8, utf16
    6817ca58
    Jay Berkenbilt authored
    2019-01-17 11:43:56 -0500  
    Browse Dir »
  • Move remaining existing transcoding to QUtil
    69848546
    Jay Berkenbilt authored
    2019-01-17 11:43:56 -0500  
    Browse Dir »
  • Additional checks for unreferenced resources ...
    5cfcd4f3
    Explicitly abandon removal of unreferenced resources if there are any
    lexical errors in the page's contents. This case always generated a
    warning, but it now also prevents removal of unreferenced resources,
    this strongly decreasing the likelihood of data loss.
    Jay Berkenbilt authored
    2019-01-17 11:43:56 -0500  
    Browse Dir »
  • Copy subdictionaries when removing resources (fixes #276) ...
    4bc43400
    When removing unreferenced resources, the code was copying the overall
    resource dictionaries but not the subdictionaries being modified. This
    was a "typo" in the code -- the comment clearly stated the need to do
    this, but the code replaced the dictionary with itself rather than
    with a shallow copy of itself.
    Jay Berkenbilt authored
    2019-01-17 09:40:05 -0500  
    Browse Dir »

12 Jan, 2019
1 commit
  • Allow adding the same page more than once in --pages (fixes #272)
    654c0e8c
    Jay Berkenbilt authored
    2019-01-12 10:01:47 -0500  
    Browse Dir »

10 Jan, 2019
2 commits
  • Add configure option AVOID_WINDOWS_HANDLE ...
    4ecd1df6
    If set, we avoid using Windows I/O HANDLE, which is disallowed in some
    versions of the Windows SDK, such as for Windows phones.
    QUtil::same_file will always return false in this case. Only applies
    to Windows builds.
    Jay Berkenbilt authored
    2019-01-10 22:35:08 -0500  
    Browse Dir »
  • Add QPDF::setImmediateCopyFrom
    d24a120c
    Jay Berkenbilt authored
    2019-01-10 22:35:08 -0500  
    Browse Dir »

07 Jan, 2019
6 commits
  • Update version to 8.3.0
    b653929c
    Jay Berkenbilt authored
    2019-01-07 11:16:54 -0500  
    Browse Dir »
  • Fix integer overflow in large file test
    aa602fd1
    Jay Berkenbilt authored
    2019-01-07 08:49:14 -0500  
    Browse Dir »
  • Exercise out of scope original pdf for copyForeignObject
    c3cee5f1
    Jay Berkenbilt authored
    2019-01-07 07:38:03 -0500  
    Browse Dir »
  • Mostly don't require original QPDF for copyForeignObject (fixes #219) ...
    fddbcab0
    The original QPDF is only required now when the source
    QPDFObjectHandle is a stream that gets its stream data from a
    QPDFObjectHandle::StreamDataProvider.
    Jay Berkenbilt authored
    2019-01-07 00:11:15 -0500  
    Browse Dir »
  • Make a static version of QPDF::pipeStreamData ...
    fbbb0ee0
    This is in preparation of being able to pipe a stream's data without
    keeping a copy of its containing qpdf object.
    Jay Berkenbilt authored
    2019-01-07 00:11:15 -0500  
    Browse Dir »
  • Create an application-scope unique ID for each QPDF object ...
    7588cac2
    Use this instead of QPDF* as a map key for object_copiers.
    Jay Berkenbilt authored
    2019-01-07 00:11:15 -0500  
    Browse Dir »

06 Jan, 2019
1 commit
  • Move encryption parameters into a class
    e27ac682
    Jay Berkenbilt authored
    2019-01-06 09:58:16 -0500  
    Browse Dir »

05 Jan, 2019
5 commits
  • Honor other base encodings when generating appearances
    a70fbaaf
    Jay Berkenbilt authored
    2019-01-05 23:01:59 -0500  
    Browse Dir »
  • Add WinAnsi and MacRoman encoding
    b341d742
    Jay Berkenbilt authored
    2019-01-05 23:01:44 -0500  
    Browse Dir »
  • Refactor QUtil::utf8_to_ascii
    3ef1b773
    Jay Berkenbilt authored
    2019-01-05 22:59:29 -0500  
    Browse Dir »
  • Move utf8_to_utf16 into QUtil
    089ce590
    Jay Berkenbilt authored
    2019-01-05 22:59:27 -0500  
    Browse Dir »
  • Refactor string transcoding in QPDF_String
    ae18bfd1
    Jay Berkenbilt authored
    2019-01-05 22:56:58 -0500  
    Browse Dir »