Commit graph

44 commits

Author SHA1 Message Date
Sebastian Ramacher
4e010616e8 It's clipboard
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-09-13 00:01:55 +02:00
Sebastian Ramacher
fef9d8f27e Update list of possible arguments
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-09-01 18:23:21 +02:00
Sebastian Ramacher
d48f1e023b Use primary selection as before
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-08-31 12:32:12 +02:00
Marwan Tanager
d09cd5c62c Make the X clipboard buffer configurable
This patch adds a new configuration setting, selection-clipboard, which allows
us to choose between the PRIMARY selection, and the CLIPBOARD selection, for
determining which X clipboard to use for storing mouse-selected data. It has
only two valid values: "primary" and "clipboard", with "clipboard" being set as
the it's default value.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-08-31 12:30:12 +02:00
Guillaume Duranceau
12f7b393a6 new window-title-page option
When set to 'true', this option displays the page number in the title of
a zathura window.
2013-07-27 01:18:46 +02:00
Moritz Lipp
30d5195328 Update documentation 2013-06-18 12:52:01 +02:00
Marwan Tanager
463545c3a3 Document the new show-{h, v}-scrollbar settings
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-06-02 11:45:37 +02:00
Sebastian Ramacher
fb734b48a6 Document notification-{fg,bg}
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-04-08 21:53:15 +02:00
Abdó Roig-Maranges
8e9631946d Option to keep horizontal position when following internal links
Added config parameter "link-hadjust" with default value true. When set to false,
following internal links do not change the horizontal position of the page, only
the vertical position.

Also updates page number when following links, now.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-04-02 14:30:44 +02:00
Marwan Tanager
cb18fe8603 Replace the periodic page reclaiming code with a LRU caching algorithm.
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>
2013-03-26 12:45:43 +01:00
Sebastian Ramacher
438c9cdc9f Add statusbar-basename option
Thanks to oblique for the patch.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-02-28 16:20:54 +01:00
Sebastian Ramacher
35adeacbf5 Implement colors for 'Loading ...'.
Thanks to oblique for the patch.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-02-23 17:33:03 +01:00
Sebastian Ramacher
e929a5bd5a Readd set to list of mappings 2012-12-08 18:13:26 +01:00
Benoît Knecht
6c5d8c9b5e Declare missing shortcut functions and document them
"focus_inputbar" and "toggle_page_mode" were defined in code but not
declared as shortcut functions (and thus could not be mapped to
different keys by the user using "map").

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2012-12-08 17:59:33 +01:00
Benoît Knecht
7982efde00 Update the shortcut functions list in documentation
Also alphabetize the shortcut functions declarations in code, to make it
easier to keep the documentation and code in sync.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2012-12-08 17:59:24 +01:00
Benoît Knecht
5e53580808 Document display_link shortcut and its key binding
Update the zathura(1) and zathurarc(5) man pages.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2012-12-08 17:59:09 +01:00
Moritz Lipp
60f63634f9 Update modes in zathurarc.5 2012-10-12 12:14:02 +02:00
Jonas Hoersch
45c7a6f9ed add documentation about scroll-page-aware and scroll-full-overlap
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2012-09-18 01:01:07 +02:00
Sebastian Ramacher
269580c513 Missing dash. 2012-09-17 16:28:57 +02:00
Sebastian Ramacher
07ee8a8eac Fix typo and change Windows button to key.
Thanks to Ansgar Burchardt for the report.
2012-09-16 00:11:12 +02:00
Sebastian Ramacher
0ad59d39d7 Default incremental-search to true to not break old behavior.
Closes: #248
2012-09-09 12:57:06 +02:00
Abdó Roig-Maranges
39afe6e714 Added incremental-search config parameter
The incremental-search config parameter enables / disables the incremental
search.  I've set it disabled by default, as in large files it may become
unresponsive for some time.

Signed-off-by: Sebastian Ramacher <s.ramacher@gmx.at>
2012-09-09 12:56:14 +02:00
Abdó Roig-Maranges
c57463a053 Added option to recolor keeping hues of original color.
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>
2012-08-01 16:05:31 +02:00
Sebastian Ramacher
6b41759cbb Add option to use basename in window title (Closes: #229) 2012-07-02 14:13:13 +02:00
Sebastian Ramacher
09b58120bc Document first-page-column.
Thanks to J. Commelin for the patch.
2012-06-27 22:37:22 +02:00
Julian Orth
30eda65aaa We added three options
1) zoom-center :: bool
   zoom-center = false

   If zoom-center = false nothing changes.
   If zoom-center = true zooming respects the horizontal center of the
   pageview. That is, the vertical line dividing the displayed part of
   the document doesn't move within the document.

   Reasoning: When viewing a pdf with a margin we usually want to hide the
   margin at both sides by zooming in.

2) scroll-hstep :: float
   scroll-hstep = -1

   If scroll-hstep < 0 nothing changes.
   If scroll-hstep >= 0 then scroll-hstep defines the scroll step in the
   horizontal direction.

   Reasoning: This allows us to make finer adjustments in the horizontal
   direction without the mouse and without loosing the ablility to
   navigate quickly through the document.

3) search-hadjust :: bool
   search-hadjust = true

   If search-hadjust = true nothing changes.
   If search-hadjust = false searching does not adjust the horizontal
   center of the document when showing search results.

   Reasoning: When viewing a pdf with a margin we usually want to hide
   the margin at both sides by zooming in. The horizontal adjustment
   sometimes hides parts of the document by moving the horizontal
   center.
2012-06-27 21:18:05 +02:00
Sebastian Ramacher
3ea2873c13 Document exec, exec-command and abort-clear-search. 2012-04-28 21:57:12 +02:00
Sebastian Ramacher
2ace141d07 Document advances-pages-per-row. 2012-04-10 17:45:29 +02:00
Sebastian Ramacher
f162618799 Update zathurarc.5 2012-03-24 18:11:50 +01:00
Sebastian Ramacher
c9de38d960 Document rotate-cw and rotate-ccw. 2012-03-19 11:52:00 +01:00
Sebastian Ramacher
783c9f2748 Tables are not a good idea. 2012-03-15 14:37:21 +01:00
Sebastian Ramacher
8fc64ba609 Call the seciont OPTIONS instead. 2012-03-15 14:31:25 +01:00
Sebastian Ramacher
5b157884c5 Fix a typo. 2012-03-15 13:31:02 +01:00
Sebastian Ramacher
fb63400a62 Reintroduce the content in zathurarc.5.rst for now.
At some point we should fine a way to generate both the website and the man page
from the same source.
2012-03-15 13:15:13 +01:00
Moritz Lipp
a91103044f Added zathurarc.5.rst 2012-02-18 12:22:37 +01:00
Moritz Lipp
55c175b1e0 Update man page 2012-02-18 11:37:39 +01:00
Moritz Lipp
fc2e97e917 Fix typo in documentation 2012-02-14 20:20:38 +01:00
Sebastian Ramacher
dadcbf9ae8 update the documentation 2012-02-14 16:24:05 +01:00
Sebastian Ramacher
a7429131fd fix zathurarc.5.rst 2012-02-12 00:37:15 +01:00
Moritz Lipp
8d2d6ec0ec Start updating zathurarc.5.rst 2012-02-02 13:05:32 +01:00
Moritz Lipp
c63f033412 Fix typo 2012-01-20 14:58:19 +01:00
Ivan Sichmann Freitas
72a3774ab1 Fix typo in zathurarc man page
Signed-off-by: Sebastian Ramacher <s.ramacher@gmx.at>
2011-08-29 23:55:59 +02:00
Sebastian Ramacher
a00b2da39c update zathurarc.5.rst 2011-07-08 17:21:11 +02:00
Sebastian Ramacher
a768894dff Add zathurarc.5.rst from the Debian package.
The zathurarc.5 manpage will be built only if rst2man is installed.
2011-07-08 15:46:54 +02:00