aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-06-07ui: fix terminal UI on serial consoleMarc André Tanner1-4/+4
Make sure we do not override the 80x24 default terminal size with zero size as reported by an actual serial console.
2020-05-30test: updateMarc André Tanner1-5/+5
2020-05-30test/fuzz: simplify MakefileMarc André Tanner1-2/+4
2020-05-30vis: fix implicit enum conversion warningMarc André Tanner1-1/+1
2020-05-30build: update alpine in docker build to version 3.12Christian Hesse1-1/+1
2020-05-14test/fuzz: add libfuzzer target for text data structureMarc André Tanner5-6/+37
This reuses the existing fuzzing driver initially written for afl-fuzz. As a consequence, quite a bit of stdio code is involved which is probably not optimal.
2020-05-14test/fuzz: fix compilation by adapting to newer APIMarc André Tanner1-2/+2
2020-05-14test/fuzz: add missing CFLAGSMarc André Tanner1-2/+2
2020-05-13doc: update outdated version informationMarc André Tanner1-2/+2
2020-05-13doc: update sphinx configuration to python 3Marc André Tanner1-10/+10
This was performed automatically using: 2to3 -w conf.py
2020-05-13test: updateMarc André Tanner1-9/+5
2020-05-13test/vim: remove test which fails on macOSMarc André Tanner3-15/+0
2020-05-13test/core: add basic save/load tests involving linksMarc André Tanner1-0/+22
2020-05-13test/core: add basic save/load sanity testsMarc André Tanner1-5/+46
2020-05-13test/core: remove unused variableMarc André Tanner1-1/+0
2020-05-13test/core: instruct memory sanitizer to track memory originMarc André Tanner1-1/+1
2020-05-13test/core: fix memory leak in array testMarc André Tanner1-0/+1
2020-05-13text: introduce text_save_method, remove text_save_rangeMarc André Tanner2-17/+22
This utility function is analogous to text_load_method and allows the caller to specify how the file should be saved. It is implemented as a wrapper around the lower level text_save_{begin,write,commit} primitives. The unused text_save_range function has been removed. If needed, use the aforementioned lower level functionality.
2020-05-13test/core: update ccan tap moduleMarc André Tanner1-2/+2
Syncs to last upstream change d1a951b82386391b82e48b32403891f85e253565 of the tap module.
2020-05-12test: updateMarc André Tanner1-11/+7
2020-05-12build: use -O2 by defaultMarc André Tanner1-1/+1
2020-05-12vis: cleanup pre-processing of :-commandsMarc André Tanner1-5/+5
Not sure why we need to allocate space for an additional character. This also avoids creating out of bound pointers.
2020-05-12Tweak READMEMarc André Tanner1-2/+1
2020-05-12vt100: do not crash if termkey is not yet initializedMarc André Tanner1-0/+1
Previously calling die would segfault, e.g: $ vis .
2020-05-11test/core: fix compilation with gcc 10Marc André Tanner2-1/+3
Newer gcc rejects multiple definitions of global variables. Fix #21
2020-04-29ui: fix line number drawingMarc André Tanner1-2/+2
Fix #830
2020-04-29build: fix _XOPEN_SOURCE redefinition warningMarc André Tanner1-1/+1
Was also reported in #780.
2020-04-28vis: make <Escape> reset count in visual modesMarc André Tanner2-1/+17
2020-04-28vis: make <Escape> reset count in normal modeMarc André Tanner2-1/+17
Fix #825
2020-04-28lexers: prioritize markdown list ruleMarc André Tanner1-1/+1
Reorder the list rule such that it matches before the rule for code blocks. There are still some problems with multiline list items which are indented and wrongly matched as code blocks.
2020-04-28lexers: make markdown white space rule less greedyMarc André Tanner1-1/+1
This should give the code block rule a chance to actually match something, whereas before all leading white space was already consumed. Fix #823
2020-04-28man: document theme locationMarc André Tanner1-0/+5
Fix #824
2020-04-27Avoid use of VLAsMichael Forney7-25/+42
2020-04-27vt100: use shorter escape sequence to clear screenMarc André Tanner1-2/+2
Instead of clearing the whole screen and then moving the cursor to the home position, we can first move it there and then clear everything below it.
2020-03-23Add Julia lexerTobias Frilling2-0/+150
2020-03-18Merge branch 'single-cursor-is-primary' of https://github.com/3dc1d3/visMarc André Tanner1-2/+1
2020-03-17color-column: Don't change fg/bg if not set explicitlyGennadiy Volkov4-1/+16
eg. if your long line is a comment with green fg, and you set your column color bg red while not specifying the fg, then the result is green fg on red bg. Prior to this change the result would be default fg on red bg, thus one char in the long line of green text would look odd/wrong. Of course if you do explicitly set the column color fg to default in your theme then the result will not be what you expect - ideally we need an UNSPECIFIED color type instead of relying on DEFAULT.
2020-03-17Set single cursor style as primary, not secondaryGennadiy Volkov1-2/+1
2020-03-15sam: fix X and Y commands which were interchangedMarc André Tanner1-2/+2
Fix #820
2020-03-03Add Elm lexerKarl Schultheisz2-0/+67
2020-02-29sam: fix spurious "file exists" warningsMarc André Tanner1-1/+1
When initially opened with a non-existing file we would not correctly track the file's meta data resulting in spurious warnings upon subsequent writes. It is fixed by also saving the meta data for previously non-existing files with matching paths.
2020-02-26build: provide install-strip make targetMarc André Tanner1-5/+7
Do not strip executables by default. Fix #811
2020-02-26ci: fix Alpine build by installing terminfo dataMarc André Tanner1-0/+1
Otherwise the terminfo file for the default $TERM (xterm-256color) is missing, causing vis to fail because libtermkey can not be initialized properly.
2020-02-25test: updateMarc André Tanner1-5/+13
2020-02-25ci: remove Travis CI integrationMarc André Tanner1-95/+0
macOS based builds are now run with Github actions.
2020-02-25ci: remove Appveyor integrationMarc André Tanner1-62/+0
Windows/Cygwin based builds are now run with Github actions.
2020-02-25ci: improve OpenBSD Lua installationMarc André Tanner1-1/+1
By omitting the exact (minor) version number, this should be more future proof.
2020-02-25Revert "test/vis: use C.UTF-8 locale"Marc André Tanner1-1/+1
Apparently the C.UTF-8 locale is not yet supported by upstrem glibc. As a result this breaks the tests on distributions such as Arch Linux which use unmodified glibc. This reverts commit 92ee4fc43fd750246bbc1529082c0c0c8d9f233e. Fix #20
2020-02-25ci: make sure en_US.UTF-8 locale is available on DebianMarc André Tanner1-0/+3
2020-02-25ci: disable codecov commit status updatesMarc André Tanner1-3/+2