1. 21 Sep, 2018 2 commits
  2. 01 Sep, 2018 1 commit
  3. 06 Apr, 2018 1 commit
  4. 05 Apr, 2018 1 commit
  5. 08 Jan, 2018 1 commit
    • Albert Astals Cid's avatar
      Delete lots of copy constructors and copy assignment operators · 8794789a
      Albert Astals Cid authored
      Fixes rule-of-three and copyable-polymorphic warnings reported by clazy.
      
      The default copy constructor and copy assignment operator are
      only valid for simple classes so we delete them (i.e. make then not exist)
      when we have either a virtual class or a destructor, the code still compiles
      so this doesn't fix any bug, it is more a protection for when you think you
      can copy a class and don't realize the default copy constrcutor is not doing
      what you want and you get crashes. Hopefully this helps us in the future :)
      8794789a
  6. 03 Nov, 2017 1 commit
  7. 21 Oct, 2017 1 commit
  8. 03 Jul, 2017 1 commit
  9. 12 May, 2017 1 commit
  10. 08 May, 2017 1 commit
    • Albert Astals Cid's avatar
      New Object API · 9773c153
      Albert Astals Cid authored
      Implement the move operators and copy construtor
      
      Almost all the init() functions are gone and we just have simple
      constructors now
      
      Also made free() public since you're not supposed to call it anymore,
      unless you're being evil and malloc'ing Objects like Array/Dict/XRef
      
      This has a huge reaction chain, most importantly we
      don't get objects by passing a pointer Object parameter, we
      just get the object as a return value, which is a much clearer API
       -  aobj->copy(&obj);
       +  obj = aobj->copy();
      before I was never sure what was being copied into what
      
      Comes with a huge diff, I probably made some mistake in the porting
      since there was lots of copy & paste involved
      9773c153
  11. 23 Oct, 2016 1 commit
  12. 03 Jul, 2016 1 commit
  13. 20 Mar, 2016 1 commit
  14. 14 Sep, 2015 1 commit
  15. 13 Sep, 2015 2 commits
  16. 01 Sep, 2015 1 commit
  17. 31 Aug, 2015 1 commit
    • Adam Reichold's avatar
      Add option to strip encryption · a4261428
      Adam Reichold authored
      Adds a PDF write mode that forces a complete rewrite that ignores the original
      encryption parameters of the document and also removes the encryption entry
      from the trailer dictionary.
      a4261428
  18. 03 Nov, 2014 2 commits
  19. 25 Jul, 2014 1 commit
  20. 03 Jun, 2014 1 commit
  21. 07 May, 2014 1 commit
  22. 26 Feb, 2014 1 commit
  23. 10 Dec, 2013 1 commit
  24. 02 Oct, 2013 1 commit
    • Adrián Pérez de Castro's avatar
      Tagged-PDF: Implement parsing of StructTreeRoot · e04cabd8
      Adrián Pérez de Castro authored
      Implement parsing of the StructTreeRoot entry of the Catalog. Also, the
      Catalog::getStructTreeRoot() and PDFDoc::getStructTreeRoot() methods are
      modified to return an instance of StructTreeRoot instead of an Object.
      
      All elements from the StructTreeRoot are parsed except for:
      
      - IDTree: it is a lookup tree to locate items by their ID, which would
        be barely useful because the whole structure tree is to be kept in
        memory, which should be fast enough to traverse.
      - ParentTreeNextKey: This is needed only when the ParentTree object is
        to be modified. For the moment the implementation deals only with
        reading, so this has been deliberately left out.
      
      StructElem tree nodes from the document structure tree are parsed as a
      StructElement instance. Attributes and extraction of content out from
      elements are not yet handled.
      
      https://bugs.freedesktop.org/show_bug.cgi?id=64815
      e04cabd8
  25. 04 Apr, 2013 1 commit
  26. 27 Jan, 2013 1 commit
  27. 25 Jan, 2013 2 commits
  28. 19 Jan, 2013 1 commit
  29. 28 Dec, 2012 1 commit
    • Thomas Freitag's avatar
      Repair pdfunite · d61c6d49
      Thomas Freitag authored
      Sorry, when I implemented the support encrypted pdf files in pdfseparate I
      missed that writePageObjects of course is also used in pdfunite for combining
      pages, and even more that encrypted files are still not supported by pdfunite,
      I removed the numoffset from writing the objects itself. Therefore there are
      still all objects in the combined pdf file, but the references missing the
      numoffset and therefore were no more reachable.
      The patch repairs it.
      
      Bug #58569
      d61c6d49
  30. 07 Nov, 2012 1 commit
    • Fabio D'Urso's avatar
      Replaced forward declaration of enum CryptAlgorithm with a proper #include · 40efa729
      Fabio D'Urso authored
      Forward-declaring enums is illegal. It hasn't caused problems so far
      because XRef.h includes Object.h, which in turn includes Stream.h, where
      the enum is defined.
      Therefore, enum is alreadly defined when the compiler reaches that line.
      
      To avoid future issues, I've replaced it with a proper #include "Stream.h"
      (which expands to nothing as Stream.h has already been included at that
      point).
      
      I've also added a #include in XRef.h because it references enum
      CryptAlgorithm too. Also in this case, it expands to nothing.
      40efa729
  31. 06 Sep, 2012 2 commits
  32. 26 Apr, 2012 1 commit
  33. 16 Nov, 2011 1 commit
  34. 29 Aug, 2011 1 commit
    • Thomas Freitag's avatar
      Rework writing of PDF files · 8ca2f410
      Thomas Freitag authored
      Makes it more compatible with other PDF readers
      See "Creating PDF with poppler ?" thread in the mailing list for more info
      8ca2f410
  35. 10 Nov, 2010 1 commit