Commit graph

170 commits

Author SHA1 Message Date
Abdó Roig-Maranges
0a1fcaa596 scroll horizontally with shift + mouse wheel
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2012-09-15 14:53:24 +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
Moritz Lipp
207f5e571d Overwrite abort inputbar bindings 2012-09-03 10:30:25 +02:00
Sebastian Ramacher
ad6afb81b1 That's an int. 2012-09-02 00:43:35 +02:00
Abdó Roig-Maranges
eb67d97180 Implemented jumplist bound to ^o ^i
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>
2012-09-02 00:31:47 +02:00
Abdó Roig-Maranges
7d001ec071 Changed recolor binding to ^r instead of ^i
I will implement a jumplist, and the natural bindings for that are
^i ^o.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2012-09-02 00:31:47 +02:00
Sebastian Ramacher
108cca154e Update translations. 2012-08-30 19:49:15 +02:00
Moritz Lipp
8908e1cb06 Merge branch 'develop' of pwmt.org:zathura into develop 2012-08-14 11:45:16 +02:00
Moritz Lipp
a08520a33d Implement cmd_exec with 2012-08-14 11:45:11 +02:00
Moritz Lipp
f6c6b4a883 En/Disable syntex support 2012-08-13 18:17:20 +02:00
Moritz Lipp
83865d8998 Use GtkGrid instead of GtkTable 2012-08-05 02:30:03 +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
6d462f4732 Implement first-page-column.
Thanks to J. Commelin for the patch.
2012-06-27 22:34:16 +02:00
Sebastian Ramacher
db459fe3d9 Merge branch 'develop' of pwmt.org:zathura into develop 2012-06-27 21:20:08 +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
Moritz Lipp
23a483962e Update zoom shortcut and zoom configuration 2012-06-27 14:03:26 +02:00
Moritz Lipp
2acd67c142 Finish surface before calling destroy 2012-06-16 08:51:30 +02:00
Moritz Lipp
d3203905f1 Implement :version command 2012-06-13 16:08:33 +02:00
Moritz Lipp
d721721867 Check if page_widget is a GTK_TABLE 2012-05-21 23:16:32 +02:00
Moritz Lipp
83f55ff24a Implement sc_print 2012-05-08 16:47:34 +02:00
Moritz Lipp
583017a836 Apply adjust-open only to unknown files 2012-05-07 00:32:55 +02:00
Sebastian Ramacher
d24ad831b8 Add setting abort-clear-search and clear search results on abort if set. 2012-04-28 21:47:27 +02:00
Moritz Lipp
036dc0cd57 Implement hlsearch/nohlsearch 2012-04-22 19:12:45 +02:00
Moritz Lipp
210cc9982c Add mark commands 2012-04-21 05:02:32 +02:00
Moritz Lipp
7d92d54539 Implemented marks 2012-04-21 04:59:58 +02:00
Moritz Lipp
488ab101e9 Set default adjust mode to none 2012-04-21 00:00:03 +02:00
Sebastian Ramacher
ace9718f75 Add option to advance the number of pages per row. (Closes: #167) 2012-04-10 17:40:29 +02:00
Moritz Lipp
2918d92280 Update configuration description 2012-04-01 11:38:15 +02:00
Moritz Lipp
334b4fbb95 Introduce and use zathura_document wrapper functions 2012-03-27 21:59:35 +02:00
Moritz Lipp
efc108fbe2 Introduced page.h 2012-03-26 14:44:56 +02:00
Moritz Lipp
90796b5b5c Added :offset command and some style updates 2012-03-24 18:27:10 +01:00
Sebastian Ramacher
64905f282b Remove invisible pages from the memory. 2012-03-24 16:15:34 +01:00
Moritz Lipp
3908c70eec Implemented cmd_quit 2012-03-24 10:38:48 +01:00
Sebastian Ramacher
8789dea222 Add completion for :write (Closes: #138) 2012-03-20 00:54:12 +01:00
Sebastian Ramacher
6cdc2b1974 Add argument to rotate to support counter-clockwise rotation (Closes: #154) 2012-03-19 11:43:07 +01:00
Sebastian Ramacher
9fe03f72e2 Allow page-padding to be changed. 2012-03-16 15:47:30 +01:00
Moritz Lipp
1028d90e6c Re-render all pages when calling cb_color_change 2012-03-14 18:09:00 +01:00
Moritz Lipp
0474235483 Added 'scroll-wrap' for sc_navigate 2012-03-14 17:44:36 +01:00
Moritz Lipp
9265c9473a Add 'recolor' setting 2012-03-14 17:33:35 +01:00
Sebastian Ramacher
01b5750bcc Add setting to ignore page number stored in file info. (Closes: #145)
Thanks for the patch to Urchlay.
2012-03-12 22:31:40 +01:00
Sebastian Ramacher
c7d6845096 Don't map $ and 0 per default. (Closes: #139) 2012-03-06 21:07:30 +01:00
Sebastian Ramacher
7c7a067938 Make strings in confic.c translatable. 2012-03-05 12:39:53 +01:00
Sebastian Ramacher
81385dba21 Add option to hide directories in cc_open. 2012-03-05 12:33:41 +01:00
Sebastian Ramacher
4b559e585b Implement support to use both database backends. 2012-03-04 15:56:54 +01:00
Sebastian Ramacher
925c9973fa Check for the correct name. 2012-03-02 21:26:47 +01:00
Sebastian Ramacher
8980c37e59 also map 0 and $ to FULL_LEFT and FULL_RIGHT 2012-03-02 14:13:24 +01:00
Géraud Le Falher
ead85e28f1 add the ability to horizontally scroll half or full screen 2012-03-02 14:03:38 +01:00
Moritz Lipp
ffd2da55bd Style changes and additional parseable arguments 2012-02-21 17:11:59 +01:00
Vicky Chijwani
6aced3f870 add EXPAND_ALL and COLLAPSE_ALL shortcuts to index 2012-02-21 16:59:23 +01:00
Moritz Lipp
d8bc9fefac Implement sc_focus_inputbar with possible APPEND_FILEPATH parameter 2012-02-20 16:33:59 +01:00
Moritz Lipp
f4d6c6993b Hide hidden files/directories by default and make it configurable 2012-02-20 13:02:24 +01:00
Moritz Lipp
b8470a5317 Set current page number in page_set 2012-02-20 12:40:25 +01:00
Moritz Lipp
2cdf2bd2ba Update key bindings 2012-02-20 12:30:43 +01:00
Moritz Lipp
7db78012de Remove unneeded shortcut 2012-02-16 16:36:09 +01:00
Moritz Lipp
65d2241e06 Simplify sc_mouse_scroll 2012-02-15 11:48:28 +01:00
Moritz Lipp
b815fa6ecf Update to new girara event definitions 2012-02-15 00:21:51 +01:00
Sebastian Ramacher
2f38126a7a make the recolor colors changeable too 2012-02-14 14:53:45 +01:00
Sebastian Ramacher
9d04a7bfcf make highlight colors configurable during runtime 2012-02-14 14:46:19 +01:00
Sebastian Ramacher
16336cf065 Merge branch 'develop' of pwmt.org:zathura into develop 2012-02-13 12:44:44 +01:00
Sebastian Ramacher
a4fab8c368 some more work to be compatible with GTK+3 2012-02-13 12:43:22 +01:00
Moritz Lipp
b59e5686ec Update style 2012-02-12 16:35:33 +01:00
Sebastian Ramacher
95c8510118 Stay on the same page on :set pages-per-row (Closes: ##108) 2012-02-10 14:13:08 +01:00
Moritz Lipp
2adb25223c Options for zoom_min/zoom_max 2012-02-09 18:30:36 +01:00
Moritz Lipp
3fec0ed485 Fix adjust-open setting 2012-02-09 11:25:02 +01:00
Moritz Lipp
851ef7cd7b Adjust on resize / Adjust on open 2012-02-09 01:46:51 +01:00
Moritz Lipp
d2fc051f36 Pan by using mouse button 2 2012-02-09 01:07:25 +01:00
Moritz Lipp
8fad2ae7d0 Update mouse event configuration 2012-02-09 00:36:41 +01:00
Moritz Lipp
5c93ebcb8c Add numeric prefix to sc_zoom
One can zoom to a specific zoom value (between 10% and 1000%) by passing a
number before the = sign

Fixes: #105
2012-02-08 21:02:07 +01:00
Moritz Lipp
90f6f5dd6e Mouse scroll events 2012-02-07 18:34:39 +01:00
Moritz Lipp
0363495151 Implemented sc_mouse_scroll 2012-02-07 15:13:36 +01:00
Moritz Lipp
72629c6803 CS 2012-02-07 14:56:57 +01:00
Sebastian Ramacher
3b5d29d52b Add option to disable rendering of 'Loading ...' 2012-02-01 17:30:43 +01:00
Moritz Lipp
8ddbb158e3 Implement test suite with check 2012-01-28 19:54:44 +01:00
Moritz Lipp
d249740cd1 Update default shortcuts
Modes are no longer combined to avoid conflicts while
trying to remap one of them
2012-01-23 21:37:02 +01:00
Moritz Lipp
3311038681 Begin to draw sc_follow results 2012-01-19 00:49:08 +01:00
Sebastian Ramacher
82525556a3 implement :export 2012-01-13 18:54:09 +01:00
Moritz Lipp
5c71589c6f Add some argument mappings 2011-12-06 11:21:48 +01:00
Moritz Lipp
ab60625531 Update sc_toggle_fullscreen 2011-10-26 20:46:59 +02:00
Moritz Lipp
5acf8da4de Merge branch 'develop' of pwmt.org:zathura into develop 2011-10-24 10:51:09 +02:00
Sebastian Ramacher
911d84c908 update includes due to girara restructuring 2011-10-23 17:01:15 +02:00
Moritz Lipp
98cc73d3e4 Added cmd_search 2011-10-22 16:35:38 +02:00
Sebastian Ramacher
cd842a8f48 Don't break backwards compatibility of the settings names 2011-10-21 15:37:59 +02:00
Sebastian Ramacher
7a5dd056fd g_free return values of girara_setting_get 2011-10-21 15:32:50 +02:00
Sebastian Ramacher
b614508e16 completion for bookmarks 2011-09-29 17:05:20 +02:00
Pavel Borzenkov
2b4f5d1823 Use girara's focus_inputbar function
zathura's focus_inputbar function is a duplicate of girara's one.
This patch removes it.

Signed-off-by: Pavel Borzenkov <pavel.borzenkov@gmail.com>
Signed-off-by: Sebastian Ramacher <s.ramacher@gmx.at>
2011-09-21 09:18:27 +02:00
Sebastian Ramacher
bb466fc891 add cmd_help skeleton 2011-09-01 13:15:27 +02:00
Sebastian Ramacher
87aa9b9a46 implement :write and :write! 2011-09-01 11:51:49 +02:00
Pavel Borzenkov
32d90379bc Allow changing of "pages-per-row" variable at runtime 2011-07-21 14:47:24 +02:00
Moritz Lipp
48c2d01bef Use giraras toggle functions 2011-06-23 14:31:41 +02:00
Moritz Lipp
5847b5e250 Fix: Remove obsolete print completion 2011-05-26 12:00:11 +02:00
Moritz Lipp
bd37f6333e Began to implement cmd_open completion 2011-05-25 00:24:43 +02:00
Moritz Lipp
17b4972683 Update modes 2011-05-07 22:00:52 +02:00
Moritz Lipp
094acadcb3 Add shortcut mappings 2011-05-07 00:39:34 +02:00
Moritz Lipp
00589a7295 Implemented recoloring 2011-04-30 13:27:27 +02:00
Moritz Lipp
2504604e73 Remove sc_change_buffer from config.h 2011-04-28 17:27:44 +02:00
Moritz Lipp
8af8103bf3 Updated key bindings 2011-04-25 19:52:04 +02:00
Moritz Lipp
4146cfbb84 Added shift-space command 2011-04-21 14:30:23 +02:00
Moritz Lipp
08c8187ef5 Load default configuration 2011-04-20 15:55:09 +02:00