Commit Graph

1792 Commits

Author SHA1 Message Date
Sebastian Ramacher
b3c2327fbb Make synctex_view available
Also fix argv handling.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-12-23 15:41:44 +01:00
Sebastian Ramacher
3dcae96045 Document new shortcuts
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-12-17 18:07:04 +01:00
Sebastian Ramacher
976b6ab164 Document page-top and page-bottom
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-12-17 18:05:23 +01:00
Sebastian Ramacher
cd998005ae Merge branch 'haggl/feature/scroll-page-top-or-bottom' of https://github.com/haggl/zathura into feature/scroll-page-top-or-bottom 2013-12-17 18:04:17 +01:00
Sebastian Neuser
e8bc7b1e49 Implement shortcuts for scrolling to page top/bottom 2013-12-17 17:47:20 +01:00
Sebastian Ramacher
45a997c88e More consts
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-12-17 16:32:50 +01:00
Sebastian Ramacher
660a3e7757 CS
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-12-17 16:27:34 +01:00
Sebastian Ramacher
87af53afbb Make inital values more explicit
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-12-17 16:26:13 +01:00
Sebastian Neuser
42a8382a45 Set position on document load only if no page was specified 2013-12-17 15:38:40 +01:00
Sebastian Ramacher
1d398dfaf0 Remove mutex from page widget
This should not introduce any problems. All functions of the page widget are now
called from the main thread.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-12-03 20:30:51 +01:00
Sebastian Ramacher
5b3e0b7fc7 Some consts here and there 2013-12-03 20:29:44 +01:00
Sebastian Ramacher
60001b2ede A const
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-12-03 17:05:09 +01:00
Sebastian Ramacher
0ac744c076 I guess this mutex is no longer needed
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-12-03 17:04:58 +01:00
Sebastian Ramacher
43c3ba86f4 Replace some more GdkColors with GdkRGBA
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-12-01 16:04:04 +01:00
Sebastian Ramacher
cff05ac10e Replace some GdkColors with GdkRGBA
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-12-01 15:47:28 +01:00
Sebastian Ramacher
08a72c46d4 Merge branch 'feature/remove-gtk2' into develop 2013-12-01 15:19:10 +01:00
Sebastian Ramacher
5a932e014c No need for padding anymore
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-11-29 18:05:40 +01:00
Sebastian Ramacher
064db00287 Half / full page scroll need to respect the view port size
They are not using the page size from the document.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-11-29 17:24:28 +01:00
Sebastian Ramacher
6788776bae Bail out early if we get TOP or BOTTOM 2013-11-29 17:08:01 +01:00
Sebastian Ramacher
6ee0f265a3 CS
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-11-29 15:57:40 +01:00
Sebastian Ramacher
2c76fde31f Make sure there are no outstanding requests if the page size gets changed
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-11-28 14:16:17 +01:00
Moritz Lipp
6ae3a7eab8 Document PgDn and PgUp 2013-11-26 09:57:20 +01:00
Moritz Lipp
7f82bec71b Replace fullscreen mode with presentation mode 2013-11-25 23:10:35 +01:00
Sebastian Ramacher
7d5a586811 Drop more GTK+2 code
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-11-25 19:05:46 +01:00
Sebastian Ramacher
0406cbe495 Drop compat code for glib < 2.28
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-11-25 19:02:43 +01:00
Sebastian Ramacher
80a54e70f8 Update README
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-11-25 18:59:02 +01:00
Sebastian Ramacher
f59a6f539e Remove GTK+2 support
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-11-25 18:57:59 +01:00
Sebastian Ramacher
d58fccd494 Document fullscreen key bindings more explicitely
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-11-24 21:31:43 +01:00
Moritz Lipp
617b9d7fdf Merge tag '0.2.6' into develop
Version 0.2.6
2013-11-24 20:13:19 +01:00
Moritz Lipp
6d22f33fc6 Merge branch 'release/0.2.6' 2013-11-24 20:13:13 +01:00
Moritz Lipp
a4de3eefc3 Version 0.2.6 2013-11-24 20:13:09 +01:00
Sebastian Ramacher
e900c59a9b Fix check for unfinished render jobs
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-11-22 06:41:33 +01:00
Sebastian Ramacher
086d49bb1a Be consistent with earlier versions
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-11-22 06:24:38 +01:00
Sebastian Ramacher
4c88e9d1ef Make sure we do not underflow 2013-11-22 06:23:22 +01:00
Sebastian Ramacher
badc0e2815 Make sure that first-page-column does not exceed any bounds
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-11-22 06:14:41 +01:00
Sebastian Ramacher
156b2e82e2 CS
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-11-22 06:09:12 +01:00
Sebastian Ramacher
c2b35a02fe Don't try to change document settings if no document is open
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-11-17 18:36:22 +01:00
Sebastian Ramacher
b5798c899e Document statusbar-{v,h}-padding
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-11-13 15:02:32 +01:00
Moritz Lipp
138f3c2a8a Merge tag '0.2.5' into develop
Version 0.2.5
2013-11-08 20:29:38 +01:00
Moritz Lipp
7063705618 Merge branch 'release/0.2.5' 2013-11-08 20:29:30 +01:00
Moritz Lipp
b2c14a3733 Version 0.2.5 2013-11-08 20:29:08 +01:00
Sebastian Ramacher
63a4152f93 Be more explicit about render jobs
Manage render jobs explicitly. This will help with situations where still have
an aborted request in the queue but a new render job has been requested.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-11-07 12:36:21 +01:00
Sebastian Ramacher
11de9b606b Fix a type and add some consts
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-11-07 03:56:29 +01:00
Sebastian Ramacher
1a34fb0257 Add some debug output for signals
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-11-07 03:29:38 +01:00
Sebastian Ramacher
3abf46a164 request and aborted need to be volatile
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-11-07 03:18:44 +01:00
Sebastian Ramacher
f093046d9c Reduce the amount of code a bit
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-11-07 03:00:10 +01:00
Sebastian Ramacher
903dae55e0 Get the correct adjustment
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-11-05 02:29:20 +01:00
Sebastian Ramacher
403d867ca4 Some CS
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-11-05 02:23:52 +01:00
Sebastian Ramacher
08d799a1f8 Set viewport info early and set correct page size the first time
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-11-05 02:22:30 +01:00
Sebastian Ramacher
c51a7bdda1 Fix up header
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-11-05 01:07:05 +01:00