aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
| * | | | | Linting.KillTheMule2016-05-08
| | | | | |
| * | | | | vim-patch:7.4.896Rui Abreu Ferreira2016-05-08
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Editing a URL, which netrw should handle, doesn't work. Solution: Avoid changing slashes to backslashes. (Yasuhiro Matsumoto) https://github.com/vim/vim/commit/b4f6a46b01ed00b642a2271e9d1559e51ab0f2c4 Cherry-picked from https://github.com/neovim/neovim/pull/810, rebased.
* | | | | Merge pull request #4717 from jamessan/vim-7.4.1015Justin M. Keyes2016-05-10
|\ \ \ \ \ | | | | | | | | | | | | vim-patch:7.4.1015
| * | | | | Linting all the daysJames McCoy2016-05-06
| | | | | |
| * | | | | vim-patch:7.4.1015James McCoy2016-05-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: The column is not restored properly when the matchparen plugin is used in Insert mode and the cursor is after the end of the line. Solution: Set the curswant flag. (Christian Brabandt). Also fix highlighting the match of the character before the cursor. https://github.com/vim/vim/commit/c21d67e33c1b42a492e04788cbb14a23a6724e39
* | | | | | version.c: update N/A. #4660Michael Ennen2016-05-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:7.4.1562 is N/A because do_helptags(..) no longer has a dirname argument and dirname is explicitly allocated in the method body, so it must be freed. Helped-by: oni-link
* | | | | | Merge pull request #4639 from brcolow/vim-7.4.1347Justin M. Keyes2016-05-10
|\ \ \ \ \ \ | | | | | | | | | | | | | | vim-patch: 7.4.1347
| * | | | | | vim-patch: 7.4.1347Michael Ennen2016-04-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When there is any error Vim will use a non-zero exit code. Solution: When using ":silent!" do not set the exit code. (Yasuhiro Matsumoto) https://github.com/vim/vim/commit/8b778d55993d951a65f8a59843cecd177c707676
* | | | | | | Merge pull request #4628 from brcolow/vim-7.4.1101Justin M. Keyes2016-05-10
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | | vim-patch: 7.4.1101
| * | | | | | vim-patch: 7.4.1101Michael Ennen2016-04-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: With 'rightleft' and concealing the cursor may move to the wrong position. Solution: Compute the column differently when 'rightleft' is set. (Hirohito Higashi) https://github.com/vim/vim/commit/e39b3d9fb4e4006684c33847d1ef6a0d742699dd
* | | | | | | getchar.c wconversion: Change typessach1t2016-05-07
| | | | | | |
* | | | | | | Enable -Wconversion for getchar.csach1t2016-05-07
| |_|/ / / / |/| | | | |
* | | | | | version.c: Mark 7.4.1010 as NAJames McCoy2016-05-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7.4.1010 relies on the “:smile” command that was added in 7.4.1005, which was also marked NA.
* | | | | | vim-patch:7.4.1007James McCoy2016-05-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When a symbolic link points to a file in the root directory, the swapfile is not correct. Solution: Do not try getting the full name of a file in the root directory. (Milly, closes vim/vim#501) https://github.com/vim/vim/commit/e3303cb0817e826e3c25d5dc4ac10b569d0841e1 This was already fixed in Neovim by c708061.
* | | | | | Merge pull request #4350 from DarkDefender/term_colorJustin M. Keyes2016-05-06
|\ \ \ \ \ \ | | | | | | | | | | | | | | Fix guessing incorrect color index in terminal
| * | | | | | Fix guessing incorrect color index in terminalSebastian Parborg2016-03-01
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | This should fix issue #2323
* | | | | | Windows: Fix os_nodetype() default returnRui Abreu Ferreira2016-05-06
| | | | | |
* | | | | | vim-patch: 7.4.1086 #4626Michael Ennen2016-05-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Crash with an extremely long buffer name. Solution: Limit the return value of vim_snprintf(). (Dominique Pelle) https://github.com/vim/vim/commit/507edf63df75fe228e0f76b845b58d60266e65d8
* | | | | | Windows: find_file_in_path: Handle absolute path. #4711Michael Ennen2016-05-06
| | | | | | | | | | | | | | | | | | | | | | | | Originally in vim/vim.
* | | | | | version.c: Mark 7.4.1005 as NA, per discussion in #4191James McCoy2016-05-05
| | | | | |
* | | | | | Merge pull request #4540 from KillTheMule/vim-patch-1236Justin M. Keyes2016-05-04
|\ \ \ \ \ \ | | | | | | | | | | | | | | vim-patch: 7.4.1236
| * | | | | | vim-patch:7.4.1236pips.linux2016-04-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When "syntax manual" was used switching between buffers removes the highlighting. Solution: Set the syntax option without changing the value. (Anton Lindqvist) https://github.com/vim/vim/commit/885f24fbcae2a39ae496ffb3a1e139379be8fae1 Patch applied cleanly to the nvim sources except for version.c.
* | | | | | | Merge pull request #4677 from KillTheMule/vim-7.4.889Justin M. Keyes2016-05-04
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | vim-patch:7.4.889
| * | | | | | | vim-patch:7.4.889KillTheMule2016-04-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Triggering OptionSet from setwinvar() isn't tested. Solution: Add a test. (Christian Brabandt) https://github.com/vim/vim/commit/74b738d414b2895b3365e26ae3b7792eb82ccf47 Mark 7.4.889 as merged Done in https://github.com/neovim/neovim/commit/9bd8fcde1e82cb535abe46ff508de7029d8f686e
* | | | | | | | Merge pull request #4644 from KillTheMule/vim-7.4.882Justin M. Keyes2016-05-04
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | vim-patch:7.4.882
| * | | | | | | | vim-patch:7.4.882KillTheMule2016-04-29
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When leaving the command line window with CTRL-C while a completion menu is displayed the menu isn't removed. Solution: Force a screen update. (Hirohito Higashi) https://github.com/vim/vim/commit/5f1fea28f5bc573e2430773c49e95ae1f9cc2a25 Applied manually.
* | | | | | | | Merge pull request #4678 from KillTheMule/vim-7.4.672Justin M. Keyes2016-05-04
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | vim-patch:7.4.672
| * | | | | | | | Linting.KillTheMule2016-05-02
| | | | | | | | |
| * | | | | | | | vim-patch:7.4.672KillTheMule2016-05-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When completing a shell command, directories in the current directory are not listed. Solution: When "." is not in $PATH also look in the current directory for directories. https://github.com/vim/vim/commit/b5971141dff0c69355fd64196fcc0d0d071d4c82 Most of it applied manually.
* | | | | | | | | Merge pull request #4680 from equalsraf/tb-windows-winsock2Justin M. Keyes2016-05-02
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | | Windows: Include winsock2.h before windows.h
| * | | | | | | | Windows: Include winsock2.h before windows.hRui Abreu Ferreira2016-04-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | winsock2.h is incompatible with winsock.h (included by windows.h) and must be included first. For reference see https://msdn.microsoft.com/en-us/library/windows/desktop/ms737629%28v=vs.85%29.aspx
* | | | | | | | | *: Fix new linter errorsZyX2016-05-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Originally there were 128 new errors, so I thought this is a good idea to fix all of them. Of course, this commit also fixes many suppressed errors.
* | | | | | | | | Merge pull request #4681 from equalsraf/tb-msvc-varmacrosJustin M. Keyes2016-05-01
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | MSVC: Avoid variadic macro bug in STATIC_ASSERT
| * | | | | | | | | MSVC: Avoid variadic macro bug in STATIC_ASSERTRui Abreu Ferreira2016-04-30
| |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MSVC does not handle __VA_ARGS__ as expected in STATIC_ASSERT, avoid its use to work around it since we don't need it. The underlying issue seems to be one of https://connect.microsoft.com/VisualStudio/Feedback/Details/1232378 https://connect.microsoft.com/VisualStudio/Feedback/Details/1099052 The bug only seems to manifest when using multiple variadic macros that call each other.
* / / / / / / / / normal: convert MCHAR etc operator and register types to enum MotionTypeBjörn Linse2016-05-01
|/ / / / / / / /
* | | | | | | | Merge pull request #4676 from ZyX-I/fix-hist_char2type-crashJustin M. Keyes2016-04-30
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | ex_getln: Do not crash with :append/:insert/:change
| * | | | | | | | ex_getln: Do not crash with :append/:insert/:changeZyX2016-04-29
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change effectively disables history for lines inserted using this method. Not a big problem since it does not work for them in Vim in first place. Also solves a bug(?): ex_window() run while in :append mode opens search history in Vim for some reason. Now it opens empty cmdline window.
* | | | | | | | Merge pull request #4679 from equalsraf/tb-windows-lcJustin M. Keyes2016-04-29
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Windows: without libintl use LC_CTYPE instead of LC_MESSAGES
| * | | | | | | | Windows: without libintl use LC_CTYPE instead of LC_MESSAGESRui Abreu Ferreira2016-04-29
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If libintl is not available, LC_MESSAGES is not defined. For now fallback to using LC_CTYPE. Neovim and Vim have diverged significantly in ex_cmds2.c concerning this logic. In other locations the fallback is actually LC_COLLATE, but in this case Vim calls get_mess_env() (which in turn falls back to LC_CTYPE). In Neovim get_mess_env() is only available with libint. This means we are not completely consistent with Vim when handling LC_ environment variables and do not build against libintl.
* | | | | | | | Merge pull request #4675 from barraponto/patch-1Justin M. Keyes2016-04-29
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | Increase readability of unit conversion.
| * | | | | | | Increase readability of unit conversion.Capi Etheriel2016-04-29
| | | | | | | |
* | | | | | | | Add missing include fcntl.hRui Abreu Ferreira2016-04-29
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | In Windows, open() flags like O_RDONLY need fcntl.h.
* | | | | | | os_nodetype: impl with libuvJustin M. Keyes2016-04-29
| | | | | | |
* | | | | | | Remove old UNIX ifdef from buf_write()Rui Abreu Ferreira2016-04-28
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When backupcopy=auto buf_write assumes backupcopy=yes when the file is a hard/symbolic link. However this check was guarded by a UNIX ifdef. The check itself is portable and the guard can be removed. Added a couple tests to check the behaviour of bkc=auto and bkc=no with a symbolic link. Reported in #4525
* | | | | | option.c: include header for completeopt_was_setJustin M. Keyes2016-04-28
| | | | | |
* | | | | | Merge pull request #4661 from brcolow/vim-7.4.1401Justin M. Keyes2016-04-27
|\ \ \ \ \ \ | | | | | | | | | | | | | | vim-patch: 7.4.1401
| * | | | | | vim-patch: 7.4.1401Michael Ennen2016-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Having 'autochdir' set during startup and using diff mode doesn't work. (Axel Bender) Solution: Don't use 'autochdir' while still starting up. (Christian Brabandt) https://github.com/vim/vim/commit/6bd364e08461159ad3c153ffba4def5b896486a1
* | | | | | | Merge pull request #4652 from HiPhish/coverity-defectsJustin M. Keyes2016-04-27
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Fix coverity errors in `haslocaldir()` and `getcwd()`.
| * | | | | | | Fix coverity errors in haslocaldir() and getcwd.HiPhish2016-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Vim function `haslocaldir()` would crash if the users called it with the two arguments `-1, -1`. Now it returns `0` in that case. The coverity issue was complaining about a NULL dereference, but there can never be a case where the pointer `tp` is NULL and being dereferenced. An assertion has been put in place to satisfy coverity. Furthermore the functions themselves have been cleaned up. First of all the documentation comment for the different scopes has been extended and a macro for the minimum scope has been introduced. In both functions any time a scope is used as a range (e.g. in a loop) macros instead of actuals scopes are used, that makes the functions more robust if new scopes are added. Second, in the implementation of `getcwd()` there was a superfluous loop, it has been removed completely. I also changed all `goto end` to plaing `return` statements by moving the allocation of `cwd` down, that way there is no need for `goto` anymore.
* | | | | | | | Merge pull request #4625 from brcolow/vim-7.4.1075Justin M. Keyes2016-04-27
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | vim-patch: 7.4.1075