Bram Moolenaar
b91d3f857f
patch 8.2.2683: build failure without the +eval feature
...
Problem: Build failure without the +eval feature.
Solution: Add #ifdef.
2021-04-01 13:17:50 +02:00
Bram Moolenaar
529fb5a5f6
patch 8.2.2682: Vim9: cannot find Name.Func from "import * as Name"
...
Problem: Vim9: cannot find Name.Func from "import * as Name". (Alexander
Goussas)
Solution: When no variable found try finding a function. (closes #8045 )
Check that the function was exported.
2021-04-01 12:57:57 +02:00
Bram Moolenaar
12be734faf
patch 8.2.2681: Vim9: test fails for redeclaring script variable
...
Problem: Vim9: test fails for redeclaring script variable.
Solution: It's OK to assign to an existing script variable in legacy.
2021-03-31 21:47:33 +02:00
Bram Moolenaar
e535db86e7
patch 8.2.2680: Vim9: problem defining a script variable from legacy function
...
Problem: Vim9: problem defining a script variable from legacy function.
Solution: Check if the script is Vim9, not the current syntax.
(closes #8032 )
2021-03-31 21:07:24 +02:00
Bram Moolenaar
ae0f151ddf
patch 8.2.2679: status line missing for non-current window with winbar
...
Problem: Winbar drawn over status line for non-current window with winbar
if frame is zero height. (Leonid V. Fedorenchik)
Solution: Do not draw the window if the frame height is zero. (closes #8037 )
2021-03-30 22:12:12 +02:00
Bram Moolenaar
82820d9bf1
patch 8.2.2678: test for 'autoshelldir' does not reset the option
...
Problem: Test for 'autoshelldir' does not reset the option.
Solution: Reset the option after testing.
2021-03-30 20:54:28 +02:00
Bram Moolenaar
38a3bfa9a2
patch 8.2.2677: Vim9: cannot use only some of the default arguments
...
Problem: Vim9: cannot use only some of the default arguments.
Solution: Use v:none to use default argument value. Remove
uf_def_arg_idx[], use JUMP_IF_ARG_SET. (closes #6504 )
2021-03-29 22:14:55 +02:00
Bram Moolenaar
9ea7e55ab9
patch 8.2.2676: missing error message
...
Problem: Missing error message.
Solution: Add new error message.
2021-03-29 21:06:04 +02:00
Bram Moolenaar
8b9abfd86c
patch 8.2.2675: directory change in a terminal window shell is not followed
...
Problem: Directory change in a terminal window shell is not followed.
Solution: Add the 'autoshelldir' option. (closes #6290 )
2021-03-29 20:49:05 +02:00
Bram Moolenaar
9dbe701fe1
patch 8.2.2674: Motif: cancelling the font dialog resets the font
...
Problem: Motif: cancelling the font dialog resets the font.
Solution: When no font is selected to not change the font. (closes #7825 ,
closes #8035 ) Fix compiler warnings.
2021-03-29 20:10:26 +02:00
Bram Moolenaar
3215466af9
patch 8.2.2673: Vim9: script-local funcref can have lower case name
...
Problem: Vim9: script-local funcref can have lower case name.
Solution: Require an upper case name.
2021-03-28 21:14:06 +02:00
Bram Moolenaar
b2cb6c8bbd
patch 8.2.2672: Vim9: cannot use :lockvar and :unlockvar in compiled script
...
Problem: Vim9: cannot use :lockvar and :unlockvar in compiled script.
Solution: Implement locking support.
2021-03-28 20:38:34 +02:00
Bram Moolenaar
f6bdd82c7e
patch 8.2.2671: error for line number in legacy script
...
Problem: Error for line number in legacy script.
Solution: Check for number type.
2021-03-28 16:26:41 +02:00
Bram Moolenaar
b2ac7d0663
patch 8.2.2670: Vim9: error for append(0, text)
...
Problem: Vim9: error for append(0, text).
Solution: Check for negative number. (closes #8022 )
2021-03-28 15:46:16 +02:00
Bram Moolenaar
df749a2b9c
patch 8.2.2669: command line completion does not work after "vim9"
...
Problem: Command line completion does not work after "vim9".
Solution: Include the "9". (Naohiro Ono, closes #8025 )
2021-03-28 15:29:43 +02:00
Bram Moolenaar
f49a1fcdb9
patch 8.2.2668: Vim9: omitting "call" for "confirm()" does not give an error
...
Problem: Vim9: omitting "call" for "confirm()" does not give an error.
Solution: Do not recognize a modifier followed by "(".
2021-03-27 22:20:21 +01:00
Bram Moolenaar
24f21fdfca
patch 8.2.2667: prop_find() cannot find item matching both id and type
...
Problem: prop_find() cannot find item matching both id and type.
Solution: Add the "both" argument. (Naohiro Ono, closes #8019 )
2021-03-27 22:07:29 +01:00
Bram Moolenaar
c580943965
patch 8.2.2666: Vim9: not enough function arguments checked for string
...
Problem: Vim9: not enough function arguments checked for string.
Solution: Check in ch_logfile(), char2nr() and others.
2021-03-27 21:23:30 +01:00
Bram Moolenaar
7b45d46cf7
patch 8.2.2665: test failures
...
Problem: Test failures.
Solution: Check more specific feature. Add missing change.
2021-03-27 19:09:02 +01:00
Bram Moolenaar
32105ae88f
patch 8.2.2664: Vim9: not enough function arguments checked for string
...
Problem: Vim9: not enough function arguments checked for string.
Solution: Check in balloon functions. Refactor function arguments.
2021-03-27 18:59:25 +01:00
Bram Moolenaar
79efa2e3b3
patch 8.2.2663: Vim9: leaking memory when inline function has an error
...
Problem: Vim9: leaking memory when inline function has an error.
Solution: Free the partially allocated function.
2021-03-27 15:40:11 +01:00
Bram Moolenaar
7007e31bde
patch 8.2.2662: there is no way to avoid some escape sequences
...
Problem: There is no way to avoid some escape sequences.
Solution: Suppress escape sequences when the --not-a-term argument is used.
(Gary Johnson)
2021-03-27 12:11:33 +01:00
Bram Moolenaar
bb5d87c850
patch 8.2.2661: leaking memory when looping over a string
...
Problem: Leaking memory when looping over a string.
Solution: Free the memory.
2021-03-26 22:15:26 +01:00
Bram Moolenaar
ccc25aa285
patch 8.2.2660: Vim9: no error for declaration with trailing text
...
Problem: Vim9: no error for declaration with trailing text.
Solution: Give an error. (closes #8014 )
2021-03-26 21:27:52 +01: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
74e54fcb44
patch 8.2.2658: :for cannot loop over a string
...
Problem: :for cannot loop over a string.
Solution: Accept a string argument and iterate over its characters.
2021-03-26 20:41:29 +01:00
Bram Moolenaar
522eefd9a2
patch 8.2.2657: Vim9: error message for declaring variable in for loop
...
Problem: Vim9: error message for declaring variable in for loop.
Solution: Clear variables when entering block again. (closes #8012 )
2021-03-26 18:49:22 +01:00
Bram Moolenaar
a2b3e7dc92
patch 8.2.2656: some command line arguments and regexp errors not tested
...
Problem: Some command line arguments and regexp errors not tested.
Solution: Add a few test cases. (Dominique Pellé, closes #8013 )
2021-03-26 17:24:34 +01:00
Bram Moolenaar
0a1a6a1aa4
patch 8.2.2655: The -w command line argument doesn't work
...
Problem: The -w command line argument doesn't work.
Solution: Don't set 'window' when set with the -w argument. (closes #8011 )
2021-03-26 14:14:18 +01:00
Bram Moolenaar
ff87140046
patch 8.2.2654: Vim9: getting a character from a string can be slow
...
Problem: Vim9: getting a character from a string can be slow.
Solution: Avoid a function call to get the character byte size. (#8000 )
2021-03-26 13:34:05 +01:00
Bram Moolenaar
3a0f092ac0
patch 8.2.2653: build failure
...
Problem: Build failure.
Solution: Add missing changes.
2021-03-25 22:22:30 +01:00
Bram Moolenaar
fa984418e7
patch 8.2.2652: Vim9: can use command modifier without an effect
...
Problem: Vim9: can use command modifier without an effect.
Solution: Give an error for a misplaced command modifier. Fix error message
number.
2021-03-25 22:15:28 +01:00
Bram Moolenaar
a91a71322d
patch 8.2.2651: Vim9: restoring command modifiers happens after jump
...
Problem: Vim9: restoring command modifiers happens after jump.
Solution: Move the restore instruction to before the jump. (closes #8006 )
Also handle for and while.
2021-03-25 21:12:15 +01:00
Bram Moolenaar
2fecb53115
patch 8.2.2650: Vim9: command modifiers not handled in nested function
...
Problem: Vim9: command modifiers not handled in nested function.
Solution: Keep function-local info in a structure and save it on the stack.
2021-03-24 22:00:56 +01:00
Bram Moolenaar
1ff89deeaa
patch 8.2.2649: Vim9: some wincmd arguments cause a white space error
...
Problem: Vim9: some wincmd arguments cause a white space error.
Solution: Insert a space before the count. (closes #8001 )
2021-03-24 20:08:12 +01:00
Bram Moolenaar
c54f347d63
patch 8.2.2648: terminal resize test sometimes hangs
...
Problem: Terminal resize test sometimes hangs.
Solution: Wait for the shell to display a prompt and other output.
2021-03-23 19:22:12 +01:00
Bram Moolenaar
f4a2ed0714
patch 8.2.2647: terminal test sometimes hangs
...
Problem: Terminal test sometimes hangs.
Solution: Wait for the shell to display a prompt.
2021-03-23 16:25:09 +01:00
Bram Moolenaar
f28f2ac425
patch 8.2.2646: Vim9: error for not using string doesn't mentionargument
...
Problem: Vim9: error for not using string doesn't mention argument.
Solution: Add argument number.
2021-03-22 22:21:26 +01:00
Bram Moolenaar
49f1e9ec3e
patch 8.2.2645: using inline function is not properly tested
...
Problem: Using inline function is not properly tested.
Solution: Add test cases, esp. for errors. Minor code improvements.
2021-03-22 20:49:02 +01:00
Bram Moolenaar
da1dbed0df
patch 8.2.2644: prop_clear() causes a screen update even when nothing changed
...
Problem: prop_clear() causes a screen update even when nothing changed.
Solution: Only redraw when a property was cleared. (Dominique Pellé)
2021-03-22 19:43:34 +01:00
Bram Moolenaar
1f448d906b
patch 8.2.2643: various code not covered by tests
...
Problem: Various code not covered by tests.
Solution: Add a few more test. (Yegappan Lakshmanan, closes #7995 )
2021-03-22 19:37:06 +01:00
Bram Moolenaar
e98f60a591
patch 8.2.2642: Vim9: no clear error for wrong inline function
...
Problem: Vim9: no clear error for wrong inline function.
Solution: Check for something following the "{".
2021-03-22 18:22:30 +01:00
Bram Moolenaar
2cec027af4
patch 8.2.2641: display test fails because of lacking redraw
...
Problem: Display test fails because of lacking redraw.
Solution: Add a redraw command.
2021-03-22 17:30:47 +01:00
Bram Moolenaar
f1387285e2
patch 8.2.2640: screenstring() returns non-existing composing characters
...
Problem: screenstring() returns non-existing composing characters.
Solution: Only use composing characters if there is a base character.
2021-03-22 17:11:15 +01:00
Bram Moolenaar
5ea79a2599
patch 8.2.2639: build failure when fsync() is not available
...
Problem: Build failure when fsync() is not available.
Solution: Add #ifdef.
2021-03-22 16:45:35 +01:00
Bram Moolenaar
4c86830fc5
patch 8.2.2638: cannot write a message to the terminal from the GUI
...
Problem: Cannot write a message to the terminal from the GUI.
Solution: Add :echoconsole and use it in the test runner. (issue #7975 )
2021-03-22 16:19:45 +01:00
Bram Moolenaar
09f8b3a022
patch 8.2.2637: prop_remove() causes a redraw even when nothing changed
...
Problem: prop_remove() causes a redraw even when nothing changed.
Solution: Only redraw if a property was removed.
2021-03-21 22:29:54 +01:00
Bram Moolenaar
67da21a147
patch 8.2.2636: memory leak when compiling inline function
...
Problem: Memory leak when compiling inline function.
Solution: Free the prefetched line.
2021-03-21 22:12:34 +01:00
Bram Moolenaar
7a6eaa06f9
patch 8.2.2635: Vim9: cannot define an inline function
...
Problem: Vim9: cannot define an inline function.
Solution: Make an inline function mostly work.
2021-03-21 20:53:29 +01:00
Bram Moolenaar
f90c855c71
patch 8.2.2634: 'tagfunc' does not indicate using a pattern
...
Problem: 'tagfunc' does not indicate using a pattern.
Solution: Add the "r" flag. (Andy Massimino, closes #7982 )
2021-03-21 14:49:57 +01:00