Commit graph

1243 commits

Author SHA1 Message Date
Sebastian Ramacher
5674c6652e Update AUTHORS. 2012-09-02 00:50:42 +02:00
Sebastian Ramacher
c48954c066 Merge branch 'develop' of pwmt.org:zathura into develop 2012-09-02 00:48:20 +02:00
Sebastian Ramacher
e79a48452f Honor the current zoom level.
Otherwise jump positions are off after changing the zoom level.
2012-09-02 00:44:58 +02:00
Sebastian Ramacher
af04432892 Don't expose zathura_jump_[st] in the public API.
It's only for internal use.
2012-09-02 00:44:18 +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
Moritz Lipp
81342853b4 Version 0.2.1 2012-08-30 20:11:24 +02:00
Sebastian Ramacher
e960e9cca3 Make the tests compile again. 2012-08-30 20:07:50 +02:00
Sebastian Ramacher
108cca154e Update translations. 2012-08-30 19:49:15 +02:00
Abdó Roig-Maranges
83b12590a9 Cairo wants colors as doubles between 0 and 1
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2012-08-18 18:16:43 +02:00
Moritz Lipp
ad27b0471d Respect scrollbar spacing in sc_adjust_window 2012-08-14 16:06:25 +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
a5b23ec1a8 Merge branch 'develop' of pwmt.org:zathura into develop 2012-08-13 18:18:01 +02:00
Moritz Lipp
8b9f57917e Update manpage 2012-08-13 18:17:58 +02:00
Moritz Lipp
f6c6b4a883 En/Disable syntex support 2012-08-13 18:17:20 +02:00
Sebastian Ramacher
3ec1c4f3d2 Update translations of Comment. 2012-08-09 14:47:18 +02:00
Sebastian Ramacher
66b5b6a214 Update French translation.
100% translated, thanks!
2012-08-09 14:33:22 +02:00
Moritz Lipp
6de5978127 Resolve signed/unsigned comparison warning 2012-08-07 15:53:24 +02:00
Sebastian Ramacher
65bd545222 Finish German translation. 2012-08-05 16:09:28 +02:00
Sebastian Ramacher
30bb64c53d Update German translation. 2012-08-05 15:56:35 +02:00
Sebastian Ramacher
0657adc445 Update translations. 2012-08-05 15:47:32 +02:00
Sebastian Ramacher
0a9e27a94d Fix build error with GTK 3. 2012-08-05 15:31:42 +02:00
Moritz Lipp
ec554bc33d Parse command line arguments in main 2012-08-05 15:34:10 +02:00
Moritz Lipp
38ef6ff598 Merge branch 'develop' of pwmt.org:zathura into develop 2012-08-05 15:16:57 +02:00
Sebastian Ramacher
88d619a647 Add a note on --password. 2012-08-05 15:02:35 +02:00
Sebastian Ramacher
1381925730 Small fixes. 2012-08-05 14:25:18 +02:00
Moritz Lipp
83865d8998 Use GtkGrid instead of GtkTable 2012-08-05 02:30:03 +02:00
Ignas Anikevicius (gns_ank)
e4b9924c4d Fix BESTFIT to work well when pages-per-row > 1.
There are two causes of the problem:

    - page_ratio should be defined differently

        This is because the usefull page ratio is max_height/total_width
        or max_width/total_height. This then changes accordingly if
        pages_per_row != 1, otherwise, if the pages are of the same
        size, the page ratios will not change, which screws up the
        resizing.

    - Sometimes we need to do height or width division diferently.

        This is because not always total_height or total_width is
        meaningful in BESTFIT condition.

This commit also should fix the bug #0000226.

Signed-off-by: Ignas Anikevicius (gns_ank) <anikevicius@gmail.com>
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2012-08-01 16:16:39 +02:00
Sebastian Ramacher
9c28be7c11 Coding style. 2012-08-01 16:15:56 +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
8c21a6116a gtk_tree_path_up is weird.
Thils should fix #241.
2012-08-01 00:23:43 +02:00
Abdó Roig-Maranges
9ed64ff606 Solved blinking bug when recoloring with grey background
There was a problem passing colors to cairo_set_source_rgb.
Should be floats between 0 and 1.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2012-07-31 23:55:23 +02:00
Sebastian Ramacher
1175985ae7 Fix typos. 2012-07-22 15:17:31 +02:00
Sebastian Ramacher
7bc6096003 Add Roland Schatz to AUTHORS. 2012-07-13 15:40:09 +02:00
Sebastian Ramacher
49116a0834 Synctex backwards synchronization
Thanks to Roland Schatz for the patch.
2012-07-13 15:39:16 +02:00
Sebastian Ramacher
79cdc73951 Use correct default values. 2012-07-13 14:05:07 +02:00
Moritz Lipp
627a0749bc Update style 2012-07-12 10:39:21 +02:00
Moritz Lipp
66b6fa65a1 Add --version command line argument 2012-07-12 10:37:58 +02:00
Moritz Lipp
97000769e4 Rename major/minor to be compatible with OpenBSD
Rename major/minor/rev to plugin_major/plugin_minor/plugin_rev to
avoid a conflict with the major/minor macros in sys/types.h
2012-07-10 18:00:46 +02:00
Sebastian Ramacher
f286ebc276 Update translations. 2012-07-03 11:09:25 +02:00
Sebastian Ramacher
c1f49d6fa9 Add Italien, Russian and Ukranian translation files. 2012-07-03 11:09:11 +02:00
Sebastian Ramacher
ba8ffc894b Update French translation. 2012-07-03 11:01:48 +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
c89aeef931 Update AUTHORS. 2012-06-27 22:38:50 +02:00
Sebastian Ramacher
09b58120bc Document first-page-column.
Thanks to J. Commelin for the patch.
2012-06-27 22:37:22 +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