Bram Moolenaar
f05d2fc539
patch 8.2.2956: Vim9: need to plan for future additions
...
Problem: Vim9: need to plan for future additions.
Solution: Reserve commands for future use: :type, :class, :enum.
2021-06-06 22:02:16 +02:00
Bram Moolenaar
e729ce294f
patch 8.2.2955: Vim9: using filter in compiled command does not work
...
Problem: Vim9: using filter in compiled command does not work.
Solution: Generate EXEC including the command modifier.
2021-06-06 21:38:09 +02:00
Brennon M
6db7b6375a
patch 8.2.2954: short file name extension for Scala not recognized
...
Problem: Short file name extension for Scala not recognized.
Solution: Recognize *.sc. (closes #8337 )
2021-06-06 20:15:53 +02:00
Bram Moolenaar
518df27ebe
patch 8.2.2953: Vim9: leaking memory when using heredoc script
...
Problem: Vim9: leaking memory when using heredoc script.
Solution: Free the first line.
2021-06-06 17:34:13 +02:00
Yegappan Lakshmanan
99285550a9
patch 8.2.2952: recover test fails on big endian systems
...
Problem: Recover test fails on big endian systems.
Solution: Disable the failing test on big endian systems. (Yegappan
Lakshmanan, closes #8335 )
2021-06-06 17:12:46 +02:00
Bram Moolenaar
2067733b5c
patch 8.2.2951: Vim9: cannot use heredoc for :python, :lua, etc.
...
Problem: Vim9: cannot use heredoc in :def function for :python, :lua, etc.
Solution: Concatenate the heredoc lines and pass them in the ISN_EXEC_SPLIT
instruction.
2021-06-06 17:02:53 +02:00
Dominique Pelle
c64ed2b714
patch 8.2.2950: sound code not fully tested
...
Problem: Sound code not fully tested.
Solution: Add more sound tests. (Dominique Pellé, closes #8332 )
2021-06-06 15:07:09 +02:00
Bram Moolenaar
3cfa5b16b0
patch 8.2.2949: tests failing because no error for float to string conversion
...
Problem: Tests failing because there is no error for float to string
conversion.
Solution: Change the check for failure to check for correct result. Make
some conversions strict in Vim9 script.
2021-06-06 14:14:39 +02:00
Bram Moolenaar
7a2217bedd
patch 8.2.2948: substitute() accepts a number but not a float expression
...
Problem: Substitute() accepts a number but not a float expression.
Solution: Also accept a float. (closes #8331 )
2021-06-06 12:33:49 +02:00
Bram Moolenaar
f5bfa8faa7
patch 8.2.2947: build failure without the channel feature
...
Problem: Build failure without the channel feature.
Solution: Add back #ifdef. (John Marriott)
2021-06-06 12:07:54 +02:00
Bram Moolenaar
2752360646
patch 8.2.2946: Vim9: substitute expression cannot be a List
...
Problem: Vim9: substitute expression cannot be a List in a :def function.
Solution: Use typval2string(). (closes #8330 )
2021-06-05 21:36:19 +02:00
Yegappan Lakshmanan
59b262362f
patch 8.2.2945: some buffer related code is not tested
...
Problem: Some buffer related code is not tested.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8320 )
2021-06-05 20:59:22 +02:00
Bram Moolenaar
1328bde9d4
patch 8.2.2944: Vim9: no error when using job or channel as a string
...
Problem: Vim9: no error when using job or channel as a string.
Solution: Be more strict about conversion to string. (closes #8312 )
2021-06-05 20:51:38 +02:00
Bram Moolenaar
c6d71532dd
patch 8.2.2943: Vim9: check for argument count ignores default values
...
Problem: Vim9: check for argument count ignores default values.
Solution: Take default argument values into account.
2021-06-05 18:49:38 +02:00
Bram Moolenaar
8da6d6db34
patch 8.2.2942: Vim9: error when calling function with too few arguments
...
Problem: Vim9: internal error when calling function with too few arguments
Solution: Check for argument count to be too few. (closes #8325 )
2021-06-05 18:15:09 +02:00
Bram Moolenaar
b288ba9f1d
patch 8.2.2941: Vim9: using does not handle a list of strings
...
Problem: Vim9: using does not handle a list of strings.
Solution: Convert a list to a string and escape each item. (closes #8310 )
2021-06-05 17:10:55 +02:00
K.Takata
4f2417ffee
patch 8.2.2940: MS-Windows: cannot see the size when resizing
...
Problem: MS-Windows: cannot see the size of the text area when resizing the
gvim window.
Solution: Show a tooltip with the text size. (Ken Takata, closes #8326 )
2021-06-05 16:25:32 +02:00
Bram Moolenaar
84e9ade826
patch 8.2.2939: GTK: righthand scrollbar does not show with split window
...
Problem: GTK: righthand scrollbar does not show with split window.
Solution: Adjust padding when two scrollbars are used. (Matt Wozniski,
closes #8324 )
2021-06-05 16:07:37 +02:00
Bram Moolenaar
21492743e8
patch 8.2.2938: after using motion force from feedkeys() it sticks
...
Problem: After using motion force from feedkeys() it may not be reset.
Solution: Clear motion_force in clearop(). (closes #8323 )
2021-06-04 21:57:57 +02:00
Dominique Pelle
56cddb3879
patch 8.2.2937: popup test fails if rightleft feature not enabled
...
Problem: Popup test fails if rightleft feature not enabled.
Solution: Check that the rightleft feature is available. (Dominique Pellé,
closes #8321 )
2021-06-04 21:09:55 +02:00
Bram Moolenaar
5fa9b24440
patch 8.2.2936: Vim9: converting number to bool uses wrong stack offset
...
Problem: Vim9: converting number to bool uses wrong stack offset. (Salman
Halim)
Solution: Include the offset in the 2BOOL command.
2021-06-04 21:00:32 +02:00
Bram Moolenaar
6c4c404c58
patch 8.2.2935: calculating register width is not always needed
...
Problem: Calculating register width is not always needed. (Christian
Brabandt)
Solution: Only calculate the width when the type is MBLOCK.
2021-06-04 19:17:07 +02:00
Bram Moolenaar
24951a67c2
patch 8.2.2934: ASAN error when using text from the clipboard
...
Problem: ASAN error when using text from the clipboard.
Solution: Get width of each character.
2021-06-04 18:33:49 +02:00
Bram Moolenaar
6e0b553fa1
patch 8.2.2933: when 'clipboard' is "unnamed" zp does not work correctly
...
Problem: When 'clipboard' is "unnamed" zp and zP do not work correctly.
Solution: Pass -1 to str_to_reg() and fix computing the character width
instead of using the byte length. (Christian Brabandt,
closes #8301 , closes #8317 )
2021-06-04 17:11:47 +02:00
Bram Moolenaar
4f3c57f798
patch 8.2.2932: select mode test fails
...
Problem: Select mode test fails.
Solution: Do not always reset the held mouse button.
2021-06-03 22:11:08 +02:00
Bram Moolenaar
5072b47a22
patch 8.2.2931: Vim9: line continuation comment uses legacy syntax
...
Problem: Vim9: line continuation comment still uses legacy syntax in one
place.
Solution: Check for #\ instead of "\ earlier. (closes #8316 )
2021-06-03 21:56:10 +02:00
Bram Moolenaar
85eee5b969
patch 8.2.2930: when a popup is visible a mouse move my restart Visual mode
...
Problem: When a popup is visible a mouse move my restart Visual mode.
Solution: Reset held_button when ending Visual mode. (closes #8318 )
2021-06-03 20:34:57 +02:00
Bram Moolenaar
0a808598e4
patch 8.2.2929: accidentally enable tcl by default
...
Problem: Accidentally enable tcl by default.
Solution: Revert change to Makefile
2021-06-02 19:22:45 +02:00
Yegappan Lakshmanan
01c798c31a
patch 8.2.2928: the evalfunc.c file is too big
...
Problem: The evalfunc.c file is too big.
Solution: Move float related functionality to a separate file. (Yegappan
Lakshmanan, closes #8287 )
2021-06-02 17:07:18 +02:00
Bram Moolenaar
a83d06026d
patch 8.2.2927: test commented out because it fails with ASAN
...
Problem: Test commented out because it fails with ASAN.
Solution: Only skip the test when running with ASAN.
2021-06-02 16:49:32 +02:00
Bram Moolenaar
c3cb1c92a3
patch 8.2.2926: Vim9: no good error for using :legacy in a :def function
...
Problem: Vim9: no good error for using :legacy in a :def function.
Solution: Give an explicit error where :legacy is not working.
(closes #8309 )
2021-06-02 16:47:53 +02:00
Bram Moolenaar
0f37e3561d
patch 8.2.2925: Vim9: line continuation comment uses legacy syntax
...
Problem: Vim9: line continuation comment uses legacy syntax.
Solution: Check for #\ instead of "\. (closes #8295 )
2021-06-02 15:28:15 +02:00
K.Takata
a2e468fcac
patch 8.2.2924: superfluous extern declaration
...
Problem: Superfluous extern declaration.
Solution: Delete the declaration. (Ken Takata, closes #8307 )
2021-06-02 15:08:50 +02:00
K.Takata
eecf2b35a1
patch 8.2.2923: EBCDIC build is broken
...
Problem: EBCDIC build is broken.
Solution: Move sortFunctions() to evalfunc.c. (Ken Takata, closes #8306 )
2021-06-02 14:56:39 +02:00
K.Takata
eeec254878
patch 8.2.2922: computing array length is done in various ways
...
Problem: Computing array length is done in various ways.
Solution: Use ARRAY_LENGTH everywhere. (Ken Takata, closes #8305 )
2021-06-02 13:28:16 +02:00
Bram Moolenaar
b54abeeafb
patch 8.2.2921: E704 for script local variable is not backwards compatible
...
Problem: E704 for script local variable is not backwards compatible.
(Yasuhiro Matsumoto)
Solution: Only give the error in Vim9 script. Also check for function-local
variable.
2021-06-02 11:49:23 +02:00
Bram Moolenaar
6f1d2aa437
patch 8.2.2920: still a way to shadow a builtin function
...
Problem: Still a way to shadow a builtin function. (Yasuhiro Matsumoto)
Solution: Check the key when using extend(). (issue #8302 )
2021-06-01 21:21:55 +02:00
Bram Moolenaar
6a43b37b76
patch 8.2.2919: using ":!command" does not work if it uses posix_spawn()
...
Problem: Using ":!command" does not work if the command uses posix_spawn().
Solution: Do not call ioctl() with TIOCSCTTY. (Felipe Contreras)
2021-06-01 20:48:40 +02:00
Bram Moolenaar
3d9c4eefe6
patch 8.2.2918: builtin function can be shadowed by global variable
...
Problem: Builtin function can be shadowed by global variable.
Solution: Check for builtin function before variable. (Yasuhiro Matsumoto,
closes #8302 )
2021-05-31 22:15:26 +02:00
Dominique Pelle
bb162367ac
patch 8.2.2917: spellfile functionality not fully tested
...
Problem: Spellfile functionality not fully tested.
Solution: Add tests for SFX with removal of characters, spelling
suggestions with NOBREAK and others. (Dominique Pellé,
closes #8293 )
2021-05-31 20:04:07 +02:00
Yegappan Lakshmanan
2ac7184d34
patch 8.2.2916: operators are not fully tested
...
Problem: Operators are not fully tested.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8290 )
2021-05-31 19:23:01 +02:00
K.Takata
ef8706fb84
patch 8.2.2915: MS-Windows: when using "default" for encoding utf-8 is used
...
Problem: MS-Windows: when using "default" for encoding utf-8 is used.
Solution: Use the system encoding. (Ken Takata, closes #8300 )
2021-05-31 18:40:49 +02:00
Christian Brabandt
2fa9384ca1
patch 8.2.2914: cannot paste a block without adding padding
...
Problem: Cannot paste a block without adding padding.
Solution: Add "zp" and "zP" which paste without adding padding. (Christian
Brabandt, closes #8289 )
2021-05-30 22:17:25 +02:00
Wez Furlong
6ef5ab5904
patch 8.2.2913: MS-Windows conpty supports using mouse events
...
Problem: MS-Windows conpty supports using mouse events.
Solution: When enabling the mouse enable mouse input and disable quick edit
mode. (Wez Furlong, closes #8280 )
2021-05-30 19:29:41 +02:00
K.Takata
f883d9027c
patch 8.2.2912: MS-Windows: most users expect using Unicode
...
Problem: MS-Windows: most users expect using Unicode.
Solution: Default 'encoding' to utf-8 on MS-Windows. (Ken Takata,
closes #3907 )
2021-05-30 18:04:19 +02:00
Bram Moolenaar
e71c0ebe2c
patch 8.2.2911: pattern "\%V" does not match all of block selection
...
Problem: Pattern "\%V" does not match all of block selection. (Rick Howe)
Solution: Use the value of vi_curswant. (closes #8285 )
2021-05-30 16:43:11 +02:00
Bram Moolenaar
0b49648486
patch 8.2.2910: test for cmdline window and terminal fails on MS-Windows
...
Problem: Test for cmdline window and terminal fails on MS-Windows.
Solution: Skip the test on MS-Windows.
2021-05-30 14:21:57 +02:00
Bram Moolenaar
e0a7658bc8
patch 8.2.2909: build error with non-Unix system
...
Problem: Build error with non-Unix system.
Solution: Always include limits.h.
2021-05-30 14:02:05 +02:00
Bram Moolenaar
e5b4486c42
patch 8.2.2908: crash when using a terminal popup window from cmdline window
...
Problem: Crash when using a terminal popup window from the cmdline window.
Solution: Instead of checking cmdwin_type call cmdwin_is_active().
(closes #8286 )
2021-05-30 13:54:03 +02:00
Dominique Pelle
28cf44f761
patch 8.2.2907: memory leak when running out of memory
...
Problem: Memory leak when running out of memory.
Solution: Free the allocated memory. (Dominique Pellé, closes #8284 )
2021-05-29 22:34:19 +02:00