| Commit message (Collapse) | Author | Age |
| |
|
|
|
| |
The new oldtest directory is in test/old/testdir. The reason for this is
that many tests have hardcoded the parent directory name to be
'testdir'.
|
| |
|
|
|
|
|
|
|
|
| |
Problem: Various functions not properly tested.
Solution: Add more tests, especially for failures. (Yegappan Lakshmanan,
closes vim/vim#5843)
https://github.com/vim/vim/commit/0e05de46226eb4e5ea580beefa71831f92d613d3
Cherry-pick test changes from patch 8.2.0427 and skip Test_has().
Cherry-pick Test_complete_wildmenu() change from patch 8.2.4339.
|
| |
|
|
| |
Prep for patch v8.2.0511.
|
| |
|
|
| |
Patch 8.1.0711 is too difficult to merge in 1 commit.
|
| |
|
|
|
|
| |
Problem: get(func, dict, def) does not work properly.
Solution: Handle NULL dict better. (Takuya Fujiwara, closes vim/vim#4734)
https://github.com/vim/vim/commit/f91aac5e3e3b8b1633d84eac2687ebbd76d8133b
|
| |
|
|
|
|
|
|
| |
Problem: filter() and map() only accept a string argument.
Solution: Implement using a Funcref argument (Yasuhiro Matsumoto, Ken
Takata)
https://github.com/vim/vim/commit/b33c7eb5b813cb631b2b0ca5c4029e1788a09bde
|
| |
|
|
|
|
|
|
| |
Problem: Comparing functions and partials doesn't work well.
Solution: Add tests. (Nikolai Pavlov) Compare the dict and arguments in the
partial.
https://github.com/vim/vim/commit/8e759ba8651428995b338b66c615367259f79766
|
| |
|
|
|
|
|
| |
Problem: get() works for Partial but not for Funcref.
Solution: Accept Funcref. Also return the function itself. (Nikolai Pavlov)
https://github.com/vim/vim/commit/03e19a04ac2ca55643663b97b6ab94043233dcbd
|
| |
|
|
|
|
|
|
|
|
| |
Problem: Leaking memory when there is a cycle involving a job and a
partial.
Solution: Add a copyID to job and channel. Set references in items referred
by them. Go through all jobs and channels to find unreferenced
items. Also, decrement reference counts when garbage collecting.
https://github.com/vim/vim/commit/107e1eef1df3b786ad3ad49fbdb9e058649303b5
|
| |
|
|
|
|
|
| |
Problem: string() doesn't handle a partial.
Solution: Make a string from a partial.
https://github.com/vim/vim/commit/5c29154b521e9948190be653cfda666ecbb63b5b
|
| |
|
|
|
|
|
| |
Problem: Combining dict and args with partial doesn't always work.
Solution: Use the arguments from the partial.
https://github.com/vim/vim/commit/9e63f61cb01c70fd71652f54b2d01ee27b2a3534
|
| |
|
|
|
|
|
| |
Problem: Nesting partials doesn't work.
Solution: Append arguments. (Ken Takata)
https://github.com/vim/vim/commit/8a1bb046378f4bc68d6a04af2eab80fb3ce04da6
|
| |
|
|
|
|
|
|
| |
Problem: Partial is not recognized everywhere.
Solution: Check for partial in trans_function_name(). (Yasuhiro Matsumoto)
Add a test.
https://github.com/vim/vim/commit/d22a18928ebcb465393da1418bb88204b97badb1
|
| |
|
|
|
|
|
|
|
| |
Problem: Get E923 when using function(dict.func, [], dict). (Kent Sibilev)
Storing a function with a dict in a variable drops the dict if the
function is script-local.
Solution: Translate the function name. Use dict arg if present.
https://github.com/vim/vim/commit/6f2e4b36c9d9908e1cace2b1b96e2c154a837bc2
|
| |
|
|
|
|
|
|
|
| |
Problem: Using ":call dict.func()" where the function is a partial does
not work. Using "dict.func()" where the function does not take a
Dictionary does not work.
Solution: Handle partial properly in ":call". (Yasuhiro Matsumoto)
https://github.com/vim/vim/commit/65639032bb7b17996cd255d1508a1df4ad528a1f
|
| |
|
|
|
|
|
| |
Problem: Crash when using function reference. (Luchr)
Solution: Set initial refcount. (Ken Takata)
https://github.com/vim/vim/commit/7a5c46a9df7ef01a4f6a620861c35400d5ad28d9
|
| |
|
|
|
|
|
| |
Problem: Cannot pass "dict.Myfunc" around as a partial.
Solution: Create a partial when expected.
https://github.com/vim/vim/commit/ab1fa3955f25dfdb7e329c3bd76e175c93c8cb5e
|
| |
|
|
|
|
|
| |
Problem: An empty list in function() causes an error.
Solution: Handle an empty list like there is no list of arguments.
https://github.com/vim/vim/commit/346418c624f1bc7c04c98907134a2b284e6452dd
|
| |
|
|
|
|
|
| |
Problem: Partial test fails on windows.
Solution: Return 1 or -1 from compare function.
https://github.com/vim/vim/commit/790500a8e65bee295ef51a59dfa67ecbaab8ea17
|
|
|
Problem: Passing cookie to a callback is clumsy.
Solution: Change function() to take arguments and return a partial.
https://github.com/vim/vim/commit/1735bc988c546cc962c5f94792815b4d7cb79710
|