| Commit message (Collapse) | Author | Age | ||
|---|---|---|---|---|
| ... | ||||
| * | *: Fix linter errors | ZyX | 2017-12-24 | |
| | | ||||
| * | eval: Replace some tv_list_item_remove() calls | ZyX | 2017-12-24 | |
| | | | | | | There is nothing wrong with them, just it is generally better to remove a range then to remove items individually. | |||
| * | eval: Rename tv_list_remove_items() to tv_list_drop_items() | ZyX | 2017-12-24 | |
| | | | | tv_list_remove_items() may cause confusion with tv_list_item_remove() | |||
| * | eval/typval: Make tv_list_item_remove return pointer to the next item | ZyX | 2017-12-24 | |
| | | ||||
| * | eval/typval: Remove tv_list_item_free() as it is unused | ZyX | 2017-12-24 | |
| | | ||||
| * | eval/typval: Make tv_list_item_alloc static | ZyX | 2017-12-24 | |
| | | | | | Better write this bit in lua then make reviewers or clint filter out tv_list_item_alloc(). | |||
| * | *: Remove most calls to tv_list_item_alloc | ZyX | 2017-12-24 | |
| | | | | | Still left calls in eval/typval.c and test/unit/eval/helpers.lua. Latter is the only reason why function did not receive `static` modifier. | |||
| * | Merge branch 'master' into hide-container-impl | ZyX | 2017-12-16 | |
| |\ | ||||
| | * | typval_encode.c.h: avoid -Wnonnull-compare warning (#7712) | Justin M. Keyes | 2017-12-13 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * typval_encode.c.h: avoid -Wnonnull-compare warning closes #6847 The NULL check is needed because TYPVAL_ENCODE_CONV_EMPTY_DICT may be invoked with literal `NULL`. Warning occurs even for `Debug` build-type: neovim/src/nvim/eval/typval.c: In function ‘_typval_encode_nothing_convert_one_value’: neovim/src/nvim/eval/typval.c:1802:10: warning: nonnull argument ‘tv’ compared to NULL [-Wnonnull-compare] if (tv != NULL) { \ ^ ../src/nvim/eval/typval_encode.c.h:398:9: note: in expansion of macro ‘TYPVAL_ENCODE_CONV_EMPTY_DICT’ TYPVAL_ENCODE_CONV_EMPTY_DICT(tv, tv->vval.v_dict); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc version: gcc (Ubuntu 6.3.0-12ubuntu2) 6.3.0 20170406 * fixup! typval_encode.c.h: avoid -Wnonnull-compare warning | |||
| * | | *: Fix some problems found during review | ZyX | 2017-12-15 | |
| | | | | | | | | | Still missing: problems in window.c, it should be possible to construct a test for them. | |||
| * | | *: Fix linter errors | ZyX | 2017-12-11 | |
| | | | ||||
| * | | *: Finish hiding list implementation | ZyX | 2017-12-11 | |
| | | | ||||
| * | | *: Start hiding list implementation | ZyX | 2017-12-10 | |
| |/ | | | | Most of files, except for eval.c and eval/* were only processed by perl. | |||
| * | channels: allow bytes sockets and stdio, and buffered bytes output | Björn Linse | 2017-11-24 | |
| | | ||||
| * | channels: refactor | Björn Linse | 2017-11-24 | |
| | | ||||
| * | cmdline: CmdlineEnter and CmdlineLeave autocommands (#7422) | Björn Linse | 2017-11-22 | |
| | | | | | | | | | | | vim-patch:fafcf0dd59fd patch 8.0.1206: no autocmd for entering or leaving the command line Problem: No autocmd for entering or leaving the command line. Solution: Add CmdlineEnter and CmdlineLeave. https://github.com/vim/vim/commit/fafcf0dd59fd9c4ef743bb333ae40d1d322b6079 | |||
| * | eval/typval: Add tv_dict_add_allocated_str() function | ZyX | 2017-07-02 | |
| | | ||||
| * | *: Fix conversion warnings for tv_get_number*() | James McCoy | 2017-06-06 | |
| | | ||||
| * | eval/typval: Convert string to varnumber_T instead of intermediate long | James McCoy | 2017-06-06 | |
| | | ||||
| * | Merge #6480 from ZyX-I/colored-cmdline'/input-dict | Justin M. Keyes | 2017-05-13 | |
| |\ | ||||
| | * | eval/typval: Fix numbuf parameter documentation | ZyX | 2017-05-13 | |
| | | | ||||
| | * | eval: Refactor get_user_input to support dictionary | ZyX | 2017-05-10 | |
| | | | ||||
| * | | *: Use __attribute__((fallthrough)) where comments aren't supported | James McCoy | 2017-05-12 | |
| |/ | | | | | | | | | Although GCC now detects possibly unintentional fall through, there rules around which the comments are detected are rather strict. In cases where a comment isn't detected, upstream [recommends] using their fallthrough attribute. [recommends]: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77817#c11 | |||
| * | Merge branch 'master' into lazier-arg_errmsg-gettext | ZyX | 2017-04-21 | |
| |\ | ||||
| | * | *: Add comment to all C files | ZyX | 2017-04-19 | |
| | | | ||||
| | * | eval/typval: Remove FUNC_ATTR_MALLOC from tv_list_alloc_ret | ZyX | 2017-04-15 | |
| | | | | | | | | | Same as tv_list_alloc, but additionally ret_tv receives pointer to the newly allocated list. | |||
| | * | eval/typval: Remove FUNC_ATTR_MALLOC from tv_dict_alloc | ZyX | 2017-04-15 | |
| | | | | | | | | | | | | | Allocated dict points to previously allocated dict. Queue in allocated dict points to itself. Hashtab in allocated dict points to inside itself. Allocated dict is saved to gc_first_dict. | |||
| | * | eval/typval: Remove FUNC_ATTR_MALLOC from tv_dict_item_copy | ZyX | 2017-04-15 | |
| | | | | | | | Allocated storage may receive pointer to the list after tv_copy(). | |||
| | * | eval/typval: Remove FUNC_ATTR_MALLOC from tv_list_alloc | ZyX | 2017-04-15 | |
| | | | | | | | | | Allocated list points to previously allocated list. Allocated list is saved to gc_first_list. | |||
| * | | eval/typval: Do not translate tv_clear argument, this is useless | ZyX | 2017-04-15 | |
| | | | ||||
| * | | eval: Add comment regarding why special values are needed | ZyX | 2017-04-14 | |
| | | | ||||
| * | | eval: Change the point at which arg_errmsg and its length are changed | ZyX | 2017-04-14 | |
| |/ | | | | Ref #6437 | |||
| * | perf: tv_clear(): Cache gettext() result. (#6519) | Justin M. Keyes | 2017-04-14 | |
| | | | | Closes #6437 | |||
| * | eval/typval,api/buffer: Fix review comments | ZyX | 2017-03-29 | |
| | | ||||
| * | eval/typval: Allow NULL dict as tv_dict_get_callback() argument | ZyX | 2017-03-29 | |
| | | | | Also removes NULL key input: tv_dict_find() does not allow this. | |||
| * | unittests: Add tv_get number tests | ZyX | 2017-03-29 | |
| | | ||||
| * | unittests: Test locks section | ZyX | 2017-03-29 | |
| | | ||||
| * | unittests: Add tests for tv_clear() | ZyX | 2017-03-29 | |
| | | ||||
| * | eval: Use tv_is_func in place of ==VAR_FUNC||==VAR_PARTIAL | ZyX | 2017-03-29 | |
| | | | | | Also fixes same error as in vim/vim#1557 | |||
| * | unittests: Add tv_dict_add* unit tests | ZyX | 2017-03-29 | |
| | | | | | | | | | Also fixes incorrect location of `tv_dict_add` function and three bugs in other functions: 1. `tv_dict_add_list` may free list it does not own (vim/vim#1555). 2. `tv_dict_add_dict` may free dictionary it does not own (vim/vim#1555). 3. `tv_dict_add_dict` ignores `key_len` argument. | |||
| * | eval/typval: Refactor errors a bit: use emsgf always | ZyX | 2017-03-29 | |
| | | ||||
| * | eval/typval: Fix SEGV in test_alot.vim test | ZyX | 2017-03-29 | |
| | | ||||
| * | eval/typval: Fix -Werror=return-type | ZyX | 2017-03-29 | |
| | | ||||
| * | *: Make some more things const and with length | ZyX | 2017-03-29 | |
| | | ||||
| * | eval: Make sure that v:_null_dict does not crash dictwatcher*() | ZyX | 2017-03-29 | |
| | | | | Ref #4615 | |||
| * | eval: Move part of dictwatcher* functions to eval/typval | ZyX | 2017-03-29 | |
| | | ||||
| * | eval/typval: More `const` qualifiers in `tv_dict*` function signatures | ZyX | 2017-03-29 | |
| | | ||||
| * | unittests: Add tests for tv_list_idx_of_item | ZyX | 2017-03-29 | |
| | | ||||
| * | unittests: Add tests for tv_list_find*() functions | ZyX | 2017-03-29 | |
| | | | | | | | | | Additional modifications: - More `const` qualifiers in tested functions. - `tv_list_find_str()` second argument is more in-line with other `tv_list_find*()` functions. | |||
| * | eval/typval: Add tv_list_equal() tests, compare NULL lists equal | ZyX | 2017-03-29 | |
| | | ||||