1. 05 Jun, 2019 2 commits
  2. 29 Mar, 2019 1 commit
  3. 21 Mar, 2019 2 commits
  4. 27 Feb, 2019 2 commits
  5. 20 Dec, 2018 1 commit
  6. 06 Dec, 2018 1 commit
  7. 11 Nov, 2018 1 commit
  8. 23 Oct, 2018 1 commit
  9. 19 Oct, 2018 1 commit
    • Christian Persch (GNOME)'s avatar
      pdf-inspector: Link to the right libraries · 1d8df8e3
      Christian Persch (GNOME) authored
      pdf-inspector doesn't use libpoppler-glib, but linked to it.
      Changing it to link only to libpoppler revealed that it
      used lots of symbols from poppler-glib that poppler-glib
      should not export. Fix that by adding the necessary sources
      to the pdf-inspector sources and linking to the libraries
      needed by these sources (freetype, pthreads).
      1d8df8e3
  10. 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
  11. 23 Sep, 2018 1 commit
  12. 22 Sep, 2018 1 commit
  13. 06 May, 2018 1 commit
  14. 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
  15. 09 Jan, 2018 1 commit
  16. 08 Jan, 2018 2 commits
    • Albert Astals Cid's avatar
      Run clang-tidy with modernize nullptr · e428033c
      Albert Astals Cid authored
      Also add two enum values in the qt5 frontend to representate no flags
      Also mark glib/gtk/cairo system includes so that gcc doesn't report the issues in those headers
      e428033c
    • 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
  17. 15 Nov, 2017 1 commit
    • Adrian Johnson's avatar
      Fix some mingw warnings · 49107ffc
      Adrian Johnson authored
      - Include poppler-config.h for mingw PRINTF_FORMAT
      - Only redefine strcasecmp for MSVC
      - Recent versions of MSVC have snprintf and vsnprintf
      49107ffc
  18. 21 Sep, 2017 1 commit
  19. 17 Sep, 2017 2 commits
  20. 16 Sep, 2017 1 commit
  21. 05 Sep, 2017 1 commit
  22. 03 Sep, 2017 1 commit
  23. 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
  24. 08 Mar, 2017 1 commit
  25. 01 Dec, 2014 1 commit
  26. 30 Nov, 2014 1 commit
  27. 28 Sep, 2014 1 commit
    • Hib Eris's avatar
      Refactor Makefiles to build a noinst library for parsing args · 21b5fd65
      Hib Eris authored
      Prevents this automake warning about possible forward-incompatibility:
      
      $ ./autogen.sh
      ...
      cpp/tests/Makefile.am:16: warning: source file '$(top_srcdir)/utils/parseargs.cc' is in a subdirectory,
      cpp/tests/Makefile.am:16: but option 'subdir-objects' is disabled
      automake: warning: possible forward-incompatibility.
      automake: At least a source file is in a subdirectory, but the 'subdir-objects'
      automake: automake option hasn't been enabled.  For now, the corresponding output
      automake: object file(s) will be placed in the top-level directory.  However,
      automake: this behaviour will change in future Automake versions: they will
      automake: unconditionally cause object files to be placed in the same subdirectory
      automake: of the corresponding sources.
      automake: You are advised to start using 'subdir-objects' option throughout your
      automake: project, to avoid future incompatibilities.
      cpp/tests/Makefile.am:20: warning: source file '$(top_srcdir)/utils/parseargs.cc' is in a subdirectory,
      cpp/tests/Makefile.am:20: but option 'subdir-objects' is disabled
      parallel-tests: installing './test-driver'
      test/Makefile.am:58: warning: source file '../utils/parseargs.cc' is in a subdirectory,
      test/Makefile.am:58: but option 'subdir-objects' is disabled
      
      $ automake --version
      automake (GNU automake) 1.14.1
      ...
      
      https://bugs.freedesktop.org/show_bug.cgi?id=83839
      21b5fd65
  28. 12 Aug, 2014 1 commit
  29. 17 Feb, 2014 1 commit
  30. 27 Jan, 2014 1 commit
  31. 08 Jul, 2013 1 commit
  32. 21 May, 2013 1 commit
  33. 14 Apr, 2013 1 commit
    • Hib Eris's avatar
      Check for strcpy_s() and strcat_s() at configure time · 62a5b4d5
      Hib Eris authored
      It is better to test for functions than to hardcode exceptions for
      specific compilers.
      
      This fixes compiling poppler with the latest mingw-w64 compiler which
      has strcpy_s() and strcat_s() build in.
      
      Bug #63459
      62a5b4d5
  34. 25 Jan, 2013 2 commits