Age | Commit message (Collapse) | Author |
|
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: There is no way to invoke a function later or periodically.
Solution: Add timer support.
|
|
Problem: Cannot pass "dict.Myfunc" around as a partial.
Solution: Create a partial when expected.
|
|
Problem: Crash in assert_fails().
Solution: Check for NULL. (Dominique Pelle) Add a test.
|
|
Problem: Compiler warning for shadowed variable. (Kazunobu Kuriyama)
Solution: Remove the inner one.
|
|
Problem: Crash when assert_equal() runs into a NULL string.
Solution: Check for NULL. (Dominique) Add a test.
|
|
Problem: An empty list in function() causes an error.
Solution: Handle an empty list like there is no list of arguments.
|
|
Problem: Passing cookie to a callback is clumsy.
Solution: Change function() to take arguments and return a partial.
|
|
Problem: It is not easy to find out what windows display a buffer.
Solution: Add win_findbuf().
|
|
Problem: Windows cannot be identified.
Solution: Add a unique window number to each window and functions to use it.
|
|
Problem: ":colorscheme" does not use 'packpath'.
Solution: Also use in "start" and "opt" directories in 'packpath'.
|
|
Problem: Sticky type checking is more annoying than useful.
Solution: Remove the error for changing a variable type.
|
|
Problem: Missing job_info().
Solution: Implement it.
|
|
Problem: Too much code in eval.c.
Solution: Move job and channel code to channel.c.
|
|
Problem: Too many feature flags for pipes, jobs and channels.
Solution: Only use FEAT_JOB_CHANNEL.
|
|
Problem: Cannot re-use a channel for another job.
Solution: Add the "channel" option to job_start().
|
|
Problem: The feedkeys test has a one second delay.
Solution: Avoid need_wait_return() to delay. (Hirohito Higashi)
|
|
Problem: Compiler warning for shadowed variable. (Kazunobu Kuriyama)
Solution: Rename it.
|
|
Problem: Using feedkeys() with an empty string disregards 'x' option.
Solution: Make 'x' work with an empty string. (Thinca)
|
|
Problem: Specifying buffer number for channel not implemented yet.
Solution: Implement passing a buffer number.
|
|
Problem: Channel with disconnected in/out/err is not supported.
Solution: Implement it for Unix.
|
|
Problem: Cannot change file permissions.
Solution: Add setfperm().
|
|
Problem: Keeping both a variable for a job and the channel it refers to is
a hassle.
Solution: Allow passing the job where a channel is expected. (Damien)
|
|
Problem: Crash when starting a job fails.
Solution: Check for the channel to be NULL. (idea by Yasuhiro Matsumoto)
|
|
Problem: Job cannot read from a file.
Solution: Implement reading from a file for Unix.
|
|
Problem: Crash when using ch_getjob(). (Damien)
Solution: Check for a NULL job.
|
|
Problem: Job input from buffer is not implemented.
Solution: Implement it. Add "in-top" and "in-bot" options.
|
|
Problem: "timeout" option not supported on ch_send*() and ch_eval*().
Solution: Get and use the timeout option from the argument.
|
|
Problem: Function arguments marked as unused while they are not.
Solution: Remove UNUSED. (Yegappan Lakshmanan)
|
|
Problem: Compiler warnings without the float feature.
Solution: Move #ifdefs. (John Marriott)
|
|
Problem: Can't build without the float feature.
Solution: Add #ifdefs. (Nick Owens, closes #667)
|
|
Problem: When the argument of sort() is zero or empty it fails.
Solution: Make zero work as documented. (suggested by Yasuhiro Matsumoto)
|
|
Problem: When starting job on MS-Windows all parts of the command are put
in quotes.
Solution: Only use quotes when needed. (Yasuhiro Matsumoto)
|
|
Problem: Vim hangs when a channel has a callback but isn't referenced.
Solution: Have channel_unref() only return TRUE when the channel was
actually freed.
|
|
Problem: Build fails with job feature but without channel feature.
Solution: Add #ifdef.
|
|
Problem: Memory leak when using ch_read(). (Dominique Pelle)
No log message when stopping a job and a few other situations.
Too many "Nothing to read" messages. Channels are not freed.
Solution: Free the listtv. Add more log messages. Remove "Nothing to read"
message. Remove the channel from the job when its refcount
becomes zero.
|
|
Problem: Can't build on Windows.
Solution: Change #ifdefs. Only define isnan when used.
|
|
Problem: Can't get buffer number of a channel.
Solution: Add ch_getbufnr().
|
|
Problem: Old system doesn't have isinf() and NAN. (Ben Fritz)
Solution: Adjust #ifdefs. Detect isnan() and isinf() functions with
configure. Use a replacement when missing. (Kazunobu Kuriyama)
|
|
Problem: It is confusing that ch_sendexpr() and ch_sendraw() wait for a
response.
Solution: Add ch_evalexpr() and ch_evalraw().
|
|
Problem: The Sniff interface is no longer useful, the tool has not been
available for may years.
Solution: Delete the Sniff interface and related code.
|
|
Problem: The "out-io" option for jobs is not implemented yet.
Solution: Implement the "buffer" value: append job output to a buffer.
|
|
Problem: Error when reading fails uses wrong errno. Keeping channel open
after job stops results in test failing.
Solution: Move the error up. Add ch_job_killed.
|
|
Problem: May free a channel when a callback may need to be invoked.
Solution: Keep the channel when refcount is zero.
|
|
Problem: When calling ch_close() the close callback is invoked, even though
the docs say it isn't. (Christian J. Robinson)
Solution: Don't call the close callback.
|