Commit graph

2802 commits

Author SHA1 Message Date
Sebastian Ramacher
6bfb086b1e Remove use of FOREACH macros 2023-12-04 00:21:54 +01:00
Sebastian Ramacher
fa210e8d89 Remove use of FOREACH macros 2023-12-04 00:21:54 +01:00
Sebastian Ramacher
a7f6b74b7d Remove use of FOREACH macros 2023-12-04 00:21:54 +01:00
Sebastian Ramacher
139838b59a Remove use of FOREACH macros 2023-12-04 00:21:54 +01:00
Sebastian Ramacher
3841da009d Remove use of FOREACH macros 2023-12-04 00:21:54 +01:00
Sebastian Ramacher
61d6ff288f Remove use of FOREACH macros 2023-12-04 00:21:54 +01:00
Sebastian Ramacher
cb11a67add Remove use of FOREACH macros 2023-12-04 00:21:54 +01:00
Sebastian Ramacher
63c8c3f3e9 Remove use of FOREACH macros 2023-12-04 00:21:54 +01:00
Sebastian Ramacher
6170d701dc Remove use of FOREACH macros 2023-12-04 00:21:54 +01:00
Sebastian Ramacher
b90170a2fa Update format config 2023-12-04 00:21:54 +01:00
Sebastian Ramacher
365521ed46 Merge branch 'develop' into 'develop'
add ERRNO for fchmodat2

See merge request pwmt/zathura!82
2023-12-03 13:13:25 +01:00
Sebastian Ramacher
5012485b19 Merge branch 'dbus-variable' into 'develop'
Add $DBUS variable for exec

Closes #375

See merge request pwmt/zathura!85
2023-12-03 13:08:59 +01:00
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
blankie
89c47d106c
Add $DBUS variable for exec
Fixes #375
2023-09-25 14:00:29 +10:00
valoq
c8ae0291ae
add ERRNO for fchmodat2 2023-09-18 20:08:15 +02: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