summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
7 daysWeblate migration (#690)HEADmasterOlivier Schneider76-8000/+42520
* update pot files * retrieve last transifex translations * remove empty po file * add translation coverage badge * fix invalid po files
2026-04-10libview: Account for device scale in page cache size calculationVictor Kareh1-1/+4
On HiDPI displays, rendered pages use more memory than the cache budget expects because the size calculation does not account for the device scale factor. This causes the cache to use up to 4x more memory than configured on 2x HiDPI displays.
2026-04-10Increase default page cache size to 500 MiBVictor Kareh1-1/+1
Using 50 MiB is not enough to show an A0-sized document in a HiDPI display. This bumps the page cache size to 500 MiB to provide enough headroom. This memory is not pre-allocated, it just provides a safety limit.
2026-04-10ev-window: Limit max zoom based on largest page sizeVictor Kareh1-0/+15
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.
2026-04-10ev-window: Remove unnecessary calculationVictor Kareh1-5/+1
Measuring image dimensions based on rotation is unnecessary, since the result is either w×h or h×w, which is commutative.
2026-04-10shell: Fix Max zoom in UIVictor Kareh1-1/+1
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
2026-04-10libview: Allow zooming to the limits of the scaleVictor Kareh1-6/+19
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
2026-04-10Use properties for can-zoom-in and -outVictor Kareh2-3/+79
This simplifies the logic required to enable zoom actions for consumers of the view. Backported from https://gitlab.gnome.org/GNOME/evince/-/commit/bbfbf913
2026-04-01ci: enable dvi for all distrosmbkma1-9/+0
2026-04-01fix build on gcc 15mbkma1-0/+1
2026-04-01fix memleakmbkma1-1/+1
2026-03-30fix meson helpmbkma1-2/+50
2026-03-11pdf: Always use poppler_document_save to avoid data lossGermán Poo-Caamaño1-12/+6
We used to use two methods to save a document: poppler_document_save and poppler_document_save_a_copy. The latter only saves a copy of the original document, discarding any change done (e.g. forms and annotations). However, after a document has been modified and saved, if there is no new change and the user saves the document, it will discard even the previous saved changes to preserve a copy of the original document. By only using poppler_document_save to save the content of the current document opened in Atril, to avoid data loss made between saves. https://bugzilla.gnome.org/show_bug.cgi?id=770012 Adapted from the original commit at: https://gitlab.gnome.org/GNOME/evince/-/commit/26dc2f52 Co-authored-by: Eric Park <[email protected]>
2026-02-13add .gitignore and include files in mesonmbkma2-0/+131
2026-02-13Improve search systemmbkma7-113/+919
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
2026-02-13Fix tests with AT-SPI2 >= 2.53Colomban Wendling9-44/+42
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.
2026-02-13Fix tests imported from XReaderColomban Wendling7-17/+11
2026-02-13chore(deps): bump actions/checkout from 3 to 6dependabot[bot]2-2/+2
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]>
2026-02-13chore(deps): bump actions/cache from 3 to 5dependabot[bot]1-1/+1
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]>
2026-01-29ci: remove unnecessary GH CLI installation stepmbkma1-5/+0
GitHub-hosted runners already have gh CLI pre-installed.
2025-12-24build: use shell vs bashOz Tiram1-4/+1
As bash isn't the default shell on ubuntu Signed-off-by: Oz Tiram <[email protected]>
2025-12-24build: disable DVI on fedora:latest and ubuntu:rollingOz Tiram2-1/+12
Signed-off-by: Oz Tiram <[email protected]>
2025-12-24ci: add option to clean ccacheOz Tiram1-1/+11
Signed-off-by: Oz Tiram <[email protected]>
2025-12-24fix: meson.build mathjax variable in correct scopeOz Tiram1-4/+1
Signed-off-by: Oz Tiram <[email protected]>
2025-12-24fix: meson.build define undefiend mathjax variableOz Tiram1-0/+4
Signed-off-by: Oz Tiram <[email protected]>
2025-12-24fix meson.build autodetect mathjax if epubOz Tiram1-6/+2
Signed-off-by: Oz Tiram <[email protected]>
2025-12-24fix: add mathjax to build script for arch linuxOz Tiram1-0/+1
Signed-off-by: Oz Tiram <[email protected]>
2025-12-24update NEWS for 1.28.3Oz Tiram1-0/+4
Signed-off-by: Oz Tiram <[email protected]>
2025-12-24bump version in configure.acOz Tiram1-1/+1
Signed-off-by: Oz Tiram <[email protected]>
2025-12-24bump version in meson.buildOz Tiram1-1/+1
Signed-off-by: Oz Tiram <[email protected]>
2025-12-23CI: meson and autotools use two jobsv1.28.3Xiaotian Wu3-5/+11
2025-12-23CI: Drop travis CIXiaotian Wu2-299/+0
2025-12-23CI: Try to use github actionWu Xiaotian9-0/+519
2025-12-23epub: Try and locate MathJax at configure timeColomban Wendling2-1/+21
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
2025-12-23meson: Clean up tests for EPubColomban Wendling2-27/+31
* 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.
2025-12-23Import test-ev-archive.c from XReaderColomban Wendling2-14/+130
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
2025-12-23meson: Build and install the Caja extensionColomban Wendling2-0/+37
This is controlled by the `caja` feature, which defaults to enabled.
2025-12-23meson: shell: Fix MATEDATADIRColomban Wendling1-2/+0
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.
2025-12-23meson: Replace backend boolean options with featuresColomban Wendling5-49/+36
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.
2025-12-23meson: Fix build of the Comics, DVI and Pixbuf backendsColomban Wendling4-17/+19
2025-11-05Fix meson pkg-config compatibility with configuresj3-3/+3
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.
2025-05-15meson: Fix libview GIR namespace (#638)Colomban Wendling1-1/+1
2025-05-15meson: Fix mate-desktop-2.0 dependency (#637)Colomban Wendling1-1/+1
2025-05-14Remove non-source fileColomban Wendling1-148/+0
test-driver comes from Autotools and it brought by the automatic setup, I doubt it was added on purpose.
2025-05-08ci: attempt to fix deploy with newer travis syntaxOz Tiram1-1/+1
Signed-off-by: Oz Tiram <[email protected]>
2025-04-24Release 1.28.2v1.28.2lukefromdc3-3/+38
2025-04-24Translations updatelukefromdc12-28/+33
2025-04-24epub: Disable thumbnailing sidebar.Michael Webster3-117/+14
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.
2025-04-04fix: rename all backend filesOz Tiram8-8/+8
Signed-off-by: Oz Tiram <[email protected]>
2025-04-04fix: generate dbus generated with the correct prefixOz Tiram1-7/+3
Signed-off-by: Oz Tiram <[email protected]>