Bram Moolenaar
e55b1c098d
patch 8.2.1028: Vim9: no error for declaring buffer, window, etc. variable
...
Problem: Vim9: no error for declaring buffer, window, etc. variable.
Solution: Give an error. Unify the error messages.
2020-06-21 15:52:59 +02:00
Bram Moolenaar
820ffa567c
patch 8.2.1027: GUI: multi-byte characters do not work in a terminal
...
Problem: GUI: multi-byte characters do not work in a terminal.
Solution: Do not assume a key is one byte. (closes #6304 )
2020-06-21 15:09:14 +02:00
Bram Moolenaar
a3b7fdc1bb
patch 8.2.1026: Vim9: cannot break the line after "->"
...
Problem: Vim9: cannot break the line after "->".
Solution: Check for a continuation line after "->", "[" and ".". Ignore
trailing white space.
2020-06-21 14:12:17 +02:00
Bram Moolenaar
8c524f76eb
patch 8.2.1025: tabpage menu and tabline not sufficiently tested
...
Problem: Tabpage menu and tabline not sufficiently tested.
Solution: Add tests. (Yegappan Lakshmanan, closes #6307 )
2020-06-21 13:23:45 +02:00
Bram Moolenaar
6797966dfc
patch 8.2.1024: Vim9: no error for using "let g:var = val"
...
Problem: Vim9: no error for using "let g:var = val".
Solution: Add an error.
2020-06-20 22:50:47 +02:00
Bram Moolenaar
0cb5bcf583
patch 8.2.1023: Vim9: redefining a function uses a new index every time
...
Problem: Vim9: redefining a function uses a new index every time.
Solution: When redefining a function clear the contents and re-use the
index.
2020-06-20 18:19:09 +02:00
Bram Moolenaar
845e0ee594
patch 8.2.1022: various parts of code not covered by tests
...
Problem: Various parts of code not covered by tests.
Solution: Add more tests. (Yegappan Lakshmanan, closes #6300 )
2020-06-20 16:05:32 +02:00
Bram Moolenaar
a190548e91
patch 8.2.1021: Ruby interface not tested enough
...
Problem: Ruby interface not tested enough.
Solution: Add a couple more tests. (Dominique Pellé, closes #6301 )
2020-06-20 16:00:25 +02:00
Bram Moolenaar
b326edf5b3
patch 8.2.1020: popupwin test fails in the GUI
...
Problem: Popupwin test fails in the GUI.
Solution: Send GUI byte sequence for <C-S-a>.
2020-06-20 15:03:38 +02:00
Bram Moolenaar
ef6746f637
patch 8.2.1019: mapping <M-S-a> does not work in the GUI
...
Problem: Mapping <M-S-a> does not work in the GUI.
Solution: Move the logic to remove the shift modifier to
may_remove_shift_modifier() and also use it in the GUI.
2020-06-20 14:43:23 +02:00
Bram Moolenaar
280b0dc815
patch 8.2.1018: typo in enum value
...
Problem: Typo in enum value. (James McCoy)
Solution: Fix the typo.
2020-06-20 13:29:03 +02:00
Bram Moolenaar
1089374130
patch 8.2.1017: Appveyor output doesn't show MinGW console features
...
Problem: Appveyor output doesn't show MinGW console features.
Solution: List the features of the console build.
2020-06-19 22:37:47 +02:00
Bram Moolenaar
7e380030c1
patch 8.2.1016: Vim9: test fails when channel feature is missing
...
Problem: Vim9: test fails when channel feature is missing.
Solution: Process an :if command when skipping
2020-06-19 22:35:44 +02:00
Bram Moolenaar
20298ce679
patch 8.2.1015: popup filter gets key with modifier prepended
...
Problem: Popup filter gets key with modifier prepended when using
modifyOtherKeys.
Solution: Remove the shift modifier when it is included in the key, also
when the Alt or Meta modifier is used.
2020-06-19 21:46:52 +02:00
Bram Moolenaar
1e0b7b11db
patch 8.2.1014: using "name" for a string result is confusing
...
Problem: Using "name" for a string result is confusing.
Solution: Rename to "end".
2020-06-19 19:30:53 +02:00
Bram Moolenaar
ec9b017b87
patch 8.2.1013: channel tests can be a bit flaky
...
Problem: Channel tests can be a bit flaky.
Solution: Set the g:test_is_flaky flag in SetUp().
2020-06-19 19:10:59 +02:00
Bram Moolenaar
3b74b6b4bb
patch 8.2.1012: Vim9: cannot declare single character script variables
...
Problem: Vim9: cannot declare single character script variables.
Solution: Don't see "b:", "s:", etc. as namespace. Fix item size of
sn_var_vals.
2020-06-19 19:01:43 +02:00
Bram Moolenaar
c785b9a7f4
patch 8.2.1011: Vim9: some code not tested
...
Problem: Vim9: some code not tested.
Solution: Add a few more test cases. Reorder checks for clearer error.
Remove unreachable code.
2020-06-19 18:34:15 +02:00
Bram Moolenaar
128d307963
patch 8.2.1010: build failure in libvterm with debug enabled
...
Problem: Build failure in libvterm with debug enabled. (John Little)
Solution: Use "->" instead of ".".
2020-06-19 17:20:41 +02:00
Bram Moolenaar
c5b1c20b6b
patch 8.2.1009: Vim9: some failures not checked for
...
Problem: Vim9: some failures not checked for.
Solution: Add test cases. Remove unused code.
2020-06-18 22:43:27 +02:00
Bram Moolenaar
0779fab297
patch 8.2.1008: Vim9: no test for disassambling newly added instructions
...
Problem: Vim9: no test for disassambling newly added instructions.
Solution: Add a function and check disassembly.
2020-06-18 22:18:18 +02:00
Bram Moolenaar
c8cb883015
patch 8.2.1007: completion doesn't work after ":r ++arg !"
...
Problem: Completion doesn't work after ":r ++arg !".
Solution: Skip over "++arg". (Christian Brabandt, closes #6275 ,
closes #6258 )
2020-06-18 21:14:30 +02:00
Bram Moolenaar
efd8855594
patch 8.2.1006: Vim9: require unnecessary return statement
...
Problem: Vim9: require unnecessary return statement.
Solution: Improve the use of the had_return flag. (closes #6270 )
2020-06-18 20:50:10 +02:00
Bram Moolenaar
9b68c82b7c
patch 8.2.1005: Vim9: using TRUE/FALSE/MAYBE for ctx_skip is confusing
...
Problem: Vim9: using TRUE/FALSE/MAYBE for ctx_skip is confusing.
Solution: Use an enum value.
2020-06-18 19:31:08 +02:00
Bram Moolenaar
511feec6f0
patch 8.2.1004: line numbers below filler lines not always updated
...
Problem: Line numbers below filler lines not always updated.
Solution: Don't break out of the win_line() loop too early. (Christian
Brabandt, closes #6294 , closes #6138 )
2020-06-18 19:15:27 +02:00
Bram Moolenaar
865af6b990
patch 8.2.1003: Vim9: return type of sort() is too generic
...
Problem: Vim9: return type of sort() is too generic.
Solution: Get type from the first argument. (closes #6292 )
2020-06-18 18:45:49 +02:00
Bram Moolenaar
ceb2e77510
patch 8.2.1002: test may fail when run directly
...
Problem: Test may fail when run directly.
Solution: Check if g:run_nr exists. (Christian Brabandt, closes #6285 )
2020-06-18 18:33:59 +02:00
Bram Moolenaar
72abcf42d4
patch 8.2.1001: Vim9: crash with nested "if" and assignment
...
Problem: Vim9: crash with nested "if" and assignment.
Solution: Skip more of the assignment. Do not set ctx_skip when code is
reachable.
2020-06-18 18:26:24 +02:00
Bram Moolenaar
158ea175a9
patch 8.2.1000: get error when leaving Ex mode with :visual
...
Problem: Get error when leaving Ex mode with :visual and a CmdLineEnter
autocommand was used.
Solution: Reset ex_pressedreturn. (closes #6293 )
2020-06-18 17:28:39 +02:00
Bram Moolenaar
2f03e5a0a9
patch 8.2.0999: moving to next sentence gets stuck on quote
...
Problem: Moving to next sentence gets stuck on quote.
Solution: When moving to the next sentence doesn't result in moving, advance
a character and try again. (closes #6291 )
2020-06-18 15:33:25 +02:00
Bram Moolenaar
3d9207ad2f
patch 8.2.0998: not all tag code is tested
...
Problem: Not all tag code is tested.
Solution: Add a few more test cases. (Yegappan Lakshmanan, closes #6284 )
2020-06-17 22:58:35 +02:00
Bram Moolenaar
856c1110c1
patch 8.2.0997: cannot execute a register containing line continuation
...
Problem: Cannot execute a register containing line continuation.
Solution: Concatenate lines where needed. (Yegappan Lakshmanan,
closes #6272 )
2020-06-17 21:47:23 +02:00
Bram Moolenaar
40a019f157
patch 8.2.0996: using "aucmdwin" in win_gettype() is not ideal
...
Problem: Using "aucmdwin" in win_gettype() is not ideal.
Solution: Rename to "autocmd".
2020-06-17 21:41:35 +02:00
Bram Moolenaar
e17f8817a1
patch 8.2.0995: insufficient testing for the readdir() sort option
...
Problem: Insufficient testing for the readdir() sort option.
Solution: Add a few more tests. (Christian Brabandt, closes #6278 )
2020-06-17 20:30:44 +02:00
Bram Moolenaar
9bb3eb3e02
patch 8.2.0994: Vim9: missing function causes compilation error
...
Problem: Vim9: missing function causes compilation error.
Solution: Call test function indirectly.
2020-06-17 20:03:36 +02:00
Bram Moolenaar
f7d267ef20
patch 8.2.0993: Vim9 script test fails with normal features
...
Problem: Vim9 script test fails with normal features.
Solution: Use :func instead of :def for now.
2020-06-17 12:04:54 +02:00
Bram Moolenaar
101f4810e2
patch 8.2.0992: Vim9: crash when using :import in the Vim command
...
Problem: Vim9: crash when using :import in the Vim command.
Solution: Give an error when using :import outside of a script.
(closes #6271 )
2020-06-16 23:18:51 +02:00
Bram Moolenaar
0fe937fd86
patch 8.2.0991: cannot get window type for autocmd and preview window
...
Problem: Cannot get window type for autocmd and preview window.
Solution: Add types to win_gettype(). (Yegappan Lakshmanan, closes #6277 )
2020-06-16 22:42:04 +02:00
Bram Moolenaar
a1bc6f1293
patch 8.2.0990: Using duplicate error number
...
Problem: Using duplicate error number.
Solution: Use an unused error number. Add a test for it.
2020-06-16 22:27:39 +02:00
Bram Moolenaar
a6e8bf2d89
patch 8.2.0989: crash after resizing a terminal window
...
Problem: Crash after resizing a terminal window. (August Masquelier)
Solution: Add check for valid row in libvterm. (closes #6273 )
2020-06-16 20:58:07 +02:00
Bram Moolenaar
84cf6bd81b
patch 8.2.0988: getting directory contents is always case sorted
...
Problem: Getting directory contents is always case sorted.
Solution: Add sort options and v:collate. (Christian Brabandt, closes #6229 )
2020-06-16 20:03:43 +02:00
Bram Moolenaar
9af78769ee
patch 8.2.0987: Vim9: cannot assign to [var; var]
...
Problem: Vim9: cannot assign to [var; var].
Solution: Assign rest of items to a list.
2020-06-16 11:34:42 +02:00
Bram Moolenaar
c70222d12a
patch 8.2.0986: MS-Windows: functions test fails
...
Problem: MS-Windows: functions test fails.
Solution: Only simplify ///path on Unix.
2020-06-15 23:18:12 +02:00
Bram Moolenaar
fdcbe3c3fe
patch 8.2.0985: simplify() does not remove slashes from "///path"
...
Problem: Simplify() does not remove slashes from "///path".
Solution: Reduce > 2 slashes to one. (closes #6263 )
2020-06-15 21:41:56 +02:00
Bram Moolenaar
ab176ce982
patch 8.2.0984: not using previous window when closing a shell popup window
...
Problem: Not using previous window when closing a shell popup window.
Solution: Use "prevwin" if it was set. (closes #6267 )
2020-06-15 21:19:08 +02:00
Bram Moolenaar
ad72350360
patch 8.2.0983: SConstruct file type not recognized
...
Problem: SConstruct file type not recognized.
Solution: Use python for SConstruct files. (Roland Hieber)
2020-06-15 20:24:58 +02:00
Bram Moolenaar
b340baed9f
patch 8.2.0982: insufficient testing for reading/writing files
...
Problem: Insufficient testing for reading/writing files.
Solution: Add more tests. (Yegappan Lakshmanan, closes #6257 )
Add "ui_delay" to test_override() and use it for the CTRL-O test.
2020-06-15 19:51:56 +02:00
Bram Moolenaar
47a519a933
patch 8.2.0981: Vim9: cannot compile "[var, var] = list"
...
Problem: Vim9: cannot compile "[var, var] = list".
Solution: Implement list assignment.
2020-06-14 23:05:10 +02:00
Bram Moolenaar
a65d8b5bb9
patch 8.2.0980: raku file extension not recognized
...
Problem: Raku file extension not recognized. (Steven Penny)
Solution: Recognize .raku and .rakumod. (closes #6255 )
2020-06-14 20:04:32 +02:00
Bram Moolenaar
65e0d77a66
Update runtime files
2020-06-14 17:29:55 +02:00