Bram Moolenaar
53c296112e
patch 8.2.4071: Vim9: no detection of return in try/endtry
...
Problem: Vim9: no detection of return in try/endtry. (Dominique Pellé)
Solution: Check if any of the blocks inside try/endtry did not end in
return.
v8.2.4071
2022-01-12 16:18:18 +00:00
Dominique Pelle
f5d639a8af
patch 8.2.4070: using uninitialized memory when reading empty file
...
Problem: Using uninitialized memory when reading empty file.
Solution: Check for empty file before checking for NL. (Dominique Pellé,
closes #9511 )
v8.2.4070
2022-01-12 15:24:40 +00:00
Bram Moolenaar
5d9826973d
patch 8.2.4069: Vim9: import test fails on MS-Windows
...
Problem: Vim9: import test fails on MS-Windows.
Solution: Ignore case. Adjust test to avoid name that only differs in case.
v8.2.4069
2022-01-12 15:15:27 +00:00
Bram Moolenaar
f479cac084
patch 8.2.4068: Vim9: import test fails
...
Problem: Vim9: import test fails.
Solution: Add missing change.
v8.2.4068
2022-01-12 12:54:55 +00:00
Bram Moolenaar
f111cdfae6
patch 8.2.4067: Vim9: cannot call imported function with :call
...
Problem: Vim9: cannot call imported function with :call. (Drew Vogel)
Solution: Translate the function name. (closes #9510 )
v8.2.4067
2022-01-12 12:48:17 +00:00
Bram Moolenaar
17d36cbcd3
patch 8.2.4066: Vim9: imported autoload script loaded again
...
Problem: Vim9: imported autoload script loaded again.
Solution: Do not create a new imported_T every time.
v8.2.4066
2022-01-12 11:46:40 +00:00
Bram Moolenaar
3cf21b3051
patch 8.2.4065: computation overflow with large cound for :yank
...
Problem: Computation overflow with large cound for :yank.
Solution: Avoid an overflow.
v8.2.4065
2022-01-11 19:34:16 +00:00
Elwardi
2284f6cca3
patch 8.2.4064: foam files are not detected
...
Problem: Foam files are not detected.
Solution: Detect the foam filetype by the path and file contents. (Mohammed
Elwardi Fadeli, closes #9501 )
v8.2.4064
2022-01-11 18:14:23 +00:00
Bram Moolenaar
b8822442d7
patch 8.2.4063: Vim9: exported function in autoload script not found
...
Problem: Vim9: exported function in autoload script not found. (Yegappan
Lakshmanan)
Solution: Use the autoload prefix to search for the function.
v8.2.4063
2022-01-11 15:24:05 +00:00
Bram Moolenaar
0bbca540f7
patch 8.2.4062: match highlighting of tab too short
...
Problem: Match highlighting of tab too short.
Solution: Do not stop match highlighting if on a Tab. (Christian Brabandt,
closes #9507 , closes #9500 )
v8.2.4062
2022-01-11 13:14:54 +00:00
ichizok
0d47ad4027
patch 8.2.4061: codecov bash script is deprecated
...
Problem: Codecov bash script is deprecated.
Solution: Use the codecov action. (Ozaki Kiichi, closes #9505 )
v8.2.4061
2022-01-11 13:05:26 +00:00
Bram Moolenaar
d6f27c66cc
patch 8.2.4060: win_execute() slow on systems where getcwd()/chdir() is slow
...
Problem: win_execute() is slow on systems where getcwd() or chdir() is
slow. (Rick Howe)
Solution: Avoid using getcwd() and chdir() if no local directory is used and
'acd' is not set. (closes #9504 )
v8.2.4060
2022-01-11 12:37:20 +00:00
Bram Moolenaar
19db9e6ba7
patch 8.2.4059: Vim9: an expression of a map cannot access script-local items
...
Problem: Vim9: an expression of a map cannot access script-local items.
(Maxim Kim)
Solution: Use the script ID of where the map was defined.
v8.2.4059
2022-01-11 11:58:19 +00:00
Bram Moolenaar
762838218f
patch 8.2.4058: Vim9: import test failure in wrong line
...
Problem: Vim9: import test failure in wrong line.
Solution: Adjust line number.
v8.2.4058
2022-01-10 21:39:03 +00:00
Bram Moolenaar
160aa86a9d
patch 8.2.4057: Vim9: not fully implementing the autoload mechanism
...
Problem: Vim9: not fully implementing the autoload mechanism.
Solution: Allow for exporting a legacy function. Improve test coverage.
v8.2.4057
2022-01-10 21:29:57 +00:00
Bram Moolenaar
6990b78f25
patch 8.2.4056: Vim9: memory leak when exporting function in autoload script
...
Problem: Vim9: memory leak when exporting function in autoload script.
Solution: Fee the name if replacing it.
v8.2.4056
2022-01-10 19:21:06 +00:00
Bram Moolenaar
5e6b9882fe
patch 8.2.4055: Vim9: line break in expression causes v:errmsg to be fillec
...
Problem: Vim9: line break in expression causes v:errmsg to be filled.
(Yegappan Lakshmanan)
Solution: Do not give an error when skipping over an expression.
v8.2.4055
2022-01-10 18:50:52 +00:00
Bram Moolenaar
577bd85d55
patch 8.2.4054: Vim9 script test fails
...
Problem: Vim9 script test fails.
Solution: Add missing change.
v8.2.4054
2022-01-10 18:42:52 +00:00
Bram Moolenaar
fe2ef0b2cd
patch 8.2.4053: Vim9: autoload mechanism doesn't fully work yet
...
Problem: Vim9: autoload mechanism doesn't fully work yet.
Solution: Define functions and variables with their autoload name, add the
prefix when calling a function, find the variable in the table of
script variables.
v8.2.4053
2022-01-10 18:08:00 +00:00
Daniel Steinberg
ee63031b57
patch 8.2.4052: not easy to resize a window from a plugin
...
Problem: Not easy to resize a window from a plugin.
Solution: Add win_move_separator() and win_move_statusline() functions.
(Daniel Steinberg, closes #9486 )
v8.2.4052
2022-01-10 13:36:34 +00:00
Bram Moolenaar
b06cfcf5a3
patch 8.2.4051: compiler complains about possibly uninitialized variable
...
Problem: Compiler complains about possibly uninitialized variable.
Solution: Add code to avoid a compiler warning. (John Marriott)
v8.2.4051
2022-01-10 11:26:33 +00:00
Bram Moolenaar
dc4451df61
patch 8.2.4050: Vim9: need to prefix every item in an autoload script
...
Problem: Vim9: need to prefix every item in an autoload script.
Solution: First step in supporting "vim9script autoload" and "import
autoload".
v8.2.4050
2022-01-09 21:36:37 +00:00
Bram Moolenaar
5f25c38550
patch 8.2.4049: Vim9: reading before the start of the line with "$"
...
Problem: Vim9: reading before the start of the line with "$" by itself.
Solution: Do not subtract one when reporting the error.
v8.2.4049
2022-01-09 13:36:28 +00:00
Dominique Pelle
c14f667626
patch 8.2.4048: gcc complains about use of "%p" in printf
...
Problem: gcc complains about use of "%p" in printf.
Solution: Add (void *) typecast. (Dominique Pellé, closes #9494 )
v8.2.4048
2022-01-09 12:57:48 +00:00
Dominique Pelle
f85a424c83
patch 8.2.4047: depending on the build features error messages are unused
...
Problem: Depending on the build features error messages are unused.
Solution: Add #ifdefs. (Dominique Pellé, closes #9493 )
v8.2.4047
2022-01-09 12:49:31 +00:00
Bram Moolenaar
2f0936cb9a
Update runtime files
2022-01-08 21:51:59 +00:00
Bram Moolenaar
b2810f123c
patch 8.2.4046: some error messages not in the right place
...
Problem: Some error messages not in the right place.
Solution: Adjust the errors file. Fix typo.
v8.2.4046
2022-01-08 21:38:52 +00:00
Yegappan Lakshmanan
782b43d894
patch 8.2.4045: some global functions are only used in one file
...
Problem: Some global functions are only used in one file.
Solution: Make the functions static. (Yegappan Lakshmanan, closes #9492 )
v8.2.4045
2022-01-08 18:43:40 +00:00
Bram Moolenaar
7c24dfddc2
patch 8.2.4044: Vim9: no error when importing the same script twice
...
Problem: Vim9: no error when importing the same script twice.
Solution: Give an error, unless it is a reload.
v8.2.4044
2022-01-08 17:03:55 +00:00
Bram Moolenaar
04935fb17e
patch 8.2.4043: using int for second argument of ga_init2()
...
Problem: Using int for second argument of ga_init2().
Solution: Remove unnessary type cast (int) when using sizeof().
v8.2.4043
2022-01-08 16:19:22 +00:00
Bram Moolenaar
1433672568
patch 8.2.4042: Vim9: build error
...
Problem: Vim9: build error.
Solution: Use grow array instead of character pointer.
v8.2.4042
2022-01-08 16:02:59 +00:00
Bram Moolenaar
aa9b3cacd5
patch 8.2.4041: using unitialized pointer
...
Problem: Using unitialized pointer.
Solution: Store "ht" when variable is in another script.
v8.2.4041
2022-01-08 15:44:22 +00:00
Bram Moolenaar
9f1a39a5d1
patch 8.2.4040: keeping track of allocated lines is too complicated
...
Problem: Keeping track of allocated lines in user functions is too
complicated.
Solution: Instead of freeing individual lines keep them all until the end.
v8.2.4040
2022-01-08 15:39:39 +00:00
Bram Moolenaar
67ffb41786
patch 8.2.4039: the xdiff library is linked in even when not used
...
Problem: The xdiff library is linked in even when not used.
Solution: Use configure to decide whether xdiff object files are included.
v8.2.4039
2022-01-08 13:36:57 +00:00
Dominique Pelle
748b308eeb
patch 8.2.4038: various code not used when features are disabled
...
Problem: Various code not used when features are disabled.
Solution: Add #ifdefs. (Dominique Pellé, closes #9491 )
v8.2.4038
2022-01-08 12:41:16 +00:00
Yegappan Lakshmanan
370791465e
patch 8.2.4037: Insert mode completion is insufficiently tested
...
Problem: Insert mode completion is insufficiently tested.
Solution: Add more tests. Fix uncovered memory leak. (Yegappan Lakshmanan,
closes #9489 )
v8.2.4037
2022-01-08 10:38:48 +00:00
Bram Moolenaar
d844862bce
patch 8.2.4036: Vim9: script test file is getting too long
...
Problem: Vim9: script test file is getting too long.
Solution: Split the import/export functionality to a separate file.
v8.2.4036
2022-01-07 21:39:52 +00:00
Bram Moolenaar
48d0ac775c
patch 8.2.4035: timer triggered at the debug prompt may cause trouble
...
Problem: Timer triggered at the debug prompt may cause trouble.
Solution: Do not trigger any timer at the debug prompt. (closes #9481 )
v8.2.4035
2022-01-07 20:40:08 +00:00
Bram Moolenaar
62a099cc6d
patch 8.2.4034: Coverity warns for possibly using a NULL pointer
...
Problem: Coverity warns for possibly using a NULL pointer.
Solution: Check v_partial is not NULL.
v8.2.4034
2022-01-07 20:18:16 +00:00
zeertzjq
a4c96252b1
patch 8.2.4033: running filetype tests leaves directory behind
...
Problem: Running filetype tests leaves directory behind.
Solution: Delete the top directory. (closes #9483 )
v8.2.4033
2022-01-07 20:07:46 +00:00
ichizok
e12406526a
patch 8.2.4032: ATTRIBUTE_NORETURN is not needed
...
Problem: ATTRIBUTE_NORETURN is not needed.
Solution: Use NORETURN(). (Ozaki Kiichi, closes #9487 )
v8.2.4032
2022-01-07 20:01:07 +00:00
Bram Moolenaar
d1f34e64f0
patch 8.2.4031: crash in xterm with only two lines
...
Problem: Crash in xterm with only two lines. (Dominique Pellé)
Solution: Only perform xterm compatibility test if possible. (closes #9488 )
v8.2.4031
2022-01-07 19:24:20 +00:00
Bram Moolenaar
71f21938bc
patch 8.2.4030: a script local funcref is not found from a mapping
...
Problem: A script local funcref is not found from a mapping.
Solution: When looking for a function, also find a script-local funcref.
(closes #9485 )
v8.2.4030
2022-01-07 18:20:55 +00:00
Bram Moolenaar
b2d85e3784
patch 8.2.4029: debugging NFA regexp my crash, cached indent may be wrong
...
Problem: Debugging NFA regexp my crash, cached indent may be wrong.
Solution: Fix some debug warnings in the NFA regexp code. Make sure log_fd
is set when used. Fix breakindent and indent caching. (Christian
Brabandt, closes #9482 )
v8.2.4029
2022-01-07 16:55:32 +00:00
Bram Moolenaar
cb1956d6f2
patch 8.2.4028: ml_get error with :doautoall and Visual area
...
Problem: ml_get error with :doautoall and Visual area. (Sean Dewar)
Solution: Disable Visual mode while executing autocommands.
v8.2.4028
2022-01-07 15:45:18 +00:00
Bram Moolenaar
2b04d5f1ef
patch 8.2.4027: import test fails on MS-Windows
...
Problem: Import test fails on MS-Windows.
Solution: Use a different directory name.
v8.2.4027
2022-01-07 14:39:56 +00:00
Bram Moolenaar
e664a32701
patch 8.2.4026: ml_get error with specific win_execute() command
...
Problem: ml_get error with specific win_execute() command. (Sean Dewar)
Solution: Check cursor and Visual area are OK.
v8.2.4026
2022-01-07 14:08:03 +00:00
Bram Moolenaar
834d41853e
patch 8.2.4025: error for import not ending in .vim does not work for .vimrc
...
Problem: Error for import not ending in .vim does not work for .vimrc.
Solution: Check that .vim is the end. (closes #9484 )
v8.2.4025
2022-01-07 13:38:24 +00:00
Bram Moolenaar
32884ad753
patch 8.2.4024: confusing error message if imported name is used directly
...
Problem: Confusing error message if imported name is used directly.
Solution: Give a better error message.
v8.2.4024
2022-01-07 12:45:29 +00:00
Bram Moolenaar
a909c48bec
patch 8.2.4023: using uninitialized variable
...
Problem: Using uninitialized variable.
Solution: Initialize "ufunc" also when an item is not exported.
v8.2.4023
2022-01-06 22:07:57 +00:00