1. 10 Jan, 2016 1 commit
  2. 24 Sep, 2015 1 commit
  3. 10 Sep, 2015 1 commit
  4. 08 Sep, 2015 1 commit
  5. 06 Sep, 2015 1 commit
  6. 28 Aug, 2015 1 commit
  7. 13 Aug, 2015 1 commit
  8. 26 Jul, 2015 4 commits
  9. 17 Jul, 2015 1 commit
    • Thiago de Arruda's avatar
      event loop: New abstraction layer with refactored time/signal API · 991d3ec1
      Thiago de Arruda authored
      - Add event loop abstraction module under src/nvim/event. The
        src/nvim/event/loop module replaces src/nvim/os/event
      - Remove direct dependency on libuv signal/timer API and use the new abstraction
        instead.
      - Replace all references to uv_default_loop() by &loop.uv, a new global variable
        that wraps libuv main event loop but allows the event loop functions to be
        reused in other contexts.
      991d3ec1
  10. 05 Jul, 2015 3 commits
  11. 01 Jul, 2015 1 commit
  12. 25 Jun, 2015 1 commit
  13. 18 May, 2015 1 commit
  14. 29 Apr, 2015 2 commits
  15. 27 Apr, 2015 1 commit
    • Eliseo Martínez's avatar
      Enable -Wconversion: normal.c. · 7c956dcb
      Eliseo Martínez authored
      Refactor summary:
      - extern int opcount --> extern long opcount
      - bool find_decl(..., int len, ...) --> bool find_decl(..., size_t len, ...)
        * int find_ident_under_cursor(...) --> size_t find_ident_under_cursor(...)
          - int find_ident_at_pos(...) --> size_t find_ident_at_pos(...)
          - int modify_fname(..., int *usedlen, ..., int *fnamelen) --> int modify_fname(..., size_t *usedlen, ..., size_t *fnamelen)
            * char_u *eval_vars(..., int *usedlen, ...) --> char_u *eval_vars(..., size_t *usedlen, ...)
              - int find_cmdline_var(..., int *usedlen) --> ssize_t find_cmdline_var(..., size_t *usedlen)
              - static char_u *repl_cmdline(..., int srclen, ...) --> static char_u *repl_cmdline(..., size_t srclen, ...)
          - bool get_visual_text(..., int *lenp) --> bool get_visual_text(..., size_t *lenp)
            * char_u *find_file_name_in_path(..., int len, ...) --> char_u *find_file_name_in_path(..., size_t len, ...)
              - static char_u *eval_includeexpr(..., int len) --> static char_u *eval_includeexpr(..., size_t len)
              - char_u *find_file_in_path(..., int len, ...) --> char_u *find_file_in_path(..., size_t len, ...)
                * char_u *find_file_in_path_option(..., int len, ...) --> char_u *find_file_in_path_option(..., size_t len, ...)
                  - char_u *find_directory_in_path(..., int len, ...) --> char_u *find_directory_in_path(..., size_t len, ...)
            * int spell_move_to(...) --> size_t spell_move_to(...)
              - int spell_check(...) --> size_t spell_check(...)
              - static int spell_bad_len --> static size_t spell_bad_len
          - void find_pattern_in_path(..., int len, ...) --> void find_pattern_in_path(..., size_t len, ...)
      Helped-by: default avatarJustin M. Keyes <justinkz@gmail.com>
      7c956dcb
  16. 13 Apr, 2015 1 commit
    • Thiago de Arruda's avatar
      deps: Add jemalloc as an optional dependency · 8a1a9b95
      Thiago de Arruda authored
      Jemalloc will be used if the cmake option `USE_JEMALLOC` is enabled(which is the
      default). To avoid trouble with clang's ASAN, it is disabled by default if the
      `SANITIZE` option is enabled.
      
      Since jemalloc has thread cache for small objects, it fills the gap created by
      removing klib memory pools.
      
      The `xstrdup` funciton(memory.c) had to be reimplemented on top of `xmalloc` to
      make it work with a custom allocator.
      8a1a9b95
  17. 07 Apr, 2015 4 commits
  18. 31 Mar, 2015 1 commit
  19. 28 Feb, 2015 1 commit
  20. 24 Feb, 2015 1 commit
  21. 19 Feb, 2015 5 commits
    • Eliseo Martínez's avatar
      Enable -Wconversion: os_unix.c. · 36340803
      Eliseo Martínez authored
      36340803
    • Eliseo Martínez's avatar
      Enable -Wconversion: keymap.c. · cbabf949
      Eliseo Martínez authored
      cbabf949
    • Eliseo Martínez's avatar
      Enable -Wconversion: indent.c. · 94db26ed
      Eliseo Martínez authored
      Note: Clint was failing because of recommending not to use long. But
      converting to long is the proper refactoring here, in as far as other
      longs exist. We could, then, disable clint rule, or remove this file
      from checking. We choose the former, as it's being discussed what to do
      with longs, but a decision has not been taken. So, it seems most
      reasonable to allow longs for now, to enable proper refactorings, and
      then, when a decision is taken, refactor all longs to some other thing.
      94db26ed
    • Eliseo Martínez's avatar
      Enable -Wconversion: mark.c. · 7dd48d7a
      Eliseo Martínez authored
      Refactoring summary:
      - MB_STRNICMP: Inlined.
      - MB_STRNCMP: Inlined.
      7dd48d7a
    • Eliseo Martínez's avatar
      Enable -Wconversion: ui.c. · 7a7c933b
      Eliseo Martínez authored
      Refactoring summary:
      - ui_write(): len: int --> size_t
          * parse_abstract_ui_codes(): len: int --> size_t
          * string_convert(): lenp: int * --> size_t *
              - string_convert_ext(): lenp      : int * --> size_t *
                                      unconvlenp: int * --> size_t *
                  * utf8len_tab_zero: char[] --> uint8_t[]
                  * iconv_string(): slen      : int --> size_t
                                    unconvlenp: int * --> size_t *
                                    resultlenp: int * --> size_t *
              - mch_print_text_out(): len: int --> size_t
          * out_pos: int --> size_t
      7a7c933b
  22. 17 Feb, 2015 2 commits
    • Thiago de Arruda's avatar
      ui: Rewrite the builtin terminal UI · 9a2dd7c4
      Thiago de Arruda authored
      Now all terminal-handling code was moved to src/nvim/tui, which implements a
      new terminal UI based on libtermkey and unibilium
      9a2dd7c4
    • Thiago de Arruda's avatar
      ui: Remove/adapt some old code for a big UI refactor · e0e41b30
      Thiago de Arruda authored
      - Remove abstract_ui global, now it is always active
      - Remove some terminal handling code
      - Remove unused functions
      - Remove HAVE_TGETENT/TERMINFO/TERMIOS/IOCTL #ifdefs
      - Remove tgetent/terminfo from version.c
      - Remove curses/terminfo dependencies
      - Only start/stop termcap when starting/exiting the program
      - msg_use_printf will return true if there are no attached UIs(
        messages will be written to stdout)
      - Remove `ex_winpos`(implement `:winpos` with `ex_ni`)
      e0e41b30
  23. 02 Feb, 2015 1 commit
  24. 24 Jan, 2015 1 commit
  25. 19 Jan, 2015 1 commit
  26. 10 Jan, 2015 1 commit