Evgeni Chasnovski
26ebf1f036
patch 8.2.4090: after restoring a session buffer order can be quite different
...
Problem: After restoring a session buffer order can be quite different.
Solution: Create buffers first. (Evgeni Chasnovski, closes #9520 )
2022-01-14 13:19:43 +00:00
Bram Moolenaar
7bfa6d698e
patch 8.2.4089: terminal test for current directory fails on FreeBSD
...
Problem: Terminal test for current directory fails on FreeBSD.
Solution: Skip the test.
2022-01-14 12:06:47 +00:00
Erik Auerswald
c0a1d370fa
patch 8.2.4088: xxd cannot output everything in one line
...
Problem: Xxd cannot output everything in one line.
Solution: Make zero columns mean infinite columns. (Erik Auerswald,
closes #9524 )
2022-01-14 11:58:48 +00:00
Bram Moolenaar
3e4fa3d7d3
patch 8.2.4087: cannot test items from an autoload script easily
...
Problem: Cannot test items from an autoload script easily.
Solution: Add the "autoload" value for test_override().
2022-01-13 22:05:09 +00:00
Bram Moolenaar
d9d2fd0aa3
patch 8.2.4086: "cctx" argument of find_func_even_dead() is unused
...
Problem: "cctx" argument of find_func_even_dead() is unused.
Solution: Remove the argument.
2022-01-13 21:15:21 +00:00
Bram Moolenaar
c43e6235c7
patch 8.2.4085: Vim9: no test for using import in legacy script
...
Problem: Vim9: no test for using import in legacy script.
Solution: Add a test.
2022-01-13 20:51:56 +00:00
Bram Moolenaar
130f65d46b
patch 8.2.4084: memory leak when looking for autoload prefixed variable
...
Problem: Memory leak when looking for autoload prefixed variable.
Solution: Free the concatenated string.
2022-01-13 20:39:41 +00:00
Bram Moolenaar
0e3e7ba05f
patch 8.2.4083: Vim9: no test for "vim9script autoload' using script variable
...
Problem: Vim9: no test for "vim9script autoload' and using script variable
in the same script.
Solution: Add a simple test. Fix uncovered problem.
2022-01-13 20:18:56 +00:00
Bram Moolenaar
3049fcf0a1
patch 8.2.4082: check for autoload file name and prefix fails
...
Problem: Check for autoload file name and prefix fails. (Christian J.
Robinson)
Solution: Only lower case the prefix on systems where the file name is not
case sensitive.
2022-01-13 19:25:50 +00:00
ichizok
4050305bfd
patch 8.2.4081: CodeQL reports problem in if_cscope causing it to fail
...
Problem: CodeQL reports problem in if_cscope causing it to fail.
Solution: Use execvp() instead of execl(). Merge the header file into the
source file. (Ozaki Kiichi, closes #9519 )
2022-01-13 18:09:11 +00:00
Erik Auerswald
a00e622a29
patch 8.2.4080: not sufficient test coverage for xxd
...
Problem: Not sufficient test coverage for xxd.
Solution: Add a few more test cases. (Erki Auerswald, closes #9515 )
2022-01-13 17:42:28 +00:00
K.Takata
33b25d1317
patch 8.2.4079: MS-Windows: "gvim --version" didn't work with VIMDLL
...
Problem: MS-Windows: "gvim --version" didn't work when build with VIMDLL.
Solution: Adjust #ifdef. (Ken Takata, closes #9517 )
2022-01-13 16:06:45 +00:00
Bram Moolenaar
ced2b38a56
patch 8.2.4078: terminal test for current directory not used on FreeBSD
...
Problem: Terminal test for current directory not used on FreeBSD.
Solution: Make it work on FreeBSD. (Ozaki Kiichi, closes #9516 ) Add
TermWait() inside Run_shell_in_terminal() as a generic solution.
2022-01-13 15:25:32 +00:00
Bram Moolenaar
8d9e470aa9
patch 8.2.4077: not all Libsensors files are recognized
...
Problem: Not all Libsensors files are recognized.
Solution: Add "sensors.d/*" pattern. (Doug Kearns)
2022-01-13 14:49:10 +00:00
Bram Moolenaar
71930f174d
patch 8.2.4076: memory leak in autoload import
...
Problem: Memory leak in autoload import.
Solution: Do not overwrite the autoload prefix.
2022-01-13 13:47:43 +00:00
Bram Moolenaar
78a70533c3
patch 8.2.4075: test failures
...
Problem: Test failures.
Solution: Change check for NULL pointer.
2022-01-13 13:24:34 +00:00
Bram Moolenaar
de05bb2573
patch 8.2.4074: going over the end of NameBuff
...
Problem: Going over the end of NameBuff.
Solution: Check length when appending a space.
2022-01-13 13:08:14 +00:00
Bram Moolenaar
54598066ca
patch 8.2.4073: Coverity warns for using NULL pointer
...
Problem: Coverity warns for using NULL pointer.
Solution: Bail out when running out of memory. Check for running over end of
a string.
2022-01-13 12:05:09 +00:00
Bram Moolenaar
d041f4208b
patch 8.2.4072: Vim9: compiling function fails when autoload is not loaded
...
Problem: Vim9: compiling function fails when autoload script is not loaded
yet.
Solution: Depend on runtime loading.
2022-01-12 19:54:00 +00:00
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.
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 )
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.
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.
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 )
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.
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.
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 )
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.
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 )
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 )
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 )
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.
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.
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.
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.
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.
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.
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.
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 )
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)
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".
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.
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 )
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 )
2022-01-09 12:49:31 +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.
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 )
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.
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().
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.
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.
2022-01-08 15:44:22 +00:00