Commit Graph

1356 Commits

Author SHA1 Message Date
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
Sebastian Ramacher
6df59353a7 Mention Benoît Knecht in AUTHORS 2012-12-07 18:09:48 +01:00
Benoît Knecht
2192b7172c Add new shortcut function to display links
This is useful when the text of the link doesn't match its target. The
default key is set to 'F'.

See issue 266 <http://bugs.pwmt.org/issue266>.

Reported-by: Iron <o380770@rtrtr.com>

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2012-12-07 18:05:59 +01:00
Sebastian Ramacher
526e76b6d8 Replace Report-Msgid-Bugs-To in update-po 2012-12-07 15:30:13 +01:00
Sebastian Ramacher
1a2b195ce9 Add some comments 2012-12-07 15:24:57 +01:00
Sebastian Ramacher
98510e7420 Try printing to the cairo object first 2012-12-07 15:11:57 +01:00
Sebastian Ramacher
e6f77735ba Improve printing quality again 2012-12-07 14:53:09 +01:00
Sebastian Ramacher
aef1b3b346 Call gtk_print_operation_cancel on failure 2012-12-07 14:52:49 +01:00
Sebastian Ramacher
1312825438 Draw white background on correct cairo instance 2012-12-07 14:36:24 +01:00
Sebastian Ramacher
895a0dfbfe Merge branch 'develop' of pwmt.org:zathura into develop 2012-12-07 14:26:07 +01:00
Sebastian Ramacher
cc9f047c76 Enabled embedded page setup 2012-12-07 14:24:14 +01:00
Moritz Lipp
31acb71078 Merge branch 'develop' of pwmt.org:zathura into develop 2012-12-06 22:34:33 +01:00
Sebastian Ramacher
23649bc0bc Fix printing
The plugins expect an image surface but the target of the print context might
not be one.
2012-12-06 21:43:21 +01:00
Benoît Knecht
48d12f49be Also wrap when scrolling with 'j' and 'k'
The scroll-wrap option used to only change the behavior of 'J' and 'K'
(i.e.  moving one page forward/backward).

Now, if scroll-wrap is true and the top of the first page is shown,
pressing 'k' will show the bottom of the last page; conversely, when at
the bottom of the last page, pressing 'j' will show the top of the first
page.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2012-12-06 20:39:16 +01:00
Benoît Knecht
c06d353eb7 Reverse scroll-wrap's logic
When set to true, it used to _not_ wrap around the begining/end. Now it
wraps if set to true, and it doesn't if set to false.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2012-12-06 20:38:51 +01:00
Benoît Knecht
824843a917 Correct misspellings of the word "synctex"
Both in the documentation and in function names, "synctex" was sometimes
spelled "syntex" or "syntec".

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2012-12-06 20:34:14 +01:00
Benoît Knecht
8047332b8e Update and correct French translation
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2012-12-06 20:34:09 +01:00
Benoît Knecht
a093e19ac2 Fix the "n=" shortcut to zoom to size n
No matter what the value of n was, the "n=" shortcut would set the zoom
value to 100%. It is now set to n% instead.

See issue #273 <http://bugs.pwmt.org/issue273>.

Reported-by: Kamil Smardzewski <roderyk197@gmail.com>

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2012-12-06 20:29:12 +01:00
Sebastian Ramacher
668973a8b9 Update translations 2012-11-21 23:45:47 +01:00
Sebastian Ramacher
1c638569ba remove fuzzy translation 2012-11-21 23:42:29 +01:00
Sebastian Ramacher
a0e6121066 Add URLs to Report-Msgid-Bugs-To 2012-11-12 01:06:40 +01:00
Moritz Lipp
05ab0a36f7 Update default key bindings 2012-11-02 13:17:59 +01:00
Moritz Lipp
11bf7ba2c8 Update link evaluation 2012-10-31 07:29:17 +01:00
Sebastian Ramacher
f69bfcb5c1 Add shortcuts for +/- on the num pad
Thanks to Jean-Pierre Demailly for the patch.
2012-10-21 18:36:21 +02:00
Moritz Lipp
60f63634f9 Update modes in zathurarc.5 2012-10-12 12:14:02 +02:00
Moritz Lipp
89e7832047 Update style 2012-10-09 01:12:18 +02:00
Moritz Lipp
41cb60e5c6 Merge branch 'develop' of pwmt.org:zathura into develop 2012-10-06 14:58:15 +02:00
Moritz Lipp
94d8eef959 Toggle multi-page-mode with d 2012-10-06 14:58:07 +02:00
Sebastian Ramacher
9dbb32338e Update Spanish translation.
Thanks to Alvaro Ramiro.
2012-10-05 11:54:37 +02:00
Sebastian Ramacher
4a4a153944 Update po files. 2012-10-05 11:50:42 +02:00
Moritz Lipp
ac88923e5b Print error message if directory creation failed 2012-10-05 00:51:28 +02:00
Moritz Lipp
f82845a0cb Merge branch 'develop' of pwmt.org:zathura into develop
Conflicts:
	config.c
2012-10-05 00:44:56 +02:00
Moritz Lipp
b24ae033ad Set fullscreen mode and custom button press events 2012-10-05 00:41:05 +02:00
Markus Scherer
92a75565a2 Enable horiontal mouse scrolling
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2012-10-02 19:07:32 +02:00
Sebastian Ramacher
07fbbd514a Lock the render thread while searching.
This is a temporary workaround because of issues in the poppler plugin. We
really need to introduce locking in the poppler plugin and remove the render
locks agains.

Closes: #253
2012-09-22 12:50:11 +02:00
Moritz Lipp
753a9f1781 Merge branch 'develop' of pwmt.org:zathura into develop 2012-09-19 21:32:01 +02:00
Moritz Lipp
7f42c4b7e7 Set scroll_full_overlap to zero by default 2012-09-19 21:31:52 +02:00
Sebastian Ramacher
07270d8001 Merge branch 'develop' of pwmt.org:zathura into develop 2012-09-18 01:01:16 +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
Moritz Lipp
bb104073f3 Fix adjust_window when inputbar is visible 2012-09-17 21:25:48 +02:00
Moritz Lipp
a8cd10dcac Synctex forward synchronisation 2012-09-17 17:37:36 +02:00
Moritz Lipp
a8ea4a6328 Update coding style 2012-09-17 17:23:58 +02:00
Sebastian Ramacher
0ce7730965 CS 2012-09-17 16:56:43 +02:00
Jonas Hoersch
9c9d07a615 Introduce page aware scrolling
if scroll-page-aware is set, scrolling by full and half pages stops at
page boundaries (as djview4 does it on <space> and <backspace>).

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2012-09-17 16:42:56 +02:00
Jonas Hoersch
d76e33e3ec Add full page scroll overlap setting
The default of 0.1 keeps 10% of a page visible on a full-page scroll.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2012-09-17 16:30:39 +02:00
Sebastian Ramacher
269580c513 Missing dash. 2012-09-17 16:28:57 +02:00
Jonas Hörsch
4d0c7ac350 add shortcut mappings for jumplist to make it configurable
thx

From d93f241584263414a2938748369bc92152ce9f88 Mon Sep 17 00:00:00 2001
From: Jonas Hoersch <coroa@online.de>
Date: Sun, 16 Sep 2012 16:14:28 +0200
Subject: [PATCH] add shortcut mappings for jumplist to make it configurable

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2012-09-17 16:06:20 +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