| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2020-05-13 | test: update | Marc André Tanner | 1 | -9/+5 | |
| 2020-05-13 | text: introduce text_save_method, remove text_save_range | Marc André Tanner | 2 | -17/+22 | |
| This utility function is analogous to text_load_method and allows the caller to specify how the file should be saved. It is implemented as a wrapper around the lower level text_save_{begin,write,commit} primitives. The unused text_save_range function has been removed. If needed, use the aforementioned lower level functionality. | |||||
| 2020-05-12 | test: update | Marc André Tanner | 1 | -11/+7 | |
| 2020-05-12 | build: use -O2 by default | Marc André Tanner | 1 | -1/+1 | |
| 2020-05-12 | vis: cleanup pre-processing of :-commands | Marc André Tanner | 1 | -5/+5 | |
| Not sure why we need to allocate space for an additional character. This also avoids creating out of bound pointers. | |||||
| 2020-05-12 | Tweak README | Marc André Tanner | 1 | -2/+1 | |
| 2020-05-12 | vt100: do not crash if termkey is not yet initialized | Marc André Tanner | 1 | -0/+1 | |
| Previously calling die would segfault, e.g: $ vis . | |||||
| 2020-04-29 | ui: fix line number drawing | Marc André Tanner | 1 | -2/+2 | |
| Fix #830 | |||||
| 2020-04-29 | build: fix _XOPEN_SOURCE redefinition warning | Marc André Tanner | 1 | -1/+1 | |
| Was also reported in #780. | |||||
| 2020-04-28 | vis: make <Escape> reset count in visual modes | Marc André Tanner | 2 | -1/+17 | |
| 2020-04-28 | vis: make <Escape> reset count in normal mode | Marc André Tanner | 2 | -1/+17 | |
| Fix #825 | |||||
| 2020-04-28 | lexers: prioritize markdown list rule | Marc André Tanner | 1 | -1/+1 | |
| Reorder the list rule such that it matches before the rule for code blocks. There are still some problems with multiline list items which are indented and wrongly matched as code blocks. | |||||
| 2020-04-28 | lexers: make markdown white space rule less greedy | Marc André Tanner | 1 | -1/+1 | |
| This should give the code block rule a chance to actually match something, whereas before all leading white space was already consumed. Fix #823 | |||||
| 2020-04-28 | man: document theme location | Marc André Tanner | 1 | -0/+5 | |
| Fix #824 | |||||
| 2020-04-27 | Avoid use of VLAs | Michael Forney | 7 | -25/+42 | |
| 2020-04-27 | vt100: use shorter escape sequence to clear screen | Marc André Tanner | 1 | -2/+2 | |
| Instead of clearing the whole screen and then moving the cursor to the home position, we can first move it there and then clear everything below it. | |||||
| 2020-03-23 | Add Julia lexer | Tobias Frilling | 2 | -0/+150 | |
| 2020-03-18 | Merge branch 'single-cursor-is-primary' of https://github.com/3dc1d3/vis | Marc André Tanner | 1 | -2/+1 | |
| 2020-03-17 | color-column: Don't change fg/bg if not set explicitly | Gennadiy Volkov | 4 | -1/+16 | |
| eg. if your long line is a comment with green fg, and you set your column color bg red while not specifying the fg, then the result is green fg on red bg. Prior to this change the result would be default fg on red bg, thus one char in the long line of green text would look odd/wrong. Of course if you do explicitly set the column color fg to default in your theme then the result will not be what you expect - ideally we need an UNSPECIFIED color type instead of relying on DEFAULT. | |||||
| 2020-03-17 | Set single cursor style as primary, not secondary | Gennadiy Volkov | 1 | -2/+1 | |
| 2020-03-15 | sam: fix X and Y commands which were interchanged | Marc André Tanner | 1 | -2/+2 | |
| Fix #820 | |||||
| 2020-03-03 | Add Elm lexer | Karl Schultheisz | 2 | -0/+67 | |
| 2020-02-29 | sam: fix spurious "file exists" warnings | Marc André Tanner | 1 | -1/+1 | |
| When initially opened with a non-existing file we would not correctly track the file's meta data resulting in spurious warnings upon subsequent writes. It is fixed by also saving the meta data for previously non-existing files with matching paths. | |||||
| 2020-02-26 | build: provide install-strip make target | Marc André Tanner | 1 | -5/+7 | |
| Do not strip executables by default. Fix #811 | |||||
| 2020-02-26 | ci: fix Alpine build by installing terminfo data | Marc André Tanner | 1 | -0/+1 | |
| Otherwise the terminfo file for the default $TERM (xterm-256color) is missing, causing vis to fail because libtermkey can not be initialized properly. | |||||
| 2020-02-25 | test: update | Marc André Tanner | 1 | -5/+13 | |
| 2020-02-25 | ci: remove Travis CI integration | Marc André Tanner | 1 | -95/+0 | |
| macOS based builds are now run with Github actions. | |||||
| 2020-02-25 | ci: remove Appveyor integration | Marc André Tanner | 1 | -62/+0 | |
| Windows/Cygwin based builds are now run with Github actions. | |||||
| 2020-02-25 | ci: improve OpenBSD Lua installation | Marc André Tanner | 1 | -1/+1 | |
| By omitting the exact (minor) version number, this should be more future proof. | |||||
| 2020-02-25 | ci: make sure en_US.UTF-8 locale is available on Debian | Marc André Tanner | 1 | -0/+3 | |
| 2020-02-25 | ci: disable codecov commit status updates | Marc André Tanner | 1 | -3/+2 | |
| 2020-02-24 | vis-lua: implement vis:redraw() | Marc André Tanner | 1 | -0/+13 | |
| 2020-02-24 | lua: add `redrawtime` option | Georgi Kirilov | 3 | -7/+35 | |
| Upper bound lexing time and cancel highlighting if it is exceeded. | |||||
| 2020-02-24 | lua: fix documentation typos and errors | Georgi Kirilov | 1 | -2/+2 | |
| 2020-02-24 | lua: optimize the win:style() loop | Georgi Kirilov | 1 | -11/+12 | |
| barely noticeable CPU usage improvement, although the number of iterations went down by an order of magnitude. | |||||
| 2020-02-24 | ci: update README status badges | Marc André Tanner | 1 | -2/+1 | |
| 2020-02-23 | sam: warn when attempting to write to an existing file | Marc André Tanner | 1 | -0/+4 | |
| Add ! to override. | |||||
| 2020-02-23 | sam: fix modification time comparision when writing file | Marc André Tanner | 1 | -6/+13 | |
| The modification time should only be compared when dealing with the same file i.e. the following should work without a warning: $ touch foo; sleep 1; touch bar $ vis foo :w bar Also switch from path to inode based file equality testing. | |||||
| 2020-02-22 | ci: fix test coverage upload | Marc André Tanner | 3 | -0/+6 | |
| 2020-02-22 | test: update | Marc André Tanner | 1 | -5/+5 | |
| 2020-02-22 | sam: re-take range after pre-save hooks are run | alex | 1 | -2/+14 | |
| A vis.events.FILE_SAVE_PRE callback may mutate the file text, making the original range passed to cmd_write incorrect. It is unclear how to realign the range after the callback is done for the cases where an active selection in visual mode is present or an explicit range like :1,2w! was specified. However, this commit resolves the issue for the case where the whole file is expected to be written. | |||||
| 2020-02-20 | ci: add periodical coverity scan check | Marc André Tanner | 1 | -0/+53 | |
| 2020-02-20 | ci: add Lua API documentation generation | Marc André Tanner | 1 | -0/+39 | |
| 2020-02-20 | ci: add Lua static code analysis | Marc André Tanner | 1 | -0/+20 | |
| 2020-02-20 | ci: add man page generation | Marc André Tanner | 1 | -0/+38 | |
| 2020-02-20 | ci: add windows builds | Marc André Tanner | 1 | -0/+52 | |
| 2020-02-20 | ci: add macOS builds | Marc André Tanner | 1 | -0/+50 | |
| 2020-02-20 | ci: add ubuntu builds | Marc André Tanner | 1 | -0/+56 | |
| 2020-02-20 | test: update | Marc André Tanner | 1 | -5/+5 | |
| 2020-02-13 | ci: add sourcehut build manifests | Marc André Tanner | 4 | -0/+69 | |
