| Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
Lua support can now be disabled at compile time using:
$ make CONFIG_LUA=0
This commit also adds an initial Lua API and provides a few
default hooks.
We now also require Lua >= 5.2 due to the uservalue constructs.
In principle the same functionality could be implemented using
function environments from Lua 5.1.
|
|
For musl this is a nop, it contains the relevant code in libc
and provides and empty libdl archive for compatibility.
However certain glibc based system need it.
|
|
Make lpeg module table explicitly global, which should work
with the different module loading semantics.
|
|
Add separate per library {C,LD}FLAGS and use default values
from pkg-config to allow for finer control.
Disable pkg-config by setting PKG_CONFIG_PATH= PKG_CONFIG_LIBDIR=
Override flags completely by specifying them as arguments to make:
$ make CFLAGS_CURSES="your custom flags for curses"
Also introduce a new, experimental Makefile target standalone. It
tries to build a self contained statically linked vis binary. All
dependencies (musl, ncurses, termkey, lua, lpeg) are build from
source. Lua is patched to include lpeg as a statically built module.
|
|
Should hopefully fix build on Mac OS X.
|
|
|
|
|
|
|
|
|
|
Key bindings are now specified as symbolic key strings, this
will eventually allow run time configurable key mappings.
This introduces a bulid time dependency on libtermkey which
can be found at:
http://www.leonerd.org.uk/code/libtermkey/
|
|
Try to do an atomic save using rename(2) unless
* the file is a symbolic link
* the file is a hard link
* file ownership can not be preserved
* file group can not be preserved
* POSXI ACL can not be preserved (if enabled)
* SELinux security context can not be preserved (if enabled)
in which case the file is overwritten in place. However a failure
to do so results in data loss.
Closes #47.
|
|
|
|
Signed-off-by: Christian Hesse <mail@eworm.de>
|
|
|
|
|
|
Unfortunately this breaks support for BSD make.
|
|
|
|
|