summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-08-06prevent segfaults when no document loadedReuben Green1-31/+32
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-07-28Fix buffer overflow in backend/tiff-document.clukefromdc1-7/+10
Apply https://gitlab.gnome.org/GNOME/evince/commit/e02fe9170ad0ac2fd46c75329c4f1d4502d4a362
2019-05-21travis: use fedora-30 and ubuntu-19.04 for buildingraveit651-2/+2
2019-04-22release 1.22.1v1.22.1raveit652-1/+10
2019-04-22tx: sync with transifexraveit65227-27341/+28684
2019-04-22tx: update resource fileraveit651-2/+2
2019-03-26github release for stable branchraveit651-0/+19
2019-03-23help: update copyrightraveit651-1/+1
2019-03-22tx: update resource fileraveit652-12/+20
2019-03-22Add documenters to translation resourcerbuj1-2/+2
2019-03-22Use program-name and title in gtk_show_about_dialog callrbuj1-1/+2
2019-03-22Update copyright in about dialogrbuj1-2/+2
2019-03-22Use g_strjoin to build license text in about dialogrbuj1-5/+4
2019-03-15tx: update translation sourcerbuj1-193/+201
2019-03-11tx: update transifex configraveit651-2/+2
2019-02-25release 1.22.0v1.22.0raveit652-2/+22
2019-02-25tx: sync with transifexraveit6515-31/+39
2019-02-18Add update-authors.pl script which helps to update atril.aboutrbuj1-0/+71
2019-02-18Read authors (updated) from atril.about gresourcerbuj4-21/+32
2019-02-17Enable Travis CI for all branchesWu Xiaotian1-6/+0
2019-02-17Initialize Travis CI supportWu Xiaotian1-0/+147
2019-02-14Update Documentersrbuj1-1/+2
Update "Documented by" in About Atril dialog
2019-02-08Remove generated filesrbuj3-885/+0
2019-02-05Tx: sync with fixed translations from transifexraveit6532-607/+1081
2019-02-04[ephy-zoom-control] Avoid deprecated g_type_class_add_privateWu Xiaotian1-7/+2
2019-02-04[ephy-zoom-action] Avoid deprecated g_type_class_add_privateWu Xiaotian1-6/+2
2019-02-01Add pixbuf, tiff and xps TypeDescription to POTFILES.inrbuj1-0/+3
2019-01-22eggsmclient: avoid deprecated 'g_type_class_add_private'Pablo Barciela1-6/+2
2019-01-21move appdata to metainfo directorymonsta1-1/+1
fixes https://github.com/mate-desktop/atril/issues/292
2019-01-21message-area: set a11y object name from actual icon namemonsta1-5/+2
2019-01-21shell: remove duplicate condition checkmonsta1-1/+0
2019-01-21tiff: fix possible NULL pointer dereferencemonsta1-1/+2
2019-01-21pdf: add missing break statementmonsta1-0/+1
2019-01-21libdocument: drop useless freeing of NULL pointermonsta1-2/+0
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-11disable deprecation warnings for distcheckraveit651-1/+2
2018-12-05tx: fix typoraveit651-1/+1
2018-11-15release 1.21.1v1.21.1raveit652-37/+71
2018-11-15tx: sync with transfexraveit65241-39327/+164593
2018-11-15Use make functions for HELP_LINGUASraveit651-1/+5
2018-11-07comics: 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-25Reduce 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-27Update 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 to atril user-guideraveit654-5/+5
fixes https://github.com/mate-desktop/atril/commit/e6322d0
2018-09-18tx: add atril-user-guide to transifex configraveit654-2/+1154