Commit Graph

315 Commits

Author SHA1 Message Date
Sebastian Ramacher
59b202ca4a 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
454b356f37 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
06c9f742a9 Check for ~ in save command 2010-10-30 22:57:39 +02:00
Moritz Lipp
325b63d49e Reload fix when no file is opened 2010-10-30 10:08:57 +02:00
Moritz Lipp
70ab033a2b Color window and viewport
Thanks to Strom
2010-10-25 14:10:10 +02:00
Moritz Lipp
c77d79ed47 Merge branch 'master' of pwmt.org:zathura 2010-10-18 20:16:51 +02:00
Moritz Lipp
4ccfee59da Open command with appended current filepath
Closes #30

Thanks to thorsten
2010-10-18 20:14:38 +02:00
Sebastian Ramacher
3c53e78433 Remove those NOTREACHED comments 2010-10-13 09:02:59 +02:00
Sebastian Ramacher
a23456e695 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
9605418e83 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
de62b47577 some error handling and close handle before deleting the temporary file 2010-10-04 10:08:21 +02:00
Sebastian Ramacher
57f4ae817a don't hardcode stdin fileno 2010-10-04 09:57:46 +02:00
Sebastian Ramacher
0818c0c9e3 correctly define _BSD_SOURCE and _XOPEN_SOURCE macros 2010-10-04 09:55:21 +02:00
Sebastian Ramacher
a2771c1e23 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
83811fc398 fix a memory leak 2010-09-27 18:21:26 +02:00
Sebastian Ramacher
6168bf1b68 revert last commit ... that didn't fix anything 2010-09-27 18:20:48 +02:00
Sebastian Ramacher
806f0e0518 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
cddc0aa383 explain - in man page 2010-09-27 17:24:55 +02:00
Sebastian Ramacher
971c20c1dc read from stdin: really delete temporary file 2010-09-27 17:19:56 +02:00
Sebastian Ramacher
58723a9313 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
6d3a5bae92 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
792b657b28 mention -d in man page 2010-09-27 15:44:04 +02:00
Sebastian Ramacher
17c5ec66d0 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
d76ff99ccd Update configuration 2010-08-19 19:39:50 +02:00
Moritz Lipp
ed05e754aa Update Makefile 2010-08-18 08:54:52 +02:00
Moritz Lipp
1204cfe197 Build fix for Fedora 13+
Thanks to François Cami
2010-08-14 10:17:30 +02:00
Moritz Lipp
2a0ed76de9 Fixed printing 2010-08-01 13:40:04 +02:00
Moritz Lipp
33fa15c92a Merge branch 'master' of pwmt.org:zathura
Conflicts:
	config.mk
2010-08-01 13:39:53 +02:00
Moritz Lipp
a979753dc1 Updated manpage 2010-07-30 17:44:03 +02:00
Moritz Lipp
92610885e7 Version 0.0.8.1 2010-07-30 12:17:48 +02:00
Moritz Lipp
5fb26bd6c1 Fixed segmentation fault when mapping keys 2010-07-30 11:11:43 +02:00
Moritz Lipp
8e236e18fd Updated manpage 2010-07-30 10:48:18 +02:00
Moritz Lipp
15eb0cc792 Version 0.0.8 2010-07-29 17:10:28 +02:00
Moritz Lipp
3213792ba1 Fix some memory leaks 2010-07-25 20:26:16 +02:00
Moritz Lipp
bc791ca517 Reset inputbar handler 2010-07-24 00:52:36 +02:00
Moritz Lipp
72fcf073c7 Change to NORMAL mode in isc_abort 2010-07-24 00:52:06 +02:00
Moritz Lipp
8847f34afe Allow configurable modes 2010-07-24 00:51:47 +02:00
Moritz Lipp
babaeacbf8 Fixed some quoating issues
Thanks to Sebastinas
2010-07-23 14:06:05 +02:00
Moritz Lipp
b541f617ae 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
98bf13102c Read global configuration file
Thanks to Sebastinas
2010-07-22 23:27:17 +02:00
Moritz Lipp
49e4e8abe1 Updated clear command 2010-07-20 20:42:33 +02:00
Moritz Lipp
4ff2e92630 Began to clean up some memory issues in the complete function (TODO) 2010-07-18 20:08:51 +02:00
Moritz Lipp
14b7cb633e Fixed some memory issues 2010-07-18 19:52:05 +02:00
Moritz Lipp
33056bfeb3 Updated manpage 2010-07-15 22:42:06 +02:00
Moritz Lipp
2c0b6d936a Escape uri/filename in open_uri/cmd_print 2010-07-15 22:39:48 +02:00
Moritz Lipp
047c6976d4 Fix segmentation fault in nav_index 2010-07-13 08:36:16 +02:00
Moritz Lipp
5d7c3b0c9b Updated Makefile 2010-07-08 20:32:27 +02:00
Moritz Lipp
e53c202889 Updated Makefile
Thanks to Sebastinas
2010-07-08 12:41:56 +02:00
Moritz Lipp
8a20451527 Delete line to start
Thanks to n0nsense
2010-07-08 12:35:57 +02:00
Moritz Lipp
fa8818bb0f Updated print command 2010-07-07 18:44:37 +02:00