| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Problem: Too many #ifdefs.
Solution: Merge FEAT_MOUSE_SGR into FEAT_MOUSE_XTERM / FEAT_MOUSE_TTY.
|
|
|
|
|
|
| |
Problem: Memory usage test may still fail on some systems. (Elimar
Riesebieter)
Solution: Increase tolerance from 1% to 3%.
|
|
|
|
|
| |
Problem: Warnings from clang static analyzer. (Yegappan Lakshmanan)
Solution: Fix relevant warnings.
|
|
|
|
|
| |
Problem: Memory usage test may still fail.
Solution: Drop the unused min value. (Christian Brabandt)
|
|
|
|
|
|
| |
Problem: Quickfix function arguments are inconsistent.
Solution: Pass a list pointer instead of info and index. (Yegappan
Lakshmanan, closes #4135)
|
|
|
|
|
| |
Problem: DirectWrite doesn't take 'linespace' into account.
Solution: Include 'linespace' in the position. (Ken Takata, closes #4137)
|
|
|
|
|
| |
Problem: MS-Windows: memory leak when creating terminal fails.
Solution: Free the command. (Ken Takata, closes #4138)
|
|
|
|
|
| |
Problem: Memory usage test sometimes fails.
Solution: Use 80% of before.last as the lower limit. (Christian Brabandt)
|
|
|
|
|
| |
Problem: Unused condition. (Coverity)
Solution: Remove the condition. Also remove unused #define.
|
|
|
|
|
| |
Problem: Checking NULL pointer after addition. (Coverity)
Solution: First check for NULL, then add the column.
|
|
|
|
|
| |
Problem: Stray log calls in terminal code. (Christian Brabandt)
Solution: Remove the calls.
|
|
|
|
|
| |
Problem: May use NULL pointer when indexing a blob. (Coverity)
Solution: Break out of loop after using index on blob
|
|
|
|
|
| |
Problem: May use NULL pointer when out of memory. (Coverity)
Solution: Check for blob_alloc() returning NULL.
|
|
|
|
|
|
| |
Problem: pyeval() and py3eval() leak memory.
Solution: Do not increase the reference count twice. (Ozaki Kiichi,
closes #4129)
|
|
|
|
|
| |
Problem: Compiler warning for Python3 interface.
Solution: Add type cast. (Ozaki Kiichi, closes #4128, closes #4103)
|
|
|
|
|
|
| |
Problem: Lua: may garbage collect function reference in use.
Solution: Keep the function name instead of the typeval. Make luaV_setref()
handle funcref objects. (Ozaki Kiichi, closes #4127)
|
|
|
|
|
|
| |
Problem: Window cleared when entering Terminal-Normal twice. (Epheien)
Solution: Don't cleanup scrollback when there is no postponed scrollback.
(Christian Brabandt, closes #4126)
|
|
|
|
|
| |
Problem: Off-by-one error in filetype detection.
Solution: Also check the last line of the file.
|
| |
|
|
|
|
|
|
| |
Problem: MS-Windows: No color in shell when using "!" in 'guioptions.
Solution: Don't stop termcap when using a terminal window for the shell.
(vim-jp, closes #4117)
|
|
|
|
|
|
|
| |
Problem: Quickfix buffer shows up in list, can't get buffer number.
Solution: Make the quickfix buffer unlisted when the quickfix window is
closed. get the quickfix buffer number with getqflist().
(Yegappan Lakshmanan, closes #4113)
|
|
|
|
|
| |
Problem: MS-Windows: /analyze only defined for non-debug version.
Solution: Move adding of /analyze up. (Taro Muraoka, closes #4114)
|
|
|
|
|
|
| |
Problem: MS-Windows: Scrolling fails when dividing the screen.
Solution: Position the cursor before calling ScrollConsoleScreenBuffer().
(Nobuhiro Takasaki, closes #4115)
|
|
|
|
|
| |
Problem: Memory leak with E461.
Solution: Clear the typeval. (Dominique Pelle, closes #4111)
|
|
|
|
|
| |
Problem: Indent from autoindent not removed from blank line. (Daniel Hahler)
Solution: Do not reset did_ai when text follows. (closes #4119)
|
|
|
|
|
| |
Problem: Lua interface leaks memory.
Solution: Clear typeval after copying it.
|
|
|
|
|
| |
Problem: MS-Windows: some text is not baseline aligned.
Solution: Use bottom alignment. (Taro Muraoka, closes #4116, closes #1520)
|
|
|
|
|
| |
Problem: MS-Windows: HAVE_STDINT_H only defined for non-debug version.
Solution: Move definition of HAVE_STDINT_H up. (Taro Muraoka, closes #4109)
|
|
|
|
|
|
| |
Problem: Using closure may consume a lot of memory.
Solution: unreference items that are no longer needed. Add a test. (Ozaki
Kiichi, closes #3961)
|
|
|
|
|
| |
Problem: Repeated code in quickfix support.
Solution: Move code to functions. (Yegappan Lakshmanan, closes #4091)
|
|
|
|
|
| |
Problem: Test fails because t_F2 is not set.
Solution: Add try-catch.
|
|
|
|
|
| |
Problem: Function "luaV_setref()" not covered with tests.
Solution: Add a test. (Dominique Pelle, closes #4089)
|
|
|
|
|
| |
Problem: Playing back recorded key sequence mistakes key code.
Solution: Insert a <Nop> after the <Esc>. (closes #4068)
|
|
|
|
|
|
| |
Problem: "gf" does not always work when URL has a port number. (Jakob
Schöttl)
Solution: When a URL is recognized also accept ":". (closes #4082)
|
|
|
|
|
|
| |
Problem: Visual area not correct when using 'cursorline'.
Solution: Update w_last_cursorline also in Visual mode. (Hirohito Higashi,
closes #4086)
|
|
|
|
|
|
| |
Problem: Indenting is off.
Solution: Make indenting consistent and update comments. (Ozaki Kiichi,
closes #4079)
|
|
|
|
|
|
| |
Problem: Use register one too often and not properly tested.
Solution: Do not always use register one when specifying a register.
(closes #4085) Add more tests.
|
|
|
|
|
| |
Problem: getcurpos() unexpectedly changes "curswant".
Solution: Save and restore "curswant". (closes #4069)
|
|
|
|
|
| |
Problem: Using GUI colors in vim.exe when 'termguicolors' is off.
Solution: Add condition for 'termguicolors' set. (Ken Takata, closes #4078)
|
|
|
|
|
| |
Problem: A few screendump tests fail because of scrolling.
Solution: Update the screendumps.
|
|
|
|
|
|
| |
Problem: A getchar() call while executing a register resets the
reg_executing() result.
Solution: Save and restore reg_executing. (closes #406
|
|
|
|
|
|
| |
Problem: Relative cursor position is not calculated correctly.
Solution: Always set topline, also when window is one line only.
(Robert Webb) Add more info to getwininfo() for testing.
|
|
|
|
|
| |
Problem: ch_read() may return garbage if terminating NL is missing.
Solution: Add terminating NUL. (Ozaki Kiichi, closes #4065)
|
|
|
|
|
|
| |
Problem: A :normal command while executing a register resets the
reg_executing() result.
Solution: Save and restore reg_executing. (closes #4066)
|
|
|
|
|
|
| |
Problem: Cannot build with FEAT_EVAL defined and FEAT_SEARCH_EXTRA
undefined, and with FEAT_DIFF defined and FEAT_EVAL undefined.
Solution: Add a couple of #ifdefs. (closes #4067)
|
|
|
|
|
| |
Problem: Floating point exception with "%= 0" and "/= 0".
Solution: Avoid dividing by zero. (Dominique Pelle, closes #4058)
|
|
|
|
|
|
| |
Problem: Various small code ugliness.
Solution: Remove pointless NULL checks. Fix function calls. Fix typos.
(Dominique Pelle, closes #4060)
|
|
|
|
|
|
| |
Problem: Deleting a location list buffer breaks location list window
functionality.
Solution: (Yegappan Lakshmanan, closes #4056)
|
|
|
|
|
| |
Problem: Unnecessary condition in #ifdef.
Solution: Remove using CYGWIN32. (Ken Takata)
|
|
|
|
|
| |
Problem: rename() is not propertly tested.
Solution: Add tests. (Dominique Pelle, closes #4061)
|