| Age | Commit message (Collapse) | Author | Files | Lines |
|
Add a get_doc_handle virtual method to EvDocumentClass so the view layer
can obtain the underlying GepubDoc without depending on backend types
directly. This prepares for replacing EvWebView with GepubWidget which
needs the GepubDoc to render content.
Assisted-by: OpenCode:claude-opus-4-6
|
|
Remove the bundled minizip directory, unused includes, and the night
mode virtual methods from EvDocumentClass which are no longer called by
any code. Night mode is now handled entirely through WebKit user
stylesheets.
Assisted-by: OpenCode:claude-opus-4-6
|
|
Replace the hand-rolled EPUB parsing with libgepub. This removes the
bundled minizip library, custom XML utilities, and temporary directory
extraction in favor of GepubDoc which handles archive access, metadata,
spine navigation, and table of contents. An epub:// URI scheme handler
serves resources directly from the archive without extracting to disk.
Search and night mode are stubbed as no-ops pending follow-up commits.
Assisted-by: OpenCode:claude-opus-4-6
|
|
In dual pane mode, with a mix of landscape and portrait pages, the wrong
zoom level was getting applied to the wrong panes.
For comic book spreads with the right side page being double-wide, this
was ok. But when the left-page was double-wide, the extra zoom was
applied to the *preceeding* dual pane view (making it extra small) and
the actual wider pane got the standard zoom factor applied.
Add debug logging showing the decision being made, which uncoveres the
bug.
|
|
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
|
|
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
|
|
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.
|
|
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]>
|
|
This commit eliminates the use of external commands for opening
comic documents, and uses libarchive instead.
|
|
|
|
|
|
|
|
|
|
The g_mkdtemp function was added to glib 2.30. Remove our local copy and
use the glib one instead.
|
|
|
|
|
|
|
|
|
|
Not everyone who reads PDF's is necessarily a LaTeX user.
These changes allow users to install atril without the huge bagage
of tex-live on systems where synctex isn't provided as a stand alone
library.
|
|
GTime is defined to always be a signed 32-bit integer, it will
overflow in the year 2038.
|
|
|
|
|
|
based on https://gitlab.gnome.org/GNOME/evince/commit/9edaca5b7b35bbbeeecfaf8d9291a4c092d8be91
|
|
$ cd cut-n-paste/synctex
$ rm synctex_*
$ ./update-synctex-from-TL.sh
Test on Fedora:
1. Install required packages
$ sudo dnf install texlive-scheme-basic texlive-lipsum -y
2. Build a pdf with synctex enabled
$ cat <<EOF >> file.tex
\documentclass[12pt]{report}
\usepackage{lipsum}
\begin{document}
\chapter{Introduction}
\lipsum[2-4]
\end{document}
EOF
$ pdflatex -synctex=1 file.tex
3. Open file.pdf using atril
4. Search any text string
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
gdk_color_equal is simple enough to replace it with code inline
taken from:
https://gitlab.gnome.org/GNOME/evince/commit/1944b86
|
|
|
|
|
|
....instead of our own implementation
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-0&id=91a30f4
|
|
.... and misc_paint_one_page()
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=a610d49
|
|
Getting colors for a state different from the current state of the
corresponding widget without saving the context might trigger an
invalidation and a redraw. Because this was happening from the draw
function this resulted in a redraw loop and constant high CPU usage.
This could be triggered by selecting text or searching.
https://bugzilla.gnome.org/show_bug.cgi?id=755442
inspired by:
https://git.gnome.org/browse/evince/commit/?id=1987f04
https://github.com/linuxmint/xreader/commit/e76a18d
|
|
|
|
This commit reverts:
https://github.com/mate-desktop/atril/commit/d9fffe2dc0e33d6777099c18635b7b75f54d3d35
And it applies an alternative to fix the deprecated functions:
gdk_screen_get_width
gdk_screen_get_height
|
|
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=f72b619
|
|
There's no reason to return the EvMappingList since it can't be modified
by this function.
|
|
Needed to remove annotations from a mapping list
https://bugzilla.gnome.org/show_bug.cgi?id=649044
origin commit:
https://git.gnome.org/browse/evince/commit/?id=5aac9ac
|