Commit Graph

342 Commits

Author SHA1 Message Date
Sebastian Ramacher
747a694f7f Fix problems with nmemb = 0 in safe_realloc (Closes: #80)
We need to handle this one case. It's not safe to use safe_realloc with size or
nmemb = 0.
2011-12-03 14:43:41 +01:00
Moritz Lipp
65b2ec2a40 Version 0.0.8.5 2011-11-09 16:53:01 +01:00
Moritz Lipp
aacdc25673 Fixed some errors 2011-11-09 16:36:50 +01:00
Sebastian Ramacher
51f8785935 Add a safe_realloc.
Apply patch from Sylvain Laperche.
2011-09-28 19:12:17 +02:00
Sebastian Ramacher
2b0297b785 fix a warning 2011-09-20 16:42:23 +02:00
Sebastian Ramacher
4caa398a27 add verbose build output 2011-08-31 16:04:55 +02:00
Ivan Sichmann Freitas
e5e265a2ca 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
42673a8474 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
5ce01cefe8 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
Sebastian Ramacher
8e5249b35a 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
2e536ba7a7 Update LICENSE file 2011-07-13 00:07:45 +02:00
Moritz Lipp
9ab3809301 Fix Makefile 2011-07-12 20:11:06 +02:00
Moritz Lipp
3802745403 zathura 0.0.8.4 2011-07-12 20:07:53 +02:00
Moritz Lipp
25722ebede Update LICENSE file 2011-07-12 20:06:47 +02:00
Moritz Lipp
214cbdfc61 Reduce variable scope 2011-07-12 20:04:26 +02:00
Moritz Lipp
2e23d02572 Fix memory leak 2011-07-12 20:03:18 +02:00
Sebastian Ramacher
7a15100dbc close file handle 2011-07-10 19:51:59 +02:00
Sebastian Ramacher
0bc03914f6 add zathurarc.5 to SEE ALSO 2011-07-08 19:09:57 +02:00
Sebastian Ramacher
8e61a8592c update zathurarc.5.rst 2011-07-08 17:21:11 +02:00
Sebastian Ramacher
426fef1eb9 reload and write bookmarks before/after adding and deleting a bookmark 2011-07-08 17:03:05 +02:00
Sebastian Ramacher
599c75477c Fix description of delbmark.
Thanks to Pavel Borzenkov.
2011-07-08 15:52:03 +02:00
Sebastian Ramacher
f4f6d6da7f Build zathurarc.5 in install target and update README 2011-07-08 15:51:04 +02:00
Sebastian Ramacher
6fa65e11bb 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
54223aea6f 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
e96ffc0379 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
f6120b5c19 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
14ef558b0d 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
a206e5bb1f 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
a5e9c12651 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
ac4faec443 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
f13fd80f9b Fix input issues in fullscreen mode (Closes: #33)
Thanks to sagesag for the patch.
2011-07-01 14:37:33 +02:00
Sebastian Ramacher
63f18edb79 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
98094f05fb Fix index navigation issues (Closes: #40).
Thanks to Serge Guelton for the patch.
2011-07-01 13:43:16 +02:00
Sebastian Ramacher
8a61d93e75 'cherry-pick' changes from jumanji 2011-06-26 02:55:56 +02:00
Sebastian Ramacher
8719eaa50c 'cherry-pick' e84bb6f from jumanji 2011-06-25 21:17:40 +02:00
Sebastian Ramacher
89e8ebdc69 fix DESKTOPPREFIX 2011-05-27 10:34:42 +02:00
Sebastian Ramacher
10152ae392 document pkg-config and GNU make 2011-05-19 12:46:12 +02:00
Moritz Lipp
03348ccbf5 Fixed backwards searching 2011-05-19 10:57:42 +02:00
Sebastian Ramacher
ad05f0058b fix .desktop file 2011-04-20 11:57:37 +02:00
Sebastian Ramacher
061294b0ca make :write save and make it work with relative paths 2011-04-03 16:29:39 +02:00
Sebastian Ramacher
eefbcec627 Add a desktop file for zathura 2011-03-24 12:54:06 +01:00
Moritz Lipp
3630a340f7 Version 0.0.8.3 2011-03-24 12:30:45 +01:00
Sebastian Ramacher
a48ee6be46 Fix regression from a1fe0f0b
In some cases sc_reload could still segfault. This should fix it.
2011-03-21 02:09:38 +01:00
Sebastian Ramacher
315f61b157 Fix GOptionEntries
... to make GLib 2.28 happy.
2011-03-21 01:49:01 +01:00
Moritz Lipp
2648c3f28d Fixed print command with additional arguments.
Previous version ignored second argument if more than 2 were given and
quoted the additional arguments leading to lp thinking they represented
a filename.

Before:
:print HPF300 14-15 -o side=onesided
-> lp -d HPF300 -P 1-38 ' -o side=onesided' 'filename'

Now:
:print HPF300 14-15 -o side=onesided
-> lp -d HPF300 -P 14-15  -o side=onesided 'filename'

Signed-off-by: mlq <mlq@pwmt.org>
2011-03-09 22:34:48 +01:00
Moritz Lipp
baca010f3c fix executable file path in uninstall
Signed-off-by: mlq <mlq@pwmt.org>
2011-03-01 11:11:39 +08:00
Sebastian Ramacher
a1fe0f0b4b Don't segfault if reloaded document has less pages. 2011-02-17 19:45:02 +01:00
Moritz Lipp
1b835ed2f3 Hide inputbar frame 2011-01-11 02:35:01 +01:00
Sebastian Ramacher
e75a645621 fix build error with poppler >= 0.15 2011-01-02 11:05:30 +01:00
Sebastian Ramacher
91a2c6d3d1 redraw search result on NO_SEARCH 2010-12-21 15:20:03 +01:00