1. 03 Dec, 2019 2 commits
  2. 02 Dec, 2019 1 commit
  3. 01 Dec, 2019 1 commit
  4. 29 Nov, 2019 2 commits
  5. 23 Nov, 2019 1 commit
  6. 30 Oct, 2019 1 commit
    • Albert Astals Cid's avatar
      Introduce Object::getNumWithDefaultValue · 647274f1
      Albert Astals Cid authored
      Is like getNum but instead of asserting if Object is not a num it
      returns the given default value
      
      I find it much easier to read
          rect->x1 = obj1.arrayGet(0).getNumWithDefaultValue(0);
      than
          (obj2 = obj1.arrayGet(0), obj2.isNum() ? rect->x1 = obj2.getNum() : rect->x1 = 0);
      
      On top of it has the benefit of being slightly faster
      647274f1
  7. 27 Sep, 2019 1 commit
  8. 24 Aug, 2019 2 commits
  9. 21 Aug, 2019 1 commit
  10. 10 Aug, 2019 1 commit
  11. 01 Aug, 2019 1 commit
  12. 04 Jul, 2019 1 commit
  13. 21 Jun, 2019 1 commit
  14. 05 Jun, 2019 1 commit
  15. 05 Apr, 2019 1 commit
    • 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
      fine
      
      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
      3fe46034
  16. 28 Mar, 2019 1 commit
  17. 21 Mar, 2019 6 commits
  18. 27 Feb, 2019 2 commits
  19. 25 Jan, 2019 1 commit
  20. 05 Jan, 2019 1 commit
  21. 03 Jan, 2019 1 commit
  22. 01 Jan, 2019 2 commits
  23. 06 Dec, 2018 2 commits
  24. 11 Nov, 2018 1 commit
  25. 23 Oct, 2018 1 commit
  26. 17 Oct, 2018 1 commit
  27. 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.
      7f20ace4
  28. 05 Oct, 2018 2 commits