Bram Moolenaar
18dfb4404a
patch 7.4.1862
...
Problem: string() with repeated argument does not give a result usable by
eval().
Solution: Refactor echo_striong and tv2string(), moving the common part to
echo_string_core(). (Ken Takata)
2016-05-31 22:31:23 +02:00
Bram Moolenaar
e3188e2615
patch 7.4.1860
...
Problem: Using a partial for timer_start() may cause a crash.
Solution: Set the copyID in timer objects. (Ozaki Kiichi)
2016-05-31 21:13:04 +02:00
Bram Moolenaar
13ddc5c359
patch 7.4.1847
...
Problem: Getting an item from a NULL dict crashes. Setting a register to a
NULL list crashes. (Nikolai Pavlov, issue #768 ) Comparing a NULL
dict with a NULL dict fails.
Solution: Properly check for NULL.
2016-05-25 22:51:17 +02:00
Bram Moolenaar
8e8df251bf
patch 7.4.1844
...
Problem: Using old function name in comment. More functions should start
with test_.
Solution: Rename function in comment. (Higashi Higashi) Rename
disable_char_avail_for_testing() to test_disable_char_avail().
And alloc_fail() to test_alloc_fail().
2016-05-25 21:23:21 +02:00
Bram Moolenaar
03e19a04ac
patch 7.4.1842
...
Problem: get() works for Partial but not for Funcref.
Solution: Accept Funcref. Also return the function itself. (Nikolai Pavlov)
2016-05-24 22:29:49 +02:00
Bram Moolenaar
2bbf8eff6f
patch 7.4.1839
...
Problem: Cannot get the items stored in a partial.
Solution: Support using get() on a partial.
2016-05-24 18:37:12 +02:00
Bram Moolenaar
574860b5ee
patch 7.4.1838
...
Problem: Functions specifically for testing do not sort together.
Solution: Rename garbagecollect_for_testing() to test_garbagecollect_now().
Add test_null_list(), test_null_dict(), etc.
2016-05-24 17:33:34 +02:00
Bram Moolenaar
1d429610bf
patch 7.4.1836
...
Problem: When using a partial on a dictionary it always gets bound to that
dictionary.
Solution: Make a difference between binding a function to a dictionary
explicitly or automatically.
2016-05-24 15:44:17 +02:00
Bram Moolenaar
e40d75f6ef
patch 7.4.1831
...
Problem: When timer_stop() is called with a string there is no proper error
message.
Solution: Require getting a number. (Bjorn Linse)
2016-05-15 18:00:19 +02:00
Bram Moolenaar
d8585eded6
patch 7.4.1816
...
Problem: Looping over a null list throws an error.
Solution: Skip over the for loop.
2016-05-01 23:05:53 +02:00
Bram Moolenaar
b8d4905592
patch 7.4.1814
...
Problem: A channel may be garbage collected while it's still being used by
a job. (James McCoy)
Solution: Mark the channel as used if the job is still used. Do the same
for channels that are still used.
2016-05-01 14:22:16 +02:00
Bram Moolenaar
3266c85a44
patch 7.4.1811
...
Problem: Netbeans channel gets garbage collected.
Solution: Set reference in nb_channel.
2016-04-30 18:07:05 +02:00
Bram Moolenaar
61be73bb0f
patch 7.4.1799
...
Problem: 'guicolors' is a confusing option name.
Solution: Use 'termguicolors' instead. (Hirohito Higashi)
2016-04-29 22:59:22 +02:00
Bram Moolenaar
437905c25d
patch 7.4.1789
...
Problem: Cannot use ch_read() in the close callback.
Solution: Do not discard the channel if there is readahead. Do not discard
readahead if there is a close callback.
2016-04-26 19:01:05 +02:00
Bram Moolenaar
fca6600305
patch 7.4.1782
...
Problem: strcharpart() does not work properly with some multi-byte
characters.
Solution: Use mb_cptr2len() instead of mb_char2len(). (Hirohito Higashi)
2016-04-23 15:30:09 +02:00
Bram Moolenaar
da5b3dcf06
patch 7.4.1781
...
Problem: synIDattr() does not respect 'guicolors'.
Solution: Change the conditition for the mode. (Christian Brabandt)
2016-04-23 15:19:02 +02:00
Bram Moolenaar
73dfe917ba
patch 7.4.1779
...
Problem: Using negative index in strcharpart(). (Yegappan Lakshmanan)
Solution: Assume single byte when using a negative iindex.
2016-04-23 13:54:48 +02:00
Bram Moolenaar
3849992b16
patch 7.4.1777
...
Problem: Newly added features can escape the sandbox.
Solution: Add checks for restricted and secure. (Yasuhiro Matsumoto)
2016-04-22 20:46:52 +02:00
Bram Moolenaar
21decdd3e6
patch 7.4.1771
...
Problem: Warning for unused variable.
Solution: Add #ifdef. (John Marriott)
2016-04-22 10:00:58 +02:00
Bram Moolenaar
8a633e3427
patch 7.4.1770
...
Problem: Cannot use true color in the terminal.
Solution: Add the 'guicolors' option. (Nikolai Pavlov)
2016-04-21 21:10:14 +02:00
Bram Moolenaar
d106e5ba7f
patch 7.4.1768
...
Problem: Arguments of setqflist() are not checked properly.
Solution: Add better checks, add a test. (Nikolai Pavlov, Hirohito Higashi,
closes #661 )
2016-04-21 19:38:07 +02:00
Bram Moolenaar
8ed43916db
patch 7.4.1761
...
Problem: Coverity complains about ignoring return value.
Solution: Add "(void)" to get rid of the warning.
2016-04-21 08:56:12 +02:00
Bram Moolenaar
245c41070c
patch 7.4.1758
...
Problem: Triggering CursorHoldI when in CTRL-X mode causes problems.
Solution: Do not trigger CursorHoldI in CTRL-X mode. Add "!" flag to
feedkeys() (test with that didn't work though).
2016-04-20 17:37:41 +02:00
Bram Moolenaar
517ffbee0d
patch 7.4.1755
...
Problem: When using getreg() on a non-existing register a NULL list is
returned. (Bjorn Linse)
Solution: Allocate an empty list. Add a test.
2016-04-20 14:59:29 +02:00
Bram Moolenaar
5d18e0eca5
patch 7.4.1742
...
Problem: strgetchar() does not work correctly.
Solution: use mb_cptr2len(). Add a test. (Naruhiko Nishino)
2016-04-14 22:54:24 +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
58de0e2dcc
patch 7.4.1730
...
Problem: It is not easy to get a character out of a string.
Solution: Add strgetchar() and strcharpart().
2016-04-14 15:13:46 +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
3780bb923a
patch 7.4.1725
...
Problem: Compiler errors for non-ANSI compilers.
Solution: Remove // comment. Remove comma at end of enum. (Michael Jarvis)
2016-04-12 22:18:53 +02:00
Bram Moolenaar
0239acb11f
patch 7.4.1722
...
Problem: Crash when calling garbagecollect() after starting a job.
Solution: Set the copyID on job and channel. (Hirohito Higashi, Ozaki
Kiichi)
2016-04-11 21:02:54 +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
d56374e25d
patch 7.4.1718
...
Problem: Coverity: not using return value of set_ref_in_item().
Solution: Use the return value.
2016-04-07 22:16:30 +02:00
Bram Moolenaar
0e4c1de556
patch 7.4.1717
...
Problem: Leaking memory when opening a channel fails.
Solution: Unreference partials in job options.
2016-04-07 21:40:38 +02:00
Bram Moolenaar
ddecc25947
patch 7.4.1715
...
Problem: Double free when a partial is in a cycle with a list or dict.
(Nikolai Pavlov)
Solution: Do not free a nested list or dict used by the partial.
2016-04-06 22:59:37 +02:00
Bram Moolenaar
0921ecff1c
patch 7.4.1707
...
Problem: Cannot use empty dictionary key, even though it can be useful.
Solution: Allow using an empty dictionary key.
2016-04-03 22:44:36 +02:00
Bram Moolenaar
b50e5f5686
patch 7.4.1703
...
Problem: Can't assert for not equal and not matching.
Solution: Add assert_notmatch() and assert_notequal().
2016-04-03 20:57:20 +02:00
Bram Moolenaar
9bd547aca4
patch 7.4.1692
...
Problem: feedkeys('i', 'x') gets stuck, waits for a character to be typed.
Solution: Behave like ":normal". (Yasuhiro Matsumoto)
2016-04-01 21:00:48 +02:00
Bram Moolenaar
42356150ba
patch 7.4.1690
...
Problem: Can't compile with the conceal feature but without multi-byte.
Solution: Adjust #ifdef. (Owen Leibman)
2016-03-31 22:27:40 +02:00
Bram Moolenaar
7fed5c18f8
patch 7.4.1685
...
Problem: There is no easy way to get all the information about a match.
Solution: Add matchstrpos(). (Ozaki Kiichi)
2016-03-29 23:10:31 +02:00
Bram Moolenaar
72188e9aae
patch 7.4.1682
...
Problem: Coverity: no check for NULL.
Solution: Add check for invalid argument to assert_match().
2016-03-28 22:48:29 +02:00
Bram Moolenaar
ef9d9b94a8
patch 7.4.1681
...
Problem: Coverity warns for fixed size buffer length (false positive).
Solution: Add a check for the name length.
2016-03-28 22:44:50 +02:00
Bram Moolenaar
7d2a5796d3
patch 7.4.1679
...
Problem: Coverity: copying value of v_lock without initializing it.
Solution: Init v_lock in rettv_list_alloc() and rettv_dict_alloc().
2016-03-28 22:30:50 +02:00
Bram Moolenaar
a32095fc8f
patch 7.4.1670
...
Problem: Completion doesn't work well for a variable containing "#".
Solution: Recognize the "#". (Watiko)
2016-03-28 19:27:13 +02:00
Bram Moolenaar
ea6553bec3
patch 7.4.1663
...
Problem: In tests it's often useful to check if a pattern matches.
Solution: Add assert_match().
2016-03-27 15:13:38 +02:00
Bram Moolenaar
819821c5a9
patch 7.4.1660
...
Problem: has('patch-7.4.1') doesn't work.
Solution: Fix off-by-one error. (Thinca)
2016-03-26 21:24:14 +01:00
Bram Moolenaar
1473551a44
patch 7.4.1658
...
Problem: A plugin does not know when VimEnter autocommands were already
triggered.
Solution: Add the v:vim_did_enter variable.
2016-03-26 21:00:08 +01:00
Bram Moolenaar
92e35efaf6
patch 7.4.1656
...
Problem: Crash when using partial with a timer.
Solution: Increment partial reference count. (Hirohito Higashi)
2016-03-26 18:20:41 +01:00
Bram Moolenaar
52c6eaffd4
patch 7.4.1654
...
Problem: Crash when using expand('%:S') in a buffer without a name.
Solution: Don't set a NUL. (James McCoy, closes #714 )
2016-03-25 18:42:46 +01:00
Bram Moolenaar
bee6c0cf86
patch 7.4.1648
...
Problem: Compiler has a problem copying a string into di_key[]. (Yegappan
Lakshmanan)
Solution: Add dictitem16_T.
2016-03-25 15:40:50 +01:00
Bram Moolenaar
c5fbe8af4c
patch 7.4.1645
...
Problem: When a dict contains a partial it can't be redefined as a
function. (Nikolai Pavlov)
Solution: Remove the partial when overwriting with a function.
2016-03-24 21:42:09 +01:00