1. 11 Feb, 2018 1 commit
  2. 02 Feb, 2018 1 commit
  3. 29 Jan, 2018 1 commit
  4. 24 Jan, 2018 1 commit
    • Jeremie Knuesel's avatar
      HiDPI: refactor handling of device scale factors · 4e9f8a7b
      Jeremie Knuesel authored
      The document scale factors are now guaranteed to be non-zero.
      
      A new Cairo helper function get_safe_device_factors() and a type
      zathura_device_factors_t are introduced to simplify the code and avoid
      some #ifdef blocks.
      4e9f8a7b
  5. 23 Jan, 2018 3 commits
  6. 22 Jan, 2018 1 commit
  7. 06 Nov, 2016 2 commits
  8. 21 Dec, 2015 3 commits
  9. 07 Dec, 2015 1 commit
  10. 11 Oct, 2015 1 commit
  11. 08 Oct, 2015 1 commit
  12. 07 Nov, 2014 1 commit
  13. 30 Sep, 2014 1 commit
  14. 19 Jan, 2014 4 commits
  15. 03 Dec, 2013 1 commit
  16. 01 Dec, 2013 1 commit
  17. 22 Nov, 2013 1 commit
  18. 07 Nov, 2013 5 commits
  19. 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
         viewport.
      030a8c65
    • 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.
      7329209d
  20. 20 Oct, 2013 1 commit
  21. 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
  22. 18 Oct, 2013 1 commit
  23. 30 Aug, 2013 5 commits