1. 19 May, 2014 7 commits
  2. 18 May, 2014 1 commit
  3. 17 May, 2014 12 commits
  4. 15 May, 2014 8 commits
    • Eliseo Martínez's avatar
      Introduce nvim namespace: Fix define guards. · 5f795225
      Eliseo Martínez authored
      Change define guards from NEOVIM_XXX_H to NVIM_XXX_H:
      - Change header files.
      - Change clint correct guard name calculation.
      5f795225
    • 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
    • Eliseo Martínez's avatar
      Introduce nvim namespace: Fix unmasked strings.h issue. · 762a8ad0
      Eliseo Martínez authored
      Problem:  Now that nvim/strings.h is correctly namespaced, an issue
                that had been masked until now arises:
      
                When compiling, we get a lot of errors because of everywhere
                the functions in nvim/strings.h are used, there's no include
                to import them.
      
                But, how could this compile and work previously, then? It
                turns out that:
                - In every such case, we are also including vim.h, which in
                  turn includes os_unix_defs.h.
                - os_unix_defs.h includes <string.h> and also <strings.h> in
                  some systems (e.g. OSX).
                - Build had been modified previously to (even when importing
                  system headers), prefer equally-named local ones. That was
                  in fact done as a previous attempt to solve the same issue
                  we are trying to solve another way now.
      
                So, we were including our "strings.h" as a side-effect of
                including <strings.h> through "vim.h" --> "os_unix_defs.h".
      
      Solution: Correctly include "nvim/strings.h" in every file needing it.
      762a8ad0
    • Eliseo Martínez's avatar
      Introduce nvim namespace: Fix project-local includes. · 409cc138
      Eliseo Martínez authored
      Prepend 'nvim/' in all project-local (non-system) includes.
      409cc138
    • Eliseo Martínez's avatar
      Introduce nvim namespace: Fix relative includes. · e731a5ed
      Eliseo Martínez authored
      Problem:  Some newly introduced files used includes relative to the
                current file, both of the form `include "../XXX.h"` and
                `include "XXX.h"`.
                Preferred form is relative to include root (src/ in our case).
      Solution: Change includes to preferred form.
      Note:     This is also done to ease next commit (prepend 'nvim/ to all
                project-local includes).
      e731a5ed
    • Eliseo Martínez's avatar
      Introduce nvim namespace: Fix build process. · a6734844
      Eliseo Martínez authored
      - Leave src as include dir (for includes to recognize 'nvim/' prefix).
      - Change subdirectory from src to src/nvim.
      - Fix msgpack generation.
      - Fix some other paths to new locations.
      a6734844
    • Eliseo Martínez's avatar
      Introduce nvim namespace: Move files. · da51dc9c
      Eliseo Martínez authored
      Move files from src/ to src/nvim/.
      - src/nvim/ becomes the new root dir for nvim executable sources.
      - src/libnvim/ is planned to become root dir of the neovim library.
      da51dc9c