| Age | Commit message (Collapse) | Author | Files | Lines |
|
This is basically the same as b18acc1.
|
|
|
|
|
|
|
|
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.
|
|
If the current $TERM value indicates 256 color support fall back
to xterm-256color otherwise try xterm.
Improves upon 43605fded457cec954600b688d54242341eedc7c
Closes #105
|
|
|
|
Force ncurses libdir to be /usr/lib not /usr/lib64.
|
|
|
|
|
|
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.
|
|
This merges parts of the build system overhaul found in the lua
branch.
|
|
Should hopefully fix build on Mac OS X.
|
|
|
|
|
|
|
|
For this to work make sure you have vis-open and slmenu or dmenu
somewhere in $PATH.
For now the file dialog is shown for :open, :split and :vsplit
when the argument is either . (a dot) or looks like a file pattern.
For example
:open *.[ch]
will show a listing of all C source and header files in the current
directory. Use a fuzzy search to make your choice.
|
|
This fixes `make debug` on OpenBSD (and possibly other systems) where
/usr/bin/make isn't GNU make.
|
|
This fixes make to rebuild when files change.
Signed-off-by: Christian Hesse <mail@eworm.de>
|
|
vis is a real file, so remove it from .PHONY in Makefile. This fixes
make to not rebuild on every invocation.
Signed-off-by: Christian Hesse <mail@eworm.de>
|
|
This should fix compilation with:
LDFLAGS=-Wl,--as-needed make
|
|
If time permits I still want to experiment with different editing
paradigms and write a proper nano/sandy/sam frontend but at the
moment it is just bitrotting and not very useful.
|
|
Use $CC *.c -o vis to enable global link time optimization.
This also fixes issues with parallel builds.
config.h is no longer symlinked to config.def.h which allows
local modifications.
|
|
Unfortunately this breaks support for BSD make.
|
|
|
|
At some point this should be optimized further at the moment there
is some 20 byte overhead for each entered key.
|
|
|
|
|
|
|
|
|
|
window.[ch] now contains a somewhat generic editor window which is
then enhanced in vis.[ch] with a statusbar.
|
|
Still very incomplete
|
|
|
|
|