aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* | | | | | vim-patch:8.2.1166: once mouse move events are enabled getchar() returns themJan Edmund Lazo2021-05-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Once mouse move events are enabled getchar() returns them. Solution: Ignore K_MOUSEMOVE in getchar(). (closes vim/vim#6424) https://github.com/vim/vim/commit/ae97b94176062d30ea8c68bb83cde034c5150c78
* | | | | | vim-patch:8.0.1309: cannot use 'balloonexpr' in a terminalJan Edmund Lazo2021-05-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot use 'balloonexpr' in a terminal. Solution: Add 'balloonevalterm' and add code to handle mouse movements in a terminal. Initial implementation for Unix with GUI. https://github.com/vim/vim/commit/51b0f3701ecb440aa72ab6017c1df6940c0e0f6f
* | | | | | vim-patch:8.2.2828: Coverity complains about not checking rename() return valueJan Edmund Lazo2021-05-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Coverity complains about not checking the rename() return value. Solution: Add "(void)", can't do anything in case of a failure. https://github.com/vim/vim/commit/97a6c6a1fb6043fd6520fbaaafc6970334186167
* | | | | | vim-patch:8.2.2827: test file was not deletedJan Edmund Lazo2021-05-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Test file was not deleted. Solution: Uncomment the delete() call. (Dominique Pellé, closes vim/vim#8172) https://github.com/vim/vim/commit/5f8ed7408aaf477215bcfde3e487e24b9e6ad870
* | | | | | vim-patch:8.2.2825: code in checkreadonly() not fully testedJan Edmund Lazo2021-05-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Code in checkreadonly() not fully tested. Solution: Add more tests. (Dominique Pellé, closes vim/vim#8169) https://github.com/vim/vim/commit/2bf6034e5caf36b319148f46ba9a12e36c3bd41d
* | | | | | vim-patch:8.2.2820: session file may divide by zeroJan Edmund Lazo2021-05-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Session file may divide by zero. Solution: Avoid writing difide by zero. (closes vim/vim#8162) https://github.com/vim/vim/commit/b6c2e9a010ebd7db586081957e634903d4972fa1 Avoid typecasts if possible. Use PRIdLINENR, PRId64, to format line numbers.
* | | | | | vim-patch:8.2.2819: finishing an abbreviation with multi-byte char may not workJan Edmund Lazo2021-05-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Finishing an abbreviation with a multi-byte char may not work. Solution: Escape K_SPECIAL in the typed character. (closes vim/vim#8160) https://github.com/vim/vim/commit/4934ed34c3e2090d1963c89c629cd3ce81d3ecd1
* | | | | | Merge pull request #14483 from mjlbach/floating_window_border_fixBjörn Linse2021-05-05
|\ \ \ \ \ \ | | | | | | | | | | | | | | window.c: fix floating window border width calculation
| * | | | | | window.c: fix floating window border width calculationMichael Lingelbach2021-05-03
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | * lift calculation of w_border_adj into win_config_float * Check max floating window height and width against w_{height,width}_outer when positioning window
* | | | | | fix(gcc): compile warning in nvim_buf_set_extmarkSean Dewar2021-05-05
| | | | | |
* | | | | | Merge pull request #14424 from janlazo/vim-8.1.1726Jan Edmund Lazo2021-05-04
|\ \ \ \ \ \ | | | | | | | | | | | | | | vim-patch:8.1.1726,8.2.{296,860,1827,2388,2788,2790,2801}
| * | | | | | vim-patch:8.2.2788: Raku is now the only name what once was called perl6Jan Edmund Lazo2021-05-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Raku is now the only name what once was called perl6. Solution: Adjust the filetype detection. (closes vim/vim#8120) https://github.com/vim/vim/commit/3f88e71fa2b8b1fc97f3c218989474ea8687d197
| * | | | | | vim-patch:130cbfc31235Jan Edmund Lazo2021-05-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/130cbfc31235c6cb52ffe718ea0a5bb50fbbc9fd
| * | | | | | vim-patch:9faec4e3d439Jan Edmund Lazo2021-05-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update runtime files. https://github.com/vim/vim/commit/9faec4e3d439968e21ad74e917aebb289df8f849 Omit vim9.
| * | | | | | vim-patch:7e6a515ed14eJan Edmund Lazo2021-05-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update runtime files. https://github.com/vim/vim/commit/7e6a515ed14e204fafb3dd6e98f2fb543e64aedd Omit vim9.
| * | | | | | vim-patch:1b884a005398Jan Edmund Lazo2021-05-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update runtime files. https://github.com/vim/vim/commit/1b884a0053982335f644eec6c71027706bf3c522 Omit doc/autocmd.txt. Omit tools/emoji_list.vim. Patch v8.2.1540 is not ported.
| * | | | | | vim-patch:23515b4ef758Jan Edmund Lazo2021-05-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/23515b4ef7580af8b9d3b964a558ab2007cacda5 Omit filetype.txt changes for :Man.
| * | | | | | vim-patch:cb80aa2d53e5Jan Edmund Lazo2021-05-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update runtime files. https://github.com/vim/vim/commit/cb80aa2d53e56d3aba3b3c439fb467f29a750c5e Omit runtime/doc/tabpage.txt. Patch v8.2.1401 is not ported yet. Port optwin.vim changes without gettext(). Patch v8.2.1544 is not ported yet.
| * | | | | | vim-patch:8.2.1827: filetype detection does not test enough file namesJan Edmund Lazo2021-05-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Filetype detection does not test enough file names. Solution: Test more file names. (Adam Stankiewicz, closes vim/vim#7099) https://github.com/vim/vim/commit/10a1a534d1ae1d798bb695f9a521052ebbf1e289
| * | | | | | vim-patch:1c6737b20a5cJan Edmund Lazo2021-04-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update runtime files. https://github.com/vim/vim/commit/1c6737b20a5cf71751b180461cea22fc76d8870c
| * | | | | | vim-patch:207f009326c8Jan Edmund Lazo2021-04-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update runtime files. https://github.com/vim/vim/commit/207f009326c8f878defde0e594d7d9ed9860106e Omit nl.po.
| * | | | | | vim-patch:2547aa930b59Jan Edmund Lazo2021-04-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update runtime files. https://github.com/vim/vim/commit/2547aa930b59f5e2bcb70e81d5a57ed461e59b4f Omit modifyOtherKeys, vim9, vim.man.
| * | | | | | vim-patch:8.2.0860: cannot use CTRL-A and CTRL-X on unsigned numbersJan Edmund Lazo2021-04-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot use CTRL-A and CTRL-X on unsigned numbers. Solution: Add "unsigned" to 'nrformats'. (Naruhiko Nishino, closes vim/vim#6144) https://github.com/vim/vim/commit/aaad995f8384a77a64efba6846c9c4ac99de0953
| * | | | | | vim-patch:47e13953ffdbJan Edmund Lazo2021-04-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/47e13953ffdbb9f163b901196dec8c2100b72edd Ignore *.rej files, generated by vim-patch.sh. Source of mistakes for 1st-time contributors.
| * | | | | | vim-patch:8.2.2801: free Pascal makefile not recognizedJan Edmund Lazo2021-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Free Pascal makefile not recognized. Solution: Add the fpcmake filetype. (Doug Kearns) https://github.com/vim/vim/commit/f6d9935a13a7b37272ad71761d3d86b7f40c3d5f
| * | | | | | vim-patch:d1caa941d876Jan Edmund Lazo2021-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/d1caa941d876181aae0ebebc6ea954045bf0da24 Cherry-pick error E452 from patch v8.2.0486.
| * | | | | | vim-patch:191acfdecabfJan Edmund Lazo2021-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/191acfdecabfbd2a74867e77004196fb3b4a8c14 Skip has() changes for the "check" optional argument. Patch v8.2.0427 is not ported yet. Skip Vim9 (ex. :def).
| * | | | | | vim-patch:8.2.2388: no easy way to get the maximum or mininum number valueJan Edmund Lazo2021-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: No easy way to get the maximum or mininum number value. Solution: Add v:numbermax and v:numbermin. https://github.com/vim/vim/commit/57d5a01cb45d6edb16c3835a49b42d6d8fc0163e
| * | | | | | vim-patch:8.2.0296: mixing up "long long" and __int64 may cause problemsJan Edmund Lazo2021-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Mixing up "long long" and __int64 may cause problems. (John Marriott) Solution: Pass varnumber_T to vim_snprintf(). Add v:numbersize. https://github.com/vim/vim/commit/f9706e9df0e37d214fb08eda30ba29627e97a607
| * | | | | | vim-patch:bc93cebb692fJan Edmund Lazo2021-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update runtime files. https://github.com/vim/vim/commit/bc93cebb692f47488d66f078d1728031e9be35e7
| * | | | | | vim-patch:5666fcd0bd79Jan Edmund Lazo2021-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update runtime files. https://github.com/vim/vim/commit/5666fcd0bd794dd46813824cce63a38bcae63794 Do not manually port E290 error message. Neovim has E5030,E5031 error messages to replace E290.
| * | | | | | vim-patch:95a9dd1efc5aJan Edmund Lazo2021-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update runtime files. https://github.com/vim/vim/commit/95a9dd1efc5ae3221865f4970053a5708557e682
| * | | | | | po: remove duplicate translationsJan Edmund Lazo2021-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Neovim runs "src/nvim/po/check.vim" to validate all translations. Build fails if any translation file has a duplicate. Remove these duplicates via "msguniq --unique". https://manpage.me/?q=msguniq
| * | | | | | vim-patch:664f3cf3f21dJan Edmund Lazo2021-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Runtime file updates. https://github.com/vim/vim/commit/664f3cf3f21d3699bfd179c318ef5c869c085648
| * | | | | | vim-patch:4ceaa3a6e0b8Jan Edmund Lazo2021-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update a few runtime files https://github.com/vim/vim/commit/4ceaa3a6e0b8cb2994c303041aedcbb60527cd61 Omit de.po.
| * | | | | | vim-patch:0c0734d527a1Jan Edmund Lazo2021-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/0c0734d527a132edfb4089be48486586424b3f41 Omit rand(), srand() documentation. Patch v8.1.2342 is not ported yet.
| * | | | | | vim-patch:403f3eb4c189Jan Edmund Lazo2021-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update runtime files. https://github.com/vim/vim/commit/403f3eb4c1890826a5b3b5922c0e8e45be79a476 Port sr.po changes, done by vim-patch.sh. No way I'm manually porting the rest.
| * | | | | | vim-patch:574ee7bc1246Jan Edmund Lazo2021-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/574ee7bc1246070dba598f9561a2776aa1a10d07 Omit ru.po because I don't know the language and there's too much to port.
| * | | | | | vim-patch:5ef1c6a4838aJan Edmund Lazo2021-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/5ef1c6a4838a9629b793f3ae676f72a764171b00 "scrollfocus" is for Windows GUI only so it is N/A.
| * | | | | | vim-patch:1ff14ba24c4dJan Edmund Lazo2021-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update runtime files. https://github.com/vim/vim/commit/1ff14ba24c4d85c008d7abe5e140dbb497ffea8d
| * | | | | | vim-patch:96f45c0b6fc9Jan Edmund Lazo2021-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/96f45c0b6fc9e9d404e6805593ed1e0e6795e470 Omit de.po changes. Same reason as before: too much and I don't understand the language.
| * | | | | | vim-patch:8fe1000e9c34Jan Edmund Lazo2021-04-27
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/8fe1000e9c3438d0ff36cf2340f0f0e48f8fb89f Omit de.po changes. There's too many lines to port and I don't understand the language.
* | | | | | get_str_line: Replace grow_array usageFabian Viöl2021-05-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A single xmemdupz is sufficient, as it is already zero-terminating the string
* | | | | | Merge pull request #14455 from Sh3Rm4n/fix_get_str_lineJames McCoy2021-05-02
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | [RDY] Fix get str line
| * | | | | get_str_line: Simplify growarray usageFabian Viöl2021-04-30
| | | | | |
| * | | | | Fix documentation typos for msg_scroll_flushFabian Viöl2021-04-29
| | | | | |
| * | | | | get_str_line: Use heap instead of stackFabian Viöl2021-04-29
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The stack allocated buffer does introduce an arbitrary limit, to the length of the line. Previously, if the line was too long, it might be catched by a stack smash canary or resulted into a crash. This is not guaranteed though, and thus could result into undefined behavior. To mitigate this, an dynamic allocated buffer is replacing the stack allocated buffer, with the initial capacity of the copied line.
* | | | | signs: fix overflow during adjustment on Windows (#14472)statiolake2021-05-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Windows, `new_lnum + MAXLNUM` causes overflow and as a result the line number of that sign becomes invalid negative number. This occurs when the `set signcolumn=yes`, in other words `signcolumn` is not `auto` and the sign column is less than 2 columns. The related change was made in the commit f2ed7605da45eb79a4f7bb89fb19f680fb5a4927. Originally the above addition is only executed if `amount != MAXLNUM`, so reintroducing this check fixes the bug and will hardly produces a new bug. Fixes https://github.com/neovim/neovim/issues/14460
* | | | | fix: make nvim_win_get_number() return win number (#14470)Julian Berman2021-05-01
| | | | | | | | | | | | | | | Closes https://github.com/neovim/neovim/issues/14467
* | | | | docs: Treesitter (#13260)TJ DeVries2021-05-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc & fixes: Generate treesitter docs * fixup to treesitter-core * docs(treesitter): fix docs for most functions Co-authored-by: Thomas Vigouroux <tomvig38@gmail.com>