Age | Commit message (Collapse) | Author |
|
Problem: Can't get info about a channel.
Solution: Add ch_info().
|
|
Problem: The versplit feature makes the code uneccessary complicated.
Solution: Remove FEAT_VERTSPLIT, always support vertical splits when
FEAT_WINDOWS is defined.
|
|
Problem: string() doesn't handle a partial.
Solution: Make a string from a partial.
|
|
Problem: Comparing a function that exists on two dicts is not backwards
compatible. (Thinca)
Solution: Only compare the function, not what the partial adds.
|
|
Problem: Having type() handle a Funcref that is or isn't a partial
differently causes problems for existing scripts.
Solution: Make type() return the same value. (Thinca)
|
|
Problem: Memory leak when out of memory. (Coverity)
Solution: Free the name.
|
|
Problem: Warning for shadowed variable. (Christian Brabandt)
Solution: Move the variable into a local block.
|
|
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().
|