Commit graph

2829 commits

Author SHA1 Message Date
valoq
b25637a8be
Allow restricted socket syscall for X11 support 2022-04-13 10:22:59 +02:00
valoq
99c831ab82
improve seccomp filter 2022-04-08 22:59:47 +02:00
Sebastian Ramacher
8ff5a3e49d Merge branch 'master' into 'develop'
Clean process shutdown by sandbox

See merge request pwmt/zathura!52
2022-04-03 21:26:39 +02:00
valoq
b951d024a5
clean process shutdown by sandbox 2022-04-03 20:59:32 +02:00
Sebastian Ramacher
87989da708 Merge branch 'master' into 'develop'
Add rseq syscall to strict sandbox mode

See merge request pwmt/zathura!51
2022-02-15 20:08:25 +00:00
valoq
0cfaac072d
add rseq syscall 2022-02-15 17:59:40 +01:00
Sebastian Ramacher
83663a2cbf Merge tag '0.4.9' into develop
Version 0.4.9
2022-02-13 19:20:13 +01:00
Sebastian Ramacher
4cdd975395 Merge branch 'release/0.4.9' 2022-02-13 19:20:05 +01:00
Sebastian Ramacher
4a99bdda40 Version 0.4.9 2022-02-13 19:20:02 +01:00
Sebastian Ramacher
ee7672dcdc Update German translation 2022-02-13 19:18:10 +01:00
Sebastian Ramacher
c5c92c9aa6 Update translations 2022-02-12 12:59:39 +01:00
Sebastian Ramacher
59bae23194 Merge branch 'patch-1' into 'develop'
Error correction, changes and add-ons to the Spanish translation - es.po

See merge request pwmt/zathura!49
2022-02-12 11:20:22 +00:00
Sebastian Ramacher
98f8540f32 Merge branch 'master' into 'develop'
add syscall for strict sandbox

See merge request pwmt/zathura!50
2022-02-12 11:18:42 +00:00
valoq
c4035940e7 add syscall for strict sandbox 2022-02-12 05:52:34 +01:00
José Vicente Barrachina
99ffadc586 Error correction, changes and add-ons to the Spanish translation - es.po 2022-02-03 10:58:23 +00:00
Sebastian Ramacher
35e41f94aa Merge branch 'page-percent' into 'develop'
Add option to display page number percent in statusbar

See merge request pwmt/zathura!48
2022-01-11 17:38:01 +00:00
Thomas Faughnan
1222a2a99d
Add option to display page number percent in statusbar 2022-01-11 08:28:58 -05:00
Viktor Walter
f866352ccf Fixing strange whitespace difference 2022-01-10 17:44:40 +01:00
Viktor Walter
0dc0656a68 Updating gitignore file 2022-01-10 17:40:30 +01:00
Viktor Walter
fab61dcce0 Updating last differences 2022-01-10 17:38:43 +01:00
Viktor Walter
07cc401639 Merging current upstram develop 2022-01-10 17:32:15 +01:00
Sebastian Ramacher
660b2a2455 Update translations 2022-01-06 15:12:17 +01:00
elig0n
8369e79b11 Add copy file path mapping 2022-01-05 18:05:00 +01:00
Sebastian Ramacher
01ee79eeab Merge branch 'sourcecmd' into 'develop'
Add source command

See merge request pwmt/zathura!47
2022-01-05 16:53:52 +00:00
Viktor Walter
3c438d946c Unifying interfaces with up-to-date upstream devel branch. Making it buildable 2021-12-01 21:07:54 +01:00
Viktor Walter
4041d786d5 Fixed the whitespace difference from upstream in adjustment.c. Praise VIM. Also checked out config.c, render.c doc/* and po/* from the upstream. 2021-12-01 20:35:44 +01:00
Viktor Walter
52e8dae65b Fixed the whitespace difference from upstream in document.c. Praise VIM. 2021-12-01 20:16:46 +01:00
Viktor Walter
33083ecf9f Fixed the whitespace difference from upstream in zathura.c. Praise VIM. 2021-12-01 19:48:54 +01:00
Viktor Walter
515c9ed39a Merging 2021-12-01 15:53:07 +01:00
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
Thomas Faughnan
09caffe29d
add source comand 2021-11-22 20:17:20 -05:00
Sebastian Ramacher
c6ec5044c5 Fix build with meson 0.60 2021-10-30 15:41:25 +02:00
Sebastian Ramacher
9bc3e9bfaf Bump minimum check version to 0.11 2021-09-20 00:09:03 +02:00
Sebastian Ramacher
5da8c99134 Update to "new" check API 2021-09-20 00:04:58 +02:00
Reto Schnyder
242329b534 Fix links that target a location within a page
Before, clicking on a link would always jump to the beginning of the
linked-to page, even when the link targets a specific point within the
page.
2021-09-12 17:47:28 +02:00
Jonathan Teran
0ea99dff36 fix double free, make page index 1-based 2021-09-12 17:42:05 +02:00
Jonathan Teran
6d4708937e fix some issues, use g_ascii_dtostr to do int to str convertions 2021-09-12 17:42:05 +02:00
Jonathan Teran
83a334820b Add '$f' and '$p' expansions to 'exec' shortcut function
There are other expansions available, but I don't really think they make
sense, or why there are two of them for the same thing (`$FILE` and `%`
expand to the file name).

I added `$f` and `$p`, which expand to the document's path and current
page respectively, while keeping the other 2 just in case it breaks
someone's setup. I also documented them in both `zathura(1)` and
`zathurarc(5)`.
2021-09-12 17:42:05 +02:00
Sebastian Ramacher
b3d5d820f5 Update meson version in README 2021-09-12 17:32:57 +02:00
Sebastian Ramacher
bf53db66fb Bump to meson 0.56 2021-09-12 16:11:53 +02:00
Arthur Williams
120a33d116 bash completion: autocomplete xhtml files
MuPDF supports xhtml files so let them by autocompleted too.
2021-09-05 16:39:02 -05:00
Arthur Williams
0b9571e4c1 bash completion: Allow completions to work without external functions
If bash_completion wasn't installed, _filedir wouldn't be defined which
led to all filename-based completions to error out. Specifically
autocompletion would fail when a filename was expected and when
bash_completion wasn't installed. Now we fall back to compgen -f if
_filedir fails. According to _filedir's comments, compgen doesn't
handle files with spaces well, but it is still better to complete most
files than none.
2021-09-05 16:26:14 -05:00
Sebastian Ramacher
2713de2f6c Store unsigned ints in list (fixes #237) 2021-07-15 21:15:20 +02:00
Sebastian Ramacher
495f1f9b12 Merge tag '0.4.8' into develop
Version 0.4.8
2021-07-14 18:37:59 +02:00
Sebastian Ramacher
e5d2ca4871 Merge branch 'release/0.4.8' 2021-07-14 18:37:53 +02:00
Sebastian Ramacher
713480f13a Version 0.4.8 2021-07-14 18:37:51 +02:00
Sebastian Ramacher
526f632edf Merge branch 'issue-52' into 'develop'
Account for page padding on full scroll

Closes #52

See merge request pwmt/zathura!43
2021-07-14 15:58:40 +00:00
Sebastian Ramacher
8016b4c868 Update translations 2021-07-14 17:37:10 +02:00
Sebastian Ramacher
62d6bdf789 Add 'dbus-raise-window' setting
Certain D-Bus commands (e.g., all those from SyncTex) cause zathura's
window to be raised. However, this causes some workflows such as with
IDEA's texify with continuous auto-build to be problematic.
2021-07-13 08:50:27 +02:00