summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-08-06prevent segfaults when no document loaded1.20Reuben Green1-29/+29
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)
2019-05-25travis: use Debian Buster which has 1.20Pablo Barciela1-1/+1
2019-05-21travis: use f28 and disable archlinuxraveit651-2/+2
2019-03-07add travis-CI supportraveit651-0/+141
2019-02-09Remove generated filesrbuj3-885/+0
2019-02-05tx: sync with fixed translations from transifexraveit65227-19463/+20678
2019-02-03tx: update resource file for transifexraveit652-154/+162
2019-02-03Add pixbuf, tiff and xps TypeDescription to POTFILES.inrbuj1-0/+3
2019-01-21move appdata to metainfo directorymonsta1-1/+1
fixes https://github.com/mate-desktop/atril/issues/292
2018-12-20comics: fix incorrect mimetype saying to open and thumbnail all rarfilesEli Schwartz2-2/+2
application/vnd.rar is for files with the .rar extension, application/vnd.comicbook-rar is the subtype for files with the .cbr extension.
2018-12-11release 1.20.3v1.20.3raveit652-1/+14
2018-12-11tx: sync with transifexraveit65241-38791/+164294
2018-12-11disable deprecation warnings for distcheckraveit651-1/+2
2018-12-05tx: fix typoraveit651-1/+1
2018-11-15Use make functions for HELP_LINGUASraveit651-1/+5
2018-11-13comics: support application/vnd.rar MIME typePablo Barciela2-2/+2
Fixes https://github.com/mate-desktop/atril/issues/341
2018-10-26shell: Save document to the same path it was opened fromGermán Poo-Caamaño1-11/+29
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
2018-10-26Reduce the chattiness of atril daemonGiovanni Campagna1-12/+13
Use g_debug instead of g_printerr for debug warnings that happen during normal operation. This way messages are suppressed, unless the G_MESSAGES_DEBUG variable is set, and we avoid filling everyone's journal with repetitive debugging info. https://bugzilla.gnome.org/show_bug.cgi?id=723972 origin commit: https://gitlab.gnome.org/GNOME/evince/commit/707725e fixes https://github.com/mate-desktop/atril/issues/315
2018-10-20EvView: Fix cursor movement when logical and visual line order differsColomban Wendling1-0/+10
Make sure not to move the caret in the wrong direction when restoring the visual line X offset, in case the visual and logical order is slightly different. The algorithm used to move the cursor on the next line and restore the X position across lines works as follows: 1. Move `cursor_offset` to the next line by incrementing it until reaching a line break; 2. Find the Y coordinate corresponding to the new cursor_offset; 3. Find the text closest to the new Y coordinate and the previous X coordinate. 4. Move cursor_offset to the text at this new (X, Y) location. The issue lies in step 3, which can find a position on a different line than expected in case several lines have a nearly the same Y position. Evince references: * https://gitlab.gnome.org/GNOME/evince/issues/889 * https://gitlab.gnome.org/GNOME/evince/merge_requests/81 * https://gitlab.gnome.org/GNOME/evince/commit/dddd98b4c7922e2906bba6a31afa07837ae6c39c
2018-10-01tx: improve makepotraveit651-0/+1
2018-09-29Update atril_start_window.pngrbuj1-0/+0
2018-09-27tx: update translation sourceraveit651-2/+2
2018-09-27moveable (older spelling) -> movablerbuj1-1/+1
2018-09-26tx: fix help link of atril user-quideraveit654-5/+5
fixes https://github.com/mate-desktop/atril/commit/1b4ce12
2018-09-18tx: add resource for transifexraveit651-0/+1141
2018-09-18tx: add atril-user-guide to transifex configraveit653-2/+13
and correct path of normal .pot file
2018-09-16Update Catalan screenshotrbuj1-0/+0
2018-06-11release 1.20.2v1.20.2raveit652-37/+54
2018-06-11sync with transifexraveit65133-28279/+89237
2018-06-11update atril.potraveit651-179/+179
2018-04-08disable StartPresentation action in fullscreen if document has no pagesmonsta1-0/+1
this also disables it when no document is loaded
2018-04-08disable ViewPresentation action if document has no pagesmonsta1-1/+1
follow-up to 9c08159f6ce959f1aa0fc87da265854e9672365e - this action should be disabled when e.g. a truncated pdf is loaded
2018-04-08libdocument: Use gdk_pixbuf_get_from_surface()Carlos Garcia Campos1-62/+4
....instead of our own implementation origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-0&id=91a30f4
2018-04-08thumbnailer: Remove unused codeChristian Persch2-31/+0
The code to overlay an icon is unused since commit https://git.gnome.org/browse/evince/commit/?id=808285c origin commit: https://git.gnome.org/browse/evince/commit/?id=171918f
2018-04-07view: Fix page background rendering while loadingCarlos Garcia Campos2-0/+10
origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=38528f9
2018-04-07libdocument: Deprecate misc_get_page_border_size()Carlos Garcia Campos1-0/+3
.... and misc_paint_one_page() origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=a610d49
2018-04-07view: Use a rendered frame instead of custom borderWilliam Jon McCann2-27/+55
So it can be styled with CSS. https://bugzilla.gnome.org/show_bug.cgi?id=653294 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=7a6b53a https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=4657961
2018-04-05a11y: Return correct start and end offsetsJason Crain1-6/+9
This modifies ev_page_accessible_get_range_for_boundary to ensure that the start and end offsets it returns are within the allowed range. https://bugzilla.gnome.org/show_bug.cgi?id=777992 origin commit: https://git.gnome.org/browse/evince/commit/?id=e95a4e3
2018-04-05a11y: Fix crash with Orca screen readerJason Crain1-1/+1
ev_page_accessible_get_substring gets called with out of bounds values leading to a crash. Clamp start_offset to a valid range. https://bugzilla.gnome.org/show_bug.cgi?id=777992 origin commit: https://git.gnome.org/browse/evince/commit/?id=b34f357
2018-04-04libview: drop deprecated unneeded coderaveit651-3/+0
inspired by: https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=a56186e
2018-04-04ev-loading-message: Remove unused variablesCarlos Garcia Campos1-4/+1
origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=3fd4162
2018-04-02libview: fix text selection with mouse in annotation windowmonsta1-23/+32
taken from: https://github.com/GNOME/evince/commit/91ac78bc587eb2ac931136c9da9609b142410209
2018-03-27libview: fix build without epubraveit651-2/+2
Fixes https://github.com/mate-desktop/atril/issues/308
2018-03-26release 1.20.1v1.20.1raveit652-1/+40
2018-03-26shell: Don't dist generated filesChristian Persch1-2/+1
2018-03-26Disable 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-03-26Allow changing the page of a presentationWilliam Jon McCann1-3/+24
https://bugzilla.gnome.org/show_bug.cgi?id=693749 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=53d6a3
2018-03-26libview: 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-03-26libview: avoid deprecated gdk_screen_get_monitorraveit651-4/+4
....in ev-view-presentation This was introduced again in previous commit.
2018-03-26EvPresentationView: Render correctly on hi-dpi displaysOwen W. Taylor1-13/+48
Create rendering jobs with a scale that incorporate the scale factor of the widget, and then use cairo_surface_set_device_scale() to make the resulting surfaces render at the correct size. Handle changes to the scale factor both for the cached surfaces, and also for the monitor dimensions, which are reported in scaled coordinates. https://bugzilla.gnome.org/show_bug.cgi?id=723431 origin commit: https://git.gnome.org/browse/evince/commit/?id=37c13b