]>
granicus.if.org Git - vim/log
Bram Moolenaar [Wed, 17 Feb 2021 13:52:14 +0000 (14:52 +0100)]
patch 8.2.2525: Vim9: only local variables checked for a name
Problem: Vim9: only local variables checked for a name.
Solution: Also check arguments and script variables. (closes #7838)
Bram Moolenaar [Wed, 17 Feb 2021 12:14:07 +0000 (13:14 +0100)]
patch 8.2.2524: cannot change the characters displayed in the foldcolumn
Problem: Cannot change the characters displayed in the foldcolumn.
Solution: Add fields to 'fillchars'. (Yegappan Lakshmanan, Matthieu Coudron,
closes #7860)
Bram Moolenaar [Wed, 17 Feb 2021 11:29:17 +0000 (12:29 +0100)]
patch 8.2.2523: Svelte filetype not recognized
Problem: Svelte filetype not recognized.
Solution: Add a detection rule. (Brian Ryall, closes #7858)
Bram Moolenaar [Wed, 17 Feb 2021 11:25:49 +0000 (12:25 +0100)]
patch 8.2.2522: Beancount filetype not recognized
Problem: Beancount filetype not recognized.
Solution: Add a detection rule. (Brian Ryall, closes #7859)
Bram Moolenaar [Tue, 16 Feb 2021 21:22:13 +0000 (22:22 +0100)]
patch 8.2.2521: some compilers can't handle pointer initialization
Problem: Some compilers can't handle pointer initialization. (John
Marriott)
Solution: Use a local struct and assign it afterwards.
Bram Moolenaar [Tue, 16 Feb 2021 20:14:33 +0000 (21:14 +0100)]
patch 8.2.2520: missing tests for 'listchars'
Problem: Missing tests for 'listchars'.
Solution: Add a few more checks. (Yegappan Lakshmanan, closes #7854)
Bram Moolenaar [Mon, 15 Feb 2021 20:30:30 +0000 (21:30 +0100)]
patch 8.2.2519: Vim9: no reason to keep strange Vi behavior
Problem: Vim9: no reason to keep strange Vi behavior.
Solution: ":3" and ":3|" both go to line 3. ":|" does not print the line.
(closes #7840)
Bram Moolenaar [Mon, 15 Feb 2021 19:38:25 +0000 (20:38 +0100)]
patch 8.2.2518: 'listchars' should be window-local
Problem: 'listchars' should be window-local.
Solution: Make 'listchars' global-local. (Yegappan Lakshmanan, Marco Hinz,
closes #5206, closes #7850)
Bram Moolenaar [Sun, 14 Feb 2021 21:40:57 +0000 (22:40 +0100)]
patch 8.2.2517: Vim9: fix for s390 not tested on other systems
Problem: Vim9: fix for s390 not tested on other systems.
Solution: Add a test.
Bram Moolenaar [Sun, 14 Feb 2021 15:34:59 +0000 (16:34 +0100)]
patch 8.2.2516: test failure on s390
Problem: Test failure on s390. (analyses by James McCoy)
Solution: Only set the try_finally label when not skipping.
Bram Moolenaar [Sun, 14 Feb 2021 14:37:30 +0000 (15:37 +0100)]
patch 8.2.2515: memory access error when truncating an empty message
Problem: Memory access error when truncating an empty message.
Solution: Check for an empty string. (Dominique Pellé, closes #7841)
Bram Moolenaar [Sun, 14 Feb 2021 13:07:34 +0000 (14:07 +0100)]
patch 8.2.2514: Vim9: build error in tiny version
Problem: Vim9: build error in tiny version.
Solution: Add #ifdef.
Bram Moolenaar [Sun, 14 Feb 2021 12:30:01 +0000 (13:30 +0100)]
patch 8.2.2513: Vim9: missing part of :vim9cmd change
Problem: Vim9: missing part of :vim9cmd change.
Solution: Use command modifier in in_vim9script().
Bram Moolenaar [Sun, 14 Feb 2021 12:17:22 +0000 (13:17 +0100)]
patch 8.2.2512: Vim9: compiling error test sometimes fails
Problem: Vim9: compiling error test sometimes fails.
Solution: use WaitForAssert() instead of sleeping for a bit. (Dominique
Pellé, closes #7837)
Bram Moolenaar [Sun, 14 Feb 2021 11:57:36 +0000 (12:57 +0100)]
patch 8.2.2511: Vim9: cannot use Vim9 script syntax in some places
Problem: Vim9: cannot use Vim9 script syntax in some places.
Solution: Add the :vim9cmd command modifier. Incompatible: Makes ":vim9"
mean ":vim9cmd" instead of ":vim9script".
Bram Moolenaar [Sat, 13 Feb 2021 20:31:18 +0000 (21:31 +0100)]
patch 8.2.2510: internal error when popup with mask is zero height or width
Problem: Internal error when popup with mask is zero height or width.
Solution: Bail out if width or height is zero. (closes #7831)
Bram Moolenaar [Sat, 13 Feb 2021 17:33:02 +0000 (18:33 +0100)]
patch 8.2.2509: tests fail on s390 build
Problem: Tests fail on s390 build.
Solution: Initialize trycmd_T.
Bram Moolenaar [Sat, 13 Feb 2021 17:24:23 +0000 (18:24 +0100)]
patch 8.2.2508: cannot change the character displayed in non existing lines
Problem: Cannot change the character displayed in non existing lines.
Solution: Add the "eob" item to 'fillchars'. (closes #7832, closes #3820)
Bram Moolenaar [Sat, 13 Feb 2021 17:14:48 +0000 (18:14 +0100)]
Update runtime files
Bram Moolenaar [Sat, 13 Feb 2021 16:08:33 +0000 (17:08 +0100)]
patch 8.2.2507: github build may fail if Ubuntu 20.04 is used
Problem: Github build may fail if Ubuntu 20.04 is used. Installing rust is
not needed.
Solution: Specify ubuntu-18.04 instead of latest. Update "pip" instead of
installing rust. (Ozaki Kiichi, closes #7820)
Bram Moolenaar [Sat, 13 Feb 2021 14:02:46 +0000 (15:02 +0100)]
patch 8.2.2506: Vim9: :continue does not work correctly in a :try block
Problem: Vim9: :continue does not work correctly in a :try block
Solution: Add the TRYCLEANUP instruction. (closes #7827)
Bram Moolenaar [Fri, 12 Feb 2021 21:10:21 +0000 (22:10 +0100)]
patch 8.2.2505: Vim9: crash after defining function with invalid return type
Problem: Vim9: crash after defining function with invalid return type.
Solution: Clear function growarrays. Fix memory leak.
Bram Moolenaar [Fri, 12 Feb 2021 20:50:57 +0000 (21:50 +0100)]
patch 8.2.2504: Vim9: crash when using an argument from a closure
Problem: Vim9: crash when using an argument from a closure.
Solution: Check if gen_load_outer is NULL. (closes #7821)
Bram Moolenaar [Fri, 12 Feb 2021 20:32:47 +0000 (21:32 +0100)]
patch 8.2.2503: Vim9: a caught error may leave something on the stack
Problem: Vim9: a caught error may leave something on the stack.
Solution: Drop items from the stack if needed. (closes #7826)
Bram Moolenaar [Fri, 12 Feb 2021 18:48:51 +0000 (19:48 +0100)]
patch 8.2.2502: a few github actions are failing
Problem: A few github actions are failing.
Solution: Install setuptools-rust. (closes #7823)
Bram Moolenaar [Thu, 11 Feb 2021 20:19:34 +0000 (21:19 +0100)]
patch 8.2.2501: not always clear where an error is reported
Problem: Not always clear where an error is reported.
Solution: Add the where_T structure and pass it around. (closes #7796)
Bram Moolenaar [Thu, 11 Feb 2021 18:18:58 +0000 (19:18 +0100)]
patch 8.2.2500: build fails without the GUI feature
Problem: Build fails without the GUI feature.
Solution: Add #ifdef.
Bram Moolenaar [Thu, 11 Feb 2021 18:08:05 +0000 (19:08 +0100)]
patch 8.2.2499: "vim -g --version" does not redirect output
Problem: "vim -g --version" does not redirect output.
Solution: Reset gui.starting when showing version info. (closes #7815)
Bram Moolenaar [Thu, 11 Feb 2021 17:36:30 +0000 (18:36 +0100)]
patch 8.2.2498: no test for what 8.2.2494 fixes
Problem: No test for what 8.2.2494 fixes.
Solution: Add a simple change to test the fix. (closes #7818)
Bram Moolenaar [Wed, 10 Feb 2021 21:23:41 +0000 (22:23 +0100)]
patch 8.2.2497: no error when using more than one character for a register
Problem: No error when using more than one character for a register name.
Solution: In Vim9 script check for a single character string. (closes #7814)
Fix that VAR_BOOL and VAR_SPECIAL are not considered equal.
Bram Moolenaar [Wed, 10 Feb 2021 20:20:30 +0000 (21:20 +0100)]
patch 8.2.2496: insufficien testing for text jumping fix
Problem: Insufficien testing for text jumping fix.
Solution: Add another test case.
Bram Moolenaar [Wed, 10 Feb 2021 20:10:12 +0000 (21:10 +0100)]
patch 8.2.2495: text jumps up and down when moving the cursor
Problem: Text jumps up and down when moving the cursor in a small window
with wrapping text and 'scrolloff' set.
Solution: Adjust the computation of w_skipcol. (partly by Ghjuvan Lacambre,
closes #7813)
Bram Moolenaar [Wed, 10 Feb 2021 18:22:15 +0000 (19:22 +0100)]
patch 8.2.2494: ":rviminfo!" clears most of oldfiles
Problem: ":rviminfo!" clears most of oldfiles.
Solution: Add VIF_ONLY_CURBUF to read_viminfo(). (closes #1781)
Bram Moolenaar [Wed, 10 Feb 2021 16:20:28 +0000 (17:20 +0100)]
patch 8.2.2493: text property for text left of window shows up
Problem: Text property for text left of window shows up.
Solution: Check if the text property ends before the current column.
(closes #7806)
Bram Moolenaar [Wed, 10 Feb 2021 15:45:24 +0000 (16:45 +0100)]
patch 8.2.2492: command line buffer name cannot be translated
Problem: Command line buffer name cannot be translated.
Solution: Add _(). (Gabriel Dupras, closes #7812)
Bram Moolenaar [Wed, 10 Feb 2021 13:56:11 +0000 (14:56 +0100)]
patch 8.2.2491: popup window for text property may show in first screen line
Problem: Popup window for text property may show in first screen line.
Solution: If the text position is invisible do not show the popup window.
(closes #7807)
Bram Moolenaar [Wed, 10 Feb 2021 12:18:17 +0000 (13:18 +0100)]
patch 8.2.2490: 'wrap' option is always reset when starting diff mode
Problem: 'wrap' option is always reset when starting diff mode.
Solution: Add the "followwrap" item in 'diffopt'. (Rick Howe, closes #7797)
Bram Moolenaar [Tue, 9 Feb 2021 19:02:55 +0000 (20:02 +0100)]
patch 8.2.2489: current buffer is wrong after deletebufline() fails
Problem: current buffer is wrong after deletebufline() fails to delete a
line in another buffer.
Solution: Restore the current buffer.
Bram Moolenaar [Mon, 8 Feb 2021 20:53:09 +0000 (21:53 +0100)]
patch 8.2.2488: json_encode() gives generic argument error
Problem: json_encode() gives generic argument error.
Solution: Mention the type that can't be encoded. (issue #7802)
Bram Moolenaar [Mon, 8 Feb 2021 20:29:48 +0000 (21:29 +0100)]
patch 8.2.2487: terminal shows garbage after double-wide character
Problem: Terminal shows garbage after double-wide character with a
combining character. (Kyoichiro Yamada)
Solution: Libvterm: do not add the width of the combining character to the
glyph width. (closes #7801)
Bram Moolenaar [Sun, 7 Feb 2021 17:06:29 +0000 (18:06 +0100)]
patch 8.2.2486: Vim9: some errors for white space do not show context
Problem: Vim9: some errors for white space do not show context.
Solution: Include the text at the error.
Bram Moolenaar [Sun, 7 Feb 2021 16:17:58 +0000 (17:17 +0100)]
patch 8.2.2485: when sourcing a script again the script version isn't reset
Problem: When sourcing a script again the script version isn't reset.
Solution: Set sn_version to one when sourcing a script again. Clear
sn_save_cpo properly. (closes #7608)
Bram Moolenaar [Sun, 7 Feb 2021 15:40:05 +0000 (16:40 +0100)]
patch 8.2.2484: Vim9: Cannot use a comment starting with #{
Problem: Vim9: Cannot use a comment starting with #{ after an expression.
Solution: Remove the check for "{" since #{ dictionaries are not supported.
Bram Moolenaar [Sun, 7 Feb 2021 15:33:35 +0000 (16:33 +0100)]
patch 8.2.2483: Vim9: type error for misformed expression
Problem: Vim9: type error for misformed expression.
Solution: Check for end of command before checking type. (closes #7795)
Bram Moolenaar [Sun, 7 Feb 2021 15:05:47 +0000 (16:05 +0100)]
patch 8.2.2482: build error
Problem: Build error.
Solution: Add new error message.
Bram Moolenaar [Sun, 7 Feb 2021 14:59:49 +0000 (15:59 +0100)]
patch 8.2.2481: Vim9: confusing error when variable arguments have default
Problem: Vim9: confusing error when variable arguments have a default
value.
Solution: Give a specific error message. (closes #7793)
Bram Moolenaar [Sun, 7 Feb 2021 14:28:09 +0000 (15:28 +0100)]
patch 8.2.2480: Vim9: some errors for white space do not show context
Problem: Vim9: some errors for white space do not show context.
Solution: Include the text at the error.
Bram Moolenaar [Sun, 7 Feb 2021 13:31:06 +0000 (14:31 +0100)]
patch 8.2.2479: set/getbufline test fails without the job feature
Problem: set/getbufline test fails without the job feature.
Solution: Check whether the job feature is supported. (Dominique Pellé,
closes #7790)
Bram Moolenaar [Sun, 7 Feb 2021 13:01:35 +0000 (14:01 +0100)]
patch 8.2.2478: MS-Windows: backup files for plugins are loaded
Problem: MS-Windows: backup files for plugins are loaded.
Solution: Do not use the alternate file name for files ending in "~".
Bram Moolenaar [Sun, 7 Feb 2021 12:32:46 +0000 (13:32 +0100)]
patch 8.2.2477: autocommand tests hang on MS-Windows
Problem: Autocommand tests hang on MS-Windows.
Solution: Skip a couple of tests. Fix file name.
Bram Moolenaar [Sun, 7 Feb 2021 11:12:43 +0000 (12:12 +0100)]
patch 8.2.2476: using freed memory when splitting window while closing buffer
Problem: Using freed memory when using an autocommand to split a window
while a buffer is being closed.
Solution: Disallow splitting when the buffer has b_locked_split set.
Bram Moolenaar [Sat, 6 Feb 2021 18:28:48 +0000 (19:28 +0100)]
patch 8.2.2475: autocommand tests hangs on MS-Windows
Problem: Autocommand tests hangs on MS-Windows.
Solution: Skip one test.
Bram Moolenaar [Sat, 6 Feb 2021 18:19:42 +0000 (19:19 +0100)]
patch 8.2.2474: using freed memory when window is closed by autocommand
Problem: Using freed memory when window is closed by autocommand.
(houyunsong)
Solution: Check the window pointer is still valid.
Bram Moolenaar [Sat, 6 Feb 2021 17:08:45 +0000 (18:08 +0100)]
patch 8.2.2473: crash when leaving command line window triggers autocommand
Problem: Crash when leaving command line window triggers autocommand.
(houyunsong)
Solution: Make sure not to close the current window or buffer.
Bram Moolenaar [Sat, 6 Feb 2021 16:30:31 +0000 (17:30 +0100)]
patch 8.2.2472: crash when using command line window in an autocommand
Problem: Crash when using command line window in an autocommand.
(houyunsong)
Solution: Save and restore au_new_curbuf.
Bram Moolenaar [Sat, 6 Feb 2021 13:59:27 +0000 (14:59 +0100)]
patch 8.2.2471: popup_setoptions() does not set textprop in other tab
Problem: Popup_setoptions() does not set textprop in other tab.
Solution: use win_valid_any_tab(). (closes #7788)
Bram Moolenaar [Sat, 6 Feb 2021 13:22:32 +0000 (14:22 +0100)]
patch 8.2.2470: popup_getoptions() does not get textprop from other tab
Problem: Popup_getoptions() does not get textprop from other tab.
Solution: use win_valid_any_tab(). (closes #7786)
Bram Moolenaar [Sat, 6 Feb 2021 11:58:18 +0000 (12:58 +0100)]
patch 8.2.2469: confusing error if :winsize has a wrong argument
Problem: Confusing error if :winsize has a wrong argument.
Solution: Quote the argument in the error. (closes #2523)
Bram Moolenaar [Sat, 6 Feb 2021 11:38:51 +0000 (12:38 +0100)]
patch 8.2.2468: not easy to get the full command name from a shortened one
Problem: Not easy to get the full command name from a shortened one.
Solution: Add fullcommand(). (Martin Tournoij, closes #7777)
Bram Moolenaar [Fri, 5 Feb 2021 20:55:53 +0000 (21:55 +0100)]
patch 8.2.2467: script generated by :mkview changes alternate file
Problem: Script generated by :mkview changes alternate file.
Solution: Only write :balt in the session file. (Harish Rajagopal,
closes #7779)
Bram Moolenaar [Thu, 4 Feb 2021 21:07:16 +0000 (22:07 +0100)]
patch 8.2.2466: max() and min() can give many error messages
Problem: Max() and min() can give many error messages.
Solution: Bail out at the first error. (closes #1039, closes #7778)
Bram Moolenaar [Wed, 3 Feb 2021 22:04:46 +0000 (23:04 +0100)]
patch 8.2.2465: using freed memory in :psearch
Problem: Using freed memory in :psearch. (houyunsong)
Solution: Check the current window is still valid. Fix flaky test.
Bram Moolenaar [Wed, 3 Feb 2021 20:56:59 +0000 (21:56 +0100)]
patch 8.2.2464: using freed memory if window closed in autocommand
Problem: Using freed memory if window closed in autocommand. (houyunsong)
Solution: Check the window still exists.
Bram Moolenaar [Wed, 3 Feb 2021 20:23:29 +0000 (21:23 +0100)]
patch 8.2.2463: using :arglocal in an autocommand may use freed memory
Problem: Using :arglocal in an autocommand may use freed memory.
(houyunsong)
Solution: Check if the arglist is locked.
Bram Moolenaar [Wed, 3 Feb 2021 19:14:23 +0000 (20:14 +0100)]
patch 8.2.2462: Coverity warns for not checking for fseek() error
Problem: Coverity warns for not checking for fseek() error.
Solution: Give an error message if fseek() fails.
Bram Moolenaar [Wed, 3 Feb 2021 19:01:19 +0000 (20:01 +0100)]
patch 8.2.2461: Coverity warns for unchecked return value
Problem: Coverity warns for unchecked return value.
Solution: Add "(void)" to avoid the warning.
Bram Moolenaar [Wed, 3 Feb 2021 18:57:00 +0000 (19:57 +0100)]
patch 8.2.2460: Coverity warns for unused value
Problem: Coverity warns for unused value.
Solution: Do not reset the return value to OK.
Bram Moolenaar [Wed, 3 Feb 2021 18:51:18 +0000 (19:51 +0100)]
patch 8.2.2459: Coverity reports dead code
Problem: Coverity reports dead code.
Solution: Remove the dead code.
Bram Moolenaar [Wed, 3 Feb 2021 18:44:25 +0000 (19:44 +0100)]
patch 8.2.2458: Coverity warns for :retab using freed memory
Problem: Coverity warns for :retab using freed memory.
Solution: Use the updated line pointer when moving text properties.
Bram Moolenaar [Wed, 3 Feb 2021 18:35:13 +0000 (19:35 +0100)]
patch 8.2.2457: Coverity warns for memory leak
Problem: Coverity warns for memory leak.
Solution: Free memory when out of memory.
Bram Moolenaar [Wed, 3 Feb 2021 18:31:29 +0000 (19:31 +0100)]
patch 8.2.2456: Coverity warning for strcpy() into fixed size array
Problem: Coverity warning for strcpy() into fixed size array.
Solution: Add a type cast to hopefully silence the bogus warning.
Bram Moolenaar [Wed, 3 Feb 2021 16:41:24 +0000 (17:41 +0100)]
patch 8.2.2455: Vim9: key type for literal dict and indexing is inconsistent
Problem: Vim9: key type that can be used for literal dict and indexing is
inconsistent.
Solution: Allow using number and bool as key for a literal dict. (#7771)
Bram Moolenaar [Wed, 3 Feb 2021 14:58:13 +0000 (15:58 +0100)]
patch 8.2.2454: leading space can not be made visible
Problem: Leading space can not be made visible.
Solution: Add "lead:" to 'listchars'. (closes #7772)
Bram Moolenaar [Tue, 2 Feb 2021 20:33:52 +0000 (21:33 +0100)]
patch 8.2.2453: Vim9: a variable name with "->" in the next line doesn't work
Problem: Vim9: a variable name with "->" in the next line doesn't work.
Solution: Recognize a variable name by itself. (closes #7770)
Bram Moolenaar [Tue, 2 Feb 2021 20:10:01 +0000 (21:10 +0100)]
patch 8.2.2452: no completion for the 'filetype' option
Problem: No completion for the 'filetype' option.
Solution: Add filetype completion. (Martin Tournoij, closes #7747)
Bram Moolenaar [Mon, 1 Feb 2021 19:50:37 +0000 (20:50 +0100)]
patch 8.2.2451: MS-Windows: Extended Attributes not preserved
Problem: MS-Windows: Extended Attributes not preserved.
Solution: Preserve Extended Attributes when writing a file. (Ken Takata,
closes #7765)
Bram Moolenaar [Mon, 1 Feb 2021 19:35:01 +0000 (20:35 +0100)]
patch 8.2.2450: MS-Windows: ADS was not preserved if 'backupcopy' is "yes"
Problem: MS-Windows: ADS was not preserved if 'backupcopy' is "yes".
Solution: Copy ADS before truncating the file. (Ken Takata, closes #7762)
Bram Moolenaar [Mon, 1 Feb 2021 19:14:51 +0000 (20:14 +0100)]
patch 8.2.2449: Vim9: flatten() always changes the list type
Problem: Vim9: flatten() always changes the list type.
Solution: Disallow using flatten() and add flattennew().
Bram Moolenaar [Mon, 1 Feb 2021 18:31:47 +0000 (19:31 +0100)]
patch 8.2.2448: compilation error with Ruby 3.0
Problem: Compilation error with Ruby 3.0.
Solution: Adjust #ifdefs and declaration. (Ken Takata, closes #7761)
Bram Moolenaar [Mon, 1 Feb 2021 18:24:55 +0000 (19:24 +0100)]
patch 8.2.2447: 'foldlevel' not applied to folds restored from session
Problem: 'foldlevel' not applied to folds restored from session.
Solution: Set 'foldlevel' after creaiting the folds. (closes #7767)
Bram Moolenaar [Mon, 1 Feb 2021 17:39:47 +0000 (18:39 +0100)]
patch 8.2.2446: setting 'term' empty has different error if compiled with GUI
Problem: Setting 'term' empty has different error if compiled with GUI.
Solution: Insert "else". (closes #7766)
Bram Moolenaar [Sun, 31 Jan 2021 21:18:29 +0000 (22:18 +0100)]
patch 8.2.2445: Vim9: no proper error for lambda missing return type
Problem: Vim9: no proper error for lambda missing return type.
Solution: Check for this error. (closes #7758)
Bram Moolenaar [Sun, 31 Jan 2021 20:47:42 +0000 (21:47 +0100)]
patch 8.2.2444: Vim9: compile error with combination of operator and list
Problem: Vim9: compile error with combination of operator and list.
Solution: Generate constants before parsing a list or dict. (closes #7757)
Bram Moolenaar [Sun, 31 Jan 2021 19:48:58 +0000 (20:48 +0100)]
patch 8.2.2443: Vim9: no compile time error for wrong str2float argument
Problem: Vim9: no compile time error for wrong str2float argument.
Solution: Check argument type. (closes #7759)
Bram Moolenaar [Sun, 31 Jan 2021 18:52:50 +0000 (19:52 +0100)]
patch 8.2.2442: automatic GUI selection does not check for GTK 3
Problem: Automatic GUI selection does not check for GTK 3.
Solution: Make SKIP_GTK3 empty for automatic GUI support. Set SKIP_GTK3 to
YES when checking for GTK2.
Bram Moolenaar [Sun, 31 Jan 2021 16:48:30 +0000 (17:48 +0100)]
patch 8.2.2441: Vim9: extend() does not give an error for a type mismatch
Problem: Vim9: extend() does not give an error for a type mismatch.
Solution: Check the type of the second argument. (closes #7760)
Bram Moolenaar [Sun, 31 Jan 2021 16:03:52 +0000 (17:03 +0100)]
patch 8.2.2440: documentation based on patches is outdated
Problem: Documentation based on patches is outdated.
Solution: Add changes to documentation in a patch.
Bram Moolenaar [Sun, 31 Jan 2021 15:45:53 +0000 (16:45 +0100)]
patch 8.2.2439: not easy to figure out what packages to get
Problem: Not easy to figure out what packages to get when installing Vim on
a new Ubuntu system.
Solution: Mention explicit commands that are easy to follow.
Bram Moolenaar [Sun, 31 Jan 2021 13:46:00 +0000 (14:46 +0100)]
patch 8.2.2438: out of bounds compiler warning
Problem: Out of bounds compiler warning.
Solution: Increase the size of uf_name.
Bram Moolenaar [Sun, 31 Jan 2021 13:36:06 +0000 (14:36 +0100)]
patch 8.2.2437: deprecation warnings with default configuration
Problem: Deprecation warnings with default configuration.
Solution: Add -Wno-deprecated-declarations.
Bram Moolenaar [Sun, 31 Jan 2021 13:04:44 +0000 (14:04 +0100)]
patch 8.2.2436: Vim9 script test is a bit flaky
Problem: Vim9 script test is a bit flaky.
Solution: Wait longer for exit callback.
Bram Moolenaar [Sun, 31 Jan 2021 12:08:38 +0000 (13:08 +0100)]
patch 8.2.2435: setline() gives an error for some types
Problem: setline() gives an error for some types.
Solution: Allow any type, convert each item to a string.
Bram Moolenaar [Sat, 30 Jan 2021 22:05:11 +0000 (23:05 +0100)]
patch 8.2.2434: Vim9: no error when compiling str2nr() with a number
Problem: Vim9: no error when compiling str2nr() with a number.
Solution: Add argument type checks. (closes #7759)
Bram Moolenaar [Sat, 30 Jan 2021 20:40:03 +0000 (21:40 +0100)]
patch 8.2.2433: opening cmdline window gives error in BufLeave autocommand
Problem: Opening cmdline window gives error in BufLeave autocommand.
Solution: Reset cmdwin_type when triggering the autocommand.
Bram Moolenaar [Sat, 30 Jan 2021 19:35:28 +0000 (20:35 +0100)]
patch 8.2.2432: libvterm tests are executed even when libtool doesn't work
Problem: Libvterm tests are executed even when libtool doesn't work.
Solution: Only run libvterm tests if /usr/bin/gcc exists.
Bram Moolenaar [Sat, 30 Jan 2021 18:33:36 +0000 (19:33 +0100)]
patch 8.2.2431: warning for -fno-strength-reduce with Clang 11
Problem: Warning for -fno-strength-reduce with Clang 11.
Solution: Adjust check for clang version number.
Bram Moolenaar [Sat, 30 Jan 2021 17:09:06 +0000 (18:09 +0100)]
patch 8.2.2430: :vimgrep expands wildcards twice
Problem: :vimgrep expands wildcards twice.
Solution: Do not expand wildcards a second time.
Bram Moolenaar [Sat, 30 Jan 2021 16:16:28 +0000 (17:16 +0100)]
patch 8.2.2429: :goto does not work correctly with text properties
Problem: :goto does not work correctly with text properties. (Sam McCall)
Solution: Add a test. (Andrew Radev) Also use the text property size when
computing the remaining offset. (closes #5930)
Bram Moolenaar [Sat, 30 Jan 2021 14:39:47 +0000 (15:39 +0100)]
patch 8.2.2428: FocusGained does not work when 'ttymouse' is empty
Problem: FocusGained does not work when 'ttymouse' is empty.
Solution: Don't use the short mouse code if there is a longer matching code.
(closes #7755) Add a test.
Bram Moolenaar [Fri, 29 Jan 2021 20:47:24 +0000 (21:47 +0100)]
patch 8.2.2427: can still switch windows for 'completefunc'
Problem: Can still switch windows for 'completefunc'.
Solution: Also disallow switching windows for other completions.