summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-06-04Add option to hide EOF markerPhilipp Emanuel Weidmann
2017-06-03build: port self-contained executable to libuntarMarc André Tanner
It is currently not packaged by Alpine which is why we are building it during docker image creation. Also cleanup vis-single.
2017-06-02port self-contained executable to libtarChristian Hesse
libarchive is nice, but adds a lot of bloat we carry around without using it. So port to libtar.
2017-06-01build: produce reproducible self contained executableChristian Hesse
Giving tar the parameter '--sort=name' sorts direcory entries, but keeps single files as-is. So instead sort the list retrieved by find. Also set the file mode... Works for me. [TM] :D
2017-06-01Merge branch 'strip' of https://github.com/eworm-de/visMarc André Tanner
2017-06-01build: strip vis-single by defaultChristian Hesse
2017-06-01build: use single threaded compression for reproducible buildsChristian Hesse
2017-06-01vis: use more portable format string for wchar_tMarc André Tanner
Use upper case Unicode (U+XXXX) notation for `ga`. Fix #568
2017-06-01build: inject the version into docker imageChristian Hesse
2017-05-31vis: fix compiler warning concerning write(2) return valueMarc André Tanner
2017-05-31build: remove make standalone leftoversMarc André Tanner
2017-05-31build: switch docker image to i386 architectureMarc André Tanner
2017-05-31build: try to make docker build reproducibleMarc André Tanner
2017-05-31build: add a make docker targetMarc André Tanner
This should produce a self-contained vis binary for x86_64 Linux.
2017-05-31build: cleanup self contained executableMarc André Tanner
Set $PATH and $TERMINFO_DIRS environment variables, use chdir(2) to simplify extraction logic, improve error handling.
2017-05-31build: remove standaloneChristian Hesse
2017-05-31build: remove shell based self contained executableChristian Hesse
2017-05-31build: allow to build self-contained executableChristian Hesse
2017-05-31build: add Dockerfile for static builds from AlpineMarc André Tanner
Signed-off-by: Christian Hesse <mail@eworm.de>
2017-05-31vis-lua: fix file:match_at API documentationMarc André Tanner
2017-05-30lexer: add simple strace(1) output lexerMarc André Tanner
2017-05-30ui: reopen terminal read-writeableMarc André Tanner
libtermkey fails if the terminal file descriptor is read only. This should fix the `v` command in less(1).
2017-05-27vis-lua: avoid nil values in table returned by vis:mappingMarc André Tanner
Also fix compilation with ./configure --disable-help.
2017-05-27vis-lua: expose functions to unmap key bindingsMarc André Tanner
2017-05-27vis-lua: expose currently active key bindings through APIMarc André Tanner
Close #563
2017-05-27vis: remove unused enumeration constantsMarc André Tanner
2017-05-19vis: improve `:<` command implementationMarc André Tanner
When we have nothing to write to an external process, redirect stdin to /dev/null instead of using a pipe which is immediately closed. Some commands change their behavior when used in a shell pipeline. As an example the following did not work as expected: :< ag pattern Fix #556
2017-05-17vis: ensure complete ! command output is displayedMarc André Tanner
For interactive processes started using `:!` stdout is redirected to stderr normally used by vis to draw its user interface. For some reason the first byte written by the interactive application is not being displayed. I suspect it has something to do with the terminal state change. For now we are writing a dummy space (which is never shown) ourself to ensure that the complete output is visible. Fix #545
2017-05-17man: mention regex anchor behaviorMarc André Tanner
In vis ^ and $ always match the beginning / end of the range which they are applied to. This differs from sam where they only match at the beginning / end of a line. Close #554
2017-05-15man: mention `o` to change selection directionMarc André Tanner
2017-05-15sam: use default address for file looping commandsMarc André Tanner
This sould fix a clang analyzer warning and make the code more robust. The problem could actually not occur in practice because the X and Y commands always have the internal cmd_select as intermediate node in the execution tree. In general the multiple file support will need more design work. Fix #551
2017-05-13build: fix warning in lua related configure checkMarc André Tanner
luaL_openlibs is actually declared in lualib.h.
2017-05-12vis: immediately update screen after a vis_redraw callMarc André Tanner
By default we only update the screen once per main loop iteration. This might change in the future, but for now we force an update when a redraw is explicitly requested.
2017-05-12Add a whitespace rule for the "elixir" lexer.Tynan Colin Beatty
2017-05-11Move the #defines within the #include guardsParide Legovini
2017-05-11Fix compilation on GNU Hurd systemsParide Legovini
On GNU Hurd systems PIPE_BUF and PATH_MAX are not defined, and the compilation fails. This patch defines them if they aren't.
2017-05-07Link to C API documentation of master branchMarc André Tanner
This is still work in progress.
2017-05-07Revert "doc: specify complete file names"Marc André Tanner
This reverts commit b37ebfb7e9deeef0420c2c4c0b0b31b854cdb118.
2017-05-07doc: specify complete file namesMarc André Tanner
This might fix index generation on vis.rtfd.io.
2017-05-06vis: add vis_interrupt{,requested} functionsMarc André Tanner
2017-05-06vis: add doxygen commentsMarc André Tanner
Rename some structures, add typedefs for function pointers, remove unused arguments from vis_run.
2017-05-04vis: improve job control for forked processMarc André Tanner
We need to unblock SIGTERM for the child process. Also we should deliver signals to the correct process group. This is still fragile and will need to be rewritten when we finally introduce a global event loop.
2017-05-03text: remove text_history_get functionMarc André Tanner
As currently implemented this does not properly integrate with multiple cursor support. The functionality should be provided in a layer higher up. The jumplist and changelist need to be redesigned, for now they are broken.
2017-05-03text: remove text_iterate macroMarc André Tanner
2017-05-03text: remove text_insert_newline functionMarc André Tanner
This is no longer needed because we always insert \n never \r\n.
2017-05-03text: remove count argument from text_{earlier,later}Marc André Tanner
2017-05-03vis: introduce count iterator to handle interrupted flagMarc André Tanner
2017-05-03text: add miscellaneous documentation sectionMarc André Tanner
2017-05-03text: rename text_sigbus to text_mmapedMarc André Tanner
Add casts to uintptr_t to avoid unrelated pointer comparisons.
2017-05-03text: rename text_byte_get argument nameMarc André Tanner