Commit Graph

2850 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
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
Tim Siegel
622040374e Account for page padding on full scroll
Fixes #52
2021-02-11 14:22:28 -05:00
Sebastian Ramacher
dcaf4c67e9 Remove no longer useful tabbar settings (fixes #198) 2021-02-09 22:09:42 +01:00
Sebastian Ramacher
04147356ae Document new setting in manpage 2021-02-09 22:09:23 +01:00
Sebastian Ramacher
0333c3e7d6 Compute center_x only when needed 2021-02-09 22:06:05 +01:00
Sebastian Ramacher
dcc2159176 Escape user input (fixes #205) 2021-02-09 22:03:05 +01:00
Sebastian Ramacher
5f3970fcdd Add text colors for links (fixes #211) 2021-02-09 21:57:44 +01:00
Sebastian Ramacher
7d294ef91b Merge branch 'develop' into 'develop'
Fixed zathura going to first page when toggling index mode after using the inputbar

See merge request pwmt/zathura!40
2021-02-09 20:35:15 +00:00
Andreas Hellquist
da3c6d21ef Fixed zathura going to first page when toggling index mode after using the inputbar 2021-02-09 20:35:15 +00:00
valoq
f96451c985 added new syscall to strict sandbox 2021-02-09 21:32:16 +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
5ffd3d031c Honor clipboard setting when copying links 2021-01-17 15:58:07 +01:00
Karel Král
26aeb76734 Implement copy link (fixes #197)
Implement copying the link target into the system clipboard.
2021-01-17 15:41:58 +01:00
Sebastian Ramacher
fb671c26cd Remove deprecated 'show-scrollbars', 'show-{h,v}-scrollbar' options 2021-01-05 10:05:40 +01:00
Sebastian Ramacher
6a6565e2bc Merge branch 'feature/bookmark-arg' into 'develop'
Bookmark command line argument

See merge request pwmt/zathura!38
2021-01-05 08:56:22 +00:00
Sebastian Ramacher
0150d47204 Refactor Gtk OSX Application support 2021-01-05 09:46:31 +01:00
Sebastian Ramacher
bf3d1d820d Merge branch 'feature/osx_integration' into 'develop'
enable OSX dock integration

See merge request pwmt/zathura!34
2021-01-05 08:41:14 +00:00
slamet kristanto
38ac9bd4d1 Fix meson dependency for MacOSX 2021-01-05 17:31:48 +09:00
Moritz Lipp
f0796be3fa Update subprojects 2020-12-01 10:35:43 +01:00
Moritz Lipp
de51dc5e6e Force fallback for girara 2020-12-01 08:56:28 +01:00
Moritz Lipp
a02cb44b9c Force fallback for girara 2020-12-01 08:54:10 +01:00
valoq
02a8877f77 sandbox cleanup 2020-09-14 21:47:43 +02:00
belstes
eb1fe0a64d Bookmark command line argument 2020-09-11 14:48:27 +02:00
Sebastian Ramacher
22580f24bf Add DBus method to execute commands on the inputbar 2020-09-06 19:24:04 +02:00
Sebastian Ramacher
dc5ade9aeb Extend documentation of set 2020-09-06 17:58:11 +02:00
egils-consulting
16c9c8b036 Update config.c 2020-09-03 21:10:44 +00:00
Sebastian Ramacher
a17a6e5e83 Refactor notification when writing files 2020-09-03 22:51:31 +02:00
Sebastian Ramacher
c6b50cbdcb Add :save and :save! aliases for :write and :write! (fixes #182) 2020-09-03 22:51:10 +02:00