| Age | Commit message (Collapse) | Author | Files | Lines |
|
Cairo surfaces have a limit of 32767px in any dimension, so we make sure
that we don't end up zooming in past the point where the rendered
surface is larger than that limit.
|
|
Measuring image dimensions based on rotation is unnecessary, since the
result is either w×h or h×w, which is commutative.
|
|
The EphyZoom widget uses logical zoom (eg. 100%) while the libview widget uses
physical zoom, that is if logical zoom is 100% then scale will be 100%*dpi/72.0.
Backported from https://gitlab.gnome.org/GNOME/evince/-/commit/0a0a2d8c
|
|
If the current zoom level was within one zoom factor of the limit, it
was not possible to scroll towards the limit. This made smooth scrolling
near the limit awkward, as unless the scroll event had a large delta it
was impossible to reach the zoom limit. Non-smooth scrolling was also
affected, but it was just much more difficult to trigger.
Fix this by allowing zooming while the current zoom level is within one
zoom factor of the limit. Add a new ev_view_can_zoom() function to make
zooming by a factor (as with smooth scrolling) more convenient.
Backported from https://gitlab.gnome.org/GNOME/evince/-/commit/6d299b69
|
|
This simplifies the logic required to enable zoom actions for
consumers of the view.
Backported from https://gitlab.gnome.org/GNOME/evince/-/commit/bbfbf913
|
|
|
|
shell: Add EvFindSidebar widget to show search results
see https://gitlab.gnome.org/GNOME/evince/-/commit/940ce8048e4fc6503dca03c1ce090ff4a11dface
eggfindbar: don't close the findbar when it loses the focus
see https://gitlab.gnome.org/GNOME/evince/-/commit/a2d781fb124bd19861035fd41dacc976e00d19ef
shell: Add the findbar to the main box instead of the view box
libview: Add ev_view_find_set_result
|
|
Role name for push buttons changed from "push button" to "button" for
uniformizing APIs, but that means the names Dogtail use have to match,
as it's not using the role IDs but names.
Fix this by trying to ask AT-SPI2 for the name, and falling back on the
historical name in the odd case it'd fail.
|
|
|
|
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v6)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <[email protected]>
|
|
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 5.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3...v5)
---
updated-dependencies:
- dependency-name: actions/cache
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <[email protected]>
|
|
GitHub-hosted runners already have gh CLI pre-installed.
|
|
As bash isn't the default shell on ubuntu
Signed-off-by: Oz Tiram <[email protected]>
|
|
Signed-off-by: Oz Tiram <[email protected]>
|
|
Signed-off-by: Oz Tiram <[email protected]>
|
|
Signed-off-by: Oz Tiram <[email protected]>
|
|
Signed-off-by: Oz Tiram <[email protected]>
|
|
Signed-off-by: Oz Tiram <[email protected]>
|
|
Signed-off-by: Oz Tiram <[email protected]>
|
|
Signed-off-by: Oz Tiram <[email protected]>
|
|
Signed-off-by: Oz Tiram <[email protected]>
|
|
Signed-off-by: Oz Tiram <[email protected]>
|
|
|
|
|
|
|
|
Based on an XReader change[1], look up the MathJax source at configure
time for better portability. If not specified manually, look in the
common locations.
This adds the --with-mathjax-directory=DIR configure option to manually
specify the location, overriding the automatic discovery.
The Meson part already exists, although was not used by the code.
[1]: https://github.com/linuxmint/xreader/commit/9c6f363ad47f33b290d270489e50f7ad6071987a
|
|
* Properly require WebKit for the EPub backend, instead of it being an
optional dependency.
* Merge EPub tests together to simplify things.
* Make MathJax optional, as it always has been. If missing, MathML will
likely not display properly, but it's probably not that big of a deal
as it's not the only use case for the EPub backend. If not found at
setup time, use the historical default as fallback, in case it gets
installed later.
Note that all this MathJax stuff is currently unused, because the code
has not been adjusted to make use of this check's results.
|
|
Import test source from XReader[1]. This is not as useful as it might
seem as it's not a unit test, but it's still nice to have an easy way
to manually test this code, and reduces differences with XReader,
especially in the Meson build system.
[1] https://github.com/linuxmint/xreader/blob/master/backend/comics/test-ev-archive.c
|
|
This is controlled by the `caja` feature, which defaults to enabled.
|
|
MATEDATADIR value is missing `prefix`, but is already properly defined
in the global C flags from the root meson.build, so we just need not to
override it incorrectly.
Also remove the LIBEXECDIR definition with is also wrong, but that is
not actually used.
|
|
This allows enabling the backend automatically depending on whether the
dependencies are satisfied or not, like Autotool's counterpart.
By default, the PDF backend is force-enabled and the Pixbuf backend is
disabled, as with Autotools.
|
|
|
|
pkg-config input files set -latrilview etc. but the library outputs
created were libview.so, so any project that used pkg-config was broken,
not to mention that the file itself also got renamed from its previous
value and pkg-config wouldn't find it anymore.
|
|
|
|
|
|
test-driver comes from Autotools and it brought by the automatic setup,
I doubt it was added on purpose.
|
|
Signed-off-by: Oz Tiram <[email protected]>
|
|
|
|
|
|
A recent update to libwebkitgtk2gtk-4.1 breaks using WebKitWebView
in a GtkOffscreenWindow.
Disable the thumbnail sidebar with epub documents, and disable
updating the GtkWindow thumbnail.
ref:
https://github.com/WebKit/WebKit/commit/8d7385fad3ffb31d0c438e6b6a50dffb4390840c
Fixes: #631.
|
|
Signed-off-by: Oz Tiram <[email protected]>
|
|
Signed-off-by: Oz Tiram <[email protected]>
|
|
Signed-off-by: Oz Tiram <[email protected]>
|
|
Signed-off-by: Oz Tiram <[email protected]>
|
|
Signed-off-by: Oz Tiram <[email protected]>
|
|
Signed-off-by: Oz Tiram <[email protected]>
|
|
Signed-off-by: Oz Tiram <[email protected]>
|
|
Signed-off-by: Oz Tiram <[email protected]>
|
|
Signed-off-by: Oz Tiram <[email protected]>
|
|
Signed-off-by: Oz Tiram <[email protected]>
|