| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Problem: Leaking memory when hash_add() fails. Coverity error 99126.
Solution: When hash_add() fails free the memory.
|
|
|
|
|
|
| |
Problem: searchpos() always starts searching in the first column, which is
not what some people expect. (Brett Stahlman)
Solution: Add the 'z' flag: start at the specified column.
|
|
|
|
|
| |
Problem: The asin() function can't be used.
Solution: Sort the function table properly. (Watiko)
|
|
|
|
|
| |
Problem: Sorting number strings does not work as expected. (Luc Hermitte)
Solution: Add the 'N" argument to sort()
|
|
|
|
|
| |
Problem: v:errors is not initialized.
Solution: Initialze it to an empty list. (Thinca)
|
|
|
|
|
| |
Problem: Can't build when the insert_expand feature is disabled.
Solution: Add #ifdefs. (Dan Pasanen, closes #499)
|
|
|
|
|
| |
Problem: Missing changes in source file.
Solution: Include changes to the eval.c file.
|
|
|
|
|
|
|
| |
Problem: Writing tests for Vim script is hard.
Solution: Add assertEqual(), assertFalse() and assertTrue() functions. Add
the v:errors variable. Add the runtest script. Add a first new
style test script.
|
|
|
|
|
| |
Problem: The OptionSet autocommands are not triggered from setwinvar().
Solution: Do not use switch_win() when not needed. (Hirohito Higashi)
|
|
|
|
|
| |
Problem: Can't see line numbers in nested function calls.
Solution: Add line number to the file name. (Alberto Fanjul)
|
|
|
|
|
| |
Problem: When '#' is in 'isident' the is# comparator doesn't work.
Solution: Don't use vim_isIDc(). (Yasuhiro Matsumoto)
|
|
|
|
|
| |
Problem: Accessing unitinialized memory.
Solution: Add missing calls to init_tv(). (Dominique Pelle)
|
|
|
|
|
| |
Problem: gettabvar() doesn't work after Vim start. (Szymon Wrozynski)
Solution: Handle first window in tab still being NULL. (Christian Brabandt)
|
|
|
|
|
| |
Problem: Compiler warnings and errors.
Solution: Make it build properly without the multi-byte feature.
|
|
|
|
|
| |
Problem: Can't compile without the multi-byte feature. (John Marriott)
Solution: Add #ifdef.
|
|
|
|
|
| |
Problem: More problems reported by coverity.
Solution: Avoid the warnings. (Christian Brabandt)
|
|
|
|
|
| |
Problem: Invalid memory access when doing ":fun X(".
Solution: Check for missing ')'. (Dominique Pelle)
|
|
|
|
|
| |
Problem: Invalid memory access when doing ":call g:".
Solution: Check for an empty name. (Dominique Pelle)
|
|
|
|
|
| |
Problem: It is not possible to save and restore character search state.
Solution: Add getcharsearch() and setcharsearch(). (James McCoy)
|
|
|
|
|
| |
Problem: Can only conceal text by defining syntax items.
Solution: Use matchadd() to define concealing. (Christian Brabandt)
|
|
|
|
|
| |
Problem: It is not possible for a plugin to adjust to a changed setting.
Solution: Add the OptionSet autocommand event. (Christian Brabandt)
|
|
|
|
|
| |
Problem: Still a few problems with CTRL-A and CTRL-X in Visual mode.
Solution: Fix the reported problems. (Christian Brabandt)
|
|
|
|
|
|
| |
Problem: When using the CompleteDone autocommand event it's difficult to
get to the completed items.
Solution: Add the v:completed_items variable. (Shougo Matsu)
|
|
|
|
|
|
| |
Problem: It is not easy to count the number of characters.
Solution: Add the skipcc argument to strchars(). (Hirohito Higashi, Ken
Takata)
|
|
|
|
|
| |
Problem: Buffer overflow.
Solution: Make the buffer larger. (Kazunobu Kuriyama)
|
|
|
|
|
|
| |
Problem: The entries added by matchaddpos() are returned by getmatches()
but can't be set with setmatches(). (Lcd)
Solution: Fix setmatches(). (Christian Brabandt)
|
|
|
|
|
|
| |
Problem: In a string "\U" only takes 4 digits, while after CTRL-V U eight
digits can be used.
Solution: Make "\U" also take eight digits. (Christian Brabandt)
|
|
|
|
|
| |
Problem: Wrong argument for sizeof().
Solution: Use a pointer argument. (Chris Hall)
|
|
|
|
|
| |
Problem: ":let list += list" can change a locked list.
Solution: Check for the lock earlier. (Olaf Dabrunz)
|
|
|
|
|
|
| |
Problem: gettext() is called too often.
Solution: Do not call gettext() for messages until they are actually used.
(idea by Yasuhiro Matsumoto)
|
|
|
|
|
| |
Problem: Joining an empty list does uneccessary work.
Solution: Let join() return early. (Marco Hinz)
|
|
|
|
|
|
| |
Problem: Various problems with locked and fixed lists and dictionaries.
Solution: Disallow changing locked items, fix a crash, add tests. (Olaf
Dabrunz)
|
|
|
|
|
|
| |
Problem: When starting several Vim instances in diff mode, the temp files
used may not be unique. (Issue 353)
Solution: Add an argument to vim_tempname() to keep the file.
|
|
|
|
|
|
|
| |
Problem: When completing a shell command, directories in the current
directory are not listed.
Solution: When "." is not in $PATH also look in the current directory for
directories.
|
|
|
|
|
| |
Problem: Can't use a glob pattern as a regexp pattern.
Solution: Add glob2regpat(). (Christian Brabandt)
|
|
|
|
|
|
|
| |
Problem: glob() and globpath() cannot include links to non-existing files.
(Charles Campbell)
Solution: Add an argument to include all links with glob(). (James McCoy)
Also for globpath().
|
|
|
|
|
| |
Problem: After 7.4.630 the problem persists.
Solution: Also skip redo when calling a user function.
|
|
|
|
|
| |
Problem: Compiler warning for unitinialized variable. (Tony Mechelynck)
Solution: Initialize "did_free". (Ben Fritz)
|
|
|
|
|
|
| |
Problem: Vim hangs when freeing a lot of objects.
Solution: Do not go back to the start of the list every time. (Yasuhiro
Matsumoto and Ariya Mizutani)
|
|
|
|
|
|
|
| |
Problem: For complicated list and dict use the garbage collector can run
out of stack space.
Solution: Use a stack of dicts and lists to be marked, thus making it
iterative instead of recursive. (Ben Fritz)
|
|
|
|
|
| |
Problem: It is not possible to have feedkeys() insert characters.
Solution: Add the 'i' flag.
|
|
|
|
|
| |
Problem: Cannot change the result of systemlist().
Solution: Initialize v_lock. (Yukihiro Nakadaira)
|
|
|
|
|
|
| |
Problem: Using getcurpos() after "$" in an empty line returns a negative
number.
Solution: Don't add one when this would overflow. (Hirohito Higashi)
|
|
|
|
|
| |
Problem: No error for eval('$').
Solution: Check for empty name. (Yasuhiro Matsumoto)
|
|
|
|
|
| |
Problem: Function name not recognized correctly when inside a function.
Solution: Don't check for an alpha character.
|
|
|
|
|
| |
Problem: Crash when doing a range assign.
Solution: Check for NULL poiter. (Yukihiro Nakadaira)
|
|
|
|
|
| |
Problem: map() leaks memory when there is an error in the expression.
Solution: Call clear_tv(). (Christian Brabandt)
|
|
|
|
|
| |
Problem: Specifying wrong buffer size for GetLongPathName().
Solution: Use the actual size. (Ken Takata)
|
|
|
|
|
|
| |
Problem: Completing a function name containing a # does not work. Issue
253.
Solution: Recognize the # character. (Christian Brabandt)
|
|
|
|
|
|
| |
Problem: Crash because reference count is wrong for list returned by
getreg().
Solution: Increment the reference count. (Kimmy Lindvall)
|