Document viewer
Find a file
Pavel Borzenkov caccb94c69 Fix ':close' command
Currently, zathura crashes while performing ':close' command with the
following error:

GThread-ERROR **: file gthread-posix.c: line 226
(g_cond_free_posix_impl): error 'Device or resource busy' during
'pthread_cond_destroy ((pthread_cond_t *) cond)'

The error is because 'render' thread holds condition variable while
waiting for new pages to render. This patch modifies zathura's code to
correctly kill render thread and free allocated resources when the
document is being closed.

NOTE: should be applied on top of "Allow changing of "pages-per-row"
variable at runtime" commit to avoid conflicts in the
'page_view_set_mode()' function.

Signed-off-by: Pavel Borzenkov <pavel.borzenkov@gmail.com>
2011-08-25 00:49:26 +02:00
.gitignore ignore .depend 2011-04-19 19:07:18 +02:00
callbacks.c Update coding standard 2011-07-21 14:48:48 +02:00
callbacks.h Allow changing of "pages-per-row" variable at runtime 2011-07-21 14:47:24 +02:00
commands.c Began to implement cmd_open completion 2011-05-25 00:24:43 +02:00
commands.h Began to implement cmd_open completion 2011-05-25 00:24:43 +02:00
completion.c Fix build error 2011-07-20 09:56:57 +02:00
completion.h Remove obsolete print completion 2011-05-26 11:58:27 +02:00
config.c Allow changing of "pages-per-row" variable at runtime 2011-07-21 14:47:24 +02:00
config.h Merge branch 'render' into girara 2011-04-19 21:54:24 +02:00
config.mk make GIRARA/GTK_INC/LIB overwritable 2011-08-25 00:45:50 +02:00
document.c Fix ':close' command 2011-08-25 00:49:26 +02:00
document.h zathura_page_t: replace rendered by visible 2011-04-19 18:33:28 +02:00
LICENSE New file structure 2010-11-10 19:18:01 +01:00
Makefile fix typo 2011-07-14 21:34:16 +02:00
print.c Allow async printing and calculate scale level 2011-05-02 18:50:24 +02:00
print.h Began to implement the printing dialog 2011-04-29 00:28:19 +02:00
README document pkg-config and GNU make 2011-05-19 12:47:55 +02:00
render.c Fix ':close' command 2011-08-25 00:49:26 +02:00
render.h Update 2011-04-18 21:22:35 +02:00
shortcuts.c Use giraras toggle functions 2011-06-23 14:31:41 +02:00
shortcuts.h Use giraras toggle functions 2011-06-23 14:31:41 +02:00
utils.c Remove obsolete page_blank function 2011-05-27 12:57:57 +02:00
utils.h Remove obsolete page_blank function 2011-05-27 12:57:57 +02:00
zathura.1 Cleaned man page 2011-05-27 12:38:41 +02:00
zathura.c Fix ':close' command 2011-08-25 00:49:26 +02:00
zathura.h Update modes 2011-05-07 22:00:52 +02:00
zathura.pc.in provide pkg-config file to build plugins 2011-07-10 20:14:31 +02:00

zathura - a document viewer
--------------------
zathura is a highly customizable and functional document viewer based on the
girara user interface library and several document libraries.

Requirements
------------
gtk2 (>= 2.18.6)
girara

Please note that you need to have a working pkg-config installation
and that the Makefile is only compatible with GNU make.

Installation
------------
To build and install zathura:

  make install

Uninstall:
----------
To delete zathura from your system, just type:

  make uninstall