Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
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
|
|
This reverts commit 00fad2c0d0fcdade570a08f046e85a4558f1fc0c.
and fixes https://github.com/mate-desktop/atril/issues/404
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Fixes https://github.com/mate-desktop/atril/issues/365
|
|
|
|
|
|
|
|
|
|
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;
| ^~~~
|
|
|
|
it's dead upstream for years
|
|
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
|
|
based on https://gitlab.gnome.org/GNOME/evince/commit/9edaca5b7b35bbbeeecfaf8d9291a4c092d8be91
|
|
To compile TeX with SyncTeX:
$ pdflatex -synctex=1 file.tex
|
|
$ 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
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
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
|
|
to determine window size.
Replace {Width/Hight}OfScreen which works only with X11
|
|
replace {Width/Height}OfScreen which works only with X11
inspired from:
https://gitlab.gnome.org/GNOME/evince/commit/40aa446
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|