Bram Moolenaar
e97976baa7
patch 8.2.3266: Vim9: assignment with two indexes may check next line
...
Problem: Vim9: assignment with two indexes may check next line.
Solution: Limit the number of lines to avoid checking the next line when
assiging to a LHS subscript. (closes #8660 )
v8.2.3266
2021-08-01 13:17:17 +02:00
Christian Brabandt
78ba933d18
patch 8.2.3265: smartcase does not work correctly in very magic pattern
...
Problem: Smartcase does not work correctly in very magic pattern.
Solution: Take the magicness into account when skipping over regexp items.
(Christian Brabandt, closes #8682 , closes #7845 )
v8.2.3265
2021-08-01 12:44:37 +02:00
Bram Moolenaar
f24f51d030
patch 8.2.3264: Vim9: assign test fails
...
Problem: Vim9: assign test fails.
Solution: Add missing change.
v8.2.3264
2021-08-01 12:01:49 +02:00
Bram Moolenaar
f5d52c90e0
patch 8.2.3263: Vim9: "..=" does not accept same types as the ".." operator
...
Problem: Vim9: "..=" does not accept same types as the ".." operator.
Solution: Convert value to string like ".." does. (issue #8664 )
v8.2.3263
2021-07-31 22:51:10 +02:00
Bram Moolenaar
9e0ee59019
patch 8.2.3262: build failure when ABORT_ON_INTERNAL_ERROR is defined
...
Problem: Build failure when ABORT_ON_INTERNAL_ERROR is defined.
Solution: Adjust how estack_len_before is used.
v8.2.3262
2021-07-31 22:17:28 +02:00
Bram Moolenaar
1780f08ba4
patch 8.2.3261: Vim9: when compiling repeat(123, N) return type is number
...
Problem: Vim9: when compiling repeat(123, N) return type is number.
Solution: Make return type a string. (closes #8664 )
v8.2.3261
2021-07-31 22:03:59 +02:00
Bram Moolenaar
335c8c7b20
patch 8.2.3260: build failure with small features
...
Problem: Build failure with small features.
Solution: Add #ifdef.
v8.2.3260
2021-07-31 21:44:35 +02:00
Bram Moolenaar
620c959c6c
patch 8.2.3259: when 'indentexpr' causes an error did_throw may hang
...
Problem: When 'indentexpr' causes an error the did_throw flag may remain
set.
Solution: Reset did_throw and show the error. (closes #8677 )
v8.2.3259
2021-07-31 21:32:31 +02:00
Bram Moolenaar
78db17c6f3
patch 8.2.3258: error messages have the wrong text
...
Problem: Error messages have the wrong text.
Solution: Adjust the error message.
v8.2.3258
2021-07-31 19:12:58 +02:00
Bram Moolenaar
8e3fc135e8
patch 8.2.3257: calling prop_find() with -1 for ID gives errornous error
...
Problem: Calling prop_find() with -1 for ID gives errornous error. (Naohiro
Ono)
Solution: When passing -1 use -2. (closes #8674 )
v8.2.3257
2021-07-31 18:33:57 +02:00
Bram Moolenaar
bf634a0a8b
patch 8.2.3256: executable test may fail on new Ubuntu system
...
Problem: Executable test may fail on new Ubuntu system.
Solution: Consider /usr/bin/cat and /bin/cat the same.
v8.2.3256
2021-07-31 17:20:04 +02:00
Connor Lane Smith
b9115da4be
patch 8.2.3255: ci" finds following string but ci< and others don't
...
Problem: ci" finds following string but ci< and others don't.
Solution: When not inside an object find the start. (Connor Lane Smit,
closes #8670 )
v8.2.3255
2021-07-31 13:31:42 +02:00
Yegappan Lakshmanan
28d8421bfb
patch 8.2.3254: win_gettype() does not recognize a quickfix window
...
Problem: win_gettype() does not recognize a quickfix window.
Solution: Add "quickfix" and "loclist". (Yegappan Lakshmanan, closes #8676 )
v8.2.3254
2021-07-31 12:43:23 +02:00
Bram Moolenaar
890ee4e2be
patch 8.2.3253: channel test fails randomly
...
Problem: Channel test fails randomly.
Solution: Add a sleep after sending the "echoerr" command. (Michael Soyka)
v8.2.3253
2021-07-30 21:56:10 +02:00
Yegappan Lakshmanan
4a15504e91
patch 8.2.3252: duplicated code for adding buffer lines
...
Problem: Duplicated code for adding buffer lines.
Solution: Move code to a common function. Also move map functions to map.c.
(Yegappan Lakshmanan, closes #8665 )
v8.2.3252
2021-07-30 21:32:45 +02:00
Bram Moolenaar
0f5575d0a7
patch 8.2.3251: listing builtin_gui as an available terminal is confusing
...
Problem: Listing builtin_gui as an available terminal is confusing.
Solution: Do not list builtin_gui. (Christian Brabandt, closes #8669 ,
closes #8661 )
v8.2.3251
2021-07-30 21:18:03 +02:00
Christian Brabandt
1790be6cb6
patch 8.2.3250: MS-Windows: cannot build with libsodium
...
Problem: MS-Windows: cannot build with libsodium.
Solution: Change FEAT_SODIUM into HAVE_SODIUM. (Christian Brabandt,
closes #8668 , closes #8663 )
v8.2.3250
2021-07-30 20:51:59 +02:00
Bram Moolenaar
60dc8274e9
patch 8.2.3249: Vim9: error for re-imported function with default argument
...
Problem: Vim9: error for re-imported function with default argument.
Solution: Do not check argument type if it is still unknown. (closes #8653 )
v8.2.3249
2021-07-29 22:48:54 +02:00
Bram Moolenaar
921ba52926
patch 8.2.3248: Vim9: error message for wrong input uses wrong line number
...
Problem: Vim9: error message for wrong input uses wrong line number.
Solution: Use the line number of the start of the command. (issue #8653 )
v8.2.3248
2021-07-29 22:25:05 +02:00
Bram Moolenaar
77ab4e28a2
patch 8.2.3247: using uninitialized memory when checking for crypt method
...
Problem: Using uninitialized memory when checking for crypt method.
Solution: Check the header length before using the salt and seed.
v8.2.3247
2021-07-29 21:23:50 +02:00
Bram Moolenaar
77111e2bfc
patch 8.2.3246: memory use after free
...
Problem: Memory use after free.
Solution: When clearing a string option set the pointer to "empty_option".
v8.2.3246
2021-07-29 21:11:30 +02:00
Bram Moolenaar
131530a54d
patch 8.2.3245: the crypt key may appear in a swap partition
...
Problem: The crypt key may appear in a swap partition.
Solution: When using xchaha20 use sodium_mlock(). (Christian Brabandt,
closes #8657 )
v8.2.3245
2021-07-29 20:37:49 +02:00
Yegappan Lakshmanan
41114a2a27
patch 8.2.3244: Lua 5.3 print() with a long string crashes
...
Problem: Lua 5.3 print() with a long string crashes.
Solution: Use a growarray instead of a Lua buffer. (Yegappan Lakshmanan,
closes #8655 )
v8.2.3244
2021-07-29 20:22:14 +02:00
msoyka-of-wharton
83cd0156e0
patch 8.2.3243: MS-Windows: "edit with multiple Vim" choice is less useful
...
Problem: MS-Windows: the "edit with multiple Vim" choice is not that
useful.
Solution: Change it to "Edit with multiple tabs". (Michael Soyka,
closes #8645 )
v8.2.3243
2021-07-29 19:18:33 +02:00
Bram Moolenaar
0732932553
patch 8.2.3242: Vim9: valgrind reports leaks in builtin function test
...
Problem: Vim9: valgrind reports leaks in builtin function test.
Solution: Do not start a job.
v8.2.3242
2021-07-28 22:44:08 +02:00
Bram Moolenaar
6e850a6900
patch 8.2.3241: Vim9: memory leak when function reports an error
...
Problem: Vim9: memory leak when function reports an error.
Solution: Clear the return value.
v8.2.3241
2021-07-28 22:21:23 +02:00
Bram Moolenaar
2a4bd00cef
patch 8.2.3240: Lua print() does not work properly
...
Problem: Lua print() does not work properly.
Solution: Put back lua_pop().
v8.2.3240
2021-07-28 21:48:59 +02:00
Bram Moolenaar
81530e3603
patch 8.2.3239: Vim9: no error using heredoc for a number variable
...
Problem: Vim9: no error using heredoc for a number variable.
Solution: Add a type check. (closes #8627 )
v8.2.3239
2021-07-28 21:25:49 +02:00
Bram Moolenaar
d47c39775b
patch 8.2.3238: Vim9: error message does not indicate the location
...
Problem: Vim9: error message does not indicate the location.
Solution: Add the relevant text. (issue #8634 )
v8.2.3238
2021-07-28 20:52:13 +02:00
Bram Moolenaar
53f7fccc94
Update runtime files
2021-07-28 20:10:16 +02:00
Bram Moolenaar
327d3ee455
patch 8.2.3237: when a builtin function gives an error processing continues
...
Problem: When a builtin function gives an error processing continues.
Solution: In Vim9 script return FAIL in get_func_tv().
v8.2.3237
2021-07-28 19:34:14 +02:00
zeertzjq
eaf3f36168
patch 8.2.3236: mode() does not indicate using CTRL-O in Select mode
...
Problem: mode() does not indicate using CTRL-O in Select mode.
Solution: Use "vs" and similar. (closes #8640 )
v8.2.3236
2021-07-28 16:51:53 +02:00
Bram Moolenaar
6868634abd
patch 8.2.3235: cannot use lambda in {} block in user command
...
Problem: Cannot use lambda in {} block in user command. (Martin Tournoij)
Solution: Do not go over the end of the lambda.
v8.2.3235
2021-07-28 15:54:54 +02:00
Bram Moolenaar
78e006b9b0
patch 8.2.3234: crash when printing long string with Lua
...
Problem: Crash when printing long string with Lua.
Solution: Remove lua_pop(). (Martin Tournoij, closes #8648 )
v8.2.3234
2021-07-28 15:07:01 +02:00
Martin Tournoij
e2390c7f32
patch 8.2.3233: prop_list() and prop_find() do not indicate the buffer
...
Problem: prop_list() and prop_find() do not indicate the buffer for the
used type.
Solution: Add "type_bufnr" to the results. (closes #8647 )
v8.2.3233
2021-07-28 13:30:16 +02:00
Yegappan Lakshmanan
7e6a2a64f0
patch 8.2.3232: system() does not work without a second argument
...
Problem: system() does not work without a second argument.
Solution: Do not require a second argument. (Yegappan Lakshmanan,
closes #8651 , closes #8650 )
v8.2.3232
2021-07-28 11:51:48 +02:00
Bram Moolenaar
9088784972
patch 8.2.3231: build failure with small features
...
Problem: Build failure with small features.
Solution: Adjust #ifdef.
v8.2.3231
2021-07-27 22:35:42 +02:00
Bram Moolenaar
f723701de0
patch 8.2.3230: Vim9: type error when function return type is not known yet
...
Problem: Vim9: type error when function return type is not known yet.
Solution: When return type is unknown, use "any". (closes #8644 )
v8.2.3230
2021-07-27 22:21:44 +02:00
Yegappan Lakshmanan
4490ec4e83
patch 8.2.3229: Vim9: runtime and compile time type checks are not the same
...
Problem: Vim9: runtime and compile time type checks are not the same.
Solution: Add more runtime type checks for builtin functions. (Yegappan
Lakshmanan, closes #8646 )
v8.2.3229
2021-07-27 22:00:44 +02:00
Bram Moolenaar
5d7c2df536
patch 8.2.3228: cannot use a simple block for the :command argument
...
Problem: Cannot use a simple block for the :command argument. (Maarten
Tournoij)
Solution: Recognize a simple {} block. (issue #8623 )
v8.2.3228
2021-07-27 21:17:32 +02:00
Gary Johnson
53ba05b090
patch 8.2.3227: 'virtualedit' can only be set globally
...
Problem: 'virtualedit' can only be set globally.
Solution: Make 'virtualedit' global-local. (Gary Johnson, closes #8638 )
v8.2.3227
2021-07-26 22:19:10 +02:00
h-east
29b857150c
patch 8.2.3226: new digraph functions use old naming scheme
...
Problem: New digraph functions use old naming scheme.
Solution: Use the digraph_ prefix. (Hirohito Higashi, closes #8580 )
v8.2.3226
2021-07-26 21:54:04 +02:00
Bram Moolenaar
ccb148ac63
patch 8.2.3225: incsearch highlighting is attempted halfway a mapping
...
Problem: Incsearch highlighting is attempted halfway a mapping.
Solution: Only do incsearch highlighting if keys were typed or there is no
more typeahead.
v8.2.3225
2021-07-26 21:11:32 +02:00
Bram Moolenaar
678b207fb1
patch 8.2.3224: cannot call script-local function after :vim9cmd
...
Problem: Cannot call script-local function after :vim9cmd. (Christian J.
Robinson)
Solution: Skip over "<SNR>123".
v8.2.3224
2021-07-26 21:10:11 +02:00
Bram Moolenaar
ff34bee3a2
patch 8.2.3223: Vim: using {} block in autoloade omnifunc fails
...
Problem: Vim: using {} block in autoloade omnifunc fails.
Solution: Allow using {} block when text is locked. (closes #8631 )
v8.2.3223
2021-07-25 20:27:06 +02:00
Bram Moolenaar
3c77b6a1ce
patch 8.2.3222: Vim9: cannot used loop variable later as lambda argument
...
Problem: Vim9: cannot used loop variable later as lambda argument.
Solution: When not in function context check the current block ID.
(closes #8637 )
v8.2.3222
2021-07-25 18:07:00 +02:00
Yegappan Lakshmanan
a764e73d4f
patch 8.2.3221: Vim9: argument types are not checked at compile time
...
Problem: Vim9: argument types are not checked at compile time.
Solution: Add several more type checks. (Yegappan Lakshmanan, closes #8632 )
v8.2.3221
2021-07-25 15:57:32 +02:00
Dominique Pelle
2ec28aec9d
patch 8.2.3220: Test_term_setansicolors() fails in some configurations
...
Problem: Test_term_setansicolors() fails in some configurations.
Solution: Check available features. (Dominique Pellé, closes #8636 )
v8.2.3220
2021-07-25 15:41:44 +02:00
Christian Brabandt
7a4ca32175
patch 8.2.3219: :find searches non-existing directories
...
Problem: :find searches non-existing directories.
Solution: Check the path is not "..". Update help. (Christian Brabandt,
closes #8612 , closes #8533 )
v8.2.3219
2021-07-25 15:08:05 +02:00
Christian Brabandt
8a4c812ede
patch 8.2.3218: when using xchaha20 crypt undo file is not removed
...
Problem: When using xchaha20 crypt undo file is not removed.
Solution: Reset 'undofile' and delete the file. (Christian Brabandt,
closes #8630 , closes #8467 )
v8.2.3218
2021-07-25 14:36:05 +02:00