| Age | Commit message (Collapse) | Author | Files | Lines |
|
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.
|
|
|
|
|
|
|
|
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.
|
|
Commit adapted for atril, picked up from:
https://gitlab.gnome.org/GNOME/evince/-/commit/c3de8e75d6d0920478af210ba19a2d94b0734917
Credits to Benjamin Berg <[email protected]>
| For large documents the linear search for the first link that is on a
| certain page is really slow. Because of this scrolling becomes slow
| whenever the page changes.
|
| Replace the linear search with a search in a binary tree populated with
| the first link on each page and the corresponding GtkTreePath. This way
| a specialized binary tree lookup can be used to find the closest
| matching link and select that in the treeview.
|
| https://bugzilla.gnome.org/show_bug.cgi?id=779614
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Fixes a runtime warning caused by
https://github.com/mate-desktop/atril/commit/70f42da
See https://github.com/mate-desktop/atril/pull/476#issuecomment-667701035
for more info.
|
|
|
|
|
|
|
|
|
|
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 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.
|
|
This reverts commit bb8194a94310dae72bcbd745cd7f0f93e8d6fad1.
Commit cases a warning when closing atril window, see
https://github.com/mate-desktop/atril/pull/431#issuecomment-576002680
for more info
|
|
ev_sidebar_thumbnails_document_changed_cb()
Clear the loading icon hash table if it already exists.
https://bugzilla.gnome.org/show_bug.cgi?id=770070
origin commit:
https://gitlab.gnome.org/GNOME/evince/commit/702c7c6
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|