summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.2.2497: no error when using more than one character for a registerv8.2.2497Bram Moolenaar2021-02-105-3/+46
| | | | | | 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.
* patch 8.2.2496: insufficien testing for text jumping fixv8.2.2496Bram Moolenaar2021-02-102-3/+10
| | | | | Problem: Insufficien testing for text jumping fix. Solution: Add another test case.
* patch 8.2.2495: text jumps up and down when moving the cursorv8.2.2495Bram Moolenaar2021-02-103-3/+5
| | | | | | | 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)
* patch 8.2.2494: ":rviminfo!" clears most of oldfilesv8.2.2494Bram Moolenaar2021-02-103-9/+14
| | | | | Problem: ":rviminfo!" clears most of oldfiles. Solution: Add VIF_ONLY_CURBUF to read_viminfo(). (closes #1781)
* patch 8.2.2493: text property for text left of window shows upv8.2.2493Bram Moolenaar2021-02-105-1/+44
| | | | | | Problem: Text property for text left of window shows up. Solution: Check if the text property ends before the current column. (closes #7806)
* patch 8.2.2492: command line buffer name cannot be translatedv8.2.2492Bram Moolenaar2021-02-102-1/+3
| | | | | Problem: Command line buffer name cannot be translated. Solution: Add _(). (Gabriel Dupras, closes #7812)
* patch 8.2.2491: popup window for text property may show in first screen linev8.2.2491Bram Moolenaar2021-02-106-0/+81
| | | | | | 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)
* patch 8.2.2490: 'wrap' option is always reset when starting diff modev8.2.2490Bram Moolenaar2021-02-105-7/+38
| | | | | Problem: 'wrap' option is always reset when starting diff mode. Solution: Add the "followwrap" item in 'diffopt'. (Rick Howe, closes #7797)
* patch 8.2.2489: current buffer is wrong after deletebufline() failsv8.2.2489Bram Moolenaar2021-02-093-16/+30
| | | | | | Problem: current buffer is wrong after deletebufline() fails to delete a line in another buffer. Solution: Restore the current buffer.
* patch 8.2.2488: json_encode() gives generic argument errorv8.2.2488Bram Moolenaar2021-02-084-6/+9
| | | | | Problem: json_encode() gives generic argument error. Solution: Mention the type that can't be encoded. (issue #7802)
* patch 8.2.2487: terminal shows garbage after double-wide characterv8.2.2487Bram Moolenaar2021-02-084-6/+43
| | | | | | | 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)
* patch 8.2.2486: Vim9: some errors for white space do not show contextv8.2.2486Bram Moolenaar2021-02-077-14/+18
| | | | | Problem: Vim9: some errors for white space do not show context. Solution: Include the text at the error.
* patch 8.2.2485: when sourcing a script again the script version isn't resetv8.2.2485Bram Moolenaar2021-02-073-2/+20
| | | | | | 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)
* patch 8.2.2484: Vim9: Cannot use a comment starting with #{v8.2.2484Bram Moolenaar2021-02-073-2/+7
| | | | | Problem: Vim9: Cannot use a comment starting with #{ after an expression. Solution: Remove the check for "{" since #{ dictionaries are not supported.
* patch 8.2.2483: Vim9: type error for misformed expressionv8.2.2483Bram Moolenaar2021-02-073-0/+39
| | | | | Problem: Vim9: type error for misformed expression. Solution: Check for end of command before checking type. (closes #7795)
* patch 8.2.2482: build errorv8.2.2482Bram Moolenaar2021-02-072-0/+4
| | | | | Problem: Build error. Solution: Add new error message.
* patch 8.2.2481: Vim9: confusing error when variable arguments have defaultv8.2.2481Bram Moolenaar2021-02-073-0/+17
| | | | | | Problem: Vim9: confusing error when variable arguments have a default value. Solution: Give a specific error message. (closes #7793)
* patch 8.2.2480: Vim9: some errors for white space do not show contextv8.2.2480Bram Moolenaar2021-02-078-18/+22
| | | | | Problem: Vim9: some errors for white space do not show context. Solution: Include the text at the error.
* patch 8.2.2479: set/getbufline test fails without the job featurev8.2.2479Bram Moolenaar2021-02-073-10/+16
| | | | | | Problem: set/getbufline test fails without the job feature. Solution: Check whether the job feature is supported. (Dominique Pellé, closes #7790)
* patch 8.2.2478: MS-Windows: backup files for plugins are loadedv8.2.2478Bram Moolenaar2021-02-072-1/+6
| | | | | Problem: MS-Windows: backup files for plugins are loaded. Solution: Do not use the alternate file name for files ending in "~".
* patch 8.2.2477: autocommand tests hang on MS-Windowsv8.2.2477Bram Moolenaar2021-02-072-1/+9
| | | | | Problem: Autocommand tests hang on MS-Windows. Solution: Skip a couple of tests. Fix file name.
* patch 8.2.2476: using freed memory when splitting window while closing bufferv8.2.2476Bram Moolenaar2021-02-077-11/+26
| | | | | | 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.
* patch 8.2.2475: autocommand tests hangs on MS-Windowsv8.2.2475Bram Moolenaar2021-02-062-0/+5
| | | | | Problem: Autocommand tests hangs on MS-Windows. Solution: Skip one test.
* patch 8.2.2474: using freed memory when window is closed by autocommandv8.2.2474Bram Moolenaar2021-02-063-0/+18
| | | | | | Problem: Using freed memory when window is closed by autocommand. (houyunsong) Solution: Check the window pointer is still valid.
* patch 8.2.2473: crash when leaving command line window triggers autocommandv8.2.2473Bram Moolenaar2021-02-063-3/+14
| | | | | | Problem: Crash when leaving command line window triggers autocommand. (houyunsong) Solution: Make sure not to close the current window or buffer.
* patch 8.2.2472: crash when using command line window in an autocommandv8.2.2472Bram Moolenaar2021-02-063-5/+27
| | | | | | Problem: Crash when using command line window in an autocommand. (houyunsong) Solution: Save and restore au_new_curbuf.
* patch 8.2.2471: popup_setoptions() does not set textprop in other tabv8.2.2471Bram Moolenaar2021-02-063-1/+22
| | | | | Problem: Popup_setoptions() does not set textprop in other tab. Solution: use win_valid_any_tab(). (closes #7788)
* patch 8.2.2470: popup_getoptions() does not get textprop from other tabv8.2.2470Bram Moolenaar2021-02-063-1/+17
| | | | | Problem: Popup_getoptions() does not get textprop from other tab. Solution: use win_valid_any_tab(). (closes #7786)
* patch 8.2.2469: confusing error if :winsize has a wrong argumentv8.2.2469Bram Moolenaar2021-02-063-0/+10
| | | | | Problem: Confusing error if :winsize has a wrong argument. Solution: Quote the argument in the error. (closes #2523)
* patch 8.2.2468: not easy to get the full command name from a shortened onev8.2.2468Bram Moolenaar2021-02-067-0/+86
| | | | | Problem: Not easy to get the full command name from a shortened one. Solution: Add fullcommand(). (Martin Tournoij, closes #7777)
* patch 8.2.2467: script generated by :mkview changes alternate filev8.2.2467Bram Moolenaar2021-02-053-1/+18
| | | | | | Problem: Script generated by :mkview changes alternate file. Solution: Only write :balt in the session file. (Harish Rajagopal, closes #7779)
* patch 8.2.2466: max() and min() can give many error messagesv8.2.2466Bram Moolenaar2021-02-043-1/+18
| | | | | Problem: Max() and min() can give many error messages. Solution: Bail out at the first error. (closes #1039, closes #7778)
* patch 8.2.2465: using freed memory in :psearchv8.2.2465Bram Moolenaar2021-02-033-3/+29
| | | | | Problem: Using freed memory in :psearch. (houyunsong) Solution: Check the current window is still valid. Fix flaky test.
* patch 8.2.2464: using freed memory if window closed in autocommandv8.2.2464Bram Moolenaar2021-02-033-1/+16
| | | | | Problem: Using freed memory if window closed in autocommand. (houyunsong) Solution: Check the window still exists.
* patch 8.2.2463: using :arglocal in an autocommand may use freed memoryv8.2.2463Bram Moolenaar2021-02-033-0/+15
| | | | | | Problem: Using :arglocal in an autocommand may use freed memory. (houyunsong) Solution: Check if the arglist is locked.
* patch 8.2.2462: Coverity warns for not checking for fseek() errorv8.2.2462Bram Moolenaar2021-02-032-1/+7
| | | | | Problem: Coverity warns for not checking for fseek() error. Solution: Give an error message if fseek() fails.
* patch 8.2.2461: Coverity warns for unchecked return valuev8.2.2461Bram Moolenaar2021-02-032-2/+4
| | | | | Problem: Coverity warns for unchecked return value. Solution: Add "(void)" to avoid the warning.
* patch 8.2.2460: Coverity warns for unused valuev8.2.2460Bram Moolenaar2021-02-032-1/+2
| | | | | Problem: Coverity warns for unused value. Solution: Do not reset the return value to OK.
* patch 8.2.2459: Coverity reports dead codev8.2.2459Bram Moolenaar2021-02-032-2/+2
| | | | | Problem: Coverity reports dead code. Solution: Remove the dead code.
* patch 8.2.2458: Coverity warns for :retab using freed memoryv8.2.2458Bram Moolenaar2021-02-032-1/+5
| | | | | Problem: Coverity warns for :retab using freed memory. Solution: Use the updated line pointer when moving text properties.
* patch 8.2.2457: Coverity warns for memory leakv8.2.2457Bram Moolenaar2021-02-032-0/+5
| | | | | Problem: Coverity warns for memory leak. Solution: Free memory when out of memory.
* patch 8.2.2456: Coverity warning for strcpy() into fixed size arrayv8.2.2456Bram Moolenaar2021-02-032-1/+5
| | | | | Problem: Coverity warning for strcpy() into fixed size array. Solution: Add a type cast to hopefully silence the bogus warning.
* patch 8.2.2455: Vim9: key type for literal dict and indexing is inconsistentv8.2.2455Bram Moolenaar2021-02-038-38/+74
| | | | | | 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)
* patch 8.2.2454: leading space can not be made visiblev8.2.2454Bram Moolenaar2021-02-037-8/+81
| | | | | Problem: Leading space can not be made visible. Solution: Add "lead:" to 'listchars'. (closes #7772)
* patch 8.2.2453: Vim9: a variable name with "->" in the next line doesn't workv8.2.2453Bram Moolenaar2021-02-023-0/+35
| | | | | Problem: Vim9: a variable name with "->" in the next line doesn't work. Solution: Recognize a variable name by itself. (closes #7770)
* patch 8.2.2452: no completion for the 'filetype' optionv8.2.2452Bram Moolenaar2021-02-024-1/+15
| | | | | Problem: No completion for the 'filetype' option. Solution: Add filetype completion. (Martin Tournoij, closes #7747)
* patch 8.2.2451: MS-Windows: Extended Attributes not preservedv8.2.2451Bram Moolenaar2021-02-012-0/+182
| | | | | | Problem: MS-Windows: Extended Attributes not preserved. Solution: Preserve Extended Attributes when writing a file. (Ken Takata, closes #7765)
* patch 8.2.2450: MS-Windows: ADS was not preserved if 'backupcopy' is "yes"v8.2.2450Bram Moolenaar2021-02-012-6/+6
| | | | | Problem: MS-Windows: ADS was not preserved if 'backupcopy' is "yes". Solution: Copy ADS before truncating the file. (Ken Takata, closes #7762)
* patch 8.2.2449: Vim9: flatten() always changes the list typev8.2.2449Bram Moolenaar2021-02-0110-14/+98
| | | | | Problem: Vim9: flatten() always changes the list type. Solution: Disallow using flatten() and add flattennew().
* patch 8.2.2448: compilation error with Ruby 3.0v8.2.2448Bram Moolenaar2021-02-012-5/+9
| | | | | Problem: Compilation error with Ruby 3.0. Solution: Adjust #ifdefs and declaration. (Ken Takata, closes #7761)