version9.txt (2037149B)
1 *version9.txt* For Vim version 9.2. Last change: 2026 Oct 13 2 3 4 VIM REFERENCE MANUAL by Bram Moolenaar 5 6 7 *vim-9.0* *vim-9* *version-9.0* *version9.0* 8 Welcome to Vim 9! Several years have passed since the previous release. 9 A large number of bugs have been fixed, many nice features have been added 10 and the Vim9 script syntax is here! This file mentions all the new things and 11 changes to existing features since Vim 8.2.0. The patches up to Vim 8.2 can be 12 found here: |vim-8.2|. 13 14 Use this command to see the full version and features information of the Vim 15 program you are using: > 16 :version 17 18 NEW FEATURES |new-9| 19 Vim script enhancements |new-vim-script-9| 20 Command line completion in a popup menu |new-popup-compl| 21 Updated colorschemes |new-colorschemes-9| 22 Various new items |new-items-9| 23 24 INCOMPATIBLE CHANGES |incompatible-9| 25 26 IMPROVEMENTS |improvements-9| 27 28 COMPILE TIME CHANGES |compile-changes-9| 29 30 PATCHES |patches-9| 31 32 VERSION 9.1 |version-9.1| 33 Changed |changed-9.1| 34 Added |added-9.1| 35 Patches |patches-9.1| 36 37 VERSION 9.2 |version-9.2| 38 Changed |changed-9.2| 39 Added |added-9.2| 40 Patches |patches-9.2| 41 42 VERSION 9.3 |version-9.3| 43 Changed |changed-9.3| 44 Added |added-9.3| 45 Patches |patches-9.3| 46 47 48 See |vi_diff.txt| for an overview of differences between Vi and Vim 9.0. 49 See |version4.txt|, |version5.txt|, |version6.txt|, |version7.txt| and 50 |version8.txt| for differences between Vim versions. 51 52 You can find an overview of the most important changes (according to Martin 53 Tournoij) on this site: https://www.arp242.net/vimlog/ 54 55 *Sven-Guckes* 56 Vim version 9.0 is dedicated to Sven Guckes, who passed away in February 2022 57 when the release was being prepared. Sven was a long time supporter of Vim. 58 He registered the vim.org domain and created the first Vim website. We will 59 remember him! 60 61 *Bram* *Moolenaar* *Bram-Moolenaar* 62 Vim version 9.1 is dedicated to Bram Moolenaar, who passed away on August 3rd 63 2023 while still working full-time on Vim. The Vim project would not exist 64 without his ongoing passion to lead and develop Vim and the community for more 65 than 30 years. Bram was also passionate about his ICCF foundation to help 66 children in Uganda. If you enjoy using Vim, please consider donating! We will 67 miss his guidance, passion and leadership. 68 69 Obituary Articles: https://github.com/vim/vim/discussions/12742 70 Say Farewell: https://github.com/vim/vim/discussions/12737 71 72 ============================================================================== 73 NEW FEATURES *new-9* 74 75 First an overview of the more interesting new features. A comprehensive list 76 is below. 77 78 79 Vim9 script ~ 80 *new-vim-script-9* 81 The Vim script language has been changed step by step over many years, 82 preserving backwards compatibility. Several choices made in the early days 83 got in the way of making it work better. At the same time, Vim script is 84 being used much more often, since there are so many plugins being used. 85 86 Vim9 script provides a syntax that is much more similar to other languages. 87 In other words: "less weird". Compiled functions are introduced which allow 88 for a large speed improvement. You can expect around ten times faster 89 execution, or even more. The price to pay is that Vim9 script is not 90 backwards compatible. But don't worry, you can still use your old scripts, 91 the new script language is added, it does not replace the legacy script. 92 93 Information about Vim9 script can be found in the |Vim9| help file. 94 95 96 Command line completion in a popup menu ~ 97 *new-popup-compl* 98 Before there was the 'wildmenu' option, which uses the space of one line above 99 the statusline to show matches. Only a few matches fit there. 100 101 Now a popup menu can be used by setting 'wildoptions' to "pum". This allows 102 for showing many more matches. This requires redrawing more of the display, 103 but since computers are fast enough that is not a problem. 104 105 106 Updated colorschemes ~ 107 *new-colorschemes-9* 108 Colorschemes from https://github.com/vim/colorschemes have been included. 109 They were made to work consistently across many types of terminals. Although 110 generally an improvement, a lot of personal preference is involved. You can 111 always get the old version if you prefer it, look here: 112 https://github.com/vim/colorschemes/blob/master/legacy_colors/ 113 114 115 Various new items ~ 116 *new-items-9* 117 Options: ~ 118 119 'autoshelldir' change directory to the shell's current directory 120 'cdhome' change directory to the home directory by ":cd" 121 'cinscopedecls' words that are recognized by 'cino-g' 122 'guiligatures' GTK GUI: ASCII characters that can form shapes 123 'mousemoveevent' report mouse moves with <MouseMove> 124 'quickfixtextfunc' function for the text in the quickfix window 125 'spelloptions' options for spell checking 126 'thesaurusfunc' function to be used for thesaurus completion 127 'xtermcodes' request terminal codes from an xterm 128 129 130 Ex commands: ~ 131 132 |:abstract| (reserved for future use) 133 |:argdedupe| remove duplicates from the argument list 134 |:balt| like ":badd" but also set the alternate file 135 |:class| (reserved for future use) 136 |:def| define a Vim9 user function 137 |:defcompile| compile Vim9 user functions in current script 138 |:disassemble| disassemble Vim9 user function 139 |:echoconsole| like :echomsg but write to stdout 140 |:endinterface| (reserved for future use) 141 |:endclass| (reserved for future use) 142 |:enddef| end of a user function started with :def 143 |:endenum| (reserved for future use) 144 |:enum| (reserved for future use) 145 |:eval| evaluate an expression and discard the result 146 |:export| Vim9: export an item from a script 147 |:final| declare an immutable variable in Vim9 148 |:import| Vim9: import an item from another script 149 |:interface| (reserved for future use) 150 |:static| (reserved for future use) 151 |:type| (reserved for future use) 152 |:var| variable declaration in Vim9 153 |:vim9script| indicates Vim9 script file 154 155 156 Ex command modifiers: ~ 157 158 |:legacy| make following command use legacy script syntax 159 |:vim9cmd| make following command use Vim9 script syntax 160 161 162 New and extended functions: ~ 163 164 |assert_nobeep()| assert that a command does not cause a beep 165 |autocmd_add()| add a list of autocmds and groups 166 |autocmd_delete()| delete a list of autocmds and groups 167 |autocmd_get()| return a list of autocmds 168 |blob2list()| get a list of numbers from a blob 169 |charclass()| class of a character 170 |charcol()| character number of the cursor or a mark 171 |charidx()| character index of a byte in a string 172 |digraph_get()| get digraph 173 |digraph_getlist()| get all digraphs 174 |digraph_set()| register digraph 175 |digraph_setlist()| register multiple digraphs 176 |echoraw()| output characters as-is 177 |exists_compiled()| like exists() but check at compile time 178 |extendnew()| make a new Dictionary and append items 179 |flatten()| flatten a List 180 |flattennew()| flatten a copy of a List 181 |fullcommand()| get full command name 182 |getcharpos()| get character position of cursor, mark, etc. 183 |getcharstr()| get a character from the user as a string 184 |getcmdcompltype()| return current cmdline completion type 185 |getcmdscreenpos()| return the current cursor position in the cmdline 186 |getcursorcharpos()| get character position of the cursor 187 |getmarklist()| list of global/local marks 188 |getreginfo()| get information about a register 189 |gettext()| lookup message translation 190 |hlget()| get highlight group attributes 191 |hlset()| set highlight group attributes 192 |isabsolutepath()| check if a path is absolute 193 |list2blob()| get a blob from a list of numbers 194 |maplist()| list of all mappings, a dict for each 195 |mapnew()| make a new List with changed items 196 |mapset()| restore a mapping 197 |matchfuzzy()| fuzzy matches a string in a list of strings 198 |matchfuzzypos()| fuzzy matches a string in a list of strings 199 |menu_info()| get information about a menu item 200 |popup_list()| get list of all popup window IDs 201 |prompt_getprompt()| get the effective prompt text for a buffer 202 |prop_add_list()| attach a property at multiple positions 203 |prop_find()| search for a property 204 |readblob()| read a file into a Blob 205 |readdirex()| get a List of file information in a directory 206 |reduce()| reduce a List to a value 207 |searchcount()| get number of matches before/after the cursor 208 |setcellwidths()| set character cell width overrides 209 |setcharpos()| set character position of cursor, mark, etc. 210 |setcursorcharpos()| set character position of the cursor 211 |slice()| take a slice of a List 212 |strcharlen()| length of a string in characters 213 |terminalprops()| properties of the terminal 214 |test_gui_event()| generate a GUI event for testing 215 |test_null_function()| return a null Funcref 216 |test_srand_seed()| set the seed value for srand() 217 |test_unknown()| return a value with unknown type 218 |test_void()| return a value with void type 219 |typename()| type of a variable as text 220 |virtcol2col()| byte index of a character on screen 221 |win_gettype()| get type of window 222 |win_move_separator()| move window vertical separator 223 |win_move_statusline()| move window status line 224 |windowsversion()| get MS-Windows version 225 226 227 New Vim variables: ~ 228 229 |v:numbermax| maximum value of a number 230 |v:numbermin| minimum value of a number (negative) 231 |v:numbersize| number of bits in a Number 232 |v:collate| current locale setting for collation order 233 |v:exiting| vim exit code 234 |v:colornames| dictionary that maps color names to hex color strings 235 |v:sizeofint| number of bytes in an int 236 |v:sizeoflong| number of bytes in a long 237 |v:sizeofpointer| number of bytes in a pointer 238 |v:maxcol| maximum line length 239 240 241 New autocommand events: ~ 242 243 |CompleteDonePre| after Insert mode completion done, before clearing info 244 |DirChangedPre| before the working directory will change 245 |InsertLeavePre| just before leaving Insert mode 246 |ModeChanged| after changing the mode 247 |SigUSR1| after the SIGUSR1 signal has been detected 248 |WinClosed| after closing a window 249 |WinScrolled| after scrolling or resizing a window 250 |VimSuspend| when suspending Vim 251 |VimResume| when Vim is resumed after being suspended 252 253 254 New operators: ~ 255 256 |>>| bitwise right shift 257 |<<| bitwise left shift 258 |??| falsy operator 259 260 New runtime files: ~ 261 262 Too many to list here. 263 264 ============================================================================== 265 INCOMPATIBLE CHANGES *incompatible-9* 266 267 There is only one change that is incompatible with previous releases: 268 269 - Lua arrays are now one-based, they used to be zero-based. 270 271 Note that when using |Vim9| script several things work differently, see 272 |vim9-differences|. 273 274 ============================================================================== 275 IMPROVEMENTS *improvements-9* 276 277 Various small and useful improvements have been made since Vim 8.2, here is a 278 summary. 279 280 Many memory leaks, invalid memory accesses and crashes have been fixed. 281 See the list of patches below: |bug-fixes-9|. 282 283 Support for Vim expression evaluation in a string. |interpolated-string| 284 Support for evaluating Vim expressions in a heredoc. |:let-heredoc| 285 286 Support for fuzzy matching: 287 - a string in a List of strings. |fuzzy-matching| 288 - completion support for command line completion using 'wildoptions'. 289 - for |:vimgrep|. 290 291 Added support for the |Haiku| OS. 292 293 Support for "lsp" channel mode to simplify LSP server RPC communication 294 |language-server-protocol|. Support for using a Unix domain socket with a 295 |channel|. IPv6 support in channels |channel-address|. 296 297 Support for sourcing lines from the current buffer. |:source-range| 298 299 Terminal window improvements: 300 - Support for opening a terminal in a popup window. |popup-terminal| 301 - Allow setting underline color in terminal. 302 - Detect focus events in terminal (|FocusGained| and |FocusLost|). 303 - Add bell support for the terminal window. ('belloff') 304 - Support mouse left-right scrolling in a terminal window. 305 306 Support for stopping profiling a Vim script: `:profile stop` and dumping the 307 report to a file: `:profile dump` . |:profile| 308 309 Completion improvements: 310 - Argument completion support for the |:breakadd|, |:breakdel|, |:diffget|, 311 |:diffput|, |:profile|, |:profdel| and |:scriptnames| commands. 312 - Support using any Vim type for user_data with the completion functions 313 (|complete-items|). 314 - Stop insert mode completion without changing text (|i_CTRL-X_CTRL-Z|). 315 - Add the "cmdline" option to |getcompletion()| to return the command line 316 arguments. 317 318 Support for setting the 'foldtext', 'completefunc', 'omnifunc', 319 'operatorfunc', 'thesaurusfunc', 'quickfixtextfunc', 'tagfunc', 320 'imactivatefunc' and 'imstatusfunc' options to a function reference or a 321 lambda function or a script-local function. 322 323 Support directly setting the 'balloonexpr', 'charconvert' 'foldexpr', 324 'formatexpr', 'includeexpr', 'printexpr', 'patchexpr', 'indentexpr', 325 'modelineexpr', 'diffexpr' and 'printexpr' options to a script-local function. 326 327 Improvements in 'fillchars': 328 - Support for configuring the character used to mark the beginning of a fold, 329 show a closed fold and show a fold separator using "foldopen", "foldclose" 330 and "foldsep" respectively in 'fillchars'. 331 - Support for configuring the character displayed in non existing lines using 332 "eob" in 'fillchars'. 333 - Support for using multibyte items with the "stl", "stlnc", "foldopen", 334 "foldclose" and "foldsep" items in the 'fillchars' option. 335 336 Support for the XChaCha20 encryption method. 'cryptmethod' 337 338 Spell checking: 339 - Spell check current word with |z=| even when 'spell' is off. 340 - Add "timeout" to 'spellsuggest' to limit the searching time for spell 341 suggestions. 342 - Add support for spell checking CamelCased words by adding "camel" to 343 'spelloptions'. 344 345 Support for executing Ex commands in a map without changing the current mode 346 |<Cmd>| and |<ScriptCmd>|. 347 348 Add optional error code to |:cquit|. 349 350 Recognize numbers as unsigned when "unsigned" is set in 'nrformats'. 351 352 Expand script ID using expand('<SID>') and script name using 353 expand('<script>'). |expand()| 354 355 Jump to the last accessed tab page using |g<Tab>| and support using the 356 last accessed tab page in |:tabnext| et al. 357 358 Locale aware sorting using |:sort| and |sort()|. 359 360 Hide cursor when sleeping using |:sleep!|. 361 362 Add "multispace" to 'listchars' to show two or more spaces no matter where 363 they appear. Add "leadmultispace" to 'listchars' to show two or more leading 364 spaces. Add "lead" to 'listchars' to set the character used to show leading 365 spaces. Support specifying a character using the hexadecimal notation in 366 'listchars' (\x, \u and \U). 367 368 Make 'listchars', 'virtualedit' and 'thesaurusfunc' global-local options. 369 370 Support for looping over a string using `:for`. 371 372 Don't reset 'wrap' for diff windows when "followwrap" is set in 'diffopt'. 373 374 Support for re-evaluating the 'statusline' expression as a statusline format 375 string (%{% expr %}) 376 377 Add |zp| and |zP| to paste in block mode without adding trailing white space. 378 Add |zy| to yank without trailing white space in block mode. 379 380 Add the 'P' command in visual mode to paste text in Visual mode without 381 yanking the deleted text to the unnamed register. |put-Visual-mode| 382 383 Add \%.l, \%<.l and \%>.l atoms to match the line the cursor is currently on. 384 See |/\%l| for more information. 385 386 Add "list" to 'breakindentopt' to add additional indent for lines that match 387 a numbered or bulleted list. Add "column" to 'breakindentopt' to indent 388 soft-wrapped lines at a specific column. 389 390 Add the |hl-CursorLineSign| and |hl-CursorLineFold| default highlight groups to 391 adjust sign highlighting for 'cursorline'. 392 393 Add the |hl-CurSearch| default highlight group for the current search match. 394 395 Add support for logging on Vim startup (|--log|). 396 397 Add support for customizing the quickfix buffer contents using 398 'quickfixtextfunc'. Support for the "note" error type (%t) in |errorformat|. 399 Add support for parsing the end line number (%e) and end column number (%k) 400 using 'errorformat'. 401 402 Support truncating the tag stack using |settagstack()|. 403 404 Display every option in a separate line when "!" is used with |:set|. 405 406 Add "nostop" to 'backspace' to allow backspacing over the start of insert for 407 |CTRL-W| and |CTRL-U| also. 408 409 Sync the undo file if 'fsync' is set. 410 411 Support excluding the 'runtimepath' and 'packpath' options from a session file 412 using "skiprtp" in 'sessionoptions'. 413 414 Support for getting the number of lines (line count) in a buffer using 415 |getbufinfo()|. 416 417 Support |filter()| and |map()| for blob and string types. 418 419 Support for using a multi-byte character for the tag kind. |tags-file-format| 420 421 Add support for checking whether a function name is valid using |exists()|. 422 423 Update xdiff to version 2.33. Update libvterm to revision 789. 424 425 Support 'trim' for Python/Lua/Perl/Tcl/Ruby/MzScheme interface heredoc. 426 427 Add the |t_AU| and |t_8u| termcap codes for underline and undercurl. Add the 428 t_fd and t_fe termcap codes for detecting focus events. 429 430 Support for indenting C pragmas like normal code. (|cino-P|) 431 432 Add support for defining the syntax fold level. (|:syn-foldlevel|) 433 434 Add support for using \<*xxx> in a string to prepend a modifier to a 435 character. (|expr-quote|) 436 437 Add support trimming characters at the beginning or end of a string using 438 |trim()|. 439 440 Make ":verbose pwd" show the scope of the directory. |:pwd-verbose| 441 442 Add the "0o" notation for specifying octal numbers. |scriptversion-4| 443 444 Support for changing to the previous tab-local and window-local directories 445 using the "tcd -" and "lcd -" commands. (|:tcd-| and |:lcd-|) 446 447 Add support for skipping an expression using |search()|. 448 449 Add support for sorting the directory contents returned by the |readdir()| 450 and |readdirex()| functions by case. 451 452 Add support for executing (|:@|) a register containing line continuation. 453 454 Lua support: 455 - Call Vim functions from Lua (vim.call() and vim.fn()). 456 - Convert a Lua function and a closure to a Vim funcref so that it can be 457 accessed in a Vim script (|lua-funcref|). 458 - Not backwards compatible: Make Lua arrays one based. 459 - Add support for using table.insert() and table.remove() functions with Vim 460 lists. 461 - Support for running multiple Ex-mode commands using vim.command(). 462 - Add vim.lua_version to get the Lua version. 463 - Add support for accessing Vim namespace dictionaries from Lua 464 (|lua-vim-variables|). 465 466 Support for new UTF-8 characters from Unicode release 13. 467 468 Support for using a command block (|:command-repl|) when defining a |:command| 469 or an |:autocmd|. 470 471 Support for using |:z!| to use the Vim display height instead of the current 472 window height. 473 474 Support for deleting a buffer-local command using ":delcommand -buffer {cmd}". 475 476 When formatting a // comment after a statement, find the start of the line 477 comment, insert the comment leader and indent the comment properly (|fo-/|). 478 479 Add the "numhl" argument to `:sign define` to use a separate highlight group 480 for the line number on a line where a sign is placed. |:sign-define| 481 482 When $SHELL ends in "nologin" or "false", start Vim in restricted mode. 483 484 TermDebug enhancements: 485 - Support for showing the disassembled code in a separate window. 486 - Support for the GDB until command. 487 - Use a separate group for the signs. 488 489 xxd: Support for showing offset as a decimal number (-d). 490 491 The C omni-complete plugin (|ft-c-omni|), the file type detection script 492 (ft.vim) and the syntax menu generation script (makemenu.vim) have been 493 rewritten using the Vim9 script syntax. 494 495 A large number of tests have been added to verify the Vim functionality. Most 496 of the old style tests have been converted to new style tests using the new 497 style assert_* functions. 498 499 Many Coverity static analysis warnings have been fixed. 500 501 ============================================================================== 502 COMPILE TIME CHANGES *compile-changes-9* 503 504 The following features are now enabled in all the builds: 505 |+cindent| 506 |+jumplist| 507 |+lispindent| 508 |+num64| 509 |+smartindent| 510 |+tag_binary| 511 |+title| 512 513 The following features have been removed. They are either obsolete or didn't 514 work properly: 515 - Athena and neXTaw GUI support (use Motif instead) 516 - EBCDIC support 517 - Atari MiNT and BeOS 518 - Mac Carbon GUI (use MacVim instead) 519 520 The rgb.txt file is no longer included, use colors/lists/default.vim instead. 521 522 Several large source files were split, mainly to make it easier to inspect 523 code coverage information. Source files have also been refactored for 524 maintainability. 525 526 Support for building Vim with Mingw64 clang compiler on MS-Windows. 527 528 Support for building Vim with Python 3.10, Lua 5.4.4, Perl 5.34 and 529 Ruby 3.1.0. 530 531 ============================================================================== 532 PATCHES *patches-9* *bug-fixes-9* 533 *patches-after-8.2* 534 535 The list of patches that got included since 8.2.0. This includes all the new 536 features, but does not include runtime file changes (syntax, indent, help, 537 etc.) 538 539 Patch 8.2.0001 540 Problem: #endif comments do not reflect corresponding #ifdef. 541 Solution: Update the comments. (Rene Nyffenegger, closes #5351) 542 Files: src/ui.c 543 544 Patch 8.2.0002 545 Problem: "dj" only deletes first line of closed fold. 546 Solution: Adjust last line of operator for linewise motion. (closes #5354) 547 Files: src/ops.c, src/testdir/test_fold.vim 548 549 Patch 8.2.0003 550 Problem: Build file dependencies are incomplete. 551 Solution: Fix the dependencies. (Ken Takata, closes #5356) 552 Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Make_vms.mms, 553 src/Makefile 554 555 Patch 8.2.0004 556 Problem: Get E685 and E931 if buffer reload is interrupted. 557 Solution: Do not abort deleting a dummy buffer. (closes #5361) 558 Files: src/buffer.c, src/proto/buffer.pro, src/testdir/test_trycatch.vim, 559 src/ex_cmds.c, src/ex_getln.c, src/misc2.c, src/quickfix.c, 560 src/window.c, src/vim.h 561 562 Patch 8.2.0005 563 Problem: Duplication in version info. 564 Solution: Use preprocessor string concatenation. (Ken Takata, closes #5357) 565 Files: src/version.h 566 567 Patch 8.2.0006 568 Problem: Test using long file name may fail. (Vladimir Lomov) 569 Solution: Limit the name length. (Christian Brabandt, closes #5358) 570 Files: src/testdir/test_display.vim 571 572 Patch 8.2.0007 573 Problem: Popup menu positioned wrong with folding in two tabs. 574 Solution: Update the cursor line height. (closes #5353) 575 Files: src/move.c, src/proto/move.pro, src/popupmenu.c, 576 src/testdir/test_ins_complete.vim, 577 src/testdir/dumps/Test_pum_with_folds_two_tabs.dump 578 579 Patch 8.2.0008 580 Problem: Test72 is old style. 581 Solution: Convert to new style test. (Yegappan Lakshmanan, closes #5362) 582 Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms, 583 src/testdir/test72.in, src/testdir/test72.ok, 584 src/testdir/test_undo.vim 585 586 Patch 8.2.0009 587 Problem: VMS: terminal version doesn't build. 588 Solution: Move MIN definition. Adjust #ifdefs. (Zoltan Arpadffy) 589 Files: src/bufwrite.c, src/fileio.c, src/ui.c, src/xxd/Make_vms.mms 590 591 Patch 8.2.0010 592 Problem: Test64 is old style. 593 Solution: Convert to new style test. (Yegappan Lakshmanan, closes #5363) 594 Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms, 595 src/testdir/test64.in, src/testdir/test64.ok, 596 src/testdir/test95.in, src/testdir/test_regexp_latin.vim 597 598 Patch 8.2.0011 599 Problem: Screen updating wrong when opening preview window. 600 Solution: Redraw the window when the preview window opens. 601 Files: src/popupmenu.c, src/testdir/test_ins_complete.vim, 602 src/testdir/dumps/Test_pum_with_preview_win.dump 603 604 Patch 8.2.0012 605 Problem: Some undo functionality is not tested. 606 Solution: Add a few more test cases. (Dominique Pellé, closes #5364) 607 Files: src/testdir/test_undo.vim 608 609 Patch 8.2.0013 610 Problem: Not using a typedef for condstack. 611 Solution: Add a typedef. 612 Files: src/structs.h, src/ex_docmd.c, src/ex_eval.c, src/userfunc.c, 613 src/ex_cmds.h, src/proto/ex_eval.pro 614 615 Patch 8.2.0014 616 Problem: Test69 and test95 are old style. 617 Solution: Convert to new style tests. (Yegappan Lakshmanan, closes #5365) 618 Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms, 619 src/testdir/test69.in, src/testdir/test69.ok, 620 src/testdir/test95.in, src/testdir/test95.ok, 621 src/testdir/test_regexp_utf8.vim, src/testdir/test_textformat.vim 622 623 Patch 8.2.0015 624 Problem: Not all modeline variants are tested. 625 Solution: Add modeline tests. (Dominique Pellé, closes #5369) 626 Files: src/testdir/test_modeline.vim 627 628 Patch 8.2.0016 629 Problem: Test name used twice, option not restored properly. 630 Solution: Rename function, restore option with "&". 631 Files: src/testdir/test_textformat.vim 632 633 Patch 8.2.0017 634 Problem: OS/2 and MS-DOS are still mentioned, even though support was 635 removed long ago. 636 Solution: Update documentation. (Yegappan Lakshmanan, closes #5368) 637 Files: runtime/doc/autocmd.txt, runtime/doc/change.txt, 638 runtime/doc/cmdline.txt, runtime/doc/editing.txt, 639 runtime/doc/eval.txt, runtime/doc/gui.txt, runtime/doc/insert.txt, 640 runtime/doc/options.txt, runtime/doc/print.txt, 641 runtime/doc/quickfix.txt, runtime/doc/repeat.txt, 642 runtime/doc/starting.txt, runtime/doc/usr_01.txt, 643 runtime/doc/usr_05.txt, runtime/doc/usr_41.txt, 644 runtime/doc/vi_diff.txt, runtime/gvimrc_example.vim, 645 runtime/tools/README.txt, runtime/vimrc_example.vim, src/feature.h 646 647 Patch 8.2.0018 648 Problem: :join does not add white space where it should. (Zdenek Dohnal) 649 Solution: Handle joining multiple lines properly. 650 Files: src/ops.c, src/testdir/test_join.vim 651 652 Patch 8.2.0019 653 Problem: Cannot get number of lines of another buffer. 654 Solution: Add "linecount" to getbufinfo(). (Yasuhiro Matsumoto, 655 closes #5370) 656 Files: src/evalbuffer.c, src/testdir/test_bufwintabinfo.vim, 657 runtime/doc/eval.txt 658 659 Patch 8.2.0020 660 Problem: Mouse clicks in the command line not tested. 661 Solution: Add tests. (Dominique Pellé, closes #5366) 662 Files: src/testdir/test_termcodes.vim 663 664 Patch 8.2.0021 665 Problem: Timer test fails too often on Travis with macOS. 666 Solution: Be less strict with the time. 667 Files: src/testdir/test_timers.vim 668 669 Patch 8.2.0022 670 Problem: Click in popup window doesn't close it in the GUI. (Sergey Vlasov) 671 Solution: When processing the selection also send a button release event. 672 (closes #5367) 673 Files: src/gui.c 674 675 Patch 8.2.0023 676 Problem: Command line editing not sufficiently tested. 677 Solution: Add more tests. (Dominique Pellé, closes #5374) 678 Files: src/testdir/Make_all.mak, src/testdir/test_alot.vim, 679 src/testdir/test_cmdline.vim, src/testdir/test_ex_mode.vim 680 681 Patch 8.2.0024 682 Problem: Filetype Rego not recognized. 683 Solution: Add *.rego. (Matt Dunford, closes #5376) 684 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 685 686 Patch 8.2.0025 687 Problem: Repeated word in comment. 688 Solution: Remove one. (Rene Nyffenegger, closes #5384) 689 Files: src/structs.h 690 691 Patch 8.2.0026 692 Problem: Still some /* */ comments. 693 Solution: Convert to // comments. 694 Files: src/message.c, src/message_test.c, src/misc1.c, src/misc2.c, 695 src/move.c 696 697 Patch 8.2.0027 698 Problem: Still some /* */ comments. 699 Solution: Convert to // comments. 700 Files: src/iid_ole.c, src/indent.c, src/insexpand.c, src/iscygpty.c, 701 src/version.c 702 703 Patch 8.2.0028 704 Problem: Searchpairpos() is not tested. 705 Solution: Add tests. Also improve searchpair() testing. (Dominique Pellé, 706 closes #5388) 707 Files: src/testdir/test_search.vim 708 709 Patch 8.2.0029 710 Problem: MS-Windows: crash with empty job command. 711 Solution: Check for NULL result. (Yasuhiro Matsumoto, closes #5390) 712 Files: src/channel.c, src/testdir/test_channel.vim 713 714 Patch 8.2.0030 715 Problem: "gF" does not work on output of "verbose command". 716 Solution: Recognize " line " and translations. (closes #5391) 717 Files: src/globals.h, src/eval.c, src/findfile.c, src/testdir/test_gf.vim 718 719 Patch 8.2.0031 (after 8.2.0029) 720 Problem: MS-Windows: test for empty job fails 721 Solution: Check for error message, make it also fail on Unix. 722 Files: src/channel.c, src/testdir/test_channel.vim 723 724 Patch 8.2.0032 (after 8.2.0031) 725 Problem: MS-Windows: test for blank job fails 726 Solution: Check before escaping. 727 Files: src/channel.c, src/testdir/test_channel.vim 728 729 Patch 8.2.0033 730 Problem: Crash when make_extmatch() runs out of memory. 731 Solution: Check for NULL. (Dominique Pellé, closes #5392) 732 Files: src/regexp_bt.c, src/regexp_nfa.c 733 734 Patch 8.2.0034 735 Problem: Missing check for out of memory. 736 Solution: Check for NULL after vim_strsave(). (Dominique Pellé, 737 closes #5393) 738 Files: src/filepath.c 739 740 Patch 8.2.0035 741 Problem: Saving and restoring called_emsg is clumsy. 742 Solution: Count the number of error messages. 743 Files: src/message.c, src/buffer.c, src/channel.c, src/drawscreen.c, 744 src/ex_cmds2.c, src/gui.c, src/highlight.c, src/main.c, 745 src/regexp.c, src/search.c, src/testing.c, src/globals.h 746 747 Patch 8.2.0036 748 Problem: Not enough test coverage for match functions. 749 Solution: Add a few more test cases. (Dominique Pellé, closes #5394) 750 Add error number. 751 Files: src/testdir/test_match.vim 752 753 Patch 8.2.0037 754 Problem: Missing renamed message. 755 Solution: Now really add the error number. 756 Files: src/highlight.c 757 758 Patch 8.2.0038 759 Problem: Spell suggestions insufficiently tested. 760 Solution: Add spell suggestion tests. (Dominique Pellé, closes #5398) 761 Files: src/testdir/test_spell.vim 762 763 Patch 8.2.0039 764 Problem: Memory access error when "z=" has no suggestions. 765 Solution: Check for negative index. 766 Files: src/testdir/test_spell.vim, src/spellsuggest.c 767 768 Patch 8.2.0040 769 Problem: Timers test is still flaky on Travis for Mac. 770 Solution: Run separately instead of as part of test_alot. 771 Files: src/testdir/Make_all.mak, src/testdir/test_alot.vim 772 773 Patch 8.2.0041 774 Problem: Leaking memory when selecting spell suggestion. 775 Solution: Free previous value at the right time. 776 Files: src/spellsuggest.c 777 778 Patch 8.2.0042 779 Problem: Clearing funccal values twice. 780 Solution: Remove clearing individual fields. 781 Files: src/userfunc.c 782 783 Patch 8.2.0043 784 Problem: Timers test is still flaky on Travis for Mac. 785 Solution: Increase maximum expected time. 786 Files: src/testdir/test_timers.vim 787 788 Patch 8.2.0044 789 Problem: Expression type is used inconsistently. 790 Solution: Add "ETYPE_IS" and "ETYPE_ISNOT" as separate enum values. Rename 791 "TYPE_" to "ETYPE_" to avoid confusion. 792 Files: src/structs.h, src/eval.c, src/proto/eval.pro, src/debugger.c 793 794 Patch 8.2.0045 (after 8.2.0044) 795 Problem: Script test fails. 796 Solution: For numbers "is" and "isnot" work like "==" and "!=". 797 Files: src/eval.c 798 799 Patch 8.2.0046 800 Problem: Tests for spell suggestions are slow. 801 Solution: Use shorter words. Test with latin1 and utf-8 to cover more code. 802 (Dominique Pellé, closes #5399) 803 Files: src/testdir/test_spell.vim 804 805 Patch 8.2.0047 806 Problem: Cannot skip tests for specific MS-Windows platform. 807 Solution: Add windowsversion(). 808 Files: src/os_win32.c, src/globals.h, src/evalfunc.c, 809 runtime/doc/eval.txt, src/testdir/gen_opt_test.vim, 810 src/testdir/test_options.vim 811 812 Patch 8.2.0048 813 Problem: Another timers test is flaky on Travis for Mac. 814 Solution: Increase maximum expected time. 815 Files: src/testdir/test_timers.vim 816 817 Patch 8.2.0049 818 Problem: Command line completion not fully tested. 819 Solution: Add more test cases. Make help sorting stable. (Dominique Pellé, 820 closes #5402) 821 Files: src/ex_cmds.c, src/testdir/test_cd.vim, 822 src/testdir/test_cmdline.vim, src/testdir/test_help.vim, 823 src/testdir/test_menu.vim, src/testdir/test_options.vim, 824 src/testdir/test_syntax.vim 825 826 Patch 8.2.0050 827 Problem: After deleting a file mark it is still in viminfo. 828 Solution: When a file mark was deleted more recently than the mark in the 829 merged viminfo file was updated, do not store the mark. (Pavol 830 Juhas, closes #5401, closes #1339) 831 Files: src/mark.c, src/testdir/test_marks.vim, 832 src/testdir/test_viminfo.vim, src/viminfo.c 833 834 Patch 8.2.0051 (after 8.2.0049) 835 Problem: Command line completion test skipped. (Christian Brabandt) 836 Solution: Invert condition. 837 Files: src/testdir/test_cmdline.vim 838 839 Patch 8.2.0052 840 Problem: More-prompt not properly tested. 841 Solution: Add a test case. (Dominique Pellé, closes #5404) 842 Files: src/testdir/test_messages.vim 843 844 Patch 8.2.0053 845 Problem: windowsversion() does not always return the right value. 846 Solution: Add a compatibility section in the manifest. (Ken Takata, 847 closes #5407) 848 Files: src/gvim.exe.mnf 849 850 Patch 8.2.0054 851 Problem: :diffget and :diffput don't have good completion. 852 Solution: Add proper completion. (Dominique Pellé, closes #5409) 853 Files: runtime/doc/eval.txt, src/buffer.c, src/cmdexpand.c, 854 src/testdir/test_diffmode.vim, src/usercmd.c, src/vim.h 855 856 Patch 8.2.0055 857 Problem: Cannot use ":gui" in vimrc with VIMDLL enabled. 858 Solution: Change the logic, check "gui.starting". (Ken Takata, closes #5408) 859 Files: src/gui.c 860 861 Patch 8.2.0056 862 Problem: Execution stack is incomplete and inefficient. 863 Solution: Introduce a proper execution stack and use it instead of 864 sourcing_name/sourcing_lnum. Create a string only when used. 865 Files: src/structs.h, src/globals.h, src/autocmd.c, src/buffer.c 866 src/debugger.c, src/ex_docmd.c, src/ex_eval.c, src/highlight.c, 867 src/main.c, src/map.c, src/message.c, src/proto/scriptfile.pro, 868 src/scriptfile.c, src/option.c, src/profiler.c, src/spellfile.c, 869 src/term.c, src/testing.c, src/usercmd.c, src/userfunc.c, 870 src/kword_test.c, src/testdir/test_debugger.vim 871 872 Patch 8.2.0057 (after 8.2.0056) 873 Problem: Cannot build with small features. 874 Solution: Add #ifdefs. 875 Files: src/scriptfile.c 876 877 Patch 8.2.0058 878 Problem: Running tests changes ~/.viminfo. 879 Solution: Make 'viminfo' empty when summarizing tests results. (closes #5414) 880 Files: src/testdir/summarize.vim 881 882 Patch 8.2.0059 883 Problem: Compiler warnings for unused variables in small build. (Tony 884 Mechelynck) 885 Solution: Add #ifdef. 886 Files: src/scriptfile.c 887 888 Patch 8.2.0060 889 Problem: Message test only runs with one encoding. (Dominique Pellé) 890 Solution: Run the test with "utf-8" and "latin1". Fix underflow. (related 891 to #5410) 892 Files: src/message_test.c, src/message.c 893 894 Patch 8.2.0061 895 Problem: The execute stack can grow big and never shrinks. 896 Solution: Reduce the size in garbage collect. 897 Files: src/eval.c 898 899 Patch 8.2.0062 900 Problem: Memory test is flaky on FreeBSD. 901 Solution: Add a short sleep before getting the first size. 902 Files: src/testdir/test_memory_usage.vim 903 904 Patch 8.2.0063 905 Problem: Wrong size argument to vim_snprintf(). (Dominique Pellé) 906 Solution: Reduce the size by the length. (related to #5410) 907 Files: src/ops.c 908 909 Patch 8.2.0064 910 Problem: Diffmode completion doesn't use per-window setting. 911 Solution: Check if a window is in diff mode. (Dominique Pellé, closes #5419) 912 Files: src/buffer.c, src/testdir/test_diffmode.vim 913 914 Patch 8.2.0065 915 Problem: Amiga and alikes: autoopen only used on Amiga OS4. 916 Solution: Adjust #ifdefs. (Ola Söder, closes #5413) 917 Files: src/os_amiga.c 918 919 Patch 8.2.0066 920 Problem: Some corners of vim_snprintf() are not tested. 921 Solution: Add a test in C. (Dominique Pellé, closes #5422) 922 Files: src/message_test.c 923 924 Patch 8.2.0067 925 Problem: ERROR_UNKNOWN clashes on some systems. 926 Solution: Rename ERROR_ to FCERR_. (Ola Söder, closes #5415) 927 Files: src/evalfunc.c, src/userfunc.c, src/vim.h 928 929 Patch 8.2.0068 930 Problem: Crash when using Python 3 with "utf32" encoding. (Dominique Pellé) 931 Solution: Use "utf-8" whenever enc_utf8 is set. (closes #5423) 932 Files: src/testdir/test_python3.vim, src/if_py_both.h 933 934 Patch 8.2.0069 935 Problem: ETYPE_ is used for two different enums. 936 Solution: Rename one to use EXPR_. 937 Files: src/structs.h, src/eval.c, src/debugger.c 938 939 Patch 8.2.0070 940 Problem: Crash when using Python 3 with "debug" encoding. (Dominique Pellé) 941 Solution: Use "euc-jp" whenever enc_dbcs is set. 942 Files: src/testdir/test_python3.vim, src/if_py_both.h 943 944 Patch 8.2.0071 945 Problem: Memory test often fails on Cirrus CI. 946 Solution: Allow for more tolerance in the upper limit. Remove sleep. 947 Files: src/testdir/test_memory_usage.vim 948 949 Patch 8.2.0072 (after 8.2.0071) 950 Problem: Memory test still fails on Cirrus CI. 951 Solution: Allow for a tiny bit more tolerance in the upper limit. 952 Files: src/testdir/test_memory_usage.vim 953 954 Patch 8.2.0073 955 Problem: Initializing globals with COMMA is clumsy. 956 Solution: Use INIT2(), INIT3(), etc. 957 Files: src/vim.h, src/globals.h 958 959 Patch 8.2.0074 960 Problem: Python 3 unicode test sometimes fails. 961 Solution: Make 'termencoding' empty. Correct number of error message. 962 Files: src/change.c, runtime/doc/options.txt, runtime/doc/message.txt, 963 src/testdir/test_python3.vim 964 965 Patch 8.2.0075 966 Problem: Python 3 unicode test still sometimes fails. 967 Solution: Skip the test when 'termencoding' is not empty. 968 Files: src/testdir/test_python3.vim 969 970 Patch 8.2.0076 971 Problem: Python 3 unicode test fails on MS-Windows. 972 Solution: Do not set 'encoding' to "debug" on MS-Windows. 973 Files: src/testdir/test_python3.vim 974 975 Patch 8.2.0077 976 Problem: settagstack() cannot truncate at current index. 977 Solution: Add the "t" action. (Yegappan Lakshmanan, closes #5417) 978 Files: runtime/doc/eval.txt, src/evalfunc.c, src/tag.c, 979 src/testdir/test_tagjump.vim 980 981 Patch 8.2.0078 982 Problem: Expanding <sfile> works differently the second time. 983 Solution: Keep the expanded name when redefining a function. (closes #5425) 984 Files: src/testdir/test_vimscript.vim, src/userfunc.c 985 986 Patch 8.2.0079 987 Problem: Python 3 unicode test still fails on MS-Windows. 988 Solution: Do not set 'encoding' to "euc-tw" on MS-Windows. 989 Files: src/testdir/test_python3.vim 990 991 Patch 8.2.0080 992 Problem: Globals using INIT4() are not in the tags file. 993 Solution: Adjust the tags command. 994 Files: src/configure.ac, src/auto/configure 995 996 Patch 8.2.0081 997 Problem: MS-Windows also need the change to support INIT4(). 998 Solution: Add the ctags arguments. (Ken Takata) 999 Files: src/Make_cyg_ming.mak, src/Make_mvc.mak 1000 1001 Patch 8.2.0082 1002 Problem: When reusing a buffer listeners are not cleared. (Axel Forsman) 1003 Solution: Clear listeners when reusing a buffer. (closes #5431) 1004 Files: src/testdir/test_listener.vim, src/buffer.c 1005 1006 Patch 8.2.0083 1007 Problem: Text properties wrong when tabs and spaces are exchanged. 1008 Solution: Take text properties into account. (Nobuhiro Takasaki, 1009 closes #5427) 1010 Files: src/edit.c, src/testdir/test_textprop.vim 1011 1012 Patch 8.2.0084 1013 Problem: Complete item "user_data" can only be a string. 1014 Solution: Accept any type of variable. (closes #5412) 1015 Files: src/testdir/test_ins_complete.vim, src/insexpand.c, src/dict.c, 1016 src/proto/dict.pro, src/eval.c, runtime/doc/insert.txt 1017 1018 Patch 8.2.0085 1019 Problem: Dead code in builtin functions. 1020 Solution: Clean up the code. 1021 Files: src/evalvars.c, src/sound.c, src/textprop.c 1022 1023 Patch 8.2.0086 (after 8.2.0084) 1024 Problem: Build error for small version. (Tony Mechelynck) 1025 Solution: Only use "user_data" with the +eval feature. Remove unused 1026 variable. 1027 Files: src/insexpand.c, src/dict.c 1028 1029 Patch 8.2.0087 1030 Problem: Crash in command line expansion when out of memory. 1031 Solution: Check for NULL pointer. Also make ExpandGeneric() static. 1032 (Dominique Pellé, closes #5437) 1033 Files: src/cmdexpand.c, src/proto/cmdexpand.pro 1034 1035 Patch 8.2.0088 1036 Problem: Insufficient tests for tags; bug in using extra tag field when 1037 using an ex command to position the cursor. 1038 Solution: Fix the bug, add more tests. (Yegappan Lakshmanan, closes #5439) 1039 Files: runtime/doc/tagsrch.txt, src/tag.c, 1040 src/testdir/test_ins_complete.vim, src/testdir/test_tagfunc.vim, 1041 src/testdir/test_tagjump.vim, src/testdir/test_taglist.vim 1042 1043 Patch 8.2.0089 1044 Problem: Crash when running out of memory in :setfiletype completion. 1045 Solution: Do not allocate memory. (Dominique Pellé, closes #5438) 1046 Files: src/cmdexpand.c 1047 1048 Patch 8.2.0090 1049 Problem: Generated files show up in git status. 1050 Solution: Ignore a few more files. 1051 Files: .gitignore 1052 1053 Patch 8.2.0091 1054 Problem: Compiler warnings for size_t / int types. 1055 Solution: Change type to size_t. (Mike Williams) 1056 Files: src/scriptfile.c 1057 1058 Patch 8.2.0092 1059 Problem: Tags functionality insufficiently tested. 1060 Solution: Add more tags tests. (Yegappan Lakshmanan, closes #5446) 1061 Files: src/testdir/test_tagjump.vim 1062 1063 Patch 8.2.0093 1064 Problem: win_splitmove() can make Vim hang. 1065 Solution: Check windows exists in the current tab page. (closes #5444) 1066 Files: src/testdir/test_window_cmd.vim, src/evalwindow.c 1067 1068 Patch 8.2.0094 1069 Problem: MS-Windows: cannot build with Strawberry Perl 5.30. 1070 Solution: Define __builtin_expect() as a workaround. (Ken Takata, 1071 closes #5267) 1072 Files: src/if_perl.xs 1073 1074 Patch 8.2.0095 1075 Problem: Cannot specify exit code for :cquit. 1076 Solution: Add optional argument. (Thinca, Yegappan Lakshmanan, closes #5442) 1077 Files: runtime/doc/quickfix.txt, src/ex_cmds.h, src/ex_docmd.c, 1078 src/testdir/test_quickfix.vim 1079 1080 Patch 8.2.0096 1081 Problem: Cannot create tiny popup window in last column. (Daniel Steinberg) 1082 Solution: Remove position limit. (closes #5447) 1083 Files: src/popupwin.c, src/testdir/test_popupwin.vim, 1084 src/testdir/dumps/Test_popupwin_20.dump, 1085 src/testdir/dumps/Test_popupwin_21.dump 1086 1087 Patch 8.2.0097 1088 Problem: Crash with autocommand and spellfile. (Tim Pope) 1089 Solution: Do not pop exestack when not pushed. (closes #5450) 1090 Files: src/testdir/test_autocmd.vim, src/spellfile.c 1091 1092 Patch 8.2.0098 1093 Problem: Exe stack length can be wrong without being detected. 1094 Solution: Add a check when ABORT_ON_INTERNAL_ERROR is defined. 1095 Files: src/macros.h, src/autocmd.c, src/buffer.c, src/ex_docmd.c, 1096 src/main.c, src/map.c, src/scriptfile.c, src/spellfile.c, 1097 src/userfunc.c 1098 1099 Patch 8.2.0099 1100 Problem: Use of NULL pointer when out of memory. 1101 Solution: Check for NULL pointer. (Dominique Pellé, closes #5449) 1102 Files: src/cmdexpand.c 1103 1104 Patch 8.2.0100 1105 Problem: Macros for Ruby are too complicated. 1106 Solution: Do not use DYNAMIC_RUBY_VER, use RUBY_VERSION. (Ken Takata, 1107 closes #5452) 1108 Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/auto/configure, 1109 src/configure.ac, src/if_ruby.c 1110 1111 Patch 8.2.0101 1112 Problem: Crash when passing null object to ":echomsg". 1113 Solution: Check for NULL pointer. (Yasuhiro Matsumoto, closes #5460) 1114 Files: src/eval.c, src/testdir/test_messages.vim 1115 1116 Patch 8.2.0102 1117 Problem: Messages test fails in small version. 1118 Solution: Only use test_null_job() when available. 1119 Files: src/testdir/test_messages.vim 1120 1121 Patch 8.2.0103 1122 Problem: Using null object with execute() has strange effects. 1123 Solution: Give an error message for Job and Channel. 1124 Files: src/testdir/test_execute_func.vim, src/globals.h, src/eval.c, 1125 src/evalfunc.c 1126 1127 Patch 8.2.0104 1128 Problem: Using channel or job with ":execute" has strange effects. 1129 Solution: Give an error message for Job and Channel. 1130 Files: src/testdir/test_eval_stuff.vim, src/eval.c 1131 1132 Patch 8.2.0105 1133 Problem: Vim license not easy to find on github. 1134 Solution: Add a separate LICENCE file. (closes #5458) 1135 Files: LICENSE, Filelist 1136 1137 Patch 8.2.0106 1138 Problem: Printf formats are not exactly right. 1139 Solution: Adjust signed/unsigned conversions. (Frazer Clews, closes #5456) 1140 Files: runtime/tools/ccfilter.c, src/libvterm/src/parser.c, 1141 src/libvterm/src/pen.c, src/ui.c 1142 1143 Patch 8.2.0107 1144 Problem: Hgignore is out of sync from gitignore. 1145 Solution: Add lines to hgignore. (Ken Takata) 1146 Files: .hgignore 1147 1148 Patch 8.2.0108 1149 Problem: When sign text is changed a manual redraw is needed. (Pontus 1150 Lietzler) 1151 Solution: Redraw automatically. (closes #5455) 1152 Files: src/testdir/test_signs.vim, src/sign.c, 1153 src/testdir/dumps/Test_sign_cursor_1.dump, 1154 src/testdir/dumps/Test_sign_cursor_2.dump, 1155 src/testdir/dumps/Test_sign_cursor_3.dump, 1156 src/testdir/dumps/Test_sign_cursor_01.dump, 1157 src/testdir/dumps/Test_sign_cursor_02.dump 1158 1159 Patch 8.2.0109 1160 Problem: Corrupted text properties when expanding spaces. 1161 Solution: Reallocate the line. (Nobuhiro Takasaki, closes #5457) 1162 Files: src/edit.c, src/testdir/test_textprop.vim 1163 1164 Patch 8.2.0110 1165 Problem: prop_find() is not implemented. 1166 Solution: Implement prop_find(). (Ryan Hackett, closes #5421, closes #4970) 1167 Files: src/evalfunc.c, src/proto/textprop.pro, 1168 src/testdir/test_textprop.vim, src/textprop.c, 1169 runtime/doc/textprop.txt 1170 1171 Patch 8.2.0111 1172 Problem: VAR_SPECIAL is also used for booleans. 1173 Solution: Add VAR_BOOL for better type checking. 1174 Files: src/structs.h, src/dict.c, src/eval.c, src/evalfunc.c, 1175 src/evalvars.c, src/if_lua.c, src/if_mzsch.c, src/if_py_both.h, 1176 src/if_ruby.c, src/json.c, src/popupmenu.c, src/proto/dict.pro, 1177 src/testing.c, src/vim.h, src/viminfo.c 1178 1179 Patch 8.2.0112 1180 Problem: Illegal memory access when using 'cindent'. 1181 Solution: Check for NUL byte. (Dominique Pellé, closes #5470) 1182 Files: src/cindent.c, src/testdir/test_cindent.vim 1183 1184 Patch 8.2.0113 (after 8.2.0095) 1185 Problem: "make cmdidxs" fails. 1186 Solution: Allow address for ":cquit". Add --not-a-term to avoid a delay. 1187 Files: src/ex_cmds.h, src/Makefile, src/Make_cyg_ming.mak, 1188 src/Make_mvc.mak 1189 1190 Patch 8.2.0114 1191 Problem: Info about sourced scripts is scattered. 1192 Solution: Use scriptitem_T for info about a script, including s: variables. 1193 Drop ga_scripts. 1194 Files: src/structs.h, src/evalvars.c, src/scriptfile.c, src/eval.c 1195 1196 Patch 8.2.0115 1197 Problem: Byte2line() does not work correctly with text properties. (Billie 1198 Cleek) 1199 Solution: Take the bytes of the text properties into account. 1200 (closes #5334) 1201 Files: src/testdir/test_textprop.vim, src/memline.c 1202 1203 Patch 8.2.0116 1204 Problem: BufEnter autocmd not triggered on ":tab drop". (Andy Stewart) 1205 Solution: Decrement autocmd_no_enter for the last file. (closes #1660, 1206 closes #5473) 1207 Files: src/arglist.c, src/testdir/test_tabpage.vim 1208 1209 Patch 8.2.0117 1210 Problem: Crash when using gettabwinvar() with invalid arguments. (Yilin 1211 Yang) 1212 Solution: Use "curtab" if "tp" is NULL. (closes #5475) 1213 Files: src/evalwindow.c, src/testdir/test_getvar.vim 1214 1215 Patch 8.2.0118 1216 Problem: Crash when cycling to buffers involving popup window. 1217 Solution: Do not decrement buffer reference count. 1218 Files: src/popupwin.c, src/testdir/test_popupwin.vim, 1219 src/testdir/dumps/Test_popupwin_infopopup_7.dump 1220 1221 Patch 8.2.0119 1222 Problem: Message test fails on some platforms. (Elimar Riesebieter) 1223 Solution: Add type cast to vim_snprintf() argument. (Dominique Pellé) 1224 Files: src/message_test.c 1225 1226 Patch 8.2.0120 1227 Problem: virtcol() does not check arguments to be valid, which may lead to 1228 a crash. 1229 Solution: Check the column to be valid. Do not decrement MAXCOL. 1230 (closes #5480) 1231 Files: src/evalfunc.c, src/testdir/test_marks.vim 1232 1233 Patch 8.2.0121 1234 Problem: filter() and map() on blob don't work. 1235 Solution: Correct the code. (closes #5483) 1236 Files: src/list.c, src/testdir/test_blob.vim 1237 1238 Patch 8.2.0122 1239 Problem: Readme files still mention MS-DOS. 1240 Solution: Update readme files. (Ken Takata, closes #5486) 1241 Files: README.md, README.txt, READMEdir/README_dos.txt, 1242 READMEdir/README_srcdos.txt, READMEdir/README_w32s.txt, 1243 runtime/doc/os_win32.txt 1244 1245 Patch 8.2.0123 1246 Problem: complete_info() does not work when CompleteDone is triggered. 1247 Solution: Trigger CompleteDone before clearing the info. 1248 Files: src/insexpand.c, runtime/doc/autocmd.txt, 1249 src/testdir/test_ins_complete.vim 1250 1251 Patch 8.2.0124 1252 Problem: Compiler warnings for variable types. 1253 Solution: Change type, add type cast. (Mike Williams) 1254 Files: src/memline.c 1255 1256 Patch 8.2.0125 1257 Problem: :mode no longer works for any system. 1258 Solution: Always give an error message. 1259 Files: src/ex_docmd.c, runtime/doc/quickref.txt, src/os_amiga.c, 1260 src/proto/os_amiga.pro, src/os_mswin.c, src/proto/os_mswin.pro, 1261 src/os_unix.c, src/proto/os_unix.pro 1262 1263 Patch 8.2.0126 (after 8.2.0124) 1264 Problem: Textprop test fails. 1265 Solution: Fix sign in computation. 1266 Files: src/memline.c 1267 1268 Patch 8.2.0127 1269 Problem: Some buffer commands work in a popup window. 1270 Solution: Disallow :bnext, :bprev, etc. (Naruhiko Nishino, closes #5494) 1271 Files: src/ex_docmd.c, src/testdir/test_popupwin.vim 1272 1273 Patch 8.2.0128 1274 Problem: Cannot list options one per line. 1275 Solution: Use ":set!" to list one option per line. 1276 Files: src/ex_docmd.c, src/option.c, src/proto/option.pro, src/vim.h, 1277 src/ex_cmds.h, src/optiondefs.h, src/testdir/test_options.vim, 1278 runtime/doc/options.txt 1279 1280 Patch 8.2.0129 1281 Problem: MS-Windows installer doesn't use Turkish translations. 1282 Solution: Enable the Turkish translations and fix a few. (Emir Sarı, 1283 closes #5493) 1284 Files: nsis/gvim.nsi, nsis/lang/turkish.nsi 1285 1286 Patch 8.2.0130 1287 Problem: Python3 ranges are not tested. 1288 Solution: Add test. (Dominique Pellé, closes #5498) 1289 Files: src/testdir/test_python3.vim 1290 1291 Patch 8.2.0131 1292 Problem: Command line is not cleared when switching tabs and the command 1293 line height differs. 1294 Solution: Set the "clear_cmdline" flag when needed. (Naruhiko Nishino, 1295 closes #5495) 1296 Files: src/testdir/dumps/Test_cmdlineclear_tabenter.dump, 1297 src/testdir/test_cmdline.vim, src/window.c 1298 1299 Patch 8.2.0132 1300 Problem: Script may be re-used when deleting and creating a new one. 1301 Solution: When the inode matches, also check the file name. 1302 Files: src/scriptfile.c, src/testdir/test_source.vim 1303 1304 Patch 8.2.0133 1305 Problem: Invalid memory access with search command. 1306 Solution: When :normal runs out of characters in bracketed paste mode break 1307 out of the loop.(closes #5511) 1308 Files: src/testdir/test_search.vim, src/edit.c 1309 1310 Patch 8.2.0134 1311 Problem: Some map functionality not covered by tests. 1312 Solution: Add tests. (Yegappan Lakshmanan, closes #5504) 1313 Files: src/testdir/test_maparg.vim, src/testdir/test_mapping.vim 1314 1315 Patch 8.2.0135 (after 8.2.0133) 1316 Problem: Bracketed paste can still cause invalid memory access. (Dominique 1317 Pellé) 1318 Solution: Check for NULL pointer. 1319 Files: src/edit.c, src/testdir/test_search.vim 1320 1321 Patch 8.2.0136 1322 Problem: Stray ch_logfile() call. 1323 Solution: Remove it. (closes #5503) 1324 Files: src/testdir/test_source.vim 1325 1326 Patch 8.2.0137 1327 Problem: Crash when using win_execute() from a new tab. 1328 Solution: Set the tp_*win pointers. (Ozaki Kiichi, closes #5512) 1329 Files: src/testdir/test_winbuf_close.vim, src/window.c 1330 1331 Patch 8.2.0138 1332 Problem: Memory leak when starting a job fails. 1333 Solution: Free the list of arguments. (Ozaki Kiichi, closes #5510) 1334 Files: src/channel.c, src/testdir/test_channel.vim 1335 1336 Patch 8.2.0139 1337 Problem: MS-Windows: default for IME is inconsistent. 1338 Solution: Also make IME default enabled with MVC. (Ken Takata, closes #5508) 1339 Files: src/Make_mvc.mak 1340 1341 Patch 8.2.0140 1342 Problem: CI does not test building doc tags. 1343 Solution: Add the vimtags/gcc build. Cleanup showing version. (Ozaki Kiichi, 1344 closes #5513) 1345 Files: .travis.yml, Filelist, ci/if_ver-1.vim, ci/if_ver-2.vim, 1346 ci/if_ver-cmd.vim, runtime/doc/Makefile, runtime/doc/doctags.vim, 1347 src/testdir/if_ver-1.vim, src/testdir/if_ver-2.vim 1348 1349 Patch 8.2.0141 1350 Problem: No swift filetype detection. 1351 Solution: Add swift, swiftgyb and sil. (Emir Sarı, closes #5517) 1352 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 1353 1354 Patch 8.2.0142 1355 Problem: Possible to enter popup window with CTRL-W p. (John Devin) 1356 Solution: Check entered window is not a popup window. (closes #5515) 1357 Files: src/window.c, src/popupwin.c, src/testdir/test_popupwin.vim, 1358 src/testdir/dumps/Test_popupwin_previewpopup_9.dump, 1359 src/testdir/dumps/Test_popupwin_previewpopup_10.dump 1360 1361 Patch 8.2.0143 1362 Problem: Coverity warning for possible use of NULL pointer. 1363 Solution: Check argv is not NULL. 1364 Files: src/channel.c 1365 1366 Patch 8.2.0144 1367 Problem: Some mapping code is not fully tested. 1368 Solution: Add more test cases. (Yegappan Lakshmanan, closes #5519) 1369 Files: src/testdir/test_langmap.vim, src/testdir/test_maparg.vim, 1370 src/testdir/test_mapping.vim 1371 1372 Patch 8.2.0145 1373 Problem: Using #error for compilation errors should be OK now. 1374 Solution: Use #error. (Ken Takata, closes #5299) 1375 Files: src/blowfish.c, src/vim.h 1376 1377 Patch 8.2.0146 1378 Problem: Wrong indent when 'showbreak' and 'breakindent' are set and 1379 'briopt' includes "sbr". 1380 Solution: Reset "need_showbreak" where needed. (Ken Takata, closes #5523) 1381 Files: src/drawline.c, src/testdir/test_breakindent.vim 1382 1383 Patch 8.2.0147 1384 Problem: Block Visual mode operators not correct when 'linebreak' set. 1385 Solution: Set w_p_lbr to lbr_saved more often. (Ken Takata, closes #5524) 1386 Files: src/ops.c, src/testdir/test_listlbr.vim 1387 1388 Patch 8.2.0148 1389 Problem: Mapping related function in wrong source file. 1390 Solution: Move the function. Add a few more test cases. (Yegappan 1391 Lakshmanan, closes #5528) 1392 Files: src/map.c, src/proto/term.pro, src/term.c, 1393 src/testdir/test_mapping.vim 1394 1395 Patch 8.2.0149 1396 Problem: Maintaining a Vim9 branch separately is more work. 1397 Solution: Merge the Vim9 script changes. 1398 Files: README.md, README_VIM9.md, runtime/doc/Makefile, 1399 runtime/doc/eval.txt, runtime/doc/options.txt, runtime/doc/tags, 1400 runtime/doc/vim9.txt, runtime/ftplugin/vim.vim, 1401 runtime/indent/vim.vim, runtime/syntax/vim.vim, 1402 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Makefile, src/blob.c, 1403 src/channel.c, src/dict.c, src/eval.c, src/evalbuffer.c, 1404 src/evalfunc.c, src/evalvars.c, src/ex_cmdidxs.h, src/ex_cmds.h, 1405 src/ex_docmd.c, src/ex_eval.c, src/filepath.c, src/globals.h, 1406 src/gui.c, src/if_lua.c, src/if_py_both.h, src/insexpand.c, 1407 src/json.c, src/list.c, src/macros.h, src/main.c, src/message.c, 1408 src/misc1.c, src/proto.h, src/proto/blob.pro, src/proto/eval.pro, 1409 src/proto/evalfunc.pro, src/proto/evalvars.pro, 1410 src/proto/ex_docmd.pro, src/proto/ex_eval.pro, src/proto/list.pro, 1411 src/proto/message.pro, src/proto/scriptfile.pro, 1412 src/proto/userfunc.pro, src/proto/vim9compile.pro, 1413 src/proto/vim9execute.pro, src/proto/vim9script.pro, 1414 src/scriptfile.c, src/session.c, src/structs.h, src/syntax.c, 1415 src/testdir/Make_all.mak, src/testdir/test_vim9_expr.vim, 1416 src/testdir/test_vim9_script.vim, src/testing.c, src/userfunc.c, 1417 src/vim.h, src/vim9.h, src/vim9compile.c, src/vim9execute.c, 1418 src/vim9script.c, src/viminfo.c 1419 1420 Patch 8.2.0150 1421 Problem: Cannot define python function when using :execute. (Yasuhiro 1422 Matsumoto) 1423 Solution: Do not recognize "def" inside "function. 1424 Files: src/testdir/test_vim9_script.vim, src/userfunc.c 1425 1426 Patch 8.2.0151 1427 Problem: Detecting a script was already sourced is unreliable. 1428 Solution: Do not use the inode number. 1429 Files: src/scriptfile.c, src/structs.h, src/testdir/test_vim9_script.vim 1430 1431 Patch 8.2.0152 1432 Problem: Restoring ctrl_x_mode is not needed. 1433 Solution: Remove restoring the old value, it's changed again soon. 1434 Files: src/insexpand.c 1435 1436 Patch 8.2.0153 1437 Problem: Warning shows when listing version info. 1438 Solution: Use "-u NONE". (Ozaki Kiichi, closes #5534) 1439 Files: .travis.yml 1440 1441 Patch 8.2.0154 1442 Problem: Reallocating the list of scripts is inefficient. 1443 Solution: Instead of using a growarray of scriptitem_T, store pointers and 1444 allocate each scriptitem_T separately. Also avoids that the 1445 growarray pointers change when sourcing a new script. 1446 Files: src/globals.h, src/eval.c, src/evalvars.c, src/ex_docmd.c, 1447 src/profiler.c, src/scriptfile.c, src/vim9compile.c, 1448 src/vim9execute.c, src/vim9script.c 1449 1450 Patch 8.2.0155 1451 Problem: Warnings from MinGW compiler. (John Marriott) Json test fails when 1452 building without +float feature. 1453 Solution: Init variables. Fix Json parsing. Skip a few tests that require 1454 the +float feature. 1455 Files: src/vim9script.c, src/vim9compile.c, src/vim9execute.c, 1456 src/if_py_both.h, src/json.c, src/testdir/test_method.vim 1457 1458 Patch 8.2.0156 1459 Problem: Various typos in source files and tests. 1460 Solution: Fix the typos. (Emir Sarı, closes #5532) 1461 Files: Makefile, src/INSTALLvms.txt, src/Make_vms.mms, src/beval.h, 1462 src/buffer.c, src/charset.c, src/evalvars.c, src/ex_cmds.c, 1463 src/ex_docmd.c, src/getchar.c, src/gui.c, src/gui_mac.c, 1464 src/gui_photon.c, src/if_perl.xs, 1465 src/libvterm/t/11state_movecursor.test, 1466 src/libvterm/t/41screen_unicode.test, src/mbyte.c, src/memline.c, 1467 src/normal.c, src/ops.c, src/option.c, src/option.h, 1468 src/os_unix.c, src/os_win32.c, src/quickfix.c, src/register.c, 1469 src/spell.c, src/tag.c, src/term.c, 1470 src/testdir/test_breakindent.vim, src/testdir/test_channel.vim, 1471 src/testdir/test_cindent.vim, src/testdir/test_digraph.vim, 1472 src/testdir/test_edit.vim, src/testdir/test_netbeans.vim, 1473 src/testdir/test_quickfix.vim, src/testdir/test_registers.vim, 1474 src/testdir/test_stat.vim, src/ui.c, src/xxd/xxd.c 1475 1476 Patch 8.2.0157 1477 Problem: Vim9 script files not in list of distributed files. 1478 Solution: Add the entries. 1479 Files: Filelist 1480 1481 Patch 8.2.0158 (after 8.2.0123) 1482 Problem: Triggering CompleteDone earlier is not backwards compatible. 1483 (Daniel Hahler) 1484 Solution: Add CompleteDonePre instead. 1485 Files: src/insexpand.c, runtime/doc/autocmd.txt, src/autocmd.c, 1486 src/vim.h, src/testdir/test_ins_complete.vim 1487 1488 Patch 8.2.0159 1489 Problem: Non-materialized range() list causes problems. (Fujiwara Takuya) 1490 Solution: Materialize the list where needed. 1491 Files: src/testdir/test_functions.vim, src/testdir/test_python3.vim, 1492 src/userfunc.c, src/evalfunc.c, src/highlight.c, src/evalvars.c, 1493 src/popupmenu.c, src/insexpand.c, src/json.c, src/channel.c, 1494 src/eval.c 1495 1496 Patch 8.2.0160 (after 8.2.0159) 1497 Problem: Range test fails. 1498 Solution: Include change in list code. (#5541) 1499 Files: src/list.c 1500 1501 Patch 8.2.0161 1502 Problem: Not recognizing .gv file as dot filetype. 1503 Solution: Add *.gv to dot pattern. (closes #5544) 1504 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 1505 1506 Patch 8.2.0162 1507 Problem: Balloon test fails in the GUI. 1508 Solution: Skip test in the GUI. 1509 Files: src/testdir/test_functions.vim 1510 1511 Patch 8.2.0163 1512 Problem: Test hangs on MS-Windows console. 1513 Solution: use feedkeys() instead of test_feedinput(). (Ken Takata) 1514 Files: src/testdir/test_functions.vim, src/testing.c 1515 1516 Patch 8.2.0164 1517 Problem: Test_alot takes too long. 1518 Solution: Run several tests individually. 1519 Files: src/testdir/test_alot.vim, src/testdir/Make_all.mak 1520 1521 Patch 8.2.0165 1522 Problem: Coverity warning for using NULL pointer. 1523 Solution: Add missing "else". 1524 Files: src/vim9compile.c 1525 1526 Patch 8.2.0166 1527 Problem: Coverity warning for using uninitialized variable. 1528 Solution: Check for failure. 1529 Files: src/vim9execute.c 1530 1531 Patch 8.2.0167 1532 Problem: Coverity warning for ignoring return value. 1533 Solution: Check the return value and jump if failed. 1534 Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim 1535 1536 Patch 8.2.0168 1537 Problem: Coverity warning for assigning NULL to an option. 1538 Solution: Use empty string instead of NULL. 1539 Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim 1540 1541 Patch 8.2.0169 1542 Problem: Coverity warning for dead code. 1543 Solution: Check if inside try-finally. 1544 Files: src/vim9execute.c 1545 1546 Patch 8.2.0170 1547 Problem: Coverity warning for ignoring return value. 1548 Solution: Check the return value and return if failed. 1549 Files: src/vim9compile.c 1550 1551 Patch 8.2.0171 1552 Problem: Coverity warning for using uninitialized buffer. 1553 Solution: Check the skip flag. 1554 Files: src/userfunc.c 1555 1556 Patch 8.2.0172 1557 Problem: Coverity warning for not restoring character. 1558 Solution: Restore the character also in case of failure. 1559 Files: src/vim9script.c 1560 1561 Patch 8.2.0173 1562 Problem: Build fails with old compiler. 1563 Solution: Do not use anonymous unions. (John Marriott) 1564 Files: src/vim9compile.c, src/evalvars.c, src/list.c, src/structs.h, 1565 src/evalfunc.c, src/channel.c, src/if_mzsch.c, src/if_py_both.h 1566 1567 Patch 8.2.0174 1568 Problem: Various commands not completely tested. 1569 Solution: Add more test cases. (Yegappan Lakshmanan, closes #5551) 1570 Files: src/testdir/test_excmd.vim, src/testdir/test_fnameescape.vim, 1571 src/testdir/test_ga.vim, src/testdir/test_global.vim, 1572 src/testdir/test_move.vim, src/testdir/test_options.vim, 1573 src/testdir/test_packadd.vim, src/testdir/test_sort.vim, 1574 src/testdir/test_substitute.vim, src/testdir/test_textformat.vim, 1575 src/testdir/test_writefile.vim 1576 1577 Patch 8.2.0175 1578 Problem: Crash when removing list element in map(). 1579 Solution: Lock the list. (closes #2652) 1580 Files: src/testdir/test_filter_map.vim, src/list.c 1581 1582 Patch 8.2.0176 1583 Problem: Generating os headers does not work for Swedish. 1584 Solution: Set the locale to C. (Christian Brabandt, closes #5258) 1585 Files: src/osdef.sh 1586 1587 Patch 8.2.0177 1588 Problem: Memory leak in get_tags(). 1589 Solution: Free matches when finding a pseudo-tag line. (Dominique Pellé, 1590 closes #5553) 1591 Files: src/tag.c 1592 1593 Patch 8.2.0178 1594 Problem: With VTP the screen may not be restored properly. 1595 Solution: Add another set of saved RGB values. (Nobuhiro Takasaki, 1596 closes #5548) 1597 Files: src/os_win32.c 1598 1599 Patch 8.2.0179 1600 Problem: Still a few places where range() does not work. 1601 Solution: Fix using range() causing problems. 1602 Files: src/terminal.c, src/testdir/test_functions.vim, 1603 src/testdir/test_popupwin.vim, src/popupwin.c, src/tag.c, 1604 src/testdir/dumps/Test_popupwin_20.dump, 1605 src/testdir/dumps/Test_popupwin_21.dump, 1606 src/testdir/dumps/Test_popup_settext_07.dump, src/globals.h 1607 1608 Patch 8.2.0180 1609 Problem: Test for wrapmargin fails if terminal is not 80 columns. 1610 Solution: Vertical split the window. (Ken Takata, closes #5554) 1611 Files: src/testdir/test_textformat.vim 1612 1613 Patch 8.2.0181 1614 Problem: Problems parsing :term arguments. 1615 Solution: Improve parsing, fix memory leak, add tests. (Ozaki Kiichi, 1616 closes #5536) 1617 Files: src/channel.c, src/proto/channel.pro, src/structs.h, 1618 src/terminal.c, src/testdir/test_terminal.vim 1619 1620 Patch 8.2.0182 1621 Problem: Min() and max() materialize a range() list. 1622 Solution: Compute the result without materializing the list. (#5541) 1623 Files: src/evalfunc.c 1624 1625 Patch 8.2.0183 1626 Problem: Tests fail when the float feature is disabled. 1627 Solution: Skip tests that don't work without float support. 1628 Files: src/testdir/shared.vim, src/testdir/test_blob.vim, 1629 src/testdir/test_channel.vim, src/testdir/test_cscope.vim, 1630 src/testdir/test_execute_func.vim, src/testdir/test_expr.vim, 1631 src/testdir/test_functions.vim, src/testdir/test_lambda.vim, 1632 src/testdir/test_listdict.vim, src/testdir/test_lua.vim, 1633 src/testdir/test_options.vim, src/testdir/test_partial.vim, 1634 src/testdir/test_ruby.vim, src/testdir/test_sort.vim, 1635 src/testdir/test_timers.vim, src/testdir/test_true_false.vim, 1636 src/testdir/test_user_func.vim, src/testdir/test_vim9_expr.vim, 1637 src/testdir/test_vimscript.vim, src/testdir/test_regexp_latin.vim, 1638 src/testdir/test_glob2regpat.vim 1639 1640 Patch 8.2.0184 1641 Problem: Blob test fails. 1642 Solution: Check for different error when float feature is missing. 1643 Files: src/testdir/test_blob.vim 1644 1645 Patch 8.2.0185 1646 Problem: Vim9 script: cannot use "if has()" to skip lines. 1647 Solution: Evaluate constant expression at runtime. 1648 Files: src/vim9compile.c, src/evalfunc.c, src/proto/evalfunc.pro, 1649 src/userfunc.c, src/testdir/test_vim9_script.vim 1650 1651 Patch 8.2.0186 1652 Problem: A couple of tests may fail when features are missing. 1653 Solution: Check for features. (Dominique Pellé, closes #5561) 1654 Files: src/testdir/test_functions.vim, src/testdir/test_highlight.vim 1655 1656 Patch 8.2.0187 1657 Problem: Redundant code. 1658 Solution: Remove unused assignments. (Dominique Pellé, closes #5557) 1659 Files: src/vim9compile.c 1660 1661 Patch 8.2.0188 1662 Problem: Check commands don't work well with Vim9 script. 1663 Solution: Improve constant expression handling. 1664 Files: src/vim9compile.c, src/testdir/check.vim, 1665 src/testdir/test_vim9_expr.vim 1666 1667 Patch 8.2.0189 1668 Problem: cd() with NULL argument crashes. 1669 Solution: Check for NULL. (Ken Takata, closes #5558) 1670 Files: src/testdir/test_cd.vim, src/ex_docmd.c 1671 1672 Patch 8.2.0190 1673 Problem: Kotlin files are not recognized. 1674 Solution: Detect Kotlin files. (Alkeryn, closes #5560) 1675 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 1676 1677 Patch 8.2.0191 1678 Problem: Cannot put a terminal in a popup window. 1679 Solution: Allow opening a terminal in a popup window. It will always have 1680 keyboard focus until closed. 1681 Files: src/popupwin.c, src/proto/popupwin.pro, src/terminal.c, 1682 src/proto/terminal.pro, src/macros.h, src/mouse.c, 1683 src/highlight.c, src/drawline.c, src/optionstr.c, src/window.c, 1684 src/testdir/test_terminal.vim, 1685 src/testdir/dumps/Test_terminal_popup_1.dump, 1686 src/testdir/dumps/Test_terminal_popup_2.dump, 1687 src/testdir/dumps/Test_terminal_popup_3.dump 1688 1689 Patch 8.2.0192 (after 8.2.0191) 1690 Problem: Build failure without +terminal feature. 1691 Solution: Add #ifdefs. 1692 Files: src/popupwin.c 1693 1694 Patch 8.2.0193 (after 8.2.0191) 1695 Problem: Still build failure without +terminal feature. 1696 Solution: Add more #ifdefs. 1697 Files: src/macros.h 1698 1699 Patch 8.2.0194 (after 8.2.0193) 1700 Problem: Some commands can cause problems in terminal popup. 1701 Solution: Disallow more commands. 1702 Files: src/macros.h, src/popupwin.c, src/proto/popupwin.pro, 1703 src/arglist.c, src/ex_docmd.c, src/window.c, 1704 src/testdir/test_terminal.vim 1705 1706 Patch 8.2.0195 1707 Problem: Some tests fail when run in the GUI. 1708 Solution: Make sure the window width is enough. In the GUI run terminal Vim 1709 in the terminal, if possible. 1710 Files: src/testdir/test_highlight.vim, src/testdir/check.vim, 1711 src/testdir/test_terminal.vim 1712 1713 Patch 8.2.0196 1714 Problem: Blocking commands for a finished job in a popup window. 1715 Solution: Do not block commands if the job has finished. Adjust test. 1716 Files: src/popupwin.c, src/testdir/test_popupwin.vim, src/window.c, 1717 src/terminal.c, src/proto/terminal.pro 1718 1719 Patch 8.2.0197 1720 Problem: Some Ex commands not sufficiently tested. 1721 Solution: Add more tests. (Yegappan Lakshmanan, closes #5565) 1722 Files: src/testdir/test_global.vim, src/testdir/test_help.vim, 1723 src/testdir/test_help_tagjump.vim, src/testdir/test_options.vim, 1724 src/testdir/test_substitute.vim, src/testdir/test_textformat.vim, 1725 src/testdir/test_writefile.vim 1726 1727 Patch 8.2.0198 1728 Problem: No tests for y/n prompt. 1729 Solution: Add tests. (Dominique Pellé, closes #5564) 1730 Files: src/testdir/test_messages.vim 1731 1732 Patch 8.2.0199 1733 Problem: Vim9 script commands not sufficiently tested. 1734 Solution: Add more tests. Fix script-local function use. 1735 Files: src/vim9execute.c, src/testdir/test_vim9_script.vim, 1736 src/userfunc.c 1737 1738 Patch 8.2.0200 1739 Problem: Vim9 script commands not sufficiently tested. 1740 Solution: Add more tests. Fix storing global variable. Make script 1741 variables work. 1742 Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h, src/evalvars.c, 1743 src/proto/evalvars.pro, src/testdir/test_vim9_script.vim, 1744 src/misc1.c, src/proto/misc1.pro 1745 1746 Patch 8.2.0201 1747 Problem: Cannot assign to an imported variable. 1748 Solution: Make it work. 1749 Files: src/evalvars.c, src/vim9compile.c, src/proto/vim9compile.pro, 1750 src/userfunc.c, src/testdir/test_vim9_script.vim 1751 1752 Patch 8.2.0202 1753 Problem: When 'lazyredraw' is set the window title may not be updated. 1754 Solution: Set "do_redraw" before entering the main loop. (Jason Franklin) 1755 Files: src/main.c 1756 1757 Patch 8.2.0203 1758 Problem: :helptags and some other functionality not tested. 1759 Solution: Add more tests. (Yegappan Lakshmanan, closes #5567) 1760 Files: src/testdir/test_compiler.vim, src/testdir/test_ex_mode.vim, 1761 src/testdir/test_excmd.vim, src/testdir/test_filechanged.vim, 1762 src/testdir/test_help.vim, src/testdir/test_help_tagjump.vim, 1763 src/testdir/test_timers.vim, src/testdir/test_window_cmd.vim 1764 1765 Patch 8.2.0204 1766 Problem: Crash when using winnr('j') in a popup window. 1767 Solution: Do not search for neighbors in a popup window. (closes #5568) 1768 Files: src/window.c, src/testdir/test_popupwin.vim, src/evalwindow.c 1769 1770 Patch 8.2.0205 1771 Problem: Error code E899 used twice. 1772 Solution: Use E863 for the terminal in popup error. 1773 Files: src/popupwin.c 1774 1775 Patch 8.2.0206 1776 Problem: Calling Vim9 function using default argument fails. 1777 Solution: Give an appropriate error. (closes #5572) 1778 Files: src/testdir/test_vim9_script.vim, src/vim9compile.c, 1779 src/vim9execute.c 1780 1781 Patch 8.2.0207 1782 Problem: Crash when missing member type on list argument. 1783 Solution: Check for invalid type. (closes #5572) 1784 Files: src/userfunc.c, src/testdir/test_vim9_script.vim 1785 1786 Patch 8.2.0208 1787 Problem: Fnamemodify() does not apply ":~" when followed by ":.". 1788 Solution: Don't let a failing ":." cause the ":~" to be skipped. (Yasuhiro 1789 Matsumoto, closes #5577) 1790 Files: runtime/doc/cmdline.txt, src/filepath.c, 1791 src/testdir/test_fnamemodify.vim 1792 1793 Patch 8.2.0209 1794 Problem: Function a bit far away from where it's used. 1795 Solution: Move function close to where it's used. (Ken Takata, closes #5569) 1796 Files: src/fileio.c, src/filepath.c 1797 1798 Patch 8.2.0210 1799 Problem: Coverity complains about uninitialized field. 1800 Solution: Initialize the field. 1801 Files: src/vim9compile.c 1802 1803 Patch 8.2.0211 1804 Problem: Test for ANSI colors fails without an "ls" command. 1805 Solution: Use "dir". (Ken Takata, closes #5582) 1806 Files: src/testdir/test_functions.vim 1807 1808 Patch 8.2.0212 1809 Problem: Missing search/substitute pattern hardly tested. 1810 Solution: Add test_clear_search_pat() and tests. (Yegappan Lakshmanan, 1811 closes #5579) 1812 Files: runtime/doc/eval.txt, runtime/doc/testing.txt, 1813 runtime/doc/usr_41.txt, src/evalfunc.c, src/proto/regexp.pro, 1814 src/proto/search.pro, src/proto/testing.pro, src/regexp.c, 1815 src/search.c, src/testdir/test_quickfix.vim, 1816 src/testdir/test_search.vim, src/testdir/test_sort.vim, 1817 src/testdir/test_substitute.vim, src/testing.c 1818 1819 Patch 8.2.0213 1820 Problem: Configure does not recognize gcc 10.0 and later. 1821 Solution: Adjust the pattern matching the version number. (Sergei 1822 Trofimovich, closes #5580) 1823 Files: src/configure.ac, src/auto/configure 1824 1825 Patch 8.2.0214 1826 Problem: A popup window with a terminal can be made hidden. 1827 Solution: Disallow hiding a terminal popup. 1828 Files: src/testdir/test_terminal.vim, src/popupwin.c, 1829 src/testdir/dumps/Test_terminal_popup_4.dump 1830 1831 Patch 8.2.0215 (after 8.2.0208) 1832 Problem: Wrong file name shortening. (Ingo Karkat) 1833 Solution: Better check for path separator. (Yasuhiro Matsumoto, 1834 closes #5583, closes #5584) 1835 Files: src/filepath.c, src/testdir/test_fnamemodify.vim 1836 1837 Patch 8.2.0216 1838 Problem: Several Vim9 instructions are not tested. 1839 Solution: Add more tests. Fix :disassemble output. Make catch with pattern 1840 work. 1841 Files: src/testdir/test_vim9_script.vim, src/vim9execute.c, 1842 src/vim9compile.c 1843 1844 Patch 8.2.0217 (after 8.2.0214) 1845 Problem: Terminal test fails on Mac. 1846 Solution: Add a short wait. 1847 Files: src/testdir/test_terminal.vim 1848 1849 Patch 8.2.0218 1850 Problem: Several Vim9 instructions are not tested. 1851 Solution: Add more tests. 1852 Files: src/testdir/test_vim9_script.vim 1853 1854 Patch 8.2.0219 (after 8.2.0217) 1855 Problem: Terminal test still fails on Mac. 1856 Solution: Skip part of the test on Mac. 1857 Files: src/testdir/test_terminal.vim 1858 1859 Patch 8.2.0220 1860 Problem: Terminal test did pass on Mac. 1861 Solution: Remove the skip again. 1862 Files: src/testdir/test_terminal.vim 1863 1864 Patch 8.2.0221 1865 Problem: No test for Vim9 += and ..=. 1866 Solution: Add tests. 1867 Files: src/testdir/test_vim9_script.vim 1868 1869 Patch 8.2.0222 1870 Problem: Vim9: optional function arguments don't work yet. 1871 Solution: Implement optional function arguments. 1872 Files: src/userfunc.c, src/vim9compile.c, src/vim9execute.c, 1873 src/structs.h, src/testdir/test_vim9_script.vim 1874 1875 Patch 8.2.0223 1876 Problem: Some instructions not yet tested. 1877 Solution: Disassemble more instructions. Move tests to a new file. Compile 1878 call to s:function(). 1879 Files: src/testdir/test_vim9_script.vim, src/testdir/Make_all.mak, 1880 src/testdir/test_vim9_disassemble.vim, src/vim9compile.c, 1881 src/userfunc.c, src/proto/userfunc.pro, src/vim.h 1882 1883 Patch 8.2.0224 1884 Problem: compiling :elseif not tested yet. 1885 Solution: Add test for :elseif. Fix generating jumps. 1886 Files: src/testdir/test_vim9_script.vim, src/vim9compile.c, 1887 src/testdir/test_vim9_disassemble.vim 1888 1889 Patch 8.2.0225 1890 Problem: compiling lambda not tested yet. 1891 Solution: Add test for lambda and funcref. Drop unused instruction arg. 1892 Files: src/testdir/test_vim9_disassemble.vim, src/vim9.h, 1893 src/vim9execute.c 1894 1895 Patch 8.2.0226 1896 Problem: Compiling for loop not tested. 1897 Solution: Add a test. Make variable initialization work for more types. 1898 Files: src/testdir/test_vim9_disassemble.vim, src/vim9compile.c 1899 1900 Patch 8.2.0227 1901 Problem: Compiling a few instructions not tested. 1902 Solution: Add more test cases. 1903 Files: src/testdir/test_vim9_disassemble.vim 1904 1905 Patch 8.2.0228 1906 Problem: Configure does not recognize gcc version on BSD. 1907 Solution: Do not use "\+" in the pattern matching the version number. (Ozaki 1908 Kiichi, closes #5590) 1909 Files: src/configure.ac, src/auto/configure 1910 1911 Patch 8.2.0229 1912 Problem: Compare instructions not tested. 1913 Solution: Add test cases. Fix disassemble with line continuation. 1914 Files: src/testdir/test_vim9_disassemble.vim, src/vim9execute.c, 1915 src/vim9compile.c 1916 1917 Patch 8.2.0230 1918 Problem: Terminal popup test is flaky. 1919 Solution: Increase wait time a bit. 1920 Files: src/testdir/test_terminal.vim 1921 1922 Patch 8.2.0231 1923 Problem: Silent system command may clear the screen. 1924 Solution: Do not clear the screen in t_te. 1925 Files: src/term.c 1926 1927 Patch 8.2.0232 1928 Problem: The :compiler command causes a crash. (Daniel Steinberg) 1929 Solution: Do not use the script index if it isn't set. 1930 Files: src/ex_docmd.c, src/testdir/test_compiler.vim 1931 1932 Patch 8.2.0233 1933 Problem: Crash when using garbagecollect() in between rand(). 1934 Solution: Redesign the rand() and srand() implementation. (Yasuhiro 1935 Matsumoto, closes #5587, closes #5588) 1936 Files: src/evalfunc.c, src/testdir/test_random.vim, 1937 runtime/doc/testing.txt, runtime/doc/eval.txt 1938 1939 Patch 8.2.0234 1940 Problem: Message test fails on SunOS. 1941 Solution: Adjust expectation for printf "%p". (Ozaki Kiichi, closes #5595) 1942 Files: src/message_test.c 1943 1944 Patch 8.2.0235 1945 Problem: Draw error when an empty group is removed from 'statusline'. 1946 Solution: Do not use highlighting from a removed group. 1947 Files: src/buffer.c, src/testdir/test_statusline.vim, 1948 src/testdir/dumps/Test_statusline_1.dump 1949 1950 Patch 8.2.0236 1951 Problem: MS-Windows uninstall doesn't delete vimtutor.bat. 1952 Solution: Change directory before deletion. (Ken Takata, closes #5603) 1953 Files: src/uninstall.c 1954 1955 Patch 8.2.0237 1956 Problem: Crash when setting 'wincolor' on finished terminal window. 1957 (Bakudankun) 1958 Solution: Check that the vterm is not NULL. (Yasuhiro Matsumoto, closes 1959 #5607, closes #5610) 1960 Files: src/terminal.c, src/testdir/test_terminal.vim 1961 1962 Patch 8.2.0238 1963 Problem: MS-Windows: job_stop() results in exit value zero. 1964 Solution: Call TerminateJobObject() with -1 instead of 0. (Yasuhiro 1965 Matsumoto, closes #5150, closes #5614) 1966 Files: src/os_win32.c, src/testdir/test_channel.vim 1967 1968 Patch 8.2.0239 1969 Problem: MS-Windows: 'env' job option does not override existing 1970 environment variables. (Tim Pope) 1971 Solution: Set the environment variables later. (Yasuhiro Matsumoto, 1972 closes #5485, closes #5608) 1973 Files: src/os_win32.c, src/testdir/test_channel.vim 1974 1975 Patch 8.2.0240 1976 Problem: Using memory after it was freed. (Dominique Pellé) 1977 Solution: Do not mix conversion buffer with other buffer. 1978 Files: src/viminfo.c, src/vim.h 1979 1980 Patch 8.2.0241 1981 Problem: Crash when setting 'buftype' to "quickfix". 1982 Solution: Check that error list is not NULL. (closes #5613) 1983 Files: src/quickfix.c, src/testdir/test_quickfix.vim 1984 1985 Patch 8.2.0242 1986 Problem: Preview popup window test fails with long directory name. (Jakub 1987 Kądziołka) 1988 Solution: Use "silent cd". (closes #5615) 1989 Files: src/testdir/test_popupwin.vim 1990 1991 Patch 8.2.0243 1992 Problem: Insufficient code coverage for ex_docmd.c functions. 1993 Solution: Add more tests. (Yegappan Lakshmanan, closes #5618) 1994 Files: src/testdir/Make_all.mak, src/testdir/test_arglist.vim, 1995 src/testdir/test_buffer.vim, src/testdir/test_cd.vim, 1996 src/testdir/test_cmdline.vim, src/testdir/test_ex_mode.vim, 1997 src/testdir/test_excmd.vim, src/testdir/test_mapping.vim, 1998 src/testdir/test_quickfix.vim, src/testdir/test_search.vim, 1999 src/testdir/test_sort.vim, src/testdir/test_source.vim, 2000 src/testdir/test_substitute.vim, src/testdir/test_undo.vim, 2001 src/testdir/test_vimscript.vim, src/testdir/test_window_cmd.vim, 2002 src/testdir/test_writefile.vim 2003 2004 Patch 8.2.0244 2005 Problem: Compiler warning in Lua interface. 2006 Solution: Add type cast. (Ken Takata, closes #5621) 2007 Files: src/if_lua.c 2008 2009 Patch 8.2.0245 2010 Problem: MSVC: error message if the auto directory already exists. 2011 Solution: Add "if not exists". (Ken Takata, closes #5620) 2012 Files: src/Make_mvc.mak 2013 2014 Patch 8.2.0246 2015 Problem: MSVC: deprecation warnings with Ruby. 2016 Solution: Move _CRT_SECURE_NO_DEPRECATE to build file. (Ken Takata, 2017 closes #5622) 2018 Files: src/Make_mvc.mak, src/if_ruby.c, src/os_win32.h, src/vim.h, 2019 src/vimio.h 2020 2021 Patch 8.2.0247 2022 Problem: Misleading comment in NSIS installer script. 2023 Solution: Negate the meaning of the comment. (Ken Takata, closes #5627) 2024 Files: nsis/gvim.nsi 2025 2026 Patch 8.2.0248 2027 Problem: MS-Windows: dealing with deprecation is too complicated. 2028 Solution: Use io.h directly. Move _CRT_SECURE_NO_DEPRECATE to the build 2029 file. Suppress C4091 warning by setting "_WIN32_WINNT". (Ken 2030 Takata, closes #5626) 2031 Files: src/Make_mvc.mak, src/dosinst.h, src/vim.h, src/vimio.h, 2032 src/winclip.c, Filelist 2033 2034 Patch 8.2.0249 2035 Problem: MS-Windows: various warnings. 2036 Solution: Set the charset to utf-8. Add _WIN32_WINNT and _USING_V110_SDK71_. 2037 (Ken Takata, closes #5625) 2038 Files: src/GvimExt/Makefile, src/Make_mvc.mak 2039 2040 Patch 8.2.0250 2041 Problem: test_clear_search_pat() is unused. 2042 Solution: Remove the function. (Yegappan Lakshmanan, closes #5624) 2043 Files: runtime/doc/eval.txt, runtime/doc/testing.txt, 2044 runtime/doc/usr_41.txt, src/evalfunc.c, src/proto/regexp.pro, 2045 src/proto/search.pro, src/proto/testing.pro, src/regexp.c, 2046 src/search.c, src/testdir/test_writefile.vim, src/testing.c 2047 2048 Patch 8.2.0251 2049 Problem: A couple of function return types can be more specific. 2050 Solution: Use a better return type. (Ken Takata, closes #5629) 2051 Files: src/evalfunc.c, src/globals.h 2052 2053 Patch 8.2.0252 2054 Problem: Windows compiler warns for using size_t. 2055 Solution: Change to int. (Mike Williams) 2056 Files: src/vim9compile.c 2057 2058 Patch 8.2.0253 2059 Problem: Crash when using :disassemble without argument. (Dhiraj Mishra) 2060 Solution: Check for missing argument. (Dominique Pellé, closes #5635, 2061 closes #5637) 2062 Files: src/vim9execute.c, src/testdir/test_vim9_disassemble.vim, 2063 src/ex_cmds.h 2064 2065 Patch 8.2.0254 2066 Problem: Compiler warning for checking size_t to be negative. 2067 Solution: Only check for zero. (Zoltan Arpadffy) 2068 Files: src/vim9compile.c 2069 2070 Patch 8.2.0255 2071 Problem: VMS: missing files in build. 2072 Solution: Add the files. (Zoltan Arpadffy) 2073 Files: src/Make_vms.mms 2074 2075 Patch 8.2.0256 2076 Problem: Time and timer related code is spread out. 2077 Solution: Move time and timer related code to a new file. (Yegappan 2078 Lakshmanan, closes #5604) 2079 Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak, 2080 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md, 2081 src/evalfunc.c, src/ex_cmds.c, src/ex_cmds2.c, src/main.c, 2082 src/memline.c, src/misc1.c, src/misc2.c, src/proto.h, 2083 src/proto/ex_cmds.pro, src/proto/ex_cmds2.pro, src/proto/main.pro, 2084 src/proto/memline.pro, src/proto/misc1.pro, src/proto/misc2.pro, 2085 src/proto/time.pro, src/time.c 2086 2087 Patch 8.2.0257 2088 Problem: Cannot recognize a terminal in a popup window. 2089 Solution: Add the win_gettype() function. 2090 Files: runtime/doc/eval.txt, src/evalfunc.c, src/evalwindow.c, 2091 src/proto/evalwindow.pro, src/testdir/test_cmdline.vim, 2092 src/testdir/test_terminal.vim, 2093 src/testdir/dumps/Test_terminal_popup_1.dump 2094 2095 Patch 8.2.0258 2096 Problem: ModifyOtherKeys cannot be temporarily disabled. 2097 Solution: Add echoraw() with an example for modifyOtherKeys. 2098 Files: runtime/doc/eval.txt, src/evalfunc.c, 2099 src/testdir/test_functions.vim, 2100 src/testdir/dumps/Test_functions_echoraw.dump 2101 2102 Patch 8.2.0259 2103 Problem: Terminal in popup test sometimes fails. 2104 Solution: Clear the command line. 2105 Files: src/testdir/test_terminal.vim, 2106 src/testdir/dumps/Test_terminal_popup_1.dump 2107 2108 Patch 8.2.0260 2109 Problem: Several lines of code are duplicated. 2110 Solution: Move duplicated code to a function. (Yegappan Lakshmanan, 2111 closes #5330) 2112 Files: src/option.c, src/os_unix.c, src/os_win32.c, src/proto/term.pro, 2113 src/quickfix.c, src/regexp.c, src/regexp_bt.c, src/regexp_nfa.c, 2114 src/term.c 2115 2116 Patch 8.2.0261 2117 Problem: Some code not covered by tests. 2118 Solution: Add test cases. (Yegappan Lakshmanan, closes #5645) 2119 Files: src/testdir/test_buffer.vim, src/testdir/test_cmdline.vim, 2120 src/testdir/test_exists.vim, src/testdir/test_filechanged.vim, 2121 src/testdir/test_fileformat.vim, src/testdir/test_mapping.vim, 2122 src/testdir/test_marks.vim, src/testdir/test_normal.vim, 2123 src/testdir/test_plus_arg_edit.vim, src/testdir/test_quickfix.vim, 2124 src/testdir/test_tabpage.vim, src/testdir/test_visual.vim, 2125 src/testdir/test_window_cmd.vim, src/testdir/test_writefile.vim 2126 2127 Patch 8.2.0262 (after 8.2.0261) 2128 Problem: Fileformat test fails on MS-Windows. 2129 Solution: Set fileformat of buffer. 2130 Files: src/testdir/test_fileformat.vim 2131 2132 Patch 8.2.0263 2133 Problem: A few new Vim9 messages are not localized. 2134 Solution: Add the gettext wrapper. (Dominique Pellé, closes #5647) 2135 Files: src/vim9compile.c, src/vim9execute.c 2136 2137 Patch 8.2.0264 (after 8.2.0262) 2138 Problem: Fileformat test still fails on MS-Windows. 2139 Solution: Set fileformat of buffer in the right place. 2140 Files: src/testdir/test_fileformat.vim 2141 2142 Patch 8.2.0265 2143 Problem: "eval" after "if 0" doesn't check for following command. 2144 Solution: Add "eval" to list of commands that check for a following command. 2145 (closes #5640) 2146 Files: src/ex_docmd.c, src/testdir/test_expr.vim 2147 2148 Patch 8.2.0266 2149 Problem: Terminal in popup test sometimes fails on Mac. 2150 Solution: Add a short delay. 2151 Files: src/testdir/test_terminal.vim 2152 2153 Patch 8.2.0267 2154 Problem: No check for a following command when calling a function fails. 2155 Solution: Also check for a following command when inside a try block. 2156 (closes #5642) 2157 Files: src/userfunc.c, src/testdir/test_user_func.vim 2158 2159 Patch 8.2.0268 (after 8.2.0267) 2160 Problem: Trycatch test fails. 2161 Solution: When calling function fails only check for following command, do 2162 not give another error. 2163 Files: src/userfunc.c 2164 2165 Patch 8.2.0269 2166 Problem: Vim9: operator after list index does not work. (Yasuhiro 2167 Matsumoto) 2168 Solution: After indexing a list change the type to the list member type. 2169 (closes #5651) 2170 Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim 2171 2172 Patch 8.2.0270 2173 Problem: Some code not covered by tests. 2174 Solution: Add test cases. (Yegappan Lakshmanan, closes #5649) 2175 Files: src/testdir/test_autocmd.vim, src/testdir/test_buffer.vim, 2176 src/testdir/test_edit.vim, src/testdir/test_ex_mode.vim, 2177 src/testdir/test_excmd.vim, src/testdir/test_expand.vim, 2178 src/testdir/test_filetype.vim, src/testdir/test_findfile.vim, 2179 src/testdir/test_join.vim, src/testdir/test_move.vim, 2180 src/testdir/test_normal.vim, src/testdir/test_registers.vim, 2181 src/testdir/test_source.vim, src/testdir/test_tabpage.vim, 2182 src/testdir/test_tagjump.vim, src/testdir/test_vimscript.vim, 2183 src/testdir/test_visual.vim, src/testdir/test_window_cmd.vim, 2184 src/testdir/test_writefile.vim 2185 2186 Patch 8.2.0271 2187 Problem: The "num64" feature is available everywhere and building without 2188 it causes problems. 2189 Solution: Graduate the "num64" feature. (James McCoy, closes #5650) 2190 Files: src/evalfunc.c, src/feature.h, src/message.c, src/structs.h, 2191 src/testdir/test_expr.vim, src/testdir/test_largefile.vim, 2192 src/testdir/test_sort.vim, src/testdir/test_vimscript.vim, 2193 src/version.c 2194 2195 Patch 8.2.0272 2196 Problem: ":helptags ALL" gives error for directories without write 2197 permission. (Matěj Cepl) 2198 Solution: Ignore errors for ":helptags ALL". (Ken Takata, closes #5026, 2199 closes #5652) 2200 Files: src/ex_cmds.c, src/testdir/test_help.vim 2201 2202 Patch 8.2.0273 2203 Problem: MS-Windows uninstall may delete wrong batch file. 2204 Solution: Add specific marker in the generated batch file. (Ken Takata, 2205 closes #5654) 2206 Files: src/Make_mvc.mak, src/dosinst.c, src/dosinst.h, src/uninstall.c 2207 2208 Patch 8.2.0274 2209 Problem: Hang with combination of feedkeys(), Ex mode and :global. 2210 (Yegappan Lakshmanan) 2211 Solution: Add the pending_exmode_active flag. 2212 Files: src/ex_docmd.c, src/globals.h, src/getchar.c, 2213 src/testdir/test_ex_mode.vim 2214 2215 Patch 8.2.0275 2216 Problem: Some Ex code not covered by tests. 2217 Solution: Add test cases. (Yegappan Lakshmanan, closes #5659) 2218 Files: src/testdir/test_arglist.vim, src/testdir/test_autocmd.vim, 2219 src/testdir/test_excmd.vim, src/testdir/test_quickfix.vim, 2220 src/testdir/test_search.vim, src/testdir/test_swap.vim, 2221 src/testdir/test_window_cmd.vim 2222 2223 Patch 8.2.0276 2224 Problem: Vim9: not allowing space before ")" in function call is too 2225 restrictive. (Ben Jackson) 2226 Solution: Skip space before the ")". Adjust other space checks. 2227 Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim 2228 2229 Patch 8.2.0277 2230 Problem: Vim9: not all instructions covered by tests. 2231 Solution: Add more test cases. 2232 Files: src/testdir/test_vim9_disassemble.vim 2233 2234 Patch 8.2.0278 2235 Problem: Channel test is flaky on Mac. 2236 Solution: Reset variable before sending message. 2237 Files: src/testdir/test_channel.vim 2238 2239 Patch 8.2.0279 2240 Problem: Vim9: no test for deleted :def function. 2241 Solution: Add a test. Clear uf_cleared flag when redefining a function. 2242 Files: src/userfunc.c, src/testdir/test_vim9_script.vim 2243 2244 Patch 8.2.0280 2245 Problem: Vim9: throw in :def function not caught higher up. 2246 Solution: Set "need_rethrow". 2247 Files: src/vim9execute.c, src/testdir/test_vim9_script.vim 2248 2249 Patch 8.2.0281 2250 Problem: Two placed signs in the same line are not combined. E.g. in the 2251 terminal debugger a breakpoint and the PC cannot be both be 2252 displayed. 2253 Solution: Combine the sign column and line highlight attributes. 2254 Files: src/sign.c, src/testdir/test_signs.vim, 2255 src/testdir/dumps/Test_sign_cursor_3.dump, 2256 src/testdir/dumps/Test_sign_cursor_4.dump 2257 2258 Patch 8.2.0282 2259 Problem: Vim9: setting number option not tested. 2260 Solution: Add more tests. Fix assigning to global variable. 2261 Files: src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim, 2262 src/vim9execute.c 2263 2264 Patch 8.2.0283 2265 Problem: Vim9: failing to load script var not tested. 2266 Solution: Add more tests. Fix using s: in old script. 2267 Files: src/testdir/test_vim9_expr.vim, src/vim9compile.c, 2268 src/testdir/test_vim9_script.vim 2269 2270 Patch 8.2.0284 2271 Problem: Vim9: assignment test fails. 2272 Solution: Avoid duplicating "s:". 2273 Files: src/vim9compile.c 2274 2275 Patch 8.2.0285 2276 Problem: Unused error message. Cannot create s:var. 2277 Solution: Remove the error message. Make assignment to s:var work. 2278 Files: src/vim9compile.c, src/vim9execute.c, 2279 src/testdir/test_vim9_script.vim 2280 2281 Patch 8.2.0286 2282 Problem: Cannot use popup_close() for a terminal popup. 2283 Solution: Allow using popup_close(). (closes #5666) 2284 Files: src/popupwin.c, runtime/doc/popup.txt, 2285 src/testdir/test_terminal.vim, 2286 src/testdir/dumps/Test_terminal_popup_5.dump, 2287 src/testdir/dumps/Test_terminal_popup_6.dump 2288 2289 Patch 8.2.0287 2290 Problem: Vim9: return in try block not tested; catch with pattern not 2291 tested. 2292 Solution: Add tests. Make it work. 2293 Files: src/vim9execute.c, src/testdir/test_vim9_script.vim 2294 2295 Patch 8.2.0288 2296 Problem: Vim9: some float and blob operators not tested. 2297 Solution: Add float and blob tests. Fix addition. 2298 Files: src/testdir/test_vim9_expr.vim, src/vim9compile.c 2299 2300 Patch 8.2.0289 2301 Problem: Vim9: :echo did not clear the rest of the line. 2302 Solution: Call msg_clr_eos(). (Ken Takata, closes #5668) 2303 Files: src/vim9execute.c 2304 2305 Patch 8.2.0290 2306 Problem: Running individual test differs from all tests. 2307 Solution: Pass on environment variables. (Yee Cheng Chin, closes #5672) 2308 Files: src/testdir/Makefile, src/testdir/README.txt 2309 2310 Patch 8.2.0291 2311 Problem: Vim9: assigning [] to list<string> doesn't work. 2312 Solution: Use void for empty list and dict. (Ken Takata, closes #5669) 2313 Files: src/vim9compile.c, src/globals.h, src/testdir/test_vim9_script.vim 2314 2315 Patch 8.2.0292 2316 Problem: Vim9: CHECKNR and CHECKTYPE instructions not tested. 2317 Solution: Add tests. 2318 Files: src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim 2319 2320 Patch 8.2.0293 2321 Problem: Various Ex commands not sufficiently tested. 2322 Solution: Add more test cases. (Yegappan Lakshmanan, closes #5673) 2323 Files: src/testdir/test_arglist.vim, src/testdir/test_cmdline.vim, 2324 src/testdir/test_ex_mode.vim, src/testdir/test_excmd.vim, 2325 src/testdir/test_expand.vim, src/testdir/test_filetype.vim, 2326 src/testdir/test_filter_cmd.vim, src/testdir/test_global.vim, 2327 src/testdir/test_normal.vim, src/testdir/test_plus_arg_edit.vim, 2328 src/testdir/test_quickfix.vim, src/testdir/test_trycatch.vim, 2329 src/testdir/test_vimscript.vim 2330 2331 Patch 8.2.0294 2332 Problem: Cannot use Ex command that is also a function name. 2333 Solution: Recognize an Ex command by a colon prefix. 2334 Files: src/vim9compile.c, src/testdir/test_vim9_script.vim, 2335 runtime/doc/vim9.txt 2336 2337 Patch 8.2.0295 2338 Problem: Highlighting for :s wrong when using different separator. 2339 Solution: Use separate argument for search direction and separator. (Rob 2340 Pilling, closes #5665) 2341 Files: src/ex_docmd.c, src/ex_getln.c, src/gui.c, src/normal.c, 2342 src/proto/search.pro, src/quickfix.c, src/search.c, src/spell.c, 2343 src/tag.c, src/testdir/dumps/Test_incsearch_substitute_15.dump, 2344 src/testdir/test_search.vim 2345 2346 Patch 8.2.0296 2347 Problem: Mixing up "long long" and __int64 may cause problems. (John 2348 Marriott) 2349 Solution: Pass varnumber_T to vim_snprintf(). Add v:numbersize. 2350 Files: src/message.c, src/eval.c, src/fileio.c, src/json.c, src/ops.c, 2351 src/vim.h, src/structs.h, src/evalvars.c, runtime/doc/eval.txt, 2352 runtime/doc/various.txt, src/testdir/test_eval_stuff.vim 2353 2354 Patch 8.2.0297 2355 Problem: Compiler warnings for the Ruby interface. 2356 Solution: Undefine a few macros, fix initialization. (Ozaki Kiichi, 2357 closes #5677) 2358 Files: src/if_ruby.c 2359 2360 Patch 8.2.0298 2361 Problem: Vim9 script: cannot start command with a string constant. 2362 Solution: Recognize expression starting with '('. 2363 Files: src/ex_docmd.c, src/vim9compile.c, 2364 src/testdir/test_vim9_script.vim, runtime/doc/vim9.txt 2365 2366 Patch 8.2.0299 2367 Problem: Vim9: ISN_STORE with argument not tested. Some cases in tv2bool() 2368 not tested. 2369 Solution: Add tests. Add test_unknown() and test_void(). 2370 Files: src/testing.c, src/proto/testing.pro, src/evalfunc.c, 2371 src/testdir/test_vim9_disassemble.vim, 2372 src/testdir/test_vim9_expr.vim, runtime/doc/eval.txt, 2373 runtime/doc/testing.txt 2374 2375 Patch 8.2.0300 2376 Problem: Vim9: expression test fails without channel support. 2377 Solution: Add has('channel') check. 2378 Files: src/testdir/test_vim9_expr.vim 2379 2380 Patch 8.2.0301 2381 Problem: Insufficient testing for exception handling and the "attention" 2382 prompt. 2383 Solution: Add test cases. (Yegappan Lakshmanan, closes #5681) 2384 Files: src/testdir/test_swap.vim, src/testdir/test_trycatch.vim 2385 2386 Patch 8.2.0302 2387 Problem: Setting 'term' may cause error in TermChanged autocommand. 2388 Solution: Use aucmd_prepbuf() to switch to the buffer where the autocommand 2389 is to be executed. (closes #5682) 2390 Files: src/term.c, src/testdir/test_autocmd.vim 2391 2392 Patch 8.2.0303 2393 Problem: TermChanged test fails in the GUI. 2394 Solution: Skip the test when running the GUI. 2395 Files: src/testdir/test_autocmd.vim 2396 2397 Patch 8.2.0304 2398 Problem: Terminal test if failing on some systems. 2399 Solution: Wait for the job to finish. (James McCoy) 2400 Files: src/testdir/test_terminal.vim 2401 2402 Patch 8.2.0305 2403 Problem: Relativenumber test fails on some systems. (James McCoy) 2404 Solution: Clear the command line. 2405 Files: src/testdir/test_number.vim, 2406 src/testdir/dumps/Test_relnr_colors_2.dump, 2407 src/testdir/dumps/Test_relnr_colors_3.dump 2408 2409 Patch 8.2.0306 2410 Problem: Vim9: :substitute(pat(repl does not work in Vim9 script. 2411 Solution: Remember starting with a colon. (closes #5676) 2412 Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim 2413 2414 Patch 8.2.0307 2415 Problem: Python 3 vim.eval not well tested. 2416 Solution: Add a test. (Dominique Pellé, closes #5680) 2417 Files: src/testdir/test_python3.vim 2418 2419 Patch 8.2.0308 2420 Problem: 'showbreak' does not work for a very long line. (John Little) 2421 Solution: Check whether 'briopt' contains "sbr". (Ken Takata, closes #5523, 2422 closes #5684) 2423 Files: src/drawline.c, src/testdir/test_breakindent.vim 2424 2425 Patch 8.2.0309 2426 Problem: Window-local values have confusing name. 2427 Solution: Rename w_p_bri* to w_briopt_*. 2428 Files: src/structs.h, src/indent.c, src/drawline.c 2429 2430 Patch 8.2.0310 2431 Problem: Autocmd test fails on a slow system. 2432 Solution: Adjust the expectations. (James McCoy, closes #5685) 2433 Files: src/testdir/test_autocmd.vim 2434 2435 Patch 8.2.0311 2436 Problem: Vim9: insufficient script tests. 2437 Solution: Add tests. Free imports when re-using a script. 2438 Files: src/testdir/test_vim9_script.vim, src/scriptfile.c 2439 2440 Patch 8.2.0312 2441 Problem: Vim9: insufficient script tests. 2442 Solution: Add more tests. Make "import * as Name" work. 2443 Files: src/testdir/test_vim9_script.vim, src/vim9script.c, 2444 src/proto/vim9script.pro, src/vim9compile.c 2445 2446 Patch 8.2.0313 2447 Problem: Vim9: insufficient script tests. 2448 Solution: Add tests. Make import of alphanumeric name work. 2449 Files: src/testdir/test_vim9_script.vim, src/vim9script.c 2450 2451 Patch 8.2.0314 2452 Problem: Short name not set for terminal buffer. 2453 Solution: Set the short name. (closes #5687) 2454 Files: src/terminal.c, src/testdir/test_terminal.vim 2455 2456 Patch 8.2.0315 2457 Problem: Build failure on HP-UX system. 2458 Solution: Use LONG_LONG_MIN instead of LLONG_MIN. Add type casts for switch 2459 statement. (John Marriott) 2460 Files: src/structs.h, src/json.c 2461 2462 Patch 8.2.0316 2463 Problem: ex_getln.c code has insufficient test coverage. 2464 Solution: Add more tests. Fix a problem. (Yegappan Lakshmanan, closes #5693) 2465 Files: src/cmdhist.c, src/testdir/test_cmdline.vim, 2466 src/testdir/test_functions.vim, src/testdir/test_history.vim, 2467 src/testdir/test_menu.vim 2468 2469 Patch 8.2.0317 2470 Problem: MSVC: _CRT_SECURE_NO_DEPRECATE not defined on DEBUG build. 2471 Solution: Move where CFLAGS is updated. (Ken Takata, closes #5692) 2472 Files: src/Make_mvc.mak 2473 2474 Patch 8.2.0318 2475 Problem: Vim9: types not sufficiently tested. 2476 Solution: Add tests with more types. 2477 Files: src/globals.h, src/vim9compile.c, 2478 src/testdir/test_vim9_script.vim, src/testdir/test_vim9_expr.vim 2479 2480 Patch 8.2.0319 2481 Problem: File missing in distribution, comments outdated. 2482 Solution: Correct path of README file. Update comments. 2483 Files: Filelist, src/evalvars.c, src/register.c, src/if_python3.c 2484 2485 Patch 8.2.0320 2486 Problem: No Haiku support. 2487 Solution: Add support for Haiku. (Emir Sarı, closes #5605) 2488 Files: Filelist, runtime/doc/Makefile, runtime/doc/eval.txt, 2489 runtime/doc/gui.txt, runtime/doc/help.txt, 2490 runtime/doc/options.txt, runtime/doc/os_haiku.txt, 2491 runtime/doc/starting.txt, runtime/doc/tags, 2492 runtime/gvimrc_example.vim, runtime/vimrc_example.vim, 2493 src/INSTALL, src/Makefile, src/auto/configure, src/configure.ac, 2494 src/evalfunc.c, src/feature.h, src/fileio.c, src/globals.h, 2495 src/gui.c, src/gui.h, src/gui_haiku.cc, src/gui_haiku.h, 2496 src/mbyte.c, src/menu.c, src/misc1.c, src/mouse.c, src/option.h, 2497 src/os_haiku.h, src/os_haiku.rdef, src/os_unix.c, src/os_unix.h, 2498 src/osdef1.h.in, src/proto.h, src/proto/gui_haiku.pro, src/pty.c, 2499 src/screen.c, src/structs.h, src/term.c, src/version.c, src/vim.h 2500 2501 Patch 8.2.0321 2502 Problem: Vim9: ":execute" does not work yet. 2503 Solution: Add ISN_EXECUTE. (closes #5699) Also make :echo work with more 2504 than one argument. 2505 Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, 2506 src/testdir/test_vim9_disassemble.vim, 2507 src/testdir/test_vim9_script.vim 2508 2509 Patch 8.2.0322 2510 Problem: Vim9: error checks not tested. 2511 Solution: Add more test cases. Avoid error for function loaded later. 2512 Files: src/vim9compile.c, src/evalvars.c, src/testdir/test_vim9_script.vim 2513 2514 Patch 8.2.0323 2515 Problem: Vim9: calling a function that is defined later is slow. 2516 Solution: Once the function is found update the instruction so it can be 2517 called directly. 2518 Files: src/vim9execute.c, src/testdir/test_vim9_script.vim, 2519 src/testdir/test_vim9_disassemble.vim 2520 2521 Patch 8.2.0324 2522 Problem: Text property not updated correctly when inserting/deleting. 2523 Solution: Use the right column when deleting. Make zero-width text 2524 properties respect start_incl and end_incl. (Axel Forsman, 2525 closes #5696, closes #5679) 2526 Files: src/change.c, src/textprop.c, src/testdir/test_listener.vim, 2527 src/testdir/test_textprop.vim 2528 2529 Patch 8.2.0325 2530 Problem: Ex_getln.c code not covered by tests. 2531 Solution: Add a few more tests. (Yegappan Lakshmanan, closes #5702) 2532 Files: src/testdir/test_cmdline.vim, src/testdir/test_ex_mode.vim, 2533 src/testdir/test_functions.vim, src/testdir/test_history.vim, 2534 src/testdir/test_options.vim 2535 2536 Patch 8.2.0326 2537 Problem: Compiler warning for using uninitialized variable. (Yegappan 2538 Lakshmanan) 2539 Solution: Do not jump to failed but return. 2540 Files: src/vim9execute.c 2541 2542 Patch 8.2.0327 2543 Problem: Crash when opening and closing two popup terminal windows. 2544 Solution: Check that prevwin is valid. (closes #5707) 2545 Files: src/popupwin.c, src/testdir/test_terminal.vim 2546 2547 Patch 8.2.0328 2548 Problem: No redraw when leaving terminal-normal mode in a terminal popup 2549 window. 2550 Solution: Redraw the popup window. (closes #5708) 2551 Files: src/macros.h, src/vim.h, src/terminal.c, src/drawscreen.c, 2552 src/move.c, src/popupwin.c, src/testdir/test_terminal.vim, 2553 src/testdir/dumps/Test_terminal_popup_7.dump, 2554 src/testdir/dumps/Test_terminal_popup_8.dump 2555 2556 Patch 8.2.0329 2557 Problem: Popup filter converts 0x80 bytes. 2558 Solution: Keep 0x80 bytes as-is. (Ozaki Kiichi, closes #5706) 2559 Files: src/popupwin.c, src/testdir/test_popupwin.vim 2560 2561 Patch 8.2.0330 2562 Problem: Build error with popup window but without terminal. 2563 Solution: Add #ifdef. 2564 Files: src/popupwin.c 2565 2566 Patch 8.2.0331 2567 Problem: Internal error when using test_void() and test_unknown(). 2568 (Dominique Pellé) 2569 Solution: Give a normal error. 2570 Files: src/evalfunc.c, src/testdir/test_functions.vim, 2571 src/testdir/test_vimscript.vim 2572 2573 Patch 8.2.0332 2574 Problem: Some code in ex_getln.c not covered by tests. 2575 Solution: Add a few more tests. (Yegappan Lakshmanan, closes #5710) 2576 Files: src/testdir/test_arabic.vim, src/testdir/test_cmdline.vim 2577 2578 Patch 8.2.0333 2579 Problem: Terminal in popup test is flaky. 2580 Solution: Make sure redraw is done before opening the popup. 2581 Files: src/testdir/test_terminal.vim, 2582 src/testdir/dumps/Test_terminal_popup_1.dump 2583 2584 Patch 8.2.0334 2585 Problem: Abort called when using test_void(). (Dominique Pellé) 2586 Solution: Only give an error, don't abort. 2587 Files: src/message.c, src/proto/message.pro, src/evalfunc.c, 2588 src/eval.c, src/json.c, src/testdir/test_functions.vim 2589 2590 Patch 8.2.0335 2591 Problem: No completion for :disassemble. 2592 Solution: Make completion work. Also complete script-local functions if the 2593 name starts with "s:". 2594 Files: src/cmdexpand.c, src/testdir/test_cmdline.vim, 2595 runtime/doc/vim9.txt 2596 2597 Patch 8.2.0336 2598 Problem: Vim9: insufficient test coverage for compiling. 2599 Solution: Add more tests. 2600 Files: src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim, 2601 src/vim9.h, src/vim9compile.c, src/vim9execute.c 2602 2603 Patch 8.2.0337 2604 Problem: Build fails on a few systems. 2605 Solution: Use vim_snprintf() instead of snprintf(). 2606 Files: src/cmdexpand.c 2607 2608 Patch 8.2.0338 2609 Problem: Build failure without the channel feature. 2610 Solution: Add #ifdef 2611 Files: src/vim9compile.c 2612 2613 Patch 8.2.0339 2614 Problem: Vim9: function return type may depend on arguments. 2615 Solution: Instead of a fixed return type use a function to figure out the 2616 return type. 2617 Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9compile.c, 2618 src/evalbuffer.c, src/proto/evalbuffer.pro, 2619 src/testdir/test_vim9_script.vim 2620 2621 Patch 8.2.0340 2622 Problem: Vim9: function and partial types not tested. 2623 Solution: Support more for partial, add tests. 2624 Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, 2625 src/testdir/test_vim9_script.vim 2626 2627 Patch 8.2.0341 2628 Problem: Using ":for" in Vim9 script gives an error. 2629 Solution: Pass the LET_NO_COMMAND flag. (closes #5715) 2630 Files: src/eval.c, src/testdir/test_vim9_script.vim 2631 2632 Patch 8.2.0342 2633 Problem: Some code in ex_getln.c not covered by tests. 2634 Solution: Add more tests. (Yegappan Lakshmanan, closes #5717) 2635 Files: src/testdir/test_cmdline.vim, src/testdir/test_ex_mode.vim, 2636 src/testdir/test_history.vim, src/testdir/test_iminsert.vim 2637 2638 Patch 8.2.0343 2639 Problem: Vim9: using wrong instruction, limited test coverage. 2640 Solution: Use ISN_PUSHJOB. Add a few more tests. 2641 Files: src/vim9compile.c, src/vim9execute.c, 2642 src/testdir/test_vim9_script.vim, 2643 src/testdir/test_vim9_disassemble.vim 2644 2645 Patch 8.2.0344 2646 Problem: ":def" not skipped properly. 2647 Solution: Add CMD_def to list of commands the require evaluation even when 2648 not being executed. 2649 Files: src/ex_docmd.c 2650 2651 Patch 8.2.0345 2652 Problem: Compiler warning when building without the float feature. 2653 Solution: Add #ifdef. (John Marriott) 2654 Files: src/evalfunc.c 2655 2656 Patch 8.2.0346 2657 Problem: Vim9: finding common list type not tested. 2658 Solution: Add more tests. Fix listing function. Fix overwriting type. 2659 Files: src/vim9compile.c, src/userfunc.c, 2660 src/testdir/test_vim9_script.vim, src/testdir/runtest.vim, 2661 src/testdir/test_vim9_disassemble.vim 2662 2663 Patch 8.2.0347 2664 Problem: Various code not covered by tests. 2665 Solution: Add more test coverage. (Yegappan Lakshmanan, closes #5720) 2666 Files: src/testdir/gen_opt_test.vim, src/testdir/test86.in, 2667 src/testdir/test_cmdline.vim, src/testdir/test_digraph.vim, 2668 src/testdir/test_ex_mode.vim, src/testdir/test_history.vim 2669 2670 Patch 8.2.0348 2671 Problem: Vim9: not all code tested. 2672 Solution: Add a few more tests. fix using "b:" in literal dictionary. 2673 Files: src/testdir/test_vim9_expr.vim, src/vim9compile.c, 2674 src/proto/vim9compile.pro, src/testdir/test_vim9_script.vim 2675 2676 Patch 8.2.0349 2677 Problem: Vim9: constant expression not well tested. 2678 Solution: Add tests for "if" with constant expression. 2679 Files: src/testdir/test_vim9_script.vim 2680 2681 Patch 8.2.0350 2682 Problem: Vim9: expression tests don't use recognized constants. 2683 Solution: Recognize "true" and "false" as constants. Make skipping work for 2684 assignment and expression evaluation. 2685 Files: src/vim9compile.c 2686 2687 Patch 8.2.0351 2688 Problem: Terminal in popup test is still a bit flaky. 2689 Solution: Clear and redraw before opening the popup. 2690 Files: src/testdir/test_terminal.vim 2691 2692 Patch 8.2.0352 2693 Problem: FreeBSD: test for sourcing utf-8 is skipped. 2694 Solution: Run the matchadd_conceal test separately to avoid that setting 2695 'term' to "ansi" causes problems for other tests. (Ozaki Kiichi, 2696 closes #5721) 2697 Files: src/testdir/Make_all.mak, src/testdir/test_alot_utf8.vim, 2698 src/testdir/test_source_utf8.vim 2699 2700 Patch 8.2.0353 2701 Problem: Vim9: while loop not tested. 2702 Solution: Add test with "while", "break" and "continue" 2703 Files: src/testdir/test_vim9_script.vim 2704 2705 Patch 8.2.0354 2706 Problem: Python 3.9 does not define _Py_DEC_REFTOTAL. (Zdenek Dohnal) 2707 Solution: Remove it, it was only for debugging. 2708 Files: src/if_python3.c 2709 2710 Patch 8.2.0355 2711 Problem: Vim9: str_val is confusing, it's a number 2712 Solution: Rename to stnr_val. 2713 Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c 2714 2715 Patch 8.2.0356 2716 Problem: MS-Windows: feedkeys() with VIMDLL cannot handle CSI correctly. 2717 Solution: Modify mch_inchar() to encode CSI bytes. (Ozaki Kiichi, Ken 2718 Takata, closes #5726) 2719 Files: src/getchar.c, src/os_win32.c, src/testdir/test_popupwin.vim 2720 2721 Patch 8.2.0357 2722 Problem: Cannot delete a text property matching both id and type. (Axel 2723 Forsman) 2724 Solution: Add the "both" argument. 2725 Files: src/textprop.c, runtime/doc/textprop.txt, 2726 src/testdir/test_textprop.vim 2727 2728 Patch 8.2.0358 2729 Problem: Insufficient testing for indent.c. 2730 Solution: Add indent tests. (Yegappan Lakshmanan, closes #5736) 2731 Files: src/testdir/Make_all.mak, src/testdir/test_ex_mode.vim, 2732 src/testdir/test_expand_func.vim, src/testdir/test_indent.vim, 2733 src/testdir/test_lispwords.vim, src/testdir/test_smartindent.vim, 2734 src/testdir/test_vartabs.vim 2735 2736 Patch 8.2.0359 2737 Problem: popup_atcursor() may hang. (Yasuhiro Matsumoto) 2738 Solution: Take the decoration into account. (closes #5728) 2739 Files: src/popupwin.c, src/testdir/test_popupwin.vim 2740 2741 Patch 8.2.0360 2742 Problem: Yaml files are only recognized by the file extension. 2743 Solution: Check for a line starting with "%YAML". (Jason Franklin) 2744 Files: runtime/scripts.vim, src/testdir/test_filetype.vim 2745 2746 Patch 8.2.0361 2747 Problem: Internal error when using "0" for a callback. 2748 Solution: Give a normal error. (closes #5743) 2749 Files: src/evalvars.c, src/testdir/test_timers.vim 2750 2751 Patch 8.2.0362 2752 Problem: MS-Windows: channel test fails if grep is not available. 2753 Solution: Use another command. (Ken Takata, closes #5739) 2754 Files: src/testdir/test_channel.vim 2755 2756 Patch 8.2.0363 2757 Problem: Some Normal mode commands not tested. 2758 Solution: Add more tests. (Yegappan Lakshmanan, closes #5746) 2759 Files: src/testdir/test_cindent.vim, src/testdir/test_cmdline.vim, 2760 src/testdir/test_edit.vim, src/testdir/test_indent.vim, 2761 src/testdir/test_normal.vim, src/testdir/test_prompt_buffer.vim, 2762 src/testdir/test_virtualedit.vim, src/testdir/test_visual.vim 2763 2764 Patch 8.2.0364 2765 Problem: Printf test failing on Haiku. 2766 Solution: Make a difference between int and short. (Dominique Pellé, 2767 closes #5749) 2768 Files: src/message.c 2769 2770 Patch 8.2.0365 2771 Problem: Tag kind can't be a multibyte character. (Marcin Szamotulski) 2772 Solution: Recognize multibyte character. (closes #5724) 2773 Files: src/tag.c, src/testdir/test_taglist.vim 2774 2775 Patch 8.2.0366 2776 Problem: Hardcopy command not tested enough. 2777 Solution: Add tests for printing. (Dominique Pellé, closes #5748) 2778 Files: src/testdir/test_hardcopy.vim 2779 2780 Patch 8.2.0367 2781 Problem: Can use :pedit in a popup window. 2782 Solution: Disallow it. 2783 Files: src/ex_docmd.c, src/testdir/test_popupwin.vim 2784 2785 Patch 8.2.0368 2786 Problem: Vim9: import that redefines local variable does not fail. 2787 Solution: Check for already defined symbols. 2788 Files: src/vim9script.c, src/proto/vim9script.pro, src/vim9compile.c, 2789 src/proto/vim9compile.pro, src/testdir/test_vim9_script.vim 2790 2791 Patch 8.2.0369 2792 Problem: Various Normal mode commands not fully tested. 2793 Solution: Add more tests. (Yegappan Lakshmanan, closes #5751) 2794 Files: src/testdir/test_arglist.vim, src/testdir/test_changelist.vim, 2795 src/testdir/test_charsearch.vim, src/testdir/test_cmdline.vim, 2796 src/testdir/test_edit.vim, src/testdir/test_ex_mode.vim, 2797 src/testdir/test_excmd.vim, src/testdir/test_gf.vim, 2798 src/testdir/test_iminsert.vim, src/testdir/test_increment.vim, 2799 src/testdir/test_marks.vim, src/testdir/test_normal.vim, 2800 src/testdir/test_prompt_buffer.vim, src/testdir/test_put.vim, 2801 src/testdir/test_registers.vim, src/testdir/test_tagjump.vim, 2802 src/testdir/test_visual.vim 2803 2804 Patch 8.2.0370 2805 Problem: The typebuf_was_filled flag is sometimes not reset, which may 2806 cause a hang. 2807 Solution: Make sure typebuf_was_filled is reset when the typeahead buffer is 2808 empty. 2809 Files: src/edit.c, src/getchar.c, 2810 2811 Patch 8.2.0371 2812 Problem: Crash with combination of terminal popup and autocmd. 2813 Solution: Disallow closing a popup that is the current window. Add a check 2814 that the current buffer is valid. (closes #5754) 2815 Files: src/macros.h, src/buffer.c, src/popupwin.c, src/terminal.c, 2816 src/testdir/test_terminal.vim 2817 2818 Patch 8.2.0372 2819 Problem: Prop_find() may not find text property at start of the line. 2820 Solution: Adjust the loop to find properties. (Axel Forsman, closes #5761, 2821 closes #5663) 2822 Files: src/textprop.c, src/testdir/test_textprop.vim 2823 2824 Patch 8.2.0373 2825 Problem: Type of term_sendkeys() is unknown. 2826 Solution: Just return zero. (closes #5762) 2827 Files: src/terminal.c, src/testdir/test_terminal.vim 2828 2829 Patch 8.2.0374 2830 Problem: Using wrong printf directive for jump location. 2831 Solution: Change "%lld" to "%d". (James McCoy, closes #5773) 2832 Files: src/vim9execute.c 2833 2834 Patch 8.2.0375 2835 Problem: Coverity warning for not using return value. 2836 Solution: Move error message to separate function. 2837 Files: src/popupwin.c 2838 2839 Patch 8.2.0376 2840 Problem: Nasty callback test fails on some systems. 2841 Solution: Increase the sleep time. 2842 Files: src/testdir/test_terminal.vim 2843 2844 Patch 8.2.0377 2845 Problem: No CI test for a big-endian system. 2846 Solution: Test with s390x. (James McCoy, closes #5772) 2847 Files: .travis.yml 2848 2849 Patch 8.2.0378 2850 Problem: prop_find() does not find all props. 2851 Solution: Check being in the start line. (Axel Forsman, closes #5776) 2852 Files: src/textprop.c, src/testdir/test_textprop.vim 2853 2854 Patch 8.2.0379 2855 Problem: Gcc warns for ambiguous else. 2856 Solution: Add braces. (Dominique Pellé, closes #5778) 2857 Files: src/textprop.c 2858 2859 Patch 8.2.0380 2860 Problem: Tiny popup when creating a terminal popup without minwidth. 2861 Solution: Use a default minimum size of 5 lines of 20 characters. 2862 Files: src/popupwin.c, src/testdir/test_terminal.vim, 2863 src/testdir/dumps/Test_terminal_popup_m1.dump 2864 2865 Patch 8.2.0381 2866 Problem: Using freed memory with :lvimgrep and autocommand. (extracted from 2867 POC by Dominique Pellé) 2868 Solution: Avoid deleting a dummy buffer used in a window. (closes #5777) 2869 Files: src/quickfix.c, src/testdir/test_quickfix.vim 2870 2871 Patch 8.2.0382 2872 Problem: Some tests fail when run under valgrind. 2873 Solution: Increase timeouts. 2874 Files: src/testdir/test_autocmd.vim, src/testdir/test_debugger.vim, 2875 src/testdir/test_channel.vim, src/testdir/test_ins_complete.vim, 2876 src/testdir/test_terminal.vim, 2877 src/testdir/dumps/Test_terminal_popup_1.dump, 2878 src/testdir/dumps/Test_terminal_popup_2.dump, 2879 src/testdir/dumps/Test_terminal_popup_3.dump, 2880 src/testdir/dumps/Test_terminal_popup_5.dump, 2881 src/testdir/dumps/Test_terminal_popup_6.dump, 2882 src/testdir/dumps/Test_terminal_popup_7.dump, 2883 src/testdir/dumps/Test_terminal_popup_8.dump, 2884 src/testdir/dumps/Test_terminal_popup_m1.dump 2885 2886 Patch 8.2.0383 2887 Problem: Wrong feature check causes test not to be run. 2888 Solution: Use CheckFunction instead of CheckFeature. (Ozaki Kiichi, 2889 closes #5781) 2890 Files: src/testdir/test_channel.vim 2891 2892 Patch 8.2.0384 2893 Problem: Travis CI has warnings. 2894 Solution: Avoid warnings, clean up the config. (Ozaki Kiichi, closes #5779) 2895 Files: .travis.yml 2896 2897 Patch 8.2.0385 2898 Problem: Menu functionality insufficiently tested. 2899 Solution: Add tests. Add menu_info(). (Yegappan Lakshmanan, closes #5760) 2900 Files: runtime/doc/eval.txt, runtime/doc/gui.txt, runtime/doc/usr_41.txt, 2901 src/evalfunc.c, src/menu.c, src/proto/menu.pro, 2902 src/testdir/test_menu.vim, src/testdir/test_popup.vim, 2903 src/testdir/test_termcodes.vim 2904 2905 Patch 8.2.0386 (after 8.2.0385) 2906 Problem: Part from unfinished patch got included. 2907 Solution: Undo that part. 2908 Files: src/evalfunc.c 2909 2910 Patch 8.2.0387 2911 Problem: Error for possible NULL argument to qsort(). 2912 Solution: Don't call qsort() when there is nothing to sort. (Dominique 2913 Pellé, closes #5780) 2914 Files: src/spellsuggest.c 2915 2916 Patch 8.2.0388 2917 Problem: Printmbcharset option not tested. 2918 Solution: Add a test. Enable PostScript for AppVeyor build. (Dominique 2919 Pellé, closes #5783) 2920 Files: appveyor.yml, src/testdir/test_hardcopy.vim 2921 2922 Patch 8.2.0389 2923 Problem: Delayed redraw when shifting text from Insert mode. 2924 Solution: Use msg_attr_keep() instead of msg(). (closes #5782) 2925 Files: src/ops.c 2926 2927 Patch 8.2.0390 2928 Problem: Terminal postponed scrollback test is flaky. 2929 Solution: Add delay in between sending keys. Rename dump files. 2930 Files: src/testdir/test_terminal.vim, 2931 src/testdir/dumps/Test_terminal_01.dump, 2932 src/testdir/dumps/Test_terminal_02.dump, 2933 src/testdir/dumps/Test_terminal_03.dump, 2934 src/testdir/dumps/Test_terminal_scrollback_1.dump, 2935 src/testdir/dumps/Test_terminal_scrollback_2.dump, 2936 src/testdir/dumps/Test_terminal_scrollback_3.dump 2937 2938 Patch 8.2.0391 (after 8.2.0377) 2939 Problem: CI test coverage dropped. 2940 Solution: Set $DISPLAY also for non-GUI builds. (James McCoy, closes #5788) 2941 Files: .travis.yml 2942 2943 Patch 8.2.0392 2944 Problem: Coverity warns for using array index out of range. 2945 Solution: Add extra "if" to avoid warning. 2946 Files: src/menu.c 2947 2948 Patch 8.2.0393 2949 Problem: Coverity warns for not using return value. 2950 Solution: Add (void). 2951 Files: src/popupmenu.c 2952 2953 Patch 8.2.0394 2954 Problem: Coverity complains about using NULL pointer. 2955 Solution: Use empty string when option value is NULL. 2956 Files: src/optionstr.c 2957 2958 Patch 8.2.0395 2959 Problem: Build fails with FEAT_EVAL but without FEAT_MENU. 2960 Solution: Add #ifdef. (John Marriott) 2961 Files: src/evalfunc.c 2962 2963 Patch 8.2.0396 2964 Problem: Cmdexpand.c insufficiently tested. 2965 Solution: Add more tests. (Yegappan Lakshmanan, closes #5789) 2966 Files: src/testdir/test_cmdline.vim, src/testdir/test_taglist.vim, 2967 src/testdir/test_terminal.vim, src/testdir/test_usercommands.vim 2968 2969 Patch 8.2.0397 2970 Problem: Delayed screen update when using undo from Insert mode. 2971 Solution: Update w_topline and cursor shape before sleeping. (closes #5790) 2972 Files: src/normal.c 2973 2974 Patch 8.2.0398 2975 Problem: Profile test fails when two functions take same time. 2976 Solution: Add a short sleep in once function. (closes #5797) 2977 Files: src/testdir/test_profile.vim 2978 2979 Patch 8.2.0399 2980 Problem: Various memory leaks. 2981 Solution: Avoid the leaks. (Ozaki Kiichi, closes #5803) 2982 Files: src/ex_docmd.c, src/ex_getln.c, src/menu.c, src/message.c, 2983 src/scriptfile.c, src/userfunc.c 2984 2985 Patch 8.2.0400 2986 Problem: Not all tests using a terminal are in the list of flaky tests. 2987 Solution: Introduce the test_is_flaky flag. 2988 Files: src/testdir/runtest.vim, src/testdir/term_util.vim, 2989 src/testdir/screendump.vim, src/testdir/test_autocmd.vim 2990 2991 Patch 8.2.0401 2992 Problem: Not enough test coverage for evalvars.c. 2993 Solution: Add more tests. (Yegappan Lakshmanan, closes #5804) 2994 Files: src/testdir/test_cmdline.vim, src/testdir/test_const.vim, 2995 src/testdir/test_diffmode.vim, src/testdir/test_excmd.vim, 2996 src/testdir/test_functions.vim, src/testdir/test_let.vim, 2997 src/testdir/test_listdict.vim, src/testdir/test_spell.vim, 2998 src/testdir/test_unlet.vim, src/testdir/test_user_func.vim, 2999 src/testdir/test_vimscript.vim 3000 3001 Patch 8.2.0402 (after 8.2.0401) 3002 Problem: Setting local instead of global flag. 3003 Solution: Prepend "g:" to "test_is_flaky". 3004 Files: src/testdir/term_util.vim, src/testdir/screendump.vim, 3005 src/testdir/test_autocmd.vim 3006 3007 Patch 8.2.0403 3008 Problem: When 'buftype' is "nofile" there is no overwrite check. 3009 Solution: Also check for existing file when 'buftype' is set. 3010 (closes #5807) 3011 Files: src/ex_cmds.c, src/testdir/test_options.vim 3012 3013 Patch 8.2.0404 3014 Problem: Writefile() error does not give a hint. 3015 Solution: Add remark about first argument. 3016 Files: src/filepath.c, src/testdir/test_writefile.vim 3017 3018 Patch 8.2.0405 3019 Problem: MSVC: build fails with some combination of features. 3020 Solution: Enable CHANNEL if TERMINAL is enabled. (Mike Williams) 3021 Files: src/Make_mvc.mak 3022 3023 Patch 8.2.0406 3024 Problem: FileReadCmd event not well tested. 3025 Solution: Add a test. 3026 Files: src/testdir/test_autocmd.vim 3027 3028 Patch 8.2.0407 3029 Problem: No early check if :find and :sfind have an argument. 3030 Solution: Add EX_NEEDARG. 3031 Files: src/ex_cmds.h, src/testdir/test_findfile.vim, 3032 src/testdir/test_find_complete.vim 3033 3034 Patch 8.2.0408 3035 Problem: Delete() commented out for testing. 3036 Solution: Undo commenting-out. 3037 Files: src/testdir/test_vim9_disassemble.vim 3038 3039 Patch 8.2.0409 3040 Problem: Search test leaves file behind. 3041 Solution: Delete the file. Also use Check commands. 3042 Files: src/testdir/test_search.vim 3043 3044 Patch 8.2.0410 3045 Problem: Channel test fails too often on slow Mac. 3046 Solution: Increase waiting time to 10 seconds. 3047 Files: src/testdir/test_channel.vim 3048 3049 Patch 8.2.0411 3050 Problem: Mac: breakcheck is using a value from the stone ages. 3051 Solution: Delete BREAKCHECK_SKIP from the Mac header file. (Ben Jackson) 3052 Files: src/os_mac.h 3053 3054 Patch 8.2.0412 3055 Problem: MS-Windows: cannot use vimtutor from the start menu. 3056 Solution: Better check for writable directory. Use the right path for the 3057 executable. (Wu Yongwei, closes #5774, closes #5756) 3058 Files: vimtutor.bat 3059 3060 Patch 8.2.0413 3061 Problem: Buffer menu does not handle special buffers properly. 3062 Solution: Keep a dictionary with buffer names to reliably keep track of 3063 entries. 3064 Also trigger BufFilePre and BufFilePost for command-line and 3065 terminal buffers when the name changes. 3066 Files: src/testdir/test_alot.vim, src/testdir/Make_all.mak, 3067 runtime/menu.vim, src/ex_getln.c, src/terminal.c, 3068 src/testdir/test_menu.vim 3069 3070 Patch 8.2.0414 3071 Problem: Channel connect_waittime() test is flaky. 3072 Solution: Set the test_is_flaky flag. Use test_is_flaky for more tests. 3073 Files: src/testdir/test_channel.vim, src/testdir/test_terminal.vim, 3074 src/testdir/runtest.vim 3075 3076 Patch 8.2.0415 3077 Problem: Bsdl filetype is not detected. 3078 Solution: Add an entry in the filetype list. (Daniel Kho, closes #5810) 3079 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 3080 3081 Patch 8.2.0416 3082 Problem: Test leaves file behind. 3083 Solution: Delete the file. 3084 Files: src/testdir/test_indent.vim 3085 3086 Patch 8.2.0417 3087 Problem: Travis CI config can be improved. 3088 Solution: Remove COVERAGE variable. Add load-snd-dummy script. add "-i NONE" 3089 to avoid messages about viminfo. (Ozaki Kiichi, closes #5813) 3090 Files: .travis.yml, ci/load-snd-dummy.sh 3091 3092 Patch 8.2.0418 3093 Problem: Code in eval.c not sufficiently covered by tests. 3094 Solution: Add more tests. (Yegappan Lakshmanan, closes #5815) 3095 Files: src/testdir/test_blob.vim, src/testdir/test_channel.vim, 3096 src/testdir/test_cmdline.vim, src/testdir/test_eval_stuff.vim, 3097 src/testdir/test_expr.vim, src/testdir/test_functions.vim, 3098 src/testdir/test_job_fails.vim, src/testdir/test_lambda.vim, 3099 src/testdir/test_let.vim, src/testdir/test_listdict.vim, 3100 src/testdir/test_marks.vim, src/testdir/test_method.vim, 3101 src/testdir/test_normal.vim, src/testdir/test_unlet.vim, 3102 src/testdir/test_usercommands.vim, src/testdir/test_vimscript.vim, 3103 src/testdir/test_window_cmd.vim 3104 3105 Patch 8.2.0419 3106 Problem: Various memory leaks in Vim9 script code. 3107 Solution: Fix the leaks. (Ozaki Kiichi, closes #5814) 3108 Files: src/proto/vim9compile.pro, src/scriptfile.c, src/structs.h, 3109 src/testdir/test_vim9_script.vim, src/vim9.h, src/vim9compile.c, 3110 src/vim9execute.c, src/vim9script.c 3111 3112 Patch 8.2.0420 3113 Problem: Vim9: cannot interrupt a loop with CTRL-C. 3114 Solution: Check for CTRL-C once in a while. Doesn't fully work yet. 3115 Files: src/misc1.c, src/proto/misc1.pro, 3116 src/testdir/test_vim9_script.vim 3117 3118 Patch 8.2.0421 3119 Problem: Interrupting with CTRL-C does not always work. 3120 Solution: Recognize CTRL-C while modifyOtherKeys is set. 3121 Files: src/ui.c, src/testdir/test_vim9_script.vim, src/evalfunc.c 3122 3123 Patch 8.2.0422 3124 Problem: Crash when passing popup window to win_splitmove(). (john Devin) 3125 Solution: Disallow moving a popup window. (closes #5816) 3126 Files: src/testdir/test_popupwin.vim, src/evalwindow.c 3127 3128 Patch 8.2.0423 3129 Problem: In some environments a few tests are expected to fail. 3130 Solution: Add $TEST_MAY_FAIL to list tests that should not cause make to 3131 fail. 3132 Files: src/testdir/runtest.vim 3133 3134 Patch 8.2.0424 3135 Problem: Checking for wrong return value. (Tom) 3136 Solution: Invert the check and fix the test. 3137 Files: src/vim9execute.c, src/testdir/test_vim9_script.vim 3138 3139 Patch 8.2.0425 3140 Problem: Code for modeless selection not sufficiently tested. 3141 Solution: Add tests. Move mouse code functionality to a common script file. 3142 (Yegappan Lakshmanan, closes #5821) 3143 Files: src/testdir/Make_all.mak, src/testdir/gen_opt_test.vim, 3144 src/testdir/mouse.vim, src/testdir/test_edit.vim, 3145 src/testdir/test_global.vim, src/testdir/test_modeless.vim, 3146 src/testdir/test_normal.vim, src/testdir/test_selectmode.vim, 3147 src/testdir/test_termcodes.vim, src/testdir/test_visual.vim, 3148 src/ui.c 3149 3150 Patch 8.2.0426 3151 Problem: Some errors were not tested for. 3152 Solution: Add tests. (Dominique Pellé, closes #5824) 3153 Files: src/testdir/test_buffer.vim, src/testdir/test_options.vim, 3154 src/testdir/test_tcl.vim, src/testdir/test_terminal.vim, 3155 src/testdir/test_window_cmd.vim 3156 3157 Patch 8.2.0427 3158 Problem: It is not possible to check for a typo in a feature name. 3159 Solution: Add an extra argument to has(). 3160 Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/check.vim, 3161 src/testdir/test_functions.vim 3162 3163 Patch 8.2.0428 3164 Problem: Buffer name may leak. 3165 Solution: Free the buffer name before overwriting it. 3166 Files: src/terminal.c 3167 3168 Patch 8.2.0429 3169 Problem: No warning when test checks for option that never exists. 3170 Solution: In tests check that the option can exist. 3171 Files: src/testdir/check.vim 3172 3173 Patch 8.2.0430 3174 Problem: Window creation failure not properly tested. 3175 Solution: Improve the test. (Yegappan Lakshmanan, closes #5826) 3176 Files: src/testdir/test_cmdline.vim, src/testdir/test_window_cmd.vim 3177 3178 Patch 8.2.0431 3179 Problem: Some compilers don't support using \e for Esc. (Yegappan 3180 Lakshmanan) 3181 Solution: use \033 instead. 3182 Files: src/ui.c 3183 3184 Patch 8.2.0432 3185 Problem: A few tests fail in a huge terminal. 3186 Solution: Make the tests pass. (Dominique Pellé, closes #5829) 3187 Files: src/testdir/test_autocmd.vim, src/testdir/test_options.vim, 3188 src/testdir/test_termcodes.vim, src/testdir/test_terminal.vim, 3189 src/testdir/test_window_cmd.vim 3190 3191 Patch 8.2.0433 3192 Problem: INT signal not properly tested. 3193 Solution: Add a test. Also clean up some unnecessary lines. (Dominique 3194 Pellé, closes #5828) 3195 Files: src/testdir/test_display.vim, src/testdir/test_ex_mode.vim, 3196 src/testdir/test_excmd.vim, src/testdir/test_messages.vim, 3197 src/testdir/test_signals.vim 3198 3199 Patch 8.2.0434 3200 Problem: MS-Windows with VTP: Normal color not working. 3201 Solution: After changing the Normal color update the VTP console color. 3202 (Nobuhiro Takasaki, closes #5836) 3203 Files: src/highlight.c 3204 3205 Patch 8.2.0435 3206 Problem: Channel contents might be freed twice. 3207 Solution: Call either channel_free_channel() or channel_free(), not both. 3208 (Nobuhiro Takasaki, closes #5835) 3209 Files: src/channel.c 3210 3211 Patch 8.2.0436 3212 Problem: No warnings for incorrect printf arguments. 3213 Solution: Fix attribute in declaration. Fix uncovered mistakes. (Dominique 3214 Pellé, closes #5834) 3215 Files: src/proto.h, src/eval.c, src/ops.c, src/spellfile.c, 3216 src/vim9compile.c, src/vim9execute.c, src/viminfo.c, src/gui.c 3217 3218 Patch 8.2.0437 3219 Problem: MS-Windows installer contains old stuff. 3220 Solution: Rely on Windows NT. (Ken Takata, closes #5832) 3221 Files: src/dosinst.c 3222 3223 Patch 8.2.0438 3224 Problem: Terminal noblock test is very flaky on BSD. 3225 Solution: Change WaitFor() to WaitForAssert() to be able to see why it 3226 failed. Add a short wait in between sending keys. 3227 Files: src/testdir/test_terminal.vim 3228 3229 Patch 8.2.0439 3230 Problem: :disassemble has minor flaws. 3231 Solution: Format the code. Use (int) instead of (char) for %c. 3232 (also by James McCoy, closes #5831) 3233 Files: src/vim9execute.c 3234 3235 Patch 8.2.0440 3236 Problem: Terminal noblock test is still very flaky on BSD. 3237 Solution: Increase the waiting time. 3238 Files: src/testdir/test_terminal.vim 3239 3240 Patch 8.2.0441 3241 Problem: Terminal noblock test is still failing on BSD. 3242 Solution: Reduce the amount of text. 3243 Files: src/testdir/test_terminal.vim 3244 3245 Patch 8.2.0442 3246 Problem: Channel contents might be used after being freed. 3247 Solution: Reset the job channel before freeing the channel. 3248 Files: src/channel.c 3249 3250 Patch 8.2.0443 3251 Problem: Clipboard code is spread out. 3252 Solution: Move clipboard code to its own file. (Yegappan Lakshmanan, 3253 closes #5827) 3254 Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak, 3255 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md, 3256 src/clipboard.c, src/ops.c, src/proto.h, src/proto/clipboard.pro, 3257 src/proto/ops.pro, src/proto/register.pro, src/proto/ui.pro, 3258 src/register.c, src/ui.c 3259 3260 Patch 8.2.0444 3261 Problem: Swap file test fails on some systems. 3262 Solution: Preserve the swap file. Send NL terminated keys. 3263 Files: src/testdir/test_swap.vim 3264 3265 Patch 8.2.0445 3266 Problem: Png and xpm files not in MS-Windows zip file. 3267 Solution: Move files to shared between Unix and Windows target. 3268 Files: Filelist 3269 3270 Patch 8.2.0446 3271 Problem: Listener with undo of deleting all lines not tested. 3272 Solution: Add a test. 3273 Files: src/testdir/test_listener.vim 3274 3275 Patch 8.2.0447 3276 Problem: Terminal scroll tests fails on some systems. 3277 Solution: Remove the fixed 100msec wait for Win32. Add a loop to wait until 3278 scrolling has finished. (James McCoy, closes #5842) 3279 Files: src/testdir/test_terminal.vim 3280 3281 Patch 8.2.0448 3282 Problem: Various functions not properly tested. 3283 Solution: Add more tests, especially for failures. (Yegappan Lakshmanan, 3284 closes #5843) 3285 Files: runtime/doc/eval.txt, src/testdir/test_blob.vim, 3286 src/testdir/test_breakindent.vim, src/testdir/test_charsearch.vim, 3287 src/testdir/test_clientserver.vim, src/testdir/test_cmdline.vim, 3288 src/testdir/test_exists.vim, src/testdir/test_expand_func.vim, 3289 src/testdir/test_expr.vim, src/testdir/test_file_perm.vim, 3290 src/testdir/test_functions.vim, src/testdir/test_gui.vim, 3291 src/testdir/test_listdict.vim, src/testdir/test_marks.vim, 3292 src/testdir/test_partial.vim, src/testdir/test_registers.vim, 3293 src/testdir/test_search.vim, src/testdir/test_spell.vim, 3294 src/testdir/test_substitute.vim, src/testdir/test_syn_attr.vim, 3295 src/testdir/test_syntax.vim, src/testdir/test_taglist.vim, 3296 src/testdir/test_utf8.vim, src/testdir/test_vartabs.vim, 3297 src/testdir/test_window_cmd.vim 3298 3299 Patch 8.2.0449 3300 Problem: Vim9: crash if return type is invalid. (Yegappan Lakshmanan) 3301 Solution: Always return some type, not NULL. 3302 Files: src/vim9compile.c, src/testdir/test_vim9_script.vim 3303 3304 Patch 8.2.0450 3305 Problem: Not enough testing for restricted mode and function calls. 3306 Solution: Add more tests. (Yegappan Lakshmanan, closes #5847) 3307 Files: src/testdir/test_method.vim, src/testdir/test_restricted.vim, 3308 src/testdir/test_vim9_script.vim 3309 3310 Patch 8.2.0451 3311 Problem: Win32: double-width character displayed incorrectly. 3312 Solution: First move the cursor to the first column. (Nobuhiro Takasaki, 3313 closes #5848) 3314 Files: src/os_win32.c 3315 3316 Patch 8.2.0452 3317 Problem: channel_parse_messages() fails when called recursively. 3318 Solution: Return for a recursive call. (closes #5835) 3319 Files: src/channel.c 3320 3321 Patch 8.2.0453 3322 Problem: Trailing space in job_start() command causes empty argument. 3323 Solution: Ignore trailing space. (closes #5851) 3324 Files: src/misc2.c, src/testdir/test_channel.vim 3325 3326 Patch 8.2.0454 3327 Problem: Some tests fail when the system is slow. 3328 Solution: Make the run number global, use in the test to increase the 3329 waiting time. (closes #5841) 3330 Files: src/testdir/runtest.vim, src/testdir/test_functions.vim 3331 3332 Patch 8.2.0455 3333 Problem: Cannot set the highlight group for a specific terminal. 3334 Solution: Add the "highlight" option to term_start(). (closes #5818) 3335 Files: src/terminal.c, src/structs.h, src/channel.c, 3336 src/testdir/test_terminal.vim, runtime/doc/terminal.txt, 3337 src/testdir/dumps/Test_terminal_popup_Terminal.dump, 3338 src/testdir/dumps/Test_terminal_popup_MyTermCol.dump 3339 3340 Patch 8.2.0456 3341 Problem: Test_confirm_cmd is flaky. 3342 Solution: Add a term_wait() call. (closes #5854) 3343 Files: src/testdir/test_excmd.vim 3344 3345 Patch 8.2.0457 3346 Problem: Test_quotestar() often fails when run under valgrind. 3347 Solution: Wait longer for the GUI to start. 3348 Files: src/testdir/test_quotestar.vim 3349 3350 Patch 8.2.0458 3351 Problem: Missing feature check in test function. 3352 Solution: Add check commands. 3353 Files: src/testdir/test_excmd.vim 3354 3355 Patch 8.2.0459 3356 Problem: Cannot check if a function name is correct. 3357 Solution: Add "?funcname" to exists(). 3358 Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_exists.vim, 3359 src/testdir/check.vim 3360 3361 Patch 8.2.0460 (after 8.2.0459) 3362 Problem: Build failure because of wrong feature name. 3363 Solution: Correct feature name. 3364 Files: src/evalfunc.c 3365 3366 Patch 8.2.0461 3367 Problem: Confirm test fails on amd64 system. (Alimar Riesebieter) 3368 Solution: Add an extra WaitForAssert(). (Dominique Pellé) 3369 Files: src/testdir/test_excmd.vim 3370 3371 Patch 8.2.0462 3372 Problem: Previewwindow test fails on some systems. (James McCoy) 3373 Solution: Wait a bit after sending the "o". (closes #5849) 3374 Files: src/testdir/test_popup.vim, 3375 src/testdir/dumps/Test_popup_and_previewwindow_01.dump 3376 3377 Patch 8.2.0463 3378 Problem: Build error without float and channel feature. (John Marriott) 3379 Solution: Define return types always. 3380 Files: src/globals.h, src/evalfunc.c 3381 3382 Patch 8.2.0464 3383 Problem: Typos and other small problems. 3384 Solution: Fix the typos. Add missing files to the distribution. 3385 Files: Filelist, src/buffer.c, src/drawline.c, src/gui_gtk_x11.c, 3386 src/os_unixx.h, src/proto/popupwin.pro 3387 3388 Patch 8.2.0465 3389 Problem: Vim9: dead code and wrong return type. 3390 Solution: Remove dead code. Fix return type. Add more tests. 3391 Files: src/vim9compile.c, src/testdir/test_vim9_script.vim 3392 3393 Patch 8.2.0466 (after 8.2.0452) 3394 Problem: Not parsing messages recursively breaks the govim plugin. 3395 Solution: When called recursively do handle messages but do not close 3396 channels. 3397 Files: src/channel.c 3398 3399 Patch 8.2.0467 3400 Problem: Vim9: some errors are not tested 3401 Solution: Add more tests. Fix that Vim9 script flag is not reset. 3402 Files: src/vim9compile.c, src/scriptfile.c, src/dict.c, 3403 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim 3404 3405 Patch 8.2.0468 3406 Problem: GUI: pixel dust with some fonts and characters. 3407 Solution: Always redraw the character before the cursor. (Nir Lichtman, 3408 closes #5549, closes #5856) 3409 Files: src/gui.c, src/proto/gui.pro, src/screen.c 3410 3411 Patch 8.2.0469 3412 Problem: Vim9: no error for missing ] after list. 3413 Solution: Add error message. Add more tests. 3414 Files: src/globals.h, src/list.c, src/userfunc.c, 3415 src/testdir/test_vim9_expr.vim, src/testdir/test_lambda.vim 3416 3417 Patch 8.2.0470 3418 Problem: Test_confirm_cmd_cancel() can fail on a slow system. 3419 Solution: Use WaitForAssert(). (Ozaki Kiichi, closes #5861) 3420 Files: src/testdir/test_excmd.vim 3421 3422 Patch 8.2.0471 3423 Problem: Missing change to compile_list(). 3424 Solution: Add error message. 3425 Files: src/vim9compile.c 3426 3427 Patch 8.2.0472 3428 Problem: Terminal highlight name is set twice, leaking memory. 3429 Solution: Delete one. 3430 Files: src/terminal.c 3431 3432 Patch 8.2.0473 3433 Problem: Variables declared in an outer scope. 3434 Solution: Declare variables only in the scope where they are used. 3435 Files: src/evalvars.c 3436 3437 Patch 8.2.0474 (after 8.2.0403) 3438 Problem: Cannot use :write when using a plugin with BufWriteCmd. 3439 Solution: Reset BF_NOTEDITED after BufWriteCmd. (closes #5807) 3440 Files: src/fileio.c, src/testdir/test_autocmd.vim 3441 3442 Patch 8.2.0475 3443 Problem: Channel out_cb test still fails sometimes on Mac. 3444 Solution: Use an even longer timeout. 3445 Files: src/testdir/test_channel.vim 3446 3447 Patch 8.2.0476 3448 Problem: Terminal nasty callback test fails sometimes. 3449 Solution: use term_wait() instead of a sleep. (Yee Cheng Chin, closes #5865) 3450 Files: src/testdir/test_terminal.vim 3451 3452 Patch 8.2.0477 3453 Problem: Vim9: error messages not tested. 3454 Solution: Add more tests. 3455 Files: src/testdir/test_vim9_expr.vim, src/vim9execute.c 3456 3457 Patch 8.2.0478 3458 Problem: New buffers are not added to the Buffers menu. 3459 Solution: Turn number into string. (Yee Cheng Chin, closes #5864) 3460 Files: runtime/menu.vim, src/testdir/test_menu.vim 3461 3462 Patch 8.2.0479 3463 Problem: Unloading shared libraries on exit has no purpose. 3464 Solution: Do not unload shared libraries on exit. 3465 Files: src/if_lua.c, src/if_perl.xs, src/if_python.c, src/if_python3.c, 3466 src/if_ruby.c, src/if_tcl.c 3467 3468 Patch 8.2.0480 3469 Problem: Vim9: some code is not tested. 3470 Solution: Add more tests. 3471 Files: src/testdir/test_vim9_expr.vim, src/vim9compile.c 3472 3473 Patch 8.2.0481 3474 Problem: Travis is still using trusty. 3475 Solution: Adjust config to use bionic. (Ozaki Kiichi, closes #5868) 3476 Files: .travis.yml, src/testdir/lsan-suppress.txt 3477 3478 Patch 8.2.0482 3479 Problem: Channel and sandbox code not sufficiently tested. 3480 Solution: Add more tests. (Yegappan Lakshmanan, closes #5855) 3481 Files: src/option.h, src/testdir/test_channel.vim, 3482 src/testdir/test_clientserver.vim, src/testdir/test_cmdline.vim, 3483 src/testdir/test_edit.vim, src/testdir/test_excmd.vim, 3484 src/testdir/test_normal.vim, src/testdir/test_prompt_buffer.vim, 3485 src/testdir/test_restricted.vim, src/testdir/test_smartindent.vim, 3486 src/testdir/test_substitute.vim, src/testdir/test_terminal.vim, 3487 src/testdir/test_textformat.vim, src/testdir/test_visual.vim 3488 3489 Patch 8.2.0483 3490 Problem: Vim9: "let x = x + 1" does not give an error. 3491 Solution: Hide the variable when compiling the expression. 3492 Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim 3493 3494 Patch 8.2.0484 3495 Problem: Vim9: some error messages not tested. 3496 Solution: Add more tests. 3497 Files: src/testdir/test_vim9_expr.vim 3498 3499 Patch 8.2.0485 (after 8.2.0483) 3500 Problem: Vim9 script test fails. 3501 Solution: Stricter condition for adding new local variable. 3502 Files: Stricter condition for adding new local variable. 3503 3504 Patch 8.2.0486 3505 Problem: Vim9: some code and error messages not tested. 3506 Solution: Add more tests. 3507 Files: src/vim9compile.c, src/evalvars.c, src/testdir/test_vim9_expr.vim, 3508 src/testdir/test_vim9_script.vim 3509 3510 Patch 8.2.0487 3511 Problem: Vim9: compiling not sufficiently tested. 3512 Solution: Add more tests. Fix bug with PCALL. 3513 Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h, 3514 src/testdir/test_vim9_script.vim, 3515 src/testdir/test_vim9_disassemble.vim 3516 3517 Patch 8.2.0488 3518 Problem: Vim9: Compiling can break when using a lambda inside :def. 3519 Solution: Do not keep a pointer to the dfunc_T for longer time. 3520 Files: src/vim9compile.c, src/vim9.h 3521 3522 Patch 8.2.0489 3523 Problem: Vim9: memory leaks. 3524 Solution: Free memory in the right place. Add hints for using asan. 3525 Files: src/vim9compile.c, src/testdir/lsan-suppress.txt, src/Makefile 3526 3527 Patch 8.2.0490 3528 Problem: Win32: VTP doesn't respect 'restorescreen'. 3529 Solution: Use escape codes to switch to alternate screen. (Nobuhiro 3530 Takasaki, closes #5872) 3531 Files: src/os_win32.c 3532 3533 Patch 8.2.0491 3534 Problem: Cannot recognize a <script> mapping using maparg(). 3535 Solution: Add the "script" key. (closes #5873) 3536 Files: src/map.c, runtime/doc/eval.txt, src/testdir/test_maparg.vim 3537 3538 Patch 8.2.0492 3539 Problem: Vim9: some error messages not tested. 3540 Solution: Add more tests. Remove dead code. Fix uncovered bugs. 3541 Files: src/vim9compile.c, src/vim9execute.c, 3542 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim 3543 3544 Patch 8.2.0493 3545 Problem: Vim9: some error messages not tested. 3546 Solution: Add more tests. Fix uncovered bugs. 3547 Files: src/vim9compile.c, src/vim9execute.c, src/testing.c, src/eval.c, 3548 src/proto/testing.pro, src/evalfunc.c, runtime/doc/eval.txt, 3549 runtime/doc/testing.txt, src/testdir/test_vim9_script.vim 3550 3551 Patch 8.2.0494 3552 Problem: Vim9: asan error. 3553 Solution: Only get the type when there is one. 3554 Files: src/vim9compile.c 3555 3556 Patch 8.2.0495 3557 Problem: Vim9: some code not tested. 3558 Solution: Add more tests. Support more const expressions. 3559 Files: src/vim9compile.c, src/testdir/test_vim9_script.vim 3560 3561 Patch 8.2.0496 3562 Problem: Vim9: disassemble test fails. 3563 Solution: Separate test cases with recognized constant expressions. 3564 Files: src/testdir/test_vim9_disassemble.vim 3565 3566 Patch 8.2.0497 3567 Problem: Too verbose output from the asan build in Travis. 3568 Solution: Filter out suppression messages. (Ozaki Kiichi, closes #5874) 3569 Files: .travis.yml 3570 3571 Patch 8.2.0498 3572 Problem: Coverity complains about uninitialized field. 3573 Solution: Initialize the whole typval_T. 3574 Files: src/vim9compile.c 3575 3576 Patch 8.2.0499 3577 Problem: Calling a lambda is slower than evaluating a string. 3578 Solution: Make calling a lambda faster. (Ken Takata, closes #5727) 3579 Files: src/userfunc.c 3580 3581 Patch 8.2.0500 3582 Problem: Using the same loop in many places. 3583 Solution: Define more FOR_ALL macros. (Yegappan Lakshmanan, closes #5339) 3584 Files: src/arglist.c, src/autocmd.c, src/buffer.c, src/change.c, 3585 src/channel.c, src/cmdexpand.c, src/diff.c, src/eval.c, 3586 src/evalbuffer.c, src/evalfunc.c, src/evalvars.c, 3587 src/evalwindow.c, src/ex_cmds2.c, src/filepath.c, src/globals.h, 3588 src/gui.c, src/if_py_both.h, src/if_ruby.c, src/insexpand.c, 3589 src/list.c, src/misc2.c, src/netbeans.c, src/popupwin.c, 3590 src/quickfix.c, src/screen.c, src/sign.c, src/spell.c, 3591 src/spellfile.c, src/spellsuggest.c, src/tag.c, src/terminal.c, 3592 src/userfunc.c, src/window.c 3593 3594 Patch 8.2.0501 3595 Problem: Vim9: script test fails when channel feature is missing. 3596 Solution: Add a has() condition. 3597 Files: src/testdir/test_vim9_script.vim 3598 3599 Patch 8.2.0502 3600 Problem: Vim9: some code is not tested. 3601 Solution: Add more tests. Fix uncovered problems. 3602 Files: src/vim9compile.c, src/regexp.c, src/proto/regexp.pro, 3603 src/cmdexpand.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_eval.c, 3604 src/ex_getln.c, src/highlight.c, src/search.c, src/syntax.c, 3605 src/tag.c, src/userfunc.c, src/testdir/test_vim9_script.vim, 3606 src/testdir/test_vim9_disassemble.vim 3607 3608 Patch 8.2.0503 3609 Problem: Vim9: some code is not tested. 3610 Solution: Add tests. Fix uncovered problems. 3611 Files: src/vim9compile.c, src/testdir/test_vim9_script.vim 3612 3613 Patch 8.2.0504 3614 Problem: Vim9: leaking scope memory when compilation fails. 3615 Solution: Cleanup the scope list. 3616 Files: src/vim9compile.c 3617 3618 Patch 8.2.0505 3619 Problem: term_gettty() not sufficiently tested. 3620 Solution: Add more asserts. (Dominique Pellé, closes #5877) 3621 Files: src/testdir/test_terminal.vim 3622 3623 Patch 8.2.0506 3624 Problem: Coverity complains about ignoring return value. 3625 Solution: Add (void). 3626 Files: src/userfunc.c 3627 3628 Patch 8.2.0507 (after 8.2.0472) 3629 Problem: Getbufvar() may get the wrong dictionary. (David le Blanc) 3630 Solution: Check for empty name. (closes #5878) 3631 Files: src/evalvars.c, src/testdir/test_functions.vim 3632 3633 Patch 8.2.0508 3634 Problem: Vim9: func and partial types not done yet 3635 Solution: Fill in details about func declaration, drop a separate partial 3636 declaration. 3637 Files: runtime/doc/vim9.txt, src/vim9compile.c, src/globals.h, 3638 src/structs.h, src/evalfunc.c, src/testdir/test_vim9_expr.vim, 3639 src/testdir/test_vim9_script.vim, 3640 src/testdir/test_vim9_disassemble.vim 3641 3642 Patch 8.2.0509 3643 Problem: various code is not properly tested. 3644 Solution: Add more tests. (Yegappan Lakshmanan, closes #5871) 3645 Files: src/main.c, src/testdir/check.vim, src/testdir/shared.vim, 3646 src/testdir/term_util.vim, src/testdir/test_clientserver.vim, 3647 src/testdir/test_ex_mode.vim, src/testdir/test_expand.vim, 3648 src/testdir/test_functions.vim, src/testdir/test_options.vim, 3649 src/testdir/test_startup.vim, src/testdir/test_textformat.vim, 3650 src/testdir/test_trycatch.vim, src/testdir/test_viminfo.vim 3651 3652 Patch 8.2.0510 3653 Problem: Coverity complains about using uninitialized variable. 3654 Solution: Assign a value to "scol". Move code inside NULL check. 3655 Files: src/beval.c, src/popupwin.c 3656 3657 Patch 8.2.0511 3658 Problem: Cscope code not fully tested. 3659 Solution: Add more test cases. (Dominique Pellé, closes #5886) 3660 Files: src/testdir/test_cscope.vim 3661 3662 Patch 8.2.0512 3663 Problem: Vim9: no optional arguments in func type. 3664 Solution: Check for question mark after type. Find function reference 3665 without function(). 3666 Files: src/vim9compile.c, src/vim9execute.c, src/structs.h, 3667 src/globals.h, src/vim.h, src/vim9.h, src/userfunc.c, 3668 src/testdir/Make_all.mak, src/testdir/test_vim9_script.vim, 3669 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim, 3670 src/testdir/test_vim9_disassemble.vim 3671 3672 Patch 8.2.0513 3673 Problem: Reading past allocated memory when using varargs. 3674 Solution: Fix copying function argument types. 3675 Files: src/vim9compile.c 3676 3677 Patch 8.2.0514 3678 Problem: Several global functions are used in only one file. 3679 Solution: Make the functions static. (Yegappan Lakshmanan, closes #5884) 3680 Files: src/drawscreen.c, src/evalvars.c, src/getchar.c, src/list.c, 3681 src/proto/drawscreen.pro, src/proto/evalvars.pro, 3682 src/proto/getchar.pro, src/proto/list.pro, src/proto/version.pro, 3683 src/version.c 3684 3685 Patch 8.2.0515 3686 Problem: Some compilers cannot add to "void *". 3687 Solution: Cast to "char *". 3688 Files: src/vim9compile.c 3689 3690 Patch 8.2.0516 3691 Problem: Client-server code is spread out. 3692 Solution: Move client-server code to a new file. (Yegappan Lakshmanan, 3693 closes #5885) 3694 Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak, 3695 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md, 3696 src/clientserver.c, src/evalfunc.c, src/main.c, src/proto.h, 3697 src/proto/clientserver.pro, src/proto/main.pro 3698 3699 Patch 8.2.0517 3700 Problem: Vim9: cannot separate "func" and "func(): void". 3701 Solution: Use VAR_ANY for "any" and VAR_UNKNOWN for "no type". 3702 Files: src/structs.h, src/globals.h, src/eval.c, src/evalfunc.c, 3703 src/evalvars.c, src/testing.c, src/vim9compile.c, 3704 src/vim9execute.c, src/viminfo.c, src/if_py_both.h, src/json.c, 3705 src/testdir/test_vim9_func.vim 3706 3707 Patch 8.2.0518 3708 Problem: A terminal falls back to setting $TERM to "xterm". 3709 Solution: Use "xterm-color" if more than 16 colors are supported and 3710 "xterm-256color" if at least 256 colors are supported. 3711 (closes #5887) 3712 Files: src/os_unix.c 3713 3714 Patch 8.2.0519 3715 Problem: Vim9: return type not properly checked. 3716 Solution: Check type properly, also at runtime. 3717 Files: src/vim9compile.c, src/testdir/test_vim9_func.vim 3718 3719 Patch 8.2.0520 3720 Problem: Tests are not listed in sorted order. 3721 Solution: Move test_ex_mode. (Doug Richardson, closes #5889) 3722 Files: src/testdir/Make_all.mak 3723 3724 Patch 8.2.0521 3725 Problem: Crash when reading a blob fails. 3726 Solution: Avoid keeping a pointer to a freed blob object. (Dominique Pellé, 3727 closes #5890) Adjust error messages. 3728 Files: src/filepath.c, src/testdir/test_blob.vim 3729 3730 Patch 8.2.0522 3731 Problem: Several errors are not tested for. 3732 Solution: Add tests. (Yegappan Lakshmanan, closes #5892) 3733 Files: src/testdir/test_autocmd.vim, src/testdir/test_clientserver.vim, 3734 src/testdir/test_digraph.vim, src/testdir/test_expand.vim, 3735 src/testdir/test_expr.vim, src/testdir/test_functions.vim, 3736 src/testdir/test_gui.vim, src/testdir/test_highlight.vim, 3737 src/testdir/test_ins_complete.vim, src/testdir/test_lambda.vim, 3738 src/testdir/test_listdict.vim, src/testdir/test_normal.vim, 3739 src/testdir/test_options.vim, src/testdir/test_preview.vim, 3740 src/testdir/test_user_func.vim, src/testdir/test_vim9_func.vim, 3741 src/testdir/test_vim9_script.vim, src/testdir/test_viminfo.vim, 3742 src/testdir/test_vimscript.vim, src/testdir/test_window_cmd.vim 3743 3744 Patch 8.2.0523 3745 Problem: Loops are repeated. 3746 Solution: Use FOR_ALL_ macros. (Yegappan Lakshmanan, closes #5882) 3747 Files: src/buffer.c, src/drawscreen.c, src/evalfunc.c, src/evalwindow.c, 3748 src/globals.h, src/gui_athena.c, src/gui_gtk.c, src/gui_motif.c, 3749 src/gui_w32.c, src/list.c, src/menu.c, src/popupmenu.c, 3750 src/popupwin.c, src/quickfix.c, src/syntax.c, src/time.c, 3751 src/userfunc.c, src/vim9compile.c 3752 3753 Patch 8.2.0524 3754 Problem: Win32: searching for file matches is slow. 3755 Solution: Instead of making another round to find any short filename, check 3756 for the short name right away. Avoid using an ordinary file like a 3757 directory. (Nir Lichtman, closes #5883) 3758 Files: src/filepath.c 3759 3760 Patch 8.2.0525 (after 8.2.0524) 3761 Problem: Win32: typo in assignment and misplaced paren. 3762 Solution: Fix the syntax. 3763 Files: src/filepath.c 3764 3765 Patch 8.2.0526 3766 Problem: Gcc 9 complains about empty statement. 3767 Solution: Add {}. (Dominique Pellé, closes #5894) 3768 Files: src/evalfunc.c 3769 3770 Patch 8.2.0527 3771 Problem: Vim9: function types insufficiently tested. 3772 Solution: Add more tests. Fix white space check. Add "test_vim9" target. 3773 Files: src/vim9compile.c, src/testdir/test_vim9_func.vim, src/Makefile, 3774 src/testdir/Makefile, src/testdir/Make_all.mak 3775 3776 Patch 8.2.0528 3777 Problem: Vim9: function arguments insufficiently tested. 3778 Solution: Check types. Add more tests. Fix function with varargs only. 3779 Files: src/vim9compile.c, src/userfunc.c, src/testdir/test_vim9_func.vim 3780 3781 Patch 8.2.0529 3782 Problem: Vim9: function argument with default not checked. 3783 Solution: Check type of argument with default value. 3784 Files: src/vim9compile.c, src/userfunc.c, src/testdir/test_vim9_func.vim 3785 3786 Patch 8.2.0530 3787 Problem: Test crashes on s390. (James McCoy) 3788 Solution: Explicitly define an 8 big signed type. (closes #5897) 3789 Files: src/structs.h 3790 3791 Patch 8.2.0531 3792 Problem: Various errors not tested. 3793 Solution: Add tests. (Yegappan Lakshmanan, closes #5895) 3794 Files: src/testdir/test_search.vim, src/testdir/test_source.vim, 3795 src/testdir/test_syntax.vim, src/testdir/test_user_func.vim, 3796 src/testdir/test_vimscript.vim 3797 3798 Patch 8.2.0532 3799 Problem: Cannot use simplify() as a method. 3800 Solution: Add FEARG_1. (closes #5896) 3801 Files: runtime/doc/eval.txt, src/evalfunc.c, 3802 src/testdir/test_functions.vim 3803 3804 Patch 8.2.0533 3805 Problem: Tests using term_wait() can still be flaky. 3806 Solution: Increase the wait time when rerunning a test. (James McCoy, 3807 closes #5899) Halve the initial times to make tests run faster 3808 when there is no rerun. 3809 Files: src/testdir/term_util.vim, src/testdir/test_arglist.vim, 3810 src/testdir/test_autocmd.vim, src/testdir/test_balloon.vim, 3811 src/testdir/test_bufline.vim, src/testdir/test_channel.vim, 3812 src/testdir/test_cmdline.vim, src/testdir/test_conceal.vim, 3813 src/testdir/test_cursorline.vim, src/testdir/test_debugger.vim, 3814 src/testdir/test_diffmode.vim, src/testdir/test_display.vim, 3815 src/testdir/test_functions.vim, src/testdir/test_highlight.vim, 3816 src/testdir/test_ins_complete.vim, src/testdir/test_mapping.vim, 3817 src/testdir/test_match.vim, src/testdir/test_matchadd_conceal.vim, 3818 src/testdir/test_messages.vim, src/testdir/test_number.vim, 3819 src/testdir/test_popup.vim, src/testdir/test_popupwin.vim, 3820 src/testdir/test_profile.vim, src/testdir/test_search.vim, 3821 src/testdir/test_search_stat.vim, src/testdir/test_startup.vim, 3822 src/testdir/test_startup_utf8.vim, 3823 src/testdir/test_statusline.vim, src/testdir/test_suspend.vim, 3824 src/testdir/test_swap.vim, src/testdir/test_tagjump.vim, 3825 src/testdir/test_terminal.vim, src/testdir/test_terminal_fail.vim, 3826 src/testdir/test_timers.vim, src/testdir/test_vimscript.vim 3827 3828 Patch 8.2.0534 3829 Problem: Client-server test fails under valgrind. 3830 Solution: Use WaitForAssert(). 3831 Files: src/testdir/test_clientserver.vim 3832 3833 Patch 8.2.0535 3834 Problem: Regexp patterns not fully tested. 3835 Solution: Add more regexp tests and others. (Yegappan Lakshmanan, 3836 closes #5901) 3837 Files: src/testdir/test_marks.vim, src/testdir/test_options.vim, 3838 src/testdir/test_regexp_latin.vim, src/testdir/test_search.vim 3839 3840 Patch 8.2.0536 3841 Problem: Vim9: some compilation code not tested. 3842 Solution: Add more test cases. 3843 Files: src/evalvars.c, src/proto/evalvars.pro, src/vim9compile.c, 3844 src/testdir/test_vim9_expr.vim 3845 3846 Patch 8.2.0537 3847 Problem: Vim9: no check for sandbox when setting v:var. 3848 Solution: Check for sandbox. 3849 Files: src/evalvars.c, src/testdir/test_vim9_script.vim 3850 3851 Patch 8.2.0538 3852 Problem: Vim9: VAR_PARTIAL is not used during compilation. 3853 Solution: Remove VAR_PARTIAL. 3854 Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c 3855 3856 Patch 8.2.0539 3857 Problem: Comparing two NULL list fails. 3858 Solution: Change the order of comparing two lists. 3859 Files: src/list.c, src/testdir/test_assert.vim 3860 3861 Patch 8.2.0540 3862 Problem: Regexp and other code not tested. 3863 Solution: Add more tests. (Yegappan Lakshmanan, closes #5904) 3864 Files: src/testdir/test_backspace_opt.vim, src/testdir/test_expr.vim, 3865 src/testdir/test_increment.vim, src/testdir/test_normal.vim, 3866 src/testdir/test_options.vim, src/testdir/test_regexp_latin.vim, 3867 src/testdir/test_search.vim, src/testdir/test_substitute.vim, 3868 src/testdir/test_terminal.vim, src/testdir/test_virtualedit.vim 3869 3870 Patch 8.2.0541 3871 Problem: Travis CI does not give compiler warnings. 3872 Solution: Add flags for warnings. Fix uncovered problems. (Ozaki Kiichi, 3873 closes #5898) 3874 Files: .travis.yml, ci/config.mk.clang.sed, ci/config.mk.gcc.sed, 3875 ci/config.mk.sed, src/if_perl.xs, src/if_ruby.c, 3876 src/libvterm/t/harness.c 3877 3878 Patch 8.2.0542 3879 Problem: No test for E386. 3880 Solution: Add a test. (Dominique Pellé, closes #5911) 3881 Files: src/testdir/test_search.vim 3882 3883 Patch 8.2.0543 3884 Problem: Vim9: function with varargs does not work properly. 3885 Solution: Improve function type spec and add tests. Fix bugs. 3886 Files: runtime/doc/vim9.txt, src/vim9compile.c, src/vim9execute.c, 3887 src/structs.h, src/testdir/test_vim9_func.vim 3888 3889 Patch 8.2.0544 3890 Problem: Memory leak in search test. 3891 Solution: Free msgbuf. (Dominique Pellé, closes #5912) 3892 Files: src/search.c 3893 3894 Patch 8.2.0545 3895 Problem: Unused arguments ignored in non-standard way. 3896 Solution: Add UNUSED instead of (void). 3897 Files: src/libvterm/t/harness.c 3898 3899 Patch 8.2.0546 3900 Problem: Vim9: varargs implementation is inefficient. 3901 Solution: Create list without moving the arguments. 3902 Files: src/vim9compile.c, src/vim9execute.c 3903 3904 Patch 8.2.0547 3905 Problem: Win32: restoring screen not always done right. 3906 Solution: Use a more appropriate method. (Nobuhiro Takasaki, closes #5909) 3907 Files: src/os_win32.c 3908 3909 Patch 8.2.0548 3910 Problem: Vim9: not all possible func type errors tested. 3911 Solution: Add more tests. 3912 Files: src/vim9compile.c, src/testdir/test_vim9_func.vim 3913 3914 Patch 8.2.0549 3915 Problem: User systemd files not recognized. 3916 Solution: Add filetype patterns. (Kevin Locke, closes #5914) 3917 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 3918 3919 Patch 8.2.0550 3920 Problem: Some changes in the libvterm upstream code. 3921 Solution: Include some changes. 3922 Files: src/libvterm/t/harness.c 3923 3924 Patch 8.2.0551 3925 Problem: Not all code for options is tested. 3926 Solution: Add more tests. (Yegappan Lakshmanan, closes #5913) 3927 Files: src/testdir/test_options.vim, src/testdir/test_python3.vim, 3928 src/testdir/test_undo.vim, src/testdir/test_vimscript.vim 3929 3930 Patch 8.2.0552 3931 Problem: Vim9: some errors not covered by tests. 3932 Solution: Add more tests. Check Funcref argument types. 3933 Files: src/vim9compile.c, src/testdir/test_vim9_func.vim 3934 3935 Patch 8.2.0553 (after 8.2.0550) 3936 Problem: Error for unused argument. 3937 Solution: Add UNUSED. 3938 Files: src/libvterm/t/harness.c 3939 3940 Patch 8.2.0554 3941 Problem: The GUI doesn't set t_Co. 3942 Solution: In the GUI set t_Co to 256 * 256 * 256. (closes #5903) 3943 Files: src/term.c, src/proto/term.pro, src/gui.c, 3944 src/testdir/test_gui.vim 3945 3946 Patch 8.2.0555 3947 Problem: Vim9: line continuation is not always needed. 3948 Solution: Recognize continuation lines automatically in list and dict. 3949 Files: runtime/doc/vim9.txt, src/vim9compile.c, 3950 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim 3951 3952 Patch 8.2.0556 3953 Problem: Vim9: memory leak when finding common type. 3954 Solution: Store allocated memory in type growarray. 3955 Files: src/vim9compile.c 3956 3957 Patch 8.2.0557 3958 Problem: No IPv6 support for channels. 3959 Solution: Add IPv6 support. (Ozaki Kiichi, closes #5893) 3960 Files: .travis.yml, runtime/doc/channel.txt, runtime/doc/various.txt, 3961 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/auto/configure, 3962 src/channel.c, src/config.h.in, src/configure.ac, src/evalfunc.c, 3963 src/proto/channel.pro, src/testdir/check.vim, 3964 src/testdir/runtest.vim, src/testdir/test_cdo.vim, 3965 src/testdir/test_channel.py, src/testdir/test_channel.vim, 3966 src/testdir/test_channel_6.py, src/testdir/test_escaped_glob.vim, 3967 src/testdir/test_getcwd.vim, src/testdir/test_hide.vim 3968 3969 Patch 8.2.0558 3970 Problem: Vim9: dict code not covered by tests. 3971 Solution: Remove dead code, adjust test case. 3972 Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim 3973 3974 Patch 8.2.0559 3975 Problem: Clearing a struct is verbose. 3976 Solution: Define and use CLEAR_FIELD() and CLEAR_POINTER(). 3977 Files: src/vim.h, src/blowfish.c, src/channel.c, src/charset.c, 3978 src/clipboard.c, src/diff.c, src/eval.c, src/evalfunc.c, 3979 src/ex_cmds2.c, src/ex_docmd.c, src/ex_getln.c, src/findfile.c, 3980 src/gui_gtk_f.c, src/gui_mac.c, src/gui_motif.c, src/gui_w32.c, 3981 src/gui_x11.c, src/hardcopy.c, src/hashtab.c, src/highlight.c, 3982 src/if_mzsch.c, src/insexpand.c, src/kword_test.c, src/list.c, 3983 src/main.c, src/map.c, src/memfile.c, src/message_test.c, 3984 src/misc1.c, src/netbeans.c, src/normal.c, src/ops.c, 3985 src/option.c, src/os_mswin.c, src/os_win32.c, src/popupmenu.c, 3986 src/quickfix.c, src/regexp.c, src/regexp_bt.c, src/regexp_nfa.c, 3987 src/search.c, src/sign.c, src/spell.c, src/spellfile.c, 3988 src/spellsuggest.c, src/syntax.c, src/tag.c, src/terminal.c, 3989 src/time.c, src/undo.c, src/userfunc.c, src/vim9compile.c, 3990 src/vim9execute.c, src/if_py_both.h 3991 3992 Patch 8.2.0560 3993 Problem: Compiler warning in tiny build. 3994 Solution: Move declaration inside #ifdef. (Dominique Pellé, closes #5915) 3995 Files: src/ex_docmd.c 3996 3997 Patch 8.2.0561 3998 Problem: Vim9: cannot split function call in multiple lines. 3999 Solution: Find more arguments in following lines. 4000 Files: runtime/doc/vim9.txt, src/vim9compile.c, 4001 src/testdir/test_vim9_script.vim 4002 4003 Patch 8.2.0562 4004 Problem: Vim9: cannot split an expression into multiple lines. 4005 Solution: Continue in next line after an operator. 4006 Files: runtime/doc/vim9.txt, src/macros.h, src/vim9compile.c, 4007 src/testdir/test_vim9_expr.vim 4008 4009 Patch 8.2.0563 4010 Problem: Vim9: cannot split a function line. 4011 Solution: Continue in next line so long as the function isn't done. 4012 Files: runtime/doc/vim9.txt, src/userfunc.c, src/proto/userfunc.pro, 4013 src/vim9compile.c, src/testdir/test_vim9_func.vim 4014 4015 Patch 8.2.0564 4016 Problem: Vim9: calling a def function from non-vim9 may fail. 4017 Solution: Convert varargs to a list. 4018 Files: src/testdir/test_vim9_func.vim, src/vim9execute.c 4019 4020 Patch 8.2.0565 4021 Problem: Vim9: tests contain superfluous line continuation. 4022 Solution: Remove line continuation no longer needed. Skip empty lines. 4023 Files: src/vim9compile.c, src/testdir/test_vim9_script.vim, 4024 src/testdir/test_vim9_disassemble.vim 4025 4026 Patch 8.2.0566 4027 Problem: Vim9: variable can be used uninitialized. 4028 Solution: Jump to after where variable is used. 4029 Files: src/vim9execute.c 4030 4031 Patch 8.2.0567 4032 Problem: Vim9: cannot put comments halfway expressions. 4033 Solution: Support # comments in many places. 4034 Files: runtime/doc/vim9.txt, src/vim9compile.c, src/userfunc.c, 4035 src/ex_docmd.c, src/testdir/test_vim9_func.vim, 4036 src/testdir/test_vim9_script.vim 4037 4038 Patch 8.2.0568 4039 Problem: The man filetype plugin overwrites the unnamed register. 4040 Solution: Use the black hole register. (Jason Franklin) 4041 Files: runtime/ftplugin/man.vim, src/testdir/test_man.vim 4042 4043 Patch 8.2.0569 4044 Problem: Build failure with tiny version. 4045 Solution: Add #ifdef. 4046 Files: src/ex_docmd.c 4047 4048 Patch 8.2.0570 4049 Problem: Vim9: no error when omitting type from argument. 4050 Solution: Enforce specifying argument types. 4051 Files: src/userfunc.c, src/ex_eval.c, src/testdir/test_vim9_script.vim, 4052 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_expr.vim, 4053 src/testdir/test_vim9_disassemble.vim 4054 4055 Patch 8.2.0571 4056 Problem: Double free when passing invalid argument to job_start(). 4057 Solution: Clear the argument when freed. (Masato Nishihata, closes #5926) 4058 Files: src/misc2.c, src/testdir/test_channel.vim 4059 4060 Patch 8.2.0572 (after 8.2.0571) 4061 Problem: Using two lines for free and reset. 4062 Solution: Use VIM_CLEAR() instead. (Yegappan Lakshmanan) 4063 Files: src/misc2.c 4064 4065 Patch 8.2.0573 4066 Problem: using :version twice leaks memory 4067 Solution: Only initialize variables once. (Dominique Pellé, closes #5917) 4068 Files: src/testdir/Make_all.mak, src/testdir/test_alot.vim, 4069 src/testdir/test_version.vim, src/version.c, src/globals.h 4070 4071 Patch 8.2.0574 4072 Problem: Ipv6 feature not shown in :version output. 4073 Solution: Add ipv6 in :version output. (Ozaki Kiichi, closes #5924) 4074 Files: runtime/doc/eval.txt, src/version.c 4075 4076 Patch 8.2.0575 4077 Problem: :digraph! not tested. 4078 Solution: Add a test. (Dominique Pellé, closes #5925) 4079 Files: src/testdir/test_digraph.vim 4080 4081 Patch 8.2.0576 4082 Problem: Some errors are not covered by tests. 4083 Solution: Add a few more tests. (Dominique Pellé, closes #5920) 4084 Files: src/testdir/test_buffer.vim, src/testdir/test_digraph.vim, 4085 src/testdir/test_expr.vim, src/testdir/test_messages.vim 4086 4087 Patch 8.2.0577 4088 Problem: Not all modifiers supported for :options. 4089 Solution: Use all cmdmod.split flags. (closes #4401) 4090 Files: src/usercmd.c, src/proto/usercmd.pro, src/scriptfile.c, 4091 src/testdir/test_options.vim, src/testdir/test_usercommands.vim 4092 4093 Patch 8.2.0578 4094 Problem: Heredoc for interfaces does not support "trim". 4095 Solution: Update the script heredoc support to be same as the :let command. 4096 (Yegappan Lakshmanan, closes #5916) 4097 Files: runtime/doc/if_lua.txt, runtime/doc/if_mzsch.txt, 4098 runtime/doc/if_perl.txt, runtime/doc/if_pyth.txt, 4099 runtime/doc/if_ruby.txt, runtime/doc/if_tcl.txt, src/evalvars.c, 4100 src/ex_getln.c, src/proto/evalvars.pro, src/testdir/test86.in, 4101 src/testdir/test87.in, src/testdir/test_lua.vim, 4102 src/testdir/test_perl.vim, src/testdir/test_python2.vim, 4103 src/testdir/test_python3.vim, src/testdir/test_pyx2.vim, 4104 src/testdir/test_pyx3.vim, src/testdir/test_ruby.vim, 4105 src/testdir/test_tcl.vim, src/userfunc.c, src/vim9compile.c 4106 4107 Patch 8.2.0579 4108 Problem: Coverity warns for unused value. 4109 Solution: Change order and use "else if". 4110 Files: src/os_unix.c 4111 4112 Patch 8.2.0580 4113 Problem: Window size wrong if 'ea' is off and 'splitright' is on and 4114 splitting then closing a window. 4115 Solution: Put abandoned window space in the right place. (Mark Waggoner) 4116 Files: src/testdir/test_winbuf_close.vim, src/window.c 4117 4118 Patch 8.2.0581 (after 8.2.0547) 4119 Problem: Win32 console: the cursor position is always top-left. 4120 Solution: Revert the patch for restoring screen. 4121 Files: src/os_win32.c 4122 4123 Patch 8.2.0582 4124 Problem: Color ramp test does not show text colors. 4125 Solution: Add a row of 16 text colors and 16 bold text colors. 4126 Files: src/testdir/color_ramp.vim 4127 4128 Patch 8.2.0583 4129 Problem: Vim9: # comment not recognized in :def function. 4130 Solution: Recognize and skip # comment. 4131 Files: src/vim9compile.c, src/testdir/test_vim9_script.vim 4132 4133 Patch 8.2.0584 4134 Problem: Viminfo file uses obsolete function file_readable(). 4135 Solution: Use filereadable(). (closes #5934) 4136 Files: src/session.c 4137 4138 Patch 8.2.0585 4139 Problem: Vim9: # comment not recognized after :vim9script. 4140 Solution: Check script type. Make comment after ":echo" work. And in 4141 several other places. 4142 Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/eval.c, 4143 src/vim9compile.c, src/testdir/test_vim9_script.vim 4144 4145 Patch 8.2.0586 4146 Problem: Vim9: # comment not sufficiently tested 4147 Solution: Check for preceding white space. 4148 Files: src/eval.c, src/testdir/test_vim9_script.vim 4149 4150 Patch 8.2.0587 4151 Problem: Compiler warning for unused variable. 4152 Solution: Add UNUSED. 4153 Files: src/ex_docmd.c 4154 4155 Patch 8.2.0588 4156 Problem: Putty does not use "sgr" 'ttymouse' by default. 4157 Solution: Make "sgr" the default for Putty. (Christian Brabandt, 4158 closes #5942) 4159 Files: src/term.c 4160 4161 Patch 8.2.0589 4162 Problem: .bsd file type not recognized. 4163 Solution: Recognize .bsd as BSDL. (Daniel Kho, closes #5945) 4164 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 4165 4166 Patch 8.2.0590 4167 Problem: No 'backspace' value allows ignoring the insertion point. 4168 Solution: Add the "nostop" and 3 values. (Christian Brabandt, closes #5940) 4169 Files: runtime/doc/options.txt, src/edit.c, src/option.c, src/option.h, 4170 src/optionstr.c, src/testdir/gen_opt_test.vim, 4171 src/testdir/test_backspace_opt.vim 4172 4173 Patch 8.2.0591 4174 Problem: MS-Windows: should always support IPv6 4175 Solution: Add build flag. (Ozaki Kiichi, closes #5944) 4176 Files: src/Make_cyg_ming.mak, src/Make_mvc.mak 4177 4178 Patch 8.2.0592 4179 Problem: MS-Windows with VTP: cursor is not made invisible. 4180 Solution: Output the code to make the cursor visible or invisible. (Nobuhiro 4181 Takasaki, closes #5941) 4182 Files: src/os_win32.c 4183 4184 Patch 8.2.0593 4185 Problem: Finding a user command is not optimal. 4186 Solution: Start further down in the list of commands. 4187 Files: src/ex_cmds.h, src/ex_docmd.c 4188 4189 Patch 8.2.0594 4190 Problem: MS-Windows: cannot build with WINVER set to 0x0501. 4191 Solution: Only use inet_ntop() when available. (Ozaki Kiichi, closes #5946) 4192 Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/auto/configure, 4193 src/channel.c, src/config.h.in, src/configure.ac 4194 4195 Patch 8.2.0595 4196 Problem: Vim9: not all commands using ends_excmd() tested. 4197 Solution: Find # comment after regular commands. Add more tests. Report 4198 error for where it was caused. 4199 Files: src/ex_docmd.c, src/vim9compile.c, src/vim9execute.c, src/usercmd.c, 4200 src/evalfunc.c, src/userfunc.c, src/proto/userfunc.pro, 4201 src/testdir/test_vim9_script.vim, 4202 src/testdir/test_vim9_disassemble.vim 4203 4204 Patch 8.2.0596 4205 Problem: Crash in test49. 4206 Solution: Check the right pointer. 4207 Files: src/userfunc.c, src/testdir/test_eval.ok 4208 4209 Patch 8.2.0597 4210 Problem: Test_eval is old style. 4211 Solution: Change some tests to a new style test. 4212 Files: src/testdir/test_eval.in, src/testdir/test_eval.ok, 4213 src/testdir/test_eval_stuff.vim 4214 4215 Patch 8.2.0598 4216 Problem: Test_eval_stuff fails in normal terminal. 4217 Solution: Close the new window. 4218 Files: src/testdir/test_eval_stuff.vim 4219 4220 Patch 8.2.0599 4221 Problem: Netbeans interface insufficiently tested. 4222 Solution: Add more tests. (Yegappan Lakshmanan, closes #5921) 4223 Files: runtime/doc/netbeans.txt, src/netbeans.c, src/os_win32.c, 4224 src/testdir/runtest.vim, src/testdir/test_netbeans.py, 4225 src/testdir/test_netbeans.vim 4226 4227 Patch 8.2.0600 4228 Problem: Vim9: cannot read or write w:, t: and b: variables. 4229 Solution: Implement load and store for w:, t: and b: variables. 4230 (closes #5950) 4231 Files: src/testdir/test_vim9_disassemble.vim, 4232 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim, 4233 src/vim9.h, src/vim9compile.c, src/vim9execute.c 4234 4235 Patch 8.2.0601 4236 Problem: Vim9: :unlet is not compiled. 4237 Solution: Implement :unlet instruction and check for errors. 4238 Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9.h, 4239 src/vim9execute.c, src/evalvars.c, src/proto/evalvars.pro, 4240 src/eval.c, src/testdir/test_vim9_script.vim, 4241 src/testdir/test_vim9_disassemble.vim 4242 4243 Patch 8.2.0602 4244 Problem: :unlet $VAR does not work properly. 4245 Solution: Make ":lockvar $VAR" fail. Check the "skip" flag. 4246 Files: src/evalvars.c, src/globals.h, src/testdir/test_vimscript.vim 4247 4248 Patch 8.2.0603 4249 Problem: Configure does not detect moonjit. 4250 Solution: Add check for moonjit. (Shlomi Fish, closes #5947) 4251 Files: src/configure.ac, src/auto/configure 4252 4253 Patch 8.2.0604 4254 Problem: :startinsert in a terminal window used later. 4255 Solution: Ignore :startinsert in a terminal window. (closes #5952) 4256 Files: src/ex_docmd.c, src/testdir/test_terminal.vim 4257 4258 Patch 8.2.0605 4259 Problem: Vim9: cannot unlet an environment variable. 4260 Solution: Implement unlet for $VAR. 4261 Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, 4262 src/testdir/test_vim9_script.vim, 4263 src/testdir/test_vim9_disassemble.vim 4264 4265 Patch 8.2.0606 4266 Problem: Several syntax HL errors not checked. 4267 Solution: Add tests. (Yegappan Lakshmanan, closes #5954) 4268 Files: src/testdir/test_syntax.vim 4269 4270 Patch 8.2.0607 4271 Problem: Gcc warns for using uninitialized variable. (John Marriott) 4272 Solution: Set name_end also for environment variables. 4273 Files: src/evalvars.c 4274 4275 Patch 8.2.0608 4276 Problem: Warning from clang when building message test. 4277 Solution: Use a void pointer. (Dominique Pellé, closes #5958) 4278 Files: src/message_test.c 4279 4280 Patch 8.2.0609 4281 Problem: Configure does not detect moonjit correctly. 4282 Solution: Double the brackets. (Ozaki Kiichi) 4283 Files: src/configure.ac, src/auto/configure 4284 4285 Patch 8.2.0610 4286 Problem: Some tests are still old style. 4287 Solution: Convert to new style tests. (Yegappan Lakshmanan, closes #5957) 4288 Files: src/testdir/test_blob.vim, src/testdir/test_cursor_func.vim, 4289 src/testdir/test_eval.in, src/testdir/test_eval.ok, 4290 src/testdir/test_eval_func.vim, src/testdir/test_eval_stuff.vim, 4291 src/testdir/test_expr.vim, src/testdir/test_filter_map.vim, 4292 src/testdir/test_functions.vim, src/testdir/test_listdict.vim, 4293 src/testdir/test_sort.vim, src/testdir/test_syntax.vim, 4294 src/testdir/test_utf8.vim, src/testdir/test_vimscript.vim 4295 4296 Patch 8.2.0611 4297 Problem: Vim9: no check for space before #comment. 4298 Solution: Add space checks. 4299 Files: src/eval.c, src/evalvars.c, src/ex_docmd.c, 4300 src/testdir/test_vim9_script.vim 4301 4302 Patch 8.2.0612 4303 Problem: Vim9: no check for space before #comment. 4304 Solution: Add space checks. 4305 Files: src/ex_eval.c, src/ex_cmds.c, src/regexp.c, src/proto/regexp.pro, 4306 src/gui.c, src/highlight.c, src/testdir/test_vim9_script.vim, 4307 src/testdir/test_sort.vim 4308 4309 Patch 8.2.0613 4310 Problem: Vim9: no check for space before #comment. 4311 Solution: Add space checks. 4312 Files: src/highlight.c, src/menu.c, src/syntax.c, 4313 src/testdir/test_vim9_script.vim, 4314 runtime/lang/menu_de_de.latin1.vim 4315 4316 Patch 8.2.0614 4317 Problem: Get ml_get error when deleting a line in 'completefunc'. (Yegappan 4318 Lakshmanan) 4319 Solution: Lock the text while evaluating 'completefunc'. 4320 Files: src/insexpand.c, src/globals.h, src/edit.c, src/ex_getln.c, 4321 src/undo.c, src/testdir/test_edit.vim, src/testdir/test_excmd.vim, 4322 src/testdir/test_gf.vim, src/testdir/test_popup.vim, 4323 src/testdir/test_ex_mode.vim, runtime/doc/insert.txt 4324 4325 Patch 8.2.0615 4326 Problem: Regexp benchmark test is old style. 4327 Solution: Make it a new style test. Fix using a NULL list. Add more tests. 4328 (Yegappan Lakshmanan, closes #5963) 4329 Files: src/evalbuffer.c, src/testdir/Make_dos.mak, 4330 src/testdir/Make_ming.mak, src/testdir/Makefile, 4331 src/testdir/bench_re_freeze.in, src/testdir/bench_re_freeze.vim, 4332 src/testdir/test_autocmd.vim, src/testdir/test_bench_regexp.vim, 4333 src/testdir/test_blob.vim, src/testdir/test_bufline.vim, 4334 src/testdir/test_channel.vim, src/testdir/test_cmdline.vim, 4335 src/testdir/test_functions.vim, src/testdir/test_ins_complete.vim, 4336 src/testdir/test_popupwin.vim, src/testdir/test_prompt_buffer.vim, 4337 src/testdir/test_tagjump.vim, src/testdir/test_window_cmd.vim 4338 4339 Patch 8.2.0616 4340 Problem: Build error when disabling the diff feature. 4341 Solution: Move parenthesis outside of #ifdef. (Tom Ryder) 4342 Files: src/drawline.c 4343 4344 Patch 8.2.0617 4345 Problem: New error check triggers in Swedish menu. 4346 Solution: Insert backslash. (Mats Tegner, closes #5966) 4347 Files: runtime/lang/menu_sv_se.latin1.vim 4348 4349 Patch 8.2.0618 4350 Problem: Echoing a null list results in no output. (Yegappan Lakshmanan) 4351 Solution: Return "[]" instead of NULL in echo_string_core(). 4352 Files: src/eval.c, src/testdir/test_messages.vim 4353 4354 Patch 8.2.0619 4355 Problem: Null dict is not handled like an empty dict. 4356 Solution: Fix the code and add tests. (Yegappan Lakshmanan, closes #5968) 4357 Files: src/dict.c, src/eval.c, src/testdir/test_blob.vim, 4358 src/testdir/test_expr.vim, src/testdir/test_filter_map.vim, 4359 src/testdir/test_let.vim, src/testdir/test_listdict.vim, 4360 src/testdir/test_search.vim, src/testdir/test_unlet.vim, 4361 src/testdir/test_usercommands.vim, src/testdir/test_vimscript.vim 4362 4363 Patch 8.2.0620 4364 Problem: Error in menu translations. 4365 Solution: Insert a backslash before a space. 4366 Files: runtime/lang/menu_it_it.latin1.vim, 4367 runtime/lang/menu_chinese_gb.936.vim 4368 4369 Patch 8.2.0621 4370 Problem: After running tests asan files may remain. 4371 Solution: Clean up asan files with "make testclean". 4372 Files: src/testdir/Makefile, src/Makefile 4373 4374 Patch 8.2.0622 4375 Problem: Haiku: GUI does not compile. 4376 Solution: Various fixes. (Emir Sarı, closes #5961) 4377 Files: Filelist, README.md, READMEdir/README_haiku.txt, 4378 runtime/doc/os_haiku.txt, src/Makefile, src/beval.h, 4379 src/gui_haiku.cc, src/proto/gui_haiku.pro 4380 4381 Patch 8.2.0623 4382 Problem: Typo in test comment. (Christ van Willegen) 4383 Solution: Avoid mixing up a data structure with a body part. 4384 Files: src/testdir/test_listdict.vim 4385 4386 Patch 8.2.0624 4387 Problem: Vim9: no check for space before #comment. 4388 Solution: Add space checks. Fix :throw with double quoted string. 4389 Files: src/usercmd.c, src/userfunc.c, src/vim9compile.c, 4390 src/testdir/test_vim9_script.vim 4391 4392 Patch 8.2.0625 4393 Problem: Vim9: confusing error when calling unknown function. 4394 Solution: Give error while compiling. 4395 Files: src/vim9compile.c, src/vim9execute.c, 4396 src/testdir/test_vim9_func.vim 4397 4398 Patch 8.2.0626 4399 Problem: Vim9: wrong syntax of function in Vim9 script. 4400 Solution: Give error for missing space. Implement :echomsg and :echoerr. 4401 (closes #5670) 4402 Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h, src/userfunc.c, 4403 src/eval.c, src/globals.h, src/testdir/test_vim9_func.vim, 4404 src/testdir/test_vim9_disassemble.vim, 4405 src/testdir/test_vim9_script.vim 4406 4407 Patch 8.2.0627 4408 Problem: Vim9: error message does not work. (Yegappan Lakshmanan) 4409 Solution: Swap lines. 4410 Files: src/userfunc.c 4411 4412 Patch 8.2.0628 4413 Problem: Error in menu translations. 4414 Solution: Insert a backslash before a space in one more file. (Shun Bai, 4415 Emir Sarı) 4416 Files: runtime/lang/menu_zh_cn.utf-8.vim, 4417 runtime/lang/menu_ca_es.latin1.vim, 4418 runtime/lang/menu_cs_cz.iso_8859-2.vim, 4419 runtime/lang/menu_cs_cz.utf-8.vim, 4420 runtime/lang/menu_czech_czech_republic.1250.vim, 4421 runtime/lang/menu_czech_czech_republic.ascii.vim, 4422 runtime/lang/menu_da.utf-8.vim, 4423 runtime/lang/menu_fi_fi.latin1.vim, 4424 runtime/lang/menu_hu_hu.iso_8859-2.vim, 4425 runtime/lang/menu_hu_hu.utf-8.vim, 4426 runtime/lang/menu_is_is.latin1.vim, 4427 runtime/lang/menu_no_no.latin1.vim, runtime/lang/menu_pt_br.vim, 4428 runtime/lang/menu_pt_pt.vim, 4429 runtime/lang/menu_sk_sk.iso_8859-2.vim, 4430 runtime/lang/menu_sl_si.latin2.vim, 4431 runtime/lang/menu_slovak_slovak_republic.1250.vim, 4432 runtime/lang/menu_tr_tr.cp1254.vim, 4433 runtime/lang/menu_tr_tr.iso_8859-9.vim, 4434 runtime/lang/menu_tr_tr.utf-8.vim, runtime/lang/menu_vi_vn.vim 4435 4436 Patch 8.2.0629 4437 Problem: Setting a boolean option to v:false does not work. 4438 Solution: Do not use the string representation of the value. (Christian 4439 Brabandt, closes #5974) 4440 Files: src/evalvars.c, src/testdir/test_options.vim 4441 4442 Patch 8.2.0630 4443 Problem: "make tags" does not cover Haiku GUI file. 4444 Solution: Add *.cc files. 4445 Files: src/Make_all.mak 4446 4447 Patch 8.2.0631 4448 Problem: Haiku file formatted with wrong tabstop. 4449 Solution: Use normal tabstop. Fix white space. 4450 Files: src/gui_haiku.cc 4451 4452 Patch 8.2.0632 4453 Problem: Crash when using Haiku. 4454 Solution: Lock the screen. (closes #5975, closes #5973) 4455 Files: src/screen.c 4456 4457 Patch 8.2.0633 4458 Problem: Crash when using null partial in filter(). 4459 Solution: Fix crash. Add more tests. (Yegappan Lakshmanan, closes #5976) 4460 Files: src/eval.c, src/testdir/test_blob.vim, 4461 src/testdir/test_channel.vim, src/testdir/test_eval_stuff.vim, 4462 src/testdir/test_execute_func.vim, src/testdir/test_expr.vim, 4463 src/testdir/test_filter_map.vim, src/testdir/test_fold.vim, 4464 src/testdir/test_functions.vim, src/testdir/test_let.vim, 4465 src/testdir/test_listdict.vim, src/testdir/test_partial.vim, 4466 src/testdir/test_usercommands.vim 4467 4468 Patch 8.2.0634 4469 Problem: Crash with null partial and blob. 4470 Solution: Check for NULL pointer. Add more tests. (Yegappan Lakshmanan, 4471 closes #5984) 4472 Files: src/eval.c, src/list.c, src/testdir/test_blob.vim, 4473 src/testdir/test_bufwintabinfo.vim, src/testdir/test_cd.vim, 4474 src/testdir/test_channel.vim, src/testdir/test_cursor_func.vim, 4475 src/testdir/test_eval_stuff.vim, src/testdir/test_expr.vim, 4476 src/testdir/test_filter_map.vim, src/testdir/test_fnamemodify.vim, 4477 src/testdir/test_functions.vim, src/testdir/test_getvar.vim, 4478 src/testdir/test_listdict.vim, src/testdir/test_messages.vim, 4479 src/testdir/test_partial.vim, src/testdir/test_quickfix.vim, 4480 src/testdir/test_tabpage.vim, src/testdir/test_vimscript.vim, 4481 src/testdir/test_window_cmd.vim, src/testdir/test_window_id.vim, 4482 src/testdir/test_writefile.vim 4483 4484 Patch 8.2.0635 4485 Problem: When using 256 colors DarkYellow does not show expected color. 4486 Solution: Use color 3 instead of 130. (Romain Lafourcade, closes #5985) 4487 Files: src/highlight.c 4488 4489 Patch 8.2.0636 4490 Problem: :messages does not show the maintainer when $LANG is unset. 4491 Solution: Call get_mess_lang() if available. (closes #5978) 4492 Files: src/message.c 4493 4494 Patch 8.2.0637 4495 Problem: Incsearch highlighting does not work for ":sort!". 4496 Solution: Skip over the exclamation point. (closes #5983) 4497 Files: src/ex_getln.c, src/testdir/test_search.vim, 4498 src/testdir/dumps/Test_incsearch_sort_02.dump 4499 4500 Patch 8.2.0638 4501 Problem: MS-Windows: messages test fails. 4502 Solution: Clear environment variables. 4503 Files: src/testdir/test_messages.vim 4504 4505 Patch 8.2.0639 4506 Problem: MS-Windows: messages test still fails. 4507 Solution: Filter out the maintainer message. 4508 Files: src/testdir/test_messages.vim 4509 4510 Patch 8.2.0640 4511 Problem: Vim9: expanding `=expr` does not work. 4512 Solution: Find wildcards in not compiled commands. Reorganize test files. 4513 Files: Filelist, src/vim9.h, src/vim9compile.c, src/vim9execute.c, 4514 src/testdir/vim9.vim, src/testdir/test_vim9_cmd.vim, 4515 src/testdir/test_vim9_disassemble.vim, 4516 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim, 4517 src/testdir/Make_all.mak 4518 4519 Patch 8.2.0641 4520 Problem: Vim9: `=expr` not expanded in :hardcopy and "syntax include". 4521 Solution: Add the EX_EXPAND flag. Expend "syntax include". 4522 Files: src/ex_cmds.h, src/vim9compile.c, src/vim9execute.c, 4523 src/testdir/test_vim9_cmd.vim 4524 4525 Patch 8.2.0642 4526 Problem: Vim9: using invalid index. 4527 Solution: Check index for being valid. Fix memory leak. 4528 Files: src/vim9compile.c, src/clientserver.c 4529 4530 Patch 8.2.0643 (after 8.2.0635) 4531 Problem: Terminal uses brown instead of dark yellow. (Romain Lafourcade) 4532 Solution: Use color index 3 instead of 130. (closes #5993) 4533 Files: src/terminal.c 4534 4535 Patch 8.2.0644 4536 Problem: Insufficient testing for invalid function arguments. 4537 Solution: Add more tests. (Yegappan Lakshmanan, closes #5988) 4538 Files: runtime/doc/eval.txt, src/testdir/test_bufline.vim, 4539 src/testdir/test_channel.vim, src/testdir/test_clientserver.vim, 4540 src/testdir/test_expr.vim, src/testdir/test_functions.vim, 4541 src/testdir/test_listener.vim, src/testdir/test_match.vim, 4542 src/testdir/test_menu.vim, src/testdir/test_quickfix.vim, 4543 src/testdir/test_registers.vim, src/testdir/test_reltime.vim, 4544 src/testdir/test_terminal.vim, src/testdir/test_textprop.vim, 4545 src/testdir/test_window_cmd.vim, src/testdir/test_window_id.vim, 4546 src/testdir/test_writefile.vim 4547 4548 Patch 8.2.0645 4549 Problem: MS-Windows terminal: CTRL-C does not get to child job. 4550 Solution: Remove CREATE_NEW_PROCESS_GROUP from CreateProcessW(). (Nobuhiro 4551 Takasaki, closes #5987) 4552 Files: src/terminal.c 4553 4554 Patch 8.2.0646 4555 Problem: t_Co uses the value of $COLORS in the GUI. (Masato Nishihata) 4556 Solution: Ignore $COLORS for the GUI. (closes #5992) 4557 Files: src/os_unix.c, src/term.c 4558 4559 Patch 8.2.0647 4560 Problem: MS-Windows: repeat count for events was not used. 4561 Solution: Check the repeat count. (Nobuhiro Takasaki, closes #5989) 4562 Files: src/os_win32.c 4563 4564 Patch 8.2.0648 4565 Problem: Semicolon search does not work in first line. 4566 Solution: Allow the cursor to be in line zero. (Christian Brabandt, 4567 closes #5996) 4568 Files: src/ex_docmd.c, src/testdir/test_cmdline.vim 4569 4570 Patch 8.2.0649 4571 Problem: Undo problem when an InsertLeave autocommand resets undo. (Kutsan 4572 Kaplan) 4573 Solution: Do not create a new undo block when leaving Insert mode. 4574 Files: src/edit.c, src/testdir/test_edit.vim 4575 4576 Patch 8.2.0650 4577 Problem: Vim9: script function can be deleted. 4578 Solution: Disallow deleting script function. Delete functions when sourcing 4579 a script again. 4580 Files: src/userfunc.c, src/proto/userfunc.pro, src/evalfunc.c, 4581 src/vim9compile.c, src/vim9execute.c, src/vim9script.c, 4582 src/scriptfile.c, src/testing.c, src/testdir/test_vim9_expr.vim, 4583 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim 4584 4585 Patch 8.2.0651 4586 Problem: Old style benchmark test still in list of distributed files. 4587 Solution: Remove the files from the list. 4588 Files: Filelist 4589 4590 Patch 8.2.0652 (after 8.2.0650) 4591 Problem: Compiler warning for char conversion. 4592 Solution: Use unsigned char buffer. 4593 Files: src/userfunc.c 4594 4595 Patch 8.2.0653 (after 8.2.0650) 4596 Problem: using uninitialized pointer. 4597 Solution: Move assignment up. (John Marriott) 4598 Files: src/userfunc.c, src/testdir/test_vim9_script.vim 4599 4600 Patch 8.2.0654 4601 Problem: Building with Python fails. 4602 Solution: Add missing argument. 4603 Files: src/if_py_both.h 4604 4605 Patch 8.2.0655 4606 Problem: Search code not sufficiently tested. 4607 Solution: Add more tests. (Yegappan Lakshmanan, closes #5999) 4608 Files: src/testdir/test_charsearch.vim, src/testdir/test_gn.vim, 4609 src/testdir/test_goto.vim, src/testdir/test_ins_complete.vim, 4610 src/testdir/test_normal.vim, src/testdir/test_search.vim, 4611 src/testdir/test_textformat.vim, src/testdir/test_textobjects.vim, 4612 src/testdir/test_visual.vim 4613 4614 Patch 8.2.0656 4615 Problem: MS-Windows: redrawing right screen edge may not be needed. 4616 Solution: Check the build version. (Nobuhiro Takasaki, closes #6002) 4617 Files: src/drawscreen.c, src/os_win32.c, src/proto/os_win32.pro 4618 4619 Patch 8.2.0657 4620 Problem: Vim9: no check if called variable is a FuncRef. 4621 Solution: Add a type check. 4622 Files: src/vim9compile.c, src/testdir/test_vim9_script.vim, 4623 src/testdir/test_vim9_expr.vim 4624 4625 Patch 8.2.0658 (after 8.2.0646) 4626 Problem: HP-UX build fails when setenv() is not defined. 4627 Solution: Change "colors" to "t_colors". (John Marriott) 4628 Files: src/os_unix.c 4629 4630 Patch 8.2.0659 4631 Problem: Vim9: no test for equal func type. 4632 Solution: Add a test. Improve type check. 4633 Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim 4634 4635 Patch 8.2.0660 4636 Problem: The search.c file is a bit big. 4637 Solution: Split off the text object code to a separate file. (Yegappan 4638 Lakshmanan, closes #6007) 4639 Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak, 4640 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md, 4641 src/proto.h, src/proto/search.pro, src/proto/textobject.pro, 4642 src/search.c, src/textobject.c 4643 4644 Patch 8.2.0661 4645 Problem: Eval test is still old style. 4646 Solution: Change into new style tests. (Yegappan Lakshmanan, closes #6009) 4647 Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms, 4648 src/testdir/test_eval.in, src/testdir/test_eval.ok, 4649 src/testdir/test_eval_stuff.vim 4650 4651 Patch 8.2.0662 4652 Problem: Cannot use input() in a channel callback. 4653 Solution: Reset vgetc_busy. (closes #6010) 4654 Files: src/globals.h, src/ex_getln.c, src/evalfunc.c, 4655 src/testdir/test_channel.vim 4656 4657 Patch 8.2.0663 4658 Problem: Not all systemd temp files are recognized. 4659 Solution: Add two more patterns. (Jamie Macdonald, closes #6003) 4660 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 4661 4662 Patch 8.2.0664 4663 Problem: Included undesired changes in Makefile. 4664 Solution: Revert the changes. 4665 Files: src/Makefile 4666 4667 Patch 8.2.0665 4668 Problem: Wrongly assuming Python executable is called "python". 4669 Solution: Use detected python command. (Ken Takata, closes #6016) 4670 Also use CheckFunction if possible. 4671 Files: src/testdir/test_terminal.vim, src/testdir/check.vim 4672 4673 Patch 8.2.0666 4674 Problem: Ruby test fails on MS-Windows. 4675 Solution: Remove the "maintainer" line. (Ken Takata, closes #6015) 4676 Files: src/testdir/shared.vim, src/testdir/test_messages.vim, 4677 src/testdir/test_ruby.vim 4678 4679 Patch 8.2.0667 4680 Problem: Cannot install Haiku version from source. 4681 Solution: Update Makefile and rdef file. (Emir Sarı, closes #6013) 4682 Files: Filelist, READMEdir/README_haiku.txt, runtime/doc/os_haiku.txt, 4683 src/Makefile, src/os_haiku.rdef.in, src/os_haiku.rdef 4684 4685 Patch 8.2.0668 4686 Problem: Compiler warning for int/size_t usage. 4687 Solution: Change "int" to "size_t". (Mike Williams) 4688 Files: src/vim9execute.c 4689 4690 Patch 8.2.0669 4691 Problem: MS-Windows: display in VTP is a bit slow. 4692 Solution: Optimize the code. (Nobuhiro Takasaki, closes #6014) 4693 Files: src/os_win32.c, src/screen.c 4694 4695 Patch 8.2.0670 4696 Problem: Cannot change window when evaluating 'completefunc'. 4697 Solution: Make a difference between not changing text or buffers and also 4698 not changing window. 4699 Files: src/ex_getln.c, src/beval.c, src/change.c, src/edit.c, src/eval.c, 4700 src/ex_docmd.c, src/insexpand.c, src/globals.h, src/indent.c, 4701 src/map.c, src/window.c, src/proto/ex_getln.pro, src/register.c, 4702 src/undo.c, src/testdir/test_edit.vim, 4703 src/testdir/test_ins_complete.vim, src/testdir/test_popup.vim 4704 4705 Patch 8.2.0671 4706 Problem: Haiku: compiler warnings. 4707 Solution: Avoid the warnings. Drop display_errors() copy. (Emir Sarı, 4708 closes #6018) 4709 Files: .gitignore, src/gui.c, src/gui_haiku.cc 4710 4711 Patch 8.2.0672 4712 Problem: Heredoc in scripts does not accept lower case marker. 4713 Solution: Allow lower case only in non-Vim scripts. (Ken Takata, 4714 closes #6019) 4715 Files: src/evalvars.c, src/testdir/test_lua.vim, 4716 src/testdir/test_perl.vim, src/testdir/test_python2.vim, 4717 src/testdir/test_python3.vim, src/testdir/test_pyx2.vim, 4718 src/testdir/test_pyx3.vim, src/testdir/test_ruby.vim 4719 4720 Patch 8.2.0673 4721 Problem: Cannot build Haiku in shadow directory. 4722 Solution: Add symlink. (Ozaki Kiichi, closes #6023) 4723 Files: src/Makefile 4724 4725 Patch 8.2.0674 4726 Problem: Some source files are too big. 4727 Solution: Move text formatting functions to a new file. (Yegappan 4728 Lakshmanan, closes #6021) 4729 Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak, 4730 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md, 4731 src/edit.c, src/getchar.c, src/ops.c, src/option.c, src/proto.h, 4732 src/proto/edit.pro, src/proto/getchar.pro, src/proto/ops.pro, 4733 src/proto/option.pro, src/proto/textformat.pro, src/textformat.c 4734 4735 Patch 8.2.0675 4736 Problem: Vim9: no support for closures. 4737 Solution: Do not re-use stack entries. 4738 Files: src/vim9compile.c, src/ex_docmd.c, src/proto/ex_docmd.pro, 4739 src/evalvars.c, src/proto/evalvars.pro 4740 4741 Patch 8.2.0676 4742 Problem: Pattern in list of distributed files does not match. 4743 Solution: Drop "testdir/test_[a-z]*.ok". Add CI sed files. 4744 Files: Filelist 4745 4746 Patch 8.2.0677 4747 Problem: Vim9: no support for closures. 4748 Solution: Find variables in the outer function scope, so long as the scope 4749 exists. 4750 Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c, 4751 src/vim9execute.c, src/structs.h, src/vim9.h, 4752 src/testdir/test_vim9_func.vim 4753 4754 Patch 8.2.0678 4755 Problem: Rare crash for popup menu. 4756 Solution: Check for NULL pointer. (Nobuhiro Takasaki, closes #6027) 4757 Files: src/popupmenu.c 4758 4759 Patch 8.2.0679 4760 Problem: Vim9: incomplete support for closures. 4761 Solution: At the end of a function copy arguments and local variables if 4762 they are still used by a referenced closure. 4763 Files: src/structs.h, src/vim9.h, src/vim9compile.c, src/vim9execute.c, 4764 src/testdir/test_vim9_func.vim 4765 4766 Patch 8.2.0680 4767 Problem: PTYGROUP and PTYMODE are unused. 4768 Solution: Remove from autoconf. (closes #6024) 4769 Files: src/configure.ac, src/auto/configure, src/config.h.in 4770 4771 Patch 8.2.0681 4772 Problem: Pattern for 'hlsearch' highlighting may leak. (Dominique Pellé) 4773 Solution: Call end_search_hl() to make sure the previous pattern is freed. 4774 (closes #6028) 4775 Files: src/screen.c 4776 4777 Patch 8.2.0682 4778 Problem: Vim9: parsing function argument type can get stuck. 4779 Solution: Bail out when not making progress. 4780 Files: src/vim9compile.c, src/testdir/test_vim9_func.vim 4781 4782 Patch 8.2.0683 4783 Problem: Vim9: parsing type does not always work. 4784 Solution: Handle func type without return value. Test more closures. 4785 Fix type check offset. Fix garbage collection. 4786 Files: src/vim9compile.c, src/vim9execute.c, src/proto/vim9execute.pro, 4787 src/userfunc.c, src/testdir/test_vim9_func.vim 4788 4789 Patch 8.2.0684 4790 Problem: Vim9: memory leak when using lambda. 4791 Solution: Move the funccal context to the partial. Free the function when 4792 exiting. 4793 Files: src/vim9.h, src/structs.h, src/vim9execute.c, src/userfunc.c, 4794 src/eval.c, src/testdir/test_vim9_func.vim 4795 4796 Patch 8.2.0685 (after 8.2.0684) 4797 Problem: Build failure. 4798 Solution: Include missing changes. 4799 Files: src/vim9compile.c 4800 4801 Patch 8.2.0686 4802 Problem: Formatoptions not sufficiently tested. 4803 Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6031) 4804 Files: src/testdir/test_normal.vim, src/testdir/test_textformat.vim 4805 4806 Patch 8.2.0687 4807 Problem: Some tests do not work on FreeBSD. 4808 Solution: Enable modeline. Use WaitFor() in more cases. (Ozaki Kiichi, 4809 closes #6036) 4810 Files: src/testdir/test_quickfix.vim, src/testdir/test_terminal.vim 4811 4812 Patch 8.2.0688 4813 Problem: Output clobbered if setting 'verbose' to see shell commands. 4814 Solution: Only output "Searching for" when 'verbose' is 11 or higher. 4815 Files: src/scriptfile.c, runtime/doc/options.txt 4816 4817 Patch 8.2.0689 4818 Problem: When using getaddrinfo() the error message is unclear. 4819 Solution: Use gai_strerror() to get the message. (Ozaki Kiichi, 4820 closes #6034) 4821 Files: src/channel.c 4822 4823 Patch 8.2.0690 4824 Problem: Line number of option set by modeline is wrong. 4825 Solution: Do not double the line number. (Ozaki Kiichi, closes #6035) 4826 Files: src/option.c, src/testdir/test_modeline.vim 4827 4828 Patch 8.2.0691 4829 Problem: Startup test fails. 4830 Solution: Adjust expected output from -V2 argument. 4831 Files: src/testdir/test_startup.vim 4832 4833 Patch 8.2.0692 4834 Problem: Startup test fails on MS-Windows. 4835 Solution: Allow for any path. 4836 Files: src/testdir/test_startup.vim 4837 4838 Patch 8.2.0693 4839 Problem: Closure using argument not tested. 4840 Solution: Add a test, make it work. 4841 Files: src/vim9compile.c, src/testdir/test_vim9_func.vim 4842 4843 Patch 8.2.0694 4844 Problem: Haiku: channel and terminal do not work. 4845 Solution: Close files when the job has finished. (Ozaki Kiichi, 4846 closes #6039) 4847 Files: src/channel.c, src/getchar.c, src/gui_haiku.cc, src/misc1.c 4848 4849 Patch 8.2.0695 4850 Problem: Vim9: cannot define a function inside a function. 4851 Solution: Initial support for :def inside :def. 4852 Files: src/userfunc.c, src/proto/userfunc.pro, src/vim9compile.c, 4853 src/vim9execute.c, src/testdir/test_vim9_func.vim 4854 4855 Patch 8.2.0696 4856 Problem: Vim9: nested function does not work properly 4857 Solution: Create a function reference. Check argument count. 4858 Files: src/vim9compile.c, src/vim9execute.c, 4859 src/testdir/test_vim9_func.vim 4860 4861 Patch 8.2.0697 4862 Problem: Vim9: memory leak when using nested function. 4863 Solution: Unreference function when deleting instructions. Adjust reference 4864 count for local variables. 4865 Files: src/vim9compile.c, src/vim9execute.c 4866 4867 Patch 8.2.0698 4868 Problem: Insert mode completion not fully tested. 4869 Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6041) 4870 Files: src/testdir/test_edit.vim, src/testdir/test_ins_complete.vim, 4871 src/testdir/test_textformat.vim 4872 4873 Patch 8.2.0699 4874 Problem: Vim9: not all errors tested. 4875 Solution: Add test for deleted function. Bail out on first error. 4876 Files: src/vim9execute.c, src/testdir/test_vim9_func.vim, 4877 src/testdir/test_vim9_expr.vim, src/testdir/vim9.vim 4878 4879 Patch 8.2.0700 4880 Problem: Vim9: converting error message to exception not tested. 4881 Solution: Test exception from error. Do not continue after :echoerr. 4882 Files: src/vim9execute.c, src/testdir/test_vim9_script.vim 4883 4884 Patch 8.2.0701 4885 Problem: Vim9 test fails without job feature. 4886 Solution: Add feature check. 4887 Files: src/testdir/test_vim9_script.vim 4888 4889 Patch 8.2.0702 4890 Problem: Running channel tests may leave running process behind. 4891 Solution: Make Python client exit when running into EOF. (Kurtis Rader, 4892 part of #6046) 4893 Files: src/testdir/test_channel_pipe.py 4894 4895 Patch 8.2.0703 4896 Problem: Vim9: closure cannot store value in outer context. 4897 Solution: Make storing value in outer context work. Make :disassemble 4898 accept a function reference. 4899 Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h, src/eval.c, 4900 src/structs.h, src/testdir/test_vim9_disassemble.vim, 4901 src/testdir/test_vim9_func.vim 4902 4903 Patch 8.2.0704 4904 Problem: Vim9: memory leak in disassemble test. 4905 Solution: Decrement refcount when creating funccal. 4906 Files: src/vim9execute.c 4907 4908 Patch 8.2.0705 4909 Problem: Indent tests don't run on CI for FreeBSD. 4910 Solution: Set modeline. (Ozaki Kiichi, closes #6048) 4911 Files: .cirrus.yml, runtime/indent/testdir/runtest.vim 4912 4913 Patch 8.2.0706 4914 Problem: Vim9: using assert_fails() causes function to finish. 4915 Solution: Check did_emsg instead of called_emsg. 4916 Files: src/vim9execute.c, src/testdir/test_vim9_disassemble.vim, 4917 src/testdir/test_vim9_script.vim 4918 4919 Patch 8.2.0707 4920 Problem: Vim9 function test fails. 4921 Solution: Adjust expected error code. 4922 Files: src/testdir/test_vim9_func.vim 4923 4924 Patch 8.2.0708 4925 Problem: Vim9: constant expressions are not simplified. 4926 Solution: Simplify string concatenation. 4927 Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim, 4928 src/testdir/test_vim9_expr.vim 4929 4930 Patch 8.2.0709 4931 Problem: MS-Windows: compiler warning for int vs size_t. 4932 Solution: Add type cast. (Mike Williams) 4933 Files: src/channel.c 4934 4935 Patch 8.2.0710 4936 Problem: Netbeans test sometimes fails. 4937 Solution: Mark any test using an external command as flaky. 4938 Files: src/testdir/shared.vim 4939 4940 Patch 8.2.0711 4941 Problem: With a long running Vim the temp directory might be cleared on 4942 some systems. 4943 Solution: Lock the temp directory. (closes #6044) 4944 Files: src/config.h.in, src/configure.ac, src/auto/configure, 4945 src/fileio.c, src/globals.h, src/os_unix.h 4946 4947 Patch 8.2.0712 4948 Problem: Various code not fully tested. 4949 Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6049) 4950 Files: src/testdir/test_functions.vim, src/testdir/test_options.vim, 4951 src/testdir/test_system.vim, src/testdir/test_termcodes.vim 4952 4953 Patch 8.2.0713 4954 Problem: The pam_environment file is not recognized. 4955 Solution: Add a filetype pattern for pamenv. (closes #6051) 4956 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 4957 4958 Patch 8.2.0714 4959 Problem: Vim9: handling constant expression does not scale. 4960 Solution: Use another solution, passing typval_T. 4961 Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim 4962 4963 Patch 8.2.0715 4964 Problem: Vim9: leaking memory. 4965 Solution: Free strings after concatenating them. 4966 Files: src/vim9compile.c 4967 4968 Patch 8.2.0716 4969 Problem: Vim9: another memory leak. 4970 Solution: Clear typval when failing. 4971 Files: src/vim9compile.c 4972 4973 Patch 8.2.0717 4974 Problem: Vim9: postponed constant expressions does not scale. 4975 Solution: Add a structure to pass around postponed constants. 4976 Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim 4977 4978 Patch 8.2.0718 4979 Problem: Gcc warning for returning pointer to local variable. (John 4980 Marriott) 4981 Solution: Return another pointer. 4982 Files: src/evalvars.c 4983 4984 Patch 8.2.0719 4985 Problem: Vim9: more expressions can be evaluated at compile time 4986 Solution: Recognize has('name'). 4987 Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim, 4988 src/testdir/test_vim9_expr.vim 4989 4990 Patch 8.2.0720 4991 Problem: Occasional exit when encountering an X error. (Manfred Lotz) 4992 Solution: On an X error do not exit, do preserve files. 4993 Files: src/os_unix.c 4994 4995 Patch 8.2.0721 4996 Problem: Vim9: leaking memory when skipping. 4997 Solution: Disable skipping in generate_ppconst(). 4998 Files: src/vim9compile.c 4999 5000 Patch 8.2.0722 5001 Problem: Vim9: not handling constant expression for elseif. 5002 Solution: Use postponed constants. Delete the code for evaluating a 5003 constant expression. 5004 Files: src/vim9compile.c 5005 5006 Patch 8.2.0723 5007 Problem: Vim9: nested constant expression not evaluated compile time. 5008 Solution: Use compile_expr1() for parenthesis. 5009 Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim 5010 5011 Patch 8.2.0724 5012 Problem: Vim9: appending to buffer/window/tab variable not tested 5013 Solution: Add a test. 5014 Files: src/testdir/test_vim9_script.vim 5015 5016 Patch 8.2.0725 5017 Problem: Vim9: cannot call a function declared later in Vim9 script. 5018 Solution: Make two passes through the script file. 5019 Files: src/scriptfile.c, src/proto/scriptfile.pro, src/vim9script.c, 5020 src/vim9compile.c, src/vim9execute.c, src/proto/vim9compile.pro, 5021 src/userfunc.c, src/proto/userfunc.pro, src/evalvars.c, 5022 src/proto/evalvars.pro, src/vim.h, 5023 src/testdir/test_vim9_disassemble.vim 5024 5025 Patch 8.2.0726 5026 Problem: Vim9: leaking memory when calling not compiled :def function. 5027 Solution: Check if function is compiled earlier. 5028 Files: src/vim9execute.c 5029 5030 Patch 8.2.0727 5031 Problem: MS-Windows: new gcc compiler does not support scanf format. 5032 Solution: Use "%ll" instead of "%I". (Ken Takata) 5033 Files: src/vim.h 5034 5035 Patch 8.2.0728 5036 Problem: Messages about a deadly signal are not left aligned. 5037 Solution: Output a CR before the NL. (Dominique Pellé, #6055) 5038 Files: src/misc1.c, src/os_unix.c 5039 5040 Patch 8.2.0729 5041 Problem: Vim9: When reloading a script variables are not cleared. 5042 Solution: When sourcing a script again clear all script-local variables. 5043 Files: src/dict.c, src/proto/dict.pro, src/scriptfile.c, 5044 src/testdir/test_vim9_script.vim 5045 5046 Patch 8.2.0730 5047 Problem: Vim9: Assignment to dict member does not work. 5048 Solution: Parse dict assignment. Implement getting dict member. 5049 Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/globals.h, 5050 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_cmd.vim, 5051 src/testdir/test_vim9_script.vim 5052 5053 Patch 8.2.0731 5054 Problem: Vim9: parsing declarations continues after :finish. 5055 Solution: Bail out when encountering :finish. 5056 Files: src/vim9script.c, src/testdir/test_vim9_script.vim 5057 5058 Patch 8.2.0732 5059 Problem: Vim9: storing value in dict messes up stack. 5060 Solution: Correct item count of stack. 5061 Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim 5062 5063 Patch 8.2.0733 5064 Problem: Vim9: assigning to dict or list argument does not work. 5065 Solution: Recognize an argument as assignment target. 5066 Files: src/vim9compile.c, src/testdir/test_vim9_func.vim 5067 5068 Patch 8.2.0734 5069 Problem: Vim9: leaking memory when using :finish. 5070 Solution: Do not check for next line in third pass. 5071 Files: src/scriptfile.c 5072 5073 Patch 8.2.0735 5074 Problem: Vim9: using uninitialized memory. 5075 Solution: Clear the arg_lvar field. 5076 Files: src/vim9compile.c 5077 5078 Patch 8.2.0736 5079 Problem: Some files not recognized as pamenv. 5080 Solution: Add pam_inv.conf. (closes #6065) 5081 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 5082 5083 Patch 8.2.0737 5084 Problem: When shell doesn't support CTRL-Z Vim still handles it. 5085 Solution: Ignore the STOP signal if it was ignored on startup. 5086 (Kurtis Rader, closes #5990, closes #6058) 5087 Files: src/os_unix.c 5088 5089 Patch 8.2.0738 5090 Problem: Mouse handling in a terminal window not well tested. 5091 Solution: Add tests. (Yegappan Lakshmanan, closes #6052) 5092 Files: src/testdir/term_util.vim, src/testdir/test_gui.vim, 5093 src/testdir/test_modeless.vim, src/testdir/test_terminal.vim 5094 5095 Patch 8.2.0739 5096 Problem: Incomplete profiling when exiting because of a deadly signal. 5097 Solution: Call __gcov_flush() if available. 5098 Files: src/os_unix.c, src/Makefile, .travis.yml 5099 5100 Patch 8.2.0740 5101 Problem: Minor message mistakes. 5102 Solution: Change vim to Vim and other fixes. 5103 Files: src/if_py_both.h, src/if_tcl.c, src/main.c 5104 5105 Patch 8.2.0741 5106 Problem: Python tests fail because of changed message. 5107 Solution: Adjust the expected messages (Dominique Pellé, closes #6066) 5108 Files: src/testdir/test86.ok, src/testdir/test87.ok 5109 5110 Patch 8.2.0742 5111 Problem: Handling of a TERM signal not tested. 5112 Solution: Add a test for SIGTERM. (Dominique Pellé, closes #6055) 5113 Files: src/testdir/test_signals.vim 5114 5115 Patch 8.2.0743 5116 Problem: Can move to another buffer from a terminal in popup window. 5117 Solution: Do not allow "gf" or editing a file. (closes #6072) 5118 Files: src/normal.c, src/ex_cmds.c, src/testdir/test_popupwin.vim 5119 5120 Patch 8.2.0744 5121 Problem: The name vim is not capitalized in a message. 5122 Solution: Use "Vim" instead of "vim". 5123 Files: src/main.c 5124 5125 Patch 8.2.0745 5126 Problem: Crash on exit when not all popups are closed. 5127 Solution: Close popups when freeing all memory. Disable checking for popup 5128 when editing a file for now. 5129 Files: src/misc2.c, src/ex_cmds.c 5130 5131 Patch 8.2.0746 5132 Problem: popup_clear() hangs when a popup can't be closed. 5133 Solution: Bail out when a popup can't be closed. 5134 Files: src/popupwin.c, src/proto/popupwin.pro 5135 5136 Patch 8.2.0747 5137 Problem: Cannot forcefully close all popups. 5138 Solution: Add the "force" argument to popup_clear(). Use it after running a 5139 test. Put back the check for a popup when editing a file. 5140 Files: runtime/doc/popup.txt, src/evalfunc.c, src/popupwin.c, 5141 src/proto/popupwin.pro, src/tag.c, src/window.c, src/misc2.c, 5142 src/ex_cmds.c, src/channel.c, src/testdir/runtest.vim, 5143 src/testdir/test_terminal.vim 5144 5145 Patch 8.2.0748 5146 Problem: Cannot get a list of all popups. 5147 Solution: Add popup_list(). Use it in the test runner. 5148 Files: runtime/doc/eval.txt, runtime/doc/popup.txt, src/popupwin.c, 5149 src/proto/popupwin.pro, src/evalfunc.c, 5150 src/testdir/test_popupwin.vim, src/testdir/runtest.vim 5151 5152 Patch 8.2.0749 5153 Problem: TERM signal test fails on FreeBSD. 5154 Solution: Do not check the messages, the may appear anywhere. (Dominique 5155 Pellé, closes #6075) 5156 Files: src/testdir/test_signals.vim 5157 5158 Patch 8.2.0750 5159 Problem: Netbeans test is a bit flaky. 5160 Solution: Allow for standard sign to be defined. Use WaitForAssert(). 5161 Files: src/testdir/test_netbeans.vim 5162 5163 Patch 8.2.0751 5164 Problem: Vim9: performance can be improved. 5165 Solution: Don't call break. Inline check for list materialize. Make an 5166 inline version of ga_grow(). 5167 Files: src/macros.h, src/evalfunc.c, src/misc2.c, 5168 src/proto/misc2.pro, src/channel.c, src/eval.c, src/evalbuffer.c, 5169 src/evalvars.c, src/filepath.c, src/highlight.c, src/insexpand.c, 5170 src/json.c, src/list.c, src/popupmenu.c, src/popupwin.c, 5171 src/userfunc.c, src/if_py_both.h 5172 5173 Patch 8.2.0752 5174 Problem: Terminal in popup window test is a bit flaky. 5175 Solution: Wait for shell job status to be "run". Mark as flaky test. 5176 Files: src/testdir/test_popupwin.vim 5177 5178 Patch 8.2.0753 5179 Problem: Vim9: expressions are evaluated in the discovery phase. 5180 Solution: Bail out if an expression is not a constant. Require a type for 5181 declared constants. 5182 Files: src/vim.h, src/evalvars.c, src/eval.c, src/ex_eval.c, 5183 src/evalfunc.c, src/userfunc.c, src/dict.c, src/list.c, 5184 src/vim9compile.c, src/testdir/test_vim9_script.vim, 5185 src/testdir/test_vim9_disassemble.vim 5186 5187 Patch 8.2.0754 5188 Problem: Vim9: No test for forward declaration. 5189 Solution: Add a test. 5190 Files: src/testdir/test_vim9_script.vim 5191 5192 Patch 8.2.0755 5193 Problem: Vim9: No error when variable initializer is not a constant. 5194 Solution: Return FAIL when trying to get a variable value. Do not execute a 5195 script when an error is detected in the first or second phase. 5196 Files: src/eval.c, src/vim9script.c, src/testdir/test_vim9_script.vim 5197 5198 Patch 8.2.0756 (after 8.2.0249) 5199 Problem: MS-Windows: still a compiler warning. 5200 Solution: Move flag to another place in the Makefile. (Ken Takata, 5201 closes #6083) 5202 Files: src/Make_mvc.mak 5203 5204 Patch 8.2.0757 5205 Problem: Vim9: no test for MEMBER instruction. 5206 Solution: Add a test. Make matches stricter. 5207 Files: src/testdir/test_vim9_disassemble.vim 5208 5209 Patch 8.2.0758 5210 Problem: Vim9: no test for STORELIST and STOREDICT. 5211 Solution: Add a test. Make matches stricter. 5212 Files: src/testdir/test_vim9_disassemble.vim 5213 5214 Patch 8.2.0759 (after 8.2.0751) 5215 Problem: Vim9: missing changes for performance improvements 5216 Solution: Use GA_GROW(). Don't call breakcheck so often. 5217 Files: src/vim9execute.c 5218 5219 Patch 8.2.0760 5220 Problem: Vim9: dict member errors not tested. 5221 Solution: Delete unreachable error. Add tests. 5222 Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim 5223 5224 Patch 8.2.0761 5225 Problem: Vim9: instructions not tested 5226 Solution: Use a variable instead of a constant. 5227 Files: src/testdir/test_vim9_expr.vim 5228 5229 Patch 8.2.0762 5230 Problem: Buffer is not considered modified after setting crypt key. 5231 Solution: Set the modified flag. (Christian Brabandt, closes #6082) 5232 Files: src/optionstr.c, src/testdir/test_crypt.vim 5233 5234 Patch 8.2.0763 5235 Problem: GUI test fails without the terminal feature. 5236 Solution: Check the terminal feature is supported. (Ken Takata, 5237 closes #6084) 5238 Files: src/testdir/test_gui.vim 5239 5240 Patch 8.2.0764 5241 Problem: Vim9: assigning to option not fully tested. 5242 Solution: Add more test cases. Allow using any type for assignment. 5243 Files: src/vim9compile.c, src/vim9execute.c, 5244 src/testdir/test_vim9_script.vim 5245 5246 Patch 8.2.0765 5247 Problem: In the GUI can't use all the modifiers. (Andri Möll) 5248 Solution: Do not apply Alt/Meta early, do it later like with the terminal. 5249 Avoid the Motif test from crashing. 5250 Files: src/gui_gtk_x11.c, src/gui_x11.c, src/gui_mac.c, src/gui_w32.c, 5251 src/gui_motif.c 5252 5253 Patch 8.2.0766 5254 Problem: Display error when using 'number' and 'breakindent'. 5255 Solution: Adjust extra spaces in the first row. (Ken Takata, closes #6089, 5256 closes #5986) 5257 Files: src/drawline.c, src/testdir/test_breakindent.vim 5258 5259 Patch 8.2.0767 5260 Problem: ModifyOtherKeys active when using a shell command in autocmd. 5261 Solution: Output T_CTE when going to cooked mode. (closes 5617) 5262 Files: src/term.c 5263 5264 Patch 8.2.0768 5265 Problem: Vim9: memory leak in script test. 5266 Solution: Clear typval before giving an error message. 5267 Files: src/vim9execute.c 5268 5269 Patch 8.2.0769 5270 Problem: VimLeavePre not triggered when Vim is terminated. 5271 Solution: Unblock autocommands. 5272 Files: src/main.c, src/testdir/test_signals.vim 5273 5274 Patch 8.2.0770 5275 Problem: Cannot map CTRL-B when using the GUI. 5276 Solution: Reset the CTRL modifier when used. (closes #6092) 5277 Files: src/gui_gtk_x11.c 5278 5279 Patch 8.2.0771 5280 Problem: Vim9: cannot call a compiled closure from not compiled code. 5281 Solution: Pass funcexe to call_user_func(). 5282 Files: src/userfunc.c, src/vim9execute.c, src/proto/vim9execute.pro, 5283 src/eval.c, src/testdir/test_vim9_func.vim 5284 5285 Patch 8.2.0772 5286 Problem: Vim9: some variable initializations not tested. 5287 Solution: Add a few more tests 5288 Files: src/testdir/test_vim9_script.vim 5289 5290 Patch 8.2.0773 5291 Problem: Switching to raw mode every time ":" is used. 5292 Solution: When executing a shell set cur_tmode to TMODE_UNKNOWN, so that the 5293 next time TMODE_RAW is used it is set, but not every time. 5294 Files: src/term.h, src/os_unix.c, src/term.c, src/os_amiga.c, 5295 src/os_win32.c 5296 5297 Patch 8.2.0774 5298 Problem: t_TI and t_TE are output when using 'visualbell'. (Dominique 5299 Pellé) 5300 Solution: Do not change the terminal mode for a short sleep. Do not output 5301 t_TI and t_TE when switching to/from TMODE_SLEEP. Make tmode an 5302 enum. 5303 Files: src/os_unix.c, src/proto/os_unix.pro, src/os_amiga.c, 5304 src/proto/os_amiga.pro, src/os_mswin.c, src/proto/os_mswin.pro, 5305 src/os_vms.c, src/proto/os_vms.pro, src/os_win32.c, 5306 src/proto/os_win32.pro, src/term.c, src/term.h, src/globals.h 5307 5308 Patch 8.2.0775 5309 Problem: Not easy to call a Vim function from Lua. 5310 Solution: Add vim.call() and vim.fn(). (Prabir Shrestha, closes #6063) 5311 Files: runtime/doc/if_lua.txt, src/if_lua.c, src/testdir/test_lua.vim 5312 5313 Patch 8.2.0776 5314 Problem: Libvterm code lags behind the upstream version. 5315 Solution: Include revision 719. 5316 Files: Filelist, src/libvterm/README, src/libvterm/Makefile, 5317 src/libvterm/find-wide-chars.pl, src/libvterm/src/fullwidth.inc, 5318 src/libvterm/src/unicode.c 5319 5320 Patch 8.2.0777 (after 8.2.0776) 5321 Problem: Terminal test fails. 5322 Solution: Adjust character position for double-wide characters. 5323 Files: src/testdir/test_terminal.vim 5324 5325 Patch 8.2.0778 5326 Problem: Libvterm code lags behind the upstream version. 5327 Solution: Include revisions 720 - 723. 5328 Files: src/libvterm/t/10state_putglyph.test, src/libvterm/Makefile, 5329 src/libvterm/t/run-test.pl, src/libvterm/src/state.c, 5330 src/libvterm/t/92lp1805050.test 5331 5332 Patch 8.2.0779 5333 Problem: Tmode_T not used everywhere. 5334 Solution: Also use tmode_T for settmode(). 5335 Files: src/term.c, src/proto/term.pro 5336 5337 Patch 8.2.0780 5338 Problem: Libvterm code lags behind the upstream version. 5339 Solution: Include revisions 724 - 726. 5340 Files: Filelist, src/libvterm/t/40screen_ascii.test, 5341 src/libvterm/t/60screen_ascii.test, 5342 src/libvterm/t/41screen_unicode.test, 5343 src/libvterm/t/61screen_unicode.test, 5344 src/libvterm/t/42screen_damage.test, 5345 src/libvterm/t/62screen_damage.test, 5346 src/libvterm/t/43screen_resize.test, 5347 src/libvterm/t/63screen_resize.test, 5348 src/libvterm/t/44screen_pen.test, 5349 src/libvterm/t/64screen_pen.test, 5350 src/libvterm/t/45screen_protect.test, 5351 src/libvterm/t/65screen_protect.test, 5352 src/libvterm/t/46screen_extent.test, 5353 src/libvterm/t/66screen_extent.test, 5354 src/libvterm/t/47screen_dbl_wh.test, 5355 src/libvterm/t/67screen_dbl_wh.test, 5356 src/libvterm/t/48screen_termprops.test, 5357 src/libvterm/t/68screen_termprops.test, src/libvterm/t/30pen.test, 5358 src/libvterm/t/30state_pen.test, src/libvterm/t/92lp1805050.test, 5359 src/libvterm/t/31state_rep.test, src/libvterm/doc/seqs.txt 5360 5361 Patch 8.2.0781 (after 8.2.0775) 5362 Problem: Compiler warning for not using value in Lua. 5363 Solution: Add "(void)". 5364 Files: src/if_lua.c 5365 5366 Patch 8.2.0782 5367 Problem: Cannot build with Lua on MS-Windows. 5368 Solution: Add DLL symbol for luaL_Loadstring. (Ken Takata) 5369 Files: src/if_lua.c 5370 5371 Patch 8.2.0783 5372 Problem: Libvterm code lags behind the upstream version. 5373 Solution: Include revisions 728 - 729. 5374 Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Makefile, 5375 src/libvterm/src/keyboard.c, src/libvterm/t/25state_input.test, 5376 src/libvterm/t/harness.c, src/libvterm/src/vterm.c, 5377 src/libvterm/src/vterm_internal.h, 5378 src/libvterm/t/26state_query.test 5379 5380 Patch 8.2.0784 5381 Problem: Libvterm code lags behind the upstream version. 5382 Solution: Include revisions 730 - 733. 5383 Files: src/libvterm/src/vterm.c, src/libvterm/src/state.c, 5384 src/libvterm/include/vterm.h, src/libvterm/src/vterm_internal.h, 5385 src/libvterm/t/harness.c 5386 5387 Patch 8.2.0785 5388 Problem: Libvterm code lags behind the upstream version. 5389 Solution: Include revisions 734 - 740. 5390 Files: src/libvterm/include/vterm.h, src/libvterm/src/pen.c, 5391 src/libvterm/src/vterm.c, src/libvterm/doc/seqs.txt, 5392 src/libvterm/t/30state_pen.test, src/libvterm/t/run-test.pl, 5393 src/libvterm/Makefile, src/libvterm/CONTRIBUTING 5394 5395 Patch 8.2.0786 5396 Problem: Channel test is flaky on FreeBSD. 5397 Solution: Set the socket TCP_NODELAY option. Adjust expected line count in 5398 netbeans test. (Ozaki Kiichi, closes #6097) 5399 Files: src/testdir/test_channel.py, src/testdir/test_netbeans.vim 5400 5401 Patch 8.2.0787 5402 Problem: Libvterm code lags behind the upstream version. 5403 Solution: Include revisions 741 - 742. 5404 Files: Filelist, src/libvterm/src/screen.c 5405 5406 Patch 8.2.0788 5407 Problem: Memory leak in libvterm. 5408 Solution: free tmpbuffer. 5409 Files: src/libvterm/src/vterm.c 5410 5411 Patch 8.2.0789 5412 Problem: Vim9: expression testing lost coverage using constants. 5413 Solution: Use a few variables instead of constants. 5414 Files: src/testdir/test_vim9_expr.vim 5415 5416 Patch 8.2.0790 5417 Problem: Vim9: list index not well tested. 5418 Solution: Add a few more tests. 5419 Files: src/testdir/test_vim9_script.vim 5420 5421 Patch 8.2.0791 5422 Problem: A second popup window with terminal causes trouble. 5423 Solution: Disallow opening a second terminal-popup window. (closes #6101, 5424 closes #6103) Avoid defaulting to an invalid line number. 5425 Files: runtime/doc/popup.txt, src/popupwin.c, src/ex_docmd.c, 5426 src/testdir/test_popupwin.vim, src/testdir/test_terminal.vim 5427 5428 Patch 8.2.0792 5429 Problem: Build failure with small features. 5430 Solution: Add #ifdef. 5431 Files: src/popupwin.c 5432 5433 Patch 8.2.0793 5434 Problem: MS-Windows: cannot build GUI with small features. (Michael Soyka) 5435 Solution: Add #ifdef around use of windowsVersion. (Ken Takata) 5436 Files: src/os_win32.c 5437 5438 Patch 8.2.0794 5439 Problem: Libvterm code lags behind the upstream version. 5440 Solution: Include revisions 743 - 747. 5441 Files: src/libvterm/src/state.c, src/libvterm/src/screen.c, 5442 src/libvterm/src/vterm_internal.h, src/libvterm/include/vterm.h, 5443 src/libvterm/t/67screen_dbl_wh.test, src/libvterm/t/run-test.pl 5444 5445 Patch 8.2.0795 5446 Problem: Libvterm code lags behind the upstream version. 5447 Solution: Include revisions 748 - 754. 5448 Files: src/libvterm/include/vterm.h, src/libvterm/src/screen.c, 5449 src/libvterm/src/state.c, src/libvterm/t/32state_flow.test, 5450 src/libvterm/t/60screen_ascii.test, 5451 src/libvterm/t/62screen_damage.test, 5452 src/libvterm/t/63screen_resize.test, src/libvterm/t/harness.c, 5453 src/libvterm/t/run-test.pl 5454 5455 Patch 8.2.0796 5456 Problem: MS-Windows: compiler can't handle C99 construct in libvterm. 5457 Solution: Change to C90 construct. 5458 Files: src/libvterm/src/state.c 5459 5460 Patch 8.2.0797 5461 Problem: MS-Windows: compiler still can't handle C99 construct. 5462 Solution: Change to C90 construct. (Dominique Pellé, closes #6106) 5463 Files: src/libvterm/src/state.c 5464 5465 Patch 8.2.0798 5466 Problem: Libvterm code lags behind the upstream version. 5467 Solution: Include revisions 755 - 758. 5468 Files: src/libvterm/t/run-test.pl, src/libvterm/src/screen.c, 5469 src/libvterm/t/harness.c, src/libvterm/include/vterm.h, 5470 src/libvterm/src/parser.c, src/libvterm/src/state.c, 5471 src/libvterm/src/vterm.c, src/libvterm/src/vterm_internal.h, 5472 src/libvterm/t/02parser.test, 5473 src/libvterm/t/18state_termprops.test, 5474 src/libvterm/t/29state_fallback.test, 5475 src/libvterm/t/68screen_termprops.test, src/terminal.c 5476 5477 Patch 8.2.0799 5478 Problem: Build fails if snprintf is not available. 5479 Solution: Use vim_snprintf(). 5480 Files: src/libvterm/src/state.c 5481 5482 Patch 8.2.0800 5483 Problem: Errors from failing test are unclear. 5484 Solution: Include text where parsing failed. 5485 Files: src/json.c, src/testdir/test_json.vim 5486 5487 Patch 8.2.0801 5488 Problem: Terminal test fails on Mac. 5489 Solution: Concatenate OSC pieces. 5490 Files: src/terminal.c 5491 5492 Patch 8.2.0802 5493 Problem: Libvterm code lags behind the upstream version. 5494 Solution: Include revisions 759 - 762. 5495 Files: src/terminal.c, src/libvterm/doc/seqs.txt, 5496 src/libvterm/include/vterm.h, src/libvterm/src/pen.c, 5497 src/libvterm/src/screen.c, src/libvterm/src/state.c, 5498 src/libvterm/src/vterm.c, src/libvterm/src/vterm_internal.h, 5499 src/libvterm/t/harness.c, src/libvterm/t/12state_scroll.test 5500 5501 Patch 8.2.0803 5502 Problem: Libvterm code lags behind the upstream version. 5503 Solution: Include revisions 764 - 767 5504 Files: src/Makefile, src/libvterm/src/parser.c, 5505 src/libvterm/src/vterm_internal.h, src/libvterm/t/02parser.test, 5506 src/libvterm/t/run-test.pl, src/libvterm/find-wide-chars.pl, 5507 src/libvterm/src/fullwidth.inc 5508 5509 Patch 8.2.0804 5510 Problem: Libvterm code lags behind the upstream version. 5511 Solution: Include revision 727, but add the index instead of switching 5512 between RGB and indexed. 5513 Files: src/terminal.c, src/term.c, src/libvterm/include/vterm.h, 5514 src/libvterm/src/pen.c, src/libvterm/src/screen.c, 5515 src/libvterm/src/vterm_internal.h, 5516 src/libvterm/t/30state_pen.test, 5517 src/libvterm/t/harness.c, src/libvterm/src/state.c, 5518 src/libvterm/t/26state_query.test, 5519 src/libvterm/t/64screen_pen.test 5520 5521 Patch 8.2.0805 5522 Problem: Terminal key codes test fails on some systems. 5523 Solution: Skip keypad 3 and 9. (Yegappan Lakshmanan, closes #6070) 5524 Files: src/testdir/test_terminal.vim 5525 5526 Patch 8.2.0806 5527 Problem: using "func!" after vim9script gives confusing error. 5528 Solution: Give E477. (closes #6107) 5529 Files: src/vim9script.c, src/testdir/test_vim9_script.vim 5530 5531 Patch 8.2.0807 5532 Problem: Cannot easily restore a mapping. 5533 Solution: Add mapset(). 5534 Files: runtime/doc/eval.txt, src/map.c, src/proto/map.pro, src/evalfunc.c 5535 src/testdir/test_maparg.vim 5536 5537 Patch 8.2.0808 5538 Problem: Not enough testing for the terminal window. 5539 Solution: Add more tests. (Yegappan Lakshmanan, closes #6069) Fix memory 5540 leak. 5541 Files: src/testdir/test_gui.vim, src/testdir/test_terminal.vim, 5542 src/terminal.c 5543 5544 Patch 8.2.0809 5545 Problem: Build failure with small features. (Tony Mechelynck) 5546 Solution: Move "expr" inside #ifdef. 5547 Files: src/map.c 5548 5549 Patch 8.2.0810 5550 Problem: Error when appending "tagfile" to 'wildoptions'. 5551 Solution: use flags P_ONECOMMA and P_NODUP. (Dmitri Vereshchagin, 5552 closes #6105) 5553 Files: src/optiondefs.h, src/testdir/test_options.vim 5554 5555 Patch 8.2.0811 5556 Problem: Terminal keycode test is flaky. 5557 Solution: Use WaitForAssert() 5558 Files: src/testdir/test_terminal.vim 5559 5560 Patch 8.2.0812 5561 Problem: mapset() does not properly handle <> notation. 5562 Solution: Convert <> codes. (closes #6116) 5563 Files: src/map.c, src/testdir/test_maparg.vim 5564 5565 Patch 8.2.0813 5566 Problem: libvterm code is slightly different from upstream. 5567 Solution: Use upstream text to avoid future merge problems. Mainly comment 5568 style changes. 5569 Files: src/libvterm/include/vterm.h, src/libvterm/src/rect.h, 5570 src/libvterm/src/utf8.h, src/libvterm/src/vterm_internal.h, 5571 src/libvterm/src/encoding.c, src/libvterm/src/keyboard.c, 5572 src/libvterm/src/mouse.c, src/libvterm/src/parser.c, 5573 src/libvterm/src/pen.c, src/libvterm/src/screen.c, 5574 src/libvterm/src/state.c, src/libvterm/src/unicode.c, 5575 src/libvterm/src/vterm.c 5576 5577 Patch 8.2.0814 5578 Problem: Clang warning for implicit conversion. 5579 Solution: Add type cast. (Dominique Pellé, closes #6124) 5580 Files: src/evalfunc.c 5581 5582 Patch 8.2.0815 5583 Problem: maparg() does not provide enough information for mapset(). 5584 Solution: Add "lhsraw" and "lhsrawalt" items. Drop "simplified" 5585 Files: src/map.c, runtime/doc/eval.txt, src/testdir/test_maparg.vim 5586 5587 Patch 8.2.0816 5588 Problem: Terminal test fails when compiled with Athena. 5589 Solution: Do give an error when the GUI is not running. (hint by Dominique 5590 Pellé, closes #5928, closes #6132) 5591 Files: src/globals.h, src/gui.c, src/term.c, src/channel.c, 5592 src/testdir/test_terminal.vim 5593 5594 Patch 8.2.0817 5595 Problem: Not enough memory allocated when converting string with special 5596 character. 5597 Solution: Reserve space for modifier code. (closes #6130) 5598 Files: src/eval.c, src/testdir/test_functions.vim 5599 5600 Patch 8.2.0818 5601 Problem: Vim9: using a discovery phase doesn't work well. 5602 Solution: Remove the discovery phase, instead compile a function only when 5603 it is used. Add :defcompile to compile def functions earlier. 5604 Files: runtime/doc/vim9.txt, src/vim9script.c, src/structs.h, 5605 src/userfunc.c, src/proto/userfunc.pro, src/eval.c, 5606 src/evalvars.c, src/proto/evalvars.pro, src/vim9compile.c, 5607 src/proto/vim9compile.pro, src/vim9execute.c, src/ex_cmds.h, 5608 src/ex_docmd.c, src/ex_cmdidxs.h, src/vim.h, src/testdir/vim9.vim, 5609 src/testdir/test_vim9_disassemble.vim, 5610 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim 5611 5612 Patch 8.2.0819 5613 Problem: Compiler warning for unused variable. 5614 Solution: Remove the variable. 5615 Files: src/evalvars.c 5616 5617 Patch 8.2.0820 5618 Problem: Vim9: function type isn't set until compiled. 5619 Solution: Set function type early. 5620 Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c, 5621 src/testdir/test_vim9_func.vim 5622 5623 Patch 8.2.0821 5624 Problem: Vim9: memory leak in expr test. 5625 Solution: Do not decrement the length of the list of functions if the 5626 current function is not at the end. 5627 Files: src/vim9compile.c 5628 5629 Patch 8.2.0822 5630 Problem: Vim9: code left over from discovery phase. 5631 Solution: Remove the dead code. 5632 Files: src/scriptfile.c, src/proto/scriptfile.pro, src/ex_cmds.h, 5633 src/evalvars.c, src/proto/evalvars.pro, src/ex_docmd.c 5634 5635 Patch 8.2.0823 5636 Problem: Vim9: script reload test is disabled. 5637 Solution: Compile a function in the context of the script where it was 5638 defined. Set execution stack for compiled function. Add a test 5639 that an error is reported for the right file/function. 5640 Files: src/vim9compile.c, src/vim9execute.c, src/scriptfile.c, 5641 src/proto/scriptfile.pro, src/userfunc.c, src/globals.h, 5642 src/structs.h, src/ex_docmd.c, src/ex_eval.c, 5643 src/testdir/test_vim9_script.vim 5644 5645 Patch 8.2.0824 (after 8.2.0817) 5646 Problem: Still not enough memory allocated when converting string with 5647 special character. 5648 Solution: Reserve space for expanding K_SPECIAL. (closes #6130) 5649 Files: src/eval.c, src/testdir/test_functions.vim 5650 5651 Patch 8.2.0825 5652 Problem: def_function() may return pointer that was freed. 5653 Solution: Set "fp" to NULL after freeing it. 5654 Files: src/userfunc.c 5655 5656 Patch 8.2.0826 5657 Problem: Vim9: crash in :defcompile. 5658 Solution: Restart the loop after a call to compile_def_function() caused the 5659 hash table to resize. 5660 Files: src/userfunc.c 5661 5662 Patch 8.2.0827 5663 Problem: Vim9: crash in :defcompile. 5664 Solution: Fix off-by-one error. 5665 Files: src/userfunc.c 5666 5667 Patch 8.2.0828 5668 Problem: Travis: regexp pattern doesn't work everywhere. 5669 Solution: Use [:blank:] instead of \b. (Ozaki Kiichi, closes #6146) 5670 Files: .travis.yml, ci/config.mk.clang.sed, ci/config.mk.gcc.sed, 5671 ci/config.mk.sed, src/if_ruby.c 5672 5673 Patch 8.2.0829 5674 Problem: filter() may give misleading error message. 5675 Solution: Also mention Blob as an allowed argument. 5676 Files: src/list.c, src/testdir/test_filter_map.vim 5677 5678 Patch 8.2.0830 5679 Problem: Motif: can't map "!". (Ben Jackson) 5680 Solution: Remove the shift modifier if it's already included in the key. 5681 (closes #6147) 5682 Files: src/gui_x11.c 5683 5684 Patch 8.2.0831 5685 Problem: Compiler warnings for integer sizes. 5686 Solution: Add type casts. (Mike Williams) 5687 Files: src/libvterm/src/pen.c, src/terminal.c 5688 5689 Patch 8.2.0832 5690 Problem: Compiler warning for uninitialized variable. (Tony Mechelynck) 5691 Solution: Add initial value. 5692 Files: src/map.c 5693 5694 Patch 8.2.0833 5695 Problem: Mapping <C-bslash> doesn't work in the GUI. 5696 Solution: Reset seenModifyOtherKeys when starting the GUI. (closes #6150) 5697 Files: src/gui.c 5698 5699 Patch 8.2.0834 5700 Problem: :drop command in terminal popup causes problems. 5701 Solution: Check for using a popup window. (closes #6151) 5702 Files: src/ex_cmds.c, src/testdir/test_popupwin.vim 5703 5704 Patch 8.2.0835 5705 Problem: Motif: mapping <C-bslash> still doesn't work. 5706 Solution: Accept CSI for K_SPECIAL. Do not apply CTRL to the character 5707 early. (closes #6150) 5708 Files: src/getchar.c, src/gui_x11.c 5709 5710 Patch 8.2.0836 5711 Problem: Not all :cdo output is visible. 5712 Solution: Reset 'shortmess' temporarily. (Yegappan Lakshmanan, closes #6155) 5713 Files: src/ex_cmds2.c, src/testdir/test_cdo.vim 5714 5715 Patch 8.2.0837 5716 Problem: Compiler warning for value set but not used. 5717 Solution: Move variable inside #ifdef. 5718 Files: src/channel.c 5719 5720 Patch 8.2.0838 5721 Problem: MS-Windows: compiler warning for uninitialized variables. 5722 Solution: Initialize variables. 5723 Files: src/screen.c 5724 5725 Patch 8.2.0839 5726 Problem: Dropping modifier when putting a character back in typeahead. 5727 Solution: Add modifier to ins_char_typebuf(). (closes #6158) 5728 Files: src/getchar.c, src/proto/getchar.pro, src/message.c, src/normal.c, 5729 src/terminal.c, src/globals.h, src/testdir/test_messages.vim 5730 5731 Patch 8.2.0840 5732 Problem: Search match count wrong when only match is in fold. 5733 Solution: Update search stats when in a closed fold. (Christian Brabandt, 5734 closes #6160, closes #6152) 5735 Files: src/search.c, src/testdir/dumps/Test_searchstat_3.dump, 5736 src/testdir/test_search_stat.vim 5737 5738 Patch 8.2.0841 5739 Problem: 'verbose' value 16 causes duplicate output. 5740 Solution: Combine levels 15 and 16 into one message. (Christian Brabandt, 5741 closes #6153) 5742 Files: runtime/doc/options.txt, src/ex_docmd.c 5743 5744 Patch 8.2.0842 (after 8.2.0837) 5745 Problem: MS-Windows: channel tests fail. 5746 Solution: Adjust #ifdefs. (closes #6162) 5747 Files: src/channel.c 5748 5749 Patch 8.2.0843 5750 Problem: Filetype elm not detected. 5751 Solution: Recognize *.elm files. (closes #6157) 5752 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 5753 5754 Patch 8.2.0844 5755 Problem: Text properties crossing lines not handled correctly. 5756 Solution: When saving for undo include an extra line when needed and do not 5757 adjust properties when undoing. (Axel Forsman, closes #5875) 5758 Files: src/memline.c, src/proto/memline.pro, src/undo.c, src/structs.h 5759 5760 Patch 8.2.0845 5761 Problem: Text properties crossing lines not handled correctly. 5762 Solution: When joining lines merge text properties if possible. 5763 (Axel Forsman, closes #5839, closes #5683) 5764 Files: src/testdir/test_textprop.vim, src/memline.c, src/ops.c, 5765 src/proto/textprop.pro, src/textprop.c, 5766 src/testdir/dumps/Test_textprop_01.dump 5767 5768 Patch 8.2.0846 5769 Problem: Build failure with small features. 5770 Solution: Add #ifdef. 5771 Files: src/undo.c 5772 5773 Patch 8.2.0847 5774 Problem: Typval related code is spread out. 5775 Solution: Move code to new typval.c file. (Yegappan Lakshmanan, closes #6093) 5776 Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak, 5777 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md, 5778 src/eval.c, src/evalfunc.c, src/globals.h, src/proto.h, 5779 src/proto/eval.pro, src/proto/evalfunc.pro, src/proto/typval.pro, 5780 src/typval.c 5781 5782 Patch 8.2.0848 5783 Problem: MS-Windows: the Windows terminal code has some flaws. 5784 Solution: Do not redraw the right edge of the screen. Remove the background 5785 color trick. Flush the screen output buffer often. (Nobuhiro 5786 Takasaki, #5546) 5787 Files: src/os_win32.c, src/proto/os_win32.pro, src/term.c 5788 5789 Patch 8.2.0849 5790 Problem: BeOS code is not maintained and probably unused. 5791 Solution: Remove the BeOS code. (Emir Sarı, closes #5817) 5792 Files: Filelist, src/Makefile, src/configure.ac, src/auto/configure, 5793 src/evalfunc.c, src/normal.c, src/os_beos.c, src/os_beos.h, 5794 src/os_beos.rsrc, src/os_unix.c, src/proto.h, 5795 src/proto/os_beos.pro, src/pty.c, src/screen.c, src/term.c, 5796 src/testdir/test_functions.vim, src/ui.c, src/vim.h 5797 5798 Patch 8.2.0850 5799 Problem: MS-Windows: exepath() works differently from cmd.exe. 5800 Solution: Make exepath() work better on MS-Windows. (closes #6115) 5801 Files: runtime/doc/eval.txt, src/os_win32.c, 5802 src/testdir/test_functions.vim 5803 5804 Patch 8.2.0851 (after 8.2.0833) 5805 Problem: Can't distinguish <M-a> from accented "a" in the GUI. 5806 Solution: Use another way to make mapping <C-bslash> work. (closes #6163) 5807 Files: src/gui.c, src/gui_gtk_x11.c, src/getchar.c 5808 5809 Patch 8.2.0852 5810 Problem: Cannot map CTRL-S on some systems. 5811 Solution: Do not use CTRL-S for flow control. 5812 Files: src/os_unix.c 5813 5814 Patch 8.2.0853 5815 Problem: ml_delete() often called with FALSE argument. 5816 Solution: Use ml_delete_flags(x, ML_DEL_MESSAGE) when argument is TRUE. 5817 Files: src/buffer.c, src/change.c, src/diff.c, src/evalbuffer.c, 5818 src/ex_cmds.c, src/ex_docmd.c, src/fileio.c, src/if_lua.c, 5819 src/if_mzsch.c, src/if_ruby.c, src/if_tcl.c, src/normal.c, 5820 src/popupmenu.c, src/popupwin.c, src/quickfix.c, src/spell.c, 5821 src/terminal.c, src/if_perl.xs, src/if_py_both.h, src/memline.c, 5822 src/proto/memline.pro 5823 5824 Patch 8.2.0854 5825 Problem: Xxd cannot show offset as a decimal number. 5826 Solution: Add the "-d" flag. (Aapo Rantalainen, closes #5616) 5827 Files: src/testdir/test_xxd.vim, src/xxd/xxd.c 5828 5829 Patch 8.2.0855 5830 Problem: GUI tests fail because the test doesn't use a modifier. 5831 Solution: Add "\{xxx}" to be able to encode a modifier. 5832 Files: runtime/doc/eval.txt, src/typval.c, src/misc2.c, src/vim.h, 5833 src/proto/misc2.pro, src/gui_mac.c, src/option.c, src/highlight.c, 5834 src/term.c, src/testdir/test_backspace_opt.vim, 5835 src/testdir/test_mapping.vim, src/testdir/test_messages.vim 5836 5837 Patch 8.2.0856 (after 8.2.0852) 5838 Problem: CTRL-S stops output. 5839 Solution: Invert the IXON flag. (closes #6166) 5840 Files: src/os_unix.c 5841 5842 Patch 8.2.0857 5843 Problem: GTK cell height can be a pixel too much. 5844 Solution: Subtract 3 instead of 1 when rounding. (closes #6168) 5845 Files: src/gui_gtk_x11.c 5846 5847 Patch 8.2.0858 5848 Problem: Not easy to require Lua modules. 5849 Solution: Improve use of Lua path. (Prabir Shrestha, closes #6098) 5850 Files: Filelist, src/if_lua.c, src/optionstr.c, src/proto/if_lua.pro, 5851 src/testdir/test_lua.vim, 5852 src/testdir/testluaplugin/lua/testluaplugin/hello.lua, 5853 src/testdir/testluaplugin/lua/testluaplugin/init.lua 5854 5855 Patch 8.2.0859 5856 Problem: No Turkish translation of the manual. 5857 Solution: Add Turkish translations. (Emir Sarı, closes #5641) 5858 Files: Filelist, runtime/doc/Makefile, runtime/doc/evim-tr.1, 5859 runtime/doc/evim-tr.UTF-8.1, runtime/doc/vim-tr.1, 5860 runtime/doc/vim-tr.UTF-8.1, runtime/doc/vimdiff-tr.1, 5861 runtime/doc/vimdiff-tr.UTF-8.1, runtime/doc/vimtutor-tr.1, 5862 runtime/doc/vimtutor-tr.UTF-8.1, src/Makefile 5863 5864 Patch 8.2.0860 5865 Problem: Cannot use CTRL-A and CTRL-X on unsigned numbers. 5866 Solution: Add "unsigned" to 'nrformats'. (Naruhiko Nishino, closes #6144) 5867 Files: runtime/doc/options.txt, src/ops.c, src/optionstr.c, 5868 src/testdir/test_increment.vim 5869 5870 Patch 8.2.0861 5871 Problem: Cannot easily get all the current marks. 5872 Solution: Add getmarklist(). (Yegappan Lakshmanan, closes #6032) 5873 Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c, 5874 src/mark.c, src/proto/mark.pro, src/testdir/test_marks.vim 5875 5876 Patch 8.2.0862 5877 Problem: ":term ++curwin" makes the current buffer hidden. (Harm te 5878 Hennepe) 5879 Solution: Do not hide the current buffer. (closes #6170) 5880 Files: src/terminal.c, src/testdir/test_terminal.vim 5881 5882 Patch 8.2.0863 5883 Problem: Cannot set a separate color for underline/undercurl. 5884 Solution: Add the t_AU and t_8u termcap codes. (Timur Celik, closes #6011) 5885 Files: runtime/doc/syntax.txt, runtime/doc/term.txt, src/globals.h, 5886 src/highlight.c, src/optiondefs.h, src/proto/term.pro, 5887 src/screen.c, src/structs.h, src/term.c, src/term.h, 5888 src/testdir/test_options.vim 5889 5890 Patch 8.2.0864 5891 Problem: Pragmas are indented all the way to the left. 5892 Solution: Add an option to indent pragmas like normal code. (Max Rumpf, 5893 closes #5468) 5894 Files: runtime/doc/indent.txt, src/cindent.c, src/structs.h, 5895 src/testdir/test_cindent.vim 5896 5897 Patch 8.2.0865 5898 Problem: Syntax foldlevel is taken from the start of the line. 5899 Solution: Add ":syn foldlevel" to be able to use the minimal foldlevel in 5900 the line. (Brad King, closes #6087) 5901 Files: runtime/doc/syntax.txt, src/structs.h, src/syntax.c, 5902 src/testdir/test_syntax.vim 5903 5904 Patch 8.2.0866 5905 Problem: Not enough tests for buffer writing. 5906 Solution: Add more tests. Use CheckRunVimInTerminal in more places. 5907 (Yegappan Lakshmanan, closes #6167) 5908 Files: src/testdir/test_arglist.vim, src/testdir/test_match.vim, 5909 src/testdir/test_messages.vim, src/testdir/test_netbeans.py, 5910 src/testdir/test_netbeans.vim, src/testdir/test_search.vim, 5911 src/testdir/test_signals.vim, src/testdir/test_signs.vim, 5912 src/testdir/test_startup.vim, src/testdir/test_startup_utf8.vim, 5913 src/testdir/test_syntax.vim, src/testdir/test_tabpage.vim, 5914 src/testdir/test_timers.vim, src/testdir/test_vimscript.vim, 5915 src/testdir/test_writefile.vim 5916 5917 Patch 8.2.0867 5918 Problem: Using \{xxx} for encoding a modifier is not nice. 5919 Solution: Use \<*xxx> instead, since it's the same as \<xxx> but producing a 5920 different code. 5921 Files: runtime/doc/eval.txt, src/typval.c, src/misc2.c, src/vim.h, 5922 src/testdir/test_backspace_opt.vim, src/testdir/test_mapping.vim, 5923 src/testdir/test_messages.vim 5924 5925 Patch 8.2.0868 5926 Problem: trim() always trims both ends. 5927 Solution: Add an argument to only trim the beginning or end. (Yegappan 5928 Lakshmanan, closes #6126) 5929 Files: runtime/doc/eval.txt, src/evalfunc.c, 5930 src/testdir/test_functions.vim 5931 5932 Patch 8.2.0869 5933 Problem: It is not possible to customize the quickfix window contents. 5934 Solution: Add 'quickfixtextfunc'. (Yegappan Lakshmanan, closes #5465) 5935 Files: runtime/doc/eval.txt, runtime/doc/options.txt, 5936 runtime/doc/quickfix.txt, src/option.h, src/optiondefs.h, 5937 src/quickfix.c, src/testdir/test_quickfix.vim 5938 5939 Patch 8.2.0870 5940 Problem: MS-Windows: Control keys don't work in the GUI. 5941 Solution: Don't set seenModifyOtherKeys for now. (Yasuhiro Matsumoto, 5942 closes #6175) 5943 Files: src/gui.c 5944 5945 Patch 8.2.0871 5946 Problem: Cannot use getmarklist() as a method. 5947 Solution: Make getmarklist() work as a method. Add one to the column 5948 number to match getpos(). (Yegappan Lakshmanan, closes #6176) 5949 Files: runtime/doc/eval.txt, src/evalfunc.c, src/mark.c, 5950 src/testdir/test_marks.vim 5951 5952 Patch 8.2.0872 5953 Problem: XIM code is mixed with multibyte code. 5954 Solution: Move the XIM code to a separate file. (Yegappan Lakshmanan, 5955 closes #6177) 5956 Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak, 5957 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/gui_xim.c, 5958 src/mbyte.c, src/proto.h, src/proto/gui_xim.pro, 5959 src/proto/mbyte.pro 5960 5961 Patch 8.2.0873 5962 Problem: A .jl file can be sawfish (lisp) or Julia. 5963 Solution: Do not recognize *.jl as lisp, since it might be Julia. 5964 (closes #6178) 5965 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 5966 5967 Patch 8.2.0874 5968 Problem: Signals test is a bit flaky. 5969 Solution: Flush the XautoOut file. Delete files that may be left behind 5970 from a failure. (Dominique Pellé, closes #6179) 5971 Files: src/testdir/test_signals.vim 5972 5973 Patch 8.2.0875 5974 Problem: Getting attributes for directory entries is slow. 5975 Solution: Add readdirex(). (Ken Takata, closes #5619) 5976 Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c, 5977 src/fileio.c, src/filepath.c, src/proto/fileio.pro, 5978 src/proto/filepath.pro, src/testdir/test_functions.vim 5979 5980 Patch 8.2.0876 5981 Problem: :pwd does not give a hint about the scope of the directory 5982 Solution: Make ":verbose pwd" show the scope. (Takuya Fujiwara, closes #5469) 5983 Files: runtime/doc/editing.txt, src/ex_docmd.c, src/testdir/test_cd.vim 5984 5985 Patch 8.2.0877 5986 Problem: Cannot get the search statistics. 5987 Solution: Add the searchcount() function. (Fujiwara Takuya, closes #4446) 5988 Files: runtime/doc/eval.txt, src/evalfunc.c, src/macros.h, 5989 src/proto/search.pro, src/search.c, 5990 src/testdir/test_search_stat.vim 5991 5992 Patch 8.2.0878 5993 Problem: No reduce() function. 5994 Solution: Add a reduce() function. (closes #5481) 5995 Files: runtime/doc/eval.txt, src/evalfunc.c, src/globals.h, src/list.c, 5996 src/proto/list.pro, src/testdir/test_listdict.vim 5997 5998 Patch 8.2.0879 5999 Problem: Compiler warning for unused function argument. 6000 Solution: Add UNUSED. 6001 Files: src/search.c 6002 6003 Patch 8.2.0880 (after 8.2.0877) 6004 Problem: Leaking memory when using searchcount(). 6005 Solution: Free the last used search pattern. 6006 Files: src/search.c 6007 6008 Patch 8.2.0881 6009 Problem: Compiler warning for argument type. 6010 Solution: Add type cast. (Mike Williams) 6011 Files: src/ops.c 6012 6013 Patch 8.2.0882 6014 Problem: Leaking memory when using reduce(). 6015 Solution: Free the intermediate value. 6016 Files: src/list.c 6017 6018 Patch 8.2.0883 6019 Problem: Memory leak in test 49. 6020 Solution: Free "sfile" from the exception. 6021 Files: src/ex_docmd.c 6022 6023 Patch 8.2.0884 6024 Problem: Searchcount() test fails on slower systems. 6025 Solution: Set a longer timeout. 6026 Files: src/search.c, src/testdir/test_search_stat.vim 6027 6028 Patch 8.2.0885 6029 Problem: "make shadow" does not link new lua test dir. 6030 Solution: Also link testdir/testluaplugin. (Elimar Riesebieter) 6031 Files: src/Makefile 6032 6033 Patch 8.2.0886 6034 Problem: Cannot use octal numbers in scriptversion 4. 6035 Solution: Add the "0o" notation. (Ken Takata, closes #5304) 6036 Files: runtime/doc/eval.txt, src/charset.c, src/evalfunc.c, 6037 src/testdir/test_eval_stuff.vim, src/testdir/test_functions.vim, 6038 src/vim.h 6039 6040 Patch 8.2.0887 6041 Problem: Searchcount().exact_match is 1 right after a match. 6042 Solution: Use LT_POS() instead of LTOREQ_POS(). (closes #6189) 6043 Files: src/search.c, src/testdir/test_search_stat.vim 6044 6045 Patch 8.2.0888 6046 Problem: Readdirex() returns size -2 for a directory. 6047 Solution: Add missing "else". (Ken Takata, closes #6185) 6048 Files: src/fileio.c, src/testdir/test_functions.vim 6049 6050 Patch 8.2.0889 6051 Problem: Using old style comments. 6052 Solution: Use // comments. (Yegappan Lakshmanan, closes #6190) 6053 Files: src/gui_xim.c 6054 6055 Patch 8.2.0890 6056 Problem: No color in terminal window when 'termguicolors' is set. 6057 Solution: Clear the underline color. (closes #6186) 6058 Files: src/highlight.c 6059 6060 Patch 8.2.0891 6061 Problem: Clang warns for invalid conversion. 6062 Solution: Use zero instead of INVALCOLOR. 6063 Files: src/highlight.c 6064 6065 Patch 8.2.0892 6066 Problem: Ubsan warns for undefined behavior. 6067 Solution: Use unsigned instead of signed variable. (Dominique Pellé, 6068 closes #6193) 6069 Files: src/regexp_nfa.c 6070 6071 Patch 8.2.0893 6072 Problem: Assert_equalfile() does not take a third argument. 6073 Solution: Implement the third argument. (Gary Johnson) 6074 Files: runtime/doc/eval.txt, runtime/doc/testing.txt, src/evalfunc.c, 6075 src/testdir/test_assert.vim, src/testing.c 6076 6077 Patch 8.2.0894 6078 Problem: :mkspell can take very long if the word count is high. 6079 Solution: Use long to avoid negative numbers. Increase the limits by 20% if 6080 the compression did not have effect. 6081 Files: src/spellfile.c 6082 6083 Patch 8.2.0895 6084 Problem: :mkspell output does not mention the tree type. 6085 Solution: Back out increasing the limits, it has no effect. Mention the 6086 tree being compressed. Only give a message once per second. 6087 Files: src/spellfile.c 6088 6089 Patch 8.2.0896 6090 Problem: Crash when calling searchcount() with a string. 6091 Solution: Check the argument is a dict. (closes #6192) 6092 Files: src/search.c, src/testdir/test_search_stat.vim 6093 6094 Patch 8.2.0897 6095 Problem: List of functions in patched version is outdated. 6096 Solution: Update the function lists only. 6097 Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt 6098 6099 Patch 8.2.0898 6100 Problem: Missing help for a function goes unnoticed. 6101 Solution: Add a test. (Gary Johnson) 6102 Files: src/testdir/test_function_lists.vim, src/testdir/Make_all.mak 6103 6104 Patch 8.2.0899 6105 Problem: Assert_equalfile() does not give a hint about the difference. 6106 Solution: Display the last seen text. 6107 Files: src/testing.c, src/testdir/test_assert.vim 6108 6109 Patch 8.2.0900 6110 Problem: Function list test fails on MS-Windows. 6111 Solution: Make sure the fileformat is "unix" 6112 Files: src/testdir/test_function_lists.vim 6113 6114 Patch 8.2.0901 6115 Problem: Formatting CJK text isn't optimal. 6116 Solution: Properly break CJK lines. (closes #3875) 6117 Files: runtime/doc/change.txt, src/mbyte.c, src/ops.c, src/option.h, 6118 src/proto/mbyte.pro, src/testdir/Make_all.mak, src/textformat.c, 6119 src/testdir/test_cjk_linebreak.vim 6120 6121 Patch 8.2.0902 6122 Problem: Using searchcount() in 'statusline' causes an error. 6123 Solution: Avoid saving/restoring the search pattern recursively. 6124 (closes #6194) 6125 Files: src/search.c, src/testdir/test_search_stat.vim, 6126 src/testdir/dumps/Test_searchstat_4.dump 6127 6128 Patch 8.2.0903 6129 Problem: comparing WINVER does not work correctly. 6130 Solution: Use arithmetic expansion. (Ozaki Kiichi, closes #6197) 6131 Files: src/Make_cyg_ming.mak 6132 6133 Patch 8.2.0904 6134 Problem: Assuming modifyOtherKeys for rhs of mapping. 6135 Solution: Ignore seenModifyOtherKeys for mapped characters. (closes #6200) 6136 Files: src/getchar.c, src/testdir/test_gui.vim 6137 6138 Patch 8.2.0905 6139 Problem: Test coverage could be better. 6140 Solution: Add a couple of tests. (Dominique Pellé, closes #6202) 6141 Files: src/testdir/test_cmdline.vim, src/testdir/test_ga.vim 6142 6143 Patch 8.2.0906 6144 Problem: When setting 'termguicolors' SpellBad is no longer red. 6145 Solution: Only use the RGB guisp color for cterm when using the "underline" 6146 or "undercurl" attributes to avoid the background color to be 6147 cleared. Also make t_8u empty when the termresponse indicates a 6148 real xterm. (closes #6207) 6149 Files: src/highlight.c, src/term.c 6150 6151 Patch 8.2.0907 6152 Problem: When using :global clipboard isn't set correctly. 6153 Solution: Set "clip_unnamed_saved" instead of "clip_unnamed". (Christian 6154 Brabandt, closes #6203, closes #6198) 6155 Files: src/clipboard.c, src/testdir/test_global.vim 6156 6157 Patch 8.2.0908 6158 Problem: Crash when changing the function table while listing it. 6159 Solution: Bail out when the function table changes. (closes #6209) 6160 Files: src/userfunc.c, src/testdir/test_timers.vim 6161 6162 Patch 8.2.0909 6163 Problem: Cannot go back to the previous local directory. 6164 Solution: Add "tcd -" and "lcd -". (Yegappan Lakshmanan, closes #4362) 6165 Files: runtime/doc/editing.txt, src/filepath.c, src/ex_docmd.c, 6166 src/structs.h, src/testdir/test_cd.vim, src/window.c 6167 6168 Patch 8.2.0910 6169 Problem: Vim is not reproducibly buildable. 6170 Solution: Use the $SOURCE_DATE_EPOCH environment variable in configure. 6171 (James McCoy, closes #513) Give a warning about using it. 6172 Files: src/config.h.in, src/config.mk.in, src/configure.ac, 6173 src/auto/configure, src/version.c, src/Makefile 6174 6175 Patch 8.2.0911 6176 Problem: Crash when opening a buffer for the cmdline window fails. (Chris 6177 Barber) 6178 Solution: Check do_ecmd() succeeds. Reset got_int if "q" was used at the 6179 more prompt. (closes #6211) 6180 Files: src/ex_getln.c, src/testdir/test_cmdline.vim, 6181 src/testdir/dumps/Test_cmdwin_interrupted.dump 6182 6183 Patch 8.2.0912 6184 Problem: A few test cases for CJK formatting are disabled. 6185 Solution: Fix the tests and enable them. (closes #6212) 6186 Files: src/testdir/test_cjk_linebreak.vim 6187 6188 Patch 8.2.0913 6189 Problem: Code for resetting v:register is duplicated. 6190 Solution: Add reset_reg_var(). 6191 Files: src/evalvars.c, src/proto/evalvars.pro, src/main.c, src/normal.c 6192 6193 Patch 8.2.0914 6194 Problem: MS-Windows: cannot specify a "modified by" text. 6195 Solution: Add MODIFIED_BY in the MSVC build file. (Chen Lei, closes #1275) 6196 Files: src/Make_mvc.mak 6197 6198 Patch 8.2.0915 6199 Problem: Search() cannot skip over matches like searchpair() can. 6200 Solution: Add an optional "skip" argument. (Christian Brabandt, closes #861) 6201 Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_syntax.vim, 6202 src/structs.h, src/evalvars.c, src/proto/evalvars.pro 6203 6204 Patch 8.2.0916 6205 Problem: Mapping with partly modifyOtherKeys code does not work. 6206 Solution: If there is no mapping with a separate modifier include the 6207 modifier in the key and then try mapping again. (closes #6200) 6208 Files: src/getchar.c, src/proto/getchar.pro, src/edit.c, src/term.c, 6209 src/proto/term.pro, src/testdir/test_termcodes.vim 6210 6211 Patch 8.2.0917 6212 Problem: Quickfix entries do not support a "note" type. 6213 Solution: Add support for "note". (partly by Yegappan Lakshmanan, 6214 closes #5527, closes #6216) 6215 Files: runtime/doc/quickfix.txt, src/quickfix.c, 6216 src/testdir/test_quickfix.vim 6217 6218 Patch 8.2.0918 6219 Problem: Duplicate code for evaluating expression argument. 6220 Solution: Merge the code and make the use more flexible. 6221 Files: src/evalfunc.c, src/eval.c, src/proto/eval.pro, src/evalvars.c, 6222 src/proto/evalvars.pro, src/structs.h 6223 6224 Patch 8.2.0919 6225 Problem: Merging modifier for modifyOtherKeys is done twice. 6226 Solution: Remove the merging done in vgetc(). 6227 Files: src/getchar.c, src/ex_getln.c 6228 6229 Patch 8.2.0920 6230 Problem: Writing viminfo fails with a circular reference. 6231 Solution: Use copyID to detect the cycle. (closes #6217) 6232 Files: src/testdir/test_viminfo.vim, src/viminfo.c 6233 6234 Patch 8.2.0921 6235 Problem: CTRL-W T in cmdline window causes trouble. 6236 Solution: Disallow CTRL-W T in the cmdline window. Add more tests. 6237 (Naruhiko Nishino, closes #6219) 6238 Files: src/testdir/test_cmdline.vim, src/window.c 6239 6240 Patch 8.2.0922 6241 Problem: Search test fails. 6242 Solution: Remove failure tests for calls that no longer fail. 6243 Files: src/testdir/test_search.vim 6244 6245 Patch 8.2.0923 6246 Problem: Cmdline test is slow. 6247 Solution: Use WaitForAssert(). 6248 Files: src/testdir/test_cmdline.vim 6249 6250 Patch 8.2.0924 6251 Problem: Cannot save and restore a register properly. 6252 Solution: Add getreginfo() and make setreg() accept a dictionary. (Andy 6253 Massimino, closes #3370) 6254 Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c, 6255 src/proto/register.pro, src/register.c, 6256 src/testdir/test_eval_stuff.vim, src/testdir/test_registers.vim 6257 6258 Patch 8.2.0925 6259 Problem: Getcompletion() does not return command line arguments. 6260 Solution: Add the "cmdline" option. (Shougo, closes #1140) 6261 Files: runtime/doc/eval.txt, src/cmdexpand.c, 6262 src/testdir/test_cmdline.vim 6263 6264 Patch 8.2.0926 6265 Problem: Cmdline test fails on Appveyor. 6266 Solution: Add CR to the commands. (Naruhiko Nishino, closes #6220) 6267 Files: src/testdir/test_cmdline.vim 6268 6269 Patch 8.2.0927 6270 Problem: Some sshconfig and ssdhconfig files are not recognized. 6271 Solution: Add filetype patterns. 6272 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 6273 6274 Patch 8.2.0928 6275 Problem: Many type casts are used for vim_strnsave(). 6276 Solution: Make the length argument size_t instead of int. (Ken Takata, 6277 closes #5633) Remove some type casts. 6278 Files: src/misc2.c, src/proto/misc2.pro, src/autocmd.c, src/channel.c, 6279 src/cmdexpand.c, src/dict.c, src/diff.c, src/digraph.c, 6280 src/eval.c, src/evalfunc.c, src/highlight.c, src/syntax.c 6281 6282 Patch 8.2.0929 6283 Problem: v:register is not cleared after an operator was executed. 6284 Solution: Clear v:register after finishing an operator (Andy Massimino, 6285 closes #5305) 6286 Files: src/normal.c, src/testdir/test_registers.vim 6287 6288 Patch 8.2.0930 6289 Problem: Script filetype detection trips over env -S argument. 6290 Solution: Remove "-S" and "--ignore-environment". (closes #5013) 6291 Add tests. 6292 Files: runtime/scripts.vim, src/testdir/test_filetype.vim 6293 6294 Patch 8.2.0931 6295 Problem: Some remarks about BeOS remain. 6296 Solution: Remove BeOS remarks from the help and other files. (Emir Sarı, 6297 closes #6221) 6298 Files: READMEdir/README_extra.txt, runtime/doc/options.txt, 6299 runtime/doc/os_beos.txt, runtime/doc/os_vms.txt, 6300 runtime/doc/vi_diff.txt, src/INSTALL 6301 6302 Patch 8.2.0932 6303 Problem: Misspelling spelllang. 6304 Solution: Add an "l". (Dominique Pellé) 6305 Files: src/optionstr.c, src/proto/spell.pro, src/spell.c 6306 6307 Patch 8.2.0933 6308 Problem: 'quickfixtextfunc' does not get window ID of location list. 6309 Solution: Add "winid" to the dict argument. (Yegappan Lakshmanan, 6310 closes #6222) 6311 Files: runtime/doc/quickfix.txt, src/quickfix.c, 6312 src/testdir/test_quickfix.vim 6313 6314 Patch 8.2.0934 6315 Problem: Running lhelpgrep twice in a help window doesn't jump to the help 6316 topic. 6317 Solution: Check whether any window with the location list is present. 6318 (Yegappan Lakshmanan, closes #6215) 6319 Files: src/quickfix.c, src/testdir/test_quickfix.vim 6320 6321 Patch 8.2.0935 6322 Problem: Flattening a list with existing code is slow. 6323 Solution: Add flatten(). (Mopp, closes #3676) 6324 Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c, 6325 src/list.c, src/proto/list.pro, src/testdir/Make_all.mak, 6326 src/testdir/test_flatten.vim 6327 6328 Patch 8.2.0936 6329 Problem: Some terminals misinterpret the code for getting cursor style. 6330 Solution: Send a sequence to the terminal and check the result. (IWAMOTO 6331 Kouichi, closes #2126) Merged with current code. 6332 Files: src/main.c, src/term.c, src/proto/term.pro, 6333 src/testdir/term_util.vim, src/testdir/test_quickfix.vim, 6334 src/testdir/test_terminal.vim, src/testdir/test_startup_utf8.vim, 6335 src/testdir/dumps/Test_balloon_eval_term_01.dump, 6336 src/testdir/dumps/Test_balloon_eval_term_01a.dump, 6337 src/testdir/dumps/Test_balloon_eval_term_02.dump, 6338 src/testdir/dumps/Test_terminal_all_ansi_colors.dump 6339 6340 Patch 8.2.0937 6341 Problem: Asan failure in the flatten() test. 6342 Solution: Free the flattened list. 6343 Files: src/list.c 6344 6345 Patch 8.2.0938 6346 Problem: NFA regexp uses tolower() to compare ignore-case. (Thayne McCombs) 6347 Solution: Use utf_fold() when possible. (ref. neovim #12456) 6348 Files: src/macros.h, src/diff.c, src/regexp_nfa.c, 6349 src/testdir/test_regexp_utf8.vim 6350 6351 Patch 8.2.0939 6352 Problem: checking for term escape sequences is long and confusing 6353 Solution: Refactor code into separate functions. 6354 Files: src/term.c 6355 6356 Patch 8.2.0940 (after 8.2.0939) 6357 Problem: Build failure with tiny features. 6358 Solution: Add #ifdef. Add UNUSED. A bit more cleaning up. 6359 Files: src/term.c 6360 6361 Patch 8.2.0941 6362 Problem: Detecting terminal properties is unstructured. 6363 Solution: Add a table with terminal properties. Set properties when a 6364 terminal is detected. 6365 Files: src/term.c 6366 6367 Patch 8.2.0942 6368 Problem: Expanding to local dir after homedir keeps "~/". 6369 Solution: Adjust modify_fname(). (Christian Brabandt, closes #6205, 6370 closes #5979) 6371 Files: src/filepath.c, src/testdir/test_fnamemodify.vim 6372 6373 Patch 8.2.0943 6374 Problem: Displaying ^M or ^J depends on current buffer. 6375 Solution: Pass the displayed buffer to transchar(). (closes #6225) 6376 Files: src/drawline.c, src/charset.c, src/proto/charset.pro, 6377 src/ex_cmds.c, src/gui_beval.c, src/message.c, 6378 src/testdir/test_display.vim, 6379 src/testdir/dumps/Test_display_unprintable_01.dump, 6380 src/testdir/dumps/Test_display_unprintable_02.dump 6381 6382 Patch 8.2.0944 6383 Problem: Xxd test leaves file behind. 6384 Solution: Delete the file "XXDfile". (Christian Brabandt, closes #6228) 6385 Files: src/testdir/test_xxd.vim 6386 6387 Patch 8.2.0945 6388 Problem: Cannot use "z=" when 'spell' is off. 6389 Solution: Make "z=" work even when 'spell' is off. (Christian Brabandt, 6390 Gary Johnson, closes #6227) 6391 Files: runtime/doc/eval.txt, src/evalfunc.c, src/spell.c, 6392 src/spellsuggest.c, src/testdir/test_spell.vim, src/globals.h 6393 6394 Patch 8.2.0946 6395 Problem: Cannot use "q" to cancel a number prompt. 6396 Solution: Recognize "q" instead of ignoring it. 6397 Files: src/misc1.c, src/testdir/test_functions.vim 6398 6399 Patch 8.2.0947 6400 Problem: Readdirex() doesn't handle broken link properly. 6401 Solution: Small fixes to readdirex(). (Christian Brabandt, closes #6226, 6402 closes #6213) 6403 Files: src/fileio.c, src/testdir/test_functions.vim 6404 6405 Patch 8.2.0948 6406 Problem: Spell test fails. 6407 Solution: Adjust expected text of the prompt. 6408 Files: src/testdir/test_spell.vim 6409 6410 Patch 8.2.0949 6411 Problem: Strptime() does not use DST. 6412 Solution: Set the tm_isdst field to -1. (Tomáš Janoušek, closes #6230) 6413 Files: src/time.c, src/testdir/test_functions.vim 6414 6415 Patch 8.2.0950 6416 Problem: Tagjump test fails. 6417 Solution: Adjust expected text of the prompt. 6418 Files: src/testdir/test_tagjump.vim 6419 6420 Patch 8.2.0951 6421 Problem: Search stat test has leftover from debugging. 6422 Solution: Remove line that writes a file. (Christian Brabandt, closes #6224) 6423 Files: src/testdir/test_search_stat.vim 6424 6425 Patch 8.2.0952 6426 Problem: No simple way to interrupt Vim. 6427 Solution: Add the SigUSR1 autocommand, triggered by SIGUSR1. (Jacob Hayes, 6428 closes #1718) 6429 Files: runtime/doc/autocmd.txt, src/vim.h, src/autocmd.c, src/getchar.c, 6430 src/globals.h, src/os_unix.c, src/testdir/test_autocmd.vim 6431 6432 Patch 8.2.0953 6433 Problem: Spell checking doesn't work for CamelCased words. 6434 Solution: Add the "camel" value in the new option 'spelloptions'. 6435 (closes #1235) 6436 Files: runtime/doc/options.txt, runtime/doc/spell.txt, src/optiondefs.h, 6437 src/option.h, src/option.c, src/buffer.c, src/optionstr.c, 6438 src/testdir/gen_opt_test.vim, src/testdir/test_spell.vim 6439 6440 Patch 8.2.0954 6441 Problem: Not all desktop files are recognized. 6442 Solution: Add the *.directory pattern. (Eisuke Kawashima, closes #3317) 6443 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 6444 6445 Patch 8.2.0955 (after 8.2.0953) 6446 Problem: Build fails. 6447 Solution: Add missing struct change. 6448 Files: src/structs.h 6449 6450 Patch 8.2.0956 (after 8.2.0953) 6451 Problem: Spell test fails. 6452 Solution: Add missing change the spell checking. 6453 Files: src/spell.c 6454 6455 Patch 8.2.0957 6456 Problem: Compiler warning for uninitialized variable. (Tony Mechelynck) 6457 Solution: Initialize one variable. 6458 Files: src/spell.c 6459 6460 Patch 8.2.0958 6461 Problem: Not sufficient testing for buffer writing. 6462 Solution: Add a few tests. (Yegappan Lakshmanan, closes #6238) 6463 Files: src/testdir/test_backup.vim, src/testdir/test_writefile.vim 6464 6465 Patch 8.2.0959 6466 Problem: Using 'quickfixtextfunc' is a bit slow. 6467 Solution: Process a list of entries. (Yegappan Lakshmanan, closes #6234) 6468 Files: runtime/doc/quickfix.txt, src/quickfix.c, 6469 src/testdir/test_quickfix.vim 6470 6471 Patch 8.2.0960 6472 Problem: Cannot use :import in legacy Vim script. 6473 Solution: Support :import in any Vim script. 6474 Files: src/vim9script.c, src/evalvars.c, src/userfunc.c, 6475 src/testdir/test_vim9_script.vim 6476 6477 Patch 8.2.0961 6478 Problem: MS-Windows: no completion for locales. 6479 Solution: Use the directories in $VIMRUNTIME/lang to complete locales. 6480 (Christian Brabandt, closes 36248) 6481 Files: src/cmdexpand.c, src/ex_cmds2.c, src/testdir/test_cmdline.vim 6482 6483 Patch 8.2.0962 6484 Problem: Terminal test sometimes hangs on Travis. 6485 Solution: Do show output for this test temporarily. 6486 Files: src/testdir/Makefile 6487 6488 Patch 8.2.0963 6489 Problem: Number increment/decrement does not work with 'virtualedit'. 6490 Solution: Handle coladd changing. (Christian Brabandt, closes #6240, 6491 closes #923) 6492 Files: runtime/doc/options.txt, runtime/doc/various.txt, src/ops.c, 6493 src/testdir/test_increment.vim 6494 6495 Patch 8.2.0964 6496 Problem: TextYankPost does not provide info about Visual selection. 6497 Solution: Add the 'visual' key in v:event. (closes #6249) 6498 Files: runtime/doc/autocmd.txt, src/register.c, 6499 src/testdir/test_autocmd.vim 6500 6501 Patch 8.2.0965 6502 Problem: Has_funcundefined() is not used. 6503 Solution: Delete the function. (Dominique Pellé, closes #6242) 6504 Files: src/autocmd.c, src/proto/autocmd.pro 6505 6506 Patch 8.2.0966 6507 Problem: 'shortmess' flag "n" not used in two places. 6508 Solution: Make use of the "n" flag consistent. (Nick Jensen, closes #6245, 6509 closes #6244) 6510 Files: src/bufwrite.c, src/proto/bufwrite.pro, src/buffer.c, 6511 src/fileio.c, src/testdir/dumps/Test_popup_textprop_corn_5.dump, 6512 src/testdir/dumps/Test_start_with_tabs.dump 6513 6514 Patch 8.2.0967 6515 Problem: Unnecessary type casts for vim_strnsave(). 6516 Solution: Remove the type casts. 6517 Files: src/evalvars.c, src/ex_cmds.c, src/ex_eval.c, src/fileio.c, 6518 src/filepath.c, src/findfile.c, src/highlight.c, src/if_ruby.c, 6519 src/insexpand.c, src/json.c, src/mark.c, src/memline.c, 6520 src/menu.c, src/misc1.c, src/ops.c, src/os_win32.c, src/regexp.c, 6521 src/regexp_bt.c, src/regexp_nfa.c, src/register.c, src/search.c, 6522 src/sign.c, src/syntax.c, src/term.c, src/terminal.c, src/undo.c, 6523 src/usercmd.c, src/userfunc.c, src/vim9compile.c, src/if_perl.xs 6524 6525 Patch 8.2.0968 6526 Problem: No proper testing of the 'cpoptions' flags. 6527 Solution: Add tests. (Yegappan Lakshmanan, closes #6251) 6528 Files: src/testdir/Make_all.mak, src/testdir/test_cpoptions.vim, 6529 src/testdir/test_edit.vim, src/testdir/test_normal.vim 6530 6531 Patch 8.2.0969 6532 Problem: Assert_equal() output for dicts is hard to figure out. 6533 Solution: Only show the different items. 6534 Files: src/testing.c, src/testdir/test_assert.vim 6535 6536 Patch 8.2.0970 6537 Problem: Terminal properties are not available in Vim script. 6538 Solution: Add the terminalprops() function. 6539 Files: src/term.c, src/proto/term.pro, src/evalfunc.c, src/main.c, 6540 src/testing.c, src/globals.h, src/testdir/test_termcodes.vim, 6541 runtime/doc/usr_41.txt, runtime/doc/eval.txt, 6542 runtime/doc/testing.txt 6543 6544 Patch 8.2.0971 6545 Problem: Build with tiny features fails. 6546 Solution: Add #ifdef. 6547 Files: src/term.c 6548 6549 Patch 8.2.0972 6550 Problem: Vim9 script variable declarations need a type. 6551 Solution: Make "let var: type" declare a script-local variable. 6552 Files: src/evalvars.c, src/vim9script.c, src/proto/vim9script.pro, 6553 src/globals.h, src/vim9compile.c, src/testdir/test_vim9_script.vim 6554 6555 Patch 8.2.0973 6556 Problem: Vim9: type is not checked when assigning to a script variable. 6557 Solution: Check the type. 6558 Files: src/evalvars.c, src/vim9script.c, src/proto/vim9script.pro, 6559 src/vim9compile.c, src/proto/vim9compile.pro, 6560 src/testdir/test_vim9_script.vim 6561 6562 Patch 8.2.0974 6563 Problem: Vim9: memory leak when script var has wrong type. 6564 Solution: Free the variable name. 6565 Files: src/vim9script.vim 6566 6567 Patch 8.2.0975 6568 Problem: Vim9: script variable does not accept optional s: prefix. 6569 Solution: Adjust the accepted syntax. 6570 Files: src/vim9script.c, src/testdir/test_vim9_script.vim 6571 6572 Patch 8.2.0976 6573 Problem: Some 'cpoptions' not tested. 6574 Solution: Add more tests. (Yegappan Lakshmanan, closes #6253) 6575 Files: src/testdir/test_cd.vim, src/testdir/test_charsearch.vim, 6576 src/testdir/test_cpoptions.vim, src/testdir/test_normal.vim 6577 6578 Patch 8.2.0977 6579 Problem: t_8u is made empty for the wrong terminals. (Dominique Pelle) 6580 Solution: Invert the check for TPR_YES. (closes #6254) 6581 Files: src/term.c, src/testdir/test_termcodes.vim 6582 6583 Patch 8.2.0978 6584 Problem: Leaking memory in termcodes test. 6585 Solution: Set t_8u with set_option_value(). 6586 Files: src/term.c 6587 6588 Patch 8.2.0979 6589 Problem: A couple of screendump tests fail. 6590 Solution: Do not redraw when clearing t_8u. 6591 Files: src/term.c 6592 6593 Patch 8.2.0980 6594 Problem: Raku file extension not recognized. (Steven Penny) 6595 Solution: Recognize .raku and .rakumod. (closes #6255) 6596 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 6597 6598 Patch 8.2.0981 6599 Problem: Vim9: cannot compile "[var, var] = list". 6600 Solution: Implement list assignment. 6601 Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/evalvars.c, 6602 src/proto/evalvars.pro, src/eval.c, src/testdir/test_vim9_script.vim 6603 6604 Patch 8.2.0982 6605 Problem: Insufficient testing for reading/writing files. 6606 Solution: Add more tests. (Yegappan Lakshmanan, closes #6257) 6607 Add "ui_delay" to test_override() and use it for the CTRL-O test. 6608 Files: src/testing.c, src/globals.h, src/ui.c, runtime/doc/testing.txt, 6609 src/testdir/test_autocmd.vim, src/testdir/test_edit.vim, 6610 src/testdir/test_filechanged.vim, src/testdir/test_writefile.vim 6611 6612 Patch 8.2.0983 6613 Problem: SConstruct file type not recognized. 6614 Solution: Use python for SConstruct files. (Roland Hieber) 6615 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 6616 6617 Patch 8.2.0984 6618 Problem: Not using previous window when closing a shell popup window. 6619 Solution: Use "prevwin" if it was set. (closes #6267) 6620 Files: src/popupwin.c, src/testdir/test_popupwin.vim 6621 6622 Patch 8.2.0985 6623 Problem: Simplify() does not remove slashes from "///path". 6624 Solution: Reduce > 2 slashes to one. (closes #6263) 6625 Files: src/findfile.c, src/testdir/test_functions.vim 6626 6627 Patch 8.2.0986 (after 8.2.0985) 6628 Problem: MS-Windows: functions test fails. 6629 Solution: Only simplify ///path on Unix. 6630 Files: src/testdir/test_functions.vim 6631 6632 Patch 8.2.0987 6633 Problem: Vim9: cannot assign to [var; var]. 6634 Solution: Assign rest of items to a list. 6635 Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/list.c, 6636 src/proto/list.pro, src/eval.c, src/testdir/test_vim9_script.vim 6637 6638 Patch 8.2.0988 6639 Problem: Getting directory contents is always case sorted. 6640 Solution: Add sort options and v:collate. (Christian Brabandt, closes #6229) 6641 Files: runtime/doc/eval.txt, runtime/doc/mlang.txt, src/auto/configure, 6642 src/cmdexpand.c, src/config.h.in, src/configure.ac, 6643 src/evalfunc.c, src/evalvars.c, src/ex_cmds2.c, src/fileio.c, 6644 src/filepath.c, src/globals.h, src/proto/fileio.pro, 6645 src/testdir/test_cmdline.vim, src/testdir/test_functions.vim, 6646 src/vim.h 6647 6648 Patch 8.2.0989 6649 Problem: Crash after resizing a terminal window. (August Masquelier) 6650 Solution: Add check for valid row in libvterm. (closes #6273) 6651 Files: src/libvterm/src/state.c, src/libvterm/src/screen.c 6652 6653 Patch 8.2.0990 (after 8.2.0988) 6654 Problem: Using duplicate error number. 6655 Solution: Use an unused error number. Add a test for it. 6656 Files: src/globals.h, src/testdir/test_functions.vim 6657 6658 Patch 8.2.0991 6659 Problem: Cannot get window type for autocmd and preview window. 6660 Solution: Add types to win_gettype(). (Yegappan Lakshmanan, closes #6277) 6661 Files: runtime/doc/eval.txt, src/evalwindow.c, 6662 src/testdir/test_autocmd.vim, src/testdir/test_preview.vim 6663 6664 Patch 8.2.0992 6665 Problem: Vim9: crash when using :import in the Vim command. 6666 Solution: Give an error when using :import outside of a script. 6667 (closes #6271) 6668 Files: src/vim9script.c, src/testdir/test_vim9_script.vim, 6669 src/testdir/term_util.vim 6670 6671 Patch 8.2.0993 6672 Problem: Vim9 script test fails with normal features. 6673 Solution: Use :func instead of :def for now. 6674 Files: src/testdir/test_vim9_script.vim 6675 6676 Patch 8.2.0994 6677 Problem: Vim9: missing function causes compilation error. 6678 Solution: Call test function indirectly. 6679 Files: src/testdir/test_vim9_script.vim 6680 6681 Patch 8.2.0995 6682 Problem: Insufficient testing for the readdir() sort option. 6683 Solution: Add a few more tests. (Christian Brabandt, closes #6278) 6684 Files: src/testdir/test_functions.vim 6685 6686 Patch 8.2.0996 6687 Problem: Using "aucmdwin" in win_gettype() is not ideal. 6688 Solution: Rename to "autocmd". 6689 Files: runtime/doc/eval.txt, src/evalwindow.c, 6690 src/testdir/test_autocmd.vim 6691 6692 Patch 8.2.0997 6693 Problem: Cannot execute a register containing line continuation. 6694 Solution: Concatenate lines where needed. (Yegappan Lakshmanan, 6695 closes #6272) 6696 Files: runtime/doc/repeat.txt, src/register.c, 6697 src/testdir/test_registers.vim 6698 6699 Patch 8.2.0998 6700 Problem: Not all tag code is tested. 6701 Solution: Add a few more test cases. (Yegappan Lakshmanan, closes #6284) 6702 Files: src/testdir/test_tagjump.vim 6703 6704 Patch 8.2.0999 6705 Problem: Moving to next sentence gets stuck on quote. 6706 Solution: When moving to the next sentence doesn't result in moving, advance 6707 a character and try again. (closes #6291) 6708 Files: src/textobject.c, src/testdir/test_textobjects.vim 6709 6710 Patch 8.2.1000 6711 Problem: Get error when leaving Ex mode with :visual and a CmdLineEnter 6712 autocommand was used. 6713 Solution: Reset ex_pressedreturn. (closes #6293) 6714 Files: src/ex_docmd.c, src/testdir/test_ex_mode.vim 6715 6716 Patch 8.2.1001 6717 Problem: Vim9: crash with nested "if" and assignment. 6718 Solution: Skip more of the assignment. Do not set ctx_skip when code is 6719 reachable. 6720 Files: src/vim9compile.c, src/testdir/test_vim9_script.vim 6721 6722 Patch 8.2.1002 6723 Problem: Test may fail when run directly. 6724 Solution: Check if g:run_nr exists. (Christian Brabandt, closes #6285) 6725 Files: src/testdir/term_util.vim 6726 6727 Patch 8.2.1003 6728 Problem: Vim9: return type of sort() is too generic. 6729 Solution: Get type from the first argument. (closes #6292) 6730 Files: src/evalfunc.c, src/testdir/test_vim9_func.vim 6731 6732 Patch 8.2.1004 6733 Problem: Line numbers below filler lines not always updated. 6734 Solution: Don't break out of the win_line() loop too early. (Christian 6735 Brabandt, closes #6294, closes #6138) 6736 Files: src/drawline.c, src/testdir/dumps/Test_diff_rnu_01.dump, 6737 src/testdir/dumps/Test_diff_rnu_02.dump, 6738 src/testdir/dumps/Test_diff_rnu_03.dump, 6739 src/testdir/test_diffmode.vim 6740 6741 Patch 8.2.1005 6742 Problem: Vim9: using TRUE/FALSE/MAYBE for ctx_skip is confusing. 6743 Solution: Use an enum value. 6744 Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim 6745 6746 Patch 8.2.1006 6747 Problem: Vim9: require unnecessary return statement. 6748 Solution: Improve the use of the had_return flag. (closes #6270) 6749 Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim, 6750 src/testdir/test_vim9_func.vim 6751 6752 Patch 8.2.1007 6753 Problem: Completion doesn't work after ":r ++arg !". 6754 Solution: Skip over "++arg". (Christian Brabandt, closes #6275, 6755 closes #6258) 6756 Files: src/cmdexpand.c, src/testdir/test_cmdline.vim 6757 6758 Patch 8.2.1008 6759 Problem: Vim9: no test for disassembling newly added instructions. 6760 Solution: Add a function and check disassembly. 6761 Files: src/testdir/test_vim9_disassemble.vim 6762 6763 Patch 8.2.1009 6764 Problem: Vim9: some failures not checked for. 6765 Solution: Add test cases. Remove unused code. 6766 Files: src/testdir/test_vim9_script.vim, src/vim9execute.c 6767 6768 Patch 8.2.1010 6769 Problem: Build failure in libvterm with debug enabled. (John Little) 6770 Solution: Use "->" instead of ".". 6771 Files: src/libvterm/src/state.c 6772 6773 Patch 8.2.1011 6774 Problem: Vim9: some code not tested. 6775 Solution: Add a few more test cases. Reorder checks for clearer error. 6776 Remove unreachable code. 6777 Files: src/evalvars.c, src/vim9script.c, src/vim9execute.c, 6778 src/proto/vim9script.pro, src/testdir/test_vim9_script.vim, 6779 src/testdir/test_vim9_expr.vim 6780 6781 Patch 8.2.1012 6782 Problem: Vim9: cannot declare single character script variables. 6783 Solution: Don't see "b:", "s:", etc. as namespace. Fix item size of 6784 sn_var_vals. 6785 Files: src/vim9script.c, src/scriptfile.c, 6786 src/testdir/test_vim9_script.vim 6787 6788 Patch 8.2.1013 6789 Problem: Channel tests can be a bit flaky. 6790 Solution: Set the g:test_is_flaky flag in SetUp(). 6791 Files: src/testdir/test_channel.vim 6792 6793 Patch 8.2.1014 6794 Problem: Using "name" for a string result is confusing. 6795 Solution: Rename to "end". 6796 Files: src/typval.c 6797 6798 Patch 8.2.1015 6799 Problem: Popup filter gets key with modifier prepended when using 6800 modifyOtherKeys. 6801 Solution: Remove the shift modifier when it is included in the key, also 6802 when the Alt or Meta modifier is used. 6803 Files: src/term.c, src/misc2.c, src/testdir/test_popupwin.vim 6804 6805 Patch 8.2.1016 6806 Problem: Vim9: test fails when channel feature is missing. 6807 Solution: Process an :if command when skipping 6808 Files: src/vim9compile.c 6809 6810 Patch 8.2.1017 6811 Problem: Appveyor output doesn't show MinGW console features. 6812 Solution: List the features of the console build. 6813 Files: ci/appveyor.bat 6814 6815 Patch 8.2.1018 6816 Problem: Typo in enum value. (James McCoy) 6817 Solution: Fix the typo. 6818 Files: src/vim9compile.c 6819 6820 Patch 8.2.1019 6821 Problem: Mapping <M-S-a> does not work in the GUI. 6822 Solution: Move the logic to remove the shift modifier to 6823 may_remove_shift_modifier() and also use it in the GUI. 6824 Files: src/gui_gtk_x11.c, src/misc2.c, src/proto/misc2.pro, src/term.c 6825 6826 Patch 8.2.1020 6827 Problem: Popupwin test fails in the GUI. 6828 Solution: Send GUI byte sequence for <C-S-a>. 6829 Files: src/testdir/test_popupwin.vim 6830 6831 Patch 8.2.1021 6832 Problem: Ruby interface not tested enough. 6833 Solution: Add a couple more tests. (Dominique Pellé, closes #6301) 6834 Files: src/testdir/test_ruby.vim 6835 6836 Patch 8.2.1022 6837 Problem: Various parts of code not covered by tests. 6838 Solution: Add more tests. (Yegappan Lakshmanan, closes #6300) 6839 Files: src/testdir/test_blob.vim, src/testdir/test_cpoptions.vim, 6840 src/testdir/test_digraph.vim, src/testdir/test_edit.vim, 6841 src/testdir/test_iminsert.vim, src/testdir/test_paste.vim, 6842 src/testdir/test_prompt_buffer.vim, 6843 src/testdir/test_selectmode.vim, src/testdir/test_tabpage.vim, 6844 src/testdir/test_tagjump.vim, src/testdir/test_textformat.vim, 6845 src/testdir/test_viminfo.vim, src/testdir/test_virtualedit.vim, 6846 src/testdir/test_visual.vim 6847 6848 Patch 8.2.1023 6849 Problem: Vim9: redefining a function uses a new index every time. 6850 Solution: When redefining a function clear the contents and re-use the 6851 index. 6852 Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c, 6853 src/structs.h, src/eval.c, src/evalvars.c, src/vim9execute.c 6854 6855 Patch 8.2.1024 6856 Problem: Vim9: no error for using "let g:var = val". 6857 Solution: Add an error. 6858 Files: src/evalvars.c, src/globals.h, src/structs.h, src/vim9compile.c, 6859 src/scriptfile.c, src/userfunc.c, src/testdir/test_vim9_script.vim, 6860 src/testdir/test_vim9_disassemble.vim, 6861 src/testdir/test_vim9_func.vim 6862 6863 Patch 8.2.1025 6864 Problem: Tabpage menu and tabline not sufficiently tested. 6865 Solution: Add tests. (Yegappan Lakshmanan, closes #6307) 6866 Files: src/testdir/test_digraph.vim, src/testdir/test_tabpage.vim 6867 6868 Patch 8.2.1026 6869 Problem: Vim9: cannot break the line after "->". 6870 Solution: Check for a continuation line after "->", "[" and ".". Ignore 6871 trailing white space. 6872 Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim 6873 6874 Patch 8.2.1027 6875 Problem: GUI: multibyte characters do not work in a terminal. 6876 Solution: Do not assume a key is one byte. (closes #6304) 6877 Files: src/gui_gtk_x11.c, src/gui_x11.c 6878 6879 Patch 8.2.1028 6880 Problem: Vim9: no error for declaring buffer, window, etc. variable. 6881 Solution: Give an error. Unify the error messages. 6882 Files: src/evalvars.c, src/globals.h, src/vim9compile.c, 6883 src/proto/vim9compile.pro, src/testdir/test_vim9_expr.vim, 6884 src/testdir/test_vim9_script.vim 6885 6886 Patch 8.2.1029 6887 Problem: Vim9: cannot chain function calls with -> at line start. 6888 Solution: Peek ahead for a following line starting with "->". (closes #6306) 6889 Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim 6890 6891 Patch 8.2.1030 6892 Problem: Reducing size of a terminal window may cause a crash. 6893 Solution: Make sure the row and column don't become negative. (closes #6273) 6894 Files: src/libvterm/src/state.c, src/libvterm/src/screen.c 6895 6896 Patch 8.2.1031 6897 Problem: Build failure with Perl5.32. 6898 Solution: Define a few more functions. (Felix Yan, closes #6310) 6899 Files: src/if_perl.xs 6900 6901 Patch 8.2.1032 6902 Problem: Error message for declaring a variable cannot be translated. 6903 Solution: Enclose in _(). Make environment variable a separate message. 6904 Files: src/globals.h, src/vim9compile.c 6905 6906 Patch 8.2.1033 6907 Problem: Not easy to read the test time in the test output. 6908 Solution: Align the times. Make slow tests bold. 6909 Files: src/testdir/runtest.vim 6910 6911 Patch 8.2.1034 6912 Problem: Compiler warning for uninitialized variables. 6913 Solution: Add initializations. (John Marriott) 6914 Files: src/vim9compile.c 6915 6916 Patch 8.2.1035 6917 Problem: setreg() does not always clear the register. 6918 Solution: Clear the register if the dict argument is empty. (Andy Massimino, 6919 closes #3370) 6920 Files: src/evalfunc.c, src/testdir/test_registers.vim 6921 6922 Patch 8.2.1036 6923 Problem: Popupwin test fails sometimes. 6924 Solution: Use WaitForAssert() instead of a sleep. 6925 Files: src/testdir/test_popupwin.vim 6926 6927 Patch 8.2.1037 6928 Problem: Vim9: crash when using line continuation inside :def. 6929 Solution: Check for no more lines available. 6930 Files: src/vim9compile.c, src/testdir/test_vim9_func.vim 6931 6932 Patch 8.2.1038 6933 Problem: Popupwin test fails. 6934 Solution: Fix WaitForAssert() argument. 6935 Files: src/testdir/test_popupwin.vim 6936 6937 Patch 8.2.1039 6938 Problem: Cannot put NUL byte on clipboard. 6939 Solution: Use the text length. (Christian Brabandt, closes #6312, 6940 closes #6149) 6941 Files: src/winclip.c, src/testdir/test_registers.vim 6942 6943 Patch 8.2.1040 6944 Problem: Not enough testing for movement commands. 6945 Solution: Add more tests. (Yegappan Lakshmanan, closes #6313) 6946 Files: src/testdir/test_cursor_func.vim, src/testdir/test_functions.vim, 6947 src/testdir/test_gf.vim, src/testdir/test_normal.vim, 6948 src/testdir/test_options.vim, src/testdir/test_quickfix.vim 6949 6950 Patch 8.2.1041 6951 Problem: Test summary is missing executed count. 6952 Solution: Adjust pattern used for counting. 6953 Files: src/testdir/summarize.vim 6954 6955 Patch 8.2.1042 6956 Problem: Vim9: cannot put an operator on the next line. 6957 Solution: Require a colon before a range to see if that causes problems. 6958 Files: runtime/doc/vim9.txt, src/vim9compile.c, src/ex_docmd.c, 6959 src/globals.h, src/testdir/test_vim9_script.vim, 6960 src/testdir/test_vim9_expr.vim 6961 6962 Patch 8.2.1043 6963 Problem: %a item in 'statusline' not tested. 6964 Solution: Add a test. (Dominique Pellé, closes #6318) 6965 Files: src/testdir/test_statusline.vim 6966 6967 Patch 8.2.1044 6968 Problem: Not all systemd file types are recognized. 6969 Solution: Match several more files. (Guido Cella, closes #6319) 6970 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 6971 6972 Patch 8.2.1045 6973 Problem: Vim9: line break before operator does not work. 6974 Solution: Peek the next line for an operator. 6975 Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim 6976 6977 Patch 8.2.1046 6978 Problem: Insufficient tests for src/buffer.c. 6979 Solution: Add more tests. Move comments related tests to a separate file. 6980 (Yegappan Lakshmanan, closes #6325) 6981 Files: src/testdir/Make_all.mak, src/testdir/test_buffer.vim, 6982 src/testdir/test_cmdline.vim, src/testdir/test_comments.vim, 6983 src/testdir/test_normal.vim, src/testdir/test_textformat.vim 6984 6985 Patch 8.2.1047 6986 Problem: Vim9: script cannot use line continuation like in a :def function. 6987 Solution: Pass the getline function pointer to the eval() functions. Use it 6988 for addition and multiplication operators. 6989 Files: src/vim.h, src/structs.h, src/globals.h, src/ex_eval.c, 6990 src/eval.c, src/proto/eval.pro, src/dict.c, src/evalfunc.c, 6991 src/evalvars.c, src/list.c, src/userfunc.c, src/scriptfile.c, 6992 src/proto/scriptfile.pro, src/testdir/test_vim9_expr.vim 6993 6994 Patch 8.2.1048 (after 8.2.1047) 6995 Problem: Build failure without the eval feature. 6996 Solution: Add dummy typedef. 6997 Files: src/structs.h 6998 6999 Patch 8.2.1049 (after 8.2.1047) 7000 Problem: Vim9: leaking memory when using continuation line. 7001 Solution: Keep a pointer to the continuation line in evalarg_T. Centralize 7002 checking for a next command. 7003 Files: src/structs.h, src/eval.c, src/proto/eval.pro, src/beval.c, 7004 src/buffer.c, src/clientserver.c, src/evalvars.c, src/ex_docmd.c, 7005 src/ex_eval.c, src/filepath.c, src/findfile.c, src/fold.c, 7006 src/globals.h, src/if_ole.cpp, src/if_perl.xs, src/if_tcl.c, 7007 src/map.c, src/quickfix.c, src/regexp.c, src/register.c, 7008 src/screen.c, src/userfunc.c 7009 7010 Patch 8.2.1050 (after 8.2.1049) 7011 Problem: Missing change in struct. 7012 Solution: Add missing change. 7013 Files: src/ex_cmds.h 7014 7015 Patch 8.2.1051 7016 Problem: Crash when changing a list while using reduce() on it. 7017 Solution: Lock the list. (closes #6330) 7018 Files: src/list.c, src/testdir/test_listdict.vim 7019 7020 Patch 8.2.1052 7021 Problem: Build failure with older compilers. 7022 Solution: Move declaration to start of block. 7023 Files: src/eval.c 7024 7025 Patch 8.2.1053 7026 Problem: Insufficient testing for 'statusline' and 'tabline'. 7027 Solution: Add more tests. (Yegappan Lakshmanan, closes #6333) 7028 Files: src/testdir/test_autocmd.vim, src/testdir/test_statusline.vim, 7029 src/testdir/test_tabline.vim 7030 7031 Patch 8.2.1054 7032 Problem: Not so easy to pass a lua function to Vim. 7033 Solution: Convert a Lua function and closure to a Vim funcref. (Prabir 7034 Shrestha, closes #6246) 7035 Files: runtime/doc/if_lua.txt, src/if_lua.c, src/proto/userfunc.pro, 7036 src/structs.h, src/testdir/test_lua.vim, src/userfunc.c 7037 7038 Patch 8.2.1055 7039 Problem: No filetype set for pacman config files. 7040 Solution: Recognize pacman.conf and *.hook. (Guido Cella, closes #6335) 7041 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 7042 7043 Patch 8.2.1056 7044 Problem: Wrong display when mixing match conceal and syntax conceal. 7045 Solution: Adjust how conceal flags are used. (closes #6327, closes #6303) 7046 Files: src/drawline.c, src/highlight.c, 7047 src/testdir/test_matchadd_conceal.vim 7048 7049 Patch 8.2.1057 (after 8.2.1054) 7050 Problem: Cannot build with dynamic Lua. 7051 Solution: Add dll variables. 7052 Files: src/if_lua.c 7053 7054 Patch 8.2.1058 7055 Problem: Multiline conceal causes display errors. 7056 Solution: Do not allow conceal cross over EOL. (closes #6326, closes #4854, 7057 closes #6302) 7058 Files: src/drawline.c, src/testdir/test_conceal.vim, 7059 src/testdir/test_diffmode.vim 7060 7061 Patch 8.2.1059 7062 Problem: Crash when using :tabonly in an autocommand. (Yegappan Lakshmanan) 7063 Solution: Do not allow the autocommand window to be closed. 7064 Files: src/ex_docmd.c, src/window.c, src/globals.h, 7065 src/testdir/test_autocmd.vim 7066 7067 Patch 8.2.1060 7068 Problem: Not all elinks files are recognized. 7069 Solution: Just check for "elinks.conf". (Guido Cella, closes #6337) 7070 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 7071 7072 Patch 8.2.1061 7073 Problem: Insufficient testing for src/window.c. 7074 Solution: Add more tests. (Yegappan Lakshmanan, closes #6345) 7075 Files: src/testdir/test_excmd.vim, src/testdir/test_gf.vim, 7076 src/testdir/test_options.vim, src/testdir/test_popupwin.vim, 7077 src/testdir/test_quickfix.vim, src/testdir/test_tabpage.vim, 7078 src/testdir/test_tagjump.vim, src/testdir/test_window_cmd.vim, 7079 src/window.c 7080 7081 Patch 8.2.1062 7082 Problem: Vim9: no line break allowed inside "cond ? val1 : val2". 7083 Solution: Check for operator after line break. 7084 Files: src/eval.c, src/testdir/test_vim9_expr.vim 7085 7086 Patch 8.2.1063 7087 Problem: Vim9: no line break allowed before || or &&. 7088 Solution: Check for operator after line break. 7089 Files: src/eval.c, src/testdir/test_vim9_expr.vim 7090 7091 Patch 8.2.1064 7092 Problem: Vim9: no line break allowed before comparators. 7093 Solution: Check for comparator after line break. 7094 Files: src/eval.c, src/testdir/test_vim9_expr.vim 7095 7096 Patch 8.2.1065 7097 Problem: Vim9: no line break allowed inside a list. 7098 Solution: Handle line break inside a list in Vim9 script. 7099 Files: src/eval.c, src/proto/eval.pro, src/list.c, src/proto/list.pro, 7100 src/vim9compile.c, src/testdir/test_vim9_expr.vim, 7101 src/testdir/test_arglist.vim 7102 7103 Patch 8.2.1066 7104 Problem: Lua arrays are zero based. 7105 Solution: Make Lua arrays one based. (Prabir Shrestha, closes #6347) 7106 Note: this is not backwards compatible. 7107 Files: runtime/doc/if_lua.txt, src/if_lua.c, src/testdir/test_lua.vim 7108 7109 Patch 8.2.1067 7110 Problem: Expression "!expr->func()" does not work. 7111 Solution: Apply plus and minus earlier. (closes #6348) 7112 Files: src/eval.c, src/proto/eval.pro, src/evalvars.c, src/userfunc.c, 7113 src/testdir/test_expr.vim, src/testdir/test_vim9_expr.vim 7114 7115 Patch 8.2.1068 7116 Problem: Vim9: no line break allowed inside a dict. 7117 Solution: Handle line break inside a dict in Vim9 script. 7118 Files: src/eval.c, src/dict.c, src/proto/dict.pro, 7119 src/vim9compile.c, src/testdir/test_vim9_expr.vim 7120 7121 Patch 8.2.1069 7122 Problem: Vim9: fail to check for white space in list. 7123 Solution: Add check for white space. 7124 Files: src/list.c 7125 7126 Patch 8.2.1070 7127 Problem: Vim9: leaking memory when lacking white space in dict. 7128 Solution: Clear the typval. 7129 Files: src/dict.c 7130 7131 Patch 8.2.1071 7132 Problem: Vim9: no line break allowed inside a lambda. 7133 Solution: Handle line break inside a lambda in Vim9 script. 7134 Files: src/eval.c, src/proto/eval.pro, src/evalvars.c, src/userfunc.c, 7135 src/proto/userfunc.pro, src/popupwin.c, src/vim9compile.c, 7136 src/ex_eval.c, src/globals.h, src/structs.h, 7137 src/testdir/test_vim9_expr.vim 7138 7139 Patch 8.2.1072 7140 Problem: Missing libvterm test. 7141 Solution: Sync with libvterm revision 768. 7142 Files: src/libvterm/src/state.c, src/libvterm/t/63screen_resize.test 7143 7144 Patch 8.2.1073 7145 Problem: Vim9: no line break allowed in () expression. 7146 Solution: Skip a line break. 7147 Files: src/eval.c, src/testdir/test_vim9_expr.vim 7148 7149 Patch 8.2.1074 7150 Problem: Vim9: no line break allowed after some operators. 7151 Solution: Skip a line break after the operator. Add 7152 eval_may_get_next_line() to simplify checking for a line break. 7153 Files: src/eval.c, src/proto/eval.pro, src/dict.c, src/list.c, 7154 src/userfunc.c, src/testdir/test_vim9_expr.vim 7155 7156 Patch 8.2.1075 7157 Problem: Vim9: no line break allowed in :echo expression. 7158 Solution: Skip linebreak. 7159 Files: src/eval.c, src/testdir/test_vim9_cmd.vim 7160 7161 Patch 8.2.1076 7162 Problem: Vim9: no line break allowed in :if expression. 7163 Solution: Skip linebreak. 7164 Files: src/eval.c, src/proto/eval.pro, src/evalvars.c, 7165 src/testdir/test_vim9_cmd.vim 7166 7167 Patch 8.2.1077 7168 Problem: No enough test coverage for highlighting. 7169 Solution: Add more tests. (Yegappan Lakshmanan, closes #6351) 7170 Files: runtime/doc/syntax.txt, src/testdir/test_cmdline.vim, 7171 src/testdir/test_highlight.vim, src/testdir/test_match.vim 7172 7173 Patch 8.2.1078 7174 Problem: Highlight and match functionality together in one file. 7175 Solution: Move match functionality to a separate file. (Yegappan Lakshmanan, 7176 closes #6352) 7177 Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak, 7178 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md, 7179 src/highlight.c, src/match.c, src/proto.h, 7180 src/proto/highlight.pro, src/proto/match.pro 7181 7182 Patch 8.2.1079 7183 Problem: Vim9: no line break allowed in a while loop. 7184 Solution: Update stored loop lines when finding line breaks. 7185 Files: src/structs.h, src/globals.h, src/eval.c, src/evalvars.c, 7186 src/ex_docmd.c, src/proto/ex_docmd.pro, 7187 src/testdir/test_vim9_cmd.vim 7188 7189 Patch 8.2.1080 7190 Problem: Vim9: no line break allowed in a for loop. 7191 Solution: Skip line breaks in for command. 7192 Files: src/eval.c, src/ex_eval.c, src/proto/eval.pro, src/userfunc.c, 7193 src/structs.h, src/globals.h, src/testdir/test_vim9_cmd.vim 7194 7195 Patch 8.2.1081 7196 Problem: Lua: cannot use table.insert() and table.remove(). 7197 Solution: Add the list functions. (Prabir Shrestha, closes #6353) 7198 Files: runtime/doc/if_lua.txt, src/if_lua.c, src/testdir/test_lua.vim 7199 7200 Patch 8.2.1082 7201 Problem: Coverity complains about ignoring dict_add() return value. 7202 Solution: Add (void). 7203 Files: src/evalfunc.c 7204 7205 Patch 8.2.1083 7206 Problem: Crash when using reduce() on a NULL list. 7207 Solution: Only access the list when not NULL. 7208 Files: src/list.c, src/testdir/test_listdict.vim 7209 7210 Patch 8.2.1084 7211 Problem: Lua: registering function has useless code. 7212 Solution: Remove clearing grow arrays. 7213 Files: src/userfunc.c 7214 7215 Patch 8.2.1085 7216 Problem: Coverity complains about ignoring dict_add() return value. 7217 Solution: Add (void). 7218 Files: src/register.c 7219 7220 Patch 8.2.1086 7221 Problem: Possibly using freed memory when text properties used when 7222 changing indent of a line. 7223 Solution: Compute the offset before calling ml_replace(). 7224 Files: src/indent.c 7225 7226 Patch 8.2.1087 7227 Problem: Possible memory leak when file expansion fails. 7228 Solution: Clear the grow array when returning FAIL. Use an error message 7229 instead of an empty string. 7230 Files: src/filepath.c 7231 7232 Patch 8.2.1088 7233 Problem: A very long translation might cause a buffer overflow. 7234 Solution: Truncate the message if needed. 7235 Files: src/fileio.c 7236 7237 Patch 8.2.1089 7238 Problem: Coverity warns for pointer computation. 7239 Solution: Avoid computing a pointer to invalid memory. 7240 Files: src/spellfile.c 7241 7242 Patch 8.2.1090 7243 Problem: May use NULL pointer when skipping over name. 7244 Solution: Always set ll_name_end. 7245 Files: src/eval.c 7246 7247 Patch 8.2.1091 7248 Problem: No check if opening a pty works. 7249 Solution: Check for invalid file descriptor. 7250 Files: src/os_unix.c 7251 7252 Patch 8.2.1092 7253 Problem: Not checking if saving for undo succeeds. 7254 Solution: Bail out if u_savesub() returns FAIL. 7255 Files: src/textprop.c 7256 7257 Patch 8.2.1093 7258 Problem: Python: double free when adding item to dict fails. 7259 Solution: Remove vim_free() call. 7260 Files: src/if_py_both.h 7261 7262 Patch 8.2.1094 7263 Problem: Dead code in libvterm. 7264 Solution: Remove condition that is always true. 7265 Files: src/libvterm/src/pen.c 7266 7267 Patch 8.2.1095 7268 Problem: May use pointer after freeing it when text properties are used. 7269 Solution: Update redo buffer before calling ml_replace(). 7270 Files: src/spellsuggest.c 7271 7272 Patch 8.2.1096 7273 Problem: Vim9: return type of getqflist() is wrong. 7274 Solution: Let the return type depend on the arguments. Also for 7275 getloclist(). (closes #6357) 7276 Files: src/evalfunc.c, src/testdir/test_vim9_func.vim 7277 7278 Patch 8.2.1097 7279 Problem: Highlight code not sufficiently tested. 7280 Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6359) 7281 Files: src/testdir/test_filter_cmd.vim, src/testdir/test_highlight.vim 7282 7283 Patch 8.2.1098 7284 Problem: Vim9: cannot use line break in :throw argument. 7285 Solution: Check for line break. 7286 Files: src/eval.c, src/testdir/test_vim9_script.vim 7287 7288 Patch 8.2.1099 7289 Problem: Vim9: cannot use line break in :cexpr argument. 7290 Solution: Check for line break. 7291 Files: src/eval.c, src/testdir/test_vim9_script.vim 7292 7293 Patch 8.2.1100 7294 Problem: Vim9: cannot use line break in :execute, :echomsg and :echoerr 7295 argument. 7296 Solution: Check for line break. 7297 Files: src/eval.c, src/testdir/test_vim9_script.vim 7298 7299 Patch 8.2.1101 7300 Problem: No error when using wrong arguments for setqflist() or 7301 setloclist(). 7302 Solution: Check for the error. 7303 Files: src/quickfix.c, src/testdir/test_quickfix.vim 7304 7305 Patch 8.2.1102 7306 Problem: Coverity gets confused by an unnecessary NULL check. 7307 Solution: Remove the check for NULL. 7308 Files: src/quickfix.c 7309 7310 Patch 8.2.1103 7311 Problem: Coverity reports an unnecessary NULL check. 7312 Solution: Remove the check for NULL. 7313 Files: src/eval.c 7314 7315 Patch 8.2.1104 7316 Problem: Coverity warns for possible NULL pointer use. 7317 Solution: Check "pbyts" is not NULL. 7318 Files: src/spellsuggest.c 7319 7320 Patch 8.2.1105 7321 Problem: Insufficient test coverage for Lua. 7322 Solution: Add tests. (Yegappan Lakshmanan, closes #6368) Fix uncovered 7323 memory leak. Avoid unnecessary copy/free. 7324 Files: src/if_lua.c, src/testdir/test_lua.vim 7325 7326 Patch 8.2.1106 7327 Problem: Crash when trying to use s: variable in typed command. 7328 Solution: Don't use the script index when not set. (Ken Takata, 7329 closes #6366) 7330 Files: src/vim9compile.c, src/testdir/test_vimscript.vim 7331 7332 Patch 8.2.1107 7333 Problem: 'imactivatefunc' and 'imstatusfunc' are not used in the GUI. 7334 Solution: Adjust the #ifdefs. (closes #6367) 7335 Files: runtime/doc/options.txt, src/gui_xim.c, 7336 src/testdir/test_iminsert.vim 7337 7338 Patch 8.2.1108 7339 Problem: Mouse left-right scroll is not supported in terminal window. 7340 Solution: Implement mouse codes 6 and 7. (Trygve Aaberge, closes #6363) 7341 Files: src/libvterm/src/mouse.c, src/mouse.c, src/terminal.c, 7342 src/testdir/mouse.vim, src/testdir/test_termcodes.vim 7343 7344 Patch 8.2.1109 (after 8.2.1106) 7345 Problem: Still crashing when using s:variable. 7346 Solution: Remove assignment. (Ken Takata) 7347 Files: src/vim9compile.c 7348 7349 Patch 8.2.1110 7350 Problem: Vim9: line continuation does not work in function arguments. 7351 Solution: Pass "evalarg" to get_func_tv(). Fix seeing double quoted string 7352 as comment. 7353 Files: src/userfunc.c, src/proto/userfunc.pro, src/eval.c, src/ex_eval.c, 7354 src/list.c, src/dict.c, src/proto/eval.pro, 7355 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim 7356 7357 Patch 8.2.1111 7358 Problem: Inconsistent naming of get_list_tv() and eval_dict(). 7359 Solution: Rename get_list_tv() to eval_list(). Similarly for eval_number(), 7360 eval_string(), eval_lit_string() and a few others. 7361 Files: src/eval.c, src/list.c, src/proto/list.pro, src/vim9compile.c, 7362 src/typval.c, src/proto/typval.pro, src/vim9script.c, 7363 src/evalfunc.c, src/evalvars.c, src/proto/evalvars.pro, 7364 src/vim9execute.c 7365 7366 Patch 8.2.1112 7367 Problem: Vim9: no line continuation allowed in method call. 7368 Solution: Handle line continuation in expression before method call. 7369 Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim, 7370 src/testdir/test_vim9_script.vim, 7371 src/testdir/test_vim9_expr.vim 7372 7373 Patch 8.2.1113 7374 Problem: No test for verbose output of :call. 7375 Solution: Add a test. 7376 Files: src/testdir/test_user_func.vim 7377 7378 Patch 8.2.1114 7379 Problem: Terminal test sometimes times out. 7380 Solution: Split the test in two parts. 7381 Files: src/testdir/Makefile, src/testdir/Make_all.mak, 7382 src/testdir/term_util.vim, src/testdir/test_terminal.vim, 7383 src/testdir/test_terminal2.vim 7384 7385 Patch 8.2.1115 7386 Problem: Iminsert test fails when compiled with VIMDLL. 7387 Solution: Change condition. (Ken Takata, closes #6376) 7388 Files: src/testdir/test_iminsert.vim 7389 7390 Patch 8.2.1116 7391 Problem: Vim9: parsing command checks for list twice. 7392 Solution: Adjust how a command is parsed. 7393 Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim 7394 7395 Patch 8.2.1117 7396 Problem: Coverity warns for using uninitialized field. 7397 Solution: Initialize v_lock. 7398 Files: src/if_lua.c 7399 7400 Patch 8.2.1118 7401 Problem: Condition can never be true, dead code. 7402 Solution: Remove the dead code. 7403 Files: src/move.c 7404 7405 Patch 8.2.1119 7406 Problem: Configure fails with Xcode 12 beta. 7407 Solution: use "return" instead of "exit()". (Nico Weber, closes #6381) 7408 Files: src/configure.ac, src/auto/configure 7409 7410 Patch 8.2.1120 7411 Problem: Python code not tested properly. 7412 Solution: Add more tests and convert old-style test into new-style test. 7413 (Yegappan Lakshmanan, closes #6370) 7414 Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms, 7415 src/testdir/test86.in, src/testdir/test86.ok, 7416 src/testdir/test_python2.vim 7417 7418 Patch 8.2.1121 7419 Problem: Command completion not working after ++arg. 7420 Solution: Move skipping up. (Christian Brabandt, closes #6382) 7421 Files: src/cmdexpand.c, src/testdir/test_cmdline.vim 7422 7423 Patch 8.2.1122 7424 Problem: Vim9: line continuation in dict member not recognized. 7425 Solution: Check for line continuation. 7426 Files: src/eval.c, src/testdir/test_vim9_expr.vim 7427 7428 Patch 8.2.1123 7429 Problem: Python 3 test is old style. 7430 Solution: Turn into new style test. (Yegappan Lakshmanan, closes #6385) 7431 Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms, 7432 src/testdir/test87.in, src/testdir/test87.ok, 7433 src/testdir/test_python2.vim, src/testdir/test_python3.vim 7434 7435 Patch 8.2.1124 7436 Problem: Vim9: no line break allowed in :import command. 7437 Solution: Skip over line breaks. 7438 Files: src/vim9script.c, src/proto/vim9script.pro, src/vim9compile.c, 7439 src/testdir/test_vim9_script.vim 7440 7441 Patch 8.2.1125 7442 Problem: Vim9: double quote can be a string or a comment. 7443 Solution: Only support comments starting with # to avoid confusion. 7444 Files: src/eval.c, src/proto/eval.pro, src/dict.c, src/list.c, 7445 src/vim9script.c 7446 7447 Patch 8.2.1126 7448 Problem: Vim9: using :copen causes an error. 7449 Solution: Add flag LET_NO_COMMAND in set_var(). 7450 Files: src/evalvars.c, src/testdir/test_vim9_script.vim 7451 7452 Patch 8.2.1127 7453 Problem: Vim9: getting a dict member may not work. 7454 Solution: Clear the dict only after copying the item. (closes #6390) 7455 Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim 7456 7457 Patch 8.2.1128 7458 Problem: The write message mentions characters, but it's actually bytes. 7459 Solution: Change "C" to "B" and "characters" to "bytes". 7460 Files: runtime/doc/options.txt, src/fileio.c, 7461 src/testdir/test_cscope.vim, src/testdir/test_netbeans.vim, 7462 src/testdir/dumps/Test_diff_syntax_1.dump, 7463 src/testdir/dumps/Test_long_file_name_1.dump, 7464 src/testdir/dumps/Test_display_unprintable_01.dump, 7465 src/testdir/dumps/Test_tselect_1.dump 7466 7467 Patch 8.2.1129 7468 Problem: Vim9: bar not recognized after not compiled command. 7469 Solution: Check for bar for commands where this is possible. (closes #6391) 7470 Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim 7471 7472 Patch 8.2.1130 7473 Problem: Vim9: bar not recognized after function call 7474 Solution: Skip whitespace. (closes #6391) 7475 Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim 7476 7477 Patch 8.2.1131 7478 Problem: Vim9: error message for returning a value in a function that does 7479 not return anything is not clear. 7480 Solution: Add a specific message. 7481 Files: src/vim9compile.c, src/testdir/test_vim9_func.vim 7482 7483 Patch 8.2.1132 7484 Problem: Vim9: return type of repeat() is not specific enough. 7485 Solution: Return the type of the first argument. (closes #6395) 7486 Files: src/evalfunc.c, src/testdir/test_vim9_func.vim 7487 7488 Patch 8.2.1133 7489 Problem: Vim9: return type of add() is not specific enough. 7490 Solution: Return the type of the first argument. (closes #6395) 7491 Files: src/evalfunc.c, src/testdir/test_vim9_func.vim 7492 7493 Patch 8.2.1134 7494 Problem: Vim9: getting a list member may not work. 7495 Solution: Clear the list only after copying the item. (closes #6393) 7496 Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim 7497 7498 Patch 8.2.1135 7499 Problem: Vim9: getting a dict member may not work. 7500 Solution: Clear the dict only after copying the item. 7501 Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim 7502 7503 Patch 8.2.1136 7504 Problem: Vim9: return type of argv() is always any. 7505 Solution: Use list<string> if there is no argument. 7506 Files: src/evalfunc.c, src/testdir/test_vim9_func.vim 7507 7508 Patch 8.2.1137 7509 Problem: Vim9: modifiers not cleared after compiling function. 7510 Solution: Clear command modifiers. (closes #6396) 7511 Files: src/vim9compile.c, src/ex_docmd.c, src/proto/ex_docmd.pro, 7512 src/testdir/test_vim9_func.vim, 7513 src/testdir/dumps/Test_vim9_silent_echo.dump 7514 7515 Patch 8.2.1138 7516 Problem: Vim9: return type of copy() and deepcopy() is any. 7517 Solution: Use type of the argument. 7518 Files: src/evalfunc.c, src/testdir/test_vim9_func.vim 7519 7520 Patch 8.2.1139 (after 8.2.1137) 7521 Problem: Vim9: test for silent echo fails in some environments. 7522 Solution: Use :function instead of :def. 7523 Files: src/testdir/test_vim9_func.vim 7524 7525 Patch 8.2.1140 7526 Problem: Vim9: return type of extend() is any. 7527 Solution: Use type of the argument. 7528 Files: src/evalfunc.c, src/testdir/test_vim9_func.vim 7529 7530 Patch 8.2.1141 7531 Problem: Vim9: return type of filter() is any. 7532 Solution: Use type of the argument. 7533 Files: src/evalfunc.c, src/testdir/test_vim9_func.vim 7534 7535 Patch 8.2.1142 7536 Problem: Vim9: return type of insert() is any. 7537 Solution: Use type of the first argument. 7538 Files: src/evalfunc.c, src/testdir/test_vim9_func.vim 7539 7540 Patch 8.2.1143 7541 Problem: Vim9: return type of remove() is any. 7542 Solution: Use the member type of the first argument, if known. 7543 Files: src/evalfunc.c, src/testdir/test_vim9_func.vim 7544 7545 Patch 8.2.1144 7546 Problem: Vim9: return type of reverse() is any. 7547 Solution: Use the type of the first argument. 7548 Files: src/evalfunc.c, src/testdir/test_vim9_func.vim 7549 7550 Patch 8.2.1145 7551 Problem: Vim9: "for" only accepts a list at compile time. 7552 Solution: Also accept a list at runtime. 7553 Files: src/vim9compile.c, src/testdir/test_vim9_script.vim, 7554 src/testdir/test_vim9_disassemble.vim 7555 7556 Patch 8.2.1146 7557 Problem: Not enough testing for Python. 7558 Solution: Add more tests. Fix uncovered problems. (Yegappan Lakshmanan, 7559 closes #6392) 7560 Files: src/if_py_both.h, src/if_python3.c, src/testdir/shared.vim, 7561 src/testdir/test_python2.vim, src/testdir/test_python3.vim 7562 7563 Patch 8.2.1147 7564 Problem: :confirm may happen in cooked mode. (Jason Franklin) 7565 Solution: Switch to raw mode before prompting. (Brandon Pfeifer) 7566 Files: src/message.c, src/testdir/test_excmd.vim 7567 7568 Patch 8.2.1148 7569 Problem: Warning for using int instead of size_t. 7570 Solution: Change "len" argument to size_t. (Mike Williams) 7571 Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9script.c 7572 7573 Patch 8.2.1149 7574 Problem: Vim9: :eval command not handled properly. 7575 Solution: Compile the :eval command. (closes #6408) 7576 Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim 7577 7578 Patch 8.2.1150 7579 Problem: ml_get error when using Python. (Yegappan Lakshmanan) 7580 Solution: Check the line number is not out of range. Call "Check" with 7581 "fromObj" instead of "from". 7582 Files: src/if_py_both.h, src/testdir/test_python2.vim, 7583 src/testdir/test_python3.vim 7584 7585 Patch 8.2.1151 7586 Problem: Insufficient test coverage for Python. 7587 Solution: Add more test cases. (Yegappan Lakshmanan, closes #6415) 7588 Files: src/testdir/test_python2.vim, src/testdir/test_python3.vim 7589 7590 Patch 8.2.1152 7591 Problem: Vim9: function reference is missing script prefix. 7592 Solution: Use the actual function name instead of the name searched for in 7593 the script context. (closes #6412) 7594 Files: src/vim9compile.c, src/testdir/test_vim9_script.vim 7595 7596 Patch 8.2.1153 7597 Problem: Vim9: script test fails on some systems. 7598 Solution: Return proper value from Compare(). 7599 Files: src/testdir/test_vim9_script.vim 7600 7601 Patch 8.2.1154 7602 Problem: Vim9: crash when using imported function. 7603 Solution: Check for a function type. Set the script context when calling a 7604 function. (closes #6412) 7605 Files: src/evalvars.c, src/scriptfile.c, src/proto/scriptfile.pro, 7606 src/vim9execute.c, src/structs.h, src/testdir/test_vim9_script.vim 7607 7608 Patch 8.2.1155 7609 Problem: Vim9: cannot handle line break inside lambda. 7610 Solution: Pass the compilation context through. (closes #6407, closes #6409) 7611 Files: src/structs.h, src/vim9compile.c, src/proto/vim9compile.pro, 7612 src/eval.c, src/testdir/test_vim9_func.vim 7613 7614 Patch 8.2.1156 7615 Problem: Vim9: No error for invalid command in compiled function. 7616 Solution: Handle CMD_SIZE. 7617 Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim 7618 7619 Patch 8.2.1157 7620 Problem: Vim9: dict.name is not recognized as an expression. 7621 Solution: Recognize ".name". (closes #6418) 7622 Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim 7623 7624 Patch 8.2.1158 (after 8.2.1155) 7625 Problem: Build error. 7626 Solution: Add missing change to globals. 7627 Files: src/globals.h 7628 7629 Patch 8.2.1159 7630 Problem: Vim9: no error for missing space after a comma. 7631 Solution: Check for white space. 7632 Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim, 7633 src/testdir/test_vim9_script.vim 7634 7635 Patch 8.2.1160 7636 Problem: Vim9: memory leak in allocated types. 7637 Solution: Free the type pointers. 7638 Files: src/vim9script.c, src/userfunc.c, src/vim9compile.c, 7639 src/proto/vim9compile.pro 7640 7641 Patch 8.2.1161 7642 Problem: Vim9: using freed memory. 7643 Solution: Put pointer back in evalarg instead of freeing it. 7644 Files: src/userfunc.c, src/vim9compile.c, src/eval.c, src/proto/eval.pro, 7645 src/structs.h 7646 7647 Patch 8.2.1162 7648 Problem: Crash when using a lambda. 7649 Solution: Check for evalarg to be NULL. 7650 Files: src/userfunc.c 7651 7652 Patch 8.2.1163 (after 8.2.1161) 7653 Problem: Build error. 7654 Solution: Add missing change to globals. 7655 Files: src/globals.h 7656 7657 Patch 8.2.1164 7658 Problem: Text cleared by checking terminal properties not redrawn. (Alexey 7659 Radkov) 7660 Solution: Mark the screen characters as invalid. (closes #6422) 7661 Files: src/screen.c, src/proto/screen.pro, src/term.c 7662 7663 Patch 8.2.1165 7664 Problem: Insufficient testing for the Tcl interface. 7665 Solution: Add more tests. (Yegappan Lakshmanan, closes #6423) 7666 Files: src/testdir/test_tcl.vim 7667 7668 Patch 8.2.1166 7669 Problem: Once mouse move events are enabled getchar() returns them. 7670 Solution: Ignore K_MOUSEMOVE in getchar(). (closes #6424) 7671 Files: runtime/doc/eval.txt, src/getchar.c 7672 7673 Patch 8.2.1167 7674 Problem: Vim9: builtin function method call only supports first argument. 7675 Solution: Shift arguments when needed. (closes #6305, closes #6419) 7676 Files: src/evalfunc.c, src/vim9compile.c, src/vim9execute.c, 7677 src/vim9.h, src/testdir/test_vim9_expr.vim, 7678 src/testdir/test_vim9_disassemble.vim 7679 7680 Patch 8.2.1168 7681 Problem: Wrong method argument for appendbufline(). 7682 Solution: Use FEARG_3. 7683 Files: src/evalfunc.c 7684 7685 Patch 8.2.1169 7686 Problem: Write NUL past allocated space using corrupted spell file. 7687 (Markus Vervier) 7688 Solution: Init "c" every time. 7689 Files: src/spellfile.c 7690 7691 Patch 8.2.1170 7692 Problem: Cursor off by one with block paste while 'virtualedit' is "all". 7693 Solution: Adjust condition. (Hugo Gualandi, closes #6430) 7694 Files: src/register.c, src/testdir/test_registers.vim 7695 7696 Patch 8.2.1171 7697 Problem: Possible crash when out of memory. 7698 Solution: Check for NULL pointer. (Dominique Pellé, closes #6432) 7699 Files: src/syntax.c 7700 7701 Patch 8.2.1172 7702 Problem: Error messages when doing "make clean" in the runtime/doc or 7703 src/tee directories. 7704 Solution: Use "rm -f". 7705 Files: runtime/doc/Makefile, src/tee/Makefile 7706 7707 Patch 8.2.1173 7708 Problem: Tee doesn't build on some systems. 7709 Solution: Include header files. (Dominique Pelle, closes #6431) 7710 Files: src/tee/tee.c 7711 7712 Patch 8.2.1174 7713 Problem: No test for the "recording @x" message. 7714 Solution: Add a test. (Dominique Pellé, closes #6427) 7715 Files: src/testdir/test_registers.vim 7716 7717 Patch 8.2.1175 7718 Problem: Vim9: Cannot split a line before ".member". 7719 Solution: Check for ".member" after line break. 7720 Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim 7721 7722 Patch 8.2.1176 7723 Problem: Vim9: not enough type checking in Vim9 script. 7724 Solution: Use same type checking as in a :def function. 7725 Files: src/vim9compile.c, src/proto/vim9compile.pro, 7726 src/eval.c, src/testdir/test_vim9_expr.vim 7727 7728 Patch 8.2.1177 7729 Problem: Terminal2 test sometimes hangs in the GUI. 7730 Solution: Move some tests to other files to further locate the problem. 7731 Set the GUI to a fixed screen size. 7732 Files: src/testdir/test_terminal.vim, src/testdir/test_terminal2.vim, 7733 src/testdir/test_terminal3.vim, src/testdir/Make_all.mak, 7734 src/testdir/runtest.vim 7735 7736 Patch 8.2.1178 7737 Problem: Vim9: filter function recognized as command modifier, leading to a 7738 crash. 7739 Solution: Clear cmdmod after freeing items. Do not recognize a command 7740 modifier followed by non-white space. (closes #6434) 7741 Files: src/ex_docmd.c, src/vim9compile.c, src/testdir/test_vim9_cmd.vim 7742 7743 Patch 8.2.1179 7744 Problem: Test_termwinscroll() sometimes hangs in the GUI. 7745 Solution: Skip the test in the GUI. 7746 Files: src/testdir/test_terminal2.vim 7747 7748 Patch 8.2.1180 7749 Problem: Build failure in small version. 7750 Solution: Add #ifdef. 7751 Files: src/ex_docmd.c 7752 7753 Patch 8.2.1181 7754 Problem: Json code not fully tested. 7755 Solution: Add more test coverage. (Dominique Pellé, closes #6433) 7756 Files: src/testdir/test_json.vim 7757 7758 Patch 8.2.1182 7759 Problem: Vim9: no check for whitespace after comma in lambda. 7760 Solution: Give error if white space is missing. 7761 Files: src/userfunc.c, src/testdir/test_vim9_expr.vim, 7762 src/testdir/test_vim9_func.vim 7763 7764 Patch 8.2.1183 7765 Problem: assert_fails() checks the last error message. 7766 Solution: Check the first error, it is more relevant. Fix all the tests 7767 that rely on the old behavior. 7768 Files: runtime/doc/testing.txt, src/message.c, src/globals.h, 7769 src/testing.c, src/testdir/test_autocmd.vim, 7770 src/testdir/test_buffer.vim, src/testdir/test_cd.vim, 7771 src/testdir/test_channel.vim, src/testdir/test_clientserver.vim, 7772 src/testdir/test_cmdline.vim, src/testdir/test_cpoptions.vim, 7773 src/testdir/test_cscope.vim, src/if_cscope.c, 7774 src/testdir/test_excmd.vim, src/evalvars.c, 7775 src/testdir/test_expr.vim, src/testdir/test_functions.vim, 7776 src/testdir/test_json.vim, src/testdir/test_let.vim, 7777 src/testdir/test_listdict.vim, src/testdir/test_listener.vim, 7778 src/testdir/test_match.vim, src/testdir/test_menu.vim, 7779 src/testdir/test_method.vim, src/testdir/test_normal.vim, 7780 src/testdir/test_popup.vim, src/testdir/test_python2.vim, 7781 src/testdir/test_python3.vim, src/testdir/test_quickfix.vim, 7782 src/testdir/test_random.vim, src/testdir/test_search.vim, 7783 src/testdir/test_signs.vim, src/testdir/test_spell.vim, 7784 src/testdir/test_substitute.vim, src/testdir/test_syntax.vim, 7785 src/testdir/test_tagjump.vim, src/testdir/test_taglist.vim, 7786 src/testdir/test_terminal.vim, src/testdir/test_textprop.vim, 7787 src/testdir/test_trycatch.vim, 7788 src/testdir/test_vim9_disassemble.vim, 7789 src/testdir/test_vim9_func.vim, src/vim9compile.c, 7790 src/testdir/test_vim9_script.vim, src/testdir/test_viminfo.vim, 7791 src/testdir/test_winbuf_close.vim, 7792 src/testdir/test_window_cmd.vim, src/testdir/test_writefile.vim, 7793 src/testdir/test_regexp_latin.vim, src/testdir/test_utf8.vim, 7794 src/testdir/test_global.vim, src/testdir/test_tagfunc.vim 7795 7796 Patch 8.2.1184 (after 8.2.1183) 7797 Problem: Some tests fail. 7798 Solution: Adjust tests for different assert_fails() behavior. Remove unused 7799 variable. 7800 Files: src/testdir/test_assert.vim, src/testdir/test_eval_stuff.vim, 7801 src/evalvars.c 7802 7803 Patch 8.2.1185 (after 8.2.1183) 7804 Problem: Some other tests fail. 7805 Solution: Adjust tests for different assert_fails() behavior. 7806 Files: src/testdir/test_lua.vim, src/testdir/test_tcl.vim 7807 7808 Patch 8.2.1186 7809 Problem: With SGR mouse codes balloon doesn't show up after click. 7810 Solution: Add the MOUSE_RELEASE bits to mouse_code. 7811 Files: src/mouse.c 7812 7813 Patch 8.2.1187 7814 Problem: Terminal2 test sometimes hangs in the GUI on Travis. 7815 Solution: Disable Test_zz2_terminal_guioptions_bang() for now. 7816 Files: src/testdir/test_terminal2.vim 7817 7818 Patch 8.2.1188 7819 Problem: Memory leak with invalid json input. 7820 Solution: Free all keys at the end. (Dominique Pellé, closes #6443, 7821 closes #6442) 7822 Files: src/json.c, src/testdir/test_json.vim 7823 7824 Patch 8.2.1189 7825 Problem: Vim9: line continuation in lambda doesn't always work. 7826 Solution: Do not use a local evalarg unless there isn't one. (closes #6439) 7827 Files: src/eval.c, src/testdir/test_vim9_expr.vim 7828 7829 Patch 8.2.1190 7830 Problem: Vim9: checking for Vim9 syntax is spread out. 7831 Solution: Use in_vim9script(). 7832 Files: src/vim9script.c, src/dict.c, src/eval.c, src/evalvars.c, 7833 src/ex_docmd.c, src/list.c, src/scriptfile.c, src/userfunc.c 7834 7835 Patch 8.2.1191 7836 Problem: Vim9: crash when function calls itself. 7837 Solution: Add status UF_COMPILING. (closes #6441) 7838 Files: src/structs.h, src/vim9compile.c, src/testdir/test_vim9_func.vim 7839 7840 Patch 8.2.1192 7841 Problem: Lua test fails with older Lua version. 7842 Solution: Adjust expected error messages. (closes #6444) 7843 Files: src/testdir/test_lua.vim 7844 7845 Patch 8.2.1193 7846 Problem: Terminal window not redrawn when dragging a popup window over it. 7847 Solution: Redraw terminal window. (fixes #6438) 7848 Files: src/popupwin.c, src/testdir/test_popupwin.vim, 7849 src/testdir/dumps/Test_popupwin_term_01.dump, 7850 src/testdir/dumps/Test_popupwin_term_02.dump 7851 7852 Patch 8.2.1194 7853 Problem: Test failure because shell prompt differs. 7854 Solution: Set the shell prompt. 7855 Files: src/testdir/test_popupwin.vim, 7856 src/testdir/dumps/Test_popupwin_term_01.dump, 7857 src/testdir/dumps/Test_popupwin_term_02.dump 7858 7859 Patch 8.2.1195 7860 Problem: Clientserver test fails on MS-Windows. 7861 Solution: Expect a different error message. 7862 Files: src/testdir/test_clientserver.vim 7863 7864 Patch 8.2.1196 7865 Problem: Build failure with normal features. 7866 Solution: Add #ifdef. 7867 Files: src/popupwin.c 7868 7869 Patch 8.2.1197 7870 Problem: Clientserver test still fails on MS-Windows. 7871 Solution: Expect a different error message. 7872 Files: src/testdir/test_clientserver.vim 7873 7874 Patch 8.2.1198 7875 Problem: Terminal2 test sometimes hangs in the GUI on Travis. 7876 Solution: Move test function to terminal3 to see if the problem moves too. 7877 Files: src/testdir/test_terminal2.vim, src/testdir/test_terminal3.vim 7878 7879 Patch 8.2.1199 7880 Problem: Not all assert functions are fully tested. 7881 Solution: Test more assert functions. 7882 Files: src/testing.c, src/testdir/test_assert.vim 7883 7884 Patch 8.2.1200 7885 Problem: Vim9: cannot disassemble a lambda function. 7886 Solution: Recognize "<lambda>123" as a function name. 7887 Files: src/vim9execute.c, src/testdir/test_vim9_disassemble.vim 7888 7889 Patch 8.2.1201 7890 Problem: Vim9: crash when passing number as dict key. 7891 Solution: Check key type to be string. (closes #6449) 7892 Files: src/vim9compile.c, src/testdir/test_vim9_func.vim 7893 7894 Patch 8.2.1202 7895 Problem: Vim9: crash when calling a closure from a builtin function. 7896 Solution: Use the current execution context. (closes #6441) 7897 Files: src/vim9execute.c, src/testdir/test_vim9_func.vim 7898 7899 Patch 8.2.1203 7900 Problem: Unused assignments in expression evaluation. 7901 Solution: Move declarations and assignments to inner blocks where possible. 7902 Files: src/eval.c 7903 7904 Patch 8.2.1204 7905 Problem: Vim9: true and false not recognized in Vim9 script. 7906 Solution: Recognize true and false. 7907 Files: src/eval.c, src/testdir/test_vim9_expr.vim 7908 7909 Patch 8.2.1205 7910 Problem: Vim9: && and || work differently when not compiled. 7911 Solution: Keep the value. 7912 Files: src/eval.c, src/testdir/test_vim9_expr.vim 7913 7914 Patch 8.2.1206 7915 Problem: Vim9: crash in expr test when run in the GUI. 7916 Solution: Temporarily comment out two test lines. 7917 Files: src/testdir/test_vim9_expr.vim 7918 7919 Patch 8.2.1207 7920 Problem: Vim9: crash in expr test when run in the GUI. 7921 Solution: Break out of loop over hashtab also when function got removed and 7922 added. 7923 Files: src/userfunc.c, src/testdir/test_vim9_expr.vim 7924 7925 Patch 8.2.1208 7926 Problem: Build failure. 7927 Solution: Add missing change. 7928 Files: src/structs.h 7929 7930 Patch 8.2.1209 7931 Problem: Vim9: test failure. 7932 Solution: Add missing changes to hashtab. 7933 Files: src/hashtab.c 7934 7935 Patch 8.2.1210 7936 Problem: Using ht_used when looping through a hashtab is less reliable. 7937 Solution: Use ht_changed in a few more places. 7938 Files: src/userfunc.c, src/if_py_both.h 7939 7940 Patch 8.2.1211 (after 8.2.1118) 7941 Problem: Removed more than dead code. 7942 Solution: Put back the decrement. 7943 Files: src/move.c, src/testdir/test_diffmode.vim 7944 7945 Patch 8.2.1212 7946 Problem: Cannot build with Lua 5.4. 7947 Solution: Use luaL_typeerror instead defining it. (closes #6454) 7948 Files: src/if_lua.c 7949 7950 Patch 8.2.1213 7951 Problem: Mouse codes not tested sufficiently. 7952 Solution: Add more tests for mouse codes. (closes #6436) 7953 Files: src/testdir/test_termcodes.vim 7954 7955 Patch 8.2.1214 7956 Problem: MS-Windows: default _vimrc not correct in silent install mode. 7957 Solution: Add the LoadDefaultVimrc macro. (Ken Takata, closes #6451) 7958 Files: nsis/gvim.nsi 7959 7960 Patch 8.2.1215 7961 Problem: Atari MiNT support is outdated. 7962 Solution: Nobody responded this code is still useful, so let's delete it. 7963 Files: Filelist, src/os_mint.h, src/vim.h, src/Make_mint.mak, 7964 src/digraph.c, src/fileio.c, src/memfile.c, src/os_unix.c, 7965 src/term.c, READMEdir/README_extra.txt, runtime/doc/os_mint.txt, 7966 src/INSTALL 7967 7968 Patch 8.2.1216 7969 Problem: Startup test fails. 7970 Solution: Adjust expected values for deleted lines. 7971 Files: src/testdir/test_startup.vim 7972 7973 Patch 8.2.1217 7974 Problem: Startup test depends on random source file. 7975 Solution: Write a test file to find quickfix errors in. 7976 Files: src/testdir/test_startup.vim 7977 7978 Patch 8.2.1218 7979 Problem: Vim9: cannot use 'text'->func(). 7980 Solution: Recognize string at start of command. 7981 Files: src/vim9compile.c, src/ex_docmd.c, src/testdir/test_vim9_func.vim 7982 7983 Patch 8.2.1219 7984 Problem: Symlink not followed if dirname ends in //. 7985 Solution: Resolve symlink earlier. (Tomáš Janoušek, closes #6454) 7986 Files: src/memline.c, src/testdir/test_swap.vim 7987 7988 Patch 8.2.1220 7989 Problem: memory access error when dragging a popup window over a buffer 7990 with folding. 7991 Solution: Avoid going over the end of the cache. (closes #6438) 7992 Files: src/mouse.c, src/testdir/test_popupwin.vim, 7993 src/testdir/dumps/Test_popupwin_term_01.dump, 7994 src/testdir/dumps/Test_popupwin_term_02.dump, 7995 src/testdir/dumps/Test_popupwin_term_03.dump, 7996 src/testdir/dumps/Test_popupwin_term_04.dump 7997 7998 Patch 8.2.1221 7999 Problem: Memory leak when updating popup window. 8000 Solution: Clear search highlighting. 8001 Files: src/popupwin.c 8002 8003 Patch 8.2.1222 8004 Problem: When using valgrind a Vim command started by a test uses the same 8005 log file name which gets overwritten. 8006 Solution: Fix regexp to rename the log file. 8007 Files: src/testdir/shared.vim 8008 8009 Patch 8.2.1223 8010 Problem: Vim9: invalid type error for function default value. 8011 Solution: Use right argument index. (closes #6458) 8012 Files: src/vim9compile.c, src/testdir/test_vim9_func.vim 8013 8014 Patch 8.2.1224 8015 Problem: Vim9: arguments from partial are not used. 8016 Solution: Put the partial arguments on the stack. (closes #6460) 8017 Files: src/vim9execute.c, src/testdir/test_vim9_func.vim 8018 8019 Patch 8.2.1225 8020 Problem: Linker errors when building with dynamic Python 3.9. 8021 Solution: Add #defined items. (closes #6461) 8022 Files: src/if_python3.c 8023 8024 Patch 8.2.1226 8025 Problem: MS-Windows: windows positioning wrong when the taskbar is placed 8026 at the top or left of the screen. 8027 Solution: Use GetWindowRect and MoveWindow APIs. (Yukihiro Nakadaira, 8028 Ken Takata, closes #6455) 8029 Files: src/gui_w32.c 8030 8031 Patch 8.2.1227 8032 Problem: Vim9: allowing both quoted and # comments is confusing. 8033 Solution: Only support # comments in Vim9 script. 8034 Files: runtime/doc/vim9.txt, src/ex_docmd.c, src/proto/ex_docmd.pro, 8035 src/vim9compile.c, src/testdir/test_vim9_disassemble.vim, 8036 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim, 8037 src/testdir/test_vim9_script.vim 8038 8039 Patch 8.2.1228 8040 Problem: Scrollbars not flush against the window edges when maximised. 8041 Solution: Add padding. (Ken Takata, closes #5602, closes #6466) 8042 Files: src/gui.c, src/gui_athena.c, src/gui_gtk.c, src/gui_haiku.cc, 8043 src/gui_mac.c, src/gui_motif.c, src/gui_photon.c, src/gui_w32.c, 8044 src/proto/gui_athena.pro, src/proto/gui_gtk.pro, 8045 src/proto/gui_haiku.pro, src/proto/gui_mac.pro, 8046 src/proto/gui_motif.pro, src/proto/gui_photon.pro, 8047 src/proto/gui_w32.pro 8048 8049 Patch 8.2.1229 8050 Problem: Build error without the eval feature. 8051 Solution: Declare starts_with_colon. Make function local. 8052 Files: src/ex_docmd.c, src/proto/ex_docmd.pro 8053 8054 Patch 8.2.1230 8055 Problem: Vim9: list index error not caught by try/catch. 8056 Solution: Do not bail out if an error is inside try/catch. (closes #6462) 8057 Files: src/vim9execute.c, src/testdir/test_vim9_script.vim 8058 8059 Patch 8.2.1231 8060 Problem: MS-Windows: GUI code can be cleaned up. 8061 Solution: Do a bit of cleaning up. (Ken Takata, closes #6465) 8062 Files: src/gui_w32.c, src/proto/gui_w32.pro 8063 8064 Patch 8.2.1232 8065 Problem: MS-Windows GUI: Snap cancelled by split command. 8066 Solution: Do not cancel Snap when splitting a window. (Ken Takata, 8067 closes #6467) 8068 Files: src/gui_w32.c 8069 8070 Patch 8.2.1233 8071 Problem: Vim9: various errors not caught by try/catch. 8072 Solution: Do not bail out if an error is inside try/catch. 8073 Files: src/vim9execute.c, src/testdir/test_vim9_script.vim 8074 8075 Patch 8.2.1234 8076 Problem: Lua build problem with old compiler. 8077 Solution: Move declarations to start of the block. (Taro Muraoka, 8078 closes #6477) 8079 Files: src/if_lua.c 8080 8081 Patch 8.2.1235 8082 Problem: Not all mouse codes covered by tests. 8083 Solution: Add more tests for the mouse. (Yegappan Lakshmanan, closes #6472) 8084 Files: src/testdir/mouse.vim, src/testdir/test_termcodes.vim 8085 8086 Patch 8.2.1236 8087 Problem: Vim9: a few errors not caught by try/catch. 8088 Solution: Do not bail out if an error is inside try/catch. Fix that a not 8089 matching catch doesn't jump to :endtry. 8090 Files: src/vim9compile.c, src/vim9execute.c, 8091 src/testdir/test_vim9_script.vim 8092 8093 Patch 8.2.1237 8094 Problem: Changing 'completepopup' after opening a popup has no effect. (Jay 8095 Sitter) 8096 Solution: Close the popup when the options are changed. (closes #6471) 8097 Files: runtime/doc/options.txt, src/popupwin.c, src/proto/popupwin.pro, 8098 src/optionstr.c, src/testdir/test_popupwin.vim, 8099 src/testdir/dumps/Test_popupwin_infopopup_8.dump 8100 8101 Patch 8.2.1238 8102 Problem: Vim9: a few remaining errors not caught by try/catch. 8103 Solution: Do not bail out if an error is inside try/catch. 8104 Files: src/vim9execute.c, src/testdir/test_vim9_script.vim 8105 8106 Patch 8.2.1239 8107 Problem: "maxwidth" in 'completepopup' not obeyed. (Jay Sitter) 8108 Solution: Add separate field for value from option. (closes #6470) 8109 Files: src/structs.h, src/popupwin.c, src/popupmenu.c, 8110 src/testdir/dumps/Test_popupwin_infopopup_9.dump 8111 8112 Patch 8.2.1240 8113 Problem: GUI tests sometimes fail because of translations. 8114 Solution: Reload the menus without translation. (Taro Muraoka, closes #6486) 8115 Files: src/testdir/runtest.vim 8116 8117 Patch 8.2.1241 8118 Problem: Cannot use getbufinfo() as a method. 8119 Solution: Support using getbufinfo() as a method. (closes #6458) 8120 Files: runtime/doc/eval.txt, src/evalfunc.c, 8121 src/testdir/test_bufwintabinfo.vim 8122 8123 Patch 8.2.1242 8124 Problem: Vim9: no error if calling a function with wrong argument type. 8125 Solution: Check types of arguments. (closes #6469) 8126 Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9execute.c, 8127 src/testdir/test_vim9_func.vim 8128 8129 Patch 8.2.1243 8130 Problem: Vim9: cannot have a comment or empty line halfway a list at script 8131 level. 8132 Solution: Skip more than one line if needed. 8133 Files: src/vim9compile.c, src/proto/vim9compile.pro, src/eval.c, 8134 src/scriptfile.c 8135 8136 Patch 8.2.1244 8137 Problem: Vim9: in lambda index assumes a list. 8138 Solution: Use the value type to decide about list or dict. (closes #6479) 8139 Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim 8140 8141 Patch 8.2.1245 8142 Problem: Build failure in tiny version. 8143 Solution: Add #ifdef. 8144 Files: src/scriptfile.c 8145 8146 Patch 8.2.1246 8147 Problem: Vim9: comment after assignment doesn't work. 8148 Solution: Skip over white space. (closes #6481) 8149 Files: src/vim9compile.c, src/testdir/test_vim9_script.vim 8150 8151 Patch 8.2.1247 8152 Problem: Vim9: cannot index a character in a string. 8153 Solution: Add ISN_STRINDEX instruction. (closes #6478) 8154 Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, 8155 src/testdir/test_vim9_expr.vim 8156 8157 Patch 8.2.1248 8158 Problem: Netbeans test is flaky in the GUI. 8159 Solution: Filter out geometry messages. (Taro Muraoka, closes #6487) 8160 Files: src/testdir/test_netbeans.vim 8161 8162 Patch 8.2.1249 8163 Problem: Vim9: disassemble test fails. 8164 Solution: Change INDEX to LISTINDEX. Add test for STRINDEX. 8165 Files: src/testdir/test_vim9_disassemble.vim 8166 8167 Patch 8.2.1250 8168 Problem: Vim9: cannot use the g:, b:, t: and w: namespaces. 8169 Solution: Add instructions to push a dict for the namespaces. (closes #6480) 8170 Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, 8171 src/testdir/test_vim9_disassemble.vim, 8172 src/testdir/test_vim9_expr.vim 8173 8174 Patch 8.2.1251 8175 Problem: Vim9: warning for pointer usage, test failure undetected. 8176 Solution: Fix pointer indirection. Give error when executing function 8177 failed for any reason. Fix instruction names. 8178 Files: src/vim9execute.c, src/userfunc.c, src/proto/userfunc.pro 8179 8180 Patch 8.2.1252 8181 Problem: ":marks" may show '< and '> mixed up. 8182 Solution: Show the mark position as where '< and '> would jump. 8183 Files: src/mark.c, src/testdir/test_marks.vim 8184 8185 Patch 8.2.1253 8186 Problem: CTRL-K in Insert mode gets <CursorHold> inserted. (Roland 8187 Puntaier) 8188 Solution: Do not reset did_cursorhold, restore it. (closes #6447) 8189 Files: src/normal.c 8190 8191 Patch 8.2.1254 8192 Problem: MS-Windows: regexp test may fail if 'iskeyword' set wrongly. 8193 Solution: Override the 'iskeyword' value. (Taro Muraoka, closes #6502) 8194 Files: src/testdir/test_regexp_utf8.vim 8195 8196 Patch 8.2.1255 8197 Problem: Cannot use a lambda with quickfix functions. 8198 Solution: Add support for lambda. (Yegappan Lakshmanan, closes #6499) 8199 Files: runtime/doc/eval.txt, runtime/doc/options.txt, 8200 runtime/doc/quickfix.txt, src/channel.c, src/evalvars.c, 8201 src/optionstr.c, src/proto/evalvars.pro, src/proto/quickfix.pro, 8202 src/quickfix.c, src/testdir/test_quickfix.vim 8203 8204 Patch 8.2.1256 8205 Problem: Vim9: type wrong after getting dict item in lambda. 8206 Solution: Set the type to "any" after enforcing dict type. (closes #6491) 8207 Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim 8208 8209 Patch 8.2.1257 8210 Problem: Vim9: list unpack doesn't work at the script level. 8211 Solution: Detect unpack assignment better. (closes #6494) 8212 Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim 8213 8214 Patch 8.2.1258 (after 8.2.1253) 8215 Problem: CursorHold does not work well.a (Shane-XB-Qian) 8216 Solution: Only restore did_cursorhold when using :normal. 8217 Files: src/normal.c 8218 8219 Patch 8.2.1259 8220 Problem: Empty group in 'tabline' may cause using an invalid pointer. 8221 Solution: Set the group start position. (closes #6505) 8222 Files: src/buffer.c, src/testdir/test_tabline.vim 8223 8224 Patch 8.2.1260 8225 Problem: There is no good test for CursorHold. 8226 Solution: Add a test. Remove duplicated test. (Yegappan Lakshmanan, 8227 closes #6503) 8228 Files: src/testdir/test_autocmd.vim, src/testdir/test_buffer.vim, 8229 src/testdir/test_normal.vim 8230 8231 Patch 8.2.1261 8232 Problem: Vim9: common type of function not tested. 8233 Solution: Add a test. Fix uncovered problems. 8234 Files: src/vim9compile.c, src/vim9execute.c, 8235 src/testdir/test_vim9_expr.vim 8236 8237 Patch 8.2.1262 8238 Problem: src/ex_cmds.c file is too big. 8239 Solution: Move help related code to src/help.c. (Yegappan Lakshmanan, 8240 closes #6506) 8241 Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak, 8242 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md, 8243 src/cmdexpand.c, src/ex_cmds.c, src/help.c, src/proto.h, 8244 src/proto/ex_cmds.pro, src/proto/help.pro 8245 8246 Patch 8.2.1263 8247 Problem: Vim9: comparators use 'ignorecase' in Vim9 script. 8248 Solution: Ignore 'ignorecase'. Use true and false instead of 1 and 0. 8249 (closes #6497) 8250 Files: src/eval.c, src/typval.c, src/vim9execute.c, 8251 src/testdir/test_vim9_expr.vim 8252 8253 Patch 8.2.1264 8254 Problem: Terminal getwinpos() test is a bit flaky. 8255 Solution: Call getwinpos() a bit later. 8256 Files: src/testdir/test_terminal3.vim 8257 8258 Patch 8.2.1265 8259 Problem: Crash with EXITFREE when split() fails. 8260 Solution: Restore 'cpoptions'. 8261 Files: src/evalfunc.c 8262 8263 Patch 8.2.1266 (after 8.2.1262) 8264 Problem: Makefile preference were accidentally included. 8265 Solution: Revert the Makefile changes. 8266 Files: src/Makefile 8267 8268 Patch 8.2.1267 8269 Problem: MS-Windows: tests may fail due to $PROMPT value. 8270 Solution: Set $PROMPT for testing. (Taro Muraoka, closes #6510) 8271 Files: src/testdir/runtest/vim 8272 8273 Patch 8.2.1268 8274 Problem: Vim9: no error for using double quote comment after :func or :def. 8275 Solution: Only accept double quote when not in Vim9 script and not after 8276 :def. (closes #6483) 8277 Files: src/userfunc.c, src/testdir/test_vim9_script.vim 8278 8279 Patch 8.2.1269 8280 Problem: Language and locale code spread out. 8281 Solution: Move relevant code to src/locale.c. (Yegappan Lakshmanan, 8282 closes #6509) 8283 Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak, 8284 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md, 8285 src/ex_cmds2.c, src/locale.c, src/main.c, src/proto.h, 8286 src/proto/ex_cmds2.pro, src/proto/locale.pro 8287 8288 Patch 8.2.1270 8289 Problem: Vim9: not skipping over function type declaration with only a 8290 return type. 8291 Solution: Skip over the return type. (issue #6507) 8292 Files: src/vim9compile.c, src/testdir/test_vim9_func.vim 8293 8294 Patch 8.2.1271 8295 Problem: Vim9: Error for Funcref function argument type. 8296 Solution: Find the actual function type if possible. (issue #6507) 8297 Files: src/vim9compile.c, src/testdir/test_vim9_func.vim 8298 8299 Patch 8.2.1272 8300 Problem: Vim9: type not checked if declaration also assigns value. 8301 Solution: Check the type. (issue #6507) 8302 Files: src/eval.c, src/vim9compile.c, src/proto/vim9compile.pro, 8303 src/vim9script.c, src/vim9execute.c, 8304 src/testdir/test_vim9_script.vim 8305 8306 Patch 8.2.1273 8307 Problem: MS-Windows: terminal test may leave file behind. 8308 Solution: Wait a moment for process to end before deleting the file. 8309 (Taro Muraoka, closes #6513) 8310 Files: src/testdir/test_terminal.vim 8311 8312 Patch 8.2.1274 8313 Problem: Vim9: no error for missing white space in assignment at script 8314 level. 8315 Solution: Check for white space. (closes #6495) 8316 Files: src/eval.c, src/evalvars.c, src/testdir/test_vim9_script.vim, 8317 src/testdir/test_let.vim 8318 8319 Patch 8.2.1275 8320 Problem: Vim9: compiler warning for buffer size. 8321 Solution: Change the offset from 10 to 15. (Dominique Pellé, closes #6518) 8322 Files: src/vim9script.c 8323 8324 Patch 8.2.1276 8325 Problem: MS-Windows: system test may fail if more.exe is installed. 8326 Solution: Explicitly use more.com. (Taro Muraoka, Ken Takata, closes #6517) 8327 Files: src/testdir/test_system.vim 8328 8329 Patch 8.2.1277 8330 Problem: Tests on Travis do not run with EXITFREE. 8331 Solution: Add EXITFREE to all builds to uncover any mistakes. 8332 Files: .travis.yml 8333 8334 Patch 8.2.1278 8335 Problem: Vim9: line break after "->" only allowed in :def function. 8336 Solution: Only allow line break after "->". (closes #6492) 8337 Files: src/vim9compile.c, src/globals.h, src/testdir/test_vim9_expr.vim 8338 8339 Patch 8.2.1279 8340 Problem: Some tests on Travis have EXITFREE duplicated. 8341 Solution: Remove EXITFREE from shadowopt. Add "shadow" to job name. 8342 Files: .travis.yml 8343 8344 Patch 8.2.1280 8345 Problem: Ex command error cannot contain an argument. 8346 Solution: Add ex_errmsg() and translate earlier. Use e_trailing_arg where 8347 possible. 8348 Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/buffer.c, 8349 src/ex_eval.c, src/match.c, src/testdir/test_tabpage.vim 8350 8351 Patch 8.2.1281 8352 Problem: The "trailing characters" error can be hard to understand. 8353 Solution: Add the trailing characters to the message. 8354 Files: src/cmdhist.c, src/eval.c, src/evalfunc.c, src/evalvars.c, 8355 src/ex_cmds.c, src/ex_docmd.c, src/ex_eval.c, src/json.c, 8356 src/menu.c, src/quickfix.c, src/sign.c, src/userfunc.c 8357 8358 Patch 8.2.1282 8359 Problem: Vim9: crash when using CheckScriptFailure() in 8360 Test_vim9script_call_fail_decl(). 8361 Solution: Do not decrement the def_functions len unless the function was 8362 newly added. 8363 Files: src/vim9compile.c, src/testdir/test_vim9_func.vim 8364 8365 Patch 8.2.1283 8366 Problem: Vim9: error for misplaced -> lacks argument. 8367 Solution: Use the pointer before it was advanced. 8368 Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim 8369 8370 Patch 8.2.1284 8371 Problem: Vim9: skipping over type includes following white space, leading 8372 to an error for missing white space. 8373 Solution: Do not skip over white space after the type. 8374 Files: src/vim9compile.c, src/testdir/test_vim9_func.vim 8375 8376 Patch 8.2.1285 8377 Problem: Vim9: argument types are not checked on assignment. 8378 Solution: Check function argument types. (issue #6507) 8379 Files: src/vim9compile.c, src/testdir/test_vim9_func.vim 8380 8381 Patch 8.2.1286 8382 Problem: Vim9: No error when using a type on a window variable 8383 Solution: Recognize the syntax and give an error. (closes #6521) 8384 Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim 8385 8386 Patch 8.2.1287 8387 Problem: Vim9: crash when using an imported function. 8388 Solution: Add the function type to the imported entry. (closes #6522) 8389 Files: src/vim9script.c, src/vim9compile.c, 8390 src/testdir/test_vim9_script.vim 8391 8392 Patch 8.2.1288 8393 Problem: Vim9: cannot use mark in range. 8394 Solution: Use the flag that a colon was seen. (closes #6528) 8395 Files: src/ex_docmd.c, src/testdir/test_vim9_func.vim 8396 8397 Patch 8.2.1289 8398 Problem: Crash when using a custom completion function. 8399 Solution: Initialize all of the expand_T. (closes #6532) 8400 Files: src/cmdexpand.c 8401 8402 Patch 8.2.1290 8403 Problem: Vim9: cannot replace a global function. 8404 Solution: Allow for "!" on a global function. (closes #6524) Also fix that 8405 :delfunc on a :def function only made it empty. 8406 Files: src/userfunc.c, src/testdir/test_vim9_script.vim 8407 8408 Patch 8.2.1291 8409 Problem: Vim9: type of varargs items is not checked. 8410 Solution: Check the list item types. (closes #6523) 8411 Files: src/vim9execute.c, src/testdir/test_vim9_func.vim 8412 8413 Patch 8.2.1292 8414 Problem: AIDL filetype not recognized. 8415 Solution: Add filetype detection. (Dominique Pellé, closes #6533) 8416 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 8417 8418 Patch 8.2.1293 8419 Problem: Vim9: :execute mixes up () expression and function call. 8420 Solution: Do not skip white space when looking for the "(". (closes #6531) 8421 Files: src/vim9compile.c, src/testdir/test_vim9_script.vim 8422 8423 Patch 8.2.1294 8424 Problem: Vim9: error when using vim9script in TextYankPost. 8425 Solution: Use EX_LOCKOK instead of the EX_CMDWIN flag for command that can 8426 be used when text is locked. (closes #6529) 8427 Files: src/ex_cmds.h, src/ex_docmd.c 8428 8429 Patch 8.2.1295 8430 Problem: Tests 44 and 99 are old style. 8431 Solution: Convert to new style tests. (Yegappan Lakshmanan, closes #6536) 8432 Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms, 8433 src/testdir/test44.in, src/testdir/test44.ok, 8434 src/testdir/test99.in, src/testdir/test99.ok, 8435 src/testdir/test_regexp_utf8.vim 8436 8437 Patch 8.2.1296 8438 Problem: Some part of using 'smartcase' was not tested. 8439 Solution: Add more tests. (Dominique Pellé, closes #6538) 8440 Files: src/testdir/test_search.vim 8441 8442 Patch 8.2.1297 8443 Problem: When a test fails it's often not easy to see what the call stack 8444 is. 8445 Solution: Add more entries from the call stack in the exception message. 8446 Files: runtime/doc/cmdline.txt, src/scriptfile.c, 8447 src/proto/scriptfile.pro, src/debugger.c, src/ex_docmd.c, 8448 src/ex_eval.c, src/message.c, src/testing.c, 8449 src/testdir/test_expand_func.vim 8450 8451 Patch 8.2.1298 8452 Problem: Compiler warning for unused argument in small version. 8453 Solution: Add UNUSED. 8454 Files: src/scriptfile.c 8455 8456 Patch 8.2.1299 8457 Problem: Compiler warning for using size_t for int and void pointer. 8458 Solution: Add type casts. 8459 Files: src/scriptfile.c 8460 8461 Patch 8.2.1300 8462 Problem: Vim9: optional argument type not parsed properly. 8463 Solution: Skip over the "?". (issue #6507) 8464 Files: src/vim9compile.c, src/proto/vim9compile.pro, src/evalvars.c, 8465 src/userfunc.c, src/testdir/test_vim9_func.vim 8466 8467 Patch 8.2.1301 8468 Problem: Vim9: varargs argument type not parsed properly. 8469 Solution: Skip over the "...". (issue #6507) 8470 Files: src/vim9compile.c, src/testdir/test_vim9_func.vim 8471 8472 Patch 8.2.1302 8473 Problem: Vim9: varargs arg after optional arg does not work 8474 Solution: Check for the "..." first. (issue #6507) 8475 Files: src/vim9compile.c, src/testdir/test_vim9_func.vim 8476 8477 Patch 8.2.1303 8478 Problem: Calling popup_setoptions() resets 'signcolumn'. 8479 Solution: Only set 'signcolumn' when creating the popup. (closes #6542) 8480 Files: src/popupwin.c, src/testdir/test_popupwin.vim 8481 8482 Patch 8.2.1304 8483 Problem: Debug backtrace isn't tested much. 8484 Solution: Add more specific tests. (Ben Jackson, closes #6540) 8485 Files: src/testdir/runtest.vim, src/testdir/test_debugger.vim 8486 8487 Patch 8.2.1305 8488 Problem: Some tests are still old style. 8489 Solution: Convert tests 52 and 70 to new style. (Yegappan Lakshmanan, 8490 closes #6544) Fix error in FinishTesting(). 8491 Files: src/testdir/runtest.vim, src/Makefile, src/testdir/Make_all.mak, 8492 src/testdir/Make_amiga.mak, src/testdir/Make_vms.mms, 8493 src/testdir/test52.in, src/testdir/test52.ok, 8494 src/testdir/test70.in, src/testdir/test70.ok, 8495 src/testdir/test_mzscheme.vim, src/testdir/test_writefile.vim 8496 8497 Patch 8.2.1306 8498 Problem: Checking for first character of dict key is inconsistent. 8499 Solution: Add eval_isdictc(). (closes #6546) 8500 Files: src/eval.c, src/proto/eval.pro, src/vim9compile.c, 8501 src/testdir/test_listdict.vim, src/testdir/test_vim9_expr.vim, 8502 src/testdir/test_let.vim 8503 8504 Patch 8.2.1307 8505 Problem: popup window width does not include number, fold of sign column 8506 width. 8507 Solution: Take number, fold and sign column with into account. 8508 Files: src/popupwin.c, src/testdir/test_popupwin.vim, 8509 src/testdir/dumps/Test_popupwin_sign_2.dump 8510 8511 Patch 8.2.1308 8512 Problem: Vim9: accidentally using "x" causes Vim to exit. 8513 Solution: Disallow using ":x" or "xit" in Vim9 script. (closes #6399) 8514 Files: runtime/doc/vim9.txt, src/vim9compile.c, src/vim9script.c, 8515 src/proto/vim9script.pro, src/ex_docmd.c, src/ex_cmds.c, 8516 src/testdir/test_vim9_script.vim 8517 8518 Patch 8.2.1309 8519 Problem: Build failure with tiny version. 8520 Solution: Add #ifdef. 8521 Files: src/ex_cmds.c, src/ex_docmd.c 8522 8523 Patch 8.2.1310 8524 Problem: Configure with Xcode 12 fails to check for tgetent. 8525 Solution: Declare tgetent(). (Ozaki Kiichi, closes #6558) 8526 Files: src/configure.ac, src/auto/configure 8527 8528 Patch 8.2.1311 8529 Problem: Test failures with legacy Vim script. 8530 Solution: Actually check for Vim9 script. 8531 Files: src/vim9script.c 8532 8533 Patch 8.2.1312 8534 Problem: MS-Windows: terminal test may fail if dir.exe exists. 8535 Solution: Use dir.com. (Ken Takata, closes #6557) 8536 Files: src/testdir/test_terminal3.vim 8537 8538 Patch 8.2.1313 8539 Problem: Vim9 script: cannot assign to environment variable. 8540 Solution: Recognize environment variable assignment. (closes #6548) 8541 Also options and registers. 8542 Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim 8543 8544 Patch 8.2.1314 8545 Problem: Vim9: rule for comment after :function is confusing. 8546 Solution: Allow double quoted comment after :function in vim9script. 8547 (closes #6556) 8548 Files: src/userfunc.c, src/testdir/test_vim9_script.vim 8549 8550 Patch 8.2.1315 8551 Problem: MS-Windows: test log contains escape sequences. 8552 Solution: Do not use t_md and t_me but ANSI escape sequences. (Ken Takata, 8553 closes #6559) 8554 Files: src/testdir/runtest.vim 8555 8556 Patch 8.2.1316 8557 Problem: Test 42 is still old style. 8558 Solution: Turn it into a new style test. (Yegappan Lakshmanan, closes #6561) 8559 Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_dos.mak, 8560 src/testdir/Make_ming.mak, src/testdir/Make_vms.mms, 8561 src/testdir/test42.in, src/testdir/test42.ok, 8562 src/testdir/test_writefile.vim 8563 8564 Patch 8.2.1317 8565 Problem: MS-Windows tests on AppVeyor are slow. 8566 Solution: Use GitHub Actions. (Ken Takata, closes #6569) 8567 Files: Filelist, .github/workflows/ci-windows.yaml, appveyor.yml, 8568 ci/appveyor.bat 8569 8570 Patch 8.2.1318 8571 Problem: No status badge for Github CI. 8572 Solution: Add a badge. 8573 Files: README.md 8574 8575 Patch 8.2.1319 8576 Problem: Status badge for Github CI has wrong link. 8577 Solution: Rename and use the right link 8578 Files: README.md, .github/workflows/ci-windows.yaml 8579 8580 Patch 8.2.1320 8581 Problem: Vim9: cannot declare some single letter variables. 8582 Solution: Do not recognize a colon for a namespace for single letter 8583 variables. (closes #6547) 8584 Files: src/vim9compile.c, src/testdir/test_vim9_script.vim 8585 8586 Patch 8.2.1321 8587 Problem: GitHub CI also runs on tag push. 8588 Solution: Skip CI on push. (Ken Takata, closes #6571) 8589 Files: .github/workflows/ci-windows.yaml 8590 8591 Patch 8.2.1322 8592 Problem: Vim9: method on double quoted string doesn't work. 8593 Solution: Recognize double quoted string. (closes #6562) 8594 Files: src/ex_docmd.c, src/testdir/test_vim9_func.vim, 8595 src/testdir/test_vim9_expr.vim 8596 8597 Patch 8.2.1323 8598 Problem: Vim9: invalid operators only rejected in :def function. 8599 Solution: Also reject them at script level. (closes #6564) 8600 Files: src/eval.c, src/vim9compile.c, src/proto/vim9compile.pro, 8601 src/testdir/test_vim9_expr.vim 8602 8603 Patch 8.2.1324 8604 Problem: Vim9: line break after "=" does not work. 8605 Solution: Also allow for NUL after "=". (closes #6549) 8606 Files: src/evalvars.c, src/testdir/test_vim9_script.vim 8607 8608 Patch 8.2.1325 8609 Problem: Vim9: using Vim9 script for autoload not tested. 8610 Solution: Add a test. Update help. 8611 Files: runtime/doc/vim9.txt, src/testdir/test_autoload.vim, 8612 src/testdir/sautest/autoload/auto9.vim 8613 8614 Patch 8.2.1326 8615 Problem: Vim9: skipping over white space after list. 8616 Solution: Do not skip white space, a following [] would be misinterpreted. 8617 (closes #6552) Fix a few side effects. 8618 Files: src/list.c, src/dict.c, src/eval.c, src/userfunc.c, 8619 src/testdir/test_functions.vim, src/testdir/test_gn.vim, 8620 src/testdir/test_popupwin.vim, src/testdir/test_tabpage.vim, 8621 src/testdir/test_textprop.vim, src/testdir/test_textobjects.vim 8622 8623 Patch 8.2.1327 8624 Problem: Mac: configure can't find Tcl libraries. 8625 Solution: Adjust configure check. (closes #6575) 8626 Files: src/configure.ac, src/auto/configure 8627 8628 Patch 8.2.1328 8629 Problem: No space allowed before comma in list. 8630 Solution: Legacy Vim script allows it. (closes #6577) 8631 Files: src/dict.c, src/list.c, src/testdir/test_listdict.vim 8632 8633 Patch 8.2.1329 8634 Problem: Vim9: cannot define global function inside :def function. 8635 Solution: Assign to global variable instead of local. (closes #6584) 8636 Files: src/vim9compile.c, src/userfunc.c, src/proto/userfunc.pro, 8637 src/vim9.h, src/vim9execute.c, src/structs.h, 8638 src/misc2.c, src/proto/misc2.pro, src/testdir/test_vim9_func.vim, 8639 src/testdir/test_vim9_disassemble.vim 8640 8641 Patch 8.2.1330 8642 Problem: Github workflow takes longer than needed. 8643 Solution: Do two test runs in parallel instead of sequentially. (Ken Takata, 8644 closes #6579) 8645 Files: .github/workflows/ci-windows.yaml 8646 8647 Patch 8.2.1331 8648 Problem: Vim9: :echo with two lists doesn't work. 8649 Solution: Do not skip white space before []. (closes #6552) 8650 Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim 8651 8652 Patch 8.2.1332 8653 Problem: Vim9: memory leak when using nested global function. 8654 Solution: Delete the function when deleting the instruction. Disable test 8655 that still causes a leak. 8656 Files: src/vim9compile.c, src/userfunc.c, src/proto/userfunc.pro, 8657 src/testdir/test_vim9_func.vim 8658 8659 Patch 8.2.1333 8660 Problem: Vim9: memory leak when using nested global function. 8661 Solution: Swap from and to when copying the lines. 8662 Files: src/userfunc.c, src/testdir/test_vim9_func.vim 8663 8664 Patch 8.2.1334 8665 Problem: Github workflow timeout needs tuning 8666 Solution: Use a 10 minute timeout. Fail when timing out. (Ken Takata, 8667 closes #6590) 8668 Files: .github/workflows/ci-windows.yaml 8669 8670 Patch 8.2.1335 8671 Problem: CTRL-C in the GUI doesn't interrupt. (Sergey Vlasov) 8672 Solution: Recognize "C" with CTRL modifier as CTRL-C. (issue #6565) 8673 Files: src/gui.c, src/proto/gui.pro, src/gui_gtk_x11.c, src/gui_x11.c, 8674 src/gui_photon.c 8675 8676 Patch 8.2.1336 (after 8.2.1335) 8677 Problem: Build failure on non-Unix systems. 8678 Solution: Add #ifdef. 8679 Files: src/gui.c 8680 8681 Patch 8.2.1337 8682 Problem: Vim9: cannot use empty key in dict assignment. 8683 Solution: Allow empty key. (closes #6591) 8684 Files: src/vim9execute.c, src/testdir/test_vim9_script.vim 8685 8686 Patch 8.2.1338 8687 Problem: Vim9: assigning to script-local variable doesn't check type. 8688 Solution: Use the type. (issue #6591) 8689 Files: src/vim9compile.c, src/vim9execute.c, 8690 src/testdir/test_vim9_script.vim 8691 8692 Patch 8.2.1339 8693 Problem: Vim9: assigning to global dict variable doesn't work. 8694 Solution: Guess variable type based in index type. (issue #6591) 8695 Files: src/vim9compile.c, src/testdir/test_vim9_script.vim 8696 8697 Patch 8.2.1340 8698 Problem: Some tests fail on Cirrus CI and/or with FreeBSD. 8699 Solution: Make 'backupskip' empty. Do not run tests as root. Check for 8700 directory when using viminfo. (Ozaki Kiichi, closes #6596) 8701 Files: .cirrus.yml, src/testdir/test_backup.vim, 8702 src/testdir/test_edit.vim, src/testdir/test_viminfo.vim, 8703 src/testdir/test_writefile.vim, src/viminfo.c 8704 8705 Patch 8.2.1341 8706 Problem: Build failures. 8707 Solution: Add missing error message. 8708 Files: src/globals.h 8709 8710 Patch 8.2.1342 8711 Problem: Vim9: accidentally using "x" gives a confusing error. 8712 Solution: Disallow using ":t" in Vim9 script. (issue #6399) 8713 Files: runtime/doc/vim9.txt, src/vim9compile.c, src/vim9script.c, 8714 src/ex_docmd.c, src/testdir/test_vim9_script.vim 8715 8716 Patch 8.2.1343 8717 Problem: Vim9: cannot find global function when using g: when local 8718 function with the same name exists. 8719 Solution: Find global function when using g:. 8720 Files: src/userfunc.c, src/testdir/test_vim9_func.vim 8721 8722 Patch 8.2.1344 8723 Problem: Vim9: No test for trying to redefine global function. 8724 Solution: Add a test. 8725 Files: src/testdir/test_vim9_func.vim 8726 8727 Patch 8.2.1345 8728 Problem: Redraw error when using visual block and scroll. 8729 Solution: Add check for w_topline. (closes #6597) 8730 Files: src/drawscreen.c, src/testdir/test_display.vim, 8731 src/testdir/dumps/Test_display_visual_block_scroll.dump 8732 8733 Patch 8.2.1346 8734 Problem: Small build fails. 8735 Solution: Add #ifdef. 8736 Files: src/ex_docmd.c 8737 8738 Patch 8.2.1347 8739 Problem: Cannot easily get the script ID. 8740 Solution: Support expand('<SID>'). 8741 Files: runtime/doc/map.txt, src/ex_docmd.c, 8742 src/testdir/test_expand_func.vim 8743 8744 Patch 8.2.1348 8745 Problem: Build failure without the eval feature. 8746 Solution: Add #ifdef. 8747 Files: src/ex_docmd.c 8748 8749 Patch 8.2.1349 8750 Problem: Vim9: can define a function with the name of an import. 8751 Solution: Disallow using an existing name. (closes #6585) 8752 Files: src/userfunc.c, src/vim9compile.c, src/globals.h, 8753 src/testdir/test_vim9_script.vim 8754 8755 Patch 8.2.1350 8756 Problem: Vim9: no test for error message when redefining function. 8757 Solution: Add a test. 8758 Files: src/testdir/test_vim9_script.vim 8759 8760 Patch 8.2.1351 8761 Problem: Vim9: no proper error if using namespace for nested function. 8762 Solution: Specifically check for a namespace. (closes #6582) 8763 Files: src/vim9compile.c, src/testdir/test_vim9_func.vim 8764 8765 Patch 8.2.1352 8766 Problem: Vim9: no error for shadowing a script-local function by a nested 8767 function. 8768 Solution: Check for script-local function. (closes #6586) 8769 Files: src/vim9compile.c, src/testdir/test_vim9_func.vim 8770 8771 Patch 8.2.1353 8772 Problem: Crash when drawing double-wide character in terminal window. 8773 (Masato Nishihata) 8774 Solution: Check getcell() returning NULL. (issue #6141) 8775 Files: src/libvterm/src/screen.c, src/testdir/test_terminal.vim 8776 8777 Patch 8.2.1354 8778 Problem: Test 59 is old style. 8779 Solution: Convert into a new style test. (Yegappan Lakshmanan, closes #6604) 8780 Files: runtime/doc/eval.txt, src/Makefile, src/testdir/Make_all.mak, 8781 src/testdir/Make_vms.mms, src/testdir/test59.in, 8782 src/testdir/test59.ok, src/testdir/test_spell_utf8.vim 8783 8784 Patch 8.2.1355 8785 Problem: Vim9: no error using :let for options and registers. 8786 Solution: Give an error. (closes #6568) 8787 Files: src/evalvars.c, src/vim9compile.c, 8788 src/testdir/test_vim9_script.vim 8789 8790 Patch 8.2.1356 8791 Problem: Vim9: cannot get the percent register. 8792 Solution: Check for readable registers instead of writable. (closes #6566) 8793 Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim 8794 8795 Patch 8.2.1357 8796 Problem: Vim9: cannot assign to / register. 8797 Solution: Adjust check for assignment. (issue #6566) 8798 Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim, 8799 src/testdir/test_vim9_script.vim 8800 8801 Patch 8.2.1358 8802 Problem: Vim9: test fails with +dnd is not available. 8803 Solution: Add condition. 8804 Files: src/testdir/test_vim9_script.vim 8805 8806 Patch 8.2.1359 8807 Problem: Vim9: cannot assign to / register in Vim9 script. 8808 Solution: Adjust check for assignment in Vim9 script. (closes #6567) 8809 Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim 8810 8811 Patch 8.2.1360 8812 Problem: Stray error for white space after expression. 8813 Solution: Ignore trailing white space. (closes #6608) 8814 Files: src/eval.c, src/testdir/test_filter_map.vim 8815 8816 Patch 8.2.1361 8817 Problem: Error for white space after expression in assignment. 8818 Solution: Skip over white space. (closes #6617) 8819 Files: src/eval.c, src/testdir/test_expr.vim 8820 8821 Patch 8.2.1362 8822 Problem: Last entry of ":set term=xxx" overwritten by error message when 8823 'cmdheight' is two or more. (Tony Mechelynck) 8824 Solution: Output extra line breaks. 8825 Files: src/term.c, src/testdir/test_termcodes.vim 8826 8827 Patch 8.2.1363 8828 Problem: Test trying to run terminal when it is not supported. 8829 Solution: Check if Vim can be run in a terminal. 8830 Files: src/testdir/test_termcodes.vim 8831 8832 Patch 8.2.1364 8833 Problem: Invalid memory access when searching for raw string. 8834 Solution: Check for delimiter match before following quote. (closes #6578) 8835 Files: src/search.c 8836 8837 Patch 8.2.1365 8838 Problem: Vim9: no error for missing white space around operator. 8839 Solution: Check for white space. (closes #6618) 8840 Files: src/eval.c, src/vim9compile.c, src/proto/vim9compile.pro, 8841 src/evalvars.c, src/testdir/test_vim9_expr.vim, 8842 src/testdir/test_vim9_func.vim 8843 8844 Patch 8.2.1366 8845 Problem: Test 49 is old style. 8846 Solution: Convert several tests to new style. (Yegappan Lakshmanan, 8847 closes #6629) 8848 Files: src/testdir/script_util.vim, src/testdir/test49.ok, 8849 src/testdir/test49.vim, src/testdir/test_vimscript.vim 8850 8851 Patch 8.2.1367 8852 Problem: Vim9: no error for missing white space around operator. 8853 Solution: Check for white space around *, / and %. 8854 Files: src/eval.c, src/testdir/test_vim9_expr.vim 8855 8856 Patch 8.2.1368 8857 Problem: Vim9: no error for missing white space around operator. 8858 Solution: Check for white space around <, !=, etc. 8859 Files: src/eval.c, src/testdir/test_vim9_expr.vim 8860 8861 Patch 8.2.1369 8862 Problem: MS-Windows: autocommand test sometimes fails. 8863 Solution: Do not rely on the cat command. 8864 Files: src/testdir/test_autocmd.vim 8865 8866 Patch 8.2.1370 8867 Problem: MS-Windows: warning for using fstat() with stat_T. 8868 Solution: use _fstat64() if available. (Naruhiko Nishino, closes #6625) 8869 Files: src/macros.h 8870 8871 Patch 8.2.1371 8872 Problem: Vim9: no error for missing white space around operator. 8873 Solution: Check for white space around && and ||. 8874 Files: src/eval.c, src/testdir/test_vim9_expr.vim 8875 8876 Patch 8.2.1372 8877 Problem: Vim9: no error for missing white space around operator. 8878 Solution: Check for white space around ? and :. 8879 Files: src/eval.c, src/testdir/test_vim9_expr.vim 8880 8881 Patch 8.2.1373 8882 Problem: Vim9: no error for assigning to non-existing script var. 8883 Solution: Check that in Vim9 script the variable was defined. (closes #6630) 8884 Files: src/vim9compile.c, src/userfunc.c, src/structs.h, 8885 src/testdir/test_vim9_script.vim 8886 8887 Patch 8.2.1374 8888 Problem: Vim9: error for assigning empty list to script variable. 8889 Solution: Use t_unknown for empty list member. (closes #6595) 8890 Files: src/vim9compile.c, src/testdir/test_vim9_script.vim 8891 8892 Patch 8.2.1375 8893 Problem: Vim9: method name with digit not accepted. 8894 Solution: Use eval_isnamec() instead of eval_isnamec1(). (closes #6613) 8895 Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim 8896 8897 Patch 8.2.1376 8898 Problem: Vim9: expression mapping causes error for using :import. 8899 Solution: Add EX_LOCK_OK to :import and :export. (closes #6606) 8900 Files: src/ex_cmds.h, src/testdir/test_vim9_script.vim 8901 8902 Patch 8.2.1377 8903 Problem: Triggering the ATTENTION prompt causes typeahead to be messed up. 8904 Solution: Increment tb_change_cnt. (closes #6541) 8905 Files: src/getchar.c 8906 8907 Patch 8.2.1378 8908 Problem: Cannot put space between function name and paren. 8909 Solution: Allow this for backwards compatibility. 8910 Files: src/eval.c, src/testdir/test_expr.vim, 8911 src/testdir/test_vim9_expr.vim 8912 8913 Patch 8.2.1379 8914 Problem: Curly braces expression ending in " }" does not work. 8915 Solution: Skip over white space when checking for "}". (closes #6634) 8916 Files: src/dict.c, src/testdir/test_eval_stuff.vim 8917 8918 Patch 8.2.1380 8919 Problem: Vim9: return type of getreg() is always a string. 8920 Solution: Use list of strings when there are three arguments. (closes #6633) 8921 Files: src/evalfunc.c, src/testdir/test_vim9_func.vim 8922 8923 Patch 8.2.1381 8924 Problem: MS-Windows: crash with Python 3.5 when stdin is redirected. 8925 Solution: Reconnect stdin. (Yasuhiro Matsumoto, Ken Takata, closes #6641) 8926 Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/if_python3.c 8927 8928 Patch 8.2.1382 8929 Problem: Vim9: using :import in filetype plugin gives an error. 8930 Solution: Allow commands with the EX_LOCK_OK flag. (closes #6636) 8931 Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim 8932 8933 Patch 8.2.1383 8934 Problem: Test 49 is old style. 8935 Solution: Convert test cases to new style. (Yegappan Lakshmanan, 8936 closes #6638) 8937 Files: src/testdir/test49.ok, src/testdir/test49.vim, 8938 src/testdir/test_vimscript.vim 8939 8940 Patch 8.2.1384 8941 Problem: No ATTENTION prompt for :vimgrep first match file. 8942 Solution: When there is an existing swap file do not keep the dummy buffer. 8943 (closes #6649) 8944 Files: src/quickfix.c, src/testdir/runtest.vim, 8945 src/testdir/test_quickfix.vim 8946 8947 Patch 8.2.1385 8948 Problem: No testing on ARM. 8949 Solution: Add a test on Travis for ARM. (Ozaki Kiichi, closes #6615) 8950 Files: .travis.yml 8951 8952 Patch 8.2.1386 8953 Problem: Backslash not removed after space in option with space in 8954 'isfname'. 8955 Solution: Do remove backslash before space, also when it is in 'isfname'. 8956 (Yasuhiro Matsumoto, closes #6651) 8957 Files: src/option.c, src/testdir/test_options.vim 8958 8959 Patch 8.2.1387 8960 Problem: Vim9: cannot assign to single letter variable with type. 8961 Solution: Exclude the colon from the variable name. (closes #6647) 8962 Files: src/eval.c, src/testdir/test_vim9_script.vim 8963 8964 Patch 8.2.1388 8965 Problem: Vim9: += only works for numbers. 8966 Solution: Use += as concatenate for a list. (closes #6646) 8967 Files: src/vim9compile.c, src/testdir/test_vim9_script.vim 8968 8969 Patch 8.2.1389 8970 Problem: File missing from the distribution. 8971 Solution: Add script_util.vim to the list of distributes files. 8972 Files: Filelist 8973 8974 Patch 8.2.1390 8975 Problem: Vim9: type error after storing an option value. 8976 Solution: Drop the type after a STOREOPT instruction. (closes #6632) 8977 Files: src/vim9compile.c, src/testdir/test_vim9_script.vim 8978 8979 Patch 8.2.1391 8980 Problem: Vim9: no error for shadowing a script function. 8981 Solution: Check for already defined items. (closes #6652) 8982 Files: src/vim9compile.c, src/testdir/test_vim9_script.vim 8983 8984 Patch 8.2.1392 8985 Problem: Vim9: error line number incorrect after skipping over comment 8986 lines. 8987 Solution: Insert empty lines for skipped lines. 8988 Files: src/userfunc.c, src/testdir/test_vim9_func.vim 8989 8990 Patch 8.2.1393 8991 Problem: Insufficient testing for script debugging. 8992 Solution: Add more tests. (Ben Jackson) 8993 Files: src/testdir/test_debugger.vim 8994 8995 Patch 8.2.1394 8996 Problem: Vim9: compiling a function interferes with command modifiers. 8997 Solution: Save and restore command modifiers. (closes #6658) 8998 Files: src/vim9compile.c, src/testdir/test_vim9_func.vim, 8999 src/testdir/test_vim9_script.vim 9000 9001 Patch 8.2.1395 9002 Problem: Vim9: no error if declaring a funcref with a lower case letter. 9003 Solution: Check the name after the type is inferred. Fix confusing name. 9004 Files: src/vim9compile.c, src/dict.c, src/eval.c, src/evalvars.c, 9005 src/proto/evalvars.pro, src/testdir/test_vim9_script.vim, 9006 src/testdir/test_vim9_expr.vim 9007 9008 Patch 8.2.1396 9009 Problem: Vim9: no error for unexpectedly returning a value. 9010 Solution: Only set the return type for lambda's. Make using function type 9011 in a function reference work. 9012 Files: src/vim9compile.c, src/testdir/test_vim9_func.vim 9013 9014 Patch 8.2.1397 9015 Problem: Vim9: return type of maparg() not adjusted for fourth argument. 9016 Solution: Check if fourth argument is present. (closes #6645) 9017 Files: src/evalfunc.c, src/testdir/test_maparg.vim 9018 9019 Patch 8.2.1398 9020 Problem: Autoload script sourced twice if sourced directly. 9021 Solution: Do not source an autoload script again. (issue #6644) 9022 Files: src/scriptfile.c, src/testdir/sautest/autoload/sourced.vim 9023 9024 Patch 8.2.1399 9025 Problem: Vim9: may find imported item in wrong script. 9026 Solution: When looking up script-local function use the embedded script ID. 9027 (issue #6644) 9028 Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c, 9029 src/testdir/test_vim9_script.vim 9030 9031 Patch 8.2.1400 9032 Problem: Vim9: test does not delete written files. 9033 Solution: Correct file names. 9034 Files: src/testdir/test_vim9_script.vim 9035 9036 Patch 8.2.1401 9037 Problem: Cannot jump to the last used tabpage. 9038 Solution: Add g<Tab> and tabpagnr('#'). (Yegappan Lakshmanan, closes #6661, 9039 neovim #11626) 9040 Files: runtime/doc/eval.txt, runtime/doc/index.txt, 9041 runtime/doc/tabpage.txt, src/evalwindow.c, src/globals.h, 9042 src/normal.c, src/proto/window.pro, src/testdir/test_tabpage.vim, 9043 src/window.c 9044 9045 Patch 8.2.1402 9046 Problem: s390x tests always fail. 9047 Solution: Temporarily disable s390x tests. 9048 Files: .travis.yml 9049 9050 Patch 8.2.1403 9051 Problem: Vim9: Vim highlighting fails in cmdline window if it uses Vim9 9052 commands. 9053 Solution: Allow using :vim9script, :import and :export while in the cmdline 9054 window. (closes #6656) 9055 Files: src/ex_cmds.h, src/testdir/test_vim9_script.vim 9056 9057 Patch 8.2.1404 9058 Problem: Vim9: script test fails in the GUI. 9059 Solution: Use another key to map. Improve cleanup. 9060 Files: src/testdir/test_vim9_script.vim 9061 9062 Patch 8.2.1405 9063 Problem: Vim9: vim9compile.c is getting too big. 9064 Solution: Split off type code to vim9type.c. 9065 Files: Filelist, src/vim9compile.c, src/proto/vim9compile.pro, 9066 src/vim9type.c, src/proto/vim9type.pro, src/proto.h, 9067 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Makefile 9068 9069 Patch 8.2.1406 9070 Problem: Popupwindow lacks scrollbar if no "maxheight" is used. 9071 Solution: Compute the max height depending on the position. (closes #6664) 9072 Files: src/popupwin.c, src/testdir/test_popupwin.vim, 9073 src/testdir/dumps/Test_popupwin_toohigh_1.dump, 9074 src/testdir/dumps/Test_popupwin_toohigh_2.dump 9075 9076 Patch 8.2.1407 9077 Problem: Vim9: type of list and dict only depends on first item. 9078 Solution: Use all items to decide about the type. 9079 Files: src/vim9compile.c, src/vim9type.c, src/proto/vim9type.pro, 9080 src/testdir/test_vim9_expr.vim, runtime/doc/vim9.txt 9081 9082 Patch 8.2.1408 9083 Problem: Vim9: type casting not supported. 9084 Solution: Introduce type casting. 9085 Files: runtime/doc/vim9.txt, src/vim9compile.c, 9086 src/testdir/test_vim9_expr.vim, 9087 src/testdir/test_vim9_disassemble.vim 9088 9089 Patch 8.2.1409 9090 Problem: Npmrc and php.ini filetypes not recognized. 9091 Solution: Add filetype detection. (Doug Kearns) 9092 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 9093 9094 Patch 8.2.1410 9095 Problem: Adding compiler plugin requires test change. 9096 Solution: Include compiler plugin and adjust test. 9097 Files: src/testdir/test_compiler.vim, runtime/compiler/xo.vim 9098 9099 Patch 8.2.1411 9100 Problem: when splitting a window localdir is copied but prevdir is not. 9101 Solution: Also copy prevdir. (closes #6667) 9102 Files: src/window.c, src/testdir/test_cd.vim 9103 9104 Patch 8.2.1412 9105 Problem: Vim: not operator does not result in boolean. 9106 Solution: Make type depend on operator. (issue 6678) Fix using "false" and 9107 "true" in Vim9 script. 9108 Files: src/eval.c, src/testdir/test_vim9_expr.vim 9109 9110 Patch 8.2.1413 (after 8.2.1401) 9111 Problem: Previous tab page not usable from an Ex command. 9112 Solution: Add the "#" argument for :tabnext et al. (Yegappan Lakshmanan, 9113 closes #6677) 9114 Files: runtime/doc/tabpage.txt, src/ex_docmd.c, src/window.c, 9115 src/testdir/test_tabpage.vim 9116 9117 Patch 8.2.1414 9118 Problem: Popupwindow missing last couple of lines when cursor is in the 9119 first line. 9120 Solution: Compute the max height also when top aligned. (closes #6664) 9121 Files: src/popupwin.c, src/testdir/test_popupwin.vim, 9122 src/testdir/dumps/Test_popupwin_toohigh_3.dump, 9123 src/testdir/dumps/Test_popupwin_nospace.dump 9124 9125 Patch 8.2.1415 9126 Problem: Closing a popup window with CTRL-C interrupts 'statusline' if it 9127 calls a function. 9128 Solution: Reset got_int while redrawing. (closes #6675) 9129 Files: src/popupwin.c, src/testdir/test_popupwin.vim, 9130 src/testdir/dumps/Test_popupwin_ctrl_c.dump 9131 9132 Patch 8.2.1416 9133 Problem: Vim9: boolean evaluation does not work as intended. 9134 Solution: Use tv2bool() in Vim9 script. (closes #6681) 9135 Files: src/eval.c, src/testdir/test_vim9_expr.vim, src/testdir/vim9.vim 9136 9137 Patch 8.2.1417 9138 Problem: Test 49 is old style. 9139 Solution: Convert more parts to new style test. (Yegappan Lakshmanan, 9140 closes #6682) 9141 Files: src/testdir/test49.ok, src/testdir/test49.vim, 9142 src/testdir/test_vimscript.vim 9143 9144 Patch 8.2.1418 9145 Problem: Vim9: invalid error for missing white space after function. 9146 Solution: Do not skip over white space. (closes #6679) 9147 Files: src/userfunc.c, src/testdir/test_vim9_expr.vim 9148 9149 Patch 8.2.1419 9150 Problem: Vim9: not operator applied too early. 9151 Solution: Implement the "numeric_only" argument. (closes #6680) 9152 Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim 9153 9154 Patch 8.2.1420 9155 Problem: Test 49 is old style. 9156 Solution: Convert remaining parts to new style. Remove obsolete items. 9157 (Yegappan Lakshmanan, closes #6683) 9158 Files: Filelist, runtime/doc/testing.txt, src/Make_mvc.mak, src/Makefile, 9159 src/testdir/Make_all.mak, src/testdir/Make_amiga.mak, 9160 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 9161 src/testdir/Make_vms.mms, src/testdir/Makefile, 9162 src/testdir/README.txt, src/testdir/test49.in, 9163 src/testdir/test49.ok, src/testdir/test49.vim, 9164 src/testdir/test_quickfix.vim, src/testdir/test_vimscript.vim 9165 9166 Patch 8.2.1421 9167 Problem: Vim9: handling "+" and "-" before number differs from Vim script. 9168 Solution: Use the same sequence of commands. 9169 Files: src/vim9compile.c 9170 9171 Patch 8.2.1422 9172 Problem: The Mac GUI implementation is outdated and probably doesn't even 9173 work. 9174 Solution: Remove the Mac GUI code. The MacVim project provides the 9175 supported Vim GUI version. 9176 Files: Filelist, src/gui_mac.c, src/proto/gui_mac.pro, src/proto.h, 9177 src/Makefile, src/configure.ac, src/auto/configure, 9178 src/evalfunc.c, src/fileio.c, src/gui.c, src/if_mzsch.c, 9179 src/main.c, src/misc2.c, src/mouse.c, src/os_mac_conv.c, 9180 src/os_unix.c, src/feature.h, src/globals.h, src/gui.h, 9181 src/option.h, src/optiondefs.h, src/os_mac.h, src/structs.h, 9182 src/vim.h, src/INSTALLmac.txt 9183 9184 Patch 8.2.1423 9185 Problem: Vim9: find global function when looking for script-local. 9186 Solution: Don't strip prefix if name starts with "s:". (closes #6688) 9187 Files: src/userfunc.c, src/testdir/test_vim9_func.vim 9188 9189 Patch 8.2.1424 (after 8.2.1422) 9190 Problem: Mac build fails. 9191 Solution: Adjust configure to not fall back to Athena. Adjust some other 9192 files. 9193 Files: src/configure.ac, src/auto/configure, src/os_macosx.m, 9194 src/version.c 9195 9196 Patch 8.2.1425 9197 Problem: Vim9: cannot use call() without :call. 9198 Solution: Do not skip over "call(". (closes #6689) 9199 Files: src/vim9compile.c, src/testdir/test_vim9_func.vim 9200 9201 Patch 8.2.1426 9202 Problem: Vim9: cannot call autoload function in :def function. 9203 Solution: Load the autoload script. (closes #6690) 9204 Files: src/vim9execute.c, src/vim9compile.c, src/scriptfile.c, 9205 src/testdir/test_vim9_expr.vim 9206 9207 Patch 8.2.1427 9208 Problem: Vim9: cannot use a range with marks in :def function. 9209 Solution: Parse range after colon. (closes #6686) 9210 Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim 9211 9212 Patch 8.2.1428 9213 Problem: Vim9: :def function does not abort on nested function error. 9214 Solution: Check whether an error message was given. (closes #6691) 9215 Files: src/vim9execute.c, src/testdir/test_vim9_script.vim 9216 9217 Patch 8.2.1429 9218 Problem: Vim9: no error for missing white after : in dict. 9219 Solution: Check for white space. (closes #6671) Also check that there is no 9220 white before the :. 9221 Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim, 9222 src/testdir/test_vim9_func.vim 9223 9224 Patch 8.2.1430 9225 Problem: Vim9: error for missing comma instead of extra white space. 9226 Solution: Check if comma can be found after white space. (closes #6668) 9227 Also check for extra white space in literal dict. (closes #6670) 9228 Files: src/list.c, src/dict.c, src/vim9compile.c, 9229 src/testdir/test_vim9_expr.vim 9230 9231 Patch 8.2.1431 9232 Problem: Vim9: no error for white space before comma in dict. 9233 Solution: Check for extra white space. (closes #6674) 9234 Files: src/vim9compile.c, src/dict.c, src/testdir/test_vim9_expr.vim 9235 9236 Patch 8.2.1432 9237 Problem: Various inconsistencies in test files. 9238 Solution: Add modelines where they were missing. Use Check commands instead 9239 of silently skipping over tests. Adjust indents and comments. 9240 (Ken Takata, closes #6695) 9241 Files: src/testdir/test_arglist.vim, src/testdir/test_assert.vim, 9242 src/testdir/test_autochdir.vim, src/testdir/test_autocmd.vim, 9243 src/testdir/test_autoload.vim, src/testdir/test_balloon.vim, 9244 src/testdir/test_balloon_gui.vim, src/testdir/test_behave.vim, 9245 src/testdir/test_blockedit.vim, src/testdir/test_breakindent.vim, 9246 src/testdir/test_bufline.vim, src/testdir/test_bufwintabinfo.vim, 9247 src/testdir/test_cd.vim, src/testdir/test_changedtick.vim, 9248 src/testdir/test_changelist.vim, src/testdir/test_channel.vim, 9249 src/testdir/test_checkpath.vim, src/testdir/test_cindent.vim, 9250 src/testdir/test_cjk_linebreak.vim, 9251 src/testdir/test_clientserver.vim, 9252 src/testdir/test_close_count.vim, src/testdir/test_cmdline.vim, 9253 src/testdir/test_command_count.vim, 9254 src/testdir/test_comparators.vim, src/testdir/test_compiler.vim, 9255 src/testdir/test_crypt.vim, src/testdir/test_cursorline.vim, 9256 src/testdir/test_curswant.vim, src/testdir/test_debugger.vim, 9257 src/testdir/test_delete.vim, src/testdir/test_diffmode.vim, 9258 src/testdir/test_digraph.vim, src/testdir/test_display.vim, 9259 src/testdir/test_edit.vim, src/testdir/test_environ.vim, 9260 src/testdir/test_erasebackword.vim, 9261 src/testdir/test_escaped_glob.vim, src/testdir/test_ex_equal.vim, 9262 src/testdir/test_ex_undo.vim, src/testdir/test_ex_z.vim, 9263 src/testdir/test_exec_while_if.vim, src/testdir/test_exists.vim, 9264 src/testdir/test_exists_autocmd.vim, src/testdir/test_exit.vim, 9265 src/testdir/test_expand_dllpath.vim, 9266 src/testdir/test_expr_utf8.vim, src/testdir/test_feedkeys.vim, 9267 src/testdir/test_file_size.vim, src/testdir/test_fileformat.vim, 9268 src/testdir/test_filter_cmd.vim, 9269 src/testdir/test_find_complete.vim, src/testdir/test_findfile.vim, 9270 src/testdir/test_fixeol.vim, src/testdir/test_flatten.vim, 9271 src/testdir/test_fnameescape.vim, src/testdir/test_fold.vim, 9272 src/testdir/test_functions.vim, src/testdir/test_ga.vim, 9273 src/testdir/test_getcwd.vim, src/testdir/test_getvar.vim, 9274 src/testdir/test_glob2regpat.vim, src/testdir/test_global.vim, 9275 src/testdir/test_gui.vim, src/testdir/test_gui_init.vim, 9276 src/testdir/test_highlight.vim, src/testdir/test_hlsearch.vim, 9277 src/testdir/test_iminsert.vim, 9278 src/testdir/test_increment_dbcs.vim, 9279 src/testdir/test_ins_complete.vim, src/testdir/test_interrupt.vim, 9280 src/testdir/test_job_fails.vim, src/testdir/test_join.vim, 9281 src/testdir/test_json.vim, src/testdir/test_jumplist.vim, 9282 src/testdir/test_jumps.vim, src/testdir/test_lambda.vim, 9283 src/testdir/test_langmap.vim, src/testdir/test_largefile.vim, 9284 src/testdir/test_lineending.vim, src/testdir/test_listchars.vim, 9285 src/testdir/test_listener.vim, src/testdir/test_listlbr.vim, 9286 src/testdir/test_listlbr_utf8.vim, 9287 src/testdir/test_makeencoding.vim, src/testdir/test_man.vim, 9288 src/testdir/test_mapping.vim, src/testdir/test_marks.vim, 9289 src/testdir/test_matchadd_conceal.vim, 9290 src/testdir/test_matchadd_conceal_utf8.vim, 9291 src/testdir/test_memory_usage.vim, src/testdir/test_menu.vim, 9292 src/testdir/test_messages.vim, src/testdir/test_mksession.vim, 9293 src/testdir/test_modeline.vim, 9294 src/testdir/test_nested_function.vim, src/testdir/test_number.vim, 9295 src/testdir/test_options.vim, src/testdir/test_packadd.vim, 9296 src/testdir/test_partial.vim, src/testdir/test_paste.vim, 9297 src/testdir/test_plus_arg_edit.vim, src/testdir/test_preview.vim, 9298 src/testdir/test_profile.vim, src/testdir/test_prompt_buffer.vim, 9299 src/testdir/test_quickfix.vim, src/testdir/test_quotestar.vim, 9300 src/testdir/test_random.vim, src/testdir/test_recover.vim, 9301 src/testdir/test_regex_char_classes.vim, 9302 src/testdir/test_regexp_latin.vim, src/testdir/test_registers.vim, 9303 src/testdir/test_rename.vim, src/testdir/test_retab.vim, 9304 src/testdir/test_scriptnames.vim, src/testdir/test_scroll_opt.vim, 9305 src/testdir/test_scrollbind.vim, src/testdir/test_search_stat.vim, 9306 src/testdir/test_searchpos.vim, src/testdir/test_set.vim, 9307 src/testdir/test_sha256.vim, src/testdir/test_shift.vim, 9308 src/testdir/test_shortpathname.vim, src/testdir/test_signs.vim, 9309 src/testdir/test_sort.vim, src/testdir/test_sound.vim, 9310 src/testdir/test_source_utf8.vim, src/testdir/test_spellfile.vim, 9311 src/testdir/test_startup.vim, src/testdir/test_startup_utf8.vim, 9312 src/testdir/test_stat.vim, src/testdir/test_suspend.vim, 9313 src/testdir/test_swap.vim, src/testdir/test_syntax.vim, 9314 src/testdir/test_tab.vim, src/testdir/test_tabline.vim, 9315 src/testdir/test_tagcase.vim, src/testdir/test_tagjump.vim, 9316 src/testdir/test_taglist.vim, src/testdir/test_termcodes.vim, 9317 src/testdir/test_termencoding.vim, src/testdir/test_terminal.vim, 9318 src/testdir/test_terminal2.vim, src/testdir/test_terminal3.vim, 9319 src/testdir/test_terminal_fail.vim, 9320 src/testdir/test_true_false.vim, 9321 src/testdir/test_utf8_comparisons.vim, 9322 src/testdir/test_vartabs.vim, src/testdir/test_version.vim, 9323 src/testdir/test_vim9_expr.vim, src/testdir/test_winbar.vim, 9324 src/testdir/test_winbuf_close.vim, 9325 src/testdir/test_window_cmd.vim, src/testdir/test_window_id.vim, 9326 src/testdir/test_windows_home.vim, src/testdir/test_wnext.vim, 9327 src/testdir/test_wordcount.vim, src/testdir/test_writefile.vim, 9328 src/testdir/test_xxd.vim 9329 9330 Patch 8.2.1433 9331 Problem: Vim9: cannot mingle comments in multi-line lambda. 9332 Solution: Skip over NULL lines. (closes #6694) 9333 Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim 9334 9335 Patch 8.2.1434 9336 Problem: Vim9: crash when lambda uses outer function argument. 9337 Solution: Set the flag that the outer context is used. 9338 Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim 9339 9340 Patch 8.2.1435 9341 Problem: Vim9: always converting to string for ".." leads to mistakes. 9342 Solution: Only automatically convert simple types. 9343 Files: runtime/doc/vim9.txt, src/vim9compile.c, src/vim9.h, 9344 src/vim9execute.c, src/proto/vim9execute.pro, src/eval.c, 9345 src/evalfunc.c, src/testdir/test_vim9_expr.vim, 9346 src/testdir/test_vim9_disassemble.vim 9347 9348 Patch 8.2.1436 9349 Problem: Function implementing :substitute has unexpected name. 9350 Solution: Rename from do_sub() to ex_substitute(). 9351 Files: src/ex_cmds.c, src/proto/ex_cmds.pro, src/ex_docmd.c, 9352 src/ex_cmds.h 9353 9354 Patch 8.2.1437 9355 Problem: Vim9: 'statusline' is evaluated using Vim9 script syntax. 9356 Solution: Always use legacy script syntax. 9357 Files: src/eval.c, src/testdir/test_vim9_script.vim 9358 9359 Patch 8.2.1438 9360 Problem: Missing tests for interrupting script execution from debugger. 9361 Solution: Add tests. (Yegappan Lakshmanan, closes #6697) 9362 Files: src/testdir/test_debugger.vim 9363 9364 Patch 8.2.1439 9365 Problem: Tiny and small builds have no test coverage. 9366 Solution: Restore tests that do not depend on the +eval feature. 9367 (Ken Takata, closes #6696) 9368 Files: .travis.yml, Filelist, Makefile, runtime/doc/testing.txt, 9369 src/Make_mvc.mak, src/Makefile, src/testdir/Make_all.mak, 9370 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 9371 src/testdir/Make_ming.mak, src/testdir/Make_vms.mms, 9372 src/testdir/Makefile, src/testdir/runtest.vim, 9373 src/testdir/test1.in, src/testdir/test1.ok, src/testdir/test20.in, 9374 src/testdir/test20.ok, src/testdir/test21.in, 9375 src/testdir/test21.ok, src/testdir/test22.in, 9376 src/testdir/test22.ok, src/testdir/test23.in, 9377 src/testdir/test23.ok, src/testdir/test24.in, 9378 src/testdir/test24.ok, src/testdir/test25.in, 9379 src/testdir/test25.ok, src/testdir/test26.in, 9380 src/testdir/test26.ok, src/testdir/test27.in, 9381 src/testdir/test27.ok, src/testdir/test_options.vim 9382 9383 Patch 8.2.1440 9384 Problem: Debugger code insufficiently tested. 9385 Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6700) 9386 Files: src/testdir/test_debugger.vim, src/testdir/test_vimscript.vim 9387 9388 Patch 8.2.1441 9389 Problem: Running tests in tiny version gives error for summarize.vim. 9390 Solution: Set 'cpoptions' to allow for line continuation. Restore 9391 redirecting test output to /dev/null. 9392 Files: src/testdir/summarize.vim, src/testdir/Makefile 9393 9394 Patch 8.2.1442 9395 Problem: Outdated references to the Mac Carbon GUI. 9396 Solution: Remove or update references. (Yee Cheng Chin, closes #6703) 9397 Files: READMEdir/README_extra.txt, src/Makefile, src/configure.ac, 9398 src/auto/configure, src/gui_haiku.cc, src/os_macosx.m, 9399 src/testdir/test_iminsert.vim, src/vim.h 9400 9401 Patch 8.2.1443 9402 Problem: Vim9: crash when interrupting a nested :def function. 9403 Solution: Push a dummy return value onto the stack. (closes #6701) 9404 Files: src/vim9execute.c 9405 9406 Patch 8.2.1444 9407 Problem: Error messages are spread out and names can be confusing. 9408 Solution: Start moving error messages to a separate file and use clear 9409 names. 9410 Files: Filelist, src/vim.h, src/globals.h, src/errors.h, src/Makefile, 9411 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Make_vms.mms, 9412 src/dict.c, src/evalvars.c, src/ex_docmd.c, src/list.c, 9413 src/userfunc.c, src/vim9compile.c, src/vim9execute.c, 9414 src/vim9script.c, src/vim9type.c 9415 9416 Patch 8.2.1445 9417 Problem: Vim9: function expanded name is cleared when sourcing a script 9418 again. 9419 Solution: Only clear the expanded name when deleting the function. 9420 (closes #6707) 9421 Files: src/userfunc.c, src/testdir/test_vim9_script.vim 9422 9423 Patch 8.2.1446 9424 Problem: Vim9: line number in error message is not correct. 9425 Solution: Set SOURCING_LNUM before calling emsg(). (closes #6708) 9426 Files: src/vim9execute.c, src/testdir/test_vim9_func.vim 9427 9428 Patch 8.2.1447 9429 Problem: Vim9: return type of keys() is list<any>. 9430 Solution: Should be list<string>. (closes #6711) 9431 Files: src/evalfunc.c, src/testdir/test_vim9_func.vim 9432 9433 Patch 8.2.1448 9434 Problem: Test 77a for VMS depends on small.vim which does not exist. 9435 Solution: Use the 'silent while 0" trick. (issue #6696) 9436 Files: src/testdir/test77a.in 9437 9438 Patch 8.2.1449 9439 Problem: Some test makefiles delete files that are not generated. 9440 Solution: Remove the deletion commands. 9441 Files: src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 9442 src/testdir/Make_amiga.mak, src/testdir/Make_vms.mms 9443 9444 Patch 8.2.1450 9445 Problem: Vim9: no check that script-local items don't become global. 9446 Solution: Add a test. 9447 Files: src/testdir/test_vim9_script.vim 9448 9449 Patch 8.2.1451 9450 Problem: Vim9: list type at script level only uses first item. 9451 Solution: Use all members, like in a compiled function. (closes #6712) 9452 Also for dictionary. 9453 Files: src/vim9type.c, src/testdir/test_vim9_expr.vim 9454 9455 Patch 8.2.1452 9456 Problem: Vim9: dead code in to_name_end(). 9457 Solution: Remove check for lambda and dict, it won't be used. 9458 Files: src/vim9compile.c 9459 9460 Patch 8.2.1453 9461 Problem: Vim9: failure to compile lambda not tested. 9462 Solution: Add a test case. 9463 Files: src/testdir/test_vim9_expr.vim 9464 9465 Patch 8.2.1454 9466 Problem: Vim9: failure invoking lambda with wrong arguments. 9467 Solution: Handle invalid arguments. Add a test. 9468 Files: src/vim9compile.c, src/vim9execute.c, 9469 src/testdir/test_vim9_expr.vim 9470 9471 Patch 8.2.1455 9472 Problem: Vim9: crash when using typecast before constant. 9473 Solution: Generate constant before checking type. Add tets. 9474 Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim 9475 9476 Patch 8.2.1456 9477 Problem: MS-Windows: test files are not deleted. 9478 Solution: use "del" instead of $(DEL). 9479 Files: src/testdir/Make_dos.mak 9480 9481 Patch 8.2.1457 9482 Problem: Vim9: the output of :disassemble cannot be interrupted. 9483 Solution: Check got_int. (closes #6715) 9484 Files: src/vim9execute.c 9485 9486 Patch 8.2.1458 9487 Problem: .gawk files not recognized. 9488 Solution: Recognize .gawk files. (Doug Kearns) 9489 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 9490 9491 Patch 8.2.1459 9492 Problem: Vim9: declaring a script variable at the script level does not 9493 infer the type. 9494 Solution: Get the type from the value. (closes #6716) 9495 Files: src/evalvars.c, src/testdir/test_vim9_script.vim 9496 9497 Patch 8.2.1460 9498 Problem: Error messages are spread out. 9499 Solution: Move more messages into errors.h. 9500 Files: src/errors.h, src/globals.h, src/vim9compile.c, src/vim9execute.c, 9501 src/vim9script.c, src/vim9type.c, src/scriptfile.c, src/ex_cmds.c, 9502 src/ex_docmd.c, src/match.c, src/eval.c, src/evalvars.c, 9503 src/userfunc.c, src/testdir/test_vim9_expr.vim, 9504 src/testdir/test_vim9_disassemble.vim, 9505 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim 9506 9507 Patch 8.2.1461 9508 Problem: Vim9: string indexes are counted in bytes. 9509 Solution: Use character indexes. (closes #6574) 9510 Files: runtime/doc/eval.txt, src/eval.c, src/proto/eval.pro, 9511 src/vim9execute.c, src/eval.c, src/testdir/test_vim9_expr.vim 9512 9513 Patch 8.2.1462 9514 Problem: Vim9: string slice not supported yet. 9515 Solution: Add support for string slicing. 9516 Files: src/errors.h, src/vim9compile.c, src/vim9.h, src/vim9execute.c, 9517 src/eval.c, src/proto/eval.pro, src/testdir/test_vim9_expr.vim, 9518 src/testdir/test_vim9_disassemble.vim 9519 9520 Patch 8.2.1463 9521 Problem: Vim9: list slice not supported yet. 9522 Solution: Add support for list slicing. 9523 Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/eval.c, 9524 src/list.c, src/proto/list.pro, src/testdir/test_vim9_expr.vim, 9525 src/testdir/test_vim9_disassemble.vim 9526 9527 Patch 8.2.1464 9528 Problem: Vim9: build warning for unused variable. 9529 Solution: Delete the variable declaration. 9530 Files: src/vim9execute.c 9531 9532 Patch 8.2.1465 9533 Problem: Vim9: subscript not handled properly. 9534 Solution: Adjust error message. Remove dead code. Disallow string to 9535 number conversion in scripts. 9536 Files: src/errors.h, src/vim9compile.c, src/vim9execute.c, src/eval.c, 9537 src/typval.c, src/list.c, src/testdir/test_vim9_expr.vim, 9538 src/testdir/test_vim9_script.vim 9539 9540 Patch 8.2.1466 9541 Problem: Vim9: cannot index or slice a variable with type "any". 9542 Solution: Add runtime index and slice. 9543 Files: src/eval.c, src/proto/eval.pro, src/vim9compile.c, 9544 src/vim9execute.c, src/vim9.h, src/errors.h, src/list.c, 9545 src/testdir/test_vim9_expr.vim, 9546 src/testdir/test_vim9_disassemble.vim, 9547 src/testdir/test_vim9_script.vim 9548 9549 Patch 8.2.1467 9550 Problem: Vim9: :echomsg doesn't like a dict argument. 9551 Solution: Convert arguments like in legacy script. (closes #6717) 9552 Files: src/vim9compile.c, src/vim9execute.c, 9553 src/testdir/test_vim9_script.vim 9554 9555 Patch 8.2.1468 9556 Problem: Vim9: invalid error for missing white space. 9557 Solution: Don't skip over white space after index. (closes #6718) 9558 Files: src/eval.c, src/testdir/test_vim9_expr.vim 9559 9560 Patch 8.2.1469 9561 Problem: Vim9: cannot assign string to string option. 9562 Solution: Change checks for option value. (closes #6720) 9563 Files: src/evalvars.c, src/testdir/test_vim9_script.vim 9564 9565 Patch 8.2.1470 9566 Problem: Errors in spell file not tested. 9567 Solution: Add test for spell file errors. (Yegappan Lakshmanan, 9568 closes #6721) 9569 Files: src/testdir/test_spellfile.vim 9570 9571 Patch 8.2.1471 9572 Problem: :const only locks the variable, not the value. 9573 Solution: Lock the value as ":lockvar 1 var" would do. (closes #6719) 9574 Files: src/evalvars.c, src/testdir/test_const.vim 9575 9576 Patch 8.2.1472 9577 Problem: ":argdel" does not work like ":.argdel" as documented. (Alexey 9578 Demin) 9579 Solution: Make ":argdel" work like ":.argdel". (closes #6727) 9580 Also fix giving the error "0 more files to edit". 9581 Files: src/arglist.c, src/ex_docmd.c, src/testdir/test_arglist.vim 9582 9583 Patch 8.2.1473 9584 Problem: Items in a list given to :const can still be modified. 9585 Solution: Work like ":lockvar! name" but don't lock referenced items. 9586 Make locking a blob work. 9587 Files: runtime/doc/eval.txt, src/evalvars.c, src/eval.c, 9588 src/testdir/test_const.vim 9589 9590 Patch 8.2.1474 9591 Problem: /usr/lib/udef/rules.d not recognized as udevrules. 9592 Solution: Adjust match pattern. (Haochen Tong, closes 36722) 9593 Files: runtime/autoload/dist/ft.vim, src/testdir/test_filetype.vim 9594 9595 Patch 8.2.1475 9596 Problem: Vim9: can't use v:true for option flags. 9597 Solution: Add tv_get_bool_chk(). (closes #6725) 9598 Files: src/typval.c, src/proto/typval.pro, src/channel.c 9599 9600 Patch 8.2.1476 (after 8.2.1474) 9601 Problem: Filetype test fails on MS-Windows. 9602 Solution: Remove "^" from pattern. 9603 Files: runtime/autoload/dist/ft.vim 9604 9605 Patch 8.2.1477 9606 Problem: Vim9: error when using bufnr('%'). 9607 Solution: Don't give an error for using a string argument. (closes #6723) 9608 Files: src/evalbuffer.c, src/testdir/test_vim9_func.vim 9609 9610 Patch 8.2.1478 9611 Problem: Vim9: cannot use "true" for some popup options. 9612 Solution: Add dict_get_bool(). (closes #6725) 9613 Files: src/dict.c, src/proto/dict.pro, src/popupwin.c 9614 9615 Patch 8.2.1479 9616 Problem: Vim9: error for list index uses wrong line number. 9617 Solution: Set source line number. (closes #6724) Add a way to assert the 9618 line number of the error with assert_fails(). 9619 Files: runtime/doc/testing.txt, src/vim9execute.c, src/testing.c, 9620 src/evalfunc.c, src/message.c, src/globals.h, src/testdir/vim9.vim, 9621 src/testdir/test_vim9_expr.vim 9622 9623 Patch 8.2.1480 9624 Problem: Vim9: skip expression in search() gives error. 9625 Solution: use tv_get_bool() eval_expr_to_bool(). (closes #6729) 9626 Files: src/eval.c, src/typval.c, src/proto/typval.pro, 9627 src/testdir/test_vim9_func.vim 9628 9629 Patch 8.2.1481 9630 Problem: Vim9: line number reported with error may be wrong. 9631 Solution: Check line number in tests. 9632 Files: src/testdir/test_vim9_expr.vim, src/testdir/vim9.vim, 9633 src/vim9execute.c 9634 9635 Patch 8.2.1482 9636 Problem: Vim9: crash when using a nested lambda. 9637 Solution: Do not clear the growarray when not evaluating. Correct pointer 9638 when getting the next line. (closes #6731) 9639 Files: src/eval.c, src/scriptfile.c, src/testdir/test_vim9_expr.vim 9640 9641 Patch 8.2.1483 9642 Problem: Vim9: error for using special as number when returning "false" 9643 from a popup filter. 9644 Solution: Use tv_get_bool(). (closes #6733) 9645 Files: src/popupwin.c 9646 9647 Patch 8.2.1484 9648 Problem: Flaky failure in assert_fails(). 9649 Solution: Only used fourth argument if there is a third argument. 9650 Files: src/testing.c 9651 9652 Patch 8.2.1485 9653 Problem: Vim9: readdirex() expression doesn't accept bool. 9654 Solution: Accept both -1 and bool. (closes #6737) 9655 Files: src/filepath.c, src/testdir/test_vim9_func.vim 9656 9657 Patch 8.2.1486 9658 Problem: Vim9: readdir() expression doesn't accept bool. 9659 Solution: Merge with code for readdirex(). (closes #6737) 9660 Files: src/filepath.c, src/testdir/test_vim9_func.vim 9661 9662 Patch 8.2.1487 9663 Problem: Travis: installing snd-dummy is not always useful. 9664 Solution: Only install snd-dummy on amd64. (Ozaki Kiichi, closes #6738) 9665 Files: .travis.yml, ci/load-snd-dummy.sh 9666 9667 Patch 8.2.1488 9668 Problem: Text does not scroll when inserting above first line. 9669 Solution: Adjust off-by-one error. (Ken Takata, closes #6739) 9670 Files: src/drawscreen.c, src/testdir/test_display.vim, 9671 src/testdir/dumps/Test_display_scroll_at_topline.dump 9672 9673 Patch 8.2.1489 9674 Problem: Vim9: error when setting an option with setbufvar(). 9675 Solution: Do not get a number from a string value. (closes #6740) 9676 Files: src/evalvars.c, src/testdir/test_vim9_func.vim 9677 9678 Patch 8.2.1490 9679 Problem: Vim9: using /= with float and number doesn't work. 9680 Solution: Better support assignment with operator. (closes #6742) 9681 Files: src/vim9compile.c, src/testdir/test_vim9_script.vim 9682 9683 Patch 8.2.1491 9684 Problem: Vim9: crash when compiling heredoc lines start with comment. 9685 Solution: Skip over NULL pointers. Do not remove comment and empty lines 9686 when fetching function lines. (closes #6743) 9687 Files: src/vim9compile.c, src/scriptfile.c, src/proto/scriptfile.pro, 9688 src/structs.h, src/ex_docmd.c, src/proto/ex_docmd.pro, 9689 src/ex_cmds.h, src/autocmd.c, src/proto/autocmd.pro, 9690 src/ex_getln.c, src/proto/ex_getln.pro, src/userfunc.c, 9691 src/proto/userfunc.pro, src/evalfunc.c, 9692 src/testdir/test_vim9_script.vim 9693 9694 Patch 8.2.1492 9695 Problem: Build failures. 9696 Solution: Move typedef out of #ifdef. Adjust argument types. Discover 9697 America. 9698 Files: src/structs.h, src/ex_docmd.c 9699 9700 Patch 8.2.1493 9701 Problem: Not enough test coverage for the spell file handling. 9702 Solution: Add spell file tests. (Yegappan Lakshmanan, closes #6728) 9703 Files: src/spellfile.c, src/testdir/test_spellfile.vim 9704 9705 Patch 8.2.1494 9706 Problem: Missing change to calling eval_getline(). 9707 Solution: Change last argument. 9708 Files: src/eval.c 9709 9710 Patch 8.2.1495 9711 Problem: "make clean" may delete too many files. 9712 Solution: Do not delete $APPDIR. (closes #6751) 9713 Files: src/Makefile 9714 9715 Patch 8.2.1496 9716 Problem: Vim9: cannot use " #" in a mapping. 9717 Solution: Do not remove a comment with the EX_NOTRLCOM flag. (closes #6746) 9718 Files: src/ex_docmd.c, src/vim9compile.c, src/testdir/test_vim9_cmd.vim 9719 9720 Patch 8.2.1497 9721 Problem: CursorHold test is flaky. (Jakub Kądziołka) 9722 Solution: Use WaitForAssert() (closes #6754) 9723 Files: src/testdir/test_autocmd.vim 9724 9725 Patch 8.2.1498 9726 Problem: On slow systems tests can be flaky. 9727 Solution: Use TermWait() instead of term-wait(). (Yegappan Lakshmanan, 9728 closes #6756) 9729 Files: src/testdir/test_digraph.vim, src/testdir/test_display.vim, 9730 src/testdir/test_popupwin.vim, src/testdir/test_termcodes.vim, 9731 src/testdir/test_terminal.vim, src/testdir/test_terminal3.vim, 9732 src/testdir/test_writefile.vim 9733 9734 Patch 8.2.1499 9735 Problem: Vim9: error when using "$" with col(). 9736 Solution: Reorder getting the column value. (closes #6744) 9737 Files: src/eval.c, src/testdir/test_vim9_func.vim 9738 9739 Patch 8.2.1500 9740 Problem: Vim9: error when using address without a command. 9741 Solution: Execute the range itself. (closes #6747) 9742 Files: src/vim9compile.c, src/testdir/test_vim9_script.vim 9743 9744 Patch 8.2.1501 9745 Problem: Vim9: concatenating to constant reverses order. 9746 Solution: Generate constant before option, register and environment 9747 variable. (closes #6757) 9748 Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim 9749 9750 Patch 8.2.1502 9751 Problem: Vim9: can use += with a :let command at script level. 9752 Solution: Give an error. 9753 Files: src/evalvars.c, src/testdir/test_vim9_script.vim, 9754 src/testdir/test_vim9_expr.vim 9755 9756 Patch 8.2.1503 9757 Problem: Vim9: error for an autocmd defined in a :def function in legacy 9758 Vim script. 9759 Solution: Don't check the variable type. (closes #6758) 9760 Files: src/vim9script.c, src/testdir/test_vim9_script.vim 9761 9762 Patch 8.2.1504 9763 Problem: Vim9: white space checks are only done for a :def function. 9764 Solution: Also do checks at the script level. Adjust the name of a few 9765 error messages. 9766 Files: src/userfunc.c, src/errors.h, src/dict.c, src/list.c, 9767 src/vim9compile.c, src/vim9script.c, src/vim9type.c, 9768 src/evalvars.c, src/testdir/test_vim9_expr.vim, 9769 src/testdir/vim9.vim 9770 9771 Patch 8.2.1505 9772 Problem: Not all file read and writecode is tested. 9773 Solution: Add a few tests. (Dominique Pellé, closes #6764) 9774 Files: src/testdir/test_eval_stuff.vim, src/testdir/test_fnamemodify.vim, 9775 src/testdir/test_functions.vim 9776 9777 Patch 8.2.1506 9778 Problem: Vim9: no error when using a number other than 0 or 1 as bool. 9779 Solution: Check the number is 0 or 1. 9780 Files: src/errors.h, src/typval.c, src/testdir/test_vim9_func.vim 9781 9782 Patch 8.2.1507 9783 Problem: Using malloc() directly. 9784 Solution: Use ALLOC_ONE(). Remove superfluous typecast. (Hussam al-Homsi, 9785 closes #6768) 9786 Files: src/eval.c, src/memline.c, src/vimrun.c 9787 9788 Patch 8.2.1508 9789 Problem: Not all debugger commands covered by tests. 9790 Solution: Add tests for going up/down in the stack. (Ben Jackson, 9791 closes #6765) 9792 Files: src/testdir/test_debugger.vim 9793 9794 Patch 8.2.1509 9795 Problem: Vertical separator is cleared when dragging a popup window using a 9796 multi-byte character for the border. 9797 Solution: Only clear the character before the window if it is using a 9798 multi-byte character. (closes #6766) 9799 Files: src/screen.c 9800 9801 Patch 8.2.1510 9802 Problem: Using "var" in a :def function may refer to a legacy Vim script 9803 variable. 9804 Solution: Require using "s:" to refer to a legacy Vim script variable. 9805 (closes #6771) 9806 Files: src/vim9compile.c, src/testdir/test_vim9_func.vim 9807 9808 Patch 8.2.1511 9809 Problem: Putting a string in Visual block mode ignores multi-byte 9810 characters. 9811 Solution: Adjust the column for Visual block mode. (closes #6767) 9812 Files: src/register.c, src/testdir/test_visual.vim 9813 9814 Patch 8.2.1512 9815 Problem: Failure after ternary expression fails. 9816 Solution: Restore eval_flags. (Yasuhiro Matsumoto, closes #6776) 9817 Files: src/eval.c, src/testdir/test_vimscript.vim, 9818 src/testdir/test_vim9_expr.vim 9819 9820 Patch 8.2.1513 9821 Problem: Cannot interrupt shell used for filename expansion. (Dominique 9822 Pellé) 9823 Solution: Do set tmode in mch_delay(). (closes #6770) 9824 Files: src/vim.h, src/os_unix.c, src/proto/os_unix.pro, src/term.c, 9825 src/channel.c, src/if_cscope.c, src/os_amiga.c, src/ui.c, 9826 src/proto/os_amiga.pro, src/os_win32.c, src/proto/os_win32.pro 9827 9828 Patch 8.2.1514 9829 Problem: Multibyte vertical separator is cleared when dragging a popup 9830 window using a multi-byte character for the border. 9831 Solution: Only clear the character before the window if it is double width. 9832 (closes #6766) 9833 Files: src/screen.c 9834 9835 Patch 8.2.1515 9836 Problem: Vim9: can create s:var in legacy script but cannot unlet. 9837 Solution: Allow :unlet for legacy script var. 9838 Files: src/vim9compile.c, src/testdir/test_vim9_script.vim 9839 9840 Patch 8.2.1516 9841 Problem: Vim9: error for :exe has wrong line number. 9842 Solution: Set line number before calling do_cmdline_cmd(). (closes #6774) 9843 Files: src/vim9execute.c, src/testdir/test_vim9_script.vim 9844 9845 Patch 8.2.1517 9846 Problem: Cannot easily get the character under the cursor. 9847 Solution: Add the {chars} argument to strpart(). 9848 Files: runtime/doc/eval.txt, src/evalfunc.c, 9849 src/testdir/test_functions.vim 9850 9851 Patch 8.2.1518 9852 Problem: Vim9: cannot assign to local option. 9853 Solution: Skip over "&l:" and "&g:". (closes #6749) 9854 Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/testdir/vim9.vim, 9855 src/vim9compile.c, src/testdir/test_vim9_script.vim 9856 9857 Patch 8.2.1519 9858 Problem: Vim9: Ex command default range is not set. 9859 Solution: When range is not given use default. (closes #6779) 9860 Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim 9861 9862 Patch 8.2.1520 9863 Problem: Vim9: CTRL-] used in :def function does not work. 9864 Solution: Omit count or prepend colon. (closes #6769) 9865 Files: src/normal.c, src/testdir/test_vim9_cmd.vim 9866 9867 Patch 8.2.1521 9868 Problem: Reading past end of buffer when reading spellfile. (Yegappan 9869 Lakshmanan) 9870 Solution: Store the byte length and check for it. 9871 Files: src/spellfile.c, src/spell.h 9872 9873 Patch 8.2.1522 9874 Problem: Not enough test coverage for the spell file handling. 9875 Solution: Add spell file tests. (Yegappan Lakshmanan, closes #6763) 9876 Files: src/testdir/test_spellfile.vim 9877 9878 Patch 8.2.1523 9879 Problem: Still not enough test coverage for the spell file handling. 9880 Solution: Add spell file tests. (Yegappan Lakshmanan, closes #6790) 9881 Files: src/testdir/test_spellfile.vim 9882 9883 Patch 8.2.1524 9884 Problem: No longer get an error for string concatenation with float. 9885 (Tsuyoshi Cho) 9886 Solution: Only convert float for Vim9 script. (closes #6787) 9887 Files: src/eval.c, src/testdir/test_eval_stuff.vim 9888 9889 Patch 8.2.1525 9890 Problem: Messages from tests were not always displayed. 9891 Solution: Always show messages, the timing is always useful. (Ken Takata, 9892 closes #6792) 9893 Files: src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 9894 src/testdir/Makefile 9895 9896 Patch 8.2.1526 9897 Problem: Line in testdir Makefile got commented out. (Christian Brabandt) 9898 Solution: Revert. 9899 Files: src/testdir/Makefile 9900 9901 Patch 8.2.1527 9902 Problem: Vim9: cannot use a function name as a function reference at script 9903 level. 9904 Solution: Check if a name is a function name. (closes #6789) 9905 Files: src/evalvars.c, src/testdir/test_vim9_expr.vim, 9906 src/testdir/test_vim9_script.vim 9907 9908 Patch 8.2.1528 9909 Problem: Vim9: :endif not found after "if false". 9910 Solution: When skipping still check for a following command. (closes #6797) 9911 Files: src/vim9compile.c, src/testdir/test_vim9_script.vim 9912 9913 Patch 8.2.1529 9914 Problem: Vim9: :elseif may be compiled when not needed. 9915 Solution: Do evaluate the :elseif expression. 9916 Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim 9917 9918 Patch 8.2.1530 9919 Problem: Vim9: test fails on MS-Windows. 9920 Solution: Skip Ex command inside "if false". 9921 Files: src/vim9compile.c 9922 9923 Patch 8.2.1531 9924 Problem: Vim9: test still fails on MS-Windows. 9925 Solution: When skipping expect function to be NULL. 9926 Files: src/vim9compile.c 9927 9928 Patch 8.2.1532 9929 Problem: Compiler warning for conversion of size_t to long. 9930 Solution: Add type cast. 9931 Files: src/eval.c 9932 9933 Patch 8.2.1533 9934 Problem: Vim9: error when passing getreginfo() result to setreg(). 9935 Solution: Use dict_get_bool() for "isunnamed". (closes #6784) 9936 Files: src/evalfunc.c, src/testdir/test_vim9_func.vim 9937 9938 Patch 8.2.1534 9939 Problem: Vim9: type error for argument type is not at call position. 9940 Solution: Set the context and stack after checking the arguments. 9941 (issue #6785) 9942 Files: src/userfunc.c, src/vim9execute.c, src/testdir/test_vim9_func.vim 9943 9944 Patch 8.2.1535 9945 Problem: It is not possible to specify cell widths of characters. 9946 Solution: Add setcellwidths(). 9947 Files: runtime/doc/eval.txt, runtime/doc/options.txt, 9948 runtime/doc/usr_41.txt, src/evalfunc.c, src/mbyte.c, 9949 src/proto/mbyte.pro, src/errors.h, src/testdir/test_utf8.vim 9950 9951 Patch 8.2.1536 9952 Problem: Cannot get the class of a character; emoji widths are wrong in 9953 some environments. 9954 Solution: Add charclass(). Update some emoji widths. Add script to check 9955 emoji widths. 9956 Files: Filelist, runtime/doc/eval.txt, runtime/doc/usr_41.txt, 9957 src/evalfunc.c, src/mbyte.c, src/proto/mbyte.pro, 9958 src/testdir/emoji_list.vim, src/testdir/test_functions.vim 9959 9960 Patch 8.2.1537 9961 Problem: Memory access error when using setcellwidths(). 9962 Solution: Use array and pointers correctly. 9963 Files: src/mbyte.c, src/errors.h, src/testdir/test_utf8.vim 9964 9965 Patch 8.2.1538 9966 Problem: Python: iteration over vim objects fails to keep reference. 9967 Solution: Keep a reference for the object. (Paul Ollis, closes #6803, 9968 closes #6806) 9969 Files: src/if_py_both.h, src/testdir/test_python3.vim 9970 9971 Patch 8.2.1539 9972 Problem: Using invalid script ID causes a crash. 9973 Solution: Check the script ID to be valid. (closes #6804) 9974 Files: src/globals.h, src/evalvars.c, src/profiler.c, src/scriptfile.c, 9975 src/vim9compile.c, src/testdir/test_vim9_script.vim 9976 9977 Patch 8.2.1540 9978 Problem: The user cannot try out emoji character widths. 9979 Solution: Move the emoji script to the runtime/tools directory. 9980 Files: Filelist, src/testdir/emoji_list.vim, runtime/tools/emoji_list.vim 9981 9982 Patch 8.2.1541 9983 Problem: Vim9: cannot find function reference for s:Func. 9984 Solution: Recognize <SNR> prefix. (closes #6805) 9985 Files: src/userfunc.c, src/vim9execute.c, 9986 src/testdir/test_vim9_script.vim 9987 9988 Patch 8.2.1542 9989 Problem: Vim9: test with invalid SID does not work in the GUI. 9990 Solution: Skip the test in the GUI. 9991 Files: src/testdir/test_vim9_script.vim 9992 9993 Patch 8.2.1543 9994 Problem: Vim9: test with invalid SID is skipped in the GUI. 9995 Solution: Read the CTRL-C that feedkeys() put in typeahead. 9996 Files: src/testdir/test_vim9_script.vim 9997 9998 Patch 8.2.1544 9999 Problem: Cannot translate messages in a Vim script. 10000 Solution: Add gettext(). Try it out for a few messages in the options 10001 window. 10002 Files: Filelist, src/po/Makefile, src/po/README.txt, runtime/optwin.vim, 10003 src/evalfunc.c, src/po/tojavascript.vim, src/po/fixfilenames.vim, 10004 runtime/doc/eval.txt, runtime/doc/usr_41.txt 10005 10006 Patch 8.2.1545 10007 Problem: ch_logfile() is unclear about closing when forking. 10008 Solution: Adjust the log messages. 10009 Files: src/channel.c, src/os_unix.c 10010 10011 Patch 8.2.1546 10012 Problem: Build rule for Vim.app is unused. 10013 Solution: Delete the related build rules. 10014 Files: src/Makefile 10015 10016 Patch 8.2.1547 10017 Problem: Various comment problems. 10018 Solution: Update comments. 10019 Files: src/arglist.c, src/map.c, src/mbyte.c, src/tag.c, src/undo.c, 10020 src/testdir/README.txt, src/testdir/test_put.vim, 10021 src/libvterm/README 10022 10023 Patch 8.2.1548 10024 Problem: Cannot move position of "%%" in message translations. (Emir Sarı) 10025 Solution: Improve the check script. 10026 Files: src/po/check.vim 10027 10028 Patch 8.2.1549 10029 Problem: The "r" command fails for keys with modifiers if 'esckeys' is off 10030 and modifyOtherKeys is used. (Lauri Tirkkonen) 10031 Solution: Temporarily disable bracketed paste and modifyOtherKeys if 10032 'esckeys' is off. (closes #6809) 10033 Files: src/normal.c 10034 10035 Patch 8.2.1550 10036 Problem: Vim9: bufname('%') gives an error. 10037 Solution: Only give an error for wrong argument type. (closes #6807) 10038 Files: src/evalbuffer.c, src/testdir/test_vim9_func.vim 10039 10040 Patch 8.2.1551 10041 Problem: Vim9: error for argument type does not mention the number. 10042 Solution: Pass the argument number to where the error is given. 10043 Files: src/vim9type.c, src/proto/vim9type.pro, src/vim9compile.c, 10044 src/vim9execute.c, src/vim9script.c, src/eval.c, 10045 src/testdir/test_vim9_func.vim 10046 10047 Patch 8.2.1552 10048 Problem: Warnings from asan with clang-11. (James McCoy) 10049 Solution: Avoid using a NULL pointer. (issue #6811) 10050 Files: src/fold.c 10051 10052 Patch 8.2.1553 (after 8.2.1552) 10053 Problem: Crash in edit test. 10054 Solution: Avoid using invalid pointer. 10055 Files: src/fold.c 10056 10057 Patch 8.2.1554 10058 Problem: Crash in normal test. 10059 Solution: Skip adjusting marks if there are no folds. 10060 Files: src/fold.c 10061 10062 Patch 8.2.1555 10063 Problem: Not all tests are executed on Github Actions. 10064 Solution: Copy "src" to "src2" earlier. Recognize "src2" in a couple more 10065 places. Add two tests to the list of flaky tests. (Ken Takata, 10066 closes #6798) 10067 Files: .github/workflows/ci-windows.yaml, src/testdir/runtest.vim, 10068 src/testdir/test_python2.vim, src/testdir/test_python3.vim 10069 10070 Patch 8.2.1556 10071 Problem: Cursorline highlighting always overrules sign highlighting. 10072 Solution: Combine the highlighting, use the priority to decide how. 10073 (closes #6812) 10074 Files: runtime/doc/sign.txt, src/structs.h, src/drawline.c, 10075 runtime/pack/dist/opt/termdebug/plugin/termdebug.vim, 10076 src/testdir/test_signs.vim, 10077 src/testdir/dumps/Test_sign_cursor_5.dump, 10078 src/testdir/dumps/Test_sign_cursor_6.dump 10079 10080 Patch 8.2.1557 10081 Problem: Crash in :vimgrep when started as "vim -n". (Raul Segura) 10082 Solution: Check mfp pointer. (Yegappan Lakshmanan, closes #6827) 10083 Files: src/quickfix.c, src/testdir/test_quickfix.vim 10084 10085 Patch 8.2.1558 10086 Problem: Signs test fails. 10087 Solution: Add missing change to sign.c. 10088 Files: src/sign.c 10089 10090 Patch 8.2.1559 10091 Problem: s390x tests work again. 10092 Solution: re-enable s390x tests. (James McCoy, closes #6829) 10093 Files: .travis.yml 10094 10095 Patch 8.2.1560 10096 Problem: Using NULL pointers in some code. (James McCoy) 10097 Solution: Avoid adding to a NULL pointer. Use byte as unsigned. 10098 Files: src/fold.c, src/eval.c, src/spellsuggest.c, src/spellfile.c, 10099 src/vim9compile.c 10100 10101 Patch 8.2.1561 10102 Problem: Using NULL pointers in fold code. 10103 Solution: Avoid using a NULL pointer. (Dominique Pellé, closes #6831, 10104 closes #6831) 10105 Files: src/fold.c 10106 10107 Patch 8.2.1562 10108 Problem: Vim9: error when using "%" where a buffer is expected. 10109 Solution: Add tv_get_buf_from_arg(). (closes #6814) 10110 Files: src/typval.c, src/proto/typval.pro, src/evalbuffer.c, 10111 src/testdir/test_vim9_func.vim 10112 10113 Patch 8.2.1563 10114 Problem: Vim9: error when using '%" with setbufvar() or getbufvar(). 10115 Solution: Use tv_get_buf_from_arg(). (closes #6816) 10116 Files: src/evalvars.c, src/testdir/test_vim9_func.vim 10117 10118 Patch 8.2.1564 10119 Problem: A few remaining errors from ubsan. 10120 Solution: Avoid the warnings. (Dominique Pellé, closes #6837) 10121 Files: src/spellfile.c, src/spellsuggest.c, src/viminfo.c 10122 10123 Patch 8.2.1565 10124 Problem: Spellfile test sometimes fails. 10125 Solution: Check running into the end of the file. 10126 Files: src/spellfile.c 10127 10128 Patch 8.2.1566 10129 Problem: Not all Bazel files are recognized. 10130 Solution: Add *.bazel and *.BUILD. (closes #6836) 10131 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 10132 10133 Patch 8.2.1567 10134 Problem: No example to use ubsan with clang. 10135 Solution: Add example commands. (Dominique Pellé, issue #6811) 10136 Files: src/Makefile 10137 10138 Patch 8.2.1568 10139 Problem: prop_find() skips properties in the same line if "skipstart" is 10140 used. 10141 Solution: Use "continue" instead of "break". (closes #6840) 10142 Files: src/textprop.c, src/testdir/test_textprop.vim 10143 10144 Patch 8.2.1569 10145 Problem: Vim9: fixes for functions not tested; failure in getchangelist(). 10146 Solution: Add tests. (closes #6813, closes #6815, closes #6817) 10147 Files: src/evalfunc.c, src/testdir/test_vim9_func.vim 10148 10149 Patch 8.2.1570 10150 Problem: Configure check for dirfd() does not work on HPUX. (Michael Osipov) 10151 Solution: Use AC_TRY_LINK instead of AC_TRY_COMPILE. (closes #6838) 10152 Files: src/configure.ac, src/auto/configure, src/fileio.c, src/globals.h 10153 10154 Patch 8.2.1571 10155 Problem: Vim9: count() third argument cannot be "true". 10156 Solution: Use tv_get_bool_chk(). (closes #6818) 10157 Files: src/typval.c, src/list.c, src/testdir/test_vim9_func.vim 10158 10159 Patch 8.2.1572 10160 Problem: Vim9: expand() does not take "true" as argument. 10161 Solution: Use tv_get_bool_chk(). (closes #6819) 10162 Files: src/evalfunc.c, src/testdir/test_vim9_func.vim 10163 10164 Patch 8.2.1573 10165 Problem: Vim9: getreg() does not take "true" as argument. 10166 Solution: Use tv_get_bool_chk(). (closes #6820) 10167 Files: src/evalfunc.c, src/testdir/test_vim9_func.vim 10168 10169 Patch 8.2.1574 10170 Problem: Vim9: glob() does not take "true" as argument. 10171 Solution: Use tv_get_bool_chk(). (closes #6821) 10172 Files: src/filepath.c, src/testdir/test_vim9_func.vim 10173 10174 Patch 8.2.1575 10175 Problem: Vim9: globpath() does not take "true" as argument. 10176 Solution: Use tv_get_bool_chk(). (closes #6821) 10177 Files: src/filepath.c, src/testdir/test_vim9_func.vim 10178 10179 Patch 8.2.1576 10180 Problem: Vim9: index() does not take "true" as argument. 10181 Solution: Use tv_get_bool_chk(). (closes #6823) 10182 Files: src/evalfunc.c, src/testdir/test_vim9_func.vim 10183 10184 Patch 8.2.1577 10185 Problem: Vim9: hasmapto(), mapcheck() and maparg() do not take "true" as 10186 argument. 10187 Solution: Use tv_get_bool(). (closes #6822, closes #6824) 10188 Files: src/evalfunc.c, src/map.c, src/testdir/test_vim9_func.vim 10189 10190 Patch 8.2.1578 10191 Problem: Vim9: popup_clear() does not take "true" as argument. 10192 Solution: Use tv_get_bool(). (closes #6826) 10193 Files: src/popupwin.c, src/testdir/test_popupwin.vim 10194 10195 Patch 8.2.1579 10196 Problem: Reports from asan are not optimal. 10197 Solution: Use clang with ubsan. (James McCoy, closes #6811) 10198 Files: .travis.yml 10199 10200 Patch 8.2.1580 10201 Problem: Wildmenu does not work properly. 10202 Solution: Do not call may_do_incsearch_highlighting() if completion is in 10203 progress. 10204 Files: src/ex_getln.c, src/testdir/test_cmdline.vim, 10205 src/testdir/dumps/Test_wildmenu_1.dump, 10206 src/testdir/dumps/Test_wildmenu_2.dump, 10207 src/testdir/dumps/Test_wildmenu_3.dump, 10208 src/testdir/dumps/Test_wildmenu_4.dump 10209 10210 Patch 8.2.1581 10211 Problem: Using line() for global popup window doesn't work. 10212 Solution: Set tabpage to "curtab". (closes #6847) 10213 Files: src/evalwindow.c, src/testdir/test_popupwin.vim 10214 10215 Patch 8.2.1582 10216 Problem: The channel log does not show typed text. 10217 Solution: Add raw typed text to the log file. 10218 Files: src/ui.c, src/os_win32.c 10219 10220 Patch 8.2.1583 10221 Problem: MS-Windows: cannot easily measure code coverage. 10222 Solution: Add the COVERAGE option. (Ken Takata, closes #6842) 10223 Files: src/Make_cyg_ming.mak 10224 10225 Patch 8.2.1584 10226 Problem: Vim9: cannot use "true" for "skipstart" in prop_find(). 10227 Solution: Use dict_get_bool() instead of tv_get_number(). (closes #6852) 10228 Files: src/textprop.c, src/testdir/test_textprop.vim 10229 10230 Patch 8.2.1585 10231 Problem: Messages in errors.h not translated, xgettext on MS-Windows not 10232 fully supported. 10233 Solution: Add errors.h to list of input files. Update MS-Windows makefiles 10234 to improve message translations. (Ken Takata, closes #6858) 10235 Files: src/po/Make_cyg.mak, src/po/Make_ming.mak, src/po/Make_mvc.mak, 10236 src/po/Makefile, src/po/README.txt, src/po/fixfilenames.vim 10237 10238 Patch 8.2.1586 10239 Problem: :resize command not fully tested. 10240 Solution: Add a couple of tests. (Dominique Pellé, closes #6857) 10241 Files: src/testdir/test_window_cmd.vim 10242 10243 Patch 8.2.1587 10244 Problem: Loop for handling keys for the command line is too long. 10245 Solution: Move wild menu handling to separate functions. (Yegappan 10246 Lakshmanan, closes #6856) 10247 Files: src/cmdexpand.c, src/proto/cmdexpand.pro, src/ex_getln.c 10248 10249 Patch 8.2.1588 10250 Problem: Cannot read back the prompt of a prompt buffer. 10251 Solution: Add prompt_getprompt(). (Ben Jackson, closes #6851) 10252 Files: runtime/doc/channel.txt, runtime/doc/eval.txt, 10253 runtime/doc/usr_41.txt, src/channel.c, src/edit.c, src/evalfunc.c, 10254 src/proto/channel.pro, src/proto/edit.pro, 10255 src/testdir/test_prompt_buffer.vim 10256 10257 Patch 8.2.1589 10258 Problem: Term_start() options for size are overruled by 'termwinsize'. 10259 (Sergey Vlasov) 10260 Solution: Set 'termwinsize' to the specified size. 10261 Files: src/terminal.c, src/testdir/test_terminal2.vim, 10262 src/testdir/term_util.vim 10263 10264 Patch 8.2.1590 10265 Problem: Vim9: bufnr() doesn't take "true" argument. 10266 Solution: use tv_get_bool_chk(). (closes #6863) 10267 Files: src/evalbuffer.c, src/testdir/test_vim9_func.vim 10268 10269 Patch 8.2.1591 10270 Problem: Using winheight('.') in tests works but is wrong. 10271 Solution: Use winheight(0). (issue #6863) 10272 Files: src/testdir/test_functions.vim, src/testdir/test_quickfix.vim 10273 10274 Patch 8.2.1592 10275 Problem: Vim9: passing "true" to char2nr() fails. 10276 Solution: Use tv_get_bool_chk(). (closes #6865) 10277 Files: src/evalfunc.c, src/testdir/test_vim9_func.vim 10278 10279 Patch 8.2.1593 10280 Problem: Tests do not check the error number properly. 10281 Solution: Add a colon after the error number. (closes #6869) 10282 Files: src/testdir/test_assert.vim, src/testdir/test_autocmd.vim, 10283 src/testdir/test_backspace_opt.vim, src/testdir/test_channel.vim, 10284 src/testdir/test_clientserver.vim, src/testdir/test_cmdline.vim, 10285 src/testdir/test_const.vim, src/testdir/test_cscope.vim, 10286 src/testdir/test_eval_stuff.vim, src/testdir/test_functions.vim, 10287 src/testdir/test_global.vim, src/testdir/test_gui.vim, 10288 src/testdir/test_hlsearch.vim, src/testdir/test_lambda.vim, 10289 src/testdir/test_let.vim, src/testdir/test_listdict.vim, 10290 src/testdir/test_move.vim, src/testdir/test_normal.vim, 10291 src/testdir/test_popupwin.vim, src/testdir/test_put.vim, 10292 src/testdir/test_quickfix.vim, src/testdir/test_rename.vim, 10293 src/testdir/test_search.vim, src/testdir/test_signs.vim, 10294 src/testdir/test_substitute.vim, src/testdir/test_syntax.vim, 10295 src/testdir/test_tagfunc.vim, src/testdir/test_tagjump.vim, 10296 src/testdir/test_taglist.vim, src/testdir/test_terminal.vim, 10297 src/testdir/test_terminal2.vim, src/testdir/test_textprop.vim, 10298 src/testdir/test_timers.vim, src/testdir/test_true_false.vim, 10299 src/testdir/test_user_func.vim, src/testdir/test_vim9_func.vim, 10300 src/testdir/test_vim9_script.vim, src/testdir/test_vimscript.vim, 10301 src/testdir/test_winbar.vim, src/testdir/test_winbuf_close.vim, 10302 src/testdir/test_window_cmd.vim, src/testdir/test_writefile.vim 10303 10304 Patch 8.2.1594 10305 Problem: Pull requests on github do not notify a maintainer. 10306 Solution: Add a CODEOWNERS file with a few initial entries. 10307 Files: Filelist, .github/CODEOWNERS 10308 10309 Patch 8.2.1595 10310 Problem: Cannot easily see what Vim sends to the terminal. 10311 Solution: Write output to the channel log if it contains terminal control 10312 sequences. Avoid warnings for tputs() argument. 10313 Files: src/term.c, src/globals.h, src/edit.c, src/normal.c, 10314 src/optionstr.c 10315 10316 Patch 8.2.1596 10317 Problem: Using win_screenpos('.') in tests works but is wrong. 10318 Solution: Use win_screenpos(0). 10319 Files: src/testdir/test_terminal3.vim 10320 10321 Patch 8.2.1597 10322 Problem: The channel source file is too big. 10323 Solution: Move job related code to a new source file. 10324 Files: Filelist, src/Makefile, src/Make_mvc.mak, src/Make_cyg_ming.mak, 10325 src/channel.c, src/proto/channel.pro, src/job.c, 10326 src/proto/job.pro, src/proto.h, src/edit.c, src/proto/edit.pro, 10327 src/globals.h, src/configure.ac, src/auto/configure 10328 10329 Patch 8.2.1598 10330 Problem: Starting a hidden terminal resizes the current window. 10331 Solution: Do not resize the current window for a hidden terminal. 10332 (closes #6872) 10333 Files: src/terminal.c, src/testdir/test_terminal2.vim 10334 10335 Patch 8.2.1599 10336 Problem: Missing line end when skipping a long line with :cgetfile. 10337 Solution: Fix off-by-one error. (closes #6870) 10338 Files: src/quickfix.c, src/testdir/test_quickfix.vim 10339 10340 Patch 8.2.1600 10341 Problem: Vim9: cannot use "true" with deepcopy(). 10342 Solution: Use tv_get_bool_chk(). (closes #6867) 10343 Files: src/evalfunc.c, src/testdir/test_vim9_func.vim, 10344 src/testdir/test_listdict.vim 10345 10346 Patch 8.2.1601 10347 Problem: Vim9: cannot use "true" with garbagecollect(). 10348 Solution: Use tv_get_bool(). (closes #6871) 10349 Files: src/evalfunc.c, src/testdir/test_vim9_func.vim 10350 10351 Patch 8.2.1602 10352 Problem: Vim9: cannot use "true" with getbufinfo(). 10353 Solution: Use dict_get_bool(). (closes #6873) 10354 Files: src/evalbuffer.c, src/testdir/test_vim9_func.vim 10355 10356 Patch 8.2.1603 10357 Problem: Vim9: cannot use "true" with getchar(). 10358 Solution: use tv_get_bool_chk(). (closes #6874) 10359 Files: src/getchar.c, src/testdir/test_vim9_func.vim 10360 10361 Patch 8.2.1604 10362 Problem: Vim9: cannot use "true" with getcompletion(). 10363 Solution: use tv_get_bool_chk(). (closes #6875) 10364 Files: src/cmdexpand.c, src/testdir/test_vim9_func.vim 10365 10366 Patch 8.2.1605 10367 Problem: Default maintainer on github is wrong. 10368 Solution: Use Bram's account. 10369 Files: .github/CODEOWNERS 10370 10371 Patch 8.2.1606 10372 Problem: Vim9: cannot use "true" with has(). 10373 Solution: Use tv_get_bool(). (closes #6876) 10374 Files: src/evalfunc.c, src/testdir/test_vim9_func.vim 10375 10376 Patch 8.2.1607 10377 Problem: Vim9: getchar() test fails on MS-Windows. 10378 Solution: First consume any available input. 10379 Files: src/testdir/test_vim9_func.vim 10380 10381 Patch 8.2.1608 10382 Problem: Vim9: getchar() test fails with GUI. 10383 Solution: Avoid that getchar(0) gets stuck on K_IGNORE. 10384 Files: src/getchar.c 10385 10386 Patch 8.2.1609 10387 Problem: Vim9: test fails when build without +channel. 10388 Solution: Add check for +channel. (closes #6879) 10389 Files: src/testdir/test_vim9_expr.vim 10390 10391 Patch 8.2.1610 10392 Problem: Vim9: cannot pass "true" to list2str() and str2list(). 10393 Solution: Use tv_get_bool_chk(). (closes #6877) 10394 Files: src/evalfunc.c, src/list.c, src/testdir/test_vim9_func.vim 10395 10396 Patch 8.2.1611 10397 Problem: Vim9: cannot pass "true" to nr2char(). 10398 Solution: use tv_get_bool_chk(). (closes #6878) 10399 Files: src/evalfunc.c, src/testdir/test_vim9_func.vim 10400 10401 Patch 8.2.1612 10402 Problem: Vim9: cannot pass "true" to prop_remove(). 10403 Solution: Use dict_get_bool(). (closes #6853) 10404 Files: src/textprop.c, src/testdir/test_textprop.vim 10405 10406 Patch 8.2.1613 10407 Problem: Vim9: cannot pass "true" to prop_type_add(). 10408 Solution: Use tv_get_bool(). (closes #6850) 10409 Files: src/textprop.c, src/testdir/test_textprop.vim 10410 10411 Patch 8.2.1614 10412 Problem: Vim9: cannot pass "true" to searchcount(). 10413 Solution: Use tv_get_bool_chk(). (closes #6854) 10414 Files: src/search.c, src/testdir/test_vim9_func.vim 10415 10416 Patch 8.2.1615 10417 Problem: Vim9: cannot pass "true" to searchdecl(). 10418 Solution: use tv_get_bool_chk(). (closes #6881) 10419 Files: src/evalfunc.c, src/testdir/test_vim9_func.vim 10420 10421 Patch 8.2.1616 10422 Problem: Vim9: cannot pass "true" to synID(). 10423 Solution: Use tv_get_bool_chk(). (closes #6860) 10424 Files: src/evalfunc.c, src/testdir/test_vim9_func.vim 10425 10426 Patch 8.2.1617 10427 Problem: Vim9: cannot pass "true" to win_splitmove(). 10428 Solution: Use dict_get_bool(). (closes #6862) Alphabetize test functions. 10429 Files: src/evalwindow.c, src/testdir/test_vim9_func.vim 10430 10431 Patch 8.2.1618 10432 Problem: Vim9: cannot pass "true" to setloclist(). 10433 Solution: Use dict_get_bool(). (closes #6882) 10434 Files: src/quickfix.c, src/testdir/test_vim9_func.vim 10435 10436 Patch 8.2.1619 10437 Problem: Vim9: cannot pass "true" to spellsuggest(). 10438 Solution: Use tv_get_bool_chk(). (closes #6883) 10439 Files: src/evalfunc.c, src/testdir/test_vim9_func.vim 10440 10441 Patch 8.2.1620 10442 Problem: searchcount() test fails. 10443 Solution: Restore default flag value. 10444 Files: src/search.c 10445 10446 Patch 8.2.1621 10447 Problem: Crash when using submatch(0, 1) in substitute(). 10448 Solution: Increment reference count. (closes #6887) 10449 Files: src/regexp.c, src/testdir/test_substitute.vim 10450 10451 Patch 8.2.1622 10452 Problem: Loop to handle keys for the command line is too long. 10453 Solution: Move code to functions. (Yegappan Lakshmanan, closes #6880) 10454 Files: src/ex_getln.c 10455 10456 Patch 8.2.1623 10457 Problem: Vim9: using :call where it is not needed. 10458 Solution: Remove :call. (closes #6892) 10459 Files: src/testdir/test_maparg.vim, src/testdir/test_textprop.vim, 10460 src/testdir/test_vim9_disassemble.vim, 10461 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim, 10462 src/testdir/test_vim9_script.vim 10463 10464 Patch 8.2.1624 10465 Problem: Vim9: cannot pass "true" to split(), str2nr() and strchars(). 10466 Solution: Use tv_get_bool_chk(). (closes #6884, closes #6885, closes #6886) 10467 Files: src/evalfunc.c, src/testdir/test_vim9_func.vim 10468 10469 Patch 8.2.1625 10470 Problem: Compiler warning for use of fptr_T. 10471 Solution: Make the type less strict. 10472 Files: src/regexp.c 10473 10474 Patch 8.2.1626 10475 Problem: Test for strchars() fails with different error number. 10476 Solution: Adjust the error number. 10477 Files: src/testdir/test_utf8.vim 10478 10479 Patch 8.2.1627 10480 Problem: Vim9: cannot pass "true" to submatch(), term_gettty() and 10481 term_start() 10482 Solution: Use tv_get_bool_chk(). (closes #6888, closes #6890, closes #6889) 10483 Files: src/evalfunc.c, src/terminal.c, src/job.c, 10484 src/testdir/test_vim9_func.vim 10485 10486 Patch 8.2.1628 10487 Problem: Vim9: cannot pass "true" to timer_paused(). 10488 Solution: Use tv_get_bool(). (closes #6891) 10489 Files: src/time.c, src/testdir/test_vim9_func.vim 10490 10491 Patch 8.2.1629 10492 Problem: Test fails without terminal feature. 10493 Solution: Check for terminal feature. 10494 Files: src/testdir/test_vim9_func.vim 10495 10496 Patch 8.2.1630 10497 Problem: Terminal test fails. 10498 Solution: Correct argument to term_start(). Correct error number. 10499 Files: src/testdir/test_terminal.vim, src/testdir/test_terminal2.vim 10500 10501 Patch 8.2.1631 10502 Problem: test_fails() does not check the context of the line number. 10503 Solution: Use another argument to specify the context of the line number. 10504 Files: runtime/doc/testing.txt, runtime/doc/eval.txt, 10505 src/testdir/test_vim9_func.vim, src/testing.c, src/globals.h, 10506 src/evalfunc.c, src/message.c 10507 10508 Patch 8.2.1632 10509 Problem: Not checking the context of test_fails(). 10510 Solution: Add the line number and context arguments. Give error if 10511 assert_fails() argument types are wrong. 10512 Files: src/testing.c, src/errors.h, src/testdir/test_assert.vim, 10513 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim 10514 10515 Patch 8.2.1633 10516 Problem: Some error messages are internal but do not use iemsg(). 10517 Solution: Use iemsg(). (Dominique Pellé, closes #6894) 10518 Files: src/regexp.c, src/regexp_bt.c, src/regexp_nfa.c 10519 10520 Patch 8.2.1634 10521 Problem: Loop to handle keys for the command line is too long. 10522 Solution: Move a few more parts to separate functions. (Yegappan Lakshmanan, 10523 closes #6895) 10524 Files: src/ex_getln.c, src/testdir/test_cmdline.vim 10525 10526 Patch 8.2.1635 10527 Problem: No digraph for 0x2022 BULLET. 10528 Solution: Use "oo". (Hans Ginzel, closes #6904) 10529 Files: src/digraph.c, runtime/doc/digraph.txt 10530 10531 Patch 8.2.1636 10532 Problem: Get stuck if a popup filter causes an error. 10533 Solution: Check whether the function can be called and does not cause an 10534 error. (closes #6902) 10535 Files: src/structs.h, src/popupwin.c, src/testdir/test_popupwin.vim 10536 src/testdir/dumps/Test_popupwin_wrong_name.dump, 10537 src/testdir/dumps/Test_popupwin_three_errors_1.dump, 10538 src/testdir/dumps/Test_popupwin_three_errors_2.dump 10539 10540 Patch 8.2.1637 10541 Problem: Vim9: :put ={expr} does not work inside :def function. 10542 Solution: Add ISN_PUT. (closes #6397) 10543 Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/register.c, 10544 src/proto/register.pro, src/edit.c, src/ex_docmd.c, src/mouse.c, 10545 src/normal.c, src/testdir/test_vim9_cmd.vim, 10546 src/testdir/test_vim9_disassemble.vim 10547 10548 Patch 8.2.1638 10549 Problem: Leaking memory when popup filter function can't be called. 10550 Solution: Don't return too soon. 10551 Files: src/popupwin.c 10552 10553 Patch 8.2.1639 10554 Problem: Options window cannot be translated. 10555 Solution: Get the translation for "local to" texts once and use them in many 10556 places. Fix that 'whichwrap' is not a local option. (issue #6800) 10557 Files: runtime/optwin.vim 10558 10559 Patch 8.2.1640 10560 Problem: Amiga: missing header for getgrgid(). 10561 Solution: Add the grp.h header. (Ola Söder, closes #6906) 10562 Files: src/os_amiga.h 10563 10564 Patch 8.2.1641 10565 Problem: Vim9: cannot use 0 or 1 where a bool is expected. 10566 Solution: Allow using 0 and 1 for a bool type. (closes #6903) 10567 Files: src/vim9compile.c, src/vim9type.c, src/proto/vim9type.pro, 10568 src/structs.h, src/testdir/test_vim9_script.vim 10569 10570 Patch 8.2.1642 10571 Problem: Options test fails. 10572 Solution: Correct call to OptionG(). 10573 Files: runtime/optwin.vim 10574 10575 Patch 8.2.1643 10576 Problem: Vim9: :defcompile compiles dead functions. 10577 Solution: Skip over dead functions. 10578 Files: src/userfunc.c 10579 10580 Patch 8.2.1644 10581 Problem: Vim9: cannot assign 1 and 0 to bool at script level. 10582 Solution: Add the TTFLAG_BOOL_OK flag to the type. Fix name of test 10583 function. 10584 Files: src/vim9type.c, src/testdir/test_vim9_script.vim, 10585 src/testdir/vim9.vim, src/testdir/test_vim9_expr.vim 10586 10587 Patch 8.2.1645 10588 Problem: GTK3: icons become broken images when resized. 10589 Solution: Use gtk_image_new_from_icon_name(). (closes #6916) 10590 Fix compiler warnings. 10591 Files: src/gui_gtk_x11.c 10592 10593 Patch 8.2.1646 10594 Problem: Amiga: Unnecessary #include. 10595 Solution: Remove the #include. (Ola Söder, closes #6908) 10596 Files: src/version.c 10597 10598 Patch 8.2.1647 10599 Problem: Vim9: result of expression with && and || cannot be assigned to a 10600 bool variable. 10601 Solution: Add the TTFLAG_BOOL_OK flag and convert the value if needed. 10602 Files: src/vim9compile.c, src/testdir/test_vim9_script.vim, 10603 src/testdir/test_vim9_disassemble.vim 10604 10605 Patch 8.2.1648 10606 Problem: Amiga: no common build file for Amiga (-like) systems. 10607 Solution: Turn Make_morph.mak into Make_ami.mak. (Ola Söder, closes #6805) 10608 Files: Filelist, src/Make_ami.mak, src/Make_morph.mak, src/INSTALLami.txt 10609 10610 Patch 8.2.1649 10611 Problem: GTK3: using old file chooser. 10612 Solution: Use native file chooser on GTK 3.20 and above. (Yogeshwar 10613 Velingker, closes #6909) 10614 Files: src/gui_gtk.c 10615 10616 Patch 8.2.1650 10617 Problem: Vim9: result of && and || expression cannot be assigned to a bool 10618 at the script level. 10619 Solution: Add the VAR_BOOL_OK flag. Convert to bool when needed. 10620 Files: src/structs.h, src/vim9type.c, src/proto/vim9type.pro, 10621 src/vim9script.c, src/evalvars.c, src/eval.c, 10622 src/testdir/test_vim9_script.vim 10623 10624 Patch 8.2.1651 10625 Problem: Spellfile code not completely tested. 10626 Solution: Add a few more test cases. (Yegappan Lakshmanan, closes #6918) 10627 Files: src/testdir/test_spellfile.vim 10628 10629 Patch 8.2.1652 10630 Problem: Cannot translate lines in the options window. 10631 Solution: Use the AddOption() function to split descriptions where indicated 10632 by a line break. (issue #6800) 10633 Files: runtime/optwin.vim 10634 10635 Patch 8.2.1653 10636 Problem: Expand('<stack>') does not include the final line number. 10637 Solution: Add the line number. (closes #6927) 10638 Files: src/vim.h, src/scriptfile.c, src/proto/scriptfile.pro, 10639 src/debugger.c, src/ex_docmd.c, src/ex_eval.c, src/message.c, 10640 src/testing.c, src/testdir/test_expand_func.vim 10641 10642 Patch 8.2.1654 10643 Problem: When job writes to hidden buffer current window has display 10644 errors. (Johnny McArthur) 10645 Solution: Use aucmd_prepbuf() instead of switch_to_win_for_buf(). 10646 (closes #6925) 10647 Files: src/channel.c 10648 10649 Patch 8.2.1655 10650 Problem: Cannot build with Strawberry Perl 5.32.0. 10651 Solution: Use Perl_sv_2pvbyte_flags. (closes #6921) 10652 Files: src/if_perl.xs 10653 10654 Patch 8.2.1656 10655 Problem: Vim9: callstack wrong if :def function calls :def function. 10656 Solution: Set the line number before calling. (closes #6914) 10657 Files: src/vim9execute.c, src/testdir/test_vim9_func.vim 10658 10659 Patch 8.2.1657 10660 Problem: Vim9: no proper error for nested ":def!". 10661 Solution: Check for "!". (closes #6920) 10662 Files: src/errors.h, src/vim9compile.c, src/testdir/test_vim9_func.vim 10663 10664 Patch 8.2.1658 10665 Problem: Expand('<stack>') has trailing "..". 10666 Solution: Remove the "..". (closes #6927) 10667 Files: src/scriptfile.c, src/testdir/test_expand_func.vim 10668 10669 Patch 8.2.1659 10670 Problem: Spellfile code not completely tested. 10671 Solution: Add a few more test cases. (Yegappan Lakshmanan, closes #6929) 10672 Files: src/testdir/test_spell.vim, src/testdir/test_spellfile.vim 10673 10674 Patch 8.2.1660 10675 Problem: Assert functions require passing expected result as the first 10676 argument, which isn't obvious. 10677 Solution: Use a method, as in "runtest()->assert_equal(expected)". 10678 Files: src/testdir/test_vim9_func.vim 10679 10680 Patch 8.2.1661 10681 Problem: Cannot connect to 127.0.0.1 for host with only IPv6 addresses. 10682 Solution: pass AI_V4MAPPED flag to getaddrinfo. (Filipe Brandenburger, 10683 closes #6931) 10684 Files: src/channel.c 10685 10686 Patch 8.2.1662 10687 Problem: :mksession does not restore shared terminal buffer properly. 10688 Solution: Keep a hashtab with terminal buffers. (Rob Pilling, closes #6930) 10689 Files: src/hashtab.c, src/proto/terminal.pro, src/session.c, 10690 src/terminal.c, src/testdir/test_mksession.vim 10691 10692 Patch 8.2.1663 10693 Problem: Options window entries cannot be translated. 10694 Solution: Use AddOption() for all explanations. (closes #6800) 10695 Files: runtime/optwin.vim 10696 10697 Patch 8.2.1664 10698 Problem: Memory leak when using :mkview with a terminal buffer. 10699 Solution: Don't use a hastab for :mkview. (Rob Pilling, closes #6935) 10700 Files: src/session.c, src/terminal.c, src/testdir/test_mksession.vim 10701 10702 Patch 8.2.1665 10703 Problem: Cannot do fuzzy string matching. 10704 Solution: Add matchfuzzy(). (Yegappan Lakshmanan, closes #6932) 10705 Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c, 10706 src/proto/search.pro, src/search.c, src/testdir/test_functions.vim 10707 10708 Patch 8.2.1666 10709 Problem: The initial value of 'backupskip' can have duplicate items. 10710 Solution: Remove duplicates, like when it is set later. (Tom Ryder, 10711 closes #6940) 10712 Files: src/option.c, src/testdir/test_options.vim 10713 10714 Patch 8.2.1667 10715 Problem: Local function name cannot shadow a global function name. 10716 Solution: Ignore global functions when checking a script-local or scoped 10717 function name. (closes #6926) 10718 Files: src/vim9compile.c, src/userfunc.c, src/proto/userfunc.pro, 10719 src/testdir/test_vim9_func.vim 10720 10721 Patch 8.2.1668 10722 Problem: Vim9: not accepting 0 or 1 as bool when type is any. 10723 Solution: Convert the type with the CHECKTYPE instruction. (closes #6913) 10724 Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim 10725 10726 Patch 8.2.1669 10727 Problem: Vim9: memory leak when storing a value fails. 10728 Solution: Free the value when not storing it. 10729 Files: src/evalvars.c 10730 10731 Patch 8.2.1670 10732 Problem: A couple of gcc compiler warnings. 10733 Solution: Initialize local variables. (Dominique Pellé, closes #6944) 10734 Files: src/memline.c, src/option.c 10735 10736 Patch 8.2.1671 10737 Problem: Vim9: stray error for missing white space. 10738 Solution: Do not skip over white space after member. (closes #6917) 10739 Files: src/eval.c, src/testdir/test_vim9_expr.vim 10740 10741 Patch 8.2.1672 10742 Problem: v_lock is used when it is not initialized. (Yegappan Lakshmanan) 10743 Solution: Initialize the typval in eval1(). 10744 Files: src/eval.c 10745 10746 Patch 8.2.1673 10747 Problem: complete_info() selected index has an invalid value. (Ben Jackson) 10748 Solution: Set the index when there is only one match. (closes #6945) 10749 Add test for complete_info(). 10750 Files: src/insexpand.c, src/testdir/test_ins_complete.vim 10751 10752 Patch 8.2.1674 10753 Problem: Vim9: internal error when using variable that was not set. 10754 Solution: Give a meaningful error. (closes #6937) 10755 Files: src/vim9script.c, src/testdir/test_vim9_script.vim 10756 10757 Patch 8.2.1675 10758 Problem: MinGW: testdir makefile deletes non-existing file. 10759 Solution: Use another way to delete the output file if it already exists. 10760 (Michael Soyka) 10761 Files: src/testdir/Make_ming.mak 10762 10763 Patch 8.2.1676 10764 Problem: Compiler warnings for function typecast. 10765 Solution: Add an intermediate cast to "void *". 10766 Files: src/os_unix.c 10767 10768 Patch 8.2.1677 10769 Problem: Memory access errors when calling setloclist() in an autocommand. 10770 Solution: Give an error if the list was changed unexpectedly. (closes #6946) 10771 Files: src/quickfix.c, src/testdir/test_quickfix.vim 10772 10773 Patch 8.2.1678 10774 Problem: Crash when using ":set" after ":ownsyntax". (Dhiraj Mishra) 10775 Solution: Make sure 'spelloptions' is not NULL. (closes #6950) 10776 Files: src/syntax.c, src/testdir/test_syntax.vim 10777 10778 Patch 8.2.1679 10779 Problem: Vim9: ":*" is not recognized as a range. 10780 Solution: Move recognizing "*" into skip_range(). (closes #6938) 10781 Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/cmdexpand.c, 10782 src/ex_getln.c, src/userfunc.c, src/vim9compile.c, 10783 src/testdir/test_vim9_cmd.vim 10784 10785 Patch 8.2.1680 10786 Problem: Vim9: line number for compare error is wrong. 10787 Solution: Set SOURCING_LNUM. (closes #6936) 10788 Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim 10789 10790 Patch 8.2.1681 10791 Problem: Vim9: unnecessary :call commands in tests. 10792 Solution: Remove the commands. (issue #6936) 10793 Files: src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim 10794 10795 Patch 8.2.1682 10796 Problem: Vim9: const works in an unexpected way. 10797 Solution: ":const" only disallows changing the variable, not the value. 10798 Make "list[0] = 9" work at the script level. 10799 Files: src/vim9compile.c, src/evalvars.c, src/testdir/test_vim9_script.vim 10800 10801 Patch 8.2.1683 10802 Problem: Vim9: assignment test fails. 10803 Solution: Include changes to find Ex command. 10804 Files: src/ex_docmd.c 10805 10806 Patch 8.2.1684 10807 Problem: "gF" does not use line number after file in Visual mode. 10808 Solution: Look for ":123" after the Visual area. (closes #6952) 10809 Files: src/findfile.c, src/testdir/test_gf.vim 10810 10811 Patch 8.2.1685 10812 Problem: Vim9: cannot declare a constant value. 10813 Solution: Introduce ":const!". 10814 Files: runtime/doc/vim9.txt, src/ex_cmds.h, src/vim9compile.c, 10815 src/vim9.h, src/vim9execute.c, src/evalvars.c, 10816 src/proto/evalvars.pro, src/errors.h, src/vim.h, src/eval.c, 10817 src/testdir/test_vim9_script.vim 10818 10819 Patch 8.2.1686 10820 Problem: Vim9: "const!" not sufficiently tested. 10821 Solution: Add a few more test cases. Fix type checking. 10822 Files: src/vim9compile.c, src/testdir/test_vim9_script.vim 10823 10824 Patch 8.2.1687 10825 Problem: Vim9: out of bounds error. 10826 Solution: Check that cmdidx is not negative. 10827 Files: src/vim9compile.c 10828 10829 Patch 8.2.1688 10830 Problem: Increment/decrement removes text property. 10831 Solution: Insert the new number before deleting the old one. (closes #6962) 10832 Files: src/ops.c, src/testdir/test_textprop.vim 10833 10834 Patch 8.2.1689 10835 Problem: 'colorcolumn' doesn't show in indent. 10836 Solution: Also draw the column when draw_state is WL_BRI or WL_SBR. 10837 (Alexey Demin, closes #6948, closes #6619) 10838 Files: src/drawline.c, src/testdir/dumps/Test_colorcolumn_2.dump, 10839 src/testdir/dumps/Test_colorcolumn_3.dump, 10840 src/testdir/test_highlight.vim 10841 10842 Patch 8.2.1690 10843 Problem: Text properties not adjusted for "I" in Visual block mode. 10844 Solution: Call inserted_bytes(). (closes #6961) 10845 Files: src/ops.c, src/change.c, src/proto/change.pro, 10846 src/testdir/test_textprop.vim 10847 10848 Patch 8.2.1691 10849 Problem: Vim9: list<any> is not accepted where list<number> is expected. 10850 Solution: Add functions to allocate and free a type_T, use it in 10851 ISN_CHECKTYPE. (closes #6959) 10852 Files: src/vim9.h, src/globals.h, src/vim9compile.c, src/vim9execute.c, 10853 src/vim9type.c, src/proto/vim9type.pro, src/errors.h, 10854 src/evalfunc.c, src/testdir/test_vim9_disassemble.vim, 10855 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim, 10856 src/testdir/test_vim9_script.vim 10857 10858 Patch 8.2.1692 10859 Problem: Build fails because TTFLAG_STATIC is missing. 10860 Solution: Include missing change. 10861 Files: src/structs.h 10862 10863 Patch 8.2.1693 10864 Problem: "hi def" does not work for cleared highlight. 10865 Solution: Check the "sg_cleared" flag. (Maxim Kim, closes #6956, 10866 closes #4405) 10867 Files: src/highlight.c, src/testdir/test_highlight.vim 10868 10869 Patch 8.2.1694 10870 Problem: Compiler warning for loss if data. 10871 Solution: Add typecast. 10872 Files: src/ops.c 10873 10874 Patch 8.2.1695 10875 Problem: Vim9: crash when using varargs type "any". 10876 Solution: Check if uf_va_type is &t_any. (closes #6957) 10877 Files: src/vim9compile.c, src/vim9execute.c, 10878 src/testdir/test_vim9_func.vim 10879 10880 Patch 8.2.1696 10881 Problem: Unused (duplicate) macros. 10882 Solution: Remove the macros. 10883 Files: src/spell.c 10884 10885 Patch 8.2.1697 10886 Problem: Inconsistent capitalization of error messages. 10887 Solution: Always start with a capital. 10888 Files: src/errors.h, src/testdir/test_vim9_expr.vim, 10889 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim, 10890 src/testdir/test_assert.vim 10891 10892 Patch 8.2.1698 10893 Problem: Cannot lock a variable in legacy Vim script like in Vim9. 10894 Solution: Make ":lockvar 0" work. 10895 Files: runtime/doc/eval.txt, src/evalvars.c, src/proto/evalvars.pro, 10896 src/dict.c, src/eval.c, src/list.c, src/typval.c, src/userfunc.c, 10897 src/testdir/test_const.vim, src/testdir/test_listdict.vim 10898 10899 Patch 8.2.1699 10900 Problem: Build failure due to missing error message. 10901 Solution: Add error message. 10902 Files: src/errors.h 10903 10904 Patch 8.2.1700 10905 Problem: Vim9: try/catch causes wrong value to be returned. 10906 Solution: Reset tcd_return. (closes #6964) 10907 Files: src/vim9execute.c, src/testdir/test_vim9_script.vim 10908 10909 Patch 8.2.1701 10910 Problem: Vim9: sort("i") does not work. 10911 Solution: Don't try getting a number for a string argument. (closes #6958) 10912 Files: src/list.c, src/testdir/test_vim9_func.vim 10913 10914 Patch 8.2.1702 10915 Problem: Crash when using undo after deleting folded lines. 10916 Solution: Check for NULL pointer. (closes #6968) 10917 Files: src/fold.c, src/testdir/test_fold.vim 10918 10919 Patch 8.2.1703 10920 Problem: ":highlight clear" does not restore default link. 10921 Solution: Remember the default link and restore it. (Antony Scriven, 10922 closes #6970, closes #4405) 10923 Files: runtime/doc/syntax.txt, src/highlight.c, 10924 src/testdir/test_highlight.vim 10925 10926 Patch 8.2.1704 10927 Problem: Vim9: crash in for loop when autoload script has an error. 10928 Solution: Reset suppress_errthrow. Check for NULL list. (closes #6967) 10929 Files: src/vim9execute.c, src/testdir/test_vim9_script.vim 10930 10931 Patch 8.2.1705 10932 Problem: "verbose hi Name" reports incorrect info after ":hi clear". 10933 Solution: Store the script context. (Antony Scriven, closes #6975) 10934 Files: src/highlight.c, src/testdir/test_highlight.vim 10935 10936 Patch 8.2.1706 10937 Problem: Vim9: crash after running into the "Multiple closures" error. 10938 Solution: When a function fails still update any closures. (closes #6973) 10939 Files: src/vim9execute.c, src/testdir/test_vim9_func.vim 10940 10941 Patch 8.2.1707 10942 Problem: Small inconsistency in highlight test. 10943 Solution: Use one argument for :execute. (Antony Scriven, #6975) 10944 Files: src/testdir/test_highlight.vim 10945 10946 Patch 8.2.1708 10947 Problem: Vim9: error message for function has unprintable characters. 10948 Solution: use printable_func_name(). (closes #6965) 10949 Files: src/vim9compile.c, src/testdir/test_vim9_func.vim 10950 10951 Patch 8.2.1709 10952 Problem: Vim9: memory leak when using multiple closures. 10953 Solution: Free the partial. 10954 Files: src/vim9execute.c 10955 10956 Patch 8.2.1710 10957 Problem: Vim9: list of list type can be wrong. 10958 Solution: Use VAR_UNKNOWN for empty list. Recognize VAR_UNKNOWN when 10959 looking for a common type. (closes #6979) 10960 Files: src/vim9type.c, src/testdir/test_vim9_expr.vim 10961 10962 Patch 8.2.1711 10963 Problem: Vim9: leaking memory when using partial. 10964 Solution: Do delete the function even when it was compiled. 10965 Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c, 10966 src/vim9execute.c 10967 10968 Patch 8.2.1712 10969 Problem: Vim9: leaking memory when calling a lambda. 10970 Solution: Decrement function reference from ISN_DCALL. 10971 Files: src/vim9compile.c, src/userfunc.c, src/proto/userfunc.pro 10972 10973 Patch 8.2.1713 10974 Problem: Motif GUI: crash when setting menu colors. (Andrzej Bylicki) 10975 Solution: Add {} to make "n" incremented correctly. (closes #6989, 10976 closes #5948) 10977 Files: src/gui_motif.c 10978 10979 Patch 8.2.1714 10980 Problem: Text properties corrupted with substitute command. (Filipe 10981 Brandenburger) 10982 Solution: Get the changed line again after using u_savesub(). (closes #6984) 10983 Files: src/textprop.c, src/testdir/test_textprop.vim 10984 10985 Patch 8.2.1715 10986 Problem: Motif GUI: commented out code missed {}. 10987 Solution: Add {} and reenable the code. (similar to #6989) 10988 Files: src/gui_motif.c 10989 10990 Patch 8.2.1716 10991 Problem: Options window has duplicate translations. 10992 Solution: Make one entry for "global or local to buffer". Fix wrong text. 10993 (closes #6983) 10994 Files: runtime/optwin.vim 10995 10996 Patch 8.2.1717 10997 Problem: MS-Windows installer doesn't have Russian translations. 10998 Solution: Add Russian translations. (closes #6985) 10999 Files: nsis/gvim.nsi, nsis/lang/russian.nsi 11000 11001 Patch 8.2.1718 11002 Problem: Vim9: :def function disallows "firstline" and "lastline" argument 11003 names for no good reason. 11004 Solution: Don't check the arguments for a :def function. (closes #6986) 11005 Files: src/userfunc.c, src/testdir/test_vim9_func.vim 11006 11007 Patch 8.2.1719 11008 Problem: Vim9: no error if comma is missing in between arguments. 11009 Solution: Give an error message. 11010 Files: src/errors.h, src/vim9compile.c, src/testdir/test_vim9_expr.vim 11011 11012 Patch 8.2.1720 11013 Problem: Vim9: memory leak with heredoc that isn't executed. (Dominique 11014 Pellé) 11015 Solution: Don't clear the list items. (closes #6991) 11016 Files: src/vim9compile.c, src/testdir/test_vim9_script.vim 11017 11018 Patch 8.2.1721 11019 Problem: MS-Windows installer doesn't work. 11020 Solution: Write "Russian" in ASCII. (closes #6995, see #6985). 11021 Files: nsis/lang/russian.nsi 11022 11023 Patch 8.2.1722 11024 Problem: Vim9: cannot assign a lambda to a variable of type function. 11025 Solution: Allow for assigning a partial to a variable of type function. 11026 (Naruhiko Nishino, closes #6996) 11027 Files: src/vim9type.c, src/testdir/test_vim9_expr.vim 11028 11029 Patch 8.2.1723 11030 Problem: Vim9: Variable argument name cannot start with underscore. 11031 Solution: Use eval_isnamec1(). (closes #6988) 11032 Files: src/userfunc.c, src/testdir/test_vim9_func.vim 11033 11034 Patch 8.2.1724 11035 Problem: Vim9: assignment tests spread out. 11036 Solution: Create new test file for assignment tests. 11037 Files: src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_cmd.vim, 11038 src/testdir/test_vim9_script.vim, src/testdir/test_vim9_expr.vim, 11039 src/testdir/Make_all.mak 11040 11041 Patch 8.2.1725 11042 Problem: Not all Pascal files are recognized. 11043 Solution: Add filetype patterns. (Doug Kearns) 11044 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 11045 11046 Patch 8.2.1726 11047 Problem: Fuzzy matching only works on strings. 11048 Solution: Support passing a dict. Add matchfuzzypos() to also get the match 11049 positions. (Yegappan Lakshmanan, closes #6947) 11050 Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c, 11051 src/proto/search.pro, src/search.c, src/testdir/Make_all.mak, 11052 src/testdir/test_functions.vim, src/testdir/test_matchfuzzy.vim 11053 11054 Patch 8.2.1727 11055 Problem: A popup created with "cursorline" will ignore "firstline". 11056 Solution: When both "cursorline" and "firstline" are present put the cursor 11057 on "firstline". (closes #7000) Add the "winid" argument to 11058 getcurpos(). 11059 Files: runtime/doc/eval.txt, src/evalfunc.c, src/popupwin.c, 11060 src/evalwindow.c, src/testdir/test_popupwin.vim, 11061 src/testdir/test_functions.vim 11062 11063 Patch 8.2.1728 11064 Problem: Compiler warning for using uninitialized variable. (John Marriott) 11065 Solution: Initialize "neighbor". 11066 Files: src/search.c 11067 11068 Patch 8.2.1729 11069 Problem: Endless loop when ":normal" feeds popup window filter. 11070 Solution: Add the ex_normal_busy_done flag. 11071 Files: src/globals.h, src/getchar.c, src/evalfunc.c, src/ex_docmd.c, 11072 src/menu.c, src/testdir/test_popupwin.vim, 11073 src/testdir/dumps/Test_popupwin_normal_cmd.dump 11074 11075 Patch 8.2.1730 11076 Problem: Vim9: cannot use member of unknown type. 11077 Solution: When type is unknown use "any". (closes #6997) 11078 Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim 11079 11080 Patch 8.2.1731 11081 Problem: Vim9: cannot use += to append to empty NULL list. 11082 Solution: Copy the list instead of extending it. (closes #6998) 11083 Files: src/eval.c, src/testdir/test_vim9_assign.vim 11084 11085 Patch 8.2.1732 11086 Problem: Stuck when win_execute() for a popup causes an error. 11087 Solution: Disable the filter callback on error. (issue #6999) 11088 Files: src/popupwin.c, src/testdir/term_util.vim, 11089 src/testdir/test_popupwin.vim, 11090 src/testdir/dumps/Test_popupwin_win_execute.dump 11091 11092 Patch 8.2.1733 11093 Problem: Vim9: memory leaks when using nested function. 11094 Solution: Free function when compilation fails. 11095 Files: src/vim9compile.c 11096 11097 Patch 8.2.1734 11098 Problem: Vim9: cannot use a funcref for a closure twice. 11099 Solution: Instead of putting the funcref on the stack use a growarray on the 11100 execution context. 11101 Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, 11102 src/testdir/test_vim9_func.vim, 11103 src/testdir/test_vim9_disassemble.vim 11104 11105 Patch 8.2.1735 11106 Problem: Github actions appear to timeout too soon. 11107 Solution: use "timeout" instead of "ping". 11108 Files: .github/workflows/ci-windows.yaml 11109 11110 Patch 8.2.1736 11111 Problem: Failure to compile a pattern not tested much. 11112 Solution: Add tests where a pattern fails to compile. (Yegappan Lakshmanan, 11113 closes #7004) 11114 Files: src/testdir/gen_opt_test.vim, src/testdir/test_arglist.vim, 11115 src/testdir/test_autocmd.vim, src/testdir/test_buffer.vim, 11116 src/testdir/test_checkpath.vim, src/testdir/test_cmdline.vim, 11117 src/testdir/test_debugger.vim, src/testdir/test_functions.vim, 11118 src/testdir/test_history.vim, src/testdir/test_listdict.vim, 11119 src/testdir/test_options.vim, src/testdir/test_search_stat.vim, 11120 src/testdir/test_sort.vim, src/testdir/test_substitute.vim, 11121 src/testdir/test_syntax.vim, src/testdir/test_tagjump.vim, 11122 src/testdir/test_user_func.vim 11123 11124 Patch 8.2.1737 11125 Problem: Cursor line highlight in popup window is not always updated. 11126 Solution: Check if the cursor has moved. (closes #7010) 11127 Files: src/popupwin.c, src/testdir/test_popupwin.vim 11128 src/testdir/dumps/Test_popupwin_win_execute_cursorline.dump 11129 11130 Patch 8.2.1738 11131 Problem: Mac: str2float() recognizes comma instead of decimal point. 11132 Solution: Set LC_NUMERIC to "C". (closes #7003) 11133 Files: src/os_mac_conv.c 11134 11135 Patch 8.2.1739 11136 Problem: Vim9: crash when compiling a manually defined function. (Antony 11137 Scriven) 11138 Solution: Check that the script ID is positive. (closes #7012) 11139 Files: src/vim9compile.c, src/testdir/test_vim9_script.vim 11140 11141 Patch 8.2.1740 11142 Problem: Test fails without the terminal feature. 11143 Solution: Skip test if the terminal feature is not available. 11144 Files: src/testdir/test_vim9_script.vim 11145 11146 Patch 8.2.1741 11147 Problem: pathshorten() only supports using one character. 11148 Solution: Add an argument to control the length. (closes #7006) 11149 Files: runtime/doc/eval.txt, src/evalfunc.c, src/filepath.c, 11150 src/proto/filepath.pro, src/testdir/test_functions.vim 11151 11152 Patch 8.2.1742 11153 Problem: Test still fails without the terminal feature. 11154 Solution: Put check for terminal feature in separate function. 11155 Files: src/testdir/test_vim9_script.vim 11156 11157 Patch 8.2.1743 11158 Problem: Cannot build without the eval feature. 11159 Solution: Move shorten_dir outside of #ifdef. 11160 Files: src/filepath.c 11161 11162 Patch 8.2.1744 11163 Problem: Vim9: using ":const!" is weird. 11164 Solution: Use "var" - "final" - "const" like Dart. "let" still works for 11165 now. 11166 Files: runtime/doc/vim9.txt, src/ex_cmds.h, src/errors.h, src/evalvars.c, 11167 src/proto/evalvars.pro, src/cmdexpand.c, src/eval.c, 11168 src/ex_docmd.c, src/vim9compile.c, src/vim9execute.c, 11169 src/vim9script.c, src/vim.h, src/ex_cmdidxs.h, 11170 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_script.vim 11171 11172 Patch 8.2.1745 11173 Problem: Tiny version doesn't build. 11174 Solution: Add dummy ex_var() function. 11175 Files: src/ex_docmd.c 11176 11177 Patch 8.2.1746 11178 Problem: Vim9: Cannot use "fina" for "finally". (Naruhiko Nishino) 11179 Solution: Specifically check for "fina". (closes #7020) 11180 Files: src/ex_docmd.c, src/testdir/test_trycatch.vim, 11181 src/testdir/test_vim9_script.vim 11182 11183 Patch 8.2.1747 11184 Problem: Result of expand() unexpectedly depends on 'completeslash'. 11185 Solution: Temporarily reset 'completeslash'. (Yasuhiro Matsumoto, 11186 closes #7021) 11187 Files: src/evalfunc.c, src/testdir/test_ins_complete.vim 11188 11189 Patch 8.2.1748 11190 Problem: Closing split window in other tab may cause a crash. 11191 Solution: Set tp_curwin properly. (Rob Pilling, closes #7018) 11192 Files: src/window.c, src/testdir/test_winbuf_close.vim 11193 11194 Patch 8.2.1749 11195 Problem: Vim9: crash when closure fails in nested function. 11196 Solution: Handle function returns before dereferencing remaining closures. 11197 (closes #7008) 11198 Files: src/vim9execute.c, src/testdir/test_vim9_func.vim 11199 11200 Patch 8.2.1750 11201 Problem: Setting firstline with popup_setoptions() fails if cursorline is 11202 set. 11203 Solution: Use apply_options(). Update the popup before applying "zz". 11204 (closes #7010) 11205 Files: src/popupwin.c, src/proto/popupwin.pro, src/move.c, 11206 src/testdir/test_popupwin.vim, 11207 src/testdir/dumps/Test_popupwin_win_execute_cursorline.dump, 11208 src/testdir/dumps/Test_popupwin_set_firstline_1.dump, 11209 src/testdir/dumps/Test_popupwin_set_firstline_2.dump 11210 11211 Patch 8.2.1751 11212 Problem: Using 2 where bool is expected may throw an error. 11213 Solution: Make this backwards compatible. 11214 Files: src/typval.c, src/evalfunc.c, src/testdir/test_search.vim, 11215 src/testdir/test_terminal2.vim 11216 11217 Patch 8.2.1752 11218 Problem: GTK GUI: cannot map alt-? with <A-?>. (Ingo Karkat) 11219 Solution: Adjust the characters for which the shift modifier is removed. 11220 (closes #7016) Make Motif and Win32 use the same function as GTK. 11221 Files: src/misc2.c, src/gui_x11.c, src/gui_w32.c, 11222 src/testdir/test_termcodes.vim 11223 11224 Patch 8.2.1753 11225 Problem: Vim9: crash when using import at script level. 11226 Solution: Give a "not implemented yet" error. (closes #7026) 11227 Files: src/evalvars.c 11228 11229 Patch 8.2.1754 11230 Problem: Completion with spell checking not tested. 11231 Solution: Add a test case. (Dominique Pellé, closes #7024) 11232 Files: src/testdir/test_spell.vim 11233 11234 Patch 8.2.1755 11235 Problem: Vim9: crash when using invalid heredoc marker. (Dhiraj Mishra) 11236 Solution: Check for NULL list. (closes #7027) Fix comment character. 11237 Files: src/vim9compile.c, src/evalvars.c, 11238 src/testdir/test_vim9_assign.vim 11239 11240 Patch 8.2.1756 11241 Problem: Vim9: :let will soon be disallowed. 11242 Solution: Add v:disallow_let temporarily. Fix tests. 11243 Files: src/vim.h, src/errors.h, src/evalvars.c, src/vim9compile.c, 11244 src/userfunc.c, src/testdir/test_vim9_script.vim 11245 11246 Patch 8.2.1757 11247 Problem: Mac: default locale is lacking the encoding. 11248 Solution: Add ".UTF-8 to the locale. (Yee Cheng Chin, closes #7022) 11249 Files: src/os_mac_conv.c, src/testdir/test_environ.vim 11250 11251 Patch 8.2.1758 11252 Problem: Vim9: type of unmaterialized list is wrong. 11253 Solution: Use list<number>. 11254 Files: src/vim9type.c, src/testdir/test_vim9_expr.vim 11255 11256 Patch 8.2.1759 11257 Problem: Vim9: Some tests are still using :let. 11258 Solution: Change more declarations to use :var. 11259 Files: src/testdir/test_vim9_expr.vim 11260 11261 Patch 8.2.1760 11262 Problem: Vim9: crash when end marker is missing. (Dhiraj Mishra) 11263 Solution: Check for end of function lines. (closes #7031) 11264 Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim 11265 11266 Patch 8.2.1761 11267 Problem: Vim9: Some tests are still using :let. 11268 Solution: Change more declarations to use :var. 11269 Files: src/testdir/test_vim9_assign.vim, 11270 src/testdir/test_vim9_cmd.vim, 11271 src/testdir/test_vim9_disassemble.vim 11272 11273 Patch 8.2.1762 11274 Problem: When a timer uses :stopinsert Insert mode completion isn't 11275 stopped. (Stanley Chan) 11276 Solution: Call ins_compl_prep(ESC). 11277 Files: src/edit.c, src/testdir/test_ins_complete.vim, 11278 src/testdir/dumps/Test_pum_stopped_by_timer.dump 11279 11280 Patch 8.2.1763 11281 Problem: Vim9: cannot use "true" for popup window scrollbar option. 11282 Solution: use dict_get_bool(). (closes #7029) 11283 Files: src/popupwin.c, src/testdir/test_popupwin.vim 11284 11285 Patch 8.2.1764 11286 Problem: Vim9: no error when assigning to script var with wrong type. 11287 Solution: Fix off-by-one error. (closes #7028) 11288 Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim 11289 11290 Patch 8.2.1765 11291 Problem: Vim9: some tests use "var var". 11292 Solution: Use "var name". (closes #7032) 11293 Files: src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_expr.vim 11294 11295 Patch 8.2.1766 11296 Problem: Vim9: Some tests are still using :let. 11297 Solution: Change the last few declarations to use :var. 11298 Files: src/testdir/runtest.vim, src/testdir/test_vim9_assign.vim, 11299 src/testdir/test_vim9_cmd.vim, 11300 src/testdir/test_vim9_disassemble.vim, 11301 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim, 11302 src/testdir/test_vim9_script.vim, src/testdir/test_maparg.vim, 11303 src/testdir/test_popupwin.vim, src/testdir/test_textprop.vim 11304 11305 Patch 8.2.1767 11306 Problem: Vim9: test fails with python support. 11307 Solution: Use "let" in legacy function. 11308 Files: src/testdir/test_vim9_func.vim 11309 11310 Patch 8.2.1768 11311 Problem: Cannot use the help menu from a terminal window. 11312 Solution: Add ":tlnoremenu" commands. (Yee Cheng Chin, closes #7023) 11313 Files: runtime/menu.vim, src/testdir/test_gui.vim 11314 11315 Patch 8.2.1769 11316 Problem: A popup filter interferes with using :normal to move the cursor in 11317 a popup. 11318 Solution: Do not invoke the filter when ex_normal_busy is set. 11319 Files: runtime/doc/popup.txt, src/getchar.c, src/evalfunc.c, 11320 src/ex_docmd.c, src/menu.c, src/globals.h, 11321 src/testdir/test_popupwin.vim, 11322 src/testdir/dumps/Test_popupwin_normal_cmd.dump 11323 11324 Patch 8.2.1770 11325 Problem: Invalid memory use when using SpellFileMissing autocmd. 11326 Solution: Add test case. (Dominique Pellé, closes #7036) Fix using a window 11327 that was closed. 11328 Files: src/spell.c, src/testdir/test_spell.vim 11329 11330 Patch 8.2.1771 11331 Problem: synIDattr() cannot get the value of ctermul. 11332 Solution: Add the "ul" value for "what". (closes #7037) 11333 Files: runtime/doc/eval.txt, src/highlight.c, src/evalfunc.c, 11334 src/testdir/test_highlight.vim 11335 11336 Patch 8.2.1772 11337 Problem: Cannot use CTRL-W <Down> to move out of a terminal window. 11338 Solution: Use special_to_buf() instead of mb_char2bytes(). (closes #7045) 11339 Files: src/terminal.c, src/testdir/test_terminal.vim 11340 11341 Patch 8.2.1773 11342 Problem: Crash when calling mapset() with a list as first argument. 11343 Solution: Check for NULL. (closes #7040) 11344 Files: src/map.c, src/testdir/test_maparg.vim 11345 11346 Patch 8.2.1774 11347 Problem: GTK: hang when forced to exit. 11348 Solution: Do not clean up "mainwin" when really_exiting is set. 11349 (Zdenek Dohnal, closes #7042) 11350 Files: src/gui_gtk_x11.c 11351 11352 Patch 8.2.1775 11353 Problem: MS-Windows: adding a long quickfix list is slow. 11354 Solution: Shorten the buffer name only for the first entry. (Yegappan 11355 Lakshmanan, closes #7039, closes #7033) 11356 Files: src/quickfix.c, src/testdir/test_quickfix.vim 11357 11358 Patch 8.2.1776 11359 Problem: Filetype.vim may be loaded twice. 11360 Solution: Do "syntax on" after "filetype on". (Adam Stankiewicz, 11361 closes #7049) 11362 Files: runtime/defaults.vim 11363 11364 Patch 8.2.1777 11365 Problem: Vim9: some assignment tests in the wrong file. 11366 Solution: Move assignment tests to test_vim9_assign. 11367 Files: src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_script.vim 11368 11369 Patch 8.2.1778 11370 Problem: Vim9: returning from a partial call clears outer context, causing 11371 a crash. 11372 Solution: Put the outer context in the stack frame. (closes #7044) 11373 Files: src/vim9execute.c, src/vim9.h, src/testdir/test_vim9_func.vim 11374 11375 Patch 8.2.1779 11376 Problem: Some debian changelog files are not recognized. 11377 Solution: Add */debian/changelog. (Jason Franklin) 11378 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 11379 11380 Patch 8.2.1780 11381 Problem: Statusline not updated when splitting windows. 11382 Solution: Call status_redraw_all(). (Jason Franklin, closes #5496) 11383 Files: src/window.c, src/testdir/test_statusline.vim 11384 11385 Patch 8.2.1781 11386 Problem: Writing to prompt buffer interferes with insert mode. 11387 Solution: Use win_enter() instead of just setting "curwin". (Ben Jackson, 11388 closes #7035) 11389 Files: src/autocmd.c, src/testdir/test_prompt_buffer.vim 11390 11391 Patch 8.2.1782 11392 Problem: Vim9: cannot pass boolean to mapset(). 11393 Solution: Use get_tv_bool(). (closes #7041) 11394 Files: src/map.c, src/testdir/test_vim9_func.vim 11395 11396 Patch 8.2.1783 (after 8.2.1781) 11397 Problem: Try-catch test fails. 11398 Solution: Don't call win_enter(), only call entering_window(). 11399 Files: src/autocmd.c, src/window.c, src/proto/window.pro, 11400 src/testdir/runtest.vim 11401 11402 Patch 8.2.1784 11403 Problem: commits are not scanned for security problems 11404 Solution: Enable Github code scanning. (Christian Brabandt, closes #7057) 11405 Files: .github/workflows/codeql-analysis.yml 11406 11407 Patch 8.2.1785 11408 Problem: Compiler warning for strcpy() out of bounds. (Christian Brabandt) 11409 Solution: use memmove() instead. 11410 Files: src/dict.c 11411 11412 Patch 8.2.1786 11413 Problem: Various Normal mode commands not fully tested. 11414 Solution: Add more tests. (Yegappan Lakshmanan, closes #7059) 11415 Files: src/testdir/test_normal.vim, src/testdir/test_regexp_utf8.vim, 11416 src/testdir/test_registers.vim, src/testdir/test_spellfile.vim, 11417 src/testdir/test_tagjump.vim, src/testdir/test_visual.vim 11418 11419 Patch 8.2.1787 11420 Problem: Crash with 'incsearch' and very long line. 11421 Solution: Check whether regprog becomes NULL. (closes #7063) 11422 Files: src/search.c, src/testdir/test_search.vim 11423 11424 Patch 8.2.1788 11425 Problem: Vim9: still allows :let for declarations. 11426 Solution: Make the default for v:disallow_let one. It can still be set to 11427 zero to allow for using :let. 11428 Files: src/evalvars.c, src/testdir/runtest.vim 11429 11430 Patch 8.2.1789 11431 Problem: Vim9: crash with invalid list constant. (Dhiraj Mishra) 11432 Solution: Return FAIL when compiling the list fails. (closes #7066) 11433 Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_expr.vim 11434 11435 Patch 8.2.1790 11436 Problem: MS-Windows with Python: crash when executed from Vifm. 11437 Solution: Use NUL instead of CONIN. (Ken Takata, closes #7061, closes #7053) 11438 Files: src/if_python3.c 11439 11440 Patch 8.2.1791 11441 Problem: Vim9: debugger test fails. 11442 Solution: Use "var" instead of "let". 11443 Files: src/testdir/test_debugger.vim 11444 11445 Patch 8.2.1792 11446 Problem: Configure does not recognize Racket 6.1+. 11447 Solution: Add a check for "rktio". (closes #7062) 11448 Files: src/configure.ac, src/auto/configure 11449 11450 Patch 8.2.1793 11451 Problem: Not consistently giving the "is a directory" warning. 11452 Solution: Adjust check for illegal file name and directory. (Yasuhiro 11453 Matsumoto, closes #7067) 11454 Files: src/fileio.c, src/testdir/test_edit.vim 11455 11456 Patch 8.2.1794 11457 Problem: No falsy Coalescing operator. 11458 Solution: Add the "??" operator. Fix mistake with function argument count. 11459 Files: runtime/doc/eval.txt, src/eval.c, src/vim9compile.c, 11460 src/vim9type.c, src/testdir/test_expr.vim, 11461 src/testdir/test_vim9_expr.vim, 11462 src/testdir/test_vim9_disassemble.vim 11463 11464 Patch 8.2.1795 11465 Problem: Vim9: operators && and || have a confusing result. 11466 Solution: Make the result a boolean. 11467 Files: runtime/doc/vim9.txt, src/eval.c, src/vim9compile.c, 11468 src/vim9execute.c, src/vim9type.c, src/structs.h, src/vim9.h, 11469 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_assign.vim, 11470 src/testdir/test_vim9_cmd.vim, 11471 src/testdir/test_vim9_disassemble.vim 11472 11473 Patch 8.2.1796 11474 Problem: Vim9: invalid memory access with weird function name. (Dhiraj 11475 Mishra) 11476 Solution: Check the name is valid. Add a test. 11477 Files: src/userfunc.c, src/testdir/test_vim9_func.vim 11478 11479 Patch 8.2.1797 11480 Problem: Vim9: some parts of the code not tested. 11481 Solution: Add a few tests. 11482 Files: src/testdir/test_vim9_func.vim 11483 11484 Patch 8.2.1798 11485 Problem: Vim9: ternary operator condition is too permissive. 11486 Solution: Use tv_get_bool_chk(). 11487 Files: runtime/doc/vim9.txt, src/eval.c, src/vim9compile.c, 11488 src/vim9execute.c, src/testdir/vim9.vim, 11489 src/testdir/test_expr.vim, src/testdir/test_vim9_expr.vim, 11490 src/testdir/test_vim9_cmd.vim, src/testdir/test_vim9_script.vim 11491 11492 Patch 8.2.1799 11493 Problem: Some Normal mode commands not fully tested. 11494 Solution: Add a few more tests. (Yegappan Lakshmanan, closes #7073) 11495 Files: src/testdir/test_gf.vim, src/testdir/test_goto.vim, 11496 src/testdir/test_normal.vim, src/testdir/test_registers.vim, 11497 src/testdir/test_startup.vim, src/testdir/test_tabpage.vim, 11498 src/testdir/test_visual.vim 11499 11500 Patch 8.2.1800 11501 Problem: Vim9: memory leak if "if" condition is invalid. 11502 Solution: Free ppconst earlier. 11503 Files: src/vim9compile.c 11504 11505 Patch 8.2.1801 11506 Problem: Undo file not found when using ":args" or ":next". 11507 Solution: Handle like editing another file. (closes #7072) 11508 Files: src/ex_cmds.c, src/testdir/test_undo.vim 11509 11510 Patch 8.2.1802 11511 Problem: Vim9: crash with unterminated dict. (Dhiraj Mishra) 11512 Solution: Return empty string instead of NULL. (closes #7084) 11513 Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim 11514 11515 Patch 8.2.1803 11516 Problem: A few failures are not tested. 11517 Solution: Test a few failures. (Dominique Pellé, closes #7075) 11518 Files: src/testdir/test_arglist.vim, src/testdir/test_cmdline.vim, 11519 src/testdir/test_json.vim, src/testdir/test_listdict.vim 11520 11521 Patch 8.2.1804 11522 Problem: resolve('/') returns an empty string. 11523 Solution: Don't remove single slash. (closes #7074) 11524 Files: src/filepath.c, src/testdir/test_functions.vim 11525 11526 Patch 8.2.1805 11527 Problem: Unix: terminal mode changed when using ":shell". 11528 Solution: Avoid calling settmode() when not needed. (issue #7079) 11529 Files: src/os_unix.c 11530 11531 Patch 8.2.1806 11532 Problem: MS-Windows with Python: Vim freezes after import command. 11533 Solution: Use either "NUL" or "CONIN$" when reopening stdin. (Yasuhiro 11534 Matsumoto, closes #7083) 11535 Files: src/if_python3.c 11536 11537 Patch 8.2.1807 11538 Problem: Can use :help in a terminal popup window. 11539 Solution: Give an error. (closes #7088) 11540 Files: src/help.c, src/testdir/test_popupwin.vim 11541 11542 Patch 8.2.1808 11543 Problem: No test coverage for ":spelldump!". 11544 Solution: Add a test. (Dominique Pellé, closes #7089) 11545 Files: src/testdir/test_spell.vim 11546 11547 Patch 8.2.1809 11548 Problem: Mapping some keys with Ctrl does not work properly. 11549 Solution: For terminal, GTK and Motif handle "@", "^" and "_" codes. 11550 Files: src/misc2.c, src/proto/misc2.pro, src/term.c, src/gui_gtk_x11.c, 11551 src/gui_x11.c, src/testdir/test_termcodes.vim 11552 11553 Patch 8.2.1810 11554 Problem: Some code in normal.c not covered by tests. 11555 Solution: Add normal mode tests. (Yegappan Lakshmanan, closes #7086) 11556 Files: src/testdir/test_charsearch.vim, src/testdir/test_normal.vim 11557 11558 Patch 8.2.1811 11559 Problem: Mapping Ctrl-key does not work for '{', '}' and '|'. 11560 Solution: Remove the shift modifier. (closes #6457) 11561 Files: runtime/doc/map.txt, src/misc2.c, src/testdir/test_termcodes.vim 11562 11563 Patch 8.2.1812 11564 Problem: Vim9: nested closure throws an internal error. 11565 Solution: Do not skip a local variable with a partial. (closes #7065) 11566 Files: src/vim9execute.c, src/testdir/test_vim9_func.vim 11567 11568 Patch 8.2.1813 11569 Problem: Vim9: can assign wrong type to script dict. (Christian J. Robinson) 11570 Solution: Check the type if known. 11571 Files: src/structs.h, src/eval.c, src/vim9script.c, 11572 src/proto/vim9script.pro, src/proto/evalvars.pro, 11573 src/testdir/test_vim9_script.vim 11574 11575 Patch 8.2.1814 (after 8.2.1813) 11576 Problem: Missing change to remove "static". 11577 Solution: Add the change. 11578 Files: src/evalvars.c 11579 11580 Patch 8.2.1815 11581 Problem: Vim9: memory leak when using function reference. 11582 Solution: Temporarily disable the test. 11583 Files: src/testdir/test_vim9_disassemble.vim 11584 11585 Patch 8.2.1816 11586 Problem: Vim9: another memory leak when using function reference. 11587 Solution: Temporarily disable the tests. 11588 Files: src/testdir/test_vim9_func.vim 11589 11590 Patch 8.2.1817 11591 Problem: Vim9: wrong instruction when reusing a local variable spot. 11592 Solution: Clear a newly allocated local variable. (closes #7080) 11593 Files: src/vim9compile.c, src/testdir/test_vim9_func.vim 11594 11595 Patch 8.2.1818 11596 Problem: SE Linux: deprecation warning for security_context_t. 11597 Solution: Use "char *" instead. (James McCoy, closes #7093) 11598 Files: src/os_unix.c 11599 11600 Patch 8.2.1819 11601 Problem: Vim9: Memory leak when using a closure. 11602 Solution: Compute the minimal refcount in the funcstack. Reenable disabled 11603 tests. 11604 Files: src/vim9execute.c, src/proto/vim9execute.pro, src/structs.h, 11605 src/eval.c, src/testdir/test_vim9_disassemble.vim, 11606 src/testdir/test_vim9_func.vim 11607 11608 Patch 8.2.1820 11609 Problem: Vim9: crash when error happens in timer callback. 11610 Solution: Check that current_exception is not NULL. (closes #7100) 11611 Files: src/ex_docmd.c 11612 11613 Patch 8.2.1821 11614 Problem: Vim9: concatenating to a NULL list doesn't work. 11615 Solution: Handle a NULL list like an empty list. (closes #7064) 11616 Files: src/list.c, src/testdir/test_vim9_assign.vim 11617 11618 Patch 8.2.1822 (after 8.2.1821) 11619 Problem: List test doesn't fail. 11620 Solution: Adjust the test for NULL list handling. 11621 Files: src/testdir/test_listdict.vim 11622 11623 Patch 8.2.1823 11624 Problem: "gN" does not select the matched string. 11625 Solution: Move the cursor to the start of the match. 11626 Files: src/search.c, src/testdir/test_gn.vim 11627 11628 Patch 8.2.1824 11629 Problem: Vim9: variables at the script level escape their scope. 11630 Solution: When leaving a scope remove variables declared in it. 11631 Files: src/structs.h, src/ex_eval.c, src/evalvars.c, 11632 src/proto/evalvars.pro, src/testdir/test_vim9_script.vim 11633 11634 Patch 8.2.1825 11635 Problem: Vim9: accessing freed memory. 11636 Solution: Clear sv_name when the variable is deleted. 11637 Files: src/ex_eval.c 11638 11639 Patch 8.2.1826 11640 Problem: Vim9: cannot use a {} block at script level. 11641 Solution: Recognize a {} block. 11642 Files: src/ex_docmd.c, src/ex_cmds.h, src/ex_cmdidxs.h, src/ex_eval.c, 11643 src/structs.h, src/proto/ex_eval.pro, src/errors.h, 11644 src/testdir/test_vim9_script.vim 11645 11646 Patch 8.2.1827 11647 Problem: Filetype detection does not test enough file names. 11648 Solution: Test more file names. (Adam Stankiewicz, closes #7099) 11649 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 11650 11651 Patch 8.2.1828 11652 Problem: Build failure without the +eval feature. 11653 Solution: Add dummies for ex_block and ex_endblock. 11654 Files: src/ex_docmd.c 11655 11656 Patch 8.2.1829 11657 Problem: Warnings when executing Github actions. 11658 Solution: Use another method to set environment variables. (Ken Takata, 11659 closes #7107) 11660 Files: .github/workflows/ci-windows.yaml 11661 11662 Patch 8.2.1830 11663 Problem: MS-Windows: Python3 issue with stdin. 11664 Solution: Check if stdin is readable. (Ken Takata, closes #7106) 11665 Files: src/if_python3.c 11666 11667 Patch 8.2.1831 11668 Problem: File missing from distribution. 11669 Solution: Add the github code analyses file. 11670 Files: Filelist 11671 11672 Patch 8.2.1832 11673 Problem: readdirex() error is displayed as a message. (Yegappan Lakshmanan) 11674 Solution: Use semsg() instead of smsg(). 11675 Files: src/fileio.c, src/testdir/test_functions.vim 11676 11677 Patch 8.2.1833 11678 Problem: When reading from stdin dup() is called twice. 11679 Solution: Remove the dup() in main.c. (Ken Takata, closes #7110) 11680 Files: src/main.c 11681 11682 Patch 8.2.1834 11683 Problem: PyEval_InitThreads() is deprecated in Python 3.9. 11684 Solution: Do not call PyEval_InitThreads in Python 3.9 and later. (Ken 11685 Takata, closes #7113) Avoid warnings for functions. 11686 Files: src/if_python3.c, src/if_py_both.h 11687 11688 Patch 8.2.1835 11689 Problem: ":help ??" finds the "!!" tag. 11690 Solution: Do not translate "?" into ".". (Naruhiko Nishino, closes #7114, 11691 closes #7115) 11692 Files: src/help.c, src/testdir/test_help_tagjump.vim 11693 11694 Patch 8.2.1836 11695 Problem: Autocmd test fails on pacifist systems. 11696 Solution: Check that /bin/kill exists. (James McCoy, closes #7117) 11697 Tune the timing, make the autocmd test run faster. 11698 Files: src/testdir/test_autocmd.vim 11699 11700 Patch 8.2.1837 11701 Problem: Using "gn" after "gN" does not work. 11702 Solution: Extend the other end of the Visual area. (closes #7109) 11703 Files: src/search.c, src/testdir/test_gn.vim 11704 11705 Patch 8.2.1838 11706 Problem: Vim9: cannot insert a comment line in an expression. 11707 Solution: Skip comment lines at the script level. (closes #7111) 11708 Files: src/eval.c, src/testdir/test_vim9_expr.vim 11709 11710 Patch 8.2.1839 11711 Problem: Vim9: memory leaks reported in assign test. 11712 Solution: Move the failing job_start() call to separate test files, it 11713 causes false leak reports. 11714 Files: src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_fails.vim, 11715 src/testdir/Make_all.mak 11716 11717 Patch 8.2.1840 11718 Problem: Vim9: error message is not clear about compilation error. 11719 Solution: Say "compiling" instead of "processing". 11720 Files: src/vim9compile.c, src/message.c, src/globals.h, 11721 src/testdir/test_vim9_func.vim 11722 11723 Patch 8.2.1841 11724 Problem: Vim9: test for compilation error fails in normal build. 11725 Solution: Invoke CheckRunVimInTerminal in a separate function. 11726 Files: src/testdir/test_vim9_func.vim 11727 11728 Patch 8.2.1842 11729 Problem: Crash when USE_FNAME_CASE is defined and using :browse. 11730 Solution: Don't use read-only memory for ".". (Yegappan Lakshmanan, 11731 closes #7123) 11732 Files: src/ex_cmds.c, src/ex_docmd.c, src/testdir/test_edit.vim 11733 11734 Patch 8.2.1843 11735 Problem: Netbeans: with huge buffer number memory allocation may fail. 11736 Solution: Check for size overflow. 11737 Files: src/netbeans.c 11738 11739 Patch 8.2.1844 11740 Problem: Using "q" at the more prompt doesn't stop a long message. 11741 Solution: Check for "got_int". (closes #7122) 11742 Files: src/message.c, src/testdir/test_messages.vim, 11743 src/testdir/dumps/Test_quit_long_message.dump 11744 11745 Patch 8.2.1845 11746 Problem: Vim9: function defined in a block can't use variables defined in 11747 that block. 11748 Solution: First step: Make a second hashtab that holds all script variables, 11749 also block-local ones, with more information. 11750 Files: src/structs.h, src/evalvars.c, src/ex_eval.c, src/vim9script.c, 11751 src/proto/vim9script.pro, src/scriptfile.c 11752 11753 Patch 8.2.1846 11754 Problem: Vim9: variables declared in a local block are not found in 11755 when a function is compiled. 11756 Solution: Look for script variables in sn_all_vars. 11757 Files: src/structs.h, src/vim9compile.c, src/proto/vim9compile.pro, 11758 src/userfunc.c, src/proto/userfunc.pro, src/ex_eval.c, 11759 src/vim9script.c, src/proto/vim9script.pro, src/vim9execute.c, 11760 src/testdir/test_vim9_script.vim 11761 11762 Patch 8.2.1847 11763 Problem: Vim9: using negative value for unsigned type. 11764 Solution: Use zero instead of -1. 11765 Files: src/vim9compile.c 11766 11767 Patch 8.2.1848 11768 Problem: Crash when passing a NULL string or list to popup_settext(). 11769 Solution: Check for NULL pointers. (closes #7132) 11770 Files: src/popupwin.c, src/testdir/test_popupwin.vim 11771 11772 Patch 8.2.1849 11773 Problem: Vim9: garbage collection frees block-local variables. 11774 Solution: Mark all script variables as used. 11775 Files: src/evalvars.c, src/testdir/test_vim9_script.vim 11776 11777 Patch 8.2.1850 11778 Problem: "vat" does not select tags correctly over line break. 11779 Solution: Adjust the search pattern. (Aufar Gilbran, closes #7136) 11780 Files: src/textobject.c, src/testdir/test_textobjects.vim 11781 11782 Patch 8.2.1851 11783 Problem: Vim9: "!" followed by space incorrectly used. 11784 Solution: Skip over trailing spaces. (closes #7131) 11785 Files: src/eval.c, src/vim9compile.c, src/testdir/test_vim9_expr.vim 11786 11787 Patch 8.2.1852 11788 Problem: map() returning zero for NULL list is unexpected. 11789 Solution: Return the empty list. (closes #7133) 11790 Files: src/list.c, src/testdir/test_filter_map.vim, 11791 src/testdir/test_blob.vim 11792 11793 Patch 8.2.1853 11794 Problem: "to_f" is recognized at "topleft" modifier. 11795 Solution: Do not recognize modifier when "_" follows. (closes #7019) 11796 Files: src/ex_docmd.c, src/testdir/test_vim9_assign.vim 11797 11798 Patch 8.2.1854 11799 Problem: Vim9: crash when throwing exception for NULL string. (Dhiraj 11800 Mishra) 11801 Solution: Handle NULL string like empty string. (closes #7139) 11802 Files: src/vim9execute.c, src/errors.h, src/testdir/test_vim9_script.vim 11803 11804 Patch 8.2.1855 11805 Problem: Vim9: get error message when nothing is wrong. 11806 Solution: Check called_emsg instead of did_emsg. (closes #7143) 11807 Files: src/vim9compile.c, src/vim9execute.c, src/errors.h 11808 11809 Patch 8.2.1856 11810 Problem: "2resize" uses size of current window. (Daniel Steinberg) 11811 Solution: Use size of resized window. (Yasuhiro Matsumoto, closes #7152) 11812 Files: src/ex_docmd.c, src/testdir/test_window_cmd.vim 11813 11814 Patch 8.2.1857 11815 Problem: Vim9: using job_status() on an unused var gives an error. 11816 Solution: Return "fail". (closes #7158) 11817 Files: src/job.c, src/testdir/test_vim9_assign.vim 11818 11819 Patch 8.2.1858 11820 Problem: Vim9: filter functions return number instead of bool. 11821 Solution: Return v:true instead of one. (closes #7144) 11822 Files: src/popupwin.c, src/evalfunc.c, src/testdir/test_vim9_func.vim 11823 11824 Patch 8.2.1859 11825 Problem: Vim9: crash in unpack assignment. 11826 Solution: Make sure an error message is turned into an exception. 11827 (closes #7159) 11828 Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim, 11829 src/testdir/test_vim9_script.vim 11830 11831 Patch 8.2.1860 11832 Problem: Vim9: memory leak when throwing empty string. 11833 Solution: Free the empty string. 11834 Files: src/vim9execute.c 11835 11836 Patch 8.2.1861 11837 Problem: Vim9: no specific error when parsing lambda fails. 11838 Solution: Also give syntax errors when not evaluating. (closes #7154) 11839 Files: src/dict.c, src/testdir/test_vim9_expr.vim 11840 11841 Patch 8.2.1862 11842 Problem: vim9: memory leak when compiling lambda fails. 11843 Solution: Call clear_evalarg(). 11844 Files: src/vim9compile.c 11845 11846 Patch 8.2.1863 11847 Problem: Json code not sufficiently tested. 11848 Solution: Add more test cases. (Dominique Pellé, closes #7166) 11849 Files: src/testdir/test_json.vim 11850 11851 Patch 8.2.1864 11852 Problem: Vim9: no error for wrong list type. 11853 Solution: Add flag to indicate a constant. (closes #7160) 11854 Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim 11855 11856 Patch 8.2.1865 11857 Problem: Vim9: add() does not check type of argument. 11858 Solution: Inline the add() call. (closes #7160) 11859 Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/errors.h, 11860 src/testdir/test_vim9_func.vim, 11861 src/testdir/test_vim9_disassemble.vim 11862 11863 Patch 8.2.1866 11864 Problem: Vim9: appending to pushed blob gives wrong result. 11865 Solution: Set ga_maxlen when copying a blob. 11866 Files: src/blob.c, src/testdir/test_vim9_func.vim 11867 11868 Patch 8.2.1867 11869 Problem: Vim9: argument to add() not checked for blob. 11870 Solution: Add the BLOBAPPEND instruction. 11871 Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/errors.h, 11872 src/testdir/test_vim9_func.vim, 11873 src/testdir/test_vim9_disassemble.vim 11874 11875 Patch 8.2.1868 11876 Problem: Vim9: no error for missing space after comma in dict. 11877 Solution: Check for white space. (closes #6672) 11878 Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim 11879 11880 Patch 8.2.1869 11881 Problem: Vim9: memory leak when using add(). 11882 Solution: Free the added item. 11883 Files: src/vim9execute.c 11884 11885 Patch 8.2.1870 11886 Problem: Vim9: no need to keep all script variables. 11887 Solution: Only keep script variables when a function was defined that could 11888 use them. Fix freeing static string on exit. 11889 Files: src/vim9script.c, src/proto/vim9script.pro, src/structs.h, 11890 src/ex_eval.c, src/userfunc.c, src/testdir/test_vim9_script.vim 11891 11892 Patch 8.2.1871 11893 Problem: Using %v in 'errorformat' may fail before %Z. 11894 Solution: Set qf_viscol only when qf_col is set. (closes #7169) 11895 Files: src/quickfix.c, src/testdir/test_quickfix.vim 11896 11897 Patch 8.2.1872 11898 Problem: Matchfuzzy() does not prefer sequential matches. 11899 Solution: Give sequential matches a higher bonus. (Christian Brabandt, 11900 closes #7140) 11901 Files: src/search.c, src/testdir/test_matchfuzzy.vim 11902 11903 Patch 8.2.1873 11904 Problem: Vim9: missing white space when using <f-args>. 11905 Solution: Add spaces. (Christian J. Robinson) 11906 Files: src/usercmd.c, src/testdir/test_vim9_cmd.vim 11907 11908 Patch 8.2.1874 11909 Problem: Can't do something just before leaving Insert mode. 11910 Solution: Add the InsertLeavePre autocommand event. (closes #7177) 11911 Files: runtime/doc/autocmd.txt, src/edit.c, src/vim.h, 11912 src/autocmd.c, src/testdir/test_edit.vim 11913 11914 Patch 8.2.1875 11915 Problem: Warning when building GTK gui. 11916 Solution: Add missing function parameter. 11917 Files: src/gui_gtk_f.c 11918 11919 Patch 8.2.1876 11920 Problem: Vim9: argument types for builtin functions are not checked at 11921 compile time. 11922 Solution: Add an argument type checking mechanism. Implement type checks for 11923 one function. 11924 Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9compile.c, 11925 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_builtin.vim, 11926 src/testdir/Make_all.mak 11927 11928 Patch 8.2.1877 (after 8.2.1876) 11929 Problem: Test for function list fails. 11930 Solution: Move "obsolete" comments one line up. 11931 Files: src/evalfunc.c 11932 11933 Patch 8.2.1878 11934 Problem: GTK: error for redefining function. (Tony Mechelynck) 11935 Solution: Remove "gtk_" prefix from local functions and prepend "gui_" to 11936 global functions. 11937 Files: src/gui_gtk_f.c, src/gui_gtk_f.h, src/gui_gtk.c, src/gui_gtk_x11.c 11938 11939 Patch 8.2.1879 11940 Problem: Vim9: argument types of insert() not checked when compiling. 11941 Solution: Add argument type checks for insert(). 11942 Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9compile.c, 11943 src/testdir/test_vim9_builtin.vim 11944 11945 Patch 8.2.1880 11946 Problem: Vim9: Asan complains about adding zero to NULL. 11947 Solution: Check for argument count first. 11948 Files: src/vim9compile.c 11949 11950 Patch 8.2.1881 11951 Problem: Cannot build with GTK3. 11952 Solution: Adjust form functions. 11953 Files: src/gui_gtk_f.c 11954 11955 Patch 8.2.1882 11956 Problem: Vim9: v:disallow_let is no longer needed. 11957 Solution: Remove v:disallow_let. 11958 Files: src/evalvars.c, src/vim.h, src/vim9compile.c 11959 11960 Patch 8.2.1883 11961 Problem: Compiler warnings when using Python. 11962 Solution: Adjust PyCFunction to also have the second argument. Use "int" 11963 return type for some functions. Insert "(void *)" to get rid of 11964 the remaining warnings. 11965 Files: src/if_py_both.h, src/if_python.c, src/if_python3.c 11966 11967 Patch 8.2.1884 11968 Problem: Compiler warning for uninitialized variable. (John Marriott) 11969 Solution: Initialize with NULL. 11970 Files: src/vim9compile.c, src/evalfunc.c 11971 11972 Patch 8.2.1885 11973 Problem: Filetype tests unnecessarily creates swap files. 11974 Solution: Disable 'swapfile'. (Ken Takata, closes #7183) 11975 Files: src/testdir/test_filetype.vim 11976 11977 Patch 8.2.1886 11978 Problem: Using ":silent!" in a popup filter has unexpected effect. 11979 Solution: Use did_emsg instead of called_emsg. (closes #7178) 11980 Files: src/popupwin.c, src/testdir/test_popupwin.vim 11981 11982 Patch 8.2.1887 11983 Problem: Github actions not optimally configured. 11984 Solution: Run CI on any pushed branches. Set fail-fast. (Ozaki Kiichi, 11985 closes #7184) 11986 Files: .github/workflows/ci-windows.yaml 11987 11988 Patch 8.2.1888 11989 Problem: Vim9: Getbufline(-1, 1, '$') gives an error. 11990 Solution: Return an empty list. (closes #7180) 11991 Files: src/evalbuffer.c, src/testdir/test_vim9_builtin.vim 11992 11993 Patch 8.2.1889 11994 Problem: Vim9: erroneous error for missing white space after {}. 11995 Solution: Don't skip over white space after {}. (issue #7167) 11996 Files: src/dict.c, src/testdir/test_vim9_expr.vim 11997 11998 Patch 8.2.1890 11999 Problem: Vim9: strange error for subtracting from a list. 12000 Solution: Check getting a number, not a string. (closes #7167) 12001 Files: src/eval.c, src/testdir/test_vim9_expr.vim 12002 12003 Patch 8.2.1891 12004 Problem: Vim9: skipping over expression doesn't handle line breaks. 12005 Solution: Pass evalarg to skip_expr(). (closes #7157) 12006 Files: src/vim9compile.c, src/eval.c, src/proto/eval.pro, src/ex_docmd.c, 12007 src/misc1.c, src/testdir/test_vim9_cmd.vim 12008 12009 Patch 8.2.1892 12010 Problem: Valgrind warns for using uninitialized access in tests. 12011 Solution: Fix condition for breaking out of loop. (Dominique Pellé, 12012 closes #7187) 12013 Files: src/terminal.c 12014 12015 Patch 8.2.1893 12016 Problem: Fuzzy matching does not support multiple words. 12017 Solution: Add support for matching white space separated words. (Yegappan 12018 Lakshmanan, closes #7163) 12019 Files: runtime/doc/eval.txt, src/search.c, 12020 src/testdir/test_matchfuzzy.vim 12021 12022 Patch 8.2.1894 12023 Problem: Vim9: command modifiers are not supported. 12024 Solution: Support "silent" and "silent!". 12025 Files: src/structs.h, src/vim9compile.c, src/vim9.h, src/vim9execute.c, 12026 src/evalvars.c, src/testdir/test_vim9_disassemble.vim, 12027 src/testdir/test_vim9_cmd.vim 12028 12029 Patch 8.2.1895 (after 8.2.1894) 12030 Problem: Vim9: silent command modifier test fails. 12031 Solution: Add missing changes. 12032 Files: src/ex_docmd.c 12033 12034 Patch 8.2.1896 12035 Problem: Valgrind warns for using uninitialized memory. 12036 Solution: NUL terminate the SmcOpenConnection() error message. (Dominique 12037 Pellé, closes #7194) 12038 Files: src/os_unix.c 12039 12040 Patch 8.2.1897 12041 Problem: Command modifiers are saved and set inconsistently. 12042 Solution: Separate parsing and applying command modifiers. Save values in 12043 cmdmod_T. 12044 Files: src/structs.h, src/ex_docmd.c, src/proto/ex_docmd.pro, 12045 src/ex_cmds.h, src/vim9compile.c 12046 12047 Patch 8.2.1898 12048 Problem: Command modifier parsing always uses global cmdmod. 12049 Solution: Pass in cmdmod_T to use. Rename struct fields consistently. 12050 Files: src/structs.h, src/arglist.c, src/buffer.c, src/bufwrite.c, 12051 src/diff.c, src/change.c, src/cmdhist.c, src/edit.c, 12052 src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, src/ex_getln.c, 12053 src/fileio.c, src/filepath.c, src/gui.c, src/gui_gtk_x11.c, 12054 src/help.c, src/if_cscope.c, src/indent.c, src/mark.c, 12055 src/memline.c, src/message.c, src/option.c, src/ops.c, 12056 src/os_unix.c, src/quickfix.c, src/register.c, src/scriptfile.c, 12057 src/search.c, src/session.c, src/tag.c, src/terminal.c, 12058 src/textformat.c, src/usercmd.c, src/vim9compile.c, src/window.c, 12059 src/proto/ex_docmd.pro 12060 12061 Patch 8.2.1899 12062 Problem: Crash in out-of-memory situation. 12063 Solution: Bail out if shell_name is NULL. (Dominique Pellé, closes #7196) 12064 Files: src/ex_cmds.c 12065 12066 Patch 8.2.1900 12067 Problem: Vim9: command modifiers do not work. 12068 Solution: Make most command modifiers work. 12069 Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, 12070 src/usercmd.c, src/proto/usercmd.pro, src/scriptfile.c, 12071 src/testdir/test_vim9_disassemble.vim 12072 12073 Patch 8.2.1901 12074 Problem: Variable completion does not work in command line window. 12075 Solution: Use the "prevwin". (closes #7198) 12076 Files: src/evalvars.c, src/testdir/test_ins_complete.vim 12077 12078 Patch 8.2.1902 12079 Problem: Default option values are changed when using :badd for an existing 12080 buffer. 12081 Solution: When calling buflist_new() pass a zero line number. (closes #7195) 12082 Files: src/ex_cmds.c, src/testdir/test_buffer.vim 12083 12084 Patch 8.2.1903 (after 8.2.1902) 12085 Problem: Buffer test fails with normal features. 12086 Solution: Use 'numberwidth' instead of 'conceallevel' in the test. 12087 Files: src/testdir/test_buffer.vim 12088 12089 Patch 8.2.1904 12090 Problem: Still using default option values after using ":badd +1". 12091 Solution: Find a window where options were set. Don't set the window when 12092 using ":badd". 12093 Files: src/buffer.c, src/ex_cmds.c, src/vim.h, 12094 src/testdir/test_buffer.vim 12095 12096 Patch 8.2.1905 12097 Problem: The wininfo list may contain stale entries. 12098 Solution: When closing a window remove any other entry where the window 12099 pointer is NULL. 12100 Files: src/buffer.c, src/proto/buffer.pro, src/window.c 12101 12102 Patch 8.2.1906 12103 Problem: Warning for signed/unsigned. 12104 Solution: Use size_t instead of int. (Mike Williams) 12105 Files: src/proto/usercmd.pro, src/usercmd.c, src/vim9execute.c 12106 12107 Patch 8.2.1907 12108 Problem: Complete_info().selected may be wrong. 12109 Solution: Update cp_number if it was never set. (issue #6945) 12110 Files: src/insexpand.c, src/testdir/test_ins_complete.vim 12111 12112 Patch 8.2.1908 12113 Problem: Lua is initialized even when not used. 12114 Solution: Put lua_init() after check for "eap->skip". (Christian Brabandt, 12115 closes #7191). Avoid compiler warnings. 12116 Files: src/if_lua.c, src/testdir/test_lua.vim 12117 12118 Patch 8.2.1909 12119 Problem: Number of status line items is limited to 80. 12120 Solution: Dynamically allocate the arrays. (Rom Grk, closes #7181) 12121 Files: runtime/doc/options.txt, src/buffer.c, src/optionstr.c, 12122 src/proto/buffer.pro, src/screen.c, src/structs.h, 12123 src/testdir/test_options.vim, src/testdir/test_statusline.vim, 12124 src/vim.h 12125 12126 Patch 8.2.1910 12127 Problem: Reading past the end of the command line. 12128 Solution: Check for NUL. (closes #7204) 12129 Files: src/ex_docmd.c, src/testdir/test_edit.vim 12130 12131 Patch 8.2.1911 12132 Problem: Tiny build fails. 12133 Solution: Add #ifdef. 12134 Files: src/insexpand.c 12135 12136 Patch 8.2.1912 12137 Problem: With Python 3.9 some tests fail. 12138 Solution: Take into account the different error message. (James McCoy, 12139 closes #7210) 12140 Files: src/testdir/test_python3.vim 12141 12142 Patch 8.2.1913 12143 Problem: GTK GUI: rounding for the cell height is too strict. 12144 Solution: Round up above 15/16 of a pixel. (closes #7203) 12145 Files: src/gui_gtk_x11.c 12146 12147 Patch 8.2.1914 12148 Problem: Vim9: cannot put line break in expression for '=' register. 12149 Solution: Pass fgetline to set_expr_line(). (closes #7209) 12150 Files: src/register.c, src/proto/register.pro, src/ex_docmd.c, 12151 src/eval.c, src/proto/eval.pro, src/misc2.c, 12152 src/testdir/test_vim9_script.vim 12153 12154 Patch 8.2.1915 12155 Problem: Vim9: error for wrong number of arguments is not useful. 12156 Solution: Mention whatever we have for the name. (closes #7208) 12157 Files: src/vim9compile.c, src/testdir/test_vim9_func.vim 12158 12159 Patch 8.2.1916 12160 Problem: Vim9: function call is aborted even when "silent!" is used. 12161 Solution: Use did_emsg instead of called_emsg. (closes #7213) 12162 Files: src/vim9execute.c, src/testdir/test_vim9_func.vim 12163 12164 Patch 8.2.1917 12165 Problem: No test for improved Man command. 12166 Solution: Test that shell arguments are properly escaped. 12167 Files: src/testdir/test_man.vim 12168 12169 Patch 8.2.1918 12170 Problem: Vim9: E1100 mentions :let. 12171 Solution: Mention "var". (closes #7207) 12172 Files: src/vim9script.c, src/errors.h 12173 12174 Patch 8.2.1919 12175 Problem: Assert_fails() setting emsg_silent changes normal execution. 12176 Solution: Use a separate flag in_assert_fails. 12177 Files: src/testing.c, src/globals.h, src/buffer.c, src/change.c, 12178 src/fileio.c, src/insexpand.c, src/message.c, src/misc1.c, 12179 src/normal.c, src/screen.c, src/term.c, src/vim9execute.c, 12180 src/testdir/test_vim9_func.vim, src/testdir/gen_opt_test.vim, 12181 src/testdir/test_autocmd.vim, src/testdir/test_mapping.vim, 12182 src/testdir/test_popup.vim, src/testdir/test_terminal.vim 12183 12184 Patch 8.2.1920 12185 Problem: Listlbr test fails when run after another test. 12186 Solution: Add test separately to list of test targets. 12187 Files: src/testdir/Make_all.mak, src/testdir/test_alot_utf8.vim 12188 12189 Patch 8.2.1921 12190 Problem: Fuzzy matching does not recognize path separators. 12191 Solution: Add a bonus for slash and backslash. (Yegappan Lakshmanan, 12192 closes #7225) 12193 Files: src/search.c, src/testdir/test_matchfuzzy.vim 12194 12195 Patch 8.2.1922 12196 Problem: Win32: scrolling doesn't work properly when part of window is 12197 off-screen. 12198 Solution: Fall back to GDI scrolling if part of the window is off-screen. 12199 Handle multi-monitor setup better. (Ken Takata, closes #7219) 12200 Files: src/gui_w32.c 12201 12202 Patch 8.2.1923 12203 Problem: Vim9: "filter" command modifier doesn't work. 12204 Solution: Check for space on char before argument. (closes #7216, 12205 closes #7222) 12206 Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim 12207 12208 Patch 8.2.1924 12209 Problem: Vim9: crash when indexing dict with NULL key. 12210 Solution: Use empty string instead of NULL. (closes #7229) Make error 12211 message more useful for empty string. 12212 Files: src/vim9execute.c, src/globals.h, src/testdir/test_vim9_expr.vim 12213 12214 Patch 8.2.1925 (after 8.2.1924) 12215 Problem: List/dict test fails. 12216 Solution: Correct expected exception. 12217 File: src/testdir/test_listdict.vim 12218 12219 Patch 8.2.1926 12220 Problem: Cannot use a space in 'spellfile'. (Filipe Brandenburger) 12221 Solution: Permit using a space. (closes #7230) 12222 Files: src/spell.c, src/testdir/gen_opt_test.vim 12223 12224 Patch 8.2.1927 12225 Problem: Vim9: get unknown error with an error in a timer function. 12226 Solution: Use did_emsg instead of called_emsg. (closes #7231) 12227 Files: src/vim9compile.c, src/vim9execute.c 12228 12229 Patch 8.2.1928 12230 Problem: Vim9: "silent!" not effective when list index is wrong. 12231 Solution: Ignore list index failure when emsg_silent is set. (closes #7232) 12232 Files: src/vim9execute.c, src/testdir/test_vim9_func.vim 12233 12234 Patch 8.2.1929 12235 Problem: MS-Windows: problem loading Perl 5.32. 12236 Solution: Define NO_THREAD_SAFE_LOCALE. (Ken Takata, closes #7234) 12237 Files: src/if_perl.xs 12238 12239 Patch 8.2.1930 12240 Problem: Wrong input if removing shift results in special key code. 12241 Solution: Handle special key codes. (closes #7189) 12242 Files: src/term.c, src/testdir/test_termcodes.vim 12243 12244 Patch 8.2.1931 12245 Problem: Vim9: arguments of extend() not checked at compile time. 12246 Solution: Add argument type checking for extend(). 12247 Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim 12248 12249 Patch 8.2.1932 12250 Problem: Compiler warnings when building with Athena GUI. 12251 Solution: Fix function signatures. 12252 Files: src/gui_at_fs.c 12253 12254 Patch 8.2.1933 12255 Problem: Cannot sort using locale ordering. 12256 Solution: Add a flag for :sort and sort() to use the locale. (Dominique 12257 Pellé, closes #7237) 12258 Files: runtime/doc/change.txt, runtime/doc/eval.txt, src/ex_cmds.c, 12259 src/list.c, src/testdir/test_sort.vim 12260 12261 Patch 8.2.1934 12262 Problem: Vim9: command modifiers in :def function not tested. 12263 Solution: Add tests. Fix using modifier before filter command. 12264 Files: src/ex_docmd.c, src/vim9compile.c, src/testdir/test_vim9_cmd.vim 12265 12266 Patch 8.2.1935 (after 8.2.1933) 12267 Problem: Sort test fails on Mac. 12268 Solution: Disable the sort test with locale on Mac. 12269 Files: src/testdir/test_sort.vim 12270 12271 Patch 8.2.1936 12272 Problem: Session sets the local 'scrolloff' value to the global value. 12273 Solution: Do not let restoring the global option value change the local 12274 value. 12275 Files: src/session.c, src/testdir/test_mksession.vim 12276 12277 Patch 8.2.1937 12278 Problem: Vim9: test for confirm modifier fails in some situations. 12279 Solution: Add a short wait. Handle failure better. 12280 Files: src/testdir/term_util.vim, src/testdir/test_vim9_cmd.vim 12281 12282 Patch 8.2.1938 12283 Problem: Wiping out a terminal buffer makes some tests fail. 12284 Solution: Do not wipe out the terminal buffer unless wanted. 12285 Files: src/testdir/term_util.vim, src/testdir/test_terminal.vim, 12286 src/testdir/test_terminal3.vim 12287 12288 Patch 8.2.1939 12289 Problem: Invalid memory access in Ex mode with global command. 12290 Solution: Make sure the cursor is on a valid line. (closes #7238) 12291 Files: src/move.c, src/testdir/test_ex_mode.vim 12292 12293 Patch 8.2.1940 12294 Problem: Vim9: browse modifier test fails on Mac. 12295 Solution: Only test when the +browse feature is available. 12296 Files: src/testdir/test_vim9_cmd.vim 12297 12298 Patch 8.2.1941 12299 Problem: Ex mode test fails on MS-Windows with GUI. 12300 Solution: Skip the test when using gvim. 12301 Files: src/testdir/test_ex_mode.vim 12302 12303 Patch 8.2.1942 12304 Problem: Insufficient test coverage for the Netbeans interface. 12305 Solution: Add more tests. Fix an uncovered bug. (Yegappan Lakshmanan, 12306 closes #7240) 12307 Files: runtime/doc/netbeans.txt, src/mouse.c, 12308 src/testdir/test_netbeans.py, src/testdir/test_netbeans.vim, 12309 src/testdir/test_quickfix.vim 12310 12311 Patch 8.2.1943 12312 Problem: Vim9: wrong error message when colon is missing. 12313 Solution: Check for a missing colon. (issue #7239) 12314 Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim 12315 12316 Patch 8.2.1944 12317 Problem: Netbeans test is flaky. 12318 Solution: Add a short delay. (Yegappan Lakshmanan, closes #7246) 12319 Files: src/testdir/test_netbeans.vim 12320 12321 Patch 8.2.1945 12322 Problem: Crash when passing NULL function to reduce(). 12323 Solution: Check for NULL pointer and give an error. (Dominique Pellé, 12324 closes #7243) 12325 Files: src/list.c, src/errors.h, src/testdir/test_listdict.vim 12326 12327 Patch 8.2.1946 12328 Problem: sort() with NULL string not tested. 12329 Solution: Add a test. use v:collate. (Dominique Pellé, closes #7247) 12330 Files: src/testdir/test_sort.vim 12331 12332 Patch 8.2.1947 12333 Problem: Crash when using "zj" without folds. (Sean Dewar) 12334 Solution: Check for at least one fold. (closes #7245) 12335 Files: src/fold.c, src/testdir/test_fold.vim 12336 12337 Patch 8.2.1948 12338 Problem: GUI: crash when handling message while closing a window. (Srinath 12339 Avadhanula) 12340 Solution: Don't handle message while closing a window. (closes #7250) 12341 Files: src/window.c, src/globals.h, src/getchar.c 12342 12343 Patch 8.2.1949 12344 Problem: Vim9: using extend() on null dict is silently ignored. 12345 Solution: Give an error message. Initialize a dict variable with an empty 12346 dictionary. (closes #7251) 12347 Files: src/errors.h, src/list.c, src/evalvars.c, 12348 src/testdir/test_vim9_assign.vim 12349 12350 Patch 8.2.1950 12351 Problem: Vim9: crash when compiling function fails when getting type. 12352 Solution: Handle NULL type. (closes #7253) 12353 Files: src/vim9type.c, src/testdir/test_vim9_expr.vim 12354 12355 Patch 8.2.1951 (after 8.2.1949) 12356 Problem: Test for list and dict fails. 12357 Solution: Adjust for using an empty list/dict for a null one. 12358 Files: src/testdir/test_listdict.vim, src/testdir/test_python2.vim, 12359 src/testdir/test_python3.vim 12360 12361 Patch 8.2.1952 12362 Problem: Vim9: crash when using a NULL dict key. 12363 Solution: Use a NULL dict key like an empty string. (closes #7249) 12364 Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim 12365 12366 Patch 8.2.1953 12367 Problem: Vim9: extra "unknown" error after other error. 12368 Solution: Restore did_emsg count after EXEC instruction. (closes #7254) 12369 Improve error message from assert_fails() 12370 Files: src/vim9execute.c, src/testing.c, 12371 src/testdir/test_vim9_script.vim, src/testdir/test_assert.vim 12372 12373 Patch 8.2.1954 12374 Problem: Vim9: not all command modifiers are tested. 12375 Solution: Add tests for "keep" modifiers. Fix that marks are lost even 12376 though ":lockmarks" is used. 12377 Files: src/ex_cmds.c, src/testdir/test_vim9_cmd.vim 12378 12379 Patch 8.2.1955 12380 Problem: Vim9: not all command modifiers are tested. 12381 Solution: Add tests for remaining modifiers. 12382 Files: src/testdir/test_vim9_cmd.vim 12383 12384 Patch 8.2.1956 12385 Problem: Vim9: cannot specify argument types for lambda. 12386 Solution: Allow adding argument types. Check arguments when calling a 12387 function reference. 12388 Files: src/userfunc.c, src/proto/userfunc.pro, src/vim9compile.c, 12389 src/eval.c, src/testdir/test_vim9_disassemble.vim, 12390 src/testdir/test_vim9_func.vim 12391 12392 Patch 8.2.1957 12393 Problem: Diff and cursorcolumn highlighting don't mix. 12394 Solution: Fix condition for what attribute to use. (Christian Brabandt, 12395 closes #7258, closes #7260) 12396 Files: src/drawline.c, src/testdir/dumps/Test_diff_cuc_01.dump, 12397 src/testdir/dumps/Test_diff_cuc_02.dump, 12398 src/testdir/dumps/Test_diff_cuc_03.dump, 12399 src/testdir/dumps/Test_diff_cuc_04.dump, 12400 src/testdir/test_diffmode.vim 12401 12402 Patch 8.2.1958 (after 8.2.1956) 12403 Problem: Build failure with timers. 12404 Solution: Add missing change. 12405 Files: src/popupwin.c 12406 12407 Patch 8.2.1959 12408 Problem: Crash when terminal buffer name is made empty. (Dhiraj Mishra) 12409 Solution: Fall back to "[No Name]". (closes #7262) 12410 Files: src/buffer.c, src/proto/buffer.pro, src/terminal.c, 12411 src/testdir/test_terminal.vim 12412 12413 Patch 8.2.1960 12414 Problem: Warning for uninitialized variable. 12415 Solution: Initialize the variable. 12416 Files: src/evalfunc.c 12417 12418 Patch 8.2.1961 12419 Problem: Various comments can be improved. 12420 Solution: Various comment adjustments. 12421 Files: src/dict.c, src/structs.h, src/time.c, src/testdir/shared.vim, 12422 src/testdir/test_netbeans.vim, src/gui_motif.c 12423 12424 Patch 8.2.1962 12425 Problem: Netbeans may access freed memory. 12426 Solution: Check the buffer pointer is still valid. Add a test. (Yegappan 12427 Lakshmanan, closes #7248) 12428 Files: src/netbeans.c, src/testdir/test_netbeans.vim 12429 12430 Patch 8.2.1963 12431 Problem: Crash when using a popup window with "latin1" encoding. 12432 Solution: Don't use ScreenLinesUC when enc_utf8 is false. (closes #7241) 12433 Files: src/screen.c, src/terminal.c, src/testdir/test_popupwin.vim 12434 12435 Patch 8.2.1964 12436 Problem: Not all ConTeXt files are recognized. 12437 Solution: Add two patterns. (closes #7263) 12438 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 12439 12440 Patch 8.2.1965 12441 Problem: Vim9: tests fail without the channel feature. 12442 Solution: Check if the channel feature is present. (Dominique Pellé, 12443 closes #7270) 12444 Files: src/testdir/test_vim9_expr.vim 12445 12446 Patch 8.2.1966 12447 Problem: Popup becomes current window after closing a terminal window. 12448 Solution: When restoring the window after executing autocommands, check that 12449 the window ID is still the same. (Naruhiko Nishino, 12450 closes #7272) 12451 Files: src/autocmd.c, src/window.c, src/proto/window.pro, src/structs.h, 12452 src/testdir/test_popupwin.vim 12453 12454 Patch 8.2.1967 12455 Problem: The session file does not restore the alternate file. 12456 Solution: Add ":balt". Works like ":badd" and also sets the buffer as the 12457 alternate file. Use it in the session file. (closes #7269, 12458 closes #6714) 12459 Files: runtime/doc/windows.txt, src/ex_cmds.h, src/ex_cmdidxs.h, 12460 src/ex_docmd.c, src/vim.h, src/ex_cmds.c, src/session.c, 12461 src/testdir/test_buffer.vim 12462 12463 Patch 8.2.1968 12464 Problem: Vim9: has() assumes a feature does not change dynamically. 12465 Solution: Check whether a feature may change dynamically. (closes #7265) 12466 Files: src/vim9compile.c, src/evalfunc.c, src/proto/evalfunc.pro, 12467 src/testdir/test_vim9_disassemble.vim 12468 12469 Patch 8.2.1969 12470 Problem: Vim9: map() may change the list or dict item type. 12471 Solution: Add mapnew(). 12472 Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c, 12473 src/list.c, src/proto/list.pro, src/testdir/test_filter_map.vim 12474 12475 Patch 8.2.1970 12476 Problem: It is easy to make mistakes when cleaning up swap files after the 12477 system crashed. 12478 Solution: Warn for the process still running after recovery. Do not 12479 automatically delete a swap file created on another system. 12480 (David Fries, closes #7273) 12481 Files: src/memline.c, src/testdir/test_swap.vim 12482 12483 Patch 8.2.1971 12484 Problem: Memory leak when map() fails. 12485 Solution: Clear the typval. 12486 Files: src/list.c 12487 12488 Patch 8.2.1972 12489 Problem: Crash when recreating nested fold. 12490 Solution: Check for empty growarray. (closes #7278) 12491 Files: src/fold.c, src/testdir/test_fold.vim 12492 12493 Patch 8.2.1973 12494 Problem: Finding a patch number can be a bit slow. 12495 Solution: Use binary search. (closes #7279) 12496 Files: src/version.c 12497 12498 Patch 8.2.1974 12499 Problem: Vim9: test for has('gui_running') fails with VIMDLL. 12500 Solution: Adjust the #ifdef. (Ken Takata, closes #7276) 12501 Files: src/evalfunc.c 12502 12503 Patch 8.2.1975 12504 Problem: Win32: memory leak when encoding conversion fails. 12505 Solution: Free the allocated memory. (Ken Takata, closes #7277) 12506 Files: src/os_win32.c 12507 12508 Patch 8.2.1976 12509 Problem: Cannot backspace in prompt buffer after using cursor-left. (Maxim 12510 Kim) 12511 Solution: Ignore "arrow_used" in a prompt buffer. (closes #7281) 12512 Files: src/edit.c, src/testdir/test_prompt_buffer.vim 12513 12514 Patch 8.2.1977 12515 Problem: Vim9: error for using a string in a condition is confusing. 12516 Solution: Give a more specific error. Also adjust the compile time type 12517 checking for || and &&. 12518 Files: src/vim9compile.c, src/vim9execute.c, src/proto/vim9execute.pro, 12519 src/typval.c, src/errors.h, src/testdir/test_vim9_cmd.vim, 12520 src/testdir/test_vim9_disassemble.vim, 12521 src/testdir/test_vim9_expr.vim 12522 12523 Patch 8.2.1978 12524 Problem: Making a mapping work in all modes is complicated. 12525 Solution: Add the <Cmd> special key. (Yegappan Lakshmanan, closes #7282, 12526 closes 4784, based on patch by Bjorn Linse) 12527 Files: runtime/doc/autocmd.txt, runtime/doc/eval.txt, 12528 runtime/doc/map.txt, src/edit.c, src/errors.h, src/ex_docmd.c, 12529 src/ex_getln.c, src/getchar.c, src/insexpand.c, src/keymap.h, 12530 src/map.c, src/misc2.c, src/normal.c, src/ops.c, 12531 src/proto/getchar.pro, src/screen.c, src/terminal.c, 12532 src/testdir/test_mapping.vim 12533 12534 Patch 8.2.1979 12535 Problem: "term_opencmd" option of term_start() is truncated. (Sergey 12536 Vlasov) 12537 Solution: Allocate the buffer to hold the command. (closes #7284) 12538 Files: src/terminal.c, src/testdir/test_terminal.vim 12539 12540 Patch 8.2.1980 12541 Problem: Vim9: some tests are not done at the script level. 12542 Solution: Use CheckDefAndScriptSuccess() in more places. Fix uncovered 12543 problems. 12544 Files: src/eval.c, src/list.c, src/scriptfile.c, 12545 src/testdir/test_vim9_expr.vim 12546 12547 Patch 8.2.1981 12548 Problem: MinGW: parallel compilation might fail. 12549 Solution: Add dependencies on $(OUTDIR). (Masamichi Abe, closes #7287) 12550 Files: src/Make_cyg_ming.mak 12551 12552 Patch 8.2.1982 12553 Problem: Quickfix window not updated when adding invalid entries. 12554 Solution: Update the quickfix buffer properly. (Yegappan Lakshmanan, closes 12555 #7291, closes #7271) 12556 Files: src/quickfix.c, src/testdir/test_quickfix.vim 12557 12558 Patch 8.2.1983 12559 Problem: ml_get error when using <Cmd> to open a terminal. 12560 Solution: If the window changed reset the incsearch state. (closes #7289) 12561 Files: src/ex_getln.c, src/testdir/test_terminal.vim, 12562 src/testdir/dumps/Test_terminal_from_cmd.dump 12563 12564 Patch 8.2.1984 12565 Problem: Cannot use :vimgrep in omni completion, causing C completion to 12566 fail. 12567 Solution: Add the EX_LOCK_OK flag to :vimgrep. (closes #7292) 12568 Files: src/ex_cmds.h, src/testdir/test_quickfix.vim 12569 12570 Patch 8.2.1985 12571 Problem: Crash when closing terminal popup with <Cmd> mapping. 12572 Solution: Check b_term is not NULL. (closes #7294) 12573 Files: src/terminal.c, src/testdir/test_terminal.vim 12574 12575 Patch 8.2.1986 12576 Problem: Expression test is flaky on Appveyor. 12577 Solution: Temporarily disable the test in MS-Windows. 12578 Files: src/testdir/test_vim9_expr.vim 12579 12580 Patch 8.2.1987 12581 Problem: MS-Windows: Win32.mak is no longer needed. 12582 Solution: Do not include Win32.mak. (Jason McHugh, closes #7290) 12583 Files: src/Make_mvc.mak, src/INSTALLpc.txt 12584 12585 Patch 8.2.1988 12586 Problem: Still in Insert mode when opening terminal popup with a <Cmd> 12587 mapping in Insert mode. 12588 Solution: Exit Insert mode. (closes #7295) 12589 Files: src/edit.c, src/testdir/test_terminal.vim 12590 12591 Patch 8.2.1989 12592 Problem: Info popup triggers WinEnter and WinLeave autocommands. 12593 Solution: Suppress autocommands for the info popup. (closes #7296) 12594 Files: src/popupmenu.c, src/testdir/test_popupwin.vim 12595 12596 Patch 8.2.1990 12597 Problem: Cursor position wrong in terminal popup with finished job. 12598 Solution: Only add the top and left offset when not done already. 12599 (closes #7298) 12600 Files: src/popupwin.c, src/structs.h, src/drawline.c, src/move.c, 12601 src/terminal.c, src/testdir/dumps/Test_terminal_popup_m1.dump 12602 12603 Patch 8.2.1991 12604 Problem: Coverity warns for not using the ga_grow() return value. 12605 Solution: Bail out if ga_grow() fails. (Yegappan Lakshmanan, closes #7303) 12606 Files: src/getchar.c 12607 12608 Patch 8.2.1992 12609 Problem: Build fails with small features. 12610 Solution: Add #ifdef. 12611 Files: src/move.c 12612 12613 Patch 8.2.1993 12614 Problem: Occasional failure of the netbeans test. 12615 Solution: Add "silent!". (Yegappan Lakshmanan, closes #7304) 12616 Files: src/testdir/test_netbeans.vim 12617 12618 Patch 8.2.1994 (after 8.2.1981) 12619 Problem: MS-Windows: MinGW always does a full build. 12620 Solution: Only check if $OUTDIR exists. (Masamichi Abe, closes #7311) 12621 Files: src/Make_cyg_ming.mak 12622 12623 Patch 8.2.1995 12624 Problem: The popup menu can cause too much redrawing. 12625 Solution: Reduce the length of the displayed text. (Yasuhiro Matsumoto, 12626 closes #7306) 12627 Files: src/popupmenu.c 12628 12629 Patch 8.2.1996 12630 Problem: Vim9: invalid error for argument of extend(). 12631 Solution: Check if the type could match. (closes #7299) 12632 Files: src/evalfunc.c, src/vim9compile.c, src/proto/vim9compile.pro, 12633 src/vim9type.c, src/proto/vim9type.pro, 12634 src/testdir/test_vim9_builtin.vim 12635 12636 Patch 8.2.1997 12637 Problem: Window changes when using bufload() while in a terminal popup. 12638 Solution: When searching for a window by ID also find a popup window. 12639 (closes #7307) 12640 Files: src/window.c, src/testdir/test_terminal.vim 12641 12642 Patch 8.2.1998 12643 Problem: Terminal Cmd test sometimes fails to close popup. 12644 Solution: Add "term_finish" option. 12645 Files: src/testdir/test_terminal.vim 12646 12647 Patch 8.2.1999 12648 Problem: Terminal popup test sometimes fails. 12649 Solution: Wait for the popup to close. 12650 Files: src/testdir/test_terminal.vim 12651 12652 Patch 8.2.2000 12653 Problem: Vim9: dict.key assignment not implemented yet. 12654 Solution: Implement dict.key assignment. (closes #7312) 12655 Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim 12656 12657 Patch 8.2.2001 12658 Problem: Vim9: :def function does not apply 'maxfuncdepth'. 12659 Solution: Use 'maxfuncdepth'. (issue #7313) 12660 Files: src/vim9execute.c, src/userfunc.c, src/proto/userfunc.pro, 12661 src/testdir/test_vim9_func.vim 12662 12663 Patch 8.2.2002 12664 Problem: Vim9: lambda argument shadowed by function name. 12665 Solution: Let function name be shadowed by lambda argument. (closes #7313) 12666 Files: src/vim9compile.c, src/testdir/test_vim9_func.vim 12667 12668 Patch 8.2.2003 12669 Problem: Build error with +conceal but without +popupwin. 12670 Solution: Add #ifdef. (Tom Ryder, closes #7316) 12671 Files: src/drawline.c 12672 12673 Patch 8.2.2004 (after 8.2.2002) 12674 Problem: Compiler warning for uninitialized variable. 12675 Solution: Initialize "ufunc". (John Marriott) 12676 Files: src/vim9compile.c 12677 12678 Patch 8.2.2005 12679 Problem: Redoing a mapping with <Cmd> doesn't work properly. 12680 Solution: Fill the redo buffer. Use "<SNR>" instead of a key code. 12681 (closes #7282) 12682 Files: src/ops.c, src/getchar.c, src/testdir/test_mapping.vim 12683 12684 Patch 8.2.2006 12685 Problem: .pbtxt files are not recognized. 12686 Solution: Recognize .pbtxt as protobuf text buffers. (closes #7326) 12687 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 12688 12689 Patch 8.2.2007 12690 Problem: Test for insert mode in popup is not reliable. 12691 Solution: Wait for the popup to disappear. (Ozaki Kiichi, closes #7321) 12692 Files: src/testdir/test_terminal.vim 12693 12694 Patch 8.2.2008 12695 Problem: MS-Windows GUI: handling channel messages lags. 12696 Solution: Reduce the wait time from 100 to 10 msec. (closes #7097) 12697 Files: src/gui_w32.c 12698 12699 Patch 8.2.2009 12700 Problem: MS-Windows: setting $LANG in gvimext only causes problems. 12701 Solution: Do not set $LANG. (Ken Takata, closes #7325) 12702 Files: src/GvimExt/gvimext.cpp 12703 12704 Patch 8.2.2010 12705 Problem: Vim9: compiling fails for unreachable return statement. 12706 Solution: Fix it. (closes #7319) 12707 Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim 12708 12709 Patch 8.2.2011 12710 Problem: "syn sync" reports a very large number. 12711 Solution: Use "at the first line". 12712 Files: src/syntax.c, src/testdir/test_syntax.vim 12713 12714 Patch 8.2.2012 12715 Problem: Vim9: confusing error message when using bool wrongly. 12716 Solution: Mention "Bool" instead of "Special". (closes #7323) 12717 Files: src/typval.c, src/errors.h, src/testdir/test_vim9_expr.vim 12718 12719 Patch 8.2.2013 12720 Problem: Vim9: not skipping white space after unary minus. 12721 Solution: Skip whitespace. (closes #7324) 12722 Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim 12723 12724 Patch 8.2.2014 12725 Problem: Using CTRL-O in a prompt buffer moves cursor to start of the line. 12726 Solution: Do not move the cursor when restarting edit. (closes #7330) 12727 Files: src/job.c, src/testdir/test_prompt_buffer.vim 12728 12729 Patch 8.2.2015 12730 Problem: Vim9: literal dict #{} is not like any other language. 12731 Solution: Support the JavaScript syntax. 12732 Files: runtime/doc/vim9.txt, src/vim9compile.c, 12733 src/proto/vim9compile.pro, src/errors.h, 12734 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_builtin.vim, 12735 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim 12736 12737 Patch 8.2.2016 12738 Problem: Swap file test is a little flaky. 12739 Solution: Don't set a byte to a fixed value, increment it. 12740 Files: src/testdir/test_swap.vim 12741 12742 Patch 8.2.2017 (after 8.2.2015) 12743 Problem: Missing part of the dict change. 12744 Solution: Also change the script level dict. 12745 Files: src/dict.c 12746 12747 Patch 8.2.2018 12748 Problem: Vim9: script variable not found from lambda. 12749 Solution: In a lambda also check the script hashtab for a variable without a 12750 scope. (closes #7329) 12751 Files: src/evalvars.c, src/testdir/test_vim9_func.vim 12752 12753 Patch 8.2.2019 (after 8.2.2016) 12754 Problem: Swap file test fails on MS-Windows. 12755 Solution: Add four to the process ID. (Ken Takata, closes #7333) 12756 Files: src/testdir/test_swap.vim 12757 12758 Patch 8.2.2020 12759 Problem: Some compilers do not like the "namespace" argument. 12760 Solution: Rename to "use_namespace". (closes #7332) 12761 Files: src/vim9compile.c, src/proto/vim9compile.pro 12762 12763 Patch 8.2.2021 12764 Problem: Vim9: get E1099 when autocommand resets did_emsg. 12765 Solution: Add did_emsg_cumul. (closes #7336) 12766 Files: src/globals.h, src/ex_docmd.c, src/vim9execute.c, 12767 src/testdir/test_vim9_func.vim 12768 12769 Patch 8.2.2022 12770 Problem: Vim9: star command recognized erroneously. 12771 Solution: Give an error for missing colon. (issue #7335) 12772 Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim 12773 12774 Patch 8.2.2023 12775 Problem: Vim: memory leak when :execute fails. 12776 Solution: Clear the growarray. 12777 Files: src/vim9execute.c 12778 12779 Patch 8.2.2024 12780 Problem: Flicker when redrawing a popup with a title and border. 12781 Solution: Do not redraw the border where the title is displayed. (Naruhiko 12782 Nishino, closes #7334) 12783 Files: src/popupwin.c 12784 12785 Patch 8.2.2025 12786 Problem: Amiga: Not all colors are used on OS4. 12787 Solution: Adjust the #ifdef to include __amigaos4__. (Ola Söder, 12788 closes #7328) 12789 Files: src/term.c 12790 12791 Patch 8.2.2026 12792 Problem: Coverity warns for possibly using not NUL terminated string. 12793 Solution: Put a NUL in b0_hname just in case. 12794 Files: src/memline.c 12795 12796 Patch 8.2.2027 12797 Problem: Coverity warns for uninitialized field. 12798 Solution: Set "v_lock". 12799 Files: src/list.c 12800 12801 Patch 8.2.2028 12802 Problem: Coverity warns for using an uninitialized variable. 12803 Solution: Initialize to NULL. 12804 Files: src/eval.c 12805 12806 Patch 8.2.2029 12807 Problem: Coverity warns for not checking return value. 12808 Solution: Check that u_save_cursor() returns OK. 12809 Files: src/ops.c 12810 12811 Patch 8.2.2030 12812 Problem: Some tests fail on Mac. 12813 Solution: Avoid Mac test failures. Add additional test for wildmenu. 12814 (Yegappan Lakshmanan, closes #7341) 12815 Files: src/testdir/runtest.vim, src/testdir/test_cmdline.vim, 12816 src/testdir/test_options.vim, src/testdir/test_popupwin.vim 12817 12818 Patch 8.2.2031 12819 Problem: Some tests fail when run under valgrind. 12820 Solution: Avoid timing problems. 12821 Files: src/testdir/test_vim9_func.vim, src/testdir/test_channel.vim, 12822 src/testdir/test_clientserver.vim, src/testdir/test_debugger.vim, 12823 src/testdir/test_quotestar.vim 12824 12825 Patch 8.2.2032 12826 Problem: Cabalconfig and cabalproject filetypes not recognized. 12827 Solution: Detect more cabal files. (Marcin Szamotulski, closes #7339) 12828 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 12829 12830 Patch 8.2.2033 12831 Problem: Vim9: :def without argument gives compilation error. 12832 Solution: Add the DEF instruction. (closes #7344) 12833 Files: src/ex_docmd.c, src/vim9.h, src/vim9compile.c, src/vim9execute.c, 12834 src/userfunc.c, src/proto/userfunc.pro, 12835 src/testdir/test_vim9_disassemble.vim, 12836 src/testdir/test_vim9_func.vim 12837 12838 Patch 8.2.2034 12839 Problem: Vim9: list unpack in for statement not compiled yet. 12840 Solution: Compile list unpack. (closes #7345) 12841 Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/errors.h, 12842 src/eval.c, src/testdir/test_vim9_disassemble.vim, 12843 src/testdir/test_vim9_script.vim 12844 12845 Patch 8.2.2035 12846 Problem: MS-Windows: some tests may fail. 12847 Solution: Avoid test failures. (Yegappan Lakshmanan, closes #7346) 12848 Files: src/testdir/test_channel.vim, src/testdir/test_ex_mode.vim, 12849 src/testdir/test_functions.vim 12850 12851 Patch 8.2.2036 12852 Problem: Current buffer is messed up if creating a new buffer for the 12853 quickfix window fails. 12854 Solution: Check that creating the buffer succeeds. (closes #7352) 12855 Files: src/quickfix.c, src/testdir/test_quickfix.vim, 12856 src/testdir/dumps/Test_quickfix_window_fails.dump 12857 12858 Patch 8.2.2037 12859 Problem: Compiler test depends on list of compiler plugins. 12860 Solution: Compare with the actual list of compiler plugins. 12861 Files: src/testdir/test_compiler.vim 12862 12863 Patch 8.2.2038 12864 Problem: Compiler test fails on MS-Windows. 12865 Solution: Sort the found compiler plugin names. 12866 Files: src/testdir/test_compiler.vim 12867 12868 Patch 8.2.2039 12869 Problem: Viminfo is not written when creating a new file. 12870 Solution: Set "b_marks_read" in the new buffer. (Christian Brabandt, 12871 closes #7350) 12872 Files: src/bufwrite.c, src/testdir/test_viminfo.vim 12873 12874 Patch 8.2.2040 12875 Problem: Terminal buffer disappears even when 'bufhidden' is "hide". 12876 (Sergey Vlasov) 12877 Solution: Check 'bufhidden' when a terminal buffer becomes hidden. 12878 (closes #7358) 12879 Files: src/buffer.c, src/testdir/test_terminal.vim 12880 12881 Patch 8.2.2041 12882 Problem: Haskell filetype not optimally recognized. 12883 Solution: Recognize all *.hsc files as Haskell. (Marcin Szamotulski, 12884 closes #7354) 12885 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 12886 12887 Patch 8.2.2042 12888 Problem: Build failure with +profile but without +reltime. 12889 Solution: Adjust #ifdef. (Christian Brabandt, closes #7361) 12890 Files: src/syntax.c 12891 12892 Patch 8.2.2043 12893 Problem: GTK3: white border around text stands out. 12894 Solution: Use current theme color. (closes #7357, issue #349) 12895 Files: src/gui_gtk_x11.c 12896 12897 Patch 8.2.2044 12898 Problem: MS-Windows: swap file test sometimes fails. 12899 Solution: Use a more reliable way to change the process ID. When "timeout" 12900 fails use "ping" to wait up to ten minutes. (Ken Takata, 12901 closes #7365) 12902 Files: .github/workflows/ci-windows.yaml, src/testdir/test_swap.vim 12903 12904 Patch 8.2.2045 12905 Problem: Highlighting a character too much with incsearch. 12906 Solution: Check "search_match_endcol". (Christian Brabandt, closes #7360) 12907 Files: src/drawline.c, src/testdir/test_search.vim, 12908 src/testdir/dumps/Test_incsearch_newline1.dump, 12909 src/testdir/dumps/Test_incsearch_newline2.dump, 12910 src/testdir/dumps/Test_incsearch_newline3.dump, 12911 src/testdir/dumps/Test_incsearch_newline4.dump, 12912 src/testdir/dumps/Test_incsearch_newline5.dump 12913 12914 Patch 8.2.2046 12915 Problem: Some test failures don't give a clear error. 12916 Solution: Use assert_match() and assert_fails() instead of assert_true(). 12917 (Ken Takata, closes #7368) 12918 Files: src/testdir/test_autocmd.vim, src/testdir/test_backspace_opt.vim 12919 12920 Patch 8.2.2047 12921 Problem: Amiga: FEAT_ARP defined when it should not. 12922 Solution: Adjust #ifdef. (Ola Söder, closes #7370) 12923 Files: src/feature.h 12924 12925 Patch 8.2.2048 12926 Problem: Amiga: obsolete code. 12927 Solution: Remove the unused lines. (Ola Söder, closes #7373) 12928 Files: src/gui.c 12929 12930 Patch 8.2.2049 12931 Problem: Amiga: obsolete function. 12932 Solution: Remove the function. (Ola Söder, closes #7374) 12933 Files: src/memfile.c 12934 12935 Patch 8.2.2050 12936 Problem: Search test contains unneeded sleeps. 12937 Solution: Rename the function, remove sleeps. (Christian Brabandt, 12938 closes #7369) 12939 Files: src/testdir/test_search.vim 12940 12941 Patch 8.2.2051 12942 Problem: Vim9: crash when aborting a user function call. 12943 Solution: Do not use the return value when aborting. (closes #7372) 12944 Files: src/vim9execute.c, src/testdir/test_vim9_func.vim 12945 12946 Patch 8.2.2052 12947 Problem: Vim9: "edit +4 fname" gives an error. (Naruhiko Nishino) 12948 Solution: Allow using a range in the +cmd argument. (closes #7364) 12949 Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/vim.h, src/ex_cmds.c, 12950 src/testdir/test_vim9_cmd.vim 12951 12952 Patch 8.2.2053 12953 Problem: Vim9: lambda doesn't accept argument types. 12954 Solution: Optionally accept argument types at the script level. 12955 Files: src/eval.c, src/testdir/test_vim9_expr.vim 12956 12957 Patch 8.2.2054 12958 Problem: Amiga: FEAT_ARP defined when it should not. 12959 Solution: Adjust "||" to "&&" in #ifdef. (Ola Söder, closes #7375) 12960 Files: src/feature.h 12961 12962 Patch 8.2.2055 12963 Problem: MS-Windows: two Vim instances may use the same temp file. 12964 Solution: Use the process ID for the temp name. (Ken Takata, closes #7378) 12965 Files: src/fileio.c 12966 12967 Patch 8.2.2056 12968 Problem: Configure fails when building with the 12969 "implicit-function-declaration" error enabled, specifically on Mac. 12970 Solution: Declare the functions like in the source code. (suggestion by 12971 Clemens Lang, closes #7380) 12972 Files: src/configure.ac, src/auto/configure 12973 12974 Patch 8.2.2057 12975 Problem: Getting the selection may trigger TextYankPost autocmd. 12976 Solution: Only trigger the autocommand when yanking in Vim, not for getting 12977 the selection. (closes #7367) 12978 Files: src/clipboard.c, src/normal.c, src/register.c, 12979 src/testdir/test_autocmd.vim 12980 12981 Patch 8.2.2058 12982 Problem: Using mkview/loadview changes the jumplist. 12983 Solution: Use ":keepjumps". Don't let ":badd" or ":balt" change the 12984 jumplist. (closes #7371) 12985 Files: src/session.c, src/ex_docmd.c, src/testdir/test_mksession.vim 12986 12987 Patch 8.2.2059 12988 Problem: Amiga: can't find plugins. 12989 Solution: Do not use "**" in the pattern. (Ola Söder, closes #7384) 12990 Files: src/main.c 12991 12992 Patch 8.2.2060 12993 Problem: Check for features implemented with "if". 12994 Solution: Use the Check commands. (Ken Takata, closes #7383) 12995 Files: src/testdir/test_autocmd.vim, src/testdir/test_compiler.vim, 12996 src/testdir/test_delete.vim, src/testdir/test_diffmode.vim, 12997 src/testdir/test_expr.vim, src/testdir/test_fold.vim 12998 12999 Patch 8.2.2061 13000 Problem: Vim9: E1030 error when using empty string for term_sendkeys(). 13001 Solution: Don't check for an invalid type unless the terminal can't be 13002 found. (closes #7382) 13003 Files: src/terminal.c, src/testdir/test_termcodes.vim 13004 13005 Patch 8.2.2062 13006 Problem: <Cmd> does not handle CTRL-V. 13007 Solution: Call get_literal() after encountering CTRL-V. (closes #7387) 13008 Files: src/getchar.c, src/testdir/test_mapping.vim 13009 13010 Patch 8.2.2063 13011 Problem: Vim9: only one level of indexing supported. 13012 Solution: Handle more than one index in an assignment. 13013 Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_assign.vim 13014 13015 Patch 8.2.2064 13016 Problem: terminal: cursor is on while redrawing, causing flicker. 13017 Solution: Switch the cursor off while redrawing. Always add the top and 13018 left offset to the cursor position when not done already. 13019 (closes #5943) 13020 Files: src/terminal.c, src/popupwin.c 13021 13022 Patch 8.2.2065 13023 Problem: Using map() and filter() on a range() is inefficient. 13024 Solution: Do not materialize the range. (closes #7388) 13025 Files: src/list.c, src/testdir/test_functions.vim 13026 13027 Patch 8.2.2066 13028 Problem: Vim9: assignment with += doesn't work. 13029 Solution: Do not see the "+" as an addition operator. 13030 Files: src/eval.c, src/ex_docmd.c, src/testdir/test_vim9_assign.vim 13031 13032 Patch 8.2.2067 (after 8.2.2064) 13033 Problem: Cursor position in popup terminal is wrong. 13034 Solution: Don't check the flags. 13035 Files: src/terminal.c, src/testdir/test_popupwin.vim 13036 13037 Patch 8.2.2068 13038 Problem: Transparent syntax item uses start/end of containing region. 13039 Solution: Do not change the startpos and endpos of a transparent region to 13040 that of its containing region. (Adrian Ghizaru, closes #7349, 13041 closes #7391) 13042 Files: src/syntax.c, src/testdir/test_syntax.vim 13043 13044 Patch 8.2.2069 13045 Problem: The quickfix window is not updated after setqflist(). 13046 Solution: Update the quickfix buffer. (Yegappan Lakshmanan, closes #7390, 13047 closes #7385) 13048 Files: src/quickfix.c, src/testdir/test_quickfix.vim 13049 13050 Patch 8.2.2070 13051 Problem: Can't get the exit value in VimLeave or VimLeavePre autocommands. 13052 Solution: Add v:exiting like in Neovim. (Yegappan Lakshmanan, closes #7395) 13053 Files: runtime/doc/autocmd.txt, runtime/doc/eval.txt, src/evalvars.c, 13054 src/main.c, src/testdir/test_exit.vim, src/vim.h 13055 13056 Patch 8.2.2071 13057 Problem: Vim9: list assign doesn't accept an empty remainder list. 13058 Solution: Recognize list assignment with ";". 13059 Files: src/ex_docmd.c, src/testdir/test_vim9_assign.vim 13060 13061 Patch 8.2.2072 13062 Problem: Vim9: list assign not well tested. 13063 Solution: Test with different destinations. Fix white space error. 13064 Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim 13065 13066 Patch 8.2.2073 13067 Problem: Vim9: for with unpack only works for local variables. 13068 Solution: Recognize different destinations. 13069 Files: src/vim9compile.c, src/testdir/test_vim9_script.vim 13070 13071 Patch 8.2.2074 13072 Problem: Vim9: using :normal from Vim9 script can't handle range. 13073 Solution: Execute a :normal command in legacy script context. (closes #7401) 13074 Files: src/structs.h, src/ex_docmd.c, src/testdir/test_vim9_script.vim 13075 13076 Patch 8.2.2075 13077 Problem: Error for const argument to mapnew(). 13078 Solution: Don't give an error. (closes #7400) 13079 Files: src/list.c, src/testdir/test_filter_map.vim 13080 13081 Patch 8.2.2076 13082 Problem: MS-Windows console: sometimes drops typed characters. 13083 Solution: Do not wait longer than 10 msec for input. (issue #7164) 13084 Files: src/os_win32.c 13085 13086 Patch 8.2.2077 13087 Problem: Build failure with small features. 13088 Solution: Add #ifdef. 13089 Files: src/structs.h, src/ex_docmd.c 13090 13091 Patch 8.2.2078 13092 Problem: Illegal memory access when using :print on invalid text. (Dhiraj 13093 Mishra) 13094 Solution: Check for more composing characters than supported. (closes #7399) 13095 Files: src/message.c, src/testdir/test_utf8.vim 13096 13097 Patch 8.2.2079 13098 Problem: Vim9: cannot put a linebreak before or after "in" of ":for". 13099 Solution: Skip over linebreak. 13100 Files: src/vim9compile.c, src/testdir/test_vim9_script.vim 13101 13102 Patch 8.2.2080 13103 Problem: Vim9: no proper error message for using s:var in for loop. 13104 Solution: Give a specific error. 13105 Files: src/vim9compile.c, src/testdir/test_vim9_script.vim 13106 13107 Patch 8.2.2081 13108 Problem: Vim9: cannot handle a linebreak after "=" in assignment. 13109 Solution: Skip over linebreak. (closes #7407) 13110 Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim, 13111 src/testdir/test_vim9_expr.vim 13112 13113 Patch 8.2.2082 13114 Problem: Vim9: can still use the deprecated #{} dict syntax. 13115 Solution: Remove support for #{} in Vim9 script. (closes #7406, closes #7405) 13116 Files: src/dict.c, src/proto/dict.pro, src/eval.c, src/vim9compile.c, 13117 src/testdir/test_vim9_assign.vim, 13118 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim, 13119 src/testdir/test_vim9_disassemble.vim, 13120 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim, 13121 src/testdir/test_vim9_script.vim, src/testdir/test_popupwin.vim, 13122 src/testdir/test_textprop.vim 13123 13124 Patch 8.2.2083 13125 Problem: Vim9: crash when using ":silent!" and getting member fails. 13126 Solution: Jump to on_fatal_error. (closes #7412) 13127 Files: src/vim9execute.c, src/testdir/test_vim9_func.vim 13128 13129 Patch 8.2.2084 13130 Problem: CTRL-V U doesn't work to enter a Unicode character when 13131 modifyOtherKeys is effective. (Ken Takata) 13132 Solution: Add a flag to get_literal() for the shift key. (closes #7413) 13133 Files: src/edit.c, src/proto/edit.pro, src/ex_getln.c, src/getchar.c, 13134 src/normal.c, src/testdir/test_termcodes.vim 13135 13136 Patch 8.2.2085 13137 Problem: Qt translation file is recognized as typescript. 13138 Solution: Check the first line for "<?xml". (closes #7418) 13139 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 13140 13141 Patch 8.2.2086 13142 Problem: Libvterm tests are only run on Linux. 13143 Solution: Use static libraries. (Ozaki Kiichi, closes #7419) 13144 Files: .travis.yml, src/Makefile, src/libvterm/Makefile, 13145 src/libvterm/t/run-test.pl 13146 13147 Patch 8.2.2087 13148 Problem: Vim9: memory leak when statement is truncated. 13149 Solution: Increment the number of local variables. 13150 Files: src/vim9compile.c 13151 13152 Patch 8.2.2088 13153 Problem: Vim9: script test sometimes fails. 13154 Solution: Unlet variables. 13155 Files: src/testdir/test_vim9_script.vim 13156 13157 Patch 8.2.2089 13158 Problem: Libvterm test fails to build on Mac. 13159 Solution: Adjust configure to remove a space between -L and the path that 13160 follows. 13161 Files: src/configure.ac, src/auto/configure 13162 13163 Patch 8.2.2090 13164 Problem: Vim9: dict does not accept a key in quotes. 13165 Solution: Recognize a key in single or double quotes. 13166 Files: runtime/doc/vim9.txt, src/dict.c, src/proto/dict.pro, 13167 src/vim9compile.c, src/testdir/test_vim9_expr.vim 13168 13169 Patch 8.2.2091 13170 Problem: MS-Windows: build warnings. 13171 Solution: Add a #pragma to suppress the deprecation warning. (Ken Takata) 13172 Avoid using a non-ASCII character. (closes #7421) 13173 Files: src/message.c, src/os_win32.c 13174 13175 Patch 8.2.2092 13176 Problem: Vim9: unpredictable errors for script tests. 13177 Solution: Use a different script file name for each run. 13178 Files: src/testdir/vim9.vim, src/testdir/test_vim9_script.vim, 13179 src/testdir/test_vim9_func.vim, src/testdir/test_quickfix.vim, 13180 src/testdir/test_vim9_assign.vim 13181 13182 Patch 8.2.2093 13183 Problem: Vim9: script test sometimes fails. 13184 Solution: Do not find a script variable by its typval if the name was 13185 cleared. 13186 Files: src/vim9script.c 13187 13188 Patch 8.2.2094 13189 Problem: When an expression fails getting the next command may be wrong. 13190 Solution: Do not check for a next command after :eval fails. (closes #7415) 13191 Files: src/eval.c, src/testdir/test_vim9_cmd.vim 13192 13193 Patch 8.2.2095 13194 Problem: Vim9: crash when failed dict member is followed by concatenation. 13195 Solution: Remove the dict from the stack. (closes #7416) 13196 Files: src/vim9execute.c, src/testdir/test_vim9_func.vim 13197 13198 Patch 8.2.2096 13199 Problem: Vim9: command modifiers not restored after assignment. 13200 Solution: Jump to nextline instead of using continue. 13201 Files: src/vim9compile.c, src/vim9execute.c, 13202 src/testdir/test_vim9_func.vim 13203 13204 Patch 8.2.2097 13205 Problem: Vim9: using :silent! when calling a function prevents aborting 13206 that function. 13207 Solution: Add emsg_silent_def and did_emsg_def. 13208 Files: src/globals.h, src/message.c, src/vim9execute.c, 13209 src/testdir/test_vim9_func.vim 13210 13211 Patch 8.2.2098 13212 Problem: Vim9: function argument of sort() and map() not tested. 13213 Solution: Add a couple of tests. 13214 Files: src/testdir/test_vim9_builtin.vim 13215 13216 Patch 8.2.2099 13217 Problem: Vim9: some checks are not tested. 13218 Solution: Add a few more tests. Give better error messages. 13219 Files: src/vim9compile.c, src/testdir/test_vim9_script.vim, 13220 src/testdir/test_vim9_expr.vim 13221 13222 Patch 8.2.2100 13223 Problem: Insufficient testing for function range and dict. 13224 Solution: Add a few tests. (Dominique Pellé, closes #7428) 13225 Files: src/testdir/test_functions.vim, src/testdir/test_lambda.vim, 13226 src/testdir/test_signals.vim, src/testdir/test_user_func.vim 13227 13228 Patch 8.2.2101 13229 Problem: Vim9: memory leak when literal dict has an error and when an 13230 expression is not complete. 13231 Solution: Clear the typval and the growarray. 13232 Files: src/dict.c, src/vim9compile.c 13233 13234 Patch 8.2.2102 13235 Problem: Vim9: not all error messages tested. 13236 Solution: Add a few test cases. 13237 Files: src/testdir/test_vim9_func.vim 13238 13239 Patch 8.2.2103 13240 Problem: Vim9: unreachable code. 13241 Solution: Remove the code to prepend s: to the variable name 13242 Files: src/vim9compile.c 13243 13244 Patch 8.2.2104 13245 Problem: Build problem with Ruby 2.7. 13246 Solution: Adjust function declarations. (Ozaki Kiichi, closes #7430) 13247 Files: src/configure.ac, src/auto/configure, src/if_ruby.c 13248 13249 Patch 8.2.2105 13250 Problem: Sound test is a bit flaky. 13251 Solution: Use WaitForAssert(). (Dominique Pellé, closes #7429) 13252 Files: src/testdir/test_sound.vim 13253 13254 Patch 8.2.2106 13255 Problem: TOML files are not recognized. 13256 Solution: Match *.toml. (issue #7432) 13257 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 13258 13259 Patch 8.2.2107 13260 Problem: Vim9: some errors not tested. 13261 Solution: Add tests. Fix getting the right error. 13262 Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim, 13263 src/testdir/test_vim9_expr.vim 13264 13265 Patch 8.2.2108 13266 Problem: Vim9: no test to check for :let error. 13267 Solution: Add a test. Rename tests from _let_ to _var_. 13268 Files: src/testdir/test_vim9_assign.vim 13269 13270 Patch 8.2.2109 13271 Problem: "vim -" does not work well when modifyOtherKeys is enabled and a 13272 shell command is executed on startup. 13273 Solution: Only change modifyOtherKeys when executing a shell command in raw 13274 mode. 13275 Files: src/os_unix.c 13276 13277 Patch 8.2.2110 13278 Problem: Cannot use ":shell" when reading from stdin. (Gary Johnson) 13279 Solution: Revert patch 8.2.1833. 13280 Files: src/main.c 13281 13282 Patch 8.2.2111 13283 Problem: GTK: Menu background is the same color as the main window. 13284 Solution: Fix white space around the text in another way. (closes #7437, 13285 closes #7427) 13286 Files: src/gui_gtk_x11.c 13287 13288 Patch 8.2.2112 13289 Problem: Running tests may leave some files behind. 13290 Solution: Delete the right files. Fix a few typos. (Dominique Pellé, 13291 closes #7436) 13292 Files: src/testdir/test_filetype.vim, src/testdir/test_messages.vim, 13293 src/testdir/test_mksession.vim 13294 13295 Patch 8.2.2113 13296 Problem: MS-Windows GUI: crash after using ":set guifont=" four times. 13297 Solution: Check for NULL pointer. (Ken Takata, closes #7434) 13298 Files: src/gui_dwrite.cpp, src/testdir/test_gui.vim 13299 13300 Patch 8.2.2114 13301 Problem: Vim9: unreachable code in assignment. 13302 Solution: Remove impossible condition and code. 13303 Files: src/vim9compile.c 13304 13305 Patch 8.2.2115 13306 Problem: Vim9: some errors not tested for; dead code. 13307 Solution: Add a test. Remove dead code. 13308 Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim 13309 13310 Patch 8.2.2116 13311 Problem: MS-Windows GUI: test for 'guifont' is incomplete. 13312 Solution: Set 'renderoptions'. (Christian Brabandt) 13313 Files: src/testdir/test_gui.vim 13314 13315 Patch 8.2.2117 13316 Problem: Some functions use any value as a string. 13317 Solution: Check that the value is a non-empty string. 13318 Files: src/typval.c, src/proto/typval.pro, src/mbyte.c, src/filepath.c, 13319 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim 13320 13321 Patch 8.2.2118 13322 Problem: Dead code in the job support. (Dominique Pellé) 13323 Solution: Define USE_ARGV before checking for it. 13324 Files: src/job.c 13325 13326 Patch 8.2.2119 13327 Problem: GTK3: status line background color is wrong. 13328 Solution: Don't change the code for earlier GTK3 versions. (closes #7444) 13329 Files: src/gui_gtk_x11.c 13330 13331 Patch 8.2.2120 13332 Problem: Not all Perl functionality is tested. 13333 Solution: Add a few more test cases. (Dominique Pellé, closes #7440) 13334 Files: src/testdir/test_perl.vim 13335 13336 Patch 8.2.2121 13337 Problem: Internal error when using \ze before \zs in a pattern. 13338 Solution: Check the end is never before the start. (closes #7442) 13339 Files: src/regexp_bt.c, src/regexp_nfa.c, 13340 src/testdir/test_regexp_latin.vim 13341 13342 Patch 8.2.2122 13343 Problem: Vim9: crash when sourcing vim9script early. 13344 Solution: Use set_option_value() instead of setting p_cpo directly. 13345 (closes #7441) 13346 Files: src/scriptfile.c, src/testdir/test_vim9_script.vim 13347 13348 Patch 8.2.2123 13349 Problem: After using a complete popup the buffer is listed. (Boris 13350 Staletic) 13351 Solution: Make the buffer unlisted. 13352 Files: src/popupmenu.c, src/testdir/test_popupwin.vim 13353 13354 Patch 8.2.2124 13355 Problem: Vim9: a range cannot be computed at runtime. 13356 Solution: Add the ISN_RANGE instruction. 13357 Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, 13358 src/testdir/test_vim9_script.vim, 13359 src/testdir/test_vim9_disassemble.vim 13360 13361 Patch 8.2.2125 (after 8.2.2122) 13362 Problem: Vim9: leaking memory. 13363 Solution: Free the saved 'cpo' value. 13364 Files: src/scriptfile.c 13365 13366 Patch 8.2.2126 13367 Problem: Ruby: missing function prototype. 13368 Solution: Add the prototype. 13369 Files: src/if_ruby.c 13370 13371 Patch 8.2.2127 13372 Problem: Vim9: executing user command defined in Vim9 script not tested. 13373 Solution: Add a test. 13374 Files: src/testdir/test_vim9_script.vim 13375 13376 Patch 8.2.2128 13377 Problem: There is no way to do something on CTRL-Z. 13378 Solution: Add VimSuspend and VimResume autocommand events. (closes #7450) 13379 Files: runtime/doc/autocmd.txt, src/autocmd.c, src/ex_docmd.c, 13380 src/normal.c, src/testdir/test_suspend.vim, src/vim.h 13381 13382 Patch 8.2.2129 13383 Problem: MS-Windows: Checking if a file name is absolute is slow. 13384 Solution: Do not use mch_FullName(). (closes #7033) 13385 Files: src/os_mswin.c 13386 13387 Patch 8.2.2130 13388 Problem: Insert mode completion messages end up in message history. 13389 Solution: Set msg_hist_off. (closes #7452) 13390 Files: src/insexpand.c, src/testdir/test_ins_complete.vim 13391 13392 Patch 8.2.2131 13393 Problem: Vim9: crash when lambda uses same var as assignment. 13394 Solution: Do not let lookup_local change lv_from_outer, make a copy. 13395 (closes #7461) 13396 Files: src/vim9compile.c, src/ex_docmd.c, src/proto/ex_docmd.pro, 13397 src/evalvars.c, src/proto/evalvars.pro, 13398 src/testdir/test_vim9_func.vim 13399 13400 Patch 8.2.2132 13401 Problem: Padding not drawn properly for popup window with title. 13402 Solution: Draw the padding below the title. (closes #7460) 13403 Files: src/popupwin.c, src/testdir/test_popupwin.vim, 13404 src/testdir/dumps/Test_popupwin_longtitle_3.dump, 13405 src/testdir/dumps/Test_popupwin_longtitle_4.dump 13406 13407 Patch 8.2.2133 13408 Problem: Vim9: checking for a non-empty string is too strict. 13409 Solution: Check for any string. (closes #7447) 13410 Files: src/typval.c, src/proto/typval.pro, src/errors.h, src/filepath.c, 13411 src/testdir/test_vim9_builtin.vim 13412 13413 Patch 8.2.2134 13414 Problem: Vim9: get E1099 when autocmd triggered in builtin function. 13415 Solution: Check that did_emsg increased instead of checking that it changed. 13416 (closes #7448) 13417 Files: src/vim9execute.c, src/testdir/test_vim9_func.vim 13418 13419 Patch 8.2.2135 13420 Problem: Vim9: #{ still seen as start of dict in some places. 13421 Solution: Remove check for { after #. (closes #7456) 13422 Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim 13423 13424 Patch 8.2.2136 13425 Problem: Vim9: Using uninitialized variable. 13426 Solution: Initialize "len" to zero. Clean up fnamemodify(). 13427 Files: src/filepath.c 13428 13429 Patch 8.2.2137 13430 Problem: Vim9: :echo and :execute give error for empty argument. 13431 Solution: Ignore an empty argument. (closes #7468) 13432 Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_script.vim, 13433 src/testdir/test_vim9_disassemble.vim 13434 13435 Patch 8.2.2138 13436 Problem: Vim9: "exit_cb" causes Vim to exit. 13437 Solution: Require white space after a command in Vim9 script. (closes #7467) 13438 Also fix that Vim9 style heredoc was not always recognized. 13439 Files: src/ex_cmds.h, src/ex_docmd.c, src/errors.h, src/userfunc.c, 13440 src/testdir/test_vim9_assign.vim, 13441 src/testdir/test_vim9_script.vim, src/testdir/test_let.vim 13442 13443 Patch 8.2.2139 13444 Problem: Vim9: unreachable code in assignment. 13445 Solution: Don't check "new_local" when "has_index" is set. Add test for 13446 wrong type of list index. 13447 Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim 13448 13449 Patch 8.2.2140 13450 Problem: Build failure with tiny features. 13451 Solution: Add #ifdef. 13452 Files: src/ex_docmd.c 13453 13454 Patch 8.2.2141 13455 Problem: A user command with try/catch may not catch an expression error. 13456 Solution: When an expression fails check for following "|". (closes #7469) 13457 Files: src/eval.c, src/testdir/test_trycatch.vim, 13458 src/testdir/test_vimscript.vim 13459 13460 Patch 8.2.2142 13461 Problem: Memory leak when heredoc is not terminated. 13462 Solution: Free heredoc_trimmed. 13463 Files: src/userfunc.c 13464 13465 Patch 8.2.2143 13466 Problem: Vim9: dead code in compiling :unlet. 13467 Solution: Don't check for "!" a second time. 13468 Files: src/vim9compile.c 13469 13470 Patch 8.2.2144 13471 Problem: Vim9: some corner cases not tested. 13472 Solution: Add a few tests. 13473 Files: src/testdir/test_vim9_script.vim, src/testdir/test_vim9_cmd.vim 13474 13475 Patch 8.2.2145 13476 Problem: Vim9: concatenating lists does not adjust type of result. 13477 Solution: When list member types differ use "any" member type. 13478 (closes #7473) 13479 Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim 13480 13481 Patch 8.2.2146 13482 Problem: Vim9: automatic conversion of number to string for dict key. 13483 Solution: Do not convert number to string. (closes #7474) 13484 Files: src/dict.c, src/testdir/test_vim9_expr.vim 13485 13486 Patch 8.2.2147 13487 Problem: Quickfix window title not updated in all tab pages. 13488 Solution: Update the quickfix window title in all tab pages. (Yegappan 13489 Lakshmanan, closes #7481, closes #7466) 13490 Files: src/quickfix.c, src/testdir/test_quickfix.vim 13491 13492 Patch 8.2.2148 13493 Problem: Vim9: crash when user command doesn't match. 13494 Solution: Adjust command index. (closes #7479) 13495 Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim 13496 13497 Patch 8.2.2149 13498 Problem: Popupwin test for latin1 sometimes fails. 13499 Solution: Wait for the script to finish. 13500 Files: src/testdir/test_popupwin.vim 13501 13502 Patch 8.2.2150 13503 Problem: Github actions CI isn't used for all available platforms. 13504 Solution: Update the github workflows. (Ozaki Kiichi, closes #7433) 13505 Files: .coveralls.yml, .github/workflows/ci-windows.yaml, 13506 .github/workflows/ci.yml, .travis.yml, README.md, 13507 ci/build-snd-dummy.sh, ci/setup-xvfb.sh 13508 13509 Patch 8.2.2151 13510 Problem: $dir not expanded when configure checks for moonjit. 13511 Solution: Use double quotes instead of single quotes. (closes #7478) 13512 Files: src/configure.ac, src/auto/configure 13513 13514 Patch 8.2.2152 13515 Problem: screenpos() does not include the WinBar offset. 13516 Solution: Use W_WINROW() instead of directly using w_window. (closes #7487) 13517 Files: src/move.c, src/testdir/test_cursor_func.vim 13518 13519 Patch 8.2.2153 13520 Problem: Popupwin test for latin1 still fails sometimes. 13521 Solution: Wait for the "cat" command to finish. 13522 Files: src/testdir/test_popupwin.vim 13523 13524 Patch 8.2.2154 13525 Problem: Popupwin test for terminal buffer fails sometimes. 13526 Solution: Wait for the prompt to appear. 13527 Files: src/testdir/test_popupwin.vim 13528 13529 Patch 8.2.2155 13530 Problem: Warning from Github actions for code analysis. 13531 Solution: Remove the "git checkout HEAD^2" block. 13532 Files: .github/workflows/codeql-analysis.yml 13533 13534 Patch 8.2.2156 13535 Problem: Github actions run on pushing a tag. 13536 Solution: Don't run CI on tag push. Omit coveralls on pull-request. 13537 (Ozaki Kiichi, closes #7489) 13538 Files: .github/workflows/ci.yml, .github/workflows/codeql-analysis.yml 13539 13540 Patch 8.2.2157 13541 Problem: Vim9: can delete a Vim9 script variable from a function. 13542 Solution: Check the variable is defined in Vim9 script. (closes #7483) 13543 Files: src/evalvars.c, src/testdir/test_vim9_assign.vim 13544 13545 Patch 8.2.2158 13546 Problem: CI on cirrus times out, coveralls doesn't always run. 13547 Solution: Set timeout to 20 minutes. Adjust condition. (closes #7493) 13548 Files: .cirrus.yml, .github/workflows/ci.yml 13549 13550 Patch 8.2.2159 13551 Problem: Vim9: when declaring a list it is not allocated yet, causing a 13552 following extend() to fail. 13553 Solution: When fetching a variable value for a list or dict that is null 13554 allocate the list or dict, so it can be used. (closes #7491) 13555 Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim 13556 13557 Patch 8.2.2160 13558 Problem: Various typos. 13559 Solution: Fix spelling mistakes. (closes #7494) 13560 Files: src/bufwrite.c, src/cindent.c, src/cmdexpand.c, src/eval.c, 13561 src/ex_cmds.c, src/feature.h, src/getchar.c, src/gui_haiku.cc, 13562 src/gui_xmdlg.c, src/help.c, src/if_ole.cpp, src/insexpand.c, 13563 src/list.c, src/map.c, src/memline.c, src/normal.c, 13564 src/os_win32.c, src/search.c, src/term.c, 13565 src/testdir/test_arglist.vim, src/testdir/test_autocmd.vim, 13566 src/testdir/test_debugger.vim, src/testdir/test_increment.vim, 13567 src/testdir/test_menu.vim, src/testdir/test_netbeans.vim, 13568 src/testdir/test_popupwin.vim, src/testdir/test_python2.vim, 13569 src/testdir/test_python3.vim, src/testdir/test_sort.vim, 13570 src/testdir/test_terminal2.vim, src/testdir/test_terminal3.vim, 13571 src/testdir/test_vartabs.vim, src/testdir/test_vimscript.vim, 13572 src/textprop.c, src/userfunc.c, src/vim9.h, src/vim9compile.c, 13573 src/vim9execute.c 13574 13575 Patch 8.2.2161 13576 Problem: Arguments -T and -x not tested yet. 13577 Solution: Add a test. (Dominique Pellé, closes #7490) 13578 Files: src/testdir/test_startup.vim 13579 13580 Patch 8.2.2162 13581 Problem: Vim9: Cannot load or store autoload variables. 13582 Solution: Add ISN_LOADAUTO and ISN_STOREAUTO. (closes #7485) 13583 Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/dict.c, 13584 src/eval.c, src/evalvars.c, src/proto/evalvars.pro, 13585 src/testdir/test_vim9_disassemble.vim, 13586 src/testdir/test_vim9_script.vim 13587 13588 Patch 8.2.2163 13589 Problem: Crash when discarded exception is the current exception. 13590 Solution: Compare the exception with current_exception. (closes #7499) 13591 Files: src/ex_eval.c 13592 13593 Patch 8.2.2164 13594 Problem: Vim9: autoload function doesn't work in script that starts with 13595 an upper case letter. 13596 Solution: Check for the autoload character. (closes #7502) 13597 Files: src/userfunc.c, src/testdir/test_vim9_script.vim 13598 13599 Patch 8.2.2165 13600 Problem: Vim9: assignment to dict member does not work. 13601 Solution: Fix recognizing dict member. (closes #7484) 13602 Files: src/ex_docmd.c, src/eval.c, src/evalvars.c, src/vim.h 13603 13604 Patch 8.2.2166 13605 Problem: Auto format doesn't work when deleting text. 13606 Solution: Make "x" trigger auto format. (closes #7504) 13607 Files: src/ops.c, src/testdir/test_textformat.vim 13608 13609 Patch 8.2.2167 13610 Problem: Vim9: assign test fails. (Elimar Riesebieter) 13611 Solution: Adjust the test for dict assignment. 13612 Files: src/testdir/test_vim9_assign.vim 13613 13614 Patch 8.2.2168 13615 Problem: Vim9: error for assigning to dict of dict. 13616 Solution: Remember the destination type. (closes #7506) 13617 Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim 13618 13619 Patch 8.2.2169 13620 Problem: Vim9: test leaves file behind. 13621 Solution: Rename script files. (Dominique Pellé, closes #7511) 13622 Use try/finally. 13623 Files: src/testdir/test_vim9_script.vim, src/testdir/vim9.vim 13624 13625 Patch 8.2.2170 13626 Problem: Vim9: a global function defined in a :def function fails if it 13627 uses the context. 13628 Solution: Create a partial to store the closure context. (see #7410) 13629 Files: src/userfunc.c, src/proto/userfunc.pro, src/vim9execute.c, 13630 src/structs.h, src/testdir/test_vim9_func.vim 13631 13632 Patch 8.2.2171 13633 Problem: Valgrind warning for using uninitialized value. 13634 Solution: Do not use "startp" or "endp" unless there is a match. 13635 Files: src/regexp_nfa.c 13636 13637 Patch 8.2.2172 13638 Problem: Vim9: number of arguments is not always checked. (Yegappan 13639 Lakshmanan) 13640 Solution: Check number of arguments when calling function by name. 13641 Files: src/userfunc.c, src/proto/userfunc.pro, src/vim9execute.c, 13642 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim 13643 13644 Patch 8.2.2173 13645 Problem: Vim9: get internal error when assigning to undefined variable. 13646 Solution: Add error message. (closes #7475) 13647 Files: src/vim9compile.c, src/vim9execute.c, src/errors.h, 13648 src/testdir/test_vim9_cmd.vim 13649 13650 Patch 8.2.2174 13651 Problem: Mac version doesn't specify the CPU architecture. 13652 Solution: Add "arm64" or "x86_64". (Yee Cheng Chin, closes #7519) 13653 Files: src/version.c 13654 13655 Patch 8.2.2175 13656 Problem: Github actions: clang-11 handling suboptimal. 13657 Solution: Separate step of installing clang-11. Get ubuntu release name 13658 dynamically. (Ozaki Kiichi, closes #7514) 13659 Files: .github/workflows/ci.yml 13660 13661 Patch 8.2.2176 13662 Problem: Crash with a sequence of fold commands. 13663 Solution: Bail out when there are no folds at all. Add a test (Dominique 13664 Pellé) (closes #7515) 13665 Files: src/fold.c, src/testdir/test_fold.vim 13666 13667 Patch 8.2.2177 13668 Problem: Pattern "^" does not match if the first character in the line is 13669 combining. (Rene Kita) 13670 Solution: Do accept a match at the start of the line. (closes #6963) 13671 Files: src/regexp_nfa.c, src/testdir/test_regexp_utf8.vim 13672 13673 Patch 8.2.2178 13674 Problem: Python 3: non-utf8 character cannot be handled. 13675 Solution: Change the string decode. (Björn Linse, closes #1053) 13676 Files: src/if_py_both.h, src/if_python.c, src/if_python3.c, 13677 src/testdir/test_python3.vim, src/testdir/test_python2.vim 13678 13679 Patch 8.2.2179 13680 Problem: Vim9: crash when indexing a dict with a number. 13681 Solution: Add ISN_STOREINDEX. (closes #7513) 13682 Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h, 13683 src/errors.h, src/testdir/test_vim9_assign.vim, 13684 src/testdir/test_vim9_disassemble.vim 13685 13686 Patch 8.2.2180 13687 Problem: Vim9: test for error after error is flaky. 13688 Solution: Wait for job to finish instead of a fixed delay. 13689 Files: src/testdir/test_vim9_script.vim 13690 13691 Patch 8.2.2181 13692 Problem: Valgrind warnings for using uninitialized value. 13693 Solution: Do not use "start" or "end" unless there is a match. 13694 Files: src/regexp_nfa.c, src/regexp_bt.c 13695 13696 Patch 8.2.2182 13697 Problem: Vim9: value of 'magic' is still relevant. 13698 Solution: Always behave like 'magic' is on in Vim9 script (closes #7509) 13699 Files: src/option.c, src/proto/option.pro, src/arglist.c, src/buffer.c, 13700 src/cmdexpand.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c, 13701 src/insexpand.c, src/normal.c, src/search.c, src/tag.c, 13702 src/structs.h, src/globals.h, src/ex_cmds.h, 13703 src/testdir/test_vim9_cmd.vim 13704 13705 Patch 8.2.2183 13706 Problem: Vim9: value of 'edcompatible' and 'gdefault' are used. 13707 Solution: Ignore these deprecated options in Vim9 script. (closes #7508) 13708 Files: src/ex_cmds.c, src/testdir/test_vim9_cmd.vim 13709 13710 Patch 8.2.2184 13711 Problem: Vim9: no error when using "2" for a line number. 13712 Solution: Give an error message if the line number is invalid. (closes #7492) 13713 Files: src/typval.c, src/evalfunc.c, src/testdir/test_vim9_builtin.vim, 13714 src/testdir/test_cursor_func.vim 13715 13716 Patch 8.2.2185 13717 Problem: BufUnload is not triggered for the quickfix dummy buffer. 13718 Solution: Do trigger BufUnload. (Pontus Leitzler, closes #7518, closes #7517) 13719 Fix white space around "=". 13720 Files: src/quickfix.c, src/testdir/test_autocmd.vim 13721 13722 Patch 8.2.2186 13723 Problem: Vim9: error when using 'opfunc'. 13724 Solution: Do not expect a return value from 'opfunc'. (closes #7510) 13725 Files: src/eval.c, src/proto/eval.pro, src/ops.c, 13726 src/testdir/test_vim9_func.vim 13727 13728 Patch 8.2.2187 13729 Problem: Python 3 test fails sometimes. (Christian Brabandt) 13730 Solution: Accept two SystemError messages. 13731 Files: src/testdir/test_python3.vim 13732 13733 Patch 8.2.2188 13734 Problem: Vim9: crash when calling global function from :def function. 13735 Solution: Set the outer context. Define the partial for the context on the 13736 original function. Use a refcount to keep track of which ufunc is 13737 using a dfunc. (closes #7525) 13738 Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9execute.c, 13739 src/proto/vim9execute.pro, src/userfunc.c, src/proto/userfunc.pro, 13740 src/structs.h, src/vim9.h, src/testdir/test_vim9_func.vim 13741 13742 Patch 8.2.2189 13743 Problem: Cannot repeat a command that uses the small delete register. 13744 Solution: Store the register name instead of the contents. (Christian 13745 Brabandt, closes #7527) 13746 Files: src/ops.c, src/register.c, src/testdir/test_registers.vim 13747 13748 Patch 8.2.2190 13749 Problem: Vim9: crash when compiled with EXITFREE. 13750 Solution: Check that df_ufunc is not NULL. 13751 Files: src/vim9compile.c, src/testdir/test_vim9_func.vim 13752 13753 Patch 8.2.2191 13754 Problem: Vim9: using wrong name with lambda in nested function. 13755 Solution: Copy the lambda name earlier. (closes #7525) 13756 Files: src/vim9compile.c, src/testdir/test_vim9_func.vim 13757 13758 Patch 8.2.2192 13759 Problem: Codecov on github actions fails. 13760 Solution: Revert to codecov script. (Ozaki Kiichi, closes #7529) 13761 Files: Filelist, .github/workflows/ci.yml 13762 13763 Patch 8.2.2193 13764 Problem: Vim9: can change constant in :def function. 13765 Solution: Check if a variable is locked. (issue #7526) 13766 Files: src/evalvars.c, src/proto/evalvars.pro, src/vim9execute.c, 13767 src/testdir/test_vim9_func.vim 13768 13769 Patch 8.2.2194 13770 Problem: Vim9: cannot use :const or :final at the script level. 13771 Solution: Support using :const and :final. (closes #7526) 13772 Files: src/vim.h, src/evalvars.c, src/testdir/test_vim9_assign.vim, 13773 src/testdir/test_vim9_func.vim 13774 13775 Patch 8.2.2195 13776 Problem: Failing tests for :const. 13777 Solution: Add missing check for ASSIGN_FINAL. 13778 Files: src/eval.c, src/evalvars.c, src/testdir/test_vim9_func.vim 13779 13780 Patch 8.2.2196 13781 Problem: :version output has extra spaces in compile and link command. 13782 Solution: Adjust QUOTESED. (closes #7505) 13783 Files: src/configure.ac, src/auto/configure 13784 13785 Patch 8.2.2197 13786 Problem: Assert arguments order reversed. 13787 Solution: Swap the arguments. (Christian Brabandt, closes #7531) 13788 Files: src/testdir/test_registers.vim 13789 13790 Patch 8.2.2198 13791 Problem: ml_get error when resizing window and using text property. 13792 Solution: Validate botline of the right window. (closes #7528) 13793 Files: src/move.c, src/proto/move.pro, src/textprop.c, 13794 src/testdir/test_textprop.vim 13795 13796 Patch 8.2.2199 13797 Problem: First write after setting 'eol' does not have NL added. (Tomáš 13798 Janoušek) 13799 Solution: Only use b_no_eol_lnum when doing a binary write. (closes #7535) 13800 Files: src/bufwrite.c, src/testdir/test_writefile.vim 13801 13802 Patch 8.2.2200 13803 Problem: Vim9: lambda without white space around -> is confusing. 13804 Solution: Require white space in a :def function. (issue #7503) 13805 Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim, 13806 src/testdir/test_vim9_disassemble.vim 13807 13808 Patch 8.2.2201 13809 Problem: Write file test fails on MS-Windows. 13810 Solution: Force edit after setting 'fileformat'. 13811 Files: src/testdir/test_writefile.vim 13812 13813 Patch 8.2.2202 13814 Problem: Write file test still fails on MS-Windows. 13815 Solution: Set fileformat with the :edit command 13816 Files: src/testdir/test_writefile.vim 13817 13818 Patch 8.2.2203 13819 Problem: Moodle gift files are not recognized. 13820 Solution: Add a filetype pattern. (Delim Temizer) 13821 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 13822 13823 Patch 8.2.2204 13824 Problem: Vim9: using -> both for method and lambda is confusing. 13825 Solution: Use => for lambda in :def function. 13826 Files: runtime/doc/vim9.txt, src/vim9compile.c, src/userfunc.c, 13827 src/testdir/test_vim9_expr.vim 13828 13829 Patch 8.2.2205 13830 Problem: Vim9: memory leak when parsing lambda fails. 13831 Solution: Clear growarrays. 13832 Files: src/userfunc.c 13833 13834 Patch 8.2.2206 13835 Problem: :exe command line completion only works for first argument. 13836 Solution: Skip over text if more is following. (closes #7546) 13837 Files: src/eval.c, src/testdir/test_cmdline.vim 13838 13839 Patch 8.2.2207 13840 Problem: Illegal memory access if popup menu items are changed while the 13841 menu is visible. (Tomáš Janoušek) 13842 Solution: Make a copy of the text. (closes #7537) 13843 Files: src/popupmenu.c, src/testdir/test_popup.vim, 13844 src/testdir/dumps/Test_popup_command_04.dump, 13845 src/testdir/dumps/Test_popup_command_05.dump 13846 13847 Patch 8.2.2208 13848 Problem: Vim9: after reloading a script variable index may be invalid. 13849 Solution: When the sequence number doesn't match give an error for using a 13850 script-local variable from a compiled function. (closes #7547) 13851 Files: src/vim9.h, src/structs.h, src/errors.h, src/vim9compile.c, 13852 src/vim9execute.c, src/scriptfile.c, 13853 src/testdir/test_vim9_script.vim 13854 13855 Patch 8.2.2209 13856 Problem: Vim9: return type of => lambda not parsed. 13857 Solution: Parse and use the return type. 13858 Files: src/vim9compile.c, src/userfunc.c, src/vim9type.c, 13859 src/proto/vim9type.pro, src/vim9script.c, src/eval.c, 13860 src/testdir/test_vim9_expr.vim 13861 13862 Patch 8.2.2210 13863 Problem: Vim9: allocating a type to set TTFLAG_BOOL_OK. 13864 Solution: Add t_number_bool. 13865 Files: src/globals.h, src/vim9type.c, src/vim9compile.c 13866 13867 Patch 8.2.2211 13868 Problem: MS-Windows: can't load Python dll if not in the path. 13869 Solution: Use the InstallPath registry entry. (Kelvin Lee, closes #7540) 13870 Files: src/if_python3.c 13871 13872 Patch 8.2.2212 13873 Problem: Vim9: lambda with => does not work at the script level. 13874 Solution: Make it work. 13875 Files: src/eval.c, src/vim9type.c, src/userfunc.c, 13876 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_expr.vim 13877 13878 Patch 8.2.2213 13879 Problem: Checking white space around -> is not backwards compatible. 13880 Solution: Only check white space around =>. 13881 Files: src/userfunc.c 13882 13883 Patch 8.2.2214 13884 Problem: ":e#" does not give a warning for missing white space. 13885 Solution: Adjust the check for white space. (closes #7545) 13886 Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim 13887 13888 Patch 8.2.2215 13889 Problem: Vim9: `=expr` not recognized in global command. 13890 Solution: Skip over pattern. (issue #7541) 13891 Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim 13892 13893 Patch 8.2.2216 13894 Problem: Vim9: range with missing colon can be hard to spot. 13895 Solution: Include the start of the range in the error. (closes #7543) 13896 Files: src/errors.h, src/ex_docmd.c, src/vim9compile.c, 13897 src/testdir/test_vim9_cmd.vim 13898 13899 Patch 8.2.2217 13900 Problem: Vim9: command modifiers not restored in catch block. 13901 Solution: Restore command modifiers. (closes #7542) 13902 Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim 13903 13904 Patch 8.2.2218 13905 Problem: Vim9: failure if passing more arguments to a lambda than expected. 13906 Solution: Only put expected arguments on the stack. (closes #7548) 13907 Files: src/vim9execute.c, src/testdir/test_vim9_builtin.vim 13908 13909 Patch 8.2.2219 13910 Problem: Vim9: method call with expression not supported. 13911 Solution: Implement expr->(expr)(). 13912 Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim 13913 13914 Patch 8.2.2220 13915 Problem: Vim9: memory leak when parsing nested parenthesis. 13916 Solution: Clear newargs. 13917 Files: src/userfunc.c 13918 13919 Patch 8.2.2221 13920 Problem: If <Down> is mapped on the command line 'wildchar' is inserted. 13921 Solution: Set KeyTyped when using 'wildchar'. (closes #7552) 13922 Files: src/cmdexpand.c, src/testdir/test_cmdline.vim 13923 13924 Patch 8.2.2222 13925 Problem: Vim9: cannot keep script variables when reloading. 13926 Solution: Add the "noclear" argument to :vim9script. 13927 Files: runtime/doc/vim9.txt, src/structs.h, src/scriptfile.c, 13928 src/vim9script.c, src/ex_cmds.h, src/ex_docmd.c, 13929 src/testdir/test_vim9_script.vim 13930 13931 Patch 8.2.2223 13932 Problem: Vim9: Reloading marks a :def function as deleted. 13933 Solution: Clear the function contents but keep the index. 13934 Files: runtime/doc/vim9.txt, src/vim9compile.c, src/userfunc.c, 13935 src/testdir/test_vim9_script.vim 13936 13937 Patch 8.2.2224 13938 Problem: Vim9: crash if script reloaded with different variable type. 13939 Solution: Check the type when accessing the variable. 13940 Files: src/vim9execute.c, src/vim9compile.c, src/vim9.h, src/vim9type.c, 13941 src/proto/vim9type.pro, src/errors.h, src/evalvars.c, 13942 src/vim9script.c, src/proto/vim9script.pro, 13943 src/testdir/test_vim9_script.vim 13944 13945 Patch 8.2.2225 13946 Problem: Vim9: error when using :import in legacy script twice. 13947 Solution: Make it possible to redefine an import when reloading. 13948 Files: src/vim9script.c, src/proto/vim9script.pro, src/structs.h, 13949 src/evalvars.c, src/vim9compile.c, 13950 src/testdir/test_vim9_script.vim 13951 13952 Patch 8.2.2226 13953 Problem: Vim9: script test fails. 13954 Solution: Add missing change. 13955 Files: src/scriptfile.c 13956 13957 Patch 8.2.2227 13958 Problem: Vim9: recognizing lambda is too complicated. 13959 Solution: Call compile_lambda() and check for NOTDONE. 13960 Files: src/vim9compile.c, src/userfunc.c, src/testdir/test_vim9_expr.vim 13961 13962 Patch 8.2.2228 13963 Problem: Vim9: cannot use ":e #" because # starts a comment. 13964 Solution: Support using %% instead of #. 13965 Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim 13966 13967 Patch 8.2.2229 13968 Problem: build failure without the +eval feature. 13969 Solution: Add #ifdef. 13970 Files: src/ex_docmd.c 13971 13972 Patch 8.2.2230 13973 Problem: Vim9: insert completion runs into error. 13974 Solution: Insert colon before range. (closes #7556) 13975 Files: src/insexpand.c, src/testdir/test_vim9_cmd.vim 13976 13977 Patch 8.2.2231 13978 Problem: When "--remote file" is used "file" is not reloaded. 13979 Solution: When a :drop command is used for a file that is already displayed 13980 in a window and it has not been changed, check if it needs to be 13981 reloaded. (closes #7560) 13982 Files: src/ex_cmds.c, src/testdir/test_clientserver.vim 13983 13984 Patch 8.2.2232 13985 Problem: Compiler error for falling through into next case. 13986 Solution: Move FALLTHROUGH below the #endif 13987 Files: src/ex_docmd.c 13988 13989 Patch 8.2.2233 13990 Problem: Cannot convert a byte index into a character index. 13991 Solution: Add charidx(). (Yegappan Lakshmanan, closes #7561) 13992 Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c, 13993 src/testdir/test_functions.vim 13994 13995 Patch 8.2.2234 13996 Problem: Command line wildmenu test often fails with Unix GUI. 13997 Solution: Skip the test where it is expected to fail. 13998 Files: src/testdir/test_cmdline.vim 13999 14000 Patch 8.2.2235 14001 Problem: Build failure with some Ruby versions. 14002 Solution: Adjust the code for Ruby 3.0. (Ozaki Kiichi, closes #7564) 14003 Files: ci/config.mk.clang.sed, src/if_ruby.c 14004 14005 Patch 8.2.2236 14006 Problem: 'scroll' option can change when setting the statusline or tabline 14007 but the option context is not updated. 14008 Solution: Update the script context when the scroll option is changed as a 14009 side effect. (Christian Brabandt, closes #7533) 14010 Files: runtime/doc/options.txt, src/scriptfile.c, 14011 src/testdir/test_options.vim, src/vim.h, src/window.c 14012 14013 Patch 8.2.2237 14014 Problem: CI on Mac fails in sed command. 14015 Solution: Set LC_ALL to "C". (Ozaki Kiichi, closes #7565) 14016 Files: .github/workflows/ci.yml 14017 14018 Patch 8.2.2238 14019 Problem: Vim9: cannot load a Vim9 script without the +eval feature. 14020 Solution: Support Vim9 script syntax without the +eval feature. 14021 Files: src/ex_docmd.c, src/vim9script.c, src/globals.h, src/main.c, 14022 src/autocmd.c, src/buffer.c, src/structs.h, src/menu.c, 14023 src/scriptfile.c, src/usercmd.c, src/proto.h, src/errors.h 14024 14025 Patch 8.2.2239 14026 Problem: Vim9: concatenating lines with backslash is inconvenient. 14027 Solution: Support concatenating lines starting with '|', useful for 14028 :autocmd, :command, etc. (closes #6702) 14029 Files: runtime/doc/vim9.txt, src/scriptfile.c, src/vim9script.c, 14030 src/proto/vim9script.pro, src/vim9compile.c, 14031 src/proto/vim9compile.pro, src/userfunc.c, src/structs.h, 14032 src/testdir/test_vim9_cmd.vim 14033 14034 Patch 8.2.2240 14035 Problem: Clientserver test fails if full path is used. 14036 Solution: Ignore the path preceding the file name. 14037 Files: src/testdir/test_clientserver.vim 14038 14039 Patch 8.2.2241 14040 Problem: Build with Ruby and clang may fail. 14041 Solution: Adjust configure and sed script. (Ozaki Kiichi, closes #7566) 14042 Files: ci/config.mk.clang.sed, src/auto/configure, src/configure.ac 14043 14044 Patch 8.2.2242 14045 Problem: Vim9: line continuation with bar does not work at script level. 14046 Solution: Check for Vim9 script. 14047 Files: src/structs.h, src/ex_docmd.c, src/userfunc.c, src/scriptfile.c, 14048 src/testdir/test_vim9_cmd.vim 14049 14050 Patch 8.2.2243 14051 Problem: Crash when popup mask contains zeroes. 14052 Solution: Check boundaries properly. (closes #7569) 14053 Files: src/popupwin.c, src/testdir/test_popupwin.vim 14054 14055 Patch 8.2.2244 14056 Problem: Crash when making the window width of the not-current window 14057 negative. 14058 Solution: Make sure the window width is not negative. (closes #7568) 14059 Files: src/window.c, src/testdir/test_window_cmd.vim 14060 14061 Patch 8.2.2245 14062 Problem: Vim9: return value of winrestcmd() cannot be executed. 14063 Solution: Put colons before each range. (closes #7571) 14064 Files: src/evalwindow.c, src/testdir/test_vim9_builtin.vim 14065 14066 Patch 8.2.2246 14067 Problem: Cursor keys not recognized at the hit-Enter prompt after executing 14068 an external command. 14069 Solution: Change the codes for the extra cursor keys. (closes #7562) 14070 Tune the delays to avoid test flakiness. 14071 Files: runtime/doc/term.txt, src/term.c, src/testdir/test_terminal3.vim 14072 14073 Patch 8.2.2247 14074 Problem: VMS: various smaller problems. 14075 Solution: Fix VMS building and other problems. (Zoltan Arpadffy) 14076 Files: src/term.c, src/gui_gtk_vms.h, src/os_vms_conf.h, src/gui_x11.c, 14077 src/Make_vms.mms, src/macros.h, src/gui.h, src/os_unix.h 14078 14079 Patch 8.2.2248 14080 Problem: ASAN error on exit with GUI. 14081 Solution: Check the window still has lines. (Christian Brabandt, 14082 closes #7573) 14083 Files: src/term.c 14084 14085 Patch 8.2.2249 14086 Problem: Termcodes test is flaky when used over ssh with X forwarding. 14087 Solution: Set 'mousetime' to a larger value. (Dominique Pellé, closes #7576, 14088 closes #7563) 14089 Files: src/testdir/test_termcodes.vim 14090 14091 Patch 8.2.2250 14092 Problem: Vim9: sublist is ambiguous. 14093 Solution: Require white space around the colon. (closes #7409) 14094 Files: src/vim9compile.c, src/eval.c, src/testdir/test_vim9_expr.vim, 14095 src/testdir/test_vim9_disassemble.vim 14096 14097 Patch 8.2.2251 14098 Problem: Test failures in legacy script. 14099 Solution: Check for Vim9 script. 14100 Files: src/eval.c 14101 14102 Patch 8.2.2252 14103 Problem: Vim9: crash when using lambda without return type in dict. 14104 Solution: Without a return type use t_unknown. (closes #7587) 14105 Files: src/vim9type.c, src/vim9compile.c, src/testdir/test_vim9_expr.vim 14106 14107 Patch 8.2.2253 14108 Problem: Vim9: expr test fails. 14109 Solution: Add missing assignment. 14110 Files: src/userfunc.c 14111 14112 Patch 8.2.2254 14113 Problem: Vim9: bool option type is number. 14114 Solution: Have get_option_value() return a different value for bool and 14115 number options. (closes #7583) 14116 Files: src/option.h, src/option.c, src/proto/option.pro, src/evalvars.c, 14117 src/if_mzsch.c, src/if_ruby.c, src/spell.c, src/typval.c, 14118 src/vim9compile.c, src/testdir/test_vim9_assign.vim, 14119 src/testdir/test_vim9_cmd.vim 14120 14121 Patch 8.2.2255 (after 8.2.2254) 14122 Problem: Tcl test fails. 14123 Solution: Change option handling. 14124 Files: src/if_tcl.c 14125 14126 Patch 8.2.2256 14127 Problem: Vim9: cannot use function( after line break in :def function. 14128 Solution: Check for "(" after "function". (closes #7581) 14129 Files: src/userfunc.c, src/testdir/test_vim9_func.vim 14130 14131 Patch 8.2.2257 14132 Problem: Vim9: using -> for lambda is ambiguous. 14133 Solution: Stop supporting ->, must use =>. 14134 Files: src/eval.c, src/vim9compile.c, src/testdir/test_vim9_assign.vim, 14135 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim, 14136 src/testdir/test_vim9_disassemble.vim, 14137 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim, 14138 src/testdir/test_vim9_script.vim 14139 14140 Patch 8.2.2258 14141 Problem: Not all OCaml related files are detected. 14142 Solution: Update OCaml file type detection. (Markus Mottl, closes #7590) 14143 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 14144 14145 Patch 8.2.2259 14146 Problem: Test_Executable() fails when using chroot. 14147 Solution: Ignore the difference between "sbin" and "bin". 14148 Files: src/testdir/test_functions.vim 14149 14150 Patch 8.2.2260 14151 Problem: Window resize test fails in very wide terminal. 14152 Solution: Resize using the 'columns' option. (Vladimir Lomov, closes #7592) 14153 Files: src/testdir/test_window_cmd.vim 14154 14155 Patch 8.2.2261 14156 Problem: Vim9: boolean option gets string type. 14157 Solution: Check for VAR_BOOL. (closes #7588) 14158 Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim 14159 14160 Patch 8.2.2262 14161 Problem: Vim9: converting bool to string prefixes v:. 14162 Solution: Do not use the v: prefix. 14163 Files: src/evalvars.c, src/testdir/test_vim9_expr.vim, 14164 src/testdir/test_vim9_disassemble.vim 14165 14166 Patch 8.2.2263 14167 Problem: Vim9: compilation error with try-catch in skipped block. 14168 Solution: Do not bail out when generate_instr() returns NULL. (closes #7584) 14169 Files: src/vim9compile.c, src/testdir/test_vim9_script.vim 14170 14171 Patch 8.2.2264 14172 Problem: Vim9: no error for mismatched :endfunc or :enddef. 14173 Solution: Check for the mismatch. (issue #7582) 14174 Files: src/errors.h, src/userfunc.c, src/testdir/test_vim9_func.vim 14175 14176 Patch 8.2.2265 14177 Problem: Error message for missing endfunc/enddef is last line. 14178 Solution: Report the line where the function starts. (closes #7582) 14179 Files: src/userfunc.c, src/testdir/test_vim9_func.vim 14180 14181 Patch 8.2.2266 14182 Problem: Vim9: it can be hard to see where white space is missing. 14183 Solution: Mention the text where the error was seen. (closes #7580) 14184 Files: src/errors.h, src/eval.c, src/evalvars.c, src/userfunc.c, 14185 src/vim9compile.c, src/testdir/test_vim9_expr.vim 14186 14187 Patch 8.2.2267 14188 Problem: Vim9: cannot use unlet for a dict member. 14189 Solution: Pass GLV_NO_DECL to get_lval(). (closes #7585) 14190 Files: src/evalvars.c, src/testdir/test_vim9_assign.vim 14191 14192 Patch 8.2.2268 14193 Problem: Vim9: list unpack seen as declaration. 14194 Solution: Check for "var". (closes #7594) 14195 Files: src/vim9compile.c, src/evalvars.c, src/eval.c, src/vim.h, 14196 src/vim9execute.c, src/testdir/test_vim9_assign.vim 14197 14198 Patch 8.2.2269 14199 Problem: Not all :hardcopy code covered by tests. 14200 Solution: Test more combinations. (Dominique Pellé, closes #7595) 14201 Files: src/testdir/test_hardcopy.vim 14202 14203 Patch 8.2.2270 14204 Problem: Warning for size_t to int conversion. (Randall W. Morris) 14205 Solution: Add a type cast. 14206 Files: src/vim9execute.c 14207 14208 Patch 8.2.2271 14209 Problem: ml_get error when changing hidden buffer in Python. 14210 Solution: Block updating folds. (closes #7598) 14211 Files: src/evalbuffer.c, src/testdir/test_python3.vim 14212 14213 Patch 8.2.2272 14214 Problem: Vim9: extend() can violate the type of a variable. 14215 Solution: Add the type to the dictionary or list and check items against it. 14216 (closes #7593) 14217 Files: src/structs.h, src/evalvars.c, src/dict.c, src/list.c, 14218 src/vim9script.c, src/proto/vim9script.pro, src/vim9compile.c, 14219 src/vim9execute.c, src/testdir/test_vim9_builtin.vim, 14220 src/testdir/test_vim9_disassemble.vim 14221 14222 Patch 8.2.2273 14223 Problem: Build failure. 14224 Solution: Add missing changes to header file. 14225 Files: src/vim9.h 14226 14227 Patch 8.2.2274 14228 Problem: badge for Travis is outdated. 14229 Solution: Update badge for move from travis-ci.org to travis-ci.com. 14230 Files: README.md 14231 14232 Patch 8.2.2275 14233 Problem: CTRL-C not recognized in Mintty. 14234 Solution: Recognize the modifyOtherKeys code ending in "u". (Christian 14235 Brabandt, closes #7575) 14236 Files: src/ui.c 14237 14238 Patch 8.2.2276 14239 Problem: List of distributed files is outdated. 14240 Solution: Update the file list. Minor comment updates. 14241 Files: Filelist, src/clipboard.c, src/fileio.c, src/option.c, 14242 src/screen.c, src/testdir/test_signals.vim, 14243 src/testdir/Make_vms.mms 14244 14245 Patch 8.2.2277 14246 Problem: Missing backslash. 14247 Solution: Add backslash. 14248 Files: Filelist 14249 14250 Patch 8.2.2278 14251 Problem: Falling back to old regexp engine can some patterns. 14252 Solution: Do not fall back once [[:lower:]] or [[:upper:]] is used. 14253 (Christian Brabandt, closes #7572) 14254 Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test_regexp_utf8.vim 14255 14256 Patch 8.2.2279 14257 Problem: Vim9: memory leak with catch in skipped block. 14258 Solution: Free the pattern if not used. 14259 Files: src/vim9compile.c 14260 14261 Patch 8.2.2280 14262 Problem: Fuzzy matching doesn't give access to the scores. 14263 Solution: Return the scores with a third list. (Yegappan Lakshmanan, 14264 closes #7596) 14265 Files: runtime/doc/eval.txt, src/search.c, 14266 src/testdir/test_matchfuzzy.vim 14267 14268 Patch 8.2.2281 14269 Problem: Vim9: compiled "wincmd" cannot be followed by bar. 14270 Solution: Check for bar after "wincmd". (closes #7599) 14271 Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim 14272 14273 Patch 8.2.2282 14274 Problem: Length check mismatch with argument of strncmp(). (Christian 14275 Brabandt) 14276 Solution: Adjust length check. 14277 Files: src/ui.c 14278 14279 Patch 8.2.2283 14280 Problem: Vim9: crash when lambda has fewer arguments than expected. 14281 Solution: Don't check arguments when already failed. (closes #7606) 14282 Files: src/vim9type.c, src/testdir/test_vim9_func.vim 14283 14284 Patch 8.2.2284 14285 Problem: Vim9: cannot set an option to a boolean value. 14286 Solution: Check for VAR_BOOL. (closes #7603) 14287 Files: src/evalvars.c, src/testdir/test_vim9_builtin.vim 14288 14289 Patch 8.2.2285 14290 Problem: Vim9: cannot set an option to a false. 14291 Solution: For VAR_BOOL use string "0". (closes #7603) 14292 Files: src/evalvars.c, src/testdir/test_vim9_builtin.vim 14293 14294 Patch 8.2.2286 14295 Problem: Sort test fails when locale is Canadian English. (Neil H Watson) 14296 Solution: Expect a different sort order. (closes #7609) 14297 Files: src/testdir/test_sort.vim 14298 14299 Patch 8.2.2287 14300 Problem: Sort test fails when locale is French Canadian. 14301 Solution: Expect a different sort order. (Dominique Pellé, closes #7609) 14302 Files: src/testdir/test_sort.vim 14303 14304 Patch 8.2.2288 14305 Problem: Vim9: line break and comment not always skipped. 14306 Solution: Skip over white space and then line break more consistently. 14307 (closes #7610) 14308 Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim 14309 14310 Patch 8.2.2289 14311 Problem: Vim9: 'cpo' can become empty. 14312 Solution: Use empty_option instead of an empty string. Update quickfix 14313 buffer after restoring 'cpo'. (closes #7608) 14314 Files: src/evalfunc.c, src/syntax.c, src/eval.c, src/quickfix.c, 14315 src/evalbuffer.c, src/ex_eval.c, src/gui_motif.c, src/map.c, 14316 src/testdir/test_quickfix.vim 14317 14318 Patch 8.2.2290 14319 Problem: Vim9: unlet of global variable cannot be compiled. 14320 Solution: Skip over variables that might be defined later. Give an error if 14321 a subscript is found. (closes #7585) 14322 Files: src/eval.c, src/vim9compile.c, src/vim.h, 14323 src/testdir/test_vim9_assign.vim 14324 14325 Patch 8.2.2291 14326 Problem: Vim9: cannot use "null" for v:null. 14327 Solution: Support "null" like "true" and "false". (closes #7495) 14328 Files: runtime/doc/vim9.txt, src/vim9compile.c, src/evalvars.c, 14329 src/testdir/test_vim9_expr.vim 14330 14331 Patch 8.2.2292 14332 Problem: Vim: expr test fails. 14333 Solution: Add missing part of "null" support. 14334 Files: src/eval.c 14335 14336 Patch 8.2.2293 14337 Problem: Build failure with Motif. (Tony Mechelynck) 14338 Solution: Use empty_option instead of empty_options. 14339 Files: src/gui_motif.c 14340 14341 Patch 8.2.2294 14342 Problem: VMS: a few remaining problems. 14343 Solution: Add VMS specific changes. Add Lua support. (Zoltan Arpadffy) 14344 Files: src/fileio.c, src/os_vms_conf.h, src/Make_vms.mms, src/macros.h, 14345 src/os_vms.c, src/vim9execute.c, src/gui_xmebw.c, src/os_unix.h 14346 14347 Patch 8.2.2295 14348 Problem: Incsearch does not detect empty pattern properly. 14349 Solution: Return magic state when skipping over a pattern. (Christian 14350 Brabandt, closes #7612, closes #6420) 14351 Files: src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c, src/globals.h, 14352 src/option.c, src/tag.c, src/proto/regexp.pro, src/regexp.c, 14353 src/search.c, src/structs.h, src/vim9compile.c, 14354 src/testdir/dumps/Test_incsearch_sub_01.dump, 14355 src/testdir/dumps/Test_incsearch_sub_02.dump, 14356 src/testdir/test_search.vim 14357 14358 Patch 8.2.2296 14359 Problem: Cannot use CTRL-N and CTRL-P in a popup menu. 14360 Solution: Use CTRL-N like <Down> and CTRL-P like <Up>. (closes #7614) 14361 Files: runtime/doc/popup.txt, src/popupwin.c, 14362 src/testdir/test_popupwin.vim 14363 14364 Patch 8.2.2297 14365 Problem: Vim9: cannot set 'number' to a boolean value. 14366 Solution: Use tv_get_bool(). (closes #7615) 14367 Files: src/evalvars.c, src/testdir/test_vim9_assign.vim 14368 14369 Patch 8.2.2298 14370 Problem: Vim9: comment right after "(" of function not recognized. 14371 Solution: Do not skip over white space before calling get_function_args(). 14372 (closes #7613) 14373 Files: src/userfunc.c, src/proto/userfunc.pro, 14374 src/testdir/test_vim9_func.vim 14375 14376 Patch 8.2.2299 14377 Problem: Vim9: invalid memory access making error message flaky. 14378 Solution: Do not check cmd_argt for CMD_USER. (issue #7467) 14379 Files: src/ex_docmd.c, src/vim9execute.c, src/errors.h, 14380 src/vim9compile.c, src/testdir/test_vim9_cmd.vim 14381 14382 Patch 8.2.2300 14383 Problem: Vim9: wrong order on type stack when using dict. 14384 Solution: Generate constants before a dict. (closes #7619) 14385 Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim 14386 14387 Patch 8.2.2301 14388 Problem: Vim9: cannot unlet a dict or list item. 14389 Solution: Add ISN_UNLETINDEX. Refactor assignment code to use for unlet. 14390 Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, 14391 src/testdir/test_vim9_assign.vim 14392 14393 Patch 8.2.2302 14394 Problem: Vim9: using an option value may use uninitialized memory. 14395 Solution: Clear v_lock. (closes #7620) 14396 Files: src/typval.c, src/testdir/test_vim9_expr.vim 14397 14398 Patch 8.2.2303 14399 Problem: Vim9: backtick expansion doesn't work for :foldopen. 14400 Solution: Do recognize backtick expansion. (closes #7621) 14401 Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim 14402 14403 Patch 8.2.2304 14404 Problem: Vim9: no test for unletting an imported variable. 14405 Solution: Add a test. Fix line number in error. 14406 Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim 14407 14408 Patch 8.2.2305 14409 Problem: Vim9: "++var" and "--var" are silently accepted. 14410 Solution: Give an error message. 14411 Files: src/vim9compile.c, src/eval.c, src/proto/eval.pro, 14412 src/testdir/test_vim9_expr.vim 14413 14414 Patch 8.2.2306 14415 Problem: Vim9: when using function reference type is not checked. 14416 Solution: When using a function reference lookup the type and check the 14417 argument types. (issue #7629) 14418 Files: src/userfunc.c, src/proto/userfunc.pro, src/eval.c, src/structs.h, 14419 src/vim9type.c, src/proto/vim9type.pro, src/vim9compile.c, 14420 src/vim9execute.c, src/evalvars.c, src/evalfunc.c, 14421 src/testdir/test_vim9_func.vim 14422 14423 Patch 8.2.2307 14424 Problem: A shell command in the vimrc causes terminal output. 14425 Solution: Do not call starttermcap() after a shell command if the termcap 14426 wasn't active before. 14427 Files: src/ex_cmds.c 14428 14429 Patch 8.2.2308 14430 Problem: Vim9: no error when assigning lambda to funcref without return 14431 value. 14432 Solution: Default return value to "any". (closes #7629) 14433 Files: src/userfunc.c, src/vim9compile.c, 14434 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_func.vim 14435 14436 Patch 8.2.2309 14437 Problem: 0o777 not recognized as octal. 14438 Solution: Use vim_isodigit(). (Ken Takata, closes #7633, closes #7631) 14439 Files: src/charset.c, src/testdir/test_eval_stuff.vim 14440 14441 Patch 8.2.2310 14442 Problem: Vim9: winsaveview() return type is too generic. 14443 Solution: use dict<number> instead of dict<any>. (closes #7626) 14444 Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim 14445 14446 Patch 8.2.2311 14447 Problem: Vim9: cannot assign to a variable that shadows a command modifier. 14448 Solution: Check for assignment after possible command modifier. 14449 (closes #7632) 14450 Files: src/vim9compile.c, src/ex_docmd.c, 14451 src/testdir/test_vim9_assign.vim 14452 14453 Patch 8.2.2312 14454 Problem: Build failure with Ruby 3.0 and 32 bits. 14455 Solution: Add #ifdef. (closes #7638) 14456 Files: src/if_ruby.c 14457 14458 Patch 8.2.2313 14459 Problem: Vim9: using uninitialized field when parsing range. ":silent!" not 14460 respected when parsing range fails. 14461 Solution: Initialize ea.skip. On pattern failure handle it like an error. 14462 (closes #7636) 14463 Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim 14464 14465 Patch 8.2.2314 14466 Problem: Vim9: returning zero takes two instructions. 14467 Solution: Add ISN_RETURN_ZERO. 14468 Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, 14469 src/testdir/test_vim9_disassemble.vim 14470 14471 Patch 8.2.2315 14472 Problem: Vim9: "enddef" as dict key misinterpreted as function end. 14473 Solution: Check for following colon. (closes #7640) 14474 Files: src/userfunc.c, src/testdir/test_vim9_func.vim 14475 14476 Patch 8.2.2316 14477 Problem: Vim9: cannot list a lambda function. 14478 Solution: Support the <lambda>9 notation, like :disassemble. (closes #7634) 14479 Files: src/userfunc.c, src/testdir/test_vim9_func.vim 14480 14481 Patch 8.2.2317 14482 Problem: Vim9: command modifier before list unpack doesn't work. 14483 Solution: Only recognize "[" directly after the name. (closes #7641) 14484 Files: src/ex_docmd.c, src/testdir/test_vim9_assign.vim 14485 14486 Patch 8.2.2318 14487 Problem: Vim9: string and list index work differently. 14488 Solution: Make string index work like list index. (closes #7643) 14489 Files: src/eval.c, src/proto/eval.pro, src/vim9execute.c, src/list.c, 14490 src/proto/vim9execute.pro, src/testdir/test_vim9_expr.vim 14491 14492 Patch 8.2.2319 14493 Problem: "exptype_T" can be read as "expected type". 14494 Solution: Rename to "exprtype_T", expression type. 14495 Files: src/eval.c, src/typval.c, src/proto/typval.pro, src/vim9compile.c, 14496 src/proto/vim9compile.pro, src/vim9execute.c, src/structs.h, 14497 src/vim9.h 14498 14499 Patch 8.2.2320 14500 Problem: Vim9: no error for comparing bool with string. 14501 Solution: Check for wrong types when comparing. (closes #7639) 14502 Files: src/typval.c, src/errors.h, src/testdir/test_vim9_expr.vim 14503 14504 Patch 8.2.2321 14505 Problem: Vim9: cannot nest closures. 14506 Solution: Add the nesting level to ISN_LOADOUTER and ISN_STOREOUTER. 14507 (closes #7150, closes #7635) 14508 Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/structs.h, 14509 src/testdir/test_vim9_disassemble.vim, 14510 src/testdir/test_vim9_func.vim 14511 14512 Patch 8.2.2322 14513 Problem: Vim9: closure nested limiting to one level. 14514 Solution: Add outer_T. Also make STOREOUTER work. 14515 Files: src/vim9execute.c, src/vim9.h, src/structs.h, 14516 src/testdir/test_vim9_func.vim 14517 14518 Patch 8.2.2323 14519 Problem: Vim9: error when inferring type from empty dict/list. 14520 Solution: When the member is t_unknown use t_any. (closes #7009) 14521 Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim 14522 14523 Patch 8.2.2324 14524 Problem: Not easy to get mark en cursor position by character count. 14525 Solution: Add functions that use character index. (Yegappan Lakshmanan, 14526 closes #7648) 14527 Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/eval.c, 14528 src/evalfunc.c, src/proto/eval.pro, src/tag.c, 14529 src/testdir/test_cursor_func.vim, src/typval.c 14530 14531 Patch 8.2.2325 14532 Problem: Vim9: crash if map() changes the item type. 14533 Solution: Check that the item type is still OK. (closes #7652) 14534 Fix problem with mapnew() on range list. 14535 Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9compile.c, 14536 src/list.c, src/testdir/test_vim9_builtin.vim, 14537 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim 14538 14539 Patch 8.2.2326 14540 Problem: Build error with +eval feature but without +spell. 14541 Solution: Adjust #ifdef. (John Marriott) 14542 Files: src/mbyte.c 14543 14544 Patch 8.2.2327 14545 Problem: Debugging code included. 14546 Solution: Remove the debugging code. 14547 Files: src/vim9execute.c 14548 14549 Patch 8.2.2328 14550 Problem: Some test files may not be deleted. 14551 Solution: Add a delete() call, correct name. (Dominique Pellé, closes #7654) 14552 Files: src/testdir/test_clientserver.vim, 14553 src/testdir/test_vim9_script.vim 14554 14555 Patch 8.2.2329 14556 Problem: Not all ways Vim can be started are tested. 14557 Solution: Add a test for different program names. (Dominique Pellé, 14558 closes #7651) 14559 Files: src/testdir/test_startup.vim 14560 14561 Patch 8.2.2330 14562 Problem: Vim9: crash when using :trow in a not executed block. 14563 Solution: Don't generate the instruction when skipping. (closes #7659) 14564 Files: src/vim9compile.c, src/testdir/test_vim9_script.vim 14565 14566 Patch 8.2.2331 14567 Problem: Vim9: wrong error when modifying dict declared with :final. 14568 Solution: Do not check for writable variable when an index follows. 14569 (closes #7657) 14570 Files: src/vim9compile.c, src/structs.h, src/vim9script.c, 14571 src/proto/vim9script.pro, src/evalvars.c, 14572 src/testdir/test_vim9_assign.vim 14573 14574 Patch 8.2.2332 14575 Problem: Vim9: missing :endif not reported when using :windo. 14576 Solution: Pass a getline function to do_cmdline(). (closes #7650) 14577 Files: src/vim9execute.c, src/structs.h, src/scriptfile.c, 14578 src/testdir/test_vim9_cmd.vim 14579 14580 Patch 8.2.2333 14581 Problem: Vim9: warning for uninitialized variable. (Tony Mechelynck) 14582 Solution: Initialize "res". 14583 Files: src/vim9execute.c 14584 14585 Patch 8.2.2334 14586 Problem: Pascal-like filetypes not always detected. 14587 Solution: Improved Puppet, InstantFPC and Pascal detection. (Doug Kearns, 14588 closes #7662) 14589 Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim, 14590 runtime/scripts.vim, src/testdir/test_filetype.vim 14591 14592 Patch 8.2.2335 14593 Problem: Vim9: "silent return" does not restore command modifiers. 14594 Solution: Restore command modifiers before returning. (closes #7649) 14595 Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim 14596 14597 Patch 8.2.2336 14598 Problem: Vim9: it is not possible to extend a dictionary with different 14599 item types. 14600 Solution: Add extendnew(). (closes #7666) 14601 Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c, 14602 src/list.c, src/proto/list.pro, src/testdir/test_listdict.vim, 14603 src/testdir/test_vim9_builtin.vim 14604 14605 Patch 8.2.2337 14606 Problem: Configure test for GTK only says "no". (Harm te Hennepe) 14607 Solution: Hint that a -def package is needed. (closes #5229) 14608 Files: src/configure.ac, src/auto/configure 14609 14610 Patch 8.2.2338 14611 Problem: Vim9: no error if using job_info() result wrongly. 14612 Solution: Adjust return type on number of arguments. (closes #7667) 14613 Files: src/evalfunc.c, src/globals.h, src/testdir/test_vim9_builtin.vim 14614 14615 Patch 8.2.2339 14616 Problem: Cannot get the type of a value as a string. 14617 Solution: Add typename(). 14618 Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c, 14619 src/vim9type.c, src/proto/vim9type.pro, 14620 src/testdir/test_vimscript.vim, src/testdir/test_vim9_builtin.vim 14621 14622 Patch 8.2.2340 14623 Problem: win_execute() unexpectedly returns number zero when failing. 14624 Solution: Return an empty string. (closes #7665) 14625 Files: src/evalwindow.c, src/testdir/test_vim9_builtin.vim, 14626 src/testdir/test_execute_func.vim 14627 14628 Patch 8.2.2341 14629 Problem: Expression command line completion shows variables but not 14630 functions after "g:". (Gary Johnson) 14631 Solution: Prefix "g:" when needed to a global function. 14632 Files: src/evalfunc.c, src/evalvars.c, src/proto/evalvars.pro, 14633 src/testdir/test_cmdline.vim 14634 14635 Patch 8.2.2342 14636 Problem: "char" functions return the wrong column in Insert mode when the 14637 cursor is beyond the end of the line. 14638 Solution: Compute the column correctly. (Yegappan Lakshmanan, closes #7669) 14639 Files: src/eval.c, src/evalfunc.c, src/testdir/test_cursor_func.vim 14640 14641 Patch 8.2.2343 14642 Problem: Vim9: return type of readfile() is any. 14643 Solution: Add readblob() so that readfile() can be expected to always 14644 return a list of strings. (closes #7671) 14645 Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c, 14646 src/filepath.c, src/proto/filepath.pro, 14647 src/testdir/test_vim9_builtin.vim 14648 14649 Patch 8.2.2344 14650 Problem: Using inclusive index for slice is not always desired. 14651 Solution: Add the slice() method, which has an exclusive index. (closes 14652 #7408) 14653 Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c, 14654 src/eval.c, src/proto/eval.pro, src/vim9execute.c, 14655 src/proto/vim9execute.pro, src/list.c, src/proto/list.pro, 14656 src/testdir/test_vim9_builtin.vim 14657 14658 Patch 8.2.2345 14659 Problem: No focus events in a terminal. 14660 Solution: Add the t_fd and t_fe termcap entries and implement detecting 14661 focus events. (Hayaki Saito, Magnus Groß, closes #7673, 14662 closes #609, closes #5526) 14663 Files: runtime/doc/term.txt, src/optiondefs.h, src/term.c, src/term.h 14664 14665 Patch 8.2.2346 14666 Problem: Codecov reports every little coverage drop. 14667 Solution: Tolerate a 0.05% drop. Hide the appveyor config file. (Ozaki 14668 Kiichi, closes #7678) 14669 Files: .appveyor.yml, appveyor.yml, .codecov.yml 14670 14671 Patch 8.2.2347 14672 Problem: Build failure without GUI. 14673 Solution: Add #ifdef. 14674 Files: src/term.c 14675 14676 Patch 8.2.2348 (after 8.2.2345) 14677 Problem: No check for modified files after focus gained. (Mathias Stearn) 14678 Solution: Call ui_focus_change(). 14679 Files: src/term.c, src/ui.c 14680 14681 Patch 8.2.2349 14682 Problem: Vim9: cannot handle line break after parenthesis at line end. 14683 Solution: Skip over line break. (closes #7677) 14684 Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim 14685 14686 Patch 8.2.2350 14687 Problem: Using "void" for no reason. 14688 Solution: Use "char *". 14689 Files: src/ex_docmd.c 14690 14691 Patch 8.2.2351 14692 Problem: Vim9: error message for "throw" in function that was called with 14693 "silent!". 14694 Solution: Do not throw the exception when not caught or displayed. 14695 (closes #7672) 14696 Files: src/vim9execute.c, src/testdir/test_vim9_script.vim 14697 14698 Patch 8.2.2352 14699 Problem: If the focus lost/gained escape sequence is received twice it is 14700 not ignored. (Christ van Willegen) 14701 Solution: Adjust the logic to ignore the escape code. 14702 Files: src/term.c 14703 14704 Patch 8.2.2353 14705 Problem: Sparql files are not detected. 14706 Solution: Add the sparql filetype. (closes #7679) 14707 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 14708 14709 Patch 8.2.2354 14710 Problem: Crash with a weird combination of autocommands. 14711 Solution: Increment b_nwindows when needed. (closes #7674) 14712 Files: src/ex_cmds.c, src/buffer.c, src/proto/buffer.pro, 14713 src/testdir/test_autocmd.vim 14714 14715 Patch 8.2.2355 14716 Problem: Stray test failure on Appveyor. 14717 Solution: Finish insert command. 14718 Files: src/testdir/test_autocmd.vim 14719 14720 Patch 8.2.2356 14721 Problem: Vim9: ":put =expr" does not handle a list properly. 14722 Solution: Use the same logic as eval_to_string_eap(). (closes #7684) 14723 Files: src/vim9execute.c, src/eval.c, src/proto/eval.pro, 14724 src/testdir/test_vim9_cmd.vim 14725 14726 Patch 8.2.2357 14727 Problem: Vim9: crash when parsing function return type fails. 14728 Solution: Bail out and set return type to "unknown". (closes #7685) 14729 Files: src/userfunc.c, src/testdir/test_vim9_func.vim 14730 14731 Patch 8.2.2358 14732 Problem: Wrong #ifdef for use_xterm_like_mouse(). 14733 Solution: Use FEAT_MOUSE_XTERM. 14734 Files: src/term.c 14735 14736 Patch 8.2.2359 14737 Problem: Strange test failure with MS-Windows. 14738 Solution: Skip the system() call for now. 14739 Files: src/testdir/test_autocmd.vim 14740 14741 Patch 8.2.2360 14742 Problem: Test leaves file behind. 14743 Solution: Delete the right file. (Dominique Pellé, closes #7689) 14744 Files: src/testdir/test_filetype.vim 14745 14746 Patch 8.2.2361 14747 Problem: Vim9: no highlight for "s///gc" when using 'opfunc'. 14748 Solution: Reset 'lazyredraw' temporarily. (closes #7687) 14749 Files: src/ex_cmds.c 14750 14751 Patch 8.2.2362 14752 Problem: Vim9: check of builtin function argument type is incomplete. 14753 Solution: Use need_type() instead of check_arg_type(). 14754 Files: src/vim9compile.c, src/proto/vim9compile.pro, src/evalfunc.c, 14755 src/proto/evalfunc.pro, src/vim9type.c, src/proto/vim9type.pro, 14756 src/testdir/test_vim9_builtin.vim 14757 14758 Patch 8.2.2363 14759 Problem: curpos() does not accept a string argument as before. 14760 solution: Make a string argument work again. (Yegappan Lakshmanan, 14761 closes #7690) 14762 Files: src/evalfunc.c, src/testdir/test_cursor_func.vim 14763 14764 Patch 8.2.2364 14765 Problem: Vim9: line break in lambda accesses freed memory. 14766 Solution: Make a copy of the return type. (closes #7664) 14767 Files: src/userfunc.c, src/testdir/test_vim9_func.vim 14768 14769 Patch 8.2.2365 14770 Problem: Vim9: no check for map() changing item type at script level. 14771 Solution: Check the new value type. 14772 Files: src/list.c, src/testdir/test_vim9_builtin.vim, 14773 src/testdir/test_vim9_assign.vim 14774 14775 Patch 8.2.2366 14776 Problem: When using ":sleep" the cursor is always displayed. 14777 Solution: Do not display the cursor when using ":sleep!". (Jeremy Lerner, 14778 closes #7688) 14779 Files: runtime/doc/index.txt, runtime/doc/various.txt, src/ex_cmds.h, 14780 src/ex_docmd.c, src/normal.c, src/proto/ex_docmd.pro, src/term.c, 14781 src/testdir/Make_all.mak, src/testdir/test_sleep.vim 14782 14783 Patch 8.2.2367 14784 Problem: Test failures on some less often used systems. 14785 Solution: Adjust printf formats and types. (James McCoy, closes #7691) 14786 Files: src/errors.h, src/evalfunc.c, src/list.c, src/vim9execute.c 14787 14788 Patch 8.2.2368 14789 Problem: Insufficient tests for setting options. 14790 Solution: Add a few tests. (Dominique Pellé, closes #7695) 14791 Files: src/testdir/test_options.vim 14792 14793 Patch 8.2.2369 14794 Problem: Vim9: functions return true/false but can't be used as bool. 14795 Solution: Add ret_number_bool(). (closes #7693) 14796 Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim, 14797 src/testdir/test_vim9_disassemble.vim 14798 14799 Patch 8.2.2370 14800 Problem: Vim9: command fails in catch block. 14801 Solution: Reset force_abort and need_rethrow. (closes #7692) 14802 Files: src/vim9execute.c, src/testdir/test_vim9_script.vim 14803 14804 Patch 8.2.2371 14805 Problem: Vim9: crash when using types in :for with unpack. 14806 Solution: Check for skip_var_list() failing. Pass include_type to 14807 skip_var_one(). Skip type when compiling. (closes #7694) 14808 Files: src/vim9compile.c, src/evalvars.c, 14809 src/testdir/test_vim9_script.vim 14810 14811 Patch 8.2.2372 (after 8.2.2371) 14812 Problem: Confusing error message for wrong :let command. 14813 Solution: Only check for type in Vim9 script. 14814 Files: src/evalvars.c 14815 14816 Patch 8.2.2373 14817 Problem: Vim9: list assignment only accepts a number index. 14818 Solution: Accept "any" and do a runtime type check. (closes #7694) 14819 Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim 14820 14821 Patch 8.2.2374 14822 Problem: Accessing uninitialized memory in test_undo. 14823 Solution: Do not look in typebuf.tb_buf if it is empty. (Dominique Pellé, 14824 closes #7697) 14825 Files: src/edit.c 14826 14827 Patch 8.2.2375 14828 Problem: Test for RGB color skipped in the terminal. 14829 Solution: Run the GUI if possible. 14830 Files: src/testdir/test_highlight.vim 14831 14832 Patch 8.2.2376 14833 Problem: Vim9: crash when dividing by zero in compiled code using 14834 constants. 14835 Solution: Call num_divide() and num_modulus(). (closes #7704) 14836 Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim 14837 14838 Patch 8.2.2377 14839 Problem: Vim9: crash when using a range after another expression. 14840 Solution: Set the variable type to number. Fix using :put with a range and 14841 the "=" register. (closes #7706) 14842 Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim 14843 14844 Patch 8.2.2378 14845 Problem: Vim9: no error message for dividing by zero. 14846 Solution: Give an error message. (issue #7704) 14847 Files: src/errors.h, src/eval.c, src/vim9execute.c, 14848 src/testdir/test_vim9_expr.vim 14849 14850 Patch 8.2.2379 14851 Problem: Finding spell suggestions twice if 'spellsuggest' contains number. 14852 Solution: Only do internal suggestions once. (closes #7713) 14853 Files: src/spellsuggest.c 14854 14855 Patch 8.2.2380 14856 Problem: Vim9: occasional crash when using try/catch and a timer. 14857 Solution: Save and restore "need_rethrow" when invoking a timer callback. 14858 (closes #7708) 14859 Files: src/time.c 14860 14861 Patch 8.2.2381 14862 Problem: Vim9: divide by zero does not abort expression execution. 14863 Solution: Use a "failed" flag. (issue #7704) 14864 Files: src/eval.c, src/proto/eval.pro, src/evalvars.c, src/vim9compile.c, 14865 src/testdir/vim9.vim, src/testdir/test_vim9_assign.vim 14866 14867 Patch 8.2.2382 (after 8.2.2381) 14868 Problem: Build failure. 14869 Solution: Add missing changes. 14870 Files: src/vim9execute.c 14871 14872 Patch 8.2.2383 14873 Problem: Focus escape sequences are not named in ":set termcap" output. 14874 Solution: Add the names to the list. (closes #7718) 14875 Files: src/misc2.c 14876 14877 Patch 8.2.2384 14878 Problem: Turtle filetype not recognized. 14879 Solution: Add a rule to detect turtle files. (closes #7722) 14880 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 14881 14882 Patch 8.2.2385 14883 Problem: "gj" and "gk" do not work correctly when inside a fold. 14884 Solution: Move check for folding. (closes #7724, closes #4095) 14885 Files: src/normal.c, src/testdir/test_fold.vim 14886 14887 Patch 8.2.2386 14888 Problem: Vim9: crash when using ":silent! put". 14889 Solution: When ignoring an error for ":silent!" rewind the stack and skip 14890 ahead to restoring the cmdmod. (closes #7717) 14891 Files: src/vim9execute.c, src/testdir/test_vim9_func.vim 14892 14893 Patch 8.2.2387 14894 Problem: Runtime type check does not mention argument index. 14895 Solution: Add ct_arg_idx. (closes #7720) 14896 Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, 14897 src/testdir/test_vim9_builtin.vim, 14898 src/testdir/test_vim9_disassemble.vim, 14899 src/testdir/test_vim9_func.vim 14900 14901 Patch 8.2.2388 14902 Problem: No easy way to get the maximum or minimum number value. 14903 Solution: Add v:numbermax and v:numbermin. 14904 Files: src/evalvars.c, src/vim.h, src/testdir/test_eval_stuff.vim, 14905 runtime/doc/eval.txt 14906 14907 Patch 8.2.2389 14908 Problem: Test failure on a few systems. 14909 Solution: Avoid that "char" value is negative. 14910 Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h 14911 14912 Patch 8.2.2390 14913 Problem: Vim9: using positive offset is unexpected. 14914 Solution: Use int8_T instead of char. (James McCoy) 14915 Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c 14916 14917 Patch 8.2.2391 14918 Problem: Memory leak when creating a global function with closure. 14919 Solution: Create a separate partial for every instantiated function. 14920 Files: src/userfunc.c, src/vim9execute.c 14921 14922 Patch 8.2.2392 14923 Problem: Fennel filetype not recognized. 14924 Solution: Detect with pattern and hashbang. (Chinmay Dalal, closes #7729) 14925 Files: runtime/filetype.vim, runtime/scripts.vim, 14926 src/testdir/test_filetype.vim 14927 14928 Patch 8.2.2393 14929 Problem: Vim9: error message when script line starts with "[{". 14930 Solution: Do not give an error for checking for end of list. 14931 Files: src/dict.c, src/testdir/test_vim9_script.vim 14932 14933 Patch 8.2.2394 14934 Problem: Vim9: min() and max() return type is "any". 14935 Solution: Use return type "number". (closes #7728) 14936 Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim 14937 14938 Patch 8.2.2395 14939 Problem: Vim9: error for wrong type may report wrong line number. 14940 Solution: Save and restore the line number when evaluating the expression. 14941 (closes #7727) 14942 Files: src/evalvars.c, src/testdir/test_vim9_assign.vim 14943 14944 Patch 8.2.2396 14945 Problem: Vim9: no white space allowed before "->". 14946 Solution: Allow for white space. (closes #7725) 14947 Files: src/ex_docmd.c, src/eval.c, src/testdir/test_vim9_cmd.vim 14948 14949 Patch 8.2.2397 14950 Problem: Vim9: "%%" not seen as alternate file name for commands with a 14951 buffer name argument. 14952 Solution: Recognize "%%" like "#". (closes #7732) 14953 Files: src/buffer.c, src/testdir/test_vim9_cmd.vim 14954 14955 Patch 8.2.2398 (after 8.2.2396) 14956 Problem: Method test fails. 14957 Solution: Adjust test for allowed white space. 14958 Files: src/testdir/test_method.vim 14959 14960 Patch 8.2.2399 (after 8.2.2385) 14961 Problem: Fold test fails in wide terminal. 14962 Solution: Adjust the test. (Dominique Pelle, closes #7731, closes #7739) 14963 Files: src/testdir/test_fold.vim 14964 14965 Patch 8.2.2400 14966 Problem: Vim9: compiled functions are not profiled. 14967 Solution: Add initial changes to profile compiled functions. Fix that a 14968 script-local function was hard to debug. 14969 Files: runtime/doc/repeat.txt, src/vim9.h, src/vim9compile.c, 14970 src/vim9execute.c, src/userfunc.c, src/proto/vim9compile.pro, 14971 src/structs.h, src/vim9type.c, src/debugger.c, src/ex_cmds.h, 14972 src/ex_docmd.c, src/profiler.c, src/proto/profiler.pro, 14973 src/testdir/test_vim9_disassemble.vim, 14974 src/testdir/test_profile.vim 14975 14976 Patch 8.2.2401 14977 Problem: Build fails without +profiling feature. 14978 Solution: Add #ifdefs. 14979 Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h, src/structs.h, 14980 src/testdir/test_vim9_disassemble.vim 14981 14982 Patch 8.2.2402 14983 Problem: Some filetypes not detected. 14984 Solution: Detect Ruby Signature and Puppet related files. (Doug Kearns) 14985 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 14986 14987 Patch 8.2.2403 14988 Problem: Vim9: profiling if/elseif/endif not correct. 14989 Solution: Add profile instructions. Fix that "elseif" was wrong. 14990 Files: src/vim9compile.c, src/testdir/test_profile.vim, 14991 src/testdir/test_vim9_script.vim, 14992 src/testdir/test_vim9_disassemble.vim 14993 14994 Patch 8.2.2404 14995 Problem: Vim9: profiling try/catch not correct. 14996 Solution: Add profile instructions. Fix that "entry" did not rethrow an 14997 exception. 14998 Files: src/vim9compile.c, src/vim9execute.c, src/testdir/test_profile.vim 14999 15000 Patch 8.2.2405 15001 Problem: Vim9: no need to allow white space before "(" for :def. 15002 Solution: Give an error for stray white space. (issue #7734) 15003 Files: src/userfunc.c, src/testdir/test_vim9_func.vim 15004 15005 Patch 8.2.2406 15006 Problem: Vim9: profiled :def function leaks memory. 15007 Solution: Delete the profiled instructions. 15008 Files: src/vim9compile.c 15009 15010 Patch 8.2.2407 15011 Problem: Old jumplist code is never used. 15012 Solution: Delete the dead code. (Yegappan Lakshmanan, closes #7740) 15013 Files: src/mark.c 15014 15015 Patch 8.2.2408 15016 Problem: MinGW: "--preprocessor" flag no longer supported. 15017 Solution: Remove the flag, use the defaults. (Christopher Wellons, 15018 closes #7741) 15019 Files: src/GvimExt/Make_ming.mak, src/Make_cyg_ming.mak 15020 15021 Patch 8.2.2409 15022 Problem: Vim9: profiling only works for one function. 15023 Solution: Select the right instructions when calling and returning. 15024 (closes #7743) 15025 Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h, 15026 src/testdir/test_profile.vim 15027 15028 Patch 8.2.2410 15029 Problem: Build failure without the +profiling feature. 15030 Solution: Add dummy argument to macro. 15031 Files: src/vim9.h 15032 15033 Patch 8.2.2411 15034 Problem: Profile test fails on MS-Windows. 15035 Solution: Do the profiling in a separate Vim command. 15036 Files: src/testdir/test_profile.vim 15037 15038 Patch 8.2.2412 15039 Problem: Not all fields in "cstack" are initialized which might cause a 15040 crash. 15041 Solution: Use CLEAR_FIELD(). 15042 Files: src/ex_docmd.c 15043 15044 Patch 8.2.2413 15045 Problem: Crash when using :all while using a cmdline window. (Zdenek Dohnal) 15046 Solution: Disallow :all from the cmdline window. 15047 Files: src/arglist.c, src/ex_getln.c, src/testdir/test_arglist.vim 15048 15049 Patch 8.2.2414 15050 Problem: Using freed memory when closing the cmdline window. 15051 Solution: Check the window is still valid. 15052 Files: src/ex_getln.c 15053 15054 Patch 8.2.2415 15055 Problem: No way to check for the cmdwin feature, cmdline_hist is now always 15056 enabled. 15057 Solution: Add has('cmdwin') support. Skip arglist test on Windows 15058 temporarily. 15059 Files: runtime/doc/cmdline.txt, src/evalfunc.c, 15060 src/testdir/test_autocmd.vim, src/testdir/test_arglist.vim, 15061 src/testdir/test_cmdline.vim, src/testdir/test_ins_complete.vim, 15062 src/testdir/test_normal.vim, src/testdir/test_tabpage.vim, 15063 src/testdir/test_termcodes.vim, src/testdir/test_window_cmd.vim 15064 15065 Patch 8.2.2416 15066 Problem: May get stuck in command line window state. 15067 Solution: Reset "cmdwin_type" when editing buffer fails. Make arglist test 15068 pass on MS-Windows. 15069 Files: src/ex_getln.c, src/testdir/test_arglist.vim 15070 15071 Patch 8.2.2417 15072 Problem: Condition stack values may be used when not set. 15073 Solution: Clear cs_script_var_len and cs_block_id just in case they get used 15074 later. (issue #7733) 15075 Files: src/ex_eval.c 15076 15077 Patch 8.2.2418 15078 Problem: Color not changed if ModeMsg highlight is set in InsertEnter 15079 autocmd event. (Paul Swanson) 15080 Solution: Call highlight_changed() after triggering InsertEnter. 15081 (closes #7751) 15082 Files: src/edit.c 15083 15084 Patch 8.2.2419 15085 Problem: Autocmd test was failing on MS-Windows with GUI. 15086 Solution: Remove stray feedkeys(). 15087 Files: src/testdir/test_autocmd.vim 15088 15089 Patch 8.2.2420 15090 Problem: Too many problems with using all autocommand events. 15091 Solution: Disallow defining an autocommand for all events. 15092 Files: src/autocmd.c, src/errors.h, src/testdir/test_autocmd.vim, 15093 src/testdir/test_quickfix.vim, src/testdir/test_window_cmd.vim 15094 15095 Patch 8.2.2421 15096 Problem: Double free when using autocommand with "argdel". (Houyunsong) 15097 Solution: Add the arglist_locked flag. 15098 Files: src/arglist.c, src/testdir/test_autocmd.vim 15099 15100 Patch 8.2.2422 15101 Problem: Crash when deleting with line number out of range. (Houyunsong) 15102 Solution: Avoid using a negative line number. 15103 Files: src/normal.c, src/testdir/test_ex_mode.vim 15104 15105 Patch 8.2.2423 (after 8.2.2422) 15106 Problem: Missing error message. 15107 Solution: Add the error message. 15108 Files: src/errors.h 15109 15110 Patch 8.2.2424 15111 Problem: Some tests are known to cause an error with ASAN. 15112 Solution: Add CheckNotAsan. 15113 Files: src/testdir/check.vim, src/testdir/test_ins_complete.vim, 15114 src/testdir/test_memory_usage.vim, src/testdir/test_ex_mode.vim 15115 15116 Patch 8.2.2425 15117 Problem: Cursor on invalid line with range and :substitute. 15118 Solution: Do not move the cursor when skipping commands. (closes #3434) 15119 Files: src/ex_cmds.c, src/testdir/test_eval_stuff.vim 15120 15121 Patch 8.2.2426 15122 Problem: Allowing 'completefunc' to switch windows causes trouble. 15123 Solution: use "textwinlock" instead of "textlock". 15124 Files: src/insexpand.c, src/testdir/test_ins_complete.vim, 15125 src/testdir/test_popup.vim 15126 15127 Patch 8.2.2427 15128 Problem: Can still switch windows for 'completefunc'. 15129 Solution: Also disallow switching windows for other completions. 15130 Files: src/insexpand.c, src/testdir/test_ins_complete.vim, 15131 src/testdir/test_popup.vim 15132 15133 Patch 8.2.2428 15134 Problem: FocusGained does not work when 'ttymouse' is empty. 15135 Solution: Don't use the short mouse code if there is a longer matching code. 15136 (closes #7755) Add a test. 15137 Files: src/term.c, src/testdir/test_termcodes.vim 15138 15139 Patch 8.2.2429 15140 Problem: :goto does not work correctly with text properties. (Sam McCall) 15141 Solution: Add a test. (Andrew Radev) Also use the text property size when 15142 computing the remaining offset. (closes #5930) 15143 Files: src/memline.c, src/testdir/test_textprop.vim 15144 15145 Patch 8.2.2430 15146 Problem: :vimgrep expands wildcards twice. 15147 Solution: Do not expand wildcards a second time. 15148 Files: src/quickfix.c, src/arglist.c, src/testdir/test_quickfix.vim 15149 15150 Patch 8.2.2431 15151 Problem: Warning for -fno-strength-reduce with Clang 11. 15152 Solution: Adjust check for clang version number. 15153 Files: src/configure.ac, src/auto/configure 15154 15155 Patch 8.2.2432 15156 Problem: Libvterm tests are executed even when libtool doesn't work. 15157 Solution: Only run libvterm tests if /usr/bin/gcc exists. 15158 Files: src/Makefile 15159 15160 Patch 8.2.2433 15161 Problem: Opening cmdline window gives error in BufLeave autocommand. 15162 Solution: Reset cmdwin_type when triggering the autocommand. 15163 Files: src/ex_cmds.c, src/testdir/test_cmdline.vim 15164 15165 Patch 8.2.2434 15166 Problem: Vim9: no error when compiling str2nr() with a number. 15167 Solution: Add argument type checks. (closes #7759) 15168 Files: src/evalfunc.c, src/typval.c, src/proto/typval.pro, 15169 src/testdir/test_vim9_builtin.vim 15170 15171 Patch 8.2.2435 15172 Problem: setline() gives an error for some types. 15173 Solution: Allow any type, convert each item to a string. 15174 Files: runtime/doc/eval.txt, src/evalbuffer.c, src/typval.c, 15175 src/proto/typval.pro, src/debugger.c, src/vim9execute.c, 15176 src/testdir/test_bufline.vim, src/testdir/test_vim9_builtin.vim 15177 15178 Patch 8.2.2436 15179 Problem: Vim9 script test is a bit flaky. 15180 Solution: Wait longer for exit callback. 15181 Files: src/testdir/test_vim9_script.vim 15182 15183 Patch 8.2.2437 15184 Problem: Deprecation warnings with default configuration. 15185 Solution: Add -Wno-deprecated-declarations. 15186 Files: src/configure.ac, src/auto/configure 15187 15188 Patch 8.2.2438 15189 Problem: Out of bounds compiler warning. 15190 Solution: Increase the size of uf_name. 15191 Files: src/structs.h 15192 15193 Patch 8.2.2439 15194 Problem: Not easy to figure out what packages to get when installing Vim on 15195 a new Ubuntu system. 15196 Solution: Mention explicit commands that are easy to follow. 15197 Files: src/INSTALL 15198 15199 Patch 8.2.2440 15200 Problem: Documentation based on patches is outdated. 15201 Solution: Add changes to documentation in a patch. 15202 Files: runtime/doc/arabic.txt, runtime/doc/autocmd.txt, 15203 runtime/doc/change.txt, runtime/doc/channel.txt, 15204 runtime/doc/cmdline.txt, runtime/doc/debugger.txt, 15205 runtime/doc/develop.txt, runtime/doc/digraph.txt, 15206 runtime/doc/editing.txt, runtime/doc/eval.txt, 15207 runtime/doc/filetype.txt, runtime/doc/ft_sql.txt, 15208 runtime/doc/gui.txt, runtime/doc/gui_w32.txt, 15209 runtime/doc/gui_x11.txt, runtime/doc/hangulin.txt, 15210 runtime/doc/helphelp.txt, runtime/doc/help.txt, 15211 runtime/doc/if_lua.txt, runtime/doc/if_mzsch.txt, 15212 runtime/doc/if_tcl.txt, runtime/doc/indent.txt, 15213 runtime/doc/index.txt, runtime/doc/insert.txt, 15214 runtime/doc/intro.txt, runtime/doc/map.txt, runtime/doc/mbyte.txt, 15215 runtime/doc/message.txt, runtime/doc/mlang.txt, 15216 runtime/doc/motion.txt, runtime/doc/netbeans.txt, 15217 runtime/doc/options.txt, runtime/doc/os_dos.txt, 15218 runtime/doc/os_haiku.txt, runtime/doc/os_unix.txt, 15219 runtime/doc/os_vms.txt, runtime/doc/os_win32.txt, 15220 runtime/doc/pattern.txt, runtime/doc/pi_getscript.txt, 15221 runtime/doc/pi_logipat.txt, runtime/doc/pi_netrw.txt, 15222 runtime/doc/pi_tar.txt, runtime/doc/pi_vimball.txt, 15223 runtime/doc/pi_zip.txt, runtime/doc/popup.txt, 15224 runtime/doc/print.txt, runtime/doc/quickfix.txt, 15225 runtime/doc/quickref.txt, runtime/doc/recover.txt, 15226 runtime/doc/remote.txt, runtime/doc/repeat.txt, 15227 runtime/doc/rileft.txt, runtime/doc/sign.txt, 15228 runtime/doc/spell.txt, runtime/doc/starting.txt, 15229 runtime/doc/syntax.txt, runtime/doc/tabpage.txt, 15230 runtime/doc/tagsrch.txt, runtime/doc/terminal.txt, 15231 runtime/doc/term.txt, runtime/doc/testing.txt, 15232 runtime/doc/textprop.txt, runtime/doc/tips.txt, 15233 runtime/doc/todo.txt, runtime/doc/uganda.txt, 15234 runtime/doc/undo.txt, runtime/doc/usr_02.txt, 15235 runtime/doc/usr_03.txt, runtime/doc/usr_04.txt, 15236 runtime/doc/usr_05.txt, runtime/doc/usr_07.txt, 15237 runtime/doc/usr_08.txt, runtime/doc/usr_10.txt, 15238 runtime/doc/usr_11.txt, runtime/doc/usr_20.txt, 15239 runtime/doc/usr_22.txt, runtime/doc/usr_23.txt, 15240 runtime/doc/usr_24.txt, runtime/doc/usr_27.txt, 15241 runtime/doc/usr_30.txt, runtime/doc/usr_31.txt, 15242 runtime/doc/usr_40.txt, runtime/doc/usr_41.txt, 15243 runtime/doc/usr_42.txt, runtime/doc/usr_44.txt, 15244 runtime/doc/usr_45.txt, runtime/doc/usr_46.txt, 15245 runtime/doc/usr_90.txt, runtime/doc/usr_toc.txt, 15246 runtime/doc/various.txt, runtime/doc/version5.txt, 15247 runtime/doc/version6.txt, runtime/doc/version7.txt, 15248 runtime/doc/version8.txt, runtime/doc/vi_diff.txt, 15249 runtime/doc/vim9.txt, runtime/doc/visual.txt, 15250 runtime/doc/windows.txt 15251 15252 Patch 8.2.2441 15253 Problem: Vim9: extend() does not give an error for a type mismatch. 15254 Solution: Check the type of the second argument. (closes #7760) 15255 Files: src/list.c, src/testdir/test_vim9_builtin.vim 15256 15257 Patch 8.2.2442 15258 Problem: Automatic GUI selection does not check for GTK 3. 15259 Solution: Make SKIP_GTK3 empty for automatic GUI support. Set SKIP_GTK3 to 15260 YES when checking for GTK2. 15261 Files: src/configure.ac, src/auto/configure 15262 15263 Patch 8.2.2443 15264 Problem: Vim9: no compile time error for wrong str2float argument. 15265 Solution: Check argument type. (closes #7759) 15266 Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim 15267 15268 Patch 8.2.2444 15269 Problem: Vim9: compile error with combination of operator and list. 15270 Solution: Generate constants before parsing a list or dict. (closes #7757) 15271 Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim 15272 15273 Patch 8.2.2445 15274 Problem: Vim9: no proper error for lambda missing return type. 15275 Solution: Check for this error. (closes #7758) 15276 Files: src/errors.h, src/userfunc.c, src/testdir/test_vim9_func.vim 15277 15278 Patch 8.2.2446 15279 Problem: Setting 'term' empty has different error if compiled with GUI. 15280 Solution: Insert "else". (closes #7766) 15281 Files: src/optionstr.c, src/testdir/test_options.vim 15282 15283 Patch 8.2.2447 15284 Problem: 'foldlevel' not applied to folds restored from session. 15285 Solution: Set 'foldlevel' after creating the folds. (closes #7767) 15286 Files: src/fold.c, src/testdir/test_mksession.vim 15287 15288 Patch 8.2.2448 15289 Problem: Compilation error with Ruby 3.0. 15290 Solution: Adjust #ifdefs and declaration. (Ken Takata, closes #7761) 15291 Files: src/if_ruby.c 15292 15293 Patch 8.2.2449 15294 Problem: Vim9: flatten() always changes the list type. 15295 Solution: Disallow using flatten() and add flattennew(). 15296 Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c, 15297 src/list.c, src/proto/list.pro, src/errors.h, src/vim9compile.c, 15298 src/testdir/test_flatten.vim, src/testdir/test_vim9_builtin.vim 15299 15300 Patch 8.2.2450 15301 Problem: MS-Windows: ADS was not preserved if 'backupcopy' is "yes". 15302 Solution: Copy ADS before truncating the file. (Ken Takata, closes #7762) 15303 Files: src/bufwrite.c 15304 15305 Patch 8.2.2451 15306 Problem: MS-Windows: Extended Attributes not preserved. 15307 Solution: Preserve Extended Attributes when writing a file. (Ken Takata, 15308 closes #7765) 15309 Files: src/os_win32.c 15310 15311 Patch 8.2.2452 15312 Problem: No completion for the 'filetype' option. 15313 Solution: Add filetype completion. (Martin Tournoij, closes #7747) 15314 Files: src/option.c, src/optiondefs.h, src/testdir/test_options.vim 15315 15316 Patch 8.2.2453 15317 Problem: Vim9: a variable name with "->" in the next line doesn't work. 15318 Solution: Recognize a variable name by itself. (closes #7770) 15319 Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim 15320 15321 Patch 8.2.2454 15322 Problem: Leading space can not be made visible. 15323 Solution: Add "lead:" to 'listchars'. (closes #7772) 15324 Files: runtime/doc/options.txt, src/drawline.c, src/globals.h, 15325 src/message.c, src/screen.c, src/testdir/test_listchars.vim 15326 15327 Patch 8.2.2455 15328 Problem: Vim9: key type that can be used for literal dict and indexing is 15329 inconsistent. 15330 Solution: Allow using number and bool as key for a literal dict. (#7771) 15331 Files: runtime/doc/vim9.txt, src/dict.c, src/eval.c, src/vim9compile.c, 15332 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_builtin.vim, 15333 src/testdir/test_vim9_script.vim 15334 15335 Patch 8.2.2456 15336 Problem: Coverity warning for strcpy() into fixed size array. 15337 Solution: Add a type cast to hopefully silence the bogus warning. 15338 Files: src/userfunc.c 15339 15340 Patch 8.2.2457 15341 Problem: Coverity warns for memory leak. 15342 Solution: Free memory when out of memory. 15343 Files: src/if_cscope.c 15344 15345 Patch 8.2.2458 15346 Problem: Coverity warns for :retab using freed memory. 15347 Solution: Use the updated line pointer when moving text properties. 15348 Files: src/indent.c 15349 15350 Patch 8.2.2459 15351 Problem: Coverity reports dead code. 15352 Solution: Remove the dead code. 15353 Files: src/eval.c 15354 15355 Patch 8.2.2460 15356 Problem: Coverity warns for unused value. 15357 Solution: Do not reset the return value to OK. 15358 Files: src/vim9compile.c 15359 15360 Patch 8.2.2461 15361 Problem: Coverity warns for unchecked return value. 15362 Solution: Add "(void)" to avoid the warning. 15363 Files: src/vim9execute.c 15364 15365 Patch 8.2.2462 15366 Problem: Coverity warns for not checking for fseek() error. 15367 Solution: Give an error message if fseek() fails. 15368 Files: src/spellfile.c 15369 15370 Patch 8.2.2463 15371 Problem: Using :arglocal in an autocommand may use freed memory. 15372 (houyunsong) 15373 Solution: Check if the arglist is locked. 15374 Files: src/arglist.c, src/testdir/test_autocmd.vim 15375 15376 Patch 8.2.2464 15377 Problem: Using freed memory if window closed in autocommand. (houyunsong) 15378 Solution: Check the window still exists. 15379 Files: src/ex_cmds.c, src/testdir/test_autocmd.vim 15380 15381 Patch 8.2.2465 15382 Problem: Using freed memory in :psearch. (houyunsong) 15383 Solution: Check the current window is still valid. Fix flaky test. 15384 Files: src/search.c, src/testdir/test_autocmd.vim 15385 15386 Patch 8.2.2466 15387 Problem: Max() and min() can give many error messages. 15388 Solution: Bail out at the first error. (closes #1039, closes #7778) 15389 Files: src/evalfunc.c, src/testdir/test_functions.vim 15390 15391 Patch 8.2.2467 15392 Problem: Script generated by :mkview changes alternate file. 15393 Solution: Only write :balt in the session file. (Harish Rajagopal, 15394 closes #7779) 15395 Files: src/session.c, src/testdir/test_mksession.vim 15396 15397 Patch 8.2.2468 15398 Problem: Not easy to get the full command name from a shortened one. 15399 Solution: Add fullcommand(). (Martin Tournoij, closes #7777) 15400 Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c, 15401 src/ex_docmd.c, src/proto/evalfunc.pro, 15402 src/testdir/test_cmdline.vim 15403 15404 Patch 8.2.2469 15405 Problem: Confusing error if :winsize has a wrong argument. 15406 Solution: Quote the argument in the error. (closes #2523) 15407 Files: src/ex_docmd.c, src/testdir/test_excmd.vim 15408 15409 Patch 8.2.2470 15410 Problem: Popup_getoptions() does not get textprop from other tab. 15411 Solution: use win_valid_any_tab(). (closes #7786) 15412 Files: src/popupwin.c, src/testdir/test_popupwin.vim 15413 15414 Patch 8.2.2471 15415 Problem: Popup_setoptions() does not set textprop in other tab. 15416 Solution: use win_valid_any_tab(). (closes #7788) 15417 Files: src/popupwin.c, src/testdir/test_popupwin.vim 15418 15419 Patch 8.2.2472 15420 Problem: Crash when using command line window in an autocommand. 15421 (houyunsong) 15422 Solution: Save and restore au_new_curbuf. 15423 Files: src/ex_cmds.c, src/testdir/test_autocmd.vim 15424 15425 Patch 8.2.2473 15426 Problem: Crash when leaving command line window triggers autocommand. 15427 (houyunsong) 15428 Solution: Make sure not to close the current window or buffer. 15429 Files: src/ex_getln.c, src/testdir/test_autocmd.vim 15430 15431 Patch 8.2.2474 15432 Problem: Using freed memory when window is closed by autocommand. 15433 (houyunsong) 15434 Solution: Check the window pointer is still valid. 15435 Files: src/quickfix.c, src/testdir/test_autocmd.vim 15436 15437 Patch 8.2.2475 15438 Problem: Autocommand tests hangs on MS-Windows. 15439 Solution: Skip one test. 15440 Files: src/testdir/test_autocmd.vim 15441 15442 Patch 8.2.2476 15443 Problem: Using freed memory when using an autocommand to split a window 15444 while a buffer is being closed. 15445 Solution: Disallow splitting when the buffer has b_locked_split set. 15446 Files: src/buffer.c, src/window.c, src/errors.h, src/structs.h, 15447 src/popupwin.c, src/testdir/test_autocmd.vim 15448 15449 Patch 8.2.2477 15450 Problem: Autocommand tests hang on MS-Windows. 15451 Solution: Skip a couple of tests. Fix file name. 15452 Files: src/testdir/test_autocmd.vim 15453 15454 Patch 8.2.2478 15455 Problem: MS-Windows: backup files for plugins are loaded. 15456 Solution: Do not use the alternate file name for files ending in "~". 15457 Files: src/filepath.c 15458 15459 Patch 8.2.2479 15460 Problem: set/getbufline test fails without the job feature. 15461 Solution: Check whether the job feature is supported. (Dominique Pellé, 15462 closes #7790) 15463 Files: src/testdir/test_bufline.vim, src/testdir/test_vim9_builtin.vim 15464 15465 Patch 8.2.2480 15466 Problem: Vim9: some errors for white space do not show context. 15467 Solution: Include the text at the error. 15468 Files: src/errors.h, src/dict.c, src/list.c, src/userfunc.c, 15469 src/vim9compile.c, src/vim9script.c, src/vim9type.c 15470 15471 Patch 8.2.2481 15472 Problem: Vim9: confusing error when variable arguments have a default 15473 value. 15474 Solution: Give a specific error message. (closes #7793) 15475 Files: src/userfunc.c, src/testdir/test_vim9_func.vim 15476 15477 Patch 8.2.2482 15478 Problem: Build error. 15479 Solution: Add new error message. 15480 Files: src/errors.h 15481 15482 Patch 8.2.2483 15483 Problem: Vim9: type error for malformed expression. 15484 Solution: Check for end of command before checking type. (closes #7795) 15485 Files: src/vim9compile.c, src/testdir/test_vim9_script.vim 15486 15487 Patch 8.2.2484 15488 Problem: Vim9: Cannot use a comment starting with #{ after an expression. 15489 Solution: Remove the check for "{" since #{ dictionaries are not supported. 15490 Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim 15491 15492 Patch 8.2.2485 15493 Problem: When sourcing a script again the script version isn't reset. 15494 Solution: Set sn_version to one when sourcing a script again. Clear 15495 sn_save_cpo properly. (closes #7608) 15496 Files: src/scriptfile.c, src/testdir/test_vim9_script.vim 15497 15498 Patch 8.2.2486 15499 Problem: Vim9: some errors for white space do not show context. 15500 Solution: Include the text at the error. 15501 Files: src/errors.h, src/dict.c, src/list.c, src/userfunc.c, 15502 src/vim9compile.c, src/vim9type.c 15503 15504 Patch 8.2.2487 15505 Problem: Terminal shows garbage after double-wide character with a 15506 combining character. (Kyoichiro Yamada) 15507 Solution: Libvterm: do not add the width of the combining character to the 15508 glyph width. (closes #7801) 15509 Files: src/libvterm/src/state.c, src/testdir/test_terminal.vim, 15510 src/testdir/dumps/Test_terminal_combining.dump 15511 15512 Patch 8.2.2488 15513 Problem: json_encode() gives generic argument error. 15514 Solution: Mention the type that can't be encoded. (issue #7802) 15515 Files: src/json.c, src/errors.h, src/testdir/test_json.vim 15516 15517 Patch 8.2.2489 15518 Problem: current buffer is wrong after deletebufline() fails to delete a 15519 line in another buffer. 15520 Solution: Restore the current buffer. 15521 Files: src/evalbuffer.c, src/testdir/test_bufline.vim 15522 15523 Patch 8.2.2490 15524 Problem: 'wrap' option is always reset when starting diff mode. 15525 Solution: Add the "followwrap" item in 'diffopt'. (Rick Howe, closes #7797) 15526 Files: runtime/doc/diff.txt, runtime/doc/options.txt, src/diff.c, 15527 src/testdir/test_diffmode.vim 15528 15529 Patch 8.2.2491 15530 Problem: Popup window for text property may show in first screen line. 15531 Solution: If the text position is invisible do not show the popup window. 15532 (closes #7807) 15533 Files: src/popupwin.c, src/testdir/test_popupwin.vim, 15534 src/testdir/dumps/Test_popup_prop_not_visible_01.dump, 15535 src/testdir/dumps/Test_popup_prop_not_visible_02.dump, 15536 src/testdir/dumps/Test_popup_prop_not_visible_03.dump 15537 15538 Patch 8.2.2492 15539 Problem: Command line buffer name cannot be translated. 15540 Solution: Add _(). (Gabriel Dupras, closes #7812) 15541 Files: src/ex_getln.c 15542 15543 Patch 8.2.2493 15544 Problem: Text property for text left of window shows up. 15545 Solution: Check if the text property ends before the current column. 15546 (closes #7806) 15547 Files: src/drawline.c, src/testdir/test_textprop.vim, 15548 src/testdir/dumps/Test_textprop_nowrap_01.dump, 15549 src/testdir/dumps/Test_textprop_nowrap_02.dump 15550 15551 Patch 8.2.2494 15552 Problem: ":rviminfo!" clears most of oldfiles. 15553 Solution: Add VIF_ONLY_CURBUF to read_viminfo(). (closes #1781) 15554 Files: src/viminfo.c, src/vim.h 15555 15556 Patch 8.2.2495 15557 Problem: Text jumps up and down when moving the cursor in a small window 15558 with wrapping text and 'scrolloff' set. 15559 Solution: Adjust the computation of w_skipcol. (partly by Ghjuvan Lacambre, 15560 closes #7813) 15561 Files: src/move.c, src/testdir/test_breakindent.vim 15562 15563 Patch 8.2.2496 (after 8.2.2495) 15564 Problem: Insufficient testing for text jumping fix. 15565 Solution: Add another test case. 15566 Files: src/testdir/test_breakindent.vim 15567 15568 Patch 8.2.2497 15569 Problem: No error when using more than one character for a register name. 15570 Solution: In Vim9 script check for a single character string. (closes #7814) 15571 Fix that VAR_BOOL and VAR_SPECIAL are not considered equal. 15572 Files: src/errors.h, src/evalfunc.c, src/typval.c, 15573 src/testdir/test_vim9_builtin.vim 15574 15575 Patch 8.2.2498 15576 Problem: No test for what 8.2.2494 fixes. 15577 Solution: Add a simple change to test the fix. (closes #7818) 15578 Files: src/testdir/test_viminfo.vim 15579 15580 Patch 8.2.2499 15581 Problem: "vim -g --version" does not redirect output. 15582 Solution: Reset gui.starting when showing version info. (closes #7815) 15583 Files: src/main.c, src/testdir/test_version.vim 15584 15585 Patch 8.2.2500 (after 8.2.2499) 15586 Problem: Build fails without the GUI feature. 15587 Solution: Add #ifdef. 15588 Files: src/main.c 15589 15590 Patch 8.2.2501 15591 Problem: Not always clear where an error is reported. 15592 Solution: Add the where_T structure and pass it around. (closes #7796) 15593 Files: src/structs.h, src/vim9type.c, src/proto/vim9type.pro, 15594 src/errors.h, src/evalvars.c, src/proto/evalvars.pro, src/eval.c, 15595 src/proto/eval.pro, src/vim9execute.c, src/vim9script.c, 15596 src/proto/vim9script.pro, src/dict.c, src/list.c, 15597 src/vim9compile.c, src/testdir/test_vim9_assign.vim 15598 15599 Patch 8.2.2502 15600 Problem: A few github actions are failing. 15601 Solution: Install setuptools-rust. (closes #7823) 15602 Files: .github/workflows/ci.yml 15603 15604 Patch 8.2.2503 15605 Problem: Vim9: a caught error may leave something on the stack. 15606 Solution: Drop items from the stack if needed. (closes #7826) 15607 Files: src/vim9execute.c, src/testdir/test_vim9_script.vim 15608 15609 Patch 8.2.2504 15610 Problem: Vim9: crash when using an argument from a closure. 15611 Solution: Check if gen_load_outer is NULL. (closes #7821) 15612 Files: src/vim9compile.c, src/testdir/test_vim9_func.vim 15613 15614 Patch 8.2.2505 15615 Problem: Vim9: crash after defining function with invalid return type. 15616 Solution: Clear function growarrays. Fix memory leak. 15617 Files: src/userfunc.c, src/testdir/test_vim9_func.vim 15618 15619 Patch 8.2.2506 15620 Problem: Vim9: :continue does not work correctly in a :try block 15621 Solution: Add the TRYCLEANUP instruction. (closes #7827) 15622 Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h, 15623 src/testdir/test_vim9_script.vim, 15624 src/testdir/test_vim9_disassemble.vim 15625 15626 Patch 8.2.2507 15627 Problem: Github build may fail if Ubuntu 20.04 is used. Installing rust is 15628 not needed. 15629 Solution: Specify ubuntu-18.04 instead of latest. Update "pip" instead of 15630 installing rust. (Ozaki Kiichi, closes #7820) 15631 Files: .github/workflows/ci.yml 15632 15633 Patch 8.2.2508 15634 Problem: Cannot change the character displayed in non existing lines. 15635 Solution: Add the "eob" item to 'fillchars'. (closes #7832, closes #3820) 15636 Files: runtime/doc/options.txt, runtime/doc/todo.txt, 15637 runtime/doc/windows.txt, src/drawscreen.c, src/globals.h, 15638 src/optiondefs.h, src/screen.c, src/testdir/test_display.vim 15639 15640 Patch 8.2.2509 15641 Problem: Tests fail on s390 build. 15642 Solution: Initialize trycmd_T. 15643 Files: src/vim9execute.c 15644 15645 Patch 8.2.2510 15646 Problem: Internal error when popup with mask is zero height or width. 15647 Solution: Bail out if width or height is zero. (closes #7831) 15648 Files: src/popupwin.c, src/testdir/test_popupwin.vim 15649 15650 Patch 8.2.2511 15651 Problem: Vim9: cannot use Vim9 script syntax in some places. 15652 Solution: Add the :vim9cmd command modifier. Incompatible: Makes ":vim9" 15653 mean ":vim9cmd" instead of ":vim9script". 15654 Files: runtime/doc/vim9.txt, runtime/doc/repeat.txt, src/ex_docmd.c, 15655 src/ex_cmds.h, src/structs.h, src/ex_cmdidxs.h, src/errors.h, 15656 src/testdir/test_vim9_cmd.vim, src/testdir/test_cmdline.vim, 15657 src/testdir/dumps/Test_wildmenu_1.dump, 15658 src/testdir/dumps/Test_wildmenu_2.dump, 15659 src/testdir/dumps/Test_wildmenu_3.dump, 15660 src/testdir/dumps/Test_wildmenu_4.dump, 15661 src/testdir/test_quickfix.vim 15662 15663 Patch 8.2.2512 15664 Problem: Vim9: compiling error test sometimes fails. 15665 Solution: use WaitForAssert() instead of sleeping for a bit. (Dominique 15666 Pellé, closes #7837) 15667 Files: src/testdir/term_util.vim, src/testdir/test_vim9_func.vim, 15668 src/testdir/test_vim9_script.vim 15669 15670 Patch 8.2.2513 (after 8.2.2511) 15671 Problem: Vim9: missing part of :vim9cmd change. 15672 Solution: Use command modifier in in_vim9script(). 15673 Files: src/vim9script.c 15674 15675 Patch 8.2.2514 (after 8.2.2511) 15676 Problem: Vim9: build error in tiny version. 15677 Solution: Add #ifdef. 15678 Files: src/ex_docmd.c 15679 15680 Patch 8.2.2515 15681 Problem: Memory access error when truncating an empty message. 15682 Solution: Check for an empty string. (Dominique Pellé, closes #7841) 15683 Files: src/message.c, src/message_test.c 15684 15685 Patch 8.2.2516 15686 Problem: Test failure on s390. (analyses by James McCoy) 15687 Solution: Only set the try_finally label when not skipping. 15688 Files: src/vim9compile.c 15689 15690 Patch 8.2.2517 15691 Problem: Vim9: fix for s390 not tested on other systems. 15692 Solution: Add a test. 15693 Files: src/testdir/test_vim9_script.vim 15694 15695 Patch 8.2.2518 15696 Problem: 'listchars' should be window-local. 15697 Solution: Make 'listchars' global-local. (Yegappan Lakshmanan, Marco Hinz, 15698 closes #5206, closes #7850) 15699 Files: runtime/doc/options.txt, src/buffer.c, src/charset.c, 15700 src/drawline.c, src/drawscreen.c, src/evalfunc.c, src/globals.h, 15701 src/indent.c, src/message.c, src/misc1.c, src/option.c, 15702 src/option.h, src/optiondefs.h, src/optionstr.c, 15703 src/proto/screen.pro, src/screen.c, src/structs.h, 15704 src/testdir/test_listchars.vim, src/testdir/test_listlbr.vim 15705 15706 Patch 8.2.2519 15707 Problem: Vim9: no reason to keep strange Vi behavior. 15708 Solution: ":3" and ":3|" both go to line 3. ":|" does not print the line. 15709 (closes #7840) 15710 Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim 15711 15712 Patch 8.2.2520 15713 Problem: Missing tests for 'listchars'. 15714 Solution: Add a few more checks. (Yegappan Lakshmanan, closes #7854) 15715 Files: src/testdir/test_listchars.vim 15716 15717 Patch 8.2.2521 15718 Problem: Some compilers can't handle pointer initialization. (John 15719 Marriott) 15720 Solution: Use a local struct and assign it afterwards. 15721 Files: src/screen.c 15722 15723 Patch 8.2.2522 15724 Problem: Beancount filetype not recognized. 15725 Solution: Add a detection rule. (Brian Ryall, closes #7859) 15726 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 15727 15728 Patch 8.2.2523 15729 Problem: Svelte filetype not recognized. 15730 Solution: Add a detection rule. (Brian Ryall, closes #7858) 15731 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 15732 15733 Patch 8.2.2524 15734 Problem: Cannot change the characters displayed in the foldcolumn. 15735 Solution: Add fields to 'fillchars'. (Yegappan Lakshmanan, Matthieu Coudron, 15736 closes #7860) 15737 Files: runtime/doc/options.txt, src/globals.h, src/mouse.c, src/screen.c, 15738 src/testdir/test_display.vim 15739 15740 Patch 8.2.2525 15741 Problem: Vim9: only local variables checked for a name. 15742 Solution: Also check arguments and script variables. (closes #7838) 15743 Files: src/vim9compile.c, src/ex_docmd.c, src/proto/ex_docmd.pro, 15744 src/testdir/test_vim9_cmd.vim 15745 15746 Patch 8.2.2526 (after 8.2.2525) 15747 Problem: Build failure. 15748 Solution: Change lookup_scriptvar() arguments. 15749 Files: src/evalvars.c, src/proto/evalvars.pro 15750 15751 Patch 8.2.2527 15752 Problem: Vim9: lambda return type is not determined at script level. 15753 Solution: Compile the lambda to get the return type. (closes #7843) 15754 Files: src/eval.c, src/vim.h, src/vim9.h, 15755 src/testdir/test_vim9_assign.vim 15756 15757 Patch 8.2.2528 15758 Problem: Vim9: crash when compiling lambda fails. 15759 Solution: Bail out after compilation fails. (closes #7862) 15760 Files: src/eval.c, src/testdir/test_vim9_assign.vim 15761 15762 Patch 8.2.2529 15763 Problem: Vim9: Not possible to use legacy and Vim9 script in one file. 15764 Solution: Vim9: allow for "if false" before :vim9script. (closes #7851) 15765 Files: runtime/doc/vim9.txt, src/ex_docmd.c, 15766 src/testdir/test_vim9_script.vim 15767 15768 Patch 8.2.2530 15769 Problem: Vim9: not enough testing for profiling. 15770 Solution: Add a test with nested functions and a lambda. Fix profiling 15771 for calling a compiled function. 15772 Files: src/profiler.c, src/proto/profiler.pro, src/userfunc.c, 15773 src/vim9execute.c, src/testdir/test_profile.vim 15774 15775 Patch 8.2.2531 15776 Problem: Vim9: the :k command is obscure. 15777 Solution: Disallow using :k, can use :mark instead. (closes #7874) 15778 Files: runtime/doc/vim9.txt, src/ex_docmd.c, src/vim9script.c, 15779 src/vim9compile.c, src/ex_cmds.h, src/testdir/test_vim9_script.vim 15780 15781 Patch 8.2.2532 15782 Problem: Vim9: confusing error if :k is used with a range. 15783 Solution: Give an error about the range. (issue #7874) 15784 Files: src/vim9script.c, src/vim9compile.c, 15785 src/testdir/test_vim9_script.vim 15786 15787 Patch 8.2.2533 15788 Problem: Vim9: cannot use a range with :unlet. 15789 Solution: Implement ISN_UNLETRANGE. 15790 Files: src/errors.h, src/eval.c, src/evalvars.c, src/list.c, 15791 src/proto/evalvars.pro, src/proto/list.pro, src/vim9.h, 15792 src/vim9compile.c, src/vim9execute.c, 15793 src/testdir/test_vim9_assign.vim 15794 15795 Patch 8.2.2534 15796 Problem: Missing test coverage. 15797 Solution: Improve test coverage for completion with different encodings, 15798 mapset(), and term function failures. (Dominique Pellé, 15799 closes #7877) 15800 Files: src/testdir/test_edit.vim, src/testdir/test_maparg.vim, 15801 src/testdir/test_terminal3.vim 15802 15803 Patch 8.2.2535 15804 Problem: MS-Windows: cannot run all vim9 tests. 15805 Solution: Make test_vim9 target work. 15806 Files: src/Make_mvc.mak 15807 15808 Patch 8.2.2536 15809 Problem: Coverity complains about unchecked return value. 15810 Solution: Add (void). 15811 Files: src/userfunc.c 15812 15813 Patch 8.2.2537 15814 Problem: Vim9: crash when map() fails. 15815 Solution: Clear typval before using it. (closes #7884) 15816 Files: src/list.c, src/testdir/test_vim9_builtin.vim 15817 15818 Patch 8.2.2538 15819 Problem: Crash when using Python list iterator. 15820 Solution: Increment the list reference count. (closes #7886) 15821 Files: src/if_py_both.h, src/testdir/test_python3.vim 15822 15823 Patch 8.2.2539 15824 Problem: Vim9: return from finally block causes a hang. 15825 Solution: Store both the finally and endtry indexes. (closes #7885) 15826 Files: src/vim9execute.c, src/vim9compile.c, src/vim9.h, 15827 src/testdir/test_vim9_script.vim, 15828 15829 Patch 8.2.2540 15830 Problem: Vim9: no error for using script var name for argument. 15831 Solution: Check for this error. (closes #7868) 15832 Files: src/userfunc.c, src/vim9compile.c, src/proto/vim9compile.pro, 15833 src/testdir/test_vim9_func.vim 15834 15835 Patch 8.2.2541 15836 Problem: Popup_create() does not allow boolean for "cursorline". 15837 Solution: Use dict_get_bool(). (issue #7869) 15838 Files: src/popupwin.c, src/testdir/test_popupwin.vim 15839 15840 Patch 8.2.2542 15841 Problem: Highlight of char beyond line end is not correct. (Chuan Wei Foo) 15842 Solution: Fix counting NUL as one cell. Draw one more character if the EOL 15843 is part of the match. (closes #7883) 15844 Files: src/match.c, src/testdir/test_search.vim, 15845 src/testdir/dumps/Test_hlsearch_1.dump, 15846 src/testdir/dumps/Test_hlsearch_2.dump 15847 15848 Patch 8.2.2543 15849 Problem: Vim9: a return inside try/catch does not restore exception state 15850 properly. 15851 Solution: When there is no ":finally" jump to ":endtry". (closes #7882) 15852 Files: src/vim9execute.c, src/testdir/test_vim9_script.vim 15853 15854 Patch 8.2.2544 15855 Problem: Vim9: error for argument when checking for lambda. 15856 Solution: Respect the skip flag. (closes #7887) 15857 Files: src/userfunc.c, src/testdir/test_vim9_expr.vim 15858 15859 Patch 8.2.2545 15860 Problem: Errors and crash when terminal window is zero height. (Leonid V. 15861 Fedorenchik) 15862 Solution: Do not resize when width or height is zero. (closes #7890) 15863 Files: src/terminal.c, src/testdir/test_terminal.vim 15864 15865 Patch 8.2.2546 15866 Problem: Typo in mouse key name. 15867 Solution: Fix the typo. (issue #4725) 15868 Files: src/misc2.c 15869 15870 Patch 8.2.2547 15871 Problem: "%" command not accurate for big files. 15872 Solution: Make it more accurate for files up to 21M lines. (Dominique Pellé, 15873 closes #7889) 15874 Files: src/normal.c 15875 15876 Patch 8.2.2548 15877 Problem: May get stuck in the cmdline window using :normal. 15878 Solution: Have nv_esc() return K_IGNORE. 15879 Files: src/normal.c 15880 15881 Patch 8.2.2549 15882 Problem: Crash after using "g:" in a for loop. 15883 Solution: Increment the reference count. (closes #7892) 15884 Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim 15885 15886 Patch 8.2.2550 15887 Problem: Signal stack size is wrong with latest glibc 2.34. 15888 Solution: Use sysconf(_SC_SIGSTKSZ) if available. (Zdenek Dohnal, closes 15889 #7895) 15890 Files: src/config.h.in, src/configure.ac, src/os_unix.c, 15891 src/auto/configure 15892 15893 Patch 8.2.2551 15894 Problem: MS-Windows: colors test file is not installed. 15895 Solution: Also copy runtime/colors/tools. (Ken Takata, closes #7902) 15896 Files: nsis/gvim.nsi 15897 15898 Patch 8.2.2552 15899 Problem: Vim9: no reason to consider "{{{{{{{{" a command. 15900 Solution: Just use "{". (issue #7904) 15901 Files: src/ex_cmds.h 15902 15903 Patch 8.2.2553 15904 Problem: Vim9: Cannot put "|" after "{". 15905 Solution: Add the EX_TRLBAR flag. (issue #7904) 15906 Files: src/ex_cmds.h, src/ex_eval.c 15907 15908 Patch 8.2.2554 15909 Problem: Vim9: exporting a final is not tested. 15910 Solution: Add a test. 15911 Files: src/testdir/test_vim9_script.vim 15912 15913 Patch 8.2.2555 15914 Problem: Vim9: missing test for 8.2.2553. 15915 Solution: Add a simple test. 15916 Files: src/testdir/test_vim9_script.vim 15917 15918 Patch 8.2.2556 15919 Problem: Vim9: :import with "as" not fully supported. 15920 Solution: Implement "as" for more cases. 15921 Files: src/vim9script.c, src/testdir/test_vim9_script.vim 15922 15923 Patch 8.2.2557 15924 Problem: Compiler warning for shadowed variable. 15925 Solution: Declare "p" only once. 15926 Files: src/vim9script.c 15927 15928 Patch 8.2.2558 15929 Problem: No error if a lambda argument shadows a variable. 15930 Solution: Check that the argument name shadows a local, argument or script 15931 variable. (closes #7898) 15932 Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c, 15933 src/vim9script.c, src/errors.h, src/testdir/test_vim9_func.vim, 15934 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim 15935 15936 Patch 8.2.2559 15937 Problem: MS-Windows: guifont test fails on Windows XP. 15938 Solution: Check windowsversion(). 15939 Files: src/testdir/test_gui.vim 15940 15941 Patch 8.2.2560 15942 Problem: Setting 'winminheigt' does not take tabline into account. 15943 Solution: Subtract the tabline from the available height. (closes #7899) 15944 Files: src/window.c, src/testdir/test_options.vim 15945 15946 Patch 8.2.2561 15947 Problem: Not all textprop code is covered by tests. 15948 Solution: Add a few more test cases. (Dominique Pellé, closes #7908) 15949 Files: src/testdir/test_textprop.vim 15950 15951 Patch 8.2.2562 15952 Problem: GUI: star register changed when 'clipboard' is "unnamedplus". (Ingo 15953 Karkat) 15954 Solution: Do not change the star register when 'clipboard' contains 15955 "unnamedplus" and not "unnamed". (closes #1516) 15956 Files: src/register.c 15957 15958 Patch 8.2.2563 15959 Problem: Cannot use multibyte characters for folding in 'fillchars'. 15960 Solution: Port pull request 11568 to Vim. (Yegappan Lakshmanan, 15961 closes #7924) 15962 Files: src/drawline.c, src/drawscreen.c, src/macros.h, 15963 src/proto/screen.pro, src/screen.c, src/testdir/test_fold.vim, 15964 src/testdir/test_profile.vim 15965 15966 Patch 8.2.2564 15967 Problem: Focus events end Insert mode if 'esckeys' is not set. 15968 Solution: Do not enable focus events when 'esckeys' is off. (closes #7926) 15969 Files: src/term.c 15970 15971 Patch 8.2.2565 15972 Problem: Vim9: "..=" not always recognized. 15973 Solution: Do not consider "..=" to be string concatenation. (closes #7905) 15974 Files: src/eval.c, src/testdir/test_vim9_assign.vim 15975 15976 Patch 8.2.2566 15977 Problem: Vim9: Function name is not recognized. 15978 Solution: Change lookup_scriptvar() to also find function names. 15979 (closes #7770) 15980 Files: src/vim9script.c, src/evalvars.c, src/proto/evalvars.pro, 15981 src/ex_docmd.c, src/testdir/test_vim9_cmd.vim 15982 15983 Patch 8.2.2567 15984 Problem: Vim9: no error if variable is defined for existing function. 15985 Solution: Check if name isn't already in use. (closes #7897) 15986 Files: src/evalvars.c, src/testdir/test_vim9_script.vim 15987 15988 Patch 8.2.2568 15989 Problem: Second time a preview popup is opened highlight is not set. 15990 (Gabriel Dupras) 15991 Solution: Apply 'previewpopup' after getting the file. (closes #7928) 15992 Files: src/tag.c, src/testdir/test_popupwin.vim, 15993 src/testdir/dumps/Test_popupwin_previewpopup_2.dump, 15994 src/testdir/dumps/Test_popupwin_previewpopup_3.dump, 15995 src/testdir/dumps/Test_popupwin_previewpopup_4.dump, 15996 src/testdir/dumps/Test_popupwin_previewpopup_5.dump 15997 15998 Patch 8.2.2569 15999 Problem: 'fillchars' "stl" and "stlnc" items must be single byte. 16000 Solution: Accept multi-byte characters. (Christian Wellenbrock, Yegappan 16001 Lakshmanan, closes #7927) 16002 Files: runtime/doc/options.txt, src/buffer.c, src/macros.h, src/screen.c, 16003 src/testdir/test_fold.vim, src/testdir/test_statusline.vim 16004 16005 Patch 8.2.2570 16006 Problem: Tests fail when run as root. 16007 Solution: Add a comment mentioning the expected failure. (issue #7919) 16008 Files: src/testdir/test_edit.vim, src/testdir/test_excmd.vim, 16009 src/testdir/test_help.vim, src/testdir/test_writefile.vim 16010 16011 Patch 8.2.2571 16012 Problem: Test may leave file behind. 16013 Solution: Delete the temporary file. Don't profile in the running Vim 16014 instance. 16015 Files: src/testdir/test_quickfix.vim, src/testdir/test_profile.vim 16016 16017 Patch 8.2.2572 16018 Problem: Vim9: crash when getting the types for a legacy function. 16019 Solution: Initialize the type list growarray. (closes #7929) 16020 Files: src/vim9compile.c, src/testdir/test_vim9_func.vim 16021 16022 Patch 8.2.2573 16023 Problem: Vim9: using invalid pointer for error message. 16024 Solution: Use the right pointer. (closes #7921) 16025 Files: src/eval.c, src/testdir/test_vim9_expr.vim 16026 16027 Patch 8.2.2574 16028 Problem: Vim9: crash when calling partial with wrong function. 16029 Solution: Check argument types of called function. (closes #7912) 16030 Files: src/vim9execute.c, src/testdir/test_vim9_func.vim 16031 16032 Patch 8.2.2575 16033 Problem: Vim9: a function name with "->" in the next line doesn't work. 16034 Solution: Recognize a function name by itself. (closes #7770) 16035 Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim 16036 16037 Patch 8.2.2576 16038 Problem: Vim9: defining a :func function checks for white space after a 16039 comma in the arguments. 16040 Solution: Only check for white space in a :def function. (closes #7930) 16041 Files: src/userfunc.c, src/testdir/test_vim9_func.vim 16042 16043 Patch 8.2.2577 16044 Problem: Compiler warning for type conversion. 16045 Solution: Add a typecast. (Mike Williams) 16046 Files: src/drawline.c 16047 16048 Patch 8.2.2578 16049 Problem: Lua cannot handle a passed in lambda. 16050 Solution: Handle VAR_PARTIAL. (Prabir Shrestha, closes #7937, closes #7936) 16051 Files: src/if_lua.c, src/testdir/test_lua.vim 16052 16053 Patch 8.2.2579 16054 Problem: Vim9: crash in garbagecollect after for loop. 16055 Solution: Do not set a reference in script item when the name was cleared. 16056 (closes #7935) 16057 Files: src/evalvars.c 16058 16059 Patch 8.2.2580 16060 Problem: Vim9: checking vararg type is wrong when function is auto-loaded. 16061 Solution: Use the member type. (closes #7933) 16062 Files: src/vim9execute.c, src/testdir/test_vim9_script.vim 16063 16064 Patch 8.2.2581 16065 Problem: Vim9: sourcing Vim9 script triggers a redraw. 16066 Solution: Do not let setting/restoring 'cpoptions' cause a redraw. 16067 (closes #7920) 16068 Files: src/vim.h, src/option.c, src/optionstr.c, src/scriptfile.c, 16069 src/vim9script.c, src/testdir/test_vim9_script.vim, 16070 src/testdir/dumps/Test_vim9_no_redraw.dump 16071 16072 Patch 8.2.2582 (after 8.2.2581) 16073 Problem: Vim9: screendump test fails on MS-Windows. 16074 Solution: Use :function instead of :def. 16075 Files: src/testdir/test_vim9_script.vim 16076 16077 Patch 8.2.2583 16078 Problem: Vim9: cannot compare result of getenv() with null. 16079 Solution: Make the return type of getenv() "any". (closes #7943) 16080 Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim 16081 16082 Patch 8.2.2584 16083 Problem: Vim9: type error for assigning the result of list concatenation to 16084 a list. 16085 Solution: Do not consider concatenation result in a constant. (closes #7942) 16086 Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim 16087 16088 Patch 8.2.2585 16089 Problem: Vim9: illegal memory access. 16090 Solution: Check byte right after "null", not one more. 16091 Files: src/vim9compile.c 16092 16093 Patch 8.2.2586 16094 Problem: Process id may be invalid. 16095 Solution: Use sysinfo.uptime to check for recent reboot. (suggested by Hugo 16096 van der Sanden, closes #7947) 16097 Files: src/configure.ac, src/auto/configure, src/config.h.in, 16098 src/memline.c, src/testing.c, src/globals.h, 16099 src/testdir/test_recover.vim 16100 16101 Patch 8.2.2587 (after 8.2.2586) 16102 Problem: Recover test fails on FreeBSD. 16103 Solution: Check for Linux. 16104 Files: src/testdir/check.vim, src/testdir/test_recover.vim 16105 16106 Patch 8.2.2588 (after 8.2.2586) 16107 Problem: Build failure with tiny features. 16108 Solution: Add #ifdef. Run recover test separately. 16109 Files: src/memline.c, src/testdir/Make_all.mak, src/testdir/test_alot.vim 16110 16111 Patch 8.2.2589 (after 8.2.2586) 16112 Problem: Recover test hangs in the GUI. 16113 Solution: Add g:skipped_reason to skip a _nocatch_ test. 16114 Files: src/testdir/runtest.vim, src/testdir/test_recover.vim 16115 16116 Patch 8.2.2590 16117 Problem: Vim9: default argument value may cause internal error. 16118 Solution: Hide later function arguments when compiling the expression. 16119 (closes #7948) 16120 Files: src/vim9compile.c, src/testdir/test_vim9_func.vim 16121 16122 Patch 8.2.2591 16123 Problem: Poke files are not recognized. 16124 Solution: Add a filetype entry. (Matt Ihlenfield) 16125 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 16126 16127 Patch 8.2.2592 16128 Problem: Code coverage could be improved. 16129 Solution: Add a few more tests. (Dominique Pellé, closes #7957) 16130 Files: src/testdir/test_fileformat.vim, src/testdir/test_normal.vim, 16131 src/testdir/test_sleep.vim, src/testdir/test_textformat.vim, 16132 src/testdir/test_viminfo.vim 16133 16134 Patch 8.2.2593 16135 Problem: List of distributed files is incomplete. 16136 Solution: Add a file and rename another. 16137 Files: Filelist 16138 16139 Patch 8.2.2594 16140 Problem: Alternate buffer added to session file even when it's hidden. 16141 Solution: Check the 'buflisted' option. (closes #7951) 16142 Files: src/session.c, src/testdir/test_mksession.vim 16143 16144 Patch 8.2.2595 16145 Problem: Setting 'winminheight' may cause 'lines' to change. 16146 Solution: Also take minimal height of other tabpages into account. (#7899) 16147 Files: src/window.c, src/testdir/test_options.vim 16148 16149 Patch 8.2.2596 16150 Problem: :doautocmd may confuse scripts listening to WinEnter. 16151 Solution: Do the current buffer last. (closes #7958) 16152 Files: src/autocmd.c, src/testdir/test_autocmd.vim 16153 16154 Patch 8.2.2597 16155 Problem: Vim9: "import * as" does not work at script level. 16156 Solution: Implement using an imported namespace. 16157 Files: src/vim.h, src/eval.c, src/evalvars.c, src/proto/evalvars.pro, 16158 src/vim9execute.c, src/errors.h, src/vim9script.c, 16159 src/proto/vim9script.pro, src/testdir/test_vim9_script.vim 16160 16161 Patch 8.2.2598 16162 Problem: Vim9: :open does not need to be supported. 16163 Solution: Do not support :open in Vim9 script. 16164 Files: src/ex_docmd.c, src/vim9script.c, src/testdir/test_vim9_script.vim 16165 16166 Patch 8.2.2599 (after 8.2.2597) 16167 Problem: Build failure. 16168 Solution: Add missing change. 16169 Files: src/vim9compile.c 16170 16171 Patch 8.2.2600 16172 Problem: Vim9: crash when putting an unknown type in a dictionary. 16173 (Yegappan Lakshmanan) 16174 Solution: Handle a NULL type pointer. 16175 Files: src/vim9type.c, src/testdir/test_vim9_builtin.vim 16176 16177 Patch 8.2.2601 16178 Problem: Memory usage test often fails on FreeBSD. 16179 Solution: Increase multiplier for upper limit. 16180 Files: src/testdir/test_memory_usage.vim 16181 16182 Patch 8.2.2602 16183 Problem: Vim9: continue doesn't work if :while is very first command. 16184 (Yegappan Lakshmanan) 16185 Solution: Add one to the continue instruction index. 16186 Files: src/vim9execute.c, src/testdir/test_vim9_script.vim 16187 16188 Patch 8.2.2603 16189 Problem: Vim9: no effect if user command is also a function. 16190 Solution: Check for paren following. (closes #7960) 16191 Files: src/evalvars.c, src/proto/evalvars.pro, src/ex_docmd.c, 16192 src/proto/ex_docmd.pro, src/vim9compile.c, 16193 src/testdir/test_vim9_cmd.vim 16194 16195 Patch 8.2.2604 16196 Problem: GUI-specific command line arguments not tested. 16197 Solution: Add tests for several arguments. (Dominique Pellé, closes #7962) 16198 Files: src/testdir/test_startup.vim 16199 16200 Patch 8.2.2605 16201 Problem: Vim9: string index and slice does not include composing chars. 16202 Solution: Include composing characters. (issue #6563) 16203 Files: runtime/doc/vim9.txt, src/vim9execute.c, 16204 src/testdir/test_vim9_expr.vim 16205 16206 Patch 8.2.2606 16207 Problem: strchars() defaults to counting composing characters. 16208 Solution: Add strcharlen() which ignores composing characters. 16209 Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c, 16210 src/testdir/test_utf8.vim 16211 16212 Patch 8.2.2607 16213 Problem: strcharpart() cannot include composing characters. 16214 Solution: Add the {skipcc} argument. 16215 Files: runtime/doc/eval.txt, src/evalfunc.c, 16216 src/testdir/test_expr_utf8.vim 16217 16218 Patch 8.2.2608 16219 Problem: Character input not fully tested. 16220 Solution: Add more tests. (Yegappan Lakshmanan, closes #7963) 16221 Files: src/testdir/test_functions.vim, src/testdir/test_messages.vim, 16222 src/testdir/test_paste.vim, src/testdir/test_registers.vim, 16223 src/testdir/test_undo.vim 16224 16225 Patch 8.2.2609 16226 Problem: Test disabled on MS-Windows even though it should work. 16227 Solution: Restore the condition for skipping the test. (Ken Takata, 16228 closes #7970) 16229 Files: src/testdir/test_startup.vim 16230 16231 Patch 8.2.2610 16232 Problem: Mouse click test fails when using remote connection. 16233 Solution: Use a larger 'mousetime'. (Dominique Pellé, closes #7968) 16234 Files: src/testdir/test_selectmode.vim 16235 16236 Patch 8.2.2611 16237 Problem: Conditions for startup tests are not exactly right. 16238 Solution: Check for type of GUI instead of MS-Windows. (Ozaki Kiichi, 16239 closes #7976) 16240 Files: src/main.c, src/testdir/check.vim, src/testdir/test_startup.vim 16241 16242 Patch 8.2.2612 16243 Problem: col('.') may get outdated column value. 16244 Solution: Add a note to the help how to make this work and add a test for 16245 it. (closes #7971) 16246 Files: runtime/doc/map.txt, src/testdir/test_mapping.vim 16247 16248 Patch 8.2.2613 (after 8.2.2612) 16249 Problem: New test throws exception. 16250 Solution: Adjust the function cleanup. 16251 Files: src/testdir/test_mapping.vim 16252 16253 Patch 8.2.2614 16254 Problem: Vim9: function is deleted while executing. 16255 Solution: increment the call count, when more than zero do not delete the 16256 function but mark it as dead. (closes #7977) 16257 Files: src/vim9execute.c, src/userfunc.c, 16258 src/testdir/test_vim9_script.vim 16259 16260 Patch 8.2.2615 (after 8.2.2614) 16261 Problem: Test is sourcing the wrong file. 16262 Solution: Correct the file name. 16263 Files: src/testdir/test_vim9_script.vim 16264 16265 Patch 8.2.2616 16266 Problem: Vim9: if 'cpo' is changed in Vim9 script it may be restored. 16267 Solution: Apply the changes to 'cpo' to the restored value. 16268 Files: runtime/doc/vim9.txt, src/scriptfile.c, 16269 src/testdir/test_vim9_script.vim 16270 16271 Patch 8.2.2617 16272 Problem: Vim9: script variable in a block scope not found by a nested 16273 function. 16274 Solution: Copy the block scope IDs before compiling the function. 16275 Files: src/vim9compile.c, src/testdir/test_vim9_func.vim, 16276 src/testdir/test_vim9_disassemble.vim 16277 16278 Patch 8.2.2618 16279 Problem: Vim9: cannot use a normal list name to store function refs. 16280 Solution: Allow a lower case name if it is indexed. 16281 Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim 16282 16283 Patch 8.2.2619 16284 Problem: Vim9: no test for return type of lambda. 16285 Solution: Add a test. 16286 Files: src/testdir/test_vim9_func.vim 16287 16288 Patch 8.2.2620 16289 Problem: Vim9: Using #{ for a dictionary gives strange errors. 16290 Solution: Give an error when using #{ for a comment after a command. 16291 Files: src/vim9compile.c, src/vim9script.c, src/proto/vim9script.pro, 16292 src/errors.h, src/testdir/test_vim9_expr.vim, 16293 src/testdir/test_vim9_script.vim 16294 16295 Patch 8.2.2621 16296 Problem: typval2type() cannot handle recursive structures. 16297 Solution: Use copyID. (closes #7979) 16298 Files: src/list.c, src/vim9script.c, src/vim9type.c, 16299 src/proto/vim9type.pro, src/testdir/test_vimscript.vim 16300 16301 Patch 8.2.2622 16302 Problem: GTK: error when starting up and -geometry is given. (Dominique 16303 Pellé) 16304 Solution: Use another function to get the monitor if the window has not been 16305 created yet. (closes #7978) 16306 Files: src/gui_gtk_x11.c, src/proto/gui_gtk_x11.pro, src/gui_beval.c, 16307 src/gui_xim.c 16308 16309 Patch 8.2.2623 16310 Problem: Some tests fail when run as root. 16311 Solution: Use CheckNotRoot. 16312 Files: src/testdir/test_edit.vim, src/testdir/test_excmd.vim, 16313 src/testdir/test_help.vim, src/testdir/test_writefile.vim 16314 16315 Patch 8.2.2624 16316 Problem: Atom files not recognized. 16317 Solution: Recognize .atom as XML. (Kivin Locke, closes #7986) 16318 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 16319 16320 Patch 8.2.2625 16321 Problem: Rss files not recognized. 16322 Solution: Recognize .rss as XML. (Kivin Locke, closes #7987) 16323 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 16324 16325 Patch 8.2.2626 16326 Problem: GTK3: error when starting up and -geometry is given. (Dominique 16327 Pellé) 16328 Solution: Use another function to get the monitor if the window has not been 16329 created yet. (closes #7978) 16330 Files: src/gui_gtk_x11.c 16331 16332 Patch 8.2.2627 16333 Problem: No need to check for BSD after checking for not root. 16334 Solution: Remove CheckNotBSD. (Ozaki Kiichi, closes #7989) 16335 Files: src/testdir/test_excmd.vim, src/testdir/test_help.vim, 16336 src/testdir/check.vim 16337 16338 Patch 8.2.2628 16339 Problem: Vim9: #{ can still be used at the script level. 16340 Solution: Give an error for #{ like in a :def function. 16341 Files: src/eval.c, src/ex_docmd.c, src/testdir/test_vim9_expr.vim 16342 16343 Patch 8.2.2629 16344 Problem: Vim9: error for #{{ is not desired. 16345 Solution: Adjust the checks. (closes #7990) 16346 Files: src/errors.h, src/vim9script.c, src/ex_docmd.c, 16347 src/testdir/test_vim9_expr.vim 16348 16349 Patch 8.2.2630 16350 Problem: Hard to see where a test gets stuck. 16351 Solution: Print the executed test function. (Dominique Pellé, closes #7975) 16352 Files: src/testdir/Makefile 16353 16354 Patch 8.2.2631 16355 Problem: Commands from winrestcmd() do not always work properly. (Leonid V. 16356 Fedorenchik) 16357 Solution: Repeat the size commands twice. (closes #7988) 16358 Files: src/evalwindow.c, src/testdir/test_window_cmd.vim 16359 16360 Patch 8.2.2632 16361 Problem: Not all command line arguments are tested. 16362 Solution: Add tests for -D and -serverlist. (Dominique Pellé, closes #7992) 16363 Files: src/testdir/test_clientserver.vim, src/testdir/test_startup.vim 16364 16365 Patch 8.2.2633 16366 Problem: Multi-byte 'fillchars' for folding do not show properly. 16367 Solution: Handle multi-byte characters correctly. (Yegappan Lakshmanan, 16368 closes #7983, closes #7955) 16369 Files: src/screen.c, src/testdir/test_fold.vim 16370 16371 Patch 8.2.2634 16372 Problem: 'tagfunc' does not indicate using a pattern. 16373 Solution: Add the "r" flag. (Andy Massimino, closes #7982) 16374 Files: runtime/doc/tagsrch.txt, src/tag.c, src/testdir/test_tagfunc.vim 16375 16376 Patch 8.2.2635 16377 Problem: Vim9: cannot define an inline function. 16378 Solution: Make an inline function mostly work. 16379 Files: src/userfunc.c, src/errors.h, src/vim9compile.c, src/misc2.c, 16380 src/proto/vim9compile.pro, src/testdir/test_vim9_expr.vim 16381 16382 Patch 8.2.2636 (after 8.2.2635) 16383 Problem: Memory leak when compiling inline function. 16384 Solution: Free the prefetched line. 16385 Files: src/userfunc.c, src/vim9compile.c, src/structs.h, src/globals.h, 16386 src/eval.c 16387 16388 Patch 8.2.2637 16389 Problem: prop_remove() causes a redraw even when nothing changed. 16390 Solution: Only redraw if a property was removed. (Dominique Pellé) 16391 Files: src/textprop.c 16392 16393 Patch 8.2.2638 16394 Problem: Cannot write a message to the terminal from the GUI. 16395 Solution: Add :echoconsole and use it in the test runner. (issue #7975) 16396 Files: runtime/doc/eval.txt, runtime/doc/index.txt, src/ex_cmds.h, 16397 src/ex_cmdidxs.h, src/eval.c, src/ui.c, src/proto/ui.pro, 16398 src/term.c, src/testdir/runtest.vim 16399 16400 Patch 8.2.2639 (after 8.2.2638) 16401 Problem: Build failure when fsync() is not available. 16402 Solution: Add #ifdef. 16403 Files: src/ui.c 16404 16405 Patch 8.2.2640 16406 Problem: screenstring() returns non-existing composing characters. 16407 Solution: Only use composing characters if there is a base character. 16408 Files: src/evalfunc.c, src/testdir/test_listchars.vim 16409 16410 Patch 8.2.2641 16411 Problem: Display test fails because of lacking redraw. 16412 Solution: Add a redraw command. 16413 Files: src/testdir/test_display.vim 16414 16415 Patch 8.2.2642 16416 Problem: Vim9: no clear error for wrong inline function. 16417 Solution: Check for something following the "{". 16418 Files: src/userfunc.c, src/testdir/test_vim9_expr.vim 16419 16420 Patch 8.2.2643 16421 Problem: Various code not covered by tests. 16422 Solution: Add a few more test. (Yegappan Lakshmanan, closes #7995) 16423 Files: src/testdir/test_edit.vim, src/testdir/test_functions.vim, 16424 src/testdir/test_mapping.vim, src/testdir/test_termcodes.vim, 16425 src/testdir/test_undo.vim 16426 16427 Patch 8.2.2644 16428 Problem: prop_clear() causes a screen update even when nothing changed. 16429 Solution: Only redraw when a property was cleared. (Dominique Pellé) 16430 Files: src/textprop.c 16431 16432 Patch 8.2.2645 16433 Problem: Using inline function is not properly tested. 16434 Solution: Add test cases, esp. for errors. Minor code improvements. 16435 Files: src/userfunc.c, src/errors.h, src/testdir/test_vim9_expr.vim, 16436 src/testdir/test_vim9_func.vim 16437 16438 Patch 8.2.2646 16439 Problem: Vim9: error for not using string doesn't mention argument. 16440 Solution: Add argument number. 16441 Files: src/filepath.c, src/typval.c, src/proto/typval.pro, src/errors.h, 16442 src/mbyte.c, src/testdir/test_vim9_builtin.vim 16443 16444 Patch 8.2.2647 16445 Problem: Terminal test sometimes hangs. 16446 Solution: Wait for the shell to display a prompt. 16447 Files: src/testdir/test_terminal.vim 16448 16449 Patch 8.2.2648 16450 Problem: Terminal resize test sometimes hangs. 16451 Solution: Wait for the shell to display a prompt and other output. 16452 Files: src/testdir/test_terminal2.vim 16453 16454 Patch 8.2.2649 16455 Problem: Vim9: some wincmd arguments cause a white space error. 16456 Solution: Insert a space before the count. (closes #8001) 16457 Files: src/window.c, src/testdir/test_vim9_cmd.vim 16458 16459 Patch 8.2.2650 16460 Problem: Vim9: command modifiers not handled in nested function. 16461 Solution: Keep function-local info in a structure and save it on the stack. 16462 Files: src/vim9execute.c, src/vim9.h, src/testdir/test_vim9_func.vim 16463 16464 Patch 8.2.2651 16465 Problem: Vim9: restoring command modifiers happens after jump. 16466 Solution: Move the restore instruction to before the jump. (closes #8006) 16467 Also handle for and while. 16468 Files: src/vim9compile.c, src/vim9execute.c, 16469 src/testdir/test_vim9_disassemble.vim 16470 16471 Patch 8.2.2652 16472 Problem: Vim9: can use command modifier without an effect. 16473 Solution: Give an error for a misplaced command modifier. Fix error message 16474 number. 16475 Files: src/vim9compile.c, src/ex_docmd.c, src/proto/ex_docmd.pro, 16476 src/ex_eval.c, src/testdir/test_vim9_cmd.vim, 16477 src/testdir/test_vim9_builtin.vim, 16478 src/testdir/test_vim9_disassemble.vim 16479 16480 Patch 8.2.2653 16481 Problem: Build failure. 16482 Solution: Add missing changes. 16483 Files: src/errors.h 16484 16485 Patch 8.2.2654 16486 Problem: Vim9: getting a character from a string can be slow. 16487 Solution: Avoid a function call to get the character byte size. (#8000) 16488 Files: src/vim9execute.vim 16489 16490 Patch 8.2.2655 16491 Problem: The -w command line argument doesn't work. 16492 Solution: Don't set 'window' when set with the -w argument. (closes #8011) 16493 Files: src/term.c, src/testdir/test_startup.vim 16494 16495 Patch 8.2.2656 16496 Problem: Some command line arguments and regexp errors not tested. 16497 Solution: Add a few test cases. (Dominique Pellé, closes #8013) 16498 Files: src/testdir/test_regexp_latin.vim, src/testdir/test_startup.vim 16499 16500 Patch 8.2.2657 16501 Problem: Vim9: error message for declaring variable in for loop. 16502 Solution: Clear variables when entering block again. (closes #8012) 16503 Files: src/ex_eval.c, src/testdir/test_vim9_script.vim 16504 16505 Patch 8.2.2658 16506 Problem: :for cannot loop over a string. 16507 Solution: Accept a string argument and iterate over its characters. 16508 Files: runtime/doc/eval.txt, src/eval.c, src/vim9compile.c, 16509 src/vim9execute.c, src/errors.h, src/testdir/test_vimscript.vim, 16510 src/testdir/test_vim9_disassemble.vim, 16511 src/testdir/test_vim9_script.vim 16512 16513 Patch 8.2.2659 (after 8.2.2658) 16514 Problem: Eval test fails because for loop on string works. 16515 Solution: Check looping over function reference fails. 16516 Files: src/testdir/test_eval_stuff.vim 16517 16518 Patch 8.2.2660 16519 Problem: Vim9: no error for declaration with trailing text. 16520 Solution: Give an error. (closes #8014) 16521 Files: src/evalvars.c, src/testdir/test_vim9_assign.vim 16522 16523 Patch 8.2.2661 16524 Problem: Leaking memory when looping over a string. 16525 Solution: Free the memory. 16526 Files: src/eval.c 16527 16528 Patch 8.2.2662 16529 Problem: There is no way to avoid some escape sequences. 16530 Solution: Suppress escape sequences when the --not-a-term argument is used. 16531 (Gary Johnson) 16532 Files: src/main.c, src/os_unix.c, src/testdir/test_startup.vim 16533 16534 Patch 8.2.2663 16535 Problem: Vim9: leaking memory when inline function has an error. 16536 Solution: Free the partially allocated function. 16537 Files: src/userfunc.c 16538 16539 Patch 8.2.2664 16540 Problem: Vim9: not enough function arguments checked for string. 16541 Solution: Check in balloon functions. Refactor function arguments. 16542 Files: src/typval.c, src/proto/typval.pro, src/filepath.c, 16543 src/evalfunc.c, src/mbyte.c, src/testdir/test_vim9_builtin.vim 16544 16545 Patch 8.2.2665 (after 8.2.2664) 16546 Problem: Test failures. 16547 Solution: Check more specific feature. Add missing change. 16548 Files: src/testdir/test_vim9_builtin.vim, src/evalbuffer.c 16549 16550 Patch 8.2.2666 16551 Problem: Vim9: not enough function arguments checked for string. 16552 Solution: Check in ch_logfile(), char2nr() and others. 16553 Files: src/channel.c, src/evalfunc.c, src/filepath.c, src/eval.c, 16554 src/testdir/test_vim9_builtin.vim 16555 16556 Patch 8.2.2667 16557 Problem: prop_find() cannot find item matching both id and type. 16558 Solution: Add the "both" argument. (Naohiro Ono, closes #8019) 16559 Files: runtime/doc/textprop.txt, src/testdir/test_textprop.vim, 16560 src/textprop.c 16561 16562 Patch 8.2.2668 16563 Problem: Vim9: omitting "call" for "confirm()" does not give an error. 16564 Solution: Do not recognize a modifier followed by "(". 16565 Files: src/ex_docmd.c, src/testdir/test_vim9_builtin.vim 16566 16567 Patch 8.2.2669 16568 Problem: Command line completion does not work after "vim9". 16569 Solution: Include the "9". (Naohiro Ono, closes #8025) 16570 Files: src/cmdexpand.c, src/ex_docmd.c, src/testdir/test_cmdline.vim 16571 16572 Patch 8.2.2670 16573 Problem: Vim9: error for append(0, text). 16574 Solution: Check for negative number. (closes #8022) 16575 Files: src/typval.c, src/testdir/test_vim9_builtin.vim 16576 16577 Patch 8.2.2671 (after 8.2.2670) 16578 Problem: Error for line number in legacy script. 16579 Solution: Check for number type. 16580 Files: src/typval.c 16581 16582 Patch 8.2.2672 16583 Problem: Vim9: cannot use :lockvar and :unlockvar in compiled script. 16584 Solution: Implement locking support. 16585 Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_cmd.vim 16586 16587 Patch 8.2.2673 16588 Problem: Vim9: script-local funcref can have lower case name. 16589 Solution: Require an upper case name. 16590 Files: src/evalvars.c, src/testdir/test_vim9_assign.vim 16591 16592 Patch 8.2.2674 16593 Problem: Motif: cancelling the font dialog resets the font. 16594 Solution: When no font is selected to not change the font. (closes #7825, 16595 closes #8035) Fix compiler warnings. 16596 Files: src/gui_x11.c, src/gui_motif.c 16597 16598 Patch 8.2.2675 16599 Problem: Directory change in a terminal window shell is not followed. 16600 Solution: Add the 'autoshelldir' option. (closes #6290) 16601 Files: runtime/doc/options.txt, runtime/doc/quickref.txt, 16602 runtime/optwin.vim, src/charset.c, src/feature.h, src/option.h, 16603 src/optiondefs.h, src/terminal.c, src/testdir/check.vim, 16604 src/testdir/test_terminal3.vim 16605 16606 Patch 8.2.2676 16607 Problem: Missing error message. 16608 Solution: Add new error message. 16609 Files: src/errors.h 16610 16611 Patch 8.2.2677 16612 Problem: Vim9: cannot use only some of the default arguments. 16613 Solution: Use v:none to use default argument value. Remove 16614 uf_def_arg_idx[], use JUMP_IF_ARG_SET. (closes #6504) 16615 Files: runtime/doc/vim9.txt, src/vim9compile.c, src/vim9execute.c, 16616 src/userfunc.c, src/structs.h, src/vim9.h, 16617 src/testdir/test_vim9_disassemble.vim, 16618 src/testdir/test_vim9_func.vim 16619 16620 Patch 8.2.2678 16621 Problem: Test for 'autoshelldir' does not reset the option. 16622 Solution: Reset the option after testing. 16623 Files: src/testdir/test_terminal3.vim 16624 16625 Patch 8.2.2679 16626 Problem: Winbar drawn over status line for non-current window with winbar 16627 if frame is zero height. (Leonid V. Fedorenchik) 16628 Solution: Do not draw the window if the frame height is zero. (closes #8037) 16629 Files: src/drawscreen.c, src/testdir/test_winbar.vim, 16630 src/testdir/dumps/Test_winbar_not_visible.dump 16631 16632 Patch 8.2.2680 16633 Problem: Vim9: problem defining a script variable from legacy function. 16634 Solution: Check if the script is Vim9, not the current syntax. 16635 (closes #8032) 16636 Files: src/vim9script.c, src/proto/vim9script.pro, src/evalvars.c, 16637 src/testdir/test_vim9_script.vim 16638 16639 Patch 8.2.2681 16640 Problem: Vim9: test fails for redeclaring script variable. 16641 Solution: It's OK to assign to an existing script variable in legacy. 16642 Files: src/evalvars.c 16643 16644 Patch 8.2.2682 16645 Problem: Vim9: cannot find Name.Func from "import * as Name". (Alexander 16646 Goussas) 16647 Solution: When no variable found try finding a function. (closes #8045) 16648 Check that the function was exported. 16649 Files: src/vim9compile.c, src/vim9script.c, 16650 src/testdir/test_vim9_script.vim 16651 16652 Patch 8.2.2683 16653 Problem: Build failure without the +eval feature. 16654 Solution: Add #ifdef. 16655 Files: src/vim9script.c 16656 16657 Patch 8.2.2684 16658 Problem: Not enough folding code is tested. 16659 Solution: Add more test cases. (Yegappan Lakshmanan, closes #8046) 16660 Files: src/testdir/test_fold.vim, src/testdir/test_mksession.vim, 16661 src/testdir/test_source.vim 16662 16663 Patch 8.2.2685 (after 8.2.2152) 16664 Problem: Custom statusline not drawn correctly with WinBar. 16665 Solution: Also adjust the column for the custom status line. (Yee Cheng 16666 Chin, closes #8047) 16667 Files: src/drawscreen.c, src/proto/drawscreen.pro, src/screen.c, 16668 src/testdir/dumps/Test_winbar_not_visible_custom_statusline.dump, 16669 src/testdir/test_winbar.vim 16670 16671 Patch 8.2.2686 16672 Problem: Status line is not updated when going to cmdline mode. 16673 Solution: Redraw status lines if 'statusline' is set and going to status 16674 line mode. (based on patch from Justin M. Keyes et al., 16675 closes #8044) 16676 Files: src/ex_getln.c, src/testdir/test_statusline.vim, 16677 src/testdir/dumps/Test_statusline_mode_1.dump, 16678 src/testdir/dumps/Test_statusline_mode_2.dump 16679 16680 Patch 8.2.2687 16681 Problem: Vim9: cannot use "const" for global variable in :def function. 16682 Solution: Do allow using :const for a global variable. (closes #8030) 16683 Files: src/vim9compile.c, src/vim9execute.c, 16684 src/testdir/test_vim9_assign.vim 16685 16686 Patch 8.2.2688 16687 Problem: Vim9: crash when using s: for script variable. 16688 Solution: Pass the end pointer. (closes #8045) 16689 Files: src/vim9compile.c, src/testdir/test_vim9_script.vim 16690 16691 Patch 8.2.2689 16692 Problem: Tiny build fails. 16693 Solution: Add #ifdef around use of p_stl. 16694 Files: src/ex_getln.c 16695 16696 Patch 8.2.2690 16697 Problem: PowerShell files are not recognized. 16698 Solution: Recognize several PowerShell extension. (Heath Stewart, 16699 closes #8051) 16700 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 16701 16702 Patch 8.2.2691 16703 Problem: Autoconf may mess up compiler flags. 16704 Solution: Handle removing FORTIFY_SOURCE a bit better. (Vladimir Lomov, 16705 closes #8049) 16706 Files: src/configure.ac, src/auto/configure 16707 16708 Patch 8.2.2692 16709 Problem: Vim9: locked script variable can be changed. 16710 Solution: Check for locked value. (closes #8031) 16711 Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim 16712 16713 Patch 8.2.2693 16714 Problem: Vim9: locked script variable can be changed. 16715 Solution: Check legacy script variable for being locked. (issue #8031) 16716 Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim 16717 16718 Patch 8.2.2694 16719 Problem: When 'matchpairs' is empty every character beeps. (Marco Hinz) 16720 Solution: Bail out when no character in 'matchpairs' was found. 16721 (closes #8053) Add assert_nobeep(). 16722 Files: runtime/doc/testing.txt, runtime/doc/eval.txt, src/search.c, 16723 src/testing.c, src/proto/testing.pro, src/evalfunc.c, 16724 src/testdir/test_textformat.vim 16725 16726 Patch 8.2.2695 16727 Problem: Cursor position reset with nested autocommands. 16728 Solution: Only check and reset line numbers for not nested autocommands. 16729 (closes #5820) 16730 Files: src/autocmd.c, src/testdir/test_terminal.vim 16731 16732 Patch 8.2.2696 16733 Problem: Lua test fails with Lua 5.4.3 and later. 16734 Solution: Check for different error messages. (Yegappan Lakshmanan, 16735 closes #8050) 16736 Files: src/testdir/test_lua.vim 16737 16738 Patch 8.2.2697 16739 Problem: Function list test fails. 16740 Solution: Add missing function. (Yegappan Lakshmanan) 16741 Files: runtime/doc/usr_41.txt 16742 16743 Patch 8.2.2698 (after 8.2.2696) 16744 Problem: Lua test fails on MS-Windows. 16745 Solution: Fall back to old method if "lua -v" doesn't work. 16746 Files: src/testdir/test_lua.vim 16747 16748 Patch 8.2.2699 16749 Problem: Lua test fails. 16750 Solution: Fix condition. (Yegappan Lakshmanan, closes #8060) 16751 Files: src/testdir/test_lua.vim 16752 16753 Patch 8.2.2700 16754 Problem: Nested autocmd test fails sometimes. 16755 Solution: Wait for the job to finish. 16756 Files: src/testdir/test_terminal.vim 16757 16758 Patch 8.2.2701 16759 Problem: Order of removing FORTIFY_SOURCE is wrong. 16760 Solution: Use the more specific pattern first. 16761 Files: src/configure.ac, src/auto/configure 16762 16763 Patch 8.2.2702 16764 Problem: Compiler completion test fails when more scripts are added. 16765 Solution: Add a more generic pattern. 16766 Files: src/testdir/test_compiler.vim 16767 16768 Patch 8.2.2703 16769 Problem: Vim9: memory leak when failing on locked variable. 16770 Solution: Free the memory. 16771 Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim 16772 16773 Patch 8.2.2704 16774 Problem: Adding a lot of completions can be a bit slow. 16775 Solution: Use fast_breakcheck() instead of ui_breakcheck() when adding a 16776 list of completions. (Ben Jackson, closes #8061) 16777 Files: src/insexpand.c 16778 16779 Patch 8.2.2705 16780 Problem: Vim9: misleading reported line number for wrong type. 16781 Solution: Remember and use the line number at the start. (closes #8059) 16782 Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim 16783 16784 Patch 8.2.2706 16785 Problem: Vim9: wrong line number reported for boolean operator. 16786 Solution: Use the line number before skipping over line break. 16787 (closes #8058) 16788 Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim 16789 16790 Patch 8.2.2707 (after 8.2.2704) 16791 Problem: Adding a lot of completions can still be a bit slow. 16792 Solution: Add the check for CP_FAST. (Ben Jackson) 16793 Files: src/insexpand.c 16794 16795 Patch 8.2.2708 16796 Problem: Test sometimes fails waiting for shell in terminal. 16797 Solution: Use WaitForAssert() so we can see the actual job status. Use 16798 Run_shell_in_terminal(). 16799 Files: src/testdir/term_util.vim, src/testdir/test_mksession.vim 16800 16801 Patch 8.2.2709 16802 Problem: The GTK GUI has a gap next to the scrollbar. 16803 Solution: Calculate the scrollbar padding for GTK. (closes #8027) 16804 Files: src/gui_gtk.c 16805 16806 Patch 8.2.2710 16807 Problem: Vim9: not all tests cover script and :def function. 16808 Solution: Run tests in both if possible. Fix differences. 16809 Files: src/eval.c, src/vim9compile.c, src/vim9execute.c, 16810 src/testdir/vim9.vim, src/testdir/test_vim9_expr.vim 16811 16812 Patch 8.2.2711 16813 Problem: "gj" in a closed fold does not move out of the fold. (Marco Hinz) 16814 Solution: Add a check for being in a closed fold. (closes #8062) 16815 Files: src/normal.c, src/testdir/test_fold.vim 16816 16817 Patch 8.2.2712 16818 Problem: Memory leak when adding to a blob fails. 16819 Solution: Clear the second typval before returning. 16820 Files: src/eval.c 16821 16822 Patch 8.2.2713 16823 Problem: Folding code not sufficiently tested. 16824 Solution: Add a few more test cases. (Yegappan Lakshmanan, closes #8064) 16825 Files: src/testdir/test_fold.vim 16826 16827 Patch 8.2.2714 16828 Problem: Filetype pattern ending in star is too far up. 16829 Solution: Move down to where patterns ending in star belong. (closes #8065) 16830 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 16831 16832 Patch 8.2.2715 16833 Problem: Vim9: tests fail without the channel feature. (Dominique Pellé) 16834 Solution: Check for the channel feature. (closes #8063) 16835 Files: src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim 16836 16837 Patch 8.2.2716 16838 Problem: The equivalent class regexp is missing some characters. 16839 Solution: Update the list of equivalent characters. (Dominique Pellé, 16840 closes #8029) 16841 Files: src/regexp_bt.c, src/regexp_nfa.c, 16842 src/testdir/test_regexp_utf8.vim 16843 16844 Patch 8.2.2717 16845 Problem: GTK menu items don't show a tooltip. 16846 Solution: Add a callback to show the tooltip. (Leonid V. Fedorenchik, 16847 closes #8067, closes #7810) 16848 Files: src/gui_gtk.c 16849 16850 Patch 8.2.2718 16851 Problem: Vim9: no explicit test for using a global function without the g: 16852 prefix. 16853 Solution: Add a test case. 16854 Files: src/testdir/test_vim9_func.vim 16855 16856 Patch 8.2.2719 16857 Problem: Vim9: appending to dict item doesn't work in a :def function. 16858 Solution: Implement assignment with operator on indexed item. 16859 Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim 16860 16861 Patch 8.2.2720 16862 Problem: GTK menu tooltip moves the cursor. 16863 Solution: Position the cursor after displaying the tooltip. Do not show the 16864 tooltip when editing the command line. 16865 Files: src/gui_gtk.c 16866 16867 Patch 8.2.2721 16868 Problem: Vim9: cannot have a linebreak inside a lambda. 16869 Solution: Compile the expression before the arguments. 16870 Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim 16871 16872 Patch 8.2.2722 16873 Problem: Vim9: crash when using LHS with double index. 16874 Solution: Handle lhs_dest which is "dest_expr". (closes #8068) 16875 Fix confusing error message for missing dict item. 16876 Files: src/vim9compile.c, src/eval.c, src/testdir/test_vim9_assign.vim 16877 16878 Patch 8.2.2723 (after 8.2.2722) 16879 Problem: Assignment test fails. 16880 Solution: Adjust error number. 16881 Files: src/testdir/test_let.vim 16882 16883 Patch 8.2.2724 (after 8.2.2722) 16884 Problem: Vim9: concatenating to list in dict not tested. 16885 Solution: Add a test. (issue #8068) 16886 Files: src/testdir/test_vim9_assign.vim 16887 16888 Patch 8.2.2725 16889 Problem: Vim9: message about compiling is wrong when using try/catch. 16890 Solution: Store the compiling flag with the message. (closes #8071) 16891 Files: src/ex_docmd.c, src/ex_eval.c, src/structs.h, 16892 src/testdir/test_vim9_func.vim 16893 16894 Patch 8.2.2726 16895 Problem: Confusing error message with white space before comma in the 16896 arguments of a function declaration. 16897 Solution: Give a specific error message. (closes #2235) 16898 Files: src/userfunc.c, src/testdir/test_vim9_func.vim 16899 16900 Patch 8.2.2727 (after 8.2.2726) 16901 Problem: Function test fails. 16902 Solution: Adjust expected error number. 16903 Files: src/testdir/test_user_func.vim 16904 16905 Patch 8.2.2728 16906 Problem: Special key names don't work if 'isident' is cleared. 16907 Solution: Add vim_isNormalIDc() and use it for special key names. 16908 (closes #2389) 16909 Files: src/charset.c, src/proto/charset.pro, src/misc2.c, 16910 src/testdir/test_mapping.vim 16911 16912 Patch 8.2.2729 16913 Problem: Vim9: wrong error message for referring to legacy script variable. 16914 Solution: Do allow referring to a variable in legacy script without "s:" if 16915 it exists at compile time. (closes #8076) 16916 Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim 16917 16918 Patch 8.2.2730 16919 Problem: Coverity complains about not restoring character. 16920 Solution: Also restore the character in case of an error. 16921 Files: src/vim9compile.c 16922 16923 Patch 8.2.2731 16924 Problem: Mac: SF symbols are not displayed properly. 16925 Solution: Add custom range to list of double-width characters. (Yee Cheng 16926 Chin, closes #8077) 16927 Files: src/mbyte.c 16928 16929 Patch 8.2.2732 16930 Problem: Prompt for s///c in Ex mode can be wrong. 16931 Solution: Position the cursor before showing the prompt. (closes #8073) 16932 Files: src/ex_cmds.c, src/testdir/test_ex_mode.vim 16933 16934 Patch 8.2.2733 16935 Problem: Detecting Lua version is not reliable. 16936 Solution: Add "vim.lua_version". (Ozaki Kiichi, closes #8080) 16937 Files: runtime/doc/if_lua.txt, ci/if_ver-1.vim, src/if_lua.c, 16938 src/testdir/test_lua.vim 16939 16940 Patch 8.2.2734 16941 Problem: Vim9: cannot use legacy script-local var from :def function. 16942 Solution: Do not insist on using "s:" prefix. (closes #8076) 16943 Files: src/vim9compile.c, src/proto/vim9compile.pro, 16944 src/testdir/test_vim9_expr.vim 16945 16946 Patch 8.2.2735 16947 Problem: Vim9: function reference found with prefix, not without. 16948 Solution: Also find function reference without prefix. 16949 Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim 16950 16951 Patch 8.2.2736 16952 Problem: Vim9: for loop over string is a bit slow. 16953 Solution: Avoid using strlen(). 16954 Files: src/vim9execute.c 16955 16956 Patch 8.2.2737 16957 Problem: Status line not updated when local 'statusline' option set. 16958 Solution: Check the 'statusline' option of each window. 16959 Files: src/ex_getln.c, src/testdir/test_statusline.vim, 16960 src/testdir/dumps/Test_statusline_mode_1.dump, 16961 src/testdir/dumps/Test_statusline_mode_2.dump 16962 16963 Patch 8.2.2738 16964 Problem: Extending a list with itself can give wrong result. 16965 Solution: Remember the item before where the insertion happens and skip to 16966 after the already inserted items. (closes #1112) 16967 Files: src/list.c, src/testdir/test_listdict.vim 16968 16969 Patch 8.2.2739 16970 Problem: Vim9: a lambda accepts too many arguments at the script level. 16971 Solution: Do not set uf_varargs in Vim9 script. 16972 Files: src/userfunc.c, src/testdir/test_vim9_func.vim, 16973 src/testdir/test_vim9_script.vim 16974 16975 Patch 8.2.2740 16976 Problem: Vim9: lambda with varargs doesn't work. 16977 Solution: Make "...name" work. Require type to be a list. 16978 Files: src/userfunc.c, src/vim9compile.c, src/vim9execute.c, 16979 src/errors.h, src/testdir/test_vim9_func.vim, 16980 src/testdir/test_vim9_script.vim 16981 16982 Patch 8.2.2741 16983 Problem: Vim9: Partial call does not check right arguments. 16984 Solution: Adjust the offset for whether the partial is before or after the 16985 arguments. (closes #8091) 16986 Files: src/vim9compile.c, src/testdir/test_vim9_func.vim 16987 16988 Patch 8.2.2742 16989 Problem: Vim9: when compiling a function fails it is cleared. 16990 Solution: Keep the function lines, prevent execution with a different 16991 status. (closes #8093) 16992 Files: src/vim9compile.c, src/structs.h, src/vim9execute.c, 16993 src/testdir/test_vim9_func.vim 16994 16995 Patch 8.2.2743 16996 Problem: Vim9: function state stuck when compiling with ":silent!". 16997 Solution: Check for uf_def_status to be UF_COMPILING. 16998 Files: src/vim9compile.c, src/message.c, src/globals.h, 16999 src/testdir/test_vim9_func.vim 17000 17001 Patch 8.2.2744 17002 Problem: Vim9: no way to explicitly ignore an argument. 17003 Solution: Use the underscore as the name for an ignored argument. 17004 Files: runtime/doc/vim9.txt, src/vim9compile.c, src/eval.c, 17005 src/evalvars.c, src/errors.h, src/testdir/test_vim9_func.vim 17006 17007 Patch 8.2.2745 (after 8.2.2744) 17008 Problem: Vim9: missing part of the argument change. 17009 Solution: Add missing changes. 17010 Files: src/userfunc.c 17011 17012 Patch 8.2.2746 (after 8.2.2745) 17013 Problem: Check for duplicate arguments does not work. 17014 Solution: Correct condition. 17015 Files: src/userfunc.c 17016 17017 Patch 8.2.2747 17018 Problem: Vim9: not always an error for too many function arguments. 17019 Solution: Check for getting too many arguments. 17020 Files: src/vim9execute.c, src/testdir/test_vim9_func.vim, 17021 src/testdir/test_vim9_builtin.vim 17022 17023 Patch 8.2.2748 17024 Problem: Vim9: memory leak when calling :def function fails. 17025 Solution: Jump to failed_early instead of returning. 17026 Files: src/vim9execute.c 17027 17028 Patch 8.2.2749 17029 Problem: Vim9: test for error can be a bit flaky. 17030 Solution: Increase the wait time a bit. 17031 Files: src/testdir/test_vim9_script.vim 17032 17033 Patch 8.2.2750 17034 Problem: Vim9: error for using underscore in nested function. 17035 Solution: Do not consider "_" already defined. (closes #8096) 17036 Files: src/vim9compile.c, src/testdir/test_vim9_func.vim 17037 17038 Patch 8.2.2751 17039 Problem: Coverity warns for using NULL pointer. 17040 Solution: Check for NULL in calling function. 17041 Files: src/userfunc.c 17042 17043 Patch 8.2.2752 17044 problem: coverity reports unreachable code. 17045 Solution: Remove check for positive index. 17046 Files: src/typval.c 17047 17048 Patch 8.2.2753 17049 Problem: Vim9: cannot ignore an item in assignment unpack. 17050 Solution: Allow using an underscore. 17051 Files: runtime/doc/vim9.txt, src/vim.h, src/evalvars.c, src/eval.c, 17052 src/vim9compile.c, src/testdir/test_vim9_assign.vim 17053 17054 Patch 8.2.2754 17055 Problem: :sleep! does not always hide the cursor. 17056 Solution: Add the cursor_is_asleep flag. (Jeremy Lerner, closes #8097, 17057 closes #7998) 17058 Files: src/drawscreen.c, src/ex_docmd.c, src/gui.c, src/proto/term.pro, 17059 src/term.c 17060 17061 Patch 8.2.2755 17062 Problem: Vim9: no error for using a number in a condition. 17063 Solution: Also use ISN_COND2BOOL if the type is t_number_bool. 17064 (closes #7644) 17065 Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim, 17066 src/testdir/test_vim9_disassemble.vim 17067 17068 Patch 8.2.2756 17069 Problem: Vim9: blob index and slice not implemented yet. 17070 Solution: Implement blob index and slice. 17071 Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/eval.c, 17072 src/blob.c, src/proto/blob.pro, src/testdir/test_vim9_expr.vim 17073 17074 Patch 8.2.2757 17075 Problem: Vim9: blob tests for legacy and Vim9 script are separate. 17076 Solution: Add CheckLegacyAndVim9Success(). Make blob index assign work. 17077 Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/errors.h, 17078 src/blob.c, src/proto/blob.pro, src/eval.c, src/ex_docmd.c, 17079 src/testdir/vim9.vim, src/testdir/test_blob.vim 17080 17081 Patch 8.2.2758 17082 Problem: Vim9: wrong line number for autoload function with wrong name. 17083 Solution: Set and restore SOURCING_LNUM. (closes #8100) 17084 Files: src/userfunc.c, src/testdir/test_vim9_func.vim 17085 17086 Patch 8.2.2759 17087 Problem: Vim9: for loop infers type of loop variable. 17088 Solution: Do not get the member type. (closes #8102) 17089 Files: src/vim9type.c, src/proto/vim9type.pro, src/list.c, 17090 src/vim9script.c, src/proto/vim9script.pro, src/vim.h, 17091 src/testdir/test_vim9_script.vim 17092 17093 Patch 8.2.2760 17094 Problem: Vim9: no error for changing a for loop variable. 17095 Solution: Make the loop variable read-only. (issue #8102) 17096 Files: src/eval.c, src/evalvars.c, src/vim9compile.c, src/vim.h, 17097 src/testdir/test_vim9_script.vim 17098 17099 Patch 8.2.2761 17100 Problem: Using "syn include" does not work properly. 17101 Solution: Don't add current_syn_inc_tag to topgrp. (Jaehwang Jerry Jung, 17102 closes #8104) 17103 Files: src/syntax.c, src/testdir/test_syntax.vim 17104 17105 Patch 8.2.2762 17106 Problem: Vim9: function line truncated when compiling. 17107 Solution: Copy the line before processing it. (closes #8101) 17108 Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim 17109 17110 Patch 8.2.2763 17111 Problem: Vim9: cannot use type in for loop unpack at script level. 17112 Solution: Advance over the type name. 17113 Files: src/evalvars.c, src/testdir/test_vim9_script.vim 17114 17115 Patch 8.2.2764 17116 Problem: Memory leak when default function argument is allocated. 17117 Solution: Free the expression result. 17118 Files: src/userfunc.c, src/testdir/test_functions.vim 17119 17120 Patch 8.2.2765 17121 Problem: Vim9: not all blob operations work. 17122 Solution: Run more tests also with Vim9 script and :def functions. Fix what 17123 doesn't work. 17124 Files: src/eval.c, src/blob.c, src/proto/blob.pro, src/vim9execute.c, 17125 src/errors.h, src/testdir/vim9.vim, src/testdir/test_blob.vim 17126 17127 Patch 8.2.2766 (after 8.2.2765) 17128 Problem: Test failure. 17129 Solution: Add change to Vim9 compilation error message. 17130 Files: src/vim9compile.c 17131 17132 Patch 8.2.2767 (after 8.2.2765) 17133 Problem: Compiler warning for unused argument. 17134 Solution: Remove the argument. 17135 Files: src/blob.c, src/proto/blob.pro, src/vim9execute.c, src/eval.c 17136 17137 Patch 8.2.2768 17138 Problem: Vim9: memory leak with blob range error. 17139 Solution: Jump to end instead of returning. 17140 Files: src/vim9compile.c 17141 17142 Patch 8.2.2769 17143 Problem: Modula-3 config files are not recognized. 17144 Solution: Add filetype patterns. (Doug Kearns) 17145 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 17146 17147 Patch 8.2.2770 17148 Problem: Vim9: type of loop variable is not used. 17149 Solution: Parse and check the variable type. (closes #8107) 17150 Files: src/vim9compile.c, src/testdir/test_vim9_script.vim 17151 17152 Patch 8.2.2771 17153 Problem: Vim9: assignment not recognized if declaration was skipped. 17154 Solution: Also recognized an assignment if the variable does not exist. 17155 (closes #8108) 17156 Files: src/ex_docmd.c, src/testdir/test_vim9_assign.vim 17157 17158 Patch 8.2.2772 17159 Problem: Problems when restoring 'runtimepath' from a session file. 17160 Solution: Add the "skiprtp" item in 'sessionoptions'. 17161 Files: runtime/doc/options.txt, src/session.c, src/optionstr.c, 17162 src/option.h, src/vim.h, src/option.c, 17163 src/testdir/test_mksession.vim 17164 17165 Patch 8.2.2773 17166 Problem: PSL filetype not recognized. 17167 Solution: Add a filetype pattern. (Daniel Kho, closes #8117) 17168 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 17169 17170 Patch 8.2.2774 17171 Problem: Vim9: cannot import an existing name even when using "as". 17172 Solution: Do not check for an existing name when using "as". (closes #8113) 17173 Files: src/vim9script.c, src/testdir/test_vim9_script.vim 17174 17175 Patch 8.2.2775 17176 Problem: Vim9: wrong line number used for some commands. 17177 Solution: For :exe, :echo and the like use the line number of the start of 17178 the command. When calling a function set the line number in the 17179 script context. 17180 Files: src/vim9compile.c, src/vim9execute.c, src/structs.h, 17181 src/testdir/test_vim9_script.vim 17182 17183 Patch 8.2.2776 17184 Problem: :mksession uses current value of 'splitbelow' and 'splitright' 17185 even though "options" is not in 'sessionoptions'. (Maxim Kim) 17186 Solution: Save and restore the values, instead of setting to the current 17187 value. (closes #8119) 17188 Files: src/session.c, src/testdir/test_mksession.vim 17189 17190 Patch 8.2.2777 17191 Problem: Vim9: blob operations not tested in all ways. 17192 Solution: Run tests with CheckLegacyAndVim9Success(). Make blob assign with 17193 index work. 17194 Files: src/vim9compile.c, src/vim9execute.c, src/errors.h, src/blob.c, 17195 src/proto/blob.pro, src/testdir/test_blob.vim, 17196 src/testdir/test_vim9_disassemble.vim 17197 17198 Patch 8.2.2778 17199 Problem: Problem restoring 'packpath' in session. 17200 Solution: Let "skiprtp" also apply to 'packpath'. 17201 Files: runtime/doc/options.txt, src/option.c, 17202 src/testdir/test_mksession.vim 17203 17204 Patch 8.2.2779 17205 Problem: Memory access error in remove() for blob. 17206 Solution: Adjust length for memmove(). 17207 Files: src/blob.c 17208 17209 Patch 8.2.2780 17210 Problem: Vim9: for loop over blob doesn't work. 17211 Solution: Make it work. 17212 Files: src/vim9compile.c, src/vim9execute.c, src/testdir/test_blob.vim 17213 17214 Patch 8.2.2781 17215 Problem: Add() silently skips when adding to null list or blob. 17216 Solution: Give an error in Vim9 script. Allocate blob when it is NULL like 17217 with list and dict. 17218 Files: src/list.c, src/evalvars.c, src/vim9execute.c, 17219 src/testdir/test_blob.vim, src/testdir/test_vim9_builtin.vim 17220 17221 Patch 8.2.2782 17222 Problem: Vim9: blob operations not fully tested. 17223 Solution: Make more blob tests run in Vim9 script. Fix filter(). Make 17224 insert() give an error for a null blob, like add(). 17225 Files: src/list.c, src/testdir/test_blob.vim, 17226 src/testdir/test_vim9_builtin.vim 17227 17228 Patch 8.2.2783 17229 Problem: Duplicate code for setting byte in blob, blob test may fail. 17230 Solution: Call blob_set_append(). Test sort failure with "N". 17231 Files: src/eval.c, src/testdir/test_blob.vim 17232 17233 Patch 8.2.2784 17234 Problem: Vim9: cannot use \=expr in :substitute. 17235 Solution: Compile the expression into instructions and execute them when 17236 invoked. 17237 Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, 17238 src/proto/vim9execute.pro, src/regexp.c, src/ex_cmds.c, 17239 src/proto/ex_cmds.pro, src/globals.h, 17240 src/testdir/test_vim9_cmd.vim, 17241 src/testdir/test_vim9_disassemble.vim 17242 17243 Patch 8.2.2785 17244 Problem: Vim9: cannot redirect to local variable. 17245 Solution: Compile :redir when redirecting to a variable. 17246 Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/errors.h, 17247 src/evalvars.c, src/proto/evalvars.pro, 17248 src/testdir/test_vim9_cmd.vim, 17249 src/testdir/test_vim9_disassemble.vim 17250 17251 Patch 8.2.2786 17252 Problem: Vim9: memory leak when using :s with expression. 17253 Solution: Clean up the instruction list. 17254 Files: src/vim9compile.c 17255 17256 Patch 8.2.2787 17257 Problem: MS-Windows: crash when using :echoconsole. 17258 Solution: Do not write a NUL when it's already there. 17259 Files: src/os_win32.c 17260 17261 Patch 8.2.2788 17262 Problem: Raku is now the only name what once was called perl6. 17263 Solution: Adjust the filetype detection. (closes #8120) 17264 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 17265 17266 Patch 8.2.2789 17267 Problem: Vim9: using \=expr in :substitute does not handle jumps. 17268 Solution: Start with instruction count zero. (closes #8128) 17269 Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim 17270 17271 Patch 8.2.2790 (after 8.2.2788) 17272 Problem: filetype test fails 17273 Solution: Also update the scripts detection 17274 Files: runtime/scripts.vim 17275 17276 Patch 8.2.2791 17277 Problem: Vim9: memory leak when using \=expr in :substitute. 17278 Solution: Do not allocate a new instruction list. 17279 Files: src/vim9compile.c 17280 17281 Patch 8.2.2792 17282 Problem: Vim9: :disas shows instructions for default args but no text. 17283 Solution: Show the expression test above the default argument instructions. 17284 (closes #8129) 17285 Files: src/vim9execute.c, src/testdir/test_vim9_disassemble.vim 17286 17287 Patch 8.2.2793 17288 Problem: MS-Windows: string literals are writable with MSVC. 17289 Solution: Add the /GF compiler flag. Make mch_write() safer. (Ken Takata, 17290 closes #8133) 17291 Files: src/Make_mvc.mak, src/os_win32.c 17292 17293 Patch 8.2.2794 17294 Problem: Linux users don't know how to get ncurses. 17295 Solution: Add the name of the package. (closes #8132) 17296 Files: src/configure.ac, src/auto/configure 17297 17298 Patch 8.2.2795 17299 Problem: Coverity warns for not using return value. 17300 Solution: Check the return value of compiling the substitute expression. 17301 Files: src/vim9compile.c 17302 17303 Patch 8.2.2796 17304 Problem: Vim9: redir to variable does not accept an index. 17305 Solution: Make the index work. 17306 Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim 17307 17308 Patch 8.2.2797 17309 Problem: Search highlight disappears in the Visual area. 17310 Solution: Combine the search attributes. (closes #8134) 17311 Files: src/drawline.c, src/testdir/test_search.vim, 17312 src/testdir/dumps/Test_hlsearch_visual_1.dump 17313 17314 Patch 8.2.2798 17315 Problem: Vim9: redir to variable with append does not accept an index. 17316 Solution: Make the appending work. 17317 Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim 17318 17319 Patch 8.2.2799 17320 Problem: Vim9: type casts don't fully work at the script level. 17321 Solution: Implement the missing piece. 17322 Files: src/eval.c, src/testdir/test_vim9_expr.vim 17323 17324 Patch 8.2.2800 17325 Problem: After a timer displays text a hit-enter prompt is given. 17326 Solution: Reset msg_didany and need_wait_return. (closes #8136) 17327 Files: src/drawscreen.c, src/testdir/test_timers.vim 17328 17329 Patch 8.2.2801 17330 Problem: Free Pascal makefile not recognized. 17331 Solution: Add the fpcmake filetype. (Doug Kearns) 17332 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 17333 17334 Patch 8.2.2802 17335 Problem: Vim9: illegal memory access. 17336 Solution: Check for comment before checking for white space. (closes #8142) 17337 Files: src/eval.c, src/testdir/test_vim9_func.vim 17338 17339 Patch 8.2.2803 17340 Problem: Flicker when the popup menu has an info popup. 17341 Solution: Avoid drawing over the popup when it's going to be redrawn in the 17342 same position. (closes #8131) Also avoid redrawing the scrollbar. 17343 Files: src/popupmenu.c, src/proto/popupmenu.pro, src/drawscreen.c, 17344 src/globals.h 17345 17346 Patch 8.2.2804 17347 Problem: Setting buffer local mapping with mapset() changes global mapping. 17348 Solution: Only set the local mapping. (closes #8143) 17349 Files: src/map.c, src/testdir/test_maparg.vim 17350 17351 Patch 8.2.2805 17352 Problem: Vim9: cannot use legacy syntax in Vim9 script. 17353 Solution: Add the :legacy command. 17354 Files: src/ex_cmds.h, runtime/doc/vim9.txt, runtime/doc/index.txt 17355 src/ex_cmdidxs.h, src/ex_docmd.c, src/structs.h, src/vim9script.c, 17356 src/vim9compile.c, src/testdir/test_vim9_func.vim, 17357 src/testdir/test_vim9_assign.vim 17358 17359 Patch 8.2.2806 17360 Problem: Vim9: using "++nr" as a command might not work. 17361 Solution: Do not recognize "++" and "--" in a following line as addition or 17362 subtraction. 17363 Files: src/vim9compile.c, src/ex_docmd.c, src/ex_cmds.h, src/ex_cmdidxs.h, 17364 src/vim9script.c, src/proto/vim9script.pro, src/eval.c, 17365 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_expr.vim 17366 17367 Patch 8.2.2807 17368 Problem: Build fails with tiny features. 17369 Solution: Use a dummy function for ex_incdec(). 17370 Files: src/ex_docmd.c 17371 17372 Patch 8.2.2808 17373 Problem: Vim9: increment and decrement not sufficiently tested. 17374 Solution: Add assertions. 17375 Files: src/testdir/test_vim9_assign.vim 17376 17377 Patch 8.2.2809 17378 Problem: Vim9: :def function compilation fails when using :legacy. 17379 Solution: Reset CMOD_LEGACY when compiling a function. (closes #8137) 17380 Files: src/vim9compile.c, src/testdir/test_vim9_func.vim 17381 17382 Patch 8.2.2810 17383 Problem: Vim9: crash when calling a function in a substitute expression. 17384 Solution: Set the instructions back to the substitute expression 17385 instructions. (closes #8148) 17386 Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim 17387 17388 Patch 8.2.2811 17389 Problem: Vim9: error for missing white space doesn't say where it is 17390 missing 17391 Solution: Mention the command. (closes #8149) 17392 Files: src/ex_docmd.c, src/errors.h, src/testdir/test_vim9_cmd.vim 17393 17394 Patch 8.2.2812 17395 Problem: Vim9: still crash when using substitute expression. 17396 Solution: Put the instruction list in the stack frame. (closes #8154) 17397 Files: src/vim9execute.c, src/vim9.h, src/testdir/test_vim9_cmd.vim 17398 17399 Patch 8.2.2813 17400 Problem: Cannot grep using fuzzy matching. 17401 Solution: Add the "f" flag to :vimgrep. (Yegappan Lakshmanan, closes #8152) 17402 Files: runtime/doc/quickfix.txt, src/ex_cmds.c, src/proto/search.pro, 17403 src/quickfix.c, src/search.c, src/vim.h, 17404 src/testdir/test_quickfix.vim 17405 17406 Patch 8.2.2814 (after 8.2.2812) 17407 Problem: Vim9: unused variable. (John Marriott) 17408 Solution: Adjust #ifdef. 17409 Files: src/vim9execute.c 17410 17411 Patch 8.2.2815 17412 Problem: Status line flickers when redrawing popup menu info. 17413 Solution: Do not redraw the status line when the focus is in the popup 17414 window. (issue #8144) 17415 Files: src/popupmenu.c 17416 17417 Patch 8.2.2816 17418 Problem: Vim9: comment below expression in lambda causes problems. 17419 Solution: Use a single space for empty and comment lines. (closes #8156) 17420 Files: src/eval.c, src/testdir/test_vim9_expr.vim 17421 17422 Patch 8.2.2817 17423 Problem: Vim9: script sourcing continues after an error. 17424 Solution: Make an error in any command in "vim9script" abort sourcing. 17425 Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim, 17426 src/testdir/test_vim9_assign.vim, 17427 src/testdir/test_vim9_func.vim 17428 17429 Patch 8.2.2818 17430 Problem: No jump added to jumplist when opening terminal in current window. 17431 Solution: Call setpcmark(). (closes #8158) 17432 Files: src/terminal.c, src/testdir/test_terminal.vim 17433 17434 Patch 8.2.2819 17435 Problem: Finishing an abbreviation with a multi-byte char may not work. 17436 Solution: Escape K_SPECIAL in the typed character. (closes #8160) 17437 Files: src/map.c, src/testdir/test_mapping.vim 17438 17439 Patch 8.2.2820 17440 Problem: Session file may divide by zero. 17441 Solution: Avoid writing divide by zero. (closes #8162) 17442 Files: src/session.c, src/testdir/test_mksession.vim 17443 17444 Patch 8.2.2821 17445 Problem: MS-Windows: unnecessarily loading libraries when registering OLE. 17446 Solution: Skip loading libraries when invoked with "-register". 17447 Files: src/main.c, src/globals.h, src/os_win32.c 17448 17449 Patch 8.2.2822 (after 8.2.2821) 17450 Problem: MS-Windows: unnecessarily loading libraries when unregistering OLE. 17451 Solution: Also skip loading libraries when invoked with "-unregister". Run 17452 Vim for README.txt with user privileges. 17453 Files: src/main.c, nsis/gvim.nsi, nsis/README.txt 17454 17455 Patch 8.2.2823 17456 Problem: MS-Windows: launching Vim from installer doesn't open README. 17457 Solution: Adjust the quotes. 17458 Files: nsis/gvim.nsi 17459 17460 Patch 8.2.2824 17461 Problem: MS-Windows: build failure with MSVC. 17462 Solution: Adjust the list of distributed files. Add hint about python. 17463 Adjust path for reading runtime files. 17464 Files: Filelist, src/testdir/shared.vim, 17465 src/testdir/test_function_lists.vim 17466 17467 Patch 8.2.2825 17468 Problem: Code in checkreadonly() not fully tested. 17469 Solution: Add more tests. (Dominique Pellé, closes #8169) 17470 Files: src/testdir/test_excmd.vim 17471 17472 Patch 8.2.2826 17473 Problem: Compiler warnings for int to size_t conversion. (Randall W. 17474 Morris) 17475 Solution: Add type casts. 17476 Files: src/map.c, src/quickfix.c 17477 17478 Patch 8.2.2827 17479 Problem: Test file was not deleted. 17480 Solution: Uncomment the delete() call. (Dominique Pellé, closes #8172) 17481 Files: src/testdir/test_mksession.vim 17482 17483 Patch 8.2.2828 17484 Problem: Coverity complains about not checking the rename() return value. 17485 Solution: Add "(void)", can't do anything in case of a failure. 17486 Files: src/fileio.c 17487 17488 Patch 8.2.2829 17489 Problem: Some comments are not correct or clear. 17490 Solution: Adjust the comments. Add test for cursor position. 17491 Files: src/regexp_bt.c, src/regexp_nfa.c, 17492 src/testdir/test_exec_while_if.vim, 17493 src/testdir/test_substitute.vim 17494 17495 Patch 8.2.2830 17496 Problem: Terminal colors are not updated when 'background' is set. 17497 Solution: Call term_update_colors() for all terminals. (Marcin Szamotulski, 17498 closes #8171, closes #8150) 17499 Files: src/terminal.c, src/proto/terminal.pro, src/optionstr.c 17500 17501 Patch 8.2.2831 17502 Problem: Vim9: expandcmd() not tested. 17503 Solution: Add a test. 17504 Files: src/testdir/test_vim9_builtin.vim 17505 17506 Patch 8.2.2832 17507 Problem: Operator cancelled by moving mouse when using popup. (Sergey 17508 Vlasov) 17509 Solution: Do not trigger an operator for a mouse move events. (closes #8176) 17510 Files: src/normal.c 17511 17512 Patch 8.2.2833 17513 Problem: Two key command cancelled by moving mouse when using popup. 17514 (Sergey Vlasov) 17515 Solution: Ignore K_MOUSEMOVE in plain_vgetc(). 17516 Files: src/getchar.c 17517 17518 Patch 8.2.2834 17519 Problem: Vim9: :cexpr does not work with local variables. 17520 Solution: Compile :cexpr. 17521 Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/quickfix.c, 17522 src/proto/quickfix.pro, src/testdir/test_quickfix.vim, 17523 src/testdir/test_vim9_disassemble.vim 17524 17525 Patch 8.2.2835 (after 8.2.2834) 17526 Problem: Vim9: leaking memory in :cexpr. 17527 Solution: Also free the command line copy. 17528 Files: src/vim9compile.c 17529 17530 Patch 8.2.2836 (after 8.2.2834) 17531 Problem: Build failure without the +quickfix feature. (John Marriott) 17532 Solution: Add #ifdef. 17533 Files: src/vim9compile.c, src/vim9execute.c, src/tag.c 17534 17535 Patch 8.2.2837 17536 Problem: Various code lines not covered by tests. 17537 Solution: Add test cases. (Dominique Pellé, closes #8178) 17538 Files: src/testdir/test_excmd.vim, src/testdir/test_functions.vim, 17539 src/testdir/test_options.vim, src/testdir/test_startup.vim, 17540 src/testdir/test_syntax.vim, src/testdir/test_vim9_cmd.vim 17541 17542 Patch 8.2.2838 17543 Problem: File extension .wrap not recognized. 17544 Solution: Use dosini filetype for .wrap files. (Liam Beguin, closes #8177) 17545 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 17546 17547 Patch 8.2.2839 17548 Problem: Default redirection missing "ash" and "dash". 17549 Solution: Recognize "ash" and "dash". (Natanael Copa, closes #8180) 17550 Files: runtime/doc/options.txt, src/option.c 17551 17552 Patch 8.2.2840 17553 Problem: Vim9: member operation not fully tested. 17554 Solution: Add a few tests. 17555 Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim 17556 17557 Patch 8.2.2841 17558 Problem: MS-Windows: cursor in wrong position when 'lazyredraw' and 17559 'statusline' are set. 17560 Solution: Call compute_cmdrow(). (closes #8170, closes #8184) 17561 Files: src/os_win32.c 17562 17563 Patch 8.2.2842 17564 Problem: Vim9: skip argument to searchpair() is not compiled. 17565 Solution: Add VAR_INSTR. 17566 Files: src/structs.h, src/vim9.h, src/vim9compile.c, src/vim9execute.c, 17567 src/proto/vim9execute.pro, src/eval.c, src/evalfunc.c, src/vim.h, 17568 src/evalvars.c, src/typval.c, src/vim9type.c, src/testing.c, 17569 src/viminfo.c, src/if_py_both.h, src/json.c, 17570 src/testdir/test_vim9_disassemble.vim, 17571 src/testdir/test_vim9_builtin.vim 17572 17573 Patch 8.2.2843 (after 8.2.2842) 17574 Problem: Vim9: skip argument to searchpairpos() is not compiled. 17575 Solution: Handle like searchpair(). Also for search() and searchpos(). 17576 Files: src/vim9compile.c, src/testdir/test_vim9_builtin.vim 17577 17578 Patch 8.2.2844 17579 Problem: Vim9: memory leak when using searchpair(). 17580 Solution: Free the v_instr field. 17581 Files: src/typval.c 17582 17583 Patch 8.2.2845 17584 Problem: MS-Windows: warning for signed/unsigned comparison. 17585 Solution: Add type cast. 17586 Files: src/terminal.c 17587 17588 Patch 8.2.2846 17589 Problem: Vim9: "echo Func()" does not give an error for a function without 17590 a return value. 17591 Solution: Give an error. Be more specific about why a value is invalid. 17592 Files: src/globals.h, src/errors.h, src/eval.c, src/evalfunc.c, 17593 src/typval.c, src/vim9compile.c, src/vim9execute.c, 17594 src/testdir/test_vim9_cmd.vim 17595 17596 Patch 8.2.2847 17597 Problem: Perl not tested sufficiently. 17598 Solution: Add test. Also test W17. (Dominique Pellé, closes #8193) 17599 Files: src/testdir/test_arabic.vim, src/testdir/test_perl.vim 17600 17601 Patch 8.2.2848 17602 Problem: Crash when calling partial. 17603 Solution: Check for NULL pointer. (Dominique Pellé, closes #8202) 17604 Files: src/eval.c, src/evalfunc.c, src/testdir/test_functions.vim, 17605 src/testdir/test_listdict.vim 17606 17607 Patch 8.2.2849 17608 Problem: Bufwrite not sufficiently tested. 17609 Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8192) 17610 Files: src/testdir/test_startup.vim, src/testdir/test_writefile.vim 17611 17612 Patch 8.2.2850 17613 Problem: Recalling commands from history is not tested. 17614 Solution: Add tests. (closes #8194) 17615 Files: src/testdir/test_cmdline.vim 17616 17617 Patch 8.2.2851 17618 Problem: Using <Cmd> mapping on the command line triggers CmdlineChanged. 17619 (Naohiro Ono) 17620 Solution: Jump to cmdline_not_changed if the command line didn't change. 17621 (closes #8208) 17622 Files: src/ex_getln.c, src/testdir/test_cmdline.vim 17623 17624 Patch 8.2.2852 17625 Problem: Configure can add --as-needed a second time. 17626 Solution: Only add --as-needed if not already there. (Natanael Copa, 17627 closes #8189, closes #8181) 17628 Files: src/configure.ac, src/auto/configure 17629 17630 Patch 8.2.2853 (after 8.2.2851) 17631 Problem: Window is not updated after using <Cmd> mapping. 17632 Solution: So jump to cmdline_changed but skip autocommand. 17633 Files: src/ex_getln.c 17634 17635 Patch 8.2.2854 17636 Problem: Custom statusline cannot contain % items. 17637 Solution: Add "%{% expr %}". (closes #8190) 17638 Files: runtime/doc/options.txt, src/buffer.c, src/optionstr.c, 17639 src/testdir/test_statusline.vim 17640 17641 Patch 8.2.2855 17642 Problem: White space after "->" does not give E274. 17643 Solution: Do not skip white space in legacy script. (closes #8212) 17644 Files: src/eval.c, src/testdir/test_method.vim 17645 17646 Patch 8.2.2856 17647 Problem: Get readonly error for device that can't be written to. 17648 Solution: Check for being able to write first. (closes #8205) 17649 Files: src/ex_cmds.c, src/testdir/test_writefile.vim 17650 17651 Patch 8.2.2857 17652 Problem: Vim9: exception in ISN_INSTR caught at wrong level. 17653 Solution: Set the starting trylevel in exec_instructions(). (closes #8214) 17654 Files: src/vim9compile.c, src/vim9execute.c, src/globals.h, 17655 src/testdir/test_vim9_builtin.vim 17656 17657 Patch 8.2.2858 (after 8.2.2857) 17658 Problem: Test fails because of changed error message. 17659 Solution: Adjust the expected error message. 17660 Files: src/testdir/test_ex_mode.vim 17661 17662 Patch 8.2.2859 (after 8.2.2857) 17663 Problem: Tcl test fails because of changed error message. 17664 Solution: Adjust the expected error message. 17665 Files: src/testdir/test_tcl.vim 17666 17667 Patch 8.2.2860 17668 Problem: Adding a text property causes the whole window to be redrawn. 17669 Solution: Use changed_lines_buf() to only redraw the affected lines. 17670 Files: src/change.c, src/proto/change.pro, src/textprop.c 17671 17672 Patch 8.2.2861 17673 Problem: Vim9: "legacy return" is not recognized as a return statement. 17674 Solution: Specifically check for a return command. (closes #8213) 17675 Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h, 17676 src/testdir/test_vim9_expr.vim 17677 17678 Patch 8.2.2862 17679 Problem: Removing a text property causes the whole window to be redrawn. 17680 Solution: Use changed_lines_buf() to only redraw the affected lines. 17681 Files: src/textprop.c 17682 17683 Patch 8.2.2863 (after 8.2.2862) 17684 Problem: Removing a text property does not redraw optimally. 17685 Solution: Only redraw the lines that mithg actually have been changed. 17686 Files: src/textprop.c 17687 17688 Patch 8.2.2864 17689 Problem: Vim9: crash when using inline function. 17690 Solution: Check for NULL pointer. Make using inline function work inside 17691 lambda. (closes #8217) 17692 Files: src/userfunc.c, src/testdir/test_vim9_func.vim 17693 17694 Patch 8.2.2865 (after 8.2.2864) 17695 Problem: Skipping over function body fails. 17696 Solution: Do not define the function when skipping. 17697 Files: src/userfunc.c 17698 17699 Patch 8.2.2866 17700 Problem: Vim9: memory leak when using inline function. 17701 Solution: Remember what strings to free. 17702 Files: src/userfunc.c, src/structs.h, src/eval.c 17703 17704 Patch 8.2.2867 (after 8.2.2866) 17705 Problem: Build failure. 17706 Solution: Add missing part of the change. 17707 Files: src/globals.h 17708 17709 Patch 8.2.2868 17710 Problem: Vim9: When executing a compiled expression the trylevel at start 17711 is changed but not restored. (closes #8214) 17712 Solution: Restore the trylevel at start. 17713 Files: src/vim9execute.c, src/testdir/test_vim9_builtin.vim 17714 17715 Patch 8.2.2869 17716 Problem: Using unified diff is not tested. 17717 Solution: Test all cases also with unified diff. (issue #8197) 17718 Files: src/testdir/test_diffmode.vim 17719 17720 Patch 8.2.2870 17721 Problem: CmdlineChange event triggered twice for CTRL-R. 17722 Solution: Return CMDLINE_NOT_CHANGED from cmdline_insert_reg(). 17723 (closes #8219) 17724 Files: src/ex_getln.c, src/testdir/test_cmdline.vim 17725 17726 Patch 8.2.2871 17727 Problem: Unnecessary VIM_ISDIGIT() calls, badly indented code. 17728 Solution: Call skipdigits() on the next character. Improve indenting. 17729 (Dominique Pellé, closes #8227) 17730 Files: src/charset.c, src/evalfunc.c, src/ex_docmd.c, src/json.c, 17731 src/ops.c, src/tag.c, src/vim9compile.c 17732 17733 Patch 8.2.2872 17734 Problem: Python tests fail without the channel feature. 17735 Solution: Add a feature check. (Dominique Pellé, closes #8226) 17736 Files: src/testdir/test_python2.vim, src/testdir/test_python3.vim 17737 17738 Patch 8.2.2873 17739 Problem: Not enough tests for writing buffers. 17740 Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8229) 17741 Files: src/testdir/test_buffer.vim, src/testdir/test_cmdline.vim, 17742 src/testdir/test_functions.vim, src/testdir/test_writefile.vim 17743 17744 Patch 8.2.2874 17745 Problem: MS-Windows: screen redraws too often. 17746 Solution: Do not redraw when peeking for a character. (closes #8230, 17747 closes #8211) 17748 Files: src/os_win32.c 17749 17750 Patch 8.2.2875 17751 Problem: Cancelling inputlist() after a digit does not return zero. 17752 Solution: Always return zero when cancelling. (closes #8231) 17753 Files: src/misc1.c, src/testdir/test_functions.vim 17754 17755 Patch 8.2.2876 17756 Problem: Configure cannot detect Python 3.10. 17757 Solution: Use sys.version_info. (closes #8233) 17758 Files: src/configure.ac, src/auto/configure 17759 17760 Patch 8.2.2877 17761 Problem: Insufficient tests for popup menu rightleft. 17762 Solution: Add tests. (Yegappan Lakshmanan, closes #8235) 17763 Files: src/testdir/test_popup.vim, 17764 src/testdir/dumps/Test_pum_rightleft_01.dump, 17765 src/testdir/dumps/Test_pum_rightleft_02.dump, 17766 src/testdir/dumps/Test_pum_scrollbar_01.dump, 17767 src/testdir/dumps/Test_pum_scrollbar_02.dump 17768 17769 Patch 8.2.2878 17770 Problem: Vim9: for loop list unpack only allows for one "_". 17771 Solution: Drop the value when the variable is "_". (closes #8232) 17772 Files: src/vim9compile.c, src/testdir/test_vim9_script.vim 17773 17774 Patch 8.2.2879 17775 Problem: File extension .hsig not recognized. 17776 Solution: Use Haskell filetype for .hsig files. (Marcin Szamotulski, 17777 closes #8236) 17778 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 17779 17780 Patch 8.2.2880 17781 Problem: Unified diff fails if actually used. 17782 Solution: Invoke :diffupdate in the test. Fix the check for working external 17783 diff. (Ghjuvan Lacambre, Christian Brabandt, closes #8197) 17784 Files: src/diff.c, src/testdir/test_diffmode.vim 17785 17786 Patch 8.2.2881 17787 Problem: Various pieces of code not covered by tests. 17788 Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8245) 17789 Files: src/testdir/test_const.vim, src/testdir/test_functions.vim, 17790 src/testdir/test_python2.vim, src/testdir/test_python3.vim, 17791 src/testdir/test_user_func.vim, src/testdir/test_vim9_expr.vim, 17792 src/testdir/test_vim9_func.vim 17793 17794 Patch 8.2.2882 17795 Problem: Vim9: memory leak when lambda has an error. 17796 Solution: Free the list of argument types on failure. 17797 Files: src/userfunc.c 17798 17799 Patch 8.2.2883 17800 Problem: MS-Windows manifest file name is misleading. 17801 Solution: Rename the file. (closes #8241) 17802 Files: .gitignore, .hgignore, Filelist, Makefile, src/Make_cyg_ming.mak, 17803 src/Make_mvc.mak, src/gvim.exe.mnf, src/vim.manifest, src/vim.rc 17804 17805 Patch 8.2.2884 17806 Problem: Not enough cscope code is covered by tests. 17807 Solution: Add a few test cases. (Dominique Pellé, closes #8246) 17808 Files: src/testdir/test_cscope.vim 17809 17810 Patch 8.2.2885 17811 Problem: searching for \%'> does not match linewise end of line. (Tim Chase) 17812 Solution: Match end of line if column is MAXCOL. (closes #8238) 17813 Files: src/regexp_nfa.c, src/regexp_bt.c, src/testdir/test_search.vim 17814 17815 Patch 8.2.2886 17816 Problem: Various pieces of code not covered by tests. 17817 Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8255) 17818 Files: src/testdir/test_expr.vim, src/testdir/test_functions.vim, 17819 src/testdir/test_listdict.vim, src/testdir/test_registers.vim, 17820 src/testdir/test_user_func.vim, src/testdir/test_vim9_builtin.vim, 17821 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim 17822 17823 Patch 8.2.2887 17824 Problem: Crash when passing null string to fullcommand(). 17825 Solution: Check for NULL pointer. (closes #8256) 17826 Files: src/ex_docmd.c, src/testdir/test_cmdline.vim 17827 17828 Patch 8.2.2888 17829 Problem: Vim9: "k" command recognized in Vim9 script. 17830 Solution: Do not recognize "k" or "s" and "d" with flags. 17831 Files: src/ex_docmd.c, src/testdir/test_vim9_builtin.vim, 17832 src/testdir/test_vim9_script.vim 17833 17834 Patch 8.2.2889 17835 Problem: Typo and verbose comment in Makefiles. 17836 Solution: Fix typo. Use @#. (Ken Takata, closes #8252) 17837 Files: Makefile, src/testdir/Makefile 17838 17839 Patch 8.2.2890 17840 Problem: Text property duplicated when data block splits. 17841 Solution: Do not continue text prop from previous line. (closes #8261) 17842 Files: src/memline.c, src/structs.h, src/testdir/test_textprop.vim 17843 17844 Patch 8.2.2891 17845 Problem: Cannot build with Perl 5.34. 17846 Solution: Add Perl_SvTRUE_common(). (Ozaki Kiichi, closes #8266, 17847 closes #8250) 17848 Files: src/if_perl.xs 17849 17850 Patch 8.2.2892 17851 Problem: Error message contains random characters. 17852 Solution: Pass the right pointer to error_white_both(). (closes #8272, 17853 closes #8263) 17854 Files: src/eval.c, src/testdir/test_vim9_expr.vim 17855 17856 Patch 8.2.2893 17857 Problem: Multi-byte text in popup title shows up wrong. 17858 Solution: Use the character width instead of the byte length. (Ralf Schandl, 17859 closes #8267, closes #8264) 17860 Files: src/popupwin.c, src/message_test.c, src/testdir/test_popupwin.vim, 17861 src/testdir/dumps/Test_popupwin_multibytetitle.dump 17862 17863 Patch 8.2.2894 17864 Problem: MS-Windows: using enc_locale() for strftime() might not work. 17865 Solution: Use wcsftime(). (Ken Takata, closes #8271) 17866 Files: src/time.c 17867 17868 Patch 8.2.2895 17869 Problem: Vim9: random characters appear in some error messages. 17870 Solution: Pass the correct pointer. (closes #8277) 17871 Files: src/eval.c, src/vim9compile.c, src/testdir/test_vim9_expr.vim 17872 17873 Patch 8.2.2896 17874 Problem: Spellfile functionality not fully tested. 17875 Solution: Add tests for CHECKCOMPOUNDPATTERN and COMMON. (Dominique Pellé, 17876 closes #8270) 17877 Files: src/testdir/test_spellfile.vim 17878 17879 Patch 8.2.2897 17880 Problem: Vim9: can use reserved words at the script level. 17881 Solution: Check variable names for reserved words. (closes #8253) 17882 Files: src/vim9compile.c, src/vim9script.c, src/proto/vim9script.pro, 17883 src/eval.c, src/testdir/test_vim9_assign.vim 17884 17885 Patch 8.2.2898 17886 Problem: QuitPre and ExitPre not triggered when GUI window is closed. 17887 Solution: Call before_quit_autocmds(). (closes #8242) 17888 Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/gui.c 17889 17890 Patch 8.2.2899 17891 Problem: Appveyor script does not detect nmake failure. 17892 Solution: Explicitly check for executable. (Ken Takata, closes #8281) 17893 Files: ci/appveyor.bat 17894 17895 Patch 8.2.2900 17896 Problem: QuitPre is triggered before :wq writes the file, which is 17897 different from other commands. 17898 Solution: Trigger QuitPre after writing the file. (closes #8279) 17899 Files: src/ex_docmd.c, src/testdir/test_writefile.vim 17900 17901 Patch 8.2.2901 17902 Problem: Some operators not fully tested. 17903 Solution: Add a few test cases. (Yegappan Lakshmanan, closes #8282) 17904 Files: src/testdir/test_cpoptions.vim, src/testdir/test_increment.vim, 17905 src/testdir/test_normal.vim, src/testdir/test_virtualedit.vim, 17906 src/testdir/test_visual.vim 17907 17908 Patch 8.2.2902 17909 Problem: Spellfile functionality not fully tested. 17910 Solution: Add tests for CIRCUMFIX, NOBREAK and others. (Dominique Pellé, 17911 closes #8283) 17912 Files: src/testdir/test_spellfile.vim 17913 17914 Patch 8.2.2903 17915 Problem: Cursor position wrong on wrapped line with 'signcolumn'. 17916 Solution: Don't add space for showbreak twice. (Christian Brabandt, 17917 closes #8262) 17918 Files: src/drawline.c, src/testdir/test_display.vim 17919 17920 Patch 8.2.2904 17921 Problem: "g$" causes scroll if half a double width char is visible. 17922 Solution: Advance to the last fully visible character. (closes #8254) 17923 Files: src/normal.c, src/testdir/test_normal.vim 17924 17925 Patch 8.2.2905 17926 Problem: No error when defaults.vim cannot be loaded. 17927 Solution: Add an error message. (Christian Brabandt, closes #8248) 17928 Files: runtime/doc/starting.txt, src/errors.h, src/main.c, 17929 src/testdir/test_startup.vim 17930 17931 Patch 8.2.2906 (after 8.2.2905) 17932 Problem: ASAN reports errors for test_startup for unknown reasons. 17933 Solution: Temporarily disable the new test. 17934 Files: src/testdir/test_startup.vim 17935 17936 Patch 8.2.2907 17937 Problem: Memory leak when running out of memory. 17938 Solution: Free the allocated memory. (Dominique Pellé, closes #8284) 17939 Files: src/term.c 17940 17941 Patch 8.2.2908 17942 Problem: Crash when using a terminal popup window from the cmdline window. 17943 Solution: Instead of checking cmdwin_type call cmdwin_is_active(). 17944 (closes #8286) 17945 Files: src/terminal.c, src/errors.h, src/testdir/test_cmdline.vim, 17946 src/testdir/dumps/Test_cmdwin_no_terminal.dump 17947 17948 Patch 8.2.2909 17949 Problem: Build error with non-Unix system. 17950 Solution: Always include limits.h. 17951 Files: src/vim.h 17952 17953 Patch 8.2.2910 17954 Problem: Test for cmdline window and terminal fails on MS-Windows. 17955 Solution: Skip the test on MS-Windows. 17956 Files: src/testdir/test_cmdline.vim 17957 17958 Patch 8.2.2911 17959 Problem: Pattern "\%V" does not match all of block selection. (Rick Howe) 17960 Solution: Use the value of vi_curswant. (closes #8285) 17961 Files: src/regexp.c, src/testdir/test_search.vim, 17962 src/testdir/dumps/Test_hlsearch_block_visual_match.dump 17963 17964 Patch 8.2.2912 17965 Problem: MS-Windows: most users expect using Unicode. 17966 Solution: Default 'encoding' to utf-8 on MS-Windows. (Ken Takata, 17967 closes #3907) 17968 Files: runtime/doc/options.txt, src/mbyte.c, src/option.c, src/option.h, 17969 src/testdir/test_writefile.vim 17970 17971 Patch 8.2.2913 17972 Problem: MS-Windows conpty supports using mouse events. 17973 Solution: When enabling the mouse enable mouse input and disable quick edit 17974 mode. (Wez Furlong, closes #8280) 17975 Files: src/os_win32.c 17976 17977 Patch 8.2.2914 17978 Problem: Cannot paste a block without adding padding. 17979 Solution: Add "zp" and "zP" which paste without adding padding. (Christian 17980 Brabandt, closes #8289) 17981 Files: runtime/doc/change.txt, runtime/doc/index.txt, src/normal.c, 17982 src/register.c, src/vim.h, src/testdir/test_normal.vim, 17983 src/testdir/test_visual.vim 17984 17985 Patch 8.2.2915 17986 Problem: MS-Windows: when using "default" for encoding utf-8 is used. 17987 Solution: Use the system encoding. (Ken Takata, closes #8300) 17988 Files: src/mbyte.c, runtime/doc/options.txt 17989 17990 Patch 8.2.2916 17991 Problem: Operators are not fully tested. 17992 Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8290) 17993 Files: src/ops.c, src/testdir/test_netbeans.vim, 17994 src/testdir/test_normal.vim, src/testdir/test_visual.vim 17995 17996 Patch 8.2.2917 17997 Problem: Spellfile functionality not fully tested. 17998 Solution: Add tests for SFX with removal of characters, spelling 17999 suggestions with NOBREAK and others. (Dominique Pellé, 18000 closes #8293) 18001 Files: src/testdir/test_spellfile.vim 18002 18003 Patch 8.2.2918 18004 Problem: Builtin function can be shadowed by global variable. 18005 Solution: Check for builtin function before variable. (Yasuhiro Matsumoto, 18006 closes #8302) 18007 Files: src/eval.c, src/testdir/test_functions.vim 18008 18009 Patch 8.2.2919 18010 Problem: Using ":!command" does not work if the command uses posix_spawn(). 18011 Solution: Do not call ioctl() with TIOCSCTTY. (Felipe Contreras) 18012 Files: src/os_unix.c 18013 18014 Patch 8.2.2920 18015 Problem: Still a way to shadow a builtin function. (Yasuhiro Matsumoto) 18016 Solution: Check the key when using extend(). (issue #8302) 18017 Files: src/eval.c, src/dict.c, src/proto/dict.pro, 18018 src/testdir/test_functions.vim 18019 18020 Patch 8.2.2921 18021 Problem: E704 for script local variable is not backwards compatible. 18022 (Yasuhiro Matsumoto) 18023 Solution: Only give the error in Vim9 script. Also check for function-local 18024 variable. 18025 Files: src/dict.c, src/testdir/test_functions.vim 18026 18027 Patch 8.2.2922 18028 Problem: Computing array length is done in various ways. 18029 Solution: Use ARRAY_LENGTH everywhere. (Ken Takata, closes #8305) 18030 Files: src/arabic.c, src/blowfish.c, src/cindent.c, src/cmdexpand.c, 18031 src/cmdhist.c, src/dosinst.c, src/eval.c, src/evalfunc.c, 18032 src/ex_docmd.c, src/fileio.c, src/gui_athena.c, src/gui_gtk_x11.c, 18033 src/gui_haiku.cc, src/gui_photon.c, src/gui_w32.c, 18034 src/gui_xmebw.c, src/hardcopy.c, src/help.c, src/highlight.c, 18035 src/if_mzsch.c, src/macros.h, src/main.c, src/map.c, src/mbyte.c, 18036 src/memline.c, src/menu.c, src/misc2.c, src/normal.c, src/ops.c, 18037 src/option.c, src/optiondefs.h, src/os_win32.c, src/popupwin.c, 18038 src/quickfix.c, src/regexp.c, src/screen.c, src/search.c, 18039 src/syntax.c, src/term.c, src/terminal.c, src/time.c, 18040 src/usercmd.c, src/version.c 18041 18042 Patch 8.2.2923 18043 Problem: EBCDIC build is broken. 18044 Solution: Move sortFunctions() to evalfunc.c. (Ken Takata, closes #8306) 18045 Files: src/eval.c, src/evalfunc.c, src/proto/evalfunc.pro 18046 18047 Patch 8.2.2924 18048 Problem: Superfluous extern declaration. 18049 Solution: Delete the declaration. (Ken Takata, closes #8307) 18050 Files: src/main.c 18051 18052 Patch 8.2.2925 18053 Problem: Vim9: line continuation comment uses legacy syntax. 18054 Solution: Check for #\ instead of "\. (closes #8295) 18055 Files: src/scriptfile.c, src/testdir/test_vim9_script.vim 18056 18057 Patch 8.2.2926 18058 Problem: Vim9: no good error for using :legacy in a :def function. 18059 Solution: Give an explicit error where :legacy is not working. 18060 (closes #8309) 18061 Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_func.vim 18062 18063 Patch 8.2.2927 18064 Problem: Test commented out because it fails with ASAN. 18065 Solution: Only skip the test when running with ASAN. 18066 Files: src/testdir/test_startup.vim 18067 18068 Patch 8.2.2928 18069 Problem: The evalfunc.c file is too big. 18070 Solution: Move float related functionality to a separate file. (Yegappan 18071 Lakshmanan, closes #8287) 18072 Files: Filelist, src/Make_ami.mak, src/Make_cyg_ming.mak, 18073 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md, 18074 src/eval.c, src/evalfunc.c, src/float.c, src/proto.h, 18075 src/proto/eval.pro, src/proto/float.pro 18076 18077 Patch 8.2.2929 18078 Problem: Accidentally enable tcl by default. 18079 Solution: Revert change to Makefile 18080 Files: src/Makefile 18081 18082 Patch 8.2.2930 18083 Problem: When a popup is visible a mouse move my restart Visual mode. 18084 Solution: Reset held_button when ending Visual mode. (closes #8318) 18085 Files: src/mouse.c, src/proto/mouse.pro, src/normal.c 18086 18087 Patch 8.2.2931 18088 Problem: Vim9: line continuation comment still uses legacy syntax in one 18089 place. 18090 Solution: Check for #\ instead of "\ earlier. (closes #8316) 18091 Files: src/scriptfile.c, src/testdir/test_vim9_script.vim 18092 18093 Patch 8.2.2932 (after 8.2.2930) 18094 Problem: Select mode test fails. 18095 Solution: Do not always reset the held mouse button. 18096 Files: src/mouse.c, src/normal.c, src/proto/normal.pro 18097 18098 Patch 8.2.2933 18099 Problem: When 'clipboard' is "unnamed" zp and zP do not work correctly. 18100 Solution: Pass -1 to str_to_reg() and fix computing the character width 18101 instead of using the byte length. (Christian Brabandt, 18102 closes #8301, closes #8317) 18103 Files: src/clipboard.c, src/mbyte.c, src/register.c 18104 18105 Patch 8.2.2934 (after 8.2.2933) 18106 Problem: ASAN error when using text from the clipboard. 18107 Solution: Get width of each character. 18108 Files: src/register.c 18109 18110 Patch 8.2.2935 (after 8.2.2934) 18111 Problem: Calculating register width is not always needed. (Christian 18112 Brabandt) 18113 Solution: Only calculate the width when the type is MBLOCK. 18114 Files: src/register.c 18115 18116 Patch 8.2.2936 18117 Problem: Vim9: converting number to bool uses wrong stack offset. (Salman 18118 Halim) 18119 Solution: Include the offset in the 2BOOL command. 18120 Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, 18121 src/testdir/test_vim9_expr.vim, 18122 src/testdir/test_vim9_disassemble.vim 18123 18124 Patch 8.2.2937 18125 Problem: Popup test fails if rightleft feature not enabled. 18126 Solution: Check that the rightleft feature is available. (Dominique Pellé, 18127 closes #8321) 18128 Files: src/testdir/test_popup.vim 18129 18130 Patch 8.2.2938 18131 Problem: After using motion force from feedkeys() it may not be reset. 18132 Solution: Clear motion_force in clearop(). (closes #8323) 18133 Files: src/normal.c, src/testdir/test_visual.vim 18134 18135 Patch 8.2.2939 18136 Problem: GTK: righthand scrollbar does not show with split window. 18137 Solution: Adjust padding when two scrollbars are used. (Matt Wozniski, 18138 closes #8324) 18139 Files: src/gui_gtk.c 18140 18141 Patch 8.2.2940 18142 Problem: MS-Windows: cannot see the size of the text area when resizing the 18143 gvim window. 18144 Solution: Show a tooltip with the text size. (Ken Takata, closes #8326) 18145 Files: src/gui_w32.c 18146 18147 Patch 8.2.2941 18148 Problem: Vim9: using `=expr` does not handle a list of strings. 18149 Solution: Convert a list to a string and escape each item. (closes #8310) 18150 Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim 18151 18152 Patch 8.2.2942 18153 Problem: Vim9: internal error when calling function with too few arguments 18154 Solution: Check for argument count to be too few. (closes #8325) 18155 Files: src/errors.h, src/vim9execute.c, src/testdir/test_vim9_builtin.vim 18156 18157 Patch 8.2.2943 18158 Problem: Vim9: check for argument count ignores default values. 18159 Solution: Take default argument values into account. 18160 Files: src/vim9execute.c 18161 18162 Patch 8.2.2944 18163 Problem: Vim9: no error when using job or channel as a string. 18164 Solution: Be more strict about conversion to string. (closes #8312) 18165 Files: src/typval.c, src/job.c, src/proto/job.pro, src/channel.c, 18166 src/proto/channel.pro, src/eval.c, src/vim9execute.c, 18167 src/testdir/test_vim9_builtin.vim 18168 18169 Patch 8.2.2945 18170 Problem: Some buffer related code is not tested. 18171 Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8320) 18172 Files: src/termlib.c, src/testdir/test_excmd.vim, 18173 src/testdir/test_recover.vim, src/testdir/test_swap.vim, 18174 src/testdir/test_visual.vim 18175 18176 Patch 8.2.2946 18177 Problem: Vim9: substitute expression cannot be a List in a :def function. 18178 Solution: Use typval2string(). (closes #8330) 18179 Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim 18180 18181 Patch 8.2.2947 18182 Problem: Build failure without the channel feature. 18183 Solution: Add back #ifdef. (John Marriott) 18184 Files: src/eval.c 18185 18186 Patch 8.2.2948 18187 Problem: Substitute() accepts a number but not a float expression. 18188 Solution: Also accept a float. (closes #8331) 18189 Files: src/typval.c, src/testdir/test_substitute.vim 18190 18191 Patch 8.2.2949 (after 8.2.2948) 18192 Problem: Tests failing because there is no error for float to string 18193 conversion. 18194 Solution: Change the check for failure to check for correct result. Make 18195 some conversions strict in Vim9 script. 18196 Files: src/evalfunc.c, src/float.c, src/findfile.c, src/json.c, 18197 src/filepath.c, src/testdir/test_eval_stuff.vim, 18198 src/testdir/test_execute_func.vim, 18199 src/testdir/test_float_func.vim, src/testdir/test_functions.vim, 18200 src/testdir/test_listdict.vim, src/testdir/test_glob2regpat.vim 18201 18202 Patch 8.2.2950 18203 Problem: Sound code not fully tested. 18204 Solution: Add more sound tests. (Dominique Pellé, closes #8332) 18205 Files: src/testdir/test_sound.vim 18206 18207 Patch 8.2.2951 18208 Problem: Vim9: cannot use heredoc in :def function for :python, :lua, etc. 18209 Solution: Concatenate the heredoc lines and pass them in the ISN_EXEC_SPLIT 18210 instruction. 18211 Files: src/userfunc.c, src/vim9compile.c, src/vim9.h, src/vim9execute.c, 18212 src/testdir/test_vim9_func.vim, 18213 src/testdir/test_vim9_disassemble.vim 18214 18215 Patch 8.2.2952 18216 Problem: Recover test fails on big endian systems. 18217 Solution: Disable the failing test on big endian systems. (Yegappan 18218 Lakshmanan, closes #8335) 18219 Files: src/testdir/test_recover.vim, src/testdir/test_swap.vim 18220 18221 Patch 8.2.2953 (after 8.2.2951) 18222 Problem: Vim9: leaking memory when using heredoc script. 18223 Solution: Free the first line. 18224 Files: src/vim9execute.c 18225 18226 Patch 8.2.2954 18227 Problem: Short file name extension for Scala not recognized. 18228 Solution: Recognize *.sc. (closes #8337) 18229 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 18230 18231 Patch 8.2.2955 18232 Problem: Vim9: using filter in compiled command does not work. 18233 Solution: Generate EXEC including the command modifier. 18234 Files: src/vim9compile.c, src/ex_docmd.c, src/ex_cmds.c, 18235 src/proto/ex_cmds.pro, src/testdir/test_vim9_cmd.vim 18236 18237 Patch 8.2.2956 18238 Problem: Vim9: need to plan for future additions. 18239 Solution: Reserve commands for future use: :type, :class, :enum. 18240 Files: src/ex_cmds.h, src/ex_cmdidxs.h 18241 18242 Patch 8.2.2957 18243 Problem: Using getchar() in Vim9 script is problematic. 18244 Solution: Add getcharstr(). (closes #8343) 18245 Files: runtime/doc/eval.txt, src/evalfunc.c, src/getchar.c, 18246 src/proto/getchar.pro, src/testdir/test_functions.vim 18247 18248 Patch 8.2.2958 (after 8.2.2957) 18249 Problem: Function list test fails. 18250 Solution: Add newly added function to the list. Fix typo. 18251 Files: runtime/doc/usr_41.txt, src/testdir/test_function_lists.vim 18252 18253 Patch 8.2.2959 18254 Problem: sound_playfile() is not tested on MS-Windows. 18255 Solution: Make it work and enable the test. (Dominique Pellé, closes #8338) 18256 Files: src/sound.c, src/testdir/test_sound.vim 18257 18258 Patch 8.2.2960 18259 Problem: Swap file recovery not sufficiently tested. 18260 Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8339) 18261 Files: src/testdir/test_recover.vim 18262 18263 Patch 8.2.2961 18264 Problem: Keys typed during a :normal command are discarded. 18265 Solution: Concatenate saved typeahead and typed keys. (closes #8340) 18266 Files: src/getchar.c, src/proto/getchar.pro, src/ex_docmd.c, 18267 src/evalfunc.c, src/debugger.c, src/ui.c, src/proto/ui.pro 18268 18269 Patch 8.2.2962 18270 Problem: MS-Windows command line arguments have wrong encoding. 18271 Solution: Always use utf-8 in get_cmd_argsW(). (Ken Takata, closes #8347) 18272 Files: src/os_win32.c 18273 18274 Patch 8.2.2963 18275 Problem: GUI: mouse move may start Visual mode with a popup visible. 18276 Solution: Add special code for mouse move. (closes #8318) 18277 Files: src/vim.h, src/gui.c, src/keymap.h, src/term.c 18278 18279 Patch 8.2.2964 18280 Problem: Vim9: hang when using space after ->. (Naohiro Ono) 18281 Solution: Skip over white space to find the function name. (closes #8341) 18282 Files: src/eval.c, src/vim9compile.c, src/testdir/test_vim9_expr.vim 18283 18284 Patch 8.2.2965 18285 Problem: Vim9: crash when calling function that failed to compile. 18286 Solution: Fail when trying to call the function. (closes #8344) 18287 Files: src/errors.h, src/vim9compile.c, src/testdir/test_vim9_func.vim 18288 18289 Patch 8.2.2966 18290 Problem: ml_get errors after recovering a file. (Yegappan Lakshmanan) 18291 Solution: Fix the cursor position after deleting lines. 18292 Files: src/memline.c 18293 18294 Patch 8.2.2967 18295 Problem: Vim9: crash when using two levels of partials. 18296 Solution: Add outer_ref_T and use it in the execution context. 18297 Files: src/structs.h, src/vim9execute.c, src/testdir/test_vim9_func.vim 18298 18299 Patch 8.2.2968 (after 8.2.2967) 18300 Problem: Vim9: memory leak 18301 Solution: Unreference pt_outer of partial. 18302 Files: src/eval.c 18303 18304 Patch 8.2.2969 18305 Problem: Subtracting from number option fails when result is zero. (Ingo 18306 Karkat) 18307 Solution: Reset the string value when using the numeric value. 18308 (closes #8351) 18309 Files: src/evalvars.c, src/testdir/test_vimscript.vim 18310 18311 Patch 8.2.2970 18312 Problem: Python configure check uses deprecated command. 18313 Solution: Use sysconfig instead of distutils if possible. (Zdenek Dohnal, 18314 closes #8354) 18315 Files: src/configure.ac, src/auto/configure 18316 18317 Patch 8.2.2971 18318 Problem: Cannot yank a block without trailing spaces. 18319 Solution: Add the "zy" command. (Christian Brabandt, closes #8292) 18320 Files: runtime/doc/change.txt, runtime/doc/index.txt, src/normal.c, 18321 src/ops.c, src/register.c, src/structs.h, 18322 src/testdir/test_visual.vim 18323 18324 Patch 8.2.2972 18325 Problem: "%bd" tries to delete popup window buffers, which fails. (Ralf 18326 Schandl) 18327 Solution: Do not try to delete a popup window buffer. (closes #8349) 18328 Files: src/buffer.c, src/vim.h, src/testdir/test_popupwin.vim 18329 18330 Patch 8.2.2973 18331 Problem: Fix for recovery and diff mode not tested. 18332 Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8352) 18333 Files: src/testdir/test_diffmode.vim, src/testdir/test_prompt_buffer.vim, 18334 src/testdir/test_recover.vim 18335 18336 Patch 8.2.2974 18337 Problem: Greek spell checking uses wrong case folding. 18338 Solution: Fold capital sigma depending on whether it is at the end of a 18339 word or not. (closes #299) 18340 Files: src/spell.c, src/proto/spell.pro, src/spellfile.c, 18341 src/spellsuggest.c 18342 18343 Patch 8.2.2975 18344 Problem: Vim9: can only use an autoload function name as a string. 18345 Solution: Load the autoload script when encountered. (closes #8124) 18346 Files: src/vim9compile.c, src/evalvars.c, src/scriptfile.c, 18347 src/testdir/test_vim9_func.vim 18348 18349 Patch 8.2.2976 (after 8.2.2975) 18350 Problem: Build failure without the +eval feature. 18351 Solution: Add #ifdefs. 18352 Files: src/scriptfile.c 18353 18354 Patch 8.2.2977 18355 Problem: Crash when using a null function reference. (Naohiro Ono) 18356 Solution: Check for an invalid function name. (closes #8367) 18357 Files: src/eval.c, src/errors.h, src/testdir/test_functions.vim 18358 18359 Patch 8.2.2978 (after 8.2.2977) 18360 Problem: Warning for uninitialized variable. 18361 Solution: Set return value to FAIL. 18362 Files: src/eval.c 18363 18364 Patch 8.2.2979 18365 Problem: Not all options code is covered by tests. 18366 Solution: Add more tests for options. (Yegappan Lakshmanan, closes #8369) 18367 Files: src/testdir/test_edit.vim, src/testdir/test_excmd.vim, 18368 src/testdir/test_help.vim, src/testdir/test_mksession.vim, 18369 src/testdir/test_options.vim, src/testdir/test_vartabs.vim, 18370 src/testdir/test_window_cmd.vim 18371 18372 Patch 8.2.2980 18373 Problem: Popup window test is a bit flaky. 18374 Solution: Add a redraw command. 18375 Files: src/testdir/test_popupwin.vim 18376 18377 Patch 8.2.2981 18378 Problem: Recovery test is not run on big-endian systems. 18379 Solution: Make it work on big-endian systems. (James McCoy, closes #8368) 18380 Files: src/testdir/test_recover.vim 18381 18382 Patch 8.2.2982 18383 Problem: Vim9: future commands are not reserved yet. 18384 Solution: Add commands to be implemented later. Make "this" a reserved 18385 name. 18386 Files: runtime/doc/vim9.txt, src/ex_cmds.h, src/ex_cmdidxs.h, 18387 src/vim9script.c, src/testdir/test_vim9_assign.vim 18388 18389 Patch 8.2.2983 18390 Problem: Vim9: an inline function requires specifying the return type. 18391 Solution: Make the return type optional. 18392 Files: src/eval.c, src/vim9compile.c, src/userfunc.c, 18393 src/testdir/test_vim9_func.vim 18394 18395 Patch 8.2.2984 (after 8.2.2983) 18396 Problem: Vim9: Test fails because of missing return statement. 18397 Solution: When type is unknown set type to void. 18398 Files: src/vim9compile.c 18399 18400 Patch 8.2.2985 18401 Problem: Vim9: a compiled function cannot be debugged. 18402 Solution: Add initial debugging support. 18403 Files: src/vim9.h, src/vim9compile.c, src/proto/vim9compile.pro, 18404 src/vim.h, src/eval.c, src/vim9execute.c, src/userfunc.c, 18405 src/vim9type.c, src/testdir/test_debugger.vim, 18406 src/testdir/test_vim9_disassemble.vim 18407 18408 Patch 8.2.2986 18409 Problem: Build failure without the profile feature. 18410 Solution: Add #ifdef. 18411 Files: src/vim9compile.c 18412 18413 Patch 8.2.2987 18414 Problem: Build failure with normal features. 18415 Solution: Remove #define. 18416 Files: src/vim9execute.c 18417 18418 Patch 8.2.2988 18419 Problem: Vim9: debugger test fails. 18420 Solution: Get the debugger instructions when needed. 18421 Files: src/vim.h, src/vim9.h 18422 18423 Patch 8.2.2989 18424 Problem: Vim9: memory leak when debugging a :def function. 18425 Solution: Free the debug instructions. 18426 Files: src/vim9compile.c 18427 18428 Patch 8.2.2990 18429 Problem: Jupyter Notebook files are not recognized. 18430 Solution: Recognize *.ipynb. (closes #8375) 18431 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 18432 18433 Patch 8.2.2991 18434 Problem: Vim9: no completion for :vim9 and :legacy. 18435 Solution: Expand argument as a command. (closes #8377) 18436 Files: src/cmdexpand.c, src/testdir/test_cmdline.vim 18437 18438 Patch 8.2.2992 18439 Problem: Vim9: completion for :disassemble is incomplete. 18440 Solution: Recognize the "debug" and "profile" arguments. 18441 Files: src/cmdexpand.c, src/vim9execute.c, src/proto/vim9execute.pro, 18442 src/vim.h, src/testdir/test_cmdline.vim 18443 18444 Patch 8.2.2993 18445 Problem: 'fileencodings' default value should depend on 'encoding'. (Gary 18446 Johnson) 18447 Solution: When 'encoding' is "utf-8" use a different default value for 18448 'fileencodings'. 18449 Files: src/mbyte.c, src/option.c, src/proto/option.pro, 18450 src/testdir/test_options.vim 18451 18452 Patch 8.2.2994 18453 Problem: Various code is not fully tested. 18454 Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8378) 18455 Files: src/testdir/test_excmd.vim, src/testdir/test_mapping.vim, 18456 src/testdir/test_modeline.vim, src/testdir/test_options.vim, 18457 src/testdir/test_paste.vim, src/vim9compile.c 18458 18459 Patch 8.2.2995 18460 Problem: Linker errors with dynamic Python 3.10. 18461 Solution: Add a couple of library entries. (Zdenek Dohnal, closes #8381, 18462 closes #8356) 18463 Files: src/if_python3.c 18464 18465 Patch 8.2.2996 18466 Problem: Vim9: when debugging cannot inspect local variables. 18467 Solution: Make local variables available when debugging. 18468 Files: src/vim9execute.c, src/proto/vim9execute.pro, src/vim9compile.c, 18469 src/vim9.h, src/debugger.c, src/testdir/test_debugger.vim 18470 18471 Patch 8.2.2997 (after 8.2 2996) 18472 Problem: Vim9: disassemble test fails. 18473 Solution: Adjust expected output. 18474 Files: src/testdir/test_vim9_disassemble.vim 18475 18476 Patch 8.2.2998 (after 8.2 2996) 18477 Problem: Vim9: disassemble test fails. 18478 Solution: Add missing call to lookup_debug_var(). 18479 Files: src/evalvars.c 18480 18481 Patch 8.2.2999 18482 Problem: Balloon sometimes does not hide with GTK 3. 18483 Solution: Also listen to GDK_LEAVE_NOTIFY. (Johannes Stezenbach) 18484 Files: src/gui_beval.c 18485 18486 Patch 8.2.3000 18487 Problem: Vim9: warning for uninitialized variable. 18488 Solution: Add initialization. (John Marriott) 18489 Files: src/vim9compile.c 18490 18491 Patch 8.2.3001 18492 Problem: Vim9: memory leak when compilation fails. 18493 Solution: Free the list of variable names. 18494 Files: src/vim9compile.c 18495 18496 Patch 8.2.3002 18497 Problem: Vim doesn't abort on a fatal Tcl error. 18498 Solution: Change emsg() to iemsg(). (Dominique Pellé, closes #8383) 18499 Files: src/if_tcl.c 18500 18501 Patch 8.2.3003 18502 Problem: Vim9: closure compiled with wrong compile type. 18503 Solution: Use COMPILE_TYPE() when calling a function. (closes #8384) 18504 Files: src/vim9execute.c, src/testdir/test_debugger.vim 18505 18506 Patch 8.2.3004 18507 Problem: Vim9: error for missing colon given while skipping. 18508 Solution: Do not give the error when skipping. (closes #8385) 18509 Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim 18510 18511 Patch 8.2.3005 18512 Problem: Vim9: using a void value does not give a proper error message. 18513 Solution: Give a clear error message. (closes #8387) 18514 Files: src/typval.c, src/vim9compile.c, src/vim9.h, src/vim9execute.c, 18515 src/testdir/test_vim9_expr.vim, 18516 src/testdir/test_vim9_disassemble.vim 18517 18518 Patch 8.2.3006 18519 Problem: Crash when echoing a value very early. (Naruhiko Nishino) 18520 Solution: Do not use a NUL to truncate the message, make a copy. 18521 (closes #8388) 18522 Files: src/message.c, src/testdir/test_startup.vim 18523 18524 Patch 8.2.3007 (after 8.2.3005) 18525 Problem: Vim9: test for void value fails. 18526 Solution: Adjust expected error. Do not make a copy of void. 18527 Files: src/typval.c, src/testdir/test_functions.vim 18528 18529 Patch 8.2.3008 (after 8.2.3006) 18530 Problem: Startup test may hang. 18531 Solution: Add quit command in the script. 18532 Files: src/testdir/test_startup.vim 18533 18534 Patch 8.2.3009 (after 8.2.3006) 18535 Problem: Startup test may hang. 18536 Solution: Do not run the test in the GUI. 18537 Files: src/testdir/test_startup.vim 18538 18539 Patch 8.2.3010 18540 Problem: Not enough testing for viminfo code. 18541 Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8390) 18542 Files: src/register.c, src/testdir/test_fileformat.vim, 18543 src/testdir/test_smartindent.vim, src/testdir/test_viminfo.vim 18544 18545 Patch 8.2.3011 18546 Problem: Vim9: cannot get argument values during debugging. 18547 Solution: Lookup names in the list of arguments. Put debug instruction 18548 halfway for command. 18549 Files: src/vim9compile.c, src/vim9execute.c, 18550 src/testdir/test_debugger.vim 18551 18552 Patch 8.2.3012 18553 Problem: When 'rightleft' is set the line number is sometimes drawn 18554 reversed. 18555 Solution: Adjust how space is handled. (Christian Brabandt, closes #8389, 18556 closes #8391) 18557 Files: src/drawline.c, src/testdir/test_number.vim 18558 18559 Patch 8.2.3013 18560 Problem: Vim: when debugging only the first line of a command using line 18561 continuation is displayed. 18562 Solution: Find the next command and concatenate lines until that one. 18563 (closes #8392) 18564 Files: src/vim9execute.c, src/testdir/test_debugger.vim 18565 18566 Patch 8.2.3014 18567 Problem: Coverity warns for freeing static string. 18568 Solution: Do not assign static string to pointer. (Dominique Pellé, 18569 closes #8397) 18570 Files: src/vim9execute.c 18571 18572 Patch 8.2.3015 18573 Problem: Vim9: Assigning to @# requires a string. (Naohiro Ono) 18574 Solution: Accent a number or a string. (closes #8396) 18575 Files: src/vim9compile.c, src/vim9execute.c, src/globals.h, 18576 src/testdir/test_vim9_assign.vim 18577 18578 Patch 8.2.3016 18579 Problem: Confusing error when expression is followed by comma. 18580 Solution: Give a different error for trailing text. (closes #8395) 18581 Files: src/eval.c, src/testdir/test_let.vim, 18582 src/testdir/test_eval_stuff.vim, src/testdir/test_vim9_expr.vim, 18583 src/testdir/test_vim9_script.vim, src/testdir/test_viminfo.vim, 18584 src/testdir/test_vimscript.vim 18585 18586 Patch 8.2.3017 18587 Problem: Vim9: debugger shows too many lines. 18588 Solution: Truncate at a comment, "enddef", etc. (closes #8392) 18589 Files: src/vim9execute.c, src/testdir/test_debugger.vim 18590 18591 Patch 8.2.3018 18592 Problem: Formatting using quickfixtextfunc is lost when updating location 18593 lists for different buffers. (Yorick Peterse) 18594 Solution: Use the right window for the location list. (Yegappan Lakshmanan, 18595 closes #8400, closes #8403) 18596 Files: src/quickfix.c, src/testdir/test_quickfix.vim 18597 18598 Patch 8.2.3019 18599 Problem: Location list only has the start position. 18600 Solution: Make it possible to add an end position. (thinca, closes #8393) 18601 Files: runtime/doc/eval.txt, src/quickfix.c, 18602 src/testdir/dumps/Test_quickfix_cwindow_1.dump, 18603 src/testdir/dumps/Test_quickfix_cwindow_2.dump, 18604 src/testdir/test_quickfix.vim, src/testdir/test_tagjump.vim, 18605 src/testdir/test_vim9_expr.vim 18606 18607 Patch 8.2.3020 18608 Problem: Unreachable code. 18609 Solution: Remove the code. (closes #8406) 18610 Files: src/ex_docmd.c 18611 18612 Patch 8.2.3021 18613 Problem: Spaces allowed between option name and "!", "?", etc. 18614 Solution: Disallow spaces in Vim9 script, it was not documented. 18615 (closes #8408) 18616 Files: src/option.c, src/testdir/test_vim9_script.vim 18617 18618 Patch 8.2.3022 18619 Problem: Available encryption methods are not strong enough. 18620 Solution: Add initial support for xchacha20. (Christian Brabandt, 18621 closes #8394) 18622 Files: .github/workflows/ci.yml, runtime/doc/eval.txt, 18623 runtime/doc/options.txt, runtime/doc/various.txt, 18624 src/INSTALLpc.txt, src/Make_cyg_ming.mak, src/Make_mvc.mak, 18625 src/auto/configure, src/blowfish.c, src/bufwrite.c, 18626 src/config.h.in, src/configure.ac, src/crypt.c, src/crypt_zip.c, 18627 src/errors.h, src/evalfunc.c, src/feature.h, src/fileio.c, 18628 src/memline.c, src/option.c, src/optionstr.c, 18629 src/proto/blowfish.pro, src/proto/crypt.pro, 18630 src/proto/crypt_zip.pro, src/structs.h, 18631 src/testdir/samples/crypt_sodium_invalid.txt, 18632 src/testdir/test_crypt.vim, src/undo.c, src/version.c 18633 18634 Patch 8.2.3023 18635 Problem: Vim9: arguments for execute() not checked at compile time. 18636 Solution: Add a function to check the argument types. 18637 Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim 18638 18639 Patch 8.2.3024 (after 8.2.3023) 18640 Problem: execute() function test fails. 18641 Solution: Adjust test for different error. 18642 Files: src/testdir/test_execute_func.vim 18643 18644 Patch 8.2.3025 18645 Problem: Not enough tests for quickfix end_col and end_lnum. 18646 Solution: Add a few more test cases. (Shane-XB-Qian, closes #8409) 18647 Files: src/testdir/test_quickfix.vim 18648 18649 Patch 8.2.3026 18650 Problem: Vim9: cannot set breakpoint in compiled function. 18651 Solution: Check for breakpoint when calling a function. 18652 Files: src/vim9execute.c, src/structs.h, src/vim.h, src/vim9.h, 18653 src/debugger.c, src/testdir/test_debugger.vim 18654 18655 Patch 8.2.3027 18656 Problem: Vim9: breakpoint in compiled function not always checked. 18657 Solution: Check for breakpoint when calling compiled function from compiled 18658 function. 18659 Files: src/vim9execute.c, src/testdir/test_debugger.vim 18660 18661 Patch 8.2.3028 18662 Problem: GUI mouse events not tested. 18663 Solution: Add test_gui_mouse_event(). Add mouse tests. Also add a few 18664 viminfo tests. (Yegappan Lakshmanan, closes #8407) 18665 Files: runtime/doc/eval.txt, runtime/doc/testing.txt, 18666 runtime/doc/usr_41.txt, src/evalfunc.c, src/proto/testing.pro, 18667 src/testdir/test_gui.vim, src/testdir/test_viminfo.vim, 18668 src/testing.c 18669 18670 Patch 8.2.3029 18671 Problem: Vim9: crash when using operator and list unpack assignment. 18672 (Naohiro Ono) 18673 Solution: Get variable value before operation. (closes #8416) 18674 Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/ex_docmd.c, 18675 src/testdir/test_vim9_assign.vim, 18676 src/testdir/test_vim9_disassemble.vim 18677 18678 Patch 8.2.3030 18679 Problem: Coverity reports a memory leak. 18680 Solution: Fix the leak and a few typos. (Dominique Pellé, closes #8418) 18681 Files: src/crypt.c, src/errors.h 18682 18683 Patch 8.2.3031 18684 Problem: No error if a function name starts with an underscore. (Naohiro 18685 Ono) 18686 Solution: In Vim9 script disallow a function name starting with an 18687 underscore, as is mentioned in the help. (closes #8414) 18688 Files: src/userfunc.c, src/testdir/test_vim9_func.vim 18689 18690 Patch 8.2.3032 18691 Problem: Build problems with MSVC, other crypt issues with libsodium. 18692 Solution: Adjust MSVC makefile. Disable swap file only when 'key' is set. 18693 Adjust error message used when key is wrong. Fix Coverity issues. 18694 (Christian Brabandt, closes #8420, closes #8411) 18695 Files: src/Make_mvc.mak, src/crypt.c, src/errors.h, src/fileio.c, 18696 src/memline.c, src/proto/crypt.pro 18697 18698 Patch 8.2.3033 18699 Problem: No error when using alpha delimiter with :global. 18700 Solution: Check the delimiter like with :substitute. (closes #8415) 18701 Files: src/ex_cmds.c, src/testdir/test_global.vim 18702 18703 Patch 8.2.3034 18704 Problem: Installing packages on github CI sometimes fails. 18705 Solution: Update package information first. (Christian Brabandt, 18706 closes #8432) 18707 Files: .github/workflows/ci.yml 18708 18709 Patch 8.2.3035 18710 Problem: Vim9: crash when calling :def function with partial and return 18711 type is not set. 18712 Solution: When the return type is not set handle like the return type is 18713 unknown. (closes #8422) 18714 Files: src/vim9type.c, src/testdir/test_vim9_func.vim 18715 18716 Patch 8.2.3036 18717 Problem: Vim9: builtin function arguments not checked at compile time. 18718 Solution: Add more argument type specs. Check arguments to test_setmouse() 18719 and test_gui_mouse_event(). (Yegappan Lakshmanan, closes #8425) 18720 Files: src/evalfunc.c, src/testdir/test_assert.vim, 18721 src/testdir/test_gui.vim, src/testdir/test_popupwin.vim, 18722 src/testdir/test_vim9_builtin.vim, src/testing.c 18723 18724 Patch 8.2.3037 18725 Problem: Configure reports libcanberra when checking for libsodium. 18726 Solution: Adjust the message. (Ozaki Kiichi, closes #8435) 18727 Files: src/configure.ac, src/auto/configure 18728 18729 Patch 8.2.3038 18730 Problem: Amiga built-in version string doesn't include build date. 18731 Solution: Add the build date if available. (Ola Söder, closes #8437) 18732 Files: src/os_amiga.c 18733 18734 Patch 8.2.3039 18735 Problem: Vim9: breakpoint at a comment line does not work. 18736 Solution: Add the comment line number to the debug instruction. 18737 (closes #8429) 18738 Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, 18739 src/testdir/test_debugger.vim, 18740 src/testdir/test_vim9_disassemble.vim 18741 18742 Patch 8.2.3040 18743 Problem: GUI: dropping files not tested. 18744 Solution: Add test_gui_drop_files() and tests. (Yegappan Lakshmanan, 18745 closes #8434) 18746 Files: runtime/doc/eval.txt, runtime/doc/testing.txt, 18747 runtime/doc/usr_41.txt, src/evalfunc.c, src/gui.c, 18748 src/proto/testing.pro, src/testdir/test_gui.vim, src/testing.c 18749 18750 Patch 8.2.3041 18751 Problem: Detecting if the process of a swap file is running fails if the 18752 process is owned by another user. 18753 Solution: Check for the ESRCH error. (closes #8436) 18754 Files: src/os_unix.c 18755 18756 Patch 8.2.3042 (after 8.2.3041) 18757 Problem: Swap file test fails. 18758 Solution: Check for a very high process ID instead of one, which should be 18759 running. 18760 Files: src/testdir/test_swap.vim 18761 18762 Patch 8.2.3043 18763 Problem: Amiga: cannot get the shell size on MorphOS and AROS. 18764 Solution: Use control sequences. (Ola Söder, closes #8438) 18765 Files: src/os_amiga.c 18766 18767 Patch 8.2.3044 18768 Problem: Amiga MorphOS and AROS: process ID is not valid. 18769 Solution: Use FindTask to return something which is unique to all processes. 18770 (Ola Söder, closes #8444) 18771 Files: src/os_amiga.c 18772 18773 Patch 8.2.3045 18774 Problem: Minor typos. 18775 Solution: Fix the typos. (Christian Brabandt, closes #8441) 18776 Files: src/VisVim/README_VisVim.txt, src/evalfunc.c, src/testdir/vim9.vim 18777 18778 Patch 8.2.3046 18779 Problem: Amiga MorphOS: Term mode is set using DOS packets. 18780 Solution: Use the same way of setting term mode on all next gen Amiga-like 18781 systems. (Ola Söder, closes #8445) 18782 Files: src/os_amiga.c 18783 18784 Patch 8.2.3047 18785 Problem: Increment and decrement don't allow for next command. 18786 Solution: Allow for comment and next command. (closes #8442) 18787 Files: src/ex_cmds.h, src/vim9script.c, src/testdir/test_vim9_assign.vim 18788 18789 Patch 8.2.3048 18790 Problem: Strange error for white space after ++ command. 18791 Solution: Check for white space explicitly. (closes #8440) 18792 Files: src/vim9script.c, src/errors.h, src/vim9compile.c, 18793 src/testdir/test_vim9_assign.vim 18794 18795 Patch 8.2.3049 18796 Problem: JSON patch file not recognized. 18797 Solution: Recognize json-patch as json. (Kevin Locke, closes #8450) 18798 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 18799 18800 Patch 8.2.3050 18801 Problem: Cannot recognize elixir files. 18802 Solution: Recognize Elixir-specific files. Check if an .ex file is Euphoria 18803 or Elixir. (Austin Gatlin, closes #8401, closes #8446) 18804 Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim, 18805 src/testdir/test_filetype.vim 18806 18807 Patch 8.2.3051 18808 Problem: Vim9: for loop with one list variable does not work. 18809 Solution: Use a separate flag for unpacking a list. (closes #8452) 18810 Files: src/vim9compile.c, src/testdir/test_vim9_script.vim 18811 18812 Patch 8.2.3052 18813 Problem: Vim9: "legacy call" does not work. 18814 Solution: Do not skip "call" after "legacy". (closes #8454) 18815 Files: src/vim9compile.c, src/testdir/test_vim9_func.vim 18816 18817 Patch 8.2.3053 18818 Problem: Vim9: cannot assign to @@ in :def function 18819 Solution: Handle '@' like '"'. (closes #8456) 18820 Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim 18821 18822 Patch 8.2.3054 18823 Problem: Vim9: unpack assignment using "_" after semicolon fails. 18824 Solution: Drop the expression result. (closes #8453) 18825 Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_assign.vim 18826 18827 Patch 8.2.3055 18828 Problem: Strange error for assigning to "x.key" on non-dictionary. 18829 Solution: Add a specific error message. (closes #8451) 18830 Files: src/eval.c, src/errors.h, src/testdir/test_vim9_assign.vim, 18831 src/testdir/test_listdict.vim, src/testdir/test_let.vim 18832 18833 Patch 8.2.3056 18834 Problem: Vim9: using default value in lambda gives confusing error. 18835 Solution: Pass "default_args" on the first pass to get the arguments. 18836 (closes #8455) 18837 Files: src/userfunc.c, src/testdir/test_vim9_func.vim 18838 18839 Patch 8.2.3057 18840 Problem: Vim9: debugger test fails with normal features and +terminal. 18841 (Dominique Pellé) 18842 Solution: Adjust the INSTRUCTIONS macro. (closes #8460) 18843 Files: src/vim9.h 18844 18845 Patch 8.2.3058 (after 8.2.3056) 18846 Problem: Vim9: cannot use ternary operator in parentheses. 18847 Solution: Do not use "==" for a default argument value. (closes #8462) 18848 Files: src/userfunc.c, src/testdir/test_vim9_func.vim 18849 18850 Patch 8.2.3059 (after 8.2.3056) 18851 Problem: Vim9: memory leak when using lambda. 18852 Solution: Do not store the default value strings when skipping. 18853 Files: src/userfunc.c 18854 18855 Patch 8.2.3060 (after 8.2.3056) 18856 Problem: Vim9: cannot use ternary operator in parentheses. 18857 Solution: Do not use "=~" for a default argument value. (closes #8462) 18858 Files: src/userfunc.c, src/testdir/test_vim9_func.vim 18859 18860 Patch 8.2.3061 18861 Problem: Testing the shell option is incomplete and spread out. 18862 Solution: Move shell tests to one file and increase coverage. (Yegappan 18863 Lakshmanan, closes #8464) 18864 Files: src/testdir/Make_all.mak, src/testdir/test_functions.vim, 18865 src/testdir/test_options.vim, src/testdir/test_shell.vim, 18866 src/testdir/test_system.vim 18867 18868 Patch 8.2.3062 18869 Problem: Internal error when adding several text properties. 18870 Solution: Do not handle text properties when deleting a line for splitting a 18871 data block. (closes #8466) 18872 Files: src/structs.h, src/memline.c, src/testdir/test_textprop.vim 18873 18874 Patch 8.2.3063 18875 Problem: Crash when switching 'cryptmethod' to xchacha20 with an existing 18876 undo file. (Martin Tournoij) 18877 Solution: Disable reading undo file when decoding can't be done inplace. 18878 (issue #8467) 18879 Files: src/fileio.c, src/bufwrite.c 18880 18881 Patch 8.2.3064 18882 Problem: Vim9: in script cannot set item in uninitialized list. 18883 Solution: When a list is NULL allocate an empty one. (closes #8461) 18884 Files: src/eval.c, src/testdir/test_vim9_assign.vim 18885 18886 Patch 8.2.3065 18887 Problem: Vim9: error when sourcing script twice and reusing a function 18888 name. 18889 Solution: Check if the function is dead. (closes #8463) 18890 Files: src/vim9compile.c, src/testdir/test_vim9_script.vim 18891 18892 Patch 8.2.3066 18893 Problem: Vim9: debugging lambda does not work. 18894 Solution: Use the compile type of the function when compiling a lambda. 18895 (closes #8412) 18896 Files: src/vim9compile.c, src/testdir/test_debugger.vim 18897 18898 Patch 8.2.3067 18899 Problem: Building fails with Athena. (Elimar Riesebieter) 18900 Solution: Adjust #ifdefs and add the 'drop_file' feature. 18901 Files: src/evalfunc.c, src/testing.c, src/testdir/test_gui.vim 18902 18903 Patch 8.2.3068 18904 Problem: Unicode tables are slightly outdated. 18905 Solution: Update the tables for Unicode release 13. (Christian Brabandt 18906 closes #8430) 18907 Files: runtime/tools/unicode.vim, src/mbyte.c 18908 18909 Patch 8.2.3069 18910 Problem: Error messages are spread out. 18911 Solution: Move some error messages to errors.h. Use clearer names. 18912 Files: src/errors.h, src/globals.h, src/arglist.c, src/buffer.c, 18913 src/channel.c, src/eval.c, src/evalfunc.c, src/evalvars.c, 18914 src/evalwindow.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c, 18915 src/filepath.c, src/fold.c, src/getchar.c, src/indent.c, 18916 src/list.c, src/map.c, src/mark.c, src/normal.c, src/ops.c, 18917 src/optionstr.c, src/popupwin.c, src/quickfix.c, src/spellfile.c, 18918 src/textprop.c, src/typval.c, src/undo.c, src/userfunc.c, 18919 src/vim9compile.c, src/window.c 18920 18921 Patch 8.2.3070 18922 Problem: Not enough testing for shell use. 18923 Solution: Add a bit more testing. (Yegappan Lakshmanan, closes #8469) 18924 Files: src/testdir/test_shell.vim, src/testdir/test_startup.vim 18925 18926 Patch 8.2.3071 18927 Problem: Shell options are not set properly for PowerShell. 18928 Solution: Use better option defaults. (Mike Williams, closes #8459) 18929 Files: runtime/doc/eval.txt, runtime/doc/options.txt, 18930 runtime/doc/os_dos.txt, src/fileio.c, src/misc2.c, src/option.c, 18931 src/os_win32.c, src/testdir/test_shell.vim 18932 18933 Patch 8.2.3072 18934 Problem: The "zy" command does not work well when 'virtualedit' is set to 18935 "block". (Johann Höchtl) 18936 Solution: Make endspaces zero. (Christian Brabandt, closes #8468, 18937 closes #8448) 18938 Files: src/register.c, src/testdir/test_visual.vim 18939 18940 Patch 8.2.3073 18941 Problem: When cursor is moved for block append wrong text is inserted. 18942 Solution: Calculate an offset. (Christian Brabandt, closes #8433, 18943 closes #8288) 18944 Files: src/ops.c, src/testdir/test_blockedit.vim, 18945 src/testdir/test_visual.vim 18946 18947 Patch 8.2.3074 18948 Problem: popup_atcursor() uses wrong position with concealing. 18949 Solution: Keep w_wcol in conceal_check_cursor_line(). (closes #8476) 18950 Files: src/screen.c, src/proto/screen.pro, src/normal.c, src/edit.c, 18951 src/ui.c, src/testdir/test_popupwin.vim, 18952 src/testdir/dumps/Test_popupwin_atcursor_pos.dump 18953 18954 Patch 8.2.3075 18955 Problem: Xxd always reports an old version string. (Åsmund Ervik) 18956 Solution: Update the version string with the last known change date. 18957 (Jürgen Weigert, closes #8475) 18958 Files: src/xxd/xxd.c, src/testdir/test_xxd.vim 18959 18960 Patch 8.2.3076 18961 Problem: Vim9: using try in catch block causes a hang. 18962 Solution: Save and restore the ec_in_catch flag. (closes #8478) 18963 Files: src/vim9execute.c, src/testdir/test_vim9_script.vim 18964 18965 Patch 8.2.3077 18966 Problem: Vim9: an error in a catch block is not reported. 18967 Solution: Put the "in catch" flag in the try stack. (closes #8478) 18968 Files: src/vim9execute.c, src/testdir/test_vim9_script.vim 18969 18970 Patch 8.2.3078 18971 Problem: Vim9: profile test fails. 18972 Solution: Make throw in :catch jump to :finally. 18973 Files: src/vim9compile.c, src/vim9execute.c, 18974 src/testdir/test_vim9_script.vim 18975 18976 Patch 8.2.3079 18977 Problem: Powershell core not supported by default. 18978 Solution: Set option defaults for "pwsh". (Mike Williams, closes #8481) 18979 Files: runtime/doc/eval.txt, runtime/doc/options.txt, 18980 runtime/doc/os_dos.txt, runtime/doc/os_win32.txt, src/fileio.c, 18981 src/misc2.c, src/option.c, src/os_win32.c, 18982 src/testdir/test_shell.vim 18983 18984 Patch 8.2.3080 18985 Problem: Recover test fails on 32bit systems. (Ondřej Súkup) 18986 Solution: Detect 32/64 bit systems. (Yegappan Lakshmanan, closes #8485, 18987 closes #8479) 18988 Files: src/testdir/test_recover.vim 18989 18990 Patch 8.2.3081 18991 Problem: Cannot catch errors in a channel command. 18992 Solution: Instead of skipping the error make it silent. (closes #8477) 18993 Files: src/channel.c 18994 18995 Patch 8.2.3082 18996 Problem: A channel command "echoerr" does not show anything. 18997 Solution: Do not use silent errors when using an "echoerr" command. 18998 (closes #8494) 18999 Files: src/channel.c, src/testdir/test_channel.py, 19000 src/testdir/test_channel.vim 19001 19002 Patch 8.2.3083 19003 Problem: Crash when passing null string to charclass(). 19004 Solution: Bail out when string pointer is NULL. (Christian Brabandt, 19005 closes #8498, closes #8260) 19006 Files: src/mbyte.c, src/testdir/test_functions.vim 19007 19008 Patch 8.2.3084 19009 Problem: Vim9: builtin function argument types are not checked at compile 19010 time. 19011 Solution: Add argument types. (Yegappan Lakshmanan, closes #8503) 19012 Files: src/evalfunc.c, src/testdir/test_functions.vim, 19013 src/testdir/test_glob2regpat.vim, 19014 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim 19015 19016 Patch 8.2.3085 19017 Problem: JSONC files are not recognized. 19018 Solution: Recognize .jsonc files. (Izhak Jakov, closes #8500) 19019 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 19020 19021 Patch 8.2.3086 19022 Problem: Vim9: breakpoint on "for" does not work. 19023 Solution: Use the right line number in ISN_DEBUG. (closes #8486) 19024 Files: src/vim9compile.c, src/testdir/test_debugger.vim 19025 19026 Patch 8.2.3087 19027 Problem: Gemtext files are not recognized. 19028 Solution: Recognize .gmi and .gemini files. (closes #8427) 19029 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 19030 19031 Patch 8.2.3088 19032 Problem: With 'virtualedit' set to "block" Visual highlight is wrong after 19033 using "$". (Marco Trosi) 19034 Solution: Do not set w_old_cursor_lcol to MAXCOL. (closes #8495) 19035 Files: src/drawscreen.c, src/testdir/test_visual.vim, 19036 src/testdir/dumps/Test_visual_block_with_virtualedit.dump 19037 19038 Patch 8.2.3089 19039 Problem: Garbage collection has useless code. 19040 Solution: Bail out when aborting. (closes #8504) 19041 Files: src/userfunc.c 19042 19043 Patch 8.2.3090 19044 Problem: With concealing enabled and indirectly closing a fold the cursor 19045 may be somewhere in a folded line. 19046 Solution: Recompute the cursor position when the cursor line can be 19047 concealed. (closes #8480) 19048 Files: src/drawscreen.c 19049 19050 Patch 8.2.3091 19051 Problem: Vim9: default argument expression cannot use previous argument 19052 Solution: Correct argument index. (closes #8496) 19053 Files: src/vim9compile.c, src/structs.h, src/testdir/test_vim9_func.vim 19054 19055 Patch 8.2.3092 19056 Problem: Vim9: builtin function test fails without the +channel feature. 19057 Solution: Check the +channel feature is supported. (Dominique Pellé, 19058 closes #8507) 19059 Files: runtime/doc/eval.txt, src/testdir/test_vim9_builtin.vim 19060 19061 Patch 8.2.3093 19062 Problem: tablabel_tooltip test fails with Athena. (Dominique Pellé) 19063 Solution: Skip the test when using Athena. (closes #8508) 19064 Files: src/testdir/test_gui.vim, src/testdir/check.vim 19065 19066 Patch 8.2.3094 19067 Problem: Test_popup_atcursor_pos() fails without the conceal feature. 19068 Solution: Add a check for the conceal feature. (Dominique Pellé, 19069 closes #8505) 19070 Files: src/testdir/test_popupwin.vim 19071 19072 Patch 8.2.3095 (after 8.2.3088) 19073 Problem: With 'virtualedit' set to "block" block selection is wrong after 19074 using "$". (Marco Trosi) 19075 Solution: Compute the longest selected line. (closes #8495) 19076 Files: src/drawscreen.c, src/testdir/test_visual.vim, 19077 src/testdir/dumps/Test_visual_block_with_virtualedit2.dump 19078 19079 Patch 8.2.3096 19080 Problem: Temp files remain after running tests. 19081 Solution: Delete the right files. (Dominique Pellé, closes #8509) 19082 Files: src/testdir/test_debugger.vim, src/testdir/test_lambda.vim, 19083 src/testdir/test_visual.vim 19084 19085 19086 Patch 8.2.3097 19087 Problem: Crash when using "quit" at recovery prompt and autocommands are 19088 triggered. 19089 Solution: Block autocommands when creating an empty buffer to use as the 19090 current buffer. (closes #8506) 19091 Files: src/buffer.c, src/testdir/test_swap.vim 19092 19093 Patch 8.2.3098 19094 Problem: Popup window test is flaky on MS-Windows with GUI. 19095 Solution: Skip the check in this situation. 19096 Files: src/testdir/test_popupwin.vim 19097 19098 Patch 8.2.3099 19099 Problem: Vim9: missing catch/finally not reported at script level. 19100 Solution: Give an error. (closes #8487) 19101 Files: src/structs.h, src/ex_eval.c, src/testdir/test_vim9_script.vim 19102 19103 Patch 8.2.3100 19104 Problem: Vim9: no error when using type with unknown number of arguments. 19105 Solution: Do not ignore argument count of -1. (closes #8492) 19106 Files: src/vim9type.c, src/evalfunc.c, src/proto/evalfunc.pro, 19107 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_expr.vim, 19108 src/testdir/test_vim9_func.vim 19109 19110 Patch 8.2.3101 19111 Problem: Missing function prototype for vim_round(). 19112 Solution: Add the prototype. 19113 Files: src/proto/float.pro 19114 19115 Patch 8.2.3102 (after 8.2.3097) 19116 Problem: Test for crash fix does not fail without the fix. 19117 Solution: Adjust the test sequence. (closes #8506) 19118 Files: src/testdir/test_swap.vim 19119 19120 Patch 8.2.3103 (after 8.2.3102) 19121 Problem: Swap test may fail on some systems when jobs take longer to exit. 19122 Solution: Use different file names. 19123 Files: src/testdir/test_swap.vim 19124 19125 Patch 8.2.3104 19126 Problem: Vim9: unspecified function type causes type error. 19127 Solution: Don't check type when min_argcount is negative. (issue #8492) 19128 Files: src/globals.h, src/vim9type.c, src/testdir/test_vim9_assign.vim 19129 19130 Patch 8.2.3105 19131 Problem: Vim9: type of partial is wrong when it has arguments. 19132 Solution: Subtract arguments from the count. (issue #8492) 19133 Files: src/vim9type.c, src/userfunc.c, src/testdir/test_vim9_assign.vim 19134 19135 Patch 8.2.3106 19136 Problem: Vim9: confusing line number reported for error. 19137 Solution: Use the start line number for the store instruction. 19138 (closes #8488) 19139 Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim 19140 19141 Patch 8.2.3107 19142 Problem: Vim9: error for arguments while type didn't specify arguments. 19143 Solution: Do not update that type to check when no argument count is 19144 specified. (closes #8492) 19145 Files: src/userfunc.c, src/testdir/test_vim9_assign.vim 19146 19147 Patch 8.2.3108 19148 Problem: Test for remote_foreground() fails. (Elimar Riesebieter) 19149 Solution: Check that $DISPLAY is set. (Christian Brabandt) 19150 Files: src/testdir/check.vim, src/testdir/test_clientserver.vim, 19151 src/testdir/test_vim9_builtin.vim 19152 19153 Patch 8.2.3109 19154 Problem: Check for $DISPLAY never fails. 19155 Solution: Use eval(). 19156 Files: src/testdir/check.vim 19157 19158 Patch 8.2.3110 19159 Problem: A pattern that matches the cursor position is a bit complicated. 19160 Solution: Use a dot to indicate the cursor line and column. (Christian 19161 Brabandt, closes #8497, closes #8179) 19162 Files: runtime/doc/pattern.txt, src/errors.h, src/regexp_bt.c, 19163 src/regexp_nfa.c, src/testdir/test_regexp_latin.vim 19164 19165 Patch 8.2.3111 19166 Problem: Vim9: confusing error with extra whitespace before colon. 19167 Solution: Check for colon after white space. (closes #8513) 19168 Files: src/eval.c, src/vim9compile.c, src/testdir/test_vim9_script.vim 19169 19170 Patch 8.2.3112 (after 8.2.3090) 19171 Problem: With concealing enabled and indirectly closing a fold the cursor 19172 may be somewhere in a folded line when it is not on the first line 19173 of the fold. 19174 Solution: Check if the cursor is somewhere in the folded text. 19175 Files: src/drawscreen.c 19176 19177 Patch 8.2.3113 19178 Problem: No error when for loop variable shadows script variable. 19179 Solution: Check for the error. (closes #8512) 19180 Files: src/eval.c, src/testdir/test_vim9_script.vim 19181 19182 Patch 8.2.3114 19183 Problem: Amiga-like systems: build error checking for running process 19184 Solution: Only build swapfile_process_running() on systems where it is 19185 actually used. (Ola Söder, closes #8519) 19186 Files: src/memline.c 19187 19188 Patch 8.2.3115 19189 Problem: Coverity complains about free_wininfo() use. 19190 Solution: Add a condition that "wip2" is not equal to "wip". (Neovim #14996) 19191 Files: src/window.c 19192 19193 Patch 8.2.3116 19194 Problem: Vim9: crash when debugging a function with line continuation. 19195 Solution: Check for a NULL pointer. (closes #8521) 19196 Files: src/vim9execute.c, src/testdir/test_debugger.vim 19197 19198 Patch 8.2.3117 19199 Problem: Vim9: type not properly checked in for loop. 19200 Solution: Have items() return a list of lists. Add runtime type checks. 19201 (closes #8515) 19202 Files: src/evalfunc.c, src/globals.h, src/vim9compile.c, 19203 src/testdir/test_vim9_script.vim 19204 19205 Patch 8.2.3118 19206 Problem: Vim9: "any" type not handled correctly in for loop. 19207 Solution: Change compile time check into runtime check. (closes #8516) 19208 Files: src/vim9compile.c, src/testdir/test_vim9_script.vim 19209 19210 Patch 8.2.3119 19211 Problem: Compiler warning for unused argument. 19212 Solution: Add UNUSED. 19213 Files: src/evalfunc.c 19214 19215 Patch 8.2.3120 19216 Problem: Crypt with sodium test fails on MS-Windows. 19217 Solution: Make the tests pass. (closes #8428) 19218 Files: src/testdir/test_crypt.vim 19219 19220 Patch 8.2.3121 19221 Problem: 'listchars' "exceeds" character appears in foldcolumn. Window 19222 separator is missing. (Leonid V. Fedorenchik) 19223 Solution: Only draw the "exceeds" character in the text area. Break the 19224 loop when not drawing the text. (closes #8524) 19225 Files: src/drawline.c, src/testdir/test_listchars.vim, 19226 src/testdir/dumps/Test_listchars_01.dump, 19227 src/testdir/dumps/Test_listchars_02.dump, 19228 src/testdir/dumps/Test_listchars_03.dump, 19229 src/testdir/dumps/Test_listchars_04.dump, 19230 src/testdir/dumps/Test_listchars_05.dump 19231 19232 Patch 8.2.3122 19233 Problem: With 'nowrap' cursor position is unexpected in narrow window. 19234 (Leonid V. Fedorenchik) 19235 Solution: Put cursor on the last non-empty line. (closes #8525) 19236 Files: src/move.c, src/testdir/test_listchars.vim, 19237 src/testdir/dumps/Test_listchars_06.dump, 19238 src/testdir/dumps/Test_listchars_07.dump 19239 19240 Patch 8.2.3123 19241 Problem: Vim9: confusing error when using white space after option, before 19242 one of "!&<". 19243 Solution: Give a specific error. (issue #8408) 19244 Files: src/errors.h, src/option.c, src/testdir/test_vim9_script.vim 19245 19246 Patch 8.2.3124 19247 Problem: Vim9: no error for white space between option and "=9". 19248 Solution: Check for extraneous white space. (issue #8408) 19249 Files: src/option.c, src/testdir/test_vim9_script.vim 19250 19251 Patch 8.2.3125 19252 Problem: Variables are set but not used. 19253 Solution: Move the declarations to the block where they are used. 19254 (closes #8527) 19255 Files: src/regexp_nfa.c 19256 19257 Patch 8.2.3126 19258 Problem: Vim9: for loop error reports wrong line number. 19259 Solution: Save and restore the line number when evaluating the expression. 19260 (closes #8514) 19261 Files: src/ex_eval.c, src/testdir/test_vim9_script.vim 19262 19263 Patch 8.2.3127 19264 Problem: Vim9: no error when adding number to list of string. 19265 Solution: Check the value type. (closes #8529) 19266 Files: src/list.c, src/testdir/test_vim9_builtin.vim 19267 19268 Patch 8.2.3128 19269 Problem: Vim9: uninitialized list does not get type checked. 19270 Solution: Set the type when initializing the variable. (closes #8529) 19271 Files: src/eval.c, src/evalvars.c, src/vim9script.c, 19272 src/userfunc.c, src/proto/vim9script.pro, 19273 src/testdir/test_vim9_builtin.vim 19274 19275 Patch 8.2.3129 19276 Problem: Vim9: imported uninitialized list does not get type checked. 19277 Solution: Get type from imported variable. 19278 Files: src/eval.c, src/evalvars.c, src/vim9script.c, 19279 src/proto/vim9script.pro, src/userfunc.c, 19280 src/testdir/test_vim9_script.vim 19281 19282 Patch 8.2.3130 19283 Problem: Vim9: import test fails. 19284 Solution: Rename directory back to "import", use "p" to avoid an error when 19285 the directory already exists. 19286 Files: src/testdir/test_vim9_script.vim 19287 19288 Patch 8.2.3131 19289 Problem: MS-Windows: ipv6 channel test is very flaky in the GUI. 19290 Solution: Skip the test. 19291 Files: src/testdir/test_channel.vim 19292 19293 Patch 8.2.3132 19294 Problem: Compiler warns for size_t to colnr_T conversion. (Randall W. 19295 Morris) 19296 Solution: Add a type cast. 19297 Files: src/drawscreen.c 19298 19299 Patch 8.2.3133 19300 Problem: Vim9: memory leak when add() fails. 19301 Solution: Allocate listitem_T after type check. 19302 Files: src/list.c 19303 19304 Patch 8.2.3134 19305 Problem: Crash when using typename() on a function reference. (Naohiro Ono) 19306 Solution: Initialize pointer to NULL. (closes #8531) 19307 Files: src/vim9type.c, src/testdir/test_vim9_builtin.vim 19308 19309 Patch 8.2.3135 19310 Problem: Vim9: builtin function arguments not checked at compile time. 19311 Solution: Add more type checks. (Yegappan Lakshmanan, closes #8539) 19312 Files: src/channel.c, src/errors.h, src/evalfunc.c, src/proto/typval.pro, 19313 src/terminal.c, src/testdir/test_search.vim, 19314 src/testdir/test_textprop.vim, src/testdir/test_vim9_builtin.vim, 19315 src/testing.c, src/textprop.c, src/typval.c 19316 19317 Patch 8.2.3136 19318 Problem: No test for E187 and "No swap file". 19319 Solution: Add a test. (Dominique Pellé, closes #8540) 19320 Files: src/testdir/test_cd.vim, src/testdir/test_swap.vim 19321 19322 Patch 8.2.3137 19323 Problem: Vim9: no error when a line only has a variable name. 19324 Solution: Give an error when an expression is evaluated without an effect. 19325 (closes #8538) 19326 Files: src/ex_eval.c, src/errors.h, src/vim9compile.c, 19327 src/testdir/test_vim9_script.vim, src/testdir/test_vim9_expr.vim, 19328 src/testdir/test_vim9_func.vim 19329 19330 Patch 8.2.3138 (after 8.2.3137) 19331 Problem: Debugger test fails. 19332 Solution: Adjust eval command. 19333 Files: src/testdir/test_debugger.vim 19334 19335 Patch 8.2.3139 19336 Problem: Functions for string manipulation are spread out. 19337 Solution: Move string related functions to a new source file. (Yegappan 19338 Lakshmanan, closes #8470) 19339 Files: Filelist, src/Make_ami.mak, src/Make_cyg_ming.mak, 19340 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md, 19341 src/eval.c, src/evalfunc.c, src/mbyte.c, src/misc1.c, src/misc2.c, 19342 src/proto.h, src/proto/eval.pro, src/proto/evalfunc.pro, 19343 src/proto/mbyte.pro, src/proto/misc1.pro, src/proto/misc2.pro, 19344 src/proto/strings.pro, src/strings.c 19345 19346 Patch 8.2.3140 (after 8.2.3131) 19347 Problem: MS-Windows: ipv6 channel test is very flaky also without the GUI. 19348 Solution: Skip the test also without the GUI. 19349 Files: src/testdir/test_channel.vim 19350 19351 Patch 8.2.3141 19352 Problem: No error when using :complete for :command without -nargs. 19353 Solution: Give an error. (Martin Tournoij, closes #8544, closes #8541) 19354 Files: src/usercmd.c, src/errors.h, src/testdir/test_usercommands.vim 19355 19356 Patch 8.2.3142 19357 Problem: Vim9: type check for has_key() argument is too strict. 19358 Solution: Also allow for a number key argument. (closes #8542) 19359 Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim 19360 19361 Patch 8.2.3143 19362 Problem: Vim9: A lambda may be compiled with the wrong context if it is 19363 called from a profiled function. 19364 Solution: Compile the lambda with and without profiling. (closes #8543) 19365 Files: src/vim9compile.c, src/testdir/test_vim9_script.vim 19366 19367 Patch 8.2.3144 19368 Problem: Vim9: no error when using an invalid value for a line number. 19369 Solution: Give an error if the string value is not recognized. 19370 (closes #8536) 19371 Files: src/errors.h, src/eval.c, src/testdir/test_vim9_builtin.vim 19372 19373 Patch 8.2.3145 19374 Problem: Vim9: profile test fails without profile feature. 19375 Solution: Check the profile feature is present. 19376 Files: src/testdir/test_vim9_script.vim 19377 19378 Patch 8.2.3146 19379 Problem: Vim9: line number wrong for :execute argument. 19380 Solution: Use the line number of the :execute command itself. (closes #8537) 19381 Files: src/eval.c, src/testdir/test_vim9_script.vim 19382 19383 Patch 8.2.3147 19384 Problem: Vim9: profiling does not work with a nested function. 19385 Solution: Also compile a nested function without profiling. (closes #8543) 19386 Handle that compiling may cause the table of compiled functions to 19387 change. 19388 Files: src/vim9compile.c, src/vim9execute.c, 19389 src/testdir/test_vim9_script.vim 19390 19391 Patch 8.2.3148 19392 Problem: Vim9: function arg type check does not handle base offset. 19393 Solution: Take the base offset into account when checking builtin function 19394 argument types. 19395 Files: src/evalfunc.c, src/vim9compile.c, 19396 src/testdir/test_vim9_builtin.vim 19397 19398 Patch 8.2.3149 (after 8.2.3141) 19399 Problem: Some plugins have a problem with the error check for using 19400 :command with -complete but without -nargs. 19401 Solution: In legacy script only give a warning message. 19402 Files: src/usercmd.c, src/message.c, src/proto/message.pro, 19403 src/testdir/test_usercommands.vim 19404 19405 Patch 8.2.3150 19406 Problem: Vim9: argument types are not checked at compile time. 19407 Solution: Add more type checks. (Yegappan Lakshmanan, closes #8545) 19408 Files: src/evalfunc.c, src/testing.c, src/testdir/test_vim9_builtin.vim 19409 19410 Patch 8.2.3151 19411 Problem: Vim9: profiling fails if nested function is also profiled. 19412 Solution: Use the compile type from the outer function. (closes #8543) 19413 Files: src/vim9compile.c, src/testdir/test_vim9_script.vim 19414 19415 Patch 8.2.3152 19416 Problem: Vim9: accessing "s:" results in an error. 19417 Solution: Do not try to lookup a script variable for "s:". (closes #8549) 19418 Files: src/evalvars.c, src/testdir/test_vim9_expr.vim 19419 19420 Patch 8.2.3153 19421 Problem: URLs with a dash in the scheme are not recognized. 19422 Solution: Allow for a scheme with a dash, but not at the start or end. 19423 (Tsuyoshi CHO, closes #8299) 19424 Files: src/misc1.c, src/testdir/test_buffer.vim 19425 19426 Patch 8.2.3154 19427 Problem: Vim9: some type checks for builtin functions fail. 19428 Solution: Correct the type checks. (Yegappan Lakshmanan, closes #8551, 19429 closes #8550) 19430 Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim 19431 19432 Patch 8.2.3155 19433 Problem: Some option related code not covered by tests. 19434 Solution: Add a few test cases. (Dominique Pellé, closes #8552) 19435 Files: src/testdir/test_options.vim, src/testdir/test_set.vim 19436 19437 Patch 8.2.3156 19438 Problem: Vim9: term_getansicolors() test fails without +termguicolors. 19439 Solution: Add a check for the feature. (Dominique Pellé, closes #8555) 19440 Files: src/testdir/test_vim9_builtin.vim 19441 19442 Patch 8.2.3157 19443 Problem: Crypt test may fail on MS-Windows. 19444 Solution: Ignore "[unix]" in the file message. (Christian Brabandt, 19445 closes #8561) 19446 Files: src/testdir/test_crypt.vim 19447 19448 Patch 8.2.3158 19449 Problem: Strange error message when using islocked() with a number. 19450 (Yegappan Lakshmanan) 19451 Solution: Check that the name is empty. 19452 Files: src/evalfunc.c, src/testdir/test_functions.vim 19453 19454 Patch 8.2.3159 19455 Problem: Cursor displayed in wrong position after deleting line. 19456 Solution: When deleting lines do not approximate botline. (fixes #8559) 19457 Files: src/change.c 19458 19459 Patch 8.2.3160 19460 Problem: 'breakindent' does not work well for bulleted and numbered lists. 19461 Solution: Add the "list" entry to 'breakindentopt'. (Christian Brabandt, 19462 closes #8564, closes #1661) 19463 Files: runtime/doc/options.txt, src/indent.c, src/structs.h, 19464 src/testdir/test_breakindent.vim 19465 19466 Patch 8.2.3161 19467 Problem: Vim9: no error when reltime() has invalid arguments. 19468 Solution: Add an error. (closes #8562) 19469 Files: src/time.c, src/testdir/test_vim9_builtin.vim 19470 19471 Patch 8.2.3162 19472 Problem: Vim9: argument types are not checked at compile time. 19473 Solution: Add more type checks. (Yegappan Lakshmanan, closes #8560) 19474 Files: runtime/doc/channel.txt, src/clientserver.c, src/cmdhist.c, 19475 src/errors.h, src/evalfunc.c, src/evalwindow.c, src/filepath.c, 19476 src/globals.h, src/popupwin.c, src/proto/typval.pro, src/sign.c, 19477 src/strings.c, src/terminal.c, src/testdir/test_normal.vim, 19478 src/testdir/test_reltime.vim, src/testdir/test_vim9_builtin.vim, 19479 src/testdir/test_vim9_expr.vim, src/testing.c, src/textprop.c, 19480 src/time.c, src/typval.c 19481 19482 Patch 8.2.3163 19483 Problem: Location list window may open a wrong file. 19484 Solution: Also update the qf_ptr field. (Wei-Chung Wen, closes #8565, 19485 closes #8566) 19486 Files: src/quickfix.c, src/testdir/test_quickfix.vim 19487 19488 Patch 8.2.3164 19489 Problem: MS-Windows: reported version lacks patchlevel, causing some update 19490 tools to update too often. (Klaus Frank) 19491 Solution: Add the patchlevel to the version. (Christian Brabandt) 19492 Files: src/dosinst.c 19493 19494 Patch 8.2.3165 19495 Problem: Vim9: in a || expression the error line number may be wrong. 19496 Solution: Save and restore the line number when checking the type. 19497 (closes #8569) 19498 Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim 19499 19500 Patch 8.2.3166 19501 Problem: Vim9: nested autoload call error overruled by "Unknown error". 19502 Solution: Check need_rethrow before giving an "Unknown error". 19503 (closes #8568) 19504 Files: src/vim9execute.c, src/testdir/test_vim9_script.vim 19505 19506 Patch 8.2.3167 19507 Problem: Get E12 in a job callback when searching for tags. (Andy Stewart) 19508 Solution: Use the sandbox only for executing a command, not for searching. 19509 (closes #8511) 19510 Files: src/tag.c 19511 19512 Patch 8.2.3168 19513 Problem: Vim9: type error for constant of type any. 19514 Solution: Do add a runtime type check if a constant has type any. 19515 (closes #8570) 19516 Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim 19517 19518 Patch 8.2.3169 19519 Problem: Vim9: cannot handle nested inline function. 19520 Solution: Check for nested inline function. (closes #8575) 19521 Files: src/userfunc.c, src/testdir/test_vim9_func.vim, 19522 src/testdir/test_vim9_expr.vim 19523 19524 Patch 8.2.3170 19525 Problem: Illegal memory access in test. 19526 Solution: Check pointer is not before the start of the line. 19527 Files: src/userfunc.c 19528 19529 Patch 8.2.3171 19530 Problem: Another illegal memory access in test. 19531 Solution: Check pointer is after the start of the line. 19532 Files: src/userfunc.c 19533 19534 Patch 8.2.3172 19535 Problem: MzScheme test fails. (Christian Brabandt) 19536 Solution: Correct function name. 19537 Files: src/testdir/test_vim9_builtin.vim 19538 19539 Patch 8.2.3173 19540 Problem: Vim9: argument types are not checked at compile time. 19541 Solution: Add more type checks. (Yegappan Lakshmanan, closes #8581) 19542 Files: src/diff.c, src/errors.h, src/evalfunc.c, src/globals.h, 19543 src/job.c, src/proto/typval.pro, src/strings.c, src/terminal.c, 19544 src/testdir/test_vim9_builtin.vim, src/typval.c 19545 19546 Patch 8.2.3174 19547 Problem: Vim9: "legacy undo" finds "undo" variable. 19548 Solution: Do not pass lookup function to find_ex_command(). (closes #8563) 19549 Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim 19550 19551 Patch 8.2.3175 19552 Problem: Vim9: using illegal pointer with inline function inside a lambda. 19553 Solution: Clear eval_tofree_cmdline when advancing to the next line. 19554 (closes #8578) 19555 Files: src/eval.c, src/testdir/test_vim9_func.vim 19556 19557 Patch 8.2.3176 19558 Problem: Vim9: no type error for comparing number with string. 19559 Solution: Add a runtime type check. (closes #8571) 19560 Files: src/typval.c, src/errors.h, src/testdir/test_vim9_expr.vim 19561 19562 Patch 8.2.3177 19563 Problem: Vim9: can not use "for _ in expr" at script level. 19564 Solution: Skip assignment if the loop variable is "_". 19565 Files: src/eval.c, src/testdir/test_vim9_script.vim 19566 19567 Patch 8.2.3178 19568 Problem: Vim9: the file name of an :import cannot be an expression. 19569 Solution: Accept an expression that results in a string. Do not support 19570 :import in a function. 19571 Files: runtime/doc/vim9.txt, src/vim9script.c, src/vim9compile.c, 19572 src/testdir/test_vim9_script.vim 19573 19574 Patch 8.2.3179 19575 Problem: Vim9: cannot assign to an imported variable at script level. 19576 Solution: Lookup imported items when assigning. 19577 Files: src/evalvars.c, src/errors.h, src/eval.c, 19578 src/testdir/test_vim9_script.vim 19579 19580 Patch 8.2.3180 19581 Problem: Vim9: memory leak when concatenating to an imported string. 19582 Solution: Clear the destination. 19583 Files: src/evalvars.c 19584 19585 Patch 8.2.3181 19586 Problem: Vim9: builtin function test fails without channel feature. 19587 Solution: Add feature checks. (Dominique Pellé, closes #8586) Make feature 19588 checks more consistent. 19589 Files: src/testdir/test_vim9_builtin.vim 19590 19591 Patch 8.2.3182 19592 Problem: Vim9: crash when using removing items from a constant list. 19593 (Yegappan Lakshmanan) 19594 Solution: When a list was allocated with items copy them. 19595 Files: src/list.c, src/testdir/test_vim9_builtin.vim 19596 19597 Patch 8.2.3183 19598 Problem: Duplicate error numbers. 19599 Solution: Adjust the error numbers. 19600 Files: src/errors.h, src/testdir/test_vim9_builtin.vim 19601 19602 Patch 8.2.3184 19603 Problem: Cannot add a digraph with a leading space. It is not easy to list 19604 existing digraphs. 19605 Solution: Add setdigraph(), setdigraphlist(), getdigraph() and 19606 getdigraphlist(). (closes #8580) 19607 Files: runtime/doc/digraph.txt, runtime/doc/eval.txt, 19608 runtime/doc/usr_41.txt, src/digraph.c, src/evalfunc.c, 19609 src/ex_docmd.c, src/globals.h, src/errors.h, 19610 src/proto/digraph.pro, src/testdir/test_digraph.vim 19611 19612 Patch 8.2.3185 19613 Problem: Vim9: start of inline function found in comment line. 19614 Solution: Do not check for inline function in comment line. (closes #8589) 19615 Files: src/userfunc.c, src/testdir/test_vim9_expr.vim 19616 19617 Patch 8.2.3186 19618 Problem: Vim9: not all failures for import tested 19619 Solution: Test more import failures 19620 Files: src/errors.h, src/evalvars.c, src/testdir/test_vim9_script.vim 19621 19622 Patch 8.2.3187 19623 Problem: Vim9: popup timer callback is not compiled. 19624 Solution: Compile the callback when creating the timer. 19625 Files: src/vim9compile.c, src/proto/vim9compile.pro, src/popupwin.c 19626 19627 Patch 8.2.3188 19628 Problem: Vim9: argument types are not checked at compile time. 19629 Solution: Add several more type checks, also at runtime. (Yegappan 19630 Lakshmanan, closes #8587) 19631 Files: src/blob.c, src/channel.c, src/clientserver.c, src/cmdexpand.c, 19632 src/cmdhist.c, src/dict.c, src/diff.c, src/errors.h, src/eval.c, 19633 src/evalbuffer.c, src/evalfunc.c, src/evalvars.c, 19634 src/evalwindow.c, src/filepath.c, src/globals.h, src/insexpand.c, 19635 src/job.c, src/list.c, src/map.c, src/match.c, 19636 src/proto/typval.pro, src/quickfix.c, src/search.c, src/sign.c, 19637 src/strings.c, src/terminal.c, src/testdir/test_blob.vim, 19638 src/testdir/test_gui.vim, src/testdir/test_vim9_builtin.vim, 19639 src/testing.c, src/textprop.c, src/time.c, src/typval.c 19640 19641 Patch 8.2.3189 19642 Problem: Vim9: error when using "try|". 19643 Solution: Allow for "|" right after a command. 19644 Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim 19645 19646 Patch 8.2.3190 19647 Problem: Error messages are spread out. 19648 Solution: Move error messages to errors.h and give them a clear name. 19649 Files: src/globals.h, src/errors.h, src/buffer.c, src/debugger.c, 19650 src/digraph.c, src/edit.c, src/ex_cmds.c, src/ex_cmds2.c, 19651 src/ex_docmd.c, src/ex_eval.c, src/gui.c, src/list.c, src/main.c, 19652 src/map.c, src/match.c, src/quickfix.c, src/regexp.c, 19653 src/regexp_bt.c, src/regexp_nfa.c, src/register.c, src/search.c, 19654 src/session.c, src/spell.c, src/syntax.c, src/time.c, 19655 src/userfunc.c, src/vim9execute.c, src/window.c 19656 19657 Patch 8.2.3191 19658 Problem: Vim9: not enough code is tested. 19659 Solution: Use CheckLegacyAndVim9Success() in more places. Fix uncovered 19660 problems. 19661 Files: src/vim9compile.c, src/vim9execute.c, 19662 src/testdir/test_listdict.vim 19663 19664 Patch 8.2.3192 (after 8.2.3190) 19665 Problem: Build failure with small version (Tony Mechelynck). 19666 Solution: Remove stray #ifdef. 19667 Files: src/errors.h 19668 19669 Patch 8.2.3193 19670 Problem: screenpos() is wrong when the last line is partially visible and 19671 'display' is "lastline". 19672 Solution: Also compute the position for a partially visible line. 19673 (closes #8599) 19674 Files: src/move.c, src/testdir/test_cursor_func.vim 19675 19676 Patch 8.2.3194 19677 Problem: Vim9: argument types are not checked at compile time. 19678 Solution: Add several more type checks, simplify some. (Yegappan 19679 Lakshmanan, closes #8598) 19680 Files: src/diff.c, src/evalbuffer.c, src/evalfunc.c, src/job.c, 19681 src/proto/typval.pro, src/sign.c, src/terminal.c, 19682 src/testdir/test_vim9_builtin.vim, src/typval.c 19683 19684 Patch 8.2.3195 19685 Problem: Vim9: unclear error when passing too many arguments to lambda. 19686 Solution: Pass the expression itself instead of "[expression]". 19687 (closes #8604) 19688 Files: src/vim9compile.c, src/testdir/test_vim9_func.vim 19689 19690 Patch 8.2.3196 19691 Problem: Vim9: bool expression with numbers only fails at runtime. 19692 Solution: Check constant to be bool at compile time. (closes #8603) 19693 Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim 19694 19695 Patch 8.2.3197 19696 Problem: Error messages are spread out. 19697 Solution: Move a few more error messages to errors.h. 19698 Files: src/globals.h, src/errors.h, src/edit.c, src/ex_cmds.c, 19699 src/ex_docmd.c, src/evalvars.c, src/option.c, src/quickfix.c, 19700 src/regexp_bt.c, src/regexp_nfa.c, src/regexp.c, src/undo.c, 19701 src/vim9compile.c, src/vim9script.c 19702 19703 Patch 8.2.3198 19704 Problem: Cannot use 'formatlistpat' for breakindent. 19705 Solution: Use a negative list indent. (Maxim Kim, closes #8594) 19706 Files: runtime/doc/options.txt, src/indent.c, 19707 src/testdir/test_breakindent.vim 19708 19709 Patch 8.2.3199 19710 Problem: Vim9: execution speed can be improved. 19711 Solution: Make the break counter static. 19712 Files: src/vim9execute.c 19713 19714 Patch 8.2.3200 19715 Problem: Vim9: hard to guess where a type error is given. 19716 Solution: Add the function name where possible. (closes #8608) 19717 Files: src/dict.c, src/proto/dict.pro, src/eval.c, src/list.c, 19718 src/vim9compile.c, src/vim9execute.c, src/structs.h, 19719 src/vim9type.c, src/proto/vim9type.pro, src/if_py_both.h, 19720 src/errors.h, src/testdir/test_vim9_builtin.vim 19721 19722 Patch 8.2.3201 (after 8.2.3200) 19723 Problem: Crash in test. 19724 Solution: Initialize "where". 19725 Files: src/eval.c, src/evalvars.c 19726 19727 Patch 8.2.3202 19728 Problem: Vim9: tests are only executed for legacy script. 19729 Solution: Run more tests also for Vim9 script. Fix uncovered problems. 19730 Files: src/vim9execute.c, src/ex_docmd.c, src/testdir/test_listdict.vim 19731 19732 Patch 8.2.3203 19733 Problem: Vim9: compiled string expression causes type error. (Yegappan 19734 Lakshmanan) 19735 Solution: Remove the string type from the stack. 19736 Files: src/vim9compile.c, src/evalfunc.c 19737 19738 Patch 8.2.3204 19739 Problem: Display garbled when 'cursorline' is set and lines wrap. (Gabriel 19740 Dupras) 19741 Solution: Avoid inserting lines twice. (closes #7255) 19742 Files: src/drawscreen.c, src/testdir/test_cursorline.vim, 19743 src/testdir/dumps/Test_cursorline_redraw_1.dump, 19744 src/testdir/dumps/Test_cursorline_redraw_2.dump 19745 19746 Patch 8.2.3205 19747 Problem: Coverity reports a null pointer dereference. 19748 Solution: Change the logic to avoid Coverity gets confused. 19749 Files: src/vim9compile.c 19750 19751 Patch 8.2.3206 19752 Problem: Vim9: argument types are not checked at compile time. 19753 Solution: Add several more type checks. (Yegappan Lakshmanan, closes #8611) 19754 Files: runtime/doc/eval.txt, src/blob.c, src/cmdhist.c, src/dict.c, 19755 src/errors.h, src/evalfunc.c, src/filepath.c, src/globals.h, 19756 src/job.c, src/list.c, src/match.c, src/misc1.c, src/popupwin.c, 19757 src/proto/typval.pro, src/sign.c, src/terminal.c, 19758 src/testdir/test_blob.vim, src/testdir/test_vim9_builtin.vim, 19759 src/typval.c 19760 19761 Patch 8.2.3207 19762 Problem: Vim9: crash when compiling string fails. (Yegappan Lakshmanan) 19763 Solution: Adjust the type stack length. 19764 Files: src/vim9compile.c, src/testdir/test_vim9_builtin.vim 19765 19766 Patch 8.2.3208 19767 Problem: Dynamic library load error does not mention why it failed. 19768 Solution: Add the error message. (Martin Tournoij, closes #8621) 19769 Files: src/globals.h, src/if_cscope.c, src/if_lua.c, src/if_mzsch.c, 19770 src/if_perl.xs, src/if_python.c, src/if_python3.c, src/if_ruby.c, 19771 src/if_tcl.c, src/mbyte.c, src/os_win32.c, src/proto/os_win32.pro, 19772 src/terminal.c 19773 19774 Patch 8.2.3209 19775 Problem: Vim9: lambda doesn't find block-local variable. 19776 Solution: Adjust how a script-local variable is found. (closes #8614) 19777 Files: src/vim9compile.c, src/testdir/test_vim9_func.vim 19778 19779 Patch 8.2.3210 19780 Problem: Vim9: searchpair() sixth argument is compiled. (Yegappan 19781 Lakshmanan) 19782 Solution: Only compile the fifth argument. 19783 Files: src/vim9compile.c, src/testdir/test_vim9_builtin.vim 19784 19785 Patch 8.2.3211 19786 Problem: Vim9: argument types are not checked at compile time. 19787 Solution: Add several more type checks. Fix type check for matchaddpos(). 19788 (Yegappan Lakshmanan, closes #8619) 19789 Files: src/channel.c, src/evalfunc.c, src/evalvars.c, src/if_cscope.c, 19790 src/job.c, src/proto/typval.pro, 19791 src/testdir/test_vim9_builtin.vim, src/time.c, src/typval.c 19792 19793 Patch 8.2.3212 19794 Problem: Vim9: execution speed can be improved. 19795 Solution: Use __builtin_expect() to have the compiler produce better code. 19796 (Dominique Pellé, closes #8613) 19797 Files: src/vim9execute.c 19798 19799 Patch 8.2.3213 19800 Problem: NOCOMPOUNDSUGS entry in spell file not tested. 19801 Solution: Add a test. (Dominique Pellé, closes #8624) 19802 Files: src/testdir/test_spellfile.vim 19803 19804 Patch 8.2.3214 19805 Problem: MS-Windows: passing /D does not set the install location. 19806 Solution: Adjust how the installer uses $VIM. Update the documentation. 19807 (Christian Brabandt, Ken Takata, closes #8605) 19808 Files: nsis/gvim.nsi, runtime/doc/os_win32.txt 19809 19810 Patch 8.2.3215 19811 Problem: Vim9: argument types are not checked at compile time. 19812 Solution: Add several more type checks. Sort the argument lists. 19813 (Yegappan Lakshmanan, closes #8626) 19814 Files: src/change.c, src/evalfunc.c, src/filepath.c, src/sound.c, 19815 src/testdir/test_gui.vim, src/testdir/test_vim9_builtin.vim, 19816 src/testing.c 19817 19818 Patch 8.2.3216 19819 Problem: Vim9: crash when using variable in a loop at script level. 19820 Solution: Do not clear the variable if a function was defined. 19821 Do not create a new entry in sn_var_vals every time. 19822 (closes #8628) 19823 Files: src/eval.c, src/ex_eval.c, src/vim9script.c, src/userfunc.c, 19824 src/evalvars.c, src/structs.h 19825 19826 Patch 8.2.3217 (after 8.2.3216) 19827 Problem: Build failure. 19828 Solution: Add missing changes. 19829 Files: src/globals.h 19830 19831 Patch 8.2.3218 19832 Problem: When using xchacha20 crypt undo file is not removed. 19833 Solution: Reset 'undofile' and delete the file. (Christian Brabandt, 19834 closes #8630, closes #8467) 19835 Files: src/bufwrite.c, src/crypt.c, src/proto/undo.pro, 19836 src/testdir/test_crypt.vim, src/undo.c 19837 19838 Patch 8.2.3219 19839 Problem: :find searches non-existing directories. 19840 Solution: Check the path is not "..". Update help. (Christian Brabandt, 19841 closes #8612, closes #8533) 19842 Files: runtime/doc/editing.txt, src/findfile.c, 19843 src/testdir/test_findfile.vim 19844 19845 Patch 8.2.3220 19846 Problem: Test_term_setansicolors() fails in some configurations. 19847 Solution: Check available features. (Dominique Pellé, closes #8636) 19848 Files: src/testdir/test_vim9_builtin.vim 19849 19850 Patch 8.2.3221 19851 Problem: Vim9: argument types are not checked at compile time. 19852 Solution: Add several more type checks. (Yegappan Lakshmanan, closes #8632) 19853 Files: src/evalfunc.c, src/popupwin.c, src/proto/typval.pro, 19854 src/testdir/test_assert.vim, src/testdir/test_vim9_builtin.vim, 19855 src/testdir/test_vim9_script.vim, src/testing.c, src/typval.c 19856 19857 Patch 8.2.3222 19858 Problem: Vim9: cannot use loop variable later as lambda argument. 19859 Solution: When not in function context check the current block ID. 19860 (closes #8637) 19861 Files: src/vim9compile.c, src/testdir/test_vim9_func.vim 19862 19863 Patch 8.2.3223 19864 Problem: Vim: using {} block in autoloaded omnifunc fails. 19865 Solution: Allow using {} block when text is locked. (closes #8631) 19866 Files: src/ex_cmds.h, src/testdir/test_ins_complete.vim 19867 19868 Patch 8.2.3224 19869 Problem: Cannot call script-local function after :vim9cmd. (Christian J. 19870 Robinson) 19871 Solution: Skip over "<SNR>123". 19872 Files: src/vim9compile.c, src/eval.c, src/testdir/test_vim9_cmd.vim 19873 19874 Patch 8.2.3225 19875 Problem: Incsearch highlighting is attempted halfway a mapping. 19876 Solution: Only do incsearch highlighting if keys were typed or there is no 19877 more typeahead. 19878 Files: src/ex_getln.c 19879 19880 Patch 8.2.3226 19881 Problem: New digraph functions use old naming scheme. 19882 Solution: Use the digraph_ prefix. (Hirohito Higashi, closes #8642) 19883 Files: runtime/doc/digraph.txt, runtime/doc/eval.txt, 19884 runtime/doc/usr_41.txt, src/digraph.c, src/edit.c, src/errors.h, 19885 src/evalfunc.c, src/proto/digraph.pro, 19886 src/testdir/test_digraph.vim 19887 19888 Patch 8.2.3227 19889 Problem: 'virtualedit' can only be set globally. 19890 Solution: Make 'virtualedit' global-local. (Gary Johnson, closes #8638) 19891 Files: runtime/doc/options.txt, src/buffer.c, src/change.c, 19892 src/drawscreen.c, src/edit.c, src/misc2.c, src/normal.c, 19893 src/ops.c, src/option.c, src/option.h, src/optiondefs.h, 19894 src/optionstr.c, src/proto/option.pro, src/register.c, 19895 src/structs.h, src/testdir/test_virtualedit.vim 19896 19897 Patch 8.2.3228 19898 Problem: Cannot use a simple block for the :command argument. (Maarten 19899 Tournoij) 19900 Solution: Recognize a simple {} block. (issue #8623) 19901 Files: runtime/doc/map.txt, src/misc2.c, src/proto/misc2.pro, 19902 src/usercmd.c, src/testdir/test_usercommands.vim 19903 19904 Patch 8.2.3229 19905 Problem: Vim9: runtime and compile time type checks are not the same. 19906 Solution: Add more runtime type checks for builtin functions. (Yegappan 19907 Lakshmanan, closes #8646) 19908 Files: src/arglist.c, src/change.c, src/channel.c, src/cindent.c, 19909 src/clientserver.c, src/cmdhist.c, src/dict.c, src/diff.c, 19910 src/digraph.c, src/errors.h, src/eval.c, src/evalbuffer.c, 19911 src/evalfunc.c, src/evalwindow.c, src/ex_docmd.c, src/ex_getln.c, 19912 src/filepath.c, src/findfile.c, src/float.c, src/fold.c, 19913 src/getchar.c, src/indent.c, src/insexpand.c, src/job.c, 19914 src/json.c, src/list.c, src/mark.c, src/match.c, src/mbyte.c, 19915 src/menu.c, src/misc1.c, src/move.c, src/popupwin.c, 19916 src/proto/typval.pro, src/quickfix.c, src/search.c, src/sign.c, 19917 src/sound.c, src/strings.c, src/terminal.c, 19918 src/testdir/test_assert.vim, src/testdir/test_blob.vim, 19919 src/testdir/test_execute_func.vim, 19920 src/testdir/test_float_func.vim, src/testdir/test_functions.vim, 19921 src/testdir/test_glob2regpat.vim, src/testdir/test_listdict.vim, 19922 src/testdir/test_vim9_builtin.vim, 19923 src/testdir/test_vim9_script.vim, src/testing.c, src/textprop.c, 19924 src/time.c, src/typval.c, src/undo.c 19925 19926 Patch 8.2.3230 19927 Problem: Vim9: type error when function return type is not known yet. 19928 Solution: When return type is unknown, use "any". (closes #8644) 19929 Files: src/vim9compile.c, src/testdir/test_vim9_builtin.vim 19930 19931 Patch 8.2.3231 19932 Problem: Build failure with small features. 19933 Solution: Adjust #ifdef. 19934 Files: src/errors.h 19935 19936 Patch 8.2.3232 (after 8.2.3229) 19937 Problem: system() does not work without a second argument. 19938 Solution: Do not require a second argument. (Yegappan Lakshmanan, 19939 closes #8651, closes #8650) 19940 Files: src/misc1.c, src/proto/typval.pro, 19941 src/testdir/test_vim9_builtin.vim, src/typval.c 19942 19943 Patch 8.2.3233 19944 Problem: prop_list() and prop_find() do not indicate the buffer for the 19945 used type. 19946 Solution: Add "type_bufnr" to the results. (closes #8647) 19947 Files: runtime/doc/textprop.txt, src/testdir/test_textprop.vim, 19948 src/textprop.c 19949 19950 Patch 8.2.3234 19951 Problem: Crash when printing long string with Lua. 19952 Solution: Remove lua_pop(). (Martin Tournoij, closes #8648) 19953 Files: src/if_lua.c, src/testdir/test_lua.vim 19954 19955 Patch 8.2.3235 19956 Problem: Cannot use lambda in {} block in user command. (Martin Tournoij) 19957 Solution: Do not go over the end of the lambda. 19958 Files: src/userfunc.c, src/testdir/test_usercommands.vim 19959 19960 Patch 8.2.3236 19961 Problem: mode() does not indicate using CTRL-O in Select mode. 19962 Solution: Use "vs" and similar. (closes #8640) 19963 Files: runtime/doc/eval.txt, src/globals.h, src/misc1.c, src/normal.c, 19964 src/testdir/test_functions.vim 19965 19966 Patch 8.2.3237 19967 Problem: When a builtin function gives an error processing continues. 19968 Solution: In Vim9 script return FAIL in get_func_tv(). 19969 Files: src/userfunc.c, src/testdir/test_vim9_assign.vim 19970 19971 Patch 8.2.3238 19972 Problem: Vim9: error message does not indicate the location. 19973 Solution: Add the relevant text. (issue #8634) 19974 Files: src/errors.h, src/vim9compile.c, src/testdir/test_vim9_expr.vim 19975 19976 Patch 8.2.3239 19977 Problem: Vim9: no error using heredoc for a number variable. 19978 Solution: Add a type check. (closes #8627) 19979 Files: src/vim9compile.c, src/evalvars.c, 19980 src/testdir/test_vim9_assign.vim 19981 19982 Patch 8.2.3240 19983 Problem: Lua print() does not work properly. 19984 Solution: Put back lua_pop(). 19985 Files: src/if_lua.c, src/testdir/test_lua.vim 19986 19987 Patch 8.2.3241 19988 Problem: Vim9: memory leak when function reports an error. 19989 Solution: Clear the return value. 19990 Files: src/userfunc.c 19991 19992 Patch 8.2.3242 19993 Problem: Vim9: valgrind reports leaks in builtin function test. 19994 Solution: Do not start a job. 19995 Files: src/testdir/test_vim9_builtin.vim 19996 19997 Patch 8.2.3243 19998 Problem: MS-Windows: the "edit with multiple Vim" choice is not that 19999 useful. 20000 Solution: Change it to "Edit with multiple tabs". (Michael Soyka, 20001 closes #8645) 20002 Files: src/GvimExt/gvimext.cpp, src/GvimExt/gvimext.h 20003 20004 Patch 8.2.3244 20005 Problem: Lua 5.3 print() with a long string crashes. 20006 Solution: Use a growarray instead of a Lua buffer. (Yegappan Lakshmanan, 20007 closes #8655) 20008 Files: src/if_lua.c, src/misc2.c, src/proto/misc2.pro 20009 20010 Patch 8.2.3245 20011 Problem: The crypt key may appear in a swap partition. 20012 Solution: When using xchacha20 use sodium_mlock(). (Christian Brabandt, 20013 closes #8657) 20014 Files: src/buffer.c, src/crypt.c, src/errors.h, src/fileio.c, 20015 src/memline.c, src/vim.h 20016 20017 Patch 8.2.3246 20018 Problem: Memory use after free. 20019 Solution: When clearing a string option set the pointer to "empty_option". 20020 Files: src/option.c 20021 20022 Patch 8.2.3247 20023 Problem: Using uninitialized memory when checking for crypt method. 20024 Solution: Check the header length before using the salt and seed. 20025 Files: src/fileio.c 20026 20027 Patch 8.2.3248 20028 Problem: Vim9: error message for wrong input uses wrong line number. 20029 Solution: Use the line number of the start of the command. (issue #8653) 20030 Files: src/vim9script.c, src/testdir/test_vim9_script.vim 20031 20032 Patch 8.2.3249 20033 Problem: Vim9: error for re-imported function with default argument. 20034 Solution: Do not check argument type if it is still unknown. (closes #8653) 20035 Files: src/vim9type.c, src/proto/vim9type.pro, src/vim9script.c, 20036 src/vim.h, src/eval.c, src/vim9execute.c, 20037 src/testdir/test_vim9_script.vim 20038 20039 Patch 8.2.3250 20040 Problem: MS-Windows: cannot build with libsodium. 20041 Solution: Change FEAT_SODIUM into HAVE_SODIUM. (Christian Brabandt, 20042 closes #8668, closes #8663) 20043 Files: src/Make_mvc.mak 20044 20045 Patch 8.2.3251 20046 Problem: Listing builtin_gui as an available terminal is confusing. 20047 Solution: Do not list builtin_gui. (Christian Brabandt, closes #8669, 20048 closes #8661) 20049 Files: src/term.c, src/testdir/test_termcodes.vim 20050 20051 Patch 8.2.3252 20052 Problem: Duplicated code for adding buffer lines. 20053 Solution: Move code to a common function. Also move map functions to map.c. 20054 (Yegappan Lakshmanan, closes #8665) 20055 Files: src/evalbuffer.c, src/evalfunc.c, src/map.c, src/proto/map.pro 20056 20057 Patch 8.2.3253 20058 Problem: Channel test fails randomly. 20059 Solution: Add a sleep after sending the "echoerr" command. (Michael Soyka) 20060 Files: src/testdir/test_channel.vim, src/testdir/test_channel.py 20061 20062 Patch 8.2.3254 20063 Problem: win_gettype() does not recognize a quickfix window. 20064 Solution: Add "quickfix" and "loclist". (Yegappan Lakshmanan, closes #8676) 20065 Files: runtime/doc/eval.txt, src/evalwindow.c, src/misc2.c, 20066 src/testdir/test_quickfix.vim 20067 20068 Patch 8.2.3255 20069 Problem: ci" finds following string but ci< and others don't. 20070 Solution: When not inside an object find the start. (Connor Lane Smit, 20071 closes #8670) 20072 Files: src/search.c, src/testdir/test_textobjects.vim, src/textobject.c 20073 20074 Patch 8.2.3256 20075 Problem: Executable test may fail on new Ubuntu system. 20076 Solution: Consider /usr/bin/cat and /bin/cat the same. 20077 Files: src/testdir/test_functions.vim 20078 20079 Patch 8.2.3257 20080 Problem: Calling prop_find() with -1 for ID gives erroneous error. (Naohiro 20081 Ono) 20082 Solution: When passing -1 use -2. (closes #8674) 20083 Files: src/textprop.c, src/testdir/test_textprop.vim 20084 20085 Patch 8.2.3258 20086 Problem: Error messages have the wrong text. 20087 Solution: Adjust the error message. 20088 Files: src/errors.h, src/typval.c, src/testdir/test_vim9_builtin.vim 20089 20090 Patch 8.2.3259 20091 Problem: When 'indentexpr' causes an error the did_throw flag may remain 20092 set. 20093 Solution: Reset did_throw and show the error. (closes #8677) 20094 Files: src/indent.c, src/ex_docmd.c, src/proto/ex_docmd.pro 20095 20096 Patch 8.2.3260 20097 Problem: Build failure with small features. 20098 Solution: Add #ifdef. 20099 Files: src/ex_docmd.c 20100 20101 Patch 8.2.3261 20102 Problem: Vim9: when compiling repeat(123, N) return type is number. 20103 Solution: Make return type a string. (closes #8664) 20104 Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim 20105 20106 Patch 8.2.3262 20107 Problem: Build failure when ABORT_ON_INTERNAL_ERROR is defined. 20108 Solution: Adjust how estack_len_before is used. 20109 Files: src/ex_docmd.c 20110 20111 Patch 8.2.3263 20112 Problem: Vim9: "..=" does not accept same types as the ".." operator. 20113 Solution: Convert value to string like ".." does. (issue #8664) 20114 Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim, 20115 src/testdir/test_vim9_disassemble.vim 20116 20117 Patch 8.2.3264 (after 8.2.3263) 20118 Problem: Vim9: assign test fails. 20119 Solution: Add missing change. 20120 Files: src/eval.c 20121 20122 Patch 8.2.3265 20123 Problem: Smartcase does not work correctly in very magic pattern. 20124 Solution: Take the magicness into account when skipping over regexp items. 20125 (Christian Brabandt, closes #8682, closes #7845) 20126 Files: src/search.c, src/testdir/test_search.vim 20127 20128 Patch 8.2.3266 20129 Problem: Vim9: assignment with two indexes may check next line. 20130 Solution: Limit the number of lines to avoid checking the next line when 20131 assigning to a LHS subscript. (closes #8660) 20132 Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim 20133 20134 Patch 8.2.3267 20135 Problem: Vim9: crash when disassembling a function that uses a deleted 20136 script variable. 20137 Solution: Check the variable still exists. (closes #8683) 20138 Files: src/vim9execute.c, src/testdir/test_vim9_disassemble.vim 20139 20140 Patch 8.2.3268 20141 Problem: Cannot use a block with :autocmd like with :command. 20142 Solution: Add support for a {} block after :autocmd. (closes #8620) 20143 Files: runtime/doc/autocmd.txt, runtime/doc/map.txt, src/autocmd.c, 20144 src/proto/autocmd.pro, src/usercmd.c, src/proto/usercmd.pro, 20145 src/ex_docmd.c, src/vim.h, src/testdir/test_autocmd.vim 20146 20147 Patch 8.2.3269 20148 Problem: Vim9: wrong argument check for partial. (Naohiro Ono) 20149 Solution: Handle getting return type without arguments. Correct the minimal 20150 number of arguments for what is included in the partial. 20151 (closes #8667) 20152 Files: src/evalfunc.c, src/vim9type.c, src/testdir/test_vim9_func.vim 20153 20154 Patch 8.2.3270 20155 Problem: prop_find() finds property with ID -2. 20156 Solution: Use a separate flag to indicate an ID was specified. (issue #8674) 20157 Files: src/textprop.c 20158 20159 Patch 8.2.3271 20160 Problem: Vim9: cannot use :command or :au with a block in a :def function. 20161 Solution: Recognize the start of the block. 20162 Files: src/userfunc.c, src/usercmd.c, src/ex_docmd.c, 20163 src/proto/ex_docmd.pro, src/vim9compile.c, 20164 src/testdir/test_vim9_script.vim 20165 20166 Patch 8.2.3272 20167 Problem: Cannot use id zero with prop_find(). (Naohiro Ono) 20168 Solution: Also accept id zero. 20169 Files: src/textprop.c, src/testdir/test_textprop.vim 20170 20171 Patch 8.2.3273 20172 Problem: Autocmd test fails. 20173 Solution: Require white space before the "{" that starts a block. 20174 Files: src/userfunc.c 20175 20176 Patch 8.2.3274 20177 Problem: Macro for printf format check can be simplified. 20178 Solution: Add ATTRIBUTE_FORMAT_PRINTF(). (Dominique Pellé, issue #8635) 20179 Files: src/channel.c, src/gui_xim.c, src/if_mzsch.c, src/nbdebug.c, 20180 src/nbdebug.h, src/netbeans.c, src/proto.h, src/term.c, src/vim.h, 20181 src/vim9execute.c 20182 20183 Patch 8.2.3275 20184 Problem: Optimizer can use hints about ga_grow() normally succeeding. 20185 Solution: Use GA_GROW_FAILS() and GA_GROW_OK() in several places. (Dominique 20186 Pellé, issue #8635) 20187 Files: src/arglist.c, src/macros.h, src/vim9execute.c, src/vim9compile.c 20188 20189 Patch 8.2.3276 20190 Problem: Vim9: exists() can only be evaluated at runtime. 20191 Solution: Evaluate at compile time for option name literals. (closes #8437) 20192 Files: src/vim9compile.c, src/evalfunc.c, src/proto/evalfunc.pro, 20193 src/testdir/test_vim9_builtin.vim 20194 20195 Patch 8.2.3277 (after 8.2.3276) 20196 Problem: Vim9: compiled has() does not work properly. 20197 Solution: Fix check for has() vs exists(). 20198 Files: src/vim9compile.c 20199 20200 Patch 8.2.3278 20201 Problem: Vim9: error when adding 1 to float. 20202 Solution: Accept t_number_bool. (closes #8687) 20203 Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim 20204 20205 Patch 8.2.3279 20206 Problem: Vim9: cannot use block in cmdline window. 20207 Solution: Add EX_CMDWIN to the CMD_block flags. (closes #8689) 20208 Files: src/ex_cmds.h, src/testdir/test_vim9_cmd.vim 20209 20210 Patch 8.2.3280 20211 Problem: 'virtualedit' local to buffer is not the best solution. 20212 Solution: Make it window-local. (Gary Johnson, closes #8685) 20213 Files: runtime/doc/options.txt, src/buffer.c, src/drawscreen.c, 20214 src/ops.c, src/option.c, src/option.h, src/optionstr.c, 20215 src/structs.h, src/testdir/test_virtualedit.vim 20216 20217 Patch 8.2.3281 20218 Problem: Vim9: TODO items in tests can be taken care of. 20219 Solution: Update test for now working functionality. (closes #8694) 20220 Files: src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_func.vim, 20221 src/testdir/test_vim9_script.vim 20222 20223 Patch 8.2.3282 20224 Problem: Vim9: error about using -complete without -nargs is confusing. 20225 Solution: Change the wording. 20226 Files: src/usercmd.c, src/errors.h 20227 20228 Patch 8.2.3283 20229 Problem: Julia filetype is not recognized 20230 Solution: Add filetype detection. (Christian Clason, closes #8700) 20231 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 20232 20233 Patch 8.2.3284 20234 Problem: No error for insert() or remove() changing a locked blob. 20235 Solution: Check a blob is not locked before changing it. (Sean Dewar, 20236 closes #8696) 20237 Files: src/blob.c, src/errors.h, src/eval.c, src/list.c, 20238 src/proto/blob.pro, src/testdir/test_blob.vim, 20239 src/testdir/test_eval_stuff.vim 20240 20241 Patch 8.2.3285 20242 Problem: Scdoc filetype is not recognized. 20243 Solution: Add filetype detection. (Gregory Anders, closes #8701) 20244 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 20245 20246 Patch 8.2.3286 20247 Problem: win_enter_ext() has too many boolean arguments. 20248 Solution: use one flags argument with defined values. 20249 Files: src/window.c 20250 20251 Patch 8.2.3287 20252 Problem: Channel events not handled in BufEnter autocommand. 20253 Solution: Decrement dont_parse_messages earlier. (Tim Pope, closes #8697) 20254 Files: src/window.c, src/testdir/test_channel.vim 20255 20256 Patch 8.2.3288 20257 Problem: Cannot easily access namespace dictionaries from Lua. 20258 Solution: Add vim.g, vim.b, etc. (Yegappan Lakshmanan, closes #8693, 20259 from NeoVim) 20260 Files: runtime/doc/if_lua.txt, src/if_lua.c, src/testdir/test_lua.vim 20261 20262 Patch 8.2.3289 (after 8.2.3287) 20263 Problem: Compiler warning for unused variable with small features. 20264 Solution: Rearrange #ifdefs. 20265 Files: src/window.c 20266 20267 Patch 8.2.3290 20268 Problem: Vim9: compiling dict may use pointer after free and leak memory on 20269 failure. 20270 Solution: Pass a pointer to generate_PUSHS(). (Zdenek Dohnal, closes #8699) 20271 Files: src/vim9compile.c 20272 20273 Patch 8.2.3291 20274 Problem: Coverity warns for not checking return value. 20275 Solution: If dict_add() fails give an error message. 20276 Files: src/if_lua.c, src/testdir/test_lua.vim 20277 20278 Patch 8.2.3292 20279 Problem: Underscore in very magic pattern causes a hang. Pattern with \V 20280 are case sensitive. (Yutao Yuan) 20281 Solution: Adjust condition for magicness and advance pointer. (Christian 20282 Brabandt, closes #8707, closes #8704, closes #8705) 20283 Files: src/search.c, src/testdir/test_search.vim 20284 20285 Patch 8.2.3293 20286 Problem: Finding completions may cause an endless loop. 20287 Solution: Use a better way to check coming back where the search started. 20288 (Andy Gozas, closes #8672, closes #8671) 20289 Files: src/insexpand.c, src/testdir/Make_all.mak, 20290 src/testdir/test_ins_complete_no_halt.vim 20291 20292 Patch 8.2.3294 20293 Problem: Lua: memory leak when adding dict item fails. 20294 Solution: Free the typval and the dict item. 20295 Files: src/if_lua.c 20296 20297 Patch 8.2.3295 20298 Problem: 'cursorline' should not apply to 'breakindent'. 20299 Solution: Make 'cursorline' apply to 'breakindent' and 'showbreak' 20300 consistently. (closes #8684) 20301 Files: src/drawline.c, src/testdir/dumps/Test_Xcursorline_19.dump, 20302 src/testdir/dumps/Test_Xcursorline_20.dump, 20303 src/testdir/dumps/Test_Xcursorline_21.dump, 20304 src/testdir/dumps/Test_Xcursorline_22.dump, 20305 src/testdir/dumps/Test_Xcursorline_23.dump, 20306 src/testdir/dumps/Test_Xcursorline_24.dump, 20307 src/testdir/dumps/Test_diff_with_cul_bri_01.dump, 20308 src/testdir/dumps/Test_diff_with_cul_bri_02.dump, 20309 src/testdir/dumps/Test_diff_with_cul_bri_03.dump, 20310 src/testdir/dumps/Test_diff_with_cul_bri_04.dump, 20311 src/testdir/test_cursorline.vim, src/testdir/test_diffmode.vim 20312 20313 Patch 8.2.3296 20314 Problem: Vim9: cannot add a number to a float. 20315 Solution: Accept a number if the destination is a float. (closes #8703) 20316 Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim 20317 20318 Patch 8.2.3297 20319 Problem: Cannot use all commands inside a {} block after :command and 20320 :autocmd. 20321 Solution: Do consider \n to separate commands. (closes #8620) 20322 Files: runtime/doc/map.txt, src/ex_docmd.c, src/proto/ex_docmd.pro, 20323 src/ex_eval.c, src/proto/ex_eval.pro, src/eval.c, src/evalvars.c, 20324 src/ex_cmds.c, src/syntax.c, src/userfunc.c, src/vim9compile.c, 20325 src/vim9script.c, src/errors.h, src/testdir/test_autocmd.vim, 20326 src/testdir/test_usercommands.vim 20327 20328 Patch 8.2.3298 20329 Problem: Build failure with small features. 20330 Solution: Add #ifdef. 20331 Files: src/ex_docmd.c 20332 20333 Patch 8.2.3299 20334 Problem: Vim9: exists() does not handle much at compile time. 20335 Solution: Handle variable names. (closes #8688) 20336 Files: src/vim9compile.c, src/evalfunc.c, 20337 src/testdir/test_vim9_builtin.vim 20338 20339 Patch 8.2.3300 20340 Problem: Lua: can only execute one Vim command at a time. Not easy to get 20341 the Vim version. 20342 Solution: Make vim.command() accept multiple lines. Add vim.version(). 20343 (Yegappan Lakshmanan, closes #8716) 20344 Files: runtime/doc/if_lua.txt, src/evalfunc.c, src/if_lua.c, 20345 src/proto/evalfunc.pro, src/testdir/test_lua.vim, 20346 src/testdir/test_shell.vim 20347 20348 Patch 8.2.3301 20349 Problem: Memory allocation functions don't have their own place. 20350 Solution: Move memory allocation functions to alloc.c. (Yegappan 20351 Lakshmanan, closes #8717) 20352 Files: Filelist, src/Make_ami.mak, src/Make_cyg_ming.mak, 20353 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md, 20354 src/alloc.c, src/misc2.c, src/proto.h, src/proto/alloc.pro, 20355 src/proto/misc2.pro 20356 20357 Patch 8.2.3302 20358 Problem: Coverity is not run from github. 20359 Solution: Add a coverity script. (James McCoy, closes #8714) 20360 Files: .github/workflows/coverity.yml, Filelist 20361 20362 Patch 8.2.3303 20363 Problem: Some structures could be smaller. 20364 Solution: Rearrange members to reduce size. (Dominique Pellé, closes #8725) 20365 Files: src/structs.h, src/vim9.h, src/vim9execute.c 20366 20367 Patch 8.2.3304 20368 Problem: Popup window title with wide characters is truncated. 20369 Solution: Use vim_strsize() instead of MB_CHARLEN(). (Naruhiko Nishino, 20370 closes #8721) 20371 Files: src/popupwin.c, src/testdir/test_popupwin.vim, 20372 src/testdir/dumps/Test_popupwin_multibytetitle.dump 20373 20374 Patch 8.2.3305 20375 Problem: Vim9: :finally in skipped block not handled correctly. 20376 Solution: Check whether :finally is in a skipped block. (Naruhiko Nishino, 20377 closes #8724) 20378 Files: src/ex_eval.c, src/vim9compile.c, src/testdir/test_vim9_script.vim 20379 20380 Patch 8.2.3306 20381 Problem: Unexpected "No matching autocommands". 20382 Solution: Do not give the message when aborting. Mention the arguments in 20383 the message. (closes #8690) 20384 Files: src/autocmd.c, 20385 20386 Patch 8.2.3307 20387 Problem: Vim9: :echoconsole cannot access local variables. 20388 Solution: Handle like other :echo commands. (closes #8708) 20389 Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, 20390 src/testdir/test_vim9_script.vim, 20391 src/testdir/test_vim9_disassemble.vim 20392 20393 Patch 8.2.3308 20394 Problem: Vim9: no runtime check for argument type if a function only has 20395 varargs. 20396 Solution: Also check argument types if uf_va_type is set. (closes #8715) 20397 Files: src/vim9execute.c, src/testdir/test_vim9_func.vim 20398 20399 Patch 8.2.3309 20400 Problem: Vim9: divide by zero causes a crash. 20401 Solution: Give an error message. (closes #8727) 20402 Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim 20403 20404 Patch 8.2.3310 20405 Problem: Vim9: unpack assignment does not mention source of type error. 20406 Solution: Mention the argument number. (closes #8719) 20407 Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim, 20408 src/testdir/test_vim9_disassemble.vim 20409 20410 Patch 8.2.3311 20411 Problem: Vim9: check for DO_NOT_FREE_CNT is very slow. 20412 Solution: Move to a separate function so it can be skipped by setting 20413 $TEST_SKIP_PAT. 20414 Files: src/testdir/test_vim9_expr.vim, src/testdir/runtest.vim 20415 20416 Patch 8.2.3312 20417 Problem: Vim9: after "if false" line breaks in expression not skipped. 20418 Solution: Do parse the expression. (closes #8723) 20419 Files: src/vim9compile.c, src/testdir/test_vim9_script.vim 20420 20421 Patch 8.2.3313 20422 Problem: Unused code in win_exchange() and frame_remove(). 20423 Solution: Remove the code. (closes #8728) 20424 Files: src/window.c 20425 20426 Patch 8.2.3314 20427 Problem: Behavior of exists() in a :def function is unpredictable. 20428 Solution: Add exists_compiled(). 20429 Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c, 20430 src/errors.h, src/vim9compile.c, src/testdir/test_vim9_builtin.vim 20431 20432 Patch 8.2.3315 20433 Problem: Cannot use single quote in a float number for readability. 20434 Solution: Support single quotes like in numbers. (closes #8713) 20435 Files: src/typval.c, src/float.c, src/proto/float.pro, src/json.c, 20436 src/viminfo.c, src/testdir/test_float_func.vim 20437 20438 Patch 8.2.3316 (after 8.2.3315) 20439 Problem: Float test fails. 20440 Solution: Add missing change. 20441 Files: src/evalfunc.c 20442 20443 Patch 8.2.3317 20444 Problem: Vim9: No error for missing white space before return type. 20445 Solution: Check for white space. (closes #8733) 20446 Files: src/userfunc.c, src/testdir/test_vim9_func.vim 20447 20448 Patch 8.2.3318 20449 Problem: Vim9: cannot ignore quotes in number at the command line. 20450 Solution: Use in_vim9script() so that after ":vim9" quotes are ignored. 20451 Files: src/typval.c, src/testdir/test_float_func.vim 20452 20453 Patch 8.2.3319 20454 Problem: Coverity action on github does not work. 20455 Solution: Remove undefined $SRCDIR. (James McCoy, closes #8739) 20456 Files: .github/workflows/coverity.yml 20457 20458 Patch 8.2.3320 20459 Problem: Some local functions are not static. 20460 Solution: Add "static". Move snprintf() related code to strings.c. 20461 (Yegappan Lakshmanan, closes #8734) 20462 Files: src/alloc.c, src/channel.c, src/dict.c, src/digraph.c, src/edit.c, 20463 src/ex_docmd.c, src/getchar.c, src/job.c, src/list.c, 20464 src/message.c, src/profiler.c, src/proto/channel.pro, 20465 src/proto/dict.pro, src/proto/digraph.pro, src/proto/edit.pro, 20466 src/proto/ex_docmd.pro, src/proto/getchar.pro, src/proto/job.pro, 20467 src/proto/list.pro, src/proto/profiler.pro, src/proto/spell.pro, 20468 src/proto/vim9compile.pro, src/proto/vim9script.pro, 20469 src/proto/vim9type.pro, src/spell.c, src/strings.c, 20470 src/vim9compile.c, src/vim9script.c, src/vim9type.c, src/window.c 20471 20472 Patch 8.2.3321 20473 Problem: Some code is not tested. 20474 Solution: Add some more tests. (Dominique Pellé, closes #8735) 20475 Files: src/testdir/test_excmd.vim, src/testdir/test_writefile.vim 20476 20477 Patch 8.2.3322 20478 Problem: Vim9: checking type of dict does not check member type. 20479 Solution: When getting the type of a typval use dv_type and lv_type. 20480 (closes #8732) 20481 Files: src/vim9type.c, src/testdir/test_vim9_builtin.vim 20482 20483 Patch 8.2.3323 20484 Problem: Help tag for exists_compiled() is wrong. (Maxim Kim) 20485 Solution: Adjust the help tag. 20486 Files: runtime/doc/eval.txt 20487 20488 Patch 8.2.3324 20489 Problem: Vim9: Cannot use :silent with :endwhile. 20490 Solution: Allow for using the :silent modifier. (closes #8737) 20491 Files: src/ex_eval.c, src/ex_docmd.c, src/proto/ex_docmd.pro, 20492 src/vim9compile.c, src/testdir/test_vim9_cmd.vim 20493 20494 Patch 8.2.3325 20495 Problem: Digraph test fails when LC_ALL is set to "C". 20496 Solution: When restoring 'encoding' set it to "utf-8". (closes #8742) 20497 Files: src/testdir/test_digraph.vim 20498 20499 Patch 8.2.3326 20500 Problem: Vim9: no error passing an empty list of the wrong type. 20501 Solution: Use ISN_SETTYPE also for "list<any>". (closes #8732) 20502 Files: src/vim9compile.c, src/testdir/test_vim9_func.vim, 20503 src/testdir/test_vim9_disassemble.vim 20504 20505 Patch 8.2.3327 20506 Problem: No check for sysconf() failing. 20507 Solution: If sysconf() fails use SIGSTKSZ for the signal stack size. 20508 (Zdenek Dohnal, closes #8743) 20509 Files: src/os_unix.c 20510 20511 Patch 8.2.3328 20512 Problem: Coverity error for not checking return value. 20513 Solution: Check value is not negative. 20514 Files: src/spellfile.c 20515 20516 Patch 8.2.3329 20517 Problem: v_lock not set when getting value of environment variable. 20518 Solution: Set v_lock to zero. 20519 Files: src/typval.c 20520 20521 Patch 8.2.3330 20522 Problem: Coverity reports using uninitialized field. 20523 Solution: Initialize the field early. 20524 Files: src/tag.c 20525 20526 Patch 8.2.3331 20527 Problem: Coverity warns for using value without boundary check. 20528 Solution: Add a boundary check. 20529 Files: src/viminfo.c 20530 20531 Patch 8.2.3332 20532 Problem: Vim9: cannot assign to range in list. 20533 Solution: Implement overwriting a list range. 20534 Files: src/vim9compile.c, src/vim9execute.c, src/list.c, 20535 src/proto/list.pro, src/eval.c, src/proto/eval.pro, 20536 src/testdir/test_listdict.vim, src/testdir/test_vim9_assign.vim 20537 20538 Patch 8.2.3333 20539 Problem: Vim9: not enough tests run with Vim9. 20540 Solution: Run a few more tests in Vim9 script and :def function. 20541 Files: src/testdir/test_listdict.vim, src/testdir/vim9.vim 20542 20543 Patch 8.2.3334 20544 Problem: Vim9: not enough tests run with Vim9. 20545 Solution: Run a few more tests in Vim9 script and :def function. Fix 20546 islocked(). Fix error for locking local variable. 20547 Files: src/evalfunc.c, src/vim9compile.c, src/testdir/test_listdict.vim 20548 20549 Patch 8.2.3335 20550 Problem: Vim9: not enough tests run with Vim9. 20551 Solution: Run a few more tests in Vim9 script and :def function. Fix that 20552 items(), keys() and values() return zero for a NULL dict. 20553 Make join() return an empty string for a NULL list. Make sort() 20554 return an empty list for a NULL list. 20555 Files: src/dict.c, src/list.c, src/testdir/test_listdict.vim, 20556 src/testdir/vim9.vim 20557 20558 Patch 8.2.3336 20559 Problem: Behavior of negative index in list change changed. (Naruhiko 20560 Nishino) 20561 Solution: Only change it for Vim9 script. (closes #8749) 20562 Files: src/list.c, src/testdir/test_listdict.vim 20563 20564 Patch 8.2.3337 20565 Problem: Completing "call g:" returns entries with just "g:". (Naohiro Ono) 20566 Solution: Skip empty strings returned by get_user_func_name(). (closes #8753) 20567 Files: src/evalfunc.c, src/testdir/test_cmdline.vim 20568 20569 Patch 8.2.3338 20570 Problem: Vim9: no type check when assigning a list range. (Naohiro Ono) 20571 Solution: Check the member type. (closes #8750) 20572 Files: src/list.c, src/testdir/test_listdict.vim 20573 20574 Patch 8.2.3339 20575 Problem: Vim9: cannot lock a member in a local dict. 20576 Solution: Get the local dict from the stack and pass it to get_lval(). 20577 Files: src/eval.c, src/vim9execute.c, src/vim9compile.c, src/vim9.h, 20578 src/globals.h, src/testdir/test_vim9_cmd.vim, 20579 src/testdir/test_vim9_disassemble.vim 20580 20581 Patch 8.2.3340 (after 8.2.3339) 20582 Problem: Accessing uninitialized pointer. 20583 Solution: Set pointer to NULL. 20584 Files: src/eval.c 20585 20586 Patch 8.2.3341 20587 Problem: Vim9: function call aborted despite try/catch. (Naohiro Ono) 20588 Solution: Ignore error caught by try/catch. (closes #8755) 20589 Files: src/evalvars.c, src/vim9execute.c, src/message.c, src/time.c, 20590 src/globals.h, src/testdir/vim9.vim, src/testdir/test_vim9_func.vim 20591 20592 Patch 8.2.3342 (after 8.2.3341) 20593 Problem: Test for :let errors fails. 20594 Solution: Adjust the test and how to avoid a second error message. 20595 Files: src/evalvars.c, src/testdir/test_let.vim 20596 20597 Patch 8.2.3343 (after 8.2.3342) 20598 Problem: Vim9: autoload test fails. 20599 Solution: Adjust the way the second message is avoided 20600 Files: src/evalvars.c 20601 20602 Patch 8.2.3344 (after 8.2.3343) 20603 Problem: Vimscript test fails. 20604 Solution: Have test verify first error instead of second 20605 Files: src/testdir/test_vimscript.vim 20606 20607 Patch 8.2.3345 20608 Problem: Some code not covered by tests. 20609 Solution: Add a few more tests. (Dominique Pellé, closes #8757) 20610 Files: src/testdir/test_arglist.vim, src/testdir/test_cmdline.vim, 20611 src/testdir/test_spellfile.vim, src/testdir/test_substitute.vim 20612 20613 Patch 8.2.3346 20614 Problem: Vim9: no error for using "." for concatenation after ":vim9cmd". 20615 (Naohiro Ono) 20616 Solution: Check for Vim9 script syntax. (closes #8756) 20617 Files: src/eval.c, src/testdir/test_vim9_cmd.vim 20618 20619 Patch 8.2.3347 20620 Problem: Check for legacy script is incomplete. (Naohiro Ono) 20621 Solution: Also check the :legacy modifier. Use for string concatenation 20622 with "." and others (issue #8756) 20623 Files: src/vim9script.c, src/proto/vim9script.pro, src/eval.c, 20624 src/typval.c, src/evalvars.c, src/errors.h, src/ex_docmd.c, 20625 src/testdir/test_vim9_cmd.vim 20626 20627 Patch 8.2.3348 20628 Problem: line2byte() returns wrong value after adding textprop. (Yuto 20629 Kimura) 20630 Solution: Reduce the length by the size of the text property. (closes #8759) 20631 Files: src/memline.c, src/testdir/test_textprop.vim 20632 20633 Patch 8.2.3349 (after 8.2.3347) 20634 Problem: Eval test for scriptversion fails. 20635 Solution: Fix off-by-one error. 20636 Files: src/vim9script.c 20637 20638 Patch 8.2.3350 (after 8.2.3348) 20639 Problem: Text properties test fails on MS-Windows. 20640 Solution: Set fileformat to unix. 20641 Files: src/testdir/test_textprop.vim 20642 20643 Patch 8.2.3351 20644 Problem: Vim9: using a function by name may delete it. (Naohiro Ono) 20645 Solution: Increment the reference count when using a function by name. 20646 (closes #8760) 20647 Files: src/evalvars.c, src/testdir/test_vim9_func.vim 20648 20649 Patch 8.2.3352 20650 Problem: Vim9: error for nested :enddef has wrong line number. 20651 Solution: Compute the line number. 20652 Files: src/userfunc.c, src/testdir/test_vim9_func.vim 20653 20654 Patch 8.2.3353 20655 Problem: Vim9: type of argument for negate not checked at compile time. 20656 Solution: Add a compile time check. 20657 Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim, 20658 src/testdir/test_vim9_script.vim, 20659 src/testdir/test_vim9_disassemble.vim 20660 20661 Patch 8.2.3354 20662 Problem: Build failure with +byte_offset but without +textprop. (John 20663 Marriott) 20664 Solution: Adjust the #ifdef. 20665 Files: src/memline.c 20666 20667 Patch 8.2.3355 20668 Problem: MS-Windows: compiler warning for 64-32 bit conversion. 20669 Solution: Add type casts. 20670 Files: src/memline.c 20671 20672 Patch 8.2.3356 20673 Problem: Adding many text properties requires a lot of function calls. 20674 Solution: Add the prop_add_list() function. (Yegappan Lakshmanan, 20675 closes #8751) 20676 Files: runtime/doc/eval.txt, runtime/doc/textprop.txt, 20677 runtime/doc/usr_41.txt, src/evalfunc.c, src/proto/textprop.pro, 20678 src/testdir/test_textprop.vim, src/testdir/test_vim9_builtin.vim, 20679 src/textprop.c 20680 20681 Patch 8.2.3357 20682 Problem: Crash when 'virtualedit' is set and window is narrow. 20683 Solution: Check that width is not zero. (closes #8767) 20684 Files: src/misc2.c, src/testdir/test_number.vim 20685 20686 Patch 8.2.3358 20687 Problem: Structurizr files are not recognized. 20688 Solution: Recognize the file by contents. (Bastian Venthur, closes #8764) 20689 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 20690 20691 Patch 8.2.3359 20692 Problem: Vim9: error for type when variable is not set. 20693 Solution: Give a specific error for a NULL function. (closes #8773) 20694 Files: src/vim9type.c, src/errors.h, src/testdir/test_vim9_func.vim 20695 20696 Patch 8.2.3360 20697 Problem: User function completion fails with dict function. 20698 Solution: Do not stop sequencing through the list if user functions when 20699 encountering an empty name. (Naohiro Ono, closes #8765, 20700 closes #8774) 20701 Files: src/evalfunc.c, src/testdir/test_cmdline.vim 20702 20703 Patch 8.2.3361 20704 Problem: Vim9: crash with nested :while. 20705 Solution: Handle skipping better. (Naruhiko Nishino, closes #8778) 20706 Files: src/vim9compile.c, src/testdir/test_vim9_script.vim 20707 20708 Patch 8.2.3362 20709 Problem: Buffer overflow when completing long tag name. 20710 Solution: Allocate the buffer dynamically. (Gregory Anders, closes #8769) 20711 Files: src/tag.c, src/testdir/test_tagjump.vim 20712 20713 Patch 8.2.3363 20714 Problem: When :edit reuses the current buffer the alternate file is set to 20715 the same buffer. 20716 Solution: Only set the alternate file when not reusing the buffer. 20717 (closes #8783) 20718 Files: src/ex_cmds.c, src/testdir/test_undo.vim, 20719 src/testdir/test_cmdline.vim, src/testdir/test_vim9_builtin.vim, 20720 src/testdir/test_vim9_script.vim 20721 20722 Patch 8.2.3364 20723 Problem: Vim9: crash when :for is skipped. 20724 Solution: Skip more code generation. (Naruhiko Nishino, closes #8777) 20725 Files: src/vim9compile.c, src/testdir/test_vim9_script.vim 20726 20727 Patch 8.2.3365 20728 Problem: Vim9: cannot use option for all operations. 20729 Solution: Recognize more operations. (closes #8779) 20730 Files: src/vim9compile.c, src/proto/vim9compile.pro, src/ex_docmd.c, 20731 src/testdir/test_vim9_cmd.vim 20732 20733 Patch 8.2.3366 20734 Problem: Vim9: debugging elseif does not stop before condition. 20735 Solution: Move debug statement to after the jump. (closes #8781) 20736 Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim 20737 20738 Patch 8.2.3367 20739 Problem: Vim9: :@r executing a register is inconsistent. 20740 Solution: Use "@r" as the start of an expression. (issue #8779) 20741 Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim 20742 20743 Patch 8.2.3368 20744 Problem: Not all Racket files are recognized. 20745 Solution: Also recognize .rktl and .rktd files. (Doug Kearns) 20746 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 20747 20748 Patch 8.2.3369 20749 Problem: Auto formatting after "cw" leaves cursor in wrong spot. 20750 Solution: Do not auto-format after the delete. (closes #8789) 20751 Files: src/ops.c, src/testdir/test_textformat.vim 20752 20753 Patch 8.2.3370 20754 Problem: Vim9: no check for white space before type in declaration. 20755 (Naohiro Ono) 20756 Solution: Check for white space like in a compiled function. (closes #8785) 20757 Files: src/eval.c, src/testdir/test_vim9_assign.vim 20758 20759 Patch 8.2.3371 20760 Problem: Vim9: :$ENV cannot be followed by ->func() in next line. 20761 Solution: Use "$ENV" as the start of an expression. (closes #8790) 20762 Files: src/ex_docmd.c, src/vim9compile.c, src/testdir/test_vim9_cmd.vim 20763 20764 Patch 8.2.3372 20765 Problem: line2byte() value wrong when adding a text property. (Yuto Kimura) 20766 Solution: Adjust length for text property. (closes #8772) Also fix it for 20767 deleting a line. 20768 Files: src/memline.c, src/testdir/test_textprop.vim 20769 20770 Patch 8.2.3373 (after 8.2.3372) 20771 Problem: text property test fails on MS-Windows. 20772 Solution: Set fileformat to "unix" 20773 Files: src/testdir/test_textprop.vim 20774 20775 Patch 8.2.3374 20776 Problem: Pyret files are not recognized. 20777 Solution: Recognize .arr files as Pyret. (Doug Kearns) 20778 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 20779 20780 Patch 8.2.3375 20781 Problem: Using uninitialized memory. 20782 Solution: Initialize textprop_save_len. 20783 Files: src/memline.c 20784 20785 Patch 8.2.3376 20786 Problem: Vim9: no warning that "@r" does not do anything. 20787 Solution: Give a "no effect" error. (closes #8779) 20788 Files: src/ex_eval.c, src/proto/ex_eval.pro, src/vim9compile.c, 20789 src/testdir/test_vim9_cmd.vim 20790 20791 Patch 8.2.3377 20792 Problem: Vim9: :disass completion does not understand "s:". 20793 Solution: Expand "s:" to a pattern. (closes #8780) 20794 Files: src/cmdexpand.c, src/testdir/test_cmdline.vim 20795 20796 Patch 8.2.3378 20797 Problem: MS-Windows: completing environment variables with % is wrong. 20798 Solution: Only complete environment variables with $. (Albert Liu, 20799 closes #8791) 20800 Files: src/cmdexpand.c, src/testdir/test_cmdline.vim 20801 20802 Patch 8.2.3379 20803 Problem: Crash when using NULL job. 20804 Solution: Copy static string into buffer. (issue #8260) 20805 Files: src/job.c, src/testdir/test_channel.vim 20806 20807 Patch 8.2.3380 20808 Problem: Crash when using NULL string for funcref(). 20809 Solution: Check for NULL argument. (issue #8260) 20810 Files: src/evalfunc.c, src/testdir/test_expr.vim 20811 20812 Patch 8.2.3381 20813 Problem: Crash when using NULL list with sign functions. 20814 Solution: Handle a NULL list like an empty list. (issue #8260) 20815 Files: src/globals.h, src/testdir/test_signs.vim 20816 20817 Patch 8.2.3382 20818 Problem: Crash when getting the type of a NULL partial. 20819 Solution: Check for NULL. (closes #8260) 20820 Files: src/vim9type.c, src/testdir/test_vim9_builtin.vim 20821 20822 Patch 8.2.3383 20823 Problem: Vim9: completion for :disassemble adds parenthesis. 20824 Solution: Don't add parenthesis. (Naohiro Ono, closes #8802) 20825 Files: src/userfunc.c, src/testdir/test_cmdline.vim 20826 20827 Patch 8.2.3384 20828 Problem: Cannot disable modeline for an individual file. 20829 Solution: Recognize "nomodeline" in a modeline. (Hu Jialun, closes #8798) 20830 Files: runtime/doc/options.txt, src/buffer.c, 20831 src/testdir/test_modeline.vim 20832 20833 Patch 8.2.3385 20834 Problem: Escaping for fish shell does not work properly. 20835 Solution: Insert a backslash before a backslash. (Jason Cox, closes #8810) 20836 Files: runtime/doc/eval.txt, src/strings.c, src/testdir/test_shell.vim 20837 20838 Patch 8.2.3386 20839 Problem: Using uninitialized memory. 20840 Solution: Initialize the rm_ic field. (Dominique Pellé, closes #8800) 20841 Files: src/indent.c 20842 20843 Patch 8.2.3387 20844 Problem: Compiler warning for non-static function. 20845 Solution: Make the function static. (Dominique Pellé, closes #8816) 20846 Files: src/strings.c 20847 20848 Patch 8.2.3388 20849 Problem: fnamemodify('path/..', ':p') differs from using 'path/../'. (David 20850 Briscoe) 20851 Solution: Include the "/.." in the directory name. (closes #8808) 20852 Files: src/os_unix.c, src/testdir/test_fnamemodify.vim 20853 20854 Patch 8.2.3389 20855 Problem: Cannot stop insert mode completion without side effects. 20856 Solution: Add CTRL-X CTRL-Z. (closes #8821) 20857 Files: runtime/doc/index.txt, runtime/doc/insert.txt, src/insexpand.c, 20858 src/testdir/test_ins_complete.vim 20859 20860 Patch 8.2.3390 20861 Problem: Included xdiff code is outdated. 20862 Solution: Sync with xdiff in git 2.33. (Christian Brabandt, closes #8431) 20863 Files: src/diff.c, src/xdiff/README.txt, src/xdiff/xdiff.h, 20864 src/xdiff/xdiffi.c, src/xdiff/xdiffi.h, src/xdiff/xemit.c, 20865 src/xdiff/xemit.h, src/xdiff/xhistogram.c, src/xdiff/xinclude.h, 20866 src/xdiff/xmacros.h, src/xdiff/xpatience.c, src/xdiff/xprepare.h, 20867 src/xdiff/xtypes.h, src/xdiff/xutils.c, src/xdiff/xutils.h 20868 20869 Patch 8.2.3391 20870 Problem: Crash with combination of 'linebreak' and other options. 20871 Solution: Avoid n_extra to become negative. (Christian Brabandt, 20872 closes #8817) 20873 Files: src/drawline.c 20874 20875 Patch 8.2.3392 20876 Problem: augroup completion escapes regexp pattern characters. 20877 Solution: Do not escape the augroup name. (closes #8826) 20878 Files: src/cmdexpand.c, src/testdir/test_cmdline.vim 20879 20880 Patch 8.2.3393 20881 Problem: Escaping for fish shell is skipping some characters. 20882 Solution: Escape character after backslash if needed. (Jason Cox, 20883 closes #8827) 20884 Files: src/strings.c, src/testdir/test_shell.vim 20885 20886 Patch 8.2.3394 20887 Problem: Filler lines are wrong when changing text in diff mode. 20888 Solution: Don't change the filler lines on every change. Check 20889 scrollbinding when updating the filler lines. (closes #8809) 20890 Files: src/move.c, src/diff.c, src/testdir/test_diffmode.vim, 20891 src/testdir/dumps/Test_diff_scroll_change_01.dump, 20892 src/testdir/dumps/Test_diff_scroll_change_02.dump 20893 20894 Patch 8.2.3395 20895 Problem: Vim9: expression breakpoint not checked in :def function. 20896 Solution: Always compile a function for debugging if there is an expression 20897 breakpoint. (closes #8803) 20898 Files: src/vim9execute.c, src/proto/vim9execute.pro, src/debugger.c, 20899 src/proto/debugger.pro, src/vim.h, src/vim9.h, 20900 src/testdir/test_debugger.vim 20901 20902 Patch 8.2.3396 20903 Problem: When libcall() fails invalid pointer may be used. 20904 Solution: Initialize the string to NULL. (Yasuhiro Matsumoto, closes #8829) 20905 Files: src/evalfunc.c 20906 20907 Patch 8.2.3397 20908 Problem: No test for what 8.2.3391 fixes. 20909 Solution: Add a test. (Yegappan Lakshmanan, closes #8828) 20910 Files: src/testdir/test_breakindent.vim 20911 20912 Patch 8.2.3398 20913 Problem: Html text objects are not fully tested. 20914 Solution: Add tests for dbcs encoding and different number of backslashes. 20915 (Dominique Pellé, closes #8831) 20916 Files: src/testdir/test_textobjects.vim 20917 20918 Patch 8.2.3399 20919 Problem: Octave files are not recognized. 20920 Solution: Detect Octave files. (Doug Kearns) 20921 Files: runtime/autoload/dist/ft.vim, runtime/doc/filetype.txt, 20922 runtime/filetype.vim, src/testdir/test_filetype.vim 20923 20924 Patch 8.2.3400 20925 Problem: ":z!" is not supported. 20926 Solution: Make ":z!" work and add tests. (Dominique Pellé, closes #8836) 20927 Use display height instead of current window height. 20928 Files: runtime/doc/various.txt, src/ex_cmds.h, src/ex_cmds.c, 20929 src/testdir/test_ex_z.vim 20930 20931 Patch 8.2.3401 20932 Problem: Vim9: cannot use a negative count with finddir() and findfile(). 20933 Solution: Adjust the return type. (closes #8776) 20934 Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim 20935 20936 Patch 8.2.3402 20937 Problem: Invalid memory access when using :retab with large value. 20938 Solution: Check the number is positive. 20939 Files: src/indent.c, src/option.c, src/optionstr.c, 20940 src/testdir/test_retab.vim 20941 20942 Patch 8.2.3403 (after 8.2.3402) 20943 Problem: Memory leak for :retab with invalid argument. 20944 Solution: Free the memory. Make error messages consistent. 20945 Files: src/indent.c 20946 20947 Patch 8.2.3404 20948 Problem: Vim9: no error for white space before "(". 20949 Solution: Give an error, like in a compiled function. 20950 Files: src/userfunc.c, src/testdir/test_vim9_func.vim 20951 20952 Patch 8.2.3405 20953 Problem: Cannot have a comment line in a {} block of a user command. 20954 Solution: Continue after the line break. (closes #8837) 20955 Files: src/ex_docmd.c, src/testdir/test_usercommands.vim 20956 20957 Patch 8.2.3406 20958 Problem: On some systems tests fail without _REENTRANT. (Elimar 20959 Riesebieter) 20960 Solution: Add -D_REENTRANT in configure. (closes #7402) 20961 Files: src/configure.ac, src/auto/configure 20962 20963 Patch 8.2.3407 20964 Problem: Using uninitialized memory with "let g:['bar'] = 2". 20965 Solution: Initialize v_type of a new dict item. 20966 Files: src/dict.c 20967 20968 Patch 8.2.3408 20969 Problem: Can delete a numbered function. (Naohiro Ono) 20970 Solution: Disallow deleting a numbered function. (closes #8760) 20971 Files: src/userfunc.c, src/testdir/test_user_func.vim 20972 20973 Patch 8.2.3409 20974 Problem: Reading beyond end of line with invalid utf-8 character. 20975 Solution: Check for NUL when advancing. 20976 Files: src/regexp_nfa.c, src/testdir/test_regexp_utf8.vim 20977 20978 Patch 8.2.3410 20979 Problem: Crash with linebreak, listchars and large tabstop. 20980 Solution: Account for different size listchars for a tab. (closes #8841) 20981 Files: src/drawline.c, src/testdir/test_listlbr_utf8.vim 20982 20983 Patch 8.2.3411 20984 Problem: Vim9: crash when using base name of import. (Naohiro Ono) 20985 Solution: Check the import flags. (closes #8843) 20986 Files: src/evalvars.c, src/errors.h, src/testdir/test_vim9_script.vim 20987 20988 Patch 8.2.3412 (after 8.2.3411) 20989 Problem: Vim9: importing the wrong file. 20990 Solution: Correct the file name. Delete the file afterwards. 20991 Files: src/testdir/test_vim9_script.vim 20992 20993 Patch 8.2.3413 20994 Problem: Vim9: too many characters are allowed in import name. 20995 Solution: Disallow ':' and '#', check for white space. (closes #8845) 20996 Files: src/vim9script.c, src/errors.h, src/testdir/test_vim9_script.vim 20997 20998 Patch 8.2.3414 20999 Problem: fullcommand() gives the wrong name if there is a buffer-local user 21000 command. (Naohiro Ono) 21001 Solution: Use a separate function to get the user command name. 21002 (closes #8840) 21003 Files: src/usercmd.c, src/proto/usercmd.pro, src/ex_docmd.c, 21004 src/testdir/test_cmdline.vim 21005 21006 Patch 8.2.3415 21007 Problem: Vim9: Not all function argument types are properly checked. 21008 Solution: Add and improve argument type checks. (Yegappan Lakshmanan, 21009 closes #8839) 21010 Files: src/channel.c, src/digraph.c, src/evalfunc.c, src/terminal.c, 21011 src/testdir/test_digraph.vim, src/testdir/test_vim9_builtin.vim 21012 21013 Patch 8.2.3416 21014 Problem: Second error is reported while exception is being thrown. 21015 Solution: Do not check for trailing characters when already aborting. 21016 (closes #8842) 21017 Files: src/userfunc.c, src/testdir/test_trycatch.vim 21018 21019 Patch 8.2.3417 21020 Problem: Vim9: a failing debug expression aborts script sourcing. 21021 Solution: Do not let expression failure abort script sourcing. (closes #8848) 21022 Files: src/debugger.c, src/testdir/test_debugger.vim 21023 21024 Patch 8.2.3418 21025 Problem: Garbage collection while evaluating may cause trouble. 21026 Solution: Disable garbage collection while evaluating an expression. 21027 (Christian Brabandt, issue #8848) 21028 Files: src/eval.c 21029 21030 Patch 8.2.3419 21031 Problem: A failing debug expression may make Vim unusable. 21032 Solution: Suppress error messages. (closes #8848) 21033 Files: src/debugger.c, src/testdir/test_debugger.vim 21034 21035 Patch 8.2.3420 21036 Problem: _REENTRANT defined more than once. 21037 Solution: Fix configure script. (Christian Brabandt, closes #8852) 21038 Files: src/configure.ac, src/auto/configure 21039 21040 Patch 8.2.3421 21041 Problem: A bit of code is not covered by tests. 21042 Solution: Add a few more test cases. (Dominique Pellé, closes #8857) 21043 Files: src/testdir/test_functions.vim, src/testdir/test_history.vim, 21044 src/testdir/test_startup.vim 21045 21046 Patch 8.2.3422 21047 Problem: Vim9: no failure if return type differs from returned variable. 21048 Solution: Copy type when copying a list. (closes #8847) 21049 Files: src/list.c, src/testdir/test_vim9_func.vim 21050 21051 Patch 8.2.3423 21052 Problem: Vim9: list += list creates a new list in :def function. 21053 Solution: Append to the existing list. 21054 Files: src/structs.h, src/vim9compile.c, src/vim9execute.c, 21055 src/testdir/test_vim9_assign.vim 21056 21057 Patch 8.2.3424 21058 Problem: A sequence of spaces is hard to see in list mode. 21059 Solution: Add the "multispace" option to 'listchars'. (closes #8834) 21060 Files: runtime/doc/options.txt, src/drawline.c, src/message.c, 21061 src/screen.c, src/structs.h, src/testdir/test_listchars.vim 21062 21063 Patch 8.2.3425 21064 Problem: Warning for using uninitialized variable. 21065 Solution: Initialize it. (John Marriott) 21066 Files: src/screen.c 21067 21068 Patch 8.2.3426 21069 Problem: Crash when deleting a listener in a listener callback. (Naohiro 21070 Ono) 21071 Solution: Mark the listener and delete it later. (closes #8863) 21072 Files: src/change.c, src/testdir/test_listener.vim 21073 21074 Patch 8.2.3427 21075 Problem: Double free when list is copied. 21076 Solution: Allocate the type when making a copy. (closes #8862) 21077 Clear the type for flattennew(). Avoid a memory leak when 21078 flattennew() fails. 21079 Files: src/list.c, src/testdir/test_vim9_builtin.vim 21080 21081 Patch 8.2.3428 21082 Problem: Using freed memory when replacing. (Dhiraj Mishra) 21083 Solution: Get the line pointer after calling ins_copychar(). 21084 Files: src/normal.c, src/testdir/test_edit.vim 21085 21086 Patch 8.2.3429 21087 Problem: Leaking memory when assigning to list or dict. 21088 Solution: Free the list or dict type before overwriting it. 21089 Files: src/vim9type.c, src/evalvars.c 21090 21091 Patch 8.2.3430 21092 Problem: No generic way to trigger an autocommand on mode change. 21093 Solution: Add the ModeChanged autocommand event. (Magnus Gross, closes #8856) 21094 Files: runtime/doc/autocmd.txt, src/autocmd.c, src/edit.c, 21095 src/ex_docmd.c, src/ex_getln.c, src/globals.h, src/misc1.c, 21096 src/normal.c, src/proto/autocmd.pro, src/proto/misc1.pro, 21097 src/testdir/test_edit.vim, src/vim.h 21098 21099 Patch 8.2.3431 21100 Problem: Completion for :disas sorts local functions first. 21101 Solution: Sort local functions last, like with :delfunc. (Naohiro Ono, 21102 closes #8860) 21103 Files: src/cmdexpand.c, src/testdir/test_cmdline.vim 21104 21105 Patch 8.2.3432 21106 Problem: Octave/Matlab filetype detection does not work properly. 21107 Solution: Update the patterns used for matching. (Doug Kearns) 21108 Files: runtime/autoload/dist/ft.vim, src/testdir/test_filetype.vim 21109 21110 Patch 8.2.3433 21111 Problem: :delcommand does not take a -buffer option. 21112 Solution: Add the -buffer option. 21113 Files: runtime/doc/map.txt, src/usercmd.c, src/errors.h, 21114 src/testdir/test_usercommands.vim 21115 21116 Patch 8.2.3434 (after 8.2.3430) 21117 Problem: Function prototype for trigger_modechanged() is incomplete. 21118 Solution: Add "void". 21119 Files: src/proto/misc1.pro 21120 21121 Patch 8.2.3435 21122 Problem: Vim9: dict is not passed to dict function. 21123 Solution: Keep the dict used until a function call. 21124 Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h, 21125 src/testdir/test_vim9_func.vim, 21126 src/testdir/test_vim9_disassemble.vim 21127 21128 Patch 8.2.3436 21129 Problem: Check for optional bool type has confusing return type. 21130 Solution: Explicitly return OK. 21131 Files: src/typval.c 21132 21133 Patch 8.2.3437 21134 Problem: Compiler warnings for 32/64 bit usage. 21135 Solution: Add type casts. (Mike Williams, closes #8870) 21136 Files: src/screen.c, src/xdiff/xemit.c, src/xdiff/xutils.c 21137 21138 Patch 8.2.3438 21139 Problem: Cannot manipulate blobs. 21140 Solution: Add blob2list() and list2blob(). (Yegappan Lakshmanan, 21141 closes #8868) 21142 Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/blob.c, 21143 src/errors.h, src/evalfunc.c, src/proto/blob.pro, 21144 src/proto/typval.pro, src/testdir/test_blob.vim, 21145 src/testdir/test_vim9_builtin.vim, src/typval.c 21146 21147 Patch 8.2.3439 21148 Problem: Deleted lines go to wrong yank register. 21149 Solution: Reset y_append when not calling get_yank_register(). (Christian 21150 Brabandt, closes #8872) 21151 Files: src/ops.c, src/proto/register.pro, src/register.c, 21152 src/testdir/test_registers.vim 21153 21154 Patch 8.2.3440 21155 Problem: Recover test fails if there is an old swap file. 21156 Solution: Delete old swap files. 21157 Files: src/testdir/test_recover.vim 21158 21159 Patch 8.2.3441 21160 Problem: MS-Windows: vimtutor can't handle path with spaces. 21161 Solution: Add double quotes. (Christian Brabandt, closes #8871) 21162 Files: vimtutor.bat 21163 21164 Patch 8.2.3442 21165 Problem: Vim9: || and && are not handled at compile time when possible. 21166 Solution: When using constants generate fewer instructions. 21167 Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, 21168 src/testdir/test_vim9_disassemble.vim 21169 21170 Patch 8.2.3443 21171 Problem: Vim9: memory leak when and/or fails. 21172 Solution: Also clear the growarray when the length is zero. 21173 Files: src/vim9compile.c 21174 21175 Patch 8.2.3444 21176 Problem: concealed text not revealed when leaving insert mode. (Michael 21177 Soyka) 21178 Solution: Check if concealing changed when leaving insert mode. 21179 (closes #8880) 21180 Files: src/edit.c, src/testdir/test_conceal.vim, 21181 src/testdir/dumps/Test_conceal_two_windows_07in.dump 21182 21183 Patch 8.2.3445 21184 Problem: On Solaris longVersion may be declared twice. (Vladimir Marek) 21185 Solution: Always declare longVersion in version.c 21186 Files: src/globals.h, src/version.c 21187 21188 Patch 8.2.3446 21189 Problem: Not enough tests for empty string arguments. 21190 Solution: Add tests, fix type check. (Yegappan Lakshmanan, closes #8881) 21191 Files: runtime/doc/sign.txt, runtime/doc/textprop.txt, src/sign.c, 21192 src/testdir/test_blob.vim, src/testdir/test_vim9_builtin.vim 21193 21194 Patch 8.2.3447 21195 Problem: A couple of declarations are not ANSI C. 21196 Solution: Put argument type inside (). (Yegappan Lakshmanan, closes #8890) 21197 Files: src/os_unix.h 21198 21199 Patch 8.2.3448 21200 Problem: :endtry after function call that throws not found. 21201 Solution: Do check for following :endtry if an exception is being thrown. 21202 (closes #8889) 21203 Files: src/userfunc.c, src/testdir/test_trycatch.vim 21204 21205 Patch 8.2.3449 21206 Problem: Sort fails if the sort compare function returns 999. 21207 Solution: Adjust value to -1 / 0 / 1. (Yasuhiro Matsumoto, closes #8884) 21208 Files: src/list.c, src/testdir/test_sort.vim 21209 21210 Patch 8.2.3450 21211 Problem: Coveralls action fails. 21212 Solution: Disable it for now. 21213 Files: .github/workflows/ci.yml 21214 21215 Patch 8.2.3451 21216 Problem: Not all apache files are recognized. 21217 Solution: Adjust the filetype pattern. (Zdenek Dohnal, closes #8882) 21218 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 21219 21220 Patch 8.2.3452 21221 Problem: MPD files are not recognized. 21222 Solution: Recognize MPD files as XML. (Steven Penny, closes #8893) 21223 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 21224 21225 Patch 8.2.3453 21226 Problem: Autocmd not executed when editing a directory ending in a path 21227 separator inside try block. 21228 Solution: Return NOTDONE instead of FAIL. (closes #8885) 21229 Files: src/fileio.c, src/testdir/test_autocmd.vim 21230 21231 Patch 8.2.3454 21232 Problem: Using a count with "gp" leaves cursor in wrong position. (Naohiro 21233 Ono) 21234 Solution: Count the inserted lines. (closes #8899) 21235 Files: src/register.c, src/testdir/test_put.vim 21236 21237 Patch 8.2.3455 (after 8.2.3454) 21238 Problem: Using a count with "gp" leaves '] in wrong position. (Naohiro Ono) 21239 Solution: Correct the mark position. (closes #8899) 21240 Files: src/register.c, src/testdir/test_put.vim 21241 21242 Patch 8.2.3456 21243 Problem: Vim9: Not all functions are tested with an empty string argument. 21244 Solution: Add tests with empty strings. (Yegappan Lakshmanan, closes #8915) 21245 Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim 21246 21247 Patch 8.2.3457 21248 Problem: MS-Windows Vim9: test executed and fails. 21249 Solution: Add extra check for not being on MS-Windows. 21250 Files: src/testdir/test_vim9_script.vim 21251 21252 Patch 8.2.3458 21253 Problem: Not all dictdconf files are recognized. 21254 Solution: Adjust the pattern. (Doug Kearns) 21255 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 21256 21257 Patch 8.2.3459 21258 Problem: Vim9: need more tests for empty string arguments. 21259 Solution: Add more tests. Also use empty argument with menu_info() to get 21260 the top-level menu names. (Yegappan Lakshmanan, closes #8925) 21261 Files: runtime/doc/eval.txt, src/menu.c, src/testdir/test_menu.vim, 21262 src/testdir/test_vim9_builtin.vim 21263 21264 Patch 8.2.3460 21265 Problem: Some type casts are not needed. 21266 Solution: Remove unnecessary type casts. (closes #8934) 21267 Files: src/autocmd.c, src/buffer.c, src/debugger.c, src/getchar.c, 21268 src/hardcopy.c, src/if_cscope.c, src/move.c, src/tag.c, 21269 src/version.c 21270 21271 Patch 8.2.3461 21272 Problem: Cannot distinguish Normal and Terminal-Normal mode. 21273 Solution: Make mode() return "nt" for Terminal-Normal mode. (issue #8856) 21274 Files: runtime/doc/eval.txt, src/misc1.c, src/testdir/test_functions.vim 21275 21276 Patch 8.2.3462 21277 Problem: The ModeChanged event only uses one character for the new_mode and 21278 old_mode values. 21279 Solution: Pass one as first argument to mode(). (issue #8856) 21280 Files: src/misc1.c, src/testdir/test_edit.vim 21281 21282 Patch 8.2.3463 21283 Problem: Pattern matching with ModeChanged not tested. 21284 Solution: Add a few more test lines. (issue #8856) 21285 Files: src/testdir/test_edit.vim 21286 21287 Patch 8.2.3464 21288 Problem: nginx files are not recognized. 21289 Solution: Add several file patterns. (Chris Aumann, closes #8922) 21290 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 21291 21292 Patch 8.2.3465 21293 Problem: Cannot detect insert scroll mode. 21294 Solution: Add "scroll" to complete_info(). (closes #8943) 21295 Files: runtime/doc/eval.txt, src/insexpand.c, src/testdir/test_popup.vim 21296 21297 Patch 8.2.3466 21298 Problem: Completion submode not indicated for virtual replace. 21299 Solution: Add submode to "Rv". (closes #8945) 21300 Files: runtime/doc/eval.txt, src/misc1.c, src/testdir/test_functions.vim 21301 21302 Patch 8.2.3467 21303 Problem: CursorHoldI event interferes with "CTRL-G U". (Naohiro Ono) 21304 Solution: Restore the flag for "CTRL-G U" after triggering CursorHoldI. 21305 (closes #8937) 21306 Files: src/edit.c, src/testdir/test_autocmd.vim 21307 21308 Patch 8.2.3468 21309 Problem: Problem with :cd when editing file in non-existent directory. (Yee 21310 Cheng Chin) 21311 Solution: Prepend the current directory to get the full path. (closes #8903) 21312 Files: src/os_unix.c, src/testdir/test_cd.vim 21313 21314 Patch 8.2.3469 21315 Problem: Some files with json syntax are not recognized. 21316 Solution: Add a few file patterns. (Emiliano Ruiz Carletti, closes #8947) 21317 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 21318 21319 Patch 8.2.3470 21320 Problem: Crash with error in :catch and also in :finally. 21321 Solution: Only discard an exception if there is one. (closes #8954) 21322 Files: src/ex_eval.c, src/testdir/test_trycatch.vim 21323 21324 Patch 8.2.3471 21325 Problem: Crash when using CTRL-T after an empty search pattern. 21326 Solution: Bail out when there is no previous search pattern. (closes #8953) 21327 Files: src/ex_getln.c, src/testdir/test_search.vim 21328 21329 Patch 8.2.3472 21330 Problem: Other crashes with empty search pattern not tested. 21331 Solution: Add a few more test lines. (Dominique Pellé) 21332 Files: src/testdir/test_search.vim 21333 21334 Patch 8.2.3473 21335 Problem: Some files with tcl syntax are not recognized. 21336 Solution: Add a few file patterns. (Doug Kearns) 21337 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 21338 21339 Patch 8.2.3474 21340 Problem: Some places use "Vimscript" instead of "Vim script". 21341 Solution: Consistently use "Vim script". (Hirohito Higashi, closes #8910) 21342 Files: runtime/doc/if_lua.txt, src/getchar.c, src/if_lua.c 21343 21344 Patch 8.2.3475 21345 Problem: Expression register set by not executed put command. 21346 Solution: Do not set the register if the command is skipped. (closes #8909) 21347 Files: src/ex_docmd.c, src/testdir/test_excmd.vim 21348 21349 Patch 8.2.3476 21350 Problem: Renaming a buffer on startup may cause using freed memory. 21351 Solution: Check if the buffer is used in a window. (closes #8955) 21352 Files: src/buffer.c, src/testdir/test_startup.vim 21353 21354 Patch 8.2.3477 (after 8.2.3476) 21355 Problem: Startup test fails on MS-Windows. 21356 Solution: Skip the test if not on Unix. 21357 Files: src/testdir/test_startup.vim 21358 21359 Patch 8.2.3478 (after 8.2.3470) 21360 Problem: Still crash with error in :catch and also in :finally. 21361 Solution: Only call finish_exception() once. (closes #8954) 21362 Files: src/ex_eval.c, src/structs.h 21363 21364 Patch 8.2.3479 21365 Problem: Crash when calling job_start with an invalid argument. (Virginia 21366 Senioria) 21367 Solution: Clear the first item in argv. (closes #8957) 21368 Files: src/misc2.c, src/testdir/test_channel.vim 21369 21370 Patch 8.2.3480 (after 8.2.3478) 21371 Problem: Test does not fail without the fix for a crash. 21372 Solution: Write the bad code in a file and source it. (Dominique Pellé, 21373 closes #8961) 21374 Files: src/testdir/test_trycatch.vim 21375 21376 Patch 8.2.3481 21377 Problem: Failures when char is unsigned. 21378 Solution: Use int8_T. Make a CI run with unsigned char. (James McCoy, 21379 closes #8936) 21380 Files: src/structs.h, .github/workflows/ci.yml 21381 21382 Patch 8.2.3482 21383 Problem: Reading beyond end of line ending in quote and backslash. 21384 Solution: Check for non-NUL after backslash. (closes #8964) 21385 Files: src/cindent.c, src/testdir/test_cindent.vim 21386 21387 Patch 8.2.3483 21388 Problem: #ifdef for using sysinfo() is incomplete. 21389 Solution: Also check for HAVE_SYSINFO. Make autoconf check use TRY_LINK. 21390 (closes #8952) 21391 Files: src/memline.c, src/configure.ac, src/auto/configure 21392 21393 Patch 8.2.3484 21394 Problem: Crash when going through spell suggestions. 21395 Solution: Limit the text length for finding suggestions to the original 21396 length. Do not update buffers when exiting. (closes #8965) 21397 Files: src/spellsuggest.c, src/clipboard.c, 21398 src/testdir/test_spell_utf8.vim 21399 21400 Patch 8.2.3485 21401 Problem: Python 3 test fails with Python 3.10. 21402 Solution: Adjust expected error message. (zdohnal Dohnal, closes #8969) 21403 Files: src/testdir/test_python3.vim 21404 21405 Patch 8.2.3486 21406 Problem: Illegal memory access with invalid sequence of commands. 21407 Solution: Do not call leave_block() when not in a try block. (closes #8966) 21408 Reset did_emsg so that exception is shown as an error. 21409 Files: src/ex_eval.c, src/testdir/test_trycatch.vim 21410 21411 Patch 8.2.3487 21412 Problem: Illegal memory access if buffer name is very long. 21413 Solution: Make sure not to go over the end of the buffer. 21414 Files: src/drawscreen.c, src/testdir/test_statusline.vim 21415 21416 Patch 8.2.3488 21417 Problem: Issue template is not easy to use. 21418 Solution: Use a yaml template. (closes #8928) 21419 Files: .github/ISSUE_TEMPLATE/bug_report.md, 21420 .github/ISSUE_TEMPLATE/bug_report.yml 21421 21422 Patch 8.2.3489 21423 Problem: ml_get error after search with range. 21424 Solution: Limit the line number to the buffer line count. 21425 Files: src/ex_docmd.c, src/testdir/test_search.vim 21426 21427 Patch 8.2.3490 21428 Problem: Superfluous return statements. 21429 Solution: Remove superfluous return statements from void functions. 21430 (closes #8977) 21431 Files: src/buffer.c, src/getchar.c, src/memline.c, src/move.c, 21432 src/option.c 21433 21434 Patch 8.2.3491 21435 Problem: xpm2 filetype detection is not so good. 21436 Solution: Adjust the check for xpm2. (closes #8914) 21437 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 21438 21439 Patch 8.2.3492 21440 Problem: Crash when pasting too many times. 21441 Solution: Limit the size to what fits in an int. (closes #8962) 21442 Files: src/register.c, src/errors.h, src/testdir/test_put.vim 21443 21444 Patch 8.2.3493 (after 8.2.3492) 21445 Problem: Large count test fails on MS-Windows. 21446 Solution: Skip the test on MS-Windows. 21447 Files: src/testdir/test_put.vim 21448 21449 Patch 8.2.3494 21450 Problem: Illegal memory access in utf_head_off. 21451 Solution: Check cursor position when reselecting the Visual area. 21452 (closes #8963) 21453 Files: src/normal.c, src/testdir/test_visual.vim 21454 21455 Patch 8.2.3495 21456 Problem: GUI geometry startup test fails on some systems. (Drew Vogel) 21457 Solution: Add tolerance to the size check. (closes #8815) 21458 Files: src/testdir/test_startup.vim 21459 21460 Patch 8.2.3496 21461 Problem: Crypt test fails on MS-Windows if xxd was not installed yet. 21462 Solution: Use the just built xxd executable if it exists. (James McCoy, 21463 closes #8929) 21464 Files: src/testdir/test_crypt.vim 21465 21466 Patch 8.2.3497 21467 Problem: Put test fails when run by itself. 21468 Solution: Source check.vim. (Dominique Pellé, closes #8990) 21469 Files: src/testdir/test_put.vim 21470 21471 Patch 8.2.3498 21472 Problem: Recover test may fail on some systems. 21473 Solution: Adjust the little endian and 64 bit detection. (James McCoy, 21474 closes #8941) 21475 Files: src/testdir/test_recover.vim 21476 21477 Patch 8.2.3499 21478 Problem: GUI geometry startup test fails. 21479 Solution: Check string values instead of numbers 21480 Files: src/testdir/test_startup.vim 21481 21482 Patch 8.2.3500 21483 Problem: Github CI fails to install clang. 21484 Solution: Install llvm-11 explicitly. (Christian Brabandt, closes #8993) 21485 Files: .github/workflows/ci.yml 21486 21487 Patch 8.2.3501 21488 Problem: tmux filetype detection is incomplete 21489 Solution: Also use tmux for files having text after .conf. (Eric Pruitt, 21490 closes #8971) 21491 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 21492 21493 Patch 8.2.3502 (after 8.2.2919) 21494 Problem: Cannot enter password in shell command. 21495 Solution: Revert patch 8.2.2919. 21496 Files: src/os_unix.c 21497 21498 Patch 8.2.3503 21499 Problem: Vim9: using g:pat:cmd is confusing. 21500 Solution: Do not recognize g: as the :global command. Also for s:pat:repl. 21501 (closes #8982) 21502 Files: runtime/doc/vim9.txt, src/ex_docmd.c, src/ex_cmds.c, src/errors.h, 21503 src/vim9compile.c, src/proto/vim9compile.pro, 21504 src/testdir/test_vim9_cmd.vim 21505 21506 Patch 8.2.3504 (after 8.2.3503) 21507 Problem: Vim9: warning for signed vs unsigned. 21508 Solution: Add type cast. 21509 Files: src/vim9compile.c 21510 21511 Patch 8.2.3505 (after 8.2.3503) 21512 Problem: Vim9: build failure without the +eval feature. 21513 Solution: Add #ifdef. 21514 Files: src/ex_cmds.c 21515 21516 Patch 8.2.3506 (after 8.2.3503) 21517 Problem: Vim9: special cases for "g" and "s" insufficiently tested. 21518 Solution: Add a few more test cases. 21519 Files: src/testdir/test_vim9_cmd.vim 21520 21521 Patch 8.2.3507 21522 Problem: Generating proto files may fail. 21523 Solution: Define __attribute(). 21524 Files: src/Makefile 21525 21526 Patch 8.2.3508 (after 8.2.3503) 21527 Problem: Vim9: bad separators for "g" and "s" insufficiently tested. 21528 Solution: Add a few more test cases. 21529 Files: src/testdir/test_vim9_cmd.vim 21530 21531 Patch 8.2.3509 21532 Problem: Undo file is not synced. (Sami Farin) 21533 Solution: Sync the undo file if 'fsync' is set. (Christian Brabandt, 21534 closes #8879, closes #8920) 21535 Files: runtime/doc/options.txt, src/undo.c 21536 21537 Patch 8.2.3510 21538 Problem: Changes are only detected with one second accuracy. 21539 Solution: Use the nanosecond time if possible. (Leah Neukirchen, 21540 closes #8873, closes #8875) 21541 Files: runtime/doc/eval.txt, src/auto/configure, src/bufwrite.c, 21542 src/config.h.in, src/configure.ac, src/fileio.c, 21543 src/proto/fileio.pro, src/memline.c, src/netbeans.c, 21544 src/structs.h, src/evalfunc.c, src/testdir/test_stat.vim 21545 21546 Patch 8.2.3511 21547 Problem: Vim9: entry for loop variable is created every round. 21548 Solution: Only create the entry once. (closes #8996) 21549 Files: src/evalvars.c, src/vim9script.c 21550 21551 Patch 8.2.3512 21552 Problem: Timestamp test fails on some systems. 21553 Solution: Sleep for a short while. 21554 Files: src/testdir/test_stat.vim 21555 21556 Patch 8.2.3513 21557 Problem: Using freed memory when using a timer and searching. (Dominique 21558 Pellé) 21559 Solution: Allocated mr_pattern. 21560 Files: src/search.c 21561 21562 Patch 8.2.3514 21563 Problem: Autoread test with nanosecond time sometimes fails. 21564 Solution: Mark the test as being flaky. 21565 Files: src/testdir/test_stat.vim 21566 21567 Patch 8.2.3515 21568 Problem: Nano time test fails on Mac and FreeBSD. 21569 Solution: Also check nano time when not on Linux. (Ozaki Kiichi, 21570 closes #9000) 21571 Files: src/fileio.c 21572 21573 Patch 8.2.3516 21574 Problem: Terminal window does not have transparent background when 21575 'termguicolors' is used. 21576 Solution: Fix the background color. (closes #2361, closes #9002) 21577 Files: runtime/doc/terminal.txt, src/highlight.c, src/proto/terminal.pro, 21578 src/terminal.c 21579 21580 Patch 8.2.3517 21581 Problem: TextChanged does not trigger after TextChangedI. 21582 Solution: Store the tick separately for TextChangedI. (Christian Brabandt, 21583 closes #8968, closes #8932) 21584 Files: src/buffer.c, src/bufwrite.c, src/edit.c, src/structs.h, 21585 src/testdir/test_autocmd.vim 21586 21587 Patch 8.2.3518 21588 Problem: Test_xrestore sometimes fails. 21589 Solution: Mark the test as flaky. Move marking test as flaky to the test 21590 instead of listing them in runtest. 21591 Files: src/testdir/test_paste.vim, src/testdir/runtest.vim, 21592 src/testdir/test_autocmd.vim, src/testdir/test_channel.vim, 21593 src/testdir/test_clientserver.vim, src/testdir/test_diffmode.vim, 21594 src/testdir/test_functions.vim, src/testdir/test_gui.vim, 21595 src/testdir/test_mapping.vim, src/testdir/test_popup.vim, 21596 src/testdir/test_quotestar.vim, src/testdir/test_reltime.vim, 21597 src/testdir/test_terminal.vim, src/testdir/test_terminal2.vim, 21598 src/testdir/test_timers.vim 21599 21600 Patch 8.2.3519 21601 Problem: TOML files are not recognized. 21602 Solution: Add filetype patterns for TOML. (Aman Verma, closes #8984) 21603 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 21604 21605 Patch 8.2.3520 21606 Problem: Cannot define a function for thesaurus completion. 21607 Solution: Add 'thesaurusfunc'. (Yegappan Lakshmanan, closes #8987, 21608 closes 8950) 21609 Files: runtime/doc/insert.txt, runtime/doc/options.txt, 21610 runtime/doc/quickref.txt, src/buffer.c, src/insexpand.c, 21611 src/option.c, src/option.h, src/optiondefs.h, src/optionstr.c, 21612 src/structs.h, src/testdir/test_edit.vim 21613 21614 Patch 8.2.3521 (after 8.2.3520) 21615 Problem: Options completion test fails. 21616 Solution: Add 'thesaurusfunc' to the results. 21617 Files: src/testdir/test_options.vim 21618 21619 Patch 8.2.3522 21620 Problem: Cannot use \x and \u when setting 'listchars'. 21621 Solution: Support hex and unicode in hex form. (closes #9006) 21622 Files: runtime/doc/options.txt, src/screen.c, src/charset.c, 21623 src/testdir/test_listchars.vim 21624 21625 Patch 8.2.3523 21626 Problem: Duplicated code in xxd. 21627 Solution: Remove duplicated lines. (closes #8972) 21628 Files: src/xxd/xxd.c 21629 21630 Patch 8.2.3524 21631 Problem: GUI: ligatures are not used. 21632 Solution: Add the 'guiligatures' option. (Dusan Popovic, closes #8933) 21633 Files: runtime/doc/options.txt, src/gui.c, src/gui.h, src/gui_gtk_x11.c, 21634 src/option.h, src/optiondefs.h, src/optionstr.c, src/errors.h, 21635 src/proto/gui.pro, src/proto/gui_gtk_x11.pro, 21636 src/testdir/test_gui.vim 21637 21638 Patch 8.2.3525 21639 Problem: Option variable name does not match option name. (Christ van 21640 Willegen) 21641 Solution: Rename the variable. 21642 Files: src/buffer.c, src/insexpand.c, src/option.c, src/optionstr.c, 21643 src/structs.h 21644 21645 Patch 8.2.3526 21646 Problem: Tests have clumsy check for X11 based GUI. 21647 Solution: Add CheckX11BasedGui. 21648 Files: src/testdir/check.vim, src/testdir/test_gui.vim, 21649 src/testdir/test_gui_init.vim, src/testdir/setup_gui.vim 21650 21651 Patch 8.2.3527 21652 Problem: Gcc complains about uninitialized variable. (Tony Mechelynck) 21653 Solution: Initialize it. 21654 Files: src/gui_gtk_x11.c 21655 21656 Patch 8.2.3528 21657 Problem: 'thesaurus' and 'thesaurusfunc' do not have the same scope. 21658 Solution: Make 'thesaurusfunc' global-local. 21659 Files: runtime/doc/options.txt, runtime/doc/insert.txt, 21660 src/optiondefs.h, src/option.h, src/option.c, src/structs.h, 21661 src/insexpand.c, src/testdir/test_edit.vim 21662 21663 Patch 8.2.3529 21664 Problem: Xxd usage output is incomplete. 21665 Solution: Add "bytes" to "-g" flag. (Atsushi Sugawara, closes #8944) 21666 Files: src/xxd/xxd.c 21667 21668 Patch 8.2.3530 21669 Problem: ":buf \{a}" fails while ":edit \{a}" works. 21670 Solution: Unescape "\{". (closes #8917) 21671 Files: src/vim.h, src/cmdexpand.c, src/evalfunc.c, src/ex_getln.c, 21672 src/proto/ex_getln.pro, src/normal.c, src/session.c, 21673 src/terminal.c, src/vim9execute.c, src/testdir/test_cmdline.vim 21674 21675 Patch 8.2.3531 (after 8.2.3530) 21676 Problem: Command line completion test fails on MS-Windows. 21677 Solution: Do not test with "\{" on MS-Windows. 21678 Files: src/testdir/test_cmdline.vim 21679 21680 Patch 8.2.3532 21681 Problem: The previous '' mark is restored after moving the cursor to the 21682 original jump position. (Tony Chen) 21683 Solution: Forget the previous position after checking. (closes #8985) 21684 Files: src/mark.c, src/testdir/test_marks.vim 21685 21686 Patch 8.2.3533 21687 Problem: Inefficient code in xxd. 21688 Solution: Don't use "p" when "hextype" is non-zero. (closes #9013) 21689 Files: src/xxd/xxd.c 21690 21691 Patch 8.2.3534 21692 Problem: Autoread test is a bit flaky. 21693 Solution: Wait a brief moment before overwriting the file. 21694 Files: src/testdir/test_stat.vim 21695 21696 Patch 8.2.3535 21697 Problem: If-else indenting is confusing. 21698 Solution: Add curly brackets and indent. (Dominique Pellé, closes #9010) 21699 Files: src/drawscreen.c 21700 21701 Patch 8.2.3536 21702 Problem: The do_highlight() function is way too long. 21703 Solution: Split it into several functions. (Yegappan Lakshmanan, 21704 closes #9011) 21705 Files: src/highlight.c 21706 21707 Patch 8.2.3537 21708 Problem: mode() does not return the right value in 'operatorfunc'. 21709 Solution: Reset finish_op while calling 'operatorfunc'. 21710 Files: src/ops.c, src/testdir/test_functions.vim 21711 21712 Patch 8.2.3538 21713 Problem: Else-if indenting is confusing. 21714 Solution: Add curly brackets. (Yegappan Lakshmanan, closes #9017) 21715 Files: src/highlight.c 21716 21717 Patch 8.2.3539 21718 Problem: GTK3: with 'rightleft' set scrollbar may move unintentionally. 21719 Solution: Ignore events while moving the scrollbar thumb. (closes #8958) 21720 Files: src/gui_gtk.c 21721 21722 Patch 8.2.3540 21723 Problem: The mark '] is wrong after put with a count. (Naohiro Ono) 21724 Solution: Use the right line number. (closes #8956) 21725 Files: src/register.c, src/testdir/test_put.vim 21726 21727 Patch 8.2.3541 21728 Problem: Compiler warning for unused variable in tiny version. 21729 Solution: Add #ifdef. (John Marriott) 21730 Files: src/highlight.c 21731 21732 Patch 8.2.3542 21733 Problem: Too many comments are old style. 21734 Solution: Change comments to // style. (closes #9021) 21735 Files: src/buffer.c 21736 21737 Patch 8.2.3543 21738 Problem: Swapname has double slash when 'directory' ends in double slash. 21739 (Shane Smith) 21740 Solution: Remove the superfluous slash. (closes #8876) 21741 Files: src/memline.c, src/testdir/test_swap.vim 21742 21743 Patch 8.2.3544 21744 Problem: Unix: may leak file descriptor when using a non-existing 21745 directory. 21746 Solution: Always close the file. (closes #9023) 21747 Files: src/os_unix.c 21748 21749 Patch 8.2.3545 21750 Problem: setcellwidths() may make 'listchars' or 'fillchars' invalid. 21751 Solution: Check the value and give an error. (closes #9024) 21752 Files: runtime/doc/eval.txt, src/optionstr.c, src/errors.h, src/mbyte.c, 21753 src/testdir/test_utf8.vim 21754 21755 Patch 8.2.3546 (after 8.2.3545) 21756 Problem: Build failure without the +eval feature. 21757 Solution: Add #ifdef. (closes #9025) 21758 Files: src/errors.h 21759 21760 Patch 8.2.3547 21761 Problem: Opening the quickfix window triggers BufWinEnter twice. (Yorick 21762 Peterse) 21763 Solution: Only trigger BufWinEnter with "quickfix". (closes #9022) 21764 Files: src/ex_cmds.c, src/vim.h, src/quickfix.c, src/buffer.c, 21765 src/testdir/test_quickfix.vim 21766 21767 Patch 8.2.3548 21768 Problem: GTK GUI crashes when reading from stdin. 21769 Solution: Do not overwrite the NUL after the string. (closes #9028) 21770 Files: src/gui_gtk_x11.c, src/testdir/test_gui.vim 21771 21772 Patch 8.2.3549 21773 Problem: Mistakes in test comments. 21774 Solution: Fix the comments. (closes #9029) 21775 Files: src/testdir/test_autocmd.vim 21776 21777 Patch 8.2.3550 21778 Problem: completion() does not work properly. 21779 Solution: Set xp_line and add WILD_HOME_REPLACE. (Shougo Matsushita, 21780 closes #9016) 21781 Files: src/cmdexpand.c, src/testdir/test_cmdline.vim 21782 21783 Patch 8.2.3551 21784 Problem: Checking first character of url twice. 21785 Solution: Only check once. (closes #9026) 21786 Files: src/misc1.c 21787 21788 Patch 8.2.3552 21789 Problem: Xxd revert does not handle end of line correctly. 21790 Solution: Check for newline first. (closes #9034) 21791 Files: src/xxd/xxd.c, src/testdir/test_xxd.vim 21792 21793 Patch 8.2.3553 (after 8.2.3552) 21794 Problem: Xxd test fails on MS-Windows. 21795 Solution: Split shell command in two. 21796 Files: src/testdir/test_xxd.vim 21797 21798 Patch 8.2.3554 21799 Problem: Xxd has various way to exit. 21800 Solution: Add function to print error and exit. (closes #9035) 21801 Files: src/xxd/xxd.c 21802 21803 Patch 8.2.3555 21804 Problem: ModeChanged is not triggered on every mode change. 21805 Solution: Also trigger on minor mode changes. (Maguns Gross, closes #8999) 21806 Files: runtime/doc/autocmd.txt, src/autocmd.c, src/insexpand.c, 21807 src/misc1.c, src/normal.c, src/terminal.c, 21808 src/testdir/test_edit.vim 21809 21810 Patch 8.2.3556 21811 Problem: Filler lines are incorrect for other window in diff mode after 21812 making a change. 21813 Solution: Copy filler lines from the current window. (closes #8809) 21814 Files: src/diff.c, src/testdir/test_diffmode.vim, 21815 src/testdir/dumps/Test_diff_scroll_change_03.dump 21816 21817 Patch 8.2.3557 21818 Problem: Vim9: cannot call imported funcref at script level. 21819 Solution: Check for an imported function. (closes #9007) 21820 Files: src/userfunc.c, src/testdir/test_vim9_script.vim 21821 21822 Patch 8.2.3558 (after 8.2.3557) 21823 Problem: Vim9: asserting the wrong variable. 21824 Solution: Don't use Foo, use Goo. 21825 Files: src/testdir/test_vim9_script.vim 21826 21827 Patch 8.2.3559 21828 Problem: Loop variable recreated every time. 21829 Solution: Keep the loop variable when looping. 21830 Files: src/ex_eval.c 21831 21832 Patch 8.2.3560 21833 Problem: Using freed memory with lambda. 21834 Solution: Do not free lines early, keep them until the expression is 21835 finished. (closes #9020) 21836 Files: src/eval.c, src/proto/eval.pro, src/userfunc.c, src/vim9compile.c, 21837 src/structs.h, src/globals.h, src/testdir/test_vim9_func.vim 21838 21839 Patch 8.2.3561 21840 Problem: Cscope has a complicated way of giving an error message. 21841 Solution: Use semsg(). (James McCoy, closes #9038) 21842 Files: src/if_cscope.c 21843 21844 Patch 8.2.3562 21845 Problem: Cannot add color names. 21846 Solution: Add the v:colornames dictionary. (Drew Vogel, closes #8761) 21847 Files: Filelist, READMEdir/README_extra.txt, nsis/gvim.nsi, 21848 runtime/colors/README.txt, runtime/colors/lists/csscolors.vim, 21849 runtime/colors/lists/default.vim, runtime/doc/eval.txt, 21850 runtime/doc/gui_w32.txt, runtime/doc/message.txt, 21851 runtime/doc/os_haiku.txt, runtime/doc/syntax.txt, 21852 runtime/doc/usr_06.txt, src/Makefile, src/evalvars.c, 21853 src/gui_haiku.cc, src/highlight.c, src/gui.c, src/job.c, 21854 src/proto/highlight.pro, src/proto/term.pro, src/term.c, 21855 src/vim.h, src/globals.h, src/errors.h, 21856 src/testdir/test_highlight.vim 21857 21858 Patch 8.2.3563 (after 8.2.3562) 21859 Problem: Build failure with +eval but without GUI or +termguicolors 21860 Solution: Adjust #ifdef. (John Marriott) 21861 Files: src/highlight.c 21862 21863 Patch 8.2.3564 21864 Problem: Invalid memory access when scrolling without a valid screen. 21865 Solution: Do not set VALID_BOTLINE in w_valid. 21866 Files: src/move.c, src/testdir/test_normal.vim 21867 21868 Patch 8.2.3565 21869 Problem: Makefile dependencies are outdated. (Gary Johnson) 21870 Solution: Run "make depend" and add missing dependencies. 21871 Files: src/Makefile 21872 21873 Patch 8.2.3566 21874 Problem: Build failure on old systems when using nano timestamp. 21875 Solution: Define _BSD_SOURCE, _SVID_SOURCE and _DEFAULT_SOURCE. (Gary 21876 Johnson, closes #9054) 21877 Files: src/vim.h 21878 21879 Patch 8.2.3567 21880 Problem: CTRL-I in Insert mode is not tested 21881 Solution: Add a test case. (Dominique Pellé, closes #8866) 21882 Files: src/testdir/test_edit.vim 21883 21884 Patch 8.2.3568 21885 Problem: Ctrl-hat test fails with Athena and Motif. (Elimar Riesebieter) 21886 Solution: Run the test only with GTK. (Dominique Pellé, closes #9069) 21887 Files: src/testdir/test_edit.vim 21888 21889 Patch 8.2.3569 21890 Problem: Error for :let when vimrc is Vim 9 script. 21891 Solution: Prepend :legacy in the code for converting arguments. (Christian 21892 Brabandt, closes #9068, closes #9077) 21893 Files: src/os_win32.c 21894 21895 Patch 8.2.3570 21896 Problem: Test_very_large_count fails on 32bit systems. 21897 Solution: Bail out when using 32 bit numbers. (closes #9072) 21898 Files: src/testdir/test_put.vim 21899 21900 Patch 8.2.3571 21901 Problem: Some unicode control characters are considered printable. 21902 Solution: Make 0x2060 - 0x2069 not printable. 21903 Files: src/mbyte.c 21904 21905 Patch 8.2.3572 21906 Problem: Memory leak when closing window and using "multispace" in 21907 'listchars'. 21908 Solution: Free the memory. (closes #9071) 21909 Files: src/window.c, src/testdir/test_listchars.vim 21910 21911 Patch 8.2.3573 21912 Problem: Cannot decide whether to skip test that fails with 64 bit ints. 21913 (closes #9072) 21914 Solution: Add v:sizeofint, v:sizeoflong and v:sizeofpointer. Improve the 21915 check for multiply overflow. 21916 Files: runtime/doc/eval.txt, src/vim.h, src/evalvars.c, src/register.c, 21917 src/testdir/test_put.vim 21918 21919 Patch 8.2.3574 (after 8.2.3573) 21920 Problem: Divide by zero. 21921 Solution: Don't check for overflow if multiplicand is zero. 21922 Files: src/register.c 21923 21924 Patch 8.2.3575 (after 8.2.3574) 21925 Problem: Overflow check still fails when sizeof(int) == sizeof(long). 21926 Solution: Use a float to check the result. 21927 Files: src/register.c 21928 21929 Patch 8.2.3576 21930 Problem: Some functions are not documented for use with a method. 21931 Solution: Add examples. Fix that sign_unplacelist() only takes one 21932 argument. (Sean Dewar, closes #9081) 21933 Files: src/evalfunc.c, runtime/doc/eval.txt 21934 21935 Patch 8.2.3577 (after 8.2.3574) 21936 Problem: Overflow check fails with 32 bit ints. 21937 Solution: Only test with 64 bit ints. 21938 Files: src/testdir/test_put.vim 21939 21940 Patch 8.2.3578 21941 Problem: Manipulating highlighting is complicated. 21942 Solution: Add the hlget() and hlset() functions. (Yegappan Lakshmanan, 21943 closes #9039) 21944 Files: runtime/doc/eval.txt, runtime/doc/syntax.txt, 21945 runtime/doc/usr_41.txt, runtime/doc/windows.txt, src/evalfunc.c, 21946 src/highlight.c, src/proto/highlight.pro, 21947 src/testdir/test_highlight.vim, src/testdir/test_vim9_builtin.vim 21948 21949 Patch 8.2.3579 21950 Problem: CI sometimes fails for MinGW. 21951 Solution: Use backslashes in HandleSwapExists(). (Christian Brabandt, 21952 closes #9078) 21953 Files: src/testdir/runtest.vim 21954 21955 Patch 8.2.3580 21956 Problem: gj does not move properly with a wide character. 21957 Solution: Move one to the right. (Christian Brabandt, closes #8702) 21958 Files: src/normal.c, src/testdir/test_normal.vim 21959 21960 Patch 8.2.3581 21961 Problem: Reading character past end of line. 21962 Solution: Correct the cursor column. 21963 Files: src/ex_docmd.c, src/testdir/test_put.vim 21964 21965 Patch 8.2.3582 21966 Problem: Reading uninitialized memory when giving spell suggestions. 21967 Solution: Check that preword is not empty. 21968 Files: src/spellsuggest.c, src/testdir/test_spell.vim 21969 21970 Patch 8.2.3583 21971 Problem: The "gd" and "gD" commands do not update search stats. (Gary 21972 Johnson) 21973 Solution: Clear search stats. 21974 Files: src/normal.c, src/testdir/test_search_stat.vim, 21975 src/testdir/dumps/Test_searchstatgd_1.dump, 21976 src/testdir/dumps/Test_searchstatgd_2.dump 21977 21978 Patch 8.2.3584 21979 Problem: "verbose set efm" reports the location of the :compiler command. 21980 (Gary Johnson) 21981 Solution: Add the "-keepscript" argument to :command and use it when 21982 defining CompilerSet. 21983 Files: runtime/doc/map.txt, src/ex_cmds2.c, src/usercmd.c, src/ex_cmds.h, 21984 src/testdir/test_compiler.vim 21985 21986 Patch 8.2.3585 21987 Problem: Crash when passing float to "term_rows" in the options argument of 21988 term_start(). (Virginia Senioria) 21989 Solution: Bail out if the argument is not a number. (closes #9116) 21990 Files: src/job.c, src/terminal.c, src/testdir/test_terminal.vim 21991 21992 Patch 8.2.3586 (after 8.2.3584) 21993 Problem: Command completion test fails. 21994 Solution: Add new argument to expected output 21995 Files: src/testdir/test_usercommands.vim 21996 21997 Patch 8.2.3587 (after 8.2.3584) 21998 Problem: Compiler test fails with backslash file separator. 21999 Solution: Accept slash and backslash. 22000 Files: src/testdir/test_compiler.vim 22001 22002 Patch 8.2.3588 22003 Problem: Break statement is never reached. 22004 Solution: Rely on return value of set_chars_option() not changing. 22005 (closes #9103) 22006 Files: src/optionstr.c 22007 22008 Patch 8.2.3589 22009 Problem: Failure when the "term_rows" argument of term_start() is an 22010 unusual value. 22011 Solution: Limit to range of zero to 1000. (closes #9116) 22012 Files: runtime/doc/terminal.txt, src/job.c, src/testdir/test_terminal.vim 22013 22014 Patch 8.2.3590 22015 Problem: Test for v:colornames sometimes fails. (Dominique Pellé) 22016 Solution: Check features. Clear v:colornames between tests. (Drew Vogel, 22017 closes #9105, closes #9073) 22018 Files: runtime/doc/eval.txt, src/highlight.c, src/proto/highlight.pro, 22019 src/testdir/test_highlight.vim 22020 22021 Patch 8.2.3591 22022 Problem: No event is triggered when closing a window. 22023 Solution: Add the WinClosed event. (Naohiro Ono, closes #9110) 22024 Files: runtime/doc/autocmd.txt, src/autocmd.c, 22025 src/testdir/test_autocmd.vim, src/vim.h, src/window.c 22026 22027 Patch 8.2.3592 22028 Problem: Test_hlset fails when terminal has many columns. 22029 Solution: Set the number of columns to 80. (Dominique Pellé, closes #9101, 22030 closes #9100) 22031 Files: src/testdir/test_highlight.vim 22032 22033 Patch 8.2.3593 22034 Problem: Directory is wrong after executing "lcd" with win_execute(). 22035 Solution: Correct the directory when going back to the original window. 22036 (closes #9132) 22037 Files: src/evalwindow.c, src/window.c, src/proto/window.pro, 22038 src/testdir/test_execute_func.vim 22039 22040 Patch 8.2.3594 22041 Problem: Xxd code is a bit difficult to understand. 22042 Solution: Move some lines to a separate function. (closes #9037) 22043 Files: src/xxd/xxd.c 22044 22045 Patch 8.2.3595 22046 Problem: Check for signed overflow might not work everywhere. 22047 Solution: Limit to 32 bit int. (closes #9043, closes #9067) 22048 Files: src/getchar.c 22049 22050 Patch 8.2.3596 22051 Problem: Crash when using :pedit in Vim9 script. 22052 Solution: Move check for arguments to after checking there are arguments. 22053 (Yegappan Lakshmanan, closes #9134, closes #9135) 22054 Files: src/popupwin.c, src/testdir/test_vim9_cmd.vim 22055 22056 Patch 8.2.3597 22057 Problem: Vim seems to hang when writing a very long text to a terminal 22058 window. 22059 Solution: Limit the amount of text based on 'termwinscroll'. (issue #9080) 22060 Files: runtime/doc/options.txt, src/terminal.c 22061 22062 Patch 8.2.3598 22063 Problem: RouterOS filetype is not recognized. 22064 Solution: Add file and script patterns. (closes #9097) 22065 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 22066 22067 Patch 8.2.3599 22068 Problem: Not all gdbinit files are recognized. 22069 Solution: Add "gdbinit". (Doug Kearns) 22070 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 22071 22072 Patch 8.2.3600 (after 8.2.3598) 22073 Problem: Filetype test fails. 22074 Solution: Add missing change. 22075 Files: runtime/scripts.vim 22076 22077 Patch 8.2.3601 22078 Problem: Check for overflow in put count does not work well. 22079 Solution: Improve the overflow check. (Ozaki Kiichi, closes #9102) 22080 Files: src/register.c, src/testdir/test_put.vim 22081 22082 Patch 8.2.3602 22083 Problem: Python3 test fails with Python 3.10 on MS-Windows. 22084 Solution: Adjust the expected error. (Ken Takata, closes #9118) 22085 Files: src/testdir/test_python3.vim 22086 22087 Patch 8.2.3603 22088 Problem: Fish filetype not recognized. 22089 Solution: Add a file pattern and match script line. (Doug Kearns) 22090 Files: runtime/filetype.vim, runtime/scripts.vim, 22091 src/testdir/test_filetype.vim 22092 22093 Patch 8.2.3604 22094 Problem: Not all sudoers files are recognized. 22095 Solution: Add a file pattern. (Doug Kearns, closes #1192) 22096 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 22097 22098 Patch 8.2.3605 22099 Problem: Cannot clear and unlink a highlight group with hlset() in a 22100 single call. 22101 Solution: Add the "force" option. (Yegappan Lakshmanan, closes #9117) 22102 Files: runtime/doc/eval.txt, src/highlight.c, 22103 src/testdir/test_highlight.vim, src/testdir/test_vim9_builtin.vim, 22104 src/testdir/test_vim9_cmd.vim 22105 22106 Patch 8.2.3606 22107 Problem: File missing from list of distributed files. 22108 Solution: Add the file. 22109 Files: Filelist 22110 22111 Patch 8.2.3607 22112 Problem: GTK3 screen updating is slow. 22113 Solution: Remove some of the GTK3-specific code. (closes #9052) 22114 Files: src/gui.h, src/gui_gtk_x11.c 22115 22116 Patch 8.2.3608 22117 Problem: Users who type "q:" instead of ":q" are confused. 22118 Solution: Add an autocmd to give a message that explains this is the 22119 command-line window. (Egor Zvorykin, closes #9146) 22120 Files: runtime/defaults.vim, src/testdir/test_autocmd.vim, 22121 src/testdir/test_cmdline.vim 22122 22123 Patch 8.2.3609 22124 Problem: Internal error when ModeChanged is triggered when v:event is 22125 already in use. 22126 Solution: Save and restore v:event if needed. 22127 Files: src/misc1.c, src/proto/misc1.pro, src/testdir/test_edit.vim, 22128 src/insexpand.c, src/structs.h, src/register.c 22129 22130 Patch 8.2.3610 22131 Problem: Crash when ModeChanged triggered too early. 22132 Solution: Trigger ModeChanged after setting VIsual. 22133 Files: src/normal.c, src/testdir/test_edit.vim 22134 22135 Patch 8.2.3611 22136 Problem: Crash when using CTRL-W f without finding a file name. 22137 Solution: Bail out when the file name length is zero. 22138 Files: src/findfile.c, src/normal.c, src/testdir/test_visual.vim 22139 22140 Patch 8.2.3612 22141 Problem: Using freed memory with regexp using a mark. 22142 Solution: Get the line again after getting the mark position. 22143 Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test_regexp_latin.vim 22144 22145 Patch 8.2.3613 22146 Problem: :find test fails. 22147 Solution: Put length check inside if block. 22148 Files: src/findfile.c 22149 22150 Patch 8.2.3614 22151 Problem: zindex of popup windows not used when redrawing popup menu. 22152 Solution: Check the zindex when redrawing the popup menu. (closes #9129, 22153 closes #9089) 22154 Files: src/popupmenu.c, src/popupwin.c, src/proto/popupmenu.pro, 22155 src/screen.c, src/testdir/test_popupwin.vim, 22156 src/testdir/dumps/Test_popupwin_popupmenu_masking_1.dump, 22157 src/testdir/dumps/Test_popupwin_popupmenu_masking_2.dump 22158 22159 Patch 8.2.3615 22160 Problem: When re-formatting with an indent expression the first line of a 22161 paragraph may get the wrong indent. (Martin F. Krafft) 22162 Solution: Apply the correct indenting function for the first line. 22163 (Christian Brabandt, closes #9150, closes #9056) 22164 Files: src/textformat.c, src/testdir/test_indent.vim 22165 22166 Patch 8.2.3616 22167 Problem: Arglist test does not clear the argument list consistently. 22168 Solution: Call Reset_arglist(). (Shougo Matsushita, closes #9154) 22169 Files: src/testdir/test_arglist.vim 22170 22171 Patch 8.2.3617 22172 Problem: ":verbose pwd" does not mention 'autochdir' was applied. 22173 Solution: Remember the last chdir was done by 'autochdir'. (issue #9142) 22174 Files: src/globals.h, src/buffer.c, src/ex_docmd.c, src/window.c, 22175 src/main.c, src/netbeans.c, src/os_win32.c, 22176 src/testdir/test_autochdir.vim 22177 22178 Patch 8.2.3618 22179 Problem: getcwd() is unclear about how 'autochdir' is used. 22180 Solution: Update the help for getcwd(). Without any arguments always return 22181 the actual current directory. (closes #9142) 22182 Files: runtime/doc/eval.txt, src/filepath.c, src/testdir/test_cd.vim 22183 22184 Patch 8.2.3619 22185 Problem: Cannot use a lambda for 'operatorfunc'. 22186 Solution: Support using a lambda or partial. (Yegappan Lakshmanan, 22187 closes #8775) 22188 Files: runtime/doc/map.txt, runtime/doc/options.txt, src/ops.c, 22189 src/option.c, src/optionstr.c, src/proto/ops.pro, 22190 src/proto/option.pro, src/quickfix.c, src/testdir/test_normal.vim 22191 22192 Patch 8.2.3620 22193 Problem: Memory leak reported in libtlib. 22194 Solution: Call del_curterm() when cleaning up memory. Rename term.h to 22195 termdefs.h to avoid a name clash. 22196 Files: src/term.c, src/proto/term.pro, src/alloc.c, src/configure.ac, 22197 src/auto/configure, src/config.h.in, src/Makefile, 22198 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Make_vms.mms, 22199 src/term.h, src/termdefs.h 22200 22201 Patch 8.2.3621 (after 8.2.3620) 22202 Problem: Build failure. 22203 Solution: Add missing change. 22204 Files: src/vim.h 22205 22206 Patch 8.2.3622 22207 Problem: "verbose pwd" shows confusing info when :lcd does not change 22208 directory. 22209 Solution: Clear last_chdir_reason also when the directory does not change. 22210 (closes #9160) 22211 Files: src/ex_docmd.c, src/testdir/test_autochdir.vim 22212 22213 Patch 8.2.3623 22214 Problem: "$*" is expanded to "nonomatch". 22215 Solution: Only add "set nonomatch" when using a csh-like shell. (Christian 22216 Brabandt, closes #9159, closes #9153) 22217 Files: src/os_unix.c, src/testdir/test_expand.vim 22218 22219 Patch 8.2.3624 22220 Problem: When renaming a terminal buffer the status text is not updated. 22221 Solution: Clear the cached status text when renaming a terminal buffer. 22222 (closes #9162) 22223 Files: src/buffer.c, src/terminal.c, src/proto/terminal.pro, 22224 src/testdir/test_terminal.vim 22225 22226 Patch 8.2.3625 22227 Problem: Illegal memory access when C-indenting. 22228 Solution: Also set the cursor column. 22229 Files: src/cindent.c, src/testdir/test_cindent.vim 22230 22231 Patch 8.2.3626 22232 Problem: "au!" and "au! event" cannot be followed by another command as 22233 documented. 22234 Solution: When a bar is found set nextcmd. 22235 Files: src/autocmd.c, src/testdir/test_autocmd.vim 22236 22237 Patch 8.2.3627 22238 Problem: difficult to know where the text starts in a window. (Sergey 22239 Vlasov) 22240 Solution: Add the "textoff" entry in the result of getwininfo(). 22241 (closes #9163) 22242 Files: runtime/doc/eval.txt, src/evalwindow.c, 22243 src/testdir/test_bufwintabinfo.vim 22244 22245 Patch 8.2.3628 22246 Problem: Looking up terminal colors is a bit slow. 22247 Solution: Cache the terminal colors. (closes #9130, closes #9058) 22248 Files: src/highlight.c, src/libvterm/include/vterm.h, src/option.c, 22249 src/optionstr.c, src/popupwin.c, src/proto/terminal.pro, 22250 src/structs.h, src/terminal.c, src/window.c, 22251 src/testdir/test_terminal3.vim, 22252 src/testdir/dumps/Test_terminal_color_MyTermCol.dump, 22253 src/testdir/dumps/Test_terminal_color_MyTermCol_over_Terminal.dump, 22254 src/testdir/dumps/Test_terminal_color_MyWinCol.dump, 22255 src/testdir/dumps/Test_terminal_color_MyWinCol_over_group.dump, 22256 src/testdir/dumps/Test_terminal_color_Terminal.dump, 22257 src/testdir/dumps/Test_terminal_color_gui_MyTermCol.dump, 22258 src/testdir/dumps/Test_terminal_color_gui_MyWinCol.dump, 22259 src/testdir/dumps/Test_terminal_color_gui_Terminal.dump, 22260 src/testdir/dumps/Test_terminal_color_gui_transp_MyTermCol.dump, 22261 src/testdir/dumps/Test_terminal_color_gui_transp_MyWinCol.dump, 22262 src/testdir/dumps/Test_terminal_color_gui_transp_Terminal.dump, 22263 src/testdir/dumps/Test_terminal_color_transp_MyTermCol.dump, 22264 src/testdir/dumps/Test_terminal_color_transp_MyWinCol.dump, 22265 src/testdir/dumps/Test_terminal_color_transp_Terminal.dump, 22266 src/testdir/dumps/Test_terminal_popup_MyPopupHlCol.dump, 22267 src/testdir/dumps/Test_terminal_popup_MyTermCol_over_Terminal.dump, 22268 src/testdir/dumps/Test_terminal_popup_MyWinCol.dump, 22269 src/testdir/dumps/Test_terminal_popup_MyWinCol_over_group.dump, 22270 src/testdir/dumps/Test_terminal_popup_gui_MyPopupHlCol.dump, 22271 src/testdir/dumps/Test_terminal_popup_gui_MyTermCol.dump, 22272 src/testdir/dumps/Test_terminal_popup_gui_MyWinCol.dump, 22273 src/testdir/dumps/Test_terminal_popup_gui_Terminal.dump, 22274 src/testdir/dumps/Test_terminal_popup_gui_transp_MyPopupHlCol.dump, 22275 src/testdir/dumps/Test_terminal_popup_gui_transp_MyTermCol.dump, 22276 src/testdir/dumps/Test_terminal_popup_gui_transp_MyWinCol.dump, 22277 src/testdir/dumps/Test_terminal_popup_gui_transp_Terminal.dump, 22278 src/testdir/dumps/Test_terminal_popup_transp_MyPopupHlCol.dump, 22279 src/testdir/dumps/Test_terminal_popup_transp_MyTermCol.dump, 22280 src/testdir/dumps/Test_terminal_popup_transp_MyWinCol.dump, 22281 src/testdir/dumps/Test_terminal_popup_transp_Terminal.dump, 22282 src/testdir/dumps/Test_terminal_wincolor_split_MyWinCol.dump, 22283 src/testdir/dumps/Test_terminal_wincolor_split_MyWinCol2.dump 22284 22285 Patch 8.2.3629 22286 Problem: Command completion in cmdline window uses global user commands, 22287 not local commands for the window where it was opened from. 22288 Solution: Use local commands. (closes #9168) 22289 Files: src/ex_getln.c, src/proto/ex_getln.pro, src/evalvars.c, 22290 src/usercmd.c, src/testdir/test_ins_complete.vim 22291 22292 Patch 8.2.3630 22293 Problem: Printf() with %S does not handle multi-byte correctly. 22294 Solution: Count cells instead of bytes. (closes #9169, closes #7486) 22295 Files: src/strings.c, src/testdir/test_expr.vim 22296 22297 Patch 8.2.3631 22298 Problem: "syntax enable" does not work properly in Vim9 context. 22299 Solution: Also handle Vim9 context. (closes #9161) 22300 Files: src/syntax.c, src/testdir/test_vim9_cmd.vim 22301 22302 Patch 8.2.3632 22303 Problem: GTK3: undercurl does not get removed properly. 22304 Solution: Set the cairo cursor first. (closes #9170) 22305 Files: src/gui_gtk_x11.c 22306 22307 Patch 8.2.3633 22308 Problem: Vim9: line number of lambda is off by one. 22309 Solution: Add one to the line number. (closes #9083) 22310 Files: src/userfunc.c, src/testdir/test_vim9_func.vim 22311 22312 Patch 8.2.3634 22313 Problem: Error for already defined function uses wrong line number. 22314 Solution: Set SOURCING_LNUM before giving the error message. (closes #9085) 22315 Files: src/userfunc.c, src/testdir/test_vim9_func.vim 22316 22317 Patch 8.2.3635 22318 Problem: GTK: composing underline does not show. 22319 Solution: Include composing character in pango call. A few more 22320 optimizations for ligatures. (Dusan Popovic, closes #9171, 22321 closes #9147) 22322 Files: src/gui_gtk_x11.c 22323 22324 Patch 8.2.3636 22325 Problem: Coverity warns for unreachable code. 22326 Solution: Remove unreachable else block. 22327 Files: src/gui_gtk_x11.c 22328 22329 Patch 8.2.3637 22330 Problem: Typos in test files. 22331 Solution: Correct the typos. (Dominique Pellé, closes #9175) 22332 Files: src/testdir/runtest.vim, src/testdir/test_debugger.vim, 22333 src/testdir/test_diffmode.vim, src/testdir/test_edit.vim, 22334 src/testdir/test_excmd.vim, src/testdir/test_flatten.vim, 22335 src/testdir/test_ins_complete.vim, src/testdir/test_normal.vim, 22336 src/testdir/test_options.vim, src/testdir/test_python2.vim, 22337 src/testdir/test_python3.vim, src/testdir/test_quickfix.vim, 22338 src/testdir/test_recover.vim, src/testdir/test_spellfile.vim, 22339 src/testdir/test_syntax.vim, src/testdir/test_termcodes.vim, 22340 src/testdir/test_textobjects.vim, src/testdir/test_trycatch.vim, 22341 src/testdir/test_vim9_script.vim, src/testdir/test_viminfo.vim 22342 22343 Patch 8.2.3638 22344 Problem: getcompletion() always passes zero as position to custom 22345 completion function. 22346 Solution: Pass the pattern length. (closes #9173) 22347 Files: src/cmdexpand.c, src/testdir/test_cmdline.vim 22348 22349 Patch 8.2.3639 (after 8.2.2922) 22350 Problem: Line commented out accidentally. 22351 Solution: Uncomment. (Volodymyr Kot, closes #9172) 22352 Files: src/main.c 22353 22354 Patch 8.2.3640 22355 Problem: Freeze when calling term_wait() in a close callback. 22356 Solution: Set a "closing" flag to tell term_wait() to return. (closes #9152) 22357 Files: src/channel.c, src/terminal.c, src/proto/terminal.pro, 22358 src/testdir/test_terminal.vim 22359 22360 Patch 8.2.3641 22361 Problem: Xxd code has duplicate expressions. 22362 Solution: Refactor to avoid duplication. (closes #9185) 22363 Files: src/xxd/xxd.c 22364 22365 Patch 8.2.3642 22366 Problem: List of distributed files is outdated. 22367 Solution: Rename term.h to termdefs.h. 22368 Files: Filelist 22369 22370 Patch 8.2.3643 22371 Problem: Header for source file is outdated. 22372 Solution: Make the header more accurate. (closes #9186) 22373 Files: src/map.c, src/getchar.c 22374 22375 Patch 8.2.3644 22376 Problem: Count for 'operatorfunc' in Visual mode is not redone. 22377 Solution: Add the count to the redo buffer. (closes #9174) 22378 Files: src/normal.c, src/proto/normal.pro, src/ops.c, 22379 src/testdir/test_normal.vim 22380 22381 Patch 8.2.3645 22382 Problem: Vim9: The "no effect" error is not given for all registers. 22383 Solution: Include any character following '@'. (closes #8779) 22384 Files: src/ex_eval.c, src/testdir/test_vim9_cmd.vim 22385 22386 Patch 8.2.3646 22387 Problem: Using <sfile> in a function gives an unexpected result. 22388 Solution: Give an error in a Vim9 function. (issue #9189) 22389 Files: src/scriptfile.c, src/errors.h, src/testdir/test_vim9_builtin.vim 22390 22391 Patch 8.2.3647 22392 Problem: GTK: when using ligatures the cursor is drawn wrong. 22393 Solution: Clear more characters when ligatures are used. (Dusan Popovic, 22394 closes #9190) 22395 Files: src/gui.c 22396 22397 Patch 8.2.3648 22398 Problem: "verbose pwd" is incorrect after dropping files on Vim. 22399 Solution: Set the chdir reason to "drop". 22400 Files: src/gui.c 22401 22402 Patch 8.2.3649 22403 Problem: Vim9: error for variable declared in while loop. 22404 Solution: Do not keep the first variable. (closes #9191) 22405 Files: src/ex_eval.c, src/testdir/test_vim9_script.vim 22406 22407 Patch 8.2.3650 22408 Problem: Vim9: for loop variable can be a list member. 22409 Solution: Check for valid variable name. (closes #9179) 22410 Files: src/vim9compile.c, src/dict.c, src/eval.c, src/evalvars.c, 22411 src/proto/evalvars.pro, src/testdir/test_vim9_script.vim 22412 22413 Patch 8.2.3651 22414 Problem: Vim9: no error for :lock or :unlock with unknown variable. 22415 Solution: Give an error. (closes #9188) 22416 Files: src/evalvars.c, src/errors.h, src/testdir/test_vim9_cmd.vim 22417 22418 Patch 8.2.3652 22419 Problem: Can only get text properties one line at a time. 22420 Solution: Add options to prop_list() to use a range of lines and filter by 22421 types. (Yegappan Lakshmanan, closes #9138) 22422 Files: runtime/doc/textprop.txt, src/textprop.c, 22423 src/testdir/test_textprop.vim 22424 22425 Patch 8.2.3653 22426 Problem: Terminal ANSI colors may be wrong. 22427 Solution: Initialize the color type. (closes #9198, closes #9197) 22428 Files: src/terminal.c 22429 22430 Patch 8.2.3654 22431 Problem: GTK: a touch-drag does not update the selection. 22432 Solution: Add GDK_BUTTON1_MASK to the state. (Chris Dalton, close #9196, 22433 closes #9194) 22434 Files: src/gui_gtk_x11.c 22435 22436 Patch 8.2.3655 22437 Problem: Compiler warning for using size_t for int. 22438 Solution: Add a type cast. (Mike Williams, closes #9199) 22439 Files: src/vim9compile.c 22440 22441 Patch 8.2.3656 22442 Problem: Vim9: no error for an environment variable by itself. 22443 Solution: Give a "without effect" error. (closes #9166) 22444 Files: src/ex_eval.c, src/testdir/test_vim9_cmd.vim 22445 22446 Patch 8.2.3657 22447 Problem: Vim9: debug text misses one line of return statement. 22448 Solution: Add a line when not at a debug instruction. (closes #9137) 22449 Files: src/vim9execute.c, src/testdir/test_debugger.vim 22450 22451 Patch 8.2.3658 22452 Problem: Duplicate code in xxd. 22453 Solution: Merge duplicated code. Add more tests. (closes #9192) 22454 Files: src/xxd/xxd.c, src/testdir/test_xxd.vim 22455 22456 Patch 8.2.3659 22457 Problem: Integer overflow with large line number. 22458 Solution: Check for overflow. (closes #9202) 22459 Files: src/errors.h, src/ex_docmd.c, src/testdir/test_excmd.vim 22460 src/normal.c, src/testdir/test_normal.vim 22461 22462 Patch 8.2.3660 (after 8.2.3659) 22463 Problem: Overflow check uses wrong number. 22464 Solution: Divide by ten. 22465 Files: src/normal.c 22466 22467 Patch 8.2.3661 (after 8.2.3659) 22468 Problem: Test for put with large count fails. 22469 Solution: Adjust the counts in the test. 22470 Files: src/testdir/test_put.vim 22471 22472 Patch 8.2.3662 22473 Problem: Illegal memory access if malloc() fails. 22474 Solution: Check 'foldmethod' is not empty. (closes #9207) 22475 Files: src/fold.c 22476 22477 Patch 8.2.3663 22478 Problem: Using %S in printf() does not work correctly. 22479 Solution: Fix the problem and add more tests. (closes #9208) 22480 Files: src/strings.c, src/testdir/test_expr.vim 22481 22482 Patch 8.2.3664 22483 Problem: Cannot adjust sign highlighting for 'cursorline'. 22484 Solution: Add CursorLineSign and CursorLineFold highlight groups. 22485 (Gregory Anders, closes #9201) 22486 Files: runtime/doc/sign.txt, runtime/doc/syntax.txt, src/drawline.c, 22487 src/highlight.c, src/optiondefs.h, src/popupwin.c, 22488 src/proto/sign.pro, src/sign.c, src/structs.h, src/vim.h, 22489 src/testdir/test_signs.vim 22490 22491 Patch 8.2.3665 22492 Problem: Cannot use a lambda for 'tagfunc'. 22493 Solution: Use 'tagfunc' like 'opfunc'. (Yegappan Lakshmanan, closes #9204) 22494 Files: runtime/doc/options.txt, src/buffer.c, src/option.c, 22495 src/optionstr.c, src/proto/tag.pro, src/structs.h, src/tag.c, 22496 src/testdir/test_tagfunc.vim 22497 22498 Patch 8.2.3666 22499 Problem: Libvterm is outdated. 22500 Solution: Include patches from revision 769 to revision 789. 22501 Files: Filelist, src/libvterm/Makefile, src/libvterm/doc/seqs.txt, 22502 src/libvterm/include/vterm.h, src/libvterm/src/mouse.c, 22503 src/libvterm/src/parser.c, src/libvterm/src/state.c, 22504 src/libvterm/src/vterm.c, src/libvterm/src/vterm_internal.h, 22505 src/libvterm/t/02parser.test, src/libvterm/t/17state_mouse.test, 22506 src/libvterm/t/29state_fallback.test, 22507 src/libvterm/t/40state_selection.test, src/libvterm/t/harness.c, 22508 src/libvterm/t/run-test.pl, src/libvterm/vterm.pc.in, 22509 src/terminal.c 22510 22511 Patch 8.2.3667 22512 Problem: Building libvterm fails with MSVC. 22513 Solution: Don't use C99 construct. 22514 Files: src/libvterm/src/state.c 22515 22516 Patch 8.2.3668 22517 Problem: Messages may be corrupted. 22518 Solution: Use another buffer instead of IObuff. (Yegappan Lakshmanan, 22519 closes #9195) 22520 Files: src/highlight.c, src/testdir/test_highlight.vim 22521 22522 Patch 8.2.3669 22523 Problem: Buffer overflow with long help argument. 22524 Solution: Use snprintf(). 22525 Files: src/help.c, src/testdir/test_help.vim 22526 22527 Patch 8.2.3670 22528 Problem: Error checks repeated several times. 22529 Solution: Move the checks to functions. (closes #9213) 22530 Files: src/xxd/xxd.c 22531 22532 Patch 8.2.3671 22533 Problem: Restarting Insert mode in prompt buffer too often when a callback 22534 switches windows and comes back. (Sean Dewar) 22535 Solution: Do not set "restart_edit" when already in Insert mode. 22536 (closes #9212) 22537 Files: src/window.c, src/testdir/test_prompt_buffer.vim 22538 22539 Patch 8.2.3672 (after 8.2.3670) 22540 Problem: Build failure with unsigned char. 22541 Solution: Use int instead of char. 22542 Files: src/xxd/xxd.c 22543 22544 Patch 8.2.3673 22545 Problem: Crash when allocating signal stack fails. 22546 Solution: Only using sourcing info when available. (closes #9215) 22547 Files: src/globals.h, src/message.c 22548 22549 Patch 8.2.3674 22550 Problem: When ml_get_buf() fails it messes up IObuff. 22551 Solution: Return a local pointer. (closes #9214) 22552 Files: src/memline.c 22553 22554 Patch 8.2.3675 22555 Problem: Using freed memory when vim_strsave() fails. 22556 Solution: Clear "last_sourcing_name". Check for msg_source() called 22557 recursively. (closes #8217) 22558 Files: src/message.c 22559 22560 Patch 8.2.3676 22561 Problem: Unused runtime file. 22562 Solution: Remove rgb.txt. 22563 Files: runtime/rgb.txt 22564 22565 Patch 8.2.3677 22566 Problem: After a put the '] mark is on the last byte of a multi-byte 22567 character. 22568 Solution: Move it to the first byte. (closes #9047) 22569 Files: src/register.c, src/testdir/test_put.vim 22570 22571 Patch 8.2.3678 (after 8.2.3677) 22572 Problem: Illegal memory access. 22573 Solution: Ignore changed indent when computing byte offset. 22574 Files: src/register.c 22575 22576 Patch 8.2.3679 22577 Problem: objc file detected as Octave. (Antony Lee) 22578 Solution: Detect objc by preprocessor lines. (Doug Kearns, closes #9223, 22579 closes #9220) 22580 Files: runtime/autoload/dist/ft.vim, src/testdir/test_filetype.vim 22581 22582 Patch 8.2.3680 22583 Problem: Repeated code in xxd. 22584 Solution: Change exit_on_ferror() to getc_or_die(). (closes #9226) 22585 Files: src/xxd/xxd.c 22586 22587 Patch 8.2.3681 22588 Problem: Cannot drag popup window after click on a status line. (Sergey 22589 Vlasov) 22590 Solution: Reset on_status_line. (closes #9221) 22591 Files: src/mouse.c, src/testdir/test_popupwin.vim, 22592 src/testdir/dumps/Test_popupwin_drag_04.dump 22593 22594 Patch 8.2.3682 22595 Problem: Vim9: assigning to a script variable drops the required type. 22596 Solution: Lookup the type of the variable and use it. (closes #9219) 22597 Files: src/evalvars.c, src/vim9script.c, src/proto/vim9script.pro, 22598 src/testdir/test_vim9_assign.vim 22599 22600 Patch 8.2.3683 22601 Problem: Vim9: cannot use `=expr` in :...do commands. 22602 Solution: Add EX_EXPAND to the commands. (closes #9232) 22603 Files: src/ex_cmds.h, src/testdir/test_vim9_cmd.vim 22604 22605 Patch 8.2.3684 22606 Problem: Blockwise insert does not handle autoindent properly. 22607 Solution: Adjust text column for indent. (closes #9229) 22608 Files: src/ops.c, src/testdir/test_blockedit.vim 22609 22610 Patch 8.2.3685 22611 Problem: Visual Studio project files are not recognized. 22612 Solution: Use the xml file type. (Doug Kearns) 22613 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 22614 22615 Patch 8.2.3686 22616 Problem: Filetype detection often mixes up Forth and F#. 22617 Solution: Add a function to inspect the file contents. (Doug Kearns) 22618 Files: runtime/autoload/dist/ft.vim, runtime/doc/filetype.txt, 22619 runtime/doc/syntax.txt, runtime/filetype.vim, runtime/scripts.vim, 22620 src/testdir/test_filetype.vim 22621 22622 Patch 8.2.3687 22623 Problem: Blockwise insert does not handle autoindent properly when tab is 22624 inserted. 22625 Solution: Adjust text column for indent before computing column. 22626 (closes #9229) 22627 Files: src/ops.c, src/testdir/test_blockedit.vim 22628 22629 Patch 8.2.3688 22630 Problem: The window title is not updated when dragging the scrollbar. 22631 Solution: Call maketitle(). (Christian Brabandt, closes #9238, closes #5383) 22632 Files: src/gui.c 22633 22634 Patch 8.2.3689 22635 Problem: ex_let_one() is too long. 22636 Solution: Split into multiple functions. 22637 Files: src/evalvars.c 22638 22639 Patch 8.2.3690 22640 Problem: Vim9: "filter #pat# cmd" does not work. 22641 Solution: Do not see #pat# as a comment. 22642 Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim 22643 22644 Patch 8.2.3691 22645 Problem: Build failure with small features. 22646 Solution: Add #ifdef. (Dominique Pellé) 22647 Files: src/gui.c 22648 22649 Patch 8.2.3692 22650 Problem: Vim9: cannot use :func inside a :def function. 22651 Solution: Make it work. 22652 Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/errors.h, 22653 src/structs.h, src/userfunc.c, src/testdir/test_vim9_func.vim 22654 22655 Patch 8.2.3693 22656 Problem: Coverity warns for possibly using a NULL pointer. 22657 Solution: Check for NULL and give an error. 22658 Files: src/vim9execute.c, src/errors.h 22659 22660 Patch 8.2.3694 22661 Problem: Cannot use quotes in the count of an Ex command. 22662 Solution: Add getdigits_quoted(). Give an error when misplacing a quote in 22663 a range. (closes #9240) 22664 Files: src/ex_docmd.c, src/charset.c, src/proto/charset.pro, 22665 src/testdir/test_usercommands.vim 22666 22667 Patch 8.2.3695 22668 Problem: Confusing error for missing key. 22669 Solution: Use the actual key for the error. (closes #9241) 22670 Files: src/eval.c, src/testdir/test_listdict.vim 22671 22672 Patch 8.2.3696 22673 Problem: Vim9: error for invalid assignment when skipping. 22674 Solution: Do not check white space when skipping. (closes #9243) 22675 Files: src/evalvars.c, src/testdir/test_vim9_assign.vim 22676 22677 Patch 8.2.3697 22678 Problem: Cannot drag a popup without a border. 22679 Solution: Add the "dragall" option. (closes #9218) 22680 Files: runtime/doc/popup.txt, src/mouse.c, src/popupwin.c, src/vim.h, 22681 src/testdir/test_popupwin.vim, 22682 src/testdir/dumps/Test_popupwin_drag_05.dump, 22683 src/testdir/dumps/Test_popupwin_drag_06.dump 22684 22685 Patch 8.2.3698 22686 Problem: Match highlighting continues over breakindent. 22687 Solution: Stop before the end column. (closes #9242) 22688 Files: src/match.c, src/proto/match.pro, src/drawline.c, 22689 src/testdir/test_match.vim, 22690 src/testdir/dumps/Test_match_linebreak.dump 22691 22692 Patch 8.2.3699 22693 Problem: The +title feature adds a lot of #ifdef but little code. 22694 Solution: Graduate the +title feature. 22695 Files: src/feature.h, src/alloc.c, src/arglist.c, src/autocmd.c, 22696 src/buffer.c, src/bufwrite.c, src/change.c, src/drawscreen.c, 22697 src/evalfunc.c, src/ex_cmds.c, src/ex_docmd.c, src/gui.c, 22698 src/gui_gtk_x11.c, src/if_xcmdsrv.c, src/locale.c, src/main.c, 22699 src/misc2.c, src/netbeans.c, src/option.c, src/optionstr.c, 22700 src/os_amiga.c, src/os_mswin.c, src/os_unix.c, src/os_win32.c, 22701 src/regexp.c, src/term.c, src/ui.c, src/version.c, src/window.c, 22702 src/globals.h, src/option.h, src/optiondefs.h, 22703 runtime/doc/options.txt, runtime/doc/various.txt 22704 22705 Patch 8.2.3700 22706 Problem: Text property highlighting continues over breakindent. 22707 Solution: Stop before the end column. (closes #9242) 22708 Files: src/drawline.c, src/testdir/test_textprop.vim, 22709 src/testdir/dumps/Test_prop_linebreak.dump 22710 22711 Patch 8.2.3701 22712 Problem: Vim9: invalid LHS is not possible. 22713 Solution: Remove unreachable error message. 22714 Files: src/vim9compile.c 22715 22716 Patch 8.2.3702 22717 Problem: First key in dict is seen as curly expression and fails. 22718 Solution: Ignore failure of curly expression. (closes #9247) 22719 Files: src/typval.c, src/dict.c, src/testdir/test_listdict.vim 22720 22721 Patch 8.2.3703 (after 8.2.3686) 22722 Problem: Most people call F# "fsharp" and not "fs". 22723 Solution: Rename filetype "fs" to "fsharp". 22724 Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim, 22725 src/testdir/test_filetype.vim 22726 22727 Patch 8.2.3704 22728 Problem: Vim9: cannot use a list declaration in a :def function. 22729 Solution: Make it work. 22730 Files: runtime/doc/vim9.txt, src/vim9compile.c, src/errors.h, 22731 src/testdir/test_vim9_assign.vim 22732 22733 Patch 8.2.3705 22734 Problem: Cannot pass a lambda name to function() or funcref(). (Yegappan 22735 Lakshmanan) 22736 Solution: Handle a lambda name differently. 22737 Files: src/userfunc.c, src/proto/userfunc.pro, src/evalfunc.c, 22738 src/testdir/test_expr.vim 22739 22740 Patch 8.2.3706 (after 8.2.3700) 22741 Problem: Text property highlighting is used on Tab. 22742 Solution: Only set in_linebreak when not on a Tab. (closes #9242) 22743 Files: src/drawline.c, src/testdir/test_textprop.vim, 22744 src/testdir/dumps/Test_prop_after_tab.dump 22745 22746 Patch 8.2.3707 22747 Problem: Vim9: constant expression of elseif not recognized. 22748 Solution: Set instruction count before generating the expression. 22749 Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim 22750 22751 Patch 8.2.3708 (after 8.2.3707) 22752 Problem: Vim9: test fails with different error. 22753 Solution: Correct the error number. 22754 Files: src/testdir/test_vim9_cmd.vim 22755 22756 Patch 8.2.3709 22757 Problem: Vim9: backtick expression expanded when not desired. 22758 Solution: Only expand a backtick expression for commands that expand their 22759 argument. Remove a few outdated TODO comments. 22760 Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim 22761 22762 Patch 8.2.3710 22763 Problem: Vim9: backtick expression expanded for :global. 22764 Solution: Check the following command. 22765 Files: runtime/doc/vim9.txt, src/vim9compile.c, 22766 src/testdir/test_vim9_cmd.vim 22767 22768 Patch 8.2.3711 22769 Problem: Vim9: memory leak when compiling :elseif fails. 22770 Solution: Cleanup ppconst. 22771 Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim 22772 22773 Patch 8.2.3712 22774 Problem: Cannot use Vim9 lambda for 'tagfunc'. 22775 Solution: Make it work, add more tests. (Yegappan Lakshmanan, closes #9250) 22776 Files: runtime/doc/options.txt, src/insexpand.c, src/option.c, 22777 src/testdir/test_tagfunc.vim 22778 22779 Patch 8.2.3713 22780 Problem: MS-Windows: No error message if vimgrep pattern is not matching. 22781 Solution: Give an error message. (Christian Brabandt, closes #9245, 22782 closes #8762) 22783 Files: src/quickfix.c, src/testdir/test_quickfix.vim 22784 22785 Patch 8.2.3714 22786 Problem: Some unused assignments and ugly code in xxd. 22787 Solution: Leave out assignments. Use marcro for fprintf(). (closes #9246) 22788 Files: src/xxd/xxd.c 22789 22790 Patch 8.2.3715 22791 Problem: Vim9: valgrind reports spurious problems for a test. 22792 Solution: Move the test to the set that is known to fail. 22793 Files: src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_fails.vim 22794 22795 Patch 8.2.3716 22796 Problem: Vim9: range without a command is not compiled. 22797 Solution: Add the ISN_EXECRANGE byte code. 22798 Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/vim9compile.c, 22799 src/vim9execute.c, src/vim9.h, 22800 src/testdir/test_vim9_disassemble.vim 22801 22802 Patch 8.2.3717 22803 Problem: Vim9: error for constant list size is only given at runtime. 22804 Solution: Give the error at compile time if possible. 22805 Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim, 22806 src/testdir/test_vim9_script.vim, 22807 src/testdir/test_vim9_disassemble.vim 22808 22809 Patch 8.2.3718 22810 Problem: Compiler warns for unused variable without the +textprop feature. 22811 (John Marriott) 22812 Solution: Adjust #ifdefs. 22813 Files: src/drawline.c 22814 22815 Patch 8.2.3719 22816 Problem: MS-Windows: test sometimes runs into existing swap file. 22817 Solution: Use a different file name. 22818 Files: src/testdir/test_buffer.vim 22819 22820 Patch 8.2.3720 22821 Problem: Vim9: Internal error when invoking closure in legacy context. 22822 Solution: Give a more appropriate error message. (closes #9251) 22823 Files: src/errors.h, src/vim9execute.c, src/testdir/test_vim9_func.vim 22824 22825 Patch 8.2.3721 22826 Problem: Using memory freed by losing the clipboard selection. (Dominique 22827 Pellé) 22828 Solution: Check y_array is still valid after calling changed_lines(). 22829 (closes #9253) 22830 Files: src/errors.h, src/register.c 22831 22832 Patch 8.2.3722 22833 Problem: Amiga: superfluous messages for freeing lots of yanked text. 22834 Solution: Assume that the machine isn't that slow these days. 22835 Files: src/register.c 22836 22837 Patch 8.2.3723 22838 Problem: When using 'linebreak' a text property starts too early. 22839 Solution: Decrement "bcol" when looking for property start. (closes #9242) 22840 Files: src/drawline.c, src/testdir/test_textprop.vim, 22841 src/testdir/dumps/Test_prop_after_linebreak.dump 22842 22843 Patch 8.2.3724 22844 Problem: Build error for missing error message in small build. 22845 Solution: Correct #ifdef. 22846 Files: src/errors.h 22847 22848 Patch 8.2.3725 22849 Problem: Cannot use a lambda for 'completefunc' and 'omnifunc'. 22850 Solution: Implement lambda support. (Yegappan Lakshmanan, closes #9257) 22851 Files: runtime/doc/options.txt, src/buffer.c, src/insexpand.c, 22852 src/option.c, src/optionstr.c, src/proto/insexpand.pro, 22853 src/proto/tag.pro, src/proto/userfunc.pro, src/structs.h, 22854 src/tag.c, src/userfunc.c, src/testdir/test_ins_complete.vim, 22855 src/testdir/test_tagfunc.vim 22856 22857 Patch 8.2.3726 22858 Problem: README file in a config directory gets wrong filetype. 22859 Solution: Match README before patterns that match everything in a directory. 22860 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 22861 22862 Patch 8.2.3727 22863 Problem: In a gnome terminal keys are recognized as mouse events. 22864 Solution: Only recognize DEC mouse events when four numbers are following. 22865 (closes #9256) 22866 Files: src/term.c, src/testdir/test_termcodes.vim 22867 22868 Patch 8.2.3728 22869 Problem: Internal error when passing range() to list2blob(). 22870 Solution: Materialize the list first. (closes #9262) 22871 Files: src/blob.c, src/testdir/test_blob.vim 22872 22873 Patch 8.2.3729 22874 Problem: No support for squirrels. 22875 Solution: Recognize nuts. (closes #9259) 22876 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 22877 22878 Patch 8.2.3730 22879 Problem: "/etc/Muttrc.d/README" gets filetype muttrc. 22880 Solution: Move the Muttrc.d pattern down, add exception for *.rc files. 22881 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 22882 22883 Patch 8.2.3731 22884 Problem: "set! termcap" shows codes in one column, but not keys. 22885 Solution: Also use one column for keys. (closes #9258) 22886 Files: src/option.c, src/term.c, src/proto/term.pro, 22887 src/testdir/test_set.vim 22888 22889 Patch 8.2.3732 (after 8.2.3731) 22890 Problem: "set! termcap" test fails. 22891 Solution: Account for keys without a t_xx entry. 22892 Files: src/testdir/test_set.vim 22893 22894 Patch 8.2.3733 22895 Problem: Vim9: using "legacy" before range does not work. 22896 Solution: Skip over range before parsing command. (closes #9270) 22897 Files: src/vim9compile.c, src/usercmd.c, src/testdir/test_vim9_cmd.vim 22898 22899 Patch 8.2.3734 22900 Problem: Vim9: crash when no pattern match found. 22901 Solution: Check for error. 22902 Files: src/vim9execute.c 22903 22904 Patch 8.2.3735 22905 Problem: Cannot use a lambda for 'imactivatefunc'. 22906 Solution: Add lambda support for 'imactivatefunc' and 'imstatusfunc'. 22907 (Yegappan Lakshmanan, closes #9275) 22908 Files: runtime/doc/options.txt, src/alloc.c, src/gui_xim.c, 22909 src/optionstr.c, src/proto/gui_xim.pro, 22910 src/testdir/test_iminsert.vim, src/testdir/test_ins_complete.vim 22911 22912 Patch 8.2.3736 22913 Problem: Test fails without the channel feature. (Dominique Pellé) 22914 Solution: Source the check.vim script. (closes #9277) 22915 Files: src/testdir/test_vim9_fails.vim 22916 22917 Patch 8.2.3737 22918 Problem: Test fails without the 'autochdir' option. 22919 Solution: Check that the option is available. (Dominique Pellé, closes #9272) 22920 Files: src/testdir/test_cd.vim 22921 22922 Patch 8.2.3738 22923 Problem: Screen is cleared when a FocusLost autocommand triggers. 22924 Solution: Do not redraw when at the hit-enter or more prompt. (closes #9274) 22925 Files: src/misc1.c 22926 22927 Patch 8.2.3739 22928 Problem: In wrong directory when using win_execute() with 'acd' set. 22929 Solution: Restore the directory when returning to the window. (closes #9276) 22930 Files: src/window.c, src/testdir/test_autochdir.vim 22931 22932 Patch 8.2.3740 22933 Problem: Memory left allocated on exit when using Tcl. 22934 Solution: Call Tcl_Finalize(). 22935 Files: src/if_tcl.c, src/proto/if_tcl.pro, src/alloc.c 22936 22937 Patch 8.2.3741 22938 Problem: Using freed memory in open command. 22939 Solution: Make a copy of the current line. 22940 Files: src/ex_docmd.c, src/testdir/test_ex_mode.vim 22941 22942 Patch 8.2.3742 22943 Problem: Dec mouse test fails without gnome terminfo entry. 22944 Solution: Check if there is a gnome entry. Also fix 'acd' test on 22945 MS-Windows. (Ozaki Kiichi, closes #9282) 22946 Files: src/testdir/test_termcodes.vim, src/testdir/test_autochdir.vim 22947 22948 Patch 8.2.3743 22949 Problem: ":sign" can add a highlight group without a name. 22950 Solution: Give an error if the group name is missing. (closes #9280) 22951 Files: src/sign.c, src/errors.h, src/testdir/test_signs.vim 22952 22953 Patch 8.2.3744 22954 Problem: E854 is not tested; some spelling suggestions are not tested. 22955 Solution: Add a couple of tests. (Dominique Pellé, closes #9279) 22956 Files: src/testdir/test_options.vim, src/testdir/test_spell.vim 22957 22958 Patch 8.2.3745 22959 Problem: Autochdir test fails without the +channel feature. 22960 Solution: Remove the ch_logfile() call. (Dominique Pellé, closes #9281) 22961 Files: src/testdir/test_autochdir.vim 22962 22963 Patch 8.2.3746 22964 Problem: Cannot disassemble function starting with "debug" or "profile". 22965 Solution: Check for white space following. (closes #9273) 22966 Files: src/vim9execute.c, src/testdir/test_vim9_script.vim 22967 22968 Patch 8.2.3747 (after 8.2.3743) 22969 Problem: Cannot remove highlight from an existing sign. (James McCoy) 22970 Solution: Only reject empty argument for a new sign. 22971 Files: src/sign.c, src/testdir/test_signs.vim 22972 22973 Patch 8.2.3748 (after 8.2.3747) 22974 Problem: Giving an error for an empty sign argument breaks a plugin. 22975 Solution: Do not give an error. 22976 Files: src/sign.c, src/errors.h, src/testdir/test_signs.vim 22977 22978 Patch 8.2.3749 22979 Problem: Error messages are everywhere. 22980 Solution: Move more error messages to errors.h and adjust the names. 22981 Files: src/errors.h, src/regexp_bt.c, src/regexp.c, src/regexp_nfa.c, 22982 src/globals.h, src/memfile.c, src/tag.c, src/getchar.c, 22983 src/bufwrite.c, src/cmdexpand.c 22984 22985 Patch 8.2.3750 22986 Problem: Error messages are everywhere. 22987 Solution: Move more error messages to errors.h and adjust the names. 22988 Files: src/globals.h, src/errors.h, src/blob.c, src/buffer.c, 22989 src/channel.c, src/ex_docmd.c, src/job.c, src/list.c, src/mark.c, 22990 src/misc1.c, src/os_unix.c, src/popupwin.c, src/register.c, 22991 src/session.c, src/spellfile.c, src/term.c, src/userfunc.c 22992 22993 Patch 8.2.3751 22994 Problem: Cannot assign a lambda to an option that takes a function. 22995 Solution: Automatically convert the lambda to a string. (Yegappan 22996 Lakshmanan, closes #9286) 22997 Files: runtime/doc/options.txt, src/eval.c, src/proto/eval.pro, 22998 src/evalvars.c, src/if_mzsch.c, src/if_ruby.c, src/if_tcl.c, 22999 src/option.c, src/option.h, src/optiondefs.h, 23000 src/proto/option.pro, src/spell.c, src/typval.c, 23001 src/vim9compile.c, src/testdir/test_iminsert.vim, 23002 src/testdir/test_ins_complete.vim, src/testdir/test_tagfunc.vim 23003 23004 Patch 8.2.3752 23005 Problem: Build error when using Photon GUI. 23006 Solution: Adjust #ifdef. (closes #9288) 23007 Files: src/beval.c 23008 23009 Patch 8.2.3753 23010 Problem: Vim9: function unreferenced while called is never deleted. 23011 Solution: Delete a function when no longer referenced. 23012 Files: src/vim9execute.c, src/userfunc.c, src/proto/userfunc.pro 23013 23014 Patch 8.2.3754 (after 8.2.3615) 23015 Problem: Undesired changing of the indent of the first formatted line. 23016 Solution: Do not indent the first formatted line. 23017 Files: src/textformat.c, src/testdir/test_indent.vim 23018 23019 Patch 8.2.3755 23020 Problem: Coverity warns for using a buffer in another scope. 23021 Solution: Declare the buffer in a common scope. 23022 Files: src/evalvars.c 23023 23024 Patch 8.2.3756 23025 Problem: might crash when callback is not valid. 23026 Solution: Check for valid callback. (Yegappan Lakshmanan, closes #9293) 23027 Files: src/insexpand.c, src/option.c, src/tag.c, src/job.c, 23028 src/userfunc.c, src/testdir/test_iminsert.vim, 23029 src/testdir/test_ins_complete.vim, src/testdir/test_tagfunc.vim 23030 23031 Patch 8.2.3757 23032 Problem: An overlong highlight group name is silently truncated. 23033 Solution: Give an error if the name is too long. (closes #9289) 23034 Files: src/errors.h, src/highlight.c, src/testdir/test_highlight.vim 23035 23036 Patch 8.2.3758 23037 Problem: Options that take a function insufficiently tested. 23038 Solution: Add additional tests and enhance existing tests. (Yegappan 23039 Lakshmanan, closes #9298) 23040 Files: src/testdir/test_ins_complete.vim, src/testdir/test_normal.vim, 23041 src/testdir/test_tagfunc.vim 23042 23043 Patch 8.2.3759 23044 Problem: Quickfix buffer becomes hidden while still in a window. 23045 Solution: Check if the closed window is the last window showing the quickfix 23046 buffer. (Yegappan Lakshmanan, closes #9303, closes #9300) 23047 Files: src/quickfix.c, src/testdir/test_quickfix.vim, src/window.c 23048 23049 Patch 8.2.3760 23050 Problem: Not automatically handling gnome terminal mouse like xterm. 23051 Solution: Default 'ttymouse' to "xterm" and recognize Focus events. 23052 (issue #9296) 23053 Files: src/os_unix.c 23054 23055 Patch 8.2.3761 23056 Problem: Focus change is not passed on to a terminal window. 23057 Solution: If the current window is a terminal and focus events are enabled 23058 send a focus event escape sequence to the terminal. 23059 Files: src/ui.c, src/terminal.c, src/proto/terminal.pro, 23060 src/testdir/test_terminal.vim, 23061 src/testdir/dumps/Test_terminal_focus_1.dump, 23062 src/testdir/dumps/Test_terminal_focus_2.dump 23063 23064 Patch 8.2.3762 23065 Problem: If the quickfix buffer is wiped out getqflist() still returns its 23066 number. 23067 Solution: Use zero if the buffer is no longer present. (Yegappan Lakshmanan, 23068 closes #9306) 23069 Files: src/quickfix.c, src/testdir/test_quickfix.vim 23070 23071 Patch 8.2.3763 23072 Problem: When editing the command line a FocusLost callback may cause the 23073 screen to scroll up. 23074 Solution: Do not redraw at the last line but at the same place where the 23075 command line was before. (closes #9295) 23076 Files: src/ex_getln.c, src/ui.c, src/beval.c, src/channel.c, 23077 src/drawscreen.c, src/proto/drawscreen.pro, src/job.c, 23078 src/popupwin.c, src/sound.c, src/terminal.c, src/time.c, 23079 src/testdir/test_terminal.vim, 23080 src/testdir/dumps/Test_terminal_focus_1.dump, 23081 src/testdir/dumps/Test_terminal_focus_2.dump, 23082 src/testdir/dumps/Test_terminal_focus_3.dump 23083 23084 Patch 8.2.3764 23085 Problem: Cannot see any text when window was made zero lines or zero 23086 columns. 23087 Solution: Ensure there is at least one line and column. (fixes #9307) 23088 Files: src/window.c, src/proto/window.pro, src/normal.c, src/edit.c, 23089 src/testdir/test_window_cmd.vim 23090 23091 Patch 8.2.3765 23092 Problem: Vim9: cannot use a lambda for 'opfunc' and others. 23093 Solution: Convert the lambda to a string. 23094 Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, 23095 src/testdir/test_vim9_func.vim, 23096 src/testdir/test_vim9_disassemble.vim 23097 23098 Patch 8.2.3766 23099 Problem: Converting a funcref to a string leaves out "g:", causing the 23100 meaning of the name depending on the context. 23101 Solution: Prepend "g:" for a global function. 23102 Files: src/eval.c, src/testdir/test_functions.vim 23103 23104 Patch 8.2.3767 (after 8.2.3766) 23105 Problem: Crash when using NULL partial. 23106 Solution: Check for NULL. 23107 Files: src/eval.c 23108 23109 Patch 8.2.3768 23110 Problem: timer_info() has the wrong repeat value in a timer callback. 23111 (Sergey Vlasov) 23112 Solution: Do not add one to the repeat value when in the callback. 23113 (closes #9294) 23114 Files: src/time.c, src/testdir/test_timers.vim 23115 23116 Patch 8.2.3769 23117 Problem: Zig files are not recognized. 23118 Solution: Add *.zig. (Gregory Anders, closes #9313) 23119 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 23120 23121 Patch 8.2.3770 23122 Problem: New compiler warnings from clang-12 and clang-13. 23123 Solution: Adjust CI and suppress some warnings. (Ozaki Kiichi, closes #9314) 23124 Files: .github/workflows/ci.yml, ci/config.mk.clang-12.sed, 23125 src/os_unix.c, src/spellfile.c 23126 23127 Patch 8.2.3771 23128 Problem: Vim9: accessing freed memory when checking type. 23129 Solution: Make a copy of a function type. 23130 Files: src/structs.h, src/evalvars.c, src/vim9script.c, 23131 src/testdir/test_vim9_func.vim 23132 23133 Patch 8.2.3772 23134 Problem: Timer info test fails on slow machine. 23135 Solution: Use WaitForAssert(). 23136 Files: src/testdir/test_timers.vim 23137 23138 Patch 8.2.3773 23139 Problem: Wrong window size when a modeline changes 'columns' and there is 23140 more than one tabpage. (Michael Soyka) 23141 Solution: Adjust the frames of all tabpages. (closes #9315) 23142 Files: src/window.c 23143 23144 Patch 8.2.3774 (after 8.2.3773) 23145 Problem: Test for command line height fails. 23146 Solution: Use another way to handle window size change. 23147 Files: src/structs.h, src/window.c 23148 23149 Patch 8.2.3775 23150 Problem: Vim9: lambda compiled without outer context when debugging. 23151 Solution: When compiling a lambda for debugging also compile it without. 23152 (closes #9302) 23153 Files: src/vim9compile.c, src/testdir/test_vim9_script.vim 23154 23155 Patch 8.2.3776 23156 Problem: When a tags file line is long a tag may not be found. 23157 Solution: When increasing the buffer size read the same line again. 23158 Files: src/tag.c, src/testdir/test_taglist.vim 23159 23160 Patch 8.2.3777 23161 Problem: Spell file write error not checked. 23162 Solution: Check writing the prefix conditions. (Bjorn Linse, closes #9323) 23163 Files: src/spellfile.c 23164 23165 Patch 8.2.3778 23166 Problem: Lambda debug test fails in some configurations. 23167 Solution: Check feature in a legacy function. 23168 Files: src/testdir/test_vim9_script.vim 23169 23170 Patch 8.2.3779 23171 Problem: Using freed memory when defining a user command from a user 23172 command. 23173 Solution: Do not use the command pointer after executing the command. 23174 (closes #9318) 23175 Files: src/usercmd.c, src/testdir/test_usercommands.vim 23176 23177 Patch 8.2.3780 23178 Problem: ":cd" works differently on MS-Windows. 23179 Solution: Add the 'cdhome' option. (closes #9324) 23180 Files: runtime/doc/editing.txt, runtime/doc/options.txt, 23181 runtime/doc/quickref.txt, runtime/optwin.vim, src/ex_docmd.c, 23182 src/option.h, src/optiondefs.h, src/testdir/runtest.vim, 23183 src/testdir/test_options.vim 23184 23185 Patch 8.2.3781 23186 Problem: The option window script is outdated. 23187 Solution: Add several changes. 23188 Files: runtime/optwin.vim 23189 23190 Patch 8.2.3782 23191 Problem: Vim9: no error if a function shadows a script variable. 23192 Solution: Check the function doesn't shadow a variable. (closes #9310) 23193 Files: src/userfunc.c, src/evalvars.c, src/vim.h, 23194 src/testdir/test_vim9_script.vim 23195 23196 Patch 8.2.3783 23197 Problem: Confusing error for using a variable as a function. 23198 Solution: If a function is not found but there is a variable, give a more 23199 useful error. (issue #9310) 23200 Files: src/eval.c, src/userfunc.c, src/proto/userfunc.pro, 23201 src/structs.h, src/vim9execute.c, src/testdir/test_functions.vim, 23202 src/testdir/test_vim9_script.vim, src/testdir/test_vim9_func.vim 23203 23204 Patch 8.2.3784 23205 Problem: The help for options is outdated. 23206 Solution: Include all the recent changes. 23207 Files: runtime/doc/options.txt 23208 23209 Patch 8.2.3785 23210 Problem: Running CI on macOS with gcc is not useful. 23211 Solution: Only use clang. (Ozaki Kiichi, closes #9326) Also build with 23212 normal features. 23213 Files: .github/workflows/ci.yml 23214 23215 Patch 8.2.3786 23216 Problem: Test fails because of using Vim9 syntax in legacy function. 23217 Solution: Add "call". 23218 Files: src/testdir/test_functions.vim 23219 23220 Patch 8.2.3787 23221 Problem: No proper formatting of a C line comment after a statement. 23222 Solution: Find the start of the line comment, insert the comment leader and 23223 indent the comment properly. 23224 Files: src/change.c, src/proto/change.pro, src/search.c, 23225 src/proto/search.pro, src/cindent.c, src/edit.c, src/normal.c, 23226 src/textformat.c, src/testdir/test_textformat.vim, 23227 src/testdir/test_cindent.vim 23228 23229 Patch 8.2.3788 23230 Problem: Lambda for option that is a function may be garbage collected. 23231 Solution: Set a reference in the funcref. (Yegappan Lakshmanan, 23232 closes #9330) 23233 Files: src/eval.c, src/evalbuffer.c, src/evalvars.c, src/gui_xim.c, 23234 src/insexpand.c, src/ops.c, src/proto/eval.pro, 23235 src/proto/gui_xim.pro, src/proto/insexpand.pro, src/proto/ops.pro, 23236 src/proto/tag.pro, src/quickfix.c, src/tag.c, 23237 src/testdir/test_iminsert.vim, src/testdir/test_ins_complete.vim, 23238 src/testdir/test_normal.vim, src/testdir/test_quickfix.vim, 23239 src/testdir/test_tagfunc.vim 23240 23241 Patch 8.2.3789 23242 Problem: Test_window_minimal_size can fail on a slow machine. 23243 Solution: Do not rely on timers firing at the expected time. (Ozaki Kiichi, 23244 closes #9335) 23245 Files: src/testdir/test_window_cmd.vim 23246 23247 Patch 8.2.3790 23248 Problem: Test for term_gettitle() fails in some environments. 23249 Solution: Make the digits after "VIM" optional. (Kenta Sato, closes #9334) 23250 Files: src/testdir/test_terminal2.vim 23251 23252 Patch 8.2.3791 23253 Problem: Build error with +cindent but without +smartindent. 23254 Solution: Move declaration of "do_cindent". (John Marriott) 23255 Files: src/change.c 23256 23257 Patch 8.2.3792 23258 Problem: Setting *func options insufficiently tested. 23259 Solution: Improve tests. (Yegappan Lakshmanan, closes #9337) 23260 Files: src/testdir/test_iminsert.vim, src/testdir/test_ins_complete.vim, 23261 src/testdir/test_normal.vim, src/testdir/test_quickfix.vim, 23262 src/testdir/test_tagfunc.vim 23263 23264 Patch 8.2.3793 23265 Problem: Using "g:Func" as a funcref does not work in script context 23266 because "g:" is dropped. 23267 Solution: Keep "g:" in the name. Also add parenthesis to avoid confusing 23268 operator precedence. (closes #9336) 23269 Files: src/evalvars.c, src/testdir/test_vim9_func.vim 23270 23271 Patch 8.2.3794 23272 Problem: Vim9: cannot find script-local func using "s:". (Yegappan 23273 Lakshmanan) 23274 Solution: Skip the "s:". 23275 Files: src/userfunc.c, src/testdir/test_vim9_func.vim 23276 23277 Patch 8.2.3795 23278 Problem: Too many #ifdefs. 23279 Solution: Graduate the jumplist feature. 23280 Files: runtime/doc/various.txt, runtime/doc/motion.txt, src/feature.h, 23281 src/buffer.c, src/change.c, src/evalfunc.c, src/ex_docmd.c, 23282 src/mark.c, src/normal.c, src/undo.c, src/version.c, 23283 src/viminfo.c, src/window.c, src/structs.h, 23284 src/testdir/test_changelist.vim, src/testdir/test_jumplist.vim, 23285 src/testdir/test_normal.vim 23286 23287 Patch 8.2.3796 23288 Problem: The funcexe_T struct members are not named consistently. 23289 Solution: Prefix "fe_" to all the members. 23290 Files: src/structs.h, src/eval.c, src/list.c, src/regexp.c, 23291 src/terminal.c, src/userfunc.c, src/vim9execute.c 23292 23293 Patch 8.2.3797 23294 Problem: No good reason to limit the message history in the tiny version. 23295 Solution: Always use 200. 23296 Files: runtime/doc/message.txt, src/feature.h 23297 23298 Patch 8.2.3798 23299 Problem: A :def callback function postpones an error message. 23300 Solution: Display the error after calling the function. (closes #9340) 23301 Files: src/userfunc.c, src/testdir/test_vim9_func.vim, 23302 src/testdir/dumps/Test_opfunc_error.dump 23303 23304 Patch 8.2.3799 (after 8.2.3798) 23305 Problem: Edit test hangs or fails. 23306 Solution: Do not rethrow an exception when inside try/catch. 23307 Files: src/userfunc.c 23308 23309 Patch 8.2.3800 23310 Problem: When cross compiling the output of "uname" cannot be set. (Ben 23311 Reeves) 23312 Solution: Use cache variables. (closes #9338) 23313 Files: src/configure.ac, src/auto/configure 23314 23315 Patch 8.2.3801 23316 Problem: If a terminal shows in two windows, only one is redrawn. 23317 Solution: Reset the dirty row range only after redrawing all windows. 23318 (closes #9341) 23319 Files: src/terminal.c, src/proto/terminal.pro, src/drawscreen.c, 23320 src/testdir/test_terminal.vim 23321 23322 Patch 8.2.3802 23323 Problem: Terminal in two windows test fails on some systems. 23324 Solution: Wait a bit between commands. 23325 Files: src/testdir/test_terminal.vim 23326 23327 Patch 8.2.3803 23328 Problem: Crash when 'writedelay' is set and using a terminal window to 23329 execute a shell command. 23330 Solution: Check that "tl_vterm" isn't NULL. (closes #9346) 23331 Files: src/terminal.c 23332 23333 Patch 8.2.3804 23334 Problem: Script context not set when copying 'swf' and 'ts'. 23335 Solution: Use COPY_OPT_SCTX with the right argument. (closes #9347) 23336 Files: src/option.c 23337 23338 Patch 8.2.3805 23339 Problem: i3config files are not recognized. 23340 Solution: Add patterns to match i3config files. (Quentin Hibon, 23341 closes #7969) 23342 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 23343 23344 Patch 8.2.3806 23345 Problem: Terminal focus test fails sometimes. 23346 Solution: Run the test function before others. 23347 Files: src/testdir/test_terminal.vim 23348 23349 Patch 8.2.3807 23350 Problem: Vim9: can call import with star directly. 23351 Solution: Check that the import used star. 23352 Files: src/userfunc.c, src/eval.c, src/testdir/test_vim9_script.vim 23353 23354 Patch 8.2.3808 23355 Problem: Vim9: obsolete TODO items 23356 Solution: Remove the comments. 23357 Files: src/vim9execute.c 23358 23359 Patch 8.2.3809 23360 Problem: Vim9: crash when garbage collecting a nested partial. (Virginia 23361 Senioria) 23362 Solution: Set references in all the funcstacks. (closes #9348) 23363 Files: src/vim9execute.c, src/proto/vim9execute.pro, src/structs.h, 23364 src/eval.c, src/testdir/test_vim9_func.vim 23365 23366 Patch 8.2.3810 23367 Problem: Vim9: expr4 test fails on MS-Windows. 23368 Solution: Do not give an error for a missing function name when skipping. 23369 Files: src/eval.c, src/testdir/test_vim9_expr.vim 23370 23371 Patch 8.2.3811 23372 Problem: The opfunc error test fails on a slow machine. 23373 Solution: Use WaitForAssert(). 23374 Files: src/testdir/test_vim9_func.vim 23375 23376 Patch 8.2.3812 23377 Problem: Vim9: leaking memory in numbered function test. 23378 Solution: Skip "g:" when checking for numbered function. Clean up after 23379 errors properly. 23380 Files: src/userfunc.c 23381 23382 Patch 8.2.3813 23383 Problem: confusing error when using :cc without error list. (Gary Johnson) 23384 Solution: Give the "no errors" error. 23385 Files: src/ex_docmd.c, src/testdir/test_quickfix.vim 23386 23387 Patch 8.2.3814 23388 Problem: .csx files and .sln files are not recognized. 23389 Solution: Add filetype patterns. (Doug Kearns) 23390 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 23391 23392 Patch 8.2.3815 23393 Problem: Vim9: cannot have a multi-line dict inside a block. 23394 Solution: Do not split the command at a line break, handle NL characters 23395 as white space. 23396 Files: src/ex_docmd.c, src/charset.c, src/proto/charset.pro, 23397 src/eval.c, src/testdir/test_vim9_expr.vim 23398 23399 Patch 8.2.3816 23400 Problem: Compiler warning for possible loss of data on MS-Windows. 23401 Solution: Add type cast. (Mike Williams, closes #9349) 23402 Files: src/userfunc.c 23403 23404 Patch 8.2.3817 (after 8.2.3815) 23405 Problem: Vim9: Not using NL as command end does not work for :autocmd. 23406 Solution: Only ignore NL for commands with an expression argument. 23407 Files: src/ex_cmds.h, src/ex_docmd.c, src/testdir/test_usercommands.vim 23408 23409 Patch 8.2.3818 23410 Problem: Cannot filter or map characters in a string. 23411 Solution: Make filter() and map() work on a string. (Naruhiko Nishino, 23412 closes #9327) 23413 Files: runtime/doc/eval.txt, src/errors.h, src/list.c, 23414 src/testdir/test_filter_map.vim 23415 23416 Patch 8.2.3819 (after 8.2.3818) 23417 Problem: Test fails because error message changed. 23418 Solution: Update screendumps. 23419 Files: src/testdir/dumps/Test_popupwin_three_errors_1.dump, 23420 src/testdir/dumps/Test_popupwin_three_errors_2.dump 23421 23422 Patch 8.2.3820 23423 Problem: "vrc" does not replace composing characters, while "rc" does. 23424 Solution: Check the byte length including composing characters. 23425 (closes #9351) 23426 Files: src/ops.c, src/testdir/test_visual.vim 23427 23428 Patch 8.2.3821 23429 Problem: ASAN test run fails. 23430 Solution: Use asan_symbolize-13 instead of asan_symbolize-11. 23431 Files: .github/workflows/ci.yml 23432 23433 Patch 8.2.3822 23434 Problem: Leaking memory in map() and filter(), cannot use a string argument 23435 in Vim9 script. 23436 Solution: Fix the leak, adjust the argument check, also run the tests as 23437 Vim9 script. (Yegappan Lakshmanan, closes #9354) 23438 Files: src/errors.h, src/evalfunc.c, src/list.c, src/proto/typval.pro, 23439 src/testdir/test_filter_map.vim, 23440 src/testdir/test_vim9_builtin.vim, src/typval.c 23441 23442 Patch 8.2.3823 23443 Problem: Test for visual replace is in wrong function. 23444 Solution: Move it to another function. 23445 Files: src/testdir/test_visual.vim 23446 23447 Patch 8.2.3824 23448 Problem: No ASAN support for MSVC. 23449 Solution: Add ASAN support and fix a couple of uncovered problems. (Yegappan 23450 Lakshmanan, closes #9357) 23451 Files: src/Make_mvc.mak, src/findfile.c, src/os_mswin.c, 23452 src/testdir/test_fnamemodify.vim 23453 23454 Patch 8.2.3825 23455 Problem: Various comments could be improved. 23456 Solution: Improve the comments. 23457 Files: src/getchar.c, src/mbyte.c, src/regexp_nfa.c, 23458 src/testdir/test_edit.vim, src/gui_motif.c 23459 23460 Patch 8.2.3826 23461 Problem: Vim9: using "g:Func" as a funcref does not work in a :def 23462 function. 23463 Solution: Include "g:" in the function name. (closes #9336) 23464 Files: src/vim9compile.c, src/testdir/test_vim9_func.vim, 23465 src/testdir/test_vim9_disassemble.vim 23466 23467 Patch 8.2.3827 23468 Problem: Huntr badge does not really fit in the list. 23469 Solution: Move the link to Huntr to the issue template. 23470 Files: Filelist, .github/ISSUE_TEMPLATE/bug_report.yml, README.md 23471 23472 Patch 8.2.3828 23473 Problem: when opening a terminal from a timer the first typed character 23474 is lost. (Virginia Senioria) 23475 Solution: When opening a terminal while waiting for a character put K_IGNORE 23476 in the input buffer. 23477 Files: src/terminal.c, src/edit.c, src/testdir/test_terminal.vim 23478 23479 Patch 8.2.3829 23480 Problem: No error when setting a func option to a script-local function. 23481 Solution: Give an error if the name starts with "s:". (closes #9358) 23482 Files: src/option.c, src/testdir/test_tagfunc.vim, 23483 src/testdir/dumps/Test_set_tagfunc_on_cmdline.dump 23484 23485 Patch 8.2.3830 23486 Problem: Error messages are spread out. 23487 Solution: Move more error messages to errors.h. 23488 Files: src/globals.h, src/errors.h, src/buffer.c, src/dict.c, src/diff.c, 23489 src/digraph.c, src/eval.c, src/evalfunc.c, src/evalvars.c, 23490 src/misc2.c, src/quickfix.c, src/typval.c, src/ui.c, 23491 src/userfunc.c, src/vim9compile.c, src/vim9execute.c, 23492 src/vim9type.c, src/window.c 23493 23494 Patch 8.2.3831 23495 Problem: Opfunc test fails when missing feature changes function name. 23496 (Dominique Pellé) 23497 Solution: Check the relevant screen line instead of using a screendump. 23498 (closes #9360) 23499 Files: src/testdir/test_vim9_func.vim, 23500 src/testdir/dumps/Test_opfunc_error.dump 23501 23502 Patch 8.2.3832 (after 8.2.3830) 23503 Problem: Test fails because of changed error message. 23504 Solution: Adjust the expected error message. 23505 Files: src/testdir/test_vimscript.vim 23506 23507 Patch 8.2.3833 23508 Problem: Error from term_start() not caught by try/catch. 23509 Solution: save and restore did_emsg when applying autocommands. (Ozaki 23510 Kiichi, closes #9361) 23511 Files: src/autocmd.c, src/testdir/test_terminal3.vim 23512 23513 Patch 8.2.3834 23514 Problem: Test_out_cb often fails on Mac. 23515 Solution: Increase the timeout with every retry. 23516 Files: src/testdir/test_channel.vim 23517 23518 Patch 8.2.3835 23519 Problem: The inline-function example does not work. 23520 Solution: Drop ":let". Add EX_EXPR_ARG to CMD_var. (issue #9352) 23521 Files: runtime/doc/vim9.txt, src/ex_cmds.h, 23522 src/testdir/test_vim9_expr.vim 23523 23524 Patch 8.2.3836 23525 Problem: Vim9: comment after expression not skipped to find NL. 23526 Solution: After evaluating an expression look for a newline after a # 23527 comment. 23528 Files: src/eval.c 23529 23530 Patch 8.2.3837 23531 Problem: QNX: crash when compiled with GUI but using terminal. 23532 Solution: Check gui.in_use is set. (Hirohito Higashi, closes #9363) 23533 Files: src/autocmd.c 23534 23535 Patch 8.2.3838 23536 Problem: Cannot use script-local function for setting *func options. 23537 Solution: Use the script context. (Yegappan Lakshmanan, closes #9362) 23538 Files: src/option.c, src/testdir/dumps/Test_set_tagfunc_on_cmdline.dump, 23539 src/testdir/test_ins_complete.vim, src/testdir/test_normal.vim, 23540 src/testdir/test_quickfix.vim, src/testdir/test_tagfunc.vim 23541 23542 Patch 8.2.3839 23543 Problem: Using \z() with \z1 not tested for syntax highlighting. 23544 Solution: Add a test. (Dominique Pellé, closes #9365) 23545 Files: src/testdir/test_syntax.vim 23546 23547 Patch 8.2.3840 23548 Problem: Useless test for negative index in check functions. 23549 Solution: Remove the test for negative index. (Naruhiko Nishino, 23550 closes #9364) 23551 Files: src/typval.c 23552 23553 Patch 8.2.3841 23554 Problem: Vim9: outdated TODO items, disabled tests that work. 23555 Solution: Remove TODO items, run tests that work now. Check that a dict 23556 item isn't locked. 23557 Files: src/vim9execute.c, src/evalvars.c, src/errors.h, src/globals.h, 23558 src/testdir/test_listdict.vim, src/testdir/test_vim9_assign.vim 23559 23560 Patch 8.2.3842 23561 Problem: Vim9: can change locked list and list items. 23562 Solution: Check that a list and list item isn't locked. 23563 Files: src/vim9execute.c, src/testdir/test_listdict.vim 23564 23565 Patch 8.2.3843 23566 Problem: Dep3patch files are not recognized. 23567 Solution: Recognize dep3patch files by their location and content. (James 23568 McCoy, closes #9367) 23569 Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim, 23570 src/testdir/test_filetype.vim 23571 23572 Patch 8.2.3844 23573 Problem: Vim9: no type error if assigning a value with type func(number) to 23574 a variable of type func(string). 23575 Solution: Use check_type_maybe(): return MAYBE if a runtime type check is 23576 useful. (issue #8492) 23577 Files: src/vim9type.c, src/proto/vim9type.pro, src/vim9compile.c, 23578 src/testdir/test_vim9_assign.vim 23579 23580 Patch 8.2.3845 23581 Problem: Vim9: test fails when the channel feature is missing. 23582 Solution: Check for the channel feature. (Dominique Pellé, closes #9368) 23583 Files: src/testdir/test_vim9_builtin.vim 23584 23585 Patch 8.2.3846 23586 Problem: No error when using control character for 'lcs' or 'fcs'. 23587 Solution: Use char2cells() to check the width. (closes #9369) 23588 Files: src/screen.c, src/testdir/test_display.vim, 23589 src/testdir/test_listchars.vim 23590 23591 Patch 8.2.3847 23592 Problem: Illegal memory access when using a lambda with an error. 23593 Solution: Avoid skipping over the NUL after a string. 23594 Files: src/eval.c, src/testdir/test_lambda.vim 23595 23596 Patch 8.2.3848 23597 Problem: Cannot use reduce() for a string. 23598 Solution: Make reduce() work with a string. (Naruhiko Nishino, closes #9366) 23599 Files: runtime/doc/eval.txt, src/errors.h, src/evalfunc.c, src/list.c, 23600 src/typval.c, src/proto/typval.pro, src/testdir/test_listdict.vim, 23601 src/testdir/test_vim9_builtin.vim 23602 23603 Patch 8.2.3849 23604 Problem: Functions implementing reduce and map are too long. 23605 Solution: Use a function for each type of value. Add a few more test cases 23606 and add to the help. (Yegappan Lakshmanan, closes #9370) 23607 Files: runtime/doc/eval.txt, src/list.c, src/testdir/test_listdict.vim 23608 23609 Patch 8.2.3850 23610 Problem: Illegal memory access when displaying a partial. 23611 Solution: Terminate the string with a NUL. (closes #9371) 23612 Files: src/eval.c, src/testdir/test_messages.vim 23613 23614 Patch 8.2.3851 23615 Problem: Vim9: overhead when comparing string, dict or function. 23616 Solution: Call the intended compare function directly. Refactor to avoid 23617 duplicated code. 23618 Files: src/vim9execute.c, src/typval.c, src/proto/typval.pro 23619 23620 Patch 8.2.3852 23621 Problem: Vim9: not enough tests. 23622 Solution: Also run existing tests for Vim9 script. Make errors more 23623 consistent. 23624 Files: src/testdir/test_listdict.vim, src/eval.c, src/vim9compile.c, 23625 src/errors.h 23626 23627 Patch 8.2.3853 23628 Problem: Vim9: not enough tests. 23629 Solution: Run more existing tests for Vim9 script. 23630 Files: src/testdir/test_listdict.vim 23631 23632 Patch 8.2.3854 23633 Problem: Vim9: inconsistent arguments for test functions. 23634 Solution: When :def function and script have different arguments use a list 23635 with two items instead of a separate function. 23636 Files: src/testdir/vim9.vim, src/testdir/test_execute_func.vim, 23637 src/testdir/test_float_func.vim, src/testdir/test_functions.vim, 23638 src/testdir/test_glob2regpat.vim, src/testdir/test_listdict.vim, 23639 src/testdir/test_vim9_assign.vim, 23640 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim, 23641 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim, 23642 src/testdir/test_vim9_script.vim 23643 23644 Patch 8.2.3855 23645 Problem: Illegal memory access when displaying a blob. 23646 Solution: Append a NUL at the end. (Yegappan Lakshmanan, closes #9372) 23647 Files: src/blob.c, src/regexp_nfa.c, src/testdir/test_blob.vim, 23648 src/testdir/test_messages.vim 23649 23650 Patch 8.2.3856 23651 Problem: Vim9: not enough tests. 23652 Solution: Run more expression tests also with Vim9. Fix an uncovered 23653 problem. 23654 Files: src/vim9compile.c, src/testdir/test_expr.vim, src/testdir/vim9.vim 23655 23656 Patch 8.2.3857 23657 Problem: Vim9: inconsistent error for using function(). 23658 Solution: Use a runtime type check for the result of function(). 23659 (closes #8492) 23660 Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim 23661 23662 Patch 8.2.3858 23663 Problem: Vim9: not enough tests. 23664 Solution: Add tests for :try/:catch and :redir. Add missing type check. 23665 Files: src/vim9compile.c, src/testdir/test_vim9_script.vim, 23666 src/testdir/test_vim9_cmd.vim 23667 23668 Patch 8.2.3859 23669 Problem: Vim9: some code lines not tested. 23670 Solution: Add a few specific tests. 23671 Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim, src/errors.h, 23672 src/testdir/test_vim9_script.vim 23673 23674 Patch 8.2.3860 23675 Problem: Vim9: codecov struggles with the file size. 23676 Solution: Split vim9compile.c into four files. 23677 Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9instr.c, 23678 src/proto/vim9instr.pro, src/vim9expr.c, src/proto/vim9expr.pro, 23679 src/vim9cmds.c, src/proto/vim9cmds.pro, src/vim9.h, 23680 src/vim9execute.c, src/vim9script.c, src/proto.h, 23681 src/Makefile, src/Make_ami.mak, src/Make_cyg_ming.mak, 23682 src/Make_mvc.mak, src/Make_vms.mms 23683 23684 Patch 8.2.3861 23685 Problem: List of distributed files is outdated. 23686 Solution: Add new files. 23687 Files: Filelist 23688 23689 Patch 8.2.3862 23690 Problem: Crash on exit with EXITFREE and using win_execute(). 23691 Solution: Also save and restore tp_topframe. (issue #9374) 23692 Files: src/evalwindow.c, src/testdir/test_execute_func.vim 23693 23694 Patch 8.2.3863 (after 8.2.3860) 23695 Problem: Various build flags accidentally enabled. 23696 Solution: Revert several lines in Makefile. 23697 Files: src/Makefile 23698 23699 Patch 8.2.3864 23700 Problem: Cannot disable requesting key codes from xterm. 23701 Solution: Add the 'xtermcodes' option, default on. 23702 Files: runtime/doc/options.txt, runtime/doc/term.txt, src/option.h, 23703 src/optiondefs.h, src/term.c, runtime/optwin.vim 23704 23705 Patch 8.2.3865 23706 Problem: Vim9: compiler complains about using "try" as a struct member. 23707 Solution: Rename "try" to "tryref". 23708 Files: src/vim9.h, src/vim9cmds.c, src/vim9execute.c, src/vim9instr.c 23709 23710 Patch 8.2.3866 23711 Problem: Vim9: type checking global variables is inconsistent. 23712 Solution: Use the "unknown" type in more places. 23713 Files: src/globals.h, src/vim9expr.c, src/vim9instr.c, src/vim9cmds.c, 23714 src/evalfunc.c, src/testdir/test_vim9_func.vim 23715 23716 Patch 8.2.3867 23717 Problem: Implementation of some list functions too complicated. 23718 Solution: Refactor do_sort_uniq(), f_count() and extend() (Yegappan 23719 Lakshmanan, closes #9378) 23720 Files: src/list.c 23721 23722 Patch 8.2.3868 (after 8.2.3866) 23723 Problem: Vim9: function test fails. 23724 Solution: Add missing changes. Add test for earlier patch. 23725 Files: src/vim9type.c, src/testdir/test_vim9_disassemble.vim 23726 23727 Patch 8.2.3869 23728 Problem: Vim9: type checking for "any" is inconsistent. 23729 Solution: Always use a runtime type check for using "any" for a more 23730 specific type. 23731 Files: src/vim9type.c, src/vim9compile.c, src/vim9expr.c, 23732 src/testdir/test_vim9_func.vim 23733 23734 Patch 8.2.3870 23735 Problem: MS-Windows: wrong working directory when opening two files with 23736 right-click context menu. (Gabriel Dupras) 23737 Solution: Use the working directory and pass it on to the process creation. 23738 (Nir Lichtman, closes #9382, closes #8874) 23739 Files: src/GvimExt/gvimext.cpp, src/GvimExt/gvimext.h 23740 23741 Patch 8.2.3871 23742 Problem: List.c contains code for dict and blob. 23743 Solution: Refactor to put code where it belongs. (Yegappan Lakshmanan, 23744 closes #9386) 23745 Files: src/blob.c, src/dict.c, src/list.c, src/proto/blob.pro, 23746 src/proto/dict.pro, src/proto/list.pro, src/proto/strings.pro, 23747 src/strings.c, src/structs.h, src/testdir/test_filter_map.vim, 23748 src/testdir/test_listdict.vim, src/testdir/test_sort.vim 23749 23750 Patch 8.2.3872 23751 Problem: Vim9: finddir() and uniq() return types can be more specific. 23752 Solution: Adjust the return type. 23753 Files: src/evalfunc.c, src/testdir/vim9.vim, 23754 src/testdir/test_vim9_builtin.vim 23755 23756 Patch 8.2.3873 23757 Problem: go.mod files are not recognized. 23758 Solution: Check for the file name. (closes #9380) 23759 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 23760 23761 Patch 8.2.3874 23762 Problem: Cannot highlight the number column for a sign. 23763 Solution: Add the "numhl" argument. (James McCoy, closes #9381) 23764 Files: runtime/doc/options.txt, runtime/doc/sign.txt, src/drawline.c, 23765 src/popupwin.c, src/proto/sign.pro, src/sign.c, src/structs.h, 23766 src/testdir/test_signs.vim 23767 23768 Patch 8.2.3875 23769 Problem: gcc complains about buffer overrun. 23770 Solution: Use mch_memmove() instead of STRCPY(). (John Marriott) 23771 Files: src/dict.c 23772 23773 Patch 8.2.3876 23774 Problem: 'cindent' does not recognize inline namespace. 23775 Solution: Skip over "inline" to find "namespace". (closes #9383) 23776 Files: src/cindent.c, src/testdir/test_cindent.vim 23777 23778 Patch 8.2.3877 23779 Problem: Function does not abort after a type error in compare 23780 Solution: Check getting number fails. (closes #9384) 23781 Files: src/typval.c, src/testdir/test_vim9_expr.vim 23782 23783 Patch 8.2.3878 23784 Problem: Vim9: debugger tries to read more lines than there are. 23785 Solution: Check the number of lines. (closes #9394) 23786 Files: src/vim9execute.c, src/testdir/test_vim9_script.vim 23787 23788 Patch 8.2.3879 23789 Problem: getreg() and getregtype() contain dead code. 23790 Solution: Remove the needless check. (closes #9392) Also refactor to put 23791 common code in a shared function. 23792 Files: src/evalfunc.c 23793 23794 Patch 8.2.3880 23795 Problem: Solution filter files are not recognized. 23796 Solution: Add pattern *.slnf and use json. (Doug Kearns) 23797 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 23798 23799 Patch 8.2.3881 23800 Problem: QNX: crash when compiled with GUI but using terminal. 23801 Solution: Check the gui.in_use flag. (Hirohito Higashi, closes #9391) 23802 Files: src/main.c 23803 23804 Patch 8.2.3882 (after 8.2.3879) 23805 Problem: More duplicated code in f_getreginfo(). 23806 Solution: Also use getreg_get_regname(). (closes #9398) 23807 Files: src/evalfunc.c 23808 23809 Patch 8.2.3883 23810 Problem: Crash when switching to other regexp engine fails. 23811 Solution: Check for regprog being NULL. 23812 Files: src/ex_cmds.c 23813 23814 Patch 8.2.3884 23815 Problem: Crash when clearing the argument list while using it. 23816 Solution: Lock the argument list for ":all". 23817 Files: src/arglist.c, src/testdir/test_arglist.vim 23818 23819 Patch 8.2.3885 23820 Problem: Arglist test fails. 23821 Solution: Adjust for locking the arglist for ":all". 23822 Files: src/testdir/test_arglist.vim 23823 23824 Patch 8.2.3886 23825 Problem: Can define autocmd for every event by using "au!". 23826 Solution: Check if a command is present also for "au!". 23827 Files: src/autocmd.c, src/testdir/test_autocmd.vim, 23828 src/testdir/test_arglist.vim 23829 23830 Patch 8.2.3887 23831 Problem: E1135 is used for two different errors. 23832 Solution: Renumber one error. 23833 Files: src/errors.h, src/testdir/test_mapping.vim 23834 23835 Patch 8.2.3888 23836 Problem: The argument list may contain duplicates. 23837 Solution: Add the :argdedeupe command. (Nir Lichtman, closes #6235) 23838 Files: runtime/doc/editing.txt, runtime/doc/index.txt, src/arglist.c, 23839 src/ex_cmdidxs.h, src/ex_cmds.h, src/proto/arglist.pro, 23840 src/testdir/test_arglist.vim 23841 23842 Patch 8.2.3889 23843 Problem: Duplicate code for translating script-local function name. 23844 Solution: Move the code to get_scriptlocal_funcname(). (Yegappan Lakshmanan, 23845 closes #9393) 23846 Files: src/evalfunc.c, src/evalvars.c, src/option.c, src/userfunc.c, 23847 src/proto/userfunc.pro, src/testdir/test_expr.vim, 23848 src/testdir/test_normal.vim 23849 23850 Patch 8.2.3890 23851 Problem: Vim9: type check for using v: variables is basic. 23852 Solution: Specify a more precise type. 23853 Files: src/evalvars.c, src/proto/evalvars.pro, src/vim9instr.c, 23854 src/testdir/test_vim9_expr.vim 23855 23856 Patch 8.2.3891 23857 Problem: Github CI: workflows may overlap. 23858 Solution: Cancel previous workflows when starting a new one. (Yegappan 23859 Lakshmanan, closes #9400) 23860 Files: .github/workflows/ci.yml, .github/workflows/codeql-analysis.yml 23861 23862 Patch 8.2.3892 23863 Problem: When modifyOtherKeys is used CTRL-C is not recognized. 23864 Solution: Check for uppercase C as well, fix minimum length. 23865 Files: src/ui.c 23866 23867 Patch 8.2.3893 23868 Problem: Vim9: many local variables are initialized with an instruction. 23869 Solution: Initialize local variables to zero to avoid the instructions. 23870 Files: src/vim9execute.c, src/vim9compile.c, src/vim9instr.c, 23871 src/proto/vim9instr.pro, src/vim9cmds.c, 23872 src/testdir/test_vim9_disassemble.vim 23873 23874 Patch 8.2.3894 23875 Problem: Vim9: no proper type check for first argument of call(). 23876 Solution: Add specific type check. 23877 Files: src/evalfunc.c, src/typval.c, src/proto/typval.pro, 23878 src/errors.h, src/testdir/test_vim9_builtin.vim 23879 23880 Patch 8.2.3895 23881 Problem: Vim9: confusing error when using function() with a number. 23882 Solution: Check for a function or string argument. 23883 Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim 23884 23885 Patch 8.2.3896 23886 Problem: Vim9: no test for nested function not available later. 23887 Solution: Add a test. 23888 Files: src/testdir/test_vim9_func.vim 23889 23890 Patch 8.2.3897 23891 Problem: Vim9: the second argument of map() and filter() is not checked at 23892 compile time. 23893 Solution: Add more specific type check for the second argument. 23894 Files: src/evalfunc.c, src/globals.h, src/list.c, 23895 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim, 23896 src/testdir/test_vim9_script.vim 23897 23898 Patch 8.2.3898 23899 Problem: Vim9: not sufficient testing for variable initialization. 23900 Solution: Add another test case. 23901 Files: src/testdir/test_vim9_disassemble.vim 23902 23903 Patch 8.2.3899 (after 8.2.3897) 23904 Problem: Vim9: test for map() on string fails. 23905 Solution: Expect string return type. 23906 Files: src/evalfunc.c 23907 23908 Patch 8.2.3900 23909 Problem: It is not easy to use a script-local function for an option. 23910 Solution: recognize s: and <SID> at the start of the expression. (Yegappan 23911 Lakshmanan, closes #9401) 23912 Files: runtime/doc/diff.txt, runtime/doc/fold.txt, 23913 runtime/doc/options.txt, runtime/doc/print.txt, src/optionstr.c, 23914 src/testdir/test_diffmode.vim, src/testdir/test_edit.vim, 23915 src/testdir/test_fold.vim, src/testdir/test_gf.vim, 23916 src/testdir/test_gui.vim, src/testdir/test_hardcopy.vim, 23917 src/testdir/test_normal.vim 23918 23919 Patch 8.2.3901 23920 Problem: Vim9: Cannot set 'cpo' in main .vimrc if using Vim9 script. 23921 Solution: Do not restore 'cpo' at the end of the main .vimrc. 23922 Files: runtime/doc/vim9.txt, runtime/doc/options.txt, src/scriptfile.c, 23923 src/structs.h, src/testdir/test_vim9_script.vim 23924 23925 Patch 8.2.3902 23926 Problem: Vim9: double free with nested :def function. 23927 Solution: Pass "line_to_free" from compile_def_function() and make sure 23928 cmdlinep is valid. 23929 Files: src/vim9compile.c, src/userfunc.c, src/proto/userfunc.pro, 23930 src/vim9execute.c, src/testdir/test_vim9_func.vim 23931 23932 Patch 8.2.3903 23933 Problem: "gM" does not count tabs as expected. 23934 Solution: Use linetabsize() instead of mb_string2cells(). (closes #9409) 23935 Files: src/normal.c, src/testdir/test_normal.vim 23936 23937 Patch 8.2.3904 23938 Problem: Vim9: skip expression type is not checked at compile time. 23939 Solution: Add argument type checks. 23940 Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim 23941 23942 Patch 8.2.3905 23943 Problem: Dockerfile using prefix name not recognized. 23944 Solution: Recognize Dockerfile.*. (closes #9410) 23945 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 23946 23947 Patch 8.2.3906 23948 Problem: Vim9 help still contains "under development" warnings. 23949 Solution: Remove the explicit warning. 23950 Files: runtime/doc/vim9.txt 23951 23952 Patch 8.2.3907 23953 Problem: Error messages are spread out. 23954 Solution: Move error messages to errors.h. Avoid duplicates. 23955 Files: src/userfunc.c, src/ex_cmds.c, src/viminfo.c, src/errors.h, 23956 src/testdir/test_user_func.vim 23957 23958 Patch 8.2.3908 23959 Problem: Cannot use a script-local function for 'foldtext'. 23960 Solution: Expand "s:" and "<SID>". (Yegappan Lakshmanan, closes #9411) 23961 Files: runtime/doc/fold.txt, src/optionstr.c, src/strings.c, 23962 src/testdir/test_blob.vim, src/testdir/test_expr.vim, 23963 src/testdir/test_filter_map.vim, src/testdir/test_fold.vim, 23964 src/testdir/test_listdict.vim 23965 23966 Patch 8.2.3909 23967 Problem: Containerfile using prefix name not recognized. 23968 Solution: Recognize Containerfile.*. 23969 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 23970 23971 Patch 8.2.3910 23972 Problem: When the compare function of sort() produces and error then sort() 23973 does not abort. 23974 Solution: Check if did_emsg was incremented. 23975 Files: src/list.c, src/testdir/test_vim9_builtin.vim 23976 23977 Patch 8.2.3911 23978 Problem: Vim9: type check for filter() does not accept unknown. 23979 Solution: Also accept unknown for the return type. (closes #9413) 23980 Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim 23981 23982 Patch 8.2.3912 23983 Problem: The ins_complete() function is much too long. 23984 Solution: Split it up into multiple functions. (Yegappan Lakshmanan, 23985 closes #9414) 23986 Files: src/insexpand.c 23987 23988 Patch 8.2.3913 23989 Problem: Help for expressions does not mention Vim9 syntax. 23990 Solution: Add the rules for Vim9 to the expression help. Rename functions 23991 to match the help. 23992 Files: runtime/doc/vim9.txt, runtime/doc/eval.txt, src/vim9expr.c 23993 23994 Patch 8.2.3914 23995 Problem: Various spelling mistakes in comments. 23996 Solution: Fix the mistakes. (Dominique Pellé, closes #9416) 23997 Files: src/alloc.c, src/blowfish.c, src/buffer.c, src/cindent.c, 23998 src/clipboard.c, src/diff.c, src/drawline.c, src/edit.c, 23999 src/ex_cmds.c, src/ex_docmd.c, src/findfile.c, src/fold.c, 24000 src/getchar.c, src/gui.c, src/gui_athena.c, src/gui_gtk.c, 24001 src/gui_motif.c, src/gui_photon.c, src/gui_w32.c, src/gui_xmebw.c, 24002 src/if_python.c, src/if_python3.c, src/if_xcmdsrv.c, src/main.c, 24003 src/memline.c, src/menu.c, src/message.c, src/misc1.c, src/move.c, 24004 src/option.c, src/os_amiga.c, src/os_mac.h, src/os_mac_conv.c, 24005 src/os_mswin.c, src/os_unix.c, src/os_win32.c, src/os_win32.h, 24006 src/quickfix.c, src/regexp_nfa.c, src/screen.c, src/scriptfile.c, 24007 src/spell.c, src/spellfile.c, src/spellsuggest.c, src/strings.c, 24008 src/term.c, src/terminal.c, src/testdir/test_debugger.vim, 24009 src/testdir/test_source.vim, src/textformat.c, src/userfunc.c, 24010 src/vim.h, src/vim9.h, src/vim9cmds.c, src/vim9execute.c, 24011 src/winclip.c, src/window.c 24012 24013 Patch 8.2.3915 24014 Problem: illegal memory access when completing with invalid bytes. 24015 Solution: Avoid going over the end of the completion text. 24016 Files: src/insexpand.c, src/testdir/test_ins_complete.vim 24017 24018 Patch 8.2.3916 24019 Problem: No error for passing an invalid line number to append(). 24020 Solution: In Vim9 script check for a non-negative number. (closes #9417) 24021 Files: src/evalbuffer.c, src/textprop.c, src/errors.h, src/indent.c, 24022 src/eval.c, src/testdir/test_vim9_builtin.vim 24023 24024 Patch 8.2.3917 24025 Problem: The eval.txt help file is way too big. 24026 Solution: Move the builtin function details to a separate file. 24027 Files: runtime/doc/eval.txt, runtime/doc/builtin.txt, 24028 runtime/doc/Makefile, runtime/doc/help.txt, runtime/doc/remote.txt 24029 24030 Patch 8.2.3918 (after 8.2.3916) 24031 Problem: Function list test fails. 24032 Solution: Adjust the test for the new location of the function list. 24033 Files: src/testdir/test_function_lists.vim 24034 24035 Patch 8.2.3919 24036 Problem: Vim9: wrong argument for append() results in two errors. 24037 Solution: Check did_emsg. Also for setline(). Adjust the help for 24038 appendbufline(). 24039 Files: runtime/doc/builtin.txt, src/evalbuffer.c, src/typval.c, 24040 src/testdir/test_vim9_builtin.vim 24041 24042 Patch 8.2.3920 24043 Problem: Restoring directory after using another window is inefficient. 24044 Solution: Only restore the directory for win_execute(). Apply 'autochdir' 24045 only when needed. 24046 Files: src/evalwindow.c, src/testdir/test_autochdir.vim 24047 24048 Patch 8.2.3921 24049 Problem: The way xdiff is used is inefficient. 24050 Solution: Use hunk_func instead of the out_line callback. (Lewis Russell, 24051 closes #9344) 24052 Files: src/diff.c 24053 24054 Patch 8.2.3922 24055 Problem: Cannot build with dynamic Ruby 3.1. 24056 Solution: Add "_EXTRA" variables for CI. Add missing functions. (Ozaki 24057 Kiichi, closes #9420) 24058 Files: ci/config.mk.clang-12.sed, ci/config.mk.clang.sed, 24059 ci/config.mk.sed, src/Makefile, src/auto/configure, 24060 src/config.mk.in, src/configure.ac, src/if_ruby.c, src/vim.h 24061 24062 Patch 8.2.3923 24063 Problem: Vim9: double free if a nested function has a line break in the 24064 argument list. 24065 Solution: Set cmdlinep when freeing the previous line. 24066 Files: src/userfunc.c, src/testdir/test_vim9_func.vim 24067 24068 Patch 8.2.3924 24069 Problem: Vim9: no error if something follows :enddef in a nested function. 24070 Solution: Give an error. Move common code to a function. 24071 Files: src/userfunc.c, src/vim9compile.c, src/errors.h, 24072 src/testdir/test_vim9_func.vim 24073 24074 Patch 8.2.3925 24075 Problem: Diff mode confused by NUL bytes. 24076 Solution: Handle NUL bytes differently. (Christian Brabandt, closes #9421, 24077 closes #9418) 24078 Files: src/diff.c, src/testdir/test_diffmode.vim, 24079 src/testdir/dumps/Test_diff_bin_01.dump, 24080 src/testdir/dumps/Test_diff_bin_02.dump, 24081 src/testdir/dumps/Test_diff_bin_03.dump, 24082 src/testdir/dumps/Test_diff_bin_04.dump 24083 24084 Patch 8.2.3926 (after 8.2.3920) 24085 Problem: Build failure without the 'autochdir' option. (John Marriott) 24086 Solution: Add #ifdefs. 24087 Files: src/evalwindow.c 24088 24089 Patch 8.2.3927 24090 Problem: Vim9: double free when using lambda. 24091 Solution: Don't free both cmdline and line_to_free. 24092 Files: src/userfunc.c 24093 24094 Patch 8.2.3928 24095 Problem: Heredoc test fails. 24096 Solution: Correct order of function arguments. 24097 Files: src/userfunc.c 24098 24099 Patch 8.2.3929 24100 Problem: Using uninitialized variable. 24101 Solution: Set the option flags to zero for a terminal option. 24102 Files: src/option.c 24103 24104 Patch 8.2.3930 24105 Problem: getcmdline() argument has a misleading type. 24106 Solution: Use the correct type, even though the value is not used. 24107 Files: src/ex_getln.c, src/proto/ex_getln.pro, src/ex_docmd.c, 24108 src/normal.c, src/register.c, src/userfunc.c 24109 24110 Patch 8.2.3931 24111 Problem: Coverity reports a memory leak. 24112 Solution: Free memory in case of failure. 24113 Files: src/diff.c 24114 24115 Patch 8.2.3932 24116 Problem: C line comment not formatted properly. 24117 Solution: If a line comment follows after "#if" the next line is not the end 24118 of a paragraph. 24119 Files: src/textformat.c, src/testdir/test_textformat.vim 24120 24121 Patch 8.2.3933 24122 Problem: After ":cd" fails ":cd -" is incorrect. 24123 Solution: Set the previous directory only after successfully changing 24124 directory. (Richard Doty, closes #9419, closes #8983) 24125 Files: src/ex_docmd.c, src/testdir/test_cd.vim 24126 24127 Patch 8.2.3934 24128 Problem: Repeating line comment is undesired for "O" command. 24129 Solution: Do not copy line comment leader for "O". (closes #9426) 24130 Files: src/change.c, src/testdir/test_textformat.vim 24131 24132 Patch 8.2.3935 24133 Problem: CTRL-U in Insert mode does not fix the indent. 24134 Solution: Fix the indent when 'cindent' is set. 24135 Files: src/edit.c, src/testdir/test_textformat.vim 24136 24137 Patch 8.2.3936 24138 Problem: No proper test for maintaining change mark in diff mode. 24139 Solution: Run the test with internal and external diff. (Sean Dewar, 24140 closes #9424) 24141 Files: src/testdir/test_diffmode.vim 24142 24143 Patch 8.2.3937 24144 Problem: Insert mode completion function is too long. 24145 Solution: Refactor into multiple functions. (Yegappan Lakshmanan, 24146 closes #9423) 24147 Files: src/insexpand.c, src/testdir/test_ins_complete.vim 24148 24149 Patch 8.2.3938 24150 Problem: Line comment start is also found in a string. 24151 Solution: Skip line comments in a string. 24152 Files: src/cindent.c, src/proto/cindent.pro, src/search.c, 24153 src/testdir/test_textformat.vim 24154 24155 Patch 8.2.3939 24156 Problem: MS-Windows: fnamemodify('', ':p') does not work. 24157 Solution: Do not consider an empty string a full path. (Yegappan Lakshmanan, 24158 closes #9428, closes #9427) 24159 Files: src/os_mswin.c, src/testdir/test_fnamemodify.vim 24160 24161 Patch 8.2.3940 24162 Problem: Match highlight disappears when doing incsearch for ":s/pat". 24163 Solution: Only use line limit for incsearch highlighting. (closes #9425) 24164 Files: src/match.c, src/testdir/test_match.vim, 24165 src/testdir/dumps/Test_match_with_incsearch_1.dump, 24166 src/testdir/dumps/Test_match_with_incsearch_2.dump 24167 24168 Patch 8.2.3941 24169 Problem: SIGTSTP is not handled. 24170 Solution: Handle SIGTSTP like pressing CTRL-Z. (closes #9422) 24171 Files: runtime/doc/autocmd.txt, src/ex_docmd.c, src/os_unix.c, 24172 src/proto/ex_docmd.pro, src/testdir/test_signals.vim 24173 24174 Patch 8.2.3942 24175 Problem: Coverity reports a possible memory leak. 24176 Solution: Free the array if allocation fails. 24177 Files: src/insexpand.c 24178 24179 Patch 8.2.3943 24180 Problem: Compiler warning from gcc for uninitialized variable. 24181 Solution: Initialize variable. (closes #9429) 24182 Files: src/diff.c 24183 24184 Patch 8.2.3944 24185 Problem: Insert mode completion functions are too long. 24186 Solution: Split up into multiple functions. (Yegappan Lakshmanan, 24187 closes #9431) 24188 Files: src/insexpand.c, src/testdir/test_ins_complete.vim 24189 24190 Patch 8.2.3945 24191 Problem: Vim9: partial variable argument types are wrong, leading to a 24192 crash. 24193 Solution: When adjusting the argument count also adjust the argument types. 24194 (closes #9433) 24195 Files: src/vim9type.c, src/userfunc.c, src/testdir/test_vim9_assign.vim 24196 24197 Patch 8.2.3946 24198 Problem: When an internal error makes Vim exit the error is not seen. 24199 Solution: Add the error to the test output. 24200 Files: src/message.c, src/testdir/runtest.vim 24201 24202 Patch 8.2.3947 24203 Problem: Unnecessary check for NULL pointer. 24204 Solution: Remove the check. (closes #9434) 24205 Files: src/ex_docmd.c 24206 24207 Patch 8.2.3948 24208 Problem: Vim9: failure with partial with unknown argument count. 24209 Solution: Do not copy argument types if there aren't any. 24210 Files: src/vim9type.c 24211 24212 Patch 8.2.3949 24213 Problem: Using freed memory with /\%V. 24214 Solution: Get the line again after getvvcol(). 24215 Files: src/regexp.c, src/testdir/test_regexp_latin.vim 24216 24217 Patch 8.2.3950 24218 Problem: Going beyond the end of the line with /\%V. 24219 Solution: Check for valid column in getvcol(). 24220 Files: src/charset.c, src/testdir/test_regexp_latin.vim 24221 24222 Patch 8.2.3951 24223 Problem: Vim9: memory leak when text after a nested function. 24224 Solution: Free the function if text is found after "enddef". 24225 Files: src/vim9compile.c, src/testdir/test_vim9_func.vim 24226 24227 Patch 8.2.3952 24228 Problem: First line not redrawn when adding lines to an empty buffer. 24229 Solution: Adjust the argument to appended_lines(). (closes #9439, 24230 closes #9438) 24231 Files: src/ex_cmds.c, src/testdir/test_excmd.vim 24232 24233 Patch 8.2.3953 24234 Problem: Insert completion code is too complicated. 24235 Solution: More refactoring. Move function arguments into a struct. 24236 (Yegappan Lakshmanan, closes #9437) 24237 Files: src/insexpand.c 24238 24239 Patch 8.2.3954 24240 Problem: Vim9: no error for shadowing if script var is declared later. 24241 Solution: Check argument names when compiling a function. 24242 Files: src/vim9compile.c, src/testdir/test_vim9_func.vim, 24243 src/testdir/test_vim9_assign.vim 24244 24245 Patch 8.2.3955 24246 Problem: Error messages are spread out. 24247 Solution: Move more errors to errors.h. 24248 Files: src/errors.h, src/globals.h, src/debugger.c, src/ex_cmds.c, 24249 src/help.c, src/sign.c, src/spellfile.c 24250 24251 Patch 8.2.3956 24252 Problem: Duplicate assignment. 24253 Solution: Remove the second assignment. (closes #9442) 24254 Files: src/evalfunc.c 24255 24256 Patch 8.2.3957 24257 Problem: Error messages are spread out. 24258 Solution: Move more errors to errors.h. 24259 Files: src/errors.h, src/globals.h, src/arglist.c, src/bufwrite.c, 24260 src/evalvars.c, src/ex_cmds2.c, src/ex_docmd.c, src/ex_eval.c, 24261 src/help.c, src/scriptfile.c, src/usercmd.c, src/userfunc.c, 24262 src/vim9cmds.c, src/vim9compile.c 24263 24264 Patch 8.2.3958 24265 Problem: Build failure compiling xxd with "-std=c2x". 24266 Solution: define _XOPEN_SOURCE. (Yegappan Lakshmanan, closes #9444) 24267 Files: src/xxd/xxd.c 24268 24269 Patch 8.2.3959 24270 Problem: Error messages are spread out. 24271 Solution: Move more errors to errors.h. 24272 Files: src/errors.h, src/autocmd.c, src/bufwrite.c, src/evalvars.c, 24273 src/ex_docmd.c, src/ex_eval.c, src/ex_getln.c, src/fileio.c, 24274 src/getchar.c, src/gui.c, src/locale.c, src/map.c 24275 24276 Patch 8.2.3960 24277 Problem: Error messages are spread out. 24278 Solution: Move more errors to errors.h. 24279 Files: src/errors.h, src/alloc.c, src/arglist.c, src/autocmd.c, 24280 src/blob.c, src/blowfish.c, src/buffer.c, src/bufwrite.c 24281 24282 Patch 8.2.3961 24283 Problem: Error messages are spread out. 24284 Solution: Move more errors to errors.h. 24285 Files: src/errors.h, src/globals.h, src/arglist.c, src/autocmd.c, 24286 src/blob.c, src/bufwrite.c, src/channel.c, src/clipboard.c, 24287 src/cmdexpand.c, src/debugger.c, src/dict.c, src/eval.c, 24288 src/evalfunc.c, src/evalvars.c, src/evalwindow.c, src/ex_cmds.c, 24289 src/ex_docmd.c, src/ex_eval.c, src/ex_getln.c, src/fileio.c, 24290 src/filepath.c, src/gui_gtk_x11.c, src/gui_haiku.cc, 24291 src/gui_photon.c, src/gui_w32.c, src/gui_x11.c, src/highlight.c, 24292 src/indent.c, src/insexpand.c, src/job.c, src/json.c, src/list.c, 24293 src/map.c, src/mark.c, src/match.c, src/mbyte.c, src/menu.c, 24294 src/message.c, src/misc2.c, src/ops.c, src/option.c, 24295 src/optionstr.c, src/popupwin.c, src/quickfix.c, src/screen.c, 24296 src/scriptfile.c, src/search.c, src/sign.c, src/spell.c, 24297 src/spellfile.c, src/strings.c, src/syntax.c, src/terminal.c, 24298 src/testing.c, src/textprop.c, src/time.c, src/userfunc.c, 24299 src/vim9cmds.c, src/vim9execute.c, src/vim9script.c, src/window.c 24300 24301 Patch 8.2.3962 (after 8.2.3961) 24302 Problem: Build fails for missing error message. 24303 Solution: Add changes in missed file. 24304 Files: src/regexp_bt.c 24305 24306 Patch 8.2.3963 24307 Problem: Build failure with tiny and small features. (Tony Mechelynck) 24308 Solution: Adjust #ifdefs. 24309 Files: src/errors.h, src/message.c 24310 24311 Patch 8.2.3964 24312 Problem: Some common lisp and scheme files not recognized. 24313 Solution: Recognize *.asd as lisp and *.sld as scheme. (Alex Vear, 24314 closes #9447) 24315 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 24316 24317 Patch 8.2.3965 24318 Problem: Vim9: no easy way to check if Vim9 script is supported. 24319 Solution: Add has('vim9script'). 24320 Files: runtime/doc/vim9.txt, src/evalfunc.c, 24321 src/testdir/test_vim9_script.vim 24322 24323 Patch 8.2.3966 24324 Problem: When using feedkeys() abbreviations may be blocked. 24325 Solution: Reset tb_no_abbr_cnt when running out of characters. 24326 (closes #9448) 24327 Files: src/getchar.c, src/testdir/test_feedkeys.vim 24328 24329 Patch 8.2.3967 24330 Problem: Error messages are spread out. 24331 Solution: Move more errors to errors.h. 24332 Files: src/errors.h, src/globals.h, src/feature.h, src/arglist.c, 24333 src/autocmd.c, src/blob.c, src/bufwrite.c, src/channel.c, 24334 src/cmdexpand.c, src/dict.c, src/diff.c, src/eval.c, 24335 src/evalfunc.c, src/evalvars.c, src/ex_cmds.c, src/ex_docmd.c, 24336 src/fileio.c, src/filepath.c, src/getchar.c, src/gui_gtk_x11.c, 24337 src/gui_x11.c, src/hardcopy.c, src/help.c, src/highlight.c, 24338 src/if_cscope.c, src/if_lua.c, src/if_mzsch.c, src/if_perl.xs, 24339 src/if_python.c, src/if_python3.c, src/if_ruby.c, src/if_tcl.c, 24340 src/if_xcmdsrv.c, src/indent.c, src/insexpand.c, src/job.c, 24341 src/list.c, src/main.c, src/map.c, src/match.c, src/mbyte.c, 24342 src/message.c, src/misc1.c, src/option.c, src/optionstr.c, 24343 src/os_mswin.c, src/os_unix.c, src/os_win32.c, src/popupwin.c, 24344 src/profiler.c, src/quickfix.c, src/scriptfile.c, src/search.c, 24345 src/session.c, src/sign.c, src/spell.c, src/spellfile.c, 24346 src/spellsuggest.c, src/syntax.c, src/tag.c, src/terminal.c, 24347 src/testing.c, src/textprop.c, src/typval.c, src/userfunc.c, 24348 src/vim9execute.c, src/vim9expr.c, src/vim9instr.c, 24349 src/vim9script.c 24350 24351 Patch 8.2.3968 24352 Problem: Build failure. 24353 Solution: Add missing changes. 24354 Files: src/strings.c, src/vim9compile.c 24355 24356 Patch 8.2.3969 24357 Problem: Value of MAXCOL not available in Vim script. 24358 Solution: Add v:maxcol. (Naohiro Ono, closes #9451) 24359 Files: runtime/doc/builtin.txt, runtime/doc/eval.txt, src/evalvars.c, 24360 src/testdir/test_cursor_func.vim, src/testdir/test_normal.vim, 24361 src/testdir/test_put.vim, src/vim.h 24362 24363 Patch 8.2.3970 24364 Problem: Error messages are spread out. 24365 Solution: Move more errors to errors.h. 24366 Files: src/errors.h, src/globals.h, src/buffer.c, src/bufwrite.c, 24367 src/clientserver.c, src/cmdhist.c, src/dict.c, src/edit.c, 24368 src/eval.c, src/evalfunc.c, src/evalvars.c, src/ex_cmds.c, 24369 src/ex_docmd.c, src/ex_eval.c, src/ex_getln.c, src/gui_w32.c, 24370 src/gui_x11.c, src/if_xcmdsrv.c, src/insexpand.c, src/json.c, 24371 src/match.c, src/menu.c, src/option.c, src/optionstr.c, 24372 src/os_mswin.c, src/quickfix.c, src/regexp_bt.c, src/regexp_nfa.c, 24373 src/scriptfile.c, src/sign.c, src/spellfile.c, src/undo.c, 24374 src/userfunc.c, src/vim9cmds.c, src/vim9compile.c, 24375 src/vim9execute.c, src/vim9expr.c, src/window.c 24376 24377 Patch 8.2.3971 24378 Problem: Build fails. 24379 Solution: Use the right error message name. 24380 Files: src/typval.c 24381 24382 Patch 8.2.3972 24383 Problem: Error messages are spread out. 24384 Solution: Move the last errors from globals.h to errors.h. 24385 Files: src/errors.h, src/globals.h, src/eval.c, src/evalfunc.c, 24386 src/evalvars.c, src/evalwindow.c, src/ex_eval.c, src/list.c, 24387 src/match.c, src/menu.c, src/popupmenu.c, src/search.c, 24388 src/vim9cmds.c, src/vim9expr.c 24389 24390 Patch 8.2.3973 24391 Problem: Tiny build fails. 24392 Solution: Adjust #ifdefs 24393 Files: src/errors.h 24394 24395 Patch 8.2.3974 24396 Problem: Vim9: LISTAPPEND instruction does not check for a locked list. 24397 Solution: Check whether the list is locked. (closes #9452) 24398 Files: src/vim9execute.c, src/testdir/test_vim9_builtin.vim 24399 24400 Patch 8.2.3975 24401 Problem: Error messages are spread out. 24402 Solution: Move more error messages to errors.h. 24403 Files: src/errors.h, src/clientserver.c, src/fileio.c, src/gui.c, 24404 src/gui_beval.c, src/gui_w32.c, src/gui_x11.c, src/if_cscope.c, 24405 src/if_xcmdsrv.c, src/os_mswin.c, src/sign.c, src/viminfo.c, 24406 src/window.c 24407 24408 Patch 8.2.3976 24409 Problem: FEARG_LAST is never used. (Dominique Pellé) 24410 Solution: Remove FEARG_LAST and the related code. 24411 Files: src/evalfunc.c 24412 24413 Patch 8.2.3977 24414 Problem: Error messages are spread out. 24415 Solution: Move more error messages to errors.h. 24416 Files: src/errors.h, src/change.c, src/clientserver.c, src/eval.c, 24417 src/gui_xim.c, src/if_cscope.c, src/if_py_both.h, src/if_python.c, 24418 src/if_python3.c, src/if_ruby.c, src/if_tcl.c, src/main.c, 24419 src/mark.c, src/match.c, src/memfile.c, src/memline.c, 24420 src/terminal.c, src/textprop.c, src/userfunc.c 24421 24422 Patch 8.2.3978 24423 Problem: Build error when using dynamically loaded Python 3. 24424 Solution: Adjust #ifdef. 24425 Files: src/errors.h 24426 24427 Patch 8.2.3979 24428 Problem: Vim9: the feature is not mentioned in the right places. 24429 Solution: Add +vim9script to the help and :version output. 24430 Files: runtime/doc/builtin.txt, runtime/doc/various.txt, src/version.c 24431 24432 Patch 8.2.3980 24433 Problem: If 'operatorfunc' invokes an operator the remembered Visual mode 24434 may be changed. (Naohiro Ono) 24435 Solution: Save and restore the information for redoing the Visual area. 24436 (closes #9455) 24437 Files: src/ops.c, src/testdir/test_normal.vim 24438 24439 Patch 8.2.3981 24440 Problem: Vim9: debugging a for loop doesn't stop before it starts. 24441 Solution: Keep the DEBUG instruction before the expression is evaluated. 24442 (closes #9456) 24443 Files: src/vim9cmds.c, src/testdir/test_vim9_disassemble.vim 24444 24445 Patch 8.2.3982 24446 Problem: Some lines of code not covered by tests. 24447 Solution: Add a few more test cases. (Dominique Pellé, closes #9453) 24448 Files: src/testdir/test_filter_map.vim, src/testdir/test_highlight.vim, 24449 src/testdir/test_regexp_latin.vim, src/testdir/test_search.vim, 24450 src/testdir/test_vim9_builtin.vim 24451 24452 Patch 8.2.3983 24453 Problem: Error messages are spread out. 24454 Solution: Move more error messages to errors.h. 24455 Files: src/errors.h, src/ex_docmd.c, src/fileio.c, src/filepath.c, 24456 src/findfile.c, src/hardcopy.c, src/memfile.c, src/memline.c, 24457 src/menu.c, src/normal.c, src/regexp_bt.c 24458 24459 Patch 8.2.3984 (after 8.2.3981) 24460 Problem: Debugger test fails. 24461 Solution: Adjust the test for modified debugging of a for loop. 24462 Files: src/testdir/test_debugger.vim 24463 24464 Patch 8.2.3985 24465 Problem: Error messages are spread out. 24466 Solution: Move more error messages to errors.h. 24467 Files: src/errors.h, src/findfile.c, src/fold.c, src/hardcopy.c, 24468 src/highlight.c, src/map.c, src/message.c, src/normal.c, 24469 src/option.c, src/os_amiga.c, src/os_unix.c, src/os_win32.c, 24470 src/quickfix.c, src/regexp.c, src/register.c, src/search.c, 24471 src/syntax.c, src/tag.c, src/term.c, src/typval.c, src/undo.c, 24472 src/window.c 24473 24474 Patch 8.2.3986 24475 Problem: Error messages are spread out. 24476 Solution: Move more error messages to errors.h. 24477 Files: src/errors.h, src/evalvars.c, src/ex_cmds.c, src/ex_docmd.c, 24478 src/fileio.c, src/fold.c, src/gui_x11.c, src/hardcopy.c, 24479 src/help.c, src/highlight.c, src/if_cscope.c, src/json.c, 24480 src/map.c, src/netbeans.c, src/popupwin.c, src/usercmd.c, 24481 src/userfunc.c 24482 24483 Patch 8.2.3987 24484 Problem: Error messages are spread out. 24485 Solution: Move more error messages to errors.h. 24486 Files: src/errors.h, src/digraph.c, src/ex_eval.c, src/gui.c, 24487 src/hardcopy.c, src/if_cscope.c, src/if_tcl.c, src/if_xcmdsrv.c, 24488 src/mbyte.c, src/misc2.c, src/netbeans.c, src/option.c, 24489 src/optionstr.c, src/quickfix.c, src/regexp.c, src/tag.c, 24490 src/term.c, src/viminfo.c 24491 24492 Patch 8.2.3988 (after 8.2.3987) 24493 Problem: Tiny build fails. 24494 Solution: Fix misplaced #ifdef. 24495 Files: src/errors.h 24496 24497 Patch 8.2.3989 24498 Problem: Some insert completion code is not tested. 24499 Solution: Add a few tests. Refactor thesaurus completion. (Yegappan 24500 Lakshmanan, closes #9460) 24501 Files: src/insexpand.c, src/testdir/test_edit.vim, 24502 src/testdir/test_ins_complete.vim 24503 24504 Patch 8.2.3990 24505 Problem: Testing wrong operator. 24506 Solution: Test "g@" instead of "r_". (Naohiro Ono, closes #9463) 24507 Files: src/testdir/test_normal.vim 24508 24509 Patch 8.2.3991 24510 Problem: Vim9: error when extending dict<any> with another type that it was 24511 initialized with. 24512 Solution: Also set the type for dict<any> if the initializer has a more 24513 specific type. (closes #9461) 24514 Files: src/vim9compile.c, src/vim9type.c, src/vim9.h, src/eval.c, 24515 src/list.c, src/vim9script.c, src/testdir/test_vim9_assign.vim, 24516 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_func.vim 24517 24518 Patch 8.2.3992 24519 Problem: Wrong local-additions in the help with language mix. 24520 Solution: Adjust how the local additions list is generated. (Hirohito 24521 Higashi, closes #9464) 24522 Files: src/help.c, src/testdir/test_help.vim 24523 24524 Patch 8.2.3993 24525 Problem: When recording a change in Select mode the first typed character 24526 appears twice. 24527 Solution: When putting the character back into typeahead remove it from 24528 recorded characters. (closes #9462) 24529 Files: src/getchar.c, src/proto/getchar.pro, src/normal.c, 24530 src/testdir/test_registers.vim 24531 24532 Patch 8.2.3994 24533 Problem: Vim9: extend() complains about the type even when it was not 24534 declared. 24535 Solution: Only check the list or dict type when it was declared. 24536 Files: src/list.c, src/testdir/test_vim9_builtin.vim 24537 24538 Patch 8.2.3995 24539 Problem: Not all sshconfig files are detected as such. 24540 Solution: Adjust the patterns used for sshconfig detection. (David Auer, 24541 closes #9322) 24542 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 24543 24544 Patch 8.2.3996 24545 Problem: Vim9: type checking for list and dict lacks information about 24546 declared type. 24547 Solution: Add dv_decl_type and lv_decl_type. Refactor the type stack to 24548 store two types in each entry. 24549 Files: src/structs.h, src/dict.c, src/list.c, src/vim9type.c, 24550 src/proto/vim9type.pro, src/vim9instr.c, src/proto/vim9instr.pro, 24551 src/vim9compile.c, src/evalfunc.c, src/proto/evalfunc.pro, 24552 src/evalbuffer.c, src/proto/evalbuffer.pro, src/vim9expr.c, 24553 src/vim9cmds.c, src/testdir/test_vim9_assign.vim, 24554 src/testdir/test_vim9_builtin.vim 24555 24556 Patch 8.2.3997 24557 Problem: Vim9: not enough testing for extend() and map(). 24558 Solution: Add more test cases. Fix uncovered problems. Remove unused type 24559 fields. 24560 Files: src/structs.h, src/dict.c, src/list.c, src/vim9compile.c, 24561 src/testdir/test_vim9_builtin.vim, 24562 src/testdir/test_vim9_disassemble.vim 24563 24564 Patch 8.2.3998 24565 Problem: Asan error for adding zero to NULL. 24566 Solution: Do not compute pointer if there are no entries. 24567 Files: src/vim9type.c 24568 24569 Patch 8.2.3999 24570 Problem: Redundant check for NUL byte. 24571 Solution: Remove the check for a NUL byte. (closes #9471) 24572 Files: src/ex_docmd.c 24573 24574 Patch 8.2.4000 24575 Problem: Coverity warns for checking for NULL pointer after using it. 24576 Solution: Remove check for NULL. 24577 Files: src/help.c 24578 24579 Patch 8.2.4001 24580 Problem: Insert complete code uses global variables. 24581 Solution: Make variables local to the file and use accessor functions. 24582 (Yegappan Lakshmanan, closes #9470) 24583 Files: src/edit.c, src/getchar.c, src/globals.h, src/insexpand.c, 24584 src/proto/insexpand.pro, src/search.c 24585 24586 Patch 8.2.4002 24587 Problem: First char typed in Select mode can be wrong. 24588 Solution: Escape special bytes in the input buffer. (closes #9469) 24589 Files: src/getchar.c, src/testdir/test_utf8.vim 24590 24591 Patch 8.2.4003 24592 Problem: Error messages are spread out. 24593 Solution: Move more error messages to errors.h. 24594 Files: src/errors.h, src/channel.c, src/ex_docmd.c, src/ex_eval.c, 24595 src/gui_at_fs.c, src/hardcopy.c, src/if_cscope.c, src/menu.c, 24596 src/netbeans.c, src/optionstr.c, src/os_mswin.c, src/sign.c, 24597 src/typval.c 24598 24599 Patch 8.2.4004 24600 Problem: Old compiler complains about struct init with variable. 24601 Solution: Set the struct member later. (John Marriott) 24602 Files: src/evalfunc.c 24603 24604 Patch 8.2.4005 24605 Problem: Error messages are spread out. 24606 Solution: Move more error messages to errors.h. 24607 Files: src/errors.h, src/dict.c, src/eval.c, src/evalfunc.c, 24608 src/evalvars.c, src/ex_cmds2.c, src/ex_docmd.c, src/ex_eval.c, 24609 src/filepath.c, src/gui.c, src/gui_w32.c, src/hardcopy.c, 24610 src/help.c, src/highlight.c, src/if_python.c, src/list.c, 24611 src/misc1.c, src/normal.c, src/quickfix.c, src/regexp.c, 24612 src/regexp_bt.c, src/regexp_nfa.c, src/typval.c, src/userfunc.c 24613 24614 Patch 8.2.4006 24615 Problem: Vim9: crash when declaring variable on the command line. 24616 Solution: Use a temporary type list. (closes #9474) 24617 Files: src/eval.c, src/testdir/test_vim9_assign.vim 24618 24619 Patch 8.2.4007 24620 Problem: Session does not restore help buffer properly when "options' is 24621 missing from 'sessionoptions'. 24622 Solution: Use a ":help" command to create the help window. (closes #9475, 24623 closes #9458, closes #9472) 24624 Files: src/session.c, src/testdir/test_mksession.vim 24625 24626 Patch 8.2.4008 24627 Problem: Error messages are spread out. 24628 Solution: Move more error messages to errors.h. 24629 Files: src/errors.h, src/diff.c, src/digraph.c, src/evalfunc.c, 24630 src/evalvars.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c, 24631 src/insexpand.c, src/match.c, src/memline.c, src/menu.c, 24632 src/ops.c, src/profiler.c, src/quickfix.c, src/regexp.c, 24633 src/regexp_bt.c, src/regexp_nfa.c, src/register.c, src/spell.c, 24634 src/spell.h, src/spellfile.c, src/strings.c, src/syntax.c, 24635 src/typval.c, src/undo.c, src/userfunc.c 24636 24637 Patch 8.2.4009 24638 Problem: Reading one byte beyond the end of the line. 24639 Solution: Check for NUL byte first. 24640 Files: src/vim9compile.c, src/ex_docmd.c, src/testdir/test_vim9_func.vim 24641 24642 Patch 8.2.4010 24643 Problem: Error messages are spread out. 24644 Solution: Move more error messages to errors.h. 24645 Files: src/errors.h, src/crypt.c, src/diff.c, src/ex_docmd.c, 24646 src/ex_getln.c, src/fileio.c, src/findfile.c, src/float.c, 24647 src/gui.c, src/highlight.c, src/if_mzsch.c, src/if_py_both.h, 24648 src/if_python.c, src/if_python3.c, src/insexpand.c, src/match.c, 24649 src/memline.c, src/option.c, src/popupwin.c, src/regexp.c, 24650 src/regexp_nfa.c, src/spellfile.c, src/strings.c, src/syntax.c, 24651 src/textprop.c, src/typval.c, src/undo.c, src/usercmd.c, 24652 src/userfunc.c, src/window.c 24653 24654 Patch 8.2.4011 24655 Problem: Test fails because of changed error number. 24656 Solution: Restore old duplicate error message. 24657 Files: src/errors.h, src/match.c 24658 24659 Patch 8.2.4012 24660 Problem: Error messages are spread out. 24661 Solution: Move the last error messages to errors.h. 24662 Files: src/errors.h, src/channel.c, src/clientserver.c, src/diff.c, 24663 src/evalfunc.c, src/evalvars.c, src/ex_cmds2.c, src/ex_docmd.c, 24664 src/gui_w32.c, src/help.c, src/if_mzsch.c, src/if_py_both.h, 24665 src/if_python.c, src/job.c, src/json.c, src/list.c, src/option.c, 24666 src/optionstr.c, src/quickfix.c, src/regexp.c, src/regexp_nfa.c, 24667 src/register.c, src/scriptfile.c, src/sign.c, src/syntax.c, 24668 src/tag.c, src/terminal.c, src/textprop.c, src/typval.c, 24669 src/undo.c, src/userfunc.c, src/vim9compile.c, src/viminfo.c 24670 24671 Patch 8.2.4013 24672 Problem: Build failure without the spell feature. 24673 Solution: Adjust #ifdefs. 24674 Files: src/errors.h 24675 24676 Patch 8.2.4014 24677 Problem: Git and gitcommit file types not properly recognized. 24678 Solution: Adjust filetype detection. (Tim Pope, closes #9477) 24679 Files: runtime/filetype.vim, runtime/scripts.vim, 24680 src/testdir/test_filetype.vim 24681 24682 Patch 8.2.4015 24683 Problem: Build failure with tiny features. (Tony Mechelynck) 24684 Solution: Adjust #ifdefs. 24685 Files: src/errors.h 24686 24687 Patch 8.2.4016 24688 Problem: Vim9: incorrect error for argument that is shadowing var. 24689 Solution: Ignore variable that is not in block where the function was 24690 defined. 24691 Files: src/vim9compile.c, src/testdir/test_vim9_func.vim 24692 24693 Patch 8.2.4017 24694 Problem: Gcc warns for misleading indent in Athena menu code. 24695 Solution: Add curlies around the two statements. (Dominique Pellé, 24696 closes #9480) 24697 Files: src/gui_athena.c 24698 24699 Patch 8.2.4018 24700 Problem: ml_get error when win_execute redraws with Visual selection. 24701 Solution: Disable Visual area temporarily. (closes #9479) 24702 Files: src/evalwindow.c, src/proto/evalwindow.pro, src/structs.h, 24703 src/evalbuffer.c, src/proto/evalbuffer.pro, src/evalvars.c, 24704 src/if_py_both.h, src/evalfunc.c, 24705 src/testdir/test_execute_func.vim 24706 24707 Patch 8.2.4019 24708 Problem: Vim9: import mechanism is too complicated. 24709 Solution: Do not use the Javascript mechanism but a much simpler one. 24710 Files: runtime/doc/vim9.txt, src/vim9script.c, src/proto/vim9script.pro, 24711 src/errors.h, src/structs.h, src/eval.c, src/proto/eval.pro, 24712 src/evalvars.c, src/proto/evalvars.pro, src/userfunc.c, 24713 src/vim9expr.c, src/vim9compile.c, src/vim9execute.c, 24714 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_script.vim 24715 24716 Patch 8.2.4020 (after 8.2.4019) 24717 Problem: Debugger test fails. 24718 Solution: Fix import statement. 24719 Files: src/testdir/test_debugger.vim 24720 24721 Patch 8.2.4021 (after 8.2.4019) 24722 Problem: Missing part of the :import changes. 24723 Solution: Add changes in vim9cmds.c. 24724 Files: src/vim9cmds.c 24725 24726 Patch 8.2.4022 24727 Problem: Two error messages in the wrong file. 24728 Solution: Use the error message from errors.h. 24729 Files: src/popupwin.c, src/usercmd.c 24730 24731 Patch 8.2.4023 24732 Problem: Using uninitialized variable. 24733 Solution: Initialize "ufunc" also when an item is not exported. 24734 Files: src/vim9script.c 24735 24736 Patch 8.2.4024 24737 Problem: Confusing error message if imported name is used directly. 24738 Solution: Give a better error message. 24739 Files: src/eval.c, src/proto/eval.pro, src/evalvars.c, src/userfunc.c, 24740 src/testdir/test_vim9_script.vim 24741 24742 Patch 8.2.4025 24743 Problem: Error for import not ending in .vim does not work for .vimrc. 24744 Solution: Check that .vim is the end. (closes #9484) 24745 Files: src/vim9script.c, src/errors.h, src/testdir/test_vim9_script.vim 24746 24747 Patch 8.2.4026 24748 Problem: ml_get error with specific win_execute() command. (Sean Dewar) 24749 Solution: Check cursor and Visual area are OK. 24750 Files: src/evalwindow.c, src/testdir/test_execute_func.vim 24751 24752 Patch 8.2.4027 24753 Problem: Import test fails on MS-Windows. 24754 Solution: Use a different directory name. 24755 Files: src/testdir/test_vim9_script.vim 24756 24757 Patch 8.2.4028 24758 Problem: ml_get error with :doautoall and Visual area. (Sean Dewar) 24759 Solution: Disable Visual mode while executing autocommands. 24760 Files: src/structs.h, src/autocmd.c, src/testdir/test_autocmd.vim 24761 24762 Patch 8.2.4029 24763 Problem: Debugging NFA regexp my crash, cached indent may be wrong. 24764 Solution: Fix some debug warnings in the NFA regexp code. Make sure log_fd 24765 is set when used. Fix breakindent and indent caching. (Christian 24766 Brabandt, closes #9482) 24767 Files: src/indent.c, src/optionstr.c, src/regexp_nfa.c 24768 24769 Patch 8.2.4030 24770 Problem: A script local funcref is not found from a mapping. 24771 Solution: When looking for a function, also find a script-local funcref. 24772 (closes #9485) 24773 Files: src/evalvars.c, src/proto/evalvars.pro, src/userfunc.c, 24774 src/testdir/test_vim9_script.vim 24775 24776 Patch 8.2.4031 24777 Problem: Crash in xterm with only two lines. (Dominique Pellé) 24778 Solution: Only perform xterm compatibility test if possible. (closes #9488) 24779 Files: src/term.c, src/testdir/test_startup.vim 24780 24781 Patch 8.2.4032 24782 Problem: ATTRIBUTE_NORETURN is not needed. 24783 Solution: Use NORETURN(). (Ozaki Kiichi, closes #9487) 24784 Files: src/if_ruby.c, src/vim.h 24785 24786 Patch 8.2.4033 24787 Problem: Running filetype tests leaves directory behind. 24788 Solution: Delete the top directory. (closes #9483) 24789 Files: src/testdir/test_filetype.vim 24790 24791 Patch 8.2.4034 24792 Problem: Coverity warns for possibly using a NULL pointer. 24793 Solution: Check v_partial is not NULL. 24794 Files: src/vim9type.c 24795 24796 Patch 8.2.4035 24797 Problem: Timer triggered at the debug prompt may cause trouble. 24798 Solution: Do not trigger any timer at the debug prompt. (closes #9481) 24799 Files: src/time.c 24800 24801 Patch 8.2.4036 24802 Problem: Vim9: script test file is getting too long. 24803 Solution: Split the import/export functionality to a separate file. 24804 Files: src/testdir/test_vim9_script.vim, src/testdir/test_vim9_import.vim, 24805 src/testdir/Make_all.mak 24806 24807 Patch 8.2.4037 24808 Problem: Insert mode completion is insufficiently tested. 24809 Solution: Add more tests. Fix uncovered memory leak. (Yegappan Lakshmanan, 24810 closes #9489) 24811 Files: src/insexpand.c, src/testdir/test_ins_complete.vim 24812 24813 Patch 8.2.4038 24814 Problem: Various code not used when features are disabled. 24815 Solution: Add #ifdefs. (Dominique Pellé, closes #9491) 24816 Files: src/alloc.c, src/buffer.c, src/charset.c, src/clipboard.c, 24817 src/cmdhist.c, src/crypt.c, src/edit.c, src/eval.c, 24818 src/evalbuffer.c, src/evalfunc.c, src/ex_docmd.c, src/globals.h, 24819 src/gui_xim.c, src/hashtab.c, src/highlight.c, src/insexpand.c, 24820 src/main.c, src/mark.c, src/message.c, src/misc1.c, src/misc2.c, 24821 src/ops.c, src/option.c, src/option.h, src/optionstr.c, 24822 src/register.c, src/scriptfile.c, src/tag.c, src/term.c, 24823 src/typval.c, src/usercmd.c, src/userfunc.c, src/vim9script.c, 24824 src/vim9type.c 24825 24826 Patch 8.2.4039 24827 Problem: The xdiff library is linked in even when not used. 24828 Solution: Use configure to decide whether xdiff object files are included. 24829 Files: src/Makefile, src/config.mk.in, src/configure.ac, 24830 src/auto/configure, src/feature.h 24831 24832 Patch 8.2.4040 24833 Problem: Keeping track of allocated lines in user functions is too 24834 complicated. 24835 Solution: Instead of freeing individual lines keep them all until the end. 24836 Files: src/alloc.c, src/proto/alloc.pro, src/vim9compile.c, 24837 src/userfunc.c, src/proto/userfunc.pro, src/message.c, 24838 src/usercmd.c, src/viminfo.c, src/testdir/test_vim9_func.vim 24839 24840 Patch 8.2.4041 24841 Problem: Using uninitialized pointer. 24842 Solution: Store "ht" when variable is in another script. 24843 Files: src/evalvars.c 24844 24845 Patch 8.2.4042 24846 Problem: Vim9: build error. 24847 Solution: Use grow array instead of character pointer. 24848 Files: src/vim9execute.c 24849 24850 Patch 8.2.4043 24851 Problem: Using int for second argument of ga_init2(). 24852 Solution: Remove unnecessary type cast (int) when using sizeof(). 24853 Files: src/arglist.c, src/channel.c, src/cmdexpand.c, src/dict.c, 24854 src/digraph.c, src/eval.c, src/evalfunc.c, src/evalvars.c, 24855 src/evalwindow.c, src/ex_docmd.c, src/fileio.c, src/filepath.c, 24856 src/findfile.c, src/fold.c, src/hardcopy.c, src/help.c, 24857 src/job.c, src/list.c, src/menu.c, src/os_win32.c, src/register.c, 24858 src/scriptfile.c, src/spellfile.c, src/spellsuggest.c, 24859 src/strings.c, src/syntax.c, src/tag.c, src/terminal.c, 24860 src/undo.c, src/usercmd.c, src/userfunc.c, src/vim9execute.c, 24861 src/viminfo.c, src/window.c, src/if_py_both.h 24862 24863 Patch 8.2.4044 24864 Problem: Vim9: no error when importing the same script twice. 24865 Solution: Give an error, unless it is a reload. 24866 Files: src/vim9script.c, src/errors.h, src/testdir/test_vim9_import.vim 24867 24868 Patch 8.2.4045 24869 Problem: Some global functions are only used in one file. 24870 Solution: Make the functions static. (Yegappan Lakshmanan, closes #9492) 24871 Files: src/ex_getln.c, src/highlight.c, src/proto/ex_getln.pro, 24872 src/proto/highlight.pro, src/proto/vim9compile.pro, 24873 src/proto/vim9instr.pro, src/proto/window.pro, src/vim9compile.c, 24874 src/vim9instr.c, src/window.c 24875 24876 Patch 8.2.4046 24877 Problem: Some error messages not in the right place. 24878 Solution: Adjust the errors file. Fix typo. 24879 Files: src/errors.h, src/regexp_bt.c, src/typval.c, 24880 24881 Patch 8.2.4047 24882 Problem: Depending on the build features error messages are unused. 24883 Solution: Add #ifdefs. (Dominique Pellé, closes #9493) 24884 Files: src/errors.h 24885 24886 Patch 8.2.4048 24887 Problem: gcc complains about use of "%p" in printf. 24888 Solution: Add (void *) typecast. (Dominique Pellé, closes #9494) 24889 Files: src/if_py_both.h 24890 24891 Patch 8.2.4049 24892 Problem: Vim9: reading before the start of the line with "$" by itself. 24893 Solution: Do not subtract one when reporting the error. 24894 Files: src/vim9expr.c, src/testdir/test_vim9_expr.vim 24895 24896 Patch 8.2.4050 24897 Problem: Vim9: need to prefix every item in an autoload script. 24898 Solution: First step in supporting "vim9script autoload" and "import 24899 autoload". 24900 Files: runtime/doc/repeat.txt, runtime/doc/vim9.txt, src/structs.h, 24901 src/errors.h, src/vim9script.c, src/scriptfile.c, 24902 src/proto/scriptfile.pro, src/userfunc.c, src/eval.c, 24903 src/evalvars.c, src/vim9compile.c, src/proto/vim9compile.pro, 24904 src/vim9expr.c, src/testdir/test_vim9_script.vim 24905 24906 Patch 8.2.4051 24907 Problem: Compiler complains about possibly uninitialized variable. 24908 Solution: Add code to avoid a compiler warning. (John Marriott) 24909 Files: src/scriptfile.c 24910 24911 Patch 8.2.4052 24912 Problem: Not easy to resize a window from a plugin. 24913 Solution: Add win_move_separator() and win_move_statusline() functions. 24914 (Daniel Steinberg, closes #9486) 24915 Files: runtime/doc/builtin.txt, runtime/doc/usr_41.txt, src/evalfunc.c, 24916 src/evalwindow.c, src/proto/evalwindow.pro, 24917 src/testdir/test_window_cmd.vim 24918 24919 Patch 8.2.4053 24920 Problem: Vim9: autoload mechanism doesn't fully work yet. 24921 Solution: Define functions and variables with their autoload name, add the 24922 prefix when calling a function, find the variable in the table of 24923 script variables. 24924 Files: src/structs.h, src/scriptfile.c, src/proto/scriptfile.pro, 24925 src/vim9script.c, src/proto/vim9script.pro, src/userfunc.c, 24926 src/evalvars.c, src/testdir/test_vim9_script.vim 24927 24928 Patch 8.2.4054 (after 8.2.4053) 24929 Problem: Vim9 script test fails. 24930 Solution: Add missing change. 24931 Files: src/vim9compile.c 24932 24933 Patch 8.2.4055 24934 Problem: Vim9: line break in expression causes v:errmsg to be filled. 24935 (Yegappan Lakshmanan) 24936 Solution: Do not give an error when skipping over an expression. 24937 Files: src/userfunc.c, src/testdir/test_vim9_expr.vim 24938 24939 Patch 8.2.4056 24940 Problem: Vim9: memory leak when exporting function in autoload script. 24941 Solution: Free the name if replacing it. 24942 Files: src/scriptfile.c 24943 24944 Patch 8.2.4057 24945 Problem: Vim9: not fully implementing the autoload mechanism. 24946 Solution: Allow for exporting a legacy function. Improve test coverage. 24947 Files: src/vim9script.c, src/testdir/test_vim9_import.vim, 24948 src/testdir/test_vim9_script.vim 24949 24950 Patch 8.2.4058 24951 Problem: Vim9: import test failure in wrong line. 24952 Solution: Adjust line number. 24953 Files: src/testdir/test_vim9_import.vim 24954 24955 Patch 8.2.4059 24956 Problem: Vim9: an expression of a map cannot access script-local items. 24957 (Maxim Kim) 24958 Solution: Use the script ID of where the map was defined. 24959 Files: src/getchar.c, src/map.c, src/proto/map.pro, 24960 src/testdir/test_vim9_import.vim 24961 24962 Patch 8.2.4060 24963 Problem: win_execute() is slow on systems where getcwd() or chdir() is 24964 slow. (Rick Howe) 24965 Solution: Avoid using getcwd() and chdir() if no local directory is used and 24966 'acd' is not set. (closes #9504) 24967 Files: src/evalwindow.c 24968 24969 Patch 8.2.4061 24970 Problem: Codecov bash script is deprecated. 24971 Solution: Use the codecov action. (Ozaki Kiichi, closes #9505) 24972 Files: .github/workflows/ci.yml 24973 24974 Patch 8.2.4062 24975 Problem: Match highlighting of tab too short. 24976 Solution: Do not stop match highlighting if on a Tab. (Christian Brabandt, 24977 closes #9507, closes #9500) 24978 Files: src/drawline.c, src/testdir/test_match.vim, 24979 src/testdir/dumps/Test_match_tab_linebreak.dump 24980 24981 Patch 8.2.4063 24982 Problem: Vim9: exported function in autoload script not found. (Yegappan 24983 Lakshmanan) 24984 Solution: Use the autoload prefix to search for the function. 24985 Files: src/userfunc.c, src/testdir/test_vim9_import.vim 24986 24987 Patch 8.2.4064 24988 Problem: Foam files are not detected. 24989 Solution: Detect the foam filetype by the path and file contents. (Mohammed 24990 Elwardi Fadeli, closes #9501) 24991 Files: runtime/filetype.vim, runtime/autoload/dist/ft.vim, 24992 src/testdir/test_filetype.vim 24993 24994 Patch 8.2.4065 24995 Problem: Computation overflow with large count for :yank. 24996 Solution: Avoid an overflow. 24997 Files: src/ex_docmd.c, src/testdir/test_excmd.vim 24998 24999 Patch 8.2.4066 25000 Problem: Vim9: imported autoload script loaded again. 25001 Solution: Do not create a new imported_T every time. 25002 Files: src/vim9script.c, src/vim9compile.c, 25003 src/testdir/test_vim9_import.vim 25004 25005 Patch 8.2.4067 25006 Problem: Vim9: cannot call imported function with :call. (Drew Vogel) 25007 Solution: Translate the function name. (closes #9510) 25008 Files: src/userfunc.c, src/testdir/test_vim9_import.vim 25009 25010 Patch 8.2.4068 (after 8.2.4066) 25011 Problem: Vim9: import test fails. 25012 Solution: Add missing change. 25013 Files: src/scriptfile.c 25014 25015 Patch 8.2.4069 25016 Problem: Vim9: import test fails on MS-Windows. 25017 Solution: Ignore case. Adjust test to avoid name that only differs in case. 25018 Files: src/eval.c, src/scriptfile.c, src/testdir/test_vim9_import.vim 25019 25020 Patch 8.2.4070 25021 Problem: Using uninitialized memory when reading empty file. 25022 Solution: Check for empty file before checking for NL. (Dominique Pellé, 25023 closes #9511) 25024 Files: src/filepath.c, src/testdir/test_eval_stuff.vim 25025 25026 Patch 8.2.4071 25027 Problem: Vim9: no detection of return in try/endtry. (Dominique Pellé) 25028 Solution: Check if any of the blocks inside try/endtry did not end in 25029 return. 25030 Files: src/vim9.h, src/vim9compile.c, src/vim9cmds.c, 25031 src/testdir/test_vim9_script.vim 25032 25033 Patch 8.2.4072 25034 Problem: Vim9: compiling function fails when autoload script is not loaded 25035 yet. 25036 Solution: Depend on runtime loading. 25037 Files: src/vim9expr.c, src/vim9script.c, src/vim9instr.c, 25038 src/vim9execute.c, src/testdir/test_vim9_import.vim 25039 25040 Patch 8.2.4073 25041 Problem: Coverity warns for using NULL pointer. 25042 Solution: Bail out when running out of memory. Check for running over end of 25043 a string. 25044 Files: src/userfunc.c, 25045 25046 Patch 8.2.4074 25047 Problem: Going over the end of NameBuff. 25048 Solution: Check length when appending a space. 25049 Files: src/drawscreen.c, src/testdir/test_edit.vim 25050 25051 Patch 8.2.4075 (after 8.2.4073) 25052 Problem: Test failures. 25053 Solution: Change check for NULL pointer. 25054 Files: src/userfunc.c 25055 25056 Patch 8.2.4076 25057 Problem: Memory leak in autoload import. 25058 Solution: Do not overwrite the autoload prefix. 25059 Files: src/vim9script.c 25060 25061 Patch 8.2.4077 25062 Problem: Not all Libsensors files are recognized. 25063 Solution: Add "sensors.d/*" pattern. (Doug Kearns) 25064 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 25065 25066 Patch 8.2.4078 25067 Problem: Terminal test for current directory not used on FreeBSD. 25068 Solution: Make it work on FreeBSD. (Ozaki Kiichi, closes #9516) Add 25069 TermWait() inside Run_shell_in_terminal() as a generic solution. 25070 Files: src/testdir/test_terminal3.vim, src/testdir/term_util.vim, 25071 src/testdir/test_terminal.vim, src/testdir/test_terminal2.vim, 25072 src/testdir/test_mapping.vim 25073 25074 Patch 8.2.4079 25075 Problem: MS-Windows: "gvim --version" didn't work when build with VIMDLL. 25076 Solution: Adjust #ifdef. (Ken Takata, closes #9517) 25077 Files: src/main.c 25078 25079 Patch 8.2.4080 25080 Problem: Not sufficient test coverage for xxd. 25081 Solution: Add a few more test cases. (Erki Auerswald, closes #9515) 25082 Files: src/testdir/test_xxd.vim 25083 25084 Patch 8.2.4081 25085 Problem: CodeQL reports problem in if_cscope causing it to fail. 25086 Solution: Use execvp() instead of execl(). Merge the header file into the 25087 source file. (Ozaki Kiichi, closes #9519) 25088 Files: Filelist, src/Make_cyg_ming.mak, src/Make_mvc.mak, 25089 src/Make_vms.mms, src/Makefile, src/if_cscope.c, src/if_cscope.h, 25090 src/testdir/test_cscope.vim 25091 25092 Patch 8.2.4082 25093 Problem: Check for autoload file name and prefix fails. (Christian J. 25094 Robinson) 25095 Solution: Only lower case the prefix on systems where the file name is not 25096 case sensitive. 25097 Files: src/scriptfile.c, src/testdir/test_vim9_import.vim 25098 25099 Patch 8.2.4083 25100 Problem: Vim9: no test for "vim9script autoload" and using script variable 25101 in the same script. 25102 Solution: Add a simple test. Fix uncovered problem. 25103 Files: src/evalvars.c, src/testdir/test_vim9_import.vim 25104 25105 Patch 8.2.4084 25106 Problem: Memory leak when looking for autoload prefixed variable. 25107 Solution: Free the concatenated string. 25108 Files: src/evalvars.c 25109 25110 Patch 8.2.4085 25111 Problem: Vim9: no test for using import in legacy script. 25112 Solution: Add a test. 25113 Files: src/testdir/test_vim9_import.vim 25114 25115 Patch 8.2.4086 25116 Problem: "cctx" argument of find_func_even_dead() is unused. 25117 Solution: Remove the argument. 25118 Files: src/userfunc.c, src/proto/userfunc.pro, src/vim9compile.c, 25119 src/vim9instr.c, src/evalfunc.c, src/evalvars.c, src/testing.c, 25120 src/vim9execute.c, src/vim9expr.c, src/vim9script.c, 25121 src/vim9type.c 25122 25123 Patch 8.2.4087 25124 Problem: Cannot test items from an autoload script easily. 25125 Solution: Add the "autoload" value for test_override(). 25126 Files: runtime/doc/testing.txt, src/testing.c, src/globals.h, 25127 src/vim9script.c, src/testdir/test_vim9_import.vim 25128 25129 Patch 8.2.4088 25130 Problem: Xxd cannot output everything in one line. 25131 Solution: Make zero columns mean infinite columns. (Erik Auerswald, 25132 closes #9524) 25133 Files: runtime/doc/xxd.1, runtime/doc/xxd.man, src/testdir/test_xxd.vim, 25134 src/xxd/xxd.c 25135 25136 Patch 8.2.4089 (after 8.2.4078) 25137 Problem: Terminal test for current directory fails on FreeBSD. 25138 Solution: Skip the test. 25139 Files: src/testdir/test_terminal3.vim 25140 25141 Patch 8.2.4090 25142 Problem: After restoring a session buffer order can be quite different. 25143 Solution: Create buffers first. (Evgeni Chasnovski, closes #9520) 25144 Files: src/session.c, src/testdir/test_mksession.vim 25145 25146 Patch 8.2.4091 25147 Problem: Virtcol is recomputed for statusline unnecessarily. 25148 Solution: Just use "w_virtcol". (closes #9523) 25149 Files: src/buffer.c, src/testdir/test_statusline.vim 25150 25151 Patch 8.2.4092 25152 Problem: macOS CI: unnecessarily doing "Install packages". 25153 Solution: Only do "Install packages" for huge build. (Ozaki Kiichi, 25154 closes #9521) 25155 Files: .github/workflows/ci.yml 25156 25157 Patch 8.2.4093 25158 Problem: Cached breakindent values not initialized properly. 25159 Solution: Initialize and cache formatlistpat. (Christian Brabandt, 25160 closes #9526, closes #9512) 25161 Files: runtime/doc/options.txt, src/indent.c, src/option.c, 25162 src/proto/option.pro, src/testdir/test_breakindent.vim 25163 25164 Patch 8.2.4094 25165 Problem: 'virtualedit' is window-local but using buffer-local enum. 25166 Solution: Use window-local enum. (closes #9529) 25167 Files: src/option.h, src/optiondefs.h 25168 25169 Patch 8.2.4095 25170 Problem: Sed script not recognized by the first line. 25171 Solution: Recognize a sed script starting with "#n". (Doug Kearns) 25172 Files: runtime/scripts.vim, src/testdir/test_filetype.vim 25173 25174 Patch 8.2.4096 25175 Problem: Linux CI: unnecessarily installing packages 25176 Solution: Only install packages for huge build. (Ozaki Kiichi, 25177 closes #9530) 25178 Files: .github/workflows/ci.yml 25179 25180 Patch 8.2.4097 25181 Problem: Wrong number in error message on 32 bit system. (John Paul Adrian 25182 Glaubitz) 25183 Solution: Add type cast. (closes #9527) 25184 Files: src/vim9compile.c 25185 25186 Patch 8.2.4098 25187 Problem: Typing "interrupt" at debug prompt may keep exception around, 25188 causing function calls to fail. 25189 Solution: Discard any exception at the toplevel. (closes #9532) 25190 Files: src/main.c 25191 25192 Patch 8.2.4099 25193 Problem: Vim9: cannot use Vim9 syntax in mapping. 25194 Solution: Add <ScriptCmd> to use the script context for a command. 25195 Files: runtime/doc/map.txt, src/normal.c, src/getchar.c, 25196 src/proto/getchar.pro, src/ex_getln.c, src/edit.c, src/terminal.c, 25197 src/keymap.h, src/insexpand.c, src/misc2.c, src/ops.c, 25198 src/testdir/test_vim9_import.vim 25199 25200 Patch 8.2.4100 25201 Problem: Early return when getting the 'formatlistpat' value. 25202 Solution: Remove the first line. (Christian Brabandt) 25203 Files: src/option.c, src/testdir/test_breakindent.vim 25204 25205 Patch 8.2.4101 25206 Problem: Warning for unused argument in tiny version. 25207 Solution: Add "UNUSED". 25208 Files: src/getchar.c 25209 25210 Patch 8.2.4102 25211 Problem: Vim9: import cannot be used after method. 25212 Solution: Recognize an imported function name. (closes #9496) 25213 Files: src/eval.c, src/testdir/test_vim9_import.vim 25214 25215 Patch 8.2.4103 25216 Problem: Vim9: variable declared in for loop not initialized. 25217 Solution: Always initialize the variable. (closes #9535) 25218 Files: src/vim9instr.c, src/proto/vim9instr.pro, src/vim9compile.c, 25219 src/testdir/test_vim9_assign.vim 25220 25221 Patch 8.2.4104 25222 Problem: Vim9: lower casing the autoload prefix causes problems. 25223 Solution: Always store the prefix with case preserved. 25224 Files: src/scriptfile.c, src/testdir/test_vim9_import.vim 25225 25226 Patch 8.2.4105 25227 Problem: Translation related comment in the wrong place. 25228 Solution: Move it back with the text. (Ken Takata, closes #9537) 25229 Files: src/errors.h, src/ex_docmd.c 25230 25231 Patch 8.2.4106 25232 Problem: Going over the end of the w_lines array. 25233 Solution: Break out of the loop when "idx" is too big. (issue #9540) 25234 Files: src/drawscreen.c 25235 25236 Patch 8.2.4107 25237 Problem: Script context not restored after using <ScriptCmd>. 25238 Solution: Also restore context when not in a script. (closes #9536) 25239 Add the 'c' flag to feedkeys() to be able to test this. 25240 Files: runtime/doc/builtin.txt, src/getchar.c, src/evalfunc.c, 25241 src/testdir/test_mapping.vim 25242 25243 Patch 8.2.4108 25244 Problem: Going over the end of the w_lines array. 25245 Solution: Check not going over the end and limit to Rows. (issue #9540) 25246 Files: src/drawscreen.c 25247 25248 Patch 8.2.4109 25249 Problem: MS-Windows: high dpi support is outdated. 25250 Solution: Improve High DPI support by using PerMonitorV2. (Ken Takata 25251 closes #9525, closes #3102) 25252 Files: src/gui.c, src/gui.h, src/gui_w32.c, src/vim.manifest 25253 25254 Patch 8.2.4110 25255 Problem: Coverity warns for using NULL pointer. 25256 Solution: Check "evalarg" is not NULL. Skip errors when "verbose" is false. 25257 Files: src/eval.c 25258 25259 Patch 8.2.4111 25260 Problem: Potential problem when map is deleted while executing. 25261 Solution: Reset last used map pointer when deleting a mapping. 25262 Files: src/map.c 25263 25264 Patch 8.2.4112 25265 Problem: Function not deleted at end of test. 25266 Solution: Delete the function. 25267 Files: src/testdir/test_diffmode.vim 25268 25269 Patch 8.2.4113 25270 Problem: Typo on DOCMD_RANGEOK results in not recognizing command. 25271 Solution: Correct the typo. (closes #9539) 25272 Files: src/vim.h, src/testdir/test_mapping.vim 25273 25274 Patch 8.2.4114 25275 Problem: Vim9: type checking for a funcref does not work for when it is 25276 used in a method. 25277 Solution: Pass the base to where the type is checked. 25278 Files: src/vim9type.c, src/proto/vim9type.pro, src/userfunc.c, 25279 src/testdir/test_vim9_expr.vim 25280 25281 Patch 8.2.4115 25282 Problem: Cannot use a method with a complex expression. 25283 Solution: Evaluate the expression after "->" and use the result. 25284 Files: src/eval.c, src/errors.h, src/testdir/test_vim9_expr.vim 25285 25286 Patch 8.2.4116 25287 Problem: Vim9: cannot use a method with a complex expression in a :def 25288 function. 25289 Solution: Implement compiling the expression. 25290 Files: src/vim9expr.c, src/testdir/test_vim9_expr.vim 25291 25292 Patch 8.2.4117 25293 Problem: Vim9: wrong white space error after using imported item. 25294 Solution: Don't skip over white space. (closes #9544) 25295 Files: src/eval.c, src/testdir/test_vim9_import.vim 25296 25297 Patch 8.2.4118 25298 Problem: Using UNUSED for argument that is used. 25299 Solution: Remove UNUSED. 25300 Files: src/usercmd.c 25301 25302 Patch 8.2.4119 25303 Problem: Build failure when disabling the channel feature. 25304 Solution: Adjust #ifdef. (Dominique Pellé, closes #9545) 25305 Files: src/misc2.c 25306 25307 Patch 8.2.4120 25308 Problem: Block insert goes over the end of the line. 25309 Solution: Handle invalid byte better. Fix inserting the wrong text. 25310 Files: src/ops.c, src/testdir/test_visual.vim 25311 25312 Patch 8.2.4121 25313 Problem: Visual test fails on MS-Windows. 25314 Solution: Set 'isprint' so that the character used is not printable. 25315 Files: src/testdir/test_visual.vim 25316 25317 Patch 8.2.4122 25318 Problem: ":command Cmd" does not show custom completion argument. 25319 Solution: Show the completion argument when using ":verbose". 25320 Files: src/usercmd.c, src/testdir/test_usercommands.vim 25321 25322 Patch 8.2.4123 25323 Problem: Complete function cannot be import.Name. 25324 Solution: Dereference the function name if needed. Also: do not see 25325 "import.Name" as a builtin function. (closes #9541) 25326 Files: src/userfunc.c, src/eval.c, src/testdir/test_vim9_import.vim 25327 25328 Patch 8.2.4124 25329 Problem: Vim9: method in compiled function may not see script item. 25330 Solution: Make sure not to skip to the next line. (closes #9496) 25331 Files: src/vim9expr.c, src/testdir/test_vim9_expr.vim 25332 25333 Patch 8.2.4125 25334 Problem: Completion tests fail. 25335 Solution: Disable error messages while dereferencing the function name. 25336 Files: src/eval.c 25337 25338 Patch 8.2.4126 25339 Problem: Crash on exit when built with dynamic Tcl and EXITFREE is defined. 25340 (Dominique Pellé) 25341 Solution: Only call Tcl_Finalize() when initialized. (closes #9546) 25342 Files: src/if_tcl.c 25343 25344 Patch 8.2.4127 25345 Problem: Build failure without the +eval feature. 25346 Solution: Add #ifdef. 25347 Files: src/usercmd.c 25348 25349 Patch 8.2.4128 25350 Problem: Crash when method cannot be found. (Christian J. Robinson) 25351 Solution: Don't mix up pointer names. 25352 Files: src/eval.c, src/testdir/test_vim9_expr.vim 25353 25354 Patch 8.2.4129 25355 Problem: Building with +sound but without +eval fails. (Dominique Pellé) 25356 Solution: Disable canberra in tiny and small build. (closes #9548) 25357 Files: src/configure.ac, src/auto/configure 25358 25359 Patch 8.2.4130 25360 Problem: MS-Windows: MSVC build may have libraries duplicated. 25361 Solution: Improve the MSVC Makefile. (Ken Takata, closes #9547) 25362 Files: src/Make_mvc.mak 25363 25364 Patch 8.2.4131 25365 Problem: Vim9: calling function in autoload import does not work in a :def 25366 function. 25367 Solution: When a variable is not found and a PCALL follows use a funcref. 25368 (closes #9550) 25369 Files: src/vim9execute.c, src/testdir/test_vim9_import.vim 25370 25371 Patch 8.2.4132 25372 Problem: Vim9: wrong error message when autoload script can't be found. 25373 Solution: Correct check for using autoload with wrong name. 25374 Files: src/vim9script.c, src/testdir/test_vim9_import.vim 25375 25376 Patch 8.2.4133 25377 Problem: output of ":scriptnames" goes into the message history, while this 25378 does not happen for other commands, such as ":ls". 25379 Solution: Use msg_outtrans() instead of smsg(). (closes #9551) 25380 Files: src/scriptfile.c, src/testdir/test_scriptnames.vim 25381 25382 Patch 8.2.4134 25383 Problem: MS-Windows: test for import with absolute path fails. 25384 Solution: Handle path starting with slash as an absolute path. 25385 Files: src/vim9script.c 25386 25387 Patch 8.2.4135 25388 Problem: Vim9: ":scriptnames" shows unloaded imported autoload script. 25389 Solution: Mark the unloaded script with "A". (closes #9552) 25390 Files: runtime/doc/repeat.txt, src/scriptfile.c, 25391 src/testdir/test_vim9_import.vim 25392 25393 Patch 8.2.4136 25394 Problem: Vim9: the "autoload" argument of ":vim9script" is not useful. 25395 Solution: Remove the argument. (closes #9555) 25396 Files: runtime/doc/vim9.txt, runtime/doc/repeat.txt, src/vim9script.c, 25397 src/errors.h, src/testdir/test_vim9_import.vim 25398 25399 Patch 8.2.4137 25400 Problem: Vim9: calling import with and without method is inconsistent. 25401 Solution: Set a flag that a parenthesis follows to compile_load_scriptvar(). 25402 Add some more tests. Improve error message. 25403 Files: src/vim9expr.c, src/vim9execute.c, src/vim9script.c, 25404 src/testdir/test_vim9_import.vim 25405 25406 Patch 8.2.4138 25407 Problem: Vim9: no error for return with argument when the function does not 25408 return anything. 25409 Solution: Give an error for the invalid argument. (issue #9497) 25410 Files: src/vim9cmds.c, src/testdir/test_vim9_func.vim 25411 25412 Patch 8.2.4139 25413 Problem: Using freed memory if an expression abbreviation deletes the 25414 abbreviation. 25415 Solution: Do not access the pointer after evaluating the expression. 25416 Files: src/map.c, src/testdir/test_mapping.vim 25417 25418 Patch 8.2.4140 25419 Problem: maparg() does not indicate the type of script where it was defined. 25420 Solution: Add "scriptversion". 25421 Files: runtime/doc/builtin.txt, src/map.c, src/testdir/test_maparg.vim 25422 25423 Patch 8.2.4141 (after 8.2.4140) 25424 Problem: Vim9 builtin functions test fails. 25425 Solution: Add "scriptversion" item to maparg() result. 25426 Files: src/testdir/test_vim9_builtin.vim 25427 25428 Patch 8.2.4142 25429 Problem: Build failure with normal features without persistent undo. 25430 Solution: Adjust #ifdef. (closes #9557) 25431 Files: src/fileio.c 25432 25433 Patch 8.2.4143 25434 Problem: MS-Windows: IME support for Win9x is obsolete. 25435 Solution: Remove the Win9x code. (Ken Takata, closes #9559) 25436 Files: src/gui_w32.c 25437 25438 Patch 8.2.4144 25439 Problem: Cannot load libsodium dynamically. 25440 Solution: Support dynamic loading on MS-Windows. (Ken Takata, closes #9554) 25441 Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/buffer.c, 25442 src/crypt.c, src/memline.c, src/proto/crypt.pro 25443 25444 Patch 8.2.4145 25445 Problem: Confusing error when using name of import for a function. 25446 Solution: Pass a flag to trans_function_name(). 25447 Files: src/vim.h, src/userfunc.c, src/proto/userfunc.pro, src/eval.c, 25448 src/testdir/test_vim9_import.vim 25449 25450 Patch 8.2.4146 25451 Problem: Vim9: shadowed function can be used in compiled function but not 25452 at script level. 25453 Solution: Also give an error in a compiled function. (closes #9563) 25454 Files: src/vim9expr.c 25455 25456 Patch 8.2.4147 25457 Problem: E464 does not always include the offending command. 25458 Solution: Add another error message with "%s". (closes #9564) 25459 Files: src/errors.h, src/vim9compile.c, src/ex_docmd.c, 25460 src/testdir/test_vim9_script.vim 25461 25462 Patch 8.2.4148 25463 Problem: Deleting any mapping may cause <ScriptCmd> to not set the script 25464 context. 25465 Solution: Only reset last_used_map if it is the deleted mapping. 25466 (closes #9568) 25467 Files: src/map.c, src/getchar.c, src/proto/getchar.pro, 25468 src/testdir/test_mapping.vim 25469 25470 Patch 8.2.4149 25471 Problem: Test override not restored, autocommand left behind. 25472 Solution: Correct restoring test override. Delete autocommand afterwards. 25473 Files: src/testdir/test_autocmd.vim, src/testdir/test_mapping.vim 25474 25475 Patch 8.2.4150 25476 Problem: Coverity warns for using pointer after free. 25477 Solution: Swap statements, even though using the pointer is no problem. 25478 Files: src/map.c 25479 25480 Patch 8.2.4151 25481 Problem: Reading beyond the end of a line. 25482 Solution: For block insert only use the offset for correcting the length. 25483 Files: src/ops.c, src/testdir/test_visual.vim 25484 25485 Patch 8.2.4152 25486 Problem: Block insert with double wide character fails. 25487 Solution: Adjust the expected output. 25488 Files: src/testdir/test_utf8.vim 25489 25490 Patch 8.2.4153 25491 Problem: MS-Windows: Global IME is no longer supported. 25492 Solution: Remove the Global IME implementation. (Ken Takata, closes #9562) 25493 Files: Filelist, runtime/doc/mbyte.txt, src/Make_mvc.mak, src/dimm.idl, 25494 src/glbl_ime.cpp, src/glbl_ime.h, src/gui_w32.c, src/vim.h 25495 25496 Patch 8.2.4154 25497 Problem: ml_get error when exchanging windows in Visual mode. 25498 Solution: Correct end of Visual area when entering another buffer. 25499 Files: src/window.c, src/testdir/test_visual.vim 25500 25501 Patch 8.2.4155 25502 Problem: Translating strftime() argument results in check error. 25503 Solution: Add gettext comment. 25504 Files: src/time.c 25505 25506 Patch 8.2.4156 25507 Problem: Fileinfo message overwrites echo'ed message. 25508 Solution: Reset need_fileinfo when displaying a message. (Rob Pilling, 25509 closes #9569) 25510 Files: src/message.c, src/testdir/test_messages.vim, 25511 src/testdir/dumps/Test_fileinfo_after_echo.dump 25512 25513 Patch 8.2.4157 25514 Problem: Terminal test fails because Windows sets the title. 25515 Solution: Add the "vterm_title" testing override and use it in the test. 25516 (Ozaki Kiichi, closes #9556) 25517 Files: runtime/doc/testing.txt, src/globals.h, src/terminal.c, 25518 src/testing.c, src/testdir/test_terminal.vim 25519 25520 Patch 8.2.4158 25521 Problem: MS-Windows: memory leak in :browse. 25522 Solution: Free stuff before returning. (Ken Takata, closes #9574) 25523 Files: src/gui_w32.c 25524 25525 Patch 8.2.4159 25526 Problem: MS-Windows: _WndProc() is very long. 25527 Solution: Move code to separate functions. (Ken Takata, closes #9573) 25528 Files: src/gui_w32.c 25529 25530 Patch 8.2.4160 25531 Problem: Cannot change the register used for Select mode delete. 25532 Solution: Make CTRL-R set the register to be used when deleting text for 25533 Select mode. (Shougo Matsushita, closes #9531) 25534 Files: runtime/doc/visual.txt, src/globals.h, src/normal.c, src/ops.c, 25535 src/testdir/test_selectmode.vim 25536 25537 Patch 8.2.4161 25538 Problem: Vim9: warning for missing white space after imported variable. 25539 Solution: Do not skip white space. (closes #9567) 25540 Files: src/vim9expr.c, src/testdir/test_vim9_import.vim 25541 25542 Patch 8.2.4162 25543 Problem: Vim9: no error for redefining function with export. 25544 Solution: Check for existing function with/without prefix. (closes #9577) 25545 Files: src/userfunc.c, src/scriptfile.c, src/testdir/test_vim9_import.vim 25546 25547 Patch 8.2.4163 25548 Problem: No error for omitting function name after autoload prefix. 25549 Solution: Check for missing function name. (issue #9577) 25550 Files: src/userfunc.c, src/testdir/test_vim9_import.vim 25551 25552 Patch 8.2.4164 (after 8.2.4162) 25553 Problem: Error in legacy code for function shadowing variable. 25554 Solution: Only give the error in Vim9 script. 25555 Files: src/userfunc.c 25556 25557 Patch 8.2.4165 25558 Problem: The nv_g_cmd() function is too long. 25559 Solution: Move code to separate functions. (Yegappan Lakshmanan, 25560 closes #9576) 25561 Files: src/normal.c 25562 25563 Patch 8.2.4166 25564 Problem: Undo synced when switching buffer in another window. 25565 Solution: Do not sync undo when not needed. (closes #9575) 25566 Files: src/buffer.c, src/testdir/test_timers.vim 25567 25568 Patch 8.2.4167 25569 Problem: Vim9: error message for old style import. 25570 Solution: Use another error message. Add a test. 25571 Files: src/evalvars.c, src/errors.h, src/testdir/test_vim9_import.vim 25572 25573 Patch 8.2.4168 (after 8.2.4163) 25574 Problem: Disallowing empty function name breaks existing plugins. 25575 Solution: Allow empty function name in legacy script. 25576 Files: src/userfunc.c, src/testdir/test_autoload.vim, 25577 src/testdir/sautest/autoload/foo.vim 25578 25579 Patch 8.2.4169 25580 Problem: MS-Windows: unnecessary casts and other minor things. 25581 Solution: Clean up the MS-Windows code. (Ken Takata, closes #9583) 25582 Files: src/gui_w32.c 25583 25584 Patch 8.2.4170 25585 Problem: MS-Windows: still using old message API calls. 25586 Solution: Call the "W" functions directly. (Ken Takata, closes #9582) 25587 Files: src/gui_w32.c, src/os_mswin.c, src/os_win32.c, src/os_win32.h 25588 25589 Patch 8.2.4171 25590 Problem: Cannot invoke option function using autoload import. 25591 Solution: Expand the import to an autoload function name. (closes #9578) 25592 Files: src/userfunc.c, src/evalvars.c, src/proto/evalvars.pro, 25593 src/option.c, src/testdir/test_vim9_import.vim 25594 25595 Patch 8.2.4172 25596 Problem: Filetype detection for BASIC is not optimal. 25597 Solution: Improve BASIC filetype detection. (Doug Kearns) 25598 Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim, 25599 src/testdir/test_filetype.vim 25600 25601 Patch 8.2.4173 25602 Problem: Cannot use an import in 'foldexpr'. 25603 Solution: Set the script context to where 'foldexpr' was set. (closes #9584) 25604 Fix that the script context was not set for all buffers. 25605 Files: src/eval.c, src/proto/eval.pro, src/fold.c, src/structs.h, 25606 src/option.c, src/testdir/test_vim9_import.vim 25607 25608 Patch 8.2.4174 25609 Problem: Vim9: can use an autoload name in normal script. 25610 Solution: Disallow using an autoload name. 25611 Files: src/userfunc.c, src/errors.h, src/testdir/test_vim9_import.vim 25612 25613 Patch 8.2.4175 25614 Problem: MS-Windows: runtime check for multi-line balloon is obsolete. 25615 Solution: Remove the obsolete code. (Ken Takata, closes #9592) 25616 Files: src/evalfunc.c, src/gui_w32.c, src/proto/gui_w32.pro 25617 25618 Patch 8.2.4176 25619 Problem: Vim9: cannot use imported function with call(). 25620 Solution: Translate the function name. (closes #9590) 25621 Files: src/evalfunc.c, src/testdir/test_vim9_import.vim 25622 25623 Patch 8.2.4177 25624 Problem: Vim9: autoload script not loaded after "vim9script noclear". 25625 Solution: Check IMP_FLAGS_AUTOLOAD properly. (closes #9593) 25626 Files: src/vim9compile.c, src/testdir/test_vim9_import.vim 25627 25628 Patch 8.2.4178 25629 Problem: Vim9: invalid error for return type of lambda when debugging. 25630 Solution: Do not check the return type of a lambda. (closes #9589) 25631 Files: src/vim9cmds.c 25632 25633 Patch 8.2.4179 25634 Problem: 'foldtext' is evaluated in the current script context. 25635 Solution: Use the script context where the option was set. 25636 Files: src/fold.c, src/buffer.c, src/eval.c, src/proto/eval.pro, 25637 src/findfile.c, src/testdir/test_vim9_import.vim 25638 25639 Patch 8.2.4180 25640 Problem: 'balloonexpr' is evaluated in the current script context. 25641 Solution: Use the script context where the option was set. 25642 Files: src/beval.c, src/option.c, src/proto/option.pro, 25643 src/testdir/test_balloon.vim, 25644 src/testdir/dumps/Test_balloon_eval_term_01.dump, 25645 src/testdir/dumps/Test_balloon_eval_term_01a.dump, 25646 src/testdir/dumps/Test_balloon_eval_term_02.dump 25647 25648 Patch 8.2.4181 25649 Problem: Vim9: cannot use an import in 'diffexpr'. 25650 Solution: Set the script context when evaluating 'diffexpr'. Do not require 25651 'diffexpr' to return a bool, it was ignored anyway. 25652 Files: src/evalvars.c, src/testdir/test_vim9_import.vim 25653 25654 Patch 8.2.4182 (after 8.2.4182) 25655 Problem: Memory leak when evaluating 'diffexpr'. 25656 Solution: Use free_tv() instead of clear_tv(). 25657 Files: src/evalvars.c 25658 25659 Patch 8.2.4183 25660 Problem: Cannot use an import in 'formatexpr'. 25661 Solution: Set the script context when evaluating 'formatexpr'. 25662 Files: src/textformat.c, src/testdir/test_vim9_import.vim 25663 25664 Patch 8.2.4184 25665 Problem: Cannot use an import in 'includeexpr'. 25666 Solution: Set the script context when evaluating 'includeexpr' 25667 Files: src/findfile.c, src/testdir/test_vim9_import.vim 25668 25669 Patch 8.2.4185 25670 Problem: Cannot use an import in 'indentexpr'. 25671 Solution: Set the script context when evaluating 'indentexpr' 25672 Files: src/indent.c, src/testdir/test_vim9_import.vim 25673 25674 Patch 8.2.4186 25675 Problem: Cannot use an import in 'patchexpr'. 25676 Solution: Set the script context when evaluating 'patchexpr'. Do not 25677 require 'patchexpr' to return a bool, it was ignored anyway. 25678 Files: src/evalvars.c, src/testdir/test_vim9_import.vim 25679 25680 Patch 8.2.4187 25681 Problem: Gnuplot file not recognized. 25682 Solution: Recognize ".gnuplot". (closes #9588) 25683 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 25684 25685 Patch 8.2.4188 25686 Problem: Not all gitconfig files are recognized. 25687 Solution: Add a few more patterns. (Tim Pope, closes #9597) 25688 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 25689 25690 Patch 8.2.4189 25691 Problem: MS-Windows: code for "old look" is obsolete. 25692 Solution: Delete obsolete code. Use "MS Shell Dlg" font. (Ken Takata, 25693 closes #9596) 25694 Files: src/gui_w32.c 25695 25696 Patch 8.2.4190 25697 Problem: All conceal tests are skipped without the screendumps feature. 25698 Solution: Only skip the tests that use screendumps. (closes #9599) 25699 Files: src/testdir/test_conceal.vim 25700 25701 Patch 8.2.4191 25702 Problem: json5 files are not recognized. 25703 Solution: Add a pattern for json5 files. (closes #9601) 25704 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 25705 25706 Patch 8.2.4192 25707 Problem: Cannot use an import in 'printexpr'. 25708 Solution: Set the script context when evaluating 'printexpr'. 25709 Files: src/evalvars.c, src/testdir/test_vim9_import.vim 25710 25711 Patch 8.2.4193 25712 Problem: Cannot use an import in 'charconvert'. 25713 Solution: Set the script context when evaluating 'charconvert'. Also expand 25714 script-local functions in 'charconvert'. 25715 Files: src/evalvars.c, src/optionstr.c, src/testdir/test_vim9_import.vim 25716 25717 Patch 8.2.4194 25718 Problem: MS-Windows: code for calculating font size is duplicated. 25719 Solution: Move the code to a function. (Ken Takata, closes #9603) 25720 Files: src/gui_w32.c 25721 25722 Patch 8.2.4195 25723 Problem: Resizing terminal may cause to behave like CTRL-Z. 25724 Solution: Set "got_tstp" only when in_mch_suspend is set. (Dorian Bivolaru, 25725 closes #9602, closes #9586) 25726 Files: src/os_unix.c 25727 25728 Patch 8.2.4196 25729 Problem: Various file types not recognized. 25730 Solution: Add patterns to recognize more file types (closes #9607) 25731 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 25732 25733 Patch 8.2.4197 25734 Problem: Cannot use an import in the "expr" part of 'spellsuggest'. 25735 Solution: Set the script context when evaluating "expr" of 'spellsuggest'. 25736 Files: src/evalvars.c, src/testdir/test_vim9_import.vim 25737 25738 Patch 8.2.4198 25739 Problem: Vim9: the switch for executing instructions is too long. 25740 Solution: Move some code to separate functions. 25741 Files: src/vim9execute.c 25742 25743 Patch 8.2.4199 25744 Problem: MS-Windows: Support for MSVC before 2003 is not useful. 25745 Solution: Remove the exceptions for MSVC 6.0. (Ken Takata, closes #9616) 25746 Files: src/GvimExt/gvimext.h, src/ex_docmd.c, src/feature.h, 25747 src/gui_w32.c, src/if_cscope.c, src/if_ole.cpp, src/if_ruby.c, 25748 src/macros.h, src/os_mswin.c, src/os_win32.c, src/os_win32.h, 25749 src/proto/os_win32.pro, src/time.c, src/vim.h 25750 25751 Patch 8.2.4200 25752 Problem: Some tests do not clean up properly. 25753 Solution: Delete created files. (Yegappan Lakshmanan, closes #9611) 25754 Files: src/testdir/test_filetype.vim, src/testdir/test_messages.vim, 25755 src/testdir/test_vim9_import.vim 25756 25757 Patch 8.2.4201 25758 Problem: When using the GUI CTRL-Z does not stop gvim. 25759 Solution: When using the GUI set SIGTSTP to SIG_DFL. (Andrew Maltsev, 25760 closes #9570) 25761 Files: src/os_unix.c 25762 25763 Patch 8.2.4202 25764 Problem: Vim9: cannot export function that exists globally. 25765 Solution: When checking if a function already exists only check for 25766 script-local functions. (closes #9615) 25767 Files: src/userfunc.c, src/proto/userfunc.pro, src/vim.h, 25768 src/vim9compile.c, src/vim9instr.c, 25769 src/testdir/test_vim9_import.vim 25770 25771 Patch 8.2.4203 25772 Problem: Entering a character with CTRL-V may include modifiers. 25773 Solution: Reset "mod_mask" when entering a character with digits after 25774 CTRL-V. (closes #9610) 25775 Files: src/edit.c, src/testdir/test_edit.vim 25776 25777 Patch 8.2.4204 25778 Problem: screenpos() has non-zero row for invisible text. 25779 Solution: Only add the window row when the text is visible. (closes #9618) 25780 Files: src/move.c, src/testdir/test_cursor_func.vim 25781 25782 Patch 8.2.4205 25783 Problem: The normal_cmd() function is too long. 25784 Solution: Move parts to separate functions. (Yegappan Lakshmanan, 25785 closes #9608) 25786 Files: src/normal.c 25787 25788 Patch 8.2.4206 25789 Problem: Condition with many "(" causes a crash. 25790 Solution: Limit recursion to 1000. 25791 Files: src/errors.h, src/eval.c, src/testdir/test_eval_stuff.vim 25792 25793 Patch 8.2.4207 (after 8.2.4206) 25794 Problem: Recursion test fails with MSVC. 25795 Solution: Use a smaller limit for MSVC. 25796 Files: src/eval.c 25797 25798 Patch 8.2.4208 25799 Problem: Using setbufvar() may change the window title. 25800 Solution: Do not redraw when creating the autocommand window. (closes #9613) 25801 Files: src/autocmd.c, src/testdir/test_functions.vim 25802 25803 Patch 8.2.4209 25804 Problem: partial in 'opfunc' cannot use an imported function. 25805 Solution: Also expand the function name in a partial. (closes #9614) 25806 Files: src/evalvars.c, src/testdir/test_vim9_import.vim 25807 25808 Patch 8.2.4210 (after 8.2.4208) 25809 Problem: Window title test fails in some configurations. 25810 Solution: Only run the test if the title can be obtained. 25811 Files: src/testdir/test_functions.vim 25812 25813 Patch 8.2.4211 (after 8.2.4208) 25814 Problem: Window title test still fails in some configurations. 25815 Solution: Use WaitForAssert(). 25816 Files: src/testdir/test_functions.vim 25817 25818 Patch 8.2.4212 (after 8.2.4208) 25819 Problem: Window title test still fails in some configurations. 25820 Solution: Explicitly set the 'title' option. 25821 Files: src/testdir/test_functions.vim 25822 25823 Patch 8.2.4213 25824 Problem: Too much code for supporting old MSVC versions. 25825 Solution: Remove MSVC 2003 support. (Ken Takata, closes #9623) 25826 Files: Filelist, src/INSTALLpc.txt, src/Make_mvc.mak, src/gui_w32.c, 25827 src/msvcsetup.bat, src/os_win32.c 25828 25829 Patch 8.2.4214 25830 Problem: Illegal memory access with large 'tabstop' in Ex mode. 25831 Solution: Allocate enough memory. 25832 Files: src/ex_getln.c, src/testdir/test_ex_mode.vim 25833 25834 Patch 8.2.4215 25835 Problem: Illegal memory access when copying lines in Visual mode. 25836 Solution: Adjust the Visual position after copying lines. 25837 Files: src/ex_cmds.c, src/testdir/test_visual.vim 25838 25839 Patch 8.2.4216 25840 Problem: Vim9: cannot use a function from an autoload import directly. 25841 Solution: Add the AUTOLOAD instruction to figure out at runtime. 25842 (closes #9620) 25843 Files: src/vim9expr.c, src/vim9.h, src/vim9execute.c, src/vim9instr.c, 25844 src/proto/vim9instr.pro, src/testdir/test_vim9_import.vim, 25845 src/testdir/test_vim9_disassemble.vim 25846 25847 Patch 8.2.4217 25848 Problem: Illegal memory access when undo makes Visual area invalid. 25849 Solution: Correct the Visual area after undo. 25850 Files: src/undo.c, src/testdir/test_visual.vim 25851 25852 Patch 8.2.4218 25853 Problem: Illegal memory access with bracketed paste in Ex mode. 25854 Solution: Reserve space for the trailing NUL. 25855 Files: src/edit.c, src/testdir/test_paste.vim 25856 25857 Patch 8.2.4219 25858 Problem: Reading before the start of the line. 25859 Solution: Check boundary before trying to read the character. 25860 Files: src/register.c, src/testdir/test_visual.vim 25861 25862 Patch 8.2.4220 25863 Problem: MS-Windows: some old compiler support remains. 25864 Solution: Remove obsolete compiler support. (Ken Takata, closes #9627) 25865 Files: src/Make_mvc.mak, src/vim.h 25866 25867 Patch 8.2.4221 25868 Problem: Some functions in normal.c are very long. 25869 Solution: Move code to separate functions. (Yegappan Lakshmanan, 25870 closes #9628) 25871 Files: src/normal.c 25872 25873 Patch 8.2.4222 25874 Problem: MS-Windows: clumsy way to suppress progress on CI. 25875 Solution: Check for "$CI" in the Makefile itself. (Ken Takata, closes #9631) 25876 Files: .github/workflows/ci.yml, ci/appveyor.bat, src/Make_mvc.mak 25877 25878 Patch 8.2.4223 25879 Problem: Long/int compiler warnings; function arguments swapped. 25880 Solution: Add type casts. Swap arguments. (Ken Takata, closes #9632) 25881 Files: src/alloc.c, src/eval.c, src/vim9script.c 25882 25883 Patch 8.2.4224 25884 Problem: Vim9: no error when using a number for map() second argument 25885 Solution: Disallow number to string conversion. (closes #9630) 25886 Files: src/eval.c, src/evalfunc.c, src/testdir/test_vim9_builtin.vim 25887 25888 Patch 8.2.4225 25889 Problem: Vim9: depth argument of :lockvar not parsed in :def function. 25890 Solution: Parse the optional depth argument. (closes #9629) 25891 Fix that locking doesn't work for a non-materialize list. 25892 Files: src/vim9cmds.c, src/evalvars.c, src/structs.h, src/evalfunc.c, 25893 src/errors.h, src/vim9execute.c, src/testdir/test_vim9_cmd.vim, 25894 src/testdir/test_vim9_disassemble.vim 25895 25896 Patch 8.2.4226 (after 8.2.4224) 25897 Problem: Filter-map test fails. 25898 Solution: Only reject number argument in Vim9 script. 25899 Files: src/eval.c 25900 25901 Patch 8.2.4227 25902 Problem: Vim9: using "lockvar!" in :def function does not work. 25903 Solution: Add "!" instead of "-1". (closes #9634) 25904 Files: src/vim9cmds.c, src/testdir/test_vim9_cmd.vim 25905 25906 Patch 8.2.4228 25907 Problem: No tests for clicking in the GUI tabline. 25908 Solution: Add test functions to generate the events. Add tests using the 25909 functions. (Yegappan Lakshmanan, closes #9638) 25910 Files: runtime/doc/builtin.txt, runtime/doc/testing.txt, 25911 runtime/doc/usr_41.txt, src/evalfunc.c, src/normal.c, 25912 src/proto/testing.pro, src/testdir/test_diffmode.vim, 25913 src/testdir/test_gui.vim, src/testdir/test_normal.vim, 25914 src/testing.c 25915 25916 Patch 8.2.4229 25917 Problem: Possible crash when invoking timer callback fails. 25918 Solution: Initialize the typval. Give an error for an empty callback. 25919 (closes #9636) 25920 Files: src/time.c, src/testdir/test_vim9_builtin.vim 25921 25922 Patch 8.2.4230 25923 Problem: MS-Windows: set_guifontwide() is included but won't work. 25924 Solution: Include set_guifontwide() only for X11. (Ken Takata, closes #9640) 25925 Files: src/gui.c 25926 25927 Patch 8.2.4231 25928 Problem: Vim9: map() gives type error when type was not declared. 25929 Solution: Only check the type when it was declared, like extend() does. 25930 (closes #9635) 25931 Files: src/list.c, src/evalfunc.c, src/vim9instr.c, 25932 src/testdir/test_vim9_builtin.vim, 25933 src/testdir/test_vim9_assign.vim 25934 25935 Patch 8.2.4232 (after 8.2.4231) 25936 Problem: Some compilers don't like a goto label without statement. 25937 Solution: Return instead of using a goto. 25938 Files: src/list.c 25939 25940 Patch 8.2.4233 25941 Problem: Crash when recording and using Select mode. 25942 Solution: When deleting the last recorded character check there is something 25943 to delete. 25944 Files: src/getchar.c, src/testdir/test_registers.vim 25945 25946 Patch 8.2.4234 25947 Problem: test_garbagecollect_now() does not check v:testing as documented. 25948 Solution: Give an error if v:testing is not set. 25949 Files: src/testing.c, src/errors.h, src/testdir/test_functions.vim 25950 25951 Patch 8.2.4235 25952 Problem: Invalid check for NULL pointer. 25953 Solution: Remove the check. 25954 Files: src/getchar.c 25955 25956 Patch 8.2.4236 25957 Problem: Accessing freed memory. 25958 Solution: Set the bh_curr pointer to NULL. 25959 Files: src/getchar.c 25960 25961 Patch 8.2.4237 25962 Problem: Record buffer wrong if character in Select mode was not typed. 25963 Solution: Only delete the tail from the record buffer if the character was 25964 typed. (closes #9650) 25965 Files: src/normal.c, src/testdir/test_registers.vim 25966 25967 Patch 8.2.4238 25968 Problem: *.tf file could be filetype "tf" or "terraform". 25969 Solution: Detect the type from the file contents. (closes #9642) 25970 Files: runtime/filetype.vim, runtime/autoload/dist/ft.vim, 25971 src/testdir/test_filetype.vim 25972 25973 Patch 8.2.4239 25974 Problem: Build fails with unusual configuration. 25975 Solution: Adjust #ifdef. (closes #9651) 25976 Files: src/testing.c 25977 25978 Patch 8.2.4240 25979 Problem: Error for using flatten() in Vim9 script is unclear. 25980 Solution: Add a remark to use flattennew(). 25981 Files: src/errors.h 25982 25983 Patch 8.2.4241 25984 Problem: Some type casts are redundant. 25985 Solution: Remove the type casts. (closes #9643) 25986 Files: src/blob.c, src/buffer.c, src/channel.c, src/clientserver.c, 25987 src/clipboard.c, src/drawline.c, src/drawscreen.c, src/edit.c, 25988 src/evalfunc.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_eval.c, 25989 src/fold.c, src/if_cscope.c, src/json.c, src/match.c, 25990 src/memline.c, src/message.c, src/misc1.c, src/normal.c, 25991 src/ops.c, src/option.c, src/optionstr.c, src/os_unix.c, 25992 src/register.c, src/sign.c, src/spellfile.c, src/tag.c, src/ui.c, 25993 src/undo.c, src/window.c 25994 25995 Patch 8.2.4242 25996 Problem: Put in Visual mode cannot be repeated. 25997 Solution: Use "P" to put without yanking the deleted text into the unnamed 25998 register. (Shougo Matsushita, closes #9591) 25999 Files: runtime/doc/visual.txt, src/normal.c, src/register.c, 26000 src/testdir/test_visual.vim 26001 26002 Patch 8.2.4243 26003 Problem: Lua tests fail with Lua 5.4.4. 26004 Solution: Check messages like before Lua 5.4.3. (Jakub Kulík, closes #9652) 26005 Files: src/testdir/test_lua.vim 26006 26007 Patch 8.2.4244 26008 Problem: MS-Windows: warning from MSVC on debug build. 26009 Solution: Adjust "/opt" options. Remove unused variables. Make variables 26010 uppercase for consistency. (Ken Takata, closes #9647) 26011 Files: src/Make_mvc.mak 26012 26013 Patch 8.2.4245 26014 Problem: ":retab 0" may cause illegal memory access. 26015 Solution: Limit the value of 'tabstop' to 10000. 26016 Files: src/option.c, src/vim.h, src/indent.c, 26017 src/testdir/test_options.vim 26018 26019 Patch 8.2.4246 26020 Problem: One error message not in errors.h. (Antonio Colombo) 26021 Solution: Move the message and rename. 26022 Files: src/errors.h, src/if_perl.xs 26023 26024 Patch 8.2.4247 26025 Problem: Stack corruption when looking for spell suggestions. 26026 Solution: Prevent the depth increased too much. Add a five second time 26027 limit to finding suggestions. 26028 Files: src/spellsuggest.c, src/testdir/test_spell.vim 26029 26030 Patch 8.2.4248 26031 Problem: No proper test for moving the window separator. 26032 Solution: Add a test. Add comment in code. (closes #9656) 26033 Files: src/window.c, src/testdir/test_window_cmd.vim 26034 26035 Patch 8.2.4249 26036 Problem: The timeout limit for spell suggestions is always 5000 milli 26037 seconds. 26038 Solution: Add the "timeout" entry to 'spellsuggest'. 26039 Files: runtime/doc/options.txt, src/spellsuggest.c, 26040 src/testdir/test_spell.vim 26041 26042 Patch 8.2.4250 26043 Problem: Channel out callback test is flaky on Mac. 26044 Solution: Assign high priority to the test process. (Ozaki Kiichi, 26045 closes #9653) 26046 Files: src/testdir/test_channel_pipe.py, src/testdir/thread_util.py 26047 26048 Patch 8.2.4251 26049 Problem: Vala files are not recognized. 26050 Solution: Add the *.vala pattern. (closes #9654) 26051 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 26052 26053 Patch 8.2.4252 26054 Problem: Generating the normal command table at runtime is inefficient. 26055 Solution: Generate the table with a Vim script and put it in a header file. 26056 (Yegappan Lakshmanan, closes #9648) 26057 Files: Filelist, runtime/doc/builtin.txt, runtime/doc/usr_41.txt, 26058 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Make_vms.mms, 26059 src/Makefile, src/create_nvcmdidxs.vim, src/evalfunc.c, 26060 src/main.c, src/normal.c, src/nv_cmdidxs.h, src/proto/normal.pro 26061 26062 Patch 8.2.4253 26063 Problem: Using freed memory when substitute uses a recursive function call. 26064 Solution: Make a copy of the substitute text. 26065 Files: src/ex_cmds.c, src/testdir/test_substitute.vim 26066 26067 Patch 8.2.4254 26068 Problem: Using short instead of int. 26069 Solution: Use int. (closes #9658) 26070 Files: src/if_cscope.c 26071 26072 Patch 8.2.4255 26073 Problem: Theoretical computation overflow. 26074 Solution: Perform multiplication in a wider type. (closes #9657) 26075 Files: src/alloc.c, src/drawline.c, src/eval.c, src/evalfunc.c, 26076 src/ex_docmd.c, src/hardcopy.c, src/list.c, src/memfile.c, 26077 src/memline.c, src/popupwin.c 26078 26079 Patch 8.2.4256 26080 Problem: MS-Windows: compiler warnings when compiled with /W4. 26081 Solution: Small adjustments to the code. (Ken Takata, closes #9659) 26082 Files: src/gui_w32.c, src/os_win32.c 26083 26084 Patch 8.2.4257 26085 Problem: Vim9: finding global function without g: prefix but not finding 26086 global variable is inconsistent. 26087 Solution: Require using g: for a global function. Change the vim9.vim 26088 script into a Vim9 script with exports. Fix that import in legacy 26089 script does not work. 26090 Files: src/vim9expr.c, src/evalfunc.c, src/eval.c, src/userfunc.c, 26091 src/testdir/vim9.vim, src/testdir/test_vim9_assign.vim, 26092 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim, 26093 src/testdir/test_vim9_disassemble.vim, 26094 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim, 26095 src/testdir/test_vim9_import.vim, 26096 src/testdir/test_vim9_script.vim, src/testdir/test_blob.vim, 26097 src/testdir/test_execute_func.vim, src/testdir/test_debugger.vim, 26098 src/testdir/test_expr.vim, src/testdir/test_filter_map.vim, 26099 src/testdir/test_float_func.vim, src/testdir/test_functions.vim, 26100 src/testdir/test_glob2regpat.vim, src/testdir/test_highlight.vim, 26101 src/testdir/test_iminsert.vim, src/testdir/test_ins_complete.vim, 26102 src/testdir/test_listdict.vim, src/testdir/test_mapping.vim, 26103 src/testdir/test_normal.vim, src/testdir/test_popupwin.vim, 26104 src/testdir/test_profile.vim, src/testdir/test_quickfix.vim, 26105 src/testdir/test_tagfunc.vim, src/testdir/test_textprop.vim, 26106 src/testdir/test_usercommands.vim 26107 26108 Patch 8.2.4258 26109 Problem: Coverity warns for array overrun. 26110 Solution: Restrict depth to MAXWLEN - 1. 26111 Files: src/spellsuggest.c 26112 26113 Patch 8.2.4259 26114 Problem: Number of test functions for GUI events is growing. 26115 Solution: Use one function with a dictionary. (Yegappan Lakshmanan, 26116 closes #9660) 26117 Files: runtime/doc/builtin.txt, runtime/doc/testing.txt, 26118 runtime/doc/usr_41.txt, src/evalfunc.c, src/proto/testing.pro, 26119 src/testdir/test_gui.vim, src/testdir/test_vim9_builtin.vim, 26120 src/testing.c 26121 26122 Patch 8.2.4260 26123 Problem: Vim9: can still use a global function without g: at the script 26124 level. 26125 Solution: Also check for g: at the script level. (issue #9637) 26126 Files: src/userfunc.c, src/proto/userfunc.pro, src/evalvars.c, 26127 src/vim9expr.c, src/testdir/test_vim9_assign.vim, 26128 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim, 26129 src/testdir/test_vim9_disassemble.vim, 26130 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim, 26131 src/testdir/test_vim9_import.vim, 26132 src/testdir/test_ins_complete.vim, src/testdir/test_popupwin.vim, 26133 src/testdir/dumps/Test_popupwin_scroll_11.dump, 26134 src/testdir/dumps/Test_popupwin_scroll_12.dump 26135 26136 Patch 8.2.4261 26137 Problem: Accessing invalid memory when a regular expression checks the 26138 Visual area while matching in a string. 26139 Solution: Do not try matching the Visual area in a string. 26140 Files: src/regexp.c, src/testdir/test_help.vim 26141 26142 Patch 8.2.4262 (after 8.2.4261) 26143 Problem: Some search tests fail. 26144 Solution: Use a better way to reject searching for the Visual area. 26145 Files: src/regexp.c 26146 26147 Patch 8.2.4263 26148 Problem: No test for the GUI find/replace dialog. 26149 Solution: Add a test function and a test. (Yegappan Lakshmanan, 26150 closes #9662) 26151 Files: runtime/doc/testing.txt, src/testdir/test_gui.vim, src/testing.c 26152 26153 Patch 8.2.4264 26154 Problem: Vim9: can use old style autoload function name. 26155 Solution: Give an error for old style autoload function name. 26156 Files: src/errors.h, src/userfunc.c, src/testdir/test_vim9_import.vim, 26157 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim 26158 26159 Patch 8.2.4265 (after 8.2.4264) 26160 Problem: Autoload tests fails. 26161 Solution: Use export instead of name with #. 26162 Files: src/testdir/sautest/autoload/auto9.vim, 26163 src/testdir/test_autoload.vim, src/testdir/test_ins_complete.vim 26164 26165 Patch 8.2.4266 26166 Problem: Compiler warning for uninitialized variable. 26167 Solution: Initialize saved_did_emsg. 26168 Files: src/userfunc.c 26169 26170 Patch 8.2.4267 26171 Problem: Unused entry in keymap enum. 26172 Solution: Remove the entry. 26173 Files: src/keymap.h 26174 26175 Patch 8.2.4268 26176 Problem: CI log output is long. 26177 Solution: Group output in sections. (Ozaki Kiichi, closes #9670) 26178 Files: .github/workflows/ci.yml 26179 26180 Patch 8.2.4269 26181 Problem: Coverity warns for using a NULL pointer. 26182 Solution: Check for "name" to not be NULL. 26183 Files: src/userfunc.c 26184 26185 Patch 8.2.4270 26186 Problem: Generating nv_cmdidxs.h requires building Vim twice. 26187 Solution: Move the table into a separate file and use a separate executable 26188 to extract the command characters. (Ozaki Kiichi, closes #9669) 26189 Files: src/normal.c, src/nv_cmds.h, Filelist, runtime/doc/builtin.txt, 26190 runtime/doc/usr_41.txt, src/Make_cyg_ming.mak, src/Make_mvc.mak, 26191 src/Make_vms.mms, src/Makefile, src/create_nvcmdidxs.c, 26192 src/create_nvcmdidxs.vim, src/evalfunc.c, src/proto/normal.pro 26193 26194 Patch 8.2.4271 26195 Problem: MS-Windows: cannot build with Ruby 3.1.0. 26196 Solution: Adjust the DLL name and include directory. (Ken Takata, 26197 closes #9666) 26198 Files: src/Make_cyg_ming.mak, src/Make_mvc.mak 26199 26200 Patch 8.2.4272 26201 Problem: Vim9 expr test fails without the channel feature. (Dominique 26202 Pellé) 26203 Solution: Remove "g:" before "CheckFeature". (closes #9671) 26204 Files: src/testdir/test_vim9_expr.vim 26205 26206 Patch 8.2.4273 26207 Problem: The EBCDIC support is outdated. 26208 Solution: Remove the EBCDIC support. 26209 Files: src/ascii.h, src/charset.c, src/cindent.c, src/digraph.c, 26210 src/edit.c, src/eval.c, src/evalfunc.c, src/ex_cmds.c, 26211 src/feature.h, src/filepath.c, src/findfile.c, src/getchar.c, 26212 src/gui.c, src/gui_motif.c, src/hardcopy.c, src/help.c, 26213 src/macros.h, src/map.c, src/mark.c, src/misc2.c, src/normal.c, 26214 src/ops.c, src/option.c, src/option.h, src/optiondefs.h, 26215 src/os_unix.c, src/proto/evalfunc.pro, src/regexp.c, 26216 src/regexp_bt.c, src/regexp_nfa.c, src/register.c, src/screen.c, 26217 src/spell.c, src/strings.c, src/structs.h, src/term.c, 26218 src/version.c, src/viminfo.c, src/testdir/test_edit.vim, 26219 src/testdir/test_exec_while_if.vim, src/testdir/test_expr.vim, 26220 src/testdir/test_gf.vim, src/testdir/test_regexp_utf8.vim 26221 26222 Patch 8.2.4274 26223 Problem: Basic and form filetype detection is incomplete. 26224 Solution: Add a separate function for .frm files. (Doug Kearns, closes #9675) 26225 Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim, 26226 src/testdir/test_filetype.vim 26227 26228 Patch 8.2.4275 26229 Problem: Cannot use an autoload function from a package under start. 26230 Solution: Also look in the "start" package directory. (Bjorn Linse, 26231 closes #7193) 26232 Files: src/scriptfile.c, src/testdir/test_packadd.vim 26233 26234 Patch 8.2.4276 26235 Problem: Separate test function for the GUI scrollbar. 26236 Solution: Use test_gui_event(). (Yegappan Lakshmanan, closes #9674) 26237 Files: runtime/doc/builtin.txt, runtime/doc/testing.txt, 26238 runtime/doc/usr_41.txt, src/evalfunc.c, src/testing.c, 26239 src/proto/testing.pro, src/testdir/test_gui.vim, 26240 src/testdir/test_vim9_builtin.vim 26241 26242 Patch 8.2.4277 26243 Problem: Vim9: an import does not shadow a command modifier. 26244 Solution: Do not accept a command modifier followed by a dot. 26245 Files: src/ex_docmd.c, src/testdir/test_vim9_import.vim 26246 26247 Patch 8.2.4278 26248 Problem: Build with Athena GUI fails. (Elimar Riesebieter) 26249 Solution: Add #ifdef. 26250 Files: src/testing.c 26251 26252 Patch 8.2.4279 26253 Problem: Vim9: cannot change item type with map() after range(). 26254 Solution: Split the return type in current type and declared type. 26255 (closes #9665) 26256 Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9instr.c, 26257 src/vim9type.c, src/proto/vim9type.pro, 26258 src/testdir/test_vim9_builtin.vim 26259 26260 Patch 8.2.4280 (after 8.2.4279) 26261 Problem: list-dict test crashes. 26262 Solution: Check declared type for add(). 26263 Files: src/vim9expr.vim 26264 26265 Patch 8.2.4281 26266 Problem: Using freed memory with :lopen and :bwipe. 26267 Solution: Do not use a wiped out buffer. 26268 Files: src/buffer.c, src/testdir/test_quickfix.vim 26269 26270 Patch 8.2.4282 26271 Problem: Restricted mode requires the -Z command line option. 26272 Solution: Use restricted mode when $SHELL ends in "nologin" or "false". 26273 (closes #9681) 26274 Files: runtime/doc/starting.txt, src/option.c, 26275 src/testdir/test_restricted.vim 26276 26277 Patch 8.2.4283 26278 Problem: Using a variable for the return value is not needed. 26279 Solution: Return the value directly. (closes #9687) 26280 Files: src/ex_docmd.c, src/misc2.c 26281 26282 Patch 8.2.4284 26283 Problem: Old mac resources files are no longer used. 26284 Solution: Delete the unused files. (Ozaki Kiichi, closes #9688) 26285 Files: Filelist, src/Makefile, src/dehqx.py, src/infplist.xml, 26286 src/os_mac.rsr.hqx, src/os_mac_rsrc/app.icns, 26287 src/os_mac_rsrc/doc-txt.icns, src/os_mac_rsrc/doc.icns 26288 26289 Patch 8.2.4285 26290 Problem: Vim9: type of item in for loop not checked properly. 26291 Solution: Adjust the type checking. (closes #9683) 26292 Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9cmds.c, 26293 src/testdir/test_vim9_script.vim 26294 26295 Patch 8.2.4286 26296 Problem: Vim9: strict type checking after copy() and deepcopy(). 26297 Solution: Allow type to change after making a copy. (closes #9644) 26298 Files: src/eval.c, src/proto/eval.pro, src/dict.c, src/proto/dict.pro, 26299 src/list.c, src/proto/list.pro, src/evalfunc.c, src/vim9execute.c, 26300 src/vim9type.c, src/proto/vim9type.pro, src/evalvars.c, 26301 src/testdir/test_vim9_builtin.vim, 26302 src/testdir/test_vim9_assign.vim 26303 26304 Patch 8.2.4287 26305 Problem: Cannot assign empty list with any list type to variable with 26306 specific list type. 26307 Solution: Use unknown list type for empty list if the specified type is any. 26308 Files: src/vim9type.c, src/testdir/test_vim9_assign.vim, 26309 src/testdir/test_vim9_func.vim 26310 26311 Patch 8.2.4288 26312 Problem: Preprocessor indents are inconsistent. 26313 Solution: Fix preprocessor indents. (Ken Takata, closes #9691) 26314 Files: src/arglist.c, src/change.c, src/ex_cmds.c, src/gui.c, 26315 src/hashtab.c, src/indent.c, src/ops.c, src/os_win32.c 26316 26317 Patch 8.2.4289 26318 Problem: Warnings reported by MSVC. 26319 Solution: Rename variables and other fixes. (Ken Takata, closes #9689) 26320 Files: src/cmdexpand.c, src/drawscreen.c, src/filepath.c, src/getchar.c, 26321 src/menu.c, src/os_win32.c, src/version.c 26322 26323 Patch 8.2.4290 26324 Problem: MS-Windows: using type casts for timer IDs. 26325 Solution: Remove type casts and use the right type. (Ken Takata, 26326 closes #9690) Remove old debug comments. Rename variables and 26327 functions. 26328 Files: src/gui_w32.c 26329 26330 Patch 8.2.4291 26331 Problem: Error number used twice. 26332 Solution: Renumber the errors. 26333 Files: src/errors.h 26334 26335 Patch 8.2.4292 (after 8.2.4291) 26336 Problem: Test fails. 26337 Solution: Adjust the expected error number. 26338 Files: src/testdir/test_vim9_cmd.vim 26339 26340 Patch 8.2.4293 26341 Problem: Vim9: when copying a list it gets type list<any> even when the 26342 original list did not have a type. 26343 Solution: Only set the type when the original list has a type. (closes #9692) 26344 Files: src/list.c, src/testdir/test_vim9_expr.vim 26345 26346 Patch 8.2.4294 26347 Problem: MS-Windows: #ifdefs for Cygwin are too complicated. 26348 Solution: Simplify the conditions. (Ken Takata, closes #9693) 26349 Files: src/evalfunc.c, src/main.c, src/os_unix.c, src/os_win32.c, 26350 src/os_win32.h 26351 26352 Patch 8.2.4295 26353 Problem: Vim9: concatenating two lists may result in wrong type. 26354 Solution: Remove the type instead of using list<any>. (closes #9692) 26355 Files: src/list.c, src/testdir/test_vim9_expr.vim 26356 26357 Patch 8.2.4296 26358 Problem: Vim9: not all code covered by tests. 26359 Solution: Add a few more tests for corner cases. Fix hang when single quote 26360 is missing. 26361 Files: src/vim9expr.c, src/testdir/test_vim9_assign.vim, 26362 src/testdir/test_vim9_cmd.vim, src/testdir/test_vim9_expr.vim 26363 26364 Patch 8.2.4297 26365 Problem: Vim9: not all code covered by tests. 26366 Solution: Add a couple more tests. 26367 Files: src/testdir/test_vim9_script.vim, 26368 src/testdir/test_vim9_disassemble.vim 26369 26370 Patch 8.2.4298 26371 Problem: Divide by zero with huge tabstop value. 26372 Solution: Reject tabstop value that overflows to zero. 26373 Files: src/indent.c, src/testdir/test_vartabs.vim 26374 26375 Patch 8.2.4299 26376 Problem: SafeState autocommand interferes with debugging. 26377 Solution: Do not trigger SafeState while debugging. (closes #9697) 26378 Files: src/main.c 26379 26380 Patch 8.2.4300 (after 8.2.4299) 26381 Problem: Cannot build tiny version. (Tony Mechelynck) 26382 Solution: Add #ifdef. 26383 Files: src/main.c 26384 26385 Patch 8.2.4301 26386 Problem: Vim9: type error for copy of dict. 26387 Solution: Do not use dict<any> but no type. (closes #9696) 26388 Files: src/dict.c, src/testdir/test_vim9_builtin.vim 26389 26390 Patch 8.2.4302 26391 Problem: Vim9: return type of getline() is too strict. 26392 Solution: Make the declared type list<any>. Also do this for other 26393 functions returning a list of a specific type. 26394 Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim 26395 26396 Patch 8.2.4303 26397 Problem: A few messages should not be translated. 26398 Solution: Remove _(). (Dominique Pellé, closes #9702) 26399 Files: src/syntax.c 26400 26401 Patch 8.2.4304 26402 Problem: Vim9: slice() makes a copy but doesn't change the type. 26403 Solution: Change the declared type like copy(). (closes #9696) 26404 Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim 26405 26406 Patch 8.2.4305 26407 Problem: Tex filetype detection fails. 26408 Solution: Check value to be positive. (closes #9704) 26409 Files: runtime/autoload/dist/ft.vim, src/testdir/test_filetype.vim 26410 26411 Patch 8.2.4306 26412 Problem: No test for fixed perl filetype check. 26413 Solution: Add a test. Sort test functions. 26414 Files: src/testdir/test_filetype.vim 26415 26416 Patch 8.2.4307 26417 Problem: A few more messages should not be translated. 26418 Solution: Remove _(). 26419 Files: src/syntax.c 26420 26421 Patch 8.2.4308 26422 Problem: Vim9: cannot list autoload function. 26423 Solution: Don't give an error for using # when listing a function. 26424 (closes #9703) 26425 Files: src/userfunc.c, src/testdir/test_vim9_import.vim 26426 26427 Patch 8.2.4309 26428 Problem: Vim9: crash when using a partial in the wrong context. 26429 Solution: Don't use an NULL outer pointer. (closes #9706) 26430 Files: src/vim9execute.c, src/testdir/test_vim9_func.vim 26431 26432 Patch 8.2.4310 26433 Problem: Vim9: constant list and dict get a declaration type other than 26434 "any". 26435 Solution: A constant list and dict have a declared member type "any". 26436 (closes #9701) 26437 Files: src/vim9instr.c, src/vim9type.c, src/proto/vim9type.pro, 26438 src/testdir/test_vim9_builtin.vim 26439 26440 Patch 8.2.4311 26441 Problem: Vim9: changing script variable type not caught at compile time. 26442 Solution: Set the declared type. 26443 Files: src/vim9instr.c, src/testdir/test_vim9_assign.vim 26444 26445 Patch 8.2.4312 26446 Problem: No error for using :vim9script in a :def function. 26447 Solution: Give an error when compiling. 26448 Files: src/vim9compile.c, src/testdir/test_vim9_script.vim 26449 26450 Patch 8.2.4313 26451 Problem: Vim9: cannot change type of list after making a slice. 26452 Solution: Adjust the declared member type. (closes #9696) 26453 Files: src/vim9expr.c, src/testdir/test_vim9_builtin.vim 26454 26455 Patch 8.2.4314 (after 8.2.4312) 26456 Problem: Test fails where lines are skipped. 26457 Solution: Only give an error when not skipping commands. 26458 Files: src/vim9compile.c, src/testdir/test_vim9_script.vim 26459 26460 Patch 8.2.4315 26461 Problem: Put in Visual mode not fully tested. 26462 Solution: Add a few more test cases. (closes #9708) 26463 Files: src/testdir/test_visual.vim 26464 26465 Patch 8.2.4316 26466 Problem: __CYGWIN32__ is not defined on 64 bit systems. 26467 Solution: Update #ifdefs. (Ken Takata, closes #9709) 26468 Files: src/main.c, src/os_unix.c, src/pty.c, src/vim.h 26469 26470 Patch 8.2.4317 26471 Problem: MS-Windows: Vim exits when Python 3 initialisation fails. 26472 Solution: Hook into the exit() function to recover from the failure. 26473 (Ken Takata, closes #9710) 26474 Files: runtime/doc/if_pyth.txt, src/if_python3.c, src/os_win32.c, 26475 src/errors.h, src/proto/os_win32.pro 26476 26477 Patch 8.2.4318 26478 Problem: Various comment and indent mistakes, returning wrong zero. 26479 Solution: Fix the mistakes. Return NULL instead of FAIL. 26480 Files: src/clientserver.c, src/eval.c, src/evalvars.c, src/vim9cmds.c, 26481 src/window.c 26482 26483 Patch 8.2.4319 26484 Problem: :put does not work properly in compiled function. (John Beckett) 26485 Solution: Adjust the direction when using line zero. 26486 Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim 26487 26488 Patch 8.2.4320 26489 Problem: Athena and Motif: when maximized scrollbar position is wrong. 26490 Solution: Implement the scrollbar padding functions. (closes #9712) 26491 Files: src/gui_athena.c, src/gui_motif.c 26492 26493 Patch 8.2.4321 26494 Problem: Vim9: crash when using a funcref to a closure. 26495 Solution: Copy pt_outer to the new partial. (closes #9714) 26496 Files: src/evalfunc.c, src/testdir/test_vim9_func.vim 26497 26498 Patch 8.2.4322 26499 Problem: Vim9: crash when using funcref with closure. 26500 Solution: Keep a reference to the funcref that has the outer context. 26501 (closes #9716) 26502 Files: src/evalfunc.c, src/structs.h, src/eval.c, src/vim9execute.c, 26503 src/testdir/test_vim9_func.vim 26504 26505 Patch 8.2.4323 26506 Problem: Vim9: nested function name can start with "_". 26507 Solution: Use same rule for function name for nested functions. 26508 (closes #9713) 26509 Files: src/vim9compile.c, src/testdir/test_vim9_func.vim 26510 26511 Patch 8.2.4324 26512 Problem: Vim9: script-local function name can start with "_". 26513 Solution: Check for leading capital after "s:". Correct error message. 26514 Files: src/userfunc.c, src/errors.h, src/vim9compile.c, 26515 src/testdir/test_vim9_func.vim 26516 26517 Patch 8.2.4325 26518 Problem: 'wildmenu' only shows few matches. 26519 Solution: Add the "pum" option: use a popup menu to show the matches. 26520 (Yegappan Lakshmanan et al., closes #9707) 26521 Files: runtime/doc/options.txt, src/vim.h, src/cmdexpand.c, 26522 src/drawscreen.c, src/evalfunc.c, src/ex_getln.c, src/option.h, 26523 src/optionstr.c, src/popupmenu.c, src/proto/cmdexpand.pro, 26524 src/testdir/test_cmdline.vim, 26525 src/testdir/dumps/Test_wildmenu_pum_01.dump, 26526 src/testdir/dumps/Test_wildmenu_pum_02.dump, 26527 src/testdir/dumps/Test_wildmenu_pum_03.dump, 26528 src/testdir/dumps/Test_wildmenu_pum_04.dump, 26529 src/testdir/dumps/Test_wildmenu_pum_05.dump, 26530 src/testdir/dumps/Test_wildmenu_pum_06.dump, 26531 src/testdir/dumps/Test_wildmenu_pum_07.dump, 26532 src/testdir/dumps/Test_wildmenu_pum_08.dump, 26533 src/testdir/dumps/Test_wildmenu_pum_09.dump, 26534 src/testdir/dumps/Test_wildmenu_pum_10.dump, 26535 src/testdir/dumps/Test_wildmenu_pum_11.dump, 26536 src/testdir/dumps/Test_wildmenu_pum_12.dump, 26537 src/testdir/dumps/Test_wildmenu_pum_13.dump, 26538 src/testdir/dumps/Test_wildmenu_pum_14.dump, 26539 src/testdir/dumps/Test_wildmenu_pum_15.dump, 26540 src/testdir/dumps/Test_wildmenu_pum_16.dump, 26541 src/testdir/dumps/Test_wildmenu_pum_17.dump, 26542 src/testdir/dumps/Test_wildmenu_pum_18.dump, 26543 src/testdir/dumps/Test_wildmenu_pum_19.dump, 26544 src/testdir/dumps/Test_wildmenu_pum_20.dump, 26545 src/testdir/dumps/Test_wildmenu_pum_21.dump, 26546 src/testdir/dumps/Test_wildmenu_pum_22.dump, 26547 src/testdir/dumps/Test_wildmenu_pum_23.dump, 26548 src/testdir/dumps/Test_wildmenu_pum_24.dump, 26549 src/testdir/dumps/Test_wildmenu_pum_25.dump, 26550 src/testdir/dumps/Test_wildmenu_pum_26.dump, 26551 src/testdir/dumps/Test_wildmenu_pum_27.dump, 26552 src/testdir/dumps/Test_wildmenu_pum_28.dump, 26553 src/testdir/dumps/Test_wildmenu_pum_29.dump 26554 26555 Patch 8.2.4326 26556 Problem: "o" and "O" copying comment not sufficiently tested. 26557 Solution: Add a test case. (closes #9718) 26558 Files: src/testdir/test_textformat.vim 26559 26560 Patch 8.2.4327 26561 Problem: May end up with no current buffer. 26562 Solution: When deleting the current buffer to not pick a quickfix buffer as 26563 the new current buffer. 26564 Files: src/buffer.c, src/testdir/test_quickfix.vim 26565 26566 Patch 8.2.4328 26567 Problem: Command line complete matches cleared when typing character. 26568 (Dominique Pellé) 26569 Solution: Only remove a popup menu if there is one. 26570 Files: src/ex_getln.c, src/testdir/test_cmdline.vim, 26571 src/testdir/dumps/Test_wildmenu_pum_30.dump, 26572 src/testdir/dumps/Test_wildmenu_pum_31.dump 26573 26574 Patch 8.2.4329 26575 Problem: No support for end line number and column in 'errorformat'. 26576 Solution: Add %e and %k. (closes #9624) 26577 Files: runtime/doc/quickfix.txt, src/quickfix.c, 26578 src/testdir/test_quickfix.vim 26579 26580 Patch 8.2.4330 26581 Problem: Vim9: no error if script imports itself. 26582 Solution: Give an error when a script imports itself. 26583 Files: src/vim9script.c, src/errors.h, src/testdir/test_vim9_import.vim 26584 26585 Patch 8.2.4331 26586 Problem: Vim9: no test for existing script variable in block. 26587 Solution: Add a test. 26588 Files: src/testdir/test_vim9_func.vim 26589 26590 Patch 8.2.4332 26591 Problem: Vim9: incomplete test for existing script variable in block. 26592 Solution: Add a couple more tests. Fix uncovered problem. 26593 Files: src/userfunc.c, src/vim9compile.c, src/proto/vim9compile.pro, 26594 src/vim9script.c, src/vim9expr.c, src/testdir/test_vim9_func.vim 26595 26596 Patch 8.2.4333 26597 Problem: cstack not always passed to where it is needed. 26598 Solution: Pass cstack through functions. 26599 Files: src/eval.c, src/vim9expr.c, src/vim9script.c, 26600 src/proto/vim9script.pro, src/vim9compile.c, 26601 src/proto/vim9compile.pro 26602 26603 Patch 8.2.4334 26604 Problem: Command line popup menu not positioned correctly. 26605 Solution: Also use vim_strsize() on the existing text. (Naruhiko Nishino, 26606 closes #9727) 26607 Files: src/cmdexpand.c, src/testdir/test_cmdline.vim, 26608 src/testdir/dumps/Test_wildmenu_pum_32.dump 26609 26610 Patch 8.2.4335 26611 Problem: No autocommand event triggered before changing directory. (Ronnie 26612 Magatti) 26613 Solution: Add DirChangedPre. (closes #9721) 26614 Files: runtime/doc/autocmd.txt, src/ex_docmd.c, src/proto/ex_docmd.pro, 26615 src/vim.h, src/autocmd.c, src/misc2.c, 26616 src/testdir/test_autocmd.vim 26617 26618 Patch 8.2.4336 26619 Problem: Using :filter for :scriptnames does not work. (Ben Jackson) 26620 Solution: Call message_filtered(). (closes #9720) 26621 Files: src/scriptfile.c, src/testdir/test_filter_cmd.vim 26622 26623 Patch 8.2.4337 26624 Problem: Part of condition is always true. 26625 Solution: Remove that part of the condition. (closes #9729) 26626 Files: src/filepath.c 26627 26628 Patch 8.2.4338 26629 Problem: An error from an expression mapping messes up the display. 26630 Solution: When the expression results in an empty string return K_IGNORE. 26631 In cmdline mode redraw the command line. (closes #9726) 26632 Files: src/getchar.c, src/testdir/test_mapping.vim, 26633 src/testdir/dumps/Test_map_expr_2.dump, 26634 src/testdir/dumps/Test_map_expr_3.dump, 26635 src/testdir/dumps/Test_map_expr_4.dump 26636 26637 Patch 8.2.4339 26638 Problem: CTRL-A does not work properly with the cmdline popup menu. 26639 Solution: Fix issues with CTRL-A. Add more tests for the cmdline popup 26640 menu. Remove TermWait() before VeriryScreenDump(). Refactor the 26641 cmdline popup code. (Yegappan Lakshmanan, closes #9735) 26642 Files: src/cmdexpand.c, src/ex_getln.c, src/popupmenu.c, 26643 src/testdir/screendump.vim, src/testdir/test_bufline.vim, 26644 src/testdir/test_cmdline.vim, src/testdir/test_conceal.vim, 26645 src/testdir/test_cursorline.vim, src/testdir/test_diffmode.vim, 26646 src/testdir/test_display.vim, src/testdir/test_highlight.vim, 26647 src/testdir/test_match.vim, src/testdir/test_popup.vim, 26648 src/testdir/test_search_stat.vim, src/testdir/test_terminal.vim, 26649 src/testdir/test_textprop.vim, 26650 src/testdir/dumps/Test_wildmenu_pum_33.dump, 26651 src/testdir/dumps/Test_wildmenu_pum_34.dump, 26652 src/testdir/dumps/Test_wildmenu_pum_35.dump, 26653 src/testdir/dumps/Test_wildmenu_pum_36.dump, 26654 src/testdir/dumps/Test_wildmenu_pum_37.dump 26655 26656 Patch 8.2.4340 26657 Problem: Amiga: mch_can_exe() is not implemented. 26658 Solution: Implement mch_can_exe() for Amiga OS 4. (Ola Söder, closes #9731) 26659 Files: src/os_amiga.c 26660 26661 Patch 8.2.4341 26662 Problem: Command line not redrawn when finishing popup menu and the screen 26663 has scrolled up. 26664 Solution: Redraw the command line after updating the screen. (closes #9722) 26665 Files: src/cmdexpand.c, src/testdir/test_cmdline.vim, 26666 src/testdir/dumps/Test_wildmenu_pum_38.dump 26667 26668 Patch 8.2.4342 26669 Problem: CI will soon switch to other windows version. 26670 Solution: Use "windows-2019" instead of "windows-latest". (Ozaki Kiichi, 26671 closes #9740) 26672 Files: .github/workflows/ci.yml 26673 26674 Patch 8.2.4343 26675 Problem: When reloading not all properties are detected. 26676 Solution: Add the "edit" value to v:fcs_choice. (Rob Pilling, closes #9579) 26677 Files: runtime/doc/editing.txt, runtime/doc/eval.txt, src/fileio.c, 26678 src/proto/fileio.pro, src/message.c, src/spellfile.c, 26679 src/testdir/test_filechanged.vim 26680 26681 Patch 8.2.4344 26682 Problem: Amiga: header file included twice. 26683 Solution: Remove #include. (Ola Söder, closes #9733) 26684 Files: src/memfile.c 26685 26686 Patch 8.2.4345 26687 Problem: <amatch> is expanded like a file name for DirChangedPre. 26688 Solution: Do not expand <amatch>. (closes #9742) Also for the User event. 26689 Files: src/autocmd.c, src/testdir/test_autocmd.vim 26690 26691 Patch 8.2.4346 26692 Problem: A custom statusline may cause Esc to work like Enter on the 26693 command line when the popup menu is displayed. 26694 Solution: Save and restore KeyTyped. (closes #9749) 26695 Files: src/drawscreen.c, src/testdir/test_cmdline.vim, 26696 src/testdir/dumps/Test_wildmenu_pum_39.dump 26697 26698 Patch 8.2.4347 26699 Problem: In some build setups UNUSED is not defined. 26700 Solution: Change the logic of how UNUSED is defined. (Ola Söder, 26701 closes #9734) 26702 Files: src/vim.h 26703 26704 Patch 8.2.4348 26705 Problem: "legacy exe cmd" does not do what one would expect. 26706 Solution: Apply the "legacy" and "vim9script" command modifiers to the 26707 argument of ":execute". 26708 Files: runtime/doc/vim9.txt, src/globals.h, src/eval.c, src/ex_docmd.c, 26709 src/testdir/test_vim9_cmd.vim 26710 26711 Patch 8.2.4349 26712 Problem: FileChangedShell test fails on MS-Windows. 26713 Solution: Skip the test on MS-Windows. 26714 Files: src/testdir/test_filechanged.vim 26715 26716 Patch 8.2.4350 26717 Problem: FEAT_GUI_ENABLED defined but never used. 26718 Solution: Remove the #define. (Ola Söder, closes #9732) 26719 Files: src/vim.h 26720 26721 Patch 8.2.4351 26722 Problem: No coverage is measured on MS-Windows CI. 26723 Solution: Enable coverage on MS-Windows. (Ozaki Kiichi, closes #9750) 26724 Files: .github/workflows/ci.yml 26725 26726 Patch 8.2.4352 26727 Problem: ReScript files are not recognized. 26728 Solution: Add the *.res and *.resi patterns. (Ananda Umamil, closes #9752) 26729 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 26730 26731 Patch 8.2.4353 26732 Problem: CI does not use the latest Lua and Python. 26733 Solution: Use Lua 5.4.2 and Python 3.10. (closes #9744) 26734 Files: .github/workflows/ci.yml 26735 26736 Patch 8.2.4354 26737 Problem: Dynamic loading of libsodium not handled properly. 26738 Solution: Fix has() and :version. Show an error message when loading fails. 26739 Fix memory leaks. (Ken Takata, closes #9754) 26740 Files: src/crypt.c, src/evalfunc.c, src/gui_dwrite.cpp, src/if_cscope.c, 26741 src/os_win32.c, src/proto/crypt.pro, src/proto/os_win32.pro, 26742 src/version.c 26743 26744 Patch 8.2.4355 26745 Problem: Unnecessary call to check_colorcolumn(). 26746 Solution: Remove the call. (Sean Dewar, closes #9748) 26747 Files: src/option.c, src/window.c 26748 26749 Patch 8.2.4356 26750 Problem: Command line completion functions are very long. 26751 Solution: Refactor into multiple functions. (Yegappan Lakshmanan, 26752 closes #9753) 26753 Files: src/cmdexpand.c 26754 26755 Patch 8.2.4357 (after 8.2.4348) 26756 Problem: sticky command modifiers are too sticky. 26757 Solution: Do not apply command modifiers to a sourced script. (closes #9751) 26758 Files: src/scriptfile.c, src/testdir/test_vim9_cmd.vim 26759 26760 Patch 8.2.4358 26761 Problem: Vim9: line number of exception is not set. 26762 Solution: Set the line number before throwing an exception. (closes #9755) 26763 Files: src/vim9execute.c, src/testdir/test_vim9_script.vim 26764 26765 Patch 8.2.4359 26766 Problem: crash when repeatedly using :retab. 26767 Solution: Bail out when the line is getting too long. 26768 Files: src/indent.c, src/testdir/test_retab.vim 26769 26770 Patch 8.2.4360 26771 Problem: Vim9: allowing use of "s:" leads to inconsistencies. 26772 Solution: Disallow using "s:" in Vim9 script at the script level. 26773 Files: src/userfunc.c, src/proto/userfunc.pro, src/errors.h, 26774 src/vim9compile.c, src/eval.c, src/testdir/vim9.vim, 26775 src/testdir/test_vim9_assign.vim, 26776 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim, 26777 src/testdir/test_vim9_disassemble.vim, 26778 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim, 26779 src/testdir/test_vim9_import.vim, src/testdir/test_vim9_script.vim 26780 26781 Patch 8.2.4361 (after 8.2.4360) 26782 Problem: Vim9: some tests fail. 26783 Solution: Fix the tests, mostly by removing "s:". 26784 Files: src/testdir/test_expr.vim, src/testdir/test_functions.vim, 26785 src/testdir/test_ins_complete.vim, src/testdir/test_normal.vim, 26786 src/testdir/test_tagfunc.vim 26787 26788 Patch 8.2.4362 26789 Problem: :retab may allocate too much memory. 26790 Solution: Bail out when allocating more than MAXCOL bytes. 26791 Files: src/indent.c 26792 26793 Patch 8.2.4363 26794 Problem: MS-Windows: running out of memory for a very long line. 26795 Solution: Use a 32 bit value for MAXCOL also when ints are 64 bits. 26796 Files: src/vim.h 26797 26798 Patch 8.2.4364 26799 Problem: MS-Windows: still running out of memory for a very long line. 26800 Solution: Check for negative length. 26801 Files: src/indent.c 26802 26803 Patch 8.2.4365 (after 8.2.4348) 26804 Problem: sticky command modifiers are too sticky. 26805 Solution: Do not apply command modifiers to a called function. (closes #9751) 26806 Files: src/userfunc.c, src/testdir/test_vim9_cmd.vim 26807 26808 Patch 8.2.4366 26809 Problem: Not enough tests for command line completion. 26810 Solution: Add a few more tests. (Yegappan Lakshmanan, closes #9760) 26811 Files: src/cmdexpand.c, src/testdir/test_cmdline.vim, 26812 src/testdir/test_usercommands.vim 26813 26814 Patch 8.2.4367 26815 Problem: Calling in_vim9script() multiple times. 26816 Solution: Call it once and keep the result. 26817 Files: src/userfunc.c, src/eval.c 26818 26819 Patch 8.2.4368 26820 Problem: Amiga: a few compiler warnings. 26821 Solution: Adjust #ifdefs. Add "UNUSED". (Ola Söder, closes #9756, 26822 closes #9757) 26823 Files: src/term.c, src/os_amiga.c 26824 26825 Patch 8.2.4369 26826 Problem: Redundant #ifdef argument. 26827 Solution: Remove unused MSWIN. (Ola Söder, closes #9758) 26828 Files: src/feature.h 26829 26830 Patch 8.2.4370 26831 Problem: MS-Windows: libsodium.dll not included with the installer. 26832 Solution: Add the file to the installer if it exists. (Christian Brabandt, 26833 closes #9762) 26834 Files: nsis/gvim.nsi 26835 26836 Patch 8.2.4371 26837 Problem: Vim9: can create a script variable from a legacy function. 26838 Solution: Disallow creating a script variable from a function. 26839 Files: src/evalvars.c, src/errors.h, src/testdir/test_vim9_script.vim 26840 26841 Patch 8.2.4372 26842 Problem: Filetype detection from file contents is in legacy script. 26843 Solution: Use a compiled function for filetype detection. 26844 Files: runtime/scripts.vim, runtime/autoload/dist/script.vim 26845 26846 Patch 8.2.4373 26847 Problem: Expression test fails. 26848 Solution: Make the test work with latest Vim9 syntax. 26849 Files: src/testdir/test_expr.vim 26850 26851 Patch 8.2.4374 26852 Problem: Unreachable code. 26853 Solution: Remove outdated code lines. 26854 Files: src/vim9compile.c 26855 26856 Patch 8.2.4375 26857 Problem: ctx_imports is not used. 26858 Solution: Delete ctx_imports. Add missing dependency. 26859 Files: src/vim9.h, src/vim9compile.c, src/proto/vim9compile.pro, 26860 src/eval.c, src/evalfunc.c, src/evalvars.c, src/userfunc.c, 26861 src/vim9expr.c, src/vim9script.c, src/Makefile 26862 26863 Patch 8.2.4376 26864 Problem: Not enough tests for command line completion. 26865 Solution: Add a few more tests. (Yegappan Lakshmanan, closes #9771) 26866 Files: src/testdir/test_cmdline.vim, src/testdir/test_usercommands.vim 26867 26868 Patch 8.2.4377 26869 Problem: CI steps for Windows are a bit unorganized. 26870 Solution: Organize CI test steps on Windows. (Ozaki Kiichi, closes #9764) 26871 Files: .github/workflows/ci.yml 26872 26873 Patch 8.2.4378 26874 Problem: Incsearch highlight broken when calling searchcount() in 'tabLine' 26875 function. (Mirko Palmer) 26876 Solution: Save and restore the incsearch state. (Christian Brabandt, 26877 closes #9763, closes #9633) 26878 Files: src/search.c, src/testdir/test_search_stat.vim, 26879 src/testdir/dumps/Test_searchstat_inc_1.dump, 26880 src/testdir/dumps/Test_searchstat_inc_2.dump, 26881 src/testdir/dumps/Test_searchstat_inc_3.dump 26882 26883 Patch 8.2.4379 26884 Problem: An empty change is reported to a listener. 26885 Solution: Do not report an empty change. (closes #9768) Remove unused 26886 return value. 26887 Files: src/undo.c, src/change.c, src/testdir/test_listener.vim 26888 26889 Patch 8.2.4380 26890 Problem: Small differences between Chinese translation files. 26891 Solution: Add rule for converting UTF-8 to gb2312. (closes #9773) 26892 Files: src/po/Makefile, src/po/Make_all.mak 26893 26894 Patch 8.2.4381 (after 8.2.4380) 26895 Problem: Translation file listed twice. 26896 Solution: Remove one entry. 26897 Files: src/po/Make_all.mak 26898 26899 Patch 8.2.4382 (after 8.2.4346) 26900 Problem: A custom 'tabline' may cause Esc to work like Enter on the 26901 command line when the popup menu is displayed. 26902 Solution: Save and restore KeyTyped. (closes #9776) 26903 Files: src/drawscreen.c, src/screen.c, src/testdir/test_cmdline.vim, 26904 src/testdir/dumps/Test_wildmenu_pum_40.dump 26905 26906 Patch 8.2.4383 26907 Problem: Vim9: unused code lines. 26908 Solution: Rely on either "cctx" or "cstack" to not be NULL. 26909 Files: src/vim9compile.c 26910 26911 Patch 8.2.4384 26912 Problem: Vim9: error message not tested, some code not tested. 26913 Solution: Add a couple of test cases. Give an error for a command modifier 26914 without a command. 26915 Files: src/errors.h, src/vim9compile.c, src/ex_docmd.c, 26916 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_cmd.vim 26917 26918 Patch 8.2.4385 (after 8.2.4384) 26919 Problem: Cannot build tiny version. 26920 Solution: Adjust #ifdefs. 26921 Files: src/errors.h 26922 26923 Patch 8.2.4386 (after 8.2.4384) 26924 Problem: Still cannot build tiny version. 26925 Solution: Adjust #ifdefs. 26926 Files: src/ex_docmd.c 26927 26928 Patch 8.2.4387 26929 Problem: Command line completion doesn't always work properly. 26930 Solution: Adjust triggering after a "|". Add more tests. (Yegappan 26931 Lakshmanan, closes #9779) 26932 Files: src/cmdexpand.c, src/testdir/test_cmdline.vim 26933 26934 Patch 8.2.4388 26935 Problem: Dead code in op_insert(). 26936 Solution: Remove condition and else block. (closes #9782) 26937 Files: src/ops.c 26938 26939 Patch 8.2.4389 26940 Problem: screenpos() does not handle a position in a closed fold. 26941 Solution: Check if the position is inside a closed fold. (closes #9778) 26942 Files: src/move.c, src/testdir/test_cursor_func.vim 26943 26944 Patch 8.2.4390 26945 Problem: Vim9: list from declaration with inferred type does not set the 26946 type on the value. 26947 Solution: When inferring the type in a variable declaration also set the 26948 type of the list or dictionary. (closes #9705) Do not set the 26949 type when the member is "any". 26950 Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim, 26951 src/testdir/test_vim9_builtin.vim, 26952 src/testdir/test_vim9_disassemble.vim 26953 26954 Patch 8.2.4391 26955 Problem: Command line executed when typing Esc in the GUI. 26956 Solution: Move saving/restoring KeyTyped to build_stl_str_hl(). 26957 (closes #9783) 26958 Files: src/buffer.c, src/screen.c 26959 26960 Patch 8.2.4392 (after 8.2.4002) 26961 Problem: MS-Windows with VIMDLL: Escaping CSI is wrong. 26962 Solution: Put back #ifdef. (Ken Takata, closes #9769) 26963 Files: src/getchar.c 26964 26965 Patch 8.2.4393 26966 Problem: Possible number overflow with nested folds. 26967 Solution: Avoid a negative line number. 26968 Files: src/fold.c 26969 26970 Patch 8.2.4394 (after 8.2.4392) 26971 Problem: UTF8 select mode test fails on MS-Windows. 26972 Solution: Revert the #ifdef change. 26973 Files: src/getchar.c 26974 26975 Patch 8.2.4395 26976 Problem: Some code lines not covered by tests. 26977 Solution: Add a few more test cases. Fix getting more than one error for 26978 invalid assignment. 26979 Files: src/evalvars.c, src/errors.h, src/vim9compile.c, 26980 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_cmd.vim, 26981 src/testdir/test_vim9_func.vim 26982 26983 Patch 8.2.4396 (after 8.2.4395) 26984 Problem: Python3 test fails. 26985 Solution: Remove "let". 26986 Files: src/testdir/test_vim9_func.vim 26987 26988 Patch 8.2.4397 26989 Problem: Crash when using many composing characters in error message. 26990 Solution: Use mb_cptr2char_adv() instead of mb_ptr2char_adv(). 26991 Files: src/testing.c, src/testdir/test_assert.vim 26992 26993 Patch 8.2.4398 26994 Problem: Some command completion functions are too long. 26995 Solution: Refactor code into separate functions. Add a few more tests. 26996 (Yegappan Lakshmanan, closes #9785) 26997 Files: src/cmdexpand.c, src/ex_getln.c, src/usercmd.c, 26998 src/proto/usercmd.pro, src/testdir/test_cmdline.vim 26999 27000 Patch 8.2.4399 27001 Problem: Crash after ml_get error. 27002 Solution: When returning "???" flush the line and set ml_line_lnum. 27003 Files: src/memline.c 27004 27005 Patch 8.2.4400 (after 8.2.4394) 27006 Problem: MS-Windows: cannot use the mouse in the console with VIMDLL. 27007 Solution: use add_char2buf() instead of fix_input_buffer(). (closes #9784, 27008 closes #9769) 27009 Files: src/getchar.c 27010 27011 Patch 8.2.4401 27012 Problem: Map listing does not clear the rest of the command line. 27013 Solution: Call msg_clear_eos(). (closes #5623, closes #5962) 27014 Files: src/map.c, src/testdir/test_mapping.vim, 27015 src/testdir/dumps/Test_map_list_1.dump 27016 27017 Patch 8.2.4402 27018 Problem: Missing parenthesis may cause unexpected problems. 27019 Solution: Add more parenthesis is macros. (closes #9788) 27020 Files: src/autocmd.c, src/charset.c, src/drawline.c, src/drawscreen.c, 27021 src/evalfunc.c, src/fileio.c, src/fold.c, src/getchar.c, 27022 src/highlight.c, src/memline.c, src/normal.c, src/quickfix.c, 27023 src/regexp.c, src/search.c, src/sha256.c, src/spell.c, 27024 src/spellfile.c, src/spellsuggest.c, src/syntax.c, src/window.c 27025 27026 Patch 8.2.4403 27027 Problem: ml_get error with nested folds and deleting lines. 27028 Solution: Correct the last line number before calling hasFoldingWin(). 27029 Files: src/change.c 27030 27031 Patch 8.2.4404 27032 Problem: Vim9: some code not covered by tests. 27033 Solution: Add a few specific test cases. 27034 Files: src/vim9execute.c, src/testdir/test_vim9_func.vim, 27035 src/testdir/test_vim9_import.vim 27036 27037 Patch 8.2.4405 27038 Problem: Compiler warning for unused variable without the +folding feature. 27039 (Tony Mechelynck) 27040 Solution: Add #ifdef. 27041 Files: src/change.c 27042 27043 Patch 8.2.4406 27044 Problem: Expand functions use confusing argument names. 27045 Solution: Rename "file" to "match". Refactor some completion code. Add a 27046 few more tests. (Yegappan Lakshmanan, closes #9790) 27047 Files: src/cmdexpand.c, src/testdir/test_usercommands.vim 27048 27049 Patch 8.2.4407 27050 Problem: Vim9: some code not covered by tests. 27051 Solution: Add more tests. Avoid giving two errors. Remove dead code. 27052 Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim, 27053 src/testdir/test_vim9_cmd.vim, src/testdir/test_vim9_func.vim 27054 27055 Patch 8.2.4408 27056 Problem: Vim9: some code not covered by tests. 27057 Solution: Add a few more tests. Correct error message. Allow unlet on dict 27058 with a number key. 27059 Files: src/vim9execute.c, src/errors.h, src/testdir/test_vim9_assign.vim 27060 27061 Patch 8.2.4409 27062 Problem: Vim9: some code not covered by tests. 27063 Solution: Add a few more tests. Fix reported line number. 27064 Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim 27065 27066 Patch 8.2.4410 27067 Problem: Vim9: some code not covered by tests. 27068 Solution: Add a few more tests. Remove dead code. 27069 Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim, 27070 src/testdir/test_vim9_cmd.vim, src/testdir/test_vim9_expr.vim, 27071 src/testdir/test_vim9_script.vim 27072 27073 Patch 8.2.4411 27074 Problem: Bicep files are not recognized. 27075 Solution: Match *.bicep files. (Dundar Goc, closes #9791) 27076 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 27077 27078 Patch 8.2.4412 27079 Problem: Translation cleanup script does not remove empty lines at end. 27080 Solution: Remove empty lines at the end. (Ken Takata, closes #9794) 27081 Files: src/po/cleanup.vim 27082 27083 Patch 8.2.4413 27084 Problem: Vim9: Coverity warns for using NULL pointer. 27085 Solution: Give an internal error when funcref function can't be found. 27086 Files: src/vim9execute.c 27087 27088 Patch 8.2.4414 27089 Problem: Solidity files are not recognized. 27090 Solution: Add the *.sol pattern. (Dundar Goc, closes #9792) 27091 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 27092 27093 Patch 8.2.4415 27094 Problem: Function argument name conflicts with C++ keyword. 27095 Solution: Rename the argument. 27096 Files: src/usercmd.c, src/proto/usercmd.pro 27097 27098 Patch 8.2.4416 27099 Problem: Vim9: using a script-local function requires using "s:" when 27100 setting 'completefunc'. 27101 Solution: Do not require "s:" in Vim9 script. (closes #9796) 27102 Files: runtime/doc/options.txt, src/userfunc.c, 27103 src/testdir/test_ins_complete.vim 27104 27105 Patch 8.2.4417 (after 8.2.4416) 27106 Problem: Using NULL pointer. 27107 Solution: Set offset after checking for NULL pointer. 27108 Files: src/userfunc.c 27109 27110 Patch 8.2.4418 27111 Problem: Crash when using special multi-byte character. 27112 Solution: Don't use isalpha() for an arbitrary character. 27113 Files: src/charset.c, src/proto/charset.pro, src/filepath.c, 27114 src/testdir/test_autochdir.vim 27115 27116 Patch 8.2.4419 27117 Problem: Illegal memory access when using exactly 20 highlights. 27118 Solution: Add one more item in the array. (Brandon Richardson, 27119 closes #9800) 27120 Files: src/buffer.c, src/testdir/test_tabline.vim 27121 27122 Patch 8.2.4420 27123 Problem: Menu translations are inconsistent. 27124 Solution: Add a Makefile to convert between encodings. (Ada (Haowen) Yu, 27125 closes #9801) 27126 Files: runtime/lang/Makefile, runtime/lang/menu_af_af.latin1.vim, 27127 runtime/lang/menu_ca_es.latin1.vim, 27128 runtime/lang/menu_chinese_gb.936.vim, 27129 runtime/lang/menu_chinese_taiwan.950.vim, 27130 runtime/lang/menu_cs_cz.iso_8859-2.vim, 27131 runtime/lang/menu_cs_cz.utf-8.vim, 27132 runtime/lang/menu_czech_czech_republic.1250.vim, 27133 runtime/lang/menu_czech_czech_republic.ascii.vim, 27134 runtime/lang/menu_da.utf-8.vim, 27135 runtime/lang/menu_de_de.latin1.vim, 27136 runtime/lang/menu_eo.utf-8.vim, 27137 runtime/lang/menu_es_es.latin1.vim, 27138 runtime/lang/menu_fi_fi.latin1.vim, 27139 runtime/lang/menu_fr_fr.latin1.vim, 27140 runtime/lang/menu_hu_hu.iso_8859-2.vim, 27141 runtime/lang/menu_hu_hu.utf-8.vim, 27142 runtime/lang/menu_is_is.latin1.vim, 27143 runtime/lang/menu_it_it.latin1.vim, 27144 runtime/lang/menu_ja_jp.euc-jp.vim, 27145 runtime/lang/menu_ja_jp.utf-8.vim, 27146 runtime/lang/menu_japanese_japan.932.vim, 27147 runtime/lang/menu_ko_kr.euckr.vim, 27148 runtime/lang/menu_ko_kr.utf-8.vim, 27149 runtime/lang/menu_nl_nl.latin1.vim, 27150 runtime/lang/menu_no_no.latin1.vim, 27151 runtime/lang/menu_pl_pl.iso_8859-2.vim, 27152 runtime/lang/menu_pl_pl.utf-8.vim, 27153 runtime/lang/menu_polish_poland.1250.vim, 27154 runtime/lang/menu_pt_br.vim, runtime/lang/menu_pt_pt.vim, 27155 runtime/lang/menu_ru.utf-8.vim, 27156 runtime/lang/menu_ru_ru.koi8-r.vim, 27157 runtime/lang/menu_ru_ru.utf-8.vim, runtime/lang/menu_ru_ru.vim, 27158 runtime/lang/menu_sk_sk.iso_8859-2.vim, 27159 runtime/lang/menu_sl_si.cp1250.vim, 27160 runtime/lang/menu_sl_si.latin2.vim, 27161 runtime/lang/menu_sl_si.utf-8.vim, 27162 runtime/lang/menu_slovak_slovak_republic.1250.vim, 27163 runtime/lang/menu_sr_rs.ascii.vim, 27164 runtime/lang/menu_sr_rs.iso_8859-2.vim, 27165 runtime/lang/menu_sr_rs.iso_8859-5.vim, 27166 runtime/lang/menu_sr_rs.utf-8.vim, 27167 runtime/lang/menu_sv_se.latin1.vim, 27168 runtime/lang/menu_tr_tr.cp1254.vim, 27169 runtime/lang/menu_tr_tr.iso_8859-9.vim, 27170 runtime/lang/menu_tr_tr.utf-8.vim, 27171 runtime/lang/menu_uk_ua.cp1251.vim, 27172 runtime/lang/menu_uk_ua.koi8-u.vim, 27173 runtime/lang/menu_uk_ua.utf-8.vim, runtime/lang/menu_vi_vn.vim, 27174 runtime/lang/menu_zh_cn.utf-8.vim, 27175 runtime/lang/menu_zh_tw.utf-8.vim 27176 27177 Patch 8.2.4421 27178 Problem: Some installed files and directories have wrong permissions. 27179 Solution: Adjust the Makefile and shell to set permissions. (closes #9793) 27180 Files: src/Makefile, src/installman.sh 27181 27182 Patch 8.2.4422 27183 Problem: Autochdir test fails on MS-Windows. 27184 Solution: Expect another error on MS-Windows. 27185 Files: src/testdir/test_autochdir.vim 27186 27187 Patch 8.2.4423 27188 Problem: "make nvcmdidxs" fails. 27189 Solution: Use "-S" instead of "-u" to source the script. 27190 Files: src/Makefile 27191 27192 Patch 8.2.4424 27193 Problem: ".gts" and ".gjs" files are not recognized. 27194 Solution: Recognize Glimmer flavored typescript and javascript. 27195 (closes #9799) 27196 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 27197 27198 Patch 8.2.4425 27199 Problem: map() function does not check function arguments at compile time. 27200 Solution: Give an error if the arguments of a map() function are wrong. 27201 Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim, 27202 src/testdir/test_vim9_func.vim 27203 27204 Patch 8.2.4426 27205 Problem: map() function on string and blob does not check argument types at 27206 compile time. 27207 Solution: Check string and blob argument types. Support "0z1234->func()". 27208 Files: src/vim9compile.c, src/evalfunc.c, src/ex_docmd.c, 27209 src/testdir/test_vim9_builtin.vim 27210 27211 Patch 8.2.4427 27212 Problem: getchar() may return modifiers if no character is available. 27213 Solution: Do not process modifiers when there is no character. (closes #9806) 27214 Files: src/getchar.c, src/testdir/test_functions.vim 27215 27216 Patch 8.2.4428 27217 Problem: Crash when switching tabpage while in the cmdline window. 27218 Solution: Disallow switching tabpage when in the cmdline window. 27219 Files: src/window.c, src/proto/window.pro, src/evalvars.c, 27220 src/evalvars.c, src/usercmd.c 27221 27222 Patch 8.2.4429 27223 Problem: Using script-local function from the wrong script when using a 27224 partial. (Yegappan Lakshmanan) 27225 Solution: Include the script ID in the partial name. 27226 Files: src/userfunc.c, src/proto/userfunc.pro, src/evalfunc.c, 27227 src/vim9type.c, src/testdir/test_vim9_import.vim 27228 27229 Patch 8.2.4430 27230 Problem: GTK: crash when using 'guiligatures' and reading from stdin. 27231 Solution: Make a copy of the message. (Amon Sha, closes #9719, closes #9814) 27232 Files: src/fileio.c 27233 27234 Patch 8.2.4431 27235 Problem: Unnecessary condition when assigning to a variable. 27236 Solution: Remove the condition. 27237 Files: src/evalvars.c 27238 27239 Patch 8.2.4432 (after 8.2.4428) 27240 Problem: Cannot use settabvar() while the cmdline window is open. 27241 Solution: Only give an error when actually switching tabpage. 27242 (closes #9813) 27243 Files: src/window.c 27244 27245 Patch 8.2.4433 27246 Problem: CI: cannot see interface versions for MS-Windows. 27247 Solution: List the interface versions. (Ken Takata, closes #9811) 27248 Files: .github/workflows/ci.yml 27249 27250 Patch 8.2.4434 27251 Problem: Duplicate check for cmdline window. 27252 Solution: Remove the second check. (Sean Dewar, closes #9816) 27253 Files: src/window.c 27254 27255 Patch 8.2.4435 27256 Problem: Dead code in checking map() arguments. (Dominique Pellé) 27257 Solution: Remove the first return statement. (closes #9815) 27258 Files: src/evalfunc.c 27259 27260 Patch 8.2.4436 27261 Problem: Crash with weird 'vartabstop' value. 27262 Solution: Check for running into the end of the line. 27263 Files: src/indent.c, src/testdir/test_vartabs.vim 27264 27265 Patch 8.2.4437 27266 Problem: Vartabs test fails on MS-Windows. 27267 Solution: Use iso8859-1 'encoding'. (Ken Takata, closes #9818) 27268 Files: src/testdir/test_vartabs.vim 27269 27270 Patch 8.2.4438 27271 Problem: Crash on exit when using cmdline window. 27272 Solution: Reset "cmdwin_type" before exiting. (closes #9817) 27273 Files: src/ui.c, src/testdir/test_exit.vim 27274 27275 Patch 8.2.4439 27276 Problem: Accepting "iso8859" 'encoding' as "iso-8859-". 27277 Solution: use "iso8859" as "iso-8859-1". 27278 Files: src/mbyte.c, src/testdir/test_options.vim 27279 27280 Patch 8.2.4440 27281 Problem: Crash with specific regexp pattern and string. 27282 Solution: Stop at the start of the string. 27283 Files: src/regexp_bt.c, src/testdir/test_regexp_utf8.vim 27284 27285 Patch 8.2.4441 27286 Problem: Vim9: function argument of filter() not checked like map(). 27287 Solution: Also check the function argument of filter(). 27288 Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim 27289 27290 Patch 8.2.4442 (after 8.2.4438) 27291 Problem: Test for error reading input fails on MS-Windows. 27292 Solution: Don't run the test on MS-Windows. 27293 Files: src/testdir/test_exit.vim 27294 27295 Patch 8.2.4443 (after 8.2.4440) 27296 Problem: Regexp pattern test fails on Mac. 27297 Solution: Do not use a swapfile for the buffer. 27298 Files: src/testdir/test_regexp_utf8.vim 27299 27300 Patch 8.2.4444 27301 Problem: Beep caused by test. ASAN reports leaks. 27302 Solution: Do not put a NL at the end of the script. Make the text work on 27303 MS-Windows. Do not run the test with ASAN. 27304 Files: src/testdir/test_exit.vim 27305 27306 Patch 8.2.4445 27307 Problem: Exit test fails on MS-Windows anyway. 27308 Solution: Skip the test on MS-Windows. 27309 Files: src/testdir/test_exit.vim 27310 27311 Patch 8.2.4446 27312 Problem: Vim9: cannot refer to a global function like a local one. 27313 Solution: When g:name is not a variable but a function, use a function 27314 reference. (closes #9826) 27315 Files: src/vim9execute.c, src/testdir/test_vim9_builtin.vim 27316 27317 Patch 8.2.4447 27318 Problem: Vim9: can still use s:var in a compiled function. 27319 Solution: Disallow using s:var for Vim9 script. (closes #9824) 27320 Files: runtime/doc/vim9.txt, src/vim9expr.c, src/vim9compile.c, 27321 src/testdir/test_vim9_assign.vim 27322 27323 Patch 8.2.4448 (after 8.2.4447) 27324 Problem: Filetype detection is failing. 27325 Solution: Do not use "s:" where it is no longer allowed. 27326 Files: runtime/autoload/dist/ft.vim, 27327 27328 Patch 8.2.4449 27329 Problem: vim9: function argument of sort() not checked at compile time. 27330 Solution: Add a compile time check. 27331 Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim 27332 27333 Patch 8.2.4450 (after 8.2.4449) 27334 Problem: List sort test fails. 27335 Solution: Pass a valid "how" argument. 27336 Files: src/testdir/test_listdict.vim 27337 27338 Patch 8.2.4451 (after 8.2.4450) 27339 Problem: sort() fails when ignoring case. 27340 Solution: Accept a number one argument in sort(). 27341 Files: src/evalfunc.c, src/testdir/test_listdict.vim 27342 27343 Patch 8.2.4452 27344 Problem: Test for what 8.2.4436 fixes does not check for regression. 27345 Solution: Set several options. (Ken Takata, closes #9830) 27346 Files: src/testdir/test_vartabs.vim 27347 27348 Patch 8.2.4453 27349 Problem: :helpgrep may free an option that was not allocated. (Yegappan 27350 Lakshmanan) 27351 Solution: Check if the value was allocated. 27352 Files: src/option.c, src/proto/option.pro, src/quickfix.c, 27353 src/testdir/test_quickfix.vim 27354 27355 Patch 8.2.4454 27356 Problem: Resetting cmdwin_type only for one situation. 27357 Solution: Reset cmdwin_type before closing windows. (closes #9822) 27358 Files: src/ui.c, src/window.c, src/testdir/test_exit.vim 27359 27360 Patch 8.2.4455 27361 Problem: Accepting one and zero for the second sort() argument is strange. 27362 Solution: Disallow using one and zero in Vim9 script. 27363 Files: runtime/doc/builtin.txt, src/evalfunc.c, src/list.c, 27364 src/testdir/test_listdict.vim 27365 27366 Patch 8.2.4456 27367 Problem: Terminal test may fail on some machines. 27368 Solution: Increase wait time. (Zdenek Dohnal, closes #9834) 27369 Files: src/testdir/test_terminal.vim 27370 27371 Patch 8.2.4457 27372 Problem: The GPM library can only be linked statically. 27373 Solution: Make it possible to load the GPM library dynamically. (Damien) 27374 Files: runtime/doc/various.txt, src/config.h.in, src/configure.ac, 27375 src/Makefile, src/evalfunc.c, src/feature.h, src/os_unix.c, 27376 src/proto/os_unix.pro, src/version.c 27377 27378 Patch 8.2.4458 27379 Problem: Vim9: compiling filter() call fails with funcref that has unknown 27380 arguments. 27381 Solution: Do not check the arguments if they are unknown at compile time. 27382 (closes #9835) 27383 Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim 27384 27385 Patch 8.2.4459 27386 Problem: Vim9: compiling sort() call fails with a funcref that has unknown 27387 arguments. 27388 Solution: Do not check the arguments if they are unknown at compile time. 27389 (closes #9835) 27390 Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim 27391 27392 Patch 8.2.4460 27393 Problem: Vim9: wrong error for defining dict function. 27394 Solution: Explicitly check for trying to define a dict function. 27395 (closes #9827) 27396 Files: src/errors.h, src/userfunc.c, src/vim9compile.c, 27397 src/testdir/test_vim9_func.vim 27398 27399 Patch 8.2.4461 27400 Problem: MS-Windows: garbage characters on stdout with VIMDLL. 27401 Solution: Don't call gui_focus_change() when about to quit. (Ken Takata, 27402 closes #9840) 27403 Files: src/gui_w32.c 27404 27405 Patch 8.2.4462 27406 Problem: Not enough testing for quickfix code. 27407 Solution: Add more tests. Fix uncovered problem. (Yegappan Lakshmanan, 27408 closes #9839) 27409 Files: src/quickfix.c, src/window.c, src/testdir/test_makeencoding.vim, 27410 src/testdir/test_quickfix.vim 27411 27412 Patch 8.2.4463 27413 Problem: Completion only uses strict matching. 27414 Solution: Add the "fuzzy" item for 'wildoptions'. (Yegappan Lakshmanan, 27415 closes #9803) 27416 Files: runtime/doc/options.txt, src/buffer.c, src/cmdexpand.c, 27417 src/option.c, src/option.h, src/optionstr.c, 27418 src/proto/cmdexpand.pro, src/proto/option.pro, 27419 src/proto/search.pro, src/search.c, src/structs.h, 27420 src/testdir/gen_opt_test.vim, src/testdir/test_cmdline.vim 27421 27422 Patch 8.2.4464 27423 Problem: Dtrace files are recognized as filetype D. 27424 Solution: Add a pattern for Dtrace files. (Teubel György, closes #9841) 27425 Add some more testing. 27426 Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim, 27427 src/testdir/test_filetype.vim 27428 27429 Patch 8.2.4465 27430 Problem: Fuzzy completion does not order matches properly. 27431 Solution: Do not use regular expression match. (Yegappan Lakshmanan, 27432 closes #9843) 27433 Files: src/cmdexpand.c, src/search.c, src/testdir/test_cmdline.vim 27434 27435 Patch 8.2.4466 27436 Problem: MS-Windows: illegal memory access in installer when using 27437 "create-directories" as the final argument. 27438 Solution: Check the argument count. (Cam Sinclair, closes #9844) 27439 Files: src/dosinst.c 27440 27441 Patch 8.2.4467 27442 Problem: Running filetype test leaves file behind. 27443 Solution: Delete the file. 27444 Files: src/testdir/test_filetype.vim 27445 27446 Patch 8.2.4468 27447 Problem: Coverity warns for uninitialized struct member. 27448 Solution: Set color.index to zero. 27449 Files: src/terminal.c 27450 27451 Patch 8.2.4469 27452 Problem: Coverity warns for uninitialized variable. 27453 Solution: Set the value to zero. 27454 Files: src/ex_getln.c 27455 27456 Patch 8.2.4470 27457 Problem: Coverity warns for uninitialized variable. 27458 Solution: Set can_spell to zero. 27459 Files: src/drawline.c 27460 27461 Patch 8.2.4471 27462 Problem: Coverity warns for uninitialized variable. 27463 Solution: Set flags to zero. 27464 Files: src/vim9cmds.c 27465 27466 Patch 8.2.4472 27467 Problem: Coverity warns for use of a freed function name. 27468 Solution: Only check an autoload name when is prefixed. 27469 Files: src/userfunc.c 27470 27471 Patch 8.2.4473 27472 Problem: Coverity warns for not checking return value of ftell(). 27473 Solution: Bail out if ftell() returns a negative value. 27474 Files: src/spellfile.c 27475 27476 Patch 8.2.4474 27477 Problem: Memory allocation failures not tested in quickfix code. 27478 Solution: Add alloc IDs and tests. (Yegappan Lakshmanan, closes #9848) 27479 Files: src/alloc.h, src/quickfix.c, src/vim.h, 27480 src/testdir/test_quickfix.vim 27481 27482 Patch 8.2.4475 27483 Problem: Fuzzy cmdline completion does not work for lower case. 27484 Solution: Also use fuzzy completion for lower case input. (Yegappan 27485 Lakshmanan, closes #9849) 27486 Files: src/cmdexpand.c, src/testdir/test_cmdline.vim 27487 27488 Patch 8.2.4476 27489 Problem: Operator name spelled wrong. 27490 Solution: Change trinary to ternary. (Goc Dundar, closes #9850) 27491 Files: src/testdir/test_expr.vim, src/testdir/test_vim9_expr.vim, 27492 src/testdir/test_vimscript.vim 27493 27494 Patch 8.2.4477 27495 Problem: Crash when using fuzzy completion. 27496 Solution: Temporary fix: put back regexp. (closes #9851) 27497 Files: src/cmdexpand.c 27498 27499 Patch 8.2.4478 27500 Problem: Crash when using fuzzy completion. 27501 Solution: Temporary fix: put back regexp. (closes #9852, closes #9851) 27502 Files: src/cmdexpand.c, src/testdir/test_cmdline.vim 27503 27504 Patch 8.2.4479 27505 Problem: No fuzzy completion for maps and abbreviations. 27506 Solution: Fuzzy complete maps and abbreviations. (Yegappan Lakshmanan, 27507 closes #9856) 27508 Files: src/cmdexpand.c, src/map.c, src/proto/map.pro, src/search.c, 27509 src/testdir/test_cmdline.vim 27510 27511 Patch 8.2.4480 27512 Problem: Suspending with CTRL-Z does not work on Android. 27513 Solution: Do not handle SIGTSTP. (closes #9854) 27514 Files: src/os_unix.c 27515 27516 Patch 8.2.4481 27517 Problem: Cmdline popup menu not removed when 'lazyredraw' is set. 27518 Solution: Temporarily reset 'lazyredraw' when removing the popup menu. 27519 (closes #9857) 27520 Files: src/cmdexpand.c, src/testdir/test_cmdline.vim, 27521 src/testdir/dumps/Test_wildmenu_pum_41.dump 27522 27523 Patch 8.2.4482 27524 Problem: No fuzzy cmdline completion for user defined completion. 27525 Solution: Add fuzzy completion for user defined completion. (Yegappan 27526 Lakshmanan, closes #9858) 27527 Files: src/cmdexpand.c, src/testdir/test_cmdline.vim 27528 27529 Patch 8.2.4483 27530 Problem: Command completion makes two rounds to collect matches. 27531 Solution: Use a growarray to collect matches. (Yegappan Lakshmanan, 27532 closes #9860) 27533 Files: src/buffer.c, src/cmdexpand.c, src/map.c, 27534 src/testdir/test_cmdline.vim 27535 27536 Patch 8.2.4484 27537 Problem: Vim9: some error messages are not tested. 27538 Solution: Add a few more test cases. Delete dead code. 27539 Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim, 27540 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim 27541 27542 Patch 8.2.4485 27543 Problem: Compiler warning for uninitialized variable. 27544 Solution: Initialize the variable. (John Marriott) 27545 Files: src/cmdexpand.c 27546 27547 Patch 8.2.4486 27548 Problem: MS-Windows GUI: slow scrolling with maximized window. 27549 Solution: Use a better way to check the window is on screen. (Ken Takata, 27550 closes #9865) 27551 Files: src/gui_w32.c 27552 27553 Patch 8.2.4487 27554 Problem: Vim9: cannot compare with v:null. 27555 Solution: Allow comparing anything with v:null. (closes #9866) 27556 Files: src/vim9instr.c, src/typval.c, src/proto/typval.pro, 27557 src/vim9.h, src/vim9execute.c, src/evalvars.c, 27558 src/testdir/test_vim9_expr.vim, 27559 src/testdir/test_vim9_disassemble.vim 27560 27561 Patch 8.2.4488 (after 8.2.4487) 27562 Problem: Build error with +eval but without +channel or +job. 27563 Solution: Add #ifdef. (John Marriott) 27564 Files: src/typval.c 27565 27566 Patch 8.2.4489 (after 8.2.4487) 27567 Problem: Failing test for comparing v:null with number. 27568 Solution: Allow comparing v:null with number in legacy script. 27569 (Ken Takata, closes #9873) Also do this for float. 27570 Files: src/typval.c, src/testdir/test_vimscript.vim 27571 27572 Patch 8.2.4490 27573 Problem: Terminal focus reporting only works for xterm-like terminals. 27574 (Jonathan Rascher) 27575 Solution: Remove the "focus_mode" flag. (closes #9859) 27576 Files: src/term.c 27577 27578 Patch 8.2.4491 27579 Problem: MS-Windows makefile dependencies are outdated. 27580 Solution: Update dependencies. (Ken Takata, closes #9876) 27581 Files: src/Make_cyg_ming.mak, src/Make_mvc.mak 27582 27583 Patch 8.2.4492 27584 Problem: No error if an option is given an invalid value with 27585 ":let &opt = val". 27586 Solution: Give the error. (closes #9864) 27587 Files: src/evalvars.c, src/testdir/test_options.vim 27588 27589 Patch 8.2.4493 (after 8.2.4492) 27590 Problem: Options test fails in the GUI. 27591 Solution: Do not save and restore 'term'. 27592 Files: src/testdir/gen_opt_test.vim 27593 27594 Patch 8.2.4494 27595 Problem: The find_tags() function is much too long. 27596 Solution: Refactor the function. (Yegappan Lakshmanan, closes #9869) 27597 Files: src/quickfix.c, src/tag.c, src/testdir/test_tagjump.vim 27598 27599 Patch 8.2.4495 27600 Problem: Help test fails in 24 line terminal. 27601 Solution: Use up to 23 lines for text. 27602 Files: src/testdir/test_help.vim 27603 27604 Patch 8.2.4496 (after 8.2.4494) 27605 Problem: Coverity gives warnings after tags code refactoring. 27606 Solution: Avoid the warnings. (Yegappan Lakshmanan, closes #9882) 27607 Files: src/tag.c 27608 27609 Patch 8.2.4497 27610 Problem: Wrong color for half of wide character next to pum scrollbar. 27611 Solution: Redraw the screen cell with the right color. (closes #9874) 27612 Files: src/screen.c, src/testdir/test_ins_complete.vim, 27613 src/testdir/dumps/Test_scrollbar_on_wide_char.dump 27614 27615 Patch 8.2.4498 27616 Problem: Using <Plug> with "noremap" does not work. 27617 Solution: Always remap <Plug>. (closes #9879, closes #9789) 27618 Files: runtime/doc/map.txt, src/getchar.c, src/testdir/test_mapping.vim 27619 27620 Patch 8.2.4499 27621 Problem: Vim9: at the script level declarations leak from try block to 27622 catch and finally block. 27623 Solution: End the block and start a new one. (closes #9883) 27624 Files: src/ex_eval.c, src/testdir/test_vim9_script.vim 27625 27626 Patch 8.2.4500 27627 Problem: Vim9: can declare a global variable on the command line. 27628 Solution: Disallow declaring a variable on the command line. (closes #9881) 27629 Files: src/errors.h, src/evalvars.c, src/testdir/test_vim9_assign.vim, 27630 src/testdir/test_vim9_script.vim, 27631 src/testdir/dumps/Test_vim9_reject_declaration.dump 27632 27633 Patch 8.2.4501 27634 Problem: With 'showbreak' set and after the end of the line the cursor 27635 may be displayed in the wrong position. 27636 Solution: Do not apply 'showbreak' after the end of the line. (closes #9884) 27637 Files: src/charset.c, src/testdir/test_breakindent.vim, 27638 src/testdir/dumps/Test_cursor_position_with_showbreak.dump 27639 27640 Patch 8.2.4502 27641 Problem: In the GUI a modifier is not recognized for the key typed after 27642 CTRL-X, which may result in a mapping to be used. (Daniel 27643 Steinberg) 27644 Solution: Recognize a modifier starting with CSI. (closes #9889) 27645 Files: src/getchar.c, src/testdir/test_ins_complete.vim 27646 27647 Patch 8.2.4503 27648 Problem: Vim9: there is no point in supporting :Print and :mode. 27649 Solution: Do not recognize :Print and :mode as commands. (closes #9870) 27650 Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim 27651 27652 Patch 8.2.4504 27653 Problem: When there is a partially matching map and modifyOtherKeys is 27654 active a full map may not work. 27655 Solution: Only simplify modifiers when there is no matching mapping. 27656 (closes #8792) 27657 Files: src/getchar.c, src/testdir/test_termcodes.vim 27658 27659 Patch 8.2.4505 27660 Problem: Vim9: outdated "autocmd nested" still works. 27661 Solution: Do not accept the :autocmd argument "nested" without "++" in Vim9 27662 script. 27663 Files: src/autocmd.c, src/errors.h, src/testdir/test_autocmd.vim 27664 27665 Patch 8.2.4506 27666 Problem: "pattern not found" for :global is not an error message. 27667 Solution: In Vim9 script make this an actual error, so that try/catch can be 27668 used as expected. 27669 Files: src/ex_cmds.c, src/errors.h, src/testdir/test_global.vim 27670 27671 Patch 8.2.4507 (after 8.2.4506) 27672 Problem: Test fails because of new error message. 27673 Solution: Avoid the test fails. 27674 Files: src/testdir/test_vim9_cmd.vim 27675 27676 Patch 8.2.4508 27677 Problem: Vim9: cannot assign to a global variable on the command line. 27678 Solution: Allow using :vim9cmd for assignment on the command line. 27679 Files: src/evalvars.c, src/testdir/test_vim9_script.vim, 27680 src/testdir/dumps/Test_vim9_reject_declaration.dump, 27681 src/testdir/dumps/Test_vim9_reject_declaration_1.dump, 27682 src/testdir/dumps/Test_vim9_reject_declaration_2.dump 27683 27684 Patch 8.2.4509 27685 Problem: Vim9: can declare a variable with ":va". 27686 Solution: Disallow using ":va", require using ":var". 27687 Files: src/evalvars.c, src/errors.h, src/vim9compile.c, 27688 src/testdir/test_vim9_assign.vim 27689 27690 Patch 8.2.4510 27691 Problem: Vim9: shortening commands leads to confusing script. 27692 Solution: In Vim9 script require at least ":cont" for ":continue", "const" 27693 instead of "cons", "break" instead of "brea", "catch" instead of 27694 "cat", "else" instead of "el" "elseif" instead of "elsei" "endfor" 27695 instead of "endfo" "endif" instead of "en" "endtry" instead of 27696 "endt", "finally" instead of "fina", "throw" instead of "th", 27697 "while" instead of "wh". 27698 Files: src/ex_cmds.h, src/ex_docmd.c, src/errors.h, src/evalvars.c, 27699 src/vim9compile.c, src/testdir/test_vim9_script.vim 27700 27701 Patch 8.2.4511 27702 Problem: Filetype test fails. 27703 Solution: Change "endw" to "endwhile". 27704 Files: runtime/autoload/dist/ft.vim 27705 27706 Patch 8.2.4512 27707 Problem: The find_tags_in_file() function is much too long. 27708 Solution: Refactor into multiple smaller functions. (Yegappan Lakshmanan, 27709 closes #9892) 27710 Files: Filelist, src/Makefile, src/quickfix.c, src/tag.c, 27711 src/testdir/test83-tags2, src/testdir/test83-tags3, 27712 src/testdir/test_tagjump.vim 27713 27714 Patch 8.2.4513 27715 Problem: Window-local directory is not applied if 'acd' fails. 27716 Solution: Don't call do_autochdir(). (closes #9891) 27717 Files: src/window.c, src/testdir/test_autochdir.vim 27718 27719 Patch 8.2.4514 27720 Problem: Vim9: some flow commands can be shortened. 27721 Solution: Also require using the full name for ":return", ":enddef", 27722 ":continue", ":export" and ":import". 27723 Files: src/ex_cmds.h, src/ex_docmd.c, src/errors.h, src/userfunc.c, 27724 src/testdir/test_vim9_script.vim 27725 27726 Patch 8.2.4515 27727 Problem: Old substitute syntax is still supported. 27728 Solution: Disallow using backslash after ":s" in Vim9 script. 27729 Files: src/ex_cmds.c, src/errors.h, src/testdir/test_substitute.vim 27730 27731 Patch 8.2.4516 (after 8.2.4515) 27732 Problem: Build failure without the +eval feature. 27733 Solution: Move error message outside of #ifdef. 27734 Files: src/errors.h 27735 27736 Patch 8.2.4517 27737 Problem: MS-Windows: cannot specify location of sodium library. 27738 Solution: Allow for using a path for SODIUM. (Ken Takata, closes #9896) 27739 Files: src/Make_cyg_ming.mak 27740 27741 Patch 8.2.4518 27742 Problem: The binary tag search feature is always enabled. 27743 Solution: Remove the #ifdefs. Add a few more tests. (Yegappan Lakshmanan, 27744 closes #9893) 27745 Files: src/evalfunc.c, src/feature.h, src/tag.c, src/version.c, 27746 src/testdir/test_tagjump.vim, src/testdir/test_taglist.vim 27747 27748 Patch 8.2.4519 27749 Problem: Vim9: Can still use ":fini" and ":finis" for ":finish". 27750 Solution: Require using ":finish". 27751 Files: src/ex_cmds.h, src/testdir/test_vim9_script.vim 27752 27753 Patch 8.2.4520 27754 Problem: Using wrong highlight for cursor line number. 27755 Solution: Take filler lines into account when using CursorLineNr. 27756 (closes #9897) 27757 Files: src/drawline.c, src/testdir/test_diffmode.vim, 27758 src/testdir/dumps/Test_diff_with_cursorline_number_01.dump, 27759 src/testdir/dumps/Test_diff_with_cursorline_number_02.dump 27760 27761 Patch 8.2.4521 (after 8.2.4520) 27762 Problem: Build failure without the +diff feature. (John Marriott) 27763 Solution: Define filler+lines if not declaring it. 27764 Files: src/drawline.c 27765 27766 Patch 8.2.4522 (after 8.2.4492) 27767 Problem: GUI test fails with Motif. (Dominique Pellé) 27768 Solution: Remove using an invalid value for 'guifontset'. 27769 Files: src/testdir/test_gui.vim 27770 27771 Patch 8.2.4523 27772 Problem: When gvim is started maximized the 'window' option isn't set 27773 properly. (Christian J. Robinson) 27774 Solution: Check if 'windows' was already set or not. (Ken Takata, 27775 closes #9904) 27776 Files: src/term.c 27777 27778 Patch 8.2.4524 27779 Problem: MS-Windows: cannot build with some sodium libraries. 27780 Solution: Make the DLL name configurable. Add build instructions. 27781 (Ken Takata, closes #9905) 27782 Files: src/INSTALLpc.txt, src/Make_cyg_ming.mak, src/Make_mvc.mak, 27783 src/crypt.c 27784 27785 Patch 8.2.4525 27786 Problem: Some GUI tests don't work on Athena. 27787 Solution: Skip tests that won't work. (Yegappan Lakshmanan, closes #9902) 27788 Files: src/testdir/test_gui.vim 27789 27790 Patch 8.2.4526 27791 Problem: Vim9: cannot set variables to a null value. 27792 Solution: Add null_list, null_job, etc. 27793 Files: runtime/doc/vim9.txt, src/eval.c, src/proto/eval.pro, 27794 src/vim9expr.c, src/vim9script.c, src/vim9instr.c, 27795 src/vim9compile.c, src/vim9execute.c, src/vim9.h, src/vim9type.c, 27796 src/evalvars.c, src/testdir/test_vim9_assign.vim, 27797 src/testdir/test_vim9_disassemble.vim, 27798 src/testdir/test_vim9_func.vim, src/testdir/test_expr.vim 27799 27800 Patch 8.2.4527 27801 Problem: The Athena GUI is old and does not work well. 27802 Solution: Remove the Athena GUI from configure to find out who still wants 27803 support for this GUI. 27804 Files: src/configure.ac, src/auto/configure, src/Makefile 27805 27806 Patch 8.2.4528 27807 Problem: Crash when using null_function for a partial. 27808 Solution: Don't call fname_trans_sid() with NULL. (closes #9908) 27809 Files: src/userfunc.c, src/testdir/test_vim9_func.vim 27810 27811 Patch 8.2.4529 27812 Problem: Vim9: comparing partial with function fails. 27813 Solution: Support this comparison. Avoid a crash. (closes #9909) 27814 Add more test cases. 27815 Files: src/vim9instr.c, src/userfunc.c, src/vim9type.c, 27816 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim, 27817 src/testdir/test_vim9_func.vim, src/testdir/test_vimscript.vim 27818 27819 Patch 8.2.4530 27820 Problem: Making comparison with null work changes legacy behavior. 27821 Solution: Only use the better comparison in Vim9 script. (closes #9910) 27822 Files: src/typval.c, src/testdir/test_expr.vim 27823 27824 Patch 8.2.4531 27825 Problem: LGTM warnings for condition always true and buffer size too small. 27826 Solution: Remove the useless condition. Make the buffer larger. (Goc 27827 Dundar, closes #9914) 27828 Files: src/charset.c, src/term.c 27829 27830 Patch 8.2.4532 27831 Problem: Suspending with CTRL-Z does not work on OpenBSD. 27832 Solution: Adjust #ifdef for SIGTSTP. (Stuart Henderson, closes #9912) 27833 Files: src/os_unix.c 27834 27835 Patch 8.2.4533 27836 Problem: Vim9: no test that after assigning null the type is still checked. 27837 Solution: Add a test. 27838 Files: src/testdir/test_vim9_assign.vim 27839 27840 Patch 8.2.4534 27841 Problem: Vim9: "is" operator with empty string and null returns true. 27842 Solution: Consider empty string and null to be different for "is". 27843 Files: src/typval.c, src/vim9execute.c, src/testdir/test_vim9_expr.vim 27844 27845 Patch 8.2.4535 27846 Problem: Filename modifier ":8" removes the filename. 27847 Solution: Use strncpy() instead of vim_strncpy(). (Christian Brabandt, 27848 closes #9918, closes #8600) 27849 Files: src/filepath.c, src/testdir/test_shortpathname.vim 27850 27851 Patch 8.2.4536 (after 8.2.4534) 27852 Problem: Debugger test fails when breaking on expression. 27853 Solution: Compare strings with "==" instead of "is". 27854 Files: src/debugger.c 27855 27856 Patch 8.2.4537 27857 Problem: Output from linter and language server shows up in git. 27858 Solution: Add patterns to .gitignore. (Goc Dundar, closes #9925) 27859 Files: .gitignore 27860 27861 Patch 8.2.4538 27862 Problem: The find_tags_in_file() function is too long. 27863 Solution: Refactor into smaller functions. (Yegappan Lakshmanan, 27864 closes #9920) 27865 Files: src/tag.c, src/testdir/test_tagjump.vim 27866 27867 Patch 8.2.4539 27868 Problem: When comparing special v:none and v:null are handled the same when 27869 compiling. 27870 Solution: Pass more information so that v:none can be handled differently at 27871 compile time. (issue #9923) 27872 Files: src/vim9instr.c, src/vim9compile.c, src/globals.h, 27873 src/testdir/test_vim9_expr.vim 27874 27875 Patch 8.2.4540 27876 Problem: Line number for error is off by one. 27877 Solution: Remember the line number of the comparison. (closes #9923) 27878 Files: src/eval.c, src/testdir/test_vim9_expr.vim 27879 27880 Patch 8.2.4541 27881 Problem: Crash in debugger when a variable is not available in the current 27882 block. 27883 Solution: Check for a NULL name. (closes #9926) 27884 Files: src/vim9execute.c, src/testdir/test_debugger.vim 27885 27886 Patch 8.2.4542 27887 Problem: Vim9: "break" inside try/catch not handled correctly. 27888 Solution: First jump to :endtry. (closes #9927) 27889 Files: src/vim9cmds.c, src/vim9.h, src/testdir/test_vim9_script.vim 27890 27891 Patch 8.2.4543 27892 Problem: Coverity warning for refactored tag search code. 27893 Solution: Avoid the warnings. Update comments. Add one more test case. 27894 (Yegappan Lakshmanan, closes #9928) 27895 Files: src/tag.c, src/testdir/test_tagjump.vim 27896 27897 Patch 8.2.4544 27898 Problem: Coverity warnings for not using returned value. 27899 Solution: Assign to vim_ignored. 27900 Files: src/tag.c 27901 27902 Patch 8.2.4545 27903 Problem: MS-Windows: the installed icon is low resolution. 27904 Solution: Use a better icon. Install vim.ico. (Christian Brabandt, 27905 closes #9931, closes #9930) 27906 Files: Filelist, nsis/gvim.nsi, src/vim.ico, runtime/bitmaps/vim.ico 27907 27908 Patch 8.2.4546 27909 Problem: Duplicate #undef. 27910 Solution: Remove one #undef. (closes #9932) 27911 Files: src/regexp_nfa.c 27912 27913 Patch 8.2.4547 27914 Problem: The neXTaw GUI is old and does not work well. 27915 Solution: Remove the neXTaw GUI from configure to find out who still wants 27916 support for this GUI. 27917 Files: src/configure.ac, src/auto/configure, src/Makefile 27918 27919 Patch 8.2.4548 27920 Problem: Script-local function is deleted when used in a funcref. 27921 Solution: Do not consider a function starting with "<SNR>" reference 27922 counted. (closes #9916, closes #9820) 27923 Files: src/userfunc.c, src/testdir/test_vim9_func.vim 27924 27925 Patch 8.2.4549 27926 Problem: Cannot build with Motif and editres. (Tony Mechelynck) 27927 Solution: Fix configure mistake. 27928 Files: src/configure.ac, src/auto/configure 27929 27930 Patch 8.2.4550 27931 Problem: Motif: cannot set the color of the scrollbar thumb. 27932 Solution: Remove #ifdef. 27933 Files: src/gui_motif.c 27934 27935 Patch 8.2.4551 27936 Problem: When mapping <Esc> terminal codes are not recognized. 27937 Solution: Specifically recognize a mapping with just <Esc> and check for 27938 terminal codes even though there is no partial mapping. 27939 (closes #9903) 27940 Files: src/getchar.c, src/testdir/test_termcodes.vim 27941 27942 Patch 8.2.4552 27943 Problem: In a :def function "put = expr" does not work. 27944 Solution: Skip over white space. (closes #9936) 27945 Files: src/vim9cmds.c, src/testdir/test_vim9_cmd.vim 27946 27947 Patch 8.2.4553 27948 Problem: Linear tag search is a bit slow. 27949 Solution: Remove a vim_ftell() call. (Yegappan Lakshmanan, closes #9937) 27950 Files: src/tag.c, src/testdir/test_taglist.vim 27951 27952 Patch 8.2.4554 27953 Problem: Vim9: using null values not sufficiently tested. 27954 Solution: Add more tests. Fix uncovered problem. 27955 Files: src/vim9type.c, src/testdir/test_vim9_assign.vim, 27956 src/testdir/test_vim9_func.vim 27957 27958 Patch 8.2.4555 27959 Problem: getmousepos() returns the wrong column. (Ernie Rael) 27960 Solution: Limit to the text size, not the number of bytes. 27961 Files: src/mouse.c, src/testdir/test_functions.vim 27962 27963 Patch 8.2.4556 27964 Problem: Test fails without the +job or +channel feature. (Dominique Pellé) 27965 Solution: Adjust #ifdefs. Pass on skip flag. (closes #9942) 27966 Files: src/eval.c, src/vim9compile.c 27967 27968 Patch 8.2.4557 27969 Problem: Confusing comment about 'cursorlineopt'. 27970 Solution: Adjust comment. (closes #9939) Add parenthesis around logical 27971 OR. 27972 Files: src/drawline.c 27973 27974 Patch 8.2.4558 27975 Problem: Motif: using default colors does not work as expected. 27976 Solution: Do not try to store the default colors, use the resources. 27977 (closes #9933) 27978 Files: src/gui_motif.c, src/gui.h 27979 27980 Patch 8.2.4559 (after 8.24555) 27981 Problem: getmousepos() returns the screen column. (Ernie Rael) 27982 Solution: Return the text column, as documented. 27983 Files: src/mouse.c, src/testdir/test_functions.vim 27984 27985 Patch 8.2.4560 27986 Problem: Suspending with CTRL-Z does not work on DragonFlyBSD. 27987 Solution: Adjust #ifdef. (Ozaki Kiichi, closes #9943) 27988 Files: src/os_unix.c 27989 27990 Patch 8.2.4561 27991 Problem: Build failure with some combination of features. (John Marriott) 27992 Solution: Adjust #ifdef. 27993 Files: src/mouse.c 27994 27995 Patch 8.2.4562 27996 Problem: Linear tag search is not optimal. 27997 Solution: Improve linear tag search performance. (Yegappan Lakshmanan, 27998 closes #9944) 27999 Files: src/tag.c 28000 28001 Patch 8.2.4563 28002 Problem: "z=" in Visual mode may go beyond the end of the line. 28003 Solution: Adjust "badlen". 28004 Files: src/spellsuggest.c, src/testdir/test_spell.vim 28005 28006 Patch 8.2.4564 28007 Problem: Running test leaves file behind. (Dominique Pellé) 28008 Solution: Run the profiling in a separate Vim instance. (closes #9952) 28009 Files: src/testdir/test_vim9_script.vim 28010 28011 Patch 8.2.4565 28012 Problem: No command line completion for :breakadd and :breakdel. 28013 Solution: Add completion for :breakadd and :breakdel. (Yegappan Lakshmanan, 28014 closes #9950) 28015 Files: runtime/doc/builtin.txt, src/cmdexpand.c, src/spellsuggest.c, 28016 src/usercmd.c, src/vim.h, src/testdir/test_cmdline.vim, 28017 src/testdir/test_writefile.vim 28018 28019 Patch 8.2.4566 28020 Problem: Check for existing buffer in session file does not work for files 28021 in the home directory. 28022 Solution: Use fnamemodify(). (James Cherti, closes #9945) Add a test. 28023 Files: src/session.c, src/testdir/test_mksession.vim 28024 28025 Patch 8.2.4567 28026 Problem: Bracketed paste doesn't work well in Visual linewise mode. 28027 Solution: Handle linewise Visual mode differently. (closes #9947) 28028 Files: src/normal.c, src/testdir/test_paste.vim 28029 28030 Patch 8.2.4568 28031 Problem: getmousepos() does not compute the column below the last line. 28032 Solution: Also compute the column when the mouse is below the last line. 28033 (Sean Dewar, closes #9946) 28034 Files: src/mouse.c, src/testdir/test_functions.vim 28035 28036 Patch 8.2.4569 28037 Problem: Coverity warning for not using a return value. 28038 Solution: Add "(void)". 28039 Files: src/popupwin.c 28040 28041 Patch 8.2.4570 28042 Problem: No command line completion for :profile and :profdel. 28043 Solution: Implement completion. (Yegappan Lakshmanan, closes #9955) 28044 Files: src/cmdexpand.c, src/profiler.c, src/testdir/test_cmdline.vim, 28045 src/testdir/test_profile.vim 28046 28047 Patch 8.2.4571 28048 Problem: Not all gdb files are recognized. 28049 Solution: Add a few more patterns for gdb. (Jade Lovelace, closes #9956) 28050 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 28051 28052 Patch 8.2.4572 28053 Problem: Vim9: return type "any" is sometimes changed to first returned 28054 type. (Virginia Senioria) 28055 Solution: Do not change the return type if declared as "any". (closes #9949) 28056 Files: src/vim9cmds.c, src/testdir/test_vim9_func.vim 28057 28058 Patch 8.2.4573 28059 Problem: A nested function (closure) is compiled for debugging without 28060 context. 28061 Solution: Check if a nested function is marked for debugging before 28062 compiling it. Give an error when trying to compile a closure 28063 without its context. (closes #9951) 28064 Files: src/vim9compile.c, src/vim9execute.c, src/proto/vim9execute.pro, 28065 src/vim9expr.c, src/errors.h 28066 28067 Patch 8.2.4574 28068 Problem: Vim9: test for profiling fails. 28069 Solution: Mark function for profiling earlier to avoid E1271. 28070 Files: src/testdir/test_vim9_script.vim 28071 28072 Patch 8.2.4575 28073 Problem: Vim9: test for profiling still fails. 28074 Solution: Update flags for profiling and breakpoints when obtaining the 28075 compile type. Do not set the FC_CLOSURE flag for a toplevel 28076 function. 28077 Files: src/vim.h, src/vim9compile.c, src/proto/vim9compile.pro, 28078 src/eval.c, src/vim9execute.c, src/vim9expr.c, src/vim9instr.c, 28079 src/vim9.h 28080 28081 Patch 8.2.4576 28082 Problem: Vim9: error for comparing with null can be annoying. 28083 Solution: Allow comparing anything with null. (closes #9948) 28084 Files: src/vim9instr.c, src/typval.c, src/testdir/test_vim9_expr.vim 28085 28086 Patch 8.2.4577 28087 Problem: Message test is flaky. (Elimar Riesebieter) 28088 Solution: Trigger the autocommand event only after startup is finished. 28089 Files: src/testdir/test_messages.vim 28090 28091 Patch 8.2.4578 28092 Problem: No warning when an autoload script for completion function has an 28093 error. 28094 Solution: Do not ignore errors when a function name is given with a dot or 28095 '#' character. (closes #9958) 28096 Files: src/eval.c, src/testdir/test_cmdline.vim 28097 28098 Patch 8.2.4579 28099 Problem: Cannot use page-up and page-down in the command line completion 28100 popup menu. 28101 Solution: Check for to page-up and page-down keys. (Yegappan Lakshmanan, 28102 closes #9960) 28103 Files: src/cmdexpand.c, src/ex_getln.c, src/spellsuggest.c, src/vim.h, 28104 src/testdir/test_cmdline.vim, 28105 src/testdir/dumps/Test_wildmenu_pum_42.dump, 28106 src/testdir/dumps/Test_wildmenu_pum_43.dump, 28107 src/testdir/dumps/Test_wildmenu_pum_44.dump, 28108 src/testdir/dumps/Test_wildmenu_pum_45.dump, 28109 src/testdir/dumps/Test_wildmenu_pum_46.dump, 28110 src/testdir/dumps/Test_wildmenu_pum_47.dump, 28111 src/testdir/dumps/Test_wildmenu_pum_48.dump, 28112 src/testdir/dumps/Test_wildmenu_pum_49.dump, 28113 src/testdir/dumps/Test_wildmenu_pum_50.dump 28114 28115 Patch 8.2.4580 28116 Problem: Vim9: incorrect error for shadowing variable. 28117 Solution: Do not pass the context when compiling a referenced function. 28118 Files: src/vim9expr.c, src/testdir/test_vim9_func.vim 28119 28120 Patch 8.2.4581 28121 Problem: Null types not fully tested. 28122 Solution: Add some more tests using null types. 28123 Files: src/testdir/test_vim9_expr.vim 28124 28125 Patch 8.2.4582 28126 Problem: Useless code handling a type declaration. 28127 Solution: Remove the code and give an error. 28128 Files: src/eval.c, src/errors.h, src/testdir/test_vim9_script.vim, 28129 src/testdir/dumps/Test_misplaced_type.dump 28130 28131 Patch 8.2.4583 (after 8.2.4582) 28132 Problem: Screendump test fails. 28133 Solution: Check that making a screendump is possible. 28134 Files: src/testdir/test_vim9_script.vim 28135 28136 Patch 8.2.4584 (after 8.2.4578) 28137 Problem: Error for using autoload function in custom completion. 28138 Solution: Do not check for errors when using an autoload function. 28139 (closes #9962) 28140 Files: src/eval.c, src/testdir/test_cmdline.vim 28141 28142 Patch 8.2.4585 28143 Problem: Cannot use keypad page-up/down for completion menu. 28144 Solution: Recognize the keypad keys. (Yegappan Lakshmanan, closes #9963) 28145 Files: src/ex_getln.c, src/testdir/test_cmdline.vim 28146 28147 Patch 8.2.4586 28148 Problem: Vim9: no error for using lower case name for "func" argument. 28149 (Ernie Rael) 28150 Solution: Check the name as soon as the type is known. 28151 Files: src/userfunc.c, src/testdir/test_vim9_func.vim 28152 28153 Patch 8.2.4587 28154 Problem: Vim9: double free after unpacking a list. 28155 Solution: Make a copy of the value instead of moving it. (closes #9968) 28156 Files: src/vim9execute.c, src/testdir/test_vim9_script.vim 28157 28158 Patch 8.2.4588 28159 Problem: Mapping with key code after other matching mapping does not work. 28160 Solution: Change ">" to ">=". (closes #9903) 28161 Files: src/getchar.c, src/testdir/test_termcodes.vim 28162 28163 Patch 8.2.4589 28164 Problem: Cannot index the g: dictionary. 28165 Solution: Recognize using "g:[key]". (closes #9969) 28166 Files: src/ex_docmd.c, src/eval.c, src/vim9compile.c, 28167 src/testdir/test_vim9_assign.vim 28168 28169 Patch 8.2.4590 28170 Problem: Vim9: range type check has wrong offset. 28171 Solution: Adjust offset for CHECKTYPE. Remove other type check. 28172 Files: src/vim9compile.c, src/vim9execute.c, 28173 src/testdir/test_vim9_assign.vim 28174 28175 Patch 8.2.4591 28176 Problem: Cursor line not updated when a callback moves the cursor. 28177 Solution: Check if the cursor moved. (closes #9970) 28178 Files: src/main.c, src/drawscreen.c, src/proto/drawscreen.pro, 28179 src/testdir/test_cursorline.vim, 28180 src/testdir/dumps/Test_cursorline_callback_1.dump 28181 28182 Patch 8.2.4592 28183 Problem: Search continues after giving E1204. 28184 Solution: Return failure after giving E1204. (closes #9972) 28185 Files: src/regexp_nfa.c 28186 28187 Patch 8.2.4593 28188 Problem: Unnecessary call to redraw_later(). 28189 Solution: Remove the call to redraw_later() in op_yank(). (closes #9971) 28190 Files: src/register.c 28191 28192 Patch 8.2.4594 28193 Problem: Need to write script to a file to be able to source them. 28194 Solution: Make ":source" use lines from the current buffer. (Yegappan 28195 Lakshmanan et al., closes #9967) 28196 Files: runtime/doc/repeat.txt, runtime/doc/todo.txt, src/alloc.c, 28197 src/digraph.c, src/eval.c, src/ex_cmds.h, src/scriptfile.c, 28198 src/proto/scriptfile.pro, src/vim9script.c, 28199 src/testdir/test_source.vim 28200 28201 Patch 8.2.4595 28202 Problem: X11: using --remote-wait may keep the CPU busy. 28203 Solution: Set the timeout for select() on every call. (Jacopo Secchiero, 28204 closes #9973) 28205 Files: src/if_xcmdsrv.c 28206 28207 Patch 8.2.4596 28208 Problem: Installing tutor binary may fail. 28209 Solution: Fix the dependency. (Sergei Trofimovich, closes #9978) 28210 Files: src/Makefile 28211 28212 Patch 8.2.4597 28213 Problem: LuaV_debug() not covered by tests. 28214 Solution: Add a test. (Dominique Pellé, closes #9980) 28215 Files: src/testdir/test_lua.vim 28216 28217 Patch 8.2.4598 28218 Problem: Profile completion test sometimes fails. 28219 Solution: Delete the .res file before running tests. 28220 Files: src/testdir/runtest.vim 28221 28222 Patch 8.2.4599 28223 Problem: GTK: get assertion errors when scrolling a split window. 28224 Solution: Use GDK_IS_DRAWABLE() on the scrollbar window. (closes #9982) 28225 Files: src/gui_gtk.c 28226 28227 Patch 8.2.4600 28228 Problem: Vim9: not enough test coverage for executing :def function. 28229 Solution: Add a few more tests. Fix inconsistencies. 28230 Files: src/vim9execute.c, src/evalvars.c, src/proto/evalvars.pro, 28231 src/testdir/test_listdict.vim, src/testdir/test_vim9_assign.vim, 28232 src/testdir/test_vim9_cmd.vim 28233 28234 Patch 8.2.4601 28235 Problem: Vim9: not enough test coverage for executing :def function. 28236 Solution: Add a few more tests. 28237 Files: src/testdir/test_vim9_script.vim, src/testdir/test_vim9_func.vim, 28238 src/testdir/test_vim9_cmd.vim 28239 28240 Patch 8.2.4602 28241 Problem: Vim9: not enough test coverage for executing :def function. 28242 Solution: Add a few more tests. Fix uncovered problem. Remove dead code. 28243 Files: src/vim9execute.c, src/vim9.h, src/vim9instr.c, 28244 src/proto/vim9instr.pro, src/vim9compile.c, 28245 src/testdir/test_vim9_script.vim, src/testdir/test_vim9_expr.vim 28246 28247 Patch 8.2.4603 28248 Problem: Sourcing buffer lines is too complicated. 28249 Solution: Simplify the code. Make it possible to source Vim9 script lines. 28250 (Yegappan Lakshmanan, closes #9974) 28251 Files: runtime/doc/repeat.txt, src/ex_docmd.c, src/proto/scriptfile.pro, 28252 src/scriptfile.c, src/structs.h, src/testdir/test_source.vim 28253 28254 Patch 8.2.4604 28255 Problem: Error for redefining a script item may be confusing. 28256 Solution: Put quotes around the name. 28257 Files: src/errors.h 28258 28259 Patch 8.2.4605 28260 Problem: Error for arguments of remote_expr() even when the +clientserver 28261 feature is not included. 28262 Solution: Move #ifdef. 28263 Files: src/clientserver.c 28264 28265 Patch 8.2.4606 (after 8.2.4605) 28266 Problem: Test fails because of changed error message. 28267 Solution: Update the expected error message 28268 Files: src/testdir/test_vim9_import.vim 28269 28270 Patch 8.2.4607 28271 Problem: Sourcing buffer lines may lead to errors for conflicts. 28272 Solution: Add the ++clear argument. (Yegappan Lakshmanan, closes #9991) 28273 Files: runtime/doc/repeat.txt, src/scriptfile.c, src/vim9script.c, 28274 src/proto/vim9script.pro, src/testdir/test_source.vim 28275 28276 Patch 8.2.4608 28277 Problem: getcompletion() does not work properly when 'wildoptions' 28278 contains "fuzzy". 28279 Solution: Do not use addstar(). (Yegappan Lakshmanan, closes #9992, 28280 closes #9986) 28281 Files: runtime/doc/builtin.txt, src/cmdexpand.c, 28282 src/testdir/test_cmdline.vim 28283 28284 Patch 8.2.4609 28285 Problem: :unhide does not check for failing to close a window. 28286 Solution: When closing a window fails continue with the next one. Do not 28287 try closing the autocmd window. (closes #9984) 28288 Files: src/buffer.c, src/window.c, src/proto/window.pro, 28289 src/testdir/test_autocmd.vim 28290 28291 Patch 8.2.4610 28292 Problem: Some conditions are always true. 28293 Solution: Remove the useless conditions. (closes #9993) 28294 Files: src/clientserver.c, src/drawline.c, src/drawscreen.c, 28295 src/ex_cmds.c, src/fileio.c, src/message.c, src/misc2.c, 28296 src/ops.c, src/sign.c, src/spell.c, src/vim9cmds.c, src/window.c 28297 28298 Patch 8.2.4611 28299 Problem: Typos in tests; one lua line not covered by test. 28300 Solution: Fix typos. Add test case. (Dominique Pellé, closes #9994) 28301 Files: src/testdir/test_breakindent.vim, src/testdir/test_crypt.vim, 28302 src/testdir/test_cursorline.vim, src/testdir/test_digraph.vim, 28303 src/testdir/test_gui.vim, src/testdir/test_lua.vim, 28304 src/testdir/test_regexp_latin.vim, src/testdir/test_signals.vim, 28305 src/testdir/test_spell.vim, src/testdir/test_statusline.vim, 28306 src/testdir/test_vim9_disassemble.vim, 28307 src/testdir/test_vim9_expr.vim, src/testdir/test_vimscript.vim 28308 28309 Patch 8.2.4612 28310 Problem: Vim9: cannot use a recursive call in a nested function. (Sergey 28311 Vlasov) 28312 Solution: Define the funcref before compiling the function. (closes #9989) 28313 Files: src/vim9compile.c, src/vim9instr.c, src/proto/vim9instr.pro, 28314 src/vim9expr.c, src/testdir/test_vim9_func.vim 28315 28316 Patch 8.2.4613 28317 Problem: Return type of swapfile_unchanged() is wrong. 28318 Solution: Use "int". (closes #10000 Yeah!) 28319 Files: src/memline.c 28320 28321 Patch 8.2.4614 28322 Problem: Redrawing too much when 'cursorline' is set and jumping around. 28323 Solution: Rely on win_update() to redraw the current and previous cursor 28324 line, do not mark lines as modified. (closes #9996) 28325 Files: src/drawline.c, src/drawscreen.c, src/move.c, src/proto/move.pro, 28326 src/option.c 28327 28328 Patch 8.2.4615 28329 Problem: Mapping with escaped bar does not work in :def function. (Sergey 28330 Vlasov) 28331 Solution: Do not remove the backslash. (closes #10002) 28332 Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/syntax.c, 28333 src/vim9cmds.c, src/testdir/test_vim9_cmd.vim 28334 28335 Patch 8.2.4616 28336 Problem: Vim9: Declarations in a {} block of a user command do not use Vim9 28337 rules if defined in a legacy script. (Yegappan Lakshmanan) 28338 Solution: Pretend the script is Vim9 script. 28339 Files: src/usercmd.c, src/testdir/test_usercommands.vim 28340 28341 Patch 8.2.4617 28342 Problem: No completion for :scriptnames. 28343 Solution: Implement :scriptnames completion. (Yegappan Lakshmanan, 28344 closes #10005) 28345 Files: runtime/doc/builtin.txt, src/cmdexpand.c, src/ex_cmds.h, 28346 src/scriptfile.c, src/usercmd.c, src/vim.h, 28347 src/testdir/test_cmdline.vim, src/testdir/test_quickfix.vim 28348 28349 Patch 8.2.4618 28350 Problem: Command line completion does not recognize single letter commands. 28351 Solution: Use the condition from find_ex_command(). 28352 Files: src/ex_docmd.c 28353 28354 Patch 8.2.4619 28355 Problem: Mapping is cancelled when mouse moves and popup is visible. 28356 Solution: Only generate mouse moved events when a popup may use them. 28357 (closes #10004) 28358 Files: src/gui.c, src/globals.h, src/popupwin.c 28359 28360 Patch 8.2.4620 (after 8.2.4618) 28361 Problem: Two letter substitute commands don't work. (Yegappan Lakshmanan) 28362 Solution: Invert condition. 28363 Files: src/ex_docmd.c 28364 28365 Patch 8.2.4621 28366 Problem: Crash when using the tabline right-click menu. 28367 Solution: Use XtPointer for XmNuserData. (closes #10009) 28368 Files: src/gui_motif.c 28369 28370 Patch 8.2.4622 28371 Problem: Vim9: Crash with :execute and :finish. (Sergey Vlasov) 28372 Solution: Check for NULL. (closes #10011) 28373 Files: src/eval.c, src/testdir/test_vim9_script.vim 28374 28375 Patch 8.2.4623 28376 Problem: Coverity warns for using uninitialized field. 28377 Solution: Initialize the field to zero. 28378 Files: src/ex_docmd.c 28379 28380 Patch 8.2.4624 28381 Problem: Old Coverity warning for resource leak. 28382 Solution: Close the file if memory allocation fails. 28383 Files: src/diff.c 28384 28385 Patch 8.2.4625 28386 Problem: Old Coverity warning for resource leak. 28387 Solution: Call FreeWild() if expanding matches did not fail. 28388 Files: src/help.c 28389 28390 Patch 8.2.4626 28391 Problem: Visual area not fully updated when removing sign in Visual mode 28392 while scrolling. 28393 Solution: Adjust check for topline. (closes #10017) 28394 Files: src/drawscreen.c, src/testdir/test_display.vim, 28395 src/testdir/dumps/Test_display_scroll_update_visual.dump 28396 28397 Patch 8.2.4627 28398 Problem: flatten() does not use maxdepth correctly. 28399 Solution: Use a recursive implementation. (closes #10020) 28400 Files: src/list.c, src/testdir/test_flatten.vim 28401 28402 Patch 8.2.4628 28403 Problem: Not enough testing for 2/3 letter substitute commands. 28404 Solution: Add more tests. (Yegappan Lakshmanan, closes #10019) 28405 Files: src/testdir/test_cmdline.vim, src/testdir/test_substitute.vim 28406 28407 Patch 8.2.4629 28408 Problem: flattennew() makes a deep copy unnecessarily. 28409 Solution: Use a shallow copy. (issue #10012) 28410 Files: src/list.c 28411 28412 Patch 8.2.4630 28413 Problem: 'cursorline' not always updated with 'cursorlineopt' is 28414 "screenline". 28415 Solution: Call check_redraw_cursorline() more often. (closes #10013) 28416 Files: src/normal.c, src/edit.c, src/testdir/test_cursorline.vim, 28417 src/testdir/dumps/Test_cursorline_screenline_1.dump, 28418 src/testdir/dumps/Test_cursorline_screenline_2.dump 28419 28420 Patch 8.2.4631 28421 Problem: Crash when switching window in BufWipeout autocommand. 28422 Solution: Put any buffer in the window to avoid it being NULL. 28423 (closes #10024) 28424 Files: src/window.c, src/buffer.c, src/testdir/test_autocmd.vim 28425 28426 Patch 8.2.4632 28427 Problem: Using freed memory in flatten(). 28428 Solution: Clear typval after recursing into list. 28429 Files: src/list.c 28430 28431 Patch 8.2.4633 28432 Problem: Visual range does not work before command modifiers. 28433 Solution: Move Visual range to after command modifiers. 28434 Files: src/ex_docmd.c, src/testdir/test_source.vim 28435 28436 Patch 8.2.4634 28437 Problem: Vim9: cannot initialize a variable to null_list. 28438 Solution: Give negative count to NEWLIST. (closes #10027) 28439 Also fix inconsistencies in comparing with null values. 28440 Files: src/vim9instr.c, src/proto/vim9instr.pro, src/vim9.h, 28441 src/vim9compile.c, src/vim9expr.c, src/vim9execute.c, 28442 src/evalvars.c, src/typval.c, src/testdir/test_vim9_expr.vim, 28443 src/testdir/test_vim9_builtin.vim, 28444 src/testdir/test_vim9_disassemble.vim 28445 28446 Patch 8.2.4635 (after 8.2.4634) 28447 Problem: Tests using null list or dict fail. 28448 Solution: Only use the new rules for Vim9 script. 28449 Files: src/evalvars.c 28450 28451 Patch 8.2.4636 (after 8.2.4633) 28452 Problem: Not using Visual range. 28453 Solution: Put the command pointer back to the range. 28454 Files: src/ex_docmd.c 28455 28456 Patch 8.2.4637 28457 Problem: Warning for using uninitialized variable. (Tony Mechelynck) 28458 Solution: Initialize it. 28459 Files: src/ex_docmd.c 28460 28461 Patch 8.2.4638 28462 Problem: Superfluous check if a redraw is needed for 'cursorline'. 28463 Solution: Remove check_redraw_cursorline(). (closes #10030, closes #10029) 28464 Files: src/drawscreen.c, src/proto/drawscreen.pro, src/edit.c, 28465 src/main.c, src/normal.c, src/move.c, 28466 src/testdir/dumps/Test_cursorcolumn_callback_1.dump, 28467 src/testdir/dumps/Test_relativenumber_callback_1.dump, 28468 src/testdir/test_highlight.vim, src/testdir/test_number.vim 28469 28470 Patch 8.2.4639 28471 Problem: Not sufficient parenthesis in preprocessor macros. 28472 Solution: Add more parenthesis. (closes #10031) 28473 Files: src/globals.h, src/gui.h, src/if_py_both.h, src/macros.h, 28474 src/option.h, src/regexp.h, src/spell.h, src/structs.h, src/vim.h, 28475 src/vim9.h 28476 28477 Patch 8.2.4640 28478 Problem: Some boolean options use "long" instead of "int". 28479 Solution: Adjust the type. (James McCoy, closes #10033) 28480 Files: src/option.h 28481 28482 Patch 8.2.4641 28483 Problem: May mark the wrong window for redrawing. 28484 Solution: Use redraw_win_later(). (closes #10032) 28485 Files: src/move.c 28486 28487 Patch 8.2.4642 28488 Problem: Vim9: in :def function script var cannot be null. 28489 Solution: Only initialize a script variable when not set to a null value. 28490 (closes #10034) 28491 Files: src/vim9execute.c, src/vim9type.c, src/globals.h, src/evalvars.c, 28492 src/vim.h, src/vim9script.c, src/testdir/test_vim9_expr.vim 28493 28494 Patch 8.2.4643 28495 Problem: Vim9: variable may be locked unintentionally. 28496 Solution: Clear "v_lock". (closes #10036) 28497 Files: src/vim9execute.c, src/testdir/test_vim9_builtin.vim 28498 28499 Patch 8.2.4644 28500 Problem: Redrawing too often when 'relativenumber' is set. 28501 Solution: Only redraw when the cursor line changed. (Lewis Russell, 28502 closes #10040) 28503 Files: src/change.c, src/drawscreen.c, src/structs.h 28504 28505 Patch 8.2.4645 28506 Problem: 'shortmess' changed when session does not store options. 28507 Solution: Save and restore 'shortmess' if needed. (James Cherti, 28508 closes #10037) 28509 Files: src/session.c, src/testdir/test_mksession.vim 28510 28511 Patch 8.2.4646 28512 Problem: Using buffer line after it has been freed in old regexp engine. 28513 Solution: After getting mark get the line again. 28514 Files: src/regexp_bt.c, src/testdir/test_regexp_latin.vim 28515 28516 Patch 8.2.4647 28517 Problem: "source" can read past end of copied line. 28518 Solution: Add a terminating NUL. 28519 Files: src/scriptfile.c, src/testdir/test_source.vim 28520 28521 Patch 8.2.4648 28522 Problem: Handling LSP messages is a bit slow. 28523 Solution: Included support for LSP messages. (Yegappan Lakshmanan, 28524 closes #10025) 28525 Files: runtime/doc/channel.txt, src/channel.c, src/job.c, src/json.c, 28526 src/proto/json.pro, src/structs.h, src/testdir/test_channel.vim, 28527 src/testdir/test_channel_lsp.py 28528 28529 Patch 8.2.4649 28530 Problem: Various formatting problems. 28531 Solution: Improve the code formatting. 28532 Files: src/mark.c, src/quickfix.c, src/regexp_nfa.c, src/register.c, 28533 src/testdir/test_filechanged.vim, src/gui_athena.c, 28534 src/gui_motif.c, src/os_unix.c 28535 28536 Patch 8.2.4650 28537 Problem: "import autoload" only works with using 'runtimepath'. 28538 Solution: Also support a relative and absolute file name. 28539 Files: runtime/doc/vim9.txt, src/structs.h, src/scriptfile.c, 28540 src/proto/scriptfile.pro, src/vim9script.c, src/vim9expr.c, 28541 src/vim9.h, src/vim9execute.c, src/vim9instr.c, 28542 src/proto/vim9instr.pro, src/vim.h, src/userfunc.c, 28543 src/proto/userfunc.pro, src/testdir/test_vim9_import.vim, 28544 src/testdir/test_vim9_disassemble.vim 28545 28546 Patch 8.2.4651 (after 8.2.4650) 28547 Problem: Test fails because path differs. 28548 Solution: Only compare the tail of the path. 28549 Files: src/testdir/test_vim9_disassemble.vim 28550 28551 Patch 8.2.4652 (after 8.2.4650) 28552 Problem: Leaking memory if assignment fails. 28553 Solution: Clear assigned value on failure. 28554 Files: src/vim9execute.c 28555 28556 Patch 8.2.4653 28557 Problem: "import autoload" does not check the file name. 28558 Solution: Give an error if the file is not readable. (closes #10049) 28559 Files: src/filepath.c, src/proto/filepath.pro, src/errors.h, 28560 src/ex_cmds.c, src/ex_docmd.c, src/spellfile.c, 28561 src/testdir/test_vim9_import.vim 28562 28563 Patch 8.2.4654 (after 8.2.4653) 28564 Problem: Missing changes for import check. 28565 Solution: Add missing changes. 28566 Files: src/vim9script.c 28567 28568 Patch 8.2.4655 28569 Problem: Command line completion popup menu positioned wrong when using a 28570 terminal window. 28571 Solution: Position the popup menu differently when editing the command line. 28572 (Yegappan Lakshmanan, closes #10050, closes #10035) 28573 Files: src/popupmenu.c, src/testdir/test_cmdline.vim, 28574 src/testdir/test_terminal.vim, 28575 src/testdir/dumps/Test_wildmenu_pum_term_01.dump 28576 28577 Patch 8.2.4656 28578 Problem: Vim9: can't use items from "import autoload" with autoload 28579 directory name. 28580 Solution: Let sn_autoload_prefix overrule sn_import_autoload. 28581 (closes #10054) 28582 Files: src/structs.h, src/vim9instr.c, src/vim9expr.c, src/vim9script.c, 28583 src/testdir/test_vim9_import.vim 28584 28585 Patch 8.2.4657 28586 Problem: Errors for functions are sometimes hard to read. 28587 Solution: Use printable_func_name() in more places. 28588 Files: src/vim9execute.c, src/userfunc.c, src/proto/userfunc.pro, 28589 src/vim9expr.c, src/eval.c, src/vim9instr.c, src/vim9type.c, 28590 src/testdir/test_vim9_expr.vim 28591 28592 Patch 8.2.4658 28593 Problem: Org-mode files are not recognized. 28594 Solution: Add patterns to recognize "org" files. (closes #10046) 28595 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 28596 28597 Patch 8.2.4659 28598 Problem: Invalid memory access when using printable function name. 28599 Solution: Adjust copied name length. 28600 Files: src/userfunc.c 28601 28602 Patch 8.2.4660 28603 Problem: Cursorcolumn is sometimes not correct. 28604 Solution: Recompute the cursor column when entering Insert mode and the 28605 cursor is on a character wider than a screen cell. (closes #10057) 28606 Files: src/edit.c, src/testdir/test_highlight.vim, 28607 src/testdir/dumps/Test_cursorcolumn_insert_on_tab_1.dump, 28608 src/testdir/dumps/Test_cursorcolumn_insert_on_tab_2.dump 28609 28610 Patch 8.2.4661 28611 Problem: Coverity warning for using uninitialized variable. 28612 Solution: Initialize variable to NULL. 28613 Files: src/vim9expr.c 28614 28615 Patch 8.2.4662 28616 Problem: No error for using out of range list index. 28617 Solution: Check list index at script level like in compiled function. 28618 (closes #10051) 28619 Files: src/vim.h, src/evalvars.c, src/list.c, src/proto/list.pro, 28620 src/eval.c, src/vim9execute.c, src/testdir/test_vim9_assign.vim 28621 28622 Patch 8.2.4663 28623 Problem: Occasional crash when running the GUI tests. 28624 Solution: Check that the line index is not too high. (closes #8681) 28625 Files: src/screen.c 28626 28627 Patch 8.2.4664 28628 Problem: Elvish files are not recognized. 28629 Solution: Recognize .elv files. (Bruno Roque, closes #10058) 28630 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 28631 28632 Patch 8.2.4665 28633 Problem: Popup with "minwidth" and scrollbar not updated properly. 28634 Solution: Adjust the computation if the window width. (closes #10061) 28635 Files: src/popupwin.c, src/testdir/test_popupwin.vim, 28636 src/testdir/dumps/Test_popupwin_previewpopup_4.dump, 28637 src/testdir/dumps/Test_popupwin_previewpopup_5.dump, 28638 src/testdir/dumps/Test_popupwin_previewpopup_7.dump, 28639 src/testdir/dumps/Test_popupwin_previewpopup_8.dump, 28640 src/testdir/dumps/Test_popupwin_previewpopup_9.dump, 28641 src/testdir/dumps/Test_popupwin_previewpopup_10.dump, 28642 src/testdir/dumps/Test_popupwin_drag_minwidth_1.dump, 28643 src/testdir/dumps/Test_popupwin_drag_minwidth_2.dump, 28644 src/testdir/dumps/Test_popupwin_drag_minwidth_3.dump 28645 28646 Patch 8.2.4666 28647 Problem: Vim9: assignment not recognized in skipped block. 28648 Solution: When skipping assume identifier exists. (closes #10059) 28649 Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9cmds.c, 28650 src/testdir/test_vim9_cmd.vim, src/testdir/test_vim9_script.vim 28651 28652 Patch 8.2.4667 28653 Problem: expandcmd() fails on an error. 28654 Solution: On failure return the command unmodified. (Yegappan Lakshmanan, 28655 closes #10063) 28656 Files: runtime/doc/builtin.txt, src/evalfunc.c, 28657 src/testdir/test_expand.vim 28658 28659 Patch 8.2.4668 28660 Problem: Buffer allocation failures insufficiently tested. 28661 Solution: Add tests for memory allocation failures. (Yegappan Lakshmanan, 28662 closes #10064) 28663 Files: src/alloc.h, src/buffer.c, src/popupwin.c, src/window.c, 28664 src/testdir/test_buffer.vim, src/testdir/test_swap.vim 28665 28666 Patch 8.2.4669 28667 Problem: In compiled code len('string') is not inlined. 28668 Solution: Compute the length at compile time if possible. (closes #10065) 28669 Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9expr.c, 28670 src/testdir/test_vim9_disassemble.vim 28671 28672 Patch 8.2.4670 28673 Problem: Memory allocation failures for new tab page not tested. 28674 Solution: Add tests with failing memory allocation. (Yegappan Lakshmanan, 28675 closes #10067) 28676 Files: src/alloc.h, src/blob.c, src/buffer.c, src/window.c, 28677 src/testdir/test_blob.vim, src/testdir/test_buffer.vim, 28678 src/testdir/test_tabpage.vim, src/testdir/test_window_cmd.vim 28679 28680 Patch 8.2.4671 28681 Problem: 'wildignorecase' is sometimes not used for glob(). 28682 Solution: Also use 'wildignorecase' when there are no wildcards. 28683 (closes #10066, closes #8350) 28684 Files: src/filepath.c, src/testdir/test_functions.vim 28685 28686 Patch 8.2.4672 28687 Problem: Using :normal with Ex mode may make :substitute hang. 28688 Solution: When getting an empty line behave like 'q' was typed. 28689 (closes #10070) 28690 Files: src/ex_cmds.c, src/testdir/test_normal.vim 28691 28692 Patch 8.2.4673 28693 Problem: Redrawing a vertically split window is slow when using CTRL-F and 28694 CTRL-B. 28695 Solution: When deciding on USE_REDRAW bail out if scrolling more than three 28696 lines. (issue #8002) 28697 Files: src/screen.c 28698 28699 Patch 8.2.4674 28700 Problem: Cannot force getting MouseMove events. 28701 Solution: Add the 'mousemoveevent' option with implementation for the GUI. 28702 (Ernie Rael, closes #10044) 28703 Files: runtime/doc/gui.txt, runtime/doc/options.txt, 28704 runtime/doc/testing.txt, src/gui.c, src/option.h, 28705 src/optiondefs.h, src/testing.c, src/testdir/test_gui.vim 28706 28707 Patch 8.2.4675 28708 Problem: No error for missing expression after :elseif. (Ernie Rael) 28709 Solution: Check for missing expression. (closes #10068) 28710 Files: src/ex_eval.c, src/testdir/test_vim9_script.vim 28711 28712 Patch 8.2.4676 (after 8.2.4675) 28713 Problem: Test fails with different error. 28714 Solution: Add argument to :elseif. 28715 Files: src/testdir/test_vimscript.vim 28716 28717 Patch 8.2.4677 28718 Problem: The Athena GUI support is outdated. 28719 Solution: Remove the Athena GUI code. 28720 Files: Filelist, src/Makefile, src/proto.h, src/clipboard.c, 28721 src/gui_athena.c, src/proto/gui_athena.pro, src/gui_at_sb.c, 28722 src/gui_at_sb.h, src/gui_at_fs.c, src/gui_motif.c, src/evalfunc.c, 28723 src/gui.c, src/gui_beval.c, src/gui_x11.c, src/if_mzsch.c, 28724 src/main.c, src/menu.c, src/mouse.c, src/version.c, src/feature.h, 28725 src/gui.h, src/structs.h, src/vim.h, src/testdir/gui_init.vim, 28726 src/testdir/setup_gui.vim, src/testdir/test_clientserver.vim, 28727 src/testdir/test_edit.vim, src/testdir/test_gui.vim, 28728 src/testdir/test_highlight.vim, src/testdir/test_quotestar.vim, 28729 src/testdir/test_startup.vim, runtime/doc/gui.txt, 28730 runtime/doc/gui_x11.txt 28731 28732 Patch 8.2.4678 28733 Problem: Vim9: not all code is tested. 28734 Solution: Add a few more tests. 28735 Files: src/vim9execute.c, src/testdir/test_vim9_script.vim, 28736 src/testdir/test_vim9_import.vim, src/testdir/test_vim9_cmd.vim 28737 28738 Patch 8.2.4679 28739 Problem: Cannot have expandcmd() give an error message for mistakes. 28740 Solution: Add an optional argument to give errors. Fix memory leak when 28741 expanding files fails. (Yegappan Lakshmanan, closes #10071) 28742 Files: runtime/doc/builtin.txt, src/evalfunc.c, src/filepath.c, 28743 src/testdir/test_expand.vim, src/testdir/test_vim9_builtin.vim 28744 28745 Patch 8.2.4680 28746 Problem: Build failure without +postscript. 28747 Solution: Use another error message. 28748 Files: src/vim9execute.c, src/testdir/test_vim9_import.vim 28749 28750 Patch 8.2.4681 28751 Problem: Build fails with a combination of features. 28752 Solution: Remove #ifdef for alloc_clear_id(). (John Marriott) 28753 Files: src/alloc.c 28754 28755 Patch 8.2.4682 28756 Problem: Vim9: can use :unlockvar for const variable. (Ernie Rael) 28757 Solution: Check whether the variable is a const. 28758 Files: src/ex_docmd.c, src/evalvars.c, src/vim9script.c, 28759 src/proto/vim9script.pro, src/eval.c, src/userfunc.c, 28760 src/testdir/test_vim9_cmd.vim 28761 28762 Patch 8.2.4683 28763 Problem: Verbose check with dict_find() to see if a key is present. 28764 Solution: Add dict_has_key(). (Yegappan Lakshmanan, closes #10074) 28765 Files: src/channel.c, src/dict.c, src/evalwindow.c, src/filepath.c, 28766 src/highlight.c, src/json.c, src/match.c, src/popupwin.c, 28767 src/proto/dict.pro, src/quickfix.c, src/search.c, src/sign.c, 28768 src/tag.c, src/terminal.c, src/testing.c, src/textprop.c, 28769 src/time.c 28770 28771 Patch 8.2.4684 28772 Problem: Cannot open a channel on a Unix domain socket. 28773 Solution: Add Unix domain socket support. (closes #10062) 28774 Files: runtime/doc/channel.txt, src/channel.c, src/testdir/check.vim, 28775 src/testdir/shared.vim, src/testdir/test_channel.py, 28776 src/testdir/test_channel.vim, src/testdir/test_channel_unix.py, 28777 src/testdir/test_cmdline.vim 28778 28779 Patch 8.2.4685 28780 Problem: When a swap file is found for a popup there is no dialog and the 28781 buffer is loaded anyway. 28782 Solution: Silently load the buffer read-only. (closes #10073) 28783 Files: runtime/doc/popup.txt, src/memline.c, src/popupwin.c, src/vim.h, 28784 src/buffer.c, src/testdir/test_popupwin.vim 28785 28786 Patch 8.2.4686 28787 Problem: Configure doesn't find the Motif library with Cygwin. 28788 Solution: Check for libXm.dll.a. (Kelvin Lee, closes #10077) 28789 Files: src/configure.ac, src/auto/configure 28790 28791 Patch 8.2.4687 28792 Problem: "vimgrep /\%v/ *" may cause a crash. 28793 Solution: When compiling the pattern with the old engine fails, restore the 28794 regprog of the new engine instead of leaving it NULL. 28795 (closes #10079) 28796 Files: src/regexp.c 28797 28798 Patch 8.2.4688 28799 Problem: New regexp engine does not give an error for "\%v". 28800 Solution: Check for a value argument. (issue #10079) 28801 Files: src/regexp_nfa.c, src/errors.h, src/regexp_bt.c, 28802 src/testdir/test_regexp_latin.vim 28803 28804 Patch 8.2.4689 28805 Problem: Using <Cmd> in a mapping does not work for mouse keys in Insert 28806 mode. (Sergey Vlasov) 28807 Solution: When reading the <Cmd> argument do not use the stuff buffer. 28808 (closes #10080) 28809 Files: src/getchar.c 28810 28811 Patch 8.2.4690 28812 Problem: Channel tests fail on MS-Windows. 28813 Solution: Check if the AF_UNIX attribute exists. (closes #10083) 28814 Files: src/testdir/test_channel.py, src/testdir/test_channel_unix.py 28815 28816 Patch 8.2.4691 (after 8.2.4689) 28817 Problem: Solution for <Cmd> in a mapping causes trouble. 28818 Solution: Use another solution: put back CTRL-O after reading the <Cmd> 28819 sequence. 28820 Files: src/getchar.c 28821 28822 Patch 8.2.4692 28823 Problem: No test for what 8.2.4691 fixes. 28824 Solution: Add a test. Use a more generic solution. (closes #10090) 28825 Files: src/getchar.c, src/mouse.c, src/testdir/test_mapping.vim 28826 28827 Patch 8.2.4693 (after 8.2.4688) 28828 Problem: new regexp does not accept pattern "\%>0v". 28829 Solution: Do accept digit zero. 28830 Files: src/regexp_bt.c, src/regexp_nfa.c, 28831 src/testdir/test_regexp_latin.vim 28832 28833 Patch 8.2.4694 28834 Problem: Avoidance of #elif causes more preproc nesting. 28835 Solution: Use #elif where it is useful. (Ozaki Kiichi, closes #10081) 28836 Files: src/option.c, src/optiondefs.h, src/optionstr.c, src/version.c 28837 28838 Patch 8.2.4695 28839 Problem: JSON encoding could be faster. 28840 Solution: Optimize encoding JSON strings. (closes #10086) 28841 Files: src/json.c, src/testdir/test_json.vim 28842 28843 Patch 8.2.4696 28844 Problem: delete() with "rf" argument does not report a failure. 28845 Solution: Return -1 if the directory could not be removed. (closes #10078) 28846 Files: src/fileio.c, src/testdir/test_functions.vim 28847 28848 Patch 8.2.4697 28849 Problem: Vim9: crash when adding a duplicate key to a dictionary. 28850 Solution: Clear the stack item when it has been moved into the dictionary. 28851 (closes #10087) 28852 Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim 28853 28854 Patch 8.2.4698 28855 Problem: Vim9: script variable has no flag that it was set. 28856 Solution: Add a flag that it was set, to avoid giving it a value when used. 28857 (closes #10088) 28858 Files: src/structs.h, src/vim9script.c, src/vim9execute.c, 28859 src/evalvars.c, src/testdir/test_vim9_assign.vim, 28860 src/testdir/test_vim9_builtin.vim 28861 28862 Patch 8.2.4699 28863 Problem: Hard to reproduce hang when reading from a channel. 28864 Solution: Check for readahead before starting to wait. (closes #10093, 28865 closes #7781, closes #6364) 28866 Files: src/channel.c 28867 28868 Patch 8.2.4700 28869 Problem: Buffer remains active if a WinClosed event throws an exception. 28870 Solution: Ignore aborting() when closing the buffer. (closes #10097) 28871 Files: src/window.c, src/testdir/test_autocmd.vim 28872 28873 Patch 8.2.4701 28874 Problem: Kuka Robot Language files not recognized. 28875 Solution: Recognize *.src and *.dat files. (Patrick Meiser-Knosowski, 28876 closes #10096) 28877 Files: runtime/filetype.vim, src/testdir/test_filetype.vim, 28878 runtime/autoload/dist/ft.vim 28879 28880 Patch 8.2.4702 28881 Problem: C++ scope labels are hard-coded. 28882 Solution: Add 'cinscopedecls' to define the labels. (Rom Praschan, 28883 closes #10109) 28884 Files: runtime/doc/indent.txt, runtime/doc/options.txt, 28885 runtime/doc/quickref.txt, runtime/optwin.vim, src/buffer.c, 28886 src/cindent.c, src/option.c, src/option.h, src/optiondefs.h, 28887 src/optionstr.c, src/structs.h, src/testdir/test_cindent.vim 28888 28889 Patch 8.2.4703 (after 8.2.4702) 28890 Problem: Memory leak in handling 'cinscopedecls'. 28891 Solution: Free the memory before returning. 28892 Files: src/cindent.c 28893 28894 Patch 8.2.4704 28895 Problem: Using "else" after return or break increases indent. 28896 Solution: Remove "else" and reduce indent. (Goc Dundar, closes #10099) 28897 Files: src/fileio.c, src/memline.c, src/option.c, src/syntax.c 28898 28899 Patch 8.2.4705 28900 Problem: reg_executing may not be cleared. 28901 Solution: Reset reg_executing later. (closes #10111, closes #10110) 28902 Files: src/ex_docmd.c, src/getchar.c, src/globals.h, src/structs.h, 28903 src/testdir/test_registers.vim 28904 28905 Patch 8.2.4706 28906 Problem: Buffer remains active if a WinClosed event throws an exception 28907 when there are multiple tabpages. 28908 Solution: Ignore aborting() when closing the buffer. (closes #10101) 28909 Files: src/window.c, src/testdir/test_autocmd.vim 28910 28911 Patch 8.2.4707 28912 Problem: Redrawing could be a bit more efficient. 28913 Solution: Optimize redrawing. (closes #10105) 28914 Files: src/change.c, src/edit.c, src/testdir/test_highlight.vim, 28915 src/testdir/dumps/Test_cursorcolumn_insert_on_tab_3.dump 28916 28917 Patch 8.2.4708 28918 Problem: PHP test files are not recognized. 28919 Solution: Add the *.phpt pattern. (Julien Voisin, closes #10112) 28920 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 28921 28922 Patch 8.2.4709 28923 Problem: After :redraw the statusline highlight might be used. 28924 Solution: Clear the screen attribute after redrawing the screen. 28925 (closes #10108) 28926 Files: src/ex_docmd.c 28927 28928 Patch 8.2.4710 28929 Problem: Smart indenting does not work after completion. 28930 Solution: Set "can_si". (Christian Brabandt, closes #10113, closes #558) 28931 Files: src/edit.c, src/testdir/test_ins_complete.vim 28932 28933 Patch 8.2.4711 28934 Problem: When 'insermode' is set :edit from <Cmd> mapping misbehaves. 28935 Solution: Don't set "need_start_insertmode" when already in Insert mode. 28936 (closes #10116) 28937 Files: src/ex_cmds.c, src/testdir/test_edit.vim 28938 28939 Patch 8.2.4712 28940 Problem: Only get profiling information after exiting. 28941 Solution: Add "profile dump" and "profile stop". (Marco Hinz, Yegappan 28942 Lakshmanan, closes #10107) 28943 Files: runtime/doc/repeat.txt, src/profiler.c, 28944 src/testdir/test_profile.vim 28945 28946 Patch 8.2.4713 28947 Problem: Plugins cannot track text scrolling. 28948 Solution: Add the WinScrolled event. (closes #10102) 28949 Files: runtime/doc/autocmd.txt, src/autocmd.c, src/proto/autocmd.pro, 28950 src/edit.c, src/gui.c, src/main.c, src/structs.h, src/vim.h, 28951 src/window.c, src/proto/window.pro, src/testdir/test_autocmd.vim 28952 28953 Patch 8.2.4714 28954 Problem: Using g:filetype_dat and g:filetype_src not tested. 28955 Solution: Add a test. (Patrick Meiser-Knosowski, closes #10117) 28956 Files: src/testdir/test_filetype.vim 28957 28958 Patch 8.2.4715 28959 Problem: Vagrantfile not recognized. 28960 Solution: Recognize Vagrantfile as ruby. (Julien Voisin, closes #10119) 28961 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 28962 28963 Patch 8.2.4716 28964 Problem: Memory allocation failure not tested when defining a function. 28965 Solution: Add a test. (Yegappan Lakshmanan, closes #10127) 28966 Files: src/alloc.c, src/alloc.h, src/proto/alloc.pro, src/userfunc.c, 28967 src/testdir/test_user_func.vim, src/testdir/test_vim9_func.vim 28968 28969 Patch 8.2.4717 28970 Problem: For TextYankPost v:event does not contain information about the 28971 operation being inclusive or not. 28972 Solution: Add "inclusive" to v:event. (Justin M. Keyes, Yegappan Lakshmanan, 28973 closes #10125) 28974 Files: runtime/doc/autocmd.txt, src/register.c, 28975 src/testdir/test_autocmd.vim 28976 28977 Patch 8.2.4718 28978 Problem: @@@ in the last line sometimes drawn in the wrong place. 28979 Solution: Make sure the column is valid. (closes #10130) 28980 Files: src/drawscreen.c, src/screen.c, src/testdir/test_display.vim 28981 src/testdir/dumps/Test_display_lastline_1.dump, 28982 src/testdir/dumps/Test_display_lastline_2.dump, 28983 src/testdir/dumps/Test_display_lastline_3.dump, 28984 src/testdir/dumps/Test_display_lastline_4.dump 28985 28986 Patch 8.2.4719 28987 Problem: ">" marker sometimes not displayed in the jumplist. 28988 Solution: If the buffer no longer exists show "-invalid-". (Christian 28989 Brabandt, closes #10131, closes #10100) 28990 Files: runtime/doc/motion.txt, src/mark.c, src/testdir/Make_all.mak, 28991 src/testdir/test_alot.vim, src/testdir/test_jumplist.vim, 28992 src/testdir/test_jumps.vim 28993 28994 Patch 8.2.4720 28995 Problem: ABB Rapid files are not recognized properly. 28996 Solution: Add checks for ABB Rapid files. (Patrick Meiser-Knosowski, 28997 closes #10104) 28998 Files: runtime/autoload/dist/ft.vim, runtime/doc/filetype.txt, 28999 runtime/filetype.vim, src/testdir/test_filetype.vim 29000 29001 Patch 8.2.4721 29002 Problem: Cooklang files are not recognized. 29003 Solution: recognize *.cook files. (Goc Dundar, closes #10120) 29004 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 29005 29006 Patch 8.2.4722 29007 Problem: When a recording is ended with a mapped key that key is also 29008 recorded. 29009 Solution: Remember the previous last_recorded_len. (closes #10122) 29010 Files: src/getchar.c, src/testdir/test_registers.vim 29011 29012 Patch 8.2.4723 29013 Problem: The ModeChanged autocmd event is inefficient. 29014 Solution: Avoid allocating memory. (closes #10134) Rename 29015 trigger_modechanged() to may_trigger_modechanged(). 29016 Files: src/misc1.c, src/proto/misc1.pro, src/edit.c, src/ex_docmd.c, 29017 src/ex_getln.c, src/insexpand.c, src/normal.c, src/terminal.c, 29018 src/autocmd.c 29019 29020 Patch 8.2.4724 29021 Problem: Current instance of last search pattern not easily spotted. 29022 Solution: Add CurSearch highlighting. (closes #10133) 29023 Files: runtime/doc/options.txt, runtime/doc/syntax.txt, src/highlight.c, 29024 src/match.c, src/normal.c, src/optiondefs.h, src/structs.h, 29025 src/vim.h, src/normal.c, src/testdir/test_search.vim, 29026 src/testdir/dumps/Test_hlsearch_cursearch_multiple_line.dump, 29027 src/testdir/dumps/Test_hlsearch_cursearch_single_line_1.dump, 29028 src/testdir/dumps/Test_hlsearch_cursearch_single_line_2.dump, 29029 src/testdir/dumps/Test_hlsearch_cursearch_single_line_3.dump 29030 29031 Patch 8.2.4725 (after 8.2.4724) 29032 Problem: Unused variable in tiny build. 29033 Solution: Add #ifdef. 29034 Files: src/normal.c 29035 29036 Patch 8.2.4726 29037 Problem: Cannot use expand() to get the script name. 29038 Solution: Support expand('<script>'). (closes #10121) 29039 Files: runtime/doc/cmdline.txt, src/errors.h, src/ex_docmd.c, 29040 src/scriptfile.c, src/vim.h, src/testdir/test_expand.vim 29041 29042 Patch 8.2.4727 29043 Problem: Unused code. 29044 Solution: Remove code and add #ifdefs. (Dominique Pellé, closes #10136) 29045 Files: runtime/doc/editing.txt, runtime/doc/eval.txt, 29046 runtime/doc/vim9.txt, src/errors.h, src/option.c, src/search.c, 29047 src/proto/search.pro 29048 29049 Patch 8.2.4728 29050 Problem: No test that v:event cannot be modified. 29051 Solution: Add a test. (closes #10139) 29052 Files: src/testdir/test_autocmd.vim 29053 29054 Patch 8.2.4729 29055 Problem: HEEx and Surface templates do not need a separate filetype. 29056 Solution: Use Elixir for the similar filetypes. (Aaron Tinio, closes #10124) 29057 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 29058 29059 Patch 8.2.4730 29060 Problem: MS-Windows GUI: cannot use CTRL-/. 29061 Solution: Handle the WM_KEYUP event. (Yasuhiro Matsumoto, closes #10141) 29062 Files: src/gui_w32.c 29063 29064 Patch 8.2.4731 29065 Problem: The changelist index is not remembered per buffer. 29066 Solution: Keep the changelist index per window and buffer. (closes #10135, 29067 closes #2173) 29068 Files: src/buffer.c, src/evalfunc.c, src/structs.h, 29069 src/testdir/test_changelist.vim 29070 29071 Patch 8.2.4732 29072 Problem: Duplicate code to free fuzzy matches. 29073 Solution: Bring back fuzmatch_str_free(). 29074 Files: src/search.c, src/proto/search.pro, src/cmdexpand.c 29075 29076 Patch 8.2.4733 (after 8.2.4729) 29077 Problem: HEEx and Surface do need a separate filetype. 29078 Solution: Revert 8.2.4729. (closes #10147) 29079 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 29080 29081 Patch 8.2.4734 29082 Problem: getcharpos() may change a mark position. 29083 Solution: Copy the mark position. (closes #10148) 29084 Files: src/eval.c, src/testdir/test_cursor_func.vim 29085 29086 Patch 8.2.4735 29087 Problem: Quickfix tests can be a bit hard to read. 29088 Solution: Use heredoc instead of strings and line continuation. (Yegappan 29089 Lakshmanan, closes #10145) 29090 Files: src/testdir/test_quickfix.vim 29091 29092 Patch 8.2.4736 29093 Problem: Build problem for Cygwin with Motif. 29094 Solution: Undefine ControlMask. (Kelvin Lee, closes #10152) 29095 Files: src/mbyte.c 29096 29097 Patch 8.2.4737 29098 Problem: // in JavaScript string recognized as comment. 29099 Solution: Only check for linecomment if 'cindent' is set. (closes #10151) 29100 Files: src/change.c, src/testdir/test_textformat.vim 29101 29102 Patch 8.2.4738 29103 Problem: Esc on commandline executes command instead of abandoning it. 29104 Solution: Save and restore KeyTyped when removing the popup menu. 29105 (closes #10154) 29106 Files: src/cmdexpand.c, src/testdir/test_cmdline.vim, 29107 src/testdir/dumps/Test_wildmenu_with_pum_foldexpr_1.dump, 29108 src/testdir/dumps/Test_wildmenu_with_pum_foldexpr_2.dump 29109 29110 Patch 8.2.4739 29111 Problem: Accessing freed memory after WinScrolled autocmd event. 29112 Solution: Check the window pointer is still valid. (closes #10156) 29113 Remove the argument from may_trigger_winscrolled(). 29114 Files: src/window.c, src/proto/window.pro, src/edit.c, src/gui.c, 29115 src/main.c, src/testdir/test_autocmd.vim 29116 29117 Patch 8.2.4740 29118 Problem: When expand() fails there is no error message. 29119 Solution: When 'verbose' is set give an error message. 29120 Files: runtime/doc/builtin.txt, src/evalfunc.c, 29121 src/testdir/test_expand.vim 29122 29123 Patch 8.2.4741 (after 8.2.4740) 29124 Problem: Startup test fails. 29125 Solution: Avoid an error for verbose expansion. Fix that the "0verbose" 29126 command modifier doesn't work. 29127 Files: runtime/syntax/syntax.vim, runtime/syntax/synload.vim, 29128 src/structs.h, src/ex_docmd.c, src/testdir/test_excmd.vim 29129 29130 Patch 8.2.4742 29131 Problem: There is no way to start logging very early in startup. 29132 Solution: Add the --log argument. Include the date in the start message in 29133 the log file. Avoid a duplicate message when forking. Log an 29134 executed shell command. 29135 Files: runtime/doc/starting.txt, runtime/doc/channel.txt, 29136 src/main.c, src/channel.c, src/os_unix.c, src/os_win32.c, 29137 src/testdir/test_startup.vim 29138 29139 Patch 8.2.4743 29140 Problem: Clang 14 is available on CI. 29141 Solution: Switch from clang 13 to 14. (closes #10157) 29142 Files: .github/workflows/ci.yml 29143 29144 Patch 8.2.4744 29145 Problem: A terminal window can't use the bell. 29146 Solution: Add bell support for the terminal window. (closes #10178) 29147 Files: runtime/doc/options.txt, src/gui_w32.c, src/option.h, 29148 src/optionstr.c, src/terminal.c 29149 29150 Patch 8.2.4745 (after 8.2.4744) 29151 Problem: Using wrong flag for using bell in the terminal. 29152 Solution: Change to use BO_TERM. 29153 Files: src/terminal.c, src/misc1.c 29154 29155 Patch 8.2.4746 29156 Problem: Supercollider filetype not recognized. 29157 Solution: Match file extensions and check file contents to detect 29158 supercollider. (closes #10142) 29159 Files: runtime/filetype.vim, runtime/autoload/dist/ft.vim, 29160 src/testdir/test_filetype.vim 29161 29162 Patch 8.2.4747 29163 Problem: No filetype override for .sys files. 29164 Solution: Add g:filetype_sys. (Patrick Meiser-Knosowski, closes #10181) 29165 Files: runtime/doc/filetype.txt, runtime/autoload/dist/ft.vim, 29166 src/testdir/test_filetype.vim 29167 29168 Patch 8.2.4748 29169 Problem: Cannot use an imported function in a mapping. 29170 Solution: Recognize <SID>name.Func. 29171 Files: runtime/doc/vim9.txt, src/term.c, src/vim9execute.c, 29172 src/proto/vim9execute.pro, src/scriptfile.c, 29173 src/testdir/test_vim9_import.vim 29174 29175 Patch 8.2.4749 29176 Problem: <script> is not expanded in autocmd context. 29177 Solution: Add the context to the pattern struct. (closes #10144) 29178 Rename AutoPatCmd to AutoPatCmd_T. 29179 Files: src/autocmd.c, src/proto/autocmd.pro, src/scriptfile.c, 29180 src/structs.h, src/testdir/test_expand.vim 29181 29182 Patch 8.2.4750 29183 Problem: Small pieces of dead code. 29184 Solution: Remove the dead code. (Goc Dundar, closes #10190) Rename the 29185 qftf_cb struct member to avoid confusion. 29186 Files: src/ex_cmds.c, src/misc1.c, src/optionstr.c, src/quickfix.c 29187 29188 Patch 8.2.4751 (after 8.2.4748) 29189 Problem: Mapping <SID>name.Func does not work for script in autoload 29190 directory. 29191 Solution: Use the # form for a script in the autoload directory. 29192 (closes #10186) 29193 Files: src/term.c, src/testdir/test_vim9_import.vim 29194 29195 Patch 8.2.4752 29196 Problem: Wrong 'statusline' value can cause illegal memory access. 29197 Solution: Properly check the value. (closes #10192) 29198 Files: src/optionstr.c, src/testdir/test_options.vim 29199 29200 Patch 8.2.4753 29201 Problem: Error from setting an option is silently ignored. 29202 Solution: Handle option value errors better. Fix uses of N_(). 29203 Files: src/option.c, src/proto/option.pro, src/optionstr.c, 29204 src/channel.c, src/crypt.c, src/diff.c, src/edit.c, 29205 src/eval.c, src/evalfunc.c, src/evalvars.c, src/ex_cmds2.c, 29206 src/ex_docmd.c, src/ex_getln.c, src/getchar.c, src/gui.c, 29207 src/gui_gtk_x11.c, src/help.c, src/highlight.c, src/if_tcl.c, 29208 src/main.c, src/memline.c, src/message_test.c, 29209 src/popupmenu.c, src/quickfix.c, src/scriptfile.c, src/spell.c, 29210 src/spellfile.c, src/term.c, src/undo.c, src/vim9script.c 29211 29212 Patch 8.2.4754 29213 Problem: Still using cached values after unsetting some known environment 29214 variables. 29215 Solution: Take care of the side effects. (closes #10194) 29216 Files: src/evalfunc.c, src/evalvars.c, src/misc1.c, src/proto/misc1.pro, 29217 src/vim9execute.c, src/optionstr.c, src/testdir/test_environ.vim 29218 29219 Patch 8.2.4755 29220 Problem: Cannot use <SID>FuncRef in completion spec. 29221 Solution: Dereference a function name in another way. (closes #10197) 29222 Files: src/eval.c, src/testdir/test_vim9_import.vim 29223 29224 Patch 8.2.4756 (after 8.2.4754) 29225 Problem: Build error without the +eval feature. 29226 Solution: Adjust #ifdefs. 29227 Files: src/misc1.c 29228 29229 Patch 8.2.4757 29230 Problem: List of libraries to suppress lsan errors is outdated. 29231 Solution: Add another library. (closes #10201) 29232 Files: src/testdir/lsan-suppress.txt 29233 29234 Patch 8.2.4758 29235 Problem: When using an LSP channel want to get the message ID. 29236 Solution: Have ch_sendexpr() return the ID. (Yegappan Lakshmanan, 29237 closes #10202) 29238 Files: runtime/doc/channel.txt, src/channel.c, src/evalfunc.c, 29239 src/testdir/test_channel.vim 29240 29241 Patch 8.2.4759 29242 Problem: CurSearch highlight does not work for multi-line match. 29243 Solution: Check cursor position before adjusting columns. (closes #10133) 29244 Files: src/structs.h, src/match.c, src/testdir/test_search.vim, 29245 src/testdir/dumps/Test_hlsearch_cursearch_multiple_line.dump, 29246 src/testdir/dumps/Test_hlsearch_cursearch_multiple_line_1.dump, 29247 src/testdir/dumps/Test_hlsearch_cursearch_multiple_line_2.dump, 29248 src/testdir/dumps/Test_hlsearch_cursearch_multiple_line_3.dump, 29249 src/testdir/dumps/Test_hlsearch_cursearch_multiple_line_4.dump, 29250 src/testdir/dumps/Test_hlsearch_cursearch_multiple_line_5.dump 29251 29252 Patch 8.2.4760 29253 Problem: Using matchfuzzy() on a long list can take a while. 29254 Solution: Add a limit to the number of matches. (Yasuhiro Matsumoto, 29255 closes #10189) 29256 Files: runtime/doc/builtin.txt, src/search.c, 29257 src/testdir/test_matchfuzzy.vim 29258 29259 Patch 8.2.4761 29260 Problem: Documentation for using LSP messages is incomplete. 29261 Solution: Update the documentation. (Yegappan Lakshmanan, closes #10206) 29262 Files: runtime/doc/channel.txt 29263 29264 Patch 8.2.4762 29265 Problem: Using freed memory when using synstack() and synID() in WinEnter. 29266 Solution: Check using the syntax window. (closes #10204) 29267 Files: src/syntax.c, src/testdir/test_syntax.vim 29268 29269 Patch 8.2.4763 29270 Problem: Using invalid pointer with "V:" in Ex mode. 29271 Solution: Correctly handle the command being changed to "+". 29272 Files: src/ex_docmd.c, src/testdir/test_ex_mode.vim 29273 29274 Patch 8.2.4764 29275 Problem: CI uses an older gcc version. 29276 Solution: Use GCC 11. (closes #10185) 29277 Files: .github/workflows/ci.yml, src/testdir/lsan-suppress.txt 29278 29279 Patch 8.2.4765 29280 Problem: Function matchfuzzy() sorts too many items. 29281 Solution: Only put matches in the array. (Yegappan Lakshmanan, 29282 closes #10208) 29283 Files: src/search.c 29284 29285 Patch 8.2.4766 29286 Problem: KRL files using "deffct" not recognized. 29287 Solution: Adjust the pattern used for matching. (Patrick Meiser-Knosowski, 29288 closes #10200) 29289 Files: runtime/autoload/dist/ft.vim, src/testdir/test_filetype.vim 29290 29291 Patch 8.2.4767 29292 Problem: Openscad files are not recognized. 29293 Solution: Add a filetype pattern. (Niklas Adam, closes #10199) 29294 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 29295 29296 Patch 8.2.4768 29297 Problem: CI: codecov upload sometimes does not work. 29298 Solution: Use action v3 instead of v2. (closes #10209) 29299 Files: .github/workflows/ci.yml 29300 29301 Patch 8.2.4769 29302 Problem: Build warning with UCRT. 29303 Solution: Adjust #ifdef for _wenviron. (John Marriott) 29304 Files: src/evalfunc.c 29305 29306 Patch 8.2.4770 29307 Problem: Cannot easily mix expression and heredoc. 29308 Solution: Support `=expr` in heredoc. (Yegappan Lakshmanan, closes #10138) 29309 Files: runtime/doc/eval.txt, src/evalvars.c, src/userfunc.c, 29310 src/testdir/test_let.vim, src/testdir/test_vim9_assign.vim 29311 29312 Patch 8.2.4771 29313 Problem: Coverity warns for not checking return value. 29314 Solution: Check return value of rettv_dict_alloc(). 29315 Files: src/channel.c 29316 29317 Patch 8.2.4772 29318 Problem: Old Coverity warning for not checking ftell() return value. 29319 Solution: Check return value of fseek() and ftell(). 29320 Files: src/misc1.c 29321 29322 Patch 8.2.4773 29323 Problem: Build failure without the +eval feature. 29324 Solution: Use other error message. Avoid warnings. 29325 Files: src/misc1.c, src/cindent.c, src/term.c 29326 29327 Patch 8.2.4774 29328 Problem: Crash when using a number for lambda name. 29329 Solution: Check the type of the lambda reference. 29330 Files: src/eval.c, src/errors.h, src/testdir/test_lambda.vim 29331 29332 Patch 8.2.4775 29333 Problem: SpellBad highlighting does not work in Konsole. 29334 Solution: Do not keep t_8u defined for Konsole. Redraw when t_8u is reset. 29335 (closes #10177) 29336 Files: src/term.c 29337 29338 Patch 8.2.4776 29339 Problem: GTK: 'lines' and 'columns' may change during startup. 29340 Solution: Ignore stale GTK resize events. (Ernie Rael, closes #10179) 29341 Files: src/gui_gtk_x11.c 29342 29343 Patch 8.2.4777 (after 8.2.4775) 29344 Problem: Screendump tests fail because of a redraw. 29345 Solution: Do not output t_8u before receiving termresponse. Redraw only 29346 when t_8u is not reset and termresponse is received. 29347 Files: src/term.c 29348 29349 Patch 8.2.4778 29350 Problem: Pacman files use dosini filetype. 29351 Solution: Use conf instead. (Chaoren Lin, closes #10213) 29352 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 29353 29354 Patch 8.2.4779 29355 Problem: lsan suppression is too version specific. 29356 Solution: Leave out the version number. (Christian Brabandt, closes #10214) 29357 Files: src/testdir/lsan-suppress.txt 29358 29359 Patch 8.2.4780 29360 Problem: Parsing an LSP message fails when it is split. 29361 Solution: Collapse the received data before parsing. (Yegappan Lakshmanan, 29362 closes #10215) 29363 Files: runtime/doc/channel.txt, src/channel.c, 29364 src/testdir/test_channel.vim, src/testdir/test_channel_lsp.py 29365 29366 Patch 8.2.4781 29367 Problem: Maxima files are not recognized. 29368 Solution: Add patterns to detect Maxima files. (Doron Behar, closes #10211) 29369 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 29370 29371 Patch 8.2.4782 29372 Problem: Accessing freed memory. 29373 Solution: Clear evalarg after checking for trailing characters. 29374 (issue #10218) 29375 Files: src/userfunc.c, src/testdir/test_lambda.vim 29376 29377 Patch 8.2.4783 29378 Problem: Coverity warns for leaking memory. 29379 Solution: Use another strategy freeing "theline". 29380 Files: src/evalvars.c 29381 29382 Patch 8.2.4784 29383 Problem: Lamba test with timer is flaky. 29384 Solution: Adjust sleep time on retry. 29385 Files: src/testdir/test_lambda.vim 29386 29387 Patch 8.2.4785 29388 Problem: Visual mode not stopped early enough if win_gotoid() goes to 29389 another buffer. (Sergey Vlasov) 29390 Solution: Stop Visual mode before jumping to another buffer. (closes #10217) 29391 Files: src/evalwindow.c, src/testdir/test_vim9_builtin.vim, 29392 src/testdir/dumps/Test_win_gotoid_1.dump, 29393 src/testdir/dumps/Test_win_gotoid_2.dump, 29394 src/testdir/dumps/Test_win_gotoid_3.dump 29395 29396 Patch 8.2.4786 (after 8.2.4785) 29397 Problem: Test for win_gotoid() in Visual mode fails on Mac. 29398 Solution: Skip the test on MacOS. 29399 Files: src/testdir/test_vim9_builtin.vim 29400 29401 Patch 8.2.4787 29402 Problem: prop_find() does not find the right property. 29403 Solution: Fix the scan order. (closes #10220) 29404 Files: src/textprop.c, src/testdir/test_textprop.vim 29405 29406 Patch 8.2.4788 29407 Problem: Large payload for LSP message not tested. 29408 Solution: Add a test with a large LSP payload. (Yegappan Lakshmanan, 29409 closes #10223) 29410 Files: src/channel.c, src/testdir/test_channel.vim, 29411 src/testdir/test_channel_lsp.py 29412 29413 Patch 8.2.4789 29414 Problem: The cursor may be in the in wrong place when using :redraw while 29415 editing the cmdline. 29416 Solution: When editing the command line let :redraw update the command line 29417 too. (closes #10210) 29418 Files: src/ex_docmd.c, src/testdir/test_cmdline.vim, 29419 src/testdir/dumps/Test_redraw_in_autocmd_1.dump, 29420 src/testdir/dumps/Test_redraw_in_autocmd_2.dump 29421 29422 Patch 8.2.4790 29423 Problem: Lilypond filetype not recognized. 29424 Solution: Add patterns for lilypond. (Doug Kearns) 29425 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 29426 29427 Patch 8.2.4791 29428 Problem: Autocmd events triggered in different order when reusing an empty 29429 buffer. 29430 Solution: Call buff_freeall() earlier. (Charlie Groves, closes #10198) 29431 Files: src/buffer.c, src/testdir/test_autocmd.vim 29432 29433 Patch 8.2.4792 29434 Problem: Indent operator creates an undo entry for every line. 29435 Solution: Create one undo entry for all lines. (closes #10227) 29436 Files: src/indent.c, src/testdir/test_indent.vim 29437 29438 Patch 8.2.4793 29439 Problem: Recognizing Maxima filetype even though it might be another. 29440 Solution: Remove *.mc and *.dem patterns from Maxima files 29441 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 29442 29443 Patch 8.2.4794 29444 Problem: Compiler warning for not initialized variable. 29445 Solution: Initialize the variable. (John Marriott) 29446 Files: src/indent.c 29447 29448 Patch 8.2.4795 29449 Problem: 'cursorbind' scrolling depends on whether 'cursorline' is set. 29450 Solution: Always call validate_cursor(). (Christian Brabandt, closes #10230, 29451 closes #10014) 29452 Files: src/move.c, src/testdir/README.txt, 29453 src/testdir/test_cursorline.vim, 29454 src/testdir/dumps/Test_hor_scroll_1.dump, 29455 src/testdir/dumps/Test_hor_scroll_2.dump, 29456 src/testdir/dumps/Test_hor_scroll_3.dump, 29457 src/testdir/dumps/Test_hor_scroll_4.dump 29458 29459 Patch 8.2.4796 (after 8.2.4795) 29460 Problem: File left behind after running cursorline tests. 29461 Solution: Uncomment the line that deletes the file. 29462 Files: src/testdir/test_cursorline.vim 29463 29464 Patch 8.2.4797 29465 Problem: getwininfo() may get outdated values. 29466 Solution: Make sure w_botline is up-to-date. (closes #10226) 29467 Files: src/evalwindow.c, src/testdir/test_bufwintabinfo.vim 29468 29469 Patch 8.2.4798 29470 Problem: t_8u option was reset even when set by the user. 29471 Solution: Only reset t_8u when using the default value. (closes #10239) 29472 Files: src/term.c 29473 29474 Patch 8.2.4799 29475 Problem: Popup does not use correct topline. 29476 Solution: Also add one when firstline is negative. (closes #10229) 29477 Files: src/popupwin.c, src/testdir/test_popupwin.vim 29478 29479 Patch 8.2.4800 (after 8.2.4798) 29480 Problem: Missing test update for adjusted t_8u behavior. 29481 Solution: Update and extend the test. 29482 Files: src/testdir/test_termcodes.vim 29483 29484 Patch 8.2.4801 (after 8.2.4795) 29485 Problem: Fix for cursorbind fix not fully tested. 29486 Solution: Add another test case. (Christian Brabandt, closes #10240) 29487 Files: src/testdir/test_cursorline.vim, 29488 src/testdir/dumps/Test_hor_scroll_5.dump 29489 29490 Patch 8.2.4802 29491 Problem: Test is not cleaned up. 29492 Solution: Make test clean up after itself. Avoid NUL. (closes #10233) 29493 Files: src/testdir/test_autocmd.vim 29494 29495 Patch 8.2.4803 29496 Problem: WinScrolled not always triggered when scrolling with the mouse. 29497 Solution: Add calls to may_trigger_winscrolled(). (closes #10246) 29498 Files: src/mouse.c, src/testdir/test_autocmd.vim 29499 29500 Patch 8.2.4804 29501 Problem: Expression in heredoc doesn't work for compiled function. 29502 Solution: Implement compiling the heredoc expressions. (Yegappan Lakshmanan, 29503 closes #10232) 29504 Files: runtime/doc/eval.txt, src/evalvars.c, src/proto/evalvars.pro, 29505 src/ex_getln.c, src/vim9compile.c, src/proto/vim9compile.pro, 29506 src/testdir/test_vim9_assign.vim 29507 29508 Patch 8.2.4805 29509 Problem: CurSearch used for all matches in current line. 29510 Solution: Don't use the non-zero line count. (closes #10247) 29511 Files: src/match.c, src/testdir/test_search.vim, 29512 src/testdir/dumps/Test_hlsearch_cursearch_single_line_1.dump, 29513 src/testdir/dumps/Test_hlsearch_cursearch_single_line_2.dump, 29514 src/testdir/dumps/Test_hlsearch_cursearch_single_line_2a.dump, 29515 src/testdir/dumps/Test_hlsearch_cursearch_single_line_2b.dump 29516 29517 Patch 8.2.4806 29518 Problem: A mapping using <LeftDrag> does not start Select mode. 29519 Solution: When checking for starting select mode with the mouse also do this 29520 when there is typeahead. (closes #10249) 29521 Files: src/normal.c 29522 29523 Patch 8.2.4807 29524 Problem: Processing key events in Win32 GUI is not ideal. 29525 Solution: Improve processing of key events. (closes #10155) 29526 Files: src/gui_w32.c 29527 29528 Patch 8.2.4808 29529 Problem: Unused item in engine struct. 29530 Solution: Remove "expr". Add comment with tags. 29531 Files: src/regexp.h 29532 29533 Patch 8.2.4809 29534 Problem: Various things not properly tested. 29535 Solution: Add various test cases. (Yegappan Lakshmanan, closes #10259) 29536 Files: src/testdir/test_blob.vim, src/testdir/test_debugger.vim, 29537 src/testdir/test_listdict.vim, src/testdir/test_vim9_builtin.vim, 29538 src/testdir/test_vim9_import.vim, src/testdir/test_vim9_script.vim 29539 29540 Patch 8.2.4810 (after 8.2.4808) 29541 Problem: Missing changes in one file. 29542 Solution: Also change the struct initializers. 29543 Files: src/regexp.c 29544 29545 Patch 8.2.4811 (after 8.2.4807) 29546 Problem: Win32 GUI: caps lock doesn't work. 29547 Solution: Handle VK_CAPITAL. (closes #10260, closes #10258) 29548 Files: src/gui_w32.c 29549 29550 Patch 8.2.4812 29551 Problem: Unused struct item. 29552 Solution: Remove "lines" match_T. Simplify the code. (closes #10256) 29553 Files: src/match.c, src/structs.h 29554 29555 Patch 8.2.4813 29556 Problem: Pasting text while indent folding may mess up folds. 29557 Solution: Adjust the way folds are split. (Brandon Simmons, closes #10254) 29558 Files: src/fold.c, src/testdir/test_fold.vim 29559 29560 Patch 8.2.4814 29561 Problem: Possible to leave a popup window with win_gotoid(). 29562 Solution: Give an error when trying to leave a popup window with 29563 win_gotoid(). (closes #10253) 29564 Files: src/evalwindow.c, src/testdir/test_terminal3.vim 29565 29566 Patch 8.2.4815 (after 8.2.4776) 29567 Problem: Cannot build with older GTK version. 29568 Solution: Use gtk_window_get_size() instead of gdk_window_get_width() and 29569 gdk_window_get_height(). (Ernie Rael, closes #10257) 29570 Files: src/gui_gtk_x11.c 29571 29572 Patch 8.2.4816 29573 Problem: Still using older codecov app in some places of CI. 29574 Solution: Use v3.1.0. (closes #10209) 29575 Files: .github/workflows/ci.yml 29576 29577 Patch 8.2.4817 29578 Problem: Win32 GUI: modifiers are not always used. 29579 Solution: Handle more modifiers. (closes #10269) 29580 Files: src/gui_w32.c 29581 29582 Patch 8.2.4818 (after 8.2 4806) 29583 Problem: No test for what 8.2.4806 fixes. 29584 Solution: Add a test. (closes #10272) 29585 Files: src/testdir/test_mapping.vim 29586 29587 Patch 8.2.4819 29588 Problem: Unmapping simplified keys also deletes other mapping. 29589 Solution: Only unmap a mapping with m_simplified set. (closes #10270) 29590 Files: src/map.c, src/testdir/test_mapping.vim 29591 29592 Patch 8.2.4820 29593 Problem: No simple programmatic way to find a specific mapping. 29594 Solution: Add getmappings(). (Ernie Rael, closes #10273) 29595 Files: runtime/doc/builtin.txt, runtime/doc/usr_41.txt, src/evalfunc.c, 29596 src/map.c, src/proto/map.pro, src/testdir/test_maparg.vim 29597 29598 Patch 8.2.4821 29599 Problem: Crash when imported autoload script was deleted. 29600 Solution: Initialize local variable. (closes #10274) Give a more meaningful 29601 error message. 29602 Files: src/eval.c, src/vim9script.c, src/testdir/test_vim9_import.vim 29603 29604 Patch 8.2.4822 29605 Problem: Setting ufunc to NULL twice. 29606 Solution: Set ufunc to NULL in find_exported(). (closes #19275) 29607 Files: src/eval.c, src/vim9script.c 29608 29609 Patch 8.2.4823 29610 Problem: Concatenating more than 2 strings in a :def function is 29611 inefficient. 29612 Solution: Add a count to the CONCAT instruction. (closes #10276) 29613 Files: src/vim9.h, src/vim9cmds.c, src/vim9compile.c, src/vim9execute.c, 29614 src/vim9expr.c, src/vim9instr.c, src/proto/vim9instr.pro, 29615 src/testdir/test_vim9_disassemble.vim 29616 29617 Patch 8.2.4824 29618 Problem: Expression is evaluated multiple times. 29619 Solution: Evaluate expression once and store the result. (closes #10278) 29620 Files: src/map.c 29621 29622 Patch 8.2.4825 29623 Problem: Can only get a list of mappings. 29624 Solution: Add the optional {abbr} argument. (Ernie Rael, closes #10277) 29625 Rename to maplist(). Rename test file. 29626 Files: runtime/doc/builtin.txt, runtime/doc/usr_41.txt, src/evalfunc.c, 29627 src/map.c, src/proto/map.pro, src/testdir/test_maparg.vim, 29628 src/testdir/test_map_functions.vim, src/testdir/Make_all.mak 29629 29630 Patch 8.2.4826 29631 Problem: .cshtml files are not recognized. 29632 Solution: Use html filetype for .cshtml files. (Julien Voisin, closes #10212) 29633 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 29634 29635 Patch 8.2.4827 29636 Problem: Typo in variable name. (Gabriel Dupras) 29637 Solution: Rename the variable. 29638 Files: src/map.c 29639 29640 Patch 8.2.4828 29641 Problem: Fix for unmapping simplified key not fully tested. 29642 Solution: Add a test case. (closes #10292) 29643 Files: src/map.c, src/testdir/test_mapping.vim 29644 29645 Patch 8.2.4829 29646 Problem: A key may be simplified to NUL. 29647 Solution: Use K_ZERO instead. Use macros instead of hard coded values. 29648 (closes #10290) 29649 Files: src/getchar.c, src/misc2.c, src/testdir/test_termcodes.vim 29650 29651 Patch 8.2.4830 29652 Problem: Possible endless loop if there is unused typeahead. 29653 Solution: Only loop when the typeahead changed. 29654 Files: src/channel.c 29655 29656 Patch 8.2.4831 29657 Problem: Crash when using maparg() and unmapping simplified keys. 29658 Solution: Do not keep a mapblock pointer. (closes #10294) 29659 Files: src/map.c, src/testdir/test_map_functions.vim 29660 29661 Patch 8.2.4832 29662 Problem: Passing zero instead of NULL to a pointer argument. 29663 Solution: Use NULL. (closes #10296) 29664 Files: src/getchar.c, src/term.c 29665 29666 Patch 8.2.4833 29667 Problem: Failure of mapping not checked for. 29668 Solution: Check return value of ins_typebuf(). (closes #10299) 29669 Files: src/getchar.c, src/term.c, src/testdir/test_termcodes.vim 29670 29671 Patch 8.2.4834 29672 Problem: Vim9: some lines not covered by tests. 29673 Solution: Add a few more tests. Remove dead code. 29674 Files: src/vim9execute.c, src/vim9instr.c, src/vim9.h, 29675 src/testdir/test_vim9_expr.vim 29676 29677 Patch 8.2.4835 29678 Problem: Vim9: some lines not covered by tests. 29679 Solution: Add a few more tests. Fix disassemble output. 29680 Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim, 29681 src/testdir/test_vim9_script.vim, 29682 src/testdir/test_vim9_disassemble.vim 29683 29684 Patch 8.2.4836 29685 Problem: Vim9: some lines not covered by tests. 29686 Solution: Remove dead code. Add disassemble tests. 29687 Files: src/vim9execute.c, src/vim9.h, 29688 src/testdir/test_vim9_disassemble.vim 29689 29690 Patch 8.2.4837 (after patch 8.2.0919) 29691 Problem: Modifiers not simplified when timed out or using feedkeys() with 29692 'n" flag. 29693 Solution: Adjust how mapped flag and timeout are used. (closes #10305) 29694 Files: src/getchar.c, src/testdir/test_paste.vim, 29695 src/testdir/test_termcodes.vim 29696 29697 Patch 8.2.4838 29698 Problem: Checking for absolute path is not trivial. 29699 Solution: Add isabsolutepath(). (closes #10303) 29700 Files: runtime/doc/builtin.txt, runtime/doc/usr_41.txt, src/evalfunc.c, 29701 src/filepath.c, src/proto/filepath.pro, 29702 src/testdir/test_functions.vim 29703 29704 Patch 8.2.4839 29705 Problem: Compiler warning for unused argument. 29706 Solution: Add "UNUSED". 29707 Files: src/gui_gtk_x11.c 29708 29709 Patch 8.2.4840 29710 Problem: Heredoc expression evaluated even when skipping. 29711 Solution: Don't evaluate when "skip" is set. (closes #10306) 29712 Files: src/evalvars.c, src/testdir/test_let.vim 29713 29714 Patch 8.2.4841 29715 Problem: Empty string considered an error for expand() when 'verbose' is 29716 set. (Christian Brabandt) 29717 Solution: Do not give an error for an empty result. (closes #10307) 29718 Files: src/evalfunc.c, src/ex_docmd.c, src/proto/ex_docmd.pro, 29719 src/filepath.c, src/testdir/test_expand_func.vim 29720 29721 Patch 8.2.4842 (after 8.2.4841) 29722 Problem: expand("%:p") is not empty when there is no buffer name. 29723 Solution: When ignoring errors still return NULL. (closes #10311) 29724 Files: src/ex_docmd.c, src/testdir/test_expand_func.vim 29725 29726 Patch 8.2.4843 (after 8.2.4807) 29727 Problem: Win32 GUI: Treating CTRL + ALT as AltGr is not backwards 29728 compatible. (Axel Bender) 29729 Solution: Make a difference between left and right menu keys. 29730 (closes #10308) 29731 Files: src/gui_w32.c 29732 29733 Patch 8.2.4844 29734 Problem: <C-S-I> is simplified to <S-Tab>. 29735 Solution: Do not simplify CTRL if there is also SHIFT. (closes #10313) 29736 Files: src/getchar.c, src/testdir/test_gui.vim 29737 29738 Patch 8.2.4845 29739 Problem: Duplicate code. 29740 Solution: Move code below if/else. (closes #10314) 29741 Files: src/misc1.c 29742 29743 Patch 8.2.4846 (after 8.2.4844) 29744 Problem: Termcodes test fails. 29745 Solution: use CTRL-SHIFT-V to insert an unsimplified key. (closes #10316) 29746 Files: runtime/doc/cmdline.txt, src/edit.c, src/getchar.c, 29747 src/testdir/test_gui.vim 29748 29749 Patch 8.2.4847 29750 Problem: Crash when using uninitialized function pointer. 29751 Solution: Check for NULL pointer. (closes #10319, closes #10319) 29752 Files: src/eval.c, src/testdir/test_vim9_script.vim 29753 29754 Patch 8.2.4848 29755 Problem: Local completion with mappings and simplification not working. 29756 Solution: Fix local completion <C-N>/<C-P> mappings not ignored if keys are 29757 not simplified. (closes #10323) 29758 Files: src/getchar.c, src/testdir/test_popup.vim 29759 29760 Patch 8.2.4849 29761 Problem: Gleam filetype not detected. 29762 Solution: Add a pattern for Gleam files. (Mathias Jean Johansen, 29763 closes #10326) 29764 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 29765 29766 Patch 8.2.4850 29767 Problem: Mksession mixes up "tabpages" and "curdir" arguments. 29768 Solution: Correct logic for storing tabpage in session. (closes #10312) 29769 Files: src/session.c, src/testdir/test_mksession.vim 29770 29771 Patch 8.2.4851 29772 Problem: Compiler warning for uninitialized variable. 29773 Solution: Use another variable to decide to restore option values. 29774 Files: src/session.c 29775 29776 Patch 8.2.4852 29777 Problem: ANSI color index to RGB value not correct. 29778 Solution: Convert the cterm index to ANSI index. (closes #10321, 29779 closes #9836) 29780 Files: src/term.c 29781 29782 Patch 8.2.4853 29783 Problem: CI with FreeBSD is a bit outdated. 29784 Solution: Use 12.3 instead of 12.1. (closes #10333) 29785 Files: .cirrus.yml 29786 29787 Patch 8.2.4854 29788 Problem: Array size does not match usage. 29789 Solution: Make array size 3 instead of 4. (Christian Brabandt, closes #10336) 29790 Files: src/term.c 29791 29792 Patch 8.2.4855 29793 Problem: Robot files are not recognized. 29794 Solution: Add patterns for robot files. (Zoe Roux, closes #10339) 29795 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 29796 29797 Patch 8.2.4856 29798 Problem: MinGW compiler complains about unknown escape sequence. 29799 Solution: Avoid using a backslash in path. (Christian Brabandt, 29800 closes #10337) 29801 Files: .github/workflows/ci.yml 29802 29803 Patch 8.2.4857 29804 Problem: Yaml indent for multiline is wrong. 29805 Solution: Adjust patterns. (closes #10328, closes #8740) 29806 Files: runtime/indent/yaml.vim, runtime/indent/testdir/yaml.in, 29807 runtime/indent/testdir/yaml.ok 29808 29809 Patch 8.2.4858 29810 Problem: K_SPECIAL may be escaped twice. 29811 Solution: Avoid double escaping. (closes #10340) 29812 Files: src/highlight.c, src/misc2.c, src/proto/misc2.pro, src/term.c, 29813 src/typval.c, src/testdir/test_eval_stuff.vim, 29814 src/testdir/test_feedkeys.vim, src/testdir/test_functions.vim, 29815 src/testdir/test_mapping.vim 29816 29817 Patch 8.2.4859 29818 Problem: wget2 files are not recognized. 29819 Solution: Add patterns to recognize wget2. (Doug Kearns) 29820 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 29821 29822 Patch 8.2.4860 29823 Problem: MS-Windows: always uses current directory for executables. 29824 Solution: Check the NoDefaultCurrentDirectoryInExePath environment variable. 29825 (Yasuhiro Matsumoto, closes #10341) 29826 Files: runtime/doc/builtin.txt, src/os_win32.c, 29827 src/testdir/test_functions.vim 29828 29829 Patch 8.2.4861 29830 Problem: It is not easy to restore saved mappings. 29831 Solution: Make mapset() accept a dict argument. (Ernie Rael, closes #10295) 29832 Files: runtime/doc/builtin.txt, src/errors.h, src/evalfunc.c, src/map.c, 29833 src/typval.c, src/proto/typval.pro, 29834 src/testdir/test_map_functions.vim, 29835 src/testdir/test_vim9_builtin.vim 29836 29837 Patch 8.2.4862 29838 Problem: Vim9: test may fail when run with valgrind. 29839 Solution: Wait longer for callback if needed. 29840 Files: src/testdir/test_vim9_script.vim 29841 29842 Patch 8.2.4863 29843 Problem: Accessing freed memory in test without the +channel feature. 29844 (Dominique Pellé) 29845 Solution: Do not generate PUSHCHANNEL or PUSHJOB if they are not 29846 implemented. (closes #10350) 29847 Files: src/vim9instr.c, src/errors.h, src/vim9compile.c, 29848 src/testdir/test_vim9_script.vim 29849 29850 Patch 8.2.4864 (after 8.2.4863) 29851 Problem: Vim9: script test fails. 29852 Solution: Remove "if" around declaration. 29853 Files: src/testdir/test_vim9_script.vim 29854 29855 Patch 8.2.4865 29856 Problem: :startinsert right after :stopinsert does not work when popup menu 29857 is still visible. 29858 Solution: Use ins_compl_active() instead of pum_visible(). (closes #10352) 29859 Files: src/edit.c, src/testdir/test_ins_complete.vim 29860 29861 Patch 8.2.4866 29862 Problem: Duplicate code in "get" functions. 29863 Solution: Use get_var_from() for getwinvar(), gettabvar(), gettabwinvar() 29864 and getbufvar(). (closes #10335) 29865 Files: src/evalvars.c 29866 29867 Patch 8.2.4867 29868 Problem: Listing of mapping with K_SPECIAL is wrong. 29869 Solution: Adjust escaping of special characters. (closes #10351) 29870 Files: src/map.c, src/message.c, src/testdir/test_mapping.vim 29871 29872 Patch 8.2.4868 29873 Problem: When closing help window autocmds triggered for the wrong window. 29874 Solution: Figure out the new current window earlier. (closes #10348) 29875 Files: src/window.c, src/testdir/test_help.vim 29876 29877 Patch 8.2.4869 29878 Problem: Expression in command block does not look after NL. 29879 Solution: Skip over NL to check what follows. (closes #10358) 29880 Files: src/eval.c, src/proto/eval.pro, src/vim9script.c, 29881 src/testdir/test_usercommands.vim 29882 29883 Patch 8.2.4870 29884 Problem: Vim9: expression in :substitute is not compiled. 29885 Solution: Use an INSTR instruction if possible. (closes #10334) 29886 Files: src/evalfunc.c, src/regexp.c, src/vim9execute.c, src/vim9expr.c, 29887 src/testdir/test_vim9_builtin.vim, 29888 src/testdir/test_vim9_disassemble.vim 29889 29890 Patch 8.2.4871 29891 Problem: Vim9: in :def function no error for using a range with a command 29892 that does not accept one. 29893 Solution: Check for the command to accept a range. (closes #10330) 29894 Files: src/vim9compile.c, src/testdir/test_vim9_script.vim 29895 29896 Patch 8.2.4872 29897 Problem: Vim9: no error for using an expression only at the script level 29898 when followed by an empty line. 29899 Solution: Do not check the line number but whether something follows. 29900 (closes #10357) 29901 Files: src/ex_eval.c, src/testdir/test_vim9_cmd.vim 29902 29903 Patch 8.2.4873 29904 Problem: Vim9: using "else" differs from using "endif/if !cond". 29905 Solution: Leave the block and enter another one. (closes #10320) 29906 Files: src/ex_eval.c, src/testdir/test_vim9_script.vim 29907 29908 Patch 8.2.4874 29909 Problem: Win32 GUI: horizontal scroll wheel not handled properly. 29910 Solution: Also handle WM_MOUSEHWHEEL. (closes #10309) 29911 Files: src/gui_w32.c 29912 29913 Patch 8.2.4875 29914 Problem: MS-Windows: some .exe files are not recognized. 29915 Solution: Parse APPEXECLINK junctions. (closes #10302) 29916 Files: src/os_mswin.c, src/proto/os_mswin.pro, src/os_win32.c, 29917 src/os_win32.h, src/testdir/test_functions.vim 29918 29919 Patch 8.2.4876 29920 Problem: MS-Windows: Shift-BS results in strange character in powershell. 29921 Solution: Add K_S_BS. (Christian Brabandt, closes #10283, closes #10279) 29922 Files: src/edit.c, src/keymap.h, src/term.c, src/testdir/shared.vim, 29923 src/testdir/test_edit.vim 29924 29925 Patch 8.2.4877 29926 Problem: MS-Windows: Using Normal colors for termguicolors causes problems. 29927 Solution: Do not use Normal colors to set sg_gui_fg and sg_gui_bg. 29928 (Christian Brabandt, closes #10317, closes #10241) 29929 Files: src/highlight.c 29930 29931 Patch 8.2.4878 29932 Problem: Valgrind warning for using uninitialized variable. 29933 Solution: Initialize the type of newtv. 29934 Files: src/strings.c 29935 29936 Patch 8.2.4879 29937 Problem: Screendump test may fail when using valgrind. 29938 Solution: Wait longer for the first screendump. 29939 Files: src/testdir/test_vim9_builtin.vim, src/testdir/screendump.vim 29940 29941 Patch 8.2.4880 29942 Problem: Vim9: misplaced elseif causes invalid memory access. 29943 Solution: Check cs_idx not to be negative. 29944 Files: src/ex_eval.c 29945 29946 Patch 8.2.4881 29947 Problem: "P" in Visual mode still changes some registers. 29948 Solution: Make "P" in Visual mode not change any register. (Shougo 29949 Matsushita, closes #10349) 29950 Files: runtime/doc/change.txt, runtime/doc/index.txt, 29951 runtime/doc/visual.txt, src/normal.c, src/testdir/test_visual.vim 29952 29953 Patch 8.2.4882 29954 Problem: Cannot make 'breakindent' use a specific column. 29955 Solution: Add the "column" entry in 'breakindentopt'. (Christian Brabandt, 29956 closes #10362, closes #10325) 29957 Files: runtime/doc/options.txt, src/indent.c, src/structs.h, 29958 src/testdir/test_breakindent.vim 29959 29960 Patch 8.2.4883 29961 Problem: String interpolation only works in heredoc. 29962 Solution: Support interpolated strings. Use syntax for heredoc consistent 29963 with strings, similar to C#. (closes #10327) 29964 Files: runtime/doc/eval.txt, src/errors.h, src/eval.c, src/evalvars.c, 29965 src/proto/evalvars.pro, src/typval.c, src/proto/typval.pro, 29966 src/vim9compile.c, src/proto/vim9compile.pro, src/vim9expr.c, 29967 src/testdir/test_debugger.vim, src/testdir/test_expr.vim, 29968 src/testdir/test_let.vim, src/testdir/test_vim9_assign.vim, 29969 src/testdir/test_vim9_disassemble.vim 29970 29971 Patch 8.2.4884 29972 Problem: Test fails without the job/channel feature. (Dominique Pellé) 29973 Solution: Add condition. 29974 Files: src/testdir/test_vim9_script.vim 29975 29976 Patch 8.2.4885 (after 8.2.4884) 29977 Problem: Test fails with the job/channel feature. 29978 Solution: Move check for job/channel separately. 29979 Files: src/testdir/test_vim9_script.vim 29980 29981 Patch 8.2.4886 29982 Problem: Vim9: redir in skipped block seen as assignment. 29983 Solution: Check for valid assignment. 29984 Files: src/ex_docmd.c, src/testdir/test_vim9_assign.vim 29985 29986 Patch 8.2.4887 29987 Problem: Channel log does not show invoking a timer callback. 29988 Solution: Add a ch_log() call. 29989 Files: src/time.c 29990 29991 Patch 8.2.4888 29992 Problem: Line number of lambda ignores line continuation. 29993 Solution: Use the line number of where the arguments are. Avoid outputting 29994 "..." twice. (closes #10364) 29995 Files: src/userfunc.c 29996 29997 Patch 8.2.4889 29998 Problem: CI only tests with FreeBSD 12. 29999 Solution: Also test with FreeBSD 13. (closes #10366) 30000 Files: .cirrus.yml 30001 30002 Patch 8.2.4890 30003 Problem: Inconsistent capitalization in error messages. 30004 Solution: Make capitalization consistent. (Doug Kearns) 30005 Files: src/errors.h 30006 30007 Patch 8.2.4891 30008 Problem: Vim help presentation could be better. 30009 Solution: Add an imported file for extra Vim help support. Show highlight 30010 names in the color they have. 30011 Files: Filelist, runtime/import/dist/vimhelp.vim 30012 30013 Patch 8.2.4892 30014 Problem: Test failures because of changed error messages. 30015 Solution: Adjust the expected error messages. 30016 Files: src/testdir/test_vim9_assign.vim, 30017 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim, 30018 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim, 30019 src/testdir/test_expand.vim, src/testdir/test_tcl.vim, 30020 src/testdir/test_vimscript.vim 30021 30022 Patch 8.2.4893 (after 8.2.4891) 30023 Problem: Distributed import files are not installed. 30024 Solution: Add rules to Makefile and NSIS. 30025 Files: src/Makefile, nsis/gvim.nsi 30026 30027 Patch 8.2.4894 30028 Problem: MS-Windows: not using italics. 30029 Solution: Use italics. Simplify the code. (closes #10359) 30030 Files: src/term.c 30031 30032 Patch 8.2.4895 30033 Problem: Buffer overflow with invalid command with composing chars. 30034 Solution: Check that the whole character fits in the buffer. 30035 Files: src/ex_docmd.c, src/testdir/test_cmdline.vim 30036 30037 Patch 8.2.4896 (after 8.2.4869) 30038 Problem: Expression in command block does not look after NL when command is 30039 typed. 30040 Solution: Skip over NL also when not in a script. (closes #10358) 30041 Files: src/eval.c, src/testdir/test_usercommands.vim 30042 30043 Patch 8.2.4897 30044 Problem: Comment inside an expression in lambda ignores the rest of the 30045 expression. 30046 Solution: Truncate the line at the comment. (closes #10367) 30047 Files: src/eval.c, src/testdir/test_lambda.vim 30048 30049 Patch 8.2.4898 30050 Problem: Coverity complains about pointer usage. 30051 Solution: Move code for increment/decrement. 30052 Files: src/vim9compile.c 30053 30054 Patch 8.2.4899 30055 Problem: With latin1 encoding CTRL-W might go before the start of the 30056 command line. 30057 Solution: Check already being at the start of the command line. 30058 Files: src/ex_getln.c, src/testdir/test_cmdline.vim 30059 30060 Patch 8.2.4900 30061 Problem: Vim9 expression test fails without the job feature. 30062 Solution: Add a check for the job feature. (Dominique Pellé, closes #10373) 30063 Files: src/testdir/test_vim9_expr.vim 30064 30065 Patch 8.2.4901 30066 Problem: NULL pointer access when using invalid pattern. 30067 Solution: Check for failed regexp program. 30068 Files: src/buffer.c, src/testdir/test_buffer.vim 30069 30070 Patch 8.2.4902 30071 Problem: Mouse wheel scrolling is inconsistent. 30072 Solution: Use the MS-Windows system setting. (closes #10368) 30073 Files: runtime/doc/scroll.txt, src/gui_w32.c, src/mouse.c, 30074 src/proto/mouse.pro, src/testing.c, src/testdir/test_gui.vim 30075 30076 Patch 8.2.4903 30077 Problem: Cannot get the current cmdline completion type and position. 30078 Solution: Add getcmdcompltype() and getcmdscreenpos(). (Shougo Matsushita, 30079 closes #10344) 30080 Files: runtime/doc/builtin.txt, runtime/doc/usr_41.txt, src/cmdexpand.c, 30081 src/proto/cmdexpand.pro, src/evalfunc.c, src/ex_getln.c, 30082 src/proto/ex_getln.pro, src/usercmd.c, src/proto/usercmd.pro, 30083 src/testdir/test_cmdline.vim 30084 30085 Patch 8.2.4904 30086 Problem: codecov includes MS-Windows install files. 30087 Solution: Ignore dosinst.c and uninstall.c. 30088 Files: .codecov.yml 30089 30090 Patch 8.2.4905 30091 Problem: codecov includes MS-Windows install header file. 30092 Solution: Ignore dosinst.h. 30093 Files: .codecov.yml 30094 30095 Patch 8.2.4906 30096 Problem: MS-Windows: cannot use transparent background. 30097 Solution: Make transparent background work with 'termguicolors' and NONE 30098 background color. (Yasuhiro Matsumoto, closes #10310, closes #7162) 30099 Files: runtime/doc/options.txt, src/os_win32.c, src/term.c 30100 30101 Patch 8.2.4907 30102 Problem: Some users do not want a line comment always inserted. 30103 Solution: Add the '/' flag to 'formatoptions' to not repeat the comment 30104 leader after a statement when using "o". 30105 Files: runtime/doc/change.txt, src/option.h, src/change.c, 30106 src/testdir/test_textformat.vim 30107 30108 Patch 8.2.4908 30109 Problem: No text formatting for // comment after a statement. 30110 Solution: format a comment when the 'c' flag is in 'formatoptions'. 30111 Files: src/textformat.c, src/testdir/test_textformat.vim 30112 30113 Patch 8.2.4909 30114 Problem: MODE_ enum entries names are too generic. 30115 Solution: use CH_MODE_. 30116 Files: src/structs.h, src/channel.c, src/job.c, src/terminal.c 30117 30118 Patch 8.2.4910 30119 Problem: Imperfect coding. 30120 Solution: Make code nicer. 30121 Files: src/ex_getln.c 30122 30123 Patch 8.2.4911 30124 Problem: The mode #defines are not clearly named. 30125 Solution: Prepend MODE_. Renumber them to put the mapped modes first. 30126 Files: src/vim.h, src/autocmd.c, src/buffer.c, src/change.c, 30127 src/charset.c, src/cindent.c, src/clipboard.c, src/debugger.c, 30128 src/digraph.c, src/drawline.c, src/drawscreen.c, src/edit.c, 30129 src/evalfunc.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c, 30130 src/fileio.c, src/fold.c, src/getchar.c, src/globals.h, src/gui.c, 30131 src/gui_gtk.c, src/gui_w32.c, src/gui_xim.c, src/indent.c, 30132 src/insexpand.c, src/macros.h, src/main.c, src/map.c, src/menu.c, 30133 src/message.c, src/misc1.c, src/misc2.c, src/mouse.c, 30134 src/netbeans.c, src/normal.c, src/ops.c, src/option.c, 30135 src/os_unix.c, src/os_win32.c, src/popupmenu.c, src/search.c, 30136 src/tag.c, src/screen.c, src/term.c, src/terminal.c, 30137 src/textformat.c, src/window.c 30138 30139 Patch 8.2.4912 30140 Problem: Using execute() to define a lambda doesn't work. (Ernie Rael) 30141 Solution: Put the getline function in evalarg. (closes #10375) 30142 Files: src/eval.c, src/evalfunc.c, src/proto/evalfunc.pro, 30143 src/testdir/test_vim9_func.vim 30144 30145 Patch 8.2.4913 30146 Problem: Popup_hide() does not always have effect. 30147 Solution: Add the POPF_HIDDEN_FORCE flag. (closes #10376) 30148 Files: src/popupwin.c, src/vim.h, src/testdir/test_popupwin.vim, 30149 src/testdir/dumps/Test_popup_prop_not_visible_01a.dump, 30150 src/testdir/dumps/Test_popup_prop_not_visible_01b.dump 30151 30152 Patch 8.2.4914 30153 Problem: String interpolation in :def function may fail. 30154 Solution: Do not terminate the expression. (closes #10377) 30155 Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim 30156 30157 Patch 8.2.4915 30158 Problem: Sometimes the cursor is in the wrong position. 30159 Solution: When the cursor moved to another line, recompute w_botline. 30160 (closes #9736) 30161 Files: src/move.c 30162 30163 Patch 8.2.4916 (after 8.2.4915) 30164 Problem: Mouse in Insert mode test fails. 30165 Solution: Fix the test and check relevant positions. 30166 Files: src/testdir/test_edit.vim 30167 30168 Patch 8.2.4917 30169 Problem: Fuzzy expansion of option names is not right. 30170 Solution: Pass the fuzzy flag down the call chain. (Christian Brabandt, 30171 closes #10380, closes #10318) 30172 Files: src/cmdexpand.c, src/option.c, src/proto/option.pro, 30173 src/testdir/test_options.vim 30174 30175 Patch 8.2.4918 30176 Problem: Conceal character from matchadd() displayed too many times. 30177 Solution: Check the syntax flag. (closes #10381, closes #7268) 30178 Files: src/drawline.c, src/testdir/test_matchadd_conceal.vim 30179 30180 Patch 8.2.4919 30181 Problem: Can add invalid bytes with :spellgood. 30182 Solution: Check for a valid word string. 30183 Files: src/mbyte.c, src/spellfile.c, src/errors.h, 30184 src/testdir/test_spell_utf8.vim 30185 30186 Patch 8.2.4920 (after 8.2.4902) 30187 Problem: MS-Windows GUI: unused variables. 30188 Solution: Delete the variables. (John Marriott) 30189 Files: src/gui_w32.c 30190 30191 Patch 8.2.4921 30192 Problem: Spell test fails because of new illegal byte check. 30193 Solution: Remove the test. 30194 Files: src/testdir/test_spell.vim 30195 30196 Patch 8.2.4922 (after 8.2.4916) 30197 Problem: Mouse test fails on MS-Windows. 30198 Solution: Set 'mousemodel' to "extend". 30199 Files: src/testdir/test_edit.vim 30200 30201 Patch 8.2.4923 30202 Problem: Test checks for terminal feature unnecessarily. 30203 Solution: Remove CheckRunVimInTerminal. (closes #10383) 30204 Files: src/testdir/test_matchadd_conceal.vim 30205 30206 Patch 8.2.4924 30207 Problem: maparg() may return a string that cannot be reused. 30208 Solution: use msg_outtrans_special() instead of str2special(). 30209 (closes #10384) 30210 Files: src/message.c, src/option.c, src/testdir/test_map_functions.vim, 30211 src/testdir/test_mapping.vim, src/testdir/test_options.vim 30212 30213 Patch 8.2.4925 30214 Problem: Trailing backslash may cause reading past end of line. 30215 Solution: Check for NUL after backslash. 30216 Files: src/textobject.c, src/testdir/test_textobjects.vim 30217 30218 Patch 8.2.4926 30219 Problem: #ifdef for crypt feature around too many lines. 30220 Solution: Move code outside of #ifdef. (closes #10388) 30221 Files: src/option.c 30222 30223 Patch 8.2.4927 30224 Problem: Return type of remove() incorrect when using three arguments. 30225 Solution: Use first argument type when there are three arguments. 30226 (closes #10387) 30227 Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim 30228 30229 Patch 8.2.4928 30230 Problem: Various white space and cosmetic mistakes. 30231 Solution: Change spaces to tabs, improve comments. 30232 Files: src/bufwrite.c, src/channel.c, src/cindent.c, src/crypt.c, 30233 src/debugger.c, src/digraph.c, src/edit.c, src/evalwindow.c, 30234 src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c, src/fileio.c, 30235 src/filepath.c, src/gui.c, src/highlight.c, src/indent.c, 30236 src/insexpand.c, src/job.c, src/keymap.h, src/macros.h, 30237 src/menu.c, src/misc1.c, src/misc2.c, src/mouse.c, src/move.c, 30238 src/normal.c, src/ops.c, src/option.c, src/option.h, src/search.c, 30239 src/session.c, src/spellsuggest.c, src/structs.h, src/tag.c, 30240 src/term.c, src/terminal.c, src/textformat.c, src/typval.c, 30241 src/ui.c, src/userfunc.c, src/vim.h, src/vim9.h, 30242 src/vim9compile.c, src/vim9execute.c, src/window.c, 30243 src/testdir/test_cursorline.vim, src/os_unix.c, src/if_lua.c, 30244 src/if_py_both.h, src/os_amiga.c, src/os_win32.c, src/os_mswin.c, 30245 src/os_vms.c, src/os_vms_conf.h 30246 30247 Patch 8.2.4929 30248 Problem: Off-by-one error in statusline item. 30249 Solution: Subtrace one less. (closes #10394, closes #5599) 30250 Files: src/buffer.c, src/testdir/test_statusline.vim, 30251 src/testdir/dumps/Test_statusline_hl.dump 30252 30253 Patch 8.2.4930 30254 Problem: Interpolated string expression requires escaping. 30255 Solution: Do not require escaping in the expression. 30256 Files: runtime/doc/eval.txt, src/typval.c, src/proto/typval.pro, 30257 src/dict.c, src/eval.c, src/evalvars.c, src/proto/evalvars.pro, 30258 src/vim9compile.c, src/proto/vim9compile.pro, src/vim9expr.c, 30259 src/vim9instr.c, src/alloc.c, src/proto/alloc.pro, 30260 src/testdir/test_expr.vim, src/testdir/test_let.vim 30261 30262 Patch 8.2.4931 30263 Problem: Crash with sequence of Perl commands. 30264 Solution: Move PUTBACK to another line. (closes #10386) 30265 Files: src/if_perl.xs 30266 30267 Patch 8.2.4932 30268 Problem: Not easy to filter the output of maplist(). 30269 Solution: Add mode_bits to the dictionary. (Ernie Rael, closes #10356) 30270 Files: runtime/doc/builtin.txt, src/map.c, 30271 src/testdir/test_map_functions.vim, 30272 src/testdir/test_vim9_builtin.vim 30273 30274 Patch 8.2.4933 30275 Problem: A few more capitalization mistakes in error messages. 30276 Solution: Adjust capitalization. (Doug Kearns) 30277 Files: src/errors.h 30278 30279 Patch 8.2.4934 30280 Problem: String interpolation fails when not evaluating. 30281 Solution: Skip the expression when not evaluating. (closes #10398) 30282 Files: src/typval.c, src/evalvars.c, src/proto/evalvars.pro, 30283 src/testdir/test_vim9_expr.vim 30284 30285 Patch 8.2.4935 30286 Problem: With 'foldmethod' "indent" some lines are not included in the 30287 fold. (Oleg Koshovetc) 30288 Solution: Fix it. (Brandon Simmons, closes #10399, closes #3214) 30289 Files: src/fold.c, src/testdir/test_fold.vim 30290 30291 Patch 8.2.4936 30292 Problem: MS-Windows: mouse coordinates for scroll event are wrong. 30293 Solution: Convert coordinates to the text area coordinates. (closes #10400) 30294 Files: src/gui_w32.c 30295 30296 Patch 8.2.4937 (after 8.2.4931) 30297 Problem: No test for what 8.2.4931 fixes. 30298 Solution: Add a test that triggers a valgrind error. 30299 Files: src/testdir/test_perl.vim 30300 30301 Patch 8.2.4938 30302 Problem: Crash when matching buffer with invalid pattern. 30303 Solution: Check for NULL regprog. 30304 Files: src/buffer.c, src/testdir/test_buffer.vim 30305 30306 Patch 8.2.4939 30307 Problem: matchfuzzypos() with "matchseq" does not have all positions. 30308 Solution: Also add a position for white space. (closes #10404) 30309 Files: runtime/doc/builtin.txt, src/search.c, 30310 src/testdir/test_matchfuzzy.vim 30311 30312 Patch 8.2.4940 30313 Problem: Some code is never used. 30314 Solution: Remove dead code. Add a few more test cases. 30315 Files: src/vim9expr.c, src/proto/vim9expr.pro, src/vim9compile.c, 30316 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim 30317 30318 Patch 8.2.4941 30319 Problem: '[ and '] marks may be wrong after undo. 30320 Solution: Adjust the '[ and '] marks if needed. (closes #10407, closes #1281) 30321 Files: src/undo.c, src/testdir/test_undo.vim 30322 30323 Patch 8.2.4942 30324 Problem: Error when setting 'filetype' in help file again. 30325 Solution: Deal with text property type already existing. (closes #10409) 30326 Files: runtime/import/dist/vimhelp.vim 30327 30328 Patch 8.2.4943 30329 Problem: Changing 'switchbuf' may have no effect. 30330 Solution: Handle 'switchbuf' in didset_string_options(). (Sean Dewar, 30331 closes #10406) 30332 Files: src/optionstr.c, src/testdir/test_options.vim 30333 30334 Patch 8.2.4944 30335 Problem: Text properties are wrong after "cc". (Axel Forsman) 30336 Solution: Pass the deleted byte count to inserted_bytes(). (closes #10412, 30337 closes #7737, closes #5763) 30338 Files: src/change.c, src/testdir/test_textprop.vim 30339 30340 Patch 8.2.4945 30341 Problem: Inconsistent use of white space. 30342 Solution: Use Tabs and Spaces consistently. 30343 Files: src/os_amiga.c, src/if_py_both.h, src/os_win32.c, src/os_mswin.c, 30344 src/os_vms.c, src/os_vms_conf.h 30345 30346 Patch 8.2.4946 30347 Problem: Vim9: some code not covered by tests. 30348 Solution: Add a few more test cases. Remove dead code. 30349 Files: src/vim9expr.c, src/testdir/test_vim9_expr.vim, 30350 src/testdir/test_vim9_builtin.vim 30351 30352 Patch 8.2.4947 30353 Problem: Text properties not adjusted when accepting spell suggestion. 30354 Solution: Adjust text properties when text changes. (closes #10414) 30355 Files: src/spell.c, src/spellsuggest.c, src/testdir/test_textprop.vim 30356 30357 Patch 8.2.4948 30358 Problem: Cannot use Perl heredoc in nested :def function. (Virginia 30359 Senioria) 30360 Solution: Only concatenate heredoc lines when not in a nested function. 30361 (closes #10415) 30362 Files: src/userfunc.c, src/testdir/test_vim9_func.vim 30363 30364 Patch 8.2.4949 30365 Problem: Vim9: some code not covered by tests. 30366 Solution: Add a few more test cases. Fix double error message. 30367 Files: src/vim9expr.c, src/testdir/test_vim9_expr.vim 30368 30369 Patch 8.2.4950 30370 Problem: Text properties position wrong after shifting text. 30371 Solution: Adjust the text properties when shifting a block of text. 30372 (closes #10418) 30373 Files: src/ops.c, src/testdir/test_textprop.vim 30374 30375 Patch 8.2.4951 30376 Problem: Smart indenting done when not enabled. 30377 Solution: Check option values before setting can_si. (closes #10420) 30378 Files: src/indent.c, src/proto/indent.pro, src/change.c, src/edit.c, 30379 src/ops.c, src/testdir/test_smartindent.vim 30380 30381 Patch 8.2.4952 30382 Problem: GUI test will fail if color scheme changes. 30383 Solution: Reduce the test for now. 30384 Files: src/testdir/test_gui.vim 30385 30386 Patch 8.2.4953 30387 Problem: With 'smartindent' inserting '}' after completion goes wrong. 30388 Solution: Check the cursor is in indent. (closes #10420) 30389 Files: src/indent.c, src/testdir/test_smartindent.vim 30390 30391 Patch 8.2.4954 30392 Problem: Inserting line breaks text property spanning more than one line. 30393 Solution: Check TP_FLAG_CONT_PREV and TP_FLAG_CONT_NEXT. (closes #10423) 30394 Files: src/textprop.c, src/testdir/test_textprop.vim 30395 30396 Patch 8.2.4955 30397 Problem: Text property in wrong position after auto-indent. 30398 Solution: Adjust text property columns. (closes #10422, closes #7719) 30399 Files: src/change.c, src/testdir/test_textprop.vim 30400 30401 Patch 8.2.4956 30402 Problem: Reading past end of line with "gf" in Visual block mode. 30403 Solution: Do not include the NUL in the length. 30404 Files: src/normal.c, src/testdir/test_gf.vim 30405 30406 Patch 8.2.4957 30407 Problem: Text properties in a wrong position after a block change. 30408 Solution: Adjust the properties columns. (closes #10427) 30409 Files: src/ops.c, src/testdir/test_textprop.vim 30410 30411 Patch 8.2.4958 30412 Problem: A couple conditions are always true. 30413 Solution: Remove the conditions. (Goc Dundar, closes #10428) 30414 Files: src/evalfunc.c, src/quickfix.c 30415 30416 Patch 8.2.4959 30417 Problem: Using NULL regexp program. 30418 Solution: Check for regexp program becoming NULL in more places. 30419 Files: src/buffer.c, src/testdir/test_buffer.vim 30420 30421 Patch 8.2.4960 30422 Problem: Text properties that cross line boundary are not correctly updated 30423 for a deleted line. 30424 Solution: Correct computing location of text property entry. (Paul Ollis, 30425 closes #10431, closes #10430) 30426 Files: src/memline.c, src/testdir/test_textprop.vim 30427 30428 Patch 8.2.4961 30429 Problem: Build error with a certain combination of features. 30430 Solution: Adjust #if. (John Marriott) 30431 Files: src/memline.c 30432 30433 Patch 8.2.4962 30434 Problem: Files show up in git status. 30435 Solution: Adjust the list of ignored files. Clean up more test files. 30436 (Shane xb Qian, closes #9929) 30437 Files: .gitignore, src/testdir/Makefile 30438 30439 Patch 8.2.4963 30440 Problem: Expanding path with "/**" may overrun end of buffer. 30441 Solution: Use vim_snprintf(). 30442 Files: src/filepath.c 30443 30444 Patch 8.2.4964 30445 Problem: MS-Windows GUI: mouse event test is flaky. 30446 Solution: Add a short delay after generating a mouse event. 30447 Files: src/testdir/test_gui.vim 30448 30449 Patch 8.2.4965 30450 Problem: GUI: testing mouse move event depends on screen cell size. 30451 Solution: Multiply the row and column with the screen cell size. 30452 Files: runtime/doc/testing.txt, src/testing.c, src/testdir/test_gui.vim 30453 30454 Patch 8.2.4966 30455 Problem: MS-Windows GUI: mouse event test gets extra event. 30456 Solution: Ignore one move event. 30457 Files: src/testdir/test_gui.vim 30458 30459 Patch 8.2.4967 (after 8.2.4966) 30460 Problem: MS-Windows GUI: mouse event test sometimes fails. 30461 Solution: Ignore one move event only if there is an extra event. 30462 Files: src/testdir/test_gui.vim 30463 30464 Patch 8.2.4968 30465 Problem: Reading past end of the line when C-indenting. 30466 Solution: Check for NUL. 30467 Files: src/cindent.c, src/testdir/test_cindent.vim 30468 30469 Patch 8.2.4969 30470 Problem: Changing text in Visual mode may cause invalid memory access. 30471 Solution: Check the Visual position after making a change. 30472 Files: src/change.c, src/edit.c, src/misc2.c, src/proto/misc2.pro, 30473 src/testdir/test_visual.vim 30474 30475 Patch 8.2.4970 30476 Problem: "eval 123" gives an error, "eval 'abc'" does not. 30477 Solution: Also give an error when evaluating only a string. (closes #10434) 30478 Files: src/ex_eval.c, src/testdir/test_vim9_cmd.vim 30479 30480 Patch 8.2.4971 30481 Problem: Vim9: interpolated string seen as range. 30482 Solution: Recognize an interpolated string at the start of a command line. 30483 (closes #10434) 30484 Files: src/ex_docmd.c, src/testdir/test_vim9_expr.vim 30485 30486 Patch 8.2.4972 30487 Problem: Vim9: compilation fails when using dict member when skipping. 30488 Solution: Do not generate ISN_USEDICT when skipping. (closes #10433) 30489 Files: src/vim9expr.c, src/testdir/test_vim9_expr.vim 30490 30491 Patch 8.2.4973 30492 Problem: Vim9: type error for list unpack mentions argument. 30493 Solution: Mention variable. (close #10435) 30494 Files: src/vim9.h, src/vim9execute.c, src/vim9instr.c, 30495 src/proto/vim9instr.pro, src/vim9compile.c, 30496 src/testdir/test_vim9_script.vim, 30497 src/testdir/test_vim9_disassemble.vim 30498 30499 Patch 8.2.4974 30500 Problem: ":so" command may read after end of buffer. 30501 Solution: Compute length of text properly. 30502 Files: src/scriptfile.c, src/testdir/test_source.vim 30503 30504 Patch 8.2.4975 30505 Problem: Recursive command line loop may cause a crash. 30506 Solution: Limit recursion of getcmdline(). 30507 Files: src/ex_getln.c, src/testdir/test_cmdline.vim 30508 30509 Patch 8.2.4976 30510 Problem: Coverity complains about not restoring a saved value. 30511 Solution: Restore value before handling error. 30512 Files: src/vim9execute.c 30513 30514 Patch 8.2.4977 30515 Problem: Memory access error when substitute expression changes window. 30516 Solution: Disallow changing window in substitute expression. 30517 Files: src/ex_cmds.c, src/testdir/test_substitute.vim 30518 30519 Patch 8.2.4978 30520 Problem: No error if engine selection atom is not at the start. 30521 Solution: Give an error. (Christian Brabandt, closes #10439) 30522 Files: runtime/doc/pattern.txt, src/errors.h, src/regexp_bt.c, 30523 src/regexp_nfa.c, src/testdir/test_regexp_latin.vim 30524 30525 Patch 8.2.4979 30526 Problem: Accessing freed memory when line is flushed. 30527 Solution: Make a copy of the pattern to search for. 30528 Files: src/window.c, src/testdir/test_tagjump.vim 30529 30530 Patch 8.2.4980 30531 Problem: When 'shortmess' contains 'A' loading a session may still warn for 30532 an existing swap file. (Melker Österberg) 30533 Solution: Keep the 'A' flag to 'shortmess' in the session file. 30534 (closes #10443) 30535 Files: src/session.c, src/testdir/test_mksession.vim 30536 30537 Patch 8.2.4981 30538 Problem: It is not possible to manipulate autocommands. 30539 Solution: Add functions to add, get and set autocommands. (Yegappan 30540 Lakshmanan, closes #10291) 30541 Files: runtime/doc/autocmd.txt, runtime/doc/builtin.txt, 30542 runtime/doc/usr_41.txt, src/autocmd.c, src/evalfunc.c, 30543 src/proto/autocmd.pro, src/testdir/test_autocmd.vim, 30544 src/testdir/test_vim9_builtin.vim 30545 30546 Patch 8.2.4982 30547 Problem: Colors in terminal window are not 100% correct. 30548 Solution: Use g:terminal_ansi_colors as documented. (closes #10429, 30549 closes #7227 closes #10347) 30550 Files: src/job.c, src/option.c, src/proto/term.pro, 30551 src/terminal.c, src/proto/terminal.pro, src/term.c, 30552 src/testdir/test_functions.vim, src/testdir/test_terminal.vim 30553 30554 Patch 8.2.4983 (after 8.2.4982) 30555 Problem: Colors test fails in the GUI. 30556 Solution: Reset g:terminal_ansi_colors. 30557 Files: src/testdir/test_functions.vim 30558 30559 Patch 8.2.4984 30560 Problem: Dragging statusline fails for window with winbar. 30561 Solution: Fix off-by-one error. (closes #10448) 30562 Files: src/mouse.c, src/testdir/test_winbar.vim 30563 30564 Patch 8.2.4985 30565 Problem: PVS warns for possible array underrun. 30566 Solution: Add a check for a positive value. (Goc Dundar, closes #10451) 30567 Files: src/spell.c 30568 30569 Patch 8.2.4986 30570 Problem: Some github actions are outdated. 30571 Solution: Update CodeQl to v2, update checkout to v3. (closes #10450) 30572 Files: .github/workflows/ci.yml, .github/workflows/codeql-analysis.yml, 30573 .github/workflows/coverity.yml 30574 30575 Patch 8.2.4987 30576 Problem: After deletion a small fold may be closable. 30577 Solution: Check for a reverse range. (Brandon Simmons, closes #10457) 30578 Files: src/fold.c, src/testdir/test_fold.vim 30579 30580 Patch 8.2.4988 30581 Problem: Textprop in wrong position when replacing multi-byte chars. 30582 Solution: Adjust textprop position. (closes #10461) 30583 Files: src/change.c, src/testdir/test_textprop.vim 30584 30585 Patch 8.2.4989 30586 Problem: Cannot specify a function name for :defcompile. 30587 Solution: Implement a function name argument for :defcompile. 30588 Files: runtime/doc/vim9.txt, src/userfunc.c, src/proto/userfunc.pro, 30589 src/vim9execute.c, src/ex_cmds.h, src/testdir/test_vim9_cmd.vim, 30590 src/testdir/test_vim9_disassemble.vim 30591 30592 Patch 8.2.4990 (after 8.2.4989) 30593 Problem: Memory leak when :defcompile fails. 30594 Solution: Free fname when returning early. 30595 Files: src/userfunc.c 30596 30597 Patch 8.2.4991 30598 Problem: No test for what patch 8.1.0535 fixes. 30599 Solution: Add a test. (closes #10462) 30600 Files: src/testdir/test_fold.vim 30601 30602 Patch 8.2.4992 (after 8.2.4989) 30603 Problem: Compiler warning for possibly uninitialized variable. (Tony 30604 Mechelynck) 30605 Solution: Initialize variable in the caller instead of in the function. 30606 Files: src/userfunc.c, src/vim9execute.c 30607 30608 Patch 8.2.4993 30609 Problem: smart/C/lisp indenting is optional, which makes the code more 30610 complex, while it only reduces the executable size a bit. 30611 Solution: Graduate FEAT_CINDENT, FEAT_SMARTINDENT and FEAT_LISP. 30612 Files: runtime/doc/builtin.txt, runtime/doc/indent.txt, 30613 runtime/doc/options.txt, runtime/doc/various.txt, src/feature.h, 30614 src/buffer.c, src/change.c, src/cindent.c, src/charset.c, 30615 src/edit.c, src/evalfunc.c, src/indent.c, src/insexpand.c, 30616 src/main.c, src/mouse.c, src/ops.c, src/option.c, src/optionstr.c, 30617 src/register.c, src/search.c, src/textformat.c, src/version.c, 30618 src/option.h, src/optiondefs.h, src/structs.h, src/globals.h, 30619 src/testdir/test_edit.vim 30620 30621 Patch 8.2.4994 30622 Problem: Tests are using legacy functions. 30623 Solution: Convert a few tests to use :def functions. 30624 Files: src/testdir/test_cindent.vim 30625 30626 Patch 8.2.4995 (after 8.2.4992) 30627 Problem: Still a compiler warning for possibly uninitialized variable. 30628 (Tony Mechelynck) 30629 Solution: Initialize variables. 30630 Files: src/vim9execute.c 30631 30632 Patch 8.2.4996 (after 8.2.4969) 30633 Problem: setbufline() may change Visual selection. (Qiming Zhao) 30634 Solution: Disable Visual mode when using another buffer. (closes #10466) 30635 Files: src/evalbuffer.c, src/testdir/test_bufline.vim 30636 30637 Patch 8.2.4997 30638 Problem: Python: changing hidden buffer can cause the display to be messed 30639 up. 30640 Solution: Do not mark changed lines when using another buffer. (Paul Ollis, 30641 closes #10437, closes #7972) 30642 Files: src/if_py_both.h, src/testdir/test_python3.vim 30643 30644 Patch 8.2.4998 30645 Problem: Vim9: crash when using multiple funcref(). 30646 Solution: Check if varargs type is NULL. (closes #10467) 30647 Files: src/vim9type.c, src/testdir/test_vim9_func.vim 30648 30649 Patch 8.2.4999 30650 Problem: Filetype test table is not properly sorted. 30651 Solution: Sort by filetype. (Doug Kearns) 30652 Files: src/testdir/test_filetype.vim 30653 30654 Patch 8.2.5000 30655 Problem: No patch for documentation updates. 30656 Solution: Update documentation files. 30657 Files: runtime/doc/arabic.txt, runtime/doc/autocmd.txt, 30658 runtime/doc/builtin.txt, runtime/doc/change.txt, 30659 runtime/doc/channel.txt, runtime/doc/cmdline.txt, 30660 runtime/doc/diff.txt, runtime/doc/digraph.txt, 30661 runtime/doc/editing.txt, runtime/doc/eval.txt, 30662 runtime/doc/filetype.txt, runtime/doc/fold.txt, 30663 runtime/doc/ft_ada.txt, runtime/doc/ft_ps1.txt, 30664 runtime/doc/ft_raku.txt, runtime/doc/ft_rust.txt, 30665 runtime/doc/ft_sql.txt, runtime/doc/gui.txt, 30666 runtime/doc/gui_w32.txt, runtime/doc/helphelp.txt, 30667 runtime/doc/help.txt, runtime/doc/if_cscop.txt, 30668 runtime/doc/if_lua.txt, runtime/doc/if_perl.txt, 30669 runtime/doc/if_pyth.txt, runtime/doc/if_tcl.txt, 30670 runtime/doc/indent.txt, runtime/doc/index.txt, 30671 runtime/doc/insert.txt, runtime/doc/intro.txt, 30672 runtime/doc/map.txt, runtime/doc/mbyte.txt, 30673 runtime/doc/message.txt, runtime/doc/motion.txt, 30674 runtime/doc/netbeans.txt, runtime/doc/options.txt, 30675 runtime/doc/os_dos.txt, runtime/doc/os_vms.txt, 30676 runtime/doc/os_win32.txt, runtime/doc/pattern.txt, 30677 runtime/doc/pi_netrw.txt, runtime/doc/pi_zip.txt, 30678 runtime/doc/popup.txt, runtime/doc/print.txt, 30679 runtime/doc/quickfix.txt, runtime/doc/quickref.txt, 30680 runtime/doc/remote.txt, runtime/doc/repeat.txt, 30681 runtime/doc/rileft.txt, runtime/doc/scroll.txt, 30682 runtime/doc/sign.txt, runtime/doc/spell.txt, 30683 runtime/doc/sponsor.txt, runtime/doc/starting.txt, 30684 runtime/doc/syntax.txt, runtime/doc/tabpage.txt, 30685 runtime/doc/tagsrch.txt, runtime/doc/terminal.txt, 30686 runtime/doc/term.txt, runtime/doc/testing.txt, 30687 runtime/doc/textprop.txt, runtime/doc/tips.txt, 30688 runtime/doc/todo.txt, runtime/doc/uganda.txt, 30689 runtime/doc/undo.txt, runtime/doc/usr_02.txt, 30690 runtime/doc/usr_04.txt, runtime/doc/usr_05.txt, 30691 runtime/doc/usr_06.txt, runtime/doc/usr_08.txt, 30692 runtime/doc/usr_09.txt, runtime/doc/usr_12.txt, 30693 runtime/doc/usr_20.txt, runtime/doc/usr_29.txt, 30694 runtime/doc/usr_40.txt, runtime/doc/usr_41.txt, 30695 runtime/doc/usr_45.txt, runtime/doc/usr_46.txt, 30696 runtime/doc/usr_50.txt, runtime/doc/usr_51.txt, 30697 runtime/doc/usr_52.txt, runtime/doc/usr_90.txt, 30698 runtime/doc/usr_toc.txt, runtime/doc/various.txt, 30699 runtime/doc/version5.txt, runtime/doc/version6.txt, 30700 runtime/doc/version7.txt, runtime/doc/version8.txt, 30701 runtime/doc/version9.txt, runtime/doc/vi_diff.txt, 30702 runtime/doc/vim9.txt, runtime/doc/visual.txt, 30703 runtime/doc/windows.txt, runtime/doc/tags, runtime/doc/Makefile 30704 30705 Patch 8.2.5001 30706 Problem: Checking translations affects the search pattern history. 30707 Solution: Use "keeppatterns". (Doug Kearns) 30708 Files: src/po/check.vim 30709 30710 Patch 8.2.5002 30711 Problem: deletebufline() may change Visual selection. 30712 Solution: Disable Visual mode when using another buffer. (closes #10469) 30713 Files: src/evalbuffer.c, src/testdir/test_bufline.vim 30714 30715 Patch 8.2.5003 30716 Problem: Cannot do bitwise shifts. 30717 Solution: Add the >> and << operators. (Yegappan Lakshmanan, closes #8457) 30718 Files: runtime/doc/eval.txt, src/errors.h, src/eval.c, src/structs.h, 30719 src/vim.h, src/vim9execute.c, src/vim9expr.c, 30720 src/testdir/test_expr.vim, src/testdir/test_vim9_disassemble.vim, 30721 src/testdir/test_vim9_expr.vim 30722 30723 Patch 8.2.5004 30724 Problem: Right shift on negative number does not work as documented. 30725 Solution: Use a uvarnumber_T type cast. 30726 Files: runtime/doc/eval.txt, src/eval.c, src/vim9expr.c, 30727 src/vim9execute.c, src/charset.c, src/testdir/test_expr.vim 30728 30729 Patch 8.2.5005 (after 8.2.5003) 30730 Problem: Compiler warning for uninitialized variable. (John Marriott) 30731 Solution: Initialize the pointer to NULL. 30732 Files: src/vim9expr.vim 30733 30734 Patch 8.2.5006 (after 8.2.5003) 30735 Problem: Asan warns for undefined behavior. 30736 Solution: Cast the shifted value to unsigned. 30737 Files: src/eval.c, src/vim9expr.c, src/vim9execute.c 30738 30739 Patch 8.2.5007 30740 Problem: Spell suggestion may use uninitialized memory. (Zdenek Dohnal) 30741 Solution: Avoid going over the end of the word. 30742 Files: src/spellsuggest.c, src/testdir/test_spell_utf8.vim 30743 30744 Patch 8.2.5008 30745 Problem: When 'formatoptions' contains "/" wrongly wrapping a long trailing 30746 comment. 30747 Solution: Pass the OPENLINE_FORMAT flag. 30748 Files: src/change.c, src/vim.h, src/textformat.c, 30749 src/testdir/test_textformat.vim 30750 30751 Patch 8.2.5009 30752 Problem: Fold may not be closable after appending. 30753 Solution: Set the fd_small flag to MAYBE. (Brandon Simmons, closes #10471) 30754 Files: src/fold.c, src/testdir/test_fold.vim 30755 30756 Patch 8.2.5010 30757 Problem: The terminal debugger uses various global variables. 30758 Solution: Add a dictionary to hold the terminal debugger preferences. 30759 Files: runtime/doc/terminal.txt, 30760 runtime/pack/dist/opt/termdebug/plugin/termdebug.vim 30761 30762 Patch 8.2.5011 30763 Problem: Replacing an autocommand requires several lines. 30764 Solution: Add the "replace" flag to autocmd_add(). (Yegappan Lakshmanan, 30765 closes #10473) 30766 Files: runtime/doc/autocmd.txt, runtime/doc/builtin.txt, src/autocmd.c, 30767 src/testdir/test_autocmd.vim 30768 30769 Patch 8.2.5012 30770 Problem: Cannot select one character inside (). 30771 Solution: Do not try to extend the area if it is empty. (closes #10472, 30772 closes #6616) 30773 Files: src/textobject.c, src/testdir/test_textobjects.vim 30774 30775 Patch 8.2.5013 30776 Problem: After text formatting the cursor may be in an invalid position. 30777 Solution: Correct the cursor position after formatting. 30778 Files: src/textformat.c, src/testdir/test_textformat.vim 30779 30780 Patch 8.2.5014 30781 Problem: Byte offsets are wrong when using text properties. 30782 Solution: Make sure text properties do not affect the byte counts. 30783 (Paul Ollis, closes #10474) 30784 Files: src/memline.c, src/textprop.c, src/testdir/test_textprop.vim 30785 30786 Patch 8.2.5015 30787 Problem: Hoon and Moonscript files are not recognized. 30788 Solution: Add filetype patterns. (Goc Dundar, closes #10478) 30789 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 30790 30791 Patch 8.2.5016 30792 Problem: Access before start of text with a put command. 30793 Solution: Check the length is more than zero. 30794 Files: src/register.c, src/testdir/test_put.vim 30795 30796 Patch 8.2.5017 30797 Problem: Gcc 12.1 warns for uninitialized variable. 30798 Solution: Initialize the variable. (closes #10476) 30799 Files: src/evalvars.c 30800 30801 Patch 8.2.5018 30802 Problem: Vim9: some code is not covered by tests. 30803 Solution: Delete dead code. 30804 Files: src/vim9instr.c, src/proto/vim9instr.pro, src/vim9compile.c, 30805 src/vim9expr.c, 30806 30807 Patch 8.2.5019 30808 Problem: Cannot get the first screen column of a character. 30809 Solution: Let virtcol() optionally return a list. (closes #10482, 30810 closes #7964) 30811 Files: runtime/doc/builtin.txt, src/evalfunc.c, 30812 src/testdir/test_functions.vim, src/testdir/test_vim9_builtin.vim 30813 30814 Patch 8.2.5020 30815 Problem: Using 'imstatusfunc' and 'imactivatefunc' breaks 'foldopen'. 30816 Solution: Save and restore the KeyTyped flag. (closes #10479) 30817 Files: src/gui_xim.c, src/testdir/test_iminsert.vim 30818 30819 30820 Patch 8.2.5021 30821 Problem: Build fails with normal features and +terminal. (Dominique Pellé) 30822 Solution: Add #ifdefs. (closes #10484) 30823 Files: src/terminal.c 30824 30825 Patch 8.2.5022 30826 Problem: 'completefunc'/'omnifunc' error does not end completion. 30827 Solution: Check if there was an error or exception. (closes #10486, 30828 closes #4218) 30829 Files: src/insexpand.c, src/testdir/test_ins_complete.vim 30830 30831 Patch 8.2.5023 30832 Problem: Substitute overwrites allocated buffer. 30833 Solution: Disallow undo when in a substitute command. 30834 Files: src/normal.c, src/undo.c, src/testdir/test_substitute.vim 30835 30836 Patch 8.2.5024 30837 Problem: Using freed memory with "]d". 30838 Solution: Copy the pattern before searching. 30839 Files: src/normal.c, src/testdir/test_tagjump.vim 30840 30841 Patch 8.2.5025 30842 Problem: Vim9: a few lines not covered by tests. 30843 Solution: Add a few tests. 30844 Files: src/vim9script.c, src/testdir/test_vim9_assign.vim, 30845 src/testdir/test_vim9_import.vim 30846 30847 Patch 8.2.5026 30848 Problem: Vim9: a few lines not covered by tests. 30849 Solution: Delete dead code. Add a few test cases. make "12->func()" work. 30850 Files: src/vim9type.c, src/ex_docmd.c, src/proto/ex_docmd.pro, 30851 src/vim9compile.c, src/testdir/test_vim9_assign.vim, 30852 src/testdir/test_vim9_func.vim 30853 30854 Patch 8.2.5027 30855 Problem: Error for missing :endif when an exception was thrown. (Dani 30856 Dickstein) 30857 Solution: Do not give an error when aborting. (closes #10490) 30858 Files: src/ex_docmd.c, src/testdir/test_trycatch.vim 30859 30860 Patch 8.2.5028 30861 Problem: Syntax regexp matching can be slow. 30862 Solution: Adjust the counters for checking the timeout to check about once 30863 per msec. (closes #10487, closes #2712) 30864 Files: src/regexp_bt.c, src/regexp_nfa.c 30865 30866 Patch 8.2.5029 30867 Problem: "textlock" is always zero. 30868 Solution: Remove "textlock" and rename "textwinlock" to "textlock". 30869 (closes #10489) 30870 Files: runtime/doc/insert.txt, runtime/doc/tags, src/beval.c, 30871 src/change.c, src/edit.c, src/errors.h, src/eval.c, src/ex_cmds.c, 30872 src/ex_getln.c, src/proto/ex_getln.pro, src/globals.h, 30873 src/indent.c, src/insexpand.c, src/map.c, src/register.c, 30874 src/undo.c, src/window.c, src/testdir/test_edit.vim, 30875 src/testdir/test_ins_complete.vim, src/testdir/test_popup.vim, 30876 src/testdir/test_quickfix.vim 30877 30878 Patch 8.2.5030 30879 Problem: autocmd_add() can only handle one event and pattern. 30880 Solution: Support a list of events and patterns. (Yegappan Lakshmanan, 30881 closes #10483) 30882 Files: runtime/doc/builtin.txt, src/autocmd.c, src/errors.h, 30883 src/testdir/test_autocmd.vim 30884 30885 Patch 8.2.5031 30886 Problem: Cannot easily run the benchmarks. 30887 Solution: Have "make benchmark" in the src directory work. 30888 Files: src/Makefile, src/testdir/Makefile 30889 30890 Patch 8.2.5032 30891 Problem: Python 3 test fails without the GUI. 30892 Solution: Check the balloon_eval feature is available. 30893 Files: src/testdir/test_python3.vim 30894 30895 Patch 8.2.5033 (after 8.2.5030) 30896 Problem: Build error with +eval but without +quickfix. Warning for 30897 uninitialized variable. 30898 Solution: Adjust #ifdefs. (John Marriott) 30899 Files: src/errors.h, src/autocmd.c 30900 30901 Patch 8.2.5034 30902 Problem: There is no way to get the byte index from a virtual column. 30903 Solution: Add virtcol2col(). (Yegappan Lakshmanan, closes #10477, 30904 closes #10098) 30905 Files: runtime/doc/builtin.txt, runtime/doc/usr_41.txt, src/evalfunc.c, 30906 src/move.c, src/proto/move.pro, src/testdir/test_cursor_func.vim 30907 30908 Patch 8.2.5035 30909 Problem: When splitting a window the changelist position moves. 30910 Solution: Set the changelist index a bit later. (closes #10493) 30911 Files: src/window.c, src/testdir/test_changelist.vim, 30912 src/testdir/test_normal.vim 30913 30914 Patch 8.2.5036 (after 8.2.5028) 30915 Problem: Using two counters for timeout check in NFA engine. 30916 Solution: Use only one counter. Tune the counts based on guessing. 30917 Files: src/regexp_nfa.c 30918 30919 Patch 8.2.5037 30920 Problem: Cursor position may be invalid after "0;" range. 30921 Solution: Check the cursor position when it was set by ";" in the range. 30922 Files: src/ex_docmd.c, src/testdir/test_excmd.vim 30923 30924 Patch 8.2.5038 30925 Problem: A finished terminal in a popup window does not show a scrollbar. 30926 Solution: Show the scrollbar if the terminal job is finished. (closes 30927 #10497) 30928 Files: src/popupwin.c, src/testdir/test_popupwin.vim, 30929 src/testdir/dumps/Test_popupwin_poptermscroll_1.dump, 30930 src/testdir/dumps/Test_popupwin_poptermscroll_2.dump, 30931 src/testdir/dumps/Test_popupwin_poptermscroll_3.dump 30932 30933 Patch 8.2.5039 30934 Problem: Confusing error if first argument of popup_create() is wrong. 30935 Solution: Give a more informative error. 30936 Files: src/popupwin.c, src/testdir/test_popupwin.vim, src/errors.h, 30937 src/testdir/dumps/Test_popup_settext_07.dump 30938 30939 Patch 8.2.5040 30940 Problem: Scrollbar thumb in scrolled popup not visible. 30941 Solution: Show at least one thumb character. (fixes 10492) 30942 Files: src/popupwin.c, src/testdir/test_popupwin.vim, 30943 src/testdir/dumps/Test_popupwin_scroll_13.dump 30944 30945 Patch 8.2.5041 30946 Problem: Cannot close a terminal popup with "NONE" job. 30947 Solution: Adjust the conditions for whether a job is running. 30948 (closes #10498) 30949 Files: src/buffer.c, src/terminal.c, src/proto/terminal.pro, 30950 src/undo.c, src/testdir/test_popupwin.vim 30951 30952 Patch 8.2.5042 30953 Problem: Scrollbar thumb in tall scrolled popup not visible. 30954 Solution: Show at least one thumb character. (fixes 10492) 30955 Files: src/popupwin.c, src/testdir/test_popupwin.vim, 30956 src/testdir/dumps/Test_popupwin_scroll_13.dump 30957 30958 Patch 8.2.5043 30959 Problem: Can open a cmdline window from a substitute expression. 30960 Solution: Disallow opening a command line window when text or buffer is 30961 locked. 30962 Files: src/buffer.c, src/ex_getln.c, src/proto/ex_getln.pro, 30963 src/window.c, src/testdir/test_substitute.vim 30964 30965 Patch 8.2.5044 (after 8.2.5043) 30966 Problem: Command line test fails. 30967 Solution: Also beep when cmdline win can't be opened because of locks. 30968 Make the test not beep. Make the test pass on MS-Windows. 30969 Files: src/ex_getln.c, src/testdir/test_substitute.vim 30970 30971 Patch 8.2.5045 30972 Problem: Can escape a terminal popup window when the job is finished. 30973 Solution: Only check for a finished job where it is relevant. 30974 (closes #10253) 30975 Files: src/popupwin.c, src/testdir/test_popupwin.vim, 30976 src/testdir/dumps/Test_popupwin_poptermscroll_1.dump, 30977 src/testdir/dumps/Test_popupwin_poptermscroll_2.dump, 30978 src/testdir/dumps/Test_popupwin_poptermscroll_3.dump, 30979 src/testdir/dumps/Test_popupwin_poptermscroll_4.dump 30980 30981 Patch 8.2.5046 30982 Problem: vim_regsub() can overwrite the destination. 30983 Solution: Pass the destination length, give an error when it doesn't fit. 30984 Files: src/regexp.h, src/regexp.c, src/proto/regexp.pro, src/eval.c, 30985 src/ex_cmds.c 30986 30987 Patch 8.2.5047 30988 Problem: CurSearch highlight is often wrong. 30989 Solution: Remember the last highlighted position and redraw when needed. 30990 Files: src/globals.h, src/match.c, src/drawscreen.c, src/change.c, 30991 src/testdir/test_search.vim, 30992 src/testdir/dumps/Test_hlsearch_cursearch_changed_1.dump 30993 30994 Patch 8.2.5048 30995 Problem: When using XIM the gui test may fail. 30996 Solution: Only use --not-a-term when not using XIM. 30997 Files: src/testdir/test_gui.vim 30998 30999 Patch 8.2.5049 31000 Problem: Insufficient tests for autocommands. 31001 Solution: Add a few more tests. (Yegappan Lakshmanan, closes #10507) 31002 Files: src/autocmd.c, src/testdir/gen_opt_test.vim, 31003 src/testdir/test_autocmd.vim, src/testdir/test_cmdline.vim 31004 31005 Patch 8.2.5050 31006 Problem: Using freed memory when searching for pattern in path. 31007 Solution: Make a copy of the line. 31008 Files: src/search.c, src/testdir/test_tagjump.vim 31009 31010 Patch 8.2.5051 31011 Problem: Check for autocmd_add() event argument is confusing. 31012 Solution: Make the code more straightforward. 31013 Files: src/autocmd.c 31014 31015 Patch 8.2.5052 31016 Problem: CI checkout step title is a bit cryptic. 31017 Solution: Add a better title. (closes #10509) 31018 Files: .github/workflows/ci.yml, .github/workflows/coverity.yml, 31019 .github/workflows/codeql-analysis.yml 31020 31021 Patch 8.2.5053 31022 Problem: Cannot have a comment halfway an expression in an autocmd command 31023 block. 31024 Solution: When skipping over the NL also skip over comments. (closes #10519) 31025 Files: src/eval.c, src/testdir/test_autocmd.vim 31026 31027 Patch 8.2.5054 31028 Problem: No good filetype for conf files similar to dosini. 31029 Solution: Add the confini filetype. (closes #10518) 31030 Files: runtime/filetype.vim, src/testdir/test_filetype.vim 31031 31032 Patch 8.2.5055 31033 Problem: Statusline is not updated when terminal title changes. 31034 Solution: Redraw the status line when the title changes. (issue #10425) 31035 Files: src/terminal.c 31036 31037 Patch 8.2.5056 31038 Problem: The channel log only contains some of the raw terminal output. 31039 Solution: Add the "o" flag to log all terminal output. Use it for "--log". 31040 Files: runtime/doc/channel.txt, runtime/doc/starting.txt, src/main.c, 31041 src/channel.c, src/vim.h, src/term.c, src/edit.c, src/normal.c, 31042 src/optionstr.c 31043 31044 Patch 8.2.5057 31045 Problem: Using gettimeofday() for timeout is very inefficient. 31046 Solution: Set a platform dependent timer. (Paul Ollis, closes #10505) 31047 Files: src/auto/configure, src/config.h.in, src/configure.ac, 31048 src/drawscreen.c, src/errors.h, src/evalfunc.c, src/ex_cmds.c, 31049 src/ex_getln.c, src/match.c, src/os_mac.h, src/os_macosx.m, 31050 src/os_unix.c, src/os_win32.c, src/proto/os_unix.pro, 31051 src/proto/os_win32.pro, src/proto/regexp.pro, src/quickfix.c, 31052 src/regexp.c, src/regexp.h, src/regexp_bt.c, src/regexp_nfa.c, 31053 src/screen.c, src/search.c, src/structs.h, src/syntax.c, 31054 src/testdir/test_hlsearch.vim, src/testdir/test_search.vim, 31055 src/testdir/test_syntax.vim 31056 31057 Patch 8.2.5058 31058 Problem: input() does not handle composing characters properly. 31059 Solution: Use mb_cptr2char_adv() instead of mb_ptr2char_adv(). 31060 (closes #10527) 31061 Files: src/getchar.c, src/testdir/test_functions.vim 31062 31063 Patch 8.2.5059 31064 Problem: Autoconf 2.71 produces many obsolete warnings. 31065 Solution: Replace obsolete macros with non-obsolete ones, where the 31066 functionality does not change. (issue #10528) 31067 Files: src/configure.ac, src/auto/configure 31068 31069 Patch 8.2.5060 (after 8.2.5059) 31070 Problem: Running configure fails. 31071 Solution: Remove line break. 31072 Files: src/configure.ac, src/auto/configure 31073 31074 Patch 8.2.5061 31075 Problem: C89 requires signal handlers to return void. 31076 Solution: Drop RETSIGTYPE and hard-code a void return value. 31077 Files: src/configure.ac, src/auto/configure, src/if_cscope.c, 31078 src/os_unix.c, src/pty.c, src/os_mac.h, src/os_vms_conf.h, 31079 src/config.h.in, src/osdef1.h.in 31080 31081 Patch 8.2.5062 31082 Problem: Coverity warns for dead code. 31083 Solution: Remove the dead code. 31084 Files: src/os_unix.c, src/match.c 31085 31086 Patch 8.2.5063 31087 Problem: Error for a command may go over the end of IObuff. 31088 Solution: Truncate the message. 31089 Files: src/ex_docmd.c, src/testdir/test_cmdline.vim 31090 31091 Patch 8.2.5064 31092 Problem: No test for what 8.1.0052 fixes. 31093 Solution: Add a test. (closes #10531) 31094 Files: src/getchar.c, src/testdir/test_mapping.vim 31095 31096 Patch 8.2.5065 31097 Problem: Wrong return type for main() in tee.c. 31098 Solution: Use "int" instead of "void". Remove unused variable. 31099 Files: src/tee/tee.c 31100 31101 Patch 8.2.5066 31102 Problem: Can specify multispace listchars only for whole line. 31103 Solution: Add "leadmultispace". (Christian Brabandt, closes #10496) 31104 Files: runtime/doc/options.txt, src/drawline.c, src/message.c, 31105 src/screen.c, src/structs.h, src/window.c, 31106 src/testdir/test_listchars.vim 31107 31108 Patch 8.2.5067 31109 Problem: Timer_create is not available on every Mac system. (Hisashi T 31110 Fujinaka) 31111 Solution: Adjust #ifdef. 31112 Files: src/os_unix.c 31113 31114 Patch 8.2.5068 31115 Problem: Gcc 12.1 warning when building tee. 31116 Solution: Change type to size_t. (John Marriott) 31117 Files: src/tee/tee.c 31118 31119 Patch 8.2.5069 31120 Problem: Various warnings from clang on MS-Windows. 31121 Solution: Fix the code to avoid the warnings. (Yegappan Lakshmanan, 31122 closes #10538) 31123 Files: src/dosinst.c, src/fileio.c, src/gui_w32.c, src/os_mswin.c, 31124 src/os_win32.c 31125 31126 Patch 8.2.5070 31127 Problem: Unnecessary code. 31128 Solution: Remove code that isn't needed. (closes #10534) 31129 Files: src/message.c, src/screen.c 31130 31131 Patch 8.2.5071 31132 Problem: With some Mac OS version clockid_t is redefined. 31133 Solution: Adjust #ifdefs. (Ozaki Kiichi, closes #10549) 31134 Files: src/os_mac.h 31135 31136 Patch 8.2.5072 31137 Problem: Using uninitialized value and freed memory in spell command. 31138 Solution: Initialize "attr". Check for empty line early. 31139 Files: src/spell.c, src/testdir/test_spell_utf8.vim 31140 31141 Patch 8.2.5073 31142 Problem: Clang on MS-Windows produces warnings. 31143 Solution: Avoid the warnings. (Yegappan Lakshmanan, closes #10546) 31144 Files: src/dosinst.c, src/dosinst.h, src/gui_dwrite.cpp, src/gui_w32.c, 31145 src/iscygpty.c, src/libvterm/src/vterm_internal.h, src/mbyte.c, 31146 src/os_win32.c, src/os_win32.h, src/term.c, src/xdiff/xinclude.h 31147 31148 Patch 8.2.5074 31149 Problem: Spell test fails on MS-Windows. 31150 Solution: Do not change 'encoding' 31151 Files: src/testdir/test_spell_utf8.vim 31152 31153 Patch 8.2.5075 31154 Problem: Clang gives an out of bounds warning. 31155 Solution: adjust conditional expression (John Marriott) 31156 Files: src/ui.c 31157 31158 Patch 8.2.5076 31159 Problem: Unnecessary code. 31160 Solution: Remove code and replace with function call. (closes #10552) 31161 Files: src/drawline.c, src/getchar.c 31162 31163 Patch 8.2.5077 31164 Problem: Various warnings from clang on MS-Windows. 31165 Solution: Avoid the warnings. (Yegappan Lakshmanan, closes #10553) 31166 Files: src/dosinst.c, src/dosinst.h, src/filepath.c, src/gui_w32.c, 31167 src/misc1.c, src/os_win32.c 31168 31169 Patch 8.2.5078 31170 Problem: Substitute test has a one second delay. 31171 Solution: Use ":silent!". Add another test case. (closes #10558) 31172 Files: src/testdir/test_substitute.vim 31173 31174 Patch 8.2.5079 31175 Problem: DirChanged autocommand may use freed memory. (Shane-XB Qian) 31176 Solution: Free the memory later. (closes #10555) 31177 Files: src/ex_docmd.c, src/testdir/test_autocmd.vim 31178 31179 Patch 8.2.5080 31180 Problem: When indenting gets out of hand it is hard to stop. 31181 Solution: When line gets too long set got_int. 31182 Files: src/indent.c 31183 31184 Patch 8.2.5081 31185 Problem: Autocmd test fails on MS-Windows. 31186 Solution: Set shellslash to get forward slashes. 31187 Files: src/testdir/test_autocmd.vim 31188 31189 Patch 8.2.5082 (after 8.2.5080) 31190 Problem: Retab test fails. 31191 Solution: Disable the test for now. 31192 Files: src/testdir/test_retab.vim 31193 31194 Patch 8.2.5083 31195 Problem: Autocmd test still fails on MS-Windows. 31196 Solution: Change backward to forward slashes. 31197 Files: src/testdir/test_autocmd.vim 31198 31199 Patch 8.2.5084 31200 Problem: When the GUI shows a dialog tests get stuck. 31201 Solution: Add the --gui-dialog-file argument. 31202 Files: runtime/doc/starting.txt, src/Make_mvc.mak, src/gui.c, src/main.c, 31203 src/message.c, src/os_mswin.c, src/proto/gui.pro, 31204 src/proto/main.pro, src/structs.h, src/testdir/Make_dos.mak, 31205 src/testdir/Make_ming.mak, src/testdir/Makefile, 31206 src/testdir/runtest.vim, src/testdir/shared.vim 31207 31208 Patch 8.2.5085 31209 Problem: Gcc gives warning for signed/unsigned difference. 31210 Solution: Use a different pointer type. (John Marriott) 31211 Files: src/os_mswin.c 31212 31213 Patch 8.2.5086 31214 Problem: CI runs on Windows 2019. 31215 Solution: Switch to Windows 2022. (closes #10566) 31216 Files: .github/workflows/ci.yml 31217 31218 Patch 8.2.5087 31219 Problem: Cannot build with clang on MS-Windows. 31220 Solution: Add support for building with clang. (Yegappan Lakshmanan, 31221 closes #10557) 31222 Files: src/GvimExt/Make_ming.mak, src/INSTALLpc.txt, 31223 src/Make_cyg_ming.mak 31224 31225 Patch 8.2.5088 31226 Problem: Value of cmod_verbose is a bit complicated to use. 31227 Solution: Use zero for not set, value + 1 when set. (closes #10564) 31228 Files: src/ex_docmd.c, src/ex_getln.c, src/globals.h, src/structs.h 31229 31230 Patch 8.2.5089 31231 Problem: Some functions return a different value on failure. 31232 Solution: Initialize the return value earlier. (Yegappan Lakshmanan, 31233 closes #10568) 31234 Files: src/autocmd.c, src/dict.c, src/evalfunc.c, src/list.c 31235 31236 Patch 8.2.5090 31237 Problem: MS-Windows: vim.def is no longer used. 31238 Solution: Delete vim.def. (Ken Takata, closes #10569) 31239 Files: Filelist, Makefile, src/vim.def 31240 31241 Patch 8.2.5091 31242 Problem: Terminal test fails with some shell commands. 31243 Solution: Disable setting the window title. (closes #10530) 31244 Files: src/testdir/test_terminal.vim 31245 31246 Patch 8.2.5092 31247 Problem: Using "'<,'>" in Ex mode may compare unrelated pointers. 31248 Solution: Set eap->cmd to "+" only later. 31249 Files: src/ex_docmd.c 31250 31251 Patch 8.2.5093 31252 Problem: Error message for unknown command may mention the command twice. 31253 (Malcolm Rowe) 31254 Solution: Add the did_append_cmd flag. (closes #10570) 31255 Files: src/ex_docmd.c 31256 31257 Patch 8.2.5094 31258 Problem: MS-Windows GUI: empty command may cause a dialog. 31259 Solution: Delete the dialog file. Improve the message. 31260 Files: src/testdir/runtest.vim, src/testdir/test_ex_mode.vim 31261 31262 Patch 8.2.5095 31263 Problem: Terminal test still fails with some shell commands. 31264 Solution: Disable setting the window title in the Vim instance running in a 31265 terminal window. (closes #10530) 31266 Files: src/testdir/test_terminal.vim 31267 31268 Patch 8.2.5096 (after 8.2.5095) 31269 Problem: Terminal test still fails with some shell commands. 31270 Solution: Add missing "call". (closes #10530) 31271 Files: src/testdir/test_terminal.vim 31272 31273 Patch 8.2.5097 31274 Problem: Using uninitialized memory when using 'listchars'. 31275 Solution: Use the length returned by mb_char2bytes(). (closes #10576) 31276 Files: src/message.c 31277 31278 Patch 8.2.5098 31279 Problem: Spelldump test sometimes hangs. 31280 Solution: Catch the problem of the spell file not being found to avoid 31281 hanging in the download dialog. 31282 Files: src/testdir/test_spell.vim 31283 31284 Patch 8.2.5099 31285 Problem: Some terminal tests are not retried. 31286 Solution: Mark terminal tests as flaky. 31287 Files: src/testdir/test_terminal.vim 31288 31289 Patch 8.2.5100 31290 Problem: Memory usage tests are not retried. 31291 Solution: Mark memory usage tests as flaky. 31292 Files: src/testdir/test_memory_usage.vim 31293 31294 Patch 8.2.5101 31295 Problem: MS-Windows with MinGW: $CC may be "cc" instead of "gcc". 31296 Solution: Set $CC if it is not matching "clang". (Yegappan Lakshmanan, 31297 closes #10578) 31298 Files: src/INSTALLpc.txt, src/Make_cyg_ming.mak 31299 31300 Patch 8.2.5102 31301 Problem: Interrupt not caught in test. 31302 Solution: Consider an exception thrown in the current try/catch when got_int 31303 is set. Also catch early exit when not using try/catch. 31304 Files: src/indent.c, src/testing.c, src/testdir/test_retab.vim, 31305 src/testdir/runtest.vim 31306 31307 Patch 8.2.5103 31308 Problem: Build fails with small features. 31309 Solution: Add #ifdef. Skip test on MS-Windows. 31310 Files: src/indent.c, src/testdir/test_retab.vim 31311 31312 Patch 8.2.5104 (after 8.2.5103) 31313 Problem: Test hangs on MS-Windows. 31314 Solution: Skip another test on MS-Windows. 31315 Files: src/testdir/test_retab.vim 31316 31317 Patch 8.2.5105 (after 8.2.5104) 31318 Problem: Test still hangs on MS-Windows. 31319 Solution: Skip "nocatch" test the right way. 31320 Files: src/testdir/test_retab.vim 31321 31322 Patch 8.2.5106 31323 Problem: Default cmdwin mappings are re-mappable. 31324 Solution: Make the default mappings not re-mappable. (closes #10580) Use 31325 symbols for the first do_map() argument. 31326 Files: src/vim.h, src/ex_getln.c, src/map.c, src/proto/map.pro, 31327 src/digraph.c, src/netbeans.c 31328 31329 Patch 8.2.5107 31330 Problem: Some callers of rettv_list_alloc() check for not OK. (Christ van 31331 Willegen) 31332 Solution: Use "==" instead of "!=" when checking the return value. 31333 Files: src/evalbuffer.c, src/channel.c, src/cmdexpand.c, src/evalfunc.c, 31334 src/evalwindow.c, src/insexpand.c, src/job.c, src/list.c, 31335 src/map.c, src/menu.c, src/mouse.c, src/move.c, src/sign.c, 31336 src/textprop.c, src/term.c, src/time.c 31337 31338 Patch 8.2.5108 31339 Problem: Retab test disabled because it hangs on MS-Windows. 31340 Solution: Also set got_int at the other place an overlong text is detected. 31341 Files: src/indent.c, src/testdir/test_retab.vim 31342 31343 Patch 8.2.5109 31344 Problem: Mode not updated after CTRL-O CTRL-C in Insert mode. 31345 Solution: Set redraw_mode and use it. (closes #10581) 31346 Files: src/main.c, src/normal.c, src/testdir/test_normal.vim, 31347 src/testdir/dumps/Test_mode_updated_1.dump 31348 31349 Patch 8.2.5110 31350 Problem: Icon filetype not recognized from the first line. 31351 Solution: Add a check for the first line. (Doug Kearns) 31352 Files: runtime/autoload/dist/script.vim, src/testdir/test_filetype.vim 31353 31354 Patch 8.2.5111 31355 Problem: No test for --gui-dialog-file. 31356 Solution: Add a test. 31357 Files: src/testdir/test_gui.vim 31358 31359 Patch 8.2.5112 (after 8.2.5111) 31360 Problem: Gui test hangs on MS-Windows. 31361 Solution: Use "!start" to start Vim. 31362 Files: src/testdir/test_gui.vim 31363 31364 Patch 8.2.5113 31365 Problem: Timer becomes invalid after fork/exec, :gui gives errors. (Gabriel 31366 Dupras) 31367 Solution: Delete the timer before forking. (closes #10584) 31368 Files: src/os_unix.c, src/proto/os_unix.pro, src/gui.c 31369 31370 Patch 8.2.5114 31371 Problem: Time limit on searchpair() does not work properly. 31372 Solution: Set the time limit once instead of for each regexp. (closes #10562) 31373 Files: src/search.c, src/evalfunc.c, src/testdir/test_search.vim 31374 31375 Patch 8.2.5115 31376 Problem: Search timeout is overrun with some patterns. 31377 Solution: Check for timeout in more places. Make the flag volatile and 31378 atomic. Use assert_inrange() to see what happened. 31379 Files: src/regexp_nfa.c, src/regexp_bt.c, src/regexp.c, src/os_unix.c, 31380 src/proto/os_unix.pro, src/testdir/test_search.vim 31381 31382 Patch 8.2.5116 31383 Problem: "limit" option of matchfuzzy() not always respected. 31384 Solution: Remove "else". (Kazuyuki Miyagi, closes #10586) 31385 Files: runtime/doc/builtin.txt, src/search.c, 31386 src/testdir/test_matchfuzzy.vim 31387 31388 Patch 8.2.5117 31389 Problem: Crash when calling a Lua callback from a :def function. (Bohdan 31390 Makohin) 31391 Solution: Handle FC_CFUNC in call_user_func_check(). (closes #10587) 31392 Files: src/userfunc.c, src/testdir/test_lua.vim 31393 31394 Patch 8.2.5118 31395 Problem: MS-Windows: sending a message to another Vim may hang if that Vim 31396 is halted. 31397 Solution: Add a timeout to serverSendToVim(). (Ken Takata, closes #10585) 31398 Files: runtime/pack/dist/opt/editexisting/plugin/editexisting.vim, 31399 src/os_mswin.c 31400 31401 Patch 8.2.5119 31402 Problem: CI uses cache v2. 31403 Solution: Use cache v3. (closes #10588) 31404 Files: .github/workflows/ci.yml 31405 31406 Patch 8.2.5120 31407 Problem: Searching for quotes may go over the end of the line. 31408 Solution: Check for running into the NUL. 31409 Files: src/textobject.c 31410 31411 Patch 8.2.5121 31412 Problem: Interrupt test sometimes fails. 31413 Solution: Use a different file name. 31414 Files: src/testdir/test_interrupt.vim 31415 31416 Patch 8.2.5122 31417 Problem: Lisp indenting my run over the end of the line. 31418 Solution: Check for NUL earlier. 31419 Files: src/indent.c, src/testdir/test_indent.vim 31420 31421 Patch 8.2.5123 31422 Problem: Using invalid index when looking for spell suggestions. 31423 Solution: Do not decrement the index when it is zero. 31424 Files: src/spellsuggest.c, src/testdir/test_spell.vim 31425 31426 Patch 8.2.5124 31427 Problem: When syntax timeout test fails it does not show the time. 31428 Solution: Use assert_inrange(). 31429 Files: src/testdir/test_syntax.vim 31430 31431 Patch 8.2.5125 31432 Problem: MS-Windows: warnings from MinGW compiler. 31433 Solution: Use "volatile". (Yasuhiro Matsumoto, closes #10589) Initialize 31434 variable. 31435 Files: src/os_win32.c, src/proto/os_win32.pro, src/map.c 31436 31437 Patch 8.2.5126 31438 Problem: Substitute may overrun destination buffer. 31439 Solution: Disallow switching buffers in a substitute expression. 31440 Files: src/ex_docmd.c, src/testdir/test_substitute.vim 31441 31442 Patch 8.2.5127 31443 Problem: Using assert_true() does not show value on failure. 31444 Solution: Use assert_inrange(). (closes #10593) 31445 Files: src/testdir/test_channel.vim, src/testdir/test_hlsearch.vim 31446 31447 Patch 8.2.5128 31448 Problem: Syntax highlighting disabled when using synID() in searchpair() 31449 skip expression and it times out. (Jaehwang Jung) 31450 Solution: Add the redrawtime_limit_set flag. (closes #10562) 31451 Files: src/globals.h, src/drawscreen.c, src/syntax.c 31452 31453 Patch 8.2.5129 31454 Problem: Timeout handling is not optimal. 31455 Solution: Avoid setting timeout_flag twice. Adjust the pointer when 31456 stopping the regexp timeout. Adjust variable name. 31457 Files: src/os_unix.c, src/os_win32.c, src/regexp.c 31458 31459 Patch 8.2.5130 31460 Problem: Edit test for mode message fails when using valgrind. 31461 Solution: Use WaitForAssert(). Run beep test later. 31462 Files: src/testdir/test_edit.vim 31463 31464 Patch 8.2.5131 31465 Problem: Timeout implementation is not optimal. 31466 Solution: Further improvements for timeouts. Add a test for searchpair() 31467 timeout. (partly by Paul Ollis) 31468 Files: src/configure.ac, src/auto/configure, 31469 src/testdir/test_hlsearch.vim, src/testdir/test_search.vim 31470 31471 Patch 8.2.5132 31472 Problem: :mkview test doesn't test much. 31473 Solution: Save the view with the folds closed. (James McCoy, closes #10596) 31474 Files: src/testdir/test_mksession.vim 31475 31476 Patch 8.2.5133 31477 Problem: MacOS: build fails. 31478 Solution: Remove "#if 0" from timer_delete(). 31479 Files: src/os_macosx.m 31480 31481 Patch 8.2.5134 31482 Problem: Function has confusing name. 31483 Solution: Rename tgetent_error() to invoke_tgetent(). 31484 Files: src/term.c 31485 31486 Patch 8.2.5135 31487 Problem: Running configure gives warnings for main() return type. 31488 Solution: Specify "int" return type. Avoid a few more warnings. 31489 Files: src/configure.ac, src/auto/configure 31490 31491 Patch 8.2.5136 31492 Problem: Debugger test fails when run with valgrind. 31493 Solution: Wait longer when using valgrind. 31494 Files: src/testdir/shared.vim, src/testdir/test_debugger.vim, 31495 src/testdir/test_search.vim 31496 31497 Patch 8.2.5137 31498 Problem: Cannot build without the +channel feature. (Dominique Pellé) 31499 Solution: Add #ifdef around ch_log() calls. (closes #10598) 31500 Files: src/os_unix.c, src/regexp_nfa.c, src/regexp_bt.c 31501 31502 Patch 8.2.5138 31503 Problem: Various small issues. 31504 Solution: Various small improvements. 31505 Files: src/filepath.c, src/job.c, src/mark.c, src/move.c, 31506 src/popupwin.c, src/testdir/test_filetype.vim 31507 31508 Patch 8.2.5139 31509 Problem: TIME_WITH_SYS_TIME is no longer supported by autoconf. 31510 Solution: Always include time.h. 31511 Files: src/os_unix.h 31512 31513 Patch 8.2.5140 31514 Problem: Seachpair timeout test is flaky. 31515 Solution: Mark the test as flaky so it is retried. 31516 Files: src/testdir/test_search.vim 31517 31518 Patch 8.2.5141 31519 Problem: Using "volatile int" in a signal handler might be wrong. 31520 Solution: Use "volatile sig_atomic_t". 31521 Files: src/os_unix.c, src/proto/os_unix.pro, src/os_win32.c, 31522 src/proto/os_win32.pro, src/regexp.c, 31523 31524 Patch 8.2.5142 31525 Problem: Startup test fails if there is a status bar at the top of the 31526 screen. (Ernie Rael) 31527 Solution: Use a larger vertical offset in the test. 31528 Files: src/testdir/test_startup.vim 31529 31530 Patch 8.2.5143 31531 Problem: Some tests fail when using valgrind. Spurious leak reports. 31532 Solution: Use WaitForAssert(). Avoid failing fork/exec. Skip tests where a 31533 job is killed when running valgrind. 31534 Files: src/testdir/test_iminsert.vim, src/testdir/test_popup.vim, 31535 src/testdir/test_cscope.vim, src/testdir/test_channel.vim 31536 31537 Patch 8.2.5144 31538 Problem: With 'lazyredraw' set completion menu may be displayed wrong. 31539 Solution: When the popup menu is visible do not insert a screen line. 31540 (closes #10601) 31541 Files: src/screen.c 31542 31543 Patch 8.2.5145 31544 Problem: Exit test causes spurious valgrind reports. 31545 Solution: Skip test. Add CheckNotValgrind. 31546 Files: src/testdir/test_exit.vim, src/testdir/check.vim, 31547 src/testdir/test_channel.vim 31548 31549 Patch 8.2.5146 31550 Problem: Memory leak when substitute expression nests. 31551 Solution: Use an array of expression results. 31552 Files: src/alloc.c, src/regexp.c, src/proto/regexp.pro, 31553 src/errors.h, src/ex_cmds.c, src/testdir/test_substitute.vim 31554 31555 Patch 8.2.5147 31556 Problem: Flaky test always fails on retry. 31557 Solution: Delete the created function. 31558 Files: src/testdir/test_search.vim 31559 31560 Patch 8.2.5148 31561 Problem: Invalid memory access when using an expression on the command line. 31562 Solution: Make sure the position does not go negative. 31563 Files: src/ex_getln.c, src/testdir/test_cmdline.vim 31564 31565 Patch 8.2.5149 (after 8.2.5148) 31566 Problem: Cannot build without the +eval feature. (Tony Mechelynck) 31567 Solution: Add #ifdefs. 31568 Files: src/ex_getln.c 31569 31570 Patch 8.2.5150 31571 Problem: Read past the end of the first line with ":0;'{". 31572 Solution: When on line zero check the column is valid for line one. 31573 Files: src/ex_docmd.c, src/testdir/test_cmdline.vim 31574 31575 Patch 8.2.5151 31576 Problem: Reading beyond the end of the line with lisp indenting. 31577 Solution: Avoid going over the NUL at the end of the line. 31578 Files: src/indent.c, src/testdir/test_lispwords.vim 31579 31580 Patch 8.2.5152 31581 Problem: search() gets stuck with "c" and skip evaluates to true. 31582 Solution: Reset the SEARCH_START option. (closes #10608) 31583 Files: src/evalfunc.c, src/testdir/test_syntax.vim 31584 31585 Patch 8.2.5153 31586 Problem: "make uninstall" does not remove colors/lists. 31587 Solution: Add a line to the Makefile. (closes #10609) 31588 Files: src/Makefile 31589 31590 Patch 8.2.5154 31591 Problem: Still mentioning version8, some cosmetic issues. 31592 Solution: Prefer mentioning version9, cosmetic improvements. 31593 Files: src/version.c, src/if_tcl.c, src/regexp.c, 31594 src/testdir/test_gui.vim, src/os_unix.c, Filelist, src/Makefile 31595 31596 Patch 8.2.5155 31597 Problem: In diff mode windows may get out of sync. (Gary Johnson) 31598 Solution: Avoid that the other window scrolls for 'cursorbind'. 31599 Files: src/move.c, src/testdir/test_diffmode.vim, 31600 src/testdir/dumps/Test_diff_scroll_1.dump, 31601 src/testdir/dumps/Test_diff_scroll_2.dump 31602 31603 Patch 8.2.5156 31604 Problem: Search timeout test often fails with FreeBSD. 31605 Solution: Double the maximum time. 31606 Files: src/testdir/test_search.vim 31607 31608 Patch 8.2.5157 31609 Problem: MS-Windows GUI: CTRL-key combinations do not always work. 31610 Solution: Handle special key combinations better. (closes #10613, 31611 closes #10602, closes #10579) 31612 Files: src/gui_w32.c 31613 31614 Patch 8.2.5158 31615 Problem: TSTP and INT signal tests are not run with valgrind. 31616 Solution: Sleep a bit longer. (closes #10614) 31617 Files: src/testdir/test_signals.vim 31618 31619 Patch 8.2.5159 (after 8.2.5157) 31620 Problem: Fix for CTRL-key combinations causes more problems than it solves. 31621 Solution: Roll back the change. 31622 Files: src/gui_w32.c 31623 31624 Patch 8.2.5160 31625 Problem: Accessing invalid memory after changing terminal size. 31626 Solution: Adjust cmdline_row and msg_row to the value of Rows. 31627 Files: src/term.c 31628 31629 Patch 8.2.5161 31630 Problem: Might still access invalid memory. 31631 Solution: Add extra check for negative value. 31632 Files: src/message.c 31633 31634 Patch 8.2.5162 31635 Problem: Reading before the start of the line with BS in Replace mode. 31636 Solution: Check the cursor column is more than zero. 31637 Files: src/edit.c 31638 31639 Patch 8.2.5163 31640 Problem: Crash when deleting buffers in diff mode. 31641 Solution: Recompute diffs later. Skip window without a valid buffer. 31642 Files: src/diff.c, src/testdir/test_diffmode.vim 31643 31644 Patch 8.2.5164 31645 Problem: Invalid memory access after diff buffer manipulations. 31646 Solution: Use zero offset when change removes all lines in a diff block. 31647 Files: src/diff.c, src/testdir/test_diffmode.vim 31648 31649 Patch 8.2.5165 31650 Problem: Import test fails because 'diffexpr' isn't reset. 31651 Solution: Reset 'diffexpr'. 31652 Files: src/testdir/test_vim9_import.vim 31653 31654 Patch 8.2.5166 31655 Problem: Test for DiffUpdated fails. 31656 Solution: Also accept a count of two. 31657 Files: src/testdir/test_diffmode.vim 31658 31659 Patch 8.2.5167 31660 Problem: get(Fn, 'name') on funcref returns special byte code. 31661 Solution: Use the printable name. 31662 Files: src/evalfunc.c, src/testdir/test_getvar.vim 31663 31664 Patch 8.2.5168 31665 Problem: Cannot build with Python 3.11. 31666 Solution: Adjust define for _PyObject_TypeCheck. (Zdenek Dohnal, 31667 closes #10627) 31668 Files: src/if_python3.c 31669 31670 Patch 8.2.5169 31671 Problem: Nested :source may use NULL pointer. 31672 Solution: Do not use the NULL pointer. 31673 Files: src/eval.c, src/testdir/test_vimscript.vim 31674 31675 Patch 8.2.5170 31676 Problem: Tiny issues. 31677 Solution: Tiny improvements. 31678 Files: src/misc1.c, src/screen.c, src/vim.h 31679 31680 Patch 8.2.5171 31681 Problem: Dependencies and proto files are outdated. 31682 Solution: Update dependencies and proto files. Avoid errors. 31683 Files: src/Makefile, src/gui_w32.c, src/os_mswin.c, src/proto/buffer.pro, 31684 src/proto/cmdexpand.pro, src/proto/getchar.pro, 31685 src/proto/help.pro, src/proto/mbyte.pro, src/proto/option.pro, 31686 src/proto/screen.pro, src/proto/syntax.pro, 31687 src/proto/textformat.pro, src/proto/textobject.pro, 31688 src/proto/time.pro, src/proto/gui_x11.pro, src/proto/if_tcl.pro, 31689 src/proto/os_mswin.pro 31690 31691 Patch 8.2.5172 31692 Problem: "make menu" still uses legacy script. 31693 Solution: make menu generation script use Vim9 script, fix errors. 31694 Files: runtime/makemenu.vim 31695 31696 31697 ============================================================================== 31698 VERSION 9.1 *version-9.1* *version9.1* *vim-9.1* 31699 31700 This section is about improvements made between version 9.0 and 9.1. 31701 The release 9.1 is dedicated to Vim's Benevolent dictator for life 31702 |Bram-Moolenaar|. 31703 31704 This release has hundreds of bug fixes, there are a few new features and there 31705 are many minor improvements. 31706 31707 Vim9 classes ~ 31708 ------------ 31709 Support for classes and objects in a Vim9 script are added. This is described 31710 in |vim9-class|. The following features are supported: 31711 - Defining classes and instantiating objects 31712 - Multiple constructors 31713 - Class variables and methods 31714 - Object variables and methods 31715 - Public and protected access for variables and methods 31716 - Constant and final object/class variables 31717 - Extending classes (single inheritance) 31718 - Interfaces 31719 - Abstract classes 31720 - Exporting classes 31721 31722 Support for creating a type alias for an existing type is added. 31723 31724 Virtual text ~ 31725 ------------ 31726 Support for adding |virtual-text| to a buffer is added. This is useful for 31727 language server features (e.g. inlay hints) 31728 31729 Smooth Scroll ~ 31730 ------------- 31731 Support for scrolling text using screen lines instead of file lines is added. 31732 Refer to the 'smoothscroll' option. 31733 31734 The EditorConfig (|editorconfig-install|) and the JSON formatting 31735 (|ft-json-plugin|) plugins are included. 31736 31737 OpenVMS x86_64 platform port: http://www.polarhome.com/vim/ 31738 31739 *new-other-9.1* 31740 Other improvements ~ 31741 ------------------ 31742 - Support for undercurl (|t_Ce|), double underline (|t_Us|), dotted underline 31743 (|t_ds|) and dashed underline (|t_Ds|) termcap entries and 31744 highlight modes (|highlight-term|). 31745 - The 'fillchars' option is now a global-local option and allows to 31746 specify the character used for the last window line. 31747 - The |:vertical| and |:horizontal| modifiers can be used with ":wincmd =" 31748 command to equalize windows vertically or horizontally. 31749 - |:defer| command to defer the execution of a function till the end of a 31750 function. 31751 - Support for closing a tab page using the middle mouse button. 31752 - Sound support in MacOS. 31753 - The |prop_remove()| function can now remove multiple text properties. 31754 - The |items()| function now supports a List or a String argument. 31755 - The |repeat()| function now supports blob repeat. 31756 - Command line completion support for |:runtime| command. 31757 - Support for custom completion using |getcompletion()|. 31758 - Command-line completion support for option values. 31759 - Support for multiple "%=" items in 'statusline'. 31760 - Support for the PmenuKind, PmenuKindSel, PmenuExtra and PmenuExtraSel 31761 highlight groups. 31762 - Text properties can override 'cursorline' highlight. 31763 - Support for echoing messages in a popup window |:echowindow|. 31764 - Control scroll behavior when splitting windows 'splitkeep'. 31765 - Support for mouse scrolling in the MS-Windows console. 31766 - Support for using different keyboard protocols 'keyprotocol' 31767 (xterm |modifyOtherKeys| and Kitty terminal protocol (CSI u) support). 31768 - Support for UTF-16 string index. 31769 - Quickfix list items can have associated custom user data. 31770 - |reverse()| supports reversing a string. 31771 - 'switchbuf' is used by more commands. 31772 - |undotree()| can be used with any buffer. 31773 - |printf()| supports positional arguments. 31774 - |col()|, |charcol()| and |virtcol()| can be used with different windows. 31775 - Support for Python3 stable ABI (|python-stable|). 31776 - Use |jumplist| like a stack 'jumpoptions'. 31777 - Support for writing extended attributes in Linux (|xattr|). 31778 - 'errorformat' supports parsing a buffer number ("%b"). 31779 - Support for building the python interface using Python 3.12. 31780 - |matchaddpos()| is no longer limited to 8 positions. 31781 - |readblob()| allows to read part of a file. 31782 - 'shortmess' allows to suppress "scanning" messages. 31783 - Add the XChaCha20v2 encryption method 'cryptmethod'. 31784 - Add support for testing syntax files. 31785 - Support "**" for filename expansion with bash using globstar setting. 31786 - Add quadruple prime digraph using 4'. 31787 - Better high dpi support on Windows. 31788 - Various fixes for unsafe memory access, memory leaks, buffer overflows 31789 and potential crashes. 31790 - Termdebug: Support for the variables window (|termdebug_variables_window|), 31791 moving up/down the stack frames (|termdebug-frames|) and setting temporary 31792 breakpoints (|:Tbreak|). 31793 - xxd: support for using colors in the hex dump output (xxd -R). 31794 - xxd: reversing a bit dump (xxd -r). 31795 - xxd: customize the variable name used in the C include output (xxd -n). 31796 31797 *changed-9.1* 31798 Changed ~ 31799 ------- 31800 - The features |++builtin_terms|, |+cmdline_info|, |+cmdwin|, |+file_in_path|, 31801 |+float|, |+path_extra|, |+textobjects|, |+wildignore| and |+wildmenu| are 31802 available in all the builds. 31803 - Support for Windows-XP is dropped (starting with v9.0.0496) 31804 - Support for VisVim is removed. 31805 - The "small" and "big" builds are dropped in favor of "tiny" and "huge" 31806 builds. 31807 - Mention the detected 'keyprotocol' on ":verbose map" when listing mappings. 31808 - The optional Content-Type header is removed from the LSP messages. 31809 - |charidx()| returns the character length when the index is one more than the 31810 last byte index. 31811 - Ctrl-Q works like Ctrl-V in replace mode. 31812 - |popup_filter_menu()| now wraps around. 31813 - |popup_create()| now aborts on an error. 31814 - |g<End>| now jumps to the last non-blank character. 31815 - dot and hyphen are supported in highlight group names. 31816 - |executable()| resolves symlinks on MS-Windows. 31817 - Ruby 1.8 support is dropped. 31818 - 'ttyfast' is always set. 31819 - |virtcol2col()| returns the first byte for a multi-byte character. 31820 - |i_CTRL-O| resets Select Mode. 31821 - |mode()| returns more submodes. 31822 - r with CTRL-C on a visual area replaces using CTRL-C consistently. 31823 - The matchparen plugin no longer uses hard coded match id 3. 31824 - The Statusline no longer uses hard coded values "^" and "=" if the 31825 highlighting groups for the statusline have been cleared. 31826 - 'maxfuncdepth' setting is also used for the maximum callback depth. 31827 - Migrate to autoconf 2.71. 31828 - Start using C99 feature (declare variable in for loops). 31829 31830 *added-9.1* 31831 Added ~ 31832 ----- 31833 31834 Various syntax, indent and other plugins were added. 31835 31836 Functions: ~ 31837 31838 |err_teapot()| produce error 418 or 503 31839 |getbufoneline()| get a single line from the specified buffer 31840 |getcellwidths()| get character cell width overrides 31841 |getmouseshape()| get name of the current mouse shape 31842 |getscriptinfo()| get list of sourced vim scripts 31843 |indexof()| index in a List or Blob of a true expression 31844 |instanceof()| check if a variable is an instance of a given class 31845 |keytrans()| translate internal key codes to be usable with |:map| 31846 |popup_findecho()| get window ID for popup used for |:echowindow| 31847 |setcmdline()| set the current command line 31848 |strutf16len()| number of UTF-16 code units in a string 31849 |swapfilelist()| list of existing swap files in 'directory' 31850 |test_mswin_event()| generate an MS-Windows event for testing 31851 |utf16idx()| UTF-16 index of a byte in a string 31852 31853 31854 Autocommands: ~ 31855 31856 |TextChangedT| after a change was made to the text in Terminal mode 31857 |WinResized| after a window in the current tab page is resized 31858 31859 31860 Commands: ~ 31861 31862 |:abstract| declare a Vim9 abstract class 31863 |:class| start of a class declaration 31864 |:defer| call function when current function is done 31865 |:echowindow| same as :echomsg, but use a popup window 31866 |:endinterface| end of an interface declaration 31867 |:endclass| end of a class declaration 31868 |:horizontal| following window command works horizontally 31869 |:interface| start of an interface declaration 31870 |:public| prefix for a class or object member 31871 |:static| prefix for a class member or function 31872 |:this| prefix for an object member 31873 |:type| create a type alias 31874 31875 31876 Options: ~ 31877 31878 'endoffile' write CTRL-Z at end of the file 31879 'jumpoptions' specifies how jumping is done 31880 'keyprotocol' what keyboard protocol to use for what terminal 31881 'lispoptions' changes how Lisp indenting is done 31882 'showcmdloc' where to show (partial) command 31883 'smoothscroll' scroll by screen lines when 'wrap' is set 31884 'splitkeep' determines scroll behavior for split windows 31885 31886 ============================================================================== 31887 PATCHES *patches-9.1* *bug-fixes-9.1* 31888 *patches-after-9.0* 31889 31890 The list of patches that got included since 9.0.0. This includes all the new 31891 features, but does not include runtime file changes (syntax, indent, ftplugin, 31892 documentation, etc.) 31893 31894 Note: authorship and the list of changed files is left out and only visible 31895 through `git log` for each commit. 31896 31897 Patch 9.0.0001 31898 Problem: Travis CI is no longer used. 31899 Solution: Delete the Travis CI configuration. (Hugo Osvaldo Barrera, 31900 closes #10636) 31901 31902 Patch 9.0.0002 31903 Problem: Map functionality outside of map.c. 31904 Solution: Move f_hasmapto() to map.c. Rename a function. (closes #10611) 31905 31906 Patch 9.0.0003 31907 Problem: Functions are global while they could be local. 31908 Solution: Add "static". Add a few tests. (Yegappan Lakshmanan, 31909 closes #10612) 31910 31911 Patch 9.0.0004 31912 Problem: Plural messages not translated properly. 31913 Solution: Use ngettext() in a few more places. (Matvey Tarasov, 31914 closes #10606) 31915 31916 Patch 9.0.0005 31917 Problem: Hare files are not recognized. 31918 Solution: Add a filetype pattern. (Hugo Osvaldo Barrera, closes #10630) 31919 31920 Patch 9.0.0006 31921 Problem: Not all Visual Basic files are recognized. 31922 Solution: Change detection of *.cls files. (Doug Kearns) 31923 31924 Patch 9.0.0007 31925 Problem: No support for double, dotted and dashed underlines. 31926 Solution: Add the termcap entries and highlight modes. (closes #9553) 31927 31928 Patch 9.0.0008 31929 Problem: Cannot specify the variable name for "xxd -i". 31930 Solution: Add the "-name" argument. (David Gow, closes #10599) 31931 31932 Patch 9.0.0009 31933 Problem: Going past the end of a menu item with only modifier. 31934 Solution: Check for NUL. 31935 31936 Patch 9.0.0010 31937 Problem: Returning 0 for has('patch-9.0.0') is inconsistent. 31938 Solution: Make it return 1. (closes #10640) 31939 31940 Patch 9.0.0011 31941 Problem: Reading beyond the end of the line with put command. 31942 Solution: Adjust the end mark position. 31943 31944 Patch 9.0.0012 31945 Problem: Signature files not detected properly. 31946 Solution: Add a function to better detect signature files. (Doug Kearns) 31947 31948 Patch 9.0.0013 31949 Problem: Reproducing memory access errors can be difficult. 31950 Solution: When testing, copy each line to allocated memory, so that valgrind 31951 can detect accessing memory before and/or after it. Fix uncovered 31952 problems. 31953 31954 Patch 9.0.0014 31955 Problem: Missing part of the test override change. 31956 Solution: Add the missing part. 31957 31958 Patch 9.0.0015 31959 Problem: With EXITFREE defined terminal menus are not cleared. 31960 Solution: Also clear terminal menus. Remove condition that is always true. 31961 (closes #10641) 31962 31963 Patch 9.0.0016 31964 Problem: Comparing line pointer for 'breakindent' is not reliable. 31965 Solution: Make a copy of the line. 31966 31967 Patch 9.0.0017 31968 Problem: Accessing memory beyond the end of the line. 31969 Solution: Stop Visual mode when closing a window. 31970 31971 Patch 9.0.0018 31972 Problem: Going over the end of the typeahead. 31973 Solution: Put a NUL after the typeahead. 31974 31975 Patch 9.0.0019 31976 Problem: Timers test not run where possible. 31977 Solution: Adjust platform checks. (closes #10645) 31978 31979 Patch 9.0.0020 31980 Problem: With some completion reading past end of string. 31981 Solution: Check the length of the string. 31982 31983 Patch 9.0.0021 31984 Problem: Invalid memory access when adding word with a control character to 31985 the internal spell word list. 31986 Solution: Disallow adding a word with control characters or a trailing 31987 slash. 31988 31989 Patch 9.0.0022 31990 Problem: Spell test fails. 31991 Solution: Expect new error is given. 31992 31993 Patch 9.0.0023 31994 Problem: On Solaris timer_create() exists but does not work. 31995 Solution: Adjust the configure check to run the test program. 31996 (closes #10647) 31997 31998 Patch 9.0.0024 31999 Problem: May access part of typeahead buf that isn't filled. 32000 Solution: Check length of typeahead. 32001 32002 Patch 9.0.0025 32003 Problem: Accessing beyond allocated memory when using the cmdline window in 32004 Ex mode. 32005 Solution: Use "*" instead of "'<,'>" for Visual mode. 32006 32007 Patch 9.0.0026 32008 Problem: Accessing freed memory with diff put. 32009 Solution: Bail out when diff pointer is no longer valid. 32010 32011 Patch 9.0.0027 32012 Problem: The command line test is getting quite big. 32013 Solution: Move command line window tests to a separate file. 32014 32015 Patch 9.0.0028 32016 Problem: MS-Windows: tests fail if there is a stray "runtime" directory. 32017 Solution: Only use a "runtime" directory if it contains "defaults.vim". 32018 32019 Patch 9.0.0029 32020 Problem: The bitmaps/vim.ico file is not in the distribution. 32021 Solution: Add it back to the distribution. Adjust the build rules to have 32022 it end up in the right place. 32023 32024 Patch 9.0.0030 32025 Problem: Matchfuzzy test depends on path of current directory. 32026 Solution: Use fnamemodify() to remove the path. (Robin Becker, 32027 closes #10650) 32028 32029 Patch 9.0.0031 32030 Problem: <cmod> of user command does not have correct verbose value. 32031 Solution: Use the value from the command modifier. (closes #10651) 32032 32033 Patch 9.0.0032 32034 Problem: In the quickfix window 'cursorline' overrules QuickFixLine 32035 highlighting. 32036 Solution: Combine the attributes. Add a test. (closes #10654) 32037 32038 Patch 9.0.0033 32039 Problem: On a Belgian keyboard CTRL-[ does not work. 32040 Solution: Handle GDK_KEY_dead_circumflex. (Anton Sharonov, closes #10658) 32041 32042 Patch 9.0.0034 32043 Problem: Spell tests do not always clear the word list. 32044 Solution: Clear the word list in TearDown(). (closes #10659) 32045 32046 Patch 9.0.0035 32047 Problem: Spell dump may go beyond end of an array. 32048 Solution: Limit the word length. 32049 32050 Patch 9.0.0036 32051 Problem: 'fillchars' cannot have window-local values. 32052 Solution: Make 'fillchars' global-local. (closes #5206) 32053 32054 Patch 9.0.0037 32055 Problem: Build error. 32056 Solution: Add missing change. 32057 32058 Patch 9.0.0038 32059 Problem: 'listchars' test fails. 32060 Solution: Use window-local value after setting the global value 32061 32062 Patch 9.0.0039 32063 Problem: Not all systems have GDK_KEY_dead_circumflex. (Hisashi T Fujinaka) 32064 Solution: Add an #ifdef. 32065 32066 Patch 9.0.0040 32067 Problem: Use of set_chars_option() is confusing. 32068 Solution: Add "apply" argument to store the result or not. Merge similar 32069 code. 32070 32071 Patch 9.0.0041 32072 Problem: A couple of filetype patterns do not have "*" before "/etc". 32073 Solution: Add the star. (Jonas Strittmatter, closes #10662) 32074 32075 Patch 9.0.0042 32076 Problem: Missing change for filetype detection. 32077 Solution: Include change to detect guile from shebang line. 32078 32079 Patch 9.0.0043 32080 Problem: Insufficient testing for bracket commands. 32081 Solution: Add a few more tests. (closes #10668) 32082 32083 Patch 9.0.0044 32084 Problem: Typos in comments, wrapping lines. 32085 Solution: Adjust comments. Wrap lines. 32086 32087 Patch 9.0.0045 32088 Problem: Reading past end of completion with a long line and 'infercase' 32089 set. 32090 Solution: Allocate the string if needed. 32091 32092 Patch 9.0.0046 32093 Problem: Reading past end of completion with duplicate match. 32094 Solution: Check string length 32095 32096 Patch 9.0.0047 32097 Problem: Using freed memory with recursive substitute. 32098 Solution: Always make a copy for reg_prev_sub. 32099 32100 Patch 9.0.0048 32101 Problem: Cursor in wrong column with mouse click after concealed text. 32102 Solution: Store the text column when drawing text. 32103 32104 Patch 9.0.0049 32105 Problem: Csv and tsv files are not recognized. 32106 Solution: Add patterns for csv and tsv files. (Leandro Lourenci, 32107 closes #10680) 32108 32109 Patch 9.0.0050 32110 Problem: Split else-of is confusing. 32111 Solution: Join the lines. (closes #10696) 32112 32113 Patch 9.0.0051 32114 Problem: Using CTRL-C with :append may hang Vim. 32115 Solution: Reset got_int. (closes #10729, closes #10728) 32116 32117 Patch 9.0.0052 32118 Problem: "zG" may throw an error if invalid character follows. 32119 Solution: Pass the word length to valid_spell_word(). (Ken Takata, 32120 closes #10737) 32121 32122 Patch 9.0.0053 32123 Problem: E1281 not tested with the old regexp engine. 32124 Solution: Loop over the values of 'regexp'. (Dominique Pellé, closes #10695) 32125 32126 Patch 9.0.0054 32127 Problem: Compiler warning for size_t to int conversion. 32128 Solution: Add type cast. (Mike Williams, closes #10741) 32129 32130 Patch 9.0.0055 32131 Problem: Bitbake files are not detected. 32132 Solution: Add bitbake filetype detection by file name and contents. (Gregory 32133 Anders, closes #10697) 32134 32135 Patch 9.0.0056 32136 Problem: Wrong line number reported when :cexpr fails in :def function. 32137 Solution: Set line_number before executing :cexpr. (closes #10735) 32138 32139 Patch 9.0.0057 32140 Problem: has('patch-xxx') returns true. 32141 Solution: Check for digit. (closes #10751) 32142 32143 Patch 9.0.0058 32144 Problem: Win32: cannot test low level events. 32145 Solution: Add "sendevent" to test_gui_event(). (Yegappan Lakshmanan, 32146 closes #10679) 32147 32148 Patch 9.0.0059 32149 Problem: Test file has wrong name. 32150 Solution: Rename the file. Various small fixes. (closes #10674) 32151 32152 Patch 9.0.0060 32153 Problem: Accessing uninitialized memory when completing long line. 32154 Solution: Terminate string with NUL. 32155 32156 Patch 9.0.0061 32157 Problem: ml_get error with nested autocommand. 32158 Solution: Also check line numbers for a nested autocommand. (closes #10761) 32159 32160 Patch 9.0.0062 32161 Problem: Compiler warnings for signed/unsigned char. 32162 Solution: Add type casts. (John Marriott) 32163 32164 Patch 9.0.0063 32165 Problem: Too many type casts for dict_get functions. 32166 Solution: Change the key argument from "char_u *" to "char *". 32167 32168 Patch 9.0.0064 32169 Problem: Confusing error when using "q:" in command line window. 32170 Solution: Check for the situation and give a better error message. 32171 (closes #10756) 32172 32173 Patch 9.0.0065 32174 Problem: Cross-compiling doesn't work because of timer_create check. 32175 Solution: Use AC_CACHE_CHECK(). (Richard Purdie, closes #10777) 32176 32177 Patch 9.0.0066 32178 Problem: Switching window unnecessarily when getting buffer options. 32179 Solution: Do not switch window when getting buffer options. (closes #10767) 32180 32181 Patch 9.0.0067 32182 Problem: Cannot show virtual text. 32183 Solution: Initial changes for virtual text support, using text properties. 32184 32185 Patch 9.0.0068 32186 Problem: Build fails with tiny features. 32187 Solution: Add #ifdef. 32188 32189 Patch 9.0.0069 32190 Problem: Leaking memory when using text prop with inserted text. 32191 Solution: Clear the growarray with text. 32192 32193 Patch 9.0.0070 32194 Problem: Using utfc_ptr2char_len() when length is negative. 32195 Solution: Check value of length. (closes #10760) 32196 32197 Patch 9.0.0071 32198 Problem: Command overlaps with printed text in scrollback. 32199 Solution: Clear until end-of-line and use correct message chunk. 32200 (closes #10765, closes #10764) 32201 32202 Patch 9.0.0072 32203 Problem: Compiler warning for uninitialized variable. 32204 Solution: Initialize it. (John Marriott) 32205 32206 Patch 9.0.0073 32207 Problem: Too many files recognized as bsdl. 32208 Solution: Use pattern "*.bsd" instead of "*bsd". (Martin Tournoij, 32209 closes #10783) 32210 32211 Patch 9.0.0074 32212 Problem: Coverity warns for double free. 32213 Solution: Reset cts_text_prop_count when freeing cts_text_props. 32214 32215 Patch 9.0.0075 32216 Problem: Some compilers warn for using an uninitialized variable. (Tony 32217 Mechelynck) 32218 Solution: Initialize the variable. 32219 32220 Patch 9.0.0076 32221 Problem: No test for what patch 8.1.1424 fixes. 32222 Solution: Add a test. (closes #10789) 32223 32224 Patch 9.0.0077 32225 Problem: When switching window in autocmd the restored cursor position may 32226 be wrong. 32227 Solution: Do not restore the cursor if it was not set. (closes #10775) 32228 32229 Patch 9.0.0078 32230 Problem: Star register is changed when deleting and both "unnamed" and 32231 "unnamedplus" are in 'clipboard'. 32232 Solution: Make the use of the star register work as documented. (Ernie Rael, 32233 closes #10669) 32234 32235 Patch 9.0.0079 32236 Problem: Error in autoload script not reported for 'foldexpr'. 32237 Solution: Reset "emsg_off" when auto-loading a script. (closes #10685) 32238 32239 Patch 9.0.0080 32240 Problem: Compiler warning for size_t to int conversion. 32241 Solution: Add type casts. (Mike Williams, closes #10795) 32242 32243 Patch 9.0.0081 32244 Problem: Command line completion of user command may have duplicates. 32245 (Dani Dickstein) 32246 Solution: Skip global user command if an identical buffer-local one is 32247 defined. (closes #10797) 32248 32249 Patch 9.0.0082 32250 Problem: Cannot interrupt global command from command line. 32251 Solution: Reset got_int in another place. (closes #10739) 32252 32253 Patch 9.0.0083 32254 Problem: ModeChanged event not triggered when leaving the cmdline window. 32255 Solution: Call may_trigger_modechanged(). (closes #10791) 32256 32257 Patch 9.0.0084 32258 Problem: Using "terraform" filetype for .tfvars file is bad. 32259 Solution: use "terraform-vars", so that different completion and other 32260 mechanisms can be used. (Radek Simko, closes #10755) 32261 32262 Patch 9.0.0085 32263 Problem: ":write" fails after ":file name" and the ":edit". 32264 Solution: Reset BF_NOTEDITED when using ":edit". (closes #10790) 32265 32266 Patch 9.0.0086 32267 Problem: Tabline is not redrawn when entering command line. 32268 Solution: Set "redraw_tabline". (closes #10771) 32269 32270 Patch 9.0.0087 32271 Problem: MS-Windows: CTRL-[ on Belgian keyboard does not work like Esc. 32272 Solution: Figure out what the key code means. (Anton Sharonov, 32273 closes #10687, closes #10454) 32274 32275 Patch 9.0.0088 32276 Problem: Pattern for detecting bitbake files is not sufficient. 32277 Solution: Adjust the pattern. (Gregory Anders, closes #10743) 32278 32279 Patch 9.0.0089 32280 Problem: Fuzzy argument completion doesn't work for shell commands. 32281 Solution: Check for cmdidx not being CMD_bang. (Yegappan Lakshmanan, 32282 closes #10769) 32283 32284 Patch 9.0.0090 32285 Problem: No error when assigning bool to a string option with setwinvar(). 32286 Solution: Give an error (closes #10766) 32287 32288 Patch 9.0.0091 32289 Problem: Duplicate error number. 32290 Solution: Use unique error number. 32291 32292 Patch 9.0.0092 32293 Problem: Plugins cannot change v:completed_item. 32294 Solution: Make v:completed_item writeable. (Shougo Matsushita, 32295 closes #10801) 32296 32297 Patch 9.0.0093 32298 Problem: Sway config files are recognized as i3config. 32299 Solution: Recognize swayconfig separately. (James Eapen, closes #10672) 32300 32301 Patch 9.0.0094 32302 Problem: Cursor restored unexpected with nested autocommand. 32303 Solution: Do not restore the cursor when it was moved intentionally. 32304 (closes #10780) 32305 32306 Patch 9.0.0095 32307 Problem: Conditions are always true. 32308 Solution: Remove useless conditions. (closes #10802) 32309 32310 Patch 9.0.0096 32311 Problem: Flag "new_value_alloced" is always true. 32312 Solution: Remove "new_value_alloced". (closes #10792) 32313 32314 Patch 9.0.0097 32315 Problem: Long quickfix line is truncated for :clist. 32316 Solution: Allocate a buffer if needed. 32317 32318 Patch 9.0.0098 32319 Problem: missing include file in timer_create configure check. 32320 Solution: Include stdlib.h. 32321 32322 Patch 9.0.0099 32323 Problem: Scrollback can be wrong after redrawing the command line. 32324 Solution: Clear unfinished scrollback when redrawing. (closes #10807) 32325 32326 Patch 9.0.0100 32327 Problem: Get hit-enter prompt for system() when '!' is in 'guioptions'. 32328 Solution: Do not call wait_return() when not redrawing. (closes #3327) 32329 32330 Patch 9.0.0101 32331 Problem: Invalid memory access in diff mode with "dp" and undo. 32332 Solution: Make sure the line number does not go below one. 32333 32334 Patch 9.0.0102 32335 Problem: Reading past end of line with insert mode completion. 32336 Solution: Check text length. 32337 32338 Patch 9.0.0103 32339 Problem: If running configure with cached results -lrt may be missing. 32340 Solution: Use two cache variables, one without and one with -lrt. 32341 (closes #10799) Swap checks to avoid adding -lrt unnecessarily. 32342 32343 Patch 9.0.0104 32344 Problem: Going beyond allocated memory when evaluating string constant. 32345 Solution: Properly skip over <Key> form. 32346 32347 Patch 9.0.0105 32348 Problem: Illegal memory access when pattern starts with illegal byte. 32349 Solution: Do not match a character with an illegal byte. 32350 32351 Patch 9.0.0106 32352 Problem: Illegal byte regexp test doesn't fail when fix is reversed. 32353 Solution: Make sure illegal bytes end up in sourced script file. 32354 32355 Patch 9.0.0107 32356 Problem: Condition always has the same value. 32357 Solution: Remove the condition. 32358 32359 Patch 9.0.0108 32360 Problem: Configure check for timer_create may give wrong error. 32361 Solution: Give a warning instead of an error. 32362 32363 Patch 9.0.0109 32364 Problem: Writing over the end of a buffer on stack when making list of 32365 spell suggestions. 32366 Solution: Make sure suggested word is not too long. (closes #10812) 32367 32368 Patch 9.0.0110 32369 Problem: Help tag generation picks up words in code examples. 32370 Solution: Skip over examples. (Carlo Teubner, closes #10813) 32371 32372 Patch 9.0.0111 32373 Problem: "nocombine" is missing from synIDattr(). 32374 Solution: Add "nocombine". (Muni Tanjim, closes #10816) 32375 32376 Patch 9.0.0112 32377 Problem: MS-Windows: test fails because file already exists. 32378 Solution: Wait a little while until the file is gone. 32379 32380 Patch 9.0.0113 32381 Problem: has() is not strict about parsing the patch version. 32382 Solution: Check the version more strictly. (Ken Takata, closes #10752) 32383 32384 Patch 9.0.0114 32385 Problem: The command line takes up space even when not used. 32386 Solution: Allow for 'cmdheight' to be set to zero. (Shougo Matsushita, 32387 closes #10675, closes #940) 32388 32389 Patch 9.0.0115 32390 Problem: When 'cmdheight' is zero pressing ':' may scroll a window. 32391 Solution: Add the made_cmdheight_nonzero flag and set 'scrolloff' to zero. 32392 32393 Patch 9.0.0116 32394 Problem: Virtual text not displayed if 'signcolumn' is "yes". 32395 Solution: Set c_extra and c_final to NUL. 32396 32397 Patch 9.0.0117 32398 Problem: Text of removed textprop with text is not freed. 32399 Solution: Free the text when the property is removed. Reduce the array size 32400 to ignore NULLs at the end. 32401 32402 Patch 9.0.0118 32403 Problem: No test for what patch 9.0.0155 fixes. 32404 Solution: Add a test. Fix typos. (closes #10822) 32405 32406 Patch 9.0.0119 32407 Problem: Tiny chance that creating a backup file fails. 32408 Solution: Check for EEXIST error. (Ken Takata, closes #10821) 32409 32410 Patch 9.0.0120 32411 Problem: MS-Windows GUI: cannot use AltGr + Space. 32412 Solution: Check for VK_MENU instead of VK_LMENU. (Anton Sharonov, 32413 closes #10820, closes #10753) 32414 32415 Patch 9.0.0121 32416 Problem: Cannot put virtual text after or below a line. 32417 Solution: Add "text_align" and "text_wrap" arguments. 32418 32419 Patch 9.0.0122 32420 Problem: Breakindent test fails. 32421 Solution: Fix condition. 32422 32423 Patch 9.0.0123 32424 Problem: Cannot build with small features. 32425 Solution: Add #ifdef. 32426 32427 Patch 9.0.0124 32428 Problem: Code has more indent than needed. 32429 Solution: Use continue and return statements. (closes #10824) 32430 32431 Patch 9.0.0125 32432 Problem: Cursor positioned wrong with virtual text after the line. 32433 Solution: Clear cts_with_trailing. 32434 32435 Patch 9.0.0126 32436 Problem: Expanding file names fails in directory with more than 255 32437 entries. 32438 Solution: Use an int instead of char_u to count. (John Drouhard, 32439 closes #10818) 32440 32441 Patch 9.0.0127 32442 Problem: Unused variable. 32443 Solution: Remove the variable. (closes #10829) 32444 32445 Patch 9.0.0128 32446 Problem: Coverity complains about possible double free. 32447 Solution: Clear the pointer to avoid warnings. 32448 32449 Patch 9.0.0129 32450 Problem: Compiler warning for int/size_t usage. 32451 Solution: Add a type cast. (Mike Williams, closes #10830) 32452 32453 Patch 9.0.0130 32454 Problem: Cursor position wrong when inserting around virtual text. 32455 Solution: Update the cursor position properly. 32456 32457 Patch 9.0.0131 32458 Problem: Virtual text with Tab is not displayed correctly. 32459 Solution: Change any Tab to a space. 32460 32461 Patch 9.0.0132 32462 Problem: Multi-byte characters in virtual text not handled correctly. 32463 Solution: Count screen cells instead of bytes. 32464 32465 Patch 9.0.0133 32466 Problem: Virtual text after line moves to joined line. (Yegappan 32467 Lakshmanan) 32468 Solution: When joining lines only keep virtual text after the last line. 32469 32470 Patch 9.0.0134 32471 Problem: No test for text property with column zero. 32472 Solution: Add a test. Add message to assert for no open popups. 32473 32474 Patch 9.0.0135 32475 Problem: Comment about tabpage line above the wrong code. 32476 Solution: Move the comment. (closes #10836) 32477 32478 Patch 9.0.0136 32479 Problem: After CTRL-Left-mouse click a mouse scroll also has CTRL. 32480 Solution: Reset orig_mouse_code also for wheel events. (closes #10840) 32481 32482 Patch 9.0.0137 32483 Problem: Debugger test may fail when $CWD is very long. 32484 Solution: Skip the test if the directory name is too long. (James McCoy, 32485 closes #10837) 32486 32487 Patch 9.0.0138 32488 Problem: Not enough characters accepted for 'spellfile'. 32489 Solution: Add vim_is_fname_char() and use it for 'spellfile'. 32490 32491 Patch 9.0.0139 32492 Problem: Truncating virtual text after a line not implemented. 32493 Cursor positioning wrong with Newline in the text. 32494 Solution: Implement truncating. Disallow control characters in the text. 32495 (closes #10842) 32496 32497 Patch 9.0.0140 32498 Problem: execute() does not use the "legacy" command modifier. 32499 Solution: pass the command modifier in sticky_cmdmod_flags. (Kota Kato, 32500 closes #10845) 32501 32502 Patch 9.0.0141 32503 Problem: "delmenu" does not remove autocommands. Running menu test function 32504 alone fails. 32505 Solution: Delete autocommands Make sure there is at least one menu. 32506 (closes #10848) 32507 32508 Patch 9.0.0142 32509 Problem: Crash when adding and removing virtual text. (Ben Jackson) 32510 Solution: Check that the text of the text property still exists. 32511 32512 Patch 9.0.0143 32513 Problem: Cursor positioned after virtual text in empty line. 32514 Solution: Keep cursor in the first column. (closes #10786) 32515 32516 Patch 9.0.0144 32517 Problem: Text property cannot override 'cursorline' highlight. 32518 Solution: Add the "override" flag to prop_type_add(). (closes #5533, 32519 closes #8225). 32520 32521 Patch 9.0.0145 32522 Problem: Substitute that joins lines drops text properties. 32523 Solution: Move text properties of the last line to the new line. 32524 32525 Patch 9.0.0146 32526 Problem: Missing part of change for "override" flag. 32527 Solution: Add the missing change. 32528 32529 Patch 9.0.0147 32530 Problem: Cursor positioned wrong after two text properties with virtual 32531 text and "below" alignment. (Tim Pope) 32532 Solution: Do not stop after a text property using MAXCOL. (closes #10849) 32533 32534 Patch 9.0.0148 32535 Problem: A "below" aligned text property gets 'showbreak' displayed. 32536 Solution: Do not use 'showbreak' before or in virtual text. (issue #10851) 32537 32538 Patch 9.0.0149 32539 Problem: Test for fuzzy completion fails sometimes. 32540 Solution: Use a more specific file name to minimize the chance of matching a 32541 random directory name. (closes #10854) 32542 32543 Patch 9.0.0150 32544 Problem: Error for using #{ in an expression is a bit confusing. 32545 Solution: Mention that this error is only given for an expression. 32546 Avoid giving the error more than once. (closes #10855) 32547 32548 Patch 9.0.0151 32549 Problem: A "below" aligned text property does not work with 'nowrap'. 32550 Solution: Start a new screen line to display the virtual text. 32551 (closes #10851) 32552 32553 Patch 9.0.0152 32554 Problem: Warning for unused argument in small build. 32555 Solution: Add "UNUSED". 32556 32557 Patch 9.0.0153 32558 Problem: No fold and sign column for virtual text with "below" align and 32559 'nowrap'. 32560 Solution: Go back to draw state WL_START when moving to the next line. 32561 (closes #10851) 32562 32563 Patch 9.0.0154 32564 Problem: Text properties wrong after splitting a line. 32565 Solution: Check for text properties after the line. (closes #10857) 32566 32567 Patch 9.0.0155 32568 32569 Patch 9.0.0156 32570 Problem: Giving E1170 only in an expression is confusing. 32571 Solution: Give E1170 for any "#{ comment". (closes #10855) 32572 32573 Patch 9.0.0157 32574 Problem: 'showbreak' displayed below truncated "after" text prop. 32575 Solution: Suppress 'showbreak' when "after" prop doesn't wrap. 32576 32577 Patch 9.0.0158 32578 Problem: With 'nowrap' "below" property not displayed correctly. 32579 Solution: Adjust virtual text with 'nowrap', do not truncate. 32580 32581 Patch 9.0.0159 32582 Problem: Cannot build with small features. 32583 Solution: Check for E1170 only with FEAT_EVAL. 32584 32585 Patch 9.0.0160 32586 Problem: Some diff mode tests fail. 32587 Solution: Only advance "ptr" when a text property follows. 32588 32589 Patch 9.0.0161 32590 Problem: Warning for uninitialized variable. (Tony Mechelynck) 32591 Solution: Initialize line_attr_save. 32592 32593 Patch 9.0.0162 32594 Problem: Text property "below" gets indent if 'breakindent' is set. (Tim 32595 Pope) 32596 Solution: Do not put indent before text property. (closes #10859) 32597 32598 Patch 9.0.0163 32599 Problem: Text property not adjusted for text inserted with "p". 32600 Solution: Adjust column and length of text properties. 32601 32602 Patch 9.0.0164 32603 Problem: Using freed memory with put command. 32604 Solution: Get byte offset before replacing the line. 32605 32606 Patch 9.0.0165 32607 Problem: Looking up a text property type by ID is slow. 32608 Solution: Keep an array of property types sorted on ID. 32609 32610 Patch 9.0.0166 32611 Problem: When using text properties the line text length is computed twice. 32612 Solution: If the text length was already computed don't do it again. 32613 32614 Patch 9.0.0167 32615 Problem: Checking for text properties could be a bit more efficient. 32616 Solution: Return early when there are no text properties. Update TODO 32617 items. 32618 32619 Patch 9.0.0168 32620 Problem: Cursor positioned wrong with two virtual text properties close 32621 together. (Ben Jackson) 32622 Solution: Add the original size, not the computed one. (closes #10864) 32623 32624 Patch 9.0.0169 32625 Problem: Insufficient testing for line2byte() with text properties. 32626 Solution: Add tests with a lot of text. 32627 32628 Patch 9.0.0170 32629 Problem: Various minor code formatting issues. 32630 Solution: Improve code formatting. 32631 32632 Patch 9.0.0171 32633 Problem: Quickfix line highlight is overruled by 'cursorline'. 32634 Solution: Reverse the combination of attributes. (closes #10654) 32635 32636 Patch 9.0.0172 32637 Problem: Trying to allocate zero bytes. 32638 Solution: Do not allocate the proptype array when there are none. 32639 (closes #10867) 32640 32641 Patch 9.0.0173 32642 Problem: Assert fails only on MS-Windows. 32643 Solution: Disable the assert for now. 32644 32645 Patch 9.0.0174 32646 Problem: No error for using "#{ comment" in a compiled function. 32647 Solution: Make error checking for "#{" consistent. (closes #10855) 32648 32649 Patch 9.0.0175 32650 Problem: Spell checking for capital not working with trailing space. 32651 Solution: Do not calculate cap_col at the end of the line. (Christian 32652 Brabandt, closes #10870, issue #10838) 32653 32654 Patch 9.0.0176 32655 Problem: Checking character options is duplicated and incomplete. 32656 Solution: Move checking to check_chars_options(). (closes #10863) 32657 32658 Patch 9.0.0177 32659 Problem: Cursor position wrong with 'virtualedit' and mouse click after end 32660 of the line. (Hermann Mayer) 32661 Solution: Do not use ScreenCols[] when 'virtualedit' is active. 32662 (closes #10868) 32663 32664 Patch 9.0.0178 32665 Problem: Cursor position wrong with virtual text before Tab. 32666 Solution: Use the byte length, not the cell with, to compare the column. 32667 Correct tab size after text prop. (closes #10866) 32668 32669 Patch 9.0.0179 32670 Problem: Cursor position wrong with wrapping virtual text in empty line. 32671 Solution: Adjust handling of an empty line. (closes #10875) 32672 32673 Patch 9.0.0180 32674 Problem: Stray logfile appears when running tests. 32675 Solution: Remove ch_logfile() calls. 32676 32677 Patch 9.0.0181 32678 Problem: Textprop test with line2byte() fails on MS-Windows. 32679 Solution: Fix updating chunks in ml_delete_int(). 32680 32681 Patch 9.0.0182 32682 Problem: Quarto files are not recognized. 32683 Solution: Recognize quarto files by the extension. (Jonas Strittmatter, 32684 closes #10880) 32685 32686 Patch 9.0.0183 32687 Problem: Extra space after virtual text when 'linebreak' is set. 32688 Solution: Do not count virtual text when getting linebreak value. 32689 (closes #10884) 32690 32691 Patch 9.0.0184 32692 Problem: Virtual text prop highlight continues after truncation. 32693 Solution: Recompute the length of attributes. 32694 32695 Patch 9.0.0185 32696 Problem: Virtual text does not show if there is a text prop at same 32697 position. (Ben Jackson) 32698 Solution: Fix the sorting of properties. (closes #10879) 32699 32700 Patch 9.0.0186 32701 Problem: Virtual text without highlighting does not show. (Ben Jackson) 32702 Solution: Use a text property when it has highlighting or when it has text. 32703 (closes #10878) 32704 32705 Patch 9.0.0187 32706 Problem: Command line height changes when maximizing window height. 32707 Solution: Do not change the command line height. (closes #10885) 32708 32709 Patch 9.0.0188 32710 Problem: Strange effects when using virtual text with "text_align" and 32711 non-zero column. (Martin Tournoij) 32712 Solution: Give an error. (closes #10888) 32713 32714 Patch 9.0.0189 32715 Problem: Invalid memory access for text prop without highlight. 32716 Solution: Check for a valid highlight ID. 32717 32718 Patch 9.0.0190 32719 Problem: The way 'cmdheight' can be made zero is inconsistent. 32720 Solution: Only make 'cmdheight' zero when setting it explicitly, not when 32721 resizing windows. (closes #10890) 32722 32723 Patch 9.0.0191 32724 Problem: Messages test fails; window size incorrect when 'cmdheight' is 32725 made smaller. 32726 Solution: Properly cleanup after test with cmdheight zero. Resize windows 32727 correctly when 'cmdheight' gets smaller. 32728 32729 Patch 9.0.0192 32730 Problem: Possible invalid memory access when 'cmdheight' is zero. (Martin 32731 Tournoij) 32732 Solution: Avoid going over the end of w_lines[] when w_height is Rows. 32733 (closes #10882) 32734 32735 Patch 9.0.0193 32736 Problem: Search and match highlight interfere with virtual text highlight. 32737 (Ben Jackson) 32738 Solution: Check for match highlight after text properties. Reset and 32739 restore search highlight when showing virtual text. 32740 (closes #10892) 32741 32742 Patch 9.0.0194 32743 Problem: Cursor displayed in wrong position after removing text prop. (Ben 32744 Jackson) 32745 Solution: Invalidate the cursor position. (closes #10898) 32746 32747 Patch 9.0.0195 32748 Problem: Metafun files are not recognized. 32749 Solution: Add filetype detection patterns. 32750 32751 Patch 9.0.0196 32752 Problem: Finding value in list may require a for loop. 32753 Solution: Add indexof(). (Yegappan Lakshmanan, closes #10903) 32754 32755 Patch 9.0.0197 32756 Problem: Astro files are not detected. 32757 Solution: Add a pattern to match Astro files. (Emilia Zapata, closes #10904) 32758 32759 Patch 9.0.0198 32760 Problem: ml_get error when switching buffer in Visual mode. 32761 Solution: End Visual mode when switching buffer. (closes #10902) 32762 32763 Patch 9.0.0199 32764 Problem: Cursor position wrong with two right-aligned virtual texts. 32765 Solution: Add the padding for right-alignment. (issue #10906) 32766 32767 Patch 9.0.0200 32768 Problem: cursor in a wrong position if 'wrap' is off and using two right 32769 aligned text props in one line. 32770 Solution: Count an extra line for a right aligned text property after a 32771 below or right aligned text property. (issue #10909) 32772 32773 Patch 9.0.0201 32774 Problem: CursorLine highlight overrules virtual text highlight. 32775 Solution: Let extra attribute overrule line attribute. (closes #10909) 32776 32777 Patch 9.0.0202 32778 Problem: Code and help for indexof() is not ideal. 32779 Solution: Refactor the code, improve the help. (Yegappan Lakshmanan, 32780 closes #10908) 32781 32782 Patch 9.0.0203 32783 Problem: Confusing variable name. 32784 Solution: Use "prim_aep" instead of "spell_aep". 32785 32786 Patch 9.0.0204 32787 Problem: indexof() may leak memory. 32788 Solution: Free allocated values. (Yegappan Lakshmanan, closes #10916) 32789 32790 Patch 9.0.0205 32791 Problem: Cursor in wrong position when inserting after virtual text. (Ben 32792 Jackson) 32793 Solution: Put the cursor after the virtual text, where the text will be 32794 inserted. (closes #10914) 32795 32796 Patch 9.0.0206 32797 Problem: Redraw flags are not named specifically. 32798 Solution: Prefix "UPD_" to the flags, for UPDate_screen(). 32799 32800 Patch 9.0.0207 32801 Problem: Stacktrace not shown when debugging. 32802 Solution: Set msg_scroll in msg_source(). (closes #10917) 32803 32804 Patch 9.0.0208 32805 Problem: The override flag has no effect for virtual text. (Ben Jackson) 32806 Solution: Make the override flag work. (closes #10915) 32807 32808 Patch 9.0.0209 32809 Problem: Build error with small features. 32810 Solution: Add #ifdef. 32811 32812 Patch 9.0.0210 32813 Problem: 'list' mode does not work properly with virtual text. 32814 Solution: Show the "$" at the right position. (closes #10913) 32815 32816 Patch 9.0.0211 32817 Problem: Invalid memory access when compiling :lockvar. 32818 Solution: Don't read past the end of the line. 32819 32820 Patch 9.0.0212 32821 Problem: Invalid memory access when compiling :unlet. 32822 Solution: Don't read past the end of the line. 32823 32824 Patch 9.0.0213 32825 Problem: Using freed memory with error in assert argument. 32826 Solution: Make a copy of the error. 32827 32828 Patch 9.0.0214 32829 Problem: Splitting a line may duplicate virtual text. (Ben Jackson) 32830 Solution: Don't duplicate a text property with virtual text. Make 32831 auto-indenting work better. (closes #10919) 32832 32833 Patch 9.0.0215 32834 Problem: Not passing APC_INDENT flag. 32835 Solution: Pass the flag where it's needed. 32836 32837 Patch 9.0.0216 32838 Problem: Undo earlier test sometimes fails on MS-Windows. 32839 Solution: Use another file name. 32840 32841 Patch 9.0.0217 32842 Problem: 'shellslash' works differently when sourcing a script again. 32843 Solution: Use the name from the script item. (closes #10920) 32844 32845 Patch 9.0.0218 32846 Problem: Reading before the start of the line. 32847 Solution: When displaying "$" check the column is not negative. 32848 32849 Patch 9.0.0219 32850 Problem: Cannot make a funcref with "s:func" in a def function in legacy 32851 script. 32852 Solution: Allow for using a lower case function name after "s:". (Kota Kato, 32853 closes #10926) 32854 32855 Patch 9.0.0220 32856 Problem: Invalid memory access with for loop over NULL string. 32857 Solution: Make sure mb_ptr2len() consistently returns zero for NUL. 32858 32859 Patch 9.0.0221 32860 Problem: Accessing freed memory if compiling nested function fails. 32861 Solution: Mess up the variable name so that it won't be found. 32862 32863 Patch 9.0.0222 32864 Problem: No good reason why text objects are only in larger builds. 32865 Solution: Graduate +textobjects. 32866 32867 Patch 9.0.0223 32868 Problem: Typo in diffmode test. 32869 Solution: Fix the typo. (closes #10932) 32870 32871 Patch 9.0.0224 32872 Problem: Using NULL pointer when skipping compiled code. 32873 Solution: Check for skipping. 32874 32875 Patch 9.0.0225 32876 Problem: Using freed memory with multiple line breaks in expression. 32877 Solution: Free eval_tofree later. 32878 32879 Patch 9.0.0226 32880 Problem: job_start() test may fail under valgrind. 32881 Solution: Wait until the job is running. 32882 32883 Patch 9.0.0227 32884 Problem: Cannot read error message when abort() is called. 32885 Solution: Output a newline before calling abort(). 32886 32887 Patch 9.0.0228 32888 Problem: Crash when pattern looks below the last line. 32889 Solution: Consider invalid lines to be empty. (closes #10938) 32890 32891 Patch 9.0.0229 32892 Problem: Vim9: error message for missing type is not clear. 32893 Solution: Mention the context. (issue #10944) 32894 32895 Patch 9.0.0230 32896 Problem: No error for comma missing in list in :def function. 32897 Solution: Check for missing comma. (closes #10943) 32898 32899 Patch 9.0.0231 32900 Problem: Expanding "**" may loop forever with directory links. 32901 Solution: Check for being interrupted. (closes #10946) 32902 32903 Patch 9.0.0232 32904 Problem: Test with BufNewFile autocmd is flaky. 32905 Solution: Use another file name. 32906 32907 Patch 9.0.0233 32908 Problem: Removing multiple text properties takes many calls. 32909 Solution: Pass a list to prop_remove(). (Ben Jackson, closes #10945) 32910 32911 Patch 9.0.0234 32912 Problem: Cannot make difference between the end of :normal and a character 32913 in its argument. 32914 Solution: Add the "typebuf_was_empty" flag. (closes #10950) 32915 32916 Patch 9.0.0235 32917 Problem: 'autoshelldir' does not work with chunked response. 32918 Solution: Collect chunks before parsing OSC 7. (closes #10949) 32919 32920 Patch 9.0.0236 32921 Problem: Popup menu not removed when 'wildmenu' reset while it is visible. 32922 Solution: Do not check p_wmnu, only pum_visible(). (closes #10953) 32923 32924 Patch 9.0.0237 32925 Problem: Mac: cannot build if dispatch.h is not available. 32926 Solution: Add #ifdef. (Evan Miller, closes #10954) 32927 32928 Patch 9.0.0238 32929 Problem: Shift-Tab shows matches on cmdline when 'wildmenu' is off. 32930 Solution: Only show matches when 'wildmode' contains "list". (closes #10951) 32931 32932 Patch 9.0.0239 32933 Problem: Build failure without the +wildmenu feature. 32934 Solution: Move parenthesis. 32935 32936 Patch 9.0.0240 32937 Problem: Crash when using ":mkspell" with an empty .dic file. 32938 Solution: Check for an empty word tree. 32939 32940 Patch 9.0.0241 32941 Problem: "make install" does not install shared syntax file. (James McCoy) 32942 Solution: Install and uninstall the shared syntax files. (closes #10956) 32943 32944 Patch 9.0.0242 32945 Problem: "make install" still fails. (Wilhelm Payne) 32946 Solution: Also add the directory to installrtbase. (Dominique Pellé) 32947 32948 Patch 9.0.0243 32949 Problem: Text properties "below" sort differently on MS-Windows. 32950 Solution: Use the ID as a tie breaker. (closes #10958) 32951 32952 Patch 9.0.0244 32953 Problem: Cannot easily get the list of sourced scripts. 32954 Solution: Add the getscriptinfo() function. (Yegappan Lakshmanan, 32955 closes #10957) 32956 32957 Patch 9.0.0245 32958 Problem: Mechanism to prevent recursive screen updating is incomplete. 32959 Solution: Add "redraw_not_allowed" and set it in build_stl_str_hl(). 32960 (issue #10952) 32961 32962 Patch 9.0.0246 32963 Problem: Using freed memory when 'tagfunc' deletes the buffer. 32964 Solution: Make a copy of the tag name. 32965 32966 Patch 9.0.0247 32967 Problem: Cannot add padding to virtual text without highlight. 32968 Solution: Add the "text_padding_left" argument. (issue #10906) 32969 32970 Patch 9.0.0248 32971 Problem: Duplicate code in finding a script in the execution stack. 32972 Solution: Reduce duplicate code. (closes #10961) 32973 32974 Patch 9.0.0249 32975 Problem: No test for what 9.0.0234 fixes. 32976 Solution: Add a test. (issue #10950) 32977 32978 Patch 9.0.0250 32979 Problem: Slightly inconsistent error messages. 32980 Solution: Make it "Using a Float". (closes #10959) 32981 32982 Patch 9.0.0251 32983 Problem: Test output shows up in git. 32984 Solution: Ignore the "failed" directory. (Yao-Ching Huang, closes #10969) 32985 32986 Patch 9.0.0252 32987 Problem: Cursor in wrong place after virtual text. 32988 Solution: Do not change the length of a virtual text property. 32989 (closes #10964) 32990 32991 Patch 9.0.0253 32992 Problem: A symlink to an autoload script results in two entries in the list 32993 of scripts, items expected in one are actually in the other. 32994 Solution: Have one script item refer to the actually sourced one. 32995 (closes #10960) 32996 32997 Patch 9.0.0254 32998 Problem: Typo in function name. 32999 Solution: Rename the function. (closes #10971) 33000 33001 Patch 9.0.0255 33002 Problem: Build failure without the eval feature. 33003 Solution: Add #ifdef. 33004 33005 Patch 9.0.0256 33006 Problem: Compiler warning for uninitialized variables. 33007 Solution: Initialize the variables. 33008 33009 Patch 9.0.0257 33010 Problem: "->" in ":scriptnames" output not tested yet. 33011 Solution: Add a check. 33012 33013 Patch 9.0.0258 33014 Problem: MS-Windows installer skips syntax/shared. 33015 Solution: Use "File /r" in the installer script. (Ken Takata, closes #10972) 33016 33017 Patch 9.0.0259 33018 Problem: Crash with mouse click when not initialized. 33019 Solution: Check TabPageIdxs[] is not NULL. 33020 33021 Patch 9.0.0260 33022 Problem: Using freed memory when using 'quickfixtextfunc' recursively. 33023 Solution: Do not allow for recursion. 33024 33025 Patch 9.0.0261 33026 Problem: bufload() reads a file even if the name is not a file name. (Cyker 33027 Way) 33028 Solution: Do not read the file when the buffer name is not a file name. 33029 (closes #10975) 33030 33031 Patch 9.0.0262 33032 Problem: Build failure without the +quickfix feature. 33033 Solution: Add #ifdef. 33034 33035 Patch 9.0.0263 33036 Problem: Too many #ifdefs. 33037 Solution: Make some functions always available. 33038 33039 Patch 9.0.0264 33040 Problem: CI still runs on Ubuntu 18.04. 33041 Solution: Run CI on Ubuntu 20.04. (closes #10582) 33042 33043 Patch 9.0.0265 33044 Problem: No good reason why the "gf" command is not in the tiny version. 33045 Solution: Graduate the file_in_path feature. 33046 33047 Patch 9.0.0266 33048 Problem: Compiler warning for unused argument. 33049 Solution: Add UNUSED. 33050 33051 Patch 9.0.0267 33052 Problem: Coverity workflow still uses Ubuntu 18.04. 33053 Solution: Use Ubuntu 20.04 33054 33055 Patch 9.0.0268 33056 Problem: Build error without the +eval feature. 33057 Solution: Remove #ifdef. 33058 33059 Patch 9.0.0269 33060 Problem: getscriptinfo() does not include the version. Cannot select 33061 entries by script name. 33062 Solution: Add the "version" item and the "name" argument. (Yegappan 33063 Lakshmanan, closes #10962) 33064 33065 Patch 9.0.0270 33066 Problem: Some values of 'path' and 'tags' do not work in the tiny version. 33067 Solution: Graduate the +path_extra feature. 33068 33069 Patch 9.0.0271 33070 Problem: Using INIT() in non-header files. 33071 Solution: Remove INIT(). (closes #10981) 33072 33073 Patch 9.0.0272 33074 Problem: BufReadCmd not triggered when loading a "nofile" buffer. (Maxim 33075 Kim) 33076 Solution: Call readfile() but bail out before reading a file. 33077 (closes #10983) 33078 33079 Patch 9.0.0273 33080 Problem: Konsole termresponse not recognized. 33081 Solution: Handle Konsole like libvterm, set 'ttymouse' to "sgr". 33082 (closes #10990) 33083 33084 Patch 9.0.0274 33085 Problem: Netrw plugin does not show remote files. 33086 Solution: Do read a file when 'buftype' is "acwrite". (closes #10983) 33087 33088 Patch 9.0.0275 33089 Problem: BufEnter not triggered when using ":edit" in "nofile" buffer. 33090 Solution: Let readfile() return NOTDONE. (closes #10986) 33091 33092 Patch 9.0.0276 33093 Problem: 'buftype' values not sufficiently tested. 33094 Solution: Add and extend tests with 'buftype' values. (closes #10988) 33095 33096 Patch 9.0.0277 33097 Problem: Coverity CI: update-alternatives not needed with Ubuntu 20.04. 33098 Solution: Remove update-alternatives for Lua. (closes #10987) 33099 33100 Patch 9.0.0278 33101 Problem: The +wildignore feature is nearly always available. 33102 Solution: Graduate +wildignore for consistency. 33103 33104 Patch 9.0.0279 33105 Problem: The tiny version has the popup menu but not 'wildmenu'. 33106 Solution: Graduate the wildmenu feature. 33107 33108 Patch 9.0.0280 33109 Problem: The builtin termcap list depends on the version. 33110 Solution: Always include all termcap entries. Remove duplicate lines. 33111 33112 Patch 9.0.0281 33113 Problem: Build failure without the +eval feature. 33114 Solution: Add #ifdef. 33115 33116 Patch 9.0.0282 33117 Problem: A nested timeout stops the previous timeout. 33118 Solution: Ignore any nested timeout. 33119 33120 Patch 9.0.0283 33121 Problem: Cannot complete "syn list @cluster". 33122 Solution: Recognize and handle "list @". (Björn Linse, closes #10990) 33123 33124 Patch 9.0.0284 33125 Problem: Using static buffer for multiple completion functions. 33126 Solution: Use one buffer in expand_T. 33127 33128 Patch 9.0.0285 33129 Problem: It is not easy to change the command line from a plugin. 33130 Solution: Add setcmdline(). (Shougo Matsushita, closes #10869) 33131 33132 Patch 9.0.0286 33133 Problem: Using freed memory when location list changed in autocmd. 33134 Solution: Return QF_ABORT and handle it. (Yegappan Lakshmanan, 33135 closes #10993) 33136 33137 Patch 9.0.0287 33138 Problem: Irix systems no longer exist. 33139 Solution: Remove references to Irix. (Yegappan Lakshmanan, closes #10994) 33140 33141 Patch 9.0.0288 33142 Problem: When 'cmdheight' is zero some messages are not displayed. 33143 Solution: Use a popup notification window. 33144 33145 Patch 9.0.0289 33146 Problem: Invalid memory write. 33147 Solution: Do not put NUL in a static string. 33148 33149 Patch 9.0.0290 33150 Problem: Compiler warning for variable set but not used. 33151 Solution: Add #ifdef. 33152 33153 Patch 9.0.0291 33154 Problem: Test failing. 33155 Solution: Run test with cmdheight=0 last. 33156 33157 Patch 9.0.0292 33158 Problem: Test causes another test to fail. 33159 Solution: Redraw to remove the popup window 33160 33161 Patch 9.0.0293 33162 Problem: Messages window not hidden when starting a command line. 33163 Solution: Hide the messages window. (closes #10996) 33164 33165 Patch 9.0.0294 33166 Problem: Crash when 'cmdheight' is 0 and popup_clear() used. 33167 Solution: Reset "message_win" when the message popup is cleared. Close the 33168 popup when 'cmdheight' is non-zero. Add a screendump test. 33169 33170 Patch 9.0.0295 33171 Problem: GUI drop files test sometimes fails. 33172 Solution: Mark the test as flaky. 33173 33174 Patch 9.0.0296 33175 Problem: Message in popup is shortened unnecessary. 33176 Solution: Do not use 'showcmd' and 'ruler' for a message in the popup. 33177 Set the timer when unhiding the message popup. 33178 33179 Patch 9.0.0297 33180 Problem: Cursor position wrong after right aligned virtual text. (Iizuka 33181 Masashi) 33182 Solution: Take the width of the column offset into account. (closes #10997) 33183 Also fix virtual text positioning. 33184 33185 Patch 9.0.0298 33186 Problem: Compiler warning for size_t to int conversion. 33187 Solution: Add a type cast. (Wilhelm Payne, closes #11000) 33188 33189 Patch 9.0.0299 33190 Problem: Error messages for setcmdline() could be better. 33191 Solution: Use more specific error messages. (Yegappan Lakshmanan, 33192 closes #10995) 33193 33194 Patch 9.0.0300 33195 Problem: 'cpoptions' tests are flaky. 33196 Solution: Use a different file name for each test. 33197 33198 Patch 9.0.0301 33199 Problem: The message window popup is delayed after an error message. 33200 Solution: Do not set emsg_on_display when using the message window. 33201 33202 Patch 9.0.0302 33203 Problem: CI for Coverity is bothered by deprecation warnings. 33204 Solution: Ignore deprecation warnings. (closes #11002) 33205 33206 Patch 9.0.0303 33207 Problem: It is not easy to get information about a script. 33208 Solution: Make getscriptinfo() return the version. When selecting a specific 33209 script return functions and variables. (Yegappan Lakshmanan, 33210 closes #10991) 33211 33212 Patch 9.0.0304 33213 Problem: WinScrolled is not triggered when only skipcol changes. 33214 Solution: Add w_last_skipcol and use it. (closes #10998) 33215 33216 Patch 9.0.0305 33217 Problem: CI lists useless deprecation warnings. 33218 Solution: Ignore deprecation warnings. (closes #11003) 33219 33220 Patch 9.0.0306 33221 Problem: Buffer write message is two lines in message popup window. 33222 Solution: Overwrite message if "msg_scroll" is off. 33223 33224 Patch 9.0.0307 33225 Problem: :echomsg doesn't work properly with cmdheight=0. 33226 Solution: Improve scrolling and displaying. 33227 33228 Patch 9.0.0308 33229 Problem: When cmdheight is zero the attention prompt doesn't show. 33230 Solution: Do not use the message window for a prompt. 33231 33232 Patch 9.0.0309 33233 Problem: Invalid memory access when cmdheight is zero. 33234 Solution: Check index in w_lines is smaller than Rows. 33235 33236 Patch 9.0.0310 33237 Problem: Output of :messages disappears when cmdheight is zero. 33238 Solution: Do not use the messages window for :messages. Make Esc close the 33239 messages window. 33240 33241 Patch 9.0.0311 33242 Problem: Test for hit-Enter prompt fails. 33243 Solution: Only reset cmdline_row when 'cmdheight' is zero. 33244 33245 Patch 9.0.0312 33246 Problem: Test for cmdheight zero fails. 33247 Solution: Do not close the messages window for CTRL-C. 33248 33249 Patch 9.0.0313 33250 Problem: Using common name in tests leads to flaky tests. 33251 Solution: Rename files and directories to be more specific. 33252 33253 Patch 9.0.0314 33254 Problem: VDM files are not recognized. 33255 Solution: Add patterns for VDM files. (Alessandro Pezzoni, closes #11004) 33256 33257 Patch 9.0.0315 33258 Problem: Shell command is displayed in message window. 33259 Solution: Do not echo the shell command in the message window. 33260 33261 Patch 9.0.0316 33262 Problem: Screen flickers when 'cmdheight' is zero. 33263 Solution: Redraw over existing text instead of clearing. 33264 33265 Patch 9.0.0317 33266 Problem: When updating the whole screen a popup may not be redrawn. 33267 Solution: Mark the screen and windows for redraw also when not clearing. 33268 Also mark popup windows for redraw. 33269 33270 Patch 9.0.0318 33271 Problem: Clearing screen causes flicker. 33272 Solution: Do not clear but redraw in more cases. Add () to "wait_return". 33273 33274 Patch 9.0.0319 33275 Problem: Godot shader files are not recognized. 33276 Solution: Add patterns for "gdshader". (Maxim Kim, closes #11006) 33277 33278 Patch 9.0.0320 33279 Problem: Command line type of CmdlineChange differs from getcmdtype(). 33280 Solution: Use the same type. (closes #11005) 33281 33282 Patch 9.0.0321 33283 Problem: Cannot use the message popup window directly. 33284 Solution: Add ":echowindow". 33285 33286 Patch 9.0.0322 33287 Problem: Crash when no errors and 'quickfixtextfunc' is set. 33288 Solution: Do not handle errors if there aren't any. 33289 33290 Patch 9.0.0323 33291 Problem: Using common name in tests leads to flaky tests. 33292 Solution: Rename files and directories to be more specific. 33293 33294 Patch 9.0.0324 33295 Problem: MS-Windows: resolve() test fails. 33296 Solution: Revert renaming the directory. 33297 33298 Patch 9.0.0325 33299 Problem: MS-Windows: completion test fails. 33300 Solution: Adjust directory prefix. 33301 33302 Patch 9.0.0326 33303 Problem: Some changes for cmdheight=0 are not needed. 33304 Solution: Revert resize behavior if height is greater than the available 33305 space. (Shougo Matsushita, closes #11008) 33306 33307 Patch 9.0.0327 33308 Problem: items() does not work on a list. (Sergey Vlasov) 33309 Solution: Make items() work on a list. (closes #11013) 33310 33311 Patch 9.0.0328 33312 Problem: OLD_DIGRAPHS is unused. 33313 Solution: Remove OLD_DIGRAPHS. Also drop HPUX_DIGRAPHS. 33314 33315 Patch 9.0.0329 33316 Problem: ":highlight" hangs when 'cmdheight' is zero. 33317 Solution: Add to msg_col when using the message window. (closes #11014) 33318 33319 Patch 9.0.0330 33320 Problem: Method tests fail. 33321 Solution: Adjust for change of items(). 33322 33323 Patch 9.0.0331 33324 Problem: Cannot use items() on a string. 33325 Solution: Make items() work on a string. (closes #11016) 33326 33327 Patch 9.0.0332 33328 Problem: Overwrite check may block BufWriteCmd. 33329 Solution: Do not use overwrite check when 'buftype' is "acwrite". 33330 (closes #11011) 33331 33332 Patch 9.0.0333 33333 Problem: Method test fails. 33334 Solution: Adjust test for items() now working on string. 33335 33336 Patch 9.0.0334 33337 Problem: Test does not properly clean up. 33338 Solution: Fix typo in argument of delete(). (Dominique Pellé, closes #11010) 33339 33340 Patch 9.0.0335 33341 Problem: Checks for Dictionary argument often give a vague error message. 33342 Solution: Give a useful error message. (Yegappan Lakshmanan, closes #11009) 33343 33344 Patch 9.0.0336 33345 Problem: Tests are flaky because of using a common file name. 33346 Solution: Rename files and directories to be more unique. 33347 33348 Patch 9.0.0337 33349 Problem: Flicker when resetting cmdline_row after updating the screen. 33350 Solution: Do not update cmdline_row. (issue #11017) 33351 33352 Patch 9.0.0338 33353 Problem: Return value of list_append_list() not always checked. 33354 Solution: Check return value and handle failure. 33355 33356 Patch 9.0.0339 33357 Problem: No check if the return value of XChangeGC() is NULL. 33358 Solution: Only use the return value when it is not NULL. (closes #11020) 33359 33360 Patch 9.0.0340 33361 Problem: The 'cmdheight' zero support causes too much trouble. 33362 Solution: Revert support for 'cmdheight' being zero. 33363 33364 Patch 9.0.0341 33365 Problem: mapset() does not restore <Nop> mapping properly. 33366 Solution: Use an empty string for <Nop>. (closes #11022) 33367 33368 Patch 9.0.0342 33369 Problem: ":wincmd =" equalizes in two directions. 33370 Solution: Make ":vertical wincmd =" equalize vertically only and 33371 ":horizontal wincmd =" equalize horizontally only. 33372 33373 Patch 9.0.0343 33374 Problem: ColorScheme autocommand triggered when colorscheme is not found. 33375 (Romain Lafourcade) 33376 Solution: Only trigger ColorScheme when loading the colorscheme succeeds. 33377 (closes #11024) 33378 33379 Patch 9.0.0344 33380 Problem: MS-Windows: background color wrong in Console. 33381 Solution: Figure out the default console background color. (Yasuhiro 33382 Matsumoto, issue #10310) 33383 33384 Patch 9.0.0345 33385 Problem: Error message for list argument could be clearer. 33386 Solution: Include the argument number. (Yegappan Lakshmanan, closes #11027) 33387 33388 Patch 9.0.0346 33389 Problem: :horizontal modifier not fully supported. 33390 Solution: Also use :horizontal for completion and user commands. 33391 (closes #11025) 33392 33393 Patch 9.0.0347 33394 Problem: MS-Windows: cannot set cursor shape in Windows Terminal. 33395 Solution: Make cursor shape work with Windows Terminal. (Ken Takata, 33396 closes #11028, closes #6576) 33397 33398 Patch 9.0.0348 33399 Problem: MS-Windows: GUI mouse move event test is flaky. 33400 Solution: Wait for a little while for the first move event. 33401 33402 Patch 9.0.0349 33403 Problem: Filetype of *.sil files not well detected. 33404 Solution: Inspect the file contents to guess the filetype. 33405 33406 Patch 9.0.0350 33407 Problem: :echowindow does not work in a compiled function. 33408 Solution: Handle the expression at compile time. 33409 33410 Patch 9.0.0351 33411 Problem: Message window may obscure the command line. 33412 Solution: Reduce the maximum height of the message window. 33413 33414 Patch 9.0.0352 33415 Problem: using :echowindow in a timer clears part of message 33416 Solution: Do not use msg_clr_eos(). 33417 33418 Patch 9.0.0353 33419 Problem: Missing entry in switch. 33420 Solution: Add ISN_ECHOWINDOW. 33421 33422 Patch 9.0.0354 33423 Problem: MS-Windows: starting a python server for test sometimes fails. 33424 Solution: Increase the waiting time for the port. 33425 33426 Patch 9.0.0355 33427 Problem: Check for uppercase char in autoload name is wrong, it checks the 33428 name of the script. 33429 Solution: Remove the check. (closes #11031) 33430 33431 Patch 9.0.0356 33432 Problem: :echowindow sets the in_echowindow flag too early. 33433 Solution: Set in_echowindow only when outputting the text. (Yasuhiro 33434 Matsumoto, closes #11033) 33435 33436 Patch 9.0.0357 33437 Problem: 'linebreak' interferes with text property highlight if there is 33438 syntax highlighting. 33439 Solution: Check the text prop attributes after combining with syntax 33440 attributes. (closes #11035) 33441 33442 Patch 9.0.0358 33443 Problem: 'breakindent' does not indent non-lists with 33444 "breakindentopt=list:-1". 33445 Solution: Adjust indent computation. (Maxim Kim, closes #11038) 33446 33447 Patch 9.0.0359 33448 Problem: Error message for wrong argument type is not specific. 33449 Solution: Include more information in the error. (Yegappan Lakshmanan, 33450 closes #11037) 33451 33452 Patch 9.0.0360 33453 Problem: Crash when invalid line number on :for is ignored. 33454 Solution: Do not check breakpoint for non-existing line. 33455 33456 Patch 9.0.0361 33457 Problem: Removing a listener may result in a memory leak and remove 33458 subsequent listeners. 33459 Solution: Init the "prev" pointer only once. (Yegappan Lakshmanan, 33460 closes #11039) 33461 33462 Patch 9.0.0362 33463 Problem: Expanding ":e %" does not work for remote files. 33464 Solution: If the "%" or "#" file does not exist add the expansion anyway. 33465 33466 Patch 9.0.0363 33467 Problem: Common names in test files causes tests to be flaky. 33468 Solution: Use more specific names. 33469 33470 Patch 9.0.0364 33471 Problem: Clang static analyzer gives warnings. 33472 Solution: Avoid the warnings. (Yegappan Lakshmanan, closes #11043) 33473 33474 Patch 9.0.0365 33475 Problem: File name used in test is unusual. 33476 Solution: Rename it. (Dominique Pellé, closes #11044) 33477 33478 Patch 9.0.0366 33479 Problem: Cannot use import->Func() in lambda. (Israel Chauca Fuentes) 33480 Solution: Adjust how an expression in a lambda is parsed. (closes #11042) 33481 33482 Patch 9.0.0367 33483 Problem: Coverity complains about dropping sign of character. 33484 Solution: Add explicit type cast. 33485 33486 Patch 9.0.0368 33487 Problem: Old Coverity warning for using NULL pointer. 33488 Solution: Bail out if dictionary allocation fails. 33489 33490 Patch 9.0.0369 33491 Problem: A failing flaky test doesn't mention the time. 33492 Solution: Add the time for debugging. Improve error message. 33493 33494 Patch 9.0.0370 33495 Problem: Cleaning up afterwards can make a function messy. 33496 Solution: Add the :defer command. 33497 33498 Patch 9.0.0371 33499 Problem: Compiler warning for uninitialized variable. 33500 Solution: Initialize the variable. (John Marriott) 33501 33502 Patch 9.0.0372 33503 Problem: MS-Windows: "%T" time format does not appear to work. 33504 Solution: Use "%H:%M:%S" instead. 33505 33506 Patch 9.0.0373 33507 Problem: Coverity warns for NULL check and unused return value. 33508 Solution: Remove the NULL check, it was already checked earlier. Add (void) 33509 to ignore the return value. 33510 33511 Patch 9.0.0374 33512 Problem: Coverity still complains about dropping sign of character. 33513 Solution: Add intermediate variable. 33514 33515 Patch 9.0.0375 33516 Problem: The footer feature is unused. 33517 Solution: Remove FEAT_FOOTER and code. 33518 33519 Patch 9.0.0376 33520 Problem: Clang warns for dead assignments. 33521 Solution: Adjust the code. (Yegappan Lakshmanan, closes #11048) 33522 33523 Patch 9.0.0377 33524 Problem: Argument assignment does not work. 33525 Solution: Skip over "=". 33526 33527 Patch 9.0.0378 33528 Problem: Compiler warning for uninitialized variable. (Tony Mechelynck) 33529 Solution: Initialize it. 33530 33531 Patch 9.0.0379 33532 Problem: Cleaning up after writefile() is a hassle. 33533 Solution: Add the 'D' flag to defer deleting the written file. Very useful 33534 in tests. 33535 33536 Patch 9.0.0380 33537 Problem: Deleting files in tests is a hassle. 33538 Solution: Use the new 'D' flag of writefile(). 33539 33540 33541 Problem: Deleting files in tests is a hassle. 33542 Solution: Use the new 'D' flag of writefile(). 33543 33544 Patch 9.0.0381 33545 Problem: Writefile test leaves files behind. 33546 Solution: Fix the file names of files to be deleted. (Dominique Pellé, 33547 closes #11056) 33548 33549 Patch 9.0.0382 33550 Problem: Freeing the wrong string on failure. 33551 Solution: Adjust the argument. Reorder the code. 33552 33553 Patch 9.0.0383 33554 Problem: Coverity complains about unused value. 33555 Solution: Use the value. 33556 33557 Patch 9.0.0384 33558 Problem: Coverity still complains about using return value of getc(). 33559 Solution: Check for EOF. 33560 33561 Patch 9.0.0385 33562 Problem: GUI: when CTRL-D is mapped in Insert mode it gets inserted. 33563 (Yasuhiro Matsumoto) 33564 Solution: Also recognize modifier starting with CSI. (closes #11057) 33565 33566 Patch 9.0.0386 33567 Problem: Some code blocks are nested too deep. 33568 Solution: Bail out earlier. (Yegappan Lakshmanan, closes #11058) 33569 33570 Patch 9.0.0387 33571 Problem: repeating a <ScriptCmd> mapping does not use the right script 33572 context. 33573 Solution: When using a mapping put <SID>{sid}; in the redo buffer. 33574 (closes #11049) 33575 33576 Patch 9.0.0388 33577 Problem: The do_arg_all() function is too long. 33578 Solution: Split the function in smaller parts. (Yegappan Lakshmanan, 33579 closes #11062) 33580 33581 Patch 9.0.0389 33582 Problem: Crash when 'tagfunc' closes the window. 33583 Solution: Bail out when the window was closed. 33584 33585 Patch 9.0.0390 33586 Problem: Cannot use a partial with :defer. 33587 Solution: Add the partial arguments before the other arguments. Disallow 33588 using a dictionary. 33589 33590 Patch 9.0.0391 33591 Problem: Using separate delete() call instead of writefile() 'D' flag. 33592 Solution: Use the writefile 'D' flag. 33593 33594 Patch 9.0.0392 33595 Problem: Inverted condition is a bit confusing. 33596 Solution: Remove the "!" and swap the blocks. (Ken Takata) 33597 33598 Patch 9.0.0393 33599 Problem: Signals test often fails on FreeBSD. 33600 Solution: Use separate files for Suspend and Resume. (Ken Takata, 33601 closes #11065) 33602 33603 Patch 9.0.0394 33604 Problem: Cygwin: multibyte characters may be broken in terminal window. 33605 Solution: Adjust how to read and write on the channel. (Ken Takata, 33606 closes #11063) 33607 33608 Patch 9.0.0395 33609 Problem: Clang warnings for function prototypes. 33610 Solution: Remove incomplete function prototypes. (closes #11068) 33611 33612 Patch 9.0.0396 33613 Problem: :findrepl does not escape '&' and '~' properly. 33614 Solution: Escape depending on the value of 'magic'. (closes #11067) 33615 33616 Patch 9.0.0397 33617 Problem: :defer not tested with exceptions and ":qa!". 33618 Solution: Test :defer works when exceptions are thrown and when ":qa!" is 33619 used. Invoke the deferred calls on exit. 33620 33621 Patch 9.0.0398 33622 Problem: Members of funccall_T are inconsistently named. 33623 Solution: Use the "fc_" prefix for all members. 33624 33625 Patch 9.0.0399 33626 Problem: Using :defer in expression funcref not tested. 33627 Solution: Add a test. Fix uncovered problems. 33628 33629 Patch 9.0.0400 33630 Problem: GUI test sometimes hangs on CI. 33631 Solution: Delete a test file explicitly. (Ken Takata, closes #11072) 33632 33633 Patch 9.0.0401 33634 Problem: CI uses older clang version. 33635 Solution: Switch from clang 14 to 15. (closes #11066) 33636 33637 Patch 9.0.0402 33638 Problem: Javascript module files are not recognized. 33639 Solution: Recognize "*.jsm" files as Javascript. (Brett Holman, 33640 closes #11069) 33641 33642 Patch 9.0.0403 33643 Problem: 'equalalways' may be off when 'laststatus' is zero. 33644 Solution: call last_status() before win_equal(). (Luuk van Baal, 33645 closes #11070) 33646 33647 Patch 9.0.0404 33648 Problem: Crash when passing invalid arguments to assert_fails(). 33649 Solution: Check for NULL string. 33650 33651 Patch 9.0.0405 33652 Problem: Arguments in a partial not used by a :def function. 33653 Solution: Put the partial arguments on the stack. 33654 33655 Patch 9.0.0406 33656 Problem: Deferred functions not invoked when partial func exits. 33657 Solution: Create a funccall_T when calling a :def function. 33658 33659 Patch 9.0.0407 33660 Problem: matchstr() does match column offset. (Yasuhiro Matsumoto) 33661 Solution: Accept line number zero. (closes #10938) 33662 33663 Patch 9.0.0408 33664 Problem: GUI test sometimes fails on MS-Windows. 33665 Solution: Make sure Vim is the foreground window. (Ken Takata, closes #11077) 33666 33667 Patch 9.0.0409 33668 Problem: #{g:x} was seen as a curly-braces expression. 33669 Solution: Do never see #{} as a curly-braces expression. (closes #11075) 33670 33671 Patch 9.0.0410 33672 Problem: Struct member cts_lnum is unused. 33673 Solution: Delete it. 33674 33675 Patch 9.0.0411 33676 Problem: Only created files can be cleaned up with one call. 33677 Solution: Add flags to mkdir() to delete with a deferred function. 33678 Expand the writefile() name to a full path to handle changing 33679 directory. 33680 33681 Patch 9.0.0412 33682 Problem: Compiler warning for unused argument. 33683 Solution: Add UNUSED. 33684 33685 Patch 9.0.0413 33686 Problem: ASAN reports a memory leak. 33687 Solution: Free the string received from the server. (Ken Takata, 33688 closes #11080) 33689 33690 Patch 9.0.0414 33691 Problem: matchstr() still does not match column offset when done after a 33692 text search. 33693 Solution: Only use the line number for a multi-line search. Fix the test. 33694 (closes #10938) 33695 33696 Patch 9.0.0415 33697 Problem: On MS-Windows some tests are flaky. 33698 Solution: Add sleeps, disable swapfile, mark test as flaky. (Ken Takata, 33699 closes #11082) 33700 33701 Patch 9.0.0416 33702 Problem: ml_get error when appending lines in popup window. 33703 Solution: Only update w_topline when w_buffer matches curbuf. 33704 (closes #11074) 33705 33706 Patch 9.0.0417 33707 Problem: Jsonnet files are not recognized. 33708 Solution: Add a pattern for Jsonnet files. (Cezary Drożak, closes #11073, 33709 closes #11081) 33710 33711 Patch 9.0.0418 33712 Problem: Manually deleting temp test files. 33713 Solution: Use the 'D' flag of writefile() and mkdir(). 33714 33715 Patch 9.0.0419 33716 Problem: The :defer command does not check the function argument count and 33717 types. 33718 Solution: Check the function arguments when adding a deferred function. 33719 33720 Patch 9.0.0420 33721 Problem: Function went missing. 33722 Solution: Add the function back. 33723 33724 Patch 9.0.0421 33725 Problem: MS-Windows makefiles are inconsistently named. 33726 Solution: Use consistent names. (Ken Takata, closes #11088) 33727 33728 Patch 9.0.0422 33729 Problem: Not enough testing of the :all command. 33730 Solution: Add more testing. (Yegappan Lakshmanan, closes #11091) 33731 33732 Patch 9.0.0423 33733 Problem: "for" and "while" not recognized after :vim9cmd and :legacy. 33734 (Emanuele Torre) 33735 Solution: Recognize all the command modifiers. (closes #11087) 33736 Add a test to check the list of modifiers. 33737 33738 Patch 9.0.0424 33739 Problem: gitattributes files are not recognized. 33740 Solution: Add patterns to match gitattributes files. (closes #11085) 33741 33742 Patch 9.0.0425 33743 Problem: Autocmd test is a bit flaky on MS-Windows. 33744 Solution: Add a bit more sleeping. (Ken Takata, closes #11095) 33745 33746 Patch 9.0.0426 33747 Problem: Failed flaky tests reports only start time. 33748 Solution: Also report the end time. 33749 33750 Patch 9.0.0427 33751 Problem: Drupal theme files are not recognized. 33752 Solution: Use php filetype for Drupl theme files. Remove trailing spaces. 33753 (Rodrigo Aguilera, closes #11096) 33754 33755 Patch 9.0.0428 33756 Problem: Autocmd test uses common file name. 33757 Solution: Use unique name to reduce flakiness. 33758 33759 Patch 9.0.0429 33760 Problem: Not all keys are tested for the MS-Windows GUI. 33761 Solution: Add more key codes to the list. (Yegappan Lakshmanan, 33762 closes #11097) 33763 33764 Patch 9.0.0430 33765 Problem: Cannot use repeat() with a blob. 33766 Solution: Implement blob repeat. (closes #11090) 33767 33768 Patch 9.0.0431 33769 Problem: Current mode shows in message window. 33770 Solution: Reset in_echowindow before redrawing. (issue #11094) 33771 33772 Patch 9.0.0432 33773 Problem: Crash when using for loop variable in closure. 33774 Solution: Check that the variable wasn't deleted. (issue #11094) 33775 33776 Patch 9.0.0433 33777 Problem: Coverity warns for not checking allocation failure. 33778 Solution: Check that allocating a list or blob succeeded. 33779 33780 Patch 9.0.0434 33781 Problem: gitignore files are not recognized. 33782 Solution: Add patterns for the gitignore filetype. (closes #11102) 33783 33784 Patch 9.0.0435 33785 Problem: Compiler warning for uninitialized variable. 33786 Solution: Initialize it. 33787 33788 Patch 9.0.0436 33789 Problem: CI: running tests in parallel causes flakiness. 33790 Solution: Reorganize the MS-Windows runs. (Ken Takata, closes #11101) 33791 33792 Patch 9.0.0437 33793 Problem: No error when a custom completion function returns something else 33794 than the expected list. 33795 Solution: Give an error. (closes #11100) 33796 33797 Patch 9.0.0438 33798 Problem: Cannot put virtual text above a line. 33799 Solution: Add the "above" value for "text_align". 33800 33801 Patch 9.0.0439 33802 Problem: Cursor wrong if inserting before line with virtual text above. 33803 Solution: Add the width of the "above" virtual text to the cursor position. 33804 (issue #11084) 33805 33806 Patch 9.0.0440 33807 Problem: Crash when using mkdir() with "R" flag in compiled function. 33808 Solution: Reserve a variable for deferred function calls. Handle more than 33809 one argument. 33810 33811 Patch 9.0.0441 33812 Problem: Closure in for loop test fails on some systems. 33813 Solution: Do not wait for the ruler to show up. (issue #11106) 33814 33815 Patch 9.0.0442 33816 Problem: Virtual text "above" doesn't handle line numbers. 33817 Solution: Take the left column offset into account. (issue #11084) 33818 Also make padding work. 33819 33820 Patch 9.0.0443 33821 Problem: Blueprint files are not recognized. 33822 Solution: Add a pattern for blueprint files. (Gabriele Musco, closes #11107) 33823 33824 Patch 9.0.0444 33825 Problem: Trying to declare g:variable gives confusing error. 33826 Solution: Give a better error message. (closes #11108) 33827 33828 Patch 9.0.0445 33829 Problem: When opening/closing window text moves up/down. 33830 Solution: Add the 'splitscroll' option. When off text will keep its 33831 position as much as possible. 33832 33833 Patch 9.0.0446 33834 Problem: Message window may be positioned too low. 33835 Solution: Compute cmdline_row before computing the position. 33836 33837 Patch 9.0.0447 33838 Problem: Using :echowin while at the hit-enter prompt causes problems. 33839 Solution: Do not prompt for :echowin. Postpone showing the message window. 33840 Start the timer when the window is displayed. 33841 33842 Patch 9.0.0448 33843 Problem: SubRip files are not recognized. 33844 Solution: Add a pattern for SubRip. (closes #11113) 33845 33846 Patch 9.0.0449 33847 Problem: There is no easy way to translate a string with a key code into a 33848 readable string. 33849 Solution: Add the keytrans() function. (closes #11114) 33850 33851 Patch 9.0.0450 33852 Problem: Return value of argument check functions is inconsistent. 33853 Solution: Return OK/FAIL instead of TRUE/FALSE. (closes #11112) 33854 33855 Patch 9.0.0451 33856 Problem: Virtual text "above" does not work with 'nowrap'. 33857 Solution: Do wrap the line after. (closes #11084) 33858 33859 Patch 9.0.0452 33860 Problem: Visual highlighting extends into virtual text prop. 33861 Solution: Do not highlight what isn't actually selected. Fix ordering of 33862 stored text props. 33863 33864 Patch 9.0.0453 33865 Problem: On an AZERTY keyboard digit keys get the shift modifier. 33866 Solution: Remove the shift modifier from digit keys. (closes #11109) 33867 33868 Patch 9.0.0454 33869 Problem: Incorrect color for modeless selection with GTK. 33870 Solution: Use simple inversion instead of XOR. (closes #11111) 33871 33872 Patch 9.0.0455 33873 Problem: A few problems with 'splitscroll'. 33874 Solution: Fix 'splitscroll' problems. (Luuk van Baal, closes #11117) 33875 33876 Patch 9.0.0456 33877 Problem: Function called at debug prompt is also debugged. 33878 Solution: Reset the debug level while entering the debug command. 33879 (closes #11118) 33880 33881 Patch 9.0.0457 33882 Problem: Substitute prompt does not highlight an empty match. 33883 Solution: Highlight at least one character. 33884 33885 Patch 9.0.0458 33886 Problem: Splitting a line with a text prop "above" moves it to a new line 33887 below. 33888 Solution: Keep an "above" text prop above the first line. 33889 33890 Patch 9.0.0459 33891 Problem: Vim9: block in for loop doesn't behave like a code block. 33892 Solution: Use a new block ID for each loop at the script level. 33893 33894 Patch 9.0.0460 33895 Problem: Loop variable can't be found. 33896 Solution: Adjust block_id of the loop variable each round. 33897 33898 Patch 9.0.0461 33899 Problem: 'scroll' is not always updated. 33900 Solution: Call win_init_size() at the right place. 33901 33902 Patch 9.0.0462 33903 Problem: ASAN warning for integer overflow. 33904 Solution: Check for tp_col to be MAXCOL. 33905 33906 Patch 9.0.0463 33907 Problem: Command line test leaves directory behind. 33908 Solution: Use the "R" flag on the first mkdir(). (Dominique Pellé, 33909 closes #11127) 33910 33911 Patch 9.0.0464 33912 Problem: With virtual text "above" indenting doesn't work well. 33913 Solution: Ignore text properties while adjusting indent. (issue #11084) 33914 33915 Patch 9.0.0465 33916 Problem: Cursor moves when cmdwin is closed when 'splitscroll' is off. 33917 Solution: Temporarily set 'splitscroll' when jumping back to the original 33918 window. (closes #11128) 33919 33920 Patch 9.0.0466 33921 Problem: Virtual text wrong after adding line break after line. 33922 Solution: Pass an "eol" flag to where text properties are adjusted. 33923 (closes #11131) 33924 33925 Patch 9.0.0467 33926 Problem: Build failure. 33927 Solution: Add missing change. 33928 33929 Patch 9.0.0468 33930 Problem: Execution stack underflow without the +eval feature. (Dominique 33931 Pellé) 33932 Solution: Add to execution stack without FEAT_EVAL. (closes #11135) 33933 33934 Patch 9.0.0469 33935 Problem: Cursor moves if cmdwin is closed when 'splitscroll' is off. 33936 Solution: Skip win_fix_cursor if called when cmdwin is open or closing. 33937 (Luuk van Baal, closes #11134) 33938 33939 Patch 9.0.0470 33940 Problem: In a :def function all closures in a loop get the same variables. 33941 Solution: When in a loop and a closure refers to a variable declared in the 33942 loop, prepare for making a copy of variables for each closure. 33943 33944 Patch 9.0.0471 33945 Problem: No test for what patch 9.0.0469 fixes. 33946 Solution: Add a test. (closes #11140) 33947 33948 Patch 9.0.0472 33949 Problem: Virtual text "below" doesn't show in list mode. 33950 Solution: Reset lcs_eol_one when displaying text property. 33951 33952 Patch 9.0.0473 33953 Problem: fullcommand() only works for the current script version. 33954 Solution: Add an optional argument for the script version. 33955 33956 Patch 9.0.0474 33957 Problem: fullcommand() test failure. 33958 Solution: Update function table. 33959 33960 Patch 9.0.0475 33961 Problem: Not using deferred delete in tests. 33962 Solution: Use deferred delete more often. 33963 33964 Patch 9.0.0476 33965 Problem: Varargs does not work for replacement function of substitute(). 33966 Solution: Check the varargs flag of the function. (closes #11142) 33967 33968 Patch 9.0.0477 33969 Problem: Missing dependency may cause crashes on incomplete build. 33970 Solution: Add dependency. 33971 33972 Patch 9.0.0478 33973 Problem: Test for 'splitscroll' takes too much time. 33974 Solution: Only test some of the combinations. (Luuk van Baal, closes #11139) 33975 33976 Patch 9.0.0479 33977 Problem: In a :def function all closures in a loop get the same variables. 33978 Solution: Use a separate list of variables for LOADOUTER and SAVEOUTER. 33979 33980 Patch 9.0.0480 33981 Problem: Cannot use a :def varargs function with substitute(). 33982 Solution: Use has_varargs(). (closes #11146) 33983 33984 Patch 9.0.0481 33985 Problem: In a :def function all closures in a loop get the same variables. 33986 Solution: Use a separate list of variables for LOADOUTER and STOREOUTER. 33987 Not copied at end of loop yet. 33988 33989 Patch 9.0.0482 33990 Problem: "g0" moves to wrong location with virtual text "above". 33991 Solution: Compensate for the extra columns. (closes #11141) Also fix "g$" 33992 33993 Patch 9.0.0483 33994 Problem: Illegal memory access when replacing in virtualedit mode. 33995 Solution: Check for replacing NUL after Tab. 33996 33997 Patch 9.0.0484 33998 Problem: In a :def function all closures in a loop get the same variables. 33999 Solution: Add ENDLOOP at break, continue and return if needed. 34000 34001 Patch 9.0.0485 34002 Problem: In a :def function all closures in a loop get the same variables. 34003 Solution: Make a copy of loop variables used in a closure. 34004 34005 Patch 9.0.0486 34006 Problem: Text scrolled with 'nosplitscroll', autocmd win opened and help 34007 window closed. 34008 Solution: Skip win_fix_scroll() in more situations. (Luuk van Baal, 34009 closes #11150) 34010 34011 Patch 9.0.0487 34012 Problem: Using freed memory with combination of closures. 34013 Solution: Do not use a partial after it has been freed through the 34014 funcstack. 34015 34016 Patch 9.0.0488 34017 Problem: Cursor in wrong position with virtual text "above" and 34018 'showbreak'. 34019 Solution: Take the first character column into account. (closes #11149) 34020 34021 Patch 9.0.0489 34022 Problem: Using "end_lnum" with virtual text causes problems. 34023 Solution: Disallow using "end_lnum" with virtual text. (closes #11151) 34024 Also disallow "end_col" and "length". 34025 34026 Patch 9.0.0490 34027 Problem: Using freed memory with cmdwin and BufEnter autocmd. 34028 Solution: Make sure pointer to b_p_iminsert is still valid. 34029 34030 Patch 9.0.0491 34031 Problem: No good reason to build without the float feature. 34032 Solution: Remove configure check for float and "#ifdef FEAT_FLOAT". 34033 34034 Patch 9.0.0492 34035 Problem: Cmdwin test fails on MS-Windows. 34036 Solution: Skip test on MS-Windows. 34037 34038 Patch 9.0.0493 34039 Problem: Perl test fails. 34040 Solution: Remove remaining FEAT_EVAL. 34041 34042 Patch 9.0.0494 34043 Problem: Small build misses float function declarations. 34044 Solution: Adjust #ifdefs. 34045 34046 Patch 9.0.0495 34047 Problem: Closure doesn't work properly in nested loop. 34048 Solution: Save variables up to the outer loop. 34049 34050 Patch 9.0.0496 34051 Problem: No good reason to keep supporting Windows-XP. 34052 Solution: Drop Windows-XP support. (Ken Takata, closes #11089) 34053 34054 Patch 9.0.0497 34055 Problem: LyRiCs files are not recognized. 34056 Solution: Add a pattern to detect LyRiCs files. (closes #11155) 34057 34058 Patch 9.0.0498 34059 Problem: Various small issues. 34060 Solution: Various small fixes. 34061 34062 Patch 9.0.0499 34063 Problem: In :def function list created after const is locked. 34064 Solution: Reset v_lock. (closes #11154) 34065 34066 Patch 9.0.0500 34067 Problem: When quitting the cmdline window with CTRL-C it remains visible. 34068 Solution: Redraw to avoid confusion. Adjust the error message. 34069 (closes #11152) Adjust the cursor position after CTRL-C. 34070 34071 Patch 9.0.0501 34072 Problem: Warning for using uninitialized value in mouse test. 34073 Solution: Clear ScreenCols when allocating it. (Dominique Pellé) 34074 34075 Patch 9.0.0502 34076 Problem: A closure in a nested loop in a :def function does not work. 34077 Solution: Use an array of loopvars, one per loop level. 34078 34079 Patch 9.0.0503 34080 Problem: Build failure. 34081 Solution: Add missing changes. 34082 34083 Patch 9.0.0504 34084 Problem: still a Build failure. 34085 Solution: Add another missing changes. Avoid compiler warning. 34086 34087 Patch 9.0.0505 34088 Problem: Various problems with 'nosplitscroll'. 34089 Solution: Fix 'nosplitscroll' problems. (Luuk van Baal, closes #11166) 34090 34091 Patch 9.0.0506 34092 Problem: Line number argument for :badd does not work. 34093 Solution: Set the last cursor position in the new buffer. (closes #11161) 34094 34095 Patch 9.0.0507 34096 Problem: Command line cleared when using :redrawstatus in CmdlineChanged 34097 autocommand event. 34098 Solution: Postpone the redraw. (closes #11162) 34099 34100 Patch 9.0.0508 34101 Problem: When the channel test fails there is no clue why. 34102 Solution: Add info about the job status. (Ken Takata, closes #11175) 34103 34104 Patch 9.0.0509 34105 Problem: Confusing error for "saveas" command with "nofile" buffer. 34106 Solution: Give a clearer error message. (closes #11171) 34107 34108 Patch 9.0.0510 34109 Problem: Chatito files are not recognized. 34110 Solution: Add a pattern for Chatito files. (closes #11174) 34111 34112 Patch 9.0.0511 34113 Problem: Unnecessary scrolling for message of only one line. 34114 Solution: Only set msg_scroll when needed. (closes #11178) 34115 34116 Patch 9.0.0512 34117 Problem: Cannot redraw the status lines when editing a command. 34118 Solution: Only postpone the redraw when messages have scrolled. 34119 (closes #11170) 34120 34121 Patch 9.0.0513 34122 Problem: May not be able to use a pattern ad the debug prompt. 34123 Solution: Temporarily disable the timeout. (closes #11164) 34124 34125 Patch 9.0.0514 34126 Problem: Terminal test sometimes hangs. 34127 Solution: Add a bit more information to the test output. (issue #11179) 34128 34129 Patch 9.0.0515 34130 Problem: Virtual text highlight starts too early when 'number' is set. 34131 Solution: Set column offset when wrapping. (issue #11138) 34132 34133 Patch 9.0.0516 34134 Problem: Virtual text "above" highlights gap after it. 34135 Solution: Do not highlight the gap. (closes #11138) 34136 34137 Patch 9.0.0517 34138 Problem: When at the command line :redrawstatus does not work well. 34139 Solution: Only update the statuslines instead of the screen. (closes #11180) 34140 34141 Patch 9.0.0518 34142 Problem: Virtual text highlight starts too early with 'nowrap' and 'number' 34143 set. 34144 Solution: Add the offset to the attribute skip count. (issue #11138) 34145 34146 Patch 9.0.0519 34147 Problem: The win_line() function is much too long. 34148 Solution: Move the code to draw the line number to a separate function. 34149 34150 Patch 9.0.0520 34151 Problem: Declaring a loop variable at the start of a block is clumsy. 34152 Solution: Declare the variable inside the loop in a few places to see if 34153 this works. 34154 34155 Patch 9.0.0521 34156 Problem: Compiler warns for unused argument in small version. 34157 Solution: Add UNUSED. 34158 34159 Patch 9.0.0522 34160 Problem: Build fails on Appveyor. 34161 Solution: Select Visual Studio 2015 for the build tools. 34162 34163 Patch 9.0.0523 34164 Problem: more compiler warnings for arguments in small version 34165 Solution: Adjust #ifdefs. 34166 34167 Patch 9.0.0524 34168 Problem: Build instructions for MS-Windows are outdated. 34169 Solution: Remove instructions for old MSVC versions. 34170 34171 Patch 9.0.0525 34172 Problem: Manually deleting temp test files. 34173 Solution: Add the 'D' flag to writefile(). 34174 34175 Patch 9.0.0526 34176 Problem: MS-Windows: still some support for XP and old compilers. 34177 Solution: Remove XP support and mention of old compilers. (Ken Takata, 34178 closes #11183) 34179 34180 Patch 9.0.0527 34181 Problem: Long sign text may overflow buffer. 34182 Solution: Use a larger buffer. Prevent for overflow. 34183 34184 Patch 9.0.0528 34185 Problem: MS-Windows: no batch files for more recent MSVC versions. 34186 Solution: Add batch files for 2017, 2019 and 2022. (Ken Takata, 34187 closes #11184) 34188 34189 Patch 9.0.0529 34190 Problem: Appveyor setup contains outdated lines. 34191 Solution: Remove outdated lines. (Ken Takata, closes #11182) 34192 34193 Patch 9.0.0530 34194 Problem: Using freed memory when autocmd changes mark. 34195 Solution: Copy the mark before editing another buffer. 34196 34197 Patch 9.0.0531 34198 Problem: The win_line() function is much too long. 34199 Solution: Move code to separate functions. 34200 34201 Patch 9.0.0532 34202 Problem: Edit test is flaky when run under valgrind. 34203 Solution: Send some text to the terminal to trigger a redraw. 34204 34205 Patch 9.0.0533 34206 Problem: The win_line() function is much too long. 34207 Solution: Move code to separate functions. 34208 34209 Patch 9.0.0534 34210 Problem: Line number is displayed at virtual text "above". 34211 Solution: Show the line number at the text line. 34212 34213 Patch 9.0.0535 34214 Problem: Closure gets wrong value in for loop with two loop variables. 34215 Solution: Correctly compute the number of loop variables to clear. 34216 34217 Patch 9.0.0536 34218 Problem: CI: codecov action update available. 34219 Solution: Update Codecov 3.1.0 to 3.3.1. (closes #11188) 34220 34221 Patch 9.0.0537 34222 Problem: The do_set() function is much too long. 34223 Solution: Move setting of a string option to a separate function. 34224 34225 Patch 9.0.0538 34226 Problem: Manually deleting test temp files. 34227 Solution: Add the 'D' flag to writefile(). 34228 34229 Patch 9.0.0539 34230 Problem: Long message test can be flaky. 34231 Solution: Wait for more prompt instead of ruler. 34232 34233 Patch 9.0.0540 34234 Problem: Assigning stack variable to argument confuses Coverity. 34235 Solution: Use a local pointer, also makes the code simpler. 34236 34237 Patch 9.0.0541 34238 Problem: Terminal pwd test fails with a very long path name. 34239 Solution: Join two lines. 34240 34241 Patch 9.0.0542 34242 Problem: MSVC build still has support for 2012 edition. 34243 Solution: Drop MSVC 2012 support. (Ken Takata, closes #11191) 34244 34245 Patch 9.0.0543 34246 Problem: Insufficient testing for assert and test functions. 34247 Solution: Add a few more tests. (Yegappan Lakshmanan, closes #11190) 34248 34249 Patch 9.0.0544 34250 Problem: Minor issues with setting a string option. 34251 Solution: Adjust the code, add a test. (closes #11192) 34252 34253 Patch 9.0.0545 34254 Problem: When a test is slow and CI times out there is no time info. 34255 Solution: Add the elapsed time to the "Executing" message. 34256 34257 Patch 9.0.0546 34258 Problem: Supporting Ruby 1.8 makes code complicated. 34259 Solution: Drop Ruby 1.8 support, it is ancient. (Ken Takata, closes #11195) 34260 34261 Patch 9.0.0547 34262 Problem: Looping over empty out_loop[] entries. 34263 Solution: Store the array size. 34264 34265 Patch 9.0.0548 34266 Problem: reduce() with a compiled lambda could be faster. 34267 Solution: Call eval_expr_typval() instead of call_func() directly. 34268 34269 Patch 9.0.0549 34270 Problem: Duplicated code in calling a :def function. 34271 Solution: Simplify the code. 34272 34273 Patch 9.0.0550 34274 Problem: Crash when closing a tabpage and buffer is NULL. 34275 Solution: Adjust how autocommands are triggered when closing a window. 34276 (closes #11198, closes #11197) 34277 34278 Patch 9.0.0551 34279 Problem: Mode message is delayed when :echowin was used. (Maxim Kim) 34280 Solution: Save and restore msg_didout in :echowin. (closes #11193) 34281 34282 Patch 9.0.0552 34283 Problem: Crash when using NUL in buffer that uses :source. 34284 Solution: Don't get a next line when skipping over NL. 34285 34286 Patch 9.0.0553 34287 Problem: No error for "|" after "{" in lambda. 34288 Solution: Check for invalid "|". (closes #11199) 34289 34290 Patch 9.0.0554 34291 Problem: Using freed memory when command follows lambda. 34292 Solution: Don't free what is still in use. (closes #11201) 34293 34294 Patch 9.0.0555 34295 Problem: Scrolling with 'nosplitscroll' in callback changing curwin. 34296 Solution: Invalidate w_cline_row in the right place. (Luuk van Baal, 34297 closes #11185) 34298 34299 Patch 9.0.0556 34300 Problem: Leaking memory with nested functions. 34301 Solution: Free saved pointer. 34302 34303 Patch 9.0.0557 34304 Problem: Valgrind reports possibly leaked memory. 34305 Solution: Move the problematic test function to the "fails" test file to 34306 avoid obscuring real memory leaks. 34307 34308 Patch 9.0.0558 34309 Problem: Coverity warns for possibly using NULL pointer. 34310 Solution: Only use "evalarg" when not NULL. 34311 34312 Patch 9.0.0559 34313 Problem: Timer test may get stuck at hit-enter prompt. 34314 Solution: Feed some more characters. 34315 34316 Patch 9.0.0560 34317 Problem: Elapsed time since testing started is not visible. 34318 Solution: Show the elapsed time while running tests. 34319 34320 Patch 9.0.0561 34321 Problem: When a test gets stuck it just hangs forever. 34322 Solution: Set a timeout of 30 seconds. 34323 34324 Patch 9.0.0562 34325 Problem: HSL playlist files are not recognized. 34326 Solution: Add a pattern to recognize HSL playlist files. (Benoît Ryder, 34327 closes #11204) 34328 34329 Patch 9.0.0563 34330 Problem: Timer_info() test fails. 34331 Solution: Ignore test timeout timer. Don't use test_null_job() when not 34332 available. 34333 34334 Patch 9.0.0564 34335 Problem: A few tests keep failing on MacOS M1. 34336 Solution: Add a test check CheckNotMacM1. Fix timer tests. 34337 34338 Patch 9.0.0565 34339 Problem: Cscope test causes problems when code for test timeout timer is 34340 included (even when commented out). 34341 Solution: Disable part of the cscope test for now. 34342 34343 Patch 9.0.0566 34344 Problem: Nim files are not recognized. 34345 Solution: Add patterns for Nim files. (Nbiba Bedis, closes #11205) 34346 34347 Patch 9.0.0567 34348 Problem: 'completeopt' "longest" is not used for complete(). 34349 Solution: Also use "longest" for complete(). (Bjorn Linse, closes #11206) 34350 34351 Patch 9.0.0568 34352 Problem: Autocmd code is indented more than needed. 34353 Solution: Break out sooner. (Yegappan Lakshmanan, closes #11208) 34354 Also in user function code. 34355 34356 Patch 9.0.0569 34357 Problem: Cannot easily get out when using "vim file | grep word". 34358 Solution: Without changes let CTRL-C exit Vim. Otherwise give a message on 34359 stderr. (closes #11209) 34360 34361 Patch 9.0.0570 34362 Problem: CI for Windows is still using codecov action 3.1.0. 34363 Solution: Use action 3.1.1. (closes #11212) 34364 34365 Patch 9.0.0571 34366 Problem: MS-Windows: CTRL-C can make Vim exit. 34367 Solution: Check the not-a-term argument. 34368 34369 Patch 9.0.0572 34370 Problem: Insert complete tests leave a mapping behind. 34371 Solution: Use a buffer-local mapping. (closes #11211) 34372 34373 Patch 9.0.0573 34374 Problem: Outdated dependencies go unnoticed. 34375 Solution: Use github Dependabot. (closes #11213) 34376 34377 Patch 9.0.0574 34378 Problem: Timer garbage collect test hangs on Mac M1. 34379 Solution: Properly check for Mac M1 and skip the test. 34380 34381 Patch 9.0.0575 34382 Problem: The getchar() function behaves strangely with bracketed paste. 34383 Solution: Do not handle paste-start in getchar(). (issue #11172) 34384 34385 Patch 9.0.0576 34386 Problem: Unused loop variables. 34387 Solution: Use a while loop instead. (closes #11214) 34388 34389 Patch 9.0.0577 34390 Problem: Buffer underflow with unexpected :finally. 34391 Solution: Check CSF_TRY can be found. 34392 34393 Patch 9.0.0578 34394 Problem: One timer test fails on Mac M1. 34395 Solution: Skip the test on Mac M1. 34396 34397 Patch 9.0.0579 34398 Problem: Using freed memory when 'tagfunc' wipes out buffer that holds 34399 'complete'. 34400 Solution: Make a copy of the option. Make sure cursor position is valid. 34401 34402 Patch 9.0.0580 34403 Problem: No CI running for MacOS on M1. 34404 Solution: Add a cirrus CI task. (closes #11203) 34405 34406 Patch 9.0.0581 34407 Problem: Adding a character for incsearch fails at end of line. 34408 Solution: Only check cursor line number. 34409 34410 Patch 9.0.0582 34411 Problem: Channel cwd test fails on Cirrus CI. 34412 Solution: Also remove /private from the expected directory. 34413 34414 Patch 9.0.0583 34415 Problem: Only recognizing .m3u8 files is inconsistent. 34416 Solution: Also match .m3u files. (issue #11204) 34417 34418 Patch 9.0.0584 34419 Problem: Cscope test with wrong executable name fails. 34420 Solution: Use /bin/sh to execute the command. (Yegappan Lakshmanan) 34421 34422 Patch 9.0.0585 34423 Problem: When long message test fails the error message is not visible. 34424 Solution: Dump more lines. 34425 34426 Patch 9.0.0586 34427 Problem: Missing change in test. 34428 Solution: Add the test change. 34429 34430 Patch 9.0.0587 34431 Problem: Unicode tables are outdated. 34432 Solution: Update to Unicode release 15. (Christian Brabandt, closes #11220) 34433 34434 Patch 9.0.0588 34435 Problem: MorphOS build is broken. 34436 Solution: Add "-lm" to LDFLAGS and "-noixemul" to CFLAGS. (Ola Söder, 34437 closes #11222) 34438 34439 Patch 9.0.0589 34440 Problem: On AmigaOS4 the pid is available but the task address is used. 34441 Solution: Use getpid(). (Ola Söder, closes #11224) 34442 34443 Patch 9.0.0590 34444 Problem: After exiting Insert mode spelling is not checked in the next 34445 line. 34446 Solution: When spelling is enabled redraw the next line after exiting Insert 34447 mode in case the spell highlight needs updating. 34448 34449 Patch 9.0.0591 34450 Problem: Message window popup shows on only one tab page. (Naruhiko 34451 Nishino) 34452 Solution: Show the message window popup on all tab pages. (closes #11231) 34453 34454 Patch 9.0.0592 34455 Problem: Display not cleared when scrolling back in messages, a background 34456 color is set and t_ut is empty. 34457 Solution: Clear to the end of the display if needed. (closes #8973) 34458 34459 Patch 9.0.0593 34460 Problem: CI actions have too many permissions. 34461 Solution: Restrict permissions to what is required. (closes #11223) 34462 34463 Patch 9.0.0594 34464 Problem: Makefile error message causes a shell error. 34465 Solution: Put the message in single quotes. (closes #11232) 34466 34467 Patch 9.0.0595 34468 Problem: Extra newline in messages after a verbose shell message. 34469 Solution: Output the newline with msg_putchar_attr(). (closes #11233) 34470 Make it possible to filter a screendump before comparing it. 34471 34472 Patch 9.0.0596 34473 Problem: CI on Mac M1 has the channel feature disabled. 34474 Solution: Include the channel feature. 34475 34476 Patch 9.0.0597 34477 Problem: Cannot close a tab page with the middle mouse button. 34478 Solution: Support closing a tab page with the middle mouse button, like many 34479 other programs. (closes #10746) 34480 34481 Patch 9.0.0598 34482 Problem: Using negative array index with negative width window. 34483 Solution: Make sure the window width does not become negative. 34484 34485 Patch 9.0.0599 34486 Problem: Latexmkrc files are not recognized. 34487 Solution: Use Perl filetype for latexmkrc files. (closes #11241) 34488 34489 Patch 9.0.0600 34490 Problem: GYP files are not recognized. 34491 Solution: Recognize GYP files. (closes #11242) 34492 34493 Patch 9.0.0601 34494 Problem: Too much indent. 34495 Solution: Return out early from a function. (Yegappan Lakshmanan, 34496 close #11238) 34497 34498 Patch 9.0.0602 34499 Problem: New TypeScript extensions are not recognized. 34500 Solution: Recognize .mts and .cts files. (closes #11237) 34501 34502 Patch 9.0.0603 34503 Problem: With 'nosplitscroll' folds are not handled correctly. 34504 Solution: Take care of closed folds when moving the cursor. (Luuk van Baal, 34505 closes #11234) 34506 34507 Patch 9.0.0604 34508 Problem: Luacheckrc file is not recognized. 34509 Solution: Use lua filetype for luacheckrc. (closes #11236) 34510 34511 Patch 9.0.0605 34512 Problem: Dump file missing. 34513 Solution: Add the missing dump file. (issue #11234) 34514 34515 Patch 9.0.0606 34516 Problem: system() opens a terminal window when using the GUI and "!" is in 34517 'guioptions'. 34518 Solution: Do not use a terminal window when the SHELL_SILENT flag is used. 34519 (closes #11202) 34520 34521 Patch 9.0.0607 34522 Problem: Verbose echo message test fails on Mac OS. 34523 Solution: Skip the test on Mac OS. 34524 34525 Patch 9.0.0608 34526 Problem: With spell checking, deleting a full stop at the end of a line 34527 does not update SpellCap at the start of the next line. 34528 Solution: Update the next line when characters have been deleted. Also when 34529 using undo. 34530 34531 Patch 9.0.0609 34532 Problem: Blockedit test fails because of wrong indent. 34533 Solution: Adjust the expected text temporarily 34534 34535 Patch 9.0.0610 34536 Problem: Global interrupt test fails when run under valgrind. 34537 Solution: Use TermWait(). 34538 34539 Patch 9.0.0611 34540 Problem: Tests delete files with a separate delete() call. 34541 Solution: Use deferred delete. 34542 34543 Patch 9.0.0612 34544 Problem: Blockedit test passes with wrong result. 34545 Solution: Add a "vim9script" line to make indenting work. 34546 34547 Patch 9.0.0613 34548 Problem: Running source tests leaves file behind. 34549 Solution: Add the "D" flag to writefile(). (Dominique Pellé, closes #11243) 34550 Also do this for other writefile() calls and drop delete(). 34551 34552 Patch 9.0.0614 34553 Problem: SpellFileMissing autocmd may delete buffer. 34554 Solution: Disallow deleting the current buffer to avoid using freed memory. 34555 34556 Patch 9.0.0615 34557 Problem: Using reduce() on a list from range() is a bit slow. 34558 Solution: Avoid materializing the list. 34559 34560 Patch 9.0.0616 34561 Problem: Spell test fails because error message changed. 34562 Solution: Adjust expected error message. 34563 34564 Patch 9.0.0617 34565 Problem: Calling function for reduce() has too much overhead. 34566 Solution: Only call clear_tv() when needed. 34567 34568 Patch 9.0.0618 34569 Problem: Calling function for reduce() has too much overhead. 34570 Solution: Do not create a funccall_T every time. 34571 34572 Patch 9.0.0619 34573 Problem: Too many delete() calls in tests. 34574 Solution: Use deferred delete where possible. 34575 34576 Patch 9.0.0620 34577 Problem: matchaddpos() can only add up to 8 matches. 34578 Solution: Allocate the array of positions. (closes #11248) 34579 34580 Patch 9.0.0621 34581 Problem: Filetype test leaves file behind. 34582 Solution: Add deferred delete flag to writefile(). (Dominique Pellé, 34583 closes #11249) 34584 34585 Patch 9.0.0622 34586 Problem: matchaddpos() can get slow when adding many matches. 34587 Solution: Update the next available match ID when manually picking an ID and 34588 remove check if the available ID can be used. (idea by Rick Howe) 34589 34590 Patch 9.0.0623 34591 Problem: Error for modifying a const is not detected at compile time. 34592 Solution: Add TTFLAG_CONST and check for it in add() and extend(). 34593 34594 Patch 9.0.0624 34595 Problem: Leaking argument type array. 34596 Solution: Add allocated memory to type_gap. 34597 34598 Patch 9.0.0625 34599 Problem: Too many delete() calls in tests. 34600 Solution: Use deferred delete where possible. 34601 34602 Patch 9.0.0626 34603 Problem: Too many delete() calls in tests. 34604 Solution: Use deferred delete where possible. 34605 34606 Patch 9.0.0627 34607 Problem: "const" and "final" both make the type a constant. (Daniel 34608 Steinberg) 34609 Solution: Only have "const" make the type a constant. 34610 34611 Patch 9.0.0628 34612 Problem: Coverity warns for not checking return value. 34613 Solution: Check the return value and simplify the code. 34614 34615 Patch 9.0.0629 34616 Problem: Get an error for using const only when executing. 34617 Solution: Check for const at compile time for filter(), map(), remove(), 34618 reverse(), sort() and uniq(). 34619 34620 Patch 9.0.0630 34621 Problem: In Vim9 script a numbered function cannot be called. 34622 Solution: Do not require "g:" before a numbered function name. 34623 (closes #11254) 34624 34625 Patch 9.0.0631 34626 Problem: Too many delete() calls in tests. 34627 Solution: Use deferred delete where possible. 34628 34629 Patch 9.0.0632 34630 Problem: Calling a function from an "expr" option has too much overhead. 34631 Solution: Add call_simple_func() and use it for 'foldexpr' 34632 34633 Patch 9.0.0633 34634 Problem: FEAT_TITLE was removed but is still used. 34635 Solution: Remove FEAT_TITLE. (Naruhiko Nishino, closes #11256) 34636 34637 Patch 9.0.0634 34638 Problem: Evaluating "expr" options has more overhead than needed. 34639 Solution: Use call_simple_func() for 'foldtext', 'includeexpr', 'printexpr', 34640 "expr" of 'spellsuggest', 'diffexpr', 'patchexpr', 'balloonexpr', 34641 'formatexpr', 'indentexpr' and 'charconvert'. 34642 34643 Patch 9.0.0635 34644 Problem: Build error and compiler warnings. 34645 Solution: Add missing change. Add type casts. 34646 34647 Patch 9.0.0636 34648 Problem: Underline color does not work in terminals that don't send a 34649 termresponse. 34650 Solution: Do output t_8u if it was set explicitly. (closes #11253) 34651 34652 Patch 9.0.0637 34653 Problem: Syntax of commands in Vim9 script depends on +eval feature. 34654 Solution: Use same syntax with and without the +eval feature. 34655 34656 Patch 9.0.0638 34657 Problem: Popup menu highlight wrong on top of preview popup. (Yegappan 34658 Lakshmanan) 34659 Solution: Also check for the popup menu in screen_line(). 34660 34661 Patch 9.0.0639 34662 Problem: Checking for popup in screen_char() is too late, the attribute has 34663 already been changed. 34664 Solution: Move check for popup to where screen_char() is called. 34665 34666 Patch 9.0.0640 34667 Problem: Cannot scroll by screen line if a line wraps. 34668 Solution: Add the 'smoothscroll' option. Only works for CTRL-E and CTRL-Y 34669 so far. 34670 34671 Patch 9.0.0641 34672 Problem: Missing part of the new option code. 34673 Solution: Add missing WV_SMS. 34674 34675 Patch 9.0.0642 34676 Problem: Breakindent test fails. 34677 Solution: Correct logic for resetting need_showbreak. 34678 34679 Patch 9.0.0643 34680 Problem: Smoothscroll test fails. 34681 Solution: Check if skipcol changed. 34682 34683 Patch 9.0.0644 34684 Problem: 'smoothscroll' is not copied to a new window on :split. 34685 Solution: Copy the option value. Add a test. 34686 34687 Patch 9.0.0645 34688 Problem: CTRL-Y does not stop at line 1. (John Marriott) 34689 Solution: Stop at line 1 when 'smoothscroll' is not set. (closes #11261) 34690 34691 Patch 9.0.0646 34692 Problem: with 'smoothscroll' set CTRL-E does not work properly when 34693 'foldmethod' is set to "indent". (Yee Cheng Chin) 34694 Solution: Merge the code for scrolling with folds and 'smoothscroll'. 34695 (closes #11262) 34696 34697 Patch 9.0.0647 34698 Problem: The 'splitscroll' option is not a good name. 34699 Solution: Rename 'splitscroll' to 'splitkeep' and make it a string option, 34700 also supporting "topline". (Luuk van Baal, closes #11258) 34701 34702 Patch 9.0.0648 34703 Problem: When using powershell input redirection does not work. 34704 Solution: Use a different shell command for powershell. (Yegappan 34705 Lakshmanan, closes #11257) 34706 34707 Patch 9.0.0649 34708 Problem: No indication when the first line is broken for 'smoothscroll'. 34709 Solution: Show "<<<" in the first line. 34710 34711 Patch 9.0.0650 34712 Problem: Some tests are failing. 34713 Solution: Adjust for "<<<" showing up. 34714 34715 Patch 9.0.0651 34716 Problem: Build fails without the +conceal feature. 34717 Solution: Rename called function. 34718 34719 Patch 9.0.0652 34720 Problem: 'smoothscroll' not tested with 'number' and "n" in 'cpo'. 34721 Solution: Add tests, fix uncovered problem. 34722 34723 Patch 9.0.0653 34724 Problem: BS and DEL do not work properly in an interactive shell. (Gary 34725 Johnson) 34726 Solution: Adjust the length for replaced codes. 34727 34728 Patch 9.0.0654 34729 Problem: Breakindent test fails. 34730 Solution: Temporarily accept wrong result. 34731 34732 Patch 9.0.0655 34733 Problem: passing modifier codes to a shell running in the GUI. (Gary 34734 Johnson) 34735 Solution: Include modifier codes into the key and drop the modifiers. 34736 34737 Patch 9.0.0656 34738 Problem: Cannot specify another character to use instead of '@' at the end 34739 of the window. 34740 Solution: Add "lastline" to 'fillchars'. (Martin Tournoij, closes #11264, 34741 closes #10963) 34742 34743 Patch 9.0.0657 34744 Problem: Too many #ifdefs. 34745 Solution: Graduate the +cmdwin feature. Now the tiny and small builds are 34746 equal, drop the small build. (Martin Tournoij, closes #11268) 34747 34748 Patch 9.0.0658 34749 Problem: Tiny build fails on Mac OS. 34750 Solution: Define FEAT_CLIPBOARD only for normal build. 34751 34752 Patch 9.0.0659 34753 Problem: Wrong type of comment in SetSyn() function. 34754 Solution: Use Vim9 comment. (closes #11278) 34755 34756 Patch 9.0.0660 34757 Problem: Mapping with CTRL keys does not work in the GUI. 34758 Solution: Recognize CSI next to K_SPECIAL. (closes #11275, closes #11270) 34759 34760 Patch 9.0.0661 34761 Problem: Multi-byte "lastline" item in 'fillchars' does not work properly 34762 when the window is two columns wide. 34763 Solution: Compute the text length correctly. (closes #11280) 34764 34765 Patch 9.0.0662 34766 Problem: Concealed characters do not work correctly. 34767 Solution: Subtract boguscols instead of adding them. (closes #11273) 34768 34769 Patch 9.0.0663 34770 Problem: Tests check for +cmdwin feature which is always present. 34771 Solution: Remove the checks. (closes #11287) 34772 34773 Patch 9.0.0664 34774 Problem: Bad redrawing with spell checking, using "C" and "$" in 'cpo'. 34775 Solution: Do not redraw the next line when "$" is in 'cpo'. (closes #11285) 34776 34777 Patch 9.0.0665 34778 Problem: Setting 'cmdheight' has no effect if last window was resized. 34779 Solution: Do apply 'cmdheight' when told to. Use the frame height instead 34780 of the cmdline_row. (closes #11286) 34781 34782 Patch 9.0.0666 34783 Problem: Spacing-combining characters handled as composing, causing text to 34784 take more space than expected. 34785 Solution: Handle characters marked with "Mc" not as composing. 34786 (closes #11282) 34787 34788 Patch 9.0.0667 34789 Problem: ml_get error when 'splitkeep' is "screen". (Marius Gedminas) 34790 Solution: Check the botline is not too large. (Luuk van Baal, 34791 closes #11293, closes #11292) 34792 34793 Patch 9.0.0668 34794 Problem: CI on Mac M1 only uses clang 34795 Solution: Also run with gcc. (closes #11263) 34796 34797 Patch 9.0.0669 34798 Problem: Too many delete() calls in tests. 34799 Solution: Use deferred delete where possible. 34800 34801 Patch 9.0.0670 34802 Problem: No space for command line when there is a tabline. 34803 Solution: Correct computation of where the command line should be. 34804 (closes #11295) 34805 34806 Patch 9.0.0671 34807 Problem: Negative topline using CTRL-Y with 'smoothscroll' and 'diff'. 34808 (Ernie Rael) 34809 Solution: Only use 'smoothscroll' when 'wrap' is set. 34810 34811 Patch 9.0.0672 34812 Problem: Cursor line only partly shows with 'smoothscroll' and 'scrolloff' 34813 zero. 34814 Solution: Do not use 'smoothscroll' when adjusting the bottom of the window. 34815 (closes #11269) 34816 34817 Patch 9.0.0673 34818 Problem: First line not scrolled properly with 'smoothscroll' and 34819 'scrolloff' zero and using "k". 34820 Solution: Make sure the cursor position is visible. 34821 34822 Patch 9.0.0674 34823 Problem: Build error with tiny version. 34824 Solution: Use PLINES_NOFILL macro. 34825 34826 Patch 9.0.0675 34827 Problem: Search test screendump is outdated. 34828 Solution: Update the screendump for improved display. 34829 34830 Patch 9.0.0676 34831 Problem: CI on Mac M1 with gcc actually uses clang. 34832 Solution: Remove the gcc task. (Ozaki Kiichi, closes #11297) 34833 34834 Patch 9.0.0677 34835 Problem: Breakindent test accepts wrong result. 34836 Solution: Fix the number column and adjust the expected text. 34837 34838 Patch 9.0.0678 34839 Problem: Using exclamation marks on :function. 34840 Solution: Use :func and :endfunc as usual. 34841 34842 Patch 9.0.0679 34843 Problem: Tests failing with 'smoothscroll', 'number' and "n" in 'cpo'. 34844 Solution: Do not count number column in topline if columns are skipped. 34845 34846 Patch 9.0.0680 34847 Problem: Tests failing with 'breakindent', 'number' and "n" in 'cpo'. 34848 Solution: Do count the number column in topline if 'breakindent' is set. 34849 34850 Patch 9.0.0681 34851 Problem: "<<<" shows for 'smoothscroll' even when 'showbreak is set. 34852 Solution: When 'showbreak' is set do not display "<<<". 34853 34854 Patch 9.0.0682 34855 Problem: Crash when popup with deleted timer is closed. (Igbanam 34856 Ogbuluijah) 34857 Solution: Check the timer still exists. (closes #11301) 34858 34859 Patch 9.0.0683 34860 Problem: Cannot specify a time for :echowindow. 34861 Solution: A count can be used to specify the display time. Add 34862 popup_findecho(). 34863 34864 Patch 9.0.0684 34865 Problem: Skipped :exe command fails compilation on MS-Windows. 34866 Solution: Adjust return value when skipping. 34867 34868 Patch 9.0.0685 34869 Problem: FORTIFY_SOURCE causes a crash in Vim9 script. 34870 Solution: Use a pointer to the first char. (Yee Cheng Chin, closes #11302) 34871 34872 Patch 9.0.0686 34873 Problem: The right ALT key does not work on some MS-Windows keyboards. 34874 Solution: Adjust the modifiers based on GetKeyState(). (Anton Sharonov, 34875 closes #11300) 34876 34877 Patch 9.0.0687 34878 Problem: "export def" does not work in a nested block. 34879 Solution: Do not handle "export" with a separate function but in the same 34880 command stack. (closes #11304) 34881 34882 Patch 9.0.0688 34883 Problem: Debugger does not display the whole command. 34884 Solution: Set ea.cmd before checking for a breakpoint. 34885 34886 Patch 9.0.0689 34887 Problem: Compiler warning for unused function. 34888 Solution: Add #ifdef. (John Marriott) 34889 34890 Patch 9.0.0690 34891 Problem: Buffer size for expanding tab not correctly computed. 34892 Solution: Correctly use size of end character. 34893 34894 Patch 9.0.0691 34895 Problem: lalloc(0) error in listchars test. 34896 Solution: Skip generating text for tab if tab_len is zero. 34897 34898 Patch 9.0.0692 34899 Problem: PoE filter files are not recognized. 34900 Solution: Add a pattern to detect PoE filter files. (closes #11305) 34901 34902 Patch 9.0.0693 34903 Problem: browse() first argument cannot be a bool. 34904 Solution: Use tv_get_bool_chk() instead of tv_get_number_chk(). 34905 (closes #11308) 34906 34907 Patch 9.0.0694 34908 Problem: No native sound support on Mac OS. 34909 Solution: Add sound support for Mac OS. (Yee Cheng Chin, closes #11274) 34910 34911 Patch 9.0.0695 34912 Problem: Failing check for dictionary type for const any. 34913 Solution: Check for any type properly. (closes #11310) 34914 34915 Patch 9.0.0696 34916 Problem: It is unclear if the +rightleft and +arabic features are actively 34917 being used. 34918 Solution: Disable the features, await feedback. 34919 34920 Patch 9.0.0697 34921 Problem: Cursor in wrong position with Visual substitute. 34922 Solution: When restoring 'linebreak' mark the virtual column as invalid. 34923 (closes #11309, closes #11311) 34924 34925 Patch 9.0.0698 34926 Problem: VisVim is outdated, does not work with current Visual Studio. 34927 Solution: Remove VisVim. (Martin Tournoij) 34928 34929 Patch 9.0.0699 34930 Problem: Tiny build fails. 34931 Solution: Add #ifdef. 34932 34933 Patch 9.0.0700 34934 Problem: There is no real need for a "big" build. 34935 Solution: Move common features to "normal" build, less often used features 34936 to the "huge" build. (Martin Tournoij, closes #11283) 34937 34938 Patch 9.0.0701 34939 Problem: With 'smoothscroll' the cursor position s not adjusted in a long 34940 line. 34941 Solution: Move the cursor further up or down in the line. 34942 34943 Patch 9.0.0702 34944 Problem: Incomplete testing cursor position after change with 'linebreak' 34945 set. 34946 Solution: Add a test and move test cases together. (closes #11313) 34947 34948 Patch 9.0.0703 34949 Problem: Failing check for argument type for const any. 34950 Solution: Check for any type properly. (closes #11316) 34951 34952 Patch 9.0.0704 34953 Problem: CI runs "tiny" and "small" builds, which are the same. 34954 Solution: Remove the "small" build. (Naruhiko Nishino, closes #11315) 34955 34956 Patch 9.0.0705 34957 Problem: Virtual text truncation does not take padding into account. 34958 Solution: Subtract the padding from the available space. (closes #11318) 34959 34960 Patch 9.0.0706 34961 Problem: :help in a narrow window always opens at the top. 34962 Solution: Respect 'splitbelow'. (closes #11319) 34963 34964 Patch 9.0.0707 34965 Problem: With 'smoothscroll' and 'scrolloff' non-zero the cursor position 34966 is not properly adjusted in a long line. 34967 Solution: Move the cursor further up or down in the line. 34968 34969 Patch 9.0.0708 34970 Problem: :confirm does not work properly for a terminal buffer. 34971 Solution: Handle :confirm for a terminal buffer differently. (Yee Cheng 34972 Chin, closes #11312) 34973 34974 Patch 9.0.0709 34975 Problem: Virtual text "after" not correct with 'nowrap'. 34976 Solution: Do not display "after" text prop on the next line when 'wrap' is 34977 off. 34978 34979 Patch 9.0.0710 34980 Problem: Quitting/unloading/hiding a terminal buffer does not always work 34981 properly. 34982 Solution: Avoid that ":q!" leaves an empty buffer behind. ":bunload!" also 34983 kills the job and unloads the buffer. ":hide" does not unload the 34984 buffer. (Yee Cheng Chin, closes #11323) 34985 34986 Patch 9.0.0711 34987 Problem: SubStation Alpha files are not recognized. 34988 Solution: Add patterns for SubStation Alpha files. (closes #11332) 34989 34990 Patch 9.0.0712 34991 Problem: Wrong column when calling setcursorcharpos() with zero lnum. 34992 Solution: Set the line number before calling buf_charidx_to_byteidx(). 34993 (closes #11329) 34994 34995 Patch 9.0.0713 34996 Problem: <amatch> of MenuPopup event is expanded like a file name. 34997 Solution: Do not expand <amatch> for MenuPopup. (closes #11328) 34998 34999 Patch 9.0.0714 35000 Problem: With 'nowrap' two virtual text below not displayed correctly. 35001 Solution: Set text_prop_follows before continuing. Correct for number 35002 column. (closes #11333) 35003 35004 Patch 9.0.0715 35005 Problem: Wrong argument for append() gives two error messages. 35006 Solution: When getting an error for a number argument don't try using it as 35007 a string. (closes #11335) 35008 35009 Patch 9.0.0716 35010 Problem: With 'nowrap' virtual text "after" does not scroll left. 35011 Solution: Skip part of the virtual text that is left of the window. 35012 (closes #11320) Fix going beyond the last column of the window. 35013 35014 Patch 9.0.0717 35015 Problem: Compiler warning for unused variable in tiny build. 35016 Solution: Add #ifdefs. 35017 35018 Patch 9.0.0718 35019 Problem: Extra empty line between two virtual text "below" when 'wrap' and 35020 'number' are set. 35021 Solution: Reset "before" when there is no text in the screen line. 35022 (closes #11334) 35023 35024 Patch 9.0.0719 35025 Problem: Too many delete() calls in tests. 35026 Solution: Use deferred delete where possible. 35027 35028 Patch 9.0.0720 35029 Problem: MS-Windows GUI may have pixel dust from antialiasing. 35030 Solution: When a character changes also redraw the next one. (issue #8532) 35031 35032 Patch 9.0.0721 35033 Problem: Virtual text "above" with padding not displayed correctly. 35034 Solution: Take padding into account when truncating. (closes #11340) 35035 35036 Patch 9.0.0722 35037 Problem: Virtual text "after" does not show with 'list' set. 35038 Solution: Do not break out of the loop when another text prop follows. 35039 (closes #11337) 35040 35041 Patch 9.0.0723 35042 Problem: Extra empty line below virtual text when 'list' is set. 35043 Solution: Do not reset lcs_eol_one but set text_prop_follows. (closes #11339) 35044 35045 Patch 9.0.0724 35046 Problem: Closure in compiled function gets same variable in block. 35047 Solution: At the end of a block to not always reset the variable count. 35048 (issue #11094) 35049 35050 Patch 9.0.0725 35051 Problem: Virtual text "after" wraps to next line even when 'wrap' is off 35052 and 'list' is set. 35053 Solution: Do not use the minimum width when 'wrap' is off. (issue #11336) 35054 35055 Patch 9.0.0726 35056 Problem: Looping over list of lists and changing the list contents works in 35057 Vim9 script, not in a compiled function. 35058 Solution: Mark the loop variable final instead of const. (closes #11347) 35059 35060 Patch 9.0.0727 35061 Problem: Help in the repository differs from patched version too much. 35062 Solution: Make a patch for a few help files. 35063 35064 Patch 9.0.0728 35065 Problem: extend() test fails. 35066 Solution: Item is final, not const. 35067 35068 Patch 9.0.0729 35069 Problem: The rightleft and arabic features are disabled. 35070 Solution: Re-enable the features, some users want to use the functionality. 35071 35072 Patch 9.0.0730 35073 Problem: Startup test fails with right-left feature. 35074 Solution: Do not delete test file too early. 35075 35076 Patch 9.0.0731 35077 Problem: clang-tidy configuration files are not recognized. 35078 Solution: Recognize clang-tidy files as yaml. (closes #11350) 35079 35080 Patch 9.0.0732 35081 Problem: No check for white space before and after "=<<". (Doug Kearns) 35082 Solution: Check for white space in Vim9 script. (closes #11351) 35083 35084 Patch 9.0.0733 35085 Problem: Use of strftime() is not safe. 35086 Solution: Check the return value of strftime(). Use a larger buffer and 35087 correctly pass the available space. (Dominique Pellé, closes 35088 #11348) 35089 35090 Patch 9.0.0734 35091 Problem: Cursor position invalid when scrolling with 'smoothscroll' set. 35092 (Ernie Rael) 35093 Solution: Add w_valid_skipcol and clear flags when it changes. Adjust 35094 w_skipcol after moving the cursor. 35095 35096 Patch 9.0.0735 35097 Problem: Breakindent and scrolloff tests fail. 35098 Solution: Temporarily skip the assertions. 35099 35100 Patch 9.0.0736 35101 Problem: Quickfix listing does not handle very long messages. 35102 Solution: Use a growarray instead of a fixed size buffer. (Yegappan 35103 Lakshmanan, closes #11357) 35104 35105 Patch 9.0.0737 35106 Problem: Lisp word only recognized when a space follows. 35107 Solution: Also match a word at the end of a line. Rename the test. Use a 35108 compiled function to avoid backslashes. 35109 35110 Patch 9.0.0738 35111 Problem: Cannot suppress completion "scanning" messages. 35112 Solution: Add the "C" flag in 'shortmess'. (Bjorn Linse, closes #11354) 35113 35114 Patch 9.0.0739 35115 Problem: Mouse column not correctly used for popup_setpos. 35116 Solution: Adjust off-by-one error and handle Visual line selection properly. 35117 (Yee Cheng Chin, closes #11356) 35118 35119 Patch 9.0.0740 35120 Problem: prop_add_list() gives multiple errors for invalid argument. 35121 Solution: Only give one error message. 35122 35123 Patch 9.0.0741 35124 Problem: Cannot specify an ID for each item with prop_add_list(). (Sergey 35125 Vlasov) 35126 Solution: Add an optional fifth number to the item. (closes #11360) 35127 35128 Patch 9.0.0742 35129 Problem: Reading past end of the line when compiling a function with 35130 errors. 35131 Solution: Do not return an invalid pointer. Fix skipping redirection. 35132 35133 Patch 9.0.0743 35134 Problem: Starting cscope on Unix does not quote the arguments correctly. 35135 (Gary Johnson) 35136 Solution: Move the final quote after the arguments. 35137 35138 Patch 9.0.0744 35139 Problem: In script in autoload dir exported variable is not found. (Doug 35140 Kearns) 35141 Solution: Find the variable with the "script#" prefix. (closes #11361) 35142 35143 Patch 9.0.0745 35144 Problem: Wrong cursor position when using "gj" and "gk" in a long line. 35145 Solution: Adjust computations for the cursor position and skipcol. Re-enable 35146 tests that pass now, disable failing breakindent test. 35147 35148 Patch 9.0.0746 35149 Problem: Breakindent test cases are commented out. 35150 Solution: Adjust expected result to slightly different behavior. Correct 35151 computations for cursor position. 35152 35153 Patch 9.0.0747 35154 Problem: Too many #ifdefs. 35155 Solution: Graduate the +cmdline_info feature. (Martin Tournoij, 35156 closes #11330) 35157 35158 Patch 9.0.0748 35159 Problem: Kitty may send key without modifiers with CSI u code. 35160 Solution: Handle CSI u code without modifiers. (Trygve Aaberge, 35161 closes #11364) 35162 35163 Patch 9.0.0749 35164 Problem: Alloc/free of buffer for each quickfix entry is inefficient. 35165 Solution: Use a shared grow array. (Yegappan Lakshmanan, closes #11365) 35166 35167 Patch 9.0.0750 35168 Problem: Crash when popup closed in callback. (Maxim Kim) 35169 Solution: In syntax_end_parsing() check that syn_block is valid. 35170 35171 Patch 9.0.0751 35172 Problem: 'scrolloff' does not work well with 'smoothscroll'. 35173 Solution: Make positioning the cursor a bit better. Rename functions. 35174 35175 Patch 9.0.0752 35176 Problem: Rprofile files are not recognized. 35177 Solution: Recognize Rprofile files as "r". (closes #11369) 35178 35179 Patch 9.0.0753 35180 Problem: Some Ex commands are not in the help index. 35181 Solution: Add the missing commands. Add a script to check all Ex commands 35182 are in the help index. (Yee Cheng Chin, closes #11371) 35183 35184 Patch 9.0.0754 35185 Problem: 'indentexpr' overrules lisp indenting in one situation. 35186 Solution: Add "else" to keep the lisp indent. (issue #11327) 35187 35188 Patch 9.0.0755 35189 Problem: Huge build on macos always fails on CI. 35190 Solution: Temporarily disable the perl interface. 35191 35192 Patch 9.0.0756 35193 Problem: No autocmd event for changing text in a terminal window. 35194 Solution: Add TextChangedT. (Shougo Matsushita, closes #11366) 35195 35196 Patch 9.0.0757 35197 Problem: Line number not visible with 'smoothscroll', 'nu' and 'rnu'. 35198 Solution: Put the ">>>" after the line number instead of on top. 35199 35200 Patch 9.0.0758 35201 Problem: "precedes" from 'listchars' overwritten by <<< for 'smoothscroll'. 35202 Solution: Keep the "precedes" character. 35203 35204 Patch 9.0.0759 35205 Problem: Huge build on macos does not use Perl. 35206 Solution: Re-enable the Perl interface using "dynamic". (closes #11375) 35207 35208 Patch 9.0.0760 35209 Problem: Display test for 'listchars' "precedes" fails. 35210 Solution: Correct the expected result. 35211 35212 Patch 9.0.0761 35213 Problem: Cannot use 'indentexpr' for Lisp indenting. 35214 Solution: Add the 'lispoptions' option. 35215 35216 Patch 9.0.0762 35217 Problem: Build failure. 35218 Solution: Add missing change. 35219 35220 Patch 9.0.0763 35221 Problem: MS-Windows: warning for using int for size_t. 35222 Solution: Declare variable as size_t. 35223 35224 Patch 9.0.0764 35225 Problem: Indent and option tests fail. 35226 Solution: Change OP_INDENT. Add entry to options test table. 35227 35228 Patch 9.0.0765 35229 Problem: With a Visual block a put command column may go negative. 35230 Solution: Check that the column does not become negative. 35231 35232 Patch 9.0.0766 35233 Problem: Too many delete() calls in tests. 35234 Solution: Use deferred delete where possible. 35235 35236 Patch 9.0.0767 35237 Problem: Too many delete() calls in tests. 35238 Solution: Use deferred delete where possible. 35239 35240 Patch 9.0.0768 35241 Problem: Too many delete() calls in tests. 35242 Solution: Use deferred delete where possible. 35243 35244 Patch 9.0.0769 35245 Problem: Too many delete() calls in tests. 35246 Solution: Use deferred delete where possible. 35247 35248 Patch 9.0.0770 35249 Problem: Quickfix commands may keep memory allocated. 35250 Solution: Free memory when it's a bit much. (Yegappan Lakshmanan, 35251 closes #11379) 35252 35253 Patch 9.0.0771 35254 Problem: Cannot always tell the difference between tex and rexx files. 35255 Solution: Recognize tex by a leading backslash. (Martin Tournoij, 35256 closes #11380) 35257 35258 Patch 9.0.0772 35259 Problem: The libvterm code is outdated. 35260 Solution: Include libvterm changes from revision 790 to 801. 35261 35262 Patch 9.0.0773 35263 Problem: Huge build on MacOS uses dynamic Perl. 35264 Solution: Use built-in Perl, uninstall the brew one. (closes #11382) 35265 35266 Patch 9.0.0774 35267 Problem: The libvterm code is outdated. 35268 Solution: Include libvterm changes from revision 802 to 817. Revert some 35269 changes made for C89. 35270 35271 Patch 9.0.0775 35272 Problem: MS-Windows: mouse scrolling not supported in the console. 35273 Solution: Add event handling for mouse scroll events. (Christopher 35274 Plewright, closes #11374) 35275 35276 Patch 9.0.0776 35277 Problem: MSVC can't have field name "small". 35278 Solution: Rename small to smallfont. 35279 35280 Patch 9.0.0777 35281 Problem: Code is indented too much. 35282 Solution: Use an early return. (Yegappan Lakshmanan, closes #11386) 35283 35284 Patch 9.0.0778 35285 Problem: Indexing of unknown const type fails during compilation. 35286 Solution: Check for "any" properly. (closes #11389) 35287 35288 Patch 9.0.0779 35289 Problem: lsl and lm3 file extensions are not recognized. 35290 Solution: Add *.lsl and *.lm3 patterns. (Doug Kearns, closes #11384) 35291 35292 Patch 9.0.0780 35293 Problem: 'scroll' value computed in unexpected location. 35294 Solution: Compute 'scroll' when the window height is changed. (Luuk van 35295 Baal, closes #11387) 35296 35297 Patch 9.0.0781 35298 Problem: Workaround to rename "small" to "smallfont" is clumsy. 35299 Solution: Undefine "small" after including windows.h. (Ken Takata) 35300 35301 Patch 9.0.0782 35302 Problem: OpenVPN files are not recognized. 35303 Solution: Add patterns for OpenVPN files. (closes #11391) 35304 35305 Patch 9.0.0783 35306 Problem: ":!" doesn't do anything but does update the previous command. 35307 Solution: Do not have ":!" change the previous command. (Martin Tournoij, 35308 closes #11372) 35309 35310 Patch 9.0.0784 35311 Problem: Text prop "above" not displayed correctly with 'number' and "n" in 35312 'cpo'. 35313 Solution: Draw the line number column until the line text is reached. 35314 35315 Patch 9.0.0785 35316 Problem: Memory leak with empty shell command. 35317 Solution: Free the allocated memory when bailing out. 35318 35319 Patch 9.0.0786 35320 Problem: User command does not get number from :tab modifier. 35321 Solution: Include the number. (closes #11393, closes #6901) 35322 35323 Patch 9.0.0787 35324 Problem: MS-Windows: mouse scrolling in terminal misbehaves without dll. 35325 Solution: Add #ifdef as a temporary solution. (Christopher Plewright, 35326 closes #11392) 35327 35328 Patch 9.0.0788 35329 Problem: ModeChanged autocmd not executed when Visual mode is ended with 35330 CTRL-C. 35331 Solution: Do not trigger the autocmd when got_int is set. (closes #11394) 35332 35333 Patch 9.0.0789 35334 Problem: Dummy buffer ends up in a window. 35335 Solution: Disallow navigating to a dummy buffer. 35336 35337 Patch 9.0.0790 35338 Problem: Test for dummy buffer does not always produce the E86 error. 35339 Solution: Do not check if the error is produced. 35340 35341 Patch 9.0.0791 35342 Problem: At the hit-Enter prompt the End and Home keys may not work. 35343 Solution: Use the special "@" code for End and Home, like it was done for 35344 the cursor keys in patch 8.2.2246. (Trygve Aaberge, closes #11396) 35345 35346 Patch 9.0.0792 35347 Problem: MS-Windows: compiler complains about unused function. 35348 Solution: Add #ifdef. (John Marriott) 35349 35350 Patch 9.0.0793 35351 Problem: MS-Windows: mouse scroll events only work with the dll. 35352 Solution: Accept CSI codes for MS-Windows without the GUI. (Christopher 35353 Plewright, closes #11401) 35354 35355 Patch 9.0.0794 35356 Problem: There is no way to find out if an escape sequence with 35357 modifyOtherKeys has been seen. 35358 Solution: Add a notice with ":verbose map". 35359 35360 Patch 9.0.0795 35361 Problem: readblob() always reads the whole file. 35362 Solution: Add arguments to read part of the file. (Ken Takata, 35363 closes #11402) 35364 35365 Patch 9.0.0796 35366 Problem: Mapping test fails in some situations. 35367 Solution: Find the line with the verbose information. 35368 35369 Patch 9.0.0797 35370 Problem: Order of assert function arguments is reverted. 35371 Solution: Swap the arguments. (closes #11399) 35372 35373 Patch 9.0.0798 35374 Problem: Clang format configuration files are not recognized. 35375 Solution: Use yaml for Clang format configuration files. (Marwin Glaser, 35376 closes #11398) 35377 35378 Patch 9.0.0799 35379 Problem: In compiled function ->() on next line not recognized. 35380 Solution: Also check for "(". (closes #11405) 35381 35382 Patch 9.0.0800 35383 Problem: Compiler complains about repeated typedef. 35384 Solution: Remove one typedef. 35385 35386 Patch 9.0.0801 35387 Problem: The modifyOtherKeys flag is set when it should not. 35388 Solution: Do not handle special key codes with a modifier value above 16 as 35389 a modifyOtherKeys value. (issue #11403) 35390 35391 Patch 9.0.0802 35392 Problem: MS-Windows: cannot map console mouse scroll events. 35393 Solution: Change CSI to K_SPECIAL when checking for a mapping. (Christopher 35394 Plewright, closes #11410) 35395 35396 Patch 9.0.0803 35397 Problem: readblob() cannot read from character device. 35398 Solution: Use S_ISCHR() to not check the size. (Ken Takata, closes #11407) 35399 35400 Patch 9.0.0804 35401 Problem: Crash when trying to divide the largest negative number by -1. 35402 Solution: Handle this case specifically. 35403 35404 Patch 9.0.0805 35405 Problem: Filetype autocmd may cause freed memory access. 35406 Solution: Set the quickfix-busy flag while filling the buffer. 35407 35408 Patch 9.0.0806 35409 Problem: 'langmap' works differently when there are modifiers. 35410 Solution: Only apply 'langmap' to a character where modifiers have no 35411 effect. (closes #11395, closes #11404) 35412 35413 Patch 9.0.0807 35414 Problem: With 'smoothscroll' typing "0" may not go to the first column. 35415 Solution: Recompute w_cline_height when needed. Do not scroll up when it 35416 would move the cursor. 35417 35418 Patch 9.0.0808 35419 Problem: jsonnet filetype detection has a typo. 35420 Solution: Change "libjsonnet" to "libsonnet". (Maxime Brunet, closes #11412) 35421 35422 Patch 9.0.0809 35423 Problem: Test for job writing to buffer fails. 35424 Solution: Correct w_topline when deleting a buffer line. 35425 35426 Patch 9.0.0810 35427 Problem: readblob() returns empty when trying to read too much. 35428 Solution: Return what is available. 35429 35430 Patch 9.0.0811 35431 Problem: Error if :echowin is preceded by a command modifier. 35432 Solution: Do not give an error for range when there is a modifier. 35433 (closes #11414) 35434 35435 Patch 9.0.0812 35436 Problem: GUI mouse scrollwheel mappings don't work. 35437 Solution: Add check for "gui.in_use". (Christopher Plewright, closes #11418) 35438 35439 Patch 9.0.0813 35440 Problem: Kitty terminal is not recognized. 35441 Solution: Recognize Kitty by the termresponse and then do not set 35442 seenModifyOtherKeys, since Kitty doesn't support that. 35443 (issue #11413) 35444 35445 Patch 9.0.0814 35446 Problem: Aws config files are not recognized. 35447 Solution: Use "confini" for aws config files. (Justin M. Keyes, 35448 closes #11416) 35449 35450 Patch 9.0.0815 35451 Problem: ":!" does not switch to the alternate screen. 35452 Solution: For ":!" don't clear the previous command. (closes #11420, 35453 closes #11409) 35454 35455 Patch 9.0.0816 35456 Problem: CTRL-Z at end of file is always dropped. 35457 Solution: Add the 'endoffile' option, like the 'endofline' option. 35458 (closes #11408, closes #11397) 35459 35460 Patch 9.0.0817 35461 Problem: Build error. 35462 Solution: correct variable name. 35463 35464 Patch 9.0.0818 35465 Problem: "!ls" does not work. 35466 Solution: Do not free memory that is in use. 35467 35468 Patch 9.0.0819 35469 Problem: Still a build error, tests are failing. 35470 Solution: Correct recent changes. Add missing init for 'eof'. 35471 35472 Patch 9.0.0820 35473 Problem: Memory leak with empty shell command. 35474 Solution: Free the empty string. 35475 35476 Patch 9.0.0821 35477 Problem: Memory leak with empty shell command. 35478 Solution: Free the empty string. 35479 35480 Patch 9.0.0822 35481 Problem: Crash when dragging the statusline with a mapping. 35482 Solution: Check for valid window pointer. (issue #11427) 35483 35484 Patch 9.0.0823 35485 Problem: Mouse drag test fails. 35486 Solution: Only reset the mouse click flag when actually switching to another 35487 tab page. Disable test that keeps failing. 35488 35489 Patch 9.0.0824 35490 Problem: Crash when using win_move_separator() in other tab page. 35491 Solution: Check for valid window in current tab page. 35492 (closes #11479, closes #11427) 35493 35494 Patch 9.0.0825 35495 Problem: Cannot drag an entry in the tabpage line. 35496 Solution: Clear dragwin instead of got_click. (closes #11483, 35497 closes #11482) 35498 35499 Patch 9.0.0826 35500 Problem: If 'endofline' is set the CTRL-Z may be written in the wrong 35501 place. 35502 Solution: Write CTRL-Z at the end of the file. Update the help to explain 35503 the possibilities better. (Ken Takata, closes #11486) 35504 35505 Patch 9.0.0827 35506 Problem: The <Home> key in tmux doesn't work when 'term' is set to "xterm". 35507 (Dominique Pellé) 35508 Solution: Only use '@' in a termcap key entry for "1" when ";" follows. 35509 (closes #11429) 35510 35511 Patch 9.0.0828 35512 Problem: Various typos. 35513 Solution: Correct typos. (closes #11432) 35514 35515 Patch 9.0.0829 35516 Problem: Wrong counts in macro comment. 35517 Solution: Update the value counts. (closes #11480) 35518 35519 Patch 9.0.0830 35520 Problem: Compiling with Perl on Mac 12 fails. 35521 Solution: Suppress infinite warnings. (closes #11499) 35522 35523 Patch 9.0.0831 35524 Problem: Compiler warning for redefining HAVE_DUP. 35525 Solution: Undefine HAVE_DUP if needed. (Ozaki Kiichi, closes #11484) 35526 35527 Patch 9.0.0832 35528 Problem: Deprecation warning causes build failure. 35529 Solution: Suppress deprecation warning. (closes #11503) 35530 35531 Patch 9.0.0833 35532 Problem: Mac: no +sound feature in huge build. 35533 Solution: Enable +sound in Mac huge build. (closes #11497) 35534 35535 Patch 9.0.0834 35536 Problem: Warning for missing return type. 35537 Solution: Add "int". (San James, closes #11496) 35538 35539 Patch 9.0.0835 35540 Problem: The window title is not redrawn when 'endoffile' changes. 35541 Solution: redraw the window title when 'endoffile' is changed. (Ken Takata, 35542 closes #11488) 35543 35544 Patch 9.0.0836 35545 Problem: Wrong error when using extend() with funcref. 35546 Solution: Better check the variable type. (closes #11468, closes #11455) 35547 35548 Patch 9.0.0837 35549 Problem: append() reports failure when not appending anything. 35550 Solution: Only report failure when appending something. (closes #11498) 35551 35552 Patch 9.0.0838 35553 Problem: Compiler warnings for unused variables. 35554 Solution: Adjust #ifdef and remove unused variables. (John Marriott) 35555 35556 Patch 9.0.0839 35557 Problem: Test may fail depending on sequence of events. 35558 Solution: Accept error codes in either order. (Yee Cheng Chin, 35559 closes #11510) 35560 35561 Patch 9.0.0840 35562 Problem: Cannot change a slice of a const list. (Takumi KAGIYAMA) 35563 Solution: Remove the const flag from the slice type. (closes #11490) 35564 35565 Patch 9.0.0841 35566 Problem: deletebufline() does not always return 1 on failure. 35567 Solution: Refactor the code to make it work more predictable. (closes #11511) 35568 35569 Patch 9.0.0842 35570 Problem: Unicode range for Apple SF symbols is outdated. 35571 Solution: Update to SF Symbols 4. (Yee Cheng Chin, closes #11474) 35572 35573 Patch 9.0.0843 35574 Problem: VHS tape files are not recognized. 35575 Solution: Add a filetype pattern. (Carlos Alexandro Becker, closes #11452) 35576 35577 Patch 9.0.0844 35578 Problem: Handling 'statusline' errors is spread out. 35579 Solution: Pass the option name to the lower levels so the option can be 35580 reset there when an error is encountered. (Luuk van Baal, 35581 closes #11467) 35582 35583 Patch 9.0.0845 35584 Problem: Shell command with just space gives strange error. 35585 Solution: Skip white space at start of the argument. (Christian Brabandt, 35586 Shane-XB-Qian, closes #11515, closes #11495) 35587 35588 Patch 9.0.0846 35589 Problem: Using assert_fails() may cause hit-enter prompt. 35590 Solution: Set no_wait_return. (closes #11522) 35591 35592 Patch 9.0.0847 35593 Problem: CI: not totally clear what MS-Windows version is used. 35594 Solution: Show the Windows version. (Ken Takata, closes #11524) 35595 35596 Patch 9.0.0848 35597 Problem: Help item for --log argument is not aligned nicely. 35598 Solution: Add a Tab. (Ken Takata, closes #11521) 35599 35600 Patch 9.0.0849 35601 Problem: Terminal mouse test is a bit flaky. 35602 Solution: Add WaitFor() calls. (James McCoy closes #11519) Tune wait times 35603 to reduce flakiness. 35604 35605 Patch 9.0.0850 35606 Problem: MS-Windows Terminal has unstable color control. 35607 Solution: Do not try to read the old command prompt colortable, use modern 35608 VT sequences. (Christopher Plewright, closes #11450, 35609 closes #11373) 35610 35611 Patch 9.0.0851 35612 Problem: Terminal mouse test is still flaky. 35613 Solution: Also use WaitForAssert(). 35614 35615 Patch 9.0.0852 35616 Problem: Crypt test is skipped if xxd is not found. 35617 Solution: Find xxd where it was supposed to be build. 35618 35619 Patch 9.0.0853 35620 Problem: Terminal mouse test is still flaky on MacOS M1. 35621 Solution: Also wait for the file to have some contents. 35622 35623 Patch 9.0.0854 35624 Problem: No proper test for what 9.0.0846 fixes. 35625 Solution: Run test in a terminal so that the hit-enter prompt can show up. 35626 (closes #11523) 35627 35628 Patch 9.0.0855 35629 Problem: Comment not located above the code it refers to. 35630 Solution: Move the comment. (closes #11527) 35631 35632 Patch 9.0.0856 35633 Problem: MS-Windows: executable not found when running individual test. 35634 Solution: Also look for vimd.exe. (Christopher Plewright, closes #11525) 35635 35636 Patch 9.0.0857 35637 Problem: Selecting MSVC 2017 does not set $PLATFORM. 35638 Solution: Use $VSCMD_ARG_TGT_ARCH. (Ken Takata, closes #11485) 35639 35640 Patch 9.0.0858 35641 Problem: "!!sort" in a closed fold sorts too many lines. 35642 Solution: Round to end of fold after adding the line count. (closes #11487) 35643 35644 Patch 9.0.0859 35645 Problem: Compiler warning for unused variable. 35646 Solution: Add #ifdef. 35647 35648 Patch 9.0.0860 35649 Problem: MS-Windows: windres fails with clang 15.0.4. 35650 Solution: Use llvm-windres. (John Marriott) 35651 35652 Patch 9.0.0861 35653 Problem: Solution for "!!sort" in closed fold is not optimal. 35654 Solution: Use a different range instead of the subtle difference in handling 35655 a range with an offset. (issue #11487) 35656 35657 Patch 9.0.0862 35658 Problem: Default value of 'endoffile' is wrong. 35659 Solution: The default must be 'noendoffile'. 35660 35661 Patch 9.0.0863 35662 Problem: col() and charcol() only work for the current window. 35663 Solution: Add an optional winid argument. (Yegappan Lakshmanan, 35664 closes #11466, closes #11461) 35665 35666 Patch 9.0.0864 35667 Problem: Crash when using "!!" without a previous shell command. 35668 Solution: Check "prevcmd" is not NULL. (closes #11487) 35669 35670 Patch 9.0.0865 35671 Problem: Duplicate arguments are not always detected. 35672 Solution: Expand to full path before comparing arguments. (Nir Lichtman, 35673 closes #11505, closes #9402) 35674 35675 Patch 9.0.0866 35676 Problem: No test for what patch 8.2.2207 fixes. 35677 Solution: Add a test case. (closes #11531) 35678 35679 Patch 9.0.0867 35680 Problem: Wildmenu redrawing code is spread out. 35681 Solution: Refactor to move code together. (closes #11528) 35682 35683 Patch 9.0.0868 35684 Problem: MS-Windows: after Vim exits console resizing does not work 35685 properly. 35686 Solution: Restore screen behavior checks for various WT and VTP 35687 combinations. (Christopher Plewright, closes #11526, 35688 closes #11507) 35689 35690 Patch 9.0.0869 35691 Problem: Bogus error when string used after :elseif. 35692 Solution: Do not consider a double quote the start of a comment. 35693 (closes #11534) 35694 35695 Patch 9.0.0870 35696 Problem: Get E967 when using text property in quickfix window. (Sergey 35697 Vlasov) 35698 Solution: Do not add an extra NUL and compute the text length correctly. 35699 (closes #11513) 35700 35701 Patch 9.0.0871 35702 Problem: Using freed memory when clearing augroup at more prompt. 35703 Solution: Delay clearing augroup until it's safe. (closes #11441) 35704 35705 Patch 9.0.0872 35706 Problem: Code is indented more than needed. 35707 Solution: Return early. (Yegappan Lakshmanan, closes #11538) 35708 35709 Patch 9.0.0873 35710 Problem: Using freed memory when executing mapclear at the more prompt. 35711 Solution: Do not clear mappings while listing them. (closes #11438) 35712 35713 Patch 9.0.0874 35714 Problem: Using freed memory when executing unmenu at the more prompt. 35715 Solution: Do not clear menus while listing them. (closes #11439) 35716 35717 Patch 9.0.0875 35718 Problem: Using freed memory when executing delfunc at the more prompt. 35719 Solution: Check function list not changed in another place. (closes #11437) 35720 35721 Patch 9.0.0876 35722 Problem: Code is indented more than needed. 35723 Solution: Split ExpandEscape() in two. (Yegappan Lakshmanan, closes #11539) 35724 35725 Patch 9.0.0877 35726 Problem: Using freed memory with :comclear while listing commands. 35727 Solution: Bail out when the command list has changed. (closes #11440) 35728 35729 Patch 9.0.0878 35730 Problem: Coverity warns for dead code. 35731 Solution: Remove the dead code. 35732 35733 Patch 9.0.0879 35734 Problem: Unnecessary nesting in makefile. 35735 Solution: Join "else" and "ifeq". (Ken Takata, closes #11547) 35736 35737 Patch 9.0.0880 35738 Problem: Preprocessor indenting is off. 35739 Solution: Adjust preprocessor indentation. (Ken Takata, closes #11546) 35740 35741 Patch 9.0.0881 35742 Problem: Cannot get the currently showing mouse shape. 35743 Solution: Add getmouseshape(). 35744 35745 Patch 9.0.0882 35746 Problem: Using freed memory after SpellFileMissing autocmd uses bwipe. 35747 Solution: Bail out if the window no longer exists. 35748 35749 Patch 9.0.0883 35750 Problem: A silent mapping may cause dots on the command line. 35751 Solution: Don't show dots for completion if they are not going to be removed 35752 again. (closes #11501) 35753 35754 Patch 9.0.0884 35755 Problem: Mouse shape remains in op-pending mode after failed change. 35756 Solution: Reset finish_op and restore it. (closes #11545) 35757 35758 Patch 9.0.0885 35759 Problem: Informational message has an error message number. 35760 Solution: Use a message without an error number. (closes #11530) 35761 35762 Patch 9.0.0886 35763 Problem: Horizontal mouse scroll only works in the GUI. 35764 Solution: Make horizontal mouse scroll also work in a terminal. 35765 (Christopher Plewright, closes #11448) 35766 35767 Patch 9.0.0887 35768 Problem: Cannot easily try out what codes various keys produce. 35769 Solution: Add a script to gather key code information, with an initial list 35770 of codes to compare with. 35771 35772 Patch 9.0.0888 35773 Problem: MS-Windows GUI: CTRL-] does not work on Swiss keyboard. 35774 Solution: Check the key code and don't consider it as a dead key. (Aedin 35775 Louis Xavier, closes #11556) 35776 35777 Patch 9.0.0889 35778 Problem: Keycode check script has a few flaws. 35779 Solution: Sort on terminal name. Ignore XTGETTCAP responses. Check for 35780 version and status response. Update entries. 35781 35782 Patch 9.0.0890 35783 Problem: No test for what patch 9.0.0827 fixes. 35784 Solution: Add a test (still doesn't fail when fix is reverted). 35785 35786 Patch 9.0.0891 35787 Problem: Virtual text below after match has wrong highlight. 35788 Solution: Restore search_attr only after the virtual text. 35789 (closes #11446) 35790 35791 Patch 9.0.0892 35792 Problem: May redraw when not needed, causing slow scrolling. 35793 Solution: Do not redraw when w_skipcol doesn't change. When w_skipcol 35794 changes only redraw from the top. (issue #11559) 35795 35796 Patch 9.0.0893 35797 Problem: 'smoothscroll' cursor calculations wrong when 'number' is set. 35798 Solution: Correct the code that computes the width. (closes #11492) 35799 35800 Patch 9.0.0894 35801 Problem: Virtual text property highlight ignores window background. 35802 Solution: Combine text prop attribute with win_attr into extra_attr. 35803 (closes #11462) 35804 35805 Patch 9.0.0895 35806 Problem: File renamed twice in test; missing feature check. 35807 Solution: Remove a rename() call. Add check for cryptv feature. 35808 (closes #11564) 35809 35810 Patch 9.0.0896 35811 Problem: Test for home key fails when 'term' is "tmux". 35812 Solution: Only save termcap entries that exist. Adjust code for xHome to 35813 what xterm uses. (closes #11566) 35814 35815 Patch 9.0.0897 35816 Problem: Clinical Quality Language files are not recognized. 35817 Solution: Add the "*.cql" pattern. (Matthew Gramigna, closes #11452) 35818 35819 Patch 9.0.0898 35820 Problem: With 'smoothscroll' cursor is one screen line too far down. (Ernie 35821 Rael) 35822 Solution: Add a test that currently has the wrong result so that a fix can 35823 be made. (issue #11436) 35824 35825 Patch 9.0.0899 35826 Problem: The builtin terminals are in one long list. 35827 Solution: Refactor into multiple lists and an index of the lists. 35828 35829 Patch 9.0.0900 35830 Problem: Cursor moves too far with 'smoothscroll'. 35831 Solution: Only move as far as really needed. (Yee Cheng Chin, closes #11504) 35832 35833 Patch 9.0.0901 35834 Problem: Setting w_leftcol and handling side effects is confusing. 35835 Solution: Use a function to set w_leftcol() and handle side effects. 35836 35837 Patch 9.0.0902 35838 Problem: Some mouse scroll code is not in a good place. 35839 Solution: Refactor the code. (Christopher Plewright, closes #11561) 35840 35841 Patch 9.0.0903 35842 Problem: Key code checker doesn't check modifyOtherKeys resource. 35843 Solution: Request the modifyOtherKeys resource value. Drop resource DCS 35844 responses. 35845 35846 Patch 9.0.0904 35847 Problem: Various comment and indent flaws. 35848 Solution: Improve comments and indenting. 35849 35850 Patch 9.0.0905 35851 Problem: Virtual text after the line wraps when 'wrap' is off. 35852 Solution: Only set text_prop_follows when wrapping. (closes #11463) 35853 35854 Patch 9.0.0906 35855 Problem: Mouse scroll code is not optimal. 35856 Solution: Properly organise Normal mode, Insert mode and common code. 35857 (Christopher Plewright, closes #11572) 35858 35859 Patch 9.0.0907 35860 Problem: Restoring window after WinScrolled may fail. 35861 Solution: Lock the window layout when triggering WinScrolled. 35862 35863 Patch 9.0.0908 35864 Problem: With 'smoothscroll' cursor may end up in wrong position. 35865 Solution: Correct the computation of screen lines. (Yee Cheng Chin, 35866 closes #11502) 35867 35868 Patch 9.0.0909 35869 Problem: Error message for layout change does not match action. 35870 Solution: Pass the command to where the error is given. (closes #11573) 35871 35872 Patch 9.0.0910 35873 Problem: Setting lines in another buffer may not work well. 35874 Solution: Make sure the buffer being changed has a window. (issue #11558) 35875 35876 Patch 9.0.0911 35877 Problem: With 'smoothscroll' set mouse click position may be wrong. 35878 Solution: Adjust computations for w_skipcol. (Yee Cheng Chin, closes #11514) 35879 35880 Patch 9.0.0912 35881 Problem: libvterm with modifyOtherKeys level 2 does not match xterm. 35882 Solution: Adjust key code escape sequences to be the same as what xterm 35883 sends in modifyOtherKeys level 2 mode. Check the value of 35884 no_reduce_keys before using it. 35885 35886 Patch 9.0.0913 35887 Problem: Only a change in the current window triggers the WinScrolled 35888 event. 35889 Solution: Trigger WinScrolled if any window scrolled or changed size. 35890 (issue #11576) 35891 35892 Patch 9.0.0914 35893 Problem: deletebufline() may move marks in the wrong window. 35894 Solution: Find a window for the buffer being changed. (closes #11583) 35895 35896 Patch 9.0.0915 35897 Problem: WinScrolled may trigger immediately when defined. 35898 Solution: Initialize the fields in all windows. (closes #11582) 35899 35900 Patch 9.0.0916 35901 Problem: getbufline() is inefficient for getting a single line. 35902 Solution: Add getbufoneline(). 35903 35904 Patch 9.0.0917 35905 Problem: The WinScrolled autocommand event is not enough. 35906 Solution: Add WinResized and provide information about what changed. 35907 (closes #11576) 35908 35909 Patch 9.0.0918 35910 Problem: MS-Windows: modifier keys do not work with mouse scroll events. 35911 Solution: Use K_SPECIAL instead of CSI for the modifier keys. (Christopher 35912 Plewright, closes #11587) 35913 35914 Patch 9.0.0919 35915 Problem: Build failure with tiny features. 35916 Solution: Adjust #ifdef's. 35917 35918 Patch 9.0.0920 35919 Problem: Cannot find an import prefixed with "s:". (Doug Kearns) 35920 Solution: Skip over the "s:". (closes #11585) 35921 35922 Patch 9.0.0921 35923 Problem: Missing defined(PROTO) in #ifdef. 35924 Solution: Adjust #ifdef so that proto works with different features. 35925 Clean up some preprocessor indenting. 35926 35927 Patch 9.0.0922 35928 Problem: Mermaid files are not recognized. 35929 Solution: Add patterns for Mermaid. (Crag MacEachern) 35930 35931 Patch 9.0.0923 35932 Problem: Second SIGWINCH signal may be ignored. 35933 Solution: When set_shellsize() is busy when called then run the inner code 35934 again when it's done. (issue #424) 35935 35936 Patch 9.0.0924 35937 Problem: The first termcap entry of a builtin termcap is not used. 35938 Solution: Remove increment that was previously skipping the KS_NAME entry. 35939 35940 Patch 9.0.0925 35941 Problem: Two conditions are always false. 35942 Solution: Remove the conditions. Update return value types to make clear 35943 what could be returned. (closes #11593) 35944 35945 Patch 9.0.0926 35946 Problem: Coverity warns for not using return value of dict_add(). 35947 Solution: When dict_add() fails then don't call hash_remove(). 35948 35949 Patch 9.0.0927 35950 Problem: Coverity warns for using a NULL pointer. 35951 Solution: Check for memory allocation failure. 35952 35953 Patch 9.0.0928 35954 Problem: Using Ruby LDFLAGS may cause build problems. 35955 Solution: Do not add Ruby LDFLAGS to Vim's LDFLAGS. (Zdenek Dohnal, 35956 closes #11592) 35957 35958 Patch 9.0.0929 35959 Problem: Build failure with tiny version. (Tony Mechelynck) 35960 Solution: Add #ifdef. 35961 35962 Patch 9.0.0930 35963 Problem: Cannot debug the Kitty keyboard protocol with TermDebug. 35964 Solution: Add Kitty keyboard protocol support to the libvterm fork. 35965 Recognize the escape sequences that the protocol generates. Add 35966 the 'keyprotocol' option to allow the user to specify for which 35967 terminal what protocol is to be used, instead of hard-coding this. 35968 Add recognizing the kitty keyboard protocol status. 35969 35970 Patch 9.0.0931 35971 Problem: MS-Windows: mouse column limited to 223. 35972 Solution: Use two bytes for each mouse coordinate. Add the mouse position 35973 to scroll events. (Christopher Plewright, closes #11597) 35974 35975 Patch 9.0.0932 35976 Problem: Oblivion files are not recognized. 35977 Solution: Recognize Oblivion files and alike as "obse". (closes #11540) 35978 35979 Patch 9.0.0933 35980 Problem: Kitty shows "already at oldest change" on startup. 35981 Solution: When receiving the keyboard protocol state return the ignore key. 35982 (closes #11601) 35983 35984 Patch 9.0.0934 35985 Problem: Various code formatting issues. 35986 Solution: Improve code formatting. 35987 35988 Patch 9.0.0935 35989 Problem: When using dash it may not be recognize as filetype "sh". 35990 Solution: Add checks for "dash". (Eisuke Kawashima, closes #11600) 35991 35992 Patch 9.0.0936 35993 Problem: Wrong type for "isunnamed" returned by getreginfo(). 35994 Solution: Use VAR_BOOL instead of VAR_SPECIAL. (closes #11598) 35995 35996 Patch 9.0.0937 35997 Problem: Forked repositories send out useless email. 35998 Solution: When Coverity fails to run just ignore it. (Shane-XB-Qian, 35999 closes #11604) 36000 36001 Patch 9.0.0938 36002 Problem: MS-Windows: debug executable not found when running test. 36003 Solution: Look for vimd.exe. (Christopher Plewright, closes #11602) 36004 36005 Patch 9.0.0939 36006 Problem: Still using simplified mappings when using the kitty keyboard 36007 protocol. 36008 Solution: Use the kitty_protocol_state value to decide whether to use 36009 simplified mappings. Improve how seenModifyOtherKeys is set and 36010 reset. 36011 36012 Patch 9.0.0940 36013 Problem: Crash when typing a letter in a terminal window. (Shane-XB-Qian) 36014 Solution: Use the "vterm" variable instead of getting the terminal pointer 36015 from the current buffer. (closes #11608) 36016 36017 Patch 9.0.0941 36018 Problem: CI failures in sound dummy. 36019 Solution: Temporarily disable building sound dummy. (closes #11610) 36020 36021 Patch 9.0.0942 36022 Problem: Workflow Description Language files are not recognized. 36023 Solution: Add a pattern for the "wdl" filetype. (Matt Dunford, 36024 closes #11611) 36025 36026 Patch 9.0.0943 36027 Problem: Pretending to go out of Insert mode when Esc is received has side 36028 effects. 36029 Solution: When the kitty keyboard protocol is enabled expect Esc to always 36030 be the start of an escape sequence. 36031 36032 Patch 9.0.0944 36033 Problem: 'cursorline' causes virtual text highlight to continue. 36034 Solution: Save and restore line_attr. (closes #11588) 36035 36036 Patch 9.0.0945 36037 Problem: Failures in the cursorline test. 36038 Solution: Reset extra_attr only after a text property. 36039 36040 Patch 9.0.0946 36041 Problem: CI: Error in Coverity flow is not reported. 36042 Solution: Use another way to avoid errors in a forked repository. (Ken 36043 Takata, closes #11609) 36044 36045 Patch 9.0.0947 36046 Problem: Invalid memory access in substitute with function that goes to 36047 another file. 36048 Solution: Check for text locked in CTRL-W gf. 36049 36050 Patch 9.0.0948 36051 Problem: 'ttyfast' is set for arbitrary terminals. 36052 Solution: Always set 'ttyfast'. (closes #11549) 36053 36054 Patch 9.0.0949 36055 Problem: Crash when unletting a variable while listing variables. 36056 Solution: Disallow changing a hashtable while going over the entries. 36057 (closes #11435) 36058 36059 Patch 9.0.0950 36060 Problem: The pattern "\_s\zs" matches at EOL. 36061 Solution: Make the pattern "\_s\zs" match at the start of the next line. 36062 (closes #11617) 36063 36064 Patch 9.0.0951 36065 Problem: Trying every character position for a match is inefficient. 36066 Solution: Use the start position of the match ignoring "\zs". 36067 36068 Patch 9.0.0952 36069 Problem: Eclipse preference files are not recognized. 36070 Solution: Add a pattern to use "jproperties" for Eclipse preference files. 36071 (closes #11618) 36072 36073 Patch 9.0.0953 36074 Problem: Part of making search more efficient is missing. 36075 Solution: Add the change in searchit(). 36076 36077 Patch 9.0.0954 36078 Problem: Cannot detect whether modifyOtherKeys is enabled. 36079 Solution: Use XTQMODKEYS introduced by xterm version 377 to request the 36080 modifyOtherKeys level. Update the keycode check results. 36081 36082 Patch 9.0.0955 36083 Problem: Libvterm does not support the XTQMODKEYS request. 36084 Solution: Implement the XTQMODKEYS request and response. Update the keycode 36085 check results. 36086 36087 Patch 9.0.0956 36088 Problem: Terminal tests fail when using key with modifier. 36089 Solution: Use the modifyOtherKeys encoding when using RunVimInTerminal(). 36090 36091 Patch 9.0.0957 36092 Problem: Tests fail without the terminal feature. 36093 Solution: Move functions to another utility script. 36094 36095 Patch 9.0.0958 36096 Problem: Messages test is flaky. 36097 Solution: Add a short delay. 36098 36099 Patch 9.0.0959 36100 Problem: Error when using the "File Settings / Text Width" menu. 36101 Solution: Use str2nr(). (closes #11624) 36102 36103 Patch 9.0.0960 36104 Problem: Error when using the "Tools / Spelling / Find More Languages" 36105 menu. 36106 Solution: Remove "<SID>". Reset "g:menutrans_set_lang_to" when 'encoding' 36107 changes. (closes #11625) 36108 36109 Patch 9.0.0961 36110 Problem: Using deletebufline() may jump to another window. 36111 Solution: Do not use a window where the buffer was only in the past. 36112 (closes #11594) 36113 36114 Patch 9.0.0962 36115 Problem: Virtual text below cannot be placed below empty lines. 36116 Solution: Add one character. (James Alvarado, closes #11606, closes #11520) 36117 36118 Patch 9.0.0963 36119 Problem: Function name does not match autocmd event name. 36120 Solution: Rename "optionsset" to "optionset". (closes #11630) 36121 36122 Patch 9.0.0964 36123 Problem: Status line of other window not redrawn when dragging it when 36124 'splitkeep' is set to "screen". 36125 Solution: Set w_redr_status earlier. (Luuk van Baal, closes #11635, 36126 closes #11632) 36127 36128 Patch 9.0.0965 36129 Problem: Using one window for executing autocommands is insufficient. 36130 Solution: Use up to five windows for executing autocommands. 36131 36132 Patch 9.0.0966 36133 Problem: Some compilers don't allow a declaration after a label. 36134 Solution: Move the declaration to the start of the block. (John Marriott) 36135 36136 Patch 9.0.0967 36137 Problem: Leaking memory from autocmd windows. 36138 Solution: Free window when auc_win is not NULL. 36139 36140 Patch 9.0.0968 36141 Problem: GUI mouse event test is a bit flaky. 36142 Solution: Mark the test case as flaky. Move test function failure checks to 36143 a separate test function. 36144 36145 Patch 9.0.0969 36146 Problem: Matchparen highlight is not updated when switching buffers. 36147 Solution: Listen to the BufLeave and the BufWinEnter autocmd events. 36148 (closes #11626) 36149 36150 Patch 9.0.0970 36151 Problem: Coverity warns for uninitialized variable. 36152 Solution: Initialize "ren_ret". 36153 36154 Patch 9.0.0971 36155 Problem: Escape sequences not recognized without the termresponse feature. 36156 Solution: Recognize escape sequences to avoid display mess up. 36157 36158 Patch 9.0.0972 36159 Problem: Build failure on some systems. 36160 Solution: Adjust #ifdefs related to the termresponse feature. 36161 36162 Patch 9.0.0973 36163 Problem: Kitty keyboard protocol key not decoded when it has an unsupported 36164 modifier, such as NumLock. 36165 Solution: Accept a key with any modifier. (closes #11638) 36166 36167 Patch 9.0.0974 36168 Problem: Even when Esc is encoded a timeout is used. 36169 Solution: Use K_ESC when an encoded Esc is found. 36170 36171 Patch 9.0.0975 36172 Problem: Virtual text below an empty line is misplaced when 'number' is 36173 set. 36174 Solution: Adjust the computations. (closes #11629) 36175 36176 Patch 9.0.0976 36177 Problem: Enabling the kitty keyboard protocol uses push/pop. 36178 Solution: Use the start/stop codes to avoid unpredictable behavior. 36179 36180 Patch 9.0.0977 36181 Problem: It is not easy to see what client-server commands are doing. 36182 Solution: Add channel log messages if ch_log() is available. Move the 36183 channel logging and make it available with the +eval feature. 36184 36185 Patch 9.0.0978 36186 Problem: Build errors without the +channel feature. (John Marriott) 36187 Solution: Adjust #ifdefs. 36188 36189 Patch 9.0.0979 36190 Problem: ch_log() text can be hard to find in the log file. 36191 Solution: Prepend "ch_log()" to the text. 36192 36193 Patch 9.0.0980 36194 Problem: The keyboard state response may end up in a shell command. 36195 Solution: Only request the keyboard protocol state when the typeahead is 36196 empty, no more commands are following and not exiting. Add the 36197 t_RK termcap entry for this. 36198 36199 Patch 9.0.0981 36200 Problem: Build error in tiny version. 36201 Solution: Add #ifdef. 36202 36203 Patch 9.0.0982 36204 Problem: 'cursorline' not drawn before virtual text below. 36205 Solution: Add the 'cursorline' attribute to the empty space. (closes #11647) 36206 36207 Patch 9.0.0983 36208 Problem: Stray characters displayed when starting the GUI. 36209 Solution: Add t_RK to the list of terminal options. 36210 36211 Patch 9.0.0984 36212 Problem: GUI: remote_foreground() does not always work. (Ron Aaron) 36213 Solution: For GTK use gtk_window_set_keep_above(). (issue #11641) 36214 36215 Patch 9.0.0985 36216 Problem: When using kitty keyboard protocol function keys may not work. 36217 (Kovid Goyal) 36218 Solution: Recognize CSI ending in [ABCDEFHPQRS] also when the termcap 36219 entries are not specified. (closes #11648) 36220 36221 Patch 9.0.0986 36222 Problem: Build failure with tiny version. 36223 Solution: Add #ifdef. 36224 36225 Patch 9.0.0987 36226 Problem: File missing from list of distributed files. 36227 Solution: Add logfile.pro to list of distributed files. 36228 36229 Patch 9.0.0988 36230 Problem: Using feedkeys() does not show up in a channel log. 36231 Solution: Add ch_log() calls and clean up the code. 36232 36233 Patch 9.0.0989 36234 Problem: Popupwin test is more flaky on MacOS. 36235 Solution: Use a longer wait time. 36236 36237 Patch 9.0.0990 36238 Problem: Callback name argument is changed by setqflist(). 36239 Solution: Use the expanded function name for the callback, do not store it 36240 in the argument. (closes #11653) 36241 36242 Patch 9.0.0991 36243 Problem: Crash when reading help index with various options set. (Marius 36244 Gedminas) 36245 Solution: Do not set wlv.c_extra to NUL when wlv.p_extra is NULL. 36246 (closes #11651) 36247 36248 Patch 9.0.0992 36249 Problem: Vim9 script: get E1096 when comment follows return. 36250 Solution: Adjust condition for return without expression. (closes #11654) 36251 36252 Patch 9.0.0993 36253 Problem: Display errors when adding or removing text property type. 36254 Solution: Perform a full redraw. Only use text properties for which the 36255 type is defined. (closes #11655) 36256 36257 Patch 9.0.0994 36258 Problem: Tests for empty prop type name fail. 36259 Solution: Correct the error number. 36260 36261 Patch 9.0.0995 36262 Problem: Padding before virtual text below is highlighted when 'number' and 36263 'nowrap' are set. 36264 Solution: Save and restore n_attr_skip. (closes #11643) 36265 36266 Patch 9.0.0996 36267 Problem: If 'keyprotocol' is empty "xterm" still uses modifyOtherKeys. 36268 Solution: Remove t_TI, t_RK and t_TE from the "xterm" builtin termcap and 36269 let the default value of 'keyprotocol' add those. 36270 36271 Patch 9.0.0997 36272 Problem: Coverity warns for dead code. 36273 Solution: Don't use ASCII_ISUPPER() for a negative value. 36274 36275 Patch 9.0.0998 36276 Problem: "gk" may reset skipcol when not needed. 36277 Solution: Only reset skipcol if the cursor column is less. 36278 36279 Patch 9.0.0999 36280 Problem: Memory may leak. 36281 Solution: Free the sound callback function name if it was allocated. 36282 36283 Patch 9.0.1000 36284 Problem: With 'smoothscroll' skipcol may be reset unnecessarily. 36285 Solution: Check the line does actually fit in the window. 36286 36287 Patch 9.0.1001 36288 Problem: Classes are not documented or implemented yet. 36289 Solution: Make the first steps at documenting Vim9 objects, classes and 36290 interfaces. Make initial choices for the syntax. Add a skeleton 36291 implementation. Add "public" and "this" in the command table. 36292 36293 Patch 9.0.1002 36294 Problem: Command list test fails. 36295 Solution: Add commands added to the list. 36296 36297 Patch 9.0.1003 36298 Problem: Tiny build fails. 36299 Solution: Remove #ifdef from error message. 36300 36301 Patch 9.0.1004 36302 Problem: Suspend test sometimes fails on MacOS. 36303 Solution: Wait a short while for terminal responses. 36304 36305 Patch 9.0.1005 36306 Problem: A failed test may leave a swap file behind. 36307 Solution: Delete the swap file to avoid another test to fail. Use another 36308 file name. 36309 36310 Patch 9.0.1006 36311 Problem: Suspend test still sometimes fails on MacOS. 36312 Solution: Wait a little while for terminal responses. 36313 36314 Patch 9.0.1007 36315 Problem: There is no way to get a list of swap file names. 36316 Solution: Add the swapfilelist() function. Use it in the test script to 36317 clean up. Remove deleting individual swap files. 36318 36319 Patch 9.0.1008 36320 Problem: Test for swapfilelist() fails on MS-Windows. 36321 Solution: Only check the tail of the path. Mark a test as flaky. 36322 36323 Patch 9.0.1009 36324 Problem: Test for catch after interrupt is flaky on MS-Windows. 36325 Solution: Mark the test as flaky. 36326 36327 Patch 9.0.1010 36328 Problem: Stray warnings for existing swap files. 36329 Solution: Wipe out the buffer until it has no name and no swap file. 36330 36331 Patch 9.0.1011 36332 Problem: ml_get error when using screenpos(). 36333 Solution: Give an error for the line number. (closes #11661) 36334 36335 Patch 9.0.1012 36336 Problem: Tests may get stuck in buffer with swap file. 36337 Solution: Bail out when bwipe! doesn't get another buffer. 36338 36339 Patch 9.0.1013 36340 Problem: Suspend test often fails on Mac OS. 36341 Solution: Make t_RP empty. 36342 36343 Patch 9.0.1014 36344 Problem: Zir files are not recognized. 36345 Solution: Add a pattern for Zir files. (closes #11664) 36346 36347 Patch 9.0.1015 36348 Problem: Without /dev/urandom srand() seed is too predictable. 36349 Solution: Use micro seconds and XOR with process ID. (Yasuhiro Matsumoto, 36350 closes #11656) 36351 36352 Patch 9.0.1016 36353 Problem: screenpos() does not count filler lines for diff mode. 36354 Solution: Add filler lines. (closes 11658) 36355 36356 Patch 9.0.1017 36357 Problem: Test for srand() fails on MS-Windows. 36358 Solution: Do not expect the same result a second time. 36359 36360 Patch 9.0.1018 36361 Problem: Suspend test still fails on Mac OS. 36362 Solution: Make 'keyprotocol' empty. 36363 36364 Patch 9.0.1019 36365 Problem: 'smoothscroll' and virtual text above don't work together. 36366 (Yee Cheng Chin) 36367 Solution: Skip virtual text above when w_skipcol is non-zero. 36368 (closes #11665) 36369 36370 Patch 9.0.1020 36371 Problem: Tests call GetSwapFileList() before it is defined. 36372 Solution: Move the call to after defining the function. (Christopher 36373 Plewright) 36374 36375 Patch 9.0.1021 36376 Problem: Test trips over g:name. 36377 Solution: Delete g:name after using it. 36378 36379 Patch 9.0.1022 36380 Problem: Suspend test fails on Mac OS when suspending Vim. 36381 Solution: Make 'keyprotocol' empty. 36382 36383 Patch 9.0.1023 36384 Problem: MS-Windows: dynamic loading of libsodium doesn't work. 36385 Solution: Add "randombytes_random". (Ken Takata, closes #11667) 36386 36387 Patch 9.0.1024 36388 Problem: CI doesn't use the latest FreeBSD version. 36389 Solution: Go from 12.3 to 12.4. (closes #11423) 36390 36391 Patch 9.0.1025 36392 Problem: WinScrolled is not triggered when filler lines change. 36393 Solution: Add "topfill" to the values that WinScrolled triggers on. 36394 (closes #11668) 36395 36396 Patch 9.0.1026 36397 Problem: type of w_last_topfill is wrong. 36398 Solution: Use "int" instead of "linenr_T". (closes #11670) 36399 36400 Patch 9.0.1027 36401 Problem: LGTM is soon shutting down. 36402 Solution: Remove LGTM from CI. (closes #11671) 36403 36404 Patch 9.0.1028 36405 Problem: Mouse shape test is flaky, especially on Mac OS. 36406 Solution: Instead of starting all timers at the same time, start the next 36407 one in the callback of the previous one. (Yee Cheng Chin, 36408 closes #11673) Also use "bwipe!" instead of "close!" to avoid 36409 swap files remaining. 36410 36411 Patch 9.0.1029 36412 Problem: Autoload directory missing from distribution. 36413 Solution: Add the autoload/zig directory to the list of distributed files. 36414 36415 Patch 9.0.1030 36416 Problem: Using freed memory with the cmdline popup menu. 36417 Solution: Clear the popup menu when clearing the matches. (closes #11677) 36418 36419 Patch 9.0.1031 36420 Problem: Vim9 class is not implemented yet. 36421 Solution: Add very basic class support. 36422 36423 Patch 9.0.1032 36424 Problem: Test fails when terminal feature is missing. 36425 Solution: Use CheckRunVimInTerminal. 36426 36427 Patch 9.0.1033 36428 Problem: Tiny build fails because of conflicting typedef. 36429 Solution: Remove one typedef. 36430 36431 Patch 9.0.1034 36432 Problem: Reporting swap file when windows are split. 36433 Solution: Close extra windows after running a test. 36434 36435 Patch 9.0.1035 36436 Problem: Object members are not being marked as used, garbage collection 36437 may free them. 36438 Solution: Mark object members as used. Fix reference counting. 36439 36440 Patch 9.0.1036 36441 Problem: Undo misbehaves when writing from an insert mode mapping. 36442 Solution: Sync undo when writing. (closes #11674) 36443 36444 Patch 9.0.1037 36445 Problem: lalloc(0) error for a class without members. 36446 Solution: Don't allocate room for members if there aren't any. 36447 Don't create the class if there was an error. 36448 36449 Patch 9.0.1038 36450 Problem: Function name does not match what it is used for. 36451 Solution: Include the modifier in the name. (closes #11679) 36452 36453 Patch 9.0.1039 36454 Problem: Using a <Cmd> mapping CmdlineChanged may be triggered twice. 36455 Solution: Count the number of times CmdlineChanged is triggered and avoid 36456 doing it twice. (closes #116820 36457 36458 Patch 9.0.1040 36459 Problem: Test for <Cmd> mapping with CmdlineChanged fails. 36460 Solution: Put back the check for the cmdline length not changing. 36461 36462 Patch 9.0.1041 36463 Problem: Cannot define a method in a class. 36464 Solution: Implement defining an object method. Make calling an object 36465 method work. 36466 36467 Patch 9.0.1042 36468 Problem: ASAN gives false alarm about array access. 36469 Solution: Use an intermediate pointer. 36470 36471 Patch 9.0.1043 36472 Problem: Macro has confusing name and is duplicated. 36473 Solution: Use one macro with an understandable name. (closes #11686) 36474 36475 Patch 9.0.1044 36476 Problem: Setting window height using Python may cause errors. 36477 Solution: When setting "curwin" also set "curbuf". (closes #11687) 36478 36479 Patch 9.0.1045 36480 Problem: In a class object members cannot be initialized. 36481 Solution: Support initializing object members. Make "disassemble" work on 36482 an object method. 36483 36484 Patch 9.0.1046 36485 Problem: Class method disassemble test fails on MS-Windows. 36486 Solution: Do not match with a specific size. 36487 36488 Patch 9.0.1047 36489 Problem: Matchparen is slow. 36490 Solution: Actually use the position where the match started, not the 36491 position where the search started. (closes #11644) 36492 36493 Patch 9.0.1048 36494 Problem: With "screenline" in 'culopt' cursorline highlight is wrong. 36495 Solution: Apply the priority logic also when "screenline is in 'culopt'. 36496 (closes #11696) 36497 36498 Patch 9.0.1049 36499 Problem: Crash when opening a very small terminal window. 36500 Solution: Instead of crashing fix the cursor position. (closes #11697) 36501 36502 Patch 9.0.1050 36503 Problem: Using freed memory when assigning to variable twice. 36504 Solution: Make copy of the list type. (closes #11691) 36505 36506 Patch 9.0.1051 36507 Problem: After a failed CTRL-W ] next command splits window. 36508 Solution: Reset postponed_split. (Rob Pilling, closes #11698) 36509 36510 Patch 9.0.1052 36511 Problem: Using freed memory on exit when EXITFREE is defined. 36512 Solution: Make a deep copy of the type. Make sure TTFLAG_STATIC is not set 36513 in the copy. 36514 36515 Patch 9.0.1053 36516 Problem: Default constructor arguments are not optional. 36517 Solution: Use "= v:none" to make constructor arguments optional. 36518 36519 Patch 9.0.1054 36520 Problem: Object member can't get type from initializer. 36521 Solution: If there is no type specified try to use the type of the 36522 initializer. Check for a valid type. 36523 36524 Patch 9.0.1055 36525 Problem: Coverity warns for using uninitialized memory. 36526 Solution: Clear the "lhs" field earlier. 36527 36528 Patch 9.0.1056 36529 Problem: Leaking memory when disassembling an object method. 36530 Solution: Free the typval of the class. 36531 36532 Patch 9.0.1057 36533 Problem: Conflict between supercollider and scala filetype detection. 36534 Solution: Do not check for "Class : Method", it can appear in both 36535 filetypes. (Chris Kipp, closes #11699) 36536 36537 Patch 9.0.1058 36538 Problem: String value of class and object do not have useful information. 36539 Solution: Add the class name and for the object the member values. 36540 36541 Patch 9.0.1059 36542 Problem: Build failure with some compilers that can't handle a 36543 declaration directly after a "case" statement. 36544 Solution: Add a block to put the declarations in. 36545 36546 Patch 9.0.1060 36547 problem: Private and public object members are not implemented yet. 36548 Solution: Implement private and public object members. 36549 36550 Patch 9.0.1061 36551 Problem: Cannot display 'showcmd' somewhere else. 36552 Solution: Add the 'showcmdloc' option. (Luuk van Baal, closes #11684) 36553 36554 Patch 9.0.1062 36555 Problem: Some test function names do not match what they are doing. 36556 Solution: Leave out user data for the test that is called "NoUserData". 36557 (closes #11703) 36558 36559 Patch 9.0.1063 36560 Problem: When using Kitty a shell command may mess up the key protocol 36561 state. 36562 Solution: Output t_te before t_TE. If t_te switches between the main and 36563 the alternate screen then deactivating the key protocol by t_TE 36564 should happen after switching screen. (issue #11705) 36565 36566 Patch 9.0.1064 36567 Problem: Code for making 'shortmess' temporarily empty is repeated. 36568 Solution: Add functions for making 'shortmess' empty and restoring it. 36569 (Christian Brabandt, closes #11709) 36570 36571 Patch 9.0.1065 36572 Problem: A shell command switching screens may still have a problem with 36573 the kitty keyboard protocol. 36574 Solution: Disable the kitty keyboard protocol both in the current and the 36575 alternate screen, if there are indications it might be needed. 36576 (issue #11705) Also fix naming. 36577 36578 Patch 9.0.1066 36579 Problem: Test function name is wrong. 36580 Solution: Rename to what is actually being tested. (closes #11712) 36581 36582 Patch 9.0.1067 36583 Problem: In diff mode virtual text is highlighted incorrectly. (Rick Howe) 36584 Solution: Do not use diff attributes for virtual text. (closes #11714) 36585 36586 Patch 9.0.1068 36587 Problem: No information about whether requesting term codes has an effect. 36588 Solution: Add ch_log() calls to report the effect of term code responses. 36589 Avoid deleting an entry and then adding back the same one. 36590 36591 Patch 9.0.1069 36592 Problem: Diff mode highlight fails for special characters. 36593 Solution: Adjust condition for setting "diff_hlf". 36594 36595 Patch 9.0.1070 36596 Problem: Reading beyond array size. 36597 Solution: Only use name[0] and name[1], do not use "name" as a string. 36598 36599 Patch 9.0.1071 36600 Problem: Codecov action version is too specific. 36601 Solution: Only use "v3" to automatically use the latest stable version. 36602 (closes #11720) 36603 36604 Patch 9.0.1072 36605 Problem: screenpos() column result in fold may be too small. 36606 Solution: Add space of 'number', sign column, etc. (closes #11715) 36607 36608 Patch 9.0.1073 36609 Problem: Using "xterm-kitty" for 'term' causes problems. 36610 Solution: Remove the "xterm-" part when 'term' is set from $TERM. Detect a 36611 few kitty-specific properties based on the version response 36612 instead of the terminal name. 36613 36614 Patch 9.0.1074 36615 Problem: Class members are not supported yet. 36616 Solution: Add initial support for class members. 36617 36618 Patch 9.0.1075 36619 Problem: build fails if the compiler doesn't allow for a declaration right 36620 after "case". 36621 Solution: Add a block. 36622 36623 Patch 9.0.1076 36624 Problem: ASAN complains about NULL argument. 36625 Solution: Skip memmove() when there is nothing to move. 36626 36627 Patch 9.0.1077 36628 Problem: Can add text property with negative ID before virtual text 36629 property. 36630 Solution: Remember that a text property with a negative ID was used and give 36631 an appropriate error message. (closes #11725) 36632 Fix index computation. 36633 36634 Patch 9.0.1078 36635 Problem: With the +vartabs feature indent folding may use wrong 'tabstop'. 36636 Solution: Use the "buf" argument instead of "curbuf". 36637 36638 Patch 9.0.1079 36639 Problem: Leaking memory when defining a user command fails. 36640 Solution: Free "compl_arg" when needed. (closes #11726) 36641 36642 Patch 9.0.1080 36643 Problem: The "kitty" terminfo entry is not widespread, resulting in the 36644 kitty terminal not working properly. 36645 Solution: Go back to using "xterm-kitty" and avoid the problems it causes in 36646 another way. 36647 36648 Patch 9.0.1081 36649 Problem: Using "->" with split lines does not always work. 36650 Solution: Avoid trying to get another line. (closes #11723) 36651 36652 Patch 9.0.1082 36653 Problem: Some jsonc files are not recognized. 36654 Solution: Add patterns for jsonc and move some from json to jsonc. 36655 (closes #11711) 36656 36657 Patch 9.0.1083 36658 Problem: Empty and comment lines in a class cause an error. 36659 Solution: Skip empty and comment lines. (closes #11734) 36660 36661 Patch 9.0.1084 36662 Problem: Code handling low level MS-Windows events cannot be tested. 36663 Solution: Add test_mswin_event() and tests using it. (Christopher Plewright, 36664 closes #11622) 36665 36666 Patch 9.0.1085 36667 Problem: Compiler warns for uninitialized variable. 36668 Solution: Initialize the variable. Remove unused function. (John Marriott) 36669 36670 Patch 9.0.1086 36671 Problem: Display wrong in Windows terminal after exiting Vim. 36672 Solution: Apply screen restore fix for Windows 11 also to Windows 10 builds. 36673 (Christopher Plewright, closes #11713, closes #11706) 36674 36675 Patch 9.0.1087 36676 Problem: Autocommand test sometimes fails. 36677 Solution: Add a short delay. (James McCoy, closes #11737) 36678 36679 Patch 9.0.1088 36680 Problem: Clang warns for unused variable. 36681 Solution: Adjust #ifdef. (John Marriott) 36682 36683 Patch 9.0.1089 36684 Problem: unnecessary assignment 36685 Solution: Remove the assignment. (Luuk van Baal, closes #1136) 36686 36687 Patch 9.0.1090 36688 Problem: FHIR Shorthand files are not recognized. 36689 Solution: Add a pattern to detect FSH files. (Matthew Gramigna, 36690 closes #11738) 36691 36692 Patch 9.0.1091 36693 Problem: Assignment to non-existing member causes a crash. (Yegappan 36694 Lakshmanan) 36695 Solution: Give an error message and bail out when a member cannot be found. 36696 36697 Patch 9.0.1092 36698 Problem: Search error message doesn't show used pattern. 36699 Solution: Pass the actually used pattern to where the error message is 36700 given. (Rob Pilling, closes #11742) 36701 36702 Patch 9.0.1093 36703 Problem: Using freed memory of object member. (Yegappan Lakshmanan) 36704 Solution: Make a copy of the object member when getting it. 36705 36706 Patch 9.0.1094 36707 Problem: Compiler warning when HAS_MESSAGE_WINDOW is not defined. 36708 Solution: Add UNUSED. 36709 36710 Patch 9.0.1095 36711 Problem: Using freed memory when declaration fails. (Yegappan Lakshmanan) 36712 Solution: After unreferencing an object set the reference to NULL. 36713 36714 Patch 9.0.1096 36715 Problem: Reallocating hashtab when the size didn't change. 36716 Solution: Bail out when the hashtab is already the desired size. 36717 36718 Patch 9.0.1097 36719 Problem: Tests are failing. 36720 Solution: Do clean up a hashtab when at the initial size. 36721 36722 Patch 9.0.1098 36723 Problem: Code uses too much indent. 36724 Solution: Use an early return. (Yegappan Lakshmanan, closes #11747) 36725 36726 Patch 9.0.1099 36727 Problem: Trying to resize a hashtab may cause a problem. 36728 Solution: Do not try to resize a hashtab before adding an item. 36729 36730 Patch 9.0.1100 36731 Problem: A hashtab with many removed items is not cleaned up. 36732 Solution: Re-hash a hashtab even when the size didn't change if too many 36733 items were removed. 36734 36735 Patch 9.0.1101 36736 Problem: Unused global variable. 36737 Solution: Remove the variable. (closes #11752) 36738 36739 Patch 9.0.1102 36740 Problem: Complicated use of #ifdef. 36741 Solution: Simplify #ifdef use. (Ken Takata, closes #11745) 36742 36743 Patch 9.0.1103 36744 Problem: jq files are not recognized. 36745 Solution: Add detection of Jq files. (David McDonald, closes #11743) 36746 36747 Patch 9.0.1104 36748 Problem: Invalid memory access when checking function argument types. 36749 Solution: Do not check beyond the number of arguments. (closes #11755) 36750 36751 Patch 9.0.1105 36752 Problem: Code is indented too much. 36753 Solution: Use an early return. (Yegappan Lakshmanan, closes #11756) 36754 36755 Patch 9.0.1106 36756 Problem: Not all postfix files are recognized. 36757 Solution: Recognize main.cf.proto files. (closes #11732) 36758 36759 Patch 9.0.1107 36760 Problem: Float constant not recognized as float. 36761 Solution: Check the vartype instead of comparing with t_float. 36762 (closes #11754) 36763 36764 Patch 9.0.1108 36765 Problem: Type error when using "any" type and adding a number to a float. 36766 Solution: Accept both a number and a float. (closes #11753) 36767 36768 Patch 9.0.1109 36769 Problem: Leaking allocated type. 36770 Solution: Reset the "static" flag in the allocated type copy. 36771 36772 Patch 9.0.1110 36773 Problem: Build fails on Mac OS X 10.4/10.5 . 36774 Solution: Check if the dispatch/dispatch.h header exists. (Evan Miller, 36775 closes #11746) 36776 36777 Patch 9.0.1111 36778 Problem: Termcap entries for RGB colors are not set automatically. 36779 Solution: Always set the termcap entries when +termguicolors is enabled. 36780 36781 Patch 9.0.1112 36782 Problem: test_mswin_event() can hang. 36783 Solution: Add the "execute" argument to process events right away. 36784 (Christopher Plewright, closes #11760) 36785 36786 Patch 9.0.1113 36787 Problem: Users cannot easily try out a PR. 36788 Solution: Add an "artifacts" section to the AppVeyor CI config. (Christian 36789 Brabandt, closes #11762) 36790 36791 Patch 9.0.1114 36792 Problem: CI does not use the latest Python version. 36793 Solution: Switch from Python 3.10 to 3.11. (closes #11761) 36794 36795 Patch 9.0.1115 36796 Problem: Code is indented more than needed. 36797 Solution: Use an early return to reduce indenting. (Yegappan Lakshmanan, 36798 closes #11758) 36799 36800 Patch 9.0.1116 36801 Problem: Compiler may complain about an unused function. 36802 Solution: Add #ifdef. (John Marriott) 36803 36804 Patch 9.0.1117 36805 Problem: Terminfo entries for bracketed paste are not used. 36806 Solution: Use the newly added terminfo entries for bracketed paste. 36807 Correct mixup of output strings and key codes. 36808 36809 Patch 9.0.1118 36810 Problem: Sporadic test failures when using a terminal window. 36811 Solution: Adjust waiting times. (James McCoy, closes #11763) 36812 36813 Patch 9.0.1119 36814 Problem: Type of arguments not checked when calling a partial. 36815 Solution: Give an error for a wrong argument type. (closes #11753) 36816 36817 Patch 9.0.1120 36818 Problem: Tex filetype detection not sufficiently tested. 36819 Solution: Add more test cases for "tex" detection. (Jonas Strittmatter, 36820 closes #11765) 36821 36822 Patch 9.0.1121 36823 Problem: Cursor positioning and display problems with 'smoothscroll' and 36824 using "zt", "zb" or "zz". 36825 Solution: Adjust computations and conditions. (Yee Cheng Chin, 36826 closes #11764) 36827 36828 Patch 9.0.1122 36829 Problem: Class member access is not fully tested yet. 36830 Solution: Add more tests. 36831 36832 Patch 9.0.1123 36833 Problem: Class function not implemented yet. 36834 Solution: Implement defining and calling a class function. 36835 36836 Patch 9.0.1124 36837 Problem: Virtual text at a column position is truncated at the window edge. 36838 (Yegappan Lakshmanan) 36839 Solution: Do not truncated virtual text that is placed at a column. 36840 36841 Patch 9.0.1125 36842 Problem: Memory leak when using class functions. 36843 Solution: Clear and free the array with class functions. 36844 36845 Patch 9.0.1126 36846 Problem: Bracketed paste can be enabled when pasted text is not recognized. 36847 Solution: Output t_BE only when t_PS and t_PE are set. 36848 36849 Patch 9.0.1127 36850 Problem: No error if function argument shadows class member. 36851 Solution: Give an error for shadowing a class member. 36852 36853 Patch 9.0.1128 36854 Problem: Build failure. 36855 Solution: Add type cast. Add missing error messages. 36856 36857 Patch 9.0.1129 36858 Problem: Sporadic Test_range() failure. 36859 Solution: Clear typeahead. Move to a separate function. (issue #22771) 36860 36861 Patch 9.0.1130 36862 Problem: Unexpected output when autoloading a script for an interactive 36863 operation. 36864 Solution: Reset "KeyTyped" while loading a script and when handling a nested 36865 function. (closes #11773) 36866 36867 Patch 9.0.1131 36868 Problem: Build failure without the +eval feature. 36869 Solution: Move code inside #ifdef. 36870 36871 Patch 9.0.1132 36872 Problem: Code is indented more than needed. 36873 Solution: Use an early return to reduce indentation. (Yegappan Lakshmanan, 36874 closes #11769) 36875 36876 Patch 9.0.1133 36877 Problem: Error message names do not match the items. 36878 Solution: Add "_str" when the text contains "%s". 36879 36880 Patch 9.0.1134 36881 Problem: Comparing objects uses identity instead of equality. 36882 Solution: Compare the object values. 36883 36884 Patch 9.0.1135 36885 Problem: Missing function argument. 36886 Solution: Add ignore case flag. 36887 36888 Patch 9.0.1136 36889 Problem: Memory leak when getting class member type from expr. 36890 Solution: Clear the expression result. 36891 36892 Patch 9.0.1137 36893 Problem: Some conditions are always false. 36894 Solution: Remove the useless conditions. (closes #11776) 36895 36896 Patch 9.0.1138 36897 Problem: Crash when expecting varargs but it is something else. 36898 Solution: Only use the member when the type is a list. (closes #11774) 36899 36900 Patch 9.0.1139 36901 Problem: Cannot create a new object in a compiled function. 36902 Solution: Compile the instructions to create a new object. 36903 36904 Patch 9.0.1140 36905 Problem: Cannot call an object method in a compiled function. 36906 Solution: Compile the instructions to invoke an object method. 36907 36908 Patch 9.0.1141 36909 Problem: 'cursorcolumn' and 'colorcolumn' wrong after concealing and 36910 wrapping line. 36911 Solution: Reset "wlv.vcol_off" after each screen line. (Alexey Radkov, 36912 closes #11777) 36913 36914 Patch 9.0.1142 36915 Problem: Crash and/or memory leak when redefining function after error. 36916 Solution: Clear pointer after making a copy. Clear arrays on failure. 36917 (closes #11774) 36918 36919 Patch 9.0.1143 36920 Problem: Invalid memory access with bad 'statusline' value. 36921 Solution: Avoid going over the NUL at the end. 36922 36923 Patch 9.0.1144 36924 Problem: Reading beyond text. 36925 Solution: Add strlen_maxlen() and use it. 36926 36927 Patch 9.0.1145 36928 Problem: Invalid memory access with recursive substitute expression. 36929 Solution: Check the return value of vim_regsub(). 36930 36931 Patch 9.0.1146 36932 Problem: MS-Windows: various special keys and modifiers are not mappable. 36933 Solution: Adjust the handling of keys with modifiers. (Christian Plewright, 36934 closes #11768) 36935 36936 Patch 9.0.1147 36937 Problem: Cannot access a class member in a compiled function. 36938 Solution: Implement looking up a class member. 36939 36940 Patch 9.0.1148 36941 Problem: Cmdline test fails in the GUI. 36942 Solution: Skip the test when running in the GUI. 36943 36944 Patch 9.0.1149 36945 Problem: Class members may be garbage collected. 36946 Solution: Mark class members as being in use. 36947 36948 Patch 9.0.1150 36949 Problem: :interface is not implemented yet. 36950 Solution: Implement the basics of :interface. 36951 36952 Patch 9.0.1151 36953 Problem: Build failure. 36954 Solution: Add missing part of :interface change. 36955 36956 Patch 9.0.1152 36957 Problem: Class "implements" argument not implemented. 36958 Solution: Implement "implements" argument. Add basic checks for when a 36959 class implements an interface. 36960 36961 Patch 9.0.1153 36962 Problem: Build error with some compilers. 36963 Solution: Clear pointer the right way. 36964 36965 Patch 9.0.1154 36966 Problem: Coverity warns for dead code. 36967 Solution: Remove condition that is always true. 36968 36969 Patch 9.0.1155 36970 Problem: Cannot use a class as a type. 36971 Solution: Accept a class and interface name as a type. 36972 36973 Patch 9.0.1156 36974 Problem: Tests fail because of a different error message. 36975 Solution: Don't give an error if a type name can't be found. 36976 36977 Patch 9.0.1157 36978 Problem: "implements" only handles one interface name. 36979 Solution: Handle a comma separated list of names. Check for duplicate 36980 names. 36981 36982 Patch 9.0.1158 36983 Problem: Code is indented more than necessary. 36984 Solution: Use an early return where it makes sense. (Yegappan Lakshmanan, 36985 closes #11787) 36986 36987 Patch 9.0.1159 36988 Problem: Extends argument for class not implemented yet. 36989 Solution: Basic implementation of "extends". 36990 36991 Patch 9.0.1160 36992 Problem: ASAN error for ufunc_T allocated with wrong size. 36993 Solution: Make sure the size can always fit the struct. 36994 36995 Patch 9.0.1161 36996 Problem: Coverity warns for using strcpy(). 36997 Solution: Call a function to set the function name. 36998 36999 Patch 9.0.1162 37000 Problem: Configure does not handle all FORTIFY_SOURCE variants. 37001 Solution: Also handle Fedora's default FORTIFY_SOURCE flags. (Zdenek Dohnal, 37002 closes #11794) 37003 37004 Patch 9.0.1163 37005 Problem: Compiler warning for implicit size_t/int conversion. 37006 Solution: Add a type cast. (Mike Williams, closes #11795) 37007 37008 Patch 9.0.1164 37009 Problem: Evaluating string expression advances function line. 37010 Solution: Disable function lines while parsing a string expression. 37011 (Hirohito Higashi, closes #11796) 37012 37013 Patch 9.0.1165 37014 Problem: Tests using IPv6 sometimes fail. 37015 Solution: Use getaddrinfo() and use try/catch. (James McCoy, 37016 closes #11783) 37017 37018 Patch 9.0.1166 37019 Problem: Code is indented more than necessary. 37020 Solution: Use an early return where it makes sense. (Yegappan Lakshmanan, 37021 closes #11792) 37022 37023 Patch 9.0.1167 37024 Problem: EditorConfig files do not have their own filetype. 37025 Solution: Add the "editorconfig" filetype. (Gregory Anders, closes #11779) 37026 37027 Patch 9.0.1168 37028 Problem: Code to enable/disable mouse is not from terminfo/termcap. 37029 Solution: Request the "XM" entry and use it to set 'ttymouse' if possible. 37030 37031 Patch 9.0.1169 37032 Problem: Some key+modifier tests fail on some AppVeyor images. 37033 Solution: Adjust the tests for key movements and fix the revealed bugs. 37034 (Christopher Plewright, closes #11798) 37035 37036 Patch 9.0.1170 37037 Problem: LGTM badge no longer works. 37038 Solution: Remove the LGTM badge. (closes #11799) 37039 37040 Patch 9.0.1171 37041 Problem: Screen is not redrawn after using setcellwidths(). 37042 Solution: Redraw the screen when the cell widths have changed. (Yasuhiro 37043 Matsumoto, closes #11800) 37044 37045 Patch 9.0.1172 37046 Problem: When 'selection' is "exclusive" then "1v" is one char short. 37047 Solution: Add one character when 'selection' is "exclusive". (closes #11791) 37048 37049 Patch 9.0.1173 37050 Problem: Compiler warning for unused variable on non-Unix systems. 37051 Solution: Move #ifdef. (John Marriott) 37052 37053 Patch 9.0.1174 37054 Problem: Smali files are not recognized. 37055 Solution: Add a pattern for Smali files. (Amaan Qureshi, closes #11801) 37056 37057 Patch 9.0.1175 37058 Problem: The set_ref_in_item() function is too long. 37059 Solution: Use a separate function for more complicated types. (Yegappan 37060 Lakshmanan, closes #11802) 37061 37062 Patch 9.0.1176 37063 Problem: smithy files are not recognized. 37064 Solution: Add a pattern for Smithy files. (Chris Kipp, closes #11804) 37065 37066 Patch 9.0.1177 37067 Problem: AppVeyor uses some older tools. 37068 Solution: Switch to Visual Studio 2022 and Python 3.11. (Christopher 37069 Plewright, closes #11793) 37070 37071 Patch 9.0.1178 37072 Problem: A child class cannot override functions from a base class. 37073 Solution: Allow overriding and implement "super". 37074 37075 Patch 9.0.1179 37076 Problem: Not all errors around inheritance are tested. 37077 Solution: Add more tests. Fix uncovered problems. 37078 37079 Patch 9.0.1180 37080 Problem: Compiler warnings without the +job feature. 37081 Solution: Adjust #ifdefs. (John Marriott) 37082 37083 Patch 9.0.1181 37084 Problem: Class inheritance and typing insufficiently tested. 37085 Solution: Add more tests. Implement missing behavior. 37086 37087 Patch 9.0.1182 37088 Problem: go checksum files are not recognized. 37089 Solution: Add the name of go checksum files. (Amaan Qureshi, closes #11803) 37090 37091 Patch 9.0.1183 37092 Problem: Code is indented more than necessary. 37093 Solution: Use an early return where it makes sense. (Yegappan Lakshmanan, 37094 closes #11805) 37095 37096 Patch 9.0.1184 37097 Problem: Interface of an object is not recognized when checking type. 37098 Solution: Use the interface implemented by an object. 37099 37100 Patch 9.0.1185 37101 Problem: Using class from imported script not tested. 37102 Solution: Add tests. Implement what is missing. 37103 37104 Patch 9.0.1186 37105 Problem: Imported class does not work when used twice in a line. 37106 Solution: Fix the type parsing. 37107 37108 Patch 9.0.1187 37109 Problem: Test for using imported class fails. 37110 Solution: Skip over rest of type. 37111 37112 Patch 9.0.1188 37113 Problem: Return value of type() for class and object unclear. 37114 Solution: Add v:t_object and v:t_class. 37115 37116 Patch 9.0.1189 37117 Problem: Invalid memory access with folding and using "L". 37118 Solution: Prevent the cursor from moving to line zero. 37119 37120 Patch 9.0.1190 37121 Problem: AppVeyor runs much slower with MSVC 2022. 37122 Solution: Go back to MSVC 2015. (Christopher Plewright, closes #11810) 37123 37124 Patch 9.0.1191 37125 Problem: Some Bazel files are not recognized. 37126 Solution: Add an extra Bazel pattern. (Keith Smily, closes #11807) 37127 37128 Patch 9.0.1192 37129 Problem: No error when class function argument shadows a member. 37130 Solution: Check for shadowing. 37131 37132 Patch 9.0.1193 37133 Problem: Cannot map <Esc> when using the Kitty key protocol. 37134 Solution: Add a non-simplified mapping for K_ESC. (closes #11811) 37135 37136 Patch 9.0.1194 37137 Problem: Compiler warning for comparing pointer with int. 37138 Solution: Change NULL to zero. 37139 37140 Patch 9.0.1195 37141 Problem: Restoring KeyTyped when building statusline not tested. 37142 Solution: Add a test. Clean up and fix other tests. (closes #11815) 37143 37144 Patch 9.0.1196 37145 Problem: Code is indented more than necessary. 37146 Solution: Use an early return where it makes sense. (Yegappan Lakshmanan, 37147 closes #11813) 37148 37149 Patch 9.0.1197 37150 Problem: Dump file missing from patch. 37151 Solution: Add missing dump file. 37152 37153 Patch 9.0.1198 37154 Problem: Abstract class not supported yet. 37155 Solution: Implement abstract class and add tests. 37156 37157 Patch 9.0.1199 37158 Problem: Crash when using kitty and using a mapping with <Esc>. 37159 Solution: Do not try setting did_simplify when it is NULL. (closes #11817) 37160 37161 Patch 9.0.1200 37162 Problem: AppVeyor builds with an old Python version. 37163 Solution: Switch from Python 3.8 to 3.11. (Christopher Plewright, 37164 closes #11814) 37165 37166 Patch 9.0.1201 37167 Problem: Assignment with operator doesn't work in object method. 37168 Solution: Handle loading the object member. (closes #11820) Add a few more 37169 tests. 37170 37171 Patch 9.0.1202 37172 Problem: Crash when iterating over list of objects. 37173 Solution: Do not make a copy of tt_member for object or class. 37174 (closes #11823) 37175 37176 Patch 9.0.1203 37177 Problem: Return type of values() is always list<any>. 37178 Solution: Use the member type if possible. (issue #11822) 37179 37180 Patch 9.0.1204 37181 Problem: Expression compiled the wrong way after using an object. 37182 Solution: Generate constants before getting the type. 37183 37184 Patch 9.0.1205 37185 Problem: Crash when handling class that extends another class with more 37186 than one object members. 37187 Solution: Correct pointer computations. (closes #11824) 37188 37189 Patch 9.0.1206 37190 Problem: Testing with Python on AppVeyor does not work properly. 37191 Solution: Fix typo. Move most lines to the .bat file. (Christopher 37192 Plewright, closes #11828) 37193 37194 Patch 9.0.1207 37195 Problem: Error when object type is expected but getting "any". 37196 Solution: When actual type is "any" use a runtime type check. 37197 (closes #11826) 37198 37199 Patch 9.0.1208 37200 Problem: Code is indented more than necessary. 37201 Solution: Use an early return where it makes sense. (Yegappan Lakshmanan, 37202 closes #11819) 37203 37204 Patch 9.0.1209 37205 Problem: Getting interface member does not always work. 37206 Solution: Convert the index on the interface to the index on the object. 37207 (closes #11825) 37208 37209 Patch 9.0.1210 37210 Problem: Compiler complains about declaration after label. 37211 Solution: Move declaration to beginning of block (John Marriott) 37212 37213 Patch 9.0.1211 37214 Problem: Storing value in interface member does not always work. 37215 Solution: Convert the index on the interface to the index on the object. 37216 37217 Patch 9.0.1212 37218 Problem: Cannot read back what setcellwidths() has done. 37219 Solution: Add getcellwidths(). (Kota Kato, closes #11837) 37220 37221 Patch 9.0.1213 37222 Problem: Adding a line below the last one does not expand fold. 37223 Solution: Do not skip mark_adjust() when adding lines below the last one. 37224 (Brandon Simmons, closes #11832, closes #10698) 37225 37226 Patch 9.0.1214 37227 Problem: File left behind after running tests. 37228 Solution: Delete the file. (Dominique Pellé, closes #11839) 37229 37230 Patch 9.0.1215 37231 Problem: Using isalpha() adds dependency on current locale. 37232 Solution: Do not use isalpha() for recognizing a URL or the end of an Ex 37233 command. (closes #11835) 37234 37235 Patch 9.0.1216 37236 Problem: Coverity warns for ignoring return value. 37237 Solution: Break out of loop if function fails. 37238 37239 Patch 9.0.1217 37240 Problem: Using an object member in a closure doesn't work. 37241 Solution: Initialize lv_loop_depth. (closes #11840) 37242 37243 Patch 9.0.1218 37244 Problem: Completion includes functions that don't work. 37245 Solution: Skip functions that are not implemented. (Kota Kato, 37246 closes #11845) 37247 37248 Patch 9.0.1219 37249 Problem: Handling of FORTIFY_SOURCE flags doesn't match Fedora usage. 37250 Solution: Adjust the "sed" patterns. (Zdenek Dohnal, closes #11847) 37251 37252 Patch 9.0.1220 37253 Problem: Termcap/terminfo entries do not indicate where modifiers might 37254 appear. 37255 Solution: Add ";*" for function keys where modifiers are likely to be used. 37256 37257 Patch 9.0.1221 37258 Problem: Code is indented more than necessary. 37259 Solution: Use an early return where it makes sense. (Yegappan Lakshmanan, 37260 closes #11833) 37261 37262 Patch 9.0.1222 37263 Problem: Terminal tests are flaky on MacOS. 37264 Solution: Add TermWait() calls. (Yegappan Lakshmanan, closes #11852) 37265 37266 Patch 9.0.1223 37267 Problem: Cannot use setcellwidths() below 0x100. 37268 Solution: Also accept characters between 0x80 and 0x100. (Ken Takata, 37269 closes #11834) 37270 37271 Patch 9.0.1224 37272 Problem: Cannot call a :def function with a number for a float argument. 37273 Solution: Accept a number as well, convert it to a float. 37274 37275 Patch 9.0.1225 37276 Problem: Reading past the end of a line when formatting text. 37277 Solution: Check for not going over the end of the line. 37278 37279 Patch 9.0.1226 37280 Problem: Spurious empty line when using text properties and virtual text. 37281 Solution: Do not set "text_prop_follows" when the other text property is not 37282 virtual text. (closes #11846) 37283 37284 Patch 9.0.1227 37285 Problem: No cmdline completion for :runtime. 37286 Solution: Add completion for :runtime. (closes #11853, closes #11447) 37287 Improve the resulting matches. 37288 37289 Patch 9.0.1228 37290 Problem: Fuzzy menu completion is only tested in the GUI. 37291 Solution: Make fuzzy menu completion test work without GUI. 37292 (closes #11861) 37293 37294 Patch 9.0.1229 37295 Problem: Cap'n Proto files are not recognized. 37296 Solution: Add a pattern and the "capnp" filetype. (Amaan Qureshi, 37297 closes #11862) 37298 37299 Patch 9.0.1230 37300 Problem: Apache thrift files are not recognized. 37301 Solution: Add a pattern for thrift files. (Amaan Qureshi, closes #11859) 37302 37303 Patch 9.0.1231 37304 Problem: Completion of :runtime does not handle {where} argument. 37305 Solution: Parse the {where} argument. (closes #11863) 37306 37307 Patch 9.0.1232 37308 Problem: ColorTable saving and restoring does not work properly. 37309 Solution: Restore ColorTable[16] usage. (Christopher Plewright, 37310 closes #11836) 37311 37312 Patch 9.0.1233 37313 Problem: search() loops forever if "skip" is TRUE for all matches. 37314 Solution: Keep the position of the first match. 37315 37316 Patch 9.0.1234 37317 Problem: The code style has to be checked manually. 37318 Solution: Add basic code style checks in a test. Fix or avoid uncovered 37319 problems. 37320 37321 Patch 9.0.1235 37322 Problem: MS-Windows console: not flushing termguicolors. 37323 Solution: Flush termguicolors. (Christopher Plewright, closes #11871) 37324 37325 Patch 9.0.1236 37326 Problem: Code in same_leader() can be simplified. 37327 Solution: Simplify code that is executed only once. (closes #11867) 37328 37329 Patch 9.0.1237 37330 Problem: Code is indented more than necessary. 37331 Solution: Use an early return where it makes sense. (Yegappan Lakshmanan, 37332 closes #11858) 37333 37334 Patch 9.0.1238 37335 Problem: :runtime completion can be further improved. 37336 Solution: Also complete the {where} argument values and adjust the 37337 completion for that. (closes #11874) 37338 37339 Patch 9.0.1239 37340 Problem: Cannot have a line break before an object member access. 37341 Solution: Check for "." in next line. (closes #11864) 37342 37343 Patch 9.0.1240 37344 Problem: Cannot access a private object member in a lambda defined inside 37345 the class. 37346 Solution: Go up the context stack to find the class. (closes #11866) 37347 37348 Patch 9.0.1241 37349 Problem: Coverity warns for not checking function return value. 37350 Solution: Explicitly ignore the return value. 37351 37352 Patch 9.0.1242 37353 Problem: Code for :runtime completion is not consistent. 37354 Solution: Make code for cmdline expansion more consistent. (closes #11875) 37355 37356 Patch 9.0.1243 37357 Problem: :setglobal cannot use script-local function for "expr" option. 37358 Solution: Use the pointer to the option value properly. (closes #11883) 37359 37360 Patch 9.0.1244 37361 Problem: Cursor briefly displayed in a wrong position when pressing Esc in 37362 Insert mode after autoindent was used. 37363 Solution: Do not adjust the cursor position for assumed deleted white space 37364 if text is following. (closes #11877) 37365 37366 Patch 9.0.1245 37367 Problem: Code is indented more than necessary. 37368 Solution: Use an early return where it makes sense. (Yegappan Lakshmanan, 37369 closes #11879) 37370 37371 Patch 9.0.1246 37372 Problem: Code is indented more than necessary. 37373 Solution: Use an early return where it makes sense. (Yegappan Lakshmanan, 37374 closes #11887) 37375 37376 Patch 9.0.1247 37377 Problem: Divide by zero with 'smoothscroll' set and a narrow window. 37378 Solution: Bail out when the window is too narrow. 37379 37380 Patch 9.0.1248 37381 Problem: Cannot export an interface. (Ernie Rael) 37382 Solution: Add the EX_EXPORT flag to :interface. (closes #11884) 37383 37384 Patch 9.0.1249 37385 Problem: Cannot export an abstract class. (Ernie Rael) 37386 Solution: Add the EX_EXPORT flag to :abstract. (closes #11884) 37387 37388 Patch 9.0.1250 37389 Problem: Cannot use an object method with :defer. (Ernie Rael) 37390 Solution: Find the object method and generate code to call it. 37391 (closes #11886) 37392 37393 Patch 9.0.1251 37394 Problem: Checking returned value of ga_grow() is inconsistent. 37395 Solution: Check for FAIL instead of "not OK". (Yegappan Lakshmanan, 37396 closes #11897) 37397 37398 Patch 9.0.1252 37399 Problem: MS-Windows: scrollback cropped off on Vim exit. 37400 Solution: Don't call SetConsoleScreenBufferInfoEx when using the alternate 37401 screen buffer. (Christopher Plewright, closes #11882) 37402 37403 Patch 9.0.1253 37404 Problem: CI adds repository unnecessarily. 37405 Solution: Remove the line from the workflow. (closes #11900) 37406 37407 Patch 9.0.1254 37408 Problem: Calling a method on an interface does not work. 37409 Solution: At runtime figure out what method to call. (closes #11901) 37410 37411 Patch 9.0.1255 37412 Problem: Changing 'virtualedit' does not have immediate effect. 37413 Solution: Correct how is checked for a changed value. (closes #11878) 37414 37415 Patch 9.0.1256 37416 Problem: NetworkManager connection files are not recognized. 37417 Solution: Add a pattern for NetworkManager connection files. (closes #11893) 37418 37419 Patch 9.0.1257 37420 Problem: Code style is not check in test scripts. 37421 Solution: Add basic code style check for test files. 37422 37423 Patch 9.0.1258 37424 Problem: Code style test fails. 37425 Solution: Adjust test files. 37426 37427 Patch 9.0.1259 37428 Problem: Diffmode test fails. 37429 Solution: Adjust expected result for adjusted indenting. 37430 37431 Patch 9.0.1260 37432 Problem: Coverity warns for possible NULL pointer usage. 37433 Solution: Change the condition. 37434 37435 Patch 9.0.1261 37436 Problem: Elsa files are not recognized. 37437 Solution: Add a pattern for Elsa files. (Amaan Qureshi, closes #11908) 37438 37439 Patch 9.0.1262 37440 Problem: The did_set_string_option function is too long. 37441 Solution: Split off functionality to individual functions. (Yegappan 37442 Lakshmanan, Lewis Russell, closes #11904) 37443 37444 Patch 9.0.1263 37445 Problem: KDL files are not recognized. 37446 Solution: Add a pattern for KDL files. (Amaan Qureshi, closes #11898) 37447 37448 Patch 9.0.1264 37449 Problem: Motif: compiler warning for unused argument. 37450 Solution: Add "UNUSED". 37451 37452 Patch 9.0.1265 37453 Problem: Using an interface method may give a compilation error. 37454 Solution: Do not try to compile the body of a method of an interface. 37455 (closes #11885) 37456 37457 Patch 9.0.1266 37458 Problem: Error for space before ": type" is inconsistent. 37459 Solution: Give E1059 in more places. (closes #11868) 37460 37461 Patch 9.0.1267 37462 Problem: The did_set_string_option function is too long. 37463 Solution: Further cleanup of handling string options. (Yegappan Lakshmanan, 37464 Lewis Russell, closes #11920) 37465 37466 Patch 9.0.1268 37467 Problem: .clangd and .stylelintrc files don't get a filetype. 37468 Solution: Use yaml for .clangd and json for .stylelintrc files. (Mark 37469 Skelton, closes #11916) 37470 37471 Patch 9.0.1269 37472 Problem: Channel test often fails on Mac OS. 37473 Solution: Increase the wait time from one to 15 milliseconds. (D. Ben 37474 Knoble, closes #11894) 37475 37476 Patch 9.0.1270 37477 Problem: Crash when using search stat in narrow screen. 37478 Solution: Check length of message. (closes #11921) 37479 37480 Patch 9.0.1271 37481 Problem: Using sizeof() and subtract array size is tricky. 37482 Solution: Use offsetof() instead. (closes #11926) 37483 37484 Patch 9.0.1272 37485 Problem: Typo in pattern for filetype detection. 37486 Solution: Fix the typo. (closes #11924) 37487 37488 Patch 9.0.1273 37489 Problem: "1v" may select block with wrong size. (Evgeni Chasnovski) 37490 Solution: Compute "curswant" in the right line. (closes #11925) 37491 37492 Patch 9.0.1274 37493 Problem: FIRRTL files are not recognized. 37494 Solution: Add a pattern for FIRRTL files. (Amaan Qureshi, closes #11931) 37495 37496 Patch 9.0.1275 37497 Problem: The code for setting options is too complicated. 37498 Solution: Refactor the do_set() function. (Yegappan Lakshmanan, Lewis 37499 Russell, closes #11932) 37500 37501 Patch 9.0.1276 37502 Problem: Some mappings with Meta and Shift do not work. 37503 Solution: Apply the Shift modifier to the key. (issue #11913) 37504 37505 Patch 9.0.1277 37506 Problem: Cursor may move with autocmd in Visual mode. 37507 Solution: Restore "VIsual_active" before calling check_cursor(). 37508 (closes #11939) 37509 37510 Patch 9.0.1278 37511 Problem: go.work.sum files are not recognized. 37512 Solution: Recognize go.work.sum files as the gosum filetype. (Amaan Qureshi, 37513 closes #11940) 37514 37515 Patch 9.0.1279 37516 Problem: Display shows lines scrolled down erroneously. (Yishai Lerner) 37517 Solution: Do not change "wl_lnum" at index zero. (closes #11938) 37518 37519 Patch 9.0.1280 37520 Problem: Insufficient testing for what 9.0.1265 fixes. 37521 Solution: Add a couple of test cases. (issue #11885) 37522 37523 Patch 9.0.1281 37524 Problem: Cadence files are not recognized. 37525 Solution: Recognize Cadence files. (Janez Podhostnik, closes #11951) 37526 37527 Patch 9.0.1282 37528 Problem: Ron files are not recognized. 37529 Solution: Recognize Ron files. (Amaan Qureshi, closes #11948) 37530 37531 Patch 9.0.1283 37532 Problem: The code for setting options is too complicated. 37533 Solution: Refactor the do_set() function. (Yegappan Lakshmanan, Lewis 37534 Russell, closes #11945) 37535 37536 Patch 9.0.1284 37537 Problem: Compiler warnings for uninitialized variables. (Tony Mechelynck) 37538 Solution: Add variable initializations. 37539 37540 Patch 9.0.1285 37541 Problem: Various small problems. 37542 Solution: Adjust white space and comments. 37543 37544 Patch 9.0.1286 37545 Problem: Coverity warns for using a NULL pointer. 37546 Solution: Bail out whan "varp" is NULL. 37547 37548 Patch 9.0.1287 37549 Problem: With the Kitty key protocol Esc with NumLock cannot be mapped. 37550 Solution: Also use K_ESC when there is a modifier. (closes #11811) 37551 37552 Patch 9.0.1288 37553 Problem: FunC files are not recognized. 37554 Solution: Recognize FunC files. (Amaan Qureshi, closes #11949) 37555 37556 Patch 9.0.1289 37557 Problem: A newer version of clang can be used for CI. 37558 Solution: Switch from clang-15 to clang-16. (closes #11577) 37559 37560 Patch 9.0.1290 37561 Problem: CTRL-N and -P on cmdline don't trigger CmdlineChanged. 37562 Solution: Jump to cmdline_changed instead of cmdline_not_changed. 37563 (closes #11956) 37564 37565 Patch 9.0.1291 37566 Problem: Move language files are not recognized. 37567 Solution: Recognize Move language files. (Amaan Qureshi, closes #11947) 37568 37569 Patch 9.0.1292 37570 Problem: :defer may call the wrong method for an object. (Ernie Rael) 37571 Solution: When en object is from a class that extends or implements, figure 37572 out the method to call at runtime. (closes #11910) 37573 37574 Patch 9.0.1293 37575 Problem: The set_num_option() is too long. 37576 Solution: Move code to separate functions. (Yegappan Lakshmanan, 37577 closes #11954) 37578 37579 Patch 9.0.1294 37580 Problem: The set_bool_option() function is too long. 37581 Solution: Move code to separate functions. (Yegappan Lakshmanan, 37582 closes #11964) 37583 37584 Patch 9.0.1295 37585 Problem: The option initialization function is too long. 37586 Solution: Move code to separate functions. (Yegappan Lakshmanan, 37587 closes #11966) 37588 37589 Patch 9.0.1296 37590 Problem: Calling an object method with arguments does not work. (Ernie 37591 Rael) 37592 Solution: Take the argument count into account when looking up the object. 37593 (closes #11911) 37594 37595 Patch 9.0.1297 37596 Problem: Wrong value for $LC_CTYPE makes the environ test fail. 37597 Solution: Unset $LC_CTYPE when running tests. (closes #11963) 37598 37599 Patch 9.0.1298 37600 Problem: Inserting a register on the command line does not trigger 37601 incsearch or update hlsearch. 37602 Solution: Have cmdline_insert_reg() return CMDLINE_CHANGED when appropriate 37603 and handle it correctly. (Ken Takata, closes #11960) 37604 37605 Patch 9.0.1299 37606 Problem: Change for triggering incsearch not sufficiently tested. 37607 Solution: Add a test case. Simplify the code. (closes #11971) 37608 37609 Patch 9.0.1300 37610 Problem: 'statusline' only supports one "%=" item. 37611 Solution: Add support for multiple "%=" items. (TJ DeVries, Yegappan 37612 Lakshmanan, closes #11970, closes #11965) 37613 37614 Patch 9.0.1301 37615 Problem: Virtual text below empty line not displayed. 37616 Solution: Adjust flags and computations. (closes #11959) 37617 37618 Patch 9.0.1302 37619 Problem: On a Belgian keyboard CTRL-] does not work. 37620 Solution: Translate CTRL-$ into CTRL-]. (closes #11831) 37621 37622 Patch 9.0.1303 37623 Problem: Motif: scrollbar width/height wrong when maximized. 37624 Solution: Set the width/height when creating the scrollbar. (closes #11946) 37625 37626 Patch 9.0.1304 37627 Problem: "$" for 'list' option displayed in wrong position when there are 37628 text properties. 37629 Solution: Adjust logic for order of displayed items. (closes #11959) 37630 37631 Patch 9.0.1305 37632 Problem: Cursor in wrong line with virtual text above. 37633 Solution: Count extra line for text property above/below. (closes #11959) 37634 37635 Patch 9.0.1306 37636 Problem: No regression test for solved problem of #11959. 37637 Solution: Add a test, also with 'list' set. (closes #11959) 37638 37639 Patch 9.0.1307 37640 Problem: Setting 'formatoptions' with :let doesn't check for errors. 37641 Solution: Pass "errbuf" to set_string_option(). (Yegappan Lakshmanan, 37642 closes #11974, closes #11972) 37643 37644 Patch 9.0.1308 37645 Problem: The code for setting options is too complicated. 37646 Solution: Refactor the code for setting options. (Yegappan Lakshmanan, 37647 closes #11989) 37648 37649 Patch 9.0.1309 37650 Problem: Scrolling two lines with even line count and 'scrolloff' set. 37651 Solution: Adjust how the topline is computed. (closes #10545) 37652 37653 Patch 9.0.1310 37654 Problem: 'splitkeep' test has failures. 37655 Solution: Adjust expected cursor line position. 37656 37657 Patch 9.0.1311 37658 Problem: Coverity warns for using a NULL pointer. 37659 Solution: Use "empty_option" instead of NULL. 37660 37661 Patch 9.0.1312 37662 Problem: Cursor position wrong when splitting window in insert mode. 37663 Solution: Pass the actual mode to win_fix_cursor(). (Luuk van Baal, 37664 closes #11999, 37665 37666 Patch 9.0.1313 37667 Problem: Some settings use the current codepage instead of 'encoding'. 37668 Solution: Adjust how options are initialized. (Ken Takata, closes #11992) 37669 37670 Patch 9.0.1314 37671 Problem: :messages behavior depends on 'fileformat' of current buffer. 37672 Solution: Pass the buffer pointer to where it is used. (Mirko Ceroni, 37673 closes #11995) 37674 37675 Patch 9.0.1315 37676 Problem: Escaping for completion of map command not properly tested. 37677 Solution: Add a few test cases. (closes #12009) 37678 37679 Patch 9.0.1316 37680 Problem: MS-Windows: vimfiles dir created with admin group. 37681 Solution: Use ShellExecAsUser to create the vimfiles directory. (Christopher 37682 Plewright, Ken Takata, closes #12000, closes #11888) 37683 37684 Patch 9.0.1317 37685 Problem: Crash when using an unset object variable. 37686 Solution: Give an error instead. (closes #12005) 37687 37688 Patch 9.0.1318 37689 Problem: Code style test fails. 37690 Solution: Remove trailing white space. 37691 37692 Patch 9.0.1319 37693 Problem: PRQL files are not recognized. 37694 Solution: Add a filetype pattern for PRQL files. (Matthias Queitsch, 37695 closes #12018) 37696 37697 Patch 9.0.1320 37698 Problem: Checking the type of a null object causes a crash. 37699 Solution: Don't try to get the class of a null object. (closes #12005) 37700 Handle error from calling a user function better. 37701 37702 Patch 9.0.1321 37703 Problem: vimscript test fails where using {expr} syntax. 37704 Solution: Only return FCERR_FAILED in call_user_func() for Vim9 script. 37705 37706 Patch 9.0.1322 37707 Problem: Crash when indexing "any" which is an object. 37708 Solution: Check the index is a number. Do not check the member type of an 37709 object. (closes #12019) 37710 37711 Patch 9.0.1323 37712 Problem: Build failure with +eval feature. 37713 Solution: Add missing part for using funcerror_T. 37714 37715 Patch 9.0.1324 37716 Problem: "gj" and "gk" do not move correctly over a closed fold. 37717 Solution: Use the same code as used for "j"/"k" to go to the next/previous 37718 line. (Luuk van Baal, closes #12007) 37719 37720 Patch 9.0.1325 37721 Problem: 'colorcolumn' highlight wrong with virtual text above. 37722 Solution: Adjust column of 'colorcolumn' for text property. (closes #12004) 37723 37724 Patch 9.0.1326 37725 Problem: Relative line number not updated with virtual text above. 37726 Solution: Adjust the row for the line number for virtual text above. 37727 (closes #12004) 37728 37729 Patch 9.0.1327 37730 Problem: Cursor in wrong position below line with virtual text below ending 37731 in multi-byte character. 37732 Solution: When checking for last character take care of multi-byte 37733 character. 37734 37735 Patch 9.0.1328 37736 Problem: Error when using "none" for GUI color is confusing. 37737 Solution: Mention that the name should perhaps be "NONE". (closes #1400) 37738 37739 Patch 9.0.1329 37740 Problem: Completion of map includes simplified ones. 37741 Solution: Do not complete simplified mappings. (closes #12013) 37742 37743 Patch 9.0.1330 37744 Problem: Handling new value of an option has a long "else if" chain. 37745 Solution: Use a function pointer. (Yegappan Lakshmanan, closes #12015) 37746 37747 Patch 9.0.1331 37748 Problem: Illegal memory access when using :ball in Visual mode. 37749 Solution: Stop Visual mode when using :ball. (Pavel Mayorov, closes #11923) 37750 37751 Patch 9.0.1332 37752 Problem: Crash when using buffer-local user command in cmdline window. 37753 (Karl Yngve Lervåg) 37754 Solution: Use the right buffer to find the user command. (closes #12030, 37755 closes #12029) 37756 37757 Patch 9.0.1333 37758 Problem: When redo'ing twice <ScriptCmd> may not get the script ID. 37759 Solution: When "last_used_map" map is not set use "last_used_sid". 37760 (closes #11930) 37761 37762 Patch 9.0.1334 37763 Problem: Using tt_member for the class leads to mistakes. 37764 Solution: Add a separate tt_class field. 37765 37766 Patch 9.0.1335 37767 Problem: No test for bad use of spaces in help files. 37768 Solution: Add checks for use of spaces in help files. Ignore intentional 37769 spaces. (Hirohito Higashi, closes #11952) 37770 37771 Patch 9.0.1336 37772 Problem: Functions without arguments are not always declared properly. 37773 Solution: Use "(void)" instead of "()". (Yegappan Lakshmanan, closes #12031) 37774 37775 Patch 9.0.1337 37776 Problem: Yuck files are not recognized. 37777 Solution: Add a filetype pattern for yuck files. (Amaan Qureshi, 37778 closes #12033) 37779 37780 Patch 9.0.1338 37781 Problem: :defcompile and :disassemble can't find class method. (Ernie Rael) 37782 Solution: Make a class name and class.method name work. (closes #11984) 37783 37784 Patch 9.0.1339 37785 Problem: No test for :disassemble with class function. 37786 Solution: Add a test. 37787 37788 Patch 9.0.1340 37789 Problem: Coverity warns for using NULL pointer. 37790 Solution: Check that lhs_type is not NULL. 37791 37792 Patch 9.0.1341 37793 Problem: Build error with mzscheme but without GUI. 37794 Solution: Adjust #ifdefs. (Ken Takata, closes #12042) Also fix function 37795 argument. 37796 37797 Patch 9.0.1342 37798 Problem: MS-Windows: linking may fail with space in directory name. 37799 Solution: Add quotes. (closes #12050) 37800 37801 Patch 9.0.1343 37802 Problem: Check for OSC escape sequence doesn't work. 37803 Solution: Move square bracket to the right place. (Johan Mattsson, 37804 closes #12048) 37805 37806 Patch 9.0.1344 37807 Problem: Check for OSC escape sequence doesn't work. 37808 Solution: Fix typo in index. 37809 37810 Patch 9.0.1345 37811 Problem: Too many "else if" statements for handling options. 37812 Solution: Add more functions to handle options. (Yegappan Lakshmanan, 37813 closes #12051) 37814 37815 Patch 9.0.1346 37816 Problem: Starlark files are not recognized. 37817 Solution: Add patterns for Starlark files. (Amaan Qureshi, closes #12049) 37818 37819 Patch 9.0.1347 37820 Problem: "gr CTRL-O" stays in Insert mode. (Pierre Ganty) 37821 Solution: Do not set restart_edit when "cmdchar" is 'v'. (closes #12045) 37822 37823 Patch 9.0.1348 37824 Problem: Un-grammar files are not recognized. 37825 Solution: Add patterns for Un-grammar files. (Amaan Qureshi, closes #12034) 37826 37827 Patch 9.0.1349 37828 Problem: "gr" with a count fails. 37829 Solution: Break out of the loop only after using the count. 37830 37831 Patch 9.0.1350 37832 Problem: CPON files are not recognized. 37833 Solution: Add patterns for CPON files. (Amaan Qureshi, closes #12053) 37834 37835 Patch 9.0.1351 37836 Problem: Dhall files are not recognized. 37837 Solution: Add patterns for Dhall files. (Amaan Qureshi, closes #12052) 37838 37839 Patch 9.0.1352 37840 Problem: "ignore" files are outdated. 37841 Solution: Update "ignore" files. (Ken Takata, closes #12056) 37842 37843 Patch 9.0.1353 37844 Problem: Too many "else if" statements to handle option values. 37845 Solution: Add more functions to handle option value changes. (Yegappan 37846 Lakshmanan, closes #12058) 37847 37848 Patch 9.0.1354 37849 Problem: "gr CTRL-G" stays in virtual replace mode. (Pierre Ganty) 37850 Solution: Prepend CTRL-V before control characters. (closes #12045) 37851 37852 Patch 9.0.1355 37853 Problem: No error when declaring a class twice. (Ernie Rael) 37854 Solution: Pass different flags when declaring the class. (closes #12057) 37855 37856 Patch 9.0.1356 37857 Problem: Cannot cancel "gr" with Esc. 37858 Solution: Make "gr<Esc>" do nothing. (closes #12064) 37859 37860 Patch 9.0.1357 37861 Problem: Using null_object results in an internal error. (Ernie Rael) 37862 Solution: Add instructions for pushing an object and class. (closes #12044) 37863 37864 Patch 9.0.1358 37865 Problem: Compilation error with some compilers. 37866 Solution: Avoid using "class" as member name. 37867 37868 Patch 9.0.1359 37869 Problem: Too many "else if" statements in handling options. 37870 Solution: Add more functions for handling option changes. (Yegappan 37871 Lakshmanan, closes #12060) 37872 37873 Patch 9.0.1360 37874 Problem: Cue files are not recognized. 37875 Solution: Add patterns for Cue files. (Amaan Qureshi, closes #12067) 37876 37877 Patch 9.0.1361 37878 Problem: extendnew() not sufficiently tested. 37879 Solution: Add a few more test cases for extendnew(). (closes #12075) 37880 37881 Patch 9.0.1362 37882 Problem: ml_get error when going to another tab. (Daniel J. Perry) 37883 Solution: Do not call update_topline() if "curwin" is invalid. 37884 (closes #11907) 37885 37886 Patch 9.0.1363 37887 Problem: Crash when :def function has :break in skipped block. (Ernie Rael) 37888 Solution: Don't generate a jump for a skipped :break. (closes #12077) 37889 37890 Patch 9.0.1364 37891 Problem: Build error with older Mac OS. 37892 Solution: Adjust #ifdef. (Yee Cheng Chin, closes #12074) 37893 37894 Patch 9.0.1365 37895 Problem: Dead test code. 37896 Solution: Remove code that depends on Farsi, which has been removed. 37897 (closes #12084) 37898 37899 Patch 9.0.1366 37900 Problem: Functions for setting options are in random order. 37901 Solution: Sort functions alphabetically. (Yegappan Lakshmanan, 37902 closes #12082) 37903 37904 Patch 9.0.1367 37905 Problem: Divide by zero in zero-width window. 37906 Solution: Check the width is positive. 37907 37908 Patch 9.0.1368 37909 Problem: Bass files are not recognized. 37910 Solution: Add patterns for Bass files. (Amaan Qureshi, closes #12088) 37911 37912 Patch 9.0.1369 37913 Problem: Still some "else if" constructs for setting options. 37914 Solution: Add a few more functions for handling options. (Yegappan 37915 Lakshmanan, closes #12090) 37916 37917 Patch 9.0.1370 37918 Problem: Crash when using a NULL object. (Ernie Rael) 37919 Solution: Check for NULL and give an error message. (closes #12083) 37920 37921 Patch 9.0.1371 37922 Problem: Ballooneval interferes with Insert completion. 37923 Solution: Ignore mouse-move events when completing. (closes #12094, 37924 closes #12092) 37925 37926 Patch 9.0.1372 37927 Problem: Test for 'toolbariconsize' may fail. 37928 Solution: Only test 'toolbariconsize' when it is supported. (James McCoy, 37929 closes #12095) 37930 37931 Patch 9.0.1373 37932 Problem: Wrong text displayed when using both 'linebreak' and 'list'. 37933 Solution: Only set "c_extra" to NUL when "p_extra" is not empty. (Hirohito 37934 Higashi, closes #12065) 37935 37936 Patch 9.0.1374 37937 Problem: Function for setting options not used consistently. 37938 Solution: Use a function for 'encoding' and terminal options. (Yegappan 37939 Lakshmanan, closes #12099) 37940 37941 Patch 9.0.1375 37942 Problem: Crash when getting member of obj of unknown class. 37943 Solution: Check for NULL class and give an error message. (Ernie Rael, 37944 closes #12096) 37945 37946 Patch 9.0.1376 37947 Problem: Accessing invalid memory with put in Visual block mode. 37948 Solution: Adjust the cursor column if needed. 37949 37950 Patch 9.0.1377 37951 Problem: job_status() may return "dead" if the process parent changed. 37952 Solution: Call mch_process_running() to check if the job is still alive. 37953 37954 Patch 9.0.1378 37955 Problem: Illegal memory access when using virtual editing. 37956 Solution: Make sure "startspaces" is not negative. 37957 37958 Patch 9.0.1379 37959 Problem: Functions for handling options are not ordered. 37960 Solution: Put functions in alphabetical order. (Yegappan Lakshmanan, 37961 closes #12101) 37962 37963 Patch 9.0.1380 37964 Problem: CTRL-X on 2**64 subtracts two. (James McCoy) 37965 Solution: Correct computation for large number. (closes #12103) 37966 37967 Patch 9.0.1381 37968 Problem: ACCESS_ names have a conflict with on some systems. 37969 Solution: Rename by prepending VIM_. (Ola Söder, closes #12105) 37970 37971 Patch 9.0.1382 37972 Problem: Failing test for strptime() doesn't show returned value. 37973 Solution: Use assert_equal() instead of assert_true(). 37974 37975 Patch 9.0.1383 37976 Problem: xxd: combination of little endian and cols fails. (Aapo 37977 Rantalainen) 37978 Solution: Round up the space taken by the hex output. (closes #12097) 37979 37980 Patch 9.0.1384 37981 Problem: Setting HOMEBREW_NO_AUTO_UPDATE is not needed with Homebrew 37982 version 4. 37983 Solution: Remove setting HOMEBREW_NO_AUTO_UPDATE. (closes #12008) 37984 37985 Patch 9.0.1385 37986 Problem: g'Esc is considered an error. 37987 Solution: Make g'Esc silently abandon the command. (closes #12110) 37988 37989 Patch 9.0.1386 37990 Problem: Options test fails with some window width. 37991 Solution: Adjust what text the test checks with. (closes #12111) 37992 37993 Patch 9.0.1387 37994 Problem: Scrollbar test sporadically fails. 37995 Solution: Mark the scrollbar test as flaky. (Christian Brabandt, 37996 closes #12113) 37997 37998 Patch 9.0.1388 37999 Problem: Amiga: not all builds use gethostname(). 38000 Solution: Use gethostname() for all builds except AROS. (Ola Söder, 38001 closes #12107) 38002 38003 Patch 9.0.1389 38004 Problem: Amiga: a couple of include files are included twice. 38005 Solution: Remove duplicate includes. (Ola Söder, closes #12106) 38006 38007 Patch 9.0.1390 38008 Problem: FOR_ALL_ macros are defined in an unexpected file. 38009 Solution: Move FOR_ALL_ macros to macros.h. Add FOR_ALL_HASHTAB_ITEMS. 38010 (Yegappan Lakshmanan, closes #12109) 38011 38012 Patch 9.0.1391 38013 Problem: "clear" macros are not always used. 38014 Solution: Use ALLOC_ONE, VIM_CLEAR, CLEAR_POINTER and CLEAR_FIELD in more 38015 places. (Yegappan Lakshmanan, closes #12104) 38016 38017 Patch 9.0.1392 38018 Problem: Using NULL pointer with nested :open command. 38019 Solution: Check that ccline.cmdbuff is not NULL. 38020 38021 Patch 9.0.1393 38022 Problem: Cairo files are not recognized. 38023 Solution: Add a pattern for Cairo files. (Amaan Qureshi, closes #12118) 38024 38025 Patch 9.0.1394 38026 Problem: Unx Tal files are not recognized. 38027 Solution: Add a pattern for Unx Tal files. (Amaan Qureshi, closes #12117) 38028 38029 Patch 9.0.1395 38030 Problem: Odin files are not recognized. 38031 Solution: Add a pattern for Odin files. (Amaan Qureshi, closes #12122) 38032 38033 Patch 9.0.1396 38034 Problem: sort(list, 'N') does not work in Vim9 script context. 38035 Solution: Convert string to number without giving an error. (closes #12061) 38036 38037 Patch 9.0.1397 38038 Problem: Highlight for popupmenu kind and extra cannot be set. 38039 Solution: Add PmenuKind, PmenuKindSel, PmenuExtra and PmenuExtraSel 38040 highlight groups and use them. (Gianmaria Bajo, closes #12114) 38041 38042 Patch 9.0.1398 38043 Problem: Profile test repeats the headers many times. 38044 Solution: Put the headers in script variables. 38045 38046 Patch 9.0.1399 38047 Problem: Highlight test script has a few problems. 38048 Solution: Rewrite the script in Vim9 syntax. (closes #10379) 38049 38050 Patch 9.0.1400 38051 Problem: find_file_in_path() is not reentrant. 38052 Solution: Instead of global variables pass pointers to the functions. 38053 (closes #12093) 38054 38055 Patch 9.0.1401 38056 Problem: Condition is always true. 38057 Solution: Remove the condition. (closes #12139) 38058 38059 Patch 9.0.1402 38060 Problem: Crash when using null_class. 38061 Solution: Give an error when trying to use a null class. 38062 38063 Patch 9.0.1403 38064 Problem: Unused variables and functions. 38065 Solution: Delete items and adjust #ifdefs. (Dominique Pellé, closes #12145) 38066 38067 Patch 9.0.1404 38068 Problem: Compilation error with some compilers. 38069 Solution: Adjust array initialization. (John Marriott) 38070 38071 Patch 9.0.1405 38072 Problem: Missing check for out-of-memory. 38073 Solution: Check for alloc() returning NULL pointer. (closes #12149) 38074 38075 Patch 9.0.1406 38076 Problem: ILE RPG files are not recognized. 38077 Solution: Add patterns for ILE RPG files. (Andreas Louv, issue #12152) 38078 38079 Patch 9.0.1407 38080 Problem: TableGen files are not recognized. 38081 Solution: Add a pattern for TableGen files. (Amaan Qureshi, closes #12156) 38082 38083 Patch 9.0.1408 38084 Problem: QMLdir files are not recognized. 38085 Solution: Add a pattern for QMLdir files. (Amaan Qureshi, closes #12161) 38086 38087 Patch 9.0.1409 38088 Problem: Racket files are recognized as scheme. 38089 Solution: Recognize rackets files separately. (Gabriel Kakizaki, 38090 closes #12164, closes #12162) 38091 38092 Patch 9.0.1410 38093 Problem: MacOS: sed fails on .po files. 38094 Solution: Set $LANG to "C". (Yee Cheng Chin, closes #12153) 38095 38096 Patch 9.0.1411 38097 Problem: Accuracy of profiling is not optimal. 38098 Solution: Use CLOCK_MONOTONIC if possible. (Ernie Rael, closes #12129) 38099 38100 Patch 9.0.1412 38101 Problem: Pony files are not recognized. 38102 Solution: Add a pattern for Pony files. (Amaan Qureshi, closes #12155) 38103 38104 Patch 9.0.1413 38105 Problem: Compiler warning for unused variable. 38106 Solution: Move variable declaration. (John Marriott) 38107 38108 Patch 9.0.1414 38109 Problem: <M-S-x> in Kitty does not use the Shift modifier. 38110 Solution: Apply the Shift modifier to ASCII letters. (closes #11913) 38111 38112 Patch 9.0.1415 38113 Problem: Crystal files are not recognized. 38114 Solution: Add a pattern for Crystal files. (Amaan Qureshi, closes #12175) 38115 38116 Patch 9.0.1416 38117 Problem: Crash when collection is modified when using filter(). 38118 Solution: Lock the list/dict/blob. (Ernie Rael, closes #12183) 38119 38120 Patch 9.0.1417 38121 Problem: ESDL files are not recognized. 38122 Solution: Add a pattern for ESDL files. (Amaan Qureshi, closes #12174) 38123 38124 Patch 9.0.1418 38125 Problem: The included xdiff code is a bit outdated. 38126 Solution: Sync with the latest git xdiff code. (Yee Cheng Chin, 38127 closes #12181) 38128 38129 Patch 9.0.1419 38130 Problem: Lean files are not recognized. 38131 Solution: Add a pattern for Lean files. (Amaan Qureshi, closes #12177) 38132 38133 Patch 9.0.1420 38134 Problem: Build failure because SIZE_MAX is not defined. 38135 Solution: Define SIZE_MAX when missing. (John Marriott) 38136 38137 Patch 9.0.1421 38138 Problem: Nu files are not recognized. 38139 Solution: Add a pattern for Nu files. (Amaan Qureshi, closes #12172) 38140 38141 Patch 9.0.1422 38142 Problem: Sage files are not recognized. 38143 Solution: Add a pattern for Sage files. (Amaan Qureshi, closes #12176) 38144 38145 Patch 9.0.1423 38146 Problem: WebAssembly Interface Type files are not recognized. 38147 Solution: Add a pattern for WIT files. (Amaan Qureshi, closes #12173) 38148 38149 Patch 9.0.1424 38150 Problem: Unused macros are defined. 38151 Solution: Remove the unused macros. 38152 38153 Patch 9.0.1425 38154 Problem: "wat" and "wast" files are one filetype. 38155 Solution: Add a separate filetype for "wat" files. (Amaan Qureshi, 38156 closes #12165) 38157 38158 Patch 9.0.1426 38159 Problem: Indent wrong after "export namespace" in C++. 38160 Solution: Skip over "inline" and "export" in any order. (Virginia Senioria, 38161 closes #12134, closes #12133) 38162 38163 Patch 9.0.1427 38164 Problem: Warning for uninitialized variable. (Tony Mechelynck) 38165 Solution: Add #ifdef. 38166 38167 Patch 9.0.1428 38168 Problem: Cursor in wrong position when leaving insert mode. 38169 Solution: Update the w_valid flags. Position the cursor also when not 38170 redrawing. (closes #12137) 38171 38172 Patch 9.0.1429 38173 Problem: Invalid memory access when ending insert mode. 38174 Solution: Check if the insert_skip value is valid. 38175 38176 Patch 9.0.1430 38177 Problem: Livebook files are not recognized. 38178 Solution: Add a pattern for Livebook files. (Mathias Jean Johansen, 38179 closes #12203) 38180 38181 Patch 9.0.1431 38182 Problem: getscriptinfo() loops even when specific SID is given. 38183 Solution: Only loop when needed. Give a clearer error message. 38184 (closes #12207) 38185 38186 Patch 9.0.1432 38187 Problem: Completion popup in wrong position with virtual text "above". 38188 Solution: Adjust the column. (closes #12210) 38189 38190 Patch 9.0.1433 38191 Problem: On some systems the Lua library is not found. 38192 Solution: Check if a subdirectory for Lua exists. (closes #4475) 38193 38194 Patch 9.0.1434 38195 Problem: Crash when adding package already in 'runtimepath'. 38196 Solution: Change order for using 'runtimepath' entries. (closes #12215) 38197 38198 Patch 9.0.1435 38199 Problem: Scrolling too many lines when 'wrap' and 'diff' are set. 38200 Solution: Only scroll by screenlines for 'diff' when 'wrap' is not set. 38201 (closes #12211) 38202 38203 Patch 9.0.1436 38204 Problem: Cannot compare a typed variable with v:none. 38205 Solution: Allow for "x is v:none" and "x isnot v:none". (issue #12194) 38206 38207 Patch 9.0.1437 38208 Problem: Test fails with different error number. 38209 Solution: Adjust the expected error. 38210 38211 Patch 9.0.1438 38212 Problem: .fs files are falsely recognized as forth files. 38213 Solution: Check 100 lines for something that looks like forth. (Johan 38214 Kotlinski, closes #12219, closes #11988) 38215 38216 Patch 9.0.1439 38217 Problem: Start Insert mode when accessing a hidden prompt buffer. 38218 Solution: Call leaving_window() in aucmd_restbuf(). (Thorben Tröbst, 38219 closes #12148, closes #12147) 38220 38221 Patch 9.0.1440 38222 Problem: "rvim" can execute a shell through :diffpatch. 38223 Solution: Disallow the shell "patch" command. 38224 38225 Patch 9.0.1441 38226 Problem: MacOS: Python 3 using framework do not set dll name properly. 38227 Solution: Use the framework prefix. (Yee Cheng Chin, closes #12189) 38228 38229 Patch 9.0.1442 38230 Problem: mapset() does not restore non-script context. 38231 Solution: Also accept negative sid. (closes #12132) 38232 38233 Patch 9.0.1443 38234 Problem: Ending Insert mode when accessing a hidden prompt buffer. 38235 Solution: Don't stop Insert mode when it was active before. (closes #12237) 38236 38237 Patch 9.0.1444 38238 Problem: Crash when passing NULL to setcmdline(). (Andreas Louv) 38239 Solution: Use tv_get_string() instead of using v_string directly. 38240 (closes #12231, closes #12227) 38241 38242 Patch 9.0.1445 38243 Problem: openSUSE: configure doesn't find the Motif library. (Tony 38244 Mechelynck) 38245 Solution: Also search in /usr/lib64. 38246 38247 Patch 9.0.1446 38248 Problem: Unnecessary checks for the "skip" flag when skipping. 38249 Solution: Remove the unnecessary checks. (closes #12254) 38250 38251 Patch 9.0.1447 38252 Problem: Condition is always true. 38253 Solution: Remove the useless condition. (closes #12253) 38254 38255 Patch 9.0.1448 38256 Problem: Diff test fails on MacOS 13. 38257 Solution: Install GNU diffutils. (Ozaki Kiichi, closes #12258) 38258 38259 Patch 9.0.1449 38260 Problem: Test for prompt buffer is flaky. 38261 Solution: Use WaitForAssert() instead of TermWait(). (Ozaki Kiichi, 38262 closes #12247) 38263 38264 Patch 9.0.1450 38265 Problem: MacOS: building fails if clock_gettime() is not available. 38266 Solution: Add a configure check for clock_gettime(). (closes #12242) 38267 38268 Patch 9.0.1451 38269 Problem: Unnecessary redrawing when 'showcmdloc' is not "last". 38270 Solution: Redraw later when "showcmd_is_clear" is set. (Luuk van Baal, 38271 closes #12260) 38272 38273 Patch 9.0.1452 38274 Problem: Code using EVAL_CONSTANT is dead, it is never set. 38275 Solution: Remove EVAL_CONSTANT. (closes #12252) 38276 38277 Patch 9.0.1453 38278 Problem: Typos in source code and tests. 38279 Solution: Fix the typos. (Dominique Pellé, closes #12217) 38280 38281 Patch 9.0.1454 38282 Problem: Code indenting is confused by macros. 38283 Solution: Put semicolon after the macros instead of inside. (Ozaki Kiichi, 38284 closes #12257) 38285 38286 Patch 9.0.1455 38287 Problem: C++ 20 modules are not recognized. 38288 Solution: Add patterns to recognize C++ 20 modules as "cpp". (Ben Jackson, 38289 closes #12261) 38290 38291 Patch 9.0.1456 38292 Problem: Shortmess test depends on order of test execution. 38293 Solution: Clear messages. (closes #12264) 38294 38295 Patch 9.0.1457 38296 Problem: No regression test for what patch 9.0.1333 fixes. 38297 Solution: Extend existing test to cover the fixed problem. (issue #11930) 38298 38299 Patch 9.0.1458 38300 Problem: Buffer overflow when expanding long file name. 38301 Solution: Use a larger buffer and avoid overflowing it. (Yee Cheng Chin, 38302 closes #12201) 38303 38304 Patch 9.0.1459 38305 Problem: Typo in name of type. 38306 Solution: Change funccal_T to funccall_T. (closes #12265) 38307 38308 Patch 9.0.1460 38309 Problem: Insufficient testing for getcmdcompltype(). 38310 Solution: Add a few more test cases. (closes #12268) 38311 38312 Patch 9.0.1461 38313 Problem: Ruler not drawn correctly when using 'rulerformat'. 38314 Solution: Adjust formatting depending on whether the ruler is drawn in the 38315 statusline or the command line. (Sean Dewar, closes #12246) 38316 38317 Patch 9.0.1462 38318 Problem: Recursively calling :defer function if it does :qa. 38319 Solution: Clear the defer entry before calling the function. (closes #12266) 38320 38321 Patch 9.0.1463 38322 Problem: Virtual text truncation only works with Unicode 'encoding'. 38323 Solution: Convert the ellipsis character to 'encoding' if needed. (Hirohito 38324 Higashi, closes #12233) 38325 38326 Patch 9.0.1464 38327 Problem: Strace filetype detection is expensive. 38328 Solution: Match with a cheap pattern first. (Federico Mengozzi, 38329 closes #12220) 38330 38331 Patch 9.0.1465 38332 Problem: Haiku build fails. 38333 Solution: Do not include globals.h and proto.h twice. (Ozaki Kiichi, 38334 closes #12273) 38335 38336 Patch 9.0.1466 38337 Problem: Cannot use an object member name as a method argument. 38338 Solution: Do not give an error for using an object member name for a method 38339 argument. (Hirohito Higashi, closes #12241, closes #12225) 38340 Fix line number for other argument error. 38341 38342 Patch 9.0.1467 38343 Problem: Jenkinsfiles are not recognized as groovy. 38344 Solution: Add a pattern for Jenkinsfiles. (closes #12236) 38345 38346 Patch 9.0.1468 38347 Problem: Recursively calling :defer function if it does :qa in a compiled 38348 function. 38349 Solution: Clear the defer entry before calling the function. (closes #12271) 38350 38351 Patch 9.0.1469 38352 Problem: Deferred functions not called from autocommands. 38353 Solution: Also go through the funccal_stack. (closes #12267) 38354 38355 Patch 9.0.1470 38356 Problem: Deferred functions invoked in unexpected order when using :qa and 38357 autocommands. 38358 Solution: Call deferred functions for the current funccal before using the 38359 stack. (closes #12278) 38360 38361 Patch 9.0.1471 38362 Problem: Warnings for function declarations. 38363 Solution: Add argument types. (Michael Jarvis, closes #12277) 38364 38365 Patch 9.0.1472 38366 Problem: ":drop fname" may change the last used tab page. 38367 Solution: Restore the last used tab page when :drop has changed it. 38368 (closes #12087) 38369 38370 Patch 9.0.1473 38371 Problem: CI does not run sound tests. 38372 Solution: Re-enable sound tests. Use "apt-get" instead of "apt". (Ozaki 38373 Kiichi, closes #12280) 38374 38375 Patch 9.0.1474 38376 Problem: CI runs with old version of Ubuntu and tools. 38377 Solution: Update CI to more recent versions. (closes #11092) 38378 38379 Patch 9.0.1475 38380 Problem: Busted configuration files are not recognized. 38381 Solution: Recognize busted configuration files as Lua. (Craig MacEachern, 38382 closes #12209) 38383 38384 Patch 9.0.1476 38385 Problem: Lines put in non-current window are not displayed. (Marius 38386 Gedminas) 38387 Solution: Don't increment the topline when inserting just above it. 38388 (closes #12212) 38389 38390 Patch 9.0.1477 38391 Problem: Crash when recovering from corrupted swap file. 38392 Solution: Check for a valid page count. (closes #12275) 38393 38394 Patch 9.0.1478 38395 Problem: Filetypes for *.v files not detected properly. 38396 Solution: Use the file contents to detect the filetype. (Turiiya, 38397 closes #12281) 38398 38399 Patch 9.0.1479 38400 Problem: Small source file problems; outdated list of distributed files. 38401 Solution: Small updates to source files and list of distributed files. 38402 38403 Patch 9.0.1480 38404 Problem: Using popup menu may leave text in the command line. 38405 Solution: Clear the command line if the popup menu covered it. (Luuk van 38406 Baal, closes #12286) 38407 38408 Patch 9.0.1481 38409 Problem: Decrypting with libsodium may fail if the library changes. 38410 Solution: Add parameters used to the encrypted file header. (Christian 38411 Brabandt, closes #12279) 38412 38413 Patch 9.0.1482 38414 Problem: Crash when textprop has a very large "padding" value. (Yegappan 38415 Lakshmanan) 38416 Solution: Avoid the "after" count to go negative. 38417 38418 Patch 9.0.1483 38419 Problem: += operator does not work on class member. 38420 Solution: Do not skip as if "this." was used. (Christian Brabandt, 38421 closes #12263) 38422 38423 Patch 9.0.1484 38424 Problem: Coverity warns for using invalid array index. 38425 Solution: Add entry for Xchacha, even though it is not used. 38426 38427 Patch 9.0.1485 38428 Problem: no functions for converting from/to UTF-16 index. 38429 Solution: Add UTF-16 flag to existing functions and add strutf16len() and 38430 utf16idx(). (Yegappan Lakshmanan, closes #12216) 38431 38432 Patch 9.0.1486 38433 Problem: Parallel make might not work. 38434 Solution: Add missing dependencies. (Samuel Dionne-Riel, closes #12288) 38435 38436 Patch 9.0.1487 38437 Problem: Content-type header for LSP channel not according to spec. 38438 Solution: Use "vscode-jsonrpc" instead of "vim-jsonrpc". (Yegappan 38439 Lakshmanan, closes #12295) 38440 38441 Patch 9.0.1488 38442 Problem: xchacha20v2 crypt header is platform dependent. 38443 Solution: Avoid using "size_t". (Ozaki Kiichi, closes #12296) 38444 38445 Patch 9.0.1489 38446 Problem: Crypt with libsodium is not tested on CI. 38447 Solution: Configure testing with libsodium. (Ozaki Kiichi, closes #12297) 38448 38449 Patch 9.0.1490 38450 Problem: The ModeChanged event may be triggered too often. 38451 Solution: Only trigger ModeChanged when no operator is pending. 38452 (closes #12298) 38453 38454 Patch 9.0.1491 38455 Problem: Wrong scrolling with ls=0 and :botright split. 38456 Solution: Add statusline before calling frame_new_height(). (closes #12299) 38457 38458 Patch 9.0.1492 38459 Problem: Using uninitialized memory when argument is missing. 38460 Solution: Check there are sufficient arguments before the base. 38461 (closes #12302) 38462 38463 Patch 9.0.1493 38464 Problem: Popup menu position wrong in window with toolbar. 38465 Solution: Take the window toolbar into account when positioning the popup 38466 menu. (closes #12308) 38467 38468 Patch 9.0.1494 38469 Problem: Crash when recovering from corrupted swap file. 38470 Solution: Bail out when the line index looks wrong. (closes #12276) 38471 38472 Patch 9.0.1495 38473 Problem: GTK3: hiding the mouse pointer does not work. (Rory O’Kane) 38474 Solution: Set alpha level to zero. (Kenny Stauffer, closes #12293, 38475 closes #3256) 38476 38477 Patch 9.0.1496 38478 Problem: Test restoring register with wrong value. 38479 Solution: Correct name of variable. (closes #12310) 38480 38481 Patch 9.0.1497 38482 Problem: The ruler percentage can't be localized. 38483 Solution: Use a string that can be translated. (Emir Sari, closes #12311) 38484 38485 Patch 9.0.1498 38486 Problem: In a terminal window the cursor may jump around. (Kenny Stauffer) 38487 Solution: Do not move the cursor to the position for terminal-normal mode. 38488 (closes #12312) 38489 38490 Patch 9.0.1499 38491 Problem: Using uninitialized memory with fuzzy matching. 38492 Solution: Initialize the arrays used to store match positions. 38493 38494 Patch 9.0.1500 38495 Problem: The falsy operator is not tested properly. 38496 Solution: Add a few more test cases. (closes #12319) 38497 38498 Patch 9.0.1501 38499 Problem: Crash with nested :try and :throw in catch block. 38500 Solution: Jump to :endtry before returning from function. (closes #12245) 38501 38502 Patch 9.0.1502 38503 Problem: No test for deleting the end of a long wrapped line. 38504 Solution: Add a test to check the right text is displayed. (Luuk van Baal, 38505 closes #12318) 38506 38507 Patch 9.0.1503 38508 Problem: Luau files are not recognized. 38509 Solution: Add a patter for Luau files. (Amaan Qureshi, closes #12317) 38510 38511 Patch 9.0.1504 38512 Problem: No error when calling remote_startserver() with an empty string. 38513 Solution: Give an error for an empty string. (Hirohito Higashi, 38514 closes #12327) 38515 38516 Patch 9.0.1505 38517 Problem: Error when heredoc content looks like heredoc. 38518 Solution: Handle curly expressions. (closes #12325) 38519 38520 Patch 9.0.1506 38521 Problem: Line number not displayed when using 'smoothscroll'. 38522 Solution: Adjust condition for showing the line number. (closes #12333) 38523 38524 Patch 9.0.1507 38525 Problem: Assert message is confusing with boolean result. assert_inrange() 38526 replaces message instead of adding it. 38527 Solution: Don't put quotes around expected boolean value. Append message 38528 for assert_inrange(). (closes #12342, closes #12341) 38529 38530 Patch 9.0.1508 38531 Problem: Catch does not work when lines are joined with a newline. 38532 Solution: Set "nextcmd" appropriately. (closes #12348) 38533 38534 Patch 9.0.1509 38535 Problem: Error message lacks mentioning the erroneous argument. 38536 Solution: Specify the argument that the error is for. 38537 38538 Patch 9.0.1510 38539 Problem: Misleading variable name for error message. 38540 Solution: Change "name" to "number". (closes #12345) 38541 38542 Patch 9.0.1511 38543 Problem: Crash when using wrong arg types to assert_match(). 38544 Solution: Check for NULL pointer. (closes #12349) 38545 38546 Patch 9.0.1512 38547 Problem: Inserting lines when scrolling with 'smoothscroll' set. 38548 Solution: Adjust line height computation for w_skipcol. (Luuk van Baal, 38549 closes #12350) 38550 38551 Patch 9.0.1513 38552 Problem: Text scrolls unnecessarily when splitting and 'splitkeep' is not 38553 "cursor". 38554 Solution: Avoid resetting w_skipcol. (Luuk van Baal, closes #12334) 38555 38556 Patch 9.0.1514 38557 Problem: Test waits unnecessarily long before checking screendump. 38558 Solution: Remove TermWait() call. 38559 38560 Patch 9.0.1515 38561 Problem: reverse() does not work for a String. 38562 Solution: Implement reverse() for a String. (Yegappan Lakshmanan, 38563 closes #12179) 38564 38565 Patch 9.0.1516 38566 Problem: Cannot use special keys in <Cmd> mapping. 38567 Solution: Do allow for special keys in <Cmd> and <ScriptCmd> mappings. 38568 (closes #12326) 38569 38570 Patch 9.0.1517 38571 Problem: MacOS: configure removes -O2 from $CFLAGS. 38572 Solution: Only adjust $CFLAGS for gcc. (closes #12351) 38573 38574 Patch 9.0.1518 38575 Problem: Search stats not always visible when searching backwards. 38576 Solution: Do not display the top/bot message on top of the search stats. 38577 (Christian Brabandt, closes #12322, closes #12222) 38578 38579 Patch 9.0.1519 38580 Problem: Global 'filetype' is set when it is detected from the file content. 38581 Solution: Set the local 'filetype' option value. 38582 38583 Patch 9.0.1520 38584 Problem: Completion for option name includes all bool options. 38585 Solution: Do not recognize the "noinv" prefix. Prefix "no" or "inv" when 38586 appropriate. 38587 38588 Patch 9.0.1521 38589 Problem: Failing redo of command with control characters. 38590 Solution: Use AppendToRedobuffLit() for colon commands. (closes #12354) 38591 38592 Patch 9.0.1522 38593 Problem: Some functions give two error messages. 38594 Solution: Do not give a second error message. (closes #12352) 38595 38596 Patch 9.0.1523 38597 Problem: Some error messages are not marked for translation. 38598 Solution: Surround the messages in _(). (closes #12356) 38599 38600 Patch 9.0.1524 38601 Problem: Passing -1 for bool is not always rejected. 38602 Solution: Check for error in a better way. (closes #12358) 38603 38604 Patch 9.0.1525 38605 Problem: 'smoothscroll' does not always work properly. 38606 Solution: Do not reset w_skipcol after it was intentionally set. (Luuk van 38607 Baal, closes #12360, closes #12199, closes #12323) 38608 38609 Patch 9.0.1526 38610 Problem: Condition is always true. 38611 Solution: Remove unnecessary condition. (closes #12359) 38612 38613 Patch 9.0.1527 38614 Problem: Crash when using negative value for term_cols. 38615 Solution: Check for invalid term_cols value. (Kenta Sato, closes #12362) 38616 38617 Patch 9.0.1528 38618 Problem: Libsodium encryption is only used with "huge" features, even when 38619 manually enabled through configure. (Tony Mechelynck) 38620 Solution: Remove the condition on FEAT_HUGE. 38621 38622 Patch 9.0.1529 38623 Problem: Code style test doesn't check for space after "if". 38624 Solution: Add a test for space. 38625 38626 Patch 9.0.1530 38627 Problem: Cursor moves to wrong line when 'foldmethod' is "diff". (Rick 38628 Howe) 38629 Solution: Adjust logic for scrolling. (Luuk van Baal, closes #12364, 38630 closes #12218) 38631 38632 Patch 9.0.1531 38633 Problem: Crash when register contents ends up being invalid. 38634 Solution: Check "y_array" is not NULL. 38635 38636 Patch 9.0.1532 38637 Problem: Crash when expanding "~" in substitute causes very long text. 38638 Solution: Limit the text length to MAXCOL. 38639 38640 Patch 9.0.1533 38641 Problem: Test for 'smoothscroll' is ineffective. 38642 Solution: Change the order of testing "zb" and "zt". (Luuk van Baal, 38643 closes #12366) 38644 38645 Patch 9.0.1534 38646 Problem: Test for expanding "~" in substitute takes too long. 38647 Solution: Disable the test for now. 38648 38649 Patch 9.0.1535 38650 Problem: Test commented out in a wrong way. 38651 Solution: Use legacy script comment character. 38652 38653 Patch 9.0.1536 38654 Problem: CI: sound dummy stopped working. 38655 Solution: Temporarily stop using sound dummy. 38656 38657 Patch 9.0.1537 38658 Problem: Message for opening the cmdline window is not translated. 38659 Solution: Add gettext() and scan the defaults script for text to be 38660 translated. (closes #12371) 38661 38662 Patch 9.0.1538 38663 Problem: :wqall does not trigger ExitPre. (Bart Libert) 38664 Solution: Move preparations for :qall to a common function. (closes #12374) 38665 38666 Patch 9.0.1539 38667 Problem: Typst filetype is not recognized. 38668 Solution: Distinguish between sql and typst. (Gaetan Lepage, closes #12363) 38669 38670 Patch 9.0.1540 38671 Problem: reverse() on string doesn't work in compiled function. 38672 Solution: Accept string in argument type check. (Yegappan Lakshmanan, 38673 closes #12377) 38674 38675 Patch 9.0.1541 38676 Problem: CI: sound dummy is disabled. 38677 Solution: Make sound dummy work again. (closes #12380) 38678 38679 Patch 9.0.1542 38680 Problem: Line not fully displayed if it doesn't fit in the screen. 38681 Solution: Do not reset s_skipcol if not needed. (Luuk van Baal, 38682 closes #12376) 38683 38684 Patch 9.0.1543 38685 Problem: Display errors when making topline shorter and 'smoothscroll' is 38686 set. 38687 Solution: Reset w_skipcol when the topline becomes shorter than its current 38688 value. (Luuk van Baal, closes #12367) 38689 38690 Patch 9.0.1544 38691 Problem: Recent glibc marks sigset() as a deprecated. 38692 Solution: Use sigaction() in mch_signal() if possible. (Ozaki Kiichi, 38693 closes #12373) 38694 38695 Patch 9.0.1545 38696 Problem: Text not scrolled when cursor moved with "g0" and "h". 38697 Solution: Adjust w_skipcol when needed. (Luuk van Baal, closes #12387) 38698 38699 Patch 9.0.1546 38700 Problem: Some commands for opening a file don't use 'switchbuf'. 38701 Solution: Use 'switchbuf' for more commands. (Yegappan Lakshmanan, 38702 closes #12383, closes #12381) 38703 38704 Patch 9.0.1547 38705 Problem: Coveralls workflow on CI is commented out. 38706 Solution: Remove the Coveralls workflow. (closes #12389) 38707 38708 Patch 9.0.1548 38709 Problem: CI: check in sound-dummy module may throw an error. 38710 Solution: Check whether apt-cache can show the package description. 38711 (Christian Brabandt, closes #12390) 38712 38713 Patch 9.0.1549 38714 Problem: USD filetype is not recognized. 38715 Solution: Add patterns for USD filetype. (Colin Kennedy, closes #12370) 38716 38717 Patch 9.0.1550 38718 Problem: In cmdline window S-Tab does not select previous completion. 38719 (Maxim Kim) 38720 Solution: Add a mapping for S-Tab. (closes #12116) 38721 38722 Patch 9.0.1551 38723 Problem: Position of marker for 'smoothscroll' not computed correctly. 38724 Solution: Take 'list' and other options into account. (Luuk van Baal, 38725 closes #12393) 38726 38727 Patch 9.0.1552 38728 Problem: CI: sound-dummy module is not installed. 38729 Solution: Invert using the result of the condition. (closes #12394) 38730 38731 Patch 9.0.1553 38732 Problem: CI: using slightly outdated gcc version. 38733 Solution: Use "brew" to get a more recent gcc version. (closes #12391) 38734 38735 Patch 9.0.1554 38736 Problem: Code for handling 'switchbuf' is repeated. 38737 Solution: Add a function to handle 'switchbuf'. (Yegappan Lakshmanan, 38738 closes #12397) 38739 38740 Patch 9.0.1555 38741 Problem: setcharsearch() does not clear last searched char properly. 38742 Solution: Do not accept lastc_bytelen smaller than one. (closes #12398) 38743 38744 Patch 9.0.1556 38745 Problem: Vim9: error for missing "return" after "throw". 38746 Solution: Set had_return flag for "throw". (closes #12262) 38747 38748 Patch 9.0.1557 38749 Problem: Test failures for unreachable code. 38750 Solution: Add a test override to ignore unreachable code. 38751 38752 Patch 9.0.1558 38753 Problem: Wrong error for unreachable code after :throw. 38754 Solution: Adjust the error message. 38755 38756 Patch 9.0.1559 38757 Problem: Function argument types not always checked and using v:none may 38758 cause an error. 38759 Solution: Check argument types once the function type is known. Do not give 38760 an error for using v:none as an argument. (closes #12200) 38761 38762 Patch 9.0.1560 38763 Problem: Win32: When 'encoding' is set $PATH has duplicate entries. 38764 Solution: Only append the directory if it is not there yet. (Ken Takata, 38765 closes #12400, closes #12372) 38766 38767 Patch 9.0.1561 38768 Problem: Display wrong when moving cursor to above the top line and 38769 'smoothscroll' is set. 38770 Solution: Call adjust_skipcol() in more places and make it work better. 38771 (Luuk van Baal, closes #12395) 38772 38773 Patch 9.0.1562 38774 Problem: Mixing package managers is not a good idea. 38775 Solution: Install gcc 13 with apt-get. (closes #12405) 38776 38777 Patch 9.0.1563 38778 Problem: GTK3: window manager resize hints are incomplete. 38779 Solution: Use NULL for second argument of gtk_window_set_geometry_hints(). 38780 (Kenny Stauffer closes #11055) 38781 38782 Patch 9.0.1564 38783 Problem: Display moves up and down with 'incsearch' and 'smoothscroll'. 38784 Solution: Do not check if w_skipcol changed. (Luuk van Baal, closes #12410, 38785 closes #12409) 38786 38787 Patch 9.0.1565 38788 Problem: Json lines files are not recognized. 38789 Solution: Add a pattern to detect "jsonl" files. (issue #7520) 38790 38791 Patch 9.0.1566 38792 Problem: Motif: GUI scrollbar test fails in 24 lines terminal. 38793 Solution: Skip the part of the test that fails for now. 38794 38795 Patch 9.0.1567 38796 Problem: Profiler calculation may be wrong on 32 bit builds. 38797 Solution: Use 64 bit variable if possible. (Isao Sato, closes #12412) 38798 38799 Patch 9.0.1568 38800 Problem: With 'smoothscroll' cursor may move below botline. 38801 Solution: Call redraw_later() if needed, Compute cursor row with adjusted 38802 condition. (Luuk van Baal, closes #12415) 38803 38804 Patch 9.0.1569 38805 Problem: Cannot use "this.member" in lambda in class method. 38806 Solution: Adjust check for reserved keyword. (Hirohito Higashi, 38807 closes #12416, closes #12076, closes #12336) 38808 38809 Patch 9.0.1570 38810 Problem: Some tests are slow. 38811 Solution: Make a few test cases faster. 38812 38813 Patch 9.0.1571 38814 Problem: RedrawingDisabled not used consistently. 38815 Solution: Avoid RedrawingDisabled going negative. Set RedrawingDisabled in 38816 win_split_ins(). (closes #11961) 38817 38818 Patch 9.0.1572 38819 Problem: Error messages are not translated. 38820 Solution: Add _(). 38821 38822 Patch 9.0.1573 38823 Problem: Error for function name has wrong line number. 38824 Solution: Set the line number before giving the error. 38825 38826 Patch 9.0.1574 38827 Problem: MS-Windows: list of translation input files incomplete. 38828 Solution: Move the list of files to a common file. (closes #12426) 38829 38830 Patch 9.0.1575 38831 Problem: "file N of M" message is not translated. 38832 Solution: Make argument count message translatable. (close #12429) 38833 38834 Patch 9.0.1576 38835 Problem: Users may not know what to do with an internal error. 38836 Solution: Add a translated message with instructions. 38837 38838 Patch 9.0.1577 38839 Problem: MS-Windows: context menu translations may be wrong. 38840 Solution: Set the encoding before using gettext(). (Ken Takata, 38841 closes #12441, closes #12431) 38842 38843 Patch 9.0.1578 38844 Problem: SpellCap highlight not always updated when needed. 38845 Solution: Handle updating line below closed fold and other situations where 38846 only part of the window is redrawn. (Luuk van Baal, closes #12428, 38847 closes #12420) 38848 38849 Patch 9.0.1579 38850 Problem: Some error messages are not translated. 38851 Solution: Add the N_() marker on messages. (closes #12427) 38852 38853 Patch 9.0.1580 38854 Problem: CI: indent test hangs on FreeBSD. 38855 Solution: Set 'nomore' when running the indent tests. (Ozaki Kiichi, 38856 closes #12446) 38857 38858 Patch 9.0.1581 38859 Problem: Translation does not work for plural argument. 38860 Solution: Use PLURAL_MSG() for errors and with xgettext. (closes #12443) 38861 38862 Patch 9.0.1582 38863 Problem: :stopinsert may not work in a popup close handler. (Ben Jackson) 38864 Solution: Restore stop_insert_mode when appropriate. (closes #12452, 38865 closes #12434) 38866 38867 Patch 9.0.1583 38868 Problem: Get E304 when using 'cryptmethod' "xchacha20v2". (Steve Mynott) 38869 Solution: Add 4th crypt method to block zero ID check. Avoid syncing a swap 38870 file before reading the file. (closes #12433) 38871 38872 Patch 9.0.1584 38873 Problem: Not all meson files are recognized. 38874 Solution: Add "meson.options". (Liam Beguin, closes #12444) 38875 38876 Patch 9.0.1585 38877 Problem: Weird use of static variables for spell checking. 38878 Solution: Move the variables to a structure and pass them from win_update() 38879 to win_line(). (Luuk van Baal, closes #12448) 38880 38881 Patch 9.0.1586 38882 Problem: Checking translations gives an error for using two messages with 38883 ngettext() that differ in "%" items. 38884 Solution: Adjust the check script to tolerate omitting one "%" item. 38885 38886 Patch 9.0.1587 38887 Problem: Corn config files are not recognized. 38888 Solution: Add a pattern for Corn config files. (Jake Stanger, closes #12449) 38889 38890 Patch 9.0.1588 38891 Problem: Incsearch not triggered when pasting clipboard register on the 38892 command line. 38893 Solution: Also set "literally" when using a clipboard register. (Ken Takata, 38894 closes #12460) 38895 38896 Patch 9.0.1589 38897 Problem: Filetype test contains too many special characters. 38898 Solution: Use Vim9 syntax for a few things. 38899 38900 Patch 9.0.1590 38901 Problem: Filetype test has trailing white space. 38902 Solution: Remove trailing white space. 38903 38904 Patch 9.0.1591 38905 Problem: Some "gomod" files are not recognized. 38906 Solution: Check for "go.mod" file name before checking out the contents. 38907 (Omar El Halabi, closes #12462) 38908 38909 Patch 9.0.1592 38910 Problem: Not all timer tests are marked as flaky. 38911 Solution: Set the flaky flag for all timer tests. (closes #12355) 38912 38913 Patch 9.0.1593 38914 Problem: MS-Windows: assert error when compiled with debug mode. 38915 Solution: Adjust arguments to setvbuf(). (Ken Takata, closes #12467) 38916 38917 Patch 9.0.1594 38918 Problem: Some internal error messages are translated. 38919 Solution: Consistently do not translate internal error messages. 38920 (closes #12459) 38921 38922 Patch 9.0.1595 38923 Problem: Line pointer becomes invalid when using spell checking. 38924 Solution: Call ml_get() at the right places. (Luuk van Baal, closes #12456) 38925 38926 Patch 9.0.1596 38927 Problem: :registers command does not work in sandbox. 38928 Solution: Add flag to the command. (closes #12473) 38929 38930 Patch 9.0.1597 38931 Problem: Cursor ends up below the window after a put. 38932 Solution: Mark w_crow and w_botline invalid when changing the cursor line. 38933 (closes #12465) 38934 38935 Patch 9.0.1598 38936 Problem: screenchar(), screenchars() and screenstring() do not work 38937 properly when 'encoding' is set to a double-byte encoding. 38938 Solution: Fix the way the bytes of the characters are obtained. 38939 (issue #12469) 38940 38941 Patch 9.0.1599 38942 Problem: Cursor not adjusted when near top or bottom of window and 38943 'splitkeep' is not "cursor". 38944 Solution: Move boundary checks to outer cursor move functions, inner 38945 functions should only return valid cursor positions. (Luuk van 38946 Baal, closes #12480) 38947 38948 Patch 9.0.1600 38949 Problem: screenpos() does not take w_skipcol into account. 38950 Solution: Subtract w_skipcol from column. (closes #12486, closes #12476) 38951 38952 Patch 9.0.1601 38953 Problem: Filetype detection fails for *.conf file without comments. 38954 (Dmitrii Tcyganok) 38955 Solution: Use "conf" filetype as a fallback for an empty .conf file. 38956 (closes #12487, closes #12483) 38957 38958 Patch 9.0.1602 38959 Problem: Stray character is visible if 'smoothscroll' marker is displayed 38960 on top of a double-wide character. 38961 Solution: When overwriting a double-width character with the 'smoothscroll' 38962 marker clear the second half. (closes #12469) 38963 38964 Patch 9.0.1603 38965 Problem: Display wrong when scrolling multiple lines with 'smoothscroll' 38966 set. 38967 Solution: Redraw when w_skipcol changed. (closes #12477, closes #12468) 38968 38969 Patch 9.0.1604 38970 Problem: Errors from the codestyle test are a bit confusing. 38971 Solution: Use assert_report() with a clearer message. Avoid a warning for 38972 an existing swap file. 38973 38974 Patch 9.0.1605 38975 Problem: Crash when calling method on super in child constructor. (Israel 38976 Chauca Fuentes) 38977 Solution: Clear the type list. (Ernie Rael, closes #12489, closes #12471) 38978 38979 Patch 9.0.1606 38980 Problem: Using freed memory when 'foldcolumn' is set. 38981 Solution: Save extra pointer to free it later. (closes #12492) 38982 38983 Patch 9.0.1607 38984 Problem: screenpos() returns wrong row with diff filler lines. 38985 Solution: Only add filler lines when appropriate. Also don't add the 38986 'smoothscroll' marker when w_skipcol is zero. (closes #12485, 38987 closes #12484) 38988 38989 Patch 9.0.1608 38990 Problem: update_topline() is called twice. 38991 Solution: Do not call update_topline() before curs_columns(). (Luuk van 38992 Baal, closes #12495) 38993 38994 Patch 9.0.1609 38995 Problem: Crash when an object indirectly references itself. 38996 Solution: Avoid clearing an object while it is already being cleared. 38997 (closes #12494) 38998 38999 Patch 9.0.1610 39000 Problem: Display is wrong when 'smoothscroll' is set and scrolling multiple 39001 lines. 39002 Solution: Redraw with UPD_NOT_VALID when "skipcol" is or was set. 39003 (closes #12490, closes #12468) 39004 39005 Patch 9.0.1611 39006 Problem: v:maxcol can be changed in a :for loop. 39007 Solution: Check for read-only loop variable. (closes #12470) 39008 39009 Patch 9.0.1612 39010 Problem: "skipcol" not reset when using multi-byte characters. 39011 Solution: Compare with w_virtcol instead of w_cursor.col. (closes #12457) 39012 39013 Patch 9.0.1613 39014 Problem: Some make output gets picked up by 'errorformat'. 39015 Solution: Ignore make output by default. (Gregory Anders, closes #12481) 39016 39017 Patch 9.0.1614 39018 Problem: strlen() called too often for :spellrepall. 39019 Solution: Store the result in a variable. (closes #12497) 39020 39021 Patch 9.0.1615 39022 Problem: URL shortcut files are not recognized. 39023 Solution: Add a pattern for URL shortcut files. (closes #12474) 39024 39025 Patch 9.0.1616 39026 Problem: Quickfix text field is truncated. 39027 Solution: Fix output of text field after pattern field in quickfix buffer. 39028 (Shane Harper, closes #12498) 39029 39030 Patch 9.0.1617 39031 Problem: charidx() and utf16idx() result is not consistent with byteidx(). 39032 Solution: When the index is equal to the length of the text return the 39033 length of the text instead of -1. (Yegappan Lakshmanan, 39034 closes #12503) 39035 39036 Patch 9.0.1618 39037 Problem: Trace32 files are not recognized. 39038 Solution: Add patterns for the t32 filetype. (Christoph Sax, closes #12505) 39039 39040 Patch 9.0.1619 39041 Problem: The focus gained/lost escape sequences cause trouble for a 39042 terminal where Vim does not expect them. 39043 Solution: Always recognize the codes for focus gained/lost. (closes #12499) 39044 39045 Patch 9.0.1620 39046 Problem: Nix files are not recognized from the hashbang line. 39047 Solution: Add a hashbang check. (issue #12507) 39048 39049 Patch 9.0.1621 39050 Problem: FILETYPE_FILE is defined to the same value multiple times. Same 39051 for a few similar macros. 39052 Solution: Define FILETYPE_FILE and others in feature.h only 39053 39054 Patch 9.0.1622 39055 Problem: Filetype name t32 is a bit obscure. 39056 Solution: Rename t32 to trace32. (Christoph Sax, closes #12512) 39057 39058 Patch 9.0.1623 39059 Problem: The program to filetype translation is not exported. 39060 Solution: Export Exe2filetype(). 39061 39062 Patch 9.0.1624 39063 Problem: Crash when calling object constructor from legacy script. (Israel 39064 Chauca Fuentes) 39065 Solution: Pass a pointer for "ufunc". (closes #12502) 39066 39067 Patch 9.0.1625 39068 Problem: "super" is not considered a reserved name. 39069 Solution: Add "super" to the list of reserved names. (closes #12515) 39070 39071 Patch 9.0.1626 39072 Problem: Visual area not shown when using 'showbreak' and start of line is 39073 not visible. (Jaehwang Jung) 39074 Solution: Adjust "fromcol" for the space taken by 'showbreak'. 39075 (closes #12514) 39076 39077 Patch 9.0.1627 39078 Problem: No generic mechanism to test syntax plugins. 39079 Solution: Add a syntax plugin test mechanism, using screendumps. Add a 39080 simple test for "c". 39081 39082 Patch 9.0.1628 39083 Problem: Syntax tests fail on FreeBSD. 39084 Solution: Pass the Vim executable path with VIMPROG. (Ken Takata, 39085 closes #12535) Adjust the paths. 39086 39087 Patch 9.0.1629 39088 Problem: Having utf16idx() rounding up is inconvenient. 39089 Solution: Make utf16idx() round down. (Yegappan Lakshmanan, closes #12523) 39090 39091 Patch 9.0.1630 39092 Problem: "make clean" at the toplevel fails. 39093 Solution: Clean the indent and syntax directories in a sub-shell. (Ben 39094 Jackson, closes #12536, closes #12526) 39095 39096 Patch 9.0.1631 39097 Problem: Passing a wrong variable type to an option gives multiple errors. 39098 Solution: Bail out early on failure. (closes #12504) 39099 39100 Patch 9.0.1632 39101 Problem: Not all cabal config files are recognized. 39102 Solution: Add a couple of patterns. (Marcin Szamotulski, closes #12463) 39103 39104 Patch 9.0.1633 39105 Problem: Duplicate code for converting float to string. 39106 Solution: Use tv_get_string(). (closes #12521) 39107 39108 Patch 9.0.1634 39109 Problem: Message is cleared when removing mode message (Gary Johnson). 39110 Solution: Do not clear the command line after displaying a message. 39111 39112 Patch 9.0.1635 39113 Problem: Error message is cleared when removing mode message. 39114 Solution: Also reset flags when the message is further down. 39115 39116 Patch 9.0.1636 39117 Problem: Expanding a pattern interferes with command line completion. 39118 Solution: Set the file index only when appropriate. (closes #12519) 39119 39120 Patch 9.0.1637 39121 Problem: Compiler warning for uninitialized variable. 39122 Solution: Move the variable to an inner block and initialize it. (Christian 39123 Brabandt, closes #12549) 39124 39125 Patch 9.0.1638 39126 Problem: crypt tests hang and cause memory errors 39127 Solution: Move variable to start of function. 39128 39129 Patch 9.0.1639 39130 Problem: Build failure without the crypt feature. 39131 Solution: Adjust #ifdefs 39132 39133 Patch 9.0.1640 39134 Problem: Compiler warning for unused variables without the crypt feature. 39135 Solution: Adjust #ifdefs 39136 39137 Patch 9.0.1641 39138 Problem: The log file does not give information about window sizes. 39139 Solution: Add a few log messages about obtaining the window size. 39140 39141 Patch 9.0.1642 39142 Problem: Build failure with tiny features. 39143 Solution: Add #ifdef's. 39144 39145 Patch 9.0.1643 39146 Problem: Filetype detection fails if file name ends in many '~'. 39147 Solution: Strip multiple '~' at the same time. (closes #12553) 39148 39149 Patch 9.0.1644 39150 Problem: Not all filetype file name matches are tested. 39151 Solution: Add more file names to test with. (Jonas Strittmatter, 39152 closes #12569) 39153 39154 Patch 9.0.1645 39155 Problem: zserio files are not recognized. 39156 Solution: Add a pattern for zserio files. (Dominique Pellé, 39157 closes #12544) 39158 39159 Patch 9.0.1646 39160 Problem: CI: codecov may take a very long time to run. 39161 Solution: Add a timeout. (Philip Heiduck, closes #12559) 39162 39163 Patch 9.0.1647 39164 Problem: Insufficient testing for syntax plugins. 39165 Solution: Add shell file examples. (Charles Campbell) Create a messages 39166 file for easier debugging and reporting the test results. 39167 39168 Patch 9.0.1648 39169 Problem: Result of syntax tests is hard to see. 39170 Solution: List the failed tests. 39171 39172 Patch 9.0.1649 39173 Problem: Syntax test failure causes script to abort. 39174 Solution: Fix appending string to list. 39175 39176 Patch 9.0.1650 39177 Problem: MS-Windows: default 'viewdir' may include read-only directory. 39178 Solution: Use $HOME instead of $VIM for 'viewdir' default. (closes #12119) 39179 39180 Patch 9.0.1651 39181 Problem: Unclear why syntax test fails on Mac. 39182 Solution: Temporarily show the whole "messages" file. 39183 39184 Patch 9.0.1652 39185 Problem: Unclear why syntax test fails on Mac. 39186 Solution: Echo v:errors when it's not empty. 39187 39188 Patch 9.0.1653 39189 Problem: Amiga: default 'viewdir' may not work. 39190 Solution: Use "home:" instead of "$VIM". Add a test. (Christian Brabandt, 39191 closes #12576) 39192 39193 Patch 9.0.1654 39194 Problem: MS-Windows: test for default 'viewdir' fails. 39195 Solution: Escape the pattern. 39196 39197 Patch 9.0.1655 39198 Problem: Syntax test fails when Vim window is not tall enough. 39199 Solution: Make sure each terminal window is closed. 39200 39201 Patch 9.0.1656 39202 Problem: Syntax test fails when detected shell type differs. 39203 Solution: Avoid using "/bin/sh", it depends on the system. Add a check that 39204 the shell type detection is correct. 39205 39206 Patch 9.0.1657 39207 Problem: One more syntax test depends on the system. 39208 Solution: Use "dash" instead of "sh". 39209 39210 Patch 9.0.1658 39211 Problem: Autoload files for "zig" are not installed. 39212 Solution: Add install and uninstall rules in the makefile. (Christian 39213 Brabandt, closes #12577, closes #12567) 39214 39215 Patch 9.0.1659 39216 Problem: Termdebug: default highlight cleared when changing colorscheme. 39217 Solution: Use a ColorScheme autocommand. (Christian Brabandt, closes #12566, 39218 closes #12555) 39219 39220 Patch 9.0.1660 39221 Problem: Error for using matchfuzzy() in Vim9 script returning a list of 39222 dicts. 39223 Solution: Make return type of matchfuzzy() list<any>. (Yegappan Lakshmanan, 39224 closes #12574) 39225 39226 Patch 9.0.1661 39227 Problem: BUCK files are not recognized. 39228 Solution: Recognize BUCK files as "bzl". (Son Luong Ngoc, closes #12564) 39229 39230 Patch 9.0.1662 39231 Problem: Crash when using a class member twice. (Christian J. Robinson) 39232 Solution: Make a copy of the value. 39233 39234 Patch 9.0.1663 39235 Problem: Termdebug on MS-Windows: some file names are not recognized. 39236 Solution: Do not always change \t and \n. (Christian Brabandt, 39237 closes #12565, closes #12560, closes #12550) 39238 39239 Patch 9.0.1664 39240 Problem: Divide by zero when scrolling with 'smoothscroll' set. 39241 Solution: Avoid using a negative width. (closes #12540, closes #12528) 39242 39243 Patch 9.0.1665 39244 Problem: Empty CmdlineEnter autocommand causes errors in Ex mode. 39245 Solution: Save and restore ex_pressedreturn. (Christian Brabandt, 39246 closes # 12581, closes #12578) 39247 39248 Patch 9.0.1666 39249 Problem: Compiler may warn for uninitialized variable. 39250 Solution: Initialize this_props_len. (Christian Brabandt, closes #12599) 39251 39252 Patch 9.0.1667 39253 Problem: Regression test doesn't fail when fix is reverted. 39254 Solution: Add "n" to 'cpoptions' instead of using :winsize. (closes #12587, 39255 issue #12528) 39256 39257 Patch 9.0.1668 39258 Problem: PEM files are not recognized. 39259 Solution: Add patterns to match PEM files. (closes #12582) 39260 39261 Patch 9.0.1669 39262 Problem: Crash syncing swapfile in new buffer when using sodium crypt. 39263 (James McCoy) 39264 Solution: Add checks for sodium encryption. (Christian Brabandt, 39265 closes #12591, closes #12585) 39266 39267 Patch 9.0.1670 39268 Problem: Resetting local option to global value is inconsistent. 39269 Solution: Handle "<" specifically for 'scrolloff' and 'sidescrolloff'. 39270 (closes #12594) 39271 39272 Patch 9.0.1671 39273 Problem: Termdebug: error with more than 99 breakpoints. 39274 Solution: Use a different sign for breakpoint 100 and over. (closes #12589, 39275 closes #12588) 39276 39277 Patch 9.0.1672 39278 Problem: Tabline highlight wrong after truncated double width label. 39279 Solution: Fill up half a double width character later. (closes #12614) 39280 39281 Patch 9.0.1673 39282 Problem: Cannot produce a status 418 or 503 message. 39283 Solution: Add err_teapot(). 39284 39285 Patch 9.0.1674 39286 Problem: Help for builtin functions is not sorted properly. 39287 Solution: Put err_teapot() help in the right position. 39288 39289 Patch 9.0.1675 39290 Problem: Test may run into timeout when using valgrind. 39291 Solution: Use a longer timeout when using valgrind. 39292 39293 Patch 9.0.1676 39294 Problem: Warning for buffer in use when exiting early. 39295 Solution: Change file names to be able to see what buffer is in use when 39296 exiting. 39297 39298 Patch 9.0.1677 39299 Problem: Typo in syntax test input file. 39300 Solution: Fix the typo and the expected dump files. (THARAK HEGDE, 39301 closes #12635) 39302 39303 Patch 9.0.1678 39304 Problem: Blade files are not recognized. 39305 Solution: Add a pattern for Blade files. (closes #12650) 39306 39307 Patch 9.0.1679 39308 Problem: Tests may leave leftover files around 39309 Solution: Clean up tests and remove files 39310 39311 Patch 9.0.1680 39312 Problem: sodium test fails in Github CI 39313 Solution: Catch sodium_mlock() errors and do not error out 39314 39315 Patch 9.0.1681 39316 Problem: Build Failure with Perl 5.38 39317 Solution: Fix Build Failure 39318 39319 Patch 9.0.1682 39320 Problem: crypt: sodium encryption is not portable 39321 Solution: use little-endian byte order for sodium encrypted files 39322 39323 Patch 9.0.1683 39324 Problem: need runtime files updated 39325 Solution: merge various github PRs 39326 39327 Patch 9.0.1684 39328 Problem: libvterm slightly outdated 39329 Solution: Update libvterm from rev 818 to rev 839 39330 39331 Patch 9.0.1685 39332 Problem: Python 3.11 interface throws deprecation warnings 39333 Solution: ignore those warnings for gcc and clang 39334 39335 Patch 9.0.1686 39336 Problem: undotree() only works for the current buffer 39337 Solution: Add an optional "buffer number" parameter to undotree(). If 39338 omitted, use the current buffer for backwards compatibility. 39339 39340 Patch 9.0.1687 39341 Problem: mapset() not properly handling script ID 39342 Solution: replace_termcodes() may accept a script ID 39343 39344 Patch 9.0.1688 39345 Problem: cannot store custom data in quickfix list 39346 Solution: add `user_data` field for the quickfix list 39347 39348 Patch 9.0.1689 39349 Problem: python 3.12 produces warnings and fails test 39350 Solution: Make use of raw strings in python3 tests 39351 39352 Patch 9.0.1690 39353 Problem: popup_create() not aborting on errors 39354 Solution: check for errors in arguments given and abort if an error 39355 occurred 39356 39357 Patch 9.0.1691 39358 Problem: wrong viewport restored for incsearch and smoothscroll 39359 Solution: Save and restore skipcol as well 39360 39361 Patch 9.0.1692 39362 Problem: Android not handling AI_V4MAPPED ai_flag 39363 Solution: don't set AI_V4MAPPED flag when on Android, since 39364 Android's getaddrinfo returns EAI_BADFLAGS if ai_flags 39365 contains it 39366 39367 Patch 9.0.1693 39368 Problem: Ctrl-Q not handled like Ctrl-V in replace mode 39369 Solution: Handle Ctrl-Q like Ctrl-V 39370 39371 Patch 9.0.1694 39372 Problem: wrong mapping applied when replaying a char search 39373 Solution: Store a NOP after the ESC 39374 39375 Patch 9.0.1695 39376 Problem: Crash with overlong textprop above 39377 Solution: Consider only positive padding 39378 39379 Patch 9.0.1696 39380 Problem: sodium_mlock may still fail in CI 39381 Solution: Catch E1230 in testscript and skip test 39382 39383 Patch 9.0.1697 39384 Problem: incsearch test not sufficient (after 9.0.1691) 39385 Solution: add an additional test 39386 39387 Patch 9.0.1698 39388 Problem: Test_map_restore_sid fails in GUI 39389 Solution: Feed an unsimplified Ctrl-B 39390 39391 Patch 9.0.1699 39392 Problem: compile warning for xdiff/xutils on MS-Windows 39393 Solution: add explicit type cast from size_t to long 39394 39395 Patch 9.0.1700 39396 Problem: Cannot compile with dynamic perl < 5.38 (after 9.0.1681) 39397 Solution: Fix if_perl/dyn from perl 5.32 to 5.38 39398 39399 Patch 9.0.1701 39400 Problem: vim9 crash when class member overridden 39401 Solution: Use method_count field instead 39402 39403 Patch 9.0.1702 39404 Problem: Undo test is flaky. 39405 Solution: Apply filter and change time to "1 second ago" in both dumps. 39406 39407 Patch 9.0.1703 39408 Problem: Vim9 Calling a method in an extended class fails 39409 Solution: use method index directly 39410 39411 Patch 9.0.1704 39412 Problem: Cannot use positional arguments for printf() 39413 Solution: Support positional arguments in string formatting 39414 39415 Patch 9.0.1705 39416 Problem: cursor position wrong when clicking on an unprintable char 39417 Solution: Don't update prev_ptr when wlv.n_extra is not zero. 39418 39419 Patch 9.0.1706 39420 Problem: typos in the xxd manpage 39421 Solution: Fix typos and formatting 39422 39423 Patch 9.0.1707 39424 Problem: Cannot wrap around in popup_filter_menu() 39425 Solution: Allow to wrap around by default 39426 39427 Patch 9.0.1708 39428 Problem: getcompletion() fails for user-defined commands 39429 Solution: set context for completion function 39430 39431 Patch 9.0.1709 39432 Problem: dynamic build with python 3.12 breaks 39433 Solution: if_python3.c: Fix building dynamic Python3 interpreter 39434 39435 Patch 9.0.1710 39436 Problem: sidescrolloff and scrolloff options work slightly 39437 different than other global-local options 39438 Solution: Make it behave consistent for all global-local options 39439 39440 Patch 9.0.1711 39441 Problem: dead code in charset.c 39442 Solution: remove it 39443 39444 Patch 9.0.1712 39445 Problem: missing null check in object_clear() 39446 Solution: Add null check of cl 39447 39448 Patch 9.0.1713 39449 Problem: Github CI fails to load snd-dummy kernel module 39450 Solution: Make installation of linux-modules-extra optional 39451 39452 Patch 9.0.1714 39453 Problem: getcompletion() "cmdline" fails after :autocmd 39454 Solution: Use set_cmd_context() instead of set_one_cmd_context(). 39455 39456 Patch 9.0.1715 39457 Problem: duplicate test in message_test.c 39458 Solution: Remove duplicate test and make functions static 39459 39460 Patch 9.0.1716 39461 Problem: Windows build with python 3.12 and clang fails 39462 Solution: Remove the PyBool_Type function pointer for python 3.12 39463 39464 Patch 9.0.1717 39465 Problem: virtcol2col returns last byte of a multi-byte char 39466 Solution: Make it return the first byte for a multi-byte char 39467 39468 Patch 9.0.1718 39469 Problem: dict-completion does not respect region 39470 Solution: respect selected region in dict completion 39471 39472 Patch 9.0.1719 39473 Problem: if_lua: crash for Lua functions invoked via Vim callbacks 39474 Solution: Use Lua registry rather than upvalues for udata cache 39475 39476 Patch 9.0.1720 39477 Problem: Vim9 class using wrong index for overridden method 39478 Solution: Use correct index for overridden method 39479 39480 Patch 9.0.1721 39481 Problem: Build failure on Windows with dynamic lua (after 9.0.1719) 39482 Solution: move definition further down in if_lua 39483 39484 Patch 9.0.1722 39485 Problem: wrong error messages when passing wrong types to count() 39486 Solution: fix it 39487 39488 Patch 9.0.1723 39489 Problem: Fix regression in {func} argument of reduce() 39490 Solution: pass function name as string again 39491 39492 Patch 9.0.1724 39493 Problem: vim9class constructor argument type checking bug 39494 Solution: fix it 39495 39496 Patch 9.0.1725 39497 Problem: Wrong cursor position when clicking after concealed text 39498 with 'virtualedit'. 39499 Solution: Store virtual columns in ScreenCols[] instead of text 39500 columns, and always use coladvance() when clicking. 39501 39502 Patch 9.0.1726 39503 Problem: incorrect heights in win_size_restore() 39504 Solution: avoid restoring incorrect heights in win_size_restore() 39505 39506 Patch 9.0.1727 39507 Problem: minor problems with the teapot() 39508 Solution: remove the null check, update documentation 39509 39510 Patch 9.0.1728 39511 Problem: missing winid argument for virtcol() 39512 Solution: Add a {winid} argument to virtcol() 39513 39514 Patch 9.0.1729 39515 Problem: screenpos() wrong result with w_skipcol and cpoptions+=n 39516 Solution: Use adjust_plines_for_skipcol() instead of subtracting 39517 w_skipcol. 39518 39519 Patch 9.0.1730 39520 Problem: passing multiple patterns to runtime not working 39521 Solution: prepend prefix to each argument separately 39522 39523 Patch 9.0.1731 39524 Problem: blockwise Visual highlight not working with virtual text 39525 Solution: Reset the correct variable at the end of virtual selection and 39526 Check for double-width char inside virtual text. 39527 39528 Patch 9.0.1732 39529 Problem: vimexpr: shadowing variable 39530 Solution: Rename local variable 39531 39532 Patch 9.0.1733 39533 Problem: CI: cannot cache linux-modules-extra 39534 Solution: Enable caching and reduce failed downloads 39535 39536 Patch 9.0.1734 39537 Problem: runtime completion fails for multiple args 39538 Solution: Make it work 39539 39540 Patch 9.0.1735 39541 Problem: Rename completion specific findex var 39542 Solution: Move "findex" static variable to xp_selected in expand_T 39543 39544 Patch 9.0.1736 39545 Problem: Github Actions times out after 20 minutes 39546 Solution: Increase the timeout to 25 minutes 39547 39548 Patch 9.0.1737 39549 Problem: Calling a base class method through an extended class fails 39550 Solution: Create lookup table for member index in the interface to 39551 to the member class implementing the interface 39552 39553 Patch 9.0.1738 39554 Problem: Duplicate code to reverse a string 39555 Solution: Move reverse_text() to strings.c and remove string_reverse(). 39556 39557 Patch 9.0.1739 39558 Problem: leftover files in libvterm 39559 Solution: Fix cleaning of libvterm directory 39560 39561 Patch 9.0.1740 39562 Problem: segfault when reading invalid viminfo file 39563 Solution: Check the expected type in the viminfo file 39564 39565 Patch 9.0.1741 39566 Problem: No type checking in interfaces 39567 Solution: Implement member type check in vim9 interfaces 39568 39569 Patch 9.0.1742 39570 Problem: Wrong curswant when clicking and the second cell of a 39571 double-width char. 39572 Solution: Don't copy virtcol of the first char to the second one. 39573 39574 Patch 9.0.1743 39575 Problem: Parameter of gui_gtk:gui_mch_browse incorrectly marked as 39576 UNUSED. 39577 Solution: Remove UNUSED flag. 39578 39579 Patch 9.0.1744 39580 Problem: Dead code in open_cmdwin() 39581 Solution: Remove it 39582 39583 Patch 9.0.1745 39584 Problem: Missing test coverage for blockwise Visual highlight with 39585 virtual that starts with a double-width char. 39586 Solution: Add a new virtual text to the test. Some other small fixes. 39587 39588 Patch 9.0.1746 39589 Problem: vim9class compile error for char/char_u conversion 39590 Solution: Correctly cast to (char *) 39591 39592 Patch 9.0.1747 39593 Problem: screenpos() may cause unnecessary redraw. 39594 Solution: Don't unnecessarily reset VALID_WROW flag. 39595 39596 Patch 9.0.1748 39597 Problem: CI: cannot label issues automatically 39598 Solution: Create CI labeler 39599 39600 Patch 9.0.1749 39601 Problem: Text property highlight doesn't override a sign highlight over 39602 a tab character 39603 Solution: Let text_property override tab highlighting 39604 39605 Patch 9.0.1750 39606 Problem: CI: fails because of changed error messages 39607 (after: 9.0.1741) 39608 Solution: Adjust expected error messages 39609 39610 Patch 9.0.1751 39611 Problem: CI: labeler configuration not found 39612 (after 9.0.1748) 39613 Solution: set configuration path 39614 39615 Patch 9.0.1752 39616 Problem: CI: Coveralls is no longer used 39617 Solution: Remove .coveralls.yml 39618 39619 Patch 9.0.1753 39620 Problem: can't move to last non-blank char 39621 Solution: Make g<end> behave like that 39622 39623 Patch 9.0.1754 39624 Problem: still ci breakage (after 9.0.1741) 39625 Solution: fix remaining issue 39626 39627 Patch 9.0.1755 39628 Problem: CI still fails with sodium mlock error 39629 Solution: catch mlock failure 39630 39631 Patch 9.0.1756 39632 Problem: failing cursorline sign test 39633 Solution: only reset char attr, if cursorline 39634 option is not set 39635 39636 Patch 9.0.1757 39637 Problem: ex_class() function is too long 39638 Solution: refactor it 39639 39640 Patch 9.0.1758 39641 Problem: vim9 no class identifiers in stack dumps 39642 Solution: Prefix class members in stack traces with the class name 39643 followed by a dot. 39644 39645 Patch 9.0.1759 39646 Problem: Visual highlight not working with cursor at end of screen line 39647 and 'showbreak'. 39648 Solution: Only update "vcol_prev" when drawing buffer text. 39649 39650 Patch 9.0.1760 39651 Problem: vim9 class problem with new() constructor 39652 Solution: Don't allow a return type for the new() class constructor. 39653 39654 Patch 9.0.1761 39655 Problem: g<kEnd> behaves different from g<end> 39656 Solution: Make g<kEnd> behave like g<End> 39657 39658 Patch 9.0.1762 39659 Problem: Not able to get the virtual text property 39660 Solution: Make prop_list() return virtual text and alignment 39661 39662 Patch 9.0.1763 39663 Problem: crash when passing invalid buffer to undotree() 39664 Solution: Use get_buf_arg() instead of tv_get_buf_from_arg(). 39665 39666 Patch 9.0.1764 39667 Problem: CI: label should not be set on all yml files 39668 Solution: only set it for specific yml files in .github 39669 39670 Patch 9.0.1765 39671 Problem: Error when cross-compiling Vim 39672 Solution: use AC_CHECK_SIZEOF to find sizeof(wchar_t) 39673 39674 Patch 9.0.1766 39675 Problem: Runtime: Missing QML support 39676 Solution: Add QML support to Vim 39677 39678 Patch 9.0.1767 39679 Problem: '.-' no allowed in highlight group names 39680 Solution: Allow dot and hyphen characters in highlight group names 39681 39682 Patch 9.0.1768 39683 Problem: Runtime: no support for bicep files 39684 Solution: Add filetype support for bicepparam 39685 39686 Patch 9.0.1769 39687 Problem: executable() ignoring symlinks on Windows 39688 Solution: resolve reparse points 39689 39690 Patch 9.0.1770 39691 Problem: lines disappear when modifying chars before virt text 39692 Solution: take virtual text property length into account 39693 39694 Patch 9.0.1771 39695 Problem: regex: combining chars in collections not handled 39696 Solution: Check for following combining characters for NFA and BT engine 39697 39698 Patch 9.0.1772 39699 Problem: Cursor is adjusted in window that did not change in size by 39700 'splitkeep'. 39701 Solution: Only check that cursor position is valid in a window that 39702 has changed in size. 39703 39704 Patch 9.0.1773 39705 Problem: cannot distinguish Forth and Fortran *.f files 39706 Solution: Add Filetype detection Code 39707 39708 Patch 9.0.1774 39709 Problem: no support for custom cmdline completion 39710 Solution: Add new vimscript functions 39711 39712 Patch 9.0.1775 39713 Problem: Wrong comparison in vim9type.c 39714 Solution: Change condition to false 39715 39716 Patch 9.0.1776 39717 Problem: No support for stable Python 3 ABI 39718 Solution: Support Python 3 stable ABI 39719 39720 Patch 9.0.1777 39721 Problem: patch 9.0.1771 causes problems 39722 Solution: revert it 39723 39724 Patch 9.0.1778 39725 Problem: if_py_both: code-style issue 39726 Solution: add space 39727 39728 Patch 9.0.1779 39729 Problem: Need more state() tests 39730 Solution: Add a few more tests for operator pending mode and register 39731 yank command 39732 39733 Patch 9.0.1780 39734 Problem: Vim9 type not defined during object creation 39735 Solution: Define type during object creation and not during class 39736 definition, parse multi-line member initializers, fix lock 39737 initialization 39738 39739 Patch 9.0.1781 39740 Problem: Problems when setting bin/paste option 39741 Solution: When setting binary/paste, remember that this also affects 39742 depending options, so that :verbose set returns the right 39743 location. 39744 39745 Patch 9.0.1782 39746 Problem: prop_list() does not return text_padding_left 39747 Solution: Store and return the text_padding_left value for text 39748 properties 39749 39750 Patch 9.0.1783 39751 Problem: Wrong display with wrapping virtual text or unprintable chars, 39752 'showbreak' and 'smoothscroll'. 39753 Solution: Don't skip cells taken by 'showbreak' in screen lines before 39754 "w_skipcol". Combined "n_skip" and "skip_cells". 39755 39756 Patch 9.0.1784 39757 Problem: redundant else in pum_set_selected() 39758 Solution: Remove it 39759 39760 Patch 9.0.1785 39761 Problem: wrong cursor position with 'showbreak' and lcs-eol 39762 Solution: Add size of 'showbreak' before when 'listchars' "eol" is used. 39763 Also fix wrong cursor position with wrapping virtual text on 39764 empty line and 'showbreak'. 39765 39766 Patch 9.0.1786 39767 Problem: Vim9: need instanceof() function 39768 Solution: Implement instanceof() builtin 39769 39770 Patch 9.0.1787 39771 Problem: Cannot build with latest luajit 39772 Solution: adjust sed regexp and don't expect '-' in version output 39773 39774 Patch 9.0.1788 39775 Problem: C4090 warnings in strings.c 39776 Solution: Add type casts 39777 39778 Patch 9.0.1789 39779 Problem: too early declaration of variable in pum_set_selected() 39780 Solution: Move declaration to where it is actually used 39781 39782 Patch 9.0.1790 39783 Problem: The Content-Type header is an optional header that some LSP 39784 servers struggle with and may crash when encountering it. 39785 Solution: Drop the Content-Type header from all messages, because we use 39786 the default value anyway. 39787 39788 Patch 9.0.1791 39789 Problem: No tests for the Termdebug plugin 39790 Solution: Add some simple tests for the Termdebug plugin 39791 39792 Patch 9.0.1792 39793 Problem: Normal mode "gM", "gj", "gk" commands behave incorrectly with 39794 virtual text. 39795 Solution: Use linetabsize() instead of linetabsize_str(). 39796 39797 Patch 9.0.1793 39798 Problem: obsolete macros in configure script 39799 Solution: Remove those and start moving to autoconf 2.71 39800 39801 Patch 9.0.1794 39802 Problem: autoconf: not correctly detecting include dirs 39803 Solution: make use of python3 to generate includedirs 39804 39805 Patch 9.0.1795 39806 Problem: Indentation issues 39807 Solution: Fix code indentation issues. 39808 39809 Patch 9.0.1796 39810 Problem: Vim9 problems with null_objects 39811 Solution: Vim9 improve null_object usage 39812 39813 Patch 9.0.1797 39814 Problem: Vimball/Visual Basic filetype detection conflict 39815 Solution: runtime(vb): Improve Vimball and Visual Basic detection logic 39816 39817 Patch 9.0.1798 39818 Problem: The 'syntax' option has no completion. 39819 Solution: Add syntax option completion. 39820 39821 Patch 9.0.1799 39822 Problem: Russian menu translation can be improved 39823 Solution: update the Russian menu files 39824 39825 Patch 9.0.1800 39826 Problem: Cursor position still wrong with 'showbreak' and virtual text 39827 after last character or 'listchars' "eol". 39828 Solution: Remove unnecessary w_wcol adjustment in curs_columns(). Also 39829 fix first char of virtual text not shown at the start of a screen 39830 line. 39831 39832 Patch 9.0.1801 39833 Problem: Vim9 instanceof() fails in a def func 39834 Solution: allow Objects in compile time check 39835 39836 Patch 9.0.1802 39837 Problem: Multiline regex with Visual selection fails when Visual 39838 selection contains virtual text after last char. 39839 Solution: Only include virtual text after last char when getting full 39840 line length. 39841 39842 Patch 9.0.1803 39843 Problem: Cannot detect norg markup files 39844 Solution: Add norg markup language detection 39845 39846 Patch 9.0.1804 39847 Problem: Vim9: no support for private object methods 39848 Solution: Add support for private object/class methods 39849 39850 Patch 9.0.1805 39851 Problem: Vim9: problem compiling object method as function call arg 39852 Solution: After a object/class method call, remove the object/class from 39853 the stack. 39854 39855 Patch 9.0.1806 39856 Problem: Vim9: bogus error on export 39857 Solution: Don't error out when the export command is not executed 39858 39859 Patch 9.0.1807 39860 Problem: runtime: crystal scripts not recognised 39861 Solution: Filetype detect Crystal scripts by shebang line 39862 39863 Patch 9.0.1808 39864 Problem: Termdebug: Typo in Termdebug test 39865 Solution: fix the typos 39866 39867 Patch 9.0.1809 39868 Problem: Termdebug test flaky 39869 Solution: wait slightly longer 39870 39871 Patch 9.0.1810 39872 Problem: camel-case spelling has issues with digits 39873 Solution: Improve the camCase spell checking by taking digits 39874 and caps into account 39875 39876 Patch 9.0.1811 39877 Problem: still some issues with term_debug test 39878 Solution: Use WaitForAssert() 39879 39880 Patch 9.0.1812 39881 Problem: CI still fails with sodium_mlock error() 39882 Solution: Catch and ignore E1230 error in test_crypt 39883 39884 Patch 9.0.1813 39885 Problem: 'linebreak' is incorrectly drawn after 'breakindent'. 39886 Solution: Don't include 'breakindent' size when already after it. 39887 39888 Patch 9.0.1814 39889 Problem: Vim9 no error on duplicate object member var 39890 Solution: detect duplicate members and error out 39891 39892 Patch 9.0.1815 39893 Problem: pango_coverage_unref() deprecated in pango > 1.51 39894 Solution: use g_object_unref() instead 39895 39896 Patch 9.0.1816 39897 Problem: configure: sed uses non-portable regex 39898 Solution: use '*' modifier instead of '\?' in regex 39899 for luajit version detection 39900 39901 Patch 9.0.1817 39902 Problem: configure: using obsolete AC_HEADER_STDC 39903 Solution: Remove it and re-create configure 39904 39905 Patch 9.0.1818 39906 Problem: dynamically linking perl is broken 39907 Solution: Fix all issues 39908 39909 Patch 9.0.1819 39910 Problem: Github CI too complex 39911 Solution: CI: Tidy up matrix 39912 39913 Patch 9.0.1820 39914 Problem: Rexx files may not be recognised 39915 Solution: Add shebang detection and improve disambiguation of *.cls 39916 files 39917 39918 Patch 9.0.1821 39919 Problem: Vim9 constructors are always static 39920 Solution: make the "static" keyword an error 39921 39922 Patch 9.0.1822 39923 Problem: Vim9: no check for duplicate members in extended classes 39924 Solution: Check for duplicate members in extended classes. 39925 Fix memory leak. 39926 39927 Patch 9.0.1823 39928 Problem: Autoconf 2.69 too old 39929 Solution: Migrate to Autoconf 2.71 39930 39931 Patch 9.0.1824 39932 Problem: Vim9: private members may be modifiable 39933 Solution: prevent modification for def function 39934 39935 Patch 9.0.1825 39936 Problem: Wrong cursor position with virtual text before a whitespace 39937 character and 'linebreak'. 39938 Solution: Always set "col_adj" to "size - 1" and apply 'linebreak' after 39939 adding the size of 'breakindent' and 'showbreak'. 39940 39941 Patch 9.0.1826 39942 Problem: keytrans() doesn't translate recorded key typed in a GUI 39943 Solution: Handle CSI like K_SPECIAL, like in mb_unescape() 39944 39945 Patch 9.0.1827 39946 Problem: xxd: no color support 39947 Solution: Add color support using xxd -R 39948 39949 Patch 9.0.1828 39950 Problem: Wrong cursor position with virtual text before double-width 39951 char at window edge. 39952 Solution: Check for double-width char before adding virtual text size. 39953 39954 Patch 9.0.1829 39955 Problem: Vim9 missing access-checks for private vars 39956 Solution: Use the proper check for private/readonly variable. Access 39957 level for a member cannot be changed in a class implementing an 39958 interface. Update the code indentation 39959 39960 Patch 9.0.1830 39961 Problem: Vim9: crash when accessing a null object 39962 Solution: Check accessing a NULL object in def function 39963 39964 Patch 9.0.1831 39965 Problem: Vim9: failing null test 39966 Solution: Use required public keyword 39967 39968 Patch 9.0.1832 39969 Problem: xxd: reporting wrong version (after 9.0.1827) 39970 Solution: Update version string 39971 39972 Patch 9.0.1833 39973 Problem: runtime files may execute code in current dir 39974 Solution: only execute, if not run from current directory 39975 39976 Patch 9.0.1834 39977 Problem: Some problems with xxd coloring 39978 Solution: Fix the following problems: 39979 39980 Patch 9.0.1835 39981 Problem: Perl interface has problems with load PL_current_context 39982 Solution: Fix Perl interface to load PL_current_context from library 39983 39984 Patch 9.0.1836 39985 Problem: Wrong display with "above" virtual text and 'linebreak' or 39986 'breakindent' and 'showbreak'. 39987 Solution: Exclude size of "above" virtual text when calculating them. 39988 39989 Patch 9.0.1837 39990 Problem: Vim9: class_member_type() can be optimized 39991 Solution: class_member_type() provides more information; 39992 safe an additional alloc()/free() 39993 39994 Patch 9.0.1838 39995 Problem: Vim9: Cannot modify class member vars from def function 39996 Solution: Add support for modifying class member variables from a def 39997 function 39998 39999 Patch 9.0.1839 40000 Problem: No Makefile rule to build cscope database 40001 Solution: Add rule 40002 40003 Patch 9.0.1840 40004 Problem: use-after-free in do_ecmd 40005 Solution: Verify oldwin pointer after reset_VIsual() 40006 40007 Patch 9.0.1841 40008 Problem: style: trailing whitespace in ex_cmds.c 40009 Solution: remove it 40010 40011 Patch 9.0.1842 40012 Problem: Need more accurate profiling 40013 Solution: Improve profiling results 40014 40015 Patch 9.0.1843 40016 Problem: xxd color test flaky 40017 Solution: Filter unneeded lines 40018 40019 Patch 9.0.1844 40020 Problem: doc helptags may not be up to date 40021 Solution: Add CI jobs to verify helptags are updated 40022 40023 Patch 9.0.1845 40024 Problem: xxd: Test_xxd_color start failing 40025 Solution: Revert changes to dump file 40026 40027 Patch 9.0.1846 40028 Problem: crash in fullcommand 40029 Solution: Check for typeval correctly 40030 40031 Patch 9.0.1847 40032 Problem: potential oob write in do_addsub() 40033 Solution: don't overflow buf2, check size in for loop() 40034 40035 Patch 9.0.1848 40036 Problem: buffer-overflow in vim_regsub_both() 40037 Solution: Check remaining space 40038 40039 Patch 9.0.1849 40040 Problem: CI error on different signedness 40041 Solution: cast unsigned to int 40042 40043 Patch 9.0.1850 40044 Problem: Vim9: wrong line number where options set 40045 Solution: Set source line number earlier 40046 40047 Patch 9.0.1851 40048 Problem: Virtual text at a column causes 'breakindent' and 'showbreak' 40049 to be missing (after patch 9.0.1124). 40050 Solution: Add check for "tp_col" in another place where TP_FLAG_WRAP is 40051 checked. 40052 40053 Patch 9.0.1852 40054 Problem: i_CTRL-O does not reset Select Mode 40055 Solution: Reset select mode on CTRL-O in insert mode 40056 40057 Patch 9.0.1853 40058 Problem: CI error on different signedness in regexp.c 40059 (after patch 9.0.1848) 40060 Solution: Cast strlen() call to int 40061 40062 Patch 9.0.1854 40063 Problem: test_crash1() fails on CI 40064 Solution: don't run Screendump test, verify that it doesn't crash 40065 by running it through a shell command line, testing 40066 the exit value and concatenating success cmd using '&&' 40067 40068 Patch 9.0.1855 40069 Problem: mode() doesn't indicate command line for terminal 40070 Solution: make it return 'ct' for command-line from Terminal mode 40071 40072 Patch 9.0.1856 40073 Problem: issues with formatting positional arguments 40074 Solution: fix them, add tests and documentation 40075 40076 Patch 9.0.1857 40077 Problem: heap-use-after-free in is_qf_win() 40078 Solution: Check buffer is valid before accessing it 40079 40080 Patch 9.0.1858 40081 Problem: heap use after free in ins_compl_get_exp() 40082 Solution: validate buffer before accessing it 40083 40084 Patch 9.0.1859 40085 Problem: heap-use-after-free in bt_normal() 40086 Solution: check that buffer is still valid 40087 40088 Patch 9.0.1860 40089 Problem: CI: test_crash1() is flaky 40090 Solution: Wait a bit longer 40091 40092 Patch 9.0.1861 40093 Problem: xxd: issue when -R is specified several times 40094 Solution: Fix command line parsing 40095 40096 Patch 9.0.1862 40097 Problem: Vim9 Garbage Collection issues 40098 Solution: Class members are garbage collected early leading to 40099 use-after-free problems. Handle the garbage 40100 collection of classes properly. 40101 40102 Patch 9.0.1863 40103 Problem: wrong format specifiers in e_aptypes_is_null_str_nr 40104 Solution: Fix the wrong format specifier 40105 40106 Patch 9.0.1864 40107 Problem: crash with bt_quickfix1_poc when cleaning up 40108 and EXITFREE is defined 40109 Solution: Test if buffer is valid in a window, else close 40110 window directly, don't try to access buffer properties 40111 40112 Patch 9.0.1865 40113 Problem: Vim9: garbage collection may cause crash 40114 Solution: validate that class members typeval is not null 40115 40116 Patch 9.0.1866 40117 Problem: Undo is synced after character find. 40118 Solution: Set no_u_sync when calling gotchars_nop(). 40119 40120 Patch 9.0.1867 40121 Problem: Vim9: access to interface statics possible 40122 Solution: Prevent direct access to interface statics 40123 40124 Patch 9.0.1868 40125 Problem: test_crash still fails for circle ci 40126 Solution: give even more time to complete 40127 40128 Patch 9.0.1869 40129 Problem: Coverity warns about uninitialized var 40130 Solution: initialize it 40131 40132 Patch 9.0.1870 40133 Problem: Vim9: disassemble does not show static 40134 Solution: Show static flag 40135 40136 Patch 9.0.1871 40137 Problem: Github CI does not run i386 job 40138 Solution: Add a i386 architecture 40139 40140 Patch 9.0.1872 40141 Problem: CI: test_crash() fails on CI 40142 Solution: Skip test on BSD 40143 40144 Patch 9.0.1873 40145 Problem: heap-buffer-overflow in vim_regsub_both 40146 Solution: Disallow exchanging windows when textlock is active 40147 40148 Patch 9.0.1874 40149 Problem: CI may fail in test_recover_empty_swap 40150 Solution: Set directory option 40151 40152 Patch 9.0.1875 40153 Problem: Vim9: improve test for disassemble + static 40154 Solution: Add a Vim9 script disassemble test for an interface with 40155 static members 40156 40157 Patch 9.0.1876 40158 Problem: Vim9: parsing commands with newlines wrong 40159 Solution: Accept a '\n' for parsing lists and command arguments 40160 40161 Patch 9.0.1877 40162 Problem: missing test for patch 9.0.1873 40163 Solution: add a test trying to exchange windows 40164 40165 Patch 9.0.1878 40166 Problem: tests running sh have problems 40167 Solution: Check that dash is installed 40168 40169 Patch 9.0.1879 40170 Problem: Vim9: incorrect duplicate class member detection 40171 Solution: Incorrect duplicate class member detection when variable names 40172 have the same prefix. Not able to access class member variables 40173 using an object. Fix coding style issues 40174 40175 Patch 9.0.1880 40176 Problem: Vim9: Need more tests for inheritance 40177 Solution: Add access tests and fixes. 40178 40179 Patch 9.0.1881 40180 Problem: Test_crash fails on Mac 40181 Solution: Skip test on Mac 40182 40183 Patch 9.0.1882 40184 Problem: Trailing white space in tests 40185 Solution: Delete it 40186 40187 Patch 9.0.1883 40188 Problem: Vim9: Calling an interface method using a child object fails 40189 Solution: Search methods of parent class 40190 40191 Patch 9.0.1884 40192 Problem: Wrong order of arguments for error messages 40193 Solution: Reverse order or arguments for e_aptypes_is_null_nr_str 40194 40195 Patch 9.0.1885 40196 Problem: Vim9: no support for abstract methods 40197 Solution: Add support for defining abstract methods in an abstract class 40198 40199 Patch 9.0.1886 40200 Problem: Various Typos 40201 Solution: Fix Typos 40202 40203 Patch 9.0.1887 40204 Problem: Vim9: class members are accessible via object 40205 Solution: Disable class member variable access using an object 40206 40207 Patch 9.0.1888 40208 Problem: Vim9: Problem trying to invoke class method 40209 Solution: Lookup the class method insider other classes 40210 40211 Patch 9.0.1889 40212 Problem: Vim9 static tests fail 40213 Solution: Fix tests, make CI happy ;) 40214 40215 Patch 9.0.1890 40216 Problem: Vim9: lookup code for class/object repeated 40217 Solution: Refactor and make use of lookup functions 40218 40219 Patch 9.0.1891 40220 Problem: No runtime support for Mojo 40221 Solution: Add basic filetype and syntax plugins 40222 40223 Patch 9.0.1892 40224 Problem: CI: no FreeBSD 14 support 40225 Solution: Drop support for FreeBSD 12, add FreeBSD 14 40226 40227 Patch 9.0.1893 40228 Problem: CI: strptime test fails on BSD14 40229 Solution: Skip the test 40230 40231 Patch 9.0.1894 40232 Problem: CI: trailing white space in tests 40233 Solution: clean up the trailing white space 40234 40235 Patch 9.0.1895 40236 Problem: Vim9: finding method/member is inefficient 40237 Solution: Use lookups 40238 40239 Patch 9.0.1896 40240 Problem: "below" virtual text doesn't work with 'rightleft'. 40241 Solution: Use column from right border with 'rightleft'. 40242 40243 Patch 9.0.1897 40244 Problem: Vim9: confusing error with .= in compiled functions 40245 Solution: Check in error condition, if .= was attempted and in that case 40246 give a different error message. 40247 40248 Patch 9.0.1898 40249 Problem: Vim9: restrict access to static vars and methods 40250 Solution: Class members are accessible only from the class where they are 40251 defined. 40252 40253 Patch 9.0.1899 40254 Problem: potential buffer overflow in PBYTE macro 40255 Solution: Check returned memline length 40256 40257 Patch 9.0.1900 40258 Problem: Configure script uses non-portable == comparison 40259 Solution: Use the standard and portable "=" instead 40260 40261 Patch 9.0.1901 40262 Problem: win32: not correctly freeing environment 40263 Solution: After we call GetEnvironmentStringsW, we should call 40264 FreeEnvironmentStringsW 40265 40266 Patch 9.0.1902 40267 Problem: Vim9: Coverity complains about dead code 40268 Solution: Copy only object methods from the super class 40269 to a subclass when extending a class. Fix 40270 Coverity warning. 40271 40272 Patch 9.0.1903 40273 Problem: Github Actions fails because snd-dummy modules missing 40274 in current runner images 40275 Solution: ignore modprobe error 40276 40277 Patch 9.0.1904 40278 Problem: Cirrus-CI fails because we have used all credits 40279 Solution: Remove FreeBSD 13.1 and MacOS M1 40280 40281 Patch 9.0.1905 40282 Problem: FEAT_FLOAT no longer defined 40283 Solution: Remove last existing FEAT_FLOAT ifdefs in 40284 message_test 40285 40286 Patch 9.0.1906 40287 Problem: Vim9: Interfaces should not support class methods and 40288 variables 40289 Solution: Make sure interface follow the interface specification 40290 40291 Patch 9.0.1907 40292 Problem: No support for liquidsoap filetypes 40293 Solution: Add liquidsoap filetype detection code 40294 40295 Patch 9.0.1908 40296 Problem: undefined behaviour upper/lower function ptrs 40297 Solution: Fix UBSAN error in regexp and simplify upper/lowercase 40298 modifier code 40299 40300 Patch 9.0.1909 40301 Problem: Vim9: problem calling class method from other class 40302 Solution: Fix this problem, fix readonly object access, update error 40303 messages. 40304 40305 Patch 9.0.1910 40306 Problem: Mac OS X: missing sound support on older versions 40307 Solution: Check Macro MAC_OS_X_VERSION_MIN_REQUIRED 40308 40309 Patch 9.0.1911 40310 Problem: Vim9: segfault with null object and instanceof() 40311 Solution: return early 40312 40313 Patch 9.0.1912 40314 Problem: Cirrus-CI running out of credits 40315 Solution: disable Cirrus-CI for now 40316 40317 Patch 9.0.1913 40318 Problem: if_python: undefined behaviour for function pointers 40319 Solution: Fix if_python undefined behavior for function pointer casts 40320 40321 Patch 9.0.1914 40322 Problem: Vim9: few issues when accessing object members 40323 Solution: When calling an object method, check for null object. 40324 Accessing a Dict object member doesn't work. 40325 40326 Patch 9.0.1915 40327 Problem: r_CTRL-C works differently in visual mode 40328 Solution: Make r_CTRL-C behave consistent in visual mode 40329 in terminal and Windows GUI 40330 40331 Patch 9.0.1916 40332 Problem: Crash when allocating large terminal screen 40333 Solution: Don't allow values > 1000 for terminal 40334 screen columns and rows 40335 40336 Patch 9.0.1917 40337 Problem: undefined behaviour with python function pointer 40338 Solution: correctly cast function pointers from void 40339 40340 Patch 9.0.1918 40341 Problem: No filetype detection for Authzed filetypes 40342 Solution: Detect the *.zed file extension as authzed filetype 40343 40344 Patch 9.0.1919 40345 Problem: Wrong curswant when clicking on empty line or with vsplits. 40346 Solution: Don't check for ScreenCols[] before the start of the window 40347 and handle empty line properly. 40348 40349 Patch 9.0.1920 40350 Problem: Vim9: cannot write public var in nested object 40351 Solution: Write variable in nested read-only object reference. 40352 Also test write fails. 40353 40354 Patch 9.0.1921 40355 Problem: not possible to use the jumplist like a stack 40356 Solution: Add the 'jumpoptions' setting to make the jumplist 40357 a stack. 40358 40359 Patch 9.0.1922 40360 Problem: LSP server request message is misinterpreted as a response message 40361 Solution: Check that the message does not have the "message" field 40362 40363 Patch 9.0.1923 40364 Problem: curswant wrong on click with 've' and 'wrap' set 40365 Solution: Add w_leftcol to mouse click column. 40366 40367 Patch 9.0.1924 40368 Problem: LSP server message still wrongly handled (after 9.0.1922) 40369 Solution: Handle 'method' messages properly, don't discard them, add 40370 tests. 40371 40372 Patch 9.0.1925 40373 Problem: if_python: still undefined behaviour with function pointer 40374 Solution: fix remaining problems 40375 40376 Patch 9.0.1926 40377 Problem: Vim9: not enough info in error message 40378 Solution: Add class name, change member to variable, quote names 40379 40380 Patch 9.0.1927 40381 Problem: patch 1916 (fixed terminal size) not optimal 40382 Solution: Add defines to make it easier changeable later 40383 40384 Patch 9.0.1928 40385 Problem: Vim9: constructor type checking bug 40386 Solution: Fix class constructor regression 40387 40388 Patch 9.0.1929 40389 Problem: runtime tests fail with tiny vim 40390 Solution: check for tiny vim, run runtime tests in CI 40391 even for tiny version 40392 40393 Patch 9.0.1930 40394 Problem: compiler warnings with clang-17 40395 Solution: Fix function prototypes and function pointer 40396 40397 Patch 9.0.1931 40398 Problem: make test_compilers fails on ubuntu 40399 Solution: set LC_ALL=C 40400 40401 Patch 9.0.1932 40402 Problem: Vim9: error when using null object constructor 40403 Solution: Check for a null object only when calling an object method 40404 40405 Patch 9.0.1933 40406 Problem: Can change the type of a v: variable using if_lua. 40407 Solution: Add additional handling of v: variables like :let. 40408 40409 Patch 9.0.1934 40410 Problem: bwipe fails after switching window from aucmd_win. 40411 Solution: Decrement b_nwindows after switching back to aucmd_win. 40412 40413 Patch 9.0.1935 40414 Problem: Vim9: not consistent error messages 40415 Solution: Make error messages more consistent. Use "variable" for 40416 (object/class) member 40417 40418 Patch 9.0.1936 40419 Problem: test: using wrong expected message in test_crypt 40420 Solution: make use of single quotes 40421 40422 Patch 9.0.1937 40423 Problem: missing test for mouse click + 'virtedit' 40424 Solution: Add test for clicking after eol with 'virtualedit' and wrapped 40425 line 40426 40427 Patch 9.0.1938 40428 Problem: multispace wrong when scrolling horizontally 40429 Solution: Update position in "multispace" or "leadmultispace" also in 40430 skipped chars. Reorder conditions to be more consistent. 40431 40432 Patch 9.0.1939 40433 Problem: still a problem when processing LSP RPC requests 40434 Solution: When processing async LSP RPC requests, compare sequence 40435 numbers only in response messages 40436 40437 Patch 9.0.1940 40438 Problem: wrong upstream version in libvterm README 40439 Solution: correct version to 839 40440 40441 Patch 9.0.1941 40442 Problem: Memory leak detected (after 9.0.1928) 40443 Solution: Free arg_objm in get_lambda_tv() 40444 40445 Patch 9.0.1942 40446 Problem: Vim9: execution stack invalidated with null object 40447 Solution: Check for a null object before adjusting the execution stack 40448 40449 Patch 9.0.1943 40450 Problem: CI not run with clang-17 40451 Solution: Update CI to use clang-17 40452 40453 Patch 9.0.1944 40454 Problem: Vim9: function instruction pointer invalidated 40455 Solution: Use the funcref index instead of the instruction pointer 40456 40457 Patch 9.0.1945 40458 Problem: Vim9: missing support for ro-vars in interface 40459 Solution: Support only read-only object variables in an interface, 40460 add additional checks when parsing class definitions. 40461 40462 Patch 9.0.1946 40463 Problem: filename expansion using ** in bash may fail 40464 Solution: Try to enable the globstar setting 40465 40466 Patch 9.0.1947 40467 Problem: Bash Expansion test fails on Windows/MacOS 40468 Solution: Disable Test_glob_extended_bash for now 40469 40470 Patch 9.0.1948 40471 Problem: Vim9: object variable "this." should only be used in 40472 constructor 40473 Solution: Disallow to this in normal object methods (other than 40474 constructors) 40475 40476 Patch 9.0.1949 40477 Problem: Vim9: allows reserved keywords as members 40478 Solution: Disallow reserved keywords, disallow 40479 duplicate object and class variables 40480 40481 Patch 9.0.1950 40482 Problem: Vim9: error codes spread out 40483 Solution: group them together and reserve 100 40484 more for future use 40485 40486 Patch 9.0.1951 40487 Problem: Vim9: hard to debug vim9_class errors from CI 40488 Solution: Include the line number in assert_xxx() calls. Include the 40489 entire error message in the tests. Fix the indentation in the 40490 test file. Add tags for new error codes. 40491 40492 Patch 9.0.1952 40493 Problem: Vim9: unused static field 40494 Solution: remove it and simplify code 40495 40496 Patch 9.0.1953 40497 Problem: Misplaced comment in errors.h 40498 Solution: Move it up 40499 40500 Patch 9.0.1954 40501 Problem: CI: change netrw label in labeller bot 40502 Solution: Rename it to 'plugin-netrw' 40503 40504 Patch 9.0.1955 40505 Problem: Vim9: lockvar issues with objects/classes 40506 Solution: fix `get_lhs()` object/class access and avoid `SEGV`, 40507 make error messages more accurate. 40508 40509 Patch 9.0.1956 40510 Problem: Custom cmdline completion skips original cmdline when pressing 40511 Ctrl-P at first match if completion function invokes glob(). 40512 Solution: Move orig_save into struct expand_T. 40513 40514 Patch 9.0.1957 40515 Problem: termcap options should change on keyprotocol setting 40516 Solution: Apply termcap entries when 'keyprotocol' changes 40517 40518 Patch 9.0.1958 40519 Problem: cannot complete option values 40520 Solution: Add completion functions for several options 40521 40522 Patch 9.0.1959 40523 Problem: Vim9: methods parameters and types are covariant 40524 Solution: Support contra-variant type check for object method arguments 40525 (similar to Dart). 40526 40527 Patch 9.0.1960 40528 Problem: Make CI checks more strict 40529 Solution: Add -Wstrict-prototypes -Wmissing-prototypes to CI, 40530 fix uncovered problems 40531 40532 Patch 9.0.1961 40533 Problem: Cmdline completion for 'listchars' fields doesn't include 40534 "multispace" and "leadmultispace" (after 9.0.1958). 40535 Solution: Include "multispace" and "leadmultispace" in lcstab. 40536 40537 Patch 9.0.1962 40538 Problem: No support for writing extended attributes 40539 Solution: Add extended attribute support for linux 40540 40541 Patch 9.0.1963 40542 Problem: Configure script may not detect xattr correctly 40543 Solution: include sys/xattr instead of attr/xattr, 40544 make Test_write_with_xattr_support() test 40545 xattr feature correctly 40546 40547 Patch 9.0.1964 40548 Problem: xattr support fails to build on MacOS X 40549 Solution: Disable xattr support for MacOS X 40550 40551 Patch 9.0.1965 40552 Problem: wrong auto/configure script 40553 Solution: regenerate with autoconf 2.71 40554 40555 Patch 9.0.1966 40556 Problem: configure prints stray 6 when checking libruby 40557 Solution: redirect stdout to dev/null 40558 40559 Patch 9.0.1967 40560 Problem: xattr errors not translated 40561 Solution: mark for translation, consistently capitalize 40562 first letter. 40563 40564 Patch 9.0.1968 40565 Problem: cmdline completion should consider key option 40566 Solution: Disable cmdline completion for key option, slightly 40567 refactor how P_NO_CMD_EXPAND is handled 40568 40569 Patch 9.0.1969 40570 Problem: buffer-overflow in trunc_string() 40571 Solution: Add NULL at end of buffer 40572 40573 Patch 9.0.1970 40574 Problem: win32: high-dpi support can be improved 40575 Solution: implement WM_GETDPISCALEDSIZE 40576 40577 Patch 9.0.1971 40578 Problem: macOS: FEAT_SOUND guard too restrictive 40579 Solution: check for older macOS support properly 40580 40581 Patch 9.0.1972 40582 Problem: win32: missing '**' expansion test (after v9.0.1947) 40583 Solution: Add test for MS-Windows 40584 40585 Patch 9.0.1973 40586 Problem: Clean up cmdline option completion code 40587 Solution: Fix various minor problems 40588 40589 Patch 9.0.1974 40590 Problem: vim9: using contra-variant type-checks (after v9.0.1959) 40591 Solution: Use invariant type checking instead 40592 40593 Patch 9.0.1975 40594 Problem: xattr: permission-denied errors on write 40595 Solution: ignore those errors 40596 40597 Patch 9.0.1976 40598 Problem: style: space before tab in optionstr.c 40599 Solution: remove the space 40600 40601 Patch 9.0.1977 40602 Problem: Vim9: object members can change type 40603 Solution: Check type during assignment to object/class var 40604 40605 Patch 9.0.1978 40606 Problem: No filetype detection for just files 40607 Solution: Detect just files (*.just, justfile, etc) 40608 40609 Patch 9.0.1979 40610 Problem: Cirrus CI disabled 40611 Solution: re-enable Cirrus CI 40612 40613 Patch 9.0.1980 40614 Problem: win32: issues with stable python ABI 40615 Solution: if_python3,win32: Fix Python3 stable ABI 40616 40617 Patch 9.0.1981 40618 Problem: Cannot scroll up in diff mode with many filler lines and zero 40619 'scrolloff'. 40620 Solution: Invalidate w_cline_row before calling comp_botline(). 40621 40622 Patch 9.0.1982 40623 Problem: vim9: clean up from v9.0.1955 40624 Solution: Fix a few remaining issues, improve error message 40625 40626 Patch 9.0.1983 40627 Problem: Scrolling non-current window using mouse is inconsistent 40628 depending on 'scrollbind'/'scrolloff' and different from GUI 40629 vertical scrollbar when 'cursorbind' is set. 40630 Solution: Don't move cursor in non-current windows for 'cursorbind' if 40631 cursor in the current window didn't move. 40632 40633 Patch 9.0.1984 40634 Problem: CI: Test_open_delay*() fails on FreeBSD 14 40635 Solution: Skip it on BSD 40636 40637 Patch 9.0.1985 40638 Problem: CI: codecov is intrusive 40639 Solution: disable codecov comments 40640 40641 Patch 9.0.1986 40642 Problem: Vim9: accepting type-annotations 40643 Solution: Reject type annotations outside of declarations. 40644 40645 Patch 9.0.1987 40646 Problem: win32: font-size calculation can be improved 40647 Solution: calculate font size before the window size 40648 40649 Patch 9.0.1988 40650 Problem: Vim9: potential use-after-free for class members 40651 Solution: Use the class-related grow array for storing the 40652 member type instead of using a temporary type 40653 list grow array 40654 40655 Patch 9.0.1989 40656 Problem: Vim9: double error message given 40657 Solution: Only give second error message, if there 40658 wasn't one given before 40659 40660 Patch 9.0.1990 40661 Problem: strange error number 40662 Solution: change error number, 40663 add doc tag for E1507 40664 40665 Patch 9.0.1991 40666 Problem: no cmdline completion for setting the font 40667 Solution: enable it on Win32 and GTK builds 40668 40669 Patch 9.0.1992 40670 Problem: segfault in exmode when redrawing 40671 Solution: skip gui_scroll when exmode_active 40672 40673 Patch 9.0.1993 40674 Problem: warning about unused function definition 40675 Solution: add ifdefs 40676 40677 Patch 9.0.1994 40678 Problem: inconsistent feature description 40679 Solution: delete old mentioned feature sets small and big 40680 40681 Patch 9.0.1995 40682 Problem: Invalid memory access when 'foldexpr' returns empty string. 40683 Solution: Check for NUL. 40684 40685 Patch 9.0.1996 40686 Problem: Cannot build with python312 40687 Solution: Define wrapper types and functions for python 3.12 40688 40689 Patch 9.0.1997 40690 Problem: Some unused code in move.c and string.c 40691 Solution: Remove it 40692 40693 Patch 9.0.1998 40694 Problem: xxd: cannot reverse a bit dump 40695 Solution: implement reversing the bit dump using -b -r 40696 40697 Patch 9.0.1999 40698 Problem: Vim9: some error messages can be improved 40699 Solution: Mention the defining class for variable access error message 40700 40701 Patch 9.0.2000 40702 Problem: Vim9: use-after-free in deep call stack 40703 Solution: Get the object pointer from execution stack 40704 40705 Patch 9.0.2001 40706 Problem: Vim9: segfault with islocked() 40707 Solution: Check that the lval pointer is not null for objects and 40708 class variables 40709 40710 Patch 9.0.2002 40711 Problem: Vim9: need cleanup of class related interface code 40712 Solution: Remove the unused class variable and class method related code 40713 for interfaces. 40714 40715 Patch 9.0.2003 40716 Problem: xxd: compilation warning 40717 Solution: initialize variables 40718 40719 Patch 9.0.2004 40720 Problem: Missing test file 40721 Solution: git-add the file to the repo 40722 40723 Patch 9.0.2005 40724 Problem: partially revert patch v9.0.1997 40725 Solution: add a comment, to make clear it's not used 40726 40727 Patch 9.0.2006 40728 Problem: Vim9: need more tests 40729 Solution: add additional disassembly tests 40730 40731 Patch 9.0.2007 40732 Problem: Vim9: covariant parameter types allowed when assigning 40733 functions 40734 Solution: Enforce invariant type check for arguments and return value 40735 when assigning a funcref 40736 40737 Patch 9.0.2008 40738 Problem: test: undofile left behind 40739 Solution: cleanup undofile 40740 40741 Patch 9.0.2009 40742 Problem: cmdline-completion for comma-separated options wrong 40743 Solution: Fix command-line expansions for options with filenames with 40744 commas 40745 40746 Patch 9.0.2010 40747 Problem: [security] use-after-free from buf_contents_changed() 40748 Solution: block autocommands 40749 40750 Patch 9.0.2011 40751 Problem: INI files not detected 40752 Solution: detect uppercase .INI as dosini files 40753 40754 Patch 9.0.2012 40755 Problem: Vim9: error message can be more accurate 40756 Solution: Fix the error messages 40757 40758 Patch 9.0.2013 40759 Problem: Unicode tables outdated 40760 Solution: Update Unicode tables to v15.1 (released 23.09.2023) 40761 40762 Patch 9.0.2014 40763 Problem: confusing ifdefs in if_<lang>.c 40764 Solution: refactor ifndefs to #ifdefs 40765 40766 Patch 9.0.2015 40767 Problem: Vim9: does not handle islocked() from a method correctly 40768 Solution: Handle islocked() builtin from a method. 40769 40770 Patch 9.0.2016 40771 Problem: Vim9: assignment operators don't work for class vars 40772 Solution: implement it 40773 40774 Patch 9.0.2017 40775 Problem: linebreak applies for leading whitespace 40776 Solution: only apply linebreak, once we have found non-breakat chars in 40777 the line 40778 40779 Patch 9.0.2018 40780 Problem: complete_info() returns wrong index 40781 Solution: Make order of 'info' in completion_info consistent 40782 40783 Patch 9.0.2019 40784 Problem: Vim9: no support for funcrefs 40785 Solution: Add support for object/class funcref members 40786 40787 Patch 9.0.2020 40788 Problem: Vim9: islocked() needs more work 40789 Solution: rework islocked() and remove sync_root 40790 from get_lval() 40791 40792 Patch 9.0.2021 40793 Problem: Coverity complains about change in charset (after v9.0.2017) 40794 Solution: check pointer t at index 0 40795 40796 Patch 9.0.2022 40797 Problem: When clicking in the middle of a TAB, getmousepos() returns 40798 the column of the next char instead of the TAB. 40799 Solution: Break out of the loop when the vcol to find is inside current 40800 char. Fix invalid memory access when calling virtcol2col() on 40801 an empty line. 40802 40803 Patch 9.0.2023 40804 Problem: need more tests for :cq 40805 Solution: Add more tests, including wraparound on linux 40806 40807 Patch 9.0.2024 40808 Problem: no filetype detection for Debian sources 40809 Solution: Add new deb822sources filetype 40810 40811 Patch 9.0.2025 40812 Problem: no cmdline completion for ++opt args 40813 Solution: Add cmdline completion for :e ++opt=arg and :terminal 40814 [++options] 40815 40816 Patch 9.0.2026 40817 Problem: win32: python3 dll loading can be improved 40818 Solution: Load DLL from registry path 40819 40820 Patch 9.0.2027 40821 Problem: Vim9: no support for bitwise operators in lambda funcs 40822 Solution: move "evaluate" assignment a bit up in order to decide 40823 to perform bitwise operations 40824 40825 Patch 9.0.2028 40826 Problem: confusing build dependencies 40827 Solution: clean them up, make them parallelizable 40828 40829 Patch 9.0.2029 40830 Problem: Vim9: no support for partials using call() 40831 Solution: Add support 40832 40833 Patch 9.0.2030 40834 Problem: no max callback recursion limit 40835 Solution: bail out, if max call recursion for callback functions 40836 has been reached. 40837 40838 Patch 9.0.2031 40839 Problem: `TextChangedI` can trigger on entering Insert mode if there 40840 was previously a change not in Insert mode. 40841 Solution: Make it trigger only when text is actually changed in Insert 40842 mode. 40843 40844 Patch 9.0.2032 40845 Problem: Cannot accurately get mouse clicking position when clicking on 40846 a TAB or with virtual text. 40847 Solution: Add a "coladd" field to getmousepos() result. 40848 40849 Patch 9.0.2033 40850 Problem: gcc overflow-warning for f_resolve 40851 Solution: use pointer p instead of pointer q[-1] 40852 40853 Patch 9.0.2034 40854 Problem: don't try to copy SMACK attribute, when none exist 40855 Solution: return early if SMACK extended attributes do not exist or 40856 if they are not supported 40857 40858 Patch 9.0.2035 40859 Problem: [security] use-after-free with wildmenu 40860 Solution: properly clean up the wildmenu when exiting 40861 40862 Patch 9.0.2036 40863 Problem: if_python: rework python3.12 build dependency 40864 (after 9.0.1996) 40865 Solution: use PyTuple_Size instead of inlining the Py_SIZE 40866 into the Vim code base 40867 40868 Patch 9.0.2037 40869 Problem: A few remaining cmdline completion issues with C-E/Y 40870 Solution: Fix cmdline completion fuzzy/Ctrl-E/Ctrl-Y/options when not 40871 used at the end 40872 40873 Patch 9.0.2038 40874 Problem: Vim9: object method funcref not cleaned up after use 40875 Solution: Clean up type stack after using object method funcref, 40876 remove now longer used ISN_DEFEROBJ instruction 40877 40878 Patch 9.0.2039 40879 Problem: completion shows current word after completion restart 40880 Solution: remove the word being completed after completion restart 40881 40882 Patch 9.0.2040 40883 Problem: trim(): hard to use default mask 40884 Solution: Use default 'mask' when it is v:none 40885 40886 Patch 9.0.2041 40887 Problem: trim(): hard to use default mask (partly revert v9.0.2040) 40888 Solution: use default mask when it is empty 40889 40890 Patch 9.0.2042 40891 Problem: Test_cq_zero_exmode fails without channel feature 40892 Solution: Make the test check the channel feature 40893 40894 Patch 9.0.2043 40895 Problem: Vim9: issue with funcref assignment and varargs 40896 Solution: Fix funcref type checking 40897 40898 Patch 9.0.2044 40899 Problem: Vim9: exceptions confuse deferred functions 40900 Solution: save and restore exception state when calling deferred 40901 functions 40902 40903 Patch 9.0.2045 40904 Problem: tests: checking for swap files takes time 40905 Solution: don't check for swap files when test has been skipped 40906 40907 Patch 9.0.2046 40908 Problem: win32,python: warning that MS_WIN64 got re-defined 40909 Solution: Do not define MS_WIN64, as it is no longer used 40910 40911 Patch 9.0.2047 40912 Problem: perl: warning about inconsistent dll linkage 40913 Solution: suppress warning 40914 40915 Patch 9.0.2048 40916 Problem: python: uninitialized warning 40917 Solution: initialize 'minor' always 40918 40919 Patch 9.0.2049 40920 Problem: Vim9: not recognizing qualified class vars for infix ops 40921 Solution: Drop the class type from the stack before generating the 40922 CLASSMEMBER instruction 40923 40924 Patch 9.0.2050 40925 Problem: Vim9: crash with deferred function call and exception 40926 Solution: Save and restore exception state 40927 40928 Patch 9.0.2051 40929 Problem: Vim9: wrong error for non-existing object var 40930 Solution: mention object or class depending on whether 40931 the var is an object or class variable. 40932 40933 Patch 9.0.2052 40934 Problem: win32: using deprecated wsock32 api 40935 Solution: Use winsock2 (ws2_32) consistently 40936 40937 Patch 9.0.2053 40938 Problem: zig filetype detection test wrong 40939 Solution: Remove .zir pattern, add new test for .zon pattern 40940 40941 Patch 9.0.2054 40942 Problem: win32: iscygpty needs update 40943 Solution: Update iscygpty to the latest version, make use iswascii() 40944 API function 40945 40946 Patch 9.0.2055 40947 Problem: Vim9: non-consistent error messages 40948 Solution: make error messages more consistent with common structure 40949 40950 Patch 9.0.2056 40951 Problem: no digraph for quadruple prime 40952 Solution: add quadruple prime digraph using 4' 40953 40954 Patch 9.0.2057 40955 Problem: Vim9: no strict type checks for funcrefs varargs 40956 Solution: Perform strict type checking when declaring funcrefs 40957 with vararg declaration, add tests 40958 40959 Patch 9.0.2058 40960 Problem: tests: avoid error when no swap files exist 40961 Solution: use unlet! so that no error message is reported 40962 in case the variable does not exists 40963 40964 Patch 9.0.2059 40965 Problem: outstanding exceptions may be skipped 40966 Solution: When restoring exception state, process remaining outstanding 40967 exceptions 40968 40969 Patch 9.0.2060 40970 Problem: *.{gn,gni} files are not recognized 40971 Solution: Detect some as gn filetype (without adding an extra filetype) 40972 40973 Patch 9.0.2061 40974 Problem: not able to detect xkb filetypes 40975 Solution: Detect files below /u/s/X11/xkb as xkb files (without adding 40976 an extra filetype) 40977 40978 Patch 9.0.2062 40979 Problem: Janet files are not recognised 40980 Solution: Add filename and shebang detection (without 40981 adding an extra filetype plugin) 40982 40983 Patch 9.0.2063 40984 Problem: pacman hooks are detected as conf filetype 40985 Solution: make it consistent to pacman.conf and detect those 40986 hooks as confini 40987 40988 Patch 9.0.2064 40989 Problem: cannot use buffer-number for errorformat 40990 Solution: add support for parsing a buffer number using '%b' in 40991 'errorformat' 40992 40993 Patch 9.0.2065 40994 Problem: EXPAND flag set for filetype option 40995 Solution: Remove P_EXPAND flag from the 'filetype' option 40996 40997 Patch 9.0.2066 40998 Problem: xxd: corrupting files when reversing bit dumps 40999 Solution: handle reversing bit dump slightly differently 41000 41001 Patch 9.0.2067 41002 Problem: xxd: coloring was disabled on Cygwin 41003 Solution: don't include WIN32 41004 41005 Patch 9.0.2068 41006 Problem: [security] overflow in :history 41007 Solution: Check that value fits into int 41008 41009 Patch 9.0.2069 41010 Problem: possible to escape bracketed paste mode with Ctrl-C 41011 Solution: Do not handle Ctrl-C specially when key_protocol 41012 is in use, makes bracketed paste mode more robust 41013 41014 Patch 9.0.2070 41015 Problem: [security] disallow setting env in restricted mode 41016 Solution: Setting environment variables in restricted mode could 41017 potentially be used to execute shell commands. Disallow this. 41018 41019 Patch 9.0.2071 41020 Problem: objdump files not recognized 41021 Solution: detect *.objdump files, add a filetype plugin 41022 41023 Patch 9.0.2072 41024 Problem: Vim9: no nr2str conversion in list-unpack 41025 Solution: Generate 2STRING instruction to convert dict index to string 41026 41027 Patch 9.0.2073 41028 Problem: typo in quickfix.c comments 41029 Solution: fix them 41030 41031 Patch 9.0.2074 41032 Problem: Completion menu may be wrong 41033 Solution: Check for the original direction of the completion menu, 41034 add more tests, make it work with 'noselect' 41035 41036 Patch 9.0.2075 41037 Problem: TextChangedI may not always trigger 41038 Solution: trigger it in more cases: for insert/ 41039 append/change operations, and when 41040 opening a new line, 41041 41042 Patch 9.0.2076 41043 Problem: Vim9: No support for type aliases 41044 Solution: Implement :type command 41045 41046 Patch 9.0.2077 41047 Problem: CI fails because of trailing whitespace in test 41048 Solution: Remove it 41049 41050 Patch 9.0.2078 41051 Problem: several problems with type aliases 41052 Solution: Check for more error conditions, add tests, 41053 fix issues 41054 41055 Patch 9.0.2079 41056 Problem: Not all Dart files detected 41057 Solution: Add shebang filetype detection for Dart 41058 41059 Patch 9.0.2080 41060 Problem: vim9_script test too large 41061 Solution: split vim9 type alias test into 41062 separate test file 41063 41064 Patch 9.0.2081 41065 Problem: With 'smoothscroll' set, "w_skipcol" is not reset when unsetting 41066 'wrap'. Resulting in incorrect calculation of the cursor position. 41067 Solution: Reset "w_skipcol" when unsetting 'wrap'. 41068 41069 Patch 9.0.2082 41070 Problem: test_channel may fail because of IPv6 config issues 41071 Solution: Catch and skip the test, if getaddrinfo() fails with 41072 'Address family not supported' 41073 41074 Patch 9.0.2083 41075 Problem: Perl: xsubpp may be in non-standard location 41076 Solution: Add --with-subpp configure option 41077 41078 Patch 9.0.2084 41079 Problem: Vim9: abstract static methods are possible 41080 Solution: Disallow abstract static methods 41081 41082 Patch 9.0.2085 41083 Problem: Vim9: abstract can be used in interface 41084 Solution: Disallow the use of abstract in an interface 41085 41086 Patch 9.0.2086 41087 Problem: code cleanup for option callbacks needed 41088 Solution: remove flag os_doskip, it's not necessary, as we can check, 41089 whether an error message was returned 41090 41091 Patch 9.0.2087 41092 Problem: build-failure in vim9class 41093 Solution: reference correct error message, 41094 disable non-failing test 41095 41096 Patch 9.0.2088 41097 Problem: Vim9: still allows abstract static methods 41098 (after v9.0.2084, v9.0.2085 and v9.0.2087) 41099 Solution: Disallow abstract static methods 41100 41101 Patch 9.0.2089 41102 Problem: sound_playfile() fails when using powershell 41103 Solution: quote filename using doublequotes, don't escape filename, 41104 because it doesn't use the shell 41105 41106 Patch 9.0.2090 41107 Problem: complete_info() skips entries with 'noselect' 41108 Solution: Check, if first entry is at original text state 41109 41110 Patch 9.0.2091 41111 Problem: Vim9: cannot convert list to string using += 41112 (after 9.0.2072) 41113 Solution: convert dict index to string later in compile_member() 41114 41115 Patch 9.0.2092 41116 Problem: tests: failure in test_arabic 41117 Solution: adjust the test for the changed arabic keymap 41118 41119 Patch 9.0.2093 41120 Problem: Unsupported option causes rest of modeline test to be skipped. 41121 Solution: Revert the change from patch 8.2.1432. 41122 41123 Patch 9.0.2094 41124 Problem: Vim9: need more assignment tests 41125 Solution: Add test for using different types in assignment, function 41126 arguments and return values 41127 41128 Patch 9.0.2095 41129 Problem: statusline may look different than expected 41130 Solution: do not check for highlighting of stl and stlnc characters 41131 41132 Patch 9.0.2096 41133 Problem: Vim9: confusing usage of private 41134 Solution: clarify and use protected keyword instead 41135 41136 Patch 9.0.2097 41137 Problem: No support for cypher files 41138 Solution: Add cypher filetype detection 41139 41140 Patch 9.0.2098 41141 Problem: No filetype support for xcompose files 41142 Solution: Add filetype detection 41143 41144 Patch 9.0.2099 41145 Problem: Terminal control codes¹ are sent even when silent 41146 mode is on, causing the terminal to clear up 41147 Solution: Block any terminal codes when silent mode is on 41148 41149 Patch 9.0.2100 41150 Problem: CI: test_Termdebug fails 41151 Solution: only test for a changed winlayout, if the window 41152 width actually changed 41153 41154 Patch 9.0.2101 41155 Problem: CI: test_termdebug may still fail 41156 Solution: use term_wait() to make it more robust 41157 41158 Patch 9.0.2102 41159 Problem: matchparen highlight not cleared in completion mode 41160 Solution: Clear matchparen highlighting in completion mode 41161 41162 Patch 9.0.2103 41163 Problem: recursive callback may cause issues on some archs 41164 Solution: Decrease the limit drastically to 20 41165 41166 Patch 9.0.2104 41167 Problem: wast filetype should be replaced by wat filetype 41168 Solution: start using the official wat filetype name 41169 41170 Patch 9.0.2105 41171 Problem: Skipcol is not reset when topline changed scrolling cursor to top 41172 Solution: reset skipcol 41173 41174 Patch 9.0.2106 41175 Problem: [security]: Use-after-free in win_close() 41176 Solution: Check window is valid, before accessing it 41177 41178 Patch 9.0.2107 41179 Problem: [security]: FPE in adjust_plines_for_skipcol 41180 Solution: don't divide by zero, return zero 41181 41182 Patch 9.0.2108 41183 Problem: [security]: overflow with count for :s command 41184 Solution: Abort the :s command if the count is too large 41185 41186 Patch 9.0.2109 41187 Problem: [security]: overflow in nv_z_get_count 41188 Solution: break out, if count is too large 41189 41190 Patch 9.0.2110 41191 Problem: [security]: overflow in ex address parsing 41192 Solution: Verify that lnum is positive, before subtracting from 41193 LONG_MAX 41194 41195 Patch 9.0.2111 41196 Problem: [security]: overflow in get_number 41197 Solution: Return 0 when the count gets too large 41198 41199 Patch 9.0.2112 41200 Problem: [security]: overflow in shift_line 41201 Solution: allow a max indent of INT_MAX 41202 41203 Patch 9.0.2113 41204 Problem: Coverity warns for another overflow in shift_line() 41205 Solution: Test for INT_MAX after the if condition, cast integer values 41206 to (long long) before multiplying. 41207 41208 Patch 9.0.2114 41209 Problem: overflow detection not accurate when adding digits 41210 Solution: Use a helper function 41211 41212 Patch 9.0.2115 41213 Problem: crash when callback function aborts because of recursiveness 41214 Solution: correctly initialize rettv 41215 41216 Patch 9.0.2116 41217 Problem: No test for defining sign without attribute 41218 Solution: Add test for defining sign without attributes 41219 41220 Patch 9.0.2117 41221 Problem: [security] use-after-free in qf_free_items 41222 Solution: only access qfpnext, if it hasn't been freed 41223 41224 Patch 9.0.2118 41225 Problem: [security]: avoid double-free 41226 Solution: Only fee plain_font, when it is not the same as bold_font 41227 41228 Patch 9.0.2119 41229 Problem: remove dead-condition in ex_class() 41230 Solution: remove the extra condition 41231 41232 Patch 9.0.2120 41233 Problem: un-used assignment in do_source_buffer_init 41234 Solution: Remove it 41235 41236 Patch 9.0.2121 41237 Problem: [security]: use-after-free in ex_substitute 41238 Solution: always allocate memory 41239 41240 Patch 9.0.2122 41241 Problem: [security]: prevent overflow in indenting 41242 Solution: use long long and remove cast to (int) 41243 41244 Patch 9.0.2123 41245 Problem: Problem with initializing the length of range() lists 41246 Solution: Set length explicitly when it shouldn't contain any items 41247 41248 Patch 9.0.2124 41249 Problem: INT overflow logic can be simplified 41250 Solution: introduce trim_to_int() function 41251 41252 Patch 9.0.2125 41253 Problem: File info disappears immediately when 'cmdheight' has just 41254 decreased due to switching tabpage and 'shortmess' doesn't 41255 contain 'o' or 'O'. 41256 Solution: Make sure msg_row isn't smaller than cmdline_row. 41257 41258 Patch 9.0.2126 41259 Problem: Unused assignments when checking the value of 'listchars'. 41260 Solution: Loop only once when just checking the value. Add a test to 41261 check that this change doesn't cause double-free. 41262 41263 Patch 9.0.2127 41264 Problem: translation Makefiles can be improved 41265 Solution: Modified and extended po-related Makefiles and 41266 related files 41267 41268 Patch 9.0.2128 41269 Problem: No runtime files for SWIG filetypes 41270 Solution: Add syntax and filetype plugins for SWIG (Simplified Wrapper 41271 Interface Generator) description files. 41272 41273 Patch 9.0.2129 41274 Problem: [security]: use-after-free in call_dfunc() 41275 Solution: Refresh dfunc pointer 41276 41277 Patch 9.0.2130 41278 Problem: some errors with translation Makefiles 41279 Solution: fix issues 41280 41281 Patch 9.0.2131 41282 Problem: not all nushell files detected 41283 Solution: use *.nu to detect nushell files 41284 41285 Patch 9.0.2132 41286 Problem: Duplicate Netbeans Error Message 41287 Solution: Remove duplicate message 41288 41289 Patch 9.0.2133 41290 Problem: Cannot detect overstrike mode in Cmdline mode 41291 Solution: Make mode() return "cr" for overstrike 41292 41293 Patch 9.0.2134 41294 Problem: ml_get error when scrolling after delete 41295 Solution: mark topline to be validated in main_loop 41296 if it is larger than current buffers line 41297 count 41298 41299 Patch 9.0.2135 41300 Problem: No test for mode() when executing Ex commands 41301 Solution: Add some test cases and simplify several other test cases. 41302 Also add a few more test cases for ModeChanged. 41303 41304 Patch 9.0.2136 41305 Problem: MSVC errorformat can be improved 41306 Solution: parse error type and column number in MSVC errorformat 41307 41308 Patch 9.0.2137 41309 Problem: Can't detect angular & mustache filetypes 41310 Solution: Detect *.mustache as Mustache filetype; 41311 detect *.component.html as html.angular filetype 41312 41313 Patch 9.0.2138 41314 Problem: Overflow logic requires long long 41315 Solution: Define vimlong_T data type to make life easier 41316 for porters 41317 41318 Patch 9.0.2139 41319 Problem: html.angular ft is problematic 41320 Solution: partly revert v9.0.2137 41321 41322 Patch 9.0.2140 41323 Problem: [security]: use-after-free in win-enter 41324 Solution: validate window pointer before calling win_enter() 41325 41326 Patch 9.0.2141 41327 Problem: [security]: buffer-overflow in suggest_trie_walk 41328 Solution: Check n before using it as index into bytes array 41329 41330 Patch 9.0.2142 41331 Problem: [security]: stack-buffer-overflow in option callback functions 41332 Solution: pass size of errbuf down the call stack, use snprintf() 41333 instead of sprintf() 41334 41335 Patch 9.0.2143 41336 Problem: [security]: buffer-overflow in ex_substitute 41337 Solution: clear memory after allocating 41338 41339 Patch 9.0.2144 41340 Problem: Text properties causes wrong line wrapping to be drawn. 41341 Solution: Find the index of the last text property that inserts text. 41342 41343 Patch 9.0.2145 41344 Problem: Wrong scrolling in Insert mode with 'smoothscroll' at the 41345 bottom of the window. 41346 Solution: Don't use set_topline() when 'smoothscroll' is set. 41347 41348 Patch 9.0.2146 41349 Problem: text-property without type errors when joining 41350 Solution: count all text-properties, with or without type 41351 before joining lines 41352 41353 Patch 9.0.2147 41354 Problem: Type check tests fail without the channel feature 41355 Solution: only run tests, when Vim was build with +channel 41356 41357 Patch 9.0.2148 41358 Problem: Vim does not detect pacman.log file 41359 Solution: Detect pacmanlogs and add syntax highlighting 41360 41361 Patch 9.0.2149 41362 Problem: [security]: use-after-free in exec_instructions() 41363 Solution: get tv pointer again 41364 41365 Patch 9.0.2150 41366 Problem: Using int for errbuflen in option funcs 41367 Solution: Use size_t for errbuflen in string option functions 41368 41369 Patch 9.0.2151 41370 Problem: 'breakindent' is not drawn after diff filler lines. 41371 Solution: Correct check for whether 'breakindent' should be drawn. 41372 41373 Patch 9.0.2152 41374 Problem: Using type unknown for List/Dict containers 41375 Solution: Use 'any' instead 41376 41377 Patch 9.0.2153 41378 Problem: no support to build on OpenVMS 41379 Solution: Add OpenVMS X86_64 platform port 41380 41381 Patch 9.0.2154 41382 Problem: The options[] array is not sorted alphabetically. 41383 Solution: Sort it alphabetically. Add a test. Avoid unnecessary loop 41384 iterations in findoption(). 41385 41386 Patch 9.0.2155 41387 Problem: Vim9: type not kept when assigning vars 41388 Solution: When assigning a List or a Dict value to a variable of type 41389 'any', keep the type 41390 41391 Patch 9.0.2156 41392 Problem: Vim9: can use typealias in an assignment 41393 Solution: Generate errors when class/typealias involved in the rhs of an 41394 assignment 41395 41396 Patch 9.0.2157 41397 Problem: Vim9: incorrectly parses :def func definitions 41398 Solution: check for more context when parsing function args 41399 41400 Patch 9.0.2158 41401 Problem: [security]: use-after-free in check_argument_type 41402 Solution: Reset function type pointer when freeing the function type 41403 list 41404 41405 Patch 9.0.2159 41406 Problem: screenpos() may crash with neg. column 41407 Solution: validate and correct column 41408 41409 Patch 9.0.2160 41410 Problem: instanceof() should use varargs as second arg 41411 Solution: Modify `instanceof()` to use varargs instead of list 41412 41413 Patch 9.0.2161 41414 Problem: Vim9: not able to use imported interfaces and classes 41415 Solution: Detect imported class/interfaces names correctly 41416 41417 Patch 9.0.2162 41418 Problem: Vim9: type documentation out-dated 41419 Solution: Update documentation, fix typo in type alias 41420 definition 41421 41422 Patch 9.0.2163 41423 Problem: Vim9: type can be assigned to list/dict 41424 Solution: Prevent assigning a `type` to a `list` or `dict` 41425 41426 Patch 9.0.2164 41427 Problem: Vim9: can use type a func arg/return value 41428 Solution: Check if using type as function argument or return value 41429 41430 Patch 9.0.2165 41431 Problem: Vim9: can simplify arg type checking code 41432 Solution: In `f_argcheck` array use `arg_any`, instead of NULL 41433 41434 Patch 9.0.2166 41435 Problem: Memory leak in Configure Script when checking GTK 41436 Solution: Free the allocated memory 41437 41438 Patch 9.0.2167 41439 Problem: Vim9-script object/class variable declarations use syntax 41440 that is inconsistent with the rest of the language. 41441 Solution: Use :var to declare object and class variables. 41442 41443 Patch 9.0.2168 41444 Problem: Moving tabpages on :drop may cause an endless loop 41445 Solution: Disallow moving tabpages on :drop when cleaning up the arglist 41446 first 41447 41448 Patch 9.0.2169 41449 Problem: Vim9: builtin funcs may accept a non-value 41450 Solution: Restrict builtin functions that accept `type` 41451 41452 Patch 9.0.2170 41453 Problem: Vim9: no support for const/final class/objects vars 41454 Solution: Support final and const object and class variables 41455 41456 Patch 9.0.2171 41457 Problem: The options[] array is still not sorted alphabetically 41458 (after: v9.0.2154), causing test failures 41459 Solution: Sort the remaining items 41460 41461 Patch 9.0.2172 41462 Problem: Vim9: compiling :defer may fail 41463 Solution: compile defer, when ctx_skip is not SKIP_YES 41464 41465 Patch 9.0.2173 41466 Problem: Vim9: Vim crashes when compiling a for statement with a 41467 non-existing type 41468 Solution: Error out when lhs_type is not null 41469 41470 Patch 9.0.2174 41471 Problem: Vim9: segfault when assigning to type 41472 Solution: do not clear typeval, add missing patch number 41473 41474 Patch 9.0.2175 41475 Problem: Compiler warning for uninitialized var 41476 Solution: initialize variable to NULL 41477 41478 Patch 9.0.2176 41479 Problem: Compile error with Motif UI + mouse support (after v9.0.1262) 41480 Solution: Use correct oldval option pointer 41481 41482 Patch 9.0.2177 41483 Problem: Wrong cursor position when dragging out of window. 41484 Solution: Don't use ScreenCols[] when mouse is not in current window. 41485 41486 Patch 9.0.2178 41487 Problem: reg_executing() returns wrong result in :normal with range 41488 when 'showcmd' is set (after 8.2.4705). 41489 Solution: Reset "pending_end_reg_executing" when executing a register. 41490 41491 Patch 9.0.2179 41492 Problem: no filetype detection for execline scripts 41493 Solution: Add filetype detection for execline 41494 41495 Patch 9.0.2180 41496 Problem: POSIX function name in exarg struct causes issues 41497 on OpenVMS 41498 Solution: Rename getline member in exarg struct to ea_getline, 41499 remove isinf() workaround for VMS 41500 41501 Patch 9.0.2181 41502 Problem: Vim9: missing error messages 41503 Solution: Add one more error message 41504 41505 Patch 9.0.2182 41506 Problem: Vim9: need a way to reserve future extension 41507 Solution: reserve double underscore prefix for future use 41508 (Yegappan Lakshmanan) 41509 41510 Patch 9.0.2183 41511 Problem: Maximum callback depth is not configurable. 41512 Solution: Revert patch 9.0.2103. Set 'maxfuncdepth' in test. 41513 (zeertzjq) 41514 41515 Patch 9.0.2184 41516 Problem: Vim9: inconsistent :type/:class messages 41517 Solution: Update the Messages (Ernie Rael) 41518 41519 Patch 9.0.2185 41520 Problem: Coverity complains about not checking return value 41521 in compare_isn_not_values (after 9.0.2184) 41522 Solution: cast return value to "(void)" to make intention clear 41523 41524 Patch 9.0.2186 41525 Problem: LTCG compile error on Win/ARM64 for `write_chars()` 41526 Solution: Explicitly initialise the storage to use data rather than BSS 41527 (Saleem Abdulrasool) 41528 41529 Patch 9.0.2187 41530 Problem: Visual selection isn't drawn with 'breakindent' when the line 41531 doesn't fit in the window (Jaehwang Jung) 41532 Solution: Adjust wlv->fromcol also for 'breakindent' (zeertzjq) 41533 41534 Patch 9.0.2188 41535 Problem: cursor wrong after { in single line buffer 41536 (Edwin Chan) 41537 Solution: do not place the cursor at the end for a single 41538 line buffer when moving backwards (Gary Johnson) 41539 41540 Patch 9.0.2189 41541 Problem: Wrong display when 'breakindentopt' contains "sbr" and 41542 'showbreak' and 'nobreakindent' are set. 41543 Solution: Always reset wlv->need_showbreak regardless of the values of 41544 'breakindent' and 'showbreak', as they aren't checked when 41545 setting wlv->need_showbreak (zeertzjq) 41546 41547 Patch 9.0.2190 41548 Problem: proto files need update 41549 Solution: re-generate them 41550 41551 ============================================================================== 41552 VERSION 9.2 *version-9.2* *version9.2* *vim-9.2* 41553 41554 This section is about improvements made between version 9.1 and 9.2. 41555 41556 Vim9 script ~ 41557 ----------- 41558 Add support for internal builtin functions with vim9 objects, see 41559 |builtin-object-methods| 41560 41561 Enum support for Vim9 script |:enum| 41562 41563 Generic function support for Vim9 script |generic-functions| 41564 41565 Support for protected _new() method 41566 41567 Support for compiling all the methods in a Vim9 class using |:defcompile|. 41568 41569 Add support for object<{type}> as variable data type |vim9-types| 41570 41571 Support for the |Tuple| data type in Vim script and Vim9 script. 41572 41573 Diff mode ~ 41574 --------- 41575 Include the "linematch" algorithm for the 'diffopt' setting. This aligns 41576 changes between buffers on similar lines improving the diff highlighting in 41577 Vim 41578 41579 Improve the diff highlighting for changes within a line. Configurable using 41580 the "inline" sub option value for the 'diffopt' setting, with "inline:simple" 41581 being added to the default "diffopt" value (but this does not change how diff 41582 mode works). 41583 41584 The 'diffanchors' option specifies a comma-separated list of addresses in 41585 a buffer that act as anchor points for splitting and independently diffing 41586 buffer sections, improving diff alignment. It is only used when 'diffopt' 41587 includes "anchor" and all specified addresses must resolve in every buffer, or 41588 else the anchors are ignored. 41589 41590 Completion~ 41591 ---------- 41592 - New Insert-mode completion: |i_CTRL-X_CTRL-R| to complete words from 41593 registers. 41594 - Completion in search contexts using |/|, |?|, |:g|, |:v| and |:vimgrep| 41595 commands using 'wildchar' 41596 - ":filetype" command completion and the "filetypecmd" completion type for 41597 |getcompletion()| have been included. 41598 - Support for command-line completion of 'keymap' option values. 41599 - Support for |fuzzy-matching| during |ins-completion| with the "fuzzy" 41600 values of the 'completeopt' setting. 41601 - allow to complete shell commands and files using the new shellcmdline 41602 completion type using |:command-complete| and |getcmdcomplpat()| 41603 - New option value for 'wildmode': 41604 "noselect" - do not auto select an entry in the wildmenu 41605 "exacttext" - show exact matches in wildmenu with search 41606 completion 41607 - New flags for 'complete': 41608 "F{func}" - complete using given function 41609 "F" - complete using 'completefunc' 41610 "o" - complete using 'omnifunc' 41611 - New option value for 'completeopt': 41612 "nosort" - do not sort completion results 41613 "preinsert" - highlight to be inserted values 41614 "nearest" - sort completion results by distance to cursor 41615 - new function |wildtrigger()| to trigger wildcard expansion 41616 - Support for Autocompletion has been added |ins-autocompletion| 41617 41618 Platform specific~ 41619 ----------------- 41620 - Support for Wayland UI and support for the Wayland clipboard has been added 41621 |wayland|. 41622 41623 - Support for the XDG Desktop Specification |xdg-base-dir| has been added and 41624 the environment variable |$MYVIMDIR| is set to the users personal runtime 41625 directory ($HOME/.vim or $HOME/.config/vim on Linux, $HOME/vimfiles on 41626 Windows). 41627 41628 - Python3 support in OpenVMS is now available. 41629 41630 - The Win32 GUI comes with better toolbar icons. 41631 41632 - Better fullscreen support for Haiku |os_haiku.txt|. 41633 41634 *new-other-9.2* 41635 Other new features ~ 41636 ------------------ 41637 - Support for Super key mappings in GTK using <D-Key>. 41638 41639 - The new optional packages |package-comment|, |package-nohlsearch|, 41640 |package-hlyank|, |help-TOC|, |package-helpcurwin| and |package-osc52| are 41641 included. 41642 41643 - An interactive tutor plugin has been included |vim-tutor-mode| and can be 41644 started via |:Tutor|. 41645 41646 - Support for translating messages in Vim script plugins using the |gettext()| 41647 and |bindtextdomain()| functions was included. 41648 41649 - Support highlighting the matched text and the completion kind for 41650 insert-mode completion and command-line completion in |ins-completion-menu|, 41651 see |complete-items|. 41652 41653 - A new vertical |tabpanel| window has been included which is a vertical 41654 'tabline'. 41655 41656 - The |dist#vim9#Launch()| and |dist#vim9#Open()| functions have been added to 41657 the |vim-script-library| and decoupled from |netrw|. 41658 41659 - The new digraph "APPROACHES THE LIMIT" using ".=" has been added. 41660 41661 - Add the new default highlighting groups "Bold", "Italic" and "BoldItalic" 41662 for use in syntax scripts. 41663 41664 - |items()| function now supports Blob. 41665 41666 - The clipboard provider feature has been added |clipboard-providers|. 41667 41668 *changed-9.2* 41669 Changed~ 41670 ------- 41671 41672 Default values: ~ 41673 - the default 'history' option value has been increased to 200 and removed 41674 from |defaults.vim| 41675 - the default 'backspace' option for Vim has been set to "indent,eol,start" 41676 and removed from |defaults.vim| 41677 - the default fontsize for the GTK builds of Vim (Windows and Unix) has been 41678 increased to 12pt to accommodate modern high-dpi monitors 41679 - the default value of the 'keyprotocol' option has been updated and support 41680 for the ghostty terminal emulator (using kitty protocol) has been added 41681 - Improved visual highlighting |hl-Visual| 41682 - the default value for 'showcmd' is always enabled when using non-compatible 41683 mode (previously, it was off on UNIX systems) and consequently removed from 41684 |defaults.vim| 41685 - Improve the diff mode experience by updating the 'diffopt' default value to 41686 "internal,filler,closeoff,indent-heuristic,inline:char". 41687 - the 'ruler' option value is always enabled when using non-compatible mode 41688 and removed from |defaults.vim| 41689 41690 Completion: ~ 41691 - allow to complete directories from 'cdpath' for |:cd| and similar commands, 41692 add the "cd_in_path" completion type for e.g. |:command-complete| and 41693 |getcompletion()| 41694 - allow to specify additional attributes in the completion menu (allows to 41695 mark deprecated attributes from LSP server) |complete-items| 41696 - the completed word and completion type are provided when handling the 41697 |CompleteDone| autocommand in the |v:event| dictionary 41698 - |complete_info()| returns the list of matches shown in the poppu menu via 41699 the "matches" key 41700 - handle multi-line completion items as expected 41701 - improved commandline completion for the |:hi| command 41702 - allow to limit matches for the 'complete' sources by using the 41703 "{flag}^<limit>" notation 41704 - 'smartcase' applies to completion filtering 41705 41706 Options: ~ 41707 - 'commentstring' is now available in all builds and no longer requires the 41708 |+folding| feature 41709 - the default for 'commentstring' contains whitespace padding to have 41710 automatic comments look nicer |comment-install| 41711 - 'completeopt' is now a |global-local| option. 41712 - add 'cpoptions' flag "z" |cpo-z|, to disable some (traditional) vi 41713 behaviour/inconsistency (see |d-special| and |cw|). 41714 - add 'cpoptions' flag "~" |cpo-~| to disable resolving symlinks on |:cd| 41715 commands 41716 - new option values for 'fillchars': 41717 "trunc" - configure truncation indicator, 'pummaxwidth' 41718 "truncrl" - like "trunc" but in 'rl' mode, 'pummaxwidth' 41719 "tpl_vert" - vertical separators for the 'tabpanel' 41720 "foldinner" - character used inside the 'foldcolumn' for nested 41721 fold levels 41722 - 'grepformat' is now a |global-local| option. 41723 - adjust for GTK3 dropping some mouse cursors 'mouseshape' 41724 - 'nrformats' accepts the new "blank" suboption, to determine a signed or 41725 unsigned number based on whitespace in front of a minus sign. 41726 - 'rulerformat' now supports the |stl-%!| item 41727 - use 'smoothscroll' logic for CTRL-F / CTRL-B for pagewise scrolling 41728 and CTRL-D / CTRL-U for half-pagewise scrolling 41729 - Setting 'nowrap' in a modeline could cause long lines to be hidden 41730 off-screen. To make this visible, the listchars "extend" suboption is set 41731 to ">" by default, indicating text that extends beyond the window width. 41732 - 'guioptions': New value |'go-C'| to style the title/caption bar on Windows 11 41733 (see also the below platform specific change). 41734 - 'guioptions': Support darkmode on MS-Windows for menu and title bar using 41735 |'go-d'| (see also the below platform specific change). 41736 - 'guioptions': New value |'go-s'| to support fullscreen on MS-Windows GUI 41737 (see also the below platform specific change). 41738 - 'completepopup': Add more values to style popup windows. 41739 - 'fsync' is now a |global-local| option. 41740 41741 Ex commands: ~ 41742 - allow to specify a priority when defining a new sign |:sign-define| 41743 - |:bwipe| also wipes jumplist and tagstack data 41744 - moving in the buffer list using |:bnext| and similar commands, behaves as 41745 documented and skips help buffers (if not run from a help buffer, else 41746 moves to the next/previous help buffer). 41747 - |:keeppatterns| preserves the last substitute pattern when used with |:s| 41748 - |:retab| accepts the new optional parameter -indentonly to only change 41749 whitespace in indented lines. 41750 41751 Functions: ~ 41752 - provide information about function arguments using the get(func, "arity") 41753 function |get()-func| 41754 - |setqflist()| and |setloclist()| can optionally try to preserve the current 41755 selection in the quickfix list with the "u" action. 41756 - allow to pass local Vim script variables to python interpreter |py3eval()| 41757 - |getwininfo()| now also returns the "leftcol" and "status_height" properties 41758 for a window 41759 - |v:stacktrace| The stack trace of the exception most recently caught and 41760 not finished 41761 - Add the optional {opts} |Dict| argument to |getchar()| to control: cursor 41762 behaviour, return type and whether or not to simplify the returned key 41763 - |chdir()| allows to optionally specify a scope argument 41764 - |matchfuzzy()| and |matchfuzzypos()| use an improved fuzzy matching 41765 algorithm (same as fzy). 41766 - |sha256()| also accepts a |Blob| as argument. 41767 - |listener_add()| allows to register un-buffered listeners, so that changes 41768 are handled as soon as they happen. 41769 - |redraw_listener_add()| and |redraw_listener_remove()| add/remove callbacks 41770 for redrawing events. 41771 41772 Plugins~ 41773 - |zip| plugin works with PowerShell Core. 41774 41775 Platform specific ~ 41776 - MS-Winodws: Paths like "\Windows" and "/Windows" are now considered to be 41777 absolute paths (to the current drive) and no longer relative. 41778 - MS-Windows: The title bar follows the |hl-TitleBar| and |hl-TitleBarNC| 41779 highlighting group |gui-w32-title-bar| with |'go-C'| 41780 - MS-Windows: Support darkmode for menu and title bar using |'go-d'| 41781 - MS-Windows: Vim no longer searches the current directory for 41782 executables when running external commands; prefix a relative or absolute 41783 path if you want the old behavior |$NoDefaultCurrentDirectoryInExePath|. 41784 - MS-Windows: New value |'go-s'| to support fullscreen on MS-Windows GUI 41785 41786 - macOS: increase default scheduler priority to TASK_DEFAULT_APPLICATION. 41787 41788 Others: ~ 41789 - the regex engines match correctly case-insensitive multi-byte characters 41790 (and apply proper case folding) 41791 - the putty terminal is detected using an |TermResponse| autocommand in 41792 |defaults.vim| and Vim switches to a dark background 41793 - improve the |vimtutor| and add a second chapter for more advanced tips 41794 - the configure script will favor using GTK3 over GTK2 when auto-detecting the 41795 gui toolkit 41796 - |gv| works in operator pending mode and does not abort 41797 - The close button shown in the non-GUI 'tabline' will only be visible if the 41798 'mouse' option contains either "a" or any of the flags "n", "v", or "i". 41799 - |C-indenting| handles compound literals. 41800 - The digraphs "</" (LEFT-POINTING ANGLE BRACKET) and ">/" (RIGHT-POINTING 41801 ANGLE BRACKET) have been changed to represent LEFT ANGLE BRACKET and RIGHT 41802 ANGLE BRACKET to match the Unicode Miscellaneous Technical code chart from 41803 Unicode 16. 41804 - Two additional digraphs have been added: LEFT ANGLE BRACKET "<[" and RIGHT 41805 ANGLE BRACKET "]>". 41806 - Support for Unix domain sockets have been added for the clientserver 41807 feature, see |socketserver-clientserver|. 41808 - |CmdlineLeave| sets |v:char| to the character that caused exiting the 41809 Command-line. 41810 - |min()|/|max()| can handle all comparable data types. 41811 - Vim triggers the |TermResponseAll| autocommand for any terminal OSC value. 41812 - Support CTRL-B and CTRL-F in the |more-prompt|. 41813 41814 41815 Not Vim related~ 41816 - Updated sponsorship documentation to replace references to ICCF with Kuwasha 41817 International Development Society as Vim's designated charity. 41818 41819 *added-9.2* 41820 Added ~ 41821 ----- 41822 Various syntax, indent and other plugins were added. 41823 41824 Functions: ~ 41825 41826 |base64_decode()| decode a base64 string into a blob 41827 |base64_encode()| encode a blob into a base64 string 41828 |blob2str()| convert a blob into a List of strings 41829 |bindtextdomain()| set message lookup translation base path 41830 |cmdcomplete_info()| get current cmdline completion info 41831 |diff()| diff two Lists of strings 41832 |filecopy()| copy a file {from} to {to} 41833 |foreach()| apply function to List items 41834 |getcellpixels()| get List of terminal cell pixel size 41835 |getcmdcomplpat()| Shell command line completion 41836 |getcmdprompt()| get prompt for input()/confirm() 41837 |getcompletiontype()| get command-line completion type 41838 |getregion()| get a region of text from a buffer 41839 |getregionpos()| get a list of positions for a region 41840 |getstacktrace()| get current stack trace of Vim scripts 41841 |id()| get unique identifier for a Dict, List, Object, 41842 Channel or Blob variable 41843 |list2tuple()| turn a List of items into a Tuple 41844 |listener_add()| add a callback to listen to changes 41845 |matchbufline()| all the matches of a pattern in a buffer 41846 |matchstrlist()| all the matches of a pattern in a List of strings 41847 |ngettext()| lookup single/plural message translation 41848 |popup_setbuf()| switch to a different buffer in a popup 41849 |preinserted()| whether preinserted text has been inserted during 41850 completion (see 'completeopt') 41851 |redraw_listener_add()| add callbacks to listen for redraws 41852 |redraw_listener_remove()| remove a redraw listener 41853 |str2blob()| convert a List of strings into a blob 41854 |test_null_tuple()| return a null tuple 41855 |tuple2list()| turn a Tuple of items into a List 41856 |uri_decode()| URI-decode a string 41857 |uri_encode()| URI-encode a string 41858 |wildtrigger()| trigger wildcard expansion 41859 41860 41861 Autocommands: ~ 41862 41863 |CmdlineLeavePre| before preparing to leave the command line 41864 |CursorMovedC| after the cursor was moved in the command-line 41865 |KeyInputPre| before processing any key event in any mode 41866 |SessionWritePost| after writing the session file |:mksession| 41867 |TabClosedPre| before closing a |tabpage|. 41868 |TermResponseAll| after the terminal response to |t_RV| and others is 41869 received 41870 |WinNewPre| before creating a new window 41871 41872 41873 Highlighting: ~ 41874 41875 |hl-ComplMatchIns| matched text of the currently inserted completion 41876 |hl-DiffTextAdd| added text within a changed line 41877 |hl-MsgArea| highlighting of the Command-line and messages area 41878 |hl-PmenuBorder| Popup menu: highlighting of popup border characters 41879 |hl-PmenuMatch| Popup menu: highlighting of matched text 41880 |hl-PmenuMatchSel| Popup menu: highlighting of matched text in selected 41881 line 41882 |hl-PmenuShadow| Popup menu: highlighting of the popup shadow 41883 |hl-Popup| Popup window: body, default link |hl-Pmenu| 41884 |hl-PopupBorder| Popup window: border characters, default link |hl-Pmenu| 41885 |hl-PopupTitle| Popup window: title, default link |hl-Pmenu| 41886 |hl-PreInsert| highlighting for completion preinserted text 41887 |hl-TabPanel| |tabpanel|: not active tab page label 41888 |hl-TabPanelFill| |tabpanel|: filler space 41889 |hl-TabPanelSel| |tabpanel|: active tab page label 41890 |hl-TitleBarNC| Configure the inactive title/bar on MS-Windows 11 41891 |hl-TitleBar| Configure the active title/bar on MS-Windows 11 41892 41893 Commands: ~ 41894 41895 |[r| and |]r| to move the cursor to previous/next rare word 41896 41897 Ex-Commands: ~ 41898 41899 |:clipreset| choose a new method for accessing the clipboard 41900 |:iput| like |:put| but adjust indent 41901 |:pbuffer| Edit buffer [N] from the buffer list in the preview 41902 window 41903 |:redrawtabpanel| Force updating the 'tabpanel'. 41904 |:uniq| Deduplicate text in the current buffer. 41905 |:wlrestore| reinitialize the wayland compositor connection 41906 41907 Options: ~ 41908 41909 'autocomplete' Enable auto completion |ins-autocompletion| 41910 'autocompletedelay' Delay in msec before menu appears after typing 41911 'autocompletetimeout' initial decay timeout for autocompletion algorithm 41912 'chistory' Size of the quickfix stack |quickfix-stack| 41913 'clipmethod' How to access the clipboard 41914 'completeitemalign' Order of |complete-items| in Insert mode completion 41915 popup 41916 'completetimeout' initial decay timeout for CTRL-N and CTRL-P 41917 'diffanchors' list of {address} to force syncing of diffs 41918 'eventignorewin' autocommand events that are ignored in a window 41919 'findfunc' Vim function to obtain the results for a |:find| 41920 command 41921 'lhistory' Size of the location list stack |quickfix-stack| 41922 'maxsearchcount' Set the maximum number for search-stat |shm-S| 41923 'messagesopt' configure |:messages| and |hit-enter| prompt 41924 'osctimeoutlen' OSC terminator receive timeout 41925 'pumborder' define popup border and decorations 41926 'pummaxwidth' maximum width for the completion popup menu 41927 'showtabpanel' When to show the |tabpanel| 41928 'tabclose' Which tab page to focus after closing a tab page 41929 'tabpanel' Optional vertical panel for displaying tabpages 41930 |tabpanel| 41931 'tabpanelopt' Optional settings for the |tabpanel| 41932 't_CF' Support for alternate font highlighting terminal code 41933 't_xo' Terminal uses XON/XOFF handshaking (e.g. vt420) 41934 'winfixbuf' Keep buffer focused in a window 41935 'wlseat' Specify Wayland seat to use for the |wayland| feature 41936 'wlsteal' Steal focus to access the |wayland| clipboard 41937 'wltimeoutlen' Specify the connection timeout for the |wayland| 41938 compositor 41939 41940 Vim Variables: ~ 41941 |v:clipmethod| The current 'clipmethod'. 41942 |v:clipproviders| A dictionary containing clipboard providers 41943 configuration |clipboard-providers|. 41944 |v:stacktrace| The most recent caught exception. 41945 |v:t_enum| Value of |enum| type. 41946 |v:t_enumvalue| Value of |enumvalue|. 41947 |v:t_tuple| Value of |Tuple| type. 41948 |v:termda1| The escape sequence returned for the primary device 41949 attribute query (DA1). 41950 |v:termosc| The most recent received OSC response. 41951 |v:vim_did_init| Set once Vim finishes startup initialization. 41952 |v:wayland_display| The name of the Wayland display Vim is connected to. 41953 41954 Vim Arguments: ~ 41955 |-Y| Do not connect to the |wayland| compositor. 41956 |--clientserver| Specify backend for clientserver functionality. 41957 41958 Configure Switches: ~ 41959 --with-wayland Enable the |wayland| feature. 41960 --enable-wayland-focus-steal Enable the wayland-focus-steal feature. 41961 --enable-socketserver Enable the |socketserver-clientserver| 41962 feature. 41963 41964 ============================================================================== 41965 INCOMPATIBLE CHANGES *incompatible-9.2* 41966 41967 Improved/Different MS-Windows mapping support 41968 |w32-experimental-keycode-trans-strategy| 41969 41970 ============================================================================== 41971 COMPILE TIME CHANGES *compile-changes-9.2* 41972 41973 Support for building with Ruby 3.3. 41974 41975 Support for building Vim 9 in z/OS (MVS). 41976 41977 Clean-up old MS-Windows code. 41978 41979 ============================================================================== 41980 PATCHES *patches-9.2* *bug-fixes-9.2* 41981 *patches-after-9.1* 41982 41983 The list of patches that got included since 9.1.0. This includes all the new 41984 features, but does not include runtime file changes (syntax, indent, ftplugin, 41985 documentation, etc.) 41986 41987 Note: authorship and the list of changed files is left out and only visible 41988 through `git log` for each commit. 41989 41990 Patch 9.1.0001 41991 Problem: When closing the current window (or when moving it to a tabpage), 41992 the previous window may refer to the new current window (`winnr() == 41993 winnr('#')`) if that window is selected as the new current window. 41994 Solution: Set `prevwin = NULL` when switching away from an invalid `curwin` 41995 and the target window was the `prevwin`. (Sean Dewar) 41996 41997 Patch 9.1.0002 41998 Problem: a closing fold expression may unexpectedly start a new fold when it 41999 should end a fold (reported by Shota Nozaki) 42000 Solution: if a fold hasn't started yet, do not immediately start a new fold 42001 with level 1 (Shota Nozaki) 42002 42003 Patch 9.1.0003 42004 Problem: Cannot build against Ruby 33 dynamically 42005 Solution: Ruby 33 removed transient heap, so do not use rb_ary_transient 42006 anymore, NoMethodError format changed, so update test for expected 42007 error message (Isao Sato) 42008 42009 Patch 9.1.0004 42010 Problem: reloading colorscheme when not changing 'background' 42011 Solution: Check, if the background option value actually changed, 42012 if not, return early. 42013 42014 Patch 9.1.0005 42015 Problem: OpenVMS build does not support python3 and xterm_save 42016 Solution: Enable python3 + xterm_save feature, fix style issues 42017 (Zoltan Arpadffy) 42018 42019 Patch 9.1.0006 42020 Problem: is*() and to*() function may be unsafe 42021 Solution: Add SAFE_* macros and start using those instead 42022 (Keith Thompson) 42023 42024 Patch 9.1.0007 42025 Problem: can select empty inner text blocks 42026 (laurentalacoque) 42027 Solution: make selecting empty inner text blocks an error textobjects: Make 42028 selecting inner empty blocks an error 42029 42030 Patch 9.1.0008 42031 Problem: NSIS installer includes syntax test dumps 42032 (Yegappan Lakshmanan) 42033 Solution: Exclude syntax/testdir when creating the NSIS installer 42034 42035 Patch 9.1.0009 42036 Problem: Cannot easily get the list of matches 42037 Solution: Add the matchstrlist() and matchbufline() Vim script functions 42038 (Yegappan Lakshmanan) 42039 42040 Patch 9.1.0010 42041 Problem: Keymap completion is not available 42042 Solution: Add keymap completion (Doug Kearns) 42043 42044 Patch 9.1.0011 42045 Problem: regexp cannot match combining chars in collection 42046 Solution: Check for combining characters in regex collections for the 42047 NFA and BT Regex Engine 42048 42049 Patch 9.1.0012 42050 Problem: regression with empty inner blocks introduced 42051 (after v9.1.0007) 42052 Solution: Set correct cursor position, Check for visual mode 42053 being active (Maxim Kim) 42054 42055 Patch 9.1.0013 42056 Problem: Modula2 filetype support lacking 42057 Solution: Improve the Modula-2 runtime support, add additional modula2 42058 dialects, add compiler plugin, update syntax highlighting, 42059 include syntax tests, update Makefiles (Doug Kearns) 42060 42061 Patch 9.1.0014 42062 Problem: incorrect use of W_WINROW in edit.c 42063 Solution: compare against curwin->w_height instead Remove incorrect use of 42064 W_WINROW 42065 42066 Patch 9.1.0015 42067 Problem: i_CTRL-R- no longer works in replace mode 42068 Solution: delete characters in replace mode before putting, add a test, add a 42069 bit warning into the documentation, that i_CTRL-R-P/O is not 42070 supported in Replace mode for now 42071 42072 Patch 9.1.0016 42073 Problem: default diff highlighting is too noisy 42074 Solution: Link diff highlighting groups to new Added/Removed/Changed, revert 42075 previous change (Romain Lafourcade) 42076 42077 Patch 9.1.0017 42078 Problem: use-after-free in eval1_emsg() when an empty line follows a lambda 42079 (by @yu3s) 42080 Solution: only set evalarg->eval_using_cmdline = FALSE when the *arg pointer 42081 is not null 42082 42083 Patch 9.1.0018 42084 Problem: use of #if instead of #ifdef 42085 Solution: use correct form of #ifdef 42086 42087 Patch 9.1.0019 42088 Problem: cmdline may disappear when changing 'cmdheight' 42089 (after Patch 9.0.0190, @markonm) 42090 Solution: always re-calculate the old_p_ch value, not only 42091 when cmdline_row was higher than expected 42092 42093 Patch 9.1.0020 42094 Problem: Vim9: cannot compile all methods in a class 42095 Solution: Support compiling all the methods in a class using :defcompile 42096 (Yegappan Lakshmanan) 42097 42098 Patch 9.1.0021 42099 Problem: i_CTRL-R- doesn't work for multibyte chars in Replace mode, 42100 Coverity complains missing return value for u_save_cursor() 42101 Solution: Use mb_charlen() and del_chars() instead, handle failure mode 42102 for u_save_cursor() correctly (@zeertzjq) 42103 42104 Patch 9.1.0022 42105 Problem: Coverity complains about improper use of negative value 42106 Solution: Add a condition to validate that keytyped is larger or equal 42107 to 0 42108 42109 Patch 9.1.0023 42110 Problem: xxd: few problems with EBCDIC for z/OS (MVS) 42111 Solution: Fix xxd build and support ASCII and UTF-8 on z/OS (MVS) 42112 natively, add MVS guard checks with __CHARSET_LIB, 42113 support $LIBS in the Makefile (Igor Todorovski) 42114 42115 Patch 9.1.0024 42116 Problem: z/OS (MVS) support can be improved 42117 Solution: set UTF-8 as the default encoding for z/OS 42118 42119 Patch 9.1.0025 42120 Problem: A few typos in tests and justify.vim 42121 Solution: fix them 42122 42123 Patch 9.1.0026 42124 Problem: win32: Windows default font lacking (@clach04) 42125 Solution: Improve default font (Ken Takata) 42126 42127 Patch 9.1.0027 42128 Problem: Vim is missing a foreach() func 42129 Solution: Implement foreach({expr1}, {expr2}) function, which applies {expr2} 42130 for each item in {expr1} without changing it (Ernie Rael) 42131 42132 Patch 9.1.0028 42133 Problem: win32: Ctrl-D cannot be used to close a pipe 42134 Solution: Properly detect Ctrl-D when reading from a pipe 42135 (GuyBrush) 42136 42137 Patch 9.1.0029 42138 Problem: Cannot act on various terminal response codes 42139 Solution: Add the TerminalResponseAll autocommand 42140 (Danek Duvall) 42141 42142 Patch 9.1.0030 42143 Problem: Cannot use terminal alternate fonts (PMunch) 42144 Solution: Support terminal alternate fonts using CSI SGR 10-20 and t_CF code 42145 (PMunch) 42146 42147 Patch 9.1.0031 42148 Problem: Link Error on Windows 42149 Solution: Add ifdef HAVE_TGETENT for term_strings_not_set() 42150 42151 Patch 9.1.0032 42152 Problem: MS-Windows installer misses keymaps (Maxim Kim) 42153 Solution: Include keymaps in the installer archive (Ken Takata) 42154 42155 Patch 9.1.0033 42156 Problem: Insert mode not stopped if an autocommand modifies a hidden 42157 buffer while closing a prompt buffer. 42158 Solution: Don't set b_prompt_insert if stop_insert_mode is already set. 42159 (zeertzjq) 42160 42161 Patch 9.1.0034 42162 Problem: Window may unexpectedly scroll when 'scrollbind' is set 42163 and setting a buffer-local option using setbufvar() (Boris Staletic) 42164 Solution: Save and restore the windows topline before opening the 42165 popup window. 42166 42167 Patch 9.1.0035 42168 Problem: i_CTRL-] triggers InsertCharPre 42169 Solution: Return if CTRL-] is received. InsertCharPre is supposed to be only 42170 used for chars to be inserted but i_CTRL-] triggers expansion and is 42171 not inserted into the buffer (altermo) 42172 42173 Patch 9.1.0036 42174 Problem: MS-Windows: Warning about unused variable 42175 (after 9.1.0030, John Marriott) 42176 Solution: Adjust #ifdef and test for HAVE_TGETENT (John Marriott) 42177 42178 Patch 9.1.0037 42179 Problem: Calling get_breakindent_win() repeatedly when computing virtual 42180 column, and get_breakindent_win() does a STRCMP() on the whole line 42181 since Patch 9.0.0016. 42182 Solution: Cache the result, since the line doesn't change. 42183 (zeertzjq) 42184 42185 Patch 9.1.0038 42186 Problem: Unnecessary loop in getvcol(). 42187 Solution: Compare next char position with pos->col directly (zeertzjq). 42188 42189 Patch 9.1.0039 42190 Problem: too vague errors for 'listchars'/'fillchars' 42191 Solution: Include the field name in error message (zeertzjq). 42192 42193 Patch 9.1.0040 42194 Problem: Modifying a hidden buffer still interferes with prompt buffer mode 42195 changes. 42196 Solution: Save and restore b_prompt_insert (zeertzjq). 42197 42198 Patch 9.1.0041 42199 Problem: xxd -i may generate incorrect C statements (Kuratius) 42200 Solution: xxd: Make size type returned by -i option compatible with C standard 42201 by using type size_t instead of unsigned int (Kuratius) 42202 42203 Patch 9.1.0042 42204 Problem: Missing test for Chuck filetype after (Christian Clason) 42205 Solution: Add a filetype test 42206 42207 Patch 9.1.0043 42208 Problem: ml_get: invalid lnum when :s replaces visual selection (@ropery) 42209 Solution: substitute may decrement the number of lines in a buffer, so 42210 validate, that the bottom lines of the visual selection 42211 stays within the max buffer line 42212 42213 Patch 9.1.0044 42214 Problem: po Makefiles can be improved 42215 Solution: Improve the style of the Makefiles, update Makefile variables, 42216 update documentation (RestorerZ) 42217 42218 Patch 9.1.0045 42219 Problem: --remote-silent applies the wildignore option to each argument, 42220 which may result in "E479: No match" (hebaronson) 42221 Solution: temporarily reset 'wildignore' setting when building the :drop 42222 command 42223 42224 Patch 9.1.0046 42225 Problem: :drop does not re-use empty buffer (Rocco Mao) 42226 Solution: Make :drop re-use an empty buffer (Rocco Mao) 42227 42228 Patch 9.1.0047 42229 Problem: Things that temporarily change/restore curwin/buf (e.g: win_execute, 42230 some autocmds) may break assumptions that curwin/buf is the cmdwin 42231 when "cmdwin_type != 0", causing issues. 42232 Solution: Expose the cmdwin's real win/buf and check that instead. Also try to 42233 ensure these variables are NULL if "cmdwin_type == 0", allowing them 42234 to be used directly in most cases without checking cmdwin_type. 42235 (Sean Dewar). 42236 42237 Patch 9.1.0048 42238 Problem: Autocmds triggered from opening the cmdwin (in win_split and 42239 do_ecmd) can cause issues such as E199, as the current checks 42240 are insufficient. 42241 Solution: Commands executed from the cmdwin apply to the old curwin/buf, so 42242 they should be kept in a "suspended" state; abort if they've 42243 changed. Also abort if cmdwin/buf was tampered with, and check that 42244 curwin is correct. Try to clean up the cmdwin buffer (only if hidden 42245 and non-current to simplify things; the same approach is used when 42246 closing cmdwin normally), and add a beep. (Sean Dewar) 42247 42248 Patch 9.1.0049 42249 Problem: E95 is possible if a buffer called "[Command Line]" already exists 42250 when opening the cmdwin. This can also happen if the cmdwin's buffer 42251 could not be deleted when closing. 42252 Solution: Un-name the cmdwin buffer, and give it a special name instead, 42253 similar to what's done for quickfix buffers and for unnamed prompt 42254 and scratch buffers. As a result, BufFilePre/Post are no longer 42255 fired when opening the cmdwin. Add a "command" key to the dictionary 42256 returned by getbufinfo() to differentiate the cmdwin buffer instead. 42257 (Sean Dewar) 42258 42259 Patch 9.1.0050 42260 Problem: Win32 Keyboard handling is sub-optimal and has many issues with 42261 international keyboards (risa2000) (after v8.2.4807) 42262 Solution: soft-rollback the change, allow the user to select a suitable 42263 key-translation strategy (Anton Sharonov) 42264 42265 Patch 9.1.0051 42266 Problem: MS-Windows: Key event test fail (after 9.1.0050) 42267 Solution: Catch Interrupt and return Ctrl-C 42268 42269 Patch 9.1.0052 42270 Problem: Patch 9.1.0041 causes regressions for users (Gleb 42271 Fotengauer-Malinovskiy) 42272 Solution: Revert 9.1.0041 and restore old behaviour 42273 42274 Patch 9.1.0053 42275 Problem: MS-Windows: Key event test still fails 42276 Solution: Catch more interrupts (after 9.1.0051) 42277 42278 Patch 9.1.0054 42279 Problem: 'linebreak' may still apply to leading whitespace (VanaIgr) 42280 Solution: Compare pointers instead of virtual columns (zeertzjq). 42281 42282 Patch 9.1.0055 42283 Problem: formatting long lines is slow (kawaii-Code) 42284 Solution: optimize gq (internal_format) for long lines (kawaii-Code) 42285 42286 Patch 9.1.0056 42287 Problem: Incorrect number of trailing spaces inserted for multibyte 42288 characters when pasting a blockwise register in blockwise visual 42289 mode (VanaIgr) 42290 Solution: Skip over trailing UTF-8 bytes when computing the number of trailing 42291 spaces (VanaIgr) 42292 42293 Patch 9.1.0057 42294 Problem: MS-Windows: Key event test still fails 42295 Solution: Skip testing CTRL-C, since it causes an Interrupt which causes a 42296 test failure (after 9.1.0053) 42297 42298 Patch 9.1.0058 42299 Problem: Cannot map Super Keys in GTK UI (Casey Tucker) 42300 Solution: Enable Super Key mappings in GTK using <D-Key> (Casey Tucker) 42301 42302 Patch 9.1.0059 42303 Problem: No event is triggered before creating a window 42304 Solution: Add the WinNewPre event (Sergey Vlasov). 42305 42306 Patch 9.1.0060 42307 Problem: Recorded register cannot be translated using keytrans() when it 42308 involves character search (iddqd505) 42309 Solution: Record a K_IGNORE instead of a K_NOP (zeertzjq). 42310 42311 Patch 9.1.0061 42312 Problem: UX of visual highlighting can be improved 42313 Solution: Improve readibility of visual highlighting, by setting better 42314 foreground and background colors 42315 42316 Patch 9.1.0062 42317 Problem: Internal error when :luado/perldo/pydo etc delete lines 42318 Solution: Test that the line is still valid line number (zeertzjq). 42319 42320 Patch 9.1.0063 42321 Problem: GTK code can be improved 42322 Solution: Improve GTK code for initial Wayland support (lilydjwg). 42323 42324 Patch 9.1.0064 42325 Problem: No Wayland support 42326 Solution: Add Wayland UI support (lilydjwg). 42327 42328 Patch 9.1.0065 42329 Problem: Segfault with CompleteChanged autocommand (markonm) 42330 Solution: Test match->cp_prev for being NULL before accessing it 42331 42332 Patch 9.1.0066 42333 Problem: gcc complains about use of uninitialized var (Tony Mechelynck, after 42334 9.1.0064) 42335 Solution: initialize button to silence gcc 42336 42337 Patch 9.1.0067 42338 Problem: gcc still complains about use of uninitialized var (Tony Mechelynck, 42339 after 9.1.0064/9.1.0066) 42340 Solution: This time init the correct variable 42341 42342 Patch 9.1.0068 42343 Problem: Visual highlighting can still be improved 42344 Solution: Update Visual highlighting for 8 color terminals, use uniform grey 42345 highlighting for dark and light bg (Maxim Kim) 42346 42347 Patch 9.1.0069 42348 Problem: ScreenLines may not be correctly initialized, causing hang 42349 (Olaf Seibert, after 9.0.0220) 42350 Solution: always initialize ScreneLines when allocating a screen (Olaf 42351 Seibert) 42352 42353 Patch 9.1.0070 42354 Problem: CI: testsuite not run on M1 Mac 42355 Solution: Make it run on gh runners for M1, disable failing tests for now, 42356 until we figure the problem with the failings tests out (rhysd) 42357 42358 Patch 9.1.0071 42359 Problem: Need a diff() Vim script function 42360 Solution: Add the diff() Vim script function using the xdiff internal diff 42361 library, add support for "unified" and "indices" mode (Yegappan 42362 Lakshmanan). 42363 42364 Patch 9.1.0072 42365 Problem: Not able to build without FEAT_DIFF (John Marriott, after 9.1.0071) 42366 Solution: Adjust #ifdefs (Yegappan Lakshmanan) 42367 42368 Patch 9.1.0073 42369 Problem: Looping over modifier_keys_table[] unnecessarily with only 42370 MOD_MASK_ALT or MOD_MASK_CMD, as modifier_keys_table[] only contains 42371 MOD_MASK_SHIFT and MOD_MASK_CTRL, and the loop won't do anything. 42372 Solution: Remove MOD_MASK_ALT and MOD_MASK_CMD from the condition (zeertzjq). 42373 42374 Patch 9.1.0074 42375 Problem: did_set_breakat() should be in optionstr.c as 'breakat' is a string 42376 option. 42377 Solution: Move did_set_breakat() to optionstr.c (zeertzjq). 42378 42379 Patch 9.1.0075 42380 Problem: insert completion not correct when adding new leader 42381 Solution: Reset compl_curr_match to compl_shown_match (glepnir). 42382 42383 Patch 9.1.0076 42384 Problem: luau config file not detected (lopy) 42385 Solution: Detect it as jsonc (lopy) 42386 42387 Patch 9.1.0077 42388 Problem: The call to redraw_for_cursorline() in nv_mousescroll() is 42389 unnecessary because redraw_for_cursorline() only sets redraw type to 42390 UPD_VALID, and all code paths in do_mousescroll() already set redraw 42391 type to at least UPD_VALID. 42392 Solution: Remove call to redraw_for_cursorline() in nv_mousescroll() 42393 (zeertzjq). 42394 42395 Patch 9.1.0078 42396 Problem: GTK3: using wrong style for pre-edit area 42397 Solution: remove the widget name, adjust css (lilydjwg). 42398 42399 Patch 9.1.0079 42400 Problem: LineNrAbove and LineNrBelow background wrong on wrapped lines. 42401 Solution: Update number column also for wrapped part of a line (zeertzjq). 42402 42403 Patch 9.1.0080 42404 Problem: unexpected error for modifying final list using += operator 42405 (Ernie Rael) 42406 Solution: Allow List value modification of a final variable using += 42407 operator (Yegappan Lakshmanan) 42408 42409 Patch 9.1.0081 42410 Problem: X11 mouse-scrolling stutters (Ron Aaron, after 9.1.0064) 42411 Solution: Handle GDK_SCROLL_SMOOTH fractional distance events 42412 (lilydjwg) 42413 42414 Patch 9.1.0082 42415 Problem: Redrawing can be improved when deleting lines with 'cursorline'. 42416 Solution: Use smarter invalidation and adjustment. Remove unnecessary 42417 UPD_VALID as it is already set at the top of the loop. Make the 42418 test for #4862 fail without the fix (zeertzjq). 42419 42420 Patch 9.1.0083 42421 Problem: Redrawing can be improved when inserting/deleting lines with 42422 'number'. 42423 Solution: Only redraw the number column of lines below changed lines. Add a 42424 test as this wasn't previously tested (zeertzjq). 42425 42426 Patch 9.1.0084 42427 Problem: Visual hl wrong when it ends before multibyte 'showbreak' (lacygoil) 42428 Solution: Use vcol_sbr instead of adding n_extra (zeertzjq). 42429 42430 Patch 9.1.0085 42431 Problem: X11 scroll size changes after accessing clipboard (Ernie Rael) 42432 Solution: use GDK_SCROLL_MASK for X11 and GDK_SMOOTH_SCROLL_MASK for 42433 Wayland (lilydjwg). 42434 42435 Patch 9.1.0086 42436 Problem: Problem when scrolling using slow touchpads scroll event 42437 Solution: Better ways to determine if a smooth scroll has ended (when 42438 available) (lilydjwg). 42439 42440 Patch 9.1.0087 42441 Problem: Restore lastused_tabpage too early in do_arg_all() function it 42442 will change later in the function. 42443 Solution: Restore lastused_tabpage a bit later, when being done with 42444 tabpages (glepnir). 42445 42446 Patch 9.1.0088 42447 Problem: TextChanged not triggered for :norm! commands (machakann, after 42448 v9.0.2031) 42449 Solution: Only reset curbuf->b_last_changedtick if TextChangedI was triggered 42450 in insert mode (and not blocked) 42451 42452 Patch 9.1.0089 42453 Problem: qsort() comparison functions should be transitive 42454 Solution: Do not subtract values, but rather use explicit comparisons 42455 Improve qsort() comparison functions 42456 42457 Patch 9.1.0090 42458 Problem: Assigning wrong colors when parsing terminal OSC response 42459 Solution: Correctly assign Green and Blue from the terminal response 42460 (Maxim Kim) 42461 42462 Patch 9.1.0091 42463 Problem: Syntax test fails when run with non C locale 42464 Solution: Run syntax tests with C locale, clean up Xtestscript file, 42465 strip environment variables from GetVimCommand() (h-east). 42466 42467 Patch 9.1.0092 42468 Problem: Compiler warning for missing type in scroll_event() (chdiza) 42469 Solution: Declare display_type explicitly as integer 42470 42471 Patch 9.1.0093 42472 Problem: Still a qsort() comparison function fuzzy_match_item_compare() 42473 that returns result of subtraction (after 9.1.0089). 42474 Solution: Use an explicit comparison instead of subtraction (zeertzjq). 42475 42476 Patch 9.1.0094 42477 Problem: xxd: buffer-overflow when writing color output 42478 Solution: properly account for the color escape sequences and adjust LLEN 42479 macro (Goffredo Baroncelli) 42480 42481 Patch 9.1.0095 42482 Problem: tests: test_restricted() fails (after: v9.1.0091) 42483 Solution: Add a space before the pipecmd and the actual Vim command to run 42484 42485 Patch 9.1.0096 42486 Problem: diff() function uses 'diffexpr' (rickhowe) 42487 Solution: Make diff() always use internal diff(), add support for unified diff 42488 context length, sort diff() options in help (Yegappan Lakshmanan) 42489 42490 Patch 9.1.0097 42491 Problem: 'breakindent' behaves inconsistently with 'list' and splits. 42492 Solution: Use 'listchars' from the correct window and handle caching properly. 42493 Move cheaper comparisons to the top (zeertzjq). 42494 42495 Patch 9.1.0098 42496 Problem: CompletionChanged not triggered when new leader added causing 42497 no matching item in the completion menu 42498 Solution: When completion is active but no items matched still trigger 42499 CompletChanged event (glepnir). 42500 42501 Patch 9.1.0099 42502 Problem: Not able to use diff() with 'diffexpr' (rickhowe, after v9.1.0096) 42503 Solution: Use a default context length of 0, update diff() help text, 42504 add a test for using diff() with 'diffexpr' (Yegappan Lakshmanan). 42505 42506 Patch 9.1.0100 42507 Problem: When undoing with 'spell', redrawWinline() is called after 42508 changed_lines(), while later win_update() sets redraw type to 42509 UPD_NOT_VALID, even though w_redraw_top and w_redraw_bot are 42510 still valid. 42511 Solution: Only set redraw type to UPD_NOT_VALID when inserting/deleting 42512 lines after parts of window has pending redraw, i.e., when 42513 changed_lines() is called after redrawWinline() (zeertzjq). 42514 42515 Patch 9.1.0101 42516 Problem: upper-case of ß should be U+1E9E (CAPITAL LETTER SHARP S) 42517 (fenuks) 42518 Solution: Make gU, ~ and g~ convert the U+00DF LATIN SMALL LETTER SHARP S (ß) 42519 to U+1E9E LATIN CAPITAL LETTER SHARP S (ẞ), update tests 42520 (glepnir) 42521 42522 Patch 9.1.0102 42523 Problem: settabvar() may change the last accessed tabpage. 42524 Solution: Save and restore lastused_tabpage (zeertzjq). 42525 42526 Patch 9.1.0103 42527 Problem: 'breakindentopt' "min" works incorrectly with 'signcolumn'. 42528 Solution: Use win_col_off() and win_col_off2() (zeertzjq). 42529 42530 Patch 9.1.0104 42531 Problem: Linking fails with -lto because of PERL_CFLAGS (Zoltan Toth) 42532 Solution: Filter out -flto argument from Perl CFLAGS. 42533 42534 Patch 9.1.0105 42535 Problem: Style: typos found 42536 Solution: correct them (zeertzjq). 42537 42538 Patch 9.1.0106 42539 Problem: Visual highlight hard to read with 'termguicolors' (Maxim Kim) 42540 Solution: Set Visual GUI foreground to black (with background=light) 42541 and lightgrey (with background=dark) (Maxim Kim). 42542 42543 Patch 9.1.0107 42544 Problem: CI: Fix MacOS-14 tests (after 9.1.0070) 42545 Solution: Re-enable sound tests by granting Mic access, disable 42546 Test_diff_screen because of buggy MacOS diff (non GNU version), 42547 re-enable Test_term_gettitle() (Yee Cheng Chin) 42548 42549 Patch 9.1.0108 42550 Problem: filetype: no support for dtso files 42551 Solution: Add detection for *.dtso files as dts file type (Markus 42552 Schneider-Pargmann) 42553 42554 Patch 9.1.0109 42555 Problem: filetype: no support for its files 42556 Solution: Add detection for *.its files as dts file type (Brandon Maier) 42557 42558 Patch 9.1.0110 42559 Problem: No support for Config.in filetype 42560 Solution: filetype: add 'Config.in' filetype detection 42561 42562 Patch 9.1.0111 42563 Problem: filetype: no support for bats files 42564 Solution: Add .bats filetype support 42565 42566 Patch 9.1.0112 42567 Problem: When the quickfix buffer has been modified an autocommand may 42568 invalidate the undo stack (kawarimidoll) 42569 Solution: When clearing the quickfix buffer, also wipe the undo stack 42570 42571 Patch 9.1.0113 42572 Problem: duplicate code when cleaning undo stack 42573 Solution: refactor undo cleanup into a single public function 42574 42575 Patch 9.1.0114 42576 Problem: Setting some options changes curswant unnecessarily. 42577 Solution: Add a P_HLONLY flag that prevents changing curswant (zeertzjq). 42578 42579 Patch 9.1.0115 42580 Problem: Using freed memory with full tag stack and user data 42581 (Konstantin Khlebnikov) 42582 Solution: Clear the user data pointer of the newest entry (zeertzjq, 42583 Konstantin Khlebnikov). 42584 42585 Patch 9.1.0116 42586 Problem: win_split_ins has no check for E36 when moving an existing 42587 window 42588 Solution: check for room and fix the issues in f_win_splitmove() 42589 (Sean Dewar) 42590 42591 Patch 9.1.0117 42592 Problem: win_splitmove fires WinNewPre and possibly WinNew when moving 42593 windows, even though no new windows are created. 42594 Solution: Don't fire WinNew and WinNewPre when inserting an existing window, 42595 even if it isn't the current window. Improve the accuracy of related 42596 documentation. (Sean Dewar) 42597 42598 Patch 9.1.0118 42599 Problem: saving and restoring all frames to split-move is overkill now 42600 that WinNewPre is not fired when split-moving. 42601 Solution: defer the flattening of frames until win_split_ins begins 42602 reorganising them, and attempt to restore the layout by undoing our 42603 changes. (Sean Dewar) 42604 42605 Patch 9.1.0119 42606 Problem: can switch windows while textlocked via f_win_gotoid and 42607 f_win_splitmove (which also allows switching in the cmdwin). 42608 Solution: Check text_or_buf_locked in f_win_splitmove() (Sean Dewar) 42609 42610 Patch 9.1.0120 42611 Problem: hard to get visual region using Vim script 42612 Solution: Add getregion() Vim script function (Shougo Matsushita, Jakub 42613 Łuczyński) 42614 42615 Patch 9.1.0121 42616 Problem: infinite loop in win_update with 'smoothscroll' set when 42617 window width is equal to textoff, or signed integer overflow 42618 if smaller. 42619 Solution: Don't revalidate wp->w_skipcol in that case, as no buffer text 42620 is being shown. (Sean Dewar) 42621 42622 Patch 9.1.0122 42623 Problem: Some minor issues with the getregion() function 42624 Solution: Fix examples in the help, use OP_NOP op_type and MBLOCK 42625 as motion_type in f_getreg(), update vim syntax to for getregion() 42626 (Maxim Kim) 42627 42628 Patch 9.1.0123 42629 Problem: MS-Windows: system() may deadlock when calling binaries that 42630 expect stdin 42631 Solution: Ignore the SHELL_EXPAND flag (GuyBrush) 42632 42633 Patch 9.1.0124 42634 Problem: Virtual text with text_align 'right'/'below' wasn't being used when 42635 a non-virtual text property overlaps with the end of the line. This 42636 was because the non-virtual text property had a higher priority, 42637 preventing the virtual text from being used. 42638 Solution: Fix the sorting of text properties so virtual text properties have a 42639 higher priority than non-virtual text properties (Dylan 42640 Thacker-Smith). 42641 42642 Patch 9.1.0125 42643 Problem: unused init of text_prop_idxs in win_line 42644 Solution: Remove it, fix typo (Dylan Thacker-Smith). 42645 42646 Patch 9.1.0126 42647 Problem: Internal error when passing mark in another buffer to getregion(). 42648 Solution: Don't allow marks in another buffer (zeertzjq) 42649 42650 Patch 9.1.0127 42651 Problem: Naming a non-pointer variable "oap" is strange. 42652 Solution: Rename it to "oa". Also prevent using freed memory in case of memory 42653 allocation failure (zeertzjq). 42654 42655 Patch 9.1.0128 42656 Problem: win_gotoid() checks for textlock and other things when switching 42657 to a window that is already current (after v9.1.0119) 42658 Solution: return early with success when attempting to switch to curwin 42659 (Sean Dewar) 42660 42661 Patch 9.1.0129 42662 Problem: Virtual text with text_wrap 'wrap' was effectively being truncated 42663 by a break conditional on the EOL list character being added to the 42664 screen line. (BigPeet) 42665 Solution: Remove the condition that was leading to the early break and instead 42666 fix a similar but incorrectly written outer condition that checks if 42667 there is more to add at the end of the screen line. (Dylan 42668 Thacker-Smith) 42669 42670 Patch 9.1.0130 42671 Problem: heap-use-after-free in win_splitmove if Enter/Leave autocommands 42672 from win_split_ins immediately closes "wp". 42673 Solution: check that "wp" is valid after win_split_ins (Sean Dewar). 42674 42675 Patch 9.1.0131 42676 Problem: buffer-completion code too complicated and does not always find all 42677 matches (irisjae) 42678 Solution: do not try to anchor pattern to beginning of line or 42679 directory-separator, always return all matches 42680 42681 Patch 9.1.0132 42682 Problem: using "C" and 've=all' set, doesn't include composing chars when 42683 changing a line, keeps the composing chars for whatever is typed 42684 afterwards. 42685 Solution: Use mb_head_off() and mb_ptr2len() instead of mb_tail_off(). 42686 (zeertzjq) 42687 42688 Patch 9.1.0133 42689 Problem: font ligatures don't render correctly in the Win32 GUI-version of 42690 gvim even when set rop=type:directx is used. Setting guiligatures 42691 also doesn't make any difference. This leads to broken font 42692 ligatures when the cursor passes through them. It does not recover 42693 from this, and they remain broken until you re-render the whole 42694 buffer (e.g. by using Ctrl+L). 42695 Solution: The problem is that we only re-draw the current and previous 42696 character in gui_undraw_cursor() and only have the special case for 42697 GTK when it comes to rendering ligatures. So let's enable 42698 gui_adjust_undraw_cursor_for_ligatures() to also happen for Win32 42699 GUI if guiligatures is setup correctly (all this does is expand the 42700 range of gui_undraw_cursor() with ligature characters). 42701 42702 Patch 9.1.0134 42703 Problem: Test_term_gettitle() is flaky on MacOS 14 and Github runners 42704 Solution: Skip the test on Github CI 42705 42706 Patch 9.1.0135 42707 Problem: Insufficient testing for 'delcombine'. 42708 Solution: Add test for both Normal and Insert modes without Arabic (zeertzjq). 42709 42710 Patch 9.1.0136 42711 Problem: Vim9: need more test for exists() 42712 Solution: Add test for exists() with class/objct variables and methods 42713 (Yegappan Lakshmanan) 42714 42715 Patch 9.1.0137 42716 Problem: <Del> in cmdline mode doesn't delete composing chars 42717 Solution: Use mb_head_off() and mb_ptr2len() (zeertzjq). 42718 42719 Patch 9.1.0138 42720 Problem: too many STRLEN calls when getting a memline 42721 Solution: Optimize calls to STRLEN(), add a few functions in memline.c 42722 that return the byte length instead of relying on STRLEN() (John 42723 Marriott). 42724 42725 Patch 9.1.0139 42726 Problem: MS-Windows: ligatures map cleared on startup 42727 Solution: Don't clear the ligatures_map, if the guiligatures option has 42728 already been set (Erik S. V. Jansson) 42729 42730 Patch 9.1.0140 42731 Problem: The cursor screen row was incorrectly being calculated when the 42732 cursor follows a 1 character text_align 'below' virtual text line, 42733 resulting in the cursor being shown on the wrong line. This was 42734 caused by a cell size of 2 instead of 1 being used for the EOL 42735 character, which propagated to the calculation of space for putting 42736 the 'below' virtual text on its own line. (rickhowe) 42737 Solution: Fix the size used for the EOL character in calculating the cursor's 42738 screen position (Dylan Thacker-Smith). 42739 42740 Patch 9.1.0141 42741 Problem: Put in Visual mode wrong if it replaces fold marker. 42742 Solution: Temporarily disable folding during put in Visual mode (zeertzjq). 42743 42744 Patch 9.1.0142 42745 Problem: getregion() can be improved (after v9.1.120) 42746 Solution: change getregion() implementation to use pos as lists and one 42747 optional {opt} dictionary (Shougo Matsushita) 42748 42749 Patch 9.1.0143 42750 Problem: [security]: autocmd cause use-after-free in set_curbuf() 42751 (kawarimidoll) 42752 Solution: check side-effect of BufLeave autocommand, when the number 42753 of windows changed, close windows containing buffers that will 42754 be wiped, if curbuf changed unexpectedly make sure b_nwindows 42755 is decremented otherwise it cannot be wiped 42756 42757 Patch 9.1.0144 42758 Problem: getregion() needs more tests 42759 Solution: Run the getregion() test in both the legacy and Vim9 contexts 42760 (Yegappan Lakshmanan) 42761 42762 Patch 9.1.0145 42763 Problem: the amount of available space (v:echospace) on the command line is 42764 not correct when showcmdloc is drawn into the statusline or tabline. 42765 Solution: only add SHOWCMD_COLS to the shown command column when 'showcmdloc' 42766 is set to last (Sam-programs) 42767 42768 Patch 9.1.0146 42769 Problem: v:echospace wrong after setting invalid value to 'showcmdloc'. 42770 Solution: Only call comp_col() if value is valid (zeertzjq). 42771 42772 Patch 9.1.0147 42773 Problem: Cannot keep a buffer focused in a window (Amit Levy) 42774 Solution: Add the 'winfixbuf' window-local option (Colin Kennedy). 42775 42776 Patch 9.1.0148 42777 Problem: Vim9: can't call internal methods with objects 42778 Solution: Add support for empty(), len() and string() function calls for 42779 objects (Yegappan Lakshmanan) 42780 42781 Patch 9.1.0149 42782 Problem: qf_goto_win_with_qfl_file may check if prevwin has 'winfixbuf' 42783 set without checking if it's valid first. 42784 Solution: Reverse the condition. Add a test, a modeline, and a missing 42785 CheckFeature. (Searn Dewar) 42786 42787 Patch 9.1.0150 42788 Problem: several minor 'winfixbuf' issues exist, mostly relating to the 42789 quickfix list 42790 Solution: address them and adjust tests. Retab and reflow a few things too. 42791 (Sean Dewar) 42792 42793 Patch 9.1.0151 42794 Problem: ml_get_buf_len() does not consider text properties (zeertzj) 42795 Solution: Store text length excluding text properties length 42796 in addition in the memline 42797 42798 Patch 9.1.0152 42799 Problem: Coverity complains about ignoring return value of win_split() 42800 (after v9.1.150) 42801 Solution: Check if win_split() failed, add winfixbuf.res to Makefile 42802 42803 Patch 9.1.0153 42804 Problem: Text properties corrupted with fo+=aw and backspace 42805 Solution: Allocate line and move text properties (zeertzjq). 42806 42807 Patch 9.1.0154 42808 Problem: shm=F not respected when reloading buffer with 'autoread' 42809 Solution: Check SHM_FILEINFO in buf_check_timestamp() (Shougo Matsushita). 42810 42811 Patch 9.1.0155 42812 Problem: can only call getregion() for current buffer 42813 Solution: Allow to retrieve selections from different buffers (Shougo 42814 Matsushita). 42815 42816 Patch 9.1.0156 42817 Problem: may not be clear why failing to split causes an ":Xdo" command to 42818 abort if 'wfb' is set. 42819 Solution: Do not return immediately if win_split fails, so E1513 is still 42820 given. Expect both errors in the test. Also fix tests to pass CI 42821 (Sean Dewar). 42822 42823 Patch 9.1.0157 42824 Problem: Duplicate assignment in f_getregion(). 42825 Solution: Remove the duplicate assignment. Also improve getregion() docs 42826 wording and fix an unrelated typo (zeertzjq). 42827 42828 Patch 9.1.0158 42829 Problem: 'shortmess' "F" flag doesn't work properly with 'autoread' 42830 (after 9.1.0154) 42831 Solution: Hide the file info message instead of the warning dialog 42832 (zeertzjq) 42833 42834 Patch 9.1.0159 42835 Problem: Crash in WinClosed after BufUnload closes other windows 42836 Solution: Don't trigger WinClosed if the buffer is NULL (zeertzjq). 42837 42838 42839 Patch 9.1.0160 42840 Problem: Add support for using a class type of itself in an object method 42841 (thinca) 42842 Solution: Vim9: Add support for using a class type of itself in an 42843 object method (Yegappan Lakshmanan) 42844 42845 Patch 9.1.0161 42846 Problem: expand() removes a slash after an environment variable that ends 42847 with a colon on Windows. 42848 Solution: Check the correct char for a colon (zeertzjq) 42849 42850 Patch 9.1.0162 42851 Problem: Problem with writing extended attributes on failure 42852 Solution: Change return type to ssize_t and check listxattr's return 42853 value correctly on failure (Paul Tagliamonte) 42854 42855 Patch 9.1.0163 42856 Problem: Calling STRLEN() to compute ml_line_textlen when not needed. 42857 Solution: Use 0 when STRLEN() will be required and call STRLEN() later. 42858 (zeertzjq) 42859 42860 Patch 9.1.0164 42861 Problem: Internal error or crash when passing invalid position to 42862 getregion(). 42863 Solution: Give an error for invalid position (zeertzjq). 42864 42865 Patch 9.1.0165 42866 Problem: Vim9: Importing an autoload imported script fails 42867 (Song-Tianxiang) 42868 Solution: Return the script ID in this case (Yegappan Lakshmanan). 42869 42870 Patch 9.1.0166 42871 Problem: Internal error with blockwise getregion() in another buffer 42872 Solution: Also change curwin->w_buffer when changing curbuf (zeertzjq). 42873 42874 Patch 9.1.0167 42875 Problem: Changing buffer in another window using win_execute() causes 42876 it to show matchparen (after 9.0.0969). 42877 Solution: Delay highlighting with SafeState in BufWinEnter (zeertzjq). 42878 42879 Patch 9.1.0168 42880 Problem: too many STRLEN() calls 42881 Solution: Make use of ml_get_len() calls instead (John Marriott). 42882 42883 Patch 9.1.0169 42884 Problem: current window number returned by tabpagewinnr may be outdated when 42885 called from win_execute for the original tabpage. 42886 Solution: update the original tabpage's tp_curwin in switch_win; use 42887 {un}use_tabpage instead. Don't do it in restore_win to ensure 42888 tp_curwin of the temporarily visited tabpage is unchanged from 42889 switch_win visiting it, as before. (Sean Dewar) 42890 42891 Patch 9.1.0170 42892 Problem: more places exist where curwin == prevwin, and it may even be 42893 expected in some cases. 42894 Solution: revert v9.1.0001, but document that it's possible instead. 42895 (Sean Dewar) 42896 42897 Patch 9.1.0171 42898 Problem: small improvements can be made to split-move related functions. 42899 Solution: apply them (Sean Dewar): 42900 42901 Patch 9.1.0172 42902 Problem: More code can use ml_get_buf_len() instead of STRLEN(). 42903 Solution: Change more STRLEN() calls to ml_get_buf_len(). Also do not 42904 set ml_line_textlen in ml_replace_len() if "has_props" is set, 42905 because "len_arg" also includes the size of text properties in 42906 that case (zeertzjq). 42907 42908 Patch 9.1.0173 42909 Problem: msgfmt ver. 0.22 forcibly converts text to UTF-8 42910 Solution: use '--no-convert' if msgfmt supports it. Add a configure 42911 check for the msgfmt version (RestorerZ). 42912 42913 Patch 9.1.0174 42914 Problem: 'cursorline' and 'wincolor' highlight missing with concealed and 42915 wrapped lines. 42916 Solution: Apply 'cursorline' and 'wincolor' highlight to boguscols. 42917 (zeertzjq) 42918 42919 Patch 9.1.0175 42920 Problem: winframe functions incorrectly recompute window positions if 42921 the altframe wasn't adjacent to the closed frame, which is 42922 possible if adjacent windows had 'winfix{width,height}' set. 42923 Solution: recompute for windows within the parent of the altframe and 42924 closed frame. Skip this (as before) if the altframe was 42925 top/left, but only if adjacent to the closed frame, as 42926 positions won't change in that case. Also correct the return 42927 value documentation for win_screenpos. (Sean Dewar) 42928 42929 Patch 9.1.0176 42930 Problem: Cursor column wrong with 'virtualedit' and conceal. 42931 Solution: Correct cursor column at end of line if never reached (zeertzjq). 42932 42933 Patch 9.1.0177 42934 Problem: Coverity reports dead code. 42935 Solution: Remove the dead code. Also fix a mistake in ml_get_pos_len() 42936 and update some comments (zeertzjq). 42937 42938 Patch 9.1.0178 42939 Problem: E1513 might be confusing (Christoph Thoma) 42940 Solution: Reword error message, fix test to not depend on the actual message. 42941 42942 Patch 9.1.0179 42943 Problem: 'wincolor' highlight missing with "below" virtual text. 42944 Solution: Subtract n_attr_skip from n_attr. Combine 'wincolor' with other 42945 highlights when 'nowrap' is set (zeertzjq). 42946 42947 Patch 9.1.0180 42948 Problem: Cursor pos wrong when double-width chars are concealed. 42949 Solution: Advance one more virtual column for a double-width char. Run some 42950 tests with both 'wrap' and 'nowrap' (zeertzjq). 42951 42952 Patch 9.1.0181 42953 Problem: no overflow check for string formatting 42954 Solution: Check message formatting function for overflow (Chris van Willegen). 42955 42956 Patch 9.1.0182 42957 Problem: Can define function with invalid name inside 'formatexpr'. 42958 Solution: Use goto instead of checking for did_emsg later (zeertzjq). 42959 42960 Patch 9.1.0183 42961 Problem: Wrong display or screenpos() result when toggling diff mode. 42962 Solution: Reset w_skipcol when disabling 'wrap'. Reset w_leftcol when 42963 enabling 'wrap' (zeertzjq). 42964 42965 Patch 9.1.0184 42966 Problem: Cursor position wrong when clicking with conceal and wrap. 42967 Solution: Use the virtual column of the last char for ScreenCols[] in 42968 boguscols. Remove use of MAXCOL in ScreenCols[]. Rename 42969 third argument of wlv_screen_line() to "clear_end" as that's 42970 clearer what it does (zeertzjq). 42971 42972 Patch 9.1.0185 42973 Problem: 'wincolor' highlight missing with 'rightleft', "below" virtual 42974 text and 'nowrap'. 42975 Solution: Handle 'rightleft' in draw_screen_line() (zeertzjq). 42976 42977 Patch 9.1.0186 42978 Problem: Wrong cursor position when clicking after end of line with 42979 'rightleft', 'virtualedit' and conceal. 42980 Solution: Set values in ScreenCols[] also with SLF_RIGHTLEFT. Also fix 42981 off-by-one cursor position with 'colorcolumn' (zeertzjq). 42982 42983 Patch 9.1.0187 42984 Problem: Dafny files are not recognized. 42985 Solution: Recognize *.dfy files as filetype "dafny" (zeertzjq). 42986 42987 Patch 9.1.0188 42988 Problem: Vento files are not recognized. 42989 Solution: Recognize *.vto files as filetype "vento" (wrapperup) 42990 42991 Patch 9.1.0189 42992 Problem: Memory leak with "above" virtual text and 'relativenumber'. 42993 Solution: Free "text_props" and "text_prop_idxs" before returning. 42994 Also fix off-by-one error causing line number to be drawn 42995 beyond end of window (zeertzjq). 42996 42997 Patch 9.1.0190 42998 Problem: complete_info() returns wrong order of items (after v9.0.2018) 42999 Solution: Revert Patch v9.0.2018 (Girish Palya) 43000 43001 Patch 9.1.0191 43002 Problem: Installer does not remove all files 43003 Solution: Update installer and delete all files on uninstall update Sodium 43004 library dependency, update Readme (RestorerZ) 43005 43006 Patch 9.1.0192 43007 Problem: :drop tries to :rewind the argumentlist, which results in E37 43008 (after v9.1.0046) 43009 Solution: Instead of calling ex_rewind(), call open_buffer() only when 43010 re-using the initial empty buffer 43011 43012 Patch 9.1.0193 43013 Problem: May leak memory in completion when ga_grow() fails. 43014 Solution: Free "wca" when ga_grow() fails (zeertzjq). 43015 43016 Patch 9.1.0194 43017 Problem: gcc complains about uninitialized var (Tony Mechelynck) 43018 Solution: Initialize to NULL 43019 43020 Patch 9.1.0195 43021 Problem: memleak with ex_drop(), NULL dereference (zeertzjq) 43022 Solution: Revert back to ex_rewind(), use curbuf instead of buf 43023 43024 Patch 9.1.0196 43025 Problem: filetype: support for gnuplot files is lacking 43026 Solution: Also detect *.gnuplot files (RobbiZ98). 43027 43028 Patch 9.1.0197 43029 Problem: Vim9: problem evaluating negated boolean logic (lxhillwind) 43030 Solution: Don't clear the first value on short circuit evaluation 43031 (Yegappan Lakshmanan) 43032 43033 Patch 9.1.0198 43034 Problem: Vim9: compound operators broken for lambdas in an object 43035 (girishji) 43036 Solution: When using an object from the outer scope, use the LOADOUTER 43037 instruction to load the object (Yegappan Lakshmanan). 43038 43039 Patch 9.1.0199 43040 Problem: Not enough tests for the slice() function. 43041 Solution: Test with multibyte chars, and in both Legacy and Vim9 script. 43042 Update docs to be clearer about how it treats composing chars 43043 (zeertzjq). 43044 43045 Patch 9.1.0200 43046 Problem: `gj`/`gk` was updating the desired cursor virtual column to 43047 the outer virtual text, even though the actual cursor position 43048 was moved to not be on the virtual text, leading the need to 43049 do an extra `gj`/`gk` to move past each virtual text line (rickhowe). 43050 Solution: Exclude the outer virtual text when getting the line length 43051 for moving the cursor with `gj`/`gk`, so that no extra movement is 43052 needed to skip over virtual text lines (Dylan Thacker-Smith). 43053 43054 Patch 9.1.0201 43055 Problem: `gM` would include outer virtual text and its padding when 43056 getting the line length used to calculate the middle of the 43057 line, putting the cursor much closer to virtual text lines. 43058 Solution: Exclude outer virtual text in getting the line length for 43059 `gM`, so that virtual text doesn't influence where the cursor 43060 is moved to (Dylan Thacker-Smith). 43061 43062 Patch 9.1.0202 43063 Problem: leaking memory in add_user() (LuMingYinDetect) 43064 Solution: Free user_copy pointer instead of the user ptr 43065 43066 Patch 9.1.0203 43067 Problem: build-error on GNU HURD 43068 Solution: Define _XOPEN_SOURCE like for Android and Cygwin 43069 (James McCoy) 43070 43071 Patch 9.1.0204 43072 Problem: Backspace inserts spaces with virtual text and 'smarttab'. 43073 Solution: Ignore virtual text and wrapping when backspacing (zeertzjq). 43074 43075 Patch 9.1.0205 43076 Problem: Cannot use modifiers before :-Ntabmove. 43077 Solution: Check backwards from the command instead of checking from the start 43078 of the command line. Slightly adjust docs to make them more 43079 consistent (zeertzjq). 43080 43081 Patch 9.1.0206 43082 Problem: unused display_text_first boolean var in win_line() 43083 Solution: Remove unused display_text_first boolean variable 43084 (Dylan Thacker-Smith) 43085 43086 Patch 9.1.0207 43087 Problem: No autocommand when writing session file 43088 Solution: Add SessionWritePost autocommand (Colin Kennedy). 43089 43090 Patch 9.1.0208 43091 Problem: winfixbuf does not allow to re-edit current buffer 43092 (Tim Pope, after v9.1.0147) 43093 Solution: Explicitly allow :e even when 'winfixbuf' is set, 43094 since it just re-loads the current buffer (Colin Kennedy). 43095 43096 Patch 9.1.0209 43097 Problem: leaking memory in exe_newdict() on error (LuMingYinDetect) 43098 Solution: free allocated dict if GA_GROW_FALIS() 43099 43100 Patch 9.1.0210 43101 Problem: Motif: leaking memory when mui_mch_dialog() fails (LuMingYinDetect) 43102 Solution: When allocating the label using the XmStringCreateLtoR() 43103 function fails, before returning also free the allocated 43104 buttons pointer. 43105 43106 Patch 9.1.0211 43107 Problem: Page-wise scrolling with Ctrl-F/Ctrl-B implements it's own logic to 43108 change the topline and cursor. In doing so, skipcol is not handled 43109 properly for 'smoothscroll', and virtual lines. 43110 Solution: Re-use the logic from Ctrl-E/Ctrl-Y while staying backward 43111 compatible as much as possible. 43112 43113 Patch 9.1.0212 43114 Problem: CI: MS-Windows fails in test_winfixbuf (after v9.1.208) 43115 Solution: Skip Ms-Windows for now, fix style 43116 43117 Patch 9.1.0213 43118 Problem: CI: MS-Windows fails in test_winfixbuf (after v9.1.208) 43119 Solution: Instead of skipping the test, write the file so it exists on disk, 43120 to verify that MS-Windows short filename expansion is successful. 43121 (Sean Dewar) 43122 43123 Patch 9.1.0214 43124 Problem: Duplicate condition in win_lbr_chartabsize(). 43125 Solution: Remove the duplicate condition, as it's already checked above. 43126 (zeertzjq) 43127 43128 Patch 9.1.0215 43129 Problem: Page-wise scrolling with Ctrl-D/Ctrl-U implements 43130 it's own logic to change the topline and cursor. 43131 More logic than necessary for scrolling with Ctrl-F/Ctrl-B 43132 was removed in Patch 9.1.0211. 43133 Solution: Re-use the logic from Ctrl-E/Ctrl-Y/Ctrl-F/Ctrl-B while 43134 staying backward compatible as much as possible. 43135 Restore some of the logic that determined how many lines will 43136 be scrolled (Luuk van Baal) 43137 43138 Patch 9.1.0216 43139 Problem: Error on exit with EXITFREE and 'winfixbuf'. 43140 Solution: Handle DT_FREE before checking for 'winfixbuf' (zeertzjq). 43141 43142 Patch 9.1.0217 43143 Problem: regexp: verymagic cannot match before/after a mark 43144 Solution: Correctly check for the very magic check (Julio B) 43145 43146 Patch 9.1.0218 43147 Problem: Unnecessary multiplications in backspace code, as "col / ts * ts" is 43148 the same as "col - col % ts". 43149 Solution: Change "col / ts * ts" to "col - col % ts". Adjust the loop 43150 and the comments ins_bs() to be easier to understand. Update 43151 tests to reset 'smarttab' properly (zeertzjq). 43152 43153 Patch 9.1.0219 43154 Problem: No enum support 43155 Solution: Implement enums for Vim9 script (Yegappan Lakshmanan) 43156 43157 Patch 9.1.0220 43158 Problem: Typos in code and tests. 43159 Solution: Fix typos (zeertzjq). 43160 43161 Patch 9.1.0221 43162 Problem: The if branch to set `text_prop_follows` was both checking if 43163 it was at the end of the buffer text line or if it was at the 43164 end of the screen line, but the former being true skipped 43165 a guard condition in the latter to only consider 'below' 43166 virtual text to follow. `text_prop_follows` being improperly 43167 set caused it to skip a conditional block to break at the end 43168 as well as one to move `ptr` to the end of the text line, 43169 while repeated for each following line of the window. 43170 Solution: Move the check for whether 'below' virtual text should follow 43171 so it is also used when at the end of the buffer text line. 43172 (Dylan Thacker-Smith) 43173 43174 Patch 9.1.0222 43175 Problem: When a line is truncated just before 'after'/'right' virtual 43176 text and the line also has 'below' virtual text, then the 43177 'below' virtual text would not be displayed, depending on the 43178 order these text properties were added. 43179 Solution: In the loop to make text properties active, skip instead of 43180 break for 'after'/'right' virtual text properties that are 43181 ignored due to truncation, so following 'below' text properties can 43182 still be made active. Similarly, a loop is needed to determine if a 43183 text property follows at the end of the screen. (Dylan 43184 Thacker-Smith) 43185 43186 Patch 9.1.0223 43187 Problem: There are two dense conditions with duplication that needs to 43188 be kept in sync between the while loop break condition and the 43189 condition to skip certain text properties. 43190 Solution: Refactor the loop by moving while loop conditions into the body of 43191 the while loop so they can be shared with skip conditions. `break` 43192 and an `active` variable are used to handle the outcome of these 43193 merged conditions (Dylan Thacker-Smith). 43194 43195 Patch 9.1.0224 43196 Problem: If a line has "right" & "below" virtual text properties, where the 43197 "below" property may be stored first due to lack of ordering between 43198 them, then the line height is calculated to be 1 more and causes the 43199 cursor to far over the line. 43200 Solution: Remove some unnecessary setting of a `next_right_goes_below = TRUE` 43201 flag for "below" and "above" text properties. (Dylan Thacker-Smith) 43202 43203 Patch 9.1.0225 43204 Problem: test_matchparen not run in CI 43205 Solution: add test_matchparen.res to NEW_TESTS_RES in Makefile, update changed 43206 highlighting dump from v9.1.61 43207 43208 Patch 9.1.0226 43209 Problem: Not able to assign enum values to an enum static variable 43210 (zzzyxwvut) 43211 Solution: Make it work (Yegappan Lakshmanan) 43212 43213 Patch 9.1.0227 43214 Problem: Recording may still be wrong in Select mode (after 8.2.3993). 43215 Solution: Make sure a character isn't split between two buffer blocks 43216 (zeertzjq). 43217 43218 Patch 9.1.0228 43219 Problem: Two unrelated things are tested by a single test. 43220 Solution: Split it into two, restoring the old Test_brace_single_line(). 43221 Add missing cleanup to some tests (zeertzjq). 43222 43223 Patch 9.1.0229 43224 Problem: Error E877 is not translated (RestorerZ) 43225 Solution: Declare the error with N_ to mark it as translatable, add _() 43226 around the error message in regexp_nfa.c 43227 43228 Patch 9.1.0230 43229 Problem: TextChanged autocommand not triggered under some circumstances 43230 (Sergey Vlasov) 43231 Solution: Trigger TextChanged when TextChangedI has not been triggered 43232 43233 Patch 9.1.0231 43234 Problem: Filetype may be undetected when a SwapExists autocommand sets 43235 filetype in another buffer. 43236 Solution: Make filetype detection state buffer-specific. Also fix a 43237 similar problem for 'modified' (zeertzjq). 43238 43239 Patch 9.1.0232 43240 Problem: Conceal test fails when rightleft feature is disabled. 43241 Solution: Skip test if rightleft feature is missing (Julio B). 43242 43243 Patch 9.1.0233 43244 Problem: Vim9: string() output of enum is problematic 43245 Solution: Make string() output for an enum consistent with that of a 43246 regular object (Yegappan Lakshmanan). 43247 43248 Patch 9.1.0234 43249 Problem: filetype: support for Intel HEX files is lacking 43250 Solution: Add more file extensions that are typical for Intel HEX files 43251 (Wu, Zhenyu) 43252 43253 Patch 9.1.0235 43254 Problem: filetype: supertux files are not recognized 43255 Solution: Supertux uses lisp to store hotkeys in config and game stage 43256 information, so add a pattern for supertux files (Wu, Zhenyu). 43257 43258 Patch 9.1.0236 43259 Problem: filetype: texlua files are not recognized 43260 Solution: Add '*.tlu' pattern for texlua files (Wu, Zhenyu) 43261 43262 Patch 9.1.0237 43263 Problem: filetype: mplstyle files are not recognized 43264 Solution: Detect '*.mplstyle' files as yaml (Wu, Zhenyu) 43265 43266 Patch 9.1.0238 43267 Problem: filetype: jupyterlab and sublime config are not recognized 43268 Solution: Detect jupyterlab and sublime config files as json (Wu, Zhenyu). 43269 43270 Patch 9.1.0239 43271 Problem: filetype: gnuplot history files are not recognised 43272 Solution: detect .gnuplot_history files as gnuplot (Wu, Zhenyu). 43273 43274 Patch 9.1.0240 43275 Problem: filetype: some python tools config files are not recognized 43276 Solution: Detect config files for setuptools, pudb, coverage as dosini 43277 (Wu, Zhenyu) 43278 43279 Patch 9.1.0241 43280 Problem: filetype: mysql history files are not recognized 43281 Solution: Detect .mysql_history as mysql (Wu, Zhenyu). 43282 43283 Patch 9.1.0242 43284 Problem: filetype: octave history files are not recognized 43285 Solution: Detect octave/history files as octave (Wu, Zhenyu). 43286 43287 Patch 9.1.0243 43288 Problem: filetype: netrw history file is not recognized 43289 Solution: Detect .netrwhist as vim files (Wu, Zhenyu). 43290 43291 Patch 9.1.0244 43292 Problem: filetype: bash history files are not recognized 43293 Solution: detect .bash-history and .bash_history files as bash (Wu, Zhenyu). 43294 43295 Patch 9.1.0245 43296 Problem: filetype: zsh theme, history and zunit files are not 43297 recognized. 43298 Solution: Detect '.zsh_history', '*.zsh-theme' and '*.zunit' as zsh 43299 (Wu, Zhenyu) 43300 43301 Patch 9.1.0246 43302 Problem: filetype: fontconfig files are not recognized 43303 Solution: detect 'fonts.conf' as xml (Wu, Zhenyu). 43304 43305 Patch 9.1.0247 43306 Problem: filetype: bundle config files are not recognized 43307 Solution: Detect '*/.bundle/config' as yaml (Wu, Zhenyu). 43308 43309 Patch 9.1.0248 43310 Problem: filetype: yarn lock files are not recognized 43311 Solution: Detect 'yarn.lock' files as yaml (Wu, Zhenyu). 43312 43313 Patch 9.1.0249 43314 Problem: filetype: rock_manifest and config.ld files are not recognized 43315 Solution: Detect 'rock_manifest' and 'config.ld' as lua (Wu, Zhenyu). 43316 43317 Patch 9.1.0250 43318 Problem: filetype: ldscripts cannot be recognized 43319 Solution: Detect '*/ldscripts/*' as ld (Wu, Zhenyu). 43320 43321 Patch 9.1.0251 43322 Problem: Filetype test fails. 43323 Solution: Move detection by name before detection by extension. 43324 Improve TextChanged test and remove wrong test and fix 43325 a typo in a comment (zeertzjq). 43326 43327 Patch 9.1.0252 43328 Problem: Vim9: segfault with static in super class (Ernie Rael) 43329 Solution: When initializing lhs, use the correct class where a class 43330 variable is defined (Yegappan Lakshmanan) 43331 43332 Patch 9.1.0253 43333 Problem: filetype: typespec files are not recognized 43334 Solution: Detect '*.tsp' files as typespec (Hilmar Wiegand) 43335 43336 Patch 9.1.0254 43337 Problem: [security]: Heap buffer overflow when calling complete_add() 43338 in the first call of 'completefunc' 43339 Solution: Call check_cursor() after calling 'completefunc' (zeertzjq). 43340 43341 Patch 9.1.0255 43342 Problem: Vim9: no indication of script nr in stack trace of classes 43343 Solution: Prefix the class name with the script name in the stack trace. 43344 (Ernie Rael) 43345 43346 Patch 9.1.0256 43347 Problem: Finding autocmd events is inefficient 43348 Solution: Use binary search to find events, cache last found events, 43349 avoid use of strlen(), add SessionWritePost autocmd, fix 43350 test_codestyle and avoid endless loop (John Marriott). 43351 43352 Patch 9.1.0257 43353 Problem: Vim9: :call may not find imported class members (mityu) 43354 Solution: Set the typval of an imported lval variable correctly 43355 (Yegappan Lakshmanan) 43356 43357 Patch 9.1.0258 43358 Problem: Support for 'smoothscroll' in (half-)page scrolling 43359 broke backward compatibility and can be made to work better. 43360 (after v9.1.215) 43361 Solution: Restore the previous cursor and end-of-buffer behavior for 43362 half-page scrolling and improve 'smoothscroll' support. 43363 (Luuk van Baal) 43364 43365 Patch 9.1.0259 43366 Problem: Normal mode TextChanged isn't tested properly. 43367 Solution: Combine Test_Changed_ChangedI() and Test_Changed_ChangedI_2() 43368 and also run it on Windows. Fix a typo in main.c (zeertzjq). 43369 43370 Patch 9.1.0260 43371 Problem: "zb" does not reveal filler lines at the start of a buffer. 43372 Scrolled cursor position with 'smoothscroll' is unpredictable, 43373 and may reset skipcol later if it is not visible (after v9.1.258) 43374 Solution: Replace confusing for loop that reaches final control value too 43375 early with while loop. Set "w_curswant" accordingly so cursor 43376 will be placed in visible part of topline (Luuk van Baal). 43377 43378 Patch 9.1.0261 43379 Problem: Vim9: protected class and funcrefs accessible outside the class 43380 (Aliaksei Budavei) 43381 Solution: Check if class and object funcrefs are protected 43382 (Yegappan Lakshmanan) 43383 43384 Patch 9.1.0262 43385 Problem: Test for TextChanged is flaky with ASAN. 43386 Solution: Wait for the file to be non-empty (zeertzjq). 43387 43388 Patch 9.1.0263 43389 Problem: Vim9: Problem with lambda blocks in enums and classes 43390 (Aliaksei Budavei) 43391 Solution: Support evaluating lambda blocks from a string, skip over 43392 comments (Yegappan Lakshmanan) 43393 43394 Patch 9.1.0264 43395 Problem: libgpm may delete some signal handlers 43396 Solution: Restore these signal handlers after calling gpm (Julio B). 43397 43398 Patch 9.1.0265 43399 Problem: console dialog cannot save unnamed buffers 43400 Solution: Set bufname before save (glepnir). Define dialog_con_gui 43401 to test for GUI+Console dialog support, use it to skip 43402 the test when the GUI feature has been defined. 43403 43404 Patch 9.1.0266 43405 Problem: filetype: earthfile files are not recognized 43406 Solution: Detect 'Earthfile' as earthfile (Gaëtan Lehmann). 43407 43408 Patch 9.1.0267 43409 Problem: File name entered in GUI dialog is ignored (after v9.1.0265) 43410 Solution: Only set file name to "Untitled" if GUI dialog didn't set it. 43411 (zeertzjq) 43412 43413 Patch 9.1.0268 43414 Problem: Two tests in test_filechanged.vim are slow. 43415 Solution: Sleep for shorter if the +nanotime feature is available (zeertzjq). 43416 43417 Patch 9.1.0269 43418 Problem: Test for TextChanged is still flaky with ASAN. 43419 Solution: Don't index the result of readfile() (zeertzjq). 43420 43421 Patch 9.1.0270 43422 Small fixes to a few issues: 43423 Problem: Vim9: funcref pointer pt leaks, when function is not found 43424 Solution: Free funcref pointer in case of error ( 43425 Problem: memory leak of crypt state pointer allocation fails 43426 Solution: free crypt state pointer properly ( 43427 Problem: Vim9: Leaking memory when compiling dict fails 43428 Solution: Free the memory in case of error ( 43429 Problem: Coverity complains about derefencing obj_members pointer 43430 (after v9.1.0261) 43431 Solution: Verify that obj_members ptr is non-null before accessing it 43432 43433 Patch 9.1.0271 43434 Problem: CI sound test aborts with undefined variable 43435 Solution: initialize g:result in test_sound.vim 43436 43437 Patch 9.1.0272 43438 Problem: Autocommand may change currect directory after :tcd and :lcd. 43439 Solution: Also clear tp_localdir and w_localdir when using aucmd_win. 43440 (zeertzjq) 43441 43442 Patch 9.1.0273 43443 Problem: filetype: keymap files are not recognized 43444 Solution: Detect '*.keymap' files as Device Tree Files (0xadk). 43445 43446 Patch 9.1.0274 43447 Problem: MS-Windows: a few compiler warnings 43448 Solution: Change variable types to resolve compiler warnings (Mike Williams) 43449 43450 Patch 9.1.0275 43451 Problem: filetype: R history files are not recognized 43452 Solution: Detect '.Rhistory' files as r filetype (Wu, Zhenyu). 43453 43454 Patch 9.1.0276 43455 Problem: No pandoc syntax support 43456 Solution: Add pandoc syntax and compiler plugins (Wu, Zhenyu, Konfekt). 43457 43458 Patch 9.1.0277 43459 Problem: Cannot highlight the Command-line 43460 Solution: Add the MsgArea highlighting group (Shougo Matsushita). 43461 43462 Patch 9.1.0278 43463 Problem: filetype: zathurarc files not recognized 43464 Solution: Detect '.zathurarc' files as zathurarc filetype, 43465 add zathurarc filetype (Wu, Zhenyu) 43466 43467 Patch 9.1.0279 43468 Problem: filetype: roc files are not recognized 43469 Solution: Detect '*.roc' files as roc filetype, 43470 add a basic filetype plugin (nat-418) 43471 43472 Patch 9.1.0280 43473 Problem: Logic to make sure cursor is in visible part of the screen after 43474 scrolling the text with 'smoothscroll' is scattered, asymmetric 43475 and contains bugs. 43476 Solution: Adjust and create helper function for 'smoothscroll' cursor logic. 43477 (Luuk van Baal) 43478 43479 Patch 9.1.0281 43480 Problem: CI: fails Test_compiler_completion 43481 Solution: Add pandoc compiler 43482 43483 Patch 9.1.0282 43484 Problem: Finding highlighting attributes is inefficient 43485 Solution: Use binary search to find highlighting attributes and color 43486 names (John Marriott) 43487 43488 Patch 9.1.0282 43489 Problem: Wrong doc style for pandoc syntax description, 43490 Test_diff_eob_halfpage() may fail depending on screen size, using 43491 braces in highlight.c when not necessary 43492 Solution: Fix pandoc documentation, make sure the window for the test has 7 43493 lines, remove the braces. 43494 43495 Patch 9.1.0284 43496 Problem: make testclean is not able to delete failed screendumps. 43497 Solution: Remove the "failed" directory when necessary (Julio B). 43498 43499 Patch 9.1.0285 43500 Problem: Problems with cursor position when scrolling half a page. 43501 Solution: Rework the cursor logic. (Luuk van Baal) 43502 43503 Patch 9.1.0286 43504 Problem: Vim9: E1027 with defcompile for abstract methods with 43505 non-void return types, but still compiles it (zzzyxwvut) 43506 Solution: Don't compile abstract methods (Yegappan Lakshmanan). 43507 43508 Patch 9.1.0287 43509 Problem: Vim9: comment may be treated as heredoc start (Ernie Rael). 43510 Solution: Use skip_var_list() instead of find_name_end() (zeertzjq). 43511 43512 Patch 9.1.0288 43513 Problem: MS-Windows: compiler warning for size_t to int conversion 43514 (after v9.1.0282) 43515 Solution: Use size_t instead of int in highlight_set_termgui_attr 43516 (Mike Williams). 43517 43518 Patch 9.1.0289 43519 Problem: filetype: some TeX files are not recognized 43520 Solution: Add more patterns for TeX files and inspect a few more files for 43521 being TeX files (Wu, Zhenyu). 43522 43523 Patch 9.1.0290 43524 Problem: filetype: xilinx files are not recognized 43525 Solution: Add a few xilinx specific file patterns, inspect lpr files for being 43526 xml/pascal (Wu, Zhenyu) 43527 43528 Patch 9.1.0291 43529 Problem: filetype: libreoffice config files are not recognized 43530 Solution: Detect Libreoffice config fils as xml/dosini (Wu, Zhenyu). 43531 43532 Patch 9.1.0292 43533 Problem: filetype: XDG mimeapps.list file is not recognized 43534 Solution: Detect mimeapps.list as dosini filetype (Wu, Zhenyu). 43535 43536 Patch 9.1.0293 43537 Problem: filetype: lxqt config files are not recognized 43538 Solution: Detect {lxqt,screengrab}/*.conf files as dosini, 43539 fix failing filetype test for */tex/latex/**.cfg (Wu, Zhenyu). 43540 43541 Patch 9.1.0294 43542 Problem: plines_m_win() does not take into account it's "limit_winheight" 43543 argument for filler lines below the last line of the buffer. 43544 (after v9.1.0280) 43545 Solution: Check window height when "limit_winheight" is TRUE (Luuk van Baal). 43546 43547 Patch 9.1.0295 43548 Problem: filetype: pip config files are not recognized 43549 Solution: detect pip.conf as dosini filetype (Wu, Zhenyu). 43550 43551 Patch 9.1.0296 43552 Problem: Regex engines do not handle case-folding well 43553 Solution: Correctly calculate byte length of characters to skip 43554 43555 Patch 9.1.0297 43556 Problem: Patch 9.1.0296 causes too many issues (Tony Mechelynck, @chdiza, CI) 43557 Solution: Back out the change for now 43558 43559 Patch 9.1.0298 43560 Problem: MS-Windows: GETTEXT_PATH hard-coded in src/po/Make_mvc.mak 43561 Solution: Add IFNDEF/ENDIF around the definition of GETTEXT_PATH 43562 (Cthulhux) 43563 43564 Patch 9.1.0299 43565 Problem: Vim9: return type not set for a lambda assigned to script var 43566 (Ernie Rael) 43567 Solution: Correctly determine the return type (Yegappan Lakshmanan). 43568 43569 Patch 9.1.0300 43570 Problem: Missing test for what Patch v9.1.0285 fixes 43571 Solution: Add a test for cursor movement at buffer boundaries (Luuk van Baal). 43572 43573 Patch 9.1.0301 43574 Problem: Vim9: heredoc start may be recognized in string. 43575 Solution: Don't skip to closing bracket for invalid list assignment. 43576 (zeertzjq) 43577 43578 Patch 9.1.0302 43579 Problem: filetype: blueprint files are not recognized 43580 Solution: Detect '*.bp' files as blueprint files, add a minimal filetype 43581 plugin (Bruno Belanyi) 43582 43583 Patch 9.1.0303 43584 Problem: filetype: some protocol buffer files not recognized 43585 Solution: Detect '*.textproto', '*.textpb', '*.txtpb' as pbtxt files 43586 (Bruno Belanyi) 43587 43588 Patch 9.1.0304 43589 Problem: filetype: cgdb config file is not recognized 43590 Solution: Detect cgdbrc files as cgdbrc filetype (Wu, Zhenyu). 43591 43592 Patch 9.1.0305 43593 Problem: filetype: some history files are not recognized 43594 Solution: Add some history patterns to filetype.vim (Wu, Zhenyu). 43595 43596 Patch 9.1.0306 43597 Problem: filetype: x11vnc config file is not recognized 43598 Solution: Detect '.x11vncrc' as conf filetype (Wu, Zhenyu). 43599 43600 Patch 9.1.0307 43601 Problem: filetype: texdoc config files is not recognized 43602 Solution: Detect 'texdoc.cnf' as conf filetype (Wu, Zhenyu). 43603 43604 Patch 9.1.0308 43605 Problem: configure: msgfmt hardcoded (after v9.1.0173) 43606 Solution: use $MSGFMT instead of msgfmt in configure script, 43607 regenerate the configure script (Vladimír Marek). 43608 43609 Patch 9.1.0309 43610 Problem: crash when 'textwidth' > MAX_INT (after vv9.1.0055) 43611 (Zoltan Balogh) 43612 Solution: limit textwidth to MAX_INT 43613 43614 Patch 9.1.0310 43615 Problem: Filler lines not checked properly in get_scroll_overlap(). 43616 Solution: Add missing parentheses (zeertzjq). 43617 43618 Patch 9.1.0311 43619 Problem: Some config files are not recognized 43620 Solution: Add some patterns for chktex, ripgreprc and ctags config files. 43621 43622 Patch 9.1.0312 43623 Problem: heredocs are not supported for :commands (@balki) 43624 Solution: Add heredoc support (Yegappan Lakshmanan). 43625 43626 Patch 9.1.0313 43627 Problem: Crash when using heredoc with comment in command block. 43628 Solution: Handle a newline more like the end of the line, fix coverity 43629 warning (zeertzjq). 43630 43631 Patch 9.1.0314 43632 Problem: Vim9: Can define a class in a function (Doug Kearns) 43633 Solution: Give an error for a class defined in a function, slightly reword 43634 some public error messages (Yegappan Lakshmanan). 43635 43636 Patch 9.1.0315 43637 Problem: filetype: a few more dosini files are not recognized 43638 Solution: Detect wakatime, reply config files, flatpak, nfs config files 43639 and a few more python tools as dosini (or toml) (Wu, Zhenyu). 43640 43641 Patch 9.1.0316 43642 Problem: filetype: some sh and confini files not recognized 43643 Solution: Detect neofetch, '.xprofile', XDG-User-Dirs files, paru and makepkg 43644 config files (Wu, Zhenyu). 43645 43646 Patch 9.1.0317 43647 Problem: filetype: matplotlibrc files are not recognized 43648 Solution: Detect 'matplotlibrc' file as yaml filetype (Wu, Zhenyu). 43649 43650 Patch 9.1.0318 43651 Problem: filetype: translate shell config files are not recognized 43652 Solution: Detect 'init.trans', 'translate-shell' and '.trans' files as 43653 clojure (Wu, Zhenyu) 43654 43655 Patch 9.1.0319 43656 Problem: Using heredoc in string not tested with :execute. 43657 Solution: Test with both :execute and execute() (zeertzjq). 43658 43659 Patch 9.1.0320 43660 Problem: Wrong cursor position after using setcellwidths(). 43661 Solution: Invalidate cursor position in addition to redrawing (zeertzjq). 43662 43663 Patch 9.1.0321 43664 Problem: When used terminal with XON/XOFF flow control, vim tries to 43665 still make CTRL-S mapping available, which results in severe 43666 screen corruption, especially on large redraws, and even 43667 spurious inputs (John Tsiombikas) 43668 Solution: Disallow CTRL-S mapping if such terminal is recognized. 43669 Don't remove IXON from the bitmask inversion (Anton Sharonov). 43670 43671 Patch 9.1.0322 43672 Problem: filetype: some mail tools not recognized 43673 Solution: Detect '.mbsncrc' as conf, '.msmtprc' as msmtp and '.notmuch-config' 43674 as ini filetype (Shane-XB-Qian) 43675 43676 Patch 9.1.0323 43677 Problem: filetype: cabal config files may not be recognized 43678 Solution: Change filetype pattern to '*/{,.}cabal/config' (Wu Zhenyu). 43679 43680 Patch 9.1.0324 43681 Problem: filetype: some json files are not recognized 43682 Solution: Detect '.jscsrc' and '.vsconfig' as jsonc filetype (Wu, Zhenyu). 43683 43684 Patch 9.1.0325 43685 Problem: filetype: CMakeCache.txt files not recognized 43686 Solution: Detect 'CMakeCache.txt' files as cmakecache filetype, include basic 43687 syntax script for cmakecache (Wu, Zhenyu, @bfrg) 43688 43689 Patch 9.1.0326 43690 Problem: filetype: some requirements files are not recognized 43691 Solution: Detect '*-requirements.txt', 'constraints.txt', 'requirements.in', 43692 'requirements/*.txt' and 'requires/*.txt' as requirements filetype, 43693 include pip compiler, include requirements filetype and syntax 43694 plugin (Wu, Zhenyu, @raimon49). 43695 43696 Patch 9.1.0327 43697 Problem: No support for using $XDG_CONFIG_HOME 43698 Solution: optionally source $XDG_CONFIG_HOME/vim/vimrc (Luca Saccarola). 43699 43700 Patch 9.1.0328 43701 Problem: CI fails with t_?? test 43702 Solution: use assert_match instead of assert_equal and test only until t_xo, 43703 depending on system there may be several more termcap codes coming 43704 43705 Patch 9.1.0329 43706 Problem: String interpolation fails for Dict type 43707 Solution: Support Dict data type properly, also support :put =Dict 43708 (without having to convert it to string() first) 43709 (Yegappan Lakshmanan). 43710 43711 Patch 9.1.0330 43712 Problem: v9.1.0327 contains an unrelated change 43713 Solution: Revert back $USR_VIMRC_FILE to $HOME instead of ~ 43714 43715 Patch 9.1.0331 43716 Problem: make install does not install all files (Nick Jensen) 43717 Solution: Adjust the Makefile rule to install and uninstall cargo and 43718 rust directories (Matt Hammerly) 43719 43720 Patch 9.1.0332 43721 Problem: tests: some assert_equal() calls have wrong order of args 43722 Solution: Correct the order (zeertzjq). 43723 43724 Patch 9.1.0333 43725 Problem: tests: test_xdg fails on the appimage repo 43726 Solution: compare only the last 30 right characters of $MYVIMRC 43727 43728 Patch 9.1.0334 43729 Problem: No test for highlight behavior with 'ambiwidth'. 43730 Solution: Add a screendump test for 'ambiwidth' with 'cursorline'. 43731 (zeertzjq) 43732 43733 Patch 9.1.0335 43734 Problem: String interpolation fails for List type 43735 Solution: use implicit string(list) for string interpolation and :put = 43736 (Yegappan Lakshmanan) 43737 43738 Patch 9.1.0336 43739 Problem: tests: typo in test_xdg 43740 Solution: fix typo (Diego Viola) 43741 43742 Patch 9.1.0337 43743 Problem: Missing entry for XDG vimrc file in :version 43744 Solution: Add 4th user vimrc entry to :version output (Diego Viola) 43745 43746 Patch 9.1.0338 43747 Problem: Vim9: import through symlinks not correctly handled 43748 Solution: Check for script being a symlink but only once (Ernie Rael) 43749 43750 Patch 9.1.0339 43751 Problem: tests: xdg test uses screen dumps 43752 Solution: Convert screen dump to normal test (Yegappan Lakshmanan) 43753 43754 Patch 9.1.0340 43755 Problem: Error with matchaddpos() and empty list (@rickhow) 43756 Solution: Return early for an empty list 43757 43758 Patch 9.1.0341 43759 Problem: a few memory leaks are found (LuMingYinDetect) 43760 Solution: properly free the memory 43761 43762 Patch 9.1.0342 43763 Problem: tests: test_taglist fails when 'helplang' contains non-english 43764 Solution: Allow 1 or 2 tagfiles for now (Julio B) 43765 43766 Patch 9.1.0343 43767 Problem: 'showcmd' is wrong for partial mapping with multibyte char, 43768 and isn't very readable with modifyOtherKeys. 43769 Solution: Decode multibyte char and merge modifiers into the char. 43770 (zeertzjq) 43771 43772 Patch 9.1.0344 43773 Problem: Cursor wrong after using setcellwidth() in terminal (mikoto2000) 43774 Solution: output additional spaces, so the behaviour matches the GUI 43775 (mikoto2000) 43776 43777 Patch 9.1.0345 43778 Problem: gvimrc not sourced from XDG_CONFIG_HOME (after v9.1.0327) 43779 Solution: Also try to source from ~/.config/vim/gvimrc and 43780 $XDG_CONFIG_HOME/vim/gvimrc (Maxim Kim) 43781 43782 Patch 9.1.0346 43783 Problem: Patch v9.1.0338 fixed sourcing a script with import 43784 Solution: Add test `import './file.vim' and verify it works with `:source` 43785 so it does not regress (Ernie Rael) 43786 43787 Patch 9.1.0347 43788 Problem: A few typos in test_xdg when testing gvimrc 43789 Solution: Fix them (Diego Viola) 43790 43791 Patch 9.1.0348 43792 Problem: X11 does not ignore smooth scroll event (laniakea64) 43793 Solution: Correctly ignore unwanted smooth scroll events on X11 (lilydjwg) 43794 43795 Patch 9.1.0349 43796 Problem: Vim9: need static type for typealias 43797 Solution: Refactor the typval2type() function and add a static type for 43798 typealias (Yegappan Lakshmanan) 43799 43800 Patch 9.1.0350 43801 Problem: tests: test_vim9_dissamble may fail 43802 Solution: Instead of hard-coding the lambda number, accept just any number 43803 (Julio B) 43804 43805 Patch 9.1.0351 43806 Problem: No test that completing a partial mapping clears 'showcmd'. 43807 Solution: Complete partial mappings in Test_showcmd_part_map() instead 43808 of using :echo. Adjust some comments (zeertzjq). 43809 43810 Patch 9.1.0352 43811 Problem: Finding cmd modifiers and cmdline-specials is inefficient 43812 Solution: Use binary search to find ex command modifiers and 43813 cmdline-special characters and reduce the number of strlen() 43814 (John Marriott) 43815 43816 Patch 9.1.0353 43817 Problem: tests: Test_autoload_import_relative_compiled fails on Windows 43818 Solution: Disable on Windows for now, add missing :bw for clean-up (Ernie Rael) 43819 43820 Patch 9.1.0354 43821 Problem: runtime(uci): No support for uci file types (Wu, Zhenyu) 43822 Solution: include basic uci ftplugin and syntax plugins (Colin Caine) 43823 43824 Patch 9.1.0355 43825 Problem: filetype: flake.lock files are not recognized 43826 Solution: Detect 'flake.lock' as json filetype (Riley Bruins) 43827 43828 Patch 9.1.0356 43829 Problem: MS-Windows: --remote may change working directory when 43830 'shellslash' is set 43831 Solution: normalize directory separators on MS-Windows 43832 43833 Patch 9.1.0357 43834 Problem: Page scrolling does not always place the cursor at the top or 43835 bottom of the window (Mathias Rav) 43836 Solution: Place the cursor at the top or bottom of the window (Luuk van Baal) 43837 43838 Patch 9.1.0358 43839 Problem: wrong drawing in GUI with setcellwidth() (after v9.1.0344) 43840 Solution: move gui.in_use condition (h-east). 43841 43842 Patch 9.1.0359 43843 Problem: MS-Windows: Relative import in a script sourced from a buffer 43844 doesn't work (Ernie Rael) 43845 Solution: Set a filename, so that we are not trying to use 43846 script-relative filename (Yegappan Lakshmanan) 43847 43848 Patch 9.1.0360 43849 Problem: Vim9: does not handle autoloaded variables well 43850 Solution: Better handle script-level exported variable references from 43851 autoload files (Ernie Rael). 43852 43853 Patch 9.1.0361 43854 Problem: Vim9: vim9type.c is too complicated 43855 Solution: Refactor a few functions in vim9type.c (Yegappan Lakshmanan) 43856 43857 Patch 9.1.0362 43858 Problem: expanding rc config files does not work well 43859 (Michał Sieroń, after v9.1.0327) 43860 Solution: initialize chartab option, required to expand 43861 evironment variables 43862 43863 Patch 9.1.0363 43864 Problem: tests: test_winfixbuf is a bit slow 43865 Solution: use defer if possible, reset hidden option, use --not-a-term 43866 when starting Vim using system() (Yegappan Lakshmanan) 43867 43868 Patch 9.1.0364 43869 Problem: tests: test_vim9_builtin is a bit slow 43870 Solution: source tests from a buffer instead of writing and sourcing a file 43871 (Yegappan Lakshmanan) 43872 43873 Patch 9.1.0365 43874 Problem: Crash when typing many keys with D- modifier (after 9.1.0227). 43875 Solution: Don't treat a 0x80 byte inside a special sequence as the start 43876 of a special sequence (zeertzjq). 43877 43878 Patch 9.1.0366 43879 Problem: filetype: ondir files are not recognized 43880 Solution: Detect '.ondirrc' as ondir filetype (Jon Parise) 43881 43882 Patch 9.1.0367 43883 Problem: compile_def_function is too long 43884 Solution: Move out the code to compile the body of a function 43885 (Yegappan Lakshmanan) 43886 43887 Patch 9.1.0368 43888 Problem: MS-Windows: Hard to define the Vim Patchlevel with leading 43889 zeroes for the installer 43890 Solution: re-define VIM_VERSION_PatchLEVEL_STR with leading zeroes, 43891 interpret Patchlevel as decimal in Make_mvc.mak (RestorerZ) 43892 43893 Patch 9.1.0369 43894 Problem: Vim9: problem when importing autoloaded scripts 43895 Solution: In `:def` handle storing to vim9 autoload export (Ernie Rael) 43896 43897 Patch 9.1.0370 43898 Problem: MS-Windows: Patch number is zero in installer (jonathan-b-wiebe) 43899 Solution: Set VIM_VERSION_PatchLEVEL, fix a few typos in the installer 43900 (RestorerZ) 43901 43902 Patch 9.1.0371 43903 Problem: Vim9: compile_def_function() still too long 43904 Solution: Refactor the code into separate functions (Yegappan Lakshmanan). 43905 43906 Patch 9.1.0372 43907 Problem: Calling CLEAR_FIELD() on the same struct twice. 43908 Solution: Remove the second CLEAR_FIELD(). Move the assignment of 43909 cookie.sourceing_lnum (zeertzjq). 43910 43911 Patch 9.1.0373 43912 Problem: ops.c code uses too many strlen() calls 43913 Solution: Refactor code and remove more strlen() calls (John Marriott). 43914 43915 Patch 9.1.0374 43916 Problem: When :edit an existing buffer, line('w$') may return a wrong result. 43917 Solution: Reset w_valid in curwin_init() (Jaehwang Jung) 43918 43919 Patch 9.1.0375 43920 Problem: tests: 1-second delay after Test_BufEnter_botline() 43921 (after v9.1.0374) 43922 Solution: Wipe the created buffers (zeertzjq). 43923 43924 Patch 9.1.0376 43925 Problem: Vim9: Trailing commands after class/enum keywords ignored 43926 Solution: Remove EX_TRLBAR keyword from command definition 43927 (Yegappan Lakshmanan) 43928 43929 Patch 9.1.0377 43930 Problem: formatting text wrong when 'breakindent' is set (Gary Johnson) 43931 Solution: Temporarily disable 'breakindent' option when formatting text, so 43932 that the breakindent is not wrongly taken into account for the line 43933 length 43934 43935 Patch 9.1.0378 43936 Problem: Vim9: no comments allowed after class vars 43937 (Christian Robinson, after 9.1.376) 43938 Solution: Allow trailing comments after class vars (Yegappan Lakshmanan). 43939 43940 Patch 9.1.0379 43941 Problem: There are a few typos 43942 Solution: Fix them (zeertzjq). 43943 43944 Patch 9.1.0380 43945 Problem: Calculating line height for unnecessary amount of lines with 43946 half-page scrolling (zhscn, after 9.1.0280) 43947 Solution: Replace "limit_winheight" argument with higher resolution 43948 "max" argument to which to limit the calculated line height 43949 in plines_m_win() to (Luuk van Baal). 43950 43951 Patch 9.1.0381 43952 Problem: cbuffer and similar quickfix and locationlist commands don't 43953 accept a range, even so it is documented they should 43954 (ilan-schemoul, after 8.1.1241) 43955 Solution: Define ex commands with ADDR_LINES instead of ADDR_OTHER 43956 43957 Patch 9.1.0382 43958 Problem: Kbuild files are not recognized. 43959 Solution: Detect Kbuild files as make files (Bruno Belanyi). 43960 43961 Patch 9.1.0383 43962 Problem: filetype: .out files recognized as tex files 43963 Solution: Do not set an explicit filetype until it is clear what this 43964 should be (shane.xb.qian) 43965 43966 Patch 9.1.0384 43967 Problem: tests: vt420 terminfo entry may not be found (Shane-XB-Qian) 43968 Solution: check existence of terminfo vt420 and infocmp command 43969 43970 Patch 9.1.0385 43971 Problem: Vim9: crash with null_class and null_object (Aliaksei Budavei) 43972 Solution: Handle null_class and null_object correctly (Yegappan Lakshmanan). 43973 43974 Patch 9.1.0386 43975 Problem: filetype: stylus files not recognized 43976 Solution: Detect '*.styl' and '*.stylus' as stylus filetype, 43977 include indent, filetype and syntax plugin (Philip H) 43978 43979 Patch 9.1.0387 43980 Problem: Vim9: null value tests not sufficient 43981 Solution: Add a more comprehensive test for null values (Yegappan Lakshmanan). 43982 43983 Patch 9.1.0388 43984 Problem: cursor() and getregion() don't handle v:maxcol well. 43985 Solution: Add special handling for v:maxcol like setpos() does (zeertzjq). 43986 43987 Patch 9.1.0389 43988 Problem: filetype: templ files are not recognized 43989 Solution: Detect '*.templ' files as filetype templ (Tristan Knight). 43990 43991 Patch 9.1.0390 43992 Problem: filetype: inko files are not recognized 43993 Solution: Detect '*.inko' as ink filetype (Yorick Peterse). 43994 43995 Patch 9.1.0391 43996 Problem: Vim9: could improve testing (Ernie Rael) 43997 Solution: Support defcompile for test_override() to improve testing 43998 (Yegappan Lakshmanan) 43999 44000 Patch 9.1.0392 44001 Problem: tests: Vim9 debug tests may be flaky (Shane-XB-Qian) 44002 Solution: Give a few more lines so that line-wrapping won't 44003 cause a hit-enter prompt 44004 44005 Patch 9.1.0393 44006 Problem: 'viewdir' not respecting $XDG_CONFIG_HOME (Danilo Rezende, 44007 after v9.1.327) 44008 Solution: adjust 'viewdir' option when enabling XDG config mode 44009 44010 Patch 9.1.0394 44011 Problem: Cannot get a list of positions describing a region 44012 (Justin M. Keyes, after v9.1.0120) 44013 Solution: Add the getregionpos() function (Shougo Matsushita) 44014 44015 Patch 9.1.0395 44016 Problem: regionpos may leak memory on error, coverity 44017 complains about dereferencing Null pointer 44018 Solution: free all list pointers (after v9.1.394), 44019 return early if buflist_findnr() returns NULL 44020 44021 Patch 9.1.0396 44022 Problem: jj files are not recognized 44023 Solution: recognize '*.jjdescription' files as jj filetype (Gregory Anders) 44024 44025 Patch 9.1.0397 44026 Problem: Wrong display with 'smoothscroll' when changing quickfix list. 44027 Solution: Reset w_skipcol when replacing quickfix list (zeertzjq). 44028 44029 Patch 9.1.0398 44030 Problem: Vim9: imported vars are not properly type checked 44031 Solution: Check the imported variable type properly (Yegappan Lakshmanan). 44032 44033 Patch 9.1.0399 44034 Problem: block_editing errors out when using del (@Jamarley) 44035 Solution: Change ins_len from size_t to int and properly check that it doesn't 44036 become negative 44037 44038 Patch 9.1.0400 44039 Problem: Vim9: confusing error message for unknown type (Doug Kearns) 44040 Solution: For an unknown type, display only the type name in the error 44041 message (Yegappan Lakshmanan). 44042 44043 Patch 9.1.0401 44044 Problem: filetype: zsh module files are not recognized 44045 Solution: Detect '*.mdh' and '*.epro' as C filetype, '*.mdd' as zsh 44046 filetype, determine zsh-modules '*.pro' from from it's content 44047 (Wu, Zhenyu) 44048 44049 Patch 9.1.0402 44050 Problem: filetype: mdd files detected as zsh filetype 44051 Solution: detect '*.mdd' files as sh filetype, add links to reference 44052 documentation (Wu, Zhenyu) 44053 44054 Patch 9.1.0403 44055 Problem: Vim9: not able to import file from start dir (Danielle McLean) 44056 Solution: Allow to import from start directory (Yegappan Lakshmanan). 44057 44058 Patch 9.1.0404 44059 Problem: [security] xxd: buffer-overflow with specific flags 44060 Solution: Correctly calculate the required buffer space (Lennard Hofmann). 44061 44062 Patch 9.1.0405 44063 Problem: tests: xxd buffer overflow fails on 32-bit 44064 Solution: Skip test on 32-bit architecture 44065 44066 Patch 9.1.0406 44067 Problem: Divide by zero with getmousepos() and 'smoothscroll'. 44068 Solution: Don't compute skip_lines when width1 is zero (zeertzjq). 44069 44070 Patch 9.1.0407 44071 Problem: No scrolling happens with half-page scrolling with line 44072 filling entire window when 'smoothscroll' is disabled. 44073 (Mathias Rav, after v9.1.0285) 44074 Solution: Adjust amount to move cursor by so that it is moved the same 44075 number of lines as was scrolled, even when scrolling different 44076 number of lines than requested with 'nosmoothscroll'. 44077 44078 Patch 9.1.0408 44079 Problem: configure fails on Fedora when including perl (chesheer-smile) 44080 Solution: Filter out -spec=<path> from $LIBS and $LDFLAGS to avoid 44081 linking relocation errors for unrelated autoconf tests. 44082 44083 Patch 9.1.0409 44084 Problem: too many strlen() calls in the regexp engine 44085 Solution: refactor code to retrieve strlen differently, make use 44086 of bsearch() for getting the character class (John Marriott). 44087 44088 Patch 9.1.0410 44089 Problem: warning about uninitialized variable (Tony Mechelynck, after 44090 v9.1.0409) 44091 Solution: initialize variable (John Marriott) 44092 44093 Patch 9.1.0411 44094 Problem: too long functions in eval.c 44095 Solution: refactor functions (Yegappan Lakshmanan) 44096 44097 Patch 9.1.0412 44098 Problem: typo in regexp_bt.c in DEBUG code, causing compile error (@kfleong7, 44099 after v9.1.0409) 44100 Solution: Replace bulen by buflen 44101 44102 Patch 9.1.0413 44103 Problem: smoothscroll may cause infinite loop, with very narrow windows 44104 (Jaehwang Jung, after v9.1.0280) 44105 Solution: Check for width1 being negative, verify that win_linetabsize does 44106 not overflow 44107 44108 Patch 9.1.0414 44109 Problem: Unable to leave long line with 'smoothscroll' and 'scrolloff'. 44110 Corrupted screen near the end of a long line with 'scrolloff'. 44111 (Ernie Rael, after 9.1.0280) 44112 Solution: Only correct cursor in case scroll_cursor_bot() was not itself 44113 called to make the cursor visible. Avoid adjusting for 44114 'scrolloff' beyond the text line height (Luuk van Baal) 44115 44116 Patch 9.1.0415 44117 Problem: Some functions are not tested 44118 Solution: Add a few more tests, fix a few minor problems (Yegappan Lakshmanan) 44119 44120 Patch 9.1.0416 44121 Problem: some screen dump tests can be improved (after 9.1.0414) 44122 Solution: Make sure screen state changes properly and is captured in the 44123 screen dumps (Luuk van Baal) 44124 44125 Patch 9.1.0417 44126 Problem: if_py: find_module has been removed in Python 3.12.0a7 (@Ghost-LZW) 44127 Solution: Do not include find_module for Python >= 3.12.0a7 44128 44129 Patch 9.1.0418 44130 Problem: Cannot move to previous/next rare word (Colin Kennedy) 44131 Solution: Add the ]r and [r motions (Christ van Willegen) 44132 44133 Patch 9.1.0419 44134 Problem: eval.c not sufficiently tested 44135 Solution: Add a few more additional tests for eval.c (Yegappan Lakshmanan). 44136 44137 Patch 9.1.0420 44138 Problem: :browse oldfiles prompts even with single entry 44139 Solution: Do not prompt, but edit the file directly, also when using :filter 44140 /pat/ browse oldfiles 44141 44142 Patch 9.1.0421 44143 Problem: filetype: hyprlang files are not recognized 44144 Solution: Recognize 'hypr{land,paper,idle,lock}.conf' files 44145 as 'hyprlang' filetype, add hyprlang ftplugin (Riley Bruins) 44146 44147 Patch 9.1.0422 44148 Problem: function echo_string_core() is too long 44149 Solution: Refactor into several smaller functions (Yegappan Lakshmanan). 44150 44151 Patch 9.1.0423 44152 Problem: getregionpos() wrong with blockwise mode and multibyte. 44153 Solution: Use textcol and textlen instead of start_vcol and end_vcol. 44154 Handle coladd properly (zeertzjq). 44155 44156 Patch 9.1.0424 44157 Problem: filetype: slint files are not recognized 44158 Solution: Detect '*.slint' files as slint filetype, include basic sling 44159 filetype plugin (Riley Bruins) 44160 44161 Patch 9.1.0425 44162 Problem: filetype: purescript files are not recognized 44163 Solution: Recognize '*.purs' files as purescript filetype, include basic 44164 purescript filetype plugin (Riley Bruins) 44165 44166 Patch 9.1.0426 44167 Problem: too many strlen() calls in search.c 44168 Solution: Refactor code and remove more strlen() calls, 44169 use explicit variable to remember strlen (John Marriott) 44170 44171 Patch 9.1.0427 44172 Problem: tests: some issues with termdebug mapping test 44173 Solution: Use assert_{true,false} if suitable, change 44174 order of expected and actual arguments in assert() calls. 44175 (Ken Takata) 44176 44177 Patch 9.1.0428 44178 Problem: Tag guessing leaves wrong search history with very short names 44179 (after 9.1.0426). 44180 Solution: Use the correct variable for pattern length (zeertzjq). 44181 44182 Patch 9.1.0429 44183 Problem: Coverity complains about eval.c refactor (after v9.1.0422) 44184 Solution: Check that buf is not used un-initialized, add explicit conditions 44185 for save and restore of copyID 44186 44187 Patch 9.1.0430 44188 Problem: getregionpos() doesn't handle one char selection. 44189 Solution: Handle startspaces differently when is_oneChar is set. 44190 Also add a test for an exclusive charwise selection with 44191 multibyte chars (zeertzjq) 44192 44193 Patch 9.1.0431 44194 Problem: eval.c is too long 44195 Solution: Move garbage collection code to new gc.c file (Yegappan Lakshmanan). 44196 44197 Patch 9.1.0432 44198 Problem: Ancient XPM preprocessor hack may cause build errors. 44199 Solution: Simplify XPM includes and get rid of complicated #ifdef magic 44200 (Drew Vogel). 44201 44202 Patch 9.1.0433 44203 Problem: Wrong yanking with exclusive selection and virtualedit=all, 44204 and integer overflow when using getregion() on it. 44205 Solution: Set coladd when decreasing column and 'virtualedit' is active. 44206 Add more tests for getregion() with 'virtualedit' (zeertzjq). 44207 44208 Patch 9.1.0434 44209 Problem: make errors trying to access autoload/zig 44210 Solution: Remove autoload/zig from Makefile, adjust Filelist (Derek Schrock). 44211 44212 Patch 9.1.0435 44213 Problem: filetype: cygport files are not recognized 44214 Solution: Recognize '*.cygport' files as sh filetype (Ken Takata). 44215 44216 Patch 9.1.0436 44217 Problem: Crash when using '?' as separator for :s and pattern contains 44218 escaped '?'s (after 9.1.0409). 44219 Solution: Always compute startplen. (zeertzjq). 44220 44221 Patch 9.1.0437 44222 Problem: Motif requires non-const char pointer for XPM data shared with 44223 GTK (Tony Mechelynck, after v9.1.0432) 44224 Solution: Cast non-const to const char pointer for GTK (Drew Vogel). 44225 44226 Patch 9.1.0438 44227 Problem: Wrong Ex command executed when :g uses '?' as delimiter and 44228 pattern contains escaped '?'. 44229 Solution: Don't use "*newp" when it's not allocated (zeertzjq). 44230 44231 Patch 9.1.0439 44232 Problem: Cannot filter the history 44233 Solution: Implement :filter :history 44234 44235 Patch 9.1.0440 44236 Problem: function get_lval() is too long 44237 Solution: factor out the get_lval_subscript() function (Yegappan Lakshmanan). 44238 44239 Patch 9.1.0441 44240 Problem: getregionpos() can't properly indicate positions beyond eol. 44241 Solution: Add an "eol" flag that enables handling positions beyond end 44242 of line like getpos() does (zeertzjq). 44243 44244 Patch 9.1.0442 44245 Problem: hare runtime files outdated 44246 Solution: runtime(hare): update hare.vim to match upstream (Amelia Clarke). 44247 44248 Patch 9.1.0443 44249 Problem: Can't use a blockwise selection with a width for getregion(). 44250 Solution: Add support for blockwise selection with width like the return 44251 value of getregtype() or the "regtype" value of TextYankPost 44252 (zeertzjq). 44253 44254 Patch 9.1.0444 44255 Problem: Not enough tests for getregion() with multibyte chars. 44256 Solution: Add a few more tests (zeertzjq). 44257 44258 Patch 9.1.0445 44259 Problem: Coverity warning after 9.1.0440 44260 Solution: Fix Coverity warning, add a test and reduce the calls to clear_tv() 44261 (Yegappan Lakshmanan). 44262 44263 Patch 9.1.0446 44264 Problem: getregionpos() behaves inconsistently for a partly-selected 44265 multibyte char. 44266 Solution: Always use column of the first byte for a partly-selected 44267 multibyte char (zeertzjq). 44268 44269 Patch 9.1.0447 44270 Problem: completion may be wrong when deleting all chars 44271 Solution: Reset compl_shown_match 44272 44273 Patch 9.1.0448 44274 Problem: compiler warning in eval.c (after v9.1.0429) 44275 Solution: Refactor code (Yegappan Lakshmanan) 44276 44277 Patch 9.1.0449 44278 Problem: MS-Windows: Compiler warnings 44279 Solution: Resolve size_t to int warnings 44280 44281 Patch 9.1.0450 44282 Problem: eval.c code too complex 44283 Solution: Refactor eval6() and eval9() functions into several smaller 44284 functions (Yegappan Lakshmanan) 44285 44286 Patch 9.1.0451 44287 Problem: No test for escaping '<' with shellescape() 44288 Solution: Add a test. Use memcpy() in code to make it easier to 44289 understand. Fix a typo (zeertzjq). 44290 44291 Patch 9.1.0452 44292 Problem: Configure checks for libelf unnecessarily 44293 Solution: Remove configure check (youcai) 44294 44295 Patch 9.1.0453 44296 Problem: filetype: rasi files are not recognized 44297 Solution: Regonize '*.rasi' files as rasi filetype, include a filetype and 44298 syntax plugin (Pierrick Guillaume) 44299 44300 Patch 9.1.0454 44301 Problem: minor issues in test_filetype with rasi test (after 9.1.0453) 44302 Solution: Re-sort test_filetype, fix wrong syntax.txt help tags 44303 44304 Patch 9.1.0455 44305 Problem: MS-Windows: compiler warning for size_t to int conversion 44306 Solution: Add a few type casts to resolve warning on Windows (Mike Williams). 44307 44308 Patch 9.1.0456 44309 Problem: Left shift is incorrect with vartabstop and shiftwidth=0 44310 Solution: Make tabstop_at() function aware of shift direction 44311 (Gary Johnson) 44312 44313 Patch 9.1.0457 44314 Problem: tests: test_gui fails on Wayland (after: 9.1.0064, Gary Johnson) 44315 Solution: Drop the "empty($WAYLAND_DISPLAY)" condition in the test 44316 44317 Patch 9.1.0458 44318 Problem: Coverity complains about division by zero 44319 Solution: Check explicitly for sw_val being zero 44320 Shouldn't happen, since tabstop value should always be larger than 44321 zero. So just add this as a safety measure. 44322 44323 Patch 9.1.0459 44324 Problem: Vim9: import autoload does not work with symlink (Olivier Dormond) 44325 Solution: Set sn_autoload_prefix in check_script_symlink (nwounkn) 44326 44327 Patch 9.1.0460 44328 Problem: filetype: lintstagedrc files are not recognized 44329 Solution: Recognize '.lintstagedrc' files as json filetype (İlyas Akın). 44330 44331 Patch 9.1.0461 44332 Problem: too many strlen() calls in drawline.c 44333 Solution: Refactor code to avoid strlen() (John Marriott). 44334 44335 Patch 9.1.0462 44336 Problem: eval5() and eval7 are too complex 44337 Solution: Refactor eval5() and eval7() in eval.c (Yegappan Lakshmanan). 44338 44339 Patch 9.1.0463 44340 Problem: no fuzzy-matching support for insert-completion 44341 Solution: Enable insert-mode completion with fuzzy-matching 44342 using :set completopt+=fuzzy (glepnir). 44343 44344 Patch 9.1.0464 44345 Problem: No whitespace padding in commentstring option in ftplugins 44346 Solution: Change default to include whitespace padding, update 44347 existing filetype plugins with the new default value (Riley Bruins) 44348 44349 Patch 9.1.0465 44350 Problem: missing filecopy() function 44351 Solution: Implement filecopy() Vim script function (Shougo Matsushita). 44352 44353 Patch 9.1.0466 44354 Problem: Missing comments for fuzzy completion (after 9.1.0463) 44355 Solution: Add more comments, adjust indentation slightly (glepnir). 44356 44357 Patch 9.1.0467 44358 Problem: typos in some comments (after v9.1.0466) 44359 Solution: Fix comments (zeertzjq). 44360 44361 Patch 9.1.0468 44362 Problem: GvimExt does not consult HKEY_CURRENT_USER 44363 Solution: Make GvimExt first consult HKEY_CURRENT_USER and then fall 44364 back to HKEY_LOCAL_MACHINE to find gvim (David Wagner) 44365 44366 Patch 9.1.0469 44367 Problem: Cannot have buffer-local value for 'completeopt' (Nick Jensen). 44368 Solution: Make 'completeopt' global-local (zeertzjq). 44369 44370 Patch 9.1.0470 44371 Problem: tests: Test_ColonEight_MultiByte() fails on MS-Windows 44372 Solution: Mark test as flaky 44373 44374 Patch 9.1.0471 44375 Problem: Crash when using autocmd_get() after removing event inside 44376 autocmd (Sergey Vlasov) 44377 Solution: Check that the pattern is NULL (zeertzjq). 44378 44379 Patch 9.1.0472 44380 Problem: Inconsistencies between functions for option flags. 44381 Solution: Consistently use "unsigned int" as return type and rename 44382 get_bkc_value() to get_bkc_flags() (zeertzjq). 44383 44384 Patch 9.1.0473 44385 Problem: term_start() does not clear vertical modifier 44386 Solution: Clear the flag after splitting the window (Yegappan Lakshmanan). 44387 44388 Patch 9.1.0474 44389 Problem: CI: Test_ColonEight() fails on github runners (Ken Takata) 44390 Solution: Run the test for files on the C: drive, where dos shortnames 44391 are still enabled, refactor the tests to use a single setup 44392 function for the preparation. 44393 44394 Patch 9.1.0475 44395 Problem: cmod_split modifier is always reset in term_start() 44396 Solution: Only clear the WSP_VERT flag, if it is not already in 44397 cmdmod.cmod_split (Yegappan Lakshmanan). 44398 44399 Patch 9.1.0476 44400 Problem: Cannot see matched text in popup menu 44401 Solution: Introduce 2 new highlighting groups: PmenuMatch and 44402 PmenuMatchSel (glepnir). 44403 44404 Patch 9.1.0477 44405 Problem: block_editing errors out when using <enter> 44406 (Ali Rizvi-Santiago, after v9.1.0274) 44407 Solution: Change ins_len from size_t to int so that the test 44408 if ins_len is negative actually works properly. 44409 44410 Patch 9.1.0478 44411 Problem: Potential deref of NULL pointer in fuzzy_match_str_with_pos() 44412 on cleanup (after v9.1.0476) 44413 Solution: Only free the pointer if it is non-NULL (glepnir). 44414 44415 Patch 9.1.0479 44416 Problem: fuzzy_match_str_with_pos() does unnecessary list operations. 44417 Solution: Use fuzzy_match() directly (zeertzjq). 44418 44419 Patch 9.1.0480 44420 Problem: fuzzy string matching executed when not needed 44421 Solution: When no leader is available, can skip fuzzy logic, so return 44422 early (glepnir). 44423 44424 Patch 9.1.0481 44425 Problem: Vim9: term_getjob() throws an exception on error 44426 Solution: Return null_job instead, when there is no job (Ernie Rael). 44427 44428 Patch 9.1.0482 44429 Problem: termdebug plugin needs more love 44430 Solution: start with some more Vim9 refactoring to improve maintenance and 44431 readability (Ubaldo Tiberi). 44432 44433 Patch 9.1.0483 44434 Problem: glob() not sufficiently tested 44435 Solution: Add more tests for directory containing [] chars. 44436 44437 Patch 9.1.0484 44438 Problem: Sorting of completeopt+=fuzzy is not stable. 44439 Solution: Compare original indexes when scores are the same (zeertzjq). 44440 44441 Patch 9.1.0485 44442 Problem: Matched text shouldn't be highlighted in "kind" and "menu". 44443 Solution: Pass hlf_T instead of the attribute. Fix indent (zeertzjq). 44444 44445 Patch 9.1.0486 44446 Problem: filetype: Snakemake files are not recognized 44447 Solution: Detect '*.smk' and Snakefile files as snakemake filetype 44448 (Riley Bruins) 44449 44450 Patch 9.1.0487 44451 Problem: completed item not update on fuzzy completion 44452 Solution: Reset compl_shown_match when at original match position (glepnir). 44453 44454 Patch 9.1.0488 44455 Problem: Wrong padding for pum "kind" with 'rightleft'. 44456 Solution: Fix off-by-one error (zeertzjq). 44457 44458 Patch 9.1.0489 44459 Problem: default completion may break with fuzzy 44460 Solution: Check that completion_match_array is not null (glepnir). 44461 44462 Patch 9.1.0490 44463 Problem: minor style problems with Patch 9.1.0487 44464 Solution: use shown_compl instead of after_first_compl variable (glepnir). 44465 44466 Patch 9.1.0491 44467 Problem: Cmdline pum doesn't work properly with 'rightleft'. 44468 Solution: Don't use curwin->w_p_rl in cmdline mode in pum_redraw(). Use 44469 a static variable since pum_may_redraw() may be called in any 44470 mode. Also correct position of other popups with 'rightleft' 44471 (zeertzjq). 44472 44473 Patch 9.1.0492 44474 Problem: Vim-script files may not be recognised 44475 Solution: Add shebang line detection (Doug Kearns) 44476 44477 Patch 9.1.0493 44478 Problem: Test for Patch 9.1.0489 doesn't fail without the fix. 44479 Solution: Use "!" flag of feedkeys() so that ex_normal_busy is not set 44480 and ins_compl_check_keys() is not skipped (zeertzjq). 44481 44482 Patch 9.1.0494 44483 Problem: Wrong matched text highlighted in pum with 'rightleft'. 44484 Solution: Match using the original text instead of the reversed text 44485 (zeertzjq). 44486 44487 Patch 9.1.0495 44488 Problem: Matched text isn't highlighted in cmdline pum. 44489 Solution: Use cmdline completion pattern in cmdline mode (zeertzjq). 44490 44491 Patch 9.1.0496 44492 Problem: matched text is highlighted case-sensitively 44493 Solution: Use MB_STRNICMP, update highlighting when the base changes (glepnir) 44494 44495 Patch 9.1.0497 44496 Problem: termdebug can be further improved 44497 Solution: Refactor save/restore, update docs, add a new save/restore test 44498 (Ubaldo Tiberi). 44499 44500 Patch 9.1.0498 44501 Problem: getcmdcompltype() interferes with cmdline completion. 44502 Solution: Don't set expand context when it's already set (zeertzjq). 44503 44504 Patch 9.1.0499 44505 Problem: MS-Windows: doesn't handle symlinks properly (Timothy Madden) 44506 Solution: Implement lstat() on MS-Windows (LemonBoy). 44507 44508 Patch 9.1.0500 44509 Problem: cannot switch buffer in a popup (Yggdroot) 44510 Solution: Add popup_setbuf() function. 44511 44512 Patch 9.1.0501 44513 Problem: too complicated mapping restore in termdebug 44514 Solution: Simplify unmapping logic, add a few more tests (Ubaldo Tiberi). 44515 44516 Patch 9.1.0502 44517 Problem: MS-Windows: too much legacy code 44518 Solution: Clean up old code (Ken Takata). 44519 44520 Patch 9.1.0503 44521 Problem: cannot use fuzzy keyword completion (Maxim Kim) 44522 Solution: Add the "fuzzycollect" value for the 'completeopt' 44523 setting, to gather matches using fuzzy logic (glepnir). 44524 44525 Patch 9.1.0504 44526 Problem: inner-tag textobject confused about ">" in attributes 44527 Solution: Skip over quoted '>' when determining the start position 44528 44529 Patch 9.1.0505 44530 Problem: filetype: Faust files are not recognized 44531 Solution: Detect '*.lib' files as Faust filetype, add detection for 44532 '*.dsp' files (Faust or Make), remove '*.lib' from Cobol 44533 filetype (PowerUser64) 44534 44535 Patch 9.1.0506 44536 Problem: filetype: .envrc & .prettierignore not recognized 44537 Solution: Detect '.envrc' as shell and '.prettierignore' as gitignore 44538 filetype (Tyler Miller) 44539 44540 Patch 9.1.0507 44541 Problem: hard to detect cursor movement in the command line 44542 Solution: Add the CursorMovedC autocommand (Shougo Matsushita). 44543 44544 Patch 9.1.0508 44545 Problem: termdebug plugin can be further improved 44546 Solution: Add sanity-check, timeout config, change vars to bool 44547 update docs, add more tests (Ubaldo Tiberi). 44548 44549 Patch 9.1.0509 44550 Problem: not possible to translate Vim script messages (RestorerZ) 44551 Solution: Implement bindtextdomain() and gettext() to support Vim script 44552 message translations (Christ van Willegen). 44553 44554 Patch 9.1.0510 44555 Problem: CI: test_gettext fails on MacOS14 + MSVC Win (after v9.1.0509) 44556 Solution: Skip the test for now. 44557 44558 Patch 9.1.0511 44559 Problem: CursorMovedC triggered wrongly with setcmdpos() (after v9.1.0507) 44560 Solution: Remove the premature triggering. Also don't trigger when 44561 cursor didn't move (zeertzjq). 44562 44563 Patch 9.1.0512 44564 Problem: Mode message for spell completion doesn't match allowed keys 44565 (Kyle Kovacs) 44566 Solution: Show "^S" instead of "s" (zeertzjq). 44567 44568 Patch 9.1.0513 44569 Problem: Vim9: segfault with object comparisons 44570 Solution: Increment recusive_cnt before calling typval_compare_object() 44571 (Ernie Rael) 44572 44573 Patch 9.1.0514 44574 Problem: Vim9: issue with comparing objects recursively (Yinzuo Jiang) 44575 Solution: only set recursive == TRUE, when called from tv_equal(), not 44576 from typeval_compare_object(), refactor code into object_equal() 44577 function (LemonBoy). 44578 44579 Patch 9.1.0515 44580 Problem: Vim9: segfault in object_equal() 44581 Solution: Test for object pointer being NULL, before dereferencing them 44582 (Ernie Rael). 44583 44584 Patch 9.1.0516 44585 Problem: need more tests for nested dicts and list comparision 44586 Solution: Add tests for comparing deeply nested List/Dict values 44587 (Yegappan Lakshmanan). 44588 44589 Patch 9.1.0517 44590 Problem: MS-Windows: too long lines in Make_mvc.mak 44591 Solution: Wrap long lines in Make_mvc.mak (Ken Takata). 44592 44593 Patch 9.1.0518 44594 Problem: initialize the random buffer can be improved 44595 Solution: Refactor init_srand() function, move machine-specific parts to 44596 os_mswin and os_unix, implement a fallback for Windows 10 and 44597 later (LemonBoy). 44598 44599 Patch 9.1.0519 44600 Problem: MS-Windows: libvterm compilation can be optimized 44601 Solution: Enable batch inference for libvterm (Ken Takata). 44602 44603 Patch 9.1.0520 44604 Problem: Vim9: incorrect type checking for modifying lists 44605 Solution: Correctly assign the member declared types and generate 44606 typechecks, add disassembly test (LemonBoy). 44607 44608 Patch 9.1.0521 44609 Problem: if_py: _PyObject_CallFunction_SizeT is dropped in Python 3.13 44610 Solution: define PyObject_CallFunction for Python >= 3.13 (Yaakov Selkowitz). 44611 44612 Patch 9.1.0522 44613 Problem: Vim9: string(object) hangs for recursive references 44614 Solution: Handle recursive objects specifically, add a hang test and a 44615 compare test (Ernie Rael) 44616 44617 Patch 9.1.0523 44618 Problem: Vim9: cannot downcast an object (Ernie Rael) 44619 Solution: Fix class downcasting issue (LemonBoy). 44620 44621 Patch 9.1.0524 44622 Problem: the recursive parameter in the *_equal functions can be removed 44623 Solution: Remove the recursive parameter in dict_equal(), list_equal() 44624 object_equal and tv_equal(). Use a comparison of the static 44625 var recursive_cnt == 0 to determine whether or not tv_equal() 44626 has been called recursively (Yinzuo Jiang). 44627 44628 Patch 9.1.0525 44629 Problem: Right release selects immediately when pum is truncated. 44630 Solution: Use pum_height instead of pum_size when checking click row. 44631 Don't place it above mouse row when there is more space below. 44632 (zeertzjq) 44633 44634 Patch 9.1.0526 44635 Problem: Cursor is moved to bottom of window trying to pagescroll when 44636 already at the start of the buffer (Asheq Imran, after v9.1.0357) 44637 Solution: Don't move cursor when buffer content did not move (Luuk van Baal). 44638 44639 Patch 9.1.0527 44640 Problem: inconsistent parameter in Makefiles for Vim executable 44641 Solution: consistently use $VIMPROG across all Makefiles (RestorerZ). 44642 44643 Patch 9.1.0528 44644 Problem: spell completion message still wrong in translations 44645 (after 9.1.0512) 44646 Solution: Update translation files with the new message (Kyle Kovacs). 44647 44648 Patch 9.1.0529 44649 Problem: silent! causes following try/catch to not work (Malcolm Rowe) 44650 Solution: consider emsg_silent in handle_did_throw() and do not abort 44651 evaluation flow for :silent! (LemonBoy). 44652 44653 Patch 9.1.0530 44654 Problem: xxd: MSVC warning about non-ASCII character 44655 Solution: Specify source-charset:utf-8 in Makefile (Ken Takata). 44656 44657 Patch 9.1.0531 44658 Problem: resource leak in mch_get_random() (after v9.1.0518) 44659 Solution: close file descriptor after reading successfully from /dev/urandom 44660 44661 Patch 9.1.0532 44662 Problem: filetype: Cedar files not recognized 44663 Solution: Detect '*.cedar' files as cedar filetype (Riley Bruins). 44664 44665 Patch 9.1.0533 44666 Problem: Vim9: need more tests for nested objects equality 44667 Solution: Add more tests (Ernie Rael). 44668 44669 Patch 9.1.0534 44670 Problem: completion wrong with fuzzy when cycling back to original 44671 (Quan Nguyen) 44672 Solution: Reset show_match_ok when cp_score is zero (glepnir). 44673 44674 Patch 9.1.0535 44675 Problem: newline escape wrong in ex mode (Konrad Schwarz) 44676 Solution: Partly revert Patch 7.3.014, remove backslash in front of a 44677 newline when not in prompt mode in ex line mode (Mohamed Akram). 44678 44679 Patch 9.1.0536 44680 Problem: filetype: zone files are not recognized (rpdprd) 44681 Solution: Detect '*.zone' files as bindzone filetype. 44682 44683 Patch 9.1.0537 44684 Problem: signed number detection for CTRL-X/A can be improved (Chris Patuzzo) 44685 Solution: Add the new "blank" value for the 'nrformat' setting. This will make 44686 Vim assume a signed number only if there is a blank in front of the 44687 sign (distobs). 44688 44689 Patch 9.1.0538 44690 Problem: not possible to assign priority when defining a sign 44691 (Mathias Fußenegger) 44692 Solution: Add the priority argument for the :sign-define ex command and 44693 the sign_define() function (LemonBoy). 44694 44695 Patch 9.1.0539 44696 Problem: Not enough tests for what v9.1.0535 fixed 44697 Solution: Add another test for ex-mode. 44698 44699 Patch 9.1.0540 44700 Problem: Unused assignment in sign_define_cmd() 44701 Solution: Remove the assignment. Also document the "priority" flag of 44702 sign_define() (zeertzjq). 44703 44704 Patch 9.1.0541 44705 Problem: failing test with Vim configured without channel 44706 Solution: In the test Test_null_values() verify that the 'channel' and 44707 'job' feature is present in Vim. (Dominique Pellé). 44708 44709 Patch 9.1.0542 44710 Problem: Vim9: confusing string() output for object functions 44711 Solution: improve the output for object functions (Ernie Rael). 44712 44713 Patch 9.1.0543 44714 Problem: Behavior of CursorMovedC is strange. 44715 Solution: Also trigger when the cmdline has changed (zeertzjq). 44716 44717 Patch 9.1.0544 44718 Problem: filetype: ldapconf files are not recognized 44719 Solution: Detect '.ldaprc', 'ldap.conf' and 'ldaprc' files as ldapconf 44720 filetype, include a simple ldapconf ftplugin file (Riley Bruins). 44721 44722 Patch 9.1.0545 44723 Problem: MSVC conversion warning (LemonBoy, after 9.1.0522) 44724 Solution: Use size_t instead of int, fix style of casts (Ernie Rael). 44725 44726 Patch 9.1.0546 44727 Problem: vim-tiny fails on CTRL-X/CTRL-A (Rob Foehl, after 9.1.0172) 44728 Solution: Move #ifdefs, so that after changing the line in del_bytes, 44729 the cached textlen value is invalidated. 44730 44731 Patch 9.1.0547 44732 Problem: No way to get the arity of a Vim function (Austin Ziegler) 44733 Solution: Enhance get() Vim script function to return the function 44734 argument info using get(func, "arity") (LemonBoy). 44735 44736 Patch 9.1.0548 44737 Problem: it's not possible to get a unique id for some vars 44738 Solution: Add the id() Vim script function, which returns a unique 44739 identifier for object, dict, list, job, blob or channel 44740 variables (Ernie Rael). 44741 44742 Patch 9.1.0549 44743 Problem: fuzzycollect regex based completion not working as expected 44744 Solution: Revert Patch v9.1.0503 (glepnir). 44745 44746 Patch 9.1.0550 44747 Problem: filetype: antlr4 files are not recognized 44748 Solution: Detect '*.g4' as antlr4 filetype, include a simple antlr4 44749 syntax and filetype plugin (Yinzuo Jiang). 44750 44751 Patch 9.1.0551 44752 Problem: filetype: htmlangular files are not properly detected 44753 Solution: Use the new htmlangular filetype for angular files, because 44754 since angular v17, those are no longer valid HTML files 44755 (Dennis van den Berg). 44756 44757 Patch 9.1.0552 44758 Problem: No test for antlr4 filetype (after 9.1.0550) 44759 Solution: Add a simple filename test. 44760 44761 Patch 9.1.0553 44762 Problem: filetype: *.mcmeta files are not recognized 44763 Solution: Detect '*.mcmeta' files as json filetype (Tomodachi94). 44764 44765 Patch 9.1.0554 44766 Problem: :bw leaves jumplist and tagstack data around (Paul "Joey" Clark) 44767 Solution: Wipe jumplist and tagstack references to the wiped buffer 44768 (LemonBoy). 44769 44770 Patch 9.1.0555 44771 Problem: filetype: angular ft detection is still problematic (after 9.1.0551) 44772 Solution: Detect htmlangular filetype only by inspecting the content, 44773 do not try to determine it from a generic name like 44774 '*.component.html'. 44775 44776 Patch 9.1.0556 44777 Problem: :bwipe doesn't remove file from jumplist and tagstack of other 44778 tabpages. Time complexity of mark_forget_file() is O(n^2) when 44779 removing all entries (after v9.1.0554) 44780 Solution: Use FOR_ALL_TAB_WINDOWS(). Start the loops over the arrays 44781 from the end instead of the start (zeertzjq). 44782 44783 Patch 9.1.0557 44784 Problem: moving in the buffer list doesn't work as documented 44785 (SenileFelineS) 44786 Solution: Skip non-help buffers, when run from normal buffers, else 44787 only move from help buffers to the next help buffer (LemonBoy). 44788 44789 Patch 9.1.0558 44790 Problem: filetype: prolog detection can be improved 44791 Solution: Improved the Prolog file detection regex and added tests for 44792 all cases (igna_martinoli). 44793 44794 Patch 9.1.0559 44795 Problem: translation of vim scripts can be improved (after v9.1.0509) 44796 Solution: improve documentation, add tests, include missing 44797 libraries for the Windows CI (RestorerZ). 44798 44799 Patch 9.1.0560 44800 Problem: bindtextdomain() does not indicate an error (after v9.1.509) 44801 Solution: return false on failure (OOM) (Chris van Willegen). 44802 44803 Patch 9.1.0561 44804 Problem: netbeans: variable used un-initialized (Coverity) (after v9.1.0557) 44805 Solution: Properly initialize exarg_T struct for use with netbeans 44806 The actual exarg.cmdidx doesn't really matter, but let's use 44807 something, that is not affected by the recent changes (going through 44808 the buffer list) and use CMD_USER. 44809 44810 Patch 9.1.0562 44811 Problem: tests: inconsistency in test_findfile.vim, it saves and restores 44812 'shellslash', but doesn't actually set it 44813 Solution: Set shellslash explicitly (zeertzjq). 44814 44815 Patch 9.1.0563 44816 Problem: Cannot process any Key event. 44817 Solution: Add the KeyInputPre autocmd (Shougo Matsushita). 44818 44819 Patch 9.1.0564 44820 Problem: id() can be made faster 44821 Solution: don't use printf(), use clever shift of pointer (Ernie Rael). 44822 44823 Patch 9.1.0565 44824 Problem: Stop directory doesn't work properly in 'tags' (Jesse Pavel). 44825 Solution: Also move the stop directory forward by one byte (zeertzjq). 44826 44827 Patch 9.1.0566 44828 Problem: Stop directory in findfile() doesn't work properly without a 44829 trailing slash. 44830 Solution: Always use fnamencmp(), not fnamecmp(). 44831 44832 Patch 9.1.0567 44833 Problem: Cannot use relative paths as findfile() stop directories. 44834 Solution: Change a relative path to an absolute path (zeertzjq). 44835 44836 Patch 9.1.0568 44837 Problem: Cannot expand paths from 'cdpath' setting (Daniel Hahler) 44838 Solution: Implement 'cdpath' completion, add the new 'dir_in_path' 44839 completion type (LemonBoy). 44840 44841 Patch 9.1.0569 44842 Problem: fnamemodify() treats ".." and "../" differently. 44843 Solution: Expand ".." properly like how "/.." is treated in 8.2.3388 44844 (zeertzjq). 44845 44846 Patch 9.1.0570 44847 Problem: tests: test_gettext_make can be improved (after v9.1.0559) 44848 Solution: Improve the test (Ken Takata). 44849 44850 Patch 9.1.0571 44851 Problem: tests: Test_gui_lowlevel_keyevent is flaky 44852 Solution: Mark as flaky (Ken Takata). 44853 44854 Patch 9.1.0572 44855 Problem: cannot specify tab page closing behaviour (Gianluca Pacchiella). 44856 Solution: Add the 'tabclose' option (LemonBoy). 44857 44858 Patch 9.1.0573 44859 Problem: ex: no implicit print for single addresses 44860 Solution: Explicitly print even during single addresses, as requested by POSIX 44861 (Mohamed Akram) 44862 44863 Patch 9.1.0574 44864 Problem: ex: wrong handling of commands after bar 44865 Solution: for :append, :insert and :change use the text after the bar as input 44866 for those commands. This is what POSIX requests (Mohamed Akram). 44867 44868 Patch 9.1.0575 44869 Problem: Wrong comments in alt_tabpage() (after v9.1.0572) 44870 Solution: Correct the comments (zeertzjq). 44871 44872 Patch 9.1.0576 44873 Problem: tests: still an issue with test_gettext_make (after v9.1.0570) 44874 Solution: Compare the getenv() output against v:null to verify 44875 that $GETTEXT_PATH was set or not (Ken Takata). 44876 44877 Patch 9.1.0577 44878 Problem: Unnecessary checks for v:sizeoflong in test_put.vim. They are 44879 no longer necessary as Patch 8.2.3661 has changed the count to 44880 be within 32-bit integer limit. 44881 Solution: Remove the checks (zeertzjq). 44882 44883 Patch 9.1.0578 44884 Problem: no tests for :Tohtml 44885 Solution: Add two basic tests (Yinzuo Jiang). 44886 44887 Patch 9.1.0579 44888 Problem: Ex command is still executed after giving E1247. 44889 Solution: Indicate the error properly and set cmd to NULL (zeertzjq). 44890 44891 Patch 9.1.0580 44892 Problem: An :lmap mapping for a printable keypad key is not applied 44893 when typing it in Select mode. 44894 Solution: Change keypad key to ASCII after setting vgetc_char (zeertzjq). 44895 44896 Patch 9.1.0581 44897 Problem: style: Various lines are indented inconsistently 44898 Solution: Retab these lines and correct some comments (zeertzjq). 44899 44900 Patch 9.1.0582 44901 Problem: Printed line no longer overwrites colon when pressing Enter in 44902 Ex mode (after 9.1.0573). 44903 Solution: Restore the behavior of pressing Enter in Ex mode (zeertzjq). 44904 44905 Patch 9.1.0583 44906 Problem: filetype: *.pdf_tex files are not recognized 44907 Solution: Detect '*.pdf_tex' files as tex filetype (Jonas Dujava). 44908 44909 Patch 9.1.0584 44910 Problem: Warning about redeclaring f_id() non-static 44911 Solution: Declare f_id() static (John Marriott). 44912 44913 Patch 9.1.0585 44914 Problem: tests: test_cpoptions leaves swapfiles around 44915 Solution: Use :bw! instead of :close! 44916 44917 Patch 9.1.0586 44918 Problem: ocaml runtime files are outdated 44919 Solution: Sync those files with the upstream repo, detect a few more ocaml 44920 files (Yinzuo Jiang). 44921 44922 Patch 9.1.0587 44923 Problem: tests: Test_gui_lowlevel_keyevent is still flaky (after v9.1.0571) 44924 Solution: Skip generating key event for Ctrl-C, remove the test_is_flaky 44925 variable again (Ken Takata). 44926 44927 Patch 9.1.0588 44928 Problem: The maze program no longer compiles on newer clang 44929 Solution: Use ANSI C function definition for main() (Mohamed Akram). 44930 44931 Patch 9.1.0589 44932 Problem: vi: d{motion} and cw command work differently than expected 44933 Solution: add new cpo-z flag to make the behaviour configurable 44934 44935 Patch 9.1.0590 44936 Problem: Vim9: crash when accessing getregionpos() return value. 44937 Solution: Correct the return type (zeertzjq). 44938 44939 Patch 9.1.0591 44940 Problem: filetype: *.wl files are not recognized 44941 Solution: Detect '*.wl' files as Mathematica package files (Jonas Dujava). 44942 44943 Patch 9.1.0592 44944 Problem: filetype: Mediawiki files are not recognized 44945 Solution: detect "*.mw" and "*.wiki" as mediawiki filetype, 44946 include basic syntax and filetype plugins (AvidSeeker). 44947 44948 Patch 9.1.0593 44949 Problem: filetype: Asymptote files are not recognized 44950 Solution: detect '*.asy' files as asy filetype, include ftplugin and syntax 44951 plugin (AvidSeeker). 44952 44953 Patch 9.1.0594 44954 Problem: Unnecessary redraw when setting 'winfixbuf'. 44955 Solution: Remove P_RWIN flag (zeertzjq). 44956 44957 Patch 9.1.0595 44958 Problem: make errors out with the po Makefile 44959 (yanivshlom, after v9.1.0558) 44960 Solution: Set variables differently (RestorerZ). 44961 44962 Patch 9.1.0596 44963 Problem: filetype: Debian devscripts config files are not recognized 44964 Solution: detect devscripts.conf and .devscripts files as sh filetype 44965 (sourced by /bin/sh). 44966 44967 Patch 9.1.0597 44968 Problem: KeyInputPre cannot get the (unmapped typed) key (after v9.1.0563) 44969 Solution: Add the "typedchar" property to the v:event dict 44970 (Shougo Matsushita). 44971 44972 Patch 9.1.0598 44973 Problem: fuzzy completion does not work with default completion 44974 Solution: Make it work (glepnir). 44975 44976 Patch 9.1.0599 44977 Problem: Termdebug: still get E1023 when specifying arguments and using 44978 a prompt buffer. 44979 Solution: Use empty() instead of len(). Add a test. Fix wrong order of 44980 arguments to assert_equal() in Test_termdebug_basic() (zeertzjq). 44981 44982 Patch 9.1.0600 44983 Problem: unused function typval_compare_class() and error constants 44984 Solution: Remove function typval_compare_class() and ifdef out 44985 unused error constants (Dominique Pellé). 44986 44987 Patch 9.1.0601 44988 Problem: Wrong cursor position with 'breakindent' when a double-width 44989 character doesn't fit in a screen line (mikoto2000) 44990 Solution: Include the width of the 'breakindent' properly (zeertzjq). 44991 44992 Patch 9.1.0602 44993 Problem: filetype: Prolog detection can be improved 44994 Solution: Update the prolog detection regex (igna_martinoli). 44995 44996 Patch 9.1.0603 44997 Problem: Pattern detection for Dracula language uses "*lvs" and "*lpe". 44998 as there is no dot, those are not treated as extensions which 44999 they should (judging by 'runtime/syntax/dracula.vim' and 45000 common sense). 45001 Solution: Use "*.lvs" and "*.lpe" patterns (Evgeni Chasnovski). 45002 45003 Patch 9.1.0604 45004 Problem: popup_filter during Press Enter prompt seems to hang 45005 Solution: Return early, when need_wait_return is set (Ernie Rael). 45006 45007 Patch 9.1.0605 45008 Problem: internal error with fuzzy completion (techntools) 45009 Solution: Only fuzzy complete the pattern after directory separator 45010 (glepnir) 45011 45012 Patch 9.1.0606 45013 Problem: tests: generated files may cause failure in test_codestyle 45014 Solution: Exclude OLE-related generated files from style checks (Ken Takata). 45015 45016 Patch 9.1.0607 45017 Problem: termdebug: uses inconsistent style 45018 Solution: termdebug: deprecate numeric values for v:true/false, fix white 45019 space style in the plugin (Ubaldo Tiberi). 45020 45021 Patch 9.1.0608 45022 Problem: Coverity warns about a few potential issues 45023 Solution: Fix those issues (see details below) 45024 45025 Patch 9.1.0609 45026 Problem: outdated comments in Makefile 45027 Solution: Update outdated comments, update rule for vimtags (Shane Harper). 45028 45029 Patch 9.1.0610 45030 Problem: filetype: OpenGL Shading Language files are not detected 45031 Solution: Detect various file extensions as GLSL filetype, include 45032 indent and syntax script, do no longer recognize '*.comp' 45033 as Mason filetype (Gregory Anders). 45034 45035 Patch 9.1.0611 45036 Problem: Ambiguous mappings not correctly resolved with modifyOtherKeys 45037 Solution: Check for termcode when an upper case mapping is received and 45038 does not match (Oleg Goncharov). 45039 45040 Patch 9.1.0612 45041 Problem: filetype: deno.lock file not recognized 45042 Solution: detect 'deno.lock' as json filetype (カワリミ人形). 45043 45044 Patch 9.1.0613 45045 Problem: tests: termdebug test may fail and leave temp file around 45046 (Dominique Pellé) 45047 Solution: Only run balloon_show() if the function exists, validate 45048 termdebug is running using the g: termdebug_is_running var, 45049 use defer to delete temporary files. 45050 45051 Patch 9.1.0614 45052 Problem: Vim syntax file changes to :set command highlighting render 45053 some test dump files invalid (zeertzjq) 45054 Solution: Regenerate the affected dump files (Doug Kearns). 45055 45056 Patch 9.1.0615 45057 Problem: Unnecessary STRLEN() in make_percent_swname() 45058 Solution: Pass the end of "dir" to make_percent_swname() (zeertzjq). 45059 45060 Patch 9.1.0616 45061 Problem: filetype: Make syntax highlighting off for MS Makefiles 45062 Solution: Try to detect MS Makefiles and adjust syntax rules to it. 45063 (Ken Takata) 45064 45065 Patch 9.1.0617 45066 Problem: Cursor moves beyond start of a folded range at the end of a buffer. 45067 Solution: Move cursor to start of fold when going beyond end of buffer. 45068 Check that cursor moved to detect FAIL in outer cursor function. 45069 (Luuk van Baal) 45070 45071 Patch 9.1.0618 45072 Problem: cannot mark deprecated attributes in completion menu 45073 Solution: Add hl_group to the Dictionary of supported completion fields 45074 (glepnir). 45075 45076 Patch 9.1.0619 45077 Problem: tests: test_popup fails (after v9.1.0618) 45078 Solution: Correct test, move combining extra attributes to 45079 pum_compute_text_attrs() (glepnir). 45080 45081 Patch 9.1.0620 45082 Problem: Vim9: segfauls with null objects (after v9.1.0219) 45083 Solution: Check object pointer being NULL (Ernie Rael). 45084 45085 Patch 9.1.0621 45086 Problem: MS-Windows: startup code can be improved 45087 Solution: Re-work and optimize win32 startup code (Ken Takata). 45088 45089 Patch 9.1.0622 45090 Problem: MS-Windows: mingw-build can be optimized 45091 Solution: Use --gc-sections to reduce the size of the executable 45092 (Ken Takata) 45093 45094 Patch 9.1.0623 45095 Problem: Mingw: warnings when trying to delete non-existing files 45096 Solution: Use "rm -f" instead of "rm" to suppress errors for 45097 non-existing files (Ken Takata) 45098 45099 Patch 9.1.0624 45100 Problem: ex command modifiers are not found (Ingo Karkat, after v9.1.0352) 45101 Solution: Partly revert Patch v9.1.0352, ignore :{ and :} 45102 45103 Patch 9.1.0625 45104 Problem: tests: test output all translated messages for all 45105 translations 45106 Solution: Redirect the output of check.vim to /dev/null, it's not that 45107 useful. 45108 45109 Patch 9.1.0626 45110 Problem: Vim9: need more tests with null objects (after v9.1.0620) 45111 Solution: add one more test with null_object (Ernie Rael). 45112 45113 Patch 9.1.0627 45114 Problem: MinGW: build-error when COVERAGE is enabled 45115 (after v9.1.0621) 45116 Solution: Fix regressions in v9.1.0621 and v9.1.0622 (Ken Takata). 45117 45118 Patch 9.1.0628 45119 Problem: MinGW: coverage files are not cleaned up 45120 Solution: Adjust clean rule to remove the coverage files (Ken Takata). 45121 45122 Patch 9.1.0629 45123 Problem: Rename of pum hl_group is incomplete in source. 45124 Solution: Also rename the test function. Rename to user_hlattr in code 45125 to avoid confusion with pum_extra. Add test with matched text 45126 highlighting (zeertzjq). 45127 45128 Patch 9.1.0630 45129 Problem: MS-Windows: build fails with VIMDLL and mzscheme 45130 Solution: Define scheme_register_tls_space() inside gvim.exe 45131 and refer to it from the dll (Ken Takata). 45132 45133 Patch 9.1.0631 45134 Problem: wrong completion list displayed with non-existing dir + fuzzy 45135 completion (kawarimidoll) 45136 Solution: clear list of matches, if leader did not use fuzzy match (glepnir). 45137 45138 Patch 9.1.0632 45139 Problem: MS-Windows: Compiler Warnings 45140 Solution: Fix the warnings (Ken Takata). 45141 45142 Patch 9.1.0633 45143 Problem: Compilation warnings with `-Wunused-parameter` 45144 Solution: Add the `UNUSED` macro where needed, and remove some 45145 superfluous ones (Dominique Pellé). 45146 45147 Patch 9.1.0634 45148 Problem: Ctrl-P not working by default (Jesse Pavel, after v9.1.0598) 45149 Solution: Revert part of v9.1.0598 and set cur_match_pos 45150 correctly according to compl_dir_forward(). 45151 45152 Patch 9.1.0635 45153 Problem: filetype: SuperHTML template files not recognized 45154 Solution: Update the filetype detection code to detect '*.shtml' either 45155 as HTML (Server Side Includes) or SuperHTML (template files) 45156 (EliSauder). 45157 45158 Patch 9.1.0636 45159 Problem: filetype: ziggy files are not recognized 45160 Solution: detect '*.ziggy' files as ziggy filetype, 45161 detect '*.ziggy-schema' files as ziggy-schema filetype (EliSauder). 45162 45163 Patch 9.1.0637 45164 Problem: MS-Windows: Style issues in MSVC Makefile 45165 Solution: Fix style issues, simplify logic (Ken Takata). 45166 45167 Patch 9.1.0638 45168 Problem: E1510 may happen when formatting a message (after 9.1.0181). 45169 Solution: Only give E1510 when using typval (zeertzjq). 45170 45171 Patch 9.1.0639 45172 Problem: channel timeout may wrap around 45173 Solution: Correct timeout calculation when GetTickCount() wraps around 45174 (Ken Takata). 45175 45176 Patch 9.1.0640 45177 Problem: Mingw: Makefile can be improved 45178 Solution: Reduce nesting level, directly check if the '-Wl,--entry' 45179 option is required (Ken Takata). 45180 45181 Patch 9.1.0641 45182 Problem: MS-Windows: OLE enabled in console version, may cause hang 45183 (Linda_pp) 45184 Solution: Disable OLE for console version (Ken Takata). 45185 45186 Patch 9.1.0642 45187 Problem: Check that mapping rhs starts with lhs doesn't work if lhs is 45188 not simplified. 45189 Solution: Keep track of the mapblock containing the alternative lhs and 45190 also compare with it (zeertzjq). 45191 45192 Patch 9.1.0643 45193 Problem: terminal: cursor may end up on invalid position after reducing 45194 the scrollback lines (user202729) 45195 Solution: After reducing the scrollback size, check the cursor position, 45196 making sure it does not end up on an invalid line. 45197 45198 Patch 9.1.0644 45199 Problem: Unnecessary STRLEN() when applying mapping (after v9.1.0642). 45200 Solution: Use m_keylen and vim_strnsave() (zeertzjq). 45201 45202 Patch 9.1.0645 45203 Problem: regex: wrong match when searching multi-byte char case-insensitive 45204 (diffsetter) 45205 Solution: Apply proper case-folding for characters and search-string 45206 45207 Patch 9.1.0646 45208 Problem: Vim9: imported function may not be found 45209 Solution: Try to find the function by name (Ernie Rael). 45210 45211 Patch 9.1.0647 45212 Problem: [security] use-after-free in tagstack_clear_entry (Suyue Guo). 45213 Solution: Instead of manually calling vim_free() on each of the tagstack 45214 entries, let's use tagstack_clear_entry(), which will 45215 also free the stack, but using the VIM_CLEAR macro, which prevents a 45216 use-after-free by setting those pointers to NULL. 45217 45218 Patch 9.1.0648 45219 Problem: [security] double-free in dialog_changed() (SuyueGuo) 45220 Solution: Only clear pointer b_sfname pointer, if it is different than the 45221 b_ffname pointer. Don't try to free b_fname, set it to NULL 45222 instead. 45223 45224 Patch 9.1.0649 45225 Problem: Wrong comment for "len" argument of call_simple_func(). 45226 Solution: Remove the "or -1 to use strlen()". Also change its type to 45227 size_t to remove one cast. (zeertzjq). 45228 45229 Patch 9.1.0650 45230 Problem: Coverity warning in cstrncmp() (after v9.1.0645). 45231 Solution: Change the type of n2 to int (zeertzjq). 45232 45233 Patch 9.1.0651 45234 Problem: ex: trailing dot is optional for :g and :insert/:append 45235 Solution: Don't break out early, when the next command is empty 45236 (Mohamed Akram). 45237 45238 Patch 9.1.0652 45239 Problem: too many strlen() calls in syntax.c 45240 Solution: refactor code to reduce the number or strlen() calls, get rid of 45241 un-used SYN_NAMELEN macro (John Marriott). 45242 45243 Patch 9.1.0653 45244 Problem: Patch v9.1.0648 not completely right (zeertzjq) 45245 Solution: Remove always true condition. 45246 45247 Patch 9.1.0654 45248 Problem: completion does not respect completeslash with fuzzy (egesip) 45249 Solution: Change path separator on Windows, depending on 'completeslash' 45250 option value (glepnir). 45251 45252 Patch 9.1.0655 45253 Problem: filetype: goaccess config file not recognized 45254 Solution: Detect 'goaccess.conf' as goaccess filetype, also 45255 include a basic syntax and ftplugin (Adam Monsen) 45256 45257 Patch 9.1.0656 45258 Problem: MS-Windows: MSVC Makefile CPU handling can be improved 45259 Solution: Update Makefile and also remove some old code (Ken Takata). 45260 45261 Patch 9.1.0657 45262 Problem: MS-Windows: MSVC build time can be optimized 45263 Solution: Stop using Powershell, show detected version, read _MSC_VER 45264 and _MSC_FULL_VER in a single cl execution. (Ken Takata). 45265 45266 Patch 9.1.0658 45267 Problem: Coverity warns about dereferencing NULL pointer. 45268 Solution: Bail out if vim_strrchr() returns NULL (zeertzjq). 45269 45270 Patch 9.1.0659 45271 Problem: MS-Windows: MSVC Makefile is a bit hard to read (after v9.1.0657). 45272 Solution: Indent the if/else statements to improve readability (Ken Takata). 45273 45274 Patch 9.1.0660 45275 Problem: MS-Windows: Shift-Insert does not work on old conhost 45276 (Nick Jensen, after 9.0.1146) 45277 Solution: Handle Shift-Insert specifically (Christian Plewright). 45278 45279 Patch 9.1.0661 45280 Problem: the zip plugin is not tested. 45281 Solution: Include tests (Damien). 45282 45283 Patch 9.1.0662 45284 Problem: filecopy() may return wrong value when readlink() fails. 45285 Solution: Set ret to -1 so that 0 is returned when readlink() fails 45286 (zeertzjq). 45287 45288 Patch 9.1.0663 45289 Problem: tests: zip test still resets 'shellslash' option 45290 Solution: Remove resetting the 'shellslash' option, the zip plugin should now 45291 be able to handle this options. 45292 45293 Patch 9.1.0664 45294 Problem: MS-Windows: console vim did not switch back to main screen on 45295 exit 45296 Solution: switch back to main screen on exit (Ken Takata). 45297 45298 Patch 9.1.0665 45299 Problem: Locked variable can be changed in a :for loop. 45300 Solution: Always do a full permission check on the first loop iteration 45301 where ASSIGN_DECL is not set (zeertzjq). 45302 45303 Patch 9.1.0666 45304 Problem: assert_equal() doesn't show multibyte string correctly 45305 Solution: Properly advance over a multibyte char (zeertzjq). 45306 45307 Patch 9.1.0667 45308 Problem: Some other options reset curswant unnecessarily when set. 45309 (Andrew Haust) 45310 Solution: Don't reset curswant when setting 'comments', 'commentstring' 45311 or 'define' (zeertzjq). 45312 45313 Patch 9.1.0668 45314 Problem: build-error with python3.12 and stable ABI (zdohnal) 45315 Solution: Add type casts, define Py_INCREF for Python3.12 and higher 45316 (Ken Takata). 45317 45318 Patch 9.1.0669 45319 Problem: stable python ABI not used by default 45320 Solution: Enable stable python ABI v3.8 when building with python3/dyn 45321 by default, update the default Python3 version to 3.8 for 45322 MS-Windows (Ken Takata). 45323 45324 Patch 9.1.0670 45325 Problem: po file encoding fails on *BSD during make 45326 Solution: Instead of using `$<` make use of variable `$?` which should 45327 be equivalent when the rule is dependent on only a single 45328 file (RestorerZ). 45329 45330 Patch 9.1.0672 45331 Problem: marker folds may get corrupted on undo (Yousef Mohammed) 45332 Solution: When adjusting folds, make sure that line1 is the lower limit 45333 and line2 is the upper line limit. In particular, line2 should 45334 not be able to get smaller than line1. 45335 45336 Patch 9.1.0673 45337 Problem: Vim9: too recursive func calls when calling super-class method 45338 with non-overridden super-call methods. (Aliaksei Budavei) 45339 Solution: Use interface method, when super is to be used (Ernie Rael) 45340 45341 Patch 9.1.0674 45342 Problem: Vim9: compiling abstract method fails because of missing 45343 return (Aliaksei Budavei) 45344 Solution: Don't require a return statement for an abstract method when 45345 compiling (Ernie Rael). 45346 45347 Patch 9.1.0675 45348 Problem: Patch v9.1.0674 causes problems 45349 Solution: Revert it for now. 45350 45351 Patch 9.1.0676 45352 Problem: style issues with man pages 45353 Solution: Update man pages and test_xxd.vim, since it uses 45354 the xxd man page (RestorerZ) 45355 45356 Patch 9.1.0677 45357 Problem: :keeppatterns does not retain the substitute pattern 45358 for a :s command 45359 Solution: Preserve the last substitute pattern when used with the 45360 :keeppatterns command modifier (Gregory Anders). 45361 45362 Patch 9.1.0678 45363 Problem: [security]: use-after-free in alist_add() (SuyueGuo) 45364 Solution: Lock the current window, so that the reference to 45365 the argument list remains valid. 45366 45367 Patch 9.1.0679 45368 Problem: Rename from w_closing to w_locked is incomplete (after 9.1.0678). 45369 Solution: Rename remaining occurrences of w_closing to w_locked and 45370 update comments (zeertzjq). 45371 45372 Patch 9.1.0680 45373 Problem: VMS does not have defined uintptr_t 45374 Solution: Add type definitions (Zoltan Arpadffy). 45375 45376 Patch 9.1.0681 45377 Problem: tests: Analyzing failed screendumps is hard 45378 Solution: Facilitate the viewing of rendered screendumps under src/ 45379 add some documentation on how to use the viewdumps.vim 45380 script (Aliaksei Budavei) 45381 45382 Patch 9.1.0682 45383 Problem: Vim9: Segfault with uninitialized funcref (Daniel Viberg) 45384 Solution: Check the Funcref for being Null before trying to access it 45385 (Ernie Rael). 45386 45387 Patch 9.1.0683 45388 Problem: mode() returns wrong value with <Cmd> mapping 45389 Solution: Change decision priority of VIsual_active and move visual mode a bit 45390 further down (kuuote) 45391 45392 Patch 9.1.0684 45393 Problem: completion is inserted on Enter with "noselect" (Carman Fu) 45394 Solution: Check noselect before update compl_shown_match (glepnir). 45395 45396 Patch 9.1.0685 45397 Problem: too many strlen() calls in usercmd.c 45398 Solution: Refactor code to reduce the number or strlen() calls (John Marriott) 45399 45400 Patch 9.1.0686 45401 Problem: zip-plugin has problems with special characters (user202729) 45402 Solution: Escape '*?[\' on Unix and handle those chars a bit differently on 45403 MS-Windows, add a test, check before overwriting files. 45404 45405 Patch 9.1.0687 45406 Problem: Makefile may not install desktop files 45407 Solution: Check for "$(DESTDIR)$(DATADIR)" instead of just "$DESTDIR", 45408 which is usually not defined, add uninstall rules for the 45409 icons and the desktop files. 45410 45411 Patch 9.1.0688 45412 Problem: Vim9: dereferences NULL pointer in check_type_is_value() (Suyue Guo) 45413 Solution: Verify that the pointer is not Null. 45414 45415 Patch 9.1.0689 45416 Problem: buffer-overflow in do_search() with 'rightleft' (SuyueGuo) 45417 Solution: After reversing the text (which allocates a new buffer), 45418 re-calculate the text length. 45419 45420 Patch 9.1.0690 45421 Problem: cannot set special highlight kind in popupmenu 45422 Solution: Add kind_hlgroup item to complete function (glepnir). 45423 45424 Patch 9.1.0691 45425 Problem: python3: stable-abi may cause segfault on Python 3.11 45426 (Audrius Kažukauskas, after v9.1.0668) 45427 Solution: Do not enable the stable Python ABI by default, only when used 45428 with --with-python3-stable-abi argument is given 45429 45430 Patch 9.1.0692 45431 Problem: Wrong patlen value in ex_substitute() (after 9.1.0426). 45432 Solution: Compute patlen after finding end separator (zeertzjq). 45433 45434 Patch 9.1.0693 45435 Problem: Configure doesn't show result when not using python3 stable 45436 abi (after v9.1.0691) 45437 Solution: Add back AC_MSG_RESULT() (Ken Takata). 45438 45439 Patch 9.1.0694 45440 Problem: The matchparen plugin is slow on a long line. 45441 Solution: Don't use a regexp to get char at and before cursor (zeertzjq). 45442 45443 Patch 9.1.0695 45444 Problem: tests: test_crash leaves Untitled file around 45445 Solution: Cleanup at the end of the test_crash.vim test file. 45446 45447 Patch 9.1.0696 45448 Problem: installing runtime files fails when using SHADOWDIR 45449 Solution: Revert part of v9.1.0609, since runtime/doc/Makefile's default 45450 value for VIMPROG does not work if vim was built in a SHADOWDIR. 45451 (James McCoy) 45452 45453 Patch 9.1.0697 45454 Problem: heap-buffer-overflow in ins_typebuf (SuyueGuo) 45455 Solution: When flushing the typeahead buffer, validate that there is enough 45456 space left 45457 45458 Patch 9.1.0698 45459 Problem: tests: "Untitled" file not removed when running Test_crash1_3 alone 45460 with TEST_FILTER (after v9.1.0695) 45461 Solution: Use a TearDown function instead of another test (zeertzjq). 45462 45463 Patch 9.1.0699 45464 Problem: "dvgo" is not always an inclusive motion (Iain King-Speir) 45465 Solution: Initialize the inclusive flag to false. 45466 45467 Patch 9.1.0700 45468 Problem: possible crash with 2byte encoding and glob2regpat() 45469 Solution: Skip over character, if it is multi-byte character. 45470 45471 Patch 9.1.0701 45472 Problem: crash with NFA regex engine when searching for composing chars 45473 (SuyueGuo) 45474 Solution: When there is no composing character, break out of the loop 45475 and check that out1 state is not null. 45476 45477 Patch 9.1.0702 45478 Problem: Patch 9.1.0700 broke CI 45479 Solution: Revert for now. 45480 45481 Patch 9.1.0703 45482 Problem: possible crash with 2-byte encoding and glob2regpat() 45483 (after v9.1.0700, v9.1.0702) 45484 Solution: Include both bytes for a multi-byte character for an 45485 escaped character. 45486 45487 Patch 9.1.0704 45488 Problem: inserting with a count is inefficient 45489 Solution: Disable calculation of the cursor position and topline, if a 45490 count has been used (Ken Takata). 45491 45492 Patch 9.1.0705 45493 Problem: Sorting of fuzzy filename completion is not stable 45494 Solution: Compare indexes when scores are equal. Fix some typos (zeertzjq). 45495 45496 Patch 9.1.0706 45497 Problem: tests: test_gettext fails when using shadow dir 45498 Solution: Link the ru_RU directory into the shadow testdir (James McCoy). 45499 45500 Patch 9.1.0707 45501 Problem: [security]: invalid cursor position may cause a crash 45502 (after v9.1.0038) 45503 Solution: Set cursor to the last character in a line, if it would 45504 otherwise point to beyond the line; no tests added, as it 45505 is unclear how to reproduce this. 45506 45507 Patch 9.1.0708 45508 Problem: Window is updated with potentially invalid skipcol in recursive 45509 window update path. I.e. cursor outside of visible range in 45510 large line that does not fit. 45511 Solution: Make sure it is valid (Luuk van Baal). 45512 45513 Patch 9.1.0709 45514 Problem: GUIEnter not found in Turkish locale (James McCoy) 45515 Solution: Explicitly compare autocommand events by ASCII value and 45516 ignoring locale, because according to the documentation, 45517 events are case insensitive. 45518 45519 Patch 9.1.0710 45520 Problem: when a popup window covers the command line, 45521 the command line is not completely cleared on popup_hide() (yu3s) 45522 Solution: Check if the popup window covers the command line and if it 45523 does, set the clear_cmdline flag. 45524 45525 Patch 9.1.0711 45526 Problem: tests: test_xxd may file when using different xxd 45527 Solution: Make Test_xxd_color_0 agnostic to xxd's path, similar to 45528 Test_xxd_color_1 by filtering out shell command prompt in 45529 screen dump file (James McCoy). 45530 45531 Patch 9.1.0712 45532 Problem: tests: missing dependency of Test_gettext_makefile 45533 Solution: Check that xgettext binary is available, else skip the test 45534 (James McCoy). 45535 45536 Patch 9.1.0713 45537 Problem: Newline causes E749 in Ex mode (after 9.1.0573). 45538 Solution: Don't execute empty command followed by a newline. 45539 45540 Patch 9.1.0714 45541 Problem: tests: GuiEnter_Turkish test may fail 45542 Solution: The message will be translated if the Turkish message file is 45543 installed. Use gettext() to get the expected message (Ken Takata). 45544 45545 Patch 9.1.0715 45546 Problem: Not correctly parsing color names (chdiza, after v9.1.0709) 45547 Solution: Revert part of the Patch that compares the color names and 45548 fall-back to the macro STRICMP. 45549 45550 Patch 9.1.0716 45551 Problem: resetting setcellwidth() doesn't update the screen 45552 Solution: Redraw after clearing the cellwidth table (Ken Takata). 45553 45554 Patch 9.1.0717 45555 Problem: Unnecessary nextcmd NULL checks in parse_command_modifiers(). 45556 Solution: Remove them (zeertzjq). 45557 45558 Patch 9.1.0718 45559 Problem: hard to guess the Vim Runtime Directory 45560 Solution: Set the $MYVIMDIR environment variable to the users 45561 personal runtime directory (e.g. ~/.vim on Linux). 45562 45563 Patch 9.1.0719 45564 Problem: Resetting cell widths can make 'listchars' or 'fillchars' 45565 invalid. 45566 Solution: Check for conflicts when resetting cell widths (zeertzjq). 45567 45568 Patch 9.1.0720 45569 Problem: Wrong breakindentopt=list:-1 with multibyte chars or TABs in 45570 text matched by 'formatlistpat' (John M Devin) 45571 Solution: Use the width of the match text (zeertzjq). 45572 45573 Patch 9.1.0721 45574 Problem: tests: test_mksession does not consider XDG_CONFIG_HOME 45575 Solution: Allow to match $HOME/.vim/ and $HOME/.config/vim for &viewdir 45576 (John M Devin) 45577 45578 Patch 9.1.0722 45579 Problem: crash with large id in text_prop interface 45580 prop_add()/prop_add_list() (cposture) 45581 Solution: Error out if the id is > INT_MAX or <= INT_MIN. 45582 45583 Patch 9.1.0723 45584 Problem: if_python: dynamic linking fails with python3 >= 3.13 45585 when using non-stable ABI (zdohnal) 45586 Solution: Do not try to import the privat python symbol 45587 _PyObject_NextNotImplemented (Yee Cheng Chin). 45588 45589 Patch 9.1.0724 45590 Problem: if_python: link error with python 3.13 and stable ABI (zdohnal) 45591 Solution: Use the correct stable APIs Py_IncRef and Py_DecRef instead 45592 (Yee Cheng Chin) 45593 45594 Patch 9.1.0725 45595 Problem: filetype: swiftinterface files are not recognized 45596 Solution: Detect '*.swiftinterface' files as swift filetype (LosFarmosCTL). 45597 45598 Patch 9.1.0726 45599 Problem: not using correct python3 API with dynamic linking 45600 Solution: Use stable IncRef / DecRef in Python 3 dynamic bindings 45601 (Yee Cheng Chin). 45602 45603 Patch 9.1.0727 45604 Problem: too many strlen() calls in option.c 45605 Solution: Refactor the code to reduce the number of strlen() calls 45606 (John Marriott) 45607 45608 Patch 9.1.0728 45609 Problem: heap-use-after-free in garbage collection with location list 45610 user data. 45611 Solution: Mark user data as in use when no other window is referencing 45612 the location list (zeertzjq). 45613 45614 Patch 9.1.0729 45615 Problem: Wrong cursor-screenline when resizing window 45616 Solution: Invalidate saved left_col and right_col when width1 or width2 45617 change. 45618 45619 Patch 9.1.0730 45620 Problem: Crash with cursor-screenline and narrow window (elig0n) 45621 Solution: Don't set right_col when width2 is 0 (zeertzjq). 45622 45623 Patch 9.1.0731 45624 Problem: inconsistent case sensitive extension matching 45625 Solution: Unify case sensitive extension matching (Evgeni Chasnovski). 45626 45627 Patch 9.1.0732 45628 Problem: xxd: cannot use -b and -i together (Irgendwer) 45629 Solution: Implement the missing changes (Andre Chang) 45630 45631 Patch 9.1.0733 45632 Problem: keyword completion does not work with fuzzy (egesip) 45633 Solution: Handle ctrl_x_mode_normal() specifically (glepnir). 45634 45635 Patch 9.1.0734 45636 Problem: filetype: jinja files are not recognized 45637 Solution: Detect '*.jinja' files a jinja filetype, 45638 include jinja syntax script (Gregory Anders) 45639 45640 Patch 9.1.0735 45641 Problem: filetype: salt files are not recognized 45642 Solution: Detect '*.sls' files as filetype salt, 45643 include a syntax script (Gregory Anders) 45644 45645 Patch 9.1.0736 45646 Problem: Unicode tables are outdated 45647 Solution: Update Unicode tables to v16 45648 45649 Patch 9.1.0737 45650 Problem: Asynchronous terminal jobs occasionally require more time 45651 to complete and redraw the window 45652 Solution: Increase the sleep value from 10 to 50 milliseconds 45653 (Aliaksei Budavei). 45654 45655 Patch 9.1.0738 45656 Problem: filetype: rapid files are not recognized 45657 Solution: Detect '*.sysx' and '*.modx' as rapid filetype (KnoP-01). 45658 45659 Patch 9.1.0739 45660 Problem: [security]: use-after-free in ex_getln.c 45661 Solution: free pointer p a bit later (John Marriott). 45662 45663 Patch 9.1.0740 45664 Problem: incorrect internal diff with an empty file 45665 Solution: Set pointer to NULL, instead of using an empty line file 45666 (Yukihiro Nakadaira). 45667 45668 Patch 9.1.0741 45669 Problem: No way to get prompt for input()/confirm() 45670 Solution: Add getcmdprompt() function (Shougo Matsushita). 45671 45672 Patch 9.1.0742 45673 Problem: getcmdprompt() implementation can be improved 45674 Solution: Improve and simplify it (h-east). 45675 45676 Patch 9.1.0743 45677 Problem: diff mode does not handle overlapping diffs correctly 45678 Solution: Correct the logic to handle overlapping blocks 45679 (Yukihiro Nakadaira) 45680 45681 Patch 9.1.0744 45682 Problem: filetype: notmuch configs are not recognised 45683 Solution: Detect more notmuch profile configuration files 45684 as dosini filetype (Julio B). 45685 45686 Patch 9.1.0745 45687 Problem: filetype: bun and deno history files not recognized 45688 Solution: Detect '.bun_repl_history' and 'deno_history.txt' as 45689 javascript filetype (Wu, Zhenyu). 45690 45691 Patch 9.1.0746 45692 Problem: Test_halfpage_longline() fails on large terminals (lazypingu) 45693 Solution: Use a window with known width (zeertzjq). 45694 45695 Patch 9.1.0747 45696 Problem: various typos in repo found 45697 Solution: Fix typos (zeertzjq). 45698 45699 Patch 9.1.0748 45700 Problem: The :keep{alt,jumps,marks,patterns} commmands are sometimes 45701 misidentified as :k. 45702 Solution: Make sure one_letter_cmd() only returns true for :k and not 45703 other :keep* commands (Doug Kearns). 45704 45705 Patch 9.1.0749 45706 Problem: filetype: http files not recognized 45707 Solution: Detect '*.http' as http filetype, include 45708 http filetype plugin (Riley Bruins) 45709 45710 Patch 9.1.0750 45711 Problem: there are some Win9x legacy references 45712 Solution: Remove those mentions (Nir Lichtman). 45713 45714 Patch 9.1.0751 45715 Problem: Error callback for term_start() not used (darkseid-is) 45716 Solution: Attach pipe to stderr if an error callback exists 45717 45718 Patch 9.1.0752 45719 Problem: can set cedit to an invalid value 45720 Solution: Check that the value is a valid key name (Milly) 45721 45722 Patch 9.1.0753 45723 Problem: Wrong display when typing in diff mode with 'smoothscroll'. 45724 Solution: Use adjust_plines_for_skipcol() (zeertzjq). 45725 45726 Patch 9.1.0754 45727 Problem: fixed order of items in insert-mode completion menu 45728 Solution: Introduce the 'completeitemalign' option with default 45729 value "abbr,kind,menu" (glepnir). 45730 45731 Patch 9.1.0755 45732 Problem: quickfix list does not handle hardlinks well 45733 Solution: Store original file name with quickfix entry (Austin Chang) 45734 45735 Patch 9.1.0756 45736 Problem: missing change from Patch v9.1.0754 45737 Solution: Use correct width for the actual item in pum_redraw() (glepnir). 45738 45739 Patch 9.1.0757 45740 Problem: tests: messages files contains ANSI escape sequences 45741 Solution: Filter those out in runtests.vim 45742 45743 Patch 9.1.0758 45744 Problem: it's possible to set an invalid key to 'wildcharm' 45745 Solution: Error out, if the 'wildcharm' value is an invalid key (Milly). 45746 45747 Patch 9.1.0759 45748 Problem: screenpos() may return invalid position after switching buffers 45749 (Greg Hurrell) 45750 Solution: Reset w_leftcol if wrapping has been set after copying wrap option. 45751 45752 Patch 9.1.0760 45753 Problem: tests: no error reported, if gen_opt_test.vim fails 45754 Solution: Make Vim exit with return code 1 in case of any error (Milly). 45755 45756 Patch 9.1.0761 45757 Problem: :cd completion fails on Windows with backslash in path 45758 Solution: Switch no_bslash argument to FALSE in file_pat_to_reg_pat() 45759 45760 Patch 9.1.0762 45761 Problem: 'cedit', 'termwinkey' and 'wildchar' may not be parsed correctly 45762 Solution: improve string_to_key() function in option.c (Milly). 45763 45764 Patch 9.1.0763 45765 Problem: tests: cannot run single syntax tests 45766 Solution: Support running a subset of syntax tests (Aliaksei Budavei). 45767 45768 Patch 9.1.0764 45769 Problem: [security]: use-after-free when closing a buffer 45770 Solution: When splitting the window and editing a new buffer, 45771 check whether the newly to be edited buffer has been marked 45772 for deletion and abort in this case. 45773 45774 Patch 9.1.0765 45775 Problem: No test for Patches 6.2.418 and 7.3.489 45776 Solution: Add a test. Fix some whitespace problems in test_mapping.vim. 45777 Document the behavior (zeertzjq). 45778 45779 Patch 9.1.0766 45780 Problem: too many strlen() calls in ex_getln.c 45781 Solution: Refactor the code to reduce the number of strlen() calls 45782 (John Marriott). 45783 45784 Patch 9.1.0767 45785 Problem: A cmdlen == 0 condition is always true as ccline.cmdlen == 0 45786 was already checked above (after v9.1.0766). 45787 Solution: Remove the condition and the variable (zeertzjq). 45788 45789 Patch 9.1.0768 45790 Problem: MS-Windows: incorrect cursor position when restoring screen 45791 (after v9.1.0664) 45792 Solution: Restore the VTP command for switching screens back to 45793 termcap_mode_end() (William Bresler). 45794 45795 Patch 9.1.0769 45796 Problem: filetype: MLIR files are not recognized 45797 Solution: Detect '*.mlir' files as mlir filetype, 45798 include a mlir filetype plugin (Wu, Zhenyu). 45799 45800 Patch 9.1.0770 45801 Problem: current command completion is a bit limited 45802 Solution: Add the shellcmdline completion type and getmdcomplpat() 45803 function (Ruslan Russkikh). 45804 45805 Patch 9.1.0771 45806 Problem: Currently completion attribute hl_group is combined with 45807 all items, which is redundant and confusing with kind_hlgroup 45808 Solution: Renamed to abbr_hlgroup and combine it only with the abbr item 45809 (glepnir). 45810 45811 Patch 9.1.0772 45812 Problem: some missing changes from v9.1.0771 45813 Solution: Use correct highlighting attribute and adjust comments (glepnir). 45814 45815 Patch 9.1.0773 45816 Problem: filetype: some Apache files are not recognized 45817 Solution: Detect more config files from the Apache source 45818 distribution as filetype apache (nisbet-hubbard) 45819 45820 Patch 9.1.0774 45821 Problem: "shellcmdline" doesn't work with getcompletion(). 45822 Solution: Use set_context_for_wildcard_arg() (zeertzjq). 45823 45824 Patch 9.1.0775 45825 Problem: tests: not enough tests for setting options 45826 Solution: Add more comprehensive tests to test_options (Milly). 45827 45828 Patch 9.1.0776 45829 Problem: test_strftime may fail because of missing TZ data 45830 Solution: Use GMT offsets to validate timezone differences (James McCoy). 45831 45832 Patch 9.1.0777 45833 Problem: filetype: Some upstream php files are not recognized 45834 Solution: Detect more config files from the PHP source 45835 distribution as filetype ini (nisbet-hubbard). 45836 45837 Patch 9.1.0778 45838 Problem: filetype: lf config files are not recognized 45839 Solution: Detect lfrc files as lf filetype, include a syntax 45840 script for lf files (Andis Spriņķis). 45841 45842 Patch 9.1.0779 45843 Problem: filetype: neomuttlog files are not recognized 45844 Solution: Detect '*.neomuttdebug' file as neomuttlog filetype, 45845 include neomuttlog syntax script (Richard Russon). 45846 45847 Patch 9.1.0780 45848 Problem: MS-Windows: incorrect Win32 error checking 45849 Solution: Fix wrong order of error handling and perform 45850 some minor refactoring (Nir Lichtman). 45851 45852 Patch 9.1.0781 45853 Problem: tests: test_filetype fails (clason) (after v9.1.0779). 45854 Solution: Use correct filename for neomuttlog filetype. 45855 45856 Patch 9.1.0782 45857 Problem: tests: using wrong neomuttlog file name 45858 Solution: Use correct file name. 45859 45860 Patch 9.1.0783 45861 Problem: 'spell' option setting has problems 45862 Solution: correctly check for comma for 'spellfile' option, 45863 remove unnecessary checks, refactor slightly (Milly) 45864 45865 Patch 9.1.0784 45866 Problem: there are several problems with python 3.13 45867 Solution: Fix the problems in the python3 interface (Boris Staletic) 45868 45869 Patch 9.1.0785 45870 Problem: cannot preserve error position when setting quickfix lists 45871 Solution: Add the 'u' action for setqflist()/setloclist() and try 45872 to keep the closes target position (Jeremy Fleischman). 45873 45874 Patch 9.1.0786 45875 Problem: tests: quickfix update test does not test location list 45876 (after: v9.1.0.785) 45877 Solution: Update Test_quickfix_buffer_contents to test with location 45878 lists (Yegappan Lakshmanan). 45879 45880 Patch 9.1.0787 45881 Problem: cursor position changed when using hidden terminal 45882 and BufFilePost autocommand (Mizuno Jan Yuta) 45883 Solution: Save and restore cursor position. 45884 45885 Patch 9.1.0788 45886 Problem: <CSI>27;<mod>u is not decoded to literal Escape in kitty/foot 45887 Solution: Disable XTerm modifyOtherKeys form 1 when the kitty protocol is enabled 45888 (Christian Fillion) 45889 45890 Patch 9.1.0789 45891 Problem: tests: ':resize + 5' has invalid space after '+' 45892 Solution: Correct the test (Milly). 45893 45894 Patch 9.1.0790 45895 Problem: Amiga: AmigaOS4 build should use default runtime (newlib) 45896 Solution: Remove clib2 from compiler / linker flags (Ola Söder). 45897 45898 Patch 9.1.0791 45899 Problem: tests: errors in gen_opt_test.vim are not shown 45900 Solution: update gen_opt_test.vim and write test.log, 45901 let the makefile output test.log (Milly). 45902 45903 Patch 9.1.0792 45904 Problem: tests: Test_set_values() is not comprehensive enough 45905 Solution: Add a lot more test cases (Milly). 45906 45907 Patch 9.1.0793 45908 Problem: xxd: -e does add one extra space 45909 Solution: fix it, refactor and merge some code (Aapo Rantalainen). 45910 45911 Patch 9.1.0794 45912 Problem: tests: tests may fail on Windows environment 45913 Solution: Use shellcmdflag=/D to skip executing autorun from the registry 45914 (Milly). 45915 45916 Patch 9.1.0795 45917 Problem: filetype: Vivado memory info file are not recognized 45918 Solution: Detect '*.mmi' memory info file as xml filetype (Wu, Zhenyu). 45919 45920 Patch 9.1.0796 45921 Problem: filetype: libtool files are not recognized 45922 Solution: Detect '*.{lo,la,lai}' as sh filetype (Wu, Zhenyu). 45923 45924 Patch 9.1.0797 45925 Problem: testing of options can be further improved 45926 Solution: Split the generated option test into test_options_all.vim, 45927 add more test cases, save and restore values, fix use-after-free. 45928 45929 Patch 9.1.0798 45930 Problem: too many strlen() calls in cmdhist.c 45931 Solution: Refactor code and remove strlen() calls (John Marriott). 45932 45933 Patch 9.1.0799 45934 Problem: tests: gettwinvar()/gettabwinvar() tests are not comprehensive 45935 Solution: Add more tests (Milly). 45936 45937 Patch 9.1.0800 45938 Problem: tests: no error check when setting global 'termwinsize' 45939 Solution: Also validate when using setglobal (Milly). 45940 45941 Patch 9.1.0801 45942 Problem: tests: no error check when setting global 'termwinkey' 45943 Solution: Also validate when using setglobal (Milly). 45944 45945 Patch 9.1.0802 45946 Problem: tests: no error check when setting global 'fdm' to empty value 45947 Solution: Also check global 'fdm' value for being empty (Milly). 45948 45949 Patch 9.1.0803 45950 Problem: tests: no error check when setting global 'isk' 45951 Solution: Also parse and check global 'isk' value (Milly). 45952 45953 Patch 9.1.0804 45954 Problem: tests: no error check when setting global 'cc' 45955 Solution: Also parse and check global 'cc' value (Milly). 45956 45957 Patch 9.1.0805 45958 Problem: tests: minor issues in gen_opt_test.vim 45959 Solution: Fix restore value for 'undolevels', fix comment, fix 45960 wrong cpo value, add equality test for global-local options on 45961 switchback (Milly). 45962 45963 Patch 9.1.0806 45964 Problem: tests: no error check when setting global 'briopt' 45965 Solution: Also parse and check global 'briopt' value (Milly). 45966 45967 Patch 9.1.0807 45968 Problem: tests: having 'nolist' in modelines isn't always desired 45969 Solution: Remove 'nolist' from modeline (zeertzjq). 45970 45971 Patch 9.1.0808 45972 Problem: Terminal scrollback doesn't shrink when reducing 45973 'termwinscroll' 45974 Solution: Check if option value was decreased (Milly). 45975 45976 Patch 9.1.0809 45977 Problem: filetype: petalinux config files not recognized 45978 Solution: Detect 'project-spec/*.conf' files as bitbake filetype (Wu, Zhenyu). 45979 45980 Patch 9.1.0810 45981 Problem: cannot easily adjust the |:find| command 45982 Solution: Add support for the 'findexpr' option (Yegappan Lakshmanan). 45983 45984 Patch 9.1.0811 45985 Problem: :find expansion does not consider 'findexpr' 45986 Solution: Support expanding :find command argument using 'findexpr' 45987 (Yegappan Lakshmanan). 45988 45989 Patch 9.1.0812 45990 Problem: Coverity warns about dereferencing NULL ptr in check_colorcolumn() 45991 Solution: Verify that wp is not null before accessing it. 45992 45993 Patch 9.1.0813 45994 Problem: no error handling with setglobal and number types 45995 Solution: Validate values when using :setglobal with number option types 45996 (Milly). 45997 45998 Patch 9.1.0814 45999 Problem: mapset() may remove unrelated mapping whose {rhs} matches the 46000 restored mapping's {lhs}. 46001 Solution: Only match by {lhs} when unmapping for mapset() (zeertzjq). 46002 46003 Patch 9.1.0815 46004 Problem: "above" virtual text causes wrong 'colorcolumn' position (@matrdr) 46005 Solution: Use the number of cells instead of bytes for vcol_off_tp 46006 (zeertzjq). 46007 46008 Patch 9.1.0816 46009 Problem: tests: not clear what tests cause asan failures 46010 Solution: Append testname to $ASAN_OPTIONS. 46011 46012 Patch 9.1.0817 46013 Problem: termdebug: cannot evaluate expr in a popup 46014 Solution: Enhance termdebug plugin and allow to evaluate expressions in 46015 a popup window, add a unit test (Peter Wolf). 46016 46017 Patch 9.1.0818 46018 Problem: some global functions are only used in single files 46019 Solution: Refactor code slightly and make some more functions static 46020 (Yegappan Lakshmanan). 46021 46022 Patch 9.1.0819 46023 Problem: tests: need a test for findexpr and vim9 imported func 46024 Solution: Add a test for 'findexpr' and Vim9 imported script 46025 (Yegappan Lakshmanan) 46026 46027 Patch 9.1.0820 46028 Problem: tests: Mac OS tests are too flaky 46029 Solution: Increase max test timeout to 25 minutes, allow up to 10 retries on 46030 Mac OS runners, refactor runtest.vim (Milly). 46031 46032 Patch 9.1.0821 46033 Problem: 'findexpr' completion doesn't set v:fname to cmdline argument. 46034 Solution: Set v:fname to the cmdline argument as-is (zeertzjq). 46035 46036 Patch 9.1.0822 46037 Problem: topline might be changed in diff mode unexpectedly (Jaehwang Jung) 46038 Solution: Do not re-calculate topline, when using line() func in diff mode. 46039 46040 Patch 9.1.0823 46041 Problem: filetype: Zephyr overlay files not recognized 46042 Solution: Detect '*.overlay' files as dts filetype, include syntax tests for 46043 DTS files (Xudong Zheng). 46044 46045 Patch 9.1.0824 46046 Problem: too many strlen() calls in register.c 46047 Solution: Refactor code, add string_T struct to keep track of string lengths 46048 (John Marriott). 46049 46050 Patch 9.1.0825 46051 Problem: compile error for non-diff builds (after v9.1.0822) 46052 Solution: Add #ifdef FEAT_DIFF (John Marriott). 46053 46054 Patch 9.1.0826 46055 Problem: filetype: sway files are not recognized 46056 Solution: Detect '*.sw' files as sway filetype, include a filetype plugin 46057 (Riley Bruins). 46058 46059 Patch 9.1.0827 46060 Problem: CI: tests can be improved 46061 Solution: Collect failed indent tests, raise timeout for search() 46062 functions when using ASAN/Valgrind (Aliaksei Budavei). 46063 46064 Patch 9.1.0828 46065 Problem: string_T struct could be used more often 46066 Solution: Refactor code and make use of string_T struct for key-value pairs, 46067 reformat overlong lines (John Marriott). 46068 46069 Patch 9.1.0829 46070 Problem: Vim source code uses a mix of tabs and spaces 46071 Solution: Expand tabs in sound.c, this is an experiment (Luca Saccarola). 46072 46073 Patch 9.1.0830 46074 Problem: using wrong highlight group for spaces for popupmenu 46075 Solution: Use original attribute instead of combined attributed (glepnir). 46076 46077 Patch 9.1.0831 46078 Problem: 'findexpr' can't be used for lambads (Justin Keyes) 46079 Solution: Replace the findexpr option with the findfunc option 46080 (Yegappan Lakshmanan). 46081 46082 Patch 9.1.0832 46083 Problem: :set doesn't work for 'cot' and 'bkc' after :setlocal. 46084 Solution: Clear the local flags when using :set (zeertzjq). 46085 46086 Patch 9.1.0833 46087 Problem: CI: recent ASAN changes do not work for indent tests 46088 Solution: Move code to runtime/indent/testdir/runtest.vim (Aliaksei Budavei). 46089 46090 Patch 9.1.0834 46091 Problem: tests: 2html test fails (after b256221e8377) 46092 Solution: Adjust testdir/samples/Test_tohtml_basic.c.html (Aliaksei Budavei). 46093 46094 Patch 9.1.0835 46095 Problem: :setglobal doesn't work properly for 'ffu' and 'tsrfu' when 46096 the local value is set (after v9.1.0831) 46097 Solution: Check os_flags instead of buffer option variable (zeertzjq). 46098 46099 Patch 9.1.0836 46100 Problem: the vimtutor can be improved 46101 Solution: Port and include the interactive vimtutor plugin from Neovim 46102 (by Felipe Morales) (Yegappan Lakshmanan). 46103 46104 Patch 9.1.0837 46105 Problem: Cross-compiling to good modern operating systems is difficult as 46106 configure assumes obscure bugs are present by default. However, 46107 most core autoconf-based packages today assume features work 46108 when in doubt, making cross-compilation easier. 46109 Solution: Assume features work by default and continue to issue a warning 46110 with the appropriate cache variable. This solution shifts the 46111 burden onto the users of rare buggy operating systems and 46112 makes cross-compilation work out of the box for everyone else. 46113 46114 Patch 9.1.0838 46115 Problem: vimtutor is bash-specific (after 17c71daf83f45c3ee8) 46116 Solution: Port back to POSIX sh (Aliaksei Budavei). 46117 46118 Patch 9.1.0839 46119 Problem: filetype: leo files are not recognized 46120 Solution: Detect '*.leo' files as leo filetype, include a filetype plugin 46121 (Riley Bruins) 46122 46123 Patch 9.1.0840 46124 Problem: filetype: idris2 files are not recognized 46125 Solution: Detect '*.idr' files as idris2, '*.lidr' files as lidris2 46126 and '*.ipkg' files as ipkg filetype (Serhii Khoma) 46127 46128 Patch 9.1.0841 46129 Problem: tests: still preferring python2 over python3 46130 Solution: Prefer Python 3 when picking a Python program in Vim tests, 46131 by checking for the more specific python version first and 46132 only when python3 not found, check for the python binary 46133 (Yee Cheng Chin). 46134 46135 Patch 9.1.0842 46136 Problem: not checking for the sync() systemcall 46137 Solution: Check for sync in configure script, fix related #ifdefs 46138 (Jonas Termansen). 46139 46140 Patch 9.1.0843 46141 Problem: too many strlen() calls in undo.c 46142 Solution: Refactor code and remove strlen() calls, update test_undo.vim 46143 and close remaining open swap files (John Marriott). 46144 46145 Patch 9.1.0844 46146 Problem: if_python: no way to pass local vars to python 46147 Solution: Add locals argument to py3eval(), pyeval() and pyxeval() 46148 (Ben Jackson). 46149 46150 Patch 9.1.0845 46151 Problem: vimtutor shell script can be improved 46152 Solution: Further improve the vimtutor shell script (Aliaksei Budavei). 46153 46154 Patch 9.1.0846 46155 Problem: debug symbols for xxd are not cleaned in Makefile 46156 Solution: Remove xxd.dSYM in xxds Makefile, call xxd clean target from 46157 main Makefile (Yee Cheng Chin) 46158 46159 Patch 9.1.0847 46160 Problem: tests: test_popupwin fails because of updated main help file 46161 Solution: Normalize Last Change header in test_popup_setbuf screendumps 46162 46163 Patch 9.1.0848 46164 Problem: if_lua: v:false/v:true are not evaluated to boolean 46165 Solution: Use lua_pushboolean() instead of lua_pushinteger() (zeertzjq). 46166 46167 Patch 9.1.0849 46168 Problem: there are a few typos in the source. 46169 Solution: Correct typos (zeertzjq). 46170 46171 Patch 9.1.0850 46172 Problem: Vim9: cannot access nested object inside objects 46173 (lifepillar, 91khr, mawkish) 46174 Solution: Add support for accessing an object member using a "any" 46175 variable type (Yegappan Lakshmanan). 46176 46177 Patch 9.1.0851 46178 Problem: too many strlen() calls in getchar.c 46179 Solution: Refactor code and reduce strlen() calls (John Marriott). 46180 46181 Patch 9.1.0852 46182 Problem: No warning when X11 registers are not available (delvh) 46183 Solution: Output W23 once when connection to X11 clipboard/selection 46184 is not possible, mention in the documentation, that register 0 46185 will be used instead. 46186 46187 Patch 9.1.0853 46188 Problem: filetype: kubernetes config file not recognized 46189 Solution: Detect '/.kube/config' file as yaml filetype (Jonathan Lopez). 46190 46191 Patch 9.1.0854 46192 Problem: cannot get terminal cell size 46193 Solution: Add getcellpixels() function to return xpixel * ypixel 46194 cell size on terminal Unix (mikoto2000). 46195 46196 Patch 9.1.0855 46197 Problem: setting 'cmdheight' may cause hit-enter-prompt and echo output 46198 to be missing 46199 Solution: Before cleaning the cmdline, check the need_wait_return flag 46200 (nwounkn). 46201 46202 Patch 9.1.0856 46203 Problem: mouseshape might be wrong on r and gr 46204 Solution: Call update_mousesape(-1) immediately (Yee Cheng Chin). 46205 46206 Patch 9.1.0857 46207 Problem: xxd: --- is incorrectly recognized as end-of-options 46208 Solution: improve xxds end-of-option parser (DungSaga). 46209 46210 Patch 9.1.0858 46211 Problem: Coverity complains about dead code (after v9.1.0852) 46212 Solution: adjust #ifdef FEAT_CLIPBOARD. 46213 46214 Patch 9.1.0859 46215 Problem: several problems with the GLVS plugin 46216 Solution: fix issues, add regression tests, require at least Vim 9.1 46217 (GuyBrush) 46218 46219 Patch 9.1.0860 46220 Problem: tests: mouse_shape tests use hard code sleep value (Bram Moolenaar) 46221 Solution: Use WaitForAssert() instead (Yee Cheng Chin). 46222 46223 Patch 9.1.0861 46224 Problem: Vim9: no runtime check for object member access of any var 46225 (after: 9.1.0850) 46226 Solution: Add runtime type compatibility check for object member 46227 accessed using a any variable (Yegappan Lakshmanan). 46228 46229 Patch 9.1.0862 46230 Problem: 'wildmenu' not enabled by default in nocp mode 46231 Solution: Promote the default Vim value to true, it has been enabled 46232 in defaults.vim anyhow, so remove it there (Luca Saccarola). 46233 46234 Patch 9.1.0863 46235 Problem: getcellpixels() can be further improved 46236 Solution: Improve it further, add more tests (mikoto2000). 46237 46238 Patch 9.1.0864 46239 Problem: message history is fixed to 200 46240 Solution: Add the 'msghistory' option, increase the default value to 500 46241 (Shougo Matsushita). 46242 46243 Patch 9.1.0865 46244 Problem: filetype: org files are not recognized 46245 Solution: Detect '*.org' files as 'org' filetype, 46246 include filetype and syntax plugin (Luca Saccarola). 46247 46248 Patch 9.1.0866 46249 Problem: filetype: LLVM IR files are not recognized 46250 Solution: Detect '*.ll' files either as lifelines or llvm filetype 46251 (Wu, Zhenyu). 46252 46253 Patch 9.1.0867 46254 Problem: ins_compl_add() has too many args 46255 Solution: Refactor it and use an int array instead of 2 separate int 46256 args (glepnir). 46257 46258 Patch 9.1.0868 46259 Problem: the warning about missing clipboard can be improved 46260 (after v9.1.0852) 46261 Solution: Use different warnings depending on whether or not clipboard 46262 support is included in Vim, update related documentation 46263 46264 Patch 9.1.0869 46265 Problem: curswant not set on gm in folded line (citizenmatt) 46266 Solution: In a folded line, call update_curswant_force(). 46267 46268 Patch 9.1.0870 46269 Problem: too many strlen() calls in eval.c 46270 Solution: Refactor eval.c to remove calls to STRLEN() (John Marriott). 46271 46272 Patch 9.1.0871 46273 Problem: getcellpixels() can be further improved 46274 Solution: Fix floating point exception, implement getcellpixels() in the 46275 UI (mikoto2000). 46276 46277 Patch 9.1.0872 46278 Problem: No test for W23 message (after v9.1.0868) 46279 Solution: Check for W23 message when accessing the clipboard fails. 46280 46281 Patch 9.1.0873 46282 Problem: filetype: Vivado files are not recognized 46283 Solution: Detect '*.mss' files as 'mss' filetype (Wu, Zhenyu). 46284 46285 Patch 9.1.0874 46286 Problem: filetype: karel files are not detected 46287 Solution: Detect '*.kl' files as karel filetype, include syntax and filetype 46288 plugin (Kirill Morozov). 46289 46290 Patch 9.1.0875 46291 Problem: filetype: hyprlang detection can be improved 46292 Solution: Detect '/hypr/*.conf' files as hyprlang filetype, 46293 include basic syntax highlighting (Luca Saccarola). 46294 46295 Patch 9.1.0876 46296 Problem: filetype: openCL files are not recognized 46297 Solution: Detect '*.cl' files as opencl or lisp filetype, 46298 include a opencl syntax and filetype plugin (Wu, Zhenyu). 46299 46300 Patch 9.1.0877 46301 Problem: tests: missing test for termdebug + decimal signs 46302 Solution: Add a termdebug test (Ubaldo Tiberi). 46303 46304 Patch 9.1.0878 46305 Problem: termdebug: cannot enable DEBUG mode 46306 Solution: Allow to specify DEBUG mode (Ubaldo Tiberi). 46307 46308 Patch 9.1.0879 46309 Problem: source is not consistently formatted 46310 Solution: Reformat sign.c and sound.c (Luca Saccarola). 46311 46312 Patch 9.1.0880 46313 Problem: filetype: C3 files are not recognized 46314 Solution: Detect '*.c3*' files as c3 filetype (Turiiya). 46315 46316 Patch 9.1.0881 46317 Problem: GUI: message dialog may not get focus 46318 Solution: Add window manager hint to give focus to the dialog (Chris White). 46319 46320 Patch 9.1.0882 46321 Problem: too many strlen() calls in insexpand.c 46322 Solution: Refactor insexpand.c and reduce number of calls to STRLEN(), 46323 fix a warning get_next_filename_completion(), add new function 46324 ins_compl_leader_len() (John Marriott). 46325 46326 Patch 9.1.0883 46327 Problem: message history cleanup is missing some tests 46328 Solution: Add tests, refactor common code into did_set_msghistory() 46329 (Shougo Matsushita). 46330 46331 Patch 9.1.0884 46332 Problem: gcc warns about uninitialized variable in vim_strnicmp_asc() 46333 Solution: Initialize variable to 1 (John Marriott). 46334 46335 Patch 9.1.0885 46336 Problem: style of sign.c can be improved 46337 Solution: Refactor code (Luca Saccarola). 46338 46339 Patch 9.1.0886 46340 Problem: filetype: debian control file not detected 46341 Solution: Detect 'debian/control' files as debcontrol filetype. 46342 46343 Patch 9.1.0887 46344 Problem: Wrong expression in sign.c (after v9.1.0885) 46345 Solution: Remove the duplicate expression. 46346 46347 Patch 9.1.0888 46348 Problem: leftcol property not available in getwininfo() 46349 Solution: Add leftcol property property (glepnir). 46350 46351 Patch 9.1.0889 46352 Problem: Possible unnecessary redraw after adding/deleting lines. 46353 Solution: Check b_mod_set before using b_mod_xlines to avoid using stale 46354 b_mod_xlines value (zeertzjq). 46355 46356 Patch 9.1.0890 46357 Problem: %! item not allowed for 'rulerformat' (yatinlala) 46358 Solution: Also allow to use %! for rulerformat option 46359 (Yegappan Lakshmanan). 46360 46361 Patch 9.1.0891 46362 Problem: building the completion list array is inefficient 46363 Solution: Refactor and improve ins_compl_build_pum() func (glepnir). 46364 46365 Patch 9.1.0892 46366 Problem: the max value of 'tabheight' is limited by other tabpages 46367 Solution: Limit the maximum value of 'cmdheight' to the current tabpage only. 46368 (Milly) 46369 46370 Patch 9.1.0893 46371 Problem: No test that undofile format does not regress 46372 Solution: Include a sample undofile to make sure we are always able to 46373 read it. 46374 46375 Patch 9.1.0894 46376 Problem: No test for what the spotbug compiler parses 46377 Solution: Test &makeprg for the SpotBugs compiler plugin (Aliaksei Budavei). 46378 46379 Patch 9.1.0895 46380 Problem: default history value is too small 46381 Solution: Promote the change from defaults.vim back to the C core, so increase 46382 the default 'history' option value from 50 to 200 (Lucca Saccarola) 46383 46384 Patch 9.1.0896 46385 Problem: completion list wrong after v9.1.0891 46386 Solution: Update compl_mach_array after leader change (glepnir). 46387 46388 Patch 9.1.0897 46389 Problem: filetype: pyrex files are not detected 46390 Solution: Detect '*.pxi' and '*.pyx+' as pyrex filetype (user202729). 46391 46392 Patch 9.1.0898 46393 Problem: runtime(compiler): pytest compiler not included 46394 Solution: Include pytest compiler, update the compiler completion test 46395 (Konfekt). 46396 46397 Patch 9.1.0899 46398 Problem: default for 'backspace' can be set in C code 46399 Solution: Promote the default for 'backspace' from defaults.vim to the C 46400 code (Luca Saccarola). 46401 46402 Patch 9.1.0900 46403 Problem: Vim9: digraph_getlist() does not accept bool argument (Maxim Kim) 46404 Solution: Accept boolean as first argument (Yegappan Lakshmanan). 46405 46406 Patch 9.1.0901 46407 Problem: MS-Windows: vimtutor batch script can be improved 46408 Solution: Update vimtutor.bat, validate languages using Powershell 46409 cultureinfo (RestorerZ). 46410 46411 Patch 9.1.0902 46412 Problem: filetype: Conda configuration files are not recognized 46413 Solution: Detect '.condarc' and 'condarc' files as yaml filetype (zeertzjq). 46414 46415 Patch 9.1.0903 46416 Problem: potential overflow in spell_soundfold_wsal() 46417 Solution: Protect wres from buffer overflow, by checking the length 46418 (Zdenek Dohnal) 46419 46420 Patch 9.1.0904 46421 Problem: Vim9: copy-paste error in class_defining_member() 46422 Solution: Use variable type VAR_CLASS instead (Zdenek Dohnal). 46423 46424 Patch 9.1.0905 46425 Problem: Missing information in CompleteDone event 46426 Solution: Add complete_word and complete_type to v:event dict (glepnir). 46427 46428 Patch 9.1.0906 46429 Problem: filetype: Nvidia PTX files are not recognized 46430 Solution: Detect '*.ptx' files as ptx filetype (Yinzuo Jiang). 46431 46432 Patch 9.1.0907 46433 Problem: printoptions:portrait does not change postscript Orientation 46434 Solution: Set Orientation depending on portrait suboption. 46435 46436 Patch 9.1.0908 46437 Problem: not possible to configure :messages 46438 Solution: Add the 'messagesopt' option (Shougo Matsushita). 46439 46440 Patch 9.1.0909 46441 Problem: Vim9: crash when calling instance method (Igbanam Ogbuluijah) 46442 Solution: Pass the object when calling a partial function 46443 (Yegappan Lakshmanan). 46444 46445 Patch 9.1.0910 46446 Problem: 'messagesopt' does not check max wait time (after v9.1.0908) 46447 Solution: Check for max wait value (Shougo Matsushita). 46448 46449 Patch 9.1.0911 46450 Problem: Variable name for 'messagesopt' doesn't match short name 46451 (after v9.1.0908) 46452 Solution: Change p_meo to p_mopt. Add more details to docs (zeertzjq). 46453 46454 Patch 9.1.0912 46455 Problem: xxd: integer overflow with sparse files and -autoskip 46456 Solution: Reset zero_seen when at the limit, change the type to char 46457 (sendittothenewts). 46458 46459 Patch 9.1.0913 46460 Problem: no error check for neg values for 'messagesopt' (after v9.1.0908). 46461 Solution: Add additional error checks and tests (h-east). 46462 46463 Patch 9.1.0914 46464 Problem: Vim9: compile_assignment() is too long 46465 Solution: Refactor compile_assignment() into smaller functions 46466 (Yegappan Lakshmanan) 46467 46468 Patch 9.1.0915 46469 Problem: GVim: default font size a bit too small 46470 Solution: Increase guifont size to 12 pt on GTK builds of gVim (matveyt). 46471 46472 Patch 9.1.0916 46473 Problem: messages.c is exceeding 80 columns 46474 Solution: Slightly reformat messages.c (h-east). 46475 46476 Patch 9.1.0917 46477 Problem: various vartabstop and shiftround bugs when shifting lines 46478 Solution: Fix the bugs, add new tests for shifting lines in various ways 46479 (Gary Johnson). 46480 46481 Patch 9.1.0918 46482 Problem: tiny Vim crashes with fuzzy buffer completion 46483 Solution: Adjust #ifdefs in ExpandBufnames() (826814741_6). 46484 46485 Patch 9.1.0919 46486 Problem: filetype: some assembler are files not recognized 46487 Solution: Detect '*.nasm' files as nasm filetype and '*.masm' as masm 46488 filetype (Wu, Zhenyu). 46489 46490 Patch 9.1.0920 46491 Problem: Vim9: compile_assignment() too long 46492 Solution: Refactor compile_assignment() function and split up into 46493 smaller parts (Yegappan Lakshmanan). 46494 46495 Patch 9.1.0921 46496 Problem: popupmenu logic is a bit convoluted 46497 Solution: Slightly refactor logic and use MIN/MAX() macros to simplify 46498 (glepnir). 46499 46500 Patch 9.1.0923 46501 Problem: wrong MIN macro in popupmenu.c (after v9.1.0921) (zeertzjq) 46502 Solution: Change it to MAX(). 46503 46504 Patch 9.1.0923 46505 Problem: too many strlen() calls in filepath.c 46506 Solution: Refactor filepath.c and remove calls to STRLEN(), unify 46507 dos_expandpath() and unix_expandpath() into a single function. 46508 46509 Patch 9.1.0924 46510 Problem: Patch 9.1.0923 causes issues (Shane-XB-Qian) 46511 Solution: Back-out the change. 46512 46513 Patch 9.1.0925 46514 Problem: Vim9: expression compiled when not necessary 46515 Solution: Do not compile when ctx_skip is set, add a few more 46516 Vim9 expressions tests (Yegappan Lakshmanan). 46517 46518 Patch 9.1.0926 46519 Problem: filetype: Pixi lock files are not recognized 46520 Solution: Detect "pixi.lock" file as yaml filetype (Brandon Maier). 46521 46522 Patch 9.1.0927 46523 Problem: style issues in insexpand.c 46524 Solution: Add braces, use ternary operator to improve style (glepnir). 46525 46526 Patch 9.1.0928 46527 Problem: tests: test_popupwin fails because the filter command fails 46528 Solution: Add the "e" flag to the :s command to normalize the 46529 screendumps Last Change header so that it doesn't fail on 46530 "Pattern not found" 46531 46532 Patch 9.1.0929 46533 Problem: filetype: lalrpop files are not recognized 46534 Solution: Detect '*.lalrpop' files as lalrpop filetype (David Thievon) 46535 46536 Patch 9.1.0930 46537 Problem: tests: test_terminal2 may hang in GUI mode 46538 Solution: Break the loop in gui_mch_update() after at most 99 iterations 46539 (h-east). 46540 46541 Patch 9.1.0931 46542 Problem: ml_get error in terminal buffer (user202729) 46543 Solution: Call update_topline() in win_enter_ext() for terminal buffers 46544 (h-east). 46545 46546 Patch 9.1.0932 46547 Problem: new Italian tutor not installed 46548 Solution: Add Makefile rule, include it into the Filelist 46549 ("Philip H." <47042125+pheiduck@users.noreply.github.com>). 46550 46551 Patch 9.1.0933 46552 Problem: Vim9: vim9compile.c can be further improved 46553 Solution: Further refactor the compile assignment code 46554 (Yegappan Lakshmanan). 46555 46556 Patch 9.1.0934 46557 Problem: hard to view an existing buffer in the preview window 46558 Solution: Add the :pbuffer command (Yinzuo Jiang). 46559 46560 Patch 9.1.0935 46561 Problem: SpotBugs compiler can be improved 46562 Solution: runtime(compiler): Improve defaults and error handling for 46563 SpotBugs; update test_compiler.vim (Aliaksei Budavei). 46564 46565 Patch 9.1.0936 46566 Problem: cannot highlight completed text 46567 Solution: (optionally) highlight auto-completed text using the 46568 ComplMatchIns highlight group (glepnir). 46569 46570 Patch 9.1.0937 46571 Problem: test_undolist() is flaky 46572 Solution: Allow to match one additional optional whitespace char. 46573 46574 Patch 9.1.0938 46575 Problem: exclusive selection not respected when re-selecting block mode 46576 (Matt Ellis) 46577 Solution: Advance selection by another character when using 46578 selection=exclusive and visual block mode 46579 46580 Patch 9.1.0939 46581 Problem: make installtutor fails 46582 (Antonio Giovanni Colombo, after v9.1.0932) 46583 Solution: Fix Makefile rule. 46584 46585 Patch 9.1.0940 46586 Problem: Wrong cursor shape with "gq" and 'indentexpr' executes :normal 46587 Solution: Update cursor and mouse shape after restoring old_State (zeertzjq). 46588 46589 Patch 9.1.0941 46590 Problem: ComplMatchIns doesn't work after multibyte chars (after v9.1.0936). 46591 Solution: Use (ptr - line) instead of wlv.col (zeertzjq). 46592 46593 Patch 9.1.0942 46594 Problem: a few typos were found 46595 Solution: fix them (zeertzjq). 46596 46597 Patch 9.1.0943 46598 Problem: vim9compile.c can be further improved 46599 Solution: Refactor the compile_lhs function (Yegappan Lakshmanan). 46600 46601 Patch 9.1.0944 46602 Problem: tests: test_registers fails when not run under X11 46603 Solution: filter out warning message. 46604 46605 Patch 9.1.0945 46606 Problem: ComplMatchIns highlight doesn't end after inserted text. 46607 Solution: Handle ComplMatchIns highlight more like search highlight. 46608 Fix off-by-one error. Handle deleting text properly (zeertzjq). 46609 46610 Patch 9.1.0946 46611 Problem: cross-compiling fails on osx-arm64 46612 Solution: use vim_cv_timer_create_with_lrt() instead of 46613 vim_cv_timer_create_works() (Brandon Maier). 46614 46615 Patch 9.1.0947 46616 Problem: Coverity comlains about un-initialized var (after v9.1.0943). 46617 Solution: Initialize variable (Yegappan Lakshmanan). 46618 46619 Patch 9.1.0948 46620 Problem: Missing cmdline completion for :pbuffer. 46621 Solution: Add cmdline completion for :pbuffer like :buffer (zeertzjq). 46622 46623 Patch 9.1.0949 46624 Problem: popups inconsistently shifted to the left 46625 Solution: Always shift non-fixed popups to the left when the 46626 text would be truncated (Boris Staletic). 46627 46628 Patch 9.1.0950 46629 Problem: filetype: fennelrc files are not recognized 46630 Solution: Detect 'fennelrc' files as fennel filetype (Wu Zhenyu). 46631 46632 Patch 9.1.0951 46633 Problem: filetype: jshell files are not recognized 46634 Solution: Detect '*.jsh' files as java filetype (Konfekt). 46635 46636 Patch 9.1.0952 46637 Problem: Vim9: missing type checking for any type assignment (Ernie Rael) 46638 Solution: When assigning to a list item, if the type of the LHS item is 46639 any, then use the list item type (Yegappan Lakshmanan). 46640 46641 Patch 9.1.0953 46642 Problem: filetype: APKBUILD files not correctly detected 46643 Solution: Detect 'APKBUILD' files as apkbuild filetype, 46644 include a apkbuild syntax script (which basically 46645 just sources the sh.vim syntax file) (Hugo Osvaldo Barrera). 46646 46647 Patch 9.1.0954 46648 Problem: popupmenu.c can be improved 46649 Solution: Slightly refactor the logic (glepnir). 46650 46651 Patch 9.1.0955 46652 Problem: Vim9: vim9compile.c can be further improved 46653 Solution: Refactor the compile_def_function (Yegappan Lakshmanan). 46654 46655 Patch 9.1.0956 46656 Problem: completion may crash, completion highlight wrong with preview 46657 window (after v9.1.0954) 46658 Solution: Correctly calculate scroll offset, check for preview window 46659 when adding extra highlighting (glepnir). 46660 46661 Patch 9.1.0957 46662 Problem: MS-Windows: conversion warnings 46663 Solution: Add explicit type casts (Yegappan Lakshmanan). 46664 46665 Patch 9.1.0958 46666 Problem: filetype: supertux2 config files detected as lisp 46667 Solution: Detect supertux2 config files as scheme instead (Wu, Zhenyu). 46668 46669 Patch 9.1.0959 46670 Problem: Coverity complains about type conversion (after v9.1.0957) 46671 Solution: Use size_t instead of int for file length (Yegappan Lakshmanan). 46672 46673 Patch 9.1.0960 46674 Problem: filetype: hy history files are not recognized 46675 Solution: Detect '*.hy', '.hy-history' files as hy filetype, 46676 detect '.lips_repl_history' files are scheme filetype (Wu, Zhenyu). 46677 46678 Patch 9.1.0961 46679 Problem: filetype: TI gel files are not recognized 46680 Solution: Detect '*.gel' files as gel filetype, include get filetype and 46681 syntax plugins (Wu, Zhenyu). 46682 46683 Patch 9.1.0962 46684 Problem: filetype: bun.lock file is not recognized 46685 Solution: Detect 'bun.lock' file as jsonc filetype (Anton Kastritskii). 46686 46687 Patch 9.1.0963 46688 Problem: fuzzy-matching does not prefer full match (Maxim Kim) 46689 Solution: Add additional score for a full match (glepnir). 46690 46691 Patch 9.1.0964 46692 Problem: MS-Windows: sed error with MinGW 46693 Solution: Use double quotes for sed, update compilation notes 46694 (Andrey A Voropaev) 46695 46696 Patch 9.1.0965 46697 Problem: filetype: sh filetype set when detecting the use of bash 46698 Solution: When bash is detected, use 'bash' filetype instead (Luca Saccarola). 46699 46700 Patch 9.1.0966 46701 Problem: Vim9: :enum command can be shortened 46702 Solution: Prevent shortening of :enum command by adding the EX_WHOLE 46703 flag to command definition (h-east). 46704 46705 Patch 9.1.0967 46706 Problem: SpotBugs compiler can be further improved 46707 Solution: Introduce event-driven primitives for SpotBugs (Aliaksei Budavei). 46708 46709 Patch 9.1.0968 46710 Problem: tests: GetFileNameChecks() isn't fully sorted by filetype name 46711 Solution: Re-sort the list. 46712 46713 Patch 9.1.0969 46714 Problem: ghostty not using kitty protocol by default (00-kat) 46715 Solution: Update keyprotocol option default and include ghostty. 46716 46717 Patch 9.1.0970 46718 Problem: VMS: build errors on VMS architecture 46719 Solution: Define cellsize struct, use C89 to initialize lval_root_S 46720 struct (Zoltan Arpadffy) 46721 46722 Patch 9.1.0971 46723 Problem: filetype: SLNX files are not recognized 46724 Solution: Detect '*.slnx' files as xml filetype (Gustav Eikaas). 46725 46726 Patch 9.1.0972 46727 Problem: filetype: TI linker map files are not recognized 46728 Solution: Detect TI linker map files as lnkmap filetype (Wu, Zhenyu). 46729 46730 Patch 9.1.0973 46731 Problem: too many strlen() calls in fileio.c 46732 Solution: Refactor fileio.c and remove calls to STRLEN(), 46733 check for out-of-memory condition in buf_check_timestamp() 46734 (John Marriott). 46735 46736 Patch 9.1.0974 46737 Problem: typo in change of (Christ van Willegen) 46738 Solution: Add back the square brackets (John Marriott). 46739 46740 Patch 9.1.0975 46741 Problem: Vim9: interpolated string expr not working in object methods 46742 (Igbanam Ogbuluijah) 46743 Solution: Check the evalarg argument (Yegappan Lakshmanan). 46744 46745 Patch 9.1.0976 46746 Problem: Vim9: missing return statement with throw (atitcreate) 46747 Solution: Treat a throw statement at the end of an if-else block as a 46748 return statement (Yegappan Lakshmanan). 46749 46750 Patch 9.1.0977 46751 Problem: filetype: msbuild filetypes are not recognized 46752 Solution: Detect msbuild files as xml filetype (Gustav Eikaas). 46753 46754 Patch 9.1.0978 46755 Problem: GUI tests sometimes fail when setting 'scroll' options 46756 Solution: Decrease the 'scroll' and 'scrolljump' option value from 20 to 46757 15, in case the Gui window is not large enough to handle 20. 46758 46759 Patch 9.1.0979 46760 Problem: VMS: type warning with $XDG_VIMRC_FILE (Zoltan Arpadffy) 46761 Solution: Add explicit (char_u *) type cast to mch_getenv() call. 46762 46763 Patch 9.1.0980 46764 Problem: no support for base64 en-/decoding functions in Vim Script 46765 (networkhermit) 46766 Solution: Add the base64_encode() and base64_decode() functions 46767 (Yegappan Lakshmanan). 46768 46769 Patch 9.1.0981 46770 Problem: tests: typo in test_filetype.vim 46771 Solution: fix comment, update lnkmap syntax file and add DESCT keyword 46772 (Wu, Zhenyu). 46773 46774 Patch 9.1.0982 46775 Problem: TI linker files are not recognized 46776 Solution: Inspect '*.cmd' files and detect TI linker files as 'lnk' filetype, 46777 include a lnk ftplugin and syntax script (Wu, Zhenyu). 46778 46779 Patch 9.1.0983 46780 Problem: not able to get the displayed items in complete_info() 46781 (Evgeni Chasnovski) 46782 Solution: Return the visible items via the "matches" key for 46783 complete_info() (glepnir). 46784 46785 Patch 9.1.0984 46786 Problem: exception handling can be improved 46787 Solution: Add v:stacktrace and getstacktrace(). 46788 46789 Patch 9.1.0985 46790 Problem: Vim9: some ex commands can be shortened 46791 Solution: Disallow shortening of :abstract, :interface and :type (h-east). 46792 46793 Patch 9.1.0986 46794 Problem: filetype: 'jj' filetype is a bit imprecise 46795 Solution: rename 'jj' filetype to 'jjdescription' (Gregory Anders). 46796 46797 Patch 9.1.0987 46798 Problem: filetype: cake files are not recognized 46799 Solution: Detect '*.cake' files as cs filetype (Zoe Roux). 46800 46801 Patch 9.1.0988 46802 Problem: Vim9: no error when using uninitialized var in new() 46803 (lifepillar, Aliaksei Budavei) 46804 Solution: Give an error if an uninitialized object variable is referenced 46805 in new() (Yegappan Lakshmanan). 46806 46807 Patch 9.1.0989 46808 Problem: Vim9: Whitespace after the final enum value causes a syntax 46809 error 46810 Solution: Fix parsing to allow whitespace after the final enum value. 46811 (Doug Kearns) 46812 46813 Patch 9.1.0990 46814 Problem: Inconsistent behavior when changing cmdheight by resizing the 46815 topframe through wincmds and dragging laststatus. Changing 46816 cmdheight by resizing the topframe does not trigger OptionSet. 46817 Solution: Consolidate logic for changing the cmdheight, set the option 46818 value to handle side-effects (Luuk van Baal). 46819 46820 Patch 9.1.0991 46821 Problem: v:stacktrace has wrong type in Vim9 script. 46822 Solution: Change the type to t_list_dict_any. Fix grammar in docs (zeertzjq). 46823 46824 Patch 9.1.0992 46825 Problem: Vim9: double-free after v9.1.0988 (h-east) 46826 Solution: Clear typval pointer, before setting the type 46827 (Yegappan Lakshmanan) 46828 46829 Patch 9.1.0993 46830 Problem: Although Patch 9.1.0990 fixed a real problem/inconsistency, 46831 it also introduced new behavior that may break BWC and/or be 46832 unexpected. Before 9.1.0990, window commands could make the 46833 topframe smaller (without changing 'cmdheight'; quirk that is 46834 now fixed), but did not allow extending the topframe beyond 46835 the 'cmdheight' set by the user. After 9.1.0990, the user can 46836 reduce the 'cmdheight' below the value they set explicitly, 46837 through window commands, which may lead to confusion. 46838 (aftere v9.1.0990) 46839 Solution: Store the value explicitly set by the user and clamp the 46840 'cmdheight' when resizing the topframe. This also applies to 46841 dragging laststatus, which in contrast to window commands 46842 _did_ allow reducing the 'cmdheight' to values below the one 46843 set by the user. So with this Patch there is still new 46844 behavior, but I think in a way that is less surprising. 46845 While at it, also fix a Coverity warning, introduced in 46846 v9.1.0990 (Luuk van Baal). 46847 46848 Patch 9.1.0994 46849 Problem: Vim9: not able to use comment after opening curly brace 46850 (lifepillar) 46851 Solution: Allow to use comments after curly braces of an inner-block, 46852 modify the logic to search for comment in a line, update Vim9 46853 tests to use specific class type instead of any 46854 (Yegappan Lakshmanan). 46855 46856 Patch 9.1.0995 46857 Problem: filetype: shaderslang files are not detected 46858 Solution: Detect '*.slang' files as shaderslang filetype, 46859 include a filetype and syntax script (mtvare6) 46860 46861 Patch 9.1.0996 46862 Problem: ComplMatchIns may highlight wrong text 46863 Solution: Don't highlight in case of fuzzy match, 46864 skip-highlight when not inserting anything (glepnir). 46865 46866 Patch 9.1.0997 46867 Problem: too many strlen() calls in drawscreen.c 46868 Solution: Refactor drawscreen.c and remove calls to strlen(), 46869 make get_keymap_str() (in screen.c) return string length 46870 instead of TRUE/FALSE (John Marriott). 46871 46872 Patch 9.1.0998 46873 Problem: filetype: TI assembly files are not recognized 46874 Solution: Inspect '*.sa' and assembly files and detect TI assembly 46875 files, include filetype plugin and syntax script for TI 46876 assembly files (Wu, Zhenyu). 46877 46878 Patch 9.1.0999 46879 Problem: leaking finished exception (after v9.1.0984) 46880 Solution: Use finish_exception to clean up caught exceptions 46881 (Yee Cheng Chin) 46882 46883 Patch 9.1.1000 46884 Problem: tests: ruby tests fail with Ruby 3.4 46885 Solution: Adjust expected output for Ruby 3.4 (Yee Cheng Chin) 46886 46887 Patch 9.1.1001 46888 Problem: ComplMatchIns highlight hard to read on light background 46889 (after v9.1.0996) 46890 Solution: Define the highlighting group cleared, it should be configured in 46891 colorschemes separately (glepnir). 46892 46893 Patch 9.1.1002 46894 Problem: Vim9: unknown function error with interface declaring a 46895 function variable (lifepillar) 46896 Solution: Use correct instruction for getting interface member variables 46897 (Yegappan Lakshmanan) 46898 46899 Patch 9.1.1003 46900 Problem: [security]: heap-buffer-overflow with visual mode when 46901 using :all, causing Vim trying to access beyond end-of-line 46902 (gandalf) 46903 Solution: Reset visual mode on :all, validate position in gchar_pos() 46904 and charwise_block_prep(). 46905 46906 Patch 9.1.1004 46907 Problem: tests: a few termdebug tests are flaky; test_termdebug_basic() 46908 and test_termdebug_config_types() may fail if there is too 46909 much load 46910 Solution: Set g:test_is_flaky. 46911 46912 Patch 9.1.1005 46913 Problem: completion text is highlighted even with no pattern found 46914 Solution: use ins_compl_leader_len() instead of checking 46915 compl_leader.length (glepnir). 46916 46917 Patch 9.1.1006 46918 Problem: PmenuMatch completion highlight can be combined 46919 Solution: Combine highlight groups PmenuMatch with Pmenu and 46920 PmenuMatchSel with PmenuSel (glepnir). 46921 46922 Patch 9.1.1007 46923 Problem: filetype: various ignore are not recognized 46924 Solution: Detect rg/docker/npm/vvsce ignore files as 'gitgnore' filetype 46925 (Wu, Zhenyu). 46926 46927 Patch 9.1.1008 46928 Problem: tests: test for Patch 9.1.1006 doesn't fail without the patch 46929 (after v9.1.1006) 46930 Solution: Add ctermbg=NONE to the highlight groups (zeertzjq). 46931 46932 Patch 9.1.1009 46933 Problem: diff feature can be improved 46934 Solution: Include the linematch diff alignment algorithm (Jonathon). 46935 46936 Patch 9.1.1010 46937 Problem: filetype: VisualCode setting file not recognized 46938 Solution: Detect json files in VSCode config directory as jsonc filetype 46939 (Konfekt). 46940 46941 Patch 9.1.1011 46942 Problem: Popup menu internal error with some abbr in completion item. 46943 Solution: Don't compute attributes when there is no corresponding text. 46944 Reduce indent in pum_redraw() while at it (zeertzjq). 46945 46946 Patch 9.1.1012 46947 Problem: Vim9: class interface inheritance not correctly working 46948 Solution: Make the class inherit the interfaces of the super class. 46949 46950 Patch 9.1.1013 46951 Problem: Vim9: Regression caused by Patch v9.1.0646 46952 Solution: Translate the function name before invoking it in call() 46953 (Yegappan Lakshmanan). 46954 46955 Patch 9.1.1014 46956 Problem: Vim9: variable not found in transitive import 46957 Solution: Allow nested import (Hirohito Higashi). 46958 46959 Patch 9.1.1015 46960 Problem: Coverity complains about dereferencing NULL value 46961 Solution: Check that cms2 is not null. 46962 46963 Patch 9.1.1016 46964 Problem: Not possible to convert string2blob and blob2string 46965 Solution: Add support for the blob2str() and str2blob() functions. 46966 46967 Patch 9.1.1017 46968 Problem: Vim9: Patch 9.1.1013 causes a few problems 46969 Solution: Translate the function name only when it is a string 46970 (Yegappan Lakshmanan). 46971 46972 Patch 9.1.1018 46973 Problem: v9.1.0743 causes regression with diff mode 46974 Solution: Fix the regression with overlapping regions. 46975 46976 Patch 9.1.1019 46977 Problem: filetype: fd ignore files are not recognized 46978 Solution: Detect .fdignore files as gitignore filetype. 46979 46980 Patch 9.1.1020 46981 Problem: no way to get current selected item in a async context 46982 Solution: Add completed flag to show the entries of currently selected 46983 index item (@glepnir). 46984 46985 Patch 9.1.1021 46986 Problem: string might be used without a trailing NUL (after v9.1.0997) 46987 Solution: Make sure that the buffer is NUL terminated. 46988 46989 Patch 9.1.1022 46990 Problem: linematch option value not completed (after v9.1.1009) 46991 Solution: Update diffoption completion values. 46992 46993 Patch 9.1.1023 46994 Problem: Coverity complains about dereferencing NULL pointer 46995 Solution: Verify curdiff is not null before dereferencing it. 46996 46997 Patch 9.1.1024 46998 Problem: blob2str/str2blob() do not support list of strings (after v9.1.1016) 46999 Solution: Add support for using a list of strings (Yegappan Lakshmanan). 47000 47001 Patch 9.1.1025 47002 Problem: wrong return type of blob2str() 47003 Solution: Update return to list of string (Yegappan Lakshmanan). 47004 47005 Patch 9.1.1026 47006 Problem: filetype: swc configuration files are not recognized 47007 Solution: Detect .swcrc files as json filetype (Marces Engel). 47008 47009 Patch 9.1.1027 47010 Problem: no sanitize check when running linematch 47011 Solution: Add sanitize check before applying the linematch algorithm, 47012 similar to diff_find_change() (Jonathon). 47013 47014 Patch 9.1.1028 47015 Problem: too many strlen() calls in screen.c 47016 Solution: Refactor screen.c and remove calls to strlen(), 47017 verify that leadmultispace != NULL (John Marriott). 47018 47019 Patch 9.1.1029 47020 Problem: the installer can be improved 47021 Solution: Update the installer with the correct README and LICENSE 47022 files, improve the documentation, add a Makefile for the 47023 installer, update the Makefiles (RestorerZ). 47024 47025 Patch 9.1.1030 47026 Problem: filetype: setting bash filetype is backwards incompatible 47027 Solution: Revert Patch v9.1.0965, detect bash scripts again as sh filetype. 47028 47029 Patch 9.1.1031 47030 Problem: Coverity complains about insecure data handling (v9.1.1024) 47031 Solution: Use int consistently to access the blob index (Yegappan Lakshmanan). 47032 47033 Patch 9.1.1032 47034 Problem: link error when FEAT_SPELL not defined (after v9.1.1016, 47035 John Marriott) 47036 Solution: Adjust ifdefs (Yegappan Lakshmanan). 47037 47038 Patch 9.1.1033 47039 Problem: tests: shaderslang was removed from test_filetype erroneously 47040 (Christian Clason, after v9.1.1030) 47041 Solution: Restore the test. 47042 47043 Patch 9.1.1033 47044 Problem: Vim9: compiling abstract method fails without return 47045 (Aliaksei Budavei) 47046 Solution: Don't require return for an abstract method (Ernie Rael). 47047 47048 Patch 9.1.1035 47049 Problem: Vim9: memory leak with blob2str() 47050 Solution: Free converted_str (Yegappan Lakshmanan). 47051 47052 Patch 9.1.1036 47053 Problem: make install fails when using shadowdir (after v9.1.1029). 47054 Solution: Also link in README.txt and LICENSE file. 47055 47056 Patch 9.1.1037 47057 Problem: Vim9: confusing error when using abstract method via super 47058 Solution: Display an error when an abstract method is invoked using 47059 super (Ernie Rael). 47060 47061 Patch 9.1.1038 47062 Problem: tests: test_channel.py fails with IPv6 (eds-collabora) 47063 Solution: Use 127.0.0.1 instead of localhost. 47064 47065 Patch 9.1.1039 47066 Problem: Vim9: comments are outdated 47067 Solution: Update comments, and include an enum example in the help 47068 (Yegappan Lakshmanan). 47069 47070 Patch 9.1.1040 47071 Problem: Vim9: imported type cannot be used as func return type 47072 (Dayvid Albuquerque) 47073 Solution: Temporarily reset the is_export flag (Yegappan Lakshmanan). 47074 47075 Patch 9.1.1041 47076 Problem: Vim9: out-of-bound access when echoing an enum 47077 Solution: Add NUL to growarray, check that ufunc is non-null before accessing 47078 it to make Coverity happy (Yegappan Lakshmanan). 47079 47080 Patch 9.1.1042 47081 Problem: filetype: just files are not recognized 47082 Solution: Adjust filetype detection pattern, detect just shebang line, 47083 include just ftplugin, indent and syntax plugin (Peter Benjamin). 47084 47085 Patch 9.1.1043 47086 Problem: [security]: segfault in win_line() (fizz-is-on-the-way) 47087 Solution: Check that ScreenLines is not NULL. 47088 47089 Patch 9.1.1044 47090 Problem: Vim9: Patch 9.1.1014 causes regressions 47091 Solution: Revert it for now. 47092 47093 Patch 9.1.1045 47094 Problem: filetype: N-Tripels and TriG files are not recognized 47095 Solution: Detect '*.nt' files as ntriples filetype and '*.trig' files 47096 as trig filetype (Gordian Dziwis) 47097 47098 Patch 9.1.1046 47099 Problem: fuzzymatching doesn't prefer matching camelcase (Tomasz N). 47100 Solution: Add extra score when case matches (glepnir). 47101 47102 Patch 9.1.1047 47103 Problem: Makefiles uses non-portable syntax (simo-zz, after v9.1.1029) 47104 Solution: Revert auto-generation of MAJOR/MINOR variables. 47105 47106 Patch 9.1.1048 47107 Problem: Crash after scrolling and pasting in silent Ex mode 47108 (fizz-is-on-the-way) 47109 Solution: Don't move cursor to line 0 when scrolling (zeertzjq). 47110 47111 Patch 9.1.1049 47112 Problem: Insert-completed items are always sorted, although the LSP 47113 spec[1] standard defines sortText in the returned 47114 completionitem list. This means that the server has sorted the 47115 results. When fuzzy is enabled, this will break the server's 47116 sorting results. 47117 Solution: Disable sorting of candidates when "nosort" is set in 47118 'completeopt' 47119 47120 Patch 9.1.1050 47121 Problem: Too many strlen() calls in os_unix.c 47122 Solution: Refactor os_unix.c and remove calls to strlen() (John Marriott). 47123 47124 Patch 9.1.1051 47125 Problem: tests: no support for env variables when running Vim in terminal 47126 Solution: support the "env" argument in RunVimInTerminal(), close swapfiles 47127 properly in test_termcodes, use CheckFeature in test_termencoding 47128 47129 Patch 9.1.1052 47130 Problem: tests: off-by-one error in CheckCWD in test_debugger.vim 47131 Solution: Fix off-by-one in CheckCWD leading to local tests failure 47132 (Yee Cheng Chin) 47133 47134 Patch 9.1.1053 47135 Problem: "nosort" enables fuzzy filtering even if "fuzzy" isn't in 47136 'completeopt' (after v9.1.1049) 47137 Solution: Only enable fuzzy filtering when "fuzzy" is in 'completeopt' 47138 (zeertzjq). 47139 47140 Patch 9.1.1054 47141 Problem: Vim doesn't work well with TERM=xterm-direct (Andrea Pappacoda). 47142 Solution: Detect if a terminal supports true-colors and enable termguicolors 47143 47144 Patch 9.1.1055 47145 Problem: make install fails because of a missing dependency 47146 Solution: Add explicit dependencies for tutor/{en,it} (Sergei Trofimovich). 47147 47148 Patch 9.1.1056 47149 Problem: Vim doesn't highlight to be inserted text when completing 47150 Solution: Add support for the "preinsert" 'completeopt' value (glepnir). 47151 47152 Patch 9.1.1057 47153 Problem: Superfluous cleanup steps in test_ins_complete.vim. 47154 Solution: Remove unnecessary :bw! and :autocmd! commands. 47155 Also remove unnecessary STRLEN() in insexpand.c (zeertzjq). 47156 47157 Patch 9.1.1058 47158 Problem: translation(sr): Missing Serbian translation for the tutor 47159 Solution: Include new Serbian translation for the new tutor, 47160 include translation for chapter 2 of the traditional tutor, 47161 update the Makefiles for installing the runtime files (Ivan Pešić). 47162 47163 Patch 9.1.1059 47164 Problem: completion: input text deleted with preinsert when adding leader 47165 Solution: Remove compl_length and check the ptr for being equal 47166 to pattern when preinsert is active (glepnir). 47167 47168 Patch 9.1.1060 47169 Problem: Vim always enables 'termguicolors' in a terminal, even 47170 when not wanted (after v9.1.1054). 47171 Solution: Respect `:set notermguicolors` in vimrc file. 47172 47173 Patch 9.1.1061 47174 Problem: tests: test_glvs fails when unarchiver not available 47175 (Brian L. Matthews) 47176 Solution: Check if an unarchiver is available, skip the test otherwise. 47177 47178 Patch 9.1.1062 47179 Problem: terminal: E315 when dragging the terminal with the mouse 47180 (user202729) 47181 Solution: Call update_topline() and validate_cursor() when clicking 47182 on the status line with the mouse (Hirohito Higashi). 47183 47184 Patch 9.1.1063 47185 Problem: too many strlen() calls in userfunc.c 47186 Solution: Refactor userfunc.c and remove calls to strlen(), 47187 drop set_ufunc_name() and roll it into alloc_ufunc(), 47188 check for out-of-memory condition in trans_function_name_ext() 47189 (John Marriott). 47190 47191 Patch 9.1.1064 47192 Problem: not possible to use plural forms with gettext() 47193 Solution: Implement ngettext() Vim script function (Christ van Willegen). 47194 47195 Patch 9.1.1065 47196 Problem: no digraph for "Approaches the limit" 47197 Solution: Add the digraph using .= (Hans Ginzel). 47198 47199 Patch 9.1.1066 47200 Problem: Heap-use-after-free and stack-use-after-scope with :14verbose 47201 when using :return and :try (after 9.1.1063). 47202 Solution: Move back the vim_free(tofree) and the scope of numbuf[] (zeertzjq). 47203 47204 Patch 9.1.1067 47205 Problem: tests: Test_termwinscroll_topline2 fails on MacOS (after v9.1.1062) 47206 Solution: Reduce termwinscroll further, increase term_wait time. 47207 47208 Patch 9.1.1068 47209 Problem: getchar() can't distinguish between C-I and Tab. 47210 Solution: Add {opts} to pass extra flags to getchar() and getcharstr(), 47211 with "number" and "simplify" keys. 47212 47213 Patch 9.1.1069 47214 Problem: preinsert text completions not deleted with <C-W>/<C-U> 47215 (ddad431, after v9.1.1059) 47216 Solution: Handle <C-W> or <C-U> specifically and clear the completion 47217 (glepnir). 47218 47219 Patch 9.1.1070 47220 Problem: Cannot control cursor positioning of getchar(). 47221 Solution: Add "cursor" flag to {opts}, with possible values "hide", 47222 "keep" and "msg". 47223 47224 Patch 9.1.1071 47225 Problem: Arguments of a function are missing after failing to redefine 47226 it (after 8.2.2505), and heap-use-after-free with script-local 47227 function (after 9.1.1063). 47228 Solution: Don't clear arguments or free uf_name_exp when failing to 47229 redefine an existing function (zeertzjq). 47230 47231 Patch 9.1.1072 47232 Problem: 'diffopt' "linematch" cannot be used with {n} less than 10 47233 digits (after v9.1.1022) 47234 Solution: Fix off-by-one error when checking for digit (zeertzjq). 47235 47236 Patch 9.1.1073 47237 Problem: tests: test_compiler fails on Windows without Maven. 47238 Solution: Add Xspotbugs directory to $PATH when mvn is not available 47239 (zeertzjq). 47240 47241 Patch 9.1.1074 47242 Problem: Strange error when heredoc marker starts with "trim". 47243 Solution: Check for whitespace after "trim" or "eval" (zeertzjq). 47244 47245 Patch 9.1.1075 47246 Problem: Vim9: length variable not used in compile_load() 47247 Solution: Use len instead of re-calculating the length (Hirohito Higashi). 47248 47249 Patch 9.1.1076 47250 Problem: vim_strnchr() is strange and unnecessary (after v9.1.1009) 47251 Solution: Remove vim_strnchr() and use memchr() instead. Also remove a 47252 comment referencing an #if that is no longer present. 47253 47254 Patch 9.1.1077 47255 Problem: Syntax engine interpreted contains=TOP as matching nothing 47256 inside included files, since :syn-include forces HL_CONTAINED 47257 on for every included item. After 8.2.2761, interprets 47258 contains=TOP as contains=@INCLUDED, which is also not correct 47259 since it doesn't respect exclusions, and doesn't work if there 47260 is no @INCLUDED cluster. 47261 Solution: Revert Patch 8.2.2761, instead track groups that have had 47262 HL_CONTAINED forced, and interpret contains=TOP and 47263 contains=CONTAINED using this (Theodore Dubois). 47264 47265 Patch 9.1.1078 47266 Problem: Terminal ansi colors off by one after tgc reset 47267 Solution: Set the correct index for libvterm palette, revert parts in 47268 libvterm/src/pen.c that deviated from upstream (Julio B) 47269 47270 Patch 9.1.1079 47271 Problem: GUI late startup leads to uninitialized scrollbars 47272 Solution: initialize scrollbars for all windows in all tabpages 47273 (Yee Cheng Chin). 47274 47275 Patch 9.1.1080 47276 Problem: filetype: Mill files are not recognized 47277 Solution: Detect '*.mill' files as scala filetype. 47278 47279 Patch 9.1.1081 47280 Problem: has('bsd') is true for GNU/Hurd 47281 Solution: Exclude GNU/Hurd from BSD feature flag (Zhaoming Luo). 47282 47283 Patch 9.1.1082 47284 Problem: unexpected DCS responses may cause out of bounds reads 47285 (after v9.1.1054) 47286 Solution: Check that the parsed value is '=' as expected (Julio B). 47287 47288 Patch 9.1.1083 47289 Problem: setreg() doesn't correctly handle mbyte chars in blockwise mode 47290 Solution: Use mb_ptr2len_len function pointer (Yee Cheng Chin). 47291 47292 Patch 9.1.1084 47293 Problem: Unable to persistently ignore events in a window and its buffers. 47294 Solution: Add 'eventignorewin' option to ignore events in a window and buffer 47295 (Luuk van Baal). 47296 47297 Patch 9.1.1085 47298 Problem: filetype: cmmt files are not recognized 47299 Solution: Detect '*.cmmt' as trace32 filetype (Christian Sax). 47300 47301 Patch 9.1.1086 47302 Problem: completion doesn't work with multi lines (Łukasz Jan Niemier) 47303 Solution: Handle linebreaks in completion code as expected (glepnir). 47304 47305 Patch 9.1.1087 47306 Problem: Vim9: import with extends may crash 47307 Solution: Check otv for being NULL before trying to access it 47308 (Hirohito Higashi). 47309 47310 Patch 9.1.1088 47311 Problem: tests: plugin tests are named inconsistently 47312 Solution: Group them under a common 'plugin' prefix. 47313 47314 Patch 9.1.1089 47315 Problem: tests: No check when tests are run under Github actions 47316 Solution: Add the CheckGithubActions check command and skip test if needed. 47317 47318 Patch 9.1.1090 47319 Problem: tests: test_terminwscroll_topline2 unreliable 47320 Solution: Instead of using term_wait() with a specific time, use 47321 terminal-api and to wait until the terminal is finished 47322 (Yee Cheng Chin). 47323 47324 Patch 9.1.1091 47325 Problem: tests: timeout might be a bit too small 47326 Solution: Increase the test timeout from 30 to 45 seconds 47327 47328 Patch 9.1.1092 47329 Problem: tests: fix expected return code for python 3.13 on Windows 47330 Solution: Check for return code 1 or 123 on Windows. 47331 47332 Patch 9.1.1093 47333 Problem: tests: output of test Test_terminal_eof_arg_win32_ctrl_z depends on 47334 python version. 47335 Solution: Check for the expected output in both, the second last line 47336 and last line. 47337 47338 Patch 9.1.1094 47339 Problem: Vim9: problem finding implemented method for abstract method 47340 in type hierarchy (Aliaksei Budavei) 47341 Solution: When checking for abstract methods in an extended class, check 47342 whether an abstract method is implemented in one of the parent 47343 classes (Yegappan Lakshmanan). 47344 47345 Patch 9.1.1095 47346 Problem: tests: matchparen plugin test wrongly named (zeertzjq) 47347 Solution: Rename test_matchparen to test_plugin_matchparen 47348 to be consistent with the other plugin tests. 47349 47350 Patch 9.1.1096 47351 Problem: if_perl: Perl 5.38 adds new symbols causing link failure 47352 Solution: add stub symbols (Drew Vogel). 47353 47354 Patch 9.1.1097 47355 Problem: --log with non-existent path causes a crash (Ekkosun) 47356 Solution: Split initialization phase and init the execution stack 47357 earlier (Hirohito Higashi) 47358 47359 Patch 9.1.1098 47360 Problem: Leaking memory with completing multi lines (after v9.1.1086) 47361 Solution: Free allocated memory (glepnir). 47362 47363 Patch 9.1.1099 47364 Problem: Vim9: import with extends may crash, v9.1.1087 wasn't the 47365 correct way to fix it). 47366 Solution: When using an import class, Check for a valid class member 47367 variable at compile time (Yegappan Lakshmanan). 47368 47369 Patch 9.1.1100 47370 Problem: tests: Test_log_nonexistent only works on Linux 47371 (after v9.1.1097) 47372 Solution: Add CheckUnix condition. 47373 47374 Patch 9.1.1101 47375 Problem: insexpand.c hard to read 47376 Solution: Refactor slightly to make it better readable (glepnir). 47377 47378 Patch 9.1.1102 47379 Problem: tests: Test_WinScrolled_Resized_eiw() uses wrong filename 47380 (Luuk van Baal, after v9.1.1084) 47381 Solution: Rename the filename to something more unique. 47382 47383 Patch 9.1.1103 47384 Problem: if_perl: still some compile errors with Perl 5.38 47385 Solution: Copy declaration of PL_memory_wrap from Perl header (Drew Vogel). 47386 47387 Patch 9.1.1104 47388 Problem: CI: uses Ubuntu 22.04 runners 47389 Solution: Switch to Ubuntu 24.04 runners, make a few adjustments for 47390 different $TMPDIR (Drew Vogel). 47391 47392 Patch 9.1.1105 47393 Problem: Vim9: no support for protected new() method 47394 Solution: Support the protected "_new()" object method (Yegappan Lakshmanan). 47395 47396 Patch 9.1.1106 47397 Problem: tests: Test_log_nonexistent() causes asan failure (Hirohito Higashi) 47398 Solution: Don't run vim using system(), but run Vim in a terminal. 47399 47400 Patch 9.1.1107 47401 Problem: Cannot loop through completion menu with fuzzy and nosort in 47402 'completeopt' (Tomasz N) 47403 Solution: Reset cur to zero and update compl_shown_match when 47404 'completeopt' contains "nosort" but not "noselect" (glepnir). 47405 47406 Patch 9.1.1108 47407 Problem: 'smoothscroll' gets stuck with 'listchars' "eol". 47408 Solution: Count size of 'listchars' "eol" in line size when scrolling 47409 (zeertzjq). 47410 47411 Patch 9.1.1109 47412 Problem: cmdexpand.c hard to read 47413 Solution: Refactor the file slightly (glepnir). 47414 47415 Patch 9.1.1110 47416 Problem: Vim tests are slow and flaky at the same time due to reliance 47417 on timeouts which are unreliable. 47418 Solution: Improve Vim test performance and reduce flakiness 47419 (Yee Cheng Chin) 47420 47421 Patch 9.1.1111 47422 Problem: Vim9: variable not found in transitive import (lifepillar) 47423 Solution: Fix import and class extends (Hirohito Higashi). 47424 47425 Patch 9.1.1112 47426 Problem: Inconsistencies in get_next_or_prev_match() (after 9.1.1109). 47427 Solution: Change "file" to "entry" or "match" in comments. Use the same 47428 order of branches for PAGEUP and PAGEDOWN (zeertzjq). 47429 47430 Patch 9.1.1113 47431 Problem: tests: Test_terminal_builtin_without_gui waits 2 seconds 47432 Solution: Add --not-a-term to remove the annoying 2s delay in error 47433 message when Vim detects that stdio are not from a terminal 47434 (Yee Cheng Chin). 47435 47436 Patch 9.1.1114 47437 Problem: Enabling termguicolors automatically confuses users. Since 47438 querying the terminal for the RGB flag happens asynchronously, 47439 enabling termguicolors is noticeable by users as the highlighting 47440 changes and is therefore unexpected (after v9.1.1054). 47441 Solution: Comment out that part for now. We may need another way to enable 47442 this in the future. 47443 47444 Patch 9.1.1115 47445 Problem: [security]: use-after-free in str_to_reg() (fizz-is-on-the-way) 47446 Solution: When redirecting the :display command, check that one 47447 does not output to the register being displayed 47448 47449 Patch 9.1.1116 47450 Problem: Vim9: super not supported in lambda expressions (Aliaksei Budavei) 47451 Solution: Support using the super keyword in a closure in an instance 47452 method (Yegappan Lakshmanan). 47453 47454 Patch 9.1.1117 47455 Problem: there are a few minor style issues 47456 Solution: Fix the issues (Hirohito Higashi). 47457 47458 Patch 9.1.1118 47459 Problem: tests: test_termcodes fails (after: v9.1.1114) 47460 Solution: Adjust the test for the expected termguicolors value. 47461 47462 Patch 9.1.1119 47463 Problem: Vim9: Not able to use an autoloaded class from another 47464 autoloaded script (Elliot) 47465 Solution: Make it work (Yegappan Lakshmanan). 47466 47467 Patch 9.1.1120 47468 Problem: tests: Test_registers fails (T.J. Townsend, after v9.1.1115). 47469 Solution: Require clipboard feature 47470 47471 Patch 9.1.1121 47472 Problem: Enter does not insert newline with "noselect" when the pum is 47473 visible (lifepillar) 47474 Solution: When Enter is pressed and no complete-item is selected, 47475 ins_compl_prep returns false, and the edit function continues 47476 processing Enter to insert a new line (glepnir). 47477 47478 Patch 9.1.1122 47479 Problem: too many strlen() calls in findfile.c 47480 Solution: Refactor findfile.c and remove calls to strlen() (John Marriott). 47481 47482 Patch 9.1.1123 47483 Problem: Highlight groups PopupSelected/PopupNotification/ 47484 MessageWindow are supposed to fall back to default highlight 47485 groups if they are not defined. However, once a colorscheme 47486 has defined them, switching to another colorscheme that 47487 doesn't do so will leave behind a cleared colorscheme, which 47488 causes the fallback to fail. 47489 Solution: Set up default links to the relevant fallback highlight 47490 groups, which makes sure a `:hi clear` command will reset the 47491 state properly (Yee Cheng Chin). 47492 47493 Patch 9.1.1124 47494 Problem: No test for 'listchars' "precedes" with double-width char. 47495 Solution: Add a test and fix a typo in code (zeertzjq). 47496 47497 Patch 9.1.1125 47498 Problem: Cannot loop through pum menu with multiline items with 47499 fuzzy and noselect in 'completeopt' (Tomasz N) 47500 Solution: Remove unnecessary compl_no_select condition (glepnir). 47501 47502 Patch 9.1.1126 47503 Problem: Patch 9.1.1121 used a wrong way to handle enter 47504 Solution: Compl_enter_selects also needs to consider the selected item 47505 in ins_compl_new_leader() (glepnir). 47506 47507 Patch 9.1.1127 47508 Problem: when 'completeopt' is set to preinsert the preinserted text is 47509 not cleared when adding new leader (Yee Cheng Chin) 47510 Solution: Add a condition to delete preinsert text in edit function 47511 (glepnir). 47512 47513 Patch 9.1.1128 47514 Problem: Patch 9.1.1119 caused a regression with imports (girishji). 47515 Solution: Revert the script ID change for the class script variable for 47516 now (Yegappan Lakshmanan). 47517 47518 Patch 9.1.1129 47519 Problem: missing out-of-memory test in buf_write() 47520 Solution: Check that the returned allocated buffer is not NULL 47521 (John Marriott). 47522 47523 Patch 9.1.1130 47524 Problem: 'listchars' "precedes" is not drawn on Tabs. 47525 Solution: Only draw 'listchars' "precedes" when not skipping over cells 47526 (zeertzjq). 47527 47528 Patch 9.1.1131 47529 Problem: Potential out-of-memory issue in search.c 47530 Solution: Improve situation and refactor search.c slightly (John Marriott). 47531 47532 Patch 9.1.1132 47533 Problem: Mark positions wrong after triggering multiline completion. 47534 Solution: Call deleted_lines_mark() after deleting lines (zeertzjq). 47535 47536 Patch 9.1.1133 47537 Problem: filetype: xkb files not recognized everywhere 47538 Solution: Detect xkb files in more places (David Mandelberg). 47539 47540 Patch 9.1.1134 47541 Problem: filetype: Guile init file not recognized 47542 Solution: Detect '.guile' file as scheme filetype (David Mandelberg). 47543 47544 Patch 9.1.1135 47545 Problem: 'suffixesadd' doesn't work with multiple items (after 9.1.1122). 47546 Solution: Don't concat multiple suffixes together (zeertzjq). 47547 47548 Patch 9.1.1136 47549 Problem: Match highlighting marks a buffer region to be redrawn as if 47550 its buffer text was changed, unnecessarily invoking syntax code. 47551 Solution: Set the `w_redraw_top/bot` variables instead of the b_mod_* ones 47552 (Luuk van Baal). 47553 47554 Patch 9.1.1137 47555 Problem: ins_str() is inefficient by calling STRLLEN() 47556 Solution: Refactor ins_str() to take a length argument and let all callers 47557 provide the correct length when calling ins_str() (John Marriott). 47558 47559 Patch 9.1.1138 47560 Problem: Existing cmdline completion for :highlight was barebone and 47561 only completed the highlight group names. 47562 Solution: Implement full completion for the highlight group arguments 47563 such as guifg and cterm. If the user tries to complete 47564 immediately after the '=' (e.g. `hi Normal guifg=<Tab>`), the 47565 completion will fill in the existing value, similar to how 47566 cmdline completion for options work (Yee Cheng Chin). 47567 47568 Patch 9.1.1139 47569 Problem: [fifo] is not displayed when editing a fifo (after v7.4.2189). 47570 Solution: Stat the filename and detect the type correctly. 47571 47572 Patch 9.1.1140 47573 Problem: filetype: m17ndb files are not detected 47574 Solution: Detect m17ndb files as m17ndb filetype, include filetype, syntax and 47575 indent files for the new filetype (David Mandelberg). 47576 47577 Patch 9.1.1141 47578 Problem: Misplaced comment in readfile() (after v9.1.1139). 47579 Solution: Move the comment above S_ISDIR() (zeertzjq). 47580 47581 Patch 9.1.1142 47582 Problem: tests: test_startup fails if $HOME/$XDG_CONFIG_HOME is defined 47583 Solution: Define $HOME and $XDG_CONFIG_HOME to some non-existing 47584 directory. 47585 47586 Patch 9.1.1143 47587 Problem: illegal memory access when putting a register 47588 Solution: Make sure cursor column doesn't become negative. 47589 47590 Patch 9.1.1144 47591 Problem: no way to create raw strings from a blob 47592 Solution: Support the "encoding": "none" option to create raw strings (which 47593 may be invalid) (Bakudankun). 47594 47595 Patch 9.1.1145 47596 Problem: When expanding omni completion items with newlines (e.g. 47597 `then\n\t\nend`), the end statement gets wrong indentation. 47598 Solution: Add OPENLINE_FORCE_INDENT flag to make open_line() use 47599 second_line_indent directly (glepnir). 47600 47601 Patch 9.1.1146 47602 Problem: Vim9: wrong context being used when evaluating class member 47603 (lifepillar, Ernie Rael) 47604 Solution: Use the correct script context when evaluating a class member 47605 init expression(Yegappan Lakshmanan). 47606 47607 Patch 9.1.1147 47608 Problem: preview-window does not scroll correctly 47609 Solution: Init firstline = 0 for a preview window (Girish Palya). 47610 47611 Patch 9.1.1148 47612 Problem: Vim9: finding imported scripts can be further improved 47613 (after v9.1.1146) 47614 Solution: Eliminate extra find_imported() call (Hirohito Higashi). 47615 47616 Patch 9.1.1149 47617 Problem: Unix Makefile does not support Brazilian lang for the installer. 47618 Solution: Add support for language code pt_br (RestorerZ) 47619 47620 Patch 9.1.1150 47621 Problem: :highlight auto-complettion has a minor bug where an existing 47622 highlight group with a cterm color being unset would result in 47623 it being auto-completed to -1 in cmdline which is invalid. 47624 Solution: Correctly check for whether an int value is set to non-zero 47625 before retrieving the existing value for auto-complete. Also 47626 do this for attr/string values as they previously worked only 47627 by accident (Yee Cheng Chin). 47628 47629 Patch 9.1.1151 47630 Problem: too many strlen() calls in getchar.c 47631 Solution: Store last inserted and recorded lengths, add functions to retrieve 47632 those and use those functions (John Marriott). 47633 47634 Patch 9.1.1152 47635 Problem: Patch v9.1.1151 causes problems 47636 Solution: Partially revert it (John Marriott). 47637 47638 Patch 9.1.1153 47639 Problem: build error on Haiku 47640 Solution: Define XDG_RUNTIME_PATH variables (Begasus). 47641 47642 Patch 9.1.1154 47643 Problem: Vim9: not able to use autoload class across scripts 47644 Solution: Make it work, re-enable the test (Yegappan Lakshmanan). 47645 47646 Patch 9.1.1155 47647 Problem: Mode message not cleared after :silent message (after 9.0.1634). 47648 Solution: Don't reset mode_displayed when the message is empty (zeertzjq). 47649 47650 Patch 9.1.1156 47651 Problem: No test for what Patch 9.1.1152 fixes. 47652 Solution: Add a test (zeertzjq). 47653 47654 Patch 9.1.1157 47655 Problem: command completion wrong for input() (Cdrman Fu) 47656 Solution: Set commandline completion context explicitly (Jim Zhou). 47657 47658 Patch 9.1.1158 47659 Problem: :verbose set has wrong file name with :compiler! 47660 Solution: Add -keepscript (zeertzjq). 47661 47662 Patch 9.1.1159 47663 Problem: $MYVIMDIR may not always be set (after 9.1.0718) (sandwm) 47664 Solution: Always set $MYVIMDIR to first item in runtimepath 47665 (except when using --clean), update it when changing &rtp. 47666 47667 Patch 9.1.1160 47668 Problem: The 'preinsert' feature requires Ctrl-Y to confirm insertion, 47669 but Ctrl-Y only works when the popup menu (pum) is displayed. 47670 Solution: Modify ins_compl_has_preinsert() to check for both 'menu' and 47671 'menuone' flags when 'preinsert' is set. Update documentation 47672 to clarify this requirement. This avoids adding complex 47673 conditional behaviors (glepnir). 47674 47675 Patch 9.1.1161 47676 Problem: preinsert requires bot "menu" and "menuone" to be set, 47677 but "menu" is redundant (after v9.1.1160) 47678 Solution: Preinsert only requires menuone (glepnir). 47679 47680 Patch 9.1.1162 47681 Problem: When an info popup spans into the cmdline area and ESC is 47682 pressed, some content remains visible on screen (yu3s). 47683 Solution: Add popup_overlays_cmdline() check in screen_fill() to prevent 47684 prematurely clearing the clear_cmdline flag (glepnir). 47685 47686 Patch 9.1.1163 47687 Problem: $MYVIMDIR is set too late and not available while sourcing 47688 runtime files (Maxim Kim, after v9.1.1159). 47689 Solution: Also set it when $MYVIMRC file is found. 47690 47691 Patch 9.1.1164 47692 Problem: editing a special crafted tar file allows code execution (RyotaK) 47693 Solution: Escape the filename before feeding it to the `:read` command 47694 47695 Patch 9.1.1165 47696 Problem: Vim's diff block merging algorithm when doing a multi-file diff 47697 is buggy when two different diff hunks overlap a single 47698 existing diff block (after v9.1.0743) 47699 Solution: Fix a couple bugs in this logic (Yee Cheng Chin). 47700 47701 Patch 9.1.1166 47702 Problem: command-line auto-completion hard with wildmenu 47703 Solution: Implement "noselect" wildoption value (Girish Palya) 47704 47705 Patch 9.1.1167 47706 Problem: mark '] wrong after copying text object (ubaldot) 47707 Solution: Adjust position of '] for non-linewise, exclusive motions (Jim Zhou) 47708 47709 Patch 9.1.1168 47710 Problem: wrong flags passed down to nextwild() (zeertzjq, after v9.1.1166) 47711 Solution: Only pass options flags (Girish Palya) 47712 47713 Patch 9.1.1169 47714 Problem: using global variable for get_insert()/get_lambda_name() 47715 (after v9.1.1151) 47716 Solution: Let the functions return a string_T object instead (Yee Cheng Chin). 47717 47718 Patch 9.1.1170 47719 Problem: wildmenu highlighting in popup can be improved 47720 Solution: Check if the completion items contain submatches of the 47721 entered text (Girish Palya). 47722 47723 Patch 9.1.1171 47724 Problem: tests: wrong arguments passed to assert_equal() (after v9.1.1167). 47725 Solution: Swap arguments in the assert_equal() call (zeertzjq). 47726 47727 Patch 9.1.1172 47728 Problem: heap-buffer-overflow with 'nostartofline' and Ex command in tag 47729 file. 47730 Solution: Set cursor column when moving cursor to line 1 (zeertzjq). 47731 47732 Patch 9.1.1173 47733 Problem: filetype: ABNF files are not detected 47734 Solution: Detect '.abnf' file as abnf filetype and 47735 include an abnf syntax plugin (A4-Tacks). 47736 47737 Patch 9.1.1174 47738 Problem: tests: when the file 'TestCommand?Test' exists, 47739 'Test_complete_cmdline()' will fail when writing the file. And 47740 there's no related cleaning operation for this kind of file 47741 before the test run. 47742 Solution: modify `write` to `write!` to override (Jim Zhou). 47743 47744 Patch 9.1.1175 47745 Problem: inconsistent behaviour with exclusive selection and motion 47746 commands (aidancz) 47747 Solution: Adjust cursor position when selection is exclusive (Jim Zhou). 47748 47749 Patch 9.1.1176 47750 Problem: wrong indentation of lastline when expanding multiple lines 47751 Solution: Check OPENLINE_FORCE_INDENT flag in open_line() (glepnir). 47752 47753 Patch 9.1.1177 47754 Problem: filetype: tera files not detected 47755 Solution: Detect '*.tera' files as tera filetype, 47756 include a simple filetype plugin (MuntasirSZN). 47757 47758 Patch 9.1.1178 47759 Problem: not possible to generate completion candidates using fuzzy 47760 matching 47761 Solution: Add the 'completefuzzycollect' option for (some) ins-completion 47762 modes (glepnir). 47763 47764 Patch 9.1.1179 47765 Problem: too many strlen() calls in misc2.c 47766 Solution: Refactor misc2.c and use bsearch() instead of a linear search 47767 to find matches in the key_names_table array (John Marriott). 47768 47769 Patch 9.1.1180 47770 Problem: The meaning of <Tab> depends on unspecified behavior 47771 (after 9.1.1179). 47772 Solution: Return TAB in case bsearch() finds K_TAB. Rename alt_name to 47773 pref_name as that's closer to it meaning (zeertzjq). 47774 47775 Patch 9.1.1181 47776 Problem: Unnecessary STRLEN() calls in insexpand.c (after 9.1.1178). 47777 Solution: Use the already available length (zeertzjq). 47778 47779 Patch 9.1.1182 47780 Problem: No cmdline completion for the 'completefuzzycollect' option 47781 (after v9.1.1178) 47782 Solution: Add cmdline completion for the 'completefuzzycollect' option, 47783 improve its description in optwin.vim (zeertzjq). 47784 47785 Patch 9.1.1083 47786 Problem: "above" virtual text breaks cursorlineopt=number. 47787 Solution: Take "above" virtual text into account when applying 47788 CursorLineNr highlight. 47789 47790 Patch 9.1.1184 47791 Problem: Unnecessary use of vim_tolower() in vim_strnicmp_asc(). 47792 Solution: Use TOLOWER_ASC() instead (zeertzjq). 47793 47794 Patch 9.1.1185 47795 Problem: endless loop with completefuzzycollect and no match found 47796 Solution: Move pointer to line end and break loop. 47797 47798 Patch 9.1.1186 47799 Problem: filetype: help files in git repos are not detected 47800 Solution: Detect */doc/*.txt files as help if they end with a help 47801 modeline, even if 'modeline' is off 47802 47803 Patch 9.1.1187 47804 Problem: matchparen plugin wrong highlights shell case statement 47805 (Swudu Susuwu) 47806 Solution: Return early, if we are in a shSnglCase syntax element 47807 47808 Patch 9.1.1188 47809 Problem: runtime(tera): tera support can be improved 47810 Solution: Update tera filetype plugin, include a tera syntax script 47811 include tera syntax tests, update the filetype test, 47812 update makemenu and synmenu vim scripts (MuntasirSZN). 47813 47814 Patch 9.1.1189 47815 Problem: if_python: build error due to incompatible pointer types 47816 Solution: Cast pointer to PyObject* (oreo639). 47817 47818 Patch 9.1.1190 47819 Problem: C indentation does not detect multibyte labels 47820 Solution: Correctly skip over multibyte characters (Anttoni Erkkilä). 47821 47822 Patch 9.1.1191 47823 Problem: Test for Patch 9.1.1186 doesn't fail without the patch. 47824 Solution: Set 'nomodeline' in the test (zeertzjq). 47825 47826 Patch 9.1.1192 47827 Problem: Vim crashes with term response debug logging enabled and 47828 running in a non-writeable directory 47829 Solution: Use ch_log() instead of custom termresponse logging function 47830 (Hirohito Higashi) 47831 47832 Patch 9.1.1193 47833 Problem: Unnecessary use of STRCAT() in au_event_disable(). STRCAT() 47834 seeks to the end of new_ei, but here the end is already known. 47835 Solution: Use STRCPY() and add p_ei_len to new_ei. Also fix a typo in a 47836 comment. Add a test that 'eventignore' works in :argdo (zeertzjq). 47837 47838 Patch 9.1.1194 47839 Problem: filetype: false positive help filetype detection 47840 Solution: Only detect a file as help if modeline appears either at start 47841 of line or is preceded by whitespace (zeertzjq). 47842 47843 Patch 9.1.1195 47844 Problem: inside try-block: fn body executed when default arg is 47845 undefined 47846 Solution: When inside a try-block do not execute function body after an 47847 error in evaluating a default argument expression (Shane Harper). 47848 47849 Patch 9.1.1196 47850 Problem: filetype: config files for container tools are not recognized 47851 Solution: Detect the ones that aren't detected yet as toml filetype 47852 (David Mandelberg). 47853 47854 Patch 9.1.1197 47855 Problem: process_next_cpt_value() uses wrong condition 47856 Solution: Use cfc_has_mode() instead and remove redundant else if branch 47857 (glepnir). 47858 47859 Patch 9.1.1198 47860 Problem: [security]: potential data loss with zip.vim and special 47861 crafted zip files (RyotaK) 47862 Solution: Use glob '[-]' to protect filenames starting with '-'. 47863 47864 Patch 9.1.1199 47865 Problem: Many X11/Wayland desktops support icon themes, and many themes 47866 provide a gvim icon, but this icon is ignored for the window 47867 itself because it is hardcoded in the source code. 47868 Solution: Read the icon from the theme instead (Aurelien Gateau). 47869 47870 Patch 9.1.1200 47871 Problem: Cmdline pum not cleared for input() completion. 47872 Solution: Temporary reset RedrawingDisabled in cmdline_pum_cleanup(), 47873 like what is done in wildmenu_cleanup() (zeertzjq). 47874 47875 Patch 9.1.1201 47876 Problem: 'completefuzzycollect' does not handle dictionary correctly 47877 Solution: Check for ctrl_x_mode_dictionary (glepnir). 47878 47879 Patch 9.1.1202 47880 Problem: Missing TabClosedPre autocommand (zoumi) 47881 Solution: Add the TabClosedPre autcommand (Jim Zhou). 47882 47883 Patch 9.1.1203 47884 Problem: matchparen keeps cursor on case label in sh filetype 47885 (@categorical, after 9.1.1187). 47886 Solution: Use :defer so that cursor is always restored, remove checks 47887 for older Vims, finish early if Vim does not support :defer 47888 47889 Patch 9.1.1204 47890 Problem: MS-Windows: crash when passing long string to expand() with 47891 'wildignorecase'. 47892 Solution: Use the same buflen as unix_expandpath() in dos_expandpath(). 47893 Remove an unnecessary STRLEN() while at it (zeertzjq). 47894 47895 Patch 9.1.1205 47896 Problem: completion: preinserted text not removed when closing pum 47897 Solution: Delete preinsert text inside in ins_compl_stop() (glepnir). 47898 47899 Patch 9.1.1206 47900 Problem: tests: test_filetype fails when a file is a directory 47901 (Eisuke Kawashima) 47902 Solution: When encountering a directory instead of a file, skip that 47903 particular filetype test. 47904 47905 Patch 9.1.1207 47906 Problem: MS-Windows: build warning in filepath.c (after v9.1.1204). 47907 Solution: Add type cast (John Marriott). 47908 47909 Patch 9.1.1208 47910 Problem: MS-Windows: not correctly restoring alternate screen on Win 10 47911 after ssh (Daniel Viberg) 47912 Solution: Return a bit later in RestoreConsoleBuffer() (Christopher Plewright) 47913 47914 Patch 9.1.1209 47915 Problem: colorcolumn not drawn after virtual text lines 47916 Solution: Show colorcolumn on correct line with virtual text by adding 47917 the size of p_extra to virtual column offset (Matthias). 47918 47919 Patch 9.1.1210 47920 Problem: translation(ru): missing Russian translation for the new tutor 47921 Solution: Include new Russian translation, update the Makefile for 47922 installing the new translations (RestorerZ). 47923 47924 Patch 9.1.1211 47925 Problem: TabClosedPre is triggered just before the tab is being freed, 47926 which limited its functionality. 47927 Solution: Trigger it a bit earlier and also on :tabclose and :tabonly 47928 (Jim Zhou). 47929 47930 Patch 9.1.1212 47931 Problem: filetype: logrotate'd pacmanlogs are not recognized 47932 Solution: Also detect pacman.log* files as pacmanlog filetype, 47933 remove BufNewFile autocmd (Eisuke Kawashima). 47934 47935 Patch 9.1.1212 47936 Problem: too many strlen() calls in edit.c 47937 Solution: Refactor edit.c and remove strlen() calls (John Marriott). 47938 47939 Patch 9.1.1213 47940 Problem: cannot :put while keeping indent (Peter Aronoff) 47941 Solution: Add the :iput ex command (64-bitman). 47942 47943 Patch 9.1.1214 47944 Problem: When searching for "Cur", CamelCase matches like "lCursor" score 47945 higher than exact prefix matches like Cursor, which is 47946 counter-intuitive (Maxim Kim). 47947 Solution: Add a 'camelcase' option to matchfuzzy() that lets users disable 47948 CamelCase bonuses when needed, making prefix matches rank higher 47949 (glepnir). 47950 47951 Patch 9.1.1215 47952 Problem: Patch 9.1.1213 has some issues 47953 Solution: Revert it for now 47954 47955 Patch 9.1.1216 47956 Problem: Pasting the '.' register multiple times may work incorrectly 47957 when the last insert starts with Ctrl-D and ends with '0' 47958 (after 9.1.1212). 47959 Solution: Restore the missing assignment (zeertzjq). 47960 47961 Patch 9.1.1217 47962 Problem: tests: typos in test_matchfuzzy.vim (after 9.1.1214). 47963 Solution: Fix the typos. Consistently put the function call on the 47964 second line in assertions for camelcase (zeertzjq). 47965 47966 Patch 9.1.1218 47967 Problem: missing out-of-memory check in filepath.c 47968 Solution: Add check for NULL (John Marriott). 47969 47970 Patch 9.1.1219 47971 Problem: Strange error with type for matchfuzzy() "camelcase". 47972 Solution: Show the error "Invalid value for argument camelcase" instead 47973 of "Invalid argument: camelcase" (zeertzjq). 47974 47975 Patch 9.1.1220 47976 Problem: filetype: uv.lock file not recognized 47977 Solution: detect uv.lock file as toml filetype (Acaibird). 47978 47979 Patch 9.1.1221 47980 Problem: Wrong cursor position and '^' mark when leaving Insert mode 47981 just after 'autoindent' and cursor on last char of line. 47982 Solution: Don't move cursor to NUL when it wasn't moved to the left (zeertzjq) 47983 47984 Patch 9.1.1222 47985 Problem: using wrong length for last inserted string 47986 (Christ van Willegen, after v9.1.1212) 47987 Solution: Use the correct length in get_last_insert_save(), make 47988 get_last_insert() return a string_T (John Marriott). 47989 47990 Patch 9.1.1223 47991 Problem: wrong translation for encoding failures because of using 47992 literal "from" and "to" in the resulting error message (RestorerZ) 47993 Solution: Use separate error messages for errors "from" and "to" 47994 encoding errors. 47995 47996 Patch 9.1.1224 47997 Problem: cannot :put while keeping indent (Peter Aronoff) 47998 Solution: Add the :iput ex command (64-bitman). 47999 48000 Patch 9.1.1225 48001 Problem: extra NULL check in VIM_CLEAR() 48002 Solution: Remove the NULL check and rely on the NULL check in vim_free() 48003 instead (Hirohito Higashi). 48004 48005 Patch 9.1.1226 48006 Problem: "shellcmdline" completion doesn't work with input(). 48007 Solution: Use set_context_for_wildcard_arg(). Fix indent in nextwild() 48008 (zeertzjq). 48009 48010 Patch 9.1.1227 48011 Problem: no tests for the comment package 48012 Solution: Add some tests (Maxim Kim). 48013 48014 Patch 9.1.1228 48015 Problem: The current_pos.col was incorrectly updated to the length of 48016 the matching text. This will cause the next search to start 48017 from the wrong position. 48018 Solution: Current_pos has already been updated in search_str_in_line and 48019 does not need to be changed (glepnir). 48020 48021 Patch 9.1.1229 48022 Problem: the comment plugin can be improved 48023 Solution: add comment text objects "ic" and "ac" (Maxim Kim). 48024 48025 Patch 9.1.1230 48026 Problem: Ctrl-C closes popup windows that have a filter callback, 48027 but does not close popups without a filter callback. 48028 Solution: Modified popup_do_filter() to also close popups without 48029 filter callback when Ctrl-C is pressed (glepnir). 48030 48031 Patch 9.1.1231 48032 Problem: filetype: SPA (single page application) JSON files are not 48033 recognized (used by pipewire and wireplumber) 48034 Solution: Detect pipewire and wireplumber configuration files as spajson 48035 filetype, include filetype, indent and syntax scripts for this 48036 new filetype (David Mandelberg). 48037 48038 Patch 9.1.1232 48039 Problem: Vim script is missing the tuple data type 48040 Solution: Add support for the tuple data type (Yegappan Lakshmanan). 48041 48042 Patch 9.1.1233 48043 Problem: Coverity warns about NULL pointer when triggering WinResized 48044 Solution: Add OOM checks for windows_list like for scroll_dict. Remove 48045 void casts that are unnecessary after 9.1.1084 (zeertzjq). 48046 48047 Patch 9.1.1234 48048 Problem: Compile error when SIZE_MAX is not defined 48049 Solution: Define SIZE_MAX (Zoltan Arpadffy). 48050 48051 Patch 9.1.1235 48052 Problem: cproto files are outdated 48053 Solution: regenerate proto files by running make proto (Yegappan Lakshmanan). 48054 48055 Patch 9.1.1236 48056 Problem: tests: test_comments leaves swapfiles around 48057 Solution: use ':bw!' instead of ':close!' 48058 48059 Patch 9.1.1237 48060 Problem: Compile error with C89 compiler in term.c (Zoltan Arpadffy) 48061 Solution: split out LOG_TR macro into 2 different macros. LOG_TR1 that 48062 takes only a single argument and LOG_TRN that takes 2 48063 arguments. Remove the use of ##__VA_ARGS__ since the macro is 48064 now always called with 2 arguments (Hirohito Higashi). 48065 48066 Patch 9.1.1238 48067 Problem: With ':set splitkeep=screen', cursor did't restore column 48068 correctly when splitting a window on a line longer than the 48069 last line on the screen (after v9.1.0707) 48070 Solution: Restore cursor column in `win_fix_scroll()` since it may be 48071 changed in `getvcol()` after 396fd1ec2956 (phanium). 48072 48073 Patch 9.1.1239 48074 Problem: if_python: no tuple data type support (after v9.1.1232) 48075 Solution: Add support for using Vim tuple in the python interface 48076 (Yegappan Lakshmanan). 48077 48078 Patch 9.1.1240 48079 Problem: Regression with ic/ac text objects and comment plugin 48080 Solution: Fix regression, update tests (Maxim Kim). 48081 48082 Patch 9.1.1241 48083 Problem: wrong preprocessort indentation in term.c 48084 Solution: update indentation (Hirohito Higashi). 48085 48086 Patch 9.1.1242 48087 Problem: Crash when evaluating variable name (after v9.1.0870) 48088 Solution: Calculate the strlen() directly instead of pointer 48089 arithmetics, fix missing assignment to lp->ll_name_end in 48090 get_lval() (zeertzjq). 48091 48092 Patch 9.1.1243 48093 Problem: Diff mode's inline highlighting is lackluster. It only 48094 performs a line-by-line comparison, and calculates a single 48095 shortest range within a line that could encompass all the 48096 changes. In lines with multiple changes, or those that span 48097 multiple lines, this approach tends to end up highlighting 48098 much more than necessary. 48099 Solution: Implement new inline highlighting modes by doing per-character 48100 or per-word diff within the diff block, and highlight only the 48101 relevant parts, add "inline:simple" to the defaults (which is 48102 the old behaviour) (Yee Cheng Chin) 48103 48104 Patch 9.1.1244 48105 Problem: part of Patch v9.1.1242 was wrong 48106 Solution: Revert part of the Patch. 48107 48108 Patch 9.1.1245 48109 Problem: need some more tests for curly braces evaluation 48110 Solution: Add a test for the regression introduced by Patch v9.1.1242 48111 (Yegappan Lakshmanan). 48112 48113 Patch 9.1.1246 48114 Problem: coverity complains about some changes in v9.1.1243 48115 Solution: Remove duplicate code in diff_find_changed() (Yee Cheng Chin). 48116 48117 Patch 9.1.1247 48118 Problem: fragile setup to get (preferred) keys from key_name_entry 48119 (after v9.1.1179) 48120 Solution: Refactor the code further, fix a bug with "pref_name" key 48121 entry introduced in v9.1.1180 (Yee Cheng Chin) 48122 48123 Patch 9.1.1248 48124 Problem: compile error when building without FEAT_QUICKFIX 48125 Solution: Adjust ifdefs in popupwin.c, add CheckFeature quickfix 48126 to a few tests (John Marriott, Hirohito Higashi). 48127 48128 Patch 9.1.1249 48129 Problem: No test that 'listchars' "eol" doesn't affect "gM". 48130 Solution: Add a test (zeertzjq). 48131 48132 Patch 9.1.1250 48133 Problem: cannot set the maximum popup menu width (Lucas Mior) 48134 Solution: add the new global option value 'pummaxwidth' (glepnir). 48135 48136 Patch 9.1.1251 48137 Problem: if_python: build error with tuples and dynamic python 48138 (after v9.1.1239) 48139 Solution: Fix build error and test failures (Yee Cheng Cin). 48140 48141 Patch 9.1.1252 48142 Problem: Typos in code and docs related to 'diffopt' "inline:". 48143 (after v9.1.1243) 48144 Solution: Fix typos and slightly improve the docs (zeertzjq). 48145 48146 Patch 9.1.1253 48147 Problem: If win_close() is called with a window that has quickfix stack 48148 attached to it, the corresponding quickfix buffer will be 48149 closed and freed after the buffer was already closed. At that 48150 time curwin->w_buffer points to NULL, which the CHECK_CURBUF 48151 will catch and abort if ABORT_ON_ERROR is defined. 48152 Solution: In wipe_qf_buffer() temporarily point curwin->w_buffer back to 48153 curbuf, the window will be closed anyhow, so it shouldn't 48154 matter that curbuf->b_nwindows isn't incremented. 48155 48156 Patch 9.1.1254 48157 Problem: need more tests for the comment plugin 48158 Solution: Add a tests for the [gb]:comment_first_col setting (Maxim Kim). 48159 48160 Patch 9.1.1255 48161 Problem: missing test condition for 'pummaxwidth' setting, pummaxwidth 48162 not effective when width is 32 and height is 10 (after v9.1.1250). 48163 Solution: Add missing comparison condition in pum_width() (glepnir). 48164 48165 Patch 9.1.1256 48166 Problem: if_python: duplicate tuple data entries (after v9.1.1239) 48167 Solution: clean up duplicates (Yegappan Lakshmanan). 48168 48169 Patch 9.1.1257 48170 Problem: Mixing vim_strsize() with mb_ptr2cells() in pum_redraw(). 48171 Solution: Change vim_strsize() to mb_string2cells() (zeertzjq). 48172 48173 Patch 9.1.1258 48174 Problem: regexp: max \U and \%U value is limited by INT_MAX but gives a 48175 confusing error message 48176 Solution: Give a better error message when the value reaches INT_MAX 48177 48178 Patch 9.1.1259 48179 Problem: some issues with comment package and tailing spaces 48180 Solution: Correctly capture trailing spaces with the ac/ic text object 48181 (Maxim Kim). 48182 48183 Patch 9.1.1260 48184 Problem: Hang when filtering buffer with NUL bytes (after 9.1.1050). 48185 Solution: Don't subtract "written" from "lplen" repeatedly (zeertzjq). 48186 48187 Patch 9.1.1261 48188 Problem: No test for 'pummaxwidth' non-truncated items (after v9.1.1250) 48189 Solution: Add shorter items to Test_pum_maxwidth_multibyte() (zeertzjq). 48190 48191 Patch 9.1.1262 48192 Problem: heap-buffer-overflow occurs with narrow 'pummaxwidth' value 48193 (after v9.1.1250) 48194 Solution: Test that st_end points after st pointer (Hirohito Higashi). 48195 48196 Patch 9.1.1263 48197 Problem: string length wrong in get_last_inserted_save() (after v9.1.1222). 48198 Solution: When removing trailing ESC, also decrease the string length 48199 (Christ van Willegen). 48200 48201 Patch 9.1.1264 48202 Problem: Vim9: error when comparing objects (lifepillar) 48203 Solution: When comparing object types, compare their classes 48204 (Yegappan Lakshmanan) 48205 48206 Patch 9.1.1265 48207 Problem: tests: no tests for typing normal char during completion 48208 Solution: Add a test verifying the default behaviour (see :h 48209 popupmenu-completion) 48210 48211 Patch 9.1.1266 48212 Problem: MS-Windows: type conversion warnings 48213 Solution: Cast the variables (Yegappan Lakshmanan). 48214 48215 Patch 9.1.1267 48216 Problem: Vim9: no support for type list/dict<object<any>> 48217 Solution: Add proper support for t_object_any (Yegappan Lakshmanan). 48218 48219 Patch 9.1.1268 48220 Problem: filetype: dax files are not recognized 48221 Solution: Detect "*.dax" as dax filetype, include dax filetype and 48222 syntax plugin (Anarion Dunedain). 48223 48224 Patch 9.1.1269 48225 Problem: compl_shown_match is updated when starting keyword completion 48226 and does not include fuzzy matching. 48227 Solution: Do not update compl_shown_match when starting keyword 48228 completion, since it is the one already selected by the 48229 keyword completion direction (glepnir). 48230 48231 Patch 9.1.1270 48232 Problem: missing out-of-memory checks in buffer.c 48233 Solution: Handle out-of-memory situations during allocation (John Marriott). 48234 48235 Patch 9.1.1271 48236 Problem: filetype: Power Query files are not recognized 48237 Solution: Detect '*.pq' as pq filetype, include pq syntax and filetype 48238 plugin (Anarion Dunedain). 48239 48240 Patch 9.1.1272 48241 Problem: completion: in keyword completion Ctrl_P cannot go back after 48242 Ctrl_N 48243 Solution: in find_compl_when_fuzzy() always return first match of array, after 48244 Ctrl_P use compl_shown_match->cp_next instead of compl_first_match. 48245 (glepnir) 48246 48247 Patch 9.1.1273 48248 Problem: Coverity warns about using uninitialized value (after 9.1.1270). 48249 Solution: Put an empty string in "buf" when allocation fails (zeertzjq). 48250 48251 Patch 9.1.1274 48252 Problem: Vim9: no support for object<type> as variable type 48253 Solution: Add support for object<type> (Yegappan Lakshmanan). 48254 48255 Patch 9.1.1275 48256 Problem: MS-Windows: Not possible to pass additional flags to Make_mvc 48257 Solution: Introduce $CI_FLAGS and use it to pass additional flags for 48258 the Github CI in order to treat size conversion warnings 48259 (C4267) as errors (Yegappan Lakshmanan). 48260 48261 Patch 9.1.1276 48262 Problem: inline word diff treats multibyte chars as word char 48263 (after 9.1.1243) 48264 Solution: Treat all non-alphanumeric characters as non-word characters 48265 (Yee Cheng Chin) 48266 48267 Patch 9.1.1277 48268 Problem: tests: trailing comment char in test_popupwin 48269 Solution: Remove crufty tail comment (Doug Kearns) 48270 48271 Patch 9.1.1278 48272 Problem: Vim9: too long functions in vim9type.c 48273 Solution: Refactor into separate functions (Yegappan Lakshmanan). 48274 48275 Patch 9.1.1279 48276 Problem: Vim9: null_object and null_class are no reserved names 48277 Solution: Add null_object and null_class as reserved names 48278 (Yegappan Lakshmanan). 48279 48280 Patch 9.1.1280 48281 Problem: trailing additional semicolon in get_matches_in_str() 48282 (Hirohito Higashi) 48283 Solution: Remove it (Satoru Kitaguchi). 48284 48285 Patch 9.1.1281 48286 Problem: extra newline output when editing stdin 48287 Solution: Remove outputting when reading from stdin in non-terminal mode 48288 (Abhijit Barik). 48289 48290 Patch 9.1.1282 48291 Problem: Build and test failure without job feature (lazypingu). 48292 Solution: Adjust ifdefs, add CheckFeature job to tests. 48293 48294 Patch 9.1.1283 48295 Problem: quickfix and location-list stack is limited to 10 items 48296 Solution: Add the 'chistory' and 'lhistory' options to configure a 48297 larger quickfix/location list stack (64-bitman). 48298 48299 Patch 9.1.1284 48300 Problem: not possible to configure the completion menu truncation 48301 character 48302 Solution: Add the "trunc" suboption to the 'fillchars' setting to 48303 configure the truncation indicator (glepnir). 48304 48305 Patch 9.1.1285 48306 Problem: Vim9: no error message for missing method after "super." 48307 Solution: Output an error message, add a few more tests (Yegappan Lakshmanan). 48308 48309 Patch 9.1.1286 48310 Problem: Help files not detected when 'iskeyword' includes ":". 48311 Solution: Do not use \< and \> in the pattern (zeertzjq). 48312 48313 Patch 9.1.1287 48314 Problem: quickfix code can be further improved (after v9.1.1283) 48315 Solution: Slightly refactor quickfix.c (Hirohito Higashi). 48316 48317 Patch 9.1.1288 48318 Problem: Using wrong window in ll_resize_stack() (after v9.1.1287) 48319 Solution: Use "wp" instead of "curwin", even though they are always the 48320 same value. Fix typos in documentation (zeertzjq). 48321 48322 Patch 9.1.1289 48323 Problem: tests: no test for matchparen plugin with WinScrolled event 48324 Solution: Add missing test. 48325 48326 Patch 9.1.1290 48327 Problem: tests: missing cleanup in test_filetype.vim, wrong name in 48328 test_plugin_matchparen 48329 Solution: Add :bwipe corresponding to :split, rename test case. 48330 48331 Patch 9.1.1291 48332 Problem: too many strlen() calls in buffer.c 48333 Solution: Refactor buffer.c and remove strlen() calls (John Marriott). 48334 48335 Patch 9.1.1292 48336 Problem: statusline not correctly evaluated (Peter Kenny, after v9.1.1291) 48337 Solution: Revert part of Patch v9.1.1291 (Hirohito Higashi). 48338 48339 Patch 9.1.1293 48340 Problem: comment plugin does not handle 'exclusive' selection for 48341 comment object (@mawkish) 48342 Solution: Handle special case selection='exclusive' for inline comment 48343 object (Maxim Kim). 48344 48345 Patch 9.1.1294 48346 Problem: gui tabline menu does not use confirm when closing tabs 48347 Solution: Use ":confirm tabclose" explicitly (JMcKiern). 48348 48349 Patch 9.1.1295 48350 Problem: clientserver: When in insert mode, a :stopinsert command 48351 is not correctly processed (user202729) 48352 Solution: If the :stopinsert command is received while waiting for 48353 input, stuff the NOP key into the type-ahead buffer and 48354 detect that :stopinsert was used in edit() so that the 48355 cursor position is decremented. 48356 48357 Patch 9.1.1296 48358 Problem: completion: incorrect truncation logic (after: v9.1.1284) 48359 Solution: Replace string allocation with direct screen rendering and 48360 fix RTL/LTR truncation calculations (glepnir). 48361 48362 Patch 9.1.1297 48363 Problem: cursor_correct() calculates a valid cursor position which 48364 is later changed by update_topline() and causes Ctrl-D 48365 scrolling to be stuck (Daniel Steinberg, after v9.1.0258). 48366 Solution: Update the valid cursor position before validating topline 48367 (Luuk van Baal). 48368 48369 Patch 9.1.1298 48370 Problem: define_function() is too long 48371 Solution: Refactor and split up into smaller functions (Yegappan Lakshmanan). 48372 48373 Patch 9.1.1299 48374 Problem: filetype: mbsyncrc files are not recognized 48375 Solution: Detect isyncrc and "*.mbsyncrc" files as mbsync filetype, 48376 include filetype and syntax plugin (Pierrick Guillaume). 48377 48378 Patch 9.1.1300 48379 Problem: wrong detection of -inf 48380 Solution: Correctly compare 4 characters and not 3 (John Marriott). 48381 48382 Patch 9.1.1301 48383 Problem: completion: cannot configure completion functions with 48384 'complete' 48385 Solution: Add support for setting completion functions using the f and o 48386 flag for 'complete' (Girish Palya) 48387 48388 Patch 9.1.1302 48389 Problem: Coverity warns about using uninitialized value 48390 (Coverity, Tony Mechelynck, after v9.1.1301) 48391 Solution: Initialize callback pointer to NULL 48392 48393 Patch 9.1.1303 48394 Problem: missing out-of-memory check in linematch.c 48395 Solution: Return early in case of memory allocation failure, move the 48396 pow() calculation ouside of the for() loop (John Marriott). 48397 48398 Patch 9.1.1304 48399 Problem: filetype: some man files are not recognized 48400 (e.g. 1p (POSIX commands)) 48401 Solution: Update the filetype detection pattern and detect more man 48402 files as nroff (Eisuke Kawashima). 48403 48404 Patch 9.1.1305 48405 Problem: When switching to another window or tab page while the 48406 completion menu is active, the menu stays visible, although it 48407 belongs to the previous window/tab page context (Evgeni 48408 Chasnovski). 48409 Solution: Track the window and tab page where completion started. Detect 48410 changes in the main editing loop and cancel completion mode if 48411 the current window or tab page differs from where completion 48412 started. 48413 48414 Patch 9.1.1306 48415 Problem: Parts of the popup menu were rendered twice when the popup was 48416 at maximum width because the truncation flag was being set too 48417 liberally. 48418 Solution: Make the truncation condition more precise by only setting it 48419 when there's exactly one character of space remaining (glepnir). 48420 48421 Patch 9.1.1307 48422 Problem: GNU extensions, such as `ifeq` and `wildcard` function, are 48423 highlighted in BSDmakefile 48424 Solution: Detect BSD, GNU, or Microsoft implementation according to 48425 filename, user-defined global variables, or file contents. 48426 48427 Patch 9.1.1308 48428 Problem: During insert-mode completion, the most relevant match is often 48429 the one closest to the cursor—frequently just above the current line. 48430 However, both `<C-N>` and `<C-P>` tend to rank candidates from the 48431 current buffer that appear above the cursor near the bottom of the 48432 completion menu, rather than near the top. This ordering can feel 48433 unintuitive, especially when `noselect` is active, as it doesn't 48434 prioritize the most contextually relevant suggestions. 48435 Solution: This change introduces a new sub-option value "nearest" for the 48436 'completeopt' setting. When enabled, matches from the current buffer 48437 are prioritized based on their proximity to the cursor position, 48438 improving the relevance of suggestions during completion 48439 (Girish Palya). 48440 48441 Patch 9.1.1309 48442 Problem: tests: no test for 'pummaxwidth' with non-truncated "kind". 48443 Solution: Add a test with "kind" and larger 'pummaxwidth' (zeertzjq). 48444 48445 Patch 9.1.1310 48446 Problem: Duplicate check for preinsert effect, particularly for Ctrl_w 48447 and Ctrl_U. 48448 Solution: Remove the specific check for Ctrl_w and Ctrl_U to eliminate 48449 redundancy (glepnir). 48450 48451 Patch 9.1.1311 48452 Problem: completion: not possible to limit number of matches 48453 Solution: allow to limit the matches for 'complete' sources by using the 48454 "{flag}^{limit}" notation (Girish Palya) 48455 48456 Patch 9.1.1312 48457 Problem: tests: Test_backupskip() fails when HOME is defined 48458 Solution: Unset $HOME temporarily 48459 48460 Patch 9.1.1313 48461 Problem: compile warning about uninitialized value 48462 (Tony Mechelynck, after v9.1.1311) 48463 Solution: Initialize variable on declaration 48464 48465 Patch 9.1.1314 48466 Problem: max allowed string width too small 48467 Solution: Increased MAX_ALLOWED_STRING_WIDTH from 6400 to 1MiB 48468 (Hirohito Higashi) 48469 48470 Patch 9.1.1315 48471 Problem: chain complete does not work when 'cot' includes fuzzy 48472 and 'completefuzzycollect' collects wrong next word (Konfekt). 48473 Solution: Compl_startpos is not set correctly, remove next word check 48474 in search_for_fuzzy_match (glepnir). 48475 48476 Patch 9.1.1316 48477 Problem: missing memory allocation failure in os_mswin.c 48478 Solution: Check for memory allocation failure and return early (John Marriott) 48479 48480 Patch 9.1.1317 48481 Problem: noisy error when restoring folds from session fails 48482 Solution: ignore errors silently when sourcing session file (Igor Lacerda). 48483 48484 Patch 9.1.1318 48485 Problem: tests: test_format fails (after 9.1.1314). 48486 Solution: Increase the string size. Add missing test_format.res in 48487 NEW_TESTS_RES (zeertzjq). 48488 48489 Patch 9.1.1319 48490 Problem: Various typos in the code, redundant and strange use of 48491 :execute in test_ins_complete.vim (after 9.1.1315). 48492 Solution: Fix typos in the code and in the documentation, use the 48493 executed command directly (zeertzjq). 48494 48495 Patch 9.1.1320 48496 Problem: filetype: alsoft config files are not recognized 48497 Solution: Detect alsoft config files as dosini filetype (David Mandelberg). 48498 48499 Patch 9.1.1321 48500 Problem: filetype: MS ixx and mpp files are not recognized 48501 Solution: Detect *.mpp and *.ixx files as c++ filetype (Hampus Avekvist). 48502 48503 Patch 9.1.1322 48504 Problem: small delete register cannot paste multi-line correctly 48505 (after v8.2.2189) 48506 Solution: Make this logic handle charwise only (phanium). 48507 48508 Patch 9.1.1323 48509 Problem: b:undo_ftplugin not executed when re-using buffer (archy3) 48510 Solution: Explicitly execute b:undo_ftplugin in buflist_new() when 48511 re-using the current buffer. 48512 48513 Patch 9.1.1324 48514 Problem: undefined behaviour if X11 connection dies 48515 Solution: Call setjmp() before the main_loop() and restore x11 state 48516 if the X11 connection dies (Foxe Chen). 48517 48518 Patch 9.1.1325 48519 Problem: tests: not checking error numbers properly. 48520 Solution: Add a trailing comma to avoid matching a different error 48521 number with the same prefix (zeertzjq). 48522 48523 Patch 9.1.1326 48524 Problem: invalid cursor position after 'tagfunc' (gandalf4a). 48525 Solution: Call check_cursor() after executing the 'tagfunc'. 48526 48527 Patch 9.1.1327 48528 Problem: filetype: nroff detection can be improved 48529 Solution: Improve nroff detection (Eisuke Kawashima) 48530 48531 Patch 9.1.1328 48532 Problem: too many strlen() calls in indent.c 48533 Solution: Refactor indent.c slightly and remove strlen() calls (John Marriott) 48534 48535 Patch 9.1.1329 48536 Problem: cannot get information about command line completion 48537 Solution: Add CmdlineLeavePre autocommand and cmdcomplete_info() Vim 48538 script function (Girish Palya) 48539 48540 Patch 9.1.1330 48541 Problem: may receive E315 in terminal 48542 Solution: Call check_cursor() (Hirohito Higashi). 48543 48544 Patch 9.1.1331 48545 Problem: Leaking memory with cmdcomplete() (zeertzjq, after v9.1.1329) 48546 Solution: Free the memory (Girish Palya). 48547 48548 Patch 9.1.1332 48549 Problem: Vim9: segfault when using super within a lambda (lifepillar) 48550 Solution: Inherit the class from the current function (Yegappan Lakshmanan). 48551 48552 Patch 9.1.1333 48553 Problem: Coverity: complains about unutilized variable 48554 Solution: Initialize typval properly 48555 48556 Patch 9.1.1334 48557 Problem: Coverity complains about unchecked return value 48558 Solution: Cast return value to (void) 48559 48560 Patch 9.1.1335 48561 Problem: Coverity complains about Null pointer dereferences 48562 Solution: Before accessing ccline->cmdbuff check that ccline is not NULL 48563 48564 Patch 9.1.1336 48565 Problem: comment plugin does not support case-insensitive 48566 'commentstring' (char101) 48567 Solution: Use pattern '\c' to make the regex case-insensitive (Maxim Kim). 48568 48569 Patch 9.1.1337 48570 Problem: Undo corrupted with 'completeopt' "preinsert" when switching 48571 buffer or window. 48572 Solution: Do not delete preinsert text when switching buffer or window 48573 (zeertzjq). 48574 48575 Patch 9.1.1338 48576 Problem: Calling expand() interferes with cmdcomplete_info() (after 9.1.1329) 48577 Solution: Only clear cmdline_orig when starting/ending cmdline mode (zeertzjq) 48578 48579 Patch 9.1.1339 48580 Problem: missing out-of-memory checks for enc_to_utf16() and utf16_to_enc() 48581 Solution: Add out-of-memory checks and fix a few other minor issues 48582 (John Marriott) 48583 48584 Patch 9.1.1340 48585 Problem: cannot complete :filetype arguments (Phạm Bình An) 48586 Solution: Add :filetype ex command completion, add "filetypecmd" 48587 completion type for getcompletion() 48588 48589 Patch 9.1.1341 48590 Problem: Cannot define completion triggers and act upon it 48591 Solution: Add the new option 'isexpand' and add the complete_match() 48592 function to return the completion matches according to the 48593 'isexpand' setting (glepnir) 48594 48595 Patch 9.1.1342 48596 Problem: Shebang filetype detection can be improved 48597 Solution: Improve detection logic (Eisuke Kawashima) 48598 48599 Patch 9.1.1343 48600 Problem: filetype: IPython files are not recognized (user202729). 48601 Solution: Detect *.ipy files as python filetype. 48602 48603 Patch 9.1.1344 48604 Problem: double free in f_complete_match() (after v9.1.1341) 48605 Solution: Remove additional free of trig pointer, correctly free 48606 regmatch.regprog and before_cursor in the error case. 48607 48608 Patch 9.1.1345 48609 Problem: tests: Test_xxd_color2() test failure dump diff is misleading 48610 Solution: Ensure the reference dump and the test dump are both processed the 48611 same (Drew Vogel). 48612 48613 Patch 9.1.1346 48614 Problem: missing out-of-memory check in textformat.c 48615 Solution: Add out-of-memory check, add small optimizations to 48616 internal_format() and same_leader() (John Marriott) 48617 48618 Patch 9.1.1347 48619 Problem: small problems with gui_w32.c 48620 Solution: Fix compile warnings and refactor code (John Marriott) 48621 48622 Patch 9.1.1348 48623 Problem: still E315 with the terminal feature (user202729) 48624 Solution: Call update_topline() in limit_scrollback() (Hirohito Higashi). 48625 48626 Patch 9.1.1349 48627 Problem: CmdlineLeavePre may trigger twice (after v9.1.1329) 48628 Solution: Check that the key was typed, trigger it when it wasn't before 48629 (Girish Palya). 48630 48631 Patch 9.1.1350 48632 Problem: tests: typo in Test_CmdlineLeavePre_cabbr() (after v9.1.1349) 48633 Solution: Fix typo, disable failing test on Windows for now (Girish Palya). 48634 48635 Patch 9.1.1351 48636 Problem: Return value of getcmdline() inconsistent in CmdlineLeavePre 48637 when leaving cmdline in different ways (after v9.1.1329). 48638 Solution: Trigger CmdlineLeavePre before calling abandon_cmdline() so 48639 that getcmdline() can return the command line (zeertzjq). 48640 48641 Patch 9.1.1352 48642 Problem: style: inconsistent indent in insexpand.c 48643 Solution: Fix indentation (Hirohito Higashi). 48644 48645 Patch 9.1.1353 48646 Problem: missing change from v9.1.1350 48647 Solution: Update the test Test_CmdlineTrigger() (Girish Palya). 48648 48649 Patch 9.1.1354 48650 Problem: tests: Test_terminalwinscroll_topline() fails on Windows 48651 Solution: Instead of disabling it in Github Actions runners, disable it 48652 for all Windows runs. 48653 48654 Patch 9.1.1355 48655 Problem: The pum_redraw function is too complex and difficult to 48656 maintain with nested loops and mixed responsibilities handling 48657 both RTL and LTR text rendering. 48658 Solution: Extracted core rendering logic into dedicated helper functions 48659 (pum_display_rtl_text, pum_display_ltr_text, pum_draw_scrollbar, 48660 pum_process_item) while preserving the original behavior. This 48661 improves code readability and maintainability (glepnir). 48662 48663 Patch 9.1.1356 48664 Problem: Vim9: crash when unletting variable 48665 Solution: Fix crash, allow to use :unlet (Hirohito Higashi). 48666 48667 Patch 9.1.1357 48668 Problem: Vim incorrectly escapes tags containing "[" in a help buffer 48669 Solution: Check if the buffer has the "help" filetype set, instead of 48670 already being a help buffer (Phạm Bình An). 48671 48672 Patch 9.1.1358 48673 Problem: if_lua: compile warnings with gcc15 48674 Solution: Update function prototypes (lilydjwg). 48675 48676 Patch 9.1.1359 48677 Problem: filetype: GNU Radio config files are not recognized. 48678 Solution: Detect GNU Radio config files as confini filetype. Only 48679 allow '#' as start of comment in confini syntax (zeertzjq). 48680 48681 Patch 9.1.1360 48682 Problem: filetype: GNU Radio companion files are not recognized 48683 Solution: Detect *.grc files as xml or yaml filetype depending on the 48684 first line (zeertzjq). 48685 48686 Patch 9.1.1361 48687 Problem: [security]: Possible to open more windows into a closing 48688 buffer without splitting, bypassing existing "b_locked_split" 48689 checks and triggering use-after-free 48690 Solution: Disallow switching to a closing buffer. Editing a closing 48691 buffer (via ":edit", etc.) was fixed in v9.1.0764, but add an 48692 error message and check just "b_locked_split", as "b_locked" 48693 is necessary only when the buffer shouldn't be wiped, and may 48694 be set for buffers that are in-use but not actually closing 48695 (Sean Dewar). 48696 48697 Patch 9.1.1362 48698 Problem: Vim9: type ignored when adding tuple to instance list var 48699 (Lifepillar) 48700 Solution: When getting the typval of class and object member variables, 48701 set the variable type (Yegappan Lakshmanan). 48702 48703 Patch 9.1.1363 48704 Problem: style: inconsistent indentation in various files 48705 Solution: Fix style, updated codestyle test (Naruhiko Nishino). 48706 48707 Patch 9.1.1364 48708 Problem: style: more indentation issues 48709 Solution: Fix indentation style (Yegappan Lakshmanan). 48710 48711 Patch 9.1.1365 48712 Problem: MS-Windows: compile warnings and too many strlen() calls in 48713 os_mswin.c 48714 Solution: Refactor os_mswin.c and fix the warning (John Marriott). 48715 48716 Patch 9.1.1366 48717 Problem: v9.1.1364 unintentionally changed sign.c and sound.c 48718 Solution: Revert those parts, adjust the test (Hirohito Higashi). 48719 48720 Patch 9.1.1367 48721 Problem: too many strlen() calls in gui.c 48722 Solution: Refactor gui.c slightly (John Marriott). 48723 48724 Patch 9.1.1368 48725 Problem: GTK3 and GTK4 will drop numeric cursor support. 48726 Solution: Adopt GTK3 code and use CSS cursor convention (Drew Vogel). 48727 48728 Patch 9.1.1369 48729 Problem: configure still using autoconf 2.71 48730 Solution: Regenerate with autoconf 2.72. 48731 48732 Patch 9.1.1370 48733 Problem: CI Tests favor GTK2 over GTK3 48734 Solution: Install GTK3 dependencies and debug packages for CI workflows, 48735 update ASAN suppression list, update required dependency 48736 checks for the tests (Drew Vogel). 48737 48738 Patch 9.1.1371 48739 Problem: style: indentation issue in insexpand.c 48740 Solution: Update style (glepnir). 48741 48742 Patch 9.1.1372 48743 Problem: style: braces issues in various files 48744 Solution: Fix style (Hirohito Higashi). 48745 48746 Patch 9.1.1373 48747 Problem: Flag checking logic uses a temporary variable and multiple 48748 bitwise operations in insexpand.c 48749 Solution: Consolidate into a single equality check using bitwise OR and 48750 comparison (glepnir). 48751 48752 Patch 9.1.1374 48753 Problem: Currently, 'smartcase' is respected when completing keywords 48754 using <C-N>, <C-P>, <C-X><C-N>, and <C-X><C-P>. However, when 48755 a user continues typing and the completion menu is filtered 48756 using cached matches, 'smartcase' is not applied. This leads 48757 to poor-quality or irrelevant completion suggestions, as shown 48758 in the example below. 48759 Solution: When filtering cached completion items after typing additional 48760 characters, apply case-sensitive comparison if 'smartcase' is 48761 enabled and the typed pattern includes uppercase characters. 48762 This ensures consistent and expected completion behavior 48763 (Girish Palya). 48764 48765 Patch 9.1.1375 48766 Problem: heap use-after-free possible when autocommands switch away from the 48767 quickfix dummy buffer, but leave it open in a window. 48768 Solution: Close its windows first before attempting the wipe (Sean Dewar). 48769 48770 Patch 9.1.1376 48771 Problem: when failing to wipeout a quickfix dummy buffer, it will 48772 remain as a dummy buffer, despite being kept. 48773 Solution: Clear its dummy BF_DUMMY flag in this case (Sean Dewar). 48774 48775 Patch 9.1.1377 48776 Problem: Some GTK3 users experienced unexpectedly small windows at 48777 startup (after v9.1.1368, @berggeist, Tony Mechelynck) 48778 Solution: Update window manager hints in gui_mch_open, partly revert 48779 v9.1.1370 (Drew Vogel). 48780 48781 Patch 9.1.1378 48782 Problem: When 'signcolumn' is set to `number` but a line has a sign 48783 without text, the line number disappears (finite-state-machine) 48784 Solution: Verify that a sign actually contains text before rendering the 48785 line number (glepnir). 48786 48787 Patch 9.1.1379 48788 Problem: MS-Windows: error when running evim when space in path of Vim 48789 Solution: Properly parse quoted strings (Miguel Barro) 48790 48791 Patch 9.1.1380 48792 Problem: When an autocommand executes for a non-current buffer, 48793 'eventignorewin' is only checked from the buffer's last 48794 wininfo (overwrites win_ignore in the loop), not from the 48795 value of 'eventignorewin' in all windows showing the buffer as 48796 described (after v9.1.1084) 48797 Solution: Fix the check and don't use wininfo, as that may only contain 48798 windows that recently showed the buffer. Consider all the 48799 buffer's windows in all tabpages (Sean Dewar). 48800 48801 Patch 9.1.1381 48802 Problem: Cannot return to the original text after selecting the next 48803 item when the currently selected item is the last one. 48804 Solution: When continuing to move down past the last item, locate the 48805 original completion at the head/tail nodes of the completed 48806 linked list (glepnir). 48807 48808 Patch 9.1.1382 48809 Problem: if_ruby: unused compiler warnings from ruby internals 48810 Solution: disable -Wunused-parameter for if_ruby internal code (Philip H.). 48811 48812 Patch 9.1.1383 48813 Problem: When a space character is used as a trigger in 'isexpand' option 48814 it doesn't get recognized because skip_to_option_part() skips 48815 spaces after a comma, treating them as option separators 48816 rather than option value (after v9.1.1341) 48817 Solution: Manually set the part to a space character (glepnir). 48818 48819 Patch 9.1.1384 48820 Problem: still some problem with the new tutors filetype plugin 48821 Solution: Refactor code to enable/disable tutor mode into 48822 tutor#EnableInteractive() function, include a test 48823 (Phạm Bình An). 48824 48825 Patch 9.1.1385 48826 Problem: Loop that ensures "w_skipcol" is zero with 'nosmoothscroll' 48827 for (half)-page scrolling is inefficient. 48828 Solution: Calculate the required "count" instead of looping until 48829 "w_skipcol" is zero (Luuk van Baal). 48830 48831 Patch 9.1.1386 48832 Problem: MS-Windows: some minor problems building on AARCH64 48833 Solution: Update Make_cyg_ming with aarch64 specific changes, 48834 document how to build on aarch64 using msys2 packages. 48835 48836 Patch 9.1.1387 48837 Problem: buflist_new() leaks ffname and fails to reuse curbuf when 48838 autocommands from buf_freeall change curbuf. Plus, a new 48839 buffer is not allocated in this case, despite what the comment 48840 above claims. 48841 Solution: Remove the condition so ffname is not leaked and so a new 48842 buffer is allocated like before v8.2.4791. It should not be 48843 possible for undo_ftplugin or buf_freeall autocommands to 48844 delete the buffer as they set b_locked, but to stay consistent 48845 with other uses of buf_freeall, guard against that anyway 48846 (Sean Dewar). 48847 48848 Patch 9.1.1388 48849 Problem: One-off error in "count" to make "w_skipcol" zero with 48850 'nosmoothscroll' page scrolling when last virtual line 48851 in a buffer line is exactly the entire window width 48852 (Hirohito Higashi). 48853 Solution: Properly compute the smallest integer value necessary 48854 to make "w_skipcol" zero (Luuk van Baal). 48855 48856 Patch 9.1.1389 48857 Problem: Cannot get completion startcol when space is not the first 48858 trigger character (after v9.1.1383) 48859 Solution: Detect the next comma followed by a space in the option string 48860 and use in next compare loop (glepnir). 48861 48862 Patch 9.1.1390 48863 Problem: style: more wrong indentation 48864 Solution: reformat a few more places (Yegappan Lakshmanan). 48865 48866 Patch 9.1.1391 48867 Problem: Vim does not have a tabpanel 48868 Solution: Include the tabpanel feature (Naruhiko Nishino, thinca). 48869 48870 Patch 9.1.1392 48871 Problem: missing Patch number (Tony Mechelynck) 48872 Solution: add missing Patche number. 48873 48874 Patch 9.1.1393 48875 Problem: The check in buf_freeall that restores curwin subtly prevents 48876 leaving an unloaded buffer in a window when reusing curbuf, if 48877 autocommands switch to a different buffer. 48878 Solution: Add a test case that covers this. Also ensure splitting isn't 48879 possible, as that could do the same (Sean Dewar). 48880 48881 Patch 9.1.1394 48882 Problem: tabpanel not correctly redrawn on tabonly 48883 (Maxim Kim, after v9.1.1391) 48884 Solution: Force redraw of the tabpanel, tweak style (Hirohito Higashi). 48885 48886 Patch 9.1.1395 48887 Problem: Search_stat not reset when pattern differs in case 48888 (tahzibijafar) 48889 Solution: Use STRNCMP instead of MB_STRNICMP macro. 48890 48891 Patch 9.1.1396 48892 Problem: The 'grepformat' option is global option, but it would be 48893 useful to have it buffer-local, similar to 'errorformat' and 48894 other quickfix related options (Dani Dickstein) 48895 Solution: Add the necessary code to support global-local 'grepformat', 48896 allowing different buffers to parse different grep output 48897 formats (glepnir). 48898 48899 Patch 9.1.1397 48900 Problem: tabpanel not correctly updated on :tabonly (Maxim Kim) 48901 Solution: Force a redraw, take 'equalalways' into account (Naruhiko Nishino). 48902 48903 Patch 9.1.1398 48904 Problem: When items are combined with user-defined highlight attributes 48905 (e.g., strikethrough), trunc inherits these attributes, making 48906 the text difficult to read. 48907 Solution: Trunc now uses the original Pmenu and PmenuSel highlight 48908 attributes (glepnir). 48909 48910 Patch 9.1.1399 48911 Problem: tests: test_codestyle fails for auto-generated files. 48912 While those files are already ignored in Test_source_Files(), 48913 the newly added Test_indent_of_source_files() does not filter 48914 those out and causes test failures on appveyor. 48915 Solution: Factor out the generation of all c files into a common function 48916 and filter out auto-generated files if_ole.h, iid_ole.c and 48917 dlldata.c 48918 48919 Patch 9.1.1400 48920 Problem: [security]: use-after-free when evaluating tuple fails 48921 Solution: Return early in case of an error (Yegappan Lakshmanan). 48922 48923 Patch 9.1.1401 48924 Problem: list not materialized in prop_list() (Nickwiz) 48925 Solution: Materialize list before accessing it. 48926 48927 Patch 9.1.1402 48928 Problem: multi-byte mappings not properly stored in session file 48929 Solution: Unescape the mapping before writing out the mapping, prefer 48930 single-byte mapping name if possible (Miguel Barro). 48931 48932 Patch 9.1.1403 48933 Problem: expansion of 'tabpanelopt' value adds wrong values 48934 (Shane-XB-Qian, after v9.1.1391). 48935 Solution: Update tabpanelopt expansion function and expand only valid 48936 values (Hirohito Higashi). 48937 48938 Patch 9.1.1404 48939 Problem: wrong link to Chapter 2 in vim-01-beginner.tutor 48940 Solution: Fix the link to Chapter 2, add test for links in tutor files 48941 (Phạm Bình An). 48942 48943 Patch 9.1.1405 48944 Problem: tests: no test for mapping with special keys in session file. 48945 Solution: Add a special keys to an existing test. Also test with UTF-8 48946 characters containing 0x80 or 0x9b bytes (zeertzjq). 48947 48948 Patch 9.1.1406 48949 Problem: crash when importing invalid tuple (Yang LUO, Yanju Chen) 48950 Solution: Set type to VAR_UNKNOWN, so that it isn't freed 48951 (Yegappan Lakshmanan). 48952 48953 Patch 9.1.1407 48954 Problem: Can't use getpos('v') in OptionSet when using setbufvar(). 48955 Solution: Don't reset Visual selection when switching to the same 48956 buffer (zeertzjq). 48957 48958 Patch 9.1.1408 48959 Problem: not easily possible to complete from register content 48960 Solution: Add register-completion submode using i_CTRL-X_CTRL-R 48961 (glepnir). 48962 48963 Patch 9.1.1409 48964 Problem: using f-flag in 'complete' conflicts with Neovims filename 48965 completion (glepnir, after v9.1.1301). 48966 Solution: Use upper-case "F" flag for completion functions (Girish Palya). 48967 48968 Patch 9.1.1410 48969 Problem: out-of-bounds access with 'completefunc' (csetc) 48970 Solution: Check if it is safe to advance cpt_sources_index (Girish Palya). 48971 48972 Patch 9.1.1411 48973 Problem: crash when calling non-existing function for tabpanel (Yamagi, 48974 after v9.1.1391) 48975 Solution: Check if there was an error and if there was, set tabpanel 48976 option to empty to prevent showing errors on every redraw. 48977 48978 Patch 9.1.1412 48979 Problem: tests: Test_tabpanel_tabonly() fails on larger screens 48980 Solution: Re-generate screendump file for 78 column large terminal. 48981 48982 Patch 9.1.1413 48983 Problem: spurious CursorHold triggered in GUI on startup 48984 Solution: Init global did_cursorhold flag to true (Gary Johnson). 48985 48986 Patch 9.1.1414 48987 Problem: MS-Windows: compile warnings in os_win32.c 48988 Solution: Update function declarations, correctly access param arg in 48989 set_flag() using (sig_atomic_t) cast (John Marriott). 48990 48991 Patch 9.1.1415 48992 Problem: potential use-after free when there is an error in 'tabpanel' 48993 option (@char101, after v9.1.1391) 48994 Solution: Check if p_tpl has been set to null before accessing it again. 48995 48996 Patch 9.1.1416 48997 Problem: completion limits not respected when using fuzzy completion 48998 (Maxim Kim) 48999 Solution: Trim completion array (Girish Palya). 49000 49001 Patch 9.1.1417 49002 Problem: missing info about register completion in complete_info() 49003 (after v9.1.1408) 49004 Solution: update documentation and mention that register is used as 49005 source, add a test (glepnir). 49006 49007 Patch 9.1.1418 49008 Problem: configures GUI auto detection favors GTK2 49009 Solution: make configure favor GTK3 over GTK2 for the GUI 49010 when auto detecting the gui toolkit (Drew Vogel). 49011 49012 Patch 9.1.1419 49013 Problem: It is difficult to ignore all but some events. 49014 Solution: Add support for a "-" prefix syntax in '(win)eventignore' that 49015 subtracts an event from the ignored set if present (Luuk van Baal). 49016 49017 Patch 9.1.1420 49018 Problem: tests: could need some more tests for shebang lines 49019 Solution: Add more shebang patterns to test_filetype.vim (Eisuke Kawashima). 49020 49021 Patch 9.1.1421 49022 Problem: tests: need a test for the new-style tutor.tutor, Patch 49023 9.1.1384 broke the expected positions for the signs 49024 Solution: Update all number keys in tutor.tutor.json to match the 49025 correct line numbers in tutor.tutor, replace tabs by spaces, 49026 add a screen-dump test to verify it does not regress (Pham Bình An). 49027 49028 Patch 9.1.1422 49029 Problem: scheduling of complete function can be improved 49030 Solution: Call user completion functions earlier when just determining 49031 the insertion column (Girish Palya). 49032 49033 Patch 9.1.1423 49034 Problem: :tag command not working correctly using Vim9 Script 49035 Solution: Inject a ':' before the numeric address, to make the command 49036 valid in Vim9 context 49037 49038 Patch 9.1.1424 49039 Problem: PMenu selection broken with multi-line selection and limits 49040 (Maxim Kim) 49041 Solution: Update completion match index when limiting the completion 49042 sources (Girish Palya). 49043 49044 Patch 9.1.1425 49045 Problem: tabpanel: there are still some problems with the tabpanel with 49046 column handling 49047 Solution: Fix the problems and refactor Tabpanel feature (Hirohito Higashi). 49048 49049 Patch 9.1.1426 49050 Problem: CTRL-X CTRL-R only completes individual words from registers, 49051 making it difficult to insert complete register content. 49052 Solution: Add consecutive CTRL-X CTRL-R support - first press completes 49053 words, second press completes full register lines, similar to 49054 CTRL-X CTRL-L and CTRL-X CTRL-P behavior (glepnir). 49055 49056 Patch 9.1.1427 49057 Problem: rendering artifacts with the tabpanel (char101) 49058 Solution: Prevent double redraw, use Columns instead of frame width 49059 (Hirohito Higashi) 49060 49061 Patch 9.1.1428 49062 Problem: Completion: register completion needs cleanup 49063 Solution: Slightly refactor get_register_completion() (glepnir). 49064 49065 Patch 9.1.1429 49066 Problem: dragging outside the tabpanel changes tabpagenr (char101) 49067 Solution: Set in_tab_line and in_tabpanel variables (Hirohito Higashi). 49068 49069 Patch 9.1.1430 49070 Problem: tabpanel may flicker in the GUI 49071 Solution: Call scroll_start() and scroll_region_reset() (Hirohito Higashi). 49072 49073 Patch 9.1.1431 49074 Problem: Hit-Enter Prompt when loading session files 49075 Solution: Use set+= for 'shortmess' to keep the existing flags (Miguel Barro). 49076 49077 Patch 9.1.1432 49078 Problem: GTK GUI: Buffer menu does not handle unicode correctly 49079 Solution: Get rid of the BMHash() function (SUN Haitao). 49080 49081 Patch 9.1.1433 49082 Problem: Unnecessary :if in session where both branches have the same 49083 effect (after 9.1.1431). 49084 Solution: Remove the superfluous :if (zeertzjq). 49085 49086 Patch 9.1.1434 49087 Problem: MS-Windows: missing out-of-memory checks in os_win32.c 49088 Solution: Add out-of-memory checks to os_win32.c (John Marriott). 49089 49090 Patch 9.1.1435 49091 Problem: completion: various flaws in fuzzy completion 49092 Solution: Fix the issues (Girish Palya). 49093 49094 Patch 9.1.1436 49095 Problem: GUI control code is displayed on the console on startup 49096 Solution: Check if Vim is starting up (Hirohito Higashi). 49097 49098 Patch 9.1.1437 49099 Problem: MS-Windows: internal compile error in uc_list() with VS 17.14 49100 (ibear) 49101 Solution: Refactor code slightly (Mike Williams). 49102 49103 Patch 9.1.1438 49104 Problem: tests: Test_breakindent_list_split() fails (Phạm Bình An) 49105 Solution: Always reset "&columns" and "&lines" for GUI builds 49106 (Aliaksei Budavei). 49107 49108 Patch 9.1.1439 49109 Problem: Last diff folds not merged (after v8.1.1922) 49110 Solution: Loop over all windows in the current tabpage and update all 49111 folds (Gary Johnson). 49112 49113 Patch 9.1.1440 49114 Problem: too many strlen() calls in os_win32.c 49115 Solution: Refactor code and remove calls to strlen() (John Marriott). 49116 49117 Patch 9.1.1441 49118 Problem: completion: code can be improved 49119 Solution: Remove reposition_match() and use mergesort_list(), 49120 for fuzzy completion, sort by fuzzy score immediately after 49121 setting a new leader (Girish Palya). 49122 49123 Patch 9.1.1442 49124 Problem: tests: Test_diff_fold_redraw() is insufficient 49125 (after v9.1.1439, Christ van Willegen) 49126 Solution: Improve the test (Gary Johnson). 49127 49128 Patch 9.1.1443 49129 Problem: potential buffer underflow in insertchar() 49130 Solution: Verify that end_len is larger than zero (jinyaoguo). 49131 49132 Patch 9.1.1444 49133 Problem: Unused assignment in set_fuzzy_score() (after 9.1.1441). 49134 Solution: Remove it (zeertzjq). 49135 49136 Patch 9.1.1445 49137 Problem: negative matchfuzzy scores although there is a match (Maxim Kim). 49138 Solution: Reset the score if a match has been found but the score is 49139 negative (Girish Palya). 49140 49141 Patch 9.1.1446 49142 Problem: filetype: cuda-gdb config files are not recognized 49143 Solution: Detect .cuda-gdbinit and cuda-gdbinit files as gdb filetype 49144 (Wu Zhenyu). 49145 49146 Patch 9.1.1447 49147 Problem: completion: crash when backspacing with fuzzy completion 49148 Solution: Don't dereference compl_first_match when it's NULL (zeertzjq). 49149 49150 Patch 9.1.1448 49151 Problem: tabpanel is not displayed correctly when msg_scrolled 49152 Solution: Remove the msg_scrolled condition (Hirohito Higashi). 49153 49154 Patch 9.1.1449 49155 Problem: typo in pum_display() 49156 Solution: Update the comment, remove empty new lines (glepnir) 49157 49158 Patch 9.1.1450 49159 Problem: Session has wrong arglist with :tcd and :arglocal. 49160 Solution: Also use absolute path for :argadd when there is tabpage-local 49161 directory (zeertzjq). 49162 49163 Patch 9.1.1451 49164 Problem: tabpanel rendering artifacts when scrolling 49165 Solution: Update scrolling logic (Hirohito Higashi). 49166 49167 Patch 9.1.1452 49168 Problem: completion: redundant check for completion flags 49169 Solution: Refactor code slightly (glepnir). 49170 49171 Patch 9.1.1453 49172 Problem: tests: Test_geometry() may fail (Gary Johnson) 49173 Solution: Allow a slightly smaller value when checking the number of 49174 lines. 49175 49176 Patch 9.1.1454 49177 Problem: Missing test case for pum display on a wrapped line. 49178 Solution: Add a test case to cover pum behavior at line break positions 49179 (glepnir). 49180 49181 Patch 9.1.1455 49182 Problem: Haiku: dailog objects created with no reference 49183 Solution: Delete the objects before returning (jinyaoguo) 49184 49185 Patch 9.1.1456 49186 Problem: comment plugin fails toggling if 'cms' contains \ 49187 Solution: Escape backslash (Maxim Kim). 49188 49189 Patch 9.1.1457 49190 Problem: compile warning with tabpanelopt 49191 Solution: Declare arg as UNUSED (John Marriott). 49192 49193 Patch 9.1.1458 49194 Problem: tabpanel: tabs not properly updated with 'stpl' 49195 Solution: remember the Column offset per tabpage (Hirohito Higashi). 49196 49197 Patch 9.1.1459 49198 Problem: xxd prints color escape sequences for every octet 49199 even if the color doesn't change 49200 Solution: use separate arrays for colors and text and only 49201 print escape sequences when the color changes (Emanuel Krollmann). 49202 49203 Patch 9.1.1460 49204 Problem: MS-Windows: too many strlen() calls in os_win32.c 49205 Solution: Refactor code and remove calls to strlen() and wcscat() 49206 (John Marriott). 49207 49208 Patch 9.1.1461 49209 Problem: tabpanel: tabpanel vanishes with popup menu 49210 Solution: Remove pum-related test in tabpanel_leftcol(), refactor a few 49211 related functions (Hirohito Higashi). 49212 49213 Patch 9.1.1462 49214 Problem: missing change from Patch v9.1.1461 49215 Solution: Change wrong TPL_LCOL macro in a few more places. 49216 49217 Patch 9.1.1463 49218 Problem: Integer overflow in getmarklist() after linewise operation. 49219 Solution: Don't add 1 to MAXCOL (zeertzjq). 49220 49221 Patch 9.1.1464 49222 Problem: gv does not work in operator-pending mode (liushapku) 49223 Solution: remove the check for checkclearop in nv_gv_cmd() (phanium). 49224 49225 Patch 9.1.1465 49226 Problem: tabpanel: not correctly drawn with 'equalalways' 49227 Solution: Call win_equal() (Hirohito Higashi). 49228 49229 Patch 9.1.1466 49230 Problem: filetype: not all lex files are recognized 49231 Solution: Detect *.ll as lex, llvm or lifelines filetype, depending on 49232 the content (Eisuke Kawashima). 49233 49234 Patch 9.1.1467 49235 Problem: too many strlen() calls 49236 Solution: Change expand_env() to return string length (John Marriott). 49237 49238 Patch 9.1.1468 49239 Problem: filetype: bright(er)script files are not recognized 49240 Solution: Detect *.bs files as brighterscript filetype and *.brs as 49241 brightscript filetype, include filetype plugins (Riley Bruins). 49242 49243 Patch 9.1.1469 49244 Problem: potential buffer-underflow with invalid hl_id (mugitya03) 49245 Solution: Assert that the return-code of syn_get_final_id() if > 0 49246 49247 Patch 9.1.1470 49248 Problem: use-after-free with popup callback on error 49249 (Brian Carbone, lifepillar) 49250 Solution: Check if the popup window is valid before accessing it. 49251 49252 Patch 9.1.1471 49253 Problem: completion: inconsistent ordering with CTRL-P (zeertzjq). 49254 Solution: Reset compl_curr_match when using CTRL-P (Girish Palya). 49255 49256 Patch 9.1.1472 49257 Problem: if_python: PySequence_Fast_{GET_SIZE,GET_ITEM} removed with 49258 python3.14 in stable ABI 49259 Solution: use PySequence_{Size,GetItem} instead (Zdenek Dohnal) 49260 49261 Patch 9.1.1473 49262 Problem: inconsistent range arg for :diffget/diffput 49263 Solution: Fix the range specification, place the cursor for :diffput and 49264 :diffget consistently on the last line (Yee Cheng Chin) 49265 49266 Patch 9.1.1474 49267 Problem: missing out-of-memory check in mark.c 49268 Solution: bail out, if mark_line() returns NULL (John Marriott). 49269 49270 Patch 9.1.1475 49271 Problem: completion: regression when "nearest" in 'completeopt' 49272 Solution: Fix compare function (Girish Palya). 49273 49274 Patch 9.1.1476 49275 Problem: missing out-of-memory checks in cmdexpand.c 49276 Solution: Add missing out-of-memory checks, re-order code (John Marriott). 49277 49278 Patch 9.1.1476 49279 Problem: no easy way to deduplicate text 49280 Solution: Add the :uniq ex command (Hirohito Higashi). 49281 49282 Patch 9.1.1478 49283 Problem: Unused assignment in ex_uniq() (after v9.1.1476) 49284 Solution: Remove the assignment and the wrong comments above (zeertzjq). 49285 49286 Patch 9.1.1479 49287 Problem: regression when displaying localized percentage position 49288 (after v9.1.1291) 49289 Solution: Calculate percentage first (Emir SARI). 49290 49291 Patch 9.1.1480 49292 Problem: Turkish translation outdated 49293 Solution: Update Turkish translations, enable disabled test from v9.1.1479 49294 (Emir SARI). 49295 49296 Patch 9.1.1481 49297 Problem: gcc complains about uninitialized variable 49298 (Tony Mechelynck, after v9.1.1476) 49299 Solution: Initialize variable. 49300 49301 Patch 9.1.1482 49302 Problem: Topline is preemptively updated by line() in WinResized 49303 autocmd with 'splitkeep' != "cursor". 49304 Solution: Set `skip_update_topline` when 'splitkeep' != "cursor" (Luuk van Baal) 49305 49306 Patch 9.1.1483 49307 Problem: not possible to translation position in buffer 49308 Solution: use _() macro to mark the output as translatable (Emir SARI) 49309 49310 Patch 9.1.1484 49311 Problem: tests: Turkish locale tests fails on Mac (after v9.1.1480). 49312 Solution: Skip the test Test_pos_percentage_in_turkish_locale() on Mac 49313 49314 Patch 9.1.1485 49315 Problem: missing Wayland clipboard support 49316 Solution: Make it work (Foxe Chen). 49317 49318 Patch 9.1.1486 49319 Problem: documentation issues with Wayland (after v9.1.1485) 49320 Solution: Tweak documentation style. Capitalize the first letter of 49321 Wayland (Hirohito Higashi). 49322 49323 Patch 9.1.1487 49324 Problem: :cl doesn't invoke :clist (after v9.1.1485) 49325 Solution: Fix order of definition in ex_cmds.h (Hirohito Higashi). 49326 49327 Patch 9.1.1488 49328 Problem: configure: using obsolete macro AC_PROG_GCC_TRADITIONAL 49329 Solution: Drop it from configure.ac, regenerate auto/configure. 49330 49331 Patch 9.1.1489 49332 Problem: terminal: no visual highlight of empty cols when 'listchars' 49333 is empty (Yousef Mohammed) 49334 Solution: Reset wlv.win_attr when column is zero and we are drawing a 49335 terminal buffer. 49336 49337 Patch 9.1.1490 49338 Problem: 'wildchar' does not work in search contexts 49339 Solution: implement search completion when 'wildchar' is typed (Girish Palya). 49340 49341 Patch 9.1.1491 49342 Problem: missing out-of-memory checks in cmdexpand.c 49343 Solution: Add out-of-memory checks for expand_files_and_dirs(), 49344 ExpandUserDefined() and ExpandUserList() (John Marriott). 49345 49346 Patch 9.1.1492 49347 Problem: tests: failure when Wayland compositor fails to start 49348 Solution: Instead of throwing an error causing a failure, throw 49349 "Skipped", so that the Vim test suite continues and does not fail. 49350 49351 Patch 9.1.1493 49352 Problem: manually comparing positions on buffer (after v9.1.1490) 49353 Solution: Use the LTOREQ_POS() macro, fix a few other minor style issues 49354 (glepnir). 49355 49356 Patch 9.1.1494 49357 Problem: runtime(tutor): no French translation for Chapter 2 49358 Solution: Add and refine French translation of tutor2, update French 49359 vimtutor manpage (Damien Lejay) 49360 49361 Patch 9.1.1495 49362 Problem: Wayland: uses $XDG_SEAT to determine seat to use 49363 (dr0bz, after v9.1.1485) 49364 Solution: Do not try to determine the seat from $XDG_SEAT, remove the 49365 code that checks for this environment variable (Foxe Chen). 49366 49367 Patch 9.1.1496 49368 Problem: terminal: still not highlighting empty cells correctly 49369 (Yousef Mohammed, after v9.1.1489) 49370 Solution: Use vcol instead of col. 49371 49372 Patch 9.1.1497 49373 Problem: Link error with shm_open() (gcanat, after v9.1.1485). 49374 Solution: use AC_LINK_IFELSE instead of AC_COMPILE_IFELSE. 49375 49376 Patch 9.1.1498 49377 Problem: completion: Functions specified in the 'complete' option did 49378 not have the leader string removed when called with findstart = 0, 49379 unlike 'omnifunc' behavior 49380 Solution: Update behaviour and make behaviour consistent (Girish Palya). 49381 49382 Patch 9.1.1499 49383 Problem: MS-Windows: no indication of ARM64 architecture 49384 Solution: Add ARM64 to version output and include in nsis installer 49385 (RestorerZ) 49386 49387 Patch 9.1.1500 49388 Problem: if_python: typo in python error variable 49389 Solution: Fix typo (Damien Lejay). 49390 49391 Patch 9.1.1501 49392 Problem: filetype: flix files are not recognized 49393 Solution: Detect *.flix files as flix filetype (0xadk). 49394 49395 Patch 9.1.1502 49396 Problem: filetype: quickbms files are not recognized 49397 Solution: Detect *.bms files as quickbms filetype (0xadk). 49398 49399 Patch 9.1.1503 49400 Problem: filetype: haxe files are not recognized 49401 Solution: Detect *.hx files as haxe filetype (0xadk). 49402 49403 Patch 9.1.1504 49404 Problem: filetype: numbat files are not recognized 49405 Solution: Detect *.nbt files as numbat filetype (0xadk). 49406 49407 Patch 9.1.1505 49408 Problem: not possible to return command-line completion type for :ex 49409 command 49410 Solution: Make getcmdcompltype() accept an optional and return the 49411 command-line completion for that arg (Shougo Matsushita). 49412 49413 Patch 9.1.1506 49414 Problem: tests: missing cleanup test_override('char_avail', 0) in 49415 Test_search_cmdline_incsearch_highlight(). 49416 Solution: Add the missing cleanup (zeertzjq). 49417 49418 Patch 9.1.1507 49419 Problem: File paths change from symlink to target path after :cd command 49420 when editing files through symbolic links 49421 Solution: Add "~" flag to 'cpoptions' to control symlink resolution (glepnir). 49422 49423 Patch 9.1.1508 49424 Problem: String manipulation can be improved in cmdexpand.c 49425 Solution: Refactor cmdexpand.c to remove calls to STRLEN()/STRMOVE()/STRCAT() 49426 (John Marriott). 49427 49428 Patch 9.1.1509 49429 Problem: Patch 9.1.1505 was not good 49430 Solution: Revert "Patch 9.1.1505 for :ex command" and instead add the 49431 getcompletiontype() function (Hirohito Higashi). 49432 49433 Patch 9.1.1510 49434 Problem: Search completion may use invalid memory (after 9.1.1490). 49435 Solution: Don't get two line pointers at the same time (zeertzjq). 49436 49437 Patch 9.1.1511 49438 Problem: tests: two edit tests change v:testing from 1 to 0. 49439 Solution: Don't change v:testing in these two tests, since it's already 49440 set to 1 in runtest.vim (zeertzjq). 49441 49442 Patch 9.1.1512 49443 Problem: completion: can only complete from keyword characters 49444 Solution: Remove this restriction, allow completion functions when 49445 called from i_CTRL-N/i_CTRL-P to be triggered from non-keyword 49446 characters (Girish Palya). 49447 49448 Patch 9.1.1513 49449 Problem: resizing Vim window causes unexpected internal window width 49450 (chdiza, after v9.1.1465) 49451 Solution: Move the column calculation around (Hirohito Higashi). 49452 49453 Patch 9.1.1514 49454 Problem: coverity complains about the use of tmpfile() 49455 Solution: Use vim_tempname() instead to create anonym file. 49456 49457 Patch 9.1.1515 49458 Problem: memcpy() in ExpandRTDir_int() may create unterminated strings 49459 Solution: Use vim_snprintf() to construct complete paths safely (glepnir). 49460 49461 Patch 9.1.1516 49462 Problem: tests: no test that 'incsearch' is updated after accepting 49463 search completion. 49464 Solution: Add a test case (zeertzjq). 49465 49466 Patch 9.1.1517 49467 Problem: filetype: autopkgtest files are not recognized 49468 Solution: Detect */debian/tests/control files as autopkgtest filetype 49469 (James McCoy). 49470 49471 Patch 9.1.1518 49472 Problem: getcompletiontype() crashes when no completion is available 49473 (after v9.1.1509). 49474 Solution: Don't call set_expand_context() (zeertzjq). 49475 49476 Patch 9.1.1519 49477 Problem: Test_termdebug_decimal_breakpoints() fails with List index out 49478 of range, because when adding the second breakpoint, the 49479 cursor is still on the very first line 49480 Solution: Run the program, so that it will break at the very first 49481 defined breakpoint and then once we are in the program, 49482 set further breakpoints. 49483 49484 Patch 9.1.1520 49485 Problem: When using `/` or `?` in command-line mode with 'ignorecase' and 49486 'smartcase' enabled, the completion menu could show items that 49487 don't actually match any text in the buffer due to case mismatches 49488 Solution: Instead of validating menu items only against the user-typed 49489 pattern, the new logic also checks whether the completed item 49490 matches actual buffer content. If needed, it retries the match 49491 using a lowercased version of the candidate, respecting 49492 smartcase semantics. 49493 49494 Patch 9.1.1521 49495 Problem: When 'wildmode' is set to include "noselect", the popup menu (pum) 49496 incorrectly retained its scroll position when reopened. This 49497 meant that after scrolling down through the menu with `<C-n>`, 49498 reopening the menu (e.g., by retyping the command and 49499 triggering completion again) would show the menu starting from 49500 the previously scrolled position, rather than from the top. 49501 Solution: Ensure that the popup menu resets its scroll position to the 49502 top when reopened (Girish Palya). 49503 49504 Patch 9.1.1522 49505 Problem: tests: still some ANSI escape sequences in test messages output 49506 Solution: Update the cleanup regexp to also handle those ANSI escape 49507 sequences: `<esc>|2h` and `<esc>|31H`. 49508 49509 Patch 9.1.1523 49510 Problem: tests: test_clipmethod fails in non X11 environment 49511 Solution: Test that $DISPLAY is available 49512 49513 Patch 9.1.1524 49514 Problem: tests: too many imports in the test suite 49515 Solution: Clean up the imported scripts. 49516 49517 Patch 9.1.1525 49518 Problem: tests: testdir is a bit messy 49519 Solution: Move test scripts into testdir/util/ directory. 49520 49521 Patch 9.1.1526 49522 Problem: completion: search completion match may differ in case (techntools) 49523 Solution: Add "exacttext" to 'wildoptions' value (Girish Palya). 49524 49525 Patch 9.1.1527 49526 Problem: Vim9: Crash when using string compound assignment with wrong 49527 data type (lacygoill). 49528 Solution: Verify expected member type (Hirohito Higashi). 49529 49530 Patch 9.1.1528 49531 Problem: completion: crash with getcompletion() (zeertzjq) 49532 Solution: Don't set may_expand_pattern in f_getcompletion(), unset 49533 may_expand_pattern() once it is not longer needed (Girish Palya). 49534 49535 Patch 9.1.1529 49536 Problem: Win32: the toolbar in the GUI is old and dated 49537 Solution: Include improved icons from Fatcow (CC by 3.0) (RestorerZ). 49538 49539 Patch 9.1.1530 49540 Problem: Missing version change from v9.1.1529 49541 Solution: Update version.c with latest Patch. 49542 49543 Patch 9.1.1531 49544 Problem: confusing error with nested legacy function (lacygoill) 49545 Solution: Clarify error message E1117 with :def or :func (Hirohito Higashi). 49546 49547 Patch 9.1.1532 49548 Problem: termdebug: not enough ways to configure breakpoints 49549 Solution: Add the termdebug_config['signs'] config setting, rework the 49550 termdebug test cases (Dimitry Ishenko). 49551 49552 Patch 9.1.1533 49553 Problem: helptoc: does not handle code sections in markdown well (VimWei). 49554 Solution: Skip over fenced code sections (lacygoill), add a test. 49555 49556 Patch 9.1.1534 49557 Problem: unnecessary code in tabpanel.c 49558 Solution: Remove it (Hirohito Higashi). 49559 49560 Patch 9.1.1535 49561 Problem: The maximum search count uses a hard-coded value of 99 49562 (Andres Monge, Joschua Kesper) 49563 Solution: Make it configurable using the 'maxsearchcount' option. 49564 49565 Patch 9.1.1536 49566 Problem: tests: test_plugin_comment.vim uses :CheckScreenDump check but 49567 doesn't actually use a screen dump. 49568 Solution: Use :CheckRunVimInTerminal instead, remove a few empty lines. 49569 49570 Patch 9.1.1537 49571 Problem: helptoc: some issues when parsing markdown code blocks (VimWei) 49572 Solution: Assign nextline to curline before starting the next loop 49573 iteration; when processing fenced code blocks, flip the 49574 skip_fence variable, update the test to be more comprehensive. 49575 49576 Patch 9.1.1539 49577 Problem: completion: messages don't respect 'shm' setting 49578 Solution: Turn off completion messages when 'shortmess' includes "c" 49579 (Girish Palya). 49580 49581 Patch 9.1.1540 49582 Problem: completion: menu state wrong on interruption (Maxim Kim) 49583 Solution: Call show_pum() if completion was interrupted (Girish Palya). 49584 49585 Patch 9.1.1541 49586 Problem: Vim9: error when last enum value ends with a comma 49587 Solution: Allow trailing commas in enum values (Yegappan Lakshmanan). 49588 49589 Patch 9.1.1542 49590 Problem: Coverity complains about uninitialized variable (Tony Mechelynck) 49591 Solution: Initialize variables. 49592 49593 Patch 9.1.1543 49594 Problem: Wayland: clipboard appears to not be working (Fuad Veliev) 49595 Solution: Explicitly set selection each time (Foxe Chen). 49596 49597 Patch 9.1.1544 49598 Problem: :retab cannot be limited to indentation only 49599 Solution: add the optional -indentonly parameter (Hirohito Higashi). 49600 49601 Patch 9.1.1545 49602 Problem: Typo in os_unix.c 49603 Solution: Correct the typo (Foxe Chen). 49604 49605 Patch 9.1.1546 49606 Problem: Vim9: error with has() and short circuit evaluation 49607 Solution: Only eval, if ctx_skip is not SKIP_YES (Yegappan Lakshmanan). 49608 49609 Patch 9.1.1547 49610 Problem: Wayland: missing ifdef 49611 Solution: Add #ifdef around ch_log() call (Foxe Chen). 49612 49613 Patch 9.1.1548 49614 Problem: filetype: OpenFGA files are not recognized 49615 Solution: Detect *.fga files as fga filetype, include an fga filetype 49616 plugin (Riley Bruins). 49617 49618 Patch 9.1.1549 49619 Problem: filetype: pkl files are not recognized 49620 Solution: Detect *.pkl files as pkl filetype, include a filetype plugin (Riley 49621 Bruins). 49622 49623 Patch 9.1.1550 49624 Problem: defaults: 'showcmd' is not enabled in non-compatible mode on Unix 49625 Solution: Always enable 'showcmd' in non-compatible mode, drop it from 49626 defaults.vim. 49627 49628 Patch 9.1.1551 49629 Problem: [security]: path traversal issue in zip.vim (@ax) 49630 Solution: Drop leading ../ on write of zipfiles, don't forcefully 49631 overwrite existing files. 49632 49633 Patch 9.1.1552 49634 Problem: [security]: path traversal issue in tar.vim (@ax) 49635 Solution: Warn the user for such things, drop leading /, don't 49636 forcefully overwrite files when writing temporary files, 49637 refactor autoload/tar.vim 49638 49639 Patch 9.1.1553 49640 Problem: Vim9: crash when accessing a variable in if condition (lxhillwind) 49641 Solution: Skip indexing a list/tuple/dict/blob when short-circuiting an 49642 if condition check (Yegappan Lakshmanan). 49643 49644 Patch 9.1.1554 49645 Problem: Vim crashes during omnifunc completion inside the command-line 49646 window ("q:") if the completion item attempts to open an "info" 49647 preview window. This leads to a failed assert during execution. 49648 Solution: Avoid opening preview windows while inside the command-line 49649 window to prevent the crash (Girish Palya). 49650 49651 Patch 9.1.1555 49652 Problem: completion: repeated insertion and deletion of complete 49653 functions 49654 Solution: Remove unnecessary insertion and deletion of leader text 49655 during expansion of function present in 'complete' option 49656 (Girish Palya). 49657 49658 Patch 9.1.1556 49659 Problem: string handling in cmdexpand.c can be improved 49660 Solution: Improve string manipulation in cmdexpand.c (John Marriott). 49661 49662 Patch 9.1.1557 49663 Problem: not possible to anchor specific lines in difff mode 49664 Solution: Add support for the anchoring lines in diff mode using the 49665 'diffanchor' option (Yee Cheng Chin). 49666 49667 Patch 9.1.1558 49668 Problem: str2blob() treats NULL string and empty string differently 49669 Solution: Treats a NULL string the same as an empty string (zeertzjq). 49670 49671 Patch 9.1.1559 49672 Problem: tests: Test_popup_complete_info_01() fails when run alone. 49673 Solution: Set buffer-local competeopt+=noinsert and add missing cleanup 49674 in Test_popup_complete() (zeertzjq). 49675 49676 Patch 9.1.1560 49677 Problem: configure: uses $PKG_CONFIG before it is defined 49678 Solution: Define $PKG_CONFIG earlier in the script (Christoffer Aasted). 49679 49680 Patch 9.1.1561 49681 Problem: configure: wayland test can be improved 49682 Solution: Define $WAYLAND_CFLAGS, simplify the wayland tests 49683 (Christoffer Aasted). 49684 49685 Patch 9.1.1562 49686 Problem: close button "X" is visible in the non-GUI 'tabline', even 49687 when the mouse is disabled 49688 Solution: Only show the button when 'mouse' contains any of the flags 49689 "anvi" (Girish Palya). 49690 49691 Patch 9.1.1563 49692 Problem: The ruler disappears after typing the second character during 49693 insert mode completion, even when completion messages are 49694 suppressed ('shortmess' includes "c"). This makes the UI 49695 appear inconsistent. 49696 Solution: Ensure the ruler is restored during screen redraw when popup 49697 completion is active (Girish Palya). 49698 49699 Patch 9.1.1564 49700 Problem: Can open a popup window to a closing buffer, leading to the 49701 buffer remaining open in the window after it's soon unloaded, 49702 causing crashes. 49703 Solution: Check b_locked_split when opening a popup window to an 49704 existing buffer (Sean Dewar). 49705 49706 Patch 9.1.1565 49707 Problem: configure: does not consider tiny version for wayland 49708 Solution: Do not try to enable wayland for a tiny vim version 49709 (Christoffer Aasted). 49710 49711 Patch 9.1.1566 49712 Problem: self-referenced enum may not get freed 49713 Solution: Test if it can be freed (Yegappan Lakshmanan). 49714 49715 Patch 9.1.1567 49716 Problem: Crash when using inline diff mode (Ilya Grigoriev) 49717 Solution: Set tp_diffbuf to NULL when skipping a diff block (Yee Cheng Chin). 49718 49719 Patch 9.1.1568 49720 Problem: need a few more default highlight groups 49721 Solution: Add Bold, Italic and BoldItalic default highlight groups 49722 (Maxim Kim). 49723 49724 Patch 9.1.1569 49725 Problem: tests: Vim9 tests can be improved 49726 Solution: In Test_has_func_shortcircuit(), move the test functions to a 49727 separate script (Yegappan Lakshmanan). 49728 49729 Patch 9.1.1570 49730 Problem: Copilot suggested some improvements in cmdexpand.c (after v9.1.1556) 49731 Solution: Use better variable names and comments (John Marriott). 49732 49733 Patch 9.1.1571 49734 Problem: The CmdlineChanged event was firing unnecessarily, even when 49735 the command line's content hadn't actually changed. 49736 Solution: Add a check to compare the command-line buffer's state 49737 before and after key processing. The `CmdlineChanged` event 49738 now only triggers if the buffer's contents are genuinely 49739 different (Girish Palya). 49740 49741 Patch 9.1.1572 49742 Problem: expanding $var does not escape whitespace for 'path' 49743 Solution: Escape whitespace when expanding 'path' option. (Miguel Barro). 49744 49745 Patch 9.1.1573 49746 Problem: Memory leak when pressing Ctrl-D in cmdline mode (after 9.1.1571). 49747 Solution: Free prev_cmdbuff before assigning to it. (zeertzjq). 49748 49749 Patch 9.1.1574 49750 Problem: Dead code in mbyte.c 49751 Solution: Delete the dead wcwidth()/iswprint() code (Damien Lejay). 49752 49753 Patch 9.1.1575 49754 Problem: tabpanel not drawn correctly with wrapped lines 49755 (utubo, after v9.1.1534) 49756 Solution: Use Columns as width, not the frame width (Hirohito Higashi). 49757 49758 Patch 9.1.1576 49759 Problem: cannot easily trigger wildcard expansion 49760 Solution: Introduce wildtrigger() function (Girish Palya). 49761 49762 Patch 9.1.1577 49763 Problem: Vim9: no generic support yet 49764 Solution: Add support for generic functions, funcrefs and object/class 49765 methods (Yegappan Lakshmanan). 49766 49767 Patch 9.1.1578 49768 Problem: configure: comment still mentions autoconf 2.71 to generate 49769 the configure script 49770 Solution: Update the comment to use autoconf 2.72 instead (Yee Chin Cheng). 49771 49772 Patch 9.1.1579 49773 Problem: Coverity complains about unchecked return value in 49774 common_function() (after v9.1.1577) 49775 Solution: Check the return value of skip_generic_func_type_args() 49776 and return in case of an error (Yegappan Lakshmanan). 49777 49778 Patch 9.1.1580 49779 Problem: possible memory leak in vim9type.c 49780 Solution: Free tuple_types_ga if there was an error in 49781 type_type_add_types() (Lidong Yan) 49782 49783 Patch 9.1.1581 49784 Problem: possible memory leak in vim9generics.c 49785 Solution: Free ret_free if ga_grow() fails and before returning 49786 (Lidong Yan). 49787 49788 Patch 9.1.1582 49789 Problem: style issue in vim9type.c and vim9generics.c 49790 (after v9.1.1581 and v9.1.1580) 49791 Solution: Update Style and place opening brace on a new line. 49792 49793 Patch 9.1.1583 49794 Problem: Since Patch 9.1.1199 the gvim window no longer had _NET_WM_ICON 49795 nor WM_HINTS icon information, for example when not using a 49796 Gnome or KDE desktop (after v9.1.1199) 49797 Solution: Check if the icon theme as used in Patch 1199 contains a gvim 49798 icon. If so, set the window's icon from that. Otherwise 49799 use the previous method (Olaf Seibert) 49800 49801 Patch 9.1.1584 49802 Problem: using ints as bool 49803 Solution: Include stdbool.h and start using bool type directly 49804 (Hirohito Higashi). 49805 49806 Patch 9.1.1585 49807 Problem: Wayland: gvim still needs GVIM_ENABLE_WAYLAND 49808 Solution: Drop the GVIM_ENABLE_WAYLAND code, always enable both X11 and 49809 Wayland GUI support (Christoffer Aasted) 49810 49811 Patch 9.1.1586 49812 Problem: Vim9: can define an enum/interface in a function (lacygoill) 49813 Solution: Give an error when defining an enum or an interface inside a 49814 function (Yegappan Lakshmanan). 49815 49816 Patch 9.1.1587 49817 Problem: Wayland: timeout not updated before select() 49818 Solution: Always set timeval struct before select() (Foxe Chen). 49819 49820 Patch 9.1.1588 49821 Problem: Vim9: cannot split dict inside command block (lacygoill) 49822 Solution: Remove the current restriction (Yegappan Lakshmanan). 49823 49824 Patch 9.1.1589 49825 Problem: Cannot disable cscope interface using configure, because in 49826 feature.h FEAT_CSCOPE will always be enabled for huge builds 49827 (chdiza) 49828 Solution: Don't define FEAT_CSCOPE from configure script but set the 49829 ENABLE_CSCOPE flag and check for the presence of that flag in 49830 feature.h 49831 49832 Patch 9.1.1590 49833 Problem: cannot perform autocompletion 49834 Solution: Add the 'autocomplete' option value (Girish Palya) 49835 49836 Patch 9.1.1591 49837 Problem: VMS support can be improved 49838 Solution: Merge chagnes from Steven M. Schweda (Zoltan) 49839 49840 Patch 9.1.1592 49841 Problem: Vim9: crash with classes and garbage collection 49842 (Christian J. Robinson, after v9.1.1566) 49843 Solution: When getting the references to an object, make sure the object 49844 is valid (Yegappan Lakshmanan). 49845 49846 Patch 9.1.1593 49847 Problem: Confusing error when compiling incomplete try block (lacygoill) 49848 Solution: Give better error messages (Hirohito Higashi). 49849 49850 Patch 9.1.1594 49851 Problem: completion: search completion throws errors, wrong placement 49852 of pum menu with 'imi'=1 (berggeist) 49853 Solution: Fix those errors (Girish Palya). 49854 49855 Patch 9.1.1595 49856 Problem: Wayland: non-portable use of select() 49857 Solution: Correctly set the timeval struct (Foxe Chen). 49858 49859 Patch 9.1.1596 49860 Problem: tests: Test_search_wildmenu_iminsert() depends on help file 49861 (after 9.1.1594). 49862 Solution: Set buffer text using setline() instead of loading help file. 49863 Add a test for another bug fixed by 9.1.1594 (zeertzjq). 49864 49865 Patch 9.1.1597 49866 Problem: CI reports leaks in libgtk3 library 49867 Solution: Add libgtk-3 library to leak suppression 49868 49869 Patch 9.1.1598 49870 Problem: filetype: waybar config file is not recognized 49871 Solution: Detect */waybar/config file as jsonc filetype (Furkan Sahin). 49872 49873 Patch 9.1.1599 49874 Problem: :bnext doesn't go to unlisted help buffers when cycling 49875 through help buffers (after 9.1.0557). 49876 Solution: Don't check if a help buffer is listed (zeertzjq). 49877 49878 Patch 9.1.1600 49879 Problem: diff: using diff anchors with hidden buffers fails silently 49880 Solution: Give specific error message for diff anchors when using hidden 49881 buffers (Yee Cheng Chin). 49882 49883 Patch 9.1.1601 49884 Problem: Patch v8.1.0425 was wrong 49885 Solution: Revert that Patch (Hirohito Higashi). 49886 49887 Patch 9.1.1602 49888 Problem: filetype: requirements-*.txt files are not recognized 49889 Solution: Detect requirements-*.txt files as requirements filetype 49890 (Xudong Zheng). 49891 49892 Patch 9.1.1603 49893 Problem: completion: cannot use autoloaded funcs in 'complete' F{func} 49894 (Maxim Kim) 49895 Solution: Make it work (Girish Palya). 49896 49897 Patch 9.1.1604 49898 Problem: completion: incsearch highlight might be lost after search 49899 completion (Hirohito Higashi) 49900 Solution: Restore incsearch highlight after dismissing pum with Ctrl-E 49901 (Girish Palya). 49902 49903 Patch 9.1.1605 49904 Problem: Cannot specify scope for chdir() 49905 Solution: Add optional scope argument (kuuote). 49906 49907 Patch 9.1.1606 49908 Problem: filetype: a few more files are not recognized 49909 Solution: Guess Mail, Info and Terminfo files by its content (lacygoill). 49910 49911 Patch 9.1.1607 49912 Problem: :apple command detected as :append (dai475694450) 49913 Solution: Disallow to define a custom command with lower-case letter, 49914 correctly detect :insert/:change/:append ex commands 49915 (Hirohito Higashi). 49916 49917 Patch 9.1.1608 49918 Problem: No command-line completion for :unsilent {command}. 49919 Solution: Add missing command arg completion (Doug Kearns). 49920 49921 Patch 9.1.1609 49922 Problem: complete: Heap-buffer overflow with complete function (zeertzjq) 49923 Solution: Do not let startcol become negative (Girish Palya). 49924 49925 Patch 9.1.1610 49926 Problem: completion: hang (after 9.1.1471) or E684 (after 9.1.1410) 49927 when 'tagfunc' calls complete(). 49928 Solution: Check if complete() has been called immediately after getting 49929 matches instead of in the next loop iteration (zeertzjq). 49930 49931 Patch 9.1.1611 49932 Problem: possible undefined behaviour in mb_decompose(), when using the 49933 same pointer as argument several times 49934 Solution: Use separate assignments to avoid reading and writing the same 49935 object at the same time (Áron Hárnási). 49936 49937 Patch 9.1.1612 49938 Problem: Ctrl-G/Ctrl-T does not ignore the end search delimiter (irisjae) 49939 Solution: Check if the pattern ends with a search delimiter and ignore 49940 it, unless it is part of the pattern. 49941 49942 Patch 9.1.1613 49943 Problem: tests: test_search leaves a few swapfiles behind 49944 Solution: Use :bw! instead of :close to close the swapfile at the end of 49945 the test. 49946 49947 Patch 9.1.1614 49948 Problem: Vim9: possible variable type change when using closure in a 49949 for loop (Maxim Kim) 49950 Solution: Use unwind_locals(..., TRUE) (Yegappan Lakshmanan). 49951 49952 Patch 9.1.1615 49953 Problem: diff format erroneously detected (Tomáš Janoušek) 49954 Solution: Make the regex to detect normal diff format a bit stricter, 49955 while at it, fix wrong test content from Patch v9.1.1606. 49956 49957 Patch 9.1.1616 49958 Problem: xxd: possible buffer overflow with bitwise output 49959 (after v9.1.1459, Xudong Cao) 49960 Solution: Update LLNE_NO_COLOR macro definition for the max line output. 49961 49962 Patch 9.1.1617 49963 Problem: Vim9: some error messages can be improved 49964 Solution: Improve error messages when parsing generic function type 49965 arguments (Yegappan Lakshmanan). 49966 49967 Patch 9.1.1618 49968 Problem: completion: incorrect selected index returned from 49969 complete_info() 49970 Solution: Return the index into "items" and restore the previous 49971 behaviour (Robert Muir). 49972 49973 Patch 9.1.1619 49974 Problem: Incorrect E535 error message (after 9.1.1603). 49975 Solution: Don't use transchar(), as the character is always printable 49976 (zeertzjq). 49977 49978 Patch 9.1.1620 49979 Problem: filetype: composer.lock and symfony.lock files not recognized 49980 Solution: Detect composer.lock and symfony.lock files as json filetype 49981 (Dietrich Moerman). 49982 49983 Patch 9.1.1621 49984 Problem: When the popup menu (PUM) occupies more than half the screen 49985 height, it flickers whenever a character is typed or erased. 49986 Solution: A complete, non-hacky fix would require removing the 49987 CmdlineChanged event from the loop and letting autocompletion 49988 manage the process end-to-end. This is because screen redraws 49989 after any cmdline change are necessary for other features to 49990 work (Girish Palya). 49991 49992 Patch 9.1.1622 49993 Problem: Patch v9.1.1432 causes performance regressions 49994 Solution: Revert "Patch 9.1.1432 unicode correctly" (Yee Cheng Chin). 49995 49996 Patch 9.1.1623 49997 Problem: Buffer menu does not handle unicode names correctly 49998 (after v9.1.1622) 49999 Solution: Fix the BMHash() function (Yee Cheng Chin) 50000 50001 Patch 9.1.1624 50002 Problem: Cscope not enabled on MacOS 50003 Solution: Remove #ifdef test for MacOS and always enable FEAT_CSCOPE on 50004 Unix (Damien Lejay). 50005 50006 Patch 9.1.1625 50007 Problem: Autocompletion slow with include- and tag-completion 50008 Solution: Refactor ins_compl_interrupted() to also check for timeout, 50009 further refactor code to skip outputting message when 50010 performing autocompletion (Girish Palya). 50011 50012 Patch 9.1.1626 50013 Problem: C-indent does not handle compound literals (@44100hertz, @Jorenar) 50014 Solution: Detect and handle compound literal and structure 50015 initialization (Anttoni Erkkilä). 50016 50017 Patch 9.1.1627 50018 Problem: fuzzy-matching can be improved 50019 Solution: Implement a better fuzzy matching algorithm (Girish Palya). 50020 50021 Patch 9.1.1628 50022 Problem: fuzzy.c has a few issues 50023 Solution: Use Vims memory management, update style (glepnir). 50024 50025 Patch 9.1.1629 50026 Problem: Vim9: Not able to use more than 10 type arguments in a generic 50027 function 50028 Solution: Initialize the types after reading all the type arg variable 50029 names (Yegappan Lakshmanan). 50030 50031 Patch 9.1.1630 50032 Problem: tests: fuzzy buffer name completion test doesn't match 50033 successfully (after 9.1.1627). 50034 Solution: Update pattern to account for the change in case sensitivity. 50035 Also mark Test_search_stat_option() as flaky as it can still 50036 sometimes fail (zeertzjq). 50037 50038 Patch 9.1.1631 50039 Problem: proto files are outdated 50040 Solution: Regenerate proto files (Yegappan Lakshmanan). 50041 50042 Patch 9.1.1632 50043 Problem: memory leak in fuzzy.c 50044 Solution: Free fuzmatch, add a few minor refactors (glepnir) 50045 50046 Patch 9.1.1633 50047 Problem: Search pattern shown incorrectly with negative offset (lkintact) 50048 Solution: Don't prepend a '+' sign to a negative offset (zeertzjq). 50049 50050 Patch 9.1.1634 50051 Problem: Clipboard code can be improved 50052 Solution: Slightly refactor code (Foxe Chen). 50053 50054 Patch 9.1.1635 50055 Problem: tabpanel: cannot drag inactive tabs (char101) 50056 Solution: use end_visual_mode_keep_button() instead of end_visual_mode() 50057 (Naruhiko Nishino). 50058 50059 Patch 9.1.1636 50060 Problem: style issues 50061 Solution: Fix indentation of function parameters exceeding 80 character 50062 length (Yegappan Lakshmanan). 50063 50064 Patch 9.1.1637 50065 Problem: FEAT_DIFF used in diff.pro 50066 Solution: Remove it from the diff protocol file (Yegappan Lakshmanan). 50067 50068 Patch 9.1.1638 50069 Problem: completion: not possible to delay the autcompletion 50070 Solution: Add the 'autocompletedelay' option value (Girish Palya). 50071 50072 Patch 9.1.1639 50073 Problem: During commandline completiom, popup window placement can be 50074 incorrect when 'noselect' is present in 'wildmode' 50075 (Shane-XB-Qian) 50076 Solution: Disable "showtail" feature when 'noselect' is present. 50077 50078 Patch 9.1.1640 50079 Problem: Unicode has deprecated some code-points 50080 Solution: Update the digraph tables to align with the Unicode v16 50081 release (David Friant) 50082 50083 Patch 9.1.1641 50084 Problem: a few compiler warnings are output 50085 Solution: Fix compiler warnings (Yegappan Lakshmanan). 50086 50087 Patch 9.1.1642 50088 Problem: configure: wrong C99 feature test 50089 Solution: Update inverted C99 feature test logic (Damien Lejay). 50090 50091 Patch 9.1.1643 50092 Problem: tabpanel: mouse code too complicated 50093 Solution: Refactor code, adjust ifdefs (Hirohito Higashi). 50094 50095 Patch 9.1.1644 50096 Problem: configure: doesn't separate CPPFLAGS and CFLAGS 50097 Solution: Split CPPFLAGS and CFLAGS for pkg-config (Damien Lejay). 50098 50099 Patch 9.1.1645 50100 Problem: fuzzy.c can be further improved 50101 Solution: Fix memory leak and refactor it (glepnir). 50102 50103 Patch 9.1.1646 50104 Problem: MS-Windows: completion cannot handle implicit drive letters 50105 Solution: Consider paths like \folder and /folder as absolute (Miguel Barro). 50106 50107 Patch 9.1.1647 50108 Problem: filetype: Cangjie files are not recognized 50109 Solution: Detect *.cj files as cangjie filetype, include a syntax plugin 50110 (WuJunkai2004) 50111 50112 Patch 9.1.1648 50113 Problem: MS-Windows: some style issues with Patch v9.1.1646 50114 Solution: Fix typose and code style issues (zeertzjq). 50115 50116 Patch 9.1.1649 50117 Problem: attrs allocation and fuzzy growarray could leak on early returns 50118 Solution: Ensure proper cleanup of allocated memory on exit paths (glepnir). 50119 50120 Patch 9.1.1650 50121 Problem: After scrolling a popup and then using popup_settext() with 50122 fewer lines, the popup fails to resize properly because 50123 firstline points beyond the new buffer content (lifepillar) 50124 Solution: In popup_adjust_position(), validate that firstline doesn't 50125 exceed buffer line count and reset to 0 (auto-position) if it 50126 does (glepnir). 50127 50128 Patch 9.1.1651 50129 Problem: Cannot use clientserver over Unix domain socket 50130 Solution: Implement socketserver functionality (Foxe Chen). 50131 50132 Patch 9.1.1652 50133 Problem: Cannot determine non-X11/Wayland clipmethods 50134 Solution: Add the "gui" value to the 'clipmethod' option (Foxe Chen) 50135 50136 Patch 9.1.1653 50137 Problem: Coverity complains about Null pointer dereference (after v9.1.1643) 50138 Solution: Check that TabPageIdx is not Null. 50139 50140 Patch 9.1.1654 50141 Problem: build failure when FEAT_DIFF is not defined (John Marriott) 50142 Solution: Remove FEAT_DIFF in proto.h; define dummy type for 50143 diffline_T and diffline_change_T when FEAT_DIFF is not defined 50144 50145 Patch 9.1.1655 50146 Problem: Build-failure in do_mouse() (after v9.1.1653) 50147 Solution: Add missing closing paren. 50148 50149 Patch 9.1.1656 50150 Problem: MS-Windows: Patch v9.1.1652 breaks clipboard 50151 (ddad431, after v9.1.1652) 50152 Solution: Revert the Patch. 50153 50154 Patch 9.1.1657 50155 Problem: Autocompletion adds delay (gcanat, char101, after v9.1.1638) 50156 Solution: Temporarily disable autocomplation (Girish Palya). 50157 50158 Patch 9.1.1658 50159 Problem: Missing includes for Wayland headers, when subfolder is used 50160 (after v9.1.1644) 50161 Solution: Add new $WAYLAND_CPPFLAGS (Christoffer Aasted). 50162 50163 Patch 9.1.1659 50164 Problem: configure: uses AC_INIT without args 50165 Solution: Add a comment explaining why AC_INIT has no args (Damien Lejay). 50166 50167 Patch 9.1.1660 50168 Problem: Popups without border/padding/title don't flip position when 50169 cursor is near bottom of screen, while decorated popups do 50170 flip correctly. 50171 Solution: Use original height instead of truncated height for position 50172 inversion check, except for info popups to preserve existing 50173 behavior (glepnir). 50174 50175 Patch 9.1.1661 50176 Problem: Coverity finds a few issues in clientserver.c 50177 (also by Tony Mechelynck) 50178 Solution: Fix issues and warnings (Foxe Chen). 50179 50180 Patch 9.1.1662 50181 Problem: Issues with proto files: missing or inconsistent prototypes. 50182 Solution: Update ifdefs, move typedefs, fix prototype declaration 50183 (Hirohito Higashi). 50184 50185 Patch 9.1.1663 50186 Problem: xxd: 9.1.0023 introduced additional dependency 50187 Solution: Remove non-native z/OS library call (David Seal). 50188 50189 Patch 9.1.1664 50190 Problem: configure: can use any autocon 50191 Solution: Use AC_PREREQ and require 2.71 (Damien Lejay). 50192 50193 Patch 9.1.1665 50194 Problem: Outdated comment in eval.c. 50195 Solution: Remove the comment, which is no longer true after 8.2.1672. 50196 Also fix a typo in version9.txt (zeertzjq). 50197 50198 Patch 9.1.1666 50199 Problem: no support for terminal primary device attributes 50200 Solution: Add support for detecting the DA1 response from the terminal, 50201 add the v:termda1 variable and the 't_Ms' option for the 50202 OSC 52 command format (Foxe Chen). 50203 50204 Patch 9.1.1667 50205 Problem: Another outdated comment in eval.c (after 9.1.1665). 50206 Solution: Remove that comment as well. Add a few more tests for mapnew() 50207 that fail without Patch 8.2.1672 (zeertzjq). 50208 50209 Patch 9.1.1668 50210 Problem: items() does not work for Blobs 50211 Solution: Extend items() to support Blob (Yegappan Lakshmanan). 50212 50213 Patch 9.1.1669 50214 Problem: Vim script: no support for URI de-/encoding (ubaldot) 50215 Solution: Add the uri_encode() and uri_decode() functions 50216 (Yegappan Lakshmanan) 50217 50218 Patch 9.1.1670 50219 Problem: completion: autocomplete breaks second completion (gravndal) 50220 Solution: Fix the autocomplete bug (Girish Palya). 50221 50222 Patch 9.1.1671 50223 Problem: configure: missing comment about AC_CONFIG_SRCDIR 50224 Solution: Add comment explaining the use of AC_CONFIG_SRCDIR (Damien Lejay). 50225 50226 Patch 9.1.1672 50227 Problem: completion: cannot add timeouts for 'cpt' sources 50228 (Evgeni Chasnovski) 50229 Solution: Add the 'autocompletetimeout' and 'completetimeout' options 50230 (Girish Palya). 50231 50232 Patch 9.1.1673 50233 Problem: if_python: still support for Python 1 50234 Solution: Drop outdated code (Hirohito Higashi). 50235 50236 Patch 9.1.1674 50237 Problem: Patch v9.1.1666 causes problems on kitty (Sami Farin) 50238 Solution: Remove Ms value from termcodes (Foxe Chen). 50239 50240 Patch 9.1.1675 50241 Problem: MS-Windows: Makefiles can be refactored 50242 Solution: Refactor using a common tools.mak, make some style changes 50243 (RestorerZ). 50244 50245 Patch 9.1.1676 50246 Problem: completion: long line shown twice (Maxim Kim) 50247 Solution: Fix the issue, disable an incorrect test (Girish Palya). 50248 50249 Patch 9.1.1677 50250 Problem: wrong ifdef in message.c 50251 Solution: change it to #ifndef MSWIN (Damien Lejay). 50252 50253 Patch 9.1.1678 50254 Problem: Amiga: cannot handle large undo files 50255 Solution: Remove the existing restriction as it was only valid for 50256 classic Amiga (Damien Lejay). 50257 50258 Patch 9.1.1679 50259 Problem: unclear what key causes CmdlineLeave autocommand 50260 Solution: Set |v:char| to the key (Girish Palya). 50261 50262 Patch 9.1.1680 50263 Problem: MS-Windows: possible buffer-under run in if_cscope 50264 cs_pathcomponents() (Murali Aniruddhan) 50265 Solution: Fix the loop and do not decrement the pointer twice. 50266 50267 Patch 9.1.1681 50268 Problem: tests: no test for actually moving cursor when menu is not 50269 open with 'autocompletedelay'. 50270 Solution: Use <Up> first in the test. Also remove two unnecessary <Esc>s 50271 in completion timeout test (zeertzjq). 50272 50273 Patch 9.1.1682 50274 Problem: tests: Test_wildtrigger_update_screen() creates an unused 50275 mapping (after 9.1.1621). 50276 Solution: Remove the mapping. Also use blank lines more consistently in 50277 test_cmdline.vim screendump tests (zeertzjq). 50278 50279 Patch 9.1.1683 50280 Problem: xxd: Avoid null dereference in autoskip colorless 50281 Solution: Verify that colors is not null (Joakim Nohlgård). 50282 50283 Patch 9.1.1684 50284 Problem: min()/max() does not handle float data types (ubaldot) 50285 Solution: Extend min() and max() to every comparable type (LemonBoy). 50286 50287 Patch 9.1.1685 50288 Problem: Missing changes from PR 18068 50289 Solution: Include the missing changes (Girish Palya). 50290 50291 Patch 9.1.1686 50292 Problem: if_ruby: unknown pragma when not using gcc 50293 Solution: only use GCC pragma, when using GCC (Cthulhux). 50294 50295 Patch 9.1.1687 50296 Problem: filetype: autoconf filetype not always correct 50297 Solution: Detect aclocal.m4 as config filetype, detect configure.ac as 50298 config filetype, fall back to POSIX m4 (Damien Lejay). 50299 50300 Patch 9.1.1688 50301 Problem: potential buffer overrun in bufwrite.c 50302 Solution: Use a temporary variable (John Marriott). 50303 50304 Patch 9.1.1689 50305 Problem: CmdlineChanged not triggered by <Del> 50306 Solution: Use STRCMP() instead of STRNCMP() (Shougo Matsushita). 50307 50308 Patch 9.1.1690 50309 Problem: Missing recursion guard in dos/unix_expandpath() 50310 Solution: Add guard variables (ashamedbit). 50311 50312 Patch 9.1.1691 50313 Problem: over-allocation in ga_concat_strings() 50314 Solution: Fix ga_concat_strings() and only allocate n-1 separator length 50315 bytes (Damien Lejay). 50316 50317 Patch 9.1.1692 50318 Problem: global_functions are not constant 50319 Solution: Place global_functions[] in read-only memory (Damien Lejay). 50320 50321 Patch 9.1.1693 50322 Problem: tests: test_filetype fails in shadow dir (after v9.1.9.1.1687) 50323 Solution: Use a custom test that does not rely on configure.ac 50324 being existing in the upper directory tree. 50325 50326 Patch 9.1.1694 50327 Problem: filetype: Buck eXtension Lang files are not recognized 50328 Solution: Detect *.bxl files as bzl filetype. (Jade Lovelace) 50329 50330 Patch 9.1.1695 50331 Problem: Need more Vim script specific tests 50332 Solution: Add more tests (Yegappan Lakshmanan). 50333 50334 Patch 9.1.1696 50335 Problem: getwininfo() has logic for getting the tabnr of a local popup 50336 window, but due to only breaking from the inner loop, tp is 50337 eventually set to NULL, so tabnr is always 0. 50338 Solution: Break out of both loops, continue to use 0 for global popup 50339 windows (Sean Dewar). 50340 50341 Patch 9.1.1697 50342 Problem: tests: no test for aclocal.m4 (after v9.1.1693) 50343 Solution: Add a test that aclocal.m4 is detected as config filetype. 50344 50345 Patch 9.1.1698 50346 Problem: Some error numbers are not documented (Restorer) 50347 Solution: Document missing error numbers (Yegappan Lakshmanan). 50348 50349 Patch 9.1.1699 50350 Problem: Fuzzy completion disabled for 'findfunc' and customlist 50351 Solution: Remove those cases from cmdline_fuzzy_completion_supported() 50352 because it is supported (Maxim Kim). 50353 50354 Patch 9.1.1700 50355 Problem: a pattern that involves a backref on a different line does not 50356 match when 'ignorecase' is set (QiWei, after v9.1.0645) 50357 Solution: Use MB_STRNICMP when ignorecase is set, fix tests to close 50358 swapfiles. 50359 50360 Patch 9.1.1701 50361 Problem: tests: failure on CI with GUI and ASAN in test_edit.res 50362 (Hirohito Higashi) 50363 Solution: Disable the test for that specific situation in CI, close 50364 swapfiles. 50365 50366 Patch 9.1.1702 50367 Problem: tests: test_edit still fails on CI (after v9.1.1701) 50368 Solution: Fix the skip condition. 50369 50370 Patch 9.1.1703 50371 Problem: Cannot react to terminal OSC responses 50372 Solution: Allow TermResponseAll to be triggered by Terminal OSC 50373 responses (Foxe Chen). 50374 50375 Patch 9.1.1704 50376 Problem: Cannot determine non-X11/Wayland clipmethods 50377 Solution: Add the "gui" value to the 'clipmethod' option (Foxe Chen). 50378 50379 Patch 9.1.1705 50380 Problem: time.h include is available on all platforms 50381 Solution: Remove ifdef guards and simply include it in all source files, 50382 get rid of double include in spellfile.c (Damien Lejay). 50383 50384 Patch 9.1.1706 50385 Problem: MS-Windows: Compile error when building with if_ruby 50386 (Christian Robinson, after v9.1.1704) 50387 Solution: Do not define gettimeofday() if ruby interface is compiled in 50388 (Foxe Chen). 50389 50390 Patch 9.1.1707 50391 Problem: diff.pro contains #ifdefs 50392 Solution: Remove unintentionally added ifdefs (Hirohito Higashi). 50393 50394 Patch 9.1.1708 50395 Problem: tests: various tests can be improved 50396 Solution: Use string interpolation to concatenate strings in 50397 test_winfixbuf, check for specific errors in assert_fails() 50398 (Yegappan Lakshmanan). 50399 50400 Patch 9.1.1709 50401 Problem: filetype: kyaml files are not recognized 50402 Solution: Detect *.kyml files as yaml filetype (Volodymyr Chernetskyi). 50403 50404 Patch 9.1.1710 50405 Problem: Compile warnings in clipboard.c (xvim64, after v9.1.1704) 50406 Solution: Remove returns from void functions (Foxe Chen). 50407 50408 Patch 9.1.1711 50409 Problem: Missing type cast in clipboard.c 50410 (Yegappan Lakshmanan, after v9.1.1704) 50411 Solution: Add back the type cast (Foxe Chen). 50412 50413 Patch 9.1.1712 50414 Problem: screen not redrawn properly on t_RB response (after v9.1.1703) 50415 Solution: Call redraw_asap() if necessary (Julio B). 50416 50417 Patch 9.1.1713 50418 Problem: filetype: fvwm2m4 files are no longer recognized (after 9.1.1687). 50419 Solution: Add a special case in m4 filetype detection (zeertzjq). 50420 50421 Patch 9.1.1714 50422 Problem: completion: wildmode=longest:full selects wrong item (zeertzjq) 50423 Solution: Fix issue, refactor ex_getln.c slightly (Girish Palya). 50424 50425 Patch 9.1.1715 50426 Problem: Some functions need to be re-ordered 50427 Solution: Re-order and move functions around favoring mch_*() functions 50428 inside os_*.c files, Change scope of dos_expandpath() to 50429 global instead of static (Hirohito Higashi). 50430 50431 Patch 9.1.1716 50432 Problem: The code inside an ifdef was indented incorrectly. 50433 Solution: Adjusted the indentation by one level (glepnir). 50434 50435 Patch 9.1.1717 50436 Problem: filetype: AWS cli alias file is not recognized 50437 Solution: Detect .aws/cli/alias as confini filetype (Volodymyr Chernetskyi). 50438 50439 Patch 9.1.1718 50440 Problem: filetype: kubectl config file is not recognized 50441 Solution: Detect .kube/kubectl as yaml filetype (Volodymyr Chernetskyi). 50442 50443 Patch 9.1.1719 50444 Problem: socket server code can be improved 50445 Solution: Refactor code, get rid of gettimeofday() and use ELAPSED_ 50446 macros (Foxe Chen). 50447 50448 Patch 9.1.1720 50449 Problem: Using gettimeofday() for parsing OSC responses 50450 Solution: Use ELAPSED_ macros instead (Foxe Chen). 50451 50452 Patch 9.1.1721 50453 Problem: Defining a global gettimeofday() function causes conflicts if 50454 gettimeofday() is already defined. 50455 Solution: Revert globalized gettimeofday() function (Hirohito Higashi). 50456 50457 Patch 9.1.1722 50458 Problem: Compiler may optimize away clearing of crypt key 50459 Solution: Use sodium_memzero() if available, else use memset() using a 50460 volatile function pointer (ashamedbit). 50461 50462 Patch 9.1.1723 50463 Problem: Missing ifdefs (after v9.1.1719) 50464 Solution: Add ifdef ELAPSED_FUNC (Foxe Chen). 50465 50466 Patch 9.1.1724 50467 Problem: Compiler warning about ununitialized variable in ex_docmd. 50468 Solution: Initialize result variable (mityu). 50469 50470 Patch 9.1.1725 50471 Problem: Wayland code can be improved 50472 Solution: Refactor Wayland Clipboard code (Foxe Chen). 50473 50474 Patch 9.1.1726 50475 Problem: Patch v9.1.1725 causes problems 50476 Solution: Revert the Patch for now. 50477 50478 Patch 9.1.1727 50479 Problem: Nextstep support still included 50480 Solution: Deprecate Nextstep code and undef corresponding feature flag. 50481 50482 Patch 9.1.1728 50483 Problem: termdebug: cannot evaluate visual selected expression 50484 Solution: Add support for visual mode, mapped to K by default (bennyyip). 50485 50486 Patch 9.1.1729 50487 Problem: CI is not run with clang 21 50488 Solution: Update CI to v21, fix a few warnings that are uncovered when 50489 using clang 21 (Philip H). 50490 50491 Patch 9.1.1730 50492 Problem: filetype: vivado journal/log files are not recognized 50493 Solution: Detect vivado*.{jou,log} as tcl filetype (Wu Zhenyu). 50494 50495 Patch 9.1.1731 50496 Problem: Not using const qualifier 50497 Solution: Mark the opchars array const. 50498 50499 Patch 9.1.1732 50500 Problem: filetype: .inc file detection can be improved 50501 Solution: Update filetype detection for Pascal and BitBake code 50502 (Martin Schwan). 50503 50504 Patch 9.1.1733 50505 Problem: tests: failure when remote_server() fails 50506 Solution: Catch E240 error when calling remote_server(), Fix syntax 50507 error in test_wayland.vim. 50508 50509 Patch 9.1.1734 50510 Problem: Memory leak when allocating match fails 50511 Solution: Initialize m to NULL and centralize cleanup via goto fail to 50512 avoid leaks on early returns (Damien Lejay). 50513 50514 Patch 9.1.1735 50515 Problem: Cygwin Makefile still checks for Win XP version 50516 Solution: Remove check for WINVER >= 0x600 in Make_cyg_ming.mak 50517 (Mao-Yining). 50518 50519 Patch 9.1.1736 50520 Problem: Cannot detect <F3> using kitty protocol 50521 Solution: Handle and detect Kitty keys when using the trailing "~" byte. 50522 50523 Patch 9.1.1737 50524 Problem: Patch v9.1.1714 introduce a regression for wildmenu (zeertzjq) 50525 Solution: Restore behavior of "longest" in 'wildmode' (Girish Palya). 50526 50527 Patch 9.1.1738 50528 Problem: cmdline-autocompletion breaks history navigation (ddad431) 50529 Solution: Support history navigation in cmdline autocompletion (Girish 50530 Palya). 50531 50532 Patch 9.1.1739 50533 Problem: Matches may be listed twice with wildmode=longest,list when 50534 "longest" doesn't change command line (after 9.1.1737). 50535 Solution: Set did_wild_list when trying "list" after "longest" (zeertzjq). 50536 50537 Patch 9.1.1740 50538 Problem: Memory leak with wildmode=longest,full and wildoptions=pum 50539 (after 9.1.1737). 50540 Solution: Avoid using showmatches() and WILD_NEXT together. Also fix 50541 wildmode=longest,noselect:full selecting wrong item (zeertzjq). 50542 50543 Patch 9.1.1741 50544 Problem: Regression with kitty protocol and trailing byte "u" 50545 (chdiza, after v9.1.1736) 50546 Solution: Check that trailing byte "~" is present. 50547 50548 Patch 9.1.1742 50549 Problem: complete: preinsert does not work well with preinsert 50550 Solution: Make "preinsert" completeopt value work with autocompletion 50551 (Girish Palya). 50552 50553 Patch 9.1.1743 50554 Problem: Haiku: no full-screen support 50555 Solution: Add support for toggling full-screen using the keyboard (rymdbar) 50556 50557 Patch 9.1.1744 50558 Problem: tests: Test_skip_wildtrigger_hist_navigation() may fail (zeertzjq). 50559 Solution: Correct test to validate intended behavior (Girish Palya). 50560 50561 Patch 9.1.1745 50562 Problem: tabpanel: not properly redraw after wildmenu (ddad431) 50563 Solution: Mark tabpanel to be redrawn (Hirohito Higashi). 50564 50565 Patch 9.1.1746 50566 Problem: Missing Null ptr check in cs_find_common() 50567 Solution: Return when tmp pointer is null (ashamedbit). 50568 50569 Patch 9.1.1747 50570 Problem: completion: redo (.) broken with preinsert and autocompletion 50571 Solution: Make redo (.) work with preinsert and autocompletion (Girish Palya). 50572 50573 Patch 9.1.1748 50574 Problem: macOS: Default scheduler priority too low 50575 Solution: Explicitly set TASK_DEFAULT_APPLICATION scheduler priority 50576 to improve responsiveness (Luna Razzaghipour). 50577 50578 Patch 9.1.1749 50579 Problem: leaking memory in cs_find_common() (after v9.1.1746) 50580 Solution: Also free nummatches before returning. 50581 50582 Patch 9.1.1750 50583 Problem: completion: preinserted text highlighed using ComplMatchIns 50584 Solution: Use highlighting group PreInsert and update the documentation 50585 (Girish Palya). 50586 50587 Patch 9.1.1751 50588 Problem: potential buffer-overflow in find_pattern_in_path() 50589 Problem: Verify ptr p has enough room before adding ins_compl_len(). 50590 50591 Patch 9.1.1752 50592 Problem: tests: No test when deleting text after autocompletion with 50593 preinsert did complete an entry 50594 Solution: Verify, that after deletion autocompletion does not reinsert 50595 the deleted text. Note: the actual issue was fixed with v9.1.1750 50596 (Girish Palya). 50597 50598 Patch 9.1.1753 50599 Problem: defaults: 'diffopt' option value can be improved 50600 Solution: Update diffopt defaults to include "indent-heuristic" and 50601 "inline:char" (Yee Cheng Chin) 50602 50603 Patch 9.1.1754 50604 Problem: :helptags doesn't skip examples with syntax (Evgeni Chasnovski) 50605 Solution: Check for examples with syntax (zeertzjq). 50606 50607 Patch 9.1.1755 50608 Problem: filetype: generic log files are not recognized 50609 Solution: Detect *.log files as log filetype, include simple log syntax 50610 script (Mao-Yining). 50611 50612 Patch 9.1.1756 50613 Problem: termdebug: Need a few more user commands 50614 Solution: Add the :RunOrContinue and the :ToggleBreak user commands 50615 (bennyyip) 50616 50617 Patch 9.1.1757 50618 Problem: The colorresp plugin causes additional redraws 50619 (Linwei, after v9.1.1703) 50620 Solution: Move the code back into the C core and get rid of the vim 50621 plugin (Foxe Chen). 50622 50623 Patch 9.1.1758 50624 Problem: Diff mode crashes when adding text property in autocommand 50625 (after 9.1.1557). 50626 Solution: Only restore ML_EMPTY memline flag, ignore the others (zeertzjq). 50627 50628 Patch 9.1.1759 50629 Problem: filetype: generic log detection is too disturbing (after v9.1.1755) 50630 Solution: Revert setting log filetype. 50631 50632 Patch 9.1.1760 50633 Problem: wrong proto file for insexpand.pro 50634 Solution: Update insexpand.pro (Hirohito Higashi). 50635 50636 Patch 9.1.1762 50637 Problem: completion: selected item not cleared on backspace when 50638 'autocomplete' is set 50639 Solution: Clear the selected item (Girish Palya). 50640 50641 Patch 9.1.1763 50642 Problem: filetype: kitty config files are not recognized 50643 Solution: Detect */kitty/*.conf as kitty filetype, include a syntax 50644 script (Shawon). 50645 50646 Patch 9.1.1764 50647 Problem: filetype: CODEOWNERS file not recognized 50648 Solution: Detect CODEOWNERS file as codeowners filetype, include a 50649 syntax and filetype plugin (Jon Parise). 50650 50651 Patch 9.1.1765 50652 Problem: f_isnan() and f_isinf() do not correctly initialize rettv type 50653 Solution: Initialize them with type: VAR_NUMBER and value 0 (Damien Lejay). 50654 50655 Patch 9.1.1766 50656 Problem: Vim9: some Vim9 functions do not handle null_string correctly 50657 and may crash Vim (kennypete). 50658 Solution: Check for null_string correctly in the searchpair() and 50659 substitute() functions (Yegappan Lakshmanan). 50660 50661 Patch 9.1.1767 50662 Problem: Patch v9.1.1765 was wrong 50663 Solution: Roll back the change, it's correct to have call_func() initialize 50664 the type, so that not each function has to do this on its own. 50665 50666 Patch 9.1.1768 50667 Problem: Makefile does not uninstall global plugins (after v9.1.1757) 50668 Solution: Uninstall global plugins before installing them, so that old files 50669 are not carried around and loaded when no longer used. 50670 50671 Patch 9.1.1769 50672 Problem: completion: "preinsert" insert wrong word with 'smartcase' and 50673 'autocomplete' 50674 Solution: Add compare completed item with the leader (Girish Palya). 50675 50676 Patch 9.1.1770 50677 Problem: Vim9: wrong behaviour with trailing comments in command blocks 50678 (balki) 50679 Solution: Correctly skip over trailing comments (Yegappan Lakshmanan). 50680 50681 Patch 9.1.1771 50682 Problem: complete: some redraw issues with 'autocomplete' 50683 Solution: Fix the issues (Girish Palya). 50684 50685 Patch 9.1.1772 50686 Problem: completion: inconsistent selection of first item with 50687 'autocomplete' (Tomasz N) 50688 Solution: Check for 'autocomplete' option in ins_compl_new_leader() 50689 (Girish Palya). 50690 50691 Patch 9.1.1773 50692 Problem: Crash in BufLeave/WinLeave/TabLeave when closing window after 50693 BufUnload closes all other windows in the tab page. 50694 Solution: Avoid duplicate BufLeave/WinLeave events. Trigger TabLeave 50695 before removing the buffer (zeertzjq). 50696 50697 Patch 9.1.1774 50698 Problem: cannot calculate sha256() of a Blob 50699 Solution: Change sha256() to accept a Blob or String argument (thinca). 50700 50701 Patch 9.1.1775 50702 Problem: filetype: Mamba configuration files are not recognized 50703 Solution: Detect .mambarc and mambarc as yaml filetype (Samuel Huang). 50704 50705 Patch 9.1.1776 50706 Problem: "adding" expansion doesn't work with cfc=keyword. 50707 Solution: Remove incorrect assignment to compl_cont_status. Don't use 50708 fuzzy collection in "adding" status (zeertzjq). 50709 50710 Patch 9.1.1777 50711 Problem: Mouse click to open fold doesn't work with utf-8 "foldclose" 50712 chars (Balki) 50713 Solution: Use ScreenLinesUC[off] if it is set (zeertzjq). 50714 50715 Patch 9.1.1778 50716 Problem: sha256() treats empty blob and null blob differently 50717 (after 9.1.1774). 50718 Solution: Handle null blob the same as empty blob (zeertzjq). 50719 50720 Patch 9.1.1779 50721 Problem: completion: 'autocomplete' cannot be enabled per buffer (Tomasz N) 50722 Solution: Make 'autocomplete' global or local to buffer (Girish Palya). 50723 50724 Patch 9.1.1780 50725 Problem: mbyte contains overlapping list of utf_classes table 50726 Solution: Update table to contain non-overlapping list (Yuta Yamamoto). 50727 50728 Patch 9.1.1781 50729 Problem: some functions could be defined static 50730 Solution: Change function definitions and make them static 50731 (Yegappan Lakshmanan). 50732 50733 Patch 9.1.1782 50734 Problem: buffer-listener callbacks may not match buffer content, since 50735 they are buffered until the screen is updated. 50736 Solution: Allow to handle buffer-callbacks un-buffered, meaning to 50737 handle those changes as soon as they happen (Paul Ollis). 50738 50739 Patch 9.1.1783 50740 Problem: ins_compl_leader() defined too far away from 50741 ins_compl_leader_len() (after 9.1.1781). 50742 Solution: Move ins_compl_leader() just before ins_compl_leader_len(). Add 50743 missing "static" to eval0_simple_funccal() definition (zeertzjq). 50744 50745 Patch 9.1.1784 50746 Problem: Wayland code can be improved 50747 Solution: Refactor Wayland Clipboard code (Foxe Chen). 50748 50749 Patch 9.1.1785 50750 Problem: typo in comment in change.c (after v9.1.1782) 50751 Solution: Fix typo in comment in change.c (Christ van Willegen). 50752 50753 Patch 9.1.1786 50754 Problem: Compile error with clipboard (lacyggoill, after v9.1.1784) 50755 Solution: Add $WAYLAND_SRC as dependency for clipboard.c in Makefile 50756 (Foxe Chen). 50757 50758 Patch 9.1.1787 50759 Problem: filetype: not all Sway config files are recognized 50760 Solution: Detect files within /sway/config.d/* as swayconfig filetype 50761 (Felix Pehla). 50762 50763 Patch 9.1.1788 50764 Problem: Vim9: can declare a void variable (Ernie Rael) 50765 Solution: Disallow such variable declaration (Yegappan Lakshmanan). 50766 50767 Patch 9.1.1789 50768 Problem: MS-Windows: using wrong check for bold font (after v9.1.1347) 50769 Solution: Test if lf.lfWeight == FW_BOLD instead of a simple truthiness 50770 test (Shay). 50771 50772 Patch 9.1.1790 50773 Problem: completion: Enter does not insert match with "noinsert" 50774 (Sergey Vlasov) 50775 Solution: Check for compl_shown_match instead of compl_selected_item 50776 (zeertzjq). 50777 50778 Patch 9.1.1791 50779 Problem: type(void) throws an internal error (atitcreate) 50780 Solution: Return proper error message (Yegappan Lakshmanan). 50781 50782 Patch 9.1.1792 50783 Problem: List of changes not protected from changes when processing 50784 listeners (after v9.1.1782) 50785 Solution: Fully lock changes list for listener callbacks (Paul Ollis). 50786 50787 Patch 9.1.1793 50788 Problem: Link error when build without channel feature 50789 (lindhobe, after v9.1.1774) 50790 Solution: Remove ifdef FEAT_JOB_CHANNEL around check_for_string_or_blob_arg(). 50791 50792 Patch 9.1.1794 50793 Problem: configure: terminfo test does not work with musl 50794 (T3rm1, after v9.9.1.0837) 50795 Solution: Include term.h in configure script, add forward declarations, 50796 in case headers are not found. 50797 50798 Patch 9.1.1795 50799 Problem: Vim9: popup_show() may return void 50800 Solution: Modify popup_show() to return -1 for an invalid popup window 50801 id (Yegappan Lakshmanan). 50802 50803 Patch 9.1.1796 50804 Problem: Wrong cursor position with wrapped "after" virtual text and 50805 'showbreak' (Ben Jackson) 50806 Solution: Count size of 'showbreak' in wrapped "after" virtual text in 50807 line size (zeertzjq). 50808 50809 Patch 9.1.1797 50810 Problem: completion: autocompletion can be improved 50811 Solution: Add support for "longest" and "preinsert" in 'autocomplete'; 50812 add preinserted() (Girish Palya) 50813 50814 Patch 9.1.1798 50815 Problem: Wrong display with 'smoothscroll' and long wrapped virtual 50816 text at EOL. 50817 Solution: Handle w_skipcol inside long wrapped virtual text at EOL (zeertzjq). 50818 50819 Patch 9.1.1799 50820 Problem: completion: crash with autcompletion (Maxim Kim) 50821 Solution: Rework remove_old_matches (Girish Palya). 50822 50823 Patch 9.1.1800 50824 Problem: completion: strange behaviour with 'ac' 50825 completeopt=longest,preinsert (zeertzjq) 50826 Solution: Let preinsert take precedence (Girish Palya). 50827 50828 Patch 9.1.1801 50829 Problem: Vim9: misleading error when extending dictionary (lacygoill). 50830 Solution: Give a proper error message when a Dict type is used with a 50831 compound operator (Yegappan Lakshmanan). 50832 50833 Patch 9.1.1802 50834 Problem: 'nowrap' in a modeline may hide malicious code. 50835 Solution: Forcibly use '>' as 'listchars' "extends" if 'nowrap' was set 50836 from a modeline (zeertzjq). 50837 50838 Patch 9.1.1803 50839 Problem: Amiga: build errors 50840 Solution: Update preprocessor conditionals (Ola Söder). 50841 50842 Patch 9.1.1804 50843 Problem: Wrong indentation of nested ifdefs in findfile.c 50844 Solution: Update indentation (Ola Söder). 50845 50846 Patch 9.1.1805 50847 Problem: Amiga: Missing build date in version string 50848 Solution: Set build date in CFLAGS in Makefile (Ola Söder). 50849 50850 Patch 9.1.1806 50851 Problem: Missing PROTO defines 50852 Solution: Update ifdefs, update Makefile dependencies, updated proto files 50853 (Hirohito Higashi). 50854 50855 Patch 9.1.1807 50856 Problem: :set doesn't clear local insecure flag like :setlocal does. 50857 Solution: Also clear the local insecure flag when using :set (zeertzjq). 50858 50859 Patch 9.1.1808 50860 Problem: Option insecure flags not copied when splitting window. 50861 Solution: Move window-local insecure flags to winopt_T and copy them 50862 properly (zeertzjq). 50863 50864 Patch 9.1.1809 50865 Problem: winclip.pro included in PRO_AUTO 50866 Solution: Remove it from PRO_AUTO since it is already defined in 50867 PRO_MANUAL (Hirohito Higashi). 50868 50869 Patch 9.1.1810 50870 Problem: completion: "longest" doesn't work for manual completion when 50871 'autocomplete' is on (after 9.1.1800). 50872 Solution: Only reset compl_get_longest when enabling autocompletion (zeertzjq) 50873 50874 Patch 9.1.1811 50875 Problem: Amiga: Initialization of random buffer can be improved 50876 Solution: Use RANDOM device when available (Ola Söder) 50877 50878 Patch 9.1.1812 50879 Problem: completion: flicker with slow LSPs 50880 Solution: Disable flushing the changed text (Girish Palya). 50881 50882 Patch 9.1.1813 50883 Problem: MS-Windows: title bar is always white 50884 Solution: Set_caption() and set the title bars color to the Normal 50885 highlighting background (Mao-Yining) 50886 50887 Patch 9.1.1814 50888 Problem: Patch v9.1.1812 causes crashes 50889 Solution: Revert v9.1.1812 50890 50891 Patch 9.1.1815 50892 Problem: file mode changes in os_amiga.pro to 644 (RestorerZ after v9.1.1811) 50893 Solution: Fix the permissions of proto/os_amiga.pro to 644 (Hirohito Higashi). 50894 50895 Patch 9.1.1816 50896 Problem: existing icon files are dated 50897 Solution: Update and remake those icons using 256 colors (RestorerZ). 50898 50899 Patch 9.1.1817 50900 Problem: popup: there are some position logic bugs 50901 Solution: Refactor position logic and fix a few bugs (Girish Palya). 50902 50903 Patch 9.1.1818 50904 Problem: possible crash when calculating topline in diff.c (youngmith) 50905 Solution: Check for pointer being Null before accessing it. 50906 50907 Patch 9.1.1819 50908 Problem: Cannot configure the inner foldlevel indicator for the 50909 foldcolumn 50910 Solution: Add "foldinner" suboption value to the 'fillchar' option 50911 (Maria José Solano). 50912 50913 Patch 9.1.1820 50914 Problem: completion: some issues with 'acl' when "preinsert" and 50915 "longest" is in 'completeopt' (musonius, after v9.1.1638) 50916 Solution: Fix various issues (see details below) (Girish Palya). 50917 50918 Patch 9.1.1821 50919 Problem: filetype: Not all PKL files are recognized 50920 Solution: Detect *.pcf as pkl filetype, detect using the pkl-lsp:// 50921 protocol as pkl filetype, include PKL syntax script (Jan Claußen). 50922 50923 Patch 9.1.1822 50924 Problem: Makefile still supports Perl < 5.005 50925 Solution: Remove support for Perl < 5.005, it's long been obsolete 50926 (Hirohito Higashi) 50927 50928 Patch 9.1.1823 50929 Problem: diff: w_topline may be invalidated 50930 Solution: Update lnum in diff_set_topline() (Yee Cheng Chin). 50931 50932 Patch 9.1.1824 50933 Problem: tests: no test for displaying 'foldcolumn' with Unicode 50934 "foldinner" in 'fillchars'. 50935 Solution: Add a few more test cases. Also fix misplaced "foldinner" 50936 entry in version9.txt (zeertzjq). 50937 50938 Patch 9.1.1825 50939 Problem: completion: flicker when LSP server is slow 50940 Solution: reinsert leader text before invoking user function (Girish Palya). 50941 50942 Patch 9.1.1826 50943 Problem: Patch v9.1.1230 causes confusion about Ctrl-C behaviour 50944 (kuuote, after v9.1.1230) 50945 Solution: Revert the behaviour, keep the old behaviour. 50946 50947 Patch 9.1.1827 50948 Problem: completion: v9.1.1797 broke Ctrl-Y behaviour 50949 (ddad431, after v9.1.1797) 50950 Solution: Restore correct behaviour (Girish Palya). 50951 50952 Patch 9.1.1828 50953 Problem: local variables shadowed by import names 50954 Solution: Check if a local variable exists before handling imports (thinca). 50955 50956 Patch 9.1.1829 50957 Problem: filetype: KerML and SysML files are not recognized 50958 Solution: Detect *.kerml as kerml filetype, detect *.sysml as sysml 50959 filetype, include a kerml and sysml filetype plugin 50960 (Daumantas Kavolis). 50961 50962 Patch 9.1.1830 50963 Problem: MS-Windows: Dark mode titlebar is not configurable (after v9.1.1813) 50964 Solution: Revert Patch v9.1.1813 50965 50966 Patch 9.1.1831 50967 Problem: vertical separator of 'winfixwidth' windows may remain if they 50968 become right-most windows from closing windows to the right. 50969 Solution: Don't implicitly rely on frame_new_width to fix vseps, as the 50970 call may be skipped for 'winfixwidth' windows to preserve 50971 their width; do it explicitly in winframe_remove (Sean Dewar). 50972 50973 Patch 9.1.1832 50974 Problem: if_perl: contains references to legacy if_perlsfio.{c,pro} and 50975 USE_SFIO 50976 Solution: Remove those references (Hirohito Higashi). 50977 50978 Patch 9.1.1833 50979 Problem: completion: fuzzy candidates are not sorted (ddad431) 50980 Solution: Always sort fuzzy candidates (Girish Palya). 50981 50982 Patch 9.1.1834 50983 Problem: MS-Windows: not possible to highlight the title bar 50984 Solution: Make the title/caption bar configurable by introducing the 50985 'go-C' option value which allows to highlight it using the 50986 TitleBar and TitleBarNC highlighting groups (Mao-Yining). 50987 50988 Patch 9.1.1835 50989 Problem: not possible to style popup borders globally 50990 Solution: Add the 'pumborder' option (Girish Palya). 50991 50992 Patch 9.1.1836 50993 Problem: 'cursorlineopt' "screenline" isn't redrawn when moving cursor 50994 and then using line("w0") and :retab that does nothing. 50995 Solution: Call redraw_for_cursorcolumn() when setting a valid w_virtcol 50996 (zeertzjq). 50997 50998 Patch 9.1.1837 50999 Problem: tests: Test_plugin_evaluate_in_popup() fails on 32bit arch 51000 (James McCoy) 51001 Solution: Instead of evaluating the ptr, let's evaluate just the pointer 51002 content, skipping printing the pointer address. 51003 51004 Patch 9.1.1838 51005 Problem: proto files out of sync 51006 Solution: Update proto files (Hirohito Higashi). 51007 51008 Patch 9.1.1839 51009 Problem: Window may have wrong height if resized from another tabpage. 51010 Solution: Improve check for whether a tabline has been added (zeertzjq). 51011 51012 Patch 9.1.1840 51013 Problem: Generating prototype files does not work on all platforms 51014 Solution: Rework prototypes generation using python instead of cproto, 51015 enable it in CI to test it for each PR (Hirohito Higashi). 51016 51017 Patch 9.1.1841 51018 Problem: Patch 9.1.1840 adds python build dependency (chdizza) 51019 Solution: Update dependencies (Hirohito Higashi). 51020 51021 Patch 9.1.1842 51022 Problem: MS-Windows: build failure when mzscheme is included 51023 (dertuxmalwieder, after v9.1.1838) 51024 Solution: skip specific section when PROTO is defined (Hirohito Higashi). 51025 51026 Patch 9.1.1843 51027 Problem: tests: Test_search_stat_option() may fail on slow systems 51028 Solution: test_search_stat: Extend searchcount() timeout if the test is 51029 being re-run due to flakiness (James McCoy). 51030 51031 Patch 9.1.1844 51032 Problem: Makefile: dependencies not updated (Hirohito Higashi) 51033 Solution: Update Dependencies after v9.1.1841. 51034 51035 Patch 9.1.1845 51036 Problem: Makefile: Missing dependency on osdef.h 51037 Solution: Add explicit dependency on auto/osdef.h. 51038 51039 Patch 9.1.1846 51040 Problem: Build failure when building without wayland 51041 (bennyyip, after v9.1.1844) 51042 Solution: Update Makefile dependencies again, remove wayland dependencies for 51043 clipboard.c. 51044 51045 Patch 9.1.1847 51046 Problem: No cmdline completion for :echoconsole, :echowindow and second 51047 expression after :echoerr. 51048 Solution: Set EXPAND_EXPRESSION for :echoconsole and :echowindow, and 51049 check for multiple expressions after :echoerr (zeertzjq). 51050 51051 Patch 9.1.1848 51052 Problem: A few typos in the code 51053 Solution: Fix typos (zeertzjq). 51054 51055 Patch 9.1.1849 51056 Problem: CTRL-F and CTRL-B don't work in more prompt 51057 Solution: Make CTRL-F and CTRL-B scroll by a screen down/up 51058 (Bjoern Foersterling) 51059 51060 Patch 9.1.1850 51061 Problem: completion: not triggered after i_Ctrl-W/i_Ctrl-U 51062 Solution: Trigger autocomplete when entering Insert mode (Girish Palya). 51063 51064 Patch 9.1.1851 51065 Problem: memory leak in heredoc_get() 51066 Solution: Free "str" if list_append_string() fails (Lidong Yan). 51067 51068 Patch 9.1.1852 51069 Problem: vim9class: fix memory leak in parse_member() 51070 Solution: Free evalarg before returning (Lidong Yan). 51071 51072 Patch 9.1.1853 51073 Problem: Ctrl-F and Ctrl-B at more prompt not working with kitty 51074 keyboard protocol or modifyOtherKeys (after v9.1.1849). 51075 Solution: Call merge_modifyOtherKeys() in get_keystroke() (zeertzjq). 51076 51077 Patch 9.1.1854 51078 Problem: unnecessary code in optionstr.c 51079 Solution: Remove it (Hirohito Higashi). 51080 51081 Patch 9.1.1855 51082 Problem: Makefile: using non-portable syntax (Jonathan Schleifer) 51083 Solution: Remove duplicate parenthesis. 51084 51085 Patch 9.1.1856 51086 Problem: cannot style popup window (border, shadow, etc) 51087 Solution: Extend the 'completepopup' option with additional properties 51088 (Girish Palya). 51089 51090 Patch 9.1.1857 51091 Problem: Missing clipboard provider support (lilydjwg) 51092 Solution: Add clipboard provider feature (Foxe Chen). 51093 51094 Patch 9.1.1858 51095 Problem: v:register not reset after Visual mode command (laktak). 51096 Solution: Reset v:register if Visual mode was active before 51097 do_pending_operator() (zeertzjq). 51098 51099 Patch 9.1.1859 51100 Problem: completion: whitespace not cleared with 'ai' 51101 Solution: Remove spaces added by 'autoindent' when autocomplete is set 51102 and restore did_ai in ins_compl_start() (Maxim Kim) 51103 51104 Patch 9.1.1860 51105 Problem: clipboard register "+" enabled with cplipboard provider feature 51106 (BenYip, after v9.1.1857) 51107 Solution: Don't make clipboard provider enable plus register on UNIX 51108 (Foxe Chen). 51109 51110 Patch 9.1.1861 51111 Problem: Amiga: Locating runtime directory and rc files can be 51112 simplified. 51113 Solution: Use assigns since it's simpler and more in line with 51114 how other Amiga applications work (Ola Söder). 51115 51116 Patch 9.1.1862 51117 Problem: Wrong ifdefs for clipboard provider (after v9.1.1857) 51118 Solution: Update ifdefs (Foxe Chen). 51119 51120 Patch 9.1.1863 51121 Problem: Cannot test for working "+" register 51122 Solution: Add a few more feature tests (Foxe Chen). 51123 51124 Patch 9.1.1864 51125 Problem: tests: Clipboard provider feature test failure 51126 Solution: Check in the test that the + clipboard register is available, 51127 fix compile warning (Foxe Chen) 51128 51129 Patch 9.1.1865 51130 Problem: tests: test_codestyle does not notice lines containing only a tab 51131 Solution: Fix the whitespace issue in eval.txt, update test_codestyle to 51132 notice such issues (Hirohito Higashi). 51133 51134 Patch 9.1.1866 51135 Problem: HAVE_STRCSPN define is unused 51136 Solution: Remove all HAVE_STRCSPN defines (Ola Söder). 51137 51138 Patch 9.1.1867 51139 Problem: HAVE_STDARG_H still defined (after v7.4.1216) 51140 Solution: Remove all remaining occurrences of HAVE_STDARG_H (Ola Söder). 51141 51142 Patch 9.1.1868 51143 Problem: v:register is wrong in v_: command (after 9.1.1858). 51144 Solution: Don't reset v:register for OP_COLON (zeertzjq). 51145 51146 Patch 9.1.1869 51147 Problem: tests: test failures with Python 3.14 and test_python3 51148 Solution: Adjust the expected error message (Yee Cheng Chin). 51149 51150 Patch 9.1.1870 51151 Problem: :Tutor may not work as expected 51152 Solution: set buftype=nowrite instead of nofile (Phạm Bình An). 51153 51154 Patch 9.1.1871 51155 Problem: Wrong 'showcmd' in the command-line window. 51156 Solution: Clear 'showcmd' when entering cmdwin (zeertzjq). 51157 51158 Patch 9.1.1872 51159 Problem: Cmdline history not updated when mapping both <Up> and <CR>. 51160 Solution: Consider the command typed when in Cmdline mode and there is 51161 no pending input (zeertzjq). 51162 51163 Patch 9.1.1873 51164 Problem: Clipboard provider feature broke clipboard support (Yee Cheng Chin) 51165 Solution: Revert clipboard changes (Foxe Chen). 51166 51167 Patch 9.1.1874 51168 Problem: PMenuShadow overrides highlighting attributes (Maxim Kim) 51169 Solution: Use hl_combine_attr() to combine popup attribute with shadow 51170 attribute (Girish Palya). 51171 51172 Patch 9.1.1875 51173 Problem: username parsing bug in netrw plugin when using remote adding 51174 feature 51175 Solution: Allow any characters except for "@" (Václav Kobera), add a 51176 test for the netrw plugin. 51177 51178 Patch 9.1.1876 51179 Problem: pre-inserted text not exposed in complete_info() 51180 Solution: Add the pre-inserted text to the complete_info() Vim script 51181 function (Girish Palya). 51182 51183 Patch 9.1.1877 51184 Problem: cindent: wrong indentation after an array declaration 51185 Solution: check if the filetype if javascript before matching the syntax 51186 (Anttoni Erkkilä). 51187 51188 Patch 9.1.1878 51189 Problem: filetype: Soy files are not recognized 51190 Solution: Detect *.soy files as soy filetype, include a soy filetype plugin 51191 (Riley Bruins). 51192 51193 Patch 9.1.1879 51194 Problem: Crash when using a lambda funcref with :defer 51195 Solution: De-reference the partial correctly after invoking the deferred 51196 functions (Yegappan Lakshmanan). 51197 51198 Patch 9.1.1880 51199 Problem: Allocation error with complete_info() (after v9.1.1876) 51200 Solution: Make sure length is positive (kuuote). 51201 51202 Patch 9.1.1881 51203 Problem: tests: test_popupwin fails after c8eeda9b due to syntax 51204 highlighting change 51205 Solution: Regenerate terminal dumps Test_popup_setbuf*dump (Yee Cheng Chin). 51206 51207 Patch 9.1.1882 51208 Problem: Vim9: Not able to use a lambda with :defer (Maxim Kim) 51209 Solution: Add support for this (Yegappan Lakshmanan). 51210 51211 Patch 9.1.1883 51212 Problem: Wrong display with 'smoothscroll' when FEAT_DIFF is disabled. 51213 Solution: Use plines_correct_topline() (zeertzjq). 51214 51215 Patch 9.1.1884 51216 Problem: :defer an empty lambda causes a crash 51217 (Maxim Kim, after v9.1.1882) 51218 Solution: Check for missing arguments (Yegappan Lakshmanan). 51219 51220 Patch 9.1.1885 51221 Problem: Wrong restored cursor position when re-entering a buffer 51222 previously viewed in a window after making changes to the same 51223 buffer in another window. 51224 Solution: Adjust per-window "last cursor" positions on buffer changes 51225 (zeertzjq). 51226 51227 Patch 9.1.1886 51228 Problem: filetype: Android aconfig files are not recognized 51229 Solution: Detect *.aconfig files as pbtxt filetype (Bruno Belanyi). 51230 51231 Patch 9.1.1887 51232 Problem: string handling in strings.c can be improved 51233 Solution: Refactor strings.c and remove calls to STRLEN() (John Marriott). 51234 51235 Patch 9.1.1888 51236 Problem: Wrong display with cpo+=$, matchparen and wrapped line. 51237 Solution: Use old cursor line height when scrolling with cpo+=$. Also 51238 fix wrong redraw in non-current window (zeertzjq). 51239 51240 Patch 9.1.1889 51241 Problem: filetype: not all AppleScript files are recognized 51242 Solution: Detect *.applescript files as applescript filetype (Samuel Huang). 51243 51244 Patch 9.1.1890 51245 Problem: %P in 'statusline' doesn't behave as documented 51246 (after 9.1.1479). 51247 Solution: Make the percentage 3-chars wide when not translated (zeertzjq). 51248 51249 Patch 9.1.1891 51250 Problem: In visual mode, g<End> does not move to the last non-blank 51251 character when the end of a line is on the same line as the 51252 cursor (after v9.0.1753). 51253 Solution: Move the cursor back by one position if it lands after the 51254 line (varsidry). 51255 51256 Patch 9.1.1892 51257 Problem: A plugin does not know when startup scripts were already 51258 triggered. This is useful to determine if a function is 51259 called inside vimrc or after (like when sourcing 'plugin/' files). 51260 Solution: Add the v:vim_did_init variable (Evgeni Chasnovski). 51261 51262 Patch 9.1.1893 51263 Problem: ICCF charity will dissolve 51264 Solution: Update references to Kuwasha 51265 51266 Patch 9.1.1894 51267 Problem: global_runtime_dir appends /after directory when using XDG 51268 configuration directory (Marius Gedminas). 51269 Solution: Do not append /after to RUNTIME_GLOBAL_AFTER. 51270 51271 Patch 9.1.1895 51272 Problem: OSC terminal response hard to detect 51273 Solution: Add the <OSC> and <xOSC> pseudo keys (Foxe Chen). 51274 51275 Patch 9.1.1896 51276 Problem: tests: Patch v9.1.1895 breaks CI, by failing screen dump tests 51277 test_listlbr_utf8, test_diffmode and test_cmdline 51278 Solution: Revert it 51279 51280 Patch 9.1.1897 51281 Problem: Mac: Build failure on Mac OS X 10.6 due to the use of generics 51282 for the sound feature. 51283 Solution: Use the simple, non-generic Objective-C version (Luke Lollard). 51284 51285 Patch 9.1.1898 51286 Problem: tabpanel: inconsistent use of cmdline and message area with 51287 tabpanel 51288 Solution: Reduce the cmdline and message area by the horizontal size of 51289 the tabpanel (Hirohito Higashi). 51290 51291 Patch 9.1.1899 51292 Problem: tabpanel: getcmdscreenpos() wrong when tabpanel is shown 51293 Solution: Adjust f_getcmdscreenpos() and add cmdline_col_off 51294 (Hirohito Higashi). 51295 51296 Patch 9.1.1900 51297 Problem: tabpanel: wrong condition after v9.1.1898 51298 Solution: Update condition (Hirohito Higashi). 51299 51300 Patch 9.1.1901 51301 Problem: tests: test_vim9_generics fails when built without the job or 51302 channel feature (lazypingu) 51303 Solution: Skip test if job/channel feature is not available. 51304 51305 Patch 9.1.1902 51306 Problem: GTK fails to compile with !FEAT_PROP_POPUP 51307 Solution: Correct syntax under #ifdef (Drew Vogel). 51308 51309 Patch 9.1.1903 51310 Problem: GTK naming still reflects GTK1 support 51311 Solution: Rename to avoid confusion (Drew Vogel). 51312 51313 Patch 9.1.1904 51314 Problem: Code still supports GTK2 versions older than 2.4. 51315 Solution: Drop support for GTK2 < 2.4 (Drew Vogel). 51316 51317 Patch 9.1.1905 51318 Problem: tabpanel: truncates terminal output (hokorobi) 51319 Solution: Use topframe->fr_width, not Columns (which includes the 51320 tabpanel width) (Hirohito Higashi) 51321 51322 Patch 9.1.1906 51323 Problem: filetype: not all Ruby files are recognized 51324 Solution: Detect *.rbi and Brewfile as ruby filetype (botantony). 51325 51326 Patch 9.1.1907 51327 Problem: xterm: no support for mouse buttons 8 and 9 51328 Solution: Add support for terminals with xterm-like mouse functionality 51329 (notuxic). 51330 51331 Patch 9.1.1908 51332 Problem: tests: test_crash.vim times out in CI ASAN builds 51333 Solution: Increase timeout for ASAN or Valgrind runs. 51334 51335 Patch 9.1.1909 51336 Problem: filetype: .mom files recognized as nroff files 51337 Solution: Detect *.mom files as groff filetype instead (Callum Andrew). 51338 51339 Patch 9.1.1910 51340 Problem: tests: test failures in Test_term_gettitle() in CI 51341 Solution: CI: Allow for title buffering in Test_term_gettitle() 51342 (Aliaksei Budavei). 51343 51344 Patch 9.1.1911 51345 Problem: build failure on Solaris Sparc with gcc 5 (idgn23, after v9.1.1736) 51346 Solution: Correctly initialize the key_name variable. 51347 51348 Patch 9.1.1912 51349 Problem: tests: test_plugin_comment fails, because it depends on nroff 51350 filetype for .mom file (after v9.1.1909) 51351 Solution: Explicitly set filetype to nroff. 51352 51353 Patch 9.1.1913 51354 Problem: Error message with :unlet! and non-existing dictionary item 51355 (Coacher) 51356 Solution: Set GLV_QUIET when using unlet with bang attribute. 51357 51358 Patch 9.1.1914 51359 Problem: runtime(netrw): LocalBrowseCheck() wipes unnamed buffers when 51360 g:netrw_fastbrowse=0 (Carlos Falgueras García) 51361 Solution: Check that bufname() is not empty. 51362 51363 Patch 9.1.1915 51364 Problem: :breaklist accepts unprocessed arguments. 51365 Solution: Remove EX_EXTRA flag from the Ex command definition (Doug Kearns). 51366 51367 Patch 9.1.1916 51368 Problem: WinEnter autocommand may confuse Vim when closing tabpage (hokorobi) 51369 Solution: Verify that curwin did not change in close_others(). 51370 51371 Patch 9.1.1917 51372 Problem: Vim9: incorrect type inference with mkdir() (dezza) 51373 Solution: Before compiling a RHS expression in an assignment, save the 51374 new local variable contents (Yegappan Lakshmanan). 51375 51376 Patch 9.1.1918 51377 Problem: completion: crash with fuzzy completion (Christian Brabandt) 51378 Solution: When completion candidates are gathered from a different 51379 window, and when completing `<c-p>`, linked list should be 51380 sorted only after all items are collected (Girish Palya). 51381 51382 Patch 9.1.1919 51383 Problem: tabpanel: cannot handle mouse clicks in command line 51384 (char101, after v9.1.1898) 51385 Solution: Update the condition that checks if the mouse pointer is on 51386 the command line (Hirohito Higashi). 51387 51388 Patch 9.1.1920 51389 Problem: tests: not enough testing for wildtrigger() pum redrawing. 51390 Solution: Also test redrawing when leaving cmdline mode (zeertzjq). 51391 51392 Patch 9.1.1921 51393 Problem: xdiff: included xdiff code is outdated because it is based on 51394 git 2.40.0 51395 Solution: Sync with xdiff from git 2.52 (Yee Cheng Chin). 51396 51397 Patch 9.1.1922 51398 Problem: Wrong virtcol('$') with virtual text at EOL (rickhowe). 51399 Solution: Also add 1 to end virtcol when there is virtual text (zeertzjq). 51400 51401 Patch 9.1.1923 51402 Problem: When assigning to @. in a :let command an incorrect "E15" 51403 error is emitted. 51404 Solution: Emit the correct "E354" error. (Doug Kearns). 51405 51406 Patch 9.1.1924 51407 Problem: 'commentstring' requires the +folding feature but is used in 51408 contexts other than folding. 51409 Solution: Remove the +folding feature guards from 'commentstring' and 51410 make it available in all builds (Doug Kearns). 51411 51412 Patch 9.1.1925 51413 Problem: make depend does not add osdef.h for the dependencies (Drew Vogel) 51414 Solution: Move ifdef PROTO (Hirohito Higashi). 51415 51416 Patch 9.1.1926 51417 Problem: xdiff: Coverity warning with MAX_CNT/UINT_MAX usage 51418 (after v9.1.1921) 51419 Solution: Replace XDL_MIN macro to a manual check (Yee Cheng Chin). 51420 51421 Patch 9.1.1927 51422 Problem: Wayland: clipboard code too complex 51423 Solution: Simplify clipboard related code around W23/W24 (Foxe Chen). 51424 51425 Patch 9.1.1928 51426 Problem: xxd: exit_with_usage() can be simplified 51427 Solution: Clean up exit_with_usage() formatting slightly (Stefan Haubenthal). 51428 51429 Patch 9.1.1929 51430 Problem: completion: spell completion wrong with fuzzy 51431 Solution: Disable fuzzy sort for spell completion (Maxim Kim). 51432 51433 Patch 9.1.1930 51434 Problem: completion: 'completefuzzycollect' option is too obscure 51435 Solution: Deprecate the option, but don't error out for existing scripts, 51436 behave like 'completefuzzycollect' is set when fuzzy 51437 completion is enabled (Girish Palya). 51438 51439 Patch 9.1.1931 51440 Problem: completion: wrong item selected with fuzzy and noinsert 51441 (Evgeni Chasnovski) 51442 Solution: Reset selected item after fuzzy sort (Girish Palya). 51443 51444 Patch 9.1.1932 51445 Problem: OSC terminal response hard to detect 51446 Solution: Add the <OSC> and <xOSC> pseudo keys (Foxe Chen). 51447 51448 Patch 9.1.1933 51449 Problem: completion: complete_match() Vim script function and 51450 'isexpand' option are not that useful and confusing 51451 (after v9.1.1341) 51452 Solution: Remove function and option and clean up code and documentation 51453 (Girish Palya). 51454 51455 Patch 9.1.1934 51456 Problem: filetype: not all starlark files are recognized 51457 Solution: Detect *.sky files as starlark filetype (Bruno Belanyi). 51458 51459 Patch 9.1.1935 51460 Problem: filetype: not all Erlang files are recognized 51461 Solution: Detect *.app.src and rebar.config files as erlang filetype 51462 (John Parise). 51463 51464 Patch 9.1.1936 51465 Problem: filetype: Erlang lexical files are not recognized 51466 Solution: Detect *.xrl files as leex filetype, include syntax and 51467 filetype plugins (Jon Parise). 51468 51469 Patch 9.1.1937 51470 Problem: tests: Test_matchfuzzy_initialized() fails 51471 Solution: Send a dummy key (Corey Hickey) 51472 51473 Patch 9.1.1938 51474 Problem: tests: excessive wait in Test_matchfuzzy_initialized 51475 Solution: Use term_wait() instead of the TermWait() wrapper (Corey Hickey). 51476 51477 Patch 9.1.1939 51478 Problem: tests: test_matchfuzzy() leaves swapfiles behind 51479 Solution: Close loaded buffers using "%bw". 51480 51481 Patch 9.1.1940 51482 Problem: clipboard registers "+" and "*" synced without "autoselect" 51483 Solution: Remove code that explicitly syncs those clipboard registers 51484 (Corey Hickey). 51485 51486 Patch 9.1.1941 51487 Problem: tests: Test_execute_register() leaves swapfile behind 51488 Solution: Use :bw instead of :close to close the buffer completely. 51489 51490 Patch 9.1.1942 51491 Problem: Assignment to read-only registers @: and @% is allowed during 51492 compilation. 51493 Solution: Abort compilation and emit an E354 error when assigning to 51494 these registers (Doug Kearns). 51495 51496 Patch 9.1.1943 51497 Problem: Memory leak with :breakadd expr 51498 Solution: Free debug_oldval and debug_newval before assigning to them. 51499 Verify the existing (though confusing) :breakadd expr behavior 51500 (zeertzjq). 51501 51502 Patch 9.1.1944 51503 Problem: gewininfo() does not return if statusline is visible 51504 Solution: Add status_height to the dict items returned by 51505 getwininfo() (Hirohito Higashi). 51506 51507 Patch 9.1.1945 51508 Problem: tests: Test_getbufwintabinfo() leaves swapfiles behind 51509 Solution: Close all open buffers using %bw! 51510 51511 Patch 9.1.1946 51512 Problem: Cannot open the help in the current window 51513 Solution: Promote the example from tips.txt to a proper package and 51514 include the helpcurwin package, add tests for it (Peter Kenny). 51515 51516 Patch 9.1.1947 51517 Problem: [security]: Windows: Vim may execute commands from current 51518 directory (Simon Zuckerbraun) 51519 Solution: Set the $NoDefaultCurrentDirectoryInExePath before running 51520 external commands. 51521 51522 Patch 9.1.1948 51523 Problem: Windows: Vim always adds the current directory to search path. 51524 This should only happen when using cmd.exe as 'shell'. For 51525 example, powershell won't run binaries from the current 51526 directory. 51527 Solution: Only add current directory to system path, when using cmd.exe 51528 as 'shell'. 51529 51530 Patch 9.1.1949 51531 Problem: :stag does not use 'swichtbuf' option, though the 51532 documentation states differently (Christian Brabandt) 51533 Solution: Respect 'switchbuf' option (Yegappan Lakshmanan). 51534 51535 Patch 9.1.1950 51536 Problem: tests: Test_tagjump.vim leaves swapfiles behind 51537 Solution: Close open buffers using :bw! instead of :close! 51538 51539 Patch 9.1.1951 51540 Problem: tests: Test_windows_external_cmd_in_cwd() is only run in huge 51541 builds (after 9.1.1947). 51542 Solution: Move it to test_system.vim so that it is run in normal builds. 51543 51544 Patch 9.1.1952 51545 Problem: tests: need better tests for tf files 51546 Solution: Add better filetype test for terraform/tf filetype 51547 51548 Patch 9.1.1953 51549 Problem: gui_mch_set_titlebar_colors() doesn't need to be called when 51550 'go+=C' is not set. 51551 Solution: Switch the default value to false. 51552 51553 Patch 9.1.1954 51554 Problem: Setting a byte in a blob, accepts values outside 0-255 51555 Solution: When setting a byte in a blob, check for valid values 51556 (Yegappan Lakshmanan). 51557 51558 Patch 9.1.1955 51559 Problem: sort() does not handle large numbers correctly 51560 (Igbanam Ogbuluijah) 51561 Solution: Don't truncate the return value of tv_get_number_chk() 51562 (Yegappan Lakshmanan). 51563 51564 Patch 9.1.1956 51565 Problem: tests: test_sort.vim leaves swapfiles behind 51566 Solution: Close open buffers using :bw! instead of :close! 51567 51568 Patch 9.1.1957 51569 Problem: filetype: bpftrace files are not recognized 51570 Solution: Detect *.bt files as btftrace filetype, 51571 include a btftrace filetype plugin (Stanislaw Gruszka). 51572 51573 Patch 9.1.1958 51574 Problem: Wrong display when scrolling with 'scrolloff' and calling 51575 sign_unplace() and setline() in CursorMoved (after 8.2.3204). 51576 Solution: Still scroll for changed lines below the top area when the top 51577 is scrolled down (zeertzjq). 51578 51579 Patch 9.1.1959 51580 Problem: Outputting long strings using :echowindow wraps one character 51581 per line and display in reverse order (Hirohito Higashi) 51582 Solution: Use full width for :echowindow, reset msg_col after wrapping, 51583 and increment lnum correctly when creating new lines (glepnir). 51584 51585 Patch 9.1.1960 51586 Problem: When the popup menu is displayed above the cursor and the 51587 selected item has no room below for the info popup, 51588 popup_adjust_position() places the popup in the available 51589 space above. The calculation added some extra lines, causing 51590 the popup to be misaligned. 51591 Solution: For info popups, undo that extra spacing so the popup stays 51592 aligned with the selected item (glepnir). 51593 51594 Patch 9.1.1961 51595 Problem: :0tab behaves like :tab for :stag when 'switchbuf' contains 51596 "newtab" (after 9.1.1949). 51597 Solution: Don't override cmod_tab if it's already non-zero (zeertzjq). 51598 51599 Patch 9.1.1962 51600 Problem: filetype: Erlang application resource files are not recognized 51601 Solution: Add content-based filetype detection for application resource 51602 files matching extension '*.app' (Doug Kearns). 51603 51604 Patch 9.1.1963 51605 Problem: diff: missing diff size limit for xdiff 51606 Solution: Impose file size limit for internal diff (xdiff) 51607 (Yee Cheng Chin). 51608 51609 Patch 9.1.1964 51610 Problem: Wrong display when using setline() at hit-enter prompt 51611 (after 8.2.3204). 51612 Solution: Only skip scrolling for changed lines in top area if it's 51613 scrolled down due to w_topline change. Also add more testing 51614 for what 8.2.3204 fixed (zeertzjq). 51615 51616 Patch 9.1.1965 51617 Problem: When exiting at the end of the more prompt (at the hit enter 51618 prompt) by hitting q the recording mode will be started. 51619 (Jakub Łuczyński) 51620 Solution: Don't add the q key to the typeahead buffer 51621 in the function wait_return (Bjoern Foersterling) 51622 51623 Patch 9.1.1966 51624 Problem: MS-Windows: dark mode in gui is not supported 51625 Solution: Inplement the 'd' flag in 'guioptions' (Mao-Yining). 51626 51627 Patch 9.1.1967 51628 Problem: if_python: 64bit numbers truncated 51629 Solution: cast python result to long long (lsq). 51630 51631 Patch 9.1.1968 51632 Problem: tests: test_python3.vim leaves swapfiles behind 51633 Solution: Close open buffers using :bw! instead of :close! 51634 51635 Patch 9.1.1969 51636 Problem: Wrong cursor position after formatting with long 'formatprg'. 51637 Solution: Don't show hit-enter prompt when there are stuffed characters. 51638 51639 Patch 9.1.1970 51640 Problem: visual end column returns wrong value after block edit 51641 Solution: update visual end column after block insert (phanium). 51642 51643 Patch 9.1.1971 51644 Problem: Crash when buffer gets deleted inside charconvert during save 51645 Solution: Check for `b_saving` inside `can_unload_buffer()`, so we don’t try to 51646 unload a buffer while it’s still being saved (glepnir). 51647 51648 Patch 9.1.1971 51649 Problem: crash with invalid positional argument 0 in printf() 51650 Solution: Reject positional arguments <= 0. 51651 51652 Patch 9.1.1972 51653 Problem: No way to access the clipboard without X11/Wayland. 51654 Solution: Add the clipboard provider feature (Foxe Chen). 51655 51656 Patch 9.1.1973 51657 Problem: some minor problems with clipboard provider code 51658 (after v9.1.1972) 51659 Solution: Fix minor issues (Foxe Chen) 51660 51661 Patch 9.1.1974 51662 Problem: tests: missing cleanup in Test_bwipe_during_save(). 51663 Solution: Reset &charconvert. 51664 51665 Patch 9.1.1975 51666 Problem: blob2str() may call strcpy with a NULL pointer 51667 Solution: Check for NULL before calling STRNCPY(). 51668 51669 Patch 9.1.1976 51670 Problem: When using listeners, there is no way to run callbacks at 51671 specific points in the redraw cycle. 51672 Solution: Add redraw_listener_add() and redraw_listener_remove() and 51673 allow specifying callbacks for redraw start and end (Foxe Chen). 51674 51675 Patch 9.1.1977 51676 Problem: MS-Windows: missing dependency on optiondefs.h in Mingw and 51677 Cygwin Makefile (Mao-Yining) 51678 Solution: Update $INCL variable. 51679 51680 Patch 9.1.1978 51681 Problem: tests: Test_smoothscroll_number() may fail because of 'showcmd' 51682 Solution: Send redraw command (Hirohito Higashi). 51683 51684 Patch 9.1.1979 51685 Problem: :helpclose incorrectly accepts a range and a count. 51686 Solution: Remove EX_COUNT and EX_RANGE from the command definition 51687 (Doug Kearns). 51688 51689 Patch 9.1.1980 51690 Problem: filetype: N-Quads files are not recognized 51691 Solution: Detect *.nq files as nq filetype. 51692 51693 Patch 9.1.1981 51694 Problem: tests: test suite may stop on error in gen_opt_test.vim 51695 Solution: Use a different output file for log files (Muraoka Taro). 51696 51697 Patch 9.1.1982 51698 Problem: Use after free with redraw_listener_add() (after: v9.1.1976) 51699 Solution: Copy Callbacks into listener struct (Foxe Chen). 51700 51701 Patch 9.1.1983 51702 Problem: Vim9: class_name definition can be improved 51703 Solution: Use string_T to store class_name, avoid using STRLEN() calls, 51704 simplify code, remove unused definition of struct 51705 oc_newmember_S (John Marriott). 51706 51707 Patch 9.1.1984 51708 Problem: terminal OSC52 support to access the clipboard can be improved 51709 Solution: Include and package the optional osc52 package, note: this 51710 requires a Vim with clipboard provider feature (Foxe Chen). 51711 51712 Patch 9.1.1985 51713 Problem: tests: test_sound.vim fails when run locally on Windows 51714 Solution: Skip Test_play_silent in Windows non-GUI environments. 51715 51716 Patch 9.1.1986 51717 Problem: clipboard provider does not work when redirecting messages 51718 (BenYip, after v9.1.1972) 51719 Solution: Adjust ifdefs in ex_redir(). 51720 51721 Patch 9.1.1987 51722 Problem: assert_equal() prepends unnecessary ':' when typed (after 9.0.1758). 51723 Solution: Don't change a NULL stacktrace to an empty string (zeertzjq). 51724 51725 Patch 9.1.1988 51726 Problem: osc52 package can be further improved (after v9.1.1984). 51727 Solution: Improve plugin, update test and check for clipboard_provider 51728 feature (Foxe Chen). 51729 51730 Patch 9.1.1989 51731 Problem: Vim intro screen shows register message (after v9.1.1893) 51732 Solution: Remove the register message, registering is no longer useful 51733 and possible. 51734 51735 Patch 9.1.1990 51736 Problem: tests: Test_term_gettty() fails when using conpty on Windows, 51737 CI uses winpty, so this test passes. 51738 Solution: Skip the test Test_term_gettty(). Since conpty communicates 51739 via anonymous pipes, there is no name that can be obtained 51740 with term_gettty() (Muraoka Taro) 51741 51742 Patch 9.1.1991 51743 Problem: :setlocal changes effective global 'omnifunc' (Maxim Kim) 51744 Solution: Don't change global callback when using :setlocal (zeertzjq). 51745 51746 Patch 9.1.1992 51747 Problem: Vim9: heap buffer overflow with COMPAREANY instruction 51748 Solution: Verify the type and error out in case of different types (Foxe Chen) 51749 51750 Patch 9.1.1993 51751 Problem: MS-Windows: compile error because of implicit size conversions 51752 (after v9.1.1983) 51753 Solution: Change type casts 51754 51755 Patch 9.1.1994 51756 Problem: More deterministic synchronisation can be established between 51757 processes running test cases and collecting visual effects to 51758 a screendump file for future verification by anticipating 51759 the availability of known parts of such a file and asserting 51760 the location of the cursor. 51761 Solution: Provide a convenience test function that waits a specified 51762 time for cursor positioning (Aliaksei Budavei). 51763 51764 Patch 9.1.1995 51765 Problem: Data races between test buffers are currently addressed by 51766 relying on arbitrary execution delays or blissfully dismissed. 51767 Solution: Prefer more deterministic synchronisation between test buffers 51768 for test cases that generate screendump files with expected 51769 results (Aliaksei Budavei). 51770 51771 Patch 9.1.1996 51772 Problem: tests: test_cmdline.vim leaves swapfiles behind 51773 Solution: Close open buffers using :bw! instead of :close! 51774 51775 Patch 9.1.1997 51776 Problem: Missing out-of-memory check in vim9class.c in calls to 51777 vim_strnsave(). 51778 Solution: Refactor is_duplicate_variable() and is_duplicate_enum() and 51779 make use of string_T struct instead (John Marriott). 51780 51781 Patch 9.1.1998 51782 Problem: Not enough tests for :setlocal omnifunc (after 9.1.1991). 51783 Solution: Move the last :new after :setlocal. Also test with 'complete' 51784 (zeertzjq). 51785 51786 Patch 9.1.1999 51787 Problem: clipboard provider does not respect 'clipboard' option 51788 (Satoru Kitaguchi, after v9.1.1972) 51789 Solution: Make clipboard provider register respect "unnamed/unnamedplus" 51790 from the 'clipboard' option value. 51791 51792 Patch 9.1.2000 51793 Problem: Vim9: class and object member names are stored as char_u * 51794 pointer requiring repeated strlen() calls and making it harder 51795 to use length-aware string operations consistently. 51796 Solution: Store ocm_name as a string_T instead of char_u * (John Marriott). 51797 51798 Patch 9.1.2001 51799 Problem: After :botright copen and closing the quikfix window, the 51800 cursor ends up in the wrong window. The problem is fr_child 51801 always points to the first (leftmost for FR_ROW, topmost for 51802 FR_COL) child frame. When do :vsplit, the new window is 51803 created on the left, and frame_insert() updates the parent's 51804 fr_child to point to this new left window. 51805 Solution: Create a snapshot before open the quickfix window and restore 51806 it when close it (glepnir). 51807 51808 Patch 9.1.2002 51809 Problem: Vim9: heap-use-after-free when when accessing protect class 51810 member (Foxe Chen) 51811 Solution: Set cl->class_type_list and return directly, add tests for 51812 using protected class method and variable from another class 51813 (Yegappan Lakshmanan). 51814 51815 Patch 9.1.2003 51816 Problem: tests: Test_glob_symlinks may fail on Windows with UCRT 51817 runtime 51818 Solution: Comment out the code, do not use _wstat(). 51819 51820 Patch 9.1.2004 51821 Problem: MS-Windows: If a directory with a single character name is 51822 included in the PATH environment variable without a trailing 51823 path separator, executable() will not be able to find the 51824 executable file under it. 51825 Solution: The second argument of the after_pathsep() function is now 51826 passed the next pointer where a path separator may exist 51827 (Muraoka Taro). 51828 51829 Patch 9.1.2005 51830 Problem: MS-Windows: Missing fullscreen support for GUI version 51831 Solution: Add "s" flag to guioptions (Mao-Yining) 51832 51833 Patch 9.1.2006 51834 Problem: ANSI escape colors are not displayed correctly in 51835 non-termguicolors in vim (cli) on Windows. The red and blue 51836 channels seem to be swapped. 51837 Cause: When converting VTerm ANSI index colors to cterm colors in 51838 terminal.c, the Windows case equivalent to NR-16 (:help 51839 cterm-colors) is ignored. 51840 Solution: Created and used a table to convert ANSI indexed colors to 51841 cterm's NR-16 representation (Windows only). This table 51842 corresponds to the inverse conversion of cterm_ansi_idx in 51843 term.c. The values in both tables are exactly the same, but 51844 the meanings are opposite, so they are separate tables 51845 (Muraoka Taro). 51846 51847 Patch 9.1.2007 51848 Problem: bpftrace files are not recognized from the hashbang line. 51849 Solution: Add a hashbang check (Stanislaw Gruszka). 51850 51851 Patch 9.1.2008 51852 Problem: filetype: hylo files are not recognized 51853 Solution: Detect *.hylo files as hylo filetype (Ambrus Tóth). 51854 51855 Patch 9.1.2009 51856 Problem: tests: "Xm4" test directory may not be deleted 51857 Solution: Use "R" flag with mkdir() call to have the directory 51858 recursively deleted at the end of function Test_m4_format() 51859 (Muraoka Taro). 51860 51861 Patch 9.1.2010 51862 Problem: Missing out-of-memory checks in vim9class.c (after v9.1.2000). 51863 Solution: Return FAIL early (John Marriott). 51864 51865 Patch 9.1.2011 51866 Problem: crash when unreferencing gtk icon theme 51867 (noamhalevy-wq, after v9.1.1583) 51868 Solution: Remove the g_object_unref() call. 51869 51870 Patch 9.1.2012 51871 Problem: Vim9: cannot initialize class member with protected var 51872 Solution: Allow this to work if this happens within the same class 51873 (Foxe Chen). 51874 51875 Patch 9.1.2013 51876 Problem: tests: When opening a conpty terminal, if process startup 51877 fails, it will silently exit. As a result, the 51878 Test_terminal_shell_option in test_terminal3.vim failed in 51879 conpty. 51880 Solution: Make conpty fail with an error messages in the same way as winpty 51881 (Muraoka Taro). 51882 51883 Patch 9.1.2014 51884 Problem: clipboard: clipboard register corrupted with clipboard 51885 provider (Satoru Kitaguchi and mikoto2000 after v9.1.1972) 51886 Solution: Only adjust clipboard register points to the unnamed register 51887 (Foxe Chen). 51888 51889 Patch 9.1.2015 51890 Problem: blob2string() stopped after an empty line 51891 Solution: Specifically check for empty content (Foxe Chen). 51892 51893 Patch 9.1.2016 51894 Problem: At "if(0) do if(0); while(0); else", else should be aligned 51895 with outer if, but is aligned with inner if. 51896 Solution: In function find_match, ignore "if" and "else" inside a 51897 do-while loop, when looking for "if". (Anttoni Erkkilä). 51898 51899 Patch 9.1.2017 51900 Problem: getregionpos() depends on 'linebreak' setting 51901 Solution: Reset linebreak setting temporarily (McAuley Penney). 51902 51903 Patch 9.1.2018 51904 Problem: proto: ops.pro outdated (after v9.1.2017) 51905 Solution: Regenerate the ops.pro proto file (Tao). 51906 51907 Patch 9.1.2019 51908 Problem: When virtualedit is set to all, the cursor is supposed to be 51909 permitted to reside anywhere, including on the virtual space 51910 beyond the end of the buffer's text. Switching modes triggered 51911 a routine that "fixed" a cursor that was past the end of the 51912 line by shifting it back to the last actual character in the 51913 line and compensating with a virtual column offset. While 51914 visually identical, this re-encoding changed the underlying 51915 byte index, causing position-reporting functions to return 51916 inconsistent values after a mode change. 51917 Solution: Skip this coordinate adjustment when virtual editing is fully 51918 enabled. By treating the line terminator as a valid, stable 51919 position, the cursor’s internal representation remains 51920 unchanged when entering or exiting Visual mode, ensuring 51921 consistent coordinate reporting. Add a regression test to 51922 check this functionality (McAuley Penney). 51923 51924 Patch 9.1.2020 51925 Problem: tests: test_virtualedit.vim leaves swapfiles behind 51926 Solution: Close open buffers using :bw! instead of :close! 51927 51928 Patch 9.1.2021 51929 Problem: filetype: fluent files are not recognized 51930 Solution: Detect *.ftl files as fluent filetype (ners). 51931 51932 Patch 9.1.2022 51933 Problem: Compilation issues on Windows when VIM 51934 is compiled with OLE enabled, as "if_ole.cpp" cannot compile 51935 due to the keyword conflict (after v9.1.2012). 51936 Solution: Rename the member variable of `exarg` from `class` to `ea_class`. 51937 (Wei Tang) 51938 51939 Patch 9.1.2023 51940 Problem: A BufAdd autocommand may cause alist_add() to use freed 51941 memory, this is caused by the w_locked variable unset too 51942 early (henices) 51943 Solution: In trigger_undo_ftplugin() only set w_locked to false, if it 51944 was false when calling the function. 51945 51946 Patch 9.1.2024 51947 Problem: 'fsync' option cannot be set per buffer 51948 Solution: Make 'fsync' option global-local (glepnir). 51949 51950 Patch 9.1.2025 51951 Problem: Conpty terminal process may not start. 51952 Solution: Do not close the input handle at EOF when conpty is in use 51953 (Muraoka Taro). 51954 51955 Patch 9.1.2026 51956 Problem: tests: Patch 9.1.2019 not tested properly. 51957 Solution: Add missing :exe (zeertzjq). 51958 51959 Patch 9.1.2027 51960 Problem: filetype: bicep filetype used for 2 bicep file types 51961 Solution: Detect *.bicepparam files as bicep-param filetype, include 51962 new bicep-params and bicep filetype plugin (Scott McKendry). 51963 51964 Patch 9.1.2028 51965 Problem: Buffer overflow in buf_write() when converting incomplete 51966 multi-byte characters (Kevin Goodsell) 51967 Solution: Make the buffer slightly larger. 51968 51969 Patch 9.1.2029 51970 Problem: tests: the test_vim9_class.vim testfile is too long 51971 Solution: Split out the interface related test cases into a new 51972 test file test_vim9_interface.vim (Yegappan Lakshmanan). 51973 51974 Patch 9.1.2030 51975 Problem: inefficient use of ga_concat() 51976 Solution: Use ga_concat_len() when length is known (John Marriott). 51977 51978 Patch 9.1.2031 51979 Problem: Makefile: cannot run make installinks twice 51980 Solution: Change "ln -s" to "ln -sf" to force creation of the symlinks 51981 (Thomas Petazzoni). 51982 51983 Patch 9.1.2032 51984 Problem: Vim9: error when using class member in Lambda 51985 Solution: Compare against uf_defclass variable (Foxe Chen). 51986 51987 Patch 9.1.2033 51988 Problem: tests: Test_terminal_cwd in test_terminal.vim fails flaky 51989 in the Windows ConPTY terminal. 51990 Solution: In ConPTY, the timeout is extended to 1msec when reading a 51991 channel associated with a job that is about to finish. This 51992 allows Vim to read the last output of a process in a pseudo 51993 console. Add comments to make the reasoning clear (Muraoka Taro). 51994 51995 Patch 9.1.2034 51996 Problem: filetype: Fennel fnml files are not recognized (Alexei Mozaidze) 51997 Solution: Detect *.fnml files as fennel filetype. 51998 51999 Patch 9.1.2035 52000 Problem: filetype: Fennel fnlm files are not recognized 52001 (Alexei Mozaidze, after v9.1.2034) 52002 Solution: Detect *.fnlm files as fennel filetype, revert detecting 52003 *.fnml files 52004 52005 Patch 9.1.2036 52006 Problem: if_ruby: build error with ruby 4.0 (Mamoru Tasaka) 52007 Solution: Always define rb_check_typeddata (EnumDev). 52008 52009 Patch 9.1.2037 52010 Problem: undo: cursor position not correctly restored 52011 Solution: Do not override the saved cursor position (altermo). 52012 52013 Patch 9.1.2038 52014 Problem: tests: test_marks.vim leaves swapfiles behind 52015 Solution: Close open buffers using :bw! instead of :close! 52016 52017 Patch 9.1.2039 52018 Problem: if_ruby: crash when using Ruby/dyn 4.0 (after v9.1.2036) 52019 Solution: Fix Ruby 4.0 dynamic builds correctly by inlining 52020 rb_check_typeddata (Yee Cheng Chin) 52021 52022 Patch 9.1.2040 52023 Problem: :tlnumenu incorrectly accepts a range. 52024 Solution: Remove EX_RANGE and EX_ZEROR from the command definition and 52025 use ADDR_NONE (Doug Kearns). 52026 52027 Patch 9.1.2041 52028 Problem: tests: test_menu.vim leaves swapfiles behind 52029 Solution: Close open buffers using :bw! instead of :close! 52030 52031 Patch 9.1.2042 52032 Problem: filetype: systemd quadlet files are not recognized 52033 Solution: Detect additional patterns as systemd filetype (Ac5000). 52034 52035 Patch 9.1.2043 52036 Problem: filetype: kos files are not reconized 52037 Solution: Detect *.kos files as kos filetype (Chris Dragan). 52038 52039 Patch 9.1.2044 52040 Problem: Inefficient use of ga_concat() 52041 Solution: Use ga_concat_len() when the length is already known to avoid 52042 use of strlen() (John Marriott). 52043 52044 Patch 9.1.2045 52045 Problem: Mac: Build failure with Mac OS X 10.6 52046 (Sergey Fedorov, after: v9.1.1748) 52047 Solution: Add ifdefs MAC_OS_X_VERSION_10_7 around the code that sets the 52048 scheduler priority. 52049 52050 Patch 9.1.2046 52051 Problem: MS-Windows: compile warnings in os_win32.c, 52052 acp_to_enc() requires char_u* but others require char* 52053 (John Marriott, after v9.1.2013) 52054 Solution: Cast the variables (Mao-Yining). 52055 52056 Patch 9.1.2047 52057 Problem: MS-Windows: style issue in gui_w32.c 52058 Solution: Fix indentation, drop unnecessary braces (Mao-Yining). 52059 52060 Patch 9.1.2048 52061 Problem: Pressing backspace in ConPTY on Windows deletes an entire 52062 word, not just a single character. This is the same as 52063 pressing Alt + backspace in cmd.exe. 52064 Solution: When using ConPTY on Windows, the `VTERM_KEY_BACKSPACE` key is 52065 now sent when the Backspace key or Ctrl+H is detected (Muraoka Taro) 52066 52067 Patch 9.1.2049 52068 Problem: Vim9: unexpected E1209 error 52069 Solution: Fix error message (Hirohito Higashi). 52070 52071 Patch 9.1.2050 52072 Problem: tests: Test_cd_completion() may fail depending on the contents 52073 of the root directory of the current drive on Windows. 52074 readdir() may return a directory that cannot "cd" to, causing 52075 this test to fail. An example of such a directory is 52076 "System Volume Information" which only admin can "cd" to. 52077 Solution: When determining the directory to use for testing, use the 52078 directory that we actually "cd" to successfully. 52079 In addition, directories with '$' in their names are also 52080 excluded, as they are considered environment variables during 52081 completion and do not work as expected (Muraoka Taro). 52082 52083 Patch 9.1.2051 52084 Problem: Test_cd_completion test fails in Appveyor. In Appveyor, a path 52085 containing spaces was selected as the test target. But the 52086 comparison failed because spaces were not taken into account 52087 (after v9.1.2050) 52088 Solution: Escape spaces in paths for comparison (Muraoka Taro). 52089 52090 Patch 9.1.2052 52091 Problem: Compile error when disabling linebreak feature 52092 Solution: Adjust ifdefs (Matthias Rader). 52093 52094 Patch 9.1.2053 52095 Problem: If another find.exe derived from findutils is installed on 52096 Windows, unintended behavior will occur. If MSYS2 is installed and 52097 prioritized over the system path, then find.exe derived from 52098 findutils will be launched during build, resulting in an 52099 unintended warning message. 52100 Solution: Specify the absolute path including SYSTEMROOT to launch 52101 find.exe (Muraoka Taro). 52102 52103 Patch 9.1.2054 52104 Problem: Can't unpack tuple from imported function (Mao-Yining) 52105 Solution: Support multi-variable assignment from a tuple returned by an 52106 imported function (Yegappan Lakshmanan). 52107 52108 Patch 9.1.2055 52109 Problem: Division by zero in :file after failing to wipe buffer 52110 (after 8.2.4631). 52111 Solution: Still call buf_clear_file() when failing to wipe buffer (zeertzjq). 52112 52113 Patch 9.1.2056 52114 Problem: tests: inconsistent indent and line breaking in Test_maparg(). 52115 Solution: Consistently use spaces-only indent. Reorder fields to group 52116 similar ones together and break lines at consistent positions. 52117 Remove a mapping when it is no longer used (zeertzjq). 52118 52119 Patch 9.1.2057 52120 Problem: Copying to clipboard register broken with 'go-P' (Coacher) 52121 Solution: Verify that clip_plus is available (Foxe Chen). 52122 52123 Patch 9.1.2058 52124 Problem: b_locked_split is not checked for :sbuffer, which allows 52125 autocommands to leave windows open to freed buffers. 52126 Solution: In do_buffer_ext, check just before possibly splitting, after 52127 handling 'switchbuf'. Leave win_split to handle the check for 52128 curbuf (Sean Dewar). 52129 52130 Patch 9.1.2059 52131 Problem: filetype: Nickel files are not recognized 52132 Solution: Detect *.ncl files as nickel filetype (Hoang Nguyen) 52133 52134 Patch 9.1.2060 52135 Problem: filetype: Rasi include files are not recognized 52136 Solution: Detect *.rasinc as rasi filetype (Hoang Nguyen). 52137 52138 Patch 9.1.2061 52139 Problem: filetype: Koka files are not recognized 52140 Solution: Detect *.kk files as koka filetype (Hoang Nguyen). 52141 52142 Patch 9.1.2062 52143 Problem: filetype: djot files are not recognized 52144 Solution: Detect *.dj and *.djot files as djot filetype (Hoang Nguyen). 52145 52146 Patch 9.1.2063 52147 Problem: A few typos in the code and runtime files 52148 Solution: Fix those (zeertzjq). 52149 52150 Patch 9.1.2064 52151 Problem: completion: segfault during file name completion 52152 Solution: Initialize compl_num_bests (Girish Palya). 52153 52154 Patch 9.1.2065 52155 Problem: When building GvimExt with MinGW, some DLLs are still linked 52156 even if STATIC_STDCPLUS=yes is set. 52157 Solution: Following the Vim core, make some libraries explicitly 52158 statically linked. The order of libraries is important, and 52159 gcc_eh must be placed before winpthread (Muraoka Taro). 52160 52161 Patch 9.1.2066 52162 Problem: :wqall! doesn't close a terminal buffer like :qall! does 52163 (after 8.0.1525). 52164 Solution: Check eap->forceit (zeertzjq). 52165 52166 Patch 9.1.2067 52167 Problem: shadow variable warning in menu.c 52168 Solution: Rename the variable (John Marriott). 52169 52170 Patch 9.1.2068 52171 Problem: :bdelete/bunload/bwipeout may attempt to switch to a closing 52172 buffer, which fails. (after 9.1.2058) 52173 Solution: Don't consider switching to closing buffers (Sean Dewar). 52174 52175 Patch 9.1.2069 52176 Problem: when shortmess doesn't have 'S', backward search wrap doesn't 52177 show the "W" before count. forward search works fine but 52178 backward fails because the position check logic is backwards - 52179 it checks if cursor < pos instead of using the existing 52180 wrapped flag. 52181 Solution: Use sia->sa_wrapped flag that searchit() already sets 52182 correctly (glepnir). 52183 52184 Patch 9.1.2070 52185 Problem: Autocomplete breaks ":help" when 'dict' points to a large file 52186 (lxhillwind) 52187 Solution: Reset autocompletion timer expiry flag (Girish Palya). 52188 52189 Patch 9.1.2071 52190 Problem: tests: test_ins_complete.vim leaves swapfiles behind 52191 Solution: Close open buffers using :bw! instead of :close! 52192 52193 Patch 9.1.2072 52194 Problem: Socket server has some small issues 52195 Solution: Fix issues (Foxe Chen). 52196 52197 Patch 9.1.2073 52198 Problem: auto/configure needs to be regenerated (after v9.1.2072) 52199 Solution: Run make autoconf and update the configure script. 52200 52201 Patch 9.1.2074 52202 Problem: Compile error with Motif GUI (Tony Mechelynck, after v9.1.2072) 52203 Solution: Add ifdef FEAT_GUI_GTK 52204 52205 Patch 9.1.2075 52206 Problem: tests: wrong change to test_ins_complete.vim 52207 (zeertzjq, after v9.1.2071) 52208 Solution: Revert unintentional changes. 52209 52210 Patch 9.1.2076 52211 Problem: tests: When running the MinGW test, an error occurs after 52212 generating opt_test.vim. 52213 Solution: Rewrite the error detection in cmd.exe syntax (Muraoka Taro). 52214 52215 Patch 9.1.2077 52216 Problem: Vim9: type issue when appending item to a list (Peter Kenny) 52217 Solution: When adding a new item at the end of a list in vim9script, use 52218 the proper item type (Yegappan Lakshmanan). 52219 52220 Patch 9.1.2078 52221 Problem: A few more typos in various files 52222 Solution: Fix those (zeertzjq, antonkesy). 52223 52224 Patch 9.1.2079 52225 Problem: use-after-free with 'quickfixtextfunc' wiping buffer (henices) 52226 Solution: Evaluate 'quickfixtextfunc' with textlock enabled. 52227 52228 Patch 9.1.2080 52229 Problem: W23/W24 messsage appears on :reg (Coacher) 52230 Solution: Silence message when using :reg command (Foxe Chen). 52231 52232 Patch 9.1.2081 52233 Problem: MS-Windows: "#ifdef FEAT_GUI" exists within "ifdef 52234 FEAT_GUI_MSWIN", which is confusing when reading the code. 52235 FEAT_GUI is always defined if FEAT_GUI_MSWIN is defined (see 52236 vim.h). Therefore, this check and the else block are unnecessary. 52237 Solution: Removed unnecessary "#ifdef FEAT_GUI" (Muraoka Taro). 52238 52239 Patch 9.1.2082 52240 Problem: modeless auto-select not working (Coacher) 52241 Solution: Add support for modeless autoselect (Foxe Chen). 52242 52243 Patch 9.1.2083 52244 Problem: style: wrong indentation of nested ifdefs 52245 Solution: Fix indentation (Hirohito Higashi). 52246 52247 Patch 9.1.2084 52248 Problem: Compile error when build with job feature (after v9.1.2077) 52249 Solution: Add ifdefs (John Marriott). 52250 52251 Patch 9.1.2085 52252 Problem: Use-after-free in winframe_remove() (henices) 52253 Solution: Set window_layout_locked() inside winframe_remove() 52254 and check that writing diff files is disallowed when the 52255 window layout is locked. 52256 52257 Patch 9.1.2086 52258 Problem: memory leak when not evaluating (just parsing) invalid literal 52259 dict. 52260 Solution: Always clear the key's typval (Sean Dewar) 52261 52262 Patch 9.1.2087 52263 Problem: Crash when using :tabonly in BufUnload. 52264 Solution: Set curbuf when setting curwin->w_buffer. Don't wipe out a 52265 buffer if there are no other buffers. Don't decrement 52266 b_nwindows if it was 0 before buf_freeall() (zeertzjq). 52267 52268 Patch 9.1.2088 52269 Problem: Redundant NULL checks in find_pattern_in_path(). 52270 Solution: Remove the NULL checks. Also fix typos in test_diffmode.vim 52271 (zeertzjq). 52272 52273 Patch 9.1.2089 52274 Problem: Wayland: Clipboard not working with external programs on 52275 Wayland (devsnek) 52276 Solution: Simplify the Wayland offer logic and drop offering the special 52277 mime type (Foxe Chen). 52278 52279 Patch 9.1.2090 52280 Problem: Last buffer not freed with EXITFREE (after 9.1.2087). 52281 Solution: Free the last buffer when inside free_all_mem() (zeertzjq). 52282 52283 Patch 9.1.2091 52284 Problem: Ruby headers define HAVE_FSYNC, which leaks into Vim sources 52285 on Windows and changes conditional compilation of buf_T. This 52286 causes struct layout mismatches in if_ruby.c and results in a 52287 different offset for the b_p_bl property, making Vim::Buffer 52288 access fail (after v9.1.2024) 52289 Solution: Undefine HAVE_FSYNC after including the Ruby headers. 52290 52291 Patch 9.1.2092 52292 Problem: Cannot detect kitty foreground/background color 52293 Solution: Update builtin termcap entries (Mateo Gjika). 52294 52295 Patch 9.1.2093 52296 Problem: heap-use-after-free when wiping buffer in TabClosedPre. 52297 Solution: Check window_layout_locked() when closing window(s) in another 52298 tabpage (zeertzjq). 52299 52300 Patch 9.1.2094 52301 Problem: filetype: tiger files are not recognized 52302 Solution: Detect *.tig files as tiger filetype (Christian Clason). 52303 52304 Patch 9.1.2095 52305 Problem: :wqall! doesn't quit when using :quit in BufWritePost 52306 (after 8.0.1190). 52307 Solution: Restore old value of "exiting" when calling not_exiting() 52308 instead of always resetting it to FALSE (zeertzjq). 52309 52310 Patch 9.1.2096 52311 Problem: Vim9: truthiness issue with objects (kennypete) 52312 Solution: Return true for an non-null object (Yegappan Lakshmanan). 52313 52314 Patch 9.1.2097 52315 Problem: TabClosedPre may be triggered twice for the same tab page when 52316 closing another tab page in BufWinLeave (after 9.1.1211). 52317 Solution: Store whether TabClosedPre was triggered in tabpage_T (zeertzjq). 52318 52319 Patch 9.1.2098 52320 Problem: Crash with 'wildmenu' when typing Ctrl-Y after Ctrl-A 52321 (after 9.1.1714) (fizz-is-on-the-way). 52322 Solution: Check if there are matches before applying one (zeertzjq). 52323 52324 Patch 9.1.2099 52325 Problem: Depending on the worker's environment, the line endings in 52326 ja.sjis.po may differ from those in the source ja.po. 52327 Solution: By setting standard input and output to binary mode, the line 52328 endings for input and output will match (Muraoka Taro) 52329 52330 Patch 9.1.2100 52331 Problem: filetype: tiltfiles are not recognized 52332 Solution: Detect Tiltfiles.* and *.tiltfiles as tiltfile filetype (Luis Davim) 52333 52334 Patch 9.1.2101 52335 Problem: Vim9: more truthiness issues (kennypete) 52336 Solution: Class, enum and typealias cannot be used with the falsy 52337 operator (Yegappan Lakshmanan). 52338 52339 Patch 9.1.2102 52340 Problem: foldtext not reversed and cut off in 'rightleft' mode (bfredl) 52341 Solution: Fix the rightleft redrawing logic (Sergey Vlasov). 52342 52343 Patch 9.1.2103 52344 Problem: tests: test_fold.vim leaves swapfiles behind 52345 Solution: Close open buffer using :bw! instead of :close! 52346 52347 Patch 9.1.2104 52348 Problem: readdirex() might be slow (Mao-Yining) 52349 Solution: Avoid double slash in path concatenation in create_readdirex_item() 52350 (Yasuhiro Matsumoto). 52351 52352 Patch 9.1.2105 52353 Problem: Not enough tests for using plain_vgetc(). 52354 Solution: Add tests for using plain_vgetc() during various commands (zeertzjq) 52355 52356 Patch 9.1.2106 52357 Problem: Vim9: class, enum and type alias can be used as value in an 52358 expression (kennypete) 52359 Solution: Abort expression evaluation if class, enum or type alias is 52360 used in an expression (Yegappan Lakshmanan). 52361 52362 Patch 9.1.2107 52363 Problem: :normal may change cmdline history if the keys don't 52364 explicitly leave Cmdline mode (after 9.1.1872). 52365 Solution: Check ex_normal_busy (zeertzjq). 52366 52367 Patch 9.1.2108 52368 Problem: Test_foldtextresult_rightleft() does not restore 'columns' 52369 (after v9.1.2102) 52370 Solution: Save and restore the value of 'columns' (zeertzjq). 52371 52372 Patch 9.1.2109 52373 Problem: filetype: NetLinx fires are not recognized 52374 Solution: Detect *.axs and *.axi as netlinx filetype (kb). 52375 52376 Patch 9.1.2110 52377 Problem: filetype: skhd files are not recognized 52378 Solution: Detect .skhdrc and skhdrc as skhd filetype, include a syntax and 52379 filetype plugin, add syntax tests (Kiyoon Kim). 52380 52381 Patch 9.1.2111 52382 Problem: Vim9: no error for elseif/else after else 52383 Solution: Report an error (Hirohito Higashi). 52384 52385 Patch 9.1.2112 52386 Problem: long statusline may crash if using singlebyte encoding 52387 (fizz-is-on-the-way) 52388 Solution: Drop the non-mbyte codepath and always use the mbyte code (zeertzjq) 52389 52390 Patch 9.1.2113 52391 Problem: potential NULL pointer dereference issues (EpheraXun) 52392 Solution: Check returned pointer to be non NULL (Yasuhiro Matsumoto). 52393 52394 Patch 9.1.2114 52395 Problem: modeless selection not copied to * register when P in 52396 guioptions (Coacher) 52397 Solution: Make the "P" flag override the "a" and "A" flag (Foxe Chen). 52398 52399 Patch 9.1.2115 52400 Problem: CI: wrong preprocessor indentation (after v9.1.2114) 52401 Solution: Update indentation (Yasuhiro Matsumoto). 52402 52403 Patch 9.1.2116 52404 Problem: crash when using 'tagfunc' (Rodrigo Queipo) 52405 Solution: Do not add the user_data to the 'info' dictionary when called 52406 for insert mode completion (the TAG_INS_COMP flag is set). 52407 Completion should not depend on the state of a previous tag 52408 jump (Yasuhiro Matsumoto). 52409 52410 Patch 9.1.2117 52411 Problem: unnecessary braces in terminal.c 52412 (Christ van Willegen, after v9.1.2113) 52413 Solution: Remove braces. 52414 52415 Patch 9.1.2118 52416 Problem: 'cursorline' and part of 'statusline' are missing after 52417 :diffput to an empty buffer. 52418 Solution: Make sure the cursor doesn't go beyond the last line after 52419 :diffput (zeertzjq). 52420 52421 Patch 9.1.2119 52422 Problem: tests: Test_language_cmd fails on OpenBSD because the test 52423 uses an invalid locale name and expects the command to produce 52424 an error. OpenBSD accepts (almost) any locale name as valid by 52425 design, so the :lang command succeeds and the test fails. 52426 Solution: Slightly update the "bad" locale name to make it something 52427 that OpenBSD considers invalid by adding a dot (but not ending 52428 with ".UTF-8"). Maintain the original two underscores in the 52429 name because that ensures Windows will also see it as invalid 52430 (Kevin Goodsell). 52431 52432 Patch 9.1.2120 52433 Problem: blob2str() does not restore trailing newline 52434 Solution: Append empty string (thinca). 52435 52436 Patch 9.1.2121 52437 Problem: Vim9: type issue when modifying a variable using :legacy 52438 (kennypete) 52439 Solution: In a vim9 script, when modifying a variable using the legacy 52440 command, check the type (Yegappan Lakshmanan). 52441 52442 Patch 9.1.2122 52443 Problem: Vim9: Negating a float doesn't result in a boolean (kennypete) 52444 Solution: Make it return a boolean (Yegappan Lakshmanan). 52445 52446 Patch 9.1.2123 52447 Problem: using NOT with a float returns a float in legacy vim script 52448 (kennypete) 52449 Solution: Return a number instead of a float (Yegappan Lakshmanan). 52450 52451 Patch 9.1.2124 52452 Problem: blob2str() does not handle UTF-16 encoding (Hirohito Higashi) 52453 Solution: Refactor the code and fix remaining issues, see below 52454 (Yasuhiro Matsumoto). 52455 52456 Patch 9.1.2125 52457 Problem: MS-Windows: DirectX rendering can be improved 52458 Solution: Use lpDx advance, fix vertical text shift and correct 52459 font-size calculations (Yasuhiro Matsumoto). 52460 52461 Patch 9.1.2126 52462 Problem: vim --version used single column for feature list 52463 (Ben Knoble, after v9.1.1898) 52464 Solution: Restore old behaviour and assume 80 columns, making sure the feature 52465 list is shown in several columns (Ben Knoble, Hirohito Higashi). 52466 52467 Patch 9.1.2127 52468 Problem: MS-Windows: DirectX renders font too small in comparison to 52469 the GDI rendering (Linwei, after v9.1.2125) 52470 Solution: Implement proper font clipping (Yasuhiro Matsumoto). 52471 52472 Patch 9.1.2128 52473 Problem: heap UAF if autocommands from reloading a file changed outside 52474 of Vim wipe its buffer. 52475 Solution: Validate the bufref after buf_reload (Sean Dewar). 52476 52477 Patch 9.1.2129 52478 Problem: MS-Windows: font size calculation slightly wrong, causing 52479 vertical line gaps (Maxim Kim, after v9.1.2127) 52480 Solution: Update font size calculation when using DirectX 52481 (Yasuhiro Matsumoto). 52482 52483 Patch 9.1.2130 52484 Problem: Page scrolling in Insert mode beeps (after 9.1.0211). 52485 Solution: Fix incorrect return value of pagescroll(). Also invert the 52486 return value of scroll_with_sms() to be less confusing and 52487 match comments (zeertzjq). 52488 52489 Patch 9.1.2131 52490 Problem: tests: Test_diff_screen() fails on BSD 52491 Solution: Use gdiff on BSD systems if available (zeertzjq). 52492 52493 Patch 9.1.2132 52494 Problem: [security]: buffer-overflow in 'helpfile' option handling by 52495 using strcpy without bound checks (Rahul Hoysala) 52496 Solution: Limit strncpy to the length of the buffer (MAXPATHL) 52497 52498 Patch 9.1.2133 52499 Problem: Another case of buffer overflow with 'helpfile'. 52500 Solution: Leave room for "tags" in the buffer (zeertzjq). 52501 52502 Patch 9.1.2134 52503 Problem: Terminal doesn't handle split UTF-8 sequence after ASCII. 52504 Solution: Only use one UTF-8 encoding state per vterm state (zeertzjq). 52505 52506 Patch 9.1.2135 52507 Problem: search() is used to check for the message from tar that 52508 indicates leading slashes found in the tar archive, or to 52509 check for the leading slashes themselves. However, if 52510 'nowrapscan' is in effect these searches are limited to the 52511 last line and don't find any results. This causes the warning 52512 message from tar to be seen in the buffer, the "Path Traversal 52513 Attack Detected" message to be omitted, and editing actions 52514 can fail. This can be seen, for example, when editing 52515 src/testdir/samples/evil.tar. 52516 Solution: Use the 'w' flag for search() (Kevin Goodsell) 52517 52518 Patch 9.1.2136 52519 Problem: :tab sbuffer may close old tabpage if BufLeave autocommand 52520 splits window (after 9.1.0143). 52521 Solution: Only close other windows if the buffer will be unloaded (zeertzjq). 52522 52523 Patch 9.1.2137 52524 Problem: Some tests are not valid on OpenBSD. 52525 Solution: Add CheckNotOpenBSD, use it to skip certain tests 52526 (Kevin Goodsell). 52527 52528 Patch 9.1.2138 52529 Problem: With 'autochdir' win_execute() can corrupt the buffer name, causing 52530 :write to use wrong path. 52531 Solution: Save and restore b_fname when 'autochdir' is active (Ingo Karkat). 52532 52533 Patch 9.1.2139 52534 Problem: Buffer overflow in :wlrestore command, caused by assuming 52535 wrong buffer length in vwl_log_handler() (Seungyeon Park) 52536 Solution: Use correct buffer size (512 bytes) in vim_vsnprintf() 52537 to properly truncate long messages. 52538 52539 Patch 9.1.2140 52540 Problem: tests: Test_wayland_protocol_error_overflow() fails 52541 (after v9.1.2139) 52542 Solution: try/catch the expected error 52543 52544 Patch 9.1.2141 52545 Problem: Truncation when serializing libsodium encryption parameters. 52546 Solution: Correctly cast to long long type (Yasuhiro Matsumoto). 52547 52548 Patch 9.1.2142 52549 Problem: MS-Windows: mouse scroll events not handled for popups 52550 Solution: Do not return early (Mao-Yining) 52551 52552 Patch 9.1.2143 52553 Problem: When a popup window partially overlaps a wide character 52554 it results in truncated or garbage display. 52555 Solution: When a wide character is partially blocked by a popup, clear both 52556 cells in the screen buffer to prevent garbage (Yasuhiro Matsumoto). 52557 52558 Patch 9.1.2144 52559 Problem: When garbage collection runs, the list of recorded buffer 52560 changes may be incorrectly freed (Sainnhe Park). 52561 Solution: In garbage_collect(), iterate through all buffers and call 52562 set_ref_in_list() for b_recorded_changes to ensure the list 52563 and its contents are marked as reachable (Paul Ollis). 52564 52565 Patch 9.1.2145 52566 Problem: intstalltutor Makefile target does not create the tutor/sv dir 52567 Solution: Add the missing mkdir() calls to the Makefile (Ross Burton) 52568 52569 Patch 9.1.2146 52570 Problem: filetype: cel files are not recognized 52571 Solution: Detect *.cel files as cel filetype (Stefan VanBuren). 52572 52573 Patch 9.1.2147 52574 Problem: Compile warning in strings.c 52575 Solution: Use const qualifier (John Marriott). 52576 52577 Patch 9.1.2148 52578 Problem: [security]: Buffer overflow in netbeans special_keys() handling 52579 Solution: Limit writing to max KEYBUFLEN bytes to prevent writing out of 52580 bounds. 52581 52582 ============================================================================== 52583 VERSION 9.3 *version-9.3* *version9.3* *vim-9.3* 52584 52585 This section is about improvements made between version 9.2 and 9.3 and is 52586 work in progress. 52587 52588 GUI ~ 52589 ----- 52590 - Added experimental support for the GTK 4 GUI (via patch 9.2.0501 and many 52591 following), enable with `--enable-gui=gtk4` configure switch at build time. 52592 - Add support for fullscreen mode in the GTK UI |'go-s'|. 52593 - Enable native printing dialog for the GTK4 UI using Pango library, see 52594 |pango-printing|. 52595 52596 Popups ~ 52597 ------ 52598 - Support for transparency, see |popup-opacity|. 52599 - 'previewpopup' supports the same values as 'completepopup' (except for 52600 "align"). 52601 - Support "opacity" setting for 'completepopup' option. 52602 - Support for clipping textproperty popups |popup-clipwindow|. 52603 - Completion popup menu can be scrolled with the mouse or using keys 52604 |popupmenu-keys|. 52605 - Support for loading images in popups using the cairo, GDI, kitty, or sixel 52606 backend |popup-image|. 52607 52608 Diff mode ~ 52609 --------- 52610 When using inline word diffs, adjacent changes are now merged if the gap 52611 between them is small (5 bytes or less) and contains only non-word characters. 52612 This prevents fragmented highlighting when only whitespace or punctuation 52613 separates changes. 52614 52615 Restricted mode ~ 52616 --------------- 52617 Using external diff mode or setting environment variables is no longer allowed 52618 when Vim is running in |restricted-mode|. 52619 52620 Using |:cscope| is no longer allowed. 52621 52622 Commands ~ 52623 -------- 52624 - |:command-completion-customlist| can return a list of dictionaries with 52625 kind/menu/info/abbr for the popup menu. 52626 - New argument handling for user commands |:command-nargs| using the "-nars=_" 52627 attribute to handle completion of single arguments with spaces as expected. 52628 - New :command attribute |:command-completeopt| escapes spaces in 52629 custom completion matches so they survive as a single argument. 52630 52631 Other ~ 52632 ----- 52633 - The new |xdg.vim| script for full XDG compatibility is included. 52634 - |ConPTY| support is considered stable as of Windows 11. 52635 - Support for "dap" channel mode for the |debug-adapter-protocol|. 52636 - |status-line| can use several lines, see 'statuslineopt'. 52637 - New "leadtab" value for the 'listchars' setting. 52638 - Improved |:set+=|, |:set^=| and |:set-=| handling of comma-separated "key:value" 52639 pairs individually (e.g. 'listchars', 'fillchars', 'diffopt'). 52640 - The |:TOhtml| command has been completely rewritten in Vim9 script, improving 52641 performance and maintainability. 52642 - |system()| and |systemlist()| functions accept a list as first argument, 52643 bypassing the shell completely. 52644 - Allow mouse clickable regions in the 'statusline', 'tabline' and the 52645 'tabpanel' using the |stl-%[FuncName]| atom. 52646 - Enable reflow support in the |:terminal|. 52647 - Enabled scrolling for the tabpanel when the tab page list exceeds the screen 52648 height. Also added the "scrollbar" sub-option to 'tabpanelopt'. 52649 - Added the "noinsert" value to the 'wildmode' option for symmetry with the 52650 'completeopt' option 52651 - Channel can handle |Blob| messages |channel-open-options|. 52652 - Added the "u" flag to 'shortmess' to silence undo/redo messages: |shm-u| 52653 - |C-indenting| detects comments better. 52654 - The |%| command skips parens inside comments when 'comments' defines 52655 C-style "//" or "/*" comments. 52656 - The |package-hlyank| can now optionally highlight the last put region as 52657 well. 52658 - Support %0{} in 'statusline' to insert the expression result verbatim and 52659 not drop leading spaces |stl-%0{|. 52660 - Generated Session and View files are written in Vim9 script, see |:mksession|, 52661 |:mkview| and |:mkvimrc| 52662 - The "term_finish" option of term_start() supports a "noclose" value. 52663 - Control Vim via a channel using stdin/stdout |channel-stdio|. 52664 - 'tagfunc' is now also used for :tag completion. 52665 52666 Platform specific ~ 52667 ----------------- 52668 - support OpenType font features in 'guifont' for DirectWrite (Win32) 52669 - Include strptime() fallback for MS-Windows 52670 - The NSIS installer has been reworked (Win32): 52671 - Support per-user and per-machine install. 52672 - Change the install directory structure. 52673 - Replace the batch files with the Vim launchers. 52674 - Support adding the Vim directory to PATH. 52675 - Support selecting install components from the command line options. 52676 - Move the source code to the vim/vim-win32-installer repository. 52677 52678 xxd ~ 52679 --- 52680 Add "-t" option to append a terminating NUL byte to C include output (-i). 52681 52682 *changed-9.3* 52683 Changed ~ 52684 ------- 52685 - Support for NeXTStep was dropped with patch v9.2.0122 52686 - |json_decode()| is stricter: keywords must be lowercase, lone surrogates are 52687 now invalid 52688 - |js_decode()| rejects lone surrogates 52689 - virtual text properties on lines deleted by a multi-line substitute 52690 are moved to the resulting joined line instead of being dropped. 52691 - Only a few whitelisted options are allowed to be set by a modeline to 52692 improve overall security, see for details: 'modelinestrict' 52693 - Removed the Wayland focus steal feature 'wlsteal', since it causes too many 52694 issues and can now be re-implemted using the |clipboard-providers| feature 52695 if needed, see |wayland-primary-selection| for an example. 52696 - On Unix, filename completion for single-file Ex commands now treats embedded 52697 whitespace as part of the filename, like on other platforms. 52698 - Rewrite the clientserver socketserver backend to use channels and JSON. 52699 - During |complete()|-triggered completion, CTRL-N and CTRL-P are now subject 52700 to insert-mode mappings. 52701 - It is possible to clear the alternate file register |quote#|. 52702 - |serverlist()| can return a list of all available server names. 52703 - Improve visual appearance when the terminal does not support colors. 52704 - Improve diff highlighting for terminals with 256 or less colors. 52705 - |listener_add()| accepts a Dictionary of options and can include the 52706 resulting text of a change |listener-text|. 52707 - |extend()| and |extendnew()| also accept |Blobs|. 52708 - events like |CursorMoved| are no longer triggered for what happened while 52709 they were ignored with 'eventignore'. 52710 - |ch_sendexpr()| accepts a non-Number "id" in "lsp" mode when no response is 52711 expected, so a request from the server can be answered. 52712 - |complete_info()| can distinguish between manual and automatic triggered 52713 completions via the "auto" item. 52714 - fold functions take an optional {winid} parameter. 52715 - It is no longer allowed to change the window layout during a |DiffUpdated| 52716 autocommand. 52717 - The highlighting groups |hl-CursorLineFold| and |hl-CursorLineSign| are 52718 always used when 'cursorline' is set. 52719 - Virtual text above a line is now counted by |screenpos()| and |virtcol()|. 52720 52721 *added-9.3* 52722 Added ~ 52723 ----- 52724 Various syntax, indent and other plugins were added. 52725 52726 Functions: ~ 52727 52728 |ch_listen()| listen on {address} 52729 |getbgcolor()| return background color as RGB value 52730 |getinfo()| get definition of argument 52731 |image_add()| add an image and return a handle 52732 |image_discard()| discard an image handle 52733 |image_info()| get information about an image 52734 |tabpanel_getinfo()| get current state of the |tabpanel| 52735 |tabpanel_scroll()| scroll the |tabpanel| 52736 52737 Autocommands: ~ 52738 52739 |SessionLoadPre| before loading a |Session| file 52740 |TextPutPost| after putting text 52741 |TextPutPre| before putting text 52742 52743 Options: ~ 52744 52745 'imageprotocol' Image backend to use for what terminal 52746 'modelinestrict' Only allow safe options to be set from a modeline. 52747 'pumopt' Additional options for the popup menu. 52748 'scrolloffpad' Vertically center cursor at end of file. 52749 'statuslineopt' Extra window-local options for the 'statusline', to 52750 configure the height. 52751 't_BS' Begin synchronized update. 52752 't_ES' End synchronized update. 52753 'tagsecure' Do not open remote files using tag commands 52754 'termresize' Method for handling terminal resize events. 52755 'termsync' Enable support for terminal DEC 2026 sync mode. 52756 'winhighlight' Window-local highlight group mappings. 52757 52758 Highlighting: ~ 52759 52760 |hl-VertSplitNC| Column separator of non-current window. 52761 |hl-Popup| Popup window body. 52762 |hl-PopupBorder| Popup window border. 52763 |hl-PopupTitle| Popup window title. 52764 52765 Vim Variables: ~ 52766 52767 |v:imagebackend| The current 'imageprotocol' 52768 52769 Vim Arguments: ~ 52770 52771 |--stdio-channel| Control Vim via a channel using stdin/stdout 52772 |channel-stdio| 52773 52774 Configure Switches: ~ 52775 52776 --enable-hardcopy-pango Enable the Pango |:hardcopy| backend |pango-printing| 52777 --enable-pixman Enable the Pixman library for image handling 52778 52779 ============================================================================== 52780 PATCHES *patches-9.3* *bug-fixes-9.3* 52781 *patches-after-9.2* 52782 52783 vim:tw=78:ts=8:noet:ft=help:norl:fdm=manual:nofoldenable