Commit Graph

705 Commits

Author SHA1 Message Date
Sebastian Ramacher
ede8a7b236 Change NEED_DL to DL_LIB to be consistent with other options.
Run you don't need do link against dl set DL_LIB to a empty value.
2011-09-29 13:18:09 +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
Sebastian Ramacher
13eeebc9c8 fix build error 2011-09-29 11:48:23 +02:00
Moritz Lipp
8a1f1816fd Merge branch 'girara' 2011-09-29 11:43:01 +02:00
Moritz Lipp
2403296c53 Merge branch 'girara'
Conflicts:
	.gitignore
	LICENSE
	Makefile
	README
	config.def.h
	config.mk
	zathura.1
	zathura.c
2011-09-29 11:41:08 +02:00
Sebastian Ramacher
8efa5a5f05 Add a safe_realloc.
Apply patch from Sylvain Laperche.
2011-09-28 19:12:17 +02:00
Sebastian Ramacher
9b633f70a5 implement zathura_db_get_fileinfo 2011-09-22 15:47:58 +02:00
Sebastian Ramacher
320063f69e fix PRIMARY KEY in bookmarks and some work on fileinfo 2011-09-21 18:31:12 +02:00
Moritz Lipp
e47ff9ad47 Resolve GLib-Gobject-CRITICAL warnings 2011-09-21 09:46:54 +02:00
Pavel Borzenkov
24081171db Coding style fixes
No functional changes.

Signed-off-by: Pavel Borzenkov <pavel.borzenkov@gmail.com>
Signed-off-by: Sebastian Ramacher <s.ramacher@gmx.at>
2011-09-21 09:22:52 +02:00
Pavel Borzenkov
9474332d09 Add zathura.pc to .gitignore
Signed-off-by: Pavel Borzenkov <pavel.borzenkov@gmail.com>
Signed-off-by: Sebastian Ramacher <s.ramacher@gmx.at>
2011-09-21 09:22:10 +02:00
Pavel Borzenkov
2b4f5d1823 Use girara's focus_inputbar function
zathura's focus_inputbar function is a duplicate of girara's one.
This patch removes it.

Signed-off-by: Pavel Borzenkov <pavel.borzenkov@gmail.com>
Signed-off-by: Sebastian Ramacher <s.ramacher@gmx.at>
2011-09-21 09:18:27 +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
Sebastian Ramacher
2657ff58ae set NEEDS_DL to 0 if you don't need to link against dl 2011-09-20 16:47:49 +02:00
Sebastian Ramacher
cc92b38471 fix a warning 2011-09-20 16:42:23 +02:00
Sebastian Ramacher
cf3fd3510b load bookmarks in document_open 2011-09-03 14:21:36 +02:00
Sebastian Ramacher
390061c896 document database functions 2011-09-03 13:49:21 +02:00
Sebastian Ramacher
7b3d31a3e5 implement cmd_bookmark_remove 2011-09-03 13:40:28 +02:00
Sebastian Ramacher
6f567a6264 some initial work on the sqlite database backend 2011-09-02 20:46:16 +02:00
Pavel Borzenkov
48448c6507 Hide notification area in sc_focus_inputbar
Signed-off-by: Pavel Borzenkov <pavel.borzenkov@gmail.com>
Signed-off-by: Sebastian Ramacher <s.ramacher@gmx.at>
2011-09-02 16:46:55 +02:00
Sebastian Ramacher
0c48f8267e document bookmark functions 2011-09-02 12:04:05 +02:00
Sebastian Ramacher
30dd00937b rotate in render 2011-09-01 19:18:29 +02:00
Sebastian Ramacher
a6596fb908 initial bookmarks implementation 2011-09-01 15:43:34 +02:00
Sebastian Ramacher
bb466fc891 add cmd_help skeleton 2011-09-01 13:15:27 +02:00
Sebastian Ramacher
87aa9b9a46 implement :write and :write! 2011-09-01 11:51:49 +02:00
Sebastian Ramacher
36bdb57bf4 fix dist target 2011-08-31 16:43:35 +02:00
Sebastian Ramacher
36749e1266 add verbose build output 2011-08-31 16:41:07 +02:00
Sebastian Ramacher
18c490f2c6 add verbose build output 2011-08-31 16:04:55 +02:00
Sebastian Ramacher
a66f2dd53a no need to add -I. and -I/usr/include 2011-08-31 14:36:24 +02:00
Sebastian Ramacher
8cee01a4d9 #include "..." 2011-08-31 14:35:53 +02:00
Sebastian Ramacher
c24117b487 remove extra semi-colon 2011-08-31 12:42:22 +02:00
Sebastian Ramacher
c445b0e679 implement :open 2011-08-31 00:08:33 +02:00
Sebastian Ramacher
e349eddd9d don't fail in :close if nothing is open 2011-08-30 23:40:13 +02:00
Ivan Sichmann Freitas
72a3774ab1 Fix typo in zathurarc man page
Signed-off-by: Sebastian Ramacher <s.ramacher@gmx.at>
2011-08-29 23:55:59 +02:00
Sebastian Ramacher
c190386f9e Fix scroll_wrap logic on first and last page. (Closes #52)
Thanks egl209 for the patch.
2011-08-25 00:57:56 +02:00
karottenreibe
53c8420f8a ignoring MOD5, which is used in some keyboard layouts
Signed-off-by: Sebastian Ramacher <s.ramacher@gmx.at>
2011-08-25 00:52:57 +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
Sebastian Ramacher
333cfa4df0 make GIRARA/GTK_INC/LIB overwritable 2011-08-25 00:45:50 +02:00
Sebastian Ramacher
66fa0f5648 Don't invert y coordinate (Closes: #42).
No need to invert it with poppler >=0.15
2011-07-27 00:18:21 +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
Moritz Lipp
7d9274900f Update LICENSE file 2011-07-13 00:07:45 +02:00
Moritz Lipp
4283b7edbd Fix Makefile 2011-07-12 20:11:06 +02:00
Moritz Lipp
4bbff8e3a5 zathura 0.0.8.4 2011-07-12 20:07:53 +02:00