| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
| |
Problem: No test for concatenating an empty string that results from out of
bounds indexing.
Solution: Add a simple test.
https://github.com/vim/vim/commit/218426896cbb2129aa4e85803ea97c5b57df1eaa
|
|
|
|
|
|
|
| |
Problem: The regexp engines are not reentrant.
Solution: Add regexec_T and save/restore the state when needed.
https://github.com/vim/vim/commit/6100d02aab7c8294b581cb299250eea164b50e9d
|
|
|
|
|
|
|
| |
Problem: A string argument for function() that is not a function name
results in an error message with NULL. (Christian Brabandt)
Solution: Use the argument for the error message.
https://github.com/vim/vim/commit/5582ef14384525e8cec86016876d97a6b32dd548
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Tests use assert_true(0) and assert_false(1) to report errors.
Solution: Use assert_report().
https://github.com/vim/vim/commit/37175409d766ce67f2548dffa6d73451379b5737
|
| |
| |
| |
| |
| |
| |
| | |
Problem: printf() does not work with 64 bit numbers.
Solution: use the "L" length modifier. (Ken Takata)
https://github.com/vim/vim/commit/38ee6b041e73ad31c3b6b99d56d20833b59b2b57
|
|/
|
|
|
|
|
| |
Problem: Getting value of binary option is wrong. (Kent Sibilev)
Solution: Fix type cast. Add a test.
https://github.com/vim/vim/commit/2acfbed9dbea990f129535de7ff3df360365130b
|
|
|
|
|
|
| |
Problem: Error for min() and max() contains %s. (Nikolay Pavlov)
Solution: Pass the function name. (closes vim/vim#1040)
https://github.com/vim/vim/commit/26b84339fd8766898bcf6a259cbc2e0c38689726
|
|
|
|
|
|
| |
Problem: Expression test fails without conceal feature.
Solution: Only check "conceal" with the conceal feature.
https://github.com/vim/vim/commit/7ab6defcafe017a3ad58580a3e56dab705b1ed8b
|
|
|
|
|
|
|
| |
Problem: printf() handles floats wrong when there is a sign.
Solution: Fix placing the sign. Add tests. (Dominique Pelle)
https://github.com/vim/vim/commit/04186095346daa60e82e981dad114de2b641d672
|
|
|
|
|
|
|
| |
Problem: printf() doesn't handle infinity float values correctly.
Solution: Add a table with possible infinity values. (Dominique Pelle)
https://github.com/vim/vim/commit/e999782e369999539a1783a7ebe4eadcc6da28a8
|
|
|
|
|
|
|
|
| |
Problem: printf() test fails on Windows. "-inf" is not used.
Solution: Check for Windows-specific values for "nan". Add sign to "inf"
when appropriate.
https://github.com/vim/vim/commit/9992237a3e791fbc0c1ebf743ece1b75e1488410
|
|
|
|
|
|
|
| |
Problem: printf() isn't tested much.
Solution: Add more tests for printf(). (Dominique Pelle)
https://github.com/vim/vim/commit/76efafba2af36ae5f6c7b79b56c537fcbcdb386c
|
|
|
|
|
|
|
|
| |
Problem: printf() gives an error when the argument for %s is not a string.
(Ozaki Kiichi)
Solution: Behave like invoking string() on the argument. (Ken Takata)
https://github.com/vim/vim/commit/e5a8f35b4286135f3469f3b00a6c2220553d9658
|
|
|
|
|
|
|
| |
Problem: submatch() does not check for a valid argument.
Solution: Give an error if the argument is out of range. (Dominique Pelle)
https://github.com/vim/vim/commit/989f592f7ffcbafdc4ec35cee4dc65bd053e2077
|
|
|
|
|
|
|
| |
Problem: Crash when using funcref() with invalid name. (Dominique Pelle)
Solution: Check for NULL translated name.
https://github.com/vim/vim/commit/843b884461de1c79a1d2748549776fb13fc94360
|
|
|
|
|
|
|
|
|
| |
Problem: Using function() with a name will find another function when it is
redefined.
Solution: Add funcref(). Refer to lambda using a partial. Fix several
reference counting issues.
https://github.com/vim/vim/commit/437bafe4c8a83ed71ee006eda7f54b65a90f0d4c
|
|
|
|
|
|
|
| |
Problem: No error for using function() badly.
Solution: Check for passing wrong function name. (Ken Takata)
https://github.com/vim/vim/commit/b54c3ff3174dbb5dfbfcabdf95200b047beaa644
|
|
|
|
|
|
|
|
| |
Problem: Using submatch() in a lambda passed to substitute() is verbose.
Solution: Use a static list and pass it as an optional argument to the
function. Fix memory leak.
https://github.com/vim/vim/commit/df48fb456fb6bf63d94cad9b302ff01d8ee8d311
|
|
|
|
|
|
|
| |
Problem: substitute() does not support a Funcref argument.
Solution: Support a Funcref like it supports a string starting with "\=".
https://github.com/vim/vim/commit/72ab729c3dcdea0fba44d8e676602c847e841bcd
|
|
|
|
| |
Also re-arrange the test to match Vim upstream.
|
|
|
|
|
|
| |
Problem: setmatches() mixes up values. (Nikolai Pavlov)
Solution: Save the string instead of reusing a shared buffer.
https://github.com/vim/vim/commit/7dc5e2e486fe0287601968e535902a41a39f65bb
|
|
|
|
|
|
| |
Problem: Invalid memory access with "\<C-">.
Solution: Do not recognize this as a special character. (Dominique Pelle)
https://github.com/vim/vim/commit/1d90a5a5af84250e226f8a9121e771f7b72aa894
|
|
|
|
|
|
|
|
|
| |
Problem: Getting an item from a NULL dict crashes. Setting a register to a
NULL list crashes. (Nikolai Pavlov, issue vim/vim#768) Comparing a NULL
dict with a NULL dict fails.
Solution: Properly check for NULL.
https://github.com/vim/vim/commit/13ddc5c35921efa69e980284117b6db6465e019c
|
|
|
|
|
|
| |
Problem: Looping over a null list throws an error.
Solution: Skip over the for loop.
https://github.com/vim/vim/commit/d8585eded6359f1d7e1981e96ae775efd077c638
|
|
|
|
|
|
|
|
| |
Problem: Comparing a function that exists on two dicts is not backwards
compatible. (Thinca)
Solution: Only compare the function, not what the partial adds.
https://github.com/vim/vim/commit/f0e86a0dbddc18568910e9e4aaae0cd88ca8087a
|
|\
| |
| | |
vim-patch:7.4.1707
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Cannot use empty dictionary key, even though it can be useful.
Solution: Allow using an empty dictionary key.
https://github.com/vim/vim/commit/0921ecff1c5a74541bad6c073e8ade32247403d8
|
|/
|
|
|
|
|
| |
Problem: has('patch-7.4.1') doesn't work.
Solution: Fix off-by-one error. (Thinca)
https://github.com/vim/vim/commit/819821c5a95fc60797ecbb5e5ca1302e397e3d9a
|
|
|
|
|
|
|
| |
Problem: Test fails when not using utf-8.
Solution: Split test in regularand utf-8 part.
https://github.com/vim/vim/commit/0f518a8f4d4be4cac10389680f6bd5e3781f94b0
|
|
Problem: It is not easy to get a character out of a string.
Solution: Add strgetchar() and strcharpart().
https://github.com/vim/vim/commit/58de0e2dcc1f2d251b74892a06d71a14973f3187
|