Commit Graph

2788 Commits

Author SHA1 Message Date
Sebastian Ramacher
17cb9c82e2 Merge branch 'allow-vmsplice' into 'develop'
allow vmsplice in basic sandbox

Closes #387

See merge request pwmt/zathura!86
2023-12-03 13:07:31 +01:00
Jan Palus
c52142f6cf
allow vmsplice in basic sandbox
Fixes #387
2023-11-06 22:19:19 +01:00
Sebastian Ramacher
9ab68dd1ee Merge branch 'feature-highlighter' into 'develop'
Bring back rectangle selection in a form of a highlighter

Closes #346 and #281

See merge request pwmt/zathura!81
2023-09-18 08:33:44 +02:00
Sebastian Ramacher
72533ba775 CI: reduce artifact lifetime 2023-09-15 09:21:32 +02:00
Sebastian Ramacher
ef52b08a22 Move girara-gtk3 and cairo to requires
They are always required so that the headers are useable.
2023-09-14 21:04:47 +02:00
marcoe
124e2db320 Update docs 2023-09-14 16:56:55 +02:00
marcoe
74bc8e05ba Bring back rectangle selection in a form of a highlighter 2023-09-14 16:53:33 +02:00
Sebastian Ramacher
1e9d9718fe Merge branch 'selection-fixes' into 'develop'
Selection fixes

Closes #347

See merge request pwmt/zathura!78
2023-09-13 23:01:16 +02:00
marcoe
d46f962562 Fix selection not working on a rotated page 2023-09-12 15:01:30 +02:00
marcoe
858673f74e Cleanup: use locally declared page whenever possible 2023-09-12 13:15:27 +02:00
marcoe
0b183eae2d Simplify mouse selection
Clear the whole page instead of a rectangular region when clearing
selection.  This fixes selection not being cleared after manipulating
the page (e.g. zooming, rotating) and occasional one pixel wide artifacts
due to floating point rounding.

Performance impact is negligible.
2023-09-12 13:05:28 +02:00
Sebastian Ramacher
06c4601210 Only run tests requring GTK under xvfb 2023-09-11 19:57:32 +02:00
Sebastian Ramacher
ff53e92665 Skip sandbox test if running under X11 2023-09-11 19:14:41 +02:00
Sebastian Ramacher
c5f315d712 Run tests under xvfb 2023-09-11 18:31:18 +02:00
Sebastian Ramacher
e0271bd3f4 Add json-glib 2023-09-11 17:31:52 +02:00
Sebastian Ramacher
3a3e03999a Expose document info via dbus (fixes #355)
The data is encoded as JSON and also includes the document index.
2023-09-11 17:28:20 +02:00
Sebastian Ramacher
6cddcbf353 Build with C17
All supported platforms have compilers supporting C17.
2023-09-11 10:23:32 +02:00
Sebastian Ramacher
2aef9ece6e Add dbus interface to load config (fixes #365) 2023-09-11 10:06:31 +02:00
Sebastian Ramacher
a6d19fccc1 Require meson >= 0.61 2023-09-07 19:18:01 +02:00
Sebastian Ramacher
ec4b8afd44 CI: drop focal, bullseye, add trixie 2023-09-07 18:47:35 +02:00
Sebastian Ramacher
c11ba01cfb Merge branch 'develop' into 'develop'
Remove flicker when reloading

Closes #268

See merge request pwmt/zathura!80
2023-09-07 18:32:46 +02:00
dogeystamp
257a2c968b Remove flicker when reloading 2023-09-07 18:32:46 +02:00
Sebastian Ramacher
c7baa2f68b Merge branch 'develop' into 'develop'
Make icon visible on dark backgrounds

See merge request pwmt/zathura!72
2023-07-27 18:37:18 +02:00
Sebastian Ramacher
a1b93ff180 Merge branch 'cleanup-cairo' into 'develop'
Clean up cairo error handling

See merge request pwmt/zathura!77
2023-07-27 18:33:50 +02:00
Sebastian Ramacher
6154ef7050 Merge branch 'develop' into 'develop'
add restart syscall

Closes #362

See merge request pwmt/zathura!79
2023-07-27 18:33:11 +02:00
valoq
1a9b17f2b5
add restart syscall 2023-07-27 18:00:25 +02:00
marcoe
ea65e189c3 remove unneeded cairo save and restore
Cairo frees its "saved state stack" automatically on a call to
`cairo_destroy()`.
2023-07-04 13:31:32 +02:00
marcoe
a5334bab67 clean up cairo error checking 2023-07-04 13:11:19 +02:00
Sebastian Ramacher
df4c432895 Merge branch 'fix-manpage' into 'develop'
Fix error in zathurarc(5)

See merge request pwmt/zathura!75
2023-07-04 08:33:23 +02:00
Sebastian Ramacher
99a9a0af37 Merge branch 'fix-memleak' into 'develop'
Fix memory leak when selecting text

See merge request pwmt/zathura!76
2023-07-04 08:32:35 +02:00
marcoe
d9600b1cd7 fix mutex not being unlocked if malloc fails 2023-07-04 02:20:20 +02:00
marcoe
14a02d4002 fix memory leak when selecting text 2023-07-04 02:18:48 +02:00
Elias Elwyn
d85cd21406 Fix error in zathurarc(5)
Swap default values for notification-error-bg and fg, and
notification-warning-bg and fg
2023-07-04 01:25:00 +10:00
Sebastian Ramacher
545e509a35 Merge branch 'develop' into 'develop'
Add 'double-click-follow' option

See merge request pwmt/zathura!71
2023-05-11 17:29:45 +02:00
Sebastian Ramacher
f54680fab6 Merge branch 'develop' into 'develop'
Monitor changes in hardlinked files

See merge request pwmt/zathura!74
2023-05-11 17:26:47 +02:00
- -
18fcbb01e2 Monitor changes in hardlinked files 2023-05-11 17:09:23 +02:00
Jonas Møller
69435da52b org.pwmt.zathura.svg: add white circle background 2023-03-31 14:49:13 +02:00
Iamnotagenius
d61fe4a374
Implement 'double-click-follow' option 2023-03-26 01:07:55 +03:00
Iamnotagenius
48514b4d56
Introduce new 'double-follow-click' option 2023-03-26 00:32:29 +03:00
Iamnotagenius
51cbc988b0
Move out link evaluation at mouse position 2023-03-25 15:00:03 +03:00
Sebastian Ramacher
ca80f73449 Replace $PAGE first (fixes #328) 2023-03-18 21:43:26 +01:00
Sebastian Ramacher
84f2b4485f Avoid unused return value warning 2023-03-14 14:10:13 +01:00
Sebastian Ramacher
f7d9c39e91 Merge branch 'develop' into 'develop'
improve seccomp filter

See merge request pwmt/zathura!68
2023-03-05 18:47:29 +01:00
valoq
0fb627916b
move syscall to X11 only 2023-01-20 12:30:22 +01:00
valoq
193bfd3081
improve seccomp filter 2023-01-06 23:58:56 +01:00
Sebastian Ramacher
81e541e3f0 Merge branch 'develop' into 'develop'
unblocks required syscalls gettimeofday and clock_gettime

See merge request pwmt/zathura!69
2023-01-05 15:30:55 +01:00
lambdcalculus
c0f3065b94
unblocks required syscalls gettimeofday and clock_gettime 2022-12-31 17:20:57 -03:00
Sebastian Ramacher
1df1581f27 Account for double errors 2022-12-03 20:57:10 +01:00
Sebastian Ramacher
01468c2381 Merge branch 'master' into 'develop'
improve sandbox stability

See merge request pwmt/zathura!64
2022-12-03 15:24:34 +01:00
Sebastian Ramacher
c96c9f3edb Use girara lists 2022-12-03 15:14:01 +01:00