Commit graph

2603 commits

Author SHA1 Message Date
Viktor Walter
6d66bc88af Fixing the issue of the 'best-fit' zoom being way too low if one page is larger that the rest. The zoom was trying to accomodate for the large page, but it should instead accomodate for the most frequent size. This is still not ideal, since as it is now Zathura crops the larger pages to the size of the most frequent size, but this typically only affects things like larger first pages in scans. I am building this on thop of the Ailrk-fork, since that version already implemented a way how to estimate the most frequent page size, from the first 32 pages. 2021-11-29 19:12:45 +01:00
Viktor Walter
5ea8b4462e Switching the girara repo, since the original seems inaccessible 2021-11-29 15:31:57 +01:00
Jimmy
1c26554c23 fixed weird sized, cleaned code 2021-02-04 19:14:08 -08:00
Jimmy
4a1f8eda83 fixed gap 2021-02-04 16:30:17 -08:00
Jimmy
46dfa2be22 pinned 2021-02-04 16:16:02 -08:00
Sebastian Ramacher
12c8cd9110 Merge branch 'release/0.4.7' into master 2020-09-03 21:42:51 +02:00
Sebastian Ramacher
65344f61de Version 0.4.7 2020-09-03 21:42:47 +02:00
Sebastian Ramacher
31b04e3b50 Update translations 2020-09-03 21:35:01 +02:00
Sebastian Ramacher
ab37394d08 Flatten rectangles with integer precision
Rectangles might be a little off, but is a lot faster if processing 100s
of rectangles.
2020-09-02 15:29:04 +02:00
Sebastian Ramacher
213fbf07c2 Fix typo 2020-09-01 09:17:00 +02:00
Sebastian Ramacher
6c0db8fd48 Update translations 2020-08-24 21:39:22 +02:00
Georgy Komarov
582d3f6be3
Fix invalid zoom when opening document with "adjust-open width" option
This commit fixes attempt to set INFINITY zoom value when opening
document for first time with "adjust-open width" option.

In this case function zathura_document_get_document_size returns 0 width
which leads to incorrect zoom calculation.
2020-08-23 20:44:45 +03:00
Sebastian Ramacher
3a20080210 Build sandbox test only if seccomp enabled 2020-07-27 18:44:52 +02:00
Sebastian Ramacher
41e14218ef Merge tag '0.4.6' into develop
Version 0.4.6
2020-07-27 18:30:16 +02:00
Sebastian Ramacher
91ceee2b71 Merge branch 'release/0.4.6' into master 2020-07-27 18:30:11 +02:00
Sebastian Ramacher
5ceb00ab8f Version 0.4.6 2020-07-27 18:29:18 +02:00
Sebastian Ramacher
f014cb186b Update translations 2020-07-27 10:11:44 +02:00
Sebastian Ramacher
3388cfd6c1 Refactor manpages 2020-07-24 11:30:43 +02:00
Christoph Stelz
4e46cafc98 Add --find option to CLI 2020-07-23 21:03:44 +02:00
Lennard Hofmann
fde4abeac5 Fix SVG icon install path
https://specifications.freedesktop.org/icon-theme-spec/latest/ar01s07.html
2020-07-19 08:37:03 +00:00
valoq
3afc3a3e75 add missing syscalls 2020-07-07 09:33:25 +02:00
Faye
7591238e0c Add documentation for the default keybinding 2020-07-06 17:02:03 -05:00
Faye
0cf5be08cd Add a snap_to_page command 2020-07-06 16:45:55 -05:00
Sebastian Ramacher
13119854c7 Update translations 2020-06-17 00:01:30 +02:00
Sebastian Ramacher
bfcffc3e8c Create data directory only if database is enabled (fixes #158) 2020-06-16 23:51:34 +02:00
Sebastian Ramacher
931fd9f6cf Only create data directory if not available 2020-06-16 23:41:28 +02:00
Jona Ackerschott
edea6a5403 Fix screen freeze in some cases
Partially fixes #94
2020-06-16 21:24:39 +02:00
Sebastian Ramacher
2ec99e9f9e CS 2020-06-16 21:07:47 +02:00
valoq
575585f1f2
fix enum 2020-06-01 19:36:54 +02:00
valoq
aa2bc80f51
simplify sandbox test 2020-06-01 19:32:21 +02:00
valoq
5547374334
fix coding style 2020-06-01 19:23:36 +02:00
valoq
a3050539af
add test for sandbox 2020-05-30 21:36:14 +02:00
valoq
b02c73fcb1
allow pipe2 syscall 2020-05-30 13:52:31 +02:00
Sebastian Ramacher
d5698845f5 Nicer markdown 2020-05-28 17:51:09 +02:00
Louai Misto
1c42ec5de1 Rename README to README.md 2020-05-17 11:23:00 +02:00
Sebastian Ramacher
f545992aeb Set meson warning_level 2020-04-26 16:25:57 +02:00
zsugabubus
b0fc5016d4 Fix seccomp filters in strict mode 2020-04-19 17:41:46 +02:00
Sebastian Ramacher
82783770dc Update translations 2020-04-12 17:56:43 +02:00
Jonathan Waldrep
2d53f77233 Fix spelling (fixes #129) 2020-03-28 23:39:00 +01:00
Sebastian Ramacher
3b4540fee1 Update translations 2020-03-22 23:48:36 +01:00
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