Commit Graph
13819 Commits
Author SHA1 Message Date
Justin M. Keyes 4d830ca31b vim-patch:62e1bb4a111e
Update runtime files.
https://github.com/vim/vim/commit/62e1bb4a111e7ce570c30965f40a68a07a9da5b0

NA: vim-patch:496555fd1821
2019-08-01 22:58:20 +02:00
Justin M. Keyes 7f5402899b vim-patch:62e1bb4a111e
Update runtime files.
https://github.com/vim/vim/commit/62e1bb4a111e7ce570c30965f40a68a07a9da5b0
2019-08-01 22:52:56 +02:00
Justin M. Keyes 31a5ec23eb vim-patch:723dd946f948
Update runtime files.
https://github.com/vim/vim/commit/723dd946f94856be94a943876945fb1bd8169059
2019-08-01 22:52:42 +02:00
Justin M. Keyes 2cdbbe50a4 vim-patch:63b74a8362b1
Update runtime files.
https://github.com/vim/vim/commit/63b74a8362b14576b21d342dc424d0396ca8ea27
2019-08-01 22:48:28 +02:00
Justin M. Keyes 41fe644124 vim-patch:26967617a30e
Update runtime files.
https://github.com/vim/vim/commit/26967617a30e55aedc98b8f14b841d88469abd0e

NA: vim-patch:55d81cd2a15d
2019-08-01 22:44:59 +02:00
Justin M. Keyes a14fc7b159 vim-patch:f6b401090e81
Update runtime files
https://github.com/vim/vim/commit/f6b401090e816b4216f783a9b85d21d9ad134ff8
2019-08-01 22:26:04 +02:00
Justin M. Keyes 47b4eb110d vim-patch:4c92e75dd4dd
Update runtime files.
https://github.com/vim/vim/commit/4c92e75dd4ddb68dd92a86dd02d53c70dd4af33a

vim-patch:c854898881c0
Revert change accidentally included in runtime file updates.  Closes vim/vim#3998.
https://github.com/vim/vim/commit/c854898881c02259f90170f210bf65bbd20cc1fc
2019-08-01 16:51:53 +02:00
Justin M. Keyes 87140f234a Merge #10646 'vim-patch: runtime patches' 2019-08-01 16:43:14 +02:00
Justin M. Keyes 5342342426 runtime: move matchit.vim to /pack/dist/opt/
Align matchit.vim with upstream Vim. We don't want to maintain a fork of
matchit.vim; our small changes should be sent to
https://github.com/chrisbra/matchit
2019-08-01 15:43:53 +02:00
Justin M. Keyes 1f6c9fd822 stream: log unwritten bytes, if any #10663 2019-08-01 15:26:22 +02:00
Daniel Hahler 41bb68b8e8 process_stop: uv: do not close stdin first/explicitly #10584
- process_stop: do not close stdin explicitly. The "close stdin" step was from
  aa9cb48, before we fixed/reworked the SIGTERM timing logic. So it's probably
  outdated / no longer needed.
- win: jobstop: exit_code 15
   GetExitCodeProcess appears to return the used signal.
   https://docs.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-getexitcodeprocess

ref #10573
2019-08-01 13:55:06 +02:00
Justin M. Keyes 65578693b2 Merge #10654 from ngortheone/clang/npd_helptags_one
clang/"null pointer dereference": ex_cmds.c
2019-07-31 07:22:12 +02:00
Daniel Hahler 208f56d3b9 ci: Travis: improve/revisit caching (#10358)
- use CACHE_NVIM_DEPS_DIR

- do not cache pip
  This is handled through http caches in general/better, and it is not
  used much anyway.

- do not cache DEPS_DOWNLOAD_DIR
  Built deps are cached, downloads are not needed then.

- display ccache stats before clearing

- do not cache ccache stats

- improve output of `du` (do not list pages of output for "/home/travis/.cache/go-build")
2019-07-30 23:21:12 +02:00
Ihor Antonov 6fc0a9f557 lint: helptags_one 2019-07-30 16:58:28 -04:00
Daniel Hahler 6e01ed6a4c vim-patch:8.1.0572: stopping a job does not work properly on OpenBSD
Problem:    Stopping a job does not work properly on OpenBSD.
Solution:   Do not use getpgid() to check the process group of the job
            processs ID, always pass the negative process ID to kill().
            (George Koehler, closes vim/vim#3656)
https://github.com/vim/vim/commit/76ab4fd61901090e6af3451ca6c5ca0fc370571f

Ref: https://github.com/neovim/neovim/issues/9704
Ref: https://github.com/neovim/neovim/issues/10182#issuecomment-514450069
Closes https://github.com/neovim/neovim/pull/10660
2019-07-30 18:41:38 +02:00
Daniel Hahler da87b67812 tests: runnvim.vim: do not call jobstop() (#10659)
It should be done for timeouts only (-1, not != -1), but the job is
stopped via `:bwipeout!` already also in that case.

Fixes E900 with timing out tests:

    "test_xxx.tlog" "test_xxx.tlog" [New] 183L, 13375C written
    Error detected while processing function Main:
    line   37:
    E900: Invalid channel id================================================================================
2019-07-30 15:08:05 +02:00
Daniel Hahler 7f6ff829aa Makefile: use pattern rules for build/.deps [ci skip] (#10366)
This allows for `make build/bin/nvim`,
`make build/src/nvim/auto/funcs.generated.h` etc.
2019-07-30 13:53:33 +02:00
Daniel Hahler be6bf75d79 Merge pull request #10656 from blueyed/minor
Minor: align test, fix comment/usage
2019-07-30 11:45:41 +02:00
Daniel Hahler b117754a8b gen_eval.lua: use correct name in usage 2019-07-30 10:37:41 +02:00
Daniel Hahler 08ed3d6523 tests: use Vim's version for patch 8.1.0005
Not sure what happened in daca22f5b / #8821, but Vim used assert_match /
no expand in vim/vim@d19b23415 (8.1.0005) already.
2019-07-30 10:35:44 +02:00
Daniel Hahler 213b6b5c28 vim-patch: handle tags, pass through git-log options (#10140)
* scripts/vim-patch.sh: fall back to "origin" for remote

Without this, it would fail e.g. with a locally cloned repo of Neovim.

* scripts/vim-patch.sh: assign_commit_details: handle tags  [ci skip]

- Handle "v" prefix from Vim tags.
- Exit in case of error therein already.

* -l/-L: pass through git-log options  [ci skip]

This allows for only listing missing patches for a given Vim file:

> scripts/vim-patch.sh -L src/edit.c
2019-07-30 07:45:59 +02:00
Daniel Hahler 35ec60f73a Merge pull request #10648 from blueyed/autopep8
ci: py: flake8 fixes
2019-07-30 07:32:47 +02:00
Ihor Antonov 11ed7377f9 clang/"null pointer dereference": ex_cmds.c 2019-07-29 22:56:59 -04:00
Daniel Hahler d651710de1 ci: pylint target via flake8
Ref: https://github.com/neovim/neovim/pull/10631#issuecomment-515756591
2019-07-29 22:14:23 +02:00
Daniel Hahler d7b04ae7a7 py: flake8 fixes 2019-07-29 22:14:23 +02:00
Daniel Hahler 97ce776e7b scripts: autopep8 2019-07-29 22:14:23 +02:00
Justin M. Keyes bae02eb396 Merge #10645 from janlazo/vim-8.1.0999
vim-patch:8.1.{1005,1041,1049,1052,1053,1086,1394}
2019-07-29 20:59:38 +02:00
Justin M. Keyes 62b5f25b6b vim-patch:94688b8a2a1f
Add missing matchit file.
https://github.com/vim/vim/commit/94688b8a2a1fc3d6c8e49151b9533ec1c0a6757f
2019-07-29 20:50:07 +02:00
Justin M. Keyes 57fa9add79 vim-patch:314dd79cac2a
Update runtime files.
https://github.com/vim/vim/commit/314dd79cac2adc10304212d1980d23ecf6782cfc
2019-07-29 20:50:07 +02:00
Justin M. Keyes b5cb6c743a vim-patch:2a953fcf107d
Updated runtime files.
https://github.com/vim/vim/commit/2a953fcf107d24229fec8af820ee62c908caafbf
2019-07-29 20:50:07 +02:00
Justin M. Keyes 6fed505100 vim-patch:d09091d4955c
Update runtime files.
https://github.com/vim/vim/commit/d09091d4955c5f41de69928f2db85611ed54ed23
2019-07-29 20:50:07 +02:00
Justin M. Keyes ef1f1907cc vim-patch:4c05fa08c973
Update runtime files
https://github.com/vim/vim/commit/4c05fa08c9739e307ddc88ac91ba6d208f1fd68e
2019-07-29 20:50:07 +02:00
Justin M. Keyes 4cab90ad8c vim-patch:c8c884926750
Update runtime files.
https://github.com/vim/vim/commit/c8c8849267503b2d2d6d821047ee8619c7821728
2019-07-29 20:50:07 +02:00
Justin M. Keyes b3d4e2d6dc vim-patch:c33181c44ccb
Ignore output files from indent tests.
https://github.com/vim/vim/commit/c33181c44ccb86637e011f35cc0397a2d76e23ae
2019-07-29 20:50:07 +02:00
Justin M. Keyes aa680f6acb vim-patch:9d87a37ee9d8
Update runtime files.
https://github.com/vim/vim/commit/9d87a37ee9d87f5bdbc779bc940d5f1e6f055d0a
2019-07-29 20:50:07 +02:00
Justin M. Keyes c8f34a9a3e vim-patch:d47d52232bf2
Update runtime files.
https://github.com/vim/vim/commit/d47d52232bf21036c5c89081458be7eaf2630d24
2019-07-29 20:50:07 +02:00
Justin M. Keyes ab2cfd24e7 vim-patch:b730f0c7ba36
Update runtime files
https://github.com/vim/vim/commit/b730f0c7ba36492d795f081b19bbcb85cdf0f50f
2019-07-29 20:50:07 +02:00
Justin M. Keyes 28a681d37d vim-patch:f0d58efc9dc4
Update runtime files.
https://github.com/vim/vim/commit/f0d58efc9dc46be37c629cbc99b4125448ca39fd
2019-07-29 20:50:07 +02:00
Justin M. Keyes 80dda68926 vim-patch:ba3ff539303c
Update runtime files
https://github.com/vim/vim/commit/ba3ff539303c7bb6e46a6802dce3c7b2e55284e0
2019-07-29 20:50:07 +02:00
Justin M. Keyes f64486b6b6 vim-patch:790c18bfa5df
Update runtime files
https://github.com/vim/vim/commit/790c18bfa5dfeca51749b752dddc41e60cb3fa54
2019-07-29 20:50:07 +02:00
Justin M. Keyes 6e03f87e09 Merge #10615 'vim-patch:8.1.0053'
fix #10604
2019-07-29 20:43:44 +02:00
Ihor Antonov 454902d663 PVS/V507: suppress false positive #10647
The pointer does not outlive the value in local scope as it gets
reassigned immediately after scope.
2019-07-29 19:57:16 +02:00
cangscop ea14d8d493 vim-patch:8.1.0053 use typval_T in the caller of call_vim_function
Problem:	unreliable types for complete function arguments
Solution:	fix argument type for functions w/ unreliable type conversion(Ozaki Kiichi)
vim/vim#2993
2019-07-29 19:56:02 +02:00
Gavin D. Howard 696334181f build/macOS: enable fallthrough attribute #10653 2019-07-29 19:51:49 +02:00
Jan Edmund Lazo d6b31721bf vim-patch:8.1.1086: too many curly braces
Problem:    Too many curly braces.
Solution:   Remove curly braces where they are not needed. (Hirohito Higashi,
            closes vim/vim#3982)
https://github.com/vim/vim/commit/abab0b0fdd6535969447b03a4fffc1947918cf6c

Neovim code style requires the opposite.
Add curly braces to minimize lint errors when applying Vim patches.
2019-07-28 23:44:36 -04:00
Jan Edmund Lazo b388f46266 buffer: add attributes to pure functions 2019-07-28 22:19:11 -04:00
Jan Edmund Lazo 01e3690ca8 vim-patch:8.1.1049: when user tries to exit with CTRL-C message is confusing
Problem:    When user tries to exit with CTRL-C message is confusing.
Solution:   Only mention ":qa!" when there is a changed buffer. (closes vim/vim#4163)
https://github.com/vim/vim/commit/a84a3dd6635fcd2e07f510cba6a999585dcc381a

vim-patch:8.1.1052: test for CTRL-C message sometimes fails

Problem:    test for CTRL-C message sometimes fails
Solution:   Make sure there are no changed buffers.
https://github.com/vim/vim/commit/553e5a5c568e7d175b65b0472cd6d9843b25f4c8

vim-patch:8.1.1053: warning for missing return statement

Problem:    Warning for missing return statement. (Dominique Pelle)
Solution:   Add return statement.
https://github.com/vim/vim/commit/d6c3f1fa2b5e1dd7dc87cf608d72b84ad696b58f
2019-07-28 22:19:11 -04:00
Jan Edmund Lazo 4c50f0dc76 vim-patch:8.1.1041: test for Arabic no longer needed
Problem:    Test for Arabic no longer needed.
Solution:   Remove the test for something that was intentionally left out.
https://github.com/vim/vim/commit/295e3ba31f76818f195c654df506c88cb65f9289
2019-07-28 22:05:51 -04:00
Jan Edmund Lazo 00e882e6f6 vim-patch:8.1.1394: not restoring t_F2 in registers test
Problem:    Not restoring t_F2 in registers test.
Solution:   Assign to &t_F2 instead of t_F2. (Andy Massimino, closes vim/vim#4434)
https://github.com/vim/vim/commit/a5e44600ebb02057fb15ae7a2f15c5cae8f63bcc
2019-07-28 22:05:51 -04:00
Jan Edmund Lazo c53e78e125 vim-patch:8.1.1005: test fails because t_F2 is not set
Problem:    Test fails because t_F2 is not set.
Solution:   Add try-catch.
https://github.com/vim/vim/commit/55d81cd2a15d93dba89b2ff1c988d82789919b6b
2019-07-28 22:05:51 -04:00