summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-12-18Fix crash for epubs when accessibility is enabledAndrey Gursky1-0/+11
Once epub support has been implemented, atril crashes with all epubs. Backtrace for 1.10.2+repack1-1 (Debian Stretch): Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffd26d2700 (LWP 22276)] 0x0000000000000000 in ?? () (gdb) bt #0 0x0000000000000000 in () #1 0x00007ffff755914e in ev_job_page_data_run (job=0x9e3850 [EvJobPageData]) at ev-jobs.c:762 #2 0x00007ffff755a85a in ev_job_thread_proxy (job=0x9e3850 [EvJobPageData]) at ev-job-scheduler.c:184 #3 0x00007ffff755a85a in ev_job_thread_proxy (data=<optimized out>) at ev-job-scheduler.c:217 #4 0x00007ffff14e1955 in g_thread_proxy (data=0x7fff84002280) at /build/glib2.0-VKSJTv/glib2.0-2.46.1/./glib/gthread.c:778 #5 0x00007ffff08690a4 in start_thread (arg=0x7fffd26d2700) at pthread_create.c:309 #6 0x00007ffff059e06d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 (gdb) It turns out it couldn't really work since one function pointer is uninitialized. But nobody complained. Thus I investigated it further, why it fails only for me. First, I tried a gtk3 version. And it works properly, but the broken code is not hit at all. Due to the threaded design, it was harder to figure out, why. Here is the code path: --> ev_window_load_job_cb (shell/ev-window.c) --> ev_document_model_set_document (libview/ev-document-model.c) --> ev_view_document_changed_cb (libview/ev-view.c) --> setup_caches (libview/ev-view.c) --> if (ev_view_is_a11y_enabled (view)) { ev_page_cache_set_flags(); } ev_page_cache_set_flags (libview/ev-page-cache.c) --> ev_page_cache_set_page_range (libview/ev-page-cache.c) --> data->job = ev_job_page_data_new (cache->document, i, flags); ... ev_job_scheduler_push_job (data->job, EV_JOB_PRIORITY_NONE); ... --> ev_job_thread_proxy (libview/ev-job-scheduler.c) --> ev_job_page_data_run (libview/ev-jobs.c) --> ev_document_links_get_links (libdocument/ev-document-links.c) --> EvDocumentLinksInterface *iface = EV_DOCUMENT_LINKS_GET_IFACE (document_links); return iface->get_links (document_links, page); (get_links == NULL) --> crash As one can see it depends on the accessibility. And it is enabled on my box. It can be reproduced with gsettings set org.mate.interface accessibility true (mate logout and login) Why the enabled accessibility is not discovered by the gtk3 version is another story. My question [1] was motivated by this. [1] https://github.com/mate-desktop/atril/issues/171
2015-11-29Bump version to 1.12.1v1.12.1Monsta2-1/+7
2015-11-20Updated translationsClement Lefebvre22-823/+8695
2015-11-05Merge pull request #169 from mate-desktop/oopsMartin Wimpress1-1/+1
dvi: fix crash due to regression
2015-11-05dvi: fix crash due to regressionmonsta1-1/+1
fixes https://github.com/mate-desktop/atril/issues/164 regression has been introduced in https://github.com/mate-desktop/atril/commit/94dcb761b95ee54ef1f1512d59721932d75ffb7f
2015-11-02release 1.12.0v1.12.0atril-1.12.0Wolfgang Ulbrich1-1/+1
2015-11-01Sync translations with transifexmate-i18n89-14579/+18236
2015-10-30update NEWS for 1.12monsta1-2/+2
2015-10-14release 1.11.0atril-1.11.0raveit651-0/+1
2015-09-30Drop dependency to mate-icon-themeraveit651-2/+1
The dependency is not really needed; depending on GTK+ should be enough to guarantee the presence of a spec-compliant icon theme. Atril ships all needed icons as a fallback if another theme is used.
2015-09-28update NEWS for 1.11.0Monsta1-0/+17
2015-09-28configure.ac: bump version to 1.11.0Monsta1-2/+2
2015-09-23Merge pull request #160 from monsta/mathjaxMartin Wimpress258-4524/+2
epub: drop embedded MathJax in favor of using distro-packaged one
2015-09-10epub: drop embedded MathJax in favor of using distro-packaged onemonsta258-4524/+2
closes https://github.com/mate-desktop/atril/issues/158
2015-09-06Retrieve strings directly from gschemainfirit3-8/+5
intltool 0.5.1 has support for gsettings schemas.
2015-09-05Fix POTFILES for gsettings schemainfirit1-1/+1
2015-09-04Merge pull request #156 from monsta/stuffStefano Karapetsas7-21/+4
some minor cleanup (mostly from upstream)
2015-09-02comics: Fix -Wold-style-declaration warningChristian Persch1-1/+1
2015-09-02xps: Remove extra call to gxps_link_get_area()Carlos Garcia Campos1-1/+0
2015-09-02pdf: remove unused variablesHib Eris1-12/+2
2015-09-02pdf: remove unused variableHib Eris1-1/+0
2015-09-02Remove unused variables from mdvi-libHib Eris3-6/+1
2015-09-02libview: removed 'x' attribute from a header filemonsta1-0/+0
2015-08-31configure.ac: drop obsolete macromonsta1-3/+0
It's been a no-op for a long time. See https://mail.gnome.org/archives/commits-list/2011-December/msg00681.html for example.
2015-08-31configure: properly show "epub backend: no" in summary if it's offinfirit1-1/+1
Thanks to @monsta for reporting the problem.
2015-08-31made --page-index command line option actually workmonsta1-1/+1
that logic error was completely ridiculous
2015-08-31corrected code for --page-index and --page-label command line optionsmonsta1-32/+48
partially taken from https://git.gnome.org/browse/evince/commit/?id=26c0109e67aa02fb0e58b2580a6df41363c78bd5
2015-08-31make sure findbar is visible when using --find command line optionmonsta1-11/+12
from https://git.gnome.org/browse/evince/commit/?id=a11159d1b8ea994271b26b5c60083c0b07c1722d
2015-08-31don't show findbar in presentation mode (search doesn't work there)monsta1-7/+12
from https://git.gnome.org/browse/evince/commit/?id=79b9e1e0d6efa05a875e0db5407c9b760f3939d4
2015-08-31when findbar is invoked, don't jump straight to resultMonsta1-19/+24
from https://git.gnome.org/browse/evince/commit/?id=1c1fe3110118254e3e6ab4661517697d91e99ff8
2015-08-31pdf: Fix compile warningCarlos Garcia Campos1-0/+3
2015-08-31pdf: Fix saving annotations added to different pagesDaniel Glöckner1-4/+9
Fixes bug #628378.
2015-08-31drop support for win32/osx/hildon, make smclient mandatoryMonsta19-1029/+18
2015-08-26Merge pull request #152 from monsta/patch-2Martin Wimpress1-1/+1
require libgxps >= 0.2.0
2015-08-26require libgxps >= 0.2.0monsta1-1/+1
code changes from https://github.com/GNOME/evince/commit/740263e84f812e069c25d32e6fbf40bec4c061e2 are already in, but the version bump isn't. fixed that.
2015-08-08use GObject instead of deprecated GtkObject in GTK+2 as wellMonsta4-90/+4
2015-08-05Fix gtk-doc buildinfirit1-1/+3
2015-07-28Fix build with optional mate-desktop.infirit2-2/+7
2015-07-28Made the dependancy on mate-desktop optionalGeert Braekmans2-24/+54
2015-07-24Save always settings that can bse saved as default in metadataCarlos Garcia Campos3-128/+131
We relided on default values to store settings in metadata, so that settings that don't change are not saved in metdata. Now that default settings can change, that approach doesn't work, so we need o save all settings in metadata. evince commit: 720eebf9f0dd2e6a2765f6117f3bce9d7c74fcfa evince bug: https://bugzilla.gnome.org/show_bug.cgi?id=639003
2015-07-13Bump version to 1.10.1atril-1.10.1Monsta2-1/+8
2015-07-10help: fix legal pageraveit651-9/+29
2015-07-10fix crash when pressing EscMonsta1-1/+1
fixes https://github.com/mate-desktop/atril/issues/136
2015-07-10Gtk3: Add webkit2gtk-4.0 and prefer it over 3.0infirit1-11/+12
A lot of distro's are dropping webkit2gtk-3.0 and 4.0 works just as well. Also use have_webkit variable in the PKG_CONFIG checks.
2015-07-10gtk3 build: use webkit2gtk-4.0 if 3.0 isn't availableMonsta1-0/+5
"thanks" to debian guys for removing 3.0 from testing repo
2015-07-09help: fix merge conflict in slovenian translationMonsta1-1/+1
2015-07-09help: fix broken link to feedback pageMonsta1-1/+1
2015-07-02help: fix boken NL atril_start_window.png imageinfirit1-0/+0
2015-05-05Bump version to 1.10.0atril-1.10.0Stefano Karapetsas2-4/+4
2015-05-05Sync translations with transifexmate-i18n11-396/+327