Commit Graph

2140 Commits

Author SHA1 Message Date
Sebastian Ramacher
0c8e2e22b4 Merge remote-tracking branch 'zaz/patch-1' into develop 2017-04-07 21:05:33 +02:00
Zaz Brown
f25229edbc elaborate manpage description of hotkey: ^r 2017-04-05 23:57:27 -04:00
Sebastian Ramacher
f477f7a2a6 Allow plugin init without calls back to the plugin 2017-03-17 19:28:55 +01:00
Sebastian Ramacher
63314cfbc9 Simplify
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2017-03-17 18:00:07 +01:00
Sebastian Ramacher
49aa419568 CS
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2017-02-23 18:50:12 +01:00
Sebastian Ramacher
3d49684860 Merge branch 'dlahoti-develop' into develop 2017-02-23 18:48:26 +01:00
Deven Lahoti
9f3f5b34e2 add vertical centering option 2017-02-22 19:18:25 -05:00
Sebastian Ramacher
0ca4789d66 Print name instead of path
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2017-01-26 22:27:06 +01:00
Sebastian Ramacher
be7b4c1ad1 Replace plugin register function call with const struct
This gets rid of a lot of back and forth between zathura and the plugins.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2017-01-26 22:23:12 +01:00
Sebastian Ramacher
b64b7132a2 Return const char
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2017-01-26 22:09:52 +01:00
Sebastian Ramacher
0263a7fa84 Fix memory leak on error 2017-01-24 23:59:18 +01:00
Sebastian Ramacher
7c5ec27314 Fix type
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2017-01-24 23:58:05 +01:00
Sebastian Ramacher
2498d5cf81 Simplify source file filtering 2017-01-24 23:43:18 +01:00
Sebastian Ramacher
84a1f213d6 Simplify the computation
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2017-01-24 23:21:48 +01:00
Sebastian Ramacher
c106f09f28 Compute PWD correctly
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2017-01-24 23:19:07 +01:00
Sebastian Ramacher
4ee323a89a Load D-Bus interface XML data during runtime
We already install the XML data anyway, so there is no reason to ship it
twice (once in the binary and once as a file).

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2017-01-24 22:50:40 +01:00
Sebastian Ramacher
6c86855949 Factor out common dependencies 2017-01-24 22:03:58 +01:00
Sebastian Ramacher
1c1f0d0284 Use correct variable
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2017-01-24 22:03:40 +01:00
Sebastian Ramacher
1d0e611067 Remove unused variable
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2017-01-24 21:58:49 +01:00
Sebastian Ramacher
04eb04cab6 Simplify source file handling
sort removes duplicates.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2017-01-24 21:57:40 +01:00
Sebastian Ramacher
e858e193a6 Remove obsolete reference to synctex headers
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2017-01-24 21:53:37 +01:00
Sebastian Ramacher
27a14806e7 Properly filter sqlite objects when building with WITH_SQLITE=0
Fixes https://bugs.gentoo.org/show_bug.cgi?id=606870

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2017-01-24 21:47:26 +01:00
Moritz Lipp
25faec270e Merge tag '0.3.7' into develop
Version 0.3.7
2017-01-11 22:05:07 +01:00
Moritz Lipp
cd8931cb14 Merge branch 'release/0.3.7' 2017-01-11 22:05:00 +01:00
Moritz Lipp
d7f8ee5a23 Version 0.3.7 2017-01-11 22:04:56 +01:00
Sebastian Ramacher
6237b859ce Update years 2017-01-07 15:19:58 +01:00
Sebastian Ramacher
1ae7ac0b9c Rename --debug to --log-level
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2017-01-06 20:11:54 +01:00
Sebastian Ramacher
16394a3a1f Switch to log functions
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2017-01-06 20:09:03 +01:00
Sebastian Ramacher
fda7aa4261 Update German translation 2017-01-05 15:55:45 +01:00
Sebastian Ramacher
baa839fcbb Run update-po 2017-01-05 15:52:57 +01:00
Sebastian Ramacher
4295b2678e Update translations 2017-01-04 20:41:07 +01:00
Sebastian Ramacher
17f0e740b4 Use g_build_filename isntead
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2016-12-20 00:48:42 +01:00
Sebastian Ramacher
0890d1bb19 Use symbolic constant 2016-12-04 12:10:29 +01:00
Felix Kaiser
49e96c68e5 Make clicking a page set the current page number
This allows fast visual navigation through the 'd'ouble page
shortcut in combination with a high pages-per-row setting.

Resolves #635
2016-12-03 19:08:16 +01:00
Felix Kaiser
2371550807 Make page mode toggling predictable
Previously, toggling page mode would jump to near page, but usually
not the one your were looking at before.
2016-12-03 19:08:16 +01:00
Sebastian Ramacher
6aa5420f37 Simplify
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2016-11-07 23:10:18 +01:00
Sebastian Ramacher
4341a09473 Use constant instead of magic value
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2016-11-07 22:56:26 +01:00
Sebastian Ramacher
79a5d1fa68 Use constant instead of magic value
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2016-11-07 22:54:33 +01:00
Sebastian Ramacher
40d032b034 Update check for context menu creation
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2016-11-07 22:48:41 +01:00
Sebastian Ramacher
2948580edd Fix deprecation warning
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2016-11-07 22:45:09 +01:00
Sebastian Ramacher
9bc80b7733 Update handling of event == NULL
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2016-11-07 22:39:44 +01:00
Sebastian Ramacher
e087fa6634 Sort for reproducability
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2016-11-07 21:49:25 +01:00
Sebastian Ramacher
5026cbb9e3 Debug output 2016-11-06 23:39:27 +01:00
Sebastian Ramacher
527e260957 CS 2016-11-06 23:39:18 +01:00
Sebastian Ramacher
9b5dceac17 Debug output for sc_zoom
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2016-11-06 18:40:55 +01:00
Sebastian Ramacher
bcdc7aba05 Check adjust mode argument
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2016-11-06 18:23:25 +01:00
Sebastian Ramacher
10641d688d CS
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2016-11-04 19:37:13 +01:00
Sebastian Ramacher
32607326a9 Fix more callback return types
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2016-10-25 21:04:30 +02:00
Sebastian Ramacher
9ee80714d4 Fix return type of callbacks
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2016-10-25 20:59:33 +02:00
Sebastian Ramacher
be717529c2 Remove function pointer casts
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2016-10-25 13:37:51 +02:00