aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Add unit tests for mch_[gs]etperm.Thomas Wienecke2014-03-15
| | | | | Use preprocessor trick proposed by @mahkoh to import 'defines' like S_IRUSR.
* Moved more functions from misc1.c to indent.cJohn2014-03-15
|
* Use include paths relative to src/James McCoy2014-03-14
| | | | | | | | | | As described in Google's style guide, the basis for Neovim's > All of a project's header files should be listed as descendants of the > project's source directory without use of UNIX directory shortcuts . > (the current directory) or .. (the parent directory). Add src as an include directory to facilitate this.
* Adapt include guards to the style guideJames McCoy2014-03-14
|
* Extract indent_c.c from misc1.cJohn2014-03-14
|
* Remove useless sizeof(uint32_t) == 4 testFelipe Oliveira Carvalho2014-03-14
|
* Replace UINT32_T by uint32_tFelipe Oliveira Carvalho2014-03-14
|
* Include <stdint.h> in types.hFelipe Oliveira Carvalho2014-03-14
|
* add .vimrc and src/.ycm_extra_conf.pyJulian Orth2014-03-14
|
* Remove remaining hangul-related codeThiago de Arruda2014-03-14
|
* Fix: Use an assert to make sure, an error message can be copied into buffer ↵oni-link2014-03-13
| | | | | | buf in mch_dirname(). The copied error message is NUL-terminated.
* refactored part of expand_env_esc() into mch_get_user_directory()Stefan Hoffmann2014-03-13
|
* removed get_user_name() and replaced calls with mch_get_user_name()Stefan Hoffmann2014-03-13
|
* moved mch_get_user_name() and mch_get_uname() into os/users.cStefan Hoffmann2014-03-13
|
* refactored logic from init_users() into mch_get_usernames()Stefan Hoffmann2014-03-13
|
* Refactor travis build to use clang's sanitizersThiago de Arruda2014-03-13
| | | | | | | | | | | - Valgrind configuration removed - Fix errors reported by the undefined behavior sanitizer - Travis will now run two build steps: - A normal build of a shared library for unit testing(in parallel with gcc) - A clang build with some sanitizers enabled for integration testing. After these changes travis will run much faster, while providing valgrind-like error detection.
* Remove CURSOR_SHAPE #ifdef testsFelipe Oliveira Carvalho2014-03-10
| | | | See issue #333
* Extract cursor_shape.c from misc2.c and types/consts from structs.hFelipe Oliveira Carvalho2014-03-10
|
* Move exarg_T and cmdarg_T from structs.h to normal.hFelipe Oliveira Carvalho2014-03-09
|
* Extract pos.h from structs.hFelipe Oliveira Carvalho2014-03-09
| | | | | This will make it much simpler to move the other types in structs.h which depend on `pos_T` and `lpos_T`.
* Change neo* configurations to n* configurationsWilberto2014-03-09
|
* use more verbose output type for unittests on travisStefan Hoffmann2014-03-08
|
* Fix bugs, clean code, add tests.Thomas Wienecke2014-03-07
| | | | | | | | * 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.
* Remove unused return values.Thomas Wienecke2014-03-07
|
* Move definition of helper function below their usage.Thomas Wienecke2014-03-07
|
* Simplify mch_can_exe extracting is_executable_in_path.Thomas Wienecke2014-03-07
|
* Declare is_executable as static and remove its unit tests.Thomas Wienecke2014-03-07
| | | | | | 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.
* Move mch_can_exe, executable_file to os/fs.c.Thomas Wienecke2014-03-07
| | | | * Rename executable_file to is_executable.
* Add another unit test to mch_can_exe.Thomas Wienecke2014-03-07
|
* Make script portable across Python versionsSteven Myint2014-03-07
| | | | Support both Python 2 and 3.
* Added MODIFIED_BY and updated version information.scott-linder2014-03-07
|
* Fix memory leak in `eval7`Thiago de Arruda2014-03-07
|
* Fix `free_all_mem` and EXITFREE definitionThiago de Arruda2014-03-07
| | | | | | | | | 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.
* Issue #311 - Clean up arabic.c, arabic.h, farsi.c, farsi.h. Tweaks to ↵David Z. Chen2014-03-07
| | | | uncrustify.cfg.
* Remove hangul input supportThiago de Arruda2014-03-07
| | | | | | | | | | | | | 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.
* Use check_function_exists() to check for _NSGetEnviron().John Szakmeister2014-03-07
| | | | | | 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
* Move some types and consts from structs.h to other headersFelipe Oliveira Carvalho2014-03-07
| | | | | | | | | | - `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`
* Move garray_T from structs.h to garray.hFelipe Oliveira Carvalho2014-03-07
|
* Fix memory leak and enable valgrind on travisThiago de Arruda2014-03-07
|
* Luarocks appears to be down, so let's use the mirror for now.John Szakmeister2014-03-07
|
* cleanup environment variable handling + unit testsStefan Hoffmann2014-03-06
| | | | | | | | * 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
* Fix style issues.Thomas Wienecke2014-03-06
| | | | | | | | * 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.
* Extract keymap.c from misc2.cFelipe Oliveira Carvalho2014-03-06
|
* Extract crypt.c from misc2.cFelipe Oliveira Carvalho2014-03-06
|
* Issue #66 - Add lint tool and uncrustify config. Update contributing ↵David Z. Chen2014-03-05
| | | | documentation on coding style.
* Remove USE_SYSTEM and code only run under USE_SYSTEMSimen Endsjø2014-03-05
|
* Implement pending test.Thomas Wienecke2014-03-05
|
* Port mch_isdir to libuv.Thomas Wienecke2014-03-05
|
* Add unit tests for executable_file and mch_can_exe.Thomas Wienecke2014-03-05
| | | | Caution: There is a pending test which should be implemented.
* Remove static declaration of executable_file.Thomas Wienecke2014-03-05
| | | | | 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.