| 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.
|
|
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
|
|
MATEDATADIR value is missing `prefix`, but is already properly defined
in the global C flags from the root meson.build, so we just need not to
override it incorrectly.
Also remove the LIBEXECDIR definition with is also wrong, but that is
not actually used.
|
|
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.
|
|
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]>
|
|
Mostly copy and paste from linuxmint/xreader
Signed-off-by: Oz Tiram <[email protected]>
|
|
*Put a missed instance of gdk_x11_screen_get_screen_number behind x11-only selectors
|
|
Signed-off-by: Oz Tiram <[email protected]>
|
|
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.
|
|
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]
|