Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | kvec.h: kv_destroy: reinitialize after free | Justin M. Keyes | 2019-05-25 |
| | |||
* | refactor: introduce XFREE_CLEAR() | Justin M. Keyes | 2019-05-25 |
| | | | | | | | | | | | | | | | Unfortunately we cannot indiscriminately replace xfree() with XFREE_CLEAR(), because comparing pointers after freeing them is a common pattern. Example in `tv_list_remove_items()`: xfree(li); if (li == item2) { break; } Instead we can do it selectively/explicitly. ref #1375 | ||
* | ui: use line-based rather than char-based updates in screen.c | Björn Linse | 2018-07-21 |
| | | | | | | | | | | | | | Add ext_newgrid and ext_hlstate extensions. These use predefined highlights and line-segment based updates, for efficiency and simplicity.. The ext_hlstate extension in addition allows semantic identification of builtin and syntax highlights. Reimplement the old char-based updates in the remote UI layer, for compatibility. For the moment, this is still the default. The bulitin TUI uses the new line-based protocol. cmdline uses curwin cursor position when ext_cmdline is active. | ||
* | kvec: Silence PVS/V512: it is not needed to fill the whole array | ZyX | 2018-04-15 |
| | |||
* | build/msvc: Fix missing restrict keyword | b-r-o-c-k | 2018-02-28 |
| | | | | MSVC has the __restrict keyword and a marco is defined for it in `win_defs.h`. | ||
* | kvec: Add kv_Z which is like kv_A, but zero is the last value | ZyX | 2017-10-08 |
| | |||
* | kvec: Add kv_drop() which is to be used like `(void)kv_pop(kvec)` | ZyX | 2017-09-29 |
| | |||
* | kvec: Do not bother with making capacity a power of 2 | ZyX | 2016-06-24 |
| | | | This avoids gcc warnings about undefined behaviour. | ||
* | kvec,typval_encode: Add new vector: the one with preallocated array | ZyX | 2016-05-30 |
| | |||
* | lib/kvec: Fix remaining linter errors | ZyX | 2016-05-30 |
| | |||
* | lib/kvec: Make code cleaner | ZyX | 2016-05-30 |
| | |||
* | lib/kvec: Do not use kv_init unless needed | ZyX | 2016-05-30 |
| | |||
* | lib/kvec: Remove useless type argument from kv_push macros | ZyX | 2016-05-30 |
| | |||
* | eval: Add jsondecode() function | ZyX | 2016-04-18 |
| | |||
* | bufhl: new mechanism for plugins to add highlights to a buffer | Björn Linse | 2016-02-23 |
| | |||
* | memory: Add `free` wrapper and refactor project to use it | Thiago de Arruda | 2015-04-13 |
| | | | | | | We already use wrappers for allocation, the new `xfree` function is the equivalent for deallocation and provides a way to fully replace the malloc implementation used by Neovim. | ||
* | api: Enable usage of Arrays and Dictionaries as [k]vectors | Thiago de Arruda | 2014-06-18 |
| | | | | | - Rename a/n/m to items/size/capactity in kvec.h - Add capactity field to Arrays/Dictionaries | ||
* | Add kvec.h macro library | Thiago de Arruda | 2014-05-28 |