Bram Moolenaar
12d265315f
patch 8.2.2530: Vim9: not enough testing for profiling
...
Problem: Vim9: not enough testing for profiling.
Solution: Add a test with nested functions and a lambda. Fix profiling
for calling a compiled function.
v8.2.2530
2021-02-19 19:13:21 +01:00
Bram Moolenaar
d3f8a9ee65
patch 8.2.2529: Vim9: Not possible to use legacy and Vim9 script in one file
...
Problem: Vim9: Not possible to use legacy and Vim9 script in one file.
Solution: Vim9: allow for "if false" before :vim9script. (closes #7851 )
v8.2.2529
2021-02-17 21:57:03 +01:00
Bram Moolenaar
c7dac8534e
patch 8.2.2528: Vim9: crash when compiling lambda fails
...
Problem: Vim9: crash when compiling lambda fails.
Solution: Bail out after compilation fails. (closes #7862 )
v8.2.2528
2021-02-17 18:49:11 +01:00
Bram Moolenaar
064095012c
patch 8.2.2527: Vim9: lambda return type is not determined at script level
...
Problem: Vim9: lambda return type is not determined at script level.
Solution: Compile the lambda to get the return type. (closes #7843 )
v8.2.2527
2021-02-17 17:00:27 +01:00
Bram Moolenaar
527ed38cfa
patch 8.2.2526: build failure
...
Problem: Build failure.
Solution: Change lookup_scriptvar() arguments.
v8.2.2526
2021-02-17 15:05:45 +01:00
Bram Moolenaar
e0890d678d
patch 8.2.2525: Vim9: only local variables checked for a name
...
Problem: Vim9: only local variables checked for a name.
Solution: Also check arguments and script variables. (closes #7838 )
v8.2.2525
2021-02-17 14:52:14 +01:00
Bram Moolenaar
3aca5a6fbc
patch 8.2.2524: cannot change the characters displayed in the foldcolumn
...
Problem: Cannot change the characters displayed in the foldcolumn.
Solution: Add fields to 'fillchars'. (Yegappan Lakshmanan, Matthieu Coudron,
closes #7860 )
v8.2.2524
2021-02-17 13:14:07 +01:00
Bram Moolenaar
c0fcb6e0b1
patch 8.2.2523: Svelte filetype not recognized
...
Problem: Svelte filetype not recognized.
Solution: Add a detection rule. (Brian Ryall, closes #7858 )
v8.2.2523
2021-02-17 12:29:17 +01:00
Bram Moolenaar
9bbd883b35
patch 8.2.2522: Beancount filetype not recognized
...
Problem: Beancount filetype not recognized.
Solution: Add a detection rule. (Brian Ryall, closes #7859 )
v8.2.2522
2021-02-17 12:25:49 +01:00
Bram Moolenaar
333bd56422
patch 8.2.2521: some compilers can't handle pointer initialization
...
Problem: Some compilers can't handle pointer initialization. (John
Marriott)
Solution: Use a local struct and assign it afterwards.
v8.2.2521
2021-02-16 22:22:13 +01:00
Bram Moolenaar
04ea7e9049
patch 8.2.2520: missing tests for 'listchars'
...
Problem: Missing tests for 'listchars'.
Solution: Add a few more checks. (Yegappan Lakshmanan, closes #7854 )
v8.2.2520
2021-02-16 21:14:33 +01:00
Bram Moolenaar
b8554304c3
patch 8.2.2519: Vim9: no reason to keep strange Vi behavior
...
Problem: Vim9: no reason to keep strange Vi behavior.
Solution: ":3" and ":3|" both go to line 3. ":|" does not print the line.
(closes #7840 )
v8.2.2519
2021-02-15 21:30:30 +01:00
Bram Moolenaar
eed9d46293
patch 8.2.2518: 'listchars' should be window-local
...
Problem: 'listchars' should be window-local.
Solution: Make 'listchars' global-local. (Yegappan Lakshmanan, Marco Hinz,
closes #5206 , closes #7850 )
v8.2.2518
2021-02-15 20:38:25 +01:00
Bram Moolenaar
7c5b3c0369
patch 8.2.2517: Vim9: fix for s390 not tested on other systems
...
Problem: Vim9: fix for s390 not tested on other systems.
Solution: Add a test.
v8.2.2517
2021-02-14 22:40:57 +01:00
Bram Moolenaar
4afa77419f
patch 8.2.2516: test failure on s390
...
Problem: Test failure on s390. (analyses by James McCoy)
Solution: Only set the try_finally label when not skipping.
v8.2.2516
2021-02-14 16:34:59 +01:00
Bram Moolenaar
6281815ecc
patch 8.2.2515: memory access error when truncating an empty message
...
Problem: Memory access error when truncating an empty message.
Solution: Check for an empty string. (Dominique Pellé, closes #7841 )
v8.2.2515
2021-02-14 15:37:30 +01:00
Bram Moolenaar
2379f87eb4
patch 8.2.2514: Vim9: build error in tiny version
...
Problem: Vim9: build error in tiny version.
Solution: Add #ifdef.
v8.2.2514
2021-02-14 14:07:34 +01:00
Bram Moolenaar
9979fcd72e
patch 8.2.2513: Vim9: missing part of :vim9cmd change
...
Problem: Vim9: missing part of :vim9cmd change.
Solution: Use command modifier in in_vim9script().
v8.2.2513
2021-02-14 13:30:01 +01:00
Bram Moolenaar
03dfde2b5f
patch 8.2.2512: Vim9: compiling error test sometimes fails
...
Problem: Vim9: compiling error test sometimes fails.
Solution: use WaitForAssert() instead of sleeping for a bit. (Dominique
Pellé, closes #7837 )
v8.2.2512
2021-02-14 13:17:22 +01:00
Bram Moolenaar
39f3b14110
patch 8.2.2511: Vim9: cannot use Vim9 script syntax in some places
...
Problem: Vim9: cannot use Vim9 script syntax in some places.
Solution: Add the :vim9cmd command modifier. Incompatible: Makes ":vim9"
mean ":vim9cmd" instead of ":vim9script".
v8.2.2511
2021-02-14 12:57:36 +01:00
Bram Moolenaar
10ccfb2a17
patch 8.2.2510: internal error when popup with mask is zero height or width
...
Problem: Internal error when popup with mask is zero height or width.
Solution: Bail out if width or height is zero. (closes #7831 )
v8.2.2510
2021-02-13 21:31:18 +01:00
Bram Moolenaar
8d4be89011
patch 8.2.2509: tests fail on s390 build
...
Problem: Tests fail on s390 build.
Solution: Initialize trycmd_T.
v8.2.2509
2021-02-13 18:33:02 +01:00
Bram Moolenaar
a98f8a2305
patch 8.2.2508: cannot change the character displayed in non existing lines
...
Problem: Cannot change the character displayed in non existing lines.
Solution: Add the "eob" item to 'fillchars'. (closes #7832 , closes #3820 )
v8.2.2508
2021-02-13 18:24:23 +01:00
Bram Moolenaar
942db23c9c
Update runtime files
2021-02-13 18:14:48 +01:00
Bram Moolenaar
0fa09676c2
patch 8.2.2507: github build may fail if Ubuntu 20.04 is used
...
Problem: Github build may fail if Ubuntu 20.04 is used. Installing rust is
not needed.
Solution: Specify ubuntu-18.04 instead of latest. Update "pip" instead of
installing rust. (Ozaki Kiichi, closes #7820 )
v8.2.2507
2021-02-13 17:08:33 +01:00
Bram Moolenaar
c150c09ec4
patch 8.2.2506: Vim9: :continue does not work correctly in a :try block
...
Problem: Vim9: :continue does not work correctly in a :try block
Solution: Add the TRYCLEANUP instruction. (closes #7827 )
v8.2.2506
2021-02-13 15:02:46 +01:00
Bram Moolenaar
31842cd077
patch 8.2.2505: Vim9: crash after defining function with invalid return type
...
Problem: Vim9: crash after defining function with invalid return type.
Solution: Clear function growarrays. Fix memory leak.
v8.2.2505
2021-02-12 22:10:21 +01:00
Bram Moolenaar
44ec21c467
patch 8.2.2504: Vim9: crash when using an argument from a closure
...
Problem: Vim9: crash when using an argument from a closure.
Solution: Check if gen_load_outer is NULL. (closes #7821 )
v8.2.2504
2021-02-12 21:50:57 +01:00
Bram Moolenaar
d9d7789b6f
patch 8.2.2503: Vim9: a caught error may leave something on the stack
...
Problem: Vim9: a caught error may leave something on the stack.
Solution: Drop items from the stack if needed. (closes #7826 )
v8.2.2503
2021-02-12 21:32:47 +01:00
Bram Moolenaar
ca753ec862
patch 8.2.2502: a few github actions are failing
...
Problem: A few github actions are failing.
Solution: Install setuptools-rust. (closes #7823 )
v8.2.2502
2021-02-12 19:48:51 +01:00
Bram Moolenaar
f785aa1354
patch 8.2.2501: not always clear where an error is reported
...
Problem: Not always clear where an error is reported.
Solution: Add the where_T structure and pass it around. (closes #7796 )
v8.2.2501
2021-02-11 21:19:34 +01:00
Bram Moolenaar
0bcadf14aa
patch 8.2.2500: build fails without the GUI feature
...
Problem: Build fails without the GUI feature.
Solution: Add #ifdef.
v8.2.2500
2021-02-11 19:18:58 +01:00
Bram Moolenaar
3b678047bc
patch 8.2.2499: "vim -g --version" does not redirect output
...
Problem: "vim -g --version" does not redirect output.
Solution: Reset gui.starting when showing version info. (closes #7815 )
v8.2.2499
2021-02-11 19:08:05 +01:00
Bram Moolenaar
5affc03468
patch 8.2.2498: no test for what 8.2.2494 fixes
...
Problem: No test for what 8.2.2494 fixes.
Solution: Add a simple change to test the fix. (closes #7818 )
v8.2.2498
2021-02-11 18:36:30 +01:00
Bram Moolenaar
418a29f0ff
patch 8.2.2497: no error when using more than one character for a register
...
Problem: No error when using more than one character for a register name.
Solution: In Vim9 script check for a single character string. (closes #7814 )
Fix that VAR_BOOL and VAR_SPECIAL are not considered equal.
v8.2.2497
2021-02-10 22:23:41 +01:00
Bram Moolenaar
5202929dab
patch 8.2.2496: insufficien testing for text jumping fix
...
Problem: Insufficien testing for text jumping fix.
Solution: Add another test case.
v8.2.2496
2021-02-10 21:20:30 +01:00
Bram Moolenaar
8f33ebfade
patch 8.2.2495: text jumps up and down when moving the cursor
...
Problem: Text jumps up and down when moving the cursor in a small window
with wrapping text and 'scrolloff' set.
Solution: Adjust the computation of w_skipcol. (partly by Ghjuvan Lacambre,
closes #7813 )
v8.2.2495
2021-02-10 21:10:12 +01:00
Bram Moolenaar
3ff656f6b4
patch 8.2.2494: ":rviminfo!" clears most of oldfiles
...
Problem: ":rviminfo!" clears most of oldfiles.
Solution: Add VIF_ONLY_CURBUF to read_viminfo(). (closes #1781 )
v8.2.2494
2021-02-10 19:22:15 +01:00
Bram Moolenaar
f3fa18468c
patch 8.2.2493: text property for text left of window shows up
...
Problem: Text property for text left of window shows up.
Solution: Check if the text property ends before the current column.
(closes #7806 )
v8.2.2493
2021-02-10 17:20:28 +01:00
Bram Moolenaar
b17ec4d427
patch 8.2.2492: command line buffer name cannot be translated
...
Problem: Command line buffer name cannot be translated.
Solution: Add _(). (Gabriel Dupras, closes #7812 )
v8.2.2492
2021-02-10 16:45:24 +01:00
Bram Moolenaar
82db31c104
patch 8.2.2491: popup window for text property may show in first screen line
...
Problem: Popup window for text property may show in first screen line.
Solution: If the text position is invisible do not show the popup window.
(closes #7807 )
v8.2.2491
2021-02-10 14:56:11 +01:00
Bram Moolenaar
4223d43c0f
patch 8.2.2490: 'wrap' option is always reset when starting diff mode
...
Problem: 'wrap' option is always reset when starting diff mode.
Solution: Add the "followwrap" item in 'diffopt'. (Rick Howe, closes #7797 )
v8.2.2490
2021-02-10 13:18:17 +01:00
Bram Moolenaar
963ffa0a5a
patch 8.2.2489: current buffer is wrong after deletebufline() fails
...
Problem: current buffer is wrong after deletebufline() fails to delete a
line in another buffer.
Solution: Restore the current buffer.
v8.2.2489
2021-02-09 20:02:55 +01:00
Bram Moolenaar
a853089479
patch 8.2.2488: json_encode() gives generic argument error
...
Problem: json_encode() gives generic argument error.
Solution: Mention the type that can't be encoded. (issue #7802 )
v8.2.2488
2021-02-08 21:53:09 +01:00
Bram Moolenaar
4549dad874
patch 8.2.2487: terminal shows garbage after double-wide character
...
Problem: Terminal shows garbage after double-wide character with a
combining character. (Kyoichiro Yamada)
Solution: Libvterm: do not add the width of the combining character to the
glyph width. (closes #7801 )
v8.2.2487
2021-02-08 21:29:48 +01:00
Bram Moolenaar
ba98fb54ae
patch 8.2.2486: Vim9: some errors for white space do not show context
...
Problem: Vim9: some errors for white space do not show context.
Solution: Include the text at the error.
v8.2.2486
2021-02-07 18:06:29 +01:00
Bram Moolenaar
0123cc1e14
patch 8.2.2485: when sourcing a script again the script version isn't reset
...
Problem: When sourcing a script again the script version isn't reset.
Solution: Set sn_version to one when sourcing a script again. Clear
sn_save_cpo properly. (closes #7608 )
v8.2.2485
2021-02-07 17:17:58 +01:00
Bram Moolenaar
dee37dc733
patch 8.2.2484: Vim9: Cannot use a comment starting with #{
...
Problem: Vim9: Cannot use a comment starting with #{ after an expression.
Solution: Remove the check for "{" since #{ dictionaries are not supported.
v8.2.2484
2021-02-07 16:40:05 +01:00
Bram Moolenaar
6628b7ebff
patch 8.2.2483: Vim9: type error for misformed expression
...
Problem: Vim9: type error for misformed expression.
Solution: Check for end of command before checking type. (closes #7795 )
v8.2.2483
2021-02-07 16:33:35 +01:00
Bram Moolenaar
a5a1ec1826
patch 8.2.2482: build error
...
Problem: Build error.
Solution: Add new error message.
v8.2.2482
2021-02-07 16:05:47 +01:00