summaryrefslogtreecommitdiff
path: root/src/proto/eval.pro
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.0.1817: a timer may change v:count unexpectedlyv8.0.1817Bram Moolenaar2018-05-121-0/+2
| | | | | | Problem: A timer may change v:count unexpectedly. Solution: Save and restore v:count and similar variables when a timer callback is invoked. (closes #2897)
* patch 8.0.1770: assert functions don't return anythingv8.0.1770Bram Moolenaar2018-04-281-9/+9
| | | | | Problem: Assert functions don't return anything. Solution: Return non-zero when the assertion fails.
* patch 8.0.1523: cannot write and read terminal screendumpsv8.0.1523Bram Moolenaar2018-02-181-0/+1
| | | | | | Problem: Cannot write and read terminal screendumps. Solution: Add term_dumpwrite(), term_dumpread() and term_dumpdiff(). Also add assert_equalfile().
* patch 8.0.1511: some code for the debugger watch expression is clumsyv8.0.1511Bram Moolenaar2018-02-131-2/+1
| | | | | Problem: Some code for the debugger watch expression is clumsy. Solution: Clean up the code.
* patch 8.0.1510: cannot test if a command causes a beepv8.0.1510Bram Moolenaar2018-02-131-0/+1
| | | | | Problem: Cannot test if a command causes a beep. Solution: Add assert_beeps().
* patch 8.0.1505: debugger can't break on a conditionv8.0.1505Bram Moolenaar2018-02-111-1/+5
| | | | | Problem: Debugger can't break on a condition. (Charles Campbell) Solution: Add ":breakadd expr". (Christian Brabandt, closes #859)
* patch 8.0.1394: cannot intercept a yank commandv8.0.1394Bram Moolenaar2017-12-161-0/+1
| | | | | | Problem: Cannot intercept a yank command. Solution: Add the TextYankPost autocommand event. (Philippe Vaucher et al., closes #2333)
* patch 8.0.1239: cannot use a lambda for the skip argument to searchpair()v8.0.1239Bram Moolenaar2017-10-301-1/+2
| | | | | | Problem: Cannot use a lambda for the skip argument to searchpair(). Solution: Evaluate a partial, funcref and lambda. (LemonBoy, closes #1454, closes #2265)
* patch 8.0.0477: the client-server test may hang when failingv8.0.0477Bram Moolenaar2017-03-181-0/+1
| | | | | Problem: The client-server test may hang when failing. Solution: Set a timer. Add assert_report()
* patch 8.0.0334: can't access b:changedtick from a dict referencev8.0.0334Bram Moolenaar2017-02-171-1/+0
| | | | | | Problem: Can't access b:changedtick from a dict reference. Solution: Make changedtick a member of the b: dict. (inspired by neovim #6112)
* patch 7.4.2231v7.4.2231Bram Moolenaar2016-08-201-1/+0
| | | | | Problem: ":oldfiles" output is a very long list. Solution: Add a pattern argument. (Coot, closes #575)
* patch 7.4.2137v7.4.2137Bram Moolenaar2016-08-011-0/+1
| | | | | | | Problem: Using function() with a name will find another function when it is redefined. Solution: Add funcref(). Refer to lambda using a partial. Fix several reference counting issues.
* patch 7.4.2119v7.4.2119Bram Moolenaar2016-07-291-0/+1
| | | | | | Problem: Closures are not supported. Solution: Capture variables in lambdas from the outer scope. (Yasuhiro Matsumoto, Ken Takata)
* patch 7.4.2095v7.4.2095Bram Moolenaar2016-07-231-0/+1
| | | | | Problem: Man test fails when run with the GUI. Solution: Adjust for different behavior of GUI. Add assert_inrange().
* patch 7.4.2072v7.4.2072Bram Moolenaar2016-07-191-1/+1
| | | | | Problem: substitute() does not support a Funcref argument. Solution: Support a Funcref like it supports a string starting with "\=".
* patch 7.4.2063v7.4.2063Bram Moolenaar2016-07-171-11/+25
| | | | | Problem: eval.c is still too big. Solution: Split off internal functions to evalfunc.c.
* patch 7.4.2058v7.4.2058Bram Moolenaar2016-07-171-31/+16
| | | | | Problem: eval.c is too big. Solution: Move user functions to userfunc.c
* patch 7.4.2057v7.4.2057Bram Moolenaar2016-07-171-19/+0
| | | | | Problem: eval.c is too big. Solution: Move List functions to list.c
* patch 7.4.2055v7.4.2055Bram Moolenaar2016-07-171-14/+9
| | | | | Problem: eval.c is too big. Solution: Move Dictionary functions to dict.c.
* patch 7.4.2026v7.4.2026Bram Moolenaar2016-07-111-0/+1
| | | | | Problem: Reference counting for callbacks isn't right. Solution: Add free_callback(). (Ken Takata) Fix reference count.
* patch 7.4.2008v7.4.2008Bram Moolenaar2016-07-091-1/+1
| | | | | | Problem: evalcmd() has a confusing name. Solution: Rename to execute(). Make silent optional. Support a list of commands.
* patch 7.4.1999v7.4.1999Bram Moolenaar2016-07-071-1/+2
| | | | | Problem: evalcmd() doesn't work recursively. Solution: Use redir_evalcmd instead of redir_vname.
* patch 7.4.1976v7.4.1976Bram Moolenaar2016-07-011-8/+8
| | | | | Problem: Number variables are not 64 bits while they could be. Solution: Add the num64 feature. (Ken Takata)
* patch 7.4.1731v7.4.1731Bram Moolenaar2016-04-141-0/+1
| | | | | Problem: Python: turns partial into simple funcref. Solution: Use partials like partials. (Nikolai Pavlov, closes #734)
* patch 7.4.1727v7.4.1727Bram Moolenaar2016-04-141-3/+1
| | | | | | Problem: Cannot detect a crash in tests when caused by garbagecollect(). Solution: Add garbagecollect_for_testing(). Do not free a job if is still useful.
* patch 7.4.1719v7.4.1719Bram Moolenaar2016-04-081-3/+5
| | | | | | | | 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.
* patch 7.4.1578v7.4.1578Bram Moolenaar2016-03-151-0/+1
| | | | | Problem: There is no way to invoke a function later or periodically. Solution: Add timer support.
* patch 7.4.1559v7.4.1559Bram Moolenaar2016-03-141-2/+3
| | | | | Problem: Passing cookie to a callback is clumsy. Solution: Change function() to take arguments and return a partial.
* patch 7.4.1557v7.4.1557Bram Moolenaar2016-03-131-0/+1
| | | | | Problem: Windows cannot be identified. Solution: Add a unique window number to each window and functions to use it.
* patch 7.4.1539v7.4.1539Bram Moolenaar2016-03-121-3/+4
| | | | | Problem: Too much code in eval.c. Solution: Move job and channel code to channel.c.
* patch 7.4.1380v7.4.1380Bram Moolenaar2016-02-211-0/+1
| | | | | Problem: The job exit callback is not implemented. Solution: Add the "exit-cb" option.
* patch 7.4.1378v7.4.1378Bram Moolenaar2016-02-211-0/+1
| | | | | Problem: Can't change job settings after it started. Solution: Add job_setoptions() with the "stoponexit" flag.
* patch 7.4.1322v7.4.1322Bram Moolenaar2016-02-151-0/+1
| | | | | | Problem: Crash when unletting the variable that holds the channel in a callback function. (Christian Robinson) Solution: Increase the reference count while invoking the callback.
* patch 7.4.1231v7.4.1231Bram Moolenaar2016-02-011-0/+1
| | | | | Problem: JSON messages are not parsed properly. Solution: Queue received messages.
* patch 7.4.1191v7.4.1191Bram Moolenaar2016-01-281-0/+1
| | | | | | Problem: The channel feature isn't working yet. Solution: Add the connect(), disconnect(), sendexpr() and sendraw() functions. Add initial documentation. Add a demo server.
* patch 7.4.1154v7.4.1154Bram Moolenaar2016-01-231-0/+5
| | | | | | Problem: No support for JSON. Solution: Add jsonencode() and jsondecode(). Also add v:false, v:true, v:null and v:none.
* patch 7.4.1133v7.4.1133Bram Moolenaar2016-01-191-137/+137
| | | | | Problem: Generated function prototypes still have __ARGS(). Solution: Generate function prototypes without __ARGS().
* patch 7.4.786v7.4.786Bram Moolenaar2015-07-171-0/+1
| | | | | Problem: It is not possible for a plugin to adjust to a changed setting. Solution: Add the OptionSet autocommand event. (Christian Brabandt)
* patch 7.4.774v7.4.774Bram Moolenaar2015-07-101-0/+1
| | | | | | Problem: When using the CompleteDone autocommand event it's difficult to get to the completed items. Solution: Add the v:completed_items variable. (Shougo Matsu)
* updated for version 7.4.609v7.4.609Bram Moolenaar2015-02-031-3/+3
| | | | | | | Problem: For complicated list and dict use the garbage collector can run out of stack space. Solution: Use a stack of dicts and lists to be marked, thus making it iterative instead of recursive. (Ben Fritz)
* updated for version 7.4.553v7.4.553Bram Moolenaar2014-12-171-1/+1
| | | | | Problem: Various small issues. Solution: Fix those issues.
* updated for version 7.4.278v7.4.278Bram Moolenaar2014-05-071-1/+1
| | | | | Problem: list_remove() conflicts with function defined in Sun header file. Solution: Rename the function. (Richard Palo)
* updated for version 7.4.151v7.4.151Bram Moolenaar2014-01-141-0/+1
| | | | | Problem: Python: slices with steps are not supported. Solution: Support slices in Python vim.List. (ZyX)
* updated for version 7.3.1159v7.3.1159Bram Moolenaar2013-06-101-3/+4
| | | | | | Problem: The round() function is not always available. (Christ van Willegen) Solution: Use the solution from f_round().
* updated for version 7.3.1068v7.3.1068Bram Moolenaar2013-05-301-1/+0
| | | | | Problem: Python: Script is auto-loaded on function creation. Solution: Python patch 27. (ZyX)
* updated for version 7.3.1063v7.3.1063Bram Moolenaar2013-05-301-0/+1
| | | | | Problem: Python: Function is not standard. Solution: Python patch 22: make Function subclassable. (ZyX)
* updated for version 7.3.1061v7.3.1061Bram Moolenaar2013-05-301-0/+1
| | | | | Problem: Python: Dictionary is not standard. Solution: Python patch 20: Add standard methods and fields. (ZyX)
* updated for version 7.3.1058v7.3.1058Bram Moolenaar2013-05-301-0/+2
| | | | | Problem: Call of funcref does not succeed in other script. Solution: Python patch 17: add get_expanded_name(). (ZyX)
* updated for version 7.3.1056v7.3.1056Bram Moolenaar2013-05-301-0/+2
| | | | | Problem: Python: possible memory leaks. Solution: Python patch 15. (ZyX) Fix will follow later.
* updated for version 7.3.963v7.3.963Bram Moolenaar2013-05-171-4/+2
| | | | | | Problem: Setting curbuf without curwin causes trouble. Solution: Add switch_buffer() and restore_buffer(). Block autocommands to avoid trouble.