Bram Moolenaar
424bcae1fb
patch 8.2.4273: the EBCDIC support is outdated
...
Problem: The EBCDIC support is outdated.
Solution: Remove the EBCDIC support.
2022-01-31 14:59:41 +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
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
a6f7929e62
patch 8.2.4005: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
2022-01-04 21:30:47 +00:00
Bram Moolenaar
eaaac014a0
patch 8.2.3983: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
2022-01-02 17:00:40 +00:00
Bram Moolenaar
460ae5dfca
patch 8.2.3967: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
2022-01-01 14:19:49 +00:00
Bram Moolenaar
436b5adc97
patch 8.2.3961: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
2021-12-31 22:49:24 +00:00
Bram Moolenaar
851c7a699a
patch 8.2.3618: getcwd() is unclear about how 'autochdir' is used
...
Problem: getcwd() is unclear about how 'autochdir' is used.
Solution: Update the help for getcwd(). Without any arguments always return
the actual current directory. (closes #9142 )
2021-11-18 20:47:31 +00: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 )
2021-07-27 22:00:44 +02:00
Yegappan Lakshmanan
5bca906b30
patch 8.2.3215: 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. Sort the argument lists.
(Yegappan Lakshmanan, closes #8626 )
2021-07-24 21:33:26 +02:00
Yegappan Lakshmanan
0ad871dc4d
patch 8.2.3206: 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 #8611 )
2021-07-23 20:37:56 +02:00
Yegappan Lakshmanan
83494b4ac6
patch 8.2.3188: 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, also at runtime. (Yegappan
Lakshmanan, closes #8587 )
2021-07-20 17:51:51 +02:00
Yegappan Lakshmanan
1a71d31bf3
patch 8.2.3162: Vim9: argument types are not checked at compile time
...
Problem: Vim9: argument types are not checked at compile time.
Solution: Add more type checks. (Yegappan Lakshmanan, closes #8560 )
2021-07-15 12:49:58 +02:00
Bram Moolenaar
108010aa47
patch 8.2.3069: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move some error messages to errors.h. Use clearer names.
2021-06-27 22:03:33 +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
c580943965
patch 8.2.2666: Vim9: not enough function arguments checked for string
...
Problem: Vim9: not enough function arguments checked for string.
Solution: Check in ch_logfile(), char2nr() and others.
2021-03-27 21:23:30 +01:00
Bram Moolenaar
32105ae88f
patch 8.2.2664: Vim9: not enough function arguments checked for string
...
Problem: Vim9: not enough function arguments checked for string.
Solution: Check in balloon functions. Refactor function arguments.
2021-03-27 18:59:25 +01:00
Bram Moolenaar
f28f2ac425
patch 8.2.2646: Vim9: error for not using string doesn't mentionargument
...
Problem: Vim9: error for not using string doesn't mention argument.
Solution: Add argument number.
2021-03-22 22:21:26 +01:00
Bram Moolenaar
0dc5f603e9
patch 8.2.2478: MS-Windows: backup files for plugins are loaded
...
Problem: MS-Windows: backup files for plugins are loaded.
Solution: Do not use the alternate file name for files ending in "~".
2021-02-07 14:01:35 +01:00
Bram Moolenaar
c423ad77ed
patch 8.2.2343: Vim9: return type of readfile() is any
...
Problem: Vim9: return type of readfile() is any.
Solution: Add readblob() so that readfile() can be expected to always
return a list of strings. (closes #7671 )
2021-01-13 20:38:03 +01:00
Bram Moolenaar
c530852315
patch 8.2.2136: Vim9: Using uninitialized variable
...
Problem: Vim9: Using uninitialized variable.
Solution: Initialize "len" to zero. Clean up fnamemodify().
2020-12-13 12:25:35 +01:00
Bram Moolenaar
2a9d5d386b
patch 8.2.2133: Vim9: checking for a non-empty string is too strict
...
Problem: Vim9: checking for a non-empty string is too strict.
Solution: Check for any string. (closes #7447 )
2020-12-12 18:58:40 +01:00
Bram Moolenaar
7bb4e74c38
patch 8.2.2117: some functions use any value as a string
...
Problem: Some functions use any value as a string.
Solution: Check that the value is a non-empty string.
2020-12-09 12:41:50 +01:00
Bram Moolenaar
e100440158
patch 8.2.1898: command modifier parsing always uses global cmdmod
...
Problem: Command modifier parsing always uses global cmdmod.
Solution: Pass in cmdmod_T to use. Rename struct fields consistently.
2020-10-24 20:49:43 +02:00
Bram Moolenaar
50c4e9e08f
patch 8.2.1804: resolve('/') returns an empty string
...
Problem: resolve('/') returns an empty string.
Solution: Don't remove single slash. (closes #7074 )
2020-10-05 20:38:06 +02:00
Bram Moolenaar
273af497ca
patch 8.2.1743: cannot build without the eval feature
...
Problem: Cannot build without the eval feature.
Solution: Move shorten_dir outside of #ifdef.
2020-09-25 23:49:01 +02:00
Bram Moolenaar
6a33ef0deb
patch 8.2.1741: pathshorten() only supports using one character
...
Problem: pathshorten() only supports using one character.
Solution: Add an argument to control the length. (closes #7006 )
2020-09-25 22:42:48 +02:00
Bram Moolenaar
f966ce5ea2
patch 8.2.1575: Vim9: globpath() doesnot take "true" as argument
...
Problem: Vim9: globpath() doesnot take "true" as argument.
Solution: Use tv_get_bool_chk(). (closes #6821 )
2020-09-02 21:57:07 +02:00
Bram Moolenaar
5892ea1511
patch 8.2.1574: Vim9: glob() doesnot take "true" as argument
...
Problem: Vim9: glob() doesnot take "true" as argument.
Solution: Use tv_get_bool_chk(). (closes #6821 )
2020-09-02 21:53:11 +02:00
Bram Moolenaar
f8abbf37d6
patch 8.2.1486: Vim9: readdir() expression doesn't accept bool
...
Problem: Vim9: readdir() expression doesn't accept bool.
Solution: Merge with code for readdirex(). (closes #6737 )
2020-08-19 16:00:06 +02:00
Bram Moolenaar
af8822ce08
patch 8.2.1485: Vim9: readdirex() expression doesn't accept bool
...
Problem: Vim9: readdirex() expression doesn't accept bool.
Solution: Accept both -1 and bool. (closes #6737 )
2020-08-19 13:55:01 +02:00
Bram Moolenaar
566cc8c72b
patch 8.2.1087: possible memory leak when file expansion fails
...
Problem: Possible memory leak when file expansion fails.
Solution: Clear the grow array when returning FAIL. Use an error message
instead of an empty string.
2020-06-29 21:14:51 +02:00
Bram Moolenaar
b171fb1790
patch 8.2.1049: Vim9: leaking memory when using continuation line
...
Problem: Vim9: leaking memory when using continuation line.
Solution: Keep a pointer to the continuation line in evalarg_T. Centralize
checking for a next command.
2020-06-24 20:34:03 +02:00
Bram Moolenaar
84cf6bd81b
patch 8.2.0988: getting directory contents is always case sorted
...
Problem: Getting directory contents is always case sorted.
Solution: Add sort options and v:collate. (Christian Brabandt, closes #6229 )
2020-06-16 20:03:43 +02:00
Bram Moolenaar
71ccd03ee8
patch 8.2.0967: unnecessary type casts for vim_strnsave()
...
Problem: Unnecessary type casts for vim_strnsave().
Solution: Remove the type casts.
2020-06-12 22:59:11 +02:00
Bram Moolenaar
0e390f40e9
patch 8.2.0942: expanding to local dir after homedir keeps "~/"
...
Problem: Expanding to local dir after homedir keeps "~/".
Solution: Adjust modify_fname(). (Christian Brabandt, closes #6205 ,
closes #5979 )
2020-06-10 13:12:28 +02:00
Bram Moolenaar
002bc79991
patch 8.2.0909: cannot go back to the previous local directory
...
Problem: Cannot go back to the previous local directory.
Solution: Add "tcd -" and "lcd -". (Yegappan Lakshmanan, closes #4362 )
2020-06-05 22:33:42 +02:00
Bram Moolenaar
6c9ba04280
patch 8.2.0875: getting attributes for directory entries is slow
...
Problem: Getting attributes for directory entries is slow.
Solution: Add readdirex(). (Ken Takata, closes #5619 )
2020-06-01 16:09:41 +02:00
Bram Moolenaar
7e9f351b2e
patch 8.2.0751: Vim9: performance can be improved
...
Problem: Vim9: performance can be improved.
Solution: Don't call break. Inline check for list materialize. Make an
inline version of ga_grow().
2020-05-13 22:44:22 +02:00
Bram Moolenaar
40655d5016
patch 8.2.0525: Win32: typo in assignment and misplaced paren
...
Problem: Win32: typo in assignment and misplaced paren.
Solution: Fix the syntax.
2020-04-06 23:49:50 +02:00
Bram Moolenaar
c74fbfedfa
patch 8.2.0524: Win32: searching for file matches is slow
...
Problem: Win32: searching for file matches is slow.
Solution: Instead of making another round to find any short filename, check
for the short name right away. Avoid using an ordinary file like a
directory. (Nir Lichtman, closes #5883 )
2020-04-06 22:56:28 +02:00
Bram Moolenaar
15352dc6ec
patch 8.2.0521: crash when reading a blob fails
...
Problem: Crash when reading a blob fails.
Solution: Avoid keeping a pointer to a freed blob object. (Dominique Pelle,
closes #5890 ) Adjust error messages.
2020-04-06 21:12:42 +02:00
Bram Moolenaar
aeea72151c
patch 8.2.0500: using the same loop in many places
...
Problem: Using the same loop in many places.
Solution: Define more FOR_ALL macros. (Yegappan Lakshmanan, closes #5339 )
2020-04-02 18:50:46 +02:00
Bram Moolenaar
18a2b87ca2
patch 8.2.0404: writefile() error does not give a hint
...
Problem: Writefile() error does not give a hint.
Solution: Add remark about first argument.
2020-03-19 13:08:45 +01:00
Bram Moolenaar
a78e9c61a0
patch 8.2.0215: wrong file name shortening
...
Problem: Wrong file name shortening. (Ingo Karkat)
Solution: Better check for path separator. (Yasuhiro Matsumoto,
closes #5583 , closes #5584 )
2020-02-05 21:14:00 +01:00
Bram Moolenaar
80147dda4f
patch 8.2.0209: function a bit far away from where it's used
...
Problem: Function a bit far away from where it's used.
Solution: Move function close to where it's used. (Ken Takata, closes #5569 )
2020-02-04 22:32:59 +01:00
Bram Moolenaar
d816cd94d8
patch 8.2.0208: fnamemodify() does not apply ":~" when followed by ":."
...
Problem: Fnamemodify() does not apply ":~" when followed by ":.".
Solution: Don't let a failing ":." cause the ":~" to be skipped. (Yasuhiro
Matsumoto, closes #5577 )
2020-02-04 22:23:09 +01:00
Bram Moolenaar
8a7d6542b3
patch 8.2.0149: maintaining a Vim9 branch separately is more work
...
Problem: Maintaining a Vim9 branch separately is more work.
Solution: Merge the Vim9 script changes.
2020-01-26 15:56:19 +01:00
Bram Moolenaar
70188f5b23
patch 8.2.0034: missing check for out of memory
...
Problem: Missing check for out of memory.
Solution: Check for NULL after vim_strsave(). (Dominique Pelle,
closes #5393 )
2019-12-23 18:18:52 +01:00
Bram Moolenaar
9810cfbe55
patch 8.1.2422: "make depend" does not work correctly for libvterm
...
Problem: "make depend" does not work correctly for libvterm.
Solution: Fix build dependencies. And a few minor improvements.
2019-12-11 21:23:00 +01:00