Bram Moolenaar
e6e3989c1b
patch 8.1.0493: argv() and argc() only work on the current argument list
...
Problem: argv() and argc() only work on the current argument list.
Solution: Add a window ID argument. (Yegappan Lakshmanan, closes #832 )
2018-10-25 12:32:11 +02:00
Bram Moolenaar
f29c1c6aa3
patch 8.1.0362: cannot get the script line number when executing a function
...
Problem: Cannot get the script line number when executing a function.
Solution: Store the line number besides the script ID. (Ozaki Kiichi,
closes #3362 ) Also display the line number with ":verbose set".
2018-09-10 21:05:02 +02:00
Bram Moolenaar
ded27a1feb
patch 8.1.0233: "safe" argument of call_vim_function() is always FALSE
...
Problem: "safe" argument of call_vim_function() is always FALSE.
Solution: Remove the argument.
2018-08-01 19:06:03 +02:00
Bram Moolenaar
00136dc321
patch 8.1.0211: expanding a file name "~" results in $HOME
...
Problem: Expanding a file name "~" results in $HOME. (Aidan Shafran)
Solution: Change "~" to "./~" before expanding. (closes #3072 )
2018-07-25 21:19:13 +02:00
Bram Moolenaar
ffa9684150
patch 8.1.0053: first argument of 'completefunc' has inconsistent type
...
Problem: The first argument given to 'completefunc' can be Number or
String, depending on the value.
Solution: Avoid guessing the type of an argument, use typval_T in the
callers of call_vim_function(). (Ozaki Kiichi, closes #2993 )
2018-06-12 22:05:14 +02:00
Bram Moolenaar
b0f42ba60d
patch 8.0.1817: a timer may change v:count unexpectedly
...
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 )
2018-05-12 15:38:26 +02:00
Bram Moolenaar
65a5464985
patch 8.0.1770: assert functions don't return anything
...
Problem: Assert functions don't return anything.
Solution: Return non-zero when the assertion fails.
2018-04-28 16:56:53 +02:00
Bram Moolenaar
d96ff16511
patch 8.0.1523: cannot write and read terminal screendumps
...
Problem: Cannot write and read terminal screendumps.
Solution: Add term_dumpwrite(), term_dumpread() and term_dumpdiff().
Also add assert_equalfile().
2018-02-18 22:13:29 +01:00
Bram Moolenaar
3198870137
patch 8.0.1511: some code for the debugger watch expression is clumsy
...
Problem: Some code for the debugger watch expression is clumsy.
Solution: Clean up the code.
2018-02-13 12:57:42 +01:00
Bram Moolenaar
b48e96f61c
patch 8.0.1510: cannot test if a command causes a beep
...
Problem: Cannot test if a command causes a beep.
Solution: Add assert_beeps().
2018-02-13 12:26:14 +01:00
Bram Moolenaar
c6f9f739d3
patch 8.0.1505: debugger can't break on a condition
...
Problem: Debugger can't break on a condition. (Charles Campbell)
Solution: Add ":breakadd expr". (Christian Brabandt, closes #859 )
2018-02-11 19:06:26 +01:00
Bram Moolenaar
7e1652c63c
patch 8.0.1394: cannot intercept a yank command
...
Problem: Cannot intercept a yank command.
Solution: Add the TextYankPost autocommand event. (Philippe Vaucher et al.,
closes #2333 )
2017-12-16 18:27:02 +01:00
Bram Moolenaar
48570488f1
patch 8.0.1239: cannot use a lambda for the skip argument to searchpair()
...
Problem: Cannot use a lambda for the skip argument to searchpair().
Solution: Evaluate a partial, funcref and lambda. (LemonBoy, closes #1454 ,
closes #2265 )
2017-10-30 21:48:41 +01:00
Bram Moolenaar
42205551b1
patch 8.0.0477: the client-server test may hang when failing
...
Problem: The client-server test may hang when failing.
Solution: Set a timer. Add assert_report()
2017-03-18 19:42:22 +01:00
Bram Moolenaar
79518e2ace
patch 8.0.0334: can't access b:changedtick from a dict reference
...
Problem: Can't access b:changedtick from a dict reference.
Solution: Make changedtick a member of the b: dict. (inspired by neovim
#6112 )
2017-02-17 16:31:35 +01:00
Bram Moolenaar
e11d61a3b1
patch 7.4.2231
...
Problem: ":oldfiles" output is a very long list.
Solution: Add a pattern argument. (Coot, closes #575 )
2016-08-20 18:36:54 +02:00
Bram Moolenaar
437bafe4c8
patch 7.4.2137
...
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.
2016-08-01 15:40:54 +02:00
Bram Moolenaar
1e96d9bf98
patch 7.4.2119
...
Problem: Closures are not supported.
Solution: Capture variables in lambdas from the outer scope. (Yasuhiro
Matsumoto, Ken Takata)
2016-07-29 22:15:09 +02:00
Bram Moolenaar
61c04493b0
patch 7.4.2095
...
Problem: Man test fails when run with the GUI.
Solution: Adjust for different behavior of GUI. Add assert_inrange().
2016-07-23 15:35:35 +02:00
Bram Moolenaar
72ab729c3d
patch 7.4.2072
...
Problem: substitute() does not support a Funcref argument.
Solution: Support a Funcref like it supports a string starting with "\=".
2016-07-19 19:10:51 +02:00
Bram Moolenaar
73dad1e64c
patch 7.4.2063
...
Problem: eval.c is still too big.
Solution: Split off internal functions to evalfunc.c.
2016-07-17 22:13:49 +02:00
Bram Moolenaar
a9b579f3d7
patch 7.4.2058
...
Problem: eval.c is too big.
Solution: Move user functions to userfunc.c
2016-07-17 18:29:19 +02:00
Bram Moolenaar
da861d631d
patch 7.4.2057
...
Problem: eval.c is too big.
Solution: Move List functions to list.c
2016-07-17 15:46:27 +02:00
Bram Moolenaar
cd52459c38
patch 7.4.2055
...
Problem: eval.c is too big.
Solution: Move Dictionary functions to dict.c.
2016-07-17 14:57:05 +02:00
Bram Moolenaar
1436d8d51c
patch 7.4.2026
...
Problem: Reference counting for callbacks isn't right.
Solution: Add free_callback(). (Ken Takata) Fix reference count.
2016-07-11 22:41:15 +02:00
Bram Moolenaar
79815f1ec7
patch 7.4.2008
...
Problem: evalcmd() has a confusing name.
Solution: Rename to execute(). Make silent optional. Support a list of
commands.
2016-07-09 17:07:29 +02:00
Bram Moolenaar
bc5d6dd1dd
patch 7.4.1999
...
Problem: evalcmd() doesn't work recursively.
Solution: Use redir_evalcmd instead of redir_vname.
2016-07-07 23:04:18 +02:00
Bram Moolenaar
22fcfad292
patch 7.4.1976
...
Problem: Number variables are not 64 bits while they could be.
Solution: Add the num64 feature. (Ken Takata)
2016-07-01 18:17:26 +02:00
Bram Moolenaar
8110a091bc
patch 7.4.1731
...
Problem: Python: turns partial into simple funcref.
Solution: Use partials like partials. (Nikolai Pavlov, closes #734 )
2016-04-14 15:56:09 +02:00
Bram Moolenaar
ebf7dfa6f1
patch 7.4.1727
...
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.
2016-04-14 12:46:51 +02:00
Bram Moolenaar
107e1eef1d
patch 7.4.1719
...
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.
2016-04-08 17:07:19 +02:00
Bram Moolenaar
975b5271ee
patch 7.4.1578
...
Problem: There is no way to invoke a function later or periodically.
Solution: Add timer support.
2016-03-15 23:10:59 +01:00
Bram Moolenaar
1735bc988c
patch 7.4.1559
...
Problem: Passing cookie to a callback is clumsy.
Solution: Change function() to take arguments and return a partial.
2016-03-14 23:05:14 +01:00
Bram Moolenaar
86edef664e
patch 7.4.1557
...
Problem: Windows cannot be identified.
Solution: Add a unique window number to each window and functions to use it.
2016-03-13 18:07:30 +01:00
Bram Moolenaar
8e2c942ce4
patch 7.4.1539
...
Problem: Too much code in eval.c.
Solution: Move job and channel code to channel.c.
2016-03-12 13:43:33 +01:00
Bram Moolenaar
ee1cffc07a
patch 7.4.1380
...
Problem: The job exit callback is not implemented.
Solution: Add the "exit-cb" option.
2016-02-21 19:14:41 +01:00
Bram Moolenaar
65edff8f51
patch 7.4.1378
...
Problem: Can't change job settings after it started.
Solution: Add job_setoptions() with the "stoponexit" flag.
2016-02-21 16:40:11 +01:00
Bram Moolenaar
3bece9fee9
patch 7.4.1322
...
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.
2016-02-15 20:39:46 +01:00
Bram Moolenaar
19d2f15898
patch 7.4.1231
...
Problem: JSON messages are not parsed properly.
Solution: Queue received messages.
2016-02-01 21:38:19 +01:00
Bram Moolenaar
3b5f929b18
patch 7.4.1191
...
Problem: The channel feature isn't working yet.
Solution: Add the connect(), disconnect(), sendexpr() and sendraw()
functions. Add initial documentation. Add a demo server.
2016-01-28 22:37:01 +01:00
Bram Moolenaar
520e1e41f3
patch 7.4.1154
...
Problem: No support for JSON.
Solution: Add jsonencode() and jsondecode(). Also add v:false, v:true,
v:null and v:none.
2016-01-23 19:46:28 +01:00
Bram Moolenaar
ef26954a35
patch 7.4.1133
...
Problem: Generated function prototypes still have __ARGS().
Solution: Generate function prototypes without __ARGS().
2016-01-19 13:22:12 +01:00
Bram Moolenaar
537443018d
patch 7.4.786
...
Problem: It is not possible for a plugin to adjust to a changed setting.
Solution: Add the OptionSet autocommand event. (Christian Brabandt)
2015-07-17 17:38:22 +02:00
Bram Moolenaar
42a4512f62
patch 7.4.774
...
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)
2015-07-10 17:56:23 +02:00
Bram Moolenaar
2459a5ecaa
updated for version 7.4.609
...
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)
2015-02-03 12:55:18 +01:00
Bram Moolenaar
caad4f0a0b
updated for version 7.4.553
...
Problem: Various small issues.
Solution: Fix those issues.
2014-12-17 14:36:14 +01:00
Bram Moolenaar
3ec7f4e402
updated for version 7.4.278
...
Problem: list_remove() conflicts with function defined in Sun header file.
Solution: Rename the function. (Richard Palo)
2014-05-07 17:31:37 +02:00
Bram Moolenaar
063a46ba77
updated for version 7.4.151
...
Problem: Python: slices with steps are not supported.
Solution: Support slices in Python vim.List. (ZyX)
2014-01-14 16:36:51 +01:00
Bram Moolenaar
a2e14fc764
updated for version 7.3.1159
...
Problem: The round() function is not always available. (Christ van
Willegen)
Solution: Use the solution from f_round().
2013-06-10 20:10:44 +02:00
Bram Moolenaar
018acca3bd
updated for version 7.3.1068
...
Problem: Python: Script is auto-loaded on function creation.
Solution: Python patch 27. (ZyX)
2013-05-30 13:37:28 +02:00