aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Merge pull request #5228 from bfredl/nullbufhlBjörn Linse2016-08-17
|\ | | | | api: handle null string in buffer_add_highlight
| * api: handle null string in buffer_add_highlightBjörn Linse2016-08-17
|/
* Merge pull request #5224 from jszakmeister/force-penlight-versionJohn Szakmeister2016-08-15
|\ | | | | Fix busted tests due to changes in penlight...
| * third-party: force the use of penlight 1.3.2-2 until busted is fixedJohn Szakmeister2016-08-15
| | | | | | | | | | | | penlight 1.4.0 changed how files are being globbed and busted hasn't been updated accordingly yet. See Olivine-Labs/busted#528 for more information.
| * third-party: don't build busted in parallel with anythingJohn Szakmeister2016-08-15
|/ | | | | luarocks has had trouble in the past with multiple build/install commands running at the same time.
* Merge pull request #5197 from bfredl/screenfixBjörn Linse2016-08-14
|\ | | | | cleanup of screen tests: remove unnecessary hl_group and ignores of highlights
| * tests: add note to expect() message about snapshot_util()Björn Linse2016-08-14
| |
| * tests: don't ignore highlights in terminal testsBjörn Linse2016-08-14
| |
| * tests: don't ignore highlights in completion_specBjörn Linse2016-08-14
| |
| * tests: don't ignore highlights in various testsBjörn Linse2016-08-14
| |
| * tests: don't ignore highlights in screen_basic_specBjörn Linse2016-08-14
| |
| * tests: don't ignore highlights in mouse_specBjörn Linse2016-08-14
| |
| * tests: don't ignore highlights in syntax_conceal_specBjörn Linse2016-08-14
| |
| * tests: don't ignore highlights in highlight_specBjörn Linse2016-08-14
| |
| * tests: don't ignore highlights in searchhl_specBjörn Linse2016-08-14
| |
| * tests: don't ignore highlights in bufhl_specBjörn Linse2016-08-14
| |
| * tests: remove deprecated hl_colorsBjörn Linse2016-08-14
|/
* scripts/vim-patch.sh: fix typo (#5221)Daniel Hahler2016-08-14
| | | [ci skip]
* Windows: get_past_head() (#5199)Rui Abreu Ferreira2016-08-13
| | | | | | | | | | Reported in #4955, get_past_head() is supposed to return a pointer after the head of the path (/ in UNIX, c:\ in Windows) but the windows case was removed. Removed the Mac reference in the comment, since there no special handling for Mac. vim-patch:0
* man.vim: doc fixes #5171Anmol Sethi2016-08-13
| | | | | | | | | | | | | | - Weird tab+space combination used for alignment. All spaces now - Added back <C-T> mapping (somehow we missed that completely) - Fixed mistake that <Plug>(Man) opens in a new tab. Also added note at top on how the window is chosen/opened. - Clarified q local mapping - Removed section that shows an example autocmd to add desired folding style. - Removed random line in `usr_12.txt` about `<Leader>` and backslash. - :Man supports completion, not auto-completion. Closes #5171
* Prevent endless loop in printdigraph(). (#5215)oni-link2016-08-11
| | | | | | | | Calling printdiagraph() with msg_silent != 0 can result in an endless loop because the loop condition never changes, if msg_col is never changed. To fix this, calculate the number of iterations before the loop, which is always smaller than list_width.
* Merge #5214 from jamessan/browse-modifierJustin M. Keyes2016-08-11
|\ | | | | Re-add ":browse" command modifier and use it with ":oldfiles"
| * lintJames McCoy2016-08-11
| |
| * Restore ":browse oldfiles" behavior from VimJames McCoy2016-08-11
| | | | | | | | | | | | | | | | | | | | | | | | In 3b12bb225adda2aac40a55f7009cae05311b2a43, ":oldfiles" was taught to behave like Vim's ":browse oldfiles" if ":oldfiles!" was used. However, this conflates the use of ! for abandoning a modified buffer with choosing one file out of a list of oldfiles. Now that ":browse" is supported again, ":browse oldfiles" will allow the user to select an old file, while still complaining if that would cause a modified buffer to be abandoned. ":browse oldfiles!" will just abandon the buffer, as expected.
| * Re-add support for the :browse command modifierJames McCoy2016-08-11
| |
* | Merge pull request #5213 from blueyed/unset-cdpath-with-vim-patchJames McCoy2016-08-11
|\ \ | |/ |/| scripts/vim-patch.sh: use "set -p"
| * scripts/vim-patch.sh: use privileged mode (set -p)Daniel Hahler2016-08-11
| | | | | | | | | | | | | | | | | | Without this the "cd scripts/.." might change to another dir (since CDPATH is looked at before a local path), and then NEOVIM_SOURCE_DIR might end up being "/somewhere/else\n/somewhere/else" (since the "cd" prints the dir already in that case). Closes https://github.com/neovim/neovim/pull/5213.
* | Merge pull request #5212 from nhooyr/ignore-resJames McCoy2016-08-11
|\ \ | |/ |/| ignore .res files generated by the tests in testdir
| * ignore .res files generated by the tests in testdirAnmol Sethi2016-08-11
|/
* Merge pull request #5192 from bfredl/closetimeBjörn Linse2016-08-10
|\ | | | | timer: do not crash when processing events in the handler
| * timers: do not crash after processing events in the handlerBjörn Linse2016-08-10
|/
* docJustin M. Keyes2016-08-10
|
* Merge #5188 from justinmk/travis-test-hackJustin M. Keyes2016-08-09
|\ | | | | Disable test on Travis macOS/OSX.
| * test: Fix os_name() call.Justin M. Keyes2016-08-09
| |
| * XXX: CI: Disable hanging test on Travis OSX.Justin M. Keyes2016-08-09
| | | | | | | | | | | | | | | | | | | | | | | | Temporary change to avoid frequent hangs on Travis macOS/OSX builds. Hang does not occur on Quickbuild OSX (Yosemite) build. Reverting e9061117a5b8f195c3f26a5cb94e18ddd7752d86 avoids the hang, but causes more serious regressions on many more systems. Note that the job_spec hang only happens with the gcc-4.9 Travis OSX build. References #5002 References #5029
* | man.vim: use -range instead of -count (#5203)Anmol Sethi2016-08-09
| | | | | | | | | | | | | | | | | | | | | | | | With -count, if the first argument is a number, it is made available with <count>. Problem is, there is always a default count it is impossible to tell whether the user set it. Since v:count and v:count1 still work with 'keywordprg', -count is unnecessary. But 'keywordprg' still calls ':Man' with a count prefixed. So it must still accept a count in the line number position, but not consume the first argument. This is done with -range. Fixes #5202.
* | Merge #5184 from equalsraf/windows-literal-path-sepsJustin M. Keyes2016-08-09
|\ \ | | | | | | Windows: Remove use of literal path separators
| * | Appveyor: Generate helptags and build artifactsRui Abreu Ferreira2016-08-09
| | | | | | | | | | | | | | | | | | | | | | | | Build the default CMake target now that helptag generation is working again. For build artifacts create a zip file with an instalation of Neovim (generated by cpack).
| * | Windows: Don't use literal path separatorsRui Abreu Ferreira2016-08-09
|/ / | | | | | | | | | | | | | | Per #2471, some path handling functions hardcode the UNIX path separator '/' causing them to fail in Windows. When BLACKSLASH_IN_FILENAME is set we may have to check against psepc and psepcN instead of PATHSEP or use vim_ispathsep_nocolon().
* | Merge pull request #5195 from jamessan/masterJames McCoy2016-08-08
|\ \ | |/ |/| Set the default value for 'packpath'
| * Set the default value for 'packpath'James McCoy2016-08-08
|/ | | | | | | | As noted in “:help 'packpath'”, the default value is supposed to be the same as that for 'runtimepath'. This was missed in the original port of the packages functionality from Vim. Closes #5193
* man.vim: handle empty identifier from mapping (#5187)Anmol Sethi2016-08-08
| | | | | Regression from #5168. Also changed the Man command's nargs to '+' so that man#open_page does not need to handle 0 arguments, because that will never occur.
* Merge #5025 'input.c: Restore double click'Justin M. Keyes2016-08-07
|\
| * test: mouse_specJustin M. Keyes2016-08-07
| | | | | | | | | | | | | | - Use the default buffer text provided by before_each (avoids extra steps and makes the tests more consistent with each other) - Indent - Adjust help doc
| * lintsach1t2016-08-07
| |
| * test: Add tests for double, triple, and quadruple clicksach1t2016-08-07
| |
| * input.c: restore double clicksach1t2016-08-07
| |
* | Merge #5185 from justinmk/readfile-permJustin M. Keyes2016-08-07
|\ \ | | | | | | readfile(): Ensure `perm` for non-Unix.
| * | win32: readfile(): Directories should not show "[Permission Denied]".Justin M. Keyes2016-08-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 77135447e09903b45d1482da45869946212f7904 introduced: if (!newfile) { return FAIL; } which changed the semantics of the un-braced `else` in the `#ifndef UNIX` block immediately above it. This commit restores the semantics of Vim. Until now it mostly worked by accident, but on Windows it would mean that opening a directory would show "[Permission Denied]".
| * | readfile(): Ensure `perm` for non-Unix.Justin M. Keyes2016-08-07
| | | | | | | | | | | | | | | | | | In the (!read_buffer && !read_stdin) case, always set `perm` for all platforms. This also means we no longer need to set `perm` in the case of (fd < 0) for non-Unix.