aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-05-17vis-lua: expose current input_queue contentMarc André Tanner1-0/+9
2018-05-17Add support for Fantom language syntax highlightingSemyon Maryasin2-0/+108
http://fantom.org/
2018-05-16Merge branch 'check-shadow-permissions' of https://github.com/paride/vis-testMarc André Tanner1-1/+1
2018-05-16Merge branch 'test-cleanup' of https://github.com/paride/vis-testMarc André Tanner2-0/+2
2018-05-16add plist (xml) filetypeErlend Fagerheim1-1/+1
2018-05-16test: upate to adapt to recent changesMarc André Tanner1-5/+7
2018-05-16vis: make sure zb redraws line at the bottom if possibleMarc André Tanner1-3/+0
Previously it would do nothing if the cursor was already on the last display line. Fix #697
2018-05-16sam: keep selections after :> commandMarc André Tanner1-3/+0
Fix #700
2018-05-16vis: remove v and V in operator pending modeMarc André Tanner6-31/+4
2018-05-16vis: remove gPMarc André Tanner2-7/+0
This only removes the user visible mapping, the underlying implementation is kept for now. It is used in insert mode for the implementation of <C-r> (register insertion).
2018-05-16vis: remove gpMarc André Tanner2-7/+0
This only removes the user visible mapping, the underlying implementation is kept for now. This might change in the future.
2018-05-16vis: implement g~ using tr(1)Marc André Tanner4-36/+2
2018-05-16vis: implement gU using tr(1)Marc André Tanner4-11/+1
2018-05-16vis: implement gu using tr(1)Marc André Tanner4-11/+1
2018-05-16vis: remove gq alias for =Marc André Tanner2-5/+1
2018-05-16text: use mkstemp(3) for temporary file creation in atomic savesMarc André Tanner2-9/+29
Instead of simply appending a tilde to the original file name, we now create an unique temporary file based on the pattern `.filename.vis.XXXXXX`. In case the file does not yet exist, we use 0666 & ~umask as permission, (this should match the previous `open(2)` based behavior).
2018-05-16text: do not unlink existing `file~` when saving to `file`Marc André Tanner1-1/+3
Fail atomic save if temporary file already exists. A follow up commit will use `mkstemp(3)` for temporary file creation.
2018-05-15test/vim: remove tests for obsolete featuresMarc André Tanner5-7/+8
Adjust to removed/changed functionality.
2018-05-12lexers: handle pony triple quoted strings properlyMurray1-1/+3
2018-05-03Check that /etc/shadow is actually not readableParide Legovini1-1/+1
In some chrooted build enviroments the build/test process runs with UID=0. In these cases the "Opening file without sufficient permissions" test fails, as /etc/shadow is readable. Let's perform it only if it is actually not readable.
2018-04-15make clean: actually cleanup everythingParide Legovini2-0/+2
Fixes: #13.
2018-04-15Update year numbers in copyright informationMarc André Tanner2-2/+2
2018-04-15Explicitly add ISC licenseMarc André Tanner1-0/+13
Close #14
2018-04-15ui: make sure $TERM is setMarc André Tanner1-1/+3
libtermkey passes the $TERM value unchecked to libunibilium which just aborts (in debug builds) or crashes (in release builds). Workaround that by defaulting to `xterm`, if $TERM is unset. It should eventually be fixed in libtermkey/unibilium too. This fixes test suite failures on the Debian package build environment. It might also be the reason for failures in other CI environments e.g.: https://github.com/alpinelinux/aports/pull/3768
2018-04-10array: fix off by one error in array_removeMarc André Tanner1-1/+1
If the array was full, attempting to remove an element caused an out of bounds memory access. As an example this was triggered when reaching the capacity limit of the jumplist. It can be forced by repeatedly searching for something (i.e. `/.` and then holding down `n`).
2018-04-10Merge branch 'typos' of https://github.com/Two-Finger/visMarc André Tanner6-24/+24
2018-04-08Updates to ruby lexer:Lucas Tolchinsky1-4/+4
Adds `extend`, `include`, `module_function` and `require_relative`.
2018-04-08Fix "parenthese" in identifiersTwoFinger6-24/+24
2018-03-29test/vis: delete test depending on external sed(1) invocationMarc André Tanner3-5/+0
2018-03-29lexers: add async/await keywords to javascriptDelapouite1-8/+9
2018-03-28Merge branch 'rej' of https://github.com/eworm-de/visMarc André Tanner1-1/+1
2018-03-27Add .rej as a diff/patch file extensionChristian Hesse1-1/+1
2018-03-27main: fix a few typos in commentsDelapouite1-2/+2
2018-03-26man: fix POSIX vi(1) referenceMarc André Tanner1-1/+2
Fix #687
2018-03-26lexers: remove execution file permission from clojure lexerMarc André Tanner1-0/+0
Fix #686
2018-03-25build: add git based version information backMarc André Tanner1-1/+1
2018-03-25build: set version to 0.5Marc André Tanner1-1/+1
2018-03-19build: build standalone binary against latest Alpine packagesMarc André Tanner1-1/+2
2018-03-14build: try to use POSIX tools/options for vis-single targetMarc André Tanner1-2/+4
2018-03-14vis-single: add missing header include for signal(2)Marc André Tanner1-0/+1
2018-03-14Merge branch 'lpeg-ac_check_lib' of https://github.com/Two-Finger/visMarc André Tanner1-23/+23
2018-03-14configure: Improve LPeg detectionTwoFinger1-23/+23
Try the possible library names regardless of .pc file availability.
2018-03-14Merge branch 'zenburn-theme' of https://github.com/casr/visMarc André Tanner2-1/+40
2018-03-14Merge branch 'paranthese-typo' of https://github.com/Two-Finger/visMarc André Tanner7-18/+18
2018-03-14Merge branch 'scheme-filetype' of https://github.com/Two-Finger/visMarc André Tanner1-1/+1
2018-03-12view: use strncat instead of an inline loop to concatenate cell dataMarc André Tanner1-4/+1
2018-03-12view: fix buffer overflow when dealing with combining charactersMarc André Tanner1-2/+5
The `cell.len` attribute refers to the number of bytes of the underlying text which are represented by this cell. The actual NUL terminated data being displayed can have a completely unrelated length. For example a NUL byte has a `cell.len` of 1, but is displayed as `cell.data = "^@"`. Because we currently have a fixed cell capacity of 16 bytes (including the terminating NUL byte) long sequences of combining characters won't be displayed correctly. See also #679
2018-03-11view: properly advance over incomplete unicode sequenceMarc André Tanner1-1/+1
When fetching more text we have to skip the bytes processed by the previous cell, otherwise we end up in an infinite loop.
2018-03-11Reset parsing state after mbrtowc(3) failureMarc André Tanner4-0/+6
The standard says "if an encoding error occurs ... the conversion state is unspecified".
2018-03-05lua: add more Scheme filename extensionsTwoFinger1-1/+1
.ss and .sls are used in Racket, Guile and Chez, at least.