aboutsummaryrefslogtreecommitdiff
path: root/src/path.c
Commit message (Collapse)AuthorAge
* Introduce nvim namespace: Move files.Eliseo Martínez2014-05-15
| | | | | | Move files from src/ to src/nvim/. - src/nvim/ becomes the new root dir for nvim executable sources. - src/libnvim/ is planned to become root dir of the neovim library.
* replaced some mch_lstat()Stefan Hoffmann2014-05-09
|
* replaced `vim_free()` calls with `free()` callsMatthias Beyer2014-05-05
|
* Remove checks for SHORT_FNAME and USE_LONG_FNAME.Chris Watkins2014-05-02
| | | | They were only defined for MSDOS which is now unsupported.
* Move `concat_strings` from path.cJohn Schmidt2014-05-02
|
* revert #652Justin M. Keyes2014-05-01
| | | | | | | reverting broad cosmetic/style change because: - increases merge-conflicts - increases overhead of merging upstream Vim patches - reasons for change are ambiguous, so default to no change
* Remove NUL macroMarco Hinz2014-04-29
|
* Test and refactor `shorten_fname` and `shorten_fname1`John2014-04-29
| | | | | Rename `shorten_fname` -> `path_shorten_fname` Rename `shorten_fname1` -> `path_shorten_fname_if_possible`
* Remove `shorten_filenames` (dead code)John Schmidt2014-04-29
|
* Remove code and checks for unsupported systems.Chris Watkins2014-04-28
| | | | | Remove remnants of support for systems including __EMX__, MSDOS, OS2, AMIGA and MORPHOS.
* Remove `alloc_clear`John Schmidt2014-04-28
| | | | | Use `xcalloc` instead. Inline `alloc_tv` and `alloc_string_tv` in eval.c
* No OOM error condition in ga_concat_strings(), concat_fnames(), concat_str()Felipe Oliveira Carvalho2014-04-24
| | | | | | - xmallocz() is not static anymore. There are many use cases for this function in the codebase and we should start using it. - Simpler types in ga_concat_strings()
* Remove OOM error handling code after ga_grow() callsFelipe Oliveira Carvalho2014-04-11
|
* Move exe functions back to os/fs.cJohn Schmidt2014-04-08
|
* Change prefix from `os_*` to `path_*`John Schmidt2014-04-08
|
* Move and adapt `os_get_absolute_path` unit tests to `vim_FullName`John2014-04-08
| | | | | * Add two new unit tests to `vim_FullName` * Make `os_get_absolute_path` static
* Move functions from os/fs.c into path.cJohn Schmidt2014-04-08
| | | | Move unit tests from os/fs.moon to path.moon
* Use stdbool in os moduleHinidu2014-04-07
|
* Remove simpler cases of OOM error handling (after *alloc calls)Felipe Oliveira Carvalho2014-04-06
| | | | | | | | | | | | | | | | | | By simpler cases I mean cases where the OOM error is not expected to be handled by the caller of the function that calls `alloc`, `lalloc`, `xrealloc`, `xmalloc`, `alloc_clear`, and `lalloc_clear`. These are the functions that: - Do not return an allocated buffer - Have OOM as the only error condition I took note of the functions that expect the caller to handle the OOM error and will go through them to check all the callers that may be handling OOM error in future commits. I'm ignoring eval.c and ex_.c in this series of commits. eval.c will soon be obsolete and I will deal with ex_.c in later PRs.
* remove MB_{IS,TO}{UPPER,LOWER}aph2014-04-04
|
* Extract memory.c from misc2.cJohn Schmidt2014-04-04
|
* Rename FPC_* constants.Thomas Wienecke2014-04-03
|
* Initialize on declaration; use postincrements.Thomas Wienecke2014-04-03
|
* Fix seperator->separator, path_tail_with_separator->path_tail_with_sep.Thomas Wienecke2014-04-03
|
* Test and refactor getnextcomp -> path_next_component.Thomas Wienecke2014-04-03
|
* Test and refactor gettail_sep -> path_tail_with_seperator.Thomas Wienecke2014-04-03
|
* Test and refactor gettail -> path_tail.Thomas Wienecke2014-04-03
|
* Refactor fullpathcmp -> path_full_compare.Thomas Wienecke2014-04-03
|
* Move gettail_dir more closely to its usage.Thomas Wienecke2014-04-03
|
* Make FPC_* defines an enum type in path.h.Thomas Wienecke2014-04-03
|
* Move shorten_filenames back to fileio.cJohn Schmidt2014-04-01
|
* Move match_suffix from misc1.cJohn Schmidt2014-04-01
|
* Move expand_wildcards{,_eval} from misc1.cJohn Schmidt2014-04-01
|
* Move shorten_fname{,1,s} and shorten_filenames from fileio.cJohn Schmidt2014-04-01
|
* Move mch_expandpath from os_unix.cJohn Schmidt2014-04-01
|
* Move pathcmp from misc2.cJohn Schmidt2014-04-01
|
* Move same_directory from misc2.cJohn Schmidt2014-04-01
|
* Move after_pathsep from misc2.cJohn Schmidt2014-04-01
|
* Move fix_fname from buffer.cJohn Schmidt2014-04-01
|
* Move functions from window.cJohn Schmidt2014-04-01
|
* Move simplify_filename from tag.cJohn Schmidt2014-04-01
|
* Remove feature HAVE_QSORToni-link2014-03-31
| | | | qsort conforms to C99, so we don't need our own version.
* Rename ga_init2() to ga_init()John Schmidt2014-03-31
|
* Refactor SHELL_* defines into enum typedefThiago de Arruda2014-03-31
| | | | | | The SHELL_* defines are the bitflags that can be passed to `mch_call_shell`. The enum is defined in 'os/shell.h', where all shell-related functions will eventually be defined.
* Move remove_duplicates to garray.cJohn Schmidt2014-03-29
|
* Extract path.c from misc1.cJohn Schmidt2014-03-29