Commit Graph

1224 Commits

Author SHA1 Message Date
Moritz Lipp
a08520a33d Implement cmd_exec with 2012-08-14 11:45:11 +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
Moritz Lipp
23a483962e Update zoom shortcut and zoom configuration 2012-06-27 14:03:26 +02:00
Sebastian Ramacher
efcdfaefbb Fix regression introduced in fix for #224.
Closes #228.
2012-06-25 18:27:01 +02:00
Sebastian Ramacher
30fbda134f Update Polish translation. 2012-06-25 00:28:31 +02:00
Sebastian Ramacher
cfd324fae6 Translate 'Loading...' 2012-06-20 16:57:51 +02:00
Sebastian Ramacher
aa2abd0bc4 more debug output 2012-06-20 16:41:01 +02:00
Sebastian Ramacher
40dd2b469b Fix off-by-one. 2012-06-20 16:11:00 +02:00
Sebastian Ramacher
c25f892385 Fix check. 2012-06-20 16:10:34 +02:00
Sebastian Ramacher
a759c008cd Don't send surfaces to widgets if we're about to close the document. 2012-06-20 15:55:32 +02:00
Sebastian Ramacher
0c6f0f8e7e Add Czech localization.
Thanks to Martin Pelikan.
2012-06-19 18:23:18 +02:00
Sebastian Ramacher
be85d21d5c Stupid me. 2012-06-17 00:28:42 +02:00
Moritz Lipp
a054b8d25b Merge branch 'develop' of pwmt.org:zathura into develop 2012-06-17 00:20:48 +02:00
Moritz Lipp
8e1cf395a5 Show correct page after leaving fullscreen mode
Fixes #220
2012-06-17 00:20:36 +02:00
Sebastian Ramacher
ea8e104362 Honor LINGUAS. 2012-06-16 14:19:12 +02:00
Moritz Lipp
dd99eca7c5 Fix render_thread_sort 2012-06-16 09:29:15 +02:00
Moritz Lipp
2acd67c142 Finish surface before calling destroy 2012-06-16 08:51:30 +02:00
Moritz Lipp
cbb22739e5 Fix sc_adjust_window 2012-06-16 00:21:18 +02:00
Moritz Lipp
4868bcec55 Update sc_adjust_window 2012-06-15 16:26:59 +02:00
Moritz Lipp
2b7c13c905 Merge branch 'develop' of pwmt.org:zathura into develop 2012-06-13 16:08:43 +02:00
Moritz Lipp
d3203905f1 Implement :version command 2012-06-13 16:08:33 +02:00