- 23 Apr, 2014 1 commit
-
-
Moritz Lipp authored
-
- 19 Apr, 2014 1 commit
-
-
Sebastian Ramacher authored
... and add null as possible values. Signed-off-by:
Sebastian Ramacher <sebastian+dev@ramacher.at>
-
- 29 Jan, 2014 1 commit
-
-
Sebastian Ramacher authored
Signed-off-by:
Sebastian Ramacher <sebastian+dev@ramacher.at>
-
- 20 Jan, 2014 2 commits
-
-
Sebastian Ramacher authored
Signed-off-by:
Sebastian Ramacher <sebastian+dev@ramacher.at>
-
Whoops, you're right. I misunderstood the purpose of gtk_widget_reparent. Here's the patch v2. Signed-off-by:
Sebastian Ramacher <sebastian+dev@ramacher.at>
-
- 19 Jan, 2014 2 commits
-
-
Sebastian Ramacher authored
Also return proper D-Bus errors Signed-off-by:
Sebastian Ramacher <sebastian+dev@ramacher.at>
-
Moritz Lipp authored
-
- 14 Jan, 2014 1 commit
-
-
Sebastian Ramacher authored
… and use it everywhere we want to get the content type of a file. Signed-off-by:
Sebastian Ramacher <sebastian+dev@ramacher.at>
-
- 12 Jan, 2014 1 commit
-
-
Sebastian Ramacher authored
Signed-off-by:
Sebastian Ramacher <sebastian+dev@ramacher.at>
-
- 11 Jan, 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>
-
- 06 Jan, 2014 1 commit
-
-
Sebastian Ramacher authored
-
- 05 Jan, 2014 1 commit
-
-
Sebastian Ramacher authored
-
- 23 Dec, 2013 1 commit
-
-
Sebastian Ramacher authored
Signed-off-by:
Sebastian Ramacher <sebastian+dev@ramacher.at>
-
- 17 Dec, 2013 4 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>
-
Sebastian Neuser authored
-
- 25 Nov, 2013 1 commit
-
-
Sebastian Ramacher authored
Signed-off-by:
Sebastian Ramacher <sebastian+dev@ramacher.at>
-
- 05 Nov, 2013 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>
-
- 04 Nov, 2013 1 commit
-
-
Sebastian Ramacher authored
-
- 31 Oct, 2013 1 commit
-
-
Sebastian Ramacher authored
Signed-off-by:
Sebastian Ramacher <sebastian+dev@ramacher.at>
-
- 26 Oct, 2013 13 commits
-
-
Abdo Roig-Maranges authored
We no longer need to hide the inputbar to get the right jump position, since now showing or hiding the inputbar does not change the position stored in the document object. Wen the adjustments get resized, the changed_callback resets the value from what is stored in the document object, effectively recentering the position to the middle of the viewport.
-
Abdo Roig-Maranges authored
The callbacks are no longer aware of it anyways
-
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
We don't need the anymore since the new page_set and position_set are already 'delayed'.
-
Abdo Roig-Maranges authored
And get rid of explicit gtk calls to the adjustment
-
Abdo Roig-Maranges authored
We get the position data from the document object instead of the gtk adjustment itself.
-
Abdo Roig-Maranges authored
The new page_set and position_set behave as delayed, but with the immediate availability of the new positions through the document object. We no longer need to keep delayed and non-delayed versions!
-
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 page_set and position_set save the computed page and position to the document object, then trigger a refresh-view signal. They do not handle GTK adjustments anymore.
-
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
- 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.
-
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.
-
- 18 Oct, 2013 1 commit
-
-
Sebastian Ramacher authored
Signed-off-by:
Sebastian Ramacher <sebastian+dev@ramacher.at>
-
- 31 Aug, 2013 1 commit
-
-
Sebastian Ramacher authored
The page widget shouldn't have to care what should be done with selected images and text. Signed-off-by:
Sebastian Ramacher <sebastian+dev@ramacher.at>
-
- 30 Aug, 2013 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>
-