| Commit message (Collapse) | Author | Age |
... | |
| |
|
|
|
|
|
|
| |
test_normal.vim fails if we assert >= 2, so we only check >= 1. That at
least avoids invalid pointers.
TEST_FILE=test_normal.res make oldtest
|
| |
|
|
|
|
| |
Co-Author: Dongdong Zhou <dzhou121@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
Note about shada.c:
- shada_read_next_item_start was intentionally shadowing `unpacked` and
`i` because many of the macros (e.g. ADDITIONAL_KEY) implicitly
depended on those variable names.
- Macros were changed to parameterize `unpacked` (but not `i`). Macros
like CLEAR_GA_AND_ERROR_OUT do control-flow (goto), so any other
approach is messy.
|
|
|
|
|
|
| |
Problem: Deleting in a block selection causes problems.
Solution: Check the length of the line before adding bd.textcol and
bd.textlen. (Christian Brabandt, closes vim/vim#2825)
https://github.com/vim/vim/commit/35e802e713382d7e76232ad344af7dcd577e43de
|
|
|
|
|
|
| |
Problem: CTRL-A does not work with an empty line. (Alex)
Solution: Decrement the end only once. (Hirohito Higashi, closes vim/vim#2387)
https://github.com/vim/vim/commit/5fe6bdf858a7f2f288d599ffb5efb3c08449c817
|
| |
|
| |
|
|\ |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
Problem: Auto indenting breaks inserting a block.
Solution: Do not check for cursor movement if indent was changed. (Christian
Brabandt, closes vim/vim#2778)
https://github.com/vim/vim/commit/8c87a2b1fec85e4aac33f71586ac1514536fc66b
|
| | |
|
| |
| |
| |
| |
| |
| | |
Problem: Warning for uninitialized variable. (John Marriott)
Solution: Initialize ind_pre.
https://github.com/vim/vim/commit/2254a8ad0cb596a0a0863b1af92353f018c0b355
|
| |
| |
| |
| |
| |
| | |
Problem: Warning for uninitialized variable. (John Marriott)
Solution: Move code to check indent inside "if".
https://github.com/vim/vim/commit/4ec86ddd77a89766e42bd0a6cfcf10af4c3d03b2
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Bogus characters appear when indenting kicks in while doing a
visual-block append.
Solution: Recompute when indenting is done. (Christian Brabandt)
https://github.com/vim/vim/commit/e2e69e48134cbfdedea7802810932f8592705024
|
| | |
|
| |
| |
| |
| |
| |
| | |
Return value is bool.
errmsg (param) is bool in here and in getaltfname().
allocated (param) is bool.
|
|/
|
|
|
|
| |
Problem: Cannot insert the whole cursor line.
Solution: Make CTRL-R CTRL-L work. (Andy Massimino, closes vim/vim#2857)
https://github.com/vim/vim/commit/e2c8d8392684a940cc5608acc73ff47486bd7b92
|
|\ |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
Problem: Crash when shifting with huge number.
Solution: Check for overflow. (Dominique Pelle, closes vim/vim#1945)
https://github.com/vim/vim/commit/bae5a17a738d1a3b5c51d9aa5d99e228d3911955
|
| | |
|
|/
|
|
|
|
|
| |
First step towards implemening issue #7401.
The same can be done for all deprecated mb_ functions in follow-up
patches.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Problem: Message about what register to yank into is not translated.
(LemonBoy)
Solution: Add _().
https://github.com/vim/vim/commit/60d0e97497f1104b31f711072ef174af533b61fa
|
|
|
|
|
|
|
| |
Problem: The message for yanking doesn't indicate the register.
Solution: Show the register name in the "N lines yanked" message. (Lemonboy,
closes vim/vim#1803, closes vim/vim#1809)
https://github.com/vim/vim/commit/e45deb79978677cb41f1477ba4140bccff658fd1
|
|
|
|
|
|
|
| |
Problem: Some macros are in lower case.
Solution: Make a few more macros upper case. Avoid lower case macros use an
argument twice.
https://github.com/vim/vim/commit/91acfffc1e6c0d8c2abfb186a0e79a5bf19c3f3f
|
|
|
|
|
| |
Problem: There are still a few macros that should be all-caps.
Solution: Make a few more macros all-caps.
https://github.com/vim/vim/commit/8820b48654b62472821d9b155fe03ab7ac13a05c
|
| |
|
|
|
|
|
| |
Originally written by @phodge in
https://github.com/neovim/neovim/pull/5269.
|
|
|
|
|
|
|
| |
Looking at the implementation of u_save suggests that its failure is
a normal and expected situation (e.g. if undo isn't allowed for some
reason, it will fail). Also (most of) the other calls to u_save() in
do_put() return early.
|
| |
|
| |
|
|
|
|
| |
I have actually no idea how code managed to work and not trigger ASAN/etc here.
It does not look like a false positive at all.
|
| |
|
|
|
| |
Only exception is early `goto theend`.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
vim-patch:8.0.0234: crash when using put in Visual mode
Problem: When several lines are visually selected and one of them is short,
using put may cause a crash. (Axel Bender)
Solution: Check for a short line. (Christian Brabandt)
https://github.com/vim/vim/commit/941c12da3c087fd04aa6c120a76bf28f19349d96
vim-patch:8.0.0236: gcc complains about uninitialized variable
Problem: Gcc complains that a variable may be used uninitialized. Confusion
between variable and label name. (John Marriott)
Solution: Initialize it. Rename end to end_lnum.
https://github.com/vim/vim/commit/6a717f17ec6b09634be1c29e0ac4c35213f7b32d
vim-patch:8.0.0225: put in Visual block mode terminates early
Problem: When a block is visually selected and put is used on the end of
the selection only one line is changed.
Solution: Check for the end properly. (Christian Brabandt, neovim issue
5781)
https://github.com/vim/vim/commit/9957a10d0f0c34d8083af6ed66e198e4796038e0
|
|
|
|
|
|
|
|
| |
Problem: Invalid memory access in read_redo(). (gy741)
Solution: Convert the replacement character back from a negative number to
CR or NL. (hint by Dominique Pelle, closes vim/vim#2616)
https://github.com/vim/vim/commit/f12519dec88251305793f1651f558d16506b4be2
|
|
|
|
|
|
|
| |
Problem: Some macros are in lower case, which can be confusing.
Solution: Make a few lower case macros upper case.
https://github.com/vim/vim/commit/b5aedf3e228d35821591da9ae8501b61cf2e264c
ref #6297
|
|\
| |
| | |
Add a way to collect list usage statistics
|