Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Get rid of a bashism in the fs_spec test. #1964 | John Szakmeister | 2015-02-09 |
| | | | | | FreeBSD doesn't use bash by default, causing the group id to be print out in the middle of the test. | ||
* | test/os/fs: fix call to lfs.attributes | Nicolas Hillegeer | 2015-01-16 |
| | | | | | | | | The second argument to lfs.attributes() serves only to select a specific part of the normally returned table. It's not a file open flag (e.g.: as for fopen() in C). Also made the (n)eq checks a bit more idiomatic. Fixes #1831 | ||
* | update os_can_exe unit test | Scott Prager | 2014-09-17 |
| | |||
* | vim-patch:7.4.235 | Scott Prager | 2014-09-17 |
| | | | | | | | Problem: It is not easy to get the full path of a command. Solution: Add the exepath() function. https://code.google.com/p/vim/source/detail?r=5ab2946f7ce560985830fbc3c453bb0f7a01f385 | ||
* | unit tests: initialize everything | Justin M. Keyes | 2014-09-11 |
| | |||
* | unit tests: avoid global scope; add missing cimports | Justin M. Keyes | 2014-09-11 |
| | | | | temporarily comment out call to vim_deltempdir() to avoid segfault | ||
* | fileid: rename os_file_id_equal_file_info | Stefan Hoffmann | 2014-08-31 |
| | |||
* | fileid: rename os_file_id_equal | Stefan Hoffmann | 2014-08-31 |
| | |||
* | fileid: rename os_get_file_id | Stefan Hoffmann | 2014-08-31 |
| | |||
* | fileinfo: rename os_file_info_get_inode | Stefan Hoffmann | 2014-08-31 |
| | |||
* | fileinfo: rename os_file_info_get_id | Stefan Hoffmann | 2014-08-31 |
| | |||
* | fileinfo: rename os_file_info_id_equal | Stefan Hoffmann | 2014-08-31 |
| | |||
* | fileinfo: rename os_get_file_info{,_link,_fd} | Stefan Hoffmann | 2014-08-31 |
| | |||
* | fileinfo: implement os_fileinfo_blocksize | Stefan Hoffmann | 2014-08-31 |
| | |||
* | fileinfo: implement os_fileinfo_hardlinks | Stefan Hoffmann | 2014-08-31 |
| | |||
* | fileinfo: implement os_fileinfo_size | Stefan Hoffmann | 2014-08-31 |
| | | | | this replaces os_get_file_size and file_info.stat.st_size | ||
* | unittest: Move FileInfo tests one level up | Stefan Hoffmann | 2014-08-31 |
| | |||
* | unittest: convert users_spec.moon to lua | Thiago de Arruda | 2014-08-31 |
| | |||
* | unittest: convert fs_spec.moon to lua | Thiago de Arruda | 2014-08-31 |
| | |||
* | unittest: convert env_spec.moon to lua | Thiago de Arruda | 2014-08-31 |
| | |||
* | os_fchown: enable 'change group' unittest on Travis-CI | Pavel Platto | 2014-08-13 |
| | | | | | | | | Add section `before_install` in `.travis.yml` to create test group and add current user to this group. It is needed because by default user on Travis-CI belongs only to one primary group derived from that user. So we have no alternative to change group of the file. | ||
* | os_fchown: add unit tests | Pavel Platto | 2014-08-13 |
| | |||
* | Units: Move NULL, OK, and FAIL to helpers.moon. #982 | Scott Prager | 2014-07-30 |
| | |||
* | test/shell: add tests | Nicolas Hillegeer | 2014-07-27 |
| | | | | | - The calls to (partially) initialize logging need to go. Blocked on #981. | ||
* | test/fs: move tests of path_full_dir_name to path | Nicolas Hillegeer | 2014-07-16 |
| | | | | | | | | Move tests of path_full_dir_name to path_spec. It is only defined in path.h. Not sure why this works most of the time (I can only trigger a failure when running under lldb). It's a more logical place to have the test as well. | ||
* | Use default busted pattern for unittests #943 | Pavel Platto | 2014-07-14 |
| | | | | | | - Unittest should contain substring '_spec' in filename. - This is the simplest way to use both lua and moonscript tests. - This prevents running of non-test scripts from test folder. | ||
* | os_open: add unit tests | Justin M. Keyes | 2014-07-14 |
| | |||
* | FileID: implement `FileID` struct | Stefan Hoffmann | 2014-06-27 |
| | | | | | | | `FileID` should encapsulate `st_dev` and `st_ino`. It is a new abstraction used to check if two files are the same. `FileID`s will be embeded inside other struts like `buf_t` or `ff_visited_T`, where a full `FileInfo` would be to big. | ||
* | spelling fixes #827 | Will Stamper | 2014-06-12 |
| | |||
* | Introduce nvim namespace: Fix unit tests. | Eliseo Martínez | 2014-05-15 |
| | | | | Point cimports to new locations. | ||
* | implemented FileInfo struct | Stefan Hoffmann | 2014-05-09 |
| | | | | | | | This struct is a wrapper around `uv_stat_t` to hide the stat information inside `src/os/`. The stat file attribute will be private after all refactorings concerning file informations are done. | ||
* | test: no longer define ad-hoc C headers | Nicolas Hillegeer | 2014-04-28 |
| | | | | With the improved cimport helper, we can just load what we want. | ||
* | port vim_mkdir, mch_rmdir and mch_remove to libuv | Stefan Hoffmann | 2014-04-11 |
| | |||
* | Move exe functions back to os/fs.c | John Schmidt | 2014-04-08 |
| | |||
* | Change prefix from `os_*` to `path_*` | John Schmidt | 2014-04-08 |
| | |||
* | Move functions from os/fs.c into path.c | John Schmidt | 2014-04-08 |
| | | | | Move unit tests from os/fs.moon to path.moon | ||
* | Use stdbool in os module | Hinidu | 2014-04-07 |
| | |||
* | Moved mch_get_host_name and renamed it to os_get_hostanme | Stefan Hoffmann | 2014-04-05 |
| | |||
* | Moved mch_get_pid and renamed it to os_get_pid | Stefan Hoffmann | 2014-04-05 |
| | |||
* | Replace mch_rename and vim_rename with libuv | Hinidu | 2014-04-04 |
| | |||
* | move filewritable() into /src/os/fs.c and rename it | Stefan Hoffmann | 2014-04-03 |
| | |||
* | move check_file_readonly() into /src/os/fs.c and rename it | Stefan Hoffmann | 2014-04-03 |
| | |||
* | Delete os_delay unit test. | Thomas Wienecke | 2014-04-02 |
| | |||
* | Address clint warnings and other style issues. | Thomas Wienecke | 2014-03-27 |
| | | | | | | | * Add const. * Fix conditions (move && from end to start of line). * Use int32_t instead of long. * Use //-style comments. | ||
* | Rename mch_* functions to os_* in os module. | Thomas Wienecke | 2014-03-27 |
| | |||
* | fix mch_delay() unittest | Stefan Hoffmann | 2014-03-25 |
| | |||
* | Implement `mch_delay` on top of libuv | Thiago de Arruda | 2014-03-24 |
| | | | | | Needed to temporarily move two static variables from os_unix.c to 'globals.h' as those are shared by other functions still in os_unix. | ||
* | Revive vim_fname (-> os_file_exists); fix misuse of mch_getperm. | Thomas Wienecke | 2014-03-15 |
| | | | | | | * Move vim_fname from misc1 to os/fs:os_file_exists. * Add unit tests for os_file_exists. * Replace misuse of mch_getperm with os_file_exists. | ||
* | Add unit tests for mch_[gs]etperm. | Thomas Wienecke | 2014-03-15 |
| | | | | | Use preprocessor trick proposed by @mahkoh to import 'defines' like S_IRUSR. | ||
* | refactored part of expand_env_esc() into mch_get_user_directory() | Stefan Hoffmann | 2014-03-13 |
| |