| Commit message (Collapse) | Author | Age |
... | |
| |
|
| |
|
|
|
|
|
| |
This will make it much simpler to move the other types in structs.h
which depend on `pos_T` and `lpos_T`.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* Add const specifiers, update comments, add assert.
* Move os_unix.moon tests to os/fs.moon + clean tests.
* Add uv_fs_req_cleanup call.
* Add tests with absolute paths to mch_isdir.
* Add to_cstr to test/unit/helpers.moon and fix respective unit tests.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Testing the public interface mch_can_exe should suffice. Every former
test of is_executable has a counterpart in the tests of mch_can_exe.
Thus we can keep private things private.
|
|
|
|
| |
* Rename executable_file to is_executable.
|
| |
|
|
|
|
| |
Support both Python 2 and 3.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Because of the '$' in `if(DEFINED $ENV{VALGRIND_CHECK})` EXITFREE wasn't being
defined, so the `free_all_mem` wasn't being included or called in the resulting
binary.
This commit fixes that, and also adds includes needed for `free_all_mem`
compilation.
|
|
|
|
| |
uncrustify.cfg.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Vim [documentation](http://vimdoc.sourceforge.net/htmldoc/hangulin.html), says
that hangul support is scheduled to be removed. I think it's safe to say we
don't want to support a feature even vim is considering removing.
Everything still compiles even after removing the header, so it's not being
used.
Before doing the initial import to neovim's repository, I had to tweak this
module to make it compile for terminal. It was a mistake that is now being
corrected.
|
|
|
|
|
|
| |
This avoids a compiler generated warning which result in failing to find
the function with -Werror active. You could argue this is a bug in
CMake: http://public.kitware.com/Bug/view.php?id=13208
|
|
|
|
|
|
|
|
|
|
| |
- `foldinfo_T` to `fold.h`
- `context_sha256_T` to `sha256.h`
- `tagname_T` to `tag.h`
- `pumitem_T` to `popupmnu.h`
- `prt_*_T` to hardcopy.h`
- `CPT_*` consts to `edit.h`
- `vimmenu_T`, `MNU_HIDDEN_CHAR`, and `MENU_*` constants to `menu.h`
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* removed a putenv() implementation which isn't needed anymore
* mch_getenv() and mch_setenv() are now functions in src/os/env.c
* removes direct calls to getenv() and setenv() outside of src/os/env.c
* refactored the logic of get_env_name into mch_getenvname_at_index
* added unittests for the functions in os/env.c
|
|
|
|
|
|
|
|
| |
* Rename mch_full_name to mch_get_absolute_path.
* Rename mch_is_full_name to mch_is_absolute_path.
* Add a lot of missing parentheses.
* Remove yoda-conditions for consistency.
* Remove spaces in function declaration.
|
| |
|
| |
|
|
|
|
| |
documentation on coding style.
|
| |
|
| |
|
| |
|
|
|
|
| |
Caution: There is a pending test which should be implemented.
|
|
|
|
|
| |
Since static functions are only visible in the file in which they are
defined, this needs to be done in order to unit test the function.
|
| |
|
| |
|
|
|
|
|
| |
Redefine macro constants as enums in the ffi and import those in their
respective test modules.
|
| |
|
|
|
|
|
|
|
|
|
| |
* Rename mch_FullName to mch_full_name to match the style guide.
* Add mch_full_dir_name, which saves the absolute path of a given
directory relative to cwd into a given buffer.
* Add function append_path, which glues together two given paths with a
slash.
* Adapt moonscript coding style to the tests.
|
|
|
|
|
|
|
|
| |
This makes the intention more explicit and avoid any accidental
matching elsewhere in the tree.
Conflicts:
.gitignore
|
| |
|
|
|
|
| |
My little contribution to #209.
|
|
|
|
|
|
|
| |
There were two memory management implementations,
standard malloc-based, and a custom allocator.
Removed in rev 2230 in the Mercurial repo.
|
|
|
|
|
|
|
| |
Code under HAVE_STACK_LIMIT is not used.
The definition was commented out in rev 180 of the original
Mercurial repo, and then completely removed in rev 2520,
but the code guarded by it was left in.
|
| |
|
| |
|
|
|
|
|
| |
This makes all warnings errors. We don't want any warnings, so we should
enforce that.
|
|
|
|
|
|
|
|
|
| |
This is a squash of all commits sent to #81.
- Remove unused undef of __ARGS.
- Fix mch_rename declaration.
- Follow changes related to moved & extracted files.
- Properly indent function declarations of getchar.h and quickfix.c.
|
| |
|
|
|
|
| |
I now also do make install
|
| |
|