| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2016-12-27 | test/core: add some array_remove test cases | Marc André Tanner | |
| 2016-12-27 | build: update libtermkey to version 0.19 | Marc André Tanner | |
| Close #445 | |||
| 2016-12-27 | vis: properly free dynamic key bindings | Marc André Tanner | |
| The handling of :unmap needs to be revisited at some point. | |||
| 2016-12-27 | array: implement array_remove | Marc André Tanner | |
| 2016-12-27 | travis: install 9base | Marc André Tanner | |
| This should enable sam related tests for Linux builds. | |||
| 2016-12-27 | build: configure ncurses with --disable-leaks | Marc André Tanner | |
| Makes analysis with valgrind easier. | |||
| 2016-12-27 | build: pass $CFLAGS_EXTRA through make debug target | Marc André Tanner | |
| 2016-12-26 | fix help text for next/prev match | Erlend Fagerheim | |
| 2016-12-23 | text-objects: explicitly ignore return value of strtoll(3) | Marc André Tanner | |
| We are only interested in the first invalid character. | |||
| 2016-12-23 | Apply format string attribute to printf style functions | Marc André Tanner | |
| 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 | |
| 2016-12-22 | text: remove Filepos typedef | Marc André Tanner | |
| The idea might be good, but it was almost unused. | |||
| 2016-12-22 | text: introduce EMARK to denote an invalid mark | Marc André Tanner | |
| 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 | |
| 2016-12-22 | test/core: reorder test cases | Marc André Tanner | |
| Run text test cases last. They are the most complex ones and a failure prevents the others from running. | |||
| 2016-12-22 | test/core: add make {a,ub}san targets | Marc André Tanner | |
| 2016-12-22 | vis-lua: store Vis context in upvalues where needed | Marc André Tanner | |
| 2016-12-22 | text: change datatype of Mark to uintptr_t | Marc André Tanner | |
| This should avoid undefined pointer comparisons. | |||
| 2016-12-22 | test/core: add make valgrind target | Marc André Tanner | |
| 2016-12-22 | test/core: use smaller buffer/block sizes to force more memory allocations | Marc André Tanner | |
| 2016-12-22 | test/core: tweak tests to work with tis-interpreter | Marc André Tanner | |
| $ tis-inertpreter.sh --cc "-I. -I../.." text.c ../../text.c or more conveniently $ make tis | |||
| 2016-12-22 | text: make default block size overridable via C pre-processor | Marc André Tanner | |
| 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 | |
| 2016-12-22 | text: avoid undefined multiple accesses in expression | Marc André Tanner | |
| Work around for a (bogus?) tis-interpreter warning. | |||
| 2016-12-22 | text: do not rely on indeterminate value in a comparison | Marc André Tanner | |
| 2016-12-22 | build: do not install lua/doc directory | Marc André Tanner | |
| 2016-12-22 | build: also include working tree state in version information | Marc André Tanner | |
| 2016-12-21 | test/core: make core tests asan clean | Marc André Tanner | |
| 2016-12-21 | vis: implement `gh` and `gl` to move by relative byte offsets | Marc André Tanner | |
| 2016-12-21 | vis: implement `go` to move to absolute byte position | Marc André Tanner | |
| 2016-12-21 | vis: implement g8 | Marc André Tanner | |
| 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 | |
| 2016-12-20 | vis: improve ga | Marc André Tanner | |
| 2016-12-20 | ui: increase maximum info message length | Marc André Tanner | |
| 2016-12-20 | buffer: implement buffer_capacity utility function | Marc André Tanner | |
| 2016-12-20 | buffer: implement buffer_appendf to append formatted content | Marc André Tanner | |
| 2016-12-20 | test/core: cleanup and add formatted related buffer tests | Marc André Tanner | |
| 2016-12-20 | buffer: fix error case in buffer_append0 | Marc André Tanner | |
| Do not change buffer length when failing to append. | |||
| 2016-12-19 | vis-lua: implement vis.registers[] array | Marc André Tanner | |
| 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 | |
| 2016-12-19 | vis-lua: simplify obj_ref_new error handling | Marc André Tanner | |
| 2016-12-19 | vis-lua: simplify object reference checking | Marc André Tanner | |
| 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 | |
| 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. | |||
| 2016-12-19 | vis-lua: implement file:mark_{get,set} | Marc André Tanner | |
| 2016-12-19 | test: ignore custom visrc.lua configuration | Marc André Tanner | |
| 2016-12-17 | test: update | Marc André Tanner | |
| 2016-12-17 | vis: allow boolean :set options to be toggled | Marc André Tanner | |
| Boolean options can be toggled by appending `!` to the option name. Close #435 | |||
| 2016-12-17 | vis: always remove consumed keys from input queue | Marc André Tanner | |
| When given a mapping like: :map! insert >> ><>x> whose end is a prefix of another mapping we should still remove all already consumed keys from the input queue. Fixes #436 | |||
| 2016-12-17 | test/vis: add some insert mode mapping regression tests | Marc André Tanner | |
| 2016-12-16 | test/core: update .gitignore with coverage related files | Marc André Tanner | |
