Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
| * | | | | 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. | |||
| * | | | | eval: Fix -Werror=unitialized from QB | ZyX | 2017-03-29 | |
| | | | | | ||||
| * | | | | eval: Do not supply S_LEN to strncmp | ZyX | 2017-03-29 | |
| | | | | | | | | | | | | | | | It may be a macro as well. | |||
| * | | | | unittests: Fix linter errors | ZyX | 2017-03-29 | |
| | | | | | ||||
| * | | | | unittests: Add tv_get_string* tests | ZyX | 2017-03-29 | |
| | | | | | ||||
| * | | | | unittests: Add tv_get number tests | ZyX | 2017-03-29 | |
| | | | | | ||||
| * | | | | unittests: Move tv_dict_add* tests to a proper describe() block | ZyX | 2017-03-29 | |
| | | | | | ||||
| * | | | | unittests: Add tv_check… tests | ZyX | 2017-03-29 | |
| | | | | | ||||
| * | | | | unittests: Add tv_equal() tests | ZyX | 2017-03-29 | |
| | | | | | ||||
| * | | | | unittests: Test locks section | ZyX | 2017-03-29 | |
| | | | | | ||||
| * | | | | unittests: Test tv_copy() | ZyX | 2017-03-29 | |
| | | | | | ||||
| * | | | | unittests: Add tests for tv_clear() | ZyX | 2017-03-29 | |
| | | | | | ||||
| * | | | | unittests: Add test for tv_dict_set_keys_readonly | ZyX | 2017-03-29 | |
| | | | | | ||||
| * | | | | unittests: Add tv_dict_copy tests | ZyX | 2017-03-29 | |
| | | | | | ||||
| * | | | | charset: Remove useless condition from vim_iswordc_tab | ZyX | 2017-03-29 | |
| | | | | | ||||
| * | | | | unittests: Add tests for tv_dict_extend | ZyX | 2017-03-29 | |
| | | | | | ||||
| * | | | | eval: Fix extend() behaviour with NULL lists and dictionaries | ZyX | 2017-03-29 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | Ref #4615 Ref vim/vim#768 | |||
| * | | | | unittests: Add tv_dict_clear tests | 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. | |||
| * | | | | unittests: Add tests for dictionary indexing | ZyX | 2017-03-29 | |
| | | | | | ||||
| * | | | | eval/typval: Refactor errors a bit: use emsgf always | ZyX | 2017-03-29 | |
| | | | | | ||||
| * | | | | unittests: Enable tv_list_join tests back | ZyX | 2017-03-29 | |
| | | | | | | | | | | | | | | | | | | | | Unable to reproduce the problem on Mac OS X Sierra VPS, need to check whether it is reproducible on travis. | |||
| * | | | | unittests: Disable tv_list_join test on Mac OS only | ZyX | 2017-03-29 | |
| | | | | | ||||
| * | | | | mbyte: Include os_defs.h in mbyte.h | ZyX | 2017-03-29 | |
| | | | | | ||||
| * | | | | eval: Do not use S_LEN as snprintf argument | ZyX | 2017-03-29 | |
| | | | | | ||||
| * | | | | eval/typval: Fix SEGV in test_alot.vim test | ZyX | 2017-03-29 | |
| | | | | | ||||
| * | | | | eval: Fix SEGV in test49 | ZyX | 2017-03-29 | |
| | | | | | ||||
| * | | | | unittests: Add tv_dict_item_{add,remove} tests | ZyX | 2017-03-29 | |
| | | | | | ||||
| * | | | | unittests: Add tv_dict_item_{alloc,free} tests | ZyX | 2017-03-29 | |
| | | | | | ||||
| * | | | | eval: Fix len argument to xstrlcat | ZyX | 2017-03-29 | |
| | | | | | ||||
| * | | | | ascii: Readd DEL_STR define | ZyX | 2017-03-29 | |
| | | | | | ||||
| * | | | | syntax: Fix linter error | ZyX | 2017-03-29 | |
| | | | | | ||||
| * | | | | eval/typval: Fix -Werror=return-type | ZyX | 2017-03-29 | |
| | | | | | ||||
| * | | | | unittests: Add tv_dict_watcher_{add,remove} tests | ZyX | 2017-03-29 | |
| | | | | | ||||
| * | | | | unittests: Run tv_list_join tests in case it stopped failing | ZyX | 2017-03-29 | |
| | | | | | ||||
| * | | | | eval: Fix linter errors | 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: Make dictionary watchers work with empty keys | ZyX | 2017-03-29 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Looks like dict_notifications_spec test used to depend on some state which should not be preserved. Changed all `setup()` calls to `before_each()` and added necessary state in addition to changes required to test empty keys. Note: unit tests for tv_dict_watcher* are still needed. | |||
| * | | | | eval: Move part of dictwatcher* functions to eval/typval | ZyX | 2017-03-29 | |
| | | | | | ||||
| * | | | | functests: Fix buf_functions test on Windows | ZyX | 2017-03-29 | |
| | | | | | ||||
| * | | | | *: Fix some Windows-specific warnings | ZyX | 2017-03-29 | |
| | | | | | | | | | | | | | | | | | | | | Also fixed an error in path_fnamecmp(). | |||
| * | | | | 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 | |
| | | | | | ||||
| * | | | | unittests: Test tv_list_join() | ZyX | 2017-03-29 | |
| | | | | | ||||
| * | | | | unittests: Fix tests crash | ZyX | 2017-03-29 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tests crash at some point without - `after_each(collectgarbage)` right before “typval.c list copy() copies list correctly and converts items” test. - Commenting out that test. - Adding `collectgarbage()` after the test (what actually this commit does). Adding `collectgarbage()` to top-level `after_each` block right after `restore_allocators` makes running this file crash even if it is run alone. |