1. 15 May, 2014 2 commits
    • Eliseo Martínez's avatar
      Introduce nvim namespace: Fix localization. · 3b523ec6
      Eliseo Martínez authored
      - Fix executable path.
      - Make po file title similar as others.
      3b523ec6
    • Eliseo Martínez's avatar
      Introduce nvim namespace: Fix functional tests. · 2ababe5a
      Eliseo Martínez authored
      Fix some paths to new locations:
      - Makefile: Fix nvim binary path.
      - test49  : 459: Fix nvim binary path.
      - test89  :  62: Fix testdir root.
                       Fix corresponding expected result.
      - test105 :  10: Testing fnamemodify to reduce path to use ~ prefix.
                       Fix faked home directory.
                       Fix corresponding expected result.
                   26: Testing fnamemodify with r modifier.
                       Fix out-of-project prefix removal.
                       Fix corresponding expected result.
      2ababe5a
  2. 31 Mar, 2014 1 commit
  3. 27 Mar, 2014 1 commit
    • Thiago de Arruda's avatar
      Re-integrate FEAT_FILTERPIPE code · e995b215
      Thiago de Arruda authored
      This feature was accidentally removed when doing the initial import from vim. It
      makes vim use pipes instead of temporary files for filtering buffers through
      shell commands.
      
      I found that this was missing when looking for references of
      SHELL_READ/SHELL_WRITE outside mch_call_shell`.
      
      When `mch_call_shell` is reimplemented on top of libuv process management
      facilities, pipes will always be used for communication with child processes so
      it makes sense to enable the feature permanently.
      e995b215
  4. 15 Mar, 2014 1 commit
  5. 13 Mar, 2014 1 commit
    • Thiago de Arruda's avatar
      Refactor travis build to use clang's sanitizers · f6ace996
      Thiago de Arruda authored
      - 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.
      f6ace996
  6. 07 Mar, 2014 1 commit
    • Thiago de Arruda's avatar
      Fix `free_all_mem` and EXITFREE definition · 2f1a2eb0
      Thiago de Arruda authored
      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.
      2f1a2eb0
  7. 03 Mar, 2014 1 commit
    • Caleb Spare's avatar
      Anchor gitignore paths · 7e8c8cf5
      Caleb Spare authored
      This makes the intention more explicit and avoid any accidental
      matching elsewhere in the tree.
      
      Conflicts:
      	.gitignore
      7e8c8cf5
  8. 28 Feb, 2014 1 commit
    • Scott Nielsen's avatar
      Use cmake module instead of shared for nvim-test · 79882bc7
      Scott Nielsen authored
      On a Mac using shared creates libnvim-test.dylib which cannot be found
      by the hardcoded .so extension in helpers.moon, causing the unittests to
      fail. However, using module creates libnvim-test.so, allowing the tests
      to run. There will still be problems running the tests on windows,
      because both shared and module create dll file which will not be found
      by in helpers.moon.
      79882bc7
  9. 27 Feb, 2014 1 commit
    • Thiago de Arruda's avatar
      Add basic infrastructure for unit testing · d04ca90f
      Thiago de Arruda authored
      Tests will be written using the [moonscript](http://moonscript.org/) language,
      a lua 'dialect' that is whitespace-significant and has a syntax similar to
      coffeescript. The test framework used is [busted](http://olivinelabs.com/busted/),
      a bdd framework for lua/moonscript.
      
      Luajit has a nice ffi module, which lets lua programs link shared libraries and
      call it's functions without writing any C code.
      
      To take advantage of this fact for testing C functions, a new target was added
      to CMakeLists.txt, which compiles neovim as a shared library that is loaded by
      the process running the tests.
      
      This commit adds necessary code for downloading and installing a lua package
      manager(luarocks) locally. It wasn't added as a subtree because there are quite
      a few blobs in its source tree.
      d04ca90f
  10. 26 Feb, 2014 1 commit
  11. 25 Feb, 2014 1 commit
  12. 24 Feb, 2014 1 commit
  13. 22 Feb, 2014 1 commit
  14. 01 Feb, 2014 2 commits
  15. 31 Jan, 2014 1 commit
    • Thiago de Arruda's avatar
      Import vim from changeset v5628:c9cad40b4181 · 72cf89bc
      Thiago de Arruda authored
      - Cleanup source tree, leaving only files necessary for compilation/testing
      - Process files through unifdef to remove tons of FEAT_* macros
      - Process files through uncrustify to normalize source code formatting.
      - Port the build system to cmake
      72cf89bc