1. 05 Apr, 2019 2 commits
    • Albert Astals Cid's avatar
      Introduce Dict::getVal(int i, Ref *returnRef) · 70845beb
      Albert Astals Cid authored
      And use it in FontInfoScanner::scanFonts
    • Albert Astals Cid's avatar
      Use Ref::INVALID more · 3fe46034
      Albert Astals Cid authored
      In this case we have to be a bit more careful since we're changing code that
      used to assign to 0,0 and now INVALID is -1, -1 but i'm confident it's
      inReplyTo seems to be only used in qt5/src/poppler-annotation.cc and
      i've updated the code to use the boolean isInReplyTo instead of checking
      the ref number directly
      The change in Dict only affects its two callers, one in Annot and one in
      Catalog. The one in catalog has been updated, the one in Annot doesn't
      seem to need updating (and moreover if you check history before using
      the new Dict function was using -1, -1 as ref not initialized)
      The change in Array only affects its one caller, in Function, whose code
      has been updated
      The embFontID change is something that was forgotten in the previous
      commit about using Ref::INVALID
      The change for iccProfileStreamA is only local to that function and has
      been changed to use Ref::INVALID in all its uses
  2. 28 Feb, 2019 1 commit
  3. 27 Feb, 2019 2 commits
  4. 23 Oct, 2018 1 commit
  5. 10 Oct, 2018 1 commit
    • Adam Reichold's avatar
      Remove usage of pragmas interface and implementation · 7f20ace4
      Adam Reichold authored
      GCC recommends not using them for a long time and its documentation says:
      > These #pragmas have been superceded as of GCC 2.7.2 by COMDAT support
      > and the “key method” heuristic mentioned in Vague Linkage.
      > Using them can actually cause your program to grow due to
      > unnecessary out-of-line copies of inline functions.
      Also nobody seems to set USE_GCC_PRAGMAS and sometimes they were
      guarded by just __GNUC__ which upsets Clang.
  6. 21 Sep, 2018 3 commits
  7. 23 Aug, 2018 4 commits
  8. 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 :)
  9. 03 Nov, 2017 1 commit
  10. 21 Oct, 2017 1 commit
  11. 21 Sep, 2017 1 commit
  12. 12 May, 2017 1 commit
  13. 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
  14. 05 May, 2017 1 commit
  15. 19 Jan, 2013 1 commit
  16. 06 Dec, 2011 1 commit
  17. 30 Aug, 2011 1 commit
  18. 23 Nov, 2010 1 commit
  19. 20 Nov, 2010 2 commits
  20. 17 Oct, 2010 1 commit
  21. 21 Sep, 2010 1 commit
  22. 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
      Kjartan Maraas
      Timothy Lee
      Carl Worth
      Ed Catmur
  23. 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
  24. 19 Jan, 2008 1 commit
  25. 25 Apr, 2007 1 commit
  26. 24 Feb, 2007 1 commit
    • Albert Astals Cid's avatar
      2007-02-25 Julien Rebetez <julienr@svn.gnome.org> · 74e70386
      Albert Astals Cid authored
                  reviewed by: <aacid@kde.org>
              * glib/poppler-document.cc:
              * glib/poppler-document.h:
              * glib/poppler-page.cc:
              * glib/poppler-page.h:
              * glib/poppler-private.h:
              * glib/poppler.h:
              * poppler/Annot.cc:
              * poppler/Annot.h:
              * poppler/Catalog.cc:
              * poppler/Catalog.h:
              * poppler/CharCodeToUnicode.cc:
              * poppler/CharCodeToUnicode.h:
              * poppler/Dict.cc:
              * poppler/Dict.h:
              * poppler/Form.cc:
              * poppler/Form.h:
              * poppler/GfxFont.cc:
              * poppler/GfxFont.h:
              * poppler/Makefile.am:
              * poppler/Object.h:
              * poppler/Page.cc:
              * poppler/Page.h:
              * poppler/XRef.cc:
              * poppler/XRef.h:
                      Beginning of Interactive Form support:
                      Add a bunch of new classes (FormWidget / FormField) to deal with form
                      Add support for object modification through XRef::setModifiedObject, as
                      well as a function to write the Xref to a file, which will be used
                      to implement PDF writing.
                      Add some functions to glib wrapper to expose the new form features.
  27. 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
  28. 18 Jan, 2006 1 commit
  29. 28 Mar, 2005 1 commit
    • Kristian Høgsberg's avatar
      2005-03-28 Kristian Høgsberg <krh@redhat.com> · 2de98f38
      Kristian Høgsberg authored
              * poppler/Page.cc (loadThumb): Backend agnostic method for
              extracting an embedded thumbnail iamge.
              * poppler/Dict.cc (lookupInt): New convenience method.
              * glib/poppler-page.cc (poppler_page_get_thumbnail): New glib
              function for getting the embedded thumbnail image for a page.
  30. 03 Mar, 2005 1 commit