Commit Graph

642 Commits

Author SHA1 Message Date
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
Moritz Lipp
196c6d2fd6 Update cc_open 2011-05-25 10:26:37 +02:00
Moritz Lipp
caa058e4d2 cc_open: List only supported file types 2011-05-25 00:54:16 +02:00
Moritz Lipp
a5d8cf8724 Merge branch 'girara' of pwmt.org:zathura into girara 2011-05-25 00:25:10 +02:00
Moritz Lipp
bd37f6333e Began to implement cmd_open completion 2011-05-25 00:24:43 +02:00
Sebastian Ramacher
a3d0a84b60 document pkg-config and GNU make
Conflicts:

	README
2011-05-19 12:47:55 +02:00
Sebastian Ramacher
06486f0074 document pkg-config and GNU make 2011-05-19 12:46:12 +02:00
Moritz Lipp
deacc66ab4 Fixed backwards searching 2011-05-19 10:57:42 +02:00
Moritz Lipp
7a0f870ff1 Fixed a possible memory leak 2011-05-09 10:53:09 +02:00
Moritz Lipp
17b4972683 Update modes 2011-05-07 22:00:52 +02:00
Moritz Lipp
094acadcb3 Add shortcut mappings 2011-05-07 00:39:34 +02:00
Moritz Lipp
f0d2e71ef9 Allow async printing and calculate scale level 2011-05-02 18:50:24 +02:00
Moritz Lipp
00589a7295 Implemented recoloring 2011-04-30 13:27:27 +02:00
Moritz Lipp
4806163e24 Comment unused variable 2011-04-30 13:07:14 +02:00
Moritz Lipp
ebd6605adf Began to implement the printing dialog 2011-04-29 00:28:19 +02:00
Moritz Lipp
2504604e73 Remove sc_change_buffer from config.h 2011-04-28 17:27:44 +02:00
Moritz Lipp
8de7969b2d Drop sc_change_buffer 2011-04-27 20:41:02 +02:00
Moritz Lipp
40ae60ea42 Updated page_set function 2011-04-27 20:32:57 +02:00
Moritz Lipp
4763624dab Display current page number in statusbar 2011-04-27 19:57:49 +02:00
Moritz Lipp
1ba891658c Moved plugins to own repositories
Every plugin is now accesible in a separate repository
2011-04-27 19:03:08 +02:00
Moritz Lipp
691b5c7697 Postscript support through libspectre 2011-04-26 17:09:39 +02:00
Moritz Lipp
1806b04786 Initialize lock before creating the render thread 2011-04-26 16:39:40 +02:00
Moritz Lipp
a5bf154dfa Fix zooming in poppler pdf backend 2011-04-25 23:49:38 +02:00
Moritz Lipp
8af8103bf3 Updated key bindings 2011-04-25 19:52:04 +02:00
Moritz Lipp
68bda8550f Initialize girara after parsing the configuration 2011-04-25 17:41:45 +02:00
Moritz Lipp
9f5430e449 Handle 0 pages-per-row 2011-04-25 16:54:21 +02:00