Commit Graph

2882 Commits

Author SHA1 Message Date
Sebastian Ramacher
f98f8ee659 Merge branch 'develop' into 'develop'
Display page labels in the index

See merge request pwmt/zathura!96
2024-04-30 21:16:40 +02:00
Sebastian Ramacher
caf087ca20 Merge branch 'first-page' into 'develop'
Add shortcut to cycle opening column in dual page mode

Closes #191, #234, and #257

See merge request pwmt/zathura!97
2024-04-30 21:12:24 +02:00
Sebastian Ramacher
a5e1feb4a3 CI: Remove gitlab CI 2024-04-29 22:54:25 +02:00
Colin Geniet
d5cb3777c1 input: Add shortcut to cycle first page column
Add mapping cycle_first_column (default 'D') to cycle the column
in which to display the first page.
2024-04-24 12:12:56 +02:00
Colin Geniet
5447de8a47 utils: Add parser/writer for 'first-page-column'
The 'first-page-column' setting is a string representing a list of integers.
This is annoying to manipulate.  Currently, it has a single accessor,
'find_first_page_column', which looks up the nth value.
The next commit will add a function to change it.

To avoid this turning into a horrible buggy mess of string manipulation,
add functions to convert the settings string to and from integer arrays.
Rewrite 'find_first_page_column' using these functions.

Efficiency: the new functions are slower than 'find_first_page_column'
because they parse all values in the string.  This is irrelevant since
the string is supposed to be tiny, and is only used when opening a
document or when the page layout is modified by the user.
2024-04-24 10:50:00 +02:00
Colin Geniet
2fb3992d9d index: Display page label alongside page number
Displays target page as "Page <label> (<number>)" in the index,
e.g. "Page iv (6)".  When no page label is defined, the previous
"Page <number>" format is retained.
This is consistant with the status bar formatting.

The additional "(<number>)" is in a new column to keep it aligned.
2024-04-24 00:07:48 +02:00
Sebastian Ramacher
b86cb99d22 Merge branch 'develop' into 'develop'
Remove normal sandbox mode

See merge request pwmt/zathura!93
2024-04-01 16:58:48 +02:00
Sebastian Ramacher
e22b84b11b Require only glib 2.72 (fixes #413) 2024-04-01 16:57:01 +02:00
Sebastian Ramacher
8ced168e75 Merge branch 'fix-reload' into 'develop'
Preserve zoom / current page on reload

Closes #408

See merge request pwmt/zathura!94
2024-03-25 13:26:20 +01:00
gi1242 gi1242
a1ff4c2d00 Preserve zoom / current page on reload
Fixes #408
2024-03-24 15:33:10 -04:00
valoq
9f602c2e57
remove normal sandbox mode 2024-03-10 18:41:04 +01:00
Sebastian Ramacher
3450c68d43 Merge branch 'develop' into 'develop'
Fix up color_fg alpha

See merge request pwmt/zathura!92
2024-03-09 14:20:32 +01:00
Jonas Dujava
6c548b8379
Fix up color_fg alpha
Signed-off-by: Jonas Dujava <jonas.dujava@gmail.com>
2024-03-06 01:20:08 +01:00
Sebastian Ramacher
fb5388c853 Merge tag '0.5.5' into develop
Version 0.5.5
2024-03-03 18:10:52 +01:00
Sebastian Ramacher
08690616f0 Merge branch 'release/0.5.5' 2024-03-03 18:10:46 +01:00
Sebastian Ramacher
13c3b3e5ab Version 0.5.5 2024-03-03 18:10:20 +01:00
Sebastian Ramacher
1061dc008f Fix up 2024-03-03 18:07:57 +01:00
Sebastian Ramacher
1065fc2846 Default sandbox to none 2024-03-03 17:53:03 +01:00
Sebastian Ramacher
1e69a18129 Drop plain database backend (fixes #389)
The sqlite backend will now import the data from the plain backend.
2024-03-03 17:49:54 +01:00
Sebastian Ramacher
5f1efd18f3 Make sqlite a hard dependency 2024-03-03 13:22:01 +01:00
Sebastian Ramacher
75f513407c Fix typo 2024-03-03 12:48:20 +01:00
Sebastian Ramacher
b230f8f1b3 Additional log messages 2024-03-03 12:45:22 +01:00
Sebastian Ramacher
ef6e7e295c Make smooth-reload the default
There are some corner cases, but let's reduce some of the complexity.
2024-03-03 12:45:22 +01:00
Sebastian Ramacher
ab78c1ddb0 Refactor 2024-03-02 21:27:06 +01:00
Sebastian Ramacher
0c395610ff CS 2024-03-02 21:03:04 +01:00
Sebastian Ramacher
55f7088309 Refactor 2024-03-02 20:58:59 +01:00
Sebastian Ramacher
fb2b5da84b Merge highlight-transparency into other settings 2024-03-02 18:24:59 +01:00
Sebastian Ramacher
60afd2a9ed Update translations 2024-03-02 17:34:19 +01:00
Sebastian Ramacher
75ceaaf0f8 Bump minimum versions to versions in bookworm 2024-03-02 17:28:23 +01:00
Sebastian Ramacher
37e66b2960 Bump girara-gtk dependency 2024-03-02 17:27:21 +01:00
Sebastian Ramacher
1598a79039 Update for changes in girara_file_read 2024-01-30 10:24:02 +01:00
Sebastian Ramacher
ba0706d6b9 Error out on bogus int conversion 2024-01-30 10:21:33 +01:00
Sebastian Ramacher
c053281852 Use struct initializers 2024-01-29 21:05:22 +01:00
Sebastian Ramacher
3614a24446 Fix segfault when dbus is disabled (fixes #397) 2024-01-14 16:56:04 +01:00
Sebastian Ramacher
2aae968ee6 CS 2023-12-21 23:16:12 +01:00
Sebastian Ramacher
fbbfbbd48e Merge branch 'develop' into 'develop'
Fixed a small logical mistake in zathura/utils.c

See merge request pwmt/zathura!88
2023-12-16 00:32:51 +01:00
Carlo Buccisano
2ffb21e886 Merge branch 'carlo3000_pwmt-develop-patch-03542' into 'develop'
The function file_valid_extension should return True if plugin is different...

See merge request carlo3000_pwmt/zathura!1
2023-12-15 11:17:23 +01:00
Carlo Buccisano
d74091a745 The function file_valid_extension should return True if plugin is different then NULL, not if it is equal. 2023-12-12 00:24:20 +01:00
Sebastian Ramacher
e68c0f5f7f CI: disable Ubuntu noble builds until images are available 2023-12-11 22:38:54 +01:00
Sebastian Ramacher
3a9627e63c Test if xvfb-run supports -d (Arch only) 2023-12-10 13:14:20 +01:00
Sebastian Ramacher
79772e3369 Merge tag '0.5.4' into develop
Version 0.5.4
2023-12-09 21:59:25 +01:00
Sebastian Ramacher
e138af8810 Merge branch 'release/0.5.4' 2023-12-09 21:59:20 +01:00
Sebastian Ramacher
4f24c565b0 Version 0.5.4 2023-12-09 21:59:12 +01:00
Sebastian Ramacher
a34bf916dd Fix call arguments passed to gtk_event_controller_set_propagation_phase
Also free zoom gesture.
2023-12-09 21:27:21 +01:00
Sebastian Ramacher
8d2ca4b1a2 Fix default warning color (fixes #390) 2023-12-09 19:50:39 +01:00
Sebastian Ramacher
921485378d CS 2023-12-09 10:15:55 +01:00
Sebastian Ramacher
3ca6b9c837 Always check if both kernel and libseccomp have a syscall defined 2023-12-09 10:15:11 +01:00
Sebastian Ramacher
385b797986 CI: build on Ubuntu noble 2023-12-09 10:14:10 +01:00
Sebastian Ramacher
5a04220291 CS 2023-12-08 23:32:35 +01:00
Sebastian Ramacher
dbdcba3453 Refactor 2023-12-08 23:27:34 +01:00