Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | os/fileio: Add ability to use os/fileio.c for file descriptors | ZyX | 2017-07-04 |
| | | | | Code imported from #6299 | ||
* | os/fileio: Add msgpack_file_write function | ZyX | 2017-07-04 |
| | |||
* | Merge #6947 from ZyX-I/consistent-get_keymap | Justin M. Keyes | 2017-07-03 |
|\ | |||
| * | unittests: Fix allocation ordering for tv_dict_add_str() | ZyX | 2017-07-02 |
| | | |||
| * | eval/typval: Add tv_dict_add_allocated_str() function | ZyX | 2017-07-02 |
| | | |||
* | | test: expand_env_esc: Pass correct buffer size for outlen and assertion | James McCoy | 2017-07-02 |
|/ | | | | | | | | Running this test with a mocked passwd file whose $HOME was set to /home/jamessan/src/debian.org/pkg-vim/deb-packages/neovim/neovim-0.2.0/debian/fakehome caused the test to fail, since the expanded result was >= 99 bytes. The test should be reflecting the actual size of the buffer, instead of some arbitrary other number, anwyay. | ||
* | test: fix bashisms (#6791) | Jonathan de Boyne Pollard | 2017-06-01 |
| | |||
* | startup: v:progpath fallback: path_guess_exepath | Justin M. Keyes | 2017-05-15 |
| | | | | | | | If procfs is missing then libuv cannot find the exe path. Fallback to path_guess_exepath(), adapted from Vim findYourself(). Closes #6734 | ||
* | eval: Refactor get_user_input to support dictionary | ZyX | 2017-05-10 |
| | |||
* | tests: Add tests for vim_strchr | ZyX | 2017-05-09 |
| | |||
* | test/fs: sanity check for literal "~" directory (#6579) | Justin M. Keyes | 2017-04-24 |
| | | | | If the CWD contains a directory with the literal name "~" then the tests will have bogus failures. | ||
* | Merge branch 'master' into lazier-arg_errmsg-gettext | ZyX | 2017-04-21 |
|\ | |||
| * | *: Add comment to all C files | ZyX | 2017-04-19 |
| | | |||
* | | unittests: Add a test for TV_CSTRING | ZyX | 2017-04-14 |
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Not using enum{} because SIZE_MAX exceeds integer and I do not really like how enum definition is described in C99: 1. Even though all values must fit into the chosen type (6.7.2.2, p 4) the type to choose is still implementation-defined. 2. 6.4.4.3 explicitly states that “an identifier declared as an enumeration constant has type `int`”. So it looks like “no matter what type was chosen for enumeration, constants will be integers”. Yet the following simple program: #include <stdint.h> #include <stdio.h> #include <stddef.h> enum { X=SIZE_MAX }; int main(int argc, char **argv) { printf("x:%zu m:%zu t:%zu v:%zu", sizeof(X), sizeof(SIZE_MAX), sizeof(size_t), (size_t)X); } yields one of the following using different compilers: - clang/gcc/pathcc: `x:8 m:8 t:8 v:18446744073709551615` - pcc/tcc: `x:4 m:8 t:8 v:1844674407370955161` If I remove the cast of X to size_t then pcc/tcc both yield `x:4 m:8 t:8 v:4294967295`, other compilers’ output does not change. All compilers were called with `$compiler -std=c99 -xc -` (feeding program from echo), except for `tcc` which has missing `-std=c99`. `pcc` seems to ignore the argument though: it is perfectly fine with `-std=c1000`. | ||
* | win: os_shell_is_cmdexe() + tests | Justin M. Keyes | 2017-04-12 |
| | |||
* | Merge #6439 from ZyX-I/fix-gc-failures | Justin M. Keyes | 2017-04-09 |
|\ | | | | | unittests: Force GC, fix GC failures in typval_spec | ||
| * | unittests: Move allocating vimconv_T to a function | ZyX | 2017-04-09 |
| | | |||
| * | unittests: Do not GC typval_T which is owned by a di | ZyX | 2017-04-09 |
| | | |||
| * | unittests: Do not unref partial which is owned by Callback structure | ZyX | 2017-04-09 |
| | | |||
| * | unittests: Use Neovim memory allocation for vimconv_T | ZyX | 2017-04-09 |
| | | | | | | | | Not sure whether this is going to fix things though, but core dump does not contain Neovim functions in stack in this case. | ||
| * | unittests: Do not gc what is already freed | ZyX | 2017-04-09 |
| | | |||
| * | unittests: Move checking cores to check_child_err | ZyX | 2017-04-08 |
| | | |||
| * | unittests: Fix testlint failure | ZyX | 2017-04-07 |
| | | |||
| * | unittests: Force GC, fix GC failures in typval_spec | ZyX | 2017-04-06 |
| | | |||
* | | unittests: Fix linter error | ZyX | 2017-04-09 |
| | | |||
* | | unittests: Do not alter p_enc in decode unit test | ZyX | 2017-04-08 |
|/ | |||
* | tests: Fix testlint errors | ZyX | 2017-04-03 |
| | |||
* | eval: Make writefile() able to disable fsync() | ZyX | 2017-04-02 |
| | |||
* | unittests: Make it easier to determine on which _spec line it crashed (#6424) | Nikolai Aleksandrovich Pavlov | 2017-04-02 |
| | | | | | | Benchmarks: Before change: 17.78s user 3.48s system 94% cpu 22.525 total After change: 25.38s user 4.46s system 101% cpu 29.317 total | ||
* | Merge #6422 from ZyX-I/fix-6420 | Justin M. Keyes | 2017-04-01 |
|\ | | | | | eval,fileio: Omit additional fsync() call | ||
| * | eval,fileio: Omit additional fsync() call | ZyX | 2017-04-01 |
| | | | | | | | | Fixes #6420 | ||
* | | unittests: Replace two environment variables with one TRACE_LEVEL | ZyX | 2017-04-01 |
| | | |||
* | | unittests: Fix linter error | ZyX | 2017-04-01 |
| | | |||
* | | unittests: Disable non-C-calls | ZyX | 2017-04-01 |
| | | | | | | | | | | | | | | Some benchmarks: TRACE_EVERYTHING: 79.45s user 12.68s system 124% cpu 1:13.94 total (default): 30.26s user 5.30s system 89% cpu 39.663 total | ||
* | | unittests: Add trace description right to the error message | ZyX | 2017-04-01 |
| | | |||
* | | unittests: Collect traces | ZyX | 2017-04-01 |
| | | | | | | | | | | | | | | | | | | | | | | Some benchmarks: MAIN_CDEFS + NO_TRACE: 3.81s user 1.65s system 33% cpu 16.140 total MAIN_CDEFS: 73.61s user 10.98s system 154% cpu 54.690 total NO_TRACE: 18.49s user 4.30s system 73% cpu 30.804 total (default): 77.11s user 14.74s system 126% cpu 1:12.79 total | ||
* | | unittests: Split itp implementation into multiple functions | ZyX | 2017-04-01 |
| | | |||
* | | unittests: Do not hang when error message is too long | ZyX | 2017-04-01 |
|/ | |||
* | ci: Do not hide ci directory (#6410) | Nikolai Aleksandrovich Pavlov | 2017-03-31 |
| | |||
* | eval/typval,api/buffer: Fix review comments | ZyX | 2017-03-29 |
| | |||
* | eval/typval: Allow NULL dict as tv_dict_get_callback() argument | ZyX | 2017-03-29 |
| | | | Also removes NULL key input: tv_dict_find() does not allow this. | ||
* | unittests: Fix linter errors | ZyX | 2017-03-29 |
| | |||
* | unittests: Add tv_get_string* tests | ZyX | 2017-03-29 |
| | |||
* | unittests: Add tv_get number tests | ZyX | 2017-03-29 |
| | |||
* | unittests: Move tv_dict_add* tests to a proper describe() block | ZyX | 2017-03-29 |
| | |||
* | unittests: Add tv_check… tests | ZyX | 2017-03-29 |
| | |||
* | unittests: Add tv_equal() tests | ZyX | 2017-03-29 |
| | |||
* | unittests: Test locks section | ZyX | 2017-03-29 |
| | |||
* | unittests: Test tv_copy() | ZyX | 2017-03-29 |
| | |||
* | unittests: Add tests for tv_clear() | ZyX | 2017-03-29 |
| |