| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 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 | |||||
| 2016-12-27 | vis: properly free dynamic key bindings | Marc André Tanner | 6 | -7/+44 | |
| The handling of :unmap needs to be revisited at some point. | |||||
| 2016-12-27 | array: implement array_remove | Marc André Tanner | 2 | -0/+14 | |
| 2016-12-27 | travis: install 9base | Marc André Tanner | 1 | -0/+5 | |
| This should enable sam related tests for Linux builds. | |||||
| 2016-12-27 | build: configure ncurses with --disable-leaks | Marc André Tanner | 1 | -1/+1 | |
| Makes analysis with valgrind easier. | |||||
| 2016-12-27 | build: pass $CFLAGS_EXTRA through make debug target | Marc André Tanner | 1 | -1/+1 | |
| 2016-12-26 | fix help text for next/prev match | Erlend Fagerheim | 1 | -2/+2 | |
| 2016-12-23 | text-objects: explicitly ignore return value of strtoll(3) | Marc André Tanner | 1 | -1/+1 | |
| We are only interested in the first invalid character. | |||||
| 2016-12-23 | Apply format string attribute to printf style functions | Marc André Tanner | 3 | -6/+6 | |
| Not strictly C99 conform, but widely supported and easy enough to NOP for compilers which do not support it. Besides it was already used to mark certain functions as noreturn. | |||||
| 2016-12-23 | text: make text_vprintf static, it is only used within text.c | Marc André Tanner | 2 | -14/+13 | |
| 2016-12-22 | text: remove Filepos typedef | Marc André Tanner | 2 | -5/+3 | |
| The idea might be good, but it was almost unused. | |||||
| 2016-12-22 | text: introduce EMARK to denote an invalid mark | Marc André Tanner | 3 | -5/+7 | |
| Technically this macro name is in the reserved namespace of errno.h. The same is true for EPOS. Maybe we should rename them at some point, but for now the short names are convenient. Fix #443 Close #444 | |||||
| 2016-12-22 | test: update | Marc André Tanner | 1 | -5/+8 | |
| 2016-12-22 | vis-lua: store Vis context in upvalues where needed | Marc André Tanner | 1 | -5/+8 | |
| 2016-12-22 | text: change datatype of Mark to uintptr_t | Marc André Tanner | 6 | -14/+17 | |
| This should avoid undefined pointer comparisons. | |||||
| 2016-12-22 | text: make default block size overridable via C pre-processor | Marc André Tanner | 1 | -0/+2 | |
| This will be used for unit test purposes to force more allocations. | |||||
| 2016-12-22 | buffer: make default buffer size overridable via C pre-processor | Marc André Tanner | 1 | -3/+5 | |
| 2016-12-22 | text: avoid undefined multiple accesses in expression | Marc André Tanner | 1 | -1/+2 | |
| Work around for a (bogus?) tis-interpreter warning. | |||||
| 2016-12-22 | text: do not rely on indeterminate value in a comparison | Marc André Tanner | 1 | -1/+1 | |
| 2016-12-22 | build: do not install lua/doc directory | Marc André Tanner | 1 | -0/+1 | |
| 2016-12-22 | build: also include working tree state in version information | Marc André Tanner | 1 | -1/+1 | |
| 2016-12-21 | vis: implement `gh` and `gl` to move by relative byte offsets | Marc André Tanner | 4 | -0/+36 | |
| 2016-12-21 | vis: implement `go` to move to absolute byte position | Marc André Tanner | 4 | -0/+18 | |
| 2016-12-21 | vis: implement g8 | Marc André Tanner | 2 | -4/+16 | |
| Shows hex values up to the next UTF-8 encoded character. | |||||
| 2016-12-20 | vis: improve literal insertion via <C-v> in insert mode | Marc André Tanner | 3 | -21/+50 | |
| 2016-12-20 | vis: improve ga | Marc André Tanner | 1 | -9/+20 | |
| 2016-12-20 | ui: increase maximum info message length | Marc André Tanner | 1 | -1/+1 | |
| 2016-12-20 | buffer: implement buffer_capacity utility function | Marc André Tanner | 2 | -0/+6 | |
| 2016-12-20 | buffer: implement buffer_appendf to append formatted content | Marc André Tanner | 2 | -15/+26 | |
| 2016-12-20 | buffer: fix error case in buffer_append0 | Marc André Tanner | 1 | -3/+6 | |
| Do not change buffer length when failing to append. | |||||
| 2016-12-19 | vis-lua: implement vis.registers[] array | Marc André Tanner | 1 | -1/+58 | |
| Notice that currently only single letter register names/array indices are supported. Register handling needs to be cleaned up at some point. | |||||
| 2016-12-19 | vis: introduce vis_register_from utility function | Marc André Tanner | 3 | -37/+37 | |
| 2016-12-19 | vis-lua: simplify obj_ref_new error handling | Marc André Tanner | 1 | -10/+9 | |
| 2016-12-19 | vis-lua: simplify object reference checking | Marc André Tanner | 1 | -163/+58 | |
| Make obj_ref_check handle invalid object references. The luaL_argerror function throws a Lua error and never returns, hence all return value checks become obsolete. | |||||
| 2016-12-19 | vis-lua: implement file.marks[] array | Marc André Tanner | 1 | -0/+65 | |
| We need to retrieve a pointer to the File struct but can not store it directly in the Lua uservalue because the address is already used for the regular file object (of type vis.file). For now we use file->marks as an address and then use offsetof to retrieve the start of the struct. | |||||
