aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* | | | | job control: reuse common job code for rpc jobsBjörn Linse2016-08-20
| | | | | | | | | | | | | | | | | | | | This makes stderr and exit callbacks work for rpc jobs
* | | | | stream: set data together with callbackBjörn Linse2016-08-20
| | | | |
* | | | | build: initialize variable (#5194)Matt Fowles Kulukundis2016-08-19
| | | | |
* | | | | Merge #5198 from equalsraf/windows-path-is-absoluteJustin M. Keyes2016-08-18
|\ \ \ \ \ | |/ / / / |/| | | | Windows: path_is_absolute()
| * | | | path.c: Avoid code duplication for path separator checksRui Abreu Ferreira2016-08-18
| | | | |
| * | | | Windows: Check drive letter in absolute pathsRui Abreu Ferreira2016-08-18
| | | | | | | | | | | | | | | | | | | | | | | | | Check if drive letter is alphabetic character in path_is_absolute_path().
| * | | | Add Windows support to path_is_absolute()Rui Abreu Ferreira2016-08-18
| | | | | | | | | | | | | | | | | | | | vim-patch:0
* | | | | vim-patch:7.4.2112 (#5175)Shougo2016-08-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: getcompletion(.., 'dir') returns a match with trailing "*" when there are no matches. (Chdiza) Solution: Return an empty list when there are no matches. Add a trailing slash to directories. (Yegappan Lakshmanan) Add tests for no matches. (closes vim/vim#947) https://github.com/vim/vim/commit/b56195ed00a9a79aa6217cddbeedbc8cc7a5b6d8
* | | | | api: handle null string in buffer_add_highlightBjörn Linse2016-08-17
|/ / / /
* | | | 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
* | | | 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.
* | | | 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
| | | |
* | | | timers: do not crash after processing events in the handlerBjörn Linse2016-08-10
| | | |
* | | | 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().
* | | | 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
* | | | Merge #5025 'input.c: Restore double click'Justin M. Keyes2016-08-07
|\ \ \ \
| * | | | lintsach1t2016-08-07
| | | | |
| * | | | input.c: restore double clicksach1t2016-08-07
| | | | |
* | | | | 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.
* | | | | 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
| | | | |
| * | | | 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.
* | | | | 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
| | | | | |
| * | | | | option: Also escape commas in options other then &runtimepathZyX2016-07-10
| | | | | |
| * | | | | option.h: Turn OPT_* list into a enumZyX2016-07-10
| | | | | |
| * | | | | option: Also do not expand XDG defaults with set&ZyX2016-07-10
| | | | | |
| * | | | | option: Do not expand options, obtained from XDG varsZyX2016-07-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is a wrong thing to do, this makes valid variable values be treated incorrectly: in XDG_DATA_HOME='/home/$foo/.local/share' `$foo` should be treated literally and not expanded to `foo` environment variable value. Also makes option_expand not try to expand too long strings even if these too long strings are default values. Previously it thought that default values should always be expanded. Also does not try to expand NULL should it be the default value just in case. Fixes #4961
* | | | | | Merge #5159 from justinmk/readfile-readonly-checkJustin M. Keyes2016-08-04
|\ \ \ \ \ \
| * | | | | | readfile(): readonly: Also check "not writable".Justin M. Keyes2016-08-04
| | | | | | |
| * | | | | | readfile(): Less-destructive readonly check.Shougo Matsushita2016-08-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #4162 Fixes #4200 Closes #4944 Regression by 4a138137f78907703aa9215b45f46b8f37d84ae5. That commit mentions a "possible race condition" but the cost isn't worth the (unexplained) gain.
* | | | | | | Merge pull request #5148 from munyari/vim-7.4.1603Björn Linse2016-08-04
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | [RFC] version.c: add completed patches
| * | | | | | version.c: add completed patchesPanashe M. Fundira2016-08-01
| | |/ / / / | |/| | | |
* | | | | | vim-patch:7.4.1557 (#5117)prollings2016-08-04
| |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | Problem: Windows cannot be identified. Solution: Add a unique window number to each window and functions to use it. https://github.com/vim/vim/commit/86edef664efccbfe685906c854b9cdd04e56f2d5
* | | | | vim-patch:7.4.1673 (#5141)Panashe Fundira2016-08-03
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: The justify plugin has to be copied or sourced to be used. Solution: Turn it into a package. https://github.com/vim/vim/commit/2946d0236dc9e23ec0050feacdb959b9ae5672a8 Justification for changes that do not carry over - `Filelist` does not exist in neovim - neovim does not have a `README.txt` in `runtime/macros`
* | | | Merge #4837 from justinmk/os_resolve_shortcutJustin M. Keyes2016-08-01
|\ \ \ \ | | | | | | | | | | os_resolve_shortcut
| * | | | os_resolve_shortcut: Report conversion error.Justin M. Keyes2016-07-30
| | | | |
| * | | | mbyte.c: Move utf8/utf16 functions to mbyte.cJustin M. Keyes2016-07-30
| | | | |
| * | | | utf16_to_utf8Justin M. Keyes2016-07-30
| | | | |
| * | | | os_resolve_shortcut: cleanupJustin M. Keyes2016-07-30
| | | | |
| * | | | os_resolve_shortcut: Remove legacy win16 codepath.Justin M. Keyes2016-07-30
| | | | |
| * | | | utf8_to_utf16: adapt libuv's fs__capture_pathJustin M. Keyes2016-07-30
| | | | |
| * | | | os_resolve_shortcut: initial port from Vim sourceJustin M. Keyes2016-07-30
| | | | |
* | | | | vim-patch:7.4.1305 #5094Michael Ennen2016-08-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: "\%1l^#.*" does not match on a line starting with "#". Solution: Do not clear the start-of-line flag. (Christian Brabandt) https://github.com/vim/vim/commit/7c29f387819b5817b003d2ba73e2b5cf3cb3d0dd Helped-by: jamessan Helped-by: mhinz
* | | | | [RFC] vim-patch:7.4.2011, vim-patch:7.4.2012, vim-patch:7.4.2066 #5106Shougo Matsushita2016-08-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:7.4.2011 Problem: It is not easy to get a list of command arguments. Solution: Add getcompletion(). (Yegappan Lakshmanan) https://github.com/vim/vim/commit/aa4d73235bf4deee167aa5314b89ae3d3db334b7 vim-patch:7.4.2012 Problem: Test for getcompletion() does not pass on all systems. Solution: Only test what is supported. https://github.com/vim/vim/commit/0d3e24be5686c0710aa3c6671e4c626d6cb21a5f vim-patch:7.4.2066 Problem: getcompletion() not well tested. Solution: Add more testing. https://github.com/vim/vim/commit/c1fb763184c8ae82300357867fa2070aa94366e9