Commit Graph

299 Commits

Author SHA1 Message Date
Sebastian Ramacher
e395528e0d Fix GOptionEntries
... to make GLib 2.28 happy.
2011-03-21 01:49:01 +01:00
Moritz Lipp
d7e82969a5 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
64fe1f132d fix executable file path in uninstall
Signed-off-by: mlq <mlq@pwmt.org>
2011-03-01 11:11:39 +08:00
Sebastian Ramacher
382f5e7618 Don't segfault if reloaded document has less pages. 2011-02-17 19:45:02 +01:00
Moritz Lipp
d2503b49c3 Hide inputbar frame 2011-01-11 02:35:01 +01:00
Sebastian Ramacher
0883b88d0c fix build error with poppler >= 0.15 2011-01-02 11:05:30 +01:00
Sebastian Ramacher
2c7c779984 redraw search result on NO_SEARCH 2010-12-21 15:20:03 +01:00
Sebastian Ramacher
72312aea2d remove a memory leak 2010-12-21 15:11:14 +01:00
Sebastian Ramacher
12e6f8281c Fix some memory problems in search 2010-12-21 14:40:05 +01:00
Moritz Lipp
d56c6da26e Renamed functions 2010-12-21 11:57:31 +01:00
Moritz Lipp
309566c58a Text searching problems
Updates the behaviour of the search function. Thanks to qnikst.
2010-12-21 11:53:40 +01:00
Moritz Lipp
ac12830a00 Hide inputbar 2010-12-17 03:40:57 +01:00
Sebastian Ramacher
e30a31dcf6 Merge branch 'master' of pwmt.org:zathura 2010-12-14 20:08:52 +01:00
Sebastian Ramacher
050853002a Fix OPTIONS section and GTK+ capitalization.
Thanks to Jakub Wilk.
2010-12-14 20:08:18 +01:00
Moritz Lipp
3bf6dc6bd1 Merge branch 'master' of pwmt.org:zathura 2010-12-12 11:09:48 +01:00
Sebastian Ramacher
c7dbde9b43 Remove two memory leaks. 2010-12-11 17:24:09 +01:00
Sebastian Ramacher
19ff39b6c6 Make :open ~/some/file.pdf work again. 2010-12-11 17:17:31 +01:00
Sebastian Ramacher
75c800e197 Fix a regression from f91bea5f. 2010-12-11 17:16:19 +01:00
Moritz Lipp
125af22b3a Merge branch 'master' of pwmt.org:zathura 2010-12-11 11:26:27 +01:00
Sebastian Ramacher
41812c5939 Add option to disable auto-generated bookmarks (closes #73)
Applying patch from Minoru with some modifications since we already have
read_bookmarks_file.
2010-12-11 10:12:50 +01:00
Sebastian Ramacher
0ab36aab2e more memory cleanup 2010-12-11 10:06:43 +01:00
Sebastian Ramacher
4bf5718349 Reread bookmarks file before writing (closes #74)
Applying patch from Minoru with some simple adapations. Therefor
read_bookmarks_file doesn't leak (bookmarks is never freed).
2010-12-11 09:51:35 +01:00
Sebastian Ramacher
fb0b700c9e drop -Wno-format-zero (not needed anymore) 2010-12-02 12:27:47 +01:00
Sebastian Ramacher
335fdbb533 Make it build without warnings if -Wno-zero-length is not set. 2010-12-01 23:07:09 +01:00
Sebastian Ramacher
25256827dc typo 2010-12-01 16:47:58 +01:00
Sebastian Ramacher
4fe4bfcde1 Fix some memory issues related to bookmarks (closes #26). 2010-12-01 11:19:35 +01:00
Moritz Lipp
519f4f531a Merge branch 'master' of pwmt.org:zathura 2010-11-29 14:59:14 +01:00
Sebastian Ramacher
2a6083832f document +,-,= (closes #64) 2010-11-23 16:22:16 +01:00
Moritz Lipp
d0e48fe488 Version 0.0.8.2 2010-11-21 12:52:51 +01:00
Sebastian Ramacher
ed2e0d1014 remove double g_mutex_static_init 2010-11-17 18:56:51 +01:00
Sebastian Ramacher
229f2ab8b3 Fix a memory leak in init_look.
init_look may be called from cmd_set so we've to free Zathura.Style.font first.
2010-11-17 09:46:05 +01:00
Sebastian Ramacher
c890f6befa print LDFLAGS and add -s only if SFLAGS is not set 2010-11-12 17:48:49 +01:00
Sebastian Ramacher
815f2b5243 Make 'set scroll_wrap' work as expected.
Thank's to wart_.
2010-11-09 16:03:53 +01:00
Sebastian Ramacher
48a2991333 Display scoll percentage in statusbar (Closes #58).
Thank's to acieroid.
2010-11-03 20:33:39 +01:00
Sebastian Ramacher
3b8efee3ed Add more familiar zoom keybindings (closes #45)
One can use '+' to zoom in, '-' to zoom out and '=' to set the zoom level back
to 100%.
2010-10-31 10:30:26 +01:00
Sebastian Ramacher
de0d0fb4e0 Implement wrap-around scrolling (closes #44)
Applied a modified version of raylu's patch. One can enable/disable wrap-around
scrolling with `set scroll_wrap 1/0". It's disabled per default.
2010-10-31 10:11:25 +01:00
Moritz Lipp
012e6de85a Check for ~ in save command 2010-10-30 22:57:39 +02:00
Moritz Lipp
77fb72f509 Reload fix when no file is opened 2010-10-30 10:08:57 +02:00
Moritz Lipp
da344ac8b9 Color window and viewport
Thanks to Strom
2010-10-25 14:10:10 +02:00
Moritz Lipp
da61a695bd Merge branch 'master' of pwmt.org:zathura 2010-10-18 20:16:51 +02:00
Moritz Lipp
d6574f57d1 Open command with appended current filepath
Closes #30

Thanks to thorsten
2010-10-18 20:14:38 +02:00
Sebastian Ramacher
ba11e68e94 Remove those NOTREACHED comments 2010-10-13 09:02:59 +02:00
Sebastian Ramacher
da261141fd Add noreturn attribute to out_of_memory (closes #43)
Add __attribute__((noreturn)) to out_of_memory if supported by the compiler
(gcc, icc and clang).
2010-10-11 19:54:42 +02:00
Sebastian Ramacher
9d00d67ed2 Apply patches from #43
* Protect LENGTH with surrounding parantheses.
* Use foo(void) for functions taking no arguments.
* Remove dead assignments.

Thanks to kaworu.
2010-10-11 19:41:43 +02:00
Sebastian Ramacher
3210e5be28 some error handling and close handle before deleting the temporary file 2010-10-04 10:08:21 +02:00
Sebastian Ramacher
9fa858b2ff don't hardcode stdin fileno 2010-10-04 09:57:46 +02:00
Sebastian Ramacher
ff0adf4ddc correctly define _BSD_SOURCE and _XOPEN_SOURCE macros 2010-10-04 09:55:21 +02:00
Sebastian Ramacher
cd08c8be70 fixes for memory issues
Somes fixes for memory related issues. Makes filename and password handling more
robust.
2010-09-27 18:30:45 +02:00
Sebastian Ramacher
6052169921 fix a memory leak 2010-09-27 18:21:26 +02:00
Sebastian Ramacher
b280852f2d revert last commit ... that didn't fix anything 2010-09-27 18:20:48 +02:00