| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2017-04-19 | vis: restructure register handling | Marc André Tanner | 8 | -56/+152 | |
| Decouple register content from cursors. Previously each cursor had exactly one corresponding register. Now each register can save a list of values whose lifetime is not tied to the cursor. If multiple cursors exist and a put with a register holding only a single value is performed, then this value is inserted at every cursor location. If there are fewer values available than cursors, then only the matching ones will be used. If a register holding multiple values is inserted in a single cursor context, only the first value will be used. Another option would be to join all existing values. The details of this behavior might be changed in the future. <C-r> in insert mode has not yet been adapted and register handling in general needs to be cleaned up further. Fix #527 | |||||
| 2017-04-19 | array: implement array_resize | Marc André Tanner | 2 | -0/+11 | |
| 2017-04-19 | array: implement array_truncate | Marc André Tanner | 2 | -0/+10 | |
| 2017-04-18 | buffer: simplify buffer_content0 | Marc André Tanner | 1 | -1/+1 | |
| 2017-04-18 | array: implement array_capacity | Marc André Tanner | 2 | -0/+6 | |
| 2017-04-18 | vis: rename vis_register_set to vis_register | Marc André Tanner | 3 | -3/+3 | |
| 2017-04-14 | build: install miscellaneous documentation | David B. Lamkins | 2 | -1/+18 | |
| 2017-04-14 | vis: make certain operations interruptible with <C-c> | Marc André Tanner | 6 | -10/+19 | |
| As currently implemented this will only work for operations which are individually fast, but repeated many times (e.g. `1000000itext<Escape>`). | |||||
| 2017-04-12 | sam: fix negative count specifiers from visual mode | Marc André Tanner | 1 | -2/+5 | |
| 2017-04-12 | man: document new count specifier for `g` and `v` commands | Marc André Tanner | 1 | -4/+36 | |
| A few examples: :x g1 selects the first line :x g-1 selects the last line :x g-3, selects the last three lines :x g2,4 selects lines 2, 3 and 4 :x g,5 selects all lines up and including the fifth :x g6, selects all lines starting from the sixth :x g%2 selects all even lines :x v%2 selects all odd lines | |||||
| 2017-04-12 | sam: support %n count specifier matching every n-th selection | Marc André Tanner | 1 | -0/+15 | |
| 2017-04-12 | sam: add support for negative count specifier | Marc André Tanner | 1 | -10/+42 | |
| 2017-04-12 | sam: add support for count specifier to `g` and `y` commands | Marc André Tanner | 2 | -12/+56 | |
| 2017-04-12 | sam: distinguish between empty // and no regex | Marc André Tanner | 1 | -1/+4 | |
| 2017-04-12 | sam: reject command names containing digits or ending with a hyphen | Marc André Tanner | 1 | -1/+6 | |
| The current implementation will also reject consecutive hyphens. | |||||
| 2017-04-11 | build: update libtermeky to version 0.20 | Marc André Tanner | 1 | -2/+2 | |
| Fix #537 | |||||
| 2017-04-11 | build: tweak CFLAGS for profiling target | Marc André Tanner | 1 | -1/+1 | |
| 2017-04-11 | text: do not redefine _GNU_SOURCE | Marc André Tanner | 1 | -1/+3 | |
| Fix #536 | |||||
| 2017-04-09 | text: use MB_LEN_MAX instead of MB_CUR_MAX | Marc André Tanner | 2 | -4/+6 | |
| 2017-04-09 | vis: reject invalid register name when recording a macro | Marc André Tanner | 1 | -0/+2 | |
| Fix #534 | |||||
| 2017-04-09 | vis: remove handling of \r\n line endings | Marc André Tanner | 9 | -94/+15 | |
| Use something like dos2unix(1) and unix2dos(1), if you need to edit such files. | |||||
| 2017-04-09 | text: drop special handling of \r\n line endings | Marc André Tanner | 5 | -109/+36 | |
| 2017-04-09 | text: add mem{r,}chr(3) based byte search functions | Marc André Tanner | 5 | -1/+66 | |
| These are generally implemented efficiently in libc. While memrchr(3) is non-standard, it is a common extension. If it is not available, we use a simple C implementation from musl. | |||||
| 2017-04-08 | text: adjust iterator position when switching to adjacent pieces | Marc André Tanner | 1 | -2/+4 | |
| 2017-04-08 | text: simplify \r\n handling | Marc André Tanner | 2 | -27/+23 | |
| 2017-04-08 | text: introduce text_char_get which converts \r\n to \n | Marc André Tanner | 2 | -0/+8 | |
| 2017-04-08 | text: fix iterator semantics regarding windows style newlines | Marc André Tanner | 1 | -2/+4 | |
| At some point we might drop this mess and ask users to rely upon dos2unix(1) and unix2dos(1), respectively. | |||||
| 2017-04-06 | test: update | Marc André Tanner | 1 | -5/+8 | |
| 2017-04-06 | vis: fix memory leak in selection rotation code | Marc André Tanner | 1 | -0/+1 | |
| 2017-04-06 | sam: properly free transcript in error case | Marc André Tanner | 1 | -4/+19 | |
| 2017-04-06 | Fix formatting in man page | TwoFinger | 1 | -2/+2 | |
| 2017-04-04 | vis: remove unused struct member | Marc André Tanner | 2 | -2/+0 | |
| 2017-04-04 | vis: do not remove indentation of non-empty lines | Marc André Tanner | 1 | -1/+2 | |
| Fix #532 | |||||
| 2017-04-04 | vis: add motions to move by codepoints | Marc André Tanner | 6 | -2/+41 | |
| Some people might prefer this for <Backspace> behavior. Except for that and debugging purposes using `ga` and `g8` it is not yet that useful. | |||||
| 2017-04-04 | vis: automatically dispose invalid cursors | Marc André Tanner | 1 | -0/+7 | |
| 2017-04-04 | vis: reject multi letter mark and register names | Marc André Tanner | 1 | -0/+10 | |
| Fix #531 | |||||
| 2017-04-02 | Fix Debian package lintian warnings | Marc André Tanner | 7 | -10/+8 | |
| https://mentors.debian.net/package/vis | |||||
| 2017-03-31 | text: Add missing va_end() when | Raúl Peñacoba | 1 | -1/+3 | |
| vsnprintf fails | |||||
| 2017-03-31 | vis: improve tab completion in command prompt | Marc André Tanner | 2 | -1/+37 | |
| At some point it should probably be possible to add command prompt bindings from within Lua. Currently there is no easy/realiable way to detect the prompt window. Should improve #526. | |||||
| 2017-03-31 | lexers: sync with scintillua changeset 600 rev fdeca0b808bf | Marc André Tanner | 7 | -23/+184 | |
| I think the default value for the cache argument to the lexer load function should be true, not false. Optimize for the common case. This makes the API ugly/harder to use. But for now we follow upstream. | |||||
| 2017-03-31 | vis: add non-default actions for vi compatible n/N motions | Marc André Tanner | 4 | -2/+36 | |
| The following key mappings should result in the vi behavior: :map! normal n <vis-motion-search-repeat> :map! normal N <vis-motion-search-repeat-reverse> The default remains unchanged, that is `n` (`N`) always searches towards the end (start) of the file. Fix #470 | |||||
| 2017-03-31 | vis: rename search related constants | Marc André Tanner | 5 | -19/+19 | |
| 2017-03-31 | Add more wiki references to the README | Marc André Tanner | 1 | -2/+2 | |
| 2017-03-31 | Use a minimal POSIX shar implementation for self extracting executable | Marc André Tanner | 3 | -16/+121 | |
| This only requires POSIX shell utilies for extraction. The resulting archive is bigger (it is not gzip compressed) and startup will be slower due to many spawned processes. | |||||
| 2017-03-27 | Prefer Lua 5.3 | Klemens Nanni | 1 | -1/+1 | |
| 2017-03-27 | build: add git based version information back | Marc André Tanner | 1 | -1/+1 | |
| 2017-03-25 | build: set version to 0.3 | Marc André Tanner | 1 | -1/+1 | |
| 2017-03-25 | Merge branch 'master' of https://github.com/joshaw/vis | Marc André Tanner | 1 | -1/+10 | |
| 2017-03-24 | lexers: fix perl pattern for horrible regex lines | S. Gilles | 1 | -0/+3 | |
| Under presently-not-precise circumstances, regex patterns longer than a screenful can cause first_match_pos to be nil. In this sutation, evaluating `first_match_pos - 1' will be an error, so jump to matchless case. | |||||
| 2017-03-24 | vis: properly redraw status bar of windows displaying internal files | Marc André Tanner | 2 | -4/+4 | |
| Currently the only "internal window" with a status bar is the information window used to display Lua stack traces. We do not want to trigger events for it, because that could result in further Lua errors. Nonetheless its status bar should be properly redrawn to avoid display artifacts. That is why we fall back to the built-in default status bar as used by non-Lua builds. | |||||
