aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* 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
| * | Update docMinh Son Nguyen2020-09-21
| | | | | | | | | | | | | | | | | | vim/vim@8ffc7c8b vim-patch:8.1.1281
| * | Sync cfilter 1.1 from vimMinh Son Nguyen2020-09-21
| | | | | | | | | | | | vim/vim@fc65cabb
* | | funding: Bountysource Salt -> GitHub Sponsors & Open Collective [ci skip] ↵Marco Hinz2020-09-21
|/ / | | | | | | | | | | | | | | | | | | | | | | (#12959) We have a GitHub Sponsors page for the neovim organization now: - https://github.com/sponsors/neovim It can be reached by clicking on the "Sponsor" button on the [organization page](https://github.com/neovim). This commit replaces Salt by GitHub Sponsors and Open Collective.
* | Merge pull request #12945 from jamessan/has_include-fixJames McCoy2020-09-20
|\ \ | | | | | | Only use __has_include when it is defined
| * | Only use __has_include when it is definedJames McCoy2020-09-20
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | Per GCC's documentation: > The __has_include operator by itself, without any operand or parentheses, acts as a predefined macro so that support for it can be tested in portable code. Thus, the recommended use of the operator is as follows: > > #if defined __has_include > # if __has_include (<stdatomic.h>) > # include <stdatomic.h> > # endif > #endif > > The first ‘#if’ test succeeds only when the operator is supported by the version of GCC (or another compiler) being used. Only when that test succeeds is it valid to use __has_include as a preprocessor operator.
* | Merge pull request #12938 from janlazo/vim-8.1.0285Jan Edmund Lazo2020-09-19
|\ \ | | | | | | vim-patch:8.1.{285,1782,1972,2261,2263},8.2.{240,817,824,1549,1676,1696}
| * | vim-patch:8.1.2263: 'noesckeys' test fails in GUIJan Edmund Lazo2020-09-19
| | | | | | | | | | | | | | | | | | | | | | | | Problem: 'noesckeys' test fails in GUI. Solution: Skip the test in the GUI. https://github.com/vim/vim/commit/215ba3b63698f3755b2c4de66fc728cc14a8a590 Cherry-pick "CheckNotGui" command from patch 8.1.1826.
| * | vim-patch:8.1.2261: with modifyOtherKeys set 'noesckeys' doesn't workJan Edmund Lazo2020-09-19
| | | | | | | | | | | | | | | | | | | | | Problem: With modifyOtherKeys set 'noesckeys' doesn't work. (James McCoy) Solution: Disable modifyOtherKeys while in Insert mode when 'noesckeys' is set. (closes vim/vim#5180) https://github.com/vim/vim/commit/177c9f2f06b048f4c1e154d29423edf65b128f8c
| * | vim-patch:8.2.0824: still not enough memory allocated when converting stringJan Edmund Lazo2020-09-19
| | | | | | | | | | | | | | | | | | | | | Problem: Still not enough memory allocated when converting string with special character. Solution: Reserve space for expanding K_SPECIAL. (closes vim/vim#6130) https://github.com/vim/vim/commit/1919371b2b9ddb1a645f40b59adbd89317530882
| * | vim-patch:8.2.0817: not enough memory allocated when converting stringJan Edmund Lazo2020-09-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Not enough memory allocated when converting string with special character. Solution: Reserve space for modifier code. (closes vim/vim#6130) https://github.com/vim/vim/commit/f7271e831614d15d173c7f562cc26f48c2554ce9 Cherry-pick Test_eval(), Test_nr2char() from patch 8.2.0448.
| * | vim-patch:8.1.1972: no proper test for getchar()Jan Edmund Lazo2020-09-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: No proper test for getchar(). Solution: Add a test with special characters. https://github.com/vim/vim/commit/5d712e4672c6c8cf7f35cfb7d8eb7e8aa24062ac N/A patches for version.c: vim-patch:8.1.0285: compiler warning for conversion Problem: Compiler warning for conversion. Solution: Add a type cast. (Mike Williams) https://github.com/vim/vim/commit/d7cc16357083c4fc4271e25fb36c4fbaee99e0f1 vim-patch:8.1.1782: MS-Windows: system() has temp file error with 'noshelltemp' Problem: MS-Windows: system() has temp file error with 'noshelltemp'. Solution: Check s_dont_use_vimrun. (Ken Takata, closes vim/vim#4754) https://github.com/vim/vim/commit/0e6bfb9b2eb108d96a49ac4f8dc638c2eefeda2b vim-patch:8.2.0240: using memory after it was freed Problem: Using memory after it was freed. (Dominique Pelle) Solution: Do not mix converion buffer with other buffer. https://github.com/vim/vim/commit/408030e8d053fe1c871b2fc366363a30ed98c889 vim-patch:8.2.1549: "r" fails if 'esckeys' is off and modifyOtherKeys is used Problem: The "r" command fails for keys with modifiers if 'esckeys' is off and modifyOtherKeys is used. (Lauri Tirkkonen) Solution: Temporarily disable bracketed paste and modifyOtherKeys if 'esckeys' is off. (closes vim/vim#6809) https://github.com/vim/vim/commit/ca774f67534e6d1843fda9d1dc9a899972d27577 vim-patch:8.2.1676: compiler warnings for function typecast Problem: Compiler warnings for function typecast. Solution: Add an intermediate cast to "void *". https://github.com/vim/vim/commit/a4224860a498eb870280130e00fe6f376b7a2e6b vim-patch:8.2.1696: unused (duplicate) macros Problem: Unused (duplicate) macros. Solution: Remove the macros. https://github.com/vim/vim/commit/2c12f890551bbdf5605472a4d711d48a273685d7
* | | Merge pull request #12939 from bfredl/pastetestBjörn Linse2020-09-19
|\ \ \ | | | | | | | | test: buffer updates: add visual charwise paste test
| * | | test: buffer updates: add visual charwise paste testBjörn Linse2020-09-19
|/ / /
* | | Merge pull request #12935 from vigoux/byte-change-linesBjörn Linse2020-09-19
|\ \ \ | |/ / |/| | buf_updates: fix wrong updates on linewise change
| * | lint: is lintBjörn Linse2020-09-19
| | |
| * | util: make __asan_* prototypes available for ENHANCED printf debugingBjörn Linse2020-09-19
| | |
| * | buffer updates: fix issues with "change" operatorBjörn Linse2020-09-19
| | |
| * | tests: lua buffer updates: reorg check_events()Björn Linse2020-09-19
| | |
| * | buf_updates: fix wrong updates on linewise changeThomas Vigouroux2020-09-18
| | |
* | | lsp: remove popup No signature available. (#12915)Raphael2020-09-18
|/ / | | | | | | | | | | | | | | | | | | | | | | * lsp: remove popup No signature available. If no signatures. we shouldn't popup No signature available ..It will make noise when use ` api.nvim_command("autocmd CompleteDone <buffer> lua vim.lsp.buf.signature_help()")` * fix ci test failed remove whitespace * print message when no signature help * Add comment
* | buf_updates: fix updates for empty buffers (#12926)Thomas Vigouroux2020-09-17
| | | | | | On empty buffers, when editing the first line, the line is buffered, causing offset to be < 0. While the buffer is not actually empty, the buffered line has not been flushed (and should not be) yet, so the call is valid but an edge case.
* | Merge pull request #12872 from nvim-treesitter/extmarks-wrong-boundcheckBjörn Linse2020-09-17
|\ \ | | | | | | Extmarks: allow to set extranges past final newline
| * | api(extmarks): allow extrange past final newlineThomas Vigouroux2020-09-17
|/ /
* | Merge pull request #12911 from vigoux/bytetrack-formatoption-roBjörn Linse2020-09-16
|\ \ | | | | | | treesitter: filter updates on <CR>
| * | treesitter: filter updates on <CR>Thomas Vigouroux2020-09-16
|/ / | | | | | | | | This fixes an error when fo=ro, when hitting <CR> to insert a new comment line.
* | Merge pull request #12917 from bfredl/bytes_setlineBjörn Linse2020-09-16
|\ \ | | | | | | buf_attach: fix buffer updates with setline()
| * | buf_attach: fix buffer updates with setline()Björn Linse2020-09-16
| |/
* | Merge pull request #12914 from janlazo/vim-8.2.1675Jan Edmund Lazo2020-09-16
|\ \ | | | | | | vim-patch:8.1.{2108,2222,2338},8.2.{637,1526,1675,1684}
| * | vim-patch:8.1.2222: accessing invalid memoryJan Edmund Lazo2020-09-15
| | | | | | | | | | | | | | | | | | Problem: Accessing invalid memory. (Dominique Pelle) Solution: Reset highlight_match every time. (closes vim/vim#5125) https://github.com/vim/vim/commit/7ab5d77666c98f5229759402a451a26ea57a4801
| * | vim-patch:8.1.2108: cannot close the cmdline window from CmdWinEnterJan Edmund Lazo2020-09-15
| | | | | | | | | | | | | | | | | | Problem: Cannot close the cmdline window from CmdWinEnter. (George Brown) Solution: Reset cmdwin_result earlier. (Christian Brabandt, closes vim/vim#4980) https://github.com/vim/vim/commit/23324a0b35d18c5caac20b1d543ed2d1f762f5b5