aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-06-04Add option to hide EOF markerPhilipp Emanuel Weidmann7-5/+26
2017-06-03build: port self-contained executable to libuntarMarc André Tanner3-63/+36
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 Hesse3-60/+64
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 Hesse1-3/+3
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é Tanner1-0/+1
2017-06-01build: strip vis-single by defaultChristian Hesse1-0/+1
2017-06-01build: use single threaded compression for reproducible buildsChristian Hesse1-1/+1
2017-06-01vis: use more portable format string for wchar_tMarc André Tanner1-1/+2
Use upper case Unicode (U+XXXX) notation for `ga`. Fix #568
2017-06-01build: inject the version into docker imageChristian Hesse1-0/+1
2017-05-31vis: fix compiler warning concerning write(2) return valueMarc André Tanner1-1/+1
2017-05-31build: remove make standalone leftoversMarc André Tanner1-33/+4
2017-05-31build: switch docker image to i386 architectureMarc André Tanner1-1/+1
2017-05-31build: try to make docker build reproducibleMarc André Tanner2-2/+3
2017-05-31build: add a make docker targetMarc André Tanner1-1/+11
This should produce a self-contained vis binary for x86_64 Linux.
2017-05-31build: cleanup self contained executableMarc André Tanner4-100/+120
Set $PATH and $TERMINFO_DIRS environment variables, use chdir(2) to simplify extraction logic, improve error handling.
2017-05-31build: remove standaloneChristian Hesse1-127/+0
2017-05-31build: remove shell based self contained executableChristian Hesse2-126/+0
2017-05-31build: allow to build self-contained executableChristian Hesse4-2/+170
2017-05-31build: add Dockerfile for static builds from AlpineMarc André Tanner1-0/+14
Signed-off-by: Christian Hesse <mail@eworm.de>
2017-05-31vis-lua: fix file:match_at API documentationMarc André Tanner1-1/+1
2017-05-30lexer: add simple strace(1) output lexerMarc André Tanner2-0/+36
2017-05-30ui: reopen terminal read-writeableMarc André Tanner1-1/+1
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é Tanner1-1/+2
Also fix compilation with ./configure --disable-help.
2017-05-27vis-lua: expose functions to unmap key bindingsMarc André Tanner1-0/+40
2017-05-27vis-lua: expose currently active key bindings through APIMarc André Tanner3-1/+40
Close #563
2017-05-27vis: remove unused enumeration constantsMarc André Tanner1-2/+0
2017-05-19vis: improve `:<` command implementationMarc André Tanner1-3/+13
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é Tanner1-3/+11
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é Tanner1-0/+5
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é Tanner1-0/+3
2017-05-15sam: use default address for file looping commandsMarc André Tanner1-2/+4
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é Tanner1-0/+2
luaL_openlibs is actually declared in lualib.h.
2017-05-12vis: immediately update screen after a vis_redraw callMarc André Tanner1-0/+1
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 Beatty1-0/+1
2017-05-11Move the #defines within the #include guardsParide Legovini1-5/+4
2017-05-11Fix compilation on GNU Hurd systemsParide Legovini1-0/+11
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é Tanner1-3/+3
This is still work in progress.
2017-05-07Revert "doc: specify complete file names"Marc André Tanner1-5/+5
This reverts commit b37ebfb7e9deeef0420c2c4c0b0b31b854cdb118.
2017-05-07doc: specify complete file namesMarc André Tanner1-5/+5
This might fix index generation on vis.rtfd.io.
2017-05-06vis: add vis_interrupt{,requested} functionsMarc André Tanner2-0/+20
2017-05-06vis: add doxygen commentsMarc André Tanner8-176/+731
Rename some structures, add typedefs for function pointers, remove unused arguments from vis_run.
2017-05-04vis: improve job control for forked processMarc André Tanner1-2/+27
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é Tanner3-17/+2
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é Tanner2-8/+9
2017-05-03text: remove text_insert_newline functionMarc André Tanner4-10/+4
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é Tanner4-18/+21
2017-05-03vis: introduce count iterator to handle interrupted flagMarc André Tanner3-2/+36
2017-05-03text: add miscellaneous documentation sectionMarc André Tanner2-8/+17
2017-05-03text: rename text_sigbus to text_mmapedMarc André Tanner3-6/+9
Add casts to uintptr_t to avoid unrelated pointer comparisons.
2017-05-03text: rename text_byte_get argument nameMarc André Tanner1-2/+2