summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-01-19Revert "Fix memory leak in ev_sidebar_thumbnails_document_changed_cb()"raveit651-8/+4
This reverts commit bb8194a94310dae72bcbd745cd7f0f93e8d6fad1. Commit cases a warning when closing atril window, see https://github.com/mate-desktop/atril/pull/431#issuecomment-576002680 for more info
2020-01-19tx: pull fixed Spanish translationraveit651-3/+3
2020-01-19tx: sync with transifexraveit65229-63436/+58281
2020-01-18Fix atril.desktop filerbuj1-2/+2
Test: $ sudo update-desktop-database /usr/share/applications Diff: $ ./autogen --prefix=/usr && make $ cp data/atril.desktop data/atril.desktop.old (changes) $ ./autogen --prefix=/usr && make $ diff data/atril.desktop.old data/atril.desktop 229c229 < X-MATE-Bugzilla-Version=@VERSION@ --- > X-MATE-Bugzilla-Version=1.23.1 233c233 < MimeType=@ATRIL_MIME_TYPES@ --- > MimeType=application/pdf;application/x-bzpdf;application/x-gzpdf;application/x-xzpdf;application/postscript;application/x-bzpostscript;application/x-gzpostscript;image/x-eps;image/x-bzeps;image/x-gzeps;application/x-dvi;application/x-bzdvi;application/x-gzdvi;image/vnd.djvu;image/vnd.djvu+multipage;image/tiff;application/x-cbr;application/x-cbz;application/x-cb7;application/x-cbt;application/vnd.comicbook+zip;application/vnd-comicbook.rar;application/oxps;application/vnd.ms-xpsdocument;application/epub+zip;
2020-01-15Fix memory leak inEric R. Schulz1-4/+8
ev_sidebar_thumbnails_document_changed_cb() Clear the loading icon hash table if it already exists. https://bugzilla.gnome.org/show_bug.cgi?id=770070 origin commit: https://gitlab.gnome.org/GNOME/evince/commit/702c7c6
2020-01-15pdf: Fix memory leak when adding new text annotationsCarlos Garcia Campos1-1/+1
origin commit: https://gitlab.gnome.org/GNOME/evince/commit/a182f12
2020-01-10tx: update resource fileraveit652-32/+33
2020-01-10Update Copyright yearraveit652-2/+2
2019-12-08libview: fixing memory leakGiselle Reis1-22/+21
The memory leak was caused by a g_signal_connect which was never disconnected. This patch makes sure the signal is disconnected and the job is cancelled before creating another rendering job. It additionally introduces a helper function to cleanly finalize the job. origin commit: https://gitlab.gnome.org/GNOME/evince/commit/939c434
2019-12-08Revert "First page should not reloaded"raveit652-6/+5
This reverts commit 00fad2c0d0fcdade570a08f046e85a4558f1fc0c. and fixes https://github.com/mate-desktop/atril/issues/404
2019-11-30Travis CI: add '-Wredundant-decls' to 'CFLAGS' variablePablo Barciela1-1/+1
2019-11-28avoid redundant redeclarationsPablo Barciela18-79/+0
2019-11-24travis ci: use fedora:latestraveit651-1/+1
2019-11-23libview: Reset `pressed_button` when starting Drag and DropMartin Wimpress1-0/+2
If view->pressed_button is left set, when the Drag and Drop operation completes, Atril will act as if it is still in a selection event. Adapted from: https://gitlab.gnome.org/GNOME/evince/commit/92828bb797742e04aadbfdd62ba1da36837c37cf
2019-11-11show SyncTeX version in about dialogPablo Barciela3-3/+5
2019-11-11tx: add fixes to makepot scriptraveit651-0/+1
2019-11-11tx: update resource for transifexraveit651-500/+456
2019-11-11add hint for translatorsWu Xiaotian2-0/+3
2019-11-11ci: remove patch for debianWu Xiaotian1-4/+0
2019-11-11ci: add autopointWu Xiaotian1-3/+2
2019-11-11migrate from intltool to gettextWu Xiaotian27-87/+161
2019-11-08tx: sync with transifexPablo Barciela140-27982/+28062
2019-10-09Added accelerator 'o' for toggling Odd Pages Left.A. Palsson1-1/+1
Fixes https://github.com/mate-desktop/atril/issues/365
2019-10-06Travis CI: use Debian "testing" instead "sid"Pablo Barciela1-1/+1
2019-10-05travis(ci): enable notify_serversraveit651-0/+2
2019-09-10Added accelerator 't' for toggling visibility of the toolbar.A. Palsson1-1/+1
2019-09-08remove 'synctex' internally, work with external library insteadPablo Barciela14-11057/+5
2019-09-06remove -Wunused-but-set-variable warningrbuj2-4/+1
ephy-zoom-control.c:274:20: warning: variable ‘tool_item_class’ set but not used [-Wunused-but-set-variable] 274 | GtkToolItemClass *tool_item_class; | ^~~~~~~~~~~~~~~ -- ev-window.c:1390:10: warning: variable ‘page’ set but not used [-Wunused-but-set-variable] 1390 | gint page, n_pages; | ^~~~
2019-08-31build: require webkit2gtk-4.0 >= 2.6.0monsta1-1/+1
2019-08-31build: drop fallback check for webkit2gtk-3.0monsta1-5/+0
it's dead upstream for years
2019-08-29End the va_list before returning from _synctex_merge_stringsQuipyowert21-0/+2
This adds a va_end() call to _synctex_merge_strings in two places where it would return without ending the va_list first. https://github.com/jlaurens/synctex/commit/44b860175da10d08830b551f59592e548fe19718
2019-08-29build: Use synctex system library if availablerbuj3-3/+23
based on https://gitlab.gnome.org/GNOME/evince/commit/9edaca5b7b35bbbeeecfaf8d9291a4c092d8be91
2019-08-29Remove synctex warningrbuj1-0/+2
To compile TeX with SyncTeX: $ pdflatex -synctex=1 file.tex
2019-08-29Bump synctex to 1.21rbuj12-4370/+9894
$ cd cut-n-paste/synctex $ rm synctex_* $ ./update-synctex-from-TL.sh Test on Fedora: 1. Install required packages $ sudo dnf install texlive-scheme-basic texlive-lipsum -y 2. Build a pdf with synctex enabled $ cat <<EOF >> file.tex \documentclass[12pt]{report} \usepackage{lipsum} \begin{document} \chapter{Introduction} \lipsum[2-4] \end{document} EOF $ pdflatex -synctex=1 file.tex 3. Open file.pdf using atril 4. Search any text string
2019-08-26Travis CI: clang: -enable-checker alpha.deadcode.UnreachableCodePablo Barciela1-0/+1
2019-08-26tx: fixed greek translation for user guideraveit652-233/+234
2019-08-23release 1.23.1v1.23.1raveit652-1/+64
2019-08-23tx: sync with transifexraveit65117-761/+1197
2019-08-23tx: update resource for transifexraveit651-226/+226
2019-08-22Travis CI: 'cppcheck' with '-D__cplusplus'Pablo Barciela1-2/+2
To force the analyse of all the files Fixes the warnings: [backend/dvi/mdvi-lib/afmparse.c:0]: (information) This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details. [backend/dvi/mdvi-lib/bitmap.c:0]: (information) This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details. [backend/dvi/mdvi-lib/color.c:0]: (information) This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details. [backend/dvi/mdvi-lib/common.c:0]: (information) This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details. [backend/dvi/mdvi-lib/dviread.c:0]: (information) This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details. [backend/dvi/mdvi-lib/files.c:0]: (information) This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details. [backend/dvi/mdvi-lib/font.c:0]: (information) This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details. [backend/dvi/mdvi-lib/fontmap.c:0]: (information) This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details. [backend/dvi/mdvi-lib/fontsrch.c:0]: (information) This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details. [backend/dvi/mdvi-lib/gf.c:0]: (information) This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details. [backend/dvi/mdvi-lib/hash.c:0]: (information) This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details. [backend/dvi/mdvi-lib/list.c:0]: (information) This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details. [backend/dvi/mdvi-lib/pagesel.c:0]: (information) This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details. [backend/dvi/mdvi-lib/paper.c:0]: (information) This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details. [backend/dvi/mdvi-lib/pk.c:0]: (information) This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details. [backend/dvi/mdvi-lib/setup.c:0]: (information) This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details. [backend/dvi/mdvi-lib/sp-epsf.c:0]: (information) This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details. [backend/dvi/mdvi-lib/special.c:0]: (information) This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details. [backend/dvi/mdvi-lib/t1.c:0]: (information) This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details. [backend/dvi/mdvi-lib/tfm.c:0]: (information) This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details. [backend/dvi/mdvi-lib/tfmfile.c:0]: (information) This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details. [backend/dvi/mdvi-lib/tt.c:0]: (information) This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details. [backend/dvi/mdvi-lib/util.c:0]: (information) This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details. [backend/dvi/mdvi-lib/vf.c:0]: (information) This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details.
2019-08-21ev-view: Remove unused variables and assignmentrbuj1-3/+0
2019-08-20ev-page-action: avoid 'g_type_class_add_private'Pablo Barciela1-6/+2
2019-08-20tiff: Handle failure from TIFFReadRGBAImageOrientedVictor Kareh1-9/+17
The TIFFReadRGBAImageOriented function returns zero if it was unable to read the image. Return NULL in this case instead of displaying uninitialized memory. This addresses CVE-2019-11459 upstream commit: https://gitlab.gnome.org/GNOME/evince/commit/234f034a4
2019-08-19view-presentation: Use monitor instead of screenraveit651-4/+30
to determine window size. Replace {Width/Hight}OfScreen which works only with X11
2019-08-19shell: Use monitor instead of screen to determine window sizeraveit651-5/+31
replace {Width/Height}OfScreen which works only with X11 inspired from: https://gitlab.gnome.org/GNOME/evince/commit/40aa446
2019-08-16ev-link: avoid 'g_type_class_add_private'Pablo Barciela1-7/+2
2019-08-16ev-document: avoid 'g_type_class_add_private'Pablo Barciela1-6/+2
2019-08-16ev-link-action: avoid 'g_type_class_add_private'Pablo Barciela1-7/+2
2019-08-16ev-attachment: avoid 'g_type_class_add_private'Pablo Barciela1-7/+2
2019-08-16ev-image: avoid 'g_type_class_add_private'Pablo Barciela1-7/+2