| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2017-01-13 | text-regex: add text_regex_nsub to get number of sub expressions | Marc André Tanner | 2 | -0/+7 | |
| 2017-01-13 | text-regex: slightly clean up header | Marc André Tanner | 1 | -2/+2 | |
| We generally omit parameter names in function prototypes when their meaning is clear. | |||||
| 2017-01-13 | sam: create new selections for changed ranges | Marc André Tanner | 2 | -44/+71 | |
| This is akin to sam where dot is set to the result of a command. | |||||
| 2017-01-13 | view: add infrastructure for delayed cursor destruction | Marc André Tanner | 2 | -2/+30 | |
| At least one cursor (referred to as primary or main cursor) has always to exist. In the sam command language implementation we might want to dispose a cursor even if it is the primary one before later commands will create different ones (e.g. `:x/pattern/ { i/>>>/ a/<<</ }`). This commit introduces view_cursors_dispose_force. If called on the last remaining cursor, its selection is cleared and it is marked for destruction as soon as a new cursor is created. view_cursor_disposed returns the cursor marked for deletion (if any) and clears the descruction flag. | |||||
| 2017-01-12 | sam: implement parallel grouping behavior | Marc André Tanner | 4 | -132/+162 | |
| 2017-01-11 | ui: improve editor suspension | Marc André Tanner | 1 | -1/+1 | |
| Send SIGSTOP to process group. This should fix job control when launched from a script. | |||||
| 2017-01-11 | single: allow to build self-extracting executable | Christian Hesse | 3 | -0/+20 | |
| This allows to create a self extracting executable. The standalone binary and lua files are extracted to /tmp/.vis-XXXXXX, vis is started with the given command line arguments, finally temporary files are removed. Signed-off-by: Christian Hesse <mail@eworm.de> | |||||
| 2017-01-10 | vis-lua: expose register names as vis:register_names() | Marc André Tanner | 1 | -1/+38 | |
| 2017-01-10 | vis: add register description to :help output | Marc André Tanner | 4 | -25/+43 | |
| 2017-01-10 | vis-lua: expose valid marks as vis:mark_names() | Marc André Tanner | 1 | -0/+38 | |
| 2017-01-10 | vis: add valid marks to :help output | Marc André Tanner | 4 | -6/+22 | |
| 2017-01-10 | vis: add process id to :help output | Marc André Tanner | 1 | -1/+1 | |
| 2017-01-07 | test: update | Marc André Tanner | 1 | -8/+5 | |
| 2017-01-07 | buffer: make sure mem{cpy,move} are called with valid arguments | Marc André Tanner | 1 | -1/+5 | |
| 2017-01-07 | buffer: fix buffer_move bug | Marc André Tanner | 1 | -2/+1 | |
| Capacity also needs to be reset. | |||||
| 2017-01-07 | buffer: remove redundant function | Marc André Tanner | 3 | -7/+1 | |
| For some reason we ended up with two identical functions: buffer_{clear,terminate}. | |||||
| 2017-01-07 | ui: improve color palette reset | Marc André Tanner | 1 | -46/+9 | |
| Do not restore color palette for :! commands (i.e. in ui_terminal_save). By far the most common use of this is to invoke vis-menu(1) (e.g. indirectly through `:open .` or for word completion). Restoring the palette in this case also affects the file content still being visible above the menu thus causing weird display artifacts. Use the OSC 104 escape sequence to reset color palette. This should respect custom color profiles. | |||||
| 2017-01-06 | vis: simplify mode lookup for :map and :unmap | Marc André Tanner | 3 | -20/+14 | |
| 2017-01-05 | test: update | Marc André Tanner | 1 | -5/+8 | |
| 2017-01-05 | Merge branch 'musl' of https://github.com/eworm-de/vis | Marc André Tanner | 1 | -2/+2 | |
| 2017-01-05 | lua: adjust C lexer to recognize POSIX types | S. Gilles | 1 | -3/+6 | |
| 2017-01-05 | ui: remove now unused code | Marc André Tanner | 1 | -37/+4 | |
| 2017-01-05 | theme: pretend that specifying color numbers doesn't work | S. Gilles | 1 | -16/+16 | |
| 2017-01-05 | ui: replace lookup tables with algorithm | S. Gilles | 1 | -269/+44 | |
| The algorithm for computing the [16,256) range of the `standard' 256 colors comes from 256colors.pl from XFree86's xterm tree, which appears to have given rise to the standard colors. | |||||
| 2017-01-05 | ui: Turn palette on/off when saving/restoring terminal | S. Gilles | 1 | -12/+46 | |
| 2017-01-04 | standalone: update to musl version 1.1.16 | Christian Hesse | 1 | -2/+2 | |
| This release fixes a serious under-allocation bug in regexec due to integer overflow (CVE-2016-8859) and related issues. http://www.openwall.com/lists/musl/2017/01/03/1 | |||||
| 2017-01-01 | ui: use accurate colors when available | S. Gilles | 1 | -1/+44 | |
| When ncurses reports can_change_color(), have color_find_rgb() define use the exact color requested by modifying ncurses' current palette. Make an honest effort at restoring this palette on shutdown, though we can't be positive it's correct. | |||||
| 2017-01-01 | ui: move color_from_256 to file scope | S. Gilles | 1 | -122/+123 | |
| 2016-12-31 | vis: allow user registered :-commands to specify a help text | Marc André Tanner | 5 | -10/+26 | |
| 2016-12-31 | vis: typedef function type not pointer to function | Marc André Tanner | 2 | -4/+4 | |
| 2016-12-31 | sam: use buffer_move where appropriate | Marc André Tanner | 1 | -4/+4 | |
| 2016-12-31 | buffer: implement buffer_move | Marc André Tanner | 2 | -0/+10 | |
| 2016-12-30 | test: update | Marc André Tanner | 1 | -5/+5 | |
| 2016-12-30 | sam: execute X and Y commands only once not for every selection | Marc André Tanner | 1 | -2/+2 | |
| 2016-12-30 | sam: change write command implementation to not change argv[] | Marc André Tanner | 1 | -6/+6 | |
| The same Command struct might be used for multiple command executions. An example is `:X wq` which is roughly equivalent to `:wqa` in vim. | |||||
| 2016-12-30 | sam: explicitly pass invalid range for X and Y commands | Marc André Tanner | 1 | -1/+1 | |
| These are never used because there is always an implicit select command prepended. | |||||
| 2016-12-30 | sam: use more expressive name for select command | Marc André Tanner | 1 | -2/+2 | |
| This is not really used, but commands can expect to have argv[0] set to something. Also "s" is ambigious with the substitute command. | |||||
| 2016-12-29 | Add rc lexer | Michael Forney | 1 | -0/+65 | |
| 2016-12-29 | vis-lua: allow vis:map to set up key aliases and actions | Marc André Tanner | 1 | -15/+51 | |
| 2016-12-29 | vis-lua: introduce vis:action_register | Marc André Tanner | 1 | -0/+32 | |
| 2016-12-29 | vis: cleanup key action lifetime management | Marc André Tanner | 5 | -26/+59 | |
| 2016-12-29 | vis-lua: simplify lua function reference handling | Marc André Tanner | 1 | -31/+17 | |
| 2016-12-29 | vis-lua: luaL_checkstring already checks for NULL return value | Marc André Tanner | 1 | -7/+6 | |
| 2016-12-29 | test: update | Marc André Tanner | 1 | -8/+5 | |
| 2016-12-29 | vis: unmap all conflicting bindings of a forced map command | Marc André Tanner | 1 | -17/+2 | |
| 2016-12-29 | map: implement map_prefix_delete | Marc André Tanner | 2 | -0/+15 | |
| 2016-12-29 | map: implement map_first | Marc André Tanner | 2 | -0/+24 | |
| 2016-12-28 | vis: do not free right hand side of mapping twice | Marc André Tanner | 1 | -8/+3 | |
| Fix #447 | |||||
| 2016-12-28 | build: use latest Lua 5.3.x for make local and standalone builds | Marc André Tanner | 1 | -4/+4 | |
| 2016-12-27 | build: update libtermkey to version 0.19 | Marc André Tanner | 1 | -2/+2 | |
| Close #445 | |||||
