| Age | Commit message (Collapse) | Author | Files | Lines |
|
The sidebar settings were ignored when opening documents on systems
without GVFS metadata support.
Now when metadata is not available, we use whatever is in gsettings, and
when metadata is available, we respect the per-document state.
Fixes #163
|
|
Underline icon is used for squiggly annotations in the sidebar.
Backported from https://gitlab.gnome.org/GNOME/evince/-/commit/9f790bed
|
|
This adds support to the pdf backend for loading and saving
text markup annotations of subtype Squiggly.
Backported from https://gitlab.gnome.org/GNOME/evince/-/commit/5702e401
|
|
This adds the type to libdocument, as well as a method
to create such annotations.
Backported from https://gitlab.gnome.org/GNOME/evince/-/commit/81c268b8
|
|
Backported from https://gitlab.gnome.org/GNOME/evince/-/commit/4bd88ed0
|
|
Backported from https://gitlab.gnome.org/GNOME/evince/-/commit/9b71d67e
|
|
And a type property for the different kinds of text markup annotations
Backported from https://gitlab.gnome.org/GNOME/evince/-/commit/28e04b43
|
|
Backported from https://gitlab.gnome.org/GNOME/evince/-/commit/18595cc3
|
|
Implementing the type and a method to create
highlight annotations.
Backported from https://gitlab.gnome.org/GNOME/evince/-/commit/53c349e8
|
|
Implementing the type and a method to create
highlight annotations.
Backported from https://gitlab.gnome.org/GNOME/evince/-/commit/6a6135d8
|
|
Implementing the (trivial) class
EvAnnotationTextMarkup and fixing a typo.
Backported from https://gitlab.gnome.org/GNOME/evince/-/commit/714c34dc
|
|
this prevent weblate processing
|
|
cmn is same as zh_cn
es_ES is same as es
|
|
|
|
|
|
When spawning a new atril instance for cross-document links, the
destination and search parameters from the document were interpolated
directly into the command line without shell quoting. Values containing
spaces or special characters could be split into separate arguments by
the shell parser, potentially being interpreted as unintended flags by
the child process.
Apply shell quoting to page label, named destination, and search string
values before appending them to the command line, consistent with how
other spawn sites in the codebase already handle this.
|
|
* update pot files
* retrieve last transifex translations
* remove empty po file
* add translation coverage badge
* fix invalid po files
|
|
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.
|
|
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.
|
|
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
|
|
|
|
|
|
|
|
|
|
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]>
|
|
|
|
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
|