| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
|
| |
Problem: Vim9: count() third argument cannot be "true".
Solution: use tv_get_bool_chk(). (closes vim/vim#6818)
https://github.com/vim/vim/commit/119f5572306c4abba91eaf446c0c52637db223e8
Co-authored-by: Bram Moolenaar <Bram@vim.org>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
properly (#40814)
Problem: extend() and extendnew() don't handle NULL expr2 properly
(Mao-Yining)
Solution: Still set the return value when expr2 is NULL (zeertzjq).
fixes: vim/vim#20758
closes: vim/vim#20759
https://github.com/vim/vim/commit/e397c82a04fc86ef9266e494a8c2ccc199159a93
|
| |
|
|
|
|
|
|
|
|
| |
Problem: memory leak in list_extend_func() in list.c
Solution: Free l1 on early return (Huihui Huang)
closes: vim/vim#19572
https://github.com/vim/vim/commit/7ed37dc53409331cd9e7e0e10238651f7bca2672
Co-authored-by: Huihui Huang <625173@qq.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: string handling in strings.c can be improved
Solution: Refactor strings.c and remove calls to STRLEN()
(John Marriott)
This change does:
- In vim_strsave_shellescape() a small cosmetic change.
- In string_count() move the call to STRLEN() outside the while loop.
- In blob_from_string() refactor to remove call to STRLEN().
- In string_from_blob() call vim_strnsave() instead of vim_strsave().
- In vim_snprintf_safelen() call vim_vsnprintf_typval() directly instead
of vim_vsnprintf() which then calls vim_vsnprintf_typval().
- In copy_first_char_to_tv() change to return -1 on failure or the length
of resulting v_string. Change string_filter_map() and string_reduce() to
use the return value of copy_first_char_to_tv().
closes: vim/vim#18617
https://github.com/vim/vim/commit/110656ba607d22bbd6b1b25f0c05a1f7bad205c0
Co-authored-by: John Marriott <basilisk@internode.on.net>
|
| |
|
|
|
|
|
|
|
| |
Problem: Build failure.
Solution: Add missing changes.
https://github.com/vim/vim/commit/e70cec976026ce72d09b6589ebba4677581063ac
Co-authored-by: Bram Moolenaar <Bram@vim.org>
|
| |
|
|
|
|
|
|
|
| |
Problem: Valgrind warning for using uninitialized variable.
Solution: Initialize the type of newtv.
https://github.com/vim/vim/commit/dd7eff0a755c40eb88b494b98ac1a24f858ba880
Co-authored-by: Bram Moolenaar <Bram@vim.org>
|
| |
|
|
|
|
|
|
|
|
| |
Problem: The evalfunc.c file is too big.
Solution: Move undo functions to undo.c. Move cmdline functions to
ex_getln.c. Move some container functions to list.c.
https://github.com/vim/vim/commit/08c308aeb5e7dfa18fa61f261b0bff79517a4883
Co-authored-by: Bram Moolenaar <Bram@vim.org>
|
|
|
Problem: The eval.c file is too big.
Solution: Move filter() and map() to list.c.
https://github.com/vim/vim/commit/1e1d30048e722906a13665bd6c3c24c87eb2fe25
Co-authored-by: Bram Moolenaar <Bram@vim.org>
|