summaryrefslogtreecommitdiff
path: root/src/findfile.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.2.3229: Vim9: runtime and compile time type checks are not the samev8.2.3229Yegappan Lakshmanan2021-07-271-0/+3
| | | | | | 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)
* patch 8.2.3219: :find searches non-existing directoriesv8.2.3219Christian Brabandt2021-07-251-0/+9
| | | | | | Problem: :find searches non-existing directories. Solution: Check the path is not "..". Update help. (Christian Brabandt, closes #8612, closes #8533)
* patch 8.2.2949: tests failing because no error for float to string conversionv8.2.2949Bram Moolenaar2021-06-061-1/+1
| | | | | | | 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.
* patch 8.2.1684: "gF" does not use line number after file in Visual modev8.2.1684Bram Moolenaar2020-09-141-0/+7
| | | | | Problem: "gF" does not use line number after file in Visual mode. Solution: Look for ":123" after the Visual area. (closes #6952)
* patch 8.2.1049: Vim9: leaking memory when using continuation linev8.2.1049Bram Moolenaar2020-06-241-1/+1
| | | | | | 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.
* patch 8.2.0985: simplify() does not remove slashes from "///path"v8.2.0985Bram Moolenaar2020-06-151-0/+8
| | | | | Problem: Simplify() does not remove slashes from "///path". Solution: Reduce > 2 slashes to one. (closes #6263)
* patch 8.2.0967: unnecessary type casts for vim_strnsave()v8.2.0967Bram Moolenaar2020-06-121-2/+2
| | | | | Problem: Unnecessary type casts for vim_strnsave(). Solution: Remove the type casts.
* patch 8.2.0559: clearing a struct is verbosev8.2.0559Bram Moolenaar2020-04-121-2/+1
| | | | | Problem: Clearing a struct is verbose. Solution: Define and use CLEAR_FIELD() and CLEAR_POINTER().
* patch 8.2.0030: "gF" does not work on output of "verbose command"v8.2.0030Bram Moolenaar2019-12-221-2/+11
| | | | | Problem: "gF" does not work on output of "verbose command". Solution: Recognize " line " and translations. (closes #5391)
* patch 8.1.2379: using old C style commentsv8.1.2379Bram Moolenaar2019-12-011-3/+3
| | | | | Problem: Using old C style comments. Solution: Use // comments where appropriate.
* patch 8.1.2120: some MB_ macros are more complicated than necessaryv8.1.2120Bram Moolenaar2019-10-061-2/+2
| | | | | | Problem: Some MB_ macros are more complicated than necessary. (Dominique Pelle) Solution: Simplify the macros. Expand inline.
* patch 8.1.1979: code for handling file names is spread outv8.1.1979Bram Moolenaar2019-09-041-0/+16
| | | | | Problem: Code for handling file names is spread out. Solution: Move code to new filepath.c file. Graduate FEAT_MODIFY_FNAME.
* patch 8.1.1891: functions used in one file are globalv8.1.1891Bram Moolenaar2019-08-201-1/+2
| | | | | Problem: Functions used in one file are global. Solution: Add "static". (Yegappan Lakshmanan, closes #4840)
* patch 8.1.1414: alloc() returning "char_u *" causes a lot of type castsv8.1.1414Bram Moolenaar2019-05-281-8/+8
| | | | | | Problem: Alloc() returning "char_u *" causes a lot of type casts. Solution: Have it return "void *". (Mike Williams) Define ALLOC_ONE() to check the simple allocations.
* patch 8.1.1393: unnecessary type castsv8.1.1393Bram Moolenaar2019-05-251-7/+7
| | | | | Problem: Unnecessary type casts. Solution: Remove type casts from alloc() and lalloc() calls. (Mike Williams)
* patch 8.1.1384: using "int" for alloc() often results in compiler warningsv8.1.1384Bram Moolenaar2019-05-241-10/+7
| | | | | | Problem: Using "int" for alloc() often results in compiler warnings. Solution: Use "size_t" and remove type casts. Remove alloc_check(), Vim only works with 32 bit ints anyway.
* patch 8.1.1099: the do_tag() function is too longv8.1.1099Bram Moolenaar2019-03-311-0/+212
| | | | | | Problem: The do_tag() function is too long. Solution: Factor parts out to separate functions. Move simplify_filename() to a file where it fits better. (Andy Massimino, closes #4195)
* patch 8.1.1002: "gf" does not always work when URL has a port numberv8.1.1002Bram Moolenaar2019-03-091-3/+3
| | | | | | Problem: "gf" does not always work when URL has a port number. (Jakob Schöttl) Solution: When a URL is recognized also accept ":". (closes #4082)
* patch 8.1.0914: code related to findfile() is spread outv8.1.0914Bram Moolenaar2019-02-131-0/+2607
Problem: Code related to findfile() is spread out. Solution: Put findfile() related code into a new source file. (Yegappan Lakshmanan, closes #3934)