aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-01-24Merge branch 'add-layout-option' of https://github.com/kdsch/visMarc André Tanner2-2/+2
2020-01-23man: remove redundant layout option abbreviationKarl Schultheisz1-1/+1
2020-01-23remove redundant layout option abbreviationKarl Schultheisz1-1/+1
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é Tanner1-6/+2
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é Tanner3-4/+21
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 Schultheisz1-0/+3
2020-01-21Merge branch 'master' into add-layout-optionKarl Schultheisz11-26/+144
2020-01-17Merge branch 'fix-search-wrap' of https://github.com/zsugabubus/visMarc André Tanner1-2/+1
2020-01-17Merge branch 'acl-static' of https://github.com/eworm-de/visMarc André Tanner2-2/+2
2020-01-17build: try to fix travis-ci by installing libtool-binMarc André Tanner1-1/+1
2020-01-16build: force enable acl for docker buildsChristian Hesse1-1/+1
This makes sure the feature is enabled as expected.
2020-01-16Merge branch 'patch-1' of https://github.com/erf/visMarc André Tanner1-2/+2
2020-01-16build: install static libacl for docker buildsChristian Hesse1-1/+1
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é Tanner1-0/+1
2020-01-16Merge branch 'solarized-term' of https://github.com/xcko/visMarc André Tanner1-0/+4
2020-01-16Merge branch 'fix-menu-warns' of https://github.com/zsugabubus/visMarc André Tanner1-11/+15
2020-01-16Merge branch 'text' of https://github.com/zsugabubus/visMarc André Tanner2-0/+19
2020-01-16build: update libuntar used in docker buildsMarc André Tanner1-1/+1
2020-01-16Merge branch 'alping-3-11' of https://github.com/eworm-de/visMarc André Tanner1-1/+1
2020-01-16lexers: add Fennel supportGeorgi Kirilov2-0/+91
2020-01-16Merge branch 'master' of https://github.com/silasdb/visMarc André Tanner1-1/+1
2020-01-12vis: fix search wrapping bugszsugabubus1-2/+1
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 warningszsugabubus1-11/+15
2020-01-12filetype: try text lexer as a last resortzsugabubus1-0/+10
2020-01-12lexers: match whitespaces in text lexerzsugabubus1-0/+9
Otherwise, show-{tabs,newlines,spaces} replacement characters are undistinguishable from normal text.
2020-01-03build: update alpine in docker build to version 3.11Christian Hesse1-1/+1
2019-07-03build: skip sam related tests on macOS travis infrastructureMarc André Tanner1-1/+1
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é Tanner1-3/+3
2019-07-03Merge branch 'alpine-3-10' of https://github.com/eworm-de/visMarc André Tanner1-1/+1
2019-07-01build: update alpine in docker build to version 3.10Christian Hesse1-1/+1
2019-06-27filetype: Match known filenames exactlyMichael Forney1-3/+3
Otherwise, a file like `passwd.c` will match both ansi_c and dsv. The one that gets chosen depends on the iteration order of table, which is non-deterministic.
2019-05-23Add layout optionKarl Schultheisz2-0/+19
This introduces a new `set` option for setting the layout to vertical or horizontal, which previously could not be done without creating a new window (via `split` or `vsplit`). Now, `set layout|lay h|v` will control this without creating a new window.
2019-03-22libtermkey version 0.22 + checksumerf1-2/+2
2019-03-12build: update lpeg to version 1.0.2Christian Hesse1-2/+2
2019-03-11Heredoc delimiter should end with a newlineSilas1-1/+1
Or else the following: <<EOF .... EOFXYZ parsers incorrectly.
2019-02-21update libtermkeyerf1-1/+1
2019-02-09build: try to fix travis macOS buildMarc André Tanner1-1/+1
2019-02-09Merge branch 'master' of https://github.com/jocap/visMarc André Tanner1-1/+1
2019-02-09Merge branch 'master' of https://github.com/msiism/visMarc André Tanner1-8/+8
2019-02-09Merge branch 'alpine-3-9' of https://github.com/eworm-de/visMarc André Tanner1-1/+1
2019-02-01build: update alpine in docker build to version 3.9Christian Hesse1-1/+1
2018-12-14Improve comma usage and hyphenation in introMichael Siegel1-8/+8
2018-11-17Fix configure on DragonFly BSDMichael Neumann1-1/+1
2018-10-07vis-lua: add file type detection for executable shell scriptsJohn Ankarström1-1/+1
2018-07-27solarized themed terms do not need bg and fg set againxcko1-0/+4
2018-05-30test: updateMarc André Tanner1-6/+8
2018-05-30text: only default to mmap for files larger than 64 MiBMarc André Tanner1-1/+1
2018-05-30vis: add loadmethod optionMarc André Tanner5-1/+32
Valid values are `read`, `mmap` or `auto`.
2018-05-30text: allow to specify how the file content should be loadedMarc André Tanner2-4/+44
2018-05-30sam: always apply | command to existing selectionsMarc André Tanner1-1/+1