summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-04-09fix previous NEWS entrymonsta1-4/+4
2018-04-09ev-view-accessible: Fix a crash in ev_view_accessible_get_linkAntia Puentes1-0/+6
Check array limits returning early if the link index is out of range. https://bugzilla.gnome.org/show_bug.cgi?id=705155 https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=7eac53f
2018-04-09disable StartPresentation action in fullscreen if document has no pagesmonsta1-0/+1
this also disables it when no document is loaded
2018-04-09disable ViewPresentation action if document has no pagesmonsta1-1/+1
follow-up to 294923b3afd7fa2232239cd3905e78ec817fa8f7 - this action should be disabled when e.g. a truncated pdf is loaded
2018-04-04Disable view presentation if there is no document.Lubos Koudelka1-0/+1
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
2018-04-04libview: Fix goto window in presentation modeCarlos Garcia Campos1-1/+2
It wasn't correctly set as modal. origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-2&id=987aab6
2018-04-03libview: Check number of pages when processing button eventsMarek Kasik1-1/+1
Check whether there are some pages in the opened document when processing button events to avoid crash. https://bugzilla.gnome.org/show_bug.cgi?id=769700 origin commit: https://git.gnome.org/browse/evince/commit/?id=f30aed7
2018-04-03libview: Check number of pages on ev_view_document_changed_cbGermán Poo-Caamaño1-2/+5
Fix crash on corrupted PDF with no pages. Thanks to Juha Kylmänen from OUSPG who were testing robutness. (CVE-2013-3718). libview: Fix warning on ev_view_document_changed_cb There was an introduction of a warning when fixing the bug https://bugzilla.gnome.org/show_bug.cgi?id=701302 If ev_view_document_changed_cb () is emitted when there is no previous document, the check fails. This patch change the order of the condition checks. origin commits: https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=62b1585 https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=5431595
2018-04-03libview: save inverted colors in a documentPiiit1-0/+3
The web-view callback for inverted colors got called, and if it did not find a web-view open it defaulted to FALSE for inverted colors. origin commit: https://github.com/linuxmint/xreader/commit/abb5060 https://github.com/linuxmint/xreader/issues/38
2018-04-03epub: allow to save epub documentsraveit651-1/+5
inspired by: https://github.com/linuxmint/xreader/commit/63a28f https://github.com/linuxmint/xreader/issues/165
2018-04-03libview: Fix shift+click text selectionmonsta1-0/+22
ported from e6672a875c89cfd81d4e54ae8b1a8a834eb6fe8b for 1.18 branch
2018-04-03libview: fix text selection with mouse in annotation windowmonsta1-23/+32
taken from: https://github.com/GNOME/evince/commit/91ac78bc587eb2ac931136c9da9609b142410209
2018-04-02libview: fix occasional black color of annotation window bordermonsta1-2/+0
and remove redundant gtk_container_set_border_width call taken from: https://github.com/GNOME/evince/commit/204d543efd35f0925b537a27c088c3d0d7a319b2
2018-04-02libview: fix annotation window focus change after creationNelson Benitez Leon1-9/+13
Be able to start entering text right after selecting or creating an annotation, also hide text cursor when window goes unfocused (backdrop state). https://bugzilla.gnome.org/show_bug.cgi?id=668446 taken from: https://git.gnome.org/browse/evince/commit/?id=fc8fe57
2018-04-02libview: Fix focus on ev_annotation_windowJosé Aliste1-21/+0
Make annotation windows always accept input focus. Based on patch by Florian Echtler. https://bugzilla.gnome.org/show_bug.cgi?id=668446 Taken from: https://git.gnome.org/browse/evince/commit/?id=24c1029
2018-04-02libview: Don't change the font color of the annotation windowCarlos Garcia Campos1-1/+0
We were using the annotation color, but it should only be used for the background of the annotation window. https://bugzilla.gnome.org/show_bug.cgi?id=677471 taken from: https://git.gnome.org/browse/evince/commit/?id=792d878
2018-04-02libview: setting annotation window icons sizesraveit651-16/+13
After a gtk update, the sizes of the icons on the annotation window (close and resize handles) are 48x48. This patch fixes this by using GtkIconTheme to force the loading of the icon on a different size than the file taken from: https://git.gnome.org/browse/evince/commit/?id=63d0b4b
2018-03-27libview: fix build without epubraveit651-2/+2
Fixes https://github.com/mate-desktop/atril/issues/308
2018-03-22release 1.18.4v1.18.4raveit652-1/+8
2018-03-22epub: fix loading epub thumbnailsMickael Albertus2-27/+27
origin commit: https://github.com/linuxmint/xreader/commit/6ed0ee1 Note: origin commit causes some serious build warnings, ......fixed.
2018-03-22epub: make minizip support more BSD variantsmonsta1-1/+1
closes https://github.com/mate-desktop/atril/issues/290 which has the original patch
2018-03-22previewer: add style class atril-previewer-windowraveit651-0/+5
Fixes https://github.com/mate-desktop/atril/issues/289
2018-03-22dvi: Mitigate command injection attacks by quoting filenameTobias Mueller1-2/+4
With commit 1fcca0b8041de0d6074d7e17fba174da36c65f99 came a DVI backend. It exports to PDF via the dvipdfm tool. It calls that tool with the filename of the currently loaded document. If that filename is cleverly crafted, it can escape the currently used manual quoting of the filename. Instead of manually quoting the filename, we use g_shell_quote. https://bugzilla.gnome.org/show_bug.cgi?id=784947 origin commit: https://git.gnome.org/browse/evince/commit/?id=350404c
2017-11-21release 1.18.3v1.18.3raveit652-1/+11
NEWS file wasn't updated with previous release ....shit happens
2017-11-20release 1.18.2v1.18.2raveit651-1/+1
2017-11-20sync with transifexraveit658-26/+28
2017-11-20libmisc: set width chars for page labelraveit651-0/+6
and use xalign fixes https://github.com/mate-desktop/atril/issues/275
2017-11-03EvPixbufCache: Handle backends that don't render a selectionOwen W. Taylor1-2/+4
Handle the case where ev_selection_render_selection() doesn't actually render a surface - this happens when a backend doesn't implement render_selection(). https://bugzilla.gnome.org/show_bug.cgi?id=723431 origin commit: https://git.gnome.org/browse/evince/commit/?id=c5a338c fixes https://github.com/mate-desktop/atril/issues/283
2017-08-15release 1.18.1v1.18.1raveit652-1/+17
2017-08-15fix runtime warnings caused by previous HDPI commitraveit653-3/+3
2017-08-15Take monitor scale factor into account when calculating zoom.Matthew Petroff5-5/+15
https://github.com/linuxmint/xreader/commit/c47a1f4
2017-08-15Add hi-dpi support for main view.Matthew Petroff3-22/+91
Based on Evince commits 8b965e769808815df9c75a10a0e4972c0904d26a and a612f809e4e23d88a661a9604ce84f332189a658. https://github.com/linuxmint/xreader/commit/4eccf6b
2017-08-15update copyright year in Caja extensionmonsta1-1/+1
2017-08-15sync with transifexraveit65105-20484/+21446
2017-08-15sidebar-thumbnails: fix unwanted move to start after fullscreenNelson Benitez Leon1-0/+20
After activating or deactivating fullscreen mode, the sidebar window is automatically moved to its start, while scroll bar stays in its original position. The sidebar window move is unwanted and unsolicited, and it's most probably caused by GtkIconView or GtkScrolledWindow bug. Workaround this by having the sidebar sync its window with the current scroll position after a fullscreen operation, do that by just emitting a "value-changed" on the current scroll adjustment. https://bugzilla.gnome.org/show_bug.cgi?id=783404 origin commit: https://git.gnome.org/browse/evince/commit/?id=2bfb8fa
2017-08-15sidebar-thumbnails: preload one extra visible range while scrollingNelson Benitez Leon1-0/+8
Preload both before and after current visible scrolling range, the same amount of thumbnails in it, to help prevent thumbnail creation happening in the user's sight. https://bugzilla.gnome.org/show_bug.cgi?id=342110#c15 origin commit: https://git.gnome.org/browse/evince/commit/?id=1fc8c68
2017-08-15sidebar-thumbnails: keep thumbnails already renderedNelson Benitez Leon1-23/+12
Evince renders thumbnails on-the-fly as they get into the scrolling visible area, but at the same time it will remove them as they get out of the visible scrolling area, so when user scrolls back to same position he will notice thumbnails be recreated. In pro of a more icing user experience, let's adopt a mixed approach and keep the thumbnails that the user has already navigated, so when he scrolls back and forth in the same area no thumbnail re-generation will be visible. This also matches behaviour with other pdf readers. https://bugzilla.gnome.org/show_bug.cgi?id=342110 origin commit: https://git.gnome.org/browse/evince/commit/?id=121e4d9
2017-08-15sidebar-thumbnails: fix clunky scrollingNelson Benitez Leon1-0/+24
Caused by GtkIconView doing an invalidate and relayout of *all* items in the view anytime we update model data in any indiviual item (which happens with all the items that are getting in and out of the scrolling area while we scroll). This caused GtkIconView to machine-gunned us with "size-allocate" signals, a signal we were using to update thumbnails when the sidebar is resized. Fixed by connecting to the GtkTreeModel "row-changed" signal before GtkIconView does it, and stop emission from there. As we don't depend now on "size-allocate" signals to show thumbnails while we scroll, just queue a draw on the icon view when a thumbnail finish rendering. Thanks Jose Aliste for first spotting the problem. https://bugzilla.gnome.org/show_bug.cgi?id=691448 origin commit: https://git.gnome.org/browse/evince/commit/?id=6480c70 Fixes https://github.com/mate-desktop/atril/issues/255
2017-08-15sidebar-layers: Make it actually usable and fix a runtime warningraveit652-0/+2
Expand the scrolled window vertical so that you can actually see the content of the widget. This also turned up a missing gtk_style_context_save () in gimpcellrenderertoggle.c. So fix that as well. partial inspired from: https://github.com/linuxmint/xreader/commit/6b6ae7f
2017-08-15libview: save changes to a dropdown in an embedded formraveit651-2/+2
This is a regression from commit https://github.com/mate-desktop/atril/commit/f8aec90 see: https://github.com/linuxmint/xreader/commit/46298df https://github.com/linuxmint/xreader/issues/12
2017-08-15ev-window: remove deprecated GtkToolbar-shadow-typeraveit651-19/+2
Whole the function fullscreen_toolbar_remove_shadow isn't needed without that deprecation. Setting instead the widget name to make theming possible. GtkToolbar-shadow-type is deprecated since gtk+-3.6
2017-08-07annotation-properties-dialog: don't use a headerbarraveit651-0/+2
Fixes https://github.com/mate-desktop/atril/issues/264
2017-07-22sync with transifexraveit6514-292/+299
2017-07-22comics: make the files containing "--checkpoint-action=" unsupportedZenWalker1-0/+6
Fixes #257
2017-05-10sync with transifexraveit65104-22322/+23924
2017-04-18update copyright year to 2017monsta1-1/+1
2017-04-18build: properly clean the generated .caja-extension filemonsta1-0/+2
2017-04-18build: require cairo >= 1.10.0 and drop some old codemonsta2-12/+1
2017-04-18Add missing comma.Baurzhan Muftakhidinov1-1/+1
2017-03-13release 1.18.0v1.18.0raveit651-2/+2