summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-02-23build: skip configure check for built-in lpeg if lua is not foundMarc André Tanner
$ ./configure --disable-lua will no longer look for liblpeg.
2017-02-23vis: remove `gf` and `<C-w>gf` functionalityMarc André Tanner
This can also be implemented using Lua, if desired.
2017-02-23text-object: remove text_object_numberMarc André Tanner
This was only used by the number increment/decrement action. The same functionality (and more) can be implemented in lua using something like: vis:textobject_new("in", function(win, pos) return win.file:match_at(vis.lexers.integer + vis.lexers.float, pos, 64) end, "Number text object")
2017-02-23vis: remove number increment/decrement functionalityMarc André Tanner
By now we should have the necessary Lua API to implement this as an extension.
2017-02-23vis-lua: use shorter type namesMarc André Tanner
2017-02-23vis-lua: cleanup type checks by using #define'sMarc André Tanner
2017-02-23vis-lua: make vis:count assignableMarc André Tanner
2017-02-22vis-lua: expose current count specifier as vis:countMarc André Tanner
2017-02-22lua: add file:match_at method to match LPeg pattern around a positionMarc André Tanner
2017-02-22vis-lua: expose type meta tables through vis.typesMarc André Tanner
This should allow the Lua code to add new methods even if it has no existing object references.
2017-02-22lua: expose vis:module_exist method, load lexer and lpeg module during startupMarc André Tanner
2017-02-22vis-lua: check for nil return value of text object callbackMarc André Tanner
2017-02-22test: updateMarc André Tanner
2017-02-22vis: simplify `r` implementation and fix cursor positioningMarc André Tanner
2017-02-22vis: add exact count motion flagMarc André Tanner
Some motions should fail (i.e. keep the initial position) when the specified count can not be satisfied exactly. Examples include t, f, T, and F. Fix #497
2017-02-22test: add some general testing tipsMarc André Tanner
2017-02-22test/vim: add test for `t` motionMarc André Tanner
2017-02-22test/vis: add regression test for ec9007f0512930bc16f23e97ea626799187700b6Marc André Tanner
2017-02-21Tweak READMEMarc André Tanner
2017-02-21sam: make sure all commands can be undoneMarc André Tanner
Take a snapshot before and after processing the transcript.
2017-02-21sam: reformat code to avoid one level of indentationMarc André Tanner
2017-02-20test: updateMarc André Tanner
2017-02-20test/fuzz: add fuzzing driver for bufferMarc André Tanner
2017-02-20buffer: fix integer overflow issueMarc André Tanner
2017-02-20buffer: add buffer_growMarc André Tanner
2017-02-20buffer: rename buffer_grow to buffer_reserveMarc André Tanner
2017-02-20test/fuzz: add fuzzing infrastructureMarc André Tanner
For now we use the american fuzzy lop in the future we might also add libFuzzer support.
2017-02-20text: fix some integer overflow issuesMarc André Tanner
2017-02-20util: add overflow safe unsigned addition functionMarc André Tanner
2017-02-20test/core: add msan make targetMarc André Tanner
2017-02-18appveyor: let Cygwin handle the environment variableMarc André Tanner
That way the path translation logic kicks in.
2017-02-18appveyor: try to fix yaml multiline syntaxMarc André Tanner
2017-02-18test: updateMarc André Tanner
2017-02-18test/core: rename files to have distinct namesMarc André Tanner
Having different names for the test driver/actual implementation might make the Travis / Codecov errors less confusing.
2017-02-18appveyor: fix symlinks for Cygwin buildsMarc André Tanner
Git for windows is used to checkout the repository and it creates broken symlinks (files containing the target) which break the tests because e.g. the lexer.lua module can not be loaded. We use a bash script to convert these pseudo symlinks: http://stackoverflow.com/questions/38140373 and invoke it via powershell because that seems to be the only way to execute multiline commands from within the AppVeyor YAML configuration file.
2017-02-17test: updateMarc André Tanner
2017-02-17test/vis: add some more testsMarc André Tanner
2017-02-17vis: cleanup error paths in key action handling codeMarc André Tanner
2017-02-17build: more complete cleanup in make cleanMarc André Tanner
2017-02-17test/core: add some more array related testsMarc André Tanner
2017-02-16test/vis: set UTF-8 localeChristian Hesse
The test vis/insert-mode/digraph fails with a non-UTF-8 locale. So set LANG="en_US.UTF-8" in test script.
2017-02-16test: updateMarc André Tanner
2017-02-16test/vis: add some tests for digraphs and verbatim insertionMarc André Tanner
2017-02-16build: enable RDP access to AppVeyor build workersMarc André Tanner
Also include all *.exe files into the bulid artifact.
2017-02-16travis: fix yaml syntaxMarc André Tanner
2017-02-16test: updateMarc André Tanner
2017-02-16Move more README content to the WikiMarc André Tanner
Still hopefully that it will eventually become accessible again. After github reverts the flagging of my account. For now I have cloned it locally just in case.
2017-02-16travis: try to fix code coverage for test/coreMarc André Tanner
The test/core tests use source files from the repository root (e.g. ../../text.c) which seems to confuse gcov and/or codecov.io because the same file is used under multiple paths. We add a new entry to the test matrix which just runs the core/tests. This is done by invoking the `make clean` target and skipping any tests which require the main vis binary.
2017-02-16test/vis: patch Lua package.path to include source repositoryMarc André Tanner
This might fix the tests on systems where /proc/self/exe is not available.
2017-02-15test: updateMarc André Tanner
This will most likely break macOS travis builds.