summaryrefslogtreecommitdiffstats
path: root/src/filepath.c
AgeCommit message (Collapse)Author
2022-06-20patch 8.2.5138: various small issuesv8.2.5138Bram Moolenaar
Problem: Various small issues. Solution: Various small improvments.
2022-06-11patch 8.2.5077: various warnings from clang on MS-Windowsv8.2.5077Yegappan Lakshmanan
Problem: Various warnings from clang on MS-Windows. Solution: Avoid the warnings. (Yegappan Lakshmanan, closes #10553)
2022-05-16patch 8.2.4963: expanding path with "/**" may overrun end of bufferv8.2.4963Bram Moolenaar
Problem: Expanding path with "/**" may overrun end of buffer. Solution: Use vim_snprintf().
2022-05-09patch 8.2.4928: various white space and cosmetic mistakesv8.2.4928Bram Moolenaar
Problem: Various white space and cosmetic mistakes. Solution: Change spaces to tabs, improve comments.
2022-04-28patch 8.2.4841: empty string considered an error for expand()v8.2.4841Bram Moolenaar
Problem: Empty string considered an error for expand() when 'verbose' is set. (Christian Brabandt) Solution: Do not give an error for an empty result. (closes #10307)
2022-04-28patch 8.2.4838: checking for absolute path is not trivialv8.2.4838LemonBoy
Problem: Checking for absolute path is not trivial. Solution: Add isabsolutepath(). (closes #10303)
2022-04-04patch 8.2.4683: verbose check with dict_find() to see if a key is presentv8.2.4683Yegappan Lakshmanan
Problem: Verbose check with dict_find() to see if a key is present. Solution: Add dict_has_key(). (Yegappan Lakshmanan, closes #10074)
2022-04-03patch 8.2.4679: cannot have expandcmd() give an error message for mistakesv8.2.4679Yegappan Lakshmanan
Problem: Cannot have expandcmd() give an error message for mistakes. Solution: Add an optional argument to give errors. Fix memory leak when expanding files fails. (Yegappan Lakshmanan, closes #10071)
2022-04-03patch 8.2.4671: 'wildignorecase' is sometimes not used for glob()v8.2.4671LemonBoy
Problem: 'wildignorecase' is sometimes not used for glob(). Solution: Also use 'wildignorecase' when there are no wildcards. (closes #10066, closes #8350)
2022-03-31patch 8.2.4653: "import autoload" does not check the file namev8.2.4653Bram Moolenaar
Problem: "import autoload" does not check the file name. Solution: Give an error if the file is not readable. (closes #10049)
2022-03-10patch 8.2.4535: filename modifer ":8" removes the filenamev8.2.4535Christian Brabandt
Problem: Filename modifer ":8" removes the filename. Solution: Use strncpy() instead of vim_strncpy(). (Christian Brabandt, closes #9918, closes #8600)
2022-02-19patch 8.2.4418: crash when using special multi-byte characterv8.2.4418Bram Moolenaar
Problem: Crash when using special multi-byte character. Solution: Don't use isalpha() for an arbitrary character.
2022-02-09patch 8.2.4337: part of condition is always truev8.2.4337=?UTF-8?q?Dundar=20G=C3=B6c?=
Problem: Part of condition is always true. Solution: Remove that part of the condition. (closes #9729)
2022-02-03patch 8.2.4289: warnings reported by MSVCv8.2.4289K.Takata
Problem: Warnings reported by MSVC. Solution: Rename variables and other fixes. (Ken Takata, closes #9689)
2022-01-31patch 8.2.4273: the EBCDIC support is outdatedv8.2.4273Bram Moolenaar
Problem: The EBCDIC support is outdated. Solution: Remove the EBCDIC support.
2022-01-12patch 8.2.4070: using uninitialized memory when reading empty filev8.2.4070Dominique Pelle
Problem: Using uninitialized memory when reading empty file. Solution: Check for empty file before checking for NL. (Dominique Pellé, closes #9511)
2022-01-08patch 8.2.4043: using int for second argument of ga_init2()v8.2.4043Bram Moolenaar
Problem: Using int for second argument of ga_init2(). Solution: Remove unnessary type cast (int) when using sizeof().
2022-01-04patch 8.2.4005: error messages are spread outv8.2.4005Bram Moolenaar
Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
2022-01-02patch 8.2.3983: error messages are spread outv8.2.3983Bram Moolenaar
Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
2022-01-01patch 8.2.3967: error messages are spread outv8.2.3967Bram Moolenaar
Problem: Error messages are spread out. Solution: Move more errors to errors.h.
2021-12-31patch 8.2.3961: error messages are spread outv8.2.3961Bram Moolenaar
Problem: Error messages are spread out. Solution: Move more errors to errors.h.
2021-11-18patch 8.2.3618: getcwd() is unclear about how 'autochdir' is usedv8.2.3618Bram Moolenaar
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-07-27patch 8.2.3229: Vim9: runtime and compile time type checks are not the samev8.2.3229Yegappan Lakshmanan
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-24patch 8.2.3215: Vim9: argument types are not checked at compile timev8.2.3215Yegappan Lakshmanan
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-23patch 8.2.3206: Vim9: argument types are not checked at compile timev8.2.3206Yegappan Lakshmanan
Problem: Vim9: argument types are not checked at compile time. Solution: Add several more type checks. (Yegappan Lakshmanan, closes #8611)
2021-07-20patch 8.2.3188: Vim9: argument types are not checked at compile timev8.2.3188Yegappan Lakshmanan
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-15patch 8.2.3162: Vim9: argument types are not checked at compile timev8.2.3162Yegappan Lakshmanan
Problem: Vim9: argument types are not checked at compile time. Solution: Add more type checks. (Yegappan Lakshmanan, closes #8560)
2021-06-27patch 8.2.3069: error messages are spread outv8.2.3069Bram Moolenaar
Problem: Error messages are spread out. Solution: Move some error messages to errors.h. Use clearer names.
2021-06-06patch 8.2.2949: tests failing because no error for float to string conversionv8.2.2949Bram Moolenaar
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-03-27patch 8.2.2666: Vim9: not enough function arguments checked for stringv8.2.2666Bram Moolenaar
Problem: Vim9: not enough function arguments checked for string. Solution: Check in ch_logfile(), char2nr() and others.
2021-03-27patch 8.2.2664: Vim9: not enough function arguments checked for stringv8.2.2664Bram Moolenaar
Problem: Vim9: not enough function arguments checked for string. Solution: Check in balloon functions. Refactor function arguments.
2021-03-22patch 8.2.2646: Vim9: error for not using string doesn't mentionargumentv8.2.2646Bram Moolenaar
Problem: Vim9: error for not using string doesn't mention argument. Solution: Add argument number.
2021-02-07patch 8.2.2478: MS-Windows: backup files for plugins are loadedv8.2.2478Bram Moolenaar
Problem: MS-Windows: backup files for plugins are loaded. Solution: Do not use the alternate file name for files ending in "~".
2021-01-13patch 8.2.2343: Vim9: return type of readfile() is anyv8.2.2343Bram Moolenaar
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)
2020-12-13patch 8.2.2136: Vim9: Using uninitialized variablev8.2.2136Bram Moolenaar
Problem: Vim9: Using uninitialized variable. Solution: Initialize "len" to zero. Clean up fnamemodify().
2020-12-12patch 8.2.2133: Vim9: checking for a non-empty string is too strictv8.2.2133Bram Moolenaar
Problem: Vim9: checking for a non-empty string is too strict. Solution: Check for any string. (closes #7447)
2020-12-09patch 8.2.2117: some functions use any value as a stringv8.2.2117Bram Moolenaar
Problem: Some functions use any value as a string. Solution: Check that the value is a non-empty string.
2020-10-24patch 8.2.1898: command modifier parsing always uses global cmdmodv8.2.1898Bram Moolenaar
Problem: Command modifier parsing always uses global cmdmod. Solution: Pass in cmdmod_T to use. Rename struct fields consistently.
2020-10-05patch 8.2.1804: resolve('/') returns an empty stringv8.2.1804Bram Moolenaar
Problem: resolve('/') returns an empty string. Solution: Don't remove single slash. (closes #7074)
2020-09-25patch 8.2.1743: cannot build without the eval featurev8.2.1743Bram Moolenaar
Problem: Cannot build without the eval feature. Solution: Move shorten_dir outside of #ifdef.
2020-09-25patch 8.2.1741: pathshorten() only supports using one characterv8.2.1741Bram Moolenaar
Problem: pathshorten() only supports using one character. Solution: Add an argument to control the length. (closes #7006)
2020-09-02patch 8.2.1575: Vim9: globpath() doesnot take "true" as argumentv8.2.1575Bram Moolenaar
Problem: Vim9: globpath() doesnot take "true" as argument. Solution: Use tv_get_bool_chk(). (closes #6821)
2020-09-02patch 8.2.1574: Vim9: glob() doesnot take "true" as argumentv8.2.1574Bram Moolenaar
Problem: Vim9: glob() doesnot take "true" as argument. Solution: Use tv_get_bool_chk(). (closes #6821)
2020-08-19patch 8.2.1486: Vim9: readdir() expression doesn't accept boolv8.2.1486Bram Moolenaar
Problem: Vim9: readdir() expression doesn't accept bool. Solution: Merge with code for readdirex(). (closes #6737)
2020-08-19patch 8.2.1485: Vim9: readdirex() expression doesn't accept boolv8.2.1485Bram Moolenaar
Problem: Vim9: readdirex() expression doesn't accept bool. Solution: Accept both -1 and bool. (closes #6737)
2020-06-29patch 8.2.1087: possible memory leak when file expansion failsv8.2.1087Bram Moolenaar
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-24patch 8.2.1049: Vim9: leaking memory when using continuation linev8.2.1049Bram Moolenaar
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-16patch 8.2.0988: getting directory contents is always case sortedv8.2.0988Bram Moolenaar
Problem: Getting directory contents is always case sorted. Solution: Add sort options and v:collate. (Christian Brabandt, closes #6229)
2020-06-12patch 8.2.0967: unnecessary type casts for vim_strnsave()v8.2.0967Bram Moolenaar
Problem: Unnecessary type casts for vim_strnsave(). Solution: Remove the type casts.
2020-06-10patch 8.2.0942: expanding to local dir after homedir keeps "~/"v8.2.0942Bram Moolenaar
Problem: Expanding to local dir after homedir keeps "~/". Solution: Adjust modify_fname(). (Christian Brabandt, closes #6205, closes #5979)