Commit Graph

779 Commits

Author SHA1 Message Date
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
Sebastian Ramacher
fdd8f82109 add zathurarc.5 to SEE ALSO 2011-07-08 19:09:57 +02:00
Sebastian Ramacher
a00b2da39c update zathurarc.5.rst 2011-07-08 17:21:11 +02:00
Sebastian Ramacher
6e72194b0d reload and write bookmarks before/after adding and deleting a bookmark 2011-07-08 17:03:05 +02:00
Sebastian Ramacher
b92d4a48a1 Fix description of delbmark.
Thanks to Pavel Borzenkov.
2011-07-08 15:52:03 +02:00
Sebastian Ramacher
b07b8ffa34 Build zathurarc.5 in install target and update README 2011-07-08 15:51:04 +02:00
Sebastian Ramacher
a768894dff Add zathurarc.5.rst from the Debian package.
The zathurarc.5 manpage will be built only if rst2man is installed.
2011-07-08 15:46:54 +02:00
Sebastian Ramacher
52c8bedc60 Fix memory leaks in cb_inputbar_activate and handle empty bookmark names in
cmd_bookmark.

Thanks to Pavel Borzenkov for noticing the issue with empty bookmark names.
2011-07-07 14:00:10 +02:00
Pavel Borzenkov
2e7dac75de Fix GString related memory leaks
This patch fixes a couple of GString related memory leaks. There is one
left in the cmd_set() function for the 's' type settings, but to fix it
we need to rework settings architecture a bit.

Signed-off-by: Pavel Borzenkov <pavel.borzenkov@gmail.com>
Signed-off-by: Sebastian Ramacher <s.ramacher@gmx.at>
2011-07-07 13:22:45 +02:00
Pavel Borzenkov
7a1a4d6ddd Don't allow to set bookmarks with reserved names
Currently, 'page', 'offset' and 'scale' are reserved bookmark names.
We should not allow to set arbitary bookmarks with such names.

Also, this patch fixes memory leaks in the cmd_bookmark() function.

Signed-off-by: Pavel Borzenkov <pavel.borzenkov@gmail.com>
Signed-off-by: Sebastian Ramacher <s.ramacher@gmx.at>
2011-07-07 13:21:04 +02:00
Pavel Borzenkov
52d32c4982 Fix bookmarks completion
My previous patch a206e5bb1f
(Save zoom level in the bookmarks file) added third varible with special
meaning into the bookmarks file. Add it to the exception list.

Signed-off-by: Pavel Borzenkov <pavel.borzenkov@gmail.com>
Signed-off-by: Sebastian Ramacher <s.ramacher@gmx.at>
2011-07-05 14:59:43 +02:00
Pavel Borzenkov
33cda59c05 Save zoom level in the bookmarks file
This patch introduces new configuration option: save_zoom_level.
If this option is set (default) zathura will store zoom level
in the bookmarks file on quit and restore it on open.

Signed-off-by: Pavel Borzenkov <pavel.borzenkov@gmail.com>
Signed-off-by: Sebastian Ramacher <s.ramacher@gmx.at>
2011-07-05 13:11:58 +02:00
Pavel Borzenkov
b9b4b8ef1f Don't update status bar when scrolling left/right
Don't update Zathura.State.scroll_percentage when scrolling left/right
to avoid wrong values in the status bar.

Signed-off-by: Pavel Borzenkov <pavel.borzenkov@gmail.com>
Signed-off-by: Sebastian Ramacher <s.ramacher@gmx.at>
2011-07-05 13:11:58 +02:00
Sebastian Ramacher
53ae144b32 Fix blinking while switching pages (Closes: #13)
Thanks to sagesag for the patch. If this breaks anything feel free to revert
this change.
2011-07-01 14:42:08 +02:00
Sebastian Ramacher
659df484ea Fix input issues in fullscreen mode (Closes: #33)
Thanks to sagesag for the patch.
2011-07-01 14:37:33 +02:00
Sebastian Ramacher
471c011f8d Support :digits (Closes: #41)
Thanks to Serge Guelton for the patch. Applied with some small modifications.
2011-07-01 14:00:33 +02:00
Sebastian Ramacher
33ac8b2c33 Fix index navigation issues (Closes: #40).
Thanks to Serge Guelton for the patch.
2011-07-01 13:43:16 +02:00
Sebastian Ramacher
5a2af2bc71 'cherry-pick' changes from jumanji 2011-06-26 02:55:56 +02:00
Sebastian Ramacher
3cf7505401 'cherry-pick' e84bb6f from jumanji 2011-06-25 21:17:40 +02:00
Sebastian Ramacher
aec6843b54 Update to new name of girara. 2011-06-25 00:53:08 +02:00