aboutsummaryrefslogtreecommitdiff
path: root/src/nvim
Commit message (Collapse)AuthorAge
...
* Merge pull request #3410 from oni-link/fix.spell_suggestJustin M. Keyes2015-10-01
|\ | | | | spell.c: Fix memory leak
| * spell.c: Fix memory leakoni-link2015-10-01
| |
* | Merge pull request #3407 from oni-link/fix.ga_concatJustin M. Keyes2015-10-01
|\ \ | |/ |/| garray.c: Prevent ga_concat() using memcpy(NULL,...)
| * garray.c: Prevent ga_concat() using memcpy(NULL,...)oni-link2015-09-30
| | | | | | | | | | | | Calling ga_grow(gap, 0) does not reallocate memory for garray gap. Because of this, gap->ga_data can be NULL after such a call, if gap does not have memory allocated.
* | eval/string(): Share code between msgpackdump() and string()+:echoZyX2015-09-30
| |
* | eval/msgpackdump(): Use copyID for protecting against recursive inputZyX2015-09-30
|/ | | Should be faster then O(depth) iteration, but removes const qualifiers.
* Merge pull request #3321 from cHoco/fix-append-api-implementation-2Justin M. Keyes2015-09-27
|\ | | | | Fix append() with negative line numbers.
| * Fix append() without line argumentEnrico Ghirardi2015-09-20
| | | | | | | | | | We want to switch include_start/end when the index is positive or negative.
* | defaults: revert wildmode to 'full'Felipe Morales2015-09-26
| |
* | ex_menu: use `bool`. #3389Pavlos Vinieratos2015-09-25
| |
* | Remove VLA from path_get_absolute_pathRui Abreu Ferreira2015-09-24
| | | | | | | | | | Remove the use of Variable Length Arrays in path_get_absolute_path(), and use xmalloc/xfree instead.
* | Enable -Wconversion: if_cscope.c #3068cztchoice2015-09-23
| | | | | | | | | | Helped-by: Gustaf Lindstedt <gustaflindstedt@gmail.com> Helped-by: Wander Nauta <info@wandernauta.nl>
* | nv_ident: sprintf => snprintfJustin M. Keyes2015-09-23
| | | | | | | | Also fix some other clint errors.
* | 'keywordprg': support ex commandsJustin M. Keyes2015-09-23
| | | | | | | | | | | | - new feature: if the first character of 'keywordprg' is ":", the command is invoked as a Vim ex-command prefixed with [count]. - change default 'keywordprg' to :Man
* | build: remove USEMAN_SJustin M. Keyes2015-09-23
|/
* eval/msgpackparse(): Fix crash by adding return at errorZyX2015-09-19
|
* terminal: Don't store a buf_T reference in the terminal structThiago de Arruda2015-09-18
| | | | | | | Since vimscript can close buffers at any time, it is possible that a refresh_timer_cb will be called with an invalid buffer, but there's no way to detect this if only a reference is stored because the memory can be reused by the allocator. Use buf_T->handle which is guaranteed to be unique.
* terminal: Run screen refresh timer in a deferred queueThiago de Arruda2015-09-18
| | | | Close #3332
* ugrid: Increase cell size to allow unicode compositionThiago de Arruda2015-09-18
| | | | Close #3323
* terminal: Don't enter terminal mode from `:normal`Thiago de Arruda2015-09-18
| | | | Ref: https://github.com/junegunn/fzf.vim/issues/8#issuecomment-139209765
* eval: Fix `ex_delfunction` to use the `uf_refcount` field properlyThiago de Arruda2015-09-18
| | | | | | @4b98ea1e80bf changed how refcounts are handled internally to fit into job control semantics. Change the refcount check in `ex_delfunction` to consider this. Close #3000
* regexp: Fix invalid multibyte reads at end of stringsThiago de Arruda2015-09-18
| | | | Close #3150
* os/path: Fix path_get_absolute_path for top-level pathsThiago de Arruda2015-09-18
| | | | Close #2833
* ui_bridge: Fix passing NULL pointer to memcpyThiago de Arruda2015-09-18
|
* options: unify undolevels defaultJakob Schnitzer2015-09-17
| | | | | Considering Nvim's supported platforms, having a different default for (!Unix and !Windows) doesn't seem very useful.
* api: vim_err_write: don't wait for return in the middle of a messageBjörn Linse2015-09-16
|
* loop: Free the parent queue last when destroying the loopThiago de Arruda2015-09-16
| | | | This avoids a heap-use-after-free ASAN error. Close #3334
* remove HAVE_DUP #1072Justin M. Keyes2015-09-12
| | | | | Vim defines this for Windows, so there's no Neovim-supported system for which this would not be defined.
* term: Do not highlight bold text by default. #3333Enrico Ghirardi2015-09-12
| | | | | It makes more sense to let the user application terminal emulator decide how to render bold text.
* Merge pull request #3322 from oni-link/fix.memory.leak.2Justin M. Keyes2015-09-10
|\ | | | | path.c: Fix memory leak in expand_wildcards().
| * path.c: Fix memory leak in expand_wildcards().oni-link2015-09-09
| | | | | | | | | | | | A file that matches with one of the patterns in 'wildignore' is ignored when using expand_wildcards(). After removing ignored files, the array of (file name) matches can be empty. But an empty array is never freed.
* | Windows: Only link against libm, libutil on Unix. #3324Rui Abreu Ferreira2015-09-10
| |
* | Merge #3297 'move.c refactor'Justin M. Keyes2015-09-10
|\ \ | |/ |/|
| * Scope variables in move.cNicolas Cornu2015-09-08
| |
| * Replace TRUE/FALSE with true/false in move.cNicolas Cornu2015-09-08
| |
| * hasFolding return bool nowNicolas Cornu2015-09-08
| |
| * hasFoldingWin now return boolNicolas Cornu2015-09-08
| |
| * win_T.w_cline_folded from int to boolNicolas Cornu2015-09-07
| |
* | Merge pull request #3298 from oni-link/vim-7.4.609Justin M. Keyes2015-09-09
|\ \ | | | | | | vim-patch:7.4.609
| * | vim-patch:7.4.609oni-link2015-09-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: For complicated list and dict use the garbage collector can run out of stack space. Solution: Use a stack of dicts and lists to be marked, thus making it iterative instead of recursive. (Ben Fritz) https://github.com/vim/vim/commit/2459a5ecaa43c8549ea53e9364253ff891676da5
* | | Merge pull request #3308 from oni-link/fix.clang.reportJustin M. Keyes2015-09-09
|\ \ \ | | | | | | | | Fix warning: stream.c: stream_init(): Dead store: HI.
| * | | Fix warning: stream.c: stream_init(): Dead store: HI.oni-link2015-09-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem : Dead store @ 59. Diagnostic : Harmless issue. Rationale : loop is a function parameter that is not used anymore after this line. Resolution : Remove line. Based on: http://neovim.io/doc/reports/clang/report-27475f.html#EndPath
* | | | api: buffer_insert: fix bounds. #3315Enrico Ghirardi2015-09-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | buffer_insert calls buffer_set_line_slice excluding the start line number and including the end, but it should be the opposite. Closes https://github.com/neovim/neovim/issues/3212 Closes https://github.com/neovim/python-client/issues/103
* | | | encoding: Update handling of encoding in testsBjörn Linse2015-09-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Always run tests with encoding=utf-8, regardless of user locale Don't set &encoding after startup in tests Helped-By: Michael Reed <m.reed@mykolab.com>
* | | | encoding: simplify handling of encoding in TUIBjörn Linse2015-09-08
| | | |
* | | | encoding: don't allow changing encoding after startup scriptsBjörn Linse2015-09-08
|/ / /
* | | Windows: disable libuv argument escaping for uv_spawn #3305Rui Abreu Ferreira2015-09-08
| | | | | | | | | | | | | | | | | | When calling uv_spawn to launch a process set the libuv process flag UV_PROCESS_WINDOWS_VERBATIM_ARGUMENTS to disable escaping for the arguments otherwise libuv will wrap arguments in quotes.
* | | MSVC: Fix declaration generation. #3301Rui Abreu Ferreira2015-09-07
|/ /
* | tui: Refactor for running in another threadThiago de Arruda2015-09-06
| |
* | ui: Implement module for thread-safe communication with UThiago de Arruda2015-09-06
| | | | | | | | | | The ui_bridge.c module implements a surrogate UI that forwards calls to another thread.