aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* PVS/V1001: Prepare for rebaseG-flat2020-10-05
|
* PVS/V1001: Remove assignment to unused variableG-flat2020-10-05
|
* PVS/V1001: Add cast to return statementG-flat2020-10-02
|
* PVS/V1001: Correct returned variable typoG-flat2020-10-02
|
* PVS/V1001: Remove assignment to unused variableG-flat2020-10-01
|
* Merge pull request #12987 from janlazo/vim-8.1.1563Jan Edmund Lazo2020-10-01
|\ | | | | vim-patch:8.1.{1319,1563,1591},8.2.{42,499}
| * userfunc: abort early on invalid refsJan Edmund Lazo2020-09-30
| | | | | | | | Cherry-pick set_ref_in_call_stack() changes from patch 8.1.1575.
| * vim-patch:8.2.0042: clearing funccal values twiceJan Edmund Lazo2020-09-30
| | | | | | | | | | | | Problem: Clearing funccal values twice. Solution: Remove clearing individual fields. https://github.com/vim/vim/commit/eac7ce01e92f3dee6bbccaf7e88680fe2ce286eb
| * vim-patch:8.2.0499: calling a lambda is slower than evaluating a stringJan Edmund Lazo2020-09-30
| | | | | | | | | | | | | | | | | | | | Problem: Calling a lambda is slower than evaluating a string. Solution: Make calling a lambda faster. (Ken Takata, closes vim/vim#5727) https://github.com/vim/vim/commit/f10806b25090879fdc1a86cc0da2f4f34fd21921 Port "uf_flags" constants from patch 8.2.1054 to sync with Vim. Port user_func_error() from patch 8.2.0149. Port Test_lambda_scope() changes from patch 8.1.0736 so that it passes.
| * vim-patch:8.1.1319: computing function length name in many placesJan Edmund Lazo2020-09-30
| | | | | | | | | | | | | | | | | | | | | | Problem: Computing function length name in many places. Solution: compute name length in call_func(). https://github.com/vim/vim/commit/6ed8819822994512c160006bd1204aa11ae3c494 In call_func(), reassign "len" param to (int)STRLEN(funcname) instead of using vim_strsave() which runs strlen(). "len" param is checked for v:lua functions. call_func() states that strlen() is used if "len" is set to -1.
| * vim-patch:8.1.1591: on error garbage collection may free memory in useJan Edmund Lazo2020-09-30
| | | | | | | | | | | | | | Problem: On error garbage collection may free memory in use. Solution: Reset may_garbage_collect when evaluating expression mapping. Add tests. (Ozaki Kiichi, closes vim/vim#4579) https://github.com/vim/vim/commit/7d491c425334d9477637372a4ebec64c228c8430
| * vim-patch:8.1.1563: crash when using closureserw72020-09-30
|/ | | | | | | Problem: Crash when using closures. Solution: Set reference in varlist of funccal when running the garbage collector. (Ozaki Kiichi, closes vim/vim#4554, closes vim/vim#4547) https://github.com/vim/vim/commit/6e5000d493b4f385f901eb97f3ce0c8088373403
* vim-patch:8.2.1775: MS-Windows: adding a long quickfix list is slow (#13019)Jan Edmund Lazo2020-09-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:8.2.1775: MS-Windows: adding a long quickfix list is slow Problem: MS-Windows: adding a long quickfix list is slow. Solution: Shorten the buffer name only for the first entry. (Yegappan Lakshmanan, closes vim/vim#7039, closes vim/vim#7033) https://github.com/vim/vim/commit/8ec92c977976d9e9225183e36a80e6b0cdbf1f51 N/A patches for version.c: vim-patch:8.1.2226: cannot use system copy/paste in non-xterm terminals Problem: Cannot use system copy/paste in non-xterm terminals. Solution: Instead of setting 'mouse' to "a" set it to "nvi" in defaults.vim. https://github.com/vim/vim/commit/5b418992cf254137fde2a14d7066fbea5afddb28 vim-patch:8.2.1772: cannot use CTRL-W <Down> to move out of a terminal window Problem: Cannot use CTRL-W <Down> to move out of a terminal window. Solution: Use special_to_buf() instead of mb_char2bytes(). (closes vim/vim#7045) https://github.com/vim/vim/commit/f43e7ac4eee22dbb26fc069ec9a3d1598ec8dfe9 vim-patch:8.2.1774: GTK: hang when forced to exit Problem: GTK: hang when forced to exit. Solution: Do not clean up "mainwin" when really_exiting is set. (Zdenek Dohnal, closes vim/vim#7042) https://github.com/vim/vim/commit/32fbc4f247a31e35ade0939542e11aa033a2554f vim-patch:8.2.1776: filetype.vim may be loaded twice Problem: Filetype.vim may be loaded twice. Solution: Do "syntax on" after "filetype on". (Adam Stankiewicz, closes vim/vim#7049) https://github.com/vim/vim/commit/17bb4d4607a95e13e913519af106f1bf8b26c178
* Merge pull request #12733 from KillTheMule/lnumeThomas Vigouroux2020-09-30
|\ | | | | [RDY]: Fix buffer_updates on blockwise paste
| * Fix byte updates for blockwise paste at buffer endKillTheMule2020-09-30
| |
| * bytetrack: add blockwise paste testThomas Vigouroux2020-09-30
| |
| * Fix buffer_updates on blockwise pasteKillTheMule2020-09-30
|/ | | | Fixes #12718.
* LSP: Fix separator width on hover (fixes #13006, #12998) (#13007)Christian Clason2020-09-30
| | | | * fix insert_separator conditional * only draw separator over wrapped width
* treesitter: add string parser (#13008)Thomas Vigouroux2020-09-30
|
* Merge pull request #12903 from justinmk/checkcoresThomas Vigouroux2020-09-30
|\ | | | | lua/check_cores(): check uname instead of TRAVIS_OS_NAME
| * lua/check_cores(): check uname instead of TRAVIS_OS_NAMEJustin M. Keyes2020-09-12
| |
* | Merge pull request #13012 from janlazo/vim-8.1.1965Jan Edmund Lazo2020-09-29
|\ \ | | | | | | vim-patch:8.1.{1965,1970,1980,1992},8.2.0840
| * | vim-patch:8.2.0840: search match count wrong when only match is in foldJan Edmund Lazo2020-09-29
| | | | | | | | | | | | | | | | | | | | | Problem: Search match count wrong when only match is in fold. Solution: Update search stats when in a closed fold. (Christian Brabandt, closes vim/vim#6160, closes vim/vim#6152) https://github.com/vim/vim/commit/6cb0726215519fe94103803e4aa77a355384bcf2
| * | vim-patch:8.1.1992: the search stat moves when wrapping at the end of the bufferJan Edmund Lazo2020-09-29
| | | | | | | | | | | | | | | | | | Problem: The search stat moves when wrapping at the end of the buffer. Solution: Put the "W" in front instead of at the end. https://github.com/vim/vim/commit/16b58ae9f36e9675c34d942f5d5f8c8a7914dbc4
| * | vim-patch:8.1.1980: fix for search stat not testedJan Edmund Lazo2020-09-29
| | | | | | | | | | | | | | | | | | Problem: Fix for search stat not tested. Solution: Add a screenshot test. (Christian Brabandt) https://github.com/vim/vim/commit/0f63ed33fdd12d8220f7bc7ff91095e7ceed9985
| * | vim-patch:8.1.1970: search stat space wrong, no test for 8.1.1965Jan Edmund Lazo2020-09-29
| | | | | | | | | | | | | | | | | | Problem: Search stat space wrong, no test for 8.1.1965. Solution: Fix check for cmd_silent. Add a test. (Christian Brabandt) https://github.com/vim/vim/commit/19e8ac72e9c17b894a9c74cb8f70feb33567033c
| * | vim-patch:8.1.1965: search count message is not displayed when using a mappingJan Edmund Lazo2020-09-29
|/ / | | | | | | | | | | | | | | Problem: The search count message is not displayed when using a mapping. (Gary Johnson) Solution: Ignore cmd_silent for showing the search count. (Christian Brabandt) https://github.com/vim/vim/commit/359ad1a6f92d0d3b4b942ea003fb02dc57bbfc9e
* | Merge pull request #12996 from teto/foldcolThomas Vigouroux2020-09-29
|\ \ | | | | | | folds: pass column on fold creation
| * | folds: pass column on fold creationMatthieu Coudron2020-09-28
| | | | | | | | | | | | | | | useful if we want to have inline folds later and/or let users create folds that remember their start/end columns.
* | | vim-patch:8.2.1757: Mac: default locale is lacking the encoding (#12994)Jan Edmund Lazo2020-09-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:8.2.1757: Mac: default locale is lacking the encoding Problem: Mac: default locale is lacking the encoding. Solution: Add ".UTF-8 to the locale. (Yee Cheng Chin, closes vim/vim#7022) https://github.com/vim/vim/commit/a5fe91e6dc610bc823bc3201e2c88179989b13fb Cherry-pick test_environ.vim changes from patch 8.2.1432.
* | | test: Fix failing test in case of special .bashrc (#12920)Omri Sarig2020-09-28
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The test of "replace environment" in the test module of `test/functional/core/job_spec.lua` failed in case the bashrc file of the user running the test has special actions in it (such actions were printing to the screen from inside this file, or changing the bash mode to be vi). In order to fix this problem, the test now sets the shell to be `/bin/sh` before running the command. Setting the shell to be `/bin/sh` causes the running shell to run without the configuration of the user, and so the test passes even in case of special .bashrc. This change was done only for platforms other than Windows since it is not relevant in windows. The fix was applied to the specific test, even though it is possible that related issues will arise in other tests. It seems like a big overhead to make the fix work on all the possible tests, and it does not worth this cost.
* | vim-patch:8.2.1754: completion with spell checking not tested (#12992)Jan Edmund Lazo2020-09-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:8.2.1754: completion with spell checking not tested Problem: Completion with spell checking not tested. Solution: Add a test case. (Dominique Pellé, closes vim/vim#7024) https://github.com/vim/vim/commit/8c7ad3631af570f68b2da2658cf966a9a19cb6c4 Cherry-pick GetMessages() from patch 8.2.0666. Comment out the code that checks for "Messages maintainer:" line because Neovim's ":messages" command does not output it and patches for the "methods" feature (ie. foo->bar) are not ported yet. https://github.com/neovim/neovim/pull/5160
* | Merge pull request #12922 from AlxHnr/masterJan Edmund Lazo2020-09-27
|\ \ | | | | | | Use HTTPS for downloading spell files
| * | runtime: update `g:spellfile_URL` to URL used in Vim 8Alexander Heinrich2020-09-17
| | | | | | | | | | | | See vim/vim@7ff7846
* | | Merge pull request #12986 from janlazo/vim-8.2.1738Jan Edmund Lazo2020-09-26
|\ \ \ | | | | | | | | vim-patch:8.1.{524,1613},8.2.{1088,1713,1715,1717,1721,1725,1735,1738,1745}
| * | | test/old: enable passing testsJan Edmund Lazo2020-09-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some TODO tests are passing now. test_override('ALL', 1) clears previous overrides so it's safe to comment out and execute the test. Replace test_feedinput() with nvim_input(). Replace test_setmouse with nvim_input_mouse(). Note that test_setmouse is 1-based and nvim_input_mouse is 0-based.
| * | | doc: test_garbagecollect_now() was portedJan Edmund Lazo2020-09-26
| | | |
| * | | vim-patch:8.2.1725: not all Pascal files are recognizedJan Edmund Lazo2020-09-26
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Not all Pascal files are recognized. Solution: Add filetype patterns. (Doug Kearns) https://github.com/vim/vim/commit/44aaf5416e0121500dd52b7cab306d7618b4fe53
| * | | vim-patch:8.2.1088: a very long translation might cause a buffer overflowJan Edmund Lazo2020-09-26
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: A very long translation might cause a buffer overflow. Solution: Trunctate the message if needed. https://github.com/vim/vim/commit/6378b21d6dd38cc0f80aa6d31d747db6c287483b N/A patches for version.c: vim-patch:8.1.0524: terminal test fails on Windows Problem: Terminal test fails on Windows. Solution: Skip Test_terminal_does_not_truncate_last_newlines() for now. https://github.com/vim/vim/commit/c2c02574ec76f8d44b948cede9cca38ac91622de vim-patch:8.1.1613: popup window test fails with Athena and Motif Problem: Popup window test fails with Athena and Motif. Solution: Compute the highlight attribut when the GUI is not active. https://github.com/vim/vim/commit/a83e70000f106a1e1e0f86e8e362ec94c0df074c vim-patch:8.2.1713: Motif GUI: crash when setting menu colors Problem: Motif GUI: crash when setting menu colors. (Andrzej Bylicki) Solution: Add {} to make "n" incremented correctly. (closes vim/vim#6989, closes vim/vim#5948) https://github.com/vim/vim/commit/7795bfea6d30c85f2c05d986a0cfe4019df4d74d vim-patch:8.2.1715: Motif GUI: commented out code missed {} Problem: Motif GUI: commented out code missed {}. Solution: Add {} and reenable the code. (similar to vim/vim#6989) https://github.com/vim/vim/commit/26cd3063b2e2084cfd17989e7584c64f278aaaef vim-patch:8.2.1717 Problem: MS-Windows installer doesn't have Russian translations. Solution: Add Russian translations. (closes vim/vim#6985) https://github.com/vim/vim/commit/809fcecddce59ccb59384d63f5e0505c89f69209 vim-patch:8.2.1721: MS-Windows installer doesn't work Problem: MS-Windows installer doesn't work. Solution: Write "Russian" in ASCII. (closes vim/vim#6995, see #). https://github.com/vim/vim/commit/7f9c9c51a3680f120e1c3f2bb7239c9fa115b27f vim-patch:8.2.1735: Github actions appear to timeout too soon Problem: Github actions appear to timeout too soon. Solution: use "timeout" instead of "ping". https://github.com/vim/vim/commit/851d108313317a062371a6750e6c6bf370a9bafa vim-patch:8.2.1738: Mac: str2float() recognizes comma instead of decimal point Problem: Mac: str2float() recognizes comma instead of decimal point. Solution: Set LC_NUMERIC to "C". (closes vim/vim#7003) https://github.com/vim/vim/commit/509f8031b2b347c033327ef33f3e5573a0595dbc vim-patch:8.2.1745: tiny version doesn't build Problem: Tiny version doesn't build. Solution: Add dummy ex_var() function. https://github.com/vim/vim/commit/d47f50b3312af2b8baf37505b7a589daf3f7d942
* | | lsp: Add vim.lsp.buf.range_code_action() (#12962)notomo2020-09-24
| | | | | | | | | | | | | | | Allows to execute code_action for a given range. :'<,'>lua vim.lsp.buf.range_code_action()
* | | Merge pull request #12515 from teto/remove-foldline-finalMatthieu Coudron2020-09-24
|\ \ \ | | | | | | | | screen.c: remove fold_line
| * | | screen: more work on fold_line replacementBjörn Linse2020-09-24
| | | |
| * | | screen.c: remove fold_lineMatthieu Coudron2020-09-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | as well as copy_text_attr, text_to_screenline. Display of folded line is now done via win_line, which reduces code deduplication. As fold_line was a trimmed down version of win_line, this change brings new features such CursorLineNr highighting even on folded line, as well as CursorLine highlighting.
* | | | Merge pull request #12955 from vigoux/vim-8.2.0953Thomas Vigouroux2020-09-24
|\ \ \ \ | |/ / / |/| | | [RFC] vim-patch:8.2.{0953,0955,0956,1678}
| * | | vim-patch:8.2.1678: crash when using ":set" after ":ownsyntax"Thomas Vigouroux2020-09-24
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Crash when using ":set" after ":ownsyntax". Solution: Make sure 'spelloptions' is not NULL. (closes vim/vim#6950) https://github.com/vim/vim/commit/d1f76afaf963be706697279ab0570ffcb8a1f2fc
| * | | vim-patch:8.2.0956: spell test failsThomas Vigouroux2020-09-24
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Spell test fails. Solution: Add missing change the spell checking. https://github.com/vim/vim/commit/e0ebeda4d8219a8955001b43ef7a9268452ef7f5
| * | | vim-patch:8.2.0955: build failsThomas Vigouroux2020-09-24
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Build fails. Solution: Add missing struct change. https://github.com/vim/vim/commit/215f49c4d720367be29f56168f363a0ee9eaf86b
| * | | vim-patch:8.2.0953: spell checking doesn't work for CamelCased wordsThomas Vigouroux2020-09-24
|/ / / | | | | | | | | | | | | | | | | | | Problem: Spell checking doesn't work for CamelCased words. Solution: Add the "camel" value in the new option 'spelloptions'. (closes vim/vim#1235) https://github.com/vim/vim/commit/362b44bd4aa87a2aef0f8fd5a28d68dd09a7d909
* | | lsp: Handle ContentModified the same way as RequestCancelled (#12803)Rasmus Ishøy Michelsen2020-09-22
| | | | | | | | | | | | | | | * Added the ContentModified error to be hidden from users, like RequestCancelled * Fixed tests (and ill-formed lua code) * Simplified if-expression
* | | Merge pull request #12888 from nguymin4/update-cfilterJan Edmund Lazo2020-09-21
|\ \ \ | | | | | | | | vim-patch: Update cfilter to 1.1