- 11 Feb, 2018 1 commit
-
-
Jeremie Knuesel authored
-
- 24 Jan, 2018 1 commit
-
-
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.
-
- 23 Jan, 2018 4 commits
-
-
Jeremie Knuesel authored
-
Jeremie Knuesel authored
-
Jeremie Knuesel authored
-
Jeremie Knuesel authored
The scale-factor property is more specific than the GDK configure event and is the recommended way to watch for scale factor changes.
-
- 22 Jan, 2018 1 commit
-
-
Jeremie Knuesel authored
-
- 12 Sep, 2017 1 commit
-
-
Sebastian Ramacher authored
Signed-off-by:
Sebastian Ramacher <sebastian+dev@ramacher.at>
-
- 04 Dec, 2016 1 commit
-
-
Sebastian Ramacher authored
-
- 03 Dec, 2016 1 commit
-
-
Felix Kaiser authored
This allows fast visual navigation through the 'd'ouble page shortcut in combination with a high pages-per-row setting. Resolves #635
-
- 25 Oct, 2016 3 commits
-
-
Sebastian Ramacher authored
Signed-off-by:
Sebastian Ramacher <sebastian+dev@ramacher.at>
-
Sebastian Ramacher authored
Signed-off-by:
Sebastian Ramacher <sebastian+dev@ramacher.at>
-
Sebastian Ramacher authored
Signed-off-by:
Sebastian Ramacher <sebastian+dev@ramacher.at>
-
- 24 Apr, 2016 1 commit
-
-
Sebastian Ramacher authored
Signed-off-by:
Sebastian Ramacher <sebastian+dev@ramacher.at>
-
- 07 Dec, 2015 1 commit
-
-
Lukas K. authored
-
- 12 Nov, 2015 1 commit
-
-
Sebastian Neuser authored
-
- 05 Oct, 2015 1 commit
-
-
Sebastian Ramacher authored
Signed-off-by:
Sebastian Ramacher <sebastian+dev@ramacher.at>
-
- 28 Apr, 2015 1 commit
-
-
MicheleSr authored
replaced with gdk_cursor_new_for_display()
-
- 08 Dec, 2014 1 commit
-
-
Sebastian Ramacher authored
Signed-off-by:
Sebastian Ramacher <sebastian+dev@ramacher.at>
-
- 25 Nov, 2014 1 commit
-
-
Sebastian Ramacher authored
Signed-off-by:
Sebastian Ramacher <sebastian+dev@ramacher.at>
-
- 07 Nov, 2014 1 commit
-
-
Moritz Lipp authored
-
- 30 Sep, 2014 1 commit
-
-
Sebastian Ramacher authored
Ideally we would handle this differently. See the TODO entry in the render function. But the patch is a start. Thanks to carlos for the patch. Closes: #398 Signed-off-by:
Sebastian Ramacher <sebastian+dev@ramacher.at>
-
- 04 Sep, 2014 1 commit
-
-
Moritz Lipp authored
-
- 22 Aug, 2014 1 commit
-
-
Sebastian Ramacher authored
Also emit the D-Bus signal
-
- 07 Aug, 2014 1 commit
-
-
Sebastian Ramacher authored
-
- 24 Jun, 2014 1 commit
-
-
Sebastian Ramacher authored
Signed-off-by:
Sebastian Ramacher <sebastian+dev@ramacher.at>
-
- 23 Jun, 2014 2 commits
-
-
Sebastian Ramacher authored
Signed-off-by:
Sebastian Ramacher <sebastian+dev@ramacher.at>
-
Sebastian Ramacher authored
Signed-off-by:
Sebastian Ramacher <sebastian+dev@ramacher.at>
-
- 24 May, 2014 1 commit
-
-
Sebastian Ramacher authored
Thanks to MaximeC for the initial patch. Signed-off-by:
Sebastian Ramacher <sebastian+dev@ramacher.at>
-
- 25 Apr, 2014 1 commit
-
-
Moritz Lipp authored
-
- 14 Feb, 2014 1 commit
-
-
Sebastian Ramacher authored
Signed-off-by:
Sebastian Ramacher <sebastian+dev@ramacher.at>
-
- 17 Nov, 2013 1 commit
-
-
Sebastian Ramacher authored
Signed-off-by:
Sebastian Ramacher <sebastian+dev@ramacher.at>
-
- 26 Oct, 2013 7 commits
-
-
Abdo Roig-Maranges authored
They are not used anywere, and do not seem to become useful anymore in the light of the new separation of document and view.
-
Abdo Roig-Maranges authored
Otherwise the document object gets updated with wrong position values, because the adjustment belong to the index, not the document view.
-
Abdo Roig-Maranges authored
The adjustment callbacks act as an interface between position data in the document object, and the adjustments. We remove the horizontal centering code, as now it is done by position_set. Those callbacks should not change the position read from the document object in any way. Also, we split the adjustment_value_changed callback into a vertical and an horizontal version. Previously a single callback was reused for both, horizontal and vertical. That lead to a subtle problem when coming out of index mode. What happened was the following: 1. horizontal adjustment bounds change coming out of index mode. This triggers an hadjustment changed signal. 2. the hadjustment_changed callback handles it, and resets the hadjustment value, as the bound may have changed. This triggers a value_changed event. 3. the value_changed callback handles the event, and captures the position for *BOTH*, horizontal and vertical adjustments, saving them to the document object. 1..3 is repeated for the vertical adjustment. Now, if in 3. the horizontal adjustment bounds were not yet updated after the index mode, we got ourselves at the wrong vertical position. This race condition is avoided now because both value_changed callbacks *ONLY* handle their own direction, either vertical or horizontal, not both.
-
Abdo Roig-Maranges authored
This new function adjust_view is in charge of recomputing the scale according to adjustment settings and trigger a render_all. adjust_view contains the old sc_adjust_window code, slightly simplified thanks to the availability of the document_get_viewport_size. Then it is used by sc_adjust_window, document_open and the cb_view_resized callback. Makes slightly more sense this way than calling the shortcut sc_adjust_window directly.
-
Abdo Roig-Maranges authored
Now we can trigger a gtk page refresh calling refresh_view. This function triggers a custom signal refresh-view, whose handler copies the position from the document object to the adjustments.
-
Abdo Roig-Maranges authored
All of those callbacks are conceptually related (change the page layout), and depend from one another. Now the single callback page_layout_value_changed defers to page_widget_set_mode to change whatever is needed in the GTK widgets.
-
Abdo Roig-Maranges authored
- fix the computation of the number of rows in the table. Doing a ceil of an integer division has no effect... - set the page_padding in page_widget_set_mode function, instead of doing it independently. - call zathura_document_set_layout after calling page_widget_set_mode to save the page layout settings into the document object.
-
- 21 Oct, 2013 1 commit
-
-
Sebastian Ramacher authored
Signed-off-by:
Sebastian Ramacher <sebastian+dev@ramacher.at>
-