| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Problem: Tests fail without the job feature.
Solution: Skip tests when the job feature is not present.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Problem: Double free when a partial is in a cycle with a list or dict.
(Nikolai Pavlov)
Solution: Do not free a nested list or dict used by the partial.
|
|
|
|
|
|
| |
Problem: Using Python vim.bindeval() on a partial doesn't work. (Nikolai
Pavlov)
Solution: Add VAR_PARTIAL support in Python.
|
|
|
|
|
|
| |
Problem: When a dict contains a partial it can't be redefined as a
function. (Nikolai Pavlov)
Solution: Remove the partial when overwriting with a function.
|
|
|
|
|
|
|
| |
Problem: Using string() on a partial that exists in the dictionary it binds
results in an error. (Nikolai Pavlov)
Solution: Make string() not fail on a recursively nested structure. (Ken
Takta)
|
|
|
|
|
|
| |
Problem: When binding a function to a dict the reference count is wrong.
Solution: Decrement dict reference count, only reference the function when
actually making a copy. (Ken Takata)
|
|
|
|
|
| |
Problem: string() doesn't handle a partial.
Solution: Make a string from a partial.
|
|
|
|
|
| |
Problem: Combining dict and args with partial doesn't always work.
Solution: Use the arguments from the partial.
|
|
|
|
|
| |
Problem: Nesting partials doesn't work.
Solution: Append arguments. (Ken Takata)
|
|
|
|
|
|
| |
Problem: Partial is not recognized everywhere.
Solution: Check for partial in trans_function_name(). (Yasuhiro Matsumoto)
Add a test.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
Problem: Crash when using function reference. (Luchr)
Solution: Set initial refcount. (Ken Takata, closes #690)
|
|
|
|
|
| |
Problem: Cannot pass "dict.Myfunc" around as a partial.
Solution: Create a partial when expected.
|
|
|
|
|
| |
Problem: An empty list in function() causes an error.
Solution: Handle an empty list like there is no list of arguments.
|
|
|
|
|
| |
Problem: Partial test fails on windows.
Solution: Return 1 or -1 from compare function.
|
|
Problem: Passing cookie to a callback is clumsy.
Solution: Change function() to take arguments and return a partial.
|