Bram Moolenaar
16c6232cad
patch 8.2.1440: debugger code insufficiently tested
...
Problem: Debugger code insufficiently tested.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6700 )
2020-08-13 19:20:04 +02:00
Bram Moolenaar
b96a32ef1a
patch 8.2.1439: tiny and small builds have no test coverage
...
Problem: Tiny and small builds have no test coverage.
Solution: Restore tests that do not depend on the +eval feature.
(Ken Takata, closes #6696 )
2020-08-13 18:59:55 +02:00
Bram Moolenaar
7ac616cb0a
patch 8.2.1438: missing tests for interrupting script execution from debugger
...
Problem: Missing tests for interrupting script execution from debugger.
Solution: Add tests. (Yegappan Lakshmanan, closes #6697 )
2020-08-12 22:22:09 +02:00
Bram Moolenaar
c9edd6b582
patch 8.2.1437: Vim9: 'statusline' is evaluated using Vim9 script syntax
...
Problem: Vim9: 'statusline' is evaluated using Vim9 script syntax.
Solution: Always use legacy script syntax.
2020-08-12 22:18:23 +02:00
Bram Moolenaar
66e0014ba6
patch 8.2.1436: function implementing :substitute has unexpected name
...
Problem: Function implementing :substitute has unexpected name.
Solution: Rename from do_sub() to ex_substitute().
2020-08-12 21:58:12 +02:00
Bram Moolenaar
418f1df547
patch 8.2.1435: Vim9: always converting to string for ".." leads to mistakes
...
Problem: Vim9: always converting to string for ".." leads to mistakes.
Solution: Only automatically convert simple types.
2020-08-12 21:34:49 +02:00
Bram Moolenaar
fd77748df2
patch 8.2.1434: Vim9: crash when lambda uses outer function argument
...
Problem: Vim9: crash when lambda uses outer function argument.
Solution: Set the flag that the outer context is used.
2020-08-12 19:42:01 +02:00
Bram Moolenaar
ba60cc45e7
patch 8.2.1433: Vim9: cannot mingle comments in multi-line lambda
...
Problem: Vim9: cannot mingle comments in multi-line lambda.
Solution: Skip over NULL lines. (closes #6694 )
2020-08-12 19:15:33 +02:00
Bram Moolenaar
6d91bcb4d2
patch 8.2.1432: various inconsistencies in test files
...
Problem: Various inconsistencies in test files.
Solution: Add modelines where they were missing. Use Check commands instead
of silently skipping over tests. Adjust indents and comments.
(Ken Takata, closes #6695 )
2020-08-12 18:50:36 +02:00
Bram Moolenaar
c3d6e8a46a
patch 8.2.1431: Vim9: no error for white space before comma in dict
...
Problem: Vim9: no error for white space before comma in dict.
Solution: Check for extra white space. (closes #6674 )
2020-08-12 18:34:28 +02:00
Bram Moolenaar
db199216e8
patch 8.2.1430: Vim9: error for missing comma instead of extra white space
...
Problem: Vim9: error for missing comma instead of extra white space.
Solution: Check if comma can be found after white space. (closes #6668 )
Also check for extra white space in literal dict. (closes #6670 )
2020-08-12 18:01:53 +02:00
Bram Moolenaar
17a836cbee
patch 8.2.1429: Vim9: no error for missing white after : in dict
...
Problem: Vim9: no error for missing white after : in dict.
Solution: Check for white space. (closes #6671 ) Also check that there is no
white before the :.
2020-08-12 17:35:58 +02:00
Bram Moolenaar
ed677f5587
patch 8.2.1428: Vim9: :def function does not abort on nested function error
...
Problem: Vim9: :def function does not abort on nested function error.
Solution: Check whether an error message was given. (closes #6691 )
2020-08-12 16:38:10 +02:00
Bram Moolenaar
7c5ad34878
patch 8.2.1427: Vim9: cannot use a range with marks in :def function
...
Problem: Vim9: cannot use a range with marks in :def function.
Solution: Parse range after colon. (closes #6686 )
2020-08-12 15:48:55 +02:00
Bram Moolenaar
a177344dc0
patch 8.2.1426: Vim9: cannot call autoload function in :def function
...
Problem: Vim9: cannot call autoload function in :def function.
Solution: Load the autoload script. (closes #6690 )
2020-08-12 15:21:22 +02:00
Bram Moolenaar
575f24b3f3
patch 8.2.1425: Vim9: cannot use call() without :call
...
Problem: Vim9: cannot use call() without :call.
Solution: Do not skip over "call(". (closes #6689 )
2020-08-12 14:21:11 +02:00
Bram Moolenaar
040f975fc1
patch 8.2.1424: Mac build fails
...
Problem: Mac build fails.
Solution: Adjust configure to not fall back to Athena. Adjust some other
files.
2020-08-11 23:08:48 +02:00
Bram Moolenaar
035d6e91bd
patch 8.2.1423: Vim9: find global function when looking for script-local
...
Problem: Vim9: find global function when looking for script-local.
Solution: Don't strip prefix if name starts with "s:". (closes #6688 )
2020-08-11 22:30:42 +02:00
Bram Moolenaar
097148e849
patch 8.2.1422: the Mac GUI implementation is outdated
...
Problem: The Mac GUI implementation is outdated and probably doesn't even
work.
Solution: Remove the Mac GUI code. The MacVim project provides the
supported Vim GUI version.
2020-08-11 21:58:20 +02:00
Bram Moolenaar
4301a729ea
patch 8.2.1421: Vim9: handling "+" and "-" before number differs from script
...
Problem: Vim9: handling "+" and "-" before number differs from Vim script.
Solution: Use the same sequence of commands.
2020-08-11 20:51:08 +02:00
Bram Moolenaar
f7c4d83609
patch 8.2.1420: test 49 is old style
...
Problem: Test 49 is old style.
Solution: Convert remaining parts to new style. Remove obsolete items.
(Yegappan Lakshmanan, closes #6683 )
2020-08-11 20:42:19 +02:00
Bram Moolenaar
59eccb92e3
patch 8.2.1419: Vim9: not operator applied too early
...
Problem: Vim9: not operator applied too early.
Solution: Implement the "numeric_only" argument. (closes #6680 )
2020-08-10 23:09:37 +02:00
Bram Moolenaar
8294d49937
patch 8.2.1418: Vim9: invalid error for missing white space
...
Problem: Vim9: invalid error for missing white space after function.
Solution: Do not skip over white space. (closes #6679 )
2020-08-10 22:40:56 +02:00
Bram Moolenaar
efb6482949
patch 8.2.1417: test 49 is old style
...
Problem: Test 49 is old style.
Solution: Convert more parts to new style test. (Yegappan Lakshmanan,
closes #6682 )
2020-08-10 22:15:30 +02:00
Bram Moolenaar
3e06a1e2a8
patch 8.2.1416: Vim9: boolean evaluation does not work as intended
...
Problem: Vim9: boolean evaluation does not work as intended.
Solution: Use tv2bool() in Vim9 script. (closes #6681 )
2020-08-10 21:57:54 +02:00
Bram Moolenaar
6f8f7337c1
patch 8.2.1415: closing a popup window with CTRL-C interrupts 'statusline'
...
Problem: Closing a popup window with CTRL-C interrupts 'statusline' if it
calls a function.
Solution: Reset got_int while redrawing. (closes #6675 )
2020-08-10 21:19:23 +02:00
Bram Moolenaar
bf61fdd008
patch 8.2.1414: popupwindow missing last couple of lines
...
Problem: Popupwindow missing last couple of lines when cursor is in the
first line.
Solution: Compute the max height also when top aligned. (closes #6664 )
2020-08-10 20:39:17 +02:00
Bram Moolenaar
94f4ffa770
patch 8.2.1413: previous tab page not usable from an Ex command
...
Problem: Previous tab page not usable from an Ex command.
Solution: Add the "#" argument for :tabnext et al. (Yegappan Lakshmanan,
closes #6677 )
2020-08-10 19:21:15 +02:00
Bram Moolenaar
6e4cfffe80
patch 8.2.1412: Vim: not operator does not result in boolean
...
Problem: Vim: not operator does not result in boolean.
Solution: Make type depend on operator. (issue 6678) Fix using "false" and
"true" in Vim9 script.
2020-08-09 22:17:55 +02:00
Bram Moolenaar
a9a47d157a
patch 8.2.1411: when splitting a window localdir is copied but prevdir is not
...
Problem: when splitting a window localdir is copied but prevdir is not.
Solution: Also copy prevdir. (closes #6667 )
2020-08-09 21:45:52 +02:00
Bram Moolenaar
7f7a888869
patch 8.2.1410: adding compiler plugin requires test change
...
Problem: Adding compiler plugin requires test change.
Solution: Include compiler plugin and adjust test.
2020-08-09 20:05:41 +02:00
Bram Moolenaar
1e91eafc2e
patch 8.2.1409: nmpmrc and php.ini filetypes not recognized
...
Problem: Nmpmrc and php.ini filetypes not recognized.
Solution: Add filetype detection. (Doug Kearns)
2020-08-09 19:32:39 +02:00
Bram Moolenaar
64d662d5fc
patch 8.2.1408: Vim9: type casting not supported
...
Problem: Vim9: type casting not supported.
Solution: Introduce type casting.
2020-08-09 19:02:50 +02:00
Bram Moolenaar
127542bceb
patch 8.2.1407: Vim9: type of list and dict only depends on first item
...
Problem: Vim9: type of list and dict only depends on first item.
Solution: Use all items to decide about the type.
2020-08-09 17:22:04 +02:00
Bram Moolenaar
a1b9b0cc01
patch 8.2.1406: popupwindow lacks scrollbar if no "maxheight" is used
...
Problem: Popupwindow lacks scrollbar if no "maxheight" is used.
Solution: Compute the max height depending on the position. (closes #6664 )
2020-08-09 16:37:48 +02:00
Bram Moolenaar
a7cc9e697b
patch 8.2.1405: Vim9: vim9compile.c is getting too big
...
Problem: Vim9: vim9compile.c is getting too big.
Solution: Split off type code to vim9type.c.
2020-08-09 15:25:14 +02:00
Bram Moolenaar
b3ca982407
patch 8.2.1404: Vim9: script test fails in the GUI
...
Problem: Vim9: script test fails in the GUI.
Solution: Use another key to map. Improve cleanup.
2020-08-09 14:43:58 +02:00
Bram Moolenaar
3896a105eb
patch 8.2.1403: Vim9: Vim highlighting may fail in cmdline window
...
Problem: Vim9: Vim highlighting fails in cmdline window if it uses Vim9
commands.
Solution: Allow using :vim9script, :import and :export while in the cmdline
window. (closes #6656 )
2020-08-09 14:33:55 +02:00
Bram Moolenaar
94f6c06ac5
patch 8.2.1402: s390x tests always fail
...
Problem: s390x tests always fail.
Solution: Temporarily disable s390x tests.
2020-08-09 14:07:52 +02:00
Bram Moolenaar
62a232506d
patch 8.2.1401: cannot jump to the last used tabpage
...
Problem: Cannot jump to the last used tabpage.
Solution: Add g<Tab> and tabpagnr('#'). (Yegappan Lakshmanan, closes #6661 ,
neovim #11626 )
2020-08-09 14:04:42 +02:00
Bram Moolenaar
730b248339
patch 8.2.1400: Vim9: test does not delete written files
...
Problem: Vim9: test does not delete written files.
Solution: Correct file names.
2020-08-09 13:02:10 +02:00
Bram Moolenaar
efa94447e8
patch 8.2.1399: Vim9: may find imported item in wrong script
...
Problem: Vim9: may find imported item in wrong script.
Solution: When looking up script-local function use the embedded script ID.
(issue #6644 )
2020-08-08 22:16:00 +02:00
Bram Moolenaar
daa2f36573
patch 8.2.1398: autoload script sourced twice if sourced directly
...
Problem: Autoload script sourced twice if sourced directly.
Solution: Do not source an autoload script again. (issue #6644 )
2020-08-08 21:33:21 +02:00
Bram Moolenaar
4a6d1b660f
patch 8.2.1397: Vim9: return type of maparg() not adjusted for fourth arg
...
Problem: Vim9: return type of maparg() not adjusted for fourth argument.
Solution: Check if fourth argument is present. (closes #6645 )
2020-08-08 17:55:49 +02:00
Bram Moolenaar
5a849da57c
patch 8.2.1396: Vim9: no error for unexpectedly returning a value
...
Problem: Vim9: no error for unexpectedly returning a value.
Solution: Only set the return type for lambda's. Make using function type
in a function reference work.
2020-08-08 16:47:30 +02:00
Bram Moolenaar
98b4f145eb
patch 8.2.1395: Vim9: no error if declaring a funcref with lower case letter
...
Problem: Vim9: no error if declaring a funcref with a lower case letter.
Solution: Check the name after the type is inferred. Fix confusing name.
2020-08-08 15:46:01 +02:00
Bram Moolenaar
2dd0a2c39a
patch 8.2.1394: Vim9: compiling a function interferes with command modifiers
...
Problem: Vim9: compiling a function interferes with command modifiers.
Solution: Save and restore command modifiers. (closes #6658 )
2020-08-08 15:10:27 +02:00
Bram Moolenaar
b7f4fa5177
patch 8.2.1393: insufficient testing for script debugging
...
Problem: Insufficient testing for script debugging.
Solution: Add more tests. (Ben Jackson)
2020-08-08 14:41:52 +02:00
Bram Moolenaar
bf8feb5aeb
patch 8.2.1392: Vim9: line number incorrect after skipping over comment lines
...
Problem: Vim9: error line number incorrect after skipping over comment
lines.
Solution: Insert empty lines for skipped lines.
2020-08-08 14:26:31 +02:00
Bram Moolenaar
fa211f3c6d
patch 8.2.1391: Vim9: no error for shadowing a script function
...
Problem: Vim9: no error for shadowing a script function.
Solution: Check for already defined items. (closes #6652 )
2020-08-07 22:00:26 +02:00