aboutsummaryrefslogtreecommitdiff
path: root/src/nvim
Commit message (Collapse)AuthorAge
...
| * | | | | | vim-patch:9.0.1840: [security] use-after-free in do_ecmd (#24993)zeertzjq2023-09-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: use-after-free in do_ecmd Solution: Verify oldwin pointer after reset_VIsual() https://github.com/vim/vim/commit/e1dc9a627536304bc4f738c21e909ad9fcf3974c N/A patches for version.c: vim-patch:9.0.1841: style: trailing whitespace in ex_cmds.c Co-authored-by: Christian Brabandt <cb@256bit.org>
| * | | | | | refactor(marks): don't set timestamp twice with :delmarks (#24994)zeertzjq2023-09-03
| | | | | | | | | | | | | | | | | | | | | refactor(mark): don't set same timestamp twice
| * | | | | | fix(shada): update marks when using delmarks! (#24978)Maria José Solano2023-09-03
| | | | | | |
| * | | | | | vim-patch:9.0.1847: [security] potential oob write in do_addsub()zeertzjq2023-09-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: potential oob write in do_addsub() Solution: don't overflow buf2, check size in for loop() https://github.com/vim/vim/commit/889f6af37164775192e33b233a90e86fd3df0f57 Co-authored-by: Christian Brabandt <cb@256bit.org>
| * | | | | | vim-patch:9.0.1846: [security] crash in fullcommandzeertzjq2023-09-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: crash in fullcommand Solution: Check for typeval correctly https://github.com/vim/vim/commit/4c6fe2e2ea62469642ed1d80b16d39e616b25cf5 Co-authored-by: Christian Brabandt <cb@256bit.org>
| * | | | | | vim-patch:9.0.1852: i_CTRL-O does not reset Select Mode (#24990)zeertzjq2023-09-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: i_CTRL-O does not reset Select Mode Solution: Reset select mode on CTRL-O in insert mode closes: vim/vim#13001 closes: vim/vim#12115 https://github.com/vim/vim/commit/d69aecf141ff05a645d02f39f1cbf6381ed7d0c0 Co-authored-by: pierreganty <pierreganty@gmail.com> Co-authored-by: Christian Brabandt <cb@256bit.org>
| * | | | | | build: download busted from own neovim/deps repositorydundargoc2023-09-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Downloading the necessary files all at once instead of doing dependency handling with luarocks speeds up installation immensely. We speed up the process even more by using luv as a replacement for the C modules in the busted dependencies, which allows us to skip costly compilation times. Co-authored-by: bfredl <bjorn.linse@gmail.com>
| * | | | | | fix(ui): avoid ambiguity about chunk that clears part of line (#24982)zeertzjq2023-09-02
| | | | | | | | | | | | | | | | | | | | | Co-authored-by: bfredl <bjorn.linse@gmail.com>
| * | | | | | Merge pull request #24310 from lewis6991/refactor/optionvalidateLewis Russell2023-09-02
| |\ \ \ \ \ \ | | |/ / / / / | |/| | | | | refactor(option.c): misc
| | * | | | | refactor(option): add set_option()Lewis Russell2023-08-31
| | | | | | |
| | * | | | | refactor(option): pass varp to set_string_optionLewis Russell2023-08-31
| | | | | | |
| | * | | | | refactor(option): option clearingLewis Russell2023-08-31
| | | | | | |
| | * | | | | refactor(option): remove OPT_CLEARLewis Russell2023-08-31
| | | | | | |
| | * | | | | refactor(option): further align set_string_option with do_set_option_string (2)Lewis Russell2023-08-31
| | | | | | |
| | * | | | | refactor(option): further align set_string_option with do_set_option_stringLewis Russell2023-08-31
| | | | | | |
| | * | | | | refactor(option): remove hidden option checkLewis Russell2023-08-31
| | | | | | |
| | * | | | | refactor(option): remove redundant localLewis Russell2023-08-31
| | | | | | |
| | * | | | | refactor(option): change some int to boolLewis Russell2023-08-31
| | | | | | |
| | * | | | | refactor(option.c): call did_set_option for all typesLewis Russell2023-08-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | set_option_value() only called did_set_option() for string options, whereas do_set_option_value() called it for all types. This change makes set_option_value() call did_set_option() for all types and thus makes it more consistent with do_set_option_value().
| | * | | | | fix(optionstr.c): incorrect use of curbuf/curwinLewis Russell2023-08-31
| | | | | | |
| | * | | | | refactor(optionstr.c): remove redundant argumentLewis Russell2023-08-31
| | | | | | |
| | * | | | | refactor(option.c): remove did_set_string_option aliasLewis Russell2023-08-31
| | | | | | |
| | * | | | | refactor(option.c): move validation logic to functionLewis Russell2023-08-31
| | | | | | |
| * | | | | | vim-patch:9.0.1828: cursor wrong with virt text before double-width char ↵zeertzjq2023-09-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#24967) Problem: Wrong cursor position with virtual text before double-width char at window edge. Solution: Check for double-width char before adding virtual text size. closes: vim/vim#12977 https://github.com/vim/vim/commit/ac2d8815ae7a93c54b07cba76475cfb3f26a3ac6
| * | | | | | fix: use snprintf instead of sprintfLewis Russell2023-08-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Clang 14 now reports sprintf as deprecated.
| * | | | | | fix(query_error): multiline bugLewis Russell2023-08-31
| |/ / / / /
| * | | | | feat(treesitter): improve query error messageAmaan Qureshi2023-08-31
| | | | | |
| * | | | | fix(shada): update deleted marks (#24936)Maria José Solano2023-08-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix #4295 Close #16067 Co-authored-by: chentau <tchen1998@gmail.com>
| * | | | | vim-patch:9.0.1825: wrong cursor position with virt text and 'linebreak' ↵zeertzjq2023-08-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#24957) Problem: Wrong cursor position with virtual text before a whitespace character and 'linebreak'. Solution: Always set "col_adj" to "size - 1" and apply 'linebreak' after adding the size of 'breakindent' and 'showbreak'. closes: vim/vim#12956 https://github.com/vim/vim/commit/6e55e85f92aff43c1b3cb564201440f3552d63f0 N/A patches: vim-patch:9.0.1826: keytrans() doesn't translate recorded key typed in a GUI
| * | | | | Merge pull request #24944 from bfredl/memline0bfredl2023-08-30
| |\ \ \ \ \ | | | | | | | | | | | | | | fix(api): nvim_buf_get_offset in a new buffer with zero or one lines
| | * | | | | fix(api): nvim_buf_get_offset in a new buffer with zero or one linesbfredl2023-08-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | fixes #24930
| * | | | | | fix(treesitter.c): improve comments on fenv usageLewis Russell2023-08-30
| |/ / / / /
| * | | | | fix(treesitter): fix another TSNode:tree() double freebfredl2023-08-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Unfortunately the gc=false objects can refer to a dangling tree if the gc=true tree was freed first. This reuses the same tree object as the node itself is keeping alive via the uservalue of the node userdata. (wrapped in a table due to lua 5.1 restrictions)
| * | | | | fix(treesitter): fix TSNode:tree() double free (#24796)nwounkn2023-08-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: `push_tree`, every time its called for the same TSTree with `do_copy=false` argument, creates a new userdata for it. Each userdata, when garbage collected, frees the same TSTree C object. Solution: Add flag to userdata, which indicates, should C object, which userdata points to, be freed, when userdata is garbage collected.
| * | | | | fix(api): better topline adjustments in nvim_buf_set_linesbfredl2023-08-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some more reasonable defaults for topline: - if topline was replaced with another line, that now becomes topline - if line was inserted just before topline, display it. This is more similar to the previous API behavior.
| * | | | | vim-patch:9.0.1813: linebreak incorrect drawn with breakindent (#24917)zeertzjq2023-08-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: 'linebreak' is incorrectly drawn after 'breakindent'. Solution: Don't include 'breakindent' size when already after it. closes: vim/vim#12937 closes: vim/vim#12940 https://github.com/vim/vim/commit/1d3e0e8f3110a7807431eae056914ccea57b057b
| * | | | | feat(terminal): allow :terminal to take modifiers (#15427)Gregory Anders2023-08-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following modifiers are all now supported: :tab term :vertical term :horizontal term :botright term :topleft term Fixes: https://github.com/neovim/neovim/issues/11385
| * | | | | fix(api): handle clearing out last line of non-current bufferbfredl2023-08-28
| | | | | | | | |