summaryrefslogtreecommitdiff
path: root/shell
AgeCommit message (Collapse)AuthorFilesLines
3 daysev-application: Quote user-supplied strings in ev_spawn command lineVictor Kareh1-7/+13
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.
2026-04-10ev-window: Limit max zoom based on largest page sizeVictor Kareh1-0/+15
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.
2026-04-10ev-window: Remove unnecessary calculationVictor Kareh1-5/+1
Measuring image dimensions based on rotation is unnecessary, since the result is either w×h or h×w, which is commutative.
2026-04-10shell: Fix Max zoom in UIVictor Kareh1-1/+1
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
2026-04-01fix memleakmbkma1-1/+1
2026-02-13add .gitignore and include files in mesonmbkma1-0/+2
2026-02-13Improve search systemmbkma5-113/+908
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
2025-12-23meson: shell: Fix MATEDATADIRColomban Wendling1-2/+0
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.
2025-04-24epub: Disable thumbnailing sidebar.Michael Webster2-2/+7
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.
2025-04-04fix: generate dbus generated with the correct prefixOz Tiram1-7/+3
Signed-off-by: Oz Tiram <[email protected]>
2025-04-04fix: building atrild with explicit sourcesOz Tiram1-9/+7
Signed-off-by: Oz Tiram <[email protected]>
2025-04-04fix: building atril targetOz Tiram1-23/+23
Signed-off-by: Oz Tiram <[email protected]>
2025-04-04fix: shell/meson.build missing filesOz Tiram1-0/+2
Signed-off-by: Oz Tiram <[email protected]>
2025-04-04fix: correct dependeny on mate-submodulesOz Tiram1-1/+1
Signed-off-by: Oz Tiram <[email protected]>
2025-04-04fix all build errors with mesonOz Tiram1-23/+56
Signed-off-by: Oz Tiram <[email protected]>
2025-04-04fix more build errorsOz Tiram1-0/+1
Signed-off-by: Oz Tiram <[email protected]>
2025-04-04fix: remove non existing source in shell/Oz Tiram1-8/+0
Signed-off-by: Oz Tiram <[email protected]>
2025-04-04fix: use mate-submodules correctlyOz Tiram1-1/+1
Signed-off-by: Oz Tiram <[email protected]>
2025-04-04Initial support for mesonOz Tiram1-0/+146
Mostly copy and paste from linuxmint/xreader Signed-off-by: Oz Tiram <[email protected]>
2025-03-31Wayland: stop segfaults on some systemslukefromdc1-3/+11
*Put a missed instance of gdk_x11_screen_get_screen_number behind x11-only selectors
2025-03-31replace deprecated gtk_menu_tool_button_new_from_stockOz Tiram1-1/+3
Signed-off-by: Oz Tiram <[email protected]>
2025-03-31replace ev_document_model_get_dual_page withOz Tiram1-4/+4
ev_document_model_get_page_layout ... Signed-off-by: Oz Tiram <[email protected]>
2023-10-02replace deprecated gtk_image_menu_item_new_from_stockraveit651-2/+6
2023-10-02replace deprecated gtk-image-menu-itemraveit652-2/+6
2023-10-01Remove compilation warnings and set 'always_show_image' Properties in the UI ↵zhuyaliang2-9/+2
file
2022-02-11Fix implicit conversion changes signedness: 'gboolean' to 'guint'rbuj1-1/+1
2022-01-09Fix the type for the signal identifier which is gulongrbuj2-6/+6
2022-01-02Don't build the path to stock iconsrbuj1-1/+0
2021-11-20Use a blank line at mostrbuj25-42/+0
2021-11-20Accessibility: add button descriptionValentin Villenave1-0/+3
2021-11-12Preserve compatibility with older GLib versionsValentin Villenave1-0/+13
This is a rather non-invasive change, that will be easy to remove whenever we go ahead and stop supporting older systems.
2021-07-10ev-window.c: only create a EvWebView if neededmbkma1-3/+10
A WebKit processes should only be created when the user actually requests to open a file type requiring WebKit to be processed.
2021-06-15ev-sidebar-links: Optimize reverse link lookup for a pageChristoph Fritz1-59/+80
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
2021-04-01ev-window: missing initializer for a field of ‘GtkActionEntry’rbuj1-6/+6
2021-02-10i18n: use g_dngettext instead of ngettextrbuj1-13/+18
2021-02-10build: allow users to disable gettext support (--disable-nls)rbuj1-1/+3
2021-02-05build: Use PACKAGE_URL variablerbuj1-1/+1
2021-01-16Update copyright to 2021rbuj1-1/+1
2020-12-11Support non-X11 windowing systemswb96882-8/+10
2020-12-09build: remove legacy variable MATEICONDIRrbuj1-1/+0
2020-08-31ev-window: fix interval (guint milliseconds) in g_timeout_add_fullrbuj1-1/+1
2020-08-28ev-sidebar-attachments: do not add add a Gtk_Containerraveit651-2/+1
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.
2020-08-16Remove unused macrosPablo Barciela2-8/+0
2020-07-27Change spaces to tabScott Balneaves1-1/+1
2020-07-27Make sure attachments window fills entire sidebarScott Balneaves1-0/+1
2020-07-10ev-properties-dialog: Add on_notebook_scroll_eventrbuj1-0/+64
2020-06-18Make synctex optionalOz Tiram1-0/+5
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.
2020-06-07use git submodule for cut-n-paste/smclientWu Xiaotian1-2/+2
2020-04-21ev-window: expand the comment on about dialogrbuj1-5/+4
2020-04-15Fix cppcheck [knownConditionTrueFalse] warningsPablo Barciela2-23/+13
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]