Bram Moolenaar
e7525c5520
patch 8.2.2318: Vim9: string and list index work differently
...
Problem: Vim9: string and list index work differently.
Solution: Make string index work like list index. (closes #7643 )
2021-01-09 13:20:37 +01:00
Bram Moolenaar
9e0f883f89
patch 8.2.2317: Vim9: command modifier before list unpack doesn't work
...
Problem: Vim9: command modifier before list unpack doesn't work.
Solution: Only recognize "[" directly after the name. (closes #7641 )
2021-01-09 12:09:22 +01:00
Bram Moolenaar
b657198cb3
patch 8.2.2316: Vim9: cannot list a lambda function
...
Problem: Vim9: cannot list a lambda function.
Solution: Support the <lambda>9 notation, like :disassemble. (closes #7634 )
2021-01-08 22:24:19 +01:00
Bram Moolenaar
832ea89ca9
patch 8.2.2315: Vim9: "enddef" as dict key misintepreted as function end
...
Problem: Vim9: "enddef" as dict key misintepreted as function end.
Solution: Check for following colon. (closes #7640 )
2021-01-08 21:55:26 +01:00
Bram Moolenaar
299f3036ec
patch 8.2.2314: Vim9: returning zero takes two instructions
...
Problem: Vim9: returning zero takes two instructions.
Solution: Add ISN_RETURN_ZERO.
2021-01-08 20:53:09 +01:00
Bram Moolenaar
ece0b87c0f
patch 8.2.2313: Vim9: using uninitialized field when parsing range
...
Problem: Vim9: using uninitialized field when parsing range. ":silent!" not
respected when parsing range fails.
Solution: Initialize ea.skip. On pattern failure handle it like an error.
(closes #7636 )
2021-01-08 20:40:45 +01:00
Bram Moolenaar
467b59c2eb
patch 8.2.2312: build failure with Ruby 3.0 and 32 bits
...
Problem: Build failure with Ruby 3.0 and 32 bits.
Solution: Add #ifdef. (closes #7638 )
2021-01-08 19:31:39 +01:00
Bram Moolenaar
17126b1396
patch 8.2.2311: Vim9: cannot assign to variable that shadows command modifier
...
Problem: Vim9: cannot assign to a variable that shadows a command modifier.
Solution: Check for assignment after possible command modifier.
(closes #7632 )
2021-01-07 22:03:02 +01:00
Bram Moolenaar
43b69b39ac
patch 8.2.2310: Vim9: winsaveview() return type is too generic
...
Problem: Vim9: winsaveview() return type is too generic.
Solution: use dict<number> instead of dict<any>. (closes #7626 )
2021-01-07 20:23:33 +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
328eac2b5d
patch 8.2.2308: Vim9: no error when assigning lambda to funcref
...
Problem: Vim9: no error when assigning lambda to funcref without return
value.
Solution: Default return value to "any". (closes #7629 )
2021-01-07 19:23:08 +01:00
Bram Moolenaar
ebbf11c119
patch 8.2.2307: a shell command in the vimrc causes terminal output
...
Problem: A shell command in the vimrc causes terminal output.
Solution: Do not call starttermcap() after a shell command if the termcap
wasn't active before.
2021-01-07 14:45:03 +01:00
Bram Moolenaar
32b3f82010
patch 8.2.2306: Vim9: when using function reference type is not checked
...
Problem: Vim9: when using function reference type is not checked.
Solution: When using a function reference lookup the type and check the
argument types. (issue #7629 )
2021-01-06 21:59:39 +01:00
Bram Moolenaar
b23279d7a2
patch 8.2.2305: Vim9: "++var" and "--var" are silently accepted
...
Problem: Vim9: "++var" and "--var" are silently accepted.
Solution: Give an error message.
2021-01-05 22:08:20 +01:00
Bram Moolenaar
0acbf5ae66
patch 8.2.2304: Vim9: no test for unletting an imported variable
...
Problem: Vim9: no test for unletting an imported variable.
Solution: Add a test. Fix line number in error.
2021-01-05 20:58:25 +01:00
Bram Moolenaar
ecac591cce
patch 8.2.2303: Vim9: backtick expansion doesn't work for :foldopen
...
Problem: Vim9: backtick expansion doesn't work for :foldopen.
Solution: Do recognize backtick expansion. (closes #7621 )
2021-01-05 19:23:28 +01:00
Bram Moolenaar
a79925a0a8
patch 8.2.2302: Vim9: using an option value may use uninitialized memory
...
Problem: Vim9: using an option value may use uninitialized memory.
Solution: Clear v_lock. (closes #7620 )
2021-01-05 17:50:28 +01:00
Bram Moolenaar
752fc692ac
patch 8.2.2301: Vim9: cannot unlet a dict or list item
...
Problem: Vim9: cannot unlet a dict or list item.
Solution: Add ISN_UNLETINDEX. Refactor assignment code to use for unlet.
2021-01-04 21:57:11 +01:00
Bram Moolenaar
d62d87d8f3
patch 8.2.2300: Vim9: wrong order on type stack when using dict
...
Problem: Vim9: wrong order on type stack when using dict.
Solution: Generate constants before a dict. (closes #7619 )
2021-01-04 17:40:12 +01:00
Bram Moolenaar
d1510ee946
patch 8.2.2299: Vim9: invalid memory access making error message flaky
...
Problem: Vim9: invalid memory access making error message flaky.
Solution: Do not check cmd_argt for CMD_USER. (issue #7467 )
2021-01-04 16:15:58 +01:00
Bram Moolenaar
cef1270dec
patch 8.2.2298: Vim9: comment right after "(" of function not recognized
...
Problem: Vim9: comment right after "(" of function not recognized.
Solution: Do not skip over white space before calling get_function_args().
(closes #7613 )
2021-01-04 14:09:43 +01:00
Bram Moolenaar
0ea0440865
patch 8.2.2297: Vim9: cannot set 'number' to a boolean value
...
Problem: Vim9: cannot set 'number' to a boolean value.
Solution: Use tv_get_bool(). (closes #7615 )
2021-01-04 13:37:54 +01:00
Bram Moolenaar
014f698cb6
patch 8.2.2296: cannot use CTRL-N and CTRL-P in a popup menu
...
Problem: Cannot use CTRL-N and CTRL-P in a popup menu.
Solution: Use CTRL-N like <Down> and CTRL-P like <Up>. (closes #7614 )
2021-01-04 13:18:30 +01:00
Bram Moolenaar
d93a7fc1a9
patch 8.2.2295: incsearch does not detect empty pattern properly
...
Problem: Incsearch does not detect empty pattern properly.
Solution: Return magic state when skipping over a pattern. (Christian
Brabandt, closes #7612 , closes #6420 )
2021-01-04 12:42:13 +01:00
Bram Moolenaar
82c38fe508
patch 8.2.2294: VMS: a few remaining problems
...
Problem: VMS: a few remaining problems.
Solution: Add VMS specific changes. Add Lua support. (Zoltan Arpadffy)
2021-01-04 10:47:26 +01:00
Bram Moolenaar
bb0956fc65
patch 8.2.2293: build failure with Motif
...
Problem: Build failure with Motif. (Tony Mechelynck)
Solution: Use empty_option instead of empty_options.
2021-01-03 22:12:15 +01:00
Bram Moolenaar
5f63938447
patch 8.2.2292: Vim: expr test fails
...
Problem: Vim: expr test fails.
Solution: Add missing part of "null" support.
2021-01-03 22:05:19 +01:00
Bram Moolenaar
6797782127
patch 8.2.2291: Vim9: cannot use "null" for v:null
...
Problem: Vim9: cannot use "null" for v:null.
Solution: Support "null" like "true" and "false". (closes #7495 )
2021-01-03 21:53:53 +01:00
Bram Moolenaar
2ef951dd31
patch 8.2.2290: Vim9: unlet of global variable cannot be compiled
...
Problem: Vim9: unlet of global variable cannot be compiled.
Solution: Skip over variables that might be defined later. Give an error if
a subscript is found. (closes #7585 )
2021-01-03 20:55:26 +01:00
Bram Moolenaar
e5a2dc87fd
patch 8.2.2289: Vim9: 'cpo' can become empty
...
Problem: Vim9: 'cpo' can become empty.
Solution: Use empty_option instead of an empty string. Update quickfix
buffer after restoring 'cpo'. (closes #7608 )
2021-01-03 19:52:05 +01:00
Bram Moolenaar
5afd081cd3
patch 8.2.2288: Vim9: line break and comment not always skipped
...
Problem: Vim9: line break and comment not always skipped.
Solution: Skip over white space and then line break more consistently.
(closes #7610 )
2021-01-03 18:33:13 +01:00
Bram Moolenaar
cec77d4530
patch 8.2.2287: sort test fails when locale is French Canadian
...
Problem: Sort test fails when locale is French Canadian.
Solution: Expect a different sort order. (Dominique Pellé, closes #7609 )
2021-01-03 17:39:28 +01:00
Bram Moolenaar
fefa6c347e
patch 8.2.2286: sort test fails when locale is Canadian English
...
Problem: Sort test fails when locale is Canadian English. (Neil H Watson)
Solution: Expect a different sort order. (closes #7609 )
2021-01-03 16:18:04 +01:00
Bram Moolenaar
b0d8182fa3
patch 8.2.2285: Vim9: cannot set an option to a false
...
Problem: Vim9: cannot set an option to a false.
Solution: For VAR_BOOL use string "0". (closes #7603 )
2021-01-03 15:55:10 +01:00
Bram Moolenaar
31a201a04a
patch 8.2.2284: Vim9: cannot set an option to a boolean value
...
Problem: Vim9: cannot set an option to a boolean value.
Solution: Check for VAR_BOOL. (closes #7603 )
2021-01-03 14:47:25 +01:00
Bram Moolenaar
e68b02a1c4
patch 8.2.2283: Vim9: crash when lambda has fewer arguments than expected
...
Problem: Vim9: crash when lambda has fewer arguments than expected.
Solution: Don't check arguments when already failed. (closes #7606 )
2021-01-03 13:09:51 +01:00
Bram Moolenaar
339c1bdbdf
patch 8.2.2282: length check mismatch with argument of strncmp()
...
Problem: Length check mismatch with argument of strncmp(). (Christian
Brabandt)
Solution: Adjust length check.
2021-01-02 20:14:23 +01:00
Bram Moolenaar
a11919fa44
patch 8.2.2281: Vim9: compiled "wincmd" cannot be followed by bar
...
Problem: Vim9: compiled "wincmd" cannot be followed by bar.
Solution: Check for bar after "wincmd". (closes #7599 )
2021-01-02 19:44:56 +01:00
Bram Moolenaar
9d19e4f4ba
patch 8.2.2280: fuzzy matching doesn't give access to the scores
...
Problem: Fuzzy matching doesn't give access to the scores.
Solution: Return the scores with a third list. (Yegappan Lakshmanan,
closes #7596 )
2021-01-02 18:31:32 +01:00
Bram Moolenaar
508b5618ec
patch 8.2.2279: Vim9: memory leak with catch in skipped block
...
Problem: Vim9: memory leak with catch in skipped block.
Solution: Free the pattern if not used.
2021-01-02 18:17:26 +01:00
Bram Moolenaar
66c50c5653
patch 8.2.2278: falling back to old regexp engine can some patterns
...
Problem: Falling back to old regexp engine can some patterns.
Solution: Do not fall back once [[:lower:]] or [[:upper:]] is used.
(Christian Brabandt, closes #7572 )
2021-01-02 17:43:49 +01:00
Bram Moolenaar
9281c6cae4
patch 8.2.2277: missing backslash
...
Problem: Missing backslash.
Solution: Add backslash.
2021-01-02 17:06:16 +01:00
Bram Moolenaar
a72514945b
patch 8.2.2276: list of distributed files is outdated
...
Problem: List of distributed files is outdated.
Solution: Update the file list. Minor comment updates.
2021-01-02 16:53:13 +01:00
Bram Moolenaar
02faa944c6
patch 8.2.2275: CTRL-C not recognized in Mintty
...
Problem: CTRL-C not recognized in Mintty.
Solution: Recognize the modifyOtherKeys code ending in "u". (Christian
Brabandt, closes #7575 )
2021-01-02 16:17:18 +01:00
Bram Moolenaar
2f91e2f8da
patch 8.2.2274: badge for Travis is outdated
...
Problem: badge for Travis is outdated.
Solution: Update badge for move from travis-ci.org to travis-ci.com.
2021-01-02 16:06:44 +01:00
Bram Moolenaar
628c102d12
patch 8.2.2273: build failure
...
Problem: Build failure.
Solution: Add missing changes to header file.
2021-01-02 15:49:28 +01:00
Bram Moolenaar
aa210a3aec
patch 8.2.2272: Vim9: extend() can violate the type of a variable
...
Problem: Vim9: extend() can violate the type of a variable.
Solution: Add the type to the dictionary or list and check items against it.
(closes #7593 )
2021-01-02 15:41:03 +01:00
Bram Moolenaar
3e0107ea16
patch 8.2.2271: ml_get error when changing hidden buffer in Python
...
Problem: ml_get error when changing hidden buffer in Python.
Solution: Block updating folds. (closes #7598 )
2021-01-02 13:53:59 +01:00
Bram Moolenaar
38a434f7ba
patch 8.2.2270: warning for size_t to int conversion
...
Problem: Warning for size_t to int conversion. (Randall W. Morris)
Solution: Add a type cast.
2021-01-02 12:45:45 +01:00
Bram Moolenaar
edc10b541b
patch 8.2.2269: not all :hardcopy code covered by tests
...
Problem: Not all :hardcopy code covered by tests.
Solution: Test more combinations. (Dominique Pellé, closes #7595 )
2021-01-01 21:34:37 +01:00