Commit Graph

449 Commits

Author SHA1 Message Date
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
Sebastian Ramacher
333cfa4df0 make GIRARA/GTK_INC/LIB overwritable 2011-08-25 00:45:50 +02:00
Moritz Lipp
686abbf588 Update coding standard 2011-07-21 14:48:48 +02:00
Pavel Borzenkov
32d90379bc Allow changing of "pages-per-row" variable at runtime 2011-07-21 14:47:24 +02:00
Moritz Lipp
230ac06957 Merge branch 'girara' of pwmt.org:zathura into girara 2011-07-20 09:57:23 +02:00
Moritz Lipp
a58f5f0857 Fix build error 2011-07-20 09:56:57 +02:00
Sebastian Ramacher
894a5735bc fix typo 2011-07-14 21:34:16 +02:00
Sebastian Ramacher
15afd761fa update include path 2011-07-10 20:16:24 +02:00
Sebastian Ramacher
87cff5ac75 provide pkg-config file to build plugins 2011-07-10 20:14:31 +02:00
Sebastian Ramacher
376390a65c use pkg-config to determine girara libs and inc 2011-07-10 20:04:24 +02:00
Sebastian Ramacher
aec6843b54 Update to new name of girara. 2011-06-25 00:53:08 +02:00
Moritz Lipp
2a90a68ce8 Saner solution for the possible seg fault 2011-06-23 22:43:08 +02:00
Moritz Lipp
9d5cbcabb5 Fix possible segmentation fault 2011-06-23 22:40:48 +02:00
Moritz Lipp
48c2d01bef Use giraras toggle functions 2011-06-23 14:31:41 +02:00
Moritz Lipp
234b9785c9 Remove BSDmakefile 2011-05-27 12:59:05 +02:00
Moritz Lipp
2437d85471 Remove obsolete page_blank function 2011-05-27 12:57:57 +02:00
Moritz Lipp
3c9e1f6e55 Use gtk_widget_get_visible instead of deprecated macro 2011-05-27 12:42:37 +02:00
Moritz Lipp
731628990f Cleaned man page 2011-05-27 12:38:41 +02:00
Moritz Lipp
ec836f3334 Update cc_open 2011-05-26 14:58:10 +02:00
Moritz Lipp
b4f834d462 Fix segmentation fault in extension checking 2011-05-26 12:05:10 +02:00
Moritz Lipp
5847b5e250 Fix: Remove obsolete print completion 2011-05-26 12:00:11 +02:00
Moritz Lipp
032af18f36 Remove obsolete print completion 2011-05-26 11:58:27 +02:00
Moritz Lipp
196c6d2fd6 Update cc_open 2011-05-25 10:26:37 +02:00
Moritz Lipp
caa058e4d2 cc_open: List only supported file types 2011-05-25 00:54:16 +02:00
Moritz Lipp
a5d8cf8724 Merge branch 'girara' of pwmt.org:zathura into girara 2011-05-25 00:25:10 +02:00
Moritz Lipp
bd37f6333e Began to implement cmd_open completion 2011-05-25 00:24:43 +02:00
Sebastian Ramacher
a3d0a84b60 document pkg-config and GNU make
Conflicts:

	README
2011-05-19 12:47:55 +02:00
Moritz Lipp
7a0f870ff1 Fixed a possible memory leak 2011-05-09 10:53:09 +02:00
Moritz Lipp
17b4972683 Update modes 2011-05-07 22:00:52 +02:00
Moritz Lipp
094acadcb3 Add shortcut mappings 2011-05-07 00:39:34 +02:00
Moritz Lipp
f0d2e71ef9 Allow async printing and calculate scale level 2011-05-02 18:50:24 +02:00
Moritz Lipp
00589a7295 Implemented recoloring 2011-04-30 13:27:27 +02:00
Moritz Lipp
4806163e24 Comment unused variable 2011-04-30 13:07:14 +02:00
Moritz Lipp
ebd6605adf Began to implement the printing dialog 2011-04-29 00:28:19 +02:00
Moritz Lipp
2504604e73 Remove sc_change_buffer from config.h 2011-04-28 17:27:44 +02:00
Moritz Lipp
8de7969b2d Drop sc_change_buffer 2011-04-27 20:41:02 +02:00
Moritz Lipp
40ae60ea42 Updated page_set function 2011-04-27 20:32:57 +02:00
Moritz Lipp
4763624dab Display current page number in statusbar 2011-04-27 19:57:49 +02:00
Moritz Lipp
1ba891658c Moved plugins to own repositories
Every plugin is now accesible in a separate repository
2011-04-27 19:03:08 +02:00
Moritz Lipp
691b5c7697 Postscript support through libspectre 2011-04-26 17:09:39 +02:00
Moritz Lipp
1806b04786 Initialize lock before creating the render thread 2011-04-26 16:39:40 +02:00
Moritz Lipp
a5bf154dfa Fix zooming in poppler pdf backend 2011-04-25 23:49:38 +02:00
Moritz Lipp
8af8103bf3 Updated key bindings 2011-04-25 19:52:04 +02:00
Moritz Lipp
68bda8550f Initialize girara after parsing the configuration 2011-04-25 17:41:45 +02:00
Moritz Lipp
9f5430e449 Handle 0 pages-per-row 2011-04-25 16:54:21 +02:00
Moritz Lipp
4146cfbb84 Added shift-space command 2011-04-21 14:30:23 +02:00
Sebastian Ramacher
8be9a8159f Merge branch 'girara' of pwmt.org:zathura into girara 2011-04-20 16:58:15 +02:00
Sebastian Ramacher
48f04fc587 fix a typo 2011-04-20 16:58:08 +02:00
Moritz Lipp
08c8187ef5 Load default configuration 2011-04-20 15:55:09 +02:00
Moritz Lipp
5e4d584382 Merge branch 'render' into girara
Conflicts:
	Makefile
	config.c
	config.h
	document.c
	ft/djvu/Makefile
	ft/pdf-mupdf/Makefile
	ft/pdf-poppler/Makefile
	render.c
	zathura.c
2011-04-19 21:54:24 +02:00