1. 07 Nov, 2016 2 commits
  2. 23 Apr, 2016 1 commit
  3. 29 Nov, 2014 1 commit
  4. 07 Nov, 2014 1 commit
  5. 28 Oct, 2014 4 commits
  6. 26 Oct, 2014 2 commits
  7. 22 Aug, 2014 1 commit
  8. 15 Aug, 2014 1 commit
  9. 26 Jul, 2014 1 commit
  10. 26 May, 2014 1 commit
  11. 24 May, 2014 2 commits
  12. 07 Apr, 2014 1 commit
  13. 19 Jan, 2014 1 commit
  14. 03 Dec, 2013 2 commits
  15. 01 Dec, 2013 2 commits
  16. 28 Nov, 2013 1 commit
  17. 25 Nov, 2013 1 commit
  18. 31 Oct, 2013 1 commit
  19. 19 Oct, 2013 1 commit
    • Sebastian Ramacher's avatar
      Finish moving of the page cache · 5df5357f
      Sebastian Ramacher authored
      Add two more signals to ZathuraRenderRequest to notify pages if they are cached
      or not. This allows us to move some logic away from
      cb_view_vadjutment_value_changed to more appropriate places.
      
      ZathuraPageWidget will now release the surface if
      * it gets the signal that the page is no longer cached and the page is
        invisible,
      * the page is not cached and the render request is aborted.
      Signed-off-by: Sebastian Ramacher's avatarSebastian Ramacher <sebastian+dev@ramacher.at>
      5df5357f
  20. 31 Aug, 2013 2 commits
  21. 30 Aug, 2013 4 commits
  22. 23 Aug, 2013 1 commit
  23. 21 Aug, 2013 1 commit
  24. 27 Jul, 2013 1 commit
  25. 26 Jul, 2013 1 commit
  26. 10 Jun, 2013 1 commit
    • 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
  27. 01 Apr, 2013 1 commit
  28. 26 Mar, 2013 1 commit
    • Marwan Tanager's avatar
      Replace the periodic page reclaiming code with a LRU caching algorithm. · cb18fe86
      Marwan Tanager authored
      This patch implements a page cache that is invalidated in a LRU fashion.
      
      Pages are added to the cache as soon as they become visible. When the cache is
      full and a new page that isn't in the cache becomes visible, the least recently
      viewed page in the cache is evicted from memory and the new one takes it's
      place.
      
      The cache size is configurable using the page-cache-size configuration
      variable, with a default value of 15 pages. Very large values for the cache
      size are not recommended, though, as it will stress the system memory out.
      
      The old periodic page reclaiming code is no longer necessary with this patch,
      so I removed it.
      
      Special thanks to Ignas Anikevičius, and Sebastian Ramacher for the
      inspirations.
      Signed-off-by: Sebastian Ramacher's avatarSebastian Ramacher <sebastian+dev@ramacher.at>
      cb18fe86