aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * | 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.
* | | | doc: Add if_ruby.txt to doc/help.txt (#5186)Alex Genco2016-08-07
|/ / /
* | | Merge #5130 from equalsraf/tb-appveyorJustin M. Keyes2016-08-07
|\ \ \ | | | | | | | | Enable MSYS/MinGW builds in Appveyor
| * | | Create os_translate_sys_error()Rui Abreu Ferreira2016-08-07
| | | | | | | | | | | | | | | | | | | | | | | | Wrap up uv_translate_sys_error and fallbacks into a new function os_translate_sys_error(). In windows a copy of the original uv_translate_sys_error() was imported from libuv.
| * | | Fix vim-patch:7.4.689Rui Abreu Ferreira2016-08-07
| | | |
| * | | Windows: Fix functionaltest fixturesRui Abreu Ferreira2016-08-07
| | | |
| * | | third-party: Pass along cmake generator in luv recipeRui Abreu Ferreira2016-08-07
| | | |
| * | | third-party: Build libvterm in MinGWRui Abreu Ferreira2016-08-07
| | | | | | | | | | | | | | | | | | | | Add build recipe for libvterm in MinGW, a CMakeLists.txt file is bundled in third-party/cmake/.
| * | | third-party: Create path in CopyFilesGlob.cmakeRui Abreu Ferreira2016-08-07
| | | |
| * | | Build third-party deps in MinGWRui Abreu Ferreira2016-08-07
| | | | | | | | | | | | | | | | | | | | Added recipes to build bundled dependencies in native MinGW toolchains - libuv, luajit, luarocks, msgpack
| * | | MSVC: Build third-party dependencies as release DLLsRui Abreu Ferreira2016-08-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using /MT was causing issues when building luarocks, revert it, use the dynammic runtime and generate release DLLs for the dependencies. Some refactoring was required because for linking cmake looks for the import libraries (.lib) but on runtime executables we need the .dll files to be in the same folder. The DLLs are placed in the bin/ folder in order for nvim.exe to run during the build and tests. The install target installs the DLLs with the nvim binary - uses GetPrerequisites to find runtime DLLs. Some minor issues that required adjustments: - [MSVC] FindMsgpack.cmake now looks for msgpack_import.lib instead of msgpack.lib - The lua-client fails to find libuv.lib, instead it looks for uv.lib, added second copy of the file to the install command. - [MSVC] CMAKE_BUILD_TYPE affects the output paths, default to Release. Part of these changes are credited to @jasonwilliams200OK who fixed the third-party recipes to consistently use the same build type.
| * | | MinGW Appveyor buildsRui Abreu Ferreira2016-08-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Build for MinGW x86/x86_64. Move build scripts out of the yml file into separate batch files. - The MinGW builds use MSYS to get runtime dependencies, but they do not link against the POSIX adaptation layer. - For now only build the nvim.exe binary, but not the helptags.
| * | | Travis: Remove MinGW buildsRui Abreu Ferreira2016-08-01
| | | | | | | | | | | | | | | | | | | | MinGW builds in Travis have been disabled for a while now, and some of the upcoming patches will break cross compilation even further.
* | | | man.vim: handle 'gdefault' (#5182)Anmol Sethi2016-08-07
| | | | | | | | | | | | Fixes #5181
* | | | Merge #5168 from nhooyr/man-rewriteJustin M. Keyes2016-08-07
|\ \ \ \ | |_|/ / |/| | | man.vim: default mapping and general improvements
| * | | man.vim: buffers are now listedAnmol Sethi2016-08-07
| | | | | | | | | | | | | | | | | | | | - Since the names are set and ':vsplit printf(3)' work, there is no need to unlist them.
| * | | man.vim: refactoring and autocmd fixAnmol Sethi2016-08-07
| | | | | | | | | | | | | | | | | | | | | | | | - man#open_page_command and man#open_page_mapping are now a single function - New autocmd to fix #5172
| * | | man.vim: default K mappingAnmol Sethi2016-08-06
|/ / / | | | | | | | | | - Also some small improvements in other parts.
* | | man.vim: small syntax improvements (#5170)Anmol Sethi2016-08-06
| | |
* | | Merge #4449 'man.vim'Justin M. Keyes2016-08-04
|\ \ \
| * | | man.vim: doc, UX tweaksJustin M. Keyes2016-08-04
| | | | | | | | | | | | | | | | s:error: Convention is to highlight the entire message, so stick to that.
| * | | man.vim: rewriteAnmol Sethi2016-08-04
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Smart autocomplete. It's automatically sorted, filtered for duplicates and even formats the candidates based on what is needed. For example, `:Man 1 printf<TAB>` will show the pages that are in section 1m as 'page(sect)' to let you know they are in a more specific section. - Instead of trying to unset $MANPAGER we use the -P flag to set the pager to cat - Always use the section arg '-s', it makes the code much simpler (see comment in s:man-args). - A manpage name starting with '-' is invalid. It's fine for sections because of the use of '-s'. - The tagstack is an actual stack now, makes it much simpler. - By using v:count and v:count1, the plugin can explicitly check whether the user set a count, instead of relying on a default value (0) that is actually a real manpage section. - Extraction of a manpage reference is much more simple. No giant long complicated regexes. Now, the plugin lets `man` handle the actual validation. We merely extract the section and page. Syntax regexes are a bit more specific though to prevent highlighting everything. - Multilingual support in the syntax file. Removed the cruft that was only relevent to vim. Also simplified and improved many of the regexes. - Using shellescape when sending the page and sect as arguments - In general, the code flow is much more obvious. - man#get_page has been split up into smaller functions with explicit responsibilties - ':help' behavior in opening splits and manpages - Comments explaining anything that needs explaining and isn't immediately obvious. - If a manpage has already been loaded but if it were to reloaded at the current width which is the same as the width at which it was loaded at previously, it is not reloaded. - Use substitute to remove the backspaced instead of `col -b`, as the latter doesn't work with other languages. - Open paths to manpages - It uses cWORD instead of cword to get the manpage under the cursor, this helps with files that do not have (,) in iskeyword. It also means the plugin does not set iskeyword locally anymore. - <Plug>(Man) mapping for easy remapping - Switched to single quotes wherever possible. - Updated docs in $VIMRUNTIME/doc/filetype.txt (still need to update user-manual) - Always call tolower on section name. See comment in s:extract_page_and_sect_fpage - Formatting/consistency cleanup - Automatically map q to ':q<CR>' when invoked as $MANPAGER - It also fully supports being used as $MANPAGER. Setting the name and stuff automatically. - Split up the setlocals into multiple lines for easier readability - Better detection of errors by redirecting stderr to /dev/null. If an error occured, stdout will be empty. - Functions return [sect, page] not [page, sect]. Makes more sense with how man takes the arguments as sect and then page. - Pretty prints errors on a single line. - If no section is given, automatically finds the correct section for the buffer name. It also gets the correct page. See the comment in s:get_page - If $MANWIDTH is not set, do not assign directly to $MANWIDTH because then $MANWIDTH will always stay set to the same value as we only use winwidth(0) when the global $MANWIDTH is empty. Instead we set it locally for the command. - Maintainer notes on all files.
* | | ex_messages: remove 'Messages maintainer' (#5160)Anmol Sethi2016-08-04
| | |
* | | Merge #4964 from ZyX-I/no-xdg-expandJustin M. Keyes2016-08-04
|\ \ \ | | | | | | | | option: Do not expand options, obtained from XDG vars
| * | | option: Silence linterZyX2016-07-10
| | | |