Commit Graph

2847 Commits

Author SHA1 Message Date
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
Sebastian Ramacher
a1944d762d CS 2022-12-03 15:06:35 +01:00
Sebastian Ramacher
bb0a0a7e9c Remove left-over fprintfs 2022-12-03 15:03:52 +01:00
Sebastian Ramacher
da33077766 Merge remote-tracking branch 'ViktorWalter/develop' into develop 2022-12-03 14:56:40 +01:00
valoq
3bfe1ebabc
improve sandbox stability 2022-11-29 14:58:50 +01:00
Sebastian Ramacher
aa5f419a1a Merge tag '0.5.2' into develop
zathura version 0.5.2
2022-11-27 16:44:10 +01:00
Sebastian Ramacher
bccbe933c6 Merge branch 'release/0.5.2' 2022-11-27 16:44:03 +01:00
Sebastian Ramacher
99beac60f7 Version 0.5.2 2022-11-27 16:43:56 +01:00
Sebastian Ramacher
24e8d147bf Update translations 2022-11-27 16:24:48 +01:00
Sebastian Ramacher
a99249e799 Merge branch 'feature/selection' into 'develop'
Proper text selection upon mouse drag (Closes pwmt/zathura#26).

Closes #26

See merge request pwmt/zathura!59
2022-11-27 15:17:54 +01:00
Sebastian Ramacher
4becd17ebc Merge branch 'develop' into 'develop'
Keep  order when using the fish suffix completion

See merge request pwmt/zathura!63
2022-11-11 20:49:05 +01:00
Daniel J. Perry
ea04ffc665 Keep order when using the fish suffix completion 2022-11-11 14:33:31 -05:00
Sebastian Ramacher
588a37285f Merge branch 'master' into 'develop'
improve ui feedback

See merge request pwmt/zathura!62
2022-11-10 16:22:53 +01:00
valoq
5ba87e5c72
improve feedback 2022-11-10 16:15:57 +01:00
Sebastian Ramacher
465f6f8e67 Merge branch 'master' into 'develop'
Update seccomp filter

See merge request pwmt/zathura!61
2022-11-10 01:12:28 +01:00
valoq
004a35dba1
support syscalls used by recent glibc versions 2022-11-10 00:23:52 +01:00
valoq
d050449f81
updated syscall filter 2022-11-09 13:30:57 +01:00
valoq
530ffd13a9
document alternative syscalls 2022-11-09 01:18:13 +01:00
Rahul Aggarwal
a967273f77 bump plugin abi, bump plugin api 2022-11-05 12:12:35 -04:00
Rahul Aggarwal
8a5589a553 remove uneccesary imports, unused variables, revert whitespace change 2022-11-05 12:00:46 -04:00
Carlos Torres
30fe187da0 Fix Readme typo and missing dep
Changes:
	- Fix Sqlite typo;
	- Add missing 'pkgconf' build dependency;

Signed-off-by: Carlos Torres <torr@disroot.org>
2022-11-05 13:16:29 +01:00
Rahul Aggarwal
2489a8d877 add proper redraw bounds for text selection 2022-11-05 02:09:21 -04:00
Rahul Aggarwal
a3029ddff6 Add selection api, data, drawing functions 2022-11-05 02:08:22 -04:00
Sebastian Ramacher
9930e031c5 Merge branch 'master' into 'develop'
Add epoll_create1 syscall for copy

See merge request pwmt/zathura!58
2022-10-12 21:45:13 +02:00
valoq
2c4f2ff70a
add epoll_create1 syscall for copy 2022-10-07 02:38:08 +02:00
Sebastian Ramacher
8173968cc9 Merge tag '0.5.1' into develop
Version 0.5.1
2022-09-09 00:17:32 +02:00
Sebastian Ramacher
c7182822c9 Merge branch 'release/0.5.1' 2022-09-09 00:17:27 +02:00
Sebastian Ramacher
892c38006b Version 0.5.1 2022-09-09 00:17:20 +02:00
Sebastian Ramacher
a2e302ce8e Make clone3 fallback to clone 2022-09-09 00:16:41 +02:00
Sebastian Ramacher
4a9206f393 Merge tag '0.5.0' into develop
Version 0.5.0
2022-09-08 23:57:06 +02:00
Sebastian Ramacher
1001473ce8 Merge branch 'release/0.5.0' 2022-09-08 23:57:02 +02:00
Sebastian Ramacher
0e82d492e8 Version 0.5.0 2022-09-08 23:56:54 +02:00
Sebastian Ramacher
5a5316ca61 Set database version on initialization 2022-09-02 13:21:11 +02:00
Sebastian Ramacher
806fa70a7c Replace deprecated get_pkgconfig_variable with get_variable 2022-08-23 00:08:12 +02:00
Sebastian Ramacher
b76227bb9c Merge branch 'fix-uninitialized-value' into 'develop'
Fix use of uninitialized value

See merge request pwmt/zathura!57
2022-08-20 13:54:57 +02:00
Pekka Ristola
41e504a7be
Fix use of uninitialized value
Contents of string `content` are unitialized before copying of `dummy_content`.
Using `g_strlcat` appends `dummy_content` to the uninitialized junk, and
by changing that to `strcpy` the uninitialized values aren't used.

Relevant Valgrind error when running zathura with no arguments:
```
==15845== Conditional jump or move depends on uninitialised value(s)
==15845==    at 0x566EB2D: UnknownInlinedFun (gstrfuncs.c:1534)
==15845==    by 0x566EB2D: g_strlcat (gstrfuncs.c:1521)
==15845==    by 0x12B16D: zathura_db_read_key_file_from_file (database-plain.c:171)
==15845==    by 0x12D39D: UnknownInlinedFun (database-plain.c:295)
==15845==    by 0x12D39D: plain_set_property (database-plain.c:371)
==15845==    by 0x55C17AD: object_set_property (gobject.c:1607)
==15845==    by 0x55C1C1C: g_object_new_internal (gobject.c:2047)
==15845==    by 0x55C3307: g_object_new_valist (gobject.c:2355)
==15845==    by 0x55C383D: g_object_new (gobject.c:1824)
==15845==    by 0x117944: UnknownInlinedFun (database-plain.c:226)
==15845==    by 0x117944: init_database (zathura.c:373)
==15845==    by 0x11B8EA: zathura_init (zathura.c:473)
==15845==    by 0x114B99: UnknownInlinedFun (main.c:111)
==15845==    by 0x114B99: main (main.c:282)
```
2022-08-20 14:38:37 +03:00
Sebastian Ramacher
3a6fea5bb9 Merge branch 'hidpi-ppi-fix' into 'develop'
Fix zathura not rendering on hidpi displays

See merge request pwmt/zathura!55
2022-05-24 15:49:17 +02:00
toluschr
832d9e1bed Fix zathura not rendering on hidpi displays
Related to https://gitlab.gnome.org/GNOME/gtk/-/issues/3115.
Ideally, GNOME could fix their library to return 0 instead of 1.
2022-05-24 15:47:40 +02:00
Sebastian Ramacher
72f3ce1d62 Rename private to priv
Avoid to name variables after a C++ keyword.
2022-05-14 00:20:44 +02:00
Sebastian Ramacher
36065d3bf3 Do not store unused signal handle 2022-05-14 00:13:03 +02:00
Sebastian Ramacher
f5300ce2fa Avoid a function pointer cast 2022-05-13 00:19:11 +02:00
Sebastian Ramacher
c26949ff05 Fix return value 2022-05-13 00:05:27 +02:00