summaryrefslogtreecommitdiff
path: root/src/eval.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 7.4.989v7.4.989Bram Moolenaar2015-12-281-1/+5
| | | | | Problem: Leaking memory when hash_add() fails. Coverity error 99126. Solution: When hash_add() fails free the memory.
* patch 7.4.984v7.4.984Bram Moolenaar2015-12-281-1/+5
| | | | | | 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.
* patch 7.4.971v7.4.971Bram Moolenaar2015-12-131-1/+3
| | | | | Problem: The asin() function can't be used. Solution: Sort the function table properly. (Watiko)
* patch 7.4.951v7.4.951Bram Moolenaar2015-12-031-0/+16
| | | | | Problem: Sorting number strings does not work as expected. (Luc Hermitte) Solution: Add the 'N" argument to sort()
* patch 7.4.950v7.4.950Bram Moolenaar2015-12-031-0/+1
| | | | | Problem: v:errors is not initialized. Solution: Initialze it to an empty list. (Thinca)
* patch 7.4.948v7.4.948Bram Moolenaar2015-12-031-0/+2
| | | | | Problem: Can't build when the insert_expand feature is disabled. Solution: Add #ifdefs. (Dan Pasanen, closes #499)
* patch 7.4.946v7.4.946Bram Moolenaar2015-12-011-53/+82
| | | | | Problem: Missing changes in source file. Solution: Include changes to the eval.c file.
* patch 7.4.944v7.4.944Bram Moolenaar2015-11-291-0/+114
| | | | | | | 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.
* patch 7.4.888v7.4.888Bram Moolenaar2015-09-291-8/+24
| | | | | Problem: The OptionSet autocommands are not triggered from setwinvar(). Solution: Do not use switch_win() when not needed. (Hirohito Higashi)
* patch 7.4.879v7.4.879Bram Moolenaar2015-09-251-3/+7
| | | | | Problem: Can't see line numbers in nested function calls. Solution: Add line number to the file name. (Alberto Fanjul)
* patch 7.4.844v7.4.844Bram Moolenaar2015-09-011-1/+2
| | | | | Problem: When '#' is in 'isident' the is# comparator doesn't work. Solution: Don't use vim_isIDc(). (Yasuhiro Matsumoto)
* patch 7.4.836v7.4.836Bram Moolenaar2015-08-251-0/+2
| | | | | Problem: Accessing unitinialized memory. Solution: Add missing calls to init_tv(). (Dominique Pelle)
* patch 7.4.834v7.4.834Bram Moolenaar2015-08-251-1/+2
| | | | | Problem: gettabvar() doesn't work after Vim start. (Szymon Wrozynski) Solution: Handle first window in tab still being NULL. (Christian Brabandt)
* patch 7.4.826v7.4.826Bram Moolenaar2015-08-131-2/+2
| | | | | Problem: Compiler warnings and errors. Solution: Make it build properly without the multi-byte feature.
* patch 7.4.824v7.4.824Bram Moolenaar2015-08-121-0/+3
| | | | | Problem: Can't compile without the multi-byte feature. (John Marriott) Solution: Add #ifdef.
* patch 7.4.822v7.4.822Bram Moolenaar2015-08-111-3/+3
| | | | | Problem: More problems reported by coverity. Solution: Avoid the warnings. (Christian Brabandt)
* patch 7.4.816v7.4.816Bram Moolenaar2015-08-111-0/+2
| | | | | Problem: Invalid memory access when doing ":fun X(". Solution: Check for missing ')'. (Dominique Pelle)
* patch 7.4.815v7.4.815Bram Moolenaar2015-08-111-0/+3
| | | | | Problem: Invalid memory access when doing ":call g:". Solution: Check for an empty name. (Dominique Pelle)
* patch 7.4.813v7.4.813Bram Moolenaar2015-08-111-0/+64
| | | | | Problem: It is not possible to save and restore character search state. Solution: Add getcharsearch() and setcharsearch(). (James McCoy)
* patch 7.4.792v7.4.792Bram Moolenaar2015-07-211-11/+59
| | | | | Problem: Can only conceal text by defining syntax items. Solution: Use matchadd() to define concealing. (Christian Brabandt)
* patch 7.4.786v7.4.786Bram Moolenaar2015-07-171-0/+13
| | | | | Problem: It is not possible for a plugin to adjust to a changed setting. Solution: Add the OptionSet autocommand event. (Christian Brabandt)
* patch 7.4.782v7.4.782Bram Moolenaar2015-07-171-4/+4
| | | | | Problem: Still a few problems with CTRL-A and CTRL-X in Visual mode. Solution: Fix the reported problems. (Christian Brabandt)
* patch 7.4.774v7.4.774Bram Moolenaar2015-07-101-0/+32
| | | | | | 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)
* patch 7.4.755v7.4.755Bram Moolenaar2015-06-251-8/+20
| | | | | | Problem: It is not easy to count the number of characters. Solution: Add the skipcc argument to strchars(). (Hirohito Higashi, Ken Takata)
* patch 7.4.748v7.4.748Bram Moolenaar2015-06-191-1/+1
| | | | | Problem: Buffer overflow. Solution: Make the buffer larger. (Kazunobu Kuriyama)
* patch 7.4.745v7.4.745Bram Moolenaar2015-06-191-2/+46
| | | | | | Problem: The entries added by matchaddpos() are returned by getmatches() but can't be set with setmatches(). (Lcd) Solution: Fix setmatches(). (Christian Brabandt)
* patch 7.4.739v7.4.739Bram Moolenaar2015-06-191-1/+3
| | | | | | 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)
* patch 7.4.735v7.4.735Bram Moolenaar2015-06-091-1/+1
| | | | | Problem: Wrong argument for sizeof(). Solution: Use a pointer argument. (Chris Hall)
* patch 7.4.717v7.4.717Bram Moolenaar2015-05-041-13/+24
| | | | | Problem: ":let list += list" can change a locked list. Solution: Check for the lock earlier. (Olaf Dabrunz)
* patch 7.4.708v7.4.708Bram Moolenaar2015-04-211-54/+60
| | | | | | Problem: gettext() is called too often. Solution: Do not call gettext() for messages until they are actually used. (idea by Yasuhiro Matsumoto)
* patch 7.4.702v7.4.702Bram Moolenaar2015-04-161-0/+2
| | | | | Problem: Joining an empty list does uneccessary work. Solution: Let join() return early. (Marco Hinz)
* patch 7.4.698v7.4.698Bram Moolenaar2015-04-131-14/+47
| | | | | | Problem: Various problems with locked and fixed lists and dictionaries. Solution: Disallow changing locked items, fix a crash, add tests. (Olaf Dabrunz)
* updated for version 7.4.684v7.4.684Bram Moolenaar2015-03-311-2/+2
| | | | | | 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.
* updated for version 7.4.672v7.4.672Bram Moolenaar2015-03-211-2/+6
| | | | | | | 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.
* updated for version 7.4.668v7.4.668Bram Moolenaar2015-03-201-0/+16
| | | | | Problem: Can't use a glob pattern as a regexp pattern. Solution: Add glob2regpat(). (Christian Brabandt)
* updated for version 7.4.654v7.4.654Bram Moolenaar2015-03-051-10/+20
| | | | | | | 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().
* updated for version 7.4.633v7.4.633Bram Moolenaar2015-02-171-2/+9
| | | | | Problem: After 7.4.630 the problem persists. Solution: Also skip redo when calling a user function.
* updated for version 7.4.620v7.4.620Bram Moolenaar2015-02-041-1/+1
| | | | | Problem: Compiler warning for unitinialized variable. (Tony Mechelynck) Solution: Initialize "did_free". (Ben Fritz)
* updated for version 7.4.615v7.4.615Bram Moolenaar2015-02-031-15/+12
| | | | | | 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)
* updated for version 7.4.609v7.4.609Bram Moolenaar2015-02-031-57/+166
| | | | | | | 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)
* updated for version 7.4.601v7.4.601Bram Moolenaar2015-01-271-1/+3
| | | | | Problem: It is not possible to have feedkeys() insert characters. Solution: Add the 'i' flag.
* updated for version 7.4.597v7.4.597Bram Moolenaar2015-01-271-0/+2
| | | | | Problem: Cannot change the result of systemlist(). Solution: Initialize v_lock. (Yukihiro Nakadaira)
* updated for version 7.4.578v7.4.578Bram Moolenaar2015-01-141-1/+2
| | | | | | Problem: Using getcurpos() after "$" in an empty line returns a negative number. Solution: Don't add one when this would overflow. (Hirohito Higashi)
* updated for version 7.4.574v7.4.574Bram Moolenaar2015-01-141-2/+6
| | | | | Problem: No error for eval('$'). Solution: Check for empty name. (Yasuhiro Matsumoto)
* updated for version 7.4.549v7.4.549Bram Moolenaar2014-12-131-7/+4
| | | | | Problem: Function name not recognized correctly when inside a function. Solution: Don't check for an alpha character.
* updated for version 7.4.541v7.4.541Bram Moolenaar2014-12-071-1/+1
| | | | | Problem: Crash when doing a range assign. Solution: Check for NULL poiter. (Yukihiro Nakadaira)
* updated for version 7.4.525v7.4.525Bram Moolenaar2014-11-191-3/+6
| | | | | Problem: map() leaks memory when there is an error in the expression. Solution: Call clear_tv(). (Christian Brabandt)
* updated for version 7.4.522v7.4.522Bram Moolenaar2014-11-191-1/+1
| | | | | Problem: Specifying wrong buffer size for GetLongPathName(). Solution: Use the actual size. (Ken Takata)
* updated for version 7.4.516v7.4.516Bram Moolenaar2014-11-121-2/+2
| | | | | | Problem: Completing a function name containing a # does not work. Issue 253. Solution: Recognize the # character. (Christian Brabandt)
* updated for version 7.4.513v7.4.513Bram Moolenaar2014-11-121-0/+2
| | | | | | Problem: Crash because reference count is wrong for list returned by getreg(). Solution: Increment the reference count. (Kimmy Lindvall)