Commit graph

2596 commits

Author SHA1 Message Date
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
Moritz Lipp
622a635075 Read global configuration file
Thanks to Sebastinas
2010-07-22 23:27:17 +02:00
Moritz Lipp
802c1ae24e Updated clear command 2010-07-20 20:42:33 +02:00
Moritz Lipp
d4cd5c22a2 Began to clean up some memory issues in the complete function (TODO) 2010-07-18 20:08:51 +02:00
Moritz Lipp
3bcc7b28e6 Fixed some memory issues 2010-07-18 19:52:05 +02:00
Moritz Lipp
5803a7f00b Updated manpage 2010-07-15 22:42:06 +02:00
Moritz Lipp
4533e58388 Escape uri/filename in open_uri/cmd_print 2010-07-15 22:39:48 +02:00
Moritz Lipp
25f2f942e8 Fix segmentation fault in nav_index 2010-07-13 08:36:16 +02:00
Moritz Lipp
bff9b91695 Updated Makefile 2010-07-08 20:32:27 +02:00
Moritz Lipp
f3218c2d68 Updated Makefile
Thanks to Sebastinas
2010-07-08 12:41:56 +02:00
Moritz Lipp
eae4e48877 Delete line to start
Thanks to n0nsense
2010-07-08 12:35:57 +02:00
Moritz Lipp
162ae295b7 Updated print command 2010-07-07 18:44:37 +02:00
Moritz Lipp
40a0a7cf9c Updated completion 2010-07-05 17:57:19 +02:00
Moritz Lipp
6d321e2ec5 Optional parameters for print command 2010-07-05 12:35:38 +02:00
Moritz Lipp
2dde57fcd7 Improved completion 2010-07-04 21:47:19 +02:00
Moritz Lipp
7da1a65b2f Fixed completion groups 2010-07-04 11:19:43 +02:00
Moritz Lipp
9e58af0113 Simplified development of cc functions 2010-07-04 10:35:15 +02:00
Moritz Lipp
2f027ed1ad Define number of completion items 2010-07-04 10:25:11 +02:00
Moritz Lipp
ab2288b241 Completion fix 1 2010-07-03 19:10:07 +02:00
Moritz Lipp
d4dd021eab Smooth scrolling
With this commit it is possible to activate a smoother scrolling
by setting smooth_scrolling in the zathurarc file to e.g. 2.0.
2010-06-27 09:38:48 +02:00
Moritz Lipp
9bb9e495f6 Append slashes to directories in cc_open
This patch appends slashes to directories in cc_open. In addition
lines in zathurarc that do not end with a new line won't be
ignored anymore.

Thanks to Trundle
2010-06-24 14:07:26 +02:00
Moritz Lipp
74df22586b Updated manpage 2010-06-22 08:55:45 +02:00
Moritz Lipp
ad5dcd0e70 Updated statusbar string manipulation 2010-06-22 01:57:08 +02:00
Moritz Lipp
1ab25b9112 Makefile - Strip executeable 2010-06-22 01:14:13 +02:00
Moritz Lipp
1a6b624bf2 Version 0.0.7 2010-06-21 22:09:47 +02:00
Moritz Lipp
2f1f105f73 Set show_inputbar/statusbar 2010-06-21 21:00:59 +02:00
Moritz Lipp
22fd1c1ace Updated manpage 2010-06-21 18:52:54 +02:00
Moritz Lipp
8a03219772 Updated man page 2010-06-21 18:39:18 +02:00
Moritz Lipp
d7c50dc1a0 Clean event->state 2010-06-21 18:27:44 +02:00
Moritz Lipp
90182e55d0 Restore adjustment after reloading the document 2010-06-21 16:27:38 +02:00
Moritz Lipp
403c63c510 Fix shortcut evaluation 2010-06-21 16:19:06 +02:00