Commit Graph

120 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