aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* lint/sync: open_lineDaniel Hahler2019-08-07
|
* move open_lineDaniel Hahler2019-08-07
|
* move copy_indent (from nvim's indent.c)Daniel Hahler2019-08-07
|
* move del_bytesDaniel Hahler2019-08-07
|
* move del_char, del_charsDaniel Hahler2019-08-07
|
* move ins_strDaniel Hahler2019-08-07
|
* move ins_char_bytesDaniel Hahler2019-08-07
|
* move ins_bytes, ins_bytes_lenDaniel Hahler2019-08-07
|
* move unchangedDaniel Hahler2019-08-07
|
* move changed_linesDaniel Hahler2019-08-07
|
* move deleted_lines, deleted_lines_mark, changed_lines_bufDaniel Hahler2019-08-07
|
* move appended_lines_markDaniel Hahler2019-08-07
|
* move appended_linesDaniel Hahler2019-08-07
|
* remove inserted_bytes (comes via text properties, v8.1.0678)Daniel Hahler2019-08-07
|
* 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
|
* 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