1. 18 Mar, 2018 1 commit
  2. 07 Mar, 2018 1 commit
  3. 04 Mar, 2018 5 commits
  4. 15 Feb, 2018 2 commits
  5. 13 Feb, 2018 1 commit
  6. 12 Feb, 2018 1 commit
    • Jeremie Knuesel's avatar
      Distinguish zoom and scale, always apply DPI correction on scale · d625c0d9
      Jeremie Knuesel authored
      Replace scale with zoom in most cases. Scale means pixels per point, as
      before. The zoom is the screen-size / document-size ratio: a zoom of 1
      means that the document should have the same size on screen as on paper.
      This fixes many issues with the previous DPI changes, e.g. with link and
      search rectangles.
  7. 02 May, 2017 1 commit
  8. 30 Apr, 2017 2 commits
  9. 12 Nov, 2015 3 commits
  10. 26 Jul, 2015 1 commit
  11. 24 Jul, 2015 1 commit
  12. 20 Jan, 2015 1 commit
  13. 07 Nov, 2014 1 commit
  14. 07 Sep, 2014 3 commits
  15. 19 Jan, 2014 2 commits
  16. 29 Jun, 2013 1 commit
  17. 21 Jun, 2013 5 commits
    • Sebastian Ramacher's avatar
      Use sqlite3_mprintf for proper escaping · 3e5bfe3d
      Sebastian Ramacher authored
      Not that is really needed here since every argument is controlled by us. But
      rather safe than sorry.
      Signed-off-by: Sebastian Ramacher's avatarSebastian Ramacher <sebastian+dev@ramacher.at>
    • Sebastian Ramacher's avatar
    • Marwan Tanager's avatar
      Eliminate the need for sqlite3_table_column_metadata · 4c795259
      Marwan Tanager authored
      This is so that Zathura would compile without errors when enabling sqlite
      support on systems that doesn't have sqlite compiled with
      SQLITE_ENABLE_COLUMN_METADATA (which are the majority).
      Signed-off-by: Sebastian Ramacher's avatarSebastian Ramacher <sebastian+dev@ramacher.at>
    • Sebastian Ramacher's avatar
    • Marwan Tanager's avatar
      Bookmark the exact position, not just the page number (along with a number of fixes). · ae59da30
      Marwan Tanager authored
      This patch adds some enhancements/fixes to the bookmarking feature of Zathura:
          - Bookmark the exact vertical and horizontal adjustments values, along with
            the page number. This is done in a backward-compatible way for both the
            plain and sqlite database backends, so that bookmarks that was taken
            previously (bookmarking only the page number) will still work as expected
            and won't be lost.
          - Fix the issue of not being able to remove bookmarks from the plain
            database; removing a bookmark in plain_remove_bookmark using
            g_key_file_remove_key corrupts the bookmarks file.  This is due to not
            truncating the entire bookmarks file in zathura_db_write_key_file_to_file
            prior to overriding it with a new one not containing the removed line.
            This is why, I guess, plain_remove_bookmark hadn't been implemented as
            expected using g_key_file_remove_key, because apparently, someone thought
            that the problem is caused by this API.
          - Fix not being able to update existing bookmarks persistently; updating a
            bookmark works only during the current session, but after the file is
            closed and reopened, the updated bookmark still has it's old value. This
            is due to changing only the bookmark structure in memory; the proper way
            to do it, is to call zathura_db_remove_bookmark on the old bookmark, then
            follow that by a call to zathura_db_add_bookmark on a bookmark structure
            containing the new position and the same old ID.
          - Make zathura_bookmark_add updates the bookmark if it already exists,
            rather than doing this externally in cmd_bookmark_create. This allows us
            to have all the relevant girara_notify messages in cmd_bookmark_create.
      Signed-off-by: Sebastian Ramacher's avatarSebastian Ramacher <sebastian+dev@ramacher.at>
  18. 25 Mar, 2013 1 commit
  19. 14 Mar, 2013 2 commits
  20. 08 Oct, 2012 1 commit
  21. 27 Jun, 2012 1 commit
  22. 27 Apr, 2012 1 commit
  23. 22 Apr, 2012 1 commit
  24. 20 Apr, 2012 1 commit