aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
| * | | move changedOneline, changed_bytesDaniel Hahler2019-08-07
| | | |
| * | | move changed_commonDaniel Hahler2019-08-07
| | | |
| * | | move changed_int/changed_internalDaniel Hahler2019-08-07
| | | |
| * | | move changedDaniel Hahler2019-08-07
| | | |
| * | | move change_warningDaniel Hahler2019-08-07
| | | |
| * | | headerDaniel Hahler2019-08-07
| | | |
| * | | orig src/nvim/change.cDaniel Hahler2019-08-07
| | | |
* | | | channels: reflect exit due to signals in exit status code (#10573)Daniel Hahler2019-08-09
| | | | | | | | | | | | | | | | | | | | Uses `128 + term_signal` in case of exit due to a signal. Fixes https://github.com/neovim/neovim/issues/10571.
* | | | Merge #9782 from janlazo/vim-8.1.0199Justin M. Keyes2019-08-09
|\ \ \ \ | | | | | | | | | | vim-patch:8.1.{199,200}
| * | | | f_spellbadword: set len=0 for non-found wordDaniel Hahler2019-08-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `len` is used with `list_append_string` later, and should reflect the length of `word` (i.e. 0 when not setting word / breaking above). Ref: neovim/neovim#9782 (comment)
| * | | | vim-patch:8.1.0200: spellbadword() not testedJan Edmund Lazo2019-08-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: spellbadword() not tested. Solution: Add a test. (Dominique Pelle, closes vim/vim#3235) https://github.com/vim/vim/commit/872e451e8c326d5dd3062ef621fcbf0a4c5bef78
| * | | | vim-patch:8.1.0199: spellbadword() does not check for caps errorJan Edmund Lazo2019-08-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: spellbadword() does not check for caps error. (Dominique Pelle) Solution: Adjust capcol when advancing. https://github.com/vim/vim/commit/66ab916935585391b2efaa8e39075e1ef94717b1
* | | | | clang/"Null passed as a nonnull parameter" #10718Ihor Antonov2019-08-09
| | | | |
* | | | | Merge #10708 'remove DYNAMIC_ICONV'Justin M. Keyes2019-08-09
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | closes #3457
| * | | | | remove DYNAMIC_ICONVerw72019-08-06
| | |_|/ / | |/| | |
* | | | | :terminal : update buffer when switching tabpage #10700Adrien Fabre2019-08-09
| | | | | | | | | | | | | | | fix #10696
* | | | | vim-patch:8.1.1540: cannot build without +eval #10729Jan Edmund Lazo2019-08-09
| |/ / / |/| | | | | | | | | | | | | | | Problem: Cannot build without the +eval feature. Solution: Define ex_const if needed. https://github.com/vim/vim/commit/0abb4273f6c14f9ebca8be67d42c6e67b4f612cf
* | | | lua: minimal UTF-16 support needed for LSPBjörn Linse2019-08-08
| | | |
* | | | vim-patch:8.1.1824: crash when correctly spelled word is very long (#10725)Jan Edmund Lazo2019-08-08
| |/ / |/| | | | | | | | | | | Problem: Crash when correctly spelled word is very long. (Ben Kraft) Solution: Check word length before copying. (closes vim/vim#4778) https://github.com/vim/vim/commit/5bcc5a1ff94bbab1b175e35a72e3df974106b393
* | | Merge pull request #10703 from ngortheone/clang_dead2Björn Linse2019-08-07
|\ \ \ | | | | | | | | | | | | | | | | | | | | clang/"dead assignment": suppessed getchar.c Possibly invalid, read on line 1972: if (keylen >= 0 && keylen <= typebuf.tb_len) {
| * | | clang/"dead assignment": suppessedIhor Antonov2019-08-05
| | | | | | | | | | | | | | | | | | | | To ensure consistency and avoid possible errors in the code the assigment is considered to be legit.
* | | | Merge pull request #10513 from bfredl/bytecountBjörn Linse2019-08-06
|\ \ \ \ | | | | | | | | | | api/lua: add {byte_count} parameter to line region change event
| * | | | lua: support getting UTF-32 and UTF-16 sizes of replaced textBjörn Linse2019-08-06
| | | | |
| * | | | lua: add {old_byte_size} to on_lines buffer change eventBjörn Linse2019-08-06
| | |/ / | |/| |
* / | | Fix list_features to include space after first feature (#10711)Daniel Hahler2019-08-06
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | Regressed in e134cc9d4a: the use of list_in_columns was not adding a space after the first features, because we do not start on a new line: > Features: -acl+iconv +tui This moves all the related code to `list_features`, and just joins them with spaces.
* | | f_environ: cleanup/refactorDaniel Hahler2019-08-06
| | | | | | | | | | | | | | | - use os_getenvname_at_index / os_getenv - f_getenv: empty (*p == NUL) is not null (undefined)
* | | vim-patch:8.1.1305: there is no easy way to manipulate environment variablesDaniel Hahler2019-08-06
| | | | | | | | | | | | | | | | | | | | | Problem: There is no easy way to manipulate environment variables. Solution: Add environ(), getenv() and setenv(). (Yasuhiro Matsumoto, closes vim/vim#2875) https://github.com/vim/vim/commit/691ddeefb545d8488e5a495af61caba2e57b3de9
* | | clang/"dead assignment": screen.c #10702Ihor Antonov2019-08-06
| | | | | | | | | | | | | | | | | | | | | Suppress the warning. mb_c and mb_l describe a char together, they are not independent variables. The coupled assignments are good practice to avoid future confusion, even if the current code doesn't use an assigned value.
* | | vim-patch:8.1.1439: ga_grow(): 1.5x growth rate #10699Jan Edmund Lazo2019-08-05
|/ / | | | | | | | | | | Problem: Json_encode() is very slow for large results. Solution: In the growarray use a growth of at least 50%. (Ken Takata, closes vim/vim#4461) https://github.com/vim/vim/commit/c47ed44be76a520ded90913099771999c8a79eeb
* | Merge pull request #10690 from bfredl/lua_printBjörn Linse2019-08-05
|\ \ | | | | | | lua: laundry list (crashes and additions)
| * | lua: add vim.in_fast_event() to check if we are in a luv callbackBjörn Linse2019-08-05
| | |
| * | lua: do not crash on syntax error in debug.debug()Björn Linse2019-08-05
| | |
| * | lua: immediate-callback safe print()Björn Linse2019-08-05
| | |
* | | 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
* | provider: check #Call() if g:loaded_xx_provider=2Justin 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.
* | 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
* | 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 #10664 from janlazo/vim-8.1.1780Justin M. Keyes2019-08-02
|\ \ | | | | | | vim-patch:8.1.{1374,1780}