aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-02-23vis-lua: cleanup type checks by using #define'sMarc André Tanner1-68/+80
2017-02-23vis-lua: make vis:count assignableMarc André Tanner1-0/+10
2017-02-22vis-lua: expose current count specifier as vis:countMarc André Tanner1-0/+13
2017-02-22lua: add file:match_at method to match LPeg pattern around a positionMarc André Tanner1-0/+31
2017-02-22vis-lua: expose type meta tables through vis.typesMarc André Tanner1-5/+25
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é Tanner3-25/+31
2017-02-22vis-lua: check for nil return value of text object callbackMarc André Tanner1-1/+1
2017-02-22test: updateMarc André Tanner1-5/+5
2017-02-22vis: simplify `r` implementation and fix cursor positioningMarc André Tanner2-11/+3
2017-02-22vis: add exact count motion flagMarc André Tanner3-3/+14
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-21Tweak READMEMarc André Tanner1-59/+27
2017-02-21sam: make sure all commands can be undoneMarc André Tanner1-0/+2
Take a snapshot before and after processing the transcript.
2017-02-21sam: reformat code to avoid one level of indentationMarc André Tanner1-34/+34
2017-02-20test: updateMarc André Tanner1-8/+5
2017-02-20buffer: fix integer overflow issueMarc André Tanner1-1/+2
2017-02-20buffer: add buffer_growMarc André Tanner3-4/+13
2017-02-20buffer: rename buffer_grow to buffer_reserveMarc André Tanner3-7/+7
2017-02-20text: fix some integer overflow issuesMarc André Tanner1-3/+6
2017-02-20util: add overflow safe unsigned addition functionMarc André Tanner1-0/+14
2017-02-18appveyor: let Cygwin handle the environment variableMarc André Tanner1-1/+1
That way the path translation logic kicks in.
2017-02-18appveyor: try to fix yaml multiline syntaxMarc André Tanner1-15/+14
2017-02-18test: updateMarc André Tanner1-5/+8
2017-02-18appveyor: fix symlinks for Cygwin buildsMarc André Tanner1-0/+18
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é Tanner1-5/+5
2017-02-17vis: cleanup error paths in key action handling codeMarc André Tanner1-6/+10
2017-02-17build: more complete cleanup in make cleanMarc André Tanner1-1/+1
2017-02-16test: updateMarc André Tanner1-7/+5
2017-02-16build: enable RDP access to AppVeyor build workersMarc André Tanner1-1/+3
Also include all *.exe files into the bulid artifact.
2017-02-16travis: fix yaml syntaxMarc André Tanner1-4/+4
2017-02-16test: updateMarc André Tanner1-5/+7
2017-02-16Move more README content to the WikiMarc André Tanner1-218/+13
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é Tanner1-12/+17
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-15test: updateMarc André Tanner1-5/+5
This will most likely break macOS travis builds.
2017-02-15vis: use single function call to print version informationMarc André Tanner1-12/+6
This results in a slightly smaller binary while still avoiding #ifdefs. Close #494
2017-02-15vis: remove motion and text objects related to C functionsMarc André Tanner9-197/+0
These do not really belong into the editor core. If desired they could be implemented in Lua instead.
2017-02-15text-motions: remove unused text_line_lastcharMarc André Tanner4-21/+2
2017-02-14travis: re-enable code coverageMarc André Tanner1-1/+1
2017-02-14travis: use apsolute paths for ${C,LD}FLAGSMarc André Tanner1-1/+1
This should fix build breakage of the test/util/keys utility.
2017-02-14travis: tweak build matrixMarc André Tanner1-20/+18
Try to test the different regex backends and builds with/without Lua support.
2017-02-14test: updateMarc André Tanner1-5/+5
2017-02-14vis: add compile time features to version outputMarc André Tanner1-1/+12
2017-02-12view: improve handling of long sequences of combining charactersMarc André Tanner1-1/+3
They will still not be displayed correctly, but at least they should no longer cause memory errors.
2017-02-11test: updateMarc André Tanner1-9/+5
Should fix travis failure.
2017-02-11test: updateMarc André Tanner1-5/+9
2017-02-10vis: make r handle special keys like <Tab>Marc André Tanner1-8/+4
Unlike vim we do not respect `:set expandtab` here.
2017-02-10vis: make t, T, f and F work for special keysMarc André Tanner1-9/+5
Fix #491
2017-02-10vis: introduce vis_keys_utf8Marc André Tanner3-1/+14
2017-02-09sam: fix bogus clang compiler warningMarc André Tanner1-1/+2
Strictly speaking this is a compiler bug: https://llvm.org/bugs/show_bug.cgi?id=22062 The C11 standard section 6.4.4.3 says: "An identifier declared as an enumeration constant has type int." and 6.7.2.2: "Each enumerated type shall be compatible with char, a signed integer type, or an unsigned integer type. The choice of type is implementation-defined, but shall be capable of representing the values of all the members of the enumeration." So while `err` can store a value larger than that of any enumeration member, it could also be of signed type, resulting in a warning about comparing integers of different signs. Converting it to size_t before the range check and array indexing, should fix both warnings. Fix #478
2017-02-09text: fix use of uninitialized variable in error pathMarc André Tanner1-2/+2
2017-02-09Slightly update developer section of READMEMarc André Tanner1-12/+29