Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
valoq
zathura
Commits
e5d2ca48
Commit
e5d2ca48
authored
Jul 14, 2021
by
Sebastian Ramacher
Browse files
Merge branch 'release/0.4.8'
parents
12c8cd91
713480f1
Changes
44
Expand all
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
e5d2ca48
...
...
@@ -15,8 +15,9 @@ build:archlinux:
stage
:
build
image
:
registry.pwmt.org/pwmt/gitlab-runner-images/archlinux:latest
script
:
-
meson subprojects update
-
mkdir -p build && cd build
-
meson ..
-
meson
--force-fallback-for=girara
..
-
ninja
cache
:
<<
:
*girara_cache
...
...
@@ -50,8 +51,9 @@ build:debian-buster:
stage
:
build
image
:
registry.pwmt.org/pwmt/gitlab-runner-images/debian:buster
script
:
-
meson subprojects update
-
mkdir -p build && cd build
-
meson ..
-
meson
--force-fallback-for=girara
..
-
ninja
cache
:
<<
:
*girara_cache
...
...
@@ -85,8 +87,9 @@ build:ubuntu-bionic:
stage
:
build
image
:
registry.pwmt.org/pwmt/gitlab-runner-images/ubuntu:bionic
script
:
-
meson subprojects update
-
mkdir -p build && cd build
-
meson ..
-
meson
--force-fallback-for=girara
..
-
ninja
cache
:
<<
:
*girara_cache
...
...
@@ -120,8 +123,9 @@ build:ubuntu-eoan:
stage
:
build
image
:
registry.pwmt.org/pwmt/gitlab-runner-images/ubuntu:eoan
script
:
-
meson subprojects update
-
mkdir -p build && cd build
-
meson ..
-
meson
--force-fallback-for=girara
..
-
ninja
cache
:
<<
:
*girara_cache
...
...
data/org.pwmt.zathura.xml
View file @
e5d2ca48
...
...
@@ -44,5 +44,10 @@
<arg
type=
'u'
name=
'column'
direction=
'in'
/>
<arg
type=
'b'
name=
'return'
direction=
'out'
/>
</method>
<!-- Execute a command as if entered in the inputbar. -->
<method
name=
'ExecuteCommand'
>
<arg
type=
's'
name=
'input'
direction=
'in'
/>
<arg
type=
'b'
name=
'return'
direction=
'out'
/>
</method>
</interface>
</node>
doc/configuration/options.rst
View file @
e5d2ca48
...
...
@@ -43,6 +43,14 @@ General settings
:type: String
:default: #9FBC00
.. describe:: highlight-fg
Defines the color that is for text when highlighting parts of the document
(e.g.: numbers for links)
:type: String
:default: #FFFFFF
.. describe:: highlight-active-color
Defines the color that is used to show the current selected highlighted
...
...
doc/man/zathura.1.rst
View file @
e5d2ca48
...
...
@@ -113,6 +113,8 @@ General
Follow links
F
Display link target
c
Copy link target into the clipboard
\:
Enter command
r
...
...
doc/man/zathurarc.5.rst
View file @
e5d2ca48
...
...
@@ -53,6 +53,9 @@ can be used
set option4 hello\ world
set option5 "hello world"
Especially for options with strings as values, note that escaping of special characters and white
spaces is necessary. In the above example, ``option4`` and ``option5`` are both set to ``hello
world``, but ``set option6 hello world`` would set ``option6`` only to ``hello``.
For colors, zathura supports HTML color codes and CSS3-style ``rgb(r,g,b)`` and ``rgba(r,g,b,a)``
values. If you want to use color codes for some options, make sure to quote them accordingly or
...
...
@@ -525,51 +528,6 @@ girara
* Value type: String
* Default value: #FFF712
*tabbar-fg*
Defines the foreground color for a tab
* Value type: String
* Default value: #FFFFFF
*tabbar-bg*
Defines the background color for a tab
* Value type: String
* Default value: #000000
*tabbar-focus-fg*
Defines the foreground color for the focused tab
* Value type: String
* Default value: #9FBC00
*tabbar-focus-bg*
Defines the background color for the focused tab
* Value type: String
* Default value: #000000
*show-scrollbars*
Defines if both the horizontal and vertical scrollbars should be shown or not.
Deprecated, use 'guioptions' instead.
* Value type: Boolean
* Default value: false
*show-h-scrollbar*
Defines whether to show/hide the horizontal scrollbar. Deprecated, use
'guioptions' instead.
* Value type: Boolean
* Default value: false
*show-v-scrollbar*
Defines whether to show/hide the vertical scrollbar. Deprecated, use
'guioptions' instead.
* Value type: Boolean
* Default value: false
*statusbar-bg*
Defines the background color of the statusbar
...
...
@@ -658,6 +616,13 @@ zathura
* Value type: Boolean
* Default value: true
*dbus-raise-window*
Defines whether zathura's window should be raised when receiving certain
commands via D-Bus.
* Value type: Boolean
* Default value: true
*filemonitor*
Defines the file monitor backend used to check for changes in files. Possible
values are "glib", "signal" (if signal handling is supported), and "noop". The
...
...
@@ -679,6 +644,13 @@ zathura
* Value type: String
* Default value: #9FBC00
*highlight-fg*
Defines the color that is used for text when highlighting parts of the
document (e.g.: number for links).
* Value type: String
* Default value: #9FBC00
*highlight-active-color*
Defines the color that is used to show the current selected highlighted element
(e.g: current search result)
...
...
meson.build
View file @
e5d2ca48
project
(
'zathura'
,
'c'
,
version
:
'0.4.
7
'
,
version
:
'0.4.
8
'
,
meson_version
:
'>=0.47'
,
default_options
:
[
'c_std=c11'
,
'warning_level=3'
],
)
...
...
@@ -37,7 +37,7 @@ plugindir = join_paths(get_option('libdir'), 'zathura')
# required dependencies
libm
=
cc
.
find_library
(
'm'
,
required
:
false
)
girara
=
dependency
(
'girara-gtk3'
,
version
:
'>=0.3.
3
'
,
fallback
:
[
'girara'
,
'girara_dependency'
])
girara
=
dependency
(
'girara-gtk3'
,
version
:
'>=0.3.
6
'
,
fallback
:
[
'girara'
,
'girara_dependency'
])
glib
=
dependency
(
'glib-2.0'
,
version
:
'>=2.50'
)
gio
=
dependency
(
'gio-unix-2.0'
,
required
:
host_machine
.
system
()
!=
'windows'
)
gthread
=
dependency
(
'gthread-2.0'
,
version
:
'>=2.50'
)
...
...
@@ -47,6 +47,12 @@ cairo = dependency('cairo')
build_dependencies
=
[
libm
,
girara
,
glib
,
gio
,
gthread
,
gmodule
,
gtk3
,
cairo
]
if
host_machine
.
system
()
==
'darwin'
gtk_mac_integration
=
dependency
(
'gtk-mac-integration-gtk3'
)
build_dependencies
+=
gtk_mac_integration
endif
# defines
defines
=
[
'-DGETTEXT_PACKAGE="zathura"'
,
...
...
@@ -55,6 +61,10 @@ defines = [
'-D_DEFAULT_SOURCE'
,
]
if
host_machine
.
system
()
==
'darwin'
defines
+=
'-DGTKOSXAPPLICATION'
endif
# compile flags
flags
=
[
'-Werror=implicit-function-declaration'
,
...
...
@@ -101,6 +111,7 @@ version_header = configure_file(
output
:
'zathura-version.h'
,
configuration
:
conf_data
)
include_directories
=
[
include_directories
(
'.'
)
]
...
...
@@ -143,7 +154,7 @@ sources = files(
sources
+=
zathura_resources
sources
+=
additional_sources
# header fi
e
ls to install
# header fil
e
s to install
headers
=
files
(
'zathura/document.h'
,
'zathura/links.h'
,
...
...
po/ar.po
View file @
e5d2ca48
This diff is collapsed.
Click to expand it.
po/ca.po
View file @
e5d2ca48
...
...
@@ -8,8 +8,8 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 202
0
-07-
27 10:0
6+0200\n"
"PO-Revision-Date: 2020-0
3
-2
2 22:48
+0000\n"
"POT-Creation-Date: 202
1
-07-
14 17:3
6+0200\n"
"PO-Revision-Date: 2020-0
7
-2
7 08:12
+0000\n"
"Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
"Language-Team: Catalan (http://www.transifex.com/pwmt/zathura/language/ca/)\n"
"Language: ca\n"
...
...
@@ -52,11 +52,6 @@ msgstr ""
msgid "Automatic document reloading."
msgstr ""
#. Translators: Icon of the desktop entry.
#: data/org.pwmt.zathura.desktop.in:9
msgid "org.pwmt.zathura"
msgstr ""
#. Translators: Search terms to find this application. Do not translate or
#. localize the semicolons. The list must also end with a semicolon.
#: data/org.pwmt.zathura.desktop.in:14
...
...
@@ -68,35 +63,35 @@ msgstr ""
msgid "'%s' must not be 0. Set to 1."
msgstr ""
#: zathura/callbacks.c:39
5
#: zathura/callbacks.c:39
6
#, c-format
msgid "Invalid input '%s' given."
msgstr "Entrada invàlida '%s'."
#: zathura/callbacks.c:4
33
#: zathura/callbacks.c:4
44
#, c-format
msgid "Invalid index '%s' given."
msgstr "Índex invàlid '%s'."
#: zathura/callbacks.c:6
74
#: zathura/callbacks.c:6
92
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
#: zathura/callbacks.c:7
06
#: zathura/callbacks.c:7
24
#, c-format
msgid "Copied selected image to selection %s"
msgstr ""
#: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103
#: zathura/commands.c:165 zathura/commands.c:281 zathura/commands.c:311
#: zathura/commands.c:33
7
zathura/commands.c:4
37
zathura/commands.c:56
9
#: zathura/shortcuts.c:4
1
3 zathura/shortcuts.c:12
22
zathura/shortcuts.c:12
57
#: zathura/shortcuts.c:1
284
#: zathura/commands.c:33
3
zathura/commands.c:4
29
zathura/commands.c:56
1
#: zathura/shortcuts.c:43
8
zathura/shortcuts.c:12
57
zathura/shortcuts.c:12
92
#: zathura/shortcuts.c:1
319
msgid "No document opened."
msgstr "No s'ha obert cap document."
#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:44
2
#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:4
3
4
msgid "Invalid number of arguments given."
msgstr "Nombre d'arguments invàlids."
...
...
@@ -195,53 +190,45 @@ msgstr "Cap argument subministrat."
msgid "Printing is not permitted in strict sandbox mode"
msgstr ""
#: zathura/commands.c:317 zathura/commands.c:343
msgid "Document saved."
msgstr "Document desat."
#: zathura/commands.c:319 zathura/commands.c:345
msgid "Failed to save document."
msgstr "No s'ha pogut desar el document."
#: zathura/commands.c:322 zathura/commands.c:348
#: zathura/commands.c:318 zathura/commands.c:340
msgid "Invalid number of arguments."
msgstr "Nombre d'arguments invàlids."
#: zathura/commands.c:4
61
#: zathura/commands.c:4
53
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "No s'ha pogut escriure el fitxer adjunt '%s' a '%s'."
#: zathura/commands.c:4
63
#: zathura/commands.c:4
55
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "S'ha escrit el fitxer adjunt '%s' a '%s'."
#: zathura/commands.c:
507
#: zathura/commands.c:
499
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "S'ha escrit la imatge '%s' a '%s'."
#: zathura/commands.c:50
9
#: zathura/commands.c:50
1
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "No s'ha pogut escriure la imatge '%s' a '%s'."
#: zathura/commands.c:5
16
#: zathura/commands.c:5
08
#, c-format
msgid "Unknown image '%s'."
msgstr "Imatge desconeguda '%s'."
#: zathura/commands.c:52
0
#: zathura/commands.c:5
1
2
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Imatge o fitxer adjunt desconegut '%s'."
#: zathura/commands.c:53
8
#: zathura/commands.c:53
0
msgid "Exec is not permitted in strict sandbox mode"
msgstr ""
#: zathura/commands.c:5
82
#: zathura/commands.c:5
74
msgid "Argument must be a number."
msgstr "L'argument ha de ser un nombre."
...
...
@@ -260,317 +247,325 @@ msgid "Images"
msgstr "Imatges"
#. zathura settings
#: zathura/config.c:18
3
#: zathura/config.c:18
5
msgid "Database backend"
msgstr "Base de dades de rerefons"
#: zathura/config.c:18
4
#: zathura/config.c:18
6
msgid "File monitor backend"
msgstr ""
#: zathura/config.c:18
6
#: zathura/config.c:18
8
msgid "Zoom step"
msgstr "Pas d'ampliació"
#: zathura/config.c:1
88
#: zathura/config.c:1
90
msgid "Padding between pages"
msgstr "Separació entre pàgines"
#: zathura/config.c:19
0
#: zathura/config.c:19
2
msgid "Number of pages per row"
msgstr "Nombre de pàgines per fila"
#: zathura/config.c:19
2
#: zathura/config.c:19
4
msgid "Column of the first page"
msgstr "Columna de la primera pàgina"
#: zathura/config.c:19
4
#: zathura/config.c:19
6
msgid "Render pages from right to left"
msgstr ""
#: zathura/config.c:19
6
#: zathura/config.c:19
8
msgid "Scroll step"
msgstr "Pas de desplaçament"
#: zathura/config.c:
198
#: zathura/config.c:
200
msgid "Horizontal scroll step"
msgstr "Pas de desplaçament horitzontal"
#: zathura/config.c:20
0
#: zathura/config.c:20
2
msgid "Full page scroll overlap"
msgstr "Superposició de pàgines completes de desplaçament"
#: zathura/config.c:20
2
#: zathura/config.c:20
4
msgid "Zoom minimum"
msgstr "Zoom mínim"
#: zathura/config.c:20
4
#: zathura/config.c:20
6
msgid "Zoom maximum"
msgstr "Zoom màxim"
#: zathura/config.c:20
6
#: zathura/config.c:20
8
msgid "Maximum number of pages to keep in the cache"
msgstr ""
#: zathura/config.c:20
8
#: zathura/config.c:2
1
0
msgid "Maximum size in pixels of thumbnails to keep in the cache"
msgstr ""
#: zathura/config.c:21
0
#: zathura/config.c:21
2
msgid "Number of positions to remember in the jumplist"
msgstr "Nombre de posicions per recordar al jumplist"
#: zathura/config.c:21
2
#: zathura/config.c:21
4
msgid "Recoloring (dark color)"
msgstr "Recolorejant (color fosc)"
#: zathura/config.c:21
3
#: zathura/config.c:21
5
msgid "Recoloring (light color)"
msgstr "Recolorejant (color clar)"
#: zathura/config.c:21
4
#: zathura/config.c:21
6
msgid "Color for highlighting"
msgstr "Color de realçament"
#: zathura/config.c:216
#: zathura/config.c:218
msgid "Foreground color for highlighting"
msgstr ""
#: zathura/config.c:220
msgid "Color for highlighting (active)"
msgstr "Color de realçament (activat)"
#: zathura/config.c:2
18
#: zathura/config.c:2
22
msgid "'Loading ...' background color"
msgstr ""
#: zathura/config.c:22
0
#: zathura/config.c:22
4
msgid "'Loading ...' foreground color"
msgstr ""
#: zathura/config.c:22
3
#: zathura/config.c:22
7
msgid "Index mode foreground color"
msgstr ""
#: zathura/config.c:22
4
#: zathura/config.c:22
8
msgid "Index mode background color"
msgstr ""
#: zathura/config.c:22
5
#: zathura/config.c:22
9
msgid "Index mode foreground color (active element)"
msgstr ""
#: zathura/config.c:2
26
#: zathura/config.c:2
30
msgid "Index mode background color (active element)"
msgstr ""
#: zathura/config.c:2
29
#: zathura/config.c:2
33
msgid "Recolor pages"
msgstr "Recolorejant les pàgines"
#: zathura/config.c:23
1
#: zathura/config.c:23
5
msgid "When recoloring keep original hue and adjust lightness only"
msgstr "Quan recoloregis manté el to original i ajusta només la lluminositat"
#: zathura/config.c:23
3
#: zathura/config.c:23
7
msgid "When recoloring keep original image colors"
msgstr ""
#: zathura/config.c:23
5
#: zathura/config.c:23
9
msgid "Wrap scrolling"
msgstr "Desplaçament recollit"
#: zathura/config.c:2
37
#: zathura/config.c:2
41
msgid "Page aware scrolling"
msgstr "Desplaçament recollit"
#: zathura/config.c:23
9
#: zathura/config.c:2
4
3
msgid "Advance number of pages per row"
msgstr "Avançar nombre de pàgines per fila"
#: zathura/config.c:24
1
#: zathura/config.c:24
5
msgid "Horizontally centered zoom"
msgstr "Zoom centrat horitzontalment"
#: zathura/config.c:24
3
#: zathura/config.c:24
7
msgid "Vertically center pages"
msgstr ""
#: zathura/config.c:24
5
#: zathura/config.c:24
9
msgid "Align link target to the left"
msgstr ""
#: zathura/config.c:2
47
#: zathura/config.c:2
51
msgid "Let zoom be changed when following links"
msgstr ""
#: zathura/config.c:2
49
#: zathura/config.c:2
53
msgid "Center result horizontally"
msgstr "Centra el resultat horitzontalment"
#: zathura/config.c:25
1
#: zathura/config.c:25
5
msgid "Transparency for highlighting"
msgstr "Transparència del realçat"
#: zathura/config.c:25
3
#: zathura/config.c:25
7
msgid "Render 'Loading ...'"
msgstr "Renderitza 'Carregant ...'"
#: zathura/config.c:25
4
#: zathura/config.c:25
8
msgid "Adjust to when opening file"
msgstr "Ajustar al fitxer quan s'obri"
#: zathura/config.c:2
5
6
#: zathura/config.c:26
0
msgid "Show hidden files and directories"
msgstr "Mostra els directoris i fitxers ocults"
#: zathura/config.c:2
58
#: zathura/config.c:2
62
msgid "Show directories"
msgstr "Mostra els directoris"
#: zathura/config.c:26
0
#: zathura/config.c:26
4
msgid "Show recent files"
msgstr ""
#: zathura/config.c:26
2
#: zathura/config.c:26
6
msgid "Always open on first page"
msgstr "Obrir sempre la primera pàgina"
#: zathura/config.c:26
4
#: zathura/config.c:26
8
msgid "Highlight search results"
msgstr "Realça els resultats de recerca"
#: zathura/config.c:2
6
7
#: zathura/config.c:27
1
msgid "Enable incremental search"
msgstr "Habilita la cerca incremental"
#: zathura/config.c:2
69
#: zathura/config.c:2
73
msgid "Clear search results on abort"
msgstr "Esborra els resultats de recerca a l'interrompre"
#: zathura/config.c:27
1
#: zathura/config.c:27
5
msgid "Use basename of the file in the window title"
msgstr "Utilitza el nom base del fitxer en el títol de la finestra"
#: zathura/config.c:27
3
#: zathura/config.c:27
7
msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr ""
#: zathura/config.c:27
5
#: zathura/config.c:27
9
msgid "Display the page number in the window title"
msgstr ""
#: zathura/config.c:2
77
#: zathura/config.c:2
81
msgid "Use first page of a document as window icon"
msgstr ""
#: zathura/config.c:2
79
#: zathura/config.c:2
83
msgid "Use basename of the file in the statusbar"
msgstr ""
#: zathura/config.c:28
1
#: zathura/config.c:28
5
msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr ""
#: zathura/config.c:28
3
#: zathura/config.c:28
7
msgid "Enable synctex support"
msgstr "Habilitar la compatibilitat amb synctex"
#: zathura/config.c:28
4
#: zathura/config.c:28
8
msgid "Synctex editor command"
msgstr ""
#: zathura/config.c:2
86
#: zathura/config.c:2
90
msgid "Enable D-Bus service"
msgstr ""
#: zathura/config.c:288
#: zathura/config.c:291
msgid "Raise window on certain D-Bus commands"
msgstr ""
#: zathura/config.c:293
msgid "Save history at each page change"
msgstr ""
#: zathura/config.c:2
8
9
#: zathura/config.c:29
4
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
#: zathura/config.c:29
1
#: zathura/config.c:29
6
msgid "Enable notification after selecting text"
msgstr ""
#: zathura/config.c:29
4
#: zathura/config.c:29
9
msgid "Sandbox level"
msgstr ""
#. define default inputbar commands
#: zathura/config.c:4
85
#: zathura/config.c:4
91