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
Moritz Lipp
ade141aadc
Update buffer in the statusbar
2010-11-13 12:40:48 +01:00
Moritz Lipp
9348a128ff
Add default shortcuts
2010-11-13 10:05:28 +01:00
Sebastian Ramacher
c890f6befa
print LDFLAGS and add -s only if SFLAGS is not set
2010-11-12 17:48:49 +01:00
Moritz Lipp
98d42ed3ce
Begin to test config structure
2010-11-12 13:48:18 +01:00
Moritz Lipp
6046fc71fb
Include guards and shortcut definitions
2010-11-10 20:47:53 +01:00
Moritz Lipp
d51bd2bbe6
Updated file structure
2010-11-10 20:31:15 +01:00
Moritz Lipp
38ec3eea66
New file structure
2010-11-10 19:18:01 +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
Sebastian Ramacher
88687c3f0a
solution for #6 ?
...
This could be a solution for #6 but needs some testing first.
2010-09-27 17:50:59 +02:00
Sebastian Ramacher
df6c704c02
explain - in man page
2010-09-27 17:24:55 +02:00
Sebastian Ramacher
3002d8e476
read from stdin: really delete temporary file
2010-09-27 17:19:56 +02:00
Sebastian Ramacher
3017534627
support reading from stdin ( closes #32 )
...
This is highly experimental but should work in principal. If there is a better
way to dump the contents of stdin to a temporary file, send me a patch, please.
2010-09-27 17:01:09 +02:00
Sebastian Ramacher
660567e7df
add function to get home dir if for some weird reason $HOME is not set
2010-09-27 15:57:29 +02:00
Sebastian Ramacher
9c6f8d5de6
mention -d in man page
2010-09-27 15:44:04 +02:00
Sebastian Ramacher
f7d6e0e6a9
follow XDG specification ( closes #35 )
...
Use XDG_* environment variables to locate the config directory and data
directory. Uses ~/.config/zathura and ~/.local/share/zathura as fallback (the
directories specified in config.h's CONFIG_DIR and DATA_DIR respectively) if the
environment variables are not set.
Uncomment the ZATHURA_NO_XDG define in config.h to always use CONFIG_DIR and
DATA_DIR.
One can specify --config-dir and --data-dir to overwrite the precomputed config
and data location.
2010-09-27 15:22:23 +02:00
Moritz Lipp
e8323fc50f
Update configuration
2010-08-19 19:39:50 +02:00
Moritz Lipp
28d9758e0e
Update Makefile
2010-08-18 08:54:52 +02:00
Moritz Lipp
ec9e572bb1
Build fix for Fedora 13+
...
Thanks to François Cami
2010-08-14 10:17:30 +02:00
Moritz Lipp
8bbc184fd0
Fixed printing
2010-08-01 13:40:04 +02:00
Moritz Lipp
9b31d203c4
Merge branch 'master' of pwmt.org:zathura
...
Conflicts:
config.mk
2010-08-01 13:39:53 +02:00
Moritz Lipp
0ad86d6264
Updated manpage
2010-07-30 17:44:03 +02:00
Moritz Lipp
19a79f519f
Version 0.0.8.1
2010-07-30 12:17:48 +02:00
Moritz Lipp
d0f7b3218a
Fixed segmentation fault when mapping keys
2010-07-30 11:11:43 +02:00
Moritz Lipp
d25cc9dba9
Updated manpage
2010-07-30 10:48:18 +02:00
Moritz Lipp
0aec7c40d5
Version 0.0.8
2010-07-29 17:10:28 +02:00
Moritz Lipp
f9e418be4c
Fix some memory leaks
2010-07-25 20:26:16 +02:00
Moritz Lipp
2b90f23eae
Reset inputbar handler
2010-07-24 00:52:36 +02:00
Moritz Lipp
4be866a0ef
Change to NORMAL mode in isc_abort
2010-07-24 00:52:06 +02:00
Moritz Lipp
5e352124fb
Allow configurable modes
2010-07-24 00:51:47 +02:00
Moritz Lipp
56284b9fd1
Fixed some quoating issues
...
Thanks to Sebastinas
2010-07-23 14:06:05 +02:00
Moritz Lipp
68fc126c8a
Specify configuration directory
...
With this commit it is possible to pass the path to an configuration
directory. Thanks to Sebastinas
Other changes:
* Updated Makefile
* Update Manpage
2010-07-22 23:40:55 +02:00