1. 05 Aug, 2019 1 commit
    • Bastien Nocera's avatar
      comics: Fix warning if page cannot be rendered · 956111e8
      Bastien Nocera authored
      If the system is badly configured and there's no pixbuf loader plugin
      available (and the system otherwise advertises it does have one
      available) then don't throw a warning, there will be more useful ones
      later.
      956111e8
  2. 19 Jul, 2019 1 commit
    • Jason Crain's avatar
      djvu: casefold search text in case insensitive search · 26f82137
      Jason Crain authored
      In case-insensitive search, the DjVu backend fails to find any matches
      if the search string contains capital letters. This is because the
      backend 'casefolds' the document text, converting it to a form that can
      be compared independent of case, and which is usually composed of lower
      case letters, but doesn't casefold the search text.
      
      Fix this by also casefolding the search text during case-insensitive
      search.
      
      Fixes #1212
      26f82137
  3. 07 Jun, 2019 1 commit
    • Nelson Benítez León's avatar
      require Poppler 0.76.0 for ignoreDiacritics feature · 613826e6
      Nelson Benítez León authored
      instead of 0.73.0 (where it was first implemented)
      because 0.76.0 includes a fix for a regression that
      caused non-ascii search terms (like in eg. Russian)
      to not match anything when using the ignoreDiacritics
      option.
      
      The workaround is to use the 'case sensitive' search
      option (because using 'case sensitive' automatically
      disables ignoreDiacritics inside Poppler).
      
      But given that Fedora 30 (and probably other distros)
      ship Poppler 0.73.0, we better require the regression
      fixed version of Poppler, so to not regress on users
      which search text in the affected languages.
      
      Issue #1179
      613826e6
  4. 21 Apr, 2019 1 commit
    • Casey's avatar
      backend: fix swapped y-coordinates when adding annotations · a4cc84f9
      Casey authored
      On commit 838fde1a, pdf_document_annotations_add_annotation
      was meant to mimic the behaviour of
      pdf_document_annotations_save_annotation to updte the annotation
      area based on its bounding box. However, it missed correcting the
      coordinates, which this patch fixes.
      
      Fix #1008
      a4cc84f9
  5. 16 Apr, 2019 1 commit
  6. 08 Jan, 2019 1 commit
  7. 09 Nov, 2018 1 commit
  8. 07 Oct, 2018 1 commit
  9. 04 Oct, 2018 1 commit
    • Germán Poo-Caamaño's avatar
      Set back D-Bus application name to lowercase · f99c5543
      Germán Poo-Caamaño authored
      * Set application id lowercase
      * Make the daemon and application names match
      * Make the icons and desktop files match the
        application id
      * Keep the D-BUS interfaces backwards compatible,
        and enable
        the flatpak version to launch the daemon.
      * Take care of translations after renaming files.
      
      This commit also changes the application id for flatpak,
      which is a compromise.
      f99c5543
  10. 29 Sep, 2018 1 commit
  11. 24 Sep, 2018 1 commit
    • Iñigo Martínez's avatar
      build: Port to Meson build system · d69158ec
      Iñigo Martínez authored
      Meson is a build system focused on speed and ease of use, which
      helps speed up software development. This patch adds Meson support
      alongside Autotools.
      d69158ec
  12. 11 Sep, 2018 1 commit
    • Jason Crain's avatar
      djvu: Ignore text regions that are missing text · 2a297354
      Jason Crain authored
      The DjVu document in issue #948 has text regions that cover the entire
      page but only contain an empty string. This makes selecting text with
      either the mouse or the Control+A shortcut difficult because the entire
      page gets selected. Fix this by ignoring empty strings when determining
      the selection region.
      2a297354
  13. 16 Aug, 2018 4 commits
  14. 11 Aug, 2018 1 commit
    • Bastien Nocera's avatar
      comics: Return EV_DOCUMENT_ERROR_UNSUPPORTED_CONTENT when appropriate · 146df384
      Bastien Nocera authored
      Return EV_DOCUMENT_ERROR_UNSUPPORTED_CONTENT when the comic book archive
      contains supported image files that gdk-pixbuf doesn't support, such as
      WebP images.
      
      This reworks the list of supported extensions to be a GHashTable from
      which we can easily figure out whether an extension is known, and
      supported.
      
      This also fixes a memory leak, the supported_extensions GSList
      previously returned by get_supported_image_extensions() was never freed.
      146df384
  15. 10 Aug, 2018 1 commit
  16. 09 Jul, 2018 2 commits
  17. 08 Jul, 2018 1 commit
  18. 02 Jul, 2018 1 commit
  19. 06 Jun, 2018 1 commit
  20. 15 Mar, 2018 1 commit
    • Nelson Benítez León's avatar
      Fix add_annotation() to update area based on bounding box · 838fde1a
      Nelson Benítez León authored
      for Text Markup annotations, same way this is done if using
      save_annotation().
      
      When pdf_document_annotations_save_annotation() saves a Text Markup
      annotation it will, prior to saving, update the area of annotation
      to be based on its bounding box. But this was not being done if we
      just used pdf_document_annotations_add_annotation() (because we
      currently add annotations via a DnD operation that involves both
      an initial add_annotation() plus subsequent save_annotation() calls
      on motion_notify).
      
      So this fix is needed to be able to correctly create a Text Markup
      annotation by a single call to pdf_document_annotations_add_annotation()
      
      Part of https://bugzilla.gnome.org/show_bug.cgi?id=763943
      838fde1a
  21. 21 Feb, 2018 1 commit
  22. 23 Jan, 2018 1 commit
  23. 21 Dec, 2017 2 commits
  24. 05 Oct, 2017 1 commit
    • Germán Poo-Caamaño's avatar
      pdf: Always use poppler_document_save to avoid data loss · 26dc2f52
      Germán Poo-Caamaño authored
      We used to use two methods to save a document: poppler_document_save
      and poppler_document_save_a_copy. The latter only saves a copy of
      the original document, discarding any change done (e.g. forms and
      annotations). However, after a document has been modified and saved,
      if there is no new change and the user saves the document, it will
      discard even the previous saved changes to preserve a copy of the
      original document.
      
      By only using poppler_document_save to save the content of the
      current document opened in Evince, to avoid data loss made between
      saves.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=770012
      26dc2f52
  25. 01 Oct, 2017 1 commit
  26. 17 Aug, 2017 2 commits
  27. 05 Aug, 2017 4 commits
  28. 22 Jul, 2017 4 commits