aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/tempfile.c
Commit message (Collapse)AuthorAge
* Merge tempfile.c back into fileio.cJurica Bradaric2016-04-20
|
* vim-patch:7.4.1120Jurica Bradaric2016-04-20
| | | | | | | Problem: delete(x, 'rf') fails if a directory is empty. (Lcd) Solution: Ignore not finding matches in an empty directory. https://github.com/vim/vim/commit/336bd622c31e1805495c034e1a8cfadcc0bbabc7
* Fix linter errors.Jurica Bradaric2016-04-20
|
* vim-patch:7.4.1116Jurica Bradaric2016-04-20
| | | | | | | Problem: delete(x, 'rf') does not delete files starting with a dot. Solution: Also delete files starting with a dot. https://github.com/vim/vim/commit/b0967d587fc420fa02832533d4915c85d1a78c17
* vim-patch:7.4.1114Jurica Bradaric2016-04-20
| | | | | | | Problem: delete() does not work well with symbolic links. Solution: Recognize symbolik links. https://github.com/vim/vim/commit/43a34f9f74fdce462fa250baab620264c28b6165
* vim-patch:7.4.1107Jurica Bradaric2016-04-20
| | | | | | | | Problem: Vim can create a directory but not delete it. Solution: Add an argument to delete() to make it possible to delete a directory, also recursively. https://github.com/vim/vim/commit/da440d21a6b94d7f525fa7be9b1417c78dd9aa4c
* vim-patch:7.4.958watiko2016-03-02
| | | | | | | | | | | | Problem: Vim checks if the directory "$TMPDIR" exists. Solution: Do not check if the name starts with "$". https://github.com/vim/vim/commit/e1a61991d9b6fd5f65636d17583f93118268cda5 --- see: "$TMPDIR bug" https://groups.google.com/d/msg/vim_dev/UWjbjOf9tEY/wfwnkh41AwAJ
* Remove char_u: vim_settempdir()Mark Bainter2015-05-06
|
* Remove char_u: vim_FullName()Mark Bainter2015-05-06
|
* Remove char_u: add_pathsep()Mark Bainter2015-05-06
|
* memory: Add `free` wrapper and refactor project to use itThiago de Arruda2015-04-13
| | | | | | We already use wrappers for allocation, the new `xfree` function is the equivalent for deallocation and provides a way to fully replace the malloc implementation used by Neovim.
* Remove redundant castsAnton Ovchinnikov2015-03-09
|
* Use ARRAY_SIZE where Coccinelle wasn't able to do itFelipe Oliveira Carvalho2014-12-18
|
* Implement `os_mkdtemp` on top of `uv_fs_mkdtemp`Pavel Platto2014-08-09
|
* Statically allocate NameBuffWayne Rowcliffe2014-07-22
|
* Create os/os_defs.h for os specific definitionsPavel Platto2014-07-14
|
* tempfile.c: refactor vim_settempdirPavel Platto2014-07-14
| | | | | | | - return result of setting and remove directory if the setting was not successful. - don't do `STRCPY` in case of `vim_FullName` failure because `vim_FullName` already did it.
* tempfile.c: fix style issues and commentsPavel Platto2014-07-14
|
* tempfile.c: add to clint-files and fix warningsPavel Platto2014-07-14
|
* Extract `tempfile` module from fileioPavel Platto2014-07-14
Though this module is relatively small it has very clear boundaries. The last argument for extracting `tempfile` was the errors which I got when I was writing unittests for it: `cimport './src/nvim/fileio.h'` does not work for some reason.