1. 22 May, 2018 2 commits
  2. 06 Apr, 2018 1 commit
    • Albert Astals Cid's avatar
      Make Object return const GooString pointer · a8e93f46
      Albert Astals Cid authored
      This helps making sure noone is changing strings that belong to objects without us realizing.
      
      In fact noone was doing except an ifdef for windows, fixed it to not modify the dict contents anymore
      a8e93f46
  3. 08 Jan, 2018 1 commit
  4. 27 Dec, 2017 1 commit
  5. 31 Jul, 2017 1 commit
  6. 21 Jun, 2017 1 commit
  7. 17 Jun, 2017 1 commit
  8. 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
  9. 05 May, 2017 1 commit
  10. 06 Jan, 2014 2 commits
  11. 15 Nov, 2013 2 commits
  12. 06 Apr, 2013 1 commit
    • Thomas Freitag's avatar
      Fix endstream detection · e1ffa910
      Thomas Freitag authored
      Part 1 of bug #62985
      
      the endstream search, and at least with bug-poppler16579.pdf this doesn't work correctly: the shift(-1) with the used token mechanism in Lexer isn't correct for a binary data stream. If there is i.e. a "(" without corresponding ")" in the binary data, which of course can happen and happens in that pdf, shift(-1) skips the searched endstream and can therefore in worst case reach the end-of-file. Therefore I implemented a shift("endstream") in Java, which I now port back to C++, or in other words "There and Back Again" :-)
      
      You can test it with bug-poppler16579.pdf if You just change temporary
      
                if (longNumber <= INT_MAX && longNumber >= INT_MIN && *end_ptr == '\0') {
      
      in XRef.cc to
      
                if (gFalse && longNumber <= INT_MAX && longNumber >= INT_MIN && *end_ptr == '\0') {
      e1ffa910
  13. 10 Feb, 2013 1 commit
  14. 25 Jan, 2013 2 commits
  15. 19 Jan, 2013 1 commit
  16. 04 Jan, 2013 1 commit
    • Adrian Johnson's avatar
      Parser: return error if stream encountered when allowStreams = false · bef2c42f
      Adrian Johnson authored
      Opening a PDF file where the first object is a stream prints a
      "Command token too long" error message. This is caused by the
      Linearization check in Linearization::Linearization reading objects
      with allowStreams = false. The Parser ignores the "stream" token and
      tries reading the next token which is usually binary data. Setting
      allowStreams to true will not work since the stream length is often an
      indirect object and at this point the XRef has not been created.
      
      Fix this by making Parser return an error object if the "stream" token
      is encountered when allowStreams is false.
      
      Bug 58966
      bef2c42f
  17. 29 Feb, 2012 1 commit
  18. 05 Feb, 2012 1 commit
  19. 06 Dec, 2011 1 commit
  20. 31 Aug, 2011 2 commits
  21. 29 Nov, 2010 1 commit
  22. 20 Nov, 2010 2 commits
  23. 27 Dec, 2009 1 commit
  24. 02 Oct, 2009 1 commit
  25. 26 Sep, 2009 1 commit
  26. 01 Sep, 2008 1 commit
    • Albert Astals Cid's avatar
      All poppler commiters to these files agreed to GPLv2+ · 0c11d390
      Albert Astals Cid authored
      Still missing to answer
      Marco Pesenti Gritti
      	Catalog.cc
      	Outline.cc
      	Outline.h
      
      Kjartan Maraas
      	HtmlOutputDev.cc
      
      Timothy Lee
      	ImageOutputDev.h
      	ImageOutputDev.cc
      
      Carl Worth
      	CairoOutputDev.cc
      
      Ed Catmur
      	GfxFont.cc
      	GlobalParams.cc
      	TextOutputDev.cc
      	TextOutputDev.h
      	UnicodeTypeTable.cc
      	UnicodeTypeTable.h
      0c11d390
  27. 24 Aug, 2008 1 commit
    • Albert Astals Cid's avatar
      Add more correct copyright statements on fofi, goo, poppler and util... · 47f54ad4
      Albert Astals Cid authored
      Add more correct copyright statements on fofi, goo, poppler and util directories to be more compliant with GPL that requires such modification statements to be present. Meanwhile i did that, i did qt and qt4 dirs too, glib is missing if someone wants to fix it, but it's not crucial as it's not a fork of some other GPL software
      47f54ad4
  28. 25 Apr, 2007 1 commit
  29. 28 Dec, 2006 1 commit
    • Albert Astals Cid's avatar
      * goo/GooString.cc · 7da5885e
      Albert Astals Cid authored
      * goo/GooString.h
      * goo/gmem.c
      * goo/gmem.h
      * poppler/Lexer.cc
      * poppler/Lexer.h
      * poppler/PageLabelInfo.cc
      * poppler/Parser.cc
      * poppler/UGooString.cc
      * poppler/UGooString.h: Patch by Krzysztof Kowalczyk <kkowalczyk@gmail.com> to improve performance. See bug 7808 for details.
      7da5885e
  30. 03 Sep, 2006 1 commit
    • Albert Astals Cid's avatar
      * poppler/Dict.cc: · 7905adaa
      Albert Astals Cid authored
              * poppler/Dict.h:
              * poppler/Object.h:
              * poppler/Parser.cc: Patch by Krzysztof Kowalczyk to increase speed by
              means of doing less copies between objects. See bug 8112 for more
              information.
      7905adaa
  31. 18 Jan, 2006 1 commit
  32. 17 Jan, 2006 1 commit
  33. 20 Sep, 2005 1 commit
  34. 16 Sep, 2005 1 commit
    • Marco Pesenti Gritti's avatar
      2005-09-16 Marco Pesenti Gritti <mpg@redhat.com> · a9df3f32
      Marco Pesenti Gritti authored
              * goo/Makefile.am:
              * poppler/DCTStream.h:
              * poppler/Decrypt.cc:
              * poppler/Decrypt.h:
              * poppler/FlateStream.h:
              * poppler/GlobalParams.cc:
              * poppler/GlobalParams.h:
              * poppler/Makefile.am:
              * poppler/PDFDoc.cc:
              * poppler/PDFDoc.h:
              * poppler/Parser.cc:
              * poppler/Parser.h:
              * poppler/Stream.cc:
              * poppler/Stream.h:
              * poppler/XRef.cc:
              * poppler/XRef.h:
              * poppler/poppler-config.h.in:
      
              Merge security plugins support from xpdf 3.01
      a9df3f32