1. 19 Jan, 2014 4 commits
  2. 03 Dec, 2013 1 commit
  3. 01 Dec, 2013 1 commit
  4. 22 Nov, 2013 1 commit
  5. 07 Nov, 2013 5 commits
  6. 26 Oct, 2013 2 commits
    • Abdo Roig-Maranges's avatar
      add functions to compute page positions · 030a8c65
      Abdo Roig-Maranges authored
      The plan is to put in adjustment.c every piece of code that has to do
      with document positioning, either computing it from data on the document
      side, or talking to GTK.
      We want to have at our disposal functions to compute sizes and positions
      without having to ask for it to a GTK widget. The new functions are:
       - move page_calc_height_width to adjustment.c
       - add page_calc_position that rotates a position relative to a page
         according to the rotation settings.
       - add position_to_page_number that computes the number of a page
         sitting at a given position (given in document-relative coordinates)
       - add page_number_to_position that computes the position (in document
         relative coordinates) that will be placed at the center of the viewport.
       - add page_is_visible that checks whether the given page intersects the
    • Abdo Roig-Maranges's avatar
      change arguments to page_calc_height_width · 7329209d
      Abdo Roig-Maranges authored
      now accepts a document object and explicit width and height. This will
      make it easier to reuse this function for computing the document page
      cell width and height.
  7. 20 Oct, 2013 1 commit
  8. 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
      * the page is not cached and the render request is aborted.
      Signed-off-by: Sebastian Ramacher's avatarSebastian Ramacher <sebastian+dev@ramacher.at>
  9. 18 Oct, 2013 1 commit
  10. 30 Aug, 2013 8 commits
  11. 23 Aug, 2013 1 commit
  12. 21 Aug, 2013 1 commit
  13. 26 Jul, 2013 1 commit
  14. 02 Apr, 2013 1 commit
  15. 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
      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
      Signed-off-by: Sebastian Ramacher's avatarSebastian Ramacher <sebastian+dev@ramacher.at>
  16. 23 Feb, 2013 1 commit
  17. 09 Feb, 2013 1 commit
  18. 20 Jan, 2013 1 commit
  19. 08 Oct, 2012 1 commit
  20. 01 Aug, 2012 2 commits
  21. 20 Jun, 2012 3 commits
  22. 16 Jun, 2012 1 commit