Commit graph

2717 commits

Author SHA1 Message Date
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
Sebastian Ramacher
2ef85e7329 Also delay the execution of synctex_view (fixes #288)
Send the dbus response first, and then start parsing and rendering of
the synctex forward search.
2022-05-11 17:17:24 +02:00
Sebastian Ramacher
7b78b66c33 Revert "GH: add funding links"
This reverts commit 2af36e27fc.
2022-05-11 08:39:53 +02:00
Sebastian Ramacher
395ecfab68 Print better error message if no plugins are available (fixes #284) 2022-05-08 16:46:44 +02:00
Sebastian Ramacher
fbfbefe18b Remove unused code 2022-05-08 16:43:07 +02:00
Sebastian Ramacher
57f0d79e25 Make magic a required dependency 2022-05-08 15:43:16 +02:00
Sebastian Ramacher
2af36e27fc GH: add funding links 2022-05-08 15:23:35 +02:00
Sebastian Ramacher
f5e0f2401e Merge branch 'master' into 'develop'
Minor improvements

See merge request pwmt/zathura!54
2022-05-08 15:15:06 +02:00
Sebastian Ramacher
53503f610d CI: fix target name 2022-05-08 14:52:16 +02:00
Sebastian Ramacher
f0831f5426 CI: fix target name 2022-05-08 14:51:43 +02:00
Sebastian Ramacher
7c455dfd93 CI: buster -> bullseye, add bookworm, bionic -> focal, eoan -> jammy 2022-05-08 14:50:48 +02:00
valoq
47c67b53bd
update documentation 2022-05-08 14:29:06 +02:00
valoq
076cec96b5
sandbox improvements 2022-05-08 13:43:56 +02:00
Sebastian Ramacher
6b0461be23 Hide an internal type
types.h is for types accessible to plugins.
2022-05-08 10:36:08 +02:00
Sebastian Ramacher
cadb6f2029 Update translations 2022-05-07 23:56:26 +02:00
Sebastian Ramacher
b92388c31a Add clang-format configuration 2022-05-07 23:10:28 +02:00
Sebastian Ramacher
2f0cdb95ec Render synctex rectangles after sending the dbus reply
If rendering of the rectangle takes too long, the connection on the
message bus times out.
2022-05-07 20:55:04 +02:00