Moritz Lipp
8bf7587baf
Show document information
2011-10-01 23:29:40 +02:00
Moritz Lipp
b5017f2396
Fix possible deallocation of a deallocated real_path
2011-09-30 12:32:29 +02:00
Sebastian Ramacher
b34d21afaf
implement content type support
2011-09-29 15:23:13 +02:00
Moritz Lipp
c3ad7faf1a
Use cairo to render page
2011-09-29 12:35:52 +02:00
Moritz Lipp
9f5d6cdd61
Added page_render_cairo function
2011-09-29 12:07:07 +02:00
Moritz Lipp
a6268788c0
Resolve warnings caused by -Wextra
2011-09-21 00:46:03 +02:00
Moritz Lipp
e20f425128
Some style updates
2011-09-21 00:25:41 +02:00
Moritz Lipp
86646affac
Prevent segfault when closing zathura
2011-09-21 00:25:30 +02:00
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
Moritz Lipp
691b5c7697
Postscript support through libspectre
2011-04-26 17:09:39 +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
Moritz Lipp
5c5df5bf82
Fixed rendering
2011-04-19 21:42:18 +02:00
Sebastian Ramacher
a415666cc1
zathura_page_t: replace rendered by visible
2011-04-19 18:33:28 +02:00
Moritz Lipp
a80770a320
Save zathura object in zathura_ocument_t
2011-04-19 17:46:44 +02:00
Sebastian Ramacher
fd283c8873
memory leak
2011-04-19 16:02:54 +02:00
Sebastian Ramacher
b2fc17207e
Make plugin path configurable
...
* We don't fail if we can't load a plugin. There can be anything.
* Reintroduce the command line parser from glib.
* Use fstatat as it is more reliable than d_type from dirent.
2011-04-19 00:36:56 +02:00
Moritz Lipp
fdf0bd5649
Save surface temporary in page_t
2011-04-18 22:59:59 +02:00
Moritz Lipp
8bcb79ea94
Update
2011-04-18 21:22:35 +02:00
Moritz Lipp
536862900e
Updated document.c/zathura.c
2011-04-18 18:23:34 +02:00
Sebastian Ramacher
f57fe5dfde
update document.c/.h
2011-04-18 18:19:41 +02:00
Moritz Lipp
15d51567aa
Use girara debug functions
2011-04-02 23:40:57 +02:00
Moritz Lipp
801fe03009
Changed the strucure a bit
2011-03-20 02:53:24 +01:00
Moritz Lipp
c5491675aa
Update rendering
2011-03-20 02:09:04 +01:00
Johannes Meng
fdeb73436a
Fixed plugin file type determination to be more fs-independent.
...
Signed-off-by: Moritz Lipp <mlq@pwmt.org>
2011-03-19 15:42:30 +01:00
Moritz Lipp
dd97387715
Began to implement dual/multiple view
2011-03-18 18:40:20 +01:00
Moritz Lipp
7d18faa452
Replace GtkWidget with zathura_image_buffer_t
2011-03-18 13:27:21 +01:00
Moritz Lipp
dc660d2c56
Register plugin correctly and handle dlhandle correctly
2011-03-06 09:14:36 +01:00
Moritz Lipp
d1cef30ef3
FIXME: Close dlhandle
2011-03-06 02:39:25 +01:00
Moritz Lipp
86b54e728b
Update Makefile
2011-03-06 02:21:46 +01:00
Moritz Lipp
52377b994d
Plugin register mechanism
2011-03-05 21:00:41 +01:00
Moritz Lipp
7629a30a27
Register document plugin and free registered plugins
2011-03-05 19:46:05 +01:00