1. 28 May, 2013 1 commit
  2. 17 Apr, 2013 1 commit
  3. 02 Apr, 2013 2 commits
  4. 29 Mar, 2013 1 commit
  5. 26 Mar, 2013 3 commits
  6. 23 Mar, 2013 1 commit
    • Benoît Knecht's avatar
      Use signals to readjust_view_after_zooming() · c9eef954
      Benoît Knecht authored and Sebastian Ramacher's avatar Sebastian Ramacher committed
      
      
      Instead of guesstimating the values of the scrollbars adjustments after
      a change in zoom level, connect callbacks to the "changed" GtkAdjustment
      event (which is emitted when the bounds or page_size of the adjustment
      change, e.g. when the zoom level changes), and compute the new values
      from there.
      
      The previous adjustment values are tracked in zathura->ui.hadjustment
      and zathura->ui.vadjustment (and updated by signal handlers as well), so
      that the view's position can be maintained while zooming.
      
      cb_view_hadjustment_changed() centers the page horizontally if a
      "best-fit" or "width" zoom is being performed, or if "zoom-center" is
      true; otherwise, it keeps the view horizontally centered around the same
      area of the page.
      
      cb_view_vadjustment_changed() always keeps the view vertically centered
      around the same area of the page.
      
      Many thanks to Marwan Tanager for thoroughly reviewing the various
      stages of this patch, and actually coming up with a working solution.
      
      Signed-off-by: Sebastian Ramacher's avatarSebastian Ramacher <sebastian+dev@ramacher.at>
      c9eef954
  7. 17 Mar, 2013 3 commits
  8. 14 Mar, 2013 2 commits
  9. 11 Mar, 2013 1 commit
  10. 28 Feb, 2013 1 commit
  11. 17 Jan, 2013 1 commit
    • Rob Cornish's avatar
      Document saves with current basename if given a directory · 723f1535
      Rob Cornish authored
      
      
      Currently, if :write is given a directory name as its argument, it fails with the "Failed to save document." error. This can sometimes be quite annoying: for instance, when viewing documents that have been downloaded to /tmp from the web, I often find myself wanting to hang on to file without changing its file name. In order to do so, I either have to leave Zathura and cp the file or else retype the whole filename after :write, neither of which are too convenient.
      
      The following patch would make :write work sort of how mv does: if its argument is a currently existing directory, it will be inferred that the user wants to save the document in that directory using its current basename.
      
      Signed-off-by: default avatarSebastian Ramacher <sebastian@ramacher.at>
      723f1535
  12. 15 Jan, 2013 1 commit
  13. 19 Dec, 2012 1 commit
  14. 06 Dec, 2012 1 commit
  15. 09 Oct, 2012 1 commit
  16. 05 Oct, 2012 1 commit
  17. 02 Sep, 2012 2 commits
  18. 13 Aug, 2012 1 commit
  19. 05 Aug, 2012 3 commits
  20. 13 Jul, 2012 2 commits
  21. 12 Jul, 2012 2 commits
  22. 02 Jul, 2012 1 commit
  23. 27 Jun, 2012 1 commit
  24. 20 Jun, 2012 1 commit
  25. 28 May, 2012 1 commit
  26. 08 May, 2012 2 commits
  27. 07 May, 2012 1 commit
  28. 01 May, 2012 1 commit