Commit graph

1717 commits

Author SHA1 Message Date
Sebastian Neuser
aeaa900a94 Preserve horizontal position when scrolling to PAGE_TOP/BOTTOM 2014-01-01 19:28:20 +01:00
Sebastian Ramacher
d9a4c18627 Remove extra <Enter> 2014-01-01 18:14:17 +01:00
Sebastian Ramacher
6cd8f2d3f6 Run version check if config.mk changed 2014-01-01 16:50:19 +01:00
Sebastian Ramacher
3c83a50cff Update copyright years 2014-01-01 16:49:34 +01:00
Moritz Lipp
1bde43da4f Merge branch 'develop' of pwmt.org:zathura into develop 2013-12-30 06:54:03 +01:00
Moritz Lipp
79e812dc5e Run command in vim script without breaking the screen 2013-12-30 06:53:22 +01:00
Sebastian Ramacher
85e8833305 Move D-Bus interface definition and vim ftplugin to data
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-12-27 22:32:19 +01:00
Sebastian Ramacher
029364bd30 Fix use after free
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-12-27 22:21:59 +01:00
Sebastian Ramacher
b1e8edf0d6 Install vim ftplugin
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-12-27 21:26:38 +01:00
Sebastian Ramacher
2458173473 Really use realpath
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-12-27 21:15:41 +01:00
Sebastian Ramacher
de46558ecc Update help string 2013-12-27 21:15:05 +01:00
Sebastian Ramacher
83ca2119b4 Merge branch 'develop' into feature/synctex 2013-12-27 21:13:18 +01:00
Sebastian Ramacher
81e75539b3 Use fullpath in for --syntex-forward
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-12-27 20:40:06 +01:00
Sebastian Ramacher
2940be27f1 Document --syntex-forward
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-12-27 20:16:00 +01:00
Moritz Lipp
d0b7750065 Fix quotes in girara_error call 2013-12-27 17:12:59 +01:00
Sebastian Ramacher
2b446f4182 Fail if no open instance has been found
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-12-24 17:58:50 +01:00
Sebastian Ramacher
5640bc78ec Add initial vim ftplugin 2013-12-24 17:50:38 +01:00
Sebastian Ramacher
03e1fb1f90 Set log level earlier
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-12-24 01:41:43 +01:00
Sebastian Ramacher
f5983a8429 Remove some unneeded stuff
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-12-24 01:25:20 +01:00
Sebastian Ramacher
fb000b9607 Install D-Bus interface definitions
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-12-24 01:20:17 +01:00
Sebastian Ramacher
b36c078710 Add interface definition
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-12-24 01:17:21 +01:00
Sebastian Ramacher
321b38ab48 Merge branch 'feature/remove-gtk2' into develop 2013-12-24 01:10:36 +01:00
Sebastian Ramacher
ccab5cf829 Close the connection
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-12-24 01:09:27 +01:00
Sebastian Ramacher
1b6a2b4753 Initial D-Bus client implementation
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-12-24 01:05:40 +01:00
Sebastian Ramacher
f7fddf750e Initial D-Bus interface for synctex
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-12-23 18:16:36 +01:00
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