Commit Graph

617 Commits

Author SHA1 Message Date
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
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
Sebastian Ramacher
9362c92a05 fix DESKTOPPREFIX 2011-05-27 10:34:42 +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