Commit graph

2848 commits

Author SHA1 Message Date
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
Moritz Lipp
2405e64067 Update LICENSE file 2011-07-12 20:06:47 +02:00
Moritz Lipp
da42eb7517 Reduce variable scope 2011-07-12 20:04:26 +02:00
Moritz Lipp
644330de76 Fix memory leak 2011-07-12 20:03:18 +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
f302627263 close file handle 2011-07-10 19:51:59 +02:00