summaryrefslogtreecommitdiffstats
path: root/src/eval.c
AgeCommit message (Collapse)Author
2016-03-18patch 7.4.1590v7.4.1590Bram Moolenaar
Problem: Warning for shadowed variable. (Christian Brabandt) Solution: Move the variable into a local block.
2016-03-17patch 7.4.1589v7.4.1589Bram Moolenaar
Problem: Combining dict and args with partial doesn't always work. Solution: Use the arguments from the partial.
2016-03-17patch 7.4.1586v7.4.1586Bram Moolenaar
Problem: Nesting partials doesn't work. Solution: Append arguments. (Ken Takata)
2016-03-17patch 7.4.1585v7.4.1585Bram Moolenaar
Problem: Partial is not recognized everywhere. Solution: Check for partial in trans_function_name(). (Yasuhiro Matsumoto) Add a test.
2016-03-16patch 7.4.1582v7.4.1582Bram Moolenaar
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.
2016-03-16patch 7.4.1581v7.4.1581Bram Moolenaar
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)
2016-03-16patch 7.4.1580v7.4.1580Bram Moolenaar
Problem: Crash when using function reference. (Luchr) Solution: Set initial refcount. (Ken Takata, closes #690)
2016-03-15patch 7.4.1578v7.4.1578Bram Moolenaar
Problem: There is no way to invoke a function later or periodically. Solution: Add timer support.
2016-03-15patch 7.4.1577v7.4.1577Bram Moolenaar
Problem: Cannot pass "dict.Myfunc" around as a partial. Solution: Create a partial when expected.
2016-03-15patch 7.4.1567v7.4.1567Bram Moolenaar
Problem: Crash in assert_fails(). Solution: Check for NULL. (Dominique Pelle) Add a test.
2016-03-15patch 7.4.1566v7.4.1566Bram Moolenaar
Problem: Compiler warning for shadowed variable. (Kazunobu Kuriyama) Solution: Remove the inner one.
2016-03-15patch 7.4.1565v7.4.1565Bram Moolenaar
Problem: Crash when assert_equal() runs into a NULL string. Solution: Check for NULL. (Dominique) Add a test.
2016-03-15patch 7.4.1564v7.4.1564Bram Moolenaar
Problem: An empty list in function() causes an error. Solution: Handle an empty list like there is no list of arguments.
2016-03-14patch 7.4.1559v7.4.1559Bram Moolenaar
Problem: Passing cookie to a callback is clumsy. Solution: Change function() to take arguments and return a partial.
2016-03-13patch 7.4.1558v7.4.1558Bram Moolenaar
Problem: It is not easy to find out what windows display a buffer. Solution: Add win_findbuf().
2016-03-13patch 7.4.1557v7.4.1557Bram Moolenaar
Problem: Windows cannot be identified. Solution: Add a unique window number to each window and functions to use it.
2016-03-12patch 7.4.1552v7.4.1552Bram Moolenaar
Problem: ":colorscheme" does not use 'packpath'. Solution: Also use in "start" and "opt" directories in 'packpath'.
2016-03-12patch 7.4.1546v7.4.1546Bram Moolenaar
Problem: Sticky type checking is more annoying than useful. Solution: Remove the error for changing a variable type.
2016-03-12patch 7.4.1541v7.4.1541Bram Moolenaar
Problem: Missing job_info(). Solution: Implement it.
2016-03-12patch 7.4.1539v7.4.1539Bram Moolenaar
Problem: Too much code in eval.c. Solution: Move job and channel code to channel.c.
2016-03-11patch 7.4.1537v7.4.1537Bram Moolenaar
Problem: Too many feature flags for pipes, jobs and channels. Solution: Only use FEAT_JOB_CHANNEL.
2016-03-11patch 7.4.1536v7.4.1536Bram Moolenaar
Problem: Cannot re-use a channel for another job. Solution: Add the "channel" option to job_start().
2016-03-11patch 7.4.1535v7.4.1535Bram Moolenaar
Problem: The feedkeys test has a one second delay. Solution: Avoid need_wait_return() to delay. (Hirohito Higashi)
2016-03-11patch 7.4.1534v7.4.1534Bram Moolenaar
Problem: Compiler warning for shadowed variable. (Kazunobu Kuriyama) Solution: Rename it.
2016-03-10patch 7.4.1533v7.4.1533Bram Moolenaar
Problem: Using feedkeys() with an empty string disregards 'x' option. Solution: Make 'x' work with an empty string. (Thinca)
2016-03-09patch 7.4.1529v7.4.1529Bram Moolenaar
Problem: Specifying buffer number for channel not implemented yet. Solution: Implement passing a buffer number.
2016-03-08patch 7.4.1518v7.4.1518Bram Moolenaar
Problem: Channel with disconnected in/out/err is not supported. Solution: Implement it for Unix.
2016-03-08patch 7.4.1516v7.4.1516Bram Moolenaar
Problem: Cannot change file permissions. Solution: Add setfperm().
2016-03-07patch 7.4.1509v7.4.1509Bram Moolenaar
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)
2016-03-07patch 7.4.1507v7.4.1507Bram Moolenaar
Problem: Crash when starting a job fails. Solution: Check for the channel to be NULL. (idea by Yasuhiro Matsumoto)
2016-03-06patch 7.4.1506v7.4.1506Bram Moolenaar
Problem: Job cannot read from a file. Solution: Implement reading from a file for Unix.
2016-03-06patch 7.4.1503v7.4.1503Bram Moolenaar
Problem: Crash when using ch_getjob(). (Damien) Solution: Check for a NULL job.
2016-03-03patch 7.4.1485v7.4.1485Bram Moolenaar
Problem: Job input from buffer is not implemented. Solution: Implement it. Add "in-top" and "in-bot" options.
2016-03-03patch 7.4.1482v7.4.1482Bram Moolenaar
Problem: "timeout" option not supported on ch_send*() and ch_eval*(). Solution: Get and use the timeout option from the argument.
2016-03-03patch 7.4.1476v7.4.1476Bram Moolenaar
Problem: Function arguments marked as unused while they are not. Solution: Remove UNUSED. (Yegappan Lakshmanan)
2016-03-02patch 7.4.1474v7.4.1474Bram Moolenaar
Problem: Compiler warnings without the float feature. Solution: Move #ifdefs. (John Marriott)
2016-02-29patch 7.4.1467v7.4.1467Bram Moolenaar
Problem: Can't build without the float feature. Solution: Add #ifdefs. (Nick Owens, closes #667)
2016-02-29patch 7.4.1464v7.4.1464Bram Moolenaar
Problem: When the argument of sort() is zero or empty it fails. Solution: Make zero work as documented. (suggested by Yasuhiro Matsumoto)
2016-02-29patch 7.4.1461v7.4.1461Bram Moolenaar
Problem: When starting job on MS-Windows all parts of the command are put in quotes. Solution: Only use quotes when needed. (Yasuhiro Matsumoto)
2016-02-28patch 7.4.1451v7.4.1451Bram Moolenaar
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.
2016-02-28patch 7.4.1449v7.4.1449Bram Moolenaar
Problem: Build fails with job feature but without channel feature. Solution: Add #ifdef.
2016-02-28patch 7.4.1447v7.4.1447Bram Moolenaar
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.
2016-02-27patch 7.4.1440v7.4.1440Bram Moolenaar
Problem: Can't build on Windows. Solution: Change #ifdefs. Only define isnan when used.
2016-02-27patch 7.4.1438v7.4.1438Bram Moolenaar
Problem: Can't get buffer number of a channel. Solution: Add ch_getbufnr().
2016-02-27patch 7.4.1437v7.4.1437Bram Moolenaar
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)
2016-02-27patch 7.4.1435v7.4.1435Bram Moolenaar
Problem: It is confusing that ch_sendexpr() and ch_sendraw() wait for a response. Solution: Add ch_evalexpr() and ch_evalraw().
2016-02-27patch 7.4.1433v7.4.1433Bram Moolenaar
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.
2016-02-27patch 7.4.1426v7.4.1426Bram Moolenaar
Problem: The "out-io" option for jobs is not implemented yet. Solution: Implement the "buffer" value: append job output to a buffer.
2016-02-26patch 7.4.1422v7.4.1422Bram Moolenaar
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.
2016-02-25patch 7.4.1421v7.4.1421Bram Moolenaar
Problem: May free a channel when a callback may need to be invoked. Solution: Keep the channel when refcount is zero.