Commit graph

2663 commits

Author SHA1 Message Date
Sebastian Ramacher
de03688124 Remove redundant condition 2020-03-12 22:16:44 +01:00
Sebastian Ramacher
a3ffbe80b3 Add some helper functions to reduce code duplication 2020-03-12 22:13:43 +01:00
Sebastian Ramacher
031bb6d9ee Fix some memory leaks on error and CS 2020-03-12 21:53:50 +01:00
Sebastian Ramacher
68da777920 Add documentation 2020-03-12 21:38:03 +01:00
Sebastian Ramacher
a58adcbdb1 Merge branch 'W95Psp-develop' into develop 2020-03-12 21:35:41 +01:00
Lucas Franceschino
776e3e6b65 free hitlist 2020-03-12 09:09:22 +01:00
Lucas Franceschino
9a7d1d1c47 fix synctex rectangles overlapping 2020-03-11 17:22:12 +01:00
Sebastian Ramacher
eab2479172 Some more clean up 2020-03-10 21:33:38 +01:00
Sebastian Ramacher
b8e82e8f91 Add missing return 2020-03-10 21:19:46 +01:00
Sebastian Ramacher
62a682d35e Add some consts and bail out early 2020-03-10 20:45:05 +01:00
Sebastian Ramacher
d63b704808 Simplify 2020-03-09 21:30:35 +01:00
Sebastian Ramacher
88e7c7afe8 Simplify 2020-03-09 21:15:27 +01:00
Sebastian Ramacher
76bc4638b8 Mark functions as static 2020-03-09 18:38:14 +01:00
Sebastian Ramacher
9a783fe202 Fix for condition 2020-03-09 18:31:14 +01:00
Sebastian Ramacher
cf69a2b79b Clear handle 2020-03-09 13:31:53 +01:00
Sebastian Ramacher
d80c654b8b Merge two ifs 2020-03-09 13:28:14 +01:00
Sebastian Ramacher
155e538d26 Remove empty statement 2020-03-09 13:24:14 +01:00
Miseran
e586178a18 Support recolor with transparency 2020-02-08 19:28:48 +01:00
Sebastian Ramacher
338986283e Fix type 2020-02-05 16:52:24 +01:00
Sebastian Ramacher
f04dc0062f Increase min difference to 2
Apparently this works around issue #94 for some people. Thanks to Consus
for the workaround.
2020-02-05 16:44:18 +01:00
Sebastian Ramacher
efa2b6d8ed Merge branch 'develop' into 'develop'
Proper installation of shell completions

See merge request pwmt/zathura!25
2020-01-22 08:32:04 +00:00
Eli Schwartz
d21d040663
fish-completion: use the correct fallback directory
fish completions should never be installed to share/fish/completions/ as
that directory is reserved exclusively for completions shipped as part
of the fish source code.

Use the same vendor_completions.d/ directory which the default fish
configuration uses.
2020-01-21 21:39:26 -05:00
Eli Schwartz
bf46e4de70
Fix installation of bash/fish completions using pkg-config
Both shells provide pkg-config files which declare their designated
completionsdir. Use this as the primary source of truth.
2020-01-21 21:39:00 -05:00
Sebastian Ramacher
99a49838f2 Add content_rating 2020-01-06 21:32:04 +01:00
Sebastian Ramacher
1d002effd0 Fix formatting of description 2020-01-06 21:32:00 +01:00
Sebastian Ramacher
eeb7641793 Fix screenshot links 2020-01-06 21:28:05 +01:00
Sebastian Ramacher
07ff330eca Merge tag '0.4.5' into develop
Version 0.4.5
2020-01-06 10:25:57 +01:00
Sebastian Ramacher
67818f90e8 Merge branch 'release/0.4.5' 2020-01-06 10:25:52 +01:00
Sebastian Ramacher
f41cfd3757 Version 0.4.5 2020-01-06 10:24:36 +01:00
Sebastian Ramacher
585261c793 Update translations 2020-01-06 10:23:07 +01:00
Sebastian Ramacher
2fc1897c89 Bump copyright years 2020-01-06 09:00:44 +01:00
Sebastian Ramacher
70cdc6577d Fix typos 2020-01-06 08:59:50 +01:00
Moritz Lipp
72e8d8deb3 Update meson.build 2020-01-05 17:26:33 +01:00
Moritz Lipp
15aac5c2e0 Cache CI 2020-01-05 14:28:04 +01:00
Moritz Lipp
88cdc850af Add CI 2020-01-05 14:21:51 +01:00
Daniel Shahaf
2d0dfd5c0f Fix option name typo in zsh completion 2019-12-22 22:53:20 +01:00
Sebastian Ramacher
418e1fe30d Implement document hash support for plain backend (fixes pwmt/zathura#86) 2019-12-01 17:37:18 +01:00
Sebastian Ramacher
eaa60ca37e Implement document hash support for sqlite backend 2019-12-01 17:21:37 +01:00
Sebastian Ramacher
75bab3f525 Also print sqlite's error message 2019-12-01 17:21:14 +01:00
Sebastian Ramacher
af253296d9 Also use SHA256 of documents to lookup fileinfo 2019-12-01 17:20:51 +01:00
Sebastian Ramacher
f03e639560 Remove forward declarations 2019-12-01 17:08:17 +01:00
Sebastian Ramacher
9cc9774fe6 Add document hash 2019-12-01 17:02:12 +01:00
Sebastian Ramacher
1635059877 Remove forward declarations 2019-12-01 17:01:50 +01:00
Sebastian Ramacher
e4b21a0453 Simplify 2019-11-30 15:03:22 +01:00
Sebastian Ramacher
e8716d041c Fix warnings and errors 2019-11-30 14:39:24 +01:00
Sebastian Ramacher
9a4b7ebbde Use g_spawn_sync 2019-11-30 14:35:10 +01:00
Sebastian Ramacher
0fa26487fc Tell magic to handle errors as errors 2019-11-30 12:18:47 +01:00
Sebastian Ramacher
5a5ee06407 Simplify 2019-11-30 11:51:27 +01:00
Sebastian Ramacher
43144b23e8 Re-try with different methods if content type is not supported 2019-11-30 11:36:11 +01:00
Sebastian Ramacher
c998ad32b1 Keep track of all supported content types 2019-11-30 11:35:33 +01:00