aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* | | | | basic support for usdt probesZachary P. Landau2020-10-10
| | | | |
* | | | | Merge pull request #13075 from vigoux/ts-check-parser-versionThomas Vigouroux2020-10-09
|\ \ \ \ \ | | | | | | | | | | | | treesitter: check language ABI version on load
| * | | | | treesitter: check language ABI version on loadThomas Vigouroux2020-10-08
| | | | | | | | | | | | | | | | | | | | | | | | This is will avoid some issues at runtime.
* | | | | | vim-patch:8.2.0007: popup menu positioned wrong with folding in two tabsJan Edmund Lazo2020-10-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Popup menu positioned wrong with folding in two tabs. Solution: Update the cursor line height. (closes vim/vim#5353) https://github.com/vim/vim/commit/09dd2bb3364cc8fb5a8f2507bc2f4ceba481db3d
* | | | | | vim-patch:8.1.2405: matchadd_conceal test fails under valgrindJan Edmund Lazo2020-10-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: matchadd_conceal test fails under valgrind. Solution: Use WaitForAssert() and wait a bit longer. https://github.com/vim/vim/commit/1f9a028def327bd9bbfef375cb1283cd51e04678
* | | | | | vim-patch:8.1.2303: cursor in wrong position after horizontal scrollJan Edmund Lazo2020-10-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cursor in wrong position after horizontal scroll. Solution: Set w_valid_leftcol. (closes vim/vim#5214, closes vim/vim#5224) https://github.com/vim/vim/commit/08f23636aef595f4cc061dfee8248dca97df16b3
* | | | | | vim-patch:8.1.2294: cursor pos wrong with concealing and search causes a scrollJan Edmund Lazo2020-10-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cursor position wrong when characters are concealed and asearch causes a scroll. Solution: Fix the cursor column in a concealed line after window scroll. (closes vim/vim#5215, closes vim/vim#5012) https://github.com/vim/vim/commit/cbee635eee3007db97646ddb9f211a1d4966eb2a
* | | | | | vim-patch:8.1.1717: last char in menu popup window highlightedJan Edmund Lazo2020-10-08
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Last char in menu popup window highlighted. Solution: Do not highlight an extra character twice. https://github.com/vim/vim/commit/f914a33c9c8ec5c30da684a4a16edad3e0224f0a N/A patches for version.c: vim-patch:8.1.0746: highlighting not updated with conceal and 'cursorline' Problem: Highlighting not updated with conceal and 'cursorline'. (Jason Franklin) Solution: Do not use a zero line number. Check if 'conceallevel' is set for the current window. https://github.com/vim/vim/commit/bbee8d5122b159683b3f52eddd0da85fcf1fcbfd
* | | | | Merge pull request #13029 from aufarg/vim-8.2.1345Jan Edmund Lazo2020-10-07
|\ \ \ \ \ | | | | | | | | | | | | [RDY] vim-patch:8.2.{1345,1488}
| * | | | | vim-patch:8.2.1488: text does not scroll when inserting above first lineAufar Gilbran2020-10-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Text does not scroll when inserting above first line. Solution: Adjust off-by-one error. (Ken Takata, closes vim/vim#6739) https://github.com/vim/vim/commit/9dc1917f42b23277e143fc58bbe27482b0b76bad
| * | | | | vim-patch:8.2.1345: Redraw error when using visual block and scrollAufar Gilbran2020-10-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Redraw error when using visual block and scroll. Solution: Add check for w_topline. ( closes vim/vim#6597) https://github.com/vim/vim/commit/f8992d47cd50494c64bb733329067c9de3c75200
* | | | | | vim-patch:8.2.1599: missing line end when skipping a long line with :cgetfileJan Edmund Lazo2020-10-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Missing line end when skipping a long line with :cgetfile. Solution: Fix off-by-one error. (closes vim/vim#6870) https://github.com/vim/vim/commit/59941cbd8035415d68683edc4e571306b10669ad
* | | | | | vim-patch:8.1.1705: using ~{} for a literal dict is not niceJan Edmund Lazo2020-10-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Using ~{} for a literal dict is not nice. Solution: Use #{} instead. https://github.com/vim/vim/commit/4c6d90458baae843463f930fdc3fe4a7a2191d27
* | | | | | vim-patch:8.1.1692: using *{} for literal dict is not backwards compatibleJan Edmund Lazo2020-10-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Using *{} for literal dict is not backwards compatible. (Yasuhiro Matsumoto) Solution: Use ~{} instead. https://github.com/vim/vim/commit/b8be54dcc517c9d57b62409945b7d4b90b6c3071
* | | | | | vim-patch:8.1.1686: "*" of "*{" is recognized as multipy operatorJan Edmund Lazo2020-10-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: "*" of "*{" is recognized as multipy operator. (Yasuhiro Matsumoto) Solution: Check for the "{". https://github.com/vim/vim/commit/2898ebb44cee62a70a11b44a97bdad8cc00157b1
* | | | | | vim-patch:8.1.1683: dictionary with string keys is longer than neededJan Edmund Lazo2020-10-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Dictionary with string keys is longer than needed. Solution: Use *{key: val} for literaly keys. https://github.com/vim/vim/commit/d5abb4c87727eecb71b0e8ffdda60fc9598272f3 Vim's popup,textprop features are N/A. Neovim has not polyfilled their APIs. Skip docs and tests for these features.
* | | | | | vim-patch:8.1.2325: crash when using balloon with empty lineJan Edmund Lazo2020-10-06
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Crash when using balloon with empty line. Solution: Handle empty lines. (Markus Braun) https://github.com/vim/vim/commit/9ae862ebba4a8962cb1c6811a2a46656fa672599 Port Test_balloon_split() from patch 8.0.1318 for merging only. It won't run because of the function check.
* | | | | vim-patch:8.1.1624: when testing in the GUI may try to run gvim in a terminalJan Edmund Lazo2020-10-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When testing in the GUI may try to run gvim in a terminal. Solution: Add the -v argument. (Yee Cheng Chin, closes vim/vim#4605) Don't skip tests that work now. https://github.com/vim/vim/commit/0d702028feb859e6bde9a0c943d398d86294beb7
* | | | | vim-patch:8.1.1619: tests are not run with GUI on TravisJan Edmund Lazo2020-10-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Tests are not run with GUI on Travis. Solution: Add a testgui job. (Ozaki Kiichi, closes vim/vim#4609) https://github.com/vim/vim/commit/435f9f06cac02c1d2e5c52435d36e80f4ad2a8bd N/A patches for version.c: vim-patch:8.1.1771: options test fails on MS-Windows Problem: Options test fails on MS-Windows. Solution: Add correct and incorrect values for 'completeslash'. https://github.com/vim/vim/commit/d4404b4391a0cd3ab197e09bee7828c88882f6b2 vim-patch:8.1.2274: newlines in 'balloonexpr' result only work in the GUI Problem: Newlines in 'balloonexpr' result only work in the GUI. Solution: Also recognize newlines in the terminal. (closes vim/vim#5193) https://github.com/vim/vim/commit/d1c1c823892d0713065934256f48e7f4e6609f99 vim-patch:8.2.0554: the GUI doesn't set t_Co Problem: The GUI doesn't set t_Co. Solution: In the GUI set t_Co to 256 * 256 * 256. (closes vim/vim#5903) https://github.com/vim/vim/commit/acc770a10f65107131473ea2ab4ae5d429dfe172 vim-patch:8.2.1806: MS-Windows with Python: Vim freezes after import command Problem: MS-Windows with Python: Vim freezes after import command. Solution: Use either "NUL" or "CONIN$" when reopening stdin. (Yasuhiro Matsumoto, closes vim/vim#7083) https://github.com/vim/vim/commit/253b16a4abdad1df350b9ddd9a709520b063934c
* | | | | vim-patch:8.1.2401: :cexpr does not handle | in expressionJan Edmund Lazo2020-10-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: :cexpr does not handle | in expression. Solution: Remove EX_TRLBAR and set nextcmd pointer. https://github.com/vim/vim/commit/88a3e2b2ac33e3bb4b7cf9132eb75db051e8f4ed
* | | | | vim-patch:8.1.2310: no proper test for directory changes in quickfixJan Edmund Lazo2020-10-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: No proper test for directory changes in quickfix. Solution: Add a test that uses multiple directories. (Yegappan Lakshmanan, closes vim/vim#5230) https://github.com/vim/vim/commit/d8a8c4ca089eaaf7934c0f2b3be676df5a4c0248
* | | | | lua: vim.wait allows control of fast events (#13053)TJ DeVries2020-10-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lua: vim.wait allows control of fast events * fixup: remove requirement of function for easier waiting * fixup: lint * fixup: bfredl comments
* | | | | Merge pull request #13054 from erw7/fix-msg-is-a-directory-on-WindowsThomas Vigouroux2020-10-06
|\ \ \ \ \ | | | | | | | | | | | | fileio: fix "is a directory" warning on Windows
| * | | | | fileio: fix "is a directory" warning on Windowserw72020-10-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The porting of vim/vim@c8fe645 by #13040 on Windows was incomplete. This fixes that and makes the "is a directory" warning appear properly on Windows as well.
* | | | | | Merge pull request #13042 from godlygeek/unmapped_meta_is_escJames McCoy2020-10-05
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | Treat unmapped ALT/META as ESC+c in all modes Closes #7972
| * | | | | Treat unmapped ALT/META as ESC+c in all modesMatt Wozniski2020-10-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In #8226 <A-x> and <M-x> were changed to behave like <Esc>x in insert mode when no mapping exists. This commit backs out that change and replaces it with a more general one that makes unmapped ALT and META keypresses as <Esc>+char in all modes. This fixes an unnecessary and confusing inconsistency between modes.
* | | | | | Merge pull request #13039 from janlazo/vim-8.2.1790Jan Edmund Lazo2020-10-05
|\ \ \ \ \ \ | | | | | | | | | | | | | | vim-patch:8.1.{1812,2024,2239,2242,2247,2249,2253},8.2.{354,603,609,665,1570,1790,1792,1801}
| * | | | | | vim-patch:8.2.1801: undo file not found when using ":args" or ":next"Jan Edmund Lazo2020-10-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Undo file not found when using ":args" or ":next". Solution: Handle like editing another file. (closes vim/vim#7072) https://github.com/vim/vim/commit/55b419b871dd35f5b05dd2aed65f14461b493ba9
| * | | | | | vim-patch:8.1.2024: delete call commented out for debuggingJan Edmund Lazo2020-10-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Delete call commented out for debugging. Solution: Restore the delete call. (Christian Brabandt) https://github.com/vim/vim/commit/9283f92008accd0b797d2c913ce191b490ce3c3d
| * | | | | | vim-patch:8.1.1812: reading a truncted undo file hangs VimJan Edmund Lazo2020-10-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Reading a truncted undo file hangs Vim. Solution: Check for reading EOF. (closes vim/vim#4769) https://github.com/vim/vim/commit/fb06d767a8d76eead5391302fc88115d6e3879d8
| * | | | | | vim-patch:8.2.0665: wrongly assuming Python executable is called "python"Jan Edmund Lazo2020-10-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Wrongly assuming Python executable is called "python". Solution: Use detected python command. (Ken Takata, closes vim/vim#6016) Also use CheckFunction if possible. https://github.com/vim/vim/commit/a161cb5dddd6d374899e46fde834ce9ba5c80c0b CheckPython() is used only in test_terminal.vim as of patch 8.2.1794. test_terminal.vim is no-opt in Neovim. I ported it only for merging Vim patches. N/A patches for version.c: vim-patch:8.1.2239: CI fails when running tests without building Vim Problem: CI fails when running tests without building Vim. Solution: Skip creating doc tags if the execute does not exist. https://github.com/vim/vim/commit/1a577433ac77b74a965476799619ad0fb2676d31 vim-patch:8.1.2242: creating docs tags uses user preferences Problem: Creating docs tags uses user preferences. (Tony Mechelynck) Solution: Add "--clean". https://github.com/vim/vim/commit/70def98a957620cc325d1ab6ee35f13187598693 vim-patch:8.1.2247: "make vimtags" does not work in runtime/doc Problem: "make vimtags" does not work in runtime/doc. Solution: Test existence with "which" instead of "test -x". (Ken Takata) https://github.com/vim/vim/commit/e890b9f5dd3ae76e301b2df7f3151366acaba5dc vim-patch:8.1.2249: "make vimtags" does not print any message Problem: "make vimtags" does not print any message. Solution: Add a message that the tags have been updated. https://github.com/vim/vim/commit/d047840ce4b770a86bacab0d62e72d0f61a2b8ab vim-patch:8.1.2253: using "which" to check for an executable is not reliable Problem: Using "which" to check for an executable is not reliable. Solution: Use "command -v" instead. Also exit with error code when generating tags has an error. (closes vim/vim#5174) https://github.com/vim/vim/commit/ad4de52510d5b4a949c0c9e25b5d5333744820b3 vim-patch:8.2.0354: Python 3.9 does not define _Py_DEC_REFTOTAL Problem: Python 3.9 does not define _Py_DEC_REFTOTAL. (Zdenek Dohnal) Solution: Remove it, it was only for debugging. https://github.com/vim/vim/commit/a65bb53514a1af1ec0dc5c4831dfaef69f139a48 vim-patch:8.2.0603: configure does not detect moonjit Problem: Configure does not detect moonjit. Solution: Add check for moonjit. (Shlomi Fish, closes vim/vim#5947) https://github.com/vim/vim/commit/f49e5640821d8ef752fb50d99edcf40bb62a4d4d vim-patch:8.2.0609: configure does not detect moonjit correctly Problem: Configure does not detect moonjit correctly. Solution: Double the brackets. (Ozaki Kiichi) https://github.com/vim/vim/commit/ad4dc83389931a0354c3691b42f99a5bb98c766f vim-patch:8.2.1570: configure check for dirfd() does not work on HPUX Problem: Configure check for dirfd() does not work on HPUX. (Michael Osipov) Solution: Use AC_TRY_LINK instead of AC_TRY_COMPILE. (closes vim/vim#6838) https://github.com/vim/vim/commit/9d8bfae50fdaf5f5ec6307c60ebd1fad0927c6be vim-patch:8.2.1790: MS-Windows with Python: crash when executed from Vifm Problem: MS-Windows with Python: crash when executed from Vifm. Solution: Use NUL instead of CONIN. (Ken Takata, closes vim/vim#7061, closes vim/vim#7053) https://github.com/vim/vim/commit/794771cfd83af2a0d1926bed301e784447e7290b vim-patch:8.2.1792: Configure does not recognize Racket 6.1+ Problem: Configure does not recognize Racket 6.1+. Solution: Add a check for "rktio". (closes vim/vim#7062) https://github.com/vim/vim/commit/588d241d44fc25ad4c5a635ee4fdeafdfcee0fde
* | | | | | | Merge pull request #13040 from Shougo/vim-8.2.1793Jan Edmund Lazo2020-10-05
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | [RDY] vim-patch:8.2.1793: not consistently giving the "is a directory" warning
| * | | | | | vim-patch:8.2.1793: not consistently giving the "is a directory" warningShougo Matsushita2020-10-06
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Not consistently giving the "is a directory" warning. Solution: Adjust check for illegal file name and directory. (Yasuhiro Matsumoto, closes vim/vim#7067) https://github.com/vim/vim/commit/c8fe645c198e2ca55c4e3446efbbdb9b995c63ce
* / / / / / PVS/V1001: Remove assignment to unused variableG-flat2020-10-05
|/ / / / /
* | | | | vim-patch:8.2.0841: 'verbose' value 16 causes duplicate outputJan Edmund Lazo2020-10-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: 'verbose' value 16 causes duplicate output. Solution: Combine levels 15 and 16 into one message. (Christian Brabandt, closes vim/vim#6153) https://github.com/vim/vim/commit/823654bc06c847af20967d41db32d592aba416cb
* | | | | vim-patch:8.1.2143: cannot see each command even when 'verbose' is setJan Edmund Lazo2020-10-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot see each command even when 'verbose' is set. Solution: List each command when 'verbose' is at least 16. https://github.com/vim/vim/commit/4facea310c2788c88f021b262658b847381a50a8 Cherry-pick Test_tselect() from patch 8.1.2141. It requires screendump so it won't run. I cannot port it to a lua screen test.
* | | | | vim-patch:8.2.1787: crash with 'incsearch' and very long lineJan Edmund Lazo2020-10-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Crash with 'incsearch' and very long line. Solution: Check whether regprog becomes NULL. (closes vim/vim#7063) https://github.com/vim/vim/commit/795aaa1e84d76a6fe066694de9876b8a21cbe40c N/A patches for version.c: vim-patch:8.2.1784: commits are not scanned for security problems Problem: commits are not scanned for security problems Solution: Enable Github code scanning. (Christian Brabandt, closes vim/vim#7057) https://github.com/vim/vim/commit/fa79be6b10e1d34fd697a56e85f6c0ce101f3d62
* | | | | vim-patch:8.2.1780: statusline not updated when splitting windowsJan Edmund Lazo2020-10-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Statusline not updated when splitting windows. Solution: Call status_redraw_all(). (Jason Franklin, closes vim/vim#5496) https://github.com/vim/vim/commit/668008be66326ed9e5b1122abede34ed3d2de2d8
* | | | | vim-patch:8.2.1779: some debian changelog files are not recognizedJan Edmund Lazo2020-10-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Some debian changelog files are not recognized. Solution: Add */debian/changelog. (Jason Franklin) https://github.com/vim/vim/commit/0022675aa362da0969666e48ced252b57ca1f79e
* | | | | Merge pull request #12968 from erw7/fix-substitute2Thomas Vigouroux2020-10-02
|\ \ \ \ \ | |_|/ / / |/| | | | fix substitute problem with inccommand
| * | | | extmark: Change nvim_buf_set_extmark to not create undo dataerw72020-10-02
| | | | |
| * | | | undo: fix possibility of abortingerw72020-10-02
| | | | |
| * | | | extmark: fix decoration ploblems with extmarkerw72020-10-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 54ce101 changed the way undo entries are created when adding decorations. This creates all sorts of problems.This change fixes the problem by reverting to the previous behavior.
* | | | | screen.c: fix buffer overflow due to foldingerw72020-10-01
| | | | | | | | | | | | | | | | | | | | fixes #12988.
* | | | | 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