1. 27 Nov, 2018 1 commit
  2. 25 May, 2018 2 commits
  3. 22 May, 2018 1 commit
  4. 11 Mar, 2018 2 commits
  5. 20 Feb, 2018 1 commit
  6. 29 Jan, 2018 1 commit
  7. 09 Dec, 2017 2 commits
  8. 25 Jun, 2017 1 commit
  9. 06 Dec, 2015 1 commit
  10. 25 Nov, 2014 1 commit
  11. 07 Nov, 2014 1 commit
  12. 27 Sep, 2014 1 commit
  13. 11 Apr, 2014 1 commit
  14. 29 Jan, 2014 1 commit
  15. 19 Jan, 2014 1 commit
  16. 01 Nov, 2013 2 commits
  17. 30 Oct, 2013 1 commit
  18. 26 Oct, 2013 1 commit
  19. 21 Aug, 2013 1 commit
  20. 21 Jun, 2013 1 commit
    • 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>
      ae59da30
  21. 10 Jun, 2013 2 commits
    • Marwan Tanager's avatar
    • Marwan Tanager's avatar
      More Vim-like search behavior · cc3b9aea
      Marwan Tanager authored
      This patch activates the last aborted search when pressing the search shortcuts
      ('n' or 'N').
      
      To avoid confusion, and to make things more predictable, I've chosen to always
      reactivate an aborted search starting from the beginning (or end, in case of
      'N' or '?') of the current page, as opposed to Vim which continues from the
      next search term each time the search is reactivated.
      
      Searching using '/' or '?' doesn't center the view at the current search term
      like when using 'n' or 'N', so we fix this here.
      
      Also, I managed to work around the issue of the thin rectangular margins that
      show around the previously-highlighted search terms after the search is aborted
      (either explicitly or as a result of following links), by redrawing the page
      widget (only if it's visible) instead of redrawing the rectangles covering the
      highlighted search terms.
      Signed-off-by: Sebastian Ramacher's avatarSebastian Ramacher <sebastian+dev@ramacher.at>
      cc3b9aea
  22. 08 May, 2013 1 commit
  23. 17 Mar, 2013 1 commit
  24. 19 Dec, 2012 1 commit
  25. 09 Oct, 2012 1 commit
  26. 22 Sep, 2012 1 commit
  27. 14 Aug, 2012 1 commit
  28. 12 Jul, 2012 1 commit
  29. 13 Jun, 2012 1 commit
  30. 08 May, 2012 1 commit
  31. 01 May, 2012 1 commit
  32. 22 Apr, 2012 1 commit
  33. 06 Apr, 2012 1 commit
  34. 03 Apr, 2012 1 commit
  35. 01 Apr, 2012 1 commit