Commit Graph

2280 Commits

Author SHA1 Message Date
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
Sebastian Ramacher
10f8f89726 Merge branch 'typo' of https://github.com/munyari/zathura into develop 2016-09-21 16:53:54 +02:00
Panashe M. Fundira
5202554f7e
Fix typo in zathurarc man page 2016-09-21 10:33:25 -04:00
Sebastian Ramacher
945929ce5f Remove redundant check 2016-08-02 11:36:46 +02:00
Sebastian Ramacher
d913eda04a Simplify
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2016-06-24 19:46:09 +02:00
Sebastian Ramacher
cbfcd8a1b4 Remove unnecessary code
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2016-06-24 19:17:18 +02:00
Sebastian Ramacher
97cbbe7c06 More debug output
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2016-06-24 19:14:39 +02:00
Sebastian Ramacher
b85e8c389f Add debug output
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2016-06-24 19:06:04 +02:00
Sebastian Ramacher
b93ebeb327 Merge branch 'develop' of git.pwmt.org:pwmt/zathura into develop 2016-05-31 23:34:33 +02:00
Sebastian Ramacher
c9672357d2 Include girara/session.h so that Window is available in any case 2016-05-29 12:05:21 +02:00
Sebastian Ramacher
0069ef2860 Simplify check
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2016-05-01 18:26:29 +02:00