aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * | | | | | | | | | | | vim-patch:e392eb4KillTheMule2016-05-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update runtime files. https://github.com/vim/vim/commit/e392eb41f8dfc01bd13634e534ac6b4d505326f4 Files runtime/doc/tags and runtime/doc/todo.txt did not exist. Ignored runtime/syntax/vim.vim. One change in runtime/doc/windows.txt had already been applied.
| * | | | | | | | | | | | vim-patch:b4ff518KillTheMule2016-05-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updated runtime files. https://github.com/vim/vim/commit/b4ff518d95aa57c2f8c0568c915035bef849581b Missing files: runtime/doc/tags, runtime/doc/todo.txt. Changes to runtime/doc/if_pyth.txt, runtime/doc/options.txt and runtime/doc/quickref.txt did not aply. Excluded runtime/syntax/vim.vim.
| * | | | | | | | | | | | vim-patch:d7464beKillTheMule2016-05-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updated runtime files. https://github.com/vim/vim/commit/d7464be9747fcaa8e6210e1f00a3882932df76e2 Applied cleanly except for runtime/docs/todo.txt and runtime/docs/tags.
| * | | | | | | | | | | | vim-patch:a0f849eKillTheMule2016-05-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update runtime files. https://github.com/vim/vim/commit/a0f849ee40cbea3c889345256786b640b0becca2 Missing files runtime/doc/tags and runtime/doc/todo.txt. Excluded runtime/syntax/vim.vim, since we diverged quite a bit from vim in this file.
* | | | | | | | | | | | | 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
* | | | | | | | | | | | | Merge pull request #4688 from ZyX-I/clint-checksJustin M. Keyes2016-05-01
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / / / |/| | | | | | | | | | | | Add check for boolean operators placement
| * | | | | | | | | | | | *: 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.
| * | | | | | | | | | | | clint: Check that boolean operator is placed on the next lineZyX2016-05-01
|/ / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I have not found in the style guide words about other operators, so they are not tested. This adds 128 new 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.
* | | | | | | | | | | | Merge pull request #4597 from bfredl/motionBjörn Linse2016-05-01
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / |/| | | | | | | | | | | convert MCHAR operator and register types to enum MotionType
| * | | | | | | | | | | 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
| | | | | | | | | | |
* | | | | | | | | | | Merge pull request #4674 from equalsraf/tb-include-fcntlJustin M. Keyes2016-04-29
|\ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / |/| | | | | | | | | | Add missing include fcntl.h
| * | | | | | | | | | Add missing include fcntl.hRui Abreu Ferreira2016-04-29
|/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In Windows, open() flags like O_RDONLY need fcntl.h.
* | | | | | | | | | Merge pull request #1112 from justinmk/os_nodetypeJustin M. Keyes2016-04-29
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | os_nodetype: impl with libuv
| * | | | | | | | | | os_nodetype: impl with libuvJustin M. Keyes2016-04-29
|/ / / / / / / / / /
* | | | | | | | | | Merge pull request #4670 from equalsraf/tb-remove-unix-guardJustin M. Keyes2016-04-28
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | Remove old UNIX ifdef from buf_write()
| * | | | | | | | | | 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
* | | | | | | | | | Merge pull request #4668 from fwalch/archlinux-filetypesJustin M. Keyes2016-04-28
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / |/| | | | | | | | | Runtime: Re-add support for Arch Linux PKGBUILDs.
| * | | | | | | | | Runtime: Re-add support for Arch Linux PKGBUILDs.Florian Walch2016-04-28
|/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Originally done in #1087, but was accidentally removed in #4595. Resolves #4613, resolves #4667.
* | | | | | | | | 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
| * | | | | | | | | | vim-patch: 7.4.1075Michael Ennen2016-04-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Crash when using an invalid command. Solution: Fix generating the error message. (Dominique Pelle) https://github.com/vim/vim/commit/05fe017c1ac0503b706dad695097572fde01ab0b
* | | | | | | | | | | Merge pull request #4655 from brcolow/vim-7.4.1035Justin M. Keyes2016-04-27
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | vim-patch: 7.4.1035
| * | | | | | | | | | | vim-patch: 7.4.1035Michael Ennen2016-04-26
| | |_|/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: An Ex range gets adjusted for folded lines even when the range is not using line numbers. Solution: Only adjust line numbers for folding. (Christian Brabandt) https://github.com/vim/vim/commit/a3306958dcb9aadff1e1e8521d908d86b10ac99a
* | | | | | | | | | | Merge #4591Justin M. Keyes2016-04-27
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | test: matchparen_spec.luaKillTheMule2016-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Covers vim-patch 7.4.1296
| * | | | | | | | | | | vim-patch:7.4.1296KillTheMule2016-04-27
|/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cursor changes column with up motion when the matchparen plugin saves and restores the cursor position. (Martin Kunev) Solution: Make sure curswant is updated before invoking the autocommand. https://github.com/vim/vim/commit/f068dcafcfe0c8018e5a559c50769ca1364bd9a5 Applied manually. Could reproduce the bug with vim/vim@4d8747c but not with vim/vim@2693ca2, so it must have appeared inbetween. For discussion, see https://groups.google.com/forum/#!msg/vim_dev/t2sdeFhkybs/WEtLJpCODQAJ http://vim.1045645.n5.nabble.com/Cursor-behaviour-change-td5726895.html Could not reproduce with current nvim master.
* | | | | | | | | | | Merge pull request #4622 from Shougo/vim-7.4.1753Justin M. Keyes2016-04-27
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / / |/| | | | | | | | | | vim-patch:7.4.1753
| * | | | | | | | | | vim-patch:7.4.1753Shougo Matsushita2016-04-22
| | |_|_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: "noinsert" in 'completeopt' is sometimes ignored. Solution: Set the variables when the 'completeopt' was set. (Ozaki Kiichi) https://github.com/vim/vim/commit/c020042083b9c0a4e932b562c3bef97c76328e18
* | | | | | | | | | vim-patch:7.4.1006 #4605Michael Ennen2016-04-27
| |_|/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: The fix in patch 7.3.192 is not tested. Solution: Add a test, one for each regexp engine. (Elias Diem) https://github.com/vim/vim/commit/96c664af27ec9535f2c3cd9b889faad3e9460ad6 The patch was applied to 044_099_regexp_multibyte_magic_spec.lua as these two legacy tests (44 and 99) were merged together (and de-duplicated) in Neovim.
* | | | | | | | | Merge pull request #4649 from justinmk/vimpatchesJustin M. Keyes2016-04-27
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | vim-patch:7.4.1092
| * | | | | | | | | remove disable_char_avail_for_testing()Justin M. Keyes2016-04-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | test_cursor_func.vim hangs at the call to disable_char_avail_for_testing(). The test does not actually need this function (and it correctly fails if the fix from 7.4.1300 is reverted). Given that disable_char_avail_for_testing is a gigantic hack, if we can avoid it let's do so.
| * | | | | | | | | vim-patch:7.4.1118Justin M. Keyes2016-04-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Tests hang in 24 line terminal. Solution: Set the 'more' option off. https://github.com/vim/vim/commit/a99b90437af730dcafd9143c0942c87777a00d52
| * | | | | | | | | vim-patch:7.4.1092Justin M. Keyes2016-04-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: It is not simple to test for an exception and give a proper error message. Solution: Add assert_exception(). https://github.com/vim/vim/commit/a803c7f94070f94b831fdfd1984f288c8b825b5d
| * | | | | | | | | legacy test: MakefileJustin M. Keyes2016-04-25
| | | | | | | | | |
| * | | | | | | | | Satisfy the linter.KillTheMule2016-04-25
| | | | | | | | | |
| * | | | | | | | | Add documentation for disable_char_avail_for_testing, handpicked fromKillTheMule2016-04-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://github.com/vim/vim/commit/6463ca229cb9412581419497924c85fcbfc854ab https://github.com/vim/vim/commit/7823a3bd2eed6ff9e544d201de96710bd5344aaf
| * | | | | | | | | vim-patch:7.4.1300KillTheMule2016-04-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot test CursorMovedI because there is typeahead. Solution: Add disable_char_avail_for_testing(). https://github.com/vim/vim/commit/2ab375e54ef4eac438d1aef8b99d9e71f2fa0c63 Most of it manually applied.