summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-01-30view: Fix a @param name in a commentTwoFinger
2020-01-30vis: Fix a few :help stringsTwoFinger
2020-01-30man: fix mandoc linting warningsMarc André Tanner
These are reported by: mandoc -T lint
2020-01-30man: fix skipping empty macro warningsMarc André Tanner
2020-01-30man: fix mandoc warnings as reported by make manMarc André Tanner
2020-01-30build: explicitly list configure options for docker buildsMarc André Tanner
This should catch Alpine package changes such as the one fixed in 0ba252f08e9ef7b62c442eb91b36822d654f5b04.
2020-01-30build: cleanup docker package installationMarc André Tanner
2020-01-30build: allow to replace dockerChristian Hesse
This allows to build with docker-compatible container engine: make DOCKER=podman docker
2020-01-30build: add target docker-cleanChristian Hesse
This removes the docker image and volume `vis` and thus purges everything we added in docker.
2020-01-30build: clean up docker buildChristian Hesse
2020-01-28vis: support an optional exit status in :q and :qall commandsMarc André Tanner
This can for example be used to abort git commit messages with :q! 1.
2020-01-28build: fix generation of HTML man pagesMarc André Tanner
Starting with mandoc version 1.14.2 the xhtml format is no longer an alias for html.
2020-01-28Merge branch 'master' of https://github.com/eafe/visMarc André Tanner
2020-01-28lexers: add case keyword to rc lexerMarc André Tanner
Close #761
2020-01-27vis: make r<Enter> insert a new lineMarc André Tanner
Special case <C-v><Enter> to still insert a carriage return as discussed in #656 and changed in 2cfc9c867bdfd4cc3ae3246f31cf636633fe1a5f. Due to limitations of the current implementation <C-v> is not generic, i.e. combining it as r<C-v><Enter> will not work. Fixes #765
2020-01-27vis: pass absolute path to pre/post save eventsMarc André Tanner
2020-01-27lexers: fix incorrect (and *very* slow) YAML lexer tokenGeorgi Kirilov
TODO: keys should only be highlighted in {} mappings.
2020-01-26vis: don't search off screen when highlighting matchesGeorgi Kirilov
2020-01-26text: ignore fsync(2) errors on unsupported directory descriptorsMarc André Tanner
When saving a file by atomically renaming it to its final destination, we fsync(2) the parent directory to make sure the new directory entry is persisted. However, not all file systems support fsync on file descriptors referring to directories. As a result the save operation fails and subsequent attempts result in warnings regarding outdated file content, even though the data has most likely been successfully written. Ignoring this particular error seems fine, because it is a permanent limitation of the file system and not a temporary failure. Fixes #792
2020-01-24sam: fix ^ anchor behavior in looping commandsMarc André Tanner
Previsouly a command like: x/^.*\n/ would only select every second line. Fixes #774
2020-01-24text: unconditionally use REG_NOTEOL for backward searchesMarc André Tanner
This fixes empty backward searches ?$ starting at the line end.
2020-01-24Merge branch 'add-layout-option' of https://github.com/kdsch/visMarc André Tanner
2020-01-23man: remove redundant layout option abbreviationKarl Schultheisz
2020-01-23remove redundant layout option abbreviationKarl Schultheisz
No need to explicitly specify "lay" as an abbreviation, since "layout" already makes it available via prefix logic.
2020-01-23text: fix search wrapping for overlapping matchesMarc André Tanner
Previously, searches wrapping around did not report any results if they started from within the eventual match. Fix this by enlarging the search area to the whole text after reaching the first boundary. See also #787.
2020-01-23text: fix spurious regex anchor matchesMarc André Tanner
The regex anchors ^ and $ must not match at the start/end of the search range unless it is preceded/succeeded by a new line. This is implemented at the text-motion layer by passing the appropriate REG_NOT{B,E}OL flags to the search backend, meaning the caller can influence the anchor behavior depending on the context. This is important as for example in the command language the anchors apply to existing selections, not line boundaries.
2020-01-22add layout option to manpageKarl Schultheisz
2020-01-21Merge branch 'master' into add-layout-optionKarl Schultheisz
2020-01-17Merge branch 'fix-search-wrap' of https://github.com/zsugabubus/visMarc André Tanner
2020-01-17Merge branch 'acl-static' of https://github.com/eworm-de/visMarc André Tanner
2020-01-17build: try to fix travis-ci by installing libtool-binMarc André Tanner
2020-01-16build: force enable acl for docker buildsChristian Hesse
This makes sure the feature is enabled as expected.
2020-01-16Merge branch 'patch-1' of https://github.com/erf/visMarc André Tanner
2020-01-16build: install static libacl for docker buildsChristian Hesse
Commit 50b0a580105ac976a1c95df9441d898d7a652bfb updated Alpine docker image, however this broke building with acl support. The static libacl moved to its own package, so just install that.
2020-01-16build: try to fix travis-ci by installing libtoolMarc André Tanner
2020-01-16Merge branch 'solarized-term' of https://github.com/xcko/visMarc André Tanner
2020-01-16Merge branch 'fix-menu-warns' of https://github.com/zsugabubus/visMarc André Tanner
2020-01-16Merge branch 'text' of https://github.com/zsugabubus/visMarc André Tanner
2020-01-16build: update libuntar used in docker buildsMarc André Tanner
2020-01-16Merge branch 'alping-3-11' of https://github.com/eworm-de/visMarc André Tanner
2020-01-16lexers: add Fennel supportGeorgi Kirilov
2020-01-16Merge branch 'master' of https://github.com/silasdb/visMarc André Tanner
2020-01-12vis: fix search wrapping bugszsugabubus
1) “$” matches in the middle of the text. visvis ^ - standing here \/ - at first we search forward-\ \_/ - wrap, if nothing found <---/ After wrapping, in the second range “$” will treat end of the range as EOL so “/vis$” will wisely match and moves cursor to the first column. 2) No match after wrapping. vissssss ^^ - standing here or here \\____/ - search this before wrapping ---\ V - search range after wrapping <--/ “/vis” will *not* match (after wrapping), because it crosses ranges. --- So the real solution would be that instead of the end position, the start position of the possible match should be limited because a match can cross the search ranges. To keep things simple, simply search two whole text after wrapping. visvis \____/
2020-01-12vis-menu: fix sign-compare compiler warningszsugabubus
2020-01-12filetype: try text lexer as a last resortzsugabubus
2020-01-12lexers: match whitespaces in text lexerzsugabubus
Otherwise, show-{tabs,newlines,spaces} replacement characters are undistinguishable from normal text.
2020-01-03build: update alpine in docker build to version 3.11Christian Hesse
2019-07-03build: skip sam related tests on macOS travis infrastructureMarc André Tanner
Apparently plan9port is no longer included in homebrew: https://github.com/Homebrew/homebrew-core/pull/38394
2019-07-03Merge branch 'ft-exact' of https://github.com/michaelforney/visMarc André Tanner
2019-07-03Merge branch 'alpine-3-10' of https://github.com/eworm-de/visMarc André Tanner