Jurica Bradaric
fe0bcc0800
vim-patch:8.0.0020
...
Problem: The regexp engines are not reentrant.
Solution: Add regexec_T and save/restore the state when needed.
6100d02aab
2017-07-29 16:27:11 -04:00
KunMing Xie
24a0d4e122
vim-patch:8.0.0004 ( #7044 )
...
Problem: A string argument for function() that is not a function name
results in an error message with NULL. (Christian Brabandt)
Solution: Use the argument for the error message.
5582ef1438
2017-07-17 16:38:03 +02:00
James McCoy
9281653233
Merge remote-tracking branch 'origin/master' into vim-7.4.1975
2017-06-06 07:33:50 -04:00
James McCoy
d707b2a171
vim-patch:8.0.0478
...
Problem: Tests use assert_true(0) and assert_false(1) to report errors.
Solution: Use assert_report().
37175409d7
2017-06-06 06:15:16 -04:00
James McCoy
c3efb2804a
vim-patch:7.4.2029
...
Problem: printf() does not work with 64 bit numbers.
Solution: use the "L" length modifier. (Ken Takata)
38ee6b041e
2017-06-04 22:12:14 -04:00
James McCoy
03f5f78792
vim-patch:7.4.1979
...
Problem: Getting value of binary option is wrong. (Kent Sibilev)
Solution: Fix type cast. Add a test.
2acfbed9db
2017-06-04 22:12:14 -04:00
Jurica Bradarić
06ed7a189b
vim-patch:7.4.2329 ( #6341 )
...
Problem: Error for min() and max() contains %s. (Nikolay Pavlov)
Solution: Pass the function name. (closes vim/vim#1040 )
26b84339fd
2017-03-23 08:54:01 +01:00
raichoo
44e75eba30
vim-patch:7.4.2161 ( #6340 )
...
Problem: Expression test fails without conceal feature.
Solution: Only check "conceal" with the conceal feature.
7ab6defcaf
2017-03-22 21:57:20 +01:00
Jurica Bradaric
cad9a76be2
vim-patch:7.4.2291
...
Problem: printf() handles floats wrong when there is a sign.
Solution: Fix placing the sign. Add tests. (Dominique Pelle)
0418609534
2017-03-20 22:47:09 +01:00
Jurica Bradaric
6ca580be9b
vim-patch:7.4.2280
...
Problem: printf() doesn't handle infinity float values correctly.
Solution: Add a table with possible infinity values. (Dominique Pelle)
e999782e36
2017-03-20 22:45:26 +01:00
Jurica Bradaric
b4cb5fa610
vim-patch:7.4.2266
...
Problem: printf() test fails on Windows. "-inf" is not used.
Solution: Check for Windows-specific values for "nan". Add sign to "inf"
when appropriate.
9992237a3e
2017-03-20 21:40:41 +01:00
Jurica Bradaric
b9cea7f13f
vim-patch:7.4.2265
...
Problem: printf() isn't tested much.
Solution: Add more tests for printf(). (Dominique Pelle)
76efafba2a
2017-03-07 08:06:05 +01:00
Jurica Bradaric
2f80360e9a
vim-patch:7.4.2220
...
Problem: printf() gives an error when the argument for %s is not a string.
(Ozaki Kiichi)
Solution: Behave like invoking string() on the argument. (Ken Takata)
e5a8f35b42
2017-03-06 21:35:48 +01:00
Michael Ennen
bae8a19c63
vim-patch:7.4.2235
...
Problem: submatch() does not check for a valid argument.
Solution: Give an error if the argument is out of range. (Dominique Pelle)
989f592f7f
2017-02-14 17:38:19 -07:00
Michael Ennen
effe760b13
vim-patch:7.4.2233
...
Problem: Crash when using funcref() with invalid name. (Dominique Pelle)
Solution: Check for NULL translated name.
843b884461
2017-02-14 17:38:19 -07:00
Michael Ennen
53fad45115
vim-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.
437bafe4c8
2017-02-14 17:38:18 -07:00
Michael Ennen
1e3c0efa0f
vim-patch:7.4.2134
...
Problem: No error for using function() badly.
Solution: Check for passing wrong function name. (Ken Takata)
b54c3ff317
2017-02-14 17:38:17 -07:00
Michael Ennen
7f4848aff4
vim-patch:7.4.2090
...
Problem: Using submatch() in a lambda passed to substitute() is verbose.
Solution: Use a static list and pass it as an optional argument to the
function. Fix memory leak.
df48fb456f
2017-02-14 17:38:17 -07:00
Michael Ennen
fc46efd3f2
vim-patch:7.4.2072
...
Problem: substitute() does not support a Funcref argument.
Solution: Support a Funcref like it supports a string starting with "\=".
72ab729c3d
2017-02-14 17:38:16 -07:00
Justin M. Keyes
192243492d
test: fix syntax error
...
Also re-arrange the test to match Vim upstream.
2017-01-15 05:31:37 +01:00
Shougo
a6be6df5d6
vim-patch:7.4.2160 ( #5952 )
...
Problem: setmatches() mixes up values. (Nikolai Pavlov)
Solution: Save the string instead of reusing a shared buffer.
7dc5e2e486
2017-01-15 02:38:57 +01:00
Shougo
c88e4a270d
vim-patch:7.4.1968 ( #5949 )
...
Problem: Invalid memory access with "\<C-">.
Solution: Do not recognize this as a special character. (Dominique Pelle)
1d90a5a5af
2017-01-15 01:08:27 +01:00
lonerover
1bea73a21e
vim-patch:7.4.1847
...
Problem: Getting an item from a NULL dict crashes. Setting a register to a
NULL list crashes. (Nikolai Pavlov, issue vim/vim#768 ) Comparing a NULL
dict with a NULL dict fails.
Solution: Properly check for NULL.
13ddc5c359
2017-01-03 10:38:56 -05:00
lonerover
a6b14dbb0b
vim-patch:7.4.1816 ( #5833 )
...
Problem: Looping over a null list throws an error.
Solution: Skip over the for loop.
d8585eded6
2016-12-26 22:15:44 -05:00
Michael Ennen
3213b28c01
vim-patch:7.4.1607
...
Problem: Comparing a function that exists on two dicts is not backwards
compatible. (Thinca)
Solution: Only compare the function, not what the partial adds.
f0e86a0dbd
2016-12-12 10:17:35 -05:00
James McCoy
5194e3bc45
Merge pull request #5664 from brcolow/vim-7.4.1707
...
vim-patch:7.4.1707
2016-12-01 08:46:18 -05:00
Michael Ennen
8f84c1da83
vim-patch:7.4.1707
...
Problem: Cannot use empty dictionary key, even though it can be useful.
Solution: Allow using an empty dictionary key.
0921ecff1c
2016-11-25 18:23:11 -07:00
Shougo Matsushita
d152e2f3fd
vim-patch:7.4.1660
...
Problem: has('patch-7.4.1') doesn't work.
Solution: Fix off-by-one error. (Thinca)
819821c5a9
2016-11-22 07:27:13 +09:00
Michael Ennen
763422b036
vim-patch:7.4.1734
...
Problem: Test fails when not using utf-8.
Solution: Split test in regularand utf-8 part.
0f518a8f4d
2016-10-23 18:04:46 -07:00
Michael Ennen
d6e27f90b9
vim-patch:7.4.1730
...
Problem: It is not easy to get a character out of a string.
Solution: Add strgetchar() and strcharpart().
58de0e2dcc
2016-10-23 18:04:28 -07:00