Commit graph

468 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Christoph Stelz
4e46cafc98 Add --find option to CLI 2020-07-23 21:03:44 +02:00
valoq
3afc3a3e75 add missing syscalls 2020-07-07 09:33:25 +02:00
Faye
0cf5be08cd Add a snap_to_page command 2020-07-06 16:45:55 -05: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
slamet kristanto
2315f45eea enable dock integration 2020-05-17 12:18:09 +09:00
zsugabubus
b0fc5016d4 Fix seccomp filters in strict mode 2020-04-19 17:41:46 +02: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
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