Bram Moolenaar
fae55a9cb0
patch 8.2.3016: confusing error when expression is followed by comma
...
Problem: Confusing error when expression is followed by comma.
Solution: Give a different error for trailing text. (closes #8395 )
2021-06-17 22:08:30 +02:00
Bram Moolenaar
3cfa5b16b0
patch 8.2.2949: tests failing because no error for float to string conversion
...
Problem: Tests failing because there is no error for float to string
conversion.
Solution: Change the check for failure to check for correct result. Make
some conversions strict in Vim9 script.
2021-06-06 14:14:39 +02:00
Bram Moolenaar
c61cb8bfe1
patch 8.2.2659: eval test fails because for loop on string works
...
Problem: Eval test fails because for loop on string works.
Solution: Check looping over function reference fails.
2021-03-26 20:56:45 +01:00
Bram Moolenaar
df2c2988bb
patch 8.2.2425: cursor on invalid line with range and :substitute
...
Problem: Cursor on invalid line with range and :substitute.
Solution: Do not move the cursor when skipping commands. (closes #3434 )
2021-01-28 20:18:08 +01:00
Bram Moolenaar
57d5a01cb4
patch 8.2.2388: no easy way to get the maximum or mininum number value
...
Problem: No easy way to get the maximum or mininum number value.
Solution: Add v:numbermax and v:numbermin.
2021-01-21 21:42:31 +01:00
Bram Moolenaar
c37b655443
patch 8.2.2309: 0o777 not recognized as octal
...
Problem: 0o777 not recognized as octal.
Solution: Use vim_isodigit(). (Ken Takata, closes #7633 , closes #7631 )
2021-01-07 19:36:30 +01:00
Bram Moolenaar
e2e4075fad
patch 8.2.1593: tests do not check the error number properly
...
Problem: Tests do not check the error number properly.0
Solution: Add a colon after the error number. (closes #6869 )
2020-09-04 21:18:46 +02:00
Bram Moolenaar
2e0866128b
patch 8.2.1524: no longer get an error for string concatenation with float
...
Problem: No longer get an error for string concatenation with float.
(Tsuyoshi Cho)
Solution: Only convert float for Vim9 script. (closes #6787 )
2020-08-25 22:37:48 +02:00
Bram Moolenaar
1b04ce2d40
patch 8.2.1505: not all file read and writecode is tested
...
Problem: Not all file read and writecode is tested.
Solution: Add a few tests. (Dominique Pellé, closes #6764 )
2020-08-21 22:46:11 +02:00
Bram Moolenaar
ae95a3946b
patch 8.2.1379: curly braces expression ending in " }" does not work
...
Problem: Curly braces expression ending in " }" does not work.
Solution: Skip over white space when checking for "}". (closes #6634 )
2020-08-06 16:38:12 +02:00
Bram Moolenaar
2b6ef856fb
patch 8.2.1184: some tests fail
...
Problem: Some tests fail.
Solution: Adjust tests for different assert_fails() behavior. Remove unused
variable.
2020-07-11 22:25:57 +02:00
Bram Moolenaar
bb861e293e
patch 8.2.0924: cannot save and restore a register properly
...
Problem: Cannot save and restore a register properly.
Solution: Add getreginfo() and make setreg() accept a dictionary. (Andy
Massimino, closes #3370 )
2020-06-07 18:16:36 +02:00
Bram Moolenaar
c17e66c5c0
patch 8.2.0886: cannot use octal numbers in scriptversion 4
...
Problem: Cannot use octal numbers in scriptversion 4.
Solution: Add the "0o" notation. (Ken Takata, closes #5304 )
2020-06-02 21:38:22 +02:00
Bram Moolenaar
339d60c89b
patch 8.2.0661: eval test is still old style
...
Problem: Eval test is still old style.
Solution: Change into new style tests. (Yegappan Lakshmanan, closes #6009 )
2020-04-29 22:01:21 +02:00
Bram Moolenaar
92b83ccfda
patch 8.2.0634: crash with null partial and blob
...
Problem: Crash with null partial and blob.
Solution: Check for NULL pointer. Add more tests. (Yegappan Lakshmanan,
closes #5984 )
2020-04-25 15:24:44 +02:00
Bram Moolenaar
9d8d0b5c64
patch 8.2.0633: crash when using null partial in filter()
...
Problem: Crash when using null partial in filter().
Solution: Fix crash. Add more tests. (Yegappan Lakshmanan, closes #5976 )
2020-04-24 22:47:31 +02:00
Bram Moolenaar
08f4157c5c
patch 8.2.0610: some tests are still old style
...
Problem: Some tests are still old style.
Solution: Convert to new style tests. (Yegappan Lakshmanan, closes #5957 )
2020-04-20 16:50:00 +02:00
Bram Moolenaar
61fbb3371e
patch 8.2.0598: test_eval_stuff fails in normal terminal
...
Problem: Test_eval_stuff fails in normal terminal.
Solution: Close the new window.
2020-04-18 23:20:37 +02:00
Bram Moolenaar
90455cfa87
patch 8.2.0597: test_eval is old style
...
Problem: Test_eval is old style.
Solution: Change some tests to a new style test.
2020-04-18 21:56:38 +02:00
Bram Moolenaar
8b63313510
patch 8.2.0418: code in eval.c not sufficiently covered by tests
...
Problem: Code in eval.c not sufficiently covered by tests.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5815 )
2020-03-20 18:20:51 +01:00
Bram Moolenaar
f9706e9df0
patch 8.2.0296: mixing up "long long" and __int64 may cause problems
...
Problem: Mixing up "long long" and __int64 may cause problems. (John
Marriott)
Solution: Pass varnumber_T to vim_snprintf(). Add v:numbersize.
2020-02-22 14:27:04 +01:00
Bram Moolenaar
b662591e50
patch 8.2.0104: using channel or job with ":execute" has strange effects
...
Problem: Using channel or job with ":execute" has strange effects.
Solution: Give an error message for Job and Channel.
2020-01-08 20:09:01 +01:00
Bram Moolenaar
ea8dcf8346
patch 8.1.2043: not sufficient testing for quoted numbers
...
Problem: Not sufficient testing for quoted numbers.
Solution: Add a few more test cases.
2019-09-15 21:12:22 +02:00
Bram Moolenaar
af91438338
patch 8.1.2038: has('vimscript-4') is always 0
...
Problem: has('vimscript-4') is always 0.
Solution: Add "vimscript-4" to the feature table. (Naruhiko Nishino,
closes #4941 )
2019-09-15 17:49:10 +02:00
Bram Moolenaar
60a8de28d1
patch 8.1.2035: recognizing octal numbers is confusing
...
Problem: Recognizing octal numbers is confusing.
Solution: Introduce scriptversion 4: do not use octal and allow for single
quote inside numbers.
2019-09-15 14:33:22 +02:00
Bram Moolenaar
a0d1fef4eb
patch 8.1.1987: more functions can be used as methods
...
Problem: More functions can be used as methods.
Solution: Make various functions usable as a method.
2019-09-04 22:29:14 +02:00
Bram Moolenaar
61343f0c44
patch 8.1.1722: error when scriptversion is 2 a making a dictionary access
...
Problem: Error when scriptversion is 2 a making a dictionary access.
Solution: Parse the subscript even when not evaluating the sub-expression.
(closes #4704 )
2019-07-20 21:11:13 +02:00
Bram Moolenaar
37df9a4401
patch 8.1.1526: no numerical value for the patchlevel
...
Problem: No numerical value for the patchlevel.
Solution: Add v:versionlong.
2019-06-14 14:39:51 +02:00
Bram Moolenaar
6064073841
patch 8.1.1491: when skipping over code a function call may cause trouble
...
Problem: When skipping over code after an exception was thrown expression
evaluation is aborted after a function call. (Ingo Karkat)
Solution: Do not fail if not executing the expression. (closes #4507 )
2019-06-07 23:15:22 +02:00
Bram Moolenaar
93a4879c20
patch 8.1.1190: has('vimscript-3') does not work
...
Problem: has('vimscript-3') does not work.
Solution: Add "vimscript-3" to the list of features.
2019-04-20 21:54:28 +02:00
Bram Moolenaar
d2e716e6df
patch 8.1.1188: not all Vim variables require the v: prefix
...
Problem: Not all Vim variables require the v: prefix.
Solution: When scriptversion is 3 all Vim variables can only be used with
the v: prefix. (Ken Takata, closes #4274 )
2019-04-20 14:39:52 +02:00
Bram Moolenaar
558ca4ae55
patch 8.1.1116: cannot enforce a Vim script style
...
Problem: Cannot enforce a Vim script style.
Solution: Add the :scriptversion command. (closes #3857 )
2019-04-04 18:15:38 +02:00
Bram Moolenaar
0f248b006c
patch 8.1.1114: confusing overloaded operator "." for string concatenation
...
Problem: Confusing overloaded operator "." for string concatenation.
Solution: Add ".." for string concatenation. Also "let a ..= b".
2019-04-04 15:36:05 +02:00
Bram Moolenaar
4b9e91f0ba
patch 8.1.0804: crash when setting v:errmsg to empty list
...
Problem: Crash when setting v:errmsg to empty list. (Jaon Franklin)
Solution: Separate getting value and assigning result.
2019-01-24 13:58:11 +01:00
Bram Moolenaar
05500ece62
patch 8.1.0742: not all Blob operations are tested
...
Problem: Not all Blob operations are tested.
Solution: Add more testing for Blob.
2019-01-13 19:10:33 +01:00
Bram Moolenaar
c0f5a78c15
patch 8.1.0736: code for Blob not sufficiently tested
...
Problem: Code for Blob not sufficiently tested.
Solution: Add more tests. Fix uncovered crash. Add test_null_blob().
2019-01-13 15:16:13 +01:00
Bram Moolenaar
88b53fd052
patch 8.1.0564: setting v:errors to wrong type still possible
...
Problem: Setting v:errors to wrong type still possible.
Solution: Return after giving an error message. (Christian Brabandt)
2018-12-05 18:43:28 +01:00
Bram Moolenaar
67f8ab8299
patch 8.1.0369: continuation lines cannot contain comments
...
Problem: Continuation lines cannot contain comments.
Solution: Support using "\ .
2018-09-11 22:37:29 +02:00
Bram Moolenaar
78a16b0f2a
patch 8.0.1708: mkdir with 'p' flag fails on existing directory
...
Problem: Mkdir with 'p' flag fails on existing directory, which is
different from the mkdir shell command.
Solution: Don't fail if the directory already exists. (James McCoy,
closes #2775 )
2018-04-14 13:51:55 +02:00
Bram Moolenaar
2be5733152
patch 8.0.1518: error messages suppressed after ":silent! try"
...
Problem: Error messages suppressed after ":silent! try". (Ben Reilly)
Solution: Restore emsg_silent before executing :try. (closes #2531 )
2018-02-13 18:05:18 +01:00
Bram Moolenaar
fabaf753e2
patch 8.0.1423: error in return not caught by try/catch
...
Problem: Error in return not caught by try/catch.
Solution: Call update_force_abort(). (Yasuhiro Matsomoto, closes #2483 )
2017-12-23 17:26:11 +01:00