aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* test: isCI(): add "name" parameterJustin M. Keyes2019-08-05
|
* tests: fix flaky "TermClose … fast-exiting terminal job stops"Justin M. Keyes2019-08-05
| | | | | | | | | | | | | | This extra retry() was removed (at my suggestion) in 5b94a2977a22, but it is probably needed: jobwait(…, timeout=0) could return while channel_process_exit_cb() is still queued (so TermClose event didn't fire yet). 20:46:21,288 INFO - not ok 547 - TermClose event triggers when fast-exiting terminal job stops 20:46:21,288 INFO - # test/functional/autocmd/termclose_spec.lua @ 20 20:46:21,288 INFO - # Failure message: ./test/functional/helpers.lua:98: Vim:E121: Undefined variable: g:test_termclose 20:46:21,288 INFO - # stack traceback: 20:46:21,288 INFO - # ./test/functional/helpers.lua:98: in function 'eval' 20:46:21,288 INFO - # test/functional/autocmd/termclose_spec.lua:25: in function <test/functional/autocmd/termclose_spec.lua:20>
* vim-patch:8.1.1383: warning for size_t/int mixup (#10694)Jan Edmund Lazo2019-08-05
| | | | | Problem: Warning for size_t/int mixup. Solution: Change type. (Mike Williams) https://github.com/vim/vim/commit/d33a764123a8aedb20cd84aeff3b94810ee67c4c
* :doautocmd : Never show "No matching autocommands" #10689Justin M. Keyes2019-08-05
| | | | | | | | The message is useless, it doesn't even mention the event name. vim_dev discussion: https://groups.google.com/forum/#!msg/vim_dev/RTbq58TMq9w/Xr4rSoUTCgAJ ref: https://github.com/vim/vim/issues/4300
* vim-patch:8.1.1311: test: abort autocmd with exception #10692Jan Edmund Lazo2019-08-05
| | | | | | Problem: Aborting an autocmd with an exception is not tested. Solution: Add a test. Also shows how to abort a command by throwing an exception. https://github.com/vim/vim/commit/23b5139234a79567097ca73aba15ea134381b934
* vim-patch:8.1.1251: test completion of mapping keys #10691Jan Edmund Lazo2019-08-05
| | | | | Problem: No test for completion of mapping keys. Solution: Add a test. Also clean up the code. https://github.com/vim/vim/commit/2cb9f0253228478ec27265ff40f59c629874d695
* Makefile: only use pattern rules with BUILD_TYPE=Ninja (#10687)Daniel Hahler2019-08-04
| | | | | | While not doing any harm with "Unix Makefiles", they do not work there as-is. Therefore just do not use them then. Followup to #10366 (7f6ff829a).
* runtime/matchit.vim: workaround broken 'packpath'Justin M. Keyes2019-08-04
| | | | fix #10680
* Merge #10161 from equalsraf/tb-clipboard-reloadJustin M. Keyes2019-08-04
|\ | | | | Support "reload" of providers
| * provider: check #Call() if g:loaded_xx_provider=2Justin M. Keyes2019-08-04
| |
| * health.vim: check has("debug")Justin M. Keyes2019-08-04
| |
| * provider: skip non-provider has() feature-namesJustin M. Keyes2019-08-04
| | | | | | | | | | We don't want to retry autoload sourcing (slow) for every random has() query that finds it way to eval_call_provider().
| * provider: g:loaded_xx_provider=2 means "enabled and working"Justin M. Keyes2019-08-04
| | | | | | | | | | Value of 1 cannot be used, because users might set that in their vimrc to _disable_ a provider, which would confuse :checkhealth and has().
| * provider: decide status by g:loaded_xx_providerJustin M. Keyes2019-08-04
| |
| * provider: let providers decide their statusRui Abreu Ferreira2019-08-04
|/ | | | | | | | | | | | | | | | | | | | | | | | | | Instead of deciding provider status in eval_has_provider, move the decision to the provider Vim scripts. Previously, provider loading worked as follows: 1. eval_has_provider() verified provider availability by searching for the provider#providername#Call function and cached this verificaion as a static variable for some providers 2. providers short-circuited on loading to prevent the definition of the Call function (with the exception of the node provider that did not) This commit changes the expected interface between nvim and its providers to facilitate provider reloading, by splitting the verification of the provider from the availability of the Call function. eval_has_provider() now checks for a provider#providername#enabled variable. It is up to the provider script to set this to 0 or 1 accordingly. eval_call_provider() remains unchanged. All providers hosting a Call function were updated to respect this. The clipboard provider now has a Reload function to reload the provider.
* doc: update 'shellredir' advice for powershell #10686Jan Edmund Lazo2019-08-04
| | | | | | | | | | | Encoding can be utf8, unicode, utf32. User can choose to omit '-Encoding' to default to 'unicode'. 'ascii' encoding corrupts the following file: https://www.w3.org/2001/06/utf-8-test/UTF-8-demo.html Inspect 'foo.txt' with the following code after downloading the file. Get-Content -Encoding UTF8 UTF-8-demo.html | Out-File -Encoding ascii foo.txt
* Merge #10683 from janlazo/vim-8.1.1796Justin M. Keyes2019-08-03
|\ | | | | vim-patch:8.1.{1237,1796}
| * vim-patch:8.1.1237: error for using "compl", reserved word in C++Jan Edmund Lazo2019-08-03
| | | | | | | | | | | | Problem: Error for using "compl", reserved word in C++. Solution: Rename to "complp". (suggestion by Ken Takata) https://github.com/vim/vim/commit/52111f82318dfbeb6a0b06230c0609abff509250
| * vim-patch:8.1.1796: :argdo is not testedJan Edmund Lazo2019-08-03
|/ | | | | | Problem: :argdo is not tested Solution: Add a test. https://github.com/vim/vim/commit/72e1b39111389001a20fbe8aa344ce2fe0a7e1a4
* build: require unibilium>=2.0 (#10681)Daniel Hahler2019-08-03
| | | | | | | | | | | | * build: require unibilium>=2.0 This also ports FindUnibilium to LibFindMacros, which was planned anyway, and makes the version check easier. With an older Unibilium our fallback code in `terminfo_from_builtin` will not work (because it assumes the new data structures from 2.0.0 [1]), and nvim would crash later because of `ut` being NUL. 1: https://github.com/neovim/unibilium/commit/42f3cdd284735bd827691c3d0bfae9472b22d5d5
* ci: Travis: move gcc-functionaltest-lua to 2nd stage (#10682)Daniel Hahler2019-08-03
| | | Ref: https://github.com/neovim/neovim/pull/10673#issuecomment-517733843
* Merge #10678 from janlazo/vim-8.1.1187Justin M. Keyes2019-08-03
|\ | | | | vim-patch:8.1.{1187,1761,1762,1775}
| * vim-patch:8.1.1775: error message may be empty in filetype testJan Edmund Lazo2019-08-02
| | | | | | | | | | | | Problem: Error message may be empty in filetype test. Solution: Use v:exception instead. (Daniel Hahler, closs vim/vim#4744) https://github.com/vim/vim/commit/eee9f65b2a213e9031f172d9d3b22adad6cb985d
| * vim-patch:8.1.1762: some filetype rules are in the wrong placeJan Edmund Lazo2019-08-02
| | | | | | | | | | | | Problem: Some filetype rules are in the wrong place. Solution: Move to the right place. Add a few more tests. https://github.com/vim/vim/commit/c273405188cc2f19e949089cda1f92bd81610dac
| * vim-patch:8.1.1761: filetype "vuejs" causes problems for some usersJan Edmund Lazo2019-08-02
| | | | | | | | | | | | Problem: Filetype "vuejs" causes problems for some users. Solution: Rename to "vue". https://github.com/vim/vim/commit/4248111497ab78f45d3d48576740949778a1e76b
| * vim-patch:8.1.1187: cannot recognize PipfileJan Edmund Lazo2019-08-02
|/ | | | | | Problem: Cannot recognize Pipfile. Solution: Use existing filetypes. (Charles Ross, closes vim/vim#4280) https://github.com/vim/vim/commit/3a4c53ba51c01b8fea68972453a71c55cf32edbe
* terminfo_start: use unibi_from_term, skip without TERM (#10670)Daniel Hahler2019-08-02
| | | | | This is clearer/more explicit and avoids potential mismatch between what unibilium thinks vs what Nvim thinks. For reference: https://github.com/mauke/unibilium/blob/e3b16d6219ca1cb92d98b1d9cc416b49a3ac468e/uniutil.c#L203-L211
* Merge #10675 from justinmk/vim-runtimeJustin M. Keyes2019-08-02
|\ | | | | fix #10572
| * runtime/optwin.vim: missing 'previewpopup' featureJustin M. Keyes2019-08-02
| | | | | | | | | | test_options.vim fails, so we need to disable this until the feature is implemented.
| * doc: remove "{not available ...}" noiseJustin M. Keyes2019-08-02
| |
| * vim-patch:5477506a9f01Justin M. Keyes2019-08-02
| | | | | | | | | | | | | | | | | | Update runtime files. https://github.com/vim/vim/commit/5477506a9f01d40fad2e8f0555bc37adee30478f NA: vim-patch:2a9c9f6d89f1 "undo extra changes in src/Makefile" https://github.com/vim/vim/commit/2a9c9f6d89f19f8fa8d926e80c7f988729f6f1bd
| * vim-patch:85850f3a5ef9Justin M. Keyes2019-08-02
| | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/85850f3a5ef9f5a9d22e908ef263de8faa265a95
| * vim-patch:396e829fa355Justin M. Keyes2019-08-02
| | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/396e829fa355ebc92a618ef18266a3fed71b7042
| * vim-patch:6c1e1570b134Justin M. Keyes2019-08-02
| | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/6c1e1570b1346de0d438fbb991bddab38c228290
| * vim-patch:12ee7ff00b91Justin M. Keyes2019-08-02
| | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/12ee7ff00b91d852e060bb24951d1c94239863eb
| * vim-patch:773a97c254d0Justin M. Keyes2019-08-02
| | | | | | | | | | Update runtime files - Add typescript syntax and indent. https://github.com/vim/vim/commit/773a97c254d02784079fb3b20447620412588850
| * vim-patch:61da1bfa6c6bJustin M. Keyes2019-08-02
| | | | | | | | | | Update runtime files. https://github.com/vim/vim/commit/61da1bfa6c6b19dd670671a318ce9f9e2acc784c
| * vim-patch:7dd64a3e57d2Justin M. Keyes2019-08-02
| | | | | | | | | | Update runtime files. https://github.com/vim/vim/commit/7dd64a3e57d296fdee3b3ffe6d938f634b59848c
| * vim-patch:68e6560b84f1Justin M. Keyes2019-08-02
| | | | | | | | | | Update runtime files. https://github.com/vim/vim/commit/68e6560b84f196c82e27a72669684d5506a3a837
| * cleanupJustin M. Keyes2019-08-02
|/
* ci: Travis: move coverage job to first stage (#10673)Daniel Hahler2019-08-02
| | | | | | This swaps it with "gcc-32bit". It is better to have the "coverage" job run than "gcc-32bit" in case of flaky build failures - especially on master, since otherwise no base coverage is available for future PRs.
* Merge #10666 from justinmk/vim-runtimeJustin M. Keyes2019-08-02
|\ | | | | vim-patch: runtime updates
| * vim-patch:a6c27c47ddf0Justin M. Keyes2019-08-01
| | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/a6c27c47ddf081859659d7de1caec675147e466b
| * vim-patch:911ead126903Justin M. Keyes2019-08-01
| | | | | | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/911ead126903aeb9564bad89e46a147ed4959896 NA: vim-patch:602abeb20fb7
| * vim-patch:62e1bb4a111eJustin M. Keyes2019-08-01
| | | | | | | | | | | | | | Update runtime files. https://github.com/vim/vim/commit/62e1bb4a111e7ce570c30965f40a68a07a9da5b0 NA: vim-patch:496555fd1821
| * vim-patch:62e1bb4a111eJustin M. Keyes2019-08-01
| | | | | | | | | | Update runtime files. https://github.com/vim/vim/commit/62e1bb4a111e7ce570c30965f40a68a07a9da5b0
| * vim-patch:723dd946f948Justin M. Keyes2019-08-01
| | | | | | | | | | Update runtime files. https://github.com/vim/vim/commit/723dd946f94856be94a943876945fb1bd8169059
| * vim-patch:63b74a8362b1Justin M. Keyes2019-08-01
| | | | | | | | | | Update runtime files. https://github.com/vim/vim/commit/63b74a8362b14576b21d342dc424d0396ca8ea27
| * vim-patch:26967617a30eJustin M. Keyes2019-08-01
| | | | | | | | | | | | | | Update runtime files. https://github.com/vim/vim/commit/26967617a30e55aedc98b8f14b841d88469abd0e NA: vim-patch:55d81cd2a15d
| * vim-patch:f6b401090e81Justin M. Keyes2019-08-01
| | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/f6b401090e816b4216f783a9b85d21d9ad134ff8