- 24 Aug, 2013 1 commit
-
-
Sebastian Ramacher authored
Signed-off-by:
Sebastian Ramacher <sebastian+dev@ramacher.at>
-
- 21 Aug, 2013 1 commit
-
-
Sebastian Ramacher authored
ZathuraRenderer is a thread pool rendering the pages. Every page widget holds a ZathuraRenderRequest instance to request its page to be rendered. This object can also be used to abort the request in case the page is not visible anymore. Signed-off-by:
Sebastian Ramacher <sebastian+dev@ramacher.at>
-
- 27 Jul, 2013 1 commit
-
-
Sebastian Ramacher authored
Signed-off-by:
Sebastian Ramacher <sebastian+dev@ramacher.at>
-
- 07 Jul, 2013 1 commit
-
-
Sebastian Ramacher authored
Move some bisect state to zathura_t and manipulate the jumplist that much. Signed-off-by:
Sebastian Ramacher <sebastian+dev@ramacher.at>
-
- 29 Jun, 2013 1 commit
-
-
This patch implements two new ZathuraDatabaseInterface functions, save_jumplist and load_jumplist, for both the plain and sqlite backends (along with some cleanups). Signed-off-by:
Sebastian Ramacher <sebastian+dev@ramacher.at>
-
- 10 Jun, 2013 2 commits
-
-
Signed-off-by:
Sebastian Ramacher <sebastian+dev@ramacher.at>
-
- Don't delete the elements on the right of the current one, when appending a new jump to the jumplist, because this makes no sense at all; the point of the jumplist in the first place is to remember previously jumped-to positions in the document, so there is no need to delete anythings except to trim the oldest entries from the beginning to maintain the maximum size. This also makes us compatible with the Vim way of doing things. - Make the jumplist mechanism functional on the same page; if we followed a link to a target on the same page, remember the adjustments before and after following the link. The same holds for navigating search results on the same page. - Implement position_set and use it instead of position_set_delayed when following links in order to give zathura_jumplist_save a chance to record the exact adjustments of the link target. Otherwise, it will always record the adjustments after going to the target page, but before going to the exact position within it. - Don't consider movements with ^i and ^o as jumps :) - Don't use page_set followed by setting the adjustments in sc_jumplist, because this is redundant and causes clutter when using ^i and ^o, as the adjustments is set twice this way (once in page_set and again in position_set_delayed). It's enough to only update the page number on the statusbar and then set the adjustments. - Hide implementation details (zathura_jumplist_save and zathura_jumplist_append), and make things more consistent by exporting and using only zathura_jumplist_add for adding new entries. The end result: A more slick jumping experience :-) Signed-off-by:
Sebastian Ramacher <sebastian+dev@ramacher.at>
-
- 02 Apr, 2013 1 commit
-
-
Signed-off-by:
Sebastian Ramacher <sebastian+dev@ramacher.at>
-
- 26 Mar, 2013 1 commit
-
-
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 <sebastian+dev@ramacher.at>
-
- 23 Mar, 2013 1 commit
-
-
Instead of guesstimating the values of the scrollbars adjustments after a change in zoom level, connect callbacks to the "changed" GtkAdjustment event (which is emitted when the bounds or page_size of the adjustment change, e.g. when the zoom level changes), and compute the new values from there. The previous adjustment values are tracked in zathura->ui.hadjustment and zathura->ui.vadjustment (and updated by signal handlers as well), so that the view's position can be maintained while zooming. cb_view_hadjustment_changed() centers the page horizontally if a "best-fit" or "width" zoom is being performed, or if "zoom-center" is true; otherwise, it keeps the view horizontally centered around the same area of the page. cb_view_vadjustment_changed() always keeps the view vertically centered around the same area of the page. Many thanks to Marwan Tanager for thoroughly reviewing the various stages of this patch, and actually coming up with a working solution. Signed-off-by:
Sebastian Ramacher <sebastian+dev@ramacher.at>
-
- 17 Mar, 2013 1 commit
-
-
If '--page [number]' (or '-P [number]') is given on the command-line, the document is opened at the specified page number. Negative numbers are allowed, and denote a page number starting from the end of the document. See issue 275 <http://bugs.pwmt.org/issue275 >. Reported-by:
bob <sean258@gmail.com>
-
- 23 Feb, 2013 1 commit
-
-
Sebastian Ramacher authored
Thanks to oblique for the patch. Signed-off-by:
Sebastian Ramacher <sebastian+dev@ramacher.at>
-
- 19 Dec, 2012 1 commit
-
-
Rob Cornish authored
Signed-off-by:
Sebastian Ramacher <sebastian@ramacher.at>
-
- 06 Dec, 2012 1 commit
-
-
Both in the documentation and in function names, "synctex" was sometimes spelled "syntex" or "syntec". Signed-off-by:
Sebastian Ramacher <sebastian+dev@ramacher.at>
-
- 02 Sep, 2012 2 commits
-
-
Sebastian Ramacher authored
It's only for internal use.
-
zathura records jumps through searches, index, links, etc. and enables to go back and forth via ^o ^i. Signed-off-by:
Sebastian Ramacher <sebastian+dev@ramacher.at>
-
- 13 Aug, 2012 1 commit
-
-
Moritz Lipp authored
-
- 05 Aug, 2012 2 commits
-
-
Sebastian Ramacher authored
-
Moritz Lipp authored
-
- 01 Aug, 2012 1 commit
-
-
If option recolor-keephue is true, the recoloring algorithm only adjusts the lightness of the original color, keeping the rest of the properties close to the original. When recolor-keephue is set to false, the recoloring is performed as it was before, interpolating linearly between recolor-lightcolor and recolor-darkcolor except for a different weighting for the lightness which is closer to perception. Signed-off-by:
Sebastian Ramacher <sebastian+dev@ramacher.at>
-
- 13 Jul, 2012 1 commit
-
-
Sebastian Ramacher authored
Thanks to Roland Schatz for the patch.
-
- 27 Jun, 2012 1 commit
-
-
Sebastian Ramacher authored
Thanks to J. Commelin for the patch.
-
- 22 Apr, 2012 1 commit
-
-
Moritz Lipp authored
-
- 21 Apr, 2012 1 commit
-
-
Moritz Lipp authored
-
- 03 Apr, 2012 2 commits
-
-
Sebastian Ramacher authored
-
Moritz Lipp authored
-
- 01 Apr, 2012 1 commit
-
-
Moritz Lipp authored
-
- 27 Mar, 2012 1 commit
-
-
Moritz Lipp authored
-
- 24 Mar, 2012 1 commit
-
-
Moritz Lipp authored
-
- 19 Mar, 2012 1 commit
-
-
Sebastian Ramacher authored
-
- 16 Mar, 2012 1 commit
-
-
Sebastian Ramacher authored
-
- 09 Mar, 2012 1 commit
-
-
Moritz Lipp authored
-
- 04 Mar, 2012 1 commit
-
-
Sebastian Ramacher authored
-
- 02 Mar, 2012 1 commit
-
-
Géraud Le Falher authored
-
- 21 Feb, 2012 2 commits
-
-
Moritz Lipp authored
-
-
- 20 Feb, 2012 1 commit
-
-
Moritz Lipp authored
-
- 14 Feb, 2012 1 commit
-
-
Sebastian Ramacher authored
-
- 08 Feb, 2012 1 commit
-
-
Moritz Lipp authored
-
- 07 Feb, 2012 1 commit
-
-
Moritz Lipp authored
-