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
Bram Moolenaar
a5787c3742
patch 8.2.2906: ASAN reports errors for test_startup
...
Problem: ASAN reports errors for test_startup for unknown reasons.
Solution: Temporarily disable the new test.
2021-05-29 22:25:17 +02:00
Christian Brabandt
1d3a14ecf0
patch 8.2.2905: no error when defaults.vim cannot be loaded
...
Problem: No error when defaults.vim cannot be loaded.
Solution: Add an error message. (Christian Brabandt, closes #8248 )
2021-05-29 19:53:50 +02:00
Bram Moolenaar
74ede80aeb
patch 8.2.2904: "g$" causes scroll if half a double width char is visible
...
Problem: "g$" causes scroll if half a double width char is visible.
Solution: Advance to the last fully visible character. (closes #8254 )
2021-05-29 19:18:01 +02:00
Bram Moolenaar
a06e345af5
patch 8.2.2903: cursor position wrong on wrapped line with 'signcolumn'
...
Problem: Cursor position wrong on wrapped line with 'signcolumn'.
Solution: Don't add space for showbreak twice. (Christian Brabandt,
closes #8262 )
2021-05-29 17:56:37 +02:00
Dominique Pelle
5a6cfb3ff2
patch 8.2.2902: spellfile functionality not fully tested
...
Problem: Spellfile functionality not fully tested.
Solution: Add tests for CIRCUMFIX, NOBREAK and others. (Dominique Pellé,
closes #8283 )
2021-05-29 17:29:33 +02:00
Bram Moolenaar
3e72dcad8b
patch 8.2.2901: some operators not fully tested
...
Problem: Some operators not fully tested.
Solution: Add a few test cases. (Yegappan Lakshmanan, closes #8282 )
2021-05-29 16:30:12 +02:00
Bram Moolenaar
1174b018a6
patch 8.2.2900: QuitPre is triggered before :wq writes the file
...
Problem: QuitPre is triggered before :wq writes the file, which is
different from other commands.
Solution: Trigger QuitPre after writing the file. (closes #8279 )
2021-05-29 14:30:43 +02:00
K.Takata
f89be8de14
patch 8.2.2899: Appveyor script does not detect nmake failure
...
Problem: Appveyor script does not detect nmake failure.
Solution: Explicitly check for executable. (Ken Takata, closes #8281 )
2021-05-29 12:42:47 +02:00
Bram Moolenaar
3552e74289
patch 8.2.2898: QuitPre and ExitPre not triggered when GUI window is closed
...
Problem: QuitPre and ExitPre not triggered when GUI window is closed.
Solution: Call before_quit_autocmds(). (closes #8242 )
2021-05-29 12:21:58 +02:00
Bram Moolenaar
d0edaf9dc2
patch 8.2.2897: Vim9: can use reserved words at the script level
...
Problem: Vim9: can use reserved words at the script level.
Solution: Check variable names for reserved words. (closes #8253 )
2021-05-28 21:06:08 +02:00
Dominique Pelle
dc3275a1ac
patch 8.2.2896: spellfile functionality not fully tested
...
Problem: Spellfile functionality not fully tested.
Solution: Add tests for CHECKCOMPOUNDPATTERN and COMMON. (Dominique Pellé,
closes #8270 )
2021-05-28 18:32:12 +02:00
mityu
4ac198c61c
patch 8.2.2895: Vim9: random characters appear in some error messages
...
Problem: Vim9: random characters appear in some error messages.
Solution: Pass the correct pointer. (closes #8277 )
2021-05-28 17:52:40 +02:00
K.Takata
2c4a1d0a61
patch 8.2.2894: MS-Windows: using enc_locale() for strftime() might not work
...
Problem: MS-Windows: using enc_locale() for strftime() might not work.
Solution: Use wcsftime(). (Ken Takata, closes #8271 )
2021-05-28 15:49:34 +02:00
Ralf Schandl
bc869874fe
patch 8.2.2893: multi-byte text in popup title shows up wrong
...
Problem: Multi-byte text in popup title shows up wrong.
Solution: Use the character width instead of the byte length. (Ralf Schandl,
closes #8267 , closes #8264 )
2021-05-28 14:12:14 +02:00