zathura merge requestshttps://git.pwmt.org/pwmt/zathura/-/merge_requests2024-03-10T18:47:41+01:00https://git.pwmt.org/pwmt/zathura/-/merge_requests/93Remove normal sandbox mode2024-03-10T18:47:41+01:00valoqRemove normal sandbox modeThe normal sandbox mode added very little in terms of security and with the default mode changed to 'none' this should rather be removed to avoid a false sense of security and to simplify the remaining sandbox code.The normal sandbox mode added very little in terms of security and with the default mode changed to 'none' this should rather be removed to avoid a false sense of security and to simplify the remaining sandbox code.https://git.pwmt.org/pwmt/zathura/-/merge_requests/67Draft: add sandbox command line option2024-03-10T18:42:13+01:00valoqDraft: add sandbox command line optionThis commit adds an alternative command line option to set the sandbox mode as an alternative to the configuration option.
One example use cases would be to have the sandbox set to strict in the configuration for general use and use the...This commit adds an alternative command line option to set the sandbox mode as an alternative to the configuration option.
One example use cases would be to have the sandbox set to strict in the configuration for general use and use the command line option --sandbox=normal (or none) when using zathura in something like vimtex where we want all features and the file is safe anyway.
The command line option is prioritized if there is a different setting in zathurarchttps://git.pwmt.org/pwmt/zathura/-/merge_requests/91Fix segfault for fast file reloading2024-03-03T10:19:42+01:00Denis DrakhniaFix segfault for fast file reloadingFix https://git.pwmt.org/pwmt/zathura/-/issues/120Fix https://git.pwmt.org/pwmt/zathura/-/issues/120https://git.pwmt.org/pwmt/zathura/-/merge_requests/90add binding for scrolling a full page up with `b`2024-02-19T16:32:35+01:00Francisco Demartinoadd binding for scrolling a full page up with `b`like `less`like `less`https://git.pwmt.org/pwmt/zathura/-/merge_requests/84Add DBus method to execute shortcut functions2023-09-21T21:05:53+02:00Rodrigo MoralesAdd DBus method to execute shortcut functionsThe introduced changes make it possible to execute any shortcut function through the DBus interface. Here are some examples:
Navigate 1 page below.
```
$ pid="$(pgrep zathura)" && dbus-send --type="method_call" --dest="org.pwmt.zathura...The introduced changes make it possible to execute any shortcut function through the DBus interface. Here are some examples:
Navigate 1 page below.
```
$ pid="$(pgrep zathura)" && dbus-send --type="method_call" --dest="org.pwmt.zathura.PID-$pid" /org/pwmt/zathura org.pwmt.zathura.ExecuteShortcutFunction string:"navigate" string:"next" uint32:0
```
Navigate to the 10nth page below.
```
$ pid="$(pgrep zathura)" && dbus-send --type="method_call" --dest="org.pwmt.zathura.PID-$pid" /org/pwmt/zathura org.pwmt.zathura.ExecuteShortcutFunction string:"navigate" string:"next" uint32:10
```
Scroll down with a magnitude 1
```
$ pid="$(pgrep zathura)" && dbus-send --type="method_call" --dest="org.pwmt.zathura.PID-$pid" /org/pwmt/zathura org.pwmt.zathura.ExecuteShortcutFunction string:"scroll" string:"down" uint32:0
```
Scroll down with a magnitude 10
```
$ pid="$(pgrep zathura)" && dbus-send --type="method_call" --dest="org.pwmt.zathura.PID-$pid" /org/pwmt/zathura org.pwmt.zathura.ExecuteShortcutFunction string:"scroll" string:"down" uint32:10
```
Toggle the index
```
$ pid="$(pgrep zathura)" && dbus-send --type="method_call" --dest="org.pwmt.zathura.PID-$pid" /org/pwmt/zathura org.pwmt.zathura.ExecuteShortcutFunction string:"toggle_index" string:"" uint32:0
```
Navigate index (assuming that the current view has enabled the index)
```
$ pid="$(pgrep zathura)" && dbus-send --type="method_call" --dest="org.pwmt.zathura.PID-$pid" /org/pwmt/zathura org.pwmt.zathura.ExecuteShortcutFunction string:"navigate_index" string:"down" uint32:0
```https://git.pwmt.org/pwmt/zathura/-/merge_requests/56Add selection coordinates to command exec parameters2023-08-08T08:18:31+02:00pcyAdd selection coordinates to command exec parametersThis series of two commits adds the parameters `$X1`, `$Y2`, etc. to the parameters available to a shell command.
This is quite useful as this allows one to create a keybinding that will cryptographically sign the document using several...This series of two commits adds the parameters `$X1`, `$Y2`, etc. to the parameters available to a shell command.
This is quite useful as this allows one to create a keybinding that will cryptographically sign the document using several types of government-issued ID cards using e.g. [pyHanko](https://pypi.org/project/pyHanko/). These types of signatures need to be placed at certain coordinates on the PDF document (as opposed to eg. PGP signatures), and are the only type of signatures governments etc. will typically acknowledge (also unlike PGP signatures). An example of this usage can be found [here](https://gitlab.ulyssis.org/pcy/zathura-beid).
The first commit adds two API functions that expose the selection rectangle coordinates to a page, so I could use those in the second commit. I'm not sure if this is the best place to add these two functions or if there's a better way to do this, input is welcome there.https://git.pwmt.org/pwmt/zathura/-/merge_requests/44Show grid padding when recode (black pages)2021-07-14T18:00:16+02:00Tim SiegelShow grid padding when recode (black pages)It is nice to see the page grid both normally and when colors have been
recoded. The easy way to do this is to change the grid background to
gray instead of pure black, so it contrasts against either white pages
(typical of most document...It is nice to see the page grid both normally and when colors have been
recoded. The easy way to do this is to change the grid background to
gray instead of pure black, so it contrasts against either white pages
(typical of most documents) or black pages (typical recoded color).