| Age | Commit message (Collapse) | Author | Files | Lines |
|
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
|
|
Backported from https://gitlab.gnome.org/GNOME/evince/-/commit/4bd88ed0
|
|
Backported from https://gitlab.gnome.org/GNOME/evince/-/commit/9b71d67e
|
|
Implementing the type and a method to create
highlight annotations.
Backported from https://gitlab.gnome.org/GNOME/evince/-/commit/53c349e8
|
|
|
|
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]>
|
|
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
|
|
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 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.
|
|
|
|
Signed-off-by: Oz Tiram <[email protected]>
|
|
Signed-off-by: Oz Tiram <[email protected]>
|
|
Signed-off-by: Oz Tiram <[email protected]>
|
|
Mostly copy and paste from linuxmint/xreader
Signed-off-by: Oz Tiram <[email protected]>
|
|
|
|
* fix a incompatible pointer type warning for gcc14
Co-authored-by: Colomban Wendling <[email protected]>
|
|
This commit also fixes an incorrect sizeof call detected by
AddressSanitizer.
Closes #599
|
|
Test each file's resolved path against the temporary directory
before extracting.
|
|
This commit eliminates the use of external commands for opening
comic documents, and uses libarchive instead.
|
|
|
|
instead of epub:id.
Add a null check as well.
ref:
https://help.apple.com/itc/booksassetguide/en.lproj/itc0f175a5b9.html#apdd3c4c6d1c0904
https://idpf.org/epub/301/spec/epub-contentdocs-20140626.html#sec-xhtml-nav
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- tab to spaces
- fix some indents
|
|
|
|
|
|
|
|
|
|
Fixes the warnings:
backend/djvu/djvu-text-page.c:46:31: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation]
g_strjoin (delimit & 2 ? "\n" :
^
backend/djvu/djvu-text-page.c:47:28: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation]
delimit & 1 ? " " : NULL,
^
|
|
Fixes the warnings:
backend/comics/comics-document.c:767:21: style: Condition 'bytes<=0' is always true [knownConditionTrueFalse]
backend/epub/minizip/unzip.c:603:25: style: Condition 'unz_copyright[0]!=' '' is always false [knownConditionTrueFalse]
properties/ev-properties-view.c:197:33: style: Condition 'text' is always true [knownConditionTrueFalse]
shell/ev-sidebar-thumbnails.c:598:7: style: Condition '!loading_icon' is always true [knownConditionTrueFalse]
shell/main.c:115:6: style: Condition '!error' is always true [knownConditionTrueFalse]
|
|
|
|
Fixes the build warnings:
ev-window.c:6379:1: warning: function 'menubar_deactivate_cb' is not needed and will not be emitted [-Wunneeded-internal-declaration]
menubar_deactivate_cb (GtkWidget *menubar,
^
epub-document.c:946:1: warning: function 'check_add_page_numbers' is not needed and will not be emitted [-Wunneeded-internal-declaration]
check_add_page_numbers(linknode *listdata, contentListNode *comparenode)
^
|
|
|
|
|
|
|
|
|
|
GTime is defined to always be a signed 32-bit integer, it will
overflow in the year 2038.
|
|
origin commit:
https://gitlab.gnome.org/GNOME/evince/commit/a182f12
|
|
|
|
The TIFFReadRGBAImageOriented function returns zero if it was unable to
read the image. Return NULL in this case instead of displaying
uninitialized memory.
This addresses CVE-2019-11459
upstream commit:
https://gitlab.gnome.org/GNOME/evince/commit/234f034a4
|
|
Apply https://gitlab.gnome.org/GNOME/evince/commit/e02fe9170ad0ac2fd46c75329c4f1d4502d4a362
|