| 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
|
|
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
|
|
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.
|
|
ev_document_model_get_page_layout ...
Signed-off-by: Oz Tiram <[email protected]>
|
|
file
|
|
|
|
This is a rather non-invasive change, that will
be easy to remove whenever we go ahead and stop
supporting older systems.
|
|
A WebKit processes should only be created when the user actually requests to open a file type requiring WebKit to be processed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
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.
|
|
|
|
|
|
Fixes https://github.com/mate-desktop/atril/issues/365
|
|
|
|
ephy-zoom-control.c:274:20: warning: variable ‘tool_item_class’ set but not used [-Wunused-but-set-variable]
274 | GtkToolItemClass *tool_item_class;
| ^~~~~~~~~~~~~~~
--
ev-window.c:1390:10: warning: variable ‘page’ set but not used [-Wunused-but-set-variable]
1390 | gint page, n_pages;
| ^~~~
|
|
replace {Width/Height}OfScreen which works only with X11
inspired from:
https://gitlab.gnome.org/GNOME/evince/commit/40aa446
|
|
|
|
|
|
|
|
See the issue report for a description of the bug. The root cause is
dereferencing of NULL pointers, specifically the priv->document member of
EvWindow structures when no document is loaded. This commit adds checks
for a NULL value of priv->document at all the points in the file
shell/ev-window.c where this pointer was previously dereferenced without
being checked.
Fixes 357 (https://github.com/mate-desktop/atril/issues/357)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Update "Documented by" in About Atril dialog
|
|
|
|
When annotating or filling a form in a document, this must be saved
as a different document as atril does not overwrite documents.
The user can expect to store the modified file in the same place
than the original document, except when the document lives in
a temporary directory (e.g. downloaded automatically with a web
browser), in whose case it must fallback to the Documents
directory (if set) or the the home directory.
Previously, atril assumed the latest directory used, or the place
where an image or attachment was stored last. Such behaviour is
confusing because the latest place opened might have no relation
with the document modified.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=767611
Adapted from https://gitlab.gnome.org/GNOME/evince/commit/319a6d49
|
|
|
|
|
|
this also disables it when no document is loaded
|
|
follow-up to 9c08159f6ce959f1aa0fc87da265854e9672365e - this action
should be disabled when e.g. a truncated pdf is loaded
|
|
otherwise atril crashes
https://bugzilla.gnome.org/show_bug.cgi?id=685591
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=b4bf316
|
|
origin commit:
https://git.gnome.org/browse/evince/commit/shell?h=gnome-3-6&id=65fa4ff
|
|
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-6&id=ba06a5e
|
|
Remove the EvLoadingWindow from libview and move the implementation to
the shell using a EvLoadingMessage widget and GtkOverlay. EvView has now
a is-loading property that allows the users to implement their own
loading notification system. This fixes several realted to the loading
window.
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=035c1cb
|