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.
v8.2.2678
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 )
v8.2.2677
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.
v8.2.2676
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 )
v8.2.2675
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.
v8.2.2674
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.
v8.2.2673
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.
v8.2.2672
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.
v8.2.2671
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 )
v8.2.2670
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 )
v8.2.2669
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 "(".
v8.2.2668
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 )
v8.2.2667
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.
v8.2.2666
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.
v8.2.2665
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.
v8.2.2664
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.
v8.2.2663
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)
v8.2.2662
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.
v8.2.2661
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 )
v8.2.2660
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.
v8.2.2659
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.
v8.2.2658
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 )
v8.2.2657
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 )
v8.2.2656
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 )
v8.2.2655
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 )
v8.2.2654
2021-03-26 13:34:05 +01:00
Bram Moolenaar
3a0f092ac0
patch 8.2.2653: build failure
...
Problem: Build failure.
Solution: Add missing changes.
v8.2.2653
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.
v8.2.2652
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.
v8.2.2651
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.
v8.2.2650
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 )
v8.2.2649
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.
v8.2.2648
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.
v8.2.2647
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.
v8.2.2646
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.
v8.2.2645
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é)
v8.2.2644
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 )
v8.2.2643
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 "{".
v8.2.2642
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.
v8.2.2641
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.
v8.2.2640
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.
v8.2.2639
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 )
v8.2.2638
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.
v8.2.2637
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.
v8.2.2636
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.
v8.2.2635
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 )
v8.2.2634
2021-03-21 14:49:57 +01:00
Bram Moolenaar
196a1f7409
patch 8.2.2633: multi-byte 'fillchars' for folding do not show properly
...
Problem: Multi-byte 'fillchars' for folding do not show properly.
Solution: Handle multi-byte characters correctly. (Yegappan Lakshmanan,
closes #7983 , closes #7955 )
v8.2.2633
2021-03-21 14:39:19 +01:00
Bram Moolenaar
c5cf369e95
patch 8.2.2632: not all command line arguments are tested
...
Problem: Not all command line arguments are tested.
Solution: Add tests for -D and -serverlist. (Dominique Pellé, closes #7992 )
v8.2.2632
2021-03-20 22:16:56 +01:00
Bram Moolenaar
a0c8aea479
patch 8.2.2631: commands from winrestcmd() do not always work properly
...
Problem: Commands from winrestcmd() do not always work properly. (Leonid V.
Fedorenchik)
Solution: Repeat the size commands twice. (closes #7988 )
v8.2.2631
2021-03-20 19:55:35 +01:00
Bram Moolenaar
592f57f5fe
patch 8.2.2630: hard to see where a test gets stuck
...
Problem: Hard to see where a test gets stuck.
Solution: Print the executed test function. (Dominique Pellé, closes #7975 )
v8.2.2630
2021-03-20 16:44:25 +01:00
Bram Moolenaar
a0399efa72
patch 8.2.2629: Vim9: error for #{{ is not desired
...
Problem: Vim9: error for #{{ is not desired.
Solution: Adjust the checks. (closes #7990 )
v8.2.2629
2021-03-20 15:00:01 +01:00