1*version8.txt* For Vim version 8.1. Last change: 2019 Dec 04 2 3 4 VIM REFERENCE MANUAL by Bram Moolenaar 5 6 7 *vim8* *vim-8* *version-8.0* *version8.0* 8Welcome to Vim 8! A large number of bugs have been fixed and several nice 9features have been added. This file mentions all the new items and changes to 10existing features since Vim 7.4. The patches up to Vim 7.4 can be found here: 11|vim-7.4|. 12 13Use this command to see the full version and features information of the Vim 14program you are using: > 15 :version 16 17NEW FEATURES |new-8| 18 Vim script enhancements |new-vim-script-8| 19 Various new items |new-items-8| 20 21INCOMPATIBLE CHANGES |incompatible-8| 22 23IMPROVEMENTS |improvements-8| 24 25COMPILE TIME CHANGES |compile-changes-8| 26 27PATCHES |patches-8| 28 29VERSION 8.1 |version-8.1| 30Changed |changed-8.1| 31Added |added-8.1| 32Patches |patches-8.1| 33 34VERSION 8.2 |version-8.2| 35Changed |changed-8.2| 36Added |added-8.2| 37Patches |patches-8.2| 38 39 40See |vi_diff.txt| for an overview of differences between Vi and Vim 8.0. 41See |version4.txt|, |version5.txt|, |version6.txt| and |version7.txt| for 42differences between other versions. 43 44============================================================================== 45NEW FEATURES *new-8* 46 47First an overview of the more interesting new features. A comprehensive list 48is below. 49 50 51Asynchronous I/O support, channels ~ 52 53Vim can now exchange messages with other processes in the background. This 54makes it possible to have servers do work and send back the results to Vim. 55See |channel-demo| for an example, this shows communicating with a Python 56server. 57 58Closely related to channels is JSON support. JSON is widely supported and can 59easily be used for inter-process communication, allowing for writing a server 60in any language. The functions to use are |json_encode()| and |json_decode()|. 61 62This makes it possible to build very complex plugins, written in any language 63and running in a separate process. 64 65 66Jobs ~ 67 68Vim can now start a job, communicate with it and stop it. This is very useful 69to run a process for completion, syntax checking, etc. Channels are used to 70communicate with the job. Jobs can also read from or write to a buffer or a 71file. See |job_start()|. 72 73 74Timers ~ 75 76Also asynchronous are timers. They can fire once or repeatedly and invoke a 77function to do any work. For example: > 78 let tempTimer = timer_start(4000, 'CheckTemp') 79This will call the CheckTemp() function four seconds (4000 milli seconds) 80later. See |timer_start()|. 81 82 83Partials ~ 84 85Vim already had a Funcref, a reference to a function. A partial also refers 86to a function, and additionally binds arguments and/or a dictionary. This is 87especially useful for callbacks on channels and timers. E.g., for the timer 88example above, to pass an argument to the function: > 89 let tempTimer = timer_start(4000, function('CheckTemp', ['out'])) 90This will call CheckTemp('out') four seconds later. 91 92 93Lambda and Closure ~ 94 95A short way to create a function has been added: {args -> expr}. See |lambda|. 96This is useful for functions such as `filter()` and `map()`, which now also 97accept a function argument. Example: > 98 :call filter(mylist, {idx, val -> val > 20}) 99 100A lambda can use variables defined in the scope where the lambda is defined. 101This is usually called a |closure|. 102 103User defined functions can also be a closure by adding the "closure" argument 104|:func-closure|. 105 106 107Packages ~ 108 109Plugins keep growing and more of them are available than ever before. To keep 110the collection of plugins manageable package support has been added. This is 111a convenient way to get one or more plugins, drop them in a directory and 112possibly keep them updated. Vim will load them automatically, or only when 113desired. See |packages|. 114 115 116New style tests ~ 117 118This is for Vim developers. So far writing tests for Vim has not been easy. 119Vim 8 adds assert functions and a framework to run tests. This makes it a lot 120simpler to write tests and keep them updated. Also new are several functions 121that are added specifically for testing. See |test-functions|. 122 123 124Window IDs ~ 125 126Previously windows could only be accessed by their number. And every time a 127window would open, close or move that number changes. Each window now has a 128unique ID, so that they are easy to find. See |win_getid()| and |win_id2win()|. 129 130 131Viminfo uses timestamps ~ 132 133Previously the information stored in viminfo was whatever the last Vim wrote 134there. Now timestamps are used to always keep the most recent items. 135See |viminfo-timestamp|. 136 137 138Wrapping lines with indent ~ 139 140The 'breakindent' option has been added to be able to wrap lines without 141changing the amount of indent. 142 143 144Windows: DirectX support ~ 145 146This adds the 'renderoptions' option to allow for switching on DirectX 147(DirectWrite) support on MS-Windows. 148 149 150GTK+ 3 support ~ 151 152The GTK+ 3 GUI works just like GTK+ 2 except for hardly noticeable technical 153differences between them. Configure still chooses GTK+ 2 if both 2 and 3 are 154available. See src/Makefile for how to use GTK+ 3 instead. See 155|gui-x11-compiling| for other details. 156 157 158Vim script enhancements *new-vim-script-8* 159----------------------- 160 161In Vim script the following types have been added: 162 163 |Special| |v:false|, |v:true|, |v:none| and |v:null| 164 |Channel| connection to another process for asynchronous I/O 165 |Job| process control 166 167Many functions and commands have been added to support the new types. 168 169On some systems the numbers used in Vim script are now 64 bit. This can be 170checked with the |+num64| feature. 171 172Many items were added to support |new-style-testing|. 173 174printf() now accepts any type of argument for %s. It is converted to a string 175like with string(). 176 177 178Various new items *new-items-8* 179----------------- 180 181Visual mode commands: ~ 182 183|v_CTRL-A| CTRL-A add N to number in highlighted text 184|v_CTRL-X| CTRL-X subtract N from number in highlighted text 185|v_g_CTRL-A| g CTRL-A add N to number in highlighted text 186|v_g_CTRL-X| g CTRL-X subtract N from number in highlighted text 187 188 189Insert mode commands: ~ 190 191|i_CTRL-G_U| CTRL-G U don't break undo with next cursor movement 192 193 194Cmdline mode commands: ~ 195 196|/_CTRL-G| CTRL-G move to the next match in 'incsearch' mode 197|/_CTRL-T| CTRL-T move to the previous match in 'incsearch' mode 198 199 200Options: ~ 201 202'belloff' do not ring the bell for these reasons 203'breakindent' wrapped line repeats indent 204'breakindentopt' settings for 'breakindent'. 205'emoji' emoji characters are considered full width 206'fixendofline' make sure last line in file has <EOL> 207'langremap' do apply 'langmap' to mapped characters 208'luadll' name of the Lua dynamic library 209'packpath' list of directories used for packages 210'perldll' name of the Perl dynamic library 211'pythondll' name of the Python 2 dynamic library 212'pythonthreedll' name of the Python 3 dynamic library 213'renderoptions' options for text rendering on Windows 214'rubydll' name of the Ruby dynamic library 215'signcolumn' when to display the sign column 216'tagcase' how to handle case when searching in tags files 217'tcldll' name of the Tcl dynamic library 218'termguicolors' use GUI colors for the terminal 219 220 221Ex commands: ~ 222 223|:cbottom| scroll to the bottom of the quickfix window 224|:cdo| execute command in each valid error list entry 225|:cfdo| execute command in each file in error list 226|:chistory| display quickfix list stack 227|:clearjumps| clear the jump list 228|:filter| only output lines that (do not) match a pattern 229|:helpclose| close one help window 230|:lbottom| scroll to the bottom of the location window 231|:ldo| execute command in valid location list entries 232|:lfdo| execute command in each file in location list 233|:lhistory| display location list stack 234|:noswapfile| following commands don't create a swap file 235|:packadd| add a plugin from 'packpath' 236|:packloadall| load all packages under 'packpath' 237|:smile| make the user happy 238 239 240Ex command modifiers: ~ 241 242|:keeppatterns| following command keeps search pattern history 243|<mods>| supply command modifiers to user defined commands 244 245 246New and extended functions: ~ 247 248|arglistid()| get id of the argument list 249|assert_equal()| assert that two expressions values are equal 250|assert_exception()| assert that a command throws an exception 251|assert_fails()| assert that a function call fails 252|assert_false()| assert that an expression is false 253|assert_inrange()| assert that an expression is inside a range 254|assert_match()| assert that a pattern matches the value 255|assert_notequal()| assert that two expressions values are not equal 256|assert_notmatch()| assert that a pattern does not match the value 257|assert_true()| assert that an expression is true 258|bufwinid()| get the window ID of a specific buffer 259|byteidxcomp()| like byteidx() but count composing characters 260|ch_close()| close a channel 261|ch_close_in()| close the in part of a channel 262|ch_evalexpr()| evaluates an expression over channel 263|ch_evalraw()| evaluates a raw string over channel 264|ch_getbufnr()| get the buffer number of a channel 265|ch_getjob()| get the job associated with a channel 266|ch_info()| get channel information 267|ch_log()| write a message in the channel log file 268|ch_logfile()| set the channel log file 269|ch_open()| open a channel 270|ch_read()| read a message from a channel 271|ch_readraw()| read a raw message from a channel 272|ch_sendexpr()| send a JSON message over a channel 273|ch_sendraw()| send a raw message over a channel 274|ch_setoptions()| set the options for a channel 275|ch_status()| get status of a channel 276|execute()| execute an Ex command and get the output 277|exepath()| full path of an executable program 278|funcref()| return a reference to function {name} 279|getbufinfo()| get a list with buffer information 280|getcharsearch()| return character search information 281|getcmdwintype()| return the current command-line window type 282|getcompletion()| return a list of command-line completion matches 283|getcurpos()| get position of the cursor 284|gettabinfo()| get a list with tab page information 285|getwininfo()| get a list with window information 286|glob2regpat()| convert a glob pattern into a search pattern 287|isnan()| check for not a number 288|job_getchannel()| get the channel used by a job 289|job_info()| get information about a job 290|job_setoptions()| set options for a job 291|job_start()| start a job 292|job_status()| get the status of a job 293|job_stop()| stop a job 294|js_decode()| decode a JSON string to Vim types 295|js_encode()| encode an expression to a JSON string 296|json_decode()| decode a JSON string to Vim types 297|json_encode()| encode an expression to a JSON string 298|matchaddpos()| define a list of positions to highlight 299|matchstrpos()| match and positions of a pattern in a string 300|perleval()| evaluate Perl expression 301|reltimefloat()| convert reltime() result to a Float 302|setcharsearch()| set character search information 303|setfperm()| set the permissions of a file 304|strcharpart()| get part of a string using char index 305|strgetchar()| get character from a string using char index 306|systemlist()| get the result of a shell command as a list 307|test_alloc_fail()| make memory allocation fail 308|test_autochdir()| test 'autochdir' functionality 309test_disable_char_avail() test without typeahead (removed later) 310|test_garbagecollect_now()| free memory right now 311|test_null_channel()| return a null Channel 312|test_null_dict()| return a null Dict 313|test_null_job()| return a null Job 314|test_null_list()| return a null List 315|test_null_partial()| return a null Partial function 316|test_null_string()| return a null String 317|test_settime()| set the time Vim uses internally 318|timer_info()| get information about timers 319|timer_pause()| pause or unpause a timer 320|timer_start()| create a timer 321|timer_stop()| stop a timer 322|timer_stopall()| stop all timers 323|uniq()| remove copies of repeated adjacent items 324|win_findbuf()| find windows containing a buffer 325|win_getid()| get window ID of a window 326|win_gotoid()| go to window with ID 327|win_id2tabwin()| get tab and window nr from window ID 328|win_id2win()| get window nr from window ID 329|wordcount()| get byte/word/char count of buffer 330 331 332New Vim variables: ~ 333 334|v:beval_winid| Window ID of the window where the mouse pointer is 335|v:completed_item| complete items for the most recently completed word 336|v:errors| errors found by assert functions 337|v:false| a Number with value zero 338|v:hlsearch| indicates whether search highlighting is on 339|v:mouse_winid| Window ID for a mouse click obtained with |getchar()| 340|v:none| an empty String, used for JSON 341|v:null| an empty String, used for JSON 342|v:option_new| new value of the option, used by |OptionSet| 343|v:option_old| old value of the option, used by |OptionSet| 344|v:option_oldlocal| old local value of the option, used by |OptionSet| 345|v:option_oldglobal| old global value of the option, used by |OptionSet| 346|v:option_type| scope of the set command, used by |OptionSet| 347|v:option_command| command used to set the option, used by |OptionSet| 348|v:progpath| the command with which Vim was invoked 349|v:t_bool| value of Boolean type 350|v:t_channel| value of Channel type 351|v:t_dict| value of Dictionary type 352|v:t_float| value of Float type 353|v:t_func| value of Funcref type 354|v:t_job| value of Job type 355|v:t_list| value of List type 356|v:t_none| value of None type 357|v:t_number| value of Number type 358|v:t_string| value of String type 359|v:testing| must be set before using `test_garbagecollect_now()` 360|v:true| a Number with value one 361|v:vim_did_enter| set just before VimEnter autocommands are triggered 362 363 364New autocommand events: ~ 365 366|CmdUndefined| a user command is used but it isn't defined 367|OptionSet| after setting any option 368|TabClosed| after closing a tab page 369|TabNew| after creating a new tab page 370|TextChangedI| after a change was made to the text in Insert mode 371|TextChanged| after a change was made to the text in Normal mode 372|WinNew| after creating a new window 373 374 375New highlight groups: ~ 376 377EndOfBuffer filler lines (~) after the last line in the buffer. 378 |hl-EndOfBuffer| 379 380 381New items in search patterns: ~ 382 383|/\%C| \%C match any composing characters 384 385 386New Syntax/Indent/FTplugin files: ~ 387 388AVR Assembler (Avra) syntax 389Arduino syntax 390Bazel syntax and indent and ftplugin 391Dockerfile syntax and ftplugin 392Eiffel ftplugin 393Euphoria 3 and 4 syntax 394Go syntax and indent and ftplugin 395Godoc syntax 396Groovy ftplugin 397HGcommit ftplugin 398Hog indent and ftplugin 399Innovation Data Processing upstream.pt syntax 400J syntax and indent and ftplugin 401Jproperties ftplugin 402Json syntax and indent and ftplugin 403Kivy syntax 404Less syntax and indent 405Mix syntax 406Motorola S-Record syntax 407R ftplugin 408ReStructuredText syntax and indent and ftplugin 409Registry ftplugin 410Rhelp indent and ftplugin 411Rmd (markdown with R code chunks) syntax and indent 412Rmd ftplugin 413Rnoweb ftplugin 414Rnoweb indent 415Scala syntax and indent and ftplugin 416SystemVerilog syntax and indent and ftplugin 417Systemd syntax and indent and ftplugin 418Teraterm (TTL) syntax and indent 419Text ftplugin 420Vroom syntax and indent and ftplugin 421 422 423New Keymaps: ~ 424 425Armenian eastern and western 426Russian jcukenwintype 427Vietnamese telex and vni 428 429============================================================================== 430INCOMPATIBLE CHANGES *incompatible-8* 431 432These changes are incompatible with previous releases. Check this list if you 433run into a problem when upgrading from Vim 7.4 to 8.0. 434 435 436Better defaults without a vimrc ~ 437 438When no vimrc file is found, the |defaults.vim| script is loaded to set more 439useful default values for new users. That includes setting 'nocompatible'. 440Thus Vim no longer starts up in Vi compatible mode. If you do want that, 441either create a .vimrc file that does "set compatible" or start Vim with 442"vim -C". 443 444 445Support removed ~ 446 447The support for MS-DOS has been removed. It hasn't been working for a while 448(Vim doesn't fit in memory) and removing it cleans up the code quite a bit. 449 450The support for Windows 16 bit (Windows 95 and older) has been removed. 451 452The support for OS/2 has been removed. It probably hasn't been working for a 453while since nobody uses it. 454 455The SNiFF+ support has been removed. 456 457 458Minor incompatibilities: ~ 459 460Probably... 461 462============================================================================== 463IMPROVEMENTS *improvements-8* 464 465The existing blowfish encryption turned out to be much weaker than it was 466supposed to be. The blowfish2 method has been added to fix that. Note that 467this still isn't a state-of-the-art encryption, but good enough for most 468usage. See 'cryptmethod'. 469 470 471============================================================================== 472COMPILE TIME CHANGES *compile-changes-8* 473 474The Vim repository was moved from Google code to github, since Google code 475was shut down. It can now be found at https://github.com/vim/vim. 476 477Functions now use ANSI-C declarations. At least a C-89 compatible compiler is 478required. 479 480The +visual feature is now always included. 481 482============================================================================== 483PATCHES *patches-8* *bug-fixes-8* 484 485The list of patches that got included since 7.4.0. This includes all the new 486features, but does not include runtime file changes (syntax, indent, help, 487etc.) 488 489Patch 7.4.001 490Problem: Character classes such as [a-z] do not react to 'ignorecase'. 491 Breaks man page highlighting. (Mario Grgic) 492Solution: Add separate items for classes that react to 'ignorecase'. Clean 493 up logic handling character classes. Add more tests. 494Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok 495 496Patch 7.4.002 497Problem: Pattern with two alternative look-behind matches does not match. 498 (Amadeus Demarzi) 499Solution: When comparing PIMs also compare their state ID to see if they are 500 different. 501Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok 502 503Patch 7.4.003 504Problem: Memory access error in Ruby syntax highlighting. (Christopher Chow) 505Solution: Refresh stale pointer. (James McCoy) 506Files: src/regexp_nfa.c 507 508Patch 7.4.004 509Problem: When closing a window fails ":bwipe" may hang. 510Solution: Let win_close() return FAIL and break out of the loop. 511Files: src/window.c, src/proto/window.pro, src/buffer.c 512 513Patch 7.4.005 514Problem: Using "vaB" while 'virtualedit' is set selects the wrong area. 515 (Dimitar Dimitrov) 516Solution: Reset coladd when finding a match. 517Files: src/search.c 518 519Patch 7.4.006 520Problem: mkdir("foo/bar/", "p") gives an error message. (David Barnett) 521Solution: Remove the trailing slash. (lcd) 522Files: src/eval.c 523 524Patch 7.4.007 525Problem: Creating a preview window on startup leaves the screen layout in a 526 messed up state. (Marius Gedminas) 527Solution: Don't change firstwin. (Christian Brabandt) 528Files: src/main.c 529 530Patch 7.4.008 531Problem: New regexp engine can't be interrupted. 532Solution: Check for CTRL-C pressed. (Yasuhiro Matsumoto) 533Files: src/regexp_nfa.c, src/regexp.c 534 535Patch 7.4.009 536Problem: When a file was not decrypted (yet), writing it may destroy the 537 contents. 538Solution: Mark the file as readonly until decryption was done. (Christian 539 Brabandt) 540Files: src/fileio.c 541 542Patch 7.4.010 (after 7.4.006) 543Problem: Crash with invalid argument to mkdir(). 544Solution: Check for empty string. (lcd47) 545Files: src/eval.c 546 547Patch 7.4.011 548Problem: Cannot find out if "acl" and "xpm" features are supported. 549Solution: Add "acl" and "xpm" to the list of features. (Ken Takata) 550Files: src/eval.c, src/version.c 551 552Patch 7.4.012 553Problem: MS-Windows: resolving shortcut does not work properly with 554 multi-byte characters. 555Solution: Use wide system functions. (Ken Takata) 556Files: src/os_mswin.c 557 558Patch 7.4.013 559Problem: MS-Windows: File name buffer too small for utf-8. 560Solution: Use character count instead of byte count. (Ken Takata) 561Files: src/os_mswin.c 562 563Patch 7.4.014 564Problem: MS-Windows: check for writing to device does not work. 565Solution: Fix #ifdefs. (Ken Takata) 566Files: src/fileio.c 567 568Patch 7.4.015 569Problem: MS-Windows: Detecting node type does not work for multi-byte 570 characters. 571Solution: Use wide character function when needed. (Ken Takata) 572Files: src/os_win32.c 573 574Patch 7.4.016 575Problem: MS-Windows: File name case can be wrong. 576Solution: Add fname_casew(). (Ken Takata) 577Files: src/os_win32.c 578 579Patch 7.4.017 580Problem: ":help !!" does not find the "!!" tag in the help file. (Ben 581 Fritz) 582Solution: When reading the start of the tags file do parse lines that are 583 not header lines. 584Files: src/tag.c 585 586Patch 7.4.018 587Problem: When completing item becomes unselected. (Shougo Matsu) 588Solution: Revert patch 7.3.1269. 589Files: src/edit.c 590 591Patch 7.4.019 592Problem: MS-Windows: File name completion doesn't work properly with 593 Chinese characters. (Yue Wu) 594Solution: Take care of multi-byte characters when looking for the start of 595 the file name. (Ken Takata) 596Files: src/edit.c 597 598Patch 7.4.020 599Problem: NFA engine matches too much with \@>. (John McGowan) 600Solution: When a whole pattern match is found stop searching. 601Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok 602 603Patch 7.4.021 604Problem: NFA regexp: Using \ze in one branch which doesn't match may cause 605 end of another branch to be wrong. (William Fugh) 606Solution: Set end position if it wasn't set yet. 607Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok 608 609Patch 7.4.022 610Problem: Deadlock while exiting, because of allocating memory. 611Solution: Do not use gettext() in deathtrap(). (James McCoy) 612Files: src/os_unix.c, src/misc1.c 613 614Patch 7.4.023 615Problem: Compiler warning on 64 bit windows. 616Solution: Add type cast. (Mike Williams) 617Files: src/edit.c 618 619Patch 7.4.024 620Problem: When root edits a file the undo file is owned by root while the 621 edited file may be owned by another user, which is not allowed. 622 (cac2s) 623Solution: Accept an undo file owned by the current user. 624Files: src/undo.c 625 626Patch 7.4.025 (after 7.4.019) 627Problem: Reading before start of a string. 628Solution: Do not call mb_ptr_back() at start of a string. (Dominique Pelle) 629Files: src/edit.c 630 631Patch 7.4.026 632Problem: Clang warning for int shift overflow. 633Solution: Use unsigned and cast back to int. (Dominique Pelle) 634Files: src/misc2.c 635 636Patch 7.4.027 (after 7.4.025) 637Problem: Another valgrind error when using CTRL-X CTRL-F at the start of 638 the line. (Dominique Pelle) 639Solution: Don't call mb_ptr_back() at the start of the line. Add a test. 640Files: src/edit.c, src/testdir/test32.in 641 642Patch 7.4.028 643Problem: Equivalence classes are not working for multi-byte characters. 644Solution: Copy the rules from the old to the new regexp engine. Add a test 645 to check both engines. 646Files: src/regexp_nfa.c, src/testdir/test44.in, src/testdir/test99.in, 647 src/testdir/test99.ok, src/testdir/Make_amiga.mak, 648 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 649 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms, 650 src/testdir/Makefile 651 652Patch 7.4.029 653Problem: An error in a pattern is reported twice. 654Solution: Remove the retry with the backtracking engine, it won't work. 655Files: src/regexp.c 656 657Patch 7.4.030 658Problem: The -mno-cygwin argument is no longer supported by Cygwin. 659Solution: Remove the arguments. (Steve Hall) 660Files: src/GvimExt/Make_cyg.mak, src/Make_cyg.mak, src/xxd/Make_cyg.mak 661 662Patch 7.4.031 663Problem: ":diffoff!" resets options even when 'diff' is not set. (Charles 664 Cooper) 665Solution: Only resets related options in a window where 'diff' is set. 666Files: src/diff.c 667 668Patch 7.4.032 669Problem: NFA engine does not match the NUL character. (Jonathon Merz) 670Solution: Use 0x0a instead of NUL. (Christian Brabandt) 671Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok 672 673Patch 7.4.033 674Problem: When the terminal has only 20 lines test 92 and 93 overwrite the 675 input file. 676Solution: Explicitly write test.out. Check that the terminal is large enough 677 to run the tests. (Hirohito Higashi) 678Files: src/testdir/test92.in, src/testdir/test93.in, 679 src/testdir/test1.in, src/testdir/Makefile 680 681Patch 7.4.034 682Problem: Using "p" in Visual block mode only changes the first line. 683Solution: Repeat the put in all text in the block. (Christian Brabandt) 684Files: runtime/doc/change.txt, src/ops.c, src/normal.c, 685 src/testdir/test20.in, src/testdir/test20.ok 686 687Patch 7.4.035 688Problem: MS-Windows: The mouse pointer flickers when going from command 689 line mode to Normal mode. 690Solution: Check for WM_NCMOUSEMOVE. (Ken Takata) 691Files: src/gui_w48.c 692 693Patch 7.4.036 694Problem: NFA engine does not capture group correctly when using \@>. (ZyX) 695Solution: Copy submatches before doing the recursive match. 696Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok 697 698Patch 7.4.037 699Problem: Using "\ze" in a sub-pattern does not result in the end of the 700 match to be set. (Axel Bender) 701Solution: Copy the end of match position when a recursive match was 702 successful. 703Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok 704 705Patch 7.4.038 706Problem: Using "zw" and "zg" when 'spell' is off give a confusing error 707 message. (Gary Johnson) 708Solution: Ignore the error when locating the word. Explicitly mention what 709 word was added. (Christian Brabandt) 710Files: src/normal.c, src/spell.c 711 712Patch 7.4.039 713Problem: MS-Windows: MSVC10 and earlier can't handle symlinks to a 714 directory properly. 715Solution: Add stat_symlink_aware() and wstat_symlink_aware(). (Ken Takata) 716Files: src/os_mswin.c, src/os_win32.c, src/os_win32.h 717 718Patch 7.4.040 719Problem: Valgrind error on exit when a script-local variable holds a 720 reference to the scope of another script. 721Solution: First clear all variables, then free the scopes. (ZyX) 722Files: src/eval.c 723 724Patch 7.4.041 (after 7.4.034) 725Problem: Visual selection does not remain after being copied over. (Axel 726 Bender) 727Solution: Move when VIsual_active is reset. (Christian Brabandt) 728Files: src/ops.c 729 730Patch 7.4.042 731Problem: When using ":setlocal" for 'spell' and 'spelllang' then :spelldump 732 doesn't work. (Dimitar Dimitrov) 733Solution: Copy the option variables to the new window used to show the dump. 734 (Christian Brabandt) 735Files: src/spell.c 736 737Patch 7.4.043 738Problem: VMS can't handle long function names. 739Solution: Shorten may_req_ambiguous_character_width. (Samuel Ferencik) 740Files: src/main.c, src/term.c, src/proto/term.pro 741 742 743Patch 7.4.044 (after 7.4.039) 744Problem: Can't build with old MSVC. (Wang Shoulin) 745Solution: Define OPEN_OH_ARGTYPE instead of using intptr_t directly. 746Files: src/os_mswin.c 747 748Patch 7.4.045 749Problem: substitute() does not work properly when the pattern starts with 750 "\ze". 751Solution: Detect an empty match. (Christian Brabandt) 752Files: src/eval.c, src/testdir/test80.in, src/testdir/test80.ok 753 754Patch 7.4.046 755Problem: Can't use Tcl 8.6. 756Solution: Change how Tcl_FindExecutable is called. (Jan Nijtmans) 757Files: src/if_tcl.c 758 759Patch 7.4.047 760Problem: When using input() in a function invoked by a mapping it doesn't 761 work. 762Solution: Temporarily reset ex_normal_busy. (Yasuhiro Matsumoto) 763Files: src/eval.c 764 765Patch 7.4.048 766Problem: Recent clang version complains about -fno-strength-reduce. 767Solution: Add a configure check for the clang version. (Kazunobu Kuriyama) 768Files: src/configure.in, src/auto/configure 769 770Patch 7.4.049 771Problem: In Ex mode, when line numbers are enabled the substitute prompt is 772 wrong. 773Solution: Adjust for the line number size. (Benoit Pierre) 774Files: src/ex_cmds.c 775 776Patch 7.4.050 777Problem: "gn" selects too much for the pattern "\d" when there are two 778 lines with a single digit. (Ryan Carney) 779Solution: Adjust the logic of is_one_char(). (Christian Brabandt) 780Files: src/search.c, src/testdir/test53.in, src/testdir/test53.ok 781 782Patch 7.4.051 783Problem: Syntax highlighting a Yaml file causes a crash. (Blake Preston) 784Solution: Copy the pim structure before calling addstate() to avoid it 785 becoming invalid when the state list is reallocated. 786Files: src/regexp_nfa.c 787 788Patch 7.4.052 789Problem: With 'fo' set to "a2" inserting a space in the first column may 790 cause the cursor to jump to the previous line. 791Solution: Handle the case when there is no comment leader properly. (Tor 792 Perkins) Also fix that cursor is in the wrong place when spaces 793 get replaced with a Tab. 794Files: src/misc1.c, src/ops.c, src/testdir/test68.in, 795 src/testdir/test68.ok 796 797Patch 7.4.053 798Problem: Test75 has a wrong header. (ZyX) 799Solution: Fix the text and remove leading ". 800Files: src/testdir/test75.in 801 802Patch 7.4.054 803Problem: Reading past end of the 'stl' string. 804Solution: Don't increment pointer when already at the NUL. (Christian 805 Brabandt) 806Files: src/buffer.c 807 808Patch 7.4.055 809Problem: Mac: Where availability macros are defined depends on the system. 810Solution: Add a configure check. (Felix Bünemann) 811Files: src/config.h.in, src/configure.in, src/auto/configure, 812 src/os_mac.h 813 814Patch 7.4.056 815Problem: Mac: Compilation problem with OS X 10.9 Mavericks. 816Solution: Include AvailabilityMacros.h when available. (Kazunobu Kuriyama) 817Files: src/os_unix.c 818 819Patch 7.4.057 820Problem: byteidx() does not work for composing characters. 821Solution: Add byteidxcomp(). 822Files: src/eval.c, src/testdir/test69.in, src/testdir/test69.ok, 823 runtime/doc/eval.txt 824 825Patch 7.4.058 826Problem: Warnings on 64 bit Windows. 827Solution: Add type casts. (Mike Williams) 828Files: src/ops.c 829 830Patch 7.4.059 831Problem: set_last_cursor() may encounter w_buffer being NULL. (Matt 832 Mkaniaris) 833Solution: Check for NULL. 834Files: src/mark.c 835 836Patch 7.4.060 837Problem: Declaration has wrong return type for PyObject_SetAttrString(). 838Solution: Use int instead of PyObject. (Andreas Schwab) 839Files: src/if_python.c, src/if_python3.c 840 841Patch 7.4.061 (after 7.4.055 and 7.4.056) 842Problem: Availability macros configure check in wrong place. 843Solution: Also check when not using Darwin. Remove version check. 844Files: src/configure.in, src/auto/configure, src/os_unix.c 845 846Patch 7.4.062 (after 7.4.061) 847Problem: Configure check for AvailabilityMacros.h is wrong. 848Solution: Use AC_CHECK_HEADERS(). 849Files: src/configure.in, src/auto/configure 850 851Patch 7.4.063 852Problem: Crash when using invalid key in Python dictionary. 853Solution: Check for object to be NULL. Add tests. (ZyX) 854Files: src/if_py_both.h, src/testdir/test86.in, src/testdir/test86.ok, 855 src/testdir/test87.in, src/testdir/test87.ok 856 857Patch 7.4.064 858Problem: When replacing a character in Visual block mode, entering a CR 859 does not cause a repeated line break. 860Solution: Recognize the situation and repeat the line break. (Christian 861 Brabandt) 862Files: src/normal.c, src/ops.c, src/testdir/test39.in, 863 src/testdir/test39.ok 864 865Patch 7.4.065 866Problem: When recording, the character typed at the hit-enter prompt is 867 recorded twice. (Urtica Dioica) 868Solution: Avoid recording the character twice. (Christian Brabandt) 869Files: src/message.c 870 871Patch 7.4.066 872Problem: MS-Windows: When there is a colon in the file name (sub-stream 873 feature) the swap file name is wrong. 874Solution: Change the colon to "%". (Yasuhiro Matsumoto) 875Files: src/fileio.c, src/memline.c, src/misc1.c, src/proto/misc1.pro 876 877Patch 7.4.067 878Problem: After inserting comment leader, CTRL-\ CTRL-O does move the 879 cursor. (Wiktor Ruben) 880Solution: Avoid moving the cursor. (Christian Brabandt) 881Files: src/edit.c 882 883Patch 7.4.068 884Problem: Cannot build Vim on Mac with non-Apple compilers. 885Solution: Remove the -no-cpp-precomp flag. (Misty De Meo) 886Files: src/configure.in, src/auto/configure, src/osdef.sh 887 888Patch 7.4.069 889Problem: Cannot right shift lines starting with #. 890Solution: Allow the right shift when 'cino' contains #N with N > 0. 891 (Christian Brabandt) 892 Refactor parsing 'cino', store the values in the buffer. 893Files: runtime/doc/indent.txt, src/buffer.c, src/edit.c, src/eval.c, 894 src/ex_getln.c, src/fold.c, src/misc1.c, src/ops.c, 895 src/proto/misc1.pro, src/proto/option.pro, src/structs.h, 896 src/option.c 897 898Patch 7.4.070 (after 7.4.069) 899Problem: Can't compile with tiny features. (Tony Mechelynck) 900Solution: Add #ifdef. 901Files: src/buffer.c 902 903Patch 7.4.071 (after 7.4.069) 904Problem: Passing limits around too often. 905Solution: Use limits from buffer. 906Files: src/edit.c, src/misc1.c, src/proto/misc1.pro 907 908Patch 7.4.072 909Problem: Crash when using Insert mode completion. 910Solution: Avoid going past the end of pum_array. (idea by Francisco Lopes) 911Files: src/popupmnu.c 912 913Patch 7.4.073 914Problem: Setting undolevels for one buffer changes undo in another. 915Solution: Make 'undolevels' a global-local option. (Christian Brabandt) 916Files: runtime/doc/options.txt, src/buffer.c, src/option.c, src/option.h 917 src/structs.h, src/undo.c 918 919Patch 7.4.074 920Problem: When undo'ing all changes and creating a new change the undo 921 structure is incorrect. (Christian Brabandt) 922Solution: When deleting the branch starting at the old header, delete the 923 whole branch, not just the first entry. 924Files: src/undo.c 925 926Patch 7.4.075 927Problem: Locally setting 'undolevels' is not tested. 928Solution: Add a test. (Christian Brabandt) 929Files: src/testdir/test100.in, src/testdir/test100.ok, 930 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 931 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 932 src/testdir/Make_vms.mms, src/testdir/Makefile, src/Makefile 933 934Patch 7.4.076 935Problem: "cgn" does not wrap around the end of the file. (Dimitar Dimitrov) 936Solution: Restore 'wrapscan' earlier. (Christian Brabandt) 937Files: src/search.c 938 939Patch 7.4.077 940Problem: DOS installer creates shortcut without a path, resulting in the 941 current directory to be C:\Windows\system32. 942Solution: Use environment variables. 943Files: src/dosinst.c 944 945Patch 7.4.078 946Problem: MSVC 2013 is not supported. 947Solution: Recognize and support MSVC 2013. (Ed Brown) 948Files: src/Make_mvc.mak 949 950Patch 7.4.079 951Problem: A script cannot detect whether 'hlsearch' highlighting is actually 952 displayed. 953Solution: Add the "v:hlsearch" variable. (ZyX) 954Files: src/eval.c, src/ex_docmd.c, 955 src/option.c, src/screen.c, src/search.c, src/tag.c, src/vim.h, 956 src/testdir/test101.in, src/testdir/test101.ok, 957 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 958 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 959 src/testdir/Make_vms.mms, src/testdir/Makefile 960 961Patch 7.4.080 (after 7.4.079) 962Problem: Missing documentation for v:hlsearch. 963Solution: Include the right file in the patch. 964Files: runtime/doc/eval.txt 965 966Patch 7.4.081 (after 7.4.078) 967Problem: Wrong logic when ANALYZE is "yes". 968Solution: Use or instead of and. (KF Leong) 969Files: src/Make_mvc.mak 970 971Patch 7.4.082 972Problem: Using "gf" in a changed buffer suggests adding "!", which is not 973 possible. (Tim Chase) 974Solution: Pass a flag to check_changed() whether adding ! make sense. 975Files: src/vim.h, src/ex_cmds2.c, src/proto/ex_cmds2.pro, src/globals.h, 976 src/ex_cmds.c, src/ex_docmd.c 977 978Patch 7.4.083 979Problem: It's hard to avoid adding a used pattern to the search history. 980Solution: Add the ":keeppatterns" modifier. (Christian Brabandt) 981Files: runtime/doc/cmdline.txt, src/ex_cmds.h, src/ex_docmd.c, 982 src/ex_getln.c, src/structs.h 983 984Patch 7.4.084 985Problem: Python: interrupt not being properly discarded. (Yggdroot Chen) 986Solution: Discard interrupt in VimTryEnd. (ZyX) 987Files: src/if_py_both.h, src/testdir/test86.in, src/testdir/test86.ok, 988 src/testdir/test87.in, src/testdir/test87.ok 989 990Patch 7.4.085 991Problem: When inserting text in Visual block mode and moving the cursor the 992 wrong text gets repeated in other lines. 993Solution: Use the '[ mark to find the start of the actually inserted text. 994 (Christian Brabandt) 995Files: src/ops.c, src/testdir/test39.in, src/testdir/test39.ok 996 997Patch 7.4.086 998Problem: Skipping over an expression when not evaluating it does not work 999 properly for dict members. 1000Solution: Skip over unrecognized expression. (ZyX) 1001Files: src/eval.c, src/testdir/test34.in, src/testdir/test34.ok 1002 1003Patch 7.4.087 1004Problem: Compiler warning on 64 bit Windows systems. 1005Solution: Fix type cast. (Mike Williams) 1006Files: src/ops.c 1007 1008Patch 7.4.088 1009Problem: When spell checking is enabled Asian characters are always marked 1010 as error. 1011Solution: When 'spelllang' contains "cjk" do not mark Asian characters as 1012 error. (Ken Takata) 1013Files: runtime/doc/options.txt, runtime/doc/spell.txt, src/mbyte.c, 1014 src/option.c, src/spell.c, src/structs.h 1015 1016Patch 7.4.089 1017Problem: When editing a file in a directory mounted through sshfs Vim 1018 doesn't set the security context on a renamed file. 1019Solution: Add mch_copy_sec() to vim_rename(). (Peter Backes) 1020Files: src/fileio.c 1021 1022Patch 7.4.090 1023Problem: Win32: When a directory name contains an exclamation mark, 1024 completion doesn't complete the contents of the directory. 1025Solution: Escape the exclamation mark. (Jan Stocker) 1026Files: src/ex_getln.c, src/testdir/test102.in, src/testdir/test102.ok, 1027 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 1028 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 1029 src/testdir/Make_vms.mms, src/testdir/Makefile 1030 1031Patch 7.4.091 (after 7.4.089) 1032Problem: Missing semicolon. 1033Solution: Add the semicolon. 1034Files: src/fileio.c 1035 1036Patch 7.4.092 (after 7.4.088) 1037Problem: Can't build small version. 1038Solution: Add #ifdef where the b_cjk flag is used. (Ken Takata) 1039Files: src/spell.c 1040 1041Patch 7.4.093 1042Problem: Configure can't use LuaJIT on ubuntu 12.04. 1043Solution: Adjust the configure regexp that locates the version number. 1044 (Charles Strahan) 1045Files: src/configure.in, src/auto/configure 1046 1047Patch 7.4.094 1048Problem: Configure may not find that -lint is needed for gettext(). 1049Solution: Check for gettext() with empty $LIBS. (Thomas De Schampheleire) 1050Files: src/configure.in, src/auto/configure 1051 1052Patch 7.4.095 (after 7.4.093) 1053Problem: Regexp for LuaJIT version doesn't work on BSD. 1054Solution: Use "*" instead of "\+" and "\?". (Ozaki Kiichi) 1055Files: src/configure.in, src/auto/configure 1056 1057Patch 7.4.096 1058Problem: Can't change directory to an UNC path. 1059Solution: Use win32_getattrs() in mch_getperm(). (Christian Brabandt) 1060Files: src/os_win32.c 1061 1062Patch 7.4.097 (after 7.4.034) 1063Problem: Unexpected behavior change related to 'virtualedit'. (Ingo Karkat) 1064Solution: Update the valid cursor position. (Christian Brabandt) 1065Files: src/ops.c 1066 1067Patch 7.4.098 1068Problem: When using ":'<,'>del" errors may be given for the visual line 1069 numbers being out of range. 1070Solution: Reset Visual mode in ":del". (Lech Lorens) 1071Files: src/ex_docmd.c, src/testdir/test103.in, src/testdir/test103.ok, 1072 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 1073 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 1074 src/testdir/Make_vms.mms, src/testdir/Makefile 1075 1076Patch 7.4.099 1077Problem: Append in blockwise Visual mode with "$" is wrong. 1078Solution: After "$" don't use the code that checks if the cursor was moved. 1079 (Hirohito Higashi, Ken Takata) 1080Files: src/ops.c, src/testdir/test39.in, src/testdir/test39.ok 1081 1082Patch 7.4.100 1083Problem: NFA regexp doesn't handle backreference correctly. (Ryuichi 1084 Hayashida, Urtica Dioica) 1085Solution: Always add NFA_SKIP, also when it already exists at the start 1086 position. 1087Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok 1088 1089Patch 7.4.101 1090Problem: Using \1 in pattern goes one line too far. (Bohr Shaw, John Little) 1091Solution: Only advance the match end for the matched characters in the last 1092 line. 1093Files: src/regexp.c, src/testdir/test64.in, src/testdir/test64.ok 1094 1095Patch 7.4.102 1096Problem: Crash when interrupting "z=". 1097Solution: Add safety check for word length. (Christian Brabandt, Dominique 1098 Pelle) 1099Files: src/spell.c 1100 1101Patch 7.4.103 1102Problem: Dos installer uses an old way to escape spaces in the diff 1103 command. 1104Solution: Adjust the quoting to the new default shellxquote. (Ben Fritz) 1105Files: src/dosinst.c 1106 1107Patch 7.4.104 1108Problem: ":help s/\_" reports an internal error. (John Beckett) 1109Solution: Check for NUL and invalid character classes. 1110Files: src/regexp_nfa.c 1111 1112Patch 7.4.105 1113Problem: Completing a tag pattern may give an error for invalid pattern. 1114Solution: Suppress the error, just return no matches. 1115Files: src/tag.c 1116 1117Patch 7.4.106 1118Problem: Can't build with Ruby using Cygwin. 1119Solution: Fix library name in makefile. (Steve Hall) 1120Files: src/Make_cyg.mak 1121 1122Patch 7.4.107 1123Problem: Python: When vim.eval() encounters a Vim error, a try/catch in the 1124 Python code doesn't catch it. (Yggdroot Chen) 1125Solution: Throw exceptions on errors in vim.eval(). (ZyX) 1126Files: src/ex_eval.c, src/if_py_both.h, src/proto/ex_eval.pro, 1127 src/testdir/test86.in, src/testdir/test86.ok, 1128 src/testdir/test87.in, src/testdir/test87.ok 1129 1130Patch 7.4.108 1131Problem: "zG" and "zW" leave temp files around on MS-Windows. 1132Solution: Delete the temp files when exiting. (Ken Takata) 1133Files: src/memline.c, src/proto/spell.pro, src/spell.c 1134 1135Patch 7.4.109 1136Problem: ColorScheme autocommand matches with the current buffer name. 1137Solution: Match with the colorscheme name. (Christian Brabandt) 1138Files: runtime/doc/autocmd.txt, src/fileio.c, src/syntax.c 1139 1140Patch 7.4.110 1141Problem: "gUgn" cannot be repeated. (Dimitar Dimitrov) 1142Solution: Don't put "gn" in a different order in the redo buffer. Restore 1143 'wrapscan' when the pattern isn't found. (Christian Wellenbrock) 1144Files: src/normal.c, src/search.c, src/test53.in, src/test53.ok 1145 1146Patch 7.4.111 1147Problem: Memory leak in Python OptionsAssItem. (Ken Takata) 1148Solution: Call Py_XDECREF() where needed. (ZyX) 1149Files: src/if_py_both.h 1150 1151Patch 7.4.112 1152Problem: The defaults for 'directory' and 'backupdir' on MS-Windows do not 1153 include a directory that exists. 1154Solution: Use $TEMP. 1155Files: src/os_dos.h 1156 1157Patch 7.4.113 1158Problem: MSVC static analysis gives warnings. 1159Solution: Avoid the warnings and avoid possible bugs. (Ken Takata) 1160Files: src/os_win32.c 1161 1162Patch 7.4.114 1163Problem: New GNU make outputs messages about changing directory in another 1164 format. 1165Solution: Recognize the new format. 1166Files: src/option.h 1167 1168Patch 7.4.115 1169Problem: When using Zsh expanding ~abc doesn't work when the result 1170 contains a space. 1171Solution: Off-by-one error in detecting the NUL. (Pavol Juhas) 1172Files: src/os_unix.c 1173 1174Patch 7.4.116 1175Problem: When a mapping starts with a space, the typed space does not show 1176 up for 'showcmd'. 1177Solution: Show "<20>". (Brook Hong) 1178Files: src/normal.c 1179 1180Patch 7.4.117 1181Problem: Can't build with Cygwin/MingW and Perl 5.18. 1182Solution: Add a linker argument for the Perl library. (Cesar Romani) 1183 Adjust CFLAGS and LIB. (Cesar Romani) 1184 Move including inline.h further down. (Ken Takata) 1185Files: src/Make_cyg.mak, src/Make_ming.mak, src/if_perl.xs 1186 1187Patch 7.4.118 1188Problem: It's possible that redrawing the status lines causes 1189 win_redr_custom() to be called recursively. 1190Solution: Protect against recursiveness. (Yasuhiro Matsumoto) 1191Files: src/screen.c 1192 1193Patch 7.4.119 1194Problem: Vim doesn't work well on OpenVMS. 1195Solution: Fix various problems. (Samuel Ferencik) 1196Files: src/os_unix.c, src/os_unix.h, src/os_vms.c 1197 1198Patch 7.4.120 (after 7.4.117) 1199Problem: Can't build with Perl 5.18 on Linux. (Lcd 47) 1200Solution: Add #ifdef. (Ken Takata) 1201Files: src/if_perl.xs 1202 1203Patch 7.4.121 1204Problem: Completion doesn't work for ":py3d" and ":py3f". (Bohr Shaw) 1205Solution: Skip over letters after ":py3". 1206Files: src/ex_docmd.c 1207 1208Patch 7.4.122 1209Problem: Win32: When 'encoding' is set to "utf-8" and the active codepage 1210 is cp932 then ":grep" and other commands don't work for multi-byte 1211 characters. 1212Solution: (Yasuhiro Matsumoto) 1213Files: src/os_win32.c 1214 1215Patch 7.4.123 1216Problem: Win32: Getting user name does not use wide function. 1217Solution: Use GetUserNameW() if possible. (Ken Takata) 1218Files: src/os_win32.c 1219 1220Patch 7.4.124 1221Problem: Win32: Getting host name does not use wide function. 1222Solution: Use GetComputerNameW() if possible. (Ken Takata) 1223Files: src/os_win32.c 1224 1225Patch 7.4.125 1226Problem: Win32: Dealing with messages may not work for multi-byte chars. 1227Solution: Use pDispatchMessage(). (Ken Takata) 1228Files: src/os_win32.c 1229 1230Patch 7.4.126 1231Problem: Compiler warnings for "const" and incompatible types. 1232Solution: Remove "const", add type cast. (Ken Takata) 1233Files: src/os_win32.c 1234 1235Patch 7.4.127 1236Problem: Perl 5.18 on Unix doesn't work. 1237Solution: Move workaround to after including vim.h. (Ken Takata) 1238Files: src/if_perl.xs 1239 1240Patch 7.4.128 1241Problem: Perl 5.18 for MSVC doesn't work. 1242Solution: Add check in makefile and define __inline. (Ken Takata) 1243Files: src/Make_mvc.mak, src/if_perl.xs 1244 1245Patch 7.4.129 1246Problem: getline(-1) returns zero. (mvxxc) 1247Solution: Return an empty string. 1248Files: src/eval.c 1249 1250Patch 7.4.130 1251Problem: Relative line numbers mix up windows when using folds. 1252Solution: Use hasFoldingWin() instead of hasFolding(). (Lech Lorens) 1253Files: src/misc2.c 1254 1255Patch 7.4.131 1256Problem: Syncbind causes E315 errors in some situations. (Liang Li) 1257Solution: Set and restore curbuf in ex_syncbind(). (Christian Brabandt) 1258Files: src/ex_docmd.c, src/testdir/test37.ok 1259 1260Patch 7.4.132 (after 7.4.122) 1261Problem: Win32: flags and inherit_handles arguments mixed up. 1262Solution: Swap the argument. (cs86661) 1263Files: src/os_win32.c 1264 1265Patch 7.4.133 1266Problem: Clang warns for using NUL. 1267Solution: Change NUL to NULL. (Dominique Pelle) 1268Files: src/eval.c, src/misc2.c 1269 1270Patch 7.4.134 1271Problem: Spurious space in MingW Makefile. 1272Solution: Remove the space. (Michael Soyka) 1273Files: src/Make_ming.mak 1274 1275Patch 7.4.135 1276Problem: Missing dot in MingW test Makefile. 1277Solution: Add the dot. (Michael Soyka) 1278Files: src/testdir/Make_ming.mak 1279 1280Patch 7.4.136 (after 7.4.096) 1281Problem: MS-Windows: When saving a file with a UNC path the file becomes 1282 read-only. 1283Solution: Don't mix up Win32 attributes and Unix attributes. (Ken Takata) 1284Files: src/os_mswin.c, src/os_win32.c 1285 1286Patch 7.4.137 1287Problem: Cannot use IME with Windows 8 console. 1288Solution: Change the user of ReadConsoleInput() and PeekConsoleInput(). 1289 (Nobuhiro Takasaki) 1290Files: src/os_win32.c 1291 1292Patch 7.4.138 (after 7.4.114) 1293Problem: Directory change messages are not recognized. 1294Solution: Fix using a character range literally. (Lech Lorens) 1295Files: src/option.h 1296 1297Patch 7.4.139 1298Problem: Crash when using :cd in autocommand. (François Ingelrest) 1299Solution: Set w_localdir to NULL after freeing it. (Dominique Pelle) 1300Files: src/ex_docmd.c, src/window.c 1301 1302Patch 7.4.140 1303Problem: Crash when wiping out buffer triggers autocommand that wipes out 1304 only other buffer. 1305Solution: Do not delete the last buffer, make it empty. (Hirohito Higashi) 1306Files: src/buffer.c 1307 1308Patch 7.4.141 1309Problem: Problems when building with Borland: st_mode is signed short; 1310 can't build with Python; temp files not ignored by Mercurial; 1311 building with DEBUG doesn't define _DEBUG. 1312Solution: Fix the problems. (Ken Takata) 1313Files: src/Make_bc5.mak, src/if_py_both.h, src/os_win32.c 1314 1315Patch 7.4.142 (after 7.4.137) 1316Problem: On MS-Windows 8 IME input doesn't work correctly. 1317Solution: Work around the problem. (Nobuhiro Takasaki) 1318Files: src/os_win32.c 1319 1320Patch 7.4.143 1321Problem: TextChangedI is not triggered. 1322Solution: Reverse check for "ready". (lilydjwg) 1323Files: src/edit.c 1324 1325Patch 7.4.144 1326Problem: MingW also supports intptr_t for OPEN_OH_ARGTYPE. 1327Solution: Adjust #ifdef. (Ken Takata) 1328Files: src/os_mswin.c 1329 1330Patch 7.4.145 1331Problem: getregtype() does not return zero for unknown register. 1332Solution: Adjust documentation: return empty string for unknown register. 1333 Check the register name to be valid. (Yukihiro Nakadaira) 1334Files: runtime/doc/eval.txt, src/ops.c 1335 1336Patch 7.4.146 1337Problem: When starting Vim with "-u NONE" v:oldfiles is NULL. 1338Solution: Set v:oldfiles to an empty list. (Yasuhiro Matsumoto) 1339Files: src/main.c 1340 1341Patch 7.4.147 1342Problem: Cursor moves to wrong position when using "gj" after "$" and 1343 virtual editing is active. 1344Solution: Make "gj" behave differently when virtual editing is active. 1345 (Hirohito Higashi) 1346Files: src/normal.c, src/testdir/test39.in, src/testdir/test39.ok 1347 1348Patch 7.4.148 1349Problem: Cannot build with Cygwin and X11. 1350Solution: Include Xwindows.h instead of windows.h. (Lech Lorens) 1351Files: src/mbyte.c 1352 1353Patch 7.4.149 1354Problem: Get E685 error when assigning a function to an autoload variable. 1355 (Yukihiro Nakadaira) 1356Solution: Instead of having a global no_autoload variable, pass an autoload 1357 flag down to where it is used. (ZyX) 1358Files: src/eval.c, src/testdir/test55.in, src/testdir/test55.ok, 1359 src/testdir/test60.in, src/testdir/test60.ok, 1360 src/testdir/sautest/autoload/footest.vim 1361 1362Patch 7.4.150 1363Problem: :keeppatterns is not respected for :s. 1364Solution: Check the keeppatterns flag. (Yasuhiro Matsumoto) 1365Files: src/search.c, src/testdir/test14.in, src/testdir/test14.ok 1366 1367Patch 7.4.151 1368Problem: Python: slices with steps are not supported. 1369Solution: Support slices in Python vim.List. (ZyX) 1370Files: src/eval.c, src/if_py_both.h, src/if_python3.c, src/if_python.c, 1371 src/proto/eval.pro, src/testdir/test86.in, src/testdir/test86.ok, 1372 src/testdir/test87.in, src/testdir/test87.ok 1373 1374Patch 7.4.152 1375Problem: Python: Cannot iterate over options. 1376Solution: Add options iterator. (ZyX) 1377Files: src/if_py_both.h, src/option.c, src/proto/option.pro, 1378 src/testdir/test86.in, src/testdir/test86.ok, 1379 src/testdir/test87.in, src/testdir/test87.ok, src/vim.h 1380 1381Patch 7.4.153 1382Problem: Compiler warning for pointer type. 1383Solution: Add type cast. 1384Files: src/if_py_both.h, src/if_python.c, src/if_python3.c 1385 1386Patch 7.4.154 (after 7.4.149) 1387Problem: Still a problem with auto-loading. 1388Solution: Pass no_autoload to deref_func_name(). (Yukihiro Nakadaira) 1389Files: src/eval.c 1390 1391Patch 7.4.155 1392Problem: ":keeppatterns /pat" does not keep search pattern offset. 1393Solution: Restore the offset after doing the search. 1394Files: src/search.c, src/testdir/test14.in, src/testdir/test14.ok 1395 1396Patch 7.4.156 1397Problem: Test file missing from distribution. 1398Solution: Add new directory to file list. 1399Files: Filelist 1400 1401Patch 7.4.157 1402Problem: Error number used twice. (Yukihiro Nakadaira) 1403Solution: Change the one not referred in the docs. 1404Files: src/undo.c 1405 1406Patch 7.4.158 (after 7.4.045) 1407Problem: Pattern containing \zs is not handled correctly by substitute(). 1408Solution: Change how an empty match is skipped. (Yukihiro Nakadaira) 1409Files: src/eval.c, src/testdir/test80.in, src/testdir/test80.ok 1410 1411Patch 7.4.159 1412Problem: Completion hangs when scanning the current buffer after doing 1413 keywords. (Christian Brabandt) 1414Solution: Set the first match position when starting to scan the current 1415 buffer. 1416Files: src/edit.c 1417 1418Patch 7.4.160 1419Problem: Win32: Crash when executing external command. 1420Solution: Only close the handle when it was created. (Yasuhiro Matsumoto) 1421Files: src/os_win32.c 1422 1423Patch 7.4.161 1424Problem: Crash in Python exception handling. 1425Solution: Only use exception variables if did_throw is set. (ZyX) 1426Files: src/if_py_both.h 1427 1428Patch 7.4.162 1429Problem: Running tests in shadow dir doesn't work. 1430Solution: Add testdir/sautest to the shadow target. (James McCoy) 1431Files: src/Makefile 1432 1433Patch 7.4.163 (after 7.4.142) 1434Problem: MS-Windows input doesn't work properly on Windows 7 and earlier. 1435Solution: Add a check for Windows 8. (Yasuhiro Matsumoto) 1436Files: src/os_win32.c 1437 1438Patch 7.4.164 (after 7.4.163) 1439Problem: Problem with event handling on Windows 8. 1440Solution: Ignore duplicate WINDOW_BUFFER_SIZE_EVENTs. (Nobuhiro Takasaki) 1441Files: src/os_win32.c 1442 1443Patch 7.4.165 1444Problem: By default, after closing a buffer changes can't be undone. 1445Solution: In the example vimrc file set 'undofile'. 1446Files: runtime/vimrc_example.vim 1447 1448Patch 7.4.166 1449Problem: Auto-loading a function for code that won't be executed. 1450Solution: Do not auto-load when evaluation is off. (Yasuhiro Matsumoto) 1451Files: src/eval.c 1452 1453Patch 7.4.167 (after 7.4.149) 1454Problem: Fixes are not tested. 1455Solution: Add a test for not autoloading on assignment. (Yukihiro Nakadaira) 1456Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 1457 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 1458 src/testdir/Make_vms.mms, src/testdir/Makefile, 1459 src/testdir/sautest/autoload/Test104.vim, src/testdir/test104.in, 1460 src/testdir/test104.ok 1461 1462Patch 7.4.168 1463Problem: Can't compile with Ruby 2.1.0. 1464Solution: Add support for new GC. (Kohei Suzuki) 1465Files: src/if_ruby.c 1466 1467Patch 7.4.169 1468Problem: ":sleep" puts cursor in the wrong column. (Liang Li) 1469Solution: Add the window offset. (Christian Brabandt) 1470Files: src/ex_docmd.c 1471 1472Patch 7.4.170 1473Problem: Some help tags don't work with ":help". (Tim Chase) 1474Solution: Add exceptions. 1475Files: src/ex_cmds.c 1476 1477Patch 7.4.171 1478Problem: Redo does not set v:count and v:count1. 1479Solution: Use a separate buffer for redo, so that we can set the counts when 1480 performing redo. 1481Files: src/getchar.c, src/globals.h, src/normal.c, src/proto/getchar.pro, 1482 src/structs.h 1483 1484Patch 7.4.172 1485Problem: The blowfish code mentions output feedback, but the code is 1486 actually doing cipher feedback. 1487Solution: Adjust names and comments. 1488Files: src/blowfish.c, src/fileio.c, src/proto/blowfish.pro, 1489 src/memline.c 1490 1491Patch 7.4.173 1492Problem: When using scrollbind the cursor can end up below the last line. 1493 (mvxxc) 1494Solution: Reset w_botfill when scrolling up. (Christian Brabandt) 1495Files: src/move.c 1496 1497Patch 7.4.174 1498Problem: Compiler warnings for Python interface. (Tony Mechelynck) 1499Solution: Add type casts, initialize variable. 1500Files: src/if_py_both.h 1501 1502Patch 7.4.175 1503Problem: When a wide library function fails, falling back to the non-wide 1504 function may do the wrong thing. 1505Solution: Check the platform, when the wide function is supported don't fall 1506 back to the non-wide function. (Ken Takata) 1507Files: src/os_mswin.c, src/os_win32.c 1508 1509Patch 7.4.176 1510Problem: Dictionary.update() throws an error when used without arguments. 1511 Python programmers don't expect that. 1512Solution: Make Dictionary.update() without arguments do nothing. (ZyX) 1513Files: src/if_py_both.h, src/testdir/test86.in, src/testdir/test87.in 1514 1515Patch 7.4.177 1516Problem: Compiler warning for unused variable. (Tony Mechelynck) 1517Solution: Add #ifdef. 1518Files: src/move.c 1519 1520Patch 7.4.178 1521Problem: The J command does not update '[ and '] marks. (William Gardner) 1522Solution: Set the marks. (Christian Brabandt) 1523Files: src/ops.c 1524 1525Patch 7.4.179 1526Problem: Warning for type-punned pointer. (Tony Mechelynck) 1527Solution: Use intermediate variable. 1528Files: src/if_py_both.h 1529 1530Patch 7.4.180 (after 7.4.174) 1531Problem: Older Python versions don't support %ld. 1532Solution: Use %d instead. (ZyX) 1533Files: src/if_py_both.h 1534 1535Patch 7.4.181 1536Problem: When using 'pastetoggle' the status lines are not updated. (Samuel 1537 Ferencik, Jan Christoph Ebersbach) 1538Solution: Update the status lines. (Nobuhiro Takasaki) 1539Files: src/getchar.c 1540 1541Patch 7.4.182 1542Problem: Building with mzscheme and racket does not work. (David Chimay) 1543Solution: Adjust autoconf. (Sergey Khorev) 1544Files: src/configure.in, src/auto/configure 1545 1546Patch 7.4.183 1547Problem: MSVC Visual Studio update not supported. 1548Solution: Add version number. (Mike Williams) 1549Files: src/Make_mvc.mak 1550 1551Patch 7.4.184 1552Problem: match() does not work properly with a {count} argument. 1553Solution: Compute the length once and update it. Quit the loop when at the 1554 end. (Hirohito Higashi) 1555Files: src/eval.c, src/testdir/test53.in, src/testdir/test53.ok 1556 1557Patch 7.4.185 1558Problem: Clang gives warnings. 1559Solution: Adjust how bigness is set. (Dominique Pelle) 1560Files: src/ex_cmds.c 1561 1562Patch 7.4.186 (after 7.4.085) 1563Problem: Insert in Visual mode sometimes gives incorrect results. 1564 (Dominique Pelle) 1565Solution: Remember the original insert start position. (Christian Brabandt, 1566 Dominique Pelle) 1567Files: src/edit.c, src/globals.h, src/ops.c, src/structs.h 1568 1569Patch 7.4.187 1570Problem: Delete that crosses line break splits multi-byte character. 1571Solution: Advance a character instead of a byte. (Cade Foster) 1572Files: src/normal.c, src/testdir/test69.in, src/testdir/test69.ok 1573 1574Patch 7.4.188 1575Problem: SIZEOF_LONG clashes with similar defines in header files. 1576Solution: Rename to a name starting with VIM_. Also for SIZEOF_INT. 1577Files: src/if_ruby.c, src/vim.h, src/configure.in, src/auto/configure, 1578 src/config.h.in, src/fileio.c, src/if_python.c, src/message.c, 1579 src/spell.c, src/feature.h, src/os_os2_cfg.h, src/os_vms_conf.h, 1580 src/os_win16.h, src/structs.h 1581 1582Patch 7.4.189 1583Problem: Compiler warning for unused argument. 1584Solution: Add UNUSED. 1585Files: src/eval.c 1586 1587Patch 7.4.190 1588Problem: Compiler warning for using %lld for off_t. 1589Solution: Add type cast. 1590Files: src/fileio.c 1591 1592Patch 7.4.191 1593Problem: Escaping a file name for shell commands can't be done without a 1594 function. 1595Solution: Add the :S file name modifier. 1596Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 1597 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 1598 src/testdir/Make_vms.mms, src/testdir/Makefile, 1599 src/testdir/test105.in, src/testdir/test105.ok, 1600 runtime/doc/cmdline.txt, runtime/doc/eval.txt, 1601 runtime/doc/map.txt, runtime/doc/options.txt, 1602 runtime/doc/quickfix.txt, runtime/doc/usr_30.txt, 1603 runtime/doc/usr_40.txt, runtime/doc/usr_42.txt, 1604 runtime/doc/vi_diff.txt, src/eval.c, src/misc2.c, src/normal.c, 1605 src/proto/misc2.pro 1606 1607Patch 7.4.192 1608Problem: Memory leak when giving E853. 1609Solution: Free the argument. (Dominique Pelle) 1610Files: src/eval.c 1611 1612Patch 7.4.193 1613Problem: Typos in messages. 1614Solution: "then" -> "than". (Dominique Pelle) 1615Files: src/if_py_both.h, src/spell.c 1616 1617Patch 7.4.194 1618Problem: Can't build for Android. 1619Solution: Add #if condition. (Fredrik Fornwall) 1620Files: src/mbyte.c 1621 1622Patch 7.4.195 (after 7.4.193) 1623Problem: Python tests fail. 1624Solution: Change "then" to "than" in more places. (Dominique Pelle, Taro 1625 Muraoka) 1626Files: src/testdir/test86.in, src/testdir/test86.ok, 1627 src/testdir/test87.in, src/testdir/test87.ok 1628 1629Patch 7.4.196 1630Problem: Tests fail on Solaris 9 and 10. 1631Solution: Use "test -f" instead of "test -e". (Laurent Blume) 1632Files: src/testdir/Makefile 1633 1634Patch 7.4.197 1635Problem: Various problems on VMS. 1636Solution: Fix several VMS problems. (Zoltan Arpadffy) 1637Files: runtime/doc/os_vms.txt, src/Make_vms.mms, src/fileio.c, 1638 src/os_unix.c, src/os_unix.h, src/os_vms.c, src/os_vms_conf.h, 1639 src/proto/os_vms.pro, src/testdir/Make_vms.mms, 1640 src/testdir/test72.in, src/testdir/test77a.com, 1641 src/testdir/test77a.in, src/testdir/test77a.ok src/undo.c 1642 1643Patch 7.4.198 1644Problem: Can't build Vim with Perl when -Dusethreads is not specified for 1645 building Perl, and building Vim with --enable-perlinterp=dynamic. 1646Solution: Adjust #ifdefs. (Yasuhiro Matsumoto) 1647Files: src/if_perl.xs 1648 1649Patch 7.4.199 1650Problem: (issue 197) ]P doesn't paste over Visual selection. 1651Solution: Handle Visual mode specifically. (Christian Brabandt) 1652Files: src/normal.c 1653 1654Patch 7.4.200 1655Problem: Too many #ifdefs in the code. 1656Solution: Enable FEAT_VISUAL always, await any complaints 1657Files: src/feature.h 1658 1659Patch 7.4.201 1660Problem: 'lispwords' is a global option. 1661Solution: Make 'lispwords' global-local. (Sung Pae) 1662Files: runtime/doc/options.txt, runtime/optwin.vim, src/buffer.c, 1663 src/misc1.c, src/option.c, src/option.h, src/structs.h, 1664 src/testdir/test100.in, src/testdir/test100.ok 1665 1666Patch 7.4.202 1667Problem: MS-Windows: non-ASCII font names don't work. 1668Solution: Convert between the current code page and 'encoding'. (Ken Takata) 1669Files: src/gui_w48.c, src/os_mswin.c, src/proto/winclip.pro, 1670 src/winclip.c 1671 1672Patch 7.4.203 1673Problem: Parsing 'errorformat' is not correct. 1674Solution: Reset "multiignore" at the start of a multi-line message. (Lcd) 1675Files: src/quickfix.c, src/testdir/Make_amiga.mak, 1676 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 1677 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms, 1678 src/testdir/Makefile, src/testdir/test106.in, 1679 src/testdir/test106.ok 1680 1681Patch 7.4.204 1682Problem: A mapping where the second byte is 0x80 doesn't work. 1683Solution: Unescape before checking for incomplete multi-byte char. (Nobuhiro 1684 Takasaki) 1685Files: src/getchar.c, src/testdir/test75.in, src/testdir/test75.ok 1686 1687Patch 7.4.205 1688Problem: ":mksession" writes command to move to second argument while it 1689 does not exist. When it does exist the order might be wrong. 1690Solution: Use ":argadd" for each argument instead of using ":args" with a 1691 list of names. (Nobuhiro Takasaki) 1692Files: src/ex_docmd.c 1693 1694Patch 7.4.206 1695Problem: Compiler warnings on 64 bit Windows. 1696Solution: Add type casts. (Mike Williams) 1697Files: src/gui_w48.c, src/os_mswin.c 1698 1699Patch 7.4.207 1700Problem: The cursor report sequence is sometimes not recognized and results 1701 in entering replace mode. 1702Solution: Also check for the cursor report when not asked for. 1703Files: src/term.c 1704 1705Patch 7.4.208 1706Problem: Mercurial picks up some files that are not distributed. 1707Solution: Add patterns to the ignore list. (Cade Forester) 1708Files: .hgignore 1709 1710Patch 7.4.209 1711Problem: When repeating a filter command "%" and "#" are expanded. 1712Solution: Escape the command when storing for redo. (Christian Brabandt) 1713Files: src/ex_cmds.c 1714 1715Patch 7.4.210 1716Problem: Visual block mode plus virtual edit doesn't work well with tabs. 1717 (Liang Li) 1718Solution: Take coladd into account. (Christian Brabandt) 1719Files: src/ops.c, src/testdir/test39.in, src/testdir/test39.ok 1720 1721Patch 7.4.211 1722Problem: ":lu" is an abbreviation for ":lua", but it should be ":lunmap". 1723 (ZyX) 1724Solution: Move "lunmap" to above "lua". 1725Files: src/ex_cmds.h 1726 1727Patch 7.4.212 (after 7.4.200) 1728Problem: Now that the +visual feature is always enabled the #ifdefs for it 1729 are not useful. 1730Solution: Remove the checks for FEAT_VISUAL. 1731Files: src/buffer.c, src/charset.c, src/edit.c, src/eval.c, 1732 src/ex_cmds.c, src/ex_docmd.c, src/fold.c, src/getchar.c, 1733 src/gui.c, src/gui_mac.c, src/gui_w48.c, src/main.c, src/mark.c, 1734 src/menu.c, src/misc2.c, src/move.c, src/netbeans.c, src/normal.c, 1735 src/ops.c, src/option.c, src/os_msdos.c, src/os_qnx.c, 1736 src/quickfix.c, src/regexp.c, src/regexp_nfa.c, src/screen.c, 1737 src/search.c, src/spell.c, src/syntax.c, src/term.c, src/ui.c, 1738 src/undo.c, src/version.c, src/window.c, src/feature.h, 1739 src/globals.h, src/option.h, src/os_win32.h, src/structs.h 1740 1741Patch 7.4.213 1742Problem: It's not possible to open a new buffer without creating a swap 1743 file. 1744Solution: Add the ":noswapfile" modifier. (Christian Brabandt) 1745Files: runtime/doc/recover.txt, src/ex_cmds.h, src/ex_docmd.c, 1746 src/memline.c, src/structs.h 1747 1748Patch 7.4.214 1749Problem: Compilation problems on HP_nonStop (Tandem). 1750Solution: Add #defines. (Joachim Schmitz) 1751Files: src/vim.h 1752 1753Patch 7.4.215 1754Problem: Inconsistency: ":sp foo" does not reload "foo", unless "foo" is 1755 the current buffer. (Liang Li) 1756Solution: Do not reload the current buffer on a split command. 1757Files: runtime/doc/windows.txt, src/ex_docmd.c 1758 1759Patch 7.4.216 1760Problem: Compiler warnings. (Tony Mechelynck) 1761Solution: Initialize variables, add #ifdef. 1762Files: src/term.c, src/os_unix.h 1763 1764Patch 7.4.217 1765Problem: When src/auto/configure was updated, "make clean" would run 1766 configure pointlessly. 1767Solution: Do not run configure for "make clean" and "make distclean" when 1768 the make program supports $MAKECMDGOALS. (Ken Takata) 1769Files: src/Makefile 1770 1771Patch 7.4.218 1772Problem: It's not easy to remove duplicates from a list. 1773Solution: Add the uniq() function. (Lcd) 1774Files: runtime/doc/change.txt, runtime/doc/eval.txt, 1775 runtime/doc/usr_41.txt, runtime/doc/version7.txt, src/eval.c, 1776 src/testdir/test55.in, src/testdir/test55.ok 1777 1778Patch 7.4.219 1779Problem: When 'relativenumber' or 'cursorline' are set the window is 1780 redrawn much to often. (Patrick Hemmer, Dominique Pelle) 1781Solution: Check the VALID_CROW flag instead of VALID_WROW. 1782Files: src/move.c 1783 1784Patch 7.4.220 1785Problem: Test 105 does not work in a shadow dir. (James McCoy) 1786Solution: Omit "src/" from the checked path. 1787Files: src/testdir/test105.in, src/testdir/test105.ok 1788 1789Patch 7.4.221 1790Problem: Quickfix doesn't resize on ":copen 20". (issue 199) 1791Solution: Resize the window when requested. (Christian Brabandt) 1792Files: src/quickfix.c 1793 1794Patch 7.4.222 1795Problem: The Ruby directory is constructed from parts. 1796Solution: Use 'rubyarchhdrdir' if it exists. (James McCoy) 1797Files: src/configure.in, src/auto/configure 1798 1799Patch 7.4.223 1800Problem: Still using an older autoconf version. 1801Solution: Switch to autoconf 2.69. 1802Files: src/Makefile, src/configure.in, src/auto/configure 1803 1804Patch 7.4.224 1805Problem: /usr/bin/grep on Solaris does not support -F. 1806Solution: Add configure check to find a good grep. (Danek Duvall) 1807Files: src/configure.in, src/auto/configure 1808 1809Patch 7.4.225 1810Problem: Dynamic Ruby doesn't work on Solaris. 1811Solution: Always use the stubs. (Danek Duvall, Yukihiro Nakadaira) 1812Files: src/if_ruby.c 1813 1814Patch 7.4.226 (after 7.4.219) 1815Problem: Cursorline highlighting not redrawn when scrolling. (John 1816 Marriott) 1817Solution: Check for required redraw in two places. 1818Files: src/move.c 1819 1820Patch 7.4.227 (after 7.4.225) 1821Problem: Can't build with Ruby 1.8. 1822Solution: Do include a check for the Ruby version. (Ken Takata) 1823Files: src/if_ruby.c 1824 1825Patch 7.4.228 1826Problem: Compiler warnings when building with Python 3.2. 1827Solution: Make type cast depend on Python version. (Ken Takata) 1828Files: src/if_py_both.h, src/if_python.c, src/if_python3.c 1829 1830Patch 7.4.229 1831Problem: Using ":let" for listing variables and the second one is a curly 1832 braces expression may fail. 1833Solution: Check for an "=" in a better way. (ZyX) 1834Files: src/eval.c, src/testdir/test104.in, src/testdir/test104.ok 1835 1836Patch 7.4.230 1837Problem: Error when using ":options". 1838Solution: Fix the entry for 'lispwords'. (Kenichi Ito) 1839Files: runtime/optwin.vim 1840 1841Patch 7.4.231 1842Problem: An error in ":options" is not caught by the tests. 1843Solution: Add a test for ":options". Set $VIMRUNTIME for the tests so that 1844 it uses the current runtime files instead of the installed ones. 1845Files: src/Makefile, src/testdir/Makefile, src/testdir/test_options.in, 1846 src/testdir/test_options.ok, src/testdir/Make_amiga.mak, 1847 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 1848 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms 1849 1850Patch 7.4.232 1851Problem: ":%s/\n//" uses a lot of memory. (Aidan Marlin) 1852Solution: Turn this into a join command. (Christian Brabandt) 1853Files: src/ex_cmds.c, src/ex_docmd.c, src/proto/ex_docmd.pro 1854 1855Patch 7.4.233 1856Problem: Escaping special characters for using "%" with a shell command is 1857 inconsistent, parentheses are escaped but spaces are not. 1858Solution: Only escape "!". (Gary Johnson) 1859Files: src/ex_docmd.c 1860 1861Patch 7.4.234 1862Problem: Can't get the command that was used to start Vim. 1863Solution: Add v:progpath. (Viktor Kojouharov) 1864Files: runtime/doc/eval.txt, src/eval.c, src/main.c, src/vim.h 1865 1866Patch 7.4.235 1867Problem: It is not easy to get the full path of a command. 1868Solution: Add the exepath() function. 1869Files: src/eval.c, src/misc1.c, src/os_amiga.c, src/os_msdos.c, 1870 src/os_unix.c, src/os_vms.c, src/os_win32.c, 1871 src/proto/os_amiga.pro, src/proto/os_msdos.pro, 1872 src/proto/os_unix.pro, src/proto/os_win32.pro, 1873 runtime/doc/eval.txt 1874 1875Patch 7.4.236 1876Problem: It's not that easy to check the Vim patch version. 1877Solution: Make has("patch-7.4.123") work. (partly by Marc Weber) 1878Files: runtime/doc/eval.txt, src/eval.c, src/testdir/test60.in, 1879 src/testdir/test60.ok 1880 1881Patch 7.4.237 (after 7.4.236) 1882Problem: When some patches were not included has("patch-7.4.123") may return 1883 true falsely. 1884Solution: Check for the specific patch number. 1885Files: runtime/doc/eval.txt, src/eval.c 1886 1887Patch 7.4.238 1888Problem: Vim does not support the smack library. 1889Solution: Add smack support (Jose Bollo) 1890Files: src/config.h.in, src/configure.in, src/fileio.c, src/memfile.c, 1891 src/os_unix.c, src/undo.c, src/auto/configure 1892 1893Patch 7.4.239 1894Problem: ":e +" does not position cursor at end of the file. 1895Solution: Check for "+" being the last character (ZyX) 1896Files: src/ex_docmd.c 1897 1898Patch 7.4.240 1899Problem: ":tjump" shows "\n" as "\\n". 1900Solution: Skip over "\" that escapes a backslash. (Gary Johnson) 1901Files: src/tag.c 1902 1903Patch 7.4.241 1904Problem: The string returned by submatch() does not distinguish between a 1905 NL from a line break and a NL that stands for a NUL character. 1906Solution: Add a second argument to return a list. (ZyX) 1907Files: runtime/doc/eval.txt, src/eval.c, src/proto/regexp.pro, 1908 src/regexp.c, src/testdir/test79.in, src/testdir/test79.ok, 1909 src/testdir/test80.in, src/testdir/test80.ok 1910 1911Patch 7.4.242 1912Problem: getreg() does not distinguish between a NL used for a line break 1913 and a NL used for a NUL character. 1914Solution: Add another argument to return a list. (ZyX) 1915Files: runtime/doc/eval.txt, src/eval.c src/ops.c, src/proto/ops.pro, 1916 src/vim.h, src/Makefile, src/testdir/test_eval.in, 1917 src/testdir/test_eval.ok, src/testdir/Make_amiga.mak, 1918 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 1919 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms 1920 1921Patch 7.4.243 1922Problem: Cannot use setreg() to add text that includes a NUL. 1923Solution: Make setreg() accept a list. 1924Files: runtime/doc/eval.txt, src/eval.c, src/ops.c, src/proto/ops.pro, 1925 src/testdir/test_eval.in, src/testdir/test_eval.ok 1926 1927Patch 7.4.244 (after 7.4.238) 1928Problem: The smack feature causes stray error messages. 1929Solution: Remove the error messages. 1930Files: src/os_unix.c 1931 1932Patch 7.4.245 1933Problem: Crash for "vim -u NONE -N -c '&&'". 1934Solution: Check for the pattern to be NULL. (Dominique Pelle) 1935Files: src/ex_cmds.c 1936 1937Patch 7.4.246 1938Problem: Configure message for detecting smack are out of sequence. 1939Solution: Put the messages in the right place. (Kazunobu Kuriyama) 1940Files: src/configure.in, src/auto/configure 1941 1942Patch 7.4.247 1943Problem: When passing input to system() there is no way to keep NUL and 1944 NL characters separate. 1945Solution: Optionally use a list for the system() input. (ZyX) 1946Files: runtime/doc/eval.txt, src/eval.c 1947 1948Patch 7.4.248 1949Problem: Cannot distinguish between NL and NUL in output of system(). 1950Solution: Add systemlist(). (ZyX) 1951Files: runtime/doc/eval.txt, src/eval.c, src/ex_cmds2.c, src/misc1.c, 1952 src/proto/misc1.pro 1953 1954Patch 7.4.249 1955Problem: Using setreg() with a list of numbers does not work. 1956Solution: Use a separate buffer for numbers. (ZyX) 1957Files: src/eval.c, src/testdir/test_eval.in, src/testdir/test_eval.ok 1958 1959Patch 7.4.250 1960Problem: Some test files missing from distribution. 1961Solution: Add pattern for newly added tests. 1962Files: Filelist 1963 1964Patch 7.4.251 1965Problem: Crash when BufAdd autocommand wipes out the buffer. 1966Solution: Check for buffer to still be valid. Postpone freeing the buffer 1967 structure. (Hirohito Higashi) 1968Files: src/buffer.c, src/ex_cmds.c, src/fileio.c, src/globals.h 1969 1970Patch 7.4.252 1971Problem: Critical error in GTK, removing timer twice. 1972Solution: Clear the timer after removing it. (James McCoy) 1973Files: src/gui_gtk_x11.c 1974 1975Patch 7.4.253 1976Problem: Crash when using cpp syntax file with pattern using external 1977 match. (Havard Garnes) 1978Solution: Discard match when end column is before start column. 1979Files: src/regexp.c, src/regexp_nfa.c 1980 1981Patch 7.4.254 1982Problem: Smack support detection is incomplete. 1983Solution: Check for attr/xattr.h and specific macro. 1984Files: src/configure.in, src/auto/configure 1985 1986Patch 7.4.255 1987Problem: Configure check for smack doesn't work with all shells. (David 1988 Larson) 1989Solution: Remove spaces in set command. 1990Files: src/configure.in, src/auto/configure 1991 1992Patch 7.4.256 (after 7.4.248) 1993Problem: Using systemlist() may cause a crash and does not handle NUL 1994 characters properly. 1995Solution: Increase the reference count, allocate memory by length. (Yasuhiro 1996 Matsumoto) 1997Files: src/eval.c 1998 1999Patch 7.4.257 2000Problem: Compiler warning, possibly for mismatch in parameter name. 2001Solution: Rename the parameter in the declaration. 2002Files: src/ops.c 2003 2004Patch 7.4.258 2005Problem: Configure fails if $CC contains options. 2006Solution: Remove quotes around $CC. (Paul Barker) 2007Files: src/configure.in, src/auto/configure 2008 2009Patch 7.4.259 2010Problem: Warning for misplaced "const". 2011Solution: Move the "const". (Yukihiro Nakadaira) 2012Files: src/os_unix.c 2013 2014Patch 7.4.260 2015Problem: It is possible to define a function with a colon in the name. It 2016 is possible to define a function with a lower case character if a 2017 "#" appears after the name. 2018Solution: Disallow using a colon other than with "s:". Ignore "#" after the 2019 name. 2020Files: runtime/doc/eval.txt, src/eval.c, src/testdir/test_eval.in, 2021 src/testdir/test_eval.ok 2022 2023Patch 7.4.261 2024Problem: When updating the window involves a regexp pattern, an interactive 2025 substitute to replace a "\n" with a line break fails. (Ingo 2026 Karkat) 2027Solution: Set reg_line_lbr in vim_regsub() and vim_regsub_multi(). 2028Files: src/regexp.c, src/testdir/test79.in, src/testdir/test79.ok 2029 2030Patch 7.4.262 2031Problem: Duplicate code in regexec(). 2032Solution: Add line_lbr flag to regexec_nl(). 2033Files: src/regexp.c, src/regexp_nfa.c, src/regexp.h 2034 2035Patch 7.4.263 2036Problem: GCC 4.8 compiler warning for hiding a declaration (François Gannaz) 2037Solution: Remove the second declaration. 2038Files: src/eval.c 2039 2040Patch 7.4.264 (after 7.4.260) 2041Problem: Can't define a function starting with "g:". Can't assign a 2042 funcref to a buffer-local variable. 2043Solution: Skip "g:" at the start of a function name. Don't check for colons 2044 when assigning to a variable. 2045Files: src/eval.c, src/testdir/test_eval.in, src/testdir/test_eval.ok 2046 2047Patch 7.4.265 (after 7.4.260) 2048Problem: Can't call a global function with "g:" in an expression. 2049Solution: Skip the "g:" when looking up the function. 2050Files: src/eval.c, src/testdir/test_eval.in, src/testdir/test_eval.ok 2051 2052Patch 7.4.266 2053Problem: Test 62 fails. 2054Solution: Set the language to C. (Christian Brabandt) 2055Files: src/testdir/test62.in 2056 2057Patch 7.4.267 (after 7.4.178) 2058Problem: The '[ mark is in the wrong position after "gq". (Ingo Karkat) 2059Solution: Add the setmark argument to do_join(). (Christian Brabandt) 2060Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 2061 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 2062 src/testdir/Make_vms.mms, src/testdir/Makefile, 2063 src/testdir/test_autoformat_join.in, 2064 src/testdir/test_autoformat_join.ok, src/Makefile, src/edit.c, 2065 src/ex_cmds.c, src/ex_docmd.c, src/normal.c, src/ops.c, 2066 src/proto/ops.pro 2067 2068Patch 7.4.268 2069Problem: Using exists() on a funcref for a script-local function does not 2070 work. 2071Solution: Translate <SNR> to the special byte sequence. Add a test. 2072Files: src/eval.c, src/testdir/test_eval.in, src/testdir/test_eval.ok, 2073 src/testdir/test_eval_func.vim, Filelist 2074 2075Patch 7.4.269 2076Problem: CTRL-U in Insert mode does not work after using a cursor key. 2077 (Pine Wu) 2078Solution: Use the original insert start position. (Christian Brabandt) 2079Files: src/edit.c, src/testdir/test29.in, src/testdir/test29.ok 2080 2081Patch 7.4.270 2082Problem: Comparing pointers instead of the string they point to. 2083Solution: Use strcmp(). (Ken Takata) 2084Files: src/gui_gtk_x11.c 2085 2086Patch 7.4.271 2087Problem: Compiler warning on 64 bit windows. 2088Solution: Add type cast. (Mike Williams) 2089Files: src/ops.c 2090 2091Patch 7.4.272 2092Problem: Using just "$" does not cause an error message. 2093Solution: Check for empty environment variable name. (Christian Brabandt) 2094Files: src/eval.c, src/testdir/test_eval.in, src/testdir/test_eval.ok 2095 2096Patch 7.4.273 2097Problem: "make autoconf" and "make reconfig" may first run configure and 2098 then remove the output. 2099Solution: Add these targets to the exceptions. (Ken Takata) 2100Files: src/Makefile 2101 2102Patch 7.4.274 2103Problem: When doing ":update" just before running an external command that 2104 changes the file, the timestamp may be unchanged and the file 2105 is not reloaded. 2106Solution: Also check the file size. 2107Files: src/fileio.c 2108 2109Patch 7.4.275 2110Problem: When changing the type of a sign that hasn't been placed there is 2111 no error message. 2112Solution: Add an error message. (Christian Brabandt) 2113Files: src/ex_cmds.c 2114 2115Patch 7.4.276 2116Problem: The fish shell is not supported. 2117Solution: Use begin/end instead of () for fish. (Andy Russell) 2118Files: src/ex_cmds.c, src/misc1.c, src/option.c, src/proto/misc1.pro 2119 2120Patch 7.4.277 2121Problem: Using ":sign unplace *" may leave the cursor in the wrong position 2122 (Christian Brabandt) 2123Solution: Update the cursor position when removing all signs. 2124Files: src/buffer.c 2125 2126Patch 7.4.278 2127Problem: list_remove() conflicts with function defined in Sun header file. 2128Solution: Rename the function. (Richard Palo) 2129Files: src/eval.c, src/if_lua.c, src/if_py_both.h, src/proto/eval.pro 2130 2131Patch 7.4.279 2132Problem: globpath() returns a string, making it difficult to get a list of 2133 matches. (Greg Novack) 2134Solution: Add an optional argument like with glob(). (Adnan Zafar) 2135Files: runtime/doc/eval.txt, src/eval.c, src/ex_getln.c, src/misc1.c, 2136 src/misc2.c, src/proto/ex_getln.pro, src/proto/misc2.pro, 2137 src/testdir/test97.in, src/testdir/test97.ok 2138 2139Patch 7.4.280 2140Problem: When using a session file the relative position of the cursor is 2141 not restored if there is another tab. (Nobuhiro Takasaki) 2142Solution: Update w_wrow before calculating the fraction. 2143Files: src/window.c 2144 2145Patch 7.4.281 2146Problem: When a session file has more than one tabpage and 'showtabline' is 2147 one the positions may be slightly off. 2148Solution: Set 'showtabline' to two while positioning windows. 2149Files: src/ex_docmd.c 2150 2151Patch 7.4.282 (after 7.4.279) 2152Problem: Test 97 fails on Mac. 2153Solution: Do not ignore case in file names. (Jun Takimoto) 2154Files: src/testdir/test97.in 2155 2156Patch 7.4.283 (after 7.4.276) 2157Problem: Compiler warning about unused variable. (Charles Cooper) 2158Solution: Move the variable inside the #if block. 2159Files: src/ex_cmds.c 2160 2161Patch 7.4.284 2162Problem: Setting 'langmap' in the modeline can cause trouble. E.g. mapping 2163 ":" breaks many commands. (Jens-Wolfhard Schicke-Uffmann) 2164Solution: Disallow setting 'langmap' from the modeline. 2165Files: src/option.c 2166 2167Patch 7.4.285 2168Problem: When 'relativenumber' is set and deleting lines or undoing that, 2169 line numbers are not always updated. (Robert Arkwright) 2170Solution: (Christian Brabandt) 2171Files: src/misc1.c 2172 2173Patch 7.4.286 2174Problem: Error messages are inconsistent. (ZyX) 2175Solution: Change "Lists" to "list". 2176Files: src/eval.c 2177 2178Patch 7.4.287 2179Problem: Patches for .hgignore don't work, since the file is not in the 2180 distribution. 2181Solution: Add .hgignore to the distribution. Will be effective with the 2182 next version. 2183Files: Filelist 2184 2185Patch 7.4.288 2186Problem: When 'spellfile' is set the screen is not redrawn. 2187Solution: Redraw when updating the spelling info. (Christian Brabandt) 2188Files: src/spell.c 2189 2190Patch 7.4.289 2191Problem: Pattern with repeated backreference does not match with new regexp 2192 engine. (Urtica Dioica) 2193Solution: Also check the end of a submatch when deciding to put a state in 2194 the state list. 2195Files: src/testdir/test64.in, src/testdir/test64.ok, src/regexp_nfa.c 2196 2197Patch 7.4.290 2198Problem: A non-greedy match followed by a branch is too greedy. (Ingo 2199 Karkat) 2200Solution: Add NFA_MATCH when it is already in the state list if the position 2201 differs. 2202Files: src/testdir/test64.in, src/testdir/test64.ok, src/regexp_nfa.c 2203 2204Patch 7.4.291 2205Problem: Compiler warning for int to pointer of different size when DEBUG 2206 is defined. 2207Solution: use smsg() instead of EMSG3(). 2208Files: src/regexp.c 2209 2210Patch 7.4.292 2211Problem: Searching for "a" does not match accented "a" with new regexp 2212 engine, does match with old engine. (David Bürgin) 2213 "ca" does not match "ca" with accented "a" with either engine. 2214Solution: Change the old engine, check for following composing character 2215 also for single-byte patterns. 2216Files: src/regexp.c, src/testdir/test95.in, src/testdir/test95.ok 2217 2218Patch 7.4.293 2219Problem: It is not possible to ignore composing characters at a specific 2220 point in a pattern. 2221Solution: Add the %C item. 2222Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test95.in, 2223 src/testdir/test95.ok, runtime/doc/pattern.txt 2224 2225Patch 7.4.294 (7.4.293) 2226Problem: Test files missing from patch. 2227Solution: Patch the test files. 2228Files: src/testdir/test95.in, src/testdir/test95.ok 2229 2230Patch 7.4.295 2231Problem: Various typos, bad white space and unclear comments. 2232Solution: Fix typos. Improve white space. Update comments. 2233Files: src/testdir/test49.in, src/macros.h, src/screen.c, src/structs.h, 2234 src/gui_gtk_x11.c, src/os_unix.c 2235 2236Patch 7.4.296 2237Problem: Can't run tests on Solaris. 2238Solution: Change the way VIMRUNTIME is set. (Laurent Blume) 2239Files: src/testdir/Makefile 2240 2241Patch 7.4.297 2242Problem: Memory leak from result of get_isolated_shell_name(). 2243Solution: Free the memory. (Dominique Pelle) 2244Files: src/ex_cmds.c, src/misc1.c 2245 2246Patch 7.4.298 2247Problem: Can't have a funcref start with "t:". 2248Solution: Add "t" to the list of accepted names. (Yukihiro Nakadaira) 2249Files: src/eval.c 2250 2251Patch 7.4.299 2252Problem: When running configure twice DYNAMIC_PYTHON_DLL may become empty. 2253Solution: Use AC_CACHE_VAL. (Ken Takata) 2254Files: src/configure.in, src/auto/configure 2255 2256Patch 7.4.300 2257Problem: The way config.cache is removed doesn't always work. 2258Solution: Always remove config.cache. (Ken Takata) 2259Files: src/Makefile 2260 2261Patch 7.4.301 (after 7.4.280) 2262Problem: Still a scrolling problem when loading a session file. 2263Solution: Fix off-by-one mistake. (Nobuhiro Takasaki) 2264Files: src/window.c 2265 2266Patch 7.4.302 2267Problem: Signs placed with 'foldcolumn' set don't show up after filler 2268 lines. 2269Solution: Take filler lines into account. (Olaf Dabrunz) 2270Files: src/screen.c 2271 2272Patch 7.4.303 2273Problem: When using double-width characters the text displayed on the 2274 command line is sometimes truncated. 2275Solution: Reset the string length. (Nobuhiro Takasaki) 2276Files: src/screen.c 2277 2278Patch 7.4.304 2279Problem: Cannot always use Python with Vim. 2280Solution: Add the manifest to the executable. (Jacques Germishuys) 2281Files: src/Make_mvc.mak 2282 2283Patch 7.4.305 2284Problem: Making 'ttymouse' empty after the xterm version was requested 2285 causes problems. (Elijah Griffin) 2286Solution: Do not check for DEC mouse sequences when the xterm version was 2287 requested. Also don't request the xterm version when DEC mouse 2288 was enabled. 2289Files: src/term.c, src/os_unix.c, src/proto/term.pro, src/globals.h 2290 2291Patch 7.4.306 2292Problem: getchar(0) does not return Esc. 2293Solution: Do not wait for an Esc sequence to be complete. (Yasuhiro 2294 Matsumoto) 2295Files: src/eval.c, src/getchar.c 2296 2297Patch 7.4.307 (after 7.4.305) 2298Problem: Can't build without the +termresponse feature. 2299Solution: Add proper #ifdefs. 2300Files: src/os_unix.c, src/term.c 2301 2302Patch 7.4.308 2303Problem: When using ":diffsplit" on an empty file the cursor is displayed 2304 on the command line. 2305Solution: Limit the value of w_topfill. 2306Files: src/diff.c 2307 2308Patch 7.4.309 2309Problem: When increasing the size of the lower window, the upper window 2310 jumps back to the top. (Ron Aaron) 2311Solution: Change setting the topline. (Nobuhiro Takasaki) 2312Files: src/window.c 2313 2314Patch 7.4.310 2315Problem: getpos()/setpos() don't include curswant. 2316Solution: Add a fifth number when getting/setting the cursor. 2317Files: src/eval.c, src/testdir/test_eval.in, src/testdir/test_eval.ok, 2318 runtime/doc/eval.txt 2319 2320Patch 7.4.311 2321Problem: Can't use winrestview to only restore part of the view. 2322Solution: Handle missing items in the dict. (Christian Brabandt) 2323Files: src/eval.c, runtime/doc/eval.txt 2324 2325Patch 7.4.312 2326Problem: Cannot figure out what argument list is being used for a window. 2327Solution: Add the arglistid() function. (Marcin Szamotulski) 2328Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/eval.c, 2329 src/ex_docmd.c, src/globals.h, src/structs.h, src/main.c 2330 2331Patch 7.4.313 (after 7.4.310) 2332Problem: Changing the return value of getpos() causes an error. (Jie Zhu) 2333Solution: Revert getpos() and add getcurpos(). 2334Files: src/eval.c, src/testdir/test_eval.in, src/testdir/test_eval.ok, 2335 runtime/doc/eval.txt 2336 2337Patch 7.4.314 2338Problem: Completion messages can get in the way of a plugin. 2339Solution: Add 'c' flag to 'shortmess' option. (Shougo Matsu) 2340Files: runtime/doc/options.txt, src/edit.c, src/option.h, src/screen.c 2341 2342Patch 7.4.315 (after 7.4.309) 2343Problem: Fixes for computation of topline not tested. 2344Solution: Add test. (Hirohito Higashi) 2345Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 2346 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 2347 src/testdir/Make_vms.mms, src/testdir/Makefile, 2348 src/testdir/test107.in, src/testdir/test107.ok 2349 2350Patch 7.4.316 2351Problem: Warning from 64-bit compiler. 2352Solution: Add type cast. (Mike Williams) 2353Files: src/ex_getln.c 2354 2355Patch 7.4.317 2356Problem: Crash when starting gvim. Issue 230. 2357Solution: Check for a pointer to be NULL. (Christian Brabandt) 2358Files: src/window.c 2359 2360Patch 7.4.318 2361Problem: Check for whether a highlight group has settings ignores fg and bg 2362 color settings. 2363Solution: Also check cterm and GUI color settings. (Christian Brabandt) 2364Files: src/syntax.c 2365 2366Patch 7.4.319 2367Problem: Crash when putting zero bytes on the clipboard. 2368Solution: Do not support the utf8_atom target when not using a Unicode 2369 encoding. (Naofumi Honda) 2370Files: src/ui.c 2371 2372Patch 7.4.320 2373Problem: Possible crash when an BufLeave autocommand deletes the buffer. 2374Solution: Check for the window pointer being valid. Postpone freeing the 2375 window until autocommands are done. (Yasuhiro Matsumoto) 2376Files: src/buffer.c, src/fileio.c, src/globals.h, src/window.c 2377 2378Patch 7.4.321 2379Problem: Can't build with strawberry perl 5.20 + mingw-w64-4.9.0. 2380Solution: Define save_strlen. (Ken Takata) 2381Files: src/if_perl.xs 2382 2383Patch 7.4.322 2384Problem: Using "msgfmt" is hard coded, cannot use "gmsgfmt". 2385Solution: Use the msgfmt command found by configure. (Danek Duvall) 2386Files: src/config.mk.in, src/po/Makefile 2387 2388Patch 7.4.323 2389Problem: substitute() with zero width pattern breaks multi-byte character. 2390Solution: Take multi-byte character size into account. (Yukihiro Nakadaira) 2391Files: src/eval.c src/testdir/test69.in, src/testdir/test69.ok 2392 2393Patch 7.4.324 2394Problem: In Ex mode, cyrillic characters are not handled. (Stas Malavin) 2395Solution: Support multi-byte characters in Ex mode. (Yukihiro Nakadaira) 2396Files: src/ex_getln.c 2397 2398Patch 7.4.325 2399Problem: When starting the gui and changing the window size the status line 2400 may not be drawn correctly. 2401Solution: Catch new_win_height() being called recursively. (Christian 2402 Brabandt) 2403Files: src/window.c 2404 2405Patch 7.4.326 2406Problem: Can't build Tiny version. (Elimar Riesebieter) 2407Solution: Add #ifdef. 2408Files: src/window.c 2409 2410Patch 7.4.327 2411Problem: When 'verbose' is set to display the return value of a function, 2412 may get E724 repeatedly. 2413Solution: Do not give an error for verbose messages. Abort conversion to 2414 string after an error. 2415Files: src/eval.c 2416 2417Patch 7.4.328 2418Problem: Selection of inner block is inconsistent. 2419Solution: Skip indent not only for '}' but all parens. (Tom McDonald) 2420Files: src/search.c 2421 2422Patch 7.4.329 2423Problem: When moving the cursor and then switching to another window the 2424 previous window isn't scrolled. (Yukihiro Nakadaira) 2425Solution: Call update_topline() before leaving the window. (Christian 2426 Brabandt) 2427Files: src/window.c 2428 2429Patch 7.4.330 2430Problem: Using a regexp pattern to highlight a specific position can be 2431 slow. 2432Solution: Add matchaddpos() to highlight specific positions efficiently. 2433 (Alexey Radkov) 2434Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, 2435 runtime/plugin/matchparen.vim, src/eval.c, src/ex_docmd.c, 2436 src/proto/window.pro, src/screen.c, src/structs.h, 2437 src/testdir/test63.in, src/testdir/test63.ok, src/window.c 2438 2439Patch 7.4.331 2440Problem: Relative numbering not updated after a linewise yank. Issue 235. 2441Solution: Redraw after the yank. (Christian Brabandt) 2442Files: src/ops.c 2443 2444Patch 7.4.332 2445Problem: GTK: When a sign icon doesn't fit exactly there can be ugly gaps. 2446Solution: Scale the sign to fit when the aspect ratio is not too far off. 2447 (Christian Brabandt) 2448Files: src/gui_gtk_x11.c 2449 2450Patch 7.4.333 2451Problem: Compiler warning for unused function. 2452Solution: Put the function inside the #ifdef. 2453Files: src/screen.c 2454 2455Patch 7.4.334 (after 7.4.330) 2456Problem: Uninitialized variables, causing some problems. 2457Solution: Initialize the variables. (Dominique Pelle) 2458Files: src/screen.c, src/window.c 2459 2460Patch 7.4.335 2461Problem: No digraph for the new rouble sign. 2462Solution: Add the digraphs =R and =P. 2463Files: src/digraph.c, runtime/doc/digraph.txt 2464 2465Patch 7.4.336 2466Problem: Setting 'history' to a big value causes out-of-memory errors. 2467Solution: Limit the value to 10000. (Hirohito Higashi) 2468Files: runtime/doc/options.txt, src/option.c 2469 2470Patch 7.4.337 2471Problem: When there is an error preparing to edit the command line, the 2472 command won't be executed. (Hirohito Higashi) 2473Solution: Reset did_emsg before editing. 2474Files: src/ex_getln.c 2475 2476Patch 7.4.338 2477Problem: Cannot wrap lines taking indent into account. 2478Solution: Add the 'breakindent' option. (many authors, final improvements by 2479 Christian Brabandt) 2480Files: runtime/doc/eval.txt, runtime/doc/options.txt, runtime/optwin.vim, 2481 src/buffer.c, src/charset.c, src/edit.c, src/ex_getln.c, 2482 src/getchar.c, src/misc1.c, src/misc2.c, src/ops.c, src/option.c, 2483 src/option.h, src/proto/charset.pro, src/proto/misc1.pro, 2484 src/proto/option.pro, src/screen.c, src/structs.h, 2485 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 2486 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 2487 src/testdir/Make_vms.mms, src/testdir/Makefile, 2488 src/testdir/test_breakindent.in, src/testdir/test_breakindent.ok, 2489 src/ui.c, src/version.c 2490 2491Patch 7.4.339 2492Problem: Local function is available globally. 2493Solution: Add "static". 2494Files: src/option.c, src/proto/option.pro 2495 2496Patch 7.4.340 2497Problem: Error from sed about illegal bytes when installing Vim. 2498Solution: Prepend LC_ALL=C. (Itchyny) 2499Files: src/installman.sh 2500 2501Patch 7.4.341 2502Problem: sort() doesn't handle numbers well. 2503Solution: Add an argument to specify sorting on numbers. (Christian Brabandt) 2504Files: runtime/doc/eval.txt, src/eval.c, src/testdir/test55.in, 2505 src/testdir/test55.ok 2506 2507Patch 7.4.342 2508Problem: Clang gives warnings. 2509Solution: Add an else block. (Dominique Pelle) 2510Files: src/gui_beval.c 2511 2512Patch 7.4.343 2513Problem: matchdelete() does not always update the right lines. 2514Solution: Fix off-by-one error. (Ozaki Kiichi) 2515Files: src/window.c 2516 2517Patch 7.4.344 2518Problem: Unnecessary initializations and other things related to 2519 matchaddpos(). 2520Solution: Code cleanup. (Alexey Radkov) 2521Files: runtime/doc/eval.txt, src/screen.c, src/window.c 2522 2523Patch 7.4.345 (after 7.4.338) 2524Problem: Indent is not updated when deleting indent. 2525Solution: Remember changedtick. 2526Files: src/misc1.c 2527 2528Patch 7.4.346 (after 7.4.338) 2529Problem: Indent is not updated when changing 'breakindentopt'. (itchyny) 2530Solution: Do not cache "brishift". (Christian Brabandt) 2531Files: src/misc1.c 2532 2533Patch 7.4.347 2534Problem: test55 fails on some systems. 2535Solution: Remove the elements that all result in zero and can end up in an 2536 arbitrary position. 2537Files: src/testdir/test55.in, src/testdir/test55.ok 2538 2539Patch 7.4.348 2540Problem: When using "J1" in 'cinoptions' a line below a continuation line 2541 gets too much indent. 2542Solution: Fix parentheses in condition. 2543Files: src/misc1.c 2544 2545Patch 7.4.349 2546Problem: When there are matches to highlight the whole window is redrawn, 2547 which is slow. 2548Solution: Only redraw everything when lines were inserted or deleted. 2549 Reset b_mod_xlines when needed. (Alexey Radkov) 2550Files: src/screen.c, src/window.c 2551 2552Patch 7.4.350 2553Problem: Using C indenting for Javascript does not work well for a {} block 2554 inside parentheses. 2555Solution: When looking for a matching paren ignore one that is before the 2556 start of a {} block. 2557Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok 2558 2559Patch 7.4.351 2560Problem: sort() is not stable. 2561Solution: When the items are identical, compare the pointers. 2562Files: src/eval.c, src/testdir/test55.in, src/testdir/test55.ok 2563 2564Patch 7.4.352 2565Problem: With 'linebreak' a tab causes a missing line break. 2566Solution: Count a tab for what it's worth also for shorter lines. 2567 (Christian Brabandt) 2568Files: src/charset.c 2569 2570Patch 7.4.353 2571Problem: 'linebreak' doesn't work with the 'list' option. 2572Solution: Make it work. (Christian Brabandt) 2573Files: runtime/doc/options.txt, src/charset.c, src/screen.c, 2574 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 2575 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 2576 src/testdir/Make_vms.mms, src/testdir/Makefile, 2577 src/testdir/test_listlbr.in, src/testdir/test_listlbr.ok 2578 2579Patch 7.4.354 2580Problem: Compiler warning. 2581Solution: Change NUL to NULL. (Ken Takata) 2582Files: src/screen.c 2583 2584Patch 7.4.355 2585Problem: Several problems with Javascript indenting. 2586Solution: Improve Javascript indenting. 2587Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok 2588 2589Patch 7.4.356 2590Problem: Mercurial does not ignore memfile_test. (Daniel Hahler) 2591Solution: Add memfile_test to ignored files, remove trailing spaces. 2592Files: .hgignore 2593 2594Patch 7.4.357 2595Problem: After completion some characters are not redrawn. 2596Solution: Clear the command line unconditionally. (Jacob Niehus) 2597Files: src/edit.c 2598 2599Patch 7.4.358 (after 7.4.351) 2600Problem: Sort is not always stable. 2601Solution: Add an index instead of relying on the pointer to remain the same. 2602 Idea by Jun Takimoto. 2603Files: src/eval.c 2604 2605Patch 7.4.359 2606Problem: When 'ttymouse' is set to 'uxterm' the xterm version is not 2607 requested. (Tomas Janousek) 2608Solution: Do not mark uxterm as a conflict mouse and add 2609 resume_get_esc_sequence(). 2610Files: src/term.c, src/os_unix.c, src/proto/term.pro 2611 2612Patch 7.4.360 2613Problem: In a regexp pattern a "$" followed by \v or \V is not seen as the 2614 end-of-line. 2615Solution: Handle the situation. (Ozaki Kiichi) 2616Files: src/regexp.c 2617 2618Patch 7.4.361 2619Problem: Lots of flickering when filling the preview window for 'omnifunc'. 2620Solution: Disable redrawing. (Hirohito Higashi) 2621Files: src/popupmnu.c 2622 2623Patch 7.4.362 2624Problem: When matchaddpos() uses a length smaller than the number of bytes 2625 in the (last) character the highlight continues until the end of 2626 the line. 2627Solution: Change condition from equal to larger-or-equal. 2628Files: src/screen.c 2629 2630Patch 7.4.363 2631Problem: In Windows console typing 0xCE does not work. 2632Solution: Convert 0xCE to K_NUL 3. (Nobuhiro Takasaki et al.) 2633Files: src/os_win32.c, src/term.c 2634 2635Patch 7.4.364 2636Problem: When the viminfo file can't be renamed there is no error message. 2637 (Vladimir Berezhnoy) 2638Solution: Check for the rename to fail. 2639Files: src/ex_cmds.c 2640 2641Patch 7.4.365 2642Problem: Crash when using ":botright split" when there isn't much space. 2643Solution: Add a check for the minimum width/height. (Yukihiro Nakadaira) 2644Files: src/window.c 2645 2646Patch 7.4.366 2647Problem: Can't run the linebreak test on MS-Windows. 2648Solution: Fix the output file name. (Taro Muraoka) 2649Files: src/testdir/Make_dos.mak 2650 2651Patch 7.4.367 (after 7.4.357) 2652Problem: Other solution for redrawing after completion. 2653Solution: Schedule a window redraw instead of just clearing the command 2654 line. (Jacob Niehus) 2655Files: src/edit.c 2656 2657Patch 7.4.368 2658Problem: Restoring the window sizes after closing the command line window 2659 doesn't work properly if there are nested splits. 2660Solution: Restore the sizes twice. (Hirohito Higashi) 2661Files: src/window.c 2662 2663Patch 7.4.369 2664Problem: Using freed memory when exiting while compiled with EXITFREE. 2665Solution: Set curwin to NULL and check for that. (Dominique Pelle) 2666Files: src/buffer.c, src/window.c 2667 2668Patch 7.4.370 2669Problem: Linebreak test fails when encoding is not utf-8. (Danek Duvall) 2670Solution: Split the test in a single byte one and a utf-8 one. (Christian 2671 Brabandt) 2672Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 2673 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 2674 src/testdir/Make_vms.mms, src/testdir/Makefile, 2675 src/testdir/test_listlbr.in, src/testdir/test_listlbr.ok, 2676 src/testdir/test_listlbr_utf8.in, src/testdir/test_listlbr_utf8.ok 2677 2678Patch 7.4.371 2679Problem: When 'linebreak' is set control characters are not correctly 2680 displayed. (Kimmy Lindvall) 2681Solution: Set n_extra. (Christian Brabandt) 2682Files: src/screen.c 2683 2684Patch 7.4.372 2685Problem: When 'winminheight' is zero there might not be one line for the 2686 current window. 2687Solution: Change the size computations. (Yukihiro Nakadaira) 2688Files: src/window.c 2689 2690Patch 7.4.373 2691Problem: Compiler warning for unused argument and unused variable. 2692Solution: Add UNUSED. Move variable inside #ifdef. 2693Files: src/charset.c, src/window.c 2694 2695Patch 7.4.374 2696Problem: Character after "fb" command not mapped if it might be a composing 2697 character. 2698Solution: Don't disable mapping when looking for a composing character. 2699 (Jacob Niehus) 2700Files: src/normal.c 2701 2702Patch 7.4.375 2703Problem: Test 63 fails when run with GUI-only Vim. 2704Solution: Add guibg attributes. (suggested by Mike Soyka) 2705Files: src/testdir/test63.in 2706 2707Patch 7.4.376 (after 7.4.367) 2708Problem: Popup menu flickers too much. 2709Solution: Remove the forced redraw. (Hirohito Higashi) 2710Files: src/edit.c 2711 2712Patch 7.4.377 2713Problem: When 'equalalways' is set a split may report "no room" even though 2714 there is plenty of room. 2715Solution: Compute the available room properly. (Yukihiro Nakadaira) 2716Files: src/window.c 2717 2718Patch 7.4.378 2719Problem: Title of quickfix list is not kept for setqflist(list, 'r'). 2720Solution: Keep the title. Add a test. (Lcd) 2721Files: src/quickfix.c, src/testdir/Make_amiga.mak, 2722 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 2723 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms, 2724 src/testdir/Makefile, src/testdir/test_qf_title.in, 2725 src/testdir/test_qf_title.ok 2726 2727Patch 7.4.379 2728Problem: Accessing freed memory after using setqflist(list, 'r'). (Lcd) 2729Solution: Reset qf_index. 2730Files: src/quickfix.c 2731 2732Patch 7.4.380 2733Problem: Loading python may cause Vim to exit. 2734Solution: Avoid loading the "site" module. (Taro Muraoka) 2735Files: src/if_python.c 2736 2737Patch 7.4.381 2738Problem: Get u_undo error when backspacing in Insert mode deletes more than 2739 one line break. (Ayberk Ozgur) 2740Solution: Also decrement Insstart.lnum. 2741Files: src/edit.c 2742 2743Patch 7.4.382 2744Problem: Mapping characters may not work after typing Esc in Insert mode. 2745Solution: Fix the noremap flags for inserted characters. (Jacob Niehus) 2746Files: src/getchar.c 2747 2748Patch 7.4.383 2749Problem: Bad interaction between preview window and omnifunc. 2750Solution: Avoid redrawing the status line. (Hirohito Higashi) 2751Files: src/popupmnu.c 2752 2753Patch 7.4.384 2754Problem: Test 102 fails when compiled with small features. 2755Solution: Source small.vim. (Jacob Niehus) 2756Files: src/testdir/test102.in 2757 2758Patch 7.4.385 2759Problem: When building with tiny or small features building the .mo files 2760 fails. 2761Solution: In autoconf do not setup for building the .mo files when it would 2762 fail. 2763Files: src/configure.in, src/auto/configure 2764 2765Patch 7.4.386 2766Problem: When splitting a window the changelist position is wrong. 2767Solution: Copy the changelist position. (Jacob Niehus) 2768Files: src/window.c, src/testdir/Make_amiga.mak, 2769 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 2770 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms, 2771 src/testdir/Makefile, src/testdir/test_changelist.in, 2772 src/testdir/test_changelist.ok 2773 2774Patch 7.4.387 2775Problem: "4gro" replaces one character then executes "ooo". (Urtica Dioica) 2776Solution: Write the ESC in the second stuff buffer. 2777Files: src/getchar.c, src/proto/getchar.pro, src/edit.c, 2778 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 2779 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 2780 src/testdir/Make_vms.mms, src/testdir/Makefile, 2781 src/testdir/test_insertcount.in, src/testdir/test_insertcount.ok 2782 2783Patch 7.4.388 2784Problem: With 'linebreak' set and 'list' unset a Tab is not counted 2785 properly. (Kent Sibilev) 2786Solution: Check the 'list' option. (Christian Brabandt) 2787Files: src/screen.c, src/testdir/test_listlbr_utf8.in, 2788 src/testdir/test_listlbr_utf8.ok 2789 2790Patch 7.4.389 2791Problem: Still sometimes Vim enters Replace mode when starting up. 2792Solution: Use a different solution in detecting the termresponse and 2793 location response. (Hayaki Saito) 2794Files: src/globals.h, src/os_unix.c, src/term.c, src/proto/term.pro 2795 2796Patch 7.4.390 2797Problem: Advancing pointer over end of a string. 2798Solution: Init quote character to -1 instead of zero. (Dominique Pelle) 2799Files: src/misc1.c 2800 2801Patch 7.4.391 2802Problem: No 'cursorline' highlighting when the cursor is on a line with 2803 diff highlighting. (Benjamin Fritz) 2804Solution: Combine the highlight attributes. (Christian Brabandt) 2805Files: src/screen.c 2806 2807Patch 7.4.392 2808Problem: Not easy to detect type of command line window. 2809Solution: Add the getcmdwintype() function. (Jacob Niehus) 2810Files: src/eval.c 2811 2812Patch 7.4.393 2813Problem: Text drawing on newer MS-Windows systems is suboptimal. Some 2814 multi-byte characters are not displayed, even though the same font 2815 in Notepad can display them. (Srinath Avadhanula) 2816Solution: Add the 'renderoptions' option to enable DirectX drawing. (Taro 2817 Muraoka) 2818Files: runtime/doc/eval.txt, runtime/doc/options.txt, 2819 runtime/doc/various.txt, src/Make_cyg.mak, src/Make_ming.mak, 2820 src/Make_mvc.mak, src/eval.c, src/gui_dwrite.cpp, 2821 src/gui_dwrite.h, src/gui_w32.c, src/gui_w48.c, src/option.c, 2822 src/option.h, src/version.c, src/vim.h, src/proto/gui_w32.pro 2823 2824Patch 7.4.394 (after 7.4.393) 2825Problem: When using DirectX last italic character is incomplete. 2826Solution: Add one to the number of cells. (Ken Takata) 2827Files: src/gui_w32.c 2828 2829Patch 7.4.395 (after 7.4.355) 2830Problem: C indent is wrong below an if with wrapped condition followed by 2831 curly braces. (Trevor Powell) 2832Solution: Make a copy of tryposBrace. 2833Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok 2834 2835Patch 7.4.396 2836Problem: When 'clipboard' is "unnamed", :g/pat/d is very slow. (Praful) 2837Solution: Only set the clipboard after the last delete. (Christian Brabandt) 2838Files: src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, src/globals.h, 2839 src/ops.c, src/proto/ui.pro, src/ui.c 2840 2841Patch 7.4.397 2842Problem: Matchparen only uses the topmost syntax item. 2843Solution: Go through the syntax stack to find items. (James McCoy) 2844 Also use getcurpos() when possible. 2845Files: runtime/plugin/matchparen.vim 2846 2847Patch 7.4.398 (after 7.4.393) 2848Problem: Gcc error for the argument of InterlockedIncrement() and 2849 InterlockedDecrement(). (Axel Bender) 2850Solution: Remove "unsigned" from the cRefCount_ declaration. 2851Files: src/gui_dwrite.cpp 2852 2853Patch 7.4.399 2854Problem: Encryption implementation is messy. Blowfish encryption has a 2855 weakness. 2856Solution: Refactor the encryption, store the state in an allocated struct 2857 instead of using a save/restore mechanism. Introduce the 2858 "blowfish2" method, which does not have the weakness and encrypts 2859 the whole undo file. (largely by David Leadbeater) 2860Files: runtime/doc/editing.txt, runtime/doc/options.txt, src/Makefile, 2861 src/blowfish.c, src/crypt.c, src/crypt_zip.c, src/ex_docmd.c, 2862 src/fileio.c, src/globals.h, src/main.c, src/memline.c, 2863 src/misc2.c, src/option.c, src/proto.h, src/proto/blowfish.pro, 2864 src/proto/crypt.pro, src/proto/crypt_zip.pro, 2865 src/proto/fileio.pro, src/proto/misc2.pro, src/structs.h, 2866 src/undo.c, src/testdir/test71.in, src/testdir/test71.ok, 2867 src/testdir/test71a.in, src/testdir/test72.in, 2868 src/testdir/test72.ok 2869 2870Patch 7.4.400 2871Problem: List of distributed files is incomplete. 2872Solution: Add recently added files. 2873Files: Filelist 2874 2875Patch 7.4.401 (after 7.4.399) 2876Problem: Can't build on MS-Windows. 2877Solution: Include the new files in all the Makefiles. 2878Files: src/Make_bc3.mak, src/Make_bc5.mak, src/Make_cyg.mak, 2879 src/Make_dice.mak, src/Make_djg.mak, src/Make_ivc.mak, 2880 src/Make_manx.mak, src/Make_ming.mak, src/Make_morph.mak, 2881 src/Make_mvc.mak, src/Make_os2.mak, src/Make_sas.mak, 2882 Make_vms.mms 2883 2884Patch 7.4.402 2885Problem: Test 72 crashes under certain conditions. (Kazunobu Kuriyama) 2886Solution: Clear the whole bufinfo_T early. 2887Files: src/undo.c 2888 2889Patch 7.4.403 2890Problem: Valgrind reports errors when running test 72. (Dominique Pelle) 2891Solution: Reset the local 'cryptmethod' option before storing the seed. 2892 Set the seed in the memfile even when there is no block0 yet. 2893Files: src/fileio.c, src/option.c, src/memline.c 2894 2895Patch 7.4.404 2896Problem: Windows 64 bit compiler warnings. 2897Solution: Add type casts. (Mike Williams) 2898Files: src/crypt.c, src/undo.c 2899 2900Patch 7.4.405 2901Problem: Screen updating is slow when using matches. 2902Solution: Do not use the ">=" as in patch 7.4.362, check the lnum. 2903Files: src/screen.c, src/testdir/test63.in, src/testdir/test63.ok 2904 2905Patch 7.4.406 2906Problem: Test 72 and 100 fail on MS-Windows. 2907Solution: Set fileformat to unix in the tests. (Taro Muraoka) 2908Files: src/testdir/test72.in, src/testdir/test100.in 2909 2910Patch 7.4.407 2911Problem: Inserting text for Visual block mode, with cursor movement, 2912 repeats the wrong text. (Aleksandar Ivanov) 2913Solution: Reset the update_Insstart_orig flag. (Christian Brabandt) 2914Files: src/edit.c, src/testdir/test39.in, src/testdir/test39.ok 2915 2916Patch 7.4.408 2917Problem: Visual block insert breaks a multi-byte character. 2918Solution: Calculate the position properly. (Yasuhiro Matsumoto) 2919Files: src/ops.c, src/testdir/test_utf8.in, src/testdir/test_utf8.ok, 2920 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 2921 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 2922 src/testdir/Make_vms.mms, src/testdir/Makefile 2923 2924Patch 7.4.409 2925Problem: Can't build with Perl on Fedora 20. 2926Solution: Find xsubpp in another directory. (Michael Henry) 2927Files: src/Makefile, src/config.mk.in, src/configure.in, 2928 src/auto/configure 2929 2930Patch 7.4.410 2931Problem: Fold does not open after search when there is a CmdwinLeave 2932 autocommand. 2933Solution: Restore KeyTyped. (Jacob Niehus) 2934Files: src/ex_getln.c 2935 2936Patch 7.4.411 2937Problem: "foo bar" sorts before "foo" with sort(). (John Little) 2938Solution: Avoid putting quotes around strings before comparing them. 2939Files: src/eval.c 2940 2941Patch 7.4.412 2942Problem: Can't build on Windows XP with MSVC. 2943Solution: Add SUBSYSTEM_VER to the Makefile. (Yongwei Wu) 2944Files: src/Make_mvc.mak, src/INSTALLpc.txt 2945 2946Patch 7.4.413 2947Problem: MS-Windows: Using US international keyboard layout, inserting dead 2948 key by pressing space does not always work. Issue 250. 2949Solution: Let MS-Windows translate the message. (John Wellesz) 2950Files: src/gui_w48.c 2951 2952Patch 7.4.414 2953Problem: Cannot define a command only when it's used. 2954Solution: Add the CmdUndefined autocommand event. (partly by Yasuhiro 2955 Matsumoto) 2956Files: runtime/doc/autocmd.txt, src/ex_docmd.c, src/fileio.c, 2957 src/proto/fileio.pro 2958 2959Patch 7.4.415 (after 7.4.414) 2960Problem: Cannot build. Warning for shadowed variable. (John Little) 2961Solution: Add missing change. Remove declaration. 2962Files: src/vim.h, src/ex_docmd.c 2963 2964Patch 7.4.416 2965Problem: Problem with breakindent/showbreak and tabs. 2966Solution: Handle tabs differently. (Christian Brabandt) 2967Files: src/testdir/test_breakindent.in, src/testdir/test_breakindent.ok, 2968 src/charset.c 2969 2970Patch 7.4.417 2971Problem: After splitting a window and setting 'breakindent' the default 2972 minimum with is not respected. 2973Solution: Call briopt_check() when copying options to a new window. 2974Files: src/option.c, src/proto/option.pro, 2975 src/testdir/test_breakindent.in 2976 2977Patch 7.4.418 2978Problem: When leaving ":append" the cursor shape is like in Insert mode. 2979 (Jacob Niehus) 2980Solution: Do not have State set to INSERT when calling getline(). 2981Files: src/ex_cmds.c 2982 2983Patch 7.4.419 2984Problem: When part of a list is locked it's possible to make changes. 2985Solution: Check if any of the list items is locked before make a change. 2986 (ZyX) 2987Files: src/eval.c, src/testdir/test55.in, src/testdir/test55.ok 2988 2989Patch 7.4.420 2990Problem: It's not obvious how to add a new test. 2991Solution: Add a README file. (Christian Brabandt) 2992Files: src/testdir/README.txt 2993 2994Patch 7.4.421 2995Problem: Crash when searching for "\ze*". (Urtica Dioica) 2996Solution: Disallow a multi after \ze and \zs. 2997Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok 2998 2999Patch 7.4.422 3000Problem: When using conceal with linebreak some text is not displayed 3001 correctly. (Grüner Gimpel) 3002Solution: Check for conceal mode when using linebreak. (Christian Brabandt) 3003Files: src/screen.c, src/testdir/test_listlbr.in, 3004 src/testdir/test_listlbr.ok 3005 3006Patch 7.4.423 3007Problem: expand("$shell") does not work as documented. 3008Solution: Do not escape the $ when expanding environment variables. 3009Files: src/os_unix.c, src/misc1.c, src/vim.h 3010 3011Patch 7.4.424 3012Problem: Get ml_get error when using Python to delete lines in a buffer 3013 that is not in a window. issue 248. 3014Solution: Do not try adjusting the cursor for a different buffer. 3015Files: src/if_py_both.h 3016 3017Patch 7.4.425 3018Problem: When 'showbreak' is used "gj" may move to the wrong position. 3019 (Nazri Ramliy) 3020Solution: Adjust virtcol when 'showbreak' is set. (Christian Brabandt) 3021Files: src/normal.c 3022 3023Patch 7.4.426 3024Problem: README File missing from list of files. 3025Solution: Update the list of files. 3026Files: Filelist 3027 3028Patch 7.4.427 3029Problem: When an InsertCharPre autocommand executes system() typeahead may 3030 be echoed and messes up the display. (Jacob Niehus) 3031Solution: Do not set cooked mode when invoked from ":silent". 3032Files: src/eval.c, runtime/doc/eval.txt 3033 3034Patch 7.4.428 3035Problem: executable() may return a wrong result on MS-Windows. 3036Solution: Change the way SearchPath() is called. (Yasuhiro Matsumoto, Ken 3037 Takata) 3038Files: src/os_win32.c 3039 3040Patch 7.4.429 3041Problem: Build fails with fewer features. (Elimar Riesebieter) 3042Solution: Add #ifdef. 3043Files: src/normal.c 3044 3045Patch 7.4.430 3046Problem: test_listlbr fails when compiled with normal features. 3047Solution: Check for the +conceal feature. 3048Files: src/testdir/test_listlbr.in 3049 3050Patch 7.4.431 3051Problem: Compiler warning. 3052Solution: Add type cast. (Mike Williams) 3053Files: src/ex_docmd.c 3054 3055Patch 7.4.432 3056Problem: When the startup code expands command line arguments, setting 3057 'encoding' will not properly convert the arguments. 3058Solution: Call get_cmd_argsW() early in main(). (Yasuhiro Matsumoto) 3059Files: src/os_win32.c, src/main.c, src/os_mswin.c 3060 3061Patch 7.4.433 3062Problem: Test 75 fails on MS-Windows. 3063Solution: Use ":normal" instead of feedkeys(). (Michael Soyka) 3064Files: src/testdir/test75.in 3065 3066Patch 7.4.434 3067Problem: gettabvar() is not consistent with getwinvar() and getbufvar(). 3068Solution: Return a dict with all variables when the varname is empty. 3069 (Yasuhiro Matsumoto) 3070Files: src/eval.c, runtime/doc/eval.txt, src/testdir/test91.in, 3071 src/testdir/test91.ok 3072 3073Patch 7.4.435 3074Problem: Line formatting behaves differently when 'linebreak' is set. 3075 (mvxxc) 3076Solution: Disable 'linebreak' temporarily. (Christian Brabandt) 3077Files: src/edit.c 3078 3079Patch 7.4.436 3080Problem: ml_get error for autocommand that moves the cursor of the current 3081 window. 3082Solution: Check the cursor position after switching back to the current 3083 buffer. (Christian Brabandt) 3084Files: src/fileio.c 3085 3086Patch 7.4.437 3087Problem: New and old regexp engine are not consistent. 3088Solution: Also give an error for "\ze*" for the old regexp engine. 3089Files: src/regexp.c, src/regexp_nfa.c 3090 3091Patch 7.4.438 3092Problem: Cached values for 'cino' not reset for ":set all&". 3093Solution: Call parse_cino(). (Yukihiro Nakadaira) 3094Files: src/option.c 3095 3096Patch 7.4.439 3097Problem: Duplicate message in message history. Some quickfix messages 3098 appear twice. (Gary Johnson) 3099Solution: Do not reset keep_msg too early. (Hirohito Higashi) 3100Files: src/main.c 3101 3102Patch 7.4.440 3103Problem: Omni complete popup drawn incorrectly. 3104Solution: Call validate_cursor() instead of check_cursor(). (Hirohito 3105 Higashi) 3106Files: src/edit.c 3107 3108Patch 7.4.441 3109Problem: Endless loop and other problems when 'cedit' is set to CTRL-C. 3110Solution: Do not call ex_window() when ex_normal_busy or got_int was set. 3111 (Yasuhiro Matsumoto) 3112Files: src/ex_getln.c 3113 3114Patch 7.4.442 (after 7.4.434) 3115Problem: Using uninitialized variable. 3116Solution: Pass the first window of the tabpage. 3117Files: src/eval.c 3118 3119Patch 7.4.443 3120Problem: Error reported by ubsan when running test 72. 3121Solution: Add type cast to unsigned. (Dominique Pelle) 3122Files: src/undo.c 3123 3124Patch 7.4.444 3125Problem: Reversed question mark not recognized as punctuation. (Issue 258) 3126Solution: Add the Supplemental Punctuation range. 3127Files: src/mbyte.c 3128 3129Patch 7.4.445 3130Problem: Clipboard may be cleared on startup. 3131Solution: Set clip_did_set_selection to -1 during startup. (Christian 3132 Brabandt) 3133Files: src/main.c, src/ui.c 3134 3135Patch 7.4.446 3136Problem: In some situations, when setting up an environment to trigger an 3137 autocommand, the environment is not properly restored. 3138Solution: Check the return value of switch_win() and call restore_win() 3139 always. (Daniel Hahler) 3140Files: src/eval.c, src/misc2.c, src/window.c 3141 3142Patch 7.4.447 3143Problem: Spell files from Hunspell may generate a lot of errors. 3144Solution: Add the IGNOREEXTRA flag. 3145Files: src/spell.c, runtime/doc/spell.txt 3146 3147Patch 7.4.448 3148Problem: Using ETO_IGNORELANGUAGE causes problems. 3149Solution: Remove this flag. (Paul Moore) 3150Files: src/gui_w32.c 3151 3152Patch 7.4.449 3153Problem: Can't easily close the help window. (Chris Gaal) 3154Solution: Add ":helpclose". (Christian Brabandt) 3155Files: runtime/doc/helphelp.txt, runtime/doc/index.txt, src/ex_cmds.c, 3156 src/ex_cmds.h, src/proto/ex_cmds.pro 3157 3158Patch 7.4.450 3159Problem: Not all commands that edit another buffer support the +cmd 3160 argument. 3161Solution: Add the +cmd argument to relevant commands. (Marcin Szamotulski) 3162Files: runtime/doc/windows.txt, src/ex_cmds.h, src/ex_docmd.c 3163 3164Patch 7.4.451 3165Problem: Calling system() with empty input gives an error for writing the 3166 temp file. 3167Solution: Do not try writing if the string length is zero. (Olaf Dabrunz) 3168Files: src/eval.c 3169 3170Patch 7.4.452 3171Problem: Can't build with tiny features. (Tony Mechelynck) 3172Solution: Use "return" instead of "break". 3173Files: src/ex_cmds.c 3174 3175Patch 7.4.453 3176Problem: Still can't build with tiny features. 3177Solution: Add #ifdef. 3178Files: src/ex_cmds.c 3179 3180Patch 7.4.454 3181Problem: When using a Visual selection of multiple words and doing CTRL-W_] 3182 it jumps to the tag matching the word under the cursor, not the 3183 selected text. (Patrick hemmer) 3184Solution: Do not reset Visual mode. (idea by Christian Brabandt) 3185Files: src/window.c 3186 3187Patch 7.4.455 3188Problem: Completion for :buf does not use 'wildignorecase'. (Akshay H) 3189Solution: Pass the 'wildignorecase' flag around. 3190Files: src/buffer.c 3191 3192Patch 7.4.456 3193Problem: 'backupcopy' is global, cannot write only some files in a 3194 different way. 3195Solution: Make 'backupcopy' global-local. (Christian Brabandt) 3196Files: runtime/doc/options.txt, src/buffer.c, src/fileio.c, src/option.c, 3197 src/option.h, src/proto/option.pro, src/structs.h 3198 3199Patch 7.4.457 3200Problem: Using getchar() in an expression mapping may result in 3201 K_CURSORHOLD, which can't be recognized. 3202Solution: Add the <CursorHold> key. (Hirohito Higashi) 3203Files: src/misc2.c 3204 3205Patch 7.4.458 3206Problem: Issue 252: Cursor moves in a zero-height window. 3207Solution: Check for zero height. (idea by Christian Brabandt) 3208Files: src/move.c 3209 3210Patch 7.4.459 3211Problem: Can't change the icon after building Vim. 3212Solution: Load the icon from a file on startup. (Yasuhiro Matsumoto) 3213Files: src/gui_w32.c, src/os_mswin.c, src/os_win32.c, 3214 src/proto/os_mswin.pro 3215 3216Patch 7.4.460 (after 7.4.454) 3217Problem: Can't build without the quickfix feature. (Erik Falor) 3218Solution: Add a #ifdef. 3219Files: src/window.c 3220 3221Patch 7.4.461 3222Problem: MS-Windows: When collate is on the number of copies is too high. 3223Solution: Only set the collated/uncollated count when collate is on. 3224 (Yasuhiro Matsumoto) 3225Files: src/os_mswin.c 3226 3227Patch 7.4.462 3228Problem: Setting the local value of 'backupcopy' empty gives an error. 3229 (Peter Mattern) 3230Solution: When using an empty value set the flags to zero. (Hirohito 3231 Higashi) 3232Files: src/option.c 3233 3234Patch 7.4.463 3235Problem: Test 86 and 87 may hang on MS-Windows. 3236Solution: Call inputrestore() after inputsave(). (Ken Takata) 3237Files: src/testdir/test86.in, src/testdir/test87.in 3238 3239Patch 7.4.464 (after 7.4.459) 3240Problem: Compiler warning. 3241Solution: Add type cast. (Ken Takata) 3242Files: src/gui_w32.c 3243 3244Patch 7.4.465 (after 7.4.016) 3245Problem: Crash when expanding a very long string. 3246Solution: Use wcsncpy() instead of wcscpy(). (Ken Takata) 3247Files: src/os_win32.c 3248 3249Patch 7.4.466 (after 7.4.460) 3250Problem: CTRL-W } does not open preview window. (Erik Falor) 3251Solution: Don't set g_do_tagpreview for CTRL-W }. 3252Files: src/window.c 3253 3254Patch 7.4.467 3255Problem: 'linebreak' does not work well together with Visual mode. 3256Solution: Disable 'linebreak' while applying an operator. Fix the test. 3257 (Christian Brabandt) 3258Files: src/normal.c, src/screen.c, src/testdir/test_listlbr.in, 3259 src/testdir/test_listlbr.ok 3260 3261Patch 7.4.468 3262Problem: Issue 26: CTRL-C does not interrupt after it was mapped and then 3263 unmapped. 3264Solution: Reset mapped_ctrl_c. (Christian Brabandt) 3265Files: src/getchar.c 3266 3267Patch 7.4.469 (after 7.4.467) 3268Problem: Can't build with MSVC. (Ken Takata) 3269Solution: Move the assignment after the declarations. 3270Files: src/normal.c 3271 3272Patch 7.4.470 3273Problem: Test 11 and 100 do not work properly on Windows. 3274Solution: Avoid using feedkeys(). (Ken Takata) 3275Files: src/testdir/Make_dos.mak, src/testdir/test11.in, 3276 src/testdir/test100.in 3277 3278Patch 7.4.471 3279Problem: MS-Windows: When printer name contains multi-byte, the name is 3280 displayed as ???. 3281Solution: Convert the printer name from the active codepage to 'encoding'. 3282 (Yasuhiro Matsumoto) 3283Files: src/os_mswin.c 3284 3285Patch 7.4.472 3286Problem: The "precedes" entry in 'listchar' will be drawn when 'showbreak' 3287 is set and 'list' is not. 3288Solution: Only draw this character when 'list' is on. (Christian Brabandt) 3289Files: src/screen.c 3290 3291Patch 7.4.473 3292Problem: Cursor movement is incorrect when there is a number/sign/fold 3293 column and 'sbr' is displayed. 3294Solution: Adjust the column for 'sbr'. (Christian Brabandt) 3295Files: src/charset.c 3296 3297Patch 7.4.474 3298Problem: AIX compiler can't handle // comment. Issue 265. 3299Solution: Remove that line. 3300Files: src/regexp_nfa.c 3301 3302Patch 7.4.475 3303Problem: Can't compile on a system where Xutf8SetWMProperties() is not in 3304 the X11 library. Issue 265. 3305Solution: Add a configure check. 3306Files: src/configure.in, src/auto/configure, src/config.h.in, 3307 src/os_unix.c 3308 3309Patch 7.4.476 3310Problem: MingW: compiling with "XPM=no" doesn't work. 3311Solution: Check for the "no" value. (KF Leong) Also for Cygwin. (Ken 3312 Takata) 3313Files: src/Make_ming.mak, src/Make_cyg.mak 3314 3315Patch 7.4.477 3316Problem: When using ":%diffput" and the other file is empty an extra empty 3317 line remains. 3318Solution: Set the buf_empty flag. 3319Files: src/diff.c 3320 3321Patch 7.4.478 3322Problem: Using byte length instead of character length for 'showbreak'. 3323Solution: Compute the character length. (Marco Hinz) 3324Files: src/charset.c 3325 3326Patch 7.4.479 3327Problem: MS-Windows: The console title can be wrong. 3328Solution: Take the encoding into account. When restoring the title use the 3329 right function. (Yasuhiro Matsumoto) 3330Files: src/os_mswin.c, src/os_win32.c 3331 3332Patch 7.4.480 (after 7.4.479) 3333Problem: MS-Windows: Can't build. 3334Solution: Remove goto, use a flag instead. 3335Files: src/os_win32.c 3336 3337Patch 7.4.481 (after 7.4.471) 3338Problem: Compiler warning on MS-Windows. 3339Solution: Add type casts. (Ken Takata) 3340Files: src/os_mswin.c 3341 3342Patch 7.4.482 3343Problem: When 'balloonexpr' results in a list, the text has a trailing 3344 newline. (Lcd) 3345Solution: Remove one trailing newline. 3346Files: src/gui_beval.c 3347 3348Patch 7.4.483 3349Problem: A 0x80 byte is not handled correctly in abbreviations. 3350Solution: Unescape special characters. Add a test. (Christian Brabandt) 3351Files: src/getchar.c, src/testdir/Make_amiga.mak, 3352 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 3353 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms, 3354 src/testdir/Makefile, src/testdir/test_mapping.in, 3355 src/testdir/test_mapping.ok 3356 3357Patch 7.4.484 (after 7.4.483) 3358Problem: Compiler warning on MS-Windows. (Ken Takata) 3359Solution: Add type cast. 3360Files: src/getchar.c 3361 3362Patch 7.4.485 (after 7.4.484) 3363Problem: Abbreviations don't work. (Toothpik) 3364Solution: Move the length computation inside the for loop. Compare against 3365 the unescaped key. 3366Files: src/getchar.c 3367 3368Patch 7.4.486 3369Problem: Check for writing to a yank register is wrong. 3370Solution: Negate the check. (Zyx). Also clean up the #ifdefs. 3371Files: src/ex_docmd.c, src/ex_cmds.h 3372 3373Patch 7.4.487 3374Problem: ":sign jump" may use another window even though the file is 3375 already edited in the current window. 3376Solution: First check if the file is in the current window. (James McCoy) 3377Files: src/window.c, src/testdir/Make_amiga.mak, 3378 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 3379 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms, 3380 src/testdir/Makefile, src/testdir/test_signs.in, 3381 src/testdir/test_signs.ok 3382 3383Patch 7.4.488 3384Problem: test_mapping fails for some people. 3385Solution: Set the 'encoding' option. (Ken Takata) 3386Files: src/testdir/test_mapping.in 3387 3388Patch 7.4.489 3389Problem: Cursor movement still wrong when 'lbr' is set and there is a 3390 number column. (Hirohito Higashi) 3391Solution: Add correction for number column. (Hiroyuki Takagi) 3392Files: src/charset.c 3393 3394Patch 7.4.490 3395Problem: Cannot specify the buffer to use for "do" and "dp", making them 3396 useless for three-way diff. 3397Solution: Use the count as the buffer number. (James McCoy) 3398Files: runtime/doc/diff.txt, src/diff.c, src/normal.c, src/proto/diff.pro 3399 3400Patch 7.4.491 3401Problem: When winrestview() has a negative "topline" value there are 3402 display errors. 3403Solution: Correct a negative value to 1. (Hirohito Higashi) 3404Files: src/eval.c 3405 3406Patch 7.4.492 3407Problem: In Insert mode, after inserting a newline that inserts a comment 3408 leader, CTRL-O moves to the right. (ZyX) Issue 57. 3409Solution: Correct the condition for moving the cursor back to the NUL. 3410 (Christian Brabandt) 3411Files: src/edit.c, src/testdir/test4.in, src/testdir/test4.ok 3412 3413Patch 7.4.493 3414Problem: A TextChanged autocommand is triggered when saving a file. 3415 (William Gardner) 3416Solution: Update last_changedtick after calling unchanged(). (Christian 3417 Brabandt) 3418Files: src/fileio.c 3419 3420Patch 7.4.494 3421Problem: Cursor shape is wrong after a CompleteDone autocommand. 3422Solution: Update the cursor and mouse shape after ":normal" restores the 3423 state. (Jacob Niehus) 3424Files: src/ex_docmd.c 3425 3426Patch 7.4.495 3427Problem: XPM isn't used correctly in the Cygwin Makefile. 3428Solution: Include the rules like in Make_ming.mak. (Ken Takata) 3429Files: src/Make_cyg.mak 3430 3431Patch 7.4.496 3432Problem: Many lines are both in Make_cyg.mak and Make_ming.mak 3433Solution: Move the common parts to one file. (Ken Takata) 3434Files: src/INSTALLpc.txt, src/Make_cyg.mak, src/Make_cyg_ming.mak, 3435 src/Make_ming.mak, src/Make_mvc.mak, Filelist 3436 3437Patch 7.4.497 3438Problem: With some regexp patterns the NFA engine uses many states and 3439 becomes very slow. To the user it looks like Vim freezes. 3440Solution: When the number of states reaches a limit fall back to the old 3441 engine. (Christian Brabandt) 3442Files: runtime/doc/options.txt, src/Makefile, src/regexp.c, src/regexp.h, 3443 src/regexp_nfa.c, src/testdir/Make_dos.mak, 3444 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 3445 src/testdir/Makefile, src/testdir/samples/re.freeze.txt, 3446 src/testdir/bench_re_freeze.in, src/testdir/bench_re_freeze.vim, 3447 Filelist 3448 3449Patch 7.4.498 (after 7.4.497) 3450Problem: Typo in DOS makefile. 3451Solution: Change exists to exist. (Ken Takata) 3452Files: src/testdir/Make_dos.mak 3453 3454Patch 7.4.499 3455Problem: substitute() can be slow with long strings. 3456Solution: Store a pointer to the end, instead of calling strlen() every 3457 time. (Ozaki Kiichi) 3458Files: src/eval.c 3459 3460Patch 7.4.500 3461Problem: Test 72 still fails once in a while. 3462Solution: Don't set 'fileformat' to unix, reset it. (Ken Takata) 3463Files: src/testdir/test72.in 3464 3465Patch 7.4.501 (after 7.4.497) 3466Problem: Typo in file pattern. 3467Solution: Insert a slash and remove a dot. 3468Files: Filelist 3469 3470Patch 7.4.502 3471Problem: Language mapping also applies to mapped characters. 3472Solution: Add the 'langnoremap' option, when on 'langmap' does not apply to 3473 mapped characters. (Christian Brabandt) 3474Files: runtime/doc/options.txt, runtime/vimrc_example.vim, src/macros.h, 3475 src/option.c, src/option.h 3476 3477Patch 7.4.503 3478Problem: Cannot append a list of lines to a file. 3479Solution: Add the append option to writefile(). (Yasuhiro Matsumoto) 3480Files: runtime/doc/eval.txt, src/Makefile, src/eval.c, 3481 src/testdir/test_writefile.in, src/testdir/test_writefile.ok 3482 3483Patch 7.4.504 3484Problem: Restriction of the MS-Windows installer that the path must end in 3485 "Vim" prevents installing more than one version. 3486Solution: Remove the restriction. (Tim Lebedkov) 3487Files: nsis/gvim.nsi 3488 3489Patch 7.4.505 3490Problem: On MS-Windows when 'encoding' is a double-byte encoding a file 3491 name longer than MAX_PATH bytes but shorter than that in 3492 characters causes problems. 3493Solution: Fail on file names longer than MAX_PATH bytes. (Ken Takata) 3494Files: src/os_win32.c 3495 3496Patch 7.4.506 3497Problem: MS-Windows: Cannot open a file with 259 characters. 3498Solution: Fix off-by-one error. (Ken Takata) 3499Files: src/os_mswin.c 3500 3501Patch 7.4.507 (after 7.4.496) 3502Problem: Building with MingW and Perl. 3503Solution: Remove quotes. (Ken Takata) 3504Files: src/Make_cyg_ming.mak 3505 3506Patch 7.4.508 3507Problem: When generating ja.sjis.po the header is not correctly adjusted. 3508Solution: Check for the right header string. (Ken Takata) 3509Files: src/po/sjiscorr.c 3510 3511Patch 7.4.509 3512Problem: Users are not aware their encryption is weak. 3513Solution: Give a warning when prompting for the key. 3514Files: src/crypt.c, src/ex_docmd.c, src/fileio.c, src/main.c, 3515 src/proto/crypt.pro 3516 3517Patch 7.4.510 3518Problem: "-fwrapv" argument breaks use of cproto. 3519Solution: Remove the alphabetic arguments in a drastic way. 3520Files: src/Makefile 3521 3522Patch 7.4.511 3523Problem: Generating proto for if_ruby.c uses type not defined elsewhere. 3524Solution: Do not generate a prototype for 3525 rb_gc_writebarrier_unprotect_promoted() 3526Files: src/if_ruby.c 3527 3528Patch 7.4.512 3529Problem: Cannot generate prototypes for Win32 files and VMS. 3530Solution: Add typedefs and #ifdef 3531Files: src/os_win32.c, src/gui_w32.c, src/os_vms.c 3532 3533Patch 7.4.513 3534Problem: Crash because reference count is wrong for list returned by 3535 getreg(). 3536Solution: Increment the reference count. (Kimmy Lindvall) 3537Files: src/eval.c 3538 3539Patch 7.4.514 (after 7.4.492) 3540Problem: Memory access error. (Dominique Pelle) 3541Solution: Update tpos. (Christian Brabandt) 3542Files: src/edit.c 3543 3544Patch 7.4.515 3545Problem: In a help buffer the global 'foldmethod' is used. (Paul Marshall) 3546Solution: Reset 'foldmethod' when starting to edit a help file. Move the 3547 code to a separate function. 3548Files: src/ex_cmds.c 3549 3550Patch 7.4.516 3551Problem: Completing a function name containing a # does not work. Issue 3552 253. 3553Solution: Recognize the # character. (Christian Brabandt) 3554Files: src/eval.c 3555 3556Patch 7.4.517 3557Problem: With a wrapping line the cursor may not end up in the right place. 3558 (Nazri Ramliy) 3559Solution: Adjust n_extra for a Tab that wraps. (Christian Brabandt) 3560Files: src/screen.c 3561 3562Patch 7.4.518 3563Problem: Using status line height in width computations. 3564Solution: Use one instead. (Hirohito Higashi) 3565Files: src/window.c 3566 3567Patch 7.4.519 (after 7.4.497) 3568Problem: Crash when using syntax highlighting. 3569Solution: When regprog is freed and replaced, store the result. 3570Files: src/buffer.c, src/regexp.c, src/syntax.c, src/spell.c, 3571 src/ex_cmds2.c, src/fileio.c, src/proto/fileio.pro, 3572 src/proto/regexp.pro, src/os_unix.c 3573 3574Patch 7.4.520 3575Problem: Sun PCK locale is not recognized. 3576Solution: Add PCK in the table. (Keiichi Oono) 3577Files: src/mbyte.c 3578 3579Patch 7.4.521 3580Problem: When using "vep" a mark is moved to the next line. (Maxi Padulo, 3581 Issue 283) 3582Solution: Decrement the line number. (Christian Brabandt) 3583Files: src/ops.c 3584 3585Patch 7.4.522 3586Problem: Specifying wrong buffer size for GetLongPathName(). 3587Solution: Use the actual size. (Ken Takata) 3588Files: src/eval.c 3589 3590Patch 7.4.523 3591Problem: When the X11 server is stopped and restarted, while Vim is kept in 3592 the background, copy/paste no longer works. (Issue 203) 3593Solution: Setup the clipboard again. (Christian Brabandt) 3594Files: src/os_unix.c 3595 3596Patch 7.4.524 3597Problem: When using ":ownsyntax" spell checking is messed up. (Issue 78) 3598Solution: Use the window-local option values. (Christian Brabandt) 3599Files: src/option.c, src/syntax.c 3600 3601Patch 7.4.525 3602Problem: map() leaks memory when there is an error in the expression. 3603Solution: Call clear_tv(). (Christian Brabandt) 3604Files: src/eval.c 3605 3606Patch 7.4.526 3607Problem: matchstr() fails on long text. (Daniel Hahler) 3608Solution: Return NFA_TOO_EXPENSIVE from regexec_nl(). (Christian Brabandt) 3609Files: src/regexp.c 3610 3611Patch 7.4.527 3612Problem: Still confusing regexp failure and NFA_TOO_EXPENSIVE. 3613Solution: NFA changes equivalent of 7.4.526. 3614Files: src/regexp_nfa.c 3615 3616Patch 7.4.528 3617Problem: Crash when using matchadd() (Yasuhiro Matsumoto) 3618Solution: Copy the match regprog. 3619Files: src/screen.c 3620 3621Patch 7.4.529 3622Problem: No test for what 7.4.517 fixes. 3623Solution: Adjust the tests for breakindent. (Christian Brabandt) 3624Files: src/testdir/test_breakindent.in, src/testdir/test_breakindent.ok 3625 3626Patch 7.4.530 3627Problem: Many commands take a count or range that is not using line 3628 numbers. 3629Solution: For each command specify what kind of count it uses. For windows, 3630 buffers and arguments have "$" and "." have a relevant meaning. 3631 (Marcin Szamotulski) 3632Files: runtime/doc/editing.txt, runtime/doc/tabpage.txt, 3633 runtime/doc/windows.txt, src/Makefile, src/ex_cmds.h, 3634 src/ex_docmd.c, src/testdir/Make_amiga.mak 3635 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 3636 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms, 3637 src/testdir/Makefile, src/testdir/test_argument_count.in, 3638 src/testdir/test_argument_count.ok, 3639 src/testdir/test_close_count.in, src/testdir/test_close_count.ok, 3640 src/window.c 3641 3642Patch 7.4.531 3643Problem: Comments about parsing an Ex command are wrong. 3644Solution: Correct the step numbers. 3645Files: src/ex_docmd.c 3646 3647Patch 7.4.532 3648Problem: When using 'incsearch' "2/pattern/e" highlights the first match. 3649Solution: Move the code to set extra_col inside the loop for count. (Ozaki 3650 Kiichi) 3651Files: src/search.c 3652 3653Patch 7.4.533 3654Problem: ":hardcopy" leaks memory in case of errors. 3655Solution: Free memory in all code paths. (Christian Brabandt) 3656Files: src/hardcopy.c 3657 3658Patch 7.4.534 3659Problem: Warnings when compiling if_ruby.c. 3660Solution: Avoid the warnings. (Ken Takata) 3661Files: src/if_ruby.c 3662 3663Patch 7.4.535 (after 7.4.530) 3664Problem: Can't build with tiny features. 3665Solution: Add #ifdefs and skip a test. 3666Files: src/ex_docmd.c, src/testdir/test_argument_count.in 3667 3668Patch 7.4.536 3669Problem: Test 63 fails when using a black&white terminal. 3670Solution: Add attributes for a non-color terminal. (Christian Brabandt) 3671Files: src/testdir/test63.in 3672 3673Patch 7.4.537 3674Problem: Value of v:hlsearch reflects an internal variable. 3675Solution: Make the value reflect whether search highlighting is actually 3676 displayed. (Christian Brabandt) 3677Files: runtime/doc/eval.txt, src/testdir/test101.in, 3678 src/testdir/test101.ok, src/vim.h 3679 3680Patch 7.4.538 3681Problem: Tests fail with small features plus Python. 3682Solution: Disallow weird combination of options. Do not set "fdm" when 3683 folding is disabled. 3684Files: src/option.c, src/ex_cmds.c, src/configure.in, src/auto/configure, 3685 src/feature.h 3686 3687Patch 7.4.539 (after 7.4.530) 3688Problem: Crash when computing buffer count. Problem with range for user 3689 commands. Line range wrong in Visual area. 3690Solution: Avoid segfault in compute_buffer_local_count(). Check for 3691 CMD_USER when checking type of range. (Marcin Szamotulski) 3692Files: runtime/doc/windows.txt, src/ex_docmd.c 3693 3694Patch 7.4.540 (after 7.4.539) 3695Problem: Cannot build with tiny and small features. (Taro Muraoka) 3696Solution: Add #ifdef around CMD_USER. 3697Files: src/ex_docmd.c 3698 3699Patch 7.4.541 3700Problem: Crash when doing a range assign. 3701Solution: Check for NULL pointer. (Yukihiro Nakadaira) 3702Files: src/eval.c, src/testdir/test55.in, src/testdir/test55.ok 3703 3704Patch 7.4.542 3705Problem: Using a range for window and buffer commands has a few problems. 3706 Cannot specify the type of range for a user command. 3707Solution: Add the -addr argument for user commands. Fix problems. (Marcin 3708 Szamotulski) 3709Files: src/testdir/test_command_count.in, 3710 src/testdir/test_command_count.ok src/testdir/Make_amiga.mak 3711 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 3712 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms, 3713 src/testdir/Makefile, runtime/doc/map.txt, src/Makefile, 3714 src/ex_cmds.h, src/ex_docmd.c, src/ex_getln.c, 3715 src/proto/ex_docmd.pro, src/vim.h, 3716 3717Patch 7.4.543 3718Problem: Since patch 7.4.232 "1,3s/\n//" joins two lines instead of three. 3719 (Eliseo Martínez) Issue 287 3720Solution: Correct the line count. (Christian Brabandt) 3721 Also set the last used search pattern. 3722Files: src/ex_cmds.c, src/search.c, src/proto/search.pro 3723 3724Patch 7.4.544 3725Problem: Warnings for unused arguments when compiling with a combination of 3726 features. 3727Solution: Add "UNUSED". 3728Files: src/if_cscope.c 3729 3730Patch 7.4.545 3731Problem: Highlighting for multi-line matches is not correct. 3732Solution: Stop highlight at the end of the match. (Hirohito Higashi) 3733Files: src/screen.c 3734 3735Patch 7.4.546 3736Problem: Repeated use of vim_snprintf() with a number. 3737Solution: Move these vim_snprintf() calls into a function. 3738Files: src/window.c 3739 3740Patch 7.4.547 3741Problem: Using "vit" does not select a multi-byte character at the end 3742 correctly. 3743Solution: Advance the cursor over the multi-byte character. (Christian 3744 Brabandt) 3745Files: src/search.c 3746 3747Patch 7.4.548 3748Problem: Compilation fails with native version of MinGW-w64, because 3749 it doesn't have x86_64-w64-mingw32-windres.exe. 3750Solution: Use windres instead. (Ken Takata) 3751Files: src/Make_cyg_ming.mak 3752 3753Patch 7.4.549 3754Problem: Function name not recognized correctly when inside a function. 3755Solution: Don't check for an alpha character. (Ozaki Kiichi) 3756Files: src/eval.c, src/testdir/test_nested_function.in, 3757 src/testdir/test_nested_function.ok, src/testdir/Make_amiga.mak, 3758 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 3759 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms, 3760 src/testdir/Makefile 3761 3762Patch 7.4.550 3763Problem: curs_rows() function is always called with the second argument 3764 false. 3765Solution: Remove the argument. (Christian Brabandt) 3766 validate_botline_win() can then also be removed. 3767Files: src/move.c 3768 3769Patch 7.4.551 3770Problem: "ygn" may yank too much. (Fritzophrenic) Issue 295. 3771Solution: Check the width of the next match. (Christian Brabandt) 3772Files: src/search.c, src/testdir/test53.in, src/testdir/test53.ok 3773 3774Patch 7.4.552 3775Problem: Langmap applies to Insert mode expression mappings. 3776Solution: Check for Insert mode. (Daniel Hahler) 3777Files: src/getchar.c, src/testdir/test_mapping.in, 3778 src/testdir/test_mapping.ok 3779 3780Patch 7.4.553 3781Problem: Various small issues. 3782Solution: Fix those issues. 3783Files: src/ex_cmds.h, src/gui.h, src/message.c, src/testdir/test39.in, 3784 src/proto/eval.pro, src/proto/misc1.pro, src/proto/ops.pro, 3785 src/proto/screen.pro, src/proto/window.pro. src/os_unix.c, 3786 src/Make_vms.mms, src/proto/os_vms.pro, src/INSTALL 3787 3788Patch 7.4.554 3789Problem: Missing part of patch 7.4.519. 3790Solution: Copy back regprog after calling vim_regexec. 3791Files: src/quickfix.c 3792 3793Patch 7.4.555 3794Problem: test_close_count may fail for some combination of features. 3795Solution: Require normal features. 3796Files: src/testdir/test_close_count.in 3797 3798Patch 7.4.556 3799Problem: Failed commands in Python interface not handled correctly. 3800Solution: Restore window and buffer on failure. 3801Files: src/if_py_both.h 3802 3803Patch 7.4.557 3804Problem: One more small issue. 3805Solution: Update function proto. 3806Files: src/proto/window.pro 3807 3808Patch 7.4.558 3809Problem: When the X server restarts Vim may get stuck. 3810Solution: Destroy the application context and create it again. (Issue 203) 3811Files: src/os_unix.c 3812 3813Patch 7.4.559 3814Problem: Appending a block in the middle of a tab does not work correctly 3815 when virtualedit is set. 3816Solution: Decrement spaces and count, don't reset them. (James McCoy) 3817Files: src/ops.c, src/testdir/test39.in, src/testdir/test39.ok 3818 3819Patch 7.4.560 3820Problem: Memory leak using :wviminfo. Issue 296. 3821Solution: Free memory when needed. (idea by Christian Brabandt) 3822Files: src/ops.c 3823 3824Patch 7.4.561 3825Problem: Ex range handling is wrong for buffer-local user commands. 3826Solution: Check for CMD_USER_BUF. (Marcin Szamotulski) 3827Files: src/ex_docmd.c, src/testdir/test_command_count.in, 3828 src/testdir/test_command_count.ok 3829 3830Patch 7.4.562 3831Problem: Segfault with wide screen and error in 'rulerformat'. (Ingo Karkat) 3832Solution: Check there is enough space. (Christian Brabandt) 3833Files: src/buffer.c, src/screen.c 3834 3835Patch 7.4.563 3836Problem: No test for replacing on a tab in Virtual replace mode. 3837Solution: Add a test. (Elias Diem) 3838Files: src/testdir/test48.in, src/testdir/test48.ok 3839 3840Patch 7.4.564 3841Problem: FEAT_OSFILETYPE is used even though it's never defined. 3842Solution: Remove the code. (Christian Brabandt) 3843Files: src/fileio.c 3844 3845Patch 7.4.565 3846Problem: Ranges for arguments, buffers, tabs, etc. are not checked to be 3847 valid but limited to the maximum. This can cause the wrong thing 3848 to happen. 3849Solution: Give an error for an invalid value. (Marcin Szamotulski) 3850 Use windows range for ":wincmd". 3851Files: src/ex_docmd.c, src/ex_cmds.h, src/testdir/test62.in, 3852 src/testdir/test_argument_count.in, 3853 src/testdir/test_argument_count.ok, 3854 src/testdir/test_close_count.in, 3855 src/testdir/test_command_count.in, 3856 src/testdir/test_command_count.ok 3857 3858Patch 7.4.566 3859Problem: :argdo, :bufdo, :windo and :tabdo don't take a range. 3860Solution: Support the range. (Marcin Szamotulski) 3861Files: runtime/doc/editing.txt, runtime/doc/tabpage.txt, 3862 runtime/doc/windows.txt, src/ex_cmds.h, src/ex_cmds2.c, 3863 src/testdir/test_command_count.in, 3864 src/testdir/test_command_count.ok 3865 3866Patch 7.4.567 3867Problem: Non-ascii vertical separator characters are always redrawn. 3868Solution: Compare only the one byte that's stored. (Thiago Padilha) 3869Files: src/screen.c 3870 3871Patch 7.4.568 3872Problem: Giving an error for ":0wincmd w" is a problem for some plugins. 3873Solution: Allow the zero in the range. (Marcin Szamotulski) 3874Files: src/ex_docmd.c, src/testdir/test_command_count.ok 3875 3876Patch 7.4.569 (after 7.4.468) 3877Problem: Having CTRL-C interrupt or not does not check the mode of the 3878 mapping. (Ingo Karkat) 3879Solution: Use a bitmask with the map mode. (Christian Brabandt) 3880Files: src/getchar.c, src/structs.h, src/testdir/test_mapping.in, 3881 src/testdir/test_mapping.ok, src/ui.c, src/globals.h 3882 3883Patch 7.4.570 3884Problem: Building with dynamic library does not work for Ruby 2.2.0 3885Solution: Change #ifdefs and #defines. (Ken Takata) 3886Files: src/if_ruby.c 3887 3888Patch 7.4.571 (after 7.4.569) 3889Problem: Can't build with tiny features. (Ike Devolder) 3890Solution: Add #ifdef. 3891Files: src/getchar.c 3892 3893Patch 7.4.572 3894Problem: Address type of :wincmd depends on the argument. 3895Solution: Check the argument. 3896Files: src/ex_docmd.c, src/window.c, src/proto/window.pro 3897 3898Patch 7.4.573 (after 7.4.569) 3899Problem: Mapping CTRL-C in Visual mode doesn't work. (Ingo Karkat) 3900Solution: Call get_real_state() instead of using State directly. 3901Files: src/ui.c, src/testdir/test_mapping.in, src/testdir/test_mapping.ok 3902 3903Patch 7.4.574 3904Problem: No error for eval('$'). 3905Solution: Check for empty name. (Yasuhiro Matsumoto) 3906Files: src/eval.c 3907 3908Patch 7.4.575 3909Problem: Unicode character properties are outdated. 3910Solution: Update the tables with the latest version. 3911Files: src/mbyte.c 3912 3913Patch 7.4.576 3914Problem: Redrawing problem with 'relativenumber' and 'linebreak'. 3915Solution: Temporarily reset 'linebreak' and restore it in more places. 3916 (Christian Brabandt) 3917Files: src/normal.c 3918 3919Patch 7.4.577 3920Problem: Matching with a virtual column has a lot of overhead on very long 3921 lines. (Issue 310) 3922Solution: Bail out early if there can't be a match. (Christian Brabandt) 3923 Also check for CTRL-C at every position. 3924Files: src/regexp_nfa.c 3925 3926Patch 7.4.578 3927Problem: Using getcurpos() after "$" in an empty line returns a negative 3928 number. 3929Solution: Don't add one when this would overflow. (Hirohito Higashi) 3930Files: src/eval.c 3931 3932Patch 7.4.579 3933Problem: Wrong cursor positioning when 'linebreak' is set and lines wrap. 3934Solution: Fix it. (Christian Brabandt) 3935Files: src/charset.c, src/screen.c 3936 3937Patch 7.4.580 3938Problem: ":52wincmd v" still gives an invalid range error. (Charles 3939 Campbell) 3940Solution: Skip over white space. 3941Files: src/ex_docmd.c 3942 3943Patch 7.4.581 3944Problem: Compiler warnings for uninitialized variables. (John Little) 3945Solution: Initialize the variables. 3946Files: src/ops.c 3947 3948Patch 7.4.582 (after 7.4.577) 3949Problem: Can't match "%>80v" properly. (Axel Bender) 3950Solution: Correctly handle ">". (Christian Brabandt) 3951Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok 3952 3953Patch 7.4.583 3954Problem: With tiny features test 16 may fail. 3955Solution: Source small.vim. (Christian Brabandt) 3956Files: src/testdir/test16.in 3957 3958Patch 7.4.584 3959Problem: With tiny features test_command_count may fail. 3960Solution: Source small.vim. (Christian Brabandt) 3961Files: src/testdir/test_command_count.in 3962 3963Patch 7.4.585 3964Problem: Range for :bdelete does not work. (Ronald Schild) 3965Solution: Also allow unloaded buffers. 3966Files: src/ex_cmds.h, src/testdir/test_command_count.in, 3967 src/testdir/test_command_count.ok 3968 3969Patch 7.4.586 3970Problem: Parallel building of the documentation html files is not reliable. 3971Solution: Remove a cyclic dependency. (Reiner Herrmann) 3972Files: runtime/doc/Makefile 3973 3974Patch 7.4.587 3975Problem: Conceal does not work properly with 'linebreak'. (cs86661) 3976Solution: Save and restore boguscols. (Christian Brabandt) 3977Files: src/screen.c, src/testdir/test_listlbr_utf8.in, 3978 src/testdir/test_listlbr_utf8.ok 3979 3980Patch 7.4.588 3981Problem: ":0argedit foo" puts the new argument in the second place instead 3982 of the first. 3983Solution: Adjust the range type. (Ingo Karkat) 3984Files: src/ex_cmds.h, src/testdir/Make_amiga.mak, 3985 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 3986 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms, 3987 src/testdir/Makefile, src/testdir/test_argument_0count.in, 3988 src/testdir/test_argument_0count.ok 3989 3990Patch 7.4.589 3991Problem: In the MS-Windows console Vim can't handle greek characters when 3992 encoding is utf-8. 3993Solution: Escape K_NUL. (Yasuhiro Matsumoto) 3994Files: src/os_win32.c 3995 3996Patch 7.4.590 3997Problem: Using ctrl_x_mode as if it contains flags. 3998Solution: Don't use AND with CTRL_X_OMNI. (Hirohito Higashi) 3999Files: src/edit.c 4000 4001Patch 7.4.591 (after 7.4.587) 4002Problem: test_listlbr_utf8 fails when the conceal feature is not available. 4003Solution: Check for the conceal feature. (Kazunobu Kuriyama) 4004Files: src/testdir/test_listlbr_utf8.in 4005 4006Patch 7.4.592 4007Problem: When doing ":e foobar" when already editing "foobar" and 'buftype' 4008 is "nofile" the buffer is cleared. (Xavier de Gaye) 4009Solution: Do no clear the buffer. 4010Files: src/ex_cmds.c 4011 4012Patch 7.4.593 4013Problem: Crash when searching for "x\{0,90000}". (Dominique Pelle) 4014Solution: Bail out from the NFA engine when the max limit is much higher 4015 than the min limit. 4016Files: src/regexp_nfa.c, src/regexp.c, src/vim.h 4017 4018Patch 7.4.594 4019Problem: Using a block delete while 'breakindent' is set does not work 4020 properly. 4021Solution: Use "line" instead of "prev_pend" as the first argument to 4022 lbr_chartabsize_adv(). (Hirohito Higashi) 4023Files: src/ops.c, src/testdir/test_breakindent.in, 4024 src/testdir/test_breakindent.ok 4025 4026Patch 7.4.595 4027Problem: The test_command_count test fails when using Japanese. 4028Solution: Force the language to C. (Hirohito Higashi) 4029Files: src/testdir/test_command_count.in 4030 4031Patch 7.4.596 (after 7.4.592) 4032Problem: Tiny build doesn't compile. (Ike Devolder) 4033Solution: Add #ifdef. 4034Files: src/ex_cmds.c 4035 4036Patch 7.4.597 4037Problem: Cannot change the result of systemlist(). 4038Solution: Initialize v_lock. (Yukihiro Nakadaira) 4039Files: src/eval.c 4040 4041Patch 7.4.598 4042Problem: ":tabdo windo echo 'hi'" causes "* register not to be changed. 4043 (Salman Halim) 4044Solution: Change how clip_did_set_selection is used and add 4045 clipboard_needs_update and global_change_count. (Christian 4046 Brabandt) 4047Files: src/main.c, src/ui.c, src/testdir/test_eval.in, 4048 src/testdir/test_eval.ok 4049 4050Patch 7.4.599 4051Problem: Out-of-memory error. 4052Solution: Avoid trying to allocate a negative amount of memory, use size_t 4053 instead of int. (Dominique Pelle) 4054Files: src/regexp_nfa.c 4055 4056Patch 7.4.600 4057Problem: Memory wasted in struct because of aligning. 4058Solution: Split pos in lnum and col. (Dominique Pelle) 4059Files: src/regexp_nfa.c 4060 4061Patch 7.4.601 4062Problem: It is not possible to have feedkeys() insert characters. 4063Solution: Add the 'i' flag. 4064Files: src/eval.c, runtime/doc/eval.txt 4065 4066Patch 7.4.602 4067Problem: ":set" does not accept hex numbers as documented. 4068Solution: Use vim_str2nr(). (ZyX) 4069Files: src/option.c, runtime/doc/options.txt 4070 4071Patch 7.4.603 4072Problem: 'foldcolumn' may be set such that it fills the whole window, not 4073 leaving space for text. 4074Solution: Reduce the foldcolumn width when there is not sufficient room. 4075 (idea by Christian Brabandt) 4076Files: src/screen.c 4077 4078Patch 7.4.604 4079Problem: Running tests changes viminfo. 4080Solution: Disable viminfo. 4081Files: src/testdir/test_breakindent.in 4082 4083Patch 7.4.605 4084Problem: The # register is not writable, it cannot be restored after 4085 jumping around. 4086Solution: Make the # register writable. (Marcin Szamotulski) 4087Files: runtime/doc/change.txt, src/ops.c, src/buffer.c, src/globals.h 4088 4089Patch 7.4.606 4090Problem: May crash when using a small window. 4091Solution: Avoid dividing by zero. (Christian Brabandt) 4092Files: src/normal.c 4093 4094Patch 7.4.607 (after 7.4.598) 4095Problem: Compiler warnings for unused variables. 4096Solution: Move them inside #ifdef. (Kazunobu Kuriyama) 4097Files: src/ui.c 4098 4099Patch 7.4.608 (after 7.4.598) 4100Problem: test_eval fails when the clipboard feature is missing. 4101Solution: Skip part of the test. Reduce the text used. 4102Files: src/testdir/test_eval.in, src/testdir/test_eval.ok 4103 4104Patch 7.4.609 4105Problem: For complicated list and dict use the garbage collector can run 4106 out of stack space. 4107Solution: Use a stack of dicts and lists to be marked, thus making it 4108 iterative instead of recursive. (Ben Fritz) 4109Files: src/eval.c, src/if_lua.c, src/if_py_both.h, src/if_python.c, 4110 src/if_python3.c, src/proto/eval.pro, src/proto/if_lua.pro, 4111 src/proto/if_python.pro, src/proto/if_python3.pro, src/structs.h 4112 4113Patch 7.4.610 4114Problem: Some function headers may be missing from generated .pro files. 4115Solution: Add PROTO to the #ifdef. 4116Files: src/option.c, src/syntax.c 4117 4118Patch 7.4.611 (after 7.4.609) 4119Problem: Syntax error. 4120Solution: Change statement to return. 4121Files: src/if_python3.c 4122 4123Patch 7.4.612 4124Problem: test_eval fails on Mac. 4125Solution: Use the * register instead of the + register. (Jun Takimoto) 4126Files: src/testdir/test_eval.in, src/testdir/test_eval.ok 4127 4128Patch 7.4.613 4129Problem: The NFA engine does not implement the 'redrawtime' time limit. 4130Solution: Implement the time limit. 4131Files: src/regexp_nfa.c 4132 4133Patch 7.4.614 4134Problem: There is no test for what patch 7.4.601 fixes. 4135Solution: Add a test. (Christian Brabandt) 4136Files: src/testdir/test_mapping.in, src/testdir/test_mapping.ok 4137 4138Patch 7.4.615 4139Problem: Vim hangs when freeing a lot of objects. 4140Solution: Do not go back to the start of the list every time. (Yasuhiro 4141 Matsumoto and Ariya Mizutani) 4142Files: src/eval.c 4143 4144Patch 7.4.616 4145Problem: Cannot insert a tab in front of a block. 4146Solution: Correctly compute aop->start. (Christian Brabandt) 4147Files: src/ops.c, src/testdir/test39.in, src/testdir/test39.ok 4148 4149Patch 7.4.617 4150Problem: Wrong ":argdo" range does not cause an error. 4151Solution: Reset "cmd" to NULL. (Marcin Szamotulski, Ingo Karkat) 4152Files: src/ex_docmd.c 4153 4154Patch 7.4.618 (after 7.4.609) 4155Problem: luaV_setref() is missing a return statement. (Ozaki Kiichi) 4156Solution: Put the return statement back. 4157Files: src/if_lua.c 4158 4159Patch 7.4.619 (after 7.4.618) 4160Problem: luaV_setref() not returning the correct value. 4161Solution: Return one. 4162Files: src/if_lua.c 4163 4164Patch 7.4.620 4165Problem: Compiler warning for uninitialized variable. (Tony Mechelynck) 4166Solution: Initialize "did_free". (Ben Fritz) 4167Files: src/eval.c 4168 4169Patch 7.4.621 (after 7.4.619) 4170Problem: Returning 1 in the wrong function. (Raymond Ko) 4171Solution: Return 1 in the right function (hopefully). 4172Files: src/if_lua.c 4173 4174Patch 7.4.622 4175Problem: Compiler warning for unused argument. 4176Solution: Add UNUSED. 4177Files: src/regexp_nfa.c 4178 4179Patch 7.4.623 4180Problem: Crash with pattern: \(\)\{80000} (Dominique Pelle) 4181Solution: When the max limit is large fall back to the old engine. 4182Files: src/regexp_nfa.c 4183 4184Patch 7.4.624 4185Problem: May leak memory or crash when vim_realloc() returns NULL. 4186Solution: Handle a NULL value properly. (Mike Williams) 4187Files: src/if_cscope.c, src/memline.c, src/misc1.c, src/netbeans.c 4188 4189Patch 7.4.625 4190Problem: Possible NULL pointer dereference. 4191Solution: Check for NULL before using it. (Mike Williams) 4192Files: src/if_py_both.h 4193 4194Patch 7.4.626 4195Problem: MSVC with W4 gives useless warnings. 4196Solution: Disable more warnings. (Mike Williams) 4197Files: src/vim.h 4198 4199Patch 7.4.627 4200Problem: The last screen cell is not updated. 4201Solution: Respect the "tn" termcap feature. (Hayaki Saito) 4202Files: runtime/doc/term.txt, src/option.c, src/screen.c, src/term.c, 4203 src/term.h 4204 4205Patch 7.4.628 4206Problem: Compiler warning for variable might be clobbered by longjmp. 4207Solution: Add volatile. (Michael Jarvis) 4208Files: src/main.c 4209 4210Patch 7.4.629 4211Problem: Coverity warning for Out-of-bounds read. 4212Solution: Increase MAXWLEN to 254. (Eliseo Martínez) 4213Files: src/spell.c 4214 4215Patch 7.4.630 4216Problem: When using Insert mode completion combined with autocommands the 4217 redo command may not work. 4218Solution: Do not save the redo buffer when executing autocommands. (Yasuhiro 4219 Matsumoto) 4220Files: src/fileio.c 4221 4222Patch 7.4.631 4223Problem: The default conceal character is documented to be a space but it's 4224 initially a dash. (Christian Brabandt) 4225Solution: Make the initial value a space. 4226Files: src/globals.h 4227 4228Patch 7.4.632 (after 7.4.592) 4229Problem: 7.4.592 breaks the netrw plugin, because the autocommands are 4230 skipped. 4231Solution: Roll back the change. 4232Files: src/ex_cmds.c 4233 4234Patch 7.4.633 4235Problem: After 7.4.630 the problem persists. 4236Solution: Also skip redo when calling a user function. 4237Files: src/eval.c 4238 4239Patch 7.4.634 4240Problem: Marks are not restored after redo + undo. 4241Solution: Fix the way marks are restored. (Olaf Dabrunz) 4242Files: src/undo.c, src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 4243 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 4244 src/testdir/Make_vms.mms, src/testdir/Makefile, 4245 src/testdir/test_marks.in, src/testdir/test_marks.ok 4246 4247Patch 7.4.635 4248Problem: If no NL or CR is found in the first block of a file then the 4249 'fileformat' may be set to "mac". (Issue 77) 4250Solution: Check if a CR was found. (eswald) 4251Files: src/fileio.c 4252 4253Patch 7.4.636 4254Problem: A search with end offset gets stuck at end of file. (Gary Johnson) 4255Solution: When a search doesn't move the cursor repeat it with a higher 4256 count. (Christian Brabandt) 4257Files: src/normal.c, src/testdir/test44.in, src/testdir/test44.ok 4258 4259Patch 7.4.637 4260Problem: Incorrectly read the number of buffer for which an autocommand 4261 should be registered. 4262Solution: Reverse check for "<buffer=abuf>". (Lech Lorens) 4263Files: src/fileio.c 4264 4265Patch 7.4.638 4266Problem: Can't build with Lua 5.3 on Windows. 4267Solution: use luaL_optinteger() instead of LuaL_optlong(). (Ken Takata) 4268Files: src/if_lua.c 4269 4270Patch 7.4.639 4271Problem: Combination of linebreak and conceal doesn't work well. 4272Solution: Fix the display problems. (Christian Brabandt) 4273Files: src/screen.c, src/testdir/test88.in, src/testdir/test88.ok, 4274 src/testdir/test_listlbr_utf8.in, src/testdir/test_listlbr_utf8.ok 4275 4276Patch 7.4.640 4277Problem: After deleting characters in Insert mode such that lines are 4278 joined undo does not work properly. (issue 324) 4279Solution: Use Insstart instead of Insstart_orig. (Christian Brabandt) 4280Files: src/edit.c 4281 4282Patch 7.4.641 4283Problem: The tabline menu was using ":999tabnew" which is now invalid. 4284Solution: Use ":$tabnew" instead. (Florian Degner) 4285Files: src/normal.c 4286 4287Patch 7.4.642 4288Problem: When using "gf" escaped spaces are not handled. 4289Solution: Recognize escaped spaces. 4290Files: src/vim.h, src/window.c, src/misc2.c 4291 4292Patch 7.4.643 4293Problem: Using the default file format for Mac files. (Issue 77) 4294Solution: Reset the try_mac counter in the right place. (Oswald) 4295Files: src/fileio.c, src/testdir/test30.in, src/testdir/test30.ok 4296 4297Patch 7.4.644 4298Problem: Stratus VOS doesn't have sync(). 4299Solution: Use fflush(). (Karli Aurelia) 4300Files: src/memfile.c 4301 4302Patch 7.4.645 4303Problem: When splitting the window in a BufAdd autocommand while still in 4304 the first, empty buffer the window count is wrong. 4305Solution: Do not reset b_nwindows to zero and don't increment it. 4306Files: src/buffer.c, src/ex_cmds.c 4307 4308Patch 7.4.646 4309Problem: ":bufdo" may start at a deleted buffer. 4310Solution: Find the first not deleted buffer. (Shane Harper) 4311Files: src/ex_cmds2.c, src/testdir/test_command_count.in, 4312 src/testdir/test_command_count.ok 4313 4314Patch 7.4.647 4315Problem: After running the tests on MS-Windows many files differ from their 4316 originals as they were checked out. 4317Solution: Use a temp directory for executing the tests. (Ken Takata, Taro 4318 Muraoka) 4319Files: src/testdir/Make_dos.mak 4320 4321Patch 7.4.648 (after 7.4.647) 4322Problem: Tests broken on MS-Windows. 4323Solution: Delete wrong copy line. (Ken Takata) 4324Files: src/testdir/Make_dos.mak 4325 4326Patch 7.4.649 4327Problem: Compiler complains about ignoring return value of fwrite(). 4328 (Michael Jarvis) 4329Solution: Add (void). 4330Files: src/misc2.c 4331 4332Patch 7.4.650 4333Problem: Configure check may fail because the dl library is not used. 4334Solution: Put "-ldl" in LIBS rather than LDFLAGS. (Ozaki Kiichi) 4335Files: src/configure.in, src/auto/configure 4336 4337Patch 7.4.651 (after 7.4.582) 4338Problem: Can't match "%>80v" properly for multi-byte characters. 4339Solution: Multiply the character number by the maximum number of bytes in a 4340 character. (Yasuhiro Matsumoto) 4341Files: src/regexp_nfa.c 4342 4343Patch 7.4.652 4344Problem: Xxd lacks a few features. 4345Solution: Use 8 characters for the file position. Add the -e and -o 4346 arguments. (Vadim Vygonets) 4347Files: src/xxd/xxd.c, runtime/doc/xxd.1 4348 4349Patch 7.4.653 4350Problem: Insert mode completion with complete() may have CTRL-L work like 4351 CTRL-P. 4352Solution: Handle completion with complete() differently. (Yasuhiro 4353 Matsumoto, Christian Brabandt, Hirohito Higashi) 4354Files: src/edit.c 4355 4356Patch 7.4.654 4357Problem: glob() and globpath() cannot include links to non-existing files. 4358 (Charles Campbell) 4359Solution: Add an argument to include all links with glob(). (James McCoy) 4360 Also for globpath(). 4361Files: src/vim.h, src/eval.c, src/ex_getln.c 4362 4363Patch 7.4.655 4364Problem: Text deleted by "dit" depends on indent of closing tag. 4365 (Jan Parthey) 4366Solution: Do not adjust oap->end in do_pending_operator(). (Christian 4367 Brabandt) 4368Files: src/normal.c, src/search.c, src/testdir/test53.in, 4369 src/testdir/test53.ok 4370 4371Patch 7.4.656 (after 7.4.654) 4372Problem: Missing changes for glob() in one file. 4373Solution: Add the missing changes. 4374Files: src/misc1.c 4375 4376Patch 7.4.657 (after 7.4.656) 4377Problem: Compiler warnings for pointer mismatch. 4378Solution: Add a typecast. (John Marriott) 4379Files: src/misc1.c 4380 4381Patch 7.4.658 4382Problem: 'formatexpr' is evaluated too often. 4383Solution: Only invoke it when beyond the 'textwidth' column, as it is 4384 documented. (James McCoy) 4385Files: src/edit.c 4386 4387Patch 7.4.659 4388Problem: When 'ruler' is set the preferred column is reset. (Issue 339) 4389Solution: Don't set curswant when redrawing the status lines. 4390Files: src/option.c 4391 4392Patch 7.4.660 4393Problem: Using freed memory when g:colors_name is changed in the colors 4394 script. (oni-link) 4395Solution: Make a copy of the variable value. 4396Files: src/syntax.c 4397 4398Patch 7.4.661 4399Problem: Using "0 CTRL-D" in Insert mode may have CursorHoldI interfere. 4400 (Gary Johnson) 4401Solution: Don't store K_CURSORHOLD as the last character. (Christian 4402 Brabandt) 4403Files: src/edit.c 4404 4405Patch 7.4.662 4406Problem: When 'M' is in the 'cpo' option then selecting a text object in 4407 parentheses does not work correctly. 4408Solution: Keep 'M' in 'cpo' when finding a match. (Hirohito Higashi) 4409Files: src/search.c, src/testdir/Make_amiga.mak, 4410 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 4411 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms, 4412 src/testdir/Makefile, src/testdir/test_textobjects.in, 4413 src/testdir/test_textobjects.ok 4414 4415Patch 7.4.663 4416Problem: When using netbeans a buffer is not found in another tab. 4417Solution: When 'switchbuf' is set to "usetab" then switch to another tab 4418 when possible. (Xavier de Gaye) 4419Files: src/netbeans.c 4420 4421Patch 7.4.664 4422Problem: When 'compatible' is reset 'numberwidth' is set to 4, but the 4423 effect doesn't show until a change is made. 4424Solution: Check if 'numberwidth' changed. (Christian Brabandt) 4425Files: src/screen.c, src/structs.h 4426 4427Patch 7.4.665 4428Problem: 'linebreak' does not work properly with multi-byte characters. 4429Solution: Compute the pointer offset with mb_head_off(). (Yasuhiro 4430 Matsumoto) 4431Files: src/screen.c 4432 4433Patch 7.4.666 4434Problem: There is a chance that Vim may lock up. 4435Solution: Handle timer events differently. (Aaron Burrow) 4436Files: src/os_unix.c 4437 4438Patch 7.4.667 4439Problem: 'colorcolumn' isn't drawn in a closed fold while 'cursorcolumn' 4440 is. (Carlos Pita) 4441Solution: Make it consistent. (Christian Brabandt) 4442Files: src/screen.c 4443 4444Patch 7.4.668 4445Problem: Can't use a glob pattern as a regexp pattern. 4446Solution: Add glob2regpat(). (Christian Brabandt) 4447Files: src/eval.c, runtime/doc/eval.txt 4448 4449Patch 7.4.669 4450Problem: When netbeans is active the sign column always shows up. 4451Solution: Only show the sign column once a sign has been added. (Xavier de 4452 Gaye) 4453Files: src/buffer.c, src/edit.c, src/move.c, src/netbeans.c, 4454 src/screen.c, src/structs.h 4455 4456Patch 7.4.670 4457Problem: Using 'cindent' for Javascript is less than perfect. 4458Solution: Improve indenting of continuation lines. (Hirohito Higashi) 4459Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok 4460 4461Patch 7.4.671 (after 7.4.665) 4462Problem: Warning for shadowing a variable. 4463Solution: Rename off to mb_off. (Kazunobu Kuriyama) 4464Files: src/screen.c 4465 4466Patch 7.4.672 4467Problem: When completing a shell command, directories in the current 4468 directory are not listed. 4469Solution: When "." is not in $PATH also look in the current directory for 4470 directories. 4471Files: src/ex_getln.c, src/vim.h, src/misc1.c, src/eval.c, 4472 src/os_amiga.c, src/os_msdos.c, src/os_unix.c, src/os_vms.c, 4473 src/proto/os_amiga.pro, src/proto/os_msdos.pro, 4474 src/proto/os_unix.pro, src/proto/os_win32.pro 4475 4476Patch 7.4.673 4477Problem: The first syntax entry gets sequence number zero, which doesn't 4478 work. (Clinton McKay) 4479Solution: Start at number one. (Bjorn Linse) 4480Files: src/syntax.c 4481 4482Patch 7.4.674 (after 7.4.672) 4483Problem: Missing changes in one file. 4484Solution: Also change the win32 file. 4485Files: src/os_win32.c 4486 4487Patch 7.4.675 4488Problem: When a FileReadPost autocommand moves the cursor inside a line it 4489 gets moved back. 4490Solution: When checking whether an autocommand moved the cursor store the 4491 column as well. (Christian Brabandt) 4492Files: src/ex_cmds.c 4493 4494Patch 7.4.676 4495Problem: On Mac, when not using the default Python framework configure 4496 doesn't do the right thing. 4497Solution: Use a linker search path. (Kazunobu Kuriyama) 4498Files: src/configure.in, src/auto/configure 4499 4500Patch 7.4.677 (after 7.4.676) 4501Problem: Configure fails when specifying a python-config-dir. (Lcd) 4502Solution: Check if PYTHONFRAMEWORKPREFIX is set. 4503Files: src/configure.in, src/auto/configure 4504 4505Patch 7.4.678 4506Problem: When using --remote the directory may end up being wrong. 4507Solution: Use localdir() to find out what to do. (Xaizek) 4508Files: src/main.c 4509 4510Patch 7.4.679 4511Problem: Color values greater than 255 cause problems on MS-Windows. 4512Solution: Truncate to 255 colors. (Yasuhiro Matsumoto) 4513Files: src/os_win32.c 4514 4515Patch 7.4.680 4516Problem: CTRL-W in Insert mode does not work well for multi-byte 4517 characters. 4518Solution: Use mb_get_class(). (Yasuhiro Matsumoto) 4519Files: src/edit.c, src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 4520 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 4521 src/testdir/Make_vms.mms, src/testdir/Makefile, 4522 src/testdir/test_erasebackword.in, 4523 src/testdir/test_erasebackword.ok, 4524 4525Patch 7.4.681 4526Problem: MS-Windows: When Vim is minimized the window height is computed 4527 incorrectly. 4528Solution: When minimized use the previously computed size. (Ingo Karkat) 4529Files: src/gui_w32.c 4530 4531Patch 7.4.682 4532Problem: The search highlighting and match highlighting replaces the 4533 cursorline highlighting, this doesn't look good. 4534Solution: Combine the highlighting. (Yasuhiro Matsumoto) 4535Files: src/screen.c 4536 4537Patch 7.4.683 4538Problem: Typo in the vimtutor command. 4539Solution: Fix the typo. (Corey Farwell, github pull 349) 4540Files: vimtutor.com 4541 4542Patch 7.4.684 4543Problem: When starting several Vim instances in diff mode, the temp files 4544 used may not be unique. (Issue 353) 4545Solution: Add an argument to vim_tempname() to keep the file. 4546Files: src/diff.c, src/eval.c, src/ex_cmds.c, src/fileio.c, 4547 src/hardcopy.c, src/proto/fileio.pro, src/if_cscope.c, 4548 src/memline.c, src/misc1.c, src/os_unix.c, src/quickfix.c, 4549 src/spell.c 4550 4551Patch 7.4.685 4552Problem: When there are illegal utf-8 characters the old regexp engine may 4553 go past the end of a string. 4554Solution: Only advance to the end of the string. (Dominique Pelle) 4555Files: src/regexp.c 4556 4557Patch 7.4.686 4558Problem: "zr" and "zm" do not take a count. 4559Solution: Implement the count, restrict the fold level to the maximum 4560 nesting depth. (Marcin Szamotulski) 4561Files: runtime/doc/fold.txt, src/normal.c 4562 4563Patch 7.4.687 4564Problem: There is no way to use a different in Replace mode for a terminal. 4565Solution: Add t_SR. (Omar Sandoval) 4566Files: runtime/doc/options.txt, runtime/doc/term.txt, 4567 runtime/syntax/vim.vim, src/option.c, src/term.c, src/term.h 4568 4569Patch 7.4.688 4570Problem: When "$" is in 'cpo' the popup menu isn't undrawn correctly. 4571 (Issue 166) 4572Solution: When using the popup menu remove the "$". 4573Files: src/edit.c 4574 4575Patch 7.4.689 4576Problem: On MS-Windows, when 'autochdir' is set, diff mode with files in 4577 different directories does not work. (Axel Bender) 4578Solution: Remember the current directory and use it where needed. (Christian 4579 Brabandt) 4580Files: src/main.c 4581 4582Patch 7.4.690 4583Problem: Memory access errors when changing indent in Ex mode. Also missing 4584 redraw when using CTRL-U. (Knil Ino) 4585Solution: Update pointers after calling ga_grow(). 4586Files: src/ex_getln.c 4587 4588Patch 7.4.691 (after 7.4.689) 4589Problem: Can't build with MzScheme. 4590Solution: Change "cwd" into the global variable "start_dir". 4591Files: src/main.c 4592 4593Patch 7.4.692 4594Problem: Defining SOLARIS for no good reason. (Danek Duvall) 4595Solution: Remove it. 4596Files: src/os_unix.h 4597 4598Patch 7.4.693 4599Problem: Session file is not correct when there are multiple tab pages. 4600Solution: Reset the current window number for each tab page. (Jacob Niehus) 4601Files: src/ex_docmd.c 4602 4603Patch 7.4.694 4604Problem: Running tests changes the .viminfo file. 4605Solution: Disable viminfo in the text objects test. 4606Files: src/testdir/test_textobjects.in 4607 4608Patch 7.4.695 4609Problem: Out-of-bounds read, detected by Coverity. 4610Solution: Remember the value of cmap for the first matching encoding. Reset 4611 cmap to that value if first matching encoding is going to be used. 4612 (Eliseo Martínez) 4613Files: src/hardcopy.c 4614 4615Patch 7.4.696 4616Problem: Not freeing memory when encountering an error. 4617Solution: Free the stack before returning. (Eliseo Martínez) 4618Files: src/regexp_nfa.c 4619 4620Patch 7.4.697 4621Problem: The filename used for ":profile" must be given literally. 4622Solution: Expand "~" and environment variables. (Marco Hinz) 4623Files: src/ex_cmds2.c 4624 4625Patch 7.4.698 4626Problem: Various problems with locked and fixed lists and dictionaries. 4627Solution: Disallow changing locked items, fix a crash, add tests. (Olaf 4628 Dabrunz) 4629Files: src/structs.h, src/eval.c, src/testdir/test55.in, 4630 src/testdir/test55.ok 4631 4632Patch 7.4.699 4633Problem: E315 when trying to delete a fold. (Yutao Yuan) 4634Solution: Make sure the fold doesn't go beyond the last buffer line. 4635 (Christian Brabandt) 4636Files: src/fold.c 4637 4638Patch 7.4.700 4639Problem: Fold can't be opened after ":move". (Ein Brown) 4640Solution: Delete the folding information and update it afterwards. 4641 (Christian Brabandt) 4642Files: src/ex_cmds.c, src/fold.c, src/testdir/test45.in, 4643 src/testdir/test45.ok 4644 4645Patch 7.4.701 4646Problem: Compiler warning for using uninitialized variable. (Yasuhiro 4647 Matsumoto) 4648Solution: Initialize it. 4649Files: src/hardcopy.c 4650 4651Patch 7.4.702 4652Problem: Joining an empty list does unnecessary work. 4653Solution: Let join() return early. (Marco Hinz) 4654Files: src/eval.c 4655 4656Patch 7.4.703 4657Problem: Compiler warning for start_dir unused when building unittests. 4658Solution: Move start_dir inside the #ifdef. 4659Files: src/main.c 4660 4661Patch 7.4.704 4662Problem: Searching for a character matches an illegal byte and causes 4663 invalid memory access. (Dominique Pelle) 4664Solution: Do not match an invalid byte when search for a character in a 4665 string. Fix equivalence classes using negative numbers, which 4666 result in illegal bytes. 4667Files: src/misc2.c, src/regexp.c, src/testdir/test44.in 4668 4669Patch 7.4.705 4670Problem: Can't build with Ruby 2.2. 4671Solution: Add #ifdefs to handle the incompatible change. (Andrei Olsen) 4672Files: src/if_ruby.c 4673 4674Patch 7.4.706 4675Problem: Window drawn wrong when 'laststatus' is zero and there is a 4676 command-line window. (Yclept Nemo) 4677Solution: Set the status height a bit later. (Christian Brabandt) 4678Files: src/window.c 4679 4680Patch 7.4.707 4681Problem: Undo files can have their executable bit set. 4682Solution: Strip of the executable bit. (Mikael Berthe) 4683Files: src/undo.c 4684 4685Patch 7.4.708 4686Problem: gettext() is called too often. 4687Solution: Do not call gettext() for messages until they are actually used. 4688 (idea by Yasuhiro Matsumoto) 4689Files: src/eval.c 4690 4691Patch 7.4.709 4692Problem: ":tabmove" does not work as documented. 4693Solution: Make it work consistently. Update documentation and add tests. 4694 (Hirohito Higashi) 4695Files: src/window.c, runtime/doc/tabpage.txt, src/ex_docmd.c, 4696 src/testdir/test62.in, src/testdir/test62.ok 4697 4698Patch 7.4.710 4699Problem: It is not possible to make spaces visible in list mode. 4700Solution: Add the "space" item to 'listchars'. (David Bürgin, issue 350) 4701Files: runtime/doc/options.txt, src/globals.h, src/message.h, 4702 src/screen.c, src/testdir/test_listchars.in, 4703 src/testdir/test_listchars.ok, src/testdir/Make_amiga.mak, 4704 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 4705 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms, 4706 src/testdir/Makefile 4707 4708Patch 7.4.711 (after 7.4.710) 4709Problem: Missing change in one file. 4710Solution: Also change option.c 4711Files: src/option.c 4712 4713Patch 7.4.712 (after 7.4.710) 4714Problem: Missing change in another file. 4715Solution: Also change message.c 4716Files: src/message.c 4717 4718Patch 7.4.713 4719Problem: Wrong condition for #ifdef. 4720Solution: Change USR_EXRC_FILE2 to USR_VIMRC_FILE2. (Mikael Fourrier) 4721Files: src/os_unix.h 4722 4723Patch 7.4.714 4724Problem: Illegal memory access when there are illegal bytes. 4725Solution: Check the byte length of the character. (Dominique Pelle) 4726Files: src/regexp.c 4727 4728Patch 7.4.715 4729Problem: Invalid memory access when there are illegal bytes. 4730Solution: Get the length from the text, not from the character. (Dominique 4731 Pelle) 4732Files: src/regexp_nfa.c 4733 4734Patch 7.4.716 4735Problem: When using the 'c' flag of ":substitute" and selecting "a" or "l" 4736 at the prompt the flags are not remembered for ":&&". (Ingo 4737 Karkat) 4738Solution: Save the flag values and restore them. (Hirohito Higashi) 4739Files: src/ex_cmds.c 4740 4741Patch 7.4.717 4742Problem: ":let list += list" can change a locked list. 4743Solution: Check for the lock earlier. (Olaf Dabrunz) 4744Files: src/eval.c, src/testdir/test55.in, src/testdir/test55.ok 4745 4746Patch 7.4.718 4747Problem: Autocommands triggered by quickfix cannot get the current title 4748 value. 4749Solution: Set w:quickfix_title earlier. (Yannick) 4750 Also move the check for a title into the function. 4751Files: src/quickfix.c 4752 4753Patch 7.4.719 4754Problem: Overflow when adding MAXCOL to a pointer. 4755Solution: Subtract pointers instead. (James McCoy) 4756Files: src/screen.c 4757 4758Patch 7.4.720 4759Problem: Can't build with Visual Studio 2015. 4760Solution: Recognize the "version 14" numbers and omit /nodefaultlib when 4761 appropriate. (Paul Moore) 4762Files: src/Make_mvc.mak 4763 4764Patch 7.4.721 4765Problem: When 'list' is set Visual mode does not highlight anything in 4766 empty lines. (mgaleski) 4767Solution: Check the value of lcs_eol in another place. (Christian Brabandt) 4768Files: src/screen.c 4769 4770Patch 7.4.722 4771Problem: 0x202f is not recognized as a non-breaking space character. 4772Solution: Add 0x202f to the list. (Christian Brabandt) 4773Files: runtime/doc/options.txt, src/message.c, src/screen.c 4774 4775Patch 7.4.723 4776Problem: For indenting, finding the C++ baseclass can be slow. 4777Solution: Cache the result. (Hirohito Higashi) 4778Files: src/misc1.c 4779 4780Patch 7.4.724 4781Problem: Vim icon does not show in Windows context menu. (issue 249) 4782Solution: Load the icon in GvimExt. 4783Files: src/GvimExt/gvimext.cpp, src/GvimExt/gvimext.h 4784 4785Patch 7.4.725 4786Problem: ":call setreg('"', [])" reports an internal error. 4787Solution: Make the register empty. (Yasuhiro Matsumoto) 4788Files: src/ops.c 4789 4790Patch 7.4.726 (after 7.4.724) 4791Problem: Cannot build GvimExt. 4792Solution: Set APPVER to 5.0. (KF Leong) 4793Files: src/GvimExt/Makefile 4794 4795Patch 7.4.727 (after 7.4.724) 4796Problem: Cannot build GvimExt with MingW. 4797Solution: Add -lgdi32. (KF Leong) 4798Files: src/GvimExt/Make_ming.mak 4799 4800Patch 7.4.728 4801Problem: Can't build with some version of Visual Studio 2015. 4802Solution: Recognize another version 14 number. (Sinan) 4803Files: src/Make_mvc.mak 4804 4805Patch 7.4.729 (after 7.4.721) 4806Problem: Occasional crash with 'list' set. 4807Solution: Fix off-by-one error. (Christian Brabandt) 4808Files: src/screen.c 4809 4810Patch 7.4.730 4811Problem: When setting the crypt key and using a swap file, text may be 4812 encrypted twice or unencrypted text remains in the swap file. 4813 (Issue 369) 4814Solution: Call ml_preserve() before re-encrypting. Set correct index for 4815 next pointer block. 4816Files: src/memfile.c, src/memline.c, src/proto/memline.pro, src/option.c 4817 4818Patch 7.4.731 4819Problem: The tab menu shows "Close tab" even when it doesn't work. 4820Solution: Don't show "Close tab" for the last tab. (John Marriott) 4821Files: src/gui_w48.c, src/gui_gtk_x11.c, src/gui_mac.c, src/gui_motif.c 4822 4823Patch 7.4.732 4824Problem: The cursor line is not always updated for the "O" command. 4825Solution: Reset the VALID_CROW flag. (Christian Brabandt) 4826Files: src/normal.c 4827 4828Patch 7.4.733 4829Problem: test_listchars breaks on MS-Windows. (Kenichi Ito) 4830Solution: Set fileformat to "unix". (Christian Brabandt) 4831Files: src/testdir/test_listchars.in 4832 4833Patch 7.4.734 4834Problem: ml_get error when using "p" in a Visual selection in the last 4835 line. 4836Solution: Change the behavior at the last line. (Yukihiro Nakadaira) 4837Files: src/normal.c, src/ops.c, src/testdir/test94.in, 4838 src/testdir/test94.ok 4839 4840Patch 7.4.735 4841Problem: Wrong argument for sizeof(). 4842Solution: Use a pointer argument. (Chris Hall) 4843Files: src/eval.c 4844 4845Patch 7.4.736 4846Problem: Invalid memory access. 4847Solution: Avoid going over the end of a NUL terminated string. (Dominique 4848 Pelle) 4849Files: src/regexp.c 4850 4851Patch 7.4.737 4852Problem: On MS-Windows vimgrep over arglist doesn't work (Issue 361) 4853Solution: Only escape backslashes in ## expansion when it is not used as the 4854 path separator. (James McCoy) 4855Files: src/ex_docmd.c 4856 4857Patch 7.4.738 (after 7.4.732) 4858Problem: Can't compile without the syntax highlighting feature. 4859Solution: Add #ifdef around use of w_p_cul. (Hirohito Higashi) 4860Files: src/normal.c, src/screen.c 4861 4862Patch 7.4.739 4863Problem: In a string "\U" only takes 4 digits, while after CTRL-V U eight 4864 digits can be used. 4865Solution: Make "\U" also take eight digits. (Christian Brabandt) 4866Files: src/eval.c 4867 4868Patch 7.4.740 4869Problem: ":1quit" works like ":.quit". (Bohr Shaw) 4870Solution: Don't exit Vim when a range is specified. (Christian Brabandt) 4871Files: src/ex_docmd.c, src/testdir/test13.in, src/testdir/test13.ok 4872 4873Patch 7.4.741 4874Problem: When using += with ":set" a trailing comma is not recognized. 4875 (Issue 365) 4876Solution: Don't add a second comma. Add a test. (partly by Christian 4877 Brabandt) 4878Files: src/option.c, src/testdir/test_set.in, src/testdir/test_set.ok, 4879 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 4880 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 4881 src/testdir/Make_vms.mms, src/testdir/Makefile 4882 4883Patch 7.4.742 4884Problem: Cannot specify a vertical split when loading a buffer for a 4885 quickfix command. 4886Solution: Add the "vsplit" value to 'switchbuf'. (Brook Hong) 4887Files: runtime/doc/options.txt, src/buffer.c, src/option.h 4888 4889Patch 7.4.743 4890Problem: "p" in Visual mode causes an unexpected line split. 4891Solution: Advance the cursor first. (Yukihiro Nakadaira) 4892Files: src/ops.c, src/testdir/test94.in, src/testdir/test94.ok 4893 4894Patch 7.4.744 4895Problem: No tests for Ruby and Perl. 4896Solution: Add minimal tests. (Ken Takata) 4897Files: src/testdir/test_perl.in, src/testdir/test_perl.ok, 4898 src/testdir/test_ruby.in, src/testdir/test_ruby.ok, 4899 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 4900 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 4901 src/testdir/Make_vms.mms, src/testdir/Makefile 4902 4903Patch 7.4.745 4904Problem: The entries added by matchaddpos() are returned by getmatches() 4905 but can't be set with setmatches(). (Lcd) 4906Solution: Fix setmatches(). (Christian Brabandt) 4907Files: src/eval.c, src/testdir/test63.in, src/testdir/test63.ok 4908 4909Patch 7.4.746 4910Problem: ":[count]tag" is not always working. (cs86661) 4911Solution: Set cur_match a bit later. (Hirohito Higashi) 4912Files: src/tag.c, 4913 4914Patch 7.4.747 4915Problem: ":cnext" may jump to the wrong column when setting 4916 'virtualedit=all' (cs86661) 4917Solution: Reset the coladd field. (Hirohito Higashi) 4918Files: src/quickfix.c 4919 4920Patch 7.4.748 (after 7.4.745) 4921Problem: Buffer overflow. 4922Solution: Make the buffer larger. (Kazunobu Kuriyama) 4923Files: src/eval.c 4924 4925Patch 7.4.749 (after 7.4.741) 4926Problem: For some options two consecutive commas are OK. (Nikolai Pavlov) 4927Solution: Add the P_ONECOMMA flag. 4928Files: src/option.c 4929 4930Patch 7.4.750 4931Problem: Cannot build with clang 3.5 on Cygwin with perl enabled. 4932Solution: Strip "-fdebug-prefix-map" in configure. (Ken Takata) 4933Files: src/configure.in, src/auto/configure 4934 4935Patch 7.4.751 4936Problem: It is not obvious how to enable the address sanitizer. 4937Solution: Add commented-out flags in the Makefile. (Dominique Pelle) 4938 Also add missing test targets. 4939Files: src/Makefile 4940 4941Patch 7.4.752 4942Problem: Unicode 8.0 not supported. 4943Solution: Update tables for Unicode 8.0. Avoid E36 when running the script. 4944 (James McCoy) 4945Files: runtime/tools/unicode.vim, src/mbyte.c 4946 4947Patch 7.4.753 4948Problem: Appending in Visual mode with 'linebreak' set does not work 4949 properly. Also when 'selection' is "exclusive". (Ingo Karkat) 4950Solution: Recalculate virtual columns. (Christian Brabandt) 4951Files: src/normal.c, src/testdir/test_listlbr.in, 4952 src/testdir/test_listlbr.ok, src/testdir/test_listlbr_utf8.in, 4953 src/testdir/test_listlbr_utf8.ok 4954 4955Patch 7.4.754 4956Problem: Using CTRL-A in Visual mode does not work well. (Gary Johnson) 4957Solution: Make it increment all numbers in the Visual area. (Christian 4958 Brabandt) 4959Files: runtime/doc/change.txt, src/normal.c, src/ops.c, 4960 src/proto/ops.pro, src/testdir/Make_amiga.mak, 4961 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 4962 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms, 4963 src/testdir/Makefile, src/testdir/test_increment.in, 4964 src/testdir/test_increment.ok 4965 4966Patch 7.4.755 4967Problem: It is not easy to count the number of characters. 4968Solution: Add the skipcc argument to strchars(). (Hirohito Higashi, Ken 4969 Takata) 4970Files: runtime/doc/eval.txt, src/eval.c, src/testdir/test_utf8.in, 4971 src/testdir/test_utf8.ok 4972 4973Patch 7.4.756 4974Problem: Can't use strawberry Perl 5.22 x64 on MS-Windows. 4975Solution: Add new defines and #if. (Ken Takata) 4976Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/if_perl.xs 4977 4978Patch 7.4.757 4979Problem: Cannot detect the background color of a terminal. 4980Solution: Add T_RBG to request the background color if possible. (Lubomir 4981 Rintel) 4982Files: src/main.c, src/term.c, src/term.h, src/proto/term.pro 4983 4984Patch 7.4.758 4985Problem: When 'conceallevel' is 1 and quitting the command-line window with 4986 CTRL-C the first character ':' is erased. 4987Solution: Reset 'conceallevel' in the command-line window. (Hirohito 4988 Higashi) 4989Files: src/ex_getln.c 4990 4991Patch 7.4.759 4992Problem: Building with Lua 5.3 doesn't work, symbols have changed. 4993Solution: Use the new names for the new version. (Felix Schnizlein) 4994Files: src/if_lua.c 4995 4996Patch 7.4.760 4997Problem: Spelling mistakes are not displayed after ":syn spell". 4998Solution: Force a redraw after ":syn spell" command. (Christian Brabandt) 4999Files: src/syntax.c 5000 5001Patch 7.4.761 (after 7.4.757) 5002Problem: The request-background termcode implementation is incomplete. 5003Solution: Add the missing pieces. 5004Files: src/option.c, src/term.c 5005 5006Patch 7.4.762 (after 7.4.757) 5007Problem: Comment for may_req_bg_color() is wrong. (Christ van Willegen) 5008Solution: Rewrite the comment. 5009Files: src/term.c 5010 5011Patch 7.4.763 (after 7.4.759) 5012Problem: Building with Lua 5.1 doesn't work. 5013Solution: Define lua_replace and lua_remove. (KF Leong) 5014Files: src/if_lua.c 5015 5016Patch 7.4.764 (after 7.4.754) 5017Problem: test_increment fails on MS-Windows. (Ken Takata) 5018Solution: Clear Visual mappings. (Taro Muraoka) 5019Files: src/testdir/test_increment.in 5020 5021Patch 7.4.765 (after 7.4.754) 5022Problem: CTRL-A and CTRL-X in Visual mode do not always work well. 5023Solution: Improvements for increment and decrement. (Christian Brabandt) 5024Files: src/normal.c, src/ops.c, src/testdir/test_increment.in, 5025 src/testdir/test_increment.ok 5026 5027Patch 7.4.766 (after 7.4.757) 5028Problem: Background color check does not work on Tera Term. 5029Solution: Also recognize ST as a termination character. (Hirohito Higashi) 5030Files: src/term.c 5031 5032Patch 7.4.767 5033Problem: --remote-tab-silent can fail on MS-Windows. 5034Solution: Use single quotes to avoid problems with backslashes. (Idea by 5035 Weiyong Mao) 5036Files: src/main.c 5037 5038Patch 7.4.768 5039Problem: :diffoff only works properly once. 5040Solution: Also make :diffoff work when used a second time. (Olaf Dabrunz) 5041Files: src/diff.c 5042 5043Patch 7.4.769 (after 7.4 768) 5044Problem: Behavior of :diffoff is not tested. 5045Solution: Add a bit of testing. (Olaf Dabrunz) 5046Files: src/testdir/test47.in, src/testdir/test47.ok 5047 5048Patch 7.4.770 (after 7.4.766) 5049Problem: Background color response with transparency is not ignored. 5050Solution: Change the way escape sequences are recognized. (partly by 5051 Hirohito Higashi) 5052Files: src/ascii.h, src/term.c 5053 5054Patch 7.4.771 5055Problem: Search does not handle multi-byte character at the start position 5056 correctly. 5057Solution: Take byte size of character into account. (Yukihiro Nakadaira) 5058Files: src/search.c, src/testdir/Make_amiga.mak, 5059 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 5060 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms, 5061 src/testdir/Makefile, src/testdir/test_search_mbyte.in, 5062 src/testdir/test_search_mbyte.ok 5063 5064Patch 7.4.772 5065Problem: Racket 6.2 is not supported on MS-Windows. 5066Solution: Check for the "racket" subdirectory. (Weiyong Mao) 5067Files: src/Make_mvc.mak, src/if_mzsch.c 5068 5069Patch 7.4.773 5070Problem: 'langmap' is used in command-line mode when checking for mappings. 5071 Issue 376. 5072Solution: Do not use 'langmap' in command-line mode. (Larry Velazquez) 5073Files: src/getchar.c, src/testdir/test_mapping.in, 5074 src/testdir/test_mapping.ok 5075 5076Patch 7.4.774 5077Problem: When using the CompleteDone autocommand event it's difficult to 5078 get to the completed items. 5079Solution: Add the v:completed_items variable. (Shougo Matsu) 5080Files: runtime/doc/autocmd.txt, runtime/doc/eval.txt, src/edit.c, 5081 src/eval.c, src/macros.h, src/proto/eval.pro, src/vim.h 5082 5083Patch 7.4.775 5084Problem: It is not possible to avoid using the first item of completion. 5085Solution: Add the "noinsert" and "noselect" values to 'completeopt'. (Shougo 5086 Matsu) 5087Files: runtime/doc/options.txt, src/edit.c, src/option.c 5088 5089Patch 7.4.776 5090Problem: Equivalence class for 'd' does not work correctly. 5091Solution: Fix 0x1e0f and 0x1d0b. (Dominique Pelle) 5092Files: src/regexp.c, src/regexp_nfa.c 5093 5094Patch 7.4.777 5095Problem: The README file doesn't look nice on github. 5096Solution: Add a markdown version of the README file. 5097Files: Filelist, README.md 5098 5099Patch 7.4.778 5100Problem: Coverity warns for uninitialized variable. 5101Solution: Change condition of assignment. 5102Files: src/ops.c 5103 5104Patch 7.4.779 5105Problem: Using CTRL-A in a line without a number moves the cursor. May 5106 cause a crash when at the start of the line. (Urtica Dioica) 5107Solution: Do not move the cursor if no number was changed. 5108Files: src/ops.c 5109 5110Patch 7.4.780 5111Problem: Compiler complains about uninitialized variable and clobbered 5112 variables. 5113Solution: Add Initialization. Make variables static. 5114Files: src/ops.c, src/main.c 5115 5116Patch 7.4.781 5117Problem: line2byte() returns one less when 'bin' and 'noeol' are set. 5118Solution: Only adjust the size for the last line. (Rob Wu) 5119Files: src/memline.c 5120 5121Patch 7.4.782 5122Problem: Still a few problems with CTRL-A and CTRL-X in Visual mode. 5123Solution: Fix the reported problems. (Christian Brabandt) 5124Files: src/charset.c, src/eval.c, src/ex_cmds.c, src/ex_getln.c, 5125 src/misc2.c, src/normal.c, src/ops.c, src/option.c, 5126 src/proto/charset.pro, src/testdir/test_increment.in, 5127 src/testdir/test_increment.ok 5128 5129Patch 7.4.783 5130Problem: copy_chars() and copy_spaces() are inefficient. 5131Solution: Use memset() instead. (Dominique Pelle) 5132Files: src/ex_getln.c, src/misc2.c, src/ops.c, src/proto/misc2.pro, 5133 src/screen.c 5134 5135Patch 7.4.784 5136Problem: Using both "noinsert" and "noselect" in 'completeopt' does not 5137 work properly. 5138Solution: Change the ins_complete() calls. (Ozaki Kiichi) 5139Files: src/edit.c 5140 5141Patch 7.4.785 5142Problem: On some systems automatically adding the missing EOL causes 5143 problems. Setting 'binary' has too many side effects. 5144Solution: Add the 'fixeol' option, default on. (Pavel Samarkin) 5145Files: src/buffer.c, src/fileio.c, src/memline.c, src/netbeans.c, 5146 src/ops.c, src/option.c, src/option.h, src/os_unix.c, 5147 src/os_win32.c, src/structs.h, src/testdir/Make_amiga.mak, 5148 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 5149 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms, 5150 src/testdir/Makefile, src/testdir/test_fixeol.in, 5151 src/testdir/test_fixeol.ok, runtime/doc/options.txt, 5152 runtime/optwin.vim 5153 5154Patch 7.4.786 5155Problem: It is not possible for a plugin to adjust to a changed setting. 5156Solution: Add the OptionSet autocommand event. (Christian Brabandt) 5157Files: runtime/doc/autocmd.txt, runtime/doc/eval.txt, src/eval.c, 5158 src/fileio.c, src/option.c, src/proto/eval.pro, 5159 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 5160 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 5161 src/testdir/Make_vms.mms, src/testdir/Makefile, 5162 src/testdir/test_autocmd_option.in, 5163 src/testdir/test_autocmd_option.ok, src/vim.h 5164 5165Patch 7.4.787 (after 7.4.786) 5166Problem: snprintf() isn't available everywhere. 5167Solution: Use vim_snprintf(). (Ken Takata) 5168Files: src/option.c 5169 5170Patch 7.4.788 (after 7.4.787) 5171Problem: Can't build without the crypt feature. (John Marriott) 5172Solution: Add #ifdef's. 5173Files: src/option.c 5174 5175Patch 7.4.789 (after 7.4.788) 5176Problem: Using freed memory and crash. (Dominique Pelle) 5177Solution: Correct use of pointers. (Hirohito Higashi) 5178Files: src/option.c 5179 5180Patch 7.4.790 (after 7.4.786) 5181Problem: Test fails when the autochdir feature is not available. Test 5182 output contains the test script. 5183Solution: Check for the autochdir feature. (Kazunobu Kuriyama) Only write 5184 the relevant test output. 5185Files: src/testdir/test_autocmd_option.in, 5186 src/testdir/test_autocmd_option.ok 5187 5188Patch 7.4.791 5189Problem: The buffer list can be very long. 5190Solution: Add an argument to ":ls" to specify the type of buffer to list. 5191 (Marcin Szamotulski) 5192Files: runtime/doc/windows.txt, src/buffer.c, src/ex_cmds.h 5193 5194Patch 7.4.792 5195Problem: Can only conceal text by defining syntax items. 5196Solution: Use matchadd() to define concealing. (Christian Brabandt) 5197Files: runtime/doc/eval.txt, src/eval.c, src/ex_docmd.c, 5198 src/proto/window.pro, src/screen.c, src/structs.h, 5199 src/testdir/Make_amiga.mak, 5200 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 5201 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms, 5202 src/testdir/Makefile, src/testdir/test_match_conceal.in, 5203 src/testdir/test_match_conceal.ok, src/window.c 5204 5205Patch 7.4.793 5206Problem: Can't specify when not to ring the bell. 5207Solution: Add the 'belloff' option. (Christian Brabandt) 5208Files: runtime/doc/options.txt, src/edit.c, src/ex_getln.c, 5209 src/hangulin.c, src/if_lua.c, src/if_mzsch.c, src/if_tcl.c, 5210 src/message.c, src/misc1.c, src/normal.c, src/option.c, 5211 src/option.h, src/proto/misc1.pro, src/search.c, src/spell.c 5212 5213Patch 7.4.794 5214Problem: Visual Studio 2015 is not recognized. 5215Solution: Add the version numbers to the makefile. (Taro Muraoka) 5216Files: src/Make_mvc.mak 5217 5218Patch 7.4.795 5219Problem: The 'fixeol' option is not copied to a new window. 5220Solution: Copy the option value. (Yasuhiro Matsumoto) 5221Files: src/option.c 5222 5223Patch 7.4.796 5224Problem: Warning from 64 bit compiler. 5225Solution: Add type cast. (Mike Williams) 5226Files: src/ops.c 5227 5228Patch 7.4.797 5229Problem: Crash when using more lines for the command line than 5230 'maxcombine'. 5231Solution: Use the correct array index. Also, do not try redrawing when 5232 exiting. And use screen_Columns instead of Columns. 5233Files: src/screen.c 5234 5235Patch 7.4.798 (after 7.4.753) 5236Problem: Repeating a change in Visual mode does not work as expected. 5237 (Urtica Dioica) 5238Solution: Make redo in Visual mode work better. (Christian Brabandt) 5239Files: src/normal.c, src/testdir/test_listlbr.in, 5240 src/testdir/test_listlbr.ok 5241 5242Patch 7.4.799 5243Problem: Accessing memory before an allocated block. 5244Solution: Check for not going before the start of a pattern. (Dominique 5245 Pelle) 5246Files: src/fileio.c 5247 5248Patch 7.4.800 5249Problem: Using freed memory when triggering CmdUndefined autocommands. 5250Solution: Set pointer to NULL. (Dominique Pelle) 5251Files: src/ex_docmd.c 5252 5253Patch 7.4.801 (after 7.4.769) 5254Problem: Test for ":diffoff" doesn't catch all potential problems. 5255Solution: Add a :diffthis and a :diffoff command. (Olaf Dabrunz) 5256Files: src/testdir/test47.in 5257 5258Patch 7.4.802 5259Problem: Using "A" in Visual mode while 'linebreak' is set is not tested. 5260Solution: Add a test for this, verifies the problem is fixed. (Ingo Karkat) 5261Files: src/testdir/test39.in, src/testdir/test39.ok 5262 5263Patch 7.4.803 5264Problem: C indent does not support C11 raw strings. (Mark Lodato) 5265Solution: Do not change indent inside the raw string. 5266Files: src/search.c, src/misc1.c, src/edit.c, src/ops.c, 5267 src/testdir/test3.in, src/testdir/test3.ok 5268 5269Patch 7.4.804 5270Problem: Xxd doesn't have a license notice. 5271Solution: Add license as indicated by Juergen. 5272Files: src/xxd/xxd.c 5273 5274Patch 7.4.805 5275Problem: The ruler shows "Bot" even when there are only filler lines 5276 missing. (Gary Johnson) 5277Solution: Use "All" when the first line and one filler line are visible. 5278Files: src/buffer.c 5279 5280Patch 7.4.806 5281Problem: CTRL-A in Visual mode doesn't work properly with "alpha" in 5282 'nrformats'. 5283Solution: Make it work. (Christian Brabandt) 5284Files: src/ops.c, src/testdir/test_increment.in, 5285 src/testdir/test_increment.ok 5286 5287Patch 7.4.807 (after 7.4.798) 5288Problem: After CTRL-V CTRL-A mode isn't updated. (Hirohito Higashi) 5289Solution: Clear the command line or update the displayed command. 5290Files: src/normal.c 5291 5292Patch 7.4.808 5293Problem: On MS-Windows 8 IME input doesn't work correctly. 5294Solution: Read console input before calling MsgWaitForMultipleObjects(). 5295 (vim-jp, Nobuhiro Takasaki) 5296Files: src/os_win32.c 5297 5298Patch 7.4.809 (after 7.4.802) 5299Problem: Test is duplicated. 5300Solution: Roll back 7.4.802. 5301Files: src/testdir/test39.in, src/testdir/test39.ok 5302 5303Patch 7.4.810 5304Problem: With a sequence of commands using buffers in diff mode E749 is 5305 given. (itchyny) 5306Solution: Skip unloaded buffer. (Hirohito Higashi) 5307Files: src/diff.c 5308 5309Patch 7.4.811 5310Problem: Invalid memory access when using "exe 'sc'". 5311Solution: Avoid going over the end of the string. (Dominique Pelle) 5312Files: src/ex_docmd.c 5313 5314Patch 7.4.812 5315Problem: Gcc sanitizer complains about using a NULL pointer to memmove(). 5316Solution: Only call memmove when there is something to move. (Vittorio 5317 Zecca) 5318Files: src/memline.c 5319 5320Patch 7.4.813 5321Problem: It is not possible to save and restore character search state. 5322Solution: Add getcharsearch() and setcharsearch(). (James McCoy) 5323Files: runtime/doc/eval.txt, src/eval.c, src/proto/search.pro, 5324 src/search.c, src/testdir/test_charsearch.in, 5325 src/testdir/test_charsearch.ok, src/testdir/Makefile, 5326 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 5327 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 5328 src/testdir/Make_vms.mms 5329 5330Patch 7.4.814 5331Problem: Illegal memory access with "sy match a fold". 5332Solution: Check for empty string. (Dominique Pelle) 5333Files: src/syntax.c 5334 5335Patch 7.4.815 5336Problem: Invalid memory access when doing ":call g:". 5337Solution: Check for an empty name. (Dominique Pelle) 5338Files: src/eval.c 5339 5340Patch 7.4.816 5341Problem: Invalid memory access when doing ":fun X(". 5342Solution: Check for missing ')'. (Dominique Pelle) 5343Files: src/eval.c 5344 5345Patch 7.4.817 5346Problem: Invalid memory access in file_pat_to_reg_pat(). 5347Solution: Use vim_isspace() instead of checking for a space only. (Dominique 5348 Pelle) 5349Files: src/fileio.c 5350 5351Patch 7.4.818 5352Problem: 'linebreak' breaks c% if the last Visual selection was block. 5353 (Chris Morganiser, Issue 389) 5354Solution: Handle Visual block mode differently. (Christian Brabandt) 5355Files: src/normal.c, src/testdir/test_listlbr.in, 5356 src/testdir/test_listlbr.ok 5357 5358Patch 7.4.819 5359Problem: Beeping when running the tests. 5360Solution: Fix 41 beeps. (Roland Eggner) 5361Files: src/testdir/test17.in, src/testdir/test29.in, 5362 src/testdir/test4.in, src/testdir/test61.in, 5363 src/testdir/test82.in, src/testdir/test83.in, 5364 src/testdir/test90.in, src/testdir/test95.in, 5365 src/testdir/test_autoformat_join.in 5366 5367Patch 7.4.820 5368Problem: Invalid memory access in file_pat_to_reg_pat. 5369Solution: Avoid looking before the start of a string. (Dominique Pelle) 5370Files: src/fileio.c 5371 5372Patch 7.4.821 5373Problem: Coverity reports a few problems. 5374Solution: Avoid the warnings. (Christian Brabandt) 5375Files: src/ex_docmd.c, src/option.c, src/screen.c 5376 5377Patch 7.4.822 5378Problem: More problems reported by coverity. 5379Solution: Avoid the warnings. (Christian Brabandt) 5380Files: src/os_unix.c, src/eval.c, src/ex_cmds.c, src/ex_cmds2.c, 5381 src/ex_getln.c, src/fold.c, src/gui.c, src/gui_w16.c, 5382 src/gui_w32.c, src/if_cscope.c, src/if_xcmdsrv.c, src/move.c, 5383 src/normal.c, src/regexp.c, src/syntax.c, src/ui.c, src/window.c 5384 5385Patch 7.4.823 5386Problem: Cursor moves after CTRL-A on alphabetic character. 5387Solution: (Hirohito Higashi, test by Christian Brabandt) 5388Files: src/testdir/test_increment.in, src/testdir/test_increment.ok, 5389 src/ops.c 5390 5391Patch 7.4.824 (after 7.4.813) 5392Problem: Can't compile without the multi-byte feature. (John Marriott) 5393Solution: Add #ifdef. 5394Files: src/eval.c 5395 5396Patch 7.4.825 5397Problem: Invalid memory access for ":syn keyword x a[". 5398Solution: Do not skip over the NUL. (Dominique Pelle) 5399Files: src/syntax.c 5400 5401Patch 7.4.826 5402Problem: Compiler warnings and errors. 5403Solution: Make it build properly without the multi-byte feature. 5404Files: src/eval.c, src/search.c 5405 5406Patch 7.4.827 5407Problem: Not all test targets are in the Makefile. 5408Solution: Add the missing targets. 5409Files: src/Makefile 5410 5411Patch 7.4.828 5412Problem: Crash when using "syn keyword x c". (Dominique Pelle) 5413Solution: Initialize the keyword table. (Raymond Ko, PR 397) 5414Files: src/syntax.c 5415 5416Patch 7.4.829 5417Problem: Crash when clicking in beval balloon. (Travis Lebsock) 5418Solution: Use PostMessage() instead of DestroyWindow(). (Raymond Ko, PR 298) 5419Files: src/gui_w32.c 5420 5421Patch 7.4.830 5422Problem: Resetting 'encoding' when doing ":set all&" causes problems. 5423 (Bjorn Linse) Display is not updated. 5424Solution: Do not reset 'encoding'. Do a full redraw. 5425Files: src/option.c 5426 5427Patch 7.4.831 5428Problem: When expanding `=expr` on the command line and encountering an 5429 error, the command is executed anyway. 5430Solution: Bail out when an error is detected. 5431Files: src/misc1.c 5432 5433Patch 7.4.832 5434Problem: $HOME in `=$HOME . '/.vimrc'` is expanded too early. 5435Solution: Skip over `=expr` when expanding environment names. 5436Files: src/misc1.c 5437 5438Patch 7.4.833 5439Problem: More side effects of ":set all&" are missing. (Björn Linse) 5440Solution: Call didset_options() and add didset_options2() to collect more 5441 side effects to take care of. Still not everything... 5442Files: src/option.c 5443 5444Patch 7.4.834 5445Problem: gettabvar() doesn't work after Vim start. (Szymon Wrozynski) 5446Solution: Handle first window in tab still being NULL. (Christian Brabandt) 5447Files: src/eval.c, src/testdir/test91.in, src/testdir/test91.ok 5448 5449Patch 7.4.835 5450Problem: Comparing utf-8 sequences does not handle different byte sizes 5451 correctly. 5452Solution: Get the byte size of each character. (Dominique Pelle) 5453Files: src/misc2.c 5454 5455Patch 7.4.836 5456Problem: Accessing uninitialized memory. 5457Solution: Add missing calls to init_tv(). (Dominique Pelle) 5458Files: src/eval.c 5459 5460Patch 7.4.837 5461Problem: Compiler warning with MSVC compiler when using +sniff. 5462Solution: Use Sleep() instead of _sleep(). (Tux) 5463Files: src/if_sniff.c 5464 5465Patch 7.4.838 (after 7.4.833) 5466Problem: Can't compile without the crypt feature. (John Marriott) 5467Solution: Add #ifdef. 5468Files: src/option.c 5469 5470Patch 7.4.839 5471Problem: Compiler warning on 64-bit system. 5472Solution: Add cast to int. (Mike Williams) 5473Files: src/search.c 5474 5475Patch 7.4.840 (after 7.4.829) 5476Problem: Tooltip window stays open. 5477Solution: Send a WM_CLOSE message. (Jurgen Kramer) 5478Files: src/gui_w32.c 5479 5480Patch 7.4.841 5481Problem: Can't compile without the multi-byte feature. (John Marriott) 5482Solution: Add more #ifdef's. 5483Files: src/option.c 5484 5485Patch 7.4.842 (after 7.4.840) 5486Problem: Sending too many messages to close the balloon. 5487Solution: Only send a WM_CLOSE message. (Jurgen Kramer) 5488Files: src/gui_w32.c 5489 5490Patch 7.4.843 (after 7.4.835) 5491Problem: Still possible to go beyond the end of a string. 5492Solution: Check for NUL also in second string. (Dominique Pelle) 5493Files: src/misc2.c 5494 5495Patch 7.4.844 5496Problem: When '#' is in 'isident' the is# comparator doesn't work. 5497Solution: Don't use vim_isIDc(). (Yasuhiro Matsumoto) 5498Files: src/eval.c, src/testdir/test_comparators.in, 5499 src/testdir/test_comparators.ok, src/testdir/Makefile, 5500 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 5501 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 5502 src/testdir/Make_vms.mms 5503 5504Patch 7.4.845 5505Problem: Compiler warning for possible loss of data. 5506Solution: Add a type cast. (Erich Ritz) 5507Files: src/misc1.c 5508 5509Patch 7.4.846 5510Problem: Some GitHub users don't know how to use issues. 5511Solution: Add a file that explains the basics of contributing. 5512Files: Filelist, CONTRIBUTING.md 5513 5514Patch 7.4.847 5515Problem: "vi)d" may leave a character behind. 5516Solution: Skip over multi-byte character. (Christian Brabandt) 5517Files: src/search.c 5518 5519Patch 7.4.848 5520Problem: CTRL-A on hex number in Visual block mode is incorrect. 5521Solution: Account for the "0x". (Hirohito Higashi) 5522Files: src/charset.c, src/testdir/test_increment.in, 5523 src/testdir/test_increment.ok 5524 5525Patch 7.4.849 5526Problem: Moving the cursor in Insert mode starts new undo sequence. 5527Solution: Add CTRL-G U to keep the undo sequence for the following cursor 5528 movement command. (Christian Brabandt) 5529Files: runtime/doc/insert.txt, src/edit.c, src/testdir/test_mapping.in, 5530 src/testdir/test_mapping.ok 5531 5532Patch 7.4.850 (after 7.4.846) 5533Problem: <Esc> does not show up. 5534Solution: Use > and <. (Kazunobu Kuriyama) 5535Files: CONTRIBUTING.md 5536 5537Patch 7.4.851 5538Problem: Saving and restoring the console buffer does not work properly. 5539Solution: Instead of ReadConsoleOutputA/WriteConsoleOutputA use 5540 CreateConsoleScreenBuffer and SetConsoleActiveScreenBuffer. 5541 (Ken Takata) 5542Files: src/os_win32.c 5543 5544Patch 7.4.852 5545Problem: On MS-Windows console Vim uses ANSI APIs for keyboard input and 5546 console output, it cannot input/output Unicode characters. 5547Solution: Use Unicode APIs for console I/O. (Ken Takata, Yasuhiro Matsumoto) 5548Files: src/os_win32.c, src/ui.c, runtime/doc/options.txt 5549 5550Patch 7.4.853 5551Problem: "zt" in diff mode does not always work properly. (Gary Johnson) 5552Solution: Don't count filler lines twice. (Christian Brabandt) 5553Files: src/move.c 5554 5555Patch 7.4.854 (after 7.4.850) 5556Problem: Missing information about runtime files. 5557Solution: Add section about runtime files. (Christian Brabandt) 5558Files: CONTRIBUTING.md 5559 5560Patch 7.4.855 5561Problem: GTK: font glitches for combining characters 5562Solution: Use pango_shape_full() instead of pango_shape(). (luchr, PR #393) 5563Files: src/gui_gtk_x11.c 5564 5565Patch 7.4.856 5566Problem: "zt" still doesn't work well with filler lines. (Gary Johnson) 5567Solution: Check for filler lines above the cursor. (Christian Brabandt) 5568Files: src/move.c 5569 5570Patch 7.4.857 5571Problem: Dragging the current tab with the mouse doesn't work properly. 5572Solution: Take the current tabpage index into account. (Hirohito Higashi) 5573Files: src/normal.c 5574 5575Patch 7.4.858 5576Problem: It's a bit clumsy to execute a command on a list of matches. 5577Solution: Add the ":ldo", ":lfdo", ":cdo" and ":cfdo" commands. (Yegappan 5578 Lakshmanan) 5579Files: runtime/doc/cmdline.txt, runtime/doc/editing.txt, 5580 runtime/doc/index.txt, runtime/doc/quickfix.txt, 5581 runtime/doc/tabpage.txt, runtime/doc/windows.txt, src/ex_cmds.h, 5582 src/ex_cmds2.c, src/ex_docmd.c, src/proto/quickfix.pro, 5583 src/quickfix.c, src/testdir/Make_amiga.mak, 5584 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 5585 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms, 5586 src/testdir/Makefile, src/testdir/test_cdo.in, 5587 src/testdir/test_cdo.ok 5588 5589Patch 7.4.859 5590Problem: Vim doesn't recognize all htmldjango files. 5591Solution: Recognize a comment. (Daniel Hahler, PR #410) 5592Files: runtime/filetype.vim 5593 5594Patch 7.4.860 5595Problem: Filetype detection is outdated. 5596Solution: Include all recent and not-so-recent changes. 5597Files: runtime/filetype.vim 5598 5599Patch 7.4.861 (after 7.4.855) 5600Problem: pango_shape_full() is not always available. 5601Solution: Add a configure check. 5602Files: src/configure.in, src/auto/configure, src/config.h.in, 5603 src/gui_gtk_x11.c 5604 5605Patch 7.4.862 (after 7.4.861) 5606Problem: Still problems with pango_shape_full() not available. 5607Solution: Change AC_TRY_COMPILE to AC_TRY_LINK. 5608Files: src/configure.in, src/auto/configure 5609 5610Patch 7.4.863 (after 7.4.856) 5611Problem: plines_nofill() used without the diff feature. 5612Solution: Define PLINES_NOFILL(). 5613Files: src/macros.h, src/move.c 5614 5615Patch 7.4.864 (after 7.4.858) 5616Problem: Tiny build fails. 5617Solution: Put qf_ items inside #ifdef. 5618Files: src/ex_docmd.c 5619 5620Patch 7.4.865 5621Problem: Compiler warning for uninitialized variable. 5622Solution: Initialize. 5623Files: src/ex_cmds2.c 5624 5625Patch 7.4.866 5626Problem: Crash when changing the 'tags' option from a remote command. 5627 (Benjamin Fritz) 5628Solution: Instead of executing messages immediately, use a queue, like for 5629 netbeans. (James Kolb) 5630Files: src/ex_docmd.c, src/getchar.c, src/gui_gtk_x11.c, src/gui_w48.c, 5631 src/gui_x11.c, src/if_xcmdsrv.c, src/misc2.c, src/os_unix.c, 5632 src/proto/if_xcmdsrv.pro, src/proto/misc2.pro, src/macros.h 5633 5634Patch 7.4.867 (after 7.4.866) 5635Problem: Can't build on MS-Windows. (Taro Muraoka) 5636Solution: Adjust #ifdef. 5637Files: src/misc2.c 5638 5639Patch 7.4.868 5640Problem: 'smarttab' is also effective when 'paste' is enabled. (Alexander 5641 Monakov) 5642Solution: Disable 'smarttab' when 'paste' is set. (Christian Brabandt) 5643 Do the same for 'expandtab'. 5644Files: src/option.c, src/structs.h 5645 5646Patch 7.4.869 5647Problem: MS-Windows: scrolling may cause text to disappear when using an 5648 Intel GPU. 5649Solution: Call GetPixel(). (Yohei Endo) 5650Files: src/gui_w48.c 5651 5652Patch 7.4.870 5653Problem: May get into an invalid state when using getchar() in an 5654 expression mapping. 5655Solution: Anticipate mod_mask to change. (idea by Yukihiro Nakadaira) 5656Files: src/getchar.c 5657 5658Patch 7.4.871 5659Problem: Vim leaks memory, when 'wildignore' filters out all matches. 5660Solution: Free the files array when it becomes empty. 5661Files: src/misc1.c 5662 5663Patch 7.4.872 5664Problem: Not using CI services available. 5665Solution: Add configuration files for travis and appveyor. (Ken Takata, 5666 vim-jp, PR #401) 5667Files: .travis.yml, appveyor.yml, Filelist 5668 5669Patch 7.4.873 (after 7.4.866) 5670Problem: Compiler warning for unused variable. (Tony Mechelynck) 5671Solution: Remove the variable. Also fix int vs long_u mixup. 5672Files: src/if_xcmdsrv.c 5673 5674Patch 7.4.874 5675Problem: MS-Windows: When Vim runs inside another application, the size 5676 isn't right. 5677Solution: When in child mode compute the size differently. (Agorgianitis 5678 Loukas) 5679Files: src/gui_w48.c 5680 5681Patch 7.4.875 5682Problem: Not obvious how to contribute. 5683Solution: Add a remark about CONTRIBUTING.md to README.md 5684Files: README.md 5685 5686Patch 7.4.876 5687Problem: Windows7: when using vim.exe with msys or msys2, conhost.exe 5688 (console window provider on Windows7) will freeze or crash. 5689Solution: Make original screen buffer active, before executing external 5690 program. And when the program is finished, revert to vim's one. 5691 (Taro Muraoka) 5692Files: src/os_win32.c 5693 5694Patch 7.4.877 (after 7.4.843) 5695Problem: ":find" sometimes fails. (Excanoe) 5696Solution: Compare current characters instead of previous ones. 5697Files: src/misc2.c 5698 5699Patch 7.4.878 5700Problem: Coverity error for clearing only one byte of struct. 5701Solution: Clear the whole struct. (Dominique Pelle) 5702Files: src/ex_docmd.c 5703 5704Patch 7.4.879 5705Problem: Can't see line numbers in nested function calls. 5706Solution: Add line number to the file name. (Alberto Fanjul) 5707Files: src/eval.c 5708 5709Patch 7.4.880 5710Problem: No build and coverage status. 5711Solution: Add links to the README file. (Christian Brabandt) 5712Files: README.md 5713 5714Patch 7.4.881 (after 7.4.879) 5715Problem: Test 49 fails. 5716Solution: Add line number to check of call stack. 5717Files: src/testdir/test49.vim 5718 5719Patch 7.4.882 5720Problem: When leaving the command line window with CTRL-C while a 5721 completion menu is displayed the menu isn't removed. 5722Solution: Force a screen update. (Hirohito Higashi) 5723Files: src/edit.c 5724 5725Patch 7.4.883 (after 7.4.818) 5726Problem: Block-mode replace works characterwise instead of blockwise after 5727 column 147. (Issue #422) 5728Solution: Set Visual mode. (Christian Brabandt) 5729Files: src/normal.c, src/testdir/test_listlbr.in, 5730 src/testdir/test_listlbr.ok 5731 5732Patch 7.4.884 5733Problem: Travis also builds on a tag push. 5734Solution: Filter out tag pushes. (Kenichi Ito) 5735Files: .travis.yml 5736 5737Patch 7.4.885 5738Problem: When doing an upwards search without wildcards the search fails if 5739 the initial directory doesn't exist. 5740Solution: Fix the non-wildcard case. (Stefan Kempf) 5741Files: src/misc2.c 5742 5743Patch 7.4.886 (after 7.4.876) 5744Problem: Windows7: Switching screen buffer causes flicker when using 5745 system(). 5746Solution: Instead of actually switching screen buffer, duplicate the handle. 5747 (Yasuhiro Matsumoto) 5748Files: src/os_win32.c 5749 5750Patch 7.4.887 5751Problem: Using uninitialized memory for regexp with back reference. 5752 (Dominique Pelle) 5753Solution: Initialize end_lnum. 5754Files: src/regexp_nfa.c 5755 5756Patch 7.4.888 5757Problem: The OptionSet autocommands are not triggered from setwinvar(). 5758Solution: Do not use switch_win() when not needed. (Hirohito Higashi) 5759Files: src/eval.c 5760 5761Patch 7.4.889 5762Problem: Triggering OptionSet from setwinvar() isn't tested. 5763Solution: Add a test. (Christian Brabandt) 5764Files: src/testdir/test_autocmd_option.in, 5765 src/testdir/test_autocmd_option.ok 5766 5767Patch 7.4.890 5768Problem: Build failure when using dynamic python but not python3. 5769Solution: Adjust the #if to also include DYNAMIC_PYTHON3 and UNIX. 5770Files: src/if_python3.c 5771 5772Patch 7.4.891 5773Problem: Indentation of array initializer is wrong. 5774Solution: Avoid that calling find_start_rawstring() changes the position 5775 returned by find_start_comment(), add a test. (Hirohito Higashi) 5776Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok 5777 5778Patch 7.4.892 5779Problem: On MS-Windows the iconv DLL may have a different name. 5780Solution: Also try libiconv2.dll and libiconv-2.dll. (Yasuhiro Matsumoto) 5781Files: src/mbyte.c 5782 5783Patch 7.4.893 5784Problem: C indenting is wrong below a "case (foo):" because it is 5785 recognized as a C++ base class construct. Issue #38. 5786Solution: Check for the case keyword. 5787Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok 5788 5789Patch 7.4.894 5790Problem: vimrun.exe is picky about the number of spaces before -s. 5791Solution: Skip all spaces. (Cam Sinclair) 5792Files: src/vimrun.c 5793 5794Patch 7.4.895 5795Problem: Custom command line completion does not work for a command 5796 containing digits. 5797Solution: Skip over the digits. (suggested by Yasuhiro Matsumoto) 5798Files: src/ex_docmd.c 5799 5800Patch 7.4.896 5801Problem: Editing a URL, which netrw should handle, doesn't work. 5802Solution: Avoid changing slashes to backslashes. (Yasuhiro Matsumoto) 5803Files: src/fileio.c, src/os_mswin.c 5804 5805Patch 7.4.897 5806Problem: Freeze and crash when there is a sleep in a remote command. 5807 (Karl Yngve Lervåg) 5808Solution: Remove a message from the queue before dealing with it. (James 5809 Kolb) 5810Files: src/if_xcmdsrv.c 5811 5812Patch 7.4.898 5813Problem: The 'fixendofline' option is set on with ":edit". 5814Solution: Don't set the option when clearing a buffer. (Yasuhiro Matsumoto) 5815Files: src/buffer.c 5816 5817Patch 7.4.899 5818Problem: README file is not optimal. 5819Solution: Move buttons, update some text. (closes #460) 5820Files: README.txt, README.md 5821 5822Patch 7.4.900 (after 7.4.899) 5823Problem: README file can still be improved 5824Solution: Add a couple of links. (Christian Brabandt) 5825Files: README.md 5826 5827Patch 7.4.901 5828Problem: When a BufLeave autocommand changes folding in a way it syncs 5829 undo, undo can be corrupted. 5830Solution: Prevent undo sync. (Jacob Niehus) 5831Files: src/popupmnu.c 5832 5833Patch 7.4.902 5834Problem: Problems with using the MS-Windows console. 5835Solution: Revert patches 7.4.851, 7.4.876 and 7.4.886 until we find a better 5836 solution. (suggested by Ken Takata) 5837Files: src/os_win32.c 5838 5839Patch 7.4.903 5840Problem: MS-Windows: When 'encoding' differs from the current code page, 5841 expanding wildcards may cause illegal memory access. 5842Solution: Allocate a longer buffer. (Ken Takata) 5843Files: src/misc1.c 5844 5845Patch 7.4.904 5846Problem: Vim does not provide .desktop files. 5847Solution: Include and install .desktop files. (James McCoy, closes #455) 5848Files: Filelist, runtime/vim.desktop, runtime/gvim.desktop, src/Makefile 5849 5850Patch 7.4.905 5851Problem: Python interface can produce error "vim.message' object has no 5852 attribute 'isatty'". 5853Solution: Add dummy isatty(), readable(), etc. (closes #464) 5854Files: src/if_py_both.h, src/testdir/test86.in, src/testdir/test86.ok, 5855 src/testdir/test87.in, src/testdir/test87.ok 5856 5857Patch 7.4.906 5858Problem: On MS-Windows the viminfo file is (always) given the hidden 5859 attribute. (raulnac) 5860Solution: Check the hidden attribute in a different way. (Ken Takata) 5861Files: src/ex_cmds.c, src/os_win32.c, src/os_win32.pro 5862 5863Patch 7.4.907 5864Problem: Libraries for dynamically loading interfaces can only be defined 5865 at compile time. 5866Solution: Add options to specify the dll names. (Kazuki Sakamoto, 5867 closes #452) 5868Files: runtime/doc/if_lua.txt, runtime/doc/if_perl.txt, 5869 runtime/doc/if_pyth.txt, runtime/doc/if_ruby.txt, 5870 runtime/doc/options.txt, src/if_lua.c, src/if_perl.xs, 5871 src/if_python.c, src/if_python3.c, src/if_ruby.c, src/option.c, 5872 src/option.h 5873 5874Patch 7.4.908 (after 7.4.907) 5875Problem: Build error with MingW compiler. (Cesar Romani) 5876Solution: Change #if into #ifdef. 5877Files: src/if_perl.xs 5878 5879Patch 7.4.909 (after 7.4.905) 5880Problem: "make install" fails. 5881Solution: Only try installing desktop files if the destination directory 5882 exists. 5883Files: src/Makefile 5884 5885Patch 7.4.910 (after 7.4.905) 5886Problem: Compiler complains about type punned pointer. 5887Solution: Use another way to increment the ref count. 5888Files: src/if_py_both.h 5889 5890Patch 7.4.911 5891Problem: t_Ce and t_Cs are documented but not supported. (Hirohito Higashi) 5892Solution: Define the options. 5893Files: src/option.c 5894 5895Patch 7.4.912 5896Problem: Wrong indenting for C++ constructor. 5897Solution: Recognize ::. (Anhong) 5898Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok 5899 5900Patch 7.4.913 5901Problem: No utf-8 support for the hangul input feature. 5902Solution: Add utf-8 support. (Namsh) 5903Files: src/gui.c, src/hangulin.c, src/proto/hangulin.pro, src/screen.c, 5904 src/ui.c, runtime/doc/hangulin.txt, src/feature.h 5905 5906Patch 7.4.914 5907Problem: New compiler warning: logical-not-parentheses 5908Solution: Silence the warning. 5909Files: src/term.c 5910 5911Patch 7.4.915 5912Problem: When removing from 'path' and then adding, a comma may go missing. 5913 (Malcolm Rowe) 5914Solution: Fix the check for P_ONECOMMA. (closes #471) 5915Files: src/option.c, src/testdir/test_options.in, 5916 src/testdir/test_options.ok 5917 5918Patch 7.4.916 5919Problem: When running out of memory while copying a dict memory may be 5920 freed twice. (ZyX) 5921Solution: Do not call the garbage collector when running out of memory. 5922Files: src/misc2.c 5923 5924Patch 7.4.917 5925Problem: Compiler warning for comparing signed and unsigned. 5926Solution: Add a type cast. 5927Files: src/hangulin.c 5928 5929Patch 7.4.918 5930Problem: A digit in an option name has problems. 5931Solution: Rename 'python3dll' to 'pythonthreedll'. 5932Files: src/option.c, src/option.h, runtime/doc/options.txt 5933 5934Patch 7.4.919 5935Problem: The dll options are not in the options window. 5936Solution: Add the dll options. And other fixes. 5937Files: runtime/optwin.vim 5938 5939Patch 7.4.920 5940Problem: The rubydll option is not in the options window. 5941Solution: Add the rubydll option. 5942Files: runtime/optwin.vim 5943 5944Patch 7.4.921 (after 7.4.906) 5945Problem: Missing proto file update. (Randall W. Morris) 5946Solution: Add the missing line for mch_ishidden. 5947Files: src/proto/os_win32.pro 5948 5949Patch 7.4.922 5950Problem: Leaking memory with ":helpt {dir-not-exists}". 5951Solution: Free dirname. (Dominique Pelle) 5952Files: src/ex_cmds.c 5953 5954Patch 7.4.923 5955Problem: Prototypes not always generated. 5956Solution: Change #if to OR with PROTO. 5957Files: src/window.c 5958 5959Patch 7.4.924 5960Problem: DEVELOPER_DIR gets reset by configure. 5961Solution: Do not reset DEVELOPER_DIR when there is no --with-developer-dir 5962 argument. (Kazuki Sakamoto, closes #482) 5963Files: src/configure.in, src/auto/configure 5964 5965Patch 7.4.925 5966Problem: User may yank or put using the register being recorded in. 5967Solution: Add the recording register in the message. (Christian Brabandt, 5968 closes #470) 5969Files: runtime/doc/options.txt, runtime/doc/repeat.txt, src/ops.c, 5970 src/option.h, src/screen.c 5971 5972Patch 7.4.926 5973Problem: Completing the longest match doesn't work properly with multi-byte 5974 characters. 5975Solution: When using multi-byte characters use another way to find the 5976 longest match. (Hirohito Higashi) 5977Files: src/ex_getln.c, src/testdir/test_utf8.in, src/testdir/test_utf8.ok 5978 5979Patch 7.4.927 5980Problem: Ruby crashes when there is a runtime error. 5981Solution: Use ruby_options() instead of ruby_process_options(). (Damien) 5982Files: src/if_ruby.c 5983 5984Patch 7.4.928 5985Problem: A clientserver message interrupts handling keys of a mapping. 5986Solution: Have mch_inchar() send control back to WaitForChar when it is 5987 interrupted by server message. (James Kolb) 5988Files: src/os_unix.c 5989 5990Patch 7.4.929 5991Problem: "gv" after paste selects one character less if 'selection' is 5992 "exclusive". 5993Solution: Increment the end position. (Christian Brabandt) 5994Files: src/normal.c, src/testdir/test94.in, src/testdir/test94.ok 5995 5996Patch 7.4.930 5997Problem: MS-Windows: Most users appear not to like the window border. 5998Solution: Remove WS_EX_CLIENTEDGE. (Ian Halliday) 5999Files: src/gui_w32.c 6000 6001Patch 7.4.931 (after 7.4.929) 6002Problem: Test 94 fails on some systems. 6003Solution: Set 'encoding' to utf-8. 6004Files: src/testdir/test94.in 6005 6006Patch 7.4.932 (after 7.4.926) 6007Problem: test_utf8 has confusing dummy command. 6008Solution: Use a real command instead of a colon. 6009Files: src/testdir/test_utf8.in 6010 6011Patch 7.4.933 (after 7.4.926) 6012Problem: Crash when using longest completion match. 6013Solution: Fix array index. 6014Files: src/ex_getln.c 6015 6016Patch 7.4.934 6017Problem: Appveyor also builds on a tag push. 6018Solution: Add a skip_tags line. (Kenichi Ito, closes #489) 6019Files: appveyor.yml 6020 6021Patch 7.4.935 (after 7.4.932) 6022Problem: test_utf8 fails on MS-Windows when executed with gvim. 6023Solution: Use the insert flag on feedkeys() to put the string before the 6024 ":" that was already read when checking for available chars. 6025Files: src/testdir/test_utf8.in 6026 6027Patch 7.4.936 6028Problem: Crash when dragging with the mouse. 6029Solution: Add safety check for NULL pointer. Check mouse position for valid 6030 value. (Hirohito Higashi) 6031Files: src/window.c, src/term.c 6032 6033Patch 7.4.937 6034Problem: Segfault reading uninitialized memory. 6035Solution: Do not read match \z0, it does not exist. (Marius Gedminas, closes 6036 #497) 6037Files: src/regexp_nfa.c 6038 6039Patch 7.4.938 6040Problem: X11 and GTK have more mouse buttons than Vim supports. 6041Solution: Recognize more mouse buttons. (Benoit Pierre, closes #498) 6042Files: src/gui_gtk_x11.c, src/gui_x11.c 6043 6044Patch 7.4.939 6045Problem: Memory leak when encountering a syntax error. 6046Solution: Free the memory. (Dominique Pelle) 6047Files: src/ex_docmd.c 6048 6049Patch 7.4.940 6050Problem: vt52 terminal codes are not correct. 6051Solution: Move entries outside of #if. (Random) Adjustments based on 6052 documented codes. 6053Files: src/term.c 6054 6055Patch 7.4.941 6056Problem: There is no way to ignore case only for tag searches. 6057Solution: Add the 'tagcase' option. (Gary Johnson) 6058Files: runtime/doc/options.txt, runtime/doc/quickref.txt, 6059 runtime/doc/tagsrch.txt, runtime/doc/usr_29.txt, 6060 runtime/optwin.vim, src/Makefile, src/buffer.c, src/option.c, 6061 src/option.h, src/structs.h, src/tag.c, 6062 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 6063 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 6064 src/testdir/Make_vms.mms, src/testdir/Makefile, 6065 src/testdir/test_tagcase.in, src/testdir/test_tagcase.ok 6066 6067Patch 7.4.942 (after 7.4.941) 6068Problem: test_tagcase breaks for small builds. 6069Solution: Bail out of the test early. (Hirohito Higashi) 6070Files: src/testdir/test_tagcase.in 6071 6072Patch 7.4.943 6073Problem: Tests are not run. 6074Solution: Add test_writefile to makefiles. (Ken Takata) 6075Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 6076 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 6077 src/testdir/Make_vms.mms, src/testdir/Makefile 6078 6079Patch 7.4.944 6080Problem: Writing tests for Vim script is hard. 6081Solution: Add assertEqual(), assertFalse() and assertTrue() functions. Add 6082 the v:errors variable. Add the runtest script. Add a first new 6083 style test script. 6084Files: src/eval.c, src/vim.h, src/misc2.c, src/testdir/Makefile, 6085 src/testdir/runtest.vim, src/testdir/test_assert.vim, 6086 runtime/doc/eval.txt 6087 6088Patch 7.4.945 (after 7.4.944) 6089Problem: New style testing is incomplete. 6090Solution: Add the runtest script to the list of distributed files. 6091 Add the new functions to the function overview. 6092 Rename the functions to match Vim function style. 6093 Move undolevels testing into a new style test script. 6094Files: Filelist, runtime/doc/usr_41.txt, runtime/doc/eval.txt, 6095 src/testdir/test_assert.vim, src/testdir/Makefile, 6096 src/testdir/test_undolevels.vim, src/testdir/test100.in, 6097 src/testdir/test100.ok 6098 6099Patch 7.4.946 (after 7.4.945) 6100Problem: Missing changes in source file. 6101Solution: Include changes to the eval.c file. 6102Files: src/eval.c 6103 6104Patch 7.4.947 6105Problem: Test_listchars fails with MingW. (Michael Soyka) 6106Solution: Add the test to the ones that need the fileformat fixed. 6107 (Christian Brabandt) 6108Files: src/testdir/Make_ming.mak 6109 6110Patch 7.4.948 6111Problem: Can't build when the insert_expand feature is disabled. 6112Solution: Add #ifdefs. (Dan Pasanen, closes #499) 6113Files: src/eval.c, src/fileio.c 6114 6115Patch 7.4.949 6116Problem: When using 'colorcolumn' and there is a sign with a fullwidth 6117 character the highlighting is wrong. (Andrew Stewart) 6118Solution: Only increment vcol when in the right state. (Christian Brabandt) 6119Files: src/screen.c, src/testdir/test_listlbr_utf8.in, 6120 src/testdir/test_listlbr_utf8.ok 6121 6122Patch 7.4.950 6123Problem: v:errors is not initialized. 6124Solution: Initialize it to an empty list. (Thinca) 6125Files: src/eval.c 6126 6127Patch 7.4.951 6128Problem: Sorting number strings does not work as expected. (Luc Hermitte) 6129Solution: Add the "N" argument to sort() 6130Files: src/eval.c, runtime/doc/eval.txt, src/testdir/test_alot.vim, 6131 src/testdir/test_sort.vim, src/testdir/Makefile 6132 6133Patch 7.4.952 6134Problem: 'lispwords' is tested in the old way. 6135Solution: Make a new style test for 'lispwords'. 6136Files: src/testdir/test_alot.vim, src/testdir/test_lispwords.vim, 6137 src/testdir/test100.in, src/testdir/test100.ok, 6138 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 6139 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 6140 src/testdir/Make_vms.mms, src/testdir/Makefile 6141 6142Patch 7.4.953 6143Problem: When a test script navigates to another buffer the .res file is 6144 created with the wrong name. 6145Solution: Use the "testname" for the .res file. (Damien) 6146Files: src/testdir/runtest.vim 6147 6148Patch 7.4.954 6149Problem: When using Lua there may be a crash. (issue #468) 6150Solution: Avoid using an uninitialized tv. (Yukihiro Nakadaira) 6151Files: src/if_lua.c 6152 6153Patch 7.4.955 6154Problem: Vim doesn't recognize .pl6 and .pod6 files. 6155Solution: Recognize them as perl6 and pod6. (Mike Eve, closes #511) 6156Files: runtime/filetype.vim 6157 6158Patch 7.4.956 6159Problem: A few more file name extensions not recognized. 6160Solution: Add .asciidoc, .bzl, .gradle, etc. 6161Files: runtime/filetype.vim 6162 6163Patch 7.4.957 6164Problem: Test_tagcase fails when using another language than English. 6165Solution: Set the messages language to C. (Kenichi Ito) 6166Files: src/testdir/test_tagcase.in 6167 6168Patch 7.4.958 6169Problem: Vim checks if the directory "$TMPDIR" exists. 6170Solution: Do not check if the name starts with "$". 6171Files: src/fileio.c 6172 6173Patch 7.4.959 6174Problem: When setting 'term' the clipboard ownership is lost. 6175Solution: Do not call clip_init(). (James McCoy) 6176Files: src/term.c 6177 6178Patch 7.4.960 6179Problem: Detecting every version of nmake is clumsy. 6180Solution: Use a tiny C program to get the version of _MSC_VER. (Ken Takata) 6181Files: src/Make_mvc.mak 6182 6183Patch 7.4.961 6184Problem: Test107 fails in some circumstances. 6185Solution: When using "zt", "zb" and "z=" recompute the fraction. 6186Files: src/normal.c, src/window.c, src/proto/window.pro 6187 6188Patch 7.4.962 6189Problem: Cannot run the tests with gvim. Cannot run individual new tests. 6190Solution: Add the -f flag. Add new test targets in Makefile. 6191Files: src/Makefile, src/testdir/Makefile 6192 6193Patch 7.4.963 6194Problem: test_listlbr_utf8 sometimes fails. 6195Solution: Don't use a literal multibyte character but <C-V>uXXXX. Do not 6196 dump the screen highlighting. (Christian Brabandt, closes #518) 6197Files: src/testdir/test_listlbr_utf8.in, src/testdir/test_listlbr_utf8.ok 6198 6199Patch 7.4.964 6200Problem: Test 87 doesn't work in a shadow directory. 6201Solution: Handle the extra subdirectory. (James McCoy, closes #515) 6202Files: src/testdir/test87.in 6203 6204Patch 7.4.965 6205Problem: On FreeBSD /dev/fd/ files are special. 6206Solution: Use is_dev_fd_file() also for FreeBSD. (Derek Schrock, closes #521) 6207Files: src/fileio.c 6208 6209Patch 7.4.966 6210Problem: Configure doesn't work with a space in a path. 6211Solution: Put paths in quotes. (James McCoy, closes #525) 6212Files: src/configure.in, src/auto/configure 6213 6214Patch 7.4.967 6215Problem: Cross compilation on MS-windows doesn't work well. 6216Solution: Tidy up cross compilation across architectures with Visual Studio. 6217 (Mike Williams) 6218Files: src/Make_mvc.mak 6219 6220Patch 7.4.968 6221Problem: test86 and test87 are flaky in Appveyor. 6222Solution: Reduce the count from 8 to 7. (suggested by ZyX) 6223Files: src/testdir/test86.in, src/testdir/test87.in 6224 6225Patch 7.4.969 6226Problem: Compiler warnings on Windows x64 build. 6227Solution: Add type casts. (Mike Williams) 6228Files: src/option.c 6229 6230Patch 7.4.970 6231Problem: Rare crash in getvcol(). (Timo Mihaljov) 6232Solution: Check for the buffer being NULL in init_preedit_start_col. 6233 (Hirohito Higashi, Christian Brabandt) 6234Files: src/mbyte.c 6235 6236Patch 7.4.971 6237Problem: The asin() function can't be used. 6238Solution: Sort the function table properly. (Watiko) 6239Files: src/eval.c 6240 6241Patch 7.4.972 6242Problem: Memory leak when there is an error in setting an option. 6243Solution: Free the saved value (Christian Brabandt) 6244Files: src/option.c 6245 6246Patch 7.4.973 6247Problem: When pasting on the command line line breaks result in literal 6248 <CR> characters. This makes pasting a long file name difficult. 6249Solution: Skip the characters. 6250Files: src/ex_getln.c, src/ops.c 6251 6252Patch 7.4.974 6253Problem: When using :diffsplit the cursor jumps to the first line. 6254Solution: Put the cursor on the line related to where the cursor was before 6255 the split. 6256Files: src/diff.c 6257 6258Patch 7.4.975 6259Problem: Using ":sort" on a very big file sometimes causes text to be 6260 corrupted. (John Beckett) 6261Solution: Copy the line into a buffer before calling ml_append(). 6262Files: src/ex_cmds.c 6263 6264Patch 7.4.976 6265Problem: When compiling Vim for MSYS2 (linked with msys-2.0.dll), the Win32 6266 clipboard is not enabled. 6267Solution: Recognize MSYS like CYGWIN. (Ken Takata) 6268Files: src/configure.in, src/auto/configure 6269 6270Patch 7.4.977 6271Problem: 'linebreak' does not work properly when using "space" in 6272 'listchars'. 6273Solution: (Hirohito Higashi, Christian Brabandt) 6274Files: src/screen.c, src/testdir/test_listlbr.in, 6275 src/testdir/test_listlbr.ok 6276 6277Patch 7.4.978 6278Problem: test_cdo fails when using another language than English. 6279Solution: Set the language to C. (Dominique Pelle, Kenichi Ito) 6280Files: src/testdir/test_cdo.in 6281 6282Patch 7.4.979 6283Problem: When changing the crypt key the blocks read from disk are not 6284 decrypted. 6285Solution: Also call ml_decrypt_data() when mf_old_key is set. (Ken Takata) 6286Files: src/memfile.c 6287 6288Patch 7.4.980 6289Problem: Tests for :cdo, :ldo, etc. are outdated. 6290Solution: Add new style tests for these commands. (Yegappan Lakshmanan) 6291Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 6292 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 6293 src/testdir/Make_vms.mms, src/testdir/Makefile, 6294 src/testdir/test_cdo.in, src/testdir/test_cdo.ok, 6295 src/testdir/test_cdo.vim 6296 6297Patch 7.4.981 6298Problem: An error in a test script goes unnoticed. 6299Solution: Source the test script inside try/catch. (Hirohito Higashi) 6300Files: src/testdir/runtest.vim 6301 6302Patch 7.4.982 6303Problem: Keeping the list of tests updated is a hassle. 6304Solution: Move the list to a separate file, so that it only needs to be 6305 updated in one place. 6306Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 6307 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 6308 src/testdir/Make_vms.mms, src/testdir/Makefile, 6309 src/testdir/Make_all.mak 6310 6311Patch 7.4.983 6312Problem: Executing one test after "make testclean" doesn't work. 6313Solution: Add a dependency on test1.out. 6314Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 6315 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 6316 src/testdir/Make_vms.mms, src/testdir/Makefile, 6317 src/testdir/Make_all.mak 6318 6319Patch 7.4.984 6320Problem: searchpos() always starts searching in the first column, which is 6321 not what some people expect. (Brett Stahlman) 6322Solution: Add the 'z' flag: start at the specified column. 6323Files: src/vim.h, src/eval.c, src/search.c, 6324 src/testdir/test_searchpos.vim, src/testdir/test_alot.vim, 6325 runtime/doc/eval.txt 6326 6327Patch 7.4.985 6328Problem: Can't build with Ruby 2.3.0. 6329Solution: Use the new TypedData_XXX macro family instead of Data_XXX. Use 6330 TypedData. (Ken Takata) 6331Files: src/if_ruby.c 6332 6333Patch 7.4.986 6334Problem: Test49 doesn't work on MS-Windows. test70 is listed twice. 6335Solution: Move test49 to the group not used on Amiga and MS-Windows. 6336 Remove test70 from SCRIPTS_WIN32. 6337Files: src/testdir/Make_all.mak, src/testdir/Make_dos.mak 6338 6339Patch 7.4.987 (after 7.4.985) 6340Problem: Can't build with Ruby 1.9.2. 6341Solution: Require Rub 2.0 for defining USE_TYPEDDATA. 6342Files: src/if_ruby.c 6343 6344Patch 7.4.988 (after 7.4.982) 6345Problem: Default test target is test49.out. 6346Solution: Add a build rule before including Make_all.mak. 6347Files: src/testdir/Make_dos.mak, src/testdir/Make_amiga.mak, 6348 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 6349 src/testdir/Make_vms.mms, src/testdir/Makefile 6350 6351Patch 7.4.989 6352Problem: Leaking memory when hash_add() fails. Coverity error 99126. 6353Solution: When hash_add() fails free the memory. 6354Files: src/eval.c 6355 6356Patch 7.4.990 6357Problem: Test 86 fails on AppVeyor. 6358Solution: Do some registry magic. (Ken Takata) 6359Files: appveyor.yml 6360 6361Patch 7.4.991 6362Problem: When running new style tests the output is not visible. 6363Solution: Add the testdir/messages file and show it. Update the list of 6364 test names. 6365Files: src/Makefile, src/testdir/Makefile, src/testdir/runtest.vim 6366 6367Patch 7.4.992 6368Problem: Makefiles for MS-Windows in src/po are outdated. 6369Solution: Make them work. (Ken Takata, Taro Muraoka) 6370Files: src/po/Make_cyg.mak, src/po/Make_ming.mak, src/po/Make_mvc.mak, 6371 src/po/README_mingw.txt, src/po/README_mvc.txt 6372 6373Patch 7.4.993 6374Problem: Test 87 is flaky on AppVeyor. 6375Solution: Reduce the minimum background thread count. 6376Files: src/testdir/test86.in, src/testdir/test87.in 6377 6378Patch 7.4.994 6379Problem: New style tests are not run on MS-Windows. 6380Solution: Add the new style tests. 6381Files: src/testdir/Make_dos.mak 6382 6383Patch 7.4.995 6384Problem: gdk_pixbuf_new_from_inline() is deprecated. 6385Solution: Generate auto/gui_gtk_gresources.c. (Kazunobu Kuriyama, 6386 closes #507) 6387Files: src/Makefile, src/auto/configure, src/config.h.in, 6388 src/config.mk.in, src/configure.in, src/gui_gtk.c, 6389 src/gui_gtk_gresources.xml, src/gui_gtk_x11.c, 6390 src/proto/gui_gtk_gresources.pro, 6391 pixmaps/stock_vim_build_tags.png, pixmaps/stock_vim_find_help.png, 6392 pixmaps/stock_vim_save_all.png, 6393 pixmaps/stock_vim_session_load.png, 6394 pixmaps/stock_vim_session_new.png, 6395 pixmaps/stock_vim_session_save.png, pixmaps/stock_vim_shell.png, 6396 pixmaps/stock_vim_window_maximize.png, 6397 pixmaps/stock_vim_window_maximize_width.png, 6398 pixmaps/stock_vim_window_minimize.png, 6399 pixmaps/stock_vim_window_minimize_width.png, 6400 pixmaps/stock_vim_window_split.png, 6401 pixmaps/stock_vim_window_split_vertical.png 6402 6403Patch 7.4.996 6404Problem: New GDK files and testdir/Make_all.mak missing from distribution. 6405 PC build instructions are outdated. 6406Solution: Add the file to the list. Update PC build instructions. 6407Files: Filelist, Makefile 6408 6409Patch 7.4.997 6410Problem: "make shadow" was sometimes broken. 6411Solution: Add a test for it. (James McCoy, closes #520) 6412Files: .travis.yml 6413 6414Patch 7.4.998 6415Problem: Running tests in shadow directory fails. Test 49 fails. 6416Solution: Link more files for the shadow directory. Make test 49 ends up in 6417 the right buffer. 6418Files: src/Makefile, src/testdir/test49.in 6419 6420Patch 7.4.999 6421Problem: "make shadow" creates a broken link. (Tony Mechelynck) 6422Solution: Remove vimrc.unix from the list. 6423Files: src/Makefile 6424 6425Patch 7.4.1000 6426Problem: Test 49 is slow and doesn't work on MS-Windows. 6427Solution: Start moving parts of test 49 to test_viml. 6428Files: src/Makefile, src/testdir/runtest.vim, src/testdir/test_viml.vim, 6429 src/testdir/test49.vim, src/testdir/test49.ok 6430 6431Patch 7.4.1001 (after 7.4.1000) 6432Problem: test_viml isn't run. 6433Solution: Include change in makefile. 6434Files: src/testdir/Make_all.mak 6435 6436Patch 7.4.1002 6437Problem: Cannot run an individual test on MS-Windows. 6438Solution: Move the rule to run test1 downwards. (Ken Takata) 6439Files: src/testdir/Make_dos.mak 6440 6441Patch 7.4.1003 6442Problem: Travis could check a few more things. 6443Solution: Run autoconf on one of the builds. (James McCoy, closes #510) 6444 Also build with normal features. 6445Files: .travis.yml 6446 6447Patch 7.4.1004 6448Problem: Using Makefile when auto/config.mk does not exist results in 6449 warnings. 6450Solution: Use default values for essential variables. 6451Files: src/Makefile 6452 6453Patch 7.4.1005 6454Problem: Vim users are not always happy. 6455Solution: Make them happy. 6456Files: src/ex_cmds.h, src/ex_cmds.c, src/proto/ex_cmds.pro 6457 6458Patch 7.4.1006 6459Problem: The fix in patch 7.3.192 is not tested. 6460Solution: Add a test, one for each regexp engine. (Elias Diem) 6461Files: src/testdir/test44.in, src/testdir/test44.ok, 6462 src/testdir/test99.in, src/testdir/test99.ok 6463 6464Patch 7.4.1007 6465Problem: When a symbolic link points to a file in the root directory, the 6466 swapfile is not correct. 6467Solution: Do not try getting the full name of a file in the root directory. 6468 (Milly, closes #501) 6469Files: src/os_unix.c 6470 6471Patch 7.4.1008 6472Problem: The OS/2 code pollutes the source while nobody uses it these days. 6473Solution: Drop the support for OS/2. 6474Files: src/feature.h, src/globals.h, src/macros.h, src/option.h, 6475 src/os_unix.c, src/os_unix.h, src/proto/os_unix.pro, src/vim.h, 6476 src/digraph.c, src/eval.c, src/ex_cmds.c, src/ex_docmd.c, 6477 src/ex_getln.c, src/fileio.c, src/getchar.c, src/memline.c, 6478 src/misc1.c, src/misc2.c, src/netbeans.c, src/option.c, 6479 src/term.c, src/ui.c, src/window.c, src/os_os2_cfg.h, 6480 src/Make_os2.mak, src/testdir/Make_os2.mak, src/testdir/os2.vim, 6481 src/INSTALL, runtime/doc/os_os2.txt 6482 6483Patch 7.4.1009 6484Problem: There are still #ifdefs for ARCHIE. 6485Solution: Remove references to ARCHIE, the code was removed in Vim 5. 6486Files: src/ex_cmds.c, src/ex_docmd.c, src/fileio.c, src/main.c, 6487 src/memline.c, src/option.c, src/term.c 6488 6489Patch 7.4.1010 6490Problem: Some developers are unhappy while running tests. 6491Solution: Add a test and some color. 6492Files: src/ex_cmds.c, src/testdir/test_assert.vim 6493 6494Patch 7.4.1011 6495Problem: Can't build with Strawberry Perl. 6496Solution: Include stdbool.h. (Ken Takata, closes #328) 6497Files: Filelist, src/Make_mvc.mak, src/if_perl_msvc/stdbool.h 6498 6499Patch 7.4.1012 6500Problem: Vim overwrites the value of $PYTHONHOME. 6501Solution: Do not set $PYTHONHOME if it is already set. (Kazuki Sakamoto, 6502 closes #500) 6503Files: src/if_python.c, src/if_python3.c 6504 6505Patch 7.4.1013 6506Problem: The local value of 'errorformat' is not used for ":lexpr" and 6507 ":cexpr". 6508Solution: Use the local value if it exists. (Christian Brabandt) Adjust the 6509 help for this. 6510Files: runtime/doc/quickfix.txt, src/quickfix.c 6511 6512Patch 7.4.1014 6513Problem: `fnamemodify('.', ':.')` returns an empty string in Cygwin. 6514Solution: Use CCP_RELATIVE in the call to cygwin_conv_path. (Jacob Niehus, 6515 closes #505) 6516Files: src/os_unix.c 6517 6518Patch 7.4.1015 6519Problem: The column is not restored properly when the matchparen plugin is 6520 used in Insert mode and the cursor is after the end of the line. 6521Solution: Set the curswant flag. (Christian Brabandt). Also fix 6522 highlighting the match of the character before the cursor. 6523Files: src/eval.c, runtime/plugin/matchparen.vim 6524 6525Patch 7.4.1016 6526Problem: Still a few OS/2 pieces remain. 6527Solution: Delete more. 6528Files: Filelist, README_os2.txt, testdir/todos.vim, src/xxd/Make_os2.mak 6529 6530Patch 7.4.1017 6531Problem: When there is a backslash in an option ":set -=" doesn't work. 6532Solution: Handle a backslash better. (Jacob Niehus) Add a new test, merge 6533 in old test. 6534Files: src/testdir/test_cdo.vim, src/testdir/test_set.vim, 6535 src/testdir/test_alot.vim, src/option.c, src/testdir/test_set.in, 6536 src/testdir/test_set.ok, src/Makefile 6537 6538Patch 7.4.1018 (after 7.4.1017) 6539Problem: Failure running tests. 6540Solution: Add missing change to list of old style tests. 6541Files: src/testdir/Make_all.mak 6542 6543Patch 7.4.1019 6544Problem: Directory listing of "src" is too long. 6545Solution: Rename the resources file to make it shorter. 6546Files: src/gui_gtk_gresources.xml, src/gui_gtk_res.xml, src/Makefile, 6547 Filelist 6548 6549Patch 7.4.1020 6550Problem: On MS-Windows there is no target to run tests with gvim. 6551Solution: Add the testgvim target. 6552Files: src/Make_mvc.mak 6553 6554Patch 7.4.1021 6555Problem: Some makefiles are outdated. 6556Solution: Add a note to warn developers. 6557Files: src/Make_manx.mak, src/Make_bc3.mak, src/Make_bc5.mak, 6558 src/Make_djg.mak, src/Make_w16.mak 6559 6560Patch 7.4.1022 6561Problem: The README file contains some outdated information. 6562Solution: Update the information about supported systems. 6563Files: README.txt, README.md 6564 6565Patch 7.4.1023 6566Problem: The distribution files for MS-Windows use CR-LF, which is 6567 inconsistent with what one gets from github. 6568Solution: Use LF in the distribution files. 6569Files: Makefile 6570 6571Patch 7.4.1024 6572Problem: Interfaces for MS-Windows are outdated. 6573Solution: Use Python 2.7.10, Python 3.4.4, Perl 5.22, TCL 8.6. 6574Files: src/bigvim.bat 6575 6576Patch 7.4.1025 6577Problem: Version in installer needs to be updated manually. 6578Solution: Generate a file with the version number. (Guopeng Wen) 6579Files: Makefile, nsis/gvim.nsi, nsis/gvim_version.nsh 6580 6581Patch 7.4.1026 6582Problem: When using MingW the tests do not clean up all files. E.g. test 6583 17 leaves Xdir1 behind. (Michael Soyka) 6584Solution: Also delete directories, like Make_dos.mak. Delete files after 6585 directories to reduce warnings. 6586Files: src/testdir/Make_ming.mak, src/testdir/Make_dos.mak 6587 6588Patch 7.4.1027 6589Problem: No support for binary numbers. 6590Solution: Add "bin" to 'nrformats'. (Jason Schulz) 6591Files: runtime/doc/change.txt, runtime/doc/eval.txt, 6592 runtime/doc/version7.txt, src/charset.c, src/eval.c, 6593 src/ex_cmds.c, src/ex_getln.c, src/misc2.c, src/ops.c, 6594 src/option.c, src/proto/charset.pro, src/spell.c, 6595 src/testdir/test57.in, src/testdir/test57.ok, 6596 src/testdir/test58.in, src/testdir/test58.ok, 6597 src/testdir/test_increment.in, src/testdir/test_increment.ok, 6598 src/vim.h 6599 6600Patch 7.4.1028 6601Problem: Nsis version file missing from the distribution. 6602Solution: Add the file to the list. 6603Files: Filelist 6604 6605Patch 7.4.1029 (after 7.4.1027) 6606Problem: test_increment fails on systems with 32 bit long. 6607Solution: Only test with 32 bits. 6608Files: src/testdir/test_increment.in, src/testdir/test_increment.ok 6609 6610Patch 7.4.1030 6611Problem: test49 is still slow. 6612Solution: Move more tests from old to new style. 6613Files: src/testdir/test_viml.vim, src/testdir/test49.vim, 6614 src/testdir/test49.ok, src/testdir/runtest.vim 6615 6616Patch 7.4.1031 6617Problem: Can't build with Python interface using MingW. 6618Solution: Update the Makefile. (Yasuhiro Matsumoto) 6619Files: src/INSTALLpc.txt, src/Make_cyg_ming.mak 6620 6621Patch 7.4.1032 6622Problem: message from assert_false() does not look nice. 6623Solution: Handle missing sourcing_name. Use right number of spaces. (Watiko) 6624 Don't use line number if it's zero. 6625Files: src/eval.c 6626 6627Patch 7.4.1033 6628Problem: Memory use on MS-Windows is very conservative. 6629Solution: Use the global memory status to estimate amount of memory. 6630 (Mike Williams) 6631Files: src/os_win32.c, src/os_win32.h, src/proto/os_win32.pro 6632 6633Patch 7.4.1034 6634Problem: There is no test for the 'backspace' option behavior. 6635Solution: Add a test. (Hirohito Higashi) 6636Files: src/testdir/test_alot.vim, src/testdir/test_backspace_opt.vim 6637 6638Patch 7.4.1035 6639Problem: An Ex range gets adjusted for folded lines even when the range is 6640 not using line numbers. 6641Solution: Only adjust line numbers for folding. (Christian Brabandt) 6642Files: runtime/doc/fold.txt, src/ex_docmd.c 6643 6644Patch 7.4.1036 6645Problem: Only terminals with up to 256 colors work properly. 6646Solution: Use the 256 color behavior for all terminals with 256 or more 6647 colors. (Robert de Bath, closes #504) 6648Files: src/syntax.c 6649 6650Patch 7.4.1037 6651Problem: Using "q!" when there is a modified hidden buffer does not unload 6652 the current buffer, resulting in the need to abandon it again. 6653Solution: When using "q!" unload the current buffer when needed. (Yasuhiro 6654 Matsumoto, Hirohito Higashi) 6655Files: src/testdir/test31.in, src/testdir/test31.ok, 6656 runtime/doc/editing.txt, src/ex_cmds2.c, src/ex_docmd.c, 6657 src/gui.c, src/gui_gtk_x11.c, src/os_unix.c, 6658 src/proto/ex_cmds2.pro 6659 6660Patch 7.4.1038 6661Problem: Still get a warning for a deprecated function with gdk-pixbuf 6662 2.31. 6663Solution: Change minimum minor version from 32 to 31. 6664Files: src/configure.in, src/auto/configure 6665 6666Patch 7.4.1039 (after 7.4.1037) 6667Problem: Test 31 fails with small build. 6668Solution: Bail out for small build. (Hirohito Higashi) 6669Files: src/testdir/test31.in 6670 6671Patch 7.4.1040 6672Problem: The tee command is not available on MS-Windows. 6673Solution: Adjust tee.c for MSVC and add a makefile. (Yasuhiro Matsumoto) 6674Files: src/tee/tee.c, src/tee/Make_mvc.mak, src/Make_mvc.mak 6675 6676Patch 7.4.1041 6677Problem: Various small things. 6678Solution: Add file to list of distributed files. Adjust README. Fix typo. 6679Files: Filelist, src/testdir/README.txt, src/testdir/test_charsearch.in, 6680 src/INSTALLmac.txt 6681 6682Patch 7.4.1042 6683Problem: g-CTRL-G shows the word count, but there is no way to get the word 6684 count in a script. 6685Solution: Add the wordcount() function. (Christian Brabandt) 6686Files: runtime/doc/editing.txt, runtime/doc/eval.txt, 6687 runtime/doc/usr_41.txt, src/eval.c, src/normal.c, src/ops.c, 6688 src/proto/ops.pro, src/testdir/test_wordcount.in, 6689 src/testdir/test_wordcount.ok, src/testdir/Make_all.mak 6690 6691Patch 7.4.1043 6692Problem: Another small thing. 6693Solution: Now really update the Mac install text. 6694Files: src/INSTALLmac.txt 6695 6696Patch 7.4.1044 (after 7.4.1042) 6697Problem: Can't build without the +eval feature. 6698Solution: Add #ifdef. 6699Files: src/ops.c 6700 6701Patch 7.4.1045 6702Problem: Having shadow and coverage on the same build results in the source 6703 files not being available in the coverage view. 6704Solution: Move using shadow to the normal build. 6705Files: .travis.yml 6706 6707Patch 7.4.1046 6708Problem: No test coverage for menus. 6709Solution: Load the standard menus and check there is no error. 6710Files: src/testdir/test_menu.vim, src/testdir/test_alot.vim 6711 6712Patch 7.4.1047 (after patch 7.4.1042) 6713Problem: Tests fail on MS-Windows. 6714Solution: Set 'selection' to inclusive. 6715Files: src/testdir/test_wordcount.in 6716 6717Patch 7.4.1048 (after patch 7.4.1047) 6718Problem: Wordcount test still fail on MS-Windows. 6719Solution: Set 'fileformat' to "unix". 6720Files: src/testdir/test_wordcount.in 6721 6722Patch 7.4.1049 (after patch 7.4.1048) 6723Problem: Wordcount test still fails on MS-Windows. 6724Solution: Set 'fileformats' to "unix". 6725Files: src/testdir/test_wordcount.in 6726 6727Patch 7.4.1050 6728Problem: Warning for unused var with tiny features. (Tony Mechelynck) 6729Solution: Add #ifdef. Use vim_snprintf(). Reduce number of statements. 6730Files: src/ops.c 6731 6732Patch 7.4.1051 6733Problem: Segfault when unletting "count". 6734Solution: Check for readonly and locked first. (Dominique Pelle) 6735 Add a test. 6736Files: src/eval.c, src/testdir/test_alot.vim, src/testdir/test_unlet.vim 6737 6738Patch 7.4.1052 6739Problem: Illegal memory access with weird syntax command. (Dominique Pelle) 6740Solution: Check for column past end of line. 6741Files: src/syntax.c 6742 6743Patch 7.4.1053 6744Problem: Insufficient testing for quickfix commands. 6745Solution: Add a new style quickfix test. (Yegappan Lakshmanan) 6746Files: src/testdir/Make_all.mak, src/testdir/test_quickfix.vim 6747 6748Patch 7.4.1054 6749Problem: Illegal memory access. 6750Solution: Check for missing pattern. (Dominique Pelle) 6751Files: src/syntax.c 6752 6753Patch 7.4.1055 6754Problem: Running "make newtests" in src/testdir has no output. 6755Solution: List the messages file when a test fails. (Christian Brabandt) 6756 Update the list of tests. 6757Files: src/Makefile, src/testdir/Makefile 6758 6759Patch 7.4.1056 6760Problem: Don't know why finding spell suggestions is slow. 6761Solution: Add some code to gather profiling information. 6762Files: src/spell.c 6763 6764Patch 7.4.1057 6765Problem: Typos in the :options window. 6766Solution: Fix the typos. (Dominique Pelle) 6767Files: runtime/optwin.vim 6768 6769Patch 7.4.1058 6770Problem: It is not possible to test code that is only reached when memory 6771 allocation fails. 6772Solution: Add the alloc_fail() function. Try it out with :vimgrep. 6773Files: runtime/doc/eval.txt, src/globals.h, src/eval.c, src/quickfix.c, 6774 src/misc2.c, src/proto/misc2.pro, src/testdir/test_quickfix.vim 6775 6776Patch 7.4.1059 6777Problem: Code will never be executed. 6778Solution: Remove the code. 6779Files: src/quickfix.c 6780 6781Patch 7.4.1060 6782Problem: Instructions for writing tests are outdated. 6783Solution: Mention Make_all.mak. Add steps for new style tests. 6784Files: src/testdir/README.txt 6785 6786Patch 7.4.1061 6787Problem: Compiler warning for ignoring return value of fwrite(). 6788Solution: Do use the return value. (idea: Charles Campbell) 6789Files: src/misc2.c, src/proto/misc2.pro 6790 6791Patch 7.4.1062 6792Problem: Building with Ruby on MS-Windows requires a lot of arguments. 6793Solution: Make it simpler. (Ken Takata) 6794Files: src/Make_cyg_ming.mak, src/Make_mvc.mak 6795 6796Patch 7.4.1063 6797Problem: TCL_VER_LONG and DYNAMIC_TCL_VER are not set when building with 6798 Cygwin and MingW. 6799Solution: Add TCL_VER_LONG and DYNAMIC_TCL_VER to the makefile. (Ken Takata) 6800Files: src/Make_cyg_ming.mak 6801 6802Patch 7.4.1064 6803Problem: When a spell file has single letter compounding creating 6804 suggestions takes an awful long time. 6805Solution: Add the NOCOMPOUNDSUGS flag. 6806Files: runtime/doc/spell.txt, src/spell.c 6807 6808Patch 7.4.1065 6809Problem: Cannot use the "dll" options on MS-Windows. 6810Solution: Support the options on all platforms. Use the built-in name as 6811 the default, so that it's clear what Vim is looking for. 6812Files: src/if_python.c, src/if_python3.c, src/if_lua.c, src/if_perl.xs, 6813 src/if_ruby.c, src/option.c, runtime/doc/options.txt, src/Makefile 6814 6815Patch 7.4.1066 (after 7.4.1065) 6816Problem: Build fails on MS-Windows. 6817Solution: Adjust the #ifdefs for "dll" options. 6818Files: src/option.h 6819 6820Patch 7.4.1067 (after 7.4.1065) 6821Problem: Can't build with MingW and Python on MS-Windows. 6822Solution: Move the build flags to CFLAGS. 6823Files: src/Make_cyg_ming.mak 6824 6825Patch 7.4.1068 6826Problem: Wrong way to check for unletting internal variables. 6827Solution: Use a better way. (Olaf Dabrunz) 6828Files: src/testdir/test_unlet.c, src/eval.c 6829 6830Patch 7.4.1069 6831Problem: Compiler warning for unused argument. 6832Solution: Add UNUSED. 6833Files: src/misc2.c 6834 6835Patch 7.4.1070 6836Problem: The Tcl interface can't be loaded dynamically on Unix. 6837Solution: Make it possible to load it dynamically. (Ken Takata) 6838Files: runtime/doc/if_tcl.txt, runtime/doc/options.txt, 6839 runtime/doc/quickref.txt, runtime/optwin.vim, src/Makefile, 6840 src/config.h.in, src/configure.in, src/auto/configure, 6841 src/if_tcl.c, src/option.c, src/option.h 6842 6843Patch 7.4.1071 6844Problem: New style tests are executed in arbitrary order. 6845Solution: Sort the test function names. (Hirohito Higashi) 6846 Fix the quickfix test that depended on the order. 6847Files: src/testdir/runtest.vim, src/testdir/test_quickfix.vim 6848 6849Patch 7.4.1072 6850Problem: Increment test is old style. 6851Solution: Make the increment test a new style test. (Hirohito Higashi) 6852Files: src/Makefile, src/testdir/Make_all.mak, 6853 src/testdir/test_increment.in, src/testdir/test_increment.ok, 6854 src/testdir/test_increment.vim 6855 6856Patch 7.4.1073 6857Problem: Alloc_id depends on numbers, may use the same one twice. It's not 6858 clear from the number what it's for. 6859Solution: Use an enum. Add a function to lookup the enum value from the 6860 name. 6861Files: src/misc2.c, src/vim.h, src/alloc.h, src/globals.h, 6862 src/testdir/runtest.vim, src/proto/misc2.pro, 6863 src/testdir/test_quickfix.vim 6864 6865Patch 7.4.1074 6866Problem: Warning from VC2015 compiler. 6867Solution: Add a type cast. (Mike Williams) 6868Files: src/gui_dwrite.cpp 6869 6870Patch 7.4.1075 6871Problem: Crash when using an invalid command. 6872Solution: Fix generating the error message. (Dominique Pelle) 6873Files: src/ex_docmd.c 6874 6875Patch 7.4.1076 6876Problem: CTRL-A does not work well in right-left mode. 6877Solution: Remove reversing the line, add a test. (Hirohito Higashi) 6878Files: src/ops.c, src/testdir/test_increment.vim 6879 6880Patch 7.4.1077 6881Problem: The build instructions for MS-Windows are incomplete. 6882Solution: Add explanations for how to build with various interfaces. (Ken 6883 Takata) 6884Files: src/INSTALLpc.txt 6885 6886Patch 7.4.1078 6887Problem: MSVC: "make clean" doesn't cleanup in the tee directory. 6888Solution: Add the commands to cleanup tee. (Erich Ritz) 6889Files: src/Make_mvc.mak 6890 6891Patch 7.4.1079 (after 7.4.1073) 6892Problem: New include file missing from distribution. Missing changes to 6893 quickfix code. 6894Solution: Add alloc.h to the list of distributed files. Use the enum in 6895 quickfix code. 6896Files: Filelist, src/quickfix.c 6897 6898Patch 7.4.1080 6899Problem: VS2015 has a function HandleToLong() that is shadowed by the macro 6900 that Vim defines. 6901Solution: Do not define HandleToLong() for MSVC version 1400 and later. 6902 (Mike Williams) 6903Files: src/gui_w32.c 6904 6905Patch 7.4.1081 6906Problem: No test for what previously caused a crash. 6907Solution: Add test for unletting errmsg. 6908Files: src/testdir/test_unlet.vim 6909 6910Patch 7.4.1082 6911Problem: The Tcl interface is always skipping memory free on exit. 6912Solution: Only skip for dynamically loaded Tcl. 6913Files: src/if_tcl.c 6914 6915Patch 7.4.1083 6916Problem: Building GvimExt with VS2015 may fail. 6917Solution: Adjust the makefile. (Mike Williams) 6918Files: src/GvimExt/Makefile 6919 6920Patch 7.4.1084 6921Problem: Using "." to repeat CTRL-A in Visual mode increments the wrong 6922 numbers. 6923Solution: Append right size to the redo buffer. (Ozaki Kiichi) 6924Files: src/normal.c, src/testdir/test_increment.vim 6925 6926Patch 7.4.1085 6927Problem: The CTRL-A and CTRL-X commands do not update the '[ and '] marks. 6928Solution: (Yukihiro Nakadaira) 6929Files: src/ops.c, src/testdir/test_marks.in, src/testdir/test_marks.ok 6930 6931Patch 7.4.1086 6932Problem: Crash with an extremely long buffer name. 6933Solution: Limit the return value of vim_snprintf(). (Dominique Pelle) 6934Files: src/buffer.c 6935 6936Patch 7.4.1087 6937Problem: CTRL-A and CTRL-X do not work properly with blockwise visual 6938 selection if there is a mix of Tab and spaces. 6939Solution: Add OP_NR_ADD and OP_NR_SUB. (Hirohito Higashi) 6940Files: src/testdir/test_increment.vim, src/normal.c, src/ops.c, 6941 src/proto/ops.pro, src/vim.h 6942 6943Patch 7.4.1088 6944Problem: Coverity warns for uninitialized variables. Only one is an actual 6945 problem. 6946Solution: Move the conditions. Don't use endpos if handling an error. 6947Files: src/ops.c 6948 6949Patch 7.4.1089 6950Problem: Repeating CTRL-A doesn't work. 6951Solution: Call prep_redo_cmd(). (Hirohito Higashi) 6952Files: src/normal.c, src/testdir/test_increment.vim 6953 6954Patch 7.4.1090 6955Problem: No tests for :hardcopy and related options. 6956Solution: Add test_hardcopy. 6957Files: src/testdir/test_hardcopy.vim, src/Makefile, 6958 src/testdir/Make_all.mak 6959 6960Patch 7.4.1091 6961Problem: When making a change while need_wait_return is set there is a two 6962 second delay. 6963Solution: Do not assume the ATTENTION prompt was given when need_wait_return 6964 was set already. 6965Files: src/misc1.c 6966 6967Patch 7.4.1092 6968Problem: It is not simple to test for an exception and give a proper error 6969 message. 6970Solution: Add assert_exception(). 6971Files: src/eval.c, runtime/doc/eval.txt 6972 6973Patch 7.4.1093 6974Problem: Typo in test goes unnoticed. 6975Solution: Fix the typo. Give error for wrong arguments to cursor(). 6976 (partly by Hirohito Higashi) Add a test for cursor(). 6977Files: src/testdir/test_searchpos.vim, src/testdir/test_cursor_func.vim, 6978 src/eval.c, src/testdir/test_alot.vim 6979 6980Patch 7.4.1094 6981Problem: Test for :hardcopy fails on MS-Windows. 6982Solution: Check for the +postscript feature. 6983Files: src/testdir/test_hardcopy.vim 6984 6985Patch 7.4.1095 6986Problem: Can't build GvimExt with SDK 7.1. 6987Solution: Support using setenv.bat instead of vcvars32.bat. (Ken Takata) 6988Files: src/Make_mvc.mak, src/GvimExt/Makefile 6989 6990Patch 7.4.1096 6991Problem: Need several lines to verify a command produces an error. 6992Solution: Add assert_fails(). (suggested by Nikolai Pavlov) 6993 Make the quickfix alloc test actually work. 6994Files: src/testdir/test_quickfix.vim, src/eval.c, runtime/doc/eval.txt, 6995 src/misc2.c, src/alloc.h 6996 6997Patch 7.4.1097 6998Problem: Looking up the alloc ID for tests fails. 6999Solution: Fix the line computation. Use assert_fails() for unlet test. 7000Files: src/testdir/runtest.vim, src/testdir/test_unlet.vim 7001 7002Patch 7.4.1098 7003Problem: Still using old style C function declarations. 7004Solution: Always define __ARGS() to include types. Turn a few functions 7005 into ANSI style to find out if this causes problems for anyone. 7006Files: src/vim.h, src/os_unix.h, src/eval.c, src/main.c 7007 7008Patch 7.4.1099 7009Problem: It's not easy to know if Vim supports blowfish. (Smu Johnson) 7010Solution: Add has('crypt-blowfish') and has('crypt-blowfish2'). 7011Files: src/eval.c 7012 7013Patch 7.4.1100 7014Problem: Cygwin makefiles are unused. 7015Solution: Remove them. 7016Files: src/GvimExt/Make_ming.mak, src/GvimExt/Make_cyg.mak, 7017 src/xxd/Make_ming.mak, src/xxd/Make_cyg.mak 7018 7019Patch 7.4.1101 7020Problem: With 'rightleft' and concealing the cursor may move to the wrong 7021 position. 7022Solution: Compute the column differently when 'rightleft' is set. (Hirohito 7023 Higashi) 7024Files: src/screen.c 7025 7026Patch 7.4.1102 7027Problem: Debugger has no stack backtrace support. 7028Solution: Add "backtrace", "frame", "up" and "down" commands. (Alberto 7029 Fanjul, closes #433) 7030Files: runtime/doc/repeat.txt, src/eval.c, src/ex_cmds2.c, src/globals.h, 7031 src/testdir/Make_all.mak, src/testdir/test108.in, 7032 src/testdir/test108.ok 7033 7034Patch 7.4.1103 (after 7.4.1100) 7035Problem: Removed file still in distribution. 7036Solution: Remove Make_cyg.mak from the list of files. 7037Files: Filelist 7038 7039Patch 7.4.1104 7040Problem: Various problems building with MzScheme/Racket. 7041Solution: Make it work with new versions of Racket. (Yukihiro Nakadaira, Ken 7042 Takata) 7043Files: runtime/doc/if_mzsch.txt, src/INSTALLpc.txt, 7044 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/auto/configure, 7045 src/configure.in, src/if_mzsch.c 7046 7047Patch 7.4.1105 7048Problem: When using slices there is a mixup of variable name and namespace. 7049Solution: Recognize variables that can't be a namespace. (Hirohito Higashi) 7050Files: src/eval.c, src/testdir/test_eval.in, src/testdir/test_eval.ok 7051 7052Patch 7.4.1106 7053Problem: The nsis script can't be used from the appveyor build. 7054Solution: Add "ifndef" to allow for variables to be set from the command 7055 line. Remove duplicate SetCompressor command. Support using other 7056 gettext binaries. (Ken Takata) Update build instructions to use 7057 libintl-8.dll. 7058Files: Makefile, nsis/gvim.nsi, src/os_win32.c, src/proto/os_win32.pro, 7059 src/main.c, os_w32exe.c 7060 7061Patch 7.4.1107 7062Problem: Vim can create a directory but not delete it. 7063Solution: Add an argument to delete() to make it possible to delete a 7064 directory, also recursively. 7065Files: src/fileio.c, src/eval.c, src/proto/fileio.pro, 7066 src/testdir/test_delete.vim, src/testdir/test_alot.vim, 7067 runtime/doc/eval.txt 7068 7069Patch 7.4.1108 7070Problem: Expanding "~" halfway a file name. 7071Solution: Handle the file name as one name. (Marco Hinz) Add a test. 7072 Closes #564. 7073Files: src/testdir/test27.in, src/testdir/test27.ok, 7074 src/testdir/test_expand.vim, src/testdir/test_alot.vim, 7075 src/Makefile, src/misc2.c 7076 7077Patch 7.4.1109 (after 7.4.1107) 7078Problem: MS-Windows doesn't have rmdir(). 7079Solution: Add mch_rmdir(). 7080Files: src/os_win32.c, src/proto/os_win32.pro 7081 7082Patch 7.4.1110 7083Problem: Test 108 fails when language is French. 7084Solution: Force English messages. (Dominique Pelle) 7085Files: src/testdir/test108.in 7086 7087Patch 7.4.1111 7088Problem: test_expand fails on MS-Windows. 7089Solution: Always use forward slashes. Remove references to test27. 7090Files: src/testdir/runtest.vim, src/testdir/test_expand.vim, 7091 src/testdir/Make_dos.mak, src/testdir/Make_all.mak, 7092 src/testdir/Make_amiga.mak, src/testdir/Make_ming.mak 7093 7094Patch 7.4.1112 7095Problem: When using ":next" with an illegal file name no error is reported. 7096Solution: Give an error message. 7097Files: src/ex_cmds2.c 7098 7099Patch 7.4.1113 (after 7.4.1105) 7100Problem: Using {ns} in variable name does not work. (lilydjwg) 7101Solution: Fix recognizing colon. Add a test. 7102Files: src/eval.c, src/testdir/test_viml.vim 7103 7104Patch 7.4.1114 (after 7.4.1107) 7105Problem: delete() does not work well with symbolic links. 7106Solution: Recognize symbolic links. 7107Files: src/eval.c, src/fileio.c, src/os_unix.c, src/proto/os_unix.pro, 7108 src/testdir/test_delete.vim, runtime/doc/eval.txt 7109 7110Patch 7.4.1115 7111Problem: MS-Windows: make clean in testdir doesn't clean everything. 7112Solution: Add command to delete X* directories. (Ken Takata) 7113Files: src/testdir/Make_dos.mak 7114 7115Patch 7.4.1116 7116Problem: delete(x, 'rf') does not delete files starting with a dot. 7117Solution: Also delete files starting with a dot. 7118Files: src/misc1.c, src/fileio.c, src/vim.h 7119 7120Patch 7.4.1117 (after 7.4.1116) 7121Problem: No longer get "." and ".." in directory list. 7122Solution: Do not skip "." and ".." unless EW_DODOT is set. 7123Files: src/misc1.c 7124 7125Patch 7.4.1118 7126Problem: Tests hang in 24 line terminal. 7127Solution: Set the 'more' option off. 7128Files: src/testdir/runtest.vim 7129 7130Patch 7.4.1119 7131Problem: argidx() has a wrong value after ":%argdelete". (Yegappan 7132 Lakshmanan) 7133Solution: Correct the value of w_arg_idx. Add a test. 7134Files: src/ex_cmds2.c, src/testdir/test_arglist.vim, 7135 src/testdir/Make_all.mak 7136 7137Patch 7.4.1120 7138Problem: delete(x, 'rf') fails if a directory is empty. (Lcd) 7139Solution: Ignore not finding matches in an empty directory. 7140Files: src/fileio.c, src/misc1.c, src/vim.h, src/testdir/test_delete.vim 7141 7142Patch 7.4.1121 7143Problem: test_expand leaves files behind. 7144Solution: Edit another file before deleting, otherwise the swap file 7145 remains. 7146Files: src/testdir/test_expand.vim 7147 7148Patch 7.4.1122 7149Problem: Test 92 and 93 fail when using gvim on a system with a non utf-8 7150 locale. 7151Solution: Avoid using .gvimrc by adding -U NONE. (Yukihiro Nakadaira) 7152Files: src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 7153 src/testdir/Make_vms.mms, src/testdir/Makefile 7154 7155Patch 7.4.1123 7156Problem: Using ":argadd" when there are no arguments results in the second 7157 argument to be the current one. (Yegappan Lakshmanan) 7158Solution: Correct the w_arg_idx value. 7159Files: src/ex_cmds2.c, src/testdir/test_arglist.vim 7160 7161Patch 7.4.1124 7162Problem: MS-Windows: dead key behavior is not ideal. 7163Solution: Handle dead keys differently when not in Insert or Select mode. 7164 (John Wellesz, closes #399) 7165Files: src/gui_w48.c 7166 7167Patch 7.4.1125 7168Problem: There is no perleval(). 7169Solution: Add perleval(). (Damien) 7170Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/eval.c, 7171 src/if_perl.xs, src/proto/if_perl.pro, src/testdir/Make_all.mak, 7172 src/testdir/test_perl.vim 7173 7174Patch 7.4.1126 7175Problem: Can only get the directory of the current window. 7176Solution: Add window and tab arguments to getcwd() and haslocaldir(). 7177 (Thinca, Hirohito Higashi) 7178Files: src/Makefile, src/testdir/Make_all.mak, 7179 src/testdir/test_getcwd.in, src/testdir/test_getcwd.ok, 7180 runtime/doc/eval.txt, patching file src/eval.c 7181 7182Patch 7.4.1127 7183Problem: Both old and new style tests for Perl. 7184Solution: Merge the old tests with the new style tests. 7185Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/test_perl.in, 7186 src/testdir/test_perl.ok, src/testdir/test_perl.vim 7187 7188Patch 7.4.1128 7189Problem: MS-Windows: delete() does not recognize junctions. 7190Solution: Add mch_isrealdir() for MS-Windows. Update mch_is_symbolic_link(). 7191 (Ken Takata) 7192Files: src/fileio.c, src/os_win32.c, src/proto/os_win32.pro 7193 7194Patch 7.4.1129 7195Problem: Python None value can't be converted to a Vim value. 7196Solution: Just use zero. (Damien) 7197Files: src/if_py_both.h, src/testdir/test86.in, src/testdir/test86.ok, 7198 src/testdir/test87.in, src/testdir/test87.ok, 7199 7200Patch 7.4.1130 7201Problem: Memory leak in :vimgrep. 7202Solution: Call FreeWild(). (Yegappan Lakshmanan) 7203Files: src/quickfix.c 7204 7205Patch 7.4.1131 7206Problem: New lines in the viminfo file are dropped. 7207Solution: Copy lines starting with "|". Fix that when using :rviminfo in a 7208 function global variables were restored as function-local 7209 variables. 7210Files: src/eval.c, src/structs.h, src/ex_cmds.c, src/misc2.c, 7211 src/proto/misc2.pro, src/testdir/test_viminfo.vim, 7212 src/testdir/Make_all.mak, src/testdir/test74.in, 7213 src/testdir/test74.ok 7214 7215Patch 7.4.1132 7216Problem: Old style tests for the argument list. 7217Solution: Add more new style tests. (Yegappan Lakshmanan) 7218Files: src/testdir/test_arglist.vim, src/testdir/test_argument_0count.in, 7219 src/testdir/test_argument_0count.ok, 7220 src/testdir/test_argument_count.in, src/Makefile, 7221 src/testdir/test_argument_count.ok, src/testdir/Make_all.mak 7222 7223Patch 7.4.1133 7224Problem: Generated function prototypes still have __ARGS(). 7225Solution: Generate function prototypes without __ARGS(). 7226Files: src/Makefile, src/if_ruby.c, src/os_win32.c, 7227 src/proto/blowfish.pro, src/proto/buffer.pro, 7228 src/proto/charset.pro, src/proto/crypt.pro, 7229 src/proto/crypt_zip.pro, src/proto/diff.pro, 7230 src/proto/digraph.pro, src/proto/edit.pro, src/proto/eval.pro, 7231 src/proto/ex_cmds2.pro, src/proto/ex_cmds.pro, 7232 src/proto/ex_docmd.pro, src/proto/ex_eval.pro, 7233 src/proto/ex_getln.pro, src/proto/fileio.pro, src/proto/fold.pro, 7234 src/proto/getchar.pro, src/proto/gui_athena.pro, 7235 src/proto/gui_beval.pro, src/proto/gui_gtk_gresources.pro, 7236 src/proto/gui_gtk.pro, src/proto/gui_gtk_x11.pro, 7237 src/proto/gui_mac.pro, src/proto/gui_motif.pro, 7238 src/proto/gui_photon.pro, src/proto/gui.pro, 7239 src/proto/gui_w16.pro, src/proto/gui_w32.pro, 7240 src/proto/gui_x11.pro, src/proto/gui_xmdlg.pro, 7241 src/proto/hangulin.pro, src/proto/hardcopy.pro, 7242 src/proto/hashtab.pro, src/proto/if_cscope.pro, 7243 src/proto/if_lua.pro, src/proto/if_mzsch.pro, 7244 src/proto/if_ole.pro, src/proto/if_perl.pro, 7245 src/proto/if_perlsfio.pro, src/proto/if_python3.pro, 7246 src/proto/if_python.pro, src/proto/if_ruby.pro, 7247 src/proto/if_tcl.pro, src/proto/if_xcmdsrv.pro, 7248 src/proto/main.pro, src/proto/mark.pro, src/proto/mbyte.pro, 7249 src/proto/memfile.pro, src/proto/memline.pro, src/proto/menu.pro, 7250 src/proto/message.pro, src/proto/misc1.pro, src/proto/misc2.pro, 7251 src/proto/move.pro, src/proto/netbeans.pro, src/proto/normal.pro, 7252 src/proto/ops.pro, src/proto/option.pro, src/proto/os_amiga.pro, 7253 src/proto/os_beos.pro, src/proto/os_mac_conv.pro, 7254 src/proto/os_msdos.pro, src/proto/os_mswin.pro, 7255 src/proto/os_qnx.pro, src/proto/os_unix.pro, src/proto/os_vms.pro, 7256 src/proto/os_win16.pro, src/proto/os_win32.pro, 7257 src/proto/popupmnu.pro, src/proto/pty.pro, src/proto/quickfix.pro, 7258 src/proto/regexp.pro, src/proto/screen.pro, src/proto/search.pro, 7259 src/proto/sha256.pro, src/proto/spell.pro, src/proto/syntax.pro, 7260 src/proto/tag.pro, src/proto/termlib.pro, src/proto/term.pro, 7261 src/proto/ui.pro, src/proto/undo.pro, src/proto/version.pro, 7262 src/proto/winclip.pro, src/proto/window.pro, 7263 src/proto/workshop.pro 7264 7265Patch 7.4.1134 7266Problem: The arglist test fails on MS-Windows. 7267Solution: Only check for failure of argedit on Unix. 7268Files: src/testdir/test_arglist.vim 7269 7270Patch 7.4.1135 7271Problem: One more arglist test fails on MS-Windows. 7272Solution: Don't edit "Y" after editing "y". 7273Files: src/testdir/test_arglist.vim 7274 7275Patch 7.4.1136 7276Problem: Wrong argument to assert_exception() causes a crash. (reported by 7277 Coverity) 7278Solution: Check for NULL pointer. Add a test. 7279Files: src/eval.c, src/testdir/test_assert.vim 7280 7281Patch 7.4.1137 7282Problem: Illegal memory access when using :copen and :cclose. 7283Solution: Avoid that curbuf is invalid. (suggestion by Justin M. Keyes) 7284 Add a test. 7285Files: src/window.c, src/testdir/test_quickfix.vim 7286 7287Patch 7.4.1138 7288Problem: When running gvim in the foreground some icons are missing. 7289 (Taylor Venable) 7290Solution: Move the call to gui_gtk_register_resource(). (Kazunobu Kuriyama) 7291Files: src/gui_gtk_x11.c 7292 7293Patch 7.4.1139 7294Problem: MS-Windows: getftype() returns "file" for symlink to directory. 7295Solution: Make it return "dir". (Ken Takata) 7296Files: src/os_mswin.c 7297 7298Patch 7.4.1140 7299Problem: Recognizing <sid> does not work when the language is Turkish. 7300 (Christian Brabandt) 7301Solution: Use MB_STNICMP() instead of STNICMP(). 7302Files: src/eval.c 7303 7304Patch 7.4.1141 7305Problem: Using searchpair() with a skip expression that uses syntax 7306 highlighting sometimes doesn't work. (David Fishburn) 7307Solution: Reset next_match_idx. (Christian Brabandt) 7308Files: src/syntax.c 7309 7310Patch 7.4.1142 7311Problem: Cannot define keyword characters for a syntax file. 7312Solution: Add the ":syn iskeyword" command. (Christian Brabandt) 7313Files: runtime/doc/options.txt, runtime/doc/syntax.txt, src/buffer.c, 7314 src/option.c, src/structs.h, src/syntax.c, 7315 src/testdir/Make_all.mak, src/testdir/test_syntax.vim 7316 7317Patch 7.4.1143 7318Problem: Can't sort on floating point numbers. 7319Solution: Add the "f" flag to ":sort". (Alex Jakushev) Also add the "f" 7320 flag to sort(). 7321Files: runtime/doc/change.txt, src/ex_cmds.c, src/testdir/test_sort.vim, 7322 src/testdir/test57.in, src/testdir/test57.ok, src/eval.c 7323 7324Patch 7.4.1144 (after 7.4.1143) 7325Problem: Can't build on several systems. 7326Solution: Include float.h. (Christian Robinson, closes #570 #571) 7327Files: src/ex_cmds.c 7328 7329Patch 7.4.1145 7330Problem: Default features are conservative. 7331Solution: Make the default feature set for most of today's systems "huge". 7332Files: src/feature.h, src/configure.in, src/auto/configure 7333 7334Patch 7.4.1146 7335Problem: Can't build with Python 3 interface using MingW. 7336Solution: Update the Makefile. (Yasuhiro Matsumoto, Ken Takata) 7337Files: src/Make_cyg_ming.mak 7338 7339Patch 7.4.1147 7340Problem: Conflict for "chartab". (Kazunobu Kuriyama) 7341Solution: Rename the global one to something less obvious. Move it into 7342 src/chartab.c. 7343Files: src/macros.h, src/globals.h, src/charset.c, src/main.c, 7344 src/option.c, src/screen.c, src/vim.h 7345 7346Patch 7.4.1148 7347Problem: Default for MingW and Cygwin is still "normal". 7348Solution: Use "huge" as default. (Ken Takata) 7349Files: src/Make_cyg_ming.mak, src/Make_mvc.mak 7350 7351Patch 7.4.1149 (after 7.4.1013) 7352Problem: Using the local value of 'errorformat' causes more problems than 7353 it solves. 7354Solution: Revert 7.4.1013. 7355Files: runtime/doc/quickfix.txt, src/quickfix.c 7356 7357Patch 7.4.1150 7358Problem: 'langmap' applies to the first character typed in Select mode. 7359 (David Watson) 7360Solution: Check for SELECTMODE. (Christian Brabandt, closes #572) 7361 Add the 'x' flag to feedkeys(). 7362Files: src/getchar.c, src/normal.c, src/testdir/test_langmap.vim, 7363 src/ex_docmd.c, src/proto/ex_docmd.pro, src/testdir/Make_all.mak, 7364 runtime/doc/eval.txt 7365 7366Patch 7.4.1151 (after 7.4.1150) 7367Problem: Missing change to eval.c 7368Solution: Also change feedkeys(). 7369Files: src/eval.c 7370 7371Patch 7.4.1152 7372Problem: Langmap test fails with normal build. 7373Solution: Check for +langmap feature. 7374Files: src/testdir/test_langmap.vim 7375 7376Patch 7.4.1153 7377Problem: Autocommands triggered by quickfix cannot always get the current 7378 title value. 7379Solution: Call qf_fill_buffer() later. (Christian Brabandt) 7380Files: src/quickfix.c, src/testdir/test_quickfix.vim 7381 7382Patch 7.4.1154 7383Problem: No support for JSON. 7384Solution: Add jsonencode() and jsondecode(). Also add v:false, v:true, 7385 v:null and v:none. 7386Files: src/json.c, src/eval.c, src/proto.h, src/structs.h, src/vim.h, 7387 src/if_lua.c, src/if_mzsch.c, src/if_ruby.c, src/if_py_both.h, 7388 src/globals.h, src/Makefile, src/Make_bc3.mak, src/Make_bc5.mak, 7389 src/Make_cyg_ming.mak, src/Make_dice.mak, src/Make_ivc.mak, 7390 src/Make_manx.mak, src/Make_morph.mak, src/Make_mvc.mak, 7391 src/Make_sas.mak, src/Make_vms.mms, src/proto/json.pro, 7392 src/proto/eval.pro, src/testdir/test_json.vim, 7393 src/testdir/test_alot.vim, Filelist, runtime/doc/eval.txt 7394 7395Patch 7.4.1155 7396Problem: Build with normal features fails. 7397Solution: Always define dict_lookup(). 7398Files: src/eval.c 7399 7400Patch 7.4.1156 7401Problem: Coverity warns for NULL pointer and ignoring return value. 7402Solution: Check for NULL pointer. When dict_add() returns FAIL free the item. 7403Files: src/json.c 7404 7405Patch 7.4.1157 7406Problem: type() does not work for v:true, v:none, etc. 7407Solution: Add new type numbers. 7408Files: src/eval.c, src/testdir/test_json.vim, src/testdir/test_viml.vim 7409 7410Patch 7.4.1158 7411Problem: Still using __ARGS(). 7412Solution: Remove __ARGS() from eval.c 7413Files: src/eval.c 7414 7415Patch 7.4.1159 7416Problem: Automatically generated function prototypes use __ARGS. 7417Solution: Remove __ARGS from osdef.sh. 7418Files: src/osdef.sh, src/osdef1.h.in, src/osdef2.h.in 7419 7420Patch 7.4.1160 7421Problem: No error for jsondecode('"'). 7422Solution: Give an error message for missing double quote. 7423Files: src/json.c 7424 7425Patch 7.4.1161 7426Problem: ":argadd" without argument is supposed to add the current buffer 7427 name to the arglist. 7428Solution: Make it work as documented. (Coot, closes #577) 7429Files: src/ex_cmds.h, src/ex_cmds2.c, src/testdir/test_arglist.vim 7430 7431Patch 7.4.1162 7432Problem: Missing error number in MzScheme. (Dominique Pelle) 7433Solution: Add a proper error number. 7434Files: src/if_mzsch.c 7435 7436Patch 7.4.1163 7437Problem: Expressions "0 + v:true" and "'' . v:true" cause an error. 7438Solution: Return something sensible when using a special variable as a 7439 number or as a string. (suggested by Damien) 7440Files: src/eval.c, src/testdir/test_viml.vim 7441 7442Patch 7.4.1164 7443Problem: No tests for comparing special variables. Error in jsondecode() 7444 not reported. test_json does not work with Japanese system. 7445Solution: Set scriptencoding. (Ken Takata) Add a few more tests. Add error. 7446Files: src/json.c, src/testdir/test_viml.vim, src/testdir/test_json.vim 7447 7448Patch 7.4.1165 7449Problem: When defining DYNAMIC_ICONV_DLL in the makefile, the build fails. 7450Solution: Add #ifdef's. (Taro Muraoka) Try the newer version first. 7451Files: src/mbyte.c, src/os_win32.c 7452 7453Patch 7.4.1166 7454Problem: Can't encode a Funcref into JSON. jsonencode() doesn't handle the 7455 same list or dict twice properly. (Nikolai Pavlov) 7456Solution: Give an error. Reset copyID when the list or dict is finished. 7457Files: src/json.c, src/proto/json.pro, src/testdir/test_json.vim 7458 7459Patch 7.4.1167 7460Problem: No tests for "is" and "isnot" with the new variables. 7461Solution: Add tests. 7462Files: src/testdir/test_viml.vim 7463 7464Patch 7.4.1168 7465Problem: This doesn't give the right result: eval(string(v:true)). (Nikolai 7466 Pavlov) 7467Solution: Make the string "v:true" instead of "true". 7468Files: src/eval.c, src/testdir/test_viml.vim 7469 7470Patch 7.4.1169 7471Problem: The socket I/O is intertwined with the netbeans code. 7472Solution: Start refactoring the netbeans communication to split off the 7473 socket I/O. Add the +channel feature. 7474Files: src/channel.c, src/netbeans.c, src/proto/channel.pro, 7475 src/proto/netbeans.pro, src/proto/gui_w32.pro, src/gui_w32.c, 7476 src/eval.c, src/os_mswin.c, src/ui.c, src/macros.h, Makefile, 7477 src/proto.h, src/feature.h, src/os_unix.c, src/vim.h, 7478 src/configure.in, src/auto/configure, src/config.mk.in, 7479 src/config.aap.in, src/config.h.in, src/Make_bc5.mak, 7480 src/Make_cyg_ming.mak, src/Make_mvc.mak 7481 7482Patch 7.4.1170 (after 7.4.1169) 7483Problem: Missing changes in src/Makefile, Filelist. 7484Solution: Add the missing changes. 7485Files: Filelist, src/Makefile 7486 7487Patch 7.4.1171 7488Problem: Makefile dependencies are outdated. 7489Solution: Run "make depend". Add GTK resource dependencies. 7490Files: src/Makefile 7491 7492Patch 7.4.1172 (after 7.4.1169) 7493Problem: Configure is overly positive. 7494Solution: Insert "test". 7495Files: src/configure.in, src/auto/configure 7496 7497Patch 7.4.1173 (after 7.4.1168) 7498Problem: No test for new behavior of v:true et al. 7499Solution: Add a test. 7500Files: src/testdir/test_viml.vim 7501 7502Patch 7.4.1174 7503Problem: Netbeans contains dead code inside #ifndef INIT_SOCKETS. 7504Solution: Remove the dead code. 7505Files: src/netbeans.c 7506 7507Patch 7.4.1175 (after 7.4.1169) 7508Problem: Can't build with Mingw and Cygwin. 7509Solution: Remove extra "endif". (Christian J. Robinson) 7510Files: src/Make_cyg_ming.mak 7511 7512Patch 7.4.1176 7513Problem: Missing change to proto file. 7514Solution: Update the proto file. (Charles Cooper) 7515Files: src/proto/gui_w32.pro 7516 7517Patch 7.4.1177 7518Problem: The +channel feature is not in :version output. (Tony Mechelynck) 7519Solution: Add the feature string. 7520Files: src/version.c 7521 7522Patch 7.4.1178 7523Problem: empty() doesn't work for the new special variables. 7524Solution: Make empty() work. (Damien) 7525Files: src/eval.c, src/testdir/test_viml.vim 7526 7527Patch 7.4.1179 7528Problem: test_writefile and test_viml do not delete the tempfile. 7529Solution: Delete the tempfile. (Charles Cooper) Add DeleteTheScript(). 7530Files: src/testdir/test_writefile.in, src/testdir/test_viml.vim 7531 7532Patch 7.4.1180 7533Problem: Crash with invalid argument to glob2regpat(). 7534Solution: Check for NULL. (Justin M. Keyes, closes #596) Add a test. 7535Files: src/eval.c, src/testdir/test_glob2regpat.vim, 7536 src/testdir/test_alot.vim 7537 7538Patch 7.4.1181 7539Problem: free_tv() can't handle special variables. (Damien) 7540Solution: Add the variable type. 7541Files: src/eval.c, src/testdir/test_viml.vim 7542 7543Patch 7.4.1182 7544Problem: Still socket code intertwined with netbeans. 7545Solution: Move code from netbeans.c to channel.c 7546Files: src/channel.c, src/netbeans.c, src/proto/channel.pro, 7547 src/proto/netbeans.pro, src/gui.c, src/gui_w48.c 7548 7549Patch 7.4.1183 (after 7.4.1182) 7550Problem: MS-Windows build is broken. 7551Solution: Remove init in wrong place. 7552Files: src/channel.c 7553 7554Patch 7.4.1184 (after 7.4.1182) 7555Problem: MS-Windows build is still broken. 7556Solution: Change nbsock to ch_fd. 7557Files: src/channel.c 7558 7559Patch 7.4.1185 7560Problem: Can't build with TCL on some systems. 7561Solution: Rename the channel_ functions. 7562Files: src/if_tcl.c 7563 7564Patch 7.4.1186 7565Problem: Error messages for security context are hard to translate. 7566Solution: Use one string with %s. (Ken Takata) 7567Files: src/os_unix.c 7568 7569Patch 7.4.1187 7570Problem: MS-Windows channel code only supports one channel. Doesn't build 7571 without netbeans support. 7572Solution: Get the channel index from the socket in the message. Closes #600. 7573Files: src/channel.c, src/netbeans.c, src/gui_w48.c, 7574 src/proto/channel.pro, src/proto/netbeans.pro 7575 7576Patch 7.4.1188 7577Problem: Using older JSON standard. 7578Solution: Update the link. Adjust the text a bit. 7579Files: src/json.c, runtime/doc/eval.txt 7580 7581Patch 7.4.1189 (after 7.4.1165) 7582Problem: Using another language on MS-Windows does not work. (Yongwei Wu) 7583Solution: Undo the change to try loading libintl-8.dll first. 7584Files: src/os_win32.c 7585 7586Patch 7.4.1190 7587Problem: On OSX the default flag for dlopen() is different. 7588Solution: Add RTLD_LOCAL in the configure check. (sv99, closes #604) 7589Files: src/configure.in, src/auto/configure 7590 7591Patch 7.4.1191 7592Problem: The channel feature isn't working yet. 7593Solution: Add the connect(), disconnect(), sendexpr() and sendraw() 7594 functions. Add initial documentation. Add a demo server. 7595Files: src/channel.c, src/eval.c, src/proto/channel.pro, 7596 src/proto/eval.pro, runtime/doc/channel.txt, runtime/doc/eval.txt, 7597 runtime/doc/Makefile, runtime/tools/demoserver.py 7598 7599Patch 7.4.1192 7600Problem: Can't build with FEAT_EVAL but without FEAT_MBYTE. (John 7601 Marriott) 7602Solution: Add #ifdef for FEAT_MBYTE. 7603Files: src/json.c 7604 7605Patch 7.4.1193 7606Problem: Can't build the channel feature on MS-Windows. 7607Solution: Add #ifdef HAVE_POLL. 7608Files: src/channel.c 7609 7610Patch 7.4.1194 7611Problem: Compiler warning for not using return value of fwrite(). 7612Solution: Return OK/FAIL. (Charles Campbell) 7613Files: src/channel.c, src/proto/channel.pro 7614 7615Patch 7.4.1195 7616Problem: The channel feature does not work in the MS-Windows console. 7617Solution: Add win32 console support. (Yasuhiro Matsumoto) 7618Files: src/channel.c, src/gui_w32.c, src/os_mswin.c, src/os_win32.c, 7619 src/proto/gui_w32.pro, src/proto/os_mswin.pro, src/vim.h 7620 7621Patch 7.4.1196 7622Problem: Still using __ARGS. 7623Solution: Remove __ARGS in several files. (script by Hirohito Higashi) 7624Files: src/arabic.c, src/buffer.c, src/charset.c, src/crypt_zip.c, 7625 src/diff.c, src/digraph.c, src/edit.c, src/ex_cmds.c, 7626 src/ex_cmds2.c, src/ex_docmd.c 7627 7628Patch 7.4.1197 7629Problem: Still using __ARGS. 7630Solution: Remove __ARGS in several files. (script by Hirohito Higashi) 7631Files: src/ex_eval.c, src/ex_getln.c, src/farsi.c, src/fileio.c, 7632 src/fold.c, src/getchar.c, src/gui.c, src/gui_at_fs.c, 7633 src/gui_at_sb.c, src/gui_athena.c, src/gui_beval.c, 7634 src/gui_motif.c, src/gui_w32.c, src/gui_w48.c 7635 7636Patch 7.4.1198 7637Problem: Still using __ARGS. 7638Solution: Remove __ARGS in several files. (script by Hirohito Higashi) 7639 Also remove use of HAVE_STDARG_H. 7640Files: src/gui_x11.c, src/hangulin.c, src/hardcopy.c, src/hashtab.c, 7641 src/if_cscope.c, src/if_python3.c, src/if_sniff.c, 7642 src/if_xcmdsrv.c, src/main.c, src/mark.c, src/mbyte.c, 7643 src/memfile.c, src/memfile_test.c, src/memline.c, src/menu.c, 7644 src/message.c, src/misc1.c, src/misc2.c, src/move.c, 7645 src/netbeans.c, src/normal.c 7646 7647Patch 7.4.1199 7648Problem: Still using __ARGS. 7649Solution: Remove __ARGS in several files. (script by Hirohito Higashi) 7650Files: src/ops.c, src/option.c, src/os_amiga.c, src/os_mac_conv.c, 7651 src/os_unix.c, src/os_vms.c, src/os_w32exe.c, src/popupmnu.c, 7652 src/pty.c, src/quickfix.c, src/regexp.c, src/regexp_nfa.c, 7653 src/screen.c, src/search.c, src/sha256.c, src/spell.c, 7654 src/syntax.c, src/tag.c, src/term.c, src/termlib.c, src/ui.c, 7655 src/undo.c, src/version.c, src/window.c 7656 7657Patch 7.4.1200 7658Problem: Still using __ARGS. 7659Solution: Remove __ARGS in several files. (script by Hirohito Higashi) 7660Files: src/blowfish.c, src/ex_cmds2.c, src/ex_getln.c, src/fold.c, 7661 src/gui_beval.c, src/gui_w32.c, src/os_unix.c, src/os_win16.c, 7662 src/pty.c, src/regexp.c, src/syntax.c, src/xpm_w32.c, 7663 src/ex_cmds.h, src/globals.h, src/gui_at_sb.h, src/gui_beval.h, 7664 src/if_cscope.h, src/if_sniff.h, src/nbdebug.h, src/os_unix.h, 7665 src/proto.h, src/structs.h, src/vim.h, src/xpm_w32.h, 7666 src/if_perl.xs, src/proto/if_lua.pro, src/proto/pty.pro, 7667 runtime/tools/xcmdsrv_client.c, 7668 src/Makefile 7669 7670Patch 7.4.1201 7671Problem: One more file still using __ARGS. 7672Solution: Remove __ARGS in the last file. (script by Hirohito Higashi) 7673Files: src/gui_at_sb.c 7674 7675Patch 7.4.1202 7676Problem: Still one more file still using __ARGS. 7677Solution: Remove __ARGS in the last file. (script by Hirohito Higashi) 7678 (closes #612) 7679Files: src/proto/os_mac_conv.pro, src/os_mac_conv.c, src/Makefile 7680 7681Patch 7.4.1203 7682Problem: Still more files still using __ARGS. 7683Solution: Remove __ARGS in really the last files. 7684Files: src/proto/if_mzsch.pro, src/if_mzsch.c, src/vim.h, 7685 src/proto/gui_gtk_gresources.pro, src/proto/gui_mac.pro, 7686 src/proto/if_ole.pro, src/proto/os_qnx.pro, src/Makefile 7687 7688Patch 7.4.1204 7689Problem: Latin1 characters cause encoding conversion. 7690Solution: Remove the characters. 7691Files: src/gui_motif.c 7692 7693Patch 7.4.1205 7694Problem: Using old style function declarations. 7695Solution: Change to new style function declarations. (script by Hirohito 7696 Higashi) 7697Files: src/arabic.c, src/blowfish.c, src/buffer.c, src/channel.c, 7698 src/charset.c, src/crypt.c, src/crypt_zip.c, src/diff.c, 7699 src/digraph.c, src/edit.c, src/eval.c 7700 7701Patch 7.4.1206 7702Problem: Using old style function declarations. 7703Solution: Change to new style function declarations. (script by Hirohito 7704 Higashi) 7705Files: src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, src/ex_eval.c, 7706 src/ex_getln.c, src/farsi.c, src/fileio.c 7707 7708Patch 7.4.1207 7709Problem: Using old style function declarations. 7710Solution: Change to new style function declarations. (script by Hirohito 7711 Higashi) 7712Files: src/fold.c, src/getchar.c, src/gui_at_fs.c, src/gui_athena.c, 7713 src/gui_at_sb.c, src/gui_beval.c, src/gui.c, src/gui_gtk.c, 7714 src/gui_gtk_x11.c, src/gui_mac.c, src/gui_motif.c 7715 7716Patch 7.4.1208 7717Problem: Using old style function declarations. 7718Solution: Change to new style function declarations. (script by Hirohito 7719 Higashi) 7720Files: src/gui_photon.c, src/gui_w32.c, src/gui_w48.c, src/gui_x11.c, 7721 src/hangulin.c, src/hardcopy.c, src/hashtab.c, src/if_cscope.c, 7722 src/if_mzsch.c, src/if_perlsfio.c, src/if_python.c, 7723 src/if_python3.c, src/if_ruby.c, src/if_sniff.c, src/if_tcl.c, 7724 src/if_xcmdsrv.c, src/integration.c 7725 7726Patch 7.4.1209 (after 7.4.1207) 7727Problem: Can't build with Athena. (Elimar Riesebieter) 7728Solution: Fix function declarations. 7729Files: src/gui_athena.c, src/gui_x11.c, src/gui_at_sb.c, src/gui_at_fs.c 7730 7731Patch 7.4.1210 7732Problem: Using old style function declarations. 7733Solution: Change to new style function declarations. (script by Hirohito 7734 Higashi) 7735Files: src/main.c, src/mark.c, src/mbyte.c, src/memfile.c, 7736 src/memfile_test.c, src/memline.c, src/menu.c, src/message.c 7737 7738Patch 7.4.1211 7739Problem: Using old style function declarations. 7740Solution: Change to new style function declarations. (script by Hirohito 7741 Higashi) 7742Files: src/misc1.c, src/misc2.c, src/move.c, src/netbeans.c, 7743 src/normal.c, src/ops.c, src/option.c 7744 7745Patch 7.4.1212 (after 7.4.1207) 7746Problem: Can't build with Motif. 7747Solution: Fix function declaration.(Dominique Pelle) 7748Files: src/gui_motif.c 7749 7750Patch 7.4.1213 7751Problem: Using old style function declarations. 7752Solution: Change to new style function declarations. (script by Hirohito 7753 Higashi) 7754Files: src/os_amiga.c, src/os_mac_conv.c, src/os_msdos.d, src/os_mswin.c, 7755 src/os_qnx.c, src/os_unix.c, src/os_vms.c, src/os_win16.c, 7756 src/os_win32.c, src/popupmnu.c, src/pty.c, src/quickfix.c, 7757 src/regexp.c, src/regexp_nfa.c, src/screen.c 7758 7759Patch 7.4.1214 7760Problem: Using old style function declarations. 7761Solution: Change to new style function declarations. (script by Hirohito 7762 Higashi) 7763Files: src/search.c, src/sha256.c, src/spell.c, src/syntax.c, src/tag.c, 7764 src/term.c, src/termlib.c, src/ui.c, src/undo.c 7765 7766Patch 7.4.1215 7767Problem: Using old style function declarations. 7768Solution: Change to new style function declarations. (script by Hirohito 7769 Higashi) 7770Files: src/version.c, src/winclip.c, src/window.c, src/workshop.c, 7771 src/xpm_w32.c, runtime/doc/doctags.c, 7772 runtime/tools/xcmdsrv_client.c, src/po/sjiscorr.c, src/xxd/xxd.c 7773 7774Patch 7.4.1216 7775Problem: Still using HAVE_STDARG_H. 7776Solution: Assume it's always defined. 7777Files: src/eval.c, src/misc2.c, src/vim.h, src/proto.h, src/configure.in, 7778 src/auto/configure, config.h.in, src/os_amiga.h, src/os_msdos.h, 7779 src/os_vms_conf.h, src/os_win32.h 7780 7781Patch 7.4.1217 7782Problem: Execution of command on channel doesn't work yet. 7783Solution: Implement the "ex" and "normal" commands. 7784Files: src/channel.c, src/proto/channel.pro, src/misc2.c, src/eval.c, 7785 src/ex_docmd.c, src/proto/ex_docmd.pro, src/feature.h 7786 7787Patch 7.4.1218 7788Problem: Missing change in configure. More changes for function style. 7789Solution: Avoid the typos. 7790Files: src/configure.in, src/config.h.in, runtime/tools/ccfilter.c, 7791 src/os_msdos.c 7792 7793Patch 7.4.1219 7794Problem: Build fails with +channel but without +float. 7795Solution: Add #ifdef. 7796Files: src/ex_cmds.c 7797 7798Patch 7.4.1220 7799Problem: Warnings for unused variables in tiny build. (Tony Mechelynck) 7800Solution: Move declarations inside #ifdef. (Hirohito Higashi) 7801Files: src/ex_cmds.c 7802 7803Patch 7.4.1221 7804Problem: Including netbeans and channel support in small and tiny builds. 7805 Build fails with some interfaces. 7806Solution: Only include these features in small build and above. Let 7807 configure fail if trying to enable an interface that won't build. 7808Files: src/configure.in, src/auto/configure 7809 7810Patch 7.4.1222 7811Problem: ":normal" command and others missing in tiny build. 7812Solution: Graduate FEAT_EX_EXTRA. 7813Files: src/feature.h, src/charset.c, src/eval.c, src/ex_cmds.c, 7814 src/ex_cmds2.c, src/ex_docmd.c, src/ex_getln.c, src/getchar.c, 7815 src/normal.c, src/ui.c, src/version.c, src/globals.h 7816 7817Patch 7.4.1223 7818Problem: Crash when setting v:errors to a number. 7819Solution: Free the typval without assuming its type. (Yasuhiro Matsumoto) 7820Files: src/eval.c, src/testdir/test_assert.vim 7821 7822Patch 7.4.1224 7823Problem: Build problems with GTK on BSD. (Mike Williams) 7824Solution: Don't use "$<". Skip building gui_gtk_gresources.h when it doesn't 7825 work. (Kazunobu Kuriyama) 7826Files: src/Makefile 7827 7828Patch 7.4.1225 7829Problem: Still a few old style function declarations. 7830Solution: Make them new style. (Hirohito Higashi) 7831Files: runtime/tools/blink.c, src/eval.c, src/ex_cmds2.c, src/ex_getln.c, 7832 src/fileio.c, src/gui_w32.c, src/gui_x11.c, src/if_perl.xs, 7833 src/os_unix.c, src/po/sjiscorr.c, src/pty.c 7834 7835Patch 7.4.1226 7836Problem: GRESOURCE_HDR is unused. 7837Solution: Remove it. (Kazunobu Kuriyama) 7838Files: src/configure.in, src/auto/configure, src/config.mk.in 7839 7840Patch 7.4.1227 7841Problem: Compiler warnings. 7842Solution: Add UNUSED. Add type cast. (Yegappan Lakshmanan) 7843Files: src/getchar.c, src/os_macosx.m 7844 7845Patch 7.4.1228 7846Problem: copy() and deepcopy() fail with special variables. (Nikolai 7847 Pavlov) 7848Solution: Make it work. Add a test. Closes #614. 7849Files: src/eval.c, src/testdir/test_viml.vim 7850 7851Patch 7.4.1229 7852Problem: "eval" and "expr" channel commands don't work yet. 7853Solution: Implement them. Update the error numbers. Also add "redraw". 7854Files: src/channel.c, src/eval.c, src/json.c, src/ex_docmd.c, 7855 src/proto/channel.pro, src/proto/json.pro, src/proto/ex_docmd.pro, 7856 runtime/doc/channel.txt 7857 7858Patch 7.4.1230 7859Problem: Win32: opening a channel may hang. Not checking for messages 7860 while waiting for characters. 7861Solution: Add a zero timeout. Call parse_queued_messages(). (Yasuhiro 7862 Matsumoto) 7863Files: src/os_win32.c 7864 7865Patch 7.4.1231 7866Problem: JSON messages are not parsed properly. 7867Solution: Queue received messages. 7868Files: src/eval.c src/channel.c, src/json.c, src/proto/eval.pro, 7869 src/proto/channel.pro, src/proto/json.pro, src/structs.h 7870 7871Patch 7.4.1232 7872Problem: Compiler warnings when the Sniff feature is enabled. 7873Solution: Add UNUSED. 7874Files: src/gui_gtk_x11.c 7875 7876Patch 7.4.1233 7877Problem: Channel command may cause a crash. 7878Solution: Check for NULL argument. (Damien) 7879Files: src/channel.c 7880 7881Patch 7.4.1234 7882Problem: Demo server only runs with Python 2. 7883Solution: Make it run with Python 3 as well. (Ken Takata) 7884Files: runtime/tools/demoserver.py 7885 7886Patch 7.4.1235 (after 7.4.1231) 7887Problem: Missing change to eval.c. 7888Solution: Include that change. 7889Files: src/eval.c 7890 7891Patch 7.4.1236 7892Problem: When "syntax manual" was used switching between buffers removes 7893 the highlighting. 7894Solution: Set the syntax option without changing the value. (Anton 7895 Lindqvist) 7896Files: runtime/syntax/manual.vim 7897 7898Patch 7.4.1237 7899Problem: Can't translate message without adding a line break. 7900Solution: Join the two parts of the message. 7901Files: src/memline.c 7902 7903Patch 7.4.1238 7904Problem: Can't handle two messages right after each other. 7905Solution: Find the end of the JSON. Read more when incomplete. Add a C 7906 test for the JSON decoding. 7907Files: src/channel.c, src/json.c, src/proto/json.pro, src/eval.c, 7908 src/Makefile, src/json_test.c, src/memfile_test.c, src/structs.h 7909 7910Patch 7.4.1239 7911Problem: JSON message after the first one is dropped. 7912Solution: Put remainder of message back in the queue. 7913Files: src/channel.c 7914 7915Patch 7.4.1240 7916Problem: Visual studio tools are noisy. 7917Solution: Suppress startup info. (Mike Williams) 7918Files: src/GvimExt/Makefile, src/Make_mvc.mak, src/tee/Make_mvc.mak 7919 7920Patch 7.4.1241 (after 7.4.1238) 7921Problem: Missing change in Makefile due to diff mismatch 7922Solution: Update the list of object files. 7923Files: src/Makefile 7924 7925Patch 7.4.1242 (after 7.4.1238) 7926Problem: json_test fails without the eval feature. 7927Solution: Add #ifdef. 7928Files: src/json_test.c 7929 7930Patch 7.4.1243 7931Problem: Compiler warning for uninitialized variable. 7932Solution: Initialize it. (Elias Diem) 7933Files: src/json.c 7934 7935Patch 7.4.1244 7936Problem: The channel functions don't sort together. 7937Solution: Use a common "ch_" prefix. 7938Files: src/eval.c, runtime/doc/eval.txt, runtime/tools/demoserver.py 7939 7940Patch 7.4.1245 7941Problem: File missing from distribution. 7942Solution: Add json_test.c. 7943Files: Filelist 7944 7945Patch 7.4.1246 7946Problem: The channel functionality isn't tested. 7947Solution: Add a test using a Python test server. 7948Files: src/channel.c, src/proto/channel.pro, 7949 src/testdir/test_channel.vim, src/testdir/test_channel.py, 7950 src/testdir/Make_all.mak 7951 7952Patch 7.4.1247 7953Problem: The channel test doesn't run on MS-Windows. 7954Solution: Make it work on the MS-Windows console. (Ken Takata) 7955Files: src/testdir/test_channel.py, src/testdir/test_channel.vim 7956 7957Patch 7.4.1248 7958Problem: Can't reliably stop the channel test server. Can't start the 7959 server if the python file is not executable. 7960Solution: Use "pkill" instead of "killall". Run the python file as an 7961 argument instead of as an executable. 7962Files: src/testdir/test_channel.vim 7963 7964Patch 7.4.1249 7965Problem: Crash when the process a channel is connected to exits. 7966Solution: Use the file descriptor properly. Add a test. (Damien) 7967 Also add a test for eval(). 7968Files: src/channel.c, src/testdir/test_channel.py, 7969 src/testdir/test_channel.vim 7970 7971Patch 7.4.1250 7972Problem: Running tests in shadow directory fails. 7973Solution: Also link testdir/*.py 7974Files: src/Makefile 7975 7976Patch 7.4.1251 7977Problem: New test file missing from distribution. 7978Solution: Add src/testdir/*.py. 7979Files: Filelist 7980 7981Patch 7.4.1252 7982Problem: The channel test server may receive two messages concatenated. 7983Solution: Split the messages. 7984Files: src/testdir/test_channel.py 7985 7986Patch 7.4.1253 7987Problem: Python test server not displaying second of two commands. 7988 Solaris doesn't have "pkill --full". 7989Solution: Also echo the second command. Use "pkill -f". 7990Files: src/testdir/test_channel.py, src/testdir/test_channel.vim 7991 7992Patch 7.4.1254 7993Problem: Opening a second channel causes a crash. (Ken Takata) 7994Solution: Don't re-allocate the array with channels. 7995Files: src/channel.c, src/testdir/test_channel.vim, 7996 src/testdir/test_channel.py 7997 7998Patch 7.4.1255 7999Problem: Crash for channel "eval" command without third argument. 8000Solution: Check for missing argument. 8001Files: src/channel.c, src/testdir/test_channel.vim, 8002 src/testdir/test_channel.py 8003 8004Patch 7.4.1256 8005Problem: On Mac sys.exit(0) doesn't kill the test server. 8006Solution: Use self.server.shutdown(). (Jun Takimoto) 8007Files: src/testdir/test_channel.py 8008 8009Patch 7.4.1257 8010Problem: Channel test fails in some configurations. 8011Solution: Add check for the +channel feature. 8012Files: src/testdir/test_channel.vim 8013 8014Patch 7.4.1258 8015Problem: The channel test can fail if messages arrive later. 8016Solution: Add a short sleep. (Jun Takimoto) 8017Files: src/testdir/test_channel.vim 8018 8019Patch 7.4.1259 8020Problem: No test for what patch 7.3.414 fixed. 8021Solution: Add a test. (Elias Diem) 8022Files: src/testdir/test_increment.vim 8023 8024Patch 7.4.1260 8025Problem: The channel feature doesn't work on Win32 GUI. 8026Solution: Use WSAGetLastError(). (Ken Takata) 8027Files: src/channel.c, src/testdir/test_channel.vim, src/vim.h 8028 8029Patch 7.4.1261 8030Problem: Pending channel messages are garbage collected. Leaking memory in 8031 ch_sendexpr(). Leaking memory for a decoded JSON string. 8032Solution: Mark the message list as used. Free the encoded JSON. Don't save 8033 the JSON string. 8034Files: src/eval.c, src/channel.c, src/json.c, src/proto/channel.pro 8035 8036Patch 7.4.1262 8037Problem: The channel callback is not invoked. 8038Solution: Make a list of pending callbacks. 8039Files: src/eval.c, src/channel.c, src/proto/channel.pro, 8040 src/testdir/test_channel.vim 8041 8042Patch 7.4.1263 8043Problem: ch_open() hangs when the server isn't running. 8044Solution: Add a timeout. Use a dict to pass arguments. (Yasuhiro Matsumoto) 8045Files: runtime/doc/eval.txt, runtime/doc/channel.txt, src/channel.c, 8046 src/eval.c, src/netbeans.c, src/os_win32.c, src/proto/channel.pro, 8047 src/testdir/test_channel.vim 8048 8049Patch 7.4.1264 8050Problem: Crash when receiving an empty array. 8051Solution: Check for array with wrong number of arguments. (Damien) 8052Files: src/channel.c, src/eval.c, src/testdir/test_channel.py, 8053 src/testdir/test_channel.vim 8054 8055Patch 7.4.1265 8056Problem: Not all channel commands are tested. 8057Solution: Add a test for "normal", "expr" and "redraw". 8058Files: src/testdir/test_channel.py, src/testdir/test_channel.vim 8059 8060Patch 7.4.1266 8061Problem: A BufAdd autocommand may cause an ml_get error (Christian 8062 Brabandt) 8063Solution: Increment RedrawingDisabled earlier. 8064Files: src/ex_cmds.c 8065 8066Patch 7.4.1267 8067Problem: Easy to miss handling all types of variables. 8068Solution: Change the variable type into an enum. 8069Files: src/structs.h, src/eval.c 8070 8071Patch 7.4.1268 8072Problem: Waittime is used as seconds instead of milliseconds. (Hirohito 8073 Higashi) 8074Solution: Divide by 1000. 8075Files: src/channel.c 8076 8077Patch 7.4.1269 8078Problem: Encoding {'key':v:none} to JSON doesn't give an error (Tyru) 8079Solution: Give an error. 8080Files: src/json.c, src/testdir/test_json.vim 8081 8082Patch 7.4.1270 8083Problem: Warnings for missing values in switch. 8084Solution: Change switch to if-else or add values. 8085Files: src/if_py_both.h, src/if_python.c, src/if_python3.c 8086 8087Patch 7.4.1271 8088Problem: assert_false(v:false) reports an error. (Nikolai Pavlov) 8089Solution: Recognize v:true and v:false. (Closes #625) 8090Files: src/eval.c, src/testdir/test_assert.vim 8091 8092Patch 7.4.1272 (after 7.4.1270) 8093Problem: Using future enum value. 8094Solution: Remove it. 8095Files: src/if_python.c, src/if_python3.c 8096 8097Patch 7.4.1273 (after 7.4.1271) 8098Problem: assert_false(v:false) still fails. 8099Solution: Fix the typo. 8100Files: src/eval.c 8101 8102Patch 7.4.1274 8103Problem: Cannot run a job. 8104Solution: Add job_start(), job_status() and job_stop(). Currently only works 8105 for Unix. 8106Files: src/eval.c, src/structs.h, runtime/doc/eval.txt, src/os_unix.c, 8107 src/proto/os_unix.pro, src/feature.h, src/version.c, 8108 src/testdir/test_channel.vim 8109 8110Patch 7.4.1275 (after 7.4.1274) 8111Problem: Build fails on MS-Windows. 8112Solution: Fix wrong #ifdef. 8113Files: src/eval.c 8114 8115Patch 7.4.1276 8116Problem: Warning for not using return value of fcntl(). 8117Solution: Explicitly ignore the return value. 8118Files: src/fileio.c, src/channel.c, src/memfile.c, src/memline.c 8119 8120Patch 7.4.1277 8121Problem: Compiler can complain about missing enum value in switch with some 8122 combination of features. 8123Solution: Remove #ifdefs around case statements. 8124Files: src/eval.c 8125 8126Patch 7.4.1278 8127Problem: When jsonencode() fails it still returns something. 8128Solution: Return an empty string on failure. 8129Files: src/json.c, src/channel.c, src/testdir/test_json.vim, 8130 src/testdir/test_channel.vim, src/testdir/test_channel.py 8131 8132Patch 7.4.1279 8133Problem: jsonencode() is not producing strict JSON. 8134Solution: Add jsencode() and jsdecode(). Make jsonencode() and jsondecode() 8135 strict. 8136Files: src/json.c, src/json_test.c, src/proto/json.pro, src/channel.c, 8137 src/proto/channel.pro, src/eval.c, src/vim.h, src/structs.h, 8138 runtime/doc/eval.txt, runtime/doc/channel.txt, 8139 src/testdir/test_json.vim 8140 8141Patch 7.4.1280 8142Problem: Missing case value. 8143Solution: Add VAR_JOB. 8144Files: src/if_python.c, src/if_python3.c 8145 8146Patch 7.4.1281 8147Problem: No test for skipping over code that isn't evaluated. 8148Solution: Add a test with code that would fail when not skipped. 8149Files: src/testdir/test_viml.vim 8150 8151Patch 7.4.1282 8152Problem: Crash when evaluating the pattern of ":catch" causes an error. 8153 (Dominique Pelle) 8154Solution: Block error messages at this point. 8155Files: src/ex_eval.c 8156 8157Patch 7.4.1283 8158Problem: The job feature isn't available on MS-Windows. 8159Solution: Add the job feature. Fix argument of job_stop(). (Yasuhiro 8160 Matsumoto) 8161Files: src/eval.c, src/feature.h, src/os_win32.c, src/proto/os_win32.pro 8162 8163Patch 7.4.1284 (after 7.4.1282) 8164Problem: Test 49 fails. 8165Solution: Check for a different error message. 8166Files: src/testdir/test49.vim 8167 8168Patch 7.4.1285 8169Problem: Cannot measure elapsed time. 8170Solution: Add reltimefloat(). 8171Files: src/ex_cmds2.c, src/eval.c, src/proto/ex_cmds2.pro, 8172 src/testdir/test_reltime.vim, src/testdir/test_alot.vim 8173 8174Patch 7.4.1286 8175Problem: ch_open() with a timeout doesn't work correctly. 8176Solution: Change how select() is used. Don't give an error on timeout. 8177 Add a test for ch_open() failing. 8178Files: src/channel.c, src/testdir/test_channel.vim 8179 8180Patch 7.4.1287 (after 7.4.1286) 8181Problem: Channel test fails. 8182Solution: Use reltimefloat(). 8183Files: src/testdir/test_channel.vim 8184 8185Patch 7.4.1288 8186Problem: ch_sendexpr() does not use JS encoding. 8187Solution: Use the encoding that fits the channel mode. Refuse using 8188 ch_sendexpr() on a raw channel. 8189Files: src/channel.c, src/proto/channel.pro, src/eval.c 8190 8191Patch 7.4.1289 8192Problem: Channel test fails on MS-Windows, connect() takes too long. 8193Solution: Adjust the test for MS-Windows using "waittime". 8194Files: src/channel.c, src/testdir/test_channel.vim 8195 8196Patch 7.4.1290 8197Problem: Coverity complains about unnecessary check for NULL. 8198Solution: Remove the check. 8199Files: src/eval.c 8200 8201Patch 7.4.1291 8202Problem: On MS-Windows the channel test server doesn't quit. 8203Solution: Use return instead of break. (Ken Takata) 8204Files: src/testdir/test_channel.py 8205 8206Patch 7.4.1292 8207Problem: Some compilers complain about uninitialized variable, even though 8208 all possible cases are handled. (Dominique Pelle) 8209Solution: Add a default initialization. 8210Files: src/eval.c 8211 8212Patch 7.4.1293 8213Problem: Sometimes a channel may hang waiting for a message that was 8214 already discarded. (Ken Takata) 8215Solution: Store the ID of the message blocking on in the channel. 8216Files: src/channel.c 8217 8218Patch 7.4.1294 8219Problem: job_stop() only kills the started process. 8220Solution: Send the signal to the process group. (Olaf Dabrunz) 8221Files: src/os_unix.c 8222 8223Patch 7.4.1295 8224Problem: string(job) doesn't work well on MS-Windows. 8225Solution: Use the process ID. (Yasuhiro Matsumoto) 8226Files: src/eval.c 8227 8228Patch 7.4.1296 8229Problem: Cursor changes column with up motion when the matchparen plugin 8230 saves and restores the cursor position. (Martin Kunev) 8231Solution: Make sure curswant is updated before invoking the autocommand. 8232Files: src/edit.c 8233 8234Patch 7.4.1297 8235Problem: On Mac test_channel leaves python instances running. 8236Solution: Use a small waittime to make ch_open() work. (Ozaki Kiichi) 8237Files: src/testdir/test_channel.vim 8238 8239Patch 7.4.1298 8240Problem: When the channel test fails in an unexpected way the server keeps 8241 running. 8242Solution: Use try/catch. (Ozaki Kiichi) 8243Files: src/testdir/test_channel.vim 8244 8245Patch 7.4.1299 8246Problem: When the server sends a message with ID zero the channel handler 8247 is not invoked. (Christian J. Robinson) 8248Solution: Recognize zero value for the request ID. Add a test for invoking 8249 the channel handler. 8250Files: src/channel.c, src/testdir/test_channel.vim, 8251 src/testdir/test_channel.py 8252 8253Patch 7.4.1300 8254Problem: Cannot test CursorMovedI because there is typeahead. 8255Solution: Add disable_char_avail_for_testing(). 8256Files: src/eval.c, src/getchar.c, src/globals.h, 8257 src/testdir/test_cursor_func.vim, src/testdir/README.txt 8258 8259Patch 7.4.1301 8260Problem: Missing options in ch_open(). 8261Solution: Add s:chopt like in the other calls. (Ozaki Kiichi) 8262Files: src/testdir/test_channel.vim 8263 8264Patch 7.4.1302 8265Problem: Typo in struct field name. (Ken Takata) 8266Solution: Rename jf_pi to jv_pi. 8267Files: src/eval.c, src/os_win32.c, src/structs.h 8268 8269Patch 7.4.1303 8270Problem: A Funcref is not accepted as a callback. 8271Solution: Make a Funcref work. (Damien) 8272Files: src/eval.c, src/testdir/test_channel.vim 8273 8274Patch 7.4.1304 8275Problem: Function names are difficult to read. 8276Solution: Rename jsonencode to json_encode, jsondecode to json_decode, 8277 jsencode to js_encode and jsdecode to js_decode. 8278Files: src/eval.c, runtime/doc/eval.txt, src/testdir/test_json.vim 8279 8280Patch 7.4.1305 8281Problem: "\%1l^#.*" does not match on a line starting with "#". 8282Solution: Do not clear the start-of-line flag. (Christian Brabandt) 8283Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test36.in, 8284 src/testdir/test36.ok 8285 8286Patch 7.4.1306 8287Problem: Job control doesn't work well on MS-Windows. 8288Solution: Various fixes. (Ken Takata, Ozaki Kiichi, Yukihiro Nakadaira, 8289 Yasuhiro Matsumoto) 8290Files: src/Make_mvc.mak, src/eval.c, src/os_unix.c, src/os_win32.c, 8291 src/proto/os_unix.pro, src/proto/os_win32.pro, src/structs.h 8292 8293Patch 7.4.1307 8294Problem: Some channel tests fail on MS-Windows. 8295Solution: Disable the failing tests temporarily. 8296Files: src/testdir/test_channel.vim 8297 8298Patch 7.4.1308 (after 7.4.1307) 8299Problem: Typo in test. 8300Solution: Change endf to endif. 8301Files: src/testdir/test_channel.vim 8302 8303Patch 7.4.1309 8304Problem: When a test fails not all relevant info is listed. 8305Solution: Add the errors to the messages. 8306Files: src/testdir/runtest.vim 8307 8308Patch 7.4.1310 8309Problem: Jobs don't open a channel. 8310Solution: Create pipes and add them to the channel. Add ch_logfile(). 8311 Only Unix for now. 8312Files: src/channel.c, src/eval.c, src/os_unix.c, src/structs.h, 8313 src/gui_w48.c, src/proto/channel.pro, src/testdir/test_channel.vim, 8314 src/testdir/test_channel_pipe.py, runtime/doc/eval.txt 8315 8316Patch 7.4.1311 (after 7.4.1310) 8317Problem: sock_T is defined too late. 8318Solution: Move it up. 8319Files: src/vim.h 8320 8321Patch 7.4.1312 (after 7.4.1311) 8322Problem: sock_T is not defined without the +channel feature. 8323Solution: Always define it. 8324Files: src/vim.h 8325 8326Patch 7.4.1313 8327Problem: MS-Windows: Using socket after it was closed causes an exception. 8328Solution: Don't give an error when handling WM_NETBEANS. Re-enable tests 8329 for MS-Windows. 8330Files: src/gui_w48.c, src/testdir/test_channel.vim 8331 8332Patch 7.4.1314 8333Problem: Warning for uninitialized variable. 8334Solution: Initialize it. (Dominique Pelle) 8335Files: src/channel.c 8336 8337Patch 7.4.1315 8338Problem: Using a channel handle does not allow for freeing it when unused. 8339Solution: Add the Channel variable type. 8340Files: src/structs.h, src/channel.c, src/misc2.c, src/eval.c, 8341 src/if_python.c, src/if_python3.c, src/json.c, src/gui_w48.c, 8342 src/netbeans.c, src/proto/channel.pro, src/os_unix.c, 8343 src/testdir/test_channel.py, src/testdir/test_channel.vim 8344 8345Patch 7.4.1316 8346Problem: Can't build MS-Windows console version. (Tux) 8347Solution: Add #ifdefs. 8348Files: src/eval.c 8349 8350Patch 7.4.1317 8351Problem: MS-Windows: channel test fails. 8352Solution: Temporarily disable Test_connect_waittime(). 8353Files: src/testdir/test_channel.vim 8354 8355Patch 7.4.1318 8356Problem: Channel with pipes doesn't work in GUI. 8357Solution: Register input handlers for pipes. 8358Files: src/structs.h, src/feature.h, src/channel.c, src/eval.c, 8359 src/os_unix.c, src/os_win32.c, src/gui_w48.c, src/proto/channel.pro 8360 8361Patch 7.4.1319 (after 7.4.1318) 8362Problem: Tests fail on MS-Windows and on Unix with GUI. 8363Solution: Fix unregistering. 8364Files: src/structs.h, src/channel.c, src/os_unix.c, src/os_win32.c, 8365 src/proto/channel.pro 8366 8367Patch 7.4.1320 8368Problem: Building with Cygwin or MingW with channel but without Netbeans 8369 doesn't work. 8370Solution: Set NETBEANS to "no" when not used. 8371Files: src/Make_cyg_ming.mak 8372 8373Patch 7.4.1321 8374Problem: Compiler complains about missing statement. 8375Solution: Add an empty statement. (Andrei Olsen) 8376Files: src/os_win32.c 8377 8378Patch 7.4.1322 8379Problem: Crash when unletting the variable that holds the channel in a 8380 callback function. (Christian Robinson) 8381Solution: Increase the reference count while invoking the callback. 8382Files: src/eval.c, src/channel.c, src/proto/eval.pro, 8383 src/testdir/test_channel.vim 8384 8385Patch 7.4.1323 8386Problem: Do not get warnings when building with MingW. 8387Solution: Remove the -w flag. (Ken Takata) 8388Files: src/Make_cyg_ming.mak 8389 8390Patch 7.4.1324 8391Problem: Channels with pipes don't work on MS-Windows. 8392Solution: Add pipe I/O support. (Yasuhiro Matsumoto) 8393Files: src/channel.c, src/os_win32.c, src/proto/channel.pro, 8394 src/structs.h, src/vim.h, src/testdir/test_channel.vim 8395 8396Patch 7.4.1325 8397Problem: Channel test fails on difference between Unix and DOS line endings. 8398Solution: Strip off CR. Make assert show difference better. 8399Files: src/eval.c, src/channel.c 8400 8401Patch 7.4.1326 8402Problem: Build rules are bit too complicated. 8403Solution: Remove -lwsock32 from Netbeans, it's already added for the channel 8404 feature that it depends on. (Tony Mechelynck) 8405Files: src/Make_cyg_ming.mak 8406 8407Patch 7.4.1327 8408Problem: Channel test doesn't work if Python executable is python.exe. 8409Solution: Find py.exe or python.exe. (Ken Takata) 8410Files: src/testdir/test_channel.vim 8411 8412Patch 7.4.1328 8413Problem: Can't compile with +job but without +channel. (John Marriott) 8414Solution: Add more #ifdefs. 8415Files: src/os_unix.c 8416 8417Patch 7.4.1329 8418Problem: Crash when using channel that failed to open. 8419Solution: Check for NULL. Update messages. (Yukihiro Nakadaira) 8420Files: src/channel.c, src/eval.c, src/testdir/test_channel.vim 8421 8422Patch 7.4.1330 8423Problem: fd_read() has an unused argument. 8424Solution: Remove the timeout. (Yasuhiro Matsumoto) 8425Files: src/channel.c 8426 8427Patch 7.4.1331 8428Problem: Crash when closing the channel in a callback. (Christian J. 8429 Robinson) 8430Solution: Take the callback out of the list before invoking it. 8431Files: src/channel.c, src/testdir/test_channel.vim 8432 8433Patch 7.4.1332 8434Problem: Problem using Python3 when compiled with MingW. 8435Solution: Define PYTHON3_HOME as a wide character string. (Yasuhiro 8436 Matsumoto) 8437Files: src/Make_cyg_ming.mak 8438 8439Patch 7.4.1333 8440Problem: Channel test fails on non-darwin builds. 8441Solution: Add the "osx" feature and test for that. (Kazunobu Kuriyama) 8442Files: runtime/doc/eval.txt, src/eval.c, src/testdir/test_channel.vim 8443 8444Patch 7.4.1334 8445Problem: Many compiler warnings with MingW. 8446Solution: Add type casts. (Yasuhiro Matsumoto) 8447Files: src/channel.c, src/dosinst.h, src/eval.c, src/ex_cmds2.c, 8448 src/ex_getln.c, src/fileio.c, src/if_cscope.c, src/if_perl.xs, 8449 src/if_python.c, src/if_python3.c, src/if_ruby.c, src/main.c, 8450 src/mbyte.c, src/misc1.c, src/option.c, src/os_mswin.c, 8451 src/os_win32.c 8452 8453Patch 7.4.1335 8454Problem: Can't build on MS-Windows with +job but without +channel. (Cesar 8455 Romani) 8456Solution: Add #ifdefs. (Yasuhiro Matsumoto) 8457Files: src/os_win32.c 8458 8459Patch 7.4.1336 8460Problem: Channel NL mode is not supported yet. 8461Solution: Add NL mode support to channels. 8462Files: src/channel.c, src/netbeans.c, src/structs.h, src/os_win32.c, 8463 src/proto/channel.pro, src/proto/os_unix.pro, 8464 src/proto/os_win32.pro, src/testdir/test_channel.vim, 8465 src/testdir/test_channel_pipe.py 8466 8467Patch 7.4.1337 (after 7.4.1336) 8468Problem: Part of the change is missing. 8469Solution: Add changes to eval.c 8470Files: src/eval.c 8471 8472 8473Patch 7.4.1338 (after 7.4.1336) 8474Problem: Another part of the change is missing. 8475Solution: Type os_unix.c right this time. 8476Files: src/os_unix.c 8477 8478Patch 7.4.1339 8479Problem: Warnings when building the GUI with MingW. (Cesar Romani) 8480Solution: Add type casts. (Yasuhiro Matsumoto) 8481Files: src/edit.c, src/gui_w32.c, src/gui_w48.c, src/os_mswin.c, 8482 src/os_win32.c 8483 8484Patch 7.4.1340 (after 7.4.1339) 8485Problem: Merge left extra #endif behind. 8486Solution: Remove the #endif 8487Files: src/os_win32.c 8488 8489Patch 7.4.1341 8490Problem: It's difficult to add more arguments to ch_sendraw() and 8491 ch_sendexpr(). 8492Solution: Make the third option a dictionary. 8493Files: src/eval.c, src/structs.h, src/channel.c, src/os_unix.c, 8494 src/os_win32.c, src/proto/channel.pro, 8495 src/testdir/test_channel.vim, runtime/doc/eval.txt 8496 8497Patch 7.4.1342 8498Problem: On Mac OS/X the waittime must be > 0 for connect to work. 8499Solution: Use select() in a different way. (partly by Kazunobu Kuriyama) 8500 Always use a waittime of 1 or more. 8501Files: src/eval.c, src/channel.c, src/testdir/test_channel.vim 8502 8503Patch 7.4.1343 8504Problem: Can't compile with +job but without +channel. (Andrei Olsen) 8505Solution: Move get_job_options up and adjust #ifdef. 8506Files: src/eval.c 8507 8508Patch 7.4.1344 8509Problem: Can't compile Win32 GUI with tiny features. 8510Solution: Add #ifdef. (Christian Brabandt) 8511Files: src/gui_w32.c 8512 8513Patch 7.4.1345 8514Problem: A few more compiler warnings. (Axel Bender) 8515Solution: Add type casts. 8516Files: src/gui_w32.c, src/gui_w48.c 8517 8518Patch 7.4.1346 8519Problem: Compiler warnings in build with -O2. 8520Solution: Add initializations. 8521Files: src/eval.c 8522 8523Patch 7.4.1347 8524Problem: When there is any error Vim will use a non-zero exit code. 8525Solution: When using ":silent!" do not set the exit code. (Yasuhiro 8526 Matsumoto) 8527Files: src/message.c 8528 8529Patch 7.4.1348 8530Problem: More compiler warnings. (John Marriott) 8531Solution: Add type casts, remove unused variable. 8532Files: src/gui_w32.c 8533 8534Patch 7.4.1349 8535Problem: And some more MingW compiler warnings. (Cesar Romani) 8536Solution: Add type casts. 8537Files: src/if_mzsch.c 8538 8539Patch 7.4.1350 8540Problem: When the test server fails to start Vim hangs. 8541Solution: Check that there is actually something to read from the tty fd. 8542Files: src/os_unix.c 8543 8544Patch 7.4.1351 8545Problem: When the port isn't opened yet when ch_open() is called it may 8546 fail instead of waiting for the specified time. 8547Solution: Loop when select() succeeds but when connect() failed. Also use 8548 channel logging for jobs. Add ch_log(). 8549Files: src/channel.c, src/eval.c, src/netbeans.c, src/proto/channel.pro, 8550 src/testdir/test_channel.vim, src/testdir/test_channel.py 8551 8552Patch 7.4.1352 8553Problem: The test script lists all functions before executing them. 8554Solution: Only list the function currently being executed. 8555Files: src/testdir/runtest.vim 8556 8557Patch 7.4.1353 8558Problem: Test_connect_waittime is skipped for MS-Windows. 8559Solution: Add the test back, it works now. 8560Files: src/testdir/test_channel.vim 8561 8562Patch 7.4.1354 8563Problem: MS-Windows: Mismatch between default compile options and what the 8564 code expects. 8565Solution: Change the default WINVER from 0x0500 to 0x0501. (Ken Takata) 8566Files: src/Make_cyg_ming.mak, src/Make_mvc.mak 8567 8568Patch 7.4.1355 8569Problem: Win32 console and GUI handle channels differently. 8570Solution: Consolidate code between Win32 console and GUI. 8571Files: src/channel.c, src/eval.c, src/gui_w48.c, src/os_win32.c, 8572 src/proto/channel.pro 8573 8574Patch 7.4.1356 8575Problem: Job and channel options parsing is scattered. 8576Solution: Move all option value parsing to get_job_options(); 8577Files: src/channel.c, src/eval.c, src/structs.h, src/proto/channel.pro, 8578 src/testdir/test_channel.vim 8579 8580Patch 7.4.1357 (after 7.4.1356) 8581Problem: Error for returning value from void function. 8582Solution: Don't do that. 8583Files: src/eval.c 8584 8585Patch 7.4.1358 8586Problem: Compiler warning when not building with +crypt. 8587Solution: Add #ifdef. (John Marriott) 8588Files: src/undo.c 8589 8590Patch 7.4.1359 (after 7.4.1356) 8591Problem: Channel test ch_sendexpr() times out. 8592Solution: Increase the timeout 8593Files: src/testdir/test_channel.vim 8594 8595Patch 7.4.1360 8596Problem: Can't remove a callback with ch_setoptions(). 8597Solution: When passing zero or an empty string remove the callback. 8598Files: src/channel.c, src/proto/channel.pro, src/testdir/test_channel.vim 8599 8600Patch 7.4.1361 8601Problem: Channel test fails on Solaris. 8602Solution: Use the 1 msec waittime for all systems. 8603Files: src/channel.c 8604 8605Patch 7.4.1362 (after 7.4.1356) 8606Problem: Using uninitialized value. 8607Solution: Initialize jo_set. 8608Files: src/eval.c 8609 8610Patch 7.4.1363 8611Problem: Compiler warnings with tiny build. 8612Solution: Add #ifdefs. 8613Files: src/gui_w48.c, src/gui_w32.c 8614 8615Patch 7.4.1364 8616Problem: The Win 16 code is not maintained and unused. 8617Solution: Remove the Win 16 support. 8618Files: src/gui_w16.c, src/gui_w32.c, src/gui_w48.c, src/Make_w16.mak, 8619 src/Makefile, src/Make_cyg_ming.mak, src/Make_mvc.mak, 8620 src/proto/gui_w16.pro, src/proto/os_win16.pro, src/guiw16rc.h, 8621 src/vim16.rc, src/vim16.def, src/tools16.bmp, src/eval.c, 8622 src/gui.c, src/misc2.c, src/option.c, src/os_msdos.c, 8623 src/os_mswin.c, src/os_win16.c, src/os_win16.h, src/version.c, 8624 src/winclip.c, src/feature.h, src/proto.h, src/vim.h, Filelist 8625 8626Patch 7.4.1365 8627Problem: Cannot execute a single test function. 8628Solution: Add an argument to filter the functions with. (Yasuhiro Matsumoto) 8629Files: src/testdir/runtest.vim 8630 8631Patch 7.4.1366 8632Problem: Typo in test and resulting error in test result. 8633Solution: Fix the typo and correct the result. (James McCoy, closes #650) 8634Files: src/testdir/test_charsearch.in, src/testdir/test_charsearch.ok 8635 8636Patch 7.4.1367 8637Problem: Compiler warning for unreachable code. 8638Solution: Remove a "break". (Danek Duvall) 8639Files: src/json.c 8640 8641Patch 7.4.1368 8642Problem: One more Win16 file remains. 8643Solution: Delete it. 8644Files: src/proto/os_win16.pro 8645 8646Patch 7.4.1369 8647Problem: Channels don't have a queue for stderr. 8648Solution: Have a queue for each part of the channel. 8649Files: src/channel.c, src/eval.c, src/structs.h, src/netbeans.c, 8650 src/gui_w32.c, src/proto/channel.pro 8651 8652Patch 7.4.1370 8653Problem: The Python test script may keep on running. 8654Solution: Join the threads. (Yasuhiro Matsumoto) 8655Files: src/testdir/test_channel.py 8656 8657Patch 7.4.1371 8658Problem: X11 GUI callbacks don't specify the part of the channel. 8659Solution: Pass the fd instead of the channel ID. 8660Files: src/channel.c 8661 8662Patch 7.4.1372 8663Problem: channel read implementation is incomplete. 8664Solution: Add ch_read() and options for ch_readraw(). 8665Files: src/channel.c, src/eval.c, src/structs.h, src/proto/channel.pro, 8666 src/testdir/test_channel.vim 8667 8668Patch 7.4.1373 8669Problem: Calling a Vim function over a channel requires turning the 8670 arguments into a string. 8671Solution: Add the "call" command. (Damien) Also merge "expr" and "eval" 8672 into one. 8673Files: src/channel.c, src/testdir/test_channel.py, 8674 src/testdir/test_channel.vim 8675 8676Patch 7.4.1374 8677Problem: Channel test hangs on MS-Windows. 8678Solution: Disable the ch_read() that is supposed to time out. 8679Files: src/testdir/test_channel.vim 8680 8681Patch 7.4.1375 8682Problem: Still some Win16 code. 8683Solution: Remove FEAT_GUI_W16.(Hirohito Higashi) 8684Files: src/eval.c, src/ex_cmds.h, src/feature.h, src/gui.h, src/menu.c, 8685 src/misc1.c, src/option.c, src/proto.h, src/structs.h, src/term.c, 8686 src/vim.h, runtime/doc/gui_w16.txt 8687 8688Patch 7.4.1376 8689Problem: ch_setoptions() cannot set all options. 8690Solution: Support more options. 8691Files: src/channel.c, src/eval.c, src/structs.h, runtime/doc/channel.txt, 8692 src/testdir/test_channel.vim 8693 8694Patch 7.4.1377 8695Problem: Test_connect_waittime() is flaky. 8696Solution: Ignore the "Connection reset by peer" error. 8697Files: src/testdir/test_channel.vim 8698 8699Patch 7.4.1378 8700Problem: Can't change job settings after it started. 8701Solution: Add job_setoptions() with the "stoponexit" flag. 8702Files: src/eval.c, src/main.c, src/structs.h, src/proto/eval.pro, 8703 src/testdir/test_channel.vim 8704 8705Patch 7.4.1379 8706Problem: Channel test fails on Win32 console. 8707Solution: Don't sleep when timeout is zero. Call channel_wait() before 8708 channel_read(). Channels are not polled during ":sleep". (Yukihiro 8709 Nakadaira) 8710Files: src/channel.c, src/misc2.c, src/gui_w32.c, src/os_win32.c 8711 8712Patch 7.4.1380 8713Problem: The job exit callback is not implemented. 8714Solution: Add the "exit-cb" option. 8715Files: src/structs.h, src/eval.c, src/channel.c, src/proto/eval.pro, 8716 src/misc2.c, src/macros.h, src/testdir/test_channel.vim 8717 8718Patch 7.4.1381 (after 7.4.1380) 8719Problem: Exit value not available on MS-Windows. 8720Solution: Set the exit value. 8721Files: src/structs.h, src/os_win32.c 8722 8723Patch 7.4.1382 8724Problem: Can't get the job of a channel. 8725Solution: Add ch_getjob(). 8726Files: src/eval.c, runtime/doc/channel.txt, runtime/doc/eval.txt 8727 8728Patch 7.4.1383 8729Problem: GvimExt only loads the old libintl.dll. 8730Solution: Also try loading libint-8.dll. (Ken Takata, closes #608) 8731Files: src/GvimExt/gvimext.cpp, src/GvimExt/gvimext.h 8732 8733Patch 7.4.1384 8734Problem: It is not easy to use a set of plugins and their dependencies. 8735Solution: Add packages, ":loadplugin", 'packpath'. 8736Files: src/main.c, src/ex_cmds2.c, src/option.c, src/option.h, 8737 src/ex_cmds.h, src/eval.c, src/version.c, src/proto/ex_cmds2.pro, 8738 runtime/doc/repeat.txt, runtime/doc/options.txt, 8739 runtime/optwin.vim 8740 8741Patch 7.4.1385 8742Problem: Compiler warning for using array. 8743Solution: Use the right member name. (Yegappan Lakshmanan) 8744Files: src/eval.c 8745 8746Patch 7.4.1386 8747Problem: When the Job exit callback is invoked, the job may be freed too 8748 soon. (Yasuhiro Matsumoto) 8749Solution: Increase refcount. 8750Files: src/eval.c 8751 8752Patch 7.4.1387 8753Problem: Win16 docs still referenced. 8754Solution: Remove Win16 files from the docs Makefile. (Kenichi Ito) 8755Files: runtime/doc/Makefile 8756 8757Patch 7.4.1388 8758Problem: Compiler warning. (Cesar Romani) 8759Solution: Initialize variable. 8760Files: src/ex_cmds2.c 8761 8762Patch 7.4.1389 8763Problem: Incomplete function declaration. 8764Solution: Add "void". (Yasuhiro Matsumoto) 8765Files: src/eval.c 8766 8767Patch 7.4.1390 8768Problem: When building with GTK and glib-compile-resources cannot be found 8769 building Vim fails. (Michael Gehring) 8770Solution: Make GLIB_COMPILE_RESOURCES empty instead of leaving it at "no". 8771 (nuko8, closes #655) 8772Files: src/configure.in, src/auto/configure 8773 8774Patch 7.4.1391 8775Problem: Warning for uninitialized variable. 8776Solution: Set it to zero. (Christian Brabandt) 8777Files: src/eval.c 8778 8779Patch 7.4.1392 8780Problem: Some tests fail for Win32 console version. 8781Solution: Move the tests to SCRIPTS_MORE2. Pass VIMRUNTIME. (Christian 8782 Brabandt) 8783Files: src/testdir/Make_all.mak 8784 8785Patch 7.4.1393 8786Problem: Starting a job hangs in the GUI. (Takuya Fujiwara) 8787Solution: Don't check if ch_job is NULL when checking for an error. 8788 (Yasuhiro Matsumoto) 8789Files: src/channel.c 8790 8791Patch 7.4.1394 8792Problem: Can't sort inside a sort function. 8793Solution: Use a struct to store the sort parameters. (Jacob Niehus) 8794Files: src/eval.c, src/testdir/test_sort.vim 8795 8796Patch 7.4.1395 8797Problem: Using DETACH in quotes is not compatible with the Netbeans 8798 interface. (Xavier de Gaye) 8799Solution: Remove the quotes, only use them for JSON and JS mode. 8800Files: src/netbeans.c, src/channel.c 8801 8802Patch 7.4.1396 8803Problem: Compiler warnings for conversions. 8804Solution: Add type cast. 8805Files: src/ex_cmds2.c 8806 8807Patch 7.4.1397 8808Problem: Sort test fails on MS-Windows. 8809Solution: Correct the compare function. 8810Files: src/testdir/test_sort.vim 8811 8812Patch 7.4.1398 8813Problem: The close-cb option is not implemented yet. 8814Solution: Implement close-cb. (Yasuhiro Matsumoto) 8815Files: src/channel.c, src/eval.c, src/structs.h, src/proto/channel.pro, 8816 src/testdir/test_channel.py, src/testdir/test_channel.vim 8817 8818Patch 7.4.1399 8819Problem: The MS-DOS code does not build. 8820Solution: Remove the old MS-DOS code. 8821Files: Filelist, src/Make_bc3.mak, src/Make_bc5.mak, src/Make_djg.mak, 8822 src/Makefile, src/blowfish.c, src/buffer.c, src/diff.c, 8823 src/digraph.c, src/dosinst.h, src/eval.c, src/ex_cmds.c, 8824 src/ex_cmds2.c, src/ex_docmd.c, src/ex_getln.c, src/feature.h, 8825 src/fileio.c, src/getchar.c, src/globals.h, src/macros.h, 8826 src/main.c, src/mbyte.c, src/memfile.c, src/memline.c, 8827 src/misc1.c, src/misc2.c, src/netbeans.c, src/option.c, 8828 src/option.h, src/os_msdos.c, src/os_msdos.h, src/proto.h, 8829 src/proto/os_msdos.pro, src/regexp.c, src/screen.c, src/structs.h, 8830 src/syntax.c, src/term.c, src/undo.c, src/uninstal.c, 8831 src/version.c, src/vim.h, src/window.c, src/xxd/Make_bc3.mak, 8832 src/xxd/Make_djg.mak 8833 8834 8835Patch 7.4.1400 8836Problem: Perl eval doesn't work properly on 64-bit big-endian machine. 8837Solution: Use 32 bit type for the key. (Danek Duvall) 8838Files: src/if_perl.xs 8839 8840Patch 7.4.1401 8841Problem: Having 'autochdir' set during startup and using diff mode doesn't 8842 work. (Axel Bender) 8843Solution: Don't use 'autochdir' while still starting up. (Christian 8844 Brabandt) 8845Files: src/buffer.c 8846 8847Patch 7.4.1402 8848Problem: GTK 3 is not supported. 8849Solution: Add GTK 3 support. (Kazunobu Kuriyama) 8850Files: runtime/doc/eval.txt, runtime/doc/gui.txt, 8851 runtime/doc/gui_x11.txt, src/auto/configure, src/channel.c, 8852 src/config.h.in, src/configure.in, src/eval.c, src/gui.h, 8853 src/gui_beval.c, src/gui_beval.h, src/gui_gtk.c, src/gui_gtk_f.c, 8854 src/gui_gtk_f.h, src/gui_gtk_x11.c, src/if_mzsch.c, src/mbyte.c, 8855 src/netbeans.c, src/structs.h, src/version.c 8856 8857Patch 7.4.1403 8858Problem: Can't build without the quickfix feature. 8859Solution: Add #ifdefs. Call ex_ni() for unimplemented commands. (Yegappan 8860 Lakshmanan) 8861Files: src/ex_cmds2.c, src/popupmnu.c 8862 8863Patch 7.4.1404 8864Problem: ch_read() doesn't time out on MS-Windows. 8865Solution: Instead of WM_NETBEANS use select(). (Yukihiro Nakadaira) 8866Files: src/channel.c, src/gui_w32.c, src/os_win32.c, src/structs.h, 8867 src/testdir/test_channel.vim, src/vim.h 8868 8869Patch 7.4.1405 8870Problem: Completion menu flickers. 8871Solution: Delay showing the popup menu. (Shougo Matsu, Justin M. Keyes, 8872 closes #656) 8873Files: src/edit.c 8874 8875Patch 7.4.1406 8876Problem: Leaking memory in cs_print_tags_priv(). 8877Solution: Free tbuf. (idea by Forrest Fleming) 8878Files: src/if_cscope.c 8879 8880Patch 7.4.1407 8881Problem: json_encode() does not handle NaN and inf properly. (David 8882 Barnett) 8883Solution: For JSON turn them into "null". For JS use "NaN" and "Infinity". 8884 Add isnan(). 8885Files: src/eval.c, src/json.c, src/testdir/test_json.vim 8886 8887Patch 7.4.1408 8888Problem: MS-Windows doesn't have isnan() and isinf(). 8889Solution: Use _isnan() and _isinf(). 8890Files: src/eval.c, src/json.c 8891 8892Patch 7.4.1409 (after 7.4.1402) 8893Problem: Configure includes GUI despite --disable-gui flag. 8894Solution: Add SKIP_GTK3. (Kazunobu Kuriyama) 8895Files: src/configure.in, src/auto/configure 8896 8897Patch 7.4.1410 8898Problem: Leaking memory in cscope interface. 8899Solution: Free memory when no tab is found. (Christian Brabandt) 8900Files: src/if_cscope.c 8901 8902Patch 7.4.1411 8903Problem: Compiler warning for indent. (Ajit Thakkar) 8904Solution: Indent normally. 8905Files: src/ui.c 8906 8907Patch 7.4.1412 8908Problem: Compiler warning for indent. (Dominique Pelle) 8909Solution: Fix the indent. 8910Files: src/farsi.c 8911 8912Patch 7.4.1413 8913Problem: When calling ch_close() the close callback is invoked, even though 8914 the docs say it isn't. (Christian J. Robinson) 8915Solution: Don't call the close callback. 8916Files: src/eval.c, src/channel.c, src/netbeans.c, src/proto/channel.pro 8917 8918Patch 7.4.1414 8919Problem: Appveyor only builds one feature set. 8920Solution: Build a combination of features and GUI/console. (Christian 8921 Brabandt) 8922Files: appveyor.yml, src/appveyor.bat 8923 8924Patch 7.4.1415 (after 7.4.1414) 8925Problem: Dropped the skip-tags setting. 8926Solution: Put it back. 8927Files: appveyor.yml 8928 8929Patch 7.4.1416 8930Problem: Using "u_char" instead of "char_u", which doesn't work everywhere. 8931 (Jörg Plate) 8932Solution: Use "char_u" always. 8933Files: src/integration.c, src/macros.h 8934 8935Patch 7.4.1417 (after 7.4.1414) 8936Problem: Missing appveyor.bat from the distribution. 8937Solution: Add it to the list of files. 8938Files: Filelist 8939 8940Patch 7.4.1418 8941Problem: job_stop() on MS-Windows does not really stop the job. 8942Solution: Make the default to stop the job forcefully. (Ken Takata) 8943 Make MS-Windows and Unix more similar. 8944Files: src/os_win32.c, src/os_unix.c, runtime/doc/eval.txt 8945 8946Patch 7.4.1419 8947Problem: Tests slowed down because of the "not a terminal" warning. 8948Solution: Add the --not-a-term command line argument. 8949Files: src/main.c, src/testdir/Makefile, src/Make_all.mak, 8950 src/Make_amiga.mak, src/testdir/Make_dos.mak, 8951 src/testdir/Make_ming.mak, src/testdir/Make_vms.mms, 8952 runtime/doc/starting.txt 8953 8954Patch 7.4.1420 (after 7.4.1419) 8955Problem: Missing makefile. 8956Solution: Type the path correctly. 8957Files: src/testdir/Make_all.mak 8958 8959Patch 7.4.1421 8960Problem: May free a channel when a callback may need to be invoked. 8961Solution: Keep the channel when refcount is zero. 8962Files: src/eval.c, src/channel.c, src/proto/channel.pro 8963 8964Patch 7.4.1422 8965Problem: Error when reading fails uses wrong errno. Keeping channel open 8966 after job stops results in test failing. 8967Solution: Move the error up. Add ch_job_killed. 8968Files: src/channel.c, src/eval.c, src/structs.h 8969 8970Patch 7.4.1423 8971Problem: Channel test fails on MS-Windows. 8972Solution: Do not give an error message when reading fails, assume the other 8973 end exited. 8974Files: src/channel.c 8975 8976Patch 7.4.1424 8977Problem: Not using --not-a-term when running tests on MS-Windows. 8978Solution: Use NO_PLUGIN. (Christian Brabandt) 8979Files: src/testdir/Make_dos.mak 8980 8981Patch 7.4.1425 8982Problem: There are still references to MS-DOS support. 8983Solution: Remove most of the help txt and install instructions. (Ken Takata) 8984Files: src/INSTALLpc.txt, runtime/doc/os_msdos.txt, csdpmi4b.zip, 8985 Filelist 8986 8987Patch 7.4.1426 8988Problem: The "out-io" option for jobs is not implemented yet. 8989Solution: Implement the "buffer" value: append job output to a buffer. 8990Files: src/eval.c, src/channel.c, src/structs.h, src/netbeans.c, 8991 runtime/doc/channel.txt 8992 8993Patch 7.4.1427 8994Problem: Trailing comma in enums is not ANSI C. 8995Solution: Remove the trailing commas. 8996Files: src/alloc.h, src/gui_mac.c 8997 8998Patch 7.4.1428 8999Problem: Compiler warning for non-virtual destructor. 9000Solution: Make it virtual. (Yasuhiro Matsumoto) 9001Files: src/gui_dwrite.cpp 9002 9003Patch 7.4.1429 9004Problem: On MS-Windows, when not use renderoptions=type:directx, drawing 9005 emoji will be broken. 9006Solution: Fix usage of unicodepdy. (Yasuhiro Matsumoto) 9007Files: src/gui_w32.c 9008 9009Patch 7.4.1430 9010Problem: When encoding JSON, turning NaN and Infinity into null without 9011 giving an error is not useful. 9012Solution: Pass NaN and Infinity on. If the receiver can't handle them it 9013 will generate the error. 9014Files: src/json.c, src/testdir/test_json.vim, runtime/doc/eval.txt 9015 9016Patch 7.4.1431 9017Problem: Including header files twice. 9018Solution: Remove the extra includes. 9019Files: src/if_cscope.h 9020 9021Patch 7.4.1432 9022Problem: Typo in button text. 9023Solution: Fix the typo. (Dominique Pelle) 9024Files: src/gui_gtk.c 9025 9026Patch 7.4.1433 9027Problem: The Sniff interface is no longer useful, the tool has not been 9028 available for may years. 9029Solution: Delete the Sniff interface and related code. 9030Files: src/if_sniff.c, src/if_sniff.h, src/charset.c, src/edit.c, 9031 src/eval.c, src/ex_cmds2.c, src/ex_docmd.c, src/ex_getln.c, 9032 src/gui_gtk_x11.c, src/gui_w32.c, src/gui_x11.c, src/normal.c, 9033 src/os_unix.c, src/os_win32.c, src/term.c, src/ui.c, 9034 src/version.c, src/ex_cmds.h, src/feature.h, src/keymap.h, 9035 src/structs.h, src/vim.h, src/Make_mvc.mak, src/Make_vms.mms, 9036 src/Makefile, src/configure.in, src/auto/configure, 9037 src/config.h.in, src/config.mk.in, runtime/doc/if_sniff.txt, 9038 src/config.aap.in, src/main.aap 9039 9040Patch 7.4.1434 9041Problem: JSON encoding doesn't handle surrogate pair. 9042Solution: Improve multi-byte handling of JSON. (Yasuhiro Matsumoto) 9043Files: src/json.c, src/testdir/test_json.vim 9044 9045Patch 7.4.1435 9046Problem: It is confusing that ch_sendexpr() and ch_sendraw() wait for a 9047 response. 9048Solution: Add ch_evalexpr() and ch_evalraw(). 9049Files: src/eval.c, runtime/doc/channel.txt, runtime/doc/eval.txt, 9050 src/testdir/test_channel.vim 9051 9052Patch 7.4.1436 (after 7.4.1433) 9053Problem: Sniff files still referenced in distribution. 9054Solution: Remove sniff files from distribution. 9055Files: Filelist 9056 9057Patch 7.4.1437 9058Problem: Old system doesn't have isinf() and NAN. (Ben Fritz) 9059Solution: Adjust #ifdefs. Detect isnan() and isinf() functions with 9060 configure. Use a replacement when missing. (Kazunobu Kuriyama) 9061Files: src/eval.c, src/json.c, src/macros.h, src/message.c, 9062 src/config.h.in, src/configure.in, src/auto/configure 9063 9064Patch 7.4.1438 9065Problem: Can't get buffer number of a channel. 9066Solution: Add ch_getbufnr(). 9067Files: src/eval.c, src/channel.c, src/testdir/test_channel.vim, 9068 runtime/doc/channel.txt, runtime/doc/eval.txt 9069 9070Patch 7.4.1439 (after 7.4.1434) 9071Problem: Using uninitialized variable. 9072Solution: Initialize vc_type. 9073Files: src/json.c 9074 9075Patch 7.4.1440 (after 7.4.1437) 9076Problem: Can't build on Windows. 9077Solution: Change #ifdefs. Only define isnan when used. 9078Files: src/macros.h, src/eval.c, src/json.c 9079 9080Patch 7.4.1441 9081Problem: Using empty name instead of no name for channel buffer. 9082Solution: Remove the empty name. 9083Files: src/channel.c 9084 9085Patch 7.4.1442 9086Problem: MS-Windows: more compilation warnings for destructor. 9087Solution: Add "virtual". (Ken Takata) 9088Files: src/if_ole.cpp 9089 9090Patch 7.4.1443 9091Problem: Can't build GTK3 with small features. 9092Solution: Use gtk_widget_get_window(). Fix typos. (Dominique Pelle) 9093Files: src/gui_gtk_x11.c 9094 9095Patch 7.4.1444 9096Problem: Can't build with JSON but without multi-byte. 9097Solution: Fix pointer name. 9098Files: src/json.c 9099 9100Patch 7.4.1445 9101Problem: Memory corruption when 'encoding' is not utf-8. 9102Solution: Convert decoded string later. 9103Files: src/json.c 9104 9105Patch 7.4.1446 9106Problem: Crash when using json_decode(). 9107Solution: Terminate string with a NUL byte. 9108Files: src/json.c 9109 9110Patch 7.4.1447 9111Problem: Memory leak when using ch_read(). (Dominique Pelle) 9112 No log message when stopping a job and a few other situations. 9113 Too many "Nothing to read" messages. Channels are not freed. 9114Solution: Free the listtv. Add more log messages. Remove "Nothing to read" 9115 message. Remove the channel from the job when its refcount 9116 becomes zero. 9117Files: src/eval.c, src/channel.c 9118 9119Patch 7.4.1448 9120Problem: JSON tests fail if 'encoding' is not utf-8. 9121Solution: Force encoding to utf-8. 9122Files: src/testdir/test_json.vim 9123 9124Patch 7.4.1449 9125Problem: Build fails with job feature but without channel feature. 9126Solution: Add #ifdef. 9127Files: src/eval.c 9128 9129Patch 7.4.1450 9130Problem: Json encoding still fails when encoding is not utf-8. 9131Solution: Set 'encoding' before :scriptencoding. Run the json test 9132 separately to avoid affecting other tests. 9133Files: src/testdir/test_json.vim, src/testdir/Make_all.mak, 9134 src/testdir/test_alot.vim 9135 9136Patch 7.4.1451 9137Problem: Vim hangs when a channel has a callback but isn't referenced. 9138Solution: Have channel_unref() only return TRUE when the channel was 9139 actually freed. 9140Files: src/eval.c, src/channel.c, src/proto/channel.pro 9141 9142Patch 7.4.1452 9143Problem: When a callback adds a syntax item either the redraw doesn't 9144 happen right away or in the GUI the cursor is in the wrong 9145 position for a moment. (Jakson Alves de Aquino) 9146Solution: Redraw after the callback was invoked. 9147Files: src/channel.c 9148 9149Patch 7.4.1453 9150Problem: Missing --not-a-term. 9151Solution: Add the argument. 9152Files: src/testdir/Make_amiga.mak 9153 9154Patch 7.4.1454 9155Problem: The exit callback test is flaky. 9156Solution: Loop to wait for a short time up to a second. 9157Files: src/testdir/test_channel.vim 9158 9159Patch 7.4.1455 9160Problem: JSON decoding test for surrogate pairs is in the wrong place. 9161Solution: Move the test lines. (Ken Takata) 9162Files: src/testdir/test_json.vim 9163 9164Patch 7.4.1456 9165Problem: Test 87 fails with Python 3.5. 9166Solution: Work around difference. (Taro Muraoka) 9167Files: src/testdir/test87.in 9168 9169Patch 7.4.1457 9170Problem: Opening a channel with select() is not done properly. 9171Solution: Also used read-fds. Use getsockopt() to check for errors. (Ozaki 9172 Kiichi) 9173Files: src/channel.c 9174 9175Patch 7.4.1458 9176Problem: When a JSON channel has a callback it may never be cleared. 9177Solution: Do not write "DETACH" into a JS or JSON channel. 9178Files: src/channel.c 9179 9180Patch 7.4.1459 (after 7.4.1457) 9181Problem: MS-Windows doesn't know socklen_t. 9182Solution: Use previous method for WIN32. 9183Files: src/channel.c 9184 9185Patch 7.4.1460 9186Problem: Syntax error in rarely used code. 9187Solution: Fix the mch_rename() declaration. (Ken Takata) 9188Files: src/os_unix.c, src/proto/os_unix.pro 9189 9190Patch 7.4.1461 9191Problem: When starting job on MS-Windows all parts of the command are put 9192 in quotes. 9193Solution: Only use quotes when needed. (Yasuhiro Matsumoto) 9194Files: src/eval.c 9195 9196Patch 7.4.1462 9197Problem: Two more rarely used functions with errors. 9198Solution: Add proper argument types. (Dominique Pelle) 9199Files: src/misc2.c, src/termlib.c 9200 9201Patch 7.4.1463 9202Problem: Configure doesn't find isinf() and isnan() on some systems. 9203Solution: Use a configure check that includes math.h. 9204Files: src/configure.in, src/auto/configure 9205 9206Patch 7.4.1464 9207Problem: When the argument of sort() is zero or empty it fails. 9208Solution: Make zero work as documented. (suggested by Yasuhiro Matsumoto) 9209Files: src/eval.c, src/testdir/test_sort.vim 9210 9211Patch 7.4.1465 9212Problem: Coverity reported possible use of NULL pointer when using buffer 9213 output with JSON mode. 9214Solution: Make it actually possible to use JSON mode with a buffer. 9215 Re-encode the JSON to append it to the buffer. 9216Files: src/channel.c, src/testdir/test_channel.vim 9217 9218Patch 7.4.1466 9219Problem: Coverity reports dead code. 9220Solution: Remove the two lines. 9221Files: src/channel.c 9222 9223Patch 7.4.1467 9224Problem: Can't build without the float feature. 9225Solution: Add #ifdefs. (Nick Owens, closes #667) 9226Files: src/eval.c, src/json.c 9227 9228Patch 7.4.1468 9229Problem: Sort test doesn't test with "1" argument. 9230Solution: Also test ignore-case sorting. (Yasuhiro Matsumoto) 9231Files: src/testdir/test_sort.vim 9232 9233Patch 7.4.1469 9234Problem: Channel test sometimes fails, especially on OS/X. (Kazunobu 9235 Kuriyama) 9236Solution: Change the && into ||, call getsockopt() in more situations. 9237 (Ozaki Kiichi) 9238Files: src/channel.c 9239 9240Patch 7.4.1470 9241Problem: Coverity reports missing restore. 9242Solution: Move json_encode() call up. 9243Files: src/channel.c 9244 9245Patch 7.4.1471 9246Problem: Missing out-of-memory check. And Coverity warning. 9247Solution: Bail out when msg is NULL. 9248Files: src/channel.c 9249 9250Patch 7.4.1472 9251Problem: Coverity warning for not using return value. 9252Solution: Add "(void)". 9253Files: src/os_unix.c 9254 9255Patch 7.4.1473 9256Problem: Can't build without the autocommand feature. 9257Solution: Add #ifdefs. (Yegappan Lakshmanan) 9258Files: src/edit.c, src/main.c, src/syntax.c 9259 9260Patch 7.4.1474 9261Problem: Compiler warnings without the float feature. 9262Solution: Move #ifdefs. (John Marriott) 9263Files: src/eval.c 9264 9265Patch 7.4.1475 9266Problem: When using hangulinput with utf-8 a CSI character is 9267 misinterpreted. 9268Solution: Convert CSI to K_CSI. (SungHyun Nam) 9269Files: src/ui.c 9270 9271Patch 7.4.1476 9272Problem: Function arguments marked as unused while they are not. 9273Solution: Remove UNUSED. (Yegappan Lakshmanan) 9274Files: src/diff.c, src/eval.c, src/ex_cmds2.c, src/ex_docmd.c, 9275 src/window.c 9276 9277Patch 7.4.1477 9278Problem: Test_reltime is flaky, it depends on timing. 9279Solution: When it fails run it a second time. 9280Files: src/testdir/runtest.vim 9281 9282Patch 7.4.1478 9283Problem: ":loadplugin" doesn't take care of ftdetect files. 9284Solution: Also load ftdetect scripts when appropriate. 9285Files: src/ex_cmds2.c 9286 9287Patch 7.4.1479 9288Problem: No testfor ":loadplugin". 9289Solution: Add a test. Fix how option is being set. 9290Files: src/ex_cmds2.c, src/testdir/test_loadplugin.vim, 9291 src/testdir/Make_all.mak 9292 9293Patch 7.4.1480 9294Problem: Cannot add a pack directory without loading a plugin. 9295Solution: Add the :packadd command. 9296Files: src/ex_cmds.h, src/ex_cmds2.c, src/proto/ex_cmds2.pro, 9297 src/testdir/test_loadplugin.vim, runtime/doc/repeat.txt 9298 9299Patch 7.4.1481 9300Problem: Can't build with small features. 9301Solution: Add #ifdef. 9302Files: src/ex_cmds2.c 9303 9304Patch 7.4.1482 9305Problem: "timeout" option not supported on ch_eval*(). 9306Solution: Get and use the timeout option from the argument. 9307Files: src/eval.c, src/testdir/test_channel.vim 9308 9309Patch 7.4.1483 9310Problem: A one-time callback is not used for a raw channel. 9311Solution: Use a one-time callback when it exists. 9312Files: src/channel.c, src/testdir/test_channel.vim, 9313 src/testdir/test_channel.py 9314 9315Patch 7.4.1484 9316Problem: Channel "err-io" value "out" is not supported. 9317Solution: Connect stderr to stdout if wanted. 9318Files: src/os_unix.c, src/os_win32.c, src/testdir/test_channel.vim, 9319 src/testdir/test_channel_pipe.py 9320 9321Patch 7.4.1485 9322Problem: Job input from buffer is not implemented. 9323Solution: Implement it. Add "in-top" and "in-bot" options. 9324Files: src/structs.h, src/eval.c, src/channel.c, src/proto/channel.pro, 9325 src/os_unix.c, src/os_win32.c, src/testdir/test_channel.vim 9326 9327Patch 7.4.1486 9328Problem: ":loadplugin" is not optimal, some people find it confusing. 9329Solution: Only use ":packadd" with an optional "!". 9330Files: src/ex_cmds.h, src/ex_cmds2.c, src/testdir/test_loadplugin.vim, 9331 src/testdir/test_packadd.vim, src/testdir/Make_all.mak, 9332 runtime/doc/repeat.txt 9333 9334Patch 7.4.1487 9335Problem: For WIN32 isinf() is defined as a macro. 9336Solution: Define it as an inline function. (ZyX) 9337Files: src/macros.h 9338 9339Patch 7.4.1488 (after 7.4.1475) 9340Problem: Not using key when result from hangul_string_convert() is NULL. 9341Solution: Fall back to not converted string. 9342Files: src/ui.c 9343 9344Patch 7.4.1489 (after 7.4.1487) 9345Problem: "inline" is not supported by old MSVC. 9346Solution: use "__inline". (Ken Takata) 9347Files: src/macros.h 9348 9349Patch 7.4.1490 9350Problem: Compiler warning for unused function. 9351Solution: Add #ifdef. (Dominique Pelle) 9352Files: src/gui_gtk_x11.c 9353 9354Patch 7.4.1491 9355Problem: Visual-block shift breaks multi-byte characters. 9356Solution: Compute column differently. (Yasuhiro Matsumoto) Add a test. 9357Files: src/ops.c, src/testdir/test_visual.vim, src/testdir/Make_all.mak 9358 9359Patch 7.4.1492 9360Problem: No command line completion for ":packadd". 9361Solution: Implement completion. (Hirohito Higashi) 9362Files: src/ex_docmd.c, src/ex_getln.c, src/testdir/test_packadd.vim, 9363 src/vim.h 9364 9365Patch 7.4.1493 9366Problem: Wrong callback invoked for zero-id messages. 9367Solution: Don't use the first one-time callback when the sequence number 9368 doesn't match. 9369Files: src/channel.c, src/testdir/test_channel.vim, 9370 src/testdir/test_channel.py 9371 9372Patch 7.4.1494 9373Problem: clr_history() does not work properly. 9374Solution: Increment hisptr. Add a test. (Yegappan Lakshmanan) 9375Files: src/ex_getln.c, src/testdir/test_history.vim, 9376 src/testdir/Make_all.mak 9377 9378Patch 7.4.1495 9379Problem: Compiler warnings when building on Unix with the job feature but 9380 without the channel feature. 9381Solution: Move #ifdefs. (Dominique Pelle) 9382Files: src/os_unix.c 9383 9384Patch 7.4.1496 9385Problem: Crash when built with GUI but it's not active. (Dominique Pelle) 9386Solution: Check gui.in_use. 9387Files: src/channel.c 9388 9389Patch 7.4.1497 9390Problem: Cursor drawing problem with GTK 3. 9391Solution: Handle blinking differently. (Kazunobu Kuriyama) 9392Files: src/gui_gtk_x11.c 9393 9394Patch 7.4.1498 9395Problem: Error for locked item when using json_decode(). (Shougo Matsu) 9396Solution: Initialize v_lock. 9397Files: src/json.c 9398 9399Patch 7.4.1499 9400Problem: No error message when :packadd does not find anything. 9401Solution: Add an error message. (Hirohito Higashi) 9402Files: runtime/doc/repeat.txt, src/ex_cmds.h, src/ex_cmds2.c, 9403 src/globals.h, src/testdir/test_packadd.vim 9404 9405Patch 7.4.1500 9406Problem: Should_free flag set to FALSE. 9407Solution: Set it to TRUE. (Neovim 4415) 9408Files: src/ex_eval.c 9409 9410Patch 7.4.1501 9411Problem: Garbage collection with an open channel is not tested. 9412Solution: Call garbagecollect() in the test. 9413Files: src/testdir/test_channel.vim 9414 9415Patch 7.4.1502 9416Problem: Writing last-but-one line of buffer to a channel isn't implemented 9417 yet. 9418Solution: Implement it. Fix leaving a swap file behind. 9419Files: src/channel.c, src/structs.h, src/memline.c, src/proto/channel.pro 9420 9421Patch 7.4.1503 9422Problem: Crash when using ch_getjob(). (Damien) 9423Solution: Check for a NULL job. 9424Files: src/eval.c, src/testdir/test_channel.vim 9425 9426Patch 7.4.1504 (after 7.4.1502) 9427Problem: No test for reading last-but-one line. 9428Solution: Add a test. 9429Files: src/testdir/test_channel.vim 9430 9431Patch 7.4.1505 9432Problem: When channel log is enabled get too many "looking for messages" 9433 log entries. 9434Solution: Only give the message after another message. 9435Files: src/channel.c 9436 9437Patch 7.4.1506 9438Problem: Job cannot read from a file. 9439Solution: Implement reading from a file for Unix. 9440Files: src/eval.c, src/os_unix.c, src/os_win32.c, 9441 src/testdir/test_channel.vim 9442 9443Patch 7.4.1507 9444Problem: Crash when starting a job fails. 9445Solution: Check for the channel to be NULL. (idea by Yasuhiro Matsumoto) 9446Files: src/eval.c 9447 9448Patch 7.4.1508 9449Problem: Can't build GvimExt with MingW. 9450Solution: Adjust the makefile. (Ben Fritz) 9451Files: src/GvimExt/Make_ming.mak 9452 9453Patch 7.4.1509 9454Problem: Keeping both a variable for a job and the channel it refers to is 9455 a hassle. 9456Solution: Allow passing the job where a channel is expected. (Damien) 9457Files: src/eval.c, src/testdir/test_channel.vim 9458 9459Patch 7.4.1510 9460Problem: Channel test fails on AppVeyor. 9461Solution: Wait longer than 10 msec if needed. 9462Files: src/testdir/test_channel.vim 9463 9464Patch 7.4.1511 9465Problem: Statusline highlighting is sometimes wrong. 9466Solution: Check for Highlight type. (Christian Brabandt) 9467Files: src/buffer.c 9468 9469Patch 7.4.1512 9470Problem: Channel input from file not supported on MS-Windows. 9471Solution: Implement it. (Yasuhiro Matsumoto) 9472Files: src/os_win32.c, src/testdir/test_channel.vim 9473 9474Patch 7.4.1513 9475Problem: "J" fails if there are not enough lines. (Christian Neukirchen) 9476Solution: Reduce the count, only fail on the last line. 9477Files: src/normal.c, src/testdir/test_join.vim, src/testdir/test_alot.vim 9478 9479Patch 7.4.1514 9480Problem: Channel output to file not implemented yet. 9481Solution: Implement it for Unix. 9482Files: src/os_unix.c, src/testdir/test_channel.vim, 9483 src/testdir/test_channel_pipe.py 9484 9485Patch 7.4.1515 9486Problem: Channel test is a bit flaky. 9487Solution: Instead of a fixed sleep time wait until an expression evaluates 9488 to true. 9489Files: src/testdir/test_channel.vim 9490 9491Patch 7.4.1516 9492Problem: Cannot change file permissions. 9493Solution: Add setfperm(). 9494Files: src/eval.c, runtime/doc/eval.txt, src/testdir/test_alot.vim, 9495 src/testdir/test_file_perm.vim 9496 9497Patch 7.4.1517 9498Problem: Compiler warning with 64bit compiler. 9499Solution: Add typecast. (Mike Williams) 9500Files: src/channel.c 9501 9502Patch 7.4.1518 9503Problem: Channel with disconnected in/out/err is not supported. 9504Solution: Implement it for Unix. 9505Files: src/eval.c, src/os_unix.c, src/structs.h, 9506 src/testdir/test_channel.vim, src/testdir/test_channel_pipe.py 9507 9508Patch 7.4.1519 (after 7.4.1514) 9509Problem: Channel output to file not implemented for MS-Windows. 9510Solution: Implement it. (Yasuhiro Matsumoto) 9511Files: src/os_win32.c, src/testdir/test_channel.vim 9512 9513Patch 7.4.1520 9514Problem: Channel test: Waiting for a file to appear doesn't work. 9515Solution: In waitFor() ignore errors. 9516Files: src/testdir/test_channel.vim 9517 9518Patch 7.4.1521 (after 7.4.1516) 9519Problem: File permission test fails on MS-Windows. 9520Solution: Expect a different permission. 9521Files: src/testdir/test_file_perm.vim 9522 9523Patch 7.4.1522 9524Problem: Cannot write channel err to a buffer. 9525Solution: Implement it. 9526Files: src/channel.c, src/testdir/test_channel.vim 9527 9528Patch 7.4.1523 9529Problem: Writing channel to a file fails on MS-Windows. 9530Solution: Disable it for now. 9531Files: src/testdir/test_channel.vim 9532 9533Patch 7.4.1524 9534Problem: Channel test fails on BSD. 9535Solution: Break out of the loop when connect() succeeds. (Ozaki Kiichi) 9536Files: src/channel.c 9537 9538Patch 7.4.1525 9539Problem: On a high resolution screen the toolbar icons are too small. 9540Solution: Add "huge" and "giant" to 'toolbariconsize'. (Brian Gix) 9541Files: src/gui_gtk_x11.c, src/option.h 9542 9543Patch 7.4.1526 9544Problem: Writing to file and not connecting a channel doesn't work for 9545 MS-Windows. 9546Solution: Make it work. (Yasuhiro Matsumoto) 9547Files: src/os_win32.c, src/testdir/test_channel.vim 9548 9549Patch 7.4.1527 9550Problem: Channel test is flaky on MS-Windows. 9551Solution: Limit the select() timeout to 50 msec and try with a new socket if 9552 it fails. 9553Files: src/channel.c 9554 9555Patch 7.4.1528 9556Problem: Using "ever" for packages is confusing. 9557Solution: Use "start", as it's related to startup. 9558Files: src/ex_cmds2.c, runtime/doc/repeat.txt 9559 9560Patch 7.4.1529 9561Problem: Specifying buffer number for channel not implemented yet. 9562Solution: Implement passing a buffer number. 9563Files: src/structs.h, src/channel.c, src/eval.c, 9564 src/testdir/test_channel.vim 9565 9566Patch 7.4.1530 9567Problem: MS-Windows job_start() closes wrong handle. 9568Solution: Close hThread on the process info. (Ken Takata) 9569Files: src/os_win32.c 9570 9571Patch 7.4.1531 9572Problem: Compiler warning for uninitialized variable. (Dominique Pelle) 9573Solution: Always give the variable a value. 9574Files: src/channel.c 9575 9576Patch 7.4.1532 9577Problem: MS-Windows channel leaks file descriptor. 9578Solution: Use CreateFile with the right options. (Yasuhiro Matsumoto) 9579Files: src/os_win32.c 9580 9581Patch 7.4.1533 9582Problem: Using feedkeys() with an empty string disregards 'x' option. 9583Solution: Make 'x' work with an empty string. (Thinca) 9584Files: src/eval.c, src/testdir/test_alot.vim, 9585 src/testdir/test_feedkeys.vim 9586 9587Patch 7.4.1534 9588Problem: Compiler warning for shadowed variable. (Kazunobu Kuriyama) 9589Solution: Rename it. 9590Files: src/eval.c 9591 9592Patch 7.4.1535 9593Problem: The feedkeys test has a one second delay. 9594Solution: Avoid need_wait_return() to delay. (Hirohito Higashi) 9595Files: src/eval.c 9596 9597Patch 7.4.1536 9598Problem: Cannot re-use a channel for another job. 9599Solution: Add the "channel" option to job_start(). 9600Files: src/channel.c, src/eval.c, src/structs.h, src/os_unix.c, 9601 src/os_win32.c, src/proto/channel.pro, 9602 src/testdir/test_channel.vim 9603 9604Patch 7.4.1537 9605Problem: Too many feature flags for pipes, jobs and channels. 9606Solution: Only use FEAT_JOB_CHANNEL. 9607Files: src/structs.h, src/feature.h, src/configure.in, 9608 src/auto/configure, src/config.h.in, src/channel.c, src/eval.c, 9609 src/gui.c, src/main.c, src/memline.c, src/misc2.c, src/os_mswin.c, 9610 src/os_unix.c, src/os_win32.c, src/ui.c, src/version.c, 9611 src/macros.h, src/proto.h, src/vim.h, src/Make_cyg_ming.mak, 9612 src/Make_bc5.mak, src/Make_mvc.mak 9613 9614Patch 7.4.1538 9615Problem: Selection with the mouse does not work in command line mode. 9616Solution: Use cairo functions. (Kazunobu Kuriyama) 9617Files: src/gui_gtk_x11.c 9618 9619Patch 7.4.1539 9620Problem: Too much code in eval.c. 9621Solution: Move job and channel code to channel.c. 9622Files: src/eval.c, src/channel.c, src/proto/channel.pro, 9623 src/proto/eval.pro 9624 9625Patch 7.4.1540 9626Problem: Channel test is a bit flaky. 9627Solution: Increase expected wait time. 9628Files: src/testdir/test_channel.vim 9629 9630Patch 7.4.1541 9631Problem: Missing job_info(). 9632Solution: Implement it. 9633Files: src/eval.c, src/channel.c, src/proto/channel.pro, 9634 src/testdir/test_channel.vim, runtime/doc/eval.txt 9635 9636Patch 7.4.1542 9637Problem: job_start() with a list is not tested. 9638Solution: Call job_start() with a list. 9639Files: src/testdir/test_channel.vim 9640 9641Patch 7.4.1543 9642Problem: Channel log methods are not tested. 9643Solution: Log job activity and check it. 9644Files: src/testdir/test_channel.vim 9645 9646Patch 7.4.1544 9647Problem: On Win32 escaping the command does not work properly. 9648Solution: Reset 'ssl' when escaping the command. (Yasuhiro Matsumoto) 9649Files: src/channel.c 9650 9651Patch 7.4.1545 9652Problem: GTK3: horizontal cursor movement in Visual selection not good. 9653Solution: Make it work better. (Kazunobu Kuriyama) 9654Files: src/gui_gtk_x11.c 9655 9656Patch 7.4.1546 9657Problem: Sticky type checking is more annoying than useful. 9658Solution: Remove the error for changing a variable type. 9659Files: src/eval.c, src/testdir/test_assign.vim, 9660 src/testdir/test_alot.vim, runtime/doc/eval.txt 9661 9662Patch 7.4.1547 9663Problem: Getting a cterm highlight attribute that is not set results in the 9664 string "-1". 9665Solution: Return an empty string. (Taro Muraoka) 9666Files: src/syntax.c, src/testdir/test_alot.vim, 9667 src/testdir/test_syn_attr.vim 9668 9669Patch 7.4.1548 (after 7.4.1546) 9670Problem: Two tests fail. 9671Solution: Adjust the expected error number. Remove check for type. 9672Files: src/testdir/test101.ok, src/testdir/test55.in, 9673 src/testdir/test55.ok 9674 9675Patch 7.4.1549 (after 7.4.1547) 9676Problem: Test for syntax attributes fails in Win32 GUI. 9677Solution: Use an existing font name. 9678Files: src/testdir/test_syn_attr.vim 9679 9680Patch 7.4.1550 9681Problem: Cannot load packages early. 9682Solution: Add the ":packloadall" command. 9683Files: src/ex_cmds.h, src/ex_cmds2.c, src/main.c, 9684 src/proto/ex_cmds2.pro, src/testdir/test_packadd.vim 9685 9686Patch 7.4.1551 9687Problem: Cannot generate help tags in all doc directories. 9688Solution: Make ":helptags ALL" work. 9689Files: src/ex_cmds2.c, src/proto/ex_cmds2.pro, src/ex_cmds.c, src/vim.h 9690 src/testdir/test_packadd.vim 9691 9692Patch 7.4.1552 9693Problem: ":colorscheme" does not use 'packpath'. 9694Solution: Also use in "start" and "opt" directories in 'packpath'. 9695Files: src/ex_cmds2.c, src/gui.c, src/hardcopy.c, src/os_mswin.c, 9696 src/spell.c, src/tag.c, src/if_py_both.h, src/vim.h, 9697 src/digraph.c, src/eval.c, src/ex_docmd.c, src/main.c, 9698 src/option.c, src/syntax.c, src/testdir/test_packadd.vim 9699 9700Patch 7.4.1553 9701Problem: ":runtime" does not use 'packpath'. 9702Solution: Add "what" argument. 9703Files: src/ex_cmds2.c, src/vim.h, runtime/doc/repeat.txt, 9704 src/testdir/test_packadd.vim 9705 9706Patch 7.4.1554 9707Problem: Completion for :colorscheme does not use 'packpath'. 9708Solution: Make it work, add a test. (Hirohito Higashi) 9709Files: src/ex_getln.c, src/testdir/test_packadd.vim 9710 9711Patch 7.4.1555 9712Problem: List of test targets incomplete. 9713Solution: Add newly added tests. 9714Files: src/Makefile 9715 9716Patch 7.4.1556 9717Problem: "make install" changes the help tags file, causing it to differ 9718 from the repository. 9719Solution: Move it aside and restore it. 9720Files: src/Makefile 9721 9722Patch 7.4.1557 9723Problem: Windows cannot be identified. 9724Solution: Add a unique window number to each window and functions to use it. 9725Files: src/structs.h, src/window.c, src/eval.c, src/proto/eval.pro, 9726 src/proto/window.pro, src/testdir/test_window_id.vim, 9727 src/testdir/Make_all.mak, runtime/doc/eval.txt 9728 9729Patch 7.4.1558 9730Problem: It is not easy to find out what windows display a buffer. 9731Solution: Add win_findbuf(). 9732Files: src/eval.c, src/window.c, src/proto/window.pro, 9733 src/testdir/test_window_id.vim, runtime/doc/eval.txt 9734 9735Patch 7.4.1559 9736Problem: Passing cookie to a callback is clumsy. 9737Solution: Change function() to take arguments and return a partial. 9738Files: src/structs.h, src/channel.c, src/eval.c, src/if_python.c, 9739 src/if_python3.c, src/if_py_both.h, src/json.c, 9740 src/proto/eval.pro, src/testdir/test_partial.vim, 9741 src/testdir/test_alot.vim, runtime/doc/eval.txt 9742 9743Patch 7.4.1560 9744Problem: Dict options with a dash are more difficult to use. 9745Solution: Use an underscore, so that dict.err_io can be used. 9746Files: src/channel.c, src/structs.h, src/testdir/test_channel.vim, 9747 runtime/doc/channel.txt 9748 9749Patch 7.4.1561 (after 7.4.1559) 9750Problem: Missing update to proto file. 9751Solution: Change the proto file. 9752Files: src/proto/channel.pro 9753 9754Patch 7.4.1562 9755Problem: ":helptags ALL" crashes. (Lcd) 9756Solution: Don't free twice. 9757Files: src/ex_cmds.c 9758 9759Patch 7.4.1563 9760Problem: Partial test fails on windows. 9761Solution: Return 1 or -1 from compare function. 9762Files: src/testdir/test_partial.vim 9763 9764Patch 7.4.1564 9765Problem: An empty list in function() causes an error. 9766Solution: Handle an empty list like there is no list of arguments. 9767Files: src/eval.c, src/testdir/test_partial.vim 9768 9769Patch 7.4.1565 9770Problem: Crash when assert_equal() runs into a NULL string. 9771Solution: Check for NULL. (Dominique) Add a test. 9772Files: src/eval.c, src/testdir/test_assert.vim 9773 9774Patch 7.4.1566 9775Problem: Compiler warning for shadowed variable. (Kazunobu Kuriyama) 9776Solution: Remove the inner one. 9777Files: src/eval.c 9778 9779Patch 7.4.1567 9780Problem: Crash in assert_fails(). 9781Solution: Check for NULL. (Dominique Pelle) Add a test. 9782Files: src/eval.c, src/testdir/test_assert.vim 9783 9784Patch 7.4.1568 9785Problem: Using CTRL-] in help on option in parentheses doesn't work. 9786Solution: Skip the "(" in "('". (Hirohito Higashi) 9787Files: src/ex_cmds.c 9788 9789Patch 7.4.1569 9790Problem: Using old style tests for quickfix. 9791Solution: Change them to new style tests. (Yegappan Lakshmanan) 9792Files: src/testdir/Make_all.mak, src/testdir/test106.in, 9793 src/testdir/test106.ok, src/testdir/test_qf_title.in, 9794 src/testdir/test_qf_title.ok, src/testdir/test_quickfix.vim 9795 9796Patch 7.4.1570 9797Problem: There is no way to avoid the message when editing a file. 9798Solution: Add the "F" flag to 'shortmess'. (Shougo Matsu, closes #686) 9799Files: runtime/doc/options.txt, src/buffer.c, src/ex_cmds.c, 9800 src/option.h 9801 9802Patch 7.4.1571 9803Problem: No test for ":help". 9804Solution: Add a test for what 7.4.1568 fixed. (Hirohito Higashi) 9805Files: src/testdir/test_alot.vim, src/testdir/test_help_tagjump.vim 9806 9807Patch 7.4.1572 9808Problem: Setting 'compatible' in test influences following tests. 9809Solution: Turn 'compatible' off again. 9810Files: src/testdir/test_backspace_opt.vim 9811 9812Patch 7.4.1573 9813Problem: Tests get stuck at the more prompt. 9814Solution: Move the backspace test out of test_alot. 9815Files: src/testdir/test_alot.vim, src/testdir/Make_all.mak 9816 9817Patch 7.4.1574 9818Problem: ":undo 0" does not work. (Florent Fayolle) 9819Solution: Make it undo all the way. (closes #688) 9820Files: src/undo.c, src/testdir/test_undolevels.vim, 9821 src/testdir/test_ex_undo.vim, src/testdir/test_alot.vim 9822 9823Patch 7.4.1575 9824Problem: Using wrong size for struct. 9825Solution: Use the size for wide API. (Ken Takata) 9826Files: src/gui_w32.c 9827 9828Patch 7.4.1576 9829Problem: Write error of viminfo file is not handled properly. (Christian 9830 Neukirchen) 9831Solution: Check the return value of fclose(). (closes #682) 9832Files: src/ex_cmds.c 9833 9834Patch 7.4.1577 9835Problem: Cannot pass "dict.Myfunc" around as a partial. 9836Solution: Create a partial when expected. 9837Files: src/eval.c, src/testdir/test_partial.vim 9838 9839Patch 7.4.1578 9840Problem: There is no way to invoke a function later or periodically. 9841Solution: Add timer support. 9842Files: src/eval.c, src/ex_cmds2.c, src/screen.c, src/ex_docmd.c, 9843 src/feature.h, src/gui.c, src/proto/eval.pro, 9844 src/proto/ex_cmds2.pro, src/proto/screen.pro, src/structs.h, 9845 src/version.c, src/testdir/test_alot.vim, 9846 src/testdir/test_timers.vim, runtime/doc/eval.txt 9847 9848Patch 7.4.1579 (after 7.4.1578) 9849Problem: Missing changes in channel.c 9850Solution: Include the changes. 9851Files: src/channel.c 9852 9853Patch 7.4.1580 9854Problem: Crash when using function reference. (Luchr) 9855Solution: Set initial refcount. (Ken Takata, closes #690) 9856Files: src/eval.c, src/testdir/test_partial.vim 9857 9858Patch 7.4.1581 9859Problem: Using ":call dict.func()" where the function is a partial does 9860 not work. Using "dict.func()" where the function does not take a 9861 Dictionary does not work. 9862Solution: Handle partial properly in ":call". (Yasuhiro Matsumoto) 9863Files: src/eval.c, src/testdir/test_partial.vim, src/testdir/test55.ok 9864 9865Patch 7.4.1582 9866Problem: Get E923 when using function(dict.func, [], dict). (Kent Sibilev) 9867 Storing a function with a dict in a variable drops the dict if the 9868 function is script-local. 9869Solution: Translate the function name. Use dict arg if present. 9870Files: src/eval.c, src/testdir/test_partial.vim 9871 9872Patch 7.4.1583 9873Problem: Warning for uninitialized variable. 9874Solution: Initialize it. (Dominique) 9875Files: src/ex_cmds2.c 9876 9877Patch 7.4.1584 9878Problem: Timers don't work for Win32 console. 9879Solution: Add check_due_timer() in WaitForChar(). 9880Files: src/os_win32.c 9881 9882Patch 7.4.1585 9883Problem: Partial is not recognized everywhere. 9884Solution: Check for partial in trans_function_name(). (Yasuhiro Matsumoto) 9885 Add a test. 9886Files: src/eval.c, src/testdir/test_partial.vim 9887 9888Patch 7.4.1586 9889Problem: Nesting partials doesn't work. 9890Solution: Append arguments. (Ken Takata) 9891Files: src/eval.c, src/testdir/test_partial.vim 9892 9893Patch 7.4.1587 9894Problem: Compiler warnings with 64 bit compiler. 9895Solution: Add type casts. (Mike Williams) 9896Files: src/ex_cmds2.c 9897 9898Patch 7.4.1588 9899Problem: Old style test for quickfix. 9900Solution: Turn test 96 into a new style test. 9901Files: src/testdir/Make_all.mak, src/testdir/test96.in, 9902 src/testdir/test96.ok, src/testdir/test_quickfix.vim 9903 9904Patch 7.4.1589 9905Problem: Combining dict and args with partial doesn't always work. 9906Solution: Use the arguments from the partial. 9907Files: src/eval.c, src/testdir/test_partial.vim 9908 9909Patch 7.4.1590 9910Problem: Warning for shadowed variable. (Christian Brabandt) 9911Solution: Move the variable into a local block. 9912Files: src/eval.c 9913 9914Patch 7.4.1591 9915Problem: The quickfix title is truncated. 9916Solution: Save the command before it is truncated. (Anton Lindqvist) 9917Files: src/quickfix.c, src/testdir/test_quickfix.vim 9918 9919Patch 7.4.1592 9920Problem: Quickfix code using memory after being freed. (Dominique Pelle) 9921Solution: Detect that the window was closed. (Hirohito Higashi) 9922Files: src/quickfix.c, src/testdir/test_quickfix.vim 9923 9924Patch 7.4.1593 9925Problem: Using channel timeout instead of request timeout. (Coverity) 9926Solution: Remove the extra assignment. 9927Files: src/channel.c 9928 9929Patch 7.4.1594 9930Problem: Timers don't work on Unix. 9931Solution: Add missing code. 9932Files: src/os_unix.c 9933 9934Patch 7.4.1595 9935Problem: Not checking for failed open(). (Coverity) 9936Solution: Check file descriptor not being negative. 9937Files: src/os_unix.c 9938 9939Patch 7.4.1596 9940Problem: Memory leak. (Coverity) 9941Solution: Free the pattern. 9942Files: src/ex_cmds2.c 9943 9944Patch 7.4.1597 9945Problem: Memory leak when out of memory. (Coverity) 9946Solution: Free the name. 9947Files: src/eval.c 9948 9949Patch 7.4.1598 9950Problem: When starting the GUI fails a swap file is left behind. (Joerg 9951 Plate) 9952Solution: Preserve files before exiting. (closes #692) 9953Files: src/main.c, src/gui.c 9954 9955Patch 7.4.1599 9956Problem: No link to Coverity. 9957Solution: Add Coverity badge in README. 9958Files: README.md 9959 9960Patch 7.4.1600 9961Problem: libs directory is not useful. 9962Solution: Remove arp.library, it was only for very old Amiga versions. 9963Files: libs/arp.library, Filelist 9964 9965Patch 7.4.1601 9966Problem: README files take a lot of space in the top directory. 9967Solution: Move most of them to "READMEdir". 9968Files: Filelist, Makefile, README.txt.info, README_ami.txt, 9969 README_ami.txt.info, README_amibin.txt, README_amibin.txt.info, 9970 README_amisrc.txt, README_amisrc.txt.info, README_bindos.txt, 9971 README_dos.txt, README_extra.txt, README_mac.txt, README_ole.txt, 9972 README_os2.txt, README_os390.txt, README_src.txt, 9973 README_srcdos.txt, README_unix.txt, README_vms.txt, 9974 README_w32s.txt, READMEdir/README.txt.info, 9975 READMEdir/README_ami.txt, READMEdir/README_ami.txt.info, 9976 READMEdir/README_amibin.txt, READMEdir/README_amibin.txt.info, 9977 READMEdir/README_amisrc.txt, READMEdir/README_amisrc.txt.info, 9978 READMEdir/README_bindos.txt, READMEdir/README_dos.txt, 9979 READMEdir/README_extra.txt, READMEdir/README_mac.txt, 9980 READMEdir/README_ole.txt, READMEdir/README_os2.txt, 9981 READMEdir/README_os390.txt, READMEdir/README_src.txt, 9982 READMEdir/README_srcdos.txt, READMEdir/README_unix.txt, 9983 READMEdir/README_vms.txt, READMEdir/README_w32s.txt, 9984 9985Patch 7.4.1602 9986Problem: Info files take space in the top directory. 9987Solution: Move them to "READMEdir". 9988Files: Filelist, src.info, Contents.info, runtime.info, vimdir.info, 9989 Vim.info, Xxd.info, READMEdir/src.info, READMEdir/Contents.info, 9990 READMEdir/runtime.info, READMEdir/vimdir.info, READMEdir/Vim.info, 9991 READMEdir/Xxd.info 9992 9993Patch 7.4.1603 9994Problem: Timer with an ":echo" command messes up display. 9995Solution: Redraw depending on the mode. (Hirohito Higashi) Avoid the more 9996 prompt being used recursively. 9997Files: src/screen.c, src/message.c 9998 9999Patch 7.4.1604 10000Problem: Although emoji characters are ambiguous width, best is to treat 10001 them as full width. 10002Solution: Update the Unicode character tables. Add the 'emoji' options. 10003 (Yasuhiro Matsumoto) 10004Files: runtime/doc/options.txt, runtime/optwin.vim, 10005 runtime/tools/unicode.vim, src/mbyte.c, src/option.c, src/option.h 10006 10007Patch 7.4.1605 10008Problem: Catching exception that won't be thrown. 10009Solution: Remove try/catch. 10010Files: src/testdir/test55.in 10011 10012Patch 7.4.1606 10013Problem: Having type() handle a Funcref that is or isn't a partial 10014 differently causes problems for existing scripts. 10015Solution: Make type() return the same value. (Thinca) 10016Files: src/eval.c, src/testdir/test_viml.vim 10017 10018Patch 7.4.1607 10019Problem: Comparing a function that exists on two dicts is not backwards 10020 compatible. (Thinca) 10021Solution: Only compare the function, not what the partial adds. 10022Files: src/eval.c, src/testdir/test_alot.vim, src/testdir/test_expr.vim 10023 10024Patch 7.4.1608 10025Problem: string() doesn't handle a partial. 10026Solution: Make a string from a partial. 10027Files: src/eval.c, src/testdir/test_partial.vim 10028 10029Patch 7.4.1609 10030Problem: Contents file is only for Amiga distro. 10031Solution: Move it to "READMEdir". Update some info. 10032Files: Filelist, Contents, READMEdir/Contents 10033 10034Patch 7.4.1610 10035Problem: Compiler warnings for non-virtual destructor. 10036Solution: Mark the classes final. (Ken Takata) 10037Files: src/Make_cyg_ming.mak, src/gui_dwrite.cpp, src/if_ole.cpp 10038 10039Patch 7.4.1611 10040Problem: The versplit feature makes the code unnecessary complicated. 10041Solution: Remove FEAT_VERTSPLIT, always support vertical splits when 10042 FEAT_WINDOWS is defined. 10043Files: src/buffer.c, src/charset.c, src/eval.c, src/ex_cmds.c, 10044 src/ex_docmd.c, src/ex_getln.c, src/gui.c, src/if_lua.c, 10045 src/if_mzsch.c, src/if_ruby.c, src/main.c, src/misc1.c, 10046 src/misc2.c, src/move.c, src/normal.c, src/option.c, 10047 src/quickfix.c, src/screen.c, src/syntax.c, src/term.c, src/ui.c, 10048 src/window.c, src/globals.h, src/gui.h, src/if_py_both.h, 10049 src/option.h, src/structs.h, src/term.h 10050 src/feature.h, src/vim.h, src/version.c 10051 10052Patch 7.4.1612 (after 7.4.1611) 10053Problem: Can't build with small features. 10054Solution: Move code and #ifdefs. 10055Files: src/ex_getln.c 10056 10057Patch 7.4.1613 (after 7.4.1612) 10058Problem: Still can't build with small features. 10059Solution: Adjust #ifdefs. 10060Files: src/ex_getln.c 10061 10062Patch 7.4.1614 10063Problem: Still quickfix test in old style. 10064Solution: Turn test 10 into a new style test. 10065Files: src/testdir/Make_all.mak, src/testdir/Make_vms.mms, 10066 src/testdir/main.aap, src/testdir/test10.in, 10067 src/testdir/test10.ok, src/testdir/test_quickfix.vim, 10068 src/testdir/test10a.in, src/testdir/test10a.ok 10069 10070Patch 7.4.1615 10071Problem: Build fails with tiny features. 10072Solution: Adjust #ifdefs. 10073Files: src/normal.c, src/window.c 10074 10075Patch 7.4.1616 10076Problem: Malformed channel request causes a hang. 10077Solution: Drop malformed message. (Damien) 10078Files: src/channel.c, src/testdir/test_channel.vim, 10079 src/testdir/test_channel.py 10080 10081Patch 7.4.1617 10082Problem: When a JSON message is split it isn't decoded. 10083Solution: Wait a short time for the rest of the message to arrive. 10084Files: src/channel.c, src/json.c, src/structs.h, 10085 src/testdir/test_channel.vim, src/testdir/test_channel.py 10086 10087Patch 7.4.1618 10088Problem: Starting job with output to buffer changes options in the current 10089 buffer. 10090Solution: Set "curbuf" earlier. (Yasuhiro Matsumoto) 10091Files: src/channel.c 10092 10093Patch 7.4.1619 10094Problem: When 'fileformats' is set in the vimrc it applies to new buffers 10095 but not the initial buffer. 10096Solution: Set 'fileformat' when starting up. (Mike Williams) 10097Files: src/option.c 10098 10099Patch 7.4.1620 10100Problem: Emoji characters are not considered as a kind of word character. 10101Solution: Give emoji characters a word class number. (Yasuhiro Matsumoto) 10102Files: src/mbyte.c 10103 10104Patch 7.4.1621 10105Problem: Channel test doesn't work with Python 2.6. 10106Solution: Add number in formatting placeholder. (Wiredool) 10107Files: src/testdir/test_channel.py 10108 10109Patch 7.4.1622 10110Problem: Channel demo doesn't work with Python 2.6. 10111Solution: Add number in formatting placeholder 10112Files: runtime/tools/demoserver.py 10113 10114Patch 7.4.1623 10115Problem: All Channels share the message ID, it keeps getting bigger. 10116Solution: Use a message ID per channel. 10117Files: src/channel.c, src/proto/channel.pro, src/structs.h 10118 10119Patch 7.4.1624 10120Problem: Can't get info about a channel. 10121Solution: Add ch_info(). 10122Files: src/eval.c, src/channel.c, src/proto/channel.pro, 10123 src/testdir/test_channel.vim, runtime/doc/eval.txt 10124 10125Patch 7.4.1625 10126Problem: Trying to close file descriptor that isn't open. 10127Solution: Check for negative number. 10128Files: src/os_unix.c 10129 10130Patch 7.4.1626 (after 7.4.1624) 10131Problem: Missing changes to structs. 10132Solution: Include the changes. 10133Files: src/structs.h 10134 10135Patch 7.4.1627 10136Problem: Channel out_cb and err_cb are not tested. 10137Solution: Add a test. 10138Files: src/testdir/test_channel.vim 10139 10140Patch 7.4.1628 10141Problem: 64-bit Compiler warning. 10142Solution: Change type of variable. (Mike Williams) 10143Files: src/channel.c 10144 10145Patch 7.4.1629 10146Problem: Handling emoji characters as full width has problems with 10147 backwards compatibility. 10148Solution: Remove ambiguous and double width characters from the emoji table. 10149 Use a separate table for the character class. 10150 (partly by Yasuhiro Matsumoto) 10151Files: runtime/tools/unicode.vim, src/mbyte.c 10152 10153Patch 7.4.1630 10154Problem: Unicode table for double width is outdated. 10155Solution: Update to the latest Unicode standard. 10156Files: src/mbyte.c 10157 10158Patch 7.4.1631 10159Problem: Compiler doesn't understand switch on all enum values. (Tony 10160 Mechelynck) 10161Solution: Initialize variable. 10162Files: src/channel.c 10163 10164Patch 7.4.1632 10165Problem: List of test targets is outdated. 10166Solution: Update to current list of test targets. 10167Files: src/Makefile 10168 10169Patch 7.4.1633 10170Problem: If the help tags file was removed "make install" fails. (Tony 10171 Mechelynck) 10172Solution: Only try moving the file if it exists. 10173Files: src/Makefile 10174 10175Patch 7.4.1634 10176Problem: Vertical movement after CTRL-A ends up in the wrong column. 10177 (Urtica Dioica) 10178Solution: Set curswant when appropriate. (Hirohito Higashi) 10179Files: src/ops.c, src/testdir/test_increment.vim 10180 10181Patch 7.4.1635 10182Problem: Channel test is a bit flaky. 10183Solution: Remove 'DETACH' if it's there. 10184Files: src/testdir/test_channel.vim 10185 10186Patch 7.4.1636 10187Problem: When 'F' is in 'shortmess' the prompt for the encryption key isn't 10188 displayed. (Toothpik) 10189Solution: Reset msg_silent. 10190Files: src/ex_getln.c 10191 10192Patch 7.4.1637 10193Problem: Can't build with older MinGW compiler. 10194Solution: Change option from c++11 to gnu++11. (Ken Takata) 10195Files: src/Make_cyg_ming.mak 10196 10197Patch 7.4.1638 10198Problem: When binding a function to a dict the reference count is wrong. 10199Solution: Decrement dict reference count, only reference the function when 10200 actually making a copy. (Ken Takata) 10201Files: src/eval.c, src/testdir/test_partial.vim 10202 10203Patch 7.4.1639 10204Problem: Invoking garbage collection may cause a double free. 10205Solution: Don't free the dict in a partial when recursive is FALSE. 10206Files: src/eval.c 10207 10208Patch 7.4.1640 10209Problem: Crash when an autocommand changes a quickfix list. (Dominique) 10210Solution: Check whether an entry is still valid. (Yegappan Lakshmanan, 10211 Hirohito Higashi) 10212Files: src/quickfix.c, src/testdir/test_quickfix.vim 10213 10214Patch 7.4.1641 10215Problem: Using unterminated string. 10216Solution: Add NUL before calling vim_strsave_shellescape(). (James McCoy) 10217Files: src/eval.c, src/testdir/test105.in, src/testdir/test105.ok 10218 10219Patch 7.4.1642 10220Problem: Handling emoji characters as full width has problems with 10221 backwards compatibility. 10222Solution: Only put characters in the 1f000 range in the emoji table. 10223Files: runtime/tools/unicode.vim, src/mbyte.c 10224 10225Patch 7.4.1643 (after 7.4.1641) 10226Problem: Terminating file name has side effects. 10227Solution: Restore the character. (mostly by James McCoy, closes #713) 10228Files: src/eval.c, src/testdir/test105.in, src/testdir/test105.ok 10229 10230Patch 7.4.1644 10231Problem: Using string() on a partial that exists in the dictionary it binds 10232 results in an error. (Nikolai Pavlov) 10233Solution: Make string() not fail on a recursively nested structure. (Ken 10234 Takata) 10235Files: src/eval.c, src/testdir/test_partial.vim 10236 10237Patch 7.4.1645 10238Problem: When a dict contains a partial it can't be redefined as a 10239 function. (Nikolai Pavlov) 10240Solution: Remove the partial when overwriting with a function. 10241Files: src/eval.c, src/testdir/test_partial.vim 10242 10243Patch 7.4.1646 10244Problem: Using Python vim.bindeval() on a partial doesn't work. (Nikolai 10245 Pavlov) 10246Solution: Add VAR_PARTIAL support in Python. 10247Files: src/if_py_both.h, src/testdir/test_partial.vim 10248 10249Patch 7.4.1647 10250Problem: Using freed memory after setqflist() and ":caddbuffer". (Dominique) 10251Solution: Set qf_ptr when adding the first item to the quickfix list. 10252Files: src/quickfix.c, src/testdir/test_quickfix.vim 10253 10254Patch 7.4.1648 10255Problem: Compiler has a problem copying a string into di_key[]. (Yegappan 10256 Lakshmanan) 10257Solution: Add dictitem16_T. 10258Files: src/structs.h, src/eval.c 10259 10260Patch 7.4.1649 10261Problem: The matchit plugin needs to be copied to be used. 10262Solution: Put the matchit plugin in an optional package. 10263Files: Filelist, runtime/macros/matchit.vim, runtime/macros/matchit.txt, 10264 runtime/macros/README.txt, src/Makefile, 10265 runtime/pack/dist/opt/matchit/plugin/matchit.vim, 10266 runtime/pack/dist/opt/matchit/doc/matchit.txt, 10267 runtime/pack/dist/opt/matchit/doc/tags, 10268 runtime/doc/usr_05.txt, runtime/doc/usr_toc.txt 10269 10270Patch 7.4.1650 10271Problem: Quickfix test fails. 10272Solution: Accept any number of matches. 10273Files: src/testdir/test_quickfix.vim 10274 10275Patch 7.4.1651 10276Problem: Some dead (MSDOS) code remains. 10277Solution: Remove the unused lines. (Ken Takata) 10278Files: src/misc1.c 10279 10280Patch 7.4.1652 10281Problem: Old style test for fnamemodify(). 10282Solution: Turn it into a new style test. 10283Files: src/testdir/test105.in, src/testdir/test105.ok, 10284 src/testdir/test_fnamemodify.vim, src/testdir/test_alot.vim, 10285 src/testdir/Make_all.mak 10286 10287Patch 7.4.1653 (after 7.4.1649) 10288Problem: Users who loaded matchit.vim manually have to change their 10289 startup. (Gary Johnson) 10290Solution: Add a file in the old location that loads the package. 10291Files: runtime/macros/matchit.vim, Filelist 10292 10293Patch 7.4.1654 10294Problem: Crash when using expand('%:S') in a buffer without a name. 10295Solution: Don't set a NUL. (James McCoy, closes #714) 10296Files: src/eval.c, src/testdir/test_fnamemodify.vim 10297 10298Patch 7.4.1655 10299Problem: remote_expr() hangs. (Ramel) 10300Solution: Check for messages in the waiting loop. 10301Files: src/if_xcmdsrv.c 10302 10303Patch 7.4.1656 10304Problem: Crash when using partial with a timer. 10305Solution: Increment partial reference count. (Hirohito Higashi) 10306Files: src/eval.c, src/testdir/test_timers.vim 10307 10308Patch 7.4.1657 10309Problem: On Unix in a terminal: channel messages are not handled right away. 10310 (Jackson Alves de Aquino) 10311Solution: Break the loop for timers when something was received. 10312Files: src/os_unix.c 10313 10314Patch 7.4.1658 10315Problem: A plugin does not know when VimEnter autocommands were already 10316 triggered. 10317Solution: Add the v:vim_did_enter variable. 10318Files: src/eval.c, src/main.c, src/vim.h, src/testdir/test_autocmd.vim, 10319 src/testdir/test_alot.vim, runtime/doc/autocmd.txt, 10320 runtime/doc/eval.txt 10321 10322Patch 7.4.1659 (after 7.4.1657) 10323Problem: Compiler warning for argument type. (Manuel Ortega) 10324Solution: Remove "&". 10325Files: src/os_unix.c 10326 10327Patch 7.4.1660 10328Problem: has('patch-7.4.1') doesn't work. 10329Solution: Fix off-by-one error. (Thinca) 10330Files: src/eval.c, src/testdir/test_expr.vim, src/testdir/test60.in, 10331 src/testdir/test60.ok 10332 10333Patch 7.4.1661 10334Problem: No test for special characters in channel eval command. 10335Solution: Testing sending and receiving text with special characters. 10336Files: src/testdir/test_channel.vim, src/testdir/test_channel.py 10337 10338Patch 7.4.1662 10339Problem: No test for an invalid Ex command on a channel. 10340Solution: Test handling an invalid command gracefully. Avoid getting an 10341 error message, do write it to the channel log. 10342Files: src/channel.c, src/testdir/test_channel.vim, 10343 src/testdir/test_channel.py 10344 10345Patch 7.4.1663 10346Problem: In tests it's often useful to check if a pattern matches. 10347Solution: Add assert_match(). 10348Files: src/eval.c, src/testdir/test_assert.vim, 10349 src/testdir/test_channel.vim, runtime/doc/eval.txt 10350 10351Patch 7.4.1664 10352Problem: Crash in :cgetexpr. 10353Solution: Check for NULL pointer. (Dominique) Add a test. 10354Files: src/quickfix.c, src/testdir/test_quickfix.vim 10355 10356Patch 7.4.1665 10357Problem: Crash when calling job_start() with a NULL string. (Dominique) 10358Solution: Check for an invalid argument. 10359Files: src/channel.c, src/testdir/test_channel.vim 10360 10361Patch 7.4.1666 10362Problem: When reading JSON from a channel all readahead is used. 10363Solution: Use the fill function to reduce overhead. 10364Files: src/channel.c, src/json.c, src/structs.h 10365 10366Patch 7.4.1667 10367Problem: Win32: waiting on a pipe with fixed sleep time. 10368Solution: Start with a short delay and increase it when looping. 10369Files: src/channel.c 10370 10371Patch 7.4.1668 10372Problem: channel_get_all() does multiple allocations. 10373Solution: Compute the size and allocate once. 10374Files: src/channel.c 10375 10376Patch 7.4.1669 10377Problem: When writing buffer lines to a pipe Vim may block. 10378Solution: Avoid blocking, write more lines later. 10379Files: src/channel.c, src/misc2.c, src/os_unix.c, src/structs.h, 10380 src/vim.h, src/proto/channel.pro, src/testdir/test_channel.vim 10381 10382Patch 7.4.1670 10383Problem: Completion doesn't work well for a variable containing "#". 10384Solution: Recognize the "#". (Watiko) 10385Files: src/eval.c 10386 10387Patch 7.4.1671 10388Problem: When help exists in multiple languages, adding @ab while "ab" is 10389 the default help language is unnecessary. 10390Solution: Leave out "@ab" when not needed. (Ken Takata) 10391Files: src/ex_getln.c 10392 10393Patch 7.4.1672 10394Problem: The Dvorak support is a bit difficult to install. 10395Solution: Turn it into an optional package. 10396Files: runtime/macros/dvorak, runtime/macros/README.txt, 10397 runtime/pack/dist/opt/dvorak/plugin/dvorak.vim, 10398 runtime/pack/dist/opt/dvorak/dvorak/enable.vim, 10399 runtime/pack/dist/opt/dvorak/dvorak/disable.vim 10400 10401Patch 7.4.1673 10402Problem: The justify plugin has to be copied or sourced to be used. 10403Solution: Turn it into a package. 10404Files: runtime/macros/justify.vim, runtime/macros/README.txt, 10405 runtime/pack/dist/opt/justify/plugin/justify.vim, Filelist 10406 10407Patch 7.4.1674 10408Problem: The editexisting plugin has to be copied or sourced to be used. 10409Solution: Turn it into a package. 10410Files: runtime/macros/editexisting.vim, runtime/macros/README.txt, 10411 runtime/pack/dist/opt/editexisting/plugin/editexisting.vim, 10412 Filelist 10413 10414Patch 7.4.1675 10415Problem: The swapmous plugin has to be copied or sourced to be used. 10416Solution: Turn it into the swapmouse package. 10417Files: runtime/macros/swapmous.vim, runtime/macros/README.txt, 10418 runtime/pack/dist/opt/swapmouse/plugin/swapmouse.vim, Filelist 10419 10420Patch 7.4.1676 10421Problem: The shellmenu plugin has to be copied or sourced to be used. 10422Solution: Turn it into a package. 10423Files: runtime/macros/shellmenu.vim, runtime/macros/README.txt, 10424 runtime/pack/dist/opt/shellmenu/plugin/shellmenu.vim, Filelist 10425 10426Patch 7.4.1677 10427Problem: A reference to the removed file_select plugin remains. 10428Solution: Remove it. 10429Files: runtime/macros/README.txt 10430 10431Patch 7.4.1678 10432Problem: Warning for unused argument. 10433Solution: Add UNUSED. (Dominique Pelle) 10434Files: src/if_mzsch.c 10435 10436Patch 7.4.1679 10437Problem: Coverity: copying value of v_lock without initializing it. 10438Solution: Init v_lock in rettv_list_alloc() and rettv_dict_alloc(). 10439Files: src/eval.c 10440 10441Patch 7.4.1680 10442Problem: Coverity warns for not checking name length (false positive). 10443Solution: Only copy the characters we know are there. 10444Files: src/channel.c 10445 10446Patch 7.4.1681 10447Problem: Coverity warns for fixed size buffer length (false positive). 10448Solution: Add a check for the name length. 10449Files: src/eval.c 10450 10451Patch 7.4.1682 10452Problem: Coverity: no check for NULL. 10453Solution: Add check for invalid argument to assert_match(). 10454Files: src/eval.c 10455 10456Patch 7.4.1683 10457Problem: Generated .bat files do not support --nofork. 10458Solution: Add check for --nofork. Also add "setlocal". (Kevin Cantú, 10459 closes #659) 10460Files: src/dosinst.c 10461 10462Patch 7.4.1684 10463Problem: README text is slightly outdated. 10464Solution: Mention the READMEdir directory. 10465Files: README.md, README.txt 10466 10467Patch 7.4.1685 10468Problem: There is no easy way to get all the information about a match. 10469Solution: Add matchstrpos(). (Ozaki Kiichi) 10470Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/eval.c, 10471 src/testdir/test_alot.vim, src/testdir/test_matchstrpos.vim 10472 10473Patch 7.4.1686 10474Problem: When running tests $HOME/.viminfo is written. (James McCoy) 10475Solution: Add 'nviminfo' to the 'viminfo' option. (closes #722) 10476Files: src/testdir/test_backspace_opt.vim, src/testdir/test_viminfo.vim, 10477 src/testdir/runtest.vim. 10478 10479Patch 7.4.1687 10480Problem: The channel close_cb option does not work. 10481Solution: Use jo_close_partial instead of jo_err_partial. (Damien) 10482Files: src/channel.c, src/testdir/test_channel.vim 10483 10484Patch 7.4.1688 10485Problem: MzScheme does not support partial. 10486Solution: Add minimal partial support. (Ken Takata) 10487Files: src/if_mzsch.c 10488 10489Patch 7.4.1689 10490Problem: Ruby interface has inconsistent coding style. 10491Solution: Fix the coding style. (Ken Takata) 10492Files: src/if_ruby.c 10493 10494Patch 7.4.1690 10495Problem: Can't compile with the conceal feature but without multi-byte. 10496Solution: Adjust #ifdef. (Owen Leibman) 10497Files: src/eval.c, src/window.c 10498 10499Patch 7.4.1691 10500Problem: When switching to a new buffer and an autocommand applies syntax 10501 highlighting an ml_get error may occur. 10502Solution: Check "syn_buf" against the buffer in the window. (Alexander von 10503 Buddenbrock, closes #676) 10504Files: src/syntax.c 10505 10506Patch 7.4.1692 10507Problem: feedkeys('i', 'x') gets stuck, waits for a character to be typed. 10508Solution: Behave like ":normal". (Yasuhiro Matsumoto) 10509Files: src/eval.c, src/testdir/test_feedkeys.vim 10510 10511Patch 7.4.1693 10512Problem: Building the Perl interface gives compiler warnings. 10513Solution: Remove a pragma. Add noreturn attributes. (Damien) 10514Files: src/if_perl.xs 10515 10516Patch 7.4.1694 10517Problem: Win32 gvim doesn't work with "dvorakj" input method. 10518Solution: Wait for QS_ALLINPUT instead of QS_ALLEVENTS. (Yukihiro Nakadaira) 10519Files: src/gui_w32.c 10520 10521Patch 7.4.1695 10522Problem: ":syn reset" clears the effect ":syn iskeyword". (James McCoy) 10523Solution: Remove clearing the syntax keywords. 10524Files: src/syntax.c 10525 10526Patch 7.4.1696 10527Problem: When using :stopinsert in a silent mapping the "INSERT" message 10528 isn't cleared. (Coacher) 10529Solution: Always clear the message. (Christian Brabandt, closes #718) 10530Files: src/ex_docmd.c, src/proto/screen.pro, src/screen.c 10531 10532Patch 7.4.1697 10533Problem: Display problems when the 'ambiwidth' and 'emoji' options are not 10534 set properly or the terminal doesn't behave as expected. 10535Solution: After drawing an ambiguous width character always position the 10536 cursor. 10537Files: src/mbyte.c, src/screen.c, src/proto/mbyte.pro 10538 10539Patch 7.4.1698 10540Problem: Two tests fail when running tests with MinGW. (Michael Soyka) 10541Solution: Convert test_getcwd.ok test_wordcount.ok to unix fileformat. 10542Files: src/testdir/Make_ming.mak 10543 10544Patch 7.4.1699 10545Problem: :packadd does not work the same when used early or late. 10546Solution: Always load plugins matching "plugin/**/*.vim". 10547Files: src/ex_cmds2.c, src/testdir/test_packadd.vim 10548 10549Patch 7.4.1700 10550Problem: Equivalence classes are not properly tested. 10551Solution: Add tests for multi-byte and latin1. Fix an error. (Owen Leibman) 10552Files: src/regexp.c, src/testdir/Make_all.mak, 10553 src/testdir/test_alot_latin.vim, src/testdir/test_alot_utf8.vim, 10554 src/testdir/test_regexp_latin.vim, 10555 src/testdir/test_regexp_utf8.vim 10556 10557Patch 7.4.1701 10558Problem: Equivalence classes still tested in old style tests. 10559Solution: Remove the duplicate. 10560Files: src/testdir/test44.in, src/testdir/test44.ok, 10561 src/testdir/test99.in, src/testdir/test99.ok 10562 10563Patch 7.4.1702 10564Problem: Using freed memory when parsing 'printoptions' fails. 10565Solution: Save the old options and restore them in case of an error. 10566 (Dominique) 10567Files: src/hardcopy.c, src/testdir/test_hardcopy.vim 10568 10569Patch 7.4.1703 10570Problem: Can't assert for not equal and not matching. 10571Solution: Add assert_notmatch() and assert_notequal(). 10572Files: src/eval.c, runtime/doc/eval.txt, src/testdir/test_assert.vim 10573 10574Patch 7.4.1704 10575Problem: Using freed memory with "wincmd p". (Dominique Pelle) 10576Solution: Also clear "prevwin" in other tab pages. 10577Files: src/window.c 10578 10579Patch 7.4.1705 10580Problem: The 'guifont' option does not allow for a quality setting. 10581Solution: Add the "q" item, supported on MS-Windows. (Yasuhiro Matsumoto) 10582Files: runtime/doc/options.txt, src/gui_w32.c, src/os_mswin.c, 10583 src/proto/os_mswin.pro 10584 10585Patch 7.4.1706 10586Problem: Old style function declaration breaks build. 10587Solution: Remove __ARGS(). 10588Files: src/proto/os_mswin.pro 10589 10590Patch 7.4.1707 10591Problem: Cannot use empty dictionary key, even though it can be useful. 10592Solution: Allow using an empty dictionary key. 10593Files: src/hashtab.c, src/eval.c, src/testdir/test_expr.vim 10594 10595Patch 7.4.1708 10596Problem: New regexp engine does not work properly with EBCDIC. 10597Solution: Define equivalence class characters. (Owen Leibman) 10598Files: src/regexp_nfa.c 10599 10600Patch 7.4.1709 10601Problem: Mistake in #ifdef. 10602Solution: Change PROOF_QUALITY to DRAFT_QUALITY. (Ken Takata) 10603Files: src/os_mswin.c 10604 10605Patch 7.4.1710 10606Problem: Not all output of an external command is read. 10607Solution: Avoid timing out when the process has exited. (closes #681) 10608Files: src/os_unix.c 10609 10610Patch 7.4.1711 10611Problem: When using try/catch in 'statusline' it is still considered an 10612 error and the status line will be disabled. 10613Solution: Check did_emsg instead of called_emsg. (haya14busa, closes #729) 10614Files: src/screen.c, src/testdir/test_statusline.vim, 10615 src/testdir/test_alot.vim 10616 10617Patch 7.4.1712 10618Problem: For plugins in packages, plugin authors need to take care of all 10619 dependencies. 10620Solution: When loading "start" packages and for :packloadall, first add all 10621 directories to 'runtimepath' before sourcing plugins. 10622Files: src/ex_cmds2.c, src/testdir/test_packadd.vim 10623 10624Patch 7.4.1713 10625Problem: GTK GUI doesn't work on Wayland. 10626Solution: Specify that only the X11 backend is allowed. (Simon McVittie) 10627Files: src/gui_gtk_x11.c 10628 10629Patch 7.4.1714 10630Problem: Non-GUI specific settings in the gvimrc_example file. 10631Solution: Move some settings to the vimrc_example file. Remove setting 10632 'hlsearch' again. (suggested by Hirohito Higashi) 10633Files: runtime/vimrc_example.vim, runtime/gvimrc_example.vim 10634 10635Patch 7.4.1715 10636Problem: Double free when a partial is in a cycle with a list or dict. 10637 (Nikolai Pavlov) 10638Solution: Do not free a nested list or dict used by the partial. 10639Files: src/eval.c, src/testdir/test_partial.vim 10640 10641Patch 7.4.1716 10642Problem: 'autochdir' doesn't work for the first file. (Rob Hoelz) 10643Solution: Call DO_AUTOCHDIR after startup. (Christian Brabandt, closes #704) 10644Files: src/main.c 10645 10646Patch 7.4.1717 10647Problem: Leaking memory when opening a channel fails. 10648Solution: Unreference partials in job options. 10649Files: src/eval.c, src/channel.c, src/proto/channel.pro, 10650 src/testdir/test_channel.vim 10651 10652Patch 7.4.1718 10653Problem: Coverity: not using return value of set_ref_in_item(). 10654Solution: Use the return value. 10655Files: src/eval.c 10656 10657Patch 7.4.1719 10658Problem: Leaking memory when there is a cycle involving a job and a 10659 partial. 10660Solution: Add a copyID to job and channel. Set references in items referred 10661 by them. Go through all jobs and channels to find unreferenced 10662 items. Also, decrement reference counts when garbage collecting. 10663Files: src/eval.c, src/channel.c, src/netbeans.c, src/globals.h, 10664 src/ops.c, src/regexp.c, src/tag.c, src/proto/channel.pro, 10665 src/proto/eval.pro, src/testdir/test_partial.vim, src/structs.h 10666 10667Patch 7.4.1720 10668Problem: Tests fail without the job feature. 10669Solution: Skip tests when the job feature is not present. 10670Files: src/testdir/test_partial.vim 10671 10672Patch 7.4.1721 10673Problem: The vimtbar files are unused. 10674Solution: Remove them. (Ken Takata) 10675Files: src/vimtbar.dll, src/vimtbar.h, src/vimtbar.lib, Filelist 10676 10677Patch 7.4.1722 10678Problem: Crash when calling garbagecollect() after starting a job. 10679Solution: Set the copyID on job and channel. (Hirohito Higashi, Ozaki 10680 Kiichi) 10681Files: src/eval.c 10682 10683Patch 7.4.1723 10684Problem: When using try/catch in 'tabline' it is still considered an 10685 error and the tabline will be disabled. 10686Solution: Check did_emsg instead of called_emsg. (haya14busa, closes #746) 10687Files: src/screen.c, src/testdir/test_tabline.vim, 10688 src/testdir/test_alot.vim 10689 10690Patch 7.4.1724 (after 7.4.1723) 10691Problem: Tabline test fails in GUI. 10692Solution: Remove 'e' from 'guioptions'. 10693Files: src/testdir/test_tabline.vim 10694 10695Patch 7.4.1725 10696Problem: Compiler errors for non-ANSI compilers. 10697Solution: Remove // comment. Remove comma at end of enum. (Michael Jarvis) 10698Files: src/eval.c 10699 10700Patch 7.4.1726 10701Problem: ANSI compiler complains about string length. 10702Solution: Split long string in two parts. (Michael Jarvis) 10703Files: src/ex_cmds.c 10704 10705Patch 7.4.1727 10706Problem: Cannot detect a crash in tests when caused by garbagecollect(). 10707Solution: Add garbagecollect_for_testing(). Do not free a job if is still 10708 useful. 10709Files: src/channel.c, src/eval.c, src/getchar.c, src/main.c, src/vim.h, 10710 src/proto/eval.pro, src/testdir/runtest.vim, 10711 src/testdir/test_channel.vim, runtime/doc/eval.txt 10712 10713Patch 7.4.1728 10714Problem: The help for functions require a space after the "(". 10715Solution: Make CTRL-] on a function name ignore the arguments. (Hirohito 10716 Higashi) 10717Files: src/ex_cmds.c, src/testdir/test_help_tagjump.vim, 10718 runtime/doc/eval.txt 10719 10720Patch 7.4.1729 10721Problem: The Perl interface cannot use 'print' operator for writing 10722 directly in standard IO. 10723Solution: Add a minimal implementation of PerlIO Layer feature and try to 10724 use it for STDOUT/STDERR. (Damien) 10725Files: src/if_perl.xs, src/testdir/test_perl.vim 10726 10727Patch 7.4.1730 10728Problem: It is not easy to get a character out of a string. 10729Solution: Add strgetchar() and strcharpart(). 10730Files: src/eval.c, src/testdir/test_expr.vim 10731 10732Patch 7.4.1731 10733Problem: Python: turns partial into simple funcref. 10734Solution: Use partials like partials. (Nikolai Pavlov, closes #734) 10735Files: runtime/doc/if_pyth.txt, src/eval.c, src/if_py_both.h, 10736 src/if_python.c, src/if_python3.c, src/proto/eval.pro, 10737 src/testdir/test86.in, src/testdir/test86.ok, 10738 src/testdir/test87.in, src/testdir/test87.ok 10739 10740Patch 7.4.1732 10741Problem: Folds may close when using autocomplete. (Anmol Sethi) 10742Solution: Increment/decrement disable_fold. (Christian Brabandt, closes 10743 #643) 10744Files: src/edit.c, src/fold.c, src/globals.h 10745 10746Patch 7.4.1733 10747Problem: "make install" doesn't know about cross-compiling. (Christian 10748 Neukirchen) 10749Solution: Add CROSS_COMPILING. (closes #740) 10750Files: src/configure.in, src/auto/configure, src/config.mk.in, 10751 src/Makefile 10752 10753Patch 7.4.1734 (after 7.4.1730) 10754Problem: Test fails when not using utf-8. 10755Solution: Split test in regular and utf-8 part. 10756Files: src/testdir/test_expr.vim, src/testdir/test_expr_utf8.vim, 10757 src/testdir/test_alot_utf8.vim 10758 10759Patch 7.4.1735 10760Problem: It is not possible to only see part of the message history. It is 10761 not possible to clear messages. 10762Solution: Add a count to ":messages" and a clear argument. (Yasuhiro 10763 Matsumoto) 10764Files: runtime/doc/message.txt, src/ex_cmds.h, src/message.c, 10765 src/testdir/test_messages.vim, src/testdir/test_alot.vim 10766 10767Patch 7.4.1736 (after 7.4.1731) 10768Problem: Unused variable. 10769Solution: Remove it. (Yasuhiro Matsumoto) 10770Files: src/if_py_both.h 10771 10772Patch 7.4.1737 10773Problem: Argument marked as unused is used. 10774Solution: Remove UNUSED. 10775Files: src/message.c 10776 10777Patch 7.4.1738 10778Problem: Count for ":messages" depends on number of lines. 10779Solution: Add ADDR_OTHER address type. 10780Files: src/ex_cmds.h 10781 10782Patch 7.4.1739 10783Problem: Messages test fails on MS-Windows. 10784Solution: Adjust the asserts. Skip the "messages maintainer" line if not 10785 showing all messages. 10786Files: src/message.c, src/testdir/test_messages.vim 10787 10788Patch 7.4.1740 10789Problem: syn-cchar defined with matchadd() does not appear if there are no 10790 other syntax definitions which matches buffer text. 10791Solution: Check for startcol. (Ozaki Kiichi, haya14busa, closes #757) 10792Files: src/screen.c, src/testdir/Make_all.mak, 10793 src/testdir/test_alot_utf8.vim, src/testdir/test_match_conceal.in, 10794 src/testdir/test_match_conceal.ok, 10795 src/testdir/test_matchadd_conceal.vim, 10796 src/testdir/test_matchadd_conceal_utf8.vim, 10797 src/testdir/test_undolevels.vim 10798 10799Patch 7.4.1741 10800Problem: Not testing utf-8 characters. 10801Solution: Move the right asserts to the test_expr_utf8 test. 10802Files: src/testdir/test_expr.vim, src/testdir/test_expr_utf8.vim 10803 10804Patch 7.4.1742 10805Problem: strgetchar() does not work correctly. 10806Solution: use mb_cptr2len(). Add a test. (Naruhiko Nishino) 10807Files: src/eval.c, src/testdir/test_expr_utf8.vim 10808 10809Patch 7.4.1743 10810Problem: Clang warns for uninitialized variable. (Michael Jarvis) 10811Solution: Initialize it. 10812Files: src/if_py_both.h 10813 10814Patch 7.4.1744 10815Problem: Python: Converting a sequence may leak memory. 10816Solution: Decrement a reference. (Nikolai Pavlov) 10817Files: src/if_py_both.h 10818 10819Patch 7.4.1745 10820Problem: README file is not clear about where to get Vim. 10821Solution: Add links to github, releases and the Windows installer. 10822 (Suggested by Christian Brabandt) 10823Files: README.md, README.txt 10824 10825Patch 7.4.1746 10826Problem: Memory leak in Perl. 10827Solution: Decrement the reference count. Add a test. (Damien) 10828Files: src/if_perl.xs, src/testdir/test_perl.vim 10829 10830Patch 7.4.1747 10831Problem: Coverity: missing check for NULL pointer. 10832Solution: Check for out of memory. 10833Files: src/if_py_both.h 10834 10835Patch 7.4.1748 10836Problem: "gD" does not find match in first column of first line. (Gary 10837 Johnson) 10838Solution: Accept match at the cursor. 10839Files: src/normal.c, src/testdir/test_goto.vim, src/testdir/test_alot.vim 10840 10841Patch 7.4.1749 10842Problem: When using GTK 3.20 there are a few warnings. 10843Solution: Use new functions when available. (Kazunobu Kuriyama) 10844Files: src/gui_beval.c src/gui_gtk_x11.c 10845 10846Patch 7.4.1750 10847Problem: When a buffer gets updated while in command line mode, the screen 10848 may be messed up. 10849Solution: Postpone the redraw when the screen is scrolled. 10850Files: src/channel.c 10851 10852Patch 7.4.1751 10853Problem: Crash when 'tagstack' is off. (Dominique Pelle) 10854Solution: Fix it. (Hirohito Higashi) 10855Files: src/tag.c, src/testdir/test_alot.vim, src/testdir/test_tagjump.vim 10856 10857Patch 7.4.1752 10858Problem: When adding to the quickfix list the current position is reset. 10859Solution: Do not reset the position when not needed. (Yegappan Lakshmanan) 10860Files: src/quickfix.c, src/testdir/test_quickfix.vim 10861 10862Patch 7.4.1753 10863Problem: "noinsert" in 'completeopt' is sometimes ignored. 10864Solution: Set the variables when the 'completeopt' was set. (Ozaki Kiichi) 10865Files: src/edit.c, src/option.c, src/proto/edit.pro 10866 10867Patch 7.4.1754 10868Problem: When 'filetype' was set and reloading a buffer which does not 10869 cause it to be set, the syntax isn't loaded. (KillTheMule) 10870Solution: Remember whether the FileType event was fired and fire it if not. 10871 (Anton Lindqvist, closes #747) 10872Files: src/fileio.c, src/testdir/test_syntax.vim 10873 10874Patch 7.4.1755 10875Problem: When using getreg() on a non-existing register a NULL list is 10876 returned. (Bjorn Linse) 10877Solution: Allocate an empty list. Add a test. 10878Files: src/eval.c, src/testdir/test_expr.vim 10879 10880Patch 7.4.1756 10881Problem: "dll" options are not expanded. 10882Solution: Expand environment variables. (Ozaki Kiichi) 10883Files: src/option.c, src/testdir/test_alot.vim, 10884 src/testdir/test_expand_dllpath.vim 10885 10886Patch 7.4.1757 10887Problem: When using complete() it may set 'modified' even though nothing 10888 was inserted. 10889Solution: Use Down/Up instead of Next/Previous match. (Shougo Matsu, closes 10890 #745) 10891Files: src/edit.c 10892 10893Patch 7.4.1758 10894Problem: Triggering CursorHoldI when in CTRL-X mode causes problems. 10895Solution: Do not trigger CursorHoldI in CTRL-X mode. Add "!" flag to 10896 feedkeys() (test with that didn't work though). 10897Files: src/edit.c, src/eval.c 10898 10899Patch 7.4.1759 10900Problem: When using feedkeys() in a timer the inserted characters are not 10901 used right away. 10902Solution: Break the wait loop when characters have been added to typebuf. 10903 use this for testing CursorHoldI. 10904Files: src/gui.c, src/os_win32.c, src/os_unix.c, 10905 src/testdir/test_autocmd.vim 10906 10907Patch 7.4.1760 (after 7.4.1759) 10908Problem: Compiler warning for unused variable. 10909Solution: Add #ifdef. (John Marriott) 10910Files: src/os_win32.c 10911 10912Patch 7.4.1761 10913Problem: Coverity complains about ignoring return value. 10914Solution: Add "(void)" to get rid of the warning. 10915Files: src/eval.c 10916 10917Patch 7.4.1762 10918Problem: Coverity: useless assignments. 10919Solution: Remove them. 10920Files: src/search.c 10921 10922Patch 7.4.1763 10923Problem: Coverity: useless assignment. 10924Solution: Add #if 0. 10925Files: src/spell.c 10926 10927Patch 7.4.1764 10928Problem: C++ style comment. (Ken Takata) 10929Solution: Finish the work started here: don't call perror() when stderr 10930 isn't working. 10931Files: src/os_unix.c 10932 10933Patch 7.4.1765 10934Problem: Undo options are not together in the options window. 10935Solution: Put them together. (Gary Johnson) 10936Files: runtime/optwin.vim 10937 10938Patch 7.4.1766 10939Problem: Building instructions for MS-Windows are outdated. 10940Solution: Mention setting SDK_INCLUDE_DIR. (Ben Franklin, closes #771) Move 10941 outdated instructions further down. 10942Files: src/INSTALLpc.txt 10943 10944Patch 7.4.1767 10945Problem: When installing Vim on a GTK system the icon cache is not updated. 10946Solution: Update the GTK icon cache when possible. (Kazunobu Kuriyama) 10947Files: src/Makefile, src/configure.in, src/config.mk.in, 10948 src/auto/configure 10949 10950Patch 7.4.1768 10951Problem: Arguments of setqflist() are not checked properly. 10952Solution: Add better checks, add a test. (Nikolai Pavlov, Hirohito Higashi, 10953 closes #661) 10954Files: src/eval.c, src/testdir/test_quickfix.vim 10955 10956Patch 7.4.1769 10957Problem: No "closed", "errors" and "encoding" attribute on Python output. 10958Solution: Add attributes and more tests. (Roland Puntaier, closes #622) 10959Files: src/if_py_both.h, src/if_python.c, src/if_python3.c, 10960 src/testdir/test86.in, src/testdir/test86.ok, 10961 src/testdir/test87.in, src/testdir/test87.ok 10962 10963Patch 7.4.1770 10964Problem: Cannot use true color in the terminal. 10965Solution: Add the 'guicolors' option. (Nikolai Pavlov) 10966Files: runtime/doc/options.txt, runtime/doc/term.txt, 10967 runtime/doc/various.txt, src/auto/configure, src/config.h.in, 10968 src/configure.in, src/eval.c, src/globals.h, src/hardcopy.c, 10969 src/option.c, src/option.h, src/proto/term.pro, src/screen.c, 10970 src/structs.h, src/syntax.c, src/term.c, src/term.h, 10971 src/version.c, src/vim.h 10972 10973Patch 7.4.1771 (after 7.4.1768) 10974Problem: Warning for unused variable. 10975Solution: Add #ifdef. (John Marriott) 10976Files: src/eval.c 10977 10978Patch 7.4.1772 (after 7.4.1767) 10979Problem: Installation fails when $GTK_UPDATE_ICON_CACHE is empty. 10980Solution: Add quotes. (Kazunobu Kuriyama) 10981Files: src/Makefile 10982 10983Patch 7.4.1773 (after 7.4.1770) 10984Problem: Compiler warnings. (Dominique Pelle) 10985Solution: Add UNUSED. Add type cast. Avoid a buffer overflow. 10986Files: src/syntax.c, src/term.c 10987 10988Patch 7.4.1774 (after 7.4.1770) 10989Problem: Cterm true color feature has warnings. 10990Solution: Add type casts. 10991Files: src/screen.c, src/syntax.c, src/term.c 10992 10993Patch 7.4.1775 10994Problem: The rgb.txt file is not installed. 10995Solution: Install the file. (Christian Brabandt) 10996Files: src/Makefile 10997 10998Patch 7.4.1776 10999Problem: Using wrong buffer length. 11000Solution: use the right name. (Kazunobu Kuriyama) 11001Files: src/term.c 11002 11003Patch 7.4.1777 11004Problem: Newly added features can escape the sandbox. 11005Solution: Add checks for restricted and secure. (Yasuhiro Matsumoto) 11006Files: src/eval.c 11007 11008Patch 7.4.1778 11009Problem: When using the term truecolor feature, the t_8f and t_8b termcap 11010 options are not set by default. 11011Solution: Move the values to before BT_EXTRA_KEYS. (Christian Brabandt) 11012Files: src/term.c 11013 11014Patch 7.4.1779 11015Problem: Using negative index in strcharpart(). (Yegappan Lakshmanan) 11016Solution: Assume single byte when using a negative index. 11017Files: src/eval.c 11018 11019Patch 7.4.1780 11020Problem: Warnings reported by cppcheck. 11021Solution: Fix the warnings. (Dominique Pelle) 11022Files: src/ex_cmds2.c, src/json.c, src/misc1.c, src/ops.c, 11023 src/regexp_nfa.c 11024 11025Patch 7.4.1781 11026Problem: synIDattr() does not respect 'guicolors'. 11027Solution: Change the condition for the mode. (Christian Brabandt) 11028Files: src/eval.c 11029 11030Patch 7.4.1782 11031Problem: strcharpart() does not work properly with some multi-byte 11032 characters. 11033Solution: Use mb_cptr2len() instead of mb_char2len(). (Hirohito Higashi) 11034Files: src/eval.c, src/testdir/test_expr_utf8.vim 11035 11036Patch 7.4.1783 11037Problem: The old regexp engine doesn't handle character classes correctly. 11038 (Manuel Ortega) 11039Solution: Use regmbc() instead of regc(). Add a test. 11040Files: src/regexp.c, src/testdir/test_regexp_utf8.vim 11041 11042Patch 7.4.1784 11043Problem: The termtruecolor feature is enabled differently from many other 11044 features. 11045Solution: Enable the termtruecolor feature for the big build, not through 11046 configure. 11047Files: src/configure.in, src/config.h.in, src/auto/configure, 11048 src/feature.h 11049 11050Patch 7.4.1785 (after 7.4.1783) 11051Problem: Regexp test fails on windows. 11052Solution: set 'isprint' to the right value for testing. 11053Files: src/testdir/test_regexp_utf8.vim 11054 11055Patch 7.4.1786 11056Problem: Compiled-in colors do not match rgb.txt. 11057Solution: Use the rgb.txt colors. (Kazunobu Kuriyama) 11058Files: src/term.c 11059 11060Patch 7.4.1787 11061Problem: When a job ends the close callback is invoked before other 11062 callbacks. On Windows the close callback is not called. 11063Solution: First invoke out/err callbacks before the close callback. 11064 Make the close callback work on Windows. 11065Files: src/channel.c, src/proto/channel.pro, 11066 src/testdir/test_channel.vim, src/testdir/test_channel_pipe.py 11067 11068Patch 7.4.1788 11069Problem: NSIS script is missing packages. 11070Solution: Add the missing directories. (Ken Takata) 11071Files: nsis/gvim.nsi 11072 11073Patch 7.4.1789 11074Problem: Cannot use ch_read() in the close callback. 11075Solution: Do not discard the channel if there is readahead. Do not discard 11076 readahead if there is a close callback. 11077Files: src/eval.c, src/channel.c, src/proto/channel.pro, 11078 src/testdir/test_channel.vim 11079 11080Patch 7.4.1790 11081Problem: Leading white space in a job command matters. (Andrew Stewart) 11082Solution: Skip leading white space. 11083Files: src/os_unix.c 11084 11085Patch 7.4.1791 11086Problem: Channel could be garbage collected too early. 11087Solution: Don't free a channel or remove it from a job when it is still 11088 useful. 11089Files: src/channel.c 11090 11091Patch 7.4.1792 11092Problem: Color name decoding is implemented several times. 11093Solution: Move it to term.c. (Christian Brabandt) 11094Files: src/gui_mac.c, src/gui_photon.c, src/gui_w32.c, 11095 src/proto/term.pro, src/term.c 11096 11097Patch 7.4.1793 11098Problem: Some character classes may differ between systems. On OS/X the 11099 regexp test fails. 11100Solution: Make this less dependent on the system. (idea by Kazunobu Kuriyama) 11101Files: src/regexp.c, src/regexp_nfa.c 11102 11103Patch 7.4.1794 (after 7.4.1792) 11104Problem: Can't build on MS-Windows. 11105Solution: Add missing declaration. 11106Files: src/gui_w32.c 11107 11108Patch 7.4.1795 11109Problem: Compiler warning for redefining RGB. (John Marriott) 11110Solution: Rename it to TORGB. 11111Files: src/term.c 11112 11113Patch 7.4.1796 (after 7.4.1795) 11114Problem: Colors are wrong on MS-Windows. (Christian Robinson) 11115Solution: Use existing RGB macro if it exists. (Ken Takata) 11116Files: src/term.c 11117 11118Patch 7.4.1797 11119Problem: Warning from Windows 64 bit compiler. 11120Solution: Change int to size_t. (Mike Williams) 11121Files: src/term.c 11122 11123Patch 7.4.1798 11124Problem: Still compiler warning for unused return value. (Charles Campbell) 11125Solution: Assign to ignoredp. 11126Files: src/term.c 11127 11128Patch 7.4.1799 11129Problem: 'guicolors' is a confusing option name. 11130Solution: Use 'termguicolors' instead. (Hirohito Higashi, Ken Takata) 11131Files: runtime/doc/options.txt, runtime/doc/term.txt, 11132 runtime/doc/various.txt, runtime/syntax/dircolors.vim, src/eval.c, 11133 src/feature.h, src/globals.h, src/hardcopy.c, src/option.c, 11134 src/option.h, src/proto/term.pro, src/screen.c, src/structs.h, 11135 src/syntax.c, src/term.c, src/version.c, src/vim.h 11136 11137Patch 7.4.1800 (after 7.4.1799) 11138Problem: Unnecessary #ifdef. 11139Solution: Just use USE_24BIT. (Ken Takata) 11140Files: src/syntax.c 11141 11142Patch 7.4.1801 11143Problem: Make uninstall leaves file behind. 11144Solution: Delete rgb.txt. (Kazunobu Kuriyama) 11145Files: src/Makefile 11146 11147Patch 7.4.1802 11148Problem: Quickfix doesn't handle long lines well, they are split. 11149Solution: Drop characters after a limit. (Anton Lindqvist) 11150Files: src/quickfix.c, src/testdir/test_quickfix.vim, 11151 src/testdir/samples/quickfix.txt 11152 11153Patch 7.4.1803 11154Problem: GTK3 doesn't handle menu separators properly. 11155Solution: Use gtk_separator_menu_item_new(). (Kazunobu Kuriyama) 11156Files: src/gui_gtk.c 11157 11158Patch 7.4.1804 11159Problem: Can't use Vim as MANPAGER. 11160Solution: Add manpager.vim. (Enno Nagel, closes #491) 11161Files: runtime/doc/filetype.txt, runtime/plugin/manpager.vim 11162 11163Patch 7.4.1805 11164Problem: Running tests in shadow dir fails. 11165Solution: Link the samples directory 11166Files: src/Makefile 11167 11168Patch 7.4.1806 11169Problem: 'termguicolors' option missing from the options window. 11170Solution: Add the entry. 11171Files: runtime/optwin.vim 11172 11173Patch 7.4.1807 11174Problem: Test_out_close_cb sometimes fails. 11175Solution: Always write DETACH to out, not err. 11176Files: src/channel.c, src/testdir/test_channel.vim 11177 11178Patch 7.4.1808 (after 7.4.1806) 11179Problem: Using wrong feature name to check for 'termguicolors'. 11180Solution: Use the right feature name. (Ken Takata) 11181Files: runtime/optwin.vim 11182 11183Patch 7.4.1809 (after 7.4.1808) 11184Problem: Using wrong short option name for 'termguicolors'. 11185Solution: Use the option name. 11186Files: runtime/optwin.vim 11187 11188Patch 7.4.1810 11189Problem: Sending DETACH after a channel was closed isn't useful. 11190Solution: Only add DETACH for a netbeans channel. 11191Files: src/channel.c, src/testdir/test_channel.vim 11192 11193Patch 7.4.1811 11194Problem: Netbeans channel gets garbage collected. 11195Solution: Set reference in nb_channel. 11196Files: src/eval.c, src/netbeans.c, src/proto/netbeans.pro 11197 11198Patch 7.4.1812 11199Problem: Failure on startup with Athena and Motif. 11200Solution: Check for INVALCOLOR. (Kazunobu Kuriyama) 11201Files: src/syntax.c, src/vim.h 11202 11203Patch 7.4.1813 11204Problem: Memory access error when running test_quickfix. 11205Solution: Allocate one more byte. (Yegappan Lakshmanan) 11206Files: src/quickfix.c 11207 11208Patch 7.4.1814 11209Problem: A channel may be garbage collected while it's still being used by 11210 a job. (James McCoy) 11211Solution: Mark the channel as used if the job is still used. Do the same 11212 for channels that are still used. 11213Files: src/eval.c, src/channel.c, src/proto/channel.pro 11214 11215Patch 7.4.1815 11216Problem: Compiler warnings for unused variables. (Ajit Thakkar) 11217Solution: Add a dummy initialization. (Yasuhiro Matsumoto) 11218Files: src/quickfix.c 11219 11220Patch 7.4.1816 11221Problem: Looping over a null list throws an error. 11222Solution: Skip over the for loop. 11223Files: src/eval.c, src/testdir/test_expr.vim 11224 11225Patch 7.4.1817 11226Problem: The screen is not updated if a callback is invoked when closing a 11227 channel. 11228Solution: Invoke redraw_after_callback(). 11229Files: src/channel.c 11230 11231Patch 7.4.1818 11232Problem: Help completion adds @en to all matches except the first one. 11233Solution: Remove "break", go over all items. 11234Files: src/ex_getln.c 11235 11236Patch 7.4.1819 11237Problem: Compiler warnings when sprintf() is a macro. 11238Solution: Don't interrupt sprintf() with an #ifdef. (Michael Jarvis, 11239 closes #788) 11240Files: src/fileio.c, src/tag.c, src/term.c 11241 11242Patch 7.4.1820 11243Problem: Removing language from help tags too often. 11244Solution: Only remove @en when not needed. (Hirohito Higashi) 11245Files: src/ex_getln.c, src/testdir/test_help_tagjump.vim 11246 11247Patch 7.4.1821 (after 7.4.1820) 11248Problem: Test fails on MS-Windows. 11249Solution: Sort the completion results. 11250Files: src/testdir/test_help_tagjump.vim 11251 11252Patch 7.4.1822 11253Problem: Redirecting stdout of a channel to "null" doesn't work. (Nicola) 11254Solution: Correct the file descriptor number. 11255Files: src/os_unix.c 11256 11257Patch 7.4.1823 11258Problem: Warning from 64 bit compiler. 11259Solution: Add type cast. (Mike Williams) 11260Files: src/quickfix.c 11261 11262Patch 7.4.1824 11263Problem: When a job is no longer referenced and does not have an exit 11264 callback the process may hang around in defunct state. (Nicola) 11265Solution: Call job_status() if the job is running and won't get freed 11266 because it might still be useful. 11267Files: src/channel.c 11268 11269Patch 7.4.1825 11270Problem: When job writes to buffer nothing is written. (Nicola) 11271Solution: Do not discard a channel before writing is done. 11272Files: src/channel.c 11273 11274Patch 7.4.1826 11275Problem: Callbacks are invoked when it's not safe. (Andrew Stewart) 11276Solution: When a channel is to be closed don't invoke callbacks right away, 11277 wait for a safe moment. 11278Files: src/structs.h, src/channel.c 11279 11280Patch 7.4.1827 11281Problem: No error when invoking a callback when it's not safe. 11282Solution: Add an error message. Avoid the error when freeing a channel. 11283Files: src/structs.h, src/channel.c 11284 11285Patch 7.4.1828 11286Problem: May try to access buffer that's already freed. 11287Solution: When freeing a buffer remove it from any channel. 11288Files: src/buffer.c, src/channel.c, src/proto/channel.pro 11289 11290Patch 7.4.1829 (after 7.4.1828) 11291Problem: No message on channel log when buffer was freed. 11292Solution: Log a message. 11293Files: src/channel.c 11294 11295Patch 7.4.1830 11296Problem: non-antialiased misnamed. 11297Solution: Use NONANTIALIASED and NONANTIALIASED_QUALITY. (Kim Brouer, 11298 closes #793) 11299Files: src/os_mswin.c, runtime/doc/options.txt 11300 11301Patch 7.4.1831 11302Problem: When timer_stop() is called with a string there is no proper error 11303 message. 11304Solution: Require getting a number. (Bjorn Linse) 11305Files: src/eval.c 11306 11307Patch 7.4.1832 11308Problem: Memory leak in debug commands. 11309Solution: Free memory before overwriting the pointer. (hint by Justin Keyes) 11310Files: src/ex_cmds2.c 11311 11312Patch 7.4.1833 11313Problem: Cannot use an Ex command for 'keywordprg'. 11314Solution: Accept an Ex command. (Nelo-Thara Wallus) 11315Files: src/normal.c, runtime/doc/options.txt 11316 11317Patch 7.4.1834 11318Problem: Possible crash when conceal is active. 11319Solution: Check for the screen to be valid when redrawing a line. 11320Files: src/screen.c 11321 11322Patch 7.4.1835 11323Problem: When splitting and closing a window the status height changes. 11324Solution: Compute the frame height correctly. (Hirohito Higashi) 11325Files: src/window.c, src/testdir/test_alot.vim, 11326 src/testdir/test_window_cmd.vim 11327 11328Patch 7.4.1836 11329Problem: When using a partial on a dictionary it always gets bound to that 11330 dictionary. 11331Solution: Make a difference between binding a function to a dictionary 11332 explicitly or automatically. 11333Files: src/structs.h, src/eval.c, src/testdir/test_partial.vim, 11334 runtime/doc/eval.txt 11335 11336Patch 7.4.1837 11337Problem: The BufUnload event is triggered twice, when :bunload is used with 11338 `bufhidden` set to `unload` or `delete`. 11339Solution: Do not trigger the event when ml_mfp is NULL. (Hirohito Higashi) 11340Files: src/buffer.c, src/testdir/test_autocmd.vim 11341 11342Patch 7.4.1838 11343Problem: Functions specifically for testing do not sort together. 11344Solution: Rename garbagecollect_for_testing() to test_garbagecollect_now(). 11345 Add test_null_list(), test_null_dict(), etc. 11346Files: src/eval.c, src/testdir/test_expr.vim, 11347 src/testdir/test_channel.vim, runtime/doc/eval.txt 11348 11349Patch 7.4.1839 11350Problem: Cannot get the items stored in a partial. 11351Solution: Support using get() on a partial. 11352Files: src/eval.c, src/testdir/test_partial.vim, runtime/doc/eval.txt 11353 11354Patch 7.4.1840 11355Problem: When using packages an "after" directory cannot be used. 11356Solution: Add the "after" directory of the package to 'runtimepath' if it 11357 exists. 11358Files: src/ex_cmds2.c, src/testdir/test_packadd.vim 11359 11360Patch 7.4.1841 11361Problem: The code to reallocate the buffer used for quickfix is repeated. 11362Solution: Move the code to a function. (Yegappan Lakshmanan, closes #831) 11363Files: src/quickfix.c, src/testdir/test_quickfix.vim 11364 11365Patch 7.4.1842 (after 7.4.1839) 11366Problem: get() works for Partial but not for Funcref. 11367Solution: Accept Funcref. Also return the function itself. (Nikolai Pavlov) 11368Files: src/eval.c, src/testdir/test_partial.vim, runtime/doc/eval.txt 11369 11370Patch 7.4.1843 11371Problem: Tests involving Python are flaky. 11372Solution: Set the pt_auto field. Add tests. (Nikolai Pavlov) 11373Files: runtime/doc/if_pyth.txt, src/if_py_both.h, src/testdir/test86.in, 11374 src/testdir/test86.ok, src/testdir/test87.in, 11375 src/testdir/test87.ok 11376 11377Patch 7.4.1844 11378Problem: Using old function name in comment. More functions should start 11379 with test_. 11380Solution: Rename function in comment. (Hirohito Higashi) Rename 11381 disable_char_avail_for_testing() to test_disable_char_avail(). 11382 And alloc_fail() to test_alloc_fail(). 11383Files: src/eval.c, src/getchar.c, src/testdir/runtest.vim, 11384 src/testdir/test_cursor_func.vim, src/testdir/test_quickfix.vim, 11385 runtime/doc/eval.txt 11386 11387Patch 7.4.1845 11388Problem: Mentioning NetBeans when reading from channel. (Ramel Eshed) 11389Solution: Make the text more generic. 11390Files: src/channel.c 11391 11392Patch 7.4.1846 11393Problem: Ubsan detects a multiplication overflow. 11394Solution: Don't use orig_mouse_time when it's zero. (Dominique Pelle) 11395Files: src/term.c 11396 11397Patch 7.4.1847 11398Problem: Getting an item from a NULL dict crashes. Setting a register to a 11399 NULL list crashes. (Nikolai Pavlov, issue #768) Comparing a NULL 11400 dict with a NULL dict fails. 11401Solution: Properly check for NULL. 11402Files: src/eval.c, src/testdir/test_expr.vim 11403 11404Patch 7.4.1848 11405Problem: Can't build with Strawberry Perl 5.24. 11406Solution: Define S_SvREFCNT_dec() if needed. (Damien, Ken Takata) 11407Files: src/if_perl.xs 11408 11409Patch 7.4.1849 11410Problem: Still trying to read from channel that is going to be closed. 11411 (Ramel Eshed) 11412Solution: Check if ch_to_be_closed is set. 11413Files: src/channel.c 11414 11415Patch 7.4.1850 11416Problem: GUI freezes when using a job. (Shougo Matsu) 11417Solution: Unregister the channel when there is an input error. 11418Files: src/channel.c 11419 11420Patch 7.4.1851 11421Problem: test_syn_attr fails when using the GUI. (Dominique Pelle) 11422Solution: Escape the font name properly. 11423Files: src/testdir/test_syn_attr.vim 11424 11425Patch 7.4.1852 11426Problem: Unix: Cannot run all tests with the GUI. 11427Solution: Add the "testgui" target. 11428Files: src/Makefile, src/testdir/Makefile 11429 11430Patch 7.4.1853 11431Problem: Crash when job and channel are in the same dict while using 11432 partials. (Luc Hermitte) 11433Solution: Do not decrement the channel reference count too early. 11434Files: src/channel.c 11435 11436Patch 7.4.1854 11437Problem: When setting 'termguicolors' the Ignore highlighting doesn't work. 11438 (Charles Campbell) 11439Solution: Handle the color names "fg" and "bg" when the GUI isn't running 11440 and no colors are specified, fall back to black and white. 11441Files: src/syntax.c 11442 11443Patch 7.4.1855 11444Problem: Valgrind reports memory leak for job that is not freed. 11445Solution: Free all jobs on exit. Add test for failing job. 11446Files: src/channel.c, src/misc2.c, src/proto/channel.pro, 11447 src/testdir/test_partial.vim 11448 11449Patch 7.4.1856 (after 7.4.1855) 11450Problem: failing job test fails on MS-Windows. 11451Solution: Expect "fail" status instead of "dead". 11452Files: src/testdir/test_partial.vim 11453 11454Patch 7.4.1857 11455Problem: When a channel appends to a buffer that is 'nomodifiable' there is 11456 an error but appending is done anyway. 11457Solution: Add the 'modifiable' option. Refuse to write to a 'nomodifiable' 11458 when the value is 1. 11459Files: src/structs.h, src/channel.c, src/testdir/test_channel.vim, 11460 runtime/doc/channel.txt 11461 11462Patch 7.4.1858 11463Problem: When a channel writes to a buffer it doesn't find a buffer by the 11464 short name but re-uses it anyway. 11465Solution: Find buffer also by the short name. 11466Files: src/channel.c, src/buffer.c, src/vim.h 11467 11468Patch 7.4.1859 11469Problem: Cannot use a function reference for "exit_cb". 11470Solution: Use get_callback(). (Yegappan Lakshmanan) 11471Files: src/channel.c, src/structs.h 11472 11473Patch 7.4.1860 11474Problem: Using a partial for timer_start() may cause a crash. 11475Solution: Set the copyID in timer objects. (Ozaki Kiichi) 11476Files: src/testdir/test_timers.vim, src/eval.c, src/ex_cmds2.c, 11477 src/proto/ex_cmds2.pro 11478 11479Patch 7.4.1861 11480Problem: Compiler warnings with 64 bit compiler. 11481Solution: Change int to size_t. (Mike Williams) 11482Files: src/ex_cmds2.c 11483 11484Patch 7.4.1862 11485Problem: string() with repeated argument does not give a result usable by 11486 eval(). 11487Solution: Refactor echo_string and tv2string(), moving the common part to 11488 echo_string_core(). (Ken Takata) 11489Files: src/eval.c, src/testdir/test_viml.vim, src/testdir/test86.ok, 11490 src/testdir/test87.ok 11491 11492Patch 7.4.1863 11493Problem: Compiler warnings on Win64. 11494Solution: Adjust types, add type casts. (Ken Takata) 11495Files: src/if_mzsch.c, src/if_perl.xs, src/if_ruby.c, src/version.c 11496 11497Patch 7.4.1864 11498Problem: Python: encoding error with Python 2. 11499Solution: Use "getcwdu" instead of "getcwd". (Ken Takata) 11500Files: src/if_py_both.h 11501 11502Patch 7.4.1865 11503Problem: Memory leaks in test49. (Dominique Pelle) 11504Solution: Use NULL instead of an empty string. 11505Files: src/eval.c 11506 11507Patch 7.4.1866 11508Problem: Invalid memory access when exiting with EXITFREE defined. 11509 (Dominique Pelle) 11510Solution: Set "really_exiting" and skip error messages. 11511Files: src/misc2.c, src/eval.c 11512 11513Patch 7.4.1867 11514Problem: Memory leak in test_matchstrpos. 11515Solution: Free the string before overwriting. (Yegappan Lakshmanan) 11516Files: src/eval.c 11517 11518Patch 7.4.1868 11519Problem: Setting really_exiting causes memory leaks to be reported. 11520Solution: Add the in_free_all_mem flag. 11521Files: src/globals.h, src/misc2.c, src/eval.c 11522 11523Patch 7.4.1869 11524Problem: Can't build with old version of Perl. 11525Solution: Define PERLIO_FUNCS_DECL. (Tom G. Christensen) 11526Files: src/if_perl.xs 11527 11528Patch 7.4.1870 (after 7.4.1863) 11529Problem: One more Win64 compiler warning. 11530Solution: Change declared argument type. (Ken Takata) 11531Files: src/if_mzsch.c 11532 11533Patch 7.4.1871 11534Problem: Appending to the quickfix list while the quickfix window is open 11535 is very slow. 11536Solution: Do not delete all the lines, only append the new ones. Avoid 11537 using a window while updating the list. (closes #841) 11538Files: src/quickfix.c 11539 11540Patch 7.4.1872 11541Problem: Still build problem with old version of Perl. 11542Solution: Also define SvREFCNT_inc_void_NN if needed. (Tom G. Christensen) 11543Files: src/if_perl.xs 11544 11545Patch 7.4.1873 11546Problem: When a callback adds a timer the GUI doesn't use it until later. 11547 (Ramel Eshed) 11548Solution: Return early if a callback adds a timer. 11549Files: src/ex_cmds2.c, src/gui_gtk_x11.c, src/gui_w32.c, src/gui_x11.c, 11550 src/globals.h 11551 11552Patch 7.4.1874 11553Problem: Unused variable in Win32 code. 11554Solution: Remove it. (Mike Williams) 11555Files: src/gui_w32.c 11556 11557Patch 7.4.1875 11558Problem: Comparing functions and partials doesn't work well. 11559Solution: Add tests. (Nikolai Pavlov) Compare the dict and arguments in the 11560 partial. (closes #813) 11561Files: src/eval.c, src/testdir/test_partial.vim 11562 11563Patch 7.4.1876 11564Problem: Typing "k" at the hit-enter prompt has no effect. 11565Solution: Don't assume recursive use of the prompt if a character was typed. 11566 (Hirohito Higashi) 11567Files: src/message.c 11568 11569Patch 7.4.1877 11570Problem: No test for invoking "close_cb" when writing to a buffer. 11571Solution: Add using close_cb to a test case. 11572Files: src/testdir/test_channel.vim 11573 11574Patch 7.4.1878 11575Problem: Whether a job has exited isn't detected until a character is 11576 typed. After calling exit_cb the cursor is in the wrong place. 11577Solution: Don't wait forever for a character to be typed when there is a 11578 pending job. Update the screen if needed after calling exit_cb. 11579Files: src/os_unix.c, src/channel.c, src/proto/channel.pro 11580 11581Patch 7.4.1879 (after 7.4.1877) 11582Problem: Channel test is flaky. 11583Solution: Wait for close_cb to be invoked. 11584Files: src/testdir/test_channel.vim 11585 11586Patch 7.4.1880 11587Problem: MS-Windows console build defaults to not having +channel. 11588Solution: Include the channel feature if building with huge features. 11589Files: src/Make_mvc.mak 11590 11591Patch 7.4.1881 11592Problem: Appending to a long quickfix list is slow. 11593Solution: Add qf_last. 11594Files: src/quickfix.c 11595 11596Patch 7.4.1882 11597Problem: Check for line break at end of line wrong. (Dominique Pelle) 11598Solution: Correct the logic. 11599Files: src/quickfix.c 11600 11601Patch 7.4.1883 11602Problem: Cppcheck found 2 incorrect printf formats. 11603Solution: Use %ld and %lx. (Dominique Pelle) 11604Files: src/VisVim/Commands.cpp, src/gui_mac.c 11605 11606Patch 7.4.1884 11607Problem: Updating marks in a quickfix list is very slow when the list is 11608 long. 11609Solution: Only update marks if the buffer has a quickfix entry. 11610Files: src/structs.h, src/quickfix.c 11611 11612Patch 7.4.1885 11613Problem: MinGW console build defaults to not having +channel. 11614Solution: Include the channel feature if building with huge features. (Ken 11615 Takata) 11616Files: src/Make_cyg_ming.mak 11617 11618Patch 7.4.1886 11619Problem: When waiting for a character is interrupted by receiving channel 11620 data and the first character of a mapping was typed, the mapping 11621 times out. (Ramel Eshed) 11622Solution: When dealing with channel data don't return from mch_inchar(). 11623Files: src/getchar.c, src/proto/getchar.pro, src/os_unix.c 11624 11625Patch 7.4.1887 11626Problem: When receiving channel data 'updatetime' is not respected. 11627Solution: Recompute the waiting time after being interrupted. 11628Files: src/os_unix.c 11629 11630Patch 7.4.1888 11631Problem: Wrong computation of remaining wait time in RealWaitForChar() 11632Solution: Remember the original waiting time. 11633Files: src/os_unix.c 11634 11635Patch 7.4.1889 11636Problem: When umask is set to 0177 Vim can't create temp files. (Lcd) 11637Solution: Also correct umask when using mkdtemp(). 11638Files: src/fileio.c 11639 11640Patch 7.4.1890 11641Problem: GUI: When channel data is received the cursor blinking is 11642 interrupted. (Ramel Eshed) 11643Solution: Don't update the cursor when it is blinking. 11644Files: src/screen.c, src/gui_gtk_x11.c, src/proto/gui_gtk_x11.pro, 11645 src/gui_mac.c, src/proto/gui_mac.pro, src/gui_photon.c, 11646 src/proto/gui_photon.pro, src/gui_w32.c, src/proto/gui_w32.pro, 11647 src/gui_x11.c, src/proto/gui_x11.pro 11648 11649Patch 7.4.1891 11650Problem: Channel reading very long lines is slow. 11651Solution: Collapse multiple buffers until a NL is found. 11652Files: src/channel.c, src/netbeans.c, src/proto/channel.pro, 11653 src/structs.h 11654 11655Patch 7.4.1892 11656Problem: balloon eval only gets the window number, not the ID. 11657Solution: Add v:beval_winid. 11658Files: src/eval.c, src/gui_beval.c, src/vim.h 11659 11660Patch 7.4.1893 11661Problem: Cannot easily get the window ID for a buffer. 11662Solution: Add bufwinid(). 11663Files: src/eval.c, runtime/doc/eval.txt 11664 11665Patch 7.4.1894 11666Problem: Cannot get the window ID for a mouse click. 11667Solution: Add v:mouse_winid. 11668Files: src/eval.c, src/vim.h, runtime/doc/eval.txt 11669 11670Patch 7.4.1895 11671Problem: Cannot use a window ID where a window number is expected. 11672Solution: Add LOWEST_WIN_ID, so that the window ID can be used where a 11673 number is expected. 11674Files: src/window.c, src/eval.c, src/vim.h, runtime/doc/eval.txt, 11675 src/testdir/test_window_id.vim 11676 11677Patch 7.4.1896 11678Problem: Invoking mark_adjust() when adding a new line below the last line 11679 is pointless. 11680Solution: Skip calling mark_adjust() when appending below the last line. 11681Files: src/misc1.c, src/ops.c 11682 11683Patch 7.4.1897 11684Problem: Various typos, long lines and style mistakes. 11685Solution: Fix the typos, wrap lines, improve style. 11686Files: src/buffer.c, src/ex_docmd.c, src/getchar.c, src/option.c, 11687 src/main.aap, src/testdir/README.txt, 11688 src/testdir/test_reltime.vim, src/testdir/test_tagjump.vim, 11689 src/INSTALL, src/config.aap.in, src/if_mzsch.c 11690 11691Patch 7.4.1898 11692Problem: User commands don't support modifiers. 11693Solution: Add the <mods> item. (Yegappan Lakshmanan, closes #829) 11694Files: runtime/doc/map.txt, src/ex_docmd.c, src/testdir/Make_all.mak, 11695 src/testdir/test_usercommands.vim 11696 11697Patch 7.4.1899 11698Problem: GTK 3: cursor blinking doesn't work well. 11699Solution: Instead of gui_gtk_window_clear() use gui_mch_clear_block(). 11700 (Kazunobu Kuriyama) 11701Files: src/gui_gtk_x11.c 11702 11703Patch 7.4.1900 11704Problem: Using CTRL-] in the help on "{address}." doesn't work. 11705Solution: Recognize an item in {}. (Hirohito Higashi, closes #814) 11706Files: src/ex_cmds.c, src/testdir/test_help_tagjump.vim 11707 11708Patch 7.4.1901 11709Problem: Win32: the "Disabled" menu items would appear enabled. 11710Solution: Use submenu_id if there is a parent. (Shane Harper, closes #834) 11711Files: src/gui_w32.c 11712 11713Patch 7.4.1902 11714Problem: No test for collapsing buffers for a channel. Some text is lost. 11715Solution: Add a simple test. Set rq_buflen correctly. 11716Files: src/channel.c, src/testdir/test_channel.vim, 11717 src/testdir/test_channel_pipe.py 11718 11719Patch 7.4.1903 11720Problem: When writing viminfo merging current history with history in 11721 viminfo may drop recent history entries. 11722Solution: Add new format for viminfo lines, use it for history entries. Use 11723 a timestamp for ordering the entries. Add test_settime(). 11724 Add the viminfo version. Does not do merging on timestamp yet. 11725Files: src/eval.c, src/ex_getln.c, src/ex_cmds.c, src/structs.h, 11726 src/globals.h, src/proto/ex_cmds.pro, src/proto/ex_getln.pro, 11727 src/testdir/test_viminfo.vim 11728 11729Patch 7.4.1904 (after 7.4.1903) 11730Problem: Build fails. 11731Solution: Add missing changes. 11732Files: src/vim.h 11733 11734Patch 7.4.1905 (after 7.4.1903) 11735Problem: Some compilers can't handle a double semicolon. 11736Solution: Remove one semicolon. 11737Files: src/ex_cmds.c 11738 11739Patch 7.4.1906 11740Problem: Collapsing channel buffers and searching for NL does not work 11741 properly. (Xavier de Gaye, Ramel Eshed) 11742Solution: Do not assume the buffer contains a NUL or not. Change NUL bytes 11743 to NL to avoid the string is truncated. 11744Files: src/channel.c, src/netbeans.c, src/proto/channel.pro 11745 11746Patch 7.4.1907 11747Problem: Warnings from 64 bit compiler. 11748Solution: Change type to size_t. (Mike Williams) 11749Files: src/ex_cmds.c 11750 11751Patch 7.4.1908 11752Problem: Netbeans uses uninitialized pointer and freed memory. 11753Solution: Set "buffer" at the right place (hint by Ken Takata) 11754Files: src/netbeans.c 11755 11756Patch 7.4.1909 11757Problem: Doubled semicolons. 11758Solution: Reduce to one. (Dominique Pelle) 11759Files: src/dosinst.c, src/fold.c, src/gui_gtk_x11.c, src/gui_w32.c, 11760 src/main.c, src/misc2.c 11761 11762Patch 7.4.1910 11763Problem: Tests using external command to delete directory. 11764Solution: Use delete(). 11765Files: src/testdir/test17.in, src/testdir/test73.in, 11766 src/testdir/test_getcwd.in 11767 11768Patch 7.4.1911 11769Problem: Recent history lines may be lost when exiting Vim. 11770Solution: Merge history using the timestamp. 11771Files: src/ex_getln.c, src/ex_cmds.c, src/vim.h, src/proto/ex_getln.pro, 11772 src/testdir/test_viminfo.vim 11773 11774Patch 7.4.1912 11775Problem: No test for using setqflist() on an older quickfix list. 11776Solution: Add a couple of tests. 11777Files: src/testdir/test_quickfix.vim 11778 11779Patch 7.4.1913 11780Problem: When ":doautocmd" is used modelines are used even when no 11781 autocommands were executed. (Daniel Hahler) 11782Solution: Skip processing modelines. (closes #854) 11783Files: src/fileio.c, src/ex_cmds.c, src/ex_docmd.c, src/proto/fileio.pro 11784 11785Patch 7.4.1914 11786Problem: Executing autocommands while using the signal stack has a high 11787 chance of crashing Vim. 11788Solution: Don't invoke autocommands when on the signal stack. 11789Files: src/os_unix.c 11790 11791Patch 7.4.1915 11792Problem: The effect of the PopupMenu autocommand isn't directly visible. 11793Solution: Call gui_update_menus() before displaying the popup menu. (Shane 11794 Harper, closes #855) 11795Files: src/menu.c 11796 11797Patch 7.4.1916 (after 7.4.1906) 11798Problem: No proper test for what 7.4.1906 fixes. 11799Solution: Add a test for reading many lines. 11800Files: src/testdir/test_channel.vim 11801 11802Patch 7.4.1917 11803Problem: History lines read from viminfo in different encoding than when 11804 writing are not converted. 11805Solution: Convert the history lines. 11806Files: src/ex_cmds.c, src/testdir/test_viminfo.vim 11807 11808Patch 7.4.1918 11809Problem: Not enough testing for parsing viminfo lines. 11810Solution: Add test with viminfo lines in bad syntax. Fix memory leak. 11811Files: src/ex_cmds.c, src/ex_getln.c, src/testdir/test_viminfo.vim 11812 11813Patch 7.4.1919 11814Problem: Register contents is not merged when writing viminfo. 11815Solution: Use timestamps for register contents. 11816Files: src/ops.c, src/ex_getln.c, src/ex_cmds.c, src/proto/ex_cmds.pro, 11817 src/proto/ex_getln.pro, src/proto/ops.pro, src/vim.h 11818 11819Patch 7.4.1920 (after 7.4.1919) 11820Problem: Missing test changes. 11821Solution: Update viminfo test. 11822Files: src/testdir/test_viminfo.vim 11823 11824Patch 7.4.1921 (after 7.4.1919) 11825Problem: vim_time() not included when needed. 11826Solution: Adjust #ifdef. 11827Files: src/ex_cmds.c 11828 11829Patch 7.4.1922 11830Problem: Ruby 2.4.0 unifies Fixnum and Bignum into Integer. 11831Solution: Use rb_cInteger. (Weiyong Mao) 11832Files: src/if_ruby.c 11833 11834Patch 7.4.1923 11835Problem: Command line editing is not tested much. 11836Solution: Add tests for expanding the file name and 'wildmenu'. 11837Files: src/testdir/test_cmdline.vim, src/testdir/Make_all.mak 11838 11839Patch 7.4.1924 11840Problem: Missing "void" for functions without argument. 11841Solution: Add "void". (Hirohito Higashi) 11842Files: src/channel.c, src/edit.c, src/ex_cmds2.c, src/ops.c, src/screen.c 11843 11844Patch 7.4.1925 11845Problem: Viminfo does not merge file marks properly. 11846Solution: Use a timestamp. Add the :clearjumps command. 11847Files: src/mark.c, src/ex_cmds.c, src/ex_docmd.c, src/proto/mark.pro, 11848 src/structs.h, src/vim.h, src/ex_cmds.h, 11849 src/testdir/test_viminfo.vim 11850 11851Patch 7.4.1926 11852Problem: Possible crash with many history items. 11853Solution: Avoid the index going past the last item. 11854Files: src/ex_getln.c 11855 11856Patch 7.4.1927 11857Problem: Compiler warning for signed/unsigned. 11858Solution: Add type cast. 11859Files: src/if_mzsch.c 11860 11861Patch 7.4.1928 11862Problem: Overwriting pointer argument. 11863Solution: Assign to what it points to. (Dominique Pelle) 11864Files: src/fileio.c 11865 11866Patch 7.4.1929 11867Problem: Inconsistent indenting and weird name. 11868Solution: Fix indent, make name all upper case. (Ken Takata) 11869Files: src/if_ruby.c 11870 11871Patch 7.4.1930 11872Problem: Can't build without +spell but with +quickfix. (Charles) 11873Solution: Add better #ifdef around ml_append_buf(). (closes #864) 11874Files: src/memline.c 11875 11876Patch 7.4.1931 11877Problem: Using both old and new style file mark lines from viminfo. 11878Solution: Skip the old style lines if the viminfo file was written with a 11879 Vim version that supports the new style. 11880Files: src/ex_cmds.c 11881 11882Patch 7.4.1932 11883Problem: When writing viminfo the jumplist is not merged with the one in 11884 the viminfo file. 11885Solution: Merge based on timestamp. 11886Files: src/mark.c, src/testdir/test_viminfo.vim 11887 11888Patch 7.4.1933 11889Problem: Compiler warning about uninitialized variable. (Yegappan) 11890Solution: Give it a dummy value. 11891Files: src/ex_getln.c 11892 11893Patch 7.4.1934 11894Problem: New style tests not executed with MinGW compiler. 11895Solution: Add new style test support. (Yegappan Lakshmanan) 11896Files: src/testdir/Make_ming.mak 11897 11898Patch 7.4.1935 11899Problem: When using the GUI search/replace a second match right after the 11900 replacement is skipped. 11901Solution: Add the SEARCH_START flag. (Mleddy) 11902Files: src/gui.c 11903 11904Patch 7.4.1936 11905Problem: Off-by-one error in bounds check. (Coverity) 11906Solution: Check register number properly. 11907Files: src/ops.c 11908 11909Patch 7.4.1937 11910Problem: No test for directory stack in quickfix. 11911Solution: Add a test. (Yegappan Lakshmanan) 11912Files: src/testdir/test_quickfix.vim 11913 11914Patch 7.4.1938 11915Problem: When writing viminfo numbered marks were duplicated. 11916Solution: Check for duplicates between current numbered marks and the ones 11917 read from viminfo. 11918Files: src/mark.c 11919 11920Patch 7.4.1939 11921Problem: Memory access error when reading viminfo. (Dominique Pelle) 11922Solution: Correct index in jumplist when at the end. 11923Files: src/mark.c, src/testdir/test_viminfo.vim 11924 11925Patch 7.4.1940 11926Problem: "gd" hangs in some situations. (Eric Biggers) 11927Solution: Remove the SEARCH_START flag when looping. Add a test. 11928Files: src/normal.c, src/testdir/test_goto.vim 11929 11930Patch 7.4.1941 11931Problem: Not all quickfix tests are also done with the location lists. 11932Solution: Test more quickfix code. Use user commands instead of "exe". 11933 (Yegappan Lakshmanan) 11934Files: src/testdir/test_quickfix.vim 11935 11936Patch 7.4.1942 11937Problem: Background is not drawn properly when 'termguicolors' is set. 11938Solution: Check cterm_normal_bg_color. (Jacob Niehus, closes #805) 11939Files: src/screen.c 11940 11941Patch 7.4.1943 11942Problem: Coverity warns for unreachable code. 11943Solution: Remove the code that won't do anything. 11944Files: src/mark.c 11945 11946Patch 7.4.1944 11947Problem: Win32: Cannot compile with XPM feature using VC2015 11948Solution: Add XPM libraries compiled with VC2015, and enable to build 11949 gvim.exe which supports XPM using VC2015. (Ken Takata) 11950Files: src/Make_mvc.mak, src/xpm/x64/lib-vc14/libXpm.lib, 11951 src/xpm/x86/lib-vc14/libXpm.lib 11952 11953Patch 7.4.1945 11954Problem: The Man plugin doesn't work that well. 11955Solution: Use "g:ft_man_open_mode" to be able open man pages in vert split 11956 or separate tab. Set nomodifiable for buffer with man content. Add 11957 a test. (Andrey Starodubtsev, closes #873) 11958Files: runtime/ftplugin/man.vim, src/testdir/test_man.vim, 11959 src/testdir/Make_all.mak 11960 11961Patch 7.4.1946 (after 7.4.1944) 11962Problem: File list does not include new XPM libraries. 11963Solution: Add the file list entries. 11964Files: Filelist 11965 11966Patch 7.4.1947 11967Problem: Viminfo continuation line with wrong length isn't skipped. (Marius 11968 Gedminas) 11969Solution: Skip a line when encountering an error, but not two lines. 11970Files: src/ex_cmds.c 11971 11972Patch 7.4.1948 11973Problem: Using Ctrl-A with double-byte encoding may result in garbled text. 11974Solution: Skip to the start of a character. (Hirohito Higashi) 11975Files: src/ops.c 11976 11977Patch 7.4.1949 11978Problem: Minor problems with the quickfix code. 11979Solution: Fix the problems. (Yegappan Lakshmanan) 11980Files: src/quickfix.c, src/testdir/test_quickfix.vim 11981 11982Patch 7.4.1950 11983Problem: Quickfix long lines test not executed for buffer. 11984Solution: Call the function to test long lines. (Yegappan Lakshmanan) 11985Files: src/testdir/test_quickfix.vim 11986 11987Patch 7.4.1951 11988Problem: Ruby test is old style. 11989Solution: Convert to a new style test. (Ken Takata) 11990Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/test_ruby.in, 11991 src/testdir/test_ruby.ok, src/testdir/test_ruby.vim 11992 11993Patch 7.4.1952 11994Problem: Cscope interface does not support finding assignments. 11995Solution: Add the "a" command. (ppettina, closes #882) 11996Files: runtime/doc/if_cscop.txt, src/if_cscope.c 11997 11998Patch 7.4.1953 11999Problem: Not all parts of the quickfix code are tested. 12000Solution: Add more tests. (Yegappan Lakshmanan) 12001Files: src/testdir/samples/quickfix.txt, 12002 src/testdir/test_quickfix.vim 12003 12004Patch 7.4.1954 (after 7.4.1948) 12005Problem: No test for what 7.4.1948 fixes. 12006Solution: Add a test. (Hirohito Higashi, closes #880) 12007Files: src/Makefile, src/testdir/Make_all.mak, 12008 src/testdir/test_increment_dbcs.vim 12009 12010Patch 7.4.1955 12011Problem: Using 32-bit Perl with 64-bit time_t causes memory corruption. 12012 (Christian Brabandt) 12013Solution: Use time_T instead of time_t for global variables. (Ken Takata) 12014Files: src/ex_cmds.c, src/globals.h, src/misc2.c, src/proto/ex_cmds.pro, 12015 src/proto/misc2.pro, src/structs.h, src/vim.h 12016 12017Patch 7.4.1956 12018Problem: When using CTRL-W f and pressing "q" at the ATTENTION dialog the 12019 newly opened window is not closed. 12020Solution: Close the window and go back to the original one. (Norio Takagi, 12021 Hirohito Higashi) 12022Files: src/window.c, src/testdir/test_window_cmd.vim 12023 12024Patch 7.4.1957 12025Problem: Perl interface has obsolete workaround. 12026Solution: Remove the workaround added by 7.3.623. (Ken Takata) 12027Files: src/if_perl.xs 12028 12029Patch 7.4.1958 12030Problem: Perl interface preprocessor statements not nicely indented. 12031Solution: Improve the indenting. (Ken Takata) 12032Files: src/if_perl.xs 12033 12034Patch 7.4.1959 12035Problem: Crash when running test_channel.vim on Windows. 12036Solution: Check for NULL pointer result from FormatMessage(). (Christian 12037 Brabandt) 12038Files: src/channel.c 12039 12040Patch 7.4.1960 12041Problem: Unicode standard 9 was released. 12042Solution: Update the character property tables. (Christian Brabandt) 12043Files: src/mbyte.c 12044 12045Patch 7.4.1961 12046Problem: When 'insertmode' is reset while doing completion the popup menu 12047 remains even though Vim is in Normal mode. 12048Solution: Ignore stop_insert_mode when the popup menu is visible. Don't set 12049 stop_insert_mode when 'insertmode' was already off. (Christian 12050 Brabandt) 12051Files: src/edit.c, src/option.c, src/Makefile, src/testdir/test_alot.vim, 12052 src/testdir/test_popup.vim 12053 12054Patch 7.4.1962 12055Problem: Two test files for increment/decrement. 12056Solution: Move the old style test into the new style test. (Hirohito 12057 Higashi, closes #881) 12058Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/main.aap, 12059 src/testdir/test35.in, src/testdir/test35.ok, 12060 src/testdir/test_increment.vim 12061 12062Patch 7.4.1963 12063Problem: Running Win32 Vim in mintty does not work. 12064Solution: Detect mintty and give a helpful error message. (Ken Takata) 12065Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/iscygpty.c, 12066 src/iscygpty.h, src/main.c, Filelist 12067 12068Patch 7.4.1964 12069Problem: The quickfix init function is too big. 12070Solution: Factor out parsing 'errorformat' to a separate function. (Yegappan 12071 Lakshmanan) 12072Files: src/quickfix.c 12073 12074Patch 7.4.1965 12075Problem: When using a job in raw mode to append to a buffer garbage 12076 characters are added. 12077Solution: Do not replace the trailing NUL with a NL. (Ozaki Kiichi) 12078Files: src/channel.c, src/testdir/test_channel.vim 12079 12080Patch 7.4.1966 12081Problem: Coverity reports a resource leak. 12082Solution: Close "fd" also when bailing out. 12083Files: src/quickfix.c 12084 12085Patch 7.4.1967 12086Problem: Falling back from NFA to old regexp engine does not work properly. 12087 (fritzophrenic) 12088Solution: Do not restore nfa_match. (Christian Brabandt, closes #867) 12089Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok 12090 12091Patch 7.4.1968 12092Problem: Invalid memory access with "\<C-">. 12093Solution: Do not recognize this as a special character. (Dominique Pelle) 12094Files: src/misc2.c, src/testdir/test_expr.vim 12095 12096Patch 7.4.1969 12097Problem: When the netbeans channel is closed consuming the buffer may cause 12098 a crash. 12099Solution: Check for nb_channel not to be NULL. (Xavier de Gaye) 12100Files: src/netbeans.c 12101 12102Patch 7.4.1970 12103Problem: Using ":insert" in an empty buffer sets the jump mark. (Ingo 12104 Karkat) 12105Solution: Don't adjust marks when replacing the empty line in an empty 12106 buffer. (closes #892) 12107Files: src/ex_cmds.c, src/testdir/test_jumps.vim, 12108 src/testdir/test_alot.vim 12109 12110Patch 7.4.1971 12111Problem: It is not easy to see unrecognized error lines below the current 12112 error position. 12113Solution: Add ":clist +count". 12114Files: src/quickfix.c, runtime/doc/quickfix.txt 12115 12116Patch 7.4.1972 12117Problem: On Solaris select() does not work as expected when there is 12118 typeahead. 12119Solution: Add ICANON when sleeping. (Ozaki Kiichi) 12120Files: src/os_unix.c 12121 12122Patch 7.4.1973 12123Problem: On MS-Windows the package directory may be added at the end 12124 because of forward/backward slash differences. (Matthew 12125 Desjardins) 12126Solution: Ignore slash differences. 12127Files: src/ex_cmds2.c 12128 12129Patch 7.4.1974 12130Problem: GUI has a problem with some termcodes. 12131Solution: Handle negative numbers. (Kazunobu Kuriyama) 12132Files: src/gui.c 12133 12134Patch 7.4.1975 12135Problem: On MS-Windows large files (> 2Gbyte) cause problems. 12136Solution: Use "off_T" instead of "off_t". Use "stat_T" instead of "struct 12137 stat". Use 64 bit system functions if available. (Ken Takata) 12138Files: src/Makefile, src/buffer.c, src/diff.c, src/eval.c, src/ex_cmds.c, 12139 src/ex_cmds2.c, src/fileio.c, src/gui.c, src/gui_at_fs.c, 12140 src/if_cscope.c, src/main.c, src/memfile.c, src/memline.c, 12141 src/misc1.c, src/misc2.c, src/netbeans.c, src/os_mswin.c, 12142 src/os_win32.c, src/proto/fileio.pro, src/proto/memline.pro, 12143 src/proto/os_mswin.pro, src/pty.c, src/quickfix.c, src/spell.c, 12144 src/structs.h, src/tag.c, src/testdir/Make_all.mak, 12145 src/testdir/test_largefile.vim, src/testdir/test_stat.vim, 12146 src/undo.c, src/vim.h 12147 12148Patch 7.4.1976 12149Problem: Number variables are not 64 bits while they could be. 12150Solution: Add the num64 feature. (Ken Takata, Yasuhiro Matsumoto) 12151Files: runtime/doc/eval.txt, runtime/doc/various.txt, 12152 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/charset.c, 12153 src/eval.c, src/ex_cmds.c, src/ex_getln.c, src/feature.h, 12154 src/fileio.c, src/fold.c, src/json.c, src/message.c, src/misc1.c, 12155 src/misc2.c, src/ops.c, src/option.c, src/proto/charset.pro, 12156 src/proto/eval.pro, src/quickfix.c, src/structs.h, 12157 src/testdir/test_viml.vim, src/version.c 12158 12159Patch 7.4.1977 12160Problem: With 64 bit changes don't need three calls to sprintf(). 12161Solution: Simplify the code, use vim_snprintf(). (Ken Takata) 12162Files: src/fileio.c 12163 12164Patch 7.4.1978 (after 7.4.1975) 12165Problem: Large file test does not delete its output. 12166Solution: Delete the output. Check size properly when possible. (Ken Takata) 12167Files: src/testdir/test_largefile.vim 12168 12169Patch 7.4.1979 (after 7.4.1976) 12170Problem: Getting value of binary option is wrong. (Kent Sibilev) 12171Solution: Fix type cast. Add a test. 12172Files: src/option.c, src/testdir/test_expr.vim 12173 12174Patch 7.4.1980 12175Problem: 'errorformat' is parsed for every call to ":caddexpr". Can't add 12176 to two location lists asynchronously. 12177Solution: Keep the previously parsed data when appropriate. (mostly by 12178 Yegappan Lakshmanan) 12179Files: src/quickfix.c, src/testdir/test_quickfix.vim 12180 12181Patch 7.4.1981 12182Problem: No testing for Farsi code. 12183Solution: Add a minimal test. Clean up Farsi code. 12184Files: src/farsi.c, src/Makefile, src/charset.c, src/normal.c, 12185 src/proto/main.pro, src/testdir/Make_all.mak, 12186 src/testdir/test_farsi.vim 12187 12188Patch 7.4.1982 12189Problem: Viminfo file contains duplicate change marks. 12190Solution: Drop duplicate marks. 12191Files: src/mark.c 12192 12193Patch 7.4.1983 12194Problem: farsi.c and arabic.c are included in a strange way. 12195Solution: Build them like other files. 12196Files: src/main.c, src/farsi.c, src/arabic.c, src/proto.h, 12197 src/proto/main.pro, src/proto/farsi.pro, src/proto/arabic.pro, 12198 src/Makefile, src/Make_bc5.mak, src/Make_cyg_ming.mak, 12199 src/Make_dice.mak, src/Make_ivc.mak, src/Make_manx.mak, 12200 src/Make_morph.mak, src/Make_mvc.mak, src/Make_sas.mak, 12201 Filelist 12202 12203Patch 7.4.1984 12204Problem: Not all quickfix features are tested. 12205Solution: Add a few more tests. (Yegappan Lakshmanan) 12206Files: src/testdir/test_quickfix.vim 12207 12208Patch 7.4.1985 (after 7.4.1983) 12209Problem: Missing changes in VMS build file. 12210Solution: Use the right file name. 12211Files: src/Make_vms.mms 12212 12213Patch 7.4.1986 12214Problem: Compiler warns for loss of data. 12215Solution: Use size_t instead of int. (Christian Brabandt) 12216Files: src/ex_cmds2.c 12217 12218Patch 7.4.1987 12219Problem: When copying unrecognized lines for viminfo, end up with useless 12220 continuation lines. 12221Solution: Skip continuation lines. 12222Files: src/ex_cmds.c 12223 12224Patch 7.4.1988 12225Problem: When updating viminfo with file marks there is no time order. 12226Solution: Remember the time when a buffer was last used, store marks for 12227 the most recently used buffers. 12228Files: src/buffer.c, src/structs.h, src/mark.c, src/main.c, 12229 src/ex_cmds.c, src/proto/mark.pro, src/testdir/test_viminfo.vim 12230 12231Patch 7.4.1989 12232Problem: filter() and map() only accept a string argument. 12233Solution: Implement using a Funcref argument (Yasuhiro Matsumoto, Ken 12234 Takata) 12235Files: runtime/doc/eval.txt, src/Makefile, src/eval.c, 12236 src/testdir/test_alot.vim, src/testdir/test_filter_map.vim, 12237 src/testdir/test_partial.vim 12238 12239Patch 7.4.1990 (after 7.4.1952) 12240Problem: Cscope items are not sorted. 12241Solution: Put the new "a" command first. (Ken Takata) 12242Files: src/if_cscope.c 12243 12244Patch 7.4.1991 12245Problem: glob() does not add a symbolic link when there are no wildcards. 12246Solution: Remove the call to mch_getperm(). 12247Files: src/misc1.c 12248 12249Patch 7.4.1992 12250Problem: Values for true and false can be confusing. 12251Solution: Update the documentation. Add a test. Make v:true evaluate to 12252 TRUE for a non-zero-arg. 12253Files: runtime/doc/eval.txt, src/eval.c, src/Makefile, 12254 src/testdir/test_true_false.vim, src/testdir/test_alot.vim 12255 12256Patch 7.4.1993 12257Problem: Not all TRUE and FALSE arguments are tested. 12258Solution: Add a few more tests. 12259Files: src/testdir/test_true_false.vim 12260 12261Patch 7.4.1994 (after 7.4.1993) 12262Problem: True-false test fails. 12263Solution: Filter the dict to only keep the value that matters. 12264Files: src/testdir/test_true_false.vim 12265 12266Patch 7.4.1995 12267Problem: GUI: cursor drawn in wrong place if a timer callback causes a 12268 screen update. (David Samvelyan) 12269Solution: Also redraw the cursor when it's blinking and on. 12270Files: src/gui_gtk_x11.c, src/gui_mac.c, src/gui_photon.c, src/gui_w32.c, 12271 src/gui_x11.c, src/screen.c, src/proto/gui_gtk_x11.pro, 12272 src/proto/gui_mac.pro, src/proto/gui_photon.pro, 12273 src/proto/gui_w32.pro, src/proto/gui_x11.pro 12274 12275Patch 7.4.1996 12276Problem: Capturing the output of a command takes a few commands. 12277Solution: Add evalcmd(). 12278Files: src/eval.c, runtime/doc/eval.txt, src/testdir/test_alot.vim, 12279 src/Makefile, src/testdir/test_evalcmd.vim 12280 12281Patch 7.4.1997 12282Problem: Cannot easily scroll the quickfix window. 12283Solution: Add ":cbottom". 12284Files: src/ex_cmds.h, src/quickfix.c, src/proto/quickfix.pro, 12285 src/ex_docmd.c, src/testdir/test_quickfix.vim, 12286 runtime/doc/quickfix.txt 12287 12288Patch 7.4.1998 12289Problem: When writing buffer lines to a job there is no NL to NUL 12290 conversion. 12291Solution: Make it work symmetrical with writing lines from a job into a 12292 buffer. 12293Files: src/channel.c, src/proto/channel.pro, src/netbeans.c 12294 12295Patch 7.4.1999 12296Problem: evalcmd() doesn't work recursively. 12297Solution: Use redir_evalcmd instead of redir_vname. 12298Files: src/message.c, src/eval.c, src/globals.h, src/proto/eval.pro, 12299 src/testdir/test_evalcmd.vim 12300 12301Patch 7.4.2000 (after 7.4.1999) 12302Problem: Evalcmd test fails. 12303Solution: Add missing piece. 12304Files: src/ex_docmd.c 12305 12306Patch 7.4.2001 (after 7.4.2000) 12307Problem: Tiny build fails. (Tony Mechelynck) 12308Solution: Add #ifdef. 12309Files: src/ex_docmd.c 12310 12311Patch 7.4.2002 12312Problem: Crash when passing number to filter() or map(). 12313Solution: Convert to a string. (Ozaki Kiichi) 12314Files: src/eval.c, src/testdir/test_filter_map.vim 12315 12316Patch 7.4.2003 12317Problem: Still cursor flickering when a callback updates the screen. (David 12318 Samvelyan) 12319Solution: Put the cursor in the right position after updating the screen. 12320Files: src/screen.c 12321 12322Patch 7.4.2004 12323Problem: GUI: cursor displayed in the wrong position. 12324Solution: Correct screen_cur_col and screen_cur_row. 12325Files: src/screen.c 12326 12327Patch 7.4.2005 12328Problem: After using evalcmd() message output is in the wrong position. 12329 (Christian Brabandt) 12330Solution: Reset msg_col. 12331Files: src/eval.c 12332 12333Patch 7.4.2006 12334Problem: Crash when using tabnext in BufUnload autocmd. (Norio Takagi) 12335Solution: First check that the current buffer is the right one. (Hirohito 12336 Higashi) 12337Files: src/buffer.c, src/testdir/test_autocmd.vim 12338 12339Patch 7.4.2007 12340Problem: Running the tests leaves a viminfo file behind. 12341Solution: Make the viminfo option empty. 12342Files: src/testdir/runtest.vim 12343 12344Patch 7.4.2008 12345Problem: evalcmd() has a confusing name. 12346Solution: Rename to execute(). Make silent optional. Support a list of 12347 commands. 12348Files: src/eval.c, src/ex_docmd.c, src/message.c, src/globals.h, 12349 src/proto/eval.pro, src/Makefile, src/testdir/test_evalcmd.vim, 12350 src/testdir/test_execute_func.vim, src/testdir/test_alot.vim, 12351 runtime/doc/eval.txt 12352 12353Patch 7.4.2009 (after 7.4.2008) 12354Problem: Messages test fails. 12355Solution: Don't set redir_execute before returning. Add missing version 12356 number. 12357Files: src/eval.c 12358 12359Patch 7.4.2010 12360Problem: There is a :cbottom command but no :lbottom command. 12361Solution: Add :lbottom. (Yegappan Lakshmanan) 12362Files: runtime/doc/index.txt, runtime/doc/quickfix.txt, src/ex_cmds.h, 12363 src/quickfix.c, src/testdir/test_quickfix.vim 12364 12365Patch 7.4.2011 12366Problem: It is not easy to get a list of command arguments. 12367Solution: Add getcompletion(). (Yegappan Lakshmanan) 12368Files: runtime/doc/eval.txt, src/eval.c, src/ex_docmd.c, 12369 src/proto/ex_docmd.pro, src/testdir/test_cmdline.vim 12370 12371Patch 7.4.2012 (after 7.4.2011) 12372Problem: Test for getcompletion() does not pass on all systems. 12373Solution: Only test what is supported. 12374Files: src/testdir/test_cmdline.vim 12375 12376Patch 7.4.2013 12377Problem: Using "noinsert" in 'completeopt' breaks redo. 12378Solution: Set compl_curr_match. (Shougo Matsu, closes #874) 12379Files: src/edit.c, src/testdir/test_popup.vim 12380 12381Patch 7.4.2014 12382Problem: Using "noinsert" in 'completeopt' does not insert match. 12383Solution: Set compl_enter_selects. (Shougo Matsu, closes #875) 12384Files: src/edit.c, src/testdir/test_popup.vim 12385 12386Patch 7.4.2015 12387Problem: When a file gets a name when writing it 'acd' is not effective. 12388 (Dan Church) 12389Solution: Invoke DO_AUTOCHDIR after writing the file. (Allen Haim, closes 12390 #777, closes #803) Add test_autochdir() to enable 'acd' before 12391 "starting" is reset. 12392Files: src/ex_cmds.c, src/buffer.c, src/eval.c, src/globals.h, 12393 src/Makefile, src/testdir/test_autochdir.vim, 12394 src/testdir/Make_all.mak 12395 12396Patch 7.4.2016 12397Problem: Warning from MinGW about _WIN32_WINNT redefined. (John Marriott) 12398Solution: First undefine it. (Ken Takata) 12399Files: src/Make_cyg_ming.mak 12400 12401Patch 7.4.2017 12402Problem: When there are many errors adding them to the quickfix list takes 12403 a long time. 12404Solution: Add BLN_NOOPT. Don't call buf_valid() in buf_copy_options(). 12405 Remember the last file name used. When going through the buffer 12406 list start from the end of the list. Only call buf_valid() when 12407 autocommands were executed. 12408Files: src/buffer.c, src/option.c, src/quickfix.c, src/vim.h 12409 12410Patch 7.4.2018 12411Problem: buf_valid() can be slow when there are many buffers. 12412Solution: Add bufref_valid(), only go through the buffer list when a buffer 12413 was freed. 12414Files: src/structs.h, src/buffer.c, src/quickfix.c, src/proto/buffer.pro 12415 12416Patch 7.4.2019 12417Problem: When ignoring case utf_fold() may consume a lot of time. 12418Solution: Optimize for ASCII. 12419Files: src/mbyte.c 12420 12421Patch 7.4.2020 12422Problem: Can't build without +autocmd feature. 12423Solution: Adjust #ifdefs. 12424Files: src/buffer.c 12425 12426Patch 7.4.2021 12427Problem: Still too many buf_valid() calls. 12428Solution: Make au_new_curbuf a bufref. Use bufref_valid() in more places. 12429Files: src/ex_cmds.c, src/buffer.c, src/globals.h 12430 12431Patch 7.4.2022 12432Problem: Warnings from 64 bit compiler. 12433Solution: Add type casts. (Mike Williams) 12434Files: src/eval.c 12435 12436Patch 7.4.2023 12437Problem: buflist_findname_stat() may find a dummy buffer. 12438Solution: Set the BF_DUMMY flag after loading a dummy buffer. Start 12439 finding buffers from the end of the list. 12440Files: src/quickfix.c, src/buffer.c 12441 12442Patch 7.4.2024 12443Problem: More buf_valid() calls can be optimized. 12444Solution: Use bufref_valid() instead. 12445Files: src/buffer.c, src/ex_cmds.c, src/structs.h, src/channel.c, 12446 src/diff.c, src/eval.c, src/ex_cmds2.c, src/ex_docmd.c, 12447 src/ex_getln.c, src/fileio.c, src/main.c, src/misc2.c, 12448 src/netbeans.c, src/quickfix.c, src/spell.c, src/term.c, 12449 src/if_py_both.h, src/window.c, src/proto/buffer.pro, 12450 src/proto/window.pro 12451 12452Patch 7.4.2025 12453Problem: The cursor blinking stops or is irregular when receiving date over 12454 a channel and writing it in a buffer, and when updating the status 12455 line. (Ramel Eshed) 12456Solution: Make it a bit better by flushing GUI output. Don't redraw the 12457 cursor after updating the screen if the blink state is off. 12458Files: src/gui_gtk_x11.c, src/screen.c 12459 12460Patch 7.4.2026 12461Problem: Reference counting for callbacks isn't right. 12462Solution: Add free_callback(). (Ken Takata) Fix reference count. 12463Files: src/channel.c, src/eval.c, src/ex_cmds2.c, src/proto/eval.pro 12464 12465Patch 7.4.2027 12466Problem: Can't build with +eval but without +menu. 12467Solution: Add #ifdef. (John Marriott) 12468Files: src/eval.c 12469 12470Patch 7.4.2028 12471Problem: cppcheck warns for using index before limits check. 12472Solution: Swap the expressions. (Dominique Pelle) 12473Files: src/mbyte.c 12474 12475Patch 7.4.2029 12476Problem: printf() does not work with 64 bit numbers. 12477Solution: use the "L" length modifier. (Ken Takata) 12478Files: src/message.c, src/testdir/test_expr.vim 12479 12480Patch 7.4.2030 12481Problem: ARCH must be set properly when using MinGW. 12482Solution: Detect the default value of ARCH from the current compiler. (Ken 12483 Takata) 12484Files: src/Make_cyg_ming.mak 12485 12486Patch 7.4.2031 12487Problem: The list_lbr_utf8 test fails if ~/.vim/syntax/c.vim sets 12488 'textwidth' to a non-zero value. (Oyvind A. Holm) 12489Solution: Add a setup.vim file that sets 'runtimepath' and $HOME to a safe 12490 value. (partly by Christian Brabandt, closes #912) 12491Files: src/testdir/setup.vim, src/testdir/amiga.vim, src/testdir/dos.vim, 12492 src/testdir/unix.vim, src/testdir/vms.vim, src/testdir/runtest.vim 12493 12494Patch 7.4.2032 (after 7.4.2030) 12495Problem: Build fails with 64 bit MinGW. (Axel Bender) 12496Solution: Handle dash vs. underscore. (Ken Takata, Hirohito Higashi) 12497Files: src/Make_cyg_ming.mak 12498 12499Patch 7.4.2033 12500Problem: 'cscopequickfix' option does not accept new value "a". 12501Solution: Adjust list of command characters. (Ken Takata) 12502Files: src/option.h, src/Makefile, src/testdir/test_cscope.vim, 12503 src/testdir/Make_all.mak 12504 12505Patch 7.4.2034 (after 7.4.2032) 12506Problem: Build fails with some version of MinGW. (illusorypan) 12507Solution: Recognize mingw32. (Ken Takata, closes #921) 12508Files: src/Make_cyg_ming.mak 12509 12510Patch 7.4.2035 12511Problem: On Solaris with ZFS the ACL may get removed. 12512Solution: Always restore the ACL for Solaris ZFS. (Danek Duvall) 12513Files: src/fileio.c 12514 12515Patch 7.4.2036 12516Problem: Looking up a buffer by number is slow if there are many. 12517Solution: Use a hashtab. 12518Files: src/structs.h, src/buffer.c 12519 12520Patch 7.4.2037 (after 7.4.2036) 12521Problem: Small build fails. 12522Solution: Adjust #ifdefs. 12523Files: src/hashtab.c 12524 12525Patch 7.4.2038 (after 7.4.2036) 12526Problem: Small build still fails. 12527Solution: Adjust more #ifdefs. 12528Files: src/globals.h, src/buffer.c 12529 12530Patch 7.4.2039 12531Problem: The Netbeans integration is not tested. 12532Solution: Add a first Netbeans test. 12533Files: src/testdir/test_netbeans.vim, src/testdir/test_netbeans.py, 12534 src/testdir/Make_all.mak, src/Makefile, 12535 src/testdir/test_channel.vim, src/testdir/shared.vim 12536 12537Patch 7.4.2040 12538Problem: New files missing from distribution. 12539Solution: Add new test scripts. 12540Files: Filelist 12541 12542Patch 7.4.2041 12543Problem: Netbeans file authentication not tested. 12544Solution: Add a test. 12545Files: src/testdir/test_netbeans.vim 12546 12547Patch 7.4.2042 12548Problem: GTK: display updating is not done properly and can be slow. 12549Solution: Use gdk_display_flush() instead of gdk_display_sync(). Don't call 12550 gdk_window_process_updates(). (Kazunobu Kuriyama) 12551Files: src/gui_gtk_x11.c 12552 12553Patch 7.4.2043 12554Problem: setbuvfar() causes a screen redraw. 12555Solution: Only use aucmd_prepbuf() for options. 12556Files: src/eval.c 12557 12558Patch 7.4.2044 12559Problem: filter() and map() either require a string or defining a function. 12560Solution: Support lambda, a short way to define a function that evaluates an 12561 expression. (Yasuhiro Matsumoto, Ken Takata) 12562Files: runtime/doc/eval.txt, src/eval.c, src/testdir/test_alot.vim, 12563 src/Makefile, src/testdir/test_channel.vim, 12564 src/testdir/test_lambda.vim 12565 12566Patch 7.4.2045 12567Problem: Memory leak when using a function callback. 12568Solution: Don't save the function name when it's in the partial. 12569Files: src/channel.c 12570 12571Patch 7.4.2046 12572Problem: The qf_init_ext() function is too big. 12573Solution: Refactor it. (Yegappan Lakshmanan) 12574Files: src/quickfix.c 12575 12576Patch 7.4.2047 12577Problem: Compiler warning for initializing a struct. 12578Solution: Initialize in another way. (Anton Lindqvist) 12579Files: src/quickfix.c 12580 12581Patch 7.4.2048 12582Problem: There is still code and help for unsupported systems. 12583Solution: Remove the code and text. (Hirohito Higashi) 12584Files: runtime/doc/eval.txt, runtime/lang/menu_sk_sk.vim, 12585 runtime/menu.vim, runtime/optwin.vim, src/Make_bc5.mak, 12586 src/ex_docmd.c, src/feature.h, src/fileio.c, src/globals.h, 12587 src/main.c, src/memfile.c, src/memline.c, src/misc1.c, 12588 src/misc2.c, src/option.c, src/option.h, src/os_unix.c, 12589 src/os_unix.h, src/proto.h, src/term.c, src/undo.c, src/version.c, 12590 src/vim.h, src/xxd/xxd.c 12591 12592Patch 7.4.2049 12593Problem: There is no way to get a list of the error lists. 12594Solution: Add ":chistory" and ":lhistory". 12595Files: src/ex_cmds.h, src/quickfix.c, src/ex_docmd.c, src/message.c, 12596 src/proto/quickfix.pro, src/testdir/test_quickfix.vim 12597 12598Patch 7.4.2050 12599Problem: When using ":vimgrep" may end up with duplicate buffers. 12600Solution: When adding an error list entry pass the buffer number if possible. 12601Files: src/quickfix.c, src/testdir/test_quickfix.vim 12602 12603Patch 7.4.2051 12604Problem: No proper testing of trunc_string(). 12605Solution: Add a unittest for message.c. 12606Files: src/Makefile, src/message.c, src/message_test.c, src/main.c, 12607 src/proto/main.pro, src/structs.h 12608 12609Patch 7.4.2052 12610Problem: Coverage report is messed up by the unittests. 12611Solution: Add a separate test target for script tests. Use that when 12612 collecting coverage information. 12613Files: src/Makefile 12614 12615Patch 7.4.2053 12616Problem: Can't run scripttests in the top directory. 12617Solution: Add targets to the top Makefile. 12618Files: Makefile 12619 12620Patch 7.4.2054 (after 7.4.2048) 12621Problem: Wrong part of #ifdef removed. 12622Solution: Use the right part. (Hirohito Higashi) 12623Files: src/os_unix.c 12624 12625Patch 7.4.2055 12626Problem: eval.c is too big 12627Solution: Move Dictionary functions to dict.c 12628Files: src/eval.c, src/dict.c, src/vim.h, src/globals.h, 12629 src/proto/eval.pro, src/proto/dict.pro, src/Makefile, Filelist 12630 12631Patch 7.4.2056 (after 7.4.2055) 12632Problem: Build fails. 12633Solution: Add missing changes. 12634Files: src/proto.h 12635 12636Patch 7.4.2057 12637Problem: eval.c is too big. 12638Solution: Move List functions to list.c 12639Files: src/eval.c, src/dict.c, src/list.c, src/proto.h, src/Makefile, 12640 src/globals.h, src/proto/eval.pro, src/proto/list.pro, Filelist 12641 12642Patch 7.4.2058 12643Problem: eval.c is too big. 12644Solution: Move user functions to userfunc.c 12645Files: src/userfunc.c, src/eval.c, src/vim.h, src/globals.h, 12646 src/structs.h, src/proto.h, src/Makefile, src/proto/eval.pro, 12647 src/proto/userfunc.pro, Filelist 12648 12649Patch 7.4.2059 12650Problem: Non-Unix builds fail. 12651Solution: Update Makefiles for new files. 12652Files: src/Make_bc5.mak, src/Make_cyg_ming.mak, src/Make_dice.mak, 12653 src/Make_ivc.mak, src/Make_manx.mak, src/Make_morph.mak, 12654 src/Make_mvc.mak, src/Make_sas.mak 12655 12656Patch 7.4.2060 (after 7.4.2059) 12657Problem: Wrong file name. 12658Solution: Fix typo. 12659Files: src/Make_mvc.mak 12660 12661Patch 7.4.2061 12662Problem: qf_init_ext() is too big. 12663Solution: Move code to qf_parse_line() (Yegappan Lakshmanan) 12664Files: src/quickfix.c, src/testdir/test_quickfix.vim 12665 12666Patch 7.4.2062 12667Problem: Using dummy variable to compute struct member offset. 12668Solution: Use offsetof(). 12669Files: src/globals.h, src/macros.h, src/vim.h, src/spell.c 12670 12671Patch 7.4.2063 12672Problem: eval.c is still too big. 12673Solution: Split off internal functions to evalfunc.c. 12674Files: src/eval.c, src/evalfunc.c, src/list.c, src/proto.h, 12675 src/globals.h, src/vim.h, src/proto/eval.pro, 12676 src/proto/evalfunc.pro, src/proto/list.pro, src/Makefile, Filelist, 12677 src/Make_bc5.mak, src/Make_cyg_ming.mak, src/Make_dice.mak, 12678 src/Make_ivc.mak, src/Make_manx.mak, src/Make_morph.mak, 12679 src/Make_mvc.mak, src/Make_sas.mak 12680 12681Patch 7.4.2064 12682Problem: Coverity warns for possible buffer overflow. 12683Solution: Use vim_strcat() instead of strcat(). 12684Files: src/quickfix.c 12685 12686Patch 7.4.2065 12687Problem: Compiler warns for uninitialized variable. (John Marriott) 12688Solution: Set lnum to the right value. 12689Files: src/evalfunc.c 12690 12691Patch 7.4.2066 12692Problem: getcompletion() not well tested. 12693Solution: Add more testing. 12694Files: src/testdir/test_cmdline.vim 12695 12696Patch 7.4.2067 12697Problem: Compiler warning for char/char_u conversion. (Tony Mechelynck) 12698 Inefficient code. 12699Solution: Use more lines to fill with spaces. (Nikolai Pavlov) Add type cast. 12700Files: src/quickfix.c 12701 12702Patch 7.4.2068 12703Problem: Not all arguments of trunc_string() are tested. Memory access 12704 error when running the message tests. 12705Solution: Add another test case. (Yegappan Lakshmanan) Make it easy to run 12706 unittests with valgrind. Fix the access error. 12707Files: src/message.c, src/message_test.c, src/Makefile 12708 12709Patch 7.4.2069 12710Problem: spell.c is too big. 12711Solution: Split it in spell file handling and spell checking. 12712Files: src/spell.c, src/spellfile.c, src/spell.h, src/Makefile, 12713 src/proto/spell.pro, src/proto/spellfile.pro, src/proto.h 12714 Filelist, src/Make_bc5.mak, src/Make_cyg_ming.mak, 12715 src/Make_dice.mak, src/Make_ivc.mak, src/Make_manx.mak, 12716 src/Make_morph.mak, src/Make_mvc.mak, src/Make_sas.mak 12717 12718Patch 7.4.2070 (after 7.4.2069) 12719Problem: Missing change to include file. 12720Solution: Include the spell header file. 12721Files: src/vim.h 12722 12723Patch 7.4.2071 12724Problem: The return value of type() is difficult to use. 12725Solution: Define v:t_ constants. (Ken Takata) 12726Files: runtime/doc/eval.txt, src/eval.c, src/evalfunc.c, 12727 src/testdir/test_channel.vim, src/testdir/test_viml.vim, src/vim.h 12728 12729Patch 7.4.2072 12730Problem: substitute() does not support a Funcref argument. 12731Solution: Support a Funcref like it supports a string starting with "\=". 12732Files: src/evalfunc.c, src/regexp.c, src/eval.c, src/proto/eval.pro, 12733 src/proto/regexp.pro, src/testdir/test_expr.vim 12734 12735Patch 7.4.2073 12736Problem: rgb.txt is read for every color name. 12737Solution: Load rgb.txt once. (Christian Brabandt) Add a test. 12738Files: runtime/rgb.txt, src/term.c, src/testdir/test_syn_attr.vim 12739 12740Patch 7.4.2074 12741Problem: One more place using a dummy variable. 12742Solution: Use offsetof(). (Ken Takata) 12743Files: src/userfunc.c 12744 12745Patch 7.4.2075 12746Problem: No autocommand event to initialize a window or tab page. 12747Solution: Add WinNew and TabNew events. (partly by Felipe Morales) 12748Files: src/fileio.c, src/window.c, src/vim.h, 12749 src/testdir/test_autocmd.vim, runtime/doc/autocmd.txt 12750 12751Patch 7.4.2076 12752Problem: Syntax error when dict has '>' key. 12753Solution: Check for endchar. (Ken Takata) 12754Files: src/userfunc.c, src/testdir/test_lambda.vim 12755 12756Patch 7.4.2077 12757Problem: Cannot update 'tabline' when a tab was closed. 12758Solution: Add the TabClosed autocmd event. (partly by Felipe Morales) 12759Files: src/fileio.c, src/window.c, src/vim.h, 12760 src/testdir/test_autocmd.vim, runtime/doc/autocmd.txt 12761 12762Patch 7.4.2078 12763Problem: Running checks in po directory fails. 12764Solution: Add colors used in syntax.c to the builtin color table. 12765Files: src/term.c 12766 12767Patch 7.4.2079 12768Problem: Netbeans test fails on non-Unix systems. 12769Solution: Only do the permission check on Unix systems. 12770Files: src/testdir/test_netbeans.vim 12771 12772Patch 7.4.2080 12773Problem: When using PERROR() on some systems assert_fails() does not see 12774 the error. 12775Solution: Make PERROR() always report the error. 12776Files: src/vim.h, src/message.c, src/proto/message.pro 12777 12778Patch 7.4.2081 12779Problem: Line numbers in the error list are not always adjusted. 12780Solution: Set b_has_qf_entry properly. (Yegappan Lakshmanan) 12781Files: src/quickfix.c, src/structs.h, src/testdir/test_quickfix.vim 12782 12783Patch 7.4.2082 12784Problem: Not much test coverage for digraphs. 12785Solution: Add a new style digraph test. (Christian Brabandt) 12786Files: src/Makefile, src/testdir/test_alot.vim, 12787 src/testdir/test_digraph.vim 12788 12789Patch 7.4.2083 12790Problem: Coverity complains about not restoring a value. 12791Solution: Restore the value, although it's not really needed. Change return 12792 to jump to cleanup, might leak memory. 12793Files: src/userfunc.c 12794 12795Patch 7.4.2084 12796Problem: New digraph test makes testing hang. 12797Solution: Don't set "nocp". 12798Files: src/testdir/test_digraph.vim 12799 12800Patch 7.4.2085 12801Problem: Digraph tests fails on some systems. 12802Solution: Run it separately and set 'encoding' early. 12803Files: src/testdir/Make_all.mak, src/testdir/test_alot.vim, 12804 src/testdir/test_digraph.vim 12805 12806Patch 7.4.2086 12807Problem: Using the system default encoding makes tests unpredictable. 12808Solution: Always use utf-8 or latin1 in the new style tests. Remove setting 12809 encoding and scriptencoding where it is not needed. 12810Files: src/testdir/runtest.vim, src/testdir/test_channel.vim, 12811 src/testdir/test_digraph.vim, src/testdir/test_expand_dllpath.vim, 12812 src/testdir/test_expr_utf8.vim, src/testdir/test_json.vim, 12813 src/testdir/test_matchadd_conceal_utf8.vim, 12814 src/testdir/test_regexp_utf8.vim, src/testdir/test_visual.vim, 12815 src/testdir/test_alot_utf8.vim, 12816 12817Patch 7.4.2087 12818Problem: Digraph code test coverage is still low. 12819Solution: Add more tests. (Christian Brabandt) 12820Files: src/testdir/test_digraph.vim 12821 12822Patch 7.4.2088 (after 7.4.2087) 12823Problem: Keymap test fails with normal features. 12824Solution: Bail out if the keymap feature is not supported. 12825Files: src/testdir/test_digraph.vim 12826 12827Patch 7.4.2089 12828Problem: Color handling of X11 GUIs is too complicated. 12829Solution: Simplify the code. Use RGBA where appropriate. (Kazunobu 12830 Kuriyama) 12831Files: src/gui.h, src/gui_beval.c, src/gui_gtk_x11.c, src/netbeans.c 12832 12833Patch 7.4.2090 12834Problem: Using submatch() in a lambda passed to substitute() is verbose. 12835Solution: Use a static list and pass it as an optional argument to the 12836 function. Fix memory leak. 12837Files: src/structs.h, src/list.c, src/userfunc.c, src/channel.c, 12838 src/eval.c, src/evalfunc.c, src/ex_cmds2.c, src/regexp.c, 12839 src/proto/list.pro, src/proto/userfunc.pro, 12840 src/testdir/test_expr.vim, runtime/doc/eval.txt 12841 12842Patch 7.4.2091 12843Problem: Coverity reports a resource leak when out of memory. 12844Solution: Close the file before returning. 12845Files: src/term.c 12846 12847Patch 7.4.2092 12848Problem: GTK 3 build fails with older GTK version. 12849Solution: Check the pango version. (Kazunobu Kuriyama) 12850Files: src/gui_beval.c 12851 12852Patch 7.4.2093 12853Problem: Netbeans test fails once in a while. Leaving log file behind. 12854Solution: Add it to the list of flaky tests. Disable logfile. 12855Files: src/testdir/runtest.vim, src/testdir/test_channel.vim 12856 12857Patch 7.4.2094 12858Problem: The color allocation in X11 is overly complicated. 12859Solution: Remove find_closest_color(), XAllocColor() already does this. 12860 (Kazunobu Kuriyama) 12861Files: src/gui_x11.c 12862 12863Patch 7.4.2095 12864Problem: Man test fails when run with the GUI. 12865Solution: Adjust for different behavior of GUI. Add assert_inrange(). 12866Files: src/eval.c, src/evalfunc.c, src/proto/eval.pro, 12867 src/testdir/test_assert.vim, src/testdir/test_man.vim, 12868 runtime/doc/eval.txt 12869 12870Patch 7.4.2096 12871Problem: Lambda functions show up with completion. 12872Solution: Don't show lambda functions. (Ken Takata) 12873Files: src/userfunc.c, src/testdir/test_cmdline.vim 12874 12875Patch 7.4.2097 12876Problem: Warning from 64 bit compiler. 12877Solution: use size_t instead of int. (Mike Williams) 12878Files: src/message.c 12879 12880Patch 7.4.2098 12881Problem: Text object tests are old style. 12882Solution: Turn them into new style tests. (James McCoy, closes #941) 12883Files: src/testdir/Make_all.mak, src/testdir/test_textobjects.in, 12884 src/testdir/test_textobjects.ok, src/testdir/test_textobjects.vim, 12885 src/Makefile 12886 12887Patch 7.4.2099 12888Problem: When a keymap is active only "(lang)" is displayed. (Ilya 12889 Dogolazky) 12890Solution: Show the keymap name. (Dmitri Vereshchagin, closes #933) 12891Files: src/buffer.c, src/proto/screen.pro, src/screen.c 12892 12893Patch 7.4.2100 12894Problem: "cgn" and "dgn" do not work correctly with a single character 12895 match and the replacement includes the searched pattern. (John 12896 Beckett) 12897Solution: If the match is found in the wrong column try in the next column. 12898 Turn the test into new style. (Christian Brabandt) 12899Files: src/search.c, src/testdir/Make_all.mak, src/Makefile, 12900 src/testdir/test53.in, src/testdir/test53.ok, 12901 src/testdir/test_gn.vim 12902 12903Patch 7.4.2101 12904Problem: Looping over windows, buffers and tab pages is inconsistent. 12905Solution: Use FOR_ALL_ macros everywhere. (Yegappan Lakshmanan) 12906Files: src/buffer.c, src/diff.c, src/edit.c, src/eval.c, src/evalfunc.c, 12907 src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, src/fileio.c, 12908 src/globals.h, src/gui.c, src/gui_mac.c, src/if_lua.c, 12909 src/if_mzsch.c, src/if_perl.xs, src/if_ruby.c, src/if_tcl.c, 12910 src/main.c, src/mark.c, src/memfile.c, src/memline.c, src/misc1.c, 12911 src/move.c, src/netbeans.c, src/normal.c, src/option.c, 12912 src/quickfix.c, src/screen.c, src/spell.c, src/term.c, 12913 src/window.c, src/workshop.c 12914 12915Patch 7.4.2102 (after 7.4.2101) 12916Problem: Tiny build with GUI fails. 12917Solution: Revert one FOR_ALL_ change. 12918Files: src/gui.c 12919 12920Patch 7.4.2103 12921Problem: Can't have "augroup END" right after ":au!". 12922Solution: Check for the bar character before the command argument. 12923Files: src/fileio.c, src/testdir/test_autocmd.vim, 12924 runtime/doc/autocmd.txt 12925 12926Patch 7.4.2104 12927Problem: Code duplication when unreferencing a function. 12928Solution: De-duplicate. 12929Files: src/userfunc.c 12930 12931Patch 7.4.2105 12932Problem: Configure reports default features to be "normal" while it is 12933 "huge". 12934Solution: Change the default text. Build with newer autoconf. 12935Files: src/configure.in, src/auto/configure 12936 12937Patch 7.4.2106 12938Problem: Clang warns about missing field in initializer. 12939Solution: Define COMMA and use it. (Kazunobu Kuriyama) 12940Files: src/ex_cmds.c, src/globals.h, src/vim.h 12941 12942Patch 7.4.2107 (after 7.4.2106) 12943Problem: Misplaced equal sign. 12944Solution: Remove it. 12945Files: src/globals.h 12946 12947Patch 7.4.2108 12948Problem: Netbeans test is flaky. 12949Solution: Wait for the cursor to be positioned. 12950Files: src/testdir/test_netbeans.vim 12951 12952Patch 7.4.2109 12953Problem: Setting 'display' to "lastline" is a drastic change, while 12954 omitting it results in lots of "@" lines. 12955Solution: Add "truncate" to show "@@@" for a truncated line. 12956Files: src/option.h, src/screen.c, runtime/doc/options.txt 12957 12958Patch 7.4.2110 12959Problem: When there is an CmdUndefined autocmd then the error for a missing 12960 command is E464 instead of E492. (Manuel Ortega) 12961Solution: Don't let the pointer be NULL. 12962Files: src/ex_docmd.c, src/testdir/test_usercommands.vim 12963 12964Patch 7.4.2111 12965Problem: Defaults are very conservative. 12966Solution: Move settings from vimrc_example.vim to defaults.vim. Load 12967 defaults.vim if no .vimrc was found. 12968Files: src/main.c, src/version.c, src/os_amiga.h, src/os_dos.h, 12969 src/os_mac.h, src/os_unix.h, src/feature.h, src/Makefile, 12970 runtime/vimrc_example.vim, runtime/defaults.vim, 12971 runtime/evim.vim, Filelist, runtime/doc/starting.txt 12972 12973Patch 7.4.2112 12974Problem: getcompletion(.., 'dir') returns a match with trailing "*" when 12975 there are no matches. (Chdiza) 12976Solution: Return an empty list when there are no matches. Add a trailing 12977 slash to directories. (Yegappan Lakshmanan) Add tests for no 12978 matches. (closes #947) 12979Files: src/evalfunc.c, src/testdir/test_cmdline.vim 12980 12981Patch 7.4.2113 12982Problem: Test for undo is flaky. 12983Solution: Turn it into a new style test. Use test_settime() to avoid 12984 flakyness. 12985Files: src/Makefile, src/undo.c, src/testdir/test61.in, 12986 src/testdir/test61.ok, src/testdir/test_undo.vim, 12987 src/testdir/test_undolevels.vim, src/testdir/Make_all.mak, 12988 src/testdir/test_alot.vim 12989 12990Patch 7.4.2114 12991Problem: Tiny build fails. 12992Solution: Always include vim_time(). 12993Files: src/ex_cmds.c 12994 12995Patch 7.4.2115 12996Problem: Loading defaults.vim with -C argument. 12997Solution: Don't load the defaults script with -C argument. Test sourcing 12998 the defaults script. Set 'display' to "truncate". 12999Files: src/main.c, src/Makefile, runtime/defaults.vim, 13000 src/testdir/test_startup.vim, src/testdir/Make_all.mak 13001 13002Patch 7.4.2116 13003Problem: The default vimrc for Windows is very conservative. 13004Solution: Use the defaults.vim in the Windows installer. 13005Files: src/dosinst.c 13006 13007Patch 7.4.2117 13008Problem: Deleting an augroup that still has autocmds does not give a 13009 warning. The next defined augroup takes its place. 13010Solution: Give a warning and prevent the index being used for another group 13011 name. 13012Files: src/fileio.c, src/testdir/test_autocmd.vim 13013 13014Patch 7.4.2118 13015Problem: Mac: can't build with tiny features. 13016Solution: Don't define FEAT_CLIPBOARD unconditionally. (Kazunobu Kuriyama) 13017Files: src/vim.h 13018 13019Patch 7.4.2119 13020Problem: Closures are not supported. 13021Solution: Capture variables in lambdas from the outer scope. (Yasuhiro 13022 Matsumoto, Ken Takata) 13023Files: runtime/doc/eval.txt, src/eval.c, src/ex_cmds2.c, src/globals.h, 13024 src/proto/eval.pro, src/proto/userfunc.pro, 13025 src/testdir/test_lambda.vim, src/userfunc.c 13026 13027Patch 7.4.2120 13028Problem: User defined functions can't be a closure. 13029Solution: Add the "closure" argument. Allow using :unlet on a bound 13030 variable. (Yasuhiro Matsumoto, Ken Takata) 13031Files: runtime/doc/eval.txt, src/testdir/test_lambda.vim, src/userfunc.c, 13032 src/eval.c src/proto/userfunc.pro 13033 13034Patch 7.4.2121 13035Problem: No easy way to check if lambda and closure are supported. 13036Solution: Add the +lambda feature. 13037Files: src/evalfunc.c, src/version.c, src/testdir/test_lambda.vim 13038 13039Patch 7.4.2122 (after 7.4.2118) 13040Problem: Mac: don't get +clipboard in huge build. 13041Solution: Move #define down below including feature.h 13042Files: src/vim.h 13043 13044Patch 7.4.2123 13045Problem: No new style test for diff mode. 13046Solution: Add a test. Check that folds are in sync. 13047Files: src/Makefile, src/testdir/test_diffmode.vim, 13048 src/testdir/Make_all.mak, src/testdir/test47.in, 13049 src/testdir/test47.ok 13050 13051Patch 7.4.2124 13052Problem: diffmode test leaves files behind, breaking another test. 13053Solution: Delete the files. 13054Files: src/testdir/test_diffmode.vim 13055 13056Patch 7.4.2125 13057Problem: Compiler warning for loss of data. 13058Solution: Add a type cast. (Christian Brabandt) 13059Files: src/message.c 13060 13061Patch 7.4.2126 13062Problem: No tests for :diffget and :diffput 13063Solution: Add tests. 13064Files: src/testdir/test_diffmode.vim 13065 13066Patch 7.4.2127 13067Problem: The short form of ":noswapfile" is ":noswap" instead of ":nos". 13068 (Kent Sibilev) 13069Solution: Only require three characters. Add a test for the short forms. 13070Files: src/ex_docmd.c, src/testdir/test_usercommands.vim 13071 13072Patch 7.4.2128 13073Problem: Memory leak when saving for undo fails. 13074Solution: Free allocated memory. (Hirohito Higashi) 13075Files: src/ex_cmds.c 13076 13077Patch 7.4.2129 13078Problem: Memory leak when using timer_start(). (Dominique Pelle) 13079Solution: Don't copy the callback when using a partial. 13080Files: src/evalfunc.c 13081 13082Patch 7.4.2130 13083Problem: Pending timers cause false memory leak reports. 13084Solution: Free all timers on exit. 13085Files: src/ex_cmds2.c, src/proto/ex_cmds2.pro, src/misc2.c 13086 13087Patch 7.4.2131 13088Problem: More memory leaks when using partial, e.g. for "exit-cb". 13089Solution: Don't copy the callback when using a partial. 13090Files: src/channel.c 13091 13092Patch 7.4.2132 13093Problem: test_partial has memory leaks reported. 13094Solution: Add a note about why this happens. 13095Files: src/testdir/test_partial.vim 13096 13097Patch 7.4.2133 (after 7.4.2128) 13098Problem: Can't build with tiny features. 13099Solution: Add #ifdef. 13100Files: src/ex_cmds.c 13101 13102Patch 7.4.2134 13103Problem: No error for using function() badly. 13104Solution: Check for passing wrong function name. (Ken Takata) 13105Files: src/eval.c, src/evalfunc.c, src/proto/userfunc.pro, 13106 src/testdir/test_expr.vim, src/userfunc.c, src/vim.h 13107 13108Patch 7.4.2135 13109Problem: Various tiny issues. 13110Solution: Update comments, white space, etc. 13111Files: src/diff.c, src/digraph.c, src/testdir/test80.in, 13112 src/testdir/test_channel.vim, src/testdir/Makefile, 13113 runtime/menu.vim, src/INSTALLpc.txt, src/xpm/README.txt 13114 13115Patch 7.4.2136 13116Problem: Closure function fails. 13117Solution: Don't reset uf_scoped when it points to another funccal. 13118Files: src/userfunc.c, src/testdir/test_lambda.vim 13119 13120Patch 7.4.2137 13121Problem: Using function() with a name will find another function when it is 13122 redefined. 13123Solution: Add funcref(). Refer to lambda using a partial. Fix several 13124 reference counting issues. 13125Files: src/vim.h, src/structs.h, src/userfunc.c, src/eval.c, 13126 src/evalfunc.c, src/channel.c, src/proto/eval.pro, 13127 src/proto/userfunc.pro, src/if_mzsch.c, src/regexp.c, src/misc2.c, 13128 src/if_py_both.h, src/testdir/test_expr.vim, runtime/doc/eval.txt 13129 13130Patch 7.4.2138 13131Problem: Test 86 and 87 fail. 13132Solution: Call func_ref() also for regular functions. 13133Files: src/if_py_both.h 13134 13135Patch 7.4.2139 13136Problem: :delfunction causes illegal memory access. 13137Solution: Correct logic when deciding to free a function. 13138Files: src/userfunc.c, src/testdir/test_lambda.vim 13139 13140Patch 7.4.2140 13141Problem: Tiny build fails. 13142Solution: Add dummy typedefs. 13143Files: src/structs.h 13144 13145Patch 7.4.2141 13146Problem: Coverity reports bogus NULL check. 13147Solution: When checking for a variable in the funccal scope don't pass the 13148 varname. 13149Files: src/userfunc.c, src/proto/userfunc.pro, src/eval.c 13150 13151Patch 7.4.2142 13152Problem: Leaking memory when redefining a function. 13153Solution: Don't increment the function reference count when it's found by 13154 name. Don't remove the wrong function from the hashtab. More 13155 reference counting fixes. 13156Files: src/structs.h, src/userfunc.c 13157 13158Patch 7.4.2143 13159Problem: A funccal is garbage collected while it can still be used. 13160Solution: Set copyID in all referenced functions. Do not list lambda 13161 functions with ":function". 13162Files: src/userfunc.c, src/proto/userfunc.pro, src/eval.c, 13163 src/testdir/test_lambda.vim 13164 13165Patch 7.4.2144 13166Problem: On MS-Windows quickfix does not handle a line with 1023 bytes 13167 ending in CR-LF properly. 13168Solution: Don't consider CR a line break. (Ken Takata) 13169Files: src/quickfix.c 13170 13171Patch 7.4.2145 13172Problem: Win32: Using CreateThread/ExitThread is not safe. 13173Solution: Use _beginthreadex and return from the thread. (Ken Takata) 13174Files: src/os_win32.c 13175 13176Patch 7.4.2146 13177Problem: Not enough testing for popup menu. CTRL-E does not always work 13178 properly. 13179Solution: Add more tests. When using CTRL-E check if the popup menu is 13180 visible. (Christian Brabandt) 13181Files: src/edit.c, src/testdir/test_popup.vim 13182 13183Patch 7.4.2147 (after 7.4.2146) 13184Problem: test_alot fails. 13185Solution: Close window. 13186Files: src/testdir/test_popup.vim 13187 13188Patch 7.4.2148 13189Problem: Not much testing for cscope. 13190Solution: Add a test that uses the cscope program. (Christian Brabandt) 13191Files: src/testdir/test_cscope.vim 13192 13193Patch 7.4.2149 13194Problem: If a test leaves a window open a following test may fail. 13195Solution: Always close extra windows after running a test. 13196Files: src/testdir/runtest.vim, src/testdir/test_popup.vim 13197 13198Patch 7.4.2150 13199Problem: Warning with MinGW 64. (John Marriott) 13200Solution: Change return type. (Ken Takata) 13201Files: src/os_win32.c 13202 13203Patch 7.4.2151 13204Problem: Quickfix test fails on MS-Windows. 13205Solution: Close the help window. (Christian Brabandt) 13206Files: src/testdir/test_quickfix.vim 13207 13208Patch 7.4.2152 13209Problem: No proper translation of messages with a count. 13210Solution: Use ngettext(). (Sergey Alyoshin) 13211Files: src/evalfunc.c, src/fold.c, src/os_win32.c, src/screen.c, src/vim.h 13212 13213Patch 7.4.2153 13214Problem: GUI test isn't testing much. 13215Solution: Turn into a new style test. Execute a shell command. 13216Files: src/testdir/test_gui.vim, src/testdir/test16.in, 13217 src/testdir/test16.ok, src/testdir/Make_all.mak, src/Makefile, 13218 src/testdir/Make_vms.mms 13219 13220Patch 7.4.2154 13221Problem: Test_communicate() fails sometimes. 13222Solution: Add it to the flaky tests. 13223Files: src/testdir/runtest.vim 13224 13225Patch 7.4.2155 13226Problem: Quotes make GUI test fail on MS-Windows. 13227Solution: Remove quotes, strip white space. 13228Files: src/testdir/test_gui.vim 13229 13230Patch 7.4.2156 13231Problem: Compiler warning. 13232Solution: Add type cast. (Ken Takata, Mike Williams) 13233Files: src/os_win32.c 13234 13235Patch 7.4.2157 13236Problem: Test_job_start_fails() is expected to report memory leaks, making 13237 it hard to see other leaks in test_partial. 13238Solution: Move Test_job_start_fails() to a separate test file. 13239Files: src/testdir/test_partial.vim, src/testdir/test_job_fails.vim, 13240 src/Makefile, src/testdir/Make_all.mak 13241 13242Patch 7.4.2158 13243Problem: Result of getcompletion('', 'cscope') depends on previous 13244 completion. (Christian Brabandt) 13245Solution: Call set_context_in_cscope_cmd(). 13246Files: src/evalfunc.c, src/testdir/test_cmdline.vim 13247 13248Patch 7.4.2159 13249Problem: Insufficient testing for cscope. 13250Solution: Add more tests. (Dominique Pelle) 13251Files: src/testdir/test_cscope.vim 13252 13253Patch 7.4.2160 13254Problem: setmatches() mixes up values. (Nikolai Pavlov) 13255Solution: Save the string instead of reusing a shared buffer. 13256Files: src/dict.c, src/evalfunc.c, src/testdir/test_expr.vim, 13257 13258Patch 7.4.2161 (after 7.4.2160) 13259Problem: Expression test fails without conceal feature. 13260Solution: Only check "conceal" with the conceal feature. 13261Files: src/testdir/test_expr.vim 13262 13263Patch 7.4.2162 13264Problem: Result of getcompletion('', 'sign') depends on previous 13265 completion. 13266Solution: Call set_context_in_sign_cmd(). (Dominique Pelle) 13267Files: src/evalfunc.c, src/testdir/test_cmdline.vim 13268 13269Patch 7.4.2163 13270Problem: match() and related functions tested with old style test. 13271Solution: Convert to new style test. (Hirohito Higashi) 13272Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/test63.in, 13273 src/testdir/test63.ok, src/testdir/test_alot.vim, 13274 src/testdir/test_match.vim, src/testdir/test_matchstrpos.vim 13275 13276Patch 7.4.2164 13277Problem: It is not possible to use plugins in an "after" directory to tune 13278 the behavior of a package. 13279Solution: First load plugins from non-after directories, then packages and 13280 finally plugins in after directories. 13281 Reset 'loadplugins' before executing --cmd arguments. 13282Files: src/main.c, src/vim.h, src/ex_cmds2.c, src/testdir/Makefile, 13283 src/testdir/shared.vim, src/testdir/test_startup.vim, 13284 src/testdir/setup.vim, runtime/doc/starting.txt 13285 13286Patch 7.4.2165 (after 7.4.2164) 13287Problem: Startup test fails on MS-Windows. 13288Solution: Don't check output if RunVim() returns zero. 13289Files: src/testdir/test_startup.vim 13290 13291Patch 7.4.2166 (after 7.4.2164) 13292Problem: Small build can't run startup test. 13293Solution: Skip the test. 13294Files: src/testdir/test_startup.vim 13295 13296Patch 7.4.2167 (after 7.4.2164) 13297Problem: Small build can't run tests. 13298Solution: Don't try setting 'packpath'. 13299Files: src/testdir/setup.vim 13300 13301Patch 7.4.2168 13302Problem: Not running the startup test on MS-Windows. 13303Solution: Write vimcmd. 13304Files: src/testdir/Make_ming.mak, src/testdir/Make_dos.mak 13305 13306Patch 7.4.2169 (after 7.4.2168) 13307Problem: Startup test gets stuck on MS-Windows. 13308Solution: Use double quotes. 13309Files: src/testdir/shared.vim, src/testdir/test_startup.vim 13310 13311Patch 7.4.2170 13312Problem: Cannot get information about timers. 13313Solution: Add timer_info(). 13314Files: src/evalfunc.c, src/ex_cmds2.c, src/proto/ex_cmds2.pro, 13315 runtime/doc/eval.txt 13316 13317Patch 7.4.2171 (after 7.4.2170) 13318Problem: MS-Windows build fails. 13319Solution: Add QueryPerformanceCounter(). 13320Files: src/ex_cmds2.c 13321 13322Patch 7.4.2172 13323Problem: No test for "vim --help". 13324Solution: Add a test. 13325Files: src/testdir/test_startup.vim, src/testdir/shared.vim 13326 13327Patch 7.4.2173 (after 7.4.2172) 13328Problem: Can't test help on MS-Windows. 13329Solution: Skip the test. 13330Files: src/testdir/test_startup.vim 13331 13332Patch 7.4.2174 13333Problem: Adding duplicate flags to 'whichwrap' leaves commas behind. 13334Solution: Also remove the commas. (Naruhiko Nishino) 13335Files: src/Makefile, src/option.c, src/testdir/Make_all.mak, 13336 src/testdir/test_alot.vim, src/testdir/test_options.in, 13337 src/testdir/test_options.ok, src/testdir/test_options.vim 13338 13339Patch 7.4.2175 13340Problem: Insufficient testing of cscope. 13341Solution: Add more tests. (Dominique Pelle) 13342Files: src/testdir/test_cscope.vim 13343 13344Patch 7.4.2176 13345Problem: #ifdefs in main() are complicated. 13346Solution: Always define vim_main2(). Move params to the file level. 13347 (suggested by Ken Takata) 13348Files: src/main.c, src/structs.h, src/vim.h, src/if_mzsch.c, 13349 src/proto/if_mzsch.pro 13350 13351Patch 7.4.2177 13352Problem: No testing for -C and -N command line flags, file arguments, 13353 startuptime. 13354Solution: Add tests. 13355Files: src/testdir/test_startup.vim, src/testdir/shared.vim 13356 13357Patch 7.4.2178 13358Problem: No test for reading from stdin. 13359Solution: Add a test. 13360Files: src/testdir/test_startup.vim, src/testdir/shared.vim 13361 13362Patch 7.4.2179 (after 7.4.2178) 13363Problem: Reading from stdin test fails on MS-Windows. 13364Solution: Strip the extra space. 13365Files: src/testdir/test_startup.vim 13366 13367Patch 7.4.2180 13368Problem: There is no easy way to stop all timers. There is no way to 13369 temporary pause a timer. 13370Solution: Add timer_stopall() and timer_pause(). 13371Files: src/evalfunc.c, src/ex_cmds2.c, src/proto/ex_cmds2.pro, 13372 src/structs.h, src/testdir/test_timers.vim, 13373 src/testdir/shared.vim, runtime/doc/eval.txt 13374 13375Patch 7.4.2181 13376Problem: Compiler warning for unused variable. 13377Solution: Remove it. (Dominique Pelle) 13378Files: src/ex_cmds2.c 13379 13380Patch 7.4.2182 13381Problem: Color Grey40 used in startup but not in the short list. 13382Solution: Add Grey40 to the builtin colors. 13383Files: src/term.c 13384 13385Patch 7.4.2183 13386Problem: Sign tests are old style. 13387Solution: Turn them into new style tests. (Dominique Pelle) 13388Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/test_signs.in, 13389 src/testdir/test_signs.ok, src/testdir/test_signs.vim, 13390 13391Patch 7.4.2184 13392Problem: Tests that use RunVim() do not actually perform the test. 13393Solution: Use "return" instead of "call". (Ken Takata) 13394Files: src/testdir/shared.vim 13395 13396Patch 7.4.2185 13397Problem: Test glob2regpat does not test much. 13398Solution: Add a few more test cases. (Dominique Pelle) 13399Files: src/testdir/test_glob2regpat.vim 13400 13401Patch 7.4.2186 13402Problem: Timers test is flaky. 13403Solution: Relax the sleep time check. 13404Files: src/testdir/test_timers.vim 13405 13406Patch 7.4.2187 (after 7.4.2185) 13407Problem: glob2regpat test fails on Windows. 13408Solution: Remove the checks that use backslashes. 13409Files: src/testdir/test_glob2regpat.vim 13410 13411Patch 7.4.2188 (after 7.4.2146) 13412Problem: Completion does not work properly with some plugins. 13413Solution: Revert the part related to typing CTRL-E. (closes #972) 13414Files: src/edit.c, src/testdir/test_popup.vim 13415 13416Patch 7.4.2189 13417Problem: Cannot detect encoding in a fifo. 13418Solution: Extend the stdin way of detecting encoding to fifo. Add a test 13419 for detecting encoding on stdin and fifo. (Ken Takata) 13420Files: src/buffer.c, src/fileio.c, src/Makefile, 13421 src/testdir/Make_all.mak, src/testdir/test_startup_utf8.vim, 13422 src/vim.h 13423 13424Patch 7.4.2190 13425Problem: When startup test fails it's not easy to find out why. 13426 GUI test fails with Gnome. 13427Solution: Add the help entry matches to a list an assert that. 13428 Set $HOME for Gnome to create .gnome2 directory. 13429Files: src/testdir/test_startup.vim, src/testdir/test_gui.vim 13430 13431Patch 7.4.2191 13432Problem: No automatic prototype for vim_main2(). 13433Solution: Move the #endif. (Ken Takata) 13434Files: src/main.c, src/vim.h, src/proto/main.pro 13435 13436Patch 7.4.2192 13437Problem: Generating prototypes with Cygwin doesn't work well. 13438Solution: Change #ifdefs. (Ken Takata) 13439Files: src/gui.h, src/gui_w32.c, src/ops.c, src/proto/fileio.pro, 13440 src/proto/message.pro, src/proto/normal.pro, src/proto/ops.pro, 13441 src/vim.h 13442 13443Patch 7.4.2193 13444Problem: With Gnome when the GUI can't start test_startup hangs. 13445Solution: Call gui_mch_early_init_check(). (Hirohito Higashi) 13446Files: src/gui.c, src/gui_gtk_x11.c, src/proto/gui_gtk_x11.pro 13447 13448Patch 7.4.2194 13449Problem: Sign tests don't cover enough. 13450Solution: Add more test cases. (Dominique Pelle) 13451Files: src/testdir/test_signs.vim 13452 13453Patch 7.4.2195 13454Problem: MS-Windows: The vimrun program does not support Unicode. 13455Solution: Use GetCommandLineW(). Cleanup old #ifdefs. (Ken Takata) 13456Files: src/vimrun.c 13457 13458Patch 7.4.2196 13459Problem: glob2regpat test doesn't test everything on MS-Windows. 13460Solution: Add patterns with backslash handling. 13461Files: src/testdir/test_glob2regpat.vim 13462 13463Patch 7.4.2197 13464Problem: All functions are freed on exit, which may hide leaks. 13465Solution: Only free named functions, not reference counted ones. 13466Files: src/userfunc.c 13467 13468Patch 7.4.2198 13469Problem: Test alot sometimes fails under valgrind. (Dominique Pelle) 13470Solution: Avoid passing a callback with the wrong number of arguments. 13471Files: src/testdir/test_partial.vim 13472 13473Patch 7.4.2199 13474Problem: In the GUI the cursor is hidden when redrawing any window, 13475 causing flicker. 13476Solution: Only undraw the cursor when updating the window it's in. 13477Files: src/screen.c, src/gui.c, src/proto/gui.pro, src/gui_gtk_x11.c 13478 13479Patch 7.4.2200 13480Problem: Cannot get all information about a quickfix list. 13481Solution: Add an optional argument to get/set loc/qf list(). (Yegappan 13482 Lakshmanan) 13483Files: runtime/doc/eval.txt, src/evalfunc.c, src/proto/quickfix.pro, 13484 src/quickfix.c, src/tag.c, src/testdir/test_quickfix.vim 13485 13486Patch 7.4.2201 13487Problem: The sign column disappears when the last sign is deleted. 13488Solution: Add the 'signcolumn' option. (Christian Brabandt) 13489Files: runtime/doc/options.txt, runtime/optwin.vim, src/edit.c, 13490 src/move.c, src/option.c, src/option.h, src/proto/option.pro, 13491 src/screen.c, src/structs.h, src/testdir/test_options.vim 13492 13493Patch 7.4.2202 13494Problem: Build fails with small features. 13495Solution: Correct option initialization. 13496Files: src/option.c 13497 13498Patch 7.4.2203 13499Problem: Test fails with normal features. 13500Solution: Check is signs are supported. 13501Files: src/testdir/test_options.vim 13502 13503Patch 7.4.2204 13504Problem: It is not easy to get information about buffers, windows and 13505 tabpages. 13506Solution: Add getbufinfo(), getwininfo() and gettabinfo(). (Yegappan 13507 Lakshmanan) 13508Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/dict.c, 13509 src/evalfunc.c, src/option.c, src/proto/dict.pro, 13510 src/proto/option.pro, src/proto/window.pro, 13511 src/testdir/Make_all.mak, src/testdir/test_bufwintabinfo.vim, 13512 src/window.c, src/Makefile 13513 13514Patch 7.4.2205 13515Problem: 'wildignore' always applies to getcompletion(). 13516Solution: Add an option to use 'wildignore' or not. (Yegappan Lakshmanan) 13517Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_cmdline.vim 13518 13519Patch 7.4.2206 13520Problem: Warning for unused function. 13521Solution: Put the function inside #ifdef. (John Marriott) 13522Files: src/evalfunc.c 13523 13524Patch 7.4.2207 13525Problem: The +xpm feature is not sorted properly in :version output. 13526Solution: Move it up. (Tony Mechelynck) 13527Files: src/version.c 13528 13529Patch 7.4.2208 13530Problem: Test for mappings is old style. 13531Solution: Convert the test to new style. 13532Files: src/testdir/test_mapping.vim, src/testdir/test_mapping.in, 13533 src/testdir/test_mapping.ok, src/Makefile, 13534 src/testdir/test_alot.vim, src/testdir/Make_all.mak 13535 13536Patch 7.4.2209 13537Problem: Cannot map <M-">. (Stephen Riehm) 13538Solution: Solve the memory access problem in another way. (Dominique Pelle) 13539 Allow for using <M-\"> in a string. 13540Files: src/eval.c, src/gui_mac.c, src/misc2.c, src/option.c, 13541 src/proto/misc2.pro, src/syntax.c, src/term.c, 13542 src/testdir/test_mapping.vim 13543 13544Patch 7.4.2210 13545Problem: On OSX configure mixes up a Python framework and the Unix layout. 13546Solution: Make configure check properly. (Tim D. Smith, closes #980) 13547Files: src/configure.in, src/auto/configure 13548 13549Patch 7.4.2211 13550Problem: Mouse support is not automatically enabled with simple term. 13551Solution: Recognize "st" and other names. (Manuel Schiller, closes #963) 13552Files: src/os_unix.c 13553 13554Patch 7.4.2212 13555Problem: Mark " is not set when closing a window in another tab. (Guraga) 13556Solution: Check all tabs for the window to be valid. (based on patch by 13557 Hirohito Higashi, closes #974) 13558Files: src/window.c, src/proto/window.pro, src/buffer.c, 13559 src/testdir/test_viminfo.vim 13560 13561Patch 7.4.2213 13562Problem: Cannot highlight the "~" lines at the end of a window differently. 13563Solution: Add the EndOfBuffer highlighting. (Marco Hinz, James McCoy) 13564Files: runtime/doc/options.txt, runtime/doc/syntax.txt, src/option.c, 13565 src/screen.c, src/syntax.c, src/vim.h 13566 13567Patch 7.4.2214 13568Problem: A font that uses ligatures messes up the screen display. 13569Solution: Put spaces between characters when building the glyph table. 13570 (based on a patch from Manuel Schiller) 13571Files: src/gui_gtk_x11.c 13572 13573Patch 7.4.2215 13574Problem: It's not easy to find out if a window is a quickfix or location 13575 list window. 13576Solution: Add "loclist" and "quickfix" entries to the dict returned by 13577 getwininfo(). (Yegappan Lakshmanan) 13578Files: runtime/doc/eval.txt, src/evalfunc.c, 13579 src/testdir/test_bufwintabinfo.vim 13580 13581Patch 7.4.2216 (after 7.4.2215) 13582Problem: Test fails without the +sign feature. 13583Solution: Only check for signcolumn with the +sign feature. 13584Files: src/testdir/test_bufwintabinfo.vim 13585 13586Patch 7.4.2217 13587Problem: When using matchaddpos() a character after the end of the line can 13588 be highlighted. 13589Solution: Only highlight existing characters. (Hirohito Higashi) 13590Files: src/screen.c, src/structs.h, src/testdir/test_match.vim 13591 13592Patch 7.4.2218 13593Problem: Can't build with +timers when +digraph is not included. 13594Solution: Change #ifdef for e_number_exp. (Damien) 13595Files: src/globals.h 13596 13597Patch 7.4.2219 13598Problem: Recursive call to substitute gets stuck in sandbox. (Nikolai 13599 Pavlov) 13600Solution: Handle the recursive call. (Christian Brabandt, closes #950) 13601 Add a test. 13602Files: src/ex_cmds.c, src/testdir/test_regexp_latin.vim 13603 13604Patch 7.4.2220 13605Problem: printf() gives an error when the argument for %s is not a string. 13606 (Ozaki Kiichi) 13607Solution: Behave like invoking string() on the argument. (Ken Takata) 13608Files: runtime/doc/eval.txt, src/message.c, src/testdir/test_expr.vim 13609 13610Patch 7.4.2221 13611Problem: printf() does not support binary format. 13612Solution: Add %b and %B. (Ozaki Kiichi) 13613Files: runtime/doc/eval.txt, src/message.c, src/testdir/test_expr.vim 13614 13615Patch 7.4.2222 13616Problem: Sourcing a script where a character has 0x80 as a second byte does 13617 not work. (Filipe L B Correia) 13618Solution: Turn 0x80 into K_SPECIAL KS_SPECIAL KE_FILLER. (Christian 13619 Brabandt, closes #728) Add a test case. 13620Files: src/getchar.c, src/proto/getchar.pro, src/misc1.c, 13621 src/testdir/test_regexp_utf8.vim 13622 13623Patch 7.4.2223 13624Problem: Buffer overflow when using latin1 character with feedkeys(). 13625Solution: Check for an illegal character. Add a test. 13626Files: src/testdir/test_regexp_utf8.vim, src/testdir/test_source_utf8.vim, 13627 src/testdir/test_alot_utf8.vim, src/Makefile, src/getchar.c, 13628 src/macros.h, src/evalfunc.c, src/os_unix.c, src/os_win32.c, 13629 src/spell.c, 13630 13631Patch 7.4.2224 13632Problem: Compiler warnings with older compiler and 64 bit numbers. 13633Solution: Add "LL" to large values. (Mike Williams) 13634Files: src/eval.c, src/evalfunc.c 13635 13636Patch 7.4.2225 13637Problem: Crash when placing a sign in a deleted buffer. 13638Solution: Check for missing buffer name. (Dominique Pelle). Add a test. 13639Files: src/ex_cmds.c, src/testdir/test_signs.vim 13640 13641Patch 7.4.2226 13642Problem: The field names used by getbufinfo(), gettabinfo() and 13643 getwininfo() are not consistent. 13644Solution: Use bufnr, winnr and tabnr. (Yegappan Lakshmanan) 13645Files: runtime/doc/eval.txt, src/evalfunc.c, 13646 src/testdir/test_bufwintabinfo.vim 13647 13648Patch 7.4.2227 13649Problem: Tab page tests are old style. 13650Solution: Change into new style tests. (Hirohito Higashi) 13651Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/test62.in, 13652 src/testdir/test62.ok, src/testdir/test_alot.vim, 13653 src/testdir/test_tabpage.vim 13654 13655Patch 7.4.2228 13656Problem: Test files have inconsistent modelines. 13657Solution: Don't set 'tabstop' to 2, use 'sts' and 'sw'. 13658Files: src/testdir/README.txt, src/testdir/test_backspace_opt.vim, 13659 src/testdir/test_digraph.vim, src/testdir/test_gn.vim 13660 src/testdir/test_help_tagjump.vim, 13661 src/testdir/test_increment_dbcs.vim, 13662 src/testdir/test_increment.vim, src/testdir/test_match.vim, 13663 src/testdir/test_tagjump.vim, src/testdir/test_window_cmd.vim, 13664 src/testdir/test_regexp_latin.vim, src/testdir/test_timers.vim 13665 13666Patch 7.4.2229 13667Problem: Startup test fails on Solaris. 13668Solution: Recognize a character device. (Danek Duvall) 13669Files: src/buffer.c, src/fileio.c, src/proto/fileio.pro, src/vim.h 13670 13671Patch 7.4.2230 13672Problem: There is no equivalent of 'smartcase' for a tag search. 13673Solution: Add value "followscs" and "smart" to 'tagcase'. (Christian 13674 Brabandt, closes #712) Turn tagcase test into new style. 13675Files: runtime/doc/options.txt, runtime/doc/tagsrch.txt, src/option.h, 13676 src/tag.c, src/search.c, src/proto/search.pro, 13677 src/testdir/test_tagcase.in, src/testdir/test_tagcase.ok, 13678 src/testdir/test_tagcase.vim, src/Makefile, 13679 src/testdir/Make_all.mak, src/testdir/test_alot.vim 13680 13681Patch 7.4.2231 13682Problem: ":oldfiles" output is a very long list. 13683Solution: Add a pattern argument. (Coot, closes #575) 13684Files: runtime/doc/starting.txt, src/ex_cmds.h, src/eval.c, 13685 src/ex_cmds.c, src/proto/eval.pro, src/proto/ex_cmds.pro, 13686 src/testdir/test_viminfo.vim 13687 13688Patch 7.4.2232 13689Problem: The default ttimeoutlen is very long. 13690Solution: Use "100". (Hirohito Higashi) 13691Files: runtime/defaults.vim 13692 13693Patch 7.4.2233 13694Problem: Crash when using funcref() with invalid name. (Dominique Pelle) 13695Solution: Check for NULL translated name. 13696Files: src/evalfunc.c, src/testdir/test_expr.vim 13697 13698Patch 7.4.2234 13699Problem: Can't build with +eval but without +quickfix. (John Marriott) 13700Solution: Move skip_vimgrep_pat() to separate #ifdef block. 13701Files: src/quickfix.c 13702 13703Patch 7.4.2235 13704Problem: submatch() does not check for a valid argument. 13705Solution: Give an error if the argument is out of range. (Dominique Pelle) 13706Files: src/evalfunc.c, src/testdir/test_expr.vim 13707 13708Patch 7.4.2236 13709Problem: The 'langnoremap' option leads to double negatives. And it does 13710 not work for the last character of a mapping. 13711Solution: Add 'langremap' with the opposite value. Keep 'langnoremap' for 13712 backwards compatibility. Make it work for the last character of a 13713 mapping. Make the test work. 13714Files: runtime/doc/options.txt, runtime/defaults.vim, src/option.c, 13715 src/option.h, src/macros.h, src/testdir/test_mapping.vim 13716 13717Patch 7.4.2237 13718Problem: Can't use "." and "$" with ":tab". 13719Solution: Support a range for ":tab". (Hirohito Higashi) 13720Files: runtime/doc/tabpage.txt, src/ex_docmd.c, 13721 src/testdir/test_tabpage.vim 13722 13723Patch 7.4.2238 13724Problem: With SGR mouse reporting (suckless terminal) the mouse release and 13725 scroll up/down is confused. 13726Solution: Don't see a release as a scroll up/down. (Ralph Eastwood) 13727Files: src/term.c 13728 13729Patch 7.4.2239 13730Problem: Warning for missing declaration of skip_vimgrep_pat(). (John 13731 Marriott) 13732Solution: Move it to another file. 13733Files: src/quickfix.c, src/proto/quickfix.pro, src/ex_cmds.c, 13734 src/proto/ex_cmds.pro 13735 13736Patch 7.4.2240 13737Problem: Tests using the sleep time can be flaky. 13738Solution: Use reltime() if available. (Partly by Shane Harper) 13739Files: src/testdir/shared.vim, src/testdir/test_timers.vim 13740 13741Patch 7.4.2241 (after 7.4.2240) 13742Problem: Timer test sometimes fails. 13743Solution: Increase the maximum time for repeating timer. 13744Files: src/testdir/test_timers.vim 13745 13746Patch 7.4.2242 (after 7.4.2240) 13747Problem: Timer test sometimes fails. 13748Solution: Increase the maximum time for callback timer test. 13749Files: src/testdir/test_timers.vim 13750 13751Patch 7.4.2243 13752Problem: Warning for assigning negative value to unsigned. (Danek Duvall) 13753Solution: Make cterm_normal_fg_gui_color and _bg_ guicolor_T, cast to long_u 13754 only when an unsigned is needed. 13755Files: src/structs.h, src/globals.h, src/screen.c, src/term.c, 13756 src/syntax.c, src/gui_gtk_x11.c, src/gui.c, src/gui_mac.c, 13757 src/gui_photon.c, src/gui_w32.c, src/gui_x11.c, 13758 src/proto/term.pro, src/proto/gui_gtk_x11.pro, 13759 src/proto/gui_mac.pro, src/proto/gui_photon.pro, 13760 src/proto/gui_w32.pro, src/proto/gui_x11.pro 13761 13762Patch 7.4.2244 13763Problem: Adding pattern to ":oldfiles" is not a generic solution. 13764Solution: Add the ":filter /pat/ cmd" command modifier. Only works for some 13765 commands right now. 13766Files: src/structs.h, src/ex_docmd.c, src/ex_cmds.h, src/message.c, 13767 src/proto/message.pro, runtime/doc/starting.txt, 13768 runtime/doc/various.txt, src/testdir/test_viminfo.vim, 13769 src/testdir/test_alot.vim, src/testdir/test_filter_cmd.vim, 13770 src/Makefile 13771 13772Patch 7.4.2245 (after 7.4.2244) 13773Problem: Filter test fails. 13774Solution: Include missing changes. 13775Files: src/buffer.c 13776 13777Patch 7.4.2246 (after 7.4.2244) 13778Problem: Oldfiles test fails. 13779Solution: Include missing changes. 13780Files: src/ex_cmds.c 13781 13782Patch 7.4.2247 (after 7.4.2244) 13783Problem: Tiny build fails. (Tony Mechelynck) 13784Solution: Remove #ifdef. 13785Files: src/ex_cmds.c 13786 13787Patch 7.4.2248 13788Problem: When cancelling the :ptjump prompt a preview window is opened for 13789 a following command. 13790Solution: Reset g_do_tagpreview. (Hirohito Higashi) Add a test. Avoid that 13791 the test runner gets stuck in trying to close a window. 13792Files: src/tag.c, src/testdir/test_tagjump.vim, src/testdir/runtest.vim 13793 13794Patch 7.4.2249 13795Problem: Missing colon in error message. 13796Solution: Add the colon. (Dominique Pelle) 13797Files: src/userfunc.c 13798 13799Patch 7.4.2250 13800Problem: Some error messages cannot be translated. 13801Solution: Enclose them in _() and N_(). (Dominique Pelle) 13802Files: src/channel.c, src/evalfunc.c, src/ex_cmds.c, src/spell.c, 13803 src/window.c 13804 13805Patch 7.4.2251 13806Problem: In rare cases diffing 4 buffers is not enough. 13807Solution: Raise the limit to 8. (closes #1000) 13808Files: src/structs.h, runtime/doc/diff.txt 13809 13810Patch 7.4.2252 13811Problem: Compiler warnings for signed/unsigned in expression. 13812Solution: Remove type cast. (Dominique Pelle) 13813Files: src/vim.h 13814 13815Patch 7.4.2253 13816Problem: Check for Windows 3.1 will always return false. (Christian 13817 Brabandt) 13818Solution: Remove the dead code. 13819Files: src/gui_w32.c, src/evalfunc.c, src/ex_cmds.c, src/option.c, 13820 src/os_win32.c, src/version.c, src/proto/gui_w32.pro 13821 13822Patch 7.4.2254 13823Problem: Compiler warnings in MzScheme code. 13824Solution: Add UNUSED. Remove unreachable code. 13825Files: src/if_mzsch.c 13826 13827Patch 7.4.2255 13828Problem: The script that checks translations can't handle plurals. 13829Solution: Check for plural msgid and msgstr entries. Leave the cursor on 13830 the first error. 13831Files: src/po/check.vim 13832 13833Patch 7.4.2256 13834Problem: Coverity complains about null pointer check. 13835Solution: Remove wrong and superfluous error check. 13836Files: src/eval.c 13837 13838Patch 7.4.2257 13839Problem: Coverity complains about not checking for NULL. 13840Solution: Check for out of memory. 13841Files: src/if_py_both.h 13842 13843Patch 7.4.2258 13844Problem: Two JSON messages are sent without a separator. 13845Solution: Separate messages with a NL. (closes #1001) 13846Files: src/json.c, src/channel.c, src/vim.h, src/testdir/test_channel.py, 13847 src/testdir/test_channel.vim, runtime/doc/channel.txt 13848 13849Patch 7.4.2259 13850Problem: With 'incsearch' can only see the next match. 13851Solution: Make CTRL-N/CTRL-P move to the previous/next match. (Christian 13852 Brabandt) 13853Files: runtime/doc/cmdline.txt, src/ex_getln.c, src/testdir/Make_all.mak, 13854 src/testdir/test_search.vim, src/Makefile 13855 13856Patch 7.4.2260 (after 7.4.2258) 13857Problem: Channel test is flaky. 13858Solution: Add a newline to separate JSON messages. 13859Files: src/testdir/test_channel.vim 13860 13861Patch 7.4.2261 (after 7.4.2259) 13862Problem: Build fails with small features. 13863Solution: Move "else" inside the #ifdef. 13864Files: src/ex_getln.c 13865 13866Patch 7.4.2262 13867Problem: Fail to read register content from viminfo if it is 438 characters 13868 long. (John Chen) 13869Solution: Adjust the check for line wrapping. (closes #1010) 13870Files: src/testdir/test_viminfo.vim, src/ex_cmds.c 13871 13872Patch 7.4.2263 13873Problem: :filter does not work for many commands. Can only get matching 13874 messages. 13875Solution: Make :filter work for :command, :map, :list, :number and :print. 13876 Make ":filter!" show non-matching lines. 13877Files: src/getchar.c, src/ex_cmds.c, src/ex_cmds.h, src/ex_docmd.c, 13878 src/message.c, src/structs.h, src/testdir/test_filter_cmd.vim 13879 13880Patch 7.4.2264 13881Problem: When adding entries to an empty quickfix list the title is reset. 13882Solution: Improve handling of the title. (Yegappan Lakshmanan) 13883Files: src/testdir/test_quickfix.vim, src/quickfix.c 13884 13885Patch 7.4.2265 13886Problem: printf() isn't tested much. 13887Solution: Add more tests for printf(). (Dominique Pelle) 13888Files: src/testdir/test_expr.vim 13889 13890Patch 7.4.2266 (after 7.4.2265) 13891Problem: printf() test fails on Windows. "-inf" is not used. 13892Solution: Check for Windows-specific values for "nan". Add sign to "inf" 13893 when appropriate. 13894Files: src/message.c, src/testdir/test_expr.vim 13895 13896Patch 7.4.2267 (after 7.4.2266) 13897Problem: Build fails on MS-Windows. 13898Solution: Add define to get isinf(). 13899Files: src/message.c 13900 13901Patch 7.4.2268 (after 7.4.2259) 13902Problem: Using CTRL-N and CTRL-P for incsearch shadows completion keys. 13903Solution: Use CTRL-T and CTRL-G instead. 13904Files: runtime/doc/cmdline.txt, src/ex_getln.c, 13905 src/testdir/test_search.vim 13906 13907Patch 7.4.2269 13908Problem: Using 'hlsearch' highlighting instead of matchpos if there is no 13909 search match. 13910Solution: Pass NULL as last item to next_search_hl() when searching for 13911 'hlsearch' match. (Shane Harper, closes #1013) 13912Files: src/screen.c, src/testdir/test_match.vim 13913 13914Patch 7.4.2270 13915Problem: Insufficient testing for NUL bytes on a raw channel. 13916Solution: Add a test for writing and reading. 13917Files: src/testdir/test_channel.vim 13918 13919Patch 7.4.2271 13920Problem: Netbeans test doesn't read settings from file. 13921Solution: Use "-Xnbauth". 13922Files: src/testdir/test_netbeans.vim 13923 13924Patch 7.4.2272 13925Problem: getbufinfo(), getwininfo() and gettabinfo() are inefficient. 13926Solution: Instead of making a copy of the variables dictionary, use a 13927 reference. 13928Files: src/evalfunc.c 13929 13930Patch 7.4.2273 13931Problem: getwininfo() and getbufinfo() are inefficient. 13932Solution: Do not make a copy of all window/buffer-local options. Make it 13933 possible to get them with gettabwinvar() or getbufvar(). 13934Files: src/evalfunc.c, src/eval.c, src/testdir/test_bufwintabinfo.vim, 13935 runtime/doc/eval.txt 13936 13937Patch 7.4.2274 13938Problem: Command line completion on "find **/filename" drops sub-directory. 13939Solution: Handle this case separately. (Harm te Hennepe, closes #932, closes 13940 #939) 13941Files: src/misc1.c, src/testdir/test_cmdline.vim 13942 13943Patch 7.4.2275 13944Problem: ":diffoff!" does not remove filler lines. 13945Solution: Force a redraw and invalidate the cursor. (closes #1014) 13946Files: src/diff.c, src/testdir/test_diffmode.vim 13947 13948Patch 7.4.2276 13949Problem: Command line test fails on Windows when run twice. 13950Solution: Wipe the buffer so that the directory can be deleted. 13951Files: src/testdir/test_cmdline.vim 13952 13953Patch 7.4.2277 13954Problem: Memory leak in getbufinfo() when there is a sign. (Dominique 13955 Pelle) 13956Solution: Remove extra vim_strsave(). 13957Files: src/evalfunc.c 13958 13959Patch 7.4.2278 13960Problem: New users have no idea of the 'scrolloff' option. 13961Solution: Set 'scrolloff' in defaults.vim. 13962Files: runtime/defaults.vim 13963 13964Patch 7.4.2279 13965Problem: Starting diff mode with the cursor in the last line might end up 13966 only showing one closed fold. (John Beckett) 13967Solution: Scroll the window to show the same relative cursor position. 13968Files: src/diff.c, src/window.c, src/proto/window.pro 13969 13970Patch 7.4.2280 13971Problem: printf() doesn't handle infinity float values correctly. 13972Solution: Add a table with possible infinity values. (Dominique Pelle) 13973Files: src/message.c, src/testdir/test_expr.vim 13974 13975Patch 7.4.2281 13976Problem: Timer test fails sometimes. 13977Solution: Reduce minimum time by 1 msec. 13978Files: src/testdir/test_timers.vim 13979 13980Patch 7.4.2282 13981Problem: When a child process is very fast waiting 10 msec for it is 13982 noticeable. (Ramel Eshed) 13983Solution: Start waiting for 1 msec and gradually increase. 13984Files: src/os_unix.c 13985 13986Patch 7.4.2283 13987Problem: Part of ":oldfiles" command isn't cleared. (Lifepillar) 13988Solution: Clear the rest of the line. (closes 1018) 13989Files: src/ex_cmds.c 13990 13991Patch 7.4.2284 13992Problem: Comment in scope header file is outdated. (KillTheMule) 13993Solution: Point to the help instead. (closes #1017) 13994Files: src/if_cscope.h 13995 13996Patch 7.4.2285 13997Problem: Generated files are outdated. 13998Solution: Generate the files. Avoid errors when generating prototypes. 13999Files: src/if_mzsch.h, src/Makefile, src/option.h, src/os_mac_conv.c, 14000 src/os_amiga.c, src/vim.h, src/structs.h, src/os_win32.c, 14001 src/if_lua.c, src/proto/mbyte.pro 14002 14003Patch 7.4.2286 14004Problem: The tee program isn't included. Makefile contains build 14005 instructions that don't work. 14006Solution: Update the Filelist and build instructions. Remove build 14007 instructions for DOS and old Windows. Add the tee program. 14008Files: Filelist, Makefile, nsis/gvim.nsi 14009 14010Patch 7.4.2287 14011Problem: The callback passed to ch_sendraw() is not used. 14012Solution: Pass the read part, not the send part. (haya14busa, closes #1019) 14013Files: src/channel.c, src/testdir/test_channel.vim 14014 14015Patch 7.4.2288 14016Problem: MS-Windows build instructions are clumsy. "dosbin" doesn't build. 14017Solution: Add rename.bat. Fix building "dosbin". 14018Files: Makefile, Filelist, rename.bat 14019 14020Patch 7.4.2289 14021Problem: When installing and $DESTDIR is set the icons probably won't be 14022 installed. 14023Solution: Create the icon directories if $DESTDIR is not empty. (Danek 14024 Duvall) 14025Files: src/Makefile 14026 14027Patch 7.4.2290 14028Problem: Compiler warning in tiny build. (Tony Mechelynck) 14029Solution: Add #ifdef around infinity_str(). 14030Files: src/message.c 14031 14032Patch 7.4.2291 14033Problem: printf() handles floats wrong when there is a sign. 14034Solution: Fix placing the sign. Add tests. (Dominique Pelle) 14035Files: src/testdir/test_expr.vim, runtime/doc/eval.txt, src/message.c 14036 14037Patch 7.4.2292 (after 7.4.2291) 14038Problem: Not all systems understand %F in printf(). 14039Solution: Use %f. 14040Files: src/message.c 14041 14042Patch 7.4.2293 14043Problem: Modelines in source code are inconsistent. 14044Solution: Use the same line in most files. Add 'noet'. (Naruhiko Nishino) 14045Files: src/alloc.h, src/arabic.c, src/arabic.h, src/ascii.h, 14046 src/blowfish.c, src/buffer.c, src/channel.c, src/charset.c, 14047 src/crypt.c, src/crypt_zip.c, src/dict.c, src/diff.c, 14048 src/digraph.c, src/dosinst.c, src/dosinst.h, src/edit.c, 14049 src/eval.c, src/evalfunc.c, src/ex_cmds.c, src/ex_cmds.h, 14050 src/ex_cmds2.c, src/ex_docmd.c, src/ex_eval.c, src/ex_getln.c, 14051 src/farsi.c, src/farsi.h, src/feature.h, src/fileio.c, src/fold.c, 14052 src/getchar.c, src/glbl_ime.cpp, src/glbl_ime.h, src/globals.h, 14053 src/gui.c, src/gui.h, src/gui_at_fs.c, src/gui_at_sb.c, 14054 src/gui_at_sb.h, src/gui_athena.c, src/gui_beval.c, 14055 src/gui_beval.h, src/gui_gtk.c, src/gui_gtk_f.c, src/gui_gtk_f.h, 14056 src/gui_gtk_vms.h, src/gui_gtk_x11.c, src/gui_mac.c, 14057 src/gui_motif.c, src/gui_photon.c, src/gui_w32.c, src/gui_x11.c, 14058 src/gui_x11_pm.h, src/gui_xmdlg.c, src/gui_xmebw.c, 14059 src/gui_xmebw.h, src/gui_xmebwp.h, src/hangulin.c, src/hardcopy.c, 14060 src/hashtab.c, src/if_cscope.c, src/if_cscope.h, src/if_mzsch.c, 14061 src/if_mzsch.h, src/if_ole.cpp, src/if_perl.xs, src/if_perlsfio.c, 14062 src/if_python3.c, src/if_ruby.c, src/if_tcl.c, src/if_xcmdsrv.c, 14063 src/integration.c, src/integration.h, src/iscygpty.c, src/json.c, 14064 src/json_test.c, src/keymap.h, src/list.c, src/macros.h, 14065 src/main.c, src/mark.c, src/mbyte.c, src/memfile.c, 14066 src/memfile_test.c, src/memline.c, src/menu.c, src/message.c, 14067 src/message_test.c, src/misc1.c, src/misc2.c, src/move.c, 14068 src/nbdebug.c, src/nbdebug.h, src/netbeans.c, src/normal.c, 14069 src/ops.c, src/option.c, src/option.h, src/os_amiga.c, 14070 src/os_amiga.h, src/os_beos.c, src/os_beos.h, src/os_dos.h, 14071 src/os_mac.h, src/os_mac_conv.c, src/os_macosx.m, src/os_mint.h, 14072 src/os_mswin.c, src/os_qnx.c, src/os_qnx.h, src/os_unix.c, 14073 src/os_unix.h, src/os_unixx.h, src/os_vms.c, src/os_w32dll.c, 14074 src/os_w32exe.c, src/os_win32.c, src/os_win32.h, src/popupmnu.c, 14075 src/proto.h, src/pty.c, src/quickfix.c, src/regexp.c, 14076 src/regexp.h, src/regexp_nfa.c, src/screen.c, src/search.c, 14077 src/sha256.c, src/spell.c, src/spell.h, src/spellfile.c, 14078 src/structs.h, src/syntax.c, src/tag.c, src/term.c, src/term.h, 14079 src/termlib.c, src/ui.c, src/undo.c, src/uninstal.c, 14080 src/userfunc.c, src/version.c, src/version.h, src/vim.h, 14081 src/vim.rc, src/vimio.h, src/vimrun.c, src/winclip.c, 14082 src/window.c, src/workshop.c, src/workshop.h, src/wsdebug.c, 14083 src/wsdebug.h, src/xpm_w32.c 14084 14085Patch 7.4.2294 14086Problem: Sign test fails on MS-Windows when using the distributed zip 14087 archives. 14088Solution: Create dummy files instead of relying on files in the pixmaps 14089 directory. 14090Files: src/testdir/test_signs.vim 14091 14092Patch 7.4.2295 (after 7.4.2293) 14093Problem: Cscope test fails. 14094Solution: Avoid checking for specific line and column numbers. 14095Files: src/testdir/test_cscope.vim 14096 14097Patch 7.4.2296 14098Problem: No tests for :undolist and "U" command. 14099Solution: Add tests. (Dominique Pelle) 14100Files: src/testdir/test_undo.vim 14101 14102Patch 7.4.2297 14103Problem: When starting a job that reads from a buffer and reaching the end, 14104 the job hangs. 14105Solution: Close the pipe or socket when all lines were read. 14106Files: src/channel.c, src/testdir/test_channel.vim 14107 14108Patch 7.4.2298 14109Problem: It is not possible to close the "in" part of a channel. 14110Solution: Add ch_close_in(). 14111Files: src/evalfunc.c, src/channel.c, src/proto/channel.pro, 14112 src/testdir/test_channel.vim, runtime/doc/eval.txt, 14113 runtime/doc/channel.txt 14114 14115Patch 7.4.2299 14116Problem: QuickFixCmdPre and QuickFixCmdPost autocommands are not always 14117 triggered. 14118Solution: Also trigger on ":cexpr", ":cbuffer", etc. (Yegappan Lakshmanan) 14119Files: src/quickfix.c, src/testdir/test_quickfix.vim 14120 14121Patch 7.4.2300 14122Problem: Get warning for deleting autocommand group when the autocommand 14123 using the group is scheduled for deletion. (Pavol Juhas) 14124Solution: Check for deleted autocommand. 14125Files: src/fileio.c, src/testdir/test_autocmd.vim 14126 14127Patch 7.4.2301 14128Problem: MS-Windows: some files remain after testing. 14129Solution: Close the channel output file. Wait for the file handle to be 14130 closed before deleting the file. 14131Files: src/os_win32.c, src/testdir/test_channel.vim 14132 14133Patch 7.4.2302 14134Problem: Default interface versions for MS-Windows are outdated. 14135Solution: Use Active Perl 5.24, Python 3.5.2. Could only make it work with 14136 Ruby 1.9.2. 14137Files: src/bigvim.bat, src/bigvim64.bat, src/Make_mvc.mak 14138 14139Patch 7.4.2303 14140Problem: When using "is" the mode isn't always updated. 14141Solution: Redraw the command line. (Christian Brabandt) 14142Files: src/search.c 14143 14144Patch 7.4.2304 14145Problem: In a timer callback the timer itself can't be found or stopped. 14146 (Thinca) 14147Solution: Do not remove the timer from the list, remember whether it was 14148 freed. 14149Files: src/ex_cmds2.c, src/testdir/test_timers.vim 14150 14151Patch 7.4.2305 14152Problem: Marks, writefile and nested function tests are old style. 14153Solution: Turn them into new style tests. (Yegappan Lakshmanan) 14154Files: src/testdir/Make_all.mak, src/testdir/test_marks.in, 14155 src/testdir/test_marks.ok, src/testdir/test_marks.vim, 14156 src/testdir/test_nested_function.in, 14157 src/testdir/test_nested_function.ok, 14158 src/testdir/test_nested_function.vim, 14159 src/testdir/test_writefile.in, src/testdir/test_writefile.ok, 14160 src/testdir/test_writefile.vim, src/Makefile 14161 14162Patch 7.4.2306 14163Problem: Default value for 'langremap' is wrong. 14164Solution: Set the right value. (Jürgen Krämer) Add a test. 14165Files: src/option.c, src/testdir/test_mapping.vim 14166 14167Patch 7.4.2307 14168Problem: Several tests are old style. 14169Solution: Turn them into new style tests. (Yegappan Lakshmanan) 14170Files: src/testdir/Make_all.mak, src/testdir/test102.in, 14171 src/testdir/test102.ok, src/testdir/test46.in, 14172 src/testdir/test46.ok, src/testdir/test81.in, 14173 src/testdir/test81.ok, src/testdir/test_charsearch.in, 14174 src/testdir/test_charsearch.ok, src/testdir/test_charsearch.vim, 14175 src/testdir/test_fnameescape.vim, src/testdir/test_substitute.vim, 14176 src/Makefile 14177 14178Patch 7.4.2308 (after 7.4.2307) 14179Problem: Old charsearch test still listed in Makefile. 14180Solution: Remove the line. 14181Files: src/testdir/Make_all.mak 14182 14183Patch 7.4.2309 14184Problem: Crash when doing tabnext in a BufUnload autocmd. (Dominique Pelle) 14185Solution: When detecting that the tab page changed, don't just abort but 14186 delete the window where w_buffer is NULL. 14187Files: src/window.c, src/testdir/test_tabpage.vim 14188 14189Patch 7.4.2310 (after 7.4.2304) 14190Problem: Accessing freed memory when a timer does not repeat. 14191Solution: Free after removing it. (Dominique Pelle) 14192Files: src/ex_cmds2.c 14193 14194Patch 7.4.2311 14195Problem: Appveyor 64 bit build still using Python 3.4 14196Solution: Switch to Python 3.5. (Ken Takata, closes #1032) 14197Files: appveyor.yml, src/appveyor.bat 14198 14199Patch 7.4.2312 14200Problem: Crash when autocommand moves to another tab. (Dominique Pelle) 14201Solution: When navigating to another window halfway the :edit command go 14202 back to the right window. 14203Files: src/buffer.c, src/ex_cmds.c, src/ex_getln.c, src/ex_docmd.c, 14204 src/window.c, src/proto/ex_getln.pro, src/testdir/test_tabpage.vim 14205 14206Patch 7.4.2313 14207Problem: Crash when deleting an augroup and listing an autocommand. 14208 (Dominique Pelle) 14209Solution: Make sure deleted_augroup is valid. 14210Files: src/fileio.c, src/testdir/test_autocmd.vim 14211 14212Patch 7.4.2314 14213Problem: No error when deleting an augroup while it's the current one. 14214Solution: Disallow deleting an augroup when it's the current one. 14215Files: src/fileio.c, src/testdir/test_autocmd.vim 14216 14217Patch 7.4.2315 14218Problem: Insufficient testing for Normal mode commands. 14219Solution: Add a big test. (Christian Brabandt, closes #1029) 14220Files: src/Makefile, src/testdir/Make_all.mak, 14221 src/testdir/test_normal.vim 14222 14223Patch 7.4.2316 14224Problem: Channel sort test is flaky. 14225Solution: Add a check the output has been read. 14226Files: src/testdir/test_channel.vim 14227 14228Patch 7.4.2317 (after 7.4.2315) 14229Problem: Normal mode tests fail on MS-Windows. 14230Solution: Do some tests only on Unix. Set 'fileformat' to "unix". 14231Files: src/testdir/test_normal.vim 14232 14233Patch 7.4.2318 14234Problem: When 'incsearch' is not set CTRL-T and CTRL-G are not inserted as 14235 before. 14236Solution: Move #ifdef and don't use goto. 14237Files: src/ex_getln.c 14238 14239Patch 7.4.2319 14240Problem: No way for a system wide vimrc to stop loading defaults.vim. 14241 (Christian Hesse) 14242Solution: Bail out of defaults.vim if skip_defaults_vim was set. 14243Files: runtime/defaults.vim 14244 14245Patch 7.4.2320 14246Problem: Redraw problem when using 'incsearch'. 14247Solution: Save the current view when deleting characters. (Christian 14248 Brabandt) Fix that the '" mark is set in the wrong position. Don't 14249 change the search start when using BS. 14250Files: src/ex_getln.c, src/normal.c, src/testdir/test_search.vim 14251 14252Patch 7.4.2321 14253Problem: When a test is commented out we forget about it. 14254Solution: Let a test throw an exception with "Skipped" and list skipped test 14255 functions. (Christian Brabandt) 14256Files: src/testdir/Makefile, src/testdir/runtest.vim, 14257 src/testdir/test_popup.vim, src/testdir/README.txt 14258 14259Patch 7.4.2322 14260Problem: Access memory beyond the end of the line. (Dominique Pelle) 14261Solution: Adjust the cursor column. 14262Files: src/move.c, src/testdir/test_normal.vim 14263 14264Patch 7.4.2323 14265Problem: Using freed memory when using 'formatexpr'. (Dominique Pelle) 14266Solution: Make a copy of 'formatexpr' before evaluating it. 14267Files: src/ops.c, src/testdir/test_normal.vim 14268 14269Patch 7.4.2324 14270Problem: Crash when editing a new buffer and BufUnload autocommand wipes 14271 out the new buffer. (Norio Takagi) 14272Solution: Don't allow wiping out this buffer. (partly by Hirohito Higashi) 14273 Move old style test13 into test_autocmd. Avoid ml_get error when 14274 editing a file. 14275Files: src/structs.h, src/buffer.c, src/ex_cmds.c, src/ex_docmd.c, 14276 src/window.c, src/testdir/test13.in, src/testdir/test13.ok, 14277 src/testdir/test_autocmd.vim, src/testdir/Make_all.mak, 14278 src/Makefile 14279 14280Patch 7.4.2325 (after 7.4.2324) 14281Problem: Tiny build fails. 14282Solution: Add #ifdef. 14283Files: src/buffer.c 14284 14285Patch 7.4.2326 14286Problem: Illegal memory access when Visual selection starts in invalid 14287 position. (Dominique Pelle) 14288Solution: Correct position when needed. 14289Files: src/normal.c, src/misc2.c, src/proto/misc2.pro 14290 14291Patch 7.4.2327 14292Problem: Freeing a variable that is on the stack. 14293Solution: Don't free res_tv or err_tv. (Ozaki Kiichi) 14294Files: src/channel.c 14295 14296Patch 7.4.2328 14297Problem: Crash when BufWinLeave autocmd goes to another tab page. (Hirohito 14298 Higashi) 14299Solution: Make close_buffer() go back to the right window. 14300Files: src/buffer.c, src/testdir/test_autocmd.vim 14301 14302Patch 7.4.2329 14303Problem: Error for min() and max() contains %s. (Nikolai Pavlov) 14304Solution: Pass the function name. (closes #1040) 14305Files: src/evalfunc.c, src/testdir/test_expr.vim 14306 14307Patch 7.4.2330 14308Problem: Coverity complains about not checking curwin to be NULL. 14309Solution: Use firstwin to avoid the warning. 14310Files: src/buffer.c 14311 14312Patch 7.4.2331 14313Problem: Using CTRL-X CTRL-V to complete a command line from Insert mode 14314 does not work after entering an expression on the command line. 14315Solution: Don't use "ccline" when not actually using a command line. (test 14316 by Hirohito Higashi) 14317Files: src/edit.c, src/ex_getln.c, src/proto/ex_getln.pro, 14318 src/testdir/test_popup.vim 14319 14320Patch 7.4.2332 14321Problem: Crash when stop_timer() is called in a callback of a callback. 14322 Vim hangs when the timer callback uses too much time. 14323Solution: Set tr_id to -1 when a timer is to be deleted. Don't keep calling 14324 callbacks forever. (Ozaki Kiichi) 14325Files: src/evalfunc.c, src/ex_cmds2.c, src/structs.h, 14326 src/proto/ex_cmds2.pro, src/testdir/test_timers.vim 14327 14328Patch 7.4.2333 14329Problem: Outdated comments in test. 14330Solution: Cleanup normal mode test. (Christian Brabandt) 14331Files: src/testdir/test_normal.vim 14332 14333Patch 7.4.2334 14334Problem: On MS-Windows test_getcwd leaves Xtopdir behind. 14335Solution: Set 'noswapfile'. (Michael Soyka) 14336Files: src/testdir/test_getcwd.in 14337 14338Patch 7.4.2335 14339Problem: taglist() is slow. (Luc Hermitte) 14340Solution: Check for CTRL-C less often when doing a linear search. (closes 14341 #1044) 14342Files: src/tag.c 14343 14344Patch 7.4.2336 14345Problem: Running normal mode tests leave a couple of files behind. 14346 (Yegappan Lakshmanan) 14347Solution: Delete the files. (Christian Brabandt) 14348Files: src/testdir/test_normal.vim 14349 14350Patch 7.4.2337 14351Problem: taglist() is still slow. (Luc Hermitte) 14352Solution: Check for CTRL-C less often when finding duplicates. 14353Files: src/tag.c 14354 14355Patch 7.4.2338 14356Problem: Can't build with small features. (John Marriott) 14357Solution: Nearly always define FEAT_TAG_BINS. 14358Files: src/feature.h, src/tag.c 14359 14360Patch 7.4.2339 14361Problem: Tab page test fails when run as fake root. 14362Solution: Check 'buftype' instead of 'filetype'. (James McCoy, closes #1042) 14363Files: src/testdir/test_tabpage.vim 14364 14365Patch 7.4.2340 14366Problem: MS-Windows: Building with Ruby uses old version. 14367Solution: Update to 2.2.X. Use clearer name for the API version. (Ken 14368 Takata) 14369Files: Makefile, src/INSTALLpc.txt, src/Make_cyg_ming.mak, 14370 src/Make_mvc.mak, src/bigvim.bat 14371 14372Patch 7.4.2341 14373Problem: Tiny things. Test doesn't clean up properly. 14374Solution: Adjust comment and white space. Restore option value. 14375Files: src/ex_cmds.c, src/message.c, src/testdir/test_autocmd.vim 14376 14377Patch 7.4.2342 14378Problem: Typo in MS-Windows build script. 14379Solution: change "w2" to "22". 14380Files: src/bigvim.bat 14381 14382Patch 7.4.2343 14383Problem: Too many old style tests. 14384Solution: Turn several into new style tests. (Yegappan Lakshmanan) 14385Files: src/testdir/Make_all.mak, src/testdir/test101.in, 14386 src/testdir/test101.ok, src/testdir/test18.in, 14387 src/testdir/test18.ok, src/testdir/test2.in, src/testdir/test2.ok, 14388 src/testdir/test21.in, src/testdir/test21.ok, 14389 src/testdir/test6.in, src/testdir/test6.ok, 14390 src/testdir/test_arglist.vim, src/testdir/test_charsearch.vim, 14391 src/testdir/test_fnameescape.vim, src/testdir/test_gf.vim, 14392 src/testdir/test_hlsearch.vim, src/testdir/test_smartindent.vim, 14393 src/testdir/test_tagjump.vim, src/Makefile 14394 14395Patch 7.4.2344 14396Problem: The "Reading from channel output..." message can be unwanted. 14397 Appending to a buffer leaves an empty first line behind. 14398Solution: Add the "out_msg" and "err_msg" options. Writing the first line 14399 overwrites the first, empty line. 14400Files: src/structs.h, src/channel.c, src/testdir/test_channel.vim, 14401 runtime/doc/channel.txt 14402 14403Patch 7.4.2345 (after 7.4.2340) 14404Problem: For MinGW RUBY_API_VER_LONG isn't set correctly. Many default 14405 version numbers are outdated. 14406Solution: Set RUBY_API_VER_LONG to RUBY_VER_LONG. Use latest stable releases 14407 for defaults. (Ken Takata) 14408Files: src/Make_cyg_ming.mak, src/Make_mvc.mak 14409 14410Patch 7.4.2346 14411Problem: Autocommand test fails when run directly, passes when run as part 14412 of test_alot. 14413Solution: Add command to make the cursor move. Close a tab page. 14414Files: src/testdir/test_autocmd.vim 14415 14416Patch 7.4.2347 14417Problem: Crash when closing a buffer while Visual mode is active. 14418 (Dominique Pelle) 14419Solution: Adjust the position before computing the number of lines. 14420 When closing the current buffer stop Visual mode. 14421Files: src/buffer.c, src/normal.c, src/testdir/test_normal.vim 14422 14423Patch 7.4.2348 14424Problem: Crash on exit when EXITFREE is defined. (Dominique Pelle) 14425Solution: Don't access curwin when exiting. 14426Files: src/buffer.c 14427 14428Patch 7.4.2349 14429Problem: Valgrind reports using uninitialized memory. (Dominique Pelle) 14430Solution: Check the length before checking for a NUL. 14431Files: src/message.c 14432 14433Patch 7.4.2350 14434Problem: Test 86 and 87 fail with some version of Python. 14435Solution: Unify "can't" and "cannot". Unify quotes. 14436Files: src/testdir/test86.in, src/testdir/test86.ok, 14437 src/testdir/test87.in, src/testdir/test87.ok 14438 14439Patch 7.4.2351 14440Problem: Netbeans test fails when run from unpacked MS-Windows sources. 14441Solution: Open README.txt instead of Makefile. 14442Files: src/testdir/test_netbeans.py, src/testdir/test_netbeans.vim 14443 14444Patch 7.4.2352 14445Problem: Netbeans test fails in shadow directory. 14446Solution: Also copy README.txt to the shadow directory. 14447Files: src/Makefile 14448 14449Patch 7.4.2353 14450Problem: Not enough test coverage for Normal mode commands. 14451Solution: Add more tests. (Christian Brabandt) 14452Files: src/testdir/test_normal.vim 14453 14454Patch 7.4.2354 14455Problem: The example that explains nested backreferences does not work 14456 properly with the new regexp engine. (Harm te Hennepe) 14457Solution: Also save the end position when adding a state. (closes #990) 14458Files: src/regexp_nfa.c, src/testdir/test_regexp_latin.vim 14459 14460Patch 7.4.2355 14461Problem: Regexp fails to match when using "\>\)\?". (Ramel) 14462Solution: When a state is already in the list, but addstate_here() is used 14463 and the existing state comes later, add the new state anyway. 14464Files: src/regexp_nfa.c, src/testdir/test_regexp_latin.vim 14465 14466Patch 7.4.2356 14467Problem: Reading past end of line when using previous substitute pattern. 14468 (Dominique Pelle) 14469Solution: Don't set "pat" only set "searchstr". 14470Files: src/search.c, src/testdir/test_search.vim 14471 14472Patch 7.4.2357 14473Problem: Attempt to read history entry while not initialized. 14474Solution: Skip when the index is negative. 14475Files: src/ex_getln.c 14476 14477Patch 7.4.2358 14478Problem: Compiler warnings with Solaris Studio when using GTK3. (Danek 14479 Duvall) 14480Solution: Define FUNC2GENERIC depending on the system. (Kazunobu Kuriyama) 14481Files: src/gui.h, src/gui_beval.c, src/gui_gtk_f.c 14482 14483Patch 7.4.2359 14484Problem: Memory leak in timer_start(). 14485Solution: Check the right field to be NULL. 14486Files: src/evalfunc.c, src/testdir/test_timers.vim 14487 14488Patch 7.4.2360 14489Problem: Invalid memory access when formatting. (Dominique Pelle) 14490Solution: Make sure cursor line and column are associated. 14491Files: src/misc1.c 14492 14493Patch 7.4.2361 14494Problem: Checking for last_timer_id to overflow is not reliable. (Ozaki 14495 Kiichi) 14496Solution: Check for the number not going up. 14497Files: src/ex_cmds2.c 14498 14499Patch 7.4.2362 14500Problem: Illegal memory access with ":1@". (Dominique Pelle) 14501Solution: Correct cursor column after setting the line number. Also avoid 14502 calling end_visual_mode() when not in Visual mode. 14503Files: src/ex_docmd.c, src/buffer.c 14504 14505Patch 7.4.2363 14506Problem: Superfluous function prototypes. 14507Solution: Remove them. 14508Files: src/regexp.c 14509 14510Patch 7.4.2364 14511Problem: Sort test sometimes fails. 14512Solution: Add it to the list of flaky tests. 14513Files: src/testdir/runtest.vim 14514 14515Patch 7.4.2365 14516Problem: Needless line break. Confusing directory name. 14517Solution: Remove line break. Prepend "../" to "tools". 14518Files: Makefile, src/normal.c 14519 14520Patch 7.4.2366 14521Problem: MS-Windows gvim.exe does not have DirectX support. 14522Solution: Add the DIRECTX to the script. 14523Files: src/bigvim.bat 14524 14525Patch 7.4.2367 (after 7.4.2364) 14526Problem: Test runner misses a comma. 14527Solution: Add the comma. 14528Files: src/testdir/runtest.vim 14529 14530 14531============================================================================== 14532VERSION 8.1 *version-8.1* *version8.1* *vim-8.1* 14533 14534This section is about improvements made between version 8.0 and 8.1. 14535 14536This release has hundreds of bug fixes, there is a new feature and there are 14537many minor improvements. 14538 14539 14540The terminal window *new-terminal-window* 14541------------------- 14542 14543You can now open a window which functions as a terminal. You can use it for: 14544- Running a command, such as "make", while editing in other windows 14545- Running a shell and execute several commands 14546- Use the terminal debugger plugin, see |terminal-debugger| 14547 14548All of this is especially useful when running Vim on a remote (ssh) 14549connection, when you can't easily open more terminals. 14550 14551For more information see |terminal-window|. 14552 14553 14554Changed *changed-8.1* 14555------- 14556 14557Internal: A few C99 features are now allowed such as // comments and a 14558comma after the last enum entry. See |style-compiler|. 14559 14560Since patch 8.0.0029 removed support for older MS-Windows systems, only 14561MS-Windows XP and later are supported. 14562 14563 14564Added *added-8.1* 14565----- 14566 14567Various syntax, indent and other plugins were added. 14568 14569Quickfix improvements (by Yegappan Lakshmanan): 14570 Added support for modifying any quickfix/location list in the quickfix 14571 stack. 14572 Added a unique identifier for every quickfix/location list. 14573 Added support for associating any Vim type as a context information to 14574 a quickfix/location list. 14575 Enhanced the getqflist(), getloclist(), setqflist() and setloclist() 14576 functions to get and set the various quickfix/location list attributes. 14577 Added the QuickFixLine highlight group to highlight the current line 14578 in the quickfix window. 14579 The quickfix buffer b:changedtick variable is incremented for every 14580 change to the contained quickfix list. 14581 Added a changedtick variable to a quickfix/location list which is 14582 incremented when the list is modified. 14583 Added support for parsing text using 'errorformat' without creating a 14584 new quickfix list. 14585 Added support for the "module" item to a quickfix entry which can be 14586 used for display purposes instead of a long file name. 14587 Added support for freeing all the lists in the quickfix/location stack. 14588 When opening a quickfix window using the :copen/:cwindow commands, the 14589 supplied split modifiers are used. 14590 14591Functions: 14592 All the term_ functions. 14593 14594 |assert_beeps()| 14595 |assert_equalfile()| 14596 |assert_report()| 14597 |balloon_show()| 14598 |balloon_split()| 14599 |ch_canread()| 14600 |getchangelist()| 14601 |getjumplist()| 14602 |getwinpos()| 14603 |pyxeval()| 14604 |remote_startserver()| 14605 |setbufline()| 14606 |test_ignore_error()| 14607 |test_override()| 14608 |trim()| 14609 |win_screenpos()| 14610 14611Autocommands: 14612 |CmdlineChanged| 14613 |CmdlineEnter| 14614 |CmdlineLeave| 14615 |ColorSchemePre| 14616 |DirChanged| 14617 |ExitPre| 14618 |TerminalOpen| 14619 |TextChangedP| 14620 |TextYankPost| 14621 14622Commands: 14623 |:pyx| 14624 |:pythonx| 14625 |:pyxdo| 14626 |:pyxfile| 14627 |:terminal| 14628 |:tmapclear| 14629 |:tmap| 14630 |:tnoremap| 14631 |:tunmap| 14632 14633Options: 14634 'balloonevalterm' 14635 'imstyle' 14636 'mzschemedll' 14637 'mzschemegcdll' 14638 'makeencoding' 14639 'pumwidth' 14640 'pythonhome' 14641 'pythonthreehome' 14642 'pyxversion' 14643 'termwinkey' 14644 'termwinscroll' 14645 'termwinsize' 14646 'viminfofile' 14647 'winptydll' 14648 14649 14650Patches *patches-8.1* 14651------- 14652 14653Patch 8.0.0001 14654Problem: Intro screen still mentions version7. (Paul) 14655Solution: Change it to version8. 14656Files: src/version.c 14657 14658Patch 8.0.0002 14659Problem: The netrw plugin does not work. 14660Solution: Make it accept version 8.0. 14661Files: runtime/autoload/netrw.vim 14662 14663Patch 8.0.0003 14664Problem: getwinvar() returns wrong Value of boolean and number options, 14665 especially non big endian systems. (James McCoy) 14666Solution: Cast the pointer to long or int. (closes #1060) 14667Files: src/option.c, src/testdir/test_bufwintabinfo.vim 14668 14669Patch 8.0.0004 14670Problem: A string argument for function() that is not a function name 14671 results in an error message with NULL. (Christian Brabandt) 14672Solution: Use the argument for the error message. 14673Files: src/evalfunc.c, src/testdir/test_expr.vim 14674 14675Patch 8.0.0005 14676Problem: Netbeans test fails with Python 3. (Jonathonf) 14677Solution: Encode the string before sending it. (closes #1070) 14678Files: src/testdir/test_netbeans.py 14679 14680Patch 8.0.0006 14681Problem: ":lb" is interpreted as ":lbottom" while the documentation says it 14682 means ":lbuffer". 14683Solution: Adjust the order of the commands. (haya14busa, closes #1093) 14684Files: src/ex_cmds.h 14685 14686Patch 8.0.0007 14687Problem: Vim 7.4 is still mentioned in a few places. 14688Solution: Update to Vim 8. (Uncle Bill, closes #1094) 14689Files: src/INSTALLpc.txt, src/vimtutor, uninstal.txt 14690 14691Patch 8.0.0008 14692Problem: Popup complete test is disabled. 14693Solution: Enable the test and change the assert. (Hirohito Higashi) 14694Files: src/testdir/test_popup.vim 14695 14696Patch 8.0.0009 14697Problem: Unnecessary workaround for AppVeyor. 14698Solution: Revert patch 7.4.990. (Christian Brabandt) 14699Files: appveyor.yml 14700 14701Patch 8.0.0010 14702Problem: Crash when editing file that starts with crypt header. (igor2x) 14703Solution: Check for length of text. (Christian Brabandt) Add a test. 14704Files: src/fileio.c, src/testdir/test_crypt.vim, src/Makefile, 14705 src/testdir/Make_all.mak 14706 14707Patch 8.0.0011 14708Problem: On OSX Test_pipe_through_sort_all() sometimes fails. 14709Solution: Add the test to the list of flaky tests. 14710Files: src/testdir/runtest.vim 14711 14712Patch 8.0.0012 14713Problem: Typos in comments. 14714Solution: Change "its" to "it's". (Matthew Brener, closes #1088) 14715Files: src/evalfunc.c, src/main.aap, src/nbdebug.c, src/netbeans.c, 14716 src/quickfix.c, src/workshop.c, src/wsdebug.c 14717 14718Patch 8.0.0013 (after 8.0.0011) 14719Problem: Missing comma in list. 14720Solution: Add the comma. 14721Files: src/testdir/runtest.vim 14722 14723Patch 8.0.0014 14724Problem: Crypt tests are old style. 14725Solution: Convert to new style. 14726Files: src/testdir/test71.in, src/testdir/test71.ok, 14727 src/testdir/test71a.in, src/testdir/test_crypt.vim, src/Makefile, 14728 src/testdir/Make_all.mak 14729 14730Patch 8.0.0015 14731Problem: Can't tell which part of a channel has "buffered" status. 14732Solution: Add an optional argument to ch_status(). Let ch_info() also 14733 return "buffered" for out_status and err_status. 14734Files: src/evalfunc.c, src/channel.c, src/proto/channel.pro, 14735 src/testdir/test_channel.vim, runtime/doc/eval.txt 14736 14737Patch 8.0.0016 (after 8.0.0015) 14738Problem: Build fails. 14739Solution: Include missing change. 14740Files: src/eval.c 14741 14742Patch 8.0.0017 14743Problem: Cannot get the number of the current quickfix or location list. 14744Solution: Use the current list if "nr" in "what" is zero. (Yegappan 14745 Lakshmanan) Remove debug command from test. 14746Files: src/quickfix.c, src/testdir/test_quickfix.vim, 14747 runtime/doc/eval.txt 14748 14749Patch 8.0.0018 14750Problem: When using ":sleep" channel input is not handled. 14751Solution: When there is a channel check for input also when not in raw mode. 14752 Check every 100 msec. 14753Files: src/channel.c, src/proto/channel.pro, src/ui.c, src/proto/ui.pro, 14754 src/ex_docmd.c, src/os_amiga.c, src/proto/os_amiga.pro, 14755 src/os_unix.c, src/proto/os_unix.pro, src/os_win32.c, 14756 src/proto/os_win32.pro 14757 14758Patch 8.0.0019 14759Problem: Test_command_count is old style. 14760Solution: Turn it into a new style test. (Naruhiko Nishino) 14761 Use more assert functions. 14762Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/test_alot.vim, 14763 src/testdir/test_autocmd.vim, src/testdir/test_command_count.in, 14764 src/testdir/test_command_count.ok, 14765 src/testdir/test_command_count.vim 14766 14767Patch 8.0.0020 14768Problem: The regexp engines are not reentrant. 14769Solution: Add regexec_T and save/restore the state when needed. 14770Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test_expr.vim, 14771 runtime/doc/eval.txt, runtime/doc/change.txt 14772 14773Patch 8.0.0021 14774Problem: In the GUI when redrawing the cursor it may be on the second half 14775 of a double byte character. 14776Solution: Correct the cursor column. (Yasuhiro Matsumoto) 14777Files: src/screen.c 14778 14779Patch 8.0.0022 14780Problem: If a channel in NL mode is missing the NL at the end the remaining 14781 characters are dropped. 14782Solution: When the channel is closed use the remaining text. (Ozaki Kiichi) 14783Files: src/channel.c, src/testdir/test_channel.vim 14784 14785Patch 8.0.0023 14786Problem: "gd" and "gD" may find a match in a comment or string. 14787Solution: Ignore matches in comments and strings. (Anton Lindqvist) 14788Files: src/normal.c, src/testdir/test_goto.vim 14789 14790Patch 8.0.0024 14791Problem: When the netbeans channel closes, "DETACH" is put in the output 14792 part. (Ozaki Kiichi) 14793Solution: Write "DETACH" in the socket part. 14794Files: src/channel.c, src/testdir/test_netbeans.vim 14795 14796Patch 8.0.0025 14797Problem: Inconsistent use of spaces vs tabs in gd test. 14798Solution: Use tabs. (Anton Lindqvist) 14799Files: src/testdir/test_goto.vim 14800 14801Patch 8.0.0026 14802Problem: Error format with %W, %C and %Z does not work. (Gerd Wachsmuth) 14803Solution: Skip code when qf_multiignore is set. (Lcd) 14804Files: src/quickfix.c, src/testdir/test_quickfix.vim 14805 14806Patch 8.0.0027 14807Problem: A channel is closed when reading on stderr or stdout fails, but 14808 there may still be something to read on another part. 14809Solution: Turn ch_to_be_closed into a bitfield. (Ozaki Kiichi) 14810Files: src/channel.c, src/eval.c, src/structs.h, src/proto/channel.pro, 14811 src/testdir/test_channel.vim 14812 14813Patch 8.0.0028 14814Problem: Superfluous semicolons. 14815Solution: Remove them. (Ozaki Kiichi) 14816Files: src/ex_cmds2.c 14817 14818Patch 8.0.0029 14819Problem: Code for MS-Windows is complicated because of the exceptions for 14820 old systems. 14821Solution: Drop support for MS-Windows older than Windows XP. (Ken Takata) 14822Files: runtime/doc/gui_w32.txt, runtime/doc/os_win32.txt, 14823 runtime/doc/todo.txt, src/GvimExt/Makefile, src/Make_mvc.mak, 14824 src/evalfunc.c, src/ex_cmds.c, src/ex_docmd.c, src/gui_w32.c, 14825 src/if_cscope.c, src/misc1.c, src/misc2.c, src/option.c, 14826 src/os_mswin.c, src/os_win32.c, src/os_win32.h, 14827 src/proto/os_mswin.pro, src/proto/os_win32.pro, src/version.c 14828 14829Patch 8.0.0030 14830Problem: Mouse mode is not automatically detected for tmux. 14831Solution: Check for 'term' to be "tmux". (Michael Henry) 14832Files: src/os_unix.c 14833 14834Patch 8.0.0031 14835Problem: After ":bwipeout" 'fileformat' is not set to the right default. 14836Solution: Get the default from 'fileformats'. (Mike Williams) 14837Files: src/option.c, src/Makefile, src/testdir/test_fileformat.vim, 14838 src/testdir/test_alot.vim 14839 14840Patch 8.0.0032 14841Problem: Tests may change the input file when something goes wrong. 14842Solution: Avoid writing the input file. 14843Files: src/testdir/test51.in, src/testdir/test67.in, 14844 src/testdir/test97.in, src/testdir/test_tabpage.vim 14845 14846Patch 8.0.0033 14847Problem: Cannot use overlapping positions with matchaddpos(). 14848Solution: Check end of match. (Ozaki Kiichi) Add a test (Hirohito Higashi) 14849Files: src/screen.c, src/testdir/test_match.vim 14850 14851Patch 8.0.0034 14852Problem: No completion for ":messages". 14853Solution: Complete "clear" argument. (Hirohito Higashi) 14854Files: src/ex_docmd.c, src/ex_getln.c, src/proto/ex_docmd.pro, 14855 src/testdir/test_cmdline.vim, src/vim.h, 14856 runtime/doc/eval.txt, runtime/doc/map.txt 14857 14858Patch 8.0.0035 (after 7.4.2013) 14859Problem: Order of matches for 'omnifunc' is messed up. (Danny Su) 14860Solution: Do not set compl_curr_match when called from complete_check(). 14861 (closes #1168) 14862Files: src/edit.c, src/evalfunc.c, src/proto/edit.pro, src/search.c, 14863 src/spell.c, src/tag.c, src/testdir/test76.in, 14864 src/testdir/test76.ok, src/testdir/test_popup.vim, src/Makefile, 14865 src/testdir/Make_all.mak 14866 14867Patch 8.0.0036 14868Problem: Detecting that a job has finished may take a while. 14869Solution: Check for a finished job more often (Ozaki Kiichi) 14870Files: src/channel.c, src/os_unix.c, src/os_win32.c, 14871 src/proto/os_unix.pro, src/proto/os_win32.pro, 14872 src/testdir/test_channel.vim 14873 14874Patch 8.0.0037 14875Problem: Get E924 when switching tabs. () 14876Solution: Use win_valid_any_tab() instead of win_valid(). (Martin Vuille, 14877 closes #1167, closes #1171) 14878Files: src/quickfix.c, src/testdir/test_quickfix.vim 14879 14880Patch 8.0.0038 14881Problem: OPEN_CHR_FILES not defined for FreeBSD using Debian userland 14882 files. 14883Solution: Check for __FreeBSD_kernel__. (James McCoy, closes #1166) 14884Files: src/vim.h 14885 14886Patch 8.0.0039 14887Problem: When Vim 8 reads an old viminfo and exits, the next time marks are 14888 not read from viminfo. (Ned Batchelder) 14889Solution: Set a mark when it wasn't set before, even when the timestamp is 14890 zero. (closes #1170) 14891Files: src/mark.c, src/testdir/test_viminfo.vim 14892 14893Patch 8.0.0040 (after 8.0.0033) 14894Problem: Whole line highlighting with matchaddpos() does not work. 14895Solution: Check for zero length. (Hirohito Higashi) 14896Files: src/screen.c, src/testdir/test_match.vim 14897 14898Patch 8.0.0041 14899Problem: When using Insert mode completion but not actually inserting 14900 anything an undo item is still created. (Tommy Allen) 14901Solution: Do not call stop_arrow() when not inserting anything. 14902Files: src/edit.c, src/testdir/test_popup.vim 14903 14904Patch 8.0.0042 (after 8.0.0041) 14905Problem: When using Insert mode completion with 'completeopt' containing 14906 "noinsert" change is not saved for undo. (Tommy Allen) 14907Solution: Call stop_arrow() before inserting for pressing Enter. 14908Files: src/edit.c, src/testdir/test_popup.vim 14909 14910Patch 8.0.0043 (after 8.0.0041) 14911Problem: When using Insert mode completion with 'completeopt' containing 14912 "noinsert" with CTRL-N the change is not saved for undo. (Tommy 14913 Allen) 14914Solution: Call stop_arrow() before inserting for any key. 14915Files: src/edit.c, src/testdir/test_popup.vim 14916 14917Patch 8.0.0044 14918Problem: In diff mode the cursor may end up below the last line, resulting 14919 in an ml_get error. 14920Solution: Check the line to be valid. 14921Files: src/move.c, src/diff.c, src/proto/diff.pro, 14922 src/testdir/test_diffmode.vim 14923 14924Patch 8.0.0045 14925Problem: Calling job_stop() right after job_start() does not work. 14926Solution: Block signals while fork is still busy. (Ozaki Kiichi, closes 14927 #1155) 14928Files: src/auto/configure, src/config.h.in, src/configure.in, 14929 src/os_unix.c, src/testdir/test_channel.vim 14930 14931Patch 8.0.0046 14932Problem: Using NUL instead of NULL. 14933Solution: Change to NULL. (Dominique Pelle) 14934Files: src/ex_cmds.c, src/json.c 14935 14936Patch 8.0.0047 14937Problem: Crash when using the preview window from an unnamed buffer. 14938 (lifepillar) 14939Solution: Do not clear the wrong buffer. (closes #1200) 14940Files: src/popupmnu.c 14941 14942Patch 8.0.0048 14943Problem: On Windows job_stop() stops cmd.exe, not the processes it runs. 14944 (Linwei) 14945Solution: Iterate over all processes and terminate the one where the parent 14946 is the job process. (Yasuhiro Matsumoto, closes #1184) 14947Files: src/os_win32.c, src/structs.h 14948 14949Patch 8.0.0049 14950Problem: When a match ends in part of concealed text highlighting, it might 14951 mess up concealing by resetting prev_syntax_id. 14952Solution: Do not reset prev_syntax_id and add a test to verify. (Christian 14953 Brabandt, closes #1092) 14954Files: src/screen.c, src/testdir/test_matchadd_conceal.vim 14955 14956Patch 8.0.0050 14957Problem: An exiting job is detected with a large latency. 14958Solution: Check for pending job more often. (Ozaki Kiichi) Change the 14959 double loop in mch_inchar() into one. 14960Files: src/channel.c, src/os_unix.c, src/testdir/shared.vim, 14961 src/testdir/test_channel.vim 14962 14963Patch 8.0.0051 (after 8.0.0048) 14964Problem: New code for job_stop() breaks channel test on AppVeyor. 14965Solution: Revert the change. 14966Files: src/os_win32.c, src/structs.h 14967 14968Patch 8.0.0052 (after 8.0.0049) 14969Problem: Conceal test passes even without the bug fix. 14970Solution: Add a redraw command. (Christian Brabandt) 14971Files: src/testdir/test_matchadd_conceal.vim 14972 14973Patch 8.0.0053 (after 8.0.0047) 14974Problem: No test for what 8.0.0047 fixes. 14975Solution: Add a test. (Hirohito Higashi) 14976Files: src/testdir/test_popup.vim 14977 14978Patch 8.0.0054 (after 8.0.0051) 14979Problem: On Windows job_stop() stops cmd.exe, not the processes it runs. 14980 (Linwei) 14981Solution: Iterate over all processes and terminate the one where the parent 14982 is the job process. Now only when there is no job object. 14983 (Yasuhiro Matsumoto, closes #1203) 14984Files: src/os_win32.c 14985 14986Patch 8.0.0055 14987Problem: Minor comment and style deficiencies. 14988Solution: Update comments and fix style. 14989Files: src/buffer.c, src/misc2.c, src/os_unix.c 14990 14991Patch 8.0.0056 14992Problem: When setting 'filetype' there is no check for a valid name. 14993Solution: Only allow valid characters in 'filetype', 'syntax' and 'keymap'. 14994Files: src/option.c, src/testdir/test_options.vim 14995 14996Patch 8.0.0057 (after 8.0.0056) 14997Problem: Tests fail without the 'keymap' features. 14998Solution: Check for feature in test. 14999Files: src/testdir/test_options.vim 15000 15001Patch 8.0.0058 15002Problem: Positioning of the popup menu is not good. 15003Solution: Position it better. (Hirohito Higashi) 15004Files: src/popupmnu.c 15005 15006Patch 8.0.0059 15007Problem: Vim does not build on VMS systems. 15008Solution: Various changes for VMS. (Zoltan Arpadffy) 15009Files: src/json.c, src/macros.h, src/Make_vms.mms, src/os_unix.c, 15010 src/os_unix.h, src/os_vms.c, src/os_vms_conf.h, 15011 src/proto/os_vms.pro, src/testdir/Make_vms.mms 15012 15013Patch 8.0.0060 15014Problem: When using an Ex command for 'keywordprg' it is escaped as with a 15015 shell command. (Romain Lafourcade) 15016Solution: Escape for an Ex command. (closes #1175) 15017Files: src/normal.c, src/testdir/test_normal.vim 15018 15019Patch 8.0.0061 (after 8.0.0058) 15020Problem: Compiler warning for unused variable. 15021Solution: Add #ifdef. (John Marriott) 15022Files: src/popupmnu.c 15023 15024Patch 8.0.0062 15025Problem: No digraph for HORIZONTAL ELLIPSIS. 15026Solution: Use ",.". (Hans Ginzel, closes #1226) 15027Files: src/digraph.c, runtime/doc/digraph.txt 15028 15029Patch 8.0.0063 15030Problem: Compiler warning for comparing with unsigned. (Zoltan Arpadffy) 15031Solution: Change <= to ==. 15032Files: src/undo.c 15033 15034Patch 8.0.0064 (after 8.0.0060) 15035Problem: Normal test fails on MS-Windows. 15036Solution: Don't try using an illegal file name. 15037Files: src/testdir/test_normal.vim 15038 15039Patch 8.0.0065 (after 8.0.0056) 15040Problem: Compiler warning for unused function in tiny build. (Tony 15041 Mechelynck) 15042Solution: Add #ifdef. 15043Files: src/option.c 15044 15045Patch 8.0.0066 15046Problem: when calling an operator function when 'linebreak' is set, it is 15047 internally reset before calling the operator function. 15048Solution: Restore 'linebreak' before calling op_function(). (Christian 15049 Brabandt) 15050Files: src/normal.c, src/testdir/test_normal.vim 15051 15052Patch 8.0.0067 15053Problem: VMS has a problem with infinity. 15054Solution: Avoid an overflow. (Zoltan Arpadffy) 15055Files: src/json.c, src/macros.h 15056 15057Patch 8.0.0068 15058Problem: Checking did_throw after executing autocommands is wrong. (Daniel 15059 Hahler) 15060Solution: Call aborting() instead, and only when autocommands were executed. 15061Files: src/quickfix.c, src/if_cscope.c, src/testdir/test_quickfix.vim 15062 15063Patch 8.0.0069 15064Problem: Compiler warning for self-comparison. 15065Solution: Define ONE_WINDOW and add #ifdef. 15066Files: src/globals.h, src/buffer.c, src/ex_docmd.c, src/move.c, 15067 src/screen.c, src/quickfix.c, src/window.c 15068 15069Patch 8.0.0070 15070Problem: Tests referred in Makefile that no longer exist. 15071Solution: Remove test71 and test74 entries. (Michael Soyka) 15072Files: src/testdir/Mak_ming.mak 15073 15074Patch 8.0.0071 15075Problem: Exit value from a shell command is wrong. (Hexchain Tong) 15076Solution: Do not check for ended jobs while waiting for a shell command. 15077 (ichizok, closes #1196) 15078Files: src/os_unix.c 15079 15080Patch 8.0.0072 15081Problem: MS-Windows: Crash with long font name. (Henry Hu) 15082Solution: Fix comparing with LF_FACESIZE. (Ken Takata, closes #1243) 15083Files: src/os_mswin.c 15084 15085Patch 8.0.0073 (after 8.0.0069) 15086Problem: More comparisons between firstwin and lastwin. 15087Solution: Use ONE_WINDOW for consistency. (Hirohito Higashi) 15088Files: src/buffer.c, src/ex_cmds.c, src/ex_docmd.c, src/option.c, 15089 src/window.c 15090 15091Patch 8.0.0074 15092Problem: Cannot make Vim fail on an internal error. 15093Solution: Add IEMSG() and IEMSG2(). (Dominique Pelle) Avoid reporting an 15094 internal error without mentioning where. 15095Files: src/globals.h, src/blowfish.c, src/dict.c, src/edit.c, src/eval.c, 15096 src/evalfunc.c, src/ex_eval.c, src/getchar.c, src/gui_beval.c, 15097 src/gui_w32.c, src/hangulin.c, src/hashtab.c, src/if_cscope.c, 15098 src/json.c, src/memfile.c, src/memline.c, src/message.c, 15099 src/misc2.c, src/option.c, src/quickfix.c, src/regexp.c, 15100 src/spell.c, src/undo.c, src/userfunc.c, src/vim.h, src/window.c, 15101 src/proto/misc2.pro, src/proto/message.pro, src/Makefile 15102 15103Patch 8.0.0075 15104Problem: Using number for exception type lacks type checking. 15105Solution: Use an enum. 15106Files: src/structs.h, src/ex_docmd.c, src/ex_eval.c, 15107 src/proto/ex_eval.pro 15108 15109Patch 8.0.0076 15110Problem: Channel log has double parens ()(). 15111Solution: Remove () for write_buf_line. (Yasuhiro Matsumoto) 15112Files: src/channel.c 15113 15114Patch 8.0.0077 15115Problem: The GUI code is not tested by Travis. 15116Solution: Install the virtual framebuffer. 15117Files: .travis.yml 15118 15119Patch 8.0.0078 15120Problem: Accessing freed memory in quickfix. 15121Solution: Reset pointer when freeing 'errorformat'. (Dominique Pelle) 15122Files: src/quickfix.c, src/testdir/test_quickfix.vim 15123 15124Patch 8.0.0079 15125Problem: Accessing freed memory in quickfix. (Dominique Pelle) 15126Solution: Do not free the current list when adding to it. 15127Files: src/quickfix.c, src/testdir/test_quickfix.vim 15128 15129Patch 8.0.0080 15130Problem: The OS X build fails on Travis. 15131Solution: Skip the virtual framebuffer on OS X. 15132Files: .travis.yml 15133 15134Patch 8.0.0081 15135Problem: Inconsistent function names. 15136Solution: Rename do_cscope to ex_cscope. Clean up comments. 15137Files: src/ex_cmds.h, src/if_cscope.c, src/ex_docmd.c, 15138 src/proto/if_cscope.pro 15139 15140Patch 8.0.0082 15141Problem: Extension for configure should be ".ac". 15142Solution: Rename configure.in to configure.ac. (James McCoy, closes #1173) 15143Files: src/configure.in, src/configure.ac, Filelist, src/Makefile, 15144 src/blowfish.c, src/channel.c, src/config.h.in, src/main.aap, 15145 src/os_unix.c, src/INSTALL, src/mysign 15146 15147Patch 8.0.0083 15148Problem: Using freed memory with win_getid(). (Dominique Pelle) 15149Solution: For the current tab use curwin. 15150Files: src/window.c, src/testdir/test_window_id.vim 15151 15152Patch 8.0.0084 15153Problem: Using freed memory when adding to a quickfix list. (Dominique 15154 Pelle) 15155Solution: Clear the directory name. 15156Files: src/quickfix.c, src/testdir/test_quickfix.vim 15157 15158Patch 8.0.0085 15159Problem: Using freed memory with recursive function call. (Dominique Pelle) 15160Solution: Make a copy of the function name. 15161Files: src/eval.c, src/testdir/test_nested_function.vim 15162 15163Patch 8.0.0086 15164Problem: Cannot add a comment after ":hide". (Norio Takagi) 15165Solution: Make it work, add a test. (Hirohito Higashi) 15166Files: src/Makefile, src/ex_cmds.h, src/ex_docmd.c, 15167 src/testdir/Make_all.mak, src/testdir/test_hide.vim 15168 15169Patch 8.0.0087 15170Problem: When the channel callback gets job info the job may already have 15171 been deleted. (lifepillar) 15172Solution: Do not delete the job when the channel is still useful. (ichizok, 15173 closes #1242, closes #1245) 15174Files: src/channel.c, src/eval.c, src/os_unix.c, src/os_win32.c, 15175 src/structs.h, src/testdir/test_channel.vim 15176 15177Patch 8.0.0088 15178Problem: When a test fails in Setup or Teardown the problem is not reported. 15179Solution: Add a try/catch. (Hirohito Higashi) 15180Files: src/testdir/runtest.vim 15181 15182Patch 8.0.0089 15183Problem: Various problems with GTK 3.22.2. 15184Solution: Fix the problems, add #ifdefs. (Kazunobu Kuriyama) 15185Files: src/gui_beval.c, src/gui_gtk.c, src/gui_gtk_x11.c 15186 15187Patch 8.0.0090 15188Problem: Cursor moved after last character when using 'breakindent'. 15189Solution: Fix the cursor positioning. Turn the breakindent test into new 15190 style. (Christian Brabandt) 15191Files: src/screen.c, src/testdir/Make_all.mak, 15192 src/testdir/test_breakindent.in, src/testdir/test_breakindent.ok, 15193 src/testdir/test_breakindent.vim, src/Makefile 15194 15195Patch 8.0.0091 15196Problem: Test_help_complete sometimes fails in MS-Windows console. 15197Solution: Use getcompletion() instead of feedkeys() and command line 15198 completion. (Hirohito Higashi) 15199Files: src/testdir/test_help_tagjump.vim 15200 15201Patch 8.0.0092 15202Problem: C indenting does not support nested namespaces that C++ 17 has. 15203Solution: Add check that passes double colon inside a name. (Pauli, closes 15204 #1214) 15205Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok 15206 15207Patch 8.0.0093 15208Problem: Not using multiprocess build feature. 15209Solution: Enable multiprocess build with MSVC 10. (Ken Takata) 15210Files: src/Make_mvc.mak 15211 15212Patch 8.0.0094 15213Problem: When vimrun.exe is not found the error message is not properly 15214 encoded. 15215Solution: Use utf-16 and MessageBoxW(). (Ken Takata) 15216Files: src/os_win32.c 15217 15218Patch 8.0.0095 15219Problem: Problems with GTK 3.22.2 fixed in 3.22.4. 15220Solution: Adjust the #ifdefs. (Kazunobu Kuriyama) 15221Files: src/gui_gtk_x11.c 15222 15223Patch 8.0.0096 15224Problem: When the input or output is not a tty Vim appears to hang. 15225Solution: Add the --ttyfail argument. Also add the "ttyin" and "ttyout" 15226 features to be able to check in Vim script. 15227Files: src/globals.h, src/structs.h, src/main.c, src/evalfunc.c, 15228 runtime/doc/starting.txt, runtime/doc/eval.txt 15229 15230Patch 8.0.0097 15231Problem: When a channel callback consumes a lot of time Vim becomes 15232 unresponsive. (skywind) 15233Solution: Bail out of checking channel readahead after 100 msec. 15234Files: src/os_unix.c, src/misc2.c, src/vim.h, src/os_win32.c, 15235 src/channel.c 15236 15237Patch 8.0.0098 (after 8.0.0097) 15238Problem: Can't build on MS-Windows. 15239Solution: Add missing parenthesis. 15240Files: src/vim.h 15241 15242Patch 8.0.0099 15243Problem: Popup menu always appears above the cursor when it is in the lower 15244 half of the screen. (Matt Gardner) 15245Solution: Compute the available space better. (Hirohito Higashi, 15246 closes #1241) 15247Files: src/popupmnu.c 15248 15249Patch 8.0.0100 15250Problem: Options that are a file name may contain non-filename characters. 15251Solution: Check for more invalid characters. 15252Files: src/option.c 15253 15254Patch 8.0.0101 15255Problem: Some options are not strictly checked. 15256Solution: Add flags for stricter checks. 15257Files: src/option.c 15258 15259Patch 8.0.0102 (after 8.0.0101) 15260Problem: Cannot set 'dictionary' to a path. 15261Solution: Allow for slash and backslash. Add a test (partly by Daisuke 15262 Suzuki, closes #1279, closes #1284) 15263Files: src/option.c, src/testdir/test_options.vim 15264 15265Patch 8.0.0103 15266Problem: May not process channel readahead. (skywind) 15267Solution: If there is readahead don't block on input. 15268Files: src/channel.c, src/proto/channel.pro, src/os_unix.c, 15269 src/os_win32.c, src/misc2.c 15270 15271Patch 8.0.0104 15272Problem: Value of 'thesaurus' option not checked properly. 15273Solution: Add P_NDNAME flag. (Daisuke Suzuki) 15274Files: src/option.c, src/testdir/test_options.vim 15275 15276Patch 8.0.0105 15277Problem: When using ch_read() with zero timeout, can't tell the difference 15278 between reading an empty line and nothing available. 15279Solution: Add ch_canread(). 15280Files: src/evalfunc.c, src/channel.c, src/proto/channel.pro, 15281 src/testdir/test_channel.vim, src/testdir/shared.vim, 15282 runtime/doc/eval.txt, runtime/doc/channel.txt 15283 15284Patch 8.0.0106 (after 8.0.0100) 15285Problem: Cannot use a semicolon in 'backupext'. (Jeff) 15286Solution: Allow for a few more characters when "secure" isn't set. 15287Files: src/option.c 15288 15289Patch 8.0.0107 15290Problem: When reading channel output in a timer, messages may go missing. 15291 (Skywind) 15292Solution: Add the "drop" option. Write error messages in the channel log. 15293 Don't have ch_canread() check for the channel being open. 15294Files: src/structs.h, src/channel.c, src/message.c, src/evalfunc.c, 15295 src/proto/channel.pro, runtime/doc/channel.txt 15296 15297Patch 8.0.0108 (after 8.0.0107) 15298Problem: The channel "drop" option is not tested. 15299Solution: Add a test. 15300Files: src/testdir/test_channel.vim 15301 15302Patch 8.0.0109 15303Problem: Still checking if memcmp() exists while every system should have 15304 it now. 15305Solution: Remove vim_memcmp(). (James McCoy, closes #1295) 15306Files: src/config.h.in, src/configure.ac, src/misc2.c, src/os_vms_conf.h, 15307 src/osdef1.h.in, src/search.c, src/tag.c, src/vim.h 15308 15309Patch 8.0.0110 15310Problem: Drop command doesn't use existing window. 15311Solution: Check the window width properly. (Hirohito Higashi) 15312Files: src/buffer.c, src/testdir/test_tabpage.vim 15313 15314Patch 8.0.0111 15315Problem: The :history command is not tested. 15316Solution: Add tests. (Dominique Pelle) 15317Files: runtime/doc/cmdline.txt, src/testdir/test_history.vim 15318 15319Patch 8.0.0112 15320Problem: Tests 92 and 93 are old style. 15321Solution: Make test92 and test93 new style. (Hirohito Higashi, closes #1289) 15322Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms, 15323 src/testdir/test92.in, src/testdir/test92.ok, 15324 src/testdir/test93.in, src/testdir/test93.ok, 15325 src/testdir/test_mksession.vim, 15326 src/testdir/test_mksession_utf8.vim 15327 15328Patch 8.0.0113 15329Problem: MS-Windows: message box to prompt for saving changes may appear on 15330 the wrong monitor. 15331Solution: Adjust the CenterWindow function. (Ken Takata) 15332Files: src/gui_w32.c 15333 15334Patch 8.0.0114 15335Problem: Coding style not optimal. 15336Solution: Add spaces. (Ken Takata) 15337Files: src/gui_w32.c, src/os_mswin.c 15338 15339Patch 8.0.0115 15340Problem: When building with Cygwin libwinpthread isn't found. 15341Solution: Link winpthread statically. (jmmerz, closes #1255, closes #1256) 15342Files: src/Make_cyg_ming.mak 15343 15344Patch 8.0.0116 15345Problem: When reading English help and using CTRl-] the language from 15346 'helplang' is used. 15347Solution: Make help tag jumps keep the language. (Tatsuki, test by Hirohito 15348 Higashi, closes #1249) 15349Files: src/tag.c, src/testdir/test_help_tagjump.vim 15350 15351Patch 8.0.0117 15352Problem: Parallel make fails. (J. Lewis Muir) 15353Solution: Make sure the objects directory exists. (closes #1259) 15354Files: src/Makefile 15355 15356Patch 8.0.0118 15357Problem: "make proto" adds extra function prototype. 15358Solution: Add #ifdef. 15359Files: src/misc2.c 15360 15361Patch 8.0.0119 15362Problem: No test for using CTRL-R on the command line. 15363Solution: Add a test. (Dominique Pelle) And some more. 15364Files: src/testdir/test_cmdline.vim 15365 15366Patch 8.0.0120 15367Problem: Channel test is still flaky on OS X. 15368Solution: Set the drop argument to "never". 15369Files: src/testdir/test_channel.vim 15370 15371Patch 8.0.0121 15372Problem: Setting 'cursorline' changes the curswant column. (Daniel Hahler) 15373Solution: Add the P_RWINONLY flag. (closes #1297) 15374Files: src/option.c, src/testdir/test_goto.vim 15375 15376Patch 8.0.0122 15377Problem: Channel test is still flaky on OS X. 15378Solution: Add a short sleep. 15379Files: src/testdir/test_channel.py 15380 15381Patch 8.0.0123 15382Problem: Modern Sun compilers define "__sun" instead of "sun". 15383Solution: Use __sun. (closes #1296) 15384Files: src/mbyte.c, src/pty.c, src/os_unixx.h, src/vim.h 15385 15386Patch 8.0.0124 15387Problem: Internal error for assert_inrange(1, 1). 15388Solution: Adjust number of allowed arguments. (Dominique Pelle) 15389Files: src/evalfunc.c, src/testdir/test_assert.vim 15390 15391Patch 8.0.0125 15392Problem: Not enough testing for entering Ex commands. 15393Solution: Add test for CTRL-\ e {expr}. (Dominique Pelle) 15394Files: src/testdir/test_cmdline.vim 15395 15396Patch 8.0.0126 15397Problem: Display problem with 'foldcolumn' and a wide character. 15398 (esiegerman) 15399Solution: Don't use "extra" but an allocated buffer. (Christian Brabandt, 15400 closes #1310) 15401Files: src/screen.c, src/testdir/Make_all.mak, src/Makefile, 15402 src/testdir/test_display.vim 15403 15404Patch 8.0.0127 15405Problem: Cancelling completion still inserts text when formatting is done 15406 for 'textwidth'. (lacygoill) 15407Solution: Don't format when CTRL-E was typed. (Hirohito Higashi, 15408 closes #1312) 15409Files: src/edit.c, src/testdir/test_popup.vim 15410 15411Patch 8.0.0128 (after 8.0.0126) 15412Problem: Display test fails on MS-Windows. 15413Solution: Set 'isprint' to "@". 15414Files: src/testdir/test_display.vim 15415 15416Patch 8.0.0129 15417Problem: Parallel make still doesn't work. (Lewis Muir) 15418Solution: Define OBJ_MAIN. 15419Files: src/Makefile 15420 15421Patch 8.0.0130 15422Problem: Configure uses "ushort" while the Vim code doesn't. 15423Solution: Use "unsigned short" instead. (Fredrik Fornwall, closes #1314) 15424Files: src/configure.ac, src/auto/configure 15425 15426Patch 8.0.0131 15427Problem: Not enough test coverage for syntax commands. 15428Solution: Add more tests. (Dominique Pelle) 15429Files: src/testdir/test_syntax.vim 15430 15431Patch 8.0.0132 (after 8.0.0131) 15432Problem: Test fails because of using :finish. 15433Solution: Change to return. 15434Files: src/testdir/test_syntax.vim 15435 15436Patch 8.0.0133 15437Problem: "2;'(" causes ml_get errors in an empty buffer. (Dominique Pelle) 15438Solution: Check the cursor line earlier. 15439Files: src/ex_docmd.c, src/testdir/test_cmdline.vim 15440 15441Patch 8.0.0134 15442Problem: Null pointer access reported by UBsan. 15443Solution: Check curwin->w_buffer is not NULL. (Yegappan Lakshmanan) 15444Files: src/ex_cmds.c 15445 15446Patch 8.0.0135 15447Problem: An address relative to the current line, ":.,+3y", does not work 15448 properly on a closed fold. (Efraim Yawitz) 15449Solution: Correct for including the closed fold. (Christian Brabandt) 15450Files: src/ex_docmd.c, src/testdir/test_fold.vim, 15451 src/testdir/Make_all.mak, src/Makefile 15452 15453Patch 8.0.0136 15454Problem: When using indent folding and changing indent the wrong fold is 15455 opened. (Jonathan Fudger) 15456Solution: Open the fold under the cursor a bit later. (Christian Brabandt) 15457Files: src/ops.c, src/testdir/test_fold.vim 15458 15459Patch 8.0.0137 15460Problem: When 'maxfuncdepth' is set above 200 the nesting is limited to 15461 200. (Brett Stahlman) 15462Solution: Allow for Ex command recursion depending on 'maxfuncdepth'. 15463Files: src/ex_docmd.c, src/testdir/test_nested_function.vim 15464 15465Patch 8.0.0138 (after 8.0.0137) 15466Problem: Small build fails. 15467Solution: Add #ifdef. 15468Files: src/ex_docmd.c 15469 15470Patch 8.0.0139 (after 8.0.0135) 15471Problem: Warning for unused argument. 15472Solution: Add UNUSED. 15473Files: src/ex_docmd.c 15474 15475Patch 8.0.0140 15476Problem: Pasting inserted text in Visual mode does not work properly. 15477 (Matthew Malcomson) 15478Solution: Stop Visual mode before stuffing the inserted text. (Christian 15479 Brabandt, from neovim #5709) 15480Files: src/ops.c, src/testdir/test_visual.vim 15481 15482Patch 8.0.0141 (after 8.0.0137) 15483Problem: Nested function test fails on AppVeyor. 15484Solution: Disable the test on Windows for now. 15485Files: src/testdir/test_nested_function.vim 15486 15487Patch 8.0.0142 15488Problem: Normal colors are wrong with 'termguicolors'. 15489Solution: Initialize to INVALCOLOR instead of zero. (Ben Jackson, closes 15490 #1344) 15491Files: src/syntax.c 15492 15493Patch 8.0.0143 15494Problem: Line number of current buffer in getbufinfo() is wrong. 15495Solution: For the current buffer use the current line number. (Ken Takata) 15496Files: src/evalfunc.c 15497 15498Patch 8.0.0144 15499Problem: When using MSVC the GvimExt directory is cleaned twice. 15500Solution: Remove the lines. (Ken Takata) 15501Files: src/Make_mvc.mak 15502 15503Patch 8.0.0145 15504Problem: Running tests on MS-Windows is a little bit noisy. 15505Solution: Redirect some output to "nul". (Ken Takata) 15506Files: src/testdir/Make_dos.mak 15507 15508Patch 8.0.0146 15509Problem: When using 'termguicolors' on MS-Windows the RGB definition causes 15510 the colors to be wrong. 15511Solution: Undefined RGB and use our own. (Gabriel Barta) 15512Files: src/term.c 15513 15514Patch 8.0.0147 15515Problem: searchpair() does not work when 'magic' is off. (Chris Paul) 15516Solution: Add \m in the pattern. (Christian Brabandt, closes #1341) 15517Files: src/evalfunc.c, src/testdir/test_search.vim 15518 15519Patch 8.0.0148 15520Problem: When a C preprocessor statement has two line continuations the 15521 following line does not have the right indent. (Ken Takata) 15522Solution: Add the indent of the previous continuation line. (Hirohito 15523 Higashi) 15524Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok 15525 15526Patch 8.0.0149 15527Problem: ":earlier" and ":later" do not work after startup or reading the 15528 undo file. 15529Solution: Use absolute time stamps instead of relative to the Vim start 15530 time. (Christian Brabandt, Pavel Juhas, closes #1300, closes 15531 #1254) 15532Files: src/testdir/test_undo.vim, src/undo.c 15533 15534Patch 8.0.0150 15535Problem: When the pattern of :filter does not have a separator then 15536 completion of the command fails. 15537Solution: Skip over the pattern. (Ozaki Kiichi, closes #1299) 15538Files: src/ex_docmd.c, src/testdir/test_filter_cmd.vim 15539 15540Patch 8.0.0151 15541Problem: To pass buffer content to system() and systemlist() one has to 15542 first create a string or list. 15543Solution: Allow passing a buffer number. (LemonBoy, closes #1240) 15544Files: runtime/doc/eval.txt, src/Makefile, src/evalfunc.c, 15545 src/testdir/Make_all.mak, src/testdir/test_system.vim 15546 15547Patch 8.0.0152 15548Problem: Running the channel test creates channellog. 15549Solution: Delete the debug line. 15550Files: src/testdir/test_channel.vim 15551 15552Patch 8.0.0153 (after 8.0.0151) 15553Problem: system() test fails on MS-Windows. 15554Solution: Deal with extra space and CR. 15555Files: src/testdir/test_system.vim 15556 15557Patch 8.0.0154 (after 8.0.0151) 15558Problem: system() test fails on OS/X. 15559Solution: Deal with leading spaces. 15560Files: src/testdir/test_system.vim 15561 15562Patch 8.0.0155 15563Problem: When sorting zero elements a NULL pointer is passed to qsort(), 15564 which ubsan warns for. 15565Solution: Don't call qsort() if there are no elements. (Dominique Pelle) 15566Files: src/syntax.c 15567 15568Patch 8.0.0156 15569Problem: Several float functions are not covered by tests. 15570Solution: Add float tests. (Dominique Pelle) 15571Files: src/Makefile, src/testdir/test_alot.vim, 15572 src/testdir/test_float_func.vim 15573 15574Patch 8.0.0157 15575Problem: No command line completion for ":syntax spell" and ":syntax sync". 15576Solution: Implement the completion. (Dominique Pelle) 15577Files: src/syntax.c, src/testdir/test_syntax.vim 15578 15579Patch 8.0.0158 (after 8.0.0156) 15580Problem: On MS-Windows some float functions return a different value when 15581 passed unusual values. strtod() doesn't work for "inf" and "nan". 15582Solution: Accept both results. Fix str2float() for MS-Windows. Also 15583 reorder assert function arguments. 15584Files: src/testdir/test_float_func.vim, src/eval.c 15585 15586Patch 8.0.0159 15587Problem: Using a NULL pointer when using feedkeys() to trigger drawing a 15588 tabline. 15589Solution: Skip drawing a tabline if TabPageIdxs is NULL. (Dominique Pelle) 15590 Also fix recursing into getcmdline() from the cmd window. 15591Files: src/screen.c, src/ex_getln.c 15592 15593Patch 8.0.0160 15594Problem: EMSG() is sometimes used for internal errors. 15595Solution: Change them to IEMSG(). (Dominique Pelle) And a few more. 15596Files: src/regexp_nfa.c, src/channel.c, src/eval.c 15597 15598Patch 8.0.0161 (after 8.0.0159) 15599Problem: Build fails when using small features. 15600Solution: Update #ifdef for using save_ccline. (Hirohito Higashi) 15601Files: src/ex_getln.c 15602 15603Patch 8.0.0162 15604Problem: Build error on Fedora 23 with small features and gnome2. 15605Solution: Undefine ngettext(). (Hirohito Higashi) 15606Files: src/gui_gtk.c, src/gui_gtk_x11.c 15607 15608Patch 8.0.0163 15609Problem: Ruby 2.4 no longer supports rb_cFixnum. 15610Solution: move rb_cFixnum into an #ifdef. (Kazuki Sakamoto, closes #1365) 15611Files: src/if_ruby.c 15612 15613Patch 8.0.0164 15614Problem: Outdated and misplaced comments. 15615Solution: Fix the comments. 15616Files: src/charset.c, src/getchar.c, src/list.c, src/misc2.c, 15617 src/testdir/README.txt 15618 15619Patch 8.0.0165 15620Problem: Ubsan warns for integer overflow. 15621Solution: Swap two conditions. (Dominique Pelle) 15622Files: src/regexp_nfa.c 15623 15624Patch 8.0.0166 15625Problem: JSON with a duplicate key gives an internal error. (Lcd) 15626Solution: Give a normal error. Avoid an error when parsing JSON from a 15627 remote client fails. 15628Files: src/evalfunc.c, src/json.c, src/channel.c, 15629 src/testdir/test_json.vim 15630 15631Patch 8.0.0167 15632Problem: str2nr() and str2float() do not always work with negative values. 15633Solution: Be more flexible about handling signs. (LemonBoy, closes #1332) 15634 Add more tests. 15635Files: src/evalfunc.c, src/testdir/test_float_func.vim, 15636 src/testdir/test_functions.vim, src/testdir/test_alot.vim, 15637 src/Makefile 15638 15639Patch 8.0.0168 15640Problem: Still some float functionality is not covered by tests. 15641Solution: Add more tests. (Dominique Pelle, closes #1364) 15642Files: src/testdir/test_float_func.vim 15643 15644Patch 8.0.0169 15645Problem: For complicated string json_decode() may run out of stack space. 15646Solution: Change the recursive solution into an iterative solution. 15647Files: src/json.c 15648 15649Patch 8.0.0170 (after 8.0.0169) 15650Problem: Channel test fails for using freed memory. 15651Solution: Fix memory use in json_decode(). 15652Files: src/json.c 15653 15654Patch 8.0.0171 15655Problem: JS style JSON does not support single quotes. 15656Solution: Allow for single quotes. (Yasuhiro Matsumoto, closes #1371) 15657Files: src/json.c, src/testdir/test_json.vim, src/json_test.c, 15658 runtime/doc/eval.txt 15659 15660Patch 8.0.0172 (after 8.0.0159) 15661Problem: The command selected in the command line window is not executed. 15662 (Andrey Starodubtsev) 15663Solution: Save and restore the command line at a lower level. (closes #1370) 15664Files: src/ex_getln.c, src/testdir/test_history.vim 15665 15666Patch 8.0.0173 15667Problem: When compiling with EBCDIC defined the build fails. (Yaroslav 15668 Kuzmin) 15669Solution: Move sortFunctions() to the right file. Avoid warning for 15670 redefining __SUSV3. 15671Files: src/eval.c, src/evalfunc.c, src/os_unixx.h 15672 15673Patch 8.0.0174 15674Problem: For completion "locale -a" is executed on MS-Windows, even though 15675 it most likely won't work. 15676Solution: Skip executing "locale -a" on MS-Windows. (Ken Takata) 15677Files: src/ex_cmds2.c 15678 15679Patch 8.0.0175 15680Problem: Setting language in gvim on MS-Windows does not work when 15681 libintl.dll is dynamically linked with msvcrt.dll. 15682Solution: Use putenv() from libintl as well. (Ken Takata, closes #1082) 15683Files: src/mbyte.c, src/misc1.c, src/os_win32.c, src/proto/os_win32.pro, 15684 src/vim.h 15685 15686Patch 8.0.0176 15687Problem: Using :change in between :function and :endfunction fails. 15688Solution: Recognize :change inside a function. (ichizok, closes #1374) 15689Files: src/userfunc.c, src/testdir/test_viml.vim 15690 15691Patch 8.0.0177 15692Problem: When opening a buffer on a directory and inside a try/catch then 15693 the BufEnter event is not triggered. 15694Solution: Return NOTDONE from readfile() for a directory and deal with the 15695 three possible return values. (Justin M. Keyes, closes #1375, 15696 closes #1353) 15697Files: src/buffer.c, src/ex_cmds.c, src/ex_docmd.c, src/fileio.c, 15698 src/memline.c 15699 15700Patch 8.0.0178 15701Problem: test_command_count may fail when a previous test interferes, seen 15702 on MS-Windows. 15703Solution: Run it separately. 15704Files: src/testdir/test_alot.vim, src/testdir/Make_all.mak 15705 15706Patch 8.0.0179 15707Problem: 'formatprg' is a global option but the value may depend on the 15708 type of buffer. (Sung Pae) 15709Solution: Make 'formatprg' global-local. (closes #1380) 15710Files: src/structs.h, src/option.h, src/option.c, src/normal.c, 15711 runtime/doc/options.txt, src/testdir/test_normal.vim 15712 15713Patch 8.0.0180 15714Problem: Error E937 is used both for duplicate key in JSON and for trying 15715 to delete a buffer that is in use. 15716Solution: Rename the JSON error to E938. (Norio Takagi, closes #1376) 15717Files: src/json.c, src/testdir/test_json.vim 15718 15719Patch 8.0.0181 15720Problem: When 'cursorbind' and 'cursorcolumn' are both on, the column 15721 highlight in non-current windows is wrong. 15722Solution: Add validate_cursor(). (Masanori Misono, closes #1372) 15723Files: src/move.c 15724 15725Patch 8.0.0182 15726Problem: When 'cursorbind' and 'cursorline' are set, but 'cursorcolumn' is 15727 not, then the cursor line highlighting is not updated. (Hirohito 15728 Higashi) 15729Solution: Call redraw_later() with NOT_VALID. 15730Files: src/move.c 15731 15732Patch 8.0.0183 15733Problem: Ubsan warns for using a pointer that is not aligned. 15734Solution: First copy the address. (Yegappan Lakshmanan) 15735Files: src/channel.c 15736 15737Patch 8.0.0184 15738Problem: When in Ex mode and an error is caught by try-catch, Vim still 15739 exits with a non-zero exit code. 15740Solution: Don't set ex_exitval when inside a try-catch. (partly by Christian 15741 Brabandt) 15742Files: src/message.c, src/testdir/test_system.vim 15743 15744Patch 8.0.0185 (after 8.0.0184) 15745Problem: The system() test fails on MS-Windows. 15746Solution: Skip the test on MS-Windows. 15747Files: src/testdir/test_system.vim 15748 15749Patch 8.0.0186 15750Problem: The error message from assert_notequal() is confusing. 15751Solution: Only mention the expected value. 15752Files: src/eval.c, src/testdir/test_assert.vim 15753 15754Patch 8.0.0187 15755Problem: Building with a new Ruby version fails. 15756Solution: Use ruby_sysinit() instead of NtInitialize(). (Tomas Volf, 15757 closes #1382) 15758Files: src/if_ruby.c 15759 15760Patch 8.0.0188 (after 8.0.0182) 15761Problem: Using NOT_VALID for redraw_later() to update the cursor 15762 line/column highlighting is not efficient. 15763Solution: Call validate_cursor() when 'cul' or 'cuc' is set. 15764Files: src/move.c 15765 15766Patch 8.0.0189 15767Problem: There are no tests for the :profile command. 15768Solution: Add tests. (Dominique Pelle, closes #1383) 15769Files: src/Makefile, src/testdir/Make_all.mak, 15770 src/testdir/test_profile.vim 15771 15772Patch 8.0.0190 15773Problem: Detecting duplicate tags uses a slow linear search. 15774Solution: Use a much faster hash table solution. (James McCoy, closes #1046) 15775 But don't add hi_keylen, it makes hash tables 50% bigger. 15776Files: src/tag.c 15777 15778Patch 8.0.0191 (after 8.0.0187) 15779Problem: Some systems do not have ruby_sysinit(), causing the build to 15780 fail. 15781Solution: Clean up how ruby_sysinit() and NtInitialize() are used. (Taro 15782 Muraoka) 15783Files: src/if_ruby.c 15784 15785Patch 8.0.0192 (after 8.0.0190) 15786Problem: Build fails with tiny features. 15787Solution: Change #ifdef for hash_clear(). Avoid warning for unused 15788 argument. 15789Files: src/hashtab.c, src/if_cscope.c 15790 15791Patch 8.0.0193 (after 8.0.0188) 15792Problem: Accidentally removed #ifdef. 15793Solution: Put it back. (Masanori Misono) 15794Files: src/move.c 15795 15796Patch 8.0.0194 (after 8.0.0189) 15797Problem: Profile tests fails if total and self time are equal. 15798Solution: Make one time optional. 15799Files: src/testdir/test_profile.vim 15800 15801Patch 8.0.0195 (after 8.0.0190) 15802Problem: Jumping to a tag that is a static item in the current file fails. 15803 (Kazunobu Kuriyama) 15804Solution: Make sure the first byte of the tag key is not NUL. (Suggested by 15805 James McCoy, closes #1387) 15806Files: src/tag.c, src/testdir/test_tagjump.vim 15807 15808Patch 8.0.0196 (after 8.0.0194) 15809Problem: The test for :profile is slow and does not work on MS-Windows. 15810Solution: Use the "-es" argument. (Dominique Pelle) Swap single and double 15811 quotes for system() 15812Files: src/testdir/test_profile.vim 15813 15814Patch 8.0.0197 15815Problem: On MS-Windows the system() test skips a few parts. 15816Solution: Swap single and double quotes for the command. 15817Files: src/testdir/test_system.vim 15818 15819Patch 8.0.0198 15820Problem: Some syntax arguments take effect even after "if 0". (Taylor 15821 Venable) 15822Solution: Properly skip the syntax statements. Make "syn case" and "syn 15823 conceal" report the current state. Fix that "syn clear" didn't 15824 reset the conceal flag. Add tests for :syntax skipping properly. 15825Files: src/syntax.c, src/testdir/test_syntax.vim 15826 15827Patch 8.0.0199 15828Problem: Warning for an unused parameter when the libcall feature is 15829 disabled. Warning for a function type cast when compiling with 15830 -pedantic. 15831Solution: Add UNUSED. Use a different type cast. (Damien Molinier) 15832Files: src/evalfunc.c, src/os_unix.c 15833 15834Patch 8.0.0200 15835Problem: Some syntax arguments are not tested. 15836Solution: Add more syntax command tests. 15837Files: src/testdir/test_syntax.vim 15838 15839Patch 8.0.0201 15840Problem: When completing a group name for a highlight or syntax command 15841 cleared groups are included. 15842Solution: Skip groups that have been cleared. 15843Files: src/syntax.c, src/testdir/test_syntax.vim 15844 15845Patch 8.0.0202 15846Problem: No test for invalid syntax group name. 15847Solution: Add a test for group name error and warning. 15848Files: src/testdir/test_syntax.vim 15849 15850Patch 8.0.0203 15851Problem: Order of complication flags is sometimes wrong. 15852Solution: Put interface-specific flags before ALL_CFLAGS. (idea by Yousong 15853 Zhou, closes #1100) 15854Files: src/Makefile 15855 15856Patch 8.0.0204 15857Problem: Compiler warns for uninitialized variable. (Tony Mechelynck) 15858Solution: When skipping set "id" to -1. 15859Files: src/syntax.c 15860 15861Patch 8.0.0205 15862Problem: After :undojoin some commands don't work properly, such as :redo. 15863 (Matthew Malcomson) 15864Solution: Don't set curbuf->b_u_curhead. (closes #1390) 15865Files: src/undo.c, src/testdir/test_undo.vim 15866 15867Patch 8.0.0206 15868Problem: Test coverage for :retab insufficient. 15869Solution: Add test for :retab. (Dominique Pelle, closes #1391) 15870Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/test_retab.vim 15871 15872Patch 8.0.0207 15873Problem: Leaking file descriptor when system() cannot find the buffer. 15874 (Coverity) 15875Solution: Close the file descriptor. (Dominique Pelle, closes #1398) 15876Files: src/evalfunc.c 15877 15878Patch 8.0.0208 15879Problem: Internally used commands for CTRL-Z and mouse click end up in 15880 history. (Matthew Malcomson) 15881Solution: Use do_cmdline_cmd() instead of stuffing them in the readahead 15882 buffer. (James McCoy, closes #1395) 15883Files: src/edit.c, src/normal.c 15884 15885Patch 8.0.0209 15886Problem: When using :substitute with the "c" flag and 'cursorbind' is set 15887 the cursor is not updated in other windows. 15888Solution: Call do_check_cursorbind(). (Masanori Misono) 15889Files: src/ex_cmds.c 15890 15891Patch 8.0.0210 15892Problem: Vim does not support bracketed paste, as implemented by xterm and 15893 other terminals. 15894Solution: Add t_BE, t_BD, t_PS and t_PE. 15895Files: src/term.c, src/term.h, src/option.c, src/misc2.c, src/keymap.h, 15896 src/edit.c, src/normal.c, src/evalfunc.c, src/getchar.c, 15897 src/vim.h, src/proto/edit.pro, runtime/doc/term.txt 15898 15899Patch 8.0.0211 (after 8.0.0210) 15900Problem: Build fails if the multi-byte feature is disabled. 15901Solution: Change #ifdef around ins_char_bytes. 15902Files: src/misc1.c 15903 15904Patch 8.0.0212 15905Problem: The buffer used to store a key name theoretically could be too 15906 small. (Coverity) 15907Solution: Count all possible modifier characters. Add a check for the 15908 length just in case. 15909Files: src/keymap.h, src/misc2.c 15910 15911Patch 8.0.0213 15912Problem: The Netbeans "specialKeys" command does not check if the argument 15913 fits in the buffer. (Coverity) 15914Solution: Add a length check. 15915Files: src/netbeans.c 15916 15917Patch 8.0.0214 15918Problem: Leaking memory when syntax cluster id is unknown. (Coverity) 15919Solution: Free the memory. 15920Files: src/syntax.c 15921 15922Patch 8.0.0215 15923Problem: When a Cscope line contains CTRL-L a NULL pointer may be used. 15924 (Coverity) 15925Solution: Don't check for an emacs tag in a cscope line. 15926Files: src/tag.c 15927 15928Patch 8.0.0216 15929Problem: When decoding JSON with a JS style object the JSON test may use a 15930 NULL pointer. (Coverity) 15931Solution: Check for a NULL pointer. 15932Files: src/json.c, src/json_test.c 15933 15934Patch 8.0.0217 (after 8.0.0215) 15935Problem: Build fails without the cscope feature. 15936Solution: Add #ifdef. 15937Files: src/tag.c 15938 15939Patch 8.0.0218 15940Problem: No command line completion for :cexpr, :cgetexpr, :caddexpr, etc. 15941Solution: Make completion work. (Yegappan Lakshmanan) Add a test. 15942Files: src/ex_docmd.c, src/testdir/test_cmdline.vim 15943 15944Patch 8.0.0219 15945Problem: Ubsan reports errors for integer overflow. 15946Solution: Define macros for minimum and maximum values. Select an 15947 expression based on the value. (Mike Williams) 15948Files: src/charset.c, src/eval.c, src/evalfunc.c, src/structs.h, 15949 src/testdir/test_viml.vim 15950 15951Patch 8.0.0220 15952Problem: Completion for :match does not show "none" and other missing 15953 highlight names. 15954Solution: Skip over cleared entries before checking the index to be at the 15955 end. 15956Files: src/syntax.c, src/testdir/test_cmdline.vim 15957 15958Patch 8.0.0221 15959Problem: Checking if PROTO is defined inside a function has no effect. 15960Solution: Remove the check for PROTO. (Hirohito Higashi) 15961Files: src/misc1.c 15962 15963Patch 8.0.0222 15964Problem: When a multi-byte character ends in a zero byte, putting blockwise 15965 text puts it before the character instead of after it. 15966Solution: Use int instead of char for the character under the cursor. 15967 (Luchr, closes #1403) Add a test. 15968Files: src/ops.c, src/testdir/test_put.vim, src/Makefile, 15969 src/testdir/test_alot.vim 15970 15971Patch 8.0.0223 15972Problem: Coverity gets confused by the flags passed to find_tags() and 15973 warns about uninitialized variable. 15974Solution: Disallow using cscope and help tags at the same time. 15975Files: src/tag.c 15976 15977Patch 8.0.0224 15978Problem: When 'fileformats' is changed in a BufReadPre auto command, it 15979 does not take effect in readfile(). (Gary Johnson) 15980Solution: Check the value of 'fileformats' after executing auto commands. 15981 (Christian Brabandt) 15982Files: src/fileio.c, src/testdir/test_fileformat.vim 15983 15984Patch 8.0.0225 15985Problem: When a block is visually selected and put is used on the end of 15986 the selection only one line is changed. 15987Solution: Check for the end properly. (Christian Brabandt, neovim issue 15988 5781) 15989Files: src/ops.c, src/testdir/test_put.vim 15990 15991Patch 8.0.0226 15992Problem: The test for patch 8.0.0224 misses the CR characters and passes 15993 even without the fix. (Christian Brabandt) 15994Solution: Use double quotes and \<CR>. 15995Files: src/testdir/test_fileformat.vim 15996 15997Patch 8.0.0227 15998Problem: Crash when 'fileformat' is forced to "dos" and the first line in 15999 the file is empty and does not have a CR character. 16000Solution: Don't check for CR before the start of the buffer. 16001Files: src/fileio.c, src/testdir/test_fileformat.vim 16002 16003Patch 8.0.0228 (after 8.0.0210) 16004Problem: When pasting test in an xterm on the command line it is surrounded 16005 by <PasteStart> and <PasteEnd>. (Johannes Kaltenbach) 16006Solution: Add missing changes. 16007Files: src/ex_getln.c, src/term.c 16008 16009Patch 8.0.0229 (after 8.0.0179) 16010Problem: When freeing a buffer the local value of the 'formatprg' option is 16011 not cleared. 16012Solution: Add missing change. 16013Files: src/buffer.c 16014 16015Patch 8.0.0230 (after 8.0.0210) 16016Problem: When using bracketed paste line breaks are not respected. 16017Solution: Turn CR characters into a line break if the text is being 16018 inserted. (closes #1404) 16019Files: src/edit.c 16020 16021Patch 8.0.0231 16022Problem: There are no tests for bracketed paste mode. 16023Solution: Add a test. Fix repeating with "normal .". 16024Files: src/edit.c, src/testdir/test_paste.vim, src/Makefile, 16025 src/testdir/Make_all.mak 16026 16027Patch 8.0.0232 16028Problem: Pasting in Insert mode does not work when bracketed paste is used 16029 and 'esckeys' is off. 16030Solution: When 'esckeys' is off disable bracketed paste in Insert mode. 16031Files: src/edit.c 16032 16033Patch 8.0.0233 (after 8.0.0231) 16034Problem: The paste test fails if the GUI is being used. 16035Solution: Skip the test in the GUI. 16036Files: src/testdir/test_paste.vim 16037 16038Patch 8.0.0234 (after 8.0.0225) 16039Problem: When several lines are visually selected and one of them is short, 16040 using put may cause a crash. (Axel Bender) 16041Solution: Check for a short line. (Christian Brabandt) 16042Files: src/ops.c, src/testdir/test_put.vim 16043 16044Patch 8.0.0235 16045Problem: Memory leak detected when running tests for diff mode. 16046Solution: Free p_extra_free. 16047Files: src/screen.c 16048 16049Patch 8.0.0236 (after 8.0.0234) 16050Problem: Gcc complains that a variable may be used uninitialized. Confusion 16051 between variable and label name. (John Marriott) 16052Solution: Initialize it. Rename end to end_lnum. 16053Files: src/ops.c 16054 16055Patch 8.0.0237 16056Problem: When setting wildoptions=tagfile the completion context is not set 16057 correctly. (desjardins) 16058Solution: Check for EXPAND_TAGS_LISTFILES. (Christian Brabandt, closes #1399) 16059Files: src/ex_getln.c, src/testdir/test_cmdline.vim 16060 16061Patch 8.0.0238 16062Problem: When using bracketed paste autoindent causes indent to be 16063 increased. 16064Solution: Disable 'ai' and set 'paste' temporarily. (Ken Takata) 16065Files: src/edit.c, src/testdir/test_paste.vim 16066 16067Patch 8.0.0239 16068Problem: The address sanitizer sometimes finds errors, but it needs to be 16069 run manually. 16070Solution: Add an environment to Travis with clang and the address sanitizer. 16071 (Christian Brabandt) Also include changes only on github. 16072Files: .travis.yml 16073 16074Patch 8.0.0240 (after 8.0.0239) 16075Problem: The clang build on CI fails with one configuration. 16076Solution: Redo a previous patch that was accidentally reverted. 16077Files: .travis.yml 16078 16079Patch 8.0.0241 16080Problem: Vim defines a mch_memmove() function but it doesn't work, thus is 16081 always unused. 16082Solution: Remove the mch_memmove implementation. (suggested by Dominique 16083 Pelle) 16084Files: src/os_unix.h, src/misc2.c, src/vim.h 16085 16086Patch 8.0.0242 16087Problem: Completion of user defined functions is not covered by tests. 16088Solution: Add tests. Also test various errors of user-defined commands. 16089 (Dominique Pelle, closes #1413) 16090Files: src/testdir/test_usercommands.vim 16091 16092Patch 8.0.0243 16093Problem: When making a character lower case with tolower() changes the byte 16094 count, it is not made lower case. 16095Solution: Add strlow_save(). (Dominique Pelle, closes #1406) 16096Files: src/evalfunc.c, src/misc2.c, src/proto/misc2.pro, 16097 src/testdir/test_functions.vim 16098 16099Patch 8.0.0244 16100Problem: When the user sets t_BE empty after startup to disable bracketed 16101 paste, this has no direct effect. 16102Solution: When t_BE is made empty write t_BD. When t_BE is made non-empty 16103 write the new value. 16104Files: src/option.c 16105 16106Patch 8.0.0245 16107Problem: The generated zh_CN.cp936.po message file is not encoded properly. 16108Solution: Instead of using zh_CN.po as input, use zh_CN.UTF-8.po. 16109Files: src/po/Makefile 16110 16111Patch 8.0.0246 16112Problem: Compiler warnings for int to pointer conversion. 16113Solution: Fix macro for mch_memmove(). (John Marriott) 16114Files: src/vim.h 16115 16116Patch 8.0.0247 16117Problem: Under some circumstances, one needs to type Ctrl-N or Ctrl-P twice 16118 to have a menu entry selected. (Lifepillar) 16119Solution: call ins_compl_free(). (Christian Brabandt, closes #1411) 16120Files: src/edit.c, src/testdir/test_popup.vim 16121 16122Patch 8.0.0248 16123Problem: vim_strcat() cannot handle overlapping arguments. 16124Solution: Use mch_memmove() instead of strcpy(). (Justin M. Keyes, 16125 closes #1415) 16126Files: src/misc2.c 16127 16128Patch 8.0.0249 16129Problem: When two submits happen quick after each other, the tests for the 16130 first one may error out. 16131Solution: Use a git depth of 10 instead of 1. (Christian Brabandt) 16132Files: .travis.yml 16133 16134Patch 8.0.0250 16135Problem: When virtcol() gets a column that is not the first byte of a 16136 multi-byte character the result is unpredictable. (Christian 16137 Ludwig) 16138Solution: Correct the column to the first byte of a multi-byte character. 16139 Change the utf-8 test to new style. 16140Files: src/charset.c, src/testdir/test_utf8.in, src/testdir/test_utf8.ok, 16141 src/testdir/test_utf8.vim, src/Makefile, src/testdir/Make_all.mak, 16142 src/testdir/test_alot_utf8.vim 16143 16144Patch 8.0.0251 16145Problem: It is not so easy to write a script that works with both Python 2 16146 and Python 3, even when the Python code works with both. 16147Solution: Add 'pyxversion', :pyx, etc. (Marc Weber, Ken Takata) 16148Files: Filelist, runtime/doc/eval.txt, runtime/doc/if_pyth.txt, 16149 runtime/doc/index.txt, runtime/doc/options.txt, 16150 runtime/optwin.vim, runtime/doc/quickref.txt, 16151 runtime/doc/usr_41.txt, src/Makefile, src/evalfunc.c, 16152 src/ex_cmds.h, src/ex_cmds2.c, src/ex_docmd.c, src/if_python.c, 16153 src/if_python3.c, src/option.c, src/option.h, 16154 src/proto/ex_cmds2.pro, src/testdir/Make_all.mak, 16155 src/testdir/pyxfile/py2_magic.py, 16156 src/testdir/pyxfile/py2_shebang.py, 16157 src/testdir/pyxfile/py3_magic.py, 16158 src/testdir/pyxfile/py3_shebang.py, src/testdir/pyxfile/pyx.py, 16159 src/testdir/test_pyx2.vim, src/testdir/test_pyx3.vim 16160 src/userfunc.c 16161 16162Patch 8.0.0252 16163Problem: Characters below 256 that are not one byte are not always 16164 recognized as word characters. 16165Solution: Make vim_iswordc() and vim_iswordp() work the same way. Add a test 16166 for this. (Ozaki Kiichi) 16167Files: src/Makefile, src/charset.c, src/kword_test.c, src/mbyte.c, 16168 src/proto/mbyte.pro 16169 16170Patch 8.0.0253 16171Problem: When creating a session when 'winminheight' is 2 or larger and 16172 loading that session gives an error. 16173Solution: Also set 'winminheight' before setting 'winheight' to 1. (Rafael 16174 Bodill, neovim #5717) 16175Files: src/ex_docmd.c, src/testdir/test_mksession.vim 16176 16177Patch 8.0.0254 16178Problem: When using an assert function one can either specify a message or 16179 get a message about what failed, not both. 16180Solution: Concatenate the error with the message. 16181Files: src/eval.c, src/testdir/test_assert.vim 16182 16183Patch 8.0.0255 16184Problem: When calling setpos() with a buffer argument it often is ignored. 16185 (Matthew Malcomson) 16186Solution: Make the buffer argument work for all marks local to a buffer. 16187 (neovim #5713) Add more tests. 16188Files: src/mark.c, src/testdir/test_marks.vim, runtime/doc/eval.txt 16189 16190Patch 8.0.0256 (after 8.0.0255) 16191Problem: Tests fail because some changes were not included. 16192Solution: Add changes to evalfunc.c 16193Files: src/evalfunc.c 16194 16195Patch 8.0.0257 (after 8.0.0252) 16196Problem: The keyword test file is not included in the archive. 16197Solution: Update the list of files. 16198Files: Filelist 16199 16200Patch 8.0.0258 (after 8.0.0253) 16201Problem: mksession test leaves file behind. 16202Solution: Delete the file. Rename files to start with "X". 16203Files: src/testdir/test_mksession.vim 16204 16205Patch 8.0.0259 16206Problem: Tab commands do not handle count correctly. (Ken Hamada) 16207Solution: Add ADDR_TABS_RELATIVE. (Hirohito Higashi) 16208Files: runtime/doc/tabpage.txt, src/ex_cmds.h, src/ex_docmd.c, 16209 src/testdir/test_tabpage.vim 16210 16211Patch 8.0.0260 16212Problem: Build fails with tiny features. 16213Solution: Move get_tabpage_arg() inside #ifdef. 16214Files: src/ex_docmd.c 16215 16216Patch 8.0.0261 16217Problem: Not enough test coverage for eval functions. 16218Solution: Add more tests. (Dominique Pelle, closes #1420) 16219Files: src/testdir/test_functions.vim 16220 16221Patch 8.0.0262 16222Problem: Farsi support is barely tested. 16223Solution: Add more tests for Farsi. Clean up the code. 16224Files: src/edit.c, src/farsi.c, src/testdir/test_farsi.vim 16225 16226Patch 8.0.0263 16227Problem: Farsi support is not tested enough. 16228Solution: Add more tests for Farsi. Clean up the code. 16229Files: src/farsi.c, src/testdir/test_farsi.vim 16230 16231Patch 8.0.0264 16232Problem: Memory error reported by ubsan, probably for using the string 16233 returned by execute(). 16234Solution: NUL terminate the result of execute(). 16235Files: src/evalfunc.c 16236 16237Patch 8.0.0265 16238Problem: May get ml_get error when :pydo deletes lines or switches to 16239 another buffer. (Nikolai Pavlov, issue #1421) 16240Solution: Check the buffer and line every time. 16241Files: src/if_py_both.h, src/testdir/test_python2.vim, 16242 src/testdir/test_python3.vim, src/Makefile, 16243 src/testdir/Make_all.mak 16244 16245Patch 8.0.0266 16246Problem: Compiler warning for using uninitialized variable. 16247Solution: Set tab_number also when there is an error. 16248Files: src/ex_docmd.c 16249 16250Patch 8.0.0267 16251Problem: A channel test sometimes fails on Mac. 16252Solution: Add the test to the list of flaky tests. 16253Files: src/testdir/runtest.vim 16254 16255Patch 8.0.0268 16256Problem: May get ml_get error when :luado deletes lines or switches to 16257 another buffer. (Nikolai Pavlov, issue #1421) 16258Solution: Check the buffer and line every time. 16259Files: src/if_lua.c, src/testdir/test_lua.vim, src/Makefile, 16260 src/testdir/Make_all.mak 16261 16262Patch 8.0.0269 16263Problem: May get ml_get error when :perldo deletes lines or switches to 16264 another buffer. (Nikolai Pavlov, issue #1421) 16265Solution: Check the buffer and line every time. 16266Files: src/if_perl.xs, src/testdir/test_perl.vim 16267 16268Patch 8.0.0270 16269Problem: May get ml_get error when :rubydo deletes lines or switches to 16270 another buffer. (Nikolai Pavlov, issue #1421) 16271Solution: Check the buffer and line every time. 16272Files: src/if_ruby.c, src/testdir/test_ruby.vim 16273 16274Patch 8.0.0271 16275Problem: May get ml_get error when :tcldo deletes lines or switches to 16276 another buffer. (Nikolai Pavlov, closes #1421) 16277Solution: Check the buffer and line every time. 16278Files: src/if_tcl.c, src/testdir/test_tcl.vim, src/Makefile, 16279 src/testdir/Make_all.mak 16280 16281Patch 8.0.0272 16282Problem: Crash on exit is not detected when running tests. 16283Solution: Remove the dash before the command. (Dominique Pelle, closes 16284 #1425) 16285Files: src/testdir/Makefile 16286 16287Patch 8.0.0273 16288Problem: Dead code detected by Coverity when not using gnome. 16289Solution: Rearrange the #ifdefs to avoid dead code. 16290Files: src/gui_gtk_x11.c 16291 16292Patch 8.0.0274 16293Problem: When update_single_line() is called recursively, or another screen 16294 update happens while it is busy, errors may occur. 16295Solution: Check and update updating_screen. (Christian Brabandt) 16296Files: src/screen.c 16297 16298Patch 8.0.0275 16299Problem: When checking for CTRL-C typed the GUI may detect a screen resize 16300 and redraw the screen, causing trouble. 16301Solution: Set updating_screen in ui_breakcheck(). 16302Files: src/ui.c 16303 16304Patch 8.0.0276 16305Problem: Checking for FEAT_GUI_GNOME inside GTK 3 code is unnecessary. 16306Solution: Remove the #ifdef. (Kazunobu Kuriyama) 16307Files: src/gui_gtk_x11.c 16308 16309Patch 8.0.0277 16310Problem: The GUI test may trigger fontconfig and take a long time. 16311Solution: Set $XDG_CACHE_HOME. (Kazunobu Kuriyama) 16312Files: src/testdir/unix.vim, src/testdir/test_gui.vim 16313 16314Patch 8.0.0278 (after 8.0.0277) 16315Problem: GUI test fails on MS-Windows. 16316Solution: Check that tester_HOME exists. 16317Files: src/testdir/test_gui.vim 16318 16319Patch 8.0.0279 16320Problem: With MSVC 2015 the dll name is vcruntime140.dll. 16321Solution: Check the MSVC version and use the right dll name. (Ken Takata) 16322Files: src/Make_mvc.mak 16323 16324Patch 8.0.0280 16325Problem: On MS-Windows setting an environment variable with multi-byte 16326 strings does not work well. 16327Solution: Use wputenv when possible. (Taro Muraoka, Ken Takata) 16328Files: src/misc1.c, src/os_win32.c, src/os_win32.h, 16329 src/proto/os_win32.pro, src/vim.h 16330 16331Patch 8.0.0281 16332Problem: MS-Windows files are still using ARGSUSED while most other files 16333 have UNUSED. 16334Solution: Change ARGSUSED to UNUSED or delete it. 16335Files: src/os_win32.c, src/gui_w32.c, src/os_mswin.c, src/os_w32exe.c, 16336 src/winclip.c 16337 16338Patch 8.0.0282 16339Problem: When doing a Visual selection and using "I" to go to insert mode, 16340 CTRL-O needs to be used twice to go to Normal mode. (Coacher) 16341Solution: Check for the return value of edit(). (Christian Brabandt, 16342 closes #1290) 16343Files: src/normal.c, src/ops.c 16344 16345Patch 8.0.0283 16346Problem: The return value of mode() does not indicate that completion is 16347 active in Replace and Insert mode. (Zhen-Huan (Kenny) Hu) 16348Solution: Add "c" or "x" for two kinds of completion. (Yegappan Lakshmanan, 16349 closes #1397) Test some more modes. 16350Files: runtime/doc/eval.txt, src/evalfunc.c, 16351 src/testdir/test_functions.vim, src/testdir/test_mapping.vim 16352 16353Patch 8.0.0284 16354Problem: The Test_collapse_buffers() test failed once, looks like it is 16355 flaky. 16356Solution: Add it to the list of flaky tests. 16357Files: src/testdir/runtest.vim 16358 16359Patch 8.0.0285 (after 8.0.0277) 16360Problem: Tests fail with tiny build on Unix. 16361Solution: Only set g:tester_HOME when build with the +eval feature. 16362Files: src/testdir/unix.vim 16363 16364Patch 8.0.0286 16365Problem: When concealing is active and the screen is resized in the GUI it 16366 is not immediately redrawn. 16367Solution: Use update_prepare() and update_finish() from 16368 update_single_line(). 16369Files: src/screen.c 16370 16371Patch 8.0.0287 16372Problem: Cannot access the arguments of the current function in debug mode. 16373 (Luc Hermitte) 16374Solution: use get_funccal(). (LemonBoy, closes #1432, closes #1352) 16375Files: src/userfunc.c 16376 16377Patch 8.0.0288 (after 8.0.0284) 16378Problem: Errors reported while running tests. 16379Solution: Put comma in the right place. 16380Files: src/testdir/runtest.vim 16381 16382Patch 8.0.0289 16383Problem: No test for "ga" and :ascii. 16384Solution: Add a test. (Dominique Pelle, closes #1429) 16385Files: src/Makefile, src/testdir/test_alot.vim, src/testdir/test_ga.vim 16386 16387Patch 8.0.0290 16388Problem: If a wide character doesn't fit at the end of the screen line, and 16389 the line doesn't fit on the screen, then the cursor position may 16390 be wrong. (anliting) 16391Solution: Don't skip over wide character. (Christian Brabandt, closes #1408) 16392Files: src/screen.c 16393 16394Patch 8.0.0291 (after 8.0.0282) 16395Problem: Visual block insertion does not insert in all lines. 16396Solution: Don't bail out of insert too early. Add a test. (Christian 16397 Brabandt, closes #1290) 16398Files: src/ops.c, src/testdir/test_visual.vim 16399 16400Patch 8.0.0292 16401Problem: The stat test is a bit slow. 16402Solution: Remove a couple of sleep comments and reduce another. 16403Files: src/testdir/test_stat.vim 16404 16405Patch 8.0.0293 16406Problem: Some tests have a one or three second wait. 16407Solution: Reset the 'showmode' option. Use a test time of one to disable 16408 sleep after an error or warning message. 16409Files: src/misc1.c, src/testdir/runtest.vim, src/testdir/test_normal.vim 16410 16411Patch 8.0.0294 16412Problem: Argument list is not stored correctly in a session file. 16413 (lgpasquale) 16414Solution: Use "$argadd" instead of "argadd". (closes #1434) 16415Files: src/ex_docmd.c, src/testdir/test_mksession.vim 16416 16417Patch 8.0.0295 (after 8.0.0293) 16418Problem: test_viml hangs. 16419Solution: Put resetting 'more' before sourcing the script. 16420Files: src/testdir/runtest.vim 16421 16422Patch 8.0.0296 16423Problem: Bracketed paste can only append, not insert. 16424Solution: When the cursor is in the first column insert the text. 16425Files: src/normal.c, src/testdir/test_paste.vim, runtime/doc/term.txt 16426 16427Patch 8.0.0297 16428Problem: Double free on exit when using a closure. (James McCoy) 16429Solution: Split free_al_functions in two parts. (closes #1428) 16430Files: src/userfunc.c, src/structs.h 16431 16432Patch 8.0.0298 16433Problem: Ex command range with repeated search does not work. (Bruce 16434 DeVisser) 16435Solution: Skip over \/, \? and \&. 16436Files: src/ex_docmd.c, src/testdir/test_cmdline.vim 16437 16438Patch 8.0.0299 16439Problem: When the GUI window is resized Vim does not always take over the 16440 new size. (Luchr) 16441Solution: Reset new_p_guifont in gui_resize_shell(). Call 16442 gui_may_resize_shell() in the main loop. 16443Files: src/main.c, src/gui.c 16444 16445Patch 8.0.0300 16446Problem: Cannot stop diffing hidden buffers. (Daniel Hahler) 16447Solution: When using :diffoff! make the whole list if diffed buffers empty. 16448 (closes #736) 16449Files: src/diff.c, src/testdir/test_diffmode.vim 16450 16451Patch 8.0.0301 16452Problem: No tests for ":set completion" and various errors of the :set 16453 command. 16454Solution: Add more :set tests. (Dominique Pelle, closes #1440) 16455Files: src/testdir/test_options.vim 16456 16457Patch 8.0.0302 16458Problem: Cannot set terminal key codes with :let. 16459Solution: Make it work. 16460Files: src/option.c, src/testdir/test_assign.vim 16461 16462Patch 8.0.0303 16463Problem: Bracketed paste does not work in Visual mode. 16464Solution: Delete the text before pasting 16465Files: src/normal.c, src/ops.c, src/proto/ops.pro, 16466 src/testdir/test_paste.vim 16467 16468Patch 8.0.0304 (after 8.0.0302) 16469Problem: Assign test fails in the GUI. 16470Solution: Skip the test for setting t_k1. 16471Files: src/testdir/test_assign.vim 16472 16473Patch 8.0.0305 16474Problem: Invalid memory access when option has duplicate flag. 16475Solution: Correct pointer computation. (Dominique Pelle, closes #1442) 16476Files: src/option.c, src/testdir/test_options.vim 16477 16478Patch 8.0.0306 16479Problem: mode() not sufficiently tested. 16480Solution: Add more tests. (Yegappan Lakshmanan) 16481Files: src/testdir/test_functions.vim 16482 16483Patch 8.0.0307 16484Problem: Asan detects a memory error when EXITFREE is defined. (Dominique 16485 Pelle) 16486Solution: In getvcol() check for ml_get_buf() returning an empty string. 16487 Also skip adjusting the scroll position. Set "exiting" in 16488 mch_exit() for all systems. 16489Files: src/charset.c, src/window.c, src/os_mswin.c, src/os_win32.c, 16490 src/os_amiga.c 16491 16492Patch 8.0.0308 16493Problem: When using a symbolic link, the package path will not be inserted 16494 at the right position in 'runtimepath'. (Dugan Chen, Norio Takagi) 16495Solution: Resolve symbolic links when finding the right position in 16496 'runtimepath'. (Hirohito Higashi) 16497Files: src/ex_cmds2.c, src/testdir/test_packadd.vim 16498 16499Patch 8.0.0309 16500Problem: Cannot use an empty key in json. 16501Solution: Allow for using an empty key. 16502Files: src/json.c, src/testdir/test_json.vim 16503 16504Patch 8.0.0310 16505Problem: Not enough testing for GUI functionality. 16506Solution: Add tests for v:windowid and getwinpos[xy](). (Kazunobu Kuriyama) 16507Files: src/testdir/test_gui.vim 16508 16509Patch 8.0.0311 16510Problem: Linebreak tests are old style. 16511Solution: Turn the tests into new style. Share utility functions. (Ozaki 16512 Kiichi, closes #1444) 16513Files: src/Makefile, src/testdir/Make_all.mak, 16514 src/testdir/test_breakindent.vim, src/testdir/test_listlbr.in, 16515 src/testdir/test_listlbr.ok, src/testdir/test_listlbr.vim, 16516 src/testdir/test_listlbr_utf8.in, 16517 src/testdir/test_listlbr_utf8.ok, 16518 src/testdir/test_listlbr_utf8.vim, src/testdir/view_util.vim 16519 16520Patch 8.0.0312 16521Problem: When a json message arrives in pieces, the start is dropped and 16522 the decoding fails. 16523Solution: Do not drop the start when it is still needed. (Kay Zheng) Add a 16524 test. Reset the timeout when something is received. 16525Files: src/channel.c, src/testdir/test_channel.vim, src/structs.h, 16526 src/testdir/test_channel_pipe.py 16527 16528Patch 8.0.0313 (after 8.0.0310) 16529Problem: Not enough testing for GUI functionality. 16530Solution: Add tests for the GUI font. (Kazunobu Kuriyama) 16531Files: src/testdir/test_gui.vim 16532 16533Patch 8.0.0314 16534Problem: getcmdtype(), getcmdpos() and getcmdline() are not tested. 16535Solution: Add tests. (Yegappan Lakshmanan) 16536Files: src/testdir/test_cmdline.vim 16537 16538Patch 8.0.0315 16539Problem: ":help :[range]" does not work. (Tony Mechelynck) 16540Solution: Translate to insert a backslash. 16541Files: src/ex_cmds.c 16542 16543Patch 8.0.0316 16544Problem: ":help z?" does not work. (Pavol Juhas) 16545Solution: Remove exception for z?. 16546Files: src/ex_cmds.c 16547 16548Patch 8.0.0317 16549Problem: No test for setting 'guifont'. 16550Solution: Add a test for X11 GUIs. (Kazunobu Kuriyama) 16551Files: src/testdir/test_gui.vim 16552 16553Patch 8.0.0318 16554Problem: Small mistake in 7x13 font name. 16555Solution: Use ISO 8859-1 name instead of 10646-1. (Kazunobu Kuriyama) 16556Files: src/testdir/test_gui.vim 16557 16558Patch 8.0.0319 16559Problem: Insert mode completion does not respect "start" in 'backspace'. 16560Solution: Check whether backspace can go before where insert started. 16561 (Hirohito Higashi) 16562Files: src/edit.c, src/testdir/test_popup.vim 16563 16564Patch 8.0.0320 16565Problem: Warning for unused variable with small build. 16566Solution: Change #ifdef to exclude FEAT_CMDWIN. (Kazunobu Kuriyama) 16567Files: src/ex_getln.c 16568 16569Patch 8.0.0321 16570Problem: When using the tiny version trying to load the matchit plugin 16571 gives an error. On MS-Windows some default mappings fail. 16572Solution: Add a check if the command used is available. (Christian Brabandt) 16573Files: runtime/mswin.vim, runtime/macros/matchit.vim 16574 16575Patch 8.0.0322 16576Problem: Possible overflow with spell file where the tree length is 16577 corrupted. 16578Solution: Check for an invalid length (suggested by shqking) 16579Files: src/spellfile.c 16580 16581Patch 8.0.0323 16582Problem: When running the command line tests there is a one second wait. 16583Solution: Change an Esc to Ctrl-C. (Yegappan Lakshmanan) 16584Files: src/testdir/test_cmdline.vim 16585 16586Patch 8.0.0324 16587Problem: Illegal memory access with "1;y". 16588Solution: Call check_cursor() instead of check_cursor_lnum(). (Dominique 16589 Pelle, closes #1455) 16590Files: src/ex_docmd.c, src/testdir/test_cmdline.vim 16591 16592Patch 8.0.0325 16593Problem: Packadd test does not clean up symlink. 16594Solution: Delete the link. (Hirohito Higashi) 16595Files: src/testdir/test_packadd.vim 16596 16597Patch 8.0.0326 (after 8.0.0325) 16598Problem: Packadd test uses wrong directory name. 16599Solution: Use the variable name value. (Hirohito Higashi) 16600Files: src/testdir/test_packadd.vim 16601 16602Patch 8.0.0327 16603Problem: The E11 error message in the command line window is not 16604 translated. 16605Solution: use _(). (Hirohito Higashi) 16606Files: src/ex_docmd.c 16607 16608Patch 8.0.0328 16609Problem: The "zero count" error doesn't have a number. (Hirohito Higashi) 16610Solution: Give it a number and be more specific about the error. 16611Files: src/globals.h 16612 16613Patch 8.0.0329 16614Problem: Xfontset and guifontwide are not tested. 16615Solution: Add tests. (Kazunobu Kuriyama) 16616Files: src/testdir/test_gui.vim 16617 16618Patch 8.0.0330 16619Problem: Illegal memory access after "vapo". (Dominique Pelle) 16620Solution: Fix the cursor column. 16621Files: src/search.c, src/testdir/test_visual.vim 16622 16623Patch 8.0.0331 16624Problem: Restoring help snapshot accesses freed memory. (Dominique Pelle) 16625Solution: Don't restore a snapshot when the window closes. 16626Files: src/window.c, src/Makefile, src/testdir/Make_all.mak, 16627 src/testdir/test_help.vim 16628 16629Patch 8.0.0332 16630Problem: GUI test fails on some systems. 16631Solution: Try different language settings. (Kazunobu Kuriyama) 16632Files: src/testdir/test_gui.vim 16633 16634Patch 8.0.0333 16635Problem: Illegal memory access when 'complete' ends in a backslash. 16636Solution: Check for trailing backslash. (Dominique Pelle, closes #1478) 16637Files: src/option.c, src/testdir/test_options.vim 16638 16639Patch 8.0.0334 16640Problem: Can't access b:changedtick from a dict reference. 16641Solution: Make changedtick a member of the b: dict. (inspired by neovim 16642 #6112) 16643Files: src/structs.h, src/buffer.c, src/edit.c, src/eval.c, 16644 src/evalfunc.c, src/ex_docmd.c, src/main.c, src/globals.h, 16645 src/fileio.c, src/memline.c, src/misc1.c, src/syntax.c, 16646 src/proto/eval.pro, src/testdir/test_changedtick.vim, 16647 src/Makefile, src/testdir/test_alot.vim, src/testdir/test91.in, 16648 src/testdir/test91.ok, src/testdir/test_functions.vim 16649 16650Patch 8.0.0335 (after 8.0.0335) 16651Problem: Functions test fails. 16652Solution: Use the right buffer number. 16653Files: src/testdir/test_functions.vim 16654 16655Patch 8.0.0336 16656Problem: Flags of :substitute not sufficiently tested. 16657Solution: Test up to two letter flag combinations. (James McCoy, closes 16658 #1479) 16659Files: src/testdir/test_substitute.vim 16660 16661Patch 8.0.0337 16662Problem: Invalid memory access in :recover command. 16663Solution: Avoid access before directory name. (Dominique Pelle, 16664 closes #1488) 16665Files: src/Makefile, src/memline.c, src/testdir/test_alot.vim, 16666 src/testdir/test_recover.vim 16667 16668Patch 8.0.0338 (after 8.0.0337) 16669Problem: :recover test fails on MS-Windows. 16670Solution: Use non-existing directory on MS-Windows. 16671Files: src/testdir/test_recover.vim 16672 16673Patch 8.0.0339 16674Problem: Illegal memory access with vi' 16675Solution: For quoted text objects bail out if the Visual area spans more 16676 than one line. 16677Files: src/search.c, src/testdir/test_visual.vim 16678 16679Patch 8.0.0340 16680Problem: Not checking return value of dict_add(). (Coverity) 16681Solution: Handle a failure. 16682Files: src/buffer.c 16683 16684Patch 8.0.0341 16685Problem: When using complete() and typing a character undo is saved after 16686 the character was inserted. (Shougo) 16687Solution: Save for undo before inserting the character. 16688Files: src/edit.c, src/testdir/test_popup.vim 16689 16690Patch 8.0.0342 16691Problem: Double free when compiled with EXITFREE and setting 'ttytype'. 16692Solution: Avoid setting P_ALLOCED on 'ttytype'. (Dominique Pelle, 16693 closes #1461) 16694Files: src/option.c, src/testdir/test_options.vim 16695 16696Patch 8.0.0343 16697Problem: b:changedtick can be unlocked, even though it has no effect. 16698 (Nikolai Pavlov) 16699Solution: Add a check and error E940. (closes #1496) 16700Files: src/eval.c, src/testdir/test_changedtick.vim, runtime/doc/eval.txt 16701 16702Patch 8.0.0344 16703Problem: Unlet command leaks memory. (Nikolai Pavlov) 16704Solution: Free the memory on error. (closes #1497) 16705Files: src/eval.c, src/testdir/test_unlet.vim 16706 16707Patch 8.0.0345 16708Problem: islocked('d.changedtick') does not work. 16709Solution: Make it work. 16710Files: src/buffer.c, src/eval.c, src/evalfunc.c, src/vim.h, 16711 src/testdir/test_changedtick.vim, 16712 16713Patch 8.0.0346 16714Problem: Vim relies on limits.h to be included indirectly, but on Solaris 9 16715 it may not be. (Ben Fritz) 16716Solution: Always include limits.h. 16717Files: src/os_unixx.h, src/vim.h 16718 16719Patch 8.0.0347 16720Problem: When using CTRL-X CTRL-U inside a comment, the use of the comment 16721 leader may not work. (Klement) 16722Solution: Save and restore did_ai. (Christian Brabandt, closes #1494) 16723Files: src/edit.c, src/testdir/test_popup.vim 16724 16725Patch 8.0.0348 16726Problem: When building with a shadow directory on macOS lacks the 16727 +clipboard feature. 16728Solution: Link *.m files, specifically os_macosx.m. (Kazunobu Kuriyama) 16729Files: src/Makefile 16730 16731Patch 8.0.0349 16732Problem: Redrawing errors with GTK 3. 16733Solution: When updating, first clear all rectangles and then draw them. 16734 (Kazunobu Kuriyama, Christian Ludwig, closes #848) 16735Files: src/gui_gtk_x11.c 16736 16737Patch 8.0.0350 16738Problem: Not enough test coverage for Perl. 16739Solution: Add more Perl tests. (Dominique Pelle, closes #1500) 16740Files: src/testdir/test_perl.vim 16741 16742Patch 8.0.0351 16743Problem: No test for concatenating an empty string that results from out of 16744 bounds indexing. 16745Solution: Add a simple test. 16746Files: src/testdir/test_expr.vim 16747 16748Patch 8.0.0352 16749Problem: The condition for when a typval needs to be cleared is too 16750 complicated. 16751Solution: Init the type to VAR_UNKNOWN and always clear it. 16752Files: src/eval.c 16753 16754Patch 8.0.0353 16755Problem: If [RO] in the status line is translated to a longer string, it is 16756 truncated to 4 bytes. 16757Solution: Skip over the resulting string. (Jente Hidskes, closes #1499) 16758Files: src/screen.c 16759 16760Patch 8.0.0354 16761Problem: Test to check that setting termcap key fails sometimes. 16762Solution: Check for "t_k1" to exist. (Christian Brabandt, closes #1459) 16763Files: src/testdir/test_assign.vim 16764 16765Patch 8.0.0355 16766Problem: Using uninitialized memory when 'isfname' is empty. 16767Solution: Don't call getpwnam() without an argument. (Dominique Pelle, 16768 closes #1464) 16769Files: src/misc1.c, src/testdir/test_options.vim 16770 16771Patch 8.0.0356 (after 8.0.0342) 16772Problem: Leaking memory when setting 'ttytype'. 16773Solution: Get free_oldval from the right option entry. 16774Files: src/option.c 16775 16776Patch 8.0.0357 16777Problem: Crash when setting 'guicursor' to weird value. 16778Solution: Avoid negative size. (Dominique Pelle, closes #1465) 16779Files: src/misc2.c, src/testdir/test_options.vim 16780 16781Patch 8.0.0358 16782Problem: Invalid memory access in C-indent code. 16783Solution: Don't go over end of empty line. (Dominique Pelle, closes #1492) 16784Files: src/edit.c, src/testdir/test_options.vim 16785 16786Patch 8.0.0359 16787Problem: 'number' and 'relativenumber' are not properly tested. 16788Solution: Add tests, change old style to new style tests. (Ozaki Kiichi, 16789 closes #1447) 16790Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms, 16791 src/testdir/test89.in, src/testdir/test89.ok, 16792 src/testdir/test_alot.vim, src/testdir/test_findfile.vim, 16793 src/testdir/test_number.vim 16794 16795Patch 8.0.0360 16796Problem: Sometimes VimL is used, which is confusing. 16797Solution: Consistently use "Vim script". (Hirohito Higashi) 16798Files: runtime/doc/if_mzsch.txt, runtime/doc/if_pyth.txt, 16799 runtime/doc/syntax.txt, runtime/doc/usr_02.txt, 16800 runtime/doc/version7.txt, src/Makefile, src/eval.c, 16801 src/ex_getln.c, src/if_py_both.h, src/if_xcmdsrv.c, 16802 src/testdir/Make_all.mak, src/testdir/runtest.vim, 16803 src/testdir/test49.vim, src/testdir/test_vimscript.vim, 16804 src/testdir/test_viml.vim 16805 16806Patch 8.0.0361 16807Problem: GUI initialisation is not sufficiently tested. 16808Solution: Add the gui_init test. (Kazunobu Kuriyama) 16809Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_dos.mak, 16810 src/testdir/Make_ming.mak, src/testdir/Makefile, 16811 src/testdir/gui_init.vim, src/testdir/setup_gui.vim, 16812 src/testdir/test_gui.vim, src/testdir/test_gui_init.vim, Filelist 16813 16814Patch 8.0.0362 (after 8.0.0361) 16815Problem: Tests fail on MS-Windows. 16816Solution: Use $*.vim instead of $<. 16817Files: src/testdir/Make_dos.mak 16818 16819Patch 8.0.0363 16820Problem: Travis is too slow to keep up with patches. 16821Solution: Increase git depth to 20 16822Files: .travis.yml 16823 16824Patch 8.0.0364 16825Problem: ]s does not move cursor with two spell errors in one line. (Manuel 16826 Ortega) 16827Solution: Don't stop search immediately when wrapped, search the line first. 16828 (Ken Takata) Add a test. 16829Files: src/spell.c, src/Makefile, src/testdir/test_spell.vim, 16830 src/testdir/Make_all.mak 16831 16832Patch 8.0.0365 16833Problem: Might free a dict item that wasn't allocated. 16834Solution: Call dictitem_free(). (Nikolai Pavlov) Use this for 16835 b:changedtick. 16836Files: src/dict.c, src/structs.h, src/buffer.c, src/edit.c, 16837 src/evalfunc.c, src/ex_docmd.c, src/fileio.c, src/main.c, 16838 src/memline.c, src/misc1.c, src/syntax.c 16839 16840Patch 8.0.0366 (after 8.0.0365) 16841Problem: Build fails with tiny features. 16842Solution: Add #ifdef. 16843Files: src/buffer.c 16844 16845Patch 8.0.0367 16846Problem: If configure defines _LARGE_FILES some include files are included 16847 before it is defined. 16848Solution: Include vim.h first. (Sam Thursfield, closes #1508) 16849Files: src/gui_at_sb.c, src/gui_athena.c, src/gui_motif.c, src/gui_x11.c, 16850 src/gui_xmdlg.c 16851 16852Patch 8.0.0368 16853Problem: Not all options are tested with a range of values. 16854Solution: Generate a test script from the source code. 16855Files: Filelist, src/gen_opt_test.vim, src/testdir/test_options.vim, 16856 src/Makefile 16857 16858Patch 8.0.0369 (after 8.0.0368) 16859Problem: The 'balloondelay', 'ballooneval' and 'balloonexpr' options are 16860 not defined without the +balloon_eval feature. Testing that an 16861 option value fails does not work for unsupported options. 16862Solution: Make the options defined but not supported. Don't test if 16863 setting unsupported options fails. 16864Files: src/option.c, src/gen_opt_test.vim 16865 16866Patch 8.0.0370 16867Problem: Invalid memory access when setting wildchar empty. 16868Solution: Avoid going over the end of the option value. (Dominique Pelle, 16869 closes #1509) Make option test check all number options with 16870 empty value. 16871Files: src/gen_opt_test.vim, src/option.c, src/testdir/test_options.vim 16872 16873Patch 8.0.0371 (after 8.0.0365) 16874Problem: Leaking memory when setting v:completed_item. 16875Solution: Or the flags instead of setting them. 16876Files: src/eval.c 16877 16878Patch 8.0.0372 16879Problem: More options are not always defined. 16880Solution: Consistently define all possible options. 16881Files: src/option.c, src/testdir/test_expand_dllpath.vim 16882 16883Patch 8.0.0373 16884Problem: Build fails without +folding. 16885Solution: Move misplaced #ifdef. 16886Files: src/option.c 16887 16888Patch 8.0.0374 16889Problem: Invalid memory access when using :sc in Ex mode. (Dominique Pelle) 16890Solution: Avoid the column being negative. Also fix a hang in Ex mode. 16891Files: src/ex_getln.c, src/ex_cmds.c, src/testdir/test_substitute.vim 16892 16893Patch 8.0.0375 16894Problem: The "+ register is not tested. 16895Solution: Add a test using another Vim instance to change the "+ register. 16896 (Kazunobu Kuriyama) 16897Files: src/testdir/test_gui.vim 16898 16899Patch 8.0.0376 16900Problem: Size computations in spell file reading are not exactly right. 16901Solution: Make "len" a "long" and check with LONG_MAX. 16902Files: src/spellfile.c 16903 16904Patch 8.0.0377 16905Problem: Possible overflow when reading corrupted undo file. 16906Solution: Check if allocated size is not too big. (King) 16907Files: src/undo.c 16908 16909Patch 8.0.0378 16910Problem: Another possible overflow when reading corrupted undo file. 16911Solution: Check if allocated size is not too big. (King) 16912Files: src/undo.c 16913 16914Patch 8.0.0379 16915Problem: CTRL-Z and mouse click use CTRL-O unnecessary. 16916Solution: Remove stuffing CTRL-O. (James McCoy, closes #1453) 16917Files: src/edit.c, src/normal.c 16918 16919Patch 8.0.0380 16920Problem: With 'linebreak' set and 'breakat' includes ">" a double-wide 16921 character results in "<<" displayed. 16922Solution: Check for the character not to be replaced. (Ozaki Kiichi, 16923 closes #1456) 16924Files: src/screen.c, src/testdir/test_listlbr_utf8.vim 16925 16926Patch 8.0.0381 16927Problem: Diff mode is not sufficiently tested. 16928Solution: Add more diff mode tests. (Dominique Pelle, closes #1515) 16929Files: src/testdir/test_diffmode.vim 16930 16931Patch 8.0.0382 (after 8.0.0380) 16932Problem: Warning in tiny build for unused variable. (Tony Mechelynck) 16933Solution: Add #ifdefs. 16934Files: src/screen.c 16935 16936Patch 8.0.0383 (after 8.0.0382) 16937Problem: Misplaced #ifdef. (Christ van Willigen) 16938Solution: Split assignment. 16939Files: src/screen.c 16940 16941Patch 8.0.0384 16942Problem: Timer test failed for no apparent reason. 16943Solution: Mark the test as flaky. 16944Files: src/testdir/runtest.vim 16945 16946Patch 8.0.0385 16947Problem: No tests for arabic. 16948Solution: Add a first test for arabic. (Dominique Pelle, closes #1518) 16949Files: src/Makefile, src/testdir/Make_all.mak, 16950 src/testdir/test_arabic.vim 16951 16952Patch 8.0.0386 16953Problem: Tiny build has a problem with generating the options test. 16954Solution: Change the "if" to skip over statements. 16955Files: src/gen_opt_test.vim 16956 16957Patch 8.0.0387 16958Problem: compiler warnings 16959Solution: Add type casts. (Christian Brabandt) 16960Files: src/channel.c, src/memline.c 16961 16962Patch 8.0.0388 16963Problem: filtering lines through "cat", without changing the line count, 16964 changes manual folds. 16965Solution: Change how marks and folds are adjusted. (Matthew Malcomson, from 16966 neovim #6194). 16967Files: src/fold.c, src/testdir/test_fold.vim 16968 16969Patch 8.0.0389 16970Problem: Test for arabic does not check what is displayed. 16971Solution: Improve what is asserted. (Dominique Pelle, closes #1523) 16972 Add a first shaping test. 16973Files: src/testdir/test_arabic.vim 16974 16975Patch 8.0.0390 16976Problem: When the window scrolls horizontally when the popup menu is 16977 displayed part of it may not be cleared. (Neovim issue #6184) 16978Solution: Remove the menu when the windows scrolled. (closes #1524) 16979Files: src/edit.c 16980 16981Patch 8.0.0391 16982Problem: Arabic support is verbose and not well tested. 16983Solution: Simplify the code. Add more tests. 16984Files: src/arabic.c, src/testdir/test_arabic.vim 16985 16986Patch 8.0.0392 16987Problem: GUI test fails with Athena and Motif. 16988Solution: Add test_ignore_error(). Use it to ignore the "failed to create 16989 input context" error. 16990Files: src/message.c, src/proto/message.pro, src/evalfunc.c, 16991 src/testdir/test_gui.vim, runtime/doc/eval.txt 16992 16993Patch 8.0.0393 (after 8.0.0190) 16994Problem: When the same tag appears more than once, the order is 16995 unpredictable. (Charles Campbell) 16996Solution: Besides using a dict for finding duplicates, use a grow array for 16997 keeping the tags in sequence. 16998Files: src/tag.c, src/testdir/test_tagjump.vim 16999 17000Patch 8.0.0394 17001Problem: Tabs are not aligned when scrolling horizontally and a Tab doesn't 17002 fit. (Axel Bender) 17003Solution: Handle a Tab as a not fitting character. (Christian Brabandt) 17004 Also fix that ":redraw" does not scroll horizontally to show the 17005 cursor. And fix the test that depended on the old behavior. 17006Files: src/screen.c, src/ex_docmd.c, src/testdir/test_listlbr.vim, 17007 src/testdir/test_listlbr_utf8.vim, 17008 src/testdir/test_breakindent.vim 17009 17010Patch 8.0.0395 (after 8.0.0392) 17011Problem: Testing the + register fails with Motif. 17012Solution: Also ignore the "failed to create input context" error in the 17013 second gvim. Don't use msg() when it would result in a dialog. 17014Files: src/message.c, src/testdir/test_gui.vim, src/testdir/setup_gui.vim 17015 17016Patch 8.0.0396 17017Problem: 'balloonexpr' only works synchronously. 17018Solution: Add balloon_show(). (Jusufadis Bakamovic, closes #1449) 17019Files: runtime/doc/eval.txt, src/evalfunc.c, src/os_unix.c, 17020 src/os_win32.c 17021 17022Patch 8.0.0397 (after 8.0.0392) 17023Problem: Cannot build with the viminfo feature but without the eval 17024 feature. 17025Solution: Adjust #ifdef. (John Marriott) 17026Files: src/message.c, src/misc2.c 17027 17028Patch 8.0.0398 17029Problem: Illegal memory access with "t". 17030Solution: Use strncmp() instead of memcmp(). (Dominique Pelle, closes #1528) 17031Files: src/search.c, src/testdir/test_search.vim 17032 17033Patch 8.0.0399 17034Problem: Crash when using balloon_show() when not supported. (Hirohito 17035 Higashi) 17036Solution: Check for balloonEval not to be NULL. (Ken Takata) 17037Files: src/evalfunc.c, src/testdir/test_functions.vim 17038 17039Patch 8.0.0400 17040Problem: Some tests have a one second delay. 17041Solution: Add --not-a-term in RunVim(). 17042Files: src/testdir/shared.vim 17043 17044Patch 8.0.0401 17045Problem: Test fails with missing balloon feature. 17046Solution: Add check for balloon feature. 17047Files: src/testdir/test_functions.vim 17048 17049Patch 8.0.0402 17050Problem: :map completion does not have <special>. (Dominique Pelle) 17051Solution: Recognize <special> in completion. Add a test. 17052Files: src/getchar.c, src/testdir/test_cmdline.vim 17053 17054Patch 8.0.0403 17055Problem: GUI tests may fail. 17056Solution: Ignore the E285 error better. (Kazunobu Kuriyama) 17057Files: src/testdir/test_gui.vim, src/testdir/test_gui_init.vim 17058 17059Patch 8.0.0404 17060Problem: Not enough testing for quickfix. 17061Solution: Add some more tests. (Yegappan Lakshmanan) 17062Files: src/testdir/test_quickfix.vim 17063 17064Patch 8.0.0405 17065Problem: v:progpath may become invalid after ":cd". 17066Solution: Turn v:progpath into a full path if needed. 17067Files: src/main.c, src/testdir/test_startup.vim, runtime/doc/eval.txt 17068 17069Patch 8.0.0406 17070Problem: The arabic shaping code is verbose. 17071Solution: Shorten the code without changing the functionality. 17072Files: src/arabic.c 17073 17074Patch 8.0.0407 (after 8.0.0388) 17075Problem: Filtering folds with marker method not tested. 17076Solution: Also set 'foldmethod' to "marker". 17077Files: src/testdir/test_fold.vim 17078 17079Patch 8.0.0408 17080Problem: Updating folds does not work properly when inserting a file and a 17081 few other situations. 17082Solution: Adjust the way folds are updated. (Matthew Malcomson) 17083Files: src/fold.c, src/testdir/test_fold.vim 17084 17085Patch 8.0.0409 17086Problem: set_progpath is defined but not always used 17087Solution: Adjust #ifdef. 17088Files: src/main.c 17089 17090Patch 8.0.0410 17091Problem: Newer gettext/iconv library has extra dll file. 17092Solution: Add the file to the Makefile and nsis script. (Christian Brabandt) 17093Files: Makefile, nsis/gvim.nsi 17094 17095Patch 8.0.0411 17096Problem: We can't change the case in menu entries, it breaks translations. 17097Solution: Ignore case when looking up a menu translation. 17098Files: src/menu.c, src/testdir/test_menu.vim 17099 17100Patch 8.0.0412 (after 8.0.0411) 17101Problem: Menu test fails on MS-Windows. 17102Solution: Use a menu entry with only ASCII characters. 17103Files: src/testdir/test_menu.vim 17104 17105Patch 8.0.0413 (after 8.0.0412) 17106Problem: Menu test fails on MS-Windows using gvim. 17107Solution: First delete the English menus. 17108Files: src/testdir/test_menu.vim 17109 17110Patch 8.0.0414 17111Problem: Balloon eval is not tested. 17112Solution: Add a few balloon tests. (Kazunobu Kuriyama) 17113Files: src/testdir/test_gui.vim 17114 17115Patch 8.0.0415 (after 8.0.0414) 17116Problem: Balloon test fails on MS-Windows. 17117Solution: Test with 0x7fffffff instead of 0xffffffff. 17118Files: src/testdir/test_gui.vim 17119 17120Patch 8.0.0416 17121Problem: Setting v:progpath is not quite right. 17122Solution: On MS-Windows add the extension. On Unix use the full path for a 17123 relative directory. (partly by James McCoy, closes #1531) 17124Files: src/main.c, src/os_win32.c, src/os_unix.c 17125 17126Patch 8.0.0417 17127Problem: Test for the clipboard fails sometimes. 17128Solution: Add it to the flaky tests. 17129Files: src/testdir/runtest.vim 17130 17131Patch 8.0.0418 17132Problem: ASAN logs are disabled and don't cause a failure. 17133Solution: Enable ASAN logs and fail if not empty. (James McCoy, 17134 closes #1425) 17135Files: .travis.yml 17136 17137Patch 8.0.0419 17138Problem: Test for v:progpath fails on MS-Windows. 17139Solution: Expand to full path. Also add ".exe" when the path is an absolute 17140 path. 17141Files: src/os_win32.c, src/main.c 17142 17143Patch 8.0.0420 17144Problem: When running :make the output may be in the system encoding, 17145 different from 'encoding'. 17146Solution: Add the 'makeencoding' option. (Ken Takata) 17147Files: runtime/doc/options.txt, runtime/doc/quickfix.txt, 17148 runtime/doc/quickref.txt, src/Makefile, src/buffer.c, 17149 src/if_cscope.c, src/main.c, src/option.c, src/option.h, 17150 src/proto/quickfix.pro, src/quickfix.c, src/structs.h, 17151 src/testdir/Make_all.mak, src/testdir/test_makeencoding.py, 17152 src/testdir/test_makeencoding.vim 17153 17154Patch 8.0.0421 17155Problem: Diff mode is displayed wrong when adding a line at the end of a 17156 buffer. 17157Solution: Adjust marks in diff mode. (James McCoy, closes #1329) 17158Files: src/misc1.c, src/ops.c, src/testdir/test_diffmode.vim 17159 17160Patch 8.0.0422 17161Problem: Python test fails with Python 3.6. 17162Solution: Convert new exception messages to old ones. (closes #1359) 17163Files: src/testdir/test87.in 17164 17165Patch 8.0.0423 17166Problem: The effect of adding "#" to 'cinoptions' is not always removed. 17167 (David Briscoe) 17168Solution: Reset b_ind_hash_comment. (Christian Brabandt, closes #1475) 17169Files: src/misc1.c, src/Makefile, src/testdir/Make_all.mak, 17170 src/testdir/test_cindent.vim, src/testdir/test3.in 17171 17172Patch 8.0.0424 17173Problem: Compiler warnings on MS-Windows. (Ajit Thakkar) 17174Solution: Add type casts. 17175Files: src/os_win32.c 17176 17177Patch 8.0.0425 17178Problem: Build errors when building without folding. 17179Solution: Add #ifdefs. (John Marriott) 17180Files: src/diff.c, src/edit.c, src/option.c, src/syntax.c 17181 17182Patch 8.0.0426 17183Problem: Insufficient testing for statusline. 17184Solution: Add several tests. (Dominique Pelle, closes #1534) 17185Files: src/testdir/test_statusline.vim 17186 17187Patch 8.0.0427 17188Problem: 'makeencoding' missing from the options window. 17189Solution: Add the entry. 17190Files: runtime/optwin.vim 17191 17192Patch 8.0.0428 17193Problem: Git and hg see new files after running tests. (Manuel Ortega) 17194Solution: Add the generated file to .hgignore (or .gitignore). Delete the 17195 resulting verbose file. (Christian Brabandt) Improve dependency 17196 on opt_test.vim. Reset the 'more' option. 17197Files: .hgignore, src/gen_opt_test.vim, src/testdir/gen_opt_test.vim, 17198 src/Makefile, src/testdir/Make_all.mak, src/testdir/Makefile, 17199 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 17200 Filelist 17201 17202Patch 8.0.0429 17203Problem: Options test does not always test everything. 17204Solution: Fix dependency for opt_test.vim. Give a message when opt_test.vim 17205 was not found. 17206Files: src/testdir/test_options.vim, src/testdir/gen_opt_test.vim, 17207 src/testdir/Makefile, src/testdir/Make_all.mak, 17208 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak 17209 17210Patch 8.0.0430 17211Problem: Options test fails or hangs on MS-Windows. 17212Solution: Run it separately instead of part of test_alot. Use "-S" instead 17213 of "-u" to run the script. Fix failures. 17214Files: src/testdir/Make_all.mak, src/testdir/test_alot.vim, 17215 src/testdir/Makefile, src/testdir/Make_dos.mak, 17216 src/testdir/Make_ming.mak, src/testdir/gen_opt_test.vim 17217 17218Patch 8.0.0431 17219Problem: 'cinoptions' cannot set indent for extern block. 17220Solution: Add the "E" flag in 'cinoptions'. (Hirohito Higashi) 17221Files: runtime/doc/indent.txt, src/misc1.c, src/structs.h, 17222 src/testdir/test_cindent.vim 17223 17224Patch 8.0.0432 17225Problem: "make shadow" creates an invalid link. 17226Solution: Don't link "*.vim". (Kazunobu Kuriyama) 17227Files: src/Makefile 17228 17229Patch 8.0.0433 17230Problem: Quite a few beeps when running tests. 17231Solution: Set 'belloff' for these tests. (Christian Brabandt) 17232Files: src/testdir/test103.in, src/testdir/test14.in, 17233 src/testdir/test29.in, src/testdir/test30.in, 17234 src/testdir/test32.in, src/testdir/test45.in, 17235 src/testdir/test72.in, src/testdir/test73.in, 17236 src/testdir/test77.in, src/testdir/test78.in, 17237 src/testdir/test85.in, src/testdir/test94.in, 17238 src/testdir/test_alot.vim, src/testdir/test_alot_utf8.vim, 17239 src/testdir/test_close_count.in, src/testdir/test_cmdline.vim, 17240 src/testdir/test_diffmode.vim, src/testdir/test_digraph.vim, 17241 src/testdir/test_erasebackword.in, src/testdir/test_normal.vim, 17242 src/testdir/test_packadd.vim, src/testdir/test_search.vim, 17243 src/testdir/test_textobjects.vim, src/testdir/test_undo.vim, 17244 src/testdir/test_usercommands.vim, src/testdir/test_visual.vim 17245 17246Patch 8.0.0434 17247Problem: Clang version not correctly detected. 17248Solution: Adjust the configure script. (Kazunobu Kuriyama) 17249Files: src/configure.ac, src/auto/configure 17250 17251Patch 8.0.0435 17252Problem: Some functions are not tested. 17253Solution: Add more tests for functions. (Dominique Pelle, closes #1541) 17254Files: src/testdir/test_functions.vim 17255 17256Patch 8.0.0436 17257Problem: Running the options test sometimes resizes the terminal. 17258Solution: Clear out t_WS. 17259Files: src/testdir/gen_opt_test.vim 17260 17261Patch 8.0.0437 17262Problem: The packadd test does not create the symlink correctly and does 17263 not test the right thing. 17264Solution: Create the directory and symlink correctly. 17265Files: src/testdir/test_packadd.vim 17266 17267Patch 8.0.0438 17268Problem: The fnamemodify test changes 'shell' in a way later tests may not 17269 be able to use system(). 17270Solution: Save and restore 'shell'. 17271Files: src/testdir/test_fnamemodify.vim 17272 17273Patch 8.0.0439 17274Problem: Using ":%argdel" while the argument list is already empty gives an 17275 error. (Pavol Juhas) 17276Solution: Don't give an error. (closes #1546) 17277Files: src/ex_cmds2.c, src/testdir/test_arglist.vim 17278 17279Patch 8.0.0440 17280Problem: Not enough test coverage in Insert mode. 17281Solution: Add lots of tests. Add test_override(). (Christian Brabandt, 17282 closes #1521) 17283Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/edit.c, 17284 src/evalfunc.c, src/globals.h, src/screen.c, 17285 src/testdir/Make_all.mak, src/testdir/test_cursor_func.vim, 17286 src/testdir/test_edit.vim, src/testdir/test_search.vim, 17287 src/testdir/test_assert.vim, src/Makefile, src/testdir/runtest.vim 17288 17289Patch 8.0.0441 17290Problem: Dead code in #ifdef. 17291Solution: Remove the #ifdef and #else part. 17292Files: src/option.c 17293 17294Patch 8.0.0442 17295Problem: Patch shell command uses double quotes around the argument, which 17296 allows for $HOME to be expanded. (Etienne) 17297Solution: Use single quotes on Unix. (closes #1543) 17298Files: src/diff.c, src/testdir/test_diffmode.vim 17299 17300Patch 8.0.0443 17301Problem: Terminal width is set to 80 in test3. 17302Solution: Instead of setting 'columns' set 'wrapmargin' depending on 17303 'columns. 17304Files: src/testdir/test3.in 17305 17306Patch 8.0.0444 (after 8.0.0442) 17307Problem: Diffpatch fails when the file name has a quote. 17308Solution: Escape the name properly. (zetzei) 17309Files: src/diff.c, src/testdir/test_diffmode.vim 17310 17311Patch 8.0.0445 17312Problem: Getpgid is not supported on all systems. 17313Solution: Add a configure check. 17314Files: src/configure.ac, src/auto/configure, src/config.h.in, 17315 src/os_unix.c 17316 17317Patch 8.0.0446 17318Problem: The ";" command does not work after characters with a lower byte 17319 that is NUL. 17320Solution: Properly check for not having a previous character. (Hirohito 17321 Higashi) 17322Files: src/Makefile, src/search.c, src/testdir/test_alot_utf8.vim, 17323 src/testdir/test_charsearch_utf8.vim 17324 17325Patch 8.0.0447 17326Problem: Getting font name does not work on X11. 17327Solution: Implement gui_mch_get_fontname() for X11. Add more GUI tests. 17328 (Kazunobu Kuriyama) 17329Files: src/gui_x11.c, src/syntax.c, src/testdir/Make_dos.mak, 17330 src/testdir/Make_ming.mak, src/testdir/Makefile, 17331 src/testdir/gui_init.vim, src/testdir/gui_preinit.vim, 17332 src/testdir/test_gui.vim, src/testdir/test_gui_init.vim, 17333 Filelist 17334 17335Patch 8.0.0448 17336Problem: Some macros are in lower case, which can be confusing. 17337Solution: Make a few lower case macros upper case. 17338Files: src/macros.h, src/buffer.c, src/charset.c, src/ops.c, src/diff.c, 17339 src/edit.c, src/evalfunc.c, src/ex_cmds.c, src/ex_getln.c, 17340 src/fileio.c, src/fold.c, src/gui.c, src/gui_beval.c, src/main.c, 17341 src/mark.c, src/misc1.c, src/move.c, src/normal.c, 17342 src/option.c, src/popupmnu.c, src/regexp.c, src/screen.c, 17343 src/search.c, src/spell.c, src/tag.c, src/ui.c, src/undo.c, 17344 src/version.c, src/workshop.c, src/if_perl.xs 17345 17346Patch 8.0.0449 (after 8.0.0448) 17347Problem: Part of fold patch accidentally included. 17348Solution: Revert that part of the patch. 17349Files: src/ex_cmds.c 17350 17351Patch 8.0.0450 17352Problem: v:progpath is not reliably set. 17353Solution: Read /proc/self/exe if possible. (idea by Michal Grochmal) 17354 Also fixes missing #if. 17355Files: src/main.c, src/config.h.in 17356 17357Patch 8.0.0451 17358Problem: Some macros are in lower case. 17359Solution: Make a few more macros upper case. Avoid lower case macros use an 17360 argument twice. 17361Files: src/macros.h, src/charset.c, src/misc2.c, src/proto/misc2.pro, 17362 src/edit.c, src/eval.c, src/ex_cmds.c, src/ex_cmds2.c, 17363 src/ex_docmd.c, src/ex_getln.c, src/fileio.c, src/fold.c, 17364 src/gui.c, src/gui_gtk.c, src/mark.c, src/memline.c, src/mbyte.c, 17365 src/menu.c, src/message.c, src/misc1.c, src/ops.c, src/option.c, 17366 src/os_amiga.c, src/os_mswin.c, src/os_unix.c, src/os_win32.c, 17367 src/popupmnu.c, src/regexp.c, src/regexp_nfa.c, src/screen.c, 17368 src/search.c, src/spell.c, src/spellfile.c, src/syntax.c, 17369 src/tag.c, src/ui.c, src/undo.c, src/window.c 17370 17371Patch 8.0.0452 17372Problem: Some macros are in lower case. 17373Solution: Make a few more macros upper case. 17374Files: src/vim.h, src/macros.h, src/evalfunc.c, src/fold.c, 17375 src/gui_gtk.c, src/gui_gtk_x11.c, src/charset.c, src/diff.c, 17376 src/edit.c, src/eval.c, src/ex_cmds.c, src/ex_cmds2.c, 17377 src/ex_docmd.c, src/ex_getln.c, src/fileio.c, src/getchar.c, 17378 src/gui.c, src/gui_w32.c, src/if_cscope.c, src/mbyte.c, 17379 src/menu.c, src/message.c, src/misc1.c, src/misc2.c, src/normal.c, 17380 src/ops.c, src/option.c, src/os_unix.c, src/os_win32.c, 17381 src/quickfix.c, src/regexp.c, src/regexp_nfa.c, src/screen.c, 17382 src/search.c, src/spell.c, src/syntax.c, src/tag.c, src/userfunc.c 17383 17384Patch 8.0.0453 17385Problem: Adding fold marker creates new comment. 17386Solution: Use an existing comment if possible. (LemonBoy, closes #1549) 17387Files: src/ops.c, src/proto/ops.pro, src/fold.c, 17388 src/testdir/test_fold.vim 17389 17390Patch 8.0.0454 17391Problem: Compiler warnings for comparing unsigned char with 256 always 17392 being true. (Manuel Ortega) 17393Solution: Add type cast. 17394Files: src/screen.c, src/charset.c 17395 17396Patch 8.0.0455 17397Problem: The mode test may hang in Test_mode(). (Michael Soyka) 17398Solution: Set 'complete' to only search the current buffer (as suggested by 17399 Michael) 17400Files: src/testdir/test_functions.vim 17401 17402Patch 8.0.0456 17403Problem: Typo in MinGW test makefile. 17404Solution: Change an underscore to a dot. (Michael Soyka) 17405Files: src/testdir/Make_ming.mak 17406 17407Patch 8.0.0457 17408Problem: Using :move messes up manual folds. 17409Solution: Split adjusting marks and folds. Add foldMoveRange(). (neovim 17410 patch #6221) 17411Files: src/ex_cmds.c, src/fold.c, src/mark.c, src/proto/fold.pro, 17412 src/proto/mark.pro src/testdir/test_fold.vim 17413 17414Patch 8.0.0458 17415Problem: Potential crash if adding list or dict to dict fails. 17416Solution: Make sure the reference count is correct. (Nikolai Pavlov, closes 17417 #1555) 17418Files: src/dict.c 17419 17420Patch 8.0.0459 (after 8.0.0457) 17421Problem: Old fix for :move messing up folding no longer needed, now that we 17422 have a proper solution. 17423Solution: Revert patch 7.4.700. (Christian Brabandt) 17424Files: src/ex_cmds.c 17425 17426Patch 8.0.0460 (after 8.0.0452) 17427Problem: Can't build on HPUX. 17428Solution: Fix argument names in vim_stat(). (John Marriott) 17429Files: src/misc2.c 17430 17431Patch 8.0.0461 (after 8.0.0457) 17432Problem: Test 45 hangs on MS-Windows. 17433Solution: Reset 'shiftwidth'. Also remove redundant function. 17434Files: src/fold.c, src/testdir/test45.in 17435 17436Patch 8.0.0462 17437Problem: If an MS-Windows tests succeeds at first and then fails in a way 17438 it does not produce a test.out file it looks like the test 17439 succeeded. 17440Solution: Delete the previous output file. 17441Files: src/testdir/Make_dos.mak 17442 17443Patch 8.0.0463 17444Problem: Resetting 'compatible' in defaults.vim has unexpected side 17445 effects. (David Fishburn) 17446Solution: Only reset 'compatible' if it was set. 17447Files: runtime/defaults.vim 17448 17449Patch 8.0.0464 17450Problem: Can't find executable name on Solaris and FreeBSD. 17451Solution: Check for "/proc/self/path/a.out". (Danek Duvall) And for 17452 "/proc/curproc/file". 17453Files: src/config.h.in, src/configure.ac, src/main.c, 17454 src/auto/configure 17455 17456Patch 8.0.0465 17457Problem: Off-by-one error in using :move with folding. 17458Solution: Correct off-by-one mistakes and add more tests. (Matthew 17459 Malcomson) 17460Files: src/fold.c, src/testdir/test_fold.vim 17461 17462Patch 8.0.0466 17463Problem: There are still a few macros that should be all-caps. 17464Solution: Make a few more macros all-caps. 17465Files: src/buffer.c, src/edit.c, src/ex_cmds.c, src/ex_cmds2.c, 17466 src/ex_docmd.c, src/ex_getln.c, src/farsi.c, src/fileio.c, 17467 src/getchar.c, src/gui_beval.c, src/hardcopy.c, src/if_cscope.c, 17468 src/if_xcmdsrv.c, src/mark.c, src/memline.c, src/menu.c, 17469 src/message.c, src/misc1.c, src/normal.c, src/ops.c, src/option.c, 17470 src/quickfix.c, src/screen.c, src/search.c, src/syntax.c, 17471 src/tag.c, src/term.c, src/term.h, src/ui.c, src/undo.c, 17472 src/userfunc.c, src/version.c, src/vim.h 17473 17474Patch 8.0.0467 17475Problem: Using g< after :for does not show the right output. (Marcin 17476 Szamotulski) 17477Solution: Call msg_sb_eol() in :echomsg. 17478Files: src/eval.c 17479 17480Patch 8.0.0468 17481Problem: After aborting an Ex command g< does not work. (Marcin 17482 Szamotulski) 17483Solution: Postpone clearing scrollback messages to until the command line 17484 has been entered. Also fix that the screen isn't redrawn if after 17485 g< the command line is cancelled. 17486Files: src/message.c, src/proto/message.pro, src/ex_getln.c, src/misc2.c, 17487 src/gui.c 17488 17489Patch 8.0.0469 17490Problem: Compiler warnings on MS-Windows. 17491Solution: Add type casts. (Christian Brabandt) 17492Files: src/fold.c 17493 17494Patch 8.0.0470 17495Problem: Not enough testing for help commands. 17496Solution: Add a few more help tests. (Dominique Pelle, closes #1565) 17497Files: src/testdir/test_help.vim, src/testdir/test_help_tagjump.vim 17498 17499Patch 8.0.0471 17500Problem: Exit callback test sometimes fails. 17501Solution: Add it to the list of flaky tests. 17502Files: src/testdir/runtest.vim 17503 17504Patch 8.0.0472 17505Problem: When a test fails and test.log is created, Test_edit_CTRL_I 17506 matches it instead of test1.in. 17507Solution: Match with runtest.vim instead. 17508Files: src/testdir/test_edit.vim 17509 17510Patch 8.0.0473 17511Problem: No test covering arg_all(). 17512Solution: Add a test expanding ##. 17513Files: src/testdir/test_arglist.vim 17514 17515Patch 8.0.0474 17516Problem: The client-server feature is not tested. 17517Solution: Add a test. 17518Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/shared.vim, 17519 src/testdir/test_clientserver.vim, src/os_mswin.c 17520 17521Patch 8.0.0475 17522Problem: Not enough testing for the client-server feature. 17523Solution: Add more tests. Add the remote_startserver() function. Fix that 17524 a locally evaluated expression uses function-local variables. 17525Files: src/if_xcmdsrv.c, src/evalfunc.c, src/os_mswin.c, 17526 src/proto/main.pro, src/testdir/test_clientserver.vim, 17527 runtime/doc/eval.txt 17528 17529Patch 8.0.0476 (after 8.0.0475) 17530Problem: Missing change to main.c. 17531Solution: Add new function. 17532Files: src/main.c 17533 17534Patch 8.0.0477 17535Problem: The client-server test may hang when failing. 17536Solution: Set a timer. Add assert_report() 17537Files: src/testdir/test_clientserver.vim, src/testdir/runtest.vim, 17538 src/eval.c, src/evalfunc.c, src/proto/eval.pro, src/if_xcmdsrv.c, 17539 src/os_mswin.c, runtime/doc/eval.txt 17540 17541Patch 8.0.0478 17542Problem: Tests use assert_true(0) and assert_false(1) to report errors. 17543Solution: Use assert_report(). 17544Files: src/testdir/test_cscope.vim, src/testdir/test_expr.vim, 17545 src/testdir/test_perl.vim, src/testdir/test_channel.vim, 17546 src/testdir/test_cursor_func.vim, src/testdir/test_gui.vim, 17547 src/testdir/test_menu.vim, src/testdir/test_popup.vim, 17548 src/testdir/test_viminfo.vim, src/testdir/test_vimscript.vim, 17549 src/testdir/test_assert.vim 17550 17551Patch 8.0.0479 17552Problem: remote_peek() is not tested. 17553Solution: Add a test. 17554Files: src/testdir/test_clientserver.vim, src/testdir/runtest.vim 17555 17556Patch 8.0.0480 17557Problem: The remote_peek() test fails on MS-Windows. 17558Solution: Check for pending messages. Also report errors in the first run if 17559 a flaky test fails twice. 17560Files: src/os_mswin.c, src/testdir/runtest.vim 17561 17562Patch 8.0.0481 17563Problem: Unnecessary if statement. 17564Solution: Remove the statement. Fix "it's" vs "its" mistakes. (Dominique 17565 Pelle, closes #1568) 17566Files: src/syntax.c 17567 17568Patch 8.0.0482 17569Problem: The setbufvar() function may mess up the window layout. (Kay Z.) 17570Solution: Do not check the window to be valid if it is NULL. 17571Files: src/window.c, src/testdir/test_functions.vim 17572 17573Patch 8.0.0483 17574Problem: Illegal memory access when using :all. (Dominique Pelle) 17575Solution: Adjust the cursor position right after setting "curwin". 17576Files: src/window.c, src/testdir/test_window_cmd.vim 17577 17578Patch 8.0.0484 17579Problem: Using :lhelpgrep with an argument that should fail does not 17580 produce an error if the previous :helpgrep worked. 17581Solution: Use another way to detect that autocommands made the quickfix info 17582 invalid. (Yegappan Lakshmanan) 17583Files: src/quickfix.c, src/testdir/test_quickfix.vim 17584 17585Patch 8.0.0485 17586Problem: Not all windows commands are tested. 17587Solution: Add more tests for windows commands. (Dominique Pelle, 17588 closes #1575) Run test_autocmd separately, it interferes with 17589 other tests. Fix tests that depended on side effects. 17590Files: src/testdir/test_window_cmd.vim, src/testdir/test_alot.vim, 17591 src/testdir/test_autocmd.vim, src/testdir/test_fnamemodify.vim, 17592 src/testdir/test_functions.vim, src/testdir/test_delete.vim, 17593 src/testdir/Make_all.mak 17594 17595Patch 8.0.0486 17596Problem: Crash and endless loop when closing windows in a SessionLoadPost 17597 autocommand. 17598Solution: Check for valid tabpage. (partly neovim #6308) 17599Files: src/testdir/test_autocmd.vim, src/fileio.c, src/proto/window.pro, 17600 src/window.c 17601 17602Patch 8.0.0487 17603Problem: The autocmd test hangs on MS-Windows. 17604Solution: Skip the hanging tests for now. 17605Files: src/testdir/test_autocmd.vim 17606 17607Patch 8.0.0488 17608Problem: Running tests leaves an "xxx" file behind. 17609Solution: Delete the 'verbosefile' after resetting the option. 17610Files: src/testdir/gen_opt_test.vim 17611 17612Patch 8.0.0489 17613Problem: Clipboard and "* register is not tested. 17614Solution: Add a test for Mac and X11. (Kazunobu Kuriyama) 17615Files: src/Makefile, src/testdir/Make_all.mak, 17616 src/testdir/test_quotestar.vim, src/testdir/runtest.vim 17617 17618Patch 8.0.0490 17619Problem: Splitting a 'winfixwidth' window vertically makes it one column 17620 smaller. (Dominique Pelle) 17621Solution: Add one to the width for the separator. 17622Files: src/window.c, src/testdir/test_window_cmd.vim 17623 17624Patch 8.0.0491 17625Problem: The quotestar test fails when a required feature is missing. 17626Solution: Prepend "Skipped" to the thrown exception. 17627Files: src/testdir/test_quotestar.vim 17628 17629Patch 8.0.0492 17630Problem: A failing client-server request can make Vim hang. 17631Solution: Add a timeout argument to functions that wait. 17632Files: src/evalfunc.c, src/if_xcmdsrv.c, src/proto/if_xcmdsrv.pro, 17633 src/main.c, src/os_mswin.c, src/proto/os_mswin.pro, 17634 src/vim.h, runtime/doc/eval.txt, src/testdir/test_clientserver.vim 17635 17636Patch 8.0.0493 17637Problem: Crash with cd command with very long argument. 17638Solution: Check for running out of space. (Dominique Pelle, closes #1576) 17639Files: src/testdir/test_alot.vim, src/testdir/test_cd.vim, src/Makefile, 17640 src/misc2.c 17641 17642Patch 8.0.0494 17643Problem: Build failure with older compiler on MS-Windows. 17644Solution: Move declaration to start of block. 17645Files: src/evalfunc.c, src/main.c, src/os_mswin.c 17646 17647Patch 8.0.0495 17648Problem: The quotestar test uses a timer instead of a timeout, thus it 17649 cannot be rerun like a flaky test. 17650Solution: Remove the timer and add a timeout. (Kazunobu Kuriyama) 17651Files: src/testdir/test_quotestar.vim 17652 17653Patch 8.0.0496 17654Problem: Insufficient testing for folding. 17655Solution: Add a couple more fold tests. (Dominique Pelle, closes #1579) 17656Files: src/testdir/test_fold.vim 17657 17658Patch 8.0.0497 17659Problem: Arabic support is not fully tested. 17660Solution: Add more tests for the untested functions. Comment out 17661 unreachable code. 17662Files: src/arabic.c, src/testdir/test_arabic.vim 17663 17664Patch 8.0.0498 17665Problem: Two autocmd tests are skipped on MS-Windows. 17666Solution: Make the test pass on MS-Windows. Write the messages in a file 17667 instead of getting the output of system(). 17668Files: src/testdir/test_autocmd.vim 17669 17670Patch 8.0.0499 17671Problem: taglist() does not prioritize tags for a buffer. 17672Solution: Add an optional buffer argument. (Duncan McDougall, closes #1194) 17673Files: runtime/doc/eval.txt, src/evalfunc.c, src/proto/tag.pro, 17674 src/Makefile, src/tag.c, src/testdir/test_alot.vim, 17675 src/testdir/test_taglist.vim 17676 17677Patch 8.0.0500 17678Problem: Quotestar test is still a bit flaky. 17679Solution: Add a slower check for v:version. 17680Files: src/testdir/test_quotestar.vim 17681 17682Patch 8.0.0501 17683Problem: On MS-Windows ":!start" does not work as expected. 17684Solution: When creating a process fails try passing the argument to 17685 ShellExecute(). (Katsuya Hino, closes #1570) 17686Files: runtime/doc/os_win32.txt, src/os_win32.c 17687 17688Patch 8.0.0502 17689Problem: Coverity complains about possible NULL pointer. 17690Solution: Add an assert(), let's see if this works on all systems. 17691Files: src/window.c 17692 17693Patch 8.0.0503 17694Problem: Endless loop in updating folds with 32 bit ints. 17695Solution: Subtract from LHS instead of add to the RHS. (Matthew Malcomson) 17696Files: src/fold.c 17697 17698Patch 8.0.0504 17699Problem: Looking up an Ex command is a bit slow. 17700Solution: Instead of just using the first letter, also use the second letter 17701 to skip ahead in the list of commands. Generate the table with a 17702 Perl script. (Dominique Pelle, closes #1589) 17703Files: src/Makefile, src/create_cmdidxs.pl, src/ex_docmd.c, Filelist 17704 17705Patch 8.0.0505 17706Problem: Failed window split for :stag not handled. (Coverity CID 99204) 17707Solution: If the split fails skip to the end. (bstaletic, closes #1577) 17708Files: src/tag.c 17709 17710Patch 8.0.0506 (after 8.0.0504) 17711Problem: Can't build with ANSI C. 17712Solution: Move declarations to start of block. 17713Files: src/ex_docmd.c 17714 17715Patch 8.0.0507 17716Problem: Client-server tests fail when $DISPLAY is not set. 17717Solution: Check for E240 before running the test. 17718Files: src/testdir/test_quotestar.vim, src/testdir/test_clientserver.vim 17719 17720Patch 8.0.0508 17721Problem: Coveralls no longer shows per-file coverage. 17722Solution: Add coverage from codecov.io. (Christian Brabandt) 17723Files: .travis.yml 17724 17725Patch 8.0.0509 17726Problem: No link to codecov.io results. 17727Solution: Add a badge to the readme file. 17728Files: README.md 17729 17730Patch 8.0.0510 (after 8.0.0509) 17731Problem: Typo in link to codecov.io results. 17732Solution: Remove duplicate https:. 17733Files: README.md 17734 17735Patch 8.0.0511 17736Problem: Message for skipping client-server tests is unclear. 17737Solution: Be more specific about what's missing (Hirohito Higashi, Kazunobu 17738 Kuriyama) 17739Files: src/testdir/test_quotestar.vim, src/testdir/test_clientserver.vim 17740 17741Patch 8.0.0512 17742Problem: Check for available characters takes too long. 17743Solution: Only check did_start_blocking if wtime is negative. (Daisuke 17744 Suzuki, closes #1591) 17745Files: src/os_unix.c 17746 17747Patch 8.0.0513 (after 8.0.0201) 17748Problem: Getting name of cleared highlight group is wrong. (Matt Wozniski) 17749Solution: Only skip over cleared names for completion. (closes #1592) 17750 Also fix that a cleared group causes duplicate completions. 17751Files: src/syntax.c, src/proto/syntax.pro, src/evalfunc.c, 17752 src/ex_cmds.c, src/testdir/test_syntax.vim, 17753 src/testdir/test_cmdline.vim 17754 17755Patch 8.0.0514 17756Problem: Script for creating cmdidxs can be improved. 17757Solution: Count skipped lines instead of collecting the lines. Add "const". 17758 (Dominique Pelle, closes #1594) 17759Files: src/create_cmdidxs.pl, src/ex_docmd.c 17760 17761Patch 8.0.0515 17762Problem: ml_get errors in silent Ex mode. (Dominique Pelle) 17763Solution: Clear valid flags when setting the cursor. Set the topline when 17764 not in full screen mode. 17765Files: src/ex_docmd.c, src/move.c, src/testdir/test_startup.vim 17766 17767Patch 8.0.0516 17768Problem: A large count on a normal command causes trouble. (Dominique 17769 Pelle) 17770Solution: Make "opcount" long. 17771Files: src/globals.h, src/testdir/test_normal.vim 17772 17773Patch 8.0.0517 17774Problem: There is no way to remove quickfix lists (for testing). 17775Solution: Add the 'f' action to setqflist(). Add tests. (Yegappan 17776 Lakshmanan) 17777Files: runtime/doc/eval.txt, src/evalfunc.c, src/quickfix.c, 17778 src/testdir/test_quickfix.vim 17779 17780Patch 8.0.0518 17781Problem: Storing a zero byte from a multi-byte character causes fold text 17782 to show up wrong. 17783Solution: Avoid putting zero in ScreenLines. (Christian Brabandt, 17784 closes #1567) 17785Files: src/screen.c, src/testdir/test_display.vim 17786 17787Patch 8.0.0519 17788Problem: Character classes are not well tested. They can differ between 17789 platforms. 17790Solution: Add tests. In the documentation make clear which classes depend 17791 on what library function. Only use :cntrl: and :graph: for ASCII. 17792 (Kazunobu Kuriyama, Dominique Pelle, closes #1560) 17793 Update the documentation. 17794Files: src/regexp.c, src/regexp_nfa.c, runtime/doc/pattern.txt, 17795 src/testdir/test_regexp_utf8.vim 17796 17797Patch 8.0.0520 17798Problem: Using a function pointer instead of the actual function, which we 17799 know. 17800Solution: Change mb_ functions to utf_ functions when already checked for 17801 Unicode. (Dominique Pelle, closes #1582) 17802Files: src/message.c, src/misc2.c, src/regexp.c, src/regexp_nfa.c, 17803 src/screen.c, src/spell.c 17804 17805Patch 8.0.0521 17806Problem: GtkForm handling is outdated. 17807Solution: Get rid of event filter functions. Get rid of GtkForm.width and 17808 .height. Eliminate gtk_widget_size_request() calls. (Kazunobu 17809 Kuriyama) 17810Files: src/gui_gtk_f.c, src/gui_gtk_f.h 17811 17812Patch 8.0.0522 17813Problem: MS-Windows: when 'clipboard' is "unnamed" yyp does not work in a 17814 :global command. 17815Solution: When setting the clipboard was postponed, do not clear the 17816 register. 17817Files: src/ops.c, src/proto/ui.pro, src/ui.c, src/globals.h, 17818 src/testdir/test_global.vim, src/Makefile, 17819 src/testdir/test_alot.vim 17820 17821Patch 8.0.0523 17822Problem: dv} deletes part of a multi-byte character. (Urtica Dioica) 17823Solution: Include the whole character. 17824Files: src/search.c, src/testdir/test_normal.vim 17825 17826Patch 8.0.0524 (after 8.0.0518) 17827Problem: Folds are messed up when 'encoding' is "utf-8". 17828Solution: Also set the fold character when it's not multi-byte. 17829Files: src/screen.c, src/testdir/test_display.vim 17830 17831Patch 8.0.0525 17832Solution: Completion for user command argument not tested. 17833Problem: Add a test. 17834Files: src/testdir/test_cmdline.vim 17835 17836Patch 8.0.0526 17837Problem: Coverity complains about possible negative value. 17838Solution: Check return value of ftell() not to be negative. 17839Files: src/os_unix.c 17840 17841Patch 8.0.0527 17842Problem: RISC OS support was removed long ago, but one file is still 17843 included. 17844Solution: Delete the file. (Thomas Dziedzic, closes #1603) 17845Files: Filelist, src/swis.s 17846 17847Patch 8.0.0528 17848Problem: When 'wildmenu' is set and 'wildmode' has "longest" then the first 17849 file name is highlighted, even though the text shows the longest 17850 match. 17851Solution: Do not highlight the first match. (LemonBoy, closes #1602) 17852Files: src/ex_getln.c 17853 17854Patch 8.0.0529 17855Problem: Line in test commented out. 17856Solution: Uncomment the lines for character classes that were failing before 17857 8.0.0519. (Dominique Pelle, closes #1599) 17858Files: src/testdir/test_regexp_utf8.vim 17859 17860Patch 8.0.0530 17861Problem: Buffer overflow when 'columns' is very big. (Nikolai Pavlov) 17862Solution: Correctly compute where to truncate. Fix translation. 17863 (closes #1600) 17864Files: src/edit.c, src/testdir/test_edit.vim 17865 17866Patch 8.0.0531 (after 8.0.0530) 17867Problem: Test with long directory name fails on non-unix systems. 17868Solution: Skip the test on non-unix systems. 17869Files: src/testdir/test_edit.vim 17870 17871Patch 8.0.0532 (after 8.0.0531) 17872Problem: Test with long directory name fails on Mac. 17873Solution: Skip the test on Mac systems. 17874Files: src/testdir/test_edit.vim 17875 17876Patch 8.0.0533 17877Problem: Abbreviation doesn't work after backspacing newline. (Hkonrk) 17878Solution: Set the insert start column. (closes #1609) 17879Files: src/testdir/test_mapping.vim, src/edit.c 17880 17881Patch 8.0.0534 17882Problem: Defaults.vim does not work well with tiny features. (crd477) 17883Solution: When the +eval feature is not available always reset 'compatible'. 17884Files: runtime/defaults.vim 17885 17886Patch 8.0.0535 17887Problem: Memory leak when exiting from within a user function. 17888Solution: Clear the function call stack on exit. 17889Files: src/userfunc.c 17890 17891Patch 8.0.0536 17892Problem: Quickfix window not updated when freeing quickfix stack. 17893Solution: Update the quickfix window. (Yegappan Lakshmanan) 17894Files: src/quickfix.c, src/testdir/test_quickfix.vim 17895 17896Patch 8.0.0537 17897Problem: Illegal memory access with :z and large count. 17898Solution: Check for number overflow, using long instead of int. (Dominique 17899 Pelle, closes #1612) 17900Files: src/Makefile, src/ex_cmds.c, src/testdir/test_alot.vim, 17901 src/testdir/test_ex_z.vim 17902 17903Patch 8.0.0538 17904Problem: No test for falling back to default term value. 17905Solution: Add a test. 17906Files: src/testdir/test_startup.vim 17907 17908Patch 8.0.0539 (after 8.0.0538) 17909Problem: Startup test fails on Mac. 17910Solution: Use another term name, "unknown" is known. Avoid a 2 second delay. 17911Files: src/testdir/test_startup.vim, src/main.c, src/proto/main.pro, 17912 src/term.c 17913 17914Patch 8.0.0540 (after 8.0.0540) 17915Problem: Building unit tests fails. 17916Solution: Move params outside of #ifdef. 17917Files: src/main.c, src/message_test.c 17918 17919Patch 8.0.0541 17920Problem: Compiler warning on MS-Windows. 17921Solution: Add a type cast. (Mike Williams) 17922Files: src/edit.c 17923 17924Patch 8.0.0542 17925Problem: getpos() can return a negative line number. (haya14busa) 17926Solution: Handle a zero topline and botline. (closes #1613) 17927Files: src/eval.c, runtime/doc/eval.txt 17928 17929Patch 8.0.0543 17930Problem: Test_edit causes older xfce4-terminal to close. (Dominique Pelle) 17931Solution: Reduce number of columns to 2000. Try to restore the window 17932 position. 17933Files: src/testdir/test_edit.vim, src/evalfunc.c, src/term.c, 17934 src/proto/term.pro, src/term.h 17935 17936Patch 8.0.0544 17937Problem: Cppcheck warnings. 17938Solution: Use temp variable. Change NUL to NULL. Swap conditions. (Dominique 17939 Pelle) 17940Files: src/channel.c, src/edit.c, src/farsi.c 17941 17942Patch 8.0.0545 17943Problem: Edit test may fail on some systems. 17944Solution: If creating a directory with a very long path fails, bail out. 17945Files: src/testdir/test_edit.vim 17946 17947Patch 8.0.0546 17948Problem: Swap file exists briefly when opening the command window. 17949Solution: Set the noswapfile command modifier before splitting the window. 17950 (James McCoy, closes #1620) 17951Files: src/ex_getln.c, src/option.c 17952 17953Patch 8.0.0547 17954Problem: Extra line break in verbosefile when using ":echomsg". (Ingo 17955 Karkat) 17956Solution: Don't call msg_start(). (closes #1618) 17957Files: src/eval.c, src/testdir/test_cmdline.vim 17958 17959Patch 8.0.0548 17960Problem: Saving the redo buffer only works one time, resulting in the "." 17961 command not working well for a function call inside another 17962 function call. (Ingo Karkat) 17963Solution: Save the redo buffer at every user function call. (closes #1619) 17964Files: src/getchar.c, src/proto/getchar.pro, src/structs.h, 17965 src/fileio.c, src/userfunc.c, src/testdir/test_functions.vim 17966 17967Patch 8.0.0549 17968Problem: No test for the 8g8 command. 17969Solution: Add a test. (Dominique Pelle, closes #1615) 17970Files: src/testdir/test_normal.vim 17971 17972Patch 8.0.0550 17973Problem: Some etags format tags file use 0x01, breaking the parsing. 17974Solution: Use 0x02 for TAG_SEP. (James McCoy, closes #1614) 17975Files: src/tag.c, src/testdir/test_taglist.vim 17976 17977Patch 8.0.0551 17978Problem: The typeahead buffer is reallocated too often. 17979Solution: Re-use the existing buffer if possible. 17980Files: src/getchar.c 17981 17982Patch 8.0.0552 17983Problem: Toupper and tolower don't work properly for Turkish when 'casemap' 17984 is empty. (Bjorn Linse) 17985Solution: Check the 'casemap' options when deciding how to upper/lower case. 17986Files: src/charset.c, src/testdir/test_normal.vim 17987 17988Patch 8.0.0553 (after 8.0.0552) 17989Problem: Toupper/tolower test with Turkish locale fails on Mac. 17990Solution: Skip the test on Mac. 17991Files: src/testdir/test_normal.vim 17992 17993Patch 8.0.0554 (after 8.0.0552) 17994Problem: Toupper and tolower don't work properly for Turkish when 'casemap' 17995 contains "keepascii". (Bjorn Linse) 17996Solution: When 'casemap' contains "keepascii" use ASCII toupper/tolower. 17997Files: src/charset.c, src/testdir/test_normal.vim 17998 17999Patch 8.0.0555 (after 8.0.0552) 18000Problem: Toupper/tolower test fails on OSX without Darwin. 18001Solution: Skip that part of the test also for OSX. (Kazunobu Kuriyama) 18002Files: src/testdir/test_normal.vim 18003 18004Patch 8.0.0556 18005Problem: Getting the window position fails if both the GUI and term 18006 code is built in. 18007Solution: Return after getting the GUI window position. (Kazunobu Kuriyama) 18008Files: src/evalfunc.c 18009 18010Patch 8.0.0557 18011Problem: GTK: using static gravities is not useful. 18012Solution: Remove setting static gravities. (Kazunobu Kuriyama) 18013Files: src/gui_gtk_f.c 18014 18015Patch 8.0.0558 18016Problem: The :ownsyntax command is not tested. 18017Solution: Add a test. (Dominique Pelle, closes #1622) 18018Files: src/testdir/test_syntax.vim 18019 18020Patch 8.0.0559 18021Problem: Setting 'ttytype' to xxx does not always fail as expected. (Marvin 18022 Schmidt) 18023Solution: Catch both possible errors. (closes #1601) 18024Files: src/testdir/test_options.vim 18025 18026Patch 8.0.0560 18027Problem: :windo allows for ! but it's not supported. 18028Solution: Disallow passing !. (Hirohito Higashi) 18029Files: src/ex_cmds.h 18030 18031Patch 8.0.0561 18032Problem: Undefined behavior when using backslash after empty line. 18033Solution: Check for an empty line. (Dominique Pelle, closes #1631) 18034Files: src/misc2.c, src/testdir/test_vimscript.vim 18035 18036Patch 8.0.0562 18037Problem: Not enough test coverage for syntax commands. 18038Solution: Add a few more tests. (Dominique Pelle, closes #1624) 18039Files: src/testdir/test_cmdline.vim, src/testdir/test_syntax.vim 18040 18041Patch 8.0.0563 18042Problem: Crash when getting the window position in tmux. (Marvin Schmidt) 18043Solution: Add t_GP to the list of terminal options. (closes #1627) 18044Files: src/option.c 18045 18046Patch 8.0.0564 18047Problem: Cannot detect Bazel BUILD files on some systems. 18048Solution: Check for BUILD after script checks. (Issue #1340) 18049Files: runtime/filetype.vim 18050 18051Patch 8.0.0565 18052Problem: Using freed memory in :caddbuf after clearing quickfix list. 18053 (Dominique Pelle) 18054Solution: Set qf_last to NULL. 18055Files: src/quickfix.c 18056 18057Patch 8.0.0566 18058Problem: Setting 'nocompatible' for the tiny version moves the cursor. 18059Solution: Use another trick to skip commands when the +eval feature is 18060 present. (Christian Brabandt, closes #1630) 18061Files: runtime/defaults.vim 18062 18063Patch 8.0.0567 18064Problem: Call for requesting color and ambiwidth is too early. (Hirohito 18065 Higashi) 18066Solution: Move the call down to below resetting "starting". 18067Files: src/main.c 18068 18069Patch 8.0.0568 18070Problem: "1gd" may hang. 18071Solution: Don't get stuck in one position. (Christian Brabandt, closes #1643) 18072Files: src/testdir/test_goto.vim, src/normal.c 18073 18074Patch 8.0.0569 18075Problem: Bracketed paste is still enabled when executing a shell command. 18076 (Michael Smith) 18077Solution: Disable bracketed paste when going into cooked mode. (closes #1638) 18078Files: src/term.c 18079 18080Patch 8.0.0570 18081Problem: Can't run make with several jobs, creating directories has a race 18082 condition. 18083Solution: Use the MKDIR_P autoconf mechanism. (Eric N. Vander Weele, 18084 closes #1639) 18085Files: src/configure.ac, src/auto/configure, src/Makefile, 18086 src/config.mk.in, src/install-sh, src/mkinstalldirs, Filelist 18087 18088Patch 8.0.0571 18089Problem: The cursor line number becomes negative when using :z^ in an empty 18090 buffer. (neovim #6557) 18091Solution: Correct the line number. Also reset the column. 18092Files: src/testdir/test_ex_z.vim, src/ex_cmds.c 18093 18094Patch 8.0.0572 18095Problem: Building the command table requires Perl. 18096Solution: Use a Vim script solution. (Dominique Pelle, closes #1641) 18097Files: src/Makefile, src/create_cmdidxs.pl, src/create_cmdidxs.vim, 18098 src/ex_cmdidxs.h, src/ex_docmd.c, Filelist 18099 18100Patch 8.0.0573 18101Problem: Running parallel make after distclean fails. (Manuel Ortega) 18102Solution: Instead of using targets "scratch config myself" use "reconfig". 18103Files: src/Makefile, src/config.mk.dist 18104 18105Patch 8.0.0574 18106Problem: Get only one quickfix list after :caddbuf. 18107Solution: Reset qf_multiline. (Yegappan Lakshmanan) 18108Files: src/quickfix.c, src/testdir/test_quickfix.vim 18109 18110Patch 8.0.0575 18111Problem: Using freed memory when resetting 'indentexpr' while evaluating 18112 it. (Dominique Pelle) 18113Solution: Make a copy of 'indentexpr'. 18114Files: src/misc1.c, src/testdir/test_options.vim 18115 18116Patch 8.0.0576 (after 8.0.0570 and 8.0.0573) 18117Problem: Can't build when configure chooses "install-sh". (Daniel Hahler) 18118Solution: Always use install-sh. Fix remaining use of mkinstalldirs. 18119 (closes #1647) 18120Files: src/installman.sh, src/installml.sh, src/config.mk.in, 18121 src/configure.ac, src/auto/configure, src/Makefile 18122 18123Patch 8.0.0577 (after 8.0.0575) 18124Problem: Warning for uninitialized variable. (John Marriott) 18125Solution: Initialize "indent". 18126Files: src/misc1.c 18127 18128Patch 8.0.0578 18129Problem: :simalt on MS-Windows does not work properly. 18130Solution: Put something in the typeahead buffer. (Christian Brabandt) 18131Files: src/gui_w32.c 18132 18133Patch 8.0.0579 18134Problem: Duplicate test case for quickfix. 18135Solution: Remove the function. (Yegappan Lakshmanan) 18136Files: src/testdir/test_quickfix.vim 18137 18138Patch 8.0.0580 18139Problem: Cannot set the valid flag with setqflist(). 18140Solution: Add the "valid" argument. (Yegappan Lakshmanan, closes #1642) 18141Files: runtime/doc/eval.txt, src/quickfix.c, 18142 src/testdir/test_quickfix.vim 18143 18144Patch 8.0.0581 18145Problem: Moving folded text is sometimes not correct. 18146Solution: Bail out when "move_end" is zero. (Matthew Malcomson) 18147Files: src/fold.c, src/testdir/test_fold.vim 18148 18149Patch 8.0.0582 18150Problem: Illegal memory access with z= command. (Dominique Pelle) 18151Solution: Avoid case folded text to be longer than the original text. Use 18152 MB_PTR2LEN() instead of MB_BYTE2LEN(). 18153Files: src/spell.c, src/testdir/test_spell.vim 18154 18155Patch 8.0.0583 18156Problem: Fold test hangs on MS-Windows. 18157Solution: Avoid overflow in compare. 18158Files: src/fold.c 18159 18160Patch 8.0.0584 18161Problem: Memory leak when executing quickfix tests. 18162Solution: Free the list reference. (Yegappan Lakshmanan) 18163Files: src/quickfix.c 18164 18165Patch 8.0.0585 18166Problem: Test_options fails when run in the GUI. 18167Solution: Also check the 'imactivatekey' value when the GUI is not running. 18168 Specify test values that work and that fail. 18169Files: src/option.c, src/testdir/gen_opt_test.vim 18170 18171Patch 8.0.0586 18172Problem: No test for mapping timing out. 18173Solution: Add a test. 18174Files: src/testdir/test_mapping.vim 18175 18176Patch 8.0.0587 18177Problem: Configure check for return value of tgetent is skipped. 18178Solution: Always perform the check. (Marvin Schmidt, closes #1664) 18179Files: src/configure.ac, src/auto/configure 18180 18181Patch 8.0.0588 18182Problem: job_stop() often assumes the channel will be closed, while the job 18183 may not actually be stopped. (Martin Gammelsæter) 18184Solution: Only assume the job stops on "kill". Don't send a signal if the 18185 job has already ended. (closes #1632) 18186Files: src/channel.c 18187 18188Patch 8.0.0589 (after 8.0.0578) 18189Problem: :simalt still does not work. 18190Solution: Use K_NOP instead of K_IGNORE. (Christian Brabandt) 18191Files: src/gui_w32.c 18192 18193Patch 8.0.0590 18194Problem: Cannot add a context to locations. 18195Solution: Add the "context" entry in location entries. (Yegappan Lakshmanan, 18196 closes #1012) 18197Files: src/eval.c, src/proto/quickfix.pro, src/quickfix.c, 18198 src/testdir/test_quickfix.vim 18199 18200Patch 8.0.0591 18201Problem: Changes to eval functionality not documented. 18202Solution: Include all the changes. 18203Files: runtime/doc/eval.txt 18204 18205Patch 8.0.0592 18206Problem: If a job writes to a buffer and the user is typing a command, the 18207 screen isn't updated. When a message is displayed the changed 18208 buffer may cause it to be cleared. (Ramel Eshed) 18209Solution: Update the screen and then the command line if the screen didn't 18210 scroll. Avoid inserting screen lines, as it clears any message. 18211 Update the status line when the buffer changed. 18212Files: src/channel.c, src/screen.c, src/ex_getln.c, src/globals.h, 18213 src/vim.h, src/proto/ex_getln.pro, src/proto/screen.pro 18214 18215Patch 8.0.0593 18216Problem: Duplication of code for adding a list or dict return value. 18217Solution: Add rettv_dict_set() and rettv_list_set(). (Yegappan Lakshmanan) 18218Files: src/dict.c, src/eval.c, src/evalfunc.c, src/if_perl.xs, src/list.c, 18219 src/proto/dict.pro, src/proto/list.pro 18220 18221Patch 8.0.0594 (after 8.0.0592) 18222Problem: Build failure when windows feature is missing. 18223Solution: Add #ifdef. 18224Files: src/screen.c 18225 18226Patch 8.0.0595 (after 8.0.0590) 18227Problem: Coverity warning for not checking return value of dict_add(). 18228Solution: Check the return value for FAIL. 18229Files: src/quickfix.c 18230 18231Patch 8.0.0596 18232Problem: Crash when complete() is called after complete_add() in 18233 'completefunc'. (Lifepillar) 18234Solution: Bail out if compl_pattern is NULL. (closes #1668) 18235 Also avoid using freed memory. 18236Files: src/edit.c, src/testdir/test_popup.vim 18237 18238Patch 8.0.0597 18239Problem: Off-by-one error in buffer size computation. 18240Solution: Use ">=" instead of ">". (LemonBoy, closes #1694) 18241Files: src/quickfix.c 18242 18243Patch 8.0.0598 18244Problem: Building with gcc 7.1 yields new warnings. 18245Solution: Initialize result. (John Marriott) 18246Files: src/ex_docmd.c 18247 18248Patch 8.0.0599 18249Problem: diff mode is insufficiently tested 18250Solution: Add more test cases. (Dominique Pelle, closes #1685) 18251Files: src/diff.c, src/testdir/test_diffmode.vim 18252 18253Patch 8.0.0600 18254Problem: test_recover fails on some systems. 18255Solution: Explicitly check if "/" is writable. (Ken Takata) 18256Files: src/testdir/test_recover.vim 18257 18258Patch 8.0.0601 18259Problem: No test coverage for :spellrepall. 18260Solution: Add a test. (Dominique Pelle, closes #1717) 18261Files: src/testdir/test_spell.vim 18262 18263Patch 8.0.0602 18264Problem: When gF fails to edit the file the cursor still moves to the found 18265 line number. 18266Solution: Check the return value of do_ecmd(). (Michael Hwang) 18267Files: src/normal.c, src/testdir/test_gf.vim 18268 18269Patch 8.0.0603 (after 8.0.0602) 18270Problem: gF test fails on MS-Windows. 18271Solution: Use @ instead of : before the line number 18272Files: src/testdir/test_gf.vim 18273 18274Patch 8.0.0604 (after 8.0.0603) 18275Problem: gF test still fails on MS-Windows. 18276Solution: Use : before the line number and remove it from 'isfname'. 18277Files: src/testdir/test_gf.vim 18278 18279Patch 8.0.0605 18280Problem: The buffer that quickfix caches for performance may become 18281 invalid. (Daniel Hahler) 18282Solution: Reset qf_last_bufref in qf_init_ext(). (Daniel Hahler, 18283 closes #1728, closes #1676) 18284Files: src/quickfix.c 18285 18286Patch 8.0.0606 18287Problem: Cannot set the context for a specified quickfix list. 18288Solution: Use the list index instead of the current list. (Yegappan 18289 Lakshmanan) 18290Files: src/quickfix.c, src/testdir/test_quickfix.vim 18291 18292Patch 8.0.0607 18293Problem: When creating a bufref, then using :bwipe and :new it might get 18294 the same memory and bufref_valid() returns true. 18295Solution: Add br_fnum to check the buffer number didn't change. 18296Files: src/structs.h, src/buffer.c, src/globals.h, src/if_py_both.h, 18297 src/quickfix.c 18298 18299Patch 8.0.0608 18300Problem: Cannot manipulate other than the current quickfix list. 18301Solution: Pass the list index to quickfix functions. (Yegappan Lakshmanan) 18302Files: src/quickfix.c 18303 18304Patch 8.0.0609 18305Problem: For some people the hint about quitting is not sufficient. 18306Solution: Put <Enter> separately. Also use ":qa!" to get out even when 18307 there are changes. 18308Files: src/normal.c 18309 18310Patch 8.0.0610 18311Problem: The screen is redrawn when t_BG is set and used to detect the 18312 value for 'background'. 18313Solution: Don't redraw when the value of 'background' didn't change. 18314Files: src/term.c 18315 18316Patch 8.0.0611 18317Problem: When t_u7 is sent a few characters in the second screen line are 18318 overwritten and not redrawn later. (Rastislav Barlik) 18319Solution: Move redrawing the screen to after overwriting the characters. 18320Files: src/main.c, src/term.c 18321 18322Patch 8.0.0612 18323Problem: Package directories are added to 'runtimepath' only after loading 18324 non-package plugins. 18325Solution: Split off the code to add package directories to 'runtimepath'. 18326 (Ingo Karkat, closes #1680) 18327Files: src/ex_cmds2.c, src/globals.h, src/main.c, src/proto/ex_cmds2.pro, 18328 src/testdir/test_startup.vim 18329 18330Patch 8.0.0613 18331Problem: The conf filetype detection is done before ftdetect scripts from 18332 packages that are added later. 18333Solution: Add the FALLBACK argument to :setfiletype. (closes #1679, 18334 closes #1693) 18335Files: src/ex_docmd.c, runtime/filetype.vim, src/Makefile, 18336 src/testdir/test_filetype.vim, src/testdir/test_alot.vim 18337 18338Patch 8.0.0614 18339Problem: float2nr() is not exactly right. 18340Solution: Make float2nr() more accurate. Turn test65 into a new style test. 18341 (Hirohito Higashi, closes #1688) 18342Files: src/Makefile, src/evalfunc.c, src/testdir/Make_all.mak, 18343 src/testdir/Make_vms.mms, src/testdir/test65.in, 18344 src/testdir/test65.ok, src/testdir/test_float_func.vim, 18345 src/testdir/test_vimscript.vim, src/macros.h 18346 18347Patch 8.0.0615 18348Problem: Using % with :hardcopy wrongly escapes spaces. (Alexey Muranov) 18349Solution: Expand % differently. (Christian Brabandt, closes #1682) 18350Files: src/ex_docmd.c, src/testdir/test_hardcopy.vim 18351 18352 18353Patch 8.0.0616 18354Problem: When setting the cterm background with ":hi Normal" the value of 18355 'background' may be set wrongly. 18356Solution: Check that the color is less than 16. Don't set 'background' when 18357 it was set explicitly. (LemonBoy, closes #1710) 18358Files: src/syntax.c, src/testdir/test_syntax.vim 18359 18360Patch 8.0.0617 (after 8.0.0615) 18361Problem: Hardcopy test hangs on MS-Windows. 18362Solution: Check the postscript feature is supported. 18363Files: src/testdir/test_hardcopy.vim 18364 18365Patch 8.0.0618 18366Problem: NFA regex engine handles [0-z] incorrectly. 18367Solution: Return at the right point. (James McCoy, closes #1703) 18368Files: src/regexp_nfa.c, src/testdir/test36.in, src/testdir/test36.ok 18369 18370Patch 8.0.0619 18371Problem: In the GUI, when a timer uses feedkeys(), it still waits for an 18372 event. (Raymond Ko) 18373Solution: Check tb_change_cnt in one more place. 18374Files: src/gui.c 18375 18376Patch 8.0.0620 18377Problem: Since we only support GTK versions that have it, the check for 18378 HAVE_GTK_MULTIHEAD is no longer needed. 18379Solution: Remove HAVE_GTK_MULTIHEAD. (Kazunobu Kuriyama) 18380Files: src/config.h.in, src/configure.ac, src/auto/configure, 18381 src/gui_beval.c, src/gui_gtk_x11.c, src/mbyte.c 18382 18383Patch 8.0.0621 18384Problem: The ":stag" command does not respect 'switchbuf'. 18385Solution: Check 'switchbuf' for tag commands that may open a new window. 18386 (Ingo Karkat, closes #1681) Define macros for the return values 18387 of getfile(). 18388Files: src/tag.c, src/testdir/test_tagjump.vim, src/vim.h, src/buffer.c, 18389 src/ex_cmds.c, src/search.c, 18390 18391Patch 8.0.0622 18392Problem: Using a text object to select quoted text fails when 'selection' 18393 is set to "exclusive". (Guraga) 18394Solution: Swap cursor and visual start position. (Christian Brabandt, 18395 closes #1687) 18396Files: src/search.c, src/testdir/test_textobjects.vim 18397 18398Patch 8.0.0623 18399Problem: The message "Invalid range" is used for multiple errors. 18400Solution: Add two more specific error messages. (Itchyny, Ken Hamada) 18401Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test_regexp_utf8.vim 18402 18403Patch 8.0.0624 (after 8.0.0623) 18404Problem: Warning for unused variable in tiny build. (Tony Mechelynck) 18405Solution: Add an #ifdef. 18406Files: src/regexp.c 18407 18408Patch 8.0.0625 18409Problem: shellescape() always escapes a newline, which does not work with 18410 some shells. (Harm te Hennepe) 18411Solution: Only escape a newline when the "special" argument is non-zero. 18412 (Christian Brabandt, closes #1590) 18413Files: src/evalfunc.c, src/testdir/test_functions.vim 18414 18415Patch 8.0.0626 18416Problem: In the GUI the cursor may flicker. 18417Solution: Check the cmd_silent flag before updating the cursor shape. 18418 (Hirohito Higashi, closes #1637) 18419Files: src/getchar.c 18420 18421Patch 8.0.0627 18422Problem: When 'wrapscan' is off "gn" does not select the whole pattern when 18423 it's the last one in the text. (KeyboardFire) 18424Solution: Check if the search fails. (Christian Brabandt, closes #1683) 18425Files: src/search.c, src/testdir/test_gn.vim 18426 18427Patch 8.0.0628 (after 8.0.0626 18428Problem: Cursor disappears after silent mapping. (Ramel Eshed) 18429Solution: Do restore the cursor when it was changed, but don't change it in 18430 the first place for a silent mapping. 18431Files: src/getchar.c 18432 18433 18434Patch 8.0.0629 (after 8.0.0611) 18435Problem: Checking for ambiguous width is not working. (Hirohito Higashi) 18436Solution: Reset "starting" earlier. 18437Files: src/main.c 18438 18439Patch 8.0.0630 18440Problem: The :global command does not work recursively, which makes it 18441 difficult to execute a command on a line where one pattern matches 18442 and another does not match. (Miles Cranmer) 18443Solution: Allow for recursion if it is for only one line. (closes #1760) 18444Files: src/ex_cmds.c, src/testdir/test_global.vim, runtime/doc/repeat.txt 18445 18446Patch 8.0.0631 18447Problem: Perl 5.26 also needs S_TOPMARK and S_POPMARK defined. 18448Solution: Define the functions when needed. (Jesin, closes #1748) 18449Files: src/if_perl.xs 18450 18451Patch 8.0.0632 18452Problem: The quotestar test is still a bit flaky. 18453Solution: Kill any existing server to make the retry work. Wait for the 18454 register to be filled. 18455Files: src/testdir/test_quotestar.vim 18456 18457Patch 8.0.0633 18458Problem: The client-server test is still a bit flaky. 18459Solution: Wait a bit for the GUI to start. Check that the version number 18460 can be obtained. 18461Files: src/testdir/test_clientserver.vim 18462 18463Patch 8.0.0634 18464Problem: Cannot easily get to the last quickfix list. 18465Solution: Add "$" as a value for the "nr" argument of getqflist() and 18466 setqflist(). (Yegappan Lakshmanan) 18467Files: runtime/doc/eval.txt, src/quickfix.c, 18468 src/testdir/test_quickfix.vim 18469 18470Patch 8.0.0635 18471Problem: When 'ignorecase' is set script detection is inaccurate. 18472Solution: Enforce matching case for text. (closes #1753) 18473Files: runtime/scripts.vim 18474 18475Patch 8.0.0636 18476Problem: When reading the undo file fails may use uninitialized data. 18477Solution: Always clear the buffer on failure. 18478Files: src/undo.c 18479 18480Patch 8.0.0637 18481Problem: Crash when using some version of GTK 3. 18482Solution: Add #ifdefs around incrementing the menu index. (Kazunobu 18483 Kuriyama) 18484Files: src/gui_gtk.c 18485 18486Patch 8.0.0638 18487Problem: Cannot build with new MSVC version VS2017. 18488Solution: Change the compiler arguments. (Leonardo Valeri Manera, 18489 closes #1731, closes #1747) 18490Files: src/GvimExt/Makefile, src/Make_mvc.mak 18491 18492Patch 8.0.0639 18493Problem: The cursor position is set to the last position in a new commit 18494 message. 18495Solution: Don't set the position if the filetype matches "commit". 18496 (Christian Brabandt) 18497Files: runtime/defaults.vim 18498 18499Patch 8.0.0640 18500Problem: Mismatch between help and actual message for ":syn conceal". 18501Solution: Change the message to match the help. (Ken Takata) 18502Files: src/syntax.c 18503 18504Patch 8.0.0641 18505Problem: Cannot set a separate highlighting for the current line in the 18506 quickfix window. 18507Solution: Add QuickFixLine. (anishsane, closes #1755) 18508Files: src/option.c, src/quickfix.c, src/screen.c, src/syntax.c, 18509 src/vim.h, runtime/doc/options.txt, runtime/doc/quickfix.txt 18510 18511Patch 8.0.0642 18512Problem: writefile() continues after detecting an error. 18513Solution: Bail out as soon as an error is detected. (suggestions by Nikolai 18514 Pavlov, closes #1476) 18515Files: src/evalfunc.c, src/testdir/test_writefile.vim 18516 18517Patch 8.0.0643 18518Problem: When 'hlsearch' is set and matching with the last search pattern 18519 is very slow, Vim becomes unusable. Cannot quit search by 18520 pressing CTRL-C. 18521Solution: When the search times out set a flag and don't try again. Check 18522 for timeout and CTRL-C in NFA loop that adds states. 18523Files: src/screen.c, src/ex_cmds.c, src/quickfix.c, src/regexp.c, 18524 src/proto/regexp.pro, src/regexp.h, src/search.c, 18525 src/proto/search.pro, src/syntax.c, src/regexp_nfa.c, src/spell.c, 18526 src/tag.c, src/gui.c, src/edit.c, src/evalfunc.c, src/ex_docmd.c, 18527 src/ex_getln.c, src/normal.c 18528 18529Patch 8.0.0644 18530Problem: There is no test for 'hlsearch' timing out. 18531Solution: Add a test. 18532Files: src/testdir/test_hlsearch.vim 18533 18534Patch 8.0.0645 18535Problem: The new regexp engine does not give an error for using a back 18536 reference where it is not allowed. (Dominique Pelle) 18537Solution: Check the back reference like the old engine. (closes #1774) 18538Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test_hlsearch.vim, 18539 src/testdir/test_statusline.vim, 18540 src/testdir/test_regexp_latin1.vim 18541 18542Patch 8.0.0646 18543Problem: The hlsearch test fails on fast systems. 18544Solution: Make the search pattern slower. Fix that the old regexp engine 18545 doesn't timeout properly. 18546Files: src/regexp.c, src/testdir/test_hlsearch.vim 18547 18548Patch 8.0.0647 18549Problem: Syntax highlighting can cause a freeze. 18550Solution: Apply 'redrawtime' to syntax highlighting, per window. 18551Files: src/structs.h, src/screen.c, src/syntax.c, src/normal.c, 18552 src/regexp.c, src/proto/syntax.pro, src/testdir/test_syntax.vim, 18553 runtime/doc/options.txt 18554 18555Patch 8.0.0648 18556Problem: Possible use of NULL pointer if buflist_new() returns NULL. 18557 (Coverity) 18558Solution: Check for NULL pointer in set_bufref(). 18559Files: src/buffer.c 18560 18561Patch 8.0.0649 18562Problem: When opening a help file the filetype is set several times. 18563Solution: When setting the filetype to the same value from a modeline, don't 18564 trigger FileType autocommands. Don't set the filetype to "help" 18565 when it's already set correctly. 18566Files: src/ex_cmds.c, src/option.c, runtime/filetype.vim 18567 18568Patch 8.0.0650 18569Problem: For extra help files the filetype is set more than once. 18570Solution: In *.txt files check that there is no help file modline. 18571Files: runtime/filetype.vim 18572 18573Patch 8.0.0651 (after 8.0.0649) 18574Problem: Build failure without the auto command feature. 18575Solution: Add #ifdef. (closes #1782) 18576Files: src/ex_cmds.c 18577 18578Patch 8.0.0652 18579Problem: Unicode information is outdated. 18580Solution: Update to Unicode 10. (Christian Brabandt) 18581Files: runtime/tools/unicode.vim, src/mbyte.c 18582 18583Patch 8.0.0653 18584Problem: The default highlight for QuickFixLine does not work for several 18585 color schemes. (Manas Thakur) 18586Solution: Make the default use the old color. (closes #1780) 18587Files: src/syntax.c 18588 18589Patch 8.0.0654 18590Problem: Text found after :endfunction is silently ignored. 18591Solution: Give a warning if 'verbose' is set. When | or \n are used, 18592 execute the text as a command. 18593Files: src/testdir/test_vimscript.vim, src/userfunc.c, 18594 runtime/doc/eval.txt 18595 18596Patch 8.0.0655 18597Problem: Not easy to make sure a function does not exist. 18598Solution: Add ! as an optional argument to :delfunc. 18599Files: src/userfunc.c, src/ex_cmds.h, src/testdir/test_vimscript.vim 18600 18601Patch 8.0.0656 18602Problem: Cannot use ! after some user commands. 18603Solution: Properly check for existing command. (Hirohito Higashi) 18604Files: src/ex_docmd.c, src/testdir/test_vimscript.vim 18605 18606Patch 8.0.0657 18607Problem: Cannot get and set quickfix list items. 18608Solution: Add the "items" argument to getqflist() and setqflist(). (Yegappan 18609 Lakshmanan) 18610Files: runtime/doc/eval.txt, src/quickfix.c, 18611 src/testdir/test_quickfix.vim 18612 18613Patch 8.0.0658 18614Problem: Spell test is old style. 18615Solution: Turn the spell test into a new style test (pschuh, closes #1778) 18616Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms, 18617 src/testdir/test58.in, src/testdir/test58.ok, 18618 src/testdir/test_spell.vim 18619 18620Patch 8.0.0659 18621Problem: No test for conceal mode. 18622Solution: Add a conceal mode test. (Dominique Pelle, closes #1783) 18623Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_syntax.vim 18624 18625Patch 8.0.0660 18626Problem: Silent install on MS-Windows does show a dialog. 18627Solution: Add /SD to the default choice. (allburov, closes #1772) 18628Files: nsis/gvim.nsi 18629 18630Patch 8.0.0661 18631Problem: Recognizing urxvt mouse codes does not work well. 18632Solution: Recognize "Esc[*M" and "Esc[*m". (Maurice Bos, closes #1486) 18633Files: src/keymap.h, src/misc2.c, src/os_unix.c, src/term.c 18634 18635Patch 8.0.0662 (after 8.0.0659) 18636Problem: Stray FIXME for fixed problem. 18637Solution: Remove the comment. (Dominique Pelle) 18638Files: src/testdir/test_syntax.vim 18639 18640Patch 8.0.0663 18641Problem: Giving an error message only when 'verbose' set is unexpected. 18642Solution: Give a warning message instead. 18643Files: src/message.c, src/proto/message.pro, src/userfunc.c, 18644 src/testdir/test_vimscript.vim, runtime/doc/eval.txt 18645 18646Patch 8.0.0664 (after 8.0.0661) 18647Problem: Mouse does not work in tmux. (lilydjwg) 18648Solution: Add flag for SGR release being present. 18649Files: src/term.c 18650 18651Patch 8.0.0665 (after 8.0.0661) 18652Problem: Warning for uninitialized variable. (Tony Mechelynck) 18653Solution: Initialize it. 18654Files: src/term.c 18655 18656Patch 8.0.0666 18657Problem: Dead for loop. (Coverity) 18658Solution: Remove the for loop. 18659Files: src/term.c 18660 18661Patch 8.0.0667 18662Problem: Memory access error when command follows :endfunction. (Nikolai 18663 Pavlov) 18664Solution: Make memory handling in :function straightforward. (closes #1793) 18665Files: src/userfunc.c, src/testdir/test_vimscript.vim 18666 18667Patch 8.0.0668 (after 8.0.0660) 18668Problem: Nsis installer script does not work. (Christian Brabandt) 18669Solution: Fix the syntax of /SD. 18670Files: nsis/gvim.nsi 18671 18672Patch 8.0.0669 18673Problem: In Insert mode, CTRL-N at start of the buffer does not work 18674 correctly. (zuloloxi) 18675Solution: Wrap around the start of the buffer. (Christian Brabandt) 18676Files: src/edit.c, src/testdir/test_popup.vim 18677 18678Patch 8.0.0670 18679Problem: Can't use input() in a timer callback. (Cosmin Popescu) 18680Solution: Reset vgetc_busy and set timer_busy. (Ozaki Kiichi, closes #1790, 18681 closes #1129) 18682Files: src/evalfunc.c, src/ex_cmds2.c, src/globals.h, 18683 src/testdir/test_timers.vim 18684 18685Patch 8.0.0671 18686Problem: When a function invoked from a timer calls confirm() and the user 18687 types CTRL-C then Vim hangs. 18688Solution: Reset typebuf_was_filled. (Ozaki Kiichi, closes #1791) 18689Files: src/getchar.c 18690 18691Patch 8.0.0672 18692Problem: Third item of synconcealed() changes too often. (Dominique Pelle) 18693Solution: Reset the sequence number at the start of each line. 18694Files: src/syntax.c, src/testdir/test_syntax.vim, runtime/doc/eval.txt 18695 18696Patch 8.0.0673 (after 8.0.0673) 18697Problem: Build failure without conceal feature. 18698Solution: Add #ifdef. 18699Files: src/syntax.c 18700 18701Patch 8.0.0674 (after 8.0.0670) 18702Problem: Cannot build with eval but without timers. 18703Solution: Add #ifdef (John Marriott) 18704Files: src/evalfunc.c 18705 18706Patch 8.0.0675 18707Problem: 'colorcolumn' has a higher priority than 'hlsearch', it should be 18708 the other way around. (Nazri Ramliy) 18709Solution: Change the priorities. (LemonBoy, closes #1794) 18710Files: src/screen.c, src/testdir/test_listlbr_utf8.vim 18711 18712Patch 8.0.0676 18713Problem: Crash when closing the quickfix window in a FileType autocommand 18714 that triggers when the quickfix window is opened. 18715Solution: Save the new value before triggering the OptionSet autocommand. 18716 Add the "starting" flag to test_override() to make the text work. 18717Files: src/evalfunc.c, src/option.c, runtime/doc/eval.txt 18718 18719Patch 8.0.0677 18720Problem: Setting 'filetype' internally may cause the current buffer and 18721 window to change unexpectedly. 18722Solution: Set curbuf_lock. (closes #1734) 18723Files: src/quickfix.c, src/ex_cmds.c, src/ex_getln.c, 18724 src/testdir/test_quickfix.vim 18725 18726Patch 8.0.0678 18727Problem: When 'equalalways' is set and closing a window in a separate 18728 frame, not all window sizes are adjusted. (Glacambre) 18729Solution: Resize all windows if the new current window is not in the same 18730 frame as the closed window. (closes #1707) 18731Files: src/window.c, src/testdir/test_window_cmd.vim 18732 18733Patch 8.0.0679 (after 8.0.0678) 18734Problem: Using freed memory. 18735Solution: Get the parent frame pointer earlier. 18736Files: src/window.c 18737 18738Patch 8.0.0680 (after 8.0.0612) 18739Problem: Plugins in start packages are sourced twice. (mseplowitz) 18740Solution: Use the unmodified runtime path when loading plugins (test by Ingo 18741 Karkat, closes #1801) 18742Files: src/testdir/test_startup.vim, src/main.c, src/ex_cmds2.c, 18743 src/proto/ex_cmds2.pro 18744 18745Patch 8.0.0681 18746Problem: Unnamed register only contains the last deleted text when 18747 appending deleted text to a register. (Wolfgang Jeltsch) 18748Solution: Only set y_previous when not using y_append. (Christian Brabandt) 18749Files: src/ops.c, src/testdir/test_put.vim 18750 18751Patch 8.0.0682 18752Problem: No test for synIDtrans(). 18753Solution: Add a test. (Dominique Pelle, closes #1796) 18754Files: src/testdir/test_syntax.vim 18755 18756Patch 8.0.0683 18757Problem: When using a visual bell there is no delay, causing the flash to 18758 be very short, possibly unnoticeable. Also, the flash and the 18759 beep can lockup the UI when repeated often. 18760Solution: Do the delay in Vim or flush the output before the delay. Limit the 18761 bell to once per half a second. (Ozaki Kiichi, closes #1789) 18762Files: src/misc1.c, src/proto/term.pro, src/term.c 18763 18764Patch 8.0.0684 18765Problem: Old style tests are not nice. 18766Solution: Turn two tests into new style. (pschuh, closes #1797) 18767Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms, 18768 src/testdir/test82.in, src/testdir/test82.ok, 18769 src/testdir/test90.in, src/testdir/test90.ok, 18770 src/testdir/test_sha256.vim, src/testdir/test_utf8_comparisons.vim 18771 18772Patch 8.0.0685 18773Problem: When making backups is disabled and conversion with iconv fails 18774 the written file is truncated. (Luo Chen) 18775Solution: First try converting the file and write the file only when it did 18776 not fail. (partly by Christian Brabandt) 18777Files: src/fileio.c, src/testdir/test_writefile.vim 18778 18779Patch 8.0.0686 18780Problem: When typing CTRL-L in a window that's not the first one, another 18781 redraw will happen later. (Christian Brabandt) 18782Solution: Reset must_redraw after calling screenclear(). 18783Files: src/screen.c 18784 18785Patch 8.0.0687 18786Problem: Minor issues related to quickfix. 18787Solution: Set the proper return status for all cases in setqflist() and at 18788 test cases for this. Move the "adding" flag outside of 18789 FEAT_WINDOWS. Minor update to the setqflist() help text. (Yegappan 18790 Lakshmanan) 18791Files: runtime/doc/eval.txt, src/quickfix.c, 18792 src/testdir/test_quickfix.vim 18793 18794Patch 8.0.0688 18795Problem: Cannot resize the window in a FileType autocommand. (Ingo Karkat) 18796Solution: Add the CMDWIN flag to :resize. (test by Ingo Karkat, 18797 closes #1804) 18798Files: src/ex_cmds.h, src/testdir/test_quickfix.vim 18799 18800Patch 8.0.0689 18801Problem: The ~ character is not escaped when adding to the search pattern 18802 with CTRL-L. (Ramel Eshed) 18803Solution: Escape the character. (Christian Brabandt) 18804Files: src/ex_getln.c, src/testdir/test_search.vim 18805 18806Patch 8.0.0690 18807Problem: Compiler warning on non-Unix system. 18808Solution: Add #ifdef. (John Marriott) 18809Files: src/term.c 18810 18811Patch 8.0.0691 18812Problem: Compiler warning without the linebreak feature. 18813Solution: Add #ifdef. (John Marriott) 18814Files: src/edit.c 18815 18816Patch 8.0.0692 18817Problem: Using CTRL-G with 'incsearch' and ? goes in the wrong direction. 18818 (Ramel Eshed) 18819Solution: Adjust search_start. (Christian Brabandt) 18820Files: src/ex_getln.c, src/testdir/test_search.vim 18821 18822Patch 8.0.0693 18823Problem: No terminal emulator support. Cannot properly run commands in the 18824 GUI. Cannot run a job interactively with an ssh connection. 18825Solution: Very early implementation of the :terminal command. Includes 18826 libvterm converted to ANSI C. Many parts still missing. 18827Files: src/feature.h, src/Makefile, src/configure.ac, src/auto/configure, 18828 src/config.mk.in, src/config.h.in, src/terminal.c, src/structs.h, 18829 src/ex_cmdidxs.h, src/ex_docmd.c, src/option.c, src/option.h, 18830 src/evalfunc.c, src/proto/terminal.pro, src/proto.h, 18831 runtime/doc/terminal.txt, runtime/doc/Makefile, Filelist, 18832 src/libvterm/.bzrignore, src/libvterm/.gitignore, 18833 src/libvterm/LICENSE, src/libvterm/README, src/libvterm/Makefile, 18834 src/libvterm/tbl2inc_c.pl, src/libvterm/vterm.pc.in, 18835 src/libvterm/bin/unterm.c, src/libvterm/bin/vterm-ctrl.c, 18836 src/libvterm/bin/vterm-dump.c, src/libvterm/doc/URLs, 18837 src/libvterm/doc/seqs.txt, src/libvterm/include/vterm.h, 18838 src/libvterm/include/vterm_keycodes.h, 18839 src/libvterm/src/encoding.c, 18840 src/libvterm/src/encoding/DECdrawing.inc, 18841 src/libvterm/src/encoding/DECdrawing.tbl, 18842 src/libvterm/src/encoding/uk.inc, 18843 src/libvterm/src/encoding/uk.tbl, src/libvterm/src/keyboard.c, 18844 src/libvterm/src/mouse.c, src/libvterm/src/parser.c, 18845 src/libvterm/src/pen.c, src/libvterm/src/rect.h, 18846 src/libvterm/src/screen.c, src/libvterm/src/state.c, 18847 src/libvterm/src/unicode.c, src/libvterm/src/utf8.h, 18848 src/libvterm/src/vterm.c, src/libvterm/src/vterm_internal.h, 18849 src/libvterm/t/02parser.test, src/libvterm/t/03encoding_utf8.test, 18850 src/libvterm/t/10state_putglyph.test, 18851 src/libvterm/t/11state_movecursor.test, 18852 src/libvterm/t/12state_scroll.test, 18853 src/libvterm/t/13state_edit.test, 18854 src/libvterm/t/14state_encoding.test, 18855 src/libvterm/t/15state_mode.test, 18856 src/libvterm/t/16state_resize.test, 18857 src/libvterm/t/17state_mouse.test, 18858 src/libvterm/t/18state_termprops.test, 18859 src/libvterm/t/20state_wrapping.test, 18860 src/libvterm/t/21state_tabstops.test, 18861 src/libvterm/t/22state_save.test, 18862 src/libvterm/t/25state_input.test, 18863 src/libvterm/t/26state_query.test, 18864 src/libvterm/t/27state_reset.test, 18865 src/libvterm/t/28state_dbl_wh.test, 18866 src/libvterm/t/29state_fallback.test, src/libvterm/t/30pen.test, 18867 src/libvterm/t/40screen_ascii.test, 18868 src/libvterm/t/41screen_unicode.test, 18869 src/libvterm/t/42screen_damage.test, 18870 src/libvterm/t/43screen_resize.test, 18871 src/libvterm/t/44screen_pen.test, 18872 src/libvterm/t/45screen_protect.test, 18873 src/libvterm/t/46screen_extent.test, 18874 src/libvterm/t/47screen_dbl_wh.test, 18875 src/libvterm/t/48screen_termprops.test, 18876 src/libvterm/t/90vttest_01-movement-1.test, 18877 src/libvterm/t/90vttest_01-movement-2.test, 18878 src/libvterm/t/90vttest_01-movement-3.test, 18879 src/libvterm/t/90vttest_01-movement-4.test, 18880 src/libvterm/t/90vttest_02-screen-1.test, 18881 src/libvterm/t/90vttest_02-screen-2.test, 18882 src/libvterm/t/90vttest_02-screen-3.test, 18883 src/libvterm/t/90vttest_02-screen-4.test, 18884 src/libvterm/t/92lp1640917.test, src/libvterm/t/harness.c, 18885 src/libvterm/t/run-test.pl 18886 18887Patch 8.0.0694 18888Problem: Building in shadow directory does not work. Running Vim fails. 18889Solution: Add the new libvterm directory. Add missing change in command 18890 list. 18891Files: src/Makefile, src/ex_cmds.h 18892 18893Patch 8.0.0695 18894Problem: Missing dependencies breaks parallel make. 18895Solution: Add dependencies for terminal.o. 18896Files: src/Makefile 18897 18898Patch 8.0.0696 18899Problem: The .inc files are missing in git. (Nazri Ramliy) 18900Solution: Remove the .inc line from .gitignore. 18901Files: src/libvterm/.gitignore 18902 18903Patch 8.0.0697 18904Problem: Recorded key sequences may become invalid. 18905Solution: Add back KE_SNIFF removed in 7.4.1433. Use fixed numbers for the 18906 key_extra enum. 18907Files: src/keymap.h 18908 18909Patch 8.0.0698 18910Problem: When a timer uses ":pyeval" or another Python command and it 18911 happens to be triggered while exiting a Crash may happen. 18912 (Ricky Zhou) 18913Solution: Avoid running a Python command after python_end() was called. 18914 Do not trigger timers while exiting. (closes #1824) 18915Files: src/if_python.c, src/if_python3.c, src/ex_cmds2.c 18916 18917Patch 8.0.0699 18918Problem: Checksum tests are not actually run. 18919Solution: Add the tests to the list. (Dominique Pelle, closes #1819) 18920Files: src/testdir/test_alot.vim, src/testdir/test_alot_utf8.vim 18921 18922Patch 8.0.0700 18923Problem: Segfault with QuitPre autocommand closes the window. (Marek) 18924Solution: Check that the window pointer is still valid. (Christian Brabandt, 18925 closes #1817) 18926Files: src/testdir/test_tabpage.vim, src/ex_docmd.c 18927 18928Patch 8.0.0701 18929Problem: System test failing when using X11 forwarding. 18930Solution: Set $XAUTHORITY before changing $HOME. (closes #1812) 18931 Also use a better check for the exit value. 18932Files: src/testdir/setup.vim, src/testdir/test_system.vim 18933 18934Patch 8.0.0702 18935Problem: An error in a timer can make Vim unusable. 18936Solution: Don't set the error flag or exception from a timer. Stop a timer 18937 if it causes an error 3 out of 3 times. Discard an exception 18938 caused inside a timer. 18939Files: src/ex_cmds2.c, src/structs.h, src/testdir/test_timers.vim, 18940 runtime/doc/eval.txt 18941 18942Patch 8.0.0703 18943Problem: Illegal memory access with empty :doau command. 18944Solution: Check the event for being out of range. (James McCoy) 18945Files: src/testdir/test_autocmd.vim, src/fileio.c 18946 18947Patch 8.0.0704 18948Problem: Problems with autocommands when opening help. 18949Solution: Avoid using invalid "varp" value. Allow using :wincmd if buffer 18950 is locked. (closes #1806, closes #1804) 18951Files: src/option.c, src/ex_cmds.h 18952 18953Patch 8.0.0705 (after 8.0.0702) 18954Problem: Crash when there is an error in a timer callback. (Aron Griffis, 18955 Ozaki Kiichi) 18956Solution: Check did_throw before discarding an exception. NULLify 18957 current_exception when no longer valid. 18958Files: src/ex_eval.c, src/ex_cmds2.c 18959 18960Patch 8.0.0706 18961Problem: Crash when cancelling the cmdline window in Ex mode. (James McCoy) 18962Solution: Do not set cmdbuff to NULL, make it empty. 18963Files: src/ex_getln.c 18964 18965Patch 8.0.0707 18966Problem: Freeing wrong memory when manipulating buffers in autocommands. 18967 (James McCoy) 18968Solution: Also set the w_s pointer if w_buffer was NULL. 18969Files: src/ex_cmds.c 18970 18971Patch 8.0.0708 18972Problem: Some tests are old style. 18973Solution: Change a few tests from old style to new style. (pschuh, 18974 closes #1813) 18975Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_ming.mak, 18976 src/testdir/Make_vms.mms, src/testdir/main.aap, 18977 src/testdir/test23.in, src/testdir/test23.ok, 18978 src/testdir/test24.in, src/testdir/test24.ok, 18979 src/testdir/test26.in, src/testdir/test26.ok, 18980 src/testdir/test67.in, src/testdir/test67.ok, 18981 src/testdir/test75.in, src/testdir/test75.ok, 18982 src/testdir/test97.in, src/testdir/test97.ok, 18983 src/testdir/test_comparators.in, src/testdir/test_comparators.ok, 18984 src/testdir/test_comparators.vim, 18985 src/testdir/test_escaped_glob.vim, 18986 src/testdir/test_exec_while_if.vim, 18987 src/testdir/test_exists_autocmd.vim, src/testdir/test_getcwd.in, 18988 src/testdir/test_getcwd.ok, src/testdir/test_getcwd.vim, 18989 src/testdir/test_maparg.vim, src/testdir/test_plus_arg_edit.vim, 18990 src/testdir/test_regex_char_classes.vim 18991 18992Patch 8.0.0709 18993Problem: Libvterm cannot use vsnprintf(), it does not exist in C90. 18994Solution: Use vim_vsnprintf() instead. 18995Files: src/message.c, src/Makefile, src/proto.h, src/evalfunc.c, 18996 src/netbeans.c, src/libvterm/src/vterm.c 18997 18998Patch 8.0.0710 18999Problem: A job that writes to a buffer clears command line completion. 19000 (Ramel Eshed) 19001Solution: Do not redraw while showing the completion menu. 19002Files: src/screen.c 19003 19004Patch 8.0.0711 (after 8.0.0710) 19005Problem: Cannot build without the wildmenu feature. 19006Solution: Add #ifdef 19007Files: src/screen.c 19008 19009Patch 8.0.0712 19010Problem: The terminal implementation is incomplete. 19011Solution: Add the 'termkey' option. 19012Files: src/option.c, src/option.h, src/structs.h 19013 19014Patch 8.0.0713 (after 8.0.0712) 19015Problem: 'termkey' option not fully implemented. 19016Solution: Add initialisation. 19017Files: src/option.c 19018 19019Patch 8.0.0714 19020Problem: When a timer causes a command line redraw the " that is displayed 19021 for CTRL-R goes missing. 19022Solution: Remember an extra character to display. 19023Files: src/ex_getln.c 19024 19025Patch 8.0.0715 19026Problem: Writing to the wrong buffer if the buffer that a channel writes to 19027 was closed. 19028Solution: Do not write to a buffer that was unloaded. 19029Files: src/channel.c, src/testdir/test_channel.vim, 19030 src/testdir/test_channel_write.py 19031 19032Patch 8.0.0716 19033Problem: Not easy to start Vim cleanly without changing the viminfo file. 19034 Not possible to know whether the -i command line flag was used. 19035Solution: Add the --clean command line argument. Add the 'viminfofile' 19036 option. Add "-u DEFAULTS". 19037Files: src/main.c, runtime/doc/starting.txt, src/option.c, src/option.h, 19038 src/ex_cmds.c, src/globals.h, runtime/doc/options.txt 19039 19040Patch 8.0.0717 19041Problem: Terminal feature not included in :version output. 19042Solution: Add +terminal or -terminal. 19043Files: src/version.c, src/terminal.c 19044 19045Patch 8.0.0718 19046Problem: Output of job in terminal is not displayed. 19047Solution: Connect the job output to the terminal. 19048Files: src/channel.c, src/proto/channel.pro, src/terminal.c, 19049 src/proto/terminal.pro, src/channel.c, src/proto/channel.pro, 19050 src/evalfunc.c, src/screen.c, src/proto/screen.pro 19051 19052Patch 8.0.0719 19053Problem: Build failure without +terminal feature. 19054Solution: Add #ifdefs. 19055Files: src/screen.c, src/channel.c 19056 19057Patch 8.0.0720 19058Problem: Unfinished mapping not displayed when running timer. 19059Solution: Also use the extra_char while waiting for a mapping and digraph. 19060 (closes #1844) 19061Files: src/ex_getln.c 19062 19063Patch 8.0.0721 19064Problem: :argedit can only have one argument. 19065Solution: Allow for multiple arguments. (Christian Brabandt) 19066Files: runtime/doc/editing.txt, src/ex_cmds.h, src/ex_cmds2.c, 19067 src/testdir/test_arglist.vim 19068 19069Patch 8.0.0722 19070Problem: Screen is messed by timer up at inputlist() prompt. 19071Solution: Set state to ASKMORE. (closes #1843) 19072Files: src/misc1.c 19073 19074Patch 8.0.0723 (after 8.0.0721) 19075Problem: Arglist test fails if file name case is ignored. 19076Solution: Wipe existing buffers, check for fname_case property. 19077Files: src/testdir/test_arglist.vim 19078 19079Patch 8.0.0724 19080Problem: The message for yanking doesn't indicate the register. 19081Solution: Show the register name in the "N lines yanked" message. (LemonBoy, 19082 closes #1803, closes #1809) 19083Files: src/ops.c, src/Makefile, src/testdir/test_registers.vim, 19084 src/testdir/Make_all.mak 19085 19086Patch 8.0.0725 19087Problem: A terminal window does not handle keyboard input. 19088Solution: Add terminal_loop(). ":term bash -i" sort of works now. 19089Files: src/main.c, src/terminal.c, src/proto/terminal.pro, src/normal.c 19090 19091Patch 8.0.0726 19092Problem: Translations cleanup script is too conservative. 19093Solution: Also delete untranslated messages. 19094Files: src/po/cleanup.vim 19095 19096Patch 8.0.0727 19097Problem: Message about what register to yank into is not translated. 19098 (LemonBoy) 19099Solution: Add _(). 19100Files: src/ops.c 19101 19102Patch 8.0.0728 19103Problem: The terminal structure is never freed. 19104Solution: Free the structure and unreference what it contains. 19105Files: src/terminal.c, src/buffer.c, src/proto/terminal.pro, 19106 src/channel.c, src/proto/channel.pro, src/evalfunc.c 19107 19108Patch 8.0.0729 19109Problem: The help for the terminal configure option is wrong. 19110Solution: Change "Disable" to "Enable". (E Kawashima, closes #1849) 19111 Improve alignment. 19112Files: src/configure.ac, src/auto/configure 19113 19114Patch 8.0.0730 19115Problem: Terminal feature only supports Unix-like systems. 19116Solution: Prepare for adding an MS-Windows implementation. 19117Files: src/terminal.c 19118 19119Patch 8.0.0731 19120Problem: Cannot build the terminal feature on MS-Windows. 19121Solution: Add the Makefile changes. (Yasuhiro Matsumoto, closes #1851) 19122Files: src/Make_cyg_ming.mak, src/Make_mvc.mak 19123 19124Patch 8.0.0732 19125Problem: When updating a buffer for a callback the modeless selection is 19126 lost. 19127Solution: Do not insert or delete screen lines when redrawing for a callback 19128 and there is a modeless selection. 19129Files: src/screen.c 19130 19131Patch 8.0.0733 19132Problem: Can only add entries to one list in the quickfix stack. 19133Solution: Move state variables from qf_list_T to qf_list_T. (Yegappan 19134 Lakshmanan) 19135Files: src/quickfix.c 19136 19137Patch 8.0.0734 19138Problem: The script to check translations can be improved. 19139Solution: Restore the view when no errors are found. Check for matching 19140 line break at the end of the message. (Christian Brabandt) 19141Files: src/po/check.vim 19142 19143Patch 8.0.0735 19144Problem: There is no way to notice that the quickfix window contents has 19145 changed. 19146Solution: Increment b:changedtick when updating the quickfix window. 19147 (Yegappan Lakshmanan) 19148Files: runtime/doc/quickfix.txt, src/quickfix.c, 19149 src/testdir/test_quickfix.vim 19150 19151Patch 8.0.0736 19152Problem: The OptionSet autocommand event is not triggered when entering 19153 diff mode. 19154Solution: use set_option_value() instead of setting the option directly. 19155 Change the tests from old to new style. (Christian Brabandt) 19156Files: src/diff.c, src/testdir/Make_all.mak, src/Makefile, 19157 src/testdir/test_autocmd.vim, src/testdir/test_autocmd_option.in, 19158 src/testdir/test_autocmd_option.ok 19159 19160Patch 8.0.0737 19161Problem: Crash when X11 selection is very big. 19162Solution: Use static items instead of allocating them. Add callbacks. 19163 (Ozaki Kiichi) 19164Files: src/testdir/shared.vim, src/testdir/test_quotestar.vim, 19165 src/ui.c 19166 19167Patch 8.0.0738 19168Problem: Cannot use the mouse to resize window while the focus is in a 19169 terminal window. 19170Solution: Recognize nice mouse events in the terminal window. A few more 19171 fixes for the terminal window. 19172Files: src/terminal.c 19173 19174Patch 8.0.0739 19175Problem: Terminal resizing doesn't work well. 19176Solution: Resize the terminal to the Vim window and the other way around. 19177 Avoid mapping typed keys. Set the environment properly. 19178Files: src/terminal.c, src/os_unix.c, src/structs.h 19179 19180Patch 8.0.0740 19181Problem: Cannot resize a terminal window by the command running in it. 19182Solution: Add support for the window size escape sequence. Make BS work. 19183Files: src/terminal.c, src/libvterm/src/state.c 19184 19185Patch 8.0.0741 19186Problem: Cannot build with HPUX. 19187Solution: Rename envbuf_TERM to envbuf_Term. (John Marriott) 19188Files: src/os_unix.c 19189 19190Patch 8.0.0742 19191Problem: Terminal feature does not work on MS-Windows. 19192Solution: Use libvterm and libwinpty on MS-Windows. (Yasuhiro Matsumoto) 19193Files: src/INSTALLpc.txt, src/Make_cyg_ming.mak, src/channel.c, 19194 src/proto/channel.pro, src/terminal.c 19195 19196Patch 8.0.0743 19197Problem: The 'termsize' option can be set to an invalid value. 19198Solution: Check the 'termsize' option to be valid. 19199Files: src/option.c, src/testdir/gen_opt_test.vim 19200 19201Patch 8.0.0744 19202Problem: A terminal window uses pipes instead of a pty. 19203Solution: Add pty support. 19204Files: src/structs.h, src/os_unix.c, src/terminal.c, src/channel.c, 19205 src/proto/os_unix.pro, src/os_win32.c, src/proto/os_win32.pro 19206 19207Patch 8.0.0745 19208Problem: multi-byte characters in a terminal window are not displayed 19209 properly. 19210Solution: Set the unused screen characters. (Yasuhiro Matsumoto, closes 19211 #1857) 19212Files: src/terminal.c 19213 19214Patch 8.0.0746 19215Problem: When :term fails the job is not properly cleaned up. 19216Solution: Free the terminal. Handle a job that failed to start. (closes 19217 #1858) 19218Files: src/os_unix.c, src/channel.c, src/terminal.c 19219 19220Patch 8.0.0747 19221Problem: :terminal without an argument doesn't work. 19222Solution: Use the 'shell' option. (Yasuhiro Matsumoto, closes #1860) 19223Files: src/terminal.c 19224 19225Patch 8.0.0748 19226Problem: When running Vim in a terminal window it does not detect the right 19227 number of colors available. 19228Solution: Detect the version string that libvterm returns. Pass the number 19229 of colors in $COLORS. 19230Files: src/term.c, src/os_unix.c 19231 19232Patch 8.0.0749 19233Problem: Some unicode digraphs are hard to remember. 19234Solution: Add alternatives with a backtick. (Chris Harding, closes #1861) 19235Files: src/digraph.c 19236 19237Patch 8.0.0750 19238Problem: OpenPTY missing in non-GUI build. 19239Solution: Always include pty.c, add an #ifdef to skip over the contents. 19240Files: src/pty.c, src/Makefile 19241 19242Patch 8.0.0751 (after 8.0.0750) 19243Problem: OpenPTY missing with some combination of features. (Kazunobu 19244 Kuriyama) 19245Solution: Adjust #ifdef. Also include pty.pro when needed. 19246Files: src/pty.c, src/misc2.c, src/proto.h 19247 19248Patch 8.0.0752 19249Problem: Build fails on MS-Windows. 19250Solution: Change #ifdef for set_color_count(). 19251Files: src/term.c 19252 19253Patch 8.0.0753 19254Problem: A job running in a terminal does not get notified of changes in 19255 the terminal size. 19256Solution: Use ioctl() and SIGWINCH to report the terminal size. 19257Files: src/terminal.c, src/os_unix.c, src/proto/os_unix.pro 19258 19259Patch 8.0.0754 19260Problem: Terminal window does not support colors. 19261Solution: Lookup the color attribute. 19262Files: src/terminal.c, src/syntax.c, src/proto/syntax.pro 19263 19264Patch 8.0.0755 19265Problem: Terminal window does not have colors in the GUI. 19266Solution: Lookup the GUI color. 19267Files: src/terminal.c, src/syntax.c, src/proto/syntax.pro, src/term.c, 19268 src/proto/term.pro, src/gui_gtk_x11.c, src/proto/gui_gtk_x11.pro, 19269 src/gui_x11.c, src/proto/gui_x11.pro, src/gui_mac.c, 19270 src/proto/gui_mac.pro, src/gui_photon.c, src/proto/gui_photon.pro, 19271 src/gui_w32.c, src/proto/gui_w32.pro, 19272 19273Patch 8.0.0756 19274Problem: Cannot build libvterm with MSVC. 19275Solution: Add an MSVC Makefile to libvterm. (Yasuhiro Matsumoto, closes 19276 #1865) 19277Files: src/INSTALLpc.txt, src/Make_mvc.mak, src/libvterm/Makefile.msc 19278 19279Patch 8.0.0757 19280Problem: Libvterm MSVC Makefile not included in the distribution. 19281Solution: Add the file to the list. 19282Files: Filelist 19283 19284Patch 8.0.0758 19285Problem: Possible crash when using a terminal window. 19286Solution: Check for NULL pointers. (Yasuhiro Matsumoto, closes #1864) 19287Files: src/terminal.c 19288 19289Patch 8.0.0759 19290Problem: MS-Windows: terminal does not adjust size to the Vim window size. 19291Solution: Add a call to winpty_set_size(). (Yasuhiro Matsumoto, closes #1863) 19292Files: src/terminal.c 19293 19294Patch 8.0.0760 19295Problem: Terminal window colors wrong with 'termguicolors'. 19296Solution: Add 'termguicolors' support. 19297Files: src/terminal.c, src/syntax.c, src/proto/syntax.pro 19298 19299Patch 8.0.0761 19300Problem: Options of a buffer for a terminal window are not set properly. 19301Solution: Add "terminal" value for 'buftype'. Make 'buftype' and 19302 'bufhidden' not depend on the quickfix feature. 19303 Also set the buffer name and show "running" or "finished" in the 19304 window title. 19305Files: src/option.c, src/terminal.c, src/proto/terminal.pro, 19306 runtime/doc/options.txt, src/quickfix.c, src/proto/quickfix.pro, 19307 src/structs.h, src/buffer.c, src/ex_docmd.c, src/fileio.c, 19308 src/channel.c 19309 19310Patch 8.0.0762 19311Problem: ml_get error with :psearch in buffer without a name. (Dominique 19312 Pelle) 19313Solution: Use the buffer number instead of the file name. Check the cursor 19314 position. 19315Files: src/search.c, src/testdir/test_preview.vim, src/Makefile, 19316 src/testdir/Make_all.mak 19317 19318Patch 8.0.0763 19319Problem: Libvterm can be improved. 19320Solution: Various small improvements, more comments. 19321Files: src/libvterm/README, src/libvterm/include/vterm.h, 19322 src/libvterm/include/vterm_keycodes.h, 19323 src/libvterm/src/keyboard.c, src/libvterm/src/parser.c, 19324 src/libvterm/src/screen.c, src/libvterm/src/state.c 19325 19326Patch 8.0.0764 19327Problem: 'termkey' does not work yet. 19328Solution: Implement 'termkey'. 19329Files: src/terminal.c, src/option.c, src/proto/option.pro 19330 19331Patch 8.0.0765 19332Problem: Build fails with tiny features. 19333Solution: Adjust #ifdef. (John Marriott) 19334Files: src/option.c, src/option.h 19335 19336Patch 8.0.0766 19337Problem: Option test fails with +terminal feature. 19338Solution: Fix using the right option when checking the value. 19339Files: src/option.c 19340 19341Patch 8.0.0767 19342Problem: Build failure with Athena and Motif. 19343Solution: Move local variable declarations. (Kazunobu Kuriyama) 19344Files: src/gui_x11.c 19345 19346Patch 8.0.0768 19347Problem: Terminal window status shows "[Scratch]". 19348Solution: Show "[Terminal]" when no title was set. (Yasuhiro Matsumoto) 19349 Store the terminal title that vterm sends and use it. Update the 19350 special buffer name. (closes #1869) 19351Files: src/terminal.c, src/proto/terminal.pro, src/buffer.c 19352 19353Patch 8.0.0769 19354Problem: Build problems with terminal on MS-Windows using MSVC. 19355Solution: Remove stdbool.h dependency. Only use ScreenLinesUC when it was 19356 allocated. Fix typos. (Ken Takata) 19357Files: src/libvterm/bin/vterm-ctrl.c, runtime/doc/terminal.txt, 19358 src/INSTALLpc.txt, src/Make_cyg_ming.mak, src/Make_mvc.mak, 19359 src/libvterm/Makefile.msc, src/terminal.c 19360 19361Patch 8.0.0770 19362Problem: Compiler warning for missing field initializer. 19363Solution: Add two more values. (Yegappan Lakshmanan) 19364Files: src/libvterm/src/encoding.c 19365 19366Patch 8.0.0771 19367Problem: Cursor in a terminal window not always updated in the GUI. 19368Solution: Call gui_update_cursor(). (Yasuhiro Matsumoto, closes #1868) 19369Files: src/terminal.c 19370 19371Patch 8.0.0772 19372Problem: Other stdbool.h dependencies in libvterm. 19373Solution: Remove the dependency and use TRUE/FALSE/int. (Ken Takata) 19374Files: src/libvterm/include/vterm.h, src/libvterm/src/mouse.c, 19375 src/libvterm/src/pen.c, src/libvterm/t/harness.c, 19376 src/libvterm/bin/unterm.c 19377 19378Patch 8.0.0773 19379Problem: Mixing 32 and 64 bit libvterm builds fails. 19380Solution: Use OUTDIR. (Ken Takata) 19381Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/libvterm/Makefile.msc 19382 19383Patch 8.0.0774 19384Problem: Build failure without the multi-byte feature on HPUX. 19385Solution: Move #ifdefs. (John Marriott) 19386Files: src/term.c 19387 19388Patch 8.0.0775 19389Problem: In a terminal the cursor is updated too often. 19390Solution: Only flush when needed. (Yasuhiro Matsumoto). Remember whether the 19391 cursor is visible. (closes #1873) 19392Files: src/terminal.c 19393 19394Patch 8.0.0776 19395Problem: Function prototypes missing without the quickfix feature. (Tony 19396 Mechelynck) 19397Solution: Move non-quickfix functions to buffer.c. 19398Files: src/buffer.c, src/proto/buffer.pro, src/quickfix.c, 19399 src/proto/quickfix.pro 19400 19401Patch 8.0.0777 19402Problem: Compiler warnings with 64 bit compiler. 19403Solution: Add type casts. (Mike Williams) 19404Files: src/libvterm/src/pen.c, src/libvterm/src/state.c, src/terminal.c 19405 19406Patch 8.0.0778 19407Problem: In a terminal the cursor may be hidden and screen updating lags 19408 behind. (Nazri Ramliy) 19409Solution: Switch the cursor on and flush output when needed. (Ozaki Kiichi) 19410Files: src/terminal.c 19411 19412Patch 8.0.0779 19413Problem: :term without an argument uses empty buffer name but runs the 19414 shell. 19415Solution: Change the command to the shell earlier. 19416Files: src/terminal.c 19417 19418Patch 8.0.0780 19419Problem: Build failure on Travis. 19420Solution: Set distribution explicitly. Use Lua and Ruby dev. (Ken Takata, 19421 closes #1884) 19422Files: .travis.yml 19423 19424Patch 8.0.0781 19425Problem: MS-Windows: Memory leak when using :terminal. 19426Solution: Handle failures properly. (Ken Takata) 19427Files: src/terminal.c 19428 19429Patch 8.0.0782 19430Problem: Using freed memory in quickfix code. (Dominique Pelle) 19431Solution: Handle a help window differently. (Yegappan Lakshmanan) 19432Files: src/buffer.c, src/proto/buffer.pro, src/quickfix.c, 19433 src/testdir/test_quickfix.vim, src/ex_cmds.c, src/window.c 19434 19435Patch 8.0.0783 19436Problem: Job of terminal may be freed too early. 19437Solution: Increment job refcount. (Yasuhiro Matsumoto) 19438Files: src/terminal.c 19439 19440Patch 8.0.0784 19441Problem: Job of terminal may be garbage collected. 19442Solution: Set copyID on job in terminal. (Ozaki Kiichi) 19443Files: src/terminal.c, src/eval.c, src/proto/terminal.pro 19444 19445Patch 8.0.0785 19446Problem: Wildcards are not expanded for :terminal. 19447Solution: Add FILES to the command flags. (Yasuhiro Matsumoto, closes #1883) 19448 Also complete commands. 19449Files: src/ex_cmds.h, src/ex_docmd.c 19450 19451Patch 8.0.0786 19452Problem: Build failures on Travis. 19453Solution: Go back to precise temporarily. Disable coverage with clang. 19454Files: .travis.yml 19455 19456Patch 8.0.0787 19457Problem: Cannot send CTRL-W command to terminal job. 19458Solution: Make CTRL-W . a prefix for sending a key to the job. 19459Files: src/terminal.c, runtime/doc/terminal.txt, src/option.c 19460 19461Patch 8.0.0788 19462Problem: MS-Windows: cannot build with terminal feature. 19463Solution: Move set_ref_in_term(). (Ozaki Kiichi) 19464Files: src/terminal.c 19465 19466Patch 8.0.0789 19467Problem: When splitting a terminal window where the terminal follows the 19468 size of the window doesn't work. 19469Solution: Use the size of the smallest window. (Yasuhiro Matsumoto, closes 19470 #1885) 19471Files: src/terminal.c 19472 19473Patch 8.0.0790 19474Problem: MSVC compiler warning for strncpy in libvterm. 19475Solution: Add a define to stop the warnings. (Mike Williams) 19476Files: src/Make_mvc.mak 19477 19478Patch 8.0.0791 19479Problem: Terminal colors depend on the system. 19480Solution: Use the highlight color lookup tables. 19481Files: src/syntax.c, src/proto/syntax.pro, src/terminal.c 19482 19483Patch 8.0.0792 19484Problem: Spell test leaves files behind. 19485Solution: Delete the files. 19486Files: src/testdir/test_spell.vim 19487 19488Patch 8.0.0793 19489Problem: Using wrong terminal name for terminal window. 19490Solution: When 'term' starts with "xterm" use it for $TERM in a terminal 19491 window. 19492Files: src/os_unix.c 19493 19494Patch 8.0.0794 19495Problem: The script to check translations fails if there is more than one 19496 NL in one line. 19497Solution: Count the number of NL characters. Make count() accept a string. 19498Files: src/po/check.vim, src/evalfunc.c, runtime/doc/eval.txt, 19499 src/testdir/test_functions.vim 19500 19501Patch 8.0.0795 19502Problem: Terminal feature does not build with older MSVC. 19503Solution: Do not use stdint.h. 19504Files: src/libvterm/include/vterm.h 19505 19506Patch 8.0.0796 19507Problem: No coverage on Travis with clang. 19508Solution: Use a specific coveralls version. (Ozaki Kiichi, closes #1888) 19509Files: .travis.yml 19510 19511Patch 8.0.0797 19512Problem: Finished job in terminal window is not handled. 19513Solution: Add the scrollback buffer. Use it to fill the buffer when the job 19514 has ended. 19515Files: src/terminal.c, src/screen.c, src/proto/terminal.pro, 19516 src/channel.c, src/os_unix.c, src/buffer.c 19517 19518Patch 8.0.0798 19519Problem: No highlighting in a terminal window with a finished job. 19520Solution: Highlight the text. 19521Files: src/terminal.c, src/proto/terminal.pro, src/screen.c, src/undo.c 19522 19523Patch 8.0.0799 19524Problem: Missing semicolon. 19525Solution: Add it. 19526Files: src/terminal.c 19527 19528Patch 8.0.0800 19529Problem: Terminal window scrollback contents is wrong. 19530Solution: Fix handling of multi-byte characters (Yasuhiro Matsumoto) Handle 19531 empty lines correctly. (closes #1891) 19532Files: src/terminal.c 19533 19534Patch 8.0.0801 19535Problem: The terminal window title sometimes still says "running" even 19536 though the job has finished. 19537Solution: Also consider the job finished when the channel has been closed. 19538Files: src/terminal.c 19539 19540Patch 8.0.0802 19541Problem: After a job exits the last line in the terminal window does not 19542 get color attributes. 19543Solution: Fix off-by-one error. 19544Files: src/terminal.c 19545 19546Patch 8.0.0803 19547Problem: Terminal window functions not yet implemented. 19548Solution: Implement several functions. Add a first test. (Yasuhiro 19549 Matsumoto, closes #1871) 19550Files: runtime/doc/eval.txt, src/Makefile, src/evalfunc.c, 19551 src/proto/evalfunc.pro, src/proto/terminal.pro, src/terminal.c, 19552 src/testdir/Make_all.mak, src/testdir/test_terminal.vim 19553 19554Patch 8.0.0804 19555Problem: Running tests fails when stdin is /dev/null. (James McCoy) 19556Solution: Do not bail out from getting input if the --not-a-term argument 19557 was given. (closes #1460) 19558Files: src/eval.c, src/evalfunc.c 19559 19560Patch 8.0.0805 19561Problem: GUI test fails with gnome2. 19562Solution: Set $HOME to an existing directory. 19563Files: src/testdir/setup.vim, src/testdir/runtest.vim 19564 19565Patch 8.0.0806 19566Problem: Tests may try to create XfakeHOME twice. 19567Solution: Avoid loading setup.vim twice. 19568Files: src/testdir/setup.vim 19569 19570Patch 8.0.0807 19571Problem: Terminal window can't handle mouse buttons. (Hirohito Higashi) 19572Solution: Implement mouse buttons and many other keys. Ignore the ones that 19573 are not implemented. 19574Files: src/terminal.c 19575 19576Patch 8.0.0808 19577Problem: Cannot build with terminal feature and DEBUG defined. (Christian 19578 Brabandt) 19579Solution: Use DEBUG_LOG3(). 19580Files: src/libvterm/src/pen.c 19581 19582Patch 8.0.0809 19583Problem: MS-Windows: tests hang. 19584Solution: Delete the XfakeHOME directory. 19585Files: src/testdir/Make_dos.mak, src/testdir/Make_ming.mak 19586 19587Patch 8.0.0810 19588Problem: MS-Windows: tests still hang. 19589Solution: Only create the XfakeHOME directory if it does not exist yet. 19590Files: src/testdir/setup.vim 19591 19592Patch 8.0.0811 19593Problem: MS-Windows: test_expand_dllpath fails. 19594Solution: Change backslashes to forward slashes 19595Files: src/testdir/test_expand_dllpath.vim 19596 19597Patch 8.0.0812 19598Problem: Terminal window colors shift when 'number' is set. (Nazri Ramliy) 19599Solution: Use vcol instead of col. 19600Files: src/screen.c 19601 19602Patch 8.0.0813 19603Problem: Cannot use Vim commands in a terminal window while the job is 19604 running. 19605Solution: Implement Terminal Normal mode. 19606Files: src/terminal.c, src/proto/terminal.pro, src/main.c, src/screen.c, 19607 src/normal.c, src/option.c, runtime/doc/terminal.txt 19608 19609Patch 8.0.0814 (after 8.0.0757) 19610Problem: File in Filelist does not exist. 19611Solution: Remove the line. 19612Files: Filelist 19613 19614Patch 8.0.0815 19615Problem: Terminal window not correctly updated when 'statusline' invokes 19616 ":sleep". (NIkolay Pavlov) 19617Solution: Clear got_int. Repeat redrawing when needed. 19618Files: src/terminal.c 19619 19620Patch 8.0.0816 19621Problem: Crash when using invalid buffer number. 19622Solution: Check for NULL buffer. (Yasuhiro Matsumoto, closes #1899) 19623Files: src/terminal.c, src/testdir/test_terminal.vim 19624 19625Patch 8.0.0817 19626Problem: Cannot get the line of a terminal window at the cursor. 19627Solution: Make the row argument optional. (Yasuhiro Matsumoto, closes #1898) 19628Files: runtime/doc/eval.txt, src/evalfunc.c, src/terminal.c 19629 19630Patch 8.0.0818 19631Problem: Cannot get the cursor position of a terminal. 19632Solution: Add term_getcursor(). 19633Files: runtime/doc/eval.txt, src/evalfunc.c, src/terminal.c, 19634 src/proto/terminal.pro 19635 19636Patch 8.0.0819 19637Problem: After changing current window the cursor position in the terminal 19638 window is not updated. 19639Solution: Set w_wrow, w_wcol and w_valid. 19640Files: src/terminal.c 19641 19642Patch 8.0.0820 19643Problem: GUI: cursor in terminal window lags behind. 19644Solution: call gui_update_cursor() under different conditions. (Ozaki 19645 Kiichi, closes #1893) 19646Files: src/terminal.c 19647 19648Patch 8.0.0821 19649Problem: Cannot get the title and status of a terminal window. 19650Solution: Implement term_gettitle() and term_getstatus(). 19651Files: src/evalfunc.c, src/terminal.c, src/proto/terminal.pro, 19652 runtime/doc/eval.txt 19653 19654Patch 8.0.0822 19655Problem: Test_with_partial_callback is a tiny bit flaky. 19656Solution: Add it to the list of flaky tests. 19657Files: src/testdir/runtest.vim 19658 19659Patch 8.0.0823 19660Problem: Cannot paste text into a terminal window. 19661Solution: Make CTRL-W " work. 19662Files: src/terminal.c 19663 19664Patch 8.0.0824 19665Problem: In Terminal mode the cursor and screen gets redrawn when the job 19666 produces output. 19667Solution: Check for tl_terminal_mode. (partly by Yasuhiro Matsumoto, closes 19668 #1904) 19669Files: src/terminal.c 19670 19671Patch 8.0.0825 19672Problem: Not easy to see that a window is a terminal window. 19673Solution: Add StatusLineTerm highlighting. 19674Files: src/option.c, src/vim.h, src/screen.c, src/syntax.c 19675 19676Patch 8.0.0826 19677Problem: Cannot use text objects in Terminal mode. 19678Solution: Check for pending operator and Visual mode first. (Yasuhiro 19679 Matsumoto, closes #1906) 19680Files: src/normal.c 19681 19682Patch 8.0.0827 19683Problem: Coverity: could leak pty file descriptor, theoretically. 19684Solution: If channel is NULL, free the file descriptors. 19685Files: src/os_unix.c 19686 19687Patch 8.0.0828 19688Problem: Coverity: may dereference NULL pointer. 19689Solution: Bail out if calloc_state() returns NULL. 19690Files: src/regexp_nfa.c 19691 19692Patch 8.0.0829 19693Problem: A job running in a terminal window cannot easily communicate with 19694 the Vim it is running in. 19695Solution: Pass v:servername in an environment variable. (closes #1908) 19696Files: src/os_unix.c 19697 19698Patch 8.0.0830 19699Problem: Translating messages is not ideal. 19700Solution: Add a remark about obsolete messages. Use msgfmt in the check 19701 script. (Christian Brabandt) 19702Files: src/po/README.txt, src/po/check.vim 19703 19704Patch 8.0.0831 (after 8.0.0791) 19705Problem: With 8 colors the bold attribute is not set properly. 19706Solution: Move setting HL_TABLE() out of lookup_color. (closes #1901) 19707Files: src/syntax.c, src/proto/syntax.pro, src/terminal.c 19708 19709Patch 8.0.0832 19710Problem: Terminal function arguments are not consistent. 19711Solution: Use one-based instead of zero-based rows and cols. Use "." for 19712 the current row. 19713Files: src/terminal.c, runtime/doc/eval.txt 19714 19715Patch 8.0.0833 19716Problem: Terminal test fails. 19717Solution: Update the row argument to one based. 19718Files: src/testdir/test_terminal.vim 19719 19720Patch 8.0.0834 19721Problem: Can't build without the client-server feature. 19722Solution: Add #ifdef. 19723Files: src/os_unix.c 19724 19725Patch 8.0.0835 19726Problem: Translations check with msgfmt does not work. 19727Solution: Add a space before the file name. 19728Files: src/po/check.vim 19729 19730Patch 8.0.0836 19731Problem: When a terminal buffer is changed it can still be accidentally 19732 abandoned. 19733Solution: When making a change reset the 'buftype' option. 19734Files: src/terminal.c, src/testdir/test_terminal.vim, src/option.c 19735 19736Patch 8.0.0837 19737Problem: Signs can be drawn on top of console messages. 19738Solution: don't redraw at a prompt or when scrolled up. (Christian Brabandt, 19739 closes #1907) 19740Files: src/screen.c 19741 19742Patch 8.0.0838 19743Problem: Buffer hangs around when terminal window is closed. 19744Solution: When the job has ended wipe out a terminal buffer when the window 19745 is closed. 19746Files: src/buffer.c, src/terminal.c, src/proto/terminal.pro, 19747 src/testdir/test_terminal.vim 19748 19749Patch 8.0.0839 19750Problem: Cannot kill a job in a terminal with CTRL-C. 19751Solution: Set the controlling tty and send SIGINT. (closes #1910) 19752Files: src/os_unix.c, src/terminal.c, src/proto/os_unix.pro 19753 19754Patch 8.0.0840 19755Problem: MS-Windows: fopen() and open() prototypes do not match the ones in 19756 the system header file. Can't build without FEAT_MBYTE. 19757Solution: Add "const". Move macro to after including protoo.h. 19758Files: src/os_win32.c, src/proto/os_win32.pro, src/macros.h, src/vim.h 19759 19760Patch 8.0.0841 19761Problem: term_getline() may cause a crash. 19762Solution: Check that the row is valid. (Hirohito Higashi) 19763Files: src/terminal.c, src/testdir/test_terminal.vim 19764 19765Patch 8.0.0842 19766Problem: Using slave pty after closing it. 19767Solution: Do the ioctl() before dup'ing it. 19768Files: src/os_unix.c 19769 19770Patch 8.0.0843 19771Problem: MS-Windows: compiler warning for signed/unsigned. 19772Solution: Add type cast. (Yasuhiro Matsumoto, closes #1912) 19773Files: src/terminal.c 19774 19775Patch 8.0.0844 19776Problem: Wrong function prototype because of missing static. 19777Solution: Add "static". 19778Files: src/os_win32.c, src/proto/os_win32.pro 19779 19780Patch 8.0.0845 19781Problem: MS-Windows: missing semicolon in terminal code. 19782Solution: Add it. (Naruhiko Nishino, closes #1923) 19783Files: src/terminal.c 19784 19785Patch 8.0.0846 19786Problem: Cannot get the name of the pty of a job. 19787Solution: Add the "tty" entry to the job info. (Ozaki Kiichi, closes #1920) 19788 Add the term_gettty() function. 19789Files: runtime/doc/eval.txt, src/channel.c, src/os_unix.c, src/structs.h, 19790 src/terminal.c, src/proto/terminal.pro, src/evalfunc.c, 19791 src/testdir/test_terminal.vim 19792 19793Patch 8.0.0847 19794Problem: :argadd without argument can't handle space in file name. (Harm te 19795 Hennepe) 19796Solution: Escape the space. (Yasuhiro Matsumoto, closes #1917) 19797Files: src/ex_cmds2.c, src/proto/ex_cmds2.pro, 19798 src/testdir/test_arglist.vim 19799 19800Patch 8.0.0848 19801Problem: Using multiple ch_log functions is clumsy. 19802Solution: Use variable arguments. (Ozaki Kiichi, closes #1919) 19803Files: src/channel.c, src/message.c, src/proto/channel.pro, 19804 src/terminal.c 19805 19806Patch 8.0.0849 19807Problem: Crash when job exit callback wipes the terminal. 19808Solution: Check for b_term to be NULL. (Yasuhiro Matsumoto, closes #1922) 19809 Implement options for term_start() to be able to test. 19810 Make term_wait() more reliable. 19811Files: src/terminal.c, src/testdir/test_terminal.vim, src/channel.c 19812 19813Patch 8.0.0850 19814Problem: MS-Windows: Depending on the console encoding, an error message 19815 that is given during startup may be broken. 19816Solution: Convert the message to the console codepage. (Yasuhiro Matsumoto, 19817 closes #1927) 19818Files: src/message.c 19819 19820Patch 8.0.0851 19821Problem: 'smartindent' is used even when 'indentexpr' is set. 19822Solution: Ignore 'smartindent' when 'indentexpr' is set. (Hirohito Higashi) 19823Files: src/misc1.c, src/testdir/test_smartindent.vim 19824 19825Patch 8.0.0852 (after 8.0.0850) 19826Problem: MS-Windows: possible crash when giving a message on startup. 19827Solution: Initialize length. (Yasuhiro Matsumoto, closes #1931) 19828Files: src/message.c 19829 19830Patch 8.0.0853 19831Problem: Crash when running terminal with unknown command. 19832Solution: Check "term" not to be NULL. (Yasuhiro Matsumoto, closes #1932) 19833Files: src/terminal.c 19834 19835Patch 8.0.0854 19836Problem: No redraw after terminal was closed. 19837Solution: Set typebuf_was_filled. (Yasuhiro Matsumoto, closes #1925, closes 19838 #1924) Add function to check for messages even when input is 19839 available. 19840Files: src/terminal.c, src/os_unix.c, src/proto/os_unix.pro, 19841 src/os_win32.c, src/proto/os_win32.pro, src/os_mswin.c 19842 19843Patch 8.0.0855 19844Problem: MS-Windows: can't get tty name of terminal. 19845Solution: Use the winpty process number. (Yasuhiro Matsumoto, closes #1929) 19846Files: src/terminal.c, src/testdir/test_terminal.vim 19847 19848Patch 8.0.0856 19849Problem: MS-Windows: terminal job doesn't take options. 19850Solution: Call job_set_options(). (Yasuhiro Matsumoto) 19851Files: src/terminal.c 19852 19853Patch 8.0.0857 19854Problem: Terminal test fails on MS-Windows. 19855Solution: Sleep a fraction of a second. 19856Files: src/testdir/test_terminal.vim 19857 19858Patch 8.0.0858 19859Problem: Can exit while a terminal is still running a job. 19860Solution: Consider a buffer with a running job like a changed file. 19861Files: src/undo.c, src/terminal.c, src/option.h, src/buffer.c, 19862 src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, src/normal.c, 19863 src/window.c, src/testdir/test_terminal.vim 19864 19865Patch 8.0.0859 19866Problem: NULL pointer access when term_free_vterm called twice. 19867Solution: Return when tl_vterm is NULL. (Yasuhiro Matsumoto, closes #1934) 19868Files: src/terminal.c 19869 19870Patch 8.0.0860 19871Problem: There may be side effects when a channel appends to a buffer that 19872 is not the current buffer. 19873Solution: Properly switch to another buffer before appending. (Yasuhiro 19874 Matsumoto, closes #1926, closes #1937) 19875Files: src/channel.c, src/buffer.c, src/proto/buffer.pro, 19876 src/if_py_both.h 19877 19878Patch 8.0.0861 19879Problem: Still many old style tests. 19880Solution: Convert several tests to new style. (Yegappan Lakshmanan) 19881Files: src/testdir/Make_all.mak, src/testdir/Make_vms.mms, 19882 src/testdir/main.aap, src/testdir/test104.in, 19883 src/testdir/test104.ok, src/testdir/test22.in, 19884 src/testdir/test22.ok, src/testdir/test77.in, 19885 src/testdir/test77.ok, src/testdir/test84.in, 19886 src/testdir/test84.ok, src/testdir/test9.in, src/testdir/test9.ok, 19887 src/testdir/test98.in, src/testdir/test98.ok, 19888 src/testdir/test_autocmd.vim, src/testdir/test_curswant.vim, 19889 src/testdir/test_file_size.vim, src/testdir/test_let.vim, 19890 src/testdir/test_lineending.vim, src/testdir/test_scrollbind.vim, 19891 src/Makefile 19892 19893Patch 8.0.0862 (after 8.0.0862) 19894Problem: File size test fails on MS-Windows. 19895Solution: Set fileformat after opening new buffer. Strip CR. 19896Files: src/testdir/test_file_size.vim 19897 19898Patch 8.0.0863 19899Problem: A remote command starting with CTRL-\ CTRL-N does not work in the 19900 terminal window. (Christian J. Robinson) 19901Solution: Use CTRL-\ CTRL-N as a prefix or a Normal mode command. 19902Files: src/terminal.c, runtime/doc/terminal.txt 19903 19904Patch 8.0.0864 19905Problem: Cannot specify the name of a terminal. 19906Solution: Add the "term_name" option. (Yasuhiro Matsumoto, closes #1936) 19907Files: src/channel.c, src/structs.h, src/terminal.c, runtime/doc/eval.txt 19908 19909Patch 8.0.0865 19910Problem: Cannot build with channel but without terminal feature. 19911Solution: Add #ifdef 19912Files: src/channel.c 19913 19914Patch 8.0.0866 19915Problem: Solaris also doesn't have MIN and MAX. 19916Solution: Define MIN and MAX whenever they are not defined. (Ozaki Kiichi, 19917 closes #1939) 19918Files: src/terminal.c 19919 19920Patch 8.0.0867 19921Problem: When using a job or channel value as a dict value, when turning it 19922 into a string the quotes are missing. 19923Solution: Add quotes to the job and channel values. (Yasuhiro Matsumoto, 19924 closes #1930) 19925Files: src/list.c, src/eval.c, src/testdir/test_terminal.vim 19926 19927Patch 8.0.0868 19928Problem: Cannot specify the terminal size on the command line. 19929Solution: Use the address range for the terminal size. (Yasuhiro Matsumoto, 19930 closes #1941) 19931Files: src/terminal.c, src/testdir/test_terminal.vim 19932 19933Patch 8.0.0869 19934Problem: Job output is sometimes not displayed in a terminal. 19935Solution: Flush output before closing the channel. 19936Files: src/channel.c, src/terminal.c 19937 19938Patch 8.0.0870 19939Problem: Mouse escape codes sent to terminal unintentionally. 19940Solution: Fix libvterm to send mouse codes only when enabled. 19941Files: src/terminal.c, src/libvterm/src/mouse.c 19942 19943Patch 8.0.0871 19944Problem: The status line for a terminal window always has "[+]". 19945Solution: Do make the status line include "[+]" for a terminal window. 19946Files: src/screen.c 19947 19948Patch 8.0.0872 19949Problem: Using mouse scroll while a terminal window has focus and the mouse 19950 pointer is on another window does not work. Same for focus in a 19951 non-terminal window and the mouse pointer is over a terminal 19952 window. 19953Solution: Send the scroll action to the right window. 19954Files: src/terminal.c, src/normal.c, src/proto/terminal.pro 19955 19956Patch 8.0.0873 19957Problem: In a terminal window cannot use CTRL-\ CTRL-N to start Visual 19958 mode. 19959Solution: After CTRL-\ CTRL-N enter Terminal-Normal mode for one command. 19960Files: src/main.c, src/terminal.c, src/proto/terminal.pro 19961 19962Patch 8.0.0874 (after 8.0.0873) 19963Problem: Can't build with terminal feature. 19964Solution: Include change to term_use_loop(). (Dominique Pelle) 19965Files: src/normal.c 19966 19967Patch 8.0.0875 19968Problem: Crash with weird command sequence. (Dominique Pelle) 19969Solution: Use vim_snprintf() instead of STRCPY(). 19970Files: src/misc1.c 19971 19972Patch 8.0.0876 19973Problem: MS-Windows: Backslashes and wildcards in backticks don't work. 19974Solution: Do not handle backslashes inside backticks in the wrong place. 19975 (Yasuhiro Matsumoto, closes #1942) 19976Files: src/os_mswin.c, src/os_win32.c 19977 19978Patch 8.0.0877 19979Problem: Using CTRL-\ CTRL-N in terminal is inconsistent. 19980Solution: Stay in Normal mode. 19981Files: src/terminal.c, src/proto/terminal.pro, src/main.c, src/normal.c, 19982 src/option.c 19983 19984Patch 8.0.0878 19985Problem: No completion for :mapclear. 19986Solution: Add completion (Nobuhiro Takasaki et al. closes #1943) 19987Files: runtime/doc/eval.txt, runtime/doc/map.txt, src/ex_docmd.c, 19988 src/ex_getln.c, src/proto/ex_docmd.pro, 19989 src/testdir/test_cmdline.vim, src/vim.h 19990 19991Patch 8.0.0879 19992Problem: Crash when shifting with huge number. 19993Solution: Check for overflow. (Dominique Pelle, closes #1945) 19994Files: src/ops.c, src/testdir/test_visual.vim 19995 19996Patch 8.0.0880 19997Problem: Travis uses an old Ubuntu version. 19998Solution: Switch from precise to trusty. (Ken Takata, closes #1897) 19999Files: .travis.yml, Filelist, src/testdir/if_ver-1.vim, 20000 src/testdir/if_ver-2.vim, src/testdir/lsan-suppress.txt 20001 20002Patch 8.0.0881 20003Problem: win32.mak no longer included in Windows SDK. 20004Solution: Do not include win32.mak. (Ken Takata) 20005Files: src/GvimExt/Makefile, src/Make_mvc.mak 20006 20007Patch 8.0.0882 20008Problem: term_scrape() and term_getline() require two arguments but it is 20009 not enforced. 20010Solution: Correct minimal number of arguments. (Hirohito Higashi) Update 20011 documentation. (Ken Takata) 20012Files: src/evalfunc.c, runtime/doc/eval.txt 20013 20014Patch 8.0.0883 20015Problem: Invalid memory access with nonsensical script. 20016Solution: Check "dstlen" being positive. (Dominique Pelle) 20017Files: src/misc1.c 20018 20019Patch 8.0.0884 20020Problem: Can't specify the wait time for term_wait(). 20021Solution: Add an optional second argument. 20022Files: src/evalfunc.c, src/terminal.c, runtime/doc/eval.txt 20023 20024Patch 8.0.0885 20025Problem: Terminal window scrollback is stored inefficiently. 20026Solution: Store the text in the Vim buffer. 20027Files: src/terminal.c, src/testdir/test_terminal.vim 20028 20029Patch 8.0.0886 20030Problem: Crash when using ":term ls". 20031Solution: Fix line number computation. Add a test for this. 20032Files: src/terminal.c, src/testdir/test_terminal.vim 20033 20034Patch 8.0.0887 20035Problem: Can create a logfile in the sandbox. 20036Solution: Disable ch_logfile() in the sandbox. (Yasuhiro Matsumoto) 20037Files: src/evalfunc.c 20038 20039Patch 8.0.0888 20040Problem: Compiler warnings with 64 bit build. 20041Solution: Add type cast of change the type. (Mike Williams) 20042Files: src/message.c, src/os_mswin.c, src/os_win32.c 20043 20044Patch 8.0.0889 20045Problem: Gcc gives warnings for uninitialized variables. (Tony Mechelynck) 20046Solution: Initialize variables even though they are not used. 20047Files: src/terminal.c 20048 20049Patch 8.0.0890 20050Problem: Still many old style tests. 20051Solution: Convert several tests to new style. (Yegappan Lakshmanan) 20052Files: src/testdir/Make_all.mak, src/testdir/Make_vms.mms, 20053 src/testdir/test103.in, src/testdir/test103.ok, 20054 src/testdir/test107.in, src/testdir/test107.ok, 20055 src/testdir/test51.in, src/testdir/test51.ok, 20056 src/testdir/test91.in, src/testdir/test91.ok, 20057 src/testdir/test_getvar.vim, src/testdir/test_highlight.vim, 20058 src/testdir/test_visual.vim, src/testdir/test_window_cmd.vim, 20059 src/Makefile 20060 20061Patch 8.0.0891 20062Problem: Uninitialized memory use with empty line in terminal. 20063Solution: Initialize growarray earlier. (Yasuhiro Matsumoto, closes #1949) 20064Files: src/terminal.c 20065 20066Patch 8.0.0892 20067Problem: When opening a terminal the pty size doesn't always match. 20068Solution: Update the pty size after opening the terminal. (Ken Takata) 20069Files: src/terminal.c 20070 20071Patch 8.0.0893 20072Problem: Cannot get the scroll count of a terminal window. 20073Solution: Add term_getscrolled(). 20074Files: src/terminal.c, src/proto/terminal.pro, src/evalfunc.c, 20075 runtime/doc/eval.txt, src/testdir/test_terminal.vim 20076 20077Patch 8.0.0894 20078Problem: There is no test for runtime filetype detection. 20079Solution: Test a list of filetypes from patterns. 20080Files: src/testdir/test_filetype.vim, runtime/filetype.vim 20081 20082Patch 8.0.0895 (after 8.0.0894) 20083Problem: Filetype test fails on MS-Windows. 20084Solution: Fix file names. 20085Files: src/testdir/test_filetype.vim 20086 20087Patch 8.0.0896 20088Problem: Cannot automatically close a terminal window when the job ends. 20089Solution: Add the ++close argument to :term. Add the term_finish option to 20090 term_start(). (Yasuhiro Matsumoto, closes #1950) Also add 20091 ++open. 20092Files: runtime/doc/eval.txt, runtime/doc/terminal.txt, src/channel.c, 20093 src/structs.h, src/terminal.c, src/testdir/test_terminal.vim 20094 20095Patch 8.0.0897 (after 8.0.0896) 20096Problem: Wrong error message for invalid term_finish value 20097Solution: Pass the right argument to emsg(). 20098Files: src/channel.c 20099 20100Patch 8.0.0898 20101Problem: Can't use the alternate screen in a terminal window. 20102Solution: Initialize the alternate screen. (Yasuhiro Matsumoto, closes 20103 #1957) Add term_getaltscreen(). 20104Files: src/libvterm/include/vterm.h, src/terminal.c, 20105 src/proto/terminal.pro, src/evalfunc.c, runtime/doc/eval.txt 20106 20107Patch 8.0.0899 20108Problem: Function name mch_stop_job() is confusing. 20109Solution: Rename to mch_signal_job(). 20110Files: src/channel.c, src/os_unix.c, src/proto/os_unix.pro, 20111 src/os_win32.c, src/proto/os_win32.pro, src/terminal.c 20112 20113Patch 8.0.0900 20114Problem: :tab options doesn't open a new tab page. (Aviany) 20115Solution: Support the :tab modifier. (closes #1960) 20116Files: src/ex_cmds2.c, runtime/optwin.vim 20117 20118Patch 8.0.0901 20119Problem: Asan suppress file missing from distribution. 20120Solution: Add the file. 20121Files: Filelist 20122 20123Patch 8.0.0902 20124Problem: Cannot specify directory or environment for a job. 20125Solution: Add the "cwd" and "env" arguments to job options. (Yasuhiro 20126 Matsumoto, closes #1160) 20127Files: runtime/doc/channel.txt, src/channel.c, src/terminal.c, 20128 src/os_unix.c, src/os_win32.c, src/structs.h, 20129 src/testdir/test_channel.vim, src/testdir/test_terminal.vim 20130 20131Patch 8.0.0903 (after 8.0.0902) 20132Problem: Early return from test function. 20133Solution: Remove the return. 20134Files: src/testdir/test_terminal.vim 20135 20136Patch 8.0.0904 20137Problem: Cannot set a location list from text. 20138Solution: Add the "text" argument to setqflist(). (Yegappan Lakshmanan) 20139Files: runtime/doc/eval.txt, src/quickfix.c, 20140 src/testdir/test_quickfix.vim 20141 20142Patch 8.0.0905 20143Problem: MS-Windows: broken multi-byte characters in the console. 20144Solution: Restore all regions of the console buffer. (Ken Takata) 20145Files: src/os_win32.c 20146 20147Patch 8.0.0906 20148Problem: Don't recognize Couchbase files. 20149Solution: Add filetype detection. (Eugene Ciurana, closes #1951) 20150Files: runtime/filetype.vim, src/testdir/test_filetype.vim 20151 20152Patch 8.0.0907 20153Problem: With cp932 font names might be misinterpreted. 20154Solution: Do not see "_" as a space when it is the second byte of a double 20155 byte character. (Ken Takata) 20156Files: src/os_win32.c 20157 20158Patch 8.0.0908 20159Problem: Cannot set terminal size with options. 20160Solution: Add "term_rows", "term_cols" and "vertical". 20161Files: src/terminal.c, runtime/doc/eval.txt, src/channel.c, 20162 src/proto/channel.pro, src/structs.h, src/evalfunc.c, 20163 src/testdir/test_terminal.vim 20164 20165Patch 8.0.0909 20166Problem: Channel test fails. 20167Solution: Allow for "cwd" and "env" arguments. 20168Files: src/channel.c 20169 20170Patch 8.0.0910 20171Problem: Cannot create a terminal in the current window. 20172Solution: Add option "curwin" and ++curwin. 20173Files: src/terminal.c, runtime/doc/eval.txt, src/channel.c, 20174 src/structs.h, src/ex_cmds.h, src/testdir/test_terminal.vim 20175 20176Patch 8.0.0911 20177Problem: Terminal test takes too long. 20178Solution: Instead of "sleep 1" use a Python program to briefly sleep. 20179Files: src/testdir/test_terminal.vim, src/testdir/test_short_sleep.py 20180 20181Patch 8.0.0912 20182Problem: Cannot run a job in a hidden terminal. 20183Solution: Add option "hidden" and ++hidden. 20184Files: src/terminal.c, src/structs.h, src/channel.c, src/fileio.c, 20185 runtime/doc/terminal.txt, src/testdir/test_terminal.vim 20186 20187Patch 8.0.0913 20188Problem: MS-Windows: CTRL-C kills shell in terminal window instead of the 20189 command running in the shell. 20190Solution: Make CTRL-C only send a CTRL_C_EVENT and have CTRL-BREAK kill the 20191 job. (partly by Yasuhiro Matsumoto, closes #1962) 20192Files: src/os_win32.c, src/gui_w32.c, src/terminal.c, src/globals.h 20193 20194Patch 8.0.0914 20195Problem: Highlight attributes are always combined. 20196Solution: Add the 'nocombine' value to replace attributes instead of 20197 combining them. (scauligi, closes #1963) 20198Files: runtime/doc/syntax.txt, src/syntax.c, src/vim.h 20199 20200Patch 8.0.0915 20201Problem: Wrong initialisation of global. 20202Solution: Use INIT(). 20203Files: src/globals.h 20204 20205Patch 8.0.0916 20206Problem: Cannot specify properties of window for when opening a window for 20207 a finished terminal job. 20208Solution: Add "term_opencmd". 20209Files: src/channel.c, src/structs.h, src/terminal.c, 20210 runtime/doc/eval.txt, src/testdir/test_terminal.vim 20211 20212Patch 8.0.0917 20213Problem: MS-Windows:CTRL-C handling in terminal window is wrong 20214Solution: Pass CTRL-C as a key. Turn CTRL-BREAK into a key stroke. (Yasuhiro 20215 Matsumoto, closes #1965) 20216Files: src/os_win32.c, src/terminal.c 20217 20218Patch 8.0.0918 20219Problem: Cannot get terminal window cursor shape or attributes. 20220Solution: Support cursor shape, attributes and color. 20221Files: src/terminal.c, runtime/doc/eval.txt, 20222 src/libvterm/include/vterm.h, src/libvterm/src/state.c, 20223 src/libvterm/src/vterm.c, src/feature.h, src/ui.c, 20224 src/proto/ui.pro, src/term.c, src/proto/term.pro, 20225 src/option.c, src/term.h 20226 20227Patch 8.0.0919 20228Problem: Cursor color isn't set on startup. 20229Solution: Initialize showing_mode to invalid value. 20230Files: src/term.c 20231 20232Patch 8.0.0920 20233Problem: The cursor shape is wrong after switch back from an alternate 20234 screen in a terminal window. (Marius Gedminas) 20235Solution: Change bitfield to unsigned. Set flag that cursor shape was set. 20236Files: src/terminal.c, src/libvterm/src/vterm_internal.h 20237 20238Patch 8.0.0921 20239Problem: Terminal window cursor shape not supported in the GUI. 20240Solution: Use the terminal window cursor shape in the GUI. 20241Files: src/terminal.c, src/proto/terminal.pro, src/gui.c, src/syntax.c, 20242 src/proto/syntax.pro 20243 20244Patch 8.0.0922 20245Problem: Quickfix list always added after current one. 20246Solution: Make it possible to add a quickfix list after the last one. 20247 (Yegappan Lakshmanan) 20248Files: runtime/doc/eval.txt, src/quickfix.c, 20249 src/testdir/test_quickfix.vim 20250 20251Patch 8.0.0923 20252Problem: Crash in GUI when terminal job exits. (Kazunobu Kuriyama) 20253Solution: reset in_terminal_loop when a terminal is freed. 20254Files: src/terminal.c, src/testdir/test_terminal.vim 20255 20256Patch 8.0.0924 20257Problem: Terminal window not updated after using term_sendkeys(). 20258Solution: Call redraw_after_callback(). 20259Files: src/terminal.c 20260 20261Patch 8.0.0925 20262Problem: MS-Windows GUI: channel I/O not handled right away. 20263Solution: Don't call process_message() unless a message is available. 20264 (Yasuhiro Matsumoto, closes #1969) 20265Files: src/gui_w32.c 20266 20267Patch 8.0.0926 20268Problem: When job in terminal window ends topline may be wrong. 20269Solution: When the job ends adjust topline so that the active part of the 20270 terminal is displayed. 20271Files: src/terminal.c 20272 20273Patch 8.0.0927 20274Problem: If a terminal job sends a blank title "running" is not shown. 20275Solution: When the title is blank make it empty. 20276Files: src/terminal.c 20277 20278Patch 8.0.0928 20279Problem: MS-Windows: passing arglist to job has escaping problems. 20280Solution: Improve escaping. (Yasuhiro Matsumoto, closes #1954) 20281Files: src/testdir/test_channel.vim, src/testdir/test_terminal.vim, 20282 src/channel.c, src/proto/channel.pro, src/terminal.c 20283 20284Patch 8.0.0929 20285Problem: :term without argument does not work. 20286Solution: Use shell for empty command. (Yasuhiro Matsumoto, closes #1970) 20287Files: src/terminal.c 20288 20289Patch 8.0.0930 20290Problem: Terminal buffers are stored in the viminfo file while they can't 20291 be useful. 20292Solution: Skip terminal buffers for file marks and buffer list 20293Files: src/buffer.c, src/mark.c 20294 20295Patch 8.0.0931 20296Problem: getwininfo() does not indicate a terminal window. 20297Solution: Add "terminal" to the dictionary. 20298Files: runtime/doc/eval.txt, src/evalfunc.c 20299 20300Patch 8.0.0932 20301Problem: Terminal may not use right characters for BS and Enter. 20302Solution: Get the characters from the tty. 20303Files: src/os_unix.c, src/proto/os_unix.pro, src/terminal.c 20304 20305Patch 8.0.0933 20306Problem: Terminal test tries to start GUI when it's not possible. 20307Solution: Check if the GUI can run. (James McCoy, closes #1971) 20308Files: src/testdir/shared.vim, src/testdir/test_terminal.vim, 20309 src/testdir/test_gui.vim, src/testdir/test_gui_init.vim 20310 20311Patch 8.0.0934 (after 8.0.0932) 20312Problem: Change to struts.h missing in patch. 20313Solution: Include adding ttyinfo_T. 20314Files: src/structs.h 20315 20316Patch 8.0.0935 20317Problem: Cannot recognize a terminal buffer in :ls output. 20318Solution: Use R for a running job and F for a finished job. 20319Files: src/buffer.c 20320 20321Patch 8.0.0936 20322Problem: mode() returns wrong value for a terminal window. 20323Solution: Return 't' when typed keys go to a job. 20324Files: src/evalfunc.c, src/testdir/test_terminal.vim 20325 20326Patch 8.0.0937 20327Problem: User highlight groups are not adjusted for StatusLineTerm. 20328Solution: Combine attributes like for StatusLineNC. 20329Files: src/syntax.c, src/globals.h, src/screen.c 20330 20331Patch 8.0.0938 20332Problem: Scrolling in terminal window is inefficient. 20333Solution: Use win_del_lines(). 20334Files: src/terminal.c 20335 20336Patch 8.0.0939 20337Problem: Test_terminal_env is flaky. (James McCoy) 20338Solution: Use WaitFor() instead of term_wait(). 20339Files: src/testdir/test_terminal.vim 20340 20341Patch 8.0.0940 20342Problem: Test_terminal_scrape_multibyte is flaky. (James McCoy) 20343Solution: Use WaitFor() instead of term_wait(). 20344Files: src/testdir/test_terminal.vim 20345 20346Patch 8.0.0941 20347Problem: Existing color schemes don't work well with StatusLineTerm. 20348Solution: Don't use "reverse", use fg and bg colors. Also add 20349 StatusLineTermNC. 20350Files: src/syntax.c, src/vim.h, src/screen.c, src/globals.h, src/option.c 20351 20352Patch 8.0.0942 20353Problem: Using freed memory with ":terminal" if an autocommand changes 20354 'shell' when splitting the window. (Marius Gedminas) 20355Solution: Make a copy of 'shell'. (closes #1974) 20356Files: src/terminal.c 20357 20358Patch 8.0.0943 20359Problem: Test_terminal_scrape_multibyte fails if the codepage is not utf-8. 20360Solution: Start "cmd" with the utf-8 codepage. (micbou, closes #1975) 20361Files: src/testdir/test_terminal.vim 20362 20363Patch 8.0.0944 20364Problem: Test_profile is a little bit flaky. 20365Solution: Accept a match when self and total time are the same. (James 20366 McCoy, closes #1972) 20367Files: src/testdir/test_profile.vim 20368 20369Patch 8.0.0945 20370Problem: 64-bit compiler warnings. 20371Solution: Use "size_t" instead of "int". (Mike Williams) 20372Files: src/os_win32.c 20373 20374Patch 8.0.0946 20375Problem: Using PATH_MAX does not work well on some systems. 20376Solution: use MAXPATHL instead. (James McCoy, closes #1973) 20377Files: src/main.c 20378 20379Patch 8.0.0947 20380Problem: When in Insert mode and using CTRL-O CTRL-W CTRL-W to move to a 20381 terminal window, get in a weird Insert mode. 20382Solution: Don't go to Insert mode in a terminal window. (closes #1977) 20383Files: src/normal.c 20384 20385Patch 8.0.0948 20386Problem: Crash if timer closes window while dragging status line. 20387Solution: Check if the window still exists. (Yasuhiro Matsumoto, closes 20388 #1979) 20389Files: src/edit.c, src/evalfunc.c, src/gui.c, src/normal.c, src/ui.c 20390 20391Patch 8.0.0949 20392Problem: winpty.dll name is fixed. 20393Solution: Add the 'winptydll' option. Make the default name depend on 20394 whether it is a 32-bit or 64-bit build. (idea by Yasuhiro 20395 Matsumoto, closes #1978) 20396Files: src/option.c, src/option.h, src/terminal.c, 20397 runtime/doc/options.txt 20398 20399Patch 8.0.0950 20400Problem: MS-Windows: wrong #ifdef, compiler warnings for signed/unsigned. 20401Solution: Change variable type. Change TERMINAL to FEAT_TERMINAL. 20402Files: src/os_win32.c, src/option.h 20403 20404Patch 8.0.0951 20405Problem: Another wrong #ifdef. 20406Solution: Change TERMINAL to FEAT_TERMINAL. (closes #1981) 20407Files: src/option.c 20408 20409Patch 8.0.0952 20410Problem: MS-Windows: has('terminal') does not check existence of dll file. 20411Solution: Check if the winpty dll file can be loaded. (Ken Takata) 20412Files: src/evalfunc.c, src/proto/terminal.pro, src/terminal.c 20413 20414Patch 8.0.0953 20415Problem: Get "no write since last change" error in terminal window. 20416Solution: Use another message when closing a terminal window. Make ":quit!" 20417 also end the job. 20418Files: src/globals.h, src/buffer.c, src/proto/buffer.pro, src/ex_cmds.c, 20419 src/ex_cmds2.c, src/ex_docmd.c, src/quickfix.c, src/terminal.c 20420 20421Patch 8.0.0954 20422Problem: /proc/self/exe might be a relative path. 20423Solution: Make the path a full path. (James McCoy, closes #1983) 20424Files: src/main.c 20425 20426Patch 8.0.0955 20427Problem: Test_existent_file() fails on some file systems. 20428Solution: Run the test again with a sleep when the test fails without a 20429 sleep. (James McCoy, closes #1984) 20430Files: src/testdir/test_stat.vim 20431 20432Patch 8.0.0956 20433Problem: Scrolling in a terminal hwindow as flicker when the Normal 20434 background differs from the terminal window background. 20435Solution: Set the attribute to clear with. 20436Files: src/terminal.c, src/screen.c, src/proto/screen.pro, src/message.c, 20437 src/move.c 20438 20439Patch 8.0.0957 20440Problem: When term_sendkeys() sends many keys it may get stuck in writing 20441 to the job. 20442Solution: Make the write non-blocking, buffer keys to be sent. 20443Files: src/terminal.c, src/channel.c, src/proto/channel.pro, 20444 src/structs.h src/testdir/test_terminal.vim 20445 20446Patch 8.0.0958 20447Problem: The terminal test fails on MS-Windows when compiled with the 20448 terminal feature but the winpty DLL is missing. 20449Solution: Check if the terminal feature works. (Ken Takata) 20450Files: src/testdir/test_terminal.vim 20451 20452Patch 8.0.0959 20453Problem: Build failure on MS-Windows. 20454Solution: Use ioctlsocket() instead of fcntl(). 20455Files: src/channel.c 20456 20457Patch 8.0.0960 20458Problem: Job in terminal does not get CTRL-C, we send a SIGINT instead. 20459Solution: Don't call may_send_sigint() on CTRL-C. Make CTRL-W CTRL-C end 20460 the job. 20461Files: src/terminal.c, runtime/doc/terminal.txt 20462 20463Patch 8.0.0961 20464Problem: The script to build the installer does not include winpty. 20465Solution: Add winpty32.dll and winpty-agent.exe like diff.exe 20466Files: nsis/gvim.nsi 20467 20468Patch 8.0.0962 20469Problem: Crash with virtualedit and joining lines. (Joshua T Corbin, Neovim 20470 #6726) 20471Solution: When using a mark check that coladd is valid. 20472Files: src/normal.c, src/misc2.c, src/Makefile, 20473 src/testdir/test_virtualedit.vim, src/testdir/test_alot.vim 20474 20475Patch 8.0.0963 20476Problem: Terminal test fails on MacOS. (chdiza) 20477Solution: Wait for the shell to echo the characters. (closes #1991) 20478Files: src/testdir/test_terminal.vim 20479 20480Patch 8.0.0964 20481Problem: Channel write buffer does not work with poll(). 20482Solution: Use the same mechanism as with select(). 20483Files: src/channel.c 20484 20485Patch 8.0.0965 20486Problem: The cursor shape is not reset after it was changed in a terminal. 20487Solution: Request the original cursor shape and restore it. Add t_RS. 20488 Do not add t_SH for now, it does not work properly. 20489Files: src/term.c, src/term.h, src/option.c, src/terminal.c 20490 20491Patch 8.0.0966 (after 8.0.0965) 20492Problem: Build failure without terminal feature. 20493Solution: Move #endif. 20494Files: src/term.c 20495 20496Patch 8.0.0967 20497Problem: Using a terminal may cause the cursor to blink. 20498Solution: Do not set t_vs, since we cannot restore the old blink state. 20499Files: src/term.c 20500 20501Patch 8.0.0968 20502Problem: Crash when switching terminal modes. (Nikolai Pavlov) 20503Solution: Check that there are scrollback lines. 20504Files: src/terminal.c 20505 20506Patch 8.0.0969 20507Problem: Coverity warning for unused return value. 20508Solution: Add (void) to avoid the warning. 20509Files: src/channel.c 20510 20511Patch 8.0.0970 20512Problem: if there is no StatusLine highlighting and there is StatusLineNC 20513 or StatusLineTermNC highlighting then an invalid highlight id is 20514 passed to combine_stl_hlt(). (Coverity) 20515Solution: Check id_S to be -1 instead of zero. 20516Files: src/syntax.c 20517 20518Patch 8.0.0971 20519Problem: 'winptydll' missing from :options. 20520Solution: Add the entry. 20521Files: runtime/optwin.vim 20522 20523Patch 8.0.0972 20524Problem: Compiler warnings for unused variables. (Tony Mechelynck) 20525Solution: Add #ifdefs. 20526Files: src/term.c 20527 20528Patch 8.0.0973 20529Problem: initial info about blinking cursor is wrong 20530Solution: Invert the blink flag. Add t_VS to stop a blinking cursor. 20531Files: src/term.c, src/proto/term.pro, src/term.h, src/option.c, 20532 src/terminal.c 20533 20534Patch 8.0.0974 20535Problem: Resetting a string option does not trigger OptionSet. (Rick Howe) 20536Solution: Set the origval. 20537Files: src/option.c, src/testdir/test_autocmd.vim 20538 20539Patch 8.0.0975 20540Problem: Using freed memory when setting 'backspace'. 20541Solution: When changing oldval also change origval. 20542Files: src/option.c 20543 20544Patch 8.0.0976 20545Problem: Cannot send lines to a terminal job. 20546Solution: Make [range]terminal send selected lines to the job. 20547 Use ++rows and ++cols for the terminal size. 20548Files: src/ex_cmds.h, src/terminal.c, src/os_unix.c, 20549 src/testdir/test_terminal.vim 20550 20551Patch 8.0.0977 20552Problem: Cannot send lines to a terminal job on MS-Windows. 20553Solution: Set jv_in_buf. Command doesn't get EOF yet though. 20554Files: src/terminal.c 20555 20556Patch 8.0.0978 20557Problem: Writing to terminal job is not tested. 20558Solution: Add a test. 20559Files: src/testdir/test_terminal.vim 20560 20561Patch 8.0.0979 20562Problem: Terminal noblock test fails on MS-Windows. (Christian Brabandt) 20563Solution: Ignore empty line below "done". 20564Files: src/testdir/test_terminal.vim 20565 20566Patch 8.0.0980 20567Problem: Coverity warning for failing to open /dev/null. 20568Solution: When /dev/null can't be opened exit the child. 20569Files: src/os_unix.c 20570 20571Patch 8.0.0981 20572Problem: Cursor in terminal window blinks by default, while in a real xterm 20573 it does not blink, unless the -bc argument is used. 20574Solution: Do not use a blinking cursor by default. 20575Files: src/terminal.c 20576 20577Patch 8.0.0982 20578Problem: When 'encoding' is set to a multi-byte encoding other than utf-8 20579 the characters from their terminal are messed up. 20580Solution: Convert displayed text from utf-8 to 'encoding' for MS-Windows. 20581 (Yasuhiro Matsumoto, close #2000) 20582Files: src/terminal.c 20583 20584Patch 8.0.0983 20585Problem: Unnecessary check for NULL pointer. 20586Solution: Remove the NULL check in dialog_changed(), it already happens in 20587 dialog_msg(). (Ken Takata) 20588Files: src/ex_cmds2.c 20589 20590Patch 8.0.0984 20591Problem: Terminal blinking cursor not correct in the GUI. 20592Solution: Set blinkoff correctly. Also make the cursor blink on MS-Windows 20593 by default. (Ken Takata) 20594Files: src/terminal.c 20595 20596Patch 8.0.0985 20597Problem: Libvterm has its own idea of character width. 20598Solution: Use the Vim functions for character width and composing to avoid a 20599 mismatch. (idea by Yasuhiro Matsumoto) 20600Files: src/Makefile, src/libvterm/src/unicode.c, src/mbyte.c, 20601 src/proto/mbyte.pro, src/Make_cyg_ming.mak, src/Make_mvc.mak 20602 20603Patch 8.0.0986 20604Problem: Terminal feature always requires multi-byte feature. 20605Solution: Remove #ifdef FEAT_MBYTE, disable terminal without multi-byte. 20606Files: src/terminal.c, src/feature.h 20607 20608Patch 8.0.0987 20609Problem: terminal: second byte of double-byte char wrong 20610Solution: Set the second byte to NUL only for utf-8 and non-multibyte. 20611Files: src/terminal.c 20612 20613Patch 8.0.0988 20614Problem: Warning from Covscan about using NULL pointer. 20615Solution: Add extra check for NULL. (zdohnal) 20616Files: src/fileio.c, src/undo.c 20617 20618Patch 8.0.0989 20619Problem: ActiveTcl dll name has changed in 8.6.6. 20620Solution: Adjust the makefile. (Ken Takata) 20621Files: src/INSTALLpc.txt, src/Make_cyg_ming.mak, src/Make_mvc.mak 20622 20623Patch 8.0.0990 20624Problem: When 'encoding' is a double-byte encoding, pasting a register into 20625 a terminal ends up with the wrong characters. 20626Solution: Convert from 'encoding' to utf-8. (Yasuhiro Matsumoto, closes 20627 #2007) 20628Files: src/terminal.c 20629 20630Patch 8.0.0991 20631Problem: Using wrong character conversion for DBCS. 20632Solution: Use utf_char2bytes instead of mb_char2bytes. (Yasuhiro Matsumoto, 20633 closes #2012) 20634Files: src/terminal.c 20635 20636Patch 8.0.0992 20637Problem: Terminal title is wrong when 'encoding' is DBCS. 20638Solution: Convert the title from DBCS to utf-8. (Yasuhiro Matsumoto, closes 20639 #2009) 20640Files: src/terminal.c 20641 20642Patch 8.0.0993 20643Problem: Sometimes an xterm sends an extra CTRL-X after the response for 20644 the background color. Related to t_RS. 20645Solution: Check for the CTRL-X after the terminating 0x7. 20646Files: src/term.c 20647 20648Patch 8.0.0994 20649Problem: MS-Windows: cursor in terminal blinks even though the blinking 20650 cursor was disabled on the system. 20651Solution: Use GetCaretBlinkTime(). (Ken Takata) 20652Files: src/terminal.c 20653 20654Patch 8.0.0995 20655Problem: Terminal tests fail on Mac. 20656Solution: Add workaround: sleep a moment in between sending keys. 20657Files: src/testdir/test_terminal.vim 20658 20659Patch 8.0.0996 20660Problem: Mac: t_RS is echoed on the screen in Terminal.app. Even though 20661 $TERM is set to "xterm-256colors" it cannot handle this xterm 20662 escape sequence. 20663Solution: Recognize Terminal.app from the termresponse and skip sending t_RS 20664 if it looks like Terminal.app. 20665Files: src/term.c 20666 20667Patch 8.0.0997 (after 8.0.0996) 20668Problem: Libvterm and Terminal.app not recognized from termresponse. 20669Solution: Adjust string compare. 20670Files: src/term.c 20671 20672Patch 8.0.0998 20673Problem: Strange error when using K while only spaces are selected. 20674 (Christian J. Robinson) 20675Solution: Check for blank argument. 20676Files: src/normal.c, src/testdir/test_help.vim 20677 20678Patch 8.0.0999 20679Problem: Indenting raw C++ strings is wrong. 20680Solution: Add special handling of raw strings. (Christian Brabandt) 20681Files: src/misc1.c, src/testdir/test_cindent.vim 20682 20683Patch 8.0.1000 20684Problem: Cannot open a terminal without running a job in it. 20685Solution: Make ":terminal NONE" open a terminal with a pty. 20686Files: src/terminal.c, src/os_unix.c, src/proto/os_unix.pro, 20687 src/channel.c, src/proto/channel.pro, src/structs.h, 20688 src/testdir/test_terminal.c, src/misc2.c, src/gui_gtk_x11.c 20689 20690Patch 8.0.1001 20691Problem: Setting 'encoding' makes 'printheader' invalid. 20692Solution: Do not translate the default value of 'printheader'. (Yasuhiro 20693 Matsumoto, closes #2026) 20694Files: src/option.c 20695 20696Patch 8.0.1002 20697Problem: Unnecessarily updating screen after timer callback. 20698Solution: Check if calling the timer sets must_redraw. 20699Files: src/ex_cmds2.c, src/channel.c, src/screen.c, src/proto/screen.pro, 20700 src/terminal.c 20701 20702Patch 8.0.1003 20703Problem: 64 bit compiler warning 20704Solution: Add type cast. (Mike Williams) 20705Files: src/channel.c 20706 20707Patch 8.0.1004 20708Problem: matchstrpos() without a match returns too many items. 20709Solution: Also remove the second item when the position is beyond the end of 20710 the string. (Hirohito Higashi) Use an enum for the type. 20711Files: src/evalfunc.c, src/testdir/test_match.vim 20712 20713Patch 8.0.1005 20714Problem: Terminal without job updates slowly in GUI. 20715Solution: Poll for input when a channel has the keep_open flag. 20716Files: src/channel.c, src/proto/channel.pro, src/gui_gtk_x11.c 20717 20718Patch 8.0.1006 20719Problem: Cannot parse text with 'errorformat' without changing a quickfix 20720 list. 20721Solution: Add the "text" argument to getqflist(). (Yegappan Lakshmanan) 20722Files: runtime/doc/eval.txt, src/evalfunc.c, src/proto/quickfix.pro, 20723 src/quickfix.c, src/testdir/test_quickfix.vim 20724 20725Patch 8.0.1007 20726Problem: No test for filetype detection for scripts. 20727Solution: Add a first test file script filetype detection. 20728Files: src/testdir/test_filetype.vim, runtime/scripts.vim 20729 20730Patch 8.0.1008 20731Problem: Slow updating of terminal window in Motif. 20732Solution: Add a timeout to the wait-for-character loop. 20733Files: src/gui_x11.c 20734 20735Patch 8.0.1009 20736Problem: Xterm cursor blinking status may be inverted. 20737Solution: Use another request to get the blink status and compare with the 20738 cursor style report 20739Files: src/term.c, src/proto/term.pro, src/term.h, src/option.c, 20740 src/terminal.c 20741 20742Patch 8.0.1010 (after 8.0.1009) 20743Problem: Build failure without termresponse feature. 20744Solution: Add #ifdef. 20745Files: src/term.c 20746 20747Patch 8.0.1011 20748Problem: Terminal test fails with Athena and Motif. 20749Solution: Ignore the error for the input context. (Kazunobu Kuriyama) 20750Files: src/testdir/test_terminal.vim 20751 20752Patch 8.0.1012 20753Problem: MS-Windows: Problem with $HOME when it was set internally. 20754Solution: Only use the $HOME default internally. (Yasuhiro Matsumoto, closes 20755 #2013) 20756Files: src/misc1.c, src/testdir/Make_all.mak, src/Makefile, 20757 src/testdir/test_windows_home.vim 20758 20759Patch 8.0.1013 20760Problem: A terminal window with a running job behaves different from a 20761 window containing a changed buffer. 20762Solution: Do not set 'bufhidden' to "hide". Fix that a buffer where a 20763 terminal used to run is listed as "[Scratch]". 20764Files: src/terminal.c, runtime/doc/terminal.txt, src/buffer.c 20765 20766Patch 8.0.1014 20767Problem: Old compiler doesn't know uint32_t. Warning for using NULL instead 20768 of NUL. 20769Solution: Use UINT32_T. Use NUL instead of NULL. 20770Files: src/mbyte.c, src/proto/mbyte.pro, src/misc1.c 20771 20772Patch 8.0.1015 (after 8.0.1013) 20773Problem: Missing update to terminal test. 20774Solution: Add the changes to the test. 20775Files: src/testdir/test_terminal.vim 20776 20777Patch 8.0.1016 20778Problem: Gnome terminal echoes t_RC. 20779Solution: Detect Gnome terminal by the version string. Add v: variables for 20780 all the term responses. 20781Files: src/term.c, src/eval.c, src/vim.h, runtime/doc/eval.txt 20782 20783Patch 8.0.1017 20784Problem: Test for MS-Windows $HOME always passes. 20785Solution: Rename the test function. Make the test pass. 20786Files: src/testdir/test_windows_home.vim 20787 20788Patch 8.0.1018 20789Problem: Warnings from 64-bit compiler. (Christian Brabandt) 20790Solution: Add type casts. 20791Files: src/terminal.c 20792 20793Patch 8.0.1019 20794Problem: Pasting in virtual edit happens in the wrong place. 20795Solution: Do not adjust coladd when after the end of the line (closes #2015) 20796Files: src/testdir/test_virtualedit.vim, src/misc2.c 20797 20798Patch 8.0.1020 20799Problem: When a timer calls getchar(1) input is overwritten. 20800Solution: Increment tb_change_cnt in inchar(). (closes #1940) 20801Files: src/getchar.c 20802 20803Patch 8.0.1021 20804Problem: Older Gnome terminal still echoes t_RC. (François Ingelrest) 20805Solution: Check for version > 3000 instead of 4000. 20806Files: src/term.c 20807 20808Patch 8.0.1022 20809Problem: Test 80 is old style. 20810Solution: Turn it into a new style test. (Yegappan Lakshmanan) 20811Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms, 20812 src/testdir/test80.in, src/testdir/test80.ok, 20813 src/testdir/test_substitute.vim 20814 20815Patch 8.0.1023 20816Problem: It is not easy to identify a quickfix list. 20817Solution: Add the "id" field. (Yegappan Lakshmanan) 20818Files: runtime/doc/eval.txt, runtime/doc/quickfix.txt, src/quickfix.c, 20819 src/testdir/test_quickfix.vim 20820 20821Patch 8.0.1024 20822Problem: Manual folds are lost when a session file has the same buffer in 20823 two windows. (Jeansen) 20824Solution: Use ":edit" only once. (Christian Brabandt, closes #1958) 20825Files: src/ex_docmd.c, src/testdir/test_mksession.vim 20826 20827Patch 8.0.1025 20828Problem: Stray copy command in test. 20829Solution: Remove the copy command. 20830Files: src/testdir/test_mksession.vim 20831 20832Patch 8.0.1026 20833Problem: GTK on-the-spot input has problems. (Gerd Wachsmuth) 20834Solution: Support over-the-spot. (Yukihiro Nakadaira, Ken Takata, closes 20835 #1215) 20836Files: runtime/doc/mbyte.txt, runtime/doc/options.txt, src/edit.c, 20837 src/ex_getln.c, src/mbyte.c, src/misc1.c, src/option.c, 20838 src/option.h, src/screen.c, src/undo.c, 20839 src/testdir/gen_opt_test.vim 20840 20841Patch 8.0.1027 20842Problem: More terminals can't handle requesting cursor mode. 20843Solution: Recognize Putty. (Hirohito Higashi) Also include Xfce in the 20844 version check. (Dominique Pelle) Recognize Konsole. 20845Files: src/term.c 20846 20847Patch 8.0.1028 20848Problem: MS-Windows: viminfo uses $VIM/_viminfo if $HOME not set. (Yongwei 20849 Wu) 20850Solution: Use vim_getenv() but check it's returning the default "C:/". 20851Files: src/ex_cmds.c 20852 20853Patch 8.0.1029 20854Problem: Return value of getqflist() is inconsistent. (Lcd47) 20855Solution: Always return an "items" entry. 20856Files: src/quickfix.c, src/testdir/test_quickfix.vim 20857 20858Patch 8.0.1030 20859Problem: MS-Windows: wrong size computation in is_cygpty(). 20860Solution: Compute the size properly. (Ken Takata) 20861Files: src/iscygpty.c, src/iscygpty.h 20862 20863Patch 8.0.1031 20864Problem: "text" argument for getqflist() is confusing. (Lcd47) 20865Solution: Use "lines" instead. (Yegappan Lakshmanan) 20866Files: runtime/doc/eval.txt, src/quickfix.c, 20867 src/testdir/test_quickfix.vim 20868 20869Patch 8.0.1032 20870Problem: "make tags" doesn't work well on MS-Windows. 20871Solution: Add or fix tags target. (Ken Takata) 20872Files: src/Make_cyg_ming.mak, src/Make_mvc.mak 20873 20874Patch 8.0.1033 20875Problem: Detecting background color does not work in screen, even when it 20876 is working like an xterm. 20877Solution: Make "screen.xterm" use termcap entries like an xterm. (Lubomir 20878 Rintel, closes #2048) When termresponse version is huge also 20879 recognize as not being an xterm. 20880Files: src/os_unix.c, src/term.c 20881 20882Patch 8.0.1034 20883Problem: Sending buffer lines to terminal doesn't work on MS-Windows. 20884Solution: Send CTRL-D to mark the end of the text. (Yasuhiro Matsumoto, 20885 closes #2043) Add the "eof_chars" option. 20886Files: src/channel.c, src/proto/terminal.pro, src/terminal.c, 20887 src/testdir/test_terminal.vim, src/structs.h 20888 20889Patch 8.0.1035 20890Problem: Sending buffer lines to terminal doesn't work on MS-Windows. 20891Solution: Use CR instead of NL after every line. Make the EOF text work 20892 properly. Add the ++eof argument to :terminal. 20893Files: src/structs.h, src/channel.c, src/terminal.c, 20894 runtime/doc/terminal.txt, runtime/doc/eval.txt 20895 20896Patch 8.0.1036 20897Problem: ++eof argument for terminal only available on MS-Windows. 20898Solution: Also support ++eof on Unix. Add a test. 20899Files: src/channel.c, src/terminal.c, src/structs.h, 20900 src/testdir/test_terminal.vim 20901 20902Patch 8.0.1037 20903Problem: "icase" of 'diffopt' is not used for highlighting differences. 20904Solution: Also use "icase". (Rick Howe) 20905Files: src/diff.c, src/testdir/test_diffmode.vim 20906 20907Patch 8.0.1038 20908Problem: Strike-through text not supported. 20909Solution: Add support for the "strikethrough" attribute. (Christian 20910 Brabandt, Ken Takata) 20911Files: runtime/doc/eval.txt, runtime/doc/options.txt, 20912 runtime/doc/syntax.txt, runtime/doc/term.txt, src/evalfunc.c, 20913 src/gui.c, src/gui.h, src/gui_gtk_x11.c, src/gui_mac.c, 20914 src/gui_w32.c, src/gui_x11.c, src/option.c, src/screen.c, 20915 src/syntax.c, src/term.c, src/term.h, src/terminal.c, src/vim.h 20916 20917Patch 8.0.1039 20918Problem: Cannot change a line in a buffer other than the current one. 20919Solution: Add setbufline(). (Yasuhiro Matsumoto, Ozaki Kiichi, closes #1953) 20920Files: src/evalfunc.c, runtime/doc/eval.txt, src/Makefile, 20921 src/testdir/test_bufline.vim, src/testdir/test_alot.vim 20922 20923 20924Patch 8.0.1040 20925Problem: Cannot use another error format in getqflist(). 20926Solution: Add the "efm" argument to getqflist(). (Yegappan Lakshmanan) 20927Files: runtime/doc/eval.txt, src/quickfix.c, 20928 src/testdir/test_quickfix.vim 20929 20930Patch 8.0.1041 20931Problem: Bogus characters appear when indenting kicks in while doing a 20932 visual-block append. 20933Solution: Recompute when indenting is done. (Christian Brabandt) 20934Files: runtime/doc/visual.txt, src/charset.c, src/edit.c, src/misc1.c, 20935 src/ops.c, src/proto/charset.pro, src/proto/misc1.pro, 20936 src/screen.c, src/spell.c, src/testdir/test_cindent.vim 20937 20938Patch 8.0.1042 (after 8.0.1038) 20939Problem: Without the syntax feature highlighting doesn't work. 20940Solution: Always use unsigned short to store attributes. 20941Files: src/vim.h 20942 20943Patch 8.0.1043 20944Problem: Warning for uninitialized variable. (John Marriott) 20945Solution: Move code to check indent inside "if". 20946Files: src/ops.c 20947 20948Patch 8.0.1044 20949Problem: Warning for uninitialized variable. (John Marriott) 20950Solution: Initialize ind_pre. 20951Files: src/ops.c 20952 20953Patch 8.0.1045 20954Problem: Running tests may pollute shell history. (Manuel Ortega) 20955Solution: Make $HISTFILE empty. 20956Files: src/testdir/setup.vim 20957 20958Patch 8.0.1046 20959Problem: Code duplication in diff mode. 20960Solution: Use diff_equal_char() also in diff_cmp(). (Rick Howe) 20961Files: src/diff.c 20962 20963Patch 8.0.1047 20964Problem: Buffer overflow in Ruby. 20965Solution: Allocate one more byte. (Dominique Pelle) 20966Files: src/if_ruby.c 20967 20968Patch 8.0.1048 20969Problem: No test for what 8.0.1020 fixes. 20970Solution: Add test_feedinput(). Add a test. (Ozaki Kiichi, closes #2046) 20971Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_timers.vim, 20972 src/ui.c 20973 20974Patch 8.0.1049 20975Problem: Shell on Mac can't handle long text, making terminal test fail. 20976Solution: Only write 1000 characters instead of 5000. 20977Files: src/testdir/test_terminal.vim 20978 20979Patch 8.0.1050 20980Problem: Terminal window feature not included by default. 20981Solution: Include the terminal feature for the "huge" build. 20982Files: src/configure.ac, src/auto/configure 20983 20984Patch 8.0.1051 20985Problem: Cannot run terminal with spaces in argument. 20986Solution: Accept backslash to escape space and other characters. (closes 20987 #1999) 20988Files: src/os_unix.c, src/testdir/test_terminal.vim 20989 20990Patch 8.0.1052 20991Problem: term_start() does not allow in_io, out_io and err_io options. 20992Solution: Add JO_OUT_IO to get_job_options(). 20993Files: src/terminal.c, src/testdir/test_terminal.vim 20994 20995Patch 8.0.1053 20996Problem: setline() does not work on startup. (Manuel Ortega) 20997Solution: Do not check for ml_mfp to be set for the current buffer. 20998 (Christian Brabandt) 20999Files: src/testdir/shared.vim, src/testdir/test_alot.vim, 21000 src/testdir/test_bufline.vim, src/testdir/test_timers.vim, 21001 src/evalfunc.c 21002 21003Patch 8.0.1054 21004Problem: Terminal test fails on MS-Windows. 21005Solution: Disable the redirection test for now. Improve scrape test to make 21006 it less flaky. 21007Files: src/testdir/test_terminal.vim 21008 21009Patch 8.0.1055 21010Problem: Bufline test hangs on MS-Windows. 21011Solution: Avoid message for writing file. Source shared.vim when running 21012 test individually. 21013Files: src/testdir/test_bufline.vim, src/testdir/test_timers.vim 21014 21015Patch 8.0.1056 21016Problem: Cannot build with the diff feature but without the multi-byte 21017 feature. 21018Solution: Remove #ifdefs. (John Marriott) 21019Files: src/diff.c 21020 21021Patch 8.0.1057 21022Problem: Terminal scrape test waits too long, it checks for one instead of 21023 three. 21024Solution: Check there are three characters. (micbou) 21025Files: src/testdir/test_terminal.vim 21026 21027Patch 8.0.1058 21028Problem: Terminal redirection test is flaky. 21029Solution: Wait for job to finish. 21030Files: src/testdir/test_terminal.vim 21031 21032Patch 8.0.1059 21033Problem: older Gnome terminal returns smaller version number. (antarestrue) 21034Solution: Lower version limit from 2800 to 2500. (#2032) 21035Files: src/term.c 21036 21037Patch 8.0.1060 21038Problem: When imstyle is zero, mapping <Left> breaks preediting. 21039Solution: Pass though preediting key-events. (Yasuhiro Matsumoto, closes 21040 #2064, closes #2063) 21041Files: src/getchar.c, src/mbyte.c 21042 21043Patch 8.0.1061 21044Problem: Coverity: no check for NULL command. 21045Solution: Check for NULL list item. 21046Files: src/terminal.c 21047 21048Patch 8.0.1062 21049Problem: Coverity warnings in libvterm. 21050Solution: Add (void) to avoid warning for not checking return value. 21051 Add "break" before "case". 21052Files: src/libvterm/src/screen.c, src/libvterm/src/state.c 21053 21054Patch 8.0.1063 21055Problem: Coverity warns for NULL check and using variable pointer as an 21056 array. 21057Solution: Remove the NULL check. Make "argvar" an array. 21058Files: src/terminal.c 21059 21060Patch 8.0.1064 21061Problem: Coverity warns for leaking resource. 21062Solution: Free pty_master_fd on failure. 21063Files: src/os_unix.c 21064 21065Patch 8.0.1065 21066Problem: Not all macro examples are included in the self-installing 21067 executable. (lkintact) 21068Solution: Add the directories to the NSIS script. (closes #2065) 21069Files: nsis/gvim.nsi 21070 21071Patch 8.0.1066 21072Problem: Some terminals can't handle requesting cursor mode. (Steven 21073 Hartland) 21074Solution: Recognize vandyke SecureCRT. (closes #2008) 21075Files: src/term.c 21076 21077Patch 8.0.1067 21078Problem: Using try/catch in timer does not prevent it from being stopped. 21079Solution: Reset the exception context and use did_emsg instead of 21080 called_emsg. 21081Files: src/ex_cmds2.c, src/testdir/test_timers.vim, src/globals.h, 21082 src/message.c 21083 21084Patch 8.0.1068 (after 8.0.1066) 21085Problem: Vandyke SecureCRT terminal can't handle cursor mode request. 21086 (Steven Hartland) 21087Solution: Fix pointer computation. (closes #2008) 21088Files: src/term.c 21089 21090Patch 8.0.1069 21091Problem: Still get CTRL-X sometimes for t_RS request. 21092Solution: Also skip 0x18 after a key code response. 21093Files: src/term.c 21094 21095Patch 8.0.1070 21096Problem: Terminal test is flaky on Mac. 21097Solution: Add Test_terminal_noblock() to list of flaky tests. 21098Files: src/testdir/runtest.vim 21099 21100Patch 8.0.1071 21101Problem: $TERM names starting with "putty" and "cygwin" are likely to have 21102 a dark background, but are not recognized. 21103Solution: Only check the first few characters of $TERM to match "putty" or 21104 "cygwin". (Christian Brabandt) 21105Files: src/option.c 21106 21107Patch 8.0.1072 21108Problem: The :highlight command causes a redraw even when nothing changed. 21109Solution: Only set "need_highlight_changed" when an attribute changed. 21110Files: src/syntax.c 21111 21112Patch 8.0.1073 21113Problem: May get an endless loop if 'statusline' changes a highlight. 21114Solution: Do not let evaluating 'statusline' trigger a redraw. 21115Files: src/buffer.c 21116 21117Patch 8.0.1074 21118Problem: ":term NONE" does not work on MS-Windows. 21119Solution: Make it work. Split "pty" into "pty_in" and "pty_out". (Yasuhiro 21120 Matsumoto, closes #2058, closes #2045) 21121Files: runtime/doc/eval.txt, 21122 runtime/pack/dist/opt/termdebug/plugin/termdebug.vim, 21123 src/channel.c, src/evalfunc.c, src/os_unix.c, src/structs.h, 21124 src/terminal.c, src/testdir/test_terminal.vim 21125 21126Patch 8.0.1075 21127Problem: MS-Windows: mouse does not work in terminal. 21128Solution: Force the winpty mouse on. (Yasuhiro Matsumoto, closes #2072) 21129Files: src/terminal.c 21130 21131Patch 8.0.1076 21132Problem: term_start() does not take callbacks. When using two terminals 21133 without a job only one is read from. A terminal without a window 21134 returns the wrong pty. 21135Solution: Support "callback", "out_cb" and "err_cb". Fix terminal without a 21136 window. Fix reading from multiple channels. 21137Files: src/terminal.c, src/proto/terminal.pro, src/channel.c 21138 21139Patch 8.0.1077 21140Problem: No debugger making use of the terminal window. 21141Solution: Add the term debugger plugin. So far only displays the current 21142 line when stopped. 21143Files: Filelist, runtime/pack/dist/opt/termdebug/plugin/termdebug.vim 21144 21145Patch 8.0.1078 21146Problem: Using freed memory with ":hi Normal". 21147Solution: Get "item" again after updating the table. 21148Files: src/syntax.c 21149 21150Patch 8.0.1079 21151Problem: Memory leak when remote_foreground() fails. 21152Solution: Free the error message. 21153Files: src/evalfunc.c, src/if_xcmdsrv.c 21154 21155Patch 8.0.1080 21156Problem: Memory leak for eof_chars terminal option and buffer name. 21157Solution: Free job options. Free the buffer name 21158Files: src/terminal.c 21159 21160Patch 8.0.1081 21161Problem: Memory leak for the channel write queue. 21162Solution: Free the write queue when clearing a channel. 21163Files: src/channel.c 21164 21165Patch 8.0.1082 21166Problem: Tests fail when run under valgrind. 21167Solution: Increase waiting times. 21168Files: src/testdir/test_clientserver.vim, src/testdir/test_terminal.vim 21169 21170Patch 8.0.1083 21171Problem: Leaking memory in input part of channel. 21172Solution: Clear the input part of channel. Free the entry. Move failing 21173 command test to a separate file to avoid bogus leak reports 21174 clouding tests that should not leak. 21175Files: src/channel.c, src/testdir/test_terminal.vim, src/Makefile, 21176 src/testdir/test_terminal_fail.vim, src/testdir/Make_all.mak 21177 21178Patch 8.0.1084 21179Problem: GTK build has compiler warnings. (Christian Brabandt) 21180Solution: Get screen size with a different function. (Ken Takata, Yasuhiro 21181 Matsumoto) 21182Files: src/mbyte.c, src/gui_gtk_x11.c, src/proto/gui_gtk_x11.pro, 21183 src/gui_beval.c 21184 21185Patch 8.0.1085 21186Problem: The terminal debugger can't set breakpoints. 21187Solution: Add :Break and :Delete commands. Also commands for stepping 21188 through code. 21189Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim, 21190 runtime/doc/terminal.txt 21191 21192Patch 8.0.1086 (after 8.0.1084) 21193Problem: Can't build with GTK 3. 21194Solution: Rename function argument. (Kazunobu Kuriyama) 21195Files: src/gui_gtk_x11.c 21196 21197Patch 8.0.1087 21198Problem: Test_terminal_cwd is flaky. MS-Windows: term_start() "cwd" 21199 argument does not work. 21200Solution: Wait for the condition to be true instead of using a sleep. 21201 Pass the directory to winpty. 21202Files: src/testdir/test_terminal.vim, src/terminal.c 21203 21204Patch 8.0.1088 21205Problem: Occasional memory use after free. 21206Solution: Use the highlight table directly, don't keep a pointer. 21207Files: src/syntax.c 21208 21209Patch 8.0.1089 21210Problem: Cannot get range count in user command. 21211Solution: Add <range> argument. 21212Files: src/ex_docmd.c, runtime/doc/map.txt 21213 21214Patch 8.0.1090 21215Problem: cannot get the text under the cursor like v:beval_text 21216Solution: Add <cexpr>. 21217Files: src/ex_docmd.c, src/testdir/test_normal.vim, 21218 runtime/doc/cmdline.txt 21219 21220Patch 8.0.1091 (after 8.0.1090) 21221Problem: Test for <cexpr> fails without +balloon_eval feature. 21222Solution: Remove #ifdefs. 21223Files: src/normal.c 21224 21225Patch 8.0.1092 21226Problem: Terminal debugger can't evaluate expressions. 21227Solution: Add :Evaluate and K. Various other improvements. 21228Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim, 21229 runtime/doc/terminal.txt 21230 21231Patch 8.0.1093 21232Problem: Various small quickfix issues. 21233Solution: Remove ":" prefix from title set by a user. Add the qf_id2nr(). 21234 function. Add a couple more tests. Update documentation. 21235 (Yegappan Lakshmanan) 21236Files: runtime/doc/eval.txt, runtime/doc/quickfix.txt, src/evalfunc.c, 21237 src/proto/quickfix.pro, src/quickfix.c, 21238 src/testdir/test_quickfix.vim 21239 21240Patch 8.0.1094 21241Problem: Using ssh from Terminal.app runs into xterm incompatibility. 21242Solution: Also detect Terminal.app on non-Mac systems. 21243Files: src/term.c 21244 21245Patch 8.0.1095 21246Problem: Terminal multibyte scrape test is flaky. 21247Solution: Add another condition to wait for. 21248Files: src/testdir/test_terminal.vim 21249 21250Patch 8.0.1096 21251Problem: Terminal window in Normal mode has wrong background. 21252Solution: Store the default background and use it for clearing until the 21253 end of the line. Not for below the last line, since there is no 21254 text there. 21255Files: src/screen.c, src/terminal.c 21256 21257Patch 8.0.1097 (after 8.0.1096) 21258Problem: Background color wrong if job changes background color. 21259Solution: Get the background color from vterm. 21260Files: src/terminal.c, src/screen.c 21261 21262Patch 8.0.1098 21263Problem: Build failure if libvterm installed on the system. (Oleh 21264 Hushchenkov) 21265Solution: Change the CCCTERM argument order. (Ken Takata, closes #2080) 21266Files: src/Makefile 21267 21268Patch 8.0.1099 21269Problem: Warnings for GDK calls. 21270Solution: Use other calls for GTK 3 and fix a few problems. (Kazunobu 21271 Kuriyama) 21272Files: src/mbyte.c 21273 21274Patch 8.0.1100 21275Problem: Stuck in redraw loop when 'lazyredraw' is set. 21276Solution: Don't loop on update_screen() when not redrawing. (Yasuhiro 21277 Matsumoto, closes #2082) 21278Files: src/terminal.c, src/screen.c, src/proto/screen.pro 21279 21280Patch 8.0.1101 21281Problem: Channel write fails if writing to log fails. 21282Solution: Ignore return value of fwrite(). (Ozaki Kiichi, closes #2081) 21283Files: src/channel.c 21284 21285Patch 8.0.1102 21286Problem: Terminal window does not use Normal colors. 21287Solution: For the GUI and when 'termguicolors' is enabled, use the actual 21288 foreground and background colors for the terminal. (Yasuhiro 21289 Matsumoto, closes #2067) 21290 Use the "Terminal" highlight group if defined. 21291Files: src/terminal.c, src/syntax.c, src/proto/syntax.pro 21292 21293Patch 8.0.1103 (after 8.0.1102) 21294Problem: Converting cterm color fails for grey ramp. 21295Solution: Use index instead of number. 21296Files: src/terminal.c 21297 21298Patch 8.0.1104 21299Problem: The qf_jump() function is too long. 21300Solution: Split of parts to separate functions. (Yegappan Lakshmanan) 21301Files: src/quickfix.c 21302 21303Patch 8.0.1105 21304Problem: match() and matchend() are not tested. 21305Solution: Add tests. (Ozaki Kiichi, closes #2088) 21306Files: src/testdir/test_functions.vim, src/testdir/test_match.vim 21307 21308Patch 8.0.1106 21309Problem: Terminal colors on an MS-Windows console are not matching the 21310 normal colors. 21311Solution: Use the normal colors for the terminal. (Yasuhiro Matsumoto, 21312 closes #2087) 21313Files: src/terminal.c 21314 21315Patch 8.0.1107 21316Problem: Terminal debugger jumps to non-existing file. 21317Solution: Check that the file exists. Add an option to make the Vim width 21318 wide. Fix removing highlight groups. 21319Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim, 21320 runtime/doc/terminal.txt 21321 21322Patch 8.0.1108 21323Problem: Cannot specify mappings for the terminal window. 21324Solution: Add the :tmap command and associated code. (Jacob Askeland, 21325 closes #2073) 21326Files: runtime/doc/map.txt, runtime/doc/terminal.txt, src/ex_cmdidxs.h, 21327 src/ex_cmds.h, src/ex_docmd.c, src/getchar.c, src/gui.c, 21328 src/terminal.c, src/testdir/test_terminal.vim, src/vim.h, 21329 src/proto/terminal.pro, src/main.c, src/evalfunc.c 21330 21331Patch 8.0.1109 21332Problem: Timer causes error on exit from Ex mode. (xtal8) 21333Solution: save and restore the ex_pressedreturn flag. (Christian Brabandt, 21334 closes #2079) 21335Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/ex_cmds2.c, 21336 src/testdir/test_timers.vim 21337 21338Patch 8.0.1110 21339Problem: FORTIFY_SOURCE from Perl causes problems. (Scott Baker) 21340Solution: Filter out the flag. (Christian Brabandt, closes #2068) 21341Files: src/configure.ac, src/auto/configure 21342 21343Patch 8.0.1111 21344Problem: Syntax error in configure when using Perl. 21345Solution: Add missing quote 21346Files: src/configure.ac, src/auto/configure 21347 21348Patch 8.0.1112 21349Problem: Can't get size or current index from quickfix list. 21350Solution: Add "idx" and "size" options. (Yegappan Lakshmanan) 21351Files: runtime/doc/eval.txt, src/quickfix.c, 21352 src/testdir/test_quickfix.vim 21353 21354Patch 8.0.1113 21355Problem: Can go to Insert mode from Terminal-Normal mode. 21356Solution: Prevent :startinsert and "VA" to enter Insert mode. (Yasuhiro 21357 Matsumoto, closes #2092) 21358Files: src/normal.c 21359 21360Patch 8.0.1114 21361Problem: Default for 'iminsert' is annoying. 21362Solution: Make the default always zero. (Yasuhiro Matsumoto, closes #2071) 21363Files: src/option.c, runtime/doc/options.txt 21364 21365Patch 8.0.1115 21366Problem: Crash when using foldtextresult() recursively. 21367Solution: Avoid recursive calls. (Yasuhiro Matsumoto, closes #2098) 21368Files: src/evalfunc.c, src/testdir/test_fold.vim 21369 21370Patch 8.0.1116 21371Problem: Terminal test fails on MS-Windows. 21372Solution: Wait for the text to appear. (micbou, closes #2097) 21373Files: src/testdir/test_terminal.vim 21374 21375Patch 8.0.1117 21376Problem: Test_terminal_no_cmd hangs on MS-Windows with GUI. (Christian 21377 Brabandt) 21378Solution: Run the command with "start" and wait for the text to appear. 21379 (micbou, closes #2096) 21380Files: src/testdir/test_terminal.vim 21381 21382Patch 8.0.1118 21383Problem: FEAT_WINDOWS adds a lot of #ifdefs while it is nearly always 21384 enabled and only adds 7% to the binary size of the tiny build. 21385Solution: Graduate FEAT_WINDOWS. 21386Files: src/feature.h, src/window.c, src/vim.h, src/structs.h, 21387 src/globals.h, src/gui.h, src/if_py_both.h, src/option.h, 21388 src/term.h, src/buffer.c, src/charset.c, src/digraph.c, 21389 src/edit.c, src/eval.c, src/evalfunc.c, src/ex_cmds.c, 21390 src/ex_cmds2.c, src/ex_docmd.c, src/ex_getln.c, src/fileio.c, 21391 src/fold.c, src/getchar.c, src/gui.c, src/gui_athena.c, 21392 src/gui_beval.c, src/gui_gtk.c, src/gui_motif.c, src/gui_w32.c, 21393 src/if_cscope.c, src/if_lua.c, src/if_mzsch.c, src/if_python.c, 21394 src/if_python3.c, src/if_ruby.c, src/if_tcl.c, src/main.c, 21395 src/mark.c, src/memline.c, src/misc1.c, src/misc2.c, src/move.c, 21396 src/netbeans.c, src/normal.c, src/option.c, src/popupmnu.c, 21397 src/quickfix.c, src/screen.c, src/search.c, src/spell.c, 21398 src/syntax.c, src/tag.c, src/term.c, src/ui.c, src/version.c, 21399 src/workshop.c, src/if_perl.xs, src/testdir/test_normal.vim 21400 21401Patch 8.0.1119 21402Problem: Quitting a split terminal window kills the job. (Yasuhiro 21403 Matsumoto) 21404Solution: Only stop terminal job if it is the last window. 21405Files: src/buffer.c, src/testdir/test_terminal.vim 21406 21407Patch 8.0.1120 (after 8.0.1108) 21408Problem: :tm means :tmap instead of :tmenu. (Taro Muraoka) 21409Solution: Move the new entry below the old entry. (closes #2102) 21410Files: src/ex_cmds.h, runtime/doc/map.txt 21411 21412Patch 8.0.1121 21413Problem: Can uncheck executables in MS-Windows installer. 21414Solution: Make the choice read-only. (Ken Takata, closes #2106) 21415Files: nsis/gvim.nsi 21416 21417Patch 8.0.1122 21418Problem: vimtutor.bat doesn't work well with vim.bat. 21419Solution: Use "call vim". (Ken Takata, closes #2105) 21420Files: vimtutor.bat 21421 21422Patch 8.0.1123 21423Problem: Cannot define a toolbar for a window. 21424Solution: Add a window-local toolbar. 21425Files: src/syntax.c, src/proto/syntax.pro, src/structs.h, src/menu.c, 21426 src/proto/menu.pro, src/testdir/test_winbar.vim, src/Makefile, 21427 src/normal.c, src/testdir/Make_all.mak, src/if_perl.xs, 21428 src/eval.c, src/evalfunc.c, src/window.c, src/ui.c, 21429 src/terminal.c, src/screen.c, 21430 runtime/pack/dist/opt/termdebug/plugin/termdebug.vim, 21431 runtime/doc/gui.txt, runtime/doc/terminal.txt 21432 21433Patch 8.0.1124 21434Problem: Use of MZSCHEME_VER is unclear. 21435Solution: Add a comment. (Ken Takata) 21436Files: src/Make_cyg_ming.mak, src/Make_mvc.mak 21437 21438Patch 8.0.1125 21439Problem: Wrong window height when splitting window with window toolbar. 21440Solution: Add or subtract the window toolbar height. 21441Files: src/window.c 21442 21443Patch 8.0.1126 21444Problem: Endless resize when terminal showing in two buffers. (Hirohito 21445 Higashi) 21446Solution: Set a flag to prevent resizing the window. 21447Files: src/terminal.c 21448 21449Patch 8.0.1127 21450Problem: Test_peek_and_get_char fails on 32 bit system. (Elimar 21451 Riesebieter) 21452Solution: Avoid an integer overflow. (James McCoy, closes #2116) 21453Files: src/ex_cmds2.c 21454 21455Patch 8.0.1128 21456Problem: Old xterm sends CTRL-X in response to t_RS. 21457Solution: Only send t_RS for xterm 279 and later. Remove the workaround to 21458 ignore CTRL-X. 21459Files: src/term.c 21460 21461Patch 8.0.1129 21462Problem: Window toolbar missing a part of the patch. 21463Solution: Add change in vim.h. 21464Files: src/vim.h 21465 21466Patch 8.0.1130 21467Problem: The qf_jump() function is still too long. 21468Solution: Split of parts to separate functions. (Yegappan Lakshmanan) 21469Files: src/quickfix.c 21470 21471Patch 8.0.1131 21472Problem: It is not easy to trigger an autocommand for new terminal window. 21473 (Marco Restelli) 21474Solution: Trigger BufWinEnter after setting 'buftype'. 21475Files: src/terminal.c, src/testdir/test_terminal.vim 21476 21477Patch 8.0.1132 21478Problem: #if condition is not portable. 21479Solution: Add defined(). (Zuloloxi, closes #2136) 21480Files: src/libvterm/src/vterm.c 21481 21482Patch 8.0.1133 21483Problem: Syntax timeout not used correctly. 21484Solution: Do not pass the timeout to syntax_start() but set it explicitly. 21485 (Yasuhiro Matsumoto, closes #2139) 21486Files: src/proto/syntax.pro, src/screen.c, src/syntax.c 21487 21488Patch 8.0.1134 21489Problem: Superfluous call to syn_get_final_id(). 21490Solution: Remove it. (Ken Takata) 21491Files: src/syntax.c 21492 21493Patch 8.0.1135 21494Problem: W_WINCOL() is always the same. 21495Solution: Expand the macro. 21496Files: src/edit.c, src/ex_docmd.c, src/gui_gtk.c, src/gui_w32.c, 21497 src/netbeans.c, src/popupmnu.c, src/screen.c, src/term.c, 21498 src/terminal.c, src/ui.c, src/window.c, src/if_py_both.h, 21499 src/structs.h, src/vim.h 21500 21501Patch 8.0.1136 21502Problem: W_WIDTH() is always the same. 21503Solution: Expand the macro. 21504Files: src/charset.c, src/edit.c, src/evalfunc.c, src/ex_cmds.c, 21505 src/ex_docmd.c, src/getchar.c, src/gui.c, src/gui_beval.c, 21506 src/gui_mac.c, src/if_lua.c, src/if_mzsch.c, src/if_py_both.h, 21507 src/if_ruby.c, src/misc1.c, src/misc2.c, src/move.c, src/normal.c, 21508 src/popupmnu.c, src/quickfix.c, src/screen.c, src/search.c, 21509 src/structs.h, src/ui.c, src/vim.h, src/window.c 21510 21511Patch 8.0.1137 (after 8.0.1136) 21512Problem: Cannot build with Ruby. 21513Solution: Fix misplaced brace. 21514Files: src/if_ruby.c 21515 21516Patch 8.0.1138 21517Problem: Click in window toolbar starts Visual mode. 21518Solution: Add the MOUSE_WINBAR flag. 21519Files: src/ui.c, src/vim.h, src/normal.c 21520 21521Patch 8.0.1139 21522Problem: Using window toolbar changes state. 21523Solution: Always execute window toolbar actions in Normal mode. 21524Files: runtime/doc/gui.txt, src/structs.h, src/ex_docmd.c, 21525 src/proto/ex_docmd.pro, src/menu.c 21526 21527Patch 8.0.1140 21528Problem: Still old style tests. 21529Solution: Convert two tests to new style. (Yegappan Lakshmanan) 21530Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms, 21531 src/testdir/test56.in, src/testdir/test56.ok, 21532 src/testdir/test57.in, src/testdir/test57.ok, 21533 src/testdir/test_sort.vim, src/testdir/test_vimscript.vim 21534 21535Patch 8.0.1141 21536Problem: MS-Windows build dependencies are incomplete. 21537Solution: Fix the dependencies. (Ken Takata) 21538Files: src/Make_cyg.mak, src/Make_cyg_ming.mak, src/Make_ming.mak, 21539 src/Make_mvc.mak 21540 21541Patch 8.0.1142 21542Problem: Window toolbar menu gets a tear-off item. 21543Solution: Recognize the window toolbar. 21544Files: src/menu.c 21545 21546Patch 8.0.1143 21547Problem: Macros always expand to the same thing. 21548Solution: Remove W_VSEP_WIDTH() and W_STATUS_HEIGHT(). 21549Files: src/vim.h, src/structs.h, src/gui.c, src/ex_getln.c, src/screen.c 21550 21551Patch 8.0.1144 21552Problem: Using wrong #ifdef for computing length. 21553Solution: use BACKSLASH_IN_FILENAME instead of COLON_IN_FILENAME. (Yasuhiro 21554 Matsumoto, closes #2153) 21555Files: src/quickfix.c 21556 21557Patch 8.0.1145 21558Problem: Warning when compiling with Perl. 21559Solution: Remove unused variable. (Ken Takata) 21560Files: src/if_perl.xs 21561 21562Patch 8.0.1146 21563Problem: Redraw when highlight is set with same names. (Ozaki Kiichi) 21564Solution: Only free and save a name when it changed. (closes #2120) 21565Files: src/syntax.c 21566 21567Patch 8.0.1147 21568Problem: Fail to build with tiny features. (Tony Mechelynck) 21569Solution: Move #ifdefs. 21570Files: src/syntax.c 21571 21572Patch 8.0.1148 21573Problem: "gN" doesn't work on last match with 'wrapscan' off. (fcpg) 21574Solution: Adjust for searching backward. (Christian Brabandt) 21575Files: src/search.c, src/testdir/test_gn.vim 21576 21577Patch 8.0.1149 21578Problem: libvterm colors differ from xterm. 21579Solution: Use the xterm colors for libvterm. 21580Files: src/terminal.c, src/libvterm/src/pen.c, 21581 src/testdir/xterm_ramp.vim, Filelist 21582 21583Patch 8.0.1150 21584Problem: MS-Windows GUI: dialog font size is incorrect. 21585Solution: Pass flag to indicate 'encoding' or active codepage. (Yasuhiro 21586 Matsumoto, closes #2160) 21587Files: src/gui_w32.c 21588 21589Patch 8.0.1151 21590Problem: "vim -c startinsert!" doesn't append. 21591Solution: Correct line number on startup. (Christian Brabandt, closes #2117) 21592Files: src/ex_docmd.c, src/testdir/test_startup.vim 21593 21594Patch 8.0.1152 21595Problem: Encoding of error message wrong in Cygwin terminal. 21596Solution: Get locale from environment variables. (Ken Takata) 21597Files: src/main.c, src/mbyte.c, src/proto/mbyte.pro 21598 21599Patch 8.0.1153 21600Problem: No tests for diff_hlID() and diff_filler(). 21601Solution: Add tests. (Dominique Pelle, closes #2156) 21602Files: src/testdir/test_diffmode.vim 21603 21604Patch 8.0.1154 21605Problem: 'indentkeys' does not work properly. (Gary Johnson) 21606Solution: Get the cursor line again. (Christian Brabandt, closes #2151) 21607Files: src/edit.c, src/testdir/test_edit.vim 21608 21609Patch 8.0.1155 21610Problem: Ruby command triggers a warning when RUBYOPT is set to "-w". 21611Solution: use "-e_=0" instead of "-e0". (Masataka Pocke Kuwabara, closes 21612 #2143) 21613Files: src/if_ruby.c 21614 21615Patch 8.0.1156 21616Problem: Removing one -W argument from Perl CFLAGS may cause trouble. 21617Solution: Remove all -W flags. (Christian Brabandt) 21618Files: src/configure.ac, src/auto/configure 21619 21620Patch 8.0.1157 21621Problem: Compiler warning on MS-Windows. 21622Solution: Add type cast. (Yasuhiro Matsumoto) 21623Files: src/main.c 21624 21625Patch 8.0.1158 21626Problem: Still old style tests. 21627Solution: Convert several tests to new style. (Yegappan Lakshmanan) 21628Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms, 21629 src/testdir/main.aap, src/testdir/test33.in, 21630 src/testdir/test33.ok, src/testdir/test41.in, 21631 src/testdir/test41.ok, src/testdir/test43.in, 21632 src/testdir/test43.ok, src/testdir/test53.in, 21633 src/testdir/test53.ok, src/testdir/test_file_size.vim, 21634 src/testdir/test_lispwords.vim, src/testdir/test_search.vim, 21635 src/testdir/test_textobjects.vim 21636 21637Patch 8.0.1159 21638Problem: Typo in #ifdef. 21639Solution: Change "PROT" to "PROTO". (Nobuhiro Takasaki, closes #2165) 21640Files: src/syntax.c 21641 21642Patch 8.0.1160 21643Problem: Getting tab-local variable fails after closing window. 21644Solution: set tp_firstwin and tp_lastwin. (Jason Franklin, closes #2170) 21645Files: src/window.c, src/evalfunc.c, src/testdir/test_getvar.vim 21646 21647Patch 8.0.1161 21648Problem: Popup menu drawing problem when resizing terminal. 21649Solution: Redraw after resizing also when a popup menu is visible. (Ozaki 21650 Kiichi, closes #2110) 21651Files: src/popupmnu.c, src/term.c, src/testdir/shared.vim, 21652 src/testdir/test_popup.vim 21653 21654Patch 8.0.1162 21655Problem: Shared script for tests cannot be included twice. 21656Solution: Include it where needed, it will "finish" if loaded again. 21657Files: src/testdir/test_alot.vim, src/testdir/test_bufline.vim, 21658 src/testdir/test_timers.vim 21659 21660Patch 8.0.1163 21661Problem: Popup test is flaky. 21662Solution: Add a WaitFor() and fix another. 21663Files: src/testdir/test_popup.vim 21664 21665Patch 8.0.1164 21666Problem: Changing StatusLine highlight while evaluating 'statusline' may 21667 not change the status line color. 21668Solution: When changing highlighting while redrawing don't cause another 21669 redraw. (suggested by Ozaki Kiichi, closes #2171, closes #2120) 21670Files: src/buffer.c, src/syntax.c 21671 21672Patch 8.0.1165 21673Problem: Popup test is still flaky. 21674Solution: Add a term_wait() call. (Ozaki Kiichi) 21675Files: src/testdir/test_popup.vim 21676 21677Patch 8.0.1166 21678Problem: :terminal doesn't work on Mac High Sierra. 21679Solution: Change #ifdef for OpenPTY(). (Ozaki Kiichi, Kazunobu Kuriyama, 21680 closes #2162) 21681Files: src/pty.c 21682 21683Patch 8.0.1167 21684Problem: Motif: typing in terminal window is slow. 21685Solution: Do not redraw the whole terminal window but only what was changed. 21686Files: src/terminal.c 21687 21688Patch 8.0.1168 21689Problem: wrong highlighting with combination of match and 'cursorline'. 21690Solution: Use "line_attr" when appropriate. (Ozaki Kiichi, closes #2111) 21691 But don't highlight more than one character. 21692Files: src/screen.c, src/testdir/test_highlight.vim, 21693 src/testdir/view_util.vim 21694 21695Patch 8.0.1169 21696Problem: Highlighting one char too many with 'list' and 'cul'. 21697Solution: Check for 'list' being active. (Ozaki Kiichi, closes #2177) 21698Files: src/screen.c, src/testdir/test_highlight.vim 21699 21700Patch 8.0.1170 21701Problem: Using termdebug results in 100% CPU time. (tomleb) 21702Solution: Use polling instead of select(). 21703Files: src/os_unix.c, src/channel.c, src/proto/channel.pro 21704 21705Patch 8.0.1171 21706Problem: Popup test is still a bit flaky. 21707Solution: Change term_wait() calls. (Ozaki Kiichi) 21708Files: src/testdir/test_popup.vim 21709 21710Patch 8.0.1172 21711Problem: When E734 is given option is still set. 21712Solution: Assign NULL to "s". (Christian Brabandt) 21713Files: src/eval.c, src/testdir/test_assign.vim 21714 21715Patch 8.0.1173 21716Problem: Terminal window is not redrawn after CTRL-L. (Marcin Szamotulski) 21717Solution: Redraw the whole terminal when w_redr_type is NOT_VALID. 21718Files: src/terminal.c 21719 21720Patch 8.0.1174 21721Problem: Mac Terminal.app has wrong color for white. 21722Solution: Use white from the color cube. 21723Files: src/globals.h, src/term.c, src/syntax.c 21724 21725Patch 8.0.1175 (after 8.0.1174) 21726Problem: Build failure without +termresponse. 21727Solution: Add #ifdef. 21728Files: src/syntax.c 21729 21730Patch 8.0.1176 21731Problem: Job_start() does not handle quote and backslash correctly. 21732Solution: Remove quotes, recognize and remove backslashes. 21733Files: src/testdir/test_channel.vim, src/os_unix.c 21734 21735Patch 8.0.1177 21736Problem: In a terminal window the popup menu is not cleared. (Gerry 21737 Agbobada) 21738Solution: Redraw when SOME_VALID is used instead of NOT_VALID. (closes 21739 #2194) 21740Files: src/terminal.c 21741 21742Patch 8.0.1178 21743Problem: Using old compiler on MS-Windows. 21744Solution: Switch default build on MS-Windows to use MSVC 2015. (Ken Takata) 21745Files: src/msvc2015.bat, src/INSTALLpc.txt, src/GvimExt/Makefile, 21746 src/Make_mvc.mak, src/tee/Make_mvc.mak, src/xxd/Make_mvc.mak 21747 21748Patch 8.0.1179 21749Problem: Test_popup_and_window_resize() does not always pass. 21750Solution: Do not use $VIMPROG, pass the Vim executable in the vimcmd file. 21751 (Ozaki Kiichi, closes #2186) 21752Files: src/testdir/Makefile, src/testdir/shared.vim, 21753 src/testdir/test_popup.vim 21754 21755Patch 8.0.1180 21756Problem: MS-Windows testclean target deletes the color script. 21757Solution: Rename the script file. 21758Files: src/testdir/xterm_ramp.vim, src/testdir/color_ramp.vim 21759 21760Patch 8.0.1181 21761Problem: Tests using Vim command fail on MS-Windows. 21762Solution: Do not add quotes around the Vim command. 21763Files: src/testdir/Make_dos.mak, src/testdir/Make_ming.mak 21764 21765Patch 8.0.1182 21766Problem: Cannot see or change mzscheme dll name. 21767Solution: Add 'mzschemedll' and 'mzschemegcdll'. 21768Files: src/if_mzsch.c, src/option.h, src/option.c, 21769 runtime/doc/if_mzsch.txt 21770 21771Patch 8.0.1183 21772Problem: MS-Windows build instructions are outdated. 21773Solution: Update instructions for MSVC 2015. Update the build script. 21774Files: Filelist, Makefile, src/INSTALLpc.txt, src/bigvim.bat 21775 21776Patch 8.0.1184 21777Problem: The :marks command is not tested. 21778Solution: Add a test. (Dominique Pelle, closes #2197) 21779Files: src/testdir/test_marks.vim 21780 21781Patch 8.0.1185 21782Problem: Ruby library includes minor version number. 21783Solution: Only use the API version number. (Ben Boeckel, closes #2199) 21784Files: src/configure.ac, src/auto/configure 21785 21786Patch 8.0.1186 21787Problem: Still quite a few old style tests. 21788Solution: Convert old to new style tests. (Yegappan Lakshmanan) 21789 Avoid ringing the bell while running tests. 21790Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_ming.mak, 21791 src/testdir/Make_vms.mms, src/testdir/main.aap, 21792 src/testdir/test31.in, src/testdir/test31.ok, 21793 src/testdir/test4.in, src/testdir/test4.ok, src/testdir/test5.in, 21794 src/testdir/test5.ok, src/testdir/test60.in, 21795 src/testdir/test60.ok, src/testdir/test60.vim, 21796 src/testdir/test7.in, src/testdir/test7.ok, src/testdir/test78.in, 21797 src/testdir/test78.ok, src/testdir/test_autocmd.vim, 21798 src/testdir/test_exists.vim, src/testdir/test_recover.vim, 21799 src/testdir/test_winbuf_close.vim, src/testdir/runtest.vim 21800 21801Patch 8.0.1187 21802Problem: Building with lua fails for OSX on Travis. 21803Solution: Separate brew-update and brew-install. (Ozaki Kiichi, closes #2203) 21804Files: .travis.yml 21805 21806Patch 8.0.1188 21807Problem: Autocmd test fails on MS-Windows. 21808Solution: Give the buffer a name and find the buffer to be wiped out by 21809 name. 21810Files: src/testdir/test_autocmd.vim 21811 21812Patch 8.0.1189 21813Problem: E172 is not actually useful, it's only on Unix anyway. 21814Solution: Remove the check and the error. 21815Files: src/ex_docmd.c, runtime/doc/message.txt 21816 21817Patch 8.0.1190 21818Problem: Vim becomes unusable after opening new window in BufWritePre 21819 event. 21820Solution: Call not_exiting(). (Martin Tournoij, closes #2205) 21821 Also for "2q" when a help window is open. Add a test. 21822Files: src/ex_docmd.c, src/testdir/test_writefile.vim 21823 21824Patch 8.0.1191 21825Problem: MS-Windows: missing 32 and 64 bit files in installer. 21826Solution: Include both 32 and 64 bit GvimExt and related dll files. Remove 21827 old Windows code from the installer. (Ken Takata, closes #2144) 21828Files: nsis/README.txt, nsis/gvim.nsi, src/GvimExt/gvimext.cpp, 21829 src/dosinst.c, src/dosinst.h, src/uninstal.c, Makefile 21830 21831Patch 8.0.1192 21832Problem: MS-Windows: terminal feature not enabled by default. 21833Solution: Enable it. (Ken Takata) 21834Files: src/Make_cyg_ming.mak, src/Make_mvc.mak 21835 21836Patch 8.0.1193 21837Problem: Crash when wiping out a buffer after using getbufinfo(). 21838 (Yegappan Lakshmanan) 21839Solution: Remove b:changedtick from the buffer variables. 21840Files: src/buffer.c, src/testdir/test_autocmd.vim 21841 21842Patch 8.0.1194 21843Problem: Actual fg and bg colors of terminal are unknown. 21844Solution: Add t_RF. Store response to t_RB and t_RF, use for terminal. 21845Files: src/term.c, src/term.h, src/proto/term.pro, src/terminal.c, 21846 src/vim.h, src/eval.c, runtime/doc/eval.txt 21847 21848Patch 8.0.1195 (after 8.0.1194) 21849Problem: Can't build on MS-Windows. 21850Solution: Adjust #ifdef and add #ifdefs. 21851Files: src/term.c, src/terminal.c 21852 21853Patch 8.0.1196 (after 8.0.1194) 21854Problem: Crash when t_RF is not set. (Brian Pina) 21855Solution: Add t_RF to the list of terminal options. (Hirohito Higashi) 21856Files: src/option.c 21857 21858Patch 8.0.1197 21859Problem: MS-Windows build instructions are not up to date. 21860Solution: Adjust the instructions. Fix the nsis script. 21861Files: Makefile, nsis/gvim.nsi 21862 21863Patch 8.0.1198 21864Problem: Older compilers don't know uint8_t. 21865Solution: Use char_u instead. 21866Files: src/term.c, src/proto/term.pro 21867 21868Patch 8.0.1199 21869Problem: When 'clipboard' is "autoselectplus" the star register is also 21870 set. (Gilles Moris) 21871Solution: Don't set the star register in this situation. 21872Files: src/ops.c 21873 21874Patch 8.0.1200 21875Problem: Tests switch the bell off twice. 21876Solution: Don't set 'belloff' in individual tests. (Christian Brabandt) 21877Files: src/testdir/test_alot.vim, src/testdir/test_alot_utf8.vim, 21878 src/testdir/test_autocmd.vim, src/testdir/test_cmdline.vim, 21879 src/testdir/test_diffmode.vim, src/testdir/test_digraph.vim, 21880 src/testdir/test_edit.vim, src/testdir/test_file_size.vim, 21881 src/testdir/test_gn.vim, src/testdir/test_normal.vim, 21882 src/testdir/test_packadd.vim, src/testdir/test_popup.vim, 21883 src/testdir/test_recover.vim, src/testdir/test_search.vim, 21884 src/testdir/test_textobjects.vim, src/testdir/test_undo.vim, 21885 src/testdir/test_usercommands.vim, src/testdir/test_visual.vim 21886 21887Patch 8.0.1201 21888Problem: "yL" is affected by 'scrolloff'. (Eli the Bearded) 21889Solution: Don't use 'scrolloff' when an operator is pending. 21890Files: src/normal.c, runtime/doc/motion.txt 21891 21892Patch 8.0.1202 21893Problem: :wall gives an error for a terminal window. (Marius Gedminas) 21894Solution: Don't try writing a buffer that can't be written. (Yasuhiro 21895 Matsumoto, closes #2190) 21896Files: src/ex_cmds.c, src/testdir/test_terminal.vim 21897 21898Patch 8.0.1203 21899Problem: Terminal window mistreats composing characters. 21900Solution: Count composing characters with the base character. (Ozaki Kiichi, 21901 closes #2195) 21902Files: src/mbyte.c, src/terminal.c, src/testdir/test_terminal.vim 21903 21904Patch 8.0.1204 21905Problem: A QuitPre autocommand may get the wrong file name. 21906Solution: Pass the buffer being closed to apply_autocmds(). (Rich Howe) 21907Files: src/ex_docmd.c, src/testdir/test_autocmd.vim 21908 21909Patch 8.0.1205 21910Problem: Using "1q" it is possible to unload a changed buffer. (Rick Howe) 21911Solution: Check the right window for changes. 21912Files: src/testdir/test_edit.vim, src/ex_docmd.c 21913 21914Patch 8.0.1206 21915Problem: No autocmd for entering or leaving the command line. 21916Solution: Add CmdlineEnter and CmdlineLeave. 21917Files: runtime/doc/autocmd.txt, src/ex_getln.c, src/fileio.c, src/vim.h, 21918 src/testdir/test_autocmd.vim 21919 21920Patch 8.0.1207 21921Problem: Profiling skips the first and last script line. 21922Solution: Check for BOM after setting script ID. (LemonBoy, closes #2103, 21923 closes #2112) Add a test. List the trailing script lines. 21924Files: src/testdir/test_profile.vim, src/ex_cmds2.c 21925 21926Patch 8.0.1208 21927Problem: 'statusline' drops empty group with highlight change. 21928Solution: Do not drop an empty group if it changes highlighting. (Marius 21929 Gedminas, closes #2228) 21930Files: src/buffer.c, src/testdir/test_statusline.vim 21931 21932Patch 8.0.1209 21933Problem: Still too many old style tests. 21934Solution: Convert a few more tests to new style. (Yegappan Lakshmanan, 21935 closes #2230) 21936Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_ming.mak, 21937 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 21938 src/testdir/Makefile, src/testdir/Make_vms.mms, 21939 src/testdir/main.aap, src/testdir/test34.in, 21940 src/testdir/test34.ok, src/testdir/test54.in, 21941 src/testdir/test54.ok, src/testdir/test8.in, src/testdir/test8.ok, 21942 src/testdir/test_autocmd.vim, src/testdir/test_autoformat_join.in, 21943 src/testdir/test_autoformat_join.ok, src/testdir/test_join.vim, 21944 src/testdir/test_user_func.vim 21945 21946Patch 8.0.1210 21947Problem: When typing a search pattern CTRL-G and CTRL-T are ignored when 21948 there is typeahead. 21949Solution: Don't pass SEARCH_PEEK and don't call char_avail(). (haya14busa, 21950 closes #2233) 21951Files: src/ex_getln.c, src/testdir/test_search.vim 21952 21953Patch 8.0.1211 21954Problem: Cannot reorder tab pages with drag & drop. 21955Solution: Support drag & drop for GTK and MS-Windows. (Ken Takata, Masamichi 21956 Abe) 21957Files: src/gui_gtk_x11.c, src/gui_w32.c 21958 21959Patch 8.0.1212 21960Problem: MS-Windows: tear-off menu does not work on 64 bit. (shaggyaxe) 21961Solution: Change how the menu handle is looked up. (Ken Takata, closes 21962 #1205) 21963Files: src/gui_w32.c 21964 21965Patch 8.0.1213 21966Problem: Setting 'mzschemedll' has no effect. 21967Solution: Move loading .vimrc to before call to mzscheme_main(). 21968Files: src/main.c 21969 21970Patch 8.0.1214 21971Problem: Accessing freed memory when EXITFREE is set and there is more than 21972 one tab and window. (Dominique Pelle) 21973Solution: Free options later. Skip redraw when exiting. 21974Files: src/screen.c, src/misc2.c 21975 21976Patch 8.0.1215 21977Problem: Newer gcc warns for implicit fallthrough. 21978Solution: Consistently use a FALLTHROUGH comment. (Christian Brabandt) 21979Files: src/buffer.c, src/edit.c, src/eval.c, src/ex_docmd.c, 21980 src/ex_getln.c, src/main.c, src/message.c, src/normal.c, 21981 src/regexp.c, src/regexp_nfa.c, src/spell.c, src/window.c, 21982 src/if_perl.xs 21983 21984Patch 8.0.1216 21985Problem: Tabline is not always updated for :file command. (Norio Takagi) 21986Solution: Set redraw_tabline. (Hirohito Higashi) 21987Files: src/ex_cmds.c 21988 21989Patch 8.0.1217 21990Problem: Can't use remote eval to inspect vars in debug mode. 21991Solution: Don't discard the call stack in debug mode. (closes #2237, #2247) 21992Files: src/globals.h, src/ex_cmds2.c, src/main.c 21993 21994Patch 8.0.1218 21995Problem: Writing to freed memory in autocmd. 21996Solution: Make a copy of the tag line. (Dominique Pelle, closes #2245) 21997Files: src/tag.c, src/testdir/test_autocmd.vim 21998 21999Patch 8.0.1219 22000Problem: Terminal test is flaky. 22001Solution: Add test function to list of flaky tests. 22002Files: src/testdir/runtest.vim 22003 22004Patch 8.0.1220 22005Problem: Skipping empty statusline groups is not correct. 22006Solution: Also set group_end_userhl. (itchyny) 22007Files: src/buffer.c, src/testdir/test_statusline.vim 22008 22009Patch 8.0.1221 22010Problem: Still too many old style tests. 22011Solution: Convert a few more tests to new style. (Yegappan Lakshmanan, 22012 closes #2256) 22013Files: src/Makefile, src/testdir/Make_all.mak, 22014 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 22015 src/testdir/Make_ming.mak, src/testdir/Make_vms.mms, 22016 src/testdir/main.aap, src/testdir/test19.in, 22017 src/testdir/test19.ok, src/testdir/test20.in, 22018 src/testdir/test20.ok, src/testdir/test25.in, 22019 src/testdir/test25.ok, src/testdir/test28.in, 22020 src/testdir/test28.ok, src/testdir/test32.in, 22021 src/testdir/test32.ok, src/testdir/test38.in, 22022 src/testdir/test38.ok, src/testdir/test66.in, 22023 src/testdir/test66.ok, src/testdir/test79.in, 22024 src/testdir/test79.ok, src/testdir/test_ins_complete.vim, 22025 src/testdir/test_source_utf8.vim, src/testdir/test_substitute.vim, 22026 src/testdir/test_tab.vim, src/testdir/test_tagjump.vim, 22027 src/testdir/test_undo.vim, src/testdir/test_visual.vim, 22028 src/testdir/test79.ok, src/testdir/test79.in, 22029 src/testdir/test28.in 22030 22031Patch 8.0.1222 22032Problem: Test functions interfere with each other. 22033Solution: Cleanup tab pages, windows and buffers. Reset option. 22034Files: src/testdir/runtest.vim, src/testdir/test_filetype.vim, 22035 src/testdir/test_tabpage.vim, src/testdir/test_lispwords.vim 22036 22037Patch 8.0.1223 22038Problem: Crash when using autocomplete and tab pages. 22039Solution: Check if the current tab changed. (Christian Brabandt, closes 22040 #2239) 22041Files: src/popupmnu.c, src/testdir/test_popup.vim, src/misc1.c, 22042 22043Patch 8.0.1224 22044Problem: Still interference between test functions. 22045Solution: Clear autocommands. Wipe all buffers. Fix tests that depend on a 22046 specific start context. 22047Files: src/testdir/runtest.vim, src/testdir/test_autocmd.vim, 22048 src/testdir/test_arglist.vim, src/testdir/test_bufwintabinfo.vim, 22049 src/testdir/test_command_count.vim, src/testdir/test_quickfix.vim, 22050 src/testdir/test_hardcopy.vim, src/testdir/test_ins_complete.vim, 22051 src/testdir/test_packadd.vim, src/testdir/test_signs.vim, 22052 src/testdir/test_autochdir.vim 22053 22054Patch 8.0.1225 22055Problem: No check for spell region being zero. (geeknik) 22056Solution: Check for zero. (closes #2252) 22057Files: src/spellfile.c, src/testdir/test_spell.vim 22058 22059Patch 8.0.1226 22060Problem: Edit and popup tests failing. 22061Solution: Make the tests pass. 22062Files: src/testdir/test_edit.vim, src/testdir/test_popup.vim 22063 22064Patch 8.0.1227 22065Problem: Undefined left shift in readfile(). (Brian 'geeknik' Carpenter) 22066Solution: Add cast to unsigned. (Dominique Pelle, closes #2253) 22067Files: src/fileio.c 22068 22069Patch 8.0.1228 22070Problem: Invalid memory access in GUI test. 22071Solution: Check that the row is not outside of the screen. 22072Files: src/screen.c 22073 22074Patch 8.0.1229 22075Problem: Condition in vim_str2nr() is always true. (Nikolai Pavlov) 22076Solution: Remove the condition. (Closes #2259) 22077Files: src/charset.c 22078 22079Patch 8.0.1230 22080Problem: CTRL-A in Visual mode uses character after selection. (Nikolai 22081 Pavlov) 22082Solution: Check the length before using a character. 22083Files: src/charset.c 22084 22085Patch 8.0.1231 22086Problem: Expanding file name drops dash. (stucki) 22087Solution: Use the right position. (Christian Brabandt, closes #2184) 22088Files: src/ex_docmd.c, src/testdir/test_cmdline.vim 22089 22090Patch 8.0.1232 22091Problem: MS-Windows users are confused about default mappings. 22092Solution: Don't map keys in the console where they don't work. Add a choice 22093 in the installer to use MS-Windows key bindings or not. (Christian 22094 Brabandt, Ken Takata, closes #2093) 22095Files: Filelist, nsis/gvim.nsi, nsis/vimrc.ini, src/dosinst.c, 22096 runtime/mswin.vim 22097 22098Patch 8.0.1233 22099Problem: Typo in dos installer. 22100Solution: Remove comma. 22101Files: src/dosinst.c 22102 22103Patch 8.0.1234 22104Problem: MS-Windows: composing characters are not shown properly. 22105Solution: Pass base character and composing characters to the renderer at 22106 once. (Ken Takata, closes #2206) 22107Files: src/gui.c, src/gui_w32.c 22108 22109Patch 8.0.1235 22110Problem: Cannot disable the terminal feature in a huge build. (lindhobe) 22111Solution: Adjust the autoconf check. (Kazunobu Kuriyama, closes #2242) 22112Files: src/configure.ac, src/auto/configure, src/Makefile 22113 22114Patch 8.0.1236 22115Problem: Mac features are confusing. 22116Solution: Make feature names more consistent, add "osxdarwin". Rename 22117 feature flags, cleanup Mac code. (Kazunobu Kuriyama, closes #2178) 22118 Also includes a fix for when Ruby throws an exception inside 22119 :rubyfile. (ujihisa) 22120Files: runtime/doc/eval.txt, runtime/doc/os_mac.txt, src/auto/configure, 22121 src/config.h.in, src/configure.ac, src/digraph.c, src/edit.c, 22122 src/evalfunc.c, src/feature.h, src/fileio.c, src/getchar.c, 22123 src/globals.h, src/gui.c, src/gui_mac.c, src/if_python.c, 22124 src/if_python3.c, src/if_ruby.c, src/keymap.h, src/macros.h, 22125 src/main.c, src/mbyte.c, src/message.c, src/misc1.c, src/misc2.c, 22126 src/option.c, src/os_mac.h, src/os_macosx.m, src/os_unix.c, 22127 src/proto.h, src/pty.c, src/structs.h, src/term.c, src/termlib.c, 22128 src/ui.c, src/undo.c, src/version.c, src/vim.h, src/window.c 22129 22130Patch 8.0.1237 22131Problem: ":set scroll&" often gives an error. 22132Solution: Don't use a fixed default value, use half the window height. Add a 22133 test. (Ozaki Kiichi, closes #2104) 22134Files: src/Makefile, src/option.c, src/testdir/test_alot.vim, 22135 src/testdir/test_scroll_opt.vim 22136 22137Patch 8.0.1238 22138Problem: Incremental search only shows one match. 22139Solution: When 'incsearch' and 'hlsearch' are both set highlight all 22140 matches. (haya14busa, itchyny, closes #2198) 22141Files: runtime/doc/options.txt, src/ex_getln.c, src/proto/search.pro, 22142 src/search.c, src/testdir/test_search.vim 22143 22144Patch 8.0.1239 22145Problem: Cannot use a lambda for the skip argument to searchpair(). 22146Solution: Evaluate a partial, funcref and lambda. (LemonBoy, closes #1454, 22147 closes #2265) 22148Files: runtime/doc/eval.txt, src/evalfunc.c, src/proto/evalfunc.pro, 22149 src/eval.c, src/proto/eval.pro, src/search.c, 22150 src/testdir/test_search.vim 22151 22152Patch 8.0.1240 22153Problem: MS-Windows: term_start() does not support environment. 22154Solution: Implement the environment argument. (Yasuhiro Matsumoto, closes 22155 #2264) 22156Files: src/os_win32.c, src/proto/os_win32.pro, src/terminal.c, 22157 src/testdir/test_terminal.vim 22158 22159Patch 8.0.1241 22160Problem: Popup test is flaky. (James McCoy) 22161Solution: Increase the wait time. (Dominique Pelle) 22162Files: src/testdir/test_popup.vim 22163 22164Patch 8.0.1242 22165Problem: Function argument with only dash is seen as number zero. (Wang 22166 Shidong) 22167Solution: See a dash as a string. (Christian Brabandt) 22168Files: src/testdir/test_ins_complete.vim, src/Makefile, src/eval.c 22169 22170Patch 8.0.1243 22171Problem: No test for what 8.0.1227 fixes. 22172Solution: Add a test that triggers the problem. (Christian Brabandt) 22173Files: src/testdir/test_normal.vim, src/testdir/test_search.vim 22174 22175Patch 8.0.1244 22176Problem: Search test does not work correctly on MS-Windows. 22177Solution: Put text in a file instead of sending it to the terminal. 22178 (Christian Brabandt) 22179Files: src/testdir/test_search.vim 22180 22181Patch 8.0.1245 22182Problem: When WaitFor() has a wrong expression it just waits a second, 22183 which goes unnoticed. (James McCoy) 22184Solution: When WaitFor() times out throw an exception. Fix places where the 22185 expression was wrong. 22186Files: src/testdir/shared.vim, src/testdir/test_channel.vim, 22187 src/testdir/test_netbeans.vim, src/testdir/test_terminal.vim 22188 22189Patch 8.0.1246 22190Problem: Popup test has an arbitrary delay. 22191Solution: Wait for the ruler to show. (James McCoy) 22192Files: src/testdir/test_popup.vim 22193 22194Patch 8.0.1247 22195Problem: Not easy to find Debian build info. 22196Solution: Add a badge in the README file. (Dominique Pelle) 22197Files: README.md 22198 22199Patch 8.0.1248 (after 8.0.1247) 22200Problem: Stray + in README file. 22201Solution: Remove the +. Add a line break. 22202Files: README.md 22203 22204Patch 8.0.1249 22205Problem: No error when WaitFor() gets an invalid wrong expression. 22206Solution: Do not ignore errors in evaluation of the expression. Fix places 22207 where the expression was wrong. 22208Files: src/testdir/shared.vim, src/testdir/test_netbeans.vim 22209 22210Patch 8.0.1250 22211Problem: 'hlsearch' highlighting not removed after incsearch (lacygoill) 22212Solution: Redraw all windows. Start search at the end of the match. Improve 22213 how CTRL-G works with incremental search. Add tests. (Christian 22214 Brabandt, Hirohito Higashi, haya14busa, closes #2267) 22215Files: runtime/doc/options.txt, src/ex_getln.c, 22216 src/testdir/test_search.vim 22217 22218Patch 8.0.1251 (after 8.0.1249) 22219Problem: Invalid expression passed to WaitFor(). 22220Solution: Check if the variable exists. 22221Files: src/testdir/test_clientserver.vim 22222 22223Patch 8.0.1252 22224Problem: Incomplete translations makefile for MinGW/Cygwin. 22225Solution: Add missing source files. Make it work with msys2's bash. (Ken 22226 Takata) 22227Files: src/po/Make_cyg.mak, src/po/Make_ming.mak, src/po/Make_mvc.mak 22228 22229Patch 8.0.1253 22230Problem: Still too many old style tests. 22231Solution: Convert a few more tests to new style. (Yegappan Lakshmanan, 22232 closes #2272) 22233Files: src/Makefile, src/testdir/Make_all.mak, 22234 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 22235 src/testdir/Make_ming.mak, src/testdir/Make_vms.mms, 22236 src/testdir/main.aap, src/testdir/test12.in, 22237 src/testdir/test12.ok, src/testdir/test40.in, 22238 src/testdir/test40.ok, src/testdir/test45.in, 22239 src/testdir/test45.ok, src/testdir/test83.in, 22240 src/testdir/test83.ok, src/testdir/test_autocmd.vim, 22241 src/testdir/test_fold.vim, src/testdir/test_swap.vim, 22242 src/testdir/test_tagjump.vim 22243 22244Patch 8.0.1254 22245Problem: Undefined left shift in gethexchrs(). (geeknik) 22246Solution: Use unsigned long. (idea by Christian Brabandt, closes #2255) 22247Files: src/regexp.c, src/regexp_nfa.c 22248 22249 22250Patch 8.0.1255 (after 8.0.1248) 22251Problem: duplicate badge README file. 22252Solution: Remove one. (Dominique Pelle) 22253Files: README.md 22254 22255Patch 8.0.1256 22256Problem: Typo in configure variable vim_cv_tgent. (Matthieu Guillard) 22257Solution: Rename the variable. (closes #2281) 22258Files: src/configure.ac, src/auto/configure 22259 22260Patch 8.0.1257 (after 8.0.1254) 22261Problem: No test for fix of undefined behavior. 22262Solution: Add a test. (closes #2255) 22263Files: src/testdir/test_search.vim 22264 22265Patch 8.0.1258 22266Problem: 'ttymouse' is set to "sgr" even though it's not supported. (Gary 22267 Johnson) 22268Solution: Adjust #ifdef 22269Files: src/term.c 22270 22271Patch 8.0.1259 22272Problem: Search test can be flaky. 22273Solution: Use WaitFor() instead of a delay. Make it possible to pass a 22274 funcref to WaitFor() to avoid the need for global variables. 22275 (James McCoy, closes #2282) 22276Files: src/testdir/shared.vim, src/testdir/test_search.vim 22277 22278Patch 8.0.1260 (after 8.0.1259) 22279Problem: Using global variables for WaitFor(). 22280Solution: Use a lambda function instead. Don't check a condition if 22281 WaitFor() already checked it. 22282Files: src/testdir/test_popup.vim, src/testdir/test_terminal.vim, 22283 src/testdir/test_channel.vim, src/testdir/test_clientserver.vim, 22284 src/testdir/test_job_fails.vim, src/testdir/test_quotestar.vim 22285 22286Patch 8.0.1261 22287Problem: Program in terminal window gets NL instead of CR. (Lifepillar) 22288Solution: Check the tty setup more often. (closes #1998) 22289Files: src/terminal.c 22290 22291Patch 8.0.1262 22292Problem: Terminal redir test is flaky. 22293Solution: Add it to the list of flaky tests. 22294Files: src/testdir/runtest.vim 22295 22296Patch 8.0.1263 22297Problem: Others can read the swap file if a user is careless with his 22298 primary group. 22299Solution: If the group permission allows for reading but the world 22300 permissions doesn't, make sure the group is right. 22301Files: src/fileio.c, src/testdir/test_swap.vim, src/Makefile 22302 22303Patch 8.0.1264 22304Problem: Terminal debugger gets stuck in small window. 22305Solution: Add "-quiet" to the gdb command. (Christian Brabandt, closes #2154) 22306Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim 22307 22308Patch 8.0.1265 (after 8.0.1263) 22309Problem: Swap test not skipped when there is one group. 22310Solution: Convert list to string for the message. 22311Files: src/testdir/test_swap.vim 22312 22313Patch 8.0.1266 (after 8.0.1263) 22314Problem: Test_swap_directory was accidentally commented out. 22315Solution: Uncomment the test. 22316Files: src/testdir/test_swap.vim 22317 22318Patch 8.0.1267 (after 8.0.1263) 22319Problem: Test_swap_group may leave file behind. 22320Solution: Add a try/finally. 22321Files: src/testdir/test_swap.vim, src/testdir/test_undo.vim 22322 22323Patch 8.0.1268 22324Problem: PC install instructions are incomplete. 22325Solution: Update the instructions. (Ken Takata) 22326Files: src/INSTALLpc.txt 22327 22328Patch 8.0.1269 22329Problem: Effect of autocommands on marks is not tested. 22330Solution: Add a couple of tests. (James McCoy, closes #2271) 22331Files: src/testdir/test_autocmd.vim 22332 22333Patch 8.0.1270 22334Problem: Mismatching file name with Filelist. 22335Solution: Rename color_ramp.vim to xterm_ramp.vim 22336Files: src/testdir/color_ramp.vim, src/testdir/xterm_ramp.vim 22337 22338Patch 8.0.1271 22339Problem: Still too many old style tests. 22340Solution: Convert a few more tests to new style. (Yegappan Lakshmanan, 22341 closes #2290) 22342Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms, 22343 src/testdir/sautest/autoload/footest.vim, src/testdir/test55.in, 22344 src/testdir/test55.ok, src/testdir/test_changelist.in, 22345 src/testdir/test_changelist.ok, src/testdir/test_fold.vim, 22346 src/testdir/test_ins_complete.vim, 22347 src/testdir/test_insertcount.in, src/testdir/test_insertcount.ok, 22348 src/testdir/test_listdict.vim, src/testdir/test_normal.vim, 22349 src/testdir/test_search.vim, src/testdir/test_search_mbyte.in 22350 22351Patch 8.0.1272 22352Problem: Warnings for unused variables in tiny build. 22353Solution: Add #ifdef. (Dominique Pelle, closes #2288) 22354Files: src/term.c 22355 22356Patch 8.0.1273 (after 8.0.1271) 22357Problem: Old test file remaining. 22358Solution: Delete it. 22359Files: src/testdir/test_search_mbyte.ok 22360 22361Patch 8.0.1274 22362Problem: setbufline() fails when using folding. 22363Solution: Set "curwin" if needed. (Ozaki Kiichi, closes #2293) 22364Files: src/evalfunc.c, src/testdir/test_bufline.vim 22365 22366Patch 8.0.1275 22367Problem: CmdlineLeave autocmd prevents fold from opening. (Waivek) 22368Solution: Save and restore KeyTyped. (closes #2305) 22369Files: src/fileio.c 22370 22371Patch 8.0.1276 22372Problem: Typed key is lost when the terminal window is closed in exit 22373 callback. (Gabriel Barta) 22374Solution: When the current window changes bail out of the wait loop. (closes 22375 #2302) 22376Files: src/misc2.c, src/terminal.c 22377 22378Patch 8.0.1277 22379Problem: Terminal window CR-NL conversions may cause problems. 22380Solution: Avoid most conversions, only fetch the current backspace key value 22381 from the tty. (mostly by Ozaki Kiichi, closes #2278) 22382Files: src/terminal.c 22383 22384Patch 8.0.1278 22385Problem: GUI window always resizes when adding/removing a scrollbar, 22386 toolbar, etc. 22387Solution: Add the 'k' flag in 'guioptions' to keep the GUI window size and 22388 change the number of lines/columns instead. (Ychin, closes #703) 22389Files: runtime/doc/options.txt, src/gui.c, src/gui_gtk_x11.c, 22390 src/gui_w32.c, src/option.h 22391 22392Patch 8.0.1279 22393Problem: Initializing menus can be slow, especially when there are many 22394 keymaps, color schemes, etc. 22395Solution: Do the globbing for runtime files lazily. (Ken Takata) 22396Files: runtime/doc/gui.txt, runtime/menu.vim 22397 22398Patch 8.0.1280 22399Problem: Python None cannot be converted to a Vim type. 22400Solution: Convert it to v:none. (Ken Takata) 22401Files: src/if_py_both.h, src/testdir/test86.ok, src/testdir/test87.ok, 22402 runtime/doc/if_pyth.txt 22403 22404Patch 8.0.1281 22405Problem: Loading file type detection slows down startup. 22406Solution: Move functions to an autoload script. 22407Files: runtime/filetype.vim, runtime/autoload/filetype.vim, 22408 runtime/scripts.vim 22409 22410Patch 8.0.1282 (after 8.0.1281) 22411Problem: script-local variable defined in the wrong script 22412Solution: Move variable to autoload/filetype.vim. 22413Files: runtime/filetype.vim, runtime/autoload/filetype.vim 22414 22415Patch 8.0.1283 22416Problem: Test 86 fails under ASAN. 22417Solution: Fix that an item was added to a dictionary twice. 22418Files: src/if_py_both.h 22419 22420Patch 8.0.1284 22421Problem: Loading file type detection slows down startup. 22422Solution: Store the last pattern of an autocommand event to make appending 22423 quicker. 22424Files: src/fileio.c 22425 22426Patch 8.0.1285 22427Problem: Distributed autoload files may clash with user files. (Andy 22428 Wokula) 22429Solution: Use the "autoload/dist" directory. 22430Files: runtime/filetype.vim, runtime/autoload/filetype.vim, 22431 runtime/autoload/dist/ft.vim, runtime/scripts.vim, Filelist, 22432 src/Makefile, nsis/gvim.nsi 22433 22434Patch 8.0.1286 22435Problem: Occasional crash when using a channel. (Marek) 22436Solution: Decrement reference count later. (closes #2315) 22437Files: src/channel.c 22438 22439Patch 8.0.1287 22440Problem: The temp file used when updating the viminfo file may have the 22441 wrong permissions if setting the group fails. 22442Solution: Check if the group matches and reduce permissions if not. 22443Files: src/ex_cmds.c 22444 22445Patch 8.0.1288 22446Problem: GUI: cannot drag the statusline of a terminal window. 22447Solution: Handle the TERMINAL state. (Hirohito Higashi) 22448Files: src/gui.c 22449 22450Patch 8.0.1289 22451Problem: Mkview always includes the local directory. 22452Solution: Add the "curdir" value in 'viewoptions'. (Eric Roberts, closes 22453 #2316) 22454Files: runtime/doc/options.txt, runtime/doc/starting.txt, src/ex_docmd.c, 22455 src/option.c 22456 22457Patch 8.0.1290 22458Problem: seq_cur of undotree() wrong after undo. 22459Solution: Get the actual sequence number instead of decrementing the current 22460 one. (Ozaki Kiichi, closes #2319) 22461Files: src/undo.c, src/testdir/test_undo.vim 22462 22463Patch 8.0.1291 22464Problem: C indent wrong when * immediately follows comment. (John Bowler) 22465Solution: Do not see "/*" after "*" as a comment start. (closes #2321) 22466Files: src/search.c, src/testdir/test3.in, src/testdir/test3.ok 22467 22468Patch 8.0.1292 22469Problem: Quick clicks in the WinBar start Visual mode. 22470Solution: Use a double click in the WinBar like a normal click. 22471Files: src/ui.c 22472 22473Patch 8.0.1293 22474Problem: Setting a breakpoint in the terminal debugger sometimes fails. 22475Solution: Interrupt the program if needed. Set the interface to async. 22476Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim, 22477 runtime/doc/terminal.txt 22478 22479Patch 8.0.1294 22480Problem: GUI: get stuck when splitting a terminal window. 22481Solution: Stop blinking when values become zero. (Hirohito Higashi) 22482Files: src/gui.c 22483 22484Patch 8.0.1295 22485Problem: Cannot automatically get a server name in a terminal. 22486Solution: Add the --enable-autoservername flag to configure. (Cimbali, 22487 closes #2317) 22488Files: runtime/doc/eval.txt, runtime/doc/various.txt, src/config.h.in, 22489 src/configure.ac, src/auto/configure, src/evalfunc.c, 22490 src/feature.h, src/main.c, src/version.c, src/Makefile 22491 22492Patch 8.0.1296 (after 8.0.1294) 22493Problem: Checking the same condition twice. (John Marriott) 22494Solution: Check blinkwait. 22495Files: src/gui.c 22496 22497Patch 8.0.1297 22498Problem: +autoservername does not show enabled on MS-Windows. 22499Solution: Always define the flag on MS-Windows. (Ken Takata) 22500Files: src/feature.h 22501 22502Patch 8.0.1298 22503Problem: Missing test file. 22504Solution: Add samples/test000. (Christian Brabandt) 22505Files: src/testdir/samples/test000, Filelist 22506 22507Patch 8.0.1299 22508Problem: Bracketed paste does not work well in terminal window. 22509Solution: Send translated string to job right away. (Ozaki Kiichi, closes 22510 #2341) 22511Files: src/terminal.c 22512 22513Patch 8.0.1300 22514Problem: File permissions may end up wrong when writing. 22515Solution: Use fchmod() instead of chmod() when possible. Don't truncate 22516 until we know we can change the file. 22517Files: src/os_unix.c, src/proto/os_unix.pro, src/configure.ac, 22518 src/auto/configure, src/config.h.in, src/fileio.c 22519 22520Patch 8.0.1301 22521Problem: Generated license file for NSIS has a modeline. 22522Solution: Adjust the pattern for sed. (Ken Takata) 22523Files: runtime/doc/Makefile 22524 22525Patch 8.0.1302 22526Problem: Still too many old style tests. 22527Solution: Convert a few more tests to new style. (Yegappan Lakshmanan, 22528 closes #2326) 22529Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_ming.mak, 22530 src/testdir/Make_vms.mms, src/testdir/runtest.vim, 22531 src/testdir/test68.in, src/testdir/test68.ok, 22532 src/testdir/test73.in, src/testdir/test73.ok, 22533 src/testdir/test_close_count.in, src/testdir/test_close_count.ok, 22534 src/testdir/test_close_count.vim, 22535 src/testdir/test_erasebackword.in, 22536 src/testdir/test_erasebackword.ok, 22537 src/testdir/test_erasebackword.vim, 22538 src/testdir/test_find_complete.vim, src/testdir/test_fixeol.in, 22539 src/testdir/test_fixeol.ok, src/testdir/test_fixeol.vim, 22540 src/testdir/test_listchars.in, src/testdir/test_listchars.ok, 22541 src/testdir/test_listchars.vim, src/testdir/test_textformat.vim 22542 22543Patch 8.0.1303 22544Problem: 'ttymouse' is not set to "sgr" for Terminal.app and Iterm2. 22545Solution: Recognize Iterm2 by the termresponse. 22546Files: src/term.c 22547 22548Patch 8.0.1304 22549Problem: CTRL-G/CTRL-T don't work with incsearch and empty pattern. 22550Solution: Use the last search pattern. (Christian Brabandt, closes #2292) 22551Files: src/ex_getln.c, src/proto/search.pro, src/search.c, 22552 src/testdir/test_search.vim 22553 22554Patch 8.0.1305 22555Problem: writefile() never calls fsync(). 22556Solution: Follow the 'fsync' option with override to enable or disable. 22557Files: src/fileio.c, src/evalfunc.c, runtime/doc/eval.txt, src/globals.h, 22558 src/testdir/test_writefile.vim 22559 22560Patch 8.0.1306 22561Problem: ASAN error stack trace is not useful. 22562Solution: Add "asan_symbolize". (James McCoy, closes #2344) 22563Files: .travis.yml 22564 22565Patch 8.0.1307 (after 8.0.1300) 22566Problem: Compiler warning for ignoring return value of ftruncate(). (Tony 22567 Mechelynck) 22568Solution: Assign returned value to "ignore". 22569Files: src/fileio.c 22570 22571Patch 8.0.1308 22572Problem: The "Reading from stdin" message may be undesired and there is no 22573 easy way to skip it. 22574Solution: Don't show the message with --not-a-term was used. 22575Files: src/fileio.c 22576 22577Patch 8.0.1309 22578Problem: Cannot use 'balloonexpr' in a terminal. 22579Solution: Add 'balloonevalterm' and add code to handle mouse movements in a 22580 terminal. Initial implementation for Unix with GUI. 22581Files: src/option.c, src/option.h, src/os_unix.c, src/proto/os_unix.pro, 22582 src/feature.h, src/misc2.c, src/keymap.h, src/edit.c, 22583 src/ex_getln.c, src/message.c, src/misc1.c, src/normal.c, 22584 src/terminal.c, src/getchar.c, src/ex_cmds2.c, src/gui_beval.c, 22585 src/proto/gui_beval.pro, src/evalfunc.c, src/popupmnu.c, 22586 src/proto/popupmnu.pro, src/version.c, src/globals.h, src/gui.c, 22587 runtime/doc/options.txt, src/term.c, 22588 runtime/pack/dist/opt/termdebug/plugin/termdebug.vim 22589 22590Patch 8.0.1310 22591Problem: Cproto generates errors because of missing type. 22592Solution: Define _Float128 when generating prototypes. 22593Files: src/vim.h 22594 22595Patch 8.0.1311 22596Problem: No test for strpart(). 22597Solution: Add a test. (Dominique Pelle, closes #2347) 22598Files: src/testdir/test_functions.vim 22599 22600Patch 8.0.1312 (after 8.0.1309) 22601Problem: balloon_show() only works in terminal when compiled with the GUI. 22602Solution: Add FEAT_BEVAL_GUI and refactor to move common code out of the GUI 22603 specific file. 22604Files: src/feature.h, src/evalfunc.c, src/gui.c, src/gui_athena.c, 22605 src/gui_beval.c, src/proto/gui_beval.pro, src/beval.c, 22606 src/proto/beval.pro, src/gui_motif.c, src/gui_w32.c, 22607 src/gui_x11.c, src/integration.c, src/workshop.c, src/menu.c, 22608 src/netbeans.c, src/option.c, src/os_unix.c, src/os_win32.c, 22609 src/syntax.c, src/version.c, src/gui.h, src/gui_beval.h, 22610 src/vim.h, src/beval.h, src/option.h, src/ex_cmds2.c, src/ui.c, 22611 src/getchar.c, src/normal.c, src/popupmnu.c, src/globals.h, 22612 src/Makefile, src/Make_cyg_ming.mak, src/Make_mvc.mak, 22613 src/Make_vms.mms, Filelist 22614 22615Patch 8.0.1313 (after 8.0.1312) 22616Problem: Missing dependencies cause parallel make to fail. 22617Solution: Update dependencies. 22618Files: src/Makefile 22619 22620Patch 8.0.1314 (after 8.0.1312) 22621Problem: Build fails on Mac. (chdiza) 22622Solution: Add #ifdef around GUI fields. 22623Files: src/beval.h 22624 22625Patch 8.0.1315 (after 8.0.1312) 22626Problem: Build still fails on Mac. (chdiza) 22627Solution: Remove bogus typedef. 22628Files: src/os_macosx.m 22629 22630Patch 8.0.1316 (after 8.0.1312) 22631Problem: Build still still fails on Mac. (chdiza) 22632Solution: Remove another bogus typedef. 22633Files: src/os_mac_conv.c 22634 22635Patch 8.0.1317 22636Problem: Accessing freed memory in term_wait(). (Dominique Pelle) 22637Solution: Check that the buffer still exists. 22638Files: src/terminal.c 22639 22640Patch 8.0.1318 22641Problem: Terminal balloon only shows one line. 22642Solution: Split into several lines in a clever way. Add balloon_split(). 22643 Make balloon_show() accept a list in the terminal. 22644Files: src/popupmnu.c, src/proto/popupmnu.pro, src/evalfunc.c, 22645 src/beval.c, src/proto/beval.pro, src/testdir/test_popup.vim, 22646 runtime/doc/eval.txt, 22647 runtime/pack/dist/opt/termdebug/plugin/termdebug.vim 22648 22649Patch 8.0.1319 22650Problem: Can't build GUI on MS-Windows. 22651Solution: Don't define the balloon_split() function in a GUI-only build. 22652Files: src/evalfunc.c, runtime/doc/eval.txt 22653 22654Patch 8.0.1320 22655Problem: Popup test fails on GUI-only build. 22656Solution: Don't test balloon_split() when it's not available. 22657Files: src/testdir/test_popup.vim 22658 22659Patch 8.0.1321 22660Problem: Can't build huge version with Athena. (Mark Kelly) 22661Solution: Move including beval.h to before structs.h. Include beval.pro like 22662 other proto files. 22663Files: src/vim.h, src/beval.h, src/proto.h 22664 22665Patch 8.0.1322 22666Problem: Textformat test isn't run. (Yegappan Lakshmanan) 22667Solution: Add target to the list of tests. 22668Files: src/testdir/Make_all.mak 22669 22670Patch 8.0.1323 22671Problem: Mouse events in a terminal window may cause endless loop. 22672Solution: Adjust position computation. Don't stuff a mouse event when 22673 coming from normal_cmd(). 22674Files: src/normal.c, src/terminal.c 22675 22676Patch 8.0.1324 22677Problem: Some xterm sends different mouse move codes. 22678Solution: Also accept 0x80 as a move event. 22679Files: src/term.c 22680 22681Patch 8.0.1325 22682Problem: More tests are not run. 22683Solution: Add targets to the list of tests. (Yegappan Lakshmanan) 22684Files: src/testdir/Make_all.mak 22685 22686Patch 8.0.1326 22687Problem: Largefile test fails on CI, glob test on MS-Windows. 22688Solution: Remove largefile test from list of all tests. Don't run 22689 Test_glob() on non-unix systems. More cleanup. (Yegappan 22690 Lakshmanan, closes #2354) 22691Files: src/testdir/Make_all.mak, src/testdir/test_escaped_glob.vim, 22692 src/testdir/test_plus_arg_edit.vim 22693 22694Patch 8.0.1327 22695Problem: New proto file missing from distribution. 22696Solution: Add it. (closes #2355) 22697Files: Filelist 22698 22699Patch 8.0.1328 22700Problem: Trouble when using ":term ++close" with autocmd. (Gabriel Barta) 22701Solution: Use aucmd_prepbuf() and aucmd_restbuf() instead of setting curbuf. 22702 (closes #2339) 22703Files: src/terminal.c, src/testdir/test_terminal.vim 22704 22705Patch 8.0.1329 22706Problem: When a flaky test fails it also often fails the second time. 22707Solution: Sleep a couple of seconds before the second try. 22708Files: src/testdir/runtest.vim 22709 22710Patch 8.0.1330 22711Problem: MS-Windows: job in terminal can't get back to Vim. 22712Solution: set VIM_SERVERNAME in the environment. (Yasuhiro Matsumoto, closes 22713 #2360) 22714Files: runtime/doc/terminal.txt, src/os_win32.c, src/proto/os_win32.pro, 22715 src/terminal.c, src/testdir/test_terminal.vim 22716 22717Patch 8.0.1331 22718Problem: Possible crash when window can be zero lines high. (Joseph 22719 Dornisch) 22720Solution: Only set w_fraction if the window is at least two lines high. 22721Files: src/window.c 22722 22723Patch 8.0.1332 22724Problem: Highlighting in quickfix window could be better. (Axel Bender) 22725Solution: Use the qfSeparator highlight item. (Yegappan Lakshmanan) 22726Files: src/quickfix.c 22727 22728Patch 8.0.1333 22729Problem: Some tests are run twice. 22730Solution: Invoked most utf8 tests only from test_alot_utf8. (Yegappan 22731 Lakshmanan, closes #2369) 22732Files: src/testdir/Make_all.mak, src/testdir/test_alot_utf8.vim, 22733 src/testdir/test_mksession_utf8.vim 22734 22735Patch 8.0.1334 22736Problem: Splitting a window with a WinBar damages window layout. 22737 (Lifepillar) 22738Solution: Take the winbar into account when computing the new window 22739 position. Add WINBAR_HEIGHT(). 22740Files: src/vim.h, src/window.c 22741 22742Patch 8.0.1335 22743Problem: writefile() using fsync() may give an error for a device. 22744 (Yasuhiro Matsumoto) 22745Solution: Ignore fsync() failing. (closes #2373) 22746Files: src/evalfunc.c 22747 22748Patch 8.0.1336 22749Problem: Cannot use imactivatefunc() unless compiled with +xim. 22750Solution: Allow using imactivatefunc() when not compiled with +xim. 22751 (Yasuhiro Matsumoto, closes #2349) 22752Files: runtime/doc/options.txt, runtime/doc/mbyte.txt, src/mbyte.c, 22753 src/option.c, src/option.h, src/structs.h, 22754 src/testdir/test_iminsert.vim, src/Makefile, 22755 src/testdir/Make_all.mak, src/vim.h 22756 22757Patch 8.0.1337 (after 8.0.1336) 22758Problem: Typo in #ifdef. 22759Solution: Fix the #if line. 22760Files: src/mbyte.c 22761 22762Patch 8.0.1338 (after 8.0.1337) 22763Problem: USE_IM_CONTROL is confusing and incomplete. 22764Solution: Just use FEAT_MBYTE. Call 'imactivatefunc' also without GUI. 22765Files: src/vim.h, src/edit.c, src/ex_getln.c, src/getchar.c, src/gui.c, 22766 src/gui_mac.c, src/gui_w32.c, src/mbyte.c, src/normal.c, 22767 src/option.c, src/ui.c, src/globals.h, src/option.h 22768 22769Patch 8.0.1339 22770Problem: No test for what 8.0.1335 fixes. 22771Solution: Add a test. (Yasuhiro Matsumoto, closes #2373) 22772Files: src/testdir/test_writefile.vim 22773 22774Patch 8.0.1340 22775Problem: MS-Windows: cannot build GUI without IME. 22776Solution: Define im_get_status() and im_set_active() when IME is not used. 22777Files: src/mbyte.c 22778 22779Patch 8.0.1341 22780Problem: 'imactivatefunc' test fails on MS-Windows. 22781Solution: Skip the text. 22782Files: src/testdir/test_iminsert.vim, runtime/doc/options.txt 22783 22784Patch 8.0.1342 22785Problem: Cannot build with Motif and multi-byte. (Mohamed Boughaba) 22786Solution: Use the right input method status flag. (closes #2374) 22787Files: src/mbyte.c 22788 22789Patch 8.0.1343 22790Problem: MS-Windows: does not show colored emojis. 22791Solution: Implement colored emojis. Improve drawing speed. Make 'taamode' 22792 work. (Taro Muraoka, Yasuhiro Matsumoto, Ken Takata, close #2375) 22793Files: appveyor.yml, runtime/doc/options.txt, src/gui_dwrite.cpp, 22794 src/gui_dwrite.h, src/gui_w32.c, src/proto/gui_w32.pro 22795 22796Patch 8.0.1344 22797Problem: Using 'imactivatefunc' in the GUI does not work. 22798Solution: Do not use 'imactivatefunc' and 'imstatusfunc' in the GUI. 22799Files: runtime/doc/options.txt, src/mbyte.c, 22800 src/testdir/test_iminsert.vim 22801 22802Patch 8.0.1345 22803Problem: Race condition between stat() and open() for the viminfo temp 22804 file. (Simon Ruderich) 22805Solution: use open() with O_EXCL to atomically check if the file exists. 22806 Don't try using a temp file, renaming it will fail anyway. 22807Files: src/ex_cmds.c 22808 22809Patch 8.0.1346 22810Problem: Crash when passing 50 char string to balloon_split(). 22811Solution: Fix off-by-one error. 22812Files: src/testdir/test_popup.vim, src/popupmnu.c 22813 22814Patch 8.0.1347 22815Problem: MS-Windows: build broken by misplaced curly. 22816Solution: Move curly after #endif. 22817Files: src/ex_cmds.c 22818 22819Patch 8.0.1348 22820Problem: Make testclean deletes script file on MS-Windows. 22821Solution: Rename file to avoid it starting with an "x". 22822Files: src/testdir/xterm_ramp.vim, src/testdir/color_ramp.vim, Filelist 22823 22824Patch 8.0.1349 22825Problem: Options test fails when using Motif or GTK GUI. 22826Solution: Use "fixed" instead of "fixedsys" for Unix. Don't try "xxx" for 22827 guifonteset. Don't set 'termencoding' to anything but "utf-8" for 22828 GTK. Give an error if 'termencoding' can't be converted. 22829Files: src/testdir/gen_opt_test.vim, src/option.c 22830 22831Patch 8.0.1350 22832Problem: Cannot build with +eval and -multi_byte. 22833Solution: Adjust #ifdefs. (John Marriott) Always include the multi_byte 22834 feature when an input method feature is enabled. 22835Files: src/mbyte.c, src/feature.h 22836 22837Patch 8.0.1351 22838Problem: Warning for unused variables building with MinGW. 22839Solution: Change a few #ifdefs (suggested by John Marriott). Remove 22840 superfluous checks of FEAT_MBYTE. 22841Files: src/gui_w32.c 22842 22843Patch 8.0.1352 22844Problem: Dead URLs in the help go unnoticed. 22845Solution: Add a script to check URLs in the help files. (Christian Brabandt) 22846Files: runtime/doc/Makefile, runtime/doc/test_urls.vim, Filelist 22847 22848Patch 8.0.1353 22849Problem: QuickFixCmdPost is not used consistently. 22850Solution: Invoke QuickFixCmdPost consistently after QuickFixCmdPre. 22851 (Yegappan Lakshmanan, closes #2377) 22852Files: src/quickfix.c, src/testdir/test_quickfix.vim 22853 22854Patch 8.0.1354 22855Problem: Shift-Insert doesn't always work in MS-Windows console. 22856Solution: Handle K_NUL differently. (Yasuhiro Matsumoto, closes #2381) 22857Files: src/os_win32.c 22858 22859Patch 8.0.1355 (after 8.0.1354) 22860Problem: Cursor keys don't work in MS-Windows console. 22861Solution: Revert the previous patch. Also delete dead code. 22862Files: src/os_win32.c 22863 22864Patch 8.0.1356 22865Problem: Using simalt in a GUIEnter autocommand inserts strange characters. 22866 (Chih-Long Chang) 22867Solution: Ignore K_NOP in Insert mode. (closes #2379) 22868Files: src/edit.c, src/ex_getln.c 22869 22870Patch 8.0.1357 22871Problem: Startup test fails on OpenBSD. (Edd Barrett) 22872Solution: Check for "BSD" instead of "FreeBSD" being defined. (James McCoy, 22873 closes #2376, closes #2378) 22874Files: src/vim.h 22875 22876Patch 8.0.1358 22877Problem: Undercurl is not used in the terminal. (Kovid Goyal) 22878Solution: Only fall back to underline when undercurl highlighting is not 22879 defined. (closes #1306) 22880Files: src/screen.c 22881 22882Patch 8.0.1359 22883Problem: Libvterm ANSI colors can not always be recognized from the RGB 22884 values. The default color is wrong when t_RB is empty. 22885Solution: Add the ANSI color index to VTermColor. 22886Files: src/libvterm/include/vterm.h, src/libvterm/src/pen.c, 22887 src/terminal.c 22888 22889Patch 8.0.1360 22890Problem: The Terminal highlighting doesn't work in a terminal. (Ozaki 22891 Kiichi) 22892Solution: Use the Terminal highlighting when the cterm index is zero. 22893Files: src/terminal.c 22894 22895Patch 8.0.1361 22896Problem: Some users don't want to diff with hidden buffers. 22897Solution: Add the "hiddenoff" item to 'diffopt'. (Alisue, closes #2394) 22898Files: runtime/doc/options.txt, src/buffer.c, src/diff.c, 22899 src/proto/diff.pro, src/testdir/test_diffmode.vim 22900 22901Patch 8.0.1362 22902Problem: Terminal window colors wrong when using Terminal highlighting. 22903Solution: Set ansi_index when setting the default color. Also cache the 22904 color index for Terminal. (Ozaki Kiichi, closes #2393) 22905Files: src/libvterm/src/pen.c, src/proto/terminal.pro, src/syntax.c, 22906 src/terminal.c 22907 22908Patch 8.0.1363 22909Problem: Recovering does not work when swap file ends in .stz. 22910Solution: Check for all possible swap file names. (Elfling, closes #2395, 22911 closes #2396) 22912Files: src/memline.c 22913 22914Patch 8.0.1364 22915Problem: There is no easy way to get the window position. 22916Solution: Add win_screenpos(). 22917Files: src/evalfunc.c, src/testdir/test_window_cmd.vim, 22918 runtime/doc/eval.txt 22919 22920Patch 8.0.1365 22921Problem: When one channel test fails others fail as well. 22922Solution: Stop the job after a failure. Also add a couple of tests to the 22923 list of flaky tests. 22924Files: src/testdir/test_channel.vim, src/testdir/runtest.vim 22925 22926Patch 8.0.1366 22927Problem: Balloon shows when cursor is in WinBar. 22928Solution: Don't show the balloon when row is negative. 22929Files: src/beval.c 22930 22931Patch 8.0.1367 22932Problem: terminal test hangs, executing abcde. (Stucki) 22933Solution: Rename abcde to abxde. 22934Files: src/testdir/test_terminal.vim 22935 22936Patch 8.0.1368 22937Problem: Cannot drag status line or vertical separator of new terminal 22938 window. (UncleBill) 22939Solution: Adjust mouse row and column computation. (Yasuhiro Matsumoto, 22940 closes #2410) 22941Files: src/terminal.c 22942 22943Patch 8.0.1369 22944Problem: MS-Windows: drawing underline, curl and strikethrough is slow, 22945 mFallbackDC not properly updated. 22946Solution: Several performance improvements. (Ken Takata, Taro Muraoka, 22947 Yasuhiro Matsumoto, closes #2401) 22948Files: runtime/doc/options.txt, src/gui_dwrite.cpp, src/gui_dwrite.h, 22949 src/gui_w32.c 22950 22951Patch 8.0.1370 22952Problem: Channel test for callback is flaky. 22953Solution: Add the test to the list of flaky tests. 22954Files: src/testdir/runtest.vim 22955 22956Patch 8.0.1371 22957Problem: Shift-Insert doesn't always work in MS-Windows console. 22958Solution: Handle K_NUL differently if the second character is more than one 22959 byte. (Yasuhiro Matsumoto, closes #2381) 22960Files: src/os_win32.c 22961 22962Patch 8.0.1372 22963Problem: Profile log may be truncated halfway a character. 22964Solution: Find the start of the character. (Ozaki Kiichi, closes #2385) 22965Files: src/ex_cmds2.c, src/testdir/test_profile.vim 22966 22967Patch 8.0.1373 22968Problem: No error when setting 'renderoptions' to an invalid value before 22969 starting the GUI. 22970Solution: Always check the value. (Ken Takata, closes #2413) 22971Files: src/gui_w32.c, src/option.c 22972 22973Patch 8.0.1374 22974Problem: CTRL-A does not work with an empty line. (Alex) 22975Solution: Decrement the end only once. (Hirohito Higashi, closes #2387) 22976Files: src/ops.c, src/testdir/test_increment.vim 22977 22978Patch 8.0.1375 22979Problem: Window size wrong after maximizing with WinBar. (Lifepillar) 22980Solution: Fix height computations. Redraw window when it is zero height but 22981 has a WinBar. (closes #2356) 22982Files: src/window.c, src/screen.c, src/vim.h 22983 22984Patch 8.0.1376 22985Problem: Cursor in terminal not always updated. 22986Solution: Call gui_mch_flush(). (Ken Takata) 22987Files: src/terminal.c 22988 22989Patch 8.0.1377 22990Problem: Cannot call a dict function in autoloaded dict. 22991Solution: Call get_lval() passing the read-only flag. 22992Files: src/userfunc.c, src/eval.c, src/testdir/sautest/autoload/foo.vim, 22993 src/testdir/sautest/autoload/globone.vim, 22994 src/testdir/sautest/autoload/globtwo.vim, 22995 src/testdir/test_escaped_glob.vim, src/Makefile, 22996 src/testdir/test_autoload.vim, src/Makefile, 22997 src/testdir/Make_all.mak 22998 22999Patch 8.0.1378 23000Problem: Autoload script sources itself when defining function. 23001Solution: Pass TFN_NO_AUTOLOAD to trans_function_name(). (Yasuhiro 23002 Matsumoto, closes #2423) 23003Files: src/userfunc.c, src/testdir/test_autoload.vim, 23004 src/testdir/sautest/autoload/sourced.vim 23005 23006Patch 8.0.1379 23007Problem: Configure check for selinux does not check for header file. 23008Solution: Add an AC_CHECK_HEADER(). (Benny Siegert) 23009Files: src/configure.ac, src/auto/configure 23010 23011Patch 8.0.1380 23012Problem: When recovering a file with "vim -r swapfile" the hit-enter prompt 23013 is at the top of the window. 23014Solution: Invalidate the cursor position. 23015Files: src/term.c 23016 23017Patch 8.0.1381 23018Problem: ch_readraw() waits for NL if channel mode is NL. 23019Solution: Pass a "raw" flag to channel_read_block(). (Yasuhiro Matsumoto) 23020Files: src/channel.c, src/proto/channel.pro, 23021 src/testdir/test_channel.vim, src/testdir/test_channel_pipe.py 23022 23023Patch 8.0.1382 23024Problem: Get "no write since last change" message if a terminal is open. 23025 (Fritz mehner) 23026Solution: Don't consider a buffer changed if it's a terminal window. 23027Files: src/ex_cmds.c, src/undo.c, src/proto/undo.pro 23028 23029Patch 8.0.1383 23030Problem: Local additions in help skips some files. (joshklod) 23031Solution: Check the base file name length equals. 23032Files: src/ex_cmds.c, src/testdir/test_help.vim 23033 23034Patch 8.0.1384 23035Problem: Not enough quickfix help; confusing winid. 23036Solution: Add more examples in the help. When the quickfix window is not 23037 present, return zero for getqflist() with 'winid'. Add more tests 23038 for jumping to quickfix list entries. (Yegappan Lakshmanan, closes 23039 #2427) 23040Files: runtime/doc/eval.txt, runtime/doc/quickfix.txt, src/quickfix.c, 23041 src/testdir/test_quickfix.vim 23042 23043Patch 8.0.1385 23044Problem: Python 3.5 is getting old. 23045Solution: Make Python 3.6 the default. (Ken Takata, closes #2429) 23046Files: runtime/doc/if_pyth.txt, src/INSTALLpc.txt, src/Make_cyg_ming.mak, 23047 src/Make_mvc.mak, src/bigvim.bat 23048 23049Patch 8.0.1386 23050Problem: Cannot select modified buffers with getbufinfo(). 23051Solution: Add the "bufmodified" flag. (Yegappan Lakshmanan, closes #2431) 23052Files: runtime/doc/eval.txt, src/evalfunc.c, 23053 src/testdir/test_bufwintabinfo.vim 23054 23055Patch 8.0.1387 23056Problem: Wordcount test is old style. 23057Solution: Change into a new style test. (Yegappan Lakshmanan, closes #2434) 23058Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_ming.mak, 23059 src/testdir/Make_vms.mms, src/testdir/test_wordcount.in, 23060 src/testdir/test_wordcount.ok, src/testdir/test_wordcount.vim 23061 23062Patch 8.0.1388 23063Problem: Char not overwritten with ambiguous width char, if the ambiguous 23064 char is single width but we reserve double-width space. 23065Solution: First clear the screen cells. (Ozaki Kiichi, closes #2436) 23066Files: src/screen.c 23067 23068Patch 8.0.1389 23069Problem: getqflist() items are missing if not set, that makes it more 23070 difficult to handle the values. 23071Solution: When a value is not available return zero or another invalid 23072 value. (Yegappan Lakshmanan, closes #2430) 23073Files: runtime/doc/eval.txt, src/quickfix.c, 23074 src/testdir/test_quickfix.vim 23075 23076Patch 8.0.1390 23077Problem: DirectX scrolling can be slow, vertical positioning is off. 23078Solution: Make scroll slightly faster when using "scrlines:1". Fix y 23079 position of displayed text. Fix DirectX with non-utf8 encoding. 23080 (Ken Takata, closes #2440) 23081Files: src/INSTALLpc.txt, src/Make_cyg_ming.mak, src/Make_mvc.mak, 23082 src/gui_dwrite.cpp, src/gui_w32.c 23083 23084Patch 8.0.1391 23085Problem: Encoding empty string to JSON sometimes gives "null". 23086Solution: Handle NULL string as empty string. (closes #2446) 23087Files: src/testdir/test_json.vim, src/json.c 23088 23089Patch 8.0.1392 23090Problem: Build fails with --with-features=huge --disable-channel. 23091Solution: Don't enable the terminal feature when the channel feature is 23092 missing. (Dominique Pelle, closes #2453) 23093Files: src/configure.ac, src/auto/configure 23094 23095Patch 8.0.1393 23096Problem: Too much highlighting with 'hlsearch' and 'incsearch' set. 23097Solution: Do not highlight matches when the pattern matches everything. 23098Files: src/ex_getln.c 23099 23100Patch 8.0.1394 23101Problem: Cannot intercept a yank command. 23102Solution: Add the TextYankPost autocommand event. (Philippe Vaucher et al., 23103 closes #2333) 23104Files: runtime/doc/autocmd.txt, runtime/doc/eval.txt, src/dict.c, 23105 src/eval.c, src/fileio.c, src/ops.c, src/proto/dict.pro, 23106 src/proto/eval.pro, src/proto/fileio.pro, 23107 src/testdir/test_autocmd.vim, src/vim.h 23108 23109Patch 8.0.1395 23110Problem: It is not easy to see if a colorscheme is well written. 23111Solution: Add a script that checks for common mistakes. (Christian Brabandt) 23112Files: runtime/colors/check_colors.vim, runtime/colors/README.txt 23113 23114Patch 8.0.1396 23115Problem: Memory leak when CTRL-G in search command line fails. 23116Solution: Move restore_last_search_pattern to after "if". 23117Files: src/ex_getln.c 23118 23119Patch 8.0.1397 23120Problem: Pattern with \& following nothing gives an error. 23121Solution: Emit an empty node when needed. 23122Files: src/regexp_nfa.c, src/testdir/test_search.vim 23123 23124Patch 8.0.1398 23125Problem: :packadd does not load packages from the "start" directory. 23126 (Alejandro Hernandez) 23127Solution: Make :packadd look in the "start" directory if those packages were 23128 not loaded on startup. 23129Files: src/ex_cmds2.c, src/testdir/test_packadd.vim 23130 23131Patch 8.0.1399 23132Problem: Warnings and errors when building tiny version. (Tony Mechelynck) 23133Solution: Add #ifdefs. 23134Files: src/ex_getln.c, src/ops.c 23135 23136Patch 8.0.1400 23137Problem: Color scheme check script shows up as color scheme. 23138Solution: Move it to the "tools" subdirectory. (closes #2457) 23139Files: Filelist, runtime/colors/check_colors.vim, 23140 runtime/colors/tools/check_colors.vim, runtime/colors/README.txt 23141 23142Patch 8.0.1401 23143Problem: Cannot build with GTK but without XIM. (Guido) 23144Solution: Adjust #ifdef. (closes #2461) 23145Files: src/gui.c 23146 23147Patch 8.0.1402 23148Problem: Crash with nasty autocommand. (gy741, Dominique Pelle) 23149Solution: Check that the new current buffer isn't wiped out. (closes #2447) 23150Files: src/buffer.c, src/testdir/test_autocmd.vim 23151 23152Patch 8.0.1403 23153Problem: Using freed buffer in grep command. (gy741, Dominique Pelle) 23154Solution: Lock the dummy buffer to avoid autocommands wiping it out. 23155Files: src/quickfix.c, src/testdir/test_autocmd.vim 23156 23157Patch 8.0.1404 23158Problem: Invalid memory access on exit when autocommands wipe out a buffer. 23159 (gy741, Dominique Pelle) 23160Solution: Check if the buffer is still valid. (closes #2449) 23161Files: src/main.c 23162 23163Patch 8.0.1405 23164Problem: Duplicated code for getting a typed character. CursorHold is 23165 called too often in the GUI. (lilydjwg) 23166Solution: Refactor code to move code up from mch_inchar(). Don't fire 23167 CursorHold if feedkeys() was used. (closes #2451) 23168Files: src/gui.c, src/proto/gui.pro, src/main.c, src/ui.c, 23169 src/proto/ui.pro, src/os_unix.c 23170 23171Patch 8.0.1406 23172Problem: Difficult to track changes to a quickfix list. 23173Solution: Add a "changedtick" value. (Yegappan Lakshmanan, closes #2460) 23174Files: runtime/doc/eval.txt, runtime/doc/quickfix.txt, src/quickfix.c, 23175 src/testdir/test_quickfix.vim 23176 23177Patch 8.0.1407 23178Problem: GUI: CursorHold may trigger before 'updatetime' when using timers. 23179Solution: Check that 'updatetime' has passed. 23180Files: src/gui.c 23181 23182Patch 8.0.1408 23183Problem: Crash in setqflist(). 23184Solution: Check for string to be NULL. (Dominique Pelle, closes #2464) 23185Files: src/quickfix.c, src/testdir/test_quickfix.vim 23186 23187Patch 8.0.1409 23188Problem: Buffer overflow in :tags command. 23189Solution: Use vim_snprintf(). (Dominique Pelle, closes #2471, closes #2475) 23190 Add a test. 23191Files: src/testdir/test_taglist.vim, src/tag.c 23192 23193Patch 8.0.1410 23194Problem: Hang when using count() with an empty string. 23195Solution: Return zero for an empty string. (Dominique Pelle, closes #2465) 23196Files: runtime/doc/eval.txt, src/evalfunc.c, 23197 src/testdir/test_functions.vim 23198 23199Patch 8.0.1411 23200Problem: Reading invalid memory with CTRL-W :. 23201Solution: Correct the command characters. (closes #2469) 23202Files: src/normal.c, src/testdir/test_window_cmd.vim, src/ops.c 23203 23204Patch 8.0.1412 23205Problem: Using free memory using setloclist(). (Dominique Pelle) 23206Solution: Mark location list context as still in use when needed. (Yegappan 23207 Lakshmanan, closes #2462) 23208Files: src/quickfix.c, src/testdir/test_quickfix.vim 23209 23210Patch 8.0.1413 23211Problem: Accessing freed memory in :cbuffer. 23212Solution: Get quickfix list after executing autocmds. (closes #2470) 23213Files: src/quickfix.c, src/testdir/test_autocmd.vim 23214 23215Patch 8.0.1414 23216Problem: Accessing freed memory in :lfile. 23217Solution: Get the current window after executing autocommands. (Yegappan 23218 Lakshmanan, closes #2473) 23219Files: src/quickfix.c, src/testdir/test_quickfix.vim 23220 23221Patch 8.0.1415 23222Problem: Warning for unused function without timers feature. 23223Solution: Add #ifdef. (John Marriott) 23224Files: src/gui.c 23225 23226Patch 8.0.1416 23227Problem: Crash when searching for a sentence. 23228Solution: Return NUL when getting character at MAXCOL. (closes #2468) 23229Files: src/misc1.c, src/misc2.c, src/testdir/test_search.vim, 23230 src/ex_docmd.c 23231 23232Patch 8.0.1417 23233Problem: Test doesn't search for a sentence. Still fails when searching for 23234 start of sentence. (Dominique Pelle) 23235Solution: Add paren. Check for MAXCOL in dec(). 23236Files: src/testdir/test_search.vim, src/misc2.c 23237 23238Patch 8.0.1418 23239Problem: No test for expanding backticks. 23240Solution: Add a test. (Dominique Pelle, closes #2479) 23241Files: src/testdir/test_normal.vim 23242 23243Patch 8.0.1419 23244Problem: Cursor column is not updated after ]s. (Gary Johnson) 23245Solution: Set the curswant flag. 23246Files: src/testdir/test_spell.vim, src/normal.c, src/evalfunc.c 23247 23248Patch 8.0.1420 23249Problem: Accessing freed memory in vimgrep. 23250Solution: Check that the quickfix list is still valid. (Yegappan Lakshmanan, 23251 closes #2474) 23252Files: src/quickfix.c, src/testdir/test_autocmd.vim, 23253 src/testdir/test_quickfix.vim 23254 23255Patch 8.0.1421 23256Problem: Accessing invalid memory with overlong byte sequence. 23257Solution: Check for NUL character. (test by Dominique Pelle, closes #2485) 23258Files: src/misc2.c, src/testdir/test_functions.vim 23259 23260Patch 8.0.1422 23261Problem: No fallback to underline when undercurl is not set. (Ben Jackson) 23262Solution: Check for the value to be empty instead of NULL. (closes #2424) 23263Files: src/screen.c 23264 23265Patch 8.0.1423 23266Problem: Error in return not caught by try/catch. 23267Solution: Call update_force_abort(). (Yasuhiro Matsumoto, closes #2483) 23268Files: src/testdir/test_eval.in, src/testdir/test_eval_stuff.vim, 23269 src/Makefile, src/testdir/Make_all.mak, src/userfunc.c 23270 23271Patch 8.0.1424 23272Problem: The timer_pause test is flaky on Travis. 23273Solution: Accept a longer sleep time on Mac. 23274Files: src/testdir/test_timers.vim 23275 23276Patch 8.0.1425 23277Problem: execute() does not work in completion of user command. (thinca) 23278Solution: Switch off redir_off and restore it. (Ozaki Kiichi, closes #2492) 23279Files: src/evalfunc.c, src/testdir/test_usercommands.vim 23280 23281Patch 8.0.1426 23282Problem: "gf" and <cfile> don't accept ? and & in URL. (Dmitrii Tcyganok) 23283Solution: Check for a URL and allow for extra characters. (closes #2493) 23284Files: src/window.c, src/testdir/test_gf.vim 23285 23286Patch 8.0.1427 23287Problem: The :leftabove modifier doesn't work for :copen. 23288Solution: Respect the split modifier. (Yegappan Lakshmanan, closes #2496) 23289Files: src/quickfix.c, src/testdir/test_quickfix.vim 23290 23291Patch 8.0.1428 23292Problem: Compiler warning on 64 bit MS-Windows system. 23293Solution: Change type from "int" to "size_t". (Mike Williams) 23294Files: src/ex_getln.c 23295 23296Patch 8.0.1429 23297Problem: Crash when calling term_start() with empty argument. 23298Solution: Check for invalid argument. (Yasuhiro Matsumoto, closes #2503) 23299 Fix memory leak. 23300Files: src/terminal.c, src/testdir/test_terminal.vim 23301 23302Patch 8.0.1430 (after 8.0.1429) 23303Problem: Crash when term_start() fails. 23304Solution: Initialize winpty_err. 23305Files: src/terminal.c 23306 23307Patch 8.0.1431 23308Problem: MS-Windows: vimtutor fails if %TMP% has special chars. 23309Solution: Add quotes. (Tamce, closes #2561) 23310Files: vimtutor.bat 23311 23312Patch 8.0.1432 23313Problem: After ":copen" can't get the window-ID of the quickfix window. 23314 (FalacerSelene) 23315Solution: Make it work without a quickfix list. Add a test. (Yegappan 23316 Lakshmanan, closes #2541) 23317Files: src/quickfix.c, src/testdir/test_quickfix.vim 23318 23319Patch 8.0.1433 23320Problem: Illegal memory access after undo. (Dominique Pelle) 23321Solution: Avoid the column becomes negative. (Christian Brabandt, 23322 closes #2533) 23323Files: src/mbyte.c, src/testdir/test_undo.vim 23324 23325Patch 8.0.1434 23326Problem: GTK: :promtfind does not put focus on text input. (Adam Novak) 23327Solution: When re-opening the dialog put focus on the text input. (Kazunobu 23328 Kuriyama, closes #2563) 23329Files: src/gui_gtk.c 23330 23331Patch 8.0.1435 23332Problem: Memory leak in test_arabic. 23333Solution: Free the from and to parts. (Christian Brabandt, closes #2569) 23334Files: src/buffer.c, src/digraph.c, src/proto/digraph.pro 23335 23336Patch 8.0.1436 23337Problem: Not enough information about what Python version may work. 23338Solution: Add "python_compiled", "python3_compiled", "python_dynamic" and 23339 "python3_dynamic" values for has(). 23340Files: src/evalfunc.c, runtime/doc/eval.txt 23341 23342Patch 8.0.1437 23343Problem: Pkg-config doesn't work with cross compiling. 23344Solution: Use AC_PATH_TOOL() instead of AC_PATH_PROG(). (James McCoy, 23345 closes #2513) 23346Files: src/configure.ac, src/auto/configure 23347 23348Patch 8.0.1438 23349Problem: Filetype detection test not updated for change. 23350Solution: Update the test. 23351Files: src/testdir/test_filetype.vim 23352 23353Patch 8.0.1439 23354Problem: If cscope fails a search Vim may hang. 23355Solution: Bail out when a search error is encountered. (Safouane Baroudi, 23356 closes #2598) 23357Files: src/if_cscope.c 23358 23359Patch 8.0.1440 23360Problem: Terminal window: some vterm responses are delayed. 23361Solution: After writing input. check if there is output to read. (Ozaki 23362 Kiichi, closes #2594) 23363Files: src/terminal.c, src/testdir/test_search.vim, 23364 src/testdir/test_terminal.vim 23365 23366Patch 8.0.1441 23367Problem: Using ":undo 0" leaves undo in wrong state. 23368Solution: Instead of searching for state 1 and go above, just use the start. 23369 (Ozaki Kiichi, closes #2595) 23370Files: src/undo.c, src/testdir/test_undo.vim 23371 23372Patch 8.0.1442 (after 8.0.1439) 23373Problem: Using pointer before it is set. 23374Solution: Search in whole buffer instead of next token. 23375Files: src/if_cscope.c 23376 23377Patch 8.0.1443 (after 8.0.1441) 23378Problem: Compiler complains about uninitialized variable. (Tony Mechelynck) 23379Solution: Assign a value to the variable. 23380Files: src/undo.c 23381 23382Patch 8.0.1444 23383Problem: Missing -D_FILE_OFFSET_BITS=64 may cause problems if a library is 23384 compiled with it. 23385Solution: Include -D_FILE_OFFSET_BITS if some CFLAGS has it. (James McCoy, 23386 closes #2600) 23387Files: src/configure.ac, src/auto/configure 23388 23389Patch 8.0.1445 23390Problem: Cannot act on edits in the command line. 23391Solution: Add the CmdlineChanged autocommand event. (xtal8, closes #2603, 23392 closes #2524) 23393Files: runtime/doc/autocmd.txt, src/ex_getln.c, src/fileio.c, 23394 src/testdir/test_autocmd.vim, src/vim.h 23395 23396Patch 8.0.1446 23397Problem: Accessing freed memory after window command in auto command. 23398 (gy741) 23399Solution: Adjust the pointer in the parent frame. (Christian Brabandt, 23400 closes #2467) 23401Files: src/window.c, src/testdir/test_window_cmd.vim 23402 23403Patch 8.0.1447 23404Problem: Still too many old style tests. 23405Solution: Turn a few tests into new style. (Yegappan Lakshmanan, 23406 closes #2509) 23407Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms, 23408 src/testdir/main.aap, src/testdir/test15.in, 23409 src/testdir/test15.ok, src/testdir/test36.in, 23410 src/testdir/test36.ok, src/testdir/test50.in, 23411 src/testdir/test50.ok, src/testdir/test_regex_char_classes.vim, 23412 src/testdir/test_shortpathname.vim, 23413 src/testdir/test_textformat.vim 23414 23415Patch 8.0.1448 23416Problem: Segmentation fault when Ruby throws an exception inside :rubyfile 23417 command. 23418Solution: Use rb_protect() instead of rb_load_protect(). (ujihisa, 23419 closes #2147, greywolf, closes #2512, #2511) 23420Files: src/if_ruby.c, src/testdir/test_ruby.vim 23421 23422Patch 8.0.1449 23423Problem: Slow redrawing with DirectX. 23424Solution: Avoid calling gui_mch_flush() unnecessarily, especially when 23425 updating the cursor. (Ken Takata, closes #2560) 23426Files: runtime/doc/options.txt, src/channel.c, src/edit.c, src/getchar.c, 23427 src/gui.c, src/gui_dwrite.cpp, src/gui_dwrite.h, src/gui_w32.c, 23428 src/macros.h, src/main.c, src/message.c, src/netbeans.c, 23429 src/proto/gui.pro, src/proto/term.pro, src/screen.c, src/search.c, 23430 src/term.c, src/ui.c 23431 23432Patch 8.0.1450 23433Problem: Endless loop when gui_mch_stop_blink() is called while blink_state 23434 is BLINK_OFF. (zdohnal) 23435Solution: Avoid calling gui_update_cursor() recursively. 23436Files: src/gui.c, src/gui_gtk_x11.c, src/proto/gui_gtk_x11.pro, 23437 src/gui_mac.c, src/proto/gui_mac.pro, src/gui_photon.c, 23438 src/proto/gui_photon.pro, src/gui_w32.c, src/proto/gui_w32.pro, 23439 src/gui_x11.c, src/proto/gui_x11.pro 23440 23441Patch 8.0.1451 23442Problem: It is difficult to set the python home directory properly for 23443 Python 2.7 and 3.5 since both use $PYTHONHOME. 23444Solution: Add the 'pythonhome' and 'pythonthreehome' options. (Kazuki 23445 Sakamoto, closes #1266) 23446Files: runtime/doc/options.txt, runtime/doc/quickref.txt, 23447 runtime/optwin.vim, src/if_python.c, src/if_python3.c, 23448 src/option.c, src/option.h 23449 23450Patch 8.0.1452 23451Problem: Terminal test fails on some systems. (jonathonf) 23452Solution: Use "cat" instead of Python to produce the input. Add a delay. 23453 (closes #2607) 23454Files: src/testdir/test_terminal.vim 23455 23456Patch 8.0.1453 23457Problem: Terminal test fails on some slow terminals. 23458Solution: Increase timeout to 10 seconds. 23459Files: src/testdir/test_terminal.vim 23460 23461Patch 8.0.1454 23462Problem: When in silent mode too much output is buffered. 23463Solution: Use line buffering instead of fully buffered. (Brian M. Carlson, 23464 closes #2537) 23465Files: src/main.c 23466 23467Patch 8.0.1455 23468Problem: If $SHELL contains a space then the default value of 'shell' is 23469 incorrect. (Matthew Horan) 23470Solution: Escape spaces in $SHELL. (Christian Brabandt, closes #459) 23471Files: src/option.c, runtime/doc/options.txt, 23472 src/testdir/test_startup.vim 23473 23474Patch 8.0.1456 23475Problem: Timer test on travis Mac is still flaky. 23476Solution: Increase time range a bit more. 23477Files: src/testdir/test_timers.vim 23478 23479Patch 8.0.1457 23480Problem: Clojure now supports a shebang line. 23481Solution: Detect clojure script from the shebang line. (David Burgin, 23482 closes #2570) 23483Files: runtime/scripts.vim 23484 23485Patch 8.0.1458 23486Problem: Filetype detection test does not check all scripts. 23487Solution: Add most scripts to the test 23488Files: src/testdir/test_filetype.vim 23489 23490Patch 8.0.1459 23491Problem: Cannot handle change of directory. 23492Solution: Add the DirChanged autocommand event. (Andy Massimino, 23493 closes #888) Avoid changing directory for 'autochdir' too often. 23494Files: runtime/doc/autocmd.txt, src/buffer.c, src/ex_docmd.c, 23495 src/fileio.c, src/main.c, src/vim.h, src/proto/misc2.pro, 23496 src/gui_mac.c, src/netbeans.c, src/os_win32.c, 23497 src/testdir/test_autocmd.vim 23498 23499Patch 8.0.1460 (after 8.0.1459) 23500Problem: Missing file in patch. 23501Solution: Add changes to missing file. 23502Files: src/misc2.c 23503 23504Patch 8.0.1461 (after 8.0.1459) 23505Problem: Missing another file in patch. 23506Solution: Add changes to missing file. 23507Files: src/ex_cmds.c 23508 23509Patch 8.0.1462 (after 8.0.1459) 23510Problem: Missing yet another file in patch. 23511Solution: Add changes to missing file. 23512Files: src/gui.c 23513 23514Patch 8.0.1463 23515Problem: Test fails without 'autochdir' option. 23516Solution: Skip test if 'autochdir' is not supported. 23517Files: src/testdir/test_autocmd.vim 23518 23519Patch 8.0.1464 23520Problem: Completing directory after :find does not add slash. 23521Solution: Adjust the flags for globpath(). (Genki Sky) 23522Files: src/misc1.c, src/testdir/test_find_complete.vim 23523 23524Patch 8.0.1465 23525Problem: Python2 and python3 detection not tested. (Matej Cepl) 23526Solution: Add test for detecting python2 and python3. Also detect a script 23527 using "js" as javascript. 23528Files: runtime/scripts.vim, src/testdir/test_filetype.vim 23529 23530Patch 8.0.1466 23531Problem: Older GTK versions don't have gtk_entry_get_text_length(). 23532Solution: Add a function with #ifdefs to take care of GTK version 23533 differences. (Kazunobu Kuriyama, closes #2605) 23534Files: src/gui_gtk.c 23535 23536Patch 8.0.1467 23537Problem: Libvterm doesn't handle illegal byte sequence correctly. 23538Solution: After the invalid code check if there is space to store another 23539 character. Allocate one more character. (zhykzhykzhyk, closes 23540 #2614, closes #2613) 23541Files: src/libvterm/src/encoding.c, src/libvterm/src/state.c 23542 23543Patch 8.0.1468 23544Problem: Illegal memory access in del_bytes(). 23545Solution: Check for negative byte count. (Christian Brabandt, closes #2466) 23546Files: src/message.c, src/misc1.c 23547 23548Patch 8.0.1469 23549Problem: When package path is a symlink adding it to 'runtimepath' happens 23550 at the end. 23551Solution: Do not resolve symlinks before locating the position in 23552 'runtimepath'. (Ozaki Kiichi, closes #2604) 23553Files: src/ex_cmds2.c, src/testdir/test_packadd.vim 23554 23555Patch 8.0.1470 23556Problem: Integer overflow when using regexp pattern. (geeknik) 23557Solution: Use a long instead of int. (Christian Brabandt, closes #2251) 23558Files: src/regexp_nfa.c 23559 23560Patch 8.0.1471 (after 8.0.1401) 23561Problem: On MS-Windows CursorIM highlighting no longer works. 23562Solution: Adjust #if statements. (Ken Takata) 23563Files: src/gui.c 23564 23565Patch 8.0.1472 23566Problem: MS-Windows: nsis installer is a bit slow. 23567Solution: Use ReserveFile for vimrc.ini. (Ken Takata, closes #2522) 23568Files: nsis/gvim.nsi 23569 23570Patch 8.0.1473 23571Problem: MS-Windows: D&D fails between 32 and 64 bit apps. 23572Solution: Add the /HIGHENTROPYVA:NO linker option. (Ken Takata, closes #2504) 23573Files: src/Make_mvc.mak 23574 23575Patch 8.0.1474 23576Problem: Visual C 2017 has multiple MSVCVER numbers. 23577Solution: Assume the 2017 version if MSVCVER >= 1910. (Leonardo Valeri 23578 Manera, closes #2619) 23579Files: src/Make_mvc.mak 23580 23581Patch 8.0.1475 23582Problem: Invalid memory access in read_redo(). (gy741) 23583Solution: Convert the replacement character back from a negative number to 23584 CR or NL. (hint by Dominique Pelle, closes #2616) 23585Files: src/testdir/test_undo.vim, src/normal.c, src/vim.h, src/ops.c 23586 23587Patch 8.0.1476 23588Problem: Screen isn't always updated right away. 23589Solution: Adjust #ifdef: Call out_flush() when not running the GUI. 23590Files: src/screen.c 23591 23592Patch 8.0.1477 23593Problem: Redraw flicker when moving the mouse outside of terminal window. 23594Solution: Instead of updating the cursor color and shape every time leaving 23595 and entering a terminal window, only update when different from 23596 the previously used cursor. 23597Files: src/terminal.c 23598 23599Patch 8.0.1478 23600Problem: Unnecessary condition for "len" being zero. 23601Solution: Remove the condition. (Dominique Pelle) 23602Files: src/regexp_nfa.c 23603 23604Patch 8.0.1479 23605Problem: Insert mode completion state is confusing. 23606Solution: Move ctrl_x_mode into edit.c. Add CTRL_X_NORMAL for zero. 23607Files: src/edit.c, src/globals.h, src/proto/edit.pro, src/search.c, 23608 src/getchar.c 23609 23610Patch 8.0.1480 (after 8.0.1479) 23611Problem: Patch missing change. 23612Solution: Add missing change. 23613Files: src/evalfunc.c 23614 23615Patch 8.0.1481 23616Problem: Clearing a pointer takes two lines. 23617Solution: Add vim_clear() to free and clear the pointer. 23618Files: src/misc2.c, src/proto/misc2.pro, src/edit.c 23619 23620Patch 8.0.1482 23621Problem: Using feedkeys() does not work to test Insert mode completion. 23622 (Lifepillar) 23623Solution: Do not check for typed keys when executing :normal or feedkeys(). 23624 Fix thesaurus completion not working when 'complete' is empty. 23625Files: src/edit.c, src/testdir/test_ins_complete.vim, 23626 src/testdir/test_popup.vim, src/testdir/test_edit.vim 23627 23628Patch 8.0.1483 23629Problem: searchpair() might return an invalid value on timeout. 23630Solution: When the second search times out, do not accept a match from the 23631 first search. (Daniel Hahler, closes #2552) 23632Files: src/search.c 23633 23634Patch 8.0.1484 23635Problem: Redundant conditions. 23636Solution: Remove them. (Dominique Pelle) 23637Files: src/terminal.c 23638 23639Patch 8.0.1485 23640Problem: Weird autocmd may cause arglist to be changed recursively. 23641Solution: Prevent recursively changing the argument list. (Christian 23642 Brabandt, closes #2472) 23643Files: src/ex_docmd.c, src/globals.h 23644 23645Patch 8.0.1486 23646Problem: Accessing invalid memory with "it". (Dominique Pelle) 23647Solution: Avoid going over the end of the line. (Christian Brabandt, 23648 closes #2532) 23649Files: src/search.c, src/testdir/test_textobjects.vim 23650 23651Patch 8.0.1487 (after 8.0.1486) 23652Problem: Test 14 fails. 23653Solution: Fix of-by-one error. 23654Files: src/search.c 23655 23656Patch 8.0.1488 (after 8.0.1218) 23657Problem: Emacs tags no longer work. (zdohnal) 23658Solution: Do not skip over end of line. 23659Files: src/tag.c, src/testdir/test_tagjump.vim 23660 23661Patch 8.0.1489 23662Problem: There is no easy way to get the global directory, esp. if some 23663 windows have a local directory. 23664Solution: Make getcwd(-1) return the global directory. (Andy Massimino, 23665 closes #2606) 23666Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_getcwd.vim 23667 23668Patch 8.0.1490 23669Problem: Number of spell regions is spread out through the code. 23670Solution: Define MAXREGIONS. 23671Files: src/spell.h, src/spellfile.c 23672 23673Patch 8.0.1491 23674Problem: The minimum width of the popup menu is hard coded. 23675Solution: Add the 'pumwidth' option. (Christian Brabandt, James McCoy, 23676 closes #2314) 23677Files: runtime/doc/options.txt, src/option.c, src/option.h, 23678 src/popupmnu.c 23679 23680Patch 8.0.1492 23681Problem: Memory leak in balloon_split(). 23682Solution: Free the balloon lines. Free the balloon when exiting. 23683Files: src/misc2.c, src/evalfunc.c 23684 23685Patch 8.0.1493 23686Problem: Completion items cannot be annotated. 23687Solution: Add a "user_data" entry to the completion item. (Ben Jackson, 23688 closes #2608, closes #2508) 23689Files: runtime/doc/insert.txt, src/edit.c, src/structs.h, 23690 src/testdir/test_ins_complete.vim 23691 23692Patch 8.0.1494 23693Problem: No autocmd triggered in Insert mode with visible popup menu. 23694Solution: Add TextChangedP. (Prabir Shrestha, Christian Brabandt, 23695 closes #2372, closes #1691) 23696 Fix that the TextChanged autocommands are not always triggered 23697 when sourcing a script. 23698Files: runtime/doc/autocmd.txt, src/edit.c, src/globals.h, src/structs.h, 23699 src/fileio.c, src/proto/fileio.pro, src/vim.h, src/main.c, 23700 src/testdir/test_autocmd.vim 23701 23702Patch 8.0.1495 23703Problem: Having 'pumwidth' default to zero has no merit. 23704Solution: Make the default 15, as the actual default value. 23705Files: src/popupmnu.c, src/option.c 23706 23707Patch 8.0.1496 23708Problem: Clearing a pointer takes two lines. 23709Solution: Add VIM_CLEAR() and replace vim_clear(). (Hirohito Higashi, 23710 closes #2629) 23711Files: src/buffer.c, src/channel.c, src/crypt.c, src/edit.c, src/eval.c, 23712 src/evalfunc.c, src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, 23713 src/ex_getln.c, src/fileio.c, src/gui_gtk_x11.c, src/gui_photon.c, 23714 src/gui_w32.c, src/gui_x11.c, src/hardcopy.c, src/if_cscope.c, 23715 src/macros.h, src/main.c, src/mark.c, src/mbyte.c, src/memfile.c, 23716 src/memline.c, src/menu.c, src/message.c, src/misc1.c, 23717 src/misc2.c, src/netbeans.c, src/normal.c, src/ops.c, 23718 src/option.c, src/os_amiga.c, src/os_mac_conv.c, src/os_mswin.c, 23719 src/os_unix.c, src/os_win32.c, src/popupmnu.c, 23720 src/proto/misc2.pro, src/quickfix.c, src/regexp.c, 23721 src/regexp_nfa.c, src/screen.c, src/search.c, src/spell.c, 23722 src/spellfile.c, src/syntax.c, src/tag.c, src/term.c, 23723 src/terminal.c, src/ui.c, src/undo.c, src/userfunc.c, src/window.c 23724 23725Patch 8.0.1497 23726Problem: Getting the jump list requires parsing the output of :jumps. 23727Solution: Add getjumplist(). (Yegappan Lakshmanan, closes #2609) 23728Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/Makefile, 23729 src/evalfunc.c, src/list.c, src/proto/list.pro, 23730 src/testdir/Make_all.mak, src/testdir/test_jumplist.vim 23731 23732Patch 8.0.1498 (after 8.0.1497) 23733Problem: getjumplist() returns duplicate entries. (lacygoill) 23734Solution: Call cleanup_jumplist(). (Yegappan Lakshmanan) 23735Files: src/evalfunc.c, src/mark.c, src/proto/mark.pro, 23736 src/testdir/test_jumplist.vim 23737 23738Patch 8.0.1499 23739Problem: Out-of-memory situation not correctly handled. (Coverity) 23740Solution: Check for NULL value. 23741Files: src/terminal.c 23742 23743Patch 8.0.1500 23744Problem: Possible NULL pointer dereference. (Coverity) 23745Solution: Check for the pointer not being NULL. 23746Files: src/quickfix.c 23747 23748Patch 8.0.1501 23749Problem: Out-of-memory situation not correctly handled. (Coverity) 23750Solution: Check for NULL value. 23751Files: src/ops.c 23752 23753Patch 8.0.1502 23754Problem: In out-of-memory situation character is not restored. (Coverity) 23755Solution: Restore the character in all situations. 23756Files: src/ex_getln.c 23757 23758Patch 8.0.1503 23759Problem: Access memory beyond end of string. (Coverity) 23760Solution: Keep allocated memory in separate pointer. Avoid outputting the 23761 NUL character. 23762Files: src/hardcopy.c 23763 23764Patch 8.0.1504 23765Problem: Win32: the screen may be cleared on startup. 23766Solution: Only call shell_resized() when the size actually changed. (Ken 23767 Takata, closes #2527) 23768Files: src/os_win32.c 23769 23770Patch 8.0.1505 23771Problem: Debugger can't break on a condition. (Charles Campbell) 23772Solution: Add ":breakadd expr". (Christian Brabandt, closes #859) 23773Files: runtime/doc/repeat.txt, src/eval.c, src/evalfunc.c, 23774 src/userfunc.c, src/ex_cmds2.c, src/ex_docmd.c, 23775 src/proto/eval.pro, src/proto/ex_cmds2.pro, src/structs.h 23776 23777Patch 8.0.1506 23778Problem: New version of HP NonStop (Tandem) doesn't like the default header 23779 for setenv(). 23780Solution: Put a #ifdef around the setenv() entry. (Joachim Schmitz) 23781Files: src/osdef2.h.in 23782 23783Patch 8.0.1507 23784Problem: Timer test is a bit flaky. 23785Solution: Add it to the list of flaky tests. 23786Files: src/testdir/runtest.vim 23787 23788Patch 8.0.1508 23789Problem: The :drop command is not always available. 23790Solution: Include :drop in all builds. (Yasuhiro Matsumoto, closes #2639) 23791Files: runtime/doc/windows.txt, src/ex_cmds.c, src/ex_cmds2.c, 23792 src/ex_docmd.c, src/testdir/test_normal.vim, 23793 src/testdir/test_tabpage.vim 23794 23795Patch 8.0.1509 (after 8.0.1508) 23796Problem: Test for failing drag-n-drop command no longer fails. 23797Solution: Check for the "dnd" feature. 23798Files: src/testdir/test_normal.vim 23799 23800Patch 8.0.1510 23801Problem: Cannot test if a command causes a beep. 23802Solution: Add assert_beeps(). 23803Files: runtime/doc/eval.txt, src/evalfunc.c, src/eval.c, 23804 src/proto/eval.pro, src/misc1.c, src/globals.h, 23805 src/testdir/test_normal.vim, src/testdir/test_assert.vim 23806 23807Patch 8.0.1511 (after 8.0.1505) 23808Problem: Some code for the debugger watch expression is clumsy. 23809Solution: Clean up the code. 23810Files: src/ex_cmds2.c, src/eval.c, src/proto/eval.pro 23811 23812Patch 8.0.1512 23813Problem: Warning for possibly using NULL pointer. (Coverity) 23814Solution: Skip using the pointer if it's NULL. 23815Files: src/ex_cmds.c 23816 23817Patch 8.0.1513 23818Problem: The jumplist is not always properly cleaned up. 23819Solution: Call fname2fnum() before cleanup_jumplist(). (Yegappan Lakshmanan) 23820Files: src/evalfunc.c, src/mark.c, src/proto/mark.pro 23821 23822Patch 8.0.1514 23823Problem: Getting the list of changes is not easy. 23824Solution: Add the getchangelist() function. (Yegappan Lakshmanan, 23825 closes #2634) 23826Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c, 23827 src/testdir/Make_all.mak, src/testdir/test_changelist.vim, 23828 src/Makefile 23829 23830Patch 8.0.1515 23831Problem: BufWinEnter event fired when opening hidden terminal. 23832Solution: Do not fire BufWinEnter when the terminal is hidden and does not 23833 open a window. (Kenta Sato, closes #2636) 23834Files: src/terminal.c 23835 23836Patch 8.0.1516 23837Problem: Errors for job options are not very specific. 23838Solution: Add more specific error messages. 23839Files: src/channel.c, src/globals.h 23840 23841Patch 8.0.1517 23842Problem: Invalid memory access with pattern using look-behind match. 23843 (Dominique Pelle) 23844Solution: Get a pointer to the right line. 23845Files: src/regexp.c 23846 23847Patch 8.0.1518 23848Problem: Error messages suppressed after ":silent! try". (Ben Reilly) 23849Solution: Restore emsg_silent before executing :try. (closes #2531) 23850Files: src/ex_docmd.c, src/testdir/test_eval_stuff.vim 23851 23852Patch 8.0.1519 23853Problem: getchangelist() does not use argument as bufname(). 23854Solution: Use get_buf_tv(). (Yegappan Lakshmanan, closes #2641) 23855Files: src/evalfunc.c, src/testdir/test_changelist.vim 23856 23857Patch 8.0.1520 23858Problem: Cursor is in the wrong line when using a WinBar in a Terminal 23859 window. 23860Solution: Adjust the row number. (Christian Brabandt, closes #2362) 23861Files: src/screen.c, src/terminal.c 23862 23863Patch 8.0.1521 23864Problem: Shift-Tab does not work in a terminal window. 23865Solution: Recognize Shift-Tab key press. (Jsees Luehrs, closes #2644) 23866Files: src/terminal.c 23867 23868Patch 8.0.1522 (after 8.0.1491) 23869Problem: Popup menu is positioned in the wrong place. (Davit Samvelyan, 23870 Boris Staletic) 23871Solution: Correct computation of the column and the conditions for that. 23872 (Hirohito Higashi, closes #2640) 23873Files: src/popupmnu.c 23874 23875Patch 8.0.1523 23876Problem: Cannot write and read terminal screendumps. 23877Solution: Add term_dumpwrite(), term_dumpread() and term_dumpdiff(). 23878 Also add assert_equalfile(). 23879Files: src/terminal.c, src/proto/terminal.pro, src/evalfunc.c, 23880 src/normal.c, src/eval.c, src/proto/eval.pro, 23881 runtime/doc/eval.txt, src/testdir/test_assert.vim 23882 23883Patch 8.0.1524 (after 8.0.1523) 23884Problem: Compiler warnings for uninitialized variables. (Tony Mechelynck) 23885Solution: Initialize variables. 23886Files: src/terminal.c 23887 23888Patch 8.0.1525 23889Problem: Using :wqa exits even if a job runs in a terminal window. (Jason 23890 Felice) 23891Solution: Check if a terminal has a running job. (closes #2654) 23892Files: src/ex_cmds2.c, src/buffer.c, src/proto/buffer.pro, src/ex_cmds.c, 23893 src/testdir/test_terminal.vim 23894 23895Patch 8.0.1526 23896Problem: No test using a screen dump yet. 23897Solution: Add a test for C syntax highlighting. Add helper functions. 23898Files: src/terminal.c, src/testdir/test_syntax.vim, 23899 src/testdir/shared.vim, src/testdir/screendump.vim, 23900 src/testdir/dumps/Test_syntax_c_01.dump, runtime/doc/terminal.txt, 23901 src/testdir/README.txt 23902 23903Patch 8.0.1527 (after 8.0.1526) 23904Problem: Screen dump test fails on MS-Windows. 23905Solution: Skip dump test on MS-Windows for now. 23906Files: src/testdir/test_syntax.vim 23907 23908Patch 8.0.1528 23909Problem: Dead code found. 23910Solution: Remove the useless lines. (CodeAi, closes #2656) 23911Files: src/screen.c, src/spell.c, src/syntax.c, src/window.c 23912 23913Patch 8.0.1529 23914Problem: Assert_equalfile() does not close file descriptors. (Coverity) 23915Solution: Close the file descriptors. 23916Files: src/eval.c 23917 23918Patch 8.0.1530 23919Problem: Dump test fails when using a shadow directory. 23920Solution: Add the directory to the list of symlinks to make (Elimar 23921 Riesebieter) 23922Files: src/Makefile 23923 23924Patch 8.0.1531 23925Problem: Cannot use 24 bit colors in MS-Windows console. 23926Solution: Add support for vcon. (Nobuhiro Takasaki, Ken Takata, 23927 fixes #1270, fixes #2060) 23928Files: runtime/doc/options.txt, src/misc1.c, src/option.c, 23929 src/evalfunc.c, src/os_win32.c, src/proto/os_win32.pro, 23930 src/feature.h, src/proto/term.pro, src/screen.c, src/syntax.c, 23931 src/term.c, src/testdir/gen_opt_test.vim, src/version.c 23932 23933Patch 8.0.1532 23934Problem: Compiler warnings without termguicolors feature. 23935Solution: Add #ifdef. (John Marriott) Cleanup the code a bit. 23936Files: src/term.c 23937 23938Patch 8.0.1533 23939Problem: Libterm doesn't support requesting fg and bg color. 23940Solution: Implement t_RF and t_RB. 23941Files: src/libvterm/src/vterm_internal.h, src/libvterm/src/state.c, 23942 src/libvterm/src/vterm.c 23943 23944Patch 8.0.1534 23945Problem: C syntax test fails when using gvim 23946Solution: Force running in a terminal. Check that 'background' is correct 23947 even when $COLORFGBG is set. 23948Files: src/testdir/test_syntax.vim, src/testdir/screendump.vim 23949 23950Patch 8.0.1535 (after 8.0.1534) 23951Problem: C syntax test still fails when using gvim. 23952Solution: Clear Normal cterm highlighting instead of setting it. 23953Files: src/testdir/test_syntax.vim, src/testdir/screendump.vim, 23954 src/testdir/dumps/Test_syntax_c_01.dump 23955 23956Patch 8.0.1536 23957Problem: Quotestar test is flaky when using the GUI. 23958Solution: Add check that the star register arrived at the server. Increase 23959 timeouts. 23960Files: src/testdir/test_quotestar.vim 23961 23962Patch 8.0.1537 23963Problem: Xxd does not skip NUL lines when using ebcdic. 23964Solution: Check for a NUL before converting a character for ebcdic. (Tim 23965 Sell, closes #2668) 23966Files: src/xxd/xxd.c 23967 23968Patch 8.0.1538 23969Problem: Popupmenu is too far left when completion is long. (Linwei) 23970Solution: Adjust column computations. (Hirohito Higashi, closes #2661) 23971Files: src/popupmnu.c 23972 23973Patch 8.0.1539 23974Problem: No test for the popup menu positioning. 23975Solution: Add a screendump test for the popup menu. 23976Files: src/terminal.c, src/testdir/test_syntax.vim, 23977 src/testdir/screendump.vim, 23978 src/testdir/test_popup.vim, 23979 src/testdir/dumps/Test_popup_position_01.dump, 23980 src/testdir/dumps/Test_popup_position_02.dump, 23981 src/testdir/dumps/Test_popup_position_03.dump, 23982 runtime/doc/eval.txt 23983 23984Patch 8.0.1540 23985Problem: Popup menu positioning fails with longer string. 23986Solution: Only align with right side of window when width is less than 23987 'pumwidth' (closes #2661) 23988Files: src/popupmnu.c, src/testdir/screendump.vim, 23989 src/testdir/test_popup.vim, 23990 src/testdir/dumps/Test_popup_position_04.dump 23991 23992Patch 8.0.1541 23993Problem: synpat_T is taking too much memory. 23994Solution: Reorder members to reduce padding. (Dominique Pelle, closes #2671) 23995Files: src/syntax.c 23996 23997Patch 8.0.1542 23998Problem: Terminal screen dump does not include cursor position. 23999Solution: Mark the cursor position in the dump. 24000Files: src/terminal.c, 24001 src/testdir/dumps/Test_popup_position_01.dump, 24002 src/testdir/dumps/Test_popup_position_02.dump, 24003 src/testdir/dumps/Test_popup_position_03.dump, 24004 src/testdir/dumps/Test_popup_position_04.dump, 24005 src/testdir/dumps/Test_syntax_c_01.dump 24006 24007Patch 8.0.1543 24008Problem: With 'termguicolors' Normal color doesn't work correctly. 24009Solution: Set cterm_normal_bg_gui_color and cterm_normal_fg_color always. 24010 (Kazunobu Kuriyama, closes #981, closes #2332) 24011Files: src/syntax.c 24012 24013Patch 8.0.1544 24014Problem: When using 'termguicolors' SpellBad doesn't show. 24015Solution: When the GUI colors are not set fall back to the cterm colors. 24016Files: src/syntax.c, src/screen.c, src/gui.h, src/structs.h 24017 24018Patch 8.0.1545 24019Problem: Screen dumps not included in distribution. 24020Solution: Add dumps to the list of distributed files. 24021Files: Filelist 24022 24023Patch 8.0.1546 24024Problem: Using feedkeys() in a terminal window may trigger mappings. 24025 (Charles Sheridan) 24026Solution: Avoid triggering a mapping when peeking for a key. 24027Files: src/getchar.c, src/terminal.c 24028 24029Patch 8.0.1547 24030Problem: Undo in the options window makes it empty. 24031Solution: Set 'undolevels' while filling the buffer. (Yasuhiro Matsumoto, 24032 closes #2645) 24033Files: runtime/optwin.vim 24034 24035Patch 8.0.1548 24036Problem: Screen dump test script not included in distribution. 24037Solution: Add the script to the list of distributed files. 24038Files: Filelist 24039 24040Patch 8.0.1549 24041Problem: Various small problems in test files. 24042Solution: Include small changes. 24043Files: src/testdir/test_channel.py, src/testdir/shared.vim, 24044 src/testdir/test_gui.vim, src/testdir/test_gui_init.vim 24045 24046Patch 8.0.1550 24047Problem: Various small problems in source files. 24048Solution: Fix the problems. 24049Files: src/README.txt, src/beval.c, src/json_test.c, src/mbyte.c, 24050 src/libvterm/include/vterm_keycodes.h, src/Makefile, 24051 src/gui_gtk.c, src/if_xcmdsrv.c, src/pty.c, src/if_python.c, 24052 src/if_py_both.h, uninstal.txt, src/dosinst.c, src/iscygpty.c, 24053 src/vimrun.c, src/os_vms.c 24054 24055Patch 8.0.1551 24056Problem: On Mac 'maxmemtot' is set to a weird value. 24057Solution: For Mac use total memory and subtract system memory. For other 24058 systems accept both a 32 bit and 64 bit result. (Ozaki Kiichi, 24059 closes #2646) 24060Files: src/os_unix.c 24061 24062Patch 8.0.1552 24063Problem: May leak file descriptors when executing job. 24064Solution: Close more file descriptors. (Ozaki Kiichi, closes #2651) 24065Files: src/os_unix.c, src/testdir/test_channel.vim 24066 24067Patch 8.0.1553 24068Problem: Cannot see what digraph is used to insert a character. 24069Solution: Show the digraph with the "ga" command. (Christian Brabandt) 24070Files: runtime/doc/various.txt, src/digraph.c, src/ex_cmds.c, 24071 src/proto/digraph.pro, src/testdir/shared.vim, 24072 src/testdir/test_matchadd_conceal.vim, 24073 src/testdir/test_digraph.vim, src/testdir/test_ga.vim, 24074 src/testdir/test_arabic.vim 24075 24076Patch 8.0.1554 24077Problem: Custom plugins loaded with --clean. 24078Solution: Do not include the home directory in 'runtimepath'. 24079Files: src/option.c, src/main.c, src/proto/option.pro, src/structs.h, 24080 src/os_unix.h, src/os_amiga.h, src/os_dos.h, src/os_mac.h, 24081 runtime/doc/starting.txt 24082 24083Patch 8.0.1555 24084Problem: Build error for some combination of features. 24085Solution: Declare variable in more situations. 24086Files: src/main.c 24087 24088Patch 8.0.1556 24089Problem: May not parse the t_RS response correctly, resulting in wrong 24090 characters in the input stream. 24091Solution: When the t_RS response is partly received wait for more 24092 characters. 24093Files: src/term.c 24094 24095Patch 8.0.1557 24096Problem: printf() does not work with only one argument. (Daniel Hahler) 24097Solution: Allow using just the format. (Ken Takata, closes #2687) 24098Files: src/evalfunc.c, src/testdir/test_expr.vim 24099 24100Patch 8.0.1558 24101Problem: No right-click menu in a terminal. 24102Solution: Implement the right click menu for the terminal. 24103Files: src/popupmnu.c, src/proto/popupmnu.pro, src/normal.c, src/menu.c, 24104 src/proto/menu.pro, src/feature.h 24105 24106Patch 8.0.1559 24107Problem: Build failure without GUI. 24108Solution: Adjust #ifdef for get_fpos_of_mouse(). 24109Files: src/ui.c 24110 24111Patch 8.0.1560 24112Problem: Build failure without GUI on MS-Windows. 24113Solution: Adjust #ifdef for vcol2col(). 24114Files: src/ui.c 24115 24116Patch 8.0.1561 24117Problem: Crash with rust syntax highlighting. (Edd Barrett) 24118Solution: Avoid going past the end of an empty line. 24119Files: src/syntax.c 24120 24121Patch 8.0.1562 24122Problem: The terminal debugger can't set a breakpoint with the mouse. 24123Solution: Add popup menu entries. 24124Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim, 24125 runtime/doc/terminal.txt 24126 24127Patch 8.0.1563 24128Problem: Timeout of getwinposx() can be too short. (lilydjwg) 24129Solution: Add getwinpos(). (closes #2689) 24130Files: src/evalfunc.c, src/term.c, src/proto/term.pro, runtime/doc/eval.txt 24131 24132Patch 8.0.1564 24133Problem: Too many #ifdefs. 24134Solution: Graduate the +autocmd feature. Takes away 450 #ifdefs and 24135 increases code size of tiny Vim by only 40 Kbyte. 24136Files: src/buffer.c, src/diff.c, src/edit.c, src/eval.c, src/evalfunc.c, 24137 src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, src/ex_getln.c, 24138 src/fileio.c, src/getchar.c, src/globals.h, src/gui.c, 24139 src/if_cscope.c, src/if_xcmdsrv.c, src/main.c, src/mbyte.c, 24140 src/memline.c, src/menu.c, src/misc1.c, src/gui_mac.c, 24141 src/misc2.c, src/move.c, src/netbeans.c, src/normal.c, src/ops.c, 24142 src/option.c, src/option.h, src/feature.h, src/vim.h, 24143 src/os_amiga.c, src/os_mswin.c, src/os_unix.c, src/os_win32.c, 24144 src/quickfix.c, src/screen.c, src/search.c, src/spell.c, 24145 src/structs.h, src/syntax.c, src/tag.c, src/term.c, 24146 src/terminal.c, src/ui.c, src/undo.c, src/userfunc.c, 24147 src/version.c, src/window.c 24148 24149Patch 8.0.1565 24150Problem: Can't build Mac version without GUI. 24151Solution: Adjust when IME_WITHOUT_XIM is defined. 24152Files: src/vim.h 24153 24154Patch 8.0.1566 24155Problem: Too many #ifdefs. 24156Solution: Graduate FEAT_SCROLLBIND and FEAT_CURSORBIND. 24157Files: src/buffer.c, src/diff.c, src/edit.c, src/evalfunc.c, 24158 src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, src/gui.c, 24159 src/main.c, src/move.c, src/normal.c, src/option.c, src/term.c, 24160 src/version.c, src/window.c, src/globals.h, src/macros.h, 24161 src/option.h, src/structs.h 24162 24163Patch 8.0.1567 24164Problem: Cannot build Win32 GUI without IME. (John Marriott) 24165Solution: Adjust when IME_WITHOUT_XIM and HAVE_INPUT_METHOD are defined and 24166 use it in a few more places. 24167Files: src/vim.h, src/gui.c 24168 24169Patch 8.0.1568 24170Problem: Can't build on older Mac, header file is missing. 24171Solution: Remove the header file. (Ozaki Kiichi, closes #2691) 24172Files: src/os_unix.c 24173 24174Patch 8.0.1569 24175Problem: Warning for uninitialized variable from gcc. 24176Solution: Initialize the variable. 24177Files: src/quickfix.c 24178 24179Patch 8.0.1570 24180Problem: Can't use :popup for a menu in the terminal. (Wei Zhang) 24181Solution: Make :popup work in the terminal. Also fix that entries were 24182 included that don't work in the current state. 24183Files: src/ex_docmd.c, src/popupmnu.c, src/proto/popupmnu.pro, 24184 src/menu.c, src/proto/menu.pro 24185 24186Patch 8.0.1571 (after 8.0.1571) 24187Problem: Can't build without GUI. 24188Solution: Adjust #ifdef for gui_find_menu(). 24189Files: src/menu.c 24190 24191Patch 8.0.1572 24192Problem: Mac: getting memory size doesn't work everywhere. 24193Solution: Use MACOS_X instead of MACOS_X_DARWIN. (Kazunobu Kuriyama) 24194Files: src/os_unix.c 24195 24196Patch 8.0.1573 24197Problem: getwinpos(1) may cause response to be handled as command. 24198Solution: Handle any cursor position report once one was requested. (partly 24199 by Hirohito Higashi) 24200Files: src/term.c 24201 24202Patch 8.0.1574 24203Problem: Show cursor in wrong place when using popup menu. (Wei Zhang) 24204Solution: Force updating the cursor position. Fix skipping over unused 24205 entries. 24206Files: src/screen.c, src/proto/screen.pro, src/popupmnu.c 24207 24208Patch 8.0.1575 24209Problem: Crash when using virtual replace. 24210Solution: Adjust orig_line_count. Add more tests. (Christian Brabandt) 24211Files: src/edit.c, src/testdir/test_visual.vim 24212 24213Patch 8.0.1576 24214Problem: Perl VIM::Buffers() does not find every buffer. 24215Solution: Also find unlisted buffer by number or name. (Chris Weyl, 24216 closes #2692) 24217Files: src/if_perl.xs 24218 24219Patch 8.0.1577 24220Problem: Virtual replace test fails on MS-Windows. 24221Solution: Make adding a termcap entry work for a builtin terminal. 24222 Restore terminal keys in a better way. 24223Files: src/term.c, src/testdir/test_visual.vim 24224 24225Patch 8.0.1578 24226Problem: No test for :popup in terminal. 24227Solution: Add a screen dump test. 24228Files: src/testdir/test_popup.vim, 24229 src/testdir/dumps/Test_popup_command_01.dump, 24230 src/testdir/dumps/Test_popup_command_02.dump, 24231 src/testdir/dumps/Test_popup_command_03.dump 24232 24233Patch 8.0.1579 24234Problem: Virtual replace test fails in GUI. 24235Solution: Don't save key options if they were not set. 24236Files: src/testdir/test_visual.vim 24237 24238Patch 8.0.1580 24239Problem: FEAT_CURSORBIND and FEAT_SCROLLBIND are unused. 24240Solution: Delete them. 24241Files: src/feature.h 24242 24243Patch 8.0.1581 24244Problem: Cannot build Win32 GUI without +eval. 24245Solution: Define HAVE_INPUT_METHOD without +eval. (Ken Takata) 24246Files: src/vim.h 24247 24248Patch 8.0.1582 24249Problem: In the MS-Windows console mouse movement is not used. 24250Solution: Pass mouse movement events when useful. 24251Files: src/os_win32.c, src/proto/os_win32.pro, src/feature.h 24252 24253Patch 8.0.1583 24254Problem: Using C99 comment. 24255Solution: Use old style comment. (Kazunobu Kuriyama) 24256Files: src/quickfix.c 24257 24258Patch 8.0.1584 24259Problem: Using C99 in Mac file gives compiler warning messages. 24260Solution: Add #pragmas to avoid the warnings. (Kazunobu Kuriyama) 24261Files: src/os_macosx.m 24262 24263Patch 8.0.1585 24264Problem: Enabling beval_term feature in Win32 GUI. 24265Solution: Only enable beval_term in Win32 console. 24266Files: src/feature.h 24267 24268Patch 8.0.1586 24269Problem: Imactivatefunc does not work on non-GUI Mac. 24270Solution: Fix logic in #ifdef. 24271Files: src/vim.h 24272 24273Patch 8.0.1587 24274Problem: inserting from the clipboard doesn't work literally 24275Solution: When pasting from the * or + register always assume literally. 24276Files: src/ops.c, src/proto/ops.pro, src/testdir/test_paste.vim 24277 24278Patch 8.0.1588 24279Problem: Popup menu hangs after typing CTRL-C. 24280Solution: Make CTRL-C exit the loop. (Ozaki Kiichi, closes #2697) 24281Files: src/popupmnu.c 24282 24283Patch 8.0.1589 24284Problem: Error for setting 'modifiable' when resetting it. 24285Solution: Check if 'modifiable' was actually set. 24286Files: src/option.c 24287 24288Patch 8.0.1590 24289Problem: Padding in list type wastes memory. 24290Solution: Reorder struct members to optimize padding. (Dominique Pelle, 24291 closes #2704) 24292Files: src/structs.h 24293 24294Patch 8.0.1591 24295Problem: MS-Windows: when reparsing the arguments 'wildignore' matters. 24296Solution: Save and reset 'wildignore'. (Yasuhiro Matsumoto, closes #2702) 24297Files: src/os_win32.c 24298 24299Patch 8.0.1592 24300Problem: Terminal windows in a session are not properly restored. 24301Solution: Add "terminal" in 'sessionoptions'. When possible restore the 24302 command running in a terminal. 24303Files: src/option.c, src/option.h, src/ex_docmd.c, src/terminal.c, 24304 src/proto/terminal.pro, src/evalfunc.c, src/structs.h, 24305 src/channel.c, src/testdir/test_terminal.vim, 24306 src/testdir/shared.vim, src/testdir/test_mksession.vim 24307 24308Patch 8.0.1593 24309Problem: :qall never exits with an active terminal window. 24310Solution: Add a way to kill a job in a terminal window. 24311Files: src/ex_cmds2.c, src/terminal.c, src/proto/terminal.pro, 24312 src/structs.h, src/channel.c, src/evalfunc.c, 24313 src/testdir/test_terminal.vim, runtime/doc/terminal.txt, 24314 runtime/doc/eval.txt 24315 24316Patch 8.0.1594 24317Problem: :confirm qall not tested with active terminal window. 24318Solution: Add a test. 24319Files: src/testdir/test_terminal.vim 24320 24321Patch 8.0.1595 24322Problem: No autocommand triggered before exiting. 24323Solution: Add the ExitPre autocommand event. 24324Files: src/ex_docmd.c, src/fileio.c, src/vim.h, 24325 src/testdir/test_exit.vim, src/Makefile, src/testdir/Make_all.mak, 24326 runtime/doc/autocmd.txt 24327 24328Patch 8.0.1596 24329Problem: No autocommand specifically for opening a terminal window. 24330Solution: Add TerminalOpen. (Yasuhiro Matsumoto, closes #2484) 24331Files: runtime/doc/autocmd.txt, src/fileio.c, src/terminal.c, 24332 src/testdir/test_terminal.vim, src/vim.h 24333 24334Patch 8.0.1597 24335Problem: Autocommand events are not sorted. 24336Solution: Sort the autocommand events. 24337Files: src/vim.h 24338 24339Patch 8.0.1598 24340Problem: Cannot select text in a terminal with the mouse. 24341Solution: When a job in a terminal is not consuming mouse events, use them 24342 for modeless selection. Also stop Insert mode when clicking in a 24343 terminal window. 24344Files: src/libvterm/include/vterm.h, src/libvterm/src/state.c, 24345 src/libvterm/src/vterm_internal.h, src/terminal.c, 24346 src/proto/terminal.pro, src/ui.c 24347 24348Patch 8.0.1599 24349Problem: No error message when gdb does not support the terminal debugger. 24350Solution: Check for the response to open the Machine Interface. 24351Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim 24352 24353Patch 8.0.1600 24354Problem: Crash when setting t_Co to zero when 'termguicolors' is set. 24355Solution: Use IS_CTERM instead of checking the number of colors. 24356 (closes #2710) 24357Files: src/screen.c, src/testdir/test_highlight.vim 24358 24359Patch 8.0.1601 24360Problem: Highlight test fails on Win32. 24361Solution: Check for vtp and vcon support. 24362Files: src/evalfunc.c, src/testdir/test_highlight.vim 24363 24364Patch 8.0.1602 24365Problem: Crash in parsing JSON. 24366Solution: Fail when using array or dict as dict key. (Damien) 24367Files: src/json.c, src/testdir/test_json.vim 24368 24369Patch 8.0.1603 24370Problem: Cannot build with +terminal but without +menu. 24371Solution: Add #ifdef. (Damien) 24372Files: src/terminal.c 24373 24374Patch 8.0.1604 24375Problem: Paste test may fail if $DISPLAY is not set. 24376Solution: Add WorkingClipboard() and use it in the paste test. 24377Files: src/testdir/shared.vim, src/testdir/test_paste.vim 24378 24379Patch 8.0.1605 24380Problem: Terminal test is a bit flaky. 24381Solution: Check for the shell prompt. Use more lambda functions. 24382Files: src/testdir/test_terminal.vim 24383 24384Patch 8.0.1606 24385Problem: Singular/plural variants not translated. 24386Solution: Add NGETTEXT argument to xgettext. (Sergey Alyoshin) 24387Files: src/po/Make_cyg.mak, src/po/Make_ming.mak, src/po/Make_mvc.mak, 24388 src/po/Makefile 24389 24390Patch 8.0.1607 24391Problem: --clean loads user settings from .gvimrc. 24392Solution: Behave like "-U NONE" was used. (Ken Takata) 24393Files: src/main.c, runtime/doc/starting.txt 24394 24395Patch 8.0.1608 24396Problem: Win32: directx not enabled by default. 24397Solution: Change Makefile to enable directx by default. (Ken Takata) 24398Files: runtime/doc/various.txt, src/Make_cyg_ming.mak, 24399 src/Make_mvc.mak 24400 24401Patch 8.0.1609 24402Problem: Shell commands in the GUI use a dumb terminal. 24403Solution: Add the "!" flag to 'guioptions' to execute system commands in a 24404 special terminal window. Only for Unix now. 24405Files: src/os_unix.c, src/option.h, src/evalfunc.c, src/terminal.c, 24406 src/proto/terminal.pro, src/channel.c, src/proto/channel.pro, 24407 src/vim.h, runtime/doc/options.txt 24408 24409Patch 8.0.1610 (after 8.0.1609) 24410Problem: Cannot build without GUI. 24411Solution: Add #ifdef. 24412Files: src/terminal.c 24413 24414Patch 8.0.1611 24415Problem: CTRL-W in system terminal does not go to job. 24416Solution: Do not use CTRL-W as a terminal command in a system terminal. 24417Files: src/terminal.c 24418 24419Patch 8.0.1612 24420Problem: Need to close terminal after shell stopped. 24421Solution: Make :terminal without argument close the window by default. 24422Files: src/terminal.c, src/testdir/test_terminal.vim, 24423 runtime/doc/terminal.txt 24424 24425Patch 8.0.1613 24426Problem: Warning for unused variable in tiny build. (Tony Mechelynck) 24427Solution: Move declaration to inner block. 24428Files: src/os_unix.c 24429 24430Patch 8.0.1614 24431Problem: "make tags" doesn't include libvterm. 24432Solution: Add the libvterm sources to the tags command. 24433Files: src/Makefile 24434 24435Patch 8.0.1615 24436Problem: term_dumpload() does not use the right colors. 24437Solution: Initialize colors when not using create_vterm(). 24438Files: src/terminal.c 24439 24440Patch 8.0.1616 24441Problem: Win32: shell commands in the GUI open a new console. 24442Solution: Use a terminal window for interactive use when 'guioptions' 24443 contains "!". 24444Files: src/os_win32.c 24445 24446Patch 8.0.1617 (after 8.0.1616) 24447Problem: Win32: :shell command in the GUI crashes. 24448Solution: Handle the situation that "cmd" is NULL. (Yasuhiro Matsumoto, 24449 closes #2721) 24450Files: src/os_win32.c 24451 24452Patch 8.0.1618 24453Problem: Color Grey50, used for ToolbarLine, is missing in the compiled-in 24454 table. 24455Solution: Add the color to the list. (Kazunobu Kuriyama) 24456Files: src/term.c 24457 24458Patch 8.0.1619 24459Problem: Win32 GUI: crash when winpty is not installed and trying to use 24460 :shell in a terminal window. 24461Solution: Check for NULL return form term_start(). (Yasuhiro Matsumoto, 24462 closes #2727) 24463Files: src/os_win32.c 24464 24465Patch 8.0.1620 24466Problem: Reading spell file has no good EOF detection. 24467Solution: Check for EOF at every character read for a length field. 24468Files: src/misc2.c 24469 24470Patch 8.0.1621 24471Problem: Using invalid default value for highlight attribute. 24472Solution: Use zero instead of -1. 24473Files: src/syntax.c 24474 24475Patch 8.0.1622 24476Problem: Possible NULL pointer dereference. (Coverity) 24477Solution: Reverse the check for a NULL pointer. 24478Files: src/quickfix.c 24479 24480Patch 8.0.1623 24481Problem: Terminal kill tests are flaky. 24482Solution: Instead of running Vim in a terminal, run it as a normal command. 24483Files: src/testdir/test_terminal.vim 24484 24485Patch 8.0.1624 24486Problem: Options for term_dumpdiff() and term_dumpload() not implemented 24487 yet. 24488Solution: Implement the relevant options. 24489Files: src/terminal.c, runtime/doc/eval.txt 24490 24491Patch 8.0.1625 24492Problem: Test_quotestar is flaky when run in GTK GUI. 24493Solution: Do not call lose_selection when invoked from 24494 selection_clear_event(). 24495Files: src/gui_gtk_x11.c 24496 24497Patch 8.0.1626 24498Problem: Compiler warning for possible loss of data. 24499Solution: Use size_t instead of int. (Christian Brabandt) 24500Files: src/terminal.c 24501 24502Patch 8.0.1627 24503Problem: Compiler warning for visibility attribute not supported on MinGW 24504 builds. 24505Solution: Don't add the attribute when we don't expect it to work. 24506 (Christian Brabandt) 24507Files: src/libvterm/src/vterm_internal.h 24508 24509Patch 8.0.1628 24510Problem: Channel log doesn't mention exiting. 24511Solution: Add a ch_log() call in getout(). 24512Files: src/main.c 24513 24514Patch 8.0.1629 24515Problem: Mac: getpagesize() is deprecated. 24516Solution: Use sysconf() instead. (Ozaki Kiichi, closes #2741) 24517Files: src/os_unix.c 24518 24519Patch 8.0.1630 24520Problem: Trimming white space is not that easy. 24521Solution: Add the trim() function. (Bukn, Yasuhiro Matsumoto, closes #1280) 24522Files: src/evalfunc.c, runtime/doc/eval.txt, 24523 src/testdir/test_functions.vim 24524 24525Patch 8.0.1631 24526Problem: Testing with Vim running in terminal is a bit flaky. 24527Solution: Delete any .swp file so that later tests don't fail. 24528Files: src/testdir/screendump.vim 24529 24530Patch 8.0.1632 24531Problem: In a terminal dump NUL and space considered are different, 24532 although they are displayed the same. 24533Solution: When encountering NUL handle it like space. 24534Files: src/terminal.c 24535 24536Patch 8.0.1633 24537Problem: A TextChanged autocmd triggers when it is defined after creating a 24538 buffer. 24539Solution: Set b_last_changedtick when opening a buffer. (Hirohito Higashi, 24540 closes #2742) 24541Files: src/buffer.c, src/testdir/test_autocmd.vim 24542 24543Patch 8.0.1634 24544Problem: The ex_vimgrep() function is too long. 24545Solution: Split it in smaller functions. (Yegappan Lakshmanan) 24546Files: src/quickfix.c 24547 24548Patch 8.0.1635 24549Problem: Undefining _POSIX_THREADS causes problems with Python 3. (Micah 24550 Bucy, closes #2748) 24551Solution: Remove the lines. 24552Files: src/if_python3.c 24553 24554Patch 8.0.1636 24555Problem: No test for term_dumpload() and term_dumpdiff(). 24556Solution: Add tests. 24557Files: src/testdir/test_terminal.vim 24558 24559Patch 8.0.1637 24560Problem: No test for term_dumpdiff() options argument. 24561Solution: Add a test. 24562Files: src/testdir/test_terminal.vim 24563 24564Patch 8.0.1638 24565Problem: Popup test fails depending on environment variable. 24566Solution: Reset $COLORFGBG when running Vim in a terminal. (closes #2693) 24567Files: src/testdir/screendump.vim 24568 24569Patch 8.0.1639 24570Problem: Libvterm code lags behind master. 24571Solution: Sync to head, solve merge problems. 24572Files: src/libvterm/README, src/libvterm/bin/unterm.c, 24573 src/libvterm/bin/vterm-ctrl.c, src/libvterm/bin/vterm-dump.c, 24574 src/libvterm/doc/URLs, src/libvterm/doc/seqs.txt, 24575 src/libvterm/include/vterm.h, 24576 src/libvterm/include/vterm_keycodes.h, src/libvterm/src/mouse.c, 24577 src/libvterm/src/parser.c, src/libvterm/src/pen.c, 24578 src/libvterm/src/screen.c, src/libvterm/src/state.c, 24579 src/libvterm/src/vterm.c, src/libvterm/src/vterm_internal.h, 24580 src/libvterm/t/10state_putglyph.test, 24581 src/libvterm/t/25state_input.test, src/libvterm/t/harness.c, 24582 src/libvterm/t/26state_query.test 24583 24584Patch 8.0.1640 24585Problem: Test_cwd() is flaky. 24586Solution: Add to list of flaky tests. 24587Files: src/testdir/runtest.vim 24588 24589Patch 8.0.1641 24590Problem: Job in terminal can't communicate with Vim. 24591Solution: Add the terminal API. 24592Files: src/terminal.c, src/buffer.c, src/testdir/test_terminal.vim, 24593 src/testdir/screendump.vim, runtime/doc/terminal.txt 24594 24595Patch 8.0.1642 24596Problem: Running Vim in terminal fails with two windows. 24597Solution: Pass the number of rows to RunVimInTerminal(). 24598Files: src/testdir/screendump.vim, src/testdir/test_terminal.vim 24599 24600Patch 8.0.1643 24601Problem: Terminal API tests fail. 24602Solution: Explicitly set 'title'. 24603Files: src/testdir/test_terminal.vim 24604 24605Patch 8.0.1644 24606Problem: Terminal API tests still fail. 24607Solution: Explicitly set 'title' in the terminal job. (Ozaki Kiichi, 24608 closes #2750) 24609Files: src/testdir/test_terminal.vim, src/testdir/screendump.vim 24610 24611Patch 8.0.1645 24612Problem: Test for terminal response to escape sequence fails for some 24613 people. (toothpik) 24614Solution: Run "cat" and let it echo the characters. 24615Files: src/testdir/test_terminal.vim 24616 24617Patch 8.0.1646 24618Problem: MS-Windows: executable contains unreferenced functions and data. 24619Solution: Add /opt:ref to the compiler command. (Ken Takata) 24620Files: src/Make_mvc.mak 24621 24622Patch 8.0.1647 24623Problem: Terminal API may call a function not meant to be called by this 24624 API. 24625Solution: Require the function to start with Tapi_. 24626Files: runtime/doc/terminal.txt, src/terminal.c, 24627 src/testdir/test_terminal.vim 24628 24629Patch 8.0.1648 24630Problem: Resource fork tool doesn't work on Python 3. 24631Solution: Use "print()" instead of "print". (Marius Gedminas) 24632Files: src/dehqx.py 24633 24634Patch 8.0.1649 24635Problem: No completion for argument list commands. 24636Solution: Add arglist completion. (Yegappan Lakshmanan, closes #2706) 24637Files: runtime/doc/eval.txt, runtime/doc/map.txt, src/ex_cmds2.c, 24638 src/ex_docmd.c, src/ex_getln.c, src/proto/ex_cmds2.pro, 24639 src/testdir/test_cmdline.vim, src/vim.h 24640 24641Patch 8.0.1650 24642Problem: Too many #ifdefs. 24643Solution: Graduate FEAT_LISTCMDS, no reason to leave out buffer commands. 24644Files: runtime/doc/various.txt, src/buffer.c, src/charset.c, 24645 src/evalfunc.c, src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, 24646 src/version.c, src/feature.h 24647 24648Patch 8.0.1651 24649Problem: Cannot filter :ls output for terminal buffers. 24650Solution: Add flags for terminal buffers. (Marcin Szamotulski, closes #2751) 24651Files: runtime/doc/windows.txt, src/buffer.c, 24652 src/testdir/test_terminal.vim 24653 24654Patch 8.0.1652 24655Problem: term_dumpwrite() does not output composing characters. 24656Solution: Use the cell index. 24657Files: src/terminal.c, src/testdir/test_terminal.vim 24658 24659Patch 8.0.1653 24660Problem: Screen dump is made too soon. 24661Solution: Wait until the ruler is displayed. (Ozaki Kiichi, closes #2755) 24662Files: src/testdir/dumps/Test_popup_command_01.dump, 24663 src/testdir/dumps/Test_popup_command_02.dump, 24664 src/testdir/screendump.vim, src/testdir/test_autocmd.vim, 24665 src/testdir/test_terminal.vim 24666 24667Patch 8.0.1654 24668Problem: Warnings for conversion of void to function pointer. 24669Solution: Use a temp variable that is a function pointer. 24670Files: src/if_python.c, src/if_python3.c 24671 24672Patch 8.0.1655 24673Problem: Outdated gdb message in terminal debugger unclear. 24674Solution: Specifically mention the required gdb version. Avoid getting 24675 stuck on pagination. 24676Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim 24677 24678Patch 8.0.1656 24679Problem: No option to have xxd produce upper case variable names. 24680Solution: Add the -C argument. (Matt Panaro, closes #2772) 24681Files: src/xxd/xxd.c 24682 24683Patch 8.0.1657 24684Problem: Crash when reading a channel. 24685Solution: Clear the write flag before writing. (idea by Shinya Ohyanagi, 24686 closes #2769). 24687Files: src/channel.c 24688 24689Patch 8.0.1658 24690Problem: Capitalize argument not available in long form. 24691Solution: Recognize -capitalize. Update man page. 24692Files: src/xxd/xxd.c, runtime/doc/xxd.1, runtime/doc/xxd.man 24693 24694Patch 8.0.1659 24695Problem: Scroll events not recognized for some xterm emulators. 24696Solution: Recognize mouse codes 0x40 and 0x41 as scroll events. 24697Files: src/term.c 24698 24699Patch 8.0.1660 24700Problem: The terminal API "drop" command doesn't support options. 24701Solution: Implement the options. 24702Files: src/terminal.c, src/ex_docmd.c, src/proto/ex_docmd.pro, 24703 src/ex_cmds.h, src/eval.c, src/misc2.c, src/fileio.c, 24704 src/testdir/test_terminal.vim, runtime/doc/terminal.txt 24705 24706Patch 8.0.1661 24707Problem: Warnings from 64 bit compiler. 24708Solution: Add type casts. (Mike Williams) 24709Files: src/terminal.c 24710 24711Patch 8.0.1662 24712Problem: Showing dump diff doesn't mention both file names. 24713Solution: Add the file name in the separator line. 24714Files: src/terminal.c 24715 24716Patch 8.0.1663 (after 8.0.1660) 24717Problem: Cannot build without multi-byte feature. 24718Solution: Add #ifdef. 24719Files: src/ex_docmd.c 24720 24721Patch 8.0.1664 24722Problem: Test failure because of not allocating enough space. 24723Solution: Allocate more bytes. 24724Files: src/terminal.c 24725 24726Patch 8.0.1665 24727Problem: When running a terminal from the GUI 'term' is not useful. 24728Solution: Use $TERM in the GUI if it starts with "xterm". (closes #2776) 24729Files: src/os_unix.c, runtime/doc/terminal.txt 24730 24731Patch 8.0.1666 24732Problem: % argument in ch_log() causes trouble. 24733Solution: Use string as third argument in internal ch_log(). (Dominique 24734 Pelle, closes #2784) 24735Files: src/evalfunc.c, src/testdir/test_channel.vim 24736 24737Patch 8.0.1667 24738Problem: Terminal window tests are flaky. 24739Solution: Increase the waiting time for Vim to start. 24740Files: src/testdir/screendump.vim 24741 24742Patch 8.0.1668 24743Problem: Terminal debugger: can't re-open source code window. 24744Solution: Add the :Source command. Also create the window if needed when 24745 gdb stops at a source line. 24746Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim, 24747 runtime/doc/terminal.txt 24748 24749Patch 8.0.1669 24750Problem: :vimgrep may add entries to the wrong quickfix list. 24751Solution: Use the list identifier. (Yegappan Lakshmanan) 24752Files: src/quickfix.c, src/testdir/test_quickfix.vim 24753 24754Patch 8.0.1670 24755Problem: Terminal window tests are still a bit flaky. 24756Solution: Increase the waiting time for the buffer to be created. 24757Files: src/testdir/test_terminal.vim 24758 24759Patch 8.0.1671 24760Problem: Crash when passing non-dict argument as env to job_start(). 24761Solution: Check for valid argument. (Ozaki Kiichi, closes #2765) 24762Files: src/channel.c, src/testdir/test_channel.vim 24763 24764Patch 8.0.1672 24765Problem: Error during completion causes command to be cancelled. 24766Solution: Reset did_emsg before waiting for another character. (Tom M.) 24767Files: src/ex_getln.c, src/testdir/test_cmdline.vim 24768 24769Patch 8.0.1673 24770Problem: Terminal window tests are still a bit flaky. 24771Solution: Increase the waiting time even more. (Elimar Riesebieter) 24772Files: src/testdir/test_terminal.vim 24773 24774Patch 8.0.1674 24775Problem: Libvterm can't handle a long OSC string that is split. 24776Solution: When an incomplete OSC string is received copy it to the parser 24777 buffer. Increase the size of the parser buffer to be able to 24778 handle longer strings. 24779Files: src/libvterm/src/parser.c, src/libvterm/src/vterm.c 24780 24781Patch 8.0.1675 24782Problem: Unused macro argument in libvterm. (Randall W. Morris) 24783Solution: Remove the argument. 24784Files: src/libvterm/src/parser.c 24785 24786Patch 8.0.1676 24787Problem: No compiler warning for wrong printf format. 24788Solution: Add a printf attribute for gcc. Fix reported problems. (Dominique 24789 Pelle, closes #2789) 24790Files: src/channel.c, src/vim.h, src/proto/channel.pro 24791 24792Patch 8.0.1677 24793Problem: No compiler warning for wrong format in vim_snprintf(). 24794Solution: Add printf attribute for gcc. Fix reported problems. 24795Files: src/vim.h, src/proto.h, src/eval.c, src/fileio.c, src/mbyte.c, 24796 src/ops.c, src/spellfile.c, src/undo.c, src/json.c 24797 24798Patch 8.0.1678 24799Problem: Errorformat "%r" implies "%>". (Jan Gosmann) 24800Solution: Jump to before setting fmt_ptr. (Yegappan Lakshmanan, 24801 closes #2785) 24802Files: src/quickfix.c, src/testdir/test_quickfix.vim 24803 24804Patch 8.0.1679 24805Problem: Compiler warning for printf format. (Chdiza) 24806Solution: Change type to "long long". (closes #2791) 24807Files: src/ops.c 24808 24809Patch 8.0.1680 24810Problem: Memory allocated by libvterm does not show up in profile. 24811Solution: Pass allocator functions to vterm_new(). 24812Files: src/terminal.c 24813 24814Patch 8.0.1681 24815Problem: The format attribute fails with MinGW. (John Marriott) 24816Solution: Don't use the format attribute with MinGW. 24817Files: src/vim.h, src/proto.h, src/channel.c 24818 24819Patch 8.0.1682 24820Problem: Auto indenting breaks inserting a block. 24821Solution: Do not check for cursor movement if indent was changed. (Christian 24822 Brabandt, closes #2778) 24823Files: src/testdir/test_blockedit.vim, src/testdir/Make_all.mak, 24824 src/Makefile, src/ops.c 24825 24826Patch 8.0.1683 24827Problem: Python upgrade breaks Vim when defining PYTHON_HOME. 24828Solution: Do not define PYTHON_HOME and PYTHON3_HOME in configure. (Naoki 24829 Inada, closes #2787) 24830Files: src/configure.ac, src/auto/configure 24831 24832Patch 8.0.1684 24833Problem: ml_get errors when using terminal window for shell command. 24834 (Blay263) 24835Solution: Do not change the size of the current window. 24836Files: src/terminal.c 24837 24838Patch 8.0.1685 24839Problem: Can't set ANSI colors of a terminal window. 24840Solution: Add term_setansicolors(), term_getansicolors() and 24841 g:term_ansi_colors. (Andy Massimino, closes #2747) 24842Files: runtime/doc/eval.txt, runtime/doc/terminal.txt, src/channel.c, 24843 src/evalfunc.c, src/proto/terminal.pro, src/structs.h, 24844 src/terminal.c, src/testdir/test_terminal.vim 24845 24846Patch 8.0.1686 (after 8.0.1683) 24847Problem: Python does not work when configuring with specific dir. (Rajdeep) 24848Solution: Do define PYTHON_HOME and PYTHON3_HOME in configure if the Python 24849 config dir was specified. 24850Files: src/configure.ac, src/auto/configure 24851 24852Patch 8.0.1687 24853Problem: 64 bit compiler warnings. 24854Solution: change type, add type cast. (Mike Williams) 24855Files: src/terminal.c 24856 24857Patch 8.0.1688 24858Problem: Some macros are used without a semicolon, causing auto-indent to be 24859 wrong. 24860Solution: Use the do-while(0) trick. (Ozaki Kiichi, closes #2729) 24861Files: src/buffer.c, src/dosinst.c, src/ex_cmds.c, src/gui_at_sb.c, 24862 src/macros.h, src/main.c, src/memline.c, src/option.c, 24863 src/os_vms.c, src/screen.c, src/window.c 24864 24865Patch 8.0.1689 24866Problem: No tests for xxd. 24867Solution: Add a test. (Christian Brabandt) 24868Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Makefile, 24869 src/testdir/test_xxd.vim, src/testdir/runtest.vim 24870 24871Patch 8.0.1690 24872Problem: Not easy to run one test with gvim instead of vim. 24873Solution: Add VIMTESTTARGET in Makefile. 24874Files: src/Makefile 24875 24876Patch 8.0.1691 24877Problem: Xxd test sometimes fails. 24878Solution: Wipe out the XXDfile buffer. 24879Files: src/testdir/test_xxd.vim 24880 24881Patch 8.0.1692 (after 8.0.1686) 24882Problem: Python may not work when using statically linked library. 24883Solution: Do not define PYTHON_HOME and PYTHON3_HOME in configure if the 24884 Python library is linked statically. 24885Files: src/configure.ac, src/auto/configure 24886 24887Patch 8.0.1693 24888Problem: Xxd is excluded from coverage statistics. 24889Solution: Don't skip the xxd directory. (Christian Brabandt) 24890Files: .travis.yml 24891 24892Patch 8.0.1694 24893Problem: Terminal API test is a bit flaky. 24894Solution: Wait longer for Vim to stop. 24895Files: src/testdir/screendump.vim 24896 24897Patch 8.0.1695 24898Problem: Xxd test not run on MS-Windows. 24899Solution: Use xxd.exe if it exists. 24900Files: src/testdir/test_xxd.vim 24901 24902Patch 8.0.1696 24903Problem: Coverage statistics don't work. 24904Solution: Include the xxd directory. (Christian Brabandt) 24905Files: .travis.yml 24906 24907Patch 8.0.1697 24908Problem: Various tests are still a bit flaky. 24909Solution: Increase the default wait time to five seconds. 24910Files: src/testdir/shared.vim, src/testdir/screendump.vim, 24911 src/testdir/test_channel.vim, src/testdir/test_clientserver.vim, 24912 src/testdir/test_quotestar.vim, src/testdir/test_terminal.vim 24913 24914Patch 8.0.1698 24915Problem: Coverage statistics don't work on coveralls. 24916Solution: Use curly braces for $SRCDIR. 24917Files: .travis.yml 24918 24919Patch 8.0.1699 24920Problem: Leftover stuff for Python 1.4. 24921Solution: Remove outdated Python 1.4 stuff. (Naoki Inada, closes #2794) 24922Files: src/Makefile, src/config.aap.in, src/config.mk.in, 24923 src/configure.ac, src/auto/configure 24924 24925Patch 8.0.1700 24926Problem: Coverage statistics still don't work on coveralls. 24927Solution: Exclude the xxd directory again. 24928Files: .travis.yml 24929 24930Patch 8.0.1701 24931Problem: Can disable COLOR_EMOJI with MSVC but not MinGW. 24932Solution: Add COLOR_EMOJI flag. Also add some empty lines for readability. 24933Files: src/Make_cyg_ming.mak 24934 24935Patch 8.0.1702 24936Problem: Leaking memory when autocommands make a quickfix list invalid. 24937Solution: Call FreeWild(). (Yegappan Lakshmanan) 24938Files: src/quickfix.c 24939 24940Patch 8.0.1703 24941Problem: In the tutor 'showcmd' is not set. 24942Solution: Set 'showcmd' in the vimtutor script. (Ken Takata, closes #2792) 24943Files: src/vimtutor 24944 24945Patch 8.0.1704 24946Problem: 'backupskip' default doesn't work for Mac. 24947Solution: Use "/private/tmp". (Rainer Müller, closes #2793) 24948Files: src/option.c, src/testdir/test_options.vim, 24949 runtime/doc/options.txt 24950 24951Patch 8.0.1705 24952Problem: When making a vertical split the mode message isn't always 24953 updated, "VISUAL" remains. (Alexei Averchenko) 24954Solution: Only reset clear_cmdline when filling all columns of the last 24955 screen line. (Tom M. closes #2611) 24956Files: src/screen.c, src/testdir/test_window_cmd.vim 24957 24958Patch 8.0.1706 24959Problem: Cannot send CTRL-\ to a terminal window. 24960Solution: Make CTRL-W CTRL-\ send CTRL-\ to a terminal window. 24961Files: src/terminal.c, runtime/doc/terminal.txt 24962 24963Patch 8.0.1707 24964Problem: When 'wfh' is set ":bel 10new" scrolls window. (Andrew Pyatkov) 24965Solution: Set the fraction before changing the window height. (closes #2798) 24966Files: src/window.c 24967 24968Patch 8.0.1708 24969Problem: Mkdir with 'p' flag fails on existing directory, which is 24970 different from the mkdir shell command. 24971Solution: Don't fail if the directory already exists. (James McCoy, 24972 closes #2775) 24973Files: src/evalfunc.c, src/testdir/test_eval_stuff.vim, 24974 runtime/doc/eval.txt 24975 24976Patch 8.0.1709 24977Problem: Some non-C89 code may slip through. 24978Solution: Enforce C89 in configure. Fix detected problems. (James McCoy, 24979 closes #2735) 24980Files: src/channel.c, src/configure.ac, src/auto/configure, 24981 src/gui_gtk_x11.c, src/if_python3.c 24982 24983Patch 8.0.1710 24984Problem: Building with Ruby fails. 24985Solution: Don't add -ansi when building with Ruby. 24986Files: src/configure.ac, src/auto/configure 24987 24988Patch 8.0.1711 24989Problem: Term_setsize() is not implemented yet. 24990Solution: Implement it. 24991Files: src/evalfunc.c, src/terminal.c, src/proto/terminal.pro, 24992 src/testdir/test_terminal.vim, runtime/doc/eval.txt 24993 24994Patch 8.0.1712 24995Problem: Terminal scrollback is not limited. 24996Solution: Add the 'terminalscroll' option. 24997Files: src/terminal.c, src/option.h, src/option.c, 24998 runtime/doc/options.txt, runtime/doc/terminal.txt 24999 25000Patch 8.0.1713 25001Problem: Terminal debugger doesn't handle arguments. 25002Solution: Use <f-args> and pass all the arguments to gdb, e.g. the core file 25003 or process number. (suggested by Christian Brabandt) Disallow 25004 starting the debugger twice. 25005Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim, 25006 runtime/doc/terminal.txt 25007 25008Patch 8.0.1714 25009Problem: Term_setsize() does not give an error in a normal buffer. 25010Solution: Add an error message. 25011Files: src/terminal.c, src/testdir/test_terminal.vim 25012 25013Patch 8.0.1715 25014Problem: Terminal buffer can be 1 more than 'terminalscroll' lines. 25015Solution: Change > to >=. 25016Files: src/terminal.c 25017 25018Patch 8.0.1716 25019Problem: Test for term_setsize() does not give a good error message. 25020Solution: use assert_inrange(). 25021Files: src/testdir/test_terminal.vim 25022 25023Patch 8.0.1717 25024Problem: C89 check causes too much trouble. 25025Solution: Remove enforcing C89 for now. 25026Files: src/configure.ac, src/auto/configure 25027 25028Patch 8.0.1718 25029Problem: Terminal scrollback test fails on MS-Windows. 25030Solution: Check for the last line of output anticipating there might be an 25031 empty line below it. 25032Files: src/testdir/test_terminal.vim 25033 25034Patch 8.0.1719 25035Problem: Cannot specify which Python executable configure should use. 25036Solution: Add --with-python-command and --with-python3-command. 25037Files: src/configure.ac, src/auto/configure 25038 25039Patch 8.0.1720 25040Problem: When a timer is running a terminal window may not close after a 25041 shell has exited. 25042Solution: Call job_status() more often. 25043Files: src/terminal.c 25044 25045Patch 8.0.1721 25046Problem: No test for using the 'termsize' option. 25047Solution: Add a test. 25048Files: src/testdir/screendump.vim, src/testdir/test_terminal.vim 25049 25050Patch 8.0.1722 25051Problem: Cannot specify a minimal size for a terminal window. 25052Solution: Support the "rows*cols" format for 'winsize'. 25053Files: src/terminal.c, src/testdir/test_terminal.vim, src/option.c, 25054 runtime/doc/options.txt 25055 25056Patch 8.0.1723 25057Problem: Using one item array size declaration is misleading. 25058Solution: Instead of using "[1]" and actually using a larger array, use 25059 "[]". This is to verify that this C99 feature works for all 25060 compilers. 25061Files: src/structs.h, src/getchar.c 25062 25063Patch 8.0.1724 25064Problem: Declarations cannot be halfway a block. 25065Solution: Move one declaration to check if this works for all compilers. 25066Files: src/main.c 25067 25068Patch 8.0.1725 25069Problem: Terminal debugger doesn't handle command arguments. 25070Solution: Add the :TermdebugCommand command. Use a ! to execute right away. 25071 (Christian Brabandt) 25072Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim, 25073 runtime/doc/terminal.txt 25074 25075Patch 8.0.1726 (after 8.0.1724) 25076Problem: Older MSVC doesn't support declarations halfway a block. 25077Solution: Move the declaration back to the start of the block. 25078Files: src/main.c 25079 25080Patch 8.0.1727 25081Problem: qf_get_properties() function is too long. 25082Solution: Refactor the code. (Yegappan Lakshmanan, closes #2807) 25083Files: src/quickfix.c 25084 25085Patch 8.0.1728 25086Problem: Condition always false, useless code. 25087Solution: Remove the code. (Nikolai Pavlov, closes #2808) 25088Files: src/message.c 25089 25090Patch 8.0.1729 25091Problem: No comma after last enum item. 25092Solution: Add a few commas to check if this works for all compilers. Also 25093 add a few // comments. 25094Files: src/structs.h 25095 25096Patch 8.0.1730 25097Problem: No configure check for the used C99 features. 25098Solution: Add a compilation check. Tentatively document C99 features. 25099Files: src/configure.ac, src/auto/configure, runtime/doc/develop.txt 25100 25101Patch 8.0.1731 25102Problem: Characters deleted on completion. (Adrià Farrés) 25103Solution: Also check the last item for the ORIGINAL_TEXT flag. (Christian 25104 Brabandt, closes #1645) 25105Files: src/edit.c, src/testdir/test_popup.vim 25106 25107Patch 8.0.1732 25108Problem: Crash when terminal API call deletes the buffer. 25109Solution: Lock the buffer while calling a function. (closes #2813) 25110Files: src/buffer.c, src/terminal.c, src/testdir/test_terminal.vim, 25111 src/testdir/test_autocmd.vim 25112 25113Patch 8.0.1733 25114Problem: Incomplete testing for completion fix. (Lifepillar) 25115Solution: Add a test with CTRL-P. 25116Files: src/testdir/test_popup.vim 25117 25118Patch 8.0.1734 25119Problem: Package directory not added to 'rtp' if prefix matches. 25120Solution: Check the match is a full match. (Ozaki Kiichi, closes #2817) 25121 Also handle different ways of spelling a path. 25122Files: src/testdir/test_packadd.vim, src/ex_cmds2.c 25123 25124Patch 8.0.1735 (after 8.0.1723 and 8.0.1730) 25125Problem: Flexible array member feature not supported by HP-UX. (John 25126 Marriott) 25127Solution: Do not use the flexible array member feature of C99. 25128Files: src/configure.ac, src/auto/configure, src/structs.h, 25129 src/getchar.c, runtime/doc/develop.txt 25130 25131Patch 8.0.1736 25132Problem: Check for C99 features is incomplete. 25133Solution: Use AC_PROG_CC_C99 and when C99 isn't fully supported check the 25134 features we need. (James McCoy, closes #2820) 25135Files: src/configure.ac, src/auto/configure 25136 25137Patch 8.0.1737 25138Problem: fchown() used when it is not supported. 25139Solution: Add #ifdef. 25140Files: src/fileio.c 25141 25142Patch 8.0.1738 25143Problem: ":args" output is hard to read. 25144Solution: Make columns with the names if the output is more than one line. 25145Files: src/ex_cmds2.c, src/version.c, src/proto/version.pro, 25146 src/testdir/test_arglist.vim 25147 25148Patch 8.0.1739 25149Problem: MS-Windows with msys2 cannot build Ruby statically. 25150Solution: Define RUBY_VERSION. (Gray Wolf, closes #2826) 25151Files: src/Make_cyg_ming.mak 25152 25153Patch 8.0.1740 25154Problem: Warning for signed-unsigned incompatibility. 25155Solution: Change type from "char *" to "char_u *". (John Marriott) 25156Files: src/ex_cmds2.c 25157 25158Patch 8.0.1741 25159Problem: MS-Windows with msys2 cannot build Ruby statically. 25160Solution: Add RUBY_VERSION to CFLAGS later. (Gray Wolf, closes #2833) 25161Files: src/Make_cyg_ming.mak 25162 25163Patch 8.0.1742 25164Problem: Cannot get a list of all the jobs. Cannot get the command of 25165 the job. 25166Solution: When job_info() is called without an argument return a list of 25167 jobs. Otherwise, include the command that the job is running. 25168 (Yegappan Lakshmanan) 25169Files: runtime/doc/eval.txt, src/channel.c, src/evalfunc.c, 25170 src/proto/channel.pro, src/structs.h, src/testdir/test_channel.vim 25171 25172Patch 8.0.1743 25173Problem: Terminal window options are named inconsistently. 25174Solution: prefix terminal window options with "termwin". Keep the old names 25175 for now as an alias. 25176Files: src/option.c, src/option.h, src/structs.h, src/terminal.c, 25177 src/testdir/test_terminal.vim, src/testdir/gen_opt_test.vim, 25178 runtime/doc/options.txt, runtime/doc/quickref.txt, 25179 runtime/doc/terminal.txt, runtime/optwin.vim 25180 25181Patch 8.0.1744 25182Problem: On some systems /dev/stdout isn't writable. 25183Solution: Skip test if writing is not possible. (James McCoy, closes #2830) 25184Files: src/testdir/test_writefile.vim 25185 25186Patch 8.0.1745 25187Problem: Build failure on MS-Windows. 25188Solution: Build job arguments for MS-Windows. Fix allocating job twice. 25189Files: src/structs.h, src/channel.c, src/os_unix.c, src/misc2.c, 25190 src/terminal.c, src/proto/misc2.pro 25191 25192Patch 8.0.1746 25193Problem: MS-Windows: channel tests fail. 25194Solution: Make a copy of the command before splitting it. 25195Files: src/channel.c 25196 25197Patch 8.0.1747 25198Problem: MS-Windows: term_start() does not set job_info() cmd. 25199Solution: Share the code from job_start() to set jv_argv. 25200Files: src/testdir/test_terminal.vim, src/channel.c, src/misc2.c, 25201 src/proto/misc2.pro, src/terminal.c 25202 25203Patch 8.0.1748 25204Problem: CmdlineEnter command uses backslash instead of slash. 25205Solution: Don't treat the character as a file name. (closes #2837) 25206Files: src/fileio.c, src/testdir/test_autocmd.vim 25207 25208Patch 8.0.1749 25209Problem: VMS: 100% CPU use, redefining mch_open() and mch_fopen() fails. 25210Solution: Do not wait indefinitely in RealWaitForChar(). (Neil Rieck) 25211 Do not redefine mch_open() and mch_fopen() on VMS. (Zoltan 25212 Arpadffy) 25213Files: src/os_vms.c, src/vim.h 25214 25215Patch 8.0.1750 25216Problem: Crash when clearing location list in autocommand. 25217Solution: Check if "qi" equals "ql_info". (Yegappan Lakshmanan) 25218Files: src/quickfix.c, src/testdir/test_quickfix.vim 25219 25220Patch 8.0.1751 25221Problem: #ifdef causes bad highlighting. 25222Solution: Move code around. (Ozaki Kiichi, closes #2731) 25223Files: src/ui.c 25224 25225Patch 8.0.1752 25226Problem: qf_set_properties() is to long. 25227Solution: Refactor the function. Define INVALID_QFIDX. (Yegappan 25228 Lakshmanan, closes #2812) 25229Files: src/quickfix.c, src/testdir/test_quickfix.vim 25230 25231Patch 8.0.1753 25232Problem: Various warnings from a static analyser 25233Solution: Add type casts, remove unneeded conditions. (Christian Brabandt, 25234 closes #2770) 25235Files: src/evalfunc.c, src/ex_cmds2.c, src/fileio.c, src/getchar.c, 25236 src/normal.c, src/os_unix.c, src/search.c, src/term.c 25237 25238Patch 8.0.1754 25239Problem: ex_helpgrep() is too long. 25240Solution: Refactor the function. (Yegappan Lakshmanan, closes #2766) 25241Files: src/quickfix.c, src/testdir/test_quickfix.vim 25242 25243Patch 8.0.1755 25244Problem: MS-Windows GUI: high unicode char received as two utf-16 words. 25245Solution: Keep the first word until the second word is received. (Chris 25246 Morgan, closes #2800) 25247Files: src/gui_w32.c 25248 25249Patch 8.0.1756 25250Problem: GUI: after prompting for a number the mouse shape is sometimes 25251 wrong. 25252Solution: Call setmouse() after setting "State". (Hirohito Higashi, 25253 closes #2709) 25254Files: src/misc1.c 25255 25256Patch 8.0.1757 25257Problem: Unnecessary changes in libvterm. 25258Solution: Bring back // comments and trailing comma in enums. 25259Files: src/libvterm/bin/unterm.c, src/libvterm/bin/vterm-ctrl.c, 25260 src/libvterm/bin/vterm-dump.c, src/libvterm/include/vterm.h, 25261 src/libvterm/include/vterm_keycodes.h, 25262 src/libvterm/src/encoding.c, src/libvterm/src/keyboard.c, 25263 src/libvterm/src/parser.c, src/libvterm/src/pen.c, 25264 src/libvterm/src/screen.c, src/libvterm/src/state.c, 25265 src/libvterm/src/unicode.c, src/libvterm/src/utf8.h, 25266 src/libvterm/src/vterm.c, src/libvterm/src/vterm_internal.h 25267 25268Patch 8.0.1758 25269Problem: open_line() returns TRUE/FALSE for success/failure. 25270Solution: Return OK or FAIL. 25271Files: src/misc1.c, src/normal.c, src/edit.c 25272 25273Patch 8.0.1759 25274Problem: Memory leak from duplicate options. (Yegappan Lakshmanan) 25275Solution: Don't set the default value twice. 25276Files: src/option.c 25277 25278Patch 8.0.1760 25279Problem: Wrong number of arguments to vms_read(). 25280Solution: Drop the first argument. (Ozaki Kiichi) 25281Files: src/ui.c 25282 25283Patch 8.0.1761 25284Problem: Job in terminal window with no output channel is killed. 25285Solution: Keep the job running when the input is a tty. (Ozaki Kiichi, 25286 closes #2734) 25287Files: src/channel.c, src/os_unix.c, src/testdir/test_channel.vim 25288 25289Patch 8.0.1762 25290Problem: Terminal debug logging is a bit complicated. 25291Solution: Make log_tr() use variable arguments (Ozaki Kiichi, closes #2730) 25292Files: src/term.c 25293 25294Patch 8.0.1763 25295Problem: :argedit does not reuse an empty unnamed buffer. 25296Solution: Add the BLN_CURBUF flag and fix all the side effects. (Christian 25297 Brabandt, closes #2713) 25298Files: src/buffer.c, src/ex_cmds2.c, src/proto/buffer.pro, 25299 src/testdir/test_arglist.vim, src/testdir/test_command_count.vim 25300 25301Patch 8.0.1764 25302Problem: Lgtm considers tutor.es to be EcmaScript. 25303Solution: Add a config file for lgtm. (Bas van Schaik, closes #2844) 25304Files: .lgtm.yml, Filelist 25305 25306Patch 8.0.1765 25307Problem: CTRL-G j in Insert mode is incorrect when 'virtualedit' is set. 25308Solution: Take coladd into account. (Christian Brabandt, closes #2743) 25309Files: src/charset.c, src/testdir/test_virtualedit.vim 25310 25311Patch 8.0.1766 (after 8.0.1758) 25312Problem: Expanding abbreviation doesn't work. (Tooth Pik) 25313Solution: Return OK instead of FALSE and FAIL instead of TRUE. (Christian 25314 Brabandt) 25315Files: src/edit.c, src/testdir/test_mapping.vim 25316 25317Patch 8.0.1767 25318Problem: With 'incsearch' text may jump up and down. () 25319Solution: Besides w_botline also save and restore w_empty_rows. 25320 (closes #2530) 25321Files: src/ex_getln.c, src/testdir/test_search.vim, 25322 src/testdir/dumps/Test_incsearch_scrolling_01.dump 25323 25324Patch 8.0.1768 25325Problem: SET_NO_HLSEARCH() used in a wrong way. 25326Solution: Make it a function. (suggested by Dominique Pelle, 25327 closes #2850) 25328Files: src/vim.h, src/ex_docmd.c, src/proto/ex_docmd.pro, src/search.c, 25329 src/ex_getln.c, src/option.c, src/screen.c, src/tag.c 25330 25331Patch 8.0.1769 25332Problem: Repeated saving and restoring viewstate for 'incsearch'. 25333Solution: Use a structure. 25334Files: src/ex_getln.c 25335 25336Patch 8.0.1770 25337Problem: Assert functions don't return anything. 25338Solution: Return non-zero when the assertion fails. 25339Files: src/evalfunc.c, src/eval.c, src/proto/eval.pro, 25340 src/testdir/test_assert.vim, runtime/doc/eval.txt 25341 25342Patch 8.0.1771 25343Problem: In tests, when WaitFor() fails it doesn't say why. (James McCoy) 25344Solution: Add WaitForAssert(), which produces an assert error when it fails. 25345Files: src/testdir/shared.vim, src/testdir/test_terminal.vim, 25346 src/testdir/screendump.vim, src/testdir/test_autocmd.vim, 25347 src/testdir/test_channel.vim, src/testdir/test_clientserver.vim, 25348 src/testdir/test_job_fails.vim 25349 25350Patch 8.0.1772 25351Problem: Quickfix: mixup of FALSE and FAIL, returning -1. 25352Solution: Use FAIL and INVALID_QFIDX. (Yegappan Lakshmanan) 25353Files: src/quickfix.c 25354 25355Patch 8.0.1773 25356Problem: Dialog messages are not translated. 25357Solution: Add N_() and _() where needed. (Sergey Alyoshin) 25358Files: src/diff.c, src/ex_cmds2.c, src/ex_docmd.c, src/message.c, 25359 src/po/Make_cyg.mak, src/po/Make_ming.mak, src/po/Make_mvc.mak, 25360 src/po/Makefile, src/quickfix.c, src/vim.h 25361 25362Patch 8.0.1774 25363Problem: Reading very long lines can be slow. 25364Solution: Read up to 1 Mbyte at a time to avoid a lot of copying. Add a 25365 check for going over the column limit. 25366Files: src/fileio.c 25367 25368Patch 8.0.1775 25369Problem: MS-Windows: warning for unused variable. 25370Solution: Move declaration inside #ifdef. (Mike Williams) 25371Files: src/channel.c 25372 25373Patch 8.0.1776 25374Problem: In tests, when WaitFor() fails it doesn't say why. 25375Solution: Turn a few more WaitFor() into WaitForAssert(). 25376Files: src/testdir/test_popup.vim, src/testdir/test_quotestar.vim, 25377 src/testdir/test_search.vim, src/testdir/test_terminal.vim, 25378 src/testdir/test_timers.vim 25379 25380Patch 8.0.1777 25381Problem: Cannot cleanup before loading another colorscheme. 25382Solution: Add the ColorSchemePre autocommand event. 25383Files: src/fileio.c, src/syntax.c, src/vim.h, src/testdir/test_gui.vim, 25384 runtime/colors/README.txt 25385 25386Patch 8.0.1778 25387Problem: Script to check translations does not always work. 25388Solution: Go to first line before searching for MIME. 25389Files: src/po/check.vim 25390 25391Patch 8.0.1779 25392Problem: Deleting in a block selection causes problems. 25393Solution: Check the length of the line before adding bd.textcol and 25394 bd.textlen. (Christian Brabandt, closes #2825) 25395Files: src/ops.c, src/testdir/test_blockedit.vim 25396 25397Patch 8.0.1780 25398Problem: Test fails because Vim in a terminal uses wrong 'encoding'. 25399Solution: Set encoding in the test where it matters. (James McCoy, 25400 closes #2847) 25401Files: src/testdir/test_terminal.vim 25402 25403Patch 8.0.1781 25404Problem: File names in quickfix window are not always shortened. 25405Solution: Shorten the file name when opening the quickfix window. (Yegappan 25406 Lakshmanan, closes #2851, closes #2846) 25407Files: src/testdir/test_quickfix.vim, src/fileio.c, src/proto/fileio.pro, 25408 src/quickfix.c 25409 25410Patch 8.0.1782 25411Problem: No simple way to label quickfix entries. 25412Solution: Add the "module" item, to be used instead of the file name for 25413 display purposes. (Marcin Szamotulski, closes #1757) 25414Files: runtime/doc/eval.txt, runtime/doc/quickfix.txt, src/alloc.h, 25415 src/quickfix.c, src/testdir/test_quickfix.vim 25416 25417Patch 8.0.1783 25418Problem: Cannot use 256 colors in a MS-Windows console. 25419Solution: Add 256 color support. (Nobuhiro Takasaki, closes #2821) 25420Files: src/misc1.c, src/option.c, src/os_win32.c, src/proto/os_win32.pro, 25421 src/term.c, src/proto/term.pro, src/terminal.c 25422 25423Patch 8.0.1784 (after 8.0.1782) 25424Problem: Gvim test gets stuck in dialog. 25425Solution: Rename the file used. 25426Files: src/testdir/test_quickfix.vim 25427 25428Patch 8.0.1785 (after 8.0.1783) 25429Problem: Missing symbol in Win32 small build. 25430Solution: Define VTERM_ANSI_INDEX_NONE without the terminal feature. Also 25431 fix unused function with #ifdef. 25432Files: src/term.c, src/os_win32.c 25433 25434Patch 8.0.1786 25435Problem: No test for 'termwinkey'. 25436Solution: Add a test. Make feedkeys() handle terminal_loop() returning 25437 before characters are consumed. 25438Files: src/testdir/test_terminal.vim, src/terminal.c, src/evalfunc.c, 25439 src/ex_docmd.c, src/getchar.c, src/keymap.h 25440 25441Patch 8.0.1787 25442Problem: Cannot insert the whole cursor line. 25443Solution: Make CTRL-R CTRL-L work. (Andy Massimino, closes #2857) 25444Files: runtime/doc/cmdline.txt, src/ex_getln.c, src/ops.c, 25445 src/testdir/test_cmdline.vim 25446 25447Patch 8.0.1788 25448Problem: Tool to check a color scheme is not installed. 25449Solution: Update the install rule. (Christian Brabandt) 25450Files: src/Makefile 25451 25452Patch 8.0.1789 25453Problem: BufWinEnter does not work well for a terminal window. 25454Solution: Do not trigger BufWinEnter when opening a terminal window. 25455Files: src/terminal.c, runtime/doc/autocmd.txt, 25456 src/testdir/test_terminal.vim 25457 25458Patch 8.0.1790 25459Problem: 'winfixwidth' is not always respected by :close. 25460Solution: Prefer a frame without 'winfixwidth' or 'winfixheight'. (Jason 25461 Franklin) 25462Files: src/window.c, src/testdir/test_winbuf_close.vim 25463 25464Patch 8.0.1791 25465Problem: Using uint8_t does not work everywhere. 25466Solution: Use char_u instead. 25467Files: src/term.c, src/proto/term.pro, src/os_win32.c 25468 25469Patch 8.0.1792 25470Problem: MS-Windows users expect -? to work like --help. 25471Solution: Add -?. (Christian Brabandt, closes #2867) 25472Files: src/main.c 25473 25474Patch 8.0.1793 25475Problem: No test for "vim -g". 25476Solution: Add a test for "-g" and "-y". 25477Files: src/testdir/shared.vim, src/testdir/test_gui.vim 25478 25479Patch 8.0.1794 25480Problem: Duplicate term options after renaming. 25481Solution: Remove the old names 'termkey', 'termsize' and 'terminalscroll'. 25482Files: src/option.c, src/terminal.c, src/option.h, 25483 src/testdir/gen_opt_test.vim, src/testdir/screendump.vim 25484 25485Patch 8.0.1795 25486Problem: Lose contact with jobs when :gui forks. 25487Solution: Don't fork when there is a running job. Make log message for a 25488 died job clearer. Also close the terminal when stderr and stdout 25489 are the same FD. 25490Files: src/gui.h, src/gui.c, src/channel.c, src/proto/channel.pro, 25491 src/os_unix.c, src/terminal.c 25492 25493Patch 8.0.1796 25494Problem: GUI: click on tab fails when the focus is in a terminal window. 25495Solution: Handle K_TABLINE. 25496Files: src/terminal.c 25497 25498Patch 8.0.1797 25499Problem: Terminal window is redrawn too often and scrolling is repeated. 25500Solution: Don't scroll immediately but only when redrawing. Avoid redrawing 25501 the whole terminal window on every change. 25502Files: src/terminal.c, src/screen.c, src/proto/terminal.pro 25503 25504Patch 8.0.1798 25505Problem: MS-Windows: file considered read-only when another program has 25506 opened it. 25507Solution: Pass file sharing flag to CreateFile(). (Linwei, closes #2860) 25508Files: src/os_win32.c 25509 25510Patch 8.0.1799 25511Problem: No test for :registers command. 25512Solution: Add a test. (Dominique Pelle, closes #2880) 25513Files: src/testdir/test_registers.vim 25514 25515Patch 8.0.1800 25516Problem: X11: getting color is slow. 25517Solution: Avoid using sprintf() and XParseColor(), put the RGB values in 25518 XColor directly. 25519Files: src/gui_x11.c 25520 25521Patch 8.0.1801 25522Problem: MS-Windows: redirecting terminal output does not work. 25523Solution: Intercept the text written to the terminal and write it to the 25524 file. 25525Files: src/terminal.c, src/testdir/test_terminal.vim 25526 25527Patch 8.0.1802 (after 8.0.1802) 25528Problem: MS-Windows: terminal test fails. 25529Solution: Close redirected output file earlier. 25530Files: src/terminal.c 25531 25532Patch 8.0.1803 25533Problem: Warning for uninitialized variable. (Tony Mechelynck) 25534Solution: Initialize it. 25535Files: src/terminal.c 25536 25537Patch 8.0.1804 25538Problem: Using :normal in terminal window causes problems. (Dominique 25539 Pelle) 25540Solution: Don't call terminal_loop() for :normal. (closes #2886) 25541Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/evalfunc.c 25542 25543Patch 8.0.1805 25544Problem: qf_parse_line() is too long. 25545Solution: Split it in parts. Properly handle vim_realloc() failing. 25546 (Yegappan Lakshmanan, closes #2881) 25547Files: src/quickfix.c 25548 25549Patch 8.0.1806 25550Problem: InsertCharPre causes problems for autocomplete. (Lifepillar) 25551Solution: Check for InsertCharPre before calling vpeekc(). (Christian 25552 Brabandt, closes #2876) 25553Files: src/edit.c, src/testdir/test_popup.vim 25554 25555Patch 8.0.1807 25556Problem: Function to set terminal name is too long. 25557Solution: Refactor the function. Fix typo in test. 25558Files: src/term.c, src/testdir/test_options.vim 25559 25560Patch 8.0.1808 (after 8.0.1807) 25561Problem: Can't build without TGETENT. 25562Solution: Add #ifdef 25563Files: src/term.c 25564 25565Patch 8.0.1809 25566Problem: Various typos. 25567Solution: Correct the mistakes, change "cursur" to "cursor". (closes #2887) 25568Files: src/edit.c, src/normal.c, src/screen.c, src/proto/screen.pro, 25569 src/ui.c 25570 25571Patch 8.0.1810 25572Problem: Buffer of a terminal only updated in Terminal-Normal mode. 25573Solution: Copy the terminal window content to the buffer when in 25574 Terminal-Job mode. 25575Files: src/terminal.c, src/proto/terminal.pro, src/ex_cmds2.c, 25576 src/proto/ex_cmds2.pro 25577 25578Patch 8.0.1811 25579Problem: No test for winrestcmd(). 25580Solution: Add a test. (Dominique Pelle, closes #2894) 25581Files: src/testdir/test_window_cmd.vim 25582 25583Patch 8.0.1812 25584Problem: The qf_jump_to_usable_window() function is too long. 25585Solution: Split it in parts. (Yegappan Lakshmanan, closes #2891) 25586Files: src/quickfix.c 25587 25588Patch 8.0.1813 25589Problem: Windows installer doesn't install terminal debugger. 25590Solution: Add the package to the list of files to install. 25591Files: nsis/gvim.nsi 25592 25593Patch 8.0.1814 25594Problem: Crash with terminal window and with 'lazyredraw' set. (Antoine) 25595Solution: Check the terminal still exists after update_screen(). 25596Files: src/terminal.c 25597 25598Patch 8.0.1815 (after 8.0.1814) 25599Problem: Still a crash with terminal window and with 'lazyredraw' set. 25600 (Antoine) 25601Solution: Do not wipe out the buffer when updating the screen. 25602Files: src/terminal.c, src/proto/terminal.pro, src/screen.c, 25603 src/proto/screen.pro, src/ui.c 25604 25605Patch 8.0.1816 25606Problem: No test for setcmdpos(). 25607Solution: Add a test. (Dominique Pelle, closes #2901) 25608Files: src/testdir/test_cmdline.vim 25609 25610Patch 8.0.1817 25611Problem: A timer may change v:count unexpectedly. 25612Solution: Save and restore v:count and similar variables when a timer 25613 callback is invoked. (closes #2897) 25614Files: src/eval.c, src/proto/eval.pro, src/ex_cmds2.c, src/structs.h, 25615 src/testdir/test_timers.vim 25616 25617Patch 8.0.1818 (after 8.0.1810) 25618Problem: Lines remove from wrong buffer when using terminal window. 25619Solution: Make sure to use tl_buffer. 25620Files: src/terminal.c 25621 25622Patch 8.0.1819 25623Problem: Swap file warning for a file in a non-existing directory, if there 25624 is another with the same file name. (Juergen Weigert) 25625Solution: When expanding the file name fails compare the file names. 25626Files: src/testdir/test_swap.vim, src/memline.c 25627 25628Patch 8.0.1820 25629Problem: Terminal window redirecting stdout does not show stderr. (Matéo 25630 Zanibelli) 25631Solution: When stdout is not connected to pty_master_fd then use it for 25632 stderr. (closes #2903) 25633Files: src/os_unix.c, src/testdir/test_terminal.vim 25634 25635Patch 8.0.1821 25636Problem: Cursor in terminal window moves when pressing CTRL-W. (Dominique 25637 Pelle) 25638Solution: Do not more the cursor or redraw when not in Terminal-Normal mode. 25639 (closes #2904) 25640Files: src/terminal.c 25641 25642Patch 8.0.1822 25643Problem: Make uninstall does not remove colors/tools. 25644Solution: Add a line to delete the tools directory. (Kazunobu Kuriyama) 25645Files: src/Makefile 25646 25647Patch 8.0.1823 25648Problem: Test for terminal stdout redirection is flaky. 25649Solution: Wait for the job to finish. 25650Files: src/testdir/test_terminal.vim 25651 25652Patch 8.0.1824 25653Problem: Coverity warns for variable that may be uninitialized. 25654Solution: Initialize the variable. 25655Files: src/terminal.c 25656 25657Patch 8.0.1825 25658Problem: Might use NULL pointer when out of memory. (Coverity) 25659Solution: Handle NULL pointer better. 25660Files: src/getchar.c 25661 25662Patch 8.0.1826 25663Problem: Configure uses old compiler flag. 25664Solution: Remove _DARWIN_C_SOURCE. (Kazunobu Kuriyama) 25665Files: src/configure.ac, src/auto/configure 25666 25667Patch 8.0.1827 25668Problem: Compiler warning for signed/unsigned char pointers. (Cesar Romani) 25669Solution: Change the type of jv_argv. 25670Files: src/channel.c, src/structs.h 25671 25672Patch 8.0.1828 25673Problem: Get no clue why :gui does not fork. 25674Solution: Add a channel log message. 25675Files: src/channel.c 25676 25677Patch 8.0.1829 25678Problem: MS-Windows: script for vimdiff can't handle ! chars. 25679Solution: Escape the ! chars. (Hans Ginzel, closes #2896) 25680Files: src/dosinst.c 25681 25682Patch 8.0.1830 25683Problem: Switching to Terminal-Normal mode does not redraw. (Dominique 25684 Pelle) 25685Solution: Also redraw when not updating the snapshot. (closes #2904) 25686Files: src/terminal.c 25687 25688Patch 8.0.1831 25689Problem: Sometimes the quickfix title is incorrectly prefixed with ':'. 25690Solution: Prepend the colon in another way. (Yegappan Lakshmanan, closes 25691 #2905) 25692Files: src/evalfunc.c, src/quickfix.c, src/testdir/test_quickfix.vim 25693 25694Patch 8.0.1832 25695Problem: Cannot use :unlet for an environment variable. 25696Solution: Make it work. Use unsetenv() if available. (Yasuhiro Matsumoto, 25697 closes #2855) 25698Files: runtime/doc/eval.txt, src/config.h.in, src/configure.ac, 25699 src/auto/configure, src/eval.c, src/misc1.c, src/proto/misc1.pro, 25700 src/testdir/test_unlet.vim 25701 25702Patch 8.0.1833 25703Problem: X11: ":echo 3.14" gives E806. 25704Solution: set LC_NUMERIC to "C". (Dominique Pelle, closes #2368) 25705Files: src/gui_x11.c 25706 25707Patch 8.0.1834 25708Problem: GUI: find/replace dialog does not handle some chars properly. 25709Solution: Escape '?' when needed. Always escape backslash. (closes #2418, 25710 closes #2435) 25711Files: src/gui.c 25712 25713Patch 8.0.1835 25714Problem: Print document name does not support multi-byte. 25715Solution: Use StartDocW() if needed. (Yasuhiro Matsumoto, closes #2478) 25716Files: src/os_mswin.c 25717 25718Patch 8.0.1836 25719Problem: Buffer-local window options may not be recent if the buffer is 25720 still open in another window. 25721Solution: Copy the options from the window instead of the outdated window 25722 options. (Bjorn Linse, closes #2336) 25723Files: src/buffer.c, src/testdir/test_options.vim 25724 25725Patch 8.0.1837 25726Problem: One character cmdline abbreviation not triggered after '<,'>. 25727Solution: Skip over the special range. (Christian Brabandt, closes #2320) 25728Files: src/ex_getln.c, src/testdir/test_mapping.vim 25729 25730Patch 8.0.1838 25731Problem: Cursor in wrong position when switching to Terminal-Normal mode. 25732 (Dominique Pelle) 25733Solution: Move to the end of the line if coladvance() fails. Do not take a 25734 snapshot a second time. 25735Files: src/terminal.c 25736 25737Patch 8.0.1839 25738Problem: Script to check .po file doesn't check for plural header. 25739Solution: Add a check that the plural header is present when needed. 25740Files: src/po/check.vim 25741 25742Patch 8.0.1840 25743Problem: getwinpos() is not tested. 25744Solution: Add a test. (Dominique Pelle, closes #2911) 25745Files: src/testdir/test_gui.vim 25746 25747Patch 8.0.1841 25748Problem: HP-UX does not have setenv(). 25749Solution: Use vim_setenv(). (John Marriott) 25750Files: src/misc1.c 25751 25752Patch 8.0.1842 25753Problem: Popup menu inside terminal window isn't cleared. 25754Solution: Use NOT_VALID in pum_undisplay(). (suggested by Christian 25755 Brabandt, closes #2908) 25756Files: src/popupmnu.c 25757 25758Patch 8.0.1843 25759Problem: Entry for 'wrap' in options window is wrong. (John Little) 25760Solution: Make the change apply locally. 25761Files: runtime/optwin.vim 25762 25763Patch 8.0.1844 25764Problem: Superfluous quickfix code, missing examples. 25765Solution: Remove unneeded code. Add a few examples. Add a bit more 25766 testing. (Yegappan Lakshmanan, closes #2916) 25767Files: runtime/doc/quickfix.txt, src/quickfix.c, 25768 src/testdir/test_quickfix.vim 25769 25770Patch 8.0.1845 25771Problem: Various comment updates needed, missing white space. 25772Solution: Update comments, add white space. 25773Files: src/getchar.c, src/testdir/test_cscope.vim, src/gui_mac.c 25774 25775Patch 8.0.1846 25776Problem: Python interface is incompatible with lldb. 25777Solution: For OutputType set the base to be PyFile_Type. (Boxu Zhang) 25778 Partly disabled to avoid a crash. 25779Files: src/if_py_both.h, src/if_python.c, src/if_python3.c 25780 25781Patch 8.0.1847 25782Problem: Some build options don't have an example. 25783Solution: Add a couple more examples and compiler flags. 25784Files: src/Makefile 25785 25786Patch 8.0.1848 25787Problem: 'termwinscroll' does not work properly. (Dominique Pelle) 25788Solution: Subtract removed scrollback from the scrollback count. Add a test 25789 for 'termwinscroll'. (closes #2909) 25790Files: src/terminal.c, src/testdir/test_terminal.vim 25791 25792Patch 8.0.1849 25793Problem: Compiler warning for unused arguments and missing prototype. 25794Solution: Add UNUSED. Add static. 25795Files: src/mbyte.c, src/if_ruby.c 25796 25797Patch 8.0.1850 25798Problem: Todo items in source code not visible for users. 25799Solution: Move the todo items to the help file. 25800Files: src/terminal.c 25801 25802 25803============================================================================== 25804VERSION 8.2 *version-8.2* *version8.2* *vim-8.2* 25805 25806VERSION 8.2 IS NOT RELEASED YET! THIS SECTION WILL CHANGE. 25807 25808This section is about improvements made between version 8.1 and 8.2. 25809 25810This release has hundreds of bug fixes, there are several new features and 25811there are many minor improvements. 25812 25813 25814Popup windows *new-popup-window* 25815------------- 25816 25817Popup windows can be used to display text on top of other windows. This can 25818be for a simple message such as "Build finished successfully", showing a 25819function prototype while editing a function call, a flexible popup menu and 25820many other purposes. 25821 25822Popup windows are very flexible: they can be positioned relative to text, an 25823absolute position or just in the middle of the screen. The size can be fixed 25824or adjust to the text. A "zindex" value specifies what popup window goes on 25825top of others. 25826 25827The new 'wincolor' option allows for setting the color for the whole popup 25828window. This also works for normal windows. 25829 25830 25831Text properties *new-text-properties* 25832--------------- 25833 25834Highlighting of text was done previously with syntax rules or matches. Text 25835properties give a plugin author more flexibility what to highlight. This can 25836be used with an external asynchronous parser to do syntax highlighting. Or 25837just to highlight text in a popup window. 25838 25839The listener functions have been added so exchange text changes with a server 25840to dynamically update highligting, mark errors and the like. 25841 25842 25843Vim script improvements *new-vimscript-8.2* 25844----------------------- 25845 25846Functions can now be called in a chain, using "->": > 25847 mylist->filter(filterexpr)->map(mapexpr)->sort()->join() 25848The new `:eval` command can be used if the chain has no result. 25849 25850The `:scriptversion` command was added to allow for changes that are not 25851backwards compatible. E.g. to only use ".." for string concatenation, so that 25852"." can be used to access a dictionary member consistently. 25853 25854`:const` was added to allow for declaring a variable that cannot change: > 25855 const TIMER_DELAY = 400 25856 25857A heredoc-style assignment was added to easily assign a list of lines to a 25858variable without quoting or line continuation: > 25859 let lines =<< trim END 25860 line one 25861 line two 25862 END 25863 25864The |Blob| type was added. This makes it easy to deal with binary data. 25865 25866The /= and %= assignment operators were added. 25867 25868A Dictionary can be defined with literal keys using #{}. This avoids having 25869to use quotes: > 25870 let options = #{width: 30, height: 24} 25871 25872 25873Other improvements *new-other-8.2* 25874------------------ 25875 25876- When 'incsearch' is set it also applies to `:substitute`. 25877- |modifyOtherKeys| was added to allow mapping more key combinations. 25878- ConPTY support was added for Windows 10, supports full color in the terminal. 25879- The windows installer supports translations, silent install and looks 25880 better. 25881 25882 25883Changed *changed-8.2* 25884------- 25885 25886The xdiff library was included to avoid the need for an external diff program 25887and to make updating diffs much faster. 25888 25889The code is using a few more modern C features, such as // comments. 25890 25891Support for old compilers has been dropped: Borland C++, MSVC 2008. 25892 25893Hangul input support was removed, it actually didn't work. 25894 25895The FEAT_TAG_OLDSTATIC code was removed, it slowed down tag searches. 25896The FEAT_TAG_ANYWHITE code was removed, is was not enabled in any build. 25897The UNICODE16 code was removed, it was not useful. 25898Workshop support was removed, nobody was using it. 25899The Aap build files were removed, they were outdated. 25900Farsi support was removed, it was outdated and unused. 25901 25902VIMDLL was re-implemented, this shares the common parts between vim and gvim 25903to reduce the total install size. 25904 25905The following features are now included in all versions: |+multi_byte|, 25906|+virtualedit|, |+vreplace|, |+localmap|, |+cmdline_hist|, |+cmdline_compl|, 25907|+insert_expand|, |+modify_fname|, |+comments| 25908 25909 25910Added *added-8.2* 25911----- 25912 25913Added functions: 25914 All the popup_ functions. 25915 All the prop_ functions. 25916 All the sign_ functions. 25917 All the sound_ functions. 25918 25919 |appendbufline()| 25920 |balloon_gettext()| 25921 |bufadd()| 25922 |bufload()| 25923 |ch_readblob()| 25924 |chdir()| 25925 |debugbreak()| 25926 |deletebufline()| 25927 |environ()| 25928 |expandcmd()| 25929 |getenv()| 25930 |getimstatus()| 25931 |getmousepos()| 25932 |gettagstack()| 25933 |interrupt()| 25934 |isinf()| 25935 |list2str()| 25936 |listener_add()| 25937 |listener_flush()| 25938 |listener_remove()| 25939 |prompt_setcallback()| 25940 |prompt_setinterrupt()| 25941 |prompt_setprompt()| 25942 |pum_getpos()| 25943 |rand()| 25944 |readdir()| 25945 |reg_executing()| 25946 |reg_recording()| 25947 |rubyeval()| 25948 |screenchars()| 25949 |screenpos()| 25950 |screenstring()| 25951 |setenv()| 25952 |settagstack()| 25953 |srand()| 25954 |state()| 25955 |str2list()| 25956 |strptime()| 25957 |swapinfo()| 25958 |swapname()| 25959 |term_setapi()| 25960 |test_getvalue()| 25961 |test_null_blob()| 25962 |test_refcount()| 25963 |test_scrollbar()| 25964 |test_setmouse()| 25965 |win_execute()| 25966 |win_splitmove()| 25967 |winlayout()| 25968 25969Added autocommands: 25970 |CompleteChanged| 25971 |DiffUpdated| 25972 |SafeState| 25973 |SafeStateAgain| 25974 |SourcePost| 25975 |TerminalWinOpen| 25976 25977Added commands: 25978 Jumping to errors relative to the cursor position: 25979 `:cabove` 25980 `:cafter` 25981 `:cbefore` 25982 `:cbelow` 25983 `:labove` 25984 `:lbefore` 25985 `:lbelow` 25986 `:lafter` 25987 Tab-local directory: 25988 `:tcd` 25989 `:tchdir` 25990 Others: 25991 `:const` 25992 `:eval` 25993 `:redrawtabline` 25994 `:scriptversion` 25995 `:spellrare` 25996 `:tlmenu` 25997 `:tlnoremenu` 25998 `:tlunmenu` 25999 `:wsverb` 26000 `:xrestore` 26001 26002Added options: 26003 'completepopup' 26004 'completeslash' 26005 'cursorlineopt' 26006 'modelineexpr' 26007 'previewpopup' 26008 'scrollfocus' 26009 'tagfunc' 26010 'termwintype' 26011 'varsofttabstop' 26012 'vartabstop' 26013 'wincolor' 26014 26015 26016Patches *patches-8.2* 26017------- 26018 26019These patches were applied after the 8.1 release and are included in the 8.2 26020release. 26021 26022Patch 8.1.0001 26023Problem: The netrw plugin does not work. 26024Solution: Make it accept version 8.x. 26025Files: runtime/autoload/netrw.vim 26026 26027Patch 8.1.0002 26028Problem: :stopinsert changes the message position. 26029Solution: Save and restore msg_col and msg_row in clearmode(). (Jason 26030 Franklin) 26031Files: src/screen.c, src/testdir/test_messages.vim 26032 26033Patch 8.1.0003 26034Problem: The :compiler command is not tested. 26035Solution: Add a test. (Dominique Pelle, closes #2930) 26036Files: src/Makefile, src/testdir/test_alot.vim, 26037 src/testdir/test_compiler.vim 26038 26039Patch 8.1.0004 26040Problem: Test for :compiler command sometimes fails. 26041Solution: Be less strict about the error message. (Dominique Pelle) 26042Files: src/testdir/test_compiler.vim 26043 26044Patch 8.1.0005 26045Problem: Test for :compiler command fails on MS-Windows. 26046Solution: Ignore difference in path. 26047Files: src/testdir/test_compiler.vim 26048 26049Patch 8.1.0006 26050Problem: syn_id2cterm_bg() may be undefined. (Axel Bender) 26051Solution: Adjust #ifdef. 26052Files: src/syntax.c 26053 26054Patch 8.1.0007 26055Problem: No test for "o" and "O" in Visual block mode. 26056Solution: Add a test. (Dominique Pelle, closes #2932) 26057Files: src/testdir/test_visual.vim 26058 26059Patch 8.1.0008 26060Problem: No test for strwidth(). 26061Solution: Add a test. (Dominique Pelle, closes #2931) 26062Files: src/testdir/test_functions.vim 26063 26064Patch 8.1.0009 26065Problem: Tabpages insufficiently tested. 26066Solution: Add more test coverage. (Dominique Pelle, closes #2934) 26067Files: src/testdir/test_tabpage.vim 26068 26069Patch 8.1.0010 26070Problem: efm_to_regpat() is too long. 26071Solution: Split off three functions. (Yegappan Lakshmanan, closes #2924) 26072Files: src/quickfix.c 26073 26074Patch 8.1.0011 26075Problem: maparg() and mapcheck() confuse empty and non-existing. 26076Solution: Return <Nop> for an existing non-empty mapping. (closes #2940) 26077Files: src/evalfunc.c, src/testdir/test_maparg.vim 26078 26079Patch 8.1.0012 26080Problem: Misplaced #endif. 26081Solution: Move the #endif to after the expression. (David Binderman) 26082Files: src/fileio.c 26083 26084Patch 8.1.0013 26085Problem: Using freed memory when changing terminal cursor color. 26086Solution: Make a copy of the color. (Dominique Pelle, closes #2938, 26087 closes #2941) 26088Files: src/terminal.c 26089 26090Patch 8.1.0014 26091Problem: qf_init_ext() is too long. 26092Solution: Split it into multiple functions. (Yegappan Lakshmanan, 26093 closes #2939) 26094Files: src/quickfix.c 26095 26096Patch 8.1.0015 26097Problem: Cursor color wrong when closing a terminal window, ending up in 26098 another terminal window. (Dominique Pelle) 26099Solution: Bail out of terminal_loop() when the buffer changes. 26100 (closes #2942) 26101Files: src/terminal.c 26102 26103Patch 8.1.0016 26104Problem: Possible crash in term_wait(). (Dominique Pelle) 26105Solution: Check for a valid buffer after ui_delay(). (closes #2944) 26106Files: src/terminal.c 26107 26108Patch 8.1.0017 26109Problem: Shell command completion has duplicates. (Yegappan Lakshmanan) 26110Solution: Use a hash table to avoid duplicates. (Ozaki Kiichi, closes #539, 26111 closes #2733) 26112Files: src/ex_getln.c, src/testdir/test_cmdline.vim 26113 26114Patch 8.1.0018 26115Problem: Using "gn" may select wrong text when wrapping. 26116Solution: Avoid wrapping when searching forward. (Christian Brabandt) 26117Files: src/search.c, src/testdir/test_gn.vim 26118 26119Patch 8.1.0019 26120Problem: Error when defining a Lambda with index of a function result. 26121Solution: When not evaluating an expression and skipping a function call, 26122 set the return value to VAR_UNKNOWN. 26123Files: src/userfunc.c, src/testdir/test_lambda.vim 26124 26125Patch 8.1.0020 26126Problem: Cannot tell whether a register is being used for executing or 26127 recording. 26128Solution: Add reg_executing() and reg_recording(). (Hirohito Higashi, 26129 closes #2745) Rename the global variables for consistency. Store 26130 the register name in reg_executing. 26131Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c, 26132 src/testdir/test_functions.vim, src/getchar.c, src/normal.c, 26133 src/ops.c, src/globals.h, src/edit.c, src/fileio.c, src/message.c, 26134 src/screen.c 26135 26136Patch 8.1.0021 26137Problem: Clang warns for undefined behavior. 26138Solution: Move #ifdef outside of sprintf() call. (suggestion by Michael 26139 Jarvis, closes #2946) 26140Files: src/term.c 26141 26142Patch 8.1.0022 26143Problem: Repeating put from expression register fails. 26144Solution: Re-evaluate the expression register. (Andy Massimino, 26145 closes #2945) 26146Files: src/getchar.c, src/testdir/test_put.vim 26147 26148Patch 8.1.0023 26149Problem: gcc 8.1 warns for use of strncpy(). (John Marriott) 26150Solution: Use mch_memmove() instead of STRNCPY(). 26151Files: src/memline.c 26152 26153Patch 8.1.0024 26154Problem: % command not tested on #ifdef and comment. 26155Solution: Add tests. (Dominique Pelle, closes #2956) 26156Files: src/testdir/test_goto.vim 26157 26158Patch 8.1.0025 26159Problem: No test for the undofile() function. 26160Solution: Add test. (Dominique Pelle, closes #2958) 26161Files: src/testdir/test_undo.vim 26162 26163Patch 8.1.0026 26164Problem: Terminal test fails with very tall terminal. (Tom) 26165Solution: Fix the terminal window size in the test. 26166Files: src/testdir/test_terminal.vim 26167 26168Patch 8.1.0027 26169Problem: Difficult to make a plugin that feeds a line to a job. 26170Solution: Add the initial code for the "prompt" buftype. 26171Files: runtime/doc/channel.txt, runtime/doc/eval.txt, 26172 runtime/doc/options.txt, runtime/doc/tags, runtime/doc/todo.txt, 26173 src/Makefile, src/buffer.c, src/channel.c, src/diff.c, src/edit.c, 26174 src/evalfunc.c, src/normal.c, src/ops.c, src/option.c, 26175 src/proto/buffer.pro, src/proto/channel.pro, src/proto/edit.pro, 26176 src/proto/ops.pro, src/structs.h, src/testdir/Make_all.mak, 26177 src/testdir/screendump.vim, src/testdir/test_prompt_buffer.vim 26178 26179Patch 8.1.0028 (after 8.1.0027) 26180Problem: Prompt buffer test fails on MS-Windows. 26181Solution: Disable the test for now. Remove stray assert. 26182Files: src/testdir/test_prompt_buffer.vim 26183 26184Patch 8.1.0029 26185Problem: Terminal test fails on MS-Windows when "wc" exists. 26186Solution: Skip test with redirection on MS-Windows. 26187Files: src/testdir/test_terminal.vim 26188 26189Patch 8.1.0030 26190Problem: Stopping Vim running in a terminal may not work. 26191Solution: Instead of sending <Esc> send CTRL-O. 26192Files: src/testdir/screendump.vim, src/testdir/test_prompt_buffer.vim 26193 26194Patch 8.1.0031 26195Problem: Terminal test aucmd_on_close is flaky. 26196Solution: Wait a bit longer. 26197Files: src/testdir/test_terminal.vim 26198 26199Patch 8.1.0032 26200Problem: BS in prompt buffer starts new line. 26201Solution: Do not allow BS over the prompt. Make term_sendkeys() handle 26202 special keys. Add a test. 26203Files: src/option.c, src/terminal.c, src/testdir/test_prompt_buffer.vim 26204 26205Patch 8.1.0033 26206Problem: Keys to stop Vim in terminal are wrong. (Marius Gedminas) 26207Solution: Move ":" to before CTRL-U. 26208Files: src/testdir/screendump.vim 26209 26210Patch 8.1.0034 26211Problem: Cursor not restored with ":edit #". 26212Solution: Don't assume autocommands moved the cursor when it was moved to 26213 the first non-blank. 26214Files: src/ex_cmds.c, src/testdir/test_edit.vim 26215 26216Patch 8.1.0035 26217Problem: Not easy to switch between prompt buffer and other windows. 26218Solution: Accept CTRL-W commands in Insert mode. Start and stop Insert mode 26219 as one would expect. 26220Files: src/edit.c, src/ex_docmd.c, src/structs.h, src/window.c 26221 26222Patch 8.1.0036 26223Problem: Not restoring Insert mode if leaving a prompt buffer by using a 26224 mouse click. 26225Solution: Set b_prompt_insert appropriately. Also correct cursor position 26226 when moving cursor to last line. 26227Files: src/buffer.c, src/edit.c, src/window.c 26228 26229Patch 8.1.0037 26230Problem: Cannot easily append lines to another buffer. 26231Solution: Add appendbufline(). 26232Files: runtime/doc/eval.txt, src/evalfunc.c, 26233 src/testdir/test_bufline.vim, src/testdir/test_edit.vim 26234 26235Patch 8.1.0038 26236Problem: Popup test causes Vim to exit. 26237Solution: Disable the broken part of the test for now. 26238Files: src/testdir/test_popup.vim 26239 26240Patch 8.1.0039 26241Problem: Cannot easily delete lines in another buffer. 26242Solution: Add deletebufline(). 26243Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_bufline.vim 26244 26245Patch 8.1.0040 26246Problem: Warnings from 64-bit compiler. 26247Solution: Add type casts. (Mike Williams) 26248Files: src/edit.c 26249 26250Patch 8.1.0041 26251Problem: Attribute "width" missing from python window attribute list. 26252Solution: Add the item. (Ken Takata) Order the list like the items are used 26253 in the WindowAttr() function. 26254Files: src/if_py_both.h, src/testdir/test86.ok, src/testdir/test87.ok 26255 26256Patch 8.1.0042 26257Problem: If omni completion opens a window Insert mode is stopped. 26258 (Hirohito Higashi) 26259Solution: Only set stop_insert_mode in a prompt buffer window. 26260Files: src/window.c 26261 26262Patch 8.1.0043 26263Problem: ++bad argument of :edit does not work properly. 26264Solution: Return FAIL from get_bad_opt() only when there is no valid 26265 argument. (Dominique Pelle, Christian Brabandt, closes #2966, 26266 closes #2947) 26267Files: src/ex_docmd.c, src/testdir/test_plus_arg_edit.vim 26268 26269Patch 8.1.0044 26270Problem: If a test function exits Vim this may go unnoticed. 26271Solution: Check for a test function quitting Vim. Fix tests that did exit 26272 Vim. 26273Files: src/testdir/runtest.vim, src/testdir/test_assert.vim 26274 26275Patch 8.1.0045 (after 8.1.0038) 26276Problem: Popup test isn't run completely. 26277Solution: Remove "finish". Clean up function definitions. 26278Files: src/testdir/test_popup.vim 26279 26280Patch 8.1.0046 26281Problem: Loading a session file fails if 'winheight' is a big number. 26282Solution: Set 'minwinheight' to zero at first. Don't give an error when 26283 setting 'minwinheight' while 'winheight' is a big number. 26284 Fix using vertical splits. Fix setting 'minwinwidth'. 26285 (closes #2970) 26286Files: src/testdir/test_mksession.vim, src/option.c, src/window.c, 26287 src/proto/window.pro 26288 26289Patch 8.1.0047 26290Problem: No completion for :unlet $VAR. 26291Solution: Add completion. (Jason Franklin) 26292Files: src/ex_docmd.c, src/testdir/test_unlet.vim 26293 26294Patch 8.1.0048 26295Problem: vim_str2nr() does not handle numbers close to the maximum. 26296Solution: Check for overflow more precisely. (Ken Takata, closes #2746) 26297Files: src/charset.c 26298 26299Patch 8.1.0049 26300Problem: Shell cannot tell running in a terminal window. 26301Solution: Add the VIM_TERMINAL environment variable. (Christian Brabandt) 26302Files: runtime/doc/terminal.txt, src/os_unix.c, src/os_win32.c, 26303 src/testdir/test_terminal.vim 26304 26305Patch 8.1.0050 (after 8.1.0049) 26306Problem: $VIM_TERMINAL is also set when not in a terminal window. 26307Solution: Pass a flag to indicate whether the job runs in a terminal. 26308Files: src/channel.c, src/proto/channel.pro, src/evalfunc.c, 26309 src/terminal.c, src/os_unix.c, src/proto/os_unix.pro, 26310 src/os_win32.c 26311 26312Patch 8.1.0051 (after 8.1.0050) 26313Problem: MS-Windows: missing #endif. 26314Solution: Add the #endif. 26315Files: src/os_win32.c 26316 26317Patch 8.1.0052 26318Problem: When a mapping to <Nop> times out the next mapping is skipped. 26319Solution: Reset "timedout" when waiting for a character. (Christian 26320 Brabandt, closes #2921) 26321Files: src/getchar.c 26322 26323Patch 8.1.0053 26324Problem: The first argument given to 'completefunc' can be Number or 26325 String, depending on the value. 26326Solution: Avoid guessing the type of an argument, use typval_T in the 26327 callers of call_vim_function(). (Ozaki Kiichi, closes #2993) 26328Files: src/edit.c, src/eval.c, src/ex_getln.c, src/mbyte.c, src/normal.c, 26329 src/proto/eval.pro, src/testdir/test_ins_complete.vim 26330 26331Patch 8.1.0054 26332Problem: Compiler warning for using %ld for "long long". 26333Solution: Add a type cast. (closes #3002) 26334Files: src/os_unix.c 26335 26336Patch 8.1.0055 (after 8.1.0053) 26337Problem: Complete test has wrong order of arguments. Wrong type for 26338 sentinel variable. 26339Solution: Swap arguments, use VAR_UNKNOWN. (Ozaki Kiichi) 26340Files: src/mbyte.c, src/testdir/test_ins_complete.vim 26341 26342Patch 8.1.0056 26343Problem: Crash when using :hardcopy with illegal byte. 26344Solution: Check for string_convert() returning NULL. (Dominique Pelle) 26345Files: src/hardcopy.c, src/testdir/test_hardcopy.vim 26346 26347Patch 8.1.0057 26348Problem: Popup menu displayed wrong when using autocmd. 26349Solution: Use aucmd_prepbuf(). Force updating status line if the popup menu 26350 is going to be redrawn anyway. (Christian Brabandt, closes #3009) 26351Files: src/edit.c, src/screen.c, src/proto/screen.pro 26352 26353Patch 8.1.0058 26354Problem: Display problem with margins and scrolling. 26355Solution: Place the cursor in the right column. (Kouichi Iwamoto, 26356 closes #3016) 26357Files: src/screen.c 26358 26359Patch 8.1.0059 26360Problem: Displayed digraph for "ga" wrong with 'encoding' "cp1251". 26361Solution: Convert from 'encoding' to "utf-8" if needed. (closes #3015) 26362Files: src/digraph.c, src/testdir/test_digraph.vim 26363 26364Patch 8.1.0060 26365Problem: Crash when autocommands delete the current buffer. (Dominique 26366 Pelle) 26367Solution: Check that autocommands don't change the buffer. 26368Files: src/quickfix.c, src/testdir/test_quickfix.vim 26369 26370Patch 8.1.0061 26371Problem: Window title is wrong after resetting and setting 'title'. 26372Solution: Move resetting the title into maketitle(). (Jason Franklin) 26373Files: src/option.c, src/buffer.c 26374 26375Patch 8.1.0062 26376Problem: Popup menu broken if a callback changes the window layout. (Qiming 26377 Zhao) 26378Solution: Recompute the popup menu position if needed. Redraw the ruler 26379 even when the popup menu is displayed. 26380Files: src/popupmnu.c, src/proto/popupmnu.pro, src/screen.c 26381 26382Patch 8.1.0063 26383Problem: Mac: NSStringPboardType is deprecated. 26384Solution: Use NSPasteboardTypeString. (Akshay Hegde, closes #3022) 26385Files: src/os_macosx.m 26386 26387Patch 8.1.0064 26388Problem: Typing CTRL-W in a prompt buffer shows mode "-- --". 26389Solution: Set restart_edit to 'A' and check for it. 26390Files: src/edit.c, src/window.c, src/screen.c 26391 26392Patch 8.1.0065 (after 8.1.0062) 26393Problem: Balloon displayed at the wrong position. 26394Solution: Do not reposition the popup menu at the cursor position. 26395Files: src/popupmnu.c 26396 26397Patch 8.1.0066 26398Problem: Nasty autocommand causes using freed memory. (Dominique Pelle) 26399Solution: Do not force executing autocommands if the value of 'syntax' or 26400 'filetype' did not change. 26401Files: src/option.c 26402 26403Patch 8.1.0067 26404Problem: Syntax highlighting not working when re-entering a buffer. 26405Solution: Do force executing autocommands when not called recursively. 26406Files: src/option.c 26407 26408Patch 8.1.0068 26409Problem: Nasty autocommands can still cause using freed memory. 26410Solution: Disallow using setloclist() and setqflist() recursively. 26411Files: src/evalfunc.c 26412 26413Patch 8.1.0069 26414Problem: Cannot handle pressing CTRL-C in a prompt buffer. 26415Solution: Add prompt_setinterrupt(). 26416Files: runtime/doc/eval.txt, src/edit.c, src/evalfunc.c, src/channel.c, 26417 src/proto/channel.pro 26418 26419Patch 8.1.0070 26420Problem: Missing part of the changes for prompt_setinterrupt(). 26421Solution: Add the missing changes. 26422Files: src/structs.h 26423 26424Patch 8.1.0071 26425Problem: Terminal debugger only works with the terminal feature. 26426Solution: Make it also work with a prompt buffer. Makes it possible to use 26427 on MS-Windows. Various other improvements. (closes #3012) 26428Files: runtime/doc/terminal.txt, 26429 runtime/pack/dist/opt/termdebug/plugin/termdebug.vim 26430 26431Patch 8.1.0072 26432Problem: Use of 'termwinkey' is inconsistent. 26433Solution: Change the documentation and the behavior. (Ken Takata) 26434Files: src/terminal.c, runtime/doc/terminal.txt 26435 26436Patch 8.1.0073 26437Problem: Crash when autocommands call setloclist(). (Dominique Pelle) 26438Solution: If the quickfix list changes then don't jump to the error. 26439Files: src/quickfix.c, src/testdir/test_quickfix.vim 26440 26441Patch 8.1.0074 (after 8.1.0073) 26442Problem: Crash when running quickfix tests. 26443Solution: Do not alloc a new location list when checking for the reference 26444 to be still valid. 26445Files: src/quickfix.c 26446 26447Patch 8.1.0075 26448Problem: No Vim logo in README file. 26449Solution: Add one. (Árni Dagur, closes #3024) 26450Files: README.md 26451 26452Patch 8.1.0076 26453Problem: Command getting cleared with CTRL-W : in a terminal window. (Jason 26454 Franklin) 26455Solution: Call redraw_after_callback() when editing the command line. 26456Files: src/terminal.c 26457 26458Patch 8.1.0077 26459Problem: Header of README file is not nice. 26460Solution: Move text to the bottom. 26461Files: README.md 26462 26463Patch 8.1.0078 26464Problem: "..." used inconsistently in messages. 26465Solution: Drop the space before " ...". 26466Files: src/spellfile.c, src/regexp_nfa.c 26467 26468Patch 8.1.0079 26469Problem: Superfluous space in messages. 26470Solution: Remove the spaces. (closes #3030) 26471Files: src/gui_w32.c 26472 26473Patch 8.1.0080 26474Problem: Can't see the breakpoint number in the terminal debugger. 26475Solution: Use the breakpoint number for the sign. (Christian Brabandt) 26476Files: runtime/doc/terminal.txt, 26477 runtime/pack/dist/opt/termdebug/plugin/termdebug.vim 26478 26479Patch 8.1.0081 26480Problem: The terminal debugger doesn't adjust to changed 'background'. 26481Solution: Add an OptionSet autocommand. (Christian Brabandt) 26482Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim 26483 26484Patch 8.1.0082 26485Problem: In terminal window, typing : at more prompt, inserts ':' instead 26486 of starting another Ex command. 26487Solution: Add skip_term_loop and set it when putting ':' in the typeahead 26488 buffer. 26489Files: src/globals.h, src/main.c, src/message.c 26490 26491Patch 8.1.0083 26492Problem: "is" and "as" have trouble with quoted punctuation. 26493Solution: Check for punctuation before a quote. (Jason Franklin) 26494Files: src/search.c, src/testdir/test_textobjects.vim 26495 26496Patch 8.1.0084 26497Problem: User name completion does not work on MS-Windows. 26498Solution: Use NetUserEnum() to get user names. (Yasuhiro Matsumoto) 26499Files: src/Make_ivc.mak, src/Make_cyg_ming.mak, src/Make_mvc.mak, 26500 src/misc1.c 26501 26502Patch 8.1.0085 26503Problem: No test for completing user name and language. 26504Solution: Add tests. (Dominique Pelle, closes #2978) 26505Files: src/testdir/test_cmdline.vim 26506 26507Patch 8.1.0086 26508Problem: No tests for libcall() and libcallnr(). 26509Solution: Add tests. (Dominique Pelle, closes #2982) 26510Files: src/testdir/test_functions.vim 26511 26512Patch 8.1.0087 26513Problem: v:shell_error is always zero when using terminal for "!cmd". 26514Solution: Use "exitval" of terminal-job. (Ozaki Kiichi, closes #2994) 26515Files: src/os_unix.c, src/os_win32.c, src/proto/terminal.pro, 26516 src/terminal.c, src/testdir/test_terminal.vim 26517 26518Patch 8.1.0088 26519Problem: Terminal test for stdout and stderr is a bit flaky. 26520Solution: Wait for both stdout and stderr to have been processed. (Ozaki 26521 Kiichi, closes #2991) 26522Files: src/testdir/test_terminal.vim 26523 26524Patch 8.1.0089 26525Problem: error when ending the terminal debugger 26526Solution: Fix deleting defined signs for breakpoints. Make the debugger 26527 work better on MS-Windows. 26528Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim 26529 26530Patch 8.1.0090 26531Problem: "..." used inconsistently in a message. 26532Solution: Define the message with " ..." once. (hint by Ken Takata) 26533Files: src/regexp_nfa.c 26534 26535Patch 8.1.0091 26536Problem: MS-Windows: Cannot interrupt gdb when program is running. 26537Solution: Add debugbreak() and use it in the terminal debugger. 26538 Respect 'modified' in a prompt buffer. 26539Files: src/evalfunc.c, runtime/doc/eval.txt, src/undo.c, 26540 runtime/pack/dist/opt/termdebug/plugin/termdebug.vim 26541 26542Patch 8.1.0092 (after 8.1.0091) 26543Problem: Prompt buffer test fails. 26544Solution: Set 'nomodified' before closing the window. (Ozaki Kiichi, 26545 closes #3051) 26546Files: src/testdir/test_prompt_buffer.vim 26547 26548Patch 8.1.0093 26549Problem: non-MS-Windows: Cannot interrupt gdb when program is running. 26550Solution: Only use debugbreak() on MS-Windows. 26551Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim 26552 26553Patch 8.1.0094 26554Problem: Help text "usage:" is not capitalized. 26555Solution: Make it "Usage:". (closes #3044) 26556Files: src/main.c 26557 26558Patch 8.1.0095 26559Problem: Dialog for ":browse tabnew" says "new window". 26560Solution: Use "new tab page". (closes #3053) 26561Files: src/ex_docmd.c 26562 26563Patch 8.1.0096 26564Problem: Inconsistent use of the word autocommands. 26565Solution: Don't use auto-commands or "auto commands". 26566Files: src/fileio.c 26567 26568Patch 8.1.0097 26569Problem: Superfluous space before exclamation mark. 26570Solution: Remove the space. Don't translate debug message. 26571Files: src/regexp_nfa.c 26572 26573Patch 8.1.0098 26574Problem: Segfault when pattern with \z() is very slow. 26575Solution: Check for NULL regprog. Add "nfa_fail" to test_override() to be 26576 able to test this. Fix that 'searchhl' resets called_emsg. 26577Files: src/syntax.c, runtime/doc/eval.txt, src/evalfunc.c, src/vim.h, 26578 src/testdir/test_syntax.vim, src/globals.h, src/screen.c, 26579 src/regexp.c, src/regexp_nfa.c 26580 26581Patch 8.1.0099 26582Problem: Exclamation mark in error message not needed. 26583Solution: Remove the exclamation mark. 26584Files: src/regexp_nfa.c 26585 26586Patch 8.1.0100 26587Problem: Terminal debugger: error when setting a watch point. 26588Solution: Don't try defining a sign for a watch point. 26589Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim 26590 26591Patch 8.1.0101 26592Problem: No test for getcmdwintype(). 26593Solution: Add a test. (Dominique Pelle, closes #3068) 26594Files: src/testdir/test_cmdline.vim 26595 26596Patch 8.1.0102 26597Problem: Cannot build without syntax highlighting. 26598Solution: Add #ifdef around using reg_do_extmatch. 26599Files: src/regexp.c 26600 26601Patch 8.1.0103 26602Problem: Long version string cannot be translated. 26603Solution: Build the string in init_longVersion(). 26604Files: src/globals.h, src/version.h, src/version.c, 26605 src/proto/version.pro, src/main.c 26606 26607Patch 8.1.0104 26608Problem: Can't build without the +eval feature. 26609Solution: Add #ifdef. 26610Files: src/regexp_nfa.c 26611 26612Patch 8.1.0105 26613Problem: All tab stops are the same. 26614Solution: Add the variable tabstop feature. (Christian Brabandt, 26615 closes #2711) 26616Files: runtime/doc/change.txt, runtime/doc/options.txt, 26617 runtime/doc/various.txt, runtime/optwin.vim, src/beval.c, 26618 src/beval.h, src/buffer.c, src/charset.c, src/edit.c, 26619 src/evalfunc.c, src/ex_cmds.c, src/feature.h, src/gui_beval.c, 26620 src/gui_w32.c, src/hardcopy.c, src/message.c, src/misc1.c, 26621 src/ops.c, src/option.c, src/option.h, src/proto/misc1.pro, 26622 src/proto/option.pro, src/screen.c, src/structs.h, 26623 src/testdir/Make_all.mak, src/testdir/gen_opt_test.vim, 26624 src/testdir/test_breakindent.vim, src/testdir/test_vartabs.vim, 26625 src/version.c, src/workshop.c, src/Makefile 26626 26627Patch 8.1.0106 (after 8.1.0103) 26628Problem: Build fails when HAVE_DATE_TIME is undefined. 26629Solution: Always define init_longVersion(). (Christian Brabandt, 26630 closes #3075) 26631Files: src/version.c 26632 26633Patch 8.1.0107 26634Problem: Python: getting buffer option clears message. (Jacob Niehus) 26635Solution: Don't use aucmd_prepbuf(). (closes #3079) 26636Files: src/option.c 26637 26638Patch 8.1.0108 26639Problem: No Danish translations. 26640Solution: Add Danish message translations. (closes #3073) Move list of 26641 languages to a common makefile. 26642Files: src/po/Makefile, src/po/Make_cyg.mak, src/po/Make_mvc.mak, 26643 src/po/Make_ming.mak, src/po/Make_all.mak, src/po/da.po 26644 26645Patch 8.1.0109 26646Problem: New po makefile missing from distribution. 26647Solution: Add it to the file list. 26648Files: Filelist 26649 26650Patch 8.1.0110 26651Problem: File name not displayed with ":file" when 'F' is in 'shortmess'. 26652Solution: Always display the file name when there is no argument (Christian 26653 Brabandt, closes #3070) 26654Files: src/ex_cmds.c, src/testdir/test_options.vim 26655 26656Patch 8.1.0111 26657Problem: .po files do not use recommended names. 26658Solution: Give a warning if the recommended name is not used. Accept the 26659 recommended name for conversion. (Christian Brabandt, Ken Takata) 26660Files: src/po/Makefile, src/po/sjiscorr.c, src/po/check.vim 26661 26662Patch 8.1.0112 26663Problem: No error when using bad arguments with searchpair(). 26664Solution: Add error messages. 26665Files: src/evalfunc.c, src/testdir/test_search.vim 26666 26667Patch 8.1.0113 26668Problem: Compiler warning for unused variable. (Yegappan Lakshmanan) 26669Solution: Add UNUSED. (Christian Brabandt) 26670Files: src/screen.c 26671 26672Patch 8.1.0114 26673Problem: Confusing variable name. 26674Solution: Rename new_ts to new_vts_array. Change zero to NULL. 26675Files: src/ex_cmds.c, src/option.c 26676 26677Patch 8.1.0115 26678Problem: The matchparen plugin may throw an error. 26679Solution: Change the skip argument from zero to "0". 26680Files: runtime/plugin/matchparen.vim 26681 26682Patch 8.1.0116 26683Problem: Display problem with 'vartabstop' and 'linebreak'. (Chauca 26684 Fuentes) 26685Solution: Call tabstop_padding(). (Christian Brabandt, closes #3076) 26686Files: src/screen.c, src/testdir/test_vartabs.vim 26687 26688Patch 8.1.0117 26689Problem: URL in install program still points to SourceForge. 26690Solution: Change it to www.vim.org. (closes #3100) 26691Files: src/dosinst.c 26692 26693Patch 8.1.0118 26694Problem: Duplicate error message for put command. 26695Solution: Check return value of u_save(). (Jason Franklin) 26696Files: src/ops.c, src/testdir/test_messages.vim src/testdir/test_put.vim 26697 26698Patch 8.1.0119 26699Problem: Failing test goes unnoticed because testdir/messages is not 26700 written. 26701Solution: Set 'nomodifiable' only local to the buffer. 26702Files: src/testdir/test_put.vim 26703 26704Patch 8.1.0120 26705Problem: Buffer 'modified' set even when :sort has no changes. 26706Solution: Only set 'modified' when lines are moved. (Jason Franklin) 26707Files: src/ex_cmds.c, src/testdir/test_sort.vim 26708 26709Patch 8.1.0121 26710Problem: Crash when using ballooneval related to 'vartabstop'. 26711Solution: Initialize balloonEval->vts to NULL. (Markus Braun) 26712Files: src/ex_cmds2.c, src/gui_beval.c, src/gui_w32.c, src/gui.c 26713 26714Patch 8.1.0122 26715Problem: Translators don't always understand the maintainer message. 26716Solution: Add a comment that ends up in the generated po file. (Christian 26717 Brabandt, closes #3037) 26718Files: src/message.c 26719 26720Patch 8.1.0123 26721Problem: MS-Windows: colors are wrong after setting 'notgc'. 26722Solution: Only call control_console_color_rgb() for the win32 terminal. 26723 (Nobuhiro Takasaki, closes #3107) 26724Files: src/option.c 26725 26726Patch 8.1.0124 26727Problem: has('vcon') returns true even for non-win32 terminal. 26728Solution: Check the terminal type. (Nobuhiro Takasaki, closes #3106) 26729Files: src/evalfunc.c 26730 26731Patch 8.1.0125 26732Problem: Virtual edit replace with multi-byte fails at end of line. (Lukas 26733 Werling) 26734Solution: use ins_char() to add the character. (Christian Brabandt, 26735 closes #3114) Rename PCHAR() to PBYTE() to avoid mistakes like 26736 this. 26737Files: src/ops.c, src/testdir/test_virtualedit.vim, src/macros.h 26738 26739Patch 8.1.0126 26740Problem: Various problems with 'vartabstop'. 26741Solution: Fix memory leak. Fix crash. Add a few more tests. (Christian 26742 Brabandt, closes #3076) 26743Files: src/ex_cmds.c, src/option.c, src/screen.c, 26744 src/testdir/test_vartabs.vim 26745 26746Patch 8.1.0127 26747Problem: Build failure when disabling the session feature. (Pawel Slowik) 26748Solution: Adjust #ifdef for vim_chdirfile(). 26749Files: src/misc2.c 26750 26751Patch 8.1.0128 26752Problem: Building with MinGW does not work out-of-the-box. 26753Solution: Add instructions for MSYS2. Set default WINVER. Add batch files 26754 to set $PATH for MSYS2. 26755Files: src/Make_cyg_ming.mak, src/INSTALLpc.txt, src/msys32.bat, 26756 src/msys64.bat, Filelist 26757 26758Patch 8.1.0129 26759Problem: Still some xterm-like terminals get a stray "p" on startup. 26760Solution: Consider all terminals that reply with a version smaller than 95 26761 as not an xterm. (James McCoy) 26762Files: src/term.c 26763 26764Patch 8.1.0130 26765Problem: ":profdel func" does not work if func was called already. 26766 (Dominique Pelle) 26767Solution: Reset uf_profiling and add a flag to indicate initialization was 26768 done. 26769Files: src/structs.h, src/userfunc.c 26770 26771Patch 8.1.0131 26772Problem: :profdel is not tested. 26773Solution: Add a test. (Dominique Pelle, closes #3123) 26774Files: src/testdir/test_profile.vim 26775 26776Patch 8.1.0132 26777Problem: Lua tests are old style. 26778Solution: Convert to new style tests. Improve coverage. (Dominique Pelle, 26779 closes #3091) 26780Files: src/Makefile, src/testdir/Make_all.mak, 26781 src/testdir/Make_amiga.mak, src/testdir/Make_vms.mms, 26782 src/testdir/test85.in, src/testdir/test_lua.vim 26783 26784Patch 8.1.0133 26785Problem: tagfiles() can have duplicate entries. 26786Solution: Simplify the filename to make checking for duplicates work better. 26787 Add a test. (Dominique Pelle, closes #2979) 26788Files: src/tag.c, src/testdir/test_taglist.vim 26789 26790Patch 8.1.0134 26791Problem: Lua interface does not support funcref. 26792Solution: Add funcref support. (Luis Carvalho) 26793Files: src/if_lua.c, src/testdir/test_lua.vim 26794 26795Patch 8.1.0135 26796Problem: Undo message delays screen update for CTRL-O u. 26797Solution: Add smsg_attr_keep(). (closes #3125) 26798Files: src/message.c, src/proto.h, src/undo.c 26799 26800Patch 8.1.0136 26801Problem: Lua tests don't cover new features. 26802Solution: Add more tests. (Dominique Pelle, closes #3130) 26803Files: runtime/doc/if_lua.txt, src/testdir/test_lua.vim 26804 26805Patch 8.1.0137 26806Problem: CI does not run with TCL. 26807Solution: Add TCL to the travis config. (Dominique Pelle, closes #3133) 26808Files: .travis.yml 26809 26810Patch 8.1.0138 26811Problem: Negative value of 'softtabstop' not used correctly. 26812Solution: Use get_sts_value(). (Tom Ryder) 26813Files: src/edit.c, src/option.c, src/Makefile, src/testdir/test_tab.vim 26814 26815Patch 8.1.0139 26816Problem: Lua tests fail on some platforms. 26817Solution: Accept a hex number with and without "0x". (Ken Takata, 26818 closes #3137) 26819Files: src/testdir/test_lua.vim 26820 26821Patch 8.1.0140 26822Problem: Recording into a register has focus events. (Michael Naumann) 26823Solution: Don't record K_FOCUSGAINED and K_FOCUSLOST. (closes #3143) 26824Files: src/getchar.c 26825 26826Patch 8.1.0141 26827Problem: :cexpr no longer jumps to the first error. 26828Solution: Use the quickfix list identifier. (Yegappan Lakshmanan, 26829 closes #3092) 26830Files: src/quickfix.c, src/testdir/test_quickfix.vim 26831 26832Patch 8.1.0142 26833Problem: Xterm and vt320 builtin termcap missing keypad keys. 26834Solution: Add the escape sequences. (Kouichi Iwamoto, closes #2973) 26835Files: src/term.c 26836 26837Patch 8.1.0143 26838Problem: Matchit and matchparen don't handle E363. 26839Solution: Catch the E363 error. (Christian Brabandt) 26840Files: runtime/pack/dist/opt/matchit/plugin/matchit.vim, 26841 runtime/plugin/matchparen.vim 26842 26843Patch 8.1.0144 26844Problem: The :cd command does not have good test coverage. 26845Solution: Add more tests. (Dominique Pelle, closes #2972) 26846Files: src/testdir/test_cd.vim 26847 26848Patch 8.1.0145 26849Problem: Test with grep is failing on MS-Windows. 26850Solution: Skip the test. 26851Files: src/testdir/test_quickfix.vim 26852 26853Patch 8.1.0146 26854Problem: When $LANG is set the compiler test may fail. 26855Solution: Unset $LANG. 26856Files: src/testdir/test_compiler.vim 26857 26858Patch 8.1.0147 26859Problem: Compiler warning when building with Python 3.7. 26860Solution: #undef PySlice_GetIndicesEx before redefining it. (Ozaki Kiichi, 26861 closes #3153) 26862Files: src/if_python3.c 26863 26864Patch 8.1.0148 26865Problem: Memory leak when using :tcl expr command. 26866Solution: Free the result of expression evaluation. (Dominique Pelle, 26867 closes #3150) 26868Files: src/if_tcl.c 26869 26870Patch 8.1.0149 26871Problem: The generated sessions file does not restore tabs properly if :lcd 26872 was used in one of them. 26873Solution: Create the tab pages before setting the directory. (Yee Cheng 26874 Chin, closes #3152) 26875Files: src/ex_docmd.c, src/testdir/test_mksession.vim 26876 26877Patch 8.1.0150 26878Problem: Insufficient test coverage for Tcl. 26879Solution: Add more tests. (Dominique Pelle, closes #3140) 26880Files: src/testdir/test_tcl.vim 26881 26882Patch 8.1.0151 26883Problem: Mksession test fails on MS-Windows. 26884Solution: Always use an argument for :lcd. 26885Files: src/testdir/test_mksession.vim 26886 26887Patch 8.1.0152 26888Problem: Cannot easily run individual tests on MS-Windows. 26889Solution: Move the list of tests to a separate file. Add a build rule in 26890 the MSVC makefile. 26891Files: Filelist, src/Makefile, src/Make_all.mak, src/Make_mvc.mak 26892 26893Patch 8.1.0153 (after 8.1.0152) 26894Problem: Build with SHADOWDIR fails. (Elimar Riesebieter) 26895Solution: Create a link for Make_all.mak. (Tony Mechelynck) 26896Files: src/Makefile 26897 26898Patch 8.1.0154 26899Problem: Crash with "set smarttab shiftwidth=0 softtabstop=-1". 26900Solution: Fall back to using 'tabstop'. (closes #3155) 26901Files: src/edit.c, src/testdir/test_tab.vim 26902 26903Patch 8.1.0155 26904Problem: Evim.man missing from the distribution. 26905Solution: Add it to the list. 26906Files: Filelist 26907 26908Patch 8.1.0156 26909Problem: MS-Windows compiler warning. 26910Solution: Add a type cast. (Mike Williams) 26911Files: src/version.c 26912 26913Patch 8.1.0157 26914Problem: Old iTerm2 is not recognized, resulting in stray output. 26915Solution: Recognize the termresponse. 26916Files: src/term.c 26917 26918Patch 8.1.0158 26919Problem: GUI: input() fails if CTRL-C was pressed before. (Michael Naumann) 26920Solution: call vpeekc() to drop the CTRL-C from the input stream. 26921Files: src/ex_docmd.c 26922 26923Patch 8.1.0159 26924Problem: Completion for user names does not work if a prefix is also a full 26925 matching name. (Nazri Ramliy) 26926Solution: Accept both full and partial matches. (Dominique Pelle) 26927Files: src/misc1.c, src/ex_docmd.c 26928 26929Patch 8.1.0160 26930Problem: No Danish manual translations. 26931Solution: Add the Danish manual translations to the file list. 26932Files: Filelist 26933 26934Patch 8.1.0161 26935Problem: Buffer not updated with 'autoread' set if file was deleted. 26936 (Michael Naumann) 26937Solution: Don't set the timestamp to zero. (closes #3165) 26938Files: src/fileio.c, src/testdir/test_stat.vim 26939 26940Patch 8.1.0162 26941Problem: Danish and German man pages are not installed. (Tony Mechelynck) 26942Solution: Adjust the makefile 26943Files: src/Makefile 26944 26945Patch 8.1.0163 26946Problem: Insufficient testing for Tcl. 26947Solution: Add a few more tests. (Dominique Pelle, closes #3166) 26948Files: src/testdir/test_tcl.vim 26949 26950Patch 8.1.0164 26951Problem: luaeval('vim.buffer().name') returns an error. 26952Solution: Return an empty string. (Dominique Pelle, closes #3167) 26953Files: src/if_lua.c, src/testdir/test_lua.vim 26954 26955Patch 8.1.0165 26956Problem: :clist output can be very long. 26957Solution: Support filtering :clist entries. (Yegappan Lakshmanan) 26958Files: src/quickfix.c, src/testdir/test_quickfix.vim 26959 26960Patch 8.1.0166 26961Problem: Using dict_add_nr_str() is clumsy. 26962Solution: Split into two functions. (Ozaki Kiichi, closes #3154) 26963Files: src/channel.c, src/dict.c, src/edit.c, src/evalfunc.c, 26964 src/ex_cmds2.c, src/ops.c, src/option.c, src/proto/dict.pro, 26965 src/quickfix.c, src/tag.c, src/terminal.c, src/undo.c 26966 26967Patch 8.1.0167 26968Problem: Lock flag in new dictitem is reset in many places. 26969Solution: Always reset the lock flag. 26970Files: src/dict.c, src/channel.c, src/ex_cmds2.c, src/userfunc.c, 26971 src/if_perl.xs, src/if_py_both.h 26972 26973Patch 8.1.0168 26974Problem: Output of :marks is too short with multi-byte chars. (Tony 26975 Mechelynck) 26976Solution: Get more bytes from the text line. 26977Files: src/mark.c, src/testdir/test_marks.vim 26978 26979Patch 8.1.0169 (after 8.1.0165) 26980Problem: Calling message_filtered() a bit too often. 26981Solution: Only call message_filtered() when filtering is already false. 26982Files: src/quickfix.c, runtime/doc/quickfix.txt 26983 26984Patch 8.1.0170 26985Problem: Invalid memory use with complicated pattern. (Andy Massimino) 26986Solution: Reallocate the list of listids when needed. (closes #3175) 26987 Remove unnecessary function prototypes. 26988Files: src/regexp_nfa.c 26989 26990Patch 8.1.0171 26991Problem: Typing CTRL-W n in a terminal window causes ml_get error. 26992Solution: When resizing the terminal outside of terminal_loop() make sure 26993 the snapshot is complete. 26994Files: src/terminal.c, src/testdir/test_terminal.vim 26995 26996Patch 8.1.0172 26997Problem: 'viminfofile' option does not behave like a file name. 26998Solution: Add the P_EXPAND flag. (closes #3178) 26999Files: src/option.c 27000 27001Patch 8.1.0173 27002Problem: Compiler warning on MS-Windows. 27003Solution: Add type cast. (Mike Williams) 27004Files: src/libvterm/src/state.c 27005 27006Patch 8.1.0174 27007Problem: After paging up and down fold line is wrong. 27008Solution: Correct the computation of w_topline and w_botline. (Hirohito 27009 Higashi) 27010Files: src/move.c, src/testdir/test_fold.vim 27011 27012Patch 8.1.0175 27013Problem: Marks test fails in very wide window. (Vladimir Lomov) 27014Solution: Extend the text to match 'columns'. (closes #3180, closes #3181) 27015Files: src/testdir/test_marks.vim 27016 27017Patch 8.1.0176 27018Problem: Overlapping string argument for strcpy(). (Coverity) 27019Solution: Use STRMOVE() instead of STRCPY(). (Dominique Pelle, closes #3187) 27020Files: src/term.c 27021 27022Patch 8.1.0177 27023Problem: Defining function in sandbox is inconsistent, cannot use :function 27024 but can define a lambda. 27025Solution: Allow defining a function in the sandbox, but also use the sandbox 27026 when executing it. (closes #3182) 27027Files: src/userfunc.c, src/ex_cmds.h 27028 27029Patch 8.1.0178 27030Problem: Warning for passing pointer to non-pointer argument. 27031Solution: Use zero instead of NULL. 27032Files: src/if_ole.cpp 27033 27034Patch 8.1.0179 27035Problem: Redundant condition for boundary check. 27036Solution: Remove the condition. (Dominique Pelle). Change FALSE to FAIL. 27037Files: src/undo.c 27038 27039Patch 8.1.0180 27040Problem: Static analysis errors in Lua interface. (Coverity) 27041Solution: Check for NULL pointers. 27042Files: src/if_lua.c 27043 27044Patch 8.1.0181 27045Problem: Memory leak with trailing characters in skip expression. 27046Solution: Free the return value. 27047Files: src/eval.c, src/testdir/test_search.vim 27048 27049Patch 8.1.0182 27050Problem: Unicode standard was updated. 27051Solution: Include the changes. (Christian Brabandt) 27052Files: src/mbyte.c 27053 27054Patch 8.1.0183 27055Problem: Lua API changed, breaking the build. 27056Solution: Adjust prototype of lua_rawgeti(). (Ken Takata, 27057 closes #3157, closes #3144) 27058Files: src/if_lua.c 27059 27060Patch 8.1.0184 27061Problem: Not easy to figure out the window layout. 27062Solution: Add "wincol" and "winrow" to what getwininfo() returns. 27063Files: src/evalfunc.c, src/testdir/test_bufwintabinfo.vim, 27064 runtime/doc/eval.txt 27065 27066Patch 8.1.0185 27067Problem: Running tests writes lua.vim even though it is not used. 27068Solution: Stop writing lua.vim. 27069Files: src/testdir/test1.in, src/testdir/Make_dos.mak, 27070 src/testdir/Make_ming.mak, src/testdir/Make_vms.mms, 27071 src/testdir/Makefile 27072 27073Patch 8.1.0186 27074Problem: Test for getwininfo() fails in GUI. 27075Solution: Account for missing tabline. 27076Files: src/testdir/test_bufwintabinfo.vim 27077 27078Patch 8.1.0187 (after 8.1.0184) 27079Problem: getwininfo() and win_screenpos() return different numbers. 27080Solution: Add one to "wincol" and "winrow" from getwininfo(). 27081Files: src/evalfunc.c, src/testdir/test_bufwintabinfo.vim, 27082 runtime/doc/eval.txt 27083 27084Patch 8.1.0188 27085Problem: No test for ":cscope add". 27086Solution: Add a test. (Dominique Pelle, closes #3212) 27087Files: src/testdir/test_cscope.vim 27088 27089Patch 8.1.0189 27090Problem: Function defined in sandbox not tested. 27091Solution: Add a text. 27092Files: src/testdir/test_functions.vim 27093 27094Patch 8.1.0190 27095Problem: Perl refcounts are wrong. 27096Solution: Improve refcounting. Add a test. (Damien) 27097Files: src/if_perl.xs, src/testdir/test_perl.vim 27098 27099Patch 8.1.0191 (after 8.1.0190) 27100Problem: Perl test fails in 24 line terminal. 27101Solution: Create fewer windows. 27102Files: src/testdir/test_perl.vim 27103 27104Patch 8.1.0192 27105Problem: Executing regexp recursively fails with a crash. 27106Solution: Move global variables into "rex". 27107Files: src/regexp.c, src/regexp.h, src/regexp_nfa.c 27108 27109Patch 8.1.0193 27110Problem: Terminal debugger buttons don't always work. (Dominique Pelle) 27111Solution: Set 'cpo' to its default value. 27112Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim 27113 27114Patch 8.1.0194 27115Problem: Possibly use of NULL pointer. (Coverity) 27116Solution: Reset the re_in_use flag earlier. 27117Files: src/regexp.c 27118 27119Patch 8.1.0195 27120Problem: Terminal debugger commands don't always work. (Dominique Pelle) 27121Solution: Set 'cpo' to its default value when defining commands. (Christian 27122 Brabandt) 27123Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim 27124 27125Patch 8.1.0196 27126Problem: Terminal debugger error with .gdbinit file. 27127Solution: Check two lines for the "new ui" response. (hint from Hirohito 27128 Higashi) 27129Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim 27130 27131Patch 8.1.0197 27132Problem: Windows GUI: title for search/replace is wrong. 27133Solution: Remove remark about doubling backslash. (closes #3230) 27134Files: src/gui_win32.c 27135 27136Patch 8.1.0198 27137Problem: There is no hint that syntax is disabled for 'redrawtime'. 27138Solution: Add a message. 27139Files: src/syntax.c 27140 27141Patch 8.1.0199 27142Problem: spellbadword() does not check for caps error. (Dominique Pelle) 27143Solution: Adjust capcol when advancing. 27144Files: src/userfunc.c 27145 27146Patch 8.1.0200 27147Problem: spellbadword() not tested. 27148Solution: Add a test. (Dominique Pelle, closes #3235) 27149Files: src/testdir/test_spell.vim 27150 27151Patch 8.1.0201 27152Problem: Newer Python uses "importlib" instead of "imp". 27153Solution: Use "importlib" for newer Python versions. (Ozaki Kiichi, 27154 closes #3163) 27155Files: src/if_py_both.h, src/testdir/test87.in 27156 27157Patch 8.1.0202 27158Problem: :version always shows +packages. (Takuya Fujiwara) 27159Solution: Add #ifdef (closes #3198) Also for has(). 27160Files: src/version.c, src/evalfunc.c 27161 27162Patch 8.1.0203 27163Problem: Building with Perl 5.28 fails on Windows. 27164Solution: Define Perl_mg_get. (closes #3196) 27165Files: src/if_perl.xs 27166 27167Patch 8.1.0204 27168Problem: inputlist() is not tested. 27169Solution: Add a test. (Dominique Pelle, closes #3240) 27170Files: src/testdir/test_functions.vim 27171 27172Patch 8.1.0205 27173Problem: Invalid memory access with invalid modeline. 27174Solution: Pass pointer limit. Add a test. (closes #3241) 27175Files: src/Make_all.mak, src/testdir/test_alot.vim, 27176 src/testdir/test_modeline.vim, src/option.c 27177 27178Patch 8.1.0206 (after 8.1.0205) 27179Problem: Duplicate test function name. 27180Solution: Rename both functions. 27181Files: src/testdir/test_modeline.vim, src/testdir/test_glob2regpat.vim 27182 27183Patch 8.1.0207 27184Problem: Need many menu translation files to cover regions. 27185Solution: When there is no region match, try without. (Christian Brabandt) 27186Files: runtime/menu.vim 27187 27188Patch 8.1.0208 (after 8.1.0205) 27189Problem: File left behind after running individual test. 27190Solution: Delete the file. 27191Files: src/testdir/test_modeline.vim 27192 27193Patch 8.1.0209 27194Problem: Stderr output from Ruby messes up display. 27195Solution: Turn the stderr output into a Vim message. (Masataka Pocke 27196 Kuwabara, closes #3238) 27197Files: src/if_ruby.c 27198 27199Patch 8.1.0210 27200Problem: Still a few K&R function declarations. 27201Solution: Use ANSI function declarations (Hirohito Higashi) 27202Files: src/eval.c, src/evalfunc.c, src/list.c 27203 27204Patch 8.1.0211 27205Problem: Expanding a file name "~" results in $HOME. (Aidan Shafran) 27206Solution: Change "~" to "./~" before expanding. (closes #3072) 27207Files: src/testdir/test_expand.vim, src/ex_docmd.c, src/eval.c, 27208 src/proto/eval.pro, src/evalfunc.c, src/if_cscope.c, src/misc1.c 27209 27210Patch 8.1.0212 27211Problem: Preferred cursor column not set in interfaces. 27212Solution: Set w_set_curswant when setting the cursor. (David Hotham, 27213 closes #3060) 27214Files: src/if_lua.c, src/if_mzsch.c, src/if_perl.xs, src/if_py_both.h, 27215 src/if_ruby.c, src/if_tcl.c, src/testdir/test_lua.vim, 27216 src/testdir/test_perl.vim, src/testdir/test_python2.vim, 27217 src/testdir/test_python3.vim, src/testdir/test_ruby.vim, 27218 src/testdir/test_tcl.vim 27219 27220Patch 8.1.0213 27221Problem: CTRL-W CR does not work properly in a quickfix window. 27222Solution: Split the window if needed. (Jason Franklin) 27223Files: src/normal.c, src/proto/quickfix.pro, src/quickfix.c, 27224 src/testdir/test_quickfix.vim, src/window.c 27225 27226Patch 8.1.0214 27227Problem: +autochdir feature not reported by has() or :version. 27228Solution: Add the feature in the list. 27229Files: src/evalfunc.c, src/version.c 27230 27231Patch 8.1.0215 27232Problem: No error if configure --with-x cannot configure X. 27233Solution: Check that when --with-x is used X can be configured. 27234Files: src/configure.ac, src/auto/configure 27235 27236Patch 8.1.0216 27237Problem: Part of file not indented properly. 27238Solution: Adjust the indent. (Ken Takata) 27239Files: src/getchar.c 27240 27241Patch 8.1.0217 27242Problem: Compiler warning for variable set but not used. 27243Solution: Move tilde_file inside #ifdef. (Hirohito Higashi, closes #3255) 27244Files: src/ex_docmd.c 27245 27246Patch 8.1.0218 27247Problem: Cannot add matches to another window. (Qiming Zhao) 27248Solution: Add the "window" argument to matchadd() and matchaddpos(). 27249 (closes #3260) 27250Files: src/evalfunc.c, runtime/doc/eval.txt, src/testdir/test_match.vim 27251 27252Patch 8.1.0219 27253Problem: Expanding ## fails to escape backtick. 27254Solution: Escape a backtick in a file name. (closes #3257) 27255Files: src/ex_docmd.c, src/testdir/test_edit.vim 27256 27257Patch 8.1.0220 27258Problem: Ruby converts v:true and v:false to a number. 27259Solution: Use Qtrue and Qfalse instead. (Masataka Pocke Kuwabara, 27260 closes #3259) 27261Files: src/if_ruby.c, src/testdir/test_ruby.vim 27262 27263Patch 8.1.0221 27264Problem: Not enough testing for the Ruby interface. 27265Solution: Add more tests. (Dominique Pelle, closes #3252) 27266Files: runtime/doc/if_ruby.txt, src/testdir/test_ruby.vim 27267 27268Patch 8.1.0222 27269Problem: Errors are reported for "make install". 27270Solution: Skip missing language files. (Christian Brabandt, closes #3254) 27271Files: src/installman.sh 27272 27273Patch 8.1.0223 27274Problem: Completing shell command finds sub-directories in $PATH. 27275Solution: Remove EW_DIR when completing an item in $PATH. (Jason Franklin) 27276Files: src/ex_getln.c, src/testdir/test_cmdline.vim 27277 27278Patch 8.1.0224 27279Problem: Hang in bracketed paste mode when t_PE not encountered. 27280Solution: Break out of the loop when got_int is set. (suggested by Christian 27281 Brabandt, closes #3146) 27282Files: src/edit.c 27283 27284Patch 8.1.0225 27285Problem: Mode() does not indicate using CTRL-O from Insert mode. 27286Solution: Add "niI", "niR" and "niV" to mode() result. (closes #3000) 27287Files: runtime/doc/eval.txt, src/evalfunc.c, 27288 src/testdir/test_functions.vim 27289 27290Patch 8.1.0226 27291Problem: Too many #ifdefs. 27292Solution: Graduate the +vreplace feature, it's not much code and quite a few 27293 #ifdefs. 27294Files: runtime/doc/change.txt, runtime/doc/various.txt, src/edit.c, 27295 src/evalfunc.c, src/gui.c, src/misc1.c, src/misc2.c, src/normal.c, 27296 src/ops.c, src/screen.c, src/version.c, src/feature.h, 27297 src/globals.h, src/macros.h, src/vim.h 27298 27299Patch 8.1.0227 27300Problem: Spaces instead of tabs in makefile. 27301Solution: Use tabs and fix sorting. (Ken Takata) 27302Files: src/po/Make_all.mak 27303 27304Patch 8.1.0228 27305Problem: Dropping files is ignored while Vim is busy. 27306Solution: Postpone the effect of dropping files until it's safe. 27307Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/gui.c, src/gui.h, 27308 src/screen.c, src/main.c, src/gui_mac.c 27309 27310Patch 8.1.0229 27311Problem: Crash when dumping profiling data. 27312Solution: Reset flag indicating that initialization was done. 27313Files: src/userfunc.c 27314 27315Patch 8.1.0230 27316Problem: Directly checking 'buftype' value. 27317Solution: Add the bt_normal() function. (Yegappan Lakshmanan) 27318Files: src/buffer.c, src/ex_docmd.c, src/fileio.c, src/proto/buffer.pro, 27319 src/quickfix.c 27320 27321Patch 8.1.0231 27322Problem: :help -? goes to help for -+. 27323Solution: Add -? to list of special cases. (Hirohito Higashi) 27324Files: src/ex_cmds.c, src/testdir/test_help_tagjump.vim 27325 27326Patch 8.1.0232 27327Problem: Ruby error does not include backtrace. 27328Solution: Add an error backtrace. (Masataka Pocke Kuwabara, closes #3267) 27329Files: src/if_ruby.c 27330 27331Patch 8.1.0233 27332Problem: "safe" argument of call_vim_function() is always FALSE. 27333Solution: Remove the argument. 27334Files: src/eval.c, src/proto/eval.pro, src/edit.c, src/mbyte.c, 27335 src/normal.c, src/ex_getln.c 27336 27337Patch 8.1.0234 27338Problem: Incorrect reference counting in Perl interface. 27339Solution: Call SvREFCNT_inc more often, add a test. (Damien) 27340Files: src/if_perl.xs, src/testdir/test_perl.vim 27341 27342Patch 8.1.0235 (after 8.1.0231) 27343Problem: More help tags that jump to the wrong location. 27344Solution: Add more exceptions and a table for "expr-" tags. (Hirohito 27345 Higashi) 27346Files: src/ex_cmds.c, src/testdir/test_help_tagjump.vim 27347 27348Patch 8.1.0236 (after 8.1.0232) 27349Problem: Ruby build fails when ruby_intern is missing. 27350Solution: Do not use ruby_intern2. (Ken Takata) 27351Files: src/if_ruby.c 27352 27353Patch 8.1.0237 27354Problem: Ruby on Cygwin doesn't always work. 27355Solution: Use LIBRUBY_SO if LIBRUBY_ALIASES isn't set. (Ken Takata) 27356Files: src/configure.ac, src/auto/configure 27357 27358Patch 8.1.0238 27359Problem: 'buftype' is cleared when using ":term ++hidden cat". (Marcin 27360 Szamotulski) 27361Solution: Set the "options initialized" flag earlier. (closes #3278) 27362Files: src/terminal.c, src/testdir/test_terminal.vim 27363 27364Patch 8.1.0239 (after 8.1.0236) 27365Problem: Now Ruby build fails on other systems. 27366Solution: Always define rb_intern. (Ken Takata, closes #3275) 27367Files: src/if_ruby.c 27368 27369Patch 8.1.0240 27370Problem: g:actual_curbuf set in wrong scope. (Daniel Hahler) 27371Solution: Prepend the "g:" name space. (closes #3279) 27372Files: src/buffer.c 27373 27374Patch 8.1.0241 27375Problem: Effect of ":tabmove N" is not clear. 27376Solution: Add a test that shows the behavior. (Christian Brabandt, 27377 closes #3288) 27378Files: src/testdir/test_tabpage.vim 27379 27380Patch 8.1.0242 27381Problem: Insert mode completion may use an invalid buffer pointer. (Akib 27382 Nizam) 27383Solution: Check for ins_buf to be valid. (closes #3290) 27384Files: src/edit.c 27385 27386Patch 8.1.0243 27387Problem: Using :term ++close ++hidden closes a window. (Marcin Szamotulski) 27388Solution: Don't close the window if only using it temporarily for unloading 27389 the terminal buffer. (closes #3287) 27390Files: src/terminal.c, src/testdir/test_terminal.vim 27391 27392Patch 8.1.0244 27393Problem: No redraw when using a STOP signal on Vim and then a CONT signal. 27394Solution: Catch the CONT signal and force a redraw. (closes #3285) 27395Files: src/os_unix.c, src/term.c, src/proto/term.pro 27396 27397Patch 8.1.0245 27398Problem: Calling setline() in TextChangedI autocmd breaks undo. (Jason 27399 Felice) 27400Solution: Don't save lines for undo when already saved. (closes #3291) 27401Files: src/edit.c, src/testdir/test_autocmd.vim 27402 27403Patch 8.1.0246 (after 8.1.0245) 27404Problem: Build failure without the +eval feature. 27405Solution: Add #ifdef 27406Files: src/edit.c 27407 27408Patch 8.1.0247 27409Problem: Python: error message for failing import is incorrect. 27410Solution: Adjust how modules are loaded. (Ozaki Kiichi, closes #3162) 27411Files: src/if_py_both.h, src/testdir/test86.ok, src/testdir/test87.ok 27412 27413Patch 8.1.0248 27414Problem: duplicated quickfix code. 27415Solution: Move the code to a function. 27416Files: src/quickfix.c 27417 27418Patch 8.1.0249 27419Problem: GTK: when screen DPI changes Vim does not handle it. 27420Solution: Handle the gtk-xft-dpi signal. (Roel van de Kraats, 27421 closes #2357) 27422Files: src/gui_gtk_x11.c 27423 27424Patch 8.1.0250 27425Problem: MS-Windows using VTP: windows size change incorrect. 27426Solution: Call SetConsoleScreenBufferSize() first. (Nobuhiro Takasaki, 27427 closes #3164) 27428Files: src/os_win32.c 27429 27430Patch 8.1.0251 27431Problem: Using a full path is supported for 'directory' but not for 27432 'backupdir'. (Mikolaj Machowski) 27433Solution: Support 'backupdir' as well. (Christian Brabandt, closes #179) 27434Files: runtime/doc/options.txt, src/fileio.c, src/memline.c, 27435 src/proto/memline.pro, src/testdir/test_alot.vim, 27436 src/testdir/test_backup.vim, src/Make_all.mak 27437 27438Patch 8.1.0252 27439Problem: Quickfix functions are too long. 27440Solution: Refactor. (Yegappan Lakshmanan, closes #2950) 27441Files: src/quickfix.c 27442 27443Patch 8.1.0253 27444Problem: Saving and restoring window title does not always work. 27445Solution: Use the stack push and pop commands. (Kouichi Iwamoto, 27446 closes #3059) 27447Files: runtime/doc/term.txt, src/main.c, src/option.c, src/os_unix.c, 27448 src/proto/term.pro, src/term.c, src/term.h, src/vim.h, 27449 src/buffer.c, src/ex_docmd.c, src/option.c, src/os_amiga.c, 27450 src/os_mswin.c, src/os_win32.c 27451 27452Patch 8.1.0254 (after 8.1.0253) 27453Problem: Cannot build on MS-Windows; Unused macro HAVE_HANDLE_DROP. 27454Solution: Adjust #ifdef. Delete the macro. 27455Files: src/main.c, src/vim.h 27456 27457Patch 8.1.0255 (after 8.1.0251) 27458Problem: Backup test fails when using shadow directory. 27459Solution: Remove check for "src". 27460Files: src/testdir/test_backup.vim 27461 27462Patch 8.1.0256 (after 8.1.0245) 27463Problem: Using setline() in TextChangedI splits undo. 27464Solution: Use another solution for undo not working properly. 27465Files: src/edit.c, src/testdir/test_autocmd.vim 27466 27467Patch 8.1.0257 27468Problem: No test for pathshorten(). 27469Solution: Add a test. (Dominique Pelle, closes #3295) 27470Files: src/testdir/test_functions.vim 27471 27472Patch 8.1.0258 27473Problem: Not enough testing for the CompleteDone event. 27474Solution: Add a test. (closes #3297) 27475Files: src/testdir/test_ins_complete.vim 27476 27477Patch 8.1.0259 27478Problem: No test for fixed quickfix issue. 27479Solution: Add a test. Clean up the code a bit. (Yegappan Lakshmanan) 27480Files: src/quickfix.c, src/testdir/test_quickfix.vim 27481 27482Patch 8.1.0260 27483Problem: No LGTM logo in README file. 27484Solution: Add one. (Bas van Schaik, closes #3305) 27485Files: README.md 27486 27487Patch 8.1.0261 27488Problem: Coverity complains about a negative array index. 27489Solution: When qf_id2nr() cannot find the list then don't set qf_curlist. 27490Files: src/quickfix.c 27491 27492Patch 8.1.0262 27493Problem: Not enough testing for getftype(). 27494Solution: Add a test. (Dominique Pelle, closes #3300) 27495Files: src/evalfunc.c, src/testdir/test_stat.vim 27496 27497Patch 8.1.0263 27498Problem: Channel log doesn't show part of channel. 27499Solution: Add "sock", "out", "err" or "in". (Ozaki Kiichi, closes #3303) 27500Files: src/channel.c 27501 27502Patch 8.1.0264 27503Problem: Backup tests fail when CWD is in /tmp. 27504Solution: Make 'backupskip' empty. (Christian Brabandt, closes #3301) 27505Files: src/testdir/test_backup.vim 27506 27507Patch 8.1.0265 27508Problem: The getcmdline() function is way too big. 27509Solution: Factor out the incremental search highlighting. 27510Files: src/ex_getln.c 27511 27512Patch 8.1.0266 27513Problem: Parsing Ex address range is not a separate function. 27514Solution: Refactor do_one_cmd() to separate address parsing. 27515Files: src/ex_docmd.c, src/proto/ex_docmd.pro 27516 27517Patch 8.1.0267 27518Problem: No good check if restoring quickfix list worked. 27519Solution: Let qf_restore_list() return OK/FAIL. (Yegappan Lakshmanan) 27520Files: src/quickfix.c 27521 27522Patch 8.1.0268 27523Problem: File type checking has too many #ifdef. 27524Solution: Always define the S_IF macros. (Ken Takata, closes #3306) 27525Files: src/buffer.c, src/evalfunc.c, src/fileio.c, src/if_cscope.c, 27526 src/os_unix.c, src/os_unix.h, src/vim.h 27527 27528Patch 8.1.0269 27529Problem: Ruby Kernel.#p method always returns nil. 27530Solution: Copy p method implementation from Ruby code. (Masataka Pocke 27531 Kuwabara, closes #3315) 27532Files: src/if_ruby.c, src/testdir/test_ruby.vim 27533 27534Patch 8.1.0270 27535Problem: Checking for a Tab in a line could be faster. 27536Solution: Use strchr() instead of strrchr(). (closes #3312) 27537Files: src/ex_cmds.c 27538 27539Patch 8.1.0271 27540Problem: 'incsearch' doesn't work for :s, :g or :v. 27541Solution: Also use 'incsearch' for other commands that use a pattern. 27542Files: src/ex_getln.c, src/globals.h, src/screen.c, 27543 src/testdir/test_search.vim 27544 27545Patch 8.1.0272 27546Problem: Options test fails if temp var ends in slash. (Tom Briden) 27547Solution: Check for optional slash. (closes #3308) 27548Files: src/testdir/test_options.vim 27549 27550Patch 8.1.0273 27551Problem: Invalid memory access when using 'incsearch'. 27552Solution: Reset "patlen" when using previous search pattern. 27553Files: src/ex_getln.c 27554 27555Patch 8.1.0274 27556Problem: 'incsearch' triggers on ":source". 27557Solution: Check for the whole command name. 27558Files: src/ex_getln.c, src/testdir/test_search.vim 27559 27560Patch 8.1.0275 27561Problem: 'incsearch' with :s doesn't start at cursor line. 27562Solution: Set cursor before parsing address. (closes #3318) 27563 Also accept a match at the start of the first line. 27564Files: src/ex_getln.c, src/testdir/test_search.vim 27565 27566Patch 8.1.0276 27567Problem: No test for 'incsearch' highlighting with :s. 27568Solution: Add a screendump test. 27569Files: src/testdir/test_search.vim, 27570 src/testdir/dumps/Test_incsearch_substitute_01.dump 27571 27572Patch 8.1.0277 27573Problem: 'incsearch' highlighting wrong in a few cases. 27574Solution: Fix using last search pattern. Restore highlighting when changing 27575 command. (issue #3321) 27576Files: src/ex_getln.c, src/testdir/test_search.vim, 27577 src/testdir/dumps/Test_incsearch_substitute_02.dump, 27578 src/testdir/dumps/Test_incsearch_substitute_03.dump 27579 27580Patch 8.1.0278 27581Problem: 'incsearch' highlighting does not accept reverse range. 27582Solution: Swap the range when needed. (issue #3321) 27583Files: src/ex_getln.c, src/testdir/test_search.vim, 27584 src/testdir/dumps/Test_incsearch_substitute_04.dump 27585 27586Patch 8.1.0279 27587Problem: 'incsearch' highlighting does not skip white space. 27588Solution: Skip white space after the command. (issue #3321) 27589Files: src/ex_getln.c, src/testdir/test_search.vim, 27590 src/testdir/dumps/Test_incsearch_substitute_05.dump 27591 27592Patch 8.1.0280 27593Problem: 'incsearch' highlighting does not work for ":g!/". 27594Solution: Skip the exclamation mark. (Hirohito Higashi) 27595Files: src/ex_getln.c, src/testdir/test_search.vim 27596 27597Patch 8.1.0281 27598Problem: Parsing command modifiers is not separated. 27599Solution: Move command modifier parsing to a separate function. 27600Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/ex_cmds.h, 27601 src/globals.h, src/feature.h 27602 27603Patch 8.1.0282 27604Problem: 'incsearch' does not work with command modifiers. 27605Solution: Skip command modifiers. 27606Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/ex_getln.c, 27607 src/testdir/test_search.vim 27608 27609Patch 8.1.0283 (after 8.1.0282) 27610Problem: Missing test dump. 27611Solution: Add the dump file 27612Files: src/testdir/dumps/Test_incsearch_substitute_06.dump 27613 27614Patch 8.1.0284 27615Problem: 'cursorline' highlighting wrong with 'incsearch'. 27616Solution: Move the cursor back if the match is outside the range. 27617Files: src/ex_getln.c, src/testdir/test_search.vim, 27618 src/testdir/dumps/Test_incsearch_substitute_07.dump 27619 src/testdir/dumps/Test_incsearch_substitute_08.dump 27620 27621Patch 8.1.0285 27622Problem: Compiler warning for conversion. 27623Solution: Add a type cast. (Mike Williams) 27624Files: src/ex_getln.c 27625 27626Patch 8.1.0286 27627Problem: 'incsearch' does not apply to :smagic and :snomagic. 27628Solution: Add support. (Hirohito Higashi) 27629Files: src/ex_getln.c, src/testdir/test_search.vim 27630 27631Patch 8.1.0287 27632Problem: MAX is not defined everywhere. 27633Solution: Define MAX where needed. 27634Files: src/ex_getln.c 27635 27636Patch 8.1.0288 27637Problem: Quickfix code uses cmdidx too often. 27638Solution: Add is_loclist_cmd(). (Yegappan Lakshmanan) 27639Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/quickfix.c 27640 27641Patch 8.1.0289 27642Problem: Cursor moves to wrong column after quickfix jump. 27643Solution: Set the curswant flag. (Andy Massimino, closes #3331) 27644Files: src/quickfix.c, src/testdir/test_quickfix.vim 27645 27646Patch 8.1.0290 27647Problem: "cit" on an empty HTML tag changes the whole tag. 27648Solution: Only adjust the area in Visual mode. (Andy Massimino, 27649 closes #3332) 27650Files: src/search.c, src/testdir/test_textobjects.vim 27651 27652Patch 8.1.0291 27653Problem: 'incsearch' highlighting not used for :sort. 27654Solution: Handle pattern in :sort command. 27655Files: src/ex_getln.c, src/testdir/test_search.vim, 27656 src/testdir/dumps/Test_incsearch_sort_01.dump 27657 27658Patch 8.1.0292 27659Problem: MS-Windows: the text "self-installing" confuses some users. 27660Solution: Remove the text from the uninstall entry. (closes #3337) 27661Files: src/dosinst.c 27662 27663Patch 8.1.0293 27664Problem: Checks for type of stack is cryptic. 27665Solution: Define IS_QF_STACK() and IS_LL_STACK(). (Yegappan Lakshmanan) 27666Files: src/quickfix.c 27667 27668Patch 8.1.0294 27669Problem: MS-Windows: sometimes uses short directory name. 27670Solution: Expand to long file name with correct caps. (Nobuhiro Takasaki, 27671 closes #3334) 27672Files: src/os_win32.c 27673 27674Patch 8.1.0295 27675Problem: No 'incsearch' highlighting for :vimgrep and similar commands. 27676Solution: Parse the :vimgrep command and similar ones to locate the search 27677 pattern. (Hirohito Higashi, closes #3344) 27678Files: src/ex_getln.c, src/testdir/test_search.vim, 27679 src/testdir/dumps/Test_incsearch_vimgrep_01.dump, 27680 src/testdir/dumps/Test_incsearch_vimgrep_02.dump, 27681 src/testdir/dumps/Test_incsearch_vimgrep_03.dump, 27682 src/testdir/dumps/Test_incsearch_vimgrep_04.dump, 27683 src/testdir/dumps/Test_incsearch_vimgrep_05.dump 27684 27685Patch 8.1.0296 27686Problem: Command parsing for 'incsearch' is a bit ugly. 27687Solution: Return when there is no pattern. Put common checks together. 27688Files: src/ex_getln.c 27689 27690Patch 8.1.0297 (after 8.1.0294) 27691Problem: MS-Windows: tests fail, Vim crashes. 27692Solution: Fix long file name handling. 27693Files: src/os_win32.c 27694 27695Patch 8.1.0298 27696Problem: Window resize test sometimes fails on Mac. 27697Solution: Add Test_popup_and_window_resize() to flaky tests. 27698Files: src/testdir/runtest.vim 27699 27700Patch 8.1.0299 (after 8.1.0298) 27701Problem: misplaced comment 27702Solution: Remove comment 27703Files: src/testdir/runtest.vim 27704 27705Patch 8.1.0300 27706Problem: The old window title might be freed twice. (Dominique Pelle) 27707Solution: Do not free "oldtitle" in a signal handler but set a flag to have 27708 it freed later. 27709Files: src/os_unix.c 27710 27711Patch 8.1.0301 27712Problem: GTK: Input method popup displayed on wrong screen. 27713Solution: Add the screen position offset. (Ken Takata, closes #3268) 27714Files: src/gui_beval.c, src/gui_gtk_x11.c, src/mbyte.c, 27715 src/proto/gui_gtk_x11.pro 27716 27717Patch 8.1.0302 27718Problem: Crash when using :suspend and "fg". 27719Solution: Undo patch 8.1.0244. 27720Files: src/os_unix.c, src/term.c, src/proto/term.pro 27721 27722Patch 8.1.0303 27723Problem: line2byte() is wrong for last line with 'noeol' and 'nofixeol'. 27724Solution: Fix off-by-one error. (Shane Harper, closes #3351) 27725Files: src/memline.c, src/testdir/test_functions.vim 27726 27727Patch 8.1.0304 27728Problem: No redraw when using a STOP signal on Vim and then a CONT signal. 27729Solution: Catch the CONT signal and set the terminal to raw mode. This is 27730 like 8.1.0244 but without the screen redraw and a fix for 27731 multi-threading suggested by Dominique Pelle. 27732Files: src/os_unix.c, src/term.c, src/proto/term.pro 27733 27734Patch 8.1.0305 27735Problem: Missing support for Lua 5.4 32 bits on Unix. 27736Solution: Define lua_newuserdatauv. (Kazunobu Kuriyama) 27737Files: src/if_lua.c 27738 27739Patch 8.1.0306 27740Problem: Plural messages are not translated properly. 27741Solution: Add more usage of NGETTEXT(). (Sergey Alyoshin) 27742Files: src/vim.h, src/buffer.c, src/ex_cmds.c, src/ex_docmd.c, 27743 src/fileio.c, src/misc1.c, src/ops.c 27744 27745Patch 8.1.0307 27746Problem: There is no good way to get the window layout. 27747Solution: Add the winlayout() function. (Yegappan Lakshmanan) 27748Files: runtime/doc/eval.txt, src/evalfunc.c, src/proto/window.pro, 27749 src/window.c, src/testdir/test_window_id.vim 27750 27751Patch 8.1.0308 27752Problem: A quick undo shows "1 seconds ago". (Tony Mechelynck) 27753Solution: Add singular/plural message. 27754Files: src/undo.c 27755 27756Patch 8.1.0309 27757Problem: Profiling does not show a count for condition lines. (Daniel 27758 Hahler) 27759Solution: Count lines when not skipping. (Ozaki Kiichi, closes #2499) 27760Files: src/ex_docmd.c, src/testdir/test_profile.vim 27761 27762Patch 8.1.0310 27763Problem: File info message not always suppressed with 'F' in 'shortmess'. 27764 (Asheq Imran) 27765Solution: Save and restore msg_silent. (Christian Brabandt, closes #3221) 27766Files: src/buffer.c, src/memline.c, src/testdir/test_options.vim 27767 27768Patch 8.1.0311 27769Problem: Filtering entries in a quickfix list is not easy. 27770Solution: Add the cfilter plugin. (Yegappan Lakshmanan) 27771Files: runtime/pack/dist/opt/cfilter/plugin/cfilter.vim, 27772 runtime/doc/quickfix.txt 27773 27774Patch 8.1.0312 27775Problem: Wrong type for flags used in signal handlers. 27776Solution: Use sig_atomic_t. (Dominique Pelle, closes #3356) 27777Files: src/globals.h, src/os_unix.c, src/os_win32.h 27778 27779Patch 8.1.0313 27780Problem: Information about a swap file is unavailable. 27781Solution: Add swapinfo(). (Enzo Ferber) 27782Files: runtime/doc/eval.txt, src/evalfunc.c, src/memline.c, 27783 src/proto/memline.pro, src/testdir/test_swap.vim 27784 27785Patch 8.1.0314 (after 8.1.0313) 27786Problem: Build failure without the +eval feature. (Brenton Horne) 27787Solution: Add #ifdef. Also add the "dirty" item. 27788Files: src/memline.c, runtime/doc/eval.txt, src/testdir/test_swap.vim 27789 27790Patch 8.1.0315 27791Problem: Helpgrep with language doesn't work properly. (Takuya Fujiwara) 27792Solution: Check for the language earlier. (Hirohito Higashi) 27793Files: src/quickfix.c, src/testdir/test_quickfix.vim 27794 27795Patch 8.1.0316 27796Problem: swapinfo() test fails on Travis. 27797Solution: Handle a long host name. (Ozaki Kiichi, closes #3361) 27798 Also make the version check flexible. (James McCoy) 27799Files: src/testdir/test_swap.vim 27800 27801Patch 8.1.0317 27802Problem: Cscope test fails when using shadow directory. 27803Solution: Resolve symlink in Vim. (James McCoy, closes #3364) 27804Files: src/testdir/test_cscope.vim 27805 27806Patch 8.1.0318 27807Problem: The getftype() test may fail for char devices if the file 27808 disappeared in between the listing and the getftype() call. 27809Solution: Ignore empty result. (Ozaki Kiichi, closes #3360) 27810Files: src/testdir/test_stat.vim 27811 27812Patch 8.1.0319 27813Problem: bzero() function prototype doesn't work for Android. 27814Solution: Add an #ifdef. (Elliott Hughes, closes #3365) 27815Files: src/osdef1.h.in 27816 27817Patch 8.1.0320 27818Problem: Too much 'incsearch' highlight for pattern matching everything. 27819Solution: Add the skiplen to the command and remove the line range. 27820 (Christian Brabandt) Check for empty pattern earlier. 27821Files: src/ex_getln.c, src/testdir/test_search.vim, 27822 src/testdir/dumps/Test_incsearch_substitute_09.dump 27823 27824Patch 8.1.0321 (after 8.1.0320) 27825Problem: 'incsearch' regression: /\v highlights everything. 27826Solution: Put back the empty_pattern() check. 27827Files: src/ex_getln.c, src/testdir/test_search.vim, 27828 src/testdir/dumps/Test_incsearch_search_01.dump, 27829 src/testdir/dumps/Test_incsearch_search_02.dump 27830 27831Patch 8.1.0322 27832Problem: Test_copy_winopt() does not restore 'hidden'. 27833Solution: Restore the option, fix indent. (Ozaki Kiichi, closes #3367) 27834Files: src/testdir/test_options.vim 27835 27836Patch 8.1.0323 27837Problem: Reverse order of VTP calls only needed the first time. 27838Solution: Add a flag to remember the state. (Nobuhiro Takasaki, closes #3366) 27839Files: src/os_win32.c 27840 27841Patch 8.1.0324 27842Problem: Off-by-one error in cmdidx check. (Coverity) 27843Solution: Use ">=" instead of ">". 27844Files: src/ex_docmd.c 27845 27846Patch 8.1.0325 27847Problem: Strings in swap file may not be NUL terminated. (Coverity) 27848Solution: Limit the length of the used string. 27849Files: src/memline.c 27850 27851Patch 8.1.0326 27852Problem: Screen dump does not consider NUL and space equal. 27853Solution: Use temp variables instead of character from cell. 27854Files: src/terminal.c, src/testdir/dumps/Test_syntax_c_01.dump 27855 27856Patch 8.1.0327 27857Problem: The "g CTRL-G" command isn't tested much. 27858Solution: Add more tests. (Dominique Pelle, closes #3369) 27859Files: src/testdir/test_normal.vim 27860 27861Patch 8.1.0328 27862Problem: inputlist() doesn't work with a timer. (Dominique Pelle) 27863Solution: Don't redraw when cmdline_row is zero. (Hirohito Higashi, 27864 closes #3239) 27865Files: src/misc1.c, src/screen.c 27866 27867Patch 8.1.0329 27868Problem: Using inputlist() during startup results in garbage. (Dominique 27869 Pelle) 27870Solution: Make sure the xterm tracing is stopped when disabling the mouse. 27871Files: src/os_unix.c 27872 27873Patch 8.1.0330 27874Problem: The qf_add_entries() function is too long. 27875Solution: Split in two parts. (Yegappan Lakshmanan) 27876Files: src/quickfix.c 27877 27878Patch 8.1.0331 27879Problem: Insufficient test coverage for :mkview and :loadview. 27880Solution: Add tests. (Dominique Pelle, closes #3385) 27881Files: src/testdir/test_mksession.vim 27882 27883Patch 8.1.0332 27884Problem: Get Gdk-Critical error on first balloon show. 27885Solution: Get screen geometry using the draw area widget. (Davit Samvelyan, 27886 closes #3386) 27887Files: src/gui_beval.c 27888 27889Patch 8.1.0333 27890Problem: :mkview does not restore cursor properly after "$". (Dominique 27891 Pelle) 27892Solution: Position the cursor with "normal! $". 27893Files: src/ex_docmd.c, src/testdir/test_mksession.vim 27894 27895Patch 8.1.0334 27896Problem: 'autowrite' takes effect when buffer is not to be written. 27897Solution: Don't write buffers that are not supposed to be written. (Even Q 27898 Jones, closes #3391) Add tests for 'autowrite'. 27899Files: src/ex_cmds2.c, src/testdir/test_writefile.vim 27900 27901Patch 8.1.0335 27902Problem: mkview test fails on CI. 27903Solution: Attempt to force recomputing curswant after folding. 27904Files: src/testdir/test_mksession.vim 27905 27906Patch 8.1.0336 27907Problem: mkview test still fails on CI. 27908Solution: Ignore curswant, don't see another solution. 27909Files: src/testdir/test_mksession.vim 27910 27911Patch 8.1.0337 27912Problem: :file fails in quickfix command. 27913Solution: Allow :file without argument when curbuf_lock is set. (Jason 27914 Franklin) 27915Files: src/ex_docmd.c, src/testdir/test_quickfix.vim 27916 27917Patch 8.1.0338 27918Problem: MS-Windows: VTP doesn't work properly with PowerShell. 27919Solution: Adjust the color index. (Nobuhiro Takasaki, closes #3347) 27920Files: src/os_win32.c 27921 27922Patch 8.1.0339 27923Problem: Wrong highlight when 'incsearch' set and cancelling :s. 27924Solution: Reset search line range. (Hirohito Higashi, Masamichi Abe) 27925Files: src/ex_getln.c, src/testdir/test_search.vim, 27926 src/testdir/dumps/Test_incsearch_substitute_10.dump 27927 27928Patch 8.1.0340 27929Problem: No test for :spellinfo. 27930Solution: Add a test. (Dominique Pelle, closes #3394) 27931Files: src/testdir/test_spell.vim 27932 27933Patch 8.1.0341 27934Problem: :argadd in empty buffer changes the buffer name. (Pavol Juhas) 27935Solution: Don't re-use the current buffer when not going to edit the file. 27936 (closes #3397) Do re-use the current buffer for :next. 27937Files: src/ex_cmds2.c, src/testdir/test_arglist.vim, 27938 src/testdir/test_command_count.vim 27939 27940Patch 8.1.0342 27941Problem: Crash when a callback deletes a window that is being used. (Ozaki 27942 Kiichi) 27943Solution: Do not unload a buffer that is being displayed while redrawing the 27944 screen. Also avoid invoking callbacks while redrawing. 27945 (closes #2107) 27946Files: src/buffer.c, src/misc2.c 27947 27948Patch 8.1.0343 27949Problem: 'shellslash' is not used for getcwd() with local directory. 27950 (Daniel Hahler) 27951Solution: Call slash_adjust() later. (closes #3399) 27952Files: src/evalfunc.c 27953 27954Patch 8.1.0344 27955Problem: 'hlsearch' highlighting has a gap after /$. 27956Solution: Remove suspicious code. (Ricky Zhou, closes #3400) 27957Files: src/screen.c, src/testdir/test_hlsearch.vim 27958 27959Patch 8.1.0345 27960Problem: Cannot get the window id associated with the location list. 27961Solution: Add the "filewinid" argument to getloclist(). (Yegappan 27962 Lakshmanan, closes #3202) 27963Files: runtime/doc/eval.txt, src/quickfix.c, 27964 src/testdir/test_quickfix.vim 27965 27966Patch 8.1.0346 27967Problem: Building with Aap is outdated and unused. 27968Solution: Remove the Aap build files. 27969Files: Filelist, src/main.aap, src/testdir/main.aap, src/config.aap.in, 27970 runtime/macros/maze/main.aap 27971 27972Patch 8.1.0347 27973Problem: Some tests fail on Solaris. 27974Solution: Skip writefile test. Fix path to libc.so. Improve test for Turkish 27975 case change. (Libor Bukata, Bjorn Linse, closes #3403) 27976Files: src/testdir/test_functions.vim, src/testdir/test_normal.vim, 27977 src/testdir/test_writefile.vim 27978 27979Patch 8.1.0348 27980Problem: On Travis the slowest build is run last. (Dominique Pelle) 27981Solution: Reorder the build entries. 27982Files: .travis.yml 27983 27984Patch 8.1.0349 27985Problem: Crash when wiping buffer in a callback. 27986Solution: Do not handle messages when only peeking for a character. 27987 (closes #2107) Add "redraw_flag" to test_override(). 27988Files: src/os_unix.c, src/os_win32.c, src/screen.c, src/evalfunc.c, 27989 src/globals.h, runtime/doc/eval.txt 27990 27991Patch 8.1.0350 27992Problem: Vim may block on ch_sendraw() when the job is sending data back to 27993 Vim, which isn't read yet. (Nate Bosch) 27994Solution: Add the "noblock" option to job_start(). (closes #2548) 27995Files: src/channel.c, src/structs.h, src/testdir/test_channel.vim, 27996 runtime/doc/channel.txt 27997 27998Patch 8.1.0351 27999Problem: 'incsearch' for :/foo/s//<Esc> changes last search pattern. 28000Solution: Save the last search pattern earlier. 28001Files: src/ex_docmd.c, src/ex_getln.c, src/testdir/test_search.vim 28002 28003Patch 8.1.0352 28004Problem: Browsing compressed tar files does not always work. 28005Solution: Use the "file" command to get the compression type. 28006Files: runtime/autoload/tar.vim 28007 28008Patch 8.1.0353 28009Problem: An "after" directory of a package is appended to 'rtp', which 28010 will be after the user's "after" directory. () 28011Solution: Insert the package "after" directory before any other "after" 28012 directory in 'rtp'. (closes #3409) 28013Files: src/ex_cmds2.c, src/testdir/test_packadd.vim 28014 28015Patch 8.1.0354 (after 8.1.0353) 28016Problem: Packadd test fails on MS-Windows. 28017Solution: Ignore difference between forward and backward slashes. 28018Files: src/testdir/test_packadd.vim 28019 28020Patch 8.1.0355 28021Problem: Incorrect adjusting the popup menu for the preview window. 28022Solution: Compute position and height properly. (Ronan Pigott) Also show at 28023 least ten items. (closes #3414) 28024Files: src/popupmnu.c 28025 28026Patch 8.1.0356 28027Problem: Using :s with 'incsearch' prevents CTRL-R CTRL-W. (Boris Staletic) 28028Solution: When past the pattern put cursor back in the start position. 28029 (closes #3413) 28030Files: src/ex_getln.c, src/testdir/test_search.vim 28031 28032Patch 8.1.0357 28033Problem: Instructions for tests are outdated. (Jason Franklin) 28034Solution: Update the text. 28035Files: src/testdir/README.txt 28036 28037Patch 8.1.0358 28038Problem: Crash when using term_dumpwrite() after the job finished. 28039Solution: Check for a finished job and give an error message. 28040Files: src/terminal.c 28041 28042Patch 8.1.0359 28043Problem: No clue what test failed when using a screendump twice. 28044Solution: Add an extra argument to VerifyScreenDump(). 28045Files: src/testdir/screendump.vim 28046 28047Patch 8.1.0360 28048Problem: Using an external diff program is slow and inflexible. 28049Solution: Include the xdiff library. (Christian Brabandt, closes #2732) 28050 Use it by default. 28051Files: Filelist, runtime/doc/diff.txt, runtime/doc/options.txt, 28052 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Makefile, src/diff.c, 28053 src/structs.h, src/testdir/dumps/Test_diff_01.dump, 28054 src/testdir/dumps/Test_diff_02.dump, 28055 src/testdir/dumps/Test_diff_03.dump, 28056 src/testdir/dumps/Test_diff_04.dump, 28057 src/testdir/dumps/Test_diff_05.dump, 28058 src/testdir/dumps/Test_diff_06.dump, 28059 src/testdir/dumps/Test_diff_07.dump, 28060 src/testdir/dumps/Test_diff_08.dump, 28061 src/testdir/dumps/Test_diff_09.dump, 28062 src/testdir/dumps/Test_diff_10.dump, 28063 src/testdir/dumps/Test_diff_11.dump, 28064 src/testdir/dumps/Test_diff_12.dump, 28065 src/testdir/dumps/Test_diff_13.dump, 28066 src/testdir/dumps/Test_diff_14.dump, 28067 src/testdir/dumps/Test_diff_15.dump, 28068 src/testdir/dumps/Test_diff_16.dump, 28069 src/testdir/test_diffmode.vim, src/xdiff/COPYING, 28070 src/xdiff/xdiff.h, src/xdiff/xdiffi.c, src/xdiff/xdiffi.h, 28071 src/xdiff/xemit.c, src/xdiff/xemit.h, src/xdiff/xhistogram.c, 28072 src/xdiff/xinclude.h, src/xdiff/xmacros.h, src/xdiff/xpatience.c, 28073 src/xdiff/xprepare.c, src/xdiff/xprepare.h, src/xdiff/xtypes.h, 28074 src/xdiff/xutils.c, src/xdiff/xutils.h, src/xdiff/README.txt 28075 28076Patch 8.1.0361 28077Problem: Remote user not used for completion. (Stucki) 28078Solution: Use $USER too. (Dominique Pelle, closes #3407) 28079Files: src/misc1.c 28080 28081Patch 8.1.0362 28082Problem: Cannot get the script line number when executing a function. 28083Solution: Store the line number besides the script ID. (Ozaki Kiichi, 28084 closes #3362) Also display the line number with ":verbose set". 28085Files: runtime/doc/cmdline.txt, runtime/doc/eval.txt, src/Make_all.mak, 28086 src/buffer.c, src/eval.c, src/evalfunc.c, src/ex_cmds2.c, 28087 src/ex_docmd.c, src/ex_getln.c, src/fileio.c, src/getchar.c, 28088 src/globals.h, src/main.c, src/menu.c, src/option.c, 28089 src/proto/eval.pro, src/structs.h, src/syntax.c, 28090 src/testdir/test_alot.vim, src/testdir/test_expand_func.vim, 28091 src/testdir/test_maparg.vim, src/term.c src/userfunc.c 28092 28093Patch 8.1.0363 28094Problem: Internal diff isn't used by default as advertised. 28095Solution: Add "internal" to the default value of 'diffopt'. 28096 Also add couple of files missing from the distribution. 28097Files: src/option.c, runtime/doc/options.txt, Filelist 28098 28099Patch 8.1.0364 28100Problem: Compiler warning in xdiff code. (Yegappan Lakshmanan) 28101Solution: Initialize directly. 28102Files: src/xdiff/xemit.c, src/xdiff/README.txt 28103 28104Patch 8.1.0365 28105Problem: Function profile doesn't specify where it was defined. 28106Solution: Show the script name and line number. 28107Files: src/userfunc.c, src/testdir/test_profile.vim 28108 28109Patch 8.1.0366 28110Problem: Pieces of the xdiff code are not used. 28111Solution: Add "#if 0" to omit unused code. 28112Files: src/xdiff/xemit.c 28113 28114Patch 8.1.0367 28115Problem: getchar(1) no longer processes pending messages. (Yasuhiro 28116 Matsumoto) 28117Solution: Call parse_queued_messages(). 28118Files: src/evalfunc.c 28119 28120Patch 8.1.0368 28121Problem: GTK code has too many #ifdefs and building fails with GTK 2.10. 28122Solution: Always use gtk_widget_get_window() and define it for older GTK 28123 versions. (Ken Takata, closes #3421) 28124Files: src/gui_beval.c, src/gui_gtk.c, src/gui_gtk_f.c, 28125 src/gui_gtk_x11.c, src/mbyte.c, src/vim.h 28126 28127Patch 8.1.0369 28128Problem: Continuation lines cannot contain comments. 28129Solution: Support using "\ . 28130Files: src/ex_cmds2.c, src/testdir/test_eval_stuff.vim, 28131 runtime/indent/vim.vim, runtime/doc/repeat.txt 28132 28133Patch 8.1.0370 28134Problem: Not using internal diff if 'diffopt' is not changed. 28135Solution: Correct initialization of diff_flags. (Christian Brabandt) 28136Files: src/diff.c 28137 28138Patch 8.1.0371 28139Problem: Argument types for select() may be wrong. 28140Solution: Use a configure macro. (Tobias Ulmer) 28141Files: src/config.h.in, src/configure.ac, src/auto/configure, 28142 src/os_unix.c 28143 28144Patch 8.1.0372 28145Problem: Screen updating slow when 'cursorline' is set. 28146Solution: Only redraw the old and new cursor line, not all lines. 28147Files: src/edit.c, src/move.c, src/screen.c, src/proto/screen.pro 28148 28149Patch 8.1.0373 (after 8.1.0372) 28150Problem: Screen updating still slow when 'cursorline' is set. 28151Solution: Fix setting last_cursorline. 28152Files: src/move.c 28153 28154Patch 8.1.0374 28155Problem: Moving the cursor is slow when 'relativenumber' is set. 28156Solution: Only redraw the number column, not all lines. 28157Files: src/screen.c, src/move.c 28158 28159Patch 8.1.0375 28160Problem: Cannot use diff mode with Cygwin diff.exe. (Igor Forca) 28161Solution: Skip over unrecognized lines in the diff output. 28162Files: src/diff.c, src/testdir/test_diffmode.vim 28163 28164Patch 8.1.0376 28165Problem: Compiler warning for uninitialized variable. (Tony Mechelynck) 28166Solution: Initialize the variable. 28167Files: src/screen.c 28168 28169Patch 8.1.0377 28170Problem: Xdiff doesn't use the Vim memory allocation functions. 28171Solution: Change the xdl_ defines. Check for out-of-memory. Rename 28172 "ignored" to "vim_ignored". 28173Files: src/xdiff/xdiff.h, src/xdiff/xpatience.c, src/xdiff/xdiffi.c, 28174 src/channel.c, src/diff.c, src/evalfunc.c, src/ex_cmds.c, 28175 src/fileio.c, src/main.c, src/mbyte.c, src/netbeans.c, 28176 src/os_unix.c, src/os_win32.c, src/ui.c, src/window.c, 28177 src/globals.h, src/term.c 28178 28179Patch 8.1.0378 28180Problem: CI build failure. 28181Solution: Include vim.h as ../vim.h. Fix compiler warning. 28182Files: src/xdiff/xdiff.h, src/xdiff/xpatience.c 28183 28184Patch 8.1.0379 28185Problem: Build dependencies are incomplete. 28186Solution: Update the build dependencies, mainly for xdiff. Adjust object 28187 directory for libvterm and xdiff. 28188Files: src/Makefile, src/configure.ac, src/auto/configure, 28189 src/libvterm/src/screen.c, src/libvterm/src/termscreen.c, 28190 src/Make_cyg_ming.mak, src/Make_mvc.mak 28191 28192Patch 8.1.0380 28193Problem: "make proto" doesn't work well. 28194Solution: Define a few more types for cproto. Update proto files. Fix that 28195 workshop didn't build. 28196Files: src/vim.h, src/protodef.h, src/if_ruby.c, src/workshop.c, 28197 src/proto/digraph.pro, src/hardcopy.pro, src/proto/option.pro, 28198 src/proto/window.pro 28199 28200Patch 8.1.0381 28201Problem: Variable declaration not at start of block. 28202Solution: Fix line ordering. 28203Files: src/xdiff/xpatience.c 28204 28205Patch 8.1.0382 28206Problem: Some make programs can't handle dependency on "xdiff/../". 28207Solution: Strip it out. 28208Files: src/Makefile 28209 28210Patch 8.1.0383 28211Problem: Missing source file rename. 28212Solution: Update the dependency. 28213Files: src/Make_mvc.mak 28214 28215Patch 8.1.0384 28216Problem: Sign ordering depends on +netbeans feature. 28217Solution: Also order signs without +netbeans. (Christian Brabandt, 28218 closes #3224) 28219Files: src/structs.h, src/buffer.c 28220 28221Patch 8.1.0385 28222Problem: Coveralls badge doesn't update. 28223Solution: Update the URL 28224Files: README.md 28225 28226Patch 8.1.0386 28227Problem: Cannot test with non-default option value. 28228Solution: Add test_option_not_set(). 28229Files: runtime/doc/eval.txt, src/option.c, src/proto/option.pro, 28230 src/evalfunc.c 28231 28232Patch 8.1.0387 28233Problem: No test for 'ambiwidth' detection. 28234Solution: Add a test. 28235Files: src/testdir/test_startup_utf8.vim 28236 28237Patch 8.1.0388 28238Problem: Coverity complains about possible NULL pointer use. 28239Solution: Use get_tv_string() instead of get_tv_string_chk(). 28240Files: src/evalfunc.c 28241 28242Patch 8.1.0389 28243Problem: :behave command is not tested. 28244Solution: Add a test. (Dominique Pelle, closes #3429) 28245Files: src/Make_all.mak, src/testdir/test_alot.vim, 28246 src/testdir/test_behave.vim 28247 28248Patch 8.1.0390 28249Problem: Scrollbars are not tested. 28250Solution: Add test_scrollbar() and a test. 28251Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_gui.vim 28252 28253Patch 8.1.0391 28254Problem: Building in a shadow directory fails. 28255Solution: Don't link the xdiff directory but what's in it. (closes #3428) 28256Files: src/Makefile 28257 28258Patch 8.1.0392 28259Problem: Error while typing :/foo/s// with 'incsearch' enabled. 28260Solution: Do not give search errors when highlighting matches. 28261Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/ex_getln.c, 28262 src/testdir/test_search.vim 28263 28264Patch 8.1.0393 28265Problem: Not all white space difference options available. 28266Solution: Add "iblank", "iwhiteall" and "iwhiteeol" to 'diffopt'. 28267Files: src/diff.c, src/testdir/test_diffmode.vim, 28268 src/testdir/dumps/Test_diff_17.dump, 28269 src/testdir/dumps/Test_diff_18.dump, 28270 src/testdir/dumps/Test_diff_19.dump, 28271 src/testdir/dumps/Test_diff_20.dump 28272 28273Patch 8.1.0394 28274Problem: Diffs are not always updated correctly. 28275Solution: When using internal diff update for any changes properly. 28276Files: src/structs.h, src/diff.c, src/proto/diff.pro, src/misc1.c, 28277 src/main.c 28278 28279Patch 8.1.0395 28280Problem: Compiler warning on 64-bit MS-Windows. 28281Solution: Add type cast. (Mike Williams) 28282Files: src/diff.c 28283 28284Patch 8.1.0396 28285Problem: Another compiler warning on 64-bit MS-Windows. 28286Solution: Add type cast. (Mike Williams) 28287Files: src/xdiff/xutils.c 28288 28289Patch 8.1.0397 28290Problem: No event triggered after updating diffs. 28291Solution: Add the DiffUpdated event. 28292Files: src/vim.h, src/diff.c, src/fileio.c, 28293 src/testdir/test_diffmode.vim, runtime/doc/autocmd.txt 28294 28295Patch 8.1.0398 28296Problem: No test for -o and -O command line arguments. 28297Solution: Add a test. (Dominique Pelle, closes #3438) 28298Files: src/testdir/test_startup.vim 28299 28300Patch 8.1.0399 28301Problem: 'hlsearch' highlight remains in other window after cancelling 28302 command. 28303Solution: Redraw all windows. Also remove unnecessary delays. (closes #3437) 28304Files: src/ex_getln.c, src/testdir/test_search.vim, 28305 src/testdir/dumps/Test_incsearch_substitute_11.dump, 28306 src/testdir/dumps/Test_incsearch_substitute_12.dump, 28307 src/testdir/dumps/Test_incsearch_substitute_13.dump 28308 28309Patch 8.1.0400 28310Problem: Using freed memory with :diffget. 28311Solution: Skip ex_diffupdate() while updating diffs. (closes #3442) 28312Files: src/diff.c 28313 28314Patch 8.1.0401 28315Problem: Can't get swap name of another buffer. 28316Solution: Add swapname(). (Ozaki Kiichi, closes #3441) 28317Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_swap.vim 28318 28319Patch 8.1.0402 28320Problem: The DiffUpdate event isn't triggered for :diffput. 28321Solution: Also trigger DiffUpdate for :diffget and :diffput. 28322Files: src/diff.c 28323 28324Patch 8.1.0403 28325Problem: Header file missing from distribution. 28326Solution: Add src/protodef.h. 28327Files: Filelist 28328 28329Patch 8.1.0404 28330Problem: Accessing invalid memory with long argument name. 28331Solution: Use item_count instead of checking for a terminating NULL. 28332 (Dominique Pelle, closes #3444) 28333Files: src/testdir/test_arglist.vim, src/version.c 28334 28335Patch 8.1.0405 28336Problem: Too many #ifdefs for GTK. 28337Solution: Define macros instead of using #ifdef. (Ken Takata, closes #3436) 28338Files: src/gui_beval.c, src/gui_gtk.c, src/gui_gtk_f.c, 28339 src/gui_gtk_x11.c, src/vim.h 28340 28341Patch 8.1.0406 28342Problem: Several command line arguments are not tested. 28343Solution: Add tests for -A, -F, -H, -p and -V. (Dominique Pelle, 28344 closes #3446) 28345Files: src/testdir/test_startup.vim 28346 28347Patch 8.1.0407 28348Problem: Quickfix code mixes using the stack and a list pointer. 28349Solution: Use a list pointer in more places. (Yegappan Lakshmanan, 28350 closes #3443) 28351Files: src/quickfix.c 28352 28353Patch 8.1.0408 28354Problem: MSVC: cannot use the "x64" native compiler option. 28355Solution: Ignore case for %Platform%. Improve documentation. (Ken Takata) 28356Files: src/INSTALLpc.txt, src/msvc2015.bat 28357 28358Patch 8.1.0409 (after 8.1.0406) 28359Problem: Startup test fails on MS-Windows. 28360Solution: Do the Arabic test in silent Ex mode. Loosen the check for -V2. 28361Files: src/testdir/test_startup.vim 28362 28363Patch 8.1.0410 28364Problem: The ex_copen() function is too long. 28365Solution: Refactor to split off two functions. (Yegappan Lakshmanan) 28366Files: src/quickfix.c 28367 28368Patch 8.1.0411 28369Problem: Renamed file missing from distribution. 28370Solution: Rename screen.c to termscreen.c (Zdenek Dohnal, closes #3449) 28371Files: Filelist 28372 28373Patch 8.1.0412 28374Problem: Cannot build with GTK 2.4. 28375Solution: Add back a few #ifdefs. (Ken Takata, closes #3447) 28376 Also support older GTK. (Tom Christensen) 28377Files: src/gui_gtk_x11.c 28378 28379Patch 8.1.0413 28380Problem: Test output is duplicated or missing. 28381Solution: Adjust the MS-Windows and Unix test makefiles. (Ken Takata, 28382 closes #3452) 28383Files: src/testdir/Make_dos.mak, src/testdir/Makefile 28384 28385Patch 8.1.0414 28386Problem: v:option_old and v:option_new are cleared when using :set in 28387 OptionSet autocmd. (Gary Johnson) 28388Solution: Don't trigger OptionSet recursively. 28389Files: src/option.c 28390 28391Patch 8.1.0415 28392Problem: Not actually using 16 colors with vtp. 28393Solution: Always use 256 colors when vtp is used. (Nobuhiro Takasaki, 28394 closes #3432) 28395Files: src/option.c, src/term.c 28396 28397Patch 8.1.0416 28398Problem: Sort doesn't report deleted lines. 28399Solution: Call msgmore(). (Christian Brabandt, closes #3454) 28400Files: src/ex_cmds.c, src/testdir/test_sort.vim 28401 28402Patch 8.1.0417 28403Problem: Several command line arguments are not tested. 28404Solution: Add tests for -m, -M, -R and -Vfile. (Dominique Pelle, 28405 closes #3458) 28406Files: src/testdir/test_startup.vim 28407 28408Patch 8.1.0418 28409Problem: MS-Windows: cannot separate Lua include and library directories. 28410Solution: Add LUA_LIBDIR and LUA_INCDIR. (Ken Takata, closes #3464) 28411Files: src/Make_cyg_ming.mak 28412 28413Patch 8.1.0419 28414Problem: Cygwin: running cproto fails with -O2. 28415Solution: Strip -O2 for cproto. (Ken Takata, closes #3465) 28416Files: src/Makefile 28417 28418Patch 8.1.0420 28419Problem: Generating vim.lib when using ActivePerl 5.20.3 or later. 28420Solution: Redefine XS_EXTERNAL(). (Ken Takata, closes #3462) 28421Files: src/if_perl.xs 28422 28423Patch 8.1.0421 28424Problem: MS-Windows: Ruby path is wrong for Ruby 1.9 and later. 28425Solution: Let -I argument depend on Ruby version. (Ken Takata, closes #3461) 28426Files: src/Make_cyg_ming.mak, src/Make_mvc.mak 28427 28428Patch 8.1.0422 28429Problem: Cannot create map file with MinGW. 28430Solution: Add support for $MAP. (Ken Takata, closes #3460) 28431Files: src/Make_cyg_ming.mak 28432 28433Patch 8.1.0423 28434Problem: MS-Windows: using dup-close for flushing a file. 28435Solution: Use _commit(). (Ken Takata, closes #3463) 28436Files: src/memfile.c, src/os_mac.h, src/os_win32.h 28437 28438Patch 8.1.0424 28439Problem: Test output is very verbose, loading CI log is slow. 28440Solution: Redirect output to /dev/null. (Ken Takata, closes #3456) 28441Files: src/testdir/Makefile 28442 28443Patch 8.1.0425 28444Problem: ml_get error and crash with appendbufline(). (Masashi Iizuka) 28445Solution: Set per-window buffer info. (Hirohito Higashi, closes #3455) 28446Files: src/buffer.c, src/testdir/test_bufline.vim 28447 28448Patch 8.1.0426 28449Problem: Accessing invalid memory in SmcOpenConnection(). 28450Solution: Reduce size of errorstring by one. (Dominique Pelle, closes #3469) 28451Files: src/os_unix.c, src/testdir/test_startup.vim 28452 28453Patch 8.1.0427 28454Problem: MS-Windows GUI: using invalid encoded file name. 28455Solution: Drop the file name and return NULL. (Ken Takata, closes #3467) 28456Files: src/gui_w32.c 28457 28458Patch 8.1.0428 28459Problem: The :suspend command is not tested. 28460Solution: Add a test. (Dominique Pelle, closes #3472) 28461Files: src/Make_all.mak, src/testdir/test_alot.vim, 28462 src/testdir/test_suspend.vim 28463 28464Patch 8.1.0429 (after 8.1.0343) 28465Problem: No test for :lcd with 'shellslash'. 28466Solution: Add a test. (Daniel Hahler, closes #3475) 28467Files: src/testdir/test_getcwd.vim 28468 28469Patch 8.1.0430 28470Problem: Xargadd file left behind after running test. 28471Solution: Delete the file. (Dominique Pelle) 28472Files: src/testdir/test_arglist.vim 28473 28474Patch 8.1.0431 28475Problem: The qf_jump() function is too long. 28476Solution: Refactor to split it into several functions. (Yegappan Lakshmanan) 28477Files: src/quickfix.c 28478 28479Patch 8.1.0432 28480Problem: Compiler warning for signed/unsigned. 28481Solution: Add type cast. (Mike Williams) 28482Files: src/xdiff/xemit.c 28483 28484Patch 8.1.0433 28485Problem: Mapping can obtain text from inputsecret(). (Tommy Allen) 28486Solution: Disallow CTRL-R = and CTRL-\ e when using inputsecret(). 28487Files: src/ex_getln.c 28488 28489Patch 8.1.0434 28490Problem: copy_loclist() is too long. 28491Solution: Split in multiple functions. (Yegappan Lakshmanan) 28492Files: src/proto/quickfix.pro, src/quickfix.c, src/window.c 28493 28494Patch 8.1.0435 28495Problem: Cursorline highlight not removed in some situation. (Vitaly 28496 Yashin) 28497Solution: Reset last_cursorline when resetting 'cursorline'. (Christian 28498 Brabandt, closes #3481) 28499Files: src/move.c, src/proto/move.pro, src/option.c 28500 28501Patch 8.1.0436 28502Problem: Can get the text of inputsecret() with getcmdline(). (Tommy Allen) 28503Solution: Don't return the text. 28504Files: src/ex_getln.c 28505 28506Patch 8.1.0437 28507Problem: May access freed memory when syntax HL times out. (Philipp Gesang) 28508Solution: Clear b_sst_first when clearing b_sst_array. 28509Files: src/syntax.c 28510 28511Patch 8.1.0438 28512Problem: The ex_make() function is too long. 28513Solution: Split it into several functions. (Yegappan Lakshmanan) 28514Files: src/quickfix.c 28515 28516Patch 8.1.0439 28517Problem: Recursive use of getcmdline() still not protected. 28518Solution: Instead of saving the command buffer when making a call which may 28519 cause recursiveness, save the buffer when actually being called 28520 recursively. 28521Files: src/ex_getln.c, src/proto/ex_getln.pro, src/getchar.c, src/main.c 28522 28523Patch 8.1.0440 28524Problem: remove() with a range not sufficiently tested. 28525Solution: Add a test. (Dominique Pelle, closes #3497) 28526Files: src/testdir/test_listdict.vim 28527 28528Patch 8.1.0441 28529Problem: Build failure without command line history. 28530Solution: Move cmdline_init() outside of #ifdef. 28531Files: src/ex_getln.c 28532 28533Patch 8.1.0442 28534Problem: GUI: Cursor not drawn after ":redraw | sleep". 28535Solution: Flush the output. (closes #3496) 28536Files: src/ex_docmd.c 28537 28538Patch 8.1.0443 28539Problem: Unnecessary static function prototypes. 28540Solution: Remove unnecessary prototypes. 28541Files: src/arabic.c, src/blowfish.c, src/buffer.c, src/charset.c, 28542 src/crypt_zip.c, src/digraph.c, src/edit.c, src/eval.c, 28543 src/evalfunc.c, src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, 28544 src/ex_eval.c, src/ex_getln.c, src/fileio.c, src/getchar.c, 28545 src/gui.c, src/gui_at_fs.c, src/gui_athena.c, src/gui_gtk_x11.c, 28546 src/gui_mac.c, src/gui_motif.c, src/gui_photon.c, src/gui_w32.c, 28547 src/gui_x11.c, src/hangulin.c, src/hardcopy.c, src/if_cscope.c, 28548 src/if_mzsch.c, src/if_python3.c, src/if_xcmdsrv.c, 28549 src/integration.c, src/json.c, src/main.c, src/mbyte.c, 28550 src/memline.c, src/message.c, src/misc1.c, src/misc2.c, 28551 src/move.c, src/netbeans.c, src/normal.c, src/ops.c, src/option.c, 28552 src/os_unix.c, src/os_win32.c, src/pty.c, src/regexp.c, 28553 src/screen.c, src/search.c, src/sha256.c, src/spell.c, 28554 src/spellfile.c, src/syntax.c, src/tag.c, src/term.c, src/ui.c, 28555 src/undo.c, src/version.c, src/window.c, src/workshop.c 28556 28557Patch 8.1.0444 28558Problem: Unnecessary check for NULL pointer. 28559Solution: Remove check and call vim_free() directly. 28560Files: src/beval.c 28561 28562Patch 8.1.0445 28563Problem: Setting 'term' does not store location for termcap options. 28564Solution: Set the script context for termcap options that are changed when 28565 'term' is set. 28566Files: src/option.c, src/proto/option.pro, src/term.c, 28567 src/testdir/test_options.vim 28568 28569Patch 8.1.0446 28570Problem: Options test fails in the GUI. 28571Solution: Don't try changing 'term' in the GUI. 28572Files: src/testdir/test_options.vim 28573 28574Patch 8.1.0447 28575Problem: GUI scrollbar test fails with Athena and Motif. 28576Solution: When not using on-the-fly scrolling call normal_cmd(). 28577Files: src/evalfunc.c, src/ex_docmd.c, src/proto/ex_docmd.pro 28578 28579Patch 8.1.0448 28580Problem: Cursorline not removed when using 'cursorbind'. (Justin Keyes) 28581Solution: Store the last cursor line per window. (closes #3488) 28582Files: src/testdir/test_diffmode.vim, 28583 src/testdir/dumps/Test_diff_with_cursorline_01.dump, 28584 src/testdir/dumps/Test_diff_with_cursorline_02.dump, 28585 src/testdir/dumps/Test_diff_with_cursorline_03.dump, 28586 src/structs.h, src/move.c 28587 28588Patch 8.1.0449 28589Problem: When 'rnu' is set folded lines are not displayed correctly. 28590 (Vitaly Yashin) 28591Solution: When only redrawing line numbers do draw folded lines. 28592 (closes #3484) 28593Files: src/screen.c, src/testdir/test_fold.vim, 28594 src/testdir/dumps/Test_folds_with_rnu_01.dump, 28595 src/testdir/dumps/Test_folds_with_rnu_02.dump 28596 28597Patch 8.1.0450 (after patch 8.1.0449) 28598Problem: Build failure without the +fold feature. 28599Solution: Add #ifdef. 28600Files: src/screen.c 28601 28602Patch 8.1.0451 28603Problem: Win32 console: keypad keys don't work. 28604Solution: Use numbers instead of characters to avoid the value becoming 28605 negative. (Mike Williams) 28606Files: src/os_win32.c 28607 28608Patch 8.1.0452 28609Problem: MS-Windows: not finding intl.dll. 28610Solution: Also find intl.dll next to libintl.dll. (Ken Takata) 28611Files: src/os_win32.c, runtime/doc/mlang.txt 28612 28613Patch 8.1.0453 28614Problem: MS-Windows: executable() is not reliable. 28615Solution: Use $PATHEXT properly. (Yasuhiro Matsumoto, closes #3512) 28616Files: src/os_win32.c, src/testdir/test_functions.vim 28617 28618Patch 8.1.0454 28619Problem: resolve() was not tested with a symlink cycle. 28620Solution: Add a test. (Dominique Pelle, closes #3513) 28621Files: src/testdir/test_functions.vim 28622 28623Patch 8.1.0455 28624Problem: Checking for empty quickfix stack is not consistent. 28625Solution: Use qf_stack_empty(). (Yegappan Lakshmanan) 28626Files: src/quickfix.c 28627 28628Patch 8.1.0456 28629Problem: Running test hangs when the input file is being edited. 28630Solution: Use a SwapExists autocommand to ignore editing the test script. 28631Files: src/testdir/Makefile, src/testdir/runtest.vim 28632 28633Patch 8.1.0457 (after 8.1.0451) 28634Problem: Win32 console: key mappings don't work. 28635Solution: Use another solution for the keypad keys that doesn't break 28636 mappings. Some values will be negative. (Mike Williams) 28637Files: src/os_win32.c 28638 28639Patch 8.1.0458 28640Problem: Ml_get error and crash when using "do". 28641Solution: Adjust cursor position also when diffupdate is not needed. 28642 (Hirohito Higashi) 28643Files: src/diff.c, src/testdir/test_diffmode.vim 28644 28645Patch 8.1.0459 28646Problem: Test_executable fails when there is a dog in the system. 28647Solution: Rename the dog. (Hirohito Higashi) 28648Files: src/testdir/test_functions.vim 28649 28650Patch 8.1.0460 28651Problem: assert_fails() does not take a message argument 28652Solution: Add the argument. 28653Files: src/evalfunc.c, src/eval.c, src/testdir/test_assert.vim 28654 28655Patch 8.1.0461 28656Problem: Quickfix code uses too many /* */ comments. 28657Solution: Change to // comments. (Yegappan Lakshmanan) 28658Files: src/quickfix.c 28659 28660Patch 8.1.0462 28661Problem: When using ConPTY Vim can be a child process. 28662Solution: To find a Vim window use both EnumWindows() and 28663 EnumChildWindows(). (Nobuhiro Takasaki, closes #3521) 28664Files: src/os_mswin.c 28665 28666Patch 8.1.0463 28667Problem: "simalt ~x" in .vimrc blocks swap file prompt. 28668Solution: Flush buffers before prompting. (Yasuhiro Matsumoto, 28669 closes #3518, closes #2192) 28670Files: src/memline.c 28671 28672Patch 8.1.0464 28673Problem: MS-Windows: job_info() has cmd without backslashes. (Daniel 28674 Hahler) 28675Solution: Use rem_backslash(). (closes #3517, closes #3404) Add a test. 28676 (Yasuhiro Matsumoto) 28677Files: src/misc2.c, src/testdir/test_channel.vim 28678 28679Patch 8.1.0465 (after 8.1.0452) 28680Problem: Client-server test fails. 28681Solution: Change logic in EnumWindows(). 28682Files: src/os_mswin.c 28683 28684Patch 8.1.0466 (after 8.1.0463) 28685Problem: Autocmd test fails. 28686Solution: Do call inchar() when flushing typeahead. 28687Files: src/vim.h, src/getchar.c, src/proto/getchar.pro, src/memline.c, 28688 src/message.c, src/misc1.c 28689 28690Patch 8.1.0467 (after 8.1.0063) 28691Problem: Cannot build with Mac OS X 10.5. 28692Solution: Change #ifdef into #if. (Akshay Hegde, closes #3022) 28693Files: src/os_macosx.m 28694 28695Patch 8.1.0468 28696Problem: MS-Windows: Filter command with pipe character fails. (Johannes 28697 Riecken) 28698Solution: Find the pipe character outside of quotes. (Yasuhiro Matsumoto, 28699 closes #1743, closes #3523) 28700Files: src/ex_cmds.c, src/testdir/test_filter_cmd.vim 28701 28702Patch 8.1.0469 28703Problem: Too often indexing in qf_lists[]. 28704Solution: Use a qf_list_T pointer. (Yegappan Lakshmanan) 28705Files: src/quickfix.c, src/testdir/test_quickfix.vim 28706 28707Patch 8.1.0470 28708Problem: Pointer ownership around fname_expand() is unclear. 28709Solution: Allow b_ffname and b_sfname to point to the same allocated memory, 28710 only free one. Update comments. 28711Files: src/buffer.c, src/structs.h, src/fileio.c, src/ex_cmds.c 28712 28713Patch 8.1.0471 28714Problem: Some tests are flaky or fail on some systems. 28715Solution: Increase waiting time for port number. Use "cmd /c" to execute 28716 "echo" on win32. (Ken Takata, closes #3534) 28717Files: src/testdir/shared.vim, src/testdir/test_channel.vim 28718 28719Patch 8.1.0472 28720Problem: Dosinst command has a few flaws. 28721Solution: Register DisplayIcon, DisplayVersion and Publisher for the 28722 uninstaller. (closes #3485) Don't set 'diffexpr' if internal diff 28723 is supported. Allow for using Vi compatible from the command line. 28724 Remove needless sleeps. Add comments in the generated _vimrc. 28725 (Ken Takata, closes #3525) 28726Files: src/dosinst.c 28727 28728Patch 8.1.0473 28729Problem: User doesn't notice file does not exist when swap file does. 28730Solution: Add a note that the file cannot be found. Make the "still 28731 running" notice stand out. 28732Files: src/memline.c 28733 28734Patch 8.1.0474 28735Problem: Directory where if_perl.c is written is inconsistent. 28736Solution: use auto/if_perl.c for MS-Windows. (Ken Takata, closes #3540) 28737Files: src/Make_bc5.mak, src/Make_cyg_ming.mak, src/Make_mvc.mak 28738 28739Patch 8.1.0475 28740Problem: Memory not freed on exit when quit in autocmd. 28741Solution: Remember funccal stack when executing autocmd. 28742Files: src/structs.h, src/userfunc.c, src/proto/userfunc.pro, 28743 src/fileio.c, src/eval.c, src/ex_cmds2.c, src/main.c 28744 28745Patch 8.1.0476 28746Problem: Memory leaks in test_escaped_glob. 28747Solution: Avoid failure when running the shell, use the sandbox. 28748Files: src/testdir/test_escaped_glob.vim 28749 28750Patch 8.1.0477 (after 8.1.0475) 28751Problem: Tiny build fails. 28752Solution: Add a dummy declaration for funccal_entry_T. 28753Files: src/structs.h 28754 28755Patch 8.1.0478 28756Problem: Cannot build with perl using MinGW. 28757Solution: Add -I. (Ken Takata, Cesar Romani) 28758Files: src/Make_cyg_ming.mak 28759 28760Patch 8.1.0479 28761Problem: Failure when setting 'varsofttabstop' to end in a comma. (Ralf 28762 Schandl) 28763Solution: Reject value with trailing comma. Add test for invalid values 28764 (closes #3544) 28765Files: src/testdir/test_vartabs.vim, src/option.c 28766 28767Patch 8.1.0480 28768Problem: MinGW build file uses different -I flags than MVC. 28769Solution: Add -I to $CFLAGS. (Ken Takata) 28770Files: src/Make_cyg_ming.mak 28771 28772Patch 8.1.0481 28773Problem: When "Terminal" highlight is reverted cursor doesn't show. 28774Solution: Get the colors of the "Terminal" group. (closes #3546) 28775Files: src/terminal.c 28776 28777Patch 8.1.0482 28778Problem: MinGW "make clean" deletes all .exe files. 28779Solution: Only delete .exe files that it builds. (Ken Takata) 28780Files: src/Make_cyg_ming.mak 28781 28782Patch 8.1.0483 28783Problem: MinGW does not build tee.exe. 28784Solution: Add build instructions. (Yasuhiro Matsumoto, closes #3548) 28785Files: src/Make_cyg_ming.mak, src/tee/Makefile 28786 28787Patch 8.1.0484 28788Problem: Some file types are not recognized. 28789Solution: Update the file type detection. 28790Files: runtime/filetype.vim, src/testdir/test_filetype.vim 28791 28792Patch 8.1.0485 28793Problem: term_start() does not check if directory is accessible. 28794Solution: Add mch_access() call. (Jason Franklin) 28795Files: src/channel.c, src/testdir/test_terminal.vim 28796 28797Patch 8.1.0486 (after 8.1.0485) 28798Problem: Can't build in MS-Windows. 28799Solution: Put mch_access() call inside #ifdef 28800Files: src/channel.c 28801 28802Patch 8.1.0487 28803Problem: No menus specifically for the terminal window. 28804Solution: Add :tlmenu. (Yee Cheng Chin, closes #3439) Add a menu test. 28805Files: runtime/delmenu.vim, runtime/doc/autocmd.txt, runtime/doc/gui.txt, 28806 runtime/doc/index.txt, runtime/doc/terminal.txt, 28807 runtime/doc/usr_42.txt, runtime/menu.vim, src/ex_cmdidxs.h, 28808 src/ex_cmds.h, src/ex_docmd.c, src/menu.c, src/proto/menu.pro, 28809 src/popupmnu.c, src/structs.h, src/testdir/test_menu.vim 28810 28811Patch 8.1.0488 28812Problem: Using freed memory in quickfix code. (Dominique Pelle) 28813Solution: Add the quickfix_busy() flag to postpone deleting quickfix lists 28814 until it is safe. (Yegappan Lakshmanan, closes #3538) 28815Files: src/quickfix.c, src/proto/quickfix.pro, src/misc2.c, 28816 src/testdir/test_quickfix.vim 28817 28818Patch 8.1.0489 28819Problem: Crash when autocmd clears vimpgrep location list. 28820Solution: Return from qf_jump_edit_buffer() early. (Yegappan Lakshmanan) 28821Files: src/quickfix.c, src/testdir/test_quickfix.vim 28822 28823Patch 8.1.0490 28824Problem: MS-Windows: doesn't handle missing libwinpthread-1.dll. 28825Solution: Adjust Cygwin/MinGW build file. (Ken Takata, closes #2827) 28826Files: src/Make_cyg_ming.mak 28827 28828Patch 8.1.0491 28829Problem: If a terminal dump has CR it is considered corrupt. 28830Solution: Ignore CR characters. (Nobuhiro Takasaki, closes #3558) 28831Files: src/terminal.c 28832 28833Patch 8.1.0492 28834Problem: "Edit with existing Vim" list can get long. 28835Solution: Move the list to a submenu. (Ken Takata, closes #3561) 28836Files: src/GvimExt/gvimext.cpp 28837 28838Patch 8.1.0493 28839Problem: argv() and argc() only work on the current argument list. 28840Solution: Add a window ID argument. (Yegappan Lakshmanan, closes #832) 28841Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_arglist.vim, 28842 src/eval.c, src/proto/eval.pro 28843 28844Patch 8.1.0494 28845Problem: Functions do not check for a window ID in other tabs. 28846Solution: Also find the window ID in other than the current tab. 28847Files: src/evalfunc.c 28848 28849Patch 8.1.0495 28850Problem: :filter only supports some commands. 28851Solution: Add :filter support for more commands. (Marcin Szamotulski, 28852 closes #2856) 28853Files: runtime/doc/various.txt, src/eval.c, src/mark.c, src/option.c, 28854 src/syntax.c, src/testdir/test_filter_cmd.vim, src/userfunc.c 28855 28856Patch 8.1.0496 28857Problem: No tests for indent files. 28858Solution: Add a mechanism for running indent file tests. Add a first test 28859 for Vim indenting. 28860Files: runtime/indent/Makefile, runtime/indent/testdir/runtest.vim, 28861 runtime/indent/testdir/cleantest.vim, runtime/indent/README.txt, 28862 runtime/indent/testdir/README.txt, runtime/indent/testdir/vim.in, 28863 runtime/indent/testdir/vim.ok, Filelist 28864 28865Patch 8.1.0497 28866Problem: :%diffput changes order of lines. (Markus Braun) 28867Solution: Do adjust marks when using internal diff. 28868Files: src/diff.c, src/testdir/test_diffmode.vim 28869 28870Patch 8.1.0498 28871Problem: /etc/gitconfig not recognized at a gitconfig file. 28872Solution: Add pattern to filetype detection. (closes #3568) 28873Files: runtime/filetype.vim, src/testdir/test_filetype.vim 28874 28875Patch 8.1.0499 28876Problem: :2vimgrep causes an ml_get error 28877Solution: Pass tomatch pointer instead of value. (Yegappan Lakshmanan) 28878Files: src/ex_getln.c, src/quickfix.c, src/testdir/test_quickfix.vim 28879 28880Patch 8.1.0500 28881Problem: Cleaning up in src/tee may not always work. 28882Solution: Use "rm" when appropriate. (Michael Soyka, closes #3571) 28883Files: src/tee/Makefile 28884 28885Patch 8.1.0501 28886Problem: Cppcheck warns for using array index before bounds check. 28887Solution: Swap the conditions. (Dominique Pelle) 28888Files: src/memline.c 28889 28890Patch 8.1.0502 28891Problem: Internal diff fails when diffing a context diff. (Hirohito Higashi) 28892Solution: Only use callback calls with one line. (closes #3581) 28893Files: src/diff.c, src/testdir/dumps/test_diff_of_diff_01.dump 28894 28895Patch 8.1.0503 28896Problem: Missing change to diff test. (Hirohito Higashi) 28897Solution: Add the missing test function. 28898Files: src/testdir/test_diffmode.vim 28899 28900Patch 8.1.0504 28901Problem: When CTRL-C is mapped it triggers InsertLeave. 28902Solution: Make CTRL-C behave the same way when typed or used in a mapping. 28903Files: src/edit.c, src/testdir/test_edit.vim 28904 28905Patch 8.1.0505 28906Problem: Filter command test may fail if helplang is not set. 28907Solution: Set 'helplang' for the test. (James McCoy, closes #3591) 28908Files: src/testdir/test_filter_cmd.vim 28909 28910Patch 8.1.0506 28911Problem: Modeline test fails when run by root. 28912Solution: Set 'modeline' for the test. (James McCoy, closes #3592) 28913Files: src/testdir/test_modeline.vim 28914 28915Patch 8.1.0507 28916Problem: .raml files not properly detected. 28917Solution: Recognize .raml as raml instead of yaml. (closes #3594) 28918Files: runtime/filetype.vim, src/testdir/test_filetype.vim 28919 28920Patch 8.1.0508 28921Problem: Suspend test fails when run by root. 28922Solution: Accept both '$' and '#' for the prompt. (James McCoy, closes #3590) 28923Files: src/testdir/test_suspend.vim 28924 28925Patch 8.1.0509 28926Problem: Checking cwd not accessible fails for root. (James McCoy) 28927Solution: Skip this part of the test for root. (closes #3595) 28928Files: src/testdir/test_terminal.vim 28929 28930Patch 8.1.0510 28931Problem: Filter test fails when $LANG is C.UTF-8. 28932Solution: Set 'helplang' to "en" for any C language. (Christian Brabandt, 28933 closes #3577) 28934Files: src/option.c 28935 28936Patch 8.1.0511 28937Problem: ml_get error when calling a function with a range. 28938Solution: Don't position the cursor after the last line. 28939Files: src/userfunc.c, src/testdir/test_functions.vim 28940 28941Patch 8.1.0512 28942Problem: 'helplang' default is inconsistent for C and C.UTF-8. 28943Solution: Don't accept a value unless it starts with two letters. 28944Files: src/ex_cmds2.c 28945 28946Patch 8.1.0513 28947Problem: No error for set diffopt+=algorithm:. 28948Solution: Check for missing argument. (Hirohito Higashi, closes #3598) 28949Files: src/diff.c, src/testdir/gen_opt_test.vim 28950 28951Patch 8.1.0514 28952Problem: CTRL-W ^ does not work when alternate buffer has no name. 28953Solution: Use another method to split and edit the alternate buffer. (Jason 28954 Franklin) 28955Files: src/testdir/test_normal.vim, src/testdir/test_window_cmd.vim, 28956 src/normal.c, src/window.c, runtime/doc/windows.txt 28957 28958Patch 8.1.0515 28959Problem: Reloading a script gives errors for existing functions. 28960Solution: Allow redefining a function once when reloading a script. 28961Files: src/testdir/test_functions.vim, src/userfunc.c, src/structs.h, 28962 src/globals.h, src/buffer.c, src/ex_cmds2.c, src/main.c, 28963 src/option.c, runtime/doc/eval.txt 28964 28965Patch 8.1.0516 28966Problem: :move command marks buffer modified when nothing changed. 28967Solution: Do not set 'modified'. Add a test. (Jason Franklin) 28968Files: src/Make_all.mak, src/testdir/test_alot.vim, 28969 src/testdir/test_move.vim, src/ex_cmds.c 28970 28971Patch 8.1.0517 28972Problem: Test_window_split_edit_alternate() fails on AppVeyor. 28973Solution: Disable the failing part for now. 28974Files: src/testdir/test_window_cmd.vim 28975 28976Patch 8.1.0518 28977Problem: Test_window_split_edit_bufnr() fails on AppVeyor. 28978Solution: Disable the failing part for now. 28979Files: src/testdir/test_window_cmd.vim 28980 28981Patch 8.1.0519 28982Problem: Cannot save and restore the tag stack. 28983Solution: Add gettagstack() and settagstack(). (Yegappan Lakshmanan, 28984 closes #3604) 28985Files: runtime/doc/eval.txt, runtime/doc/tagsrch.txt, 28986 runtime/doc/usr_41.txt, src/alloc.h, src/dict.c, src/evalfunc.c, 28987 src/list.c, src/misc2.c, src/proto/dict.pro, src/proto/list.pro, 28988 src/proto/misc2.pro, src/proto/tag.pro, src/tag.c, 28989 src/testdir/test_tagjump.vim 28990 28991Patch 8.1.0520 28992Problem: Screen diff test sometimes fails. 28993Solution: Add to list of flaky tests. 28994Files: src/testdir/runtest.vim 28995 28996Patch 8.1.0521 28997Problem: Cannot build with +eval but without +quickfix. 28998Solution: Remove #ifdef for e_stringreq. (John Marriott) 28999Files: src/evalfunc.c 29000 29001Patch 8.1.0522 29002Problem: :terminal does not show trailing empty lines. 29003Solution: Add empty lines. (Hirohito Higashi, closes #3605) 29004Files: src/terminal.c, src/testdir/test_terminal.vim 29005 29006Patch 8.1.0523 29007Problem: Opening window from quickfix leaves empty buffer behind. 29008Solution: Add qf_jump_newwin(). (Yegappan Lakshmanan, closes #2574) 29009Files: src/proto/quickfix.pro, src/quickfix.c, 29010 src/testdir/test_quickfix.vim 29011 29012Patch 8.1.0524 (after 8.1.0522) 29013Problem: Terminal test fails on Windows. 29014Solution: Skip Test_terminal_does_not_truncate_last_newlines() for now. 29015Files: src/testdir/test_terminal.vim 29016 29017Patch 8.1.0525 (after 8.1.0524) 29018Problem: Terminal test skips part on Windows. 29019Solution: Fix Test_terminal_does_not_truncate_last_newlines(). (Hirohito 29020 Higashi, closes #3606) 29021Files: src/Make_mvc.mak, src/testdir/test_terminal.vim 29022 29023Patch 8.1.0526 29024Problem: Running out of signal stack in RealWaitForChar. (Vladimir Marek) 29025Solution: Make the fd_set variables static. 29026Files: src/os_unix.c 29027 29028Patch 8.1.0527 29029Problem: Using 'shiftwidth' from wrong buffer for folding. 29030Solution: Use "buf" instead of "curbuf". (Christian Brabandt) 29031Files: src/fold.c 29032 29033Patch 8.1.0528 29034Problem: Various typos in comments. 29035Solution: Fix the typos. 29036Files: src/fileio.c, src/gui.c, src/macros.h, src/screen.c, src/search.c, 29037 src/spell.c, src/spellfile.c, src/vim.h, src/testdir/README.txt, 29038 src/INSTALL, src/gui_athena.c, src/gui_gtk.c, src/gui_gtk_x11.c, 29039 src/gui_motif.c, src/gui_xmebw.c, src/if_tcl.c, src/os_amiga.c, 29040 src/gui_w32.c, src/os_win32.c, src/gui_mac.c, src/os_vms_fix.com 29041 29042Patch 8.1.0529 29043Problem: Flaky test sometimes fails in different ways. 29044Solution: When the second run gives a different error, try running the test 29045 again, up to five times. 29046Files: src/testdir/runtest.vim 29047 29048Patch 8.1.0530 29049Problem: Channel and terminal tests that start a server can be flaky. 29050Solution: Add all channel and terminal tests that start a server to the list 29051 of flaky tests. 29052Files: src/testdir/runtest.vim 29053 29054Patch 8.1.0531 29055Problem: Flaky tests often fail with a common error message. 29056Solution: Add a pattern to match an error message indicating a flaky test. 29057Files: src/testdir/runtest.vim 29058 29059Patch 8.1.0532 29060Problem: Cannot distinguish between quickfix and location list. 29061Solution: Add an explicit type variable. (Yegappan Lakshmanan) 29062Files: src/quickfix.c 29063 29064Patch 8.1.0533 29065Problem: Screendump tests can be flaky. 29066Solution: Add VerifyScreenDump to the pattern of flaky tests. 29067Files: src/testdir/runtest.vim 29068 29069Patch 8.1.0534 29070Problem: MS-Windows installer uses different $HOME than Vim. 29071Solution: Use the Vim logic also in the MS-Windows installer. (Ken Takata, 29072 closes #3564) 29073Files: src/dosinst.c, src/misc1.c 29074 29075Patch 8.1.0535 29076Problem: Increment/decrement might get interrupted by updating folds. 29077Solution: Disable fold updating for a moment. (Christian Brabandt, 29078 closes #3599) 29079Files: src/ops.c 29080 29081Patch 8.1.0536 29082Problem: File time test fails when using NFS. 29083Solution: Use three file times instead of localtim(). (James McCoy, 29084 closes #3618) 29085Files: src/testdir/test_stat.vim 29086 29087Patch 8.1.0537 29088Problem: ui_breakcheck() may be called recursively, which doesn't work. 29089Solution: When called recursively, just return. (James McCoy, closes #3617) 29090Files: src/ui.c 29091 29092Patch 8.1.0538 29093Problem: Evaluating a modeline might invoke using a shell command. (Paul 29094 Huber) 29095Solution: Set the sandbox flag when setting options from a modeline. 29096Files: src/buffer.c 29097 29098Patch 8.1.0539 29099Problem: Cannot build without the sandbox. 29100Solution: Set the secure option instead of using the sandbox. Also restrict 29101 the characters from 'spelllang' that are used for LANG.vim. 29102 (suggested by Yasuhiro Matsumoto) 29103Files: runtime/doc/options.txt, src/buffer.c, src/option.c 29104 29105Patch 8.1.0540 29106Problem: May evaluate insecure value when appending to option. 29107Solution: Set the secure flag when changing an option that was previously 29108 set insecurely. Also allow numbers for the characters from 29109 'spelllang' that are used for LANG.vim. (closes #3623) 29110Files: src/option.c 29111 29112Patch 8.1.0541 29113Problem: Help message in dosinst.c is outdated. 29114Solution: Update the comment. (Ken Takata, closes #3626) 29115Files: src/dosinst.c 29116 29117Patch 8.1.0542 29118Problem: shiftwidth() does not take 'vartabstop' into account. 29119Solution: Use the cursor position or a position explicitly passed. 29120 Also make >> and << work better with 'vartabstop'. (Christian 29121 Brabandt) 29122Files: runtime/doc/change.txt, runtime/doc/eval.txt, src/edit.c, 29123 src/evalfunc.c, src/normal.c, src/ops.c, src/option.c, 29124 src/proto/edit.pro, src/proto/option.pro, 29125 src/testdir/test_vartabs.vim 29126 29127Patch 8.1.0543 29128Problem: Coverity warns for leaking memory and using wrong struct. 29129Solution: Free pointer when allocation fails. Change "boff" to "loff". 29130 (closes #3634) 29131Files: src/ex_getln.c, src/move.c 29132 29133Patch 8.1.0544 (after 8.1.0540) 29134Problem: Setting 'filetype' in a modeline causes an error (Hirohito 29135 Higashi). 29136Solution: Don't add the P_INSECURE flag when setting 'filetype' from a 29137 modeline. Also for 'syntax'. 29138Files: src/option.c, src/testdir/test_modeline.vim 29139 29140Patch 8.1.0545 29141Problem: When executing indent tests user preferences interfere. 29142Solution: Add "--clean". 29143Files: runtime/indent/Makefile, runtime/indent/testdir/runtest.vim 29144 29145Patch 8.1.0546 29146Problem: Modeline test with keymap fails. 29147Solution: Check that the keymap feature is available. 29148Files: src/testdir/test_modeline.vim 29149 29150Patch 8.1.0547 29151Problem: Modeline test with keymap still fails. 29152Solution: Check that the keymap feature is available for the failure assert. 29153Files: src/testdir/test_modeline.vim 29154 29155Patch 8.1.0548 29156Problem: Crash when job callback unloads a buffer. (James McCoy) 29157Solution: Don't round up the wait time to 10 msec in ui_inchar(). 29158Files: src/ui.c 29159 29160Patch 8.1.0549 29161Problem: Netbeans test depends on README.txt contents. 29162Solution: Use a generated file instead. 29163Files: src/testdir/test_netbeans.vim, src/testdir/test_netbeans.py 29164 29165Patch 8.1.0550 29166Problem: Expression evaluation may repeat an error message. (Jason 29167 Franklin) 29168Solution: Increment did_emsg and check for the value when giving an error 29169 for the echo command. 29170Files: src/message.c, src/eval.c, src/testdir/test108.ok 29171 29172Patch 8.1.0551 (after 8.1.0550) 29173Problem: Expression evaluation may repeat an error message. (Jason 29174 Franklin) 29175Solution: Check for the value of did_emsg when giving an error 29176 for the :execute command. 29177Files: src/eval.c 29178 29179Patch 8.1.0552 29180Problem: Saved last search pattern may not be restored. 29181Solution: Call restore_last_search_pattern(). Add a check for balancing 29182 saving and restoring the last search pattern. 29183Files: src/ex_getln.c, src/search.c 29184 29185Patch 8.1.0553 29186Problem: It is not easy to edit a script that was sourced. 29187Solution: Add a count to ":scriptnames", so that ":script 40" edits the 29188 script with script ID 40. 29189Files: src/ex_cmds.h, src/ex_cmds2.c, src/testdir/test_scriptnames.vim, 29190 src/Make_all.mak, src/testdir/Make_all.mak, runtime/doc/repeat.txt 29191 29192Patch 8.1.0554 29193Problem: Popup menu overlaps with preview window. 29194Solution: Adjust the height computation. (Hirohito Higashi, closes #3414) 29195Files: src/popupmnu.c, src/testdir/test_popup.vim, 29196 src/testdir/dumps/Test_popup_and_previewwindow_01.dump 29197 29198Patch 8.1.0555 29199Problem: Crash when last search pat is set but not last substitute pat. 29200Solution: Do not mix up last search pattern and last substitute pattern. 29201 (closes #3647) 29202Files: src/search.c, src/testdir/test_search.vim 29203 29204Patch 8.1.0556 29205Problem: Saving/restoring search patterns share saved last_idx. 29206Solution: Use a separate saved last_idx for saving search patterns for 29207 functions and incremental search. 29208Files: src/search.c 29209 29210Patch 8.1.0557 29211Problem: Termdebug: gdb may use X.Y for breakpoint number. (Ryou Ezoe) 29212Solution: Handle X.Y breakpoint numbers. (Yasuhiro Matsumoto, close #3641) 29213Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim 29214 29215Patch 8.1.0558 29216Problem: Some MS-Windows instructions are outdated. 29217Solution: Update the uninstall instructions and the NSIS README. (Ken 29218 Takata, closes #3614) Also update remark about diff.exe. 29219Files: nsis/README.txt, uninstal.txt 29220 29221Patch 8.1.0559 29222Problem: Command line completion not sufficiently tested. 29223Solution: Add more tests. (Dominique Pelle, closes #3622) 29224Files: src/testdir/test_arglist.vim, src/testdir/test_filetype.vim, 29225 src/testdir/test_history.vim, src/testdir/test_messages.vim, 29226 src/testdir/test_syntax.vim 29227 29228Patch 8.1.0560 29229Problem: Cannot use address type "other" with user command. 29230Solution: Add "other" to the list. (Daniel Hahler, closes #3655) Also 29231 reject "%" for commands with "other". Add some more tests. 29232Files: src/ex_docmd.c, src/testdir/test_usercommands.vim 29233 29234Patch 8.1.0561 29235Problem: MSVC error format has changed. 29236Solution: Make the space between the line number and colon optional. 29237Files: src/option.h 29238 29239Patch 8.1.0562 29240Problem: Parsing of 'diffopt' is slightly wrong. 29241Solution: Fix the parsing and add a test. (Jason Franklin, Christian 29242 Brabandt) 29243Files: src/diff.c, src/testdir/test_diffmode.vim, 29244 src/testdir/dumps/Test_diff_09.dump, 29245 src/testdir/dumps/Test_diff_11.dump, src/testdir/screendump.vim 29246 29247Patch 8.1.0563 29248Problem: Setting v:errors to a string give confusing error. (Christian 29249 Brabandt) 29250Solution: Change internal error into normal error message. 29251Files: src/eval.c 29252 29253Patch 8.1.0564 29254Problem: Setting v:errors to wrong type still possible. 29255Solution: Return after giving an error message. (Christian Brabandt) 29256Files: src/eval.c, src/testdir/test_eval_stuff.vim 29257 29258Patch 8.1.0565 29259Problem: Asan complains about reading before allocated block. 29260Solution: Workaround: Avoid offset from becoming negative. 29261Files: src/gui.c 29262 29263Patch 8.1.0566 29264Problem: SGR not enabled for mintty because $TERM is "xterm". 29265Solution: Detect mintty by the termresponse. (Ken Takata, closes #3667) 29266Files: src/term.c 29267 29268Patch 8.1.0567 (after 8.1.0565) 29269Problem: Error for NUL byte in ScreenLines goes unnoticed. 29270Solution: Add an internal error message. 29271Files: src/gui.c 29272 29273Patch 8.1.0568 (after 8.1.0567) 29274Problem: Error message for NUL byte in ScreenLines breaks Travis CI. 29275Solution: Use a normal message fornow. 29276Files: src/gui.c 29277 29278Patch 8.1.0569 29279Problem: Execute() always resets display column to zero. (Sha Liu) 29280Solution: Don't reset it to zero, restore the previous value. (closes #3669) 29281Files: src/evalfunc.c, src/testdir/test_execute_func.vim 29282 29283Patch 8.1.0570 29284Problem: 'commentstring' not used when adding fold marker. (Maxim Kim) 29285Solution: Only use empty 'comments' middle when leader is empty. (Christian 29286 Brabandt, closes #3670) 29287Files: src/misc1.c, src/testdir/test_fold.vim 29288 29289Patch 8.1.0571 (after 8.1.0569) 29290Problem: Non-silent execute() resets display column to zero. 29291Solution: Keep the display column as-is. 29292Files: src/evalfunc.c, src/testdir/test_execute_func.vim 29293 29294Patch 8.1.0572 29295Problem: Stopping a job does not work properly on OpenBSD. 29296Solution: Do not use getpgid() to check the process group of the job 29297 process ID, always pass the negative process ID to kill(). 29298 (George Koehler, closes #3656) 29299Files: src/os_unix.c 29300 29301Patch 8.1.0573 29302Problem: Cannot redefine user command without ! in same script 29303Solution: Allow redefining user command without ! in same script, like with 29304 functions. 29305Files: src/ex_docmd.c, src/testdir/test_usercommands.vim, 29306 runtime/doc/map.txt 29307 29308Patch 8.1.0574 29309Problem: 'commentstring' not used when adding fold marker in C. 29310Solution: Require white space before middle comment part. (mostly by 29311 Hirohito Higashi) 29312Files: src/misc1.c, src/testdir/test_fold.vim 29313 29314Patch 8.1.0575 29315Problem: Termdebug: clearing multi-breakpoint does not work. 29316Solution: Delete all X.Y breakpoints. Keep more information about placed 29317 breakpoints. (Ozaki Kiichi, closes #3641) 29318Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim 29319 29320Patch 8.1.0576 29321Problem: Indent script tests pick up installed scripts. 29322Solution: Use current runtime indent scripts. 29323Files: runtime/indent/Makefile 29324 29325Patch 8.1.0577 29326Problem: Tabpage right-click menu never shows "Close tab". 29327Solution: Always create the "Close tab" item but ignore the event if there 29328 is only one tab. 29329Files: src/gui_gtk_x11.c, src/gui_mac.c, src/gui_motif.c, src/gui.c 29330 29331Patch 8.1.0578 29332Problem: Cannot disable arabic, rightleft and farsi in configure. 29333Solution: Add configure flags. (Diego Fernando Carrión, closes #1867) 29334Files: src/configure.ac, src/auto/configure, src/config.h.in, 29335 src/feature.h, src/Makefile 29336 29337Patch 8.1.0579 29338Problem: Cannot attach properties to text. 29339Solution: First part of adding text properties. 29340Files: Filelist, runtime/doc/Makefile, runtime/doc/eval.txt, 29341 runtime/doc/textprop.txt, src/Make_all.mak, src/Make_cyg_ming.mak, 29342 src/Make_mvc.mak, src/Makefile, src/buffer.c, src/edit.c, 29343 src/evalfunc.c, src/feature.h, src/memline.c, src/misc1.c, 29344 src/misc2.c, src/proto.h, src/proto/memline.pro, 29345 src/proto/textprop.pro, src/screen.c, src/structs.h, 29346 src/testdir/Make_all.mak, src/testdir/test_textprop.vim, 29347 src/textprop.c, src/userfunc.c, src/version.c 29348 29349Patch 8.1.0580 29350Problem: Invalid memory access when using text properties. 29351Solution: Disable text properties for now. 29352Files: src/feature.h 29353 29354Patch 8.1.0581 29355Problem: Double free without the text properties feature. 29356Solution: Reset the dirty flag. 29357Files: src/memline.c 29358 29359Patch 8.1.0582 29360Problem: Text properties are not enabled. 29361Solution: Fix sizeof argument and re-enable the text properties feature. 29362 Fix memory leak. 29363Files: src/feature.h, src/textprop.c 29364 29365Patch 8.1.0583 29366Problem: Using illogical name for get_dict_number()/get_dict_string(). 29367Solution: Rename to start with dict_. 29368Files: src/dict.c, src/proto/dict.pro, src/edit.c, src/eval.c, 29369 src/evalfunc.c, src/quickfix.c, src/tag.c, src/terminal.c, 29370 src/textprop.c 29371 29372Patch 8.1.0584 29373Problem: With search CTRL-L does not pick up composing characters. 29374Solution: Check for composing characters. (Christian Brabandt, closes #3682) 29375 [code change was accidentally included in 8.1.0579] 29376Files: src/testdir/test_search.vim 29377 29378Patch 8.1.0585 29379Problem: Undo test may fail on MS-Windows. 29380Solution: Also handle lower case drive letters. 29381Files: src/testdir/test_undo.vim 29382 29383Patch 8.1.0586 29384Problem: :digraph output is not easy to read. 29385Solution: Add highlighting for :digraphs. (Marcin Szamotulski, closes #3572) 29386 Also add section headers for :digraphs!. 29387Files: src/ex_docmd.c, src/digraph.c, src/proto/digraph.pro, 29388 src/ex_cmds.h, runtime/doc/digraph.txt 29389 29390Patch 8.1.0587 29391Problem: GvimExt: realloc() failing is not handled properly. 29392Solution: Check for NULL return. (Jan-Jaap Korpershoek, closes #3689) 29393Files: src/GvimExt/gvimext.cpp 29394 29395Patch 8.1.0588 29396Problem: Cannot define a sign with space in the text. 29397Solution: Allow for escaping characters. (Ben Jackson, closes #2967) 29398Files: src/ex_cmds.c, src/testdir/test_signs.vim 29399 29400Patch 8.1.0589 29401Problem: Compilation error in gvimext.cpp. 29402Solution: Return a value. Also fix using uninitialized variable. 29403Files: src/GvimExt/gvimext.cpp, src/dosinst.c 29404 29405Patch 8.1.0590 29406Problem: When a job ends the closed channels are not handled. 29407Solution: When a job is detected to have ended, check the channels again. 29408 (closes #3530) 29409Files: src/channel.c, src/proto/channel.pro, src/misc2.c 29410 29411Patch 8.1.0591 29412Problem: Channel sort test is flaky. 29413Solution: Do not check if the job is running, it may have be done very fast. 29414Files: src/testdir/test_channel.vim 29415 29416Patch 8.1.0592 29417Problem: The libvterm tests are not run as part of Vim tests. 29418Solution: Add testing libvterm. 29419Files: src/Makefile, src/libvterm/Makefile 29420 29421Patch 8.1.0593 29422Problem: Illegal memory access in libvterm test. 29423Solution: Fix off-by-one error. 29424Files: src/libvterm/src/vterm.c, src/libvterm/Makefile, 29425 src/libvterm/t/run-test.pl 29426 29427Patch 8.1.0594 29428Problem: Libvterm tests fail to run on Mac. 29429Solution: Only run libvterm tests on Linux. 29430Files: src/Makefile 29431 29432Patch 8.1.0595 29433Problem: Libvterm tests are not run with coverage. 29434Solution: Adjust the Travis config. Show the actually run commands. 29435Files: .travis.yml, src/libvterm/Makefile 29436 29437Patch 8.1.0596 29438Problem: Not all parts of printf() are tested. 29439Solution: Add a few more test cases. (Dominique Pelle, closes #3691) 29440Files: src/testdir/test_expr.vim 29441 29442Patch 8.1.0597 29443Problem: Cannot run test_libvterm from the top directory. 29444Solution: Add test target in toplevel Makefile. 29445Files: Makefile 29446 29447Patch 8.1.0598 29448Problem: Indent tests may use the wrong Vim binary. 29449Solution: Pass in the just built Vim binary. 29450Files: Makefile 29451 29452Patch 8.1.0599 29453Problem: Without the +eval feature the indent tests don't work. 29454Solution: Skip the body of the tests. 29455Files: runtime/indent/testdir/cleantest.vim, 29456 runtime/indent/testdir/runtest.vim 29457 29458Patch 8.1.0600 29459Problem: Channel test is flaky. 29460Solution: Add test to list of flaky tests. 29461Files: src/testdir/runtest.vim 29462 29463Patch 8.1.0601 29464Problem: A few compiler warnings. 29465Solution: Add type casts. (Mike Williams) 29466Files: src/GvimExt/gvimext.cpp, src/memline.c, src/textprop.c 29467 29468Patch 8.1.0602 29469Problem: DirChanged is also triggered when the directory didn't change. 29470 (Daniel Hahler) 29471Solution: Compare the current with the new directory. (closes #3697) 29472Files: src/ex_docmd.c, src/testdir/test_autocmd.vim, src/misc2.c, 29473 src/testdir/test_autochdir.vim 29474 29475Patch 8.1.0603 29476Problem: The :stop command is not tested. 29477Solution: Test :stop using a terminal window. 29478Files: src/testdir/test_terminal.vim, src/testdir/shared.vim 29479 29480Patch 8.1.0604 29481Problem: Autocommand test fails on MS-Windows. 29482Solution: Use pathcmp() instead of strcmp() to check if a directory differs. 29483Files: src/ex_docmd.c, src/misc2.c 29484 29485Patch 8.1.0605 29486Problem: Running make in the top directory echoes a comment. 29487Solution: Prefix with @. (closes #3698) 29488Files: Makefile 29489 29490Patch 8.1.0606 29491Problem: 'cryptmethod' defaults to a very old method. 29492Solution: Default to "blowfish2", it is now widely available. 29493Files: src/option.c, runtime/doc/options.txt 29494 29495Patch 8.1.0607 29496Problem: Proto files are not in sync with the source code. 29497Solution: Update the proto files. 29498Files: src/os_mswin.c, src/proto/buffer.pro, src/proto/ex_cmds.pro, 29499 src/proto/ex_getln.pro, src/proto/misc2.pro, 29500 src/proto/userfunc.pro 29501 29502Patch 8.1.0608 29503Problem: Coveralls is not updating. 29504Solution: Adjust path in Travis config. 29505Files: .travis.yml 29506 29507Patch 8.1.0609 29508Problem: MS-Windows: unused variable, depending on the Ruby version. 29509Solution: Put ruby_sysinit and NtInitialize inside #ifdef and make them 29510 consistent. (Ken Takata) 29511Files: src/if_ruby.c 29512 29513Patch 8.1.0610 29514Problem: MS-Windows ctags file list differs from Unix. 29515Solution: Define TAGS_FILES in the common makefile. (partly by Ken Takata) 29516Files: src/Make_all.mak, src/Makefile, src/Make_mvc.mak, 29517 src/Make_cyg_ming.mak 29518 29519Patch 8.1.0611 29520Problem: Crash when using terminal with long composing characters. 29521Solution: Make space for all characters. (Yasuhiro Matsumoto, closes #3619, 29522 closes #3703) 29523Files: src/terminal.c 29524 29525Patch 8.1.0612 29526Problem: Cannot use two global runtime dirs with configure. 29527Solution: Support a comma in --with-global-runtime. (James McCoy, 29528 closes #3704) 29529Files: src/config.h.in, src/configure.ac, src/feature.h, src/os_unix.h, 29530 src/auto/configure, src/Makefile 29531 29532Patch 8.1.0613 29533Problem: When executing an insecure function the secure flag is stuck. 29534 (Gabriel Barta) 29535Solution: Restore "secure" instead of decrementing it. (closes #3705) 29536Files: src/testdir/test_autocmd.vim, src/option.c, src/buffer.c 29537 29538Patch 8.1.0614 29539Problem: Placing signs can be complicated. 29540Solution: Add functions for defining and placing signs. Introduce a group 29541 name to avoid different plugins using the same signs. (Yegappan 29542 Lakshmanan, closes #3652) 29543Files: runtime/doc/eval.txt, runtime/doc/sign.txt, 29544 runtime/doc/usr_41.txt, src/alloc.h, src/buffer.c, src/evalfunc.c, 29545 src/ex_cmds.c, src/globals.h, src/list.c, src/misc2.c, 29546 src/netbeans.c, src/proto/buffer.pro, src/proto/ex_cmds.pro, 29547 src/proto/list.pro, src/proto/misc2.pro, src/structs.h, 29548 src/testdir/test_signs.vim, src/workshop.c 29549 29550Patch 8.1.0615 29551Problem: Get_tv function names are not consistent. 29552Solution: Rename to tv_get. 29553Files: src/eval.c, src/proto/eval.pro, src/channel.c, src/dict.c, 29554 src/evalfunc.c, src/list.c, src/message.c, src/tag.c, 29555 src/terminal.c, src/textprop.c, src/window.c, src/ex_cmds.c, 29556 src/os_unix.c, src/os_win32.c, src/json.c, src/regexp.c, 29557 src/edit.c, src/misc2.c, src/popupmnu.c 29558 29559Patch 8.1.0616 29560Problem: NSIS installer is outdated. 29561Solution: Use modern syntax, MUI2 and make it work better. Add translations. 29562 (Guopeng Wen, Ken Takata, closes #3501) 29563Files: Filelist, nsis/gvim.nsi, nsis/icons/header.svg, 29564 nsis/icons/welcome.svg, nsis/icons/header.bmp, 29565 nsis/icons/un_header.bmp, nsis/icons/uninstall.bmp, 29566 nsis/icons/welcome.bmp, nsis/lang/danish.nsi, nsis/lang/dutch.nsi, 29567 nsis/lang/english.nsi, nsis/lang/german.nsi, 29568 nsis/lang/italian.nsi, nsis/lang/japanese.nsi, 29569 nsis/lang/simpchinese.nsi, nsis/lang/tradchinese.nsi, 29570 src/dosinst.c 29571 29572Patch 8.1.0617 (after 8.1.0616) 29573Problem: NSIS installer gets two files from the wrong directory. 29574Solution: Change ${VIMRT} to "..\". 29575Files: nsis/gvim.nsi 29576 29577Patch 8.1.0618 29578Problem: term_getjob() does not return v:null as documented. 29579Solution: Do return v:null. (Damien) Add a test. 29580Files: src/terminal.c, src/testdir/test_terminal.vim 29581 29582Patch 8.1.0619 29583Problem: :echomsg and :echoerr do not handle List and Dict like :echo does. 29584 (Daniel Hahler) 29585Solution: Be more tolerant about the expression result type. 29586Files: src/eval.c, src/proto/eval.pro, src/evalfunc.c, 29587 src/proto/evalfunc.pro, runtime/doc/eval.txt, 29588 src/testdir/test_messages.vim, src/message.c 29589 29590Patch 8.1.0620 29591Problem: Overruling CONF_ARGS from the environment no longer works. (Tony 29592 Mechelynck) 29593Solution: Do not define any CONF_ARGS by default. 29594Files: src/Makefile 29595 29596Patch 8.1.0621 29597Problem: Terminal debugger does not handle unexpected debugger exit. 29598Solution: Check for debugger job ended and close unused buffers. (Damien) 29599Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim 29600 29601Patch 8.1.0622 29602Problem: Adding quickfix items marks items as valid errors. (Daniel Hahler) 29603Solution: Check when items are valid. (Yegappan Lakshmanan, closes #3683, 29604 closes #3633) 29605Files: src/quickfix.c, src/testdir/test_quickfix.vim 29606 29607Patch 8.1.0623 29608Problem: Iterating through window frames is repeated. 29609Solution: Define FOR_ALL_FRAMES. (Yegappan Lakshmanan) 29610Files: src/ex_docmd.c, src/globals.h, src/screen.c, src/window.c 29611 29612Patch 8.1.0624 (after 8.1.0620) 29613Problem: Overruling CONF_ARGS from the environment still does not work. 29614 (Tony Mechelynck) 29615Solution: Add back CONF_ARGS next to the new numbered ones. 29616Files: src/Makefile 29617 29618Patch 8.1.0625 29619Problem: MS-Windows: terminal test fails in white console. 29620Solution: Accept both white and black background colors. 29621Files: src/testdir/test_terminal.vim 29622 29623Patch 8.1.0626 29624Problem: MS-Windows: no resize to fit parent when using --windowid. 29625Solution: Pass FALSE for "mustset" in gui_set_shellsize(). (Agorgianitis 29626 Loukas, closes #3616) 29627Files: src/gui.c 29628 29629Patch 8.1.0627 29630Problem: Python cannot handle function name of script-local function. 29631Solution: Use <SNR> instead of the special byte code. (Ozaki Kiichi, closes 29632 #3681) 29633Files: src/if_py_both.h, src/testdir/test_python2.vim, 29634 src/testdir/test_python3.vim 29635 29636Patch 8.1.0628 29637Problem: Compiler warning on MS-Windows. 29638Solution: Add type cast. (Mike Williams) 29639Files: src/if_py_both.h 29640 29641Patch 8.1.0629 29642Problem: "gn" selects the wrong text with a multi-line match. 29643Solution: Get the end position from searchit() directly. (closes #3695) 29644Files: src/testdir/test_gn.vim, src/search.c, src/proto/search.pro, 29645 src/edit.c, src/evalfunc.c, src/ex_docmd.c, src/ex_getln.c, 29646 src/normal.c 29647 29648Patch 8.1.0630 29649Problem: "wincmd p" does not work after using an autocmd window. 29650Solution: Store "prevwin" in aco_save_T. (Christian Brabandt, closes #3690) 29651Files: src/fileio.c, src/structs.h, src/testdir/test_window_cmd.vim 29652 29653Patch 8.1.0631 29654Problem: Test for :stop fails on Arch. 29655Solution: Check five lines for the expected output. (closes #3714) 29656Files: src/testdir/test_terminal.vim 29657 29658Patch 8.1.0632 29659Problem: Using sign group names is inefficient. 29660Solution: Store group names in a hash table and use a reference to them. 29661 Also remove unnecessary use of ":exe" from the tests. (Yegappan 29662 Lakshmanan, closes #3715) 29663Files: src/buffer.c, src/ex_cmds.c, src/structs.h, 29664 src/testdir/test_signs.vim 29665 29666Patch 8.1.0633 29667Problem: Crash when out of memory while opening a terminal window. 29668Solution: Handle out-of-memory more gracefully. 29669Files: src/terminal.c, src/libvterm/src/vterm.c, 29670 src/libvterm/src/state.c, src/libvterm/src/termscreen.c 29671 29672Patch 8.1.0634 29673Problem: Text properties cannot cross line boundaries. 29674Solution: Support multi-line text properties. 29675Files: src/textprop.c, src/testdir/test_textprop.vim, 29676 runtime/doc/eval.txt 29677 29678Patch 8.1.0635 29679Problem: Coverity complains about null pointer use. 29680Solution: Avoid using a null pointer. 29681Files: src/evalfunc.c 29682 29683Patch 8.1.0636 29684Problem: line2byte() gives wrong values with text properties. (Bjorn Linse) 29685Solution: Compute byte offsets differently when text properties were added. 29686 (closes #3718) 29687Files: src/structs.h, src/textprop.c, src/proto/textprop.pro, 29688 src/memline.c, src/testdir/test_textprop.vim 29689 29690Patch 8.1.0637 29691Problem: Nsis file no longer used. 29692Solution: Remove the file. (Ken Takata) 29693Files: nsis/vimrc.ini, Filelist 29694 29695Patch 8.1.0638 29696Problem: Text property highlighting is off by one column. (Bjorn Linse) 29697Solution: Update text property highlighting earlier. Let it overrule syntax 29698 highlighting. 29699Files: src/structs.h, src/screen.c 29700 29701Patch 8.1.0639 29702Problem: text properties test fails on MS-Windows 29703Solution: Set fileformat to "unix". 29704Files: src/testdir/test_textprop.vim 29705 29706Patch 8.1.0640 29707Problem: Get E14 while typing command :tab with 'incsearch' set. 29708Solution: Do not give an error when looking for the command. (Hirohito 29709 Higashi) 29710Files: src/testdir/test_search.vim, src/ex_docmd.c 29711 29712Patch 8.1.0641 29713Problem: No check for out-of-memory when converting regexp. 29714Solution: Bail out when lalloc() returns NULL. (John Marriott) 29715Files: src/regexp_nfa.c 29716 29717Patch 8.1.0642 29718Problem: swapinfo() leaks memory. (Christian Brabandt) 29719Solution: Avoid allocating the strings twice. 29720Files: src/memline.c, src/dict.c, src/proto/dict.pro 29721 29722Patch 8.1.0643 29723Problem: Computing byte offset wrong. (Bjorn Linse) 29724Solution: Use the right variable for array index. 29725Files: src/memline.c, src/testdir/test_textprop.vim 29726 29727Patch 8.1.0644 29728Problem: Finding next sign ID is inefficient. 29729Solution: Add next_sign_id. (Yegappan Lakshmanan, closes #3717) 29730Files: runtime/doc/eval.txt, src/buffer.c, src/evalfunc.c, src/ex_cmds.c, 29731 src/globals.h, src/main.c, src/proto/buffer.pro, src/structs.h, 29732 src/testdir/test_signs.vim 29733 29734Patch 8.1.0645 29735Problem: Coverity warns for possible use of NULL pointer. 29736Solution: Check return value of vterm_obtain_screen(). 29737Files: src/terminal.c 29738 29739Patch 8.1.0646 29740Problem: Cannot build with Ruby 2.6.0. 29741Solution: Add rb_ary_detransient(). (Ozaki Kiichi, closes #3724) 29742Files: src/if_ruby.c 29743 29744Patch 8.1.0647 29745Problem: MS-Windows: balloon_show() does not handle wide characters. 29746Solution: Use CreateWindowExW(). (Yasuhiro Matsumoto, closes #3708) 29747Files: src/gui_w32.c 29748 29749Patch 8.1.0648 29750Problem: Custom operators can't act upon a forced motion. (Christian 29751 Wellenbrock) 29752Solution: Add the forced motion to the mode() result. (Christian Brabandt, 29753 closes #3490) 29754Files: runtime/doc/eval.txt, src/evalfunc.c, src/globals.h, src/normal.c, 29755 src/testdir/test_mapping.vim 29756 29757Patch 8.1.0649 29758Problem: setjmp() variables defined globally are used in one file. 29759Solution: Move the declarations to that file. 29760Files: src/globals.h, src/os_unix.c 29761 29762Patch 8.1.0650 29763Problem: Command line argument -q [errorfile] is not tested. 29764Solution: Add a test. (Dominique Pelle, closes #3730) 29765Files: src/testdir/test_startup.vim 29766 29767Patch 8.1.0651 29768Problem: :args \"foo works like :args without argument. 29769Solution: Fix check for empty argument. (closes #3728) 29770Files: src/ex_cmds2.c, src/testdir/test_arglist.vim 29771 29772Patch 8.1.0652 29773Problem: Freeing memory for balloon eval too early. 29774Solution: Store the pointer in BalloonEval and free it later. (Yasuhiro 29775 Matsumoto, closes #3725) 29776Files: src/beval.h, src/gui_w32.c 29777 29778Patch 8.1.0653 (after 8.1.0651) 29779Problem: Arglist test fails on MS-windows. 29780Solution: Only use a file name with a double quote on Unix. 29781Files: src/testdir/test_arglist.vim 29782 29783Patch 8.1.0654 29784Problem: When deleting a line text property flags are not adjusted. 29785Solution: Adjust text property flags in preceding and following lines. 29786Files: src/memline.c, src/misc2.c, src/proto/misc2.pro, 29787 src/testdir/test_textprop.vim 29788 29789Patch 8.1.0655 29790Problem: When appending a line text property flags are not added. 29791Solution: Add text properties to a newly added line. 29792Files: src/memline.c, src/testdir/test_textprop.vim, src/textprop.c 29793 29794Patch 8.1.0656 29795Problem: Trying to reconnect to X server may cause problems. 29796Solution: Do no try reconnecting when exiting. (James McCoy) 29797Files: src/os_unix.c 29798 29799Patch 8.1.0657 (after 8.1.0656) 29800Problem: Get error for using regexp recursively. (Dominique Pelle) 29801Solution: Do no check if connection is desired. 29802Files: src/os_unix.c 29803 29804Patch 8.1.0658 29805Problem: Deleting signs and completion for :sign is insufficient. 29806Solution: Add deleting signs in a specified or any group from the current 29807 cursor location. Add group and priority to sign command 29808 completion. Add tests for different sign unplace commands. Update 29809 help text. Add tests for sign jump with group. Update help for 29810 sign jump. (Yegappan Lakshmanan, closes #3731) 29811Files: runtime/doc/sign.txt, src/buffer.c, src/evalfunc.c, src/ex_cmds.c, 29812 src/netbeans.c, src/proto/buffer.pro, src/proto/ex_cmds.pro, 29813 src/testdir/test_signs.vim 29814 29815Patch 8.1.0659 (after 8.1.0658) 29816Problem: Build failure without the sign feature. 29817Solution: Put the sign struct declarations outside of the #ifdef. 29818Files: src/structs.h 29819 29820Patch 8.1.0660 29821Problem: sign_unplace() may leak memory. 29822Solution: Free the group name before returning. Add a few more tests. 29823 (Yegappan Lakshmanan) 29824Files: src/evalfunc.c, src/testdir/test_signs.vim 29825 29826Patch 8.1.0661 29827Problem: Clipboard regexp might be used recursively. 29828Solution: Check for recursive use and bail out. 29829Files: src/regexp.c, src/proto/regexp.pro, src/os_unix.c 29830 29831Patch 8.1.0662 29832Problem: Needlessly searching for tilde in string. 29833Solution: Only check the first character. (James McCoy, closes #3734) 29834Files: src/misc1.c 29835 29836Patch 8.1.0663 29837Problem: Text property display wrong when 'number' is set. (Dominique 29838 Pelle) 29839Solution: Compare with "vcol" instead of "col". 29840Files: src/screen.c 29841 29842Patch 8.1.0664 29843Problem: Configure "fail-if-missing" does not apply to the enable-gui 29844 argument. (Rhialto) 29845Solution: Make configure fail if a GUI was specified and "fail-if-missing" 29846 is enabled and the GUI test fails. 29847Files: src/configure.ac, src/auto/configure 29848 29849Patch 8.1.0665 29850Problem: Text property display wrong when 'spell' is set. (Dominique Pelle) 29851Solution: Remove unnecessary assignment to char_attr. Combine attributes if 29852 needed. Add a screenshot test. 29853Files: src/screen.c, src/testdir/test_textprop.vim, 29854 src/testdir/dumps/Test_textprop_01.dump 29855 29856Patch 8.1.0666 (after 8.1.0665) 29857Problem: Text property test fails. 29858Solution: Update screenshot. 29859Files: src/testdir/dumps/Test_textprop_01.dump 29860 29861Patch 8.1.0667 (after 8.1.0665) 29862Problem: Textprop test leaves file behind. 29863Solution: Delete the file. (Dominique Pelle, closes #3743) 29864Files: src/testdir/test_textprop.vim 29865 29866Patch 8.1.0668 29867Problem: No test for overstrike mode in the command line. 29868Solution: Add a test. (Dominique Pelle, closes #3742) 29869Files: src/testdir/test_cmdline.vim 29870 29871Patch 8.1.0669 29872Problem: The ex_sign() function is too long. 29873Solution: Refactor the function. Add a bit more testing. (Yegappan 29874 Lakshmanan, closes #3745) 29875Files: src/testdir/test_signs.vim, src/ex_cmds.c 29876 29877Patch 8.1.0670 29878Problem: Macro for popup menu width is unused. 29879Solution: Remove it. (Hirohito Higashi) 29880Files: src/popupmnu.c 29881 29882Patch 8.1.0671 29883Problem: Cursor in the wrong column after auto-formatting. 29884Solution: Check for deleting more spaces than adding. (closes #3748) 29885Files: src/ops.c, src/testdir/test_textformat.vim, src/mark.c, 29886 src/proto/mark.pro, src/misc1.c 29887 29888Patch 8.1.0672 29889Problem: The Lua interface doesn't know about v:null. 29890Solution: Add Lua support for v:null. (Uji, closes #3744) 29891Files: src/if_lua.c, src/testdir/test_lua.vim 29892 29893Patch 8.1.0673 29894Problem: Functionality for signs is spread out over several files. 29895Solution: Move most of the sign functionality into sign.c. (Yegappan 29896 Lakshmanan, closes #3751) 29897Files: Filelist, src/Make_bc5.mak, src/Make_cyg_ming.mak, 29898 src/Make_dice.mak, src/Make_ivc.mak, src/Make_manx.mak, 29899 src/Make_morph.mak, src/Make_mvc.mak, src/Make_sas.mak, 29900 src/Make_vms.mms, src/Makefile, src/README.txt, src/buffer.c, 29901 src/evalfunc.c, src/ex_cmds.c, src/proto.h, src/proto/buffer.pro, 29902 src/proto/ex_cmds.pro, src/proto/sign.pro, src/sign.c 29903 29904Patch 8.1.0674 29905Problem: Leaking memory when updating a single line. 29906Solution: Do not call start_search_hl() twice. 29907Files: src/screen.c 29908 29909Patch 8.1.0675 29910Problem: Text property column is screen columns is not practical. 29911Solution: Use byte values for the column. 29912Files: src/structs.h, src/textprop.c, src/proto/textprop.pro, 29913 runtime/doc/eval.txt, runtime/doc/textprop.txt, 29914 src/testdir/test_textprop.vim, 29915 src/testdir/dumps/Test_textprop_01.dump 29916 29917Patch 8.1.0676 29918Problem: Textprop screendump test fails. 29919Solution: Add missing changes. 29920Files: src/screen.c 29921 29922Patch 8.1.0677 29923Problem: Look-behind match may use the wrong line number. (Dominique Pelle) 29924Solution: Use the line number in regsave instead of the one in behind_pos, 29925 we may be looking at the previous line. (closes #3749) 29926Files: src/regexp.c 29927 29928Patch 8.1.0678 29929Problem: Text properties as not adjusted for inserted text. 29930Solution: Adjust text properties when inserting text. 29931Files: src/misc1.c, src/proto/misc1.pro, src/textprop.c, 29932 src/testdir/test_textprop.vim, 29933 src/testdir/dumps/Test_textprop_01.dump 29934 29935Patch 8.1.0679 29936Problem: Sign functions do not take buffer argument as documented. 29937Solution: Use get_buf_tv(). (Yegappan Lakshmanan, closes #3755) 29938Files: src/evalfunc.c, src/testdir/test_signs.vim 29939 29940Patch 8.1.0680 29941Problem: Not easy to see what features are unavailable. 29942Solution: Highlight disabled features in the :version output. (Nazri Ramliy, 29943 closes #3756) 29944Files: src/version.c 29945 29946Patch 8.1.0681 29947Problem: Text properties as not adjusted for deleted text. 29948Solution: Adjust text properties when backspacing to delete text. 29949Files: src/edit.c, src/misc1.c, src/testdir/test_textprop.vim, 29950 src/testdir/dumps/Test_textprop_01.dump 29951 29952Patch 8.1.0682 29953Problem: Text properties are not adjusted when backspacing replaced text. 29954Solution: Keep text properties on text restored in replace mode. 29955Files: src/edit.c, src/textprop.c, src/globals.h, 29956 src/testdir/test_textprop.vim 29957 29958Patch 8.1.0683 29959Problem: Spell highlighting does not always end. (Gary Johnson) 29960Solution: Also reset char_attr when spell errors are highlighted. 29961Files: src/screen.c 29962 29963Patch 8.1.0684 29964Problem: Warnings from 64-bit compiler. 29965Solution: Add type casts. (Mike Williams) 29966Files: src/memline.c, src/textprop.c 29967 29968Patch 8.1.0685 29969Problem: get_buf_tv() is named inconsistently. 29970Solution: Rename it to tv_get_buf(). (Yegappan Lakshmanan, closes #3759) 29971Files: src/evalfunc.c, src/proto/evalfunc.pro, src/terminal.c, 29972 src/textprop.c 29973 29974Patch 8.1.0686 29975Problem: When 'y' is in 'cpoptions' yanking for the clipboard changes redo. 29976Solution: Do not use the 'y' flag when "gui_yank" is TRUE. (Andy Massimino, 29977 closes #3760) 29978Files: src/normal.c 29979 29980Patch 8.1.0687 29981Problem: Sentence text object in Visual mode is not tested. 29982Solution: Add a test. (Dominique Pelle, closes #3758) 29983Files: src/testdir/test_visual.vim 29984 29985Patch 8.1.0688 29986Problem: Text properties are not restored by undo. 29987Solution: Also save text properties for undo. 29988Files: src/structs.h, src/undo.c, src/memline.c, src/proto/memline.pro 29989 29990Patch 8.1.0689 (after 8.1.0688) 29991Problem: Undo with text properties not tested. 29992Solution: Add a test function. 29993Files: src/testdir/test_textprop.vim 29994 29995Patch 8.1.0690 29996Problem: setline() and setbufline() do not clear text properties. 29997Solution: Clear text properties when setting the text. 29998Files: src/evalfunc.c, src/testdir/test_textprop.vim 29999 30000Patch 8.1.0691 30001Problem: Text properties are not adjusted for :substitute. 30002Solution: Adjust text properties as well as possible. 30003Files: src/ex_cmds.c, src/textprop.c, src/proto/textprop.pro, 30004 src/testdir/test_textprop.vim 30005 30006Patch 8.1.0692 30007Problem: If a buffer was deleted a channel can't write to it. 30008Solution: When the buffer exists but was unloaded, prepare it for writing. 30009 (closes #3764) 30010Files: src/channel.c, src/testdir/test_channel.vim 30011 30012Patch 8.1.0693 (after 8.1.0692) 30013Problem: Channel test fails sometimes. 30014Solution: Avoid race condition. 30015Files: src/testdir/test_channel.vim 30016 30017Patch 8.1.0694 30018Problem: When using text props may free memory that is not allocated. 30019 (Andy Massimino) 30020Solution: Allocate the line when adjusting text props. (closes #3766) 30021Files: src/textprop.c 30022 30023Patch 8.1.0695 30024Problem: Internal error when using :popup. 30025Solution: When a menu only exists in Terminal mode give an error. (Naruhiko 30026 Nishino, closes #3765) 30027Files: runtime/doc/gui.txt, src/globals.h, src/menu.c, src/popupmnu.c, 30028 src/testdir/test_popup.vim 30029 30030Patch 8.1.0696 30031Problem: When test_edit fails 'insertmode' may not be reset and the next 30032 test may get stuck. (James McCoy) 30033Solution: Always reset 'insertmode' after executing a test. Avoid that an 30034 InsertCharPre autocommand or a 'complete' function can change the 30035 state. (closes #3768) 30036Files: src/testdir/runtest.vim, src/edit.c 30037 30038Patch 8.1.0697 30039Problem: ":sign place" requires the buffer argument. 30040Solution: Make the argument optional. Also update the help and clean up the 30041 sign test. (Yegappan Lakshmanan, closes #3767) 30042Files: runtime/doc/eval.txt, runtime/doc/sign.txt, src/sign.c, 30043 src/testdir/test_signs.vim 30044 30045Patch 8.1.0698 30046Problem: Clearing the window is used too often, causing the command line 30047 to be cleared when opening a tab. (Miroslav Koškár) 30048Solution: Use NOT_VALID instead of CLEAR. (suggested by Jason Franklin, 30049 closes #630) Also do this for a few other places where clearing 30050 the screen isn't really needed. 30051Files: src/window.c 30052 30053Patch 8.1.0699 30054Problem: Compiler warning for uninitialized variable. (Tony Mechelynck) 30055Solution: Add a dummy init. 30056Files: src/edit.c 30057 30058Patch 8.1.0700 (after 8.1.0698) 30059Problem: Using "gt" sometimes does not redraw a tab. (Jason Franklin) 30060Solution: Always set must_redraw in redraw_all_later(). 30061Files: src/screen.c 30062 30063Patch 8.1.0701 30064Problem: Sign message not translated and inconsistent spacing. 30065Solution: Add _() for translation. Add a space. (Ken Takata) Also use 30066 MSG_BUF_LEN instead of BUFSIZ. 30067Files: src/sign.c, src/testdir/test_signs.vim 30068 30069Patch 8.1.0702 30070Problem: ":sign place" only uses the current buffer. 30071Solution: List signs for all buffers when there is no buffer argument. 30072 Fix error message for invalid buffer name in sign_place(). 30073 (Yegappan Lakshmanan, closes #3774) 30074Files: runtime/doc/eval.txt, src/evalfunc.c, src/sign.c, 30075 src/testdir/test_signs.vim 30076 30077Patch 8.1.0703 30078Problem: Compiler warnings with 64-bit compiler. 30079Solution: Change types, add type casts. (Mike Williams) 30080Files: src/textprop.c, src/undo.c 30081 30082Patch 8.1.0704 30083Problem: Building with Ruby 2.6 gives compiler warnings. 30084Solution: Define a stub for rb_ary_detransient. (Ozaki Kiichi, closes #3779) 30085Files: src/if_ruby.c 30086 30087Patch 8.1.0705 30088Problem: :colorscheme isn't tested enough 30089Solution: Improve test coverage of :colorscheme. (Dominique Pelle, closes 30090 #3777) Remove unnecessary sleep. 30091Files: src/testdir/test_gui.vim 30092 30093Patch 8.1.0706 30094Problem: Tabline is not always redrawn when something that is used in 30095 'tabline' changes. 30096Solution: Add ":redrawtabline" so that a plugin can at least cause the 30097 redraw when needed. 30098Files: runtime/doc/various.txt, runtime/doc/options.txt, src/ex_docmd.c, 30099 src/ex_cmds.h, src/screen.c, src/proto/screen.pro, 30100 src/ex_cmdidxs.h, src/testdir/test_tabline.vim 30101 30102Patch 8.1.0707 30103Problem: Text property columns are not adjusted for changed indent. 30104Solution: Adjust text properties. 30105Files: src/misc1.c, src/testdir/test_textprop.vim 30106 30107Patch 8.1.0708 30108Problem: Third argument for redrawWinline() is always FALSE. 30109Solution: Drop the argument. (neovim #9479) 30110Files: src/edit.c, src/move.c, src/screen.c, src/proto/screen.pro 30111 30112Patch 8.1.0709 30113Problem: Windows are updated for every added/deleted sign. 30114Solution: Do not call update_debug_sign(). Only redraw when the line with 30115 the sign is visible. (idea from neovim #9479) 30116Files: src/sign.c, src/screen.c, src/proto/screen.pro 30117 30118Patch 8.1.0710 30119Problem: When using timers may wait for job exit quite long. 30120Solution: Return from ui_wait_for_chars_or_timer() when a job or channel 30121 needs to be handled. (Ozaki Kiichi, closes #3783) 30122Files: src/ui.c, src/testdir/test_channel.vim 30123 30124Patch 8.1.0711 30125Problem: Test files still use function!. 30126Solution: Remove the exclamation mark. Fix overwriting a function. 30127Files: src/testdir/test49.vim, src/testdir/test_autocmd.vim, 30128 src/testdir/test_charsearch.vim, 30129 src/testdir/test_charsearch_utf8.vim, 30130 src/testdir/test_display.vim, src/testdir/test_edit.vim, 30131 src/testdir/test_eval_func.vim, src/testdir/test_fnameescape.vim, 30132 src/testdir/test_getcwd.vim, src/testdir/test_highlight.vim, 30133 src/testdir/test_hlsearch.vim, src/testdir/test_ins_complete.vim, 30134 src/testdir/test_lambda.vim, src/testdir/test_listdict.vim, 30135 src/testdir/test_listlbr.vim, src/testdir/test_listlbr_utf8.vim, 30136 src/testdir/test_marks.vim, src/testdir/test_matchadd_conceal.vim, 30137 src/testdir/test_matchadd_conceal_utf8.vim, 30138 src/testdir/test_messages.vim, src/testdir/test_number.vim, 30139 src/testdir/test_options.vim, src/testdir/test_partial.vim, 30140 src/testdir/test_smartindent.vim, src/testdir/test_substitute.vim, 30141 src/testdir/test_system.vim, src/testdir/test_terminal.vim, 30142 src/testdir/test_textobjects.vim, src/testdir/test_utf8.vim, 30143 src/testdir/test_utf8_comparisons.vim, 30144 src/testdir/test_vartabs.vim, src/testdir/test_vimscript.vim, 30145 src/testdir/test_window_cmd.vim, src/testdir/test_xxd.vim 30146 30147Patch 8.1.0712 30148Problem: MS-Windows build instructions are a bit outdated. 30149Solution: Update the instructions. (Ken Takata) 30150Files: src/INSTALLpc.txt 30151 30152Patch 8.1.0713 30153Problem: Images for NSIS take up too much space. 30154Solution: Put the images in a zip file. 30155Files: nsis/icons.zip, nsis/icons/disabled.bmp, nsis/icons/enabled.bmp, 30156 nsis/icons/header.bmp, nsis/icons/header.svg, 30157 nsis/icons/un_header.bmp, nsis/icons/uninstall.bmp, 30158 nsis/icons/vim_16c.ico, nsis/icons/vim_uninst_16c.ico, 30159 nsis/icons/welcome.bmp, nsis/icons/welcome.svg, 30160 nsis/README.txt, Filelist, Makefile 30161 30162Patch 8.1.0714 30163Problem: Unnecessary #if lines in GTK code. 30164Solution: Remove the #if. (Ken Takata, closes #3785) 30165Files: src/gui_beval.c, src/if_mzsch.c 30166 30167Patch 8.1.0715 30168Problem: Superfluous call to redraw_win_later(). 30169Solution: Remove the call. 30170Files: src/move.c 30171 30172Patch 8.1.0716 30173Problem: Get warning message when 'completefunc' returns nothing. 30174Solution: Allow for returning v:none to suppress the warning message. 30175 (Yasuhiro Matsumoto, closes #3789) 30176Files: runtime/doc/insert.txt, src/edit.c, 30177 src/testdir/test_ins_complete.vim 30178 30179Patch 8.1.0717 30180Problem: There is no function for the ":sign jump" command. 30181Solution: Add the sign_jump() function. (Yegappan Lakshmanan, closes #3780) 30182Files: runtime/doc/eval.txt, runtime/doc/sign.txt, 30183 runtime/doc/usr_41.txt, src/evalfunc.c, src/proto/sign.pro, 30184 src/sign.c, src/testdir/test_signs.vim 30185 30186Patch 8.1.0718 30187Problem: A couple compiler warnings. 30188Solution: Rename shadowed variables. Add UNUSED. 30189Files: src/misc1.c 30190 30191Patch 8.1.0719 30192Problem: Too many #ifdefs. 30193Solution: Always build with the +visualextra feature. 30194Files: src/evalfunc.c, src/version.c, src/normal.c, src/ops.c, 30195 src/feature.h, runtime/doc/various.txt 30196 30197Patch 8.1.0720 30198Problem: Cannot easily change the current quickfix list index. 30199Solution: Add the "idx" argument to setqflist(). (Yegappan Lakshmanan, 30200 closes #3701) 30201Files: runtime/doc/eval.txt, runtime/doc/quickfix.txt, src/quickfix.c, 30202 src/testdir/test_quickfix.vim 30203 30204Patch 8.1.0721 30205Problem: Conceal mode is not sufficiently tested. 30206Solution: Add screendump tests. Check all 'concealcursor' values. 30207Files: src/testdir/test_conceal.vim, src/Make_all.mak, 30208 src/testdir/Make_all.mak 30209 src/testdir/dumps/Test_conceal_two_windows_01.dump, 30210 src/testdir/dumps/Test_conceal_two_windows_02.dump, 30211 src/testdir/dumps/Test_conceal_two_windows_03.dump, 30212 src/testdir/dumps/Test_conceal_two_windows_04.dump, 30213 src/testdir/dumps/Test_conceal_two_windows_05.dump, 30214 src/testdir/dumps/Test_conceal_two_windows_06i.dump, 30215 src/testdir/dumps/Test_conceal_two_windows_06v.dump, 30216 src/testdir/dumps/Test_conceal_two_windows_06c.dump, 30217 src/testdir/dumps/Test_conceal_two_windows_06n.dump, 30218 src/testdir/dumps/Test_conceal_two_windows_07i.dump, 30219 src/testdir/dumps/Test_conceal_two_windows_07v.dump, 30220 src/testdir/dumps/Test_conceal_two_windows_07c.dump, 30221 src/testdir/dumps/Test_conceal_two_windows_07n.dump, 30222 src/testdir/dumps/Test_conceal_two_windows_08i.dump, 30223 src/testdir/dumps/Test_conceal_two_windows_08v.dump, 30224 src/testdir/dumps/Test_conceal_two_windows_08c.dump, 30225 src/testdir/dumps/Test_conceal_two_windows_08n.dump, 30226 src/testdir/dumps/Test_conceal_two_windows_09i.dump, 30227 src/testdir/dumps/Test_conceal_two_windows_09v.dump, 30228 src/testdir/dumps/Test_conceal_two_windows_09c.dump, 30229 src/testdir/dumps/Test_conceal_two_windows_09n.dump 30230 30231Patch 8.1.0722 30232Problem: Cannot build without the virtualedit feature. 30233Solution: Make getviscol2() always available. 30234Files: src/misc2.c, src/proto/misc2.pro, src/ops.c 30235 30236Patch 8.1.0723 30237Problem: Cannot run specific test when in src/testdir the same was as in 30238 the src directory. 30239Solution: Move build rule to src/testdir/Makefile. 30240Files: src/testdir/Make_all.mak, src/testdir/Make_amiga.mak, 30241 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 30242 src/Makefile, src/Make_all.mak, src/testdir/Makefile, 30243 src/testdir/README.txt, src/Make_mvc.mak 30244 30245Patch 8.1.0724 30246Problem: Build for MinGW fails. 30247Solution: Avoid specifying dependencies in included makefile. 30248Files: src/testdir/Make_all.mak, src/testdir/Makefile, 30249 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak 30250 30251Patch 8.1.0725 30252Problem: Conceal mode is not completely tested. 30253Solution: Add tests for moving the cursor in Insert mode. 30254Files: src/testdir/test_conceal.vim, 30255 src/testdir/dumps/Test_conceal_two_windows_10.dump, 30256 src/testdir/dumps/Test_conceal_two_windows_11.dump, 30257 src/testdir/dumps/Test_conceal_two_windows_12.dump, 30258 src/testdir/dumps/Test_conceal_two_windows_13.dump 30259 30260Patch 8.1.0726 30261Problem: Redrawing specifically for conceal feature. 30262Solution: Use generic redrawing methods. 30263Files: src/edit.c, src/gui.c, src/main.c, src/normal.c, src/screen.c, 30264 src/proto/screen.pro, src/window.c 30265 30266Patch 8.1.0727 30267Problem: Compiler warning for sprintf() argument. 30268Solution: Add type cast. 30269Files: src/dosinst.c 30270 30271Patch 8.1.0728 30272Problem: Cannot avoid breaking after a single space. 30273Solution: Add the 'p' flag to 'formatoptions'. (Tom Ryder) 30274Files: runtime/doc/change.txt, src/edit.c, src/option.h, 30275 src/testdir/test_textformat.vim 30276 30277Patch 8.1.0729 30278Problem: There is a SourcePre autocommand event but not a SourcePost. 30279Solution: Add the SourcePost autocommand event. (closes #3739) 30280Files: src/vim.h, src/fileio.c, src/ex_cmds2.c, runtime/doc/autocmd.txt, 30281 src/testdir/test_source.vim, src/testdir/Make_all.mak 30282 30283Patch 8.1.0730 30284Problem: Compiler warning for get_buf_arg() unused. 30285Solution: Add #ifdef. (John Marriott) 30286Files: src/evalfunc.c 30287 30288Patch 8.1.0731 30289Problem: JS encoding does not handle negative infinity. 30290Solution: Add support for negative infinity for JS encoding. (Dominique 30291 Pelle, closes #3792) 30292Files: runtime/doc/eval.txt, src/json.c, src/testdir/test_json.vim 30293 30294Patch 8.1.0732 30295Problem: Cannot build without the eval feature. 30296Solution: Make a copy of the sourced file name. 30297Files: src/ex_cmds2.c 30298 30299Patch 8.1.0733 30300Problem: Too many #ifdefs for the multi-byte feature. 30301Solution: Tentatively always enable the multi-byte feature. If you have a 30302 problem with this, please discuss on the Vim maillist. 30303Files: src/configure.ac, src/auto/configure, src/feature.h, src/Makefile, 30304 src/Make_bc5.mak, src/Make_cyg_ming.mak, src/Make_mvc.mak 30305 30306Patch 8.1.0734 30307Problem: The hlsearch state is not stored in a session file. 30308Solution: Add "nohlsearch" if appropriate. (Jason Franklin) 30309Files: src/ex_docmd.c, src/testdir/test_mksession.vim 30310 30311Patch 8.1.0735 30312Problem: Cannot handle binary data. 30313Solution: Add the Blob type. (Yasuhiro Matsumoto, closes #3638) 30314Files: runtime/doc/eval.txt, runtime/doc/if_perl.txt, 30315 runtime/doc/if_ruby.txt, src/Make_cyg_ming.mak, src/Make_mvc.mak, 30316 src/Makefile, src/blob.c, src/channel.c, src/eval.c, 30317 src/evalfunc.c, src/if_perl.xs, src/if_py_both.h, src/if_python.c, 30318 src/if_python3.c, src/if_ruby.c, src/json.c, src/netbeans.c, 30319 src/proto.h, src/proto/blob.pro, src/proto/channel.pro, 30320 src/structs.h, src/testdir/Make_all.mak, src/vim.h, src/globals.h, 30321 src/testdir/test_blob.vim, src/testdir/test_channel.vim 30322 30323Patch 8.1.0736 30324Problem: Code for Blob not sufficiently tested. 30325Solution: Add more tests. Fix uncovered crash. Add test_null_blob(). 30326Files: src/testdir/test_blob.vim, src/testdir/test_assign.vim, src/eval.c, 30327 src/testdir/test_eval_stuff.vim, src/testdir/test_lambda.vim, 30328 runtime/doc/eval.txt, src/evalfunc.c, src/blob.c, 30329 src/testdir/test49.vim 30330 30331Patch 8.1.0737 30332Problem: Compiler warning for uninitialized variable. 30333Solution: Add initialization. (John Marriott) 30334Files: src/eval.c 30335 30336Patch 8.1.0738 30337Problem: Using freed memory, for loop over blob leaks memory. 30338Solution: Clear pointer after freeing memory. Decrement reference count 30339 after for loop over blob. 30340Files: src/eval.c 30341 30342Patch 8.1.0739 30343Problem: Text objects in not sufficiently tested. 30344Solution: Add a few more test cases. (Dominique Pelle, closes #3795) 30345Files: src/testdir/test_visual.vim 30346 30347Patch 8.1.0740 30348Problem: Tcl test fails. 30349Solution: When the argument is empty don't give an error, instead rely on 30350 the error reporting higher up. 30351Files: src/eval.c 30352 30353Patch 8.1.0741 30354Problem: Viminfo with Blob is not tested. 30355Solution: Extend the viminfo test. Fix reading a blob. Fixed storing a 30356 special variable value. 30357Files: src/testdir/test_viminfo.vim, src/eval.c, src/blob.c, 30358 src/proto/blob.pro 30359 30360Patch 8.1.0742 30361Problem: Not all Blob operations are tested. 30362Solution: Add more testing for Blob. 30363Files: src/testdir/test_blob.vim, src/evalfunc.c, 30364 src/testdir/test_eval_stuff.vim 30365 30366Patch 8.1.0743 30367Problem: Giving error messages is not flexible. 30368Solution: Add semsg(). Change argument from "char_u *" to "char *", also 30369 for msg() and get rid of most MSG macros. (Ozaki Kiichi, closes 30370 #3302) Also make emsg() accept a "char *" argument. Get rid of 30371 an enormous number of type casts. 30372Files: src/blob.c, src/blowfish.c, src/buffer.c, src/channel.c, 30373 src/crypt.c, src/dict.c, src/diff.c, src/digraph.c, src/edit.c, 30374 src/eval.c, src/evalfunc.c, src/ex_cmds.c, src/ex_cmds.h, 30375 src/ex_cmds2.c, src/ex_docmd.c, src/ex_eval.c, src/ex_getln.c, 30376 src/farsi.h, src/fileio.c, src/fold.c, src/getchar.c, 30377 src/globals.h, src/gui.c, src/gui_at_fs.c, src/gui_at_sb.c, 30378 src/gui_beval.c, src/gui_gtk_x11.c, src/gui_mac.c, 30379 src/gui_photon.c, src/gui_w32.c, src/gui_x11.c, src/hangulin.c, 30380 src/hardcopy.c, src/hashtab.c, src/if_cscope.c, src/if_lua.c, 30381 src/if_mzsch.c, src/if_perl.xs, src/if_py_both.h, src/if_python.c, 30382 src/if_python3.c, src/if_ruby.c, src/if_tcl.c, src/if_xcmdsrv.c, 30383 src/json.c, src/list.c, src/main.c, src/mark.c, src/mbyte.c, 30384 src/memfile.c, src/memline.c, src/menu.c, src/message.c, 30385 src/misc1.c, src/misc2.c, src/netbeans.c, src/normal.c, src/ops.c, 30386 src/option.c, src/os_amiga.c, src/os_mswin.c, src/os_unix.c, 30387 src/os_win32.c, src/popupmnu.c, src/proto.h, src/proto/buffer.pro, 30388 src/proto/digraph.pro, src/proto/ex_docmd.pro, 30389 src/proto/ex_eval.pro, src/proto/ex_getln.pro, 30390 src/proto/hardcopy.pro, src/proto/mbyte.pro, 30391 src/proto/message.pro, src/proto/misc2.pro, src/proto/option.pro, 30392 src/proto/spell.pro, src/quickfix.c, src/regexp.c, 30393 src/regexp_nfa.c, src/search.c, src/sign.c, src/spell.c, 30394 src/spellfile.c, src/structs.h, src/syntax.c, src/tag.c, 30395 src/term.c, src/terminal.c, src/textprop.c, src/ui.c, src/undo.c, 30396 src/userfunc.c, src/version.c, src/vim.h, src/window.c, 30397 30398Patch 8.1.0744 (after 8.1.0743) 30399Problem: Compiler warnings for signed/unsigned strings. 30400Solution: A few more type cast fixes. 30401Files: src/option.c, src/if_perl.xs, src/if_py_both.h, src/integration.c 30402 30403Patch 8.1.0745 30404Problem: Compiler warnings for signed/unsigned string. 30405Solution: Remove type casts. (John Marriott) 30406Files: src/ex_docmd.c, src/mbyte.c 30407 30408Patch 8.1.0746 30409Problem: Highlighting not updated with conceal and 'cursorline'. (Jason 30410 Franklin) 30411Solution: Do not use a zero line number. Check if 'conceallevel' is set for 30412 the current window. 30413Files: src/main.c, src/testdir/test_conceal.vim, 30414 src/testdir/dumps/Test_conceal_cul_01.dump, 30415 src/testdir/dumps/Test_conceal_cul_02.dump, 30416 src/testdir/dumps/Test_conceal_cul_03.dump 30417 30418Patch 8.1.0747 30419Problem: map() with a bad expression doesn't give an error. (Ingo Karkat) 30420Solution: Check for giving an error message. (closes #3800) 30421Files: src/eval.c, src/testdir/test_filter_map.vim 30422 30423Patch 8.1.0748 30424Problem: Using sprintf() instead of semsg(). 30425Solution: Use semsg(). Fix bug with E888. (Ozaki Kiichi, closes #3801) 30426Files: src/regexp.c 30427 30428Patch 8.1.0749 (after 8.1.0747) 30429Problem: Error message contains garbage. (Dominique Pelle) 30430Solution: Use correct pointer to failed expression. 30431Files: src/eval.c 30432 30433Patch 8.1.0750 30434Problem: When the last sign is deleted the signcolumn may not be removed 30435 even though 'signcolumn' is "auto". 30436Solution: When deleting the last sign redraw the buffer. (Dominique Pelle, 30437 closes #3803, closes #3804) 30438Files: src/sign.c 30439 30440Patch 8.1.0751 30441Problem: Some regexp errors are not tested. 30442Solution: Add a test function. 30443Files: src/testdir/test_regexp_latin.vim 30444 30445Patch 8.1.0752 30446Problem: One more compiler warning for signed/unsigned string. (Tony 30447 Mechelynck) 30448Solution: Remove type cast. 30449Files: src/ex_docmd.c 30450 30451Patch 8.1.0753 30452Problem: printf format not checked for semsg(). 30453Solution: Add GNUC attribute and fix reported problems. (Dominique Pelle, 30454 closes #3805) 30455Files: src/buffer.c, src/diff.c, src/eval.c, src/evalfunc.c, 30456 src/ex_docmd.c, src/if_cscope.c, src/netbeans.c, src/proto.h, 30457 src/proto/message.pro, src/quickfix.c, src/regexp_nfa.c, 30458 src/sign.c, src/spellfile.c, src/window.c, src/gui_x11.c 30459 30460Patch 8.1.0754 30461Problem: Preferred column is lost when setting 'cursorcolumn'. 30462Solution: Change option flag to P_RWINONLY. (Takayuki Kurosawa, 30463 closes #3806) 30464Files: src/option.c, src/testdir/test_cursor_func.vim 30465 30466Patch 8.1.0755 30467Problem: Error message for get() on a Blob with invalid index. 30468Solution: Return an empty Blob, like get() on a List does. 30469Files: src/evalfunc.c, src/testdir/test_blob.vim 30470 30471Patch 8.1.0756 30472Problem: copy() does not make a copy of a Blob. 30473Solution: Make a copy. 30474Files: src/eval.c, src/testdir/test_blob.vim 30475 30476Patch 8.1.0757 30477Problem: Not enough documentation for Blobs. 30478Solution: Add a section about Blobs. 30479Files: runtime/doc/eval.txt 30480 30481Patch 8.1.0758 30482Problem: Font number is always one instead of the actual. 30483Solution: Use "%d" instead of "1". (Ken Takata) 30484Files: src/gui_x11.c 30485 30486Patch 8.1.0759 30487Problem: Showing two characters for tab is limited. 30488Solution: Allow for a third character for "tab:" in 'listchars'. (Nathaniel 30489 Braun, Ken Takata, closes #3810) 30490Files: runtime/doc/options.txt, src/globals.h, src/message.c, 30491 src/option.c, src/screen.c, src/testdir/test_listchars.vim 30492 30493Patch 8.1.0760 30494Problem: No proper test for using 'termencoding'. 30495Solution: Add a screendump test. Fix using double width characters in a 30496 screendump. 30497Files: src/terminal.c, src/testdir/test_termencoding.vim, 30498 src/testdir/Make_all.mak, 30499 src/testdir/dumps/Test_tenc_euc_jp_01.dump 30500 30501Patch 8.1.0761 30502Problem: Default value for brief_wait is wrong. 30503Solution: Make the default FALSE. (Ozaki Kiichi, closes #3812, closes #3799) 30504Files: src/ui.c 30505 30506Patch 8.1.0762 30507Problem: Compiler warning. 30508Solution: Add type cast. (Mike Williams) 30509Files: src/channel.c 30510 30511Patch 8.1.0763 30512Problem: Nobody is using the Sun Workshop support. 30513Solution: Remove the Workshop support. 30514Files: runtime/doc/workshop.txt, runtime/doc/help.txt, 30515 runtime/doc/netbeans.txt, src/Makefile, src/auto/configure, 30516 src/beval.c, src/buffer.c, src/config.h.in, src/config.mk.in, 30517 src/configure.ac, src/evalfunc.c, src/ex_cmds.c, src/ex_cmds.h, 30518 src/ex_docmd.c, src/feature.h, src/fileio.c, src/globals.h, 30519 src/gui.c, src/gui_beval.c, src/gui_motif.c, src/gui_x11.c, 30520 src/integration.c, src/integration.h, src/main.c, src/misc2.c, 30521 src/nbdebug.c, src/netbeans.c, src/proto.h, 30522 src/proto/workshop.pro, src/ui.c, src/version.c, src/vim.h, 30523 src/workshop.c, src/workshop.h, src/wsdebug.c, src/wsdebug.h, 30524 src/ex_cmdidxs.h 30525 30526Patch 8.1.0764 30527Problem: List of distributed files is outdated. 30528Solution: Remove workshop files. Add blob files. 30529Files: Filelist 30530 30531Patch 8.1.0765 30532Problem: String format of a Blob can't be parsed back. 30533Solution: Use 0z format. 30534Files: src/blob.c, src/eval.c, src/testdir/test_blob.vim 30535 30536Patch 8.1.0766 30537Problem: Various problems when using Vim on VMS. 30538Solution: Various fixes. Define long_long_T. (Zoltan Arpadffy) 30539Files: src/eval.c, src/feature.h, src/fileio.c, src/gui_motif.c, 30540 src/gui_x11.c, src/gui_xmebw.c, src/json.c, src/Make_vms.mms, 30541 src/ops.c, src/os_vms_conf.h, src/vim.h, src/xdiff/xdiff.h, 30542 src/xdiff/xinclude.h 30543 30544Patch 8.1.0767 30545Problem: When deleting lines at the bottom signs are misplaced. 30546Solution: Properly update the line number of signs at the end of a buffer 30547 after a delete/undo operation. (Yegappan Lakshmanan, closes #3798) 30548Files: src/sign.c, src/testdir/test_signs.vim 30549 30550Patch 8.1.0768 30551Problem: Updating completions may cause the popup menu to flicker. 30552Solution: Avoid updating the text below the popup menu before drawing the 30553 popup menu. 30554Files: src/popupmnu.c, src/proto/popupmnu.pro, src/edit.c, src/screen.c 30555 30556Patch 8.1.0769 30557Problem: :stop is covered in two tests. 30558Solution: Remove Test_stop_in_terminal(). Make other test exit Vim cleanly. 30559 (Ozaki Kiichi, closes #3814) 30560Files: src/testdir/test_terminal.vim, src/testdir/test_suspend.vim 30561 30562Patch 8.1.0770 30563Problem: Inconsistent use of ELAPSED_FUNC. 30564Solution: Consistently use ELAPSED_FUNC. Also turn ELAPSED_TYPE into a 30565 typedef. (Ozaki Kiichi, closes #3815) 30566Files: src/channel.c, src/gui.c, src/misc1.c, src/os_unix.c, src/vim.h 30567 30568Patch 8.1.0771 30569Problem: Some shell filetype patterns end in a star. 30570Solution: Make sure that patterns not ending in a star are preferred. 30571Files: runtime/filetype.vim, runtime/autoload/dist/ft.vim 30572 30573Patch 8.1.0772 30574Problem: The sign_define_by_name() function is too long. 30575Solution: Split it into smaller functions. (Yegappan Lakshmanan, 30576 closes #3819) 30577Files: src/sign.c 30578 30579Patch 8.1.0773 30580Problem: Not all crypt code is tested. 30581Solution: Disable unused crypt code. Add more test coverage. 30582Files: src/structs.h, src/crypt.c, src/testdir/test_crypt.vim, 30583 src/proto/crypt.pro, src/fileio.c 30584 30585Patch 8.1.0774 30586Problem: VMS build is missing the blob file. 30587Solution: Add the blob file to the build rules. (Zoltan Arpadffy) 30588Files: src/Make_vms.mms, runtime/doc/os_vms.txt 30589 30590Patch 8.1.0775 30591Problem: Matching too many files as zsh. (Danek Duvall) 30592Solution: Be more specific with zsh filetype patterns. 30593Files: runtime/filetype.vim 30594 30595Patch 8.1.0776 30596Problem: Travis does not build a version without GUI on Linux. 30597Solution: Add an environment for tiny features without GUI. 30598Files: .travis.yml 30599 30600Patch 8.1.0777 30601Problem: Win32: using pipes for channel does not work well. 30602Solution: Use a larger buffer and handle overlaps. (Yasuhiro Matsumoto, 30603 closes #3782) 30604Files: src/channel.c, src/os_win32.c 30605 30606Patch 8.1.0778 30607Problem: Terminal test fails on MS-Windows. 30608Solution: Temporarily skip the test on MS-Windows. Do run it both in 30609 terminal and GUI on other systems. 30610Files: src/testdir/test_terminal.vim 30611 30612Patch 8.1.0779 30613Problem: Argument for message functions is inconsistent. 30614Solution: Make first argument to msg() "char *". 30615Files: src/buffer.c, src/crypt.c, src/edit.c, src/ex_cmds.c, src/eval.c, 30616 src/ex_cmds2.c, src/ex_docmd.c, src/ex_getln.c, src/farsi.c, 30617 src/if_cscope.c, src/fileio.c, src/getchar.c, src/globals.h, 30618 src/gui.c, src/if_perl.xs, src/netbeans.c, src/gui_w32.c, 30619 src/hardcopy.c, src/if_mzsch.c, src/if_py_both.h, src/if_ruby.c, 30620 src/if_tcl.c, src/mark.c, src/mbyte.c, src/menu.c, src/memline.c, 30621 src/message.c, src/misc1.c, src/misc2.c, src/normal.c, src/ops.c, 30622 src/option.c, src/os_amiga.c, src/os_unix.c, src/os_win32.c, 30623 src/proto/message.pro, src/quickfix.c, src/sign.c, src/regexp.c, 30624 src/ui.c, src/screen.c, src/search.c, src/spell.c, 30625 src/spellfile.c, src/syntax.c, src/tag.c, src/term.c, src/undo.c, 30626 src/userfunc.c, src/version.c, src/vim.h, src/window.c, 30627 src/proto/eval.pro, src/evalfunc.c, src/ex_eval.c, src/farsi.h 30628 30629Patch 8.1.0780 30630Problem: Terminal test fails on Mac. 30631Solution: Skip the test on Mac. 30632Files: src/testdir/test_terminal.vim 30633 30634Patch 8.1.0781 30635Problem: Build error when using if_xcmdsrv.c. 30636Solution: Add missing part of 8.1.0779. 30637Files: src/if_xcmdsrv.c 30638 30639Patch 8.1.0782 30640Problem: Win32: cursor blinks when Vim is not active. 30641Solution: Remove call to setActiveWindow(). (Yasuhiro Matsumoto, 30642 closes #3778) 30643Files: src/gui_w32.c, src/proto/gui_w32.pro, src/menu.c 30644 30645Patch 8.1.0783 30646Problem: Compiler warning for signed/unsigned. 30647Solution: Add type cast. Change type of buffer. (Ozaki Kiichi, closes #3827) 30648Files: src/main.c, src/message.c 30649 30650Patch 8.1.0784 30651Problem: Messy indent in if statement. 30652Solution: Improve structure of if statement. (Ozaki Kiichi, closes #3826) 30653Files: src/os_win32.c 30654 30655Patch 8.1.0785 30656Problem: Depending on the configuration some functions are unused. 30657Solution: Add more #ifdefs, remove unused functions. (Dominique Pelle, 30658 closes #3822) 30659Files: src/buffer.c, src/channel.c, src/ex_cmds2.c, src/ex_docmd.c, 30660 src/fileio.c, src/getchar.c, src/gui_gtk_x11.c, src/hashtab.c, 30661 src/json.c, src/mbyte.c, src/message.c, src/misc1.c, src/misc2.c, 30662 src/ops.c, src/option.c, src/os_unix.c, src/proto/os_unix.pro, 30663 src/proto/regexp.pro, src/proto/terminal.pro, src/regexp.c, 30664 src/screen.c, src/search.c, src/syntax.c, src/term.c, 30665 src/terminal.c, src/ui.c, src/userfunc.c 30666 30667Patch 8.1.0786 30668Problem: ml_get error when updating the status line and a terminal had its 30669 scrollback cleared. (Chris Patuzzo) 30670Solution: Check the cursor position when drawing the status line. 30671 (closes #3830) 30672Files: src/buffer.c, src/testdir/test_terminal.vim 30673 30674Patch 8.1.0787 30675Problem: Compiler warning for unused function. (Tony Mechelynck) 30676Solution: Tune #ifdef around setjmp functions. 30677Files: src/os_unix.c 30678 30679Patch 8.1.0788 30680Problem: Cannot build with tiny features. 30681Solution: Adjust #ifdefs. 30682Files: src/os_unix.c 30683 30684Patch 8.1.0789 30685Problem: Sourcing a session sets v:errmsg. 30686Solution: Use "%argdel" instead of "argdel *". (Jason Franklin) 30687Files: src/ex_docmd.c, src/testdir/test_mksession.vim 30688 30689Patch 8.1.0790 30690Problem: Code for creating tabpages in session is too complex. 30691Solution: Simplify the code. (Jason Franklin) 30692Files: src/ex_docmd.c 30693 30694Patch 8.1.0791 30695Problem: A few compiler warnings on VMS. 30696Solution: Remove type cast. Adjust #ifdef. (Zoltan Arpadffy) 30697Files: src/os_unix.c, src/proto.h 30698 30699Patch 8.1.0792 30700Problem: Popup menu is displayed on top of the cmdline window if it is 30701 opened from Insert completion. (Bjorn Linse) 30702Solution: Remove the popup menu. Restore the cursor position. 30703 (closes #3838) 30704Files: src/edit.c, src/ex_getln.c 30705 30706Patch 8.1.0793 30707Problem: Incorrect error messages for functions that now take a Blob 30708 argument. 30709Solution: Adjust the error messages. (Dominique Pelle, closes #3846) 30710Files: runtime/doc/eval.txt, src/evalfunc.c, src/globals.h, 30711 src/testdir/test_blob.vim, src/testdir/test_listdict.vim 30712 30713Patch 8.1.0794 30714Problem: White space before " -Ntabmove" causes problems. 30715Solution: Skip whitespace. (Ozaki Kiichi, closes #3841) 30716Files: src/ex_docmd.c, src/testdir/test_tabpage.vim 30717 30718Patch 8.1.0795 (after 8.1.0792) 30719Problem: Cannot build without popup menu. 30720Solution: Add #ifdef 30721Files: src/ex_getln.c 30722 30723Patch 8.1.0796 30724Problem: MS-Windows 7: problem with named pipe on channel. 30725Solution: Put back the disconnect/connect calls. (Yasuhiro Matsumoto, 30726 closes #3833) 30727Files: src/channel.c, src/testdir/test_terminal.vim 30728 30729Patch 8.1.0797 30730Problem: Error E898 is used twice. 30731Solution: Rename the Blob error to E899. (closes #3853) 30732Files: src/evalfunc.c, runtime/doc/eval.txt, 30733 src/testdir/test_listdict.vim 30734 30735Patch 8.1.0798 30736Problem: Changing a blob while iterating over it works strangely. 30737Solution: Make a copy of the Blob before iterating. 30738Files: src/blob.c, src/proto/blob.pro, src/eval.c, 30739 src/testdir/test_blob.vim 30740 30741Patch 8.1.0799 30742Problem: Calling deleted function; test doesn't work on Mac. 30743Solution: Wait for the function to be called before deleting it. Use a job 30744 to write to the pty, unless in the GUI. (Ozaki Kiichi, 30745 closes #3854) 30746Files: src/testdir/test_channel.vim, src/testdir/test_terminal.vim 30747 30748Patch 8.1.0800 30749Problem: May use a lot of memory when a function creates a cyclic 30750 reference. 30751Solution: After saving a funccal many times, invoke the garbage collector. 30752 (closes #3835) 30753Files: src/userfunc.c 30754 30755Patch 8.1.0801 30756Problem: MinGW: no hint that tests fail because of small terminal. 30757Solution: Add a rule for test1 that checks for "wrongtermsize". 30758 (msoyka-of-wharton) 30759Files: src/testdir/Make_ming.mak 30760 30761Patch 8.1.0802 30762Problem: Negative index doesn't work for Blob. 30763Solution: Make it work, add a test. (closes #3856) 30764Files: src/blob.c, src/proto/blob.pro, src/eval.c, 30765 src/testdir/test_blob.vim 30766 30767Patch 8.1.0803 30768Problem: Session file has problem with single quote in file name. (Jon 30769 Crowe) 30770Solution: Use a double quoted string. Add a test. 30771Files: src/ex_docmd.c, src/testdir/test_mksession.vim 30772 30773Patch 8.1.0804 30774Problem: Crash when setting v:errmsg to empty list. (Jaon Franklin) 30775Solution: Separate getting value and assigning result. 30776Files: src/eval.c, src/testdir/test_eval_stuff.vim 30777 30778Patch 8.1.0805 30779Problem: Too many #ifdefs. 30780Solution: Graduate FEAT_MBYTE, part 1. 30781Files: src/buffer.c, src/charset.c, src/diff.c, src/digraph.c, 30782 src/edit.c, src/eval.c, src/evalfunc.c, src/ex_cmds.c, 30783 src/ex_cmds2.c, src/ex_docmd.c, src/ex_getln.c, src/fileio.c, 30784 src/fold.c, src/gui.c, src/gui_mac.c, src/gui_photon.c, 30785 src/gui_w32.c 30786 30787Patch 8.1.0806 30788Problem: Too many #ifdefs. 30789Solution: Graduate FEAT_MBYTE, part 2. 30790Files: src/ex_cmds2.c, src/ex_docmd.c, src/ex_getln.c, src/gui_w32.c, 30791 src/gui_x11.c, src/hardcopy.c, src/if_xcmdsrv.c, src/json.c, 30792 src/kword_test.c, src/main.c, src/mbyte.c, src/memline.c, 30793 src/message.c, src/misc1.c, src/misc2.c, src/move.c, src/normal.c, 30794 src/ops.c, src/option.c, src/charset.c 30795 30796Patch 8.1.0807 30797Problem: Session test fails on MS-Windows. 30798Solution: Don't try creating file with illegal name. 30799Files: src/testdir/test_mksession.vim 30800 30801Patch 8.1.0808 30802Problem: MS-Windows: build error with GUI. 30803Solution: Remove "static". 30804Files: src/gui_w32.c 30805 30806Patch 8.1.0809 30807Problem: Too many #ifdefs. 30808Solution: Graduate FEAT_MBYTE, part 3. 30809Files: src/os_amiga.c, src/os_mswin.c, src/os_unix.c, src/os_w32exe.c, 30810 src/os_win32.c, src/quickfix.c, src/regexp.c, src/regexp_nfa.c, 30811 src/screen.c 30812 30813Patch 8.1.0810 30814Problem: Too many #ifdefs. 30815Solution: Graduate FEAT_MBYTE, part 4. 30816Files: src/getchar.c, src/search.c, src/sign.c, src/spell.c, 30817 src/spellfile.c, src/syntax.c, src/tag.c, src/term.c, src/ui.c, 30818 src/version.c, src/winclip.c, src/window.c, src/glbl_ime.cpp, 30819 src/ex_cmds.h, src/globals.h, src/gui.h, src/if_py_both.h, 30820 src/macros.h, src/option.h, src/os_mac.h, src/os_win32.h, 30821 src/proto.h, src/spell.h, src/structs.h, src/vim.h 30822 30823Patch 8.1.0811 30824Problem: Too many #ifdefs. 30825Solution: Graduate FEAT_MBYTE, the final chapter. 30826Files: src/feature.h, src/vim.h, src/crypt_zip.c, src/fileio.c, 30827 src/message.c, src/spell.h, src/structs.h, src/config.h.in, 30828 src/configure.ac, src/auto/configure, src/testdir/runtest.vim, 30829 src/testdir/test_alot_utf8.vim, src/testdir/test_arabic.vim, 30830 src/testdir/test_charsearch_utf8.vim, 30831 src/testdir/test_cmdline.vim, src/testdir/test_digraph.vim, 30832 src/testdir/test_display.vim, src/testdir/test_edit.vim, 30833 src/testdir/test_erasebackword.vim, 30834 src/testdir/test_expr_utf8.vim, src/testdir/test_functions.vim, 30835 src/testdir/test_ga.vim, src/testdir/test_iminsert.vim, 30836 src/testdir/test_increment_dbcs.vim, src/testdir/test_json.vim, 30837 src/testdir/test_makeencoding.vim, src/testdir/test_maparg.vim, 30838 src/testdir/test_mapping.vim, src/testdir/test_marks.vim, 30839 src/testdir/test_match.vim, 30840 src/testdir/test_matchadd_conceal_utf8.vim, 30841 src/testdir/test_mksession_utf8.vim, src/testdir/test_normal.vim, 30842 src/testdir/test_plus_arg_edit.vim, src/testdir/test_profile.vim, 30843 src/testdir/test_put.vim, src/testdir/test_regex_char_classes.vim, 30844 src/testdir/test_regexp_utf8.vim, src/testdir/test_search.vim, 30845 src/testdir/test_source_utf8.vim, src/testdir/test_spell.vim, 30846 src/testdir/test_startup_utf8.vim, 30847 src/testdir/test_termencoding.vim, src/testdir/test_terminal.vim, 30848 src/testdir/test_utf8.vim, src/testdir/test_utf8_comparisons.vim, 30849 src/testdir/test_viminfo.vim, src/testdir/test_virtualedit.vim, 30850 src/testdir/test_visual.vim, src/testdir/test_wordcount.vim, 30851 src/testdir/test_writefile.vim, src/appveyor.bat, src/os_macosx.m 30852 30853Patch 8.1.0812 30854Problem: Unicode 16 feature is not useful and cannot be detected. 30855Solution: Remove UNICODE16. 30856Files: src/screen.c, src/vim.h, src/feature.h 30857 30858Patch 8.1.0813 30859Problem: FileChangedShell not sufficiently tested. 30860Solution: Add a more comprehensive test case. 30861Files: src/testdir/test_autocmd.vim 30862 30863Patch 8.1.0814 30864Problem: :mksession cannot handle a very long 'runtimepath'. (Timothy 30865 Madden) 30866Solution: Expand each part separately, instead of the whole option at once. 30867 (Christian Brabandt, closes #3466) 30868Files: src/option.c, src/testdir/test_mksession.vim 30869 30870Patch 8.1.0815 30871Problem: Dialog for file changed outside of Vim not tested. 30872Solution: Add a test. Move FileChangedShell test. Add 'L' flag to 30873 feedkeys(). 30874Files: src/testdir/test_autocmd.vim, src/testdir/test_filechanged.vim, 30875 src/testdir/Make_all.mak, src/evalfunc.c, runtime/doc/eval.txt 30876 30877Patch 8.1.0816 30878Problem: Test for 'runtimepath' in session fails on MS-Windows. 30879Solution: Skip the test for now. 30880Files: src/testdir/test_mksession.vim 30881 30882Patch 8.1.0817 30883Problem: ":=" command is not tested. 30884Solution: Add a test. (Dominique Pelle, closes #3859) 30885Files: src/testdir/Make_all.mak, src/testdir/test_alot.vim, 30886 src/testdir/test_ex_equal.vim 30887 30888Patch 8.1.0818 30889Problem: MS-Windows: cannot send large data with ch_sendraw(). 30890Solution: Split write into several WriteFile() calls. (Yasuhiro Matsumoto, 30891 closes #3823) 30892Files: src/channel.c, src/os_win32.c, src/testdir/test_channel.vim, 30893 src/testdir/test_channel_pipe.py, src/vim.h 30894 30895Patch 8.1.0819 30896Problem: A failed assert with a long string is hard to read. 30897Solution: Shorten the assert message. 30898Files: src/eval.c, src/testdir/test_assert.vim 30899 30900Patch 8.1.0820 30901Problem: Test for sending large data over channel sometimes fails. 30902Solution: Handle that the job may have finished early. Also fix that file 30903 changed test doesn't work in the GUI and reduce flakyness. (Ozaki 30904 Kiichi, closes #3861) 30905Files: src/testdir/test_channel.vim, src/testdir/test_filechanged.vim 30906 30907Patch 8.1.0821 30908Problem: Xxd "usage" output and other arguments not tested. 30909Solution: Add a test to trigger the usage output in various ways. Fix 30910 uncovered problem. 30911Files: src/testdir/test_xxd.vim, src/xxd/xxd.c 30912 30913Patch 8.1.0822 30914Problem: Peeking and flushing output slows down execution. 30915Solution: Do not update the mode message when global_busy is set. Do not 30916 flush when only peeking for a character. (Ken Takata) 30917Files: src/getchar.c, src/screen.c, src/proto/screen.pro, src/edit.c 30918 30919Patch 8.1.0823 30920Problem: Not sufficient testing of xxd. 30921Solution: Add some more test coverage. 30922Files: src/testdir/test_xxd.vim 30923 30924Patch 8.1.0824 30925Problem: SunOS/Solaris has a problem with ttys. 30926Solution: Add mch_isatty() with extra handling for SunOS. (Ozaki Kiichi, 30927 closes #3865) 30928Files: src/auto/configure, src/channel.c, src/config.h.in, 30929 src/configure.ac, src/os_unix.c, src/proto/pty.pro, src/pty.c, 30930 src/terminal.c 30931 30932Patch 8.1.0825 30933Problem: Code for autocommands is mixed with file I/O code. 30934Solution: Move autocommand code to a separate file. (Yegappan Lakshmanan, 30935 closes #3863) 30936Files: Filelist, src/Make_bc5.mak, src/Make_cyg_ming.mak, 30937 src/Make_dice.mak, src/Make_ivc.mak, src/Make_manx.mak, 30938 src/Make_morph.mak, src/Make_mvc.mak, src/Make_sas.mak, 30939 src/Make_vms.mms, src/Makefile, src/README.txt, src/autocmd.c, 30940 src/fileio.c, src/globals.h, src/proto.h, src/proto/autocmd.pro, 30941 src/proto/fileio.pro 30942 30943Patch 8.1.0826 30944Problem: Too many #ifdefs. 30945Solution: Graduate FEAT_VIRTUALEDIT. Adds about 10Kbyte to the code. 30946Files: src/buffer.c, src/charset.c, src/edit.c, src/eval.c, 30947 src/evalfunc.c, src/ex_cmds.c, src/ex_docmd.c, src/feature.h, 30948 src/globals.h, src/gui.c, src/if_py_both.h, src/macros.h, 30949 src/mark.c, src/mbyte.c, src/memline.c, src/menu.c, src/misc1.c, 30950 src/misc2.c, src/move.c, src/netbeans.c, src/normal.c, src/ops.c, 30951 src/option.c, src/option.h, src/screen.c, src/search.c, 30952 src/spell.c, src/structs.h, src/tag.c, src/ui.c, src/undo.c, 30953 src/userfunc.c, src/version.c, src/vim.h, src/window.c 30954 30955Patch 8.1.0827 (after 8.1.0825) 30956Problem: Missing dependency in Makefile. 30957Solution: Add dependency from autocmd.o on auto/osdef.h 30958Files: src/Makefile 30959 30960Patch 8.1.0828 30961Problem: Still using FEAT_VIRTUALEDIT. 30962Solution: Remove last use of FEAT_VIRTUALEDIT. 30963Files: src/quickfix.c 30964 30965Patch 8.1.0829 30966Problem: When 'hidden' is set session creates extra buffers. 30967Solution: Move :badd commands to the end. (Jason Franklin) 30968Files: src/ex_docmd.c, src/testdir/test_mksession.vim 30969 30970Patch 8.1.0830 30971Problem: Test leaves directory behind on MS-Windows. 30972Solution: Close buffer before deleting directory. 30973Files: src/testdir/test_swap.vim 30974 30975Patch 8.1.0831 30976Problem: Xxd test fails if man page has dos fileformat. 30977Solution: Make a copy with unix fileformat. 30978Files: src/testdir/test_xxd.vim 30979 30980Patch 8.1.0832 30981Problem: confirm() is not tested. 30982Solution: Add a test. (Dominique Pelle, closes #3868) 30983Files: src/testdir/test_functions.vim 30984 30985Patch 8.1.0833 30986Problem: Memory leak when jumps output is filtered. 30987Solution: Free the filtered name. (Dominique Pelle, closes #3869) 30988Files: src/mark.c 30989 30990Patch 8.1.0834 30991Problem: GUI may wait too long before dealing with messages. Returning 30992 early may cause a mapping to time out. 30993Solution: Use the waiting loop from Unix also for the GUI. 30994 (closes #3817, closes #3824) 30995Files: src/ui.c, src/proto/ui.pro, src/os_unix.c, src/gui.c, 30996 src/testdir/screendump.vim 30997 30998Patch 8.1.0835 30999Problem: GUI build fails on MS-Windows. 31000Solution: Adjust #ifdef. 31001Files: src/ui.c 31002 31003Patch 8.1.0836 31004Problem: User completion test can fail on MS-Windows. 31005Solution: Allow for other names before "Administrator". 31006Files: src/testdir/test_cmdline.vim 31007 31008Patch 8.1.0837 31009Problem: Timer interrupting cursorhold and mapping not tested. 31010Solution: Add tests with timers. (Ozaki Kiichi, closes #3871) 31011Files: src/testdir/test_autocmd.vim, src/testdir/test_mapping.vim 31012 31013Patch 8.1.0838 31014Problem: Compiler warning for type conversion. 31015Solution: Add a type cast. (Mike Williams) 31016Files: src/channel.c 31017 31018Patch 8.1.0839 31019Problem: When using VTP wrong colors after a color scheme change. 31020Solution: When VTP is active always clear after a color scheme change. 31021 (Nobuhiro Takasaki, closes #3872) 31022Files: src/ex_docmd.c 31023 31024Patch 8.1.0840 31025Problem: getchar(0) never returns a character in the terminal. 31026Solution: Call wait_func() at least once. 31027Files: src/ui.c, src/testdir/test_timers.vim, src/gui_gtk_x11.c, 31028 src/gui_w32.c, src/gui_photon.c, src/gui_x11.c 31029 31030Patch 8.1.0841 31031Problem: Travis config to get Lua on MacOS is too complicated. 31032Solution: Use an addons entry. (Ozaki Kiichi, closes #3876) 31033Files: .travis.yml 31034 31035Patch 8.1.0842 31036Problem: getchar_zero test fails on MS-Windows. 31037Solution: Disable the test for now. 31038Files: src/testdir/test_timers.vim 31039 31040Patch 8.1.0843 31041Problem: Memory leak when running "make test_cd". 31042Solution: Free the stack element when failing. (Dominique Pelle, 31043 closes #3877) 31044Files: src/misc2.c 31045 31046Patch 8.1.0844 31047Problem: When timer fails test will hang forever. 31048Solution: Use reltime() to limit waiting time. (Ozaki Kiichi, closes #3878) 31049Files: src/testdir/test_timers.vim 31050 31051Patch 8.1.0845 31052Problem: Having job_status() free the job causes problems. 31053Solution: Do not actually free the job or terminal yet, put it in a list and 31054 free it a bit later. Do not use a terminal after checking the job 31055 status. (closes #3873) 31056Files: src/channel.c, src/terminal.c, src/proto/terminal.pro, src/misc2.c 31057 31058Patch 8.1.0846 31059Problem: Not easy to recognize the system Vim runs on. 31060Solution: Add more items to the features list. (Ozaki Kiichi, closes #3855) 31061Files: runtime/doc/eval.txt, src/evalfunc.c, 31062 src/testdir/test_channel.vim, src/testdir/test_functions.vim, 31063 src/testdir/test_terminal.vim, src/testdir/test_writefile.vim 31064 31065Patch 8.1.0847 31066Problem: May use terminal after it was cleaned up. 31067Solution: Use the job pointer. 31068Files: src/terminal.c 31069 31070Patch 8.1.0848 31071Problem: Cannot build with Ruby 1.8. (Tom G. Christensen) 31072Solution: Use rb-str_new2(). (Yasuhiro Matsumoto, closes #3883, 31073 closes #3884) 31074Files: src/if_ruby.c 31075 31076Patch 8.1.0849 31077Problem: Cursorline highlight is not always updated. 31078Solution: Set w_last_cursorline when redrawing. Fix resetting cursor flags 31079 when using the popup menu. 31080Files: src/screen.c, src/popupmnu.c, src/testdir/test_highlight.vim, 31081 src/testdir/dumps/Test_cursorline_yank_01.dump 31082 31083Patch 8.1.0850 31084Problem: Test for 'backupskip' is not correct. 31085Solution: Split the option in parts and use expand(). (Michael Soyka) 31086Files: src/testdir/test_options.vim 31087 31088Patch 8.1.0851 31089Problem: feedkeys() with "L" does not work properly. 31090Solution: Do not set typebuf_was_filled when using "L". (Ozaki Kiichi, 31091 closes #3885) 31092Files: src/evalfunc.c, src/testdir/test_autocmd.vim, 31093 src/testdir/test_mapping.vim, src/testdir/test_timers.vim 31094 31095Patch 8.1.0852 31096Problem: findfile() and finddir() are not properly tested. 31097Solution: Extend the test and add more. (Dominique Pelle, closes #3880) 31098Files: src/testdir/test_findfile.vim 31099 31100Patch 8.1.0853 (after 8.1.0850) 31101Problem: Options test fails on Mac. 31102Solution: Remove a trailing slash from $TMPDIR. 31103Files: src/testdir/test_options.vim 31104 31105Patch 8.1.0854 31106Problem: xxd does not work with more than 32 bit addresses. 31107Solution: Add support for 64 bit addresses. (Christer Jensen, closes #3791) 31108Files: src/xxd/xxd.c 31109 31110Patch 8.1.0855 31111Problem: Cannot build xxd with MSVC 10. 31112Solution: Move declaration to start of block. 31113Files: src/xxd/xxd.c 31114 31115Patch 8.1.0856 31116Problem: When scrolling a window other than the current one the cursorline 31117 highlighting is not always updated. (Jason Franklin) 31118Solution: Call redraw_for_cursorline() after scrolling. Only set 31119 w_last_cursorline when drawing the cursor line. Reset the lines 31120 to be redrawn also when redrawing the whole window. 31121Files: src/move.c, src/proto/move.pro, src/normal.c 31122 31123Patch 8.1.0857 31124Problem: Indent functionality is not separated. 31125Solution: Move indent functionality into a new file. (Yegappan Lakshmanan, 31126 closes #3886) 31127Files: Filelist, src/Make_bc5.mak, src/Make_cyg_ming.mak, 31128 src/Make_dice.mak, src/Make_ivc.mak, src/Make_manx.mak, 31129 src/Make_morph.mak, src/Make_mvc.mak, src/Make_sas.mak, 31130 src/Make_vms.mms, src/Makefile, src/edit.c, src/indent.c, 31131 src/misc1.c, src/proto.h, src/proto/edit.pro, 31132 src/proto/indent.pro, src/proto/misc1.pro 31133 31134Patch 8.1.0858 31135Problem: 'indentkeys' and 'cinkeys' defaults are different. 31136Solution: Make them the same, update docs. (close #3882) 31137Files: src/option.c, runtime/doc/options.txt, runtime/doc/indent.txt 31138 31139Patch 8.1.0859 31140Problem: "%v" in 'errorformat' does not handle multi-byte characters. 31141Solution: Handle multi-byte characters. (Yegappan Lakshmanan, closes #3700) 31142Files: src/quickfix.c, src/testdir/test_quickfix.vim 31143 31144Patch 8.1.0860 31145Problem: Debug lines left in the code. 31146Solution: Delete the lines. 31147Files: src/edit.c 31148 31149Patch 8.1.0861 31150Problem: Building with MinGW and static libc doesn't work. 31151Solution: Change the LIB argument. (Ken Takata) 31152Files: src/Make_cyg_ming.mak 31153 31154Patch 8.1.0862 31155Problem: No verbose version of character classes. 31156Solution: Add [:ident:], [:keyword:] and [:fname:]. (Ozaki Kiichi, 31157 closes #1373) 31158Files: runtime/doc/pattern.txt, src/regexp.c, src/regexp_nfa.c, 31159 src/testdir/test_regexp_utf8.vim 31160 31161Patch 8.1.0863 31162Problem: Cannot see what signal caused a job to end. 31163Solution: Add "termsig" to job_info(). (Ozaki Kiichi, closes #3786) 31164Files: runtime/doc/eval.txt, src/channel.c, src/os_unix.c, src/structs.h, 31165 src/testdir/test_channel.vim 31166 31167Patch 8.1.0864 31168Problem: Cannot have a local value for 'scrolloff' and 'sidescrolloff'. 31169 (Gary Holloway) 31170Solution: Make 'scrolloff' and 'sidescrolloff' global-local. (mostly by 31171 Aron Widforss, closes #3539) 31172Files: runtime/doc/options.txt, src/edit.c, src/ex_cmds.c, 31173 src/ex_docmd.c, src/gui.c, src/misc2.c, src/move.c, src/normal.c, 31174 src/option.c, src/proto/option.pro, src/option.h, src/search.c, 31175 src/structs.h, src/window.c, src/testdir/test_options.vim 31176 31177Patch 8.1.0865 31178Problem: When 'listchars' only contains "nbsp:X" it does not work. 31179Solution: Set extra_check when lcs_nbsp is set. (Ralf Schandl, closes #3889) 31180Files: src/screen.c, src/testdir/test_listchars.vim 31181 31182Patch 8.1.0866 31183Problem: Build file dependencies are outdated. (John Little) 31184Solution: Run "make proto" and "make depend". 31185Files: src/vim.h, src/Makefile, src/proto/sign.pro, src/proto/gui_w32.pro 31186 31187Patch 8.1.0867 31188Problem: Cannot build Python interface with Python 2.4. (Tom G. Christensen) 31189Solution: Define PyBytes_FromStringAndSize. (Ken Takata, closes #3888) 31190Files: src/if_python.c 31191 31192Patch 8.1.0868 31193Problem: Crash if triggering garbage collector after a function call. 31194 (Michael Henry) 31195Solution: Don't call the garbage collector right away, do it later. 31196 (closes #3894) 31197Files: src/userfunc.c 31198 31199Patch 8.1.0869 31200Problem: Travis CI script is too complicated. 31201Solution: Add names to environments. Move appveyor script outside of src 31202 directory. (Ozaki Kiichi, closes #3890) 31203Files: .travis.yml, appveyor.yml, ci/appveyor.bat, src/appveyor.bat, 31204 Filelist 31205 31206Patch 8.1.0870 31207Problem: Vim doesn't use the new ConPTY support in Windows 10. 31208Solution: Use ConPTY support, if available. (Nobuhiro Takasaki, closes #3794) 31209Files: runtime/doc/eval.txt, runtime/doc/options.txt, 31210 runtime/doc/terminal.txt, src/channel.c, src/evalfunc.c, 31211 src/globals.h, src/option.c, src/option.h, src/os_win32.c, 31212 src/proto/terminal.pro, src/structs.h, src/terminal.c, 31213 src/testdir/gen_opt_test.vim, src/testdir/test_autocmd.vim, 31214 src/testdir/test_mksession.vim, src/testdir/test_terminal.vim 31215 31216Patch 8.1.0871 31217Problem: Build error when building with Ruby 2.6.0. 31218Solution: Change argument of rb_int2big_stub(). (Android Baumann, 31219 closes #3899) 31220Files: src/if_ruby.c 31221 31222Patch 8.1.0872 31223Problem: Confusing condition. 31224Solution: Use "==" instead of "<=". 31225Files: src/gui_gtk_x11.c 31226 31227Patch 8.1.0873 31228Problem: List if distributed files does not include the matchit autoload 31229 directory. 31230Solution: Add the directory. 31231Files: src/Filelist 31232 31233Patch 8.1.0874 31234Problem: Using old style comments in new file. 31235Solution: Convert to // comments in new file. (Yegappan Lakshmanan) 31236Files: src/indent.c 31237 31238Patch 8.1.0875 31239Problem: Not all errors of marks and findfile()/finddir() are tested. 31240Solution: Add more test coverage. (Dominique Pelle) 31241Files: src/testdir/test_findfile.vim, src/testdir/test_marks.vim 31242 31243Patch 8.1.0876 31244Problem: Completion match not displayed when popup menu is not shown. 31245Solution: Call update_screen() when not displaying the popup menu to show 31246 the inserted match. (Ken Takata, Hirohito Higashi) 31247Files: src/edit.c 31248 31249Patch 8.1.0877 31250Problem: New buffer used every time the quickfix window is opened. 31251Solution: Reuse the buffer. (Yegappan Lakshmanan, closes #3902) 31252Files: src/buffer.c, src/proto/quickfix.pro, src/quickfix.c, 31253 src/testdir/test_quickfix.vim 31254 31255Patch 8.1.0878 31256Problem: Test for has('bsd') fails on some BSD systems. 31257Solution: Adjust the uname match. (James McCoy, closes #3909) 31258Files: src/testdir/test_functions.vim 31259 31260Patch 8.1.0879 31261Problem: MS-Windows: temp name encoding can be wrong. 31262Solution: Convert from active code page to 'encoding'. (Yasuhiro Matsumoto, 31263 closes #3520, closes #1698) 31264Files: src/fileio.c 31265 31266Patch 8.1.0880 31267Problem: MS-Windows: inconsistent selection of winpty/conpty. 31268Solution: Name option 'termwintype', use ++type argument and "term_pty" for 31269 term_start(). (Hirohito Higashi, closes #3915) 31270Files: runtime/doc/eval.txt, runtime/doc/options.txt, 31271 runtime/doc/terminal.txt, src/channel.c, src/option.c, 31272 src/option.h, src/structs.h, src/terminal.c, 31273 src/testdir/gen_opt_test.vim, runtime/optwin.vim, 31274 runtime/doc/quickref.txt 31275 31276Patch 8.1.0881 31277Problem: Can execute shell commands in rvim through interfaces. 31278Solution: Disable using interfaces in restricted mode. Allow for writing 31279 file with writefile(), histadd() and a few others. 31280Files: runtime/doc/starting.txt, src/if_perl.xs, src/if_cmds.h, 31281 src/ex_cmds.c, src/ex_docmd.c, src/evalfunc.c, 31282 src/testdir/test_restricted.vim, src/testdir/Make_all.mak 31283 31284Patch 8.1.0882 (after 8.1.0879) 31285Problem: Checking for FEAT_MBYTE which doesn't exist anymore. (Christ van 31286 Willegen) 31287Solution: Remove it. 31288Files: src/fileio.c 31289 31290Patch 8.1.0883 31291Problem: Missing some changes for Ex commands. 31292Solution: Add missing changes in header file. 31293Files: src/ex_cmds.h 31294 31295Patch 8.1.0884 31296Problem: Double check for bsd systems. 31297Solution: Delete the old line. 31298Files: src/testdir/test_functions.vim 31299 31300Patch 8.1.0885 31301Problem: Test for restricted hangs on MS-Windows GUI. 31302Solution: Skip the test. 31303Files: src/testdir/test_restricted.vim 31304 31305Patch 8.1.0886 31306Problem: Compiler warning for adding to NULL pointer and a condition that 31307 is always true. 31308Solution: Check for NULL pointer before adding. Remove useless "if". 31309 (Friedirch, closes #3913) 31310Files: src/dosinst.c, src/search.c 31311 31312Patch 8.1.0887 31313Problem: The 'l' flag in :substitute is sticky. 31314Solution: Reset the flag. (Dominique Pelle, closes #3925) 31315Files: src/ex_cmds.c, src/testdir/test_substitute.vim 31316 31317Patch 8.1.0888 31318Problem: The a: dict is not immutable as documented. 31319Solution: Make the a:dict immutable, add a test. (Ozaki Kiichi, Yasuhiro 31320 Matsumoto, closes #3929) 31321Files: src/eval.c, src/userfunc.c, src/testdir/test_let.vim, 31322 src/testdir/test_listdict.vim 31323 31324Patch 8.1.0889 31325Problem: MS-Windows: a channel write may hang. 31326Solution: Check for WriteFile() not writing anything. (Yasuhiro Matsumoto, 31327 closes #3920) 31328Files: src/channel.c, src/testdir/test_channel.vim, 31329 src/testdir/test_channel_pipe.py 31330 31331Patch 8.1.0890 31332Problem: Pty allocation wrong if using file for out channel and using null 31333 for in channel and null for error channel. 31334Solution: Correct using use_file_for_out in condition. (Ozaki Kiichi, closes 31335 #3917) 31336Files: src/os_unix.c, src/testdir/test_channel.vim 31337 31338Patch 8.1.0891 31339Problem: Substitute command insufficiently tested. 31340Solution: Add more test coverage. (Dominique Pelle) 31341Files: src/testdir/test_substitute.vim 31342 31343Patch 8.1.0892 31344Problem: Failure when closing a window when location list is in use. 31345Solution: Handle the situation gracefully. Make sure memory for 'switchbuf' 31346 is not freed at the wrong time. (Yegappan Lakshmanan, 31347 closes #3928) 31348Files: src/eval.c, src/evalfunc.c, src/proto/window.pro, src/quickfix.c, 31349 src/testdir/test_quickfix.vim, src/window.c 31350 31351Patch 8.1.0893 31352Problem: Terminal test is a bit flaky. 31353Solution: Add test_terminal_no_cmd() to list of flaky tests. 31354Files: src/testdir/runtest.vim 31355 31356Patch 8.1.0894 31357Problem: MS-Windows: resolve() does not return a reparse point. 31358Solution: Improve resolve(). (Yasuhiro Matsumoto, closes #3896) 31359Files: runtime/doc/eval.txt, src/buffer.c, src/evalfunc.c, 31360 src/os_mswin.c, src/proto/os_mswin.pro, 31361 src/testdir/test_functions.vim 31362 31363Patch 8.1.0895 (after 8.1.0879) 31364Problem: MS-Windows: dealing with temp name encoding not quite right. 31365Solution: Use more wide functions. (Ken Takata, closes #3921) 31366Files: src/fileio.c 31367 31368Patch 8.1.0896 31369Problem: Tests for restricted mode not run for MS-Windows GUI. 31370Solution: Make tests also work in MS-Windows GUI. 31371Files: src/testdir/test_restricted.vim 31372 31373Patch 8.1.0897 31374Problem: Can modify a:000 when using a reference. 31375Solution: Make check for locked variable stricter. (Ozaki Kiichi, 31376 closes #3930) 31377Files: src/dict.c, src/eval.c, src/evalfunc.c, src/proto/eval.pro, 31378 src/testdir/test_channel.vim, src/testdir/test_let.vim, 31379 src/userfunc.c 31380 31381Patch 8.1.0898 31382Problem: A messed up rgb.txt can crash Vim. (Pavel Cheremushkin) 31383Solution: Limit to 10000 entries. Also don't retry many times when the file 31384 cannot be read. 31385Files: src/term.c 31386 31387Patch 8.1.0899 31388Problem: No need to check restricted mode for setwinvar(). 31389Solution: Remove check_restricted(). 31390Files: src/eval.c 31391 31392Patch 8.1.0900 31393Problem: ConPTY may crash with 32-bit build. 31394Solution: Fix function declarations. (Ken Takata, closes #3943) 31395Files: src/terminal.c 31396 31397Patch 8.1.0901 31398Problem: Index in getjumplist() may be wrong. (Epheien) 31399Solution: Call cleanup_jumplist() earlier. (Yegappan Lakshmanan, 31400 closes #3942) 31401Files: src/evalfunc.c, src/testdir/test_jumplist.vim 31402 31403Patch 8.1.0902 31404Problem: Incomplete set of assignment operators. 31405Solution: Add /=, *= and %=. (Ozaki Kiichi, closes #3931) 31406Files: runtime/doc/eval.txt src/eval.c src/testdir/test_vimscript.vim 31407 31408Patch 8.1.0903 31409Problem: Struct uses more bytes than needed. 31410Solution: Reorder members of regitem_S. (Dominique Pelle, closes #3936) 31411Files: src/regexp.c 31412 31413Patch 8.1.0904 31414Problem: USE_LONG_FNAME never defined. 31415Solution: Remove using USE_LONG_FNAME. (Ken Takata, closes #3938) 31416Files: src/buffer.c, src/ex_cmds.c, src/fileio.c 31417 31418Patch 8.1.0905 31419Problem: Complicated regexp causes a crash. (Kuang-che Wu) 31420Solution: Limit the recursiveness of addstate(). (closes #3941) 31421Files: src/regexp_nfa.c, src/testdir/test_regexp_latin.vim 31422 31423Patch 8.1.0906 31424Problem: Using clumsy way to get console window handle. 31425Solution: Use GetConsoleWindow(). (Ken Takata, closes #3940) 31426Files: src/os_mswin.c 31427 31428Patch 8.1.0907 31429Problem: CI tests on AppVeyor are failing. 31430Solution: Reduce the recursiveness limit for regexp. 31431Files: src/regexp_nfa.c 31432 31433Patch 8.1.0908 31434Problem: Can't handle large value for %{nr}v in regexp. (Kuang-che Wu) 31435Solution: Give an error if the value is too large. (closes #3948) 31436Files: src/regexp_nfa.c 31437 31438Patch 8.1.0909 31439Problem: MS-Windows: using ConPTY even though it is not stable. 31440Solution: When ConPTY version is unstable, prefer using winpty. (Ken Takata, 31441 closes #3949) 31442Files: runtime/doc/options.txt, src/os_win32.c, src/proto/os_win32.pro, 31443 src/terminal.c 31444 31445Patch 8.1.0910 31446Problem: Crash with tricky search pattern. (Kuang-che Wu) 31447Solution: Check for running out of memory. (closes #3950) 31448Files: src/regexp_nfa.c, src/testdir/test_regexp_latin.vim 31449 31450Patch 8.1.0911 31451Problem: Tag line with Ex command cannot have extra fields. 31452Solution: Recognize |;" as the end of the command. (closes #2402) 31453Files: runtime/doc/tagsrch.txt, src/tag.c, src/testdir/test_taglist.vim 31454 31455Patch 8.1.0912 31456Problem: MS-Windows: warning for signed/unsigned. 31457Solution: Add type cast. (Nobuhiro Takasaki, closes #3945) 31458Files: src/terminal.c 31459 31460Patch 8.1.0913 31461Problem: CI crashes when running out of memory. 31462Solution: Apply 'maxmempattern' also to new regexp engine. 31463Files: src/regexp_nfa.c 31464 31465Patch 8.1.0914 31466Problem: Code related to findfile() is spread out. 31467Solution: Put findfile() related code into a new source file. (Yegappan 31468 Lakshmanan, closes #3934) 31469Files: Filelist, src/Make_bc5.mak, src/Make_cyg_ming.mak, 31470 src/Make_dice.mak, src/Make_ivc.mak, src/Make_manx.mak, 31471 src/Make_morph.mak, src/Make_mvc.mak, src/Make_sas.mak, 31472 src/Make_vms.mms, src/Makefile, src/README.txt, src/findfile.c, 31473 src/misc1.c, src/misc2.c, src/proto.h, src/proto/findfile.pro, 31474 src/proto/misc1.pro, src/proto/misc2.pro, src/proto/window.pro, 31475 src/window.c 31476 31477Patch 8.1.0915 31478Problem: fsync() may not work properly on Mac. 31479Solution: Use fcntl() with F_FULLFSYNC. (suggested by Justin M. Keyes) 31480Files: src/fileio.c, src/proto/fileio.pro, src/evalfunc.c, src/memfile.c 31481 31482Patch 8.1.0916 31483Problem: With Python 3.7 "find_module" is not made available. 31484Solution: Also add "find_module" with Python 3.7. (Joel Frederico, 31485 closes #3954) 31486Files: src/if_py_both.h 31487 31488Patch 8.1.0917 31489Problem: Double free when running out of memory. 31490Solution: Remove one free. (Ken Takata, closes #3955) 31491Files: src/userfunc.c 31492 31493Patch 8.1.0918 31494Problem: MS-Windows: startup messages are not converted. 31495Solution: Convert messages when the current codepage differs from 31496 'encoding'. (Yasuhiro Matsumoto, closes #3914) 31497Files: src/message.c, src/os_mswin.c, src/vim.h 31498 31499Patch 8.1.0919 31500Problem: Compiler warnings. 31501Solution: Add type casts. (Mike Williams) 31502Files: src/message.c, src/regexp_nfa.c 31503 31504Patch 8.1.0920 31505Problem: In Terminal-Normal mode job output messes up the window. 31506Solution: Postpone scrolling and updating the buffer when in Terminal-Normal 31507 mode. 31508Files: src/terminal.c, src/testdir/test_terminal.vim, 31509 src/testdir/dumps/Test_terminal_01.dump, 31510 src/testdir/dumps/Test_terminal_02.dump, 31511 src/testdir/dumps/Test_terminal_03.dump 31512 31513Patch 8.1.0921 31514Problem: Terminal test sometimes fails; using memory after free. 31515Solution: Fee memory a bit later. Add test to cover this. Disable flaky 31516 screenshot test. (closes #3956) 31517Files: src/terminal.c, src/testdir/test_terminal.vim 31518 31519Patch 8.1.0922 31520Problem: Terminal scrollback test is flaky. 31521Solution: Wait a bit before running the tail command. 31522Files: src/testdir/test_terminal.vim, 31523 src/testdir/dumps/Test_terminal_01.dump, 31524 src/testdir/dumps/Test_terminal_02.dump, 31525 src/testdir/dumps/Test_terminal_03.dump 31526 31527Patch 8.1.0923 31528Problem: Terminal dump diff swap does not update file names. 31529Solution: Also swap the file name. Add a test. 31530Files: src/terminal.c, src/testdir/test_terminal.vim 31531 31532Patch 8.1.0924 31533Problem: Terminal scrollback test still flaky. 31534Solution: Wait a bit longer before running the tail command. 31535Files: src/testdir/test_terminal.vim 31536 31537Patch 8.1.0925 31538Problem: Terminal scrollback test still still flaky. 31539Solution: Explicitly set the shell. Disable ruler. (Ozaki Kiichi, 31540 closes #3966) 31541Files: src/testdir/test_terminal.vim, 31542 src/testdir/dumps/Test_terminal_01.dump, 31543 src/testdir/dumps/Test_terminal_02.dump, 31544 src/testdir/dumps/Test_terminal_03.dump 31545 31546Patch 8.1.0926 31547Problem: No test for :wnext, :wNext and :wprevious. 31548Solution: Add a test. (Dominique Pelle, closes #3963) 31549Files: src/testdir/Make_all.mak, src/testdir/test_alot.vim, 31550 src/testdir/test_wnext.vim 31551 31552Patch 8.1.0927 31553Problem: USE_CR is never defined. 31554Solution: Remove usage of USE_CR. (Ken Takata, closes #3958) 31555Files: runtime/doc/options.txt, src/diff.c, src/evalfunc.c, 31556 src/ex_cmds2.c, src/fileio.c, src/message.c, src/ops.c, 31557 src/option.h, src/proto/ex_cmds2.pro, src/proto/fileio.pro, 31558 src/tag.c 31559 31560Patch 8.1.0928 (after 8.1.0927) 31561Problem: Stray log function call. 31562Solution: Remove the log function call. 31563Files: src/ex_cmds2.c 31564 31565Patch 8.1.0929 31566Problem: No error when requesting ConPTY but it's not available. 31567Solution: Add an error message. (Hirohito Higashi, closes #3967) 31568Files: runtime/doc/terminal.txt, src/terminal.c 31569 31570Patch 8.1.0930 31571Problem: Typo in Makefile. 31572Solution: Change ABORT_CLFAGS to ABORT_CFLAGS. (Kuang-che Wu, closes #3977) 31573Files: src/Makefile 31574 31575Patch 8.1.0931 31576Problem: vtp_working included in GUI build but unused. 31577Solution: Adjust #ifdefs. (Ken Takata, closes #3971) 31578Files: src/os_win32.c 31579 31580Patch 8.1.0932 31581Problem: Farsi support is outdated and unused. 31582Solution: Delete the Farsi support. 31583Files: Filelist, src/farsi.c, src/proto/farsi.pro, src/farsi.h, src/edit.c, 31584 src/main.c, src/normal.c, src/option.c, src/getchar.c, 31585 src/ex_cmds.c, src/search.c, src/ex_getln.c, src/charset.c, 31586 src/evalfunc.c, src/screen.c, src/window.c, src/globals.h, 31587 src/proto.h, farsi/README.txt, src/structs.h, 31588 farsi/fonts/DOS/far-a01.com, farsi/fonts/SunOs/far-a01.fb, 31589 farsi/fonts/UNIXs/far-a01.f16, farsi/fonts/UNIXs/far-a01.pcf.gz, 31590 farsi/fonts/UNIXs/far-a01.pcf.Z, farsi/fonts/WINDOWS/far-a01.fon, 31591 src/Makefile, src/Make_bc5.mak, src/Make_cyg_ming.mak, 31592 src/Make_dice.mak, src/Make_ivc.mak, src/Make_manx.mak, 31593 src/Make_morph.mak, src/Make_mvc.mak, src/Make_sas.mak, 31594 src/Make_vms.mms, src/configure.ac, src/auto/configure, 31595 src/config.h.in, src/testdir/test_farsi.vim, src/version.c, 31596 src/testdir/Make_all.mak, runtime/doc/options.txt, 31597 runtime/doc/starting.txt, runtime/doc/quickref.txt, 31598 runtime/doc/farsi.txt 31599 31600Patch 8.1.0933 31601Problem: When using VTP scroll region isn't used properly. 31602Solution: Make better use of the scroll region. (Nobuhiro Takasaki, 31603 closes #3974) 31604Files: src/os_win32.c, src/term.c 31605 31606Patch 8.1.0934 31607Problem: Invalid memory access in search pattern. (Kuang-che Wu) 31608Solution: Check for incomplete equivalence class. (closes #3970) 31609Files: src/regexp.c, src/testdir/test_regexp_latin.vim 31610 31611Patch 8.1.0935 31612Problem: Old regexp engine may use invalid buffer for 'iskeyword' or 31613 uninitialized buffer pointer. (Kuang-che Wu) 31614Solution: Set rex.reg_buf when compiling the pattern. (closes #3972) 31615Files: src/regexp.c, src/testdir/test_regexp_latin.vim 31616 31617Patch 8.1.0936 31618Problem: May leak memory when using 'vartabstop'. (Kuang-che Wu) 31619Solution: Fix handling allocated memory for 'vartabstop'. (closes #3976) 31620Files: src/option.c, src/buffer.c 31621 31622Patch 8.1.0937 31623Problem: Invalid memory access in search pattern. (Kuang-che Wu) 31624Solution: Check for incomplete collation element. (Dominique Pelle, 31625 closes #3985) 31626Files: src/regexp.c, src/testdir/test_regexp_latin.vim 31627 31628Patch 8.1.0938 31629Problem: Background color is wrong in MS-Windows console when not using VTP. 31630Solution: Use g_attrCurrent. (Nobuhiro Takasaki, closes #3987) 31631Files: src/os_win32.c 31632 31633Patch 8.1.0939 31634Problem: No completion for sign group names. 31635Solution: Add completion for sign group names and buffer names. (Yegappan 31636 Lakshmanan, closes #3980) 31637Files: src/sign.c, src/testdir/test_signs.vim 31638 31639Patch 8.1.0940 31640Problem: MS-Windows console resizing not handled properly. 31641Solution: Handle resizing the console better. (Nobuhiro Takasaki, Ken 31642 Takata, closes #3968, closes #3611) 31643Files: src/ex_docmd.c, src/normal.c, src/os_win32.c, 31644 src/proto/os_win32.pro 31645 31646Patch 8.1.0941 31647Problem: Macros for MS-Windows are inconsistent, using "32", "3264" and 31648 others. 31649Solution: Use MSWIN for all MS-Windows builds. Use FEAT_GUI_MSWIN for the 31650 GUI build. (Hirohito Higashi, closes #3932) 31651Files: src/GvimExt/gvimext.h, src/Make_bc5.mak, src/Make_cyg_ming.mak, 31652 src/Make_ivc.mak, src/Make_mvc.mak, src/beval.h, src/blowfish.c, 31653 src/channel.c, src/edit.c, src/eval.c, src/evalfunc.c, 31654 src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, src/ex_getln.c, 31655 src/feature.h, src/fileio.c, src/getchar.c, src/glbl_ime.cpp, 31656 src/globals.h, src/gui.c, src/gui.h, src/gui_beval.c, 31657 src/gui_gtk.c, src/gui_gtk_f.c, src/gui_gtk_x11.c, 31658 src/if_cscope.c, src/if_cscope.h, src/if_lua.c, src/if_mzsch.c, 31659 src/if_ole.cpp, src/if_perl.xs, src/if_python.c, src/if_python3.c, 31660 src/if_ruby.c, src/if_tcl.c, src/macros.h, src/main.c, 31661 src/mbyte.c, src/memfile.c, src/memline.c, src/menu.c, 31662 src/message.c, src/misc1.c, src/misc2.c, src/nbdebug.c, 31663 src/netbeans.c, src/normal.c, src/option.c, src/option.h, 31664 src/os_mswin.c, src/os_unix.c, src/os_w32exe.c, src/os_win32.c, 31665 src/os_win32.h, src/proto.h, src/screen.c, src/search.c, 31666 src/structs.h, src/syntax.c, src/term.c, src/terminal.c, src/ui.c, 31667 src/undo.c, src/version.c, src/vim.h, src/vim.rc, src/winclip.c 31668 31669Patch 8.1.0942 31670Problem: Options window still checks for the multi_byte feature. 31671Solution: Remove the unnecessary check. (Dominique Pelle, closes #3990) 31672Files: runtime/optwin.vim 31673 31674Patch 8.1.0943 31675Problem: Still a trace of Farsi support. 31676Solution: Remove defining macros. 31677Files: src/feature.h 31678 31679Patch 8.1.0944 31680Problem: Format of nbdbg() arguments is not checked. 31681Solution: Add format attribute. Fix reported problems. (Dominique Pelle, 31682 closes #3992) 31683Files: src/nbdebug.h, src/netbeans.c 31684 31685Patch 8.1.0945 31686Problem: Internal error when using pattern with NL in the range. 31687Solution: Use an actual newline for the range. (closes #3989) Also fix 31688 error message. (Dominique Pelle) 31689Files: src/regexp_nfa.c, src/testdir/test_regexp_latin.vim 31690 31691Patch 8.1.0946 31692Problem: Coveralls is not very useful. 31693Solution: Remove Coveralls badge, add badge for packages. 31694Files: README.md 31695 31696Patch 8.1.0947 31697Problem: Using MSWIN before it is defined. (Cesar Romani) 31698Solution: Move the block that uses MSWIN to below including vim.h. (Ken 31699 Takata) 31700Files: src/if_ruby.c 31701 31702Patch 8.1.0948 31703Problem: When built without +eval "Vim --clean" produces errors. (James 31704 McCoy) 31705Solution: Do not enable filetype detection. 31706Files: runtime/defaults.vim 31707 31708Patch 8.1.0949 31709Problem: MS-Windows defines GUI macros different than other systems. 31710Solution: Swap FEAT_GUI and FEAT_GUI_MSWIN. (Hirohito Higashi, closes #3996) 31711Files: src/Make_bc5.mak, src/Make_cyg_ming.mak, src/Make_ivc.mak, 31712 src/Make_mvc.mak, src/if_ole.cpp, src/vim.h, src/vim.rc 31713 31714Patch 8.1.0950 31715Problem: Using :python sets 'pyxversion' even when not executed. 31716Solution: Check the "skip" flag. (Shane Harper, closes #3995) 31717Files: src/if_python.c, src/if_python3.c, src/testdir/test_python2.vim, 31718 src/testdir/test_python3.vim 31719 31720Patch 8.1.0951 31721Problem: Using WIN64 even though it is never defined. 31722Solution: Only use _WIN64. (Ken Takata, closes #3997) 31723Files: src/evalfunc.c 31724 31725Patch 8.1.0952 31726Problem: Compilation warnings when building the MS-Windows installer. 31727Solution: Fix buffer sizes. (Yasuhiro Matsumoto, closes #3999) 31728Files: src/dosinst.c, src/dosinst.h, src/uninstal.c 31729 31730Patch 8.1.0953 31731Problem: A very long file is truncated at 2^31 lines. 31732Solution: Use LONG_MAX for MAXLNUM. (Dominique Pelle, closes #4011) 31733Files: src/vim.h 31734 31735Patch 8.1.0954 31736Problem: Arguments of semsg() and siemsg() are not checked. 31737Solution: Add function prototype with __attribute__. 31738Files: src/message.c, src/proto/message.pro, src/proto.h 31739 31740Patch 8.1.0955 31741Problem: Matchit autoload directory not in installer. (Chris Morgan) 31742Solution: Adjust the NSIS script. (Christian Brabandt, closes #4006) 31743Files: nsis/gvim.nsi 31744 31745Patch 8.1.0956 31746Problem: Using context:0 in 'diffopt' does not work well. 31747Solution: Make zero context do the same as one line context. (closes #4005) 31748Files: src/diff.c, src/testdir/test_diffmode.vim, 31749 src/testdir/dumps/Test_diff_06.0.dump, 31750 src/testdir/dumps/Test_diff_06.1.dump, 31751 src/testdir/dumps/Test_diff_06.2.dump 31752 31753Patch 8.1.0957 (after 8.1.0915) 31754Problem: Mac: fsync fails on network share. 31755Solution: Check for ENOTSUP. (Yee Cheng Chin, closes #4016) 31756Files: src/fileio.c 31757 31758Patch 8.1.0958 31759Problem: Compiling weird regexp pattern is very slow. 31760Solution: When reallocating post list increase size by 50%. (Kuang-che Wu, 31761 closes #4012) Make assert_inrange() accept float values. 31762Files: src/regexp_nfa.c, src/eval.c, src/testdir/test_regexp_latin.vim, 31763 src/testdir/test_assert.vim 31764 31765Patch 8.1.0959 31766Problem: Sorting large numbers is not tested and does not work properly. 31767Solution: Add test. Fix comparing lines with and without a number. 31768 (Dominique Pelle, closes #4017) 31769Files: src/ex_cmds.c, src/testdir/test_sort.vim 31770 31771Patch 8.1.0960 31772Problem: When using ConPTY garbage collection has undefined behavior. 31773Solution: Free the channel in a better way. (Nobuhiro Takasaki, closes #4020) 31774Files: src/channel.c 31775 31776Patch 8.1.0961 (after 8.1.0957) 31777Problem: Mac: fsync may fail sometimes. 31778Solution: Do not check errno. (Yee Cheng Chin, closes #4025) 31779Files: src/fileio.c 31780 31781Patch 8.1.0962 31782Problem: Building with MinGW and static libs doesn't work. (Salman Halim) 31783Solution: Add -lgcc. (Ken Takata) 31784Files: src/Make_cyg_ming.mak 31785 31786Patch 8.1.0963 31787Problem: Illegal memory access when using 'incsearch'. 31788Solution: Reset highlight_match when changing text. (closes #4022) 31789Files: src/testdir/test_search.vim, src/misc1.c, 31790 src/testdir/dumps/Test_incsearch_change_01.dump 31791 31792Patch 8.1.0964 31793Problem: Cannot see in CI why a screenshot test failed. 31794Solution: Add info about the failure. 31795Files: src/testdir/screendump.vim 31796 31797Patch 8.1.0965 31798Problem: Search test fails. 31799Solution: Wait a bit longer for the 'ambiwidth' redraw. 31800Files: src/testdir/test_search.vim, 31801 src/testdir/dumps/Test_incsearch_change_01.dump 31802 31803Patch 8.1.0966 31804Problem: One terminal test is flaky. 31805Solution: Add to list of flaky tests. 31806Files: src/testdir/runtest.vim 31807 31808Patch 8.1.0967 31809Problem: Stray dependency in test Makefile. 31810Solution: Remove it. (Masato Nishihata, closes #4018) 31811Files: src/testdir/Makefile 31812 31813Patch 8.1.0968 31814Problem: Crash when using search pattern \%Ufffffc23. 31815Solution: Limit character to INT_MAX. (closes #4009) 31816Files: src/regexp_nfa.c, src/testdir/test_search.vim 31817 31818Patch 8.1.0969 31819Problem: Message written during startup is truncated. 31820Solution: Restore message after truncating. (closes #3969) Add a test. 31821 (Yasuhiro Matsumoto) 31822Files: src/message.c, src/testdir/test_startup.vim 31823 31824Patch 8.1.0970 31825Problem: Text properties test fails when 'encoding' is not utf-8. 31826Solution: Compare with original value of 'encoding'. (Christian Brabandt, 31827 closes #3986) 31828Files: src/testdir/runtest.vim, src/testdir/test_textprop.vim 31829 31830Patch 8.1.0971 31831Problem: Failure for selecting quoted text object moves cursor. 31832Solution: Restore the Visual selection on failure. (Christian Brabandt, 31833 closes #4024) 31834Files: src/search.c, src/testdir/test_textobjects.vim 31835 31836Patch 8.1.0972 31837Problem: Cannot switch from terminal window to next tabpage. 31838Solution: Make CTRL-W gt move to next tabpage. 31839Files: src/window.c, src/testdir/test_terminal.vim, 31840 runtime/doc/terminal.txt 31841 31842Patch 8.1.0973 31843Problem: Pattern with syntax error gives three error messages. (Kuang-che 31844 Wu) 31845Solution: Remove outdated internal error. Don't fall back to other engine 31846 after an error.(closes #4035) 31847Files: src/regexp_nfa.c, src/testdir/test_search.vim, src/regexp.c 31848 31849Patch 8.1.0974 31850Problem: Cannot switch from terminal window to previous tabpage. 31851Solution: Make CTRL-W gT move to previous tabpage. 31852Files: src/window.c, src/testdir/test_terminal.vim, 31853 runtime/doc/terminal.txt 31854 31855Patch 8.1.0975 31856Problem: Using STRNCPY() wrongly. Warning for uninitialized variable. 31857Solution: Use mch_memmove(). Initialize variable. (Yasuhiro Matsumoto, 31858 closes #3979) 31859Files: src/screen.c, src/textprop.c 31860 31861Patch 8.1.0976 31862Problem: Dosinstall still has buffer overflow problems. 31863Solution: Adjust buffer sizes. (Yasuhiro Matsumoto, closes #4002) 31864Files: src/dosinst.c, src/dosinst.h, src/uninstal.c 31865 31866Patch 8.1.0977 31867Problem: Blob not tested with Ruby. 31868Solution: Add more test coverage. Fixes a crash. (Dominique Pelle, 31869 closes #4036) 31870Files: src/if_ruby.c, src/testdir/test_ruby.vim 31871 31872Patch 8.1.0978 31873Problem: Blob not tested with Perl. 31874Solution: Add more test coverage. Fixes a crash. (Dominique Pelle, 31875 closes #4037) 31876Files: src/if_perl.c, src/testdir/test_ruby.vim 31877 31878Patch 8.1.0979 31879Problem: Compiler warning for unused functions. (Yasuhiro Matsumoto) 31880Solution: Adjust #ifdef. 31881Files: src/screen.c 31882 31883Patch 8.1.0980 31884Problem: extend() insufficiently tested. 31885Solution: Add more tests. (Dominique Pelle, closes #4040) 31886Files: src/testdir/test_listdict.vim 31887 31888Patch 8.1.0981 31889Problem: Pasting in terminal insufficiently tested. 31890Solution: Add more tests. (Dominique Pelle, closes #4040) 31891Files: src/testdir/test_terminal.vim 31892 31893Patch 8.1.0982 31894Problem: update_cursor() called twice in :shell. 31895Solution: Remove one of the calls. (Yasuhiro Matsumoto, closes #4039) 31896Files: src/terminal.c 31897 31898Patch 8.1.0983 31899Problem: Checking __CYGWIN32__ unnecessarily. 31900Solution: Remove the checks. (Ken Takata) 31901Files: src/evalfunc.c, src/os_unix.c, src/os_win32.c 31902 31903Patch 8.1.0984 31904Problem: Unnecessary #ifdefs. 31905Solution: Remove the #ifdefs. (Ken Takata) 31906Files: src/winclip.c 31907 31908Patch 8.1.0985 31909Problem: Crash with large number in regexp. (Kuang-che Wu) 31910Solution: Check for long becoming negative int. (closes #4042) 31911Files: src/regexp.c, src/testdir/test_search.vim 31912 31913Patch 8.1.0986 31914Problem: rename() is not properly tested. 31915Solution: Add tests. (Dominique Pelle, closes #4061) 31916Files: src/testdir/Make_all.mak, src/testdir/test_alot.vim, 31917 src/testdir/test_rename.vim 31918 31919Patch 8.1.0987 31920Problem: Unnecessary condition in #ifdef. 31921Solution: Remove using CYGWIN32. (Ken Takata) 31922Files: src/os_unix.h, src/xxd/xxd.c 31923 31924Patch 8.1.0988 31925Problem: Deleting a location list buffer breaks location list window 31926 functionality. 31927Solution: (Yegappan Lakshmanan, closes #4056) 31928Files: src/quickfix.c, src/testdir/test_quickfix.vim 31929 31930Patch 8.1.0989 31931Problem: Various small code ugliness. 31932Solution: Remove pointless NULL checks. Fix function calls. Fix typos. 31933 (Dominique Pelle, closes #4060) 31934Files: src/buffer.c, src/crypt.c, src/evalfunc.c, src/ex_cmds2.c, 31935 src/globals.h, src/gui_gtk_f.c, src/gui_gtk_x11.c, src/gui_mac.c, 31936 src/ops.c, src/option.h, src/os_unix.c, src/os_win32.c, 31937 src/popupmnu.c, src/regexp.c, src/ui.c, src/version.c 31938 31939Patch 8.1.0990 31940Problem: Floating point exception with "%= 0" and "/= 0". 31941Solution: Avoid dividing by zero. (Dominique Pelle, closes #4058) 31942Files: src/eval.c, src/testdir/test_vimscript.vim 31943 31944Patch 8.1.0991 31945Problem: Cannot build with FEAT_EVAL defined and FEAT_SEARCH_EXTRA 31946 undefined, and with FEAT_DIFF defined and FEAT_EVAL undefined. 31947Solution: Add a couple of #ifdefs. (closes #4067) 31948Files: src/diff.c, src/search.c 31949 31950Patch 8.1.0992 31951Problem: A :normal command while executing a register resets the 31952 reg_executing() result. 31953Solution: Save and restore reg_executing. (closes #4066) 31954Files: src/ex_docmd.c, src/structs.h, src/testdir/test_functions.vim 31955 31956Patch 8.1.0993 31957Problem: ch_read() may return garbage if terminating NL is missing. 31958Solution: Add terminating NUL. (Ozaki Kiichi, closes #4065) 31959Files: src/channel.c, src/testdir/test_channel.vim 31960 31961Patch 8.1.0994 31962Problem: Relative cursor position is not calculated correctly. 31963Solution: Always set topline, also when window is one line only. 31964 (Robert Webb) Add more info to getwininfo() for testing. 31965Files: src/window.c, src/evalfunc.c, runtime/doc/eval.txt, 31966 src/testdir/test_window_cmd.vim 31967 31968Patch 8.1.0995 31969Problem: A getchar() call while executing a register resets the 31970 reg_executing() result. 31971Solution: Save and restore reg_executing. (closes #4066) 31972Files: src/evalfunc.c, src/testdir/test_functions.vim 31973 31974Patch 8.1.0996 (after 8.1.0994) 31975Problem: A few screendump tests fail because of scrolling. 31976Solution: Update the screendumps. 31977Files: src/testdir/dumps/Test_incsearch_substitute_11.dump, 31978 src/testdir/dumps/Test_incsearch_substitute_12.dump, 31979 src/testdir/dumps/Test_incsearch_substitute_13.dump 31980 31981Patch 8.1.0997 31982Problem: Using GUI colors in vim.exe when 'termguicolors' is off. 31983Solution: Add condition for 'termguicolors' set. (Ken Takata, closes #4078) 31984Files: src/os_win32.c 31985 31986Patch 8.1.0998 31987Problem: getcurpos() unexpectedly changes "curswant". 31988Solution: Save and restore "curswant". (closes #4069) 31989Files: src/evalfunc.c, src/testdir/test_visual.vim 31990 31991Patch 8.1.0999 31992Problem: Use register one too often and not properly tested. 31993Solution: Do not always use register one when specifying a register. 31994 (closes #4085) Add more tests. 31995Files: src/ops.c, src/testdir/test_registers.vim 31996 31997Patch 8.1.1000 31998Problem: Indenting is off. 31999Solution: Make indenting consistent and update comments. (Ozaki Kiichi, 32000 closes #4079) 32001Files: src/getchar.c, src/ops.c 32002 32003Patch 8.1.1001 32004Problem: Visual area not correct when using 'cursorline'. 32005Solution: Update w_last_cursorline also in Visual mode. (Hirohito Higashi, 32006 closes #4086) 32007Files: src/screen.c, src/testdir/test_highlight.vim, 32008 src/testdir/dumps/Test_cursorline_with_visualmode_01.dump 32009 32010Patch 8.1.1002 32011Problem: "gf" does not always work when URL has a port number. (Jakob 32012 Schöttl) 32013Solution: When a URL is recognized also accept ":". (closes #4082) 32014Files: src/findfile.c, src/testdir/test_gf.vim 32015 32016Patch 8.1.1003 32017Problem: Playing back recorded key sequence mistakes key code. 32018Solution: Insert a <Nop> after the <Esc>. (closes #4068) 32019Files: src/getchar.c, src/testdir/test_registers.vim 32020 32021Patch 8.1.1004 32022Problem: Function "luaV_setref()" not covered with tests. 32023Solution: Add a test. (Dominique Pelle, closes #4089) 32024Files: src/testdir/test_lua.vim 32025 32026Patch 8.1.1005 (after 8.1.1003) 32027Problem: Test fails because t_F2 is not set. 32028Solution: Add try-catch. 32029Files: src/testdir/test_registers.vim 32030 32031Patch 8.1.1006 32032Problem: Repeated code in quickfix support. 32033Solution: Move code to functions. (Yegappan Lakshmanan, closes #4091) 32034Files: src/quickfix.c 32035 32036Patch 8.1.1007 32037Problem: Using closure may consume a lot of memory. 32038Solution: unreference items that are no longer needed. Add a test. (Ozaki 32039 Kiichi, closes #3961) 32040Files: src/testdir/Make_all.mak, src/testdir/test_memory_usage.vim, 32041 src/userfunc.c 32042 32043Patch 8.1.1008 32044Problem: MS-Windows: HAVE_STDINT_H only defined for non-debug version. 32045Solution: Move definition of HAVE_STDINT_H up. (Taro Muraoka, closes #4109) 32046Files: src/Make_mvc.mak 32047 32048Patch 8.1.1009 32049Problem: MS-Windows: some text is not baseline aligned. 32050Solution: Use bottom alignment. (Taro Muraoka, closes #4116, closes #1520) 32051Files: src/gui_dwrite.cpp 32052 32053Patch 8.1.1010 32054Problem: Lua interface leaks memory. 32055Solution: Clear typeval after copying it. 32056Files: src/if_lua.c 32057 32058Patch 8.1.1011 32059Problem: Indent from autoindent not removed from blank line. (Daniel Hahler) 32060Solution: Do not reset did_ai when text follows. (closes #4119) 32061Files: src/misc1.c, src/testdir/test_edit.vim 32062 32063Patch 8.1.1012 32064Problem: Memory leak with E461. 32065Solution: Clear the typeval. (Dominique Pelle, closes #4111) 32066Files: src/eval.c 32067 32068Patch 8.1.1013 32069Problem: MS-Windows: Scrolling fails when dividing the screen. 32070Solution: Position the cursor before calling ScrollConsoleScreenBuffer(). 32071 (Nobuhiro Takasaki, closes #4115) 32072Files: src/os_win32.c 32073 32074Patch 8.1.1014 32075Problem: MS-Windows: /analyze only defined for non-debug version. 32076Solution: Move adding of /analyze up. (Ken Takata, closes #4114) 32077Files: src/Make_mvc.mak 32078 32079Patch 8.1.1015 32080Problem: Quickfix buffer shows up in list, can't get buffer number. 32081Solution: Make the quickfix buffer unlisted when the quickfix window is 32082 closed. get the quickfix buffer number with getqflist(). 32083 (Yegappan Lakshmanan, closes #4113) 32084Files: runtime/doc/eval.txt, runtime/doc/quickfix.txt, src/quickfix.c, 32085 src/testdir/test_quickfix.vim, src/window.c 32086 32087Patch 8.1.1016 32088Problem: MS-Windows: No color in shell when using "!" in 'guioptions'. 32089Solution: Don't stop termcap when using a terminal window for the shell. 32090 (Nobuhiro Takasaki, vim-jp, closes #4117) 32091Files: src/ex_cmds.c 32092 32093Patch 8.1.1017 32094Problem: Off-by-one error in filetype detection. 32095Solution: Also check the last line of the file. 32096Files: runtime/autoload/dist/ft.vim 32097 32098Patch 8.1.1018 32099Problem: Window cleared when entering Terminal-Normal twice. (Epheien) 32100Solution: Don't cleanup scrollback when there is no postponed scrollback. 32101 (Christian Brabandt, closes #4126) 32102Files: src/terminal.c 32103 32104Patch 8.1.1019 32105Problem: Lua: may garbage collect function reference in use. 32106Solution: Keep the function name instead of the typeval. Make luaV_setref() 32107 handle funcref objects. (Ozaki Kiichi, closes #4127) 32108Files: src/if_lua.c, src/testdir/test_lua.vim 32109 32110Patch 8.1.1020 32111Problem: Compiler warning for Python3 interface. 32112Solution: Add type cast. (Ozaki Kiichi, closes #4128, closes #4103) 32113Files: src/if_python3.c 32114 32115Patch 8.1.1021 32116Problem: pyeval() and py3eval() leak memory. 32117Solution: Do not increase the reference count twice. (Ozaki Kiichi, 32118 closes #4129) 32119Files: src/if_python.c, src/if_python3.c 32120 32121Patch 8.1.1022 32122Problem: May use NULL pointer when out of memory. (Coverity) 32123Solution: Check for blob_alloc() returning NULL. 32124Files: src/blob.c 32125 32126Patch 8.1.1023 32127Problem: May use NULL pointer when indexing a blob. (Coverity) 32128Solution: Break out of loop after using index on blob 32129Files: src/eval.c 32130 32131Patch 8.1.1024 32132Problem: Stray log calls in terminal code. (Christian Brabandt) 32133Solution: Remove the calls. 32134Files: src/terminal.c 32135 32136Patch 8.1.1025 32137Problem: Checking NULL pointer after addition. (Coverity) 32138Solution: First check for NULL, then add the column. 32139Files: src/regexp.c 32140 32141Patch 8.1.1026 32142Problem: Unused condition. (Coverity) 32143Solution: Remove the condition. Also remove unused #define. 32144Files: src/move.c 32145 32146Patch 8.1.1027 32147Problem: Memory usage test sometimes fails. 32148Solution: Use 80% of before.last as the lower limit. (Christian Brabandt) 32149Files: src/testdir/test_memory_usage.vim 32150 32151Patch 8.1.1028 32152Problem: MS-Windows: memory leak when creating terminal fails. 32153Solution: Free the command. (Ken Takata, closes #4138) 32154Files: src/os_win32.c 32155 32156Patch 8.1.1029 32157Problem: DirectWrite doesn't take 'linespace' into account. 32158Solution: Include 'linespace' in the position. (Ken Takata, closes #4137) 32159Files: src/gui_dwrite.cpp, src/gui_w32.c 32160 32161Patch 8.1.1030 32162Problem: Quickfix function arguments are inconsistent. 32163Solution: Pass a list pointer instead of info and index. (Yegappan 32164 Lakshmanan, closes #4135) 32165Files: src/quickfix.c 32166 32167Patch 8.1.1031 32168Problem: Memory usage test may still fail. 32169Solution: Drop the unused min value. (Christian Brabandt) 32170Files: src/testdir/test_memory_usage.vim 32171 32172Patch 8.1.1032 32173Problem: Warnings from clang static analyzer. (Yegappan Lakshmanan) 32174Solution: Fix relevant warnings. 32175Files: src/arabic.c, src/edit.c, src/eval.c, src/fileio.c, src/normal.c, 32176 src/option.c, src/os_unix.c, src/regexp.c, src/screen.c, 32177 src/channel.c, src/charset.c, src/message.c 32178 32179Patch 8.1.1033 32180Problem: Memory usage test may still fail on some systems. (Elimar 32181 Riesebieter) 32182Solution: Increase tolerance from 1% to 3%. 32183Files: src/testdir/test_memory_usage.vim 32184 32185Patch 8.1.1034 32186Problem: Too many #ifdefs. 32187Solution: Merge FEAT_MOUSE_SGR into FEAT_MOUSE_XTERM / FEAT_MOUSE_TTY. 32188Files: src/evalfunc.c, src/misc2.c, src/os_unix.c, src/term.c, 32189 src/version.c, src/feature.h 32190 32191Patch 8.1.1035 32192Problem: prop_remove() second argument is not optional. 32193Solution: Fix argument count. Use "buf" instead of "curbuf". (closes #4147) 32194Files: src/evalfunc.c, src/testdir/test_textprop.vim, src/textprop.c 32195 32196Patch 8.1.1036 32197Problem: Quickfix function arguments are inconsistent. 32198Solution: Pass a list pointer to more functions. (Yegappan Lakshmanan, 32199 closes #4149) 32200Files: src/quickfix.c 32201 32202Patch 8.1.1037 32203Problem: Memory usage test may still fail on some systems. 32204Solution: Increase tolerance from 3% to 20%. 32205Files: src/testdir/test_memory_usage.vim 32206 32207Patch 8.1.1038 32208Problem: Arabic support excludes Farsi. 32209Solution: Add Farsi support to the Arabic support. (Ali Gholami Rudi, 32210 Ameretat Reith) 32211Files: Filelist, src/arabic.c, src/arabic.h, src/globals.h, src/macros.h, 32212 src/mbyte.c, src/proto/arabic.pro, src/proto/mbyte.pro, 32213 src/Makefile, src/testdir/test_arabic.vim 32214 32215Patch 8.1.1039 32216Problem: MS-Windows build fails. 32217Solution: Remove dependency on arabic.h 32218Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Make_vms.mms 32219 32220Patch 8.1.1040 32221Problem: FEAT_TAG_ANYWHITE is not enabled in any build. 32222Solution: Remove the feature. 32223Files: src/feature.h, src/tag.c, src/evalfunc.c, src/version.c, 32224 src/Make_vms.mms 32225 32226Patch 8.1.1041 32227Problem: Test for Arabic no longer needed. 32228Solution: Remove the test for something that was intentionally left out. 32229Files: src/testdir/test_arabic.vim 32230 32231Patch 8.1.1042 32232Problem: The paste test doesn't work properly in the Windows console. 32233Solution: Disable the test. 32234Files: src/testdir/test_paste.vim 32235 32236Patch 8.1.1043 32237Problem: Lua interface does not support Blob. 32238Solution: Add support to Blob. (Ozaki Kiichi, closes #4151) 32239Files: runtime/doc/if_lua.txt, src/if_lua.c, src/testdir/test_lua.vim 32240 32241Patch 8.1.1044 32242Problem: No way to check the reference count of objects. 32243Solution: Add test_refcount(). (Ozaki Kiichi, closes #4124) 32244Files: runtime/doc/eval.txt, src/evalfunc.c, 32245 src/testdir/test_vimscript.vim 32246 32247Patch 8.1.1045 32248Problem: E315 ml_get error when using Python and hidden buffer. 32249Solution: Make sure the cursor position is valid. (Ben Jackson, 32250 closes #4153, closes #4154) 32251Files: src/if_py_both.h, src/testdir/test_python2.vim, 32252 src/testdir/test_python3.vim 32253 32254Patch 8.1.1046 32255Problem: the "secure" variable is used inconsistently. (Justin M. Keyes) 32256Solution: Set it to one instead of incrementing. 32257Files: src/buffer.c, src/option.c 32258 32259Patch 8.1.1047 32260Problem: WINCH signal is not tested. 32261Solution: Add a test. (Dominique Pelle, closes #4158) 32262Files: src/testdir/Make_all.mak, src/testdir/test_signals.vim 32263 32264Patch 8.1.1048 32265Problem: Minor issues with tests. 32266Solution: Delete unused test OK file. Add missing entries in list of tests. 32267 Fix readme file. (Masato Nishihata, closes #4160) 32268Files: src/testdir/test85.ok, src/testdir/Make_all.mak, 32269 src/testdir/README.txt 32270 32271Patch 8.1.1049 32272Problem: When user tries to exit with CTRL-C message is confusing. 32273Solution: Only mention ":qa!" when there is a changed buffer. (closes #4163) 32274Files: src/undo.c, src/proto/undo.pro, src/normal.c, 32275 src/testdir/test_normal.vim 32276 32277Patch 8.1.1050 32278Problem: Blank screen when DirectWrite failed. 32279Solution: Call redraw_later_clear() after recreating the Direct2D render 32280 target. (Ken Takata, closes #4172) 32281Files: src/gui_dwrite.cpp 32282 32283Patch 8.1.1051 32284Problem: Not all ways to switch terminal mode are tested. 32285Solution: Add more test cases. 32286Files: src/testdir/test_terminal.vim 32287 32288Patch 8.1.1052 32289Problem: test for CTRL-C message sometimes fails 32290Solution: Make sure there are no changed buffers. 32291Files: src/testdir/test_normal.vim 32292 32293Patch 8.1.1053 32294Problem: Warning for missing return statement. (Dominique Pelle) 32295Solution: Add return statement. 32296Files: src/undo.c 32297 32298Patch 8.1.1054 32299Problem: Not checking return value of ga_grow(). (Coverity) 32300Solution: Only append when ga_grow() returns OK. 32301Files: src/if_lua.c 32302 32303Patch 8.1.1055 32304Problem: CTRL-G U in Insert mode doesn't work to avoid splitting the undo 32305 sequence for shift-left and shift-right. 32306Solution: Also check dont_sync_undo for shifted cursor keys. (Christian 32307 Brabandt) 32308Files: src/edit.c, src/testdir/test_mapping.vim 32309 32310Patch 8.1.1056 32311Problem: No eval function for Ruby. 32312Solution: Add rubyeval(). (Ozaki Kiichi, closes #4152) 32313Files: runtime/doc/eval.txt, runtime/doc/if_ruby.txt, src/evalfunc.c, 32314 src/if_ruby.c, src/proto/if_ruby.pro, src/testdir/test_ruby.vim 32315 32316Patch 8.1.1057 32317Problem: Nsis config is too complicated. 32318Solution: Use "File /r" for the macros and pack directories. (Ken Takata, 32319 closes #4169) 32320Files: nsis/gvim.nsi 32321 32322Patch 8.1.1058 32323Problem: Memory usage test may still fail on some systems. 32324Solution: Use 98% of the lower limit. (Christian Brabandt) 32325Files: src/testdir/test_memory_usage.vim 32326 32327Patch 8.1.1059 32328Problem: MS-Windows: PlatformId() is called unnecessarily. 32329Solution: Remove calls to PlatformId(). (Ken Takata, closes #4170) 32330Files: src/os_win32.c 32331 32332Patch 8.1.1060 32333Problem: MS-Windows: get_cmd_args() is no longer needed, get_cmd_argsW() is 32334 always used. 32335Solution: Remove get_cmd_args(). (Ken Takata, closes #4171) 32336Files: src/gui_w32.c, src/os_w32exe.c 32337 32338Patch 8.1.1061 32339Problem: When substitute string throws error, substitute happens anyway. 32340Solution: Skip substitution when aborting. (closes #4161) 32341Files: src/ex_cmds.c, src/testdir/test_substitute.vim 32342 32343Patch 8.1.1062 32344Problem: Quickfix code is repeated. 32345Solution: Define FOR_ALL_QFL_ITEMS(). Move some code to separate functions. 32346 (Yegappan Lakshmanan, closes #4166) 32347Files: src/quickfix.c 32348 32349Patch 8.1.1063 32350Problem: Insufficient testing for wildmenu completion. 32351Solution: Extend the test case. (Dominique Pelle, closes #4182) 32352Files: src/testdir/test_cmdline.vim 32353 32354Patch 8.1.1064 32355Problem: No test for output conversion in the GTK GUI. 32356Solution: Add a simplistic test. 32357Files: src/testdir/test_gui.vim 32358 32359Patch 8.1.1065 32360Problem: No test for using and deleting menu in the GUI. 32361Solution: Add a test. 32362Files: src/testdir/test_gui.vim 32363 32364Patch 8.1.1066 32365Problem: VIMDLL isn't actually used. 32366Solution: Remove VIMDLL support. 32367Files: src/gui_w32.c, src/main.c, src/os_w32exe.c, src/Make_bc5.mak, 32368 src/os_w32dll.c 32369 32370Patch 8.1.1067 32371Problem: Issues added on github are unstructured. 32372Solution: Add a bug and feature request template. (Ken Takata, closes #4183) 32373Files: .github/ISSUE_TEMPLATE/feature_request.md, 32374 .github/ISSUE_TEMPLATE/bug_report.md 32375 32376Patch 8.1.1068 32377Problem: Cannot get all the information about current completion. 32378Solution: Add complete_info(). (Shougo, Hirohito Higashi, closes #4106) 32379Files: runtime/doc/eval.txt, runtime/doc/insert.txt, 32380 runtime/doc/usr_41.txt, src/edit.c, src/evalfunc.c, 32381 src/proto/edit.pro, src/testdir/test_popup.vim 32382 32383Patch 8.1.1069 32384Problem: Source README file doesn't look nice on github. 32385Solution: Turn it into markdown, still readable as plain text. 32386 (WenxuanHuang, closes #4141) 32387Files: src/README.txt, src/README.md, Filelist 32388 32389Patch 8.1.1070 32390Problem: Issue templates are not good enough. 32391Solution: Rephrase to anticipate unexperienced users. 32392Files: .github/ISSUE_TEMPLATE/feature_request.md, 32393 .github/ISSUE_TEMPLATE/bug_report.md 32394 32395Patch 8.1.1071 32396Problem: Cannot get composing characters from the screen. 32397Solution: Add screenchars() and screenstring(). (partly by Ozaki Kiichi, 32398 closes #4059) 32399Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c, 32400 src/testdir/test_utf8.vim, src/testdir/view_util.vim 32401 32402Patch 8.1.1072 32403Problem: Extending sign and foldcolumn below the text is confusing. 32404Solution: Let the sign and foldcolumn stop at the last text line, just like 32405 the line number column. Also stop the command line window leader. 32406 (Christian Brabandt, closes #3964) 32407Files: src/screen.c, src/testdir/test_diffmode.vim, 32408 src/testdir/dumps/Test_diff_of_diff_01.dump, 32409 src/testdir/dumps/Test_diff_01.dump, 32410 src/testdir/dumps/Test_diff_02.dump, 32411 src/testdir/dumps/Test_diff_03.dump, 32412 src/testdir/dumps/Test_diff_04.dump, 32413 src/testdir/dumps/Test_diff_05.dump, 32414 src/testdir/dumps/Test_diff_06.dump, 32415 src/testdir/dumps/Test_diff_06.0.dump, 32416 src/testdir/dumps/Test_diff_06.1.dump, 32417 src/testdir/dumps/Test_diff_06.2.dump, 32418 src/testdir/dumps/Test_diff_10.dump, 32419 src/testdir/dumps/Test_diff_11.dump, 32420 src/testdir/dumps/Test_diff_12.dump, 32421 src/testdir/dumps/Test_diff_13.dump, 32422 src/testdir/dumps/Test_diff_14.dump, 32423 src/testdir/dumps/Test_diff_15.dump, 32424 src/testdir/dumps/Test_diff_16.dump, 32425 src/testdir/dumps/Test_diff_17.dump, 32426 src/testdir/dumps/Test_diff_18.dump, 32427 src/testdir/dumps/Test_diff_19.dump, 32428 src/testdir/dumps/Test_diff_20.dump, 32429 src/testdir/dumps/Test_diff_with_cursorline_01.dump, 32430 src/testdir/dumps/Test_diff_with_cursorline_02.dump, 32431 src/testdir/dumps/Test_diff_with_cursorline_03.dump, 32432 src/testdir/dumps/Test_folds_with_rnu_01.dump, 32433 src/testdir/dumps/Test_folds_with_rnu_02.dump 32434 32435Patch 8.1.1073 32436Problem: Space in number column is on wrong side with 'rightleft' set. 32437Solution: Move the space to the text side. Add a test. 32438Files: src/screen.c, src/testdir/test_diffmode.vim, 32439 src/testdir/dumps/Test_diff_of_diff_02.dump 32440 32441Patch 8.1.1074 32442Problem: Python test doesn't wipe out hidden buffer. 32443Solution: Wipe out the buffer. (Ben Jackson, closes #4189) 32444Files: src/testdir/test_python2.vim, src/testdir/test_python3.vim 32445 32446Patch 8.1.1075 32447Problem: Function reference count wrong in Python code. 32448Solution: Use "O" instead of "N" for the arguments. (Ben Jackson, 32449 closes #4188) 32450Files: src/if_py_both.h 32451 32452Patch 8.1.1076 32453Problem: File for Insert mode is much too big. 32454Solution: Split off the code for Insert completion. (Yegappan Lakshmanan, 32455 closes #4044) 32456Files: Filelist, src/Make_bc5.mak, src/Make_cyg_ming.mak, 32457 src/Make_dice.mak, src/Make_ivc.mak, src/Make_manx.mak, 32458 src/Make_morph.mak, src/Make_mvc.mak, src/Make_sas.mak, 32459 src/Make_vms.mms, src/Makefile, src/edit.c, src/evalfunc.c, 32460 src/globals.h, src/insexpand.c, src/misc2.c, src/proto.h, 32461 src/proto/edit.pro, src/proto/insexpand.pro, src/search.c, 32462 src/spell.c, src/structs.h, src/tag.c, src/vim.h 32463 32464Patch 8.1.1077 32465Problem: reg_executing() is reset by calling input(). 32466Solution: Implement a more generic way to save and restore reg_executing. 32467 (Ozaki Kiichi, closes #4192) 32468Files: src/evalfunc.c, src/ex_docmd.c, src/testdir/test_functions.vim 32469 32470Patch 8.1.1078 32471Problem: When 'listchars' is set a composing char on a space is wrong. 32472Solution: Separate handling a non-breaking space and a space. (Yasuhiro 32473 Matsumoto, closes #4046) 32474Files: src/screen.c, src/testdir/test_listchars.vim 32475 32476Patch 8.1.1079 32477Problem: No need for a separate ScreenLinesUtf8() test function. 32478Solution: Get the composing characters with ScreenLines(). 32479Files: src/testdir/view_util.vim, src/testdir/test_listchars.vim, 32480 src/testdir/test_utf8.vim 32481 32482Patch 8.1.1080 32483Problem: When a screendump test fails, moving the file is a hassle. 32484Solution: Instead of appending ".failed" to the file name, keep the same 32485 file name but put the screendump in the "failed" directory. 32486 Then the file name only needs to be typed once when moving a 32487 screendump. 32488Files: src/testdir/screendump.vim 32489 32490Patch 8.1.1081 32491Problem: MS-Windows: cannot use fonts whose name cannot be represented in 32492 the current code page. 32493Solution: Use wide font functions. (Ken Takata, closes #4000) 32494Files: src/gui_w32.c, src/os_mswin.c, src/proto/gui_w32.pro, 32495 src/proto/os_mswin.pro 32496 32497Patch 8.1.1082 32498Problem: "Conceal" match is mixed up with 'hlsearch' match. 32499Solution: Check that a match is found, not a 'hlsearch' item. (Andy 32500 Massimino, closes #4073) 32501Files: src/screen.c 32502 32503Patch 8.1.1083 32504Problem: MS-Windows: hang when opening a file on network share. 32505Solution: Avoid using FindFirstFile(), use GetLongPathNameW(). (Ken Takata, 32506 closes #3923) 32507Files: src/os_win32.c 32508 32509Patch 8.1.1084 32510Problem: Cannot delete a match from another window. (Paul Jolly) 32511Solution: Add window ID argument to matchdelete(), clearmatches(), 32512 getmatches() and setmatches(). (Andy Massimino, closes #4178) 32513Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_match.vim 32514 32515Patch 8.1.1085 32516Problem: Compiler warning for possibly uninitialized variable. (Tony 32517 Mechelynck) 32518Solution: Make conditions more logical. 32519Files: src/arabic.c 32520 32521Patch 8.1.1086 32522Problem: Too many curly braces. 32523Solution: Remove curly braces where they are not needed. (Hirohito Higashi, 32524 closes #3982) 32525Files: src/autocmd.c, src/buffer.c, src/crypt_zip.c, src/dosinst.c, 32526 src/edit.c, src/insexpand.c, src/evalfunc.c, src/ex_cmds.c, 32527 src/ex_docmd.c, src/ex_getln.c, src/getchar.c, src/gui.c, 32528 src/gui_gtk.c, src/gui_mac.c, src/gui_motif.c, src/gui_photon.c, 32529 src/gui_w32.c, src/gui_x11.c, src/if_mzsch.c, src/if_python3.c, 32530 src/if_ruby.c, src/if_tcl.c, src/indent.c, src/libvterm/src/pen.c, 32531 src/macros.h, src/memline.c, src/menu.c, src/misc1.c, src/move.c, 32532 src/netbeans.c, src/normal.c, src/ops.c, src/option.c, 32533 src/os_mswin.c, src/os_qnx.c, src/os_unix.c, src/os_win32.c, 32534 src/regexp_nfa.c, src/screen.c, src/spell.c, src/terminal.c 32535 32536Patch 8.1.1087 32537Problem: tag stack is incorrect after CTRL-T and then :tag 32538Solution: Handle DT_TAG differently. (test by Andy Massimino, closes #3944, 32539 closes #4177) 32540Files: src/tag.c, src/testdir/test_tagjump.vim 32541 32542Patch 8.1.1088 32543Problem: Height of quickfix window not retained with vertical split. 32544Solution: Use frame_fixed_height() and frame_fixed_width(). (Hongbo Liu, 32545 closes #4013, closes #2998) 32546Files: src/testdir/test_winbuf_close.vim, src/window.c 32547 32548Patch 8.1.1089 32549Problem: Tutor does not check $LC_MESSAGES. 32550Solution: Let $LC_MESSAGES overrule $LANG. (Miklos Vajna, closes #4112) 32551Files: runtime/tutor/tutor.vim 32552 32553Patch 8.1.1090 32554Problem: MS-Windows: modify_fname() has problems with some 'encoding'. 32555Solution: Use GetLongPathNameW() instead of GetLongPathName(). (Ken Takata, 32556 closes #4007) 32557Files: src/eval.c 32558 32559Patch 8.1.1091 32560Problem: MS-Windows: cannot use multi-byte chars in environment var. 32561Solution: Use the wide API. (Ken Takata, closes #4008) 32562Files: src/misc1.c, src/testdir/test_let.vim 32563 32564Patch 8.1.1092 32565Problem: Setting 'guifont' when maximized resizes the Vim window. When 32566 'guioptions' contains "k" gvim may open with a tiny window. 32567Solution: Avoid un-maximizing when setting 'guifont'. (Yee Cheng Chin, 32568 closes #3808) 32569Files: src/gui.c 32570 32571Patch 8.1.1093 32572Problem: Support for outdated tags format slows down tag parsing. 32573Solution: Remove FEAT_TAG_OLDSTATIC. 32574Files: runtime/doc/tagsrch.txt, src/feature.h, src/tag.c, src/version.c 32575 32576Patch 8.1.1094 32577Problem: Long line in tags file causes error. 32578Solution: Check for overlong line earlier. (Andy Massimino, closes #4051, 32579 closes #4084) 32580Files: src/tag.c, src/testdir/test_tagjump.vim 32581 32582Patch 8.1.1095 32583Problem: MS-Windows: executable() fails on very long filename. 32584Solution: Use much bigger buffer. (Ken Takata, closes #4015) 32585Files: src/os_win32.c, src/testdir/test_functions.vim 32586 32587Patch 8.1.1096 32588Problem: MS-Windows: cannot distinguish BS and CTRL-H. 32589Solution: Add code for VK_BACK. (Linwei, closes #1833) 32590Files: src/term.c, src/os_win32.c 32591 32592Patch 8.1.1097 (after 8.1.1092) 32593Problem: Motif build fails. (Paul Jolly) 32594Solution: Only use gui_mch_maximized() for MS-Windows. (closes #4194) 32595Files: src/gui.c 32596 32597Patch 8.1.1098 32598Problem: Quickfix code duplication. 32599Solution: Refactor the qf_init_ext() function. (Yegappan Lakshmanan, 32600 closes #4193) 32601Files: src/README.md, src/quickfix.c 32602 32603Patch 8.1.1099 32604Problem: The do_tag() function is too long. 32605Solution: Factor parts out to separate functions. Move simplify_filename() 32606 to a file where it fits better. (Andy Massimino, closes #4195) 32607Files: src/tag.c, src/proto/tag.pro, src/findfile.c, 32608 src/proto/findfile.pro 32609 32610Patch 8.1.1100 32611Problem: Tag file without trailing newline no longer works. (Marco Hinz) 32612Solution: Don't expect a newline at the end of the file. (closes #4200) 32613Files: src/tag.c, src/testdir/test_taglist.vim 32614 32615Patch 8.1.1101 32616Problem: Signals test may fail in the GUI. 32617Solution: Skip the test for the GUI. (Yee Checng Chin, closes #4202) 32618Files: src/testdir/test_signals.vim 32619 32620Patch 8.1.1102 32621Problem: Win32 exe file contains unused code. 32622Solution: Remove unused #ifdefs and code. (Ken Takata, closes #4198) 32623Files: src/os_w32exe.c 32624 32625Patch 8.1.1103 32626Problem: MS-Windows: old API calls are no longer needed. 32627Solution: Always use the wide functions. (Ken Takata, closes #4199) 32628Files: src/glbl_ime.cpp, src/globals.h, src/gui_w32.c, src/misc1.c, 32629 src/os_mswin.c, src/os_win32.c, src/vim.h, 32630 32631Patch 8.1.1104 32632Problem: MS-Windows: not all environment variables can be used. 32633Solution: Use the wide version of WinMain() and main(). (Ken Takata, 32634 closes #4206) 32635Files: src/Make_cyg.mak, src/Make_cyg_ming.mak, src/Make_mvc.mak, 32636 src/main.c, src/os_w32exe.c 32637 32638Patch 8.1.1105 32639Problem: Long escape sequences may be split up. 32640Solution: Assume escape sequences can be up to 80 bytes long. (Nobuhiro 32641 Takasaki, closes #4196) 32642Files: src/term.c 32643 32644Patch 8.1.1106 32645Problem: No test for 'writedelay'. 32646Solution: Add a test. 32647Files: src/testdir/test_options.vim 32648 32649Patch 8.1.1107 32650Problem: No test for 'visualbell'. 32651Solution: Add a test. 32652Files: src/testdir/test_options.vim 32653 32654Patch 8.1.1108 32655Problem: Test for 'visualbell' doesn't work. 32656Solution: Make 'belloff' empty. 32657Files: src/testdir/test_options.vim 32658 32659Patch 8.1.1109 32660Problem: Deleted file still in list of distributed files. 32661Solution: Remove the src/os_w32dll.c entry. 32662Files: Filelist 32663 32664Patch 8.1.1110 32665Problem: Composing chars on space wrong when 'listchars' is set. 32666Solution: Do not use "space" and "nbsp" entries of 'listchars' when there is 32667 a composing character. (Yee Cheng Chin, closes #4197) 32668Files: src/screen.c, src/testdir/test_listchars.vim 32669 32670Patch 8.1.1111 32671Problem: It is not easy to check for infinity. 32672Solution: Add isinf(). (Ozaki Kiichi, closes #3787) 32673Files: runtime/doc/eval.txt, src/evalfunc.c, 32674 src/testdir/test_float_func.vim 32675 32676Patch 8.1.1112 32677Problem: Duplicate code in quickfix file. 32678Solution: Move code into functions. (Yegappan Lakshmanan, closes #4207) 32679Files: src/quickfix.c, src/testdir/test_quickfix.vim 32680 32681Patch 8.1.1113 32682Problem: Making an autocommand trigger once is not so easy. 32683Solution: Add the ++once argument. Also add ++nested as an alias for 32684 "nested". (Justin M. Keyes, closes #4100) 32685Files: runtime/doc/autocmd.txt, src/autocmd.c, 32686 src/testdir/test_autocmd.vim, src/globals.h 32687 32688Patch 8.1.1114 32689Problem: Confusing overloaded operator "." for string concatenation. 32690Solution: Add ".." for string concatenation. Also "let a ..= b". 32691Files: src/eval.c, src/testdir/test_eval_stuff.vim, runtime/doc/eval.txt 32692 32693Patch 8.1.1115 32694Problem: Cannot build with older C compiler. 32695Solution: Move variable declaration to start of block. 32696Files: src/autocmd.c 32697 32698Patch 8.1.1116 32699Problem: Cannot enforce a Vim script style. 32700Solution: Add the :scriptversion command. (idea by Yasuhiro Matsumoto, 32701 closes #3857) 32702Files: runtime/doc/repeat.txt, runtime/doc/eval.txt, src/eval.c, 32703 src/ex_cmds.h, src/evalfunc.c, src/ex_cmds2.c, 32704 src/proto/ex_cmds2.pro, src/structs.h, src/buffer.c, src/main.c, 32705 src/option.c, src/ex_cmdidxs.h, src/testdir/test_eval_stuff.vim 32706 32707Patch 8.1.1117 32708Problem: Build failure without the +eval feature. 32709Solution: Add #ifdef. 32710Files: src/ex_cmds2.c 32711 32712Patch 8.1.1118 32713Problem: A couple of conditions are hard to understand. 32714Solution: Split the conditions into pieces. (Ozaki Kiichi, closes #3879) 32715Files: src/getchar.c, src/os_unix.c 32716 32717Patch 8.1.1119 32718Problem: No support for Windows on ARM64. 32719Solution: Add ARM64 support (Leendert van Doorn) 32720Files: src/GvimExt/Makefile, src/Make_mvc.mak, src/dosinst.c, 32721 src/xpm/arm64/lib-vc14/libXpm.lib, Filelist, src/INSTALLpc.txt 32722 32723Patch 8.1.1120 32724Problem: Cannot easily get directory entry matches. 32725Solution: Add the readdir() function. (Yasuhiro Matsumoto, closes #2439) 32726Files: runtime/doc/eval.txt, src/eval.c, src/evalfunc.c, src/misc1.c, 32727 src/proto/eval.pro, src/testdir/test_functions.vim 32728 32729Patch 8.1.1121 32730Problem: Test for term_gettitle() was disabled. 32731Solution: Enable the test and bail out only when it doesn't work. (Dominique 32732 Pelle, closes #3776) 32733Files: src/testdir/test_terminal.vim 32734 32735Patch 8.1.1122 32736Problem: char2nr() does not handle composing characters. 32737Solution: Add str2list() and list2str(). (Ozaki Kiichi, closes #4190) 32738Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c, 32739 src/testdir/test_utf8.vim 32740 32741Patch 8.1.1123 32742Problem: No way to avoid filtering for autocomplete function, causing 32743 flickering of the popup menu. 32744Solution: Add the "equal" field to complete items. (closes #3887) 32745Files: runtime/doc/insert.txt, src/insexpand.c, 32746 src/testdir/test_popup.vim 32747 32748Patch 8.1.1124 32749Problem: Insert completion flags are mixed up. 32750Solution: Clean up flags use of ins_compl_add() and cp_flags. 32751Files: src/insexpand.c, src/proto/insexpand.pro, src/search.c, src/spell.c 32752 32753Patch 8.1.1125 32754Problem: Libvterm does not handle the window position report. 32755Solution: Let libvterm call the fallback CSI handler when not handling CSI 32756 sequence. Handle the window position report in Vim. 32757Files: src/libvterm/src/state.c, src/terminal.c, src/ui.c, 32758 src/proto/ui.pro, src/evalfunc.c, src/testdir/test_terminal.vim 32759 32760Patch 8.1.1126 32761Problem: Build failure with +terminal but without tgetent. 32762Solution: Adjust #ifdef. 32763Files: src/ui.c 32764 32765Patch 8.1.1127 32766Problem: getwinpos() doesn't work in terminal on MS-Windows console. 32767Solution: Adjust #ifdefs. Disable test for MS-Windows console. 32768Files: src/ui.c, src/term.c, src/terminal.c, 32769 src/testdir/test_terminal.vim 32770 32771Patch 8.1.1128 32772Problem: getwinpos() test does not work on MS-Windows. 32773Solution: Skip the test. 32774Files: src/testdir/test_terminal.vim 32775 32776Patch 8.1.1129 32777Problem: When making a new screendump test have to create the file. 32778Solution: Continue creating the failed screendump, so it can be moved once 32779 it is correct. 32780Files: src/testdir/screendump.vim 32781 32782Patch 8.1.1130 32783Problem: MS-Windows: warning for unused variable. 32784Solution: Remove the variable. 32785Files: src/evalfunc.c 32786 32787Patch 8.1.1131 32788Problem: getwinpos() does not work in the MS-Windows console. 32789Solution: Implement getwinpos(). 32790Files: src/ui.c, src/evalfunc.c, src/terminal.c, 32791 src/testdir/test_terminal.vim 32792 32793Patch 8.1.1132 32794Problem: getwinpos() test fails on MS-Windows. 32795Solution: Don't try running this test. 32796Files: src/testdir/test_terminal.vim 32797 32798Patch 8.1.1133 32799Problem: Compiler warning for uninitialized struct member. (Yegappan 32800 Lakshmanan) 32801Solution: Add initializer field. 32802Files: src/globals.h 32803 32804Patch 8.1.1134 32805Problem: Buffer for quickfix window is reused for another file. 32806Solution: Don't reuse the quickfix buffer. (Yegappan Lakshmanan) 32807Files: src/buffer.c, src/testdir/test_quickfix.vim 32808 32809Patch 8.1.1135 (after 8.1.1134) 32810Problem: Build failure for small version. (Tony Mechelynck) 32811Solution: Add #ifdef. 32812Files: src/buffer.c 32813 32814Patch 8.1.1136 32815Problem: Decoding of mouse click escape sequence is not tested. 32816Solution: Add a test for xterm and SGR using low-level input. Make 32817 low-level input execution with feedkeys() work. 32818Files: src/testdir/test_termcodes.vim, src/testdir/Make_all.mak, 32819 src/evalfunc.c, src/ex_docmd.c 32820 32821Patch 8.1.1137 32822Problem: Xterm mouse wheel escape sequence is not tested. 32823Solution: Add a test using low-level input. (Dominique Pelle, closes #4221) 32824Files: src/testdir/test_termcodes.vim 32825 32826Patch 8.1.1138 32827Problem: Plugins don't get notified when the popup menu changes. 32828Solution: Add the CompleteChanged event. (Qiming Zhao, Andy Massimino, 32829 closes #4176) 32830Files: runtime/doc/autocmd.txt, src/autocmd.c, src/dict.c, 32831 src/insexpand.c, src/popupmnu.c, src/proto/autocmd.pro, 32832 src/proto/dict.pro, src/proto/popupmnu.pro, 32833 src/testdir/test_popup.vim, src/vim.h 32834 32835Patch 8.1.1139 32836Problem: No test for what is fixed in patch 8.1.0716. 32837Solution: Add a test. (Yasuhiro Matsumoto, closes #3797) 32838Files: src/testdir/test_ins_complete.vim 32839 32840Patch 8.1.1140 32841Problem: Not easy to find out what neighbors a window has. 32842Solution: Add more arguments to winnr(). (Yegappan Lakshmanan, closes #3993) 32843Files: runtime/doc/eval.txt, src/evalfunc.c, src/proto/window.pro, 32844 src/testdir/test_window_cmd.vim, src/window.c 32845 32846Patch 8.1.1141 32847Problem: Terminal winpos test fails with very large terminal. (Dominique 32848 Pelle) 32849Solution: Compute the expected size more accurately. (closes #4228) 32850Files: src/testdir/test_terminal.vim 32851 32852Patch 8.1.1142 32853Problem: No test for dragging the window separators with the mouse. 32854Solution: Add a test. (Dominique Pelle, closes #4226) 32855Files: src/testdir/test_termcodes.vim 32856 32857Patch 8.1.1143 32858Problem: May pass weird strings to file name expansion. 32859Solution: Check for matching characters. Disallow control characters. 32860Files: src/misc1.c, src/testdir/test_spell.vim, src/option.c, 32861 src/proto/option.pro, src/spell.c, 32862 src/testdir/test_escaped_glob.vim 32863 32864Patch 8.1.1144 (after 8.1.1143) 32865Problem: Too strict checking of the 'spellfile' option. 32866Solution: Allow for a path. 32867Files: src/option.c, src/testdir/test_spell.vim 32868 32869Patch 8.1.1145 32870Problem: Compiler warning for unused function. (Tony Mechelynck) 32871Solution: Add #ifdef. 32872Files: src/option.c 32873 32874Patch 8.1.1146 32875Problem: In MS-Windows console colors in a terminal window are wrong. 32876Solution: Use the ansi index also for 16 colors. (Ken Takata) 32877Files: src/terminal.c 32878 32879Patch 8.1.1147 32880Problem: Desktop file translations are requiring manual updates. 32881Solution: Use the .po files for desktop file translations. (Christian 32882 Brabandt) 32883Files: src/po/Makefile, src/po/gvim.desktop.in, src/po/vim.desktop.in, 32884 CONTRIBUTING.md, Filelist, runtime/vim.desktop, 32885 runtime/gvim.desktop 32886 32887Patch 8.1.1148 32888Problem: CTRL-L with 'incsearch' does not pick up char under cursor. 32889 (Smylers) 32890Solution: Do not compare the position with the cursor position. (Hirohito 32891 Higashi, closes #3620) 32892Files: src/ex_getln.c, src/testdir/test_search.vim 32893 32894Patch 8.1.1149 32895Problem: Building desktop files fails with older msgfmt. 32896Solution: Add autoconf check. Avoid always building the desktop files. 32897Files: src/configure.ac, src/auto/configure, src/po/Makefile, 32898 src/po/Make_all.mak, src/config.mk.in 32899 32900Patch 8.1.1150 32901Problem: Generating desktop files not tested on Travis. 32902Solution: Install a newer msgfmt package. (Christian Brabandt) 32903Files: .travis.yml 32904 32905Patch 8.1.1151 32906Problem: Build fails when using shadow directory. 32907Solution: Link the desktop.in files. 32908Files: src/Makefile 32909 32910Patch 8.1.1152 32911Problem: Compiler warning with VS2019. 32912Solution: Specify different offset for "AMD64". (Ken Takata, closes #4235) 32913Files: src/GvimExt/Makefile 32914 32915Patch 8.1.1153 32916Problem: Msgfmt complains about missing LINGUAS file. (Tony Mechelynck) 32917Solution: Add command to generate LINGUAS. 32918Files: src/po/Makefile 32919 32920Patch 8.1.1154 32921Problem: Getting a newer msgfmt on Travis is too complicated. 32922Solution: Use a "sourceline" entry. (Ozaki Kiichi, closes #4236) 32923Files: .travis.yml 32924 32925Patch 8.1.1155 32926Problem: Termcodes tests can be improved. 32927Solution: Add helper functions to simplify tests. Dragging statusline for 32928 xterm and sgr. (Dominique Pelle, closes #4237) 32929Files: src/testdir/test_termcodes.vim 32930 32931Patch 8.1.1156 32932Problem: Unicode emoji and other image characters not recognized. 32933Solution: Add ranges for musical notation, game pieces, etc. (Martin 32934 Tournoij, closes #4238) 32935Files: src/mbyte.c 32936 32937Patch 8.1.1157 32938Problem: Unicode tables are out of date. 32939Solution: Update to Unicode 12. (Christian Brabandt, closes #4240) 32940Files: src/mbyte.c 32941 32942Patch 8.1.1158 32943Problem: Json encoded string is sometimes missing the final NUL. 32944Solution: Add the NUL. Also for log messages. 32945Files: src/json.c, src/channel.c, src/testdir/test_json.vim 32946 32947Patch 8.1.1159 32948Problem: MS-Windows: with a silent (un)install $VIM/_vimrc is removed. 32949Solution: Don't delete _vimrc in silent mode. (Ken Takata, closes #4242) 32950Files: nsis/gvim.nsi 32951 32952Patch 8.1.1160 32953Problem: Termcodes test would fail in a very big terminal. 32954Solution: Bail out when the row is larger than what will work. (Dominique 32955 Pelle, closes #4246) 32956Files: src/testdir/test_termcodes.vim 32957 32958Patch 8.1.1161 32959Problem: Unreachable code. 32960Solution: Remove condition that will never be true. Add tests for all ANSI 32961 colors. 32962Files: src/terminal.c, src/testdir/test_terminal.vim, 32963 src/testdir/dumps/Test_terminal_all_ansi_colors.dump 32964 32965Patch 8.1.1162 32966Problem: Incorrect coverage information; typo in color name. 32967Solution: Fix the typo. Set environment variables to have a nested Vim 32968 write the coverage info in another directory. 32969Files: src/testdir/test_terminal.vim, src/testdir/screendump.vim, 32970 src/testdir/dumps/Test_terminal_all_ansi_colors.dump 32971 32972Patch 8.1.1163 32973Problem: Codecov does not report all the coverage information. 32974Solution: Make a second run with the nested execution output, expect that 32975 Codecov will merge the results. 32976Files: .travis.yml 32977 32978Patch 8.1.1164 32979Problem: Gettitle test is failing when server name differs. (Kenta Sato) 32980Solution: Accept "VIM1" when 'autoservername' is used. (Dominique Pelle, 32981 closes #4250, closes #4249) 32982Files: src/testdir/test_terminal.vim 32983 32984Patch 8.1.1165 32985Problem: No test for mouse clicks in the terminal tabpage line. 32986Solution: Add a test. (Dominique Pelle, closes #4247). Also init 32987 TabPageIdxs[], in case it's used before a redraw. 32988Files: src/screen.c, src/testdir/test_termcodes.vim 32989 32990Patch 8.1.1166 (after 8.1.1164) 32991Problem: Gettitle test can still fail when another Vim is running. 32992Solution: Accept any server name number. (Dominique Pelle, closes #4252) 32993Files: src/testdir/test_terminal.vim 32994 32995Patch 8.1.1167 32996Problem: No test for closing tab by click in tabline. 32997Solution: Add a test. Also fix that dragging window separator could fail in 32998 a large terminal. (Dominique Pelle, closes #4253) 32999Files: src/testdir/test_termcodes.vim 33000 33001Patch 8.1.1168 33002Problem: Not all screen update code of the terminal window is executed in 33003 tests. 33004Solution: Redraw before taking a screenshot. 33005Files: src/testdir/screendump.vim 33006 33007Patch 8.1.1169 33008Problem: Writing coverage info in a separate dir is not needed. 33009Solution: Revert the changes to use a separate directory. 33010Files: .travis.yml, src/testdir/screendump.vim 33011 33012Patch 8.1.1170 33013Problem: Terminal ANSI color test does not cover all colors. 33014Solution: Use the color number, the name is not always resulting in an ANSI 33015 color when t_Co is 256. 33016Files: src/testdir/test_terminal.vim, 33017 src/testdir/dumps/Test_terminal_all_ansi_colors.dump 33018 33019Patch 8.1.1171 33020Problem: Statusline test could fail in large terminal. 33021Solution: Make the test work on a huge terminal. (Dominique Pelle, 33022 closes #4255) 33023Files: src/testdir/test_statusline.vim 33024 33025Patch 8.1.1172 33026Problem: Cursor properties were not fully tested. 33027Solution: Add a test. (Dominique Pelle, closes #4256) 33028Files: src/testdir/test_terminal.vim 33029 33030Patch 8.1.1173 33031Problem: Suspend test has duplicated lines. 33032Solution: Use a function. 33033Files: src/testdir/test_suspend.vim 33034 33035Patch 8.1.1174 33036Problem: Cannot build with Ruby 1.8. (Tom G. Christensen) 33037Solution: Include ruby/st.h. (Ozaki Kiichi, closes #4257) 33038Files: src/if_ruby.c 33039 33040Patch 8.1.1175 33041Problem: No test for dragging a tab with the mouse and for creating a new 33042 tab by double clicking in the tabline. 33043Solution: Add two tests. (Dominique Pelle, closes #4258) 33044Files: src/testdir/test_termcodes.vim 33045 33046Patch 8.1.1176 (after 8.1.1175) 33047Problem: Test for dragging a tab is flaky. 33048Solution: Add a brief sleep. 33049Files: src/testdir/test_termcodes.vim 33050 33051Patch 8.1.1177 33052Problem: .ts files are recognized as xml, while typescript is more common. 33053Solution: Recognize .ts files as typescript. (closes #4264) 33054Files: runtime/filetype.vim src/testdir/test_filetype.vim 33055 33056Patch 8.1.1178 33057Problem: When mouse click tests fails value of 'ttymouse' is unknown. 33058Solution: Add a message to the assert. 33059Files: src/testdir/test_termcodes.vim 33060 33061Patch 8.1.1179 33062Problem: No test for mouse clicks in the fold column. 33063Solution: Add a test. (Dominique Pelle, closes #4261) 33064Files: src/testdir/test_termcodes.vim 33065 33066Patch 8.1.1180 33067Problem: Vim script debugger tests are old style. 33068Solution: Turn into new style tests. (Yegappan Lakshmanan, closes #4259) 33069Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms, 33070 src/testdir/test108.in, src/testdir/test108.ok, 33071 src/testdir/test_debugger.vim 33072 33073Patch 8.1.1181 33074Problem: Tests for mouse clicks are a bit flaky when run in an interactive 33075 terminal. 33076Solution: Use "xterm2" instead of "xterm" for 'ttymouse' to avoid spurious 33077 drag events. 33078Files: src/testdir/test_termcodes.vim 33079 33080Patch 8.1.1182 33081Problem: Some function prototypes are outdated. 33082Solution: Update function prototypes. (Ken Takata, closes #4267) 33083Files: src/os_mswin.c, src/proto/ex_getln.pro, src/proto/gui_w32.pro, 33084 src/terminal.c, src/proto/terminal.pro, src/proto/window.pro, 33085 src/window.c 33086 33087Patch 8.1.1183 33088Problem: Typos in VisVim comments. 33089Solution: Correct the typos. (Christ van Willegen) 33090Files: src/VisVim/Commands.cpp, src/VisVim/OleAut.cpp, 33091 src/VisVim/README_VisVim.txt 33092 33093Patch 8.1.1184 33094Problem: Undo file left behind after running test. 33095Solution: Delete the undo file. (Dominique Pelle, closes #4279) 33096Files: src/testdir/test_filechanged.vim 33097 33098Patch 8.1.1185 33099Problem: Mapping for CTRL-X is inconsistent. 33100Solution: Map CTRL-X to "*d also for the MS-Windows console. (Ken Takata, 33101 closes #4265) 33102Files: src/getchar.c 33103 33104Patch 8.1.1186 33105Problem: readdir() allocates list twice. 33106Solution: Remove second allocation. Also check for zero length. 33107Files: src/evalfunc.c 33108 33109Patch 8.1.1187 33110Problem: Cannot recognize Pipfile. 33111Solution: Use existing filetypes. (Charles Ross, closes #4280) 33112Files: runtime/filetype.vim, src/testdir/test_filetype.vim 33113 33114Patch 8.1.1188 33115Problem: Not all Vim variables require the v: prefix. 33116Solution: When scriptversion is 3 all Vim variables can only be used with 33117 the v: prefix. (Ken Takata, closes #4274) 33118Files: src/eval.c, src/ex_cmds2.c, src/testdir/test_eval_stuff.vim, 33119 runtime/doc/eval.txt 33120 33121Patch 8.1.1189 33122Problem: Mode is not cleared when leaving Insert mode. 33123Solution: Clear the mode when got_int is set. (Ozaki Kiichi, closes #4270) 33124Files: src/edit.c, src/testdir/test_bufline.vim, 33125 src/testdir/test_messages.vim 33126 33127Patch 8.1.1190 33128Problem: has('vimscript-3') does not work. 33129Solution: Add "vimscript-3" to the list of features. (partly by Ken Takata) 33130Files: src/evalfunc.c, src/testdir/test_eval_stuff.vim 33131 33132Patch 8.1.1191 33133Problem: Not all debug commands are covered by a test. 33134Solution: Add more tests. (Yegappan Lakshmanan, closes #4282) 33135Files: src/testdir/test_debugger.vim 33136 33137Patch 8.1.1192 33138Problem: Mode is not cleared when leaving Insert mode with mapped Esc. 33139Solution: Clear the mode when redraw_cmdline is set. (closes #4269) 33140Files: src/globals.h, src/screen.c, src/testdir/test_messages.vim 33141 33142Patch 8.1.1193 33143Problem: Typos and small problems in test files. 33144Solution: Small improvements. 33145Files: src/testdir/test_gn.vim, src/testdir/test_quotestar.vim, 33146 src/testdir/test_registers.vim, src/testdir/test_syntax.vim, 33147 src/testdir/test_tabpage.vim, src/testdir/test_vartabs.vim 33148 33149Patch 8.1.1194 33150Problem: Typos and small problems in source files. 33151Solution: Small fixes. 33152Files: src/channel.c, src/crypt.c, src/edit.c, src/regexp.h, src/tag.c, 33153 src/term.c, src/terminal.c, src/userfunc.c, src/installman.sh 33154 33155Patch 8.1.1195 33156Problem: Vim script debugger functionality needs cleanup. 33157Solution: Move debugger code to a separate file. Add more tests. (Yegappan 33158 Lakshmanan, closes #4285) 33159Files: Filelist, src/Make_bc5.mak, src/Make_cyg_ming.mak, 33160 src/Make_dice.mak, src/Make_ivc.mak, src/Make_manx.mak, 33161 src/Make_morph.mak, src/Make_mvc.mak, src/Make_sas.mak, 33162 src/Make_vms.mms, src/Makefile, src/debugger.c, src/ex_cmds2.c, 33163 src/proto.h, src/proto/debugger.pro, src/proto/ex_cmds2.pro 33164 33165Patch 8.1.1196 33166Problem: Parallel build may fail. 33167Solution: Update dependencies. 33168Files: src/Makefile 33169 33170Patch 8.1.1197 33171Problem: When starting with multiple tabs file messages is confusing. 33172Solution: Set 'shortmess' when loading the other tabs. (Christian Brabandt) 33173Files: src/main.c, src/testdir/test_startup.vim, 33174 src/testdir/dumps/Test_start_with_tabs.dump 33175 33176Patch 8.1.1198 33177Problem: Bracketed paste may remain active after Vim exists, because the 33178 terminal emulator restores the setting. 33179Solution: Set/reset bracketed paste mode before setting the terminal mode. 33180 (closes #3579) 33181Files: src/term.c 33182 33183 33184Patch 8.1.1199 33185Problem: No test for :abclear. 33186Solution: Add a test. (Dominique Pelle, closes #4292) 33187Files: src/testdir/test_mapping.vim 33188 33189Patch 8.1.1200 33190Problem: Old style comments in debugger source. 33191Solution: Use new style comments. (Yegappan Lakshmanan, closes #4286) 33192Files: src/README.md, src/debugger.c 33193 33194Patch 8.1.1201 33195Problem: Output of :command is hard to read. 33196Solution: Make some columns wider, some narrower. Truncate the command when 33197 listing all. 33198Files: src/ex_docmd.c, src/message.c, src/proto/message.pro, 33199 src/getchar.c, src/menu.c 33200 33201Patch 8.1.1202 33202Problem: Always get regexp debugging logs when building with -DDEBUG. 33203Solution: By default do not create regexp debugging logs. (Ken Takata) 33204Files: src/regexp.c 33205 33206Patch 8.1.1203 33207Problem: Some autocmd tests are old style. 33208Solution: Turn the tests into new style. (Yegappan Lakshmanan, closes #4295) 33209Files: src/Makefile, src/testdir/Make_all.mak, 33210 src/testdir/Make_amiga.mak, src/testdir/Make_vms.mms, 33211 src/testdir/test11.in, src/testdir/test11.ok, 33212 src/testdir/test_autocmd.vim 33213 33214Patch 8.1.1204 33215Problem: Output of :command with address completion is not nice. 33216Solution: Shorten the address completion names. 33217Files: src/ex_docmd.c, runtime/doc/map.txt 33218 33219Patch 8.1.1205 33220Problem: A BufReadPre autocommand may cause the cursor to move. 33221Solution: Restore the cursor position after executing the autocommand, 33222 unless the autocommand moved it. (Christian Brabandt, 33223 closes #4302, closes #4294) 33224Files: src/autocmd.c, src/proto/window.pro, src/structs.h, 33225 src/testdir/test_autocmd.vim, src/window.c 33226 33227Patch 8.1.1206 33228Problem: User command parsing and listing not properly tested. 33229Solution: Add more tests. (Dominique Pelle, closes #4296) 33230Files: src/testdir/test_usercommands.vim 33231 33232Patch 8.1.1207 33233Problem: Some compilers give warning messages. 33234Solution: Initialize variables, change printf() argument. (Christian 33235 Brabandt, closes #4305) 33236Files: src/eval.c, src/screen.c, src/undo.c, src/window.c 33237 33238Patch 8.1.1208 33239Problem: Links to repository use wrong file name. 33240Solution: Swap the file names. (Nahuel Ourthe, closes #4304) 33241Files: src/README.md 33242 33243Patch 8.1.1209 33244Problem: Clever compiler warns for buffer being too small. 33245Solution: Make the buffer bigger (even though it's not really needed). 33246Files: src/evalfunc.c, src/syntax.c 33247 33248Patch 8.1.1210 33249Problem: Support for user commands is spread out. No good reason to make 33250 user commands optional. 33251Solution: Move user command support to usercmd.c. Always enable the 33252 user_commands feature. 33253Files: src/usercmd.c, src/proto/usercmd.pro, Filelist, src/Make_bc5.mak, 33254 src/Make_cyg_ming.mak, src/Make_dice.mak, src/Make_ivc.mak, 33255 src/Make_manx.mak, src/Make_morph.mak, src/Make_mvc.mak, 33256 src/Make_sas.mak, src/Make_vms.mms, src/Makefile, src/README.md, 33257 src/buffer.c, src/eval.c, src/evalfunc.c, src/ex_cmds.h, 33258 src/ex_docmd.c, src/proto/ex_docmd.pro, src/ex_getln.c, 33259 src/feature.h, src/macros.h, src/misc2.c, src/proto.h, 33260 src/structs.h, src/version.c, runtime/doc/eval.txt, 33261 runtime/doc/various.txt 33262 33263Patch 8.1.1211 33264Problem: Not all user command code is tested. 33265Solution: Add more tests. 33266Files: src/testdir/test_usercommands.vim 33267 33268Patch 8.1.1212 33269Problem: Signal PWR is not tested. 33270Solution: Test that PWR updates the swap file. (Dominique Pelle, 33271 closes #4312) 33272Files: src/testdir/test_signals.vim 33273 33274Patch 8.1.1213 33275Problem: "make clean" in top dir does not cleanup indent test output. 33276Solution: Clean the indent test output. Do not rely on the vim executable 33277 for that. (closes #4307) 33278Files: Makefile, runtime/indent/Makefile, 33279 runtime/indent/testdir/cleantest.vim 33280 33281Patch 8.1.1214 33282Problem: Old style tests. 33283Solution: Move tests from test14 to new style test files. (Yegappan 33284 Lakshmanan, closes #4308) 33285Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms, 33286 src/testdir/test14.in, src/testdir/test14.ok, 33287 src/testdir/test_edit.vim, src/testdir/test_normal.vim, 33288 src/testdir/test_search.vim, src/testdir/test_substitute.vim, 33289 src/testdir/test_visual.vim 33290 33291Patch 8.1.1215 33292Problem: "make clean" does not remove generated src/po files. 33293Solution: Remove the files for "make clean". (Christian Brabandt) 33294Files: src/po/Makefile 33295 33296Patch 8.1.1216 33297Problem: Mouse middle click is not tested. 33298Solution: Add a test. (Dominique Pelle, closes #4310) 33299Files: src/testdir/test_termcodes.vim 33300 33301Patch 8.1.1217 33302Problem: MS-Windows: no space reserved for font quality name. 33303Solution: Add quality_name length if present. (Ken Takata, closes #4311) 33304Files: src/gui_w32.c 33305 33306Patch 8.1.1218 33307Problem: Cannot set a directory for a tab page. 33308Solution: Add the tab-local directory. (Yegappan Lakshmanan, closes #4212) 33309Files: runtime/doc/autocmd.txt, runtime/doc/editing.txt, 33310 runtime/doc/eval.txt, runtime/doc/index.txt, 33311 runtime/doc/options.txt, runtime/doc/usr_22.txt, 33312 runtime/doc/usr_41.txt, src/eval.c, src/evalfunc.c, 33313 src/ex_cmdidxs.h, src/ex_cmds.h, src/ex_docmd.c, src/if_py_both.h, 33314 src/proto/eval.pro, src/proto/ex_docmd.pro, src/structs.h, 33315 src/testdir/test_getcwd.vim, src/testdir/test_mksession.vim, 33316 src/window.c 33317 33318Patch 8.1.1219 33319Problem: Not checking for NULL return from alloc(). 33320Solution: Add checks. (Martin Kunev, closes #4303, closes #4174) 33321Files: src/beval.c, src/blowfish.c, src/crypt.c, src/crypt_zip.c, 33322 src/ops.c, src/option.c, src/popupmnu.c, src/proto/blowfish.pro, 33323 src/proto/crypt_zip.pro, src/gui_gtk_f.c, src/gui_gtk_x11.c, 33324 src/libvterm/src/state.c, src/libvterm/src/termscreen.c 33325 33326Patch 8.1.1220 (after 8.1.1219) 33327Problem: Build fails on MS-Windows. 33328Solution: Move declaration to start of block. 33329Files: src/libvterm/src/state.c 33330 33331Patch 8.1.1221 33332Problem: Filtering does not work when listing marks. 33333Solution: Implement filtering marks. (Marcin Szamotulski, closes #3895) 33334Files: runtime/doc/various.txt, src/mark.c, 33335 src/testdir/test_filter_cmd.vim 33336 33337Patch 8.1.1222 (after 8.1.1219) 33338Problem: Build still fails on MS-Windows. 33339Solution: Move another declaration to start of block. 33340Files: src/libvterm/src/state.c 33341 33342Patch 8.1.1223 33343Problem: Middle mouse click test fails without a clipboard. 33344Solution: Check if the clipboard can be used. (Dominique Pelle, Christian 33345 Brabandt) Also use WorkingClipboard() instead of checking for the 33346 "clipboard" feature. 33347Files: src/testdir/test_termcodes.vim, src/testdir/test_quotestar.vim 33348 33349Patch 8.1.1224 33350Problem: MS-Windows: cannot specify font weight. 33351Solution: Add the "W" option to 'guifont'. (closes #4309) Move GUI font 33352 explanation out of options.txt. 33353Files: runtime/doc/options.txt, runtime/doc/gui.txt, 33354 runtime/doc/mbyte.txt, src/gui_w32.c, src/os_mswin.c 33355 33356Patch 8.1.1225 33357Problem: Cannot create a pty to use with :terminal on FreeBSD. 33358Solution: Add support for posix_openpt(). (Ozaki Kiichi, closes #4306, 33359 closes #4289) 33360Files: src/configure.ac, src/config.h.in, src/auto/configure, src/pty.c 33361 33362Patch 8.1.1226 33363Problem: {not in Vi} remarks get in the way of useful help text. 33364Solution: Make a list of all Vi options, instead of mentioning what Vi does 33365 not have. Update the help text for options. 33366Files: runtime/doc/vi_diff.txt, runtime/doc/options.txt 33367 33368Patch 8.1.1227 33369Problem: Duplicate entries in the generated .desktop files. (Ralf Schandl) 33370Solution: Remove translated entries from the .in files. (closes #4313) 33371Files: src/po/gvim.desktop.in, src/po/vim.desktop.in 33372 33373Patch 8.1.1228 33374Problem: Not possible to process tags with a function. 33375Solution: Add tagfunc() (Christian Brabandt, Andy Massimino, closes #4010) 33376Files: runtime/doc/options.txt, runtime/doc/tagsrch.txt, 33377 runtime/optwin.vim, src/buffer.c, src/dict.c, src/ex_cmds.c, 33378 src/globals.h, src/insexpand.c, src/normal.c, src/option.c, 33379 src/option.h, src/proto/dict.pro, src/structs.h, src/tag.c, 33380 src/testdir/Make_all.mak, src/testdir/test_alot.vim, 33381 src/testdir/test_tagfunc.vim, src/vim.h, src/window.c 33382 33383Patch 8.1.1229 33384Problem: Warning for posix_openpt() not declared. (Tony Mechelynck) 33385Solution: Add declaration. 33386Files: src/pty.c 33387 33388Patch 8.1.1230 33389Problem: A lot of code is shared between vim.exe and gvim.exe. 33390Solution: Optionally put the shared code in vim.dll. (Ken Takata, 33391 closes #4287) 33392Files: Filelist, nsis/gvim.nsi, runtime/doc/gui_w32.txt, 33393 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/channel.c, 33394 src/evalfunc.c, src/ex_cmds.c, src/ex_docmd.c, src/feature.h, 33395 src/fileio.c, src/getchar.c, src/globals.h, src/gui.c, src/gui.h, 33396 src/gui_gtk_x11.c, src/gui_w32.c, src/if_mzsch.c, src/main.c, 33397 src/mbyte.c, src/memline.c, src/message.c, src/misc2.c, 33398 src/normal.c, src/option.c, src/os_mswin.c, src/os_w32dll.c, 33399 src/os_w32exe.c, src/os_win32.c, src/os_win32.h, 33400 src/proto/gui.pro, src/proto/gui_w32.pro, src/proto/misc2.pro, 33401 src/proto/os_mswin.pro, src/proto/os_win32.pro, src/syntax.c, 33402 src/term.c, src/terminal.c, src/ui.c, src/version.c, src/vim.rc 33403 33404Patch 8.1.1231 33405Problem: Asking about existing swap file unnecessarily. 33406Solution: When it is safe, delete the swap file. Remove 33407 HAS_SWAP_EXISTS_ACTION, it is always defined. (closes #1237) 33408Files: src/memline.c, src/globals.h, src/buffer.c, src/ex_cmds.c, 33409 src/fileio.c, src/main.c, src/testdir/test_swap.vim, 33410 runtime/doc/usr_11.txt, src/os_win32.c, src/proto/os_win32.pro, 33411 src/os_unix.c, src/proto/os_unix.pro 33412 33413Patch 8.1.1232 33414Problem: Can't build on MS-Windows. 33415Solution: Define process_still_running. 33416Files: src/memline.c, src/os_win32.c, src/proto/os_win32.pro, 33417 src/os_unix.c, src/proto/os_unix.pro 33418 33419Patch 8.1.1233 33420Problem: Cannot build tiny version. 33421Solution: Remove #ifdef for verb_msg(). 33422Files: src/message.c 33423 33424Patch 8.1.1234 33425Problem: Swap file test fails on MS-Windows. 33426Solution: Only compare the tail of the file names. 33427Files: src/testdir/test_swap.vim 33428 33429Patch 8.1.1235 33430Problem: Compiler warnings for using STRLEN() value. 33431Solution: Cast to int. (Christian Brabandt, Mike Williams) 33432Files: src/tag.c 33433 33434Patch 8.1.1236 33435Problem: sjiscorr.c not found in shadow directory. (Tony Mechelynck) 33436Solution: Link po/*.c files with "make shadow". 33437Files: src/Makefile 33438 33439Patch 8.1.1237 33440Problem: Error for using "compl", reserved word in C++. 33441Solution: Rename to "complp". (suggestion by Ken Takata) 33442Files: src/usercmd.c, src/proto/usercmd.pro 33443 33444Patch 8.1.1238 33445Problem: MS-Windows: compiler warning for sprintf() format. 33446Solution: Change %d to %ld. (Ken Takata) 33447Files: src/gui_w32.c 33448 33449Patch 8.1.1239 33450Problem: Key with byte sequence containing CSI does not work. 33451Solution: Do not recognize CSI as special unless the GUI is active. (Ken 33452 Takata, closes #4318) 33453Files: src/getchar.c 33454 33455Patch 8.1.1240 33456Problem: Runtime desktop files are overwritten by build. (Tony Mechelynck) 33457Solution: Instead of copying the files find them with "make install". 33458Files: src/Makefile, src/po/Makefile 33459 33460Patch 8.1.1241 33461Problem: Ex command info contains confusing information. 33462Solution: When using the NOTADR flag use ADDR_OTHER for the address type. 33463 Cleanup code using NOTADR. Check for errors in 33464 create_cmdidxs.vim. Adjust Makefile to see the errors. 33465Files: src/ex_cmds.h, src/ex_docmd.c, src/Makefile, 33466 src/create_cmdidxs.vim, src/usercmd.c, src/ex_cmds.c, 33467 src/window.c, src/testdir/test_usercommands.vim 33468 33469Patch 8.1.1242 33470Problem: No cmdline redraw when tabpages have different 'cmdheight'. 33471Solution: redraw the command line when 'cmdheight' changes when switching 33472 tabpages. (closes #4321) 33473Files: src/testdir/test_tabpage.vim, src/window.c, 33474 src/testdir/dumps/Test_tabpage_cmdheight.dump, 33475 src/testdir/screendump.vim 33476 33477Patch 8.1.1243 (after 8.1.1241) 33478Problem: Compiler warnings for incomplete switch statement. (Tony 33479 Mechelynck) 33480Solution: Add ADDR_QUICKFIX to the list. 33481Files: src/ex_docmd.c 33482 33483Patch 8.1.1244 33484Problem: No tests for CTRL-mouse-click. 33485Solution: Add a few tests. (Dominique Pelle, closes #4323) 33486Files: src/testdir/test_termcodes.vim 33487 33488Patch 8.1.1245 33489Problem: ":copen 10" sets height in full-height window. (Daniel Hahler) 33490Solution: Don't set the height if the quickfix window is full height. 33491 (closes #4325) 33492Files: src/quickfix.c, src/testdir/test_quickfix.vim 33493 33494Patch 8.1.1246 33495Problem: Cannot handle negative mouse coordinate from urxvt. 33496Solution: Accept '-' where a digit is expected. (Vincent Vinel, 33497 closes #4326) 33498Files: src/term.c 33499 33500Patch 8.1.1247 33501Problem: Urxvt mouse codes are not tested. 33502Solution: Also set 'ttymouse' to "urxvt" in the termcodes test. 33503Files: src/testdir/test_termcodes.vim 33504 33505Patch 8.1.1248 33506Problem: No test for dec mouse. 33507Solution: Add some tests for dec mouse. Add "no_query_mouse". 33508Files: src/evalfunc.c, src/globals.h, src/os_unix.c, 33509 src/testdir/test_termcodes.vim, runtime/doc/eval.txt 33510 33511Patch 8.1.1249 33512Problem: Compiler warning for uninitialized variable. 33513Solution: Initialize it. (Christian Brabandt) 33514Files: src/regexp_nfa.c 33515 33516Patch 8.1.1250 33517Problem: No test for netterm mouse. 33518Solution: Add some tests for netterm mouse. 33519Files: src/testdir/test_termcodes.vim 33520 33521Patch 8.1.1251 33522Problem: No test for completion of mapping keys. 33523Solution: Add a test. Also clean up the code. 33524Files: src/getchar.c, src/term.c, src/proto/term.pro, 33525 src/testdir/test_cmdline.vim 33526 33527Patch 8.1.1252 33528Problem: Not all mapping completion is tested. 33529Solution: Add a few more mapping completion tests. 33530Files: src/testdir/test_cmdline.vim 33531 33532Patch 8.1.1253 (after 8.1.1252) 33533Problem: Mapping completion test fails. 33534Solution: Fix expected output. 33535Files: src/testdir/test_cmdline.vim 33536 33537Patch 8.1.1254 33538Problem: Mapping completion contains dead code. 33539Solution: Remove the code. 33540Files: src/term.c, src/testdir/test_cmdline.vim 33541 33542Patch 8.1.1255 33543Problem: Building desktop files fails on FreeBSD. (Adam Weinberger) 33544Solution: Avoid using non-portable construct in Makefile. (closes #4332) 33545Files: src/po/Makefile 33546 33547Patch 8.1.1256 33548Problem: Cannot navigate through errors relative to the cursor. 33549Solution: Add :cabove, :cbelow, :labove and :lbelow. (Yegappan Lakshmanan, 33550 closes #4316) 33551Files: runtime/doc/index.txt, runtime/doc/quickfix.txt, src/ex_cmdidxs.h, 33552 src/ex_cmds.h, src/ex_docmd.c, src/proto/quickfix.pro, 33553 src/quickfix.c, src/testdir/test_quickfix.vim 33554 33555Patch 8.1.1257 33556Problem: MSVC: name of object directory not always right. 33557Solution: Adjust comment. Don't use different directory for DIRECTX. Do 33558 use different directory for USE_MSVCRT. (Ken Takata, closes #4333) 33559Files: src/Make_mvc.mak 33560 33561Patch 8.1.1258 33562Problem: The "N files to edit" message can not be suppressed. 33563Solution: Suppress the message with --not-a-term. (closes #4320) 33564Files: src/main.c 33565 33566Patch 8.1.1259 33567Problem: Crash when exiting early. (Ralf Schandl) 33568Solution: Only pop/push the title when it was set. (closes #4334) 33569Files: src/os_unix.c, src/misc2.c, src/usercmd.c, src/tag.c 33570 33571Patch 8.1.1260 33572Problem: Comparing with pointer instead of value. 33573Solution: Add a "*". (Ken Takata, closes #4336) 33574Files: src/usercmd.c 33575 33576Patch 8.1.1261 33577Problem: No error for quickfix commands with negative range. 33578Solution: Add ADDR_UNSIGNED and use it for quickfix commands. Make 33579 assert_fails() show the command if the error doesn't match. 33580Files: src/ex_cmds.h, src/ex_docmd.c, src/testdir/test_quickfix.vim, 33581 runtime/doc/quickfix.txt, src/eval.c, src/quickfix.c, 33582 src/proto/quickfix.pro, src/ex_cmds2.c 33583 33584Patch 8.1.1262 33585Problem: Cannot simulate a mouse click in a test. 33586Solution: Add test_setmouse(). 33587Files: src/evalfunc.c, runtime/doc/eval.txt, runtime/doc/usr_41.txt 33588 33589Patch 8.1.1263 33590Problem: Mouse clicks in WinBar not tested. 33591Solution: Add a test for clicking on the WinBar entries. 33592Files: src/testdir/test_winbar.vim 33593 33594Patch 8.1.1264 33595Problem: Crash when closing window from WinBar click. (Ben Jackson) 33596Solution: Check that window pointer is still valid. (closes #4337) 33597Files: src/menu.c 33598 33599Patch 8.1.1265 33600Problem: When GPM mouse support is enabled double clicks in xterm do not 33601 work. 33602Solution: Use KS_GPM_MOUSE for GPM mouse events. 33603Files: src/term.c, src/os_unix.c, src/keymap.h 33604 33605Patch 8.1.1266 33606Problem: Winbar test doesn't test enough. 33607Solution: Check that the WinBar actually shows up. Correct check for clicks 33608 with no effect. (Ben Jackson, closes #4338) 33609Files: src/testdir/test_winbar.vim 33610 33611Patch 8.1.1267 33612Problem: Cannot check if GPM mouse support is working. 33613Solution: Add the "mouse_gpm_enable" feature. 33614Files: src/evalfunc.c, src/os_unix.c, src/proto/os_unix.pro, 33615 runtime/doc/eval.txt 33616 33617Patch 8.1.1268 33618Problem: Map completion test fails in GUI. 33619Solution: Skip the test that fails. 33620Files: src/testdir/test_cmdline.vim 33621 33622Patch 8.1.1269 33623Problem: MS-Windows GUI: multibyte chars with a 0x80 byte do not work when 33624 compiled with VIMDLL. 33625Solution: Adjust the condition for fixing the input buffer. (Ken Takata, 33626 closes #4330) 33627Files: src/getchar.c 33628 33629Patch 8.1.1270 33630Problem: Cannot see current match position. 33631Solution: Show "3/44" when using the "n" command and "S" is not in 33632 'shortmess'. (Christian Brabandt, closes #4317) 33633Files: runtime/doc/options.txt, runtime/doc/pattern.txt, src/option.c, 33634 src/option.h, src/search.c, src/testdir/Make_all.mak, 33635 src/testdir/test_search_stat.vim 33636 33637Patch 8.1.1271 (after 8.1.1270) 33638Problem: Compiler warnings for use of STRNCPY(). (John Marriott) 33639Solution: Use mch_memmove() instead of STRNCPY(). 33640Files: src/search.c 33641 33642Patch 8.1.1272 33643Problem: Click on WinBar of other window not tested. 33644Solution: Add a test case. 33645Files: src/testdir/test_winbar.vim 33646 33647Patch 8.1.1273 33648Problem: Compiler warning in direct write code. 33649Solution: Add a type cast. 33650Files: src/gui_dwrite.cpp 33651 33652Patch 8.1.1274 33653Problem: After :unmenu can still execute the menu with :emenu. 33654Solution: Do not execute a menu that was disabled for the specified mode. 33655Files: src/menu.c, src/testdir/test_menu.vim 33656 33657Patch 8.1.1275 33658Problem: Cannot navigate to errors before/after the cursor. 33659Solution: Add the :cbefore and :cafter commands. (Yegappan Lakshmanan, 33660 closes #4340) 33661Files: runtime/doc/index.txt, runtime/doc/quickfix.txt, src/ex_cmdidxs.h, 33662 src/ex_cmds.h, src/quickfix.c, src/testdir/test_quickfix.vim 33663 33664Patch 8.1.1276 33665Problem: Cannot combine text properties with syntax highlighting. 33666Solution: Add the "combine" field to prop_type_add(). (closes #4343) 33667Files: runtime/doc/eval.txt, runtime/doc/textprop.txt, src/screen.c, 33668 src/structs.h, src/testdir/test_textprop.vim 33669 33670Patch 8.1.1277 (after 8.1.1276) 33671Problem: Missing screenshot update. 33672Solution: Update the screenshot. 33673Files: src/testdir/dumps/Test_textprop_01.dump 33674 33675Patch 8.1.1278 (after 8.1.1276) 33676Problem: Missing change for "combine" field. 33677Solution: Also change the textprop implementation. 33678Files: src/textprop.c 33679 33680Patch 8.1.1279 33681Problem: Cannot set 'spellang' to "sr@latin". (Bojan Stipic) 33682Solution: Allow using '@' in 'spellang'. (closes #4342) 33683Files: src/option.c, src/testdir/gen_opt_test.vim 33684 33685Patch 8.1.1280 33686Problem: Remarks about functionality not in Vi clutters the help. 33687Solution: Move all info about what is new in Vim or already existed in Vi to 33688 vi_diff.txt. Remove {not in Vi} remarks. (closes #4268) Add 33689 "noet" to the help files modeline. Also include many other help 33690 file improvements. 33691Files: runtime/doc/vi_diff.txt, runtime/doc/arabic.txt, 33692 runtime/doc/autocmd.txt, runtime/doc/change.txt, 33693 runtime/doc/channel.txt, runtime/doc/cmdline.txt, 33694 runtime/doc/debugger.txt, runtime/doc/debug.txt, 33695 runtime/doc/develop.txt, runtime/doc/diff.txt, 33696 runtime/doc/digraph.txt, runtime/doc/editing.txt, 33697 runtime/doc/eval.txt, runtime/doc/farsi.txt, 33698 runtime/doc/filetype.txt, runtime/doc/fold.txt, 33699 runtime/doc/ft_ada.txt, runtime/doc/ft_rust.txt, 33700 runtime/doc/ft_sql.txt, runtime/doc/gui.txt, 33701 runtime/doc/gui_w32.txt, runtime/doc/gui_x11.txt, 33702 runtime/doc/hangulin.txt, runtime/doc/hebrew.txt, 33703 runtime/doc/helphelp.txt, runtime/doc/help.txt, 33704 runtime/doc/howto.txt, runtime/doc/if_cscop.txt, 33705 runtime/doc/if_lua.txt, runtime/doc/if_mzsch.txt, 33706 runtime/doc/if_ole.txt, runtime/doc/if_perl.txt, 33707 runtime/doc/if_pyth.txt, runtime/doc/if_ruby.txt, 33708 runtime/doc/if_sniff.txt, runtime/doc/if_tcl.txt, 33709 runtime/doc/indent.txt, runtime/doc/index.txt, 33710 runtime/doc/insert.txt, runtime/doc/intro.txt, 33711 runtime/doc/map.txt, runtime/doc/mbyte.txt, 33712 runtime/doc/message.txt, runtime/doc/mlang.txt, 33713 runtime/doc/motion.txt, runtime/doc/netbeans.txt, 33714 runtime/doc/options.txt, runtime/doc/os_390.txt, 33715 runtime/doc/os_amiga.txt, runtime/doc/os_beos.txt, 33716 runtime/doc/os_dos.txt, runtime/doc/os_mac.txt, 33717 runtime/doc/os_mint.txt, runtime/doc/os_msdos.txt, 33718 runtime/doc/os_os2.txt, runtime/doc/os_qnx.txt, 33719 runtime/doc/os_risc.txt, runtime/doc/os_unix.txt, 33720 runtime/doc/os_vms.txt, runtime/doc/os_win32.txt, 33721 runtime/doc/pattern.txt, runtime/doc/pi_getscript.txt, 33722 runtime/doc/pi_gzip.txt, runtime/doc/pi_logipat.txt, 33723 runtime/doc/pi_netrw.txt, runtime/doc/pi_paren.txt, 33724 runtime/doc/pi_spec.txt, runtime/doc/pi_tar.txt, 33725 runtime/doc/pi_vimball.txt, runtime/doc/pi_zip.txt, 33726 runtime/doc/print.txt, runtime/doc/quickfix.txt, 33727 runtime/doc/quickref.txt, runtime/doc/quotes.txt, 33728 runtime/doc/recover.txt, runtime/doc/remote.txt, 33729 runtime/doc/repeat.txt, runtime/doc/rileft.txt, 33730 runtime/doc/russian.txt, runtime/doc/scroll.txt, 33731 runtime/doc/sign.txt, runtime/doc/spell.txt, 33732 runtime/doc/sponsor.txt, runtime/doc/starting.txt, 33733 runtime/doc/syntax.txt, runtime/doc/tabpage.txt, 33734 runtime/doc/tagsrch.txt, runtime/doc/terminal.txt, 33735 runtime/doc/term.txt, runtime/doc/textprop.txt, 33736 runtime/doc/tips.txt, runtime/doc/todo.txt, 33737 runtime/doc/uganda.txt, runtime/doc/undo.txt, 33738 runtime/doc/usr_01.txt, runtime/doc/usr_02.txt, 33739 runtime/doc/usr_03.txt, runtime/doc/usr_04.txt, 33740 runtime/doc/usr_05.txt, runtime/doc/usr_06.txt, 33741 runtime/doc/usr_07.txt, runtime/doc/usr_08.txt, 33742 runtime/doc/usr_09.txt, runtime/doc/usr_10.txt, 33743 runtime/doc/usr_11.txt, runtime/doc/usr_12.txt, 33744 runtime/doc/usr_20.txt, runtime/doc/usr_21.txt, 33745 runtime/doc/usr_22.txt, runtime/doc/usr_23.txt, 33746 runtime/doc/usr_24.txt, runtime/doc/usr_25.txt, 33747 runtime/doc/usr_26.txt, runtime/doc/usr_27.txt, 33748 runtime/doc/usr_28.txt, runtime/doc/usr_29.txt, 33749 runtime/doc/usr_30.txt, runtime/doc/usr_31.txt, 33750 runtime/doc/usr_32.txt, runtime/doc/usr_40.txt, 33751 runtime/doc/usr_41.txt, runtime/doc/usr_43.txt, 33752 runtime/doc/usr_44.txt, runtime/doc/usr_45.txt, 33753 runtime/doc/usr_90.txt, runtime/doc/usr_toc.txt, 33754 runtime/doc/various.txt, runtime/doc/version4.txt, 33755 runtime/doc/version5.txt, runtime/doc/version6.txt, 33756 runtime/doc/version7.txt, runtime/doc/version8.txt, 33757 runtime/doc/visual.txt, runtime/doc/windows.txt, runtime/doc/tags 33758 33759Patch 8.1.1281 33760Problem: Cannot specify a count with :chistory. 33761Solution: Add a count to :chistory and :lhistory. (Yegappan Lakshmanan, 33762 closes #4344) 33763Files: runtime/doc/quickfix.txt, src/ex_cmds.h, src/quickfix.c, 33764 src/testdir/test_quickfix.vim 33765 33766Patch 8.1.1282 33767Problem: Running make in src/po leaves LINGUAS file behind. (Ken Takata) 33768Solution: Delete LINGUAS after running msgfmt. 33769Files: src/po/Makefile 33770 33771Patch 8.1.1283 33772Problem: Delaying half a second after the top-bot message. 33773Solution: Instead of the delay add "W" to the search count. 33774Files: src/search.c, src/testdir/test_search_stat.vim 33775 33776Patch 8.1.1284 33777Problem: Detecting *.tmpl as htmlcheetah is outdated. 33778Solution: Use the generic name "template". (closes #4348) 33779Files: runtime/filetype.vim, src/testdir/test_filetype.vim 33780 33781Patch 8.1.1285 33782Problem: Test17 is old style. 33783Solution: Turn into new style test. (Yegappan Lakshmanan, closes #4347) 33784Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms, 33785 src/testdir/test17.in, src/testdir/test17.ok, 33786 src/testdir/test17a.in, src/testdir/test_checkpath.vim, 33787 src/testdir/test_gf.vim 33788 33789Patch 8.1.1286 33790Problem: Running tests leaves XTest_tabpage_cmdheight file behind. 33791Solution: Delete the right file. (closes #4350) 33792Files: src/testdir/test_tabpage.vim 33793 33794Patch 8.1.1287 33795Problem: Cannot build with +eval but without +mouse. 33796Solution: Add #ifdefs around f_test_setmouse(). (John Marriott) 33797Files: src/evalfunc.c 33798 33799Patch 8.1.1288 33800Problem: Search stats don't show for mapped command. 33801Solution: Remove SEARCH_PEEK from searchit flags. Add a test. (Christian 33802 Brabandt) 33803Files: src/search.c, src/testdir/test_search_stat.vim 33804 33805Patch 8.1.1289 33806Problem: May not have enough space to add "W" to search stats. 33807Solution: Reserve a bit more space. (Christian Brabandt) 33808Files: src/search.c 33809 33810Patch 8.1.1290 33811Problem: .hgignore and .gitignore are either distributed or in git, not 33812 both. 33813Solution: Add .gitignore to the distribution and .hgignore to git. Update 33814 the entries. (Christian Brabandt, Ken Takata) 33815Files: .gitignore, .hgignore, Filelist 33816 33817Patch 8.1.1291 33818Problem: Not easy to change directory and restore. 33819Solution: Add the chdir() function. (Yegappan Lakshmanan, closes #4358) 33820Files: runtime/doc/eval.txt, runtime/doc/todo.txt, 33821 runtime/doc/usr_41.txt, src/evalfunc.c, src/ex_docmd.c, 33822 src/if_py_both.h, src/proto/ex_docmd.pro, src/structs.h, 33823 src/testdir/test_cd.vim 33824 33825Patch 8.1.1292 33826Problem: Invalid command line arguments not tested. 33827Solution: Add a test. (Dominique Pelle, closes #4346) 33828Files: src/testdir/test_startup.vim 33829 33830Patch 8.1.1293 33831Problem: MSVC files are no longer useful for debugging. Newer Visual 33832 Studio versions cannot read them. 33833Solution: Delete the files. (Ken Takata, closes #4357) 33834Files: Filelist, src/Make_dvc.mak, src/Make_ivc.mak, 33835 runtime/doc/debug.txt, src/INSTALLpc.txt, src/Make_mvc.mak 33836 33837Patch 8.1.1294 33838Problem: MS-Windows: Some fonts return wrong average char width. 33839Solution: Compute the average ourselves. (Ken Takata, closes #4356) 33840Files: src/gui_w32.c 33841 33842Patch 8.1.1295 33843Problem: When vimrun.exe does not exist external command may fail. 33844Solution: Use "cmd /c" twice to get the same behavior. (Ken Takata, 33845 closes #4355) 33846Files: src/os_win32.c 33847 33848Patch 8.1.1296 33849Problem: Crash when using invalid command line argument. 33850Solution: Check for options not being initialized. 33851Files: src/term.c, src/testdir/test_startup.vim 33852 33853Patch 8.1.1297 33854Problem: Invalid argument test fails without GTK. 33855Solution: Test -display and --display separately. 33856Files: src/testdir/test_startup.vim 33857 33858Patch 8.1.1298 33859Problem: Invalid argument test fails without X clipboard. 33860Solution: Test -display only with the +xterm_clipboard feature. 33861Files: src/testdir/test_startup.vim 33862 33863Patch 8.1.1299 33864Problem: "extends" from 'listchars' is used when 'list' is off. (Hiroyuki 33865 Yoshinaga) 33866Solution: Only use the "extends" character when 'list' is on. (Hirohito 33867 Higashi, closes #4360) 33868Files: src/screen.c, src/testdir/test_listchars.vim 33869 33870Patch 8.1.1300 33871Problem: In a terminal 'ballooneval' does not work right away. 33872Solution: Flush output after drawing the balloon. Add the <Ignore> key 33873 code. Add a test. 33874Files: src/ex_cmds2.c, src/testdir/test_balloon.vim, src/misc2.c, 33875 src/testdir/Make_all.mak, 33876 src/testdir/dumps/Test_balloon_eval_term_01.dump 33877 33878Patch 8.1.1301 33879Problem: When compiled with VIMDLL some messages are not shown. 33880Solution: Set/reset gui.in_use and gui.starting as needed. (Ken Takata, 33881 closes #4361) 33882Files: src/gui_w32.c, src/main.c, src/message.c 33883 33884Patch 8.1.1302 33885Problem: v:beval_text is not tested in Visual mode. 33886Solution: Add a screenshot of the balloon in Visual mode. 33887Files: src/testdir/test_balloon.vim, src/normal.c, 33888 src/testdir/dumps/Test_balloon_eval_term_01.dump, 33889 src/testdir/dumps/Test_balloon_eval_term_02.dump 33890 33891Patch 8.1.1303 33892Problem: Not possible to hide a balloon. 33893Solution: Hide the balloon when balloon_show() is called with an empty 33894 string or list. Add balloon_gettext(). 33895Files: src/evalfunc.c, src/popupmnu.c, src/gui_beval.c, src/gui_w32.c, 33896 src/beval.h, src/testdir/test_balloon.vim, runtime/doc/eval.txt 33897 33898Patch 8.1.1304 33899Problem: MS-Windows: compiler warning for unused value. 33900Solution: Adjust #ifdefs. (Ken Takata, closes #4363) 33901Files: src/gui.c 33902 33903Patch 8.1.1305 33904Problem: There is no easy way to manipulate environment variables. 33905Solution: Add environ(), getenv() and setenv(). (Yasuhiro Matsumoto, 33906 closes #2875) 33907Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c, 33908 src/testdir/Make_all.mak, src/testdir/test_environ.vim 33909 33910Patch 8.1.1306 33911Problem: Borland support is outdated and doesn't work. 33912Solution: Remove Borland support, there are other (free) compilers 33913 available. (Thomas Dziedzic, Ken Takata, closes #4364) 33914Files: .gitignore, .hgignore, Filelist, runtime/doc/debug.txt, 33915 runtime/doc/develop.txt, runtime/doc/usr_90.txt, 33916 src/GvimExt/Make_bc5.mak, src/GvimExt/gvimext.cpp, 33917 src/GvimExt/gvimext.rc, src/INSTALLpc.txt, src/Make_bc5.mak, 33918 src/dosinst.c, src/dosinst.h, src/evalfunc.c, src/ex_cmds.c, 33919 src/ex_getln.c, src/gui_w32.c, src/if_ole.cpp, src/if_py_both.h, 33920 src/main.c, src/mark.c, src/message.c, src/misc1.c, src/misc2.c, 33921 src/normal.c, src/option.c, src/os_mswin.c, src/os_w32exe.c, 33922 src/os_win32.c, src/os_win32.h, src/proto.h, src/screen.c, 33923 src/spell.c, src/spellfile.c, src/syntax.c, src/userfunc.c, 33924 src/vim.h, src/vim.rc, src/vimrun.c, src/xxd/Make_bc5.mak, 33925 src/xxd/xxd.c 33926 33927Patch 8.1.1307 33928Problem: Cannot reconnect to the X server after it restarted. 33929Solution: Add the :xrestore command. (Adrian Kocis, closes #844) 33930Files: runtime/doc/index.txt, runtime/doc/various.txt, src/os_unix.c, 33931 src/proto/os_unix.pro, src/globals.h, src/ex_cmds.h, 33932 src/ex_cmdidxs.h, src/ex_docmd.c, src/testdir/test_paste.vim 33933 33934Patch 8.1.1308 33935Problem: The Normal highlight is not defined when compiled with GUI. 33936Solution: Always define Normal. (Christian Brabandt, closes #4072) 33937Files: runtime/doc/syntax.txt, src/syntax.c, 33938 src/testdir/test_highlight.vim 33939 33940Patch 8.1.1309 (after 8.1.1308) 33941Problem: Test for Normal highlight fails on MS-Windows GUI. 33942Solution: Skip the test for MS-Windows GUI. 33943Files: src/testdir/test_highlight.vim 33944 33945Patch 8.1.1310 33946Problem: Named function arguments are never optional. 33947Solution: Support optional function arguments with a default value. (Andy 33948 Massimino, closes #3952) 33949Files: runtime/doc/eval.txt, src/structs.h, 33950 src/testdir/test_user_func.vim, src/userfunc.c 33951 33952Patch 8.1.1311 33953Problem: Aborting an autocmd with an exception is not tested. 33954Solution: Add a test. Also shows how to abort a command by throwing an 33955 exception. 33956Files: src/testdir/test_autocmd.vim 33957 33958Patch 8.1.1312 33959Problem: Coverity warning for using uninitialized variable. 33960Solution: Clear exarg_T. 33961Files: src/quickfix.c, src/channel.c, src/ex_cmds2.c 33962 33963Patch 8.1.1313 33964Problem: Warnings for using localtime() and ctime(). 33965Solution: Use localtime_r() if available. Avoid using ctime(). 33966Files: src/configure.ac, src/auto/configure, src/config.h.in, 33967 src/evalfunc.c, src/nbdebug.c, src/undo.c, src/memline.c, 33968 src/proto/memline.pro, src/hardcopy.c 33969 33970Patch 8.1.1314 33971Problem: MSVC makefile is not nicely indented. 33972Solution: Adjust spaces in preprocessor directives. (Ken Takata) 33973Files: src/Make_mvc.mak 33974 33975Patch 8.1.1315 33976Problem: There is always a delay if a termrequest is never answered. 33977Solution: When the response is not received within two seconds consider the 33978 request to have failed. 33979Files: src/term.c 33980 33981Patch 8.1.1316 33982Problem: Duplicated localtime() call. 33983Solution: Delete one. 33984Files: src/undo.c 33985 33986Patch 8.1.1317 33987Problem: Output from Travis can be improved. 33988Solution: Add section headers. Handle errors better. (Ozaki Kiichi, 33989 closes #4098) 33990Files: .travis.yml, configure 33991 33992Patch 8.1.1318 33993Problem: Code for text changes is in a "misc" file. 33994Solution: Move the code to change.c. 33995Files: src/misc1.c, src/proto/misc1.pro, src/change.c, 33996 src/proto/change.pro, src/proto.h, src/memline.c, Filelist, 33997 src/Make_cyg_ming.mak, src/Make_dice.mak, src/Make_manx.mak, 33998 src/Make_morph.mak, src/Make_mvc.mak, src/Make_sas.mak, 33999 src/Make_vms.mms, src/Makefile, src/README.md 34000 34001Patch 8.1.1319 34002Problem: Computing function length name in many places. 34003Solution: compute name length in call_func(). 34004Files: src/eval.c, src/userfunc.c, src/channel.c, src/evalfunc.c, 34005 src/ex_cmds2.c, src/regexp.c, src/terminal.c 34006 34007Patch 8.1.1320 34008Problem: It is not possible to track changes to a buffer. 34009Solution: Add listener_add() and listener_remove(). No docs or tests yet. 34010Files: src/structs.h, src/change.c, src/proto/change.pro 34011 34012Patch 8.1.1321 34013Problem: No docs or tests for listener functions. 34014Solution: Add help and tests for listener_add() and listener_remove(). 34015 Invoke the callbacks before redrawing. 34016Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, 34017 src/testdir/test_listener.vim, src/testdir/Make_all.mak, 34018 src/change.c, src/screen.c, src/evalfunc.c, src/proto/evalfunc.pro 34019 34020Patch 8.1.1322 34021Problem: Cygwin makefile is not nicely indented. 34022Solution: Adjust spaces in preprocessor directives. (Ken Takata) 34023Files: src/Make_cyg_ming.mak 34024 34025Patch 8.1.1323 34026Problem: 'mouse' option is reset when using GPM mouse. 34027Solution: Add flag for GPM mouse. 34028Files: src/term.c 34029 34030Patch 8.1.1324 34031Problem: Stray comma in VMS makefile. 34032Solution: Remove the comma. (Naruhiko Nishino, closes #4368) 34033Files: src/Make_vms.mms 34034 34035Patch 8.1.1325 34036Problem: Cannot build with +eval but without +channel and +timers. (John 34037 Marriott) 34038Solution: Adjust #ifdef for get_callback(). 34039Files: src/evalfunc.c, src/testdir/test_autocmd.vim 34040 34041Patch 8.1.1326 34042Problem: No test for listener with partial. 34043Solution: Add a test. Add example to help. 34044Files: src/testdir/test_listener.vim, runtime/doc/eval.txt 34045 34046Patch 8.1.1327 34047Problem: Unnecessary scroll after horizontal split. 34048Solution: Don't adjust to fraction if all the text fits in the window. 34049 (Martin Kunev, closes #4367) 34050Files: src/testdir/test_window_cmd.vim, src/window.c 34051 34052Patch 8.1.1328 34053Problem: No test for listener with undo operation. 34054Solution: Add a test. 34055Files: src/testdir/test_listener.vim 34056 34057Patch 8.1.1329 34058Problem: Plans for popup window support are spread out. 34059Solution: Add a first version of the popup window help. 34060Files: runtime/doc/popup.txt, runtime/doc/Makefile, runtime/doc/help.txt 34061 34062Patch 8.1.1330 34063Problem: Using bold attribute in terminal changes the color. (Jason 34064 Franklin) 34065Solution: Don't set the "bold-highbright" flag in vterm unless the terminal 34066 supports less than 16 colors. 34067Files: src/terminal.c, src/testdir/test_terminal.vim, 34068 src/testdir/dumps/Test_terminal_all_ansi_colors.dump 34069 34070Patch 8.1.1331 34071Problem: Test 29 is old style. 34072Solution: Turn it into a new style test. (Yegappan Lakshmanan, closes #4370) 34073Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms, 34074 src/testdir/test29.in, src/testdir/test29.ok, 34075 src/testdir/test_backspace_opt.vim, src/testdir/test_join.vim 34076 34077Patch 8.1.1332 34078Problem: Cannot flush change listeners without also redrawing. The line 34079 numbers in the list of changes may become invalid. 34080Solution: Add listener_flush(). Invoke listeners before adding a change 34081 that makes line numbers invalid. 34082Files: src/evalfunc.c, src/change.c, src/proto/change.pro, 34083 src/screen.c, runtime/doc/eval.txt, src/testdir/test_listener.vim 34084 34085Patch 8.1.1333 34086Problem: Text properties don't always move after changes. 34087Solution: Update properties before reporting changes to listeners. Move text 34088 property when splitting a line. 34089Files: src/change.c, src/ex_cmds.c, src/textprop.c, 34090 src/proto/textprop.pro, src/testdir/test_textprop.vim 34091 34092Patch 8.1.1334 34093Problem: When buffer is hidden "F" in 'shortmess' is not used. 34094Solution: Check the "F" flag in 'shortmess' when the buffer is already 34095 loaded. (Jason Franklin) Add test_getvalue() to be able to test 34096 this. 34097Files: src/buffer.c, src/evalfunc.c, src/testdir/test_options.vim, 34098 runtime/doc/eval.txt 34099 34100Patch 8.1.1335 34101Problem: Listener callback is called after inserting text. 34102Solution: Flush the changes before inserting or deleting a line. Store 34103 changes per buffer. 34104Files: src/change.c, src/proto/change.pro, src/memline.c, 34105 src/structs.h, src/testdir/test_listener.vim 34106 34107Patch 8.1.1336 34108Problem: Some eval functionality is not covered by tests. 34109Solution: Add a few more test cases. (Masato Nishihata, closes #4374) 34110Files: src/testdir/test_bufline.vim, src/testdir/test_cindent.vim, 34111 src/testdir/test_cursor_func.vim, src/testdir/test_delete.vim, 34112 src/testdir/test_expand_func.vim, src/testdir/test_float_func.vim, 34113 src/testdir/test_fnamemodify.vim, src/testdir/test_functions.vim 34114 34115Patch 8.1.1337 34116Problem: Get empty text prop when splitting line just after text prop. 34117Solution: Do not create an empty text prop at the start of the line. 34118Files: src/textprop.c, src/testdir/test_textprop.vim 34119 34120Patch 8.1.1338 34121Problem: Hang when concealing the '>' shown for a wide char that doesn't 34122 fit in the last cell. 34123Solution: Put back the pointer when the '>' is not going to be displayed. 34124 (closes #4377) 34125Files: src/screen.c 34126 34127Patch 8.1.1339 34128Problem: Installer needs to product name et al. 34129Solution: Add a few lines to the NSIS installer script. (Ken Takata) 34130Files: nsis/gvim.nsi 34131 34132Patch 8.1.1340 34133Problem: Attributes from 'cursorline' overwrite textprop. 34134Solution: Combine the attributes. (closes #3912) 34135Files: src/screen.c, src/textprop.c, src/testdir/test_textprop.vim, 34136 src/testdir/dumps/Test_textprop_01.dump 34137 34138Patch 8.1.1341 34139Problem: Text properties are lost when joining lines. 34140Solution: Move the text properties to the joined line. 34141Files: src/ops.c, src/textprop.c, src/proto/textprop.pro, 34142 src/testdir/test_textprop.vim, 34143 src/testdir/dumps/Test_textprop_01.dump 34144 34145Patch 8.1.1342 34146Problem: Using freed memory when joining line with text property. 34147Solution: Use already computed length. 34148Files: src/ops.c 34149 34150Patch 8.1.1343 34151Problem: Text properties not adjusted for Visual block mode delete. 34152Solution: Call adjust_prop_columns(). (closes #4384) 34153Files: src/ops.c, src/textprop.c, src/testdir/test_textprop.vim, 34154 src/misc1.c, src/testdir/dumps/Test_textprop_vis_01.dump, 34155 src/testdir/dumps/Test_textprop_vis_02.dump 34156 34157Patch 8.1.1344 34158Problem: Coverity complains about possibly using a NULL pointer and copying 34159 a string into a fixed size buffer. 34160Solution: Check for NULL, even though it should not happen. Use 34161 vim_strncpy() instead of strcpy(). 34162Files: src/change.c, src/memline.c 34163 34164Patch 8.1.1345 34165Problem: Stuck in sandbox with ":s/../\=Function/gn". 34166Solution: Don't skip over code to restore sandbox. (Christian Brabandt) 34167Files: src/ex_cmds.c, src/testdir/test_substitute.vim 34168 34169Patch 8.1.1346 34170Problem: Error for Python exception does not show useful info. 34171Solution: Show the last line instead of the first one. (Ben Jackson, 34172 closes #4381) 34173Files: src/if_py_both.h, src/testdir/test86.ok, src/testdir/test87.ok, 34174 src/testdir/test_python2.vim, src/testdir/test_python3.vim, 34175 src/testdir/test_pyx2.vim, src/testdir/test_pyx3.vim 34176 34177Patch 8.1.1347 (after 8.1.1327) 34178Problem: Fractional scroll position not restored after closing window. 34179Solution: Do restore fraction if topline is not one. 34180Files: src/window.c, src/testdir/test_window_cmd.vim 34181 34182Patch 8.1.1348 34183Problem: Running tests may cause the window to move. 34184Solution: Correct the reported window position for the offset with the 34185 position after ":winpos". Works around an xterm bug. 34186Files: src/testdir/test_edit.vim 34187 34188Patch 8.1.1349 34189Problem: If writing runs into a conversion error the backup file is 34190 deleted. (Arseny Nasokin) 34191Solution: Don't delete the backup file is the file was overwritten and a 34192 conversion error occurred. (Christian Brabandt, closes #4387) 34193Files: src/fileio.c, src/testdir/test_writefile.vim 34194 34195Patch 8.1.1350 34196Problem: "W" for wrapping not shown when more than 99 matches. 34197Solution: Adjust check for length. (Masato Nishihata, closes #4388) 34198Files: src/search.c, src/testdir/test_search_stat.vim 34199 34200Patch 8.1.1351 34201Problem: Text property wrong after :substitute. 34202Solution: Save for undo before changing any text properties. 34203Files: src/testdir/test_textprop.vim, src/ex_cmds.c, src/textprop.c, 34204 src/proto/textprop.pro, src/change.c, src/edit.c, src/misc1.c, 34205 src/ops.c 34206 34207Patch 8.1.1352 34208Problem: Undofile() reports wrong name. (Francisco Giordano) 34209Solution: Clean up the name before changing path separators. (closes #4392, 34210 closes #4394) 34211Files: src/evalfunc.c, src/testdir/test_undo.vim 34212 34213Patch 8.1.1353 (after 8.1.1352) 34214Problem: Undo test fails on Mac. 34215Solution: Expect "private" on the Mac. 34216Files: src/testdir/test_undo.vim 34217 34218Patch 8.1.1354 34219Problem: Getting a list of text lines is clumsy. 34220Solution: Add the =<< assignment. (Yegappan Lakshmanan, closes #4386) 34221Files: runtime/doc/eval.txt, src/eval.c, src/testdir/test_let.vim 34222 34223Patch 8.1.1355 34224Problem: Obvious mistakes are accepted as valid expressions. 34225Solution: Be more strict about parsing numbers. (Yasuhiro Matsumoto, 34226 closes #3981) 34227Files: src/charset.c, src/eval.c, src/evalfunc.c, src/ex_cmds.c, 34228 src/ex_getln.c, src/json.c, src/misc2.c, src/ops.c, src/option.c, 34229 src/proto/charset.pro, src/testdir/test_expr.vim, 34230 src/testdir/test_json.vim 34231 34232Patch 8.1.1356 34233Problem: Some text in heredoc assignment ends the text. (Ozaki Kiichi) 34234Solution: Recognize "let v =<<" and skip until the end. 34235Files: src/userfunc.c, src/testdir/test_let.vim 34236 34237Patch 8.1.1357 34238Problem: Test 37 is old style. 34239Solution: Turn it into a new style test. (Yegappan Lakshmanan, closes #4398) 34240Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms, 34241 src/testdir/test37.in, src/testdir/test37.ok, 34242 src/testdir/test_scrollbind.vim 34243 34244Patch 8.1.1358 34245Problem: Cannot enter character with a CSI byte. 34246Solution: Only check "gui.in_use" when VIMDLL is defined. (Ken Takata, 34247 closes #4396) 34248Files: src/getchar.c 34249 34250Patch 8.1.1359 34251Problem: Text property wrong after :substitute with backslash. 34252Solution: Adjust text property columns when removing backslashes. 34253 (closes #4397) 34254Files: src/ex_cmds.c, src/testdir/test_textprop.vim, src/vim.h, 34255 src/textprop.c, src/proto/textprop.pro, src/change.c, src/edit.c, 34256 src/misc1.c, src/ops.c 34257 34258Patch 8.1.1360 (after Patch 8.1.1345) 34259Problem: Buffer left 'nomodifiable' after :substitute. (Ingo Karkat) 34260Solution: Save the value of 'modifiable' earlier. (Christian Brabandt, 34261 closes #4403) 34262Files: src/ex_cmds.c, src/testdir/test_substitute.vim 34263 34264Patch 8.1.1361 34265Problem: Python setuptools don't work with Python 3. 34266Solution: Add dummy implementation for find_module. (Joel Frederico, 34267 closes #4402, closes #3984) 34268Files: src/if_py_both.h 34269 34270Patch 8.1.1362 34271Problem: Code and data in tests can be hard to read. 34272Solution: Use the new heredoc style. (Yegappan Lakshmanan, closes #4400) 34273Files: src/testdir/test_autocmd.vim, src/testdir/test_balloon.vim, 34274 src/testdir/test_bufline.vim, src/testdir/test_cindent.vim, 34275 src/testdir/test_conceal.vim, src/testdir/test_exit.vim, 34276 src/testdir/test_fold.vim, src/testdir/test_goto.vim, 34277 src/testdir/test_join.vim, src/testdir/test_mksession_utf8.vim, 34278 src/testdir/test_normal.vim, src/testdir/test_profile.vim, 34279 src/testdir/test_quickfix.vim, src/testdir/test_startup.vim, 34280 src/testdir/test_terminal.vim, src/testdir/test_xxd.vim 34281 34282Patch 8.1.1363 34283Problem: ":vert options" does not make a vertical split. 34284Solution: Pass the right modifiers in $OPTWIN_CMD. (Ken Takata, 34285 closes #4401) 34286Files: src/ex_cmds2.c, src/testdir/test_options.vim 34287 34288Patch 8.1.1364 34289Problem: Design for popup window support needs more details. 34290Solution: Add details about using a window and buffer. Rename popup_show() 34291 to popup_create() and add popup_show() and popup_hide(). 34292Files: runtime/doc/popup.txt 34293 34294Patch 8.1.1365 34295Problem: Source command doesn't check for the sandbox. (Armin Razmjou) 34296Solution: Check for the sandbox when sourcing a file. 34297Files: src/getchar.c, src/testdir/test_source.vim 34298 34299Patch 8.1.1366 34300Problem: Using expressions in a modeline is unsafe. 34301Solution: Disallow using expressions in a modeline, unless the 34302 'modelineexpr' option is set. Update help, add more tests. 34303Files: runtime/doc/options.txt, src/option.c, src/option.h, 34304 src/testdir/test_modeline.vim, src/testdir/test49.in 34305 34306Patch 8.1.1367 (after 8.1.1366) 34307Problem: can set 'modelineexpr' in modeline. 34308Solution: Add P_SECURE flag. 34309Files: src/option.c, src/testdir/test_modeline.vim 34310 34311Patch 8.1.1368 (after 8.1.1366) 34312Problem: Modeline test fails with python but without pythonhome. 34313Solution: Correct test argument. 34314Files: src/testdir/test_modeline.vim 34315 34316Patch 8.1.1369 34317Problem: Get E484 when using system() during GUI startup. 34318Solution: Check "gui.starting". (Ken Takata) 34319Files: src/os_win32.c 34320 34321Patch 8.1.1370 34322Problem: Not using the new github feature for donations. 34323Solution: Add a Sponsor button. (closes #4417) 34324Files: .github/FUNDING.yml 34325 34326Patch 8.1.1371 34327Problem: Cannot recover from a swap file. 34328Solution: Do not expand environment variables in the swap file name. 34329 Do not check the extension when we already know a file is a swap 34330 file. (Ken Takata, closes #4415, closes #4369) 34331Files: src/buffer.c, src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, 34332 src/gui.c, src/if_cscope.c, src/main.c, src/memline.c, 34333 src/misc1.c, src/proto/memline.pro, src/proto/misc1.pro, 34334 src/search.c, src/spell.c, src/spellfile.c, src/tag.c, 34335 src/testdir/test_swap.vim, src/vim.h 34336 34337Patch 8.1.1372 34338Problem: When evaluating 'statusline' the current window is unknown. 34339 (Daniel Hahler) 34340Solution: Set "g:actual_curwin" for %{} items. Set "g:statusline_winid" 34341 when evaluating %!. (closes #4406, closes #3299) 34342Files: src/buffer.c, runtime/doc/options.txt, 34343 src/testdir/test_statusline.vim 34344 34345Patch 8.1.1373 34346Problem: "[p" in Visual mode puts in wrong line. 34347Solution: Call nv_put() instead of duplicating the functionality. 34348 (closes #4408) 34349Files: src/normal.c, src/testdir/test_put.vim 34350 34351Patch 8.1.1374 34352Problem: Check for file changed triggers too often. 34353Solution: Don't use "b_p_ar" when it is negative. 34354Files: src/fileio.c 34355 34356Patch 8.1.1375 34357Problem: Without "TS" in 'shortmess' get a hit-enter prompt often. 34358Solution: Always truncate the search message. Also avoid putting it in the 34359 message history. (closes #4413) 34360Files: src/search.c, src/main.c, src/testdir/test_search_stat.vim 34361 34362Patch 8.1.1376 34363Problem: Warnings for size_t/int mixups. 34364Solution: Change types, add type casts. (Mike Williams) 34365Files: src/search.c, src/textprop.c 34366 34367Patch 8.1.1377 34368Problem: MS-Windows GUI uses wrong shell command for bash. (Robert Bogomip) 34369Solution: Check that 'shellcmdflag' is "/c". (Ken Takata, closes #4418) 34370Files: src/os_win32.c 34371 34372Patch 8.1.1378 34373Problem: Delete() can not handle a file name that looks like a pattern. 34374Solution: Use readdir() instead of appending "/*" and expanding wildcards. 34375 (Ken Takata, closes #4424, closes #696) 34376Files: src/testdir/test_functions.vim, src/evalfunc.c, src/fileio.c, 34377 src/proto/fileio.pro 34378 34379Patch 8.1.1379 (after 8.1.1374) 34380Problem: Filechanged test hangs. 34381Solution: Do not check 'autoread'. 34382Files: src/fileio.c, src/testdir/test_filechanged.vim 34383 34384Patch 8.1.1380 34385Problem: MS-Windows building VIMDLL with MSVC: SUBSYSTEM is not set. 34386Solution: Invert condition. (Ken Takata, closes #4422) 34387Files: src/Make_mvc.mak 34388 34389Patch 8.1.1381 34390Problem: MS-Windows: missing build dependency. 34391Solution: Make gui_dwrite.cpp depend on gui_dwrite.h. (Ken Takata, 34392 closes #4423) 34393Files: src/Make_cyg_ming.mak, src/Make_mvc.mak 34394 34395Patch 8.1.1382 34396Problem: Error when editing test file. 34397Solution: Remove part of modeline. 34398Files: src/testdir/test_vimscript.vim, src/testdir/test49.vim, 34399 src/testdir/test49.in 34400 34401Patch 8.1.1383 34402Problem: Warning for size_t/int mixup. 34403Solution: Change type. (Mike Williams) 34404Files: src/search.c 34405 34406Patch 8.1.1384 34407Problem: Using "int" for alloc() often results in compiler warnings. 34408Solution: Use "size_t" and remove type casts. Remove alloc_check(), Vim 34409 only works with 32 bit ints anyway. 34410Files: src/misc2.c, src/proto/misc2.pro, src/change.c, src/ex_cmds.c, 34411 src/netbeans.c, src/autocmd.c, src/buffer.c, src/change.c, 34412 src/channel.c, src/charset.c, src/debugger.c, src/dict.c, 34413 src/diff.c, src/digraph.c, src/edit.c, src/eval.c, src/evalfunc.c, 34414 src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, src/ex_eval.c, 34415 src/ex_getln.c, src/fileio.c, src/findfile.c, src/fold.c, 34416 src/getchar.c, src/gui.c, src/gui_at_fs.c, src/gui_gtk.c, 34417 src/gui_gtk_x11.c, src/gui_motif.c, src/gui_w32.c, src/hashtab.c, 34418 src/if_cscope.c, src/if_perlsfio.c, src/if_python3.c, 34419 src/if_xcmdsrv.c, src/indent.c, src/insexpand.c, src/main.c, 34420 src/mbyte.c, src/memfile.c, src/memline.c, src/menu.c, 34421 src/message.c, src/misc1.c, src/misc2.c, src/netbeans.c, 34422 src/ops.c, src/option.c, src/os_amiga.c, src/os_mswin.c, 34423 src/os_unix.c, src/os_vms.c, src/os_win32.c, src/quickfix.c, 34424 src/regexp.c, src/screen.c, src/spell.c, src/spellfile.c, 34425 src/syntax.c, src/term.c, src/undo.c, src/usercmd.c, 34426 src/userfunc.c, src/version.c, src/winclip.c 34427 34428Patch 8.1.1385 34429Problem: Signed/unsigned compiler warning. 34430Solution: Use STRLEN() instead of strlen(). 34431Files: src/fileio.c 34432 34433Patch 8.1.1386 34434Problem: Unnecessary type casts for lalloc(). 34435Solution: Remove type casts. Change lalloc(size, TRUE) to alloc(size). 34436Files: src/buffer.c, src/change.c, src/channel.c, src/diff.c, src/edit.c, 34437 src/eval.c, src/ex_cmds.c, src/ex_getln.c, src/fileio.c, 34438 src/getchar.c, src/gui_mac.c, src/insexpand.c, src/gui_w32.c, 34439 src/gui_x11.c, src/menu.c, src/netbeans.c, src/ops.c, 34440 src/os_mswin.c, src/os_amiga.c, src/os_qnx.c, src/os_unix.c, 34441 src/os_win32.c, src/popupmnu.c, src/quickfix.c, src/regexp.c, 34442 src/regexp_nfa.c, src/screen.c, src/search.c, src/sign.c, 34443 src/spell.c, src/spellfile.c, src/syntax.c, src/tag.c, 34444 src/terminal.c, src/textprop.c, src/ui.c, src/undo.c, 34445 src/userfunc.c, src/winclip.c, src/window.c 34446 34447Patch 8.1.1387 34448Problem: Calling prop_add() in an empty buffer doesn't work. (Dominique 34449 Pelle) 34450Solution: Open the memline before adding a text property. (closes #4412) 34451Files: src/textprop.c, src/testdir/test_textprop.vim 34452 34453Patch 8.1.1388 34454Problem: Errors when calling prop_remove() for an unloaded buffer. 34455Solution: Bail out when the buffer is not loaded. Add a few more tests for 34456 failing when the buffer number is invalid. 34457Files: src/textprop.c, src/testdir/test_textprop.vim 34458 34459Patch 8.1.1389 34460Problem: Changes are not flushed when end and start overlap. (Paul Jolly) 34461Solution: When end of a previous changes overlaps with start of a new 34462 change, first flush listeners. 34463Files: src/change.c, src/testdir/test_listener.vim 34464 34465Patch 8.1.1390 34466Problem: Search stats are off when using count or offset. 34467Solution: Recompute the stats when needed. (Masato Nishihata, closes #4410) 34468Files: src/testdir/test_search_stat.vim, src/search.c 34469 34470Patch 8.1.1391 34471Problem: No popup window support. 34472Solution: Add initial code for popup windows. Add the 'wincolor' option. 34473Files: Filelist, runtime/doc/popup.txt, runtime/doc/options.txt, 34474 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Make_vms.mms, 34475 src/Makefile, src/autocmd.c, src/buffer.c, src/ex_cmds.h, 34476 src/ex_cmdidxs.h, src/proto/buffer.pro, src/eval.c src/evalfunc.c 34477 src/feature.h, src/globals.h, src/option.c, src/option.h, 34478 src/popupwin.c, src/proto.h, src/proto/popupwin.pro, 34479 src/proto/window.pro, src/screen.c, src/structs.h, src/terminal.c, 34480 src/testdir/Make_all.mak, src/testdir/dumps/Test_popupwin_01.dump, 34481 src/testdir/test_popupwin.vim, src/vim.h, src/window.c 34482 34483Patch 8.1.1392 (after 8.1.1391) 34484Problem: Build failure in tiny version. 34485Solution: Define ex_popupclear to ex_ni if not implemented. Add UNUSED. 34486Files: src/ex_docmd.c, src/window.c 34487 34488Patch 8.1.1393 34489Problem: Unnecessary type casts. 34490Solution: Remove type casts from alloc() and lalloc() calls. (Mike Williams) 34491Files: src/channel.c, src/crypt.c, src/dict.c, src/dosinst.c, 34492 src/evalfunc.c, src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, 34493 src/ex_getln.c, src/fileio.c, src/findfile.c, src/if_ole.cpp, 34494 src/if_py_both.h, src/list.c, src/message.c, src/misc1.c, 34495 src/misc2.c, src/ops.c, src/os_vms.c, src/os_win32.c, 34496 src/quickfix.c, src/regexp_nfa.c, src/screen.c, src/search.c, 34497 src/sign.c, src/syntax.c, src/tag.c, src/term.c, src/terminal.c, 34498 src/textprop.c 34499 34500Patch 8.1.1394 34501Problem: Not restoring t_F2 in registers test. 34502Solution: Assign to &t_F2 instead of t_F2. (Andy Massimino, closes #4434) 34503Files: src/testdir/test_registers.vim 34504 34505Patch 8.1.1395 34506Problem: Saving for undo may access invalid memory. (Dominique Pelle) 34507Solution: Set ml_line_len also when returning a constant string. 34508Files: src/memline.c, src/testdir/test_textprop.vim 34509 34510Patch 8.1.1396 34511Problem: 'wincolor' does not apply to lines below the buffer. 34512Solution: Also apply 'wincolor' to the "~" lines and the number column. 34513Files: src/screen.c, src/testdir/test_highlight.vim, 34514 src/testdir/dumps/Test_wincolor_01.dump 34515 34516Patch 8.1.1397 34517Problem: Build fails in tiny version. 34518Solution: Always define hl_combine_attr(). 34519Files: src/syntax.c 34520 34521Patch 8.1.1398 34522Problem: Duplicate line in MSVC build file. 34523Solution: Remove the line. (Ken Takata, closes #4436) 34524Files: src/Make_mvc.mak 34525 34526Patch 8.1.1399 34527Problem: Popup windows not adjusted when switching tabs. 34528Solution: Save and restore first_tab_popupwin. Fix closing a tabpage. 34529Files: src/window.c, src/popupwin.c, src/proto/popupwin.pro, 34530 src/testdir/test_popupwin.vim, 34531 src/testdir/dumps/Test_popupwin_02.dump, 34532 src/testdir/dumps/Test_popupwin_03.dump, 34533 src/testdir/dumps/Test_popupwin_04.dump 34534 34535Patch 8.1.1400 34536Problem: Using global pointer for tab-local popups is clumsy. 34537Solution: Use the pointer in tabpage_T. 34538Files: src/popupwin.c, src/globals.h, src/eval.c, src/screen.c, 34539 src/window.c 34540 34541Patch 8.1.1401 34542Problem: Misspelled mkspellmem as makespellmem. 34543Solution: Drop duplicate help entry, fix test. (Naruhiko Nishino, Yasuhiro 34544 Matsumoto, closes #4437) 34545Files: runtime/doc/options.txt, src/testdir/test_modeline.vim 34546 34547Patch 8.1.1402 34548Problem: "timer" option of popup windows not supported. 34549Solution: Implement the "timer" option. (Yasuhiro Matsumoto, closes #4439) 34550Files: src/structs.h, src/testdir/test_popupwin.vim, src/popupwin.c, 34551 src/window.c, runtime/doc/popup.txt 34552 34553Patch 8.1.1403 34554Problem: Cannot build without the timer feature. 34555Solution: Add #ifdef. 34556Files: src/structs.h, src/window.c, src/popupwin.c, 34557 src/testdir/test_popupwin.vim 34558 34559Patch 8.1.1404 34560Problem: Cannot change the patch level when building with NSIS. 34561Solution: Use $PATCHLEVEL if defined. (Christian Brabandt) 34562Files: nsis/gvim.nsi 34563 34564Patch 8.1.1405 34565Problem: "highlight" option of popup windows not supported. 34566Solution: Implement the "highlight" option. 34567Files: src/option.c, src/proto/option.pro, src/diff.c src/popupwin.c, 34568 runtime/doc/popup.txt, src/testdir/test_popupwin.vim, 34569 src/testdir/dumps/Test_popupwin_01.dump, 34570 src/testdir/dumps/Test_popupwin_03.dump 34571 34572Patch 8.1.1406 34573Problem: popup_hide() and popup_show() not implemented yet. 34574Solution: Implement the functions. 34575Files: src/popupwin.c, src/proto/popupwin.pro, src/evalfunc.c, 34576 src/structs.h, runtime/doc/popup.txt, src/screen.c, src/vim.h, 34577 src/testdir/test_popupwin.vim 34578 34579Patch 8.1.1407 34580Problem: Popup_create() does not support text properties. 34581Solution: Support the third form of the text argument. 34582Files: src/textprop.c, src/proto/textprop.pro, src/popupwin.c, 34583 src/testdir/test_popupwin.vim, src/screen.c, 34584 src/testdir/dumps/Test_popupwin_02.dump, 34585 src/testdir/dumps/Test_popupwin_03.dump, 34586 src/testdir/dumps/Test_popupwin_04.dump, 34587 runtime/doc/popup.txt 34588 34589Patch 8.1.1408 34590Problem: PFL_HIDDEN conflicts with system header file. (Ken Takata) 34591Solution: Rename to POPF_HIDDEN. 34592Files: src/popupwin.c, src/screen.c, src/vim.h 34593 34594Patch 8.1.1409 34595Problem: Coverity warns for using uninitialized memory. 34596Solution: Add a condition to clearing the growarray. 34597Files: src/json.c 34598 34599Patch 8.1.1410 34600Problem: Popup_move() is not implemented yet. 34601Solution: Implement it. (Yasuhiro Matsumoto, closes #4441) Improve the 34602 positioning and resizing. 34603Files: runtime/doc/popup.txt, src/evalfunc.c, src/popupwin.c, 34604 src/screen.c, src/structs.h, src/proto/popupwin.pro, 34605 src/testdir/test_popupwin.vim, 34606 src/testdir/dumps/Test_popupwin_05.dump 34607 34608Patch 8.1.1411 34609Problem: Coverity warns for divide by zero. 34610Solution: Make sure width is larger than zero. 34611Files: src/charset.c 34612 34613Patch 8.1.1412 34614Problem: Test 30 is old style. 34615Solution: Turn it into a new style test. (Yegappan Lakshmanan, closes #4440) 34616Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms, 34617 src/testdir/test30.in, src/testdir/test30.ok, 34618 src/testdir/test_fileformat.vim 34619 34620Patch 8.1.1413 34621Problem: Error when the drive of the swap file was disconnected. 34622Solution: Try closing and re-opening the swap file. (partly by Joe Orost, 34623 closes #4378) 34624Files: src/memfile.c, src/structs.h, src/testdir/test_startup.vim 34625 34626Patch 8.1.1414 34627Problem: Alloc() returning "char_u *" causes a lot of type casts. 34628Solution: Have it return "void *". (Mike Williams) Define ALLOC_ONE() to 34629 check the simple allocations. 34630Files: src/autocmd.c, src/blob.c, src/blowfish.c, src/buffer.c, 34631 src/change.c, src/channel.c, src/crypt.c, src/crypt_zip.c, 34632 src/dict.c, src/diff.c, src/eval.c, src/evalfunc.c, src/ex_cmds.c, 34633 src/ex_cmds2.c, src/ex_docmd.c, src/ex_eval.c, src/ex_getln.c, 34634 src/fileio.c, src/findfile.c, src/getchar.c, src/gui_gtk.c, 34635 src/gui_gtk_x11.c, src/gui_mac.c, src/gui_motif.c, 34636 src/gui_photon.c, src/gui_w32.c, src/gui_x11.c, src/hardcopy.c, 34637 src/hashtab.c, src/if_cscope.c, src/if_mzsch.c, src/if_perlsfio.c, 34638 src/if_py_both.h, src/if_python3.c, src/if_xcmdsrv.c, 34639 src/insexpand.c, src/list.c, src/mark.c, src/mbyte.c, 34640 src/memfile.c, src/memfile_test.c, src/memline.c, src/message.c, 34641 src/misc2.c, src/netbeans.c, src/normal.c, src/ops.c, 34642 src/option.c, src/os_amiga.c, src/os_mac_conv.c, src/os_mswin.c, 34643 src/os_unix.c, src/os_vms.c, src/os_win32.c, src/popupmnu.c, 34644 src/proto/misc2.pro, src/quickfix.c, src/regexp.c, 34645 src/regexp_nfa.c, src/screen.c, src/search.c, src/sign.c, 34646 src/spell.c, src/spellfile.c, src/syntax.c, src/tag.c, src/term.c, 34647 src/terminal.c, src/textprop.c, src/ui.c, src/undo.c, 34648 src/userfunc.c, src/version.c, src/winclip.c, src/window.c, 34649 src/vim.h, src/testdir/test_cscope.vim 34650 34651Patch 8.1.1415 (after 8.1.1414) 34652Problem: Build error in MS-Windows GUI. 34653Solution: Fix the LALLOC_MULT() argument. 34654Files: src/gui_w32.c 34655 34656Patch 8.1.1416 34657Problem: Popup_getposition() not implemented yet. 34658Solution: Implement it. (Yasuhiro Matsumoto, closes #4449) 34659Files: runtime/doc/popup.txt, src/evalfunc.c, src/popupwin.c, 34660 src/proto/popupwin.pro, src/testdir/test_popupwin.vim 34661 34662Patch 8.1.1417 34663Problem: MS-Windows: resolve() does not resolve all components of the path. 34664 (David Briscoe) 34665Solution: Do not bail out for a reparse point. (Yasuhiro Matsumoto, 34666 closes #4211, closes #4447) 34667Files: src/os_mswin.c, src/testdir/test_functions.vim 34668 34669Patch 8.1.1418 34670Problem: Win_execute() is not implemented yet. 34671Solution: Implement it. 34672Files: src/evalfunc.c, src/popupwin.c, src/testdir/test_execute_func.vim, 34673 runtime/doc/popup.txt, runtime/doc/eval.txt 34674 34675Patch 8.1.1419 34676Problem: Listener callbacks may be called recursively. 34677Solution: Set "updating_screen" while listener callbacks are invoked. 34678Files: src/change.c, src/screen.c, src/proto/screen.pro, src/ui.c 34679 34680Patch 8.1.1420 34681Problem: Popup window size only uses first line length. 34682Solution: Use the longest line. (Ben Jackson, closes #4451) Also deal with 34683 wrapping lines. 34684Files: src/popupwin.c, src/testdir/test_popupwin.vim 34685 34686Patch 8.1.1421 34687Problem: Drawing "~" line in popup window. 34688Solution: Just draw text in the last line of the popup window. 34689Files: src/screen.c, src/structs.h, src/popupwin.c, 34690 src/proto/popupwin.pro, src/testdir/test_popupwin.vim, 34691 src/testdir/dumps/Test_popupwin_05.dump, 34692 src/testdir/dumps/Test_popupwin_06.dump 34693 34694Patch 8.1.1422 34695Problem: Popup_getoptions() not implemented yet. 34696Solution: Implement it. (closes #4452) 34697Files: runtime/doc/popup.txt, src/evalfunc.c, src/popupwin.c, 34698 src/proto/popupwin.pro, src/testdir/test_popupwin.vim 34699 34700Patch 8.1.1423 34701Problem: Popup windows use options from current window and buffer. 34702Solution: Clear all local options when creating a popup window. 34703Files: src/popupwin.c, src/option.c, src/proto/option.pro, 34704 src/testdir/test_popupwin.vim 34705 34706Patch 8.1.1424 34707Problem: Crash when popup menu is deleted while waiting for char. 34708Solution: Bail out when pum_array was cleared. 34709Files: src/popupmnu.c 34710 34711Patch 8.1.1425 34712Problem: Win_execute() does not set window pointers properly. 34713Solution: Use switch_win_noblock(). Also execute autocommands in a popup 34714 window. 34715Files: src/window.c, src/proto/window.pro, src/evalfunc.c, src/autocmd.c 34716 34717Patch 8.1.1426 34718Problem: No test for syntax highlight in popup window. 34719Solution: Add a screenshot test. Update associated documentation. Avoid 34720 'buftype' being reset by setbufvar(). 34721Files: runtime/doc/eval.txt, src/testdir/test_popupwin.vim, 34722 src/testdir/dumps/Test_popupwin_10.dump, 34723 src/testdir/dumps/Test_popupwin_11.dump 34724 34725Patch 8.1.1427 (after 8.1.1426) 34726Problem: Popup window screenshot test fails. 34727Solution: Add missing change to popup window code. 34728Files: src/popupwin.c 34729 34730Patch 8.1.1428 34731Problem: Popup_atcursor() not implemented yet. 34732Solution: Implement it. (Yasuhiro Matsumoto, closes #4456) 34733Files: runtime/doc/popup.txt, src/evalfunc.c, src/popupwin.c, 34734 src/proto/popupwin.pro, src/testdir/test_popupwin.vim 34735 34736Patch 8.1.1429 34737Problem: "pos" option of popup window not supported yet. 34738Solution: Implement the option. Rename popup_getposition() to 34739 popup_getpos(). 34740Files: src/structs.h, src/popupwin.c, src/proto/popupwin.pro, 34741 runtime/doc/popup.txt 34742 34743Patch 8.1.1430 34744Problem: Popup window option "wrap" not supported. 34745Solution: Implement it. 34746Files: src/popupwin.c, src/testdir/test_popupwin.vim, 34747 src/testdir/dumps/Test_popupwin_wrap.dump, 34748 src/testdir/dumps/Test_popupwin_nowrap.dump 34749 34750Patch 8.1.1431 34751Problem: Popup window listed as "Scratch". 34752Solution: List them as "Popup". 34753Files: src/buffer.c, src/popupwin.c, src/testdir/test_popupwin.vim, 34754 runtime/doc/popup.txt, runtime/doc/windows.txt 34755 34756Patch 8.1.1432 (after 8.1.1429) 34757Problem: Can't build with eval feature. 34758Solution: Add missing rename. 34759Files: src/evalfunc.c 34760 34761Patch 8.1.1433 34762Problem: Win_execute() may leave popup window focused, eventually leading 34763 to a crash. (Bjorn Linse) 34764Solution: When previous window was closed, go to the first window. 34765Files: src/window.c, src/testdir/test_popupwin.vim 34766 34767Patch 8.1.1434 34768Problem: Test 3 is old style. 34769Solution: Turn into a new style test. (Yegappan Lakshmanan, closes #4460) 34770Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms, 34771 src/testdir/test3.in, src/testdir/test3.ok, 34772 src/testdir/test_cindent.vim 34773 34774Patch 8.1.1435 34775Problem: Memory usage test is a bit too flaky. 34776Solution: Adjust the tolerances a bit. (Christian Brabandt) 34777Files: src/testdir/test_memory_usage.vim 34778 34779Patch 8.1.1436 34780Problem: Writefile test fails when run under /tmp. 34781Solution: Adjust 'backupskip'. (Kenta Sato, closes #4462) 34782Files: src/testdir/test_writefile.vim 34783 34784Patch 8.1.1437 34785Problem: Code to handle callbacks is duplicated. 34786Solution: Add callback_T and functions to deal with it. 34787Files: src/structs.h, src/evalfunc.c, src/proto/evalfunc.pro, 34788 src/change.c, src/channel.c, src/proto/channel.pro, src/buffer.c, 34789 src/userfunc.c, src/proto/userfunc.pro, src/eval.c, 34790 src/ex_cmds2.c, src/popupwin.c 34791 34792Patch 8.1.1438 34793Problem: Some commands cause trouble in a popup window. 34794Solution: Add NOT_IN_POPUP_WINDOW. 34795Files: src/macros.h, src/popupwin.c, src/proto/popupwin.pro, 34796 src/ex_docmd.c, src/ex_cmds2.c, src/window.c, 34797 src/testdir/test_popupwin.vim 34798 34799Patch 8.1.1439 34800Problem: Json_encode() is very slow for large results. 34801Solution: In the growarray use a growth of at least 50%. (Ken Takata, 34802 closes #4461) 34803Files: src/misc2.c 34804 34805Patch 8.1.1440 34806Problem: Win_execute() test fails. 34807Solution: Adjust the expected error number. Move to popup test. 34808Files: src/testdir/test_execute_func.vim, src/testdir/test_popupwin.vim 34809 34810Patch 8.1.1441 34811Problem: Popup window filter not yet implemented. 34812Solution: Implement the popup filter. 34813Files: src/structs.h, runtime/doc/popup.txt, src/popupwin.c, 34814 src/proto/popupwin.pro, src/window.c, src/getchar.c, src/screen.c, 34815 src/misc2.c, src/proto/misc2.pro, src/vim.h, 34816 src/testdir/test_popupwin.vim 34817 34818Patch 8.1.1442 34819Problem: Popup windows not considered when the Vim window is resized. 34820 (Ben Jackson) 34821Solution: Reallocate the w_lines structure. (closes #4467) 34822Files: src/screen.c 34823 34824Patch 8.1.1443 34825Problem: Popup window padding and border not implemented yet. 34826Solution: Implement padding and border. Add core position and size to 34827 popup_getpos(). 34828Files: src/structs.h, src/popupwin.c, src/screen.c, 34829 src/testdir/test_popupwin.vim, 34830 src/testdir/dumps/Test_popupwin_20.dump, runtime/doc/popup.txt 34831 34832Patch 8.1.1444 34833Problem: Not using double line characters for popup border. 34834Solution: Use double line characters if using utf-8. 34835Files: src/screen.c, src/testdir/test_popupwin.vim, 34836 src/testdir/dumps/Test_popupwin_21.dump 34837 34838Patch 8.1.1445 34839Problem: Popup window border highlight not implemented yet. 34840Solution: Implement the "borderhighlight" option. 34841Files: src/structs.h, src/popupwin.c, src/window.c, src/screen.c, 34842 src/testdir/test_popupwin.vim, runtime/doc/popup.txt, 34843 src/testdir/dumps/Test_popupwin_22.dump 34844 34845Patch 8.1.1446 34846Problem: Popup window callback not implemented yet. 34847Solution: Implement the callback. 34848Files: runtime/doc/popup.txt, src/popupwin.c, src/structs.h, 34849 src/evalfunc.c, src/window.c, src/testdir/test_popupwin.vim 34850 34851Patch 8.1.1447 34852Problem: Not allowed to create an empty popup. 34853Solution: Remove restriction that there is some text. (closes #4470) 34854Files: src/popupwin.c, src/testdir/test_popupwin.vim 34855 34856Patch 8.1.1448 34857Problem: Statusline is sometimes drawn on top of popup. 34858Solution: Redraw popups after the statusline. (Naruhiko Nishino, 34859 closes #4468) 34860Files: src/screen.c, src/testdir/test_popupwin.vim, 34861 src/testdir/dumps/Test_popupwin_behind.dump 34862 34863Patch 8.1.1449 34864Problem: Popup text truncated at end of screen. 34865Solution: Move popup left if needed. Add the "fixed" property to disable 34866 that. (Ben Jackson, closes #4466) 34867Files: runtime/doc/popup.txt, src/popupwin.c, src/structs.h, 34868 src/testdir/test_popupwin.vim 34869 34870Patch 8.1.1450 34871Problem: Popup window positioning wrong when using padding or borders. 34872Solution: Fix computing the position. 34873Files: src/popupwin.c, src/testdir/test_popupwin.vim, 34874 src/testdir/dumps/Test_popupwin_corners.dump 34875 34876Patch 8.1.1451 34877Problem: CTRL-L does not clear screen with a popup window. 34878Solution: Do not change the type to NOT_VALID. Redraw all windows. 34879 (closes #4471) 34880Files: src/screen.c 34881 34882Patch 8.1.1452 34883Problem: Line and col property of popup windows not properly checked. 34884Solution: Check for "+" or "-" sign. 34885Files: src/popupwin.c, src/dict.c, src/proto/dict.pro, 34886 src/window.c, src/testdir/test_popupwin.vim 34887 34888Patch 8.1.1453 34889Problem: Popup window "moved" property not implemented yet. 34890Solution: Implement it. 34891Files: src/main.c, src/edit.c, src/gui.c, src/globals.h, src/structs.h, 34892 src/screen.c, src/popupwin.c, src/proto/popupwin.pro, 34893 src/testdir/test_popupwin.vim, runtime/doc/popup.txt 34894 34895Patch 8.1.1454 34896Problem: Build failure without the conceal feature. 34897Solution: Remove #ifdef. 34898Files: src/autocmd.c 34899 34900Patch 8.1.1455 34901Problem: Popup_atcursor() not completely implemented. 34902Solution: Add the default for the "moved" property. 34903Files: src/popupwin.c, src/normal.c, src/vim.h, 34904 src/testdir/test_popupwin.vim 34905 34906Patch 8.1.1456 34907Problem: WinBar not redrawn after scrolling one line. 34908Solution: Exclude the winbar height when deciding what to redraw. 34909 (closes #4473) 34910Files: src/screen.c, src/testdir/test_winbar.vim 34911 34912Patch 8.1.1457 34913Problem: Cannot reuse a buffer when loading a screen dump. 34914Solution: Add the "bufnr" option. 34915Files: runtime/doc/eval.txt, src/structs.h, src/channel.c, 34916 src/terminal.c, src/testdir/test_terminal.vim 34917 34918Patch 8.1.1458 34919Problem: Crash when using gtags. (issue #4102) 34920Solution: Check for negative row or col in screen_puts_len(). (Christian 34921 Brabandt) 34922Files: src/screen.c 34923 34924Patch 8.1.1459 34925Problem: Popup window border looks bad when 'ambiwidth' is "double". 34926 (Yasuhiro Matsumoto) 34927Solution: Only use line drawing characters when 'ambiwidth' is "single". 34928 (Ken Takata, closes #4477) 34929Files: src/screen.c 34930 34931Patch 8.1.1460 34932Problem: Popup window border characters may be wrong. 34933Solution: Reset the border characters for each popup. Correct use of 34934 'ambiwidth'. 34935Files: src/screen.c 34936 34937Patch 8.1.1461 34938Problem: Tests do not run or are not reliable on some systems. 34939Solution: Use "findstr" instead of "grep" on MS-Windows. Clear 34940 PROMPT_COMMAND in the terminal test. Delete temp file. Wait for 34941 output after executing a debug command. (Yegappan Lakshmanan, 34942 closes #4479) 34943Files: src/testdir/test_debugger.vim, src/testdir/test_environ.vim, 34944 src/testdir/test_filetype.vim, src/testdir/test_source.vim, 34945 src/testdir/test_terminal.vim 34946 34947Patch 8.1.1462 34948Problem: MS-Windows: using special character requires quoting. 34949Solution: Add quotes. (Ken Takata) 34950Files: src/testdir/test_environ.vim 34951 34952Patch 8.1.1463 34953Problem: Gcc warns for uninitialized variable. 34954Solution: Put usage inside "if". (Ken Takata) 34955Files: src/textprop.c 34956 34957Patch 8.1.1464 34958Problem: Only 4-digit rgb termresponse is recognized. 34959Solution: Also recognize 2-digit rgb response. (closes #4486) 34960Files: src/term.c, src/test_termcodes.vim 34961 34962Patch 8.1.1465 34963Problem: Allocating wrong amount of memory. (Yegappan Lakshmanan) 34964Solution: Use sizeof() for right type of struct. 34965Files: src/memfile_test.c 34966 34967Patch 8.1.1466 34968Problem: Not updating priority on existing sign. 34969Solution: Set the sign priority. Add a test. (Yegappan Lakshmanan) 34970Files: src/sign.c, src/testdir/test_signs.vim, runtime/doc/eval.txt, 34971 runtime/doc/sign.txt 34972 34973Patch 8.1.1467 (after 8.1.1465) 34974Problem: Cscope test fails. 34975Solution: Update expected text. 34976Files: src/testdir/test_cscope.vim 34977 34978Patch 8.1.1468 34979Problem: The generated desktop files may be invalid. 34980Solution: Check validity with desktop-file-validate. (Christian Brabandt, 34981 Will Thompson, closes #4480) 34982Files: src/po/Makefile 34983 34984Patch 8.1.1469 34985Problem: No test for checking the cursor style response. 34986Solution: Add a simple test. Also include the missing part of 8.1.1464. 34987Files: src/term.c, src/testdir/test_termcodes.vim 34988 34989Patch 8.1.1470 34990Problem: New Unicode character U+32FF missing from double-width table. 34991Solution: Add the character. 34992Files: src/mbyte.c 34993 34994Patch 8.1.1471 34995Problem: 'background' not correctly set for 2-digit rgb termresponse. 34996Solution: Adjust what digit to use. (closes #4495) 34997Files: src/term.c, src/testdir/test_termcodes.vim 34998 34999Patch 8.1.1472 35000Problem: Add_termcap_entry() is not tested. 35001Solution: Add a simple test. 35002Files: src/testdir/test_termcodes.vim 35003 35004Patch 8.1.1473 35005Problem: New resolve() implementation causes problem for plugins. 35006Solution: Only resolve a reparse point after checking it is needed. (Ken 35007 Takata, closes #4492) 35008Files: src/os_mswin.c, src/testdir/test_functions.vim 35009 35010Patch 8.1.1474 35011Problem: 'ttybuiltin' is not tested. 35012Solution: At least test that it doesn't break things. 35013Files: src/testdir/test_termcodes.vim 35014 35015Patch 8.1.1475 35016Problem: Search string not displayed when 'rightleft' is set. 35017Solution: Clear the right part of the old text. (closes #4488, closes #4489) 35018Files: src/search.c, src/testdir/test_search.vim 35019 35020Patch 8.1.1476 35021Problem: No statistics displayed after running tests. 35022Solution: Summarize the test results. (Christian Brabandt, closes #4391) 35023 Also make it possible to report a skipped file. 35024Files: src/Makefile, src/testdir/Makefile, src/testdir/summarize.vim, 35025 src/testdir/runtest.vim, src/testdir/test_arabic.vim, 35026 src/testdir/test_autochdir.vim, src/testdir/test_balloon.vim 35027 35028Patch 8.1.1477 35029Problem: Test summary fails in the tiny version. 35030Solution: set 'nocompatible'. 35031Files: Filelist, src/testdir/summarize.vim 35032 35033Patch 8.1.1478 35034Problem: Still an error when running tests with the tiny version. 35035Solution: Do not try reading test.log 35036Files: src/testdir/Makefile, src/testdir/summarize.vim 35037 35038Patch 8.1.1479 35039Problem: Change included for debugging only. 35040Solution: Restore the REDIR_TEST_TO_NULL line. 35041Files: src/testdir/Makefile 35042 35043Patch 8.1.1480 35044Problem: Desktop file check doesn't run on CI. 35045Solution: Install the desktop-file-utils packages. (Christian Brabandt, 35046 closes #4498) 35047Files: .travis.yml 35048 35049Patch 8.1.1481 35050Problem: Length for two-digit rgb termresponse is off by one. 35051Solution: Adjust the length. (closes #4494) 35052Files: src/term.c 35053 35054Patch 8.1.1482 35055Problem: No test for wincol() depending on the 'number' option. 35056Solution: Add a couple of tests. (Christian Brabandt, closes #4500) 35057Files: src/testdir/test_gui.vim 35058 35059Patch 8.1.1483 35060Problem: Skipped tests are not properly listed. 35061Solution: Throw a "Skipped" exception instead of using ":finish" or ":return". 35062Files: src/testdir/test_breakindent.vim, src/testdir/test_cdo.vim, 35063 src/testdir/test_channel.vim, src/testdir/test_clientserver.vim, 35064 src/testdir/test_balloon.vim, src/testdir/test_conceal.vim, 35065 src/testdir/test_debugger.vim, src/testdir/test_diffmode.vim, 35066 src/testdir/test_fold.vim, src/testdir/test_highlight.vim, 35067 src/testdir/test_popup.vim, src/testdir/test_popupwin.vim, 35068 src/testdir/test_search.vim, src/testdir/test_startup.vim, 35069 src/testdir/test_startup_utf8.vim, src/testdir/test_syntax.vim, 35070 src/testdir/test_tabpage.vim, src/testdir/test_termencoding.vim, 35071 src/testdir/test_terminal.vim, src/testdir/test_textprop.vim, 35072 src/testdir/test_timers.vim 35073 35074Patch 8.1.1484 35075Problem: Some tests are slow. 35076Solution: Add timing to the test messages. Fix double free when quitting in 35077 VimLeavePre autocmd. 35078Files: src/testdir/runtest.vim, src/eval.c 35079 35080Patch 8.1.1485 35081Problem: Double free when garbage_collect() is used in autocommand. 35082Solution: Have garbage collection also set the copyID in funccal_stack. 35083Files: src/eval.c, src/userfunc.c 35084 35085Patch 8.1.1486 35086Problem: A listener change is merged even when it adds a line. (Paul Jolly) 35087Solution: Do not merge a change that adds or removes a line. (closes #4490) 35088Files: src/change.c, src/testdir/test_listener.vim 35089 35090Patch 8.1.1487 35091Problem: Older msgfmt cannot generate proper .desktop file. 35092Solution: Add a configure check to not use this msgfmt version. (Ken Takata) 35093Files: src/configure.ac, src/auto/configure 35094 35095Patch 8.1.1488 35096Problem: Summary of tests has incorrect failed count. 35097Solution: Add to the failed count instead of setting it. (Christian Brabandt) 35098Files: src/testdir/summarize.vim 35099 35100Patch 8.1.1489 35101Problem: Sign order wrong when priority was changed. 35102Solution: Reorder signs when priority is changed. (Yegappan Lakshmanan, 35103 closes #4502) 35104Files: src/quickfix.c, src/sign.c, src/testdir/test_signs.vim 35105 35106Patch 8.1.1490 35107Problem: When a single test fails the exit code is not set. (Daniel Hahler) 35108Solution: Add an exit command. (closes #4506) 35109Files: src/testdir/Makefile 35110 35111Patch 8.1.1491 35112Problem: When skipping over code after an exception was thrown expression 35113 evaluation is aborted after a function call. (Ingo Karkat) 35114Solution: Do not fail if not executing the expression. (closes #4507) 35115Files: src/eval.c, src/testdir/test_eval_stuff.vim 35116 35117Patch 8.1.1492 35118Problem: MS-Windows: when "!" is in 'guioptions' ":!start" fails. 35119Solution: Do not use a terminal window when the shell command begins with 35120 "!start". (Yasuhiro Matsumoto, closes #4504) 35121Files: src/misc2.c, src/os_win32.c 35122 35123Patch 8.1.1493 35124Problem: Redrawing with popups is slow and causes flicker. 35125Solution: Avoid clearing and redrawing using a zindex mask. 35126Files: src/globals.h, src/screen.c, src/proto/screen.pro, src/popupwin.c, 35127 src/popupmnu.c 35128 35129Patch 8.1.1494 (after 8.1.1493) 35130Problem: Build failure. 35131Solution: Add missing changes. 35132Files: src/structs.h 35133 35134Patch 8.1.1495 (after 8.1.1494) 35135Problem: Memory access error. 35136Solution: Use the correct size for clearing the popup mask. 35137Files: src/screen.c 35138 35139Patch 8.1.1496 35140Problem: Popup window height is not recomputed. 35141Solution: Recompute the height when needed. 35142Files: src/popupwin.c, src/testdir/dumps/Test_popupwin_06.dump 35143 35144Patch 8.1.1497 35145Problem: Accessing memory beyond allocated space. 35146Solution: Check column before accessing popup mask. 35147Files: src/screen.c 35148 35149Patch 8.1.1498 35150Problem: ":write" increments b:changedtick even though nothing changed. 35151 (Daniel Hahler) 35152Solution: Only increment b:changedtick if the modified flag is reset. 35153Files: src/change.c, src/proto/change.pro, runtime/doc/eval.txt, 35154 src/buffer.c, src/ex_cmds2.c, src/fileio.c, src/memline.c, 35155 src/undo.c 35156 35157Patch 8.1.1499 35158Problem: Ruler not updated after popup window was removed. 35159Solution: use popup_mask in screen_puts(). 35160Files: src/screen.c, src/testdir/test_popupwin.vim, 35161 src/testdir/dumps/Test_popupwin_07.dump, 35162 src/testdir/dumps/Test_popupwin_08.dump 35163 35164Patch 8.1.1500 35165Problem: Wrong shell command when building with VIMDLL and "!" in 35166 'guioptions'. 35167Solution: Add check for GUI in use. (Ken Takata) 35168Files: src/misc2.c 35169 35170Patch 8.1.1501 35171Problem: New behavior of b:changedtick not tested. 35172Solution: Add a few test cases. (Daniel Hahler) 35173Files: src/testdir/test_changedtick.vim 35174 35175Patch 8.1.1502 35176Problem: Cannot play any sound. 35177Solution: Use libcanberra if available. Add sound functions. 35178Files: src/configure.ac, src/auto/configure, src/config.h.in, 35179 src/Makefile, src/sound.c, src/proto/sound.pro, src/proto.h, 35180 src/evalfunc.c, src/feature.h, runtime/doc/eval.txt, Filelist, 35181 src/version.c, src/testdir/test_sound.vim, src/testdir/silent.wav, 35182 src/testdir/Make_all.mak, .travis.yml 35183 35184Patch 8.1.1503 35185Problem: Sound test fails on Travis. 35186Solution: Set AUDIODEV to "null". 35187Files: .travis.yml 35188 35189Patch 8.1.1504 35190Problem: Sound test still fails on Travis. 35191Solution: Add more lines to the install section. 35192Files: .travis.yml 35193 35194Patch 8.1.1505 35195Problem: Running "make clean" twice gives errors. 35196Solution: Add "-f" to "rm". (closes #4516) 35197Files: src/testdir/Makefile 35198 35199Patch 8.1.1506 35200Problem: Syntax error in Travis config. 35201Solution: Set AUDIODEV in another section. 35202Files: .travis.yml 35203 35204Patch 8.1.1507 35205Problem: Sound test still fails on Travis. 35206Solution: Try another dummy sound approach. 35207Files: .travis.yml 35208 35209Patch 8.1.1508 35210Problem: Sound keeps failing on Travis. 35211Solution: Throw a skipped exception in the test. 35212Files: src/testdir/test_sound.vim 35213 35214Patch 8.1.1509 35215Problem: Cmdline_row can become negative, causing a crash. 35216Solution: Make sure cmdline_row does not become negative. (closes #4102) 35217Files: src/misc1.c 35218 35219Patch 8.1.1510 35220Problem: A plugin cannot easily expand a command like done internally. 35221Solution: Add the expandcmd() function. (Yegappan Lakshmanan, closes #4514) 35222Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c, 35223 src/testdir/test_expand.vim 35224 35225Patch 8.1.1511 35226Problem: Matches in a popup window are not displayed properly. 35227Solution: Do display matches in a popup window. (closes #4517) 35228Files: src/screen.c, src/testdir/test_popupwin.vim, 35229 src/testdir/dumps/Test_popupwin_matches.dump 35230 35231Patch 8.1.1512 35232Problem: ch_evalexpr() hangs when used recursively. (Paul Jolly) 35233Solution: Change ch_block_id from a single number to a list of IDs to wait 35234 on. 35235Files: src/channel.c, src/structs.h 35236 35237Patch 8.1.1513 35238Problem: All popup functionality is in functions, except :popupclear. 35239Solution: Add popup_clear() for consistency. Also rename sound_stopall() to 35240 sound_clear(). 35241Files: src/ex_cmds.h, src/ex_cmdidxs.h, src/evalfunc.c, src/popupwin.c, 35242 src/proto/popupwin.pro, src/sound.c, src/proto/sound.pro, 35243 src/testdir/test_popupwin.vim src/testdir/test_sound.vim, 35244 runtime/doc/eval.txt runtime/doc/popup.txt 35245 35246Patch 8.1.1514 (after 8.1.1492) 35247Problem: MS-Windows: wrong shell command with ! in 'guioptions'. 35248Solution: Do not check for ! in 'guioptions' when applying 'shellxquote'. 35249 (Yasuhiro Matsumoto, closes #4519) 35250Files: src/misc2.c 35251 35252Patch 8.1.1515 35253Problem: Memory leak reported for sound when build with EXITFREE. 35254Solution: Free sound stuff when exiting. 35255Files: src/misc2.c 35256 35257Patch 8.1.1516 35258Problem: Time reported for a test measured wrong. 35259Solution: Move the computation to the end of RunTheTest(). (Ozaki Kiichi, 35260 closes #4520) 35261Files: src/testdir/runtest.vim 35262 35263Patch 8.1.1517 35264Problem: When a popup changes all windows are redrawn. 35265Solution: Only update the lines that were affected. Add a file for 35266 profiling popup windows efficiency. 35267Files: src/screen.c, src/proto/screen.pro, src/ui.c, src/popupwin.c, 35268 src/globals.h, src/testdir/popupbounce.vim, Filelist 35269 35270Patch 8.1.1518 35271Problem: Crash when setting 'columns' while a popup is visible. 35272Solution: Recompute all positions when clearing the screen. (closes #4467) 35273Files: src/screen.c, src/testdir/test_popupwin.vim, 35274 src/testdir/dumps/Test_popupwin_04a.dump 35275 35276Patch 8.1.1519 35277Problem: 'backupskip' may contain duplicates. 35278Solution: Add the P_NODUP flag. (Tom Ryder) 35279Files: src/option.c, src/testdir/test_options.vim 35280 35281Patch 8.1.1520 35282Problem: Popup windows are ignored when dealing with mouse position 35283Solution: Find the mouse position inside a popup window. Allow for modeless 35284 selection. 35285Files: src/ui.c, src/proto/ui.pro, src/popupwin.c, 35286 src/proto/popupwin.pro, src/screen.c, src/beval.c, src/edit.c, 35287 src/evalfunc.c, src/gui.c, src/normal.c, src/structs.h 35288 35289Patch 8.1.1521 35290Problem: When a popup window is closed the buffer remains. 35291Solution: Wipe out the buffer. 35292Files: src/window.c, src/testdir/test_popupwin.vim 35293 35294Patch 8.1.1522 35295Problem: Popup_notification() not implemented yet. 35296Solution: Implement it. 35297Files: src/popupwin.c, src/proto/popupwin.pro, src/evalfunc.c, 35298 src/structs.h, src/testdir/test_popupwin.vim, 35299 runtime/doc/popup.txt 35300 src/testdir/dumps/Test_popupwin_notify_01.dump, 35301 src/testdir/dumps/Test_popupwin_notify_02.dump 35302 35303Patch 8.1.1523 35304Problem: Cannot show range of buffer lines in popup window. 35305Solution: Add the "firstline" property. (closes #4523) 35306Files: src/popupwin.c, src/structs.h, runtime/doc/popup.txt, 35307 src/testdir/test_popupwin.vim, 35308 testdir/dumps/Test_popupwin_firstline.dump 35309 35310Patch 8.1.1524 35311Problem: Tests are silently skipped. 35312Solution: Throw an exception for skipped tests in more places. 35313Files: src/testdir/test_assert.vim, src/testdir/test_paste.vim, 35314 src/testdir/shared.vim, src/testdir/test_crypt.vim, 35315 src/testdir/test_cscope.vim, src/testdir/test_digraph.vim, 35316 src/testdir/test_float_func.vim, src/testdir/test_gui.vim, 35317 src/testdir/test_gui_init.vim, src/testdir/test_history.vim, 35318 src/testdir/test_langmap.vim, src/testdir/test_listlbr.vim, 35319 src/testdir/test_listlbr_utf8.vim, src/testdir/test_lua.vim, 35320 src/testdir/test_makeencoding.vim, 35321 src/testdir/test_matchadd_conceal.vim, 35322 src/testdir/test_matchadd_conceal_utf8.vim, 35323 src/testdir/test_memory_usage.vim, src/testdir/test_menu.vim, 35324 src/testdir/test_mksession.vim, 35325 src/testdir/test_mksession_utf8.vim, 35326 src/testdir/test_netbeans.vim, src/testdir/test_paste.vim, 35327 src/testdir/test_perl.vim, src/testdir/test_profile.vim, 35328 src/testdir/test_prompt_buffer.vim, src/testdir/test_python2.vim, 35329 src/testdir/test_python3.vim, src/testdir/test_pyx2.vim, 35330 src/testdir/test_pyx3.vim, src/testdir/test_quickfix.vim, 35331 src/testdir/test_quotestar.vim, src/testdir/test_reltime.vim, 35332 src/testdir/test_ruby.vim, src/testdir/test_sha256.vim, 35333 src/testdir/test_shortpathname.vim, src/testdir/test_signals.vim, 35334 src/testdir/test_signs.vim, src/testdir/test_spell.vim, 35335 src/testdir/test_syntax.vim, src/testdir/test_tcl.vim, 35336 src/testdir/test_termcodes.vim, src/testdir/test_terminal.vim, 35337 src/testdir/test_terminal_fail.vim, 35338 src/testdir/test_textobjects.vim, src/testdir/test_textprop.vim, 35339 src/testdir/test_timers.vim, src/testdir/test_vartabs.vim, 35340 src/testdir/test_winbar.vim, src/testdir/test_windows_home.vim, 35341 src/testdir/test_xxd.vim 35342 35343Patch 8.1.1525 35344Problem: Cannot move a popup window with the mouse. 35345Solution: Add the "drag" property and make it possible to drag a popup 35346 window by its border. 35347Files: src/popupwin.c, src/proto/popupwin.pro, src/structs.h, src/ui.c, 35348 src/window.c, src/proto/window.pro, runtime/doc/popup.txt 35349 35350Patch 8.1.1526 35351Problem: No numerical value for the patchlevel. 35352Solution: Add v:versionlong. 35353Files: src/version.c, src/eval.c, src/vim.h, runtime/doc/eval.txt, 35354 src/testdir/test_eval_stuff.vim 35355 35356Patch 8.1.1527 35357Problem: When moving a popup window over the command line it is not 35358 redrawn. 35359Solution: Redraw the command line. Move popup redrawing code to the popupwin 35360 file. 35361Files: src/screen.c, src/proto/screen.pro, src/popupwin.c, 35362 src/proto/popupwin.pro, src/testdir/test_popupwin.vim, 35363 src/testdir/dumps/Test_popupwin_drag_01.dump, 35364 src/testdir/dumps/Test_popupwin_drag_02.dump 35365 35366Patch 8.1.1528 35367Problem: Popup_any_visible() is unused. 35368Solution: Remove it. 35369Files: src/popupwin.c, src/proto/popupwin.pro 35370 35371Patch 8.1.1529 35372Problem: Libcanberra is linked with even when not used. 35373Solution: Have configure check for libcanberra only when wanted. 35374 (suggestions by Libor Bukata) 35375Files: src/feature.h, src/configure.ac, src/auto/configure, src/Makefile 35376 35377Patch 8.1.1530 35378Problem: Travis config is not optimal. 35379Solution: Remove system conditions. Do not use excluding matrix. Cache OSX 35380 results. (Ozaki Kiichi, closes #4521) 35381Files: .travis.yml 35382 35383Patch 8.1.1531 35384Problem: Clipboard type name is inconsistent. 35385Solution: Rename VimClipboard to Clipboard_T. 35386Files: src/gui_gtk_x11.c, src/proto/gui_gtk_x11.pro, src/gui_mac.c, 35387 src/proto/gui_mac.pro, src/gui_x11.c, src/proto/gui_x11.pro, 35388 src/ops.c, src/proto/ops.pro, src/os_qnx.c, src/proto/os_qnx.pro, 35389 src/os_unix.c, src/proto/os_unix.pro, src/ui.c, src/proto/ui.pro, 35390 src/winclip.c, src/proto/winclip.pro, src/globals.h, src/proto.h 35391 35392Patch 8.1.1532 (after 8.1.1531) 35393Problem: Build fails. 35394Solution: Add missing changes. 35395Files: src/vim.h 35396 35397Patch 8.1.1533 35398Problem: GUI build fails on Mac. 35399Solution: Change VimClipboard type in non-C file. 35400Files: src/os_macosx.m 35401 35402Patch 8.1.1534 35403Problem: Modeless selection in popup window selects too much. 35404Solution: Restrict the selection to inside of the popup window. 35405Files: src/vim.h, src/ui.c, src/testdir/test_popupwin.vim, 35406 src/testdir/dumps/Test_popupwin_select_01.dump, 35407 src/testdir/dumps/Test_popupwin_select_02.dump 35408 35409Patch 8.1.1535 (after 8.1.1534) 35410Problem: Popup select test fails on Mac. 35411Solution: Skip test if clipboard feature not available. 35412Files: src/testdir/test_popupwin.vim 35413 35414Patch 8.1.1536 (after 8.1.1534) 35415Problem: Popup select test still fails on Mac. 35416Solution: Set 'clipboard' to "autoselect" 35417Files: src/testdir/test_popupwin.vim 35418 35419Patch 8.1.1537 35420Problem: Using "tab" for popup window can be confusing. 35421Solution: Use "tabpage". (Hirohito Higashi, closes #4532) 35422Files: runtime/doc/popup.txt, src/popupwin.c, 35423 src/testdir/test_popupwin.vim 35424 35425Patch 8.1.1538 35426Problem: Cannot specify highlighting for notifications. 35427Solution: Use the PopupNotification group if it exists. Add a minimal width 35428 to notifications. 35429Files: runtime/doc/popup.txt, src/popupwin.c, 35430 src/testdir/test_popupwin.vim, 35431 src/testdir/dumps/Test_popupwin_notify_01.dump, 35432 src/testdir/dumps/Test_popupwin_notify_02.dump 35433 35434Patch 8.1.1539 35435Problem: Not easy to define a variable and lock it. 35436Solution: Add ":const". (Ryuichi Hayashida, closes #4541) 35437Files: runtime/doc/eval.txt, src/eval.c, src/ex_cmdidxs.h, src/ex_cmds.h, 35438 src/proto/eval.pro, src/testdir/Make_all.mak, 35439 src/testdir/test_const.vim 35440 35441Patch 8.1.1540 (after 8.1.1539) 35442Problem: Cannot build without the +eval feature. 35443Solution: Define ex_const if needed. 35444Files: src/ex_docmd.c 35445 35446Patch 8.1.1541 35447Problem: Check for ASAN is not reliable. 35448Solution: Check the version output. (Dominique Pelle, closes #4543) 35449Files: src/testdir/test_memory_usage.vim 35450 35451Patch 8.1.1542 35452Problem: An OptionSet autocommand does not get enough info. 35453Solution: Add v:option_command, v:option_oldlocal and v:option_oldglobal. 35454 (Latrice Wilgus, closes #4118) 35455Files: runtime/doc/autocmd.txt, runtime/doc/eval.txt, 35456 runtime/doc/version8.txt, src/eval.c, src/option.c, src/structs.h, 35457 src/testdir/test_autocmd.vim, src/vim.h 35458 35459Patch 8.1.1543 35460Problem: Const test fails with small features. 35461Solution: Don't unlet non-existing variables. 35462Files: src/testdir/test_const.vim 35463 35464Patch 8.1.1544 35465Problem: Some balloon tests don't run when they can. 35466Solution: Split GUI balloon tests off into a separate file. (Ozaki Kiichi, 35467 closes #4538) Change the feature check into a command for 35468 consistency. 35469Files: Filelist, src/testdir/Make_all.mak, src/testdir/check.vim, 35470 src/testdir/test_arabic.vim, src/testdir/test_balloon.vim, 35471 src/testdir/test_balloon_gui.vim, src/testdir/test_crypt.vim, 35472 src/testdir/test_cscope.vim, src/testdir/test_digraph.vim, 35473 src/testdir/test_float_func.vim, src/testdir/test_gui.vim, 35474 src/testdir/test_gui_init.vim, src/testdir/test_history.vim, 35475 src/testdir/test_langmap.vim, src/testdir/test_listlbr.vim, 35476 src/testdir/test_listlbr_utf8.vim, src/testdir/test_lua.vim, 35477 src/testdir/test_makeencoding.vim, 35478 src/testdir/test_matchadd_conceal.vim, 35479 src/testdir/test_matchadd_conceal_utf8.vim, 35480 src/testdir/test_memory_usage.vim, src/testdir/test_menu.vim, 35481 src/testdir/test_mksession.vim, 35482 src/testdir/test_mksession_utf8.vim, 35483 src/testdir/test_netbeans.vim, src/testdir/test_paste.vim, 35484 src/testdir/test_perl.vim, src/testdir/test_popupwin.vim, 35485 src/testdir/test_profile.vim, src/testdir/test_prompt_buffer.vim, 35486 src/testdir/test_python2.vim, src/testdir/test_python3.vim, 35487 src/testdir/test_pyx2.vim, src/testdir/test_pyx3.vim, 35488 src/testdir/test_quickfix.vim, src/testdir/test_quotestar.vim, 35489 src/testdir/test_reltime.vim, src/testdir/test_ruby.vim, 35490 src/testdir/test_sha256.vim, src/testdir/test_shortpathname.vim, 35491 src/testdir/test_signals.vim, src/testdir/test_signs.vim, 35492 src/testdir/test_spell.vim, src/testdir/test_syntax.vim, 35493 src/testdir/test_tcl.vim, src/testdir/test_termcodes.vim, 35494 src/testdir/test_terminal.vim, src/testdir/test_terminal_fail.vim, 35495 src/testdir/test_textobjects.vim, src/testdir/test_textprop.vim, 35496 src/testdir/test_timers.vim, src/testdir/test_vartabs.vim, 35497 src/testdir/test_winbar.vim, src/testdir/test_windows_home.vim, 35498 src/testdir/test_xxd.vim 35499 35500Patch 8.1.1545 35501Problem: When the screen is to small there is no message about that. 35502 (Daniel Hahler) 35503Solution: Do not use :cquit. (closes #4534) 35504Files: src/testdir/runtest.vim 35505 35506Patch 8.1.1546 35507Problem: In some tests 'tags' is set but not restored. (Daniel Hahler) 35508Solution: Restore 'tags'. (closes #4535) 35509Files: src/testdir/test_autocmd.vim, src/testdir/test_cmdline.vim, 35510 src/testdir/test_options.vim, src/testdir/test_tagcase.vim, 35511 src/testdir/test_tagjump.vim, src/testdir/test_taglist.vim 35512 35513Patch 8.1.1547 35514Problem: Functionality of bt_nofile() is confusing. 35515Solution: Split into bt_nofile() and bt_nofilename(). 35516Files: src/buffer.c, src/proto/buffer.pro, src/evalfunc.c, src/ex_cmds.c, 35517 src/ex_docmd.c, src/fileio.c, src/popupmnu.c, src/quickfix.c 35518 35519Patch 8.1.1548 35520Problem: Popup_dialog() is not implemented. 35521Solution: Implement popup_dialog() and popup_filter_yesno(). 35522Files: src/popupwin.c, src/proto/popupwin.pro, src/evalfunc.c, 35523 src/structs.h, src/globals.h, src/testdir/test_popupwin.vim, 35524 runtime/doc/popup.txt 35525 35526Patch 8.1.1549 (after 8.1.1547) 35527Problem: Quickfix test fails. 35528Solution: Negate result of bt_quickfix(). 35529Files: src/quickfix.c 35530 35531Patch 8.1.1550 35532Problem: When a popup has left padding text may be cut off. 35533Solution: Add the border and padding when computing the size. 35534Files: src/popupwin.c, src/testdir/test_popupwin.vim, 35535 src/testdir/dumps/Test_popupwin_20.dump, 35536 src/testdir/dumps/Test_popupwin_21.dump 35537 35538Patch 8.1.1551 35539Problem: Warning for shadowing popup_dragwin. (Dominique Pelle) 35540Solution: Add missing change. 35541Files: src/ui.c 35542 35543Patch 8.1.1552 35544Problem: Cursor position is wrong after sign column appears or disappears. 35545 (Yegappan Lakshmanan) 35546Solution: Call changed_line_abv_curs() instead of changed_cline_bef_curs(). 35547Files: src/sign.c, src/testdir/test_signs.vim, 35548 src/testdir/dumps/Test_sign_cursor_01.dump, 35549 src/testdir/dumps/Test_sign_cursor_02.dump 35550 35551Patch 8.1.1553 35552Problem: Not easy to change the text in a popup window. 35553Solution: Add popup_settext(). (Ben Jackson, closes #4549) 35554 Also display a space for an empty popup. 35555Files: runtime/doc/popup.txt, src/evalfunc.c, src/popupwin.c, 35556 src/proto/popupwin.pro, 35557 src/testdir/dumps/Test_popup_settext_01.dump, 35558 src/testdir/dumps/Test_popup_settext_02.dump, 35559 src/testdir/dumps/Test_popup_settext_03.dump, 35560 src/testdir/dumps/Test_popup_settext_04.dump, 35561 src/testdir/dumps/Test_popup_settext_05.dump, 35562 src/testdir/dumps/Test_popup_settext_06.dump, 35563 src/testdir/test_popupwin.vim 35564 35565Patch 8.1.1554 (after 8.1.1539) 35566Problem: Docs and tests for :const can be improved. 35567Solution: Improve documentation, add a few more tests. (Ryuichi Hayashida, 35568 closes #4551) 35569Files: runtime/doc/eval.txt, src/testdir/test_const.vim 35570 35571Patch 8.1.1555 35572Problem: NOT_IN_POPUP_WINDOW is confusing. (Andy Massimino) 35573Solution: Rename to ERROR_IF_POPUP_WINDOW(). 35574Files: src/popupwin.c, src/proto/popupwin.pro, src/macros.h, 35575 src/ex_cmds2.c, src/ex_docmd.c, src/window.c 35576 35577Patch 8.1.1556 35578Problem: The command displayed to show a failing screenshot does not include 35579 the "testdir" directory. 35580Solution: Prefix the directory name so that it can be copy-pasted. 35581Files: src/testdir/screendump.vim 35582 35583Patch 8.1.1557 35584Problem: Compiler warning for unused variables in tiny version. (Tony 35585 Mechelynck) 35586Solution: Add #ifdef. 35587Files: src/option.c 35588 35589Patch 8.1.1558 35590Problem: Popup_menu() and popup_filter_menu() are not implemented yet. 35591Solution: Implement the functions. Fix that centering didn't take the border 35592 and padding into account. 35593Files: runtime/doc/popup.txt, src/popupwin.c, src/proto/popupwin.pro, 35594 src/evalfunc.c, src/screen.c, src/testdir/test_popupwin.vim, 35595 src/testdir/dumps/Test_popupwin_menu_01.dump, 35596 src/testdir/dumps/Test_popupwin_menu_02.dump, 35597 src/testdir/dumps/Test_popupwin_menu_03.dump, 35598 src/testdir/dumps/Test_popupwin_drag_01.dump, 35599 src/testdir/dumps/Test_popupwin_drag_02.dump 35600 35601Patch 8.1.1559 35602Problem: Popup window title property not implemented yet. 35603Solution: Implement the title property. 35604Files: runtime/doc/popup.txt, src/popupwin.c, src/structs.h 35605 src/window.c, src/testdir/test_popupwin.vim, 35606 src/testdir/dumps/Test_popupwin_menu_01.dump, 35607 src/testdir/dumps/Test_popupwin_menu_02.dump, 35608 src/testdir/dumps/Test_popupwin_title.dump 35609 35610Patch 8.1.1560 35611Problem: Popup window hidden option not implemented yet. 35612Solution: Implement the hidden option. 35613Files: src/popupwin.c, src/testdir/test_popupwin.vim 35614 35615Patch 8.1.1561 35616Problem: Popup_setoptions() is not implemented yet. 35617Solution: Implement popup_setoptions(). Also add more fields to 35618 popup_getoptions(). 35619Files: runtime/doc/popup.txt, src/popupwin.c, src/proto/popupwin.pro, 35620 src/dict.c, src/proto/dict.pro, src/evalfunc.c, 35621 src/testdir/test_popupwin.vim, src/testdir/runtest.vim 35622 35623Patch 8.1.1562 35624Problem: Popup window not always redrawn after popup_setoptions(). 35625Solution: Force a redraw. 35626Files: src/popupwin.c, src/testdir/test_popupwin.vim, 35627 src/testdir/dumps/Test_popupwin_23.dump 35628 35629Patch 8.1.1563 35630Problem: Crash when using closures. 35631Solution: Set reference in varlist of funccal when running the garbage 35632 collector. (Ozaki Kiichi, closes #4554, closes #4547) 35633Files: src/testdir/test_vimscript.vim, src/userfunc.c 35634 35635Patch 8.1.1564 35636Problem: Sign column takes up space. (Adam Stankiewicz) 35637Solution: Optionally put signs in the number column. (Yegappan Lakshmanan, 35638 closes #4555, closes #4515) 35639Files: runtime/doc/options.txt, src/option.c, src/screen.c, 35640 src/testdir/test_signs.vim 35641 35642Patch 8.1.1565 35643Problem: MS-Windows: no sound support. 35644Solution: Add sound support for MS-Windows. (Yasuhiro Matsumoto, Ken Takata, 35645 closes #4522) 35646Files: runtime/doc/eval.txt, src/Make_cyg_ming.mak, src/Make_mvc.mak, 35647 src/sound.c, src/testdir/test_sound.vim 35648 35649Patch 8.1.1566 35650Problem: Error message when terminal closes while it is not in the current 35651 tab. 35652Solution: Also set "do_set_w_closing" when using the special autocommand 35653 window. (closes #4552) 35654Files: src/terminal.c 35655 35656Patch 8.1.1567 35657Problem: Localtime_r() does not respond to $TZ changes. 35658Solution: If $TZ changes then call tzset(). (Tom Ryder) 35659Files: src/auto/configure, src/config.h.in, src/configure.ac, 35660 src/evalfunc.c, src/memline.c, src/proto/memline.pro, 35661 src/testdir/test_functions.vim, src/undo.c 35662 35663Patch 8.1.1568 (after 8.1.1567) 35664Problem: Strftime() test fails on MS-Windows. 35665Solution: Skip the check for using the $TZ environment variable. 35666Files: src/testdir/test_functions.vim 35667 35668Patch 8.1.1569 35669Problem: Cannot build with signs but without diff feature. 35670Solution: Move #ifdef. (Tom Ryder) 35671Files: src/screen.c 35672 35673Patch 8.1.1570 35674Problem: Icon signs not displayed properly in the number column. 35675Solution: Display them properly. (Yegappan Lakshmanan, closes #4559) 35676Files: src/gui.c, src/screen.c, src/testdir/test_signs.vim 35677 35678Patch 8.1.1571 35679Problem: textprop highlight starts too early if just after a tab. 35680Solution: Check if still drawing a previous character. (closes #4558) 35681Files: src/screen.c, src/testdir/test_textprop.vim, 35682 src/testdir/dumps/Test_textprop_tab.dump 35683 35684Patch 8.1.1572 (after 8.1.1569) 35685Problem: Compiler warnings with tiny build. (Tony Mechelynck) 35686Solution: Add #ifdef. 35687Files: src/screen.c 35688 35689Patch 8.1.1573 (after 8.1.1571) 35690Problem: Textprop test fails if screenshots do not work. 35691Solution: Add check for screenshots working. 35692Files: src/testdir/test_textprop.vim 35693 35694Patch 8.1.1574 35695Problem: Tabpage option not yet implemented for popup window. 35696Solution: Implement tabpage option, also for popup_getoptions(). 35697Files: runtime/doc/popup.txt, src/popupwin.c, 35698 src/testdir/test_popupwin.vim 35699 35700Patch 8.1.1575 35701Problem: Callbacks may be garbage collected. 35702Solution: Set reference in callbacks. (Ozaki Kiichi, closes #4564) 35703Files: src/buffer.c, src/channel.c, src/eval.c, src/ex_cmds2.c, 35704 src/popupwin.c, src/proto/buffer.pro, src/proto/popupwin.pro, 35705 src/terminal.c, src/testdir/test_listener.vim, 35706 src/testdir/test_popupwin.vim, src/testdir/test_prompt_buffer.vim, 35707 src/userfunc.c 35708 35709Patch 8.1.1576 35710Problem: Compiler warning for unused argument. 35711Solution: Add "UNUSED" annotation. (Dominique Pelle, closes #4570) 35712Files: src/ui.c 35713 35714Patch 8.1.1577 35715Problem: Command line redrawn for +arabic without Arabic characters. 35716 (Dominique Pelle) 35717Solution: Check if there actually are any Arabic characters. Do redraw 35718 after displaying incsearch. (closes #4569) 35719Files: src/ex_getln.c 35720 35721Patch 8.1.1578 35722Problem: MS-Windows: pathdef.c should depend on build options. 35723Solution: Generate pathdef.c in the object directory. Fix dependencies. 35724 (Ken Takata, closes #4565) 35725Files: .gitignore, .hgignore, src/Make_cyg_ming.mak, src/Make_mvc.mak 35726 35727Patch 8.1.1579 35728Problem: Dict and list could be GC'ed while displaying error in a timer. 35729 (Yasuhiro Matsumoto) 35730Solution: Block garbage collection when executing a timer. Add 35731 test_garbagecollect_soon(). Add "no_wait_return" to 35732 test_override(). (closes #4571) 35733Files: src/dict.c, src/testdir/test_timers.vim, src/evalfunc.c, 35734 runtime/doc/eval.txt 35735 35736Patch 8.1.1580 35737Problem: Cannot make part of a popup transparent. 35738Solution: Add the "mask" option. 35739Files: runtime/doc/popup.txt, src/popupwin.c, src/screen.c, 35740 src/structs.h, src/window.c, src/ui.c, src/vim.h, src/globals.h, 35741 src/testdir/dumps/Test_popupwin_mask_1.dump, 35742 src/testdir/dumps/Test_popupwin_mask_2.dump 35743 35744Patch 8.1.1581 35745Problem: Shared functions for testing are disorganised. 35746Solution: Group functions in script files. (Ozaki Kiichi, closes #4573) 35747Files: Filelist, src/testdir/screendump.vim, src/testdir/shared.vim, 35748 src/testdir/term_util.vim, src/testdir/test_mksession.vim, 35749 src/testdir/test_suspend.vim, src/testdir/test_terminal.vim, 35750 src/testdir/test_timers.vim, src/testdir/view_util.vim 35751 35752Patch 8.1.1582 35753Problem: Cannot build with +textprop but without +timers. 35754Solution: Add #ifdef. (Ola Söder, closes #4574) 35755Files: src/popupwin.c 35756 35757Patch 8.1.1583 35758Problem: Set_ref_in_list() only sets ref in items. 35759Solution: Rename to set_ref_in_list_items() to avoid confusion. 35760Files: src/eval.c, src/proto/eval.pro, src/if_lua.c, src/popupwin.c, 35761 src/userfunc.c, src/if_py_both.h 35762 35763Patch 8.1.1584 35764Problem: The evalfunc.c file is getting too big. 35765Solution: Move channel and job related functions to channel.c. 35766Files: src/channel.c, src/evalfunc.c, src/proto/channel.pro 35767 35768Patch 8.1.1585 35769Problem: :let-heredoc does not trim enough. 35770Solution: Trim indent from the contents based on the indent of the first 35771 line. Use let-heredoc in more tests. 35772Files: runtime/doc/eval.txt, src/eval.c, src/testdir/test_balloon.vim, 35773 src/testdir/test_cindent.vim, src/testdir/test_const.vim, 35774 src/testdir/test_debugger.vim, src/testdir/test_functions.vim, 35775 src/testdir/test_goto.vim, src/testdir/test_gui.vim, 35776 src/testdir/test_highlight.vim, src/testdir/test_join.vim, 35777 src/testdir/test_let.vim, src/testdir/test_memory_usage.vim, 35778 src/testdir/test_messages.vim, 35779 src/testdir/test_mksession_utf8.vim, src/testdir/test_normal.vim, 35780 src/testdir/test_popup.vim, src/testdir/test_popupwin.vim, 35781 src/testdir/test_profile.vim, src/testdir/test_quickfix.vim, 35782 src/testdir/test_xxd.vim 35783 35784Patch 8.1.1586 35785Problem: Error number used in two places. 35786Solution: Renumber one. (Ken Takata) 35787Files: runtime/doc/popup.txt, src/popupwin.c 35788 35789Patch 8.1.1587 35790Problem: Redraw problem when sign icons in the number column. 35791Solution: Clear and redraw when changing related options. Right align the 35792 sign icon in the GUI. (Yegappan Lakshmanan, closes #4578) 35793Files: src/gui.c, src/option.c 35794 35795Patch 8.1.1588 35796Problem: In :let-heredoc line continuation is recognized. 35797Solution: Do not consume line continuation. (Ozaki Kiichi, closes #4580) 35798Files: src/autocmd.c, src/digraph.c, src/eval.c, src/evalfunc.c, 35799 src/ex_cmds.c, src/ex_cmds.h, src/ex_cmds2.c, src/ex_docmd.c, 35800 src/ex_getln.c, src/normal.c, src/ops.c, src/proto/autocmd.pro, 35801 src/proto/ex_cmds2.pro, src/proto/ex_docmd.pro, 35802 src/proto/ex_getln.pro, src/proto/userfunc.pro, 35803 src/testdir/test_let.vim, src/testdir/test_startup.vim, 35804 src/userfunc.c 35805 35806Patch 8.1.1589 35807Problem: Popup window does not indicate scroll position. 35808Solution: Add a scrollbar. 35809Files: runtime/doc/popup.txt, src/popupwin.c, src/structs.h, 35810 src/testdir/test_popupwin.vim, 35811 src/testdir/dumps/Test_popupwin_firstline.dump, 35812 src/testdir/dumps/Test_popupwin_scroll_1.dump, 35813 src/testdir/dumps/Test_popupwin_scroll_2.dump, 35814 src/testdir/dumps/Test_popupwin_scroll_3.dump, 35815 src/testdir/dumps/Test_popupwin_scroll_4.dump 35816 35817Patch 8.1.1590 35818Problem: Popup window test fails. 35819Solution: Add "scrollbar" to expected result. 35820Files: src/testdir/test_popupwin.vim 35821 35822Patch 8.1.1591 35823Problem: On error garbage collection may free memory in use. 35824Solution: Reset may_garbage_collect when evaluating expression mapping. 35825 Add tests. (Ozaki Kiichi, closes #4579) 35826Files: src/ex_cmds2.c, src/getchar.c, src/testdir/test_mapping.vim, 35827 src/testdir/test_timers.vim, src/testdir/test_vimscript.vim 35828 35829Patch 8.1.1592 35830Problem: May start file dialog while exiting. 35831Solution: Ignore the "browse" modifier when exiting. (Ozaki Kiichi, 35832 closes #4582 35833Files: src/ex_cmds.c, src/terminal.c 35834 35835Patch 8.1.1593 35836Problem: Filetype not detected for C++ header files without extension. 35837Solution: Recognize the file by the Emacs file mode. (Dmitry Ilyin, 35838 closes #4593) 35839Files: runtime/scripts.vim, src/testdir/test_filetype.vim 35840 35841Patch 8.1.1594 35842Problem: May still start file dialog while exiting. 35843Solution: Ignore the "browse" modifier in another place when exiting. 35844 (Ozaki Kiichi, closes #4582) 35845Files: src/ex_cmds.c 35846 35847Patch 8.1.1595 35848Problem: MS-Windows with VIMDLL: colors wrong in console. 35849Solution: Do not set the terminal colors when not using the GUI. (Ken 35850 Takata, closes #4588) 35851Files: src/syntax.c 35852 35853Patch 8.1.1596 35854Problem: When resizing the screen may draw popup in wrong position. (Masato 35855 Nishihata) 35856Solution: Check the popup is not outside of the screen. (fixes #4592) 35857Files: src/popupwin.c 35858 35859Patch 8.1.1597 35860Problem: Cannot scroll a popup window with the mouse. 35861Solution: If the popup window has a scrollbar let the mouse scroll wheel 35862 scroll the window. 35863Files: runtime/doc/popup.txt, src/normal.c, src/popupwin.c, src/screen.c, 35864 src/testdir/dumps/Test_popupwin_firstline.dump, 35865 src/testdir/dumps/Test_popupwin_scroll_1.dump, 35866 src/testdir/dumps/Test_popupwin_scroll_2.dump, 35867 src/testdir/dumps/Test_popupwin_scroll_3.dump, 35868 src/testdir/dumps/Test_popupwin_scroll_5.dump, 35869 src/testdir/dumps/Test_popupwin_scroll_6.dump, 35870 src/testdir/dumps/Test_popupwin_scroll_7.dump 35871 35872Patch 8.1.1598 35873Problem: Update to test file missing. 35874Solution: Update the popup window test file. 35875Files: src/testdir/test_popupwin.vim 35876 35877Patch 8.1.1599 35878Problem: Compiler warning for uninitialized variable. (Tony Mechelynck) 35879Solution: Add a dummy assignment. 35880Files: src/popupwin.c, src/normal.c 35881 35882Patch 8.1.1600 35883Problem: Cannot specify highlighting for popup window scrollbar. 35884Solution: Add "scrollbarhighlight" and "thumbhighlight" options. 35885Files: src/popupwin.c, src/structs.h, src/window.c, 35886 src/testdir/dumps/Test_popupwin_scroll_5.dump, 35887 src/testdir/dumps/Test_popupwin_scroll_6.dump, 35888 src/testdir/dumps/Test_popupwin_scroll_7.dump 35889 35890Patch 8.1.1601 35891Problem: Missing changes to popup window test file. 35892Solution: Add those changes. 35893Files: src/testdir/test_popupwin.vim 35894 35895Patch 8.1.1602 35896Problem: Popup window cannot overflow on the left or right. 35897Solution: Only set the "fixed" option when it is in the dict. Set w_leftcol 35898 to allow for the popup overflowing on the left and use it when 35899 applying the mask. 35900Files: src/popupwin.c 35901 35902Patch 8.1.1603 35903Problem: Crash when using unknown highlighting in text property. 35904Solution: Check for zero highlight ID. 35905Files: src/screen.c, src/testdir/test_textprop.vim 35906 35907Patch 8.1.1604 35908Problem: Popup window scroll test is flaky. 35909Solution: Add a delay between scroll events. 35910Files: src/testdir/test_popupwin.vim 35911 35912Patch 8.1.1605 35913Problem: Vim may delay processing messages on a json channel. (Pontus 35914 Leitzler) 35915Solution: Try parsing json when checking if there is readahead. 35916Files: src/channel.c 35917 35918Patch 8.1.1606 35919Problem: On a narrow screen ":hi" output is confusing. 35920Solution: Insert a space between highlight group name and "xxx". (Masato 35921 Nishihaga, closes #4599) 35922Files: src/syntax.c, src/testdir/test_highlight.vim 35923 35924Patch 8.1.1607 35925Problem: Popup window scrollbar does not respond to click. 35926Solution: Mouse click in scrollbar scrolls by one line. 35927Files: src/popupwin.c, src/proto/popupwin.pro, src/structs.h, src/ui.c, 35928 src/normal.c, runtime/doc/popup.txt, 35929 src/testdir/dumps/Test_popupwin_scroll_8.dump, 35930 src/testdir/dumps/Test_popupwin_scroll_9.dump 35931 35932Patch 8.1.1608 35933Problem: The evalfunc.c file is too big. 35934Solution: Move sign functionality to sign.c. 35935Files: src/evalfunc.c, src/proto/evalfunc.pro, src/sign.c, 35936 src/proto/sign.pro 35937 35938Patch 8.1.1609 35939Problem: The user cannot easily close a popup window. 35940Solution: Add the "close" property. (mostly by Masato Nishihata, 35941 closes #4601) 35942Files: runtime/doc/popup.txt, src/popupwin.c, src/proto/popupwin.pro, 35943 src/structs.h, src/testdir/dumps/Test_popupwin_close_01.dump, 35944 src/testdir/dumps/Test_popupwin_close_02.dump, 35945 src/testdir/dumps/Test_popupwin_close_03.dump, 35946 src/testdir/test_popupwin.vim, src/ui.c 35947 35948Patch 8.1.1610 35949Problem: There is no way to add or load a buffer without side effects. 35950Solution: Add the bufadd() and bufload() functions. 35951Files: runtime/doc/eval.txt, src/evalfunc.c, 35952 src/testdir/test_functions.vim 35953 35954Patch 8.1.1611 35955Problem: Bufadd() reuses existing buffer without a name. 35956Solution: When the name is empty always create a new buffer. 35957Files: src/evalfunc.c, src/testdir/test_functions.vim 35958 35959Patch 8.1.1612 35960Problem: Cannot show an existing buffer in a popup window. 35961Solution: Support buffer number argument in popup_create(). 35962Files: src/buffer.c, src/proto/buffer.pro, src/evalfunc.c, 35963 src/popupwin.c, src/vim.h, src/normal.c, src/screen.c, src/ui.c, 35964 src/window.c, src/testdir/test_popupwin.vim, runtime/doc/popup.txt 35965 35966Patch 8.1.1613 35967Problem: Popup window test fails with Athena and Motif. 35968Solution: Compute the highlight attribute when the GUI is not active. 35969Files: src/syntax.c 35970 35971Patch 8.1.1614 35972Problem: 'numberwidth' can only go up to 10. 35973Solution: Allow up to 20. (Charlie Stanton, closes #4584) 35974Files: runtime/doc/options.txt, src/option.c, src/screen.c, 35975 src/testdir/gen_opt_test.vim, src/testdir/test_options.vim 35976 35977Patch 8.1.1615 35978Problem: Crash when passing buffer number to popup_create(). (Yasuhiro 35979 Matsumoto) 35980Solution: Initialize the window properly. 35981Files: src/popupwin.c, src/testdir/test_popupwin.vim 35982 35983Patch 8.1.1616 35984Problem: Build failure with gcc on Amiga. 35985Solution: Add missing header includes. (Ola Söder, closes #4603) 35986Files: src/os_amiga.h 35987 35988Patch 8.1.1617 35989Problem: No test for popup window with mask and position fixed. 35990Solution: Add a couple of screenshots. Fix detected problems. 35991Files: src/popupwin.c, src/structs.h, src/testdir/test_popupwin.vim, 35992 src/testdir/dumps/Test_popupwin_mask_1.dump, 35993 src/testdir/dumps/Test_popupwin_mask_2.dump, 35994 src/testdir/dumps/Test_popupwin_mask_3.dump, 35995 src/testdir/dumps/Test_popupwin_mask_4.dump 35996 35997Patch 8.1.1618 35998Problem: Amiga-like systems quickly run out of stack. 35999Solution: Reserve a Megabyte stack. (Ola Söder, closes #4608) 36000Files: src/os_amiga.c 36001 36002Patch 8.1.1619 36003Problem: Tests are not run with GUI on Travis. 36004Solution: Add a testgui job. (Ozaki Kiichi, closes #4609) 36005Files: .travis.yml, src/testdir/test_highlight.vim, 36006 src/testdir/test_mapping.vim, src/testdir/test_timers.vim 36007 36008Patch 8.1.1620 36009Problem: No test for popup window with border and mask. 36010Solution: Add this popup window, fix problems. 36011Files: src/popupwin.c, src/testdir/test_popupwin.vim, 36012 src/testdir/dumps/Test_popupwin_mask_1.dump, 36013 src/testdir/dumps/Test_popupwin_mask_2.dump, 36014 src/testdir/dumps/Test_popupwin_mask_3.dump, 36015 src/testdir/dumps/Test_popupwin_mask_4.dump 36016 36017Patch 8.1.1621 36018Problem: Amiga: time.h included twice. 36019Solution: Remove include from evalfunc.c, move outside of #ifdef in 36020 os_amiga.h. (Ola Söder, closes #4607) 36021Files: src/evalfunc.c, src/os_amiga.h 36022 36023Patch 8.1.1622 36024Problem: Wrong width if displaying a lot of lines in a popup window. 36025Solution: Accurately compute the line overflow. 36026Files: src/popupwin.c, src/testdir/test_popupwin.vim, 36027 src/testdir/dumps/Test_popupwin_firstline.dump 36028 36029Patch 8.1.1623 36030Problem: Display wrong with signs in narrow number column. 36031Solution: Increase the numbercolumn width if needed. (Yegappan Lakshmanan, 36032 closes #4606) 36033Files: src/option.c, src/screen.c, src/sign.c, src/testdir/test_signs.vim 36034 36035Patch 8.1.1624 36036Problem: When testing in the GUI may try to run gvim in a terminal. 36037Solution: Add the -v argument. (Yee Cheng Chin, closes #4605) Don't skip 36038 tests that work now. 36039Files: src/testdir/shared.vim, src/testdir/term_util.vim, 36040 src/testdir/test_mapping.vim, src/testdir/test_timers.vim 36041 36042Patch 8.1.1625 36043Problem: Script line numbers are not exactly right. 36044Solution: Handle heredoc and continuation lines better. (Ozaki Kiichi, 36045 closes #4611, closes #4511) 36046Files: src/ex_cmds2.c, src/proto/ex_cmds2.pro, 36047 src/testdir/test_vimscript.vim, src/userfunc.c 36048 36049Patch 8.1.1626 36050Problem: No test for closing a popup window with a modified buffer. 36051Solution: Add a test. Add "popups" to getbufinfo(). 36052Files: runtime/doc/eval.txt, src/evalfunc.c, 36053 src/testdir/test_popupwin.vim 36054 36055Patch 8.1.1627 36056Problem: Header file contains mixed comment style. 36057Solution: Use // style comments. 36058Files: src/structs.h 36059 36060Patch 8.1.1628 36061Problem: Popup window functions not in list of functions. 36062Solution: Add popup window functions to the list of functions. Reorganise 36063 the popup window help. 36064Files: runtime/doc/eval.txt, runtime/doc/popup.txt, 36065 runtime/doc/usr_41.txt 36066 36067Patch 8.1.1629 36068Problem: Terminal function help is in the wrong file. 36069Solution: Move the function details to terminal.txt. 36070Files: runtime/doc/eval.txt, runtime/doc/terminal.txt 36071 36072Patch 8.1.1630 36073Problem: Various small problems. 36074Solution: Various small improvements. 36075Files: src/gui_beval.c, src/list.c, src/menu.c, src/message.c, 36076 src/misc2.c, src/testdir/test_terminal.vim, src/os_vms_conf.h, 36077 src/testdir/Make_vms.mms 36078 36079Patch 8.1.1631 36080Problem: Displaying signs is inefficient. 36081Solution: Avoid making multiple calls to get information about a placed 36082 sign. (Yegappan Lakshmanan, closes #4586) 36083Files: src/proto/sign.pro, src/screen.c, src/sign.c, src/structs.h 36084 36085Patch 8.1.1632 36086Problem: Build with EXITFREE but without +arabic fails. 36087Solution: Rename the function and adjust #ifdefs. (closes #4613) 36088Files: src/ex_getln.c, src/proto/ex_getln.pro, src/misc2.c 36089 36090Patch 8.1.1633 36091Problem: Cannot generate prototypes with X11 but without GUI. 36092Solution: Include X11/Intrinsic.h. 36093Files: src/gui.h 36094 36095Patch 8.1.1634 36096Problem: Terminal test fails when term_getansicolors() is missing. 36097 Diff test fails without +rightleft. (Dominique Pelle) 36098Solution: Check if term_getansicolors() is supported. (closes #4597) 36099Files: src/testdir/test_terminal.vim, src/testdir/test_diffmode.vim 36100 36101Patch 8.1.1635 36102Problem: Warnings for unused variables in small version. (John Marriott) 36103Solution: Adjust #ifdefs. 36104Files: src/screen.c 36105 36106Patch 8.1.1636 36107Problem: Crash when popup has fitting scrollbar. (Trygve Aaberge) 36108Solution: Don't divide by zero if the scrollbar just fits. (closes #4615) 36109Files: src/popupwin.c, src/testdir/test_popupwin.vim 36110 36111Patch 8.1.1637 36112Problem: After running tests and clean the XfakeHOME directory remains. 36113Solution: Use "rm -rf". (Hirohito Higashi) 36114Files: src/testdir/Makefile, src/testdir/Make_amiga.mak 36115 36116Patch 8.1.1638 36117Problem: Running tests leaves some files behind. 36118Solution: Delete the files. (Ozaki Kiichi, closes #4617) 36119Files: src/testdir/test_functions.vim, src/testdir/test_popupwin.vim 36120 36121Patch 8.1.1639 36122Problem: Changing an autoload name into a script file name is inefficient. 36123Solution: Remember the last replaced #. (Ozaki Kiichi, closes #4618) 36124Files: src/eval.c 36125 36126Patch 8.1.1640 36127Problem: The CursorHold autocommand takes down a balloon. (Paul Jolly) 36128Solution: Ignore the CursorHold pseudo-key. 36129Files: src/getchar.c, src/testdir/test_balloon.vim, 36130 src/testdir/dumps/Test_balloon_eval_term_01.dump, 36131 src/testdir/dumps/Test_balloon_eval_term_01a.dump 36132 36133Patch 8.1.1641 36134Problem: Garbage collection may run at a wrong moment. (Trygve Aaberge) 36135Solution: Postpone garbage collection while parsing messages. (closes #4620) 36136Files: src/misc2.c 36137 36138Patch 8.1.1642 (after 8.1.0374) 36139Problem: May use uninitialized variable. (Patrick Palka) 36140Solution: Initialize variables earlier. (closes #4623) 36141Files: src/screen.c, src/testdir/test_number.vim 36142 36143Patch 8.1.1643 36144Problem: Sign placement is wrong when 'foldcolumn' is set. 36145Solution: Adjust the column computation. (Yee Cheng Chin, closes #4627) 36146Files: src/gui.c 36147 36148Patch 8.1.1644 36149Problem: Sound test does not work on Travis. 36150Solution: Use "sg" command to enable audio. (Ozaki Kiichi, closes #4624) 36151Files: .travis.yml 36152 36153Patch 8.1.1645 36154Problem: Cannot use a popup window for a balloon. 36155Solution: Add popup_beval(). Add the "mousemoved" property. Add the 36156 screenpos() function. 36157Files: src/popupwin.c, src/proto/popupwin.pro, src/move.c, 36158 src/proto/move.pro, src/beval.c, src/proto/beval.pro, 36159 src/evalfunc.c, src/popupmnu.c, src/normal.c, 36160 src/testdir/test_popupwin.vim, src/testdir/test_cursor_func.vim, 36161 runtime/doc/popup.txt, runtime/doc/eval.txt, 36162 runtime/doc/usr_41.txt, 36163 src/testdir/dumps/Test_popupwin_beval_1.dump, 36164 src/testdir/dumps/Test_popupwin_beval_2.dump, 36165 src/testdir/dumps/Test_popupwin_beval_3.dump 36166 36167Patch 8.1.1646 (after 8.1.1645) 36168Problem: build failure 36169Solution: Add changes to structure. 36170Files: src/structs.h 36171 36172Patch 8.1.1647 36173Problem: Build error with GTK and hangulinput feature, im_get_status() 36174 defined twice. (Dominique Pelle) 36175Solution: Adjust im_get_status(). (closes #4628) 36176Files: src/hangulin.c, src/mbyte.c 36177 36178Patch 8.1.1648 36179Problem: MS-Windows: build error with normal features. 36180Solution: Adjust #ifdef for find_word_under_cursor(). 36181Files: src/beval.c, src/proto/beval.pro 36182 36183Patch 8.1.1649 36184Problem: Illegal memory access when closing popup window. 36185Solution: Get w_next before closing the window. 36186Files: src/popupwin.c 36187 36188Patch 8.1.1650 36189Problem: Warning for using uninitialized variable. (Tony Mechelynck) 36190Solution: Simplify the code by always using the mouse coordinates. 36191Files: src/beval.c 36192 36193Patch 8.1.1651 36194Problem: Suspend test is flaky on some systems. 36195Solution: Wait for the shell prompt to show. (Yee Cheng Chin, closes #4632) 36196Files: src/testdir/test_suspend.vim 36197 36198Patch 8.1.1652 36199Problem: GUI: popup window doesn't close on mouse movement. (Paul Jolly) 36200Solution: Generate mouse-move events when a popup window is visible. 36201Files: src/gui.c, src/globals.h 36202 36203Patch 8.1.1653 36204Problem: Ubsan warns for possibly passing NULL pointer. 36205Solution: Skip code when length is zero. (Dominique Pelle, closes #4631) 36206Files: src/channel.c 36207 36208Patch 8.1.1654 36209Problem: GUI: screen updates from 'balloonexpr' are not displayed. 36210Solution: Update the screen if needed. Also avoid the cursor being 36211 displayed in the wrong position. 36212Files: src/beval.c 36213 36214Patch 8.1.1655 36215Problem: Popup window border drawn wrong with multi-byte char. (Marcin 36216 Szamotulski) 36217Solution: Correct check in mb_fix_col(). (closes #4635) 36218Files: src/mbyte.c, src/testdir/test_popupwin.vim, 36219 src/testdir/dumps/Test_popupwin_24.dump 36220 36221Patch 8.1.1656 36222Problem: Popup window width is wrong when using Tabs. (Paul Jolly) 36223Solution: Count tabs correctly. (closes #4637) 36224Files: src/popupwin.c, src/testdir/test_popupwin.vim, 36225 src/testdir/dumps/Test_popupwin_11.dump 36226 36227Patch 8.1.1657 36228Problem: Terminal: screen updates from 'balloonexpr' are not displayed. 36229Solution: Update the screen if needed. Fix the word position for 36230 "mousemoved". 36231Files: src/beval.c, src/proto/beval.pro, src/popupwin.c, src/normal.c, 36232 src/proto/normal.pro 36233 36234Patch 8.1.1658 36235Problem: Debug statements included in patch. 36236Solution: Remove the debug statements. 36237Files: src/normal.c, src/popupwin.c 36238 36239Patch 8.1.1659 36240Problem: Popup window "mousemoved" values not correct. 36241Solution: Convert text column to mouse column. 36242Files: src/popupwin.c, runtime/doc/popup.txt 36243 36244Patch 8.1.1660 36245Problem: Assert_fails() does not fail inside try/catch. 36246Solution: Set trylevel to zero. (Ozaki Kiichi, closes #4639) 36247Files: src/eval.c, src/testdir/test_assert.vim 36248 36249Patch 8.1.1661 36250Problem: Cannot build with +textprop but without +balloon_eval. 36251Solution: Adjust #ifdefs. (closes #4645) 36252Files: src/proto.h 36253 36254Patch 8.1.1662 36255Problem: Cannot build uninstal.exe with some version of MinGW. 36256Solution: Add -lole32. (Rene Nyffenegger, closes #4646) 36257Files: src/Make_cyg_ming.mak 36258 36259Patch 8.1.1663 36260Problem: Compiler warning for using size_t. 36261Solution: Add type cast. (Mike Williams) 36262Files: src/popupwin.c 36263 36264Patch 8.1.1664 36265Problem: GUI resize may cause changing Rows at a bad time. (Dominique 36266 Pelle) 36267Solution: Postpone resizing while updating the screen. 36268Files: src/term.c 36269 36270Patch 8.1.1665 36271Problem: Crash when popup window with mask is below the screen. 36272Solution: Correct boundary check. 36273Files: src/popupwin.c, src/testdir/test_popupwin.vim, 36274 src/testdir/dumps/Test_popupwin_mask_5.dump 36275 36276Patch 8.1.1666 36277Problem: Click in popup window scrollbar with border doesn't scroll. 36278Solution: Correct column for the border. (Naruhiko Nishino, closes #4650) 36279Files: src/popupwin.c, src/testdir/test_popupwin.vim, 36280 src/testdir/dumps/Test_popupwin_scroll_9.dump 36281 36282Patch 8.1.1667 36283Problem: Flags for Ex commands may clash with other symbols. 36284Solution: Prepend with EX_. 36285Files: src/ex_cmds.h, src/evalfunc.c, src/ex_docmd.c, src/ex_getln.c, 36286 src/usercmd.c, src/syntax.c 36287 36288Patch 8.1.1668 36289Problem: Popup window test is a bit flaky on some systems. 36290Solution: Clear the command line. (Naruhiko Nishino, closes #4656) 36291Files: src/testdir/test_popupwin.vim 36292 36293Patch 8.1.1669 36294Problem: Travis: test results section is closed even when some tests 36295 failed. 36296Solution: Only close the section on success. (Daniel Hahler, closes #4659) 36297Files: .travis.yml 36298 36299Patch 8.1.1670 36300Problem: Sign column not always properly aligned. 36301Solution: Use "col" only after it was calculated. (Yee Cheng Chin, 36302 closes #4649) 36303Files: src/gui.c 36304 36305Patch 8.1.1671 36306Problem: Copying a blob may result in it being locked. 36307Solution: Reset v_lock. (Ken Takata, closes #4648) 36308Files: src/blob.c, src/testdir/test_blob.vim 36309 36310Patch 8.1.1672 (after 8.1.1667) 36311Problem: "make cmdidxs" doesn't work. 36312Solution: Update macro names. (Naruhiko Nishino, closes #4660) 36313Files: src/create_cmdidxs.vim 36314 36315Patch 8.1.1673 36316Problem: Cannot easily find the popup window at a certain position. 36317Solution: Add popup_locate(). 36318Files: runtime/doc/popup.txt, src/evalfunc.c, src/popupwin.c, 36319 src/proto/popupwin.pro, src/testdir/test_popupwin.vim 36320 36321Patch 8.1.1674 36322Problem: Script to check a colorscheme can be improved. 36323Solution: Match the whole group name. Don't warn for what is usually omitted. 36324Files: runtime/colors/tools/check_colors.vim 36325 36326Patch 8.1.1675 36327Problem: Listener list not correctly updated on listener_remove(). 36328Solution: Only set "prev" when not removing a listener. Return one if the 36329 listener was found and removed. 36330Files: src/change.c 36331 36332Patch 8.1.1676 36333Problem: "maxwidth" of popup window does not always work properly. 36334Solution: Adjust the computation. (Naruhiko Nishino, closes #4653) 36335Files: src/popupwin.c, src/testdir/test_popupwin.vim, 36336 src/testdir/dumps/Test_popupwin_menu_maxwidth_1.dump 36337 36338Patch 8.1.1677 36339Problem: Tests get stuck when running into an existing swapfile. 36340Solution: Set v:swapchoice to "q" and report an error. (Daniel Hahler, 36341 closes #4644) 36342Files: src/testdir/runtest.vim 36343 36344Patch 8.1.1678 36345Problem: When using popup_menu() does not scroll to show the selected line. 36346Solution: Scroll the text. (Naruhiko Nishino, closes #4651) 36347Files: src/popupwin.c, src/testdir/test_popupwin.vim, 36348 src/testdir/dumps/Test_popupwin_menu_scroll_1.dump, 36349 src/testdir/dumps/Test_popupwin_menu_scroll_2.dump, 36350 src/testdir/dumps/Test_popupwin_menu_scroll_3.dump, 36351 src/testdir/dumps/Test_popupwin_menu_scroll_4.dump, 36352 src/testdir/dumps/Test_popupwin_menu_scroll_5.dump, 36353 src/testdir/dumps/Test_popupwin_menu_scroll_6.dump 36354 36355Patch 8.1.1679 36356Problem: Test using SwapExists autocommand file may fail. 36357Solution: Remove the SwapExists autocommand. 36358Files: src/testdir/test_window_cmd.vim 36359 36360Patch 8.1.1680 36361Problem: The command table is not well aligned. 36362Solution: Adjust indent. 36363Files: src/ex_cmds.h 36364 36365Patch 8.1.1681 36366Problem: Insert stray "{" when listener gets buffer line. (Paul Jolly) 36367Solution: Flush the cached line after invoking listeners. (closes #4455) 36368Files: src/memline.c, src/testdir/test_listener.vim 36369 36370Patch 8.1.1682 36371Problem: Placing a larger number of signs is slow. 36372Solution: Add functions for dealing with a list of signs. (Yegappan 36373 Lakshmanan, closes #4636) 36374Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c, 36375 src/proto/sign.pro, src/sign.c, src/testdir/test_signs.vim 36376 36377Patch 8.1.1683 36378Problem: Dictionary with string keys is longer than needed. 36379Solution: Use *{key: val} for literal keys. 36380Files: runtime/doc/eval.txt, src/eval.c, src/dict.c, src/proto/dict.pro, 36381 src/testdir/test_listdict.vim, src/testdir/test_popupwin.vim, 36382 src/testdir/dumps/Test_popupwin_07.dump, 36383 src/testdir/dumps/Test_popupwin_mask_2.dump, 36384 src/testdir/dumps/Test_popupwin_mask_3.dump, 36385 src/testdir/dumps/Test_popupwin_mask_4.dump, 36386 src/testdir/dumps/Test_popupwin_mask_5.dump, 36387 src/testdir/dumps/Test_popupwin_scroll_2.dump, 36388 src/testdir/dumps/Test_popupwin_scroll_3.dump, 36389 src/testdir/dumps/Test_popupwin_scroll_4.dump 36390 36391Patch 8.1.1684 36392Problem: Profiling functionality is spread out. 36393Solution: Put profiling functionality in profiler.c. (Yegappan Lakshmanan, 36394 closes #4666) 36395Files: Filelist, src/Make_cyg_ming.mak, src/Make_dice.mak, 36396 src/Make_manx.mak, src/Make_morph.mak, src/Make_mvc.mak, 36397 src/Make_sas.mak, src/Make_vms.mms, src/Makefile, src/README.md, 36398 src/ex_cmds2.c, src/globals.h, src/profiler.c, src/proto.h, 36399 src/proto/ex_cmds2.pro, src/proto/profiler.pro, 36400 src/proto/userfunc.pro, src/structs.h, src/userfunc.c 36401 36402Patch 8.1.1685 36403Problem: Missing file in distributed file list. 36404Solution: Add profiler.pro 36405Files: Filelist 36406 36407Patch 8.1.1686 36408Problem: "*" of "*{" is recognized as multiply operator. (Yasuhiro 36409 Matsumoto) 36410Solution: Check for the "{". 36411Files: src/eval.c, src/testdir/test_listdict.vim 36412 36413Patch 8.1.1687 36414Problem: The evalfunc.c file is too big. 36415Solution: Move testing support to a separate file. 36416Files: Filelist, src/evalfunc.c, src/eval.c, src/proto/eval.pro, 36417 src/testing.c, src/proto/testing.pro, src/Make_cyg_ming.mak, 36418 src/Make_morph.mak, src/Make_mvc.mak, src/Make_vms.mms, 36419 src/Makefile, src/README.md, src/proto.h 36420 36421Patch 8.1.1688 36422Problem: Old makefiles are no longer useful. 36423Solution: Delete the makefiles, they most likely don't work anyway. 36424Files: Filelist, src/Make_dice.mak, src/Make_manx.mak, src/Make_sas.mak 36425 36426Patch 8.1.1689 36427Problem: Profiling code is spread out. 36428Solution: Move more profiling code to profiler.c. (Yegappan Lakshmanan, 36429 closes #4668) 36430Files: src/ex_cmds2.c, src/profiler.c, src/proto/ex_cmds2.pro, 36431 src/proto/profiler.pro, src/proto/userfunc.pro, src/structs.h, 36432 src/userfunc.c 36433 36434Patch 8.1.1690 36435Problem: Default padding for popup window menu is too much. 36436Solution: Only add padding left and right. 36437Files: runtime/doc/popup.txt, src/popupwin.c, 36438 src/testdir/dumps/Test_popupwin_menu_01.dump, 36439 src/testdir/dumps/Test_popupwin_menu_02.dump, 36440 src/testdir/dumps/Test_popupwin_menu_maxwidth_1.dump, 36441 src/testdir/dumps/Test_popupwin_menu_scroll_1.dump, 36442 src/testdir/dumps/Test_popupwin_menu_scroll_2.dump, 36443 src/testdir/dumps/Test_popupwin_menu_scroll_3.dump, 36444 src/testdir/dumps/Test_popupwin_menu_scroll_4.dump, 36445 src/testdir/dumps/Test_popupwin_menu_scroll_5.dump, 36446 src/testdir/dumps/Test_popupwin_menu_scroll_6.dump 36447 36448Patch 8.1.1691 36449Problem: Diff test fails on some systems. (Elimar Riesebieter) 36450Solution: Add a term_wait() call. 36451Files: src/testdir/test_diffmode.vim 36452 36453Patch 8.1.1692 36454Problem: Using *{} for literal dict is not backwards compatible. (Yasuhiro 36455 Matsumoto) 36456Solution: Use ~{} instead. 36457Files: runtime/doc/eval.txt runtime/doc/popup.txt, src/eval.c, 36458 src/testdir/test_listdict.vim src/testdir/test_popupwin.vim, 36459 src/testdir/dumps/Test_popupwin_07.dump, 36460 src/testdir/dumps/Test_popupwin_mask_2.dump, 36461 src/testdir/dumps/Test_popupwin_mask_3.dump, 36462 src/testdir/dumps/Test_popupwin_mask_4.dump, 36463 src/testdir/dumps/Test_popupwin_mask_5.dump, 36464 src/testdir/dumps/Test_popupwin_scroll_2.dump, 36465 src/testdir/dumps/Test_popupwin_scroll_3.dump, 36466 src/testdir/dumps/Test_popupwin_scroll_4.dump 36467 36468Patch 8.1.1693 36469Problem: Syntax coloring and highlighting is in one big file. 36470Solution: Move the highlighting to a separate file. (Yegappan Lakshmanan, 36471 closes #4674) 36472Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak, 36473 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md, 36474 src/globals.h, src/highlight.c, src/proto.h, 36475 src/proto/highlight.pro, src/proto/syntax.pro, src/structs.h, 36476 src/syntax.c 36477 36478Patch 8.1.1694 36479Problem: The RUN_VIM variable is longer than needed. 36480Solution: Shorten RUN_VIM. (Daniel Hahler, closes #4643) 36481Files: src/testdir/Makefile, src/testdir/shared.vim 36482 36483Patch 8.1.1695 36484Problem: Windows 10: crash when cursor is at bottom of terminal. 36485Solution: Position the cursor before resizing. (Yasuhiro Matsumoto, 36486 closes #4679) 36487Files: src/os_win32.c 36488 36489Patch 8.1.1696 36490Problem: MSVC: link command line is too long. 36491Solution: Use the @<< mechanism to pass the arguments via a file. (Christian 36492 Brabandt) 36493Files: src/Make_mvc.mak 36494 36495Patch 8.1.1697 36496Problem: Cannot build with MSVC. 36497Solution: Remove the backslashes after the @<< mechanism. 36498Files: src/Make_mvc.mak 36499 36500Patch 8.1.1698 36501Problem: Appveyor build with MSVC fails. 36502Solution: Remove the sed command 36503Files: ci/appveyor.bat 36504 36505Patch 8.1.1699 36506Problem: Highlight_ga can be local instead of global. 36507Solution: Move highlight_ga into highlight.c. (Yegappan Lakshmanan, 36508 closes #4675) 36509Files: src/globals.h, src/highlight.c, src/proto/highlight.pro, 36510 src/structs.h, src/syntax.c 36511 36512Patch 8.1.1700 36513Problem: Listener callback called for the wrong buffer. 36514Solution: Invoke listeners before calling ml_append_int(). 36515Files: src/memline.c 36516 36517Patch 8.1.1701 36518Problem: Appveyor build with MSVC fails puts progress bar in log. 36519Solution: Adjust the sed command. (Ken Takata) 36520Files: ci/appveyor.bat 36521 36522Patch 8.1.1702 36523Problem: Compiler warning for uninitialized variable. 36524Solution: Initialize it. (Christian Brabandt) 36525Files: src/gui.c 36526 36527Patch 8.1.1703 36528Problem: Breaking out of loop by checking window pointer is insufficient. 36529Solution: Check the window ID and the buffer number. (closes #4683) 36530Files: src/misc2.c 36531 36532Patch 8.1.1704 36533Problem: C-R C-W does not work after C-G when using 'incsearch'. 36534Solution: Put cursor at end of the match. (Yasuhiro Matsumoto, closes #4664) 36535Files: src/ex_getln.c, src/testdir/test_search.vim 36536 36537Patch 8.1.1705 36538Problem: Using ~{} for a literal dict is not nice. 36539Solution: Use #{} instead. 36540Files: runtime/doc/eval.txt runtime/doc/popup.txt, src/eval.c, 36541 src/testdir/test_listdict.vim src/testdir/test_popupwin.vim 36542 36543Patch 8.1.1706 36544Problem: Typo in #ifdef. 36545Solution: Change PROT to PROTO. 36546Files: src/beval.c 36547 36548Patch 8.1.1707 36549Problem: Coverity warns for possibly using a NULL pointer. 36550Solution: Change the logic to make sure no NULL pointer is used. 36551Files: src/popupwin.c, src/testdir/test_popupwin.vim 36552 36553Patch 8.1.1708 36554Problem: Coverity warns for using uninitialized variable. 36555Solution: Set the start col when col is set. 36556Files: src/beval.c 36557 36558Patch 8.1.1709 36559Problem: Coverity warns for possibly using a NULL pointer. 36560Solution: Make sure no NULL pointer is used. 36561Files: src/popupwin.c, src/testdir/test_popupwin.vim 36562 36563Patch 8.1.1710 36564Problem: Coverity found dead code. 36565Solution: Remove merging of listener changes. 36566Files: src/change.c 36567 36568Patch 8.1.1711 36569Problem: Listener callback called at the wrong moment 36570Solution: Invoke listeners before calling ml_delete_int(). (closes #4657) 36571Files: src/memline.c 36572 36573Patch 8.1.1712 36574Problem: Signs in number column cause text to be misaligned. 36575Solution: Improve alignment. (Yasuhiro Matsumoto, closes #4694) 36576Files: src/screen.c, src/testdir/test_signs.vim 36577 36578Patch 8.1.1713 36579Problem: Highlighting cursor line only works with popup_menu(). 36580Solution: Add the "cursorline" property. (Naruhiko Nishino, closes #4671) 36581Files: runtime/doc/popup.txt, src/popupwin.c, 36582 src/testdir/dumps/Test_popupwin_cursorline_1.dump, 36583 src/testdir/dumps/Test_popupwin_cursorline_2.dump, 36584 src/testdir/dumps/Test_popupwin_cursorline_3.dump, 36585 src/testdir/dumps/Test_popupwin_cursorline_4.dump, 36586 src/testdir/dumps/Test_popupwin_cursorline_5.dump, 36587 src/testdir/dumps/Test_popupwin_cursorline_6.dump, 36588 src/testdir/dumps/Test_popupwin_menu_filter_1.dump, 36589 src/testdir/dumps/Test_popupwin_menu_filter_2.dump, 36590 src/testdir/dumps/Test_popupwin_menu_filter_3.dump, 36591 src/testdir/dumps/Test_popupwin_menu_filter_4.dump, 36592 src/testdir/test_popupwin.vim, src/vim.h 36593 36594Patch 8.1.1714 36595Problem: Cannot preview a file in a popup window. 36596Solution: Add the 'previewpopup' option. 36597Files: runtime/doc/windows.txt, runtime/doc/options.txt, src/popupwin.c, 36598 src/proto/popupwin.pro, src/option.c, src/option.h, src/ex_cmds.c, 36599 src/testdir/dumps/Test_popupwin_previewpopup_1.dump, 36600 src/testdir/dumps/Test_popupwin_previewpopup_2.dump, 36601 src/ex_docmd.c, src/testdir/gen_opt_test.vim 36602 36603Patch 8.1.1715 36604Problem: Emoji characters are seen as word characters for spelling. (Gautam 36605 Iyer) 36606Solution: Exclude class 3 from word characters. 36607Files: src/spell.c 36608 36609Patch 8.1.1716 36610Problem: Old style comments are wasting space 36611Solution: Use new style comments in option header file. (closes #4702) 36612Files: src/option.h 36613 36614Patch 8.1.1717 36615Problem: Last char in menu popup window highlighted. 36616Solution: Do not highlight an extra character twice. 36617Files: src/screen.c, src/testdir/test_popupwin.vim, 36618 src/testdir/dumps/Test_popupwin_menu_04.dump 36619 36620Patch 8.1.1718 36621Problem: Popup menu highlighting does not look good. 36622Solution: Highlight the whole window line. Fix that sign line HL is not 36623 displayed in a window with a background color. 36624Files: src/popupwin.c, src/sign.c, src/proto/sign.pro, src/screen.c, 36625 src/testdir/dumps/Test_popupwin_menu_scroll_1.dump, 36626 src/testdir/dumps/Test_popupwin_menu_scroll_2.dump, 36627 src/testdir/dumps/Test_popupwin_menu_scroll_3.dump, 36628 src/testdir/dumps/Test_popupwin_menu_scroll_4.dump, 36629 src/testdir/dumps/Test_popupwin_menu_scroll_5.dump, 36630 src/testdir/dumps/Test_popupwin_menu_scroll_6.dump, 36631 src/testdir/dumps/Test_popupwin_menu_01.dump, 36632 src/testdir/dumps/Test_popupwin_menu_02.dump, 36633 src/testdir/dumps/Test_popupwin_menu_04.dump 36634 36635Patch 8.1.1719 36636Problem: Popup too wide when 'showbreak' is set. 36637Solution: Set window width when computing line length. (closes #4701) 36638Files: src/popupwin.c, src/testdir/test_popupwin.vim, 36639 src/testdir/dumps/Test_popupwin_showbreak.dump 36640 36641Patch 8.1.1720 36642Problem: Crash with very long %[] pattern. (Reza Mirzazade farkhani) 36643Solution: Check for reg_toolong. (closes #4703) 36644Files: src/regexp.c, src/testdir/test_regexp_utf8.vim 36645 36646Patch 8.1.1721 36647Problem: Build failure with normal features without netbeans interface. 36648Solution: Enable signs when using the text properties feature. 36649Files: src/feature.h 36650 36651Patch 8.1.1722 36652Problem: Error when scriptversion is 2 a making a dictionary access. 36653Solution: Parse the subscript even when not evaluating the sub-expression. 36654 (closes #4704) 36655Files: src/eval.c, src/testdir/test_eval_stuff.vim 36656 36657Patch 8.1.1723 36658Problem: Heredoc assignment has no room for new features. (FUJIWARA Takuya) 36659Solution: Require the marker does not start with a lower case character. 36660 (closes #4705) 36661Files: runtime/doc/eval.txt, src/eval.c, src/testdir/test_let.vim 36662 36663Patch 8.1.1724 36664Problem: Too much overhead checking for CTRL-C while processing text. 36665Solution: Increase BREAKCHECK_SKIP. Remove the difference for when built 36666 with the GUI. (suggested by Andy Massimino, closes #4708) 36667Files: src/misc1.c, src/screen.c, src/feature.h 36668 36669Patch 8.1.1725 36670Problem: MS-Windows: E325 message may use incorrect date format. 36671Solution: Convert strftime() result to 'encoding'. Also make the message 36672 translatable. (Ken Takata, closes #4685, closes #4681) 36673Files: src/memline.c 36674 36675Patch 8.1.1726 36676Problem: The eval.txt help file is too big. 36677Solution: Split off testing support to testing.txt. Move function details 36678 to where the functionality is explained. 36679Files: runtime/doc/Makefile, runtime/doc/eval.txt, 36680 runtime/doc/testing.txt, runtime/doc/sign.txt, 36681 runtime/doc/textprop.txt, runtime/doc/help.txt, 36682 runtime/doc/channel.txt, runtime/doc/tags 36683 36684Patch 8.1.1727 36685Problem: Code for viminfo support is spread out. 36686Solution: Move to code to viminfo.c. (Yegappan Lakshmanan, closes #4686) 36687Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak, 36688 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/buffer.c, 36689 src/eval.c, src/ex_cmds.c, src/ex_docmd.c, src/globals.h, 36690 src/proto.h, src/proto/buffer.pro, src/proto/eval.pro, 36691 src/proto/ex_cmds.pro, src/proto/viminfo.pro, src/structs.h, 36692 src/viminfo.c 36693 36694Patch 8.1.1728 36695Problem: Wrong place for command line history viminfo support. 36696Solution: Move it to viminfo.c. 36697Files: src/ex_getln.c, src/proto/ex_getln.pro, src/viminfo.c, 36698 src/structs.h 36699 36700Patch 8.1.1729 36701Problem: Heredoc with trim not properly handled in function. 36702Solution: Allow for missing indent. (FUJIWARA Takuya, closes #4713) 36703Files: src/userfunc.c, src/testdir/test_let.vim 36704 36705Patch 8.1.1730 36706Problem: Wrong place for mark viminfo support. 36707Solution: Move it to viminfo.c. (Yegappan Lakshmanan, closes #4716) 36708Files: src/README.md, src/mark.c, src/proto/mark.pro, 36709 src/proto/viminfo.pro, src/structs.h, src/viminfo.c 36710 36711Patch 8.1.1731 36712Problem: Command line history not read from viminfo on startup. 36713Solution: Get history length after initializing it. 36714Files: src/viminfo.c, src/testdir/test_viminfo.vim 36715 36716Patch 8.1.1732 36717Problem: Completion in cmdwin does not work for buffer-local commands. 36718Solution: Use the right buffer. (closes #4711) 36719Files: src/usercmd.c, src/testdir/test_ins_complete.vim 36720 36721Patch 8.1.1733 36722Problem: The man ftplugin leaves an empty buffer behind. 36723Solution: Don't make new window and edit, use split. (Jason Franklin) 36724Files: runtime/ftplugin/man.vim, src/testdir/test_man.vim 36725 36726Patch 8.1.1734 36727Problem: The evalfunc.c file is too big. 36728Solution: Move some functions to other files. 36729Files: src/evalfunc.c, src/proto/evalfunc.pro, src/json.c, 36730 src/proto/json.pro src/window.c, src/proto/window.pro, 36731 src/highlight.c, src/proto/highlight.pro, src/globals.h 36732 36733Patch 8.1.1735 (after 8.1.1734) 36734Problem: Can't build with tiny features. 36735Solution: Add missing #ifdefs. 36736Files: src/json.c, src/highlight.c 36737 36738Patch 8.1.1736 36739Problem: Viminfo support is spread out. 36740Solution: Move more viminfo code to viminfo.c. (Yegappan Lakshmanan, 36741 closes #4717) Reorder code to make most functions static. 36742Files: src/fileio.c, src/ops.c, src/option.c, src/proto/ops.pro, 36743 src/proto/option.pro, src/proto/search.pro, src/proto/viminfo.pro, 36744 src/search.c, src/structs.h, src/viminfo.c, src/ex_cmds.c, 36745 src/proto/ex_cmds.pro 36746 36747Patch 8.1.1737 36748Problem: :args command that outputs one line gives more prompt. 36749Solution: Only output line break if needed. (Daniel Hahler, closes #4715) 36750Files: src/version.c, src/testdir/test_arglist.vim 36751 36752Patch 8.1.1738 36753Problem: Testing lambda with timer is slow. 36754Solution: Do not test timer accuracy, only that it works. (Daniel Hahler, 36755 closes #4723) 36756Files: src/testdir/test_lambda.vim 36757 36758Patch 8.1.1739 36759Problem: Deleted match highlighting not updated in other window. 36760Solution: Mark the window for refresh. (closes #4720) Also fix that 36761 ambi-width check clears with wrong attributes. 36762Files: src/term.c, src/highlight.c, src/testdir/test_match.vim, 36763 src/testdir/dumps/Test_matchdelete_1.dump 36764 36765Patch 8.1.1740 36766Problem: Exepath() doesn't work for "bin/cat". 36767Solution: Check for any path separator. (Daniel Hahler, closes #4724, 36768 closes #4710) 36769Files: src/evalfunc.c, src/os_unix.c, src/testdir/test_functions.vim 36770 36771Patch 8.1.1741 36772Problem: Cleared/added match highlighting not updated in other window. 36773 (Andy Massimino) 36774Solution: Mark the right window for refresh. 36775Files: src/highlight.c, src/testdir/test_match.vim, 36776 src/testdir/dumps/Test_matchclear_1.dump, 36777 src/testdir/dumps/Test_matchadd_1.dump 36778 36779Patch 8.1.1742 36780Problem: Still some match functions in evalfunc.c. 36781Solution: Move them to highlight.c. 36782Files: src/evalfunc.c, src/highlight.c, src/proto/highlight.pro, 36783 src/ex_docmd.c 36784 36785Patch 8.1.1743 36786Problem: 'hlsearch' and match highlighting in the wrong place. 36787Solution: Move highlighting from inside screen functions to highlight.c. 36788Files: src/screen.c, src/highlight.c, src/proto/highlight.pro 36789 36790Patch 8.1.1744 36791Problem: Build error without the conceal feature. 36792Solution: Define variables also without the conceal feature. 36793Files: src/screen.c 36794 36795Patch 8.1.1745 36796Problem: Compiler warning for unused argument. 36797Solution: Add UNUSED. Change comments to new style. 36798Files: src/highlight.c 36799 36800Patch 8.1.1746 36801Problem: ":dl" is seen as ":dlist" instead of ":delete". 36802Solution: Do not use cmdidxs2[] if the length is 1. (closes #4721) 36803Files: src/ex_docmd.c, src/testdir/test_excmd.vim, 36804 src/testdir/Make_all.mak 36805 36806Patch 8.1.1747 36807Problem: Compiler warning for unused variables. (Tony Mechelynck) 36808Solution: Add #ifdef. 36809Files: src/screen.c 36810 36811Patch 8.1.1748 (after 8.1.1737) 36812Problem: :args output is not aligned. 36813Solution: Output a line break after the last item in a row. 36814Files: src/version.c 36815 36816Patch 8.1.1749 36817Problem: Coverity warns for using negative index. 36818Solution: Move using index inside "if". 36819Files: src/viminfo.c 36820 36821Patch 8.1.1750 36822Problem: Depending on the terminal width :version may miss a line break. 36823Solution: Add a line break when needed. 36824Files: src/version.c 36825 36826Patch 8.1.1751 36827Problem: When redrawing popups plines_win() may be called often. 36828Solution: Pass a cache to mouse_comp_pos(). 36829Files: src/ui.c, src/proto/ui.pro, src/beval.c, src/evalfunc.c, 36830 src/popupwin.c 36831 36832Patch 8.1.1752 36833Problem: Resizing hashtable is inefficient. 36834Solution: Avoid resizing when the final size is predictable. 36835Files: src/hashtab.c, src/proto/hashtab.pro, src/popupwin.c 36836 36837Patch 8.1.1753 36838Problem: Use of popup window mask is inefficient. 36839Solution: Precompute and cache the mask. 36840Files: src/popupwin.c 36841 36842Patch 8.1.1754 (after 8.1.1753) 36843Problem: Build failure. 36844Solution: Add missing change to window struct. 36845Files: src/structs.h 36846 36847Patch 8.1.1755 36848Problem: Leaking memory when using a popup window mask. 36849Solution: Free the cached mask. 36850Files: src/window.c 36851 36852Patch 8.1.1756 36853Problem: Autocommand that splits window messes up window layout. 36854Solution: Disallow splitting a window while closing one. In ":all" give an 36855 error when moving a window will not work. 36856Files: src/buffer.c, src/window.c, src/testdir/test_window_cmd.vim 36857 36858Patch 8.1.1757 36859Problem: Text added with appendbufline() to another buffer isn't displayed. 36860Solution: Update topline. (partly by Christian Brabandt, closes #4718) 36861Files: src/evalfunc.c, src/testdir/test_bufline.vim, 36862 src/testdir/dumps/Test_appendbufline_1.dump 36863 36864Patch 8.1.1758 36865Problem: Count of g$ not used correctly when text is not wrapped. 36866Solution: Do use the count. (Christian Brabandt, closes #4729, closes #4566) 36867Files: src/normal.c, src/testdir/test_normal.vim 36868 36869Patch 8.1.1759 36870Problem: No mode char for terminal mapping from maparg(). 36871Solution: Check for TERMINAL mode. (closes #4735) 36872Files: src/getchar.c, src/testdir/test_maparg.vim 36873 36874Patch 8.1.1760 36875Problem: Extra line break for wrapping output of :args. 36876Solution: Avoid the extra line break. (Daniel Hahler, closes #4737) 36877Files: src/version.c, src/testdir/test_arglist.vim 36878 36879Patch 8.1.1761 36880Problem: Filetype "vuejs" causes problems for some users. 36881Solution: Rename to "vue". 36882Files: runtime/filetype.vim, src/testdir/test_filetype.vim 36883 36884Patch 8.1.1762 36885Problem: Some filetype rules are in the wrong place. 36886Solution: Move to the right place. Add a few more tests. 36887Files: runtime/filetype.vim, src/testdir/test_filetype.vim 36888 36889Patch 8.1.1763 36890Problem: Evalfunc.c is still too big. 36891Solution: Move dict and list functions to a better place. 36892Files: src/evalfunc.c, src/dict.c, src/proto/dict.pro, src/list.c, 36893 src/proto/list.pro, src/blob.c, src/proto/blob.pro 36894 36895Patch 8.1.1764 36896Problem: ":browse oldfiles" is not tested. 36897Solution: Add a test. 36898Files: src/testdir/test_viminfo.vim 36899 36900Patch 8.1.1765 36901Problem: get(func, dict, def) does not work properly. 36902Solution: Handle NULL dict better. (Takuya Fujiwara, closes #4734) 36903Files: src/evalfunc.c, src/testdir/test_getvar.vim, 36904 src/testdir/test_partial.vim 36905 36906Patch 8.1.1766 36907Problem: Code for writing session file is spread out. 36908Solution: Put it in one file. (Yegappan Lakshmanan, closes #4728) 36909Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak, 36910 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md, 36911 src/eval.c, src/ex_docmd.c, src/misc2.c, src/proto.h, 36912 src/proto/eval.pro, src/proto/misc2.pro, src/proto/session.pro, 36913 src/session.c 36914 36915Patch 8.1.1767 36916Problem: FEAT_SESSION defined separately. 36917Solution: Make FEAT_SESSION depend on FEAT_EVAL. 36918Files: src/feature.h, src/session.c, src/evalfunc.c, src/ex_docmd.c, 36919 src/gui_gtk_x11.c, src/proto.h 36920 36921Patch 8.1.1768 36922Problem: Man plugin changes setting in current window. 36923Solution: Set options later. (Jason Franklin) 36924Files: runtime/ftplugin/man.vim, src/testdir/test_man.vim 36925 36926Patch 8.1.1769 36927Problem: 'shellslash' is also used for completion. 36928Solution: Add the 'completeslash' option. (Yasuhiro Matsumoto, closes #3612) 36929Files: runtime/doc/options.txt, src/ex_getln.c, src/insexpand.c, 36930 src/option.c, src/option.h, src/structs.h, 36931 src/testdir/test_ins_complete.vim 36932 36933Patch 8.1.1770 36934Problem: Cannot get the window ID of the popup preview window. 36935Solution: Add popup_getpreview(). 36936Files: src/evalfunc.c, src/popupwin.c, src/proto/popupwin.pro, 36937 runtime/doc/eval.txt, runtime/doc/popup.txt, 36938 src/testdir/dumps/Test_popupwin_previewpopup_3.dump 36939 36940Patch 8.1.1771 36941Problem: Options test fails on MS-Windows. 36942Solution: Add correct and incorrect values for 'completeslash'. 36943Files: src/testdir/gen_opt_test.vim 36944 36945Patch 8.1.1772 36946Problem: Options test still fails on MS-Windows. 36947Solution: Check buffer-local value of 'completeslash'. 36948Files: src/option.c 36949 36950Patch 8.1.1773 36951Problem: The preview popup window may be too far to the right. 36952Solution: Keep it inside the screen. Also keep the close button and 36953 scrollbar visible if possible. 36954Files: src/popupwin.c, src/proto/popupwin.pro, src/ex_cmds.c, 36955 src/screen.c, src/vim.h, src/testdir/test_popupwin.vim, 36956 src/testdir/dumps/Test_popupwin_previewpopup_1.dump, 36957 src/testdir/dumps/Test_popupwin_previewpopup_2.dump, 36958 src/testdir/dumps/Test_popupwin_previewpopup_3.dump, 36959 src/testdir/dumps/Test_popupwin_previewpopup_4.dump 36960 36961Patch 8.1.1774 36962Problem: Test is silently skipped. 36963Solution: Throw "Skipped". 36964Files: src/testdir/test_ins_complete.vim 36965 36966Patch 8.1.1775 36967Problem: Error message may be empty in filetype test. 36968Solution: Use v:exception instead. (Daniel Hahler, closes #4744) 36969Files: src/testdir/test_filetype.vim 36970 36971Patch 8.1.1776 36972Problem: Text added with a job to another buffer isn't displayed. 36973Solution: Update topline after adding a line. (closes #4745) 36974Files: src/channel.c, src/testdir/test_channel.vim, src/testdir/check.vim, 36975 src/testdir/dumps/Test_job_buffer_scroll_1.dump 36976 36977Patch 8.1.1777 36978Problem: Useless checks for job feature in channel test. 36979Solution: Remove the checks. Remove ch_log() calls. 36980Files: src/testdir/test_channel.vim 36981 36982Patch 8.1.1778 36983Problem: Not showing the popup window right border is confusing. 36984Solution: Also show the border when there is no close button. (closes #4747) 36985Files: src/popupwin.c, src/testdir/dumps/Test_popupwin_20.dump, 36986 src/testdir/dumps/Test_popupwin_21.dump 36987 36988Patch 8.1.1779 36989Problem: Not showing the popup window right border is confusing. 36990Solution: Also show the border when 'wrap' is off. (closes #4747) 36991Files: src/popupwin.c, src/testdir/dumps/Test_popupwin_20.dump, 36992 src/testdir/dumps/Test_popupwin_21.dump 36993 36994Patch 8.1.1780 36995Problem: Warning for file no longer available is repeated every time Vim is 36996 focused. (Brian Armstrong) 36997Solution: Only give the message once. (closes #4748) 36998Files: src/fileio.c 36999 37000Patch 8.1.1781 37001Problem: Amiga: no builtin OS readable version info. 37002Solution: Add a "version" variable. (Ola Söder, closes #4753) 37003Files: src/os_amiga.c 37004 37005Patch 8.1.1782 37006Problem: MS-Windows: system() has temp file error with 'noshelltemp'. 37007Solution: Check s_dont_use_vimrun. (Ken Takata, closes #4754) 37008Files: src/os_win32.c 37009 37010Patch 8.1.1783 37011Problem: MS-Windows: compiler test may fail when using %:S. 37012Solution: Reset 'shellslash'. 37013Files: src/testdir/test_compiler.vim 37014 37015Patch 8.1.1784 37016Problem: MS-Windows: resolve() does not work if serial nr duplicated. 37017Solution: Use another method to get the full path. (Ken Takata, closes #4661) 37018Files: src/os_mswin.c 37019 37020Patch 8.1.1785 37021Problem: Map functionality mixed with character input. 37022Solution: Move the map functionality to a separate file. (Yegappan 37023 Lakshmanan, closes #4740) Graduate the +localmap feature. 37024Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak, 37025 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md, 37026 src/buffer.c, src/feature.h, src/evalfunc.c, src/ex_docmd.c, 37027 src/getchar.c, src/map.c, src/proto.h, src/proto/getchar.pro, 37028 src/proto/map.pro, src/version.c, src/structs.h 37029 37030Patch 8.1.1786 37031Problem: Double click in popup scrollbar starts selection. 37032Solution: Ignore the double click. 37033Files: src/ui.c, src/popupwin.c, src/proto/popupwin.pro 37034 37035Patch 8.1.1787 37036Problem: Cannot resize a popup window. 37037Solution: Allow for resizing by dragging the lower right corner. 37038Files: runtime/doc/popup.txt, src/popupwin.c, src/structs.h, src/vim.h, 37039 src/ui.c src/testdir/test_popupwin.vim, 37040 src/testdir/dumps/Test_popupwin_drag_01.dump, 37041 src/testdir/dumps/Test_popupwin_drag_02.dump, 37042 src/testdir/dumps/Test_popupwin_drag_03.dump, 37043 src/testdir/dumps/Test_popupwin_previewpopup_1.dump, 37044 src/testdir/dumps/Test_popupwin_previewpopup_2.dump, 37045 src/testdir/dumps/Test_popupwin_previewpopup_3.dump, 37046 src/testdir/dumps/Test_popupwin_previewpopup_4.dump 37047 37048Patch 8.1.1788 (after 8.1.1787) 37049Problem: missing changes in proto file 37050Solution: Update proto file. 37051Files: src/proto/popupwin.pro 37052 37053Patch 8.1.1789 37054Problem: Cannot see file name of preview popup window. 37055Solution: Add the file name as the title. 37056Files: src/ex_cmds.c, src/popupwin.c, src/proto/popupwin.pro, 37057 src/fileio.c, 37058 src/testdir/dumps/Test_popupwin_previewpopup_1.dump, 37059 src/testdir/dumps/Test_popupwin_previewpopup_2.dump, 37060 src/testdir/dumps/Test_popupwin_previewpopup_3.dump, 37061 src/testdir/dumps/Test_popupwin_previewpopup_4.dump, 37062 src/testdir/dumps/Test_popupwin_previewpopup_5.dump 37063 37064Patch 8.1.1790 37065Problem: :mkvimrc is not tested. 37066Solution: Add a test. 37067Files: src/testdir/test_mksession.vim 37068 37069Patch 8.1.1791 37070Problem: 'completeslash' also applies to globpath(). 37071Solution: Add the WILD_IGNORE_COMPLETESLASH flag. (test by Yasuhiro 37072 Matsumoto, closes #4760) 37073Files: src/testdir/test_ins_complete.vim, src/ex_getln.c, src/evalfunc.c, 37074 src/vim.h 37075 37076Patch 8.1.1792 37077Problem: The vgetorpeek() function is too long. 37078Solution: Split off the part that handles mappings. 37079Files: src/getchar.c 37080 37081Patch 8.1.1793 37082Problem: Mixed comment style in globals. 37083Solution: Use // comments where appropriate. 37084Files: src/globals.h 37085 37086Patch 8.1.1794 (after 8.1.1792) 37087Problem: Tests are flaky. 37088Solution: Undo the change to vgetorpeek(). 37089Files: src/getchar.c 37090 37091Patch 8.1.1795 37092Problem: No syntax HL after splitting windows with :bufdo. (Yasuhiro 37093 Matsumoto) 37094Solution: Trigger Syntax autocommands in buffers that are active. 37095 (closes #4761) 37096Files: src/vim.h, src/option.c, src/ex_cmds2.c, 37097 src/testdir/test_syntax.vim 37098 37099Patch 8.1.1796 37100Problem: :argdo is not tested 37101Solution: Add a test. 37102Files: src/testdir/test_arglist.vim 37103 37104Patch 8.1.1797 (after 8.1.1794) 37105Problem: The vgetorpeek() function is too long. 37106Solution: Split off the part that handles mappings, with fix. 37107Files: src/getchar.c 37108 37109Patch 8.1.1798 37110Problem: Warning for unused variable in tiny version. (Tony Mechelynck) 37111Solution: Move inside #ifdef. Reformat code. 37112Files: src/getchar.c 37113 37114Patch 8.1.1799 37115Problem: Cannot avoid mapping for a popup window. 37116Solution: Add the "mapping" property, default TRUE. 37117Files: runtime/doc/popup.txt, src/getchar.c, src/popupwin.c, src/vim.h, 37118 src/proto/popupwin.pro, src/testdir/test_popupwin.vim 37119 37120Patch 8.1.1800 37121Problem: Function call functions have too many arguments. 37122Solution: Pass values in a funcexe_T struct. 37123Files: src/eval.c, src/structs.h, src/userfunc.c, src/proto/userfunc.pro, 37124 src/list.c, src/regexp.c, src/terminal.c, src/change.c, 37125 src/ex_cmds2.c, src/popupwin.c, src/channel.c 37126 37127Patch 8.1.1801 37128Problem: Cannot build without the +eval feature. 37129Solution: Always define funcexe_T. 37130Files: src/structs.h 37131 37132Patch 8.1.1802 37133Problem: Missing change to call_callback(). 37134Solution: Add missing change. 37135Files: src/sound.c 37136 37137Patch 8.1.1803 37138Problem: All builtin functions are global. 37139Solution: Add the method call operator ->. Implemented for a limited number 37140 of functions. 37141Files: runtime/doc/eval.txt, src/eval.c, src/structs.h, src/userfunc.c, 37142 src/globals.h, src/evalfunc.c, src/proto/evalfunc.pro, 37143 src/testdir/test_method.vim, src/testdir/Make_all.mak 37144 37145Patch 8.1.1804 37146Problem: No test for display updating without a scroll region. 37147Solution: Add a test. 37148Files: src/testdir/test_display.vim, src/testdir/check.vim, 37149 src/testdir/test_diffmode.vim, 37150 src/testdir/dumps/Test_scroll_no_region_1.dump, 37151 src/testdir/dumps/Test_scroll_no_region_2.dump, 37152 src/testdir/dumps/Test_scroll_no_region_3.dump 37153 37154Patch 8.1.1805 37155Problem: Au_did_filetype is declared twice. 37156Solution: Remove it from autocmd.c. (closes #4767) 37157Files: src/globals.h, src/autocmd.c 37158 37159Patch 8.1.1806 37160Problem: Test for display updating doesn't check without statusline. 37161Solution: Add screenshots without a status line. 37162Files: src/testdir/test_display.vim, 37163 src/testdir/dumps/Test_scroll_no_region_4.dump, 37164 src/testdir/dumps/Test_scroll_no_region_5.dump, 37165 src/testdir/dumps/Test_scroll_no_region_6.dump 37166 37167Patch 8.1.1807 37168Problem: More functions can be used as a method. 37169Solution: Add append(), appendbufline(), assert_equal(), etc. 37170 Also add the :eval command. 37171Files: runtime/doc/eval.txt, runtime/doc/testing.txt, src/evalfunc.c, 37172 src/testdir/test_method.vim, src/ex_cmds.h, src/ex_eval.c, 37173 src/proto/ex_eval.pro, src/ex_cmdidxs.h 37174 37175Patch 8.1.1808 37176Problem: Build failure for tiny version. 37177Solution: Define ex_eval to ex_ni. Clean up the ordering a bit. 37178Files: src/ex_docmd.c 37179 37180Patch 8.1.1809 37181Problem: More functions can be used as a method. 37182Solution: Add has_key(), split(), str2list(), etc. 37183Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_method.vim, 37184 src/testdir/test_diffmode.vim, src/testdir/test_syntax.vim, 37185 src/testdir/test_system.vim 37186 37187Patch 8.1.1810 37188Problem: Popup_getoptions() is missing an entry for "mapping". 37189Solution: Add the entry. 37190Files: src/popupwin.c, src/testdir/test_popupwin.vim 37191 37192Patch 8.1.1811 37193Problem: Popup window color cannot be set to "Normal". 37194Solution: Check for non-empty 'wincolor' instead of zero attribute. 37195 (closes #4772) 37196Files: src/screen.c, src/testdir/test_popupwin.vim, 37197 src/testdir/dumps/Test_popupwin_20.dump, 37198 src/testdir/dumps/Test_popupwin_21.dump 37199 37200Patch 8.1.1812 37201Problem: Reading a truncated undo file hangs Vim. 37202Solution: Check for reading EOF. (closes #4769) 37203Files: src/undo.c, src/testdir/test_undo.vim 37204 37205Patch 8.1.1813 37206Problem: ATTENTION prompt for a preview popup window. 37207Solution: Close the popup window if aborting the buffer load. Avoid getting 37208 the ATTENTION dialog. 37209Files: src/tag.c, src/ex_cmds.c, src/memline.c, src/vim.h, 37210 runtime/doc/windows.txt 37211 37212Patch 8.1.1814 37213Problem: A long title in a popup window overflows. 37214Solution: Truncate the title. (closes #4770) 37215Files: src/testdir/test_popupwin.vim, src/popupwin.c, 37216 src/testdir/dumps/Test_popupwin_longtitle_1.dump, 37217 src/testdir/dumps/Test_popupwin_longtitle_2.dump 37218 37219Patch 8.1.1815 37220Problem: Duplicating info for internal functions. 37221Solution: Use one table to list internal functions. 37222Files: src/evalfunc.c 37223 37224Patch 8.1.1816 37225Problem: Cannot use a user defined function as a method. 37226Solution: Pass the base as the first argument to the user defined function 37227 after "->". (partly by FUJIWARA Takuya) 37228Files: src/eval.c, src/userfunc.c, src/testdir/test_user_func.vim, 37229 src/testdir/test_autoload.vim, 37230 src/testdir/sautest/autoload/foo.vim 37231 37232Patch 8.1.1817 37233Problem: Github contribution text is incomplete. 37234Solution: Update the text. 37235Files: CONTRIBUTING.md 37236 37237Patch 8.1.1818 37238Problem: Unused variable. 37239Solution: Remove the variable. (Mike Williams) 37240Files: src/sound.c 37241 37242Patch 8.1.1819 37243Problem: :pedit does not work with a popup preview window. 37244Solution: Avoid aborting with an error. (fixes #4777) Also double check 37245 that after prepare_tagpreview() the current window is not a 37246 popup window. 37247Files: src/ex_docmd.c, src/popupmenu.c, src/search.c, src/tag.c, 37248 src/testdir/test_popupwin.vim, 37249 src/testdir/dumps/Test_popupwin_previewpopup_6.dump, 37250 src/testdir/dumps/Test_popupwin_previewpopup_7.dump, 37251 src/testdir/dumps/Test_popupwin_previewpopup_8.dump 37252 37253Patch 8.1.1820 37254Problem: Using expr->FuncRef() does not work. 37255Solution: Make FuncRef work as a method. 37256Files: src/eval.c, src/userfunc.c, src/testdir/test_method.vim 37257 37258Patch 8.1.1821 37259Problem: No test for wrong number of method arguments. 37260Solution: Add a test. 37261Files: src/testdir/test_method.vim 37262 37263Patch 8.1.1822 37264Problem: Confusing error message when range is not allowed. 37265Solution: With ADDR_NONE give e_norange. Change e_invaddr to e_invrange for 37266 consistency. 37267Files: src/ex_docmd.c, src/globals.h, src/testdir/test_excmd.vim 37268 37269Patch 8.1.1823 37270Problem: Command line history code is spread out. 37271Solution: Put the code in a new file. (Yegappan Lakshmanan, closes #4779) 37272 Also graduate the +cmdline_hist feature. 37273Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak, 37274 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md, 37275 src/cmdhist.c, src/ex_getln.c, src/proto.h, src/proto/cmdhist.pro, 37276 src/proto/ex_getln.pro, src/version.c, src/evalfunc.c, 37277 src/ex_cmds.c, src/ex_docmd.c, src/misc2.c, src/normal.c, 37278 src/ops.c, src/option.c, src/search.c, src/tag.c, src/usercmd.c, 37279 src/viminfo.c, src/feature.h, src/globals.h 37280 37281Patch 8.1.1824 37282Problem: Crash when correctly spelled word is very long. (Ben Kraft) 37283Solution: Check word length before copying. (closes #4778) 37284Files: src/spell.c, src/testdir/test_spell.vim 37285 37286Patch 8.1.1825 37287Problem: Allocating more memory than needed for extended structs. 37288Solution: Use offsetof() instead of sizeof(). (Dominique Pelle, 37289 closes #4785) 37290Files: src/dict.c 37291 37292Patch 8.1.1826 37293Problem: Tests use hand coded feature and option checks. 37294Solution: Use the commands from check.vim in more tests. 37295Files: src/testdir/check.vim, src/testdir/shared.vim, 37296 src/testdir/test_autochdir.vim, src/testdir/test_autocmd.vim, 37297 src/testdir/test_balloon.vim, src/testdir/test_breakindent.vim, 37298 src/testdir/test_bufline.vim, src/testdir/test_cdo.vim, 37299 src/testdir/test_channel.vim, src/testdir/test_clientserver.vim, 37300 src/testdir/test_conceal.vim, src/testdir/test_cscope.vim, 37301 src/testdir/test_debugger.vim, src/testdir/test_filechanged.vim, 37302 src/testdir/test_fold.vim, src/testdir/test_functions.vim, 37303 src/testdir/test_gui.vim, src/testdir/test_gui_init.vim, 37304 src/testdir/test_highlight.vim, src/testdir/test_mapping.vim, 37305 src/testdir/test_match.vim, src/testdir/test_memory_usage.vim, 37306 src/testdir/test_options.vim, src/testdir/test_paste.vim, 37307 src/testdir/test_popup.vim, src/testdir/test_search.vim, 37308 src/testdir/test_signals.vim, src/testdir/test_startup.vim, 37309 src/testdir/test_syntax.vim, src/testdir/test_termcodes.vim, 37310 src/testdir/test_terminal.vim, src/testdir/test_timers.vim, 37311 src/testdir/test_vimscript.vim 37312 37313Patch 8.1.1827 37314Problem: Allocating more memory than needed for extended structs. 37315Solution: Use offsetof() instead of sizeof(). (Dominique Pelle, 37316 closes #4786) 37317Files: src/getchar.c, src/regexp.c, src/sign.c, src/structs.h, 37318 src/syntax.c, src/textprop.c, src/userfunc.c 37319 37320Patch 8.1.1828 37321Problem: Not strict enough checking syntax of method invocation. 37322Solution: Check there is no white space inside ->method(. 37323Files: runtime/doc/eval.txt, src/eval.c, src/testdir/test_method.vim 37324 37325Patch 8.1.1829 37326Problem: Difference in screenshots. 37327Solution: Update screenshots. Change checks in a few more tests. 37328 (closes #4789) 37329Files: src/testdir/test_balloon_gui.vim, 37330 src/testdir/test_shortpathname.vim, 37331 src/testdir/test_windows_home.vim, 37332 src/testdir/dumps/Test_popupwin_previewpopup_1.dump, 37333 src/testdir/dumps/Test_popupwin_previewpopup_2.dump, 37334 src/testdir/dumps/Test_popupwin_previewpopup_3.dump, 37335 src/testdir/dumps/Test_popupwin_previewpopup_4.dump, 37336 src/testdir/dumps/Test_popupwin_previewpopup_5.dump 37337 37338Patch 8.1.1830 37339Problem: Travis does not report error when tests fail. 37340Solution: Explicitly do "exit 1". 37341Files: .travis.yml 37342 37343Patch 8.1.1831 37344Problem: Confusing skipped message. 37345Solution: Drop "run" from "run start the GUI". 37346Files: src/testdir/check.vim 37347 37348Patch 8.1.1832 37349Problem: Win_execute() does not work in other tab. (Rick Howe) 37350Solution: Take care of the tab. (closes #4792) 37351Files: src/testdir/test_execute_func.vim, src/evalfunc.c, src/window.c, 37352 src/proto/window.pro 37353 37354Patch 8.1.1833 37355Problem: Allocating a bit too much when spellbadword() does not find a bad 37356 word. 37357Solution: Reset "len" when going to the next word. (Daniel Hahler, 37358 closes #4788) 37359Files: src/evalfunc.c 37360 37361Patch 8.1.1834 37362Problem: Cannot use a lambda as a method. 37363Solution: Implement ->{lambda}(). (closes #4768) 37364Files: runtime/doc/eval.txt, src/eval.c, src/testdir/test_method.vim 37365 37366Patch 8.1.1835 37367Problem: Cannot use printf() as a method. 37368Solution: Pass the base as the second argument to printf(). 37369Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_method.vim 37370 37371Patch 8.1.1836 37372Problem: Inaccurate memory estimate for Amiga-like OS. 37373Solution: Adjust #ifdef for AvailMem(). (Ola Söder, closes #4797) 37374Files: src/os_amiga.c 37375 37376Patch 8.1.1837 37377Problem: Popup test fails if clipboard is supported but not working. 37378Solution: Add the "clipboard_working" feature. Also use Check commands 37379 instead of "if" and "throw". And remove stray ch_logfile(). 37380Files: src/testdir/test_popupwin.vim, src/evalfunc.c, 37381 runtime/doc/eval.txt 37382 37383Patch 8.1.1838 37384Problem: There is :spellwrong and :spellgood but not :spellrare. 37385Solution: Add :spellrare. (Martin Tournoij, closes #4291) 37386Files: runtime/doc/spell.txt, src/ex_cmdidxs.h, src/ex_cmds.h, 37387 src/normal.c, src/proto/spellfile.pro, src/spellfile.c, 37388 src/spell.h, src/testdir/Make_all.mak, 37389 src/testdir/test_normal.vim, src/testdir/test_spellfile.vim 37390 37391Patch 8.1.1839 37392Problem: Insufficient info when test fails because of screen size. 37393Solution: Report the detected screen size. 37394Files: src/testdir/runtest.vim 37395 37396Patch 8.1.1840 37397Problem: Testing: WorkingClipboard() is not accurate. 37398Solution: Check feature clipboard_working instead. 37399Files: src/testdir/shared.vim, src/testdir/test_paste.vim, 37400 src/testdir/test_quotestar.vim, src/testdir/test_termcodes.vim 37401 37402Patch 8.1.1841 37403Problem: No test for Ex shift commands. 37404Solution: Add a test. (Dominique Pelle, closes #4801) 37405Files: src/testdir/Make_all.mak, src/testdir/test_alot.vim, 37406 src/testdir/test_shift.vim 37407 37408Patch 8.1.1842 37409Problem: Test listed as flaky should no longer be flaky. 37410Solution: Remove Test_popup_and_window_resize from the list of flaky tests. 37411 (Daniel Hahler, close #4807) 37412Files: src/testdir/runtest.vim 37413 37414Patch 8.1.1843 37415Problem: Might be freeing memory that was not allocated. 37416Solution: Have next_fenc() set the fenc_alloced flag. (closes #4804) 37417Files: src/fileio.c 37418 37419Patch 8.1.1844 37420Problem: Buffer no longer unloaded when adding text properties to it. 37421Solution: Do not create the memfile. (closes #4808) 37422Files: runtime/doc/textprop.txt, src/testdir/test_textprop.vim, 37423 src/textprop.c 37424 37425Patch 8.1.1845 37426Problem: May use NULL pointer when running out of memory. 37427Solution: Do not clear popup buffers when NULL. (closes #4802) 37428Files: src/screen.c 37429 37430Patch 8.1.1846 37431Problem: Inconsistently using GetVimCommand() and v:progpath. (Daniel 37432 Hahler) 37433Solution: Use GetVimCommand(). (closes #4806) 37434Files: src/testdir/test_autocmd.vim, src/testdir/test_gui.vim, 37435 src/testdir/test_normal.vim, src/testdir/test_profile.vim, 37436 src/testdir/test_suspend.vim, src/testdir/test_system.vim, 37437 src/testdir/test_vimscript.vim 37438 37439Patch 8.1.1847 37440Problem: Suspend test is failing. 37441Solution: Do not use GetVimCommandClean(). 37442Files: src/testdir/test_suspend.vim 37443 37444Patch 8.1.1848 37445Problem: 'langmap' is not used for CTRL-W command in terminal. 37446Solution: Push the command in the typeahead buffer instead of the stuff 37447 buffer. (closes #4814) 37448Files: src/terminal.c, src/testdir/test_terminal.vim 37449 37450Patch 8.1.1849 37451problem: Some insert complete functions in the wrong file. 37452Solution: Move complete functions to insexpand.c. (Yegappan Lakshmanan, 37453 closes #4815) 37454Files: src/evalfunc.c, src/insexpand.c, src/proto/insexpand.pro 37455 37456Patch 8.1.1850 37457Problem: Focus may remain in popup window. 37458Solution: Change focus if needed. 37459Files: src/popupmnu.c 37460 37461Patch 8.1.1851 37462Problem: Crash when sound_playfile() callback plays sound. 37463Solution: Invoke callback later from event loop. 37464Files: src/testdir/test_sound.vim, src/ui.c, src/sound.c, 37465 src/proto/sound.pro, src/feature.h, src/os_unix.c, src/ex_docmd.c, 37466 src/misc2.c 37467 37468Patch 8.1.1852 37469Problem: Timers test is flaky. 37470Solution: Accept a larger count. Add test to list of flaky tests. 37471Files: src/testdir/test_timers.vim, src/testdir/runtest.vim 37472 37473Patch 8.1.1853 37474Problem: Timers test is still flaky. 37475Solution: Compute the time to sleep more accurately. 37476Files: src/ex_docmd.c 37477 37478Patch 8.1.1854 37479Problem: Now another timer test is flaky. 37480Solution: Add test to list of flaky tests. 37481Files: src/testdir/runtest.vim 37482 37483Patch 8.1.1855 37484Problem: Another failing timer test. 37485Solution: Assert that timers are finished by the end of the test. Rename 37486 test functions to make them easier to find. 37487Files: src/testdir/test_timers.vim, src/testdir/runtest.vim 37488 37489Patch 8.1.1856 37490Problem: popup preview test fails sometimes. (Christian Brabandt) 37491Solution: Clear the command line. 37492Files: src/testdir/test_popupwin.vim, 37493 src/testdir/dumps/Test_popupwin_previewpopup_6.dump 37494 37495Patch 8.1.1857 37496Problem: Cannot use modifier with multi-byte character. 37497Solution: Allow using a multi-byte character, although it doesn't work 37498 everywhere. 37499Files: src/misc2.c, src/testdir/test_mapping.vim 37500 37501Patch 8.1.1858 37502Problem: Test for multi-byte mapping fails on some systems. 37503Solution: Test in another way. 37504Files: src/testdir/test_mapping.vim 37505 37506Patch 8.1.1859 37507Problem: Timer test sometimes fails on Mac. 37508Solution: Show more info when it fails. 37509Files: src/testdir/test_timers.vim 37510 37511Patch 8.1.1860 37512Problem: Map timeout test is flaky. 37513Solution: Add test to list of flaky tests. Increase timeout. 37514Files: src/testdir/runtest.vim, src/testdir/test_mapping.vim 37515 37516Patch 8.1.1861 37517Problem: Only some assert functions can be used as a method. 37518Solution: Allow using most assert functions as a method. 37519Files: runtime/doc/testing.txt, src/evalfunc.c, 37520 src/testdir/test_assert.vim 37521 37522Patch 8.1.1862 37523Problem: Coverity warns for not using return value. 37524Solution: Add "(void)" to avoid the warning. 37525Files: src/normal.c 37526 37527Patch 8.1.1863 37528Problem: Confusing error when using a builtin function as method while it 37529 does not support that. 37530Solution: Add a specific error message. 37531Files: src/vim.h, src/evalfunc.c, src/userfunc.c, 37532 src/testdir/test_method.vim 37533 37534Patch 8.1.1864 37535Problem: Still a timer test that is flaky on Mac. 37536Solution: Adjust the sleep times. 37537Files: src/testdir/test_timers.vim 37538 37539Patch 8.1.1865 37540Problem: Spellrare and spellrepall in the wrong order. 37541Solution: Put spellrare below spellrepall. (closes #4820) 37542Files: runtime/doc/spell.txt, src/ex_cmds.h 37543 37544Patch 8.1.1866 37545Problem: Modeless selection in GUI does not work properly. 37546Solution: Avoid going beyond the end of the line. (closes #4783) 37547Files: src/ui.c 37548 37549Patch 8.1.1867 37550Problem: Still a timer test that is flaky on Mac. 37551Solution: Loop with a sleep instead of one fixed sleep. 37552Files: src/testdir/test_timers.vim 37553 37554Patch 8.1.1868 37555Problem: Multibyte characters in 'listchars' don't work correctly if 37556 'linebreak' is also enabled. (Martin Tournoij) 37557Solution: Make it work correctly. (Christian Brabandt, closes #4822, 37558 closes #4812) 37559Files: src/screen.c, src/testdir/test_listchars.vim 37560 37561Patch 8.1.1869 37562Problem: Code for the argument list is spread out. 37563Solution: Put argument list code in arglist.c. (Yegappan Lakshmanan, 37564 closes #4819) 37565Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak, 37566 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md, 37567 src/arglist.c, src/buffer.c, src/evalfunc.c, src/ex_cmds2.c, 37568 src/ex_docmd.c, src/proto.h, src/proto/arglist.pro, 37569 src/proto/buffer.pro, src/proto/ex_cmds2.pro, 37570 src/proto/ex_docmd.pro 37571 37572Patch 8.1.1870 37573Problem: Using :pedit from a help file sets the preview window to help 37574 filetype. (Wang Shidong) 37575Solution: Do not set "keep_help_flag". (closes #3536) 37576Files: src/ex_docmd.c, src/testdir/test_window_cmd.vim 37577 37578Patch 8.1.1871 (after 8.1.1866) 37579Problem: Modeless selection in GUI still not correct. 37580Solution: Fix max_col. 37581Files: src/ui.c 37582 37583Patch 8.1.1872 37584Problem: When Vim exits because of a signal, VimLeave is not triggered. 37585 (Daniel Hahler) 37586Solution: Unblock autocommands when triggering VimLeave. (closes #4818) 37587Files: src/main.c 37588 37589Patch 8.1.1873 (after 8.1.1872) 37590Problem: Cannot build tiny version. 37591Solution: Remove #ifdef for is_autocmd_blocked(). 37592Files: src/autocmd.c 37593 37594Patch 8.1.1874 37595Problem: Modeless selection in popup window overlaps scrollbar. 37596Solution: Subtract scrollbar from max_col. (closes #4773) 37597Files: src/ui.c, src/testdir/test_popupwin.vim, 37598 src/testdir/dumps/Test_popupwin_select_01.dump 37599 37600Patch 8.1.1875 37601Problem: Cannot get size and position of the popup menu. 37602Solution: Add pum_getpos(). (Ben Jackson, closes #4827) 37603Files: runtime/doc/autocmd.txt, runtime/doc/eval.txt, src/evalfunc.c, 37604 src/testdir/test_popup.vim 37605 37606Patch 8.1.1876 37607Problem: proto file missing from distribution 37608Solution: Add the file. 37609Files: Filelist 37610 37611Patch 8.1.1877 37612Problem: Graduated features scattered. 37613Solution: Put graduated and obsolete features together. 37614Files: src/feature.h 37615 37616Patch 8.1.1878 37617Problem: Negative float before method not parsed correctly. 37618Solution: Apply "!" and "-" in front of expression before using ->. 37619Files: src/eval.c, src/proto/eval.pro, src/userfunc.c, 37620 src/testdir/test_method.vim 37621 37622Patch 8.1.1879 37623Problem: More functions can be used as methods. 37624Solution: Make float functions usable as a method. 37625Files: runtime/doc/eval.txt, src/evalfunc.c, 37626 src/testdir/test_float_func.vim 37627 37628Patch 8.1.1880 37629Problem: Cannot show extra info for completion in a popup window. 37630Solution: Add the "popup" entry in 'completeopt'. 37631Files: runtime/doc/options.txt, src/popupmnu.c, src/ex_cmds.c, 37632 src/proto/ex_cmds.pro, src/ex_docmd.c, src/search.c, src/tag.c, 37633 src/popupwin.c, src/proto/popupwin.pro, src/option.c, src/vim.h, 37634 src/testdir/test_popupwin.vim, 37635 src/testdir/dumps/Test_popupwin_infopopup_1.dump, 37636 src/testdir/dumps/Test_popupwin_infopopup_2.dump, 37637 src/testdir/dumps/Test_popupwin_infopopup_3.dump, 37638 src/testdir/dumps/Test_popupwin_infopopup_4.dump 37639 37640Patch 8.1.1881 37641Problem: Popup window test fails in some configurations. 37642Solution: Check that screendumps can be made. 37643Files: src/testdir/test_popupwin.vim 37644 37645Patch 8.1.1882 37646Problem: Cannot specify properties of the info popup window. 37647Solution: Add the 'completepopup' option. Default to PmenuSel highlight. 37648Files: runtime/doc/options.txt, runtime/doc/insert.txt, src/option.c, 37649 src/popupwin.c, src/proto/popupwin.pro, src/option.h, 37650 src/testdir/test_popupwin.vim, src/screen.c, 37651 src/testdir/dumps/Test_popupwin_infopopup_1.dump, 37652 src/testdir/dumps/Test_popupwin_infopopup_2.dump, 37653 src/testdir/dumps/Test_popupwin_infopopup_3.dump 37654 37655Patch 8.1.1883 37656Problem: Options test fails. 37657Solution: Add entry for 'completepopup'. 37658Files: src/testdir/gen_opt_test.vim 37659 37660Patch 8.1.1884 37661Problem: Cannot use mouse scroll wheel in popup in Insert mode. Mouse 37662 clicks in popup close the popup menu. 37663Solution: Check if the mouse is in a popup window. Do not let mouse events 37664 close the popup menu. (closes #4544) 37665Files: src/edit.c, src/popupmnu.c, src/insexpand.c 37666 37667Patch 8.1.1885 37668Problem: Comments in libvterm are inconsistent. 37669Solution: Use // comments. Also update the table of combining characters. 37670Files: src/libvterm/bin/unterm.c, src/libvterm/bin/vterm-ctrl.c, 37671 src/libvterm/bin/vterm-dump.c, src/libvterm/include/vterm.h, 37672 src/libvterm/include/vterm_keycodes.h, 37673 src/libvterm/src/encoding.c, src/libvterm/src/keyboard.c, 37674 src/libvterm/src/mouse.c, src/libvterm/src/parser.c, 37675 src/libvterm/src/pen.c, src/libvterm/src/rect.h, 37676 src/libvterm/src/state.c, src/libvterm/src/unicode.c, 37677 src/libvterm/src/utf8.h, src/libvterm/src/vterm.c, 37678 src/libvterm/src/vterm_internal.h, src/libvterm/src/termscreen.c 37679 37680Patch 8.1.1886 37681Problem: Command line expansion code is spread out. 37682Solution: Move the code to cmdexpand.c. (Yegappan Lakshmanan, closes #4831) 37683Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak, 37684 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md, 37685 src/cmdexpand.c, src/evalfunc.c, src/ex_getln.c, src/proto.h, 37686 src/proto/cmdexpand.pro, src/proto/ex_getln.pro, src/structs.h 37687 37688Patch 8.1.1887 37689Problem: The +cmdline_compl feature is not in the tiny version. 37690Solution: Graduate the +cmdline_compl feature. 37691Files: src/cmdexpand.c, src/arglist.c, src/autocmd.c, src/buffer.c, 37692 src/cmdhist.c, src/eval.c, src/evalfunc.c, src/ex_cmds2.c, 37693 src/ex_docmd.c, src/ex_getln.c, src/feature.h, src/highlight.c, 37694 src/if_cscope.c, src/map.c, src/menu.c, src/misc1.c, src/misc2.c, 37695 src/option.c, src/sign.c, src/syntax.c, src/tag.c, src/term.c, 37696 src/usercmd.c, src/userfunc.c, src/version.c, src/globals.h, 37697 src/option.h, src/structs.h, runtime/doc/cmdline.txt 37698 37699Patch 8.1.1888 37700Problem: More functions can be used as methods. 37701Solution: Make various functions usable as a method. 37702Files: runtime/doc/eval.txt, src/evalfunc.c, 37703 src/testdir/test_vimscript.vim, src/testdir/test_balloon_gui.vim, 37704 src/testdir/test_popup.vim, src/testdir/test_functions.vim, 37705 src/testdir/test_hide.vim, src/testdir/test_arglist.vim 37706 37707Patch 8.1.1889 37708Problem: Coverity warns for using a NULL pointer. 37709Solution: Use zero for column if pos is NULL. 37710Files: src/netbeans.c 37711 37712Patch 8.1.1890 37713Problem: Ml_get error when deleting fold marker. 37714Solution: Check that the line number is not below the last line. Adjust the 37715 fold when deleting the empty line. (Christian Brabandt, 37716 closes #4834) 37717Files: src/fold.c, src/normal.c, src/testdir/test_fold.vim 37718 37719Patch 8.1.1891 37720Problem: Functions used in one file are global. 37721Solution: Add "static". (Yegappan Lakshmanan, closes #4840) 37722Files: src/autocmd.c, src/buffer.c, src/change.c, src/channel.c, 37723 src/charset.c, src/dict.c, src/digraph.c, src/eval.c, 37724 src/ex_cmds.c, src/ex_eval.c, src/fileio.c, src/findfile.c, 37725 src/getchar.c, src/gui.c, src/indent.c, src/json.c, src/list.c, 37726 src/mark.c, src/menu.c, src/message.c, src/misc1.c, src/misc2.c, 37727 src/ops.c, src/option.c, src/popupwin.c, src/profiler.c, 37728 src/proto/autocmd.pro, src/proto/buffer.pro, src/proto/change.pro, 37729 src/proto/channel.pro, src/proto/charset.pro, src/proto/dict.pro, 37730 src/proto/eval.pro, src/proto/ex_cmds.pro, src/proto/ex_eval.pro, 37731 src/proto/fileio.pro, src/proto/findfile.pro, 37732 src/proto/getchar.pro, src/proto/gui.pro, src/proto/indent.pro, 37733 src/proto/json.pro, src/proto/list.pro, src/proto/mark.pro, 37734 src/proto/menu.pro, src/proto/message.pro, src/proto/misc1.pro, 37735 src/proto/misc2.pro, src/proto/ops.pro, src/proto/option.pro, 37736 src/proto/popupwin.pro, src/proto/profiler.pro, 37737 src/proto/quickfix.pro, src/proto/spell.pro, src/proto/term.pro, 37738 src/proto/textprop.pro, src/proto/ui.pro, src/proto/undo.pro, 37739 src/proto/window.pro, src/quickfix.c, src/regexp.c, src/spell.c, 37740 src/term.c, src/textprop.c, src/ui.c, src/undo.c, src/window.c 37741 37742Patch 8.1.1892 37743Problem: Missing index entry and option menu for 'completepopup'. 37744Solution: Add the entries. Adjust #ifdefs to avoid dead code. 37745Files: runtime/doc/quickref.txt, runtime/optwin.vim, src/option.c, 37746 src/option.h, src/popupwin.c 37747 37748Patch 8.1.1893 37749Problem: Script to summarize test results can be improved. 37750Solution: Use "silent" for substitute to avoid reporting number of matches. 37751 Remove duplicate "set nocp". (Daniel Hahler, closes #4845) 37752Files: src/testdir/summarize.vim 37753 37754Patch 8.1.1894 37755Problem: Not checking for out-of-memory of autoload_name(). 37756Solution: Check for NULL. (Dominique Pelle, closes #4846) 37757Files: src/eval.c 37758 37759Patch 8.1.1895 37760Problem: Using NULL pointer when out of memory. 37761Solution: Bail out or skip the code using the pointer. (Zu-Ming Jiang, 37762 closes #4805, closes #4843, closes #4939, closes #4844) 37763Files: src/message.c, src/highlight.c, src/buffer.c, src/ops.c 37764 37765Patch 8.1.1896 37766Problem: Compiler warning for unused variable. 37767Solution: Add #ifdef. (John Marriott) Missing part of 8.1.1892. 37768Files: src/popupmnu.c 37769 37770Patch 8.1.1897 37771Problem: May free memory twice when out of memory. 37772Solution: Check that backslash_halve_save() returns a different pointer. 37773 (Dominique Pelle, closes #4847) 37774Files: src/cmdexpand.c, src/misc1.c 37775 37776Patch 8.1.1898 37777Problem: Crash when out of memory during startup. 37778Solution: When out of memory message given during initialisation bail out. 37779 (closes #4842) 37780Files: src/misc2.c 37781 37782Patch 8.1.1899 37783Problem: sign_place() does not work as documented. 37784Solution: Make it accept line numbers like line(). (Yegappan Lakshmanan, 37785 closes #4848) 37786Files: src/sign.c, src/testdir/test_signs.vim 37787 37788Patch 8.1.1900 37789Problem: Sign test fails in the GUI. 37790Solution: Catch and ignore the exception. 37791Files: src/testdir/test_signs.vim 37792 37793Patch 8.1.1901 37794Problem: The +insert_expand feature is not always available. 37795Solution: Graduate the +insert_expand feature. 37796Files: src/feature.h, src/autocmd.c, src/buffer.c, src/change.c, 37797 src/charset.c, src/edit.c, src/evalfunc.c, src/ex_cmds.c, 37798 src/ex_getln.c, src/getchar.c, src/gui.c, src/highlight.c, 37799 src/indent.c, src/insexpand.c, src/misc2.c, src/move.c, 37800 src/option.c, src/popupmnu.c, src/screen.c, src/search.c, 37801 src/spell.c, src/tag.c, src/term.c, src/userfunc.c, src/version.c, 37802 src/globals.h, src/option.h, src/proto.h, src/structs.h, 37803 src/vim.h, runtime/doc/change.txt, runtime/doc/index.txt, 37804 runtime/doc/insert.txt, runtime/doc/options.txt 37805 37806Patch 8.1.1902 37807Problem: Cannot have an info popup without a border. 37808Solution: Add the "border" item to 'completepopup'. 37809Files: src/popupwin.c, src/proto/popupwin.pro, src/popupmnu.c, 37810 src/testdir/test_popupwin.vim, src/testdir/gen_opt_test.vim, 37811 src/testdir/dumps/Test_popupwin_infopopup_nb_1.dump 37812 37813Patch 8.1.1903 37814Problem: Cannot build without the +eval feature. 37815Solution: Add missing #ifdefs 37816Files: src/insexpand.c, src/popupmnu.c 37817 37818Patch 8.1.1904 37819Problem: Cannot have an info popup align with the popup menu. 37820Solution: Add the "align" item to 'completepopup'. 37821Files: src/popupwin.c, src/popupmnu.c, src/vim.h, 37822 runtime/doc/insert.txt, src/testdir/test_popupwin.vim, 37823 src/testdir/dumps/Test_popupwin_infopopup_align_1.dump, 37824 src/testdir/dumps/Test_popupwin_infopopup_align_2.dump, 37825 src/testdir/dumps/Test_popupwin_infopopup_align_3.dump 37826 37827Patch 8.1.1905 37828Problem: Cannot set all properties of the info popup. 37829Solution: Add popup_findinfo(). Rename popup_getpreview() to 37830 popup_findpreview(). 37831Files: src/popupwin.c, src/proto/popupwin.pro, src/ex_cmds.c, 37832 src/ex_docmd.c, src/popupmnu.c, src/evalfunc.c, 37833 runtime/doc/popup.txt, src/testdir/test_popupwin.vim, 37834 src/testdir/dumps/Test_popupwin_infopopup_align_3.dump 37835 37836Patch 8.1.1906 37837Problem: Info popup size is sometimes incorrect. 37838Solution: Compute the position and size after setting the content. 37839Files: src/popupmnu.c 37840 37841Patch 8.1.1907 37842Problem: Wrong position for info popup with scrollbar on the left. 37843Solution: Take the scrollbar into account. 37844Files: src/popupwin.c, src/testdir/test_popupwin.vim, 37845 src/testdir/dumps/Test_popupwin_infopopup_5.dump, 37846 src/testdir/dumps/Test_popupwin_cursorline_3.dump, 37847 src/testdir/dumps/Test_popupwin_cursorline_4.dump, 37848 src/testdir/dumps/Test_popupwin_cursorline_5.dump, 37849 src/testdir/dumps/Test_popupwin_cursorline_6.dump, 37850 src/testdir/dumps/Test_popupwin_menu_filter_1.dump, 37851 src/testdir/dumps/Test_popupwin_menu_filter_2.dump, 37852 src/testdir/dumps/Test_popupwin_menu_filter_3.dump, 37853 src/testdir/dumps/Test_popupwin_menu_filter_4.dump 37854 37855Patch 8.1.1908 37856Problem: Every popup window consumes a buffer number. 37857Solution: Recycle buffers only used for popup windows. Do not list popup 37858 window buffers. 37859Files: src/popupwin.c, src/window.c, src/vim.h, src/buffer.c, 37860 src/proto/buffer.pro, src/ex_docmd.c, 37861 src/testdir/test_popupwin.vim 37862 37863Patch 8.1.1909 37864Problem: More functions can be used as methods. 37865Solution: Make a few more functions usable as a method. 37866Files: runtime/doc/eval.txt, runtime/doc/testing.txt, src/evalfunc.c, 37867 src/testdir/test_popupwin.vim, src/testdir/test_bufwintabinfo.vim, 37868 src/testdir/test_bufline.vim, src/testdir/test_assert.vim 37869 37870Patch 8.1.1910 37871Problem: Redrawing too much when toggling 'relativenumber'. 37872Solution: Only clear when 'signcolumn' is set to "number". (Yegappan 37873 Lakshmanan, closes #4852) 37874Files: src/option.c 37875 37876Patch 8.1.1911 37877Problem: More functions can be used as methods. 37878Solution: Make a few more functions usable as a method. 37879Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test69.in, 37880 src/testdir/test69.ok, src/testdir/test_functions.vim 37881 37882Patch 8.1.1912 37883Problem: More functions can be used as methods. 37884Solution: Make channel and job functions usable as a method. 37885Files: runtime/doc/channel.txt, src/evalfunc.c, 37886 src/testdir/test_channel.vim 37887 37888Patch 8.1.1913 37889Problem: Not easy to compute the space on the command line. 37890Solution: Add v:echospace. (Daniel Hahler, closes #4732) 37891Files: src/vim.h, src/eval.c, src/option.c, runtime/doc/eval.txt, 37892 src/testdir/test_messages.vim 37893 37894Patch 8.1.1914 37895Problem: Command line expansion code is spread out. 37896Solution: Move set_one_cmd_context(). (Yegappan Lakshmanan, closes #4855) 37897Files: src/cmdexpand.c, src/ex_docmd.c, src/proto/ex_docmd.pro 37898 37899Patch 8.1.1915 37900Problem: More functions can be used as methods. 37901Solution: Make various functions usable as a method. 37902Files: runtime/doc/eval.txt, src/evalfunc.c, 37903 src/testdir/test_functions.vim, src/testdir/test_cd.vim, 37904 src/testdir/test_cindent.vim, src/testdir/test_match.vim, 37905 src/testdir/test_popup.vim, src/testdir/test_cursor_func.vim, 37906 src/testdir/test_method.vim, src/testdir/test_bufline.vim, 37907 src/testdir/test_diffmode.vim 37908 37909Patch 8.1.1916 37910Problem: Trying to allocate negative amount of memory when closing a popup. 37911Solution: Check the rows are not out of bounds. Don't finish a selection if 37912 it was never started. 37913Files: src/ui.c 37914 37915Patch 8.1.1917 37916Problem: Non-current window is not redrawn when moving popup. (Ben Jackson) 37917Solution: Redraw all windows under a popup. (closes #4860) 37918Files: src/popupwin.c, src/testdir/test_popupwin.vim, 37919 src/testdir/dumps/Test_popupwin_drag_01.dump, 37920 src/testdir/dumps/Test_popupwin_drag_02.dump, 37921 src/testdir/dumps/Test_popupwin_drag_03.dump 37922 37923Patch 8.1.1918 37924Problem: Redrawing popups is inefficient. 37925Solution: Fix the logic to compute what window lines to redraw. Make it 37926 work below the last line. Remove redrawing all windows. 37927Files: src/popupwin.c 37928 37929Patch 8.1.1919 37930Problem: Using current window option values when passing a buffer to 37931 popup_create(). 37932Solution: Clear the window-local options. (closes #4857) 37933Files: src/option.c, src/proto/option.pro, src/popupwin.c, 37934 src/testdir/test_popupwin.vim 37935 37936Patch 8.1.1920 37937Problem: Cannot close a popup by the X when a filter consumes all events. 37938Solution: Check for a click on the close button before invoking filters. 37939 (closes #4858) 37940Files: src/popupwin.c, src/proto/popupwin.pro, src/ui.c, 37941 src/testdir/test_popupwin.vim, 37942 src/testdir/dumps/Test_popupwin_close_04.dump, 37943 src/testdir/dumps/Test_popupwin_close_05.dump 37944 37945Patch 8.1.1921 37946Problem: More functions can be used as methods. 37947Solution: Make various functions usable as a method. 37948Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_expand.vim, 37949 src/testdir/test_expand_func.vim, src/testdir/test_expr.vim, 37950 src/testdir/test_findfile.vim, src/testdir/test_fnameescape.vim, 37951 src/testdir/test_fnamemodify.vim, src/testdir/test_fold.vim, 37952 src/testdir/test_functions.vim, src/testdir/test_search.vim, 37953 src/testdir/test_vimscript.vim 37954 37955Patch 8.1.1922 37956Problem: In diff mode global operations can be very slow. 37957Solution: Do not call diff_redraw() many times, call it once when redrawing. 37958 And also don't update folds multiple times. 37959Files: src/globals.h, src/diff.c, src/proto/diff.pro, src/screen.c, 37960 src/fold.c 37961 37962Patch 8.1.1923 37963Problem: Some source files are not in a normal encoding. 37964Solution: Convert hangulin.c from euc-kr to utf-8 and digraph.c from latin1 37965 to utf-8. (Daniel Hahler, closes #4731) 37966Files: src/hangulin.c, src/digraph.c, .travis.yml 37967 37968Patch 8.1.1924 37969Problem: Using empty string for current buffer is unexpected. 37970Solution: Make the argument optional for bufname() and bufnr(). 37971Files: src/evalfunc.c, src/testdir/test_arglist.vim, runtime/doc/eval.txt 37972 37973Patch 8.1.1925 37974Problem: More functions can be used as methods. 37975Solution: Make various functions usable as a method. 37976Files: runtime/doc/eval.txt, src/evalfunc.c, 37977 src/testdir/test_bufline.vim, src/testdir/test_bufwintabinfo.vim, 37978 src/testdir/test_cd.vim, src/testdir/test_changelist.vim, 37979 src/testdir/test_cmdline.vim, src/testdir/test_edit.vim, 37980 src/testdir/test_environ.vim, src/testdir/test_file_perm.vim, 37981 src/testdir/test_getvar.vim, src/testdir/test_jumplist.vim, 37982 src/testdir/test_put.vim, src/testdir/test_stat.vim 37983 37984Patch 8.1.1926 37985Problem: Cursorline not redrawn when putting a line above the cursor. 37986Solution: Redraw when the cursor line is below a change. (closes #4862) 37987Files: src/change.c 37988 37989Patch 8.1.1927 37990Problem: Code for dealing with script files is spread out. 37991Solution: Move the code to scriptfile.c. (Yegappan Lakshmanan, closes #4861) 37992Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak, 37993 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md, 37994 src/cmdexpand.c, src/ex_cmds2.c, src/proto.h, 37995 src/proto/ex_cmds2.pro, src/proto/scriptfile.pro, src/scriptfile.c 37996 37997Patch 8.1.1928 37998Problem: Popup windows don't move with the text when making changes. 37999Solution: Add the 'textprop' property to the popup window options, position 38000 the popup relative to a text property. (closes #4560) 38001 No tests yet. 38002Files: runtime/doc/popup.txt, src/textprop.c, src/proto/textprop.pro, 38003 src/structs.h, src/popupwin.c, src/proto/popupwin.pro, src/move.c, 38004 src/proto/move.pro, src/window.c 38005 38006Patch 8.1.1929 38007Problem: No tests for text property popup window. 38008Solution: Add a few tests. 38009Files: src/testdir/Make_all.mak, src/textprop.c, 38010 src/testdir/test_popupwin_textprop.vim, 38011 src/testdir/dumps/Test_popup_textprop_01.dump, 38012 src/testdir/dumps/Test_popup_textprop_02.dump, 38013 src/testdir/dumps/Test_popup_textprop_03.dump, 38014 src/testdir/dumps/Test_popup_textprop_04.dump, 38015 src/testdir/dumps/Test_popup_textprop_05.dump, 38016 src/testdir/dumps/Test_popup_textprop_06.dump 38017 38018Patch 8.1.1930 38019Problem: Cannot recognize .jsx and .tsx files. 38020Solution: Recognize them as javascriptreact and typescriptreact. 38021 (closes #4830) 38022Files: runtime/filetype.vim, src/testdir/test_filetype.vim, 38023 runtime/syntax/javascriptreact.vim, 38024 runtime/indent/javascriptreact.vim, 38025 runtime/ftplugin/javascriptreact.vim 38026 38027Patch 8.1.1931 (after 8.1.1930) 38028Problem: Syntax test fails. 38029Solution: Add new javascriptreact type to completions. 38030Files: src/testdir/test_syntax.vim 38031 38032Patch 8.1.1932 38033Problem: Ml_get errors after using append(). (Alex Genco) 38034Solution: Do not update the cursor twice. (closes #1737) 38035Files: src/evalfunc.c, src/testdir/test_functions.vim 38036 38037Patch 8.1.1933 38038Problem: The eval.c file is too big. 38039Solution: Move code related to variables to evalvars.c. (Yegappan 38040 Lakshmanan, closes #4868) 38041Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak, 38042 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md, 38043 src/eval.c, src/evalfunc.c, src/evalvars.c, src/globals.h, 38044 src/proto.h, src/proto/eval.pro, src/proto/evalvars.pro, src/vim.h 38045 38046Patch 8.1.1934 38047Problem: Not enough tests for text property popup window. 38048Solution: Add a few more tests. 38049Files: src/popupwin.c, src/testdir/test_popupwin_textprop.vim, 38050 src/testdir/dumps/Test_popup_textprop_corn_1.dump, 38051 src/testdir/dumps/Test_popup_textprop_corn_2.dump, 38052 src/testdir/dumps/Test_popup_textprop_corn_3.dump, 38053 src/testdir/dumps/Test_popup_textprop_corn_4.dump 38054 38055Patch 8.1.1935 (after 8.1.1934) 38056Problem: Test for text property popup window is flaky. 38057Solution: Remove the undo message 38058Files: src/testdir/test_popupwin_textprop.vim, 38059 src/testdir/dumps/Test_popup_textprop_corn_4.dump 38060 38061Patch 8.1.1936 38062Problem: Not enough tests for text property popup window. 38063Solution: Add a few more tests. Make negative offset work. Close all 38064 popups when window closes. 38065Files: src/popupwin.c, src/testdir/test_popupwin_textprop.vim, 38066 src/testdir/dumps/Test_popup_textprop_07.dump, 38067 src/testdir/dumps/Test_popup_textprop_off_1.dump, 38068 src/testdir/dumps/Test_popup_textprop_off_2.dump, 38069 src/testdir/dumps/Test_popup_textprop_corn_5.dump, 38070 src/testdir/dumps/Test_popup_textprop_corn_6.dump 38071 38072Patch 8.1.1937 (after 8.1.1930) 38073Problem: Errors when using javascriptreact. 38074Solution: Use ":runtime" instead of ":source". (closes #4875) 38075Files: runtime/syntax/javascriptreact.vim, 38076 runtime/indent/javascriptreact.vim, 38077 runtime/ftplugin/javascriptreact.vim 38078 38079Patch 8.1.1938 38080Problem: May crash when out of memory. 38081Solution: Initialize v_type to VAR_UNKNOWN. (Dominique Pelle, closes #4871) 38082Files: src/userfunc.c 38083 38084Patch 8.1.1939 38085Problem: Code for handling v: variables in generic eval file. 38086Solution: Move v: variables to evalvars.c. (Yegappan Lakshmanan, 38087 closes #4872) 38088Files: src/eval.c, src/evalvars.c, src/proto/eval.pro, 38089 src/proto/evalvars.pro 38090 38091Patch 8.1.1940 (after 8.1.1939) 38092Problem: Script tests fail. 38093Solution: Don't set vimvars type in set_vim_var_nr(). 38094Files: src/eval.c, src/evalvars.c, src/proto/evalvars.pro 38095 38096Patch 8.1.1941 38097Problem: getftype() test fails on Mac. 38098Solution: Skip /dev/fd/. 38099Files: src/testdir/test_stat.vim 38100 38101Patch 8.1.1942 38102Problem: Shadow directory gets outdated when files are added. 38103Solution: Add the "shadowupdate" target and add a few comments. 38104Files: src/Makefile 38105 38106Patch 8.1.1943 38107Problem: More code can be moved to evalvars.c. 38108Solution: Move it, clean up comments. Also move some window related 38109 functions to window.c. (Yegappan Lakshmanan, closes #4874) 38110Files: src/eval.c, src/evalfunc.c, src/evalvars.c, src/proto/eval.pro, 38111 src/proto/evalvars.pro, src/proto/window.pro, src/window.c 38112 38113Patch 8.1.1944 38114Problem: Leaking memory when using sound callback. 38115Solution: Free the callback queue item. 38116Files: src/sound.c 38117 38118Patch 8.1.1945 38119Problem: Popup window "firstline" cannot be reset. 38120Solution: Allow for setting "firstline" to zero. Fix that the text jumps to 38121 the top when using win_execute(). (closes #4876) 38122Files: src/popupwin.c, src/testdir/test_popupwin.vim, 38123 src/testdir/dumps/Test_popupwin_scroll_5.dump, 38124 src/testdir/dumps/Test_popupwin_scroll_6.dump 38125 38126Patch 8.1.1946 38127Problem: Memory error when profiling a function without a script ID. 38128Solution: Check for missing script ID. (closes #4877) 38129Files: src/testdir/test_profile.vim, src/profiler.c 38130 38131Patch 8.1.1947 38132Problem: When executing one test the report doesn't show it. 38133Solution: Adjust the regexp. (Daniel Hahler, closes #4879) 38134Files: src/testdir/summarize.vim 38135 38136Patch 8.1.1948 38137Problem: Mouse doesn't work in Linux console and causes 100% CPU. (James P. 38138 Harvey) 38139Solution: Loop in WaitForCharOrMouse() when gpm_process_wanted is set. 38140 (closes #4828) 38141Files: src/os_unix.c 38142 38143Patch 8.1.1949 38144Problem: Cannot scroll a popup window to the very bottom. 38145Solution: Scroll to the bottom when the "firstline" property was set to -1. 38146 (closes #4577) Allow resetting min/max width/height. 38147Files: src/popupwin.c, src/testdir/test_popupwin.vim, 38148 src/dict.c, src/proto/dict.pro, 38149 src/testdir/dumps/Test_popupwin_firstline.dump, 38150 src/testdir/dumps/Test_popupwin_firstline_1.dump, 38151 src/testdir/dumps/Test_popupwin_firstline_2.dump, 38152 src/testdir/dumps/Test_popupwin_scroll_10.dump 38153 38154Patch 8.1.1950 38155Problem: Using NULL pointer after an out-of-memory. 38156Solution: Check for NULL pointer. (Dominique Pelle, closes #4881) 38157Files: src/syntax.c 38158 38159Patch 8.1.1951 38160Problem: Mouse double click test is a bit flaky. 38161Solution: Add to list of flaky tests. Update a couple of comments. 38162Files: src/testdir/runtest.vim, src/testdir/shared.vim, 38163 src/testdir/test_substitute.vim 38164 38165Patch 8.1.1952 38166Problem: More functions can be used as a method. 38167Solution: Allow more functions to be used as a method. 38168Files: runtime/doc/eval.txt, src/evalfunc.c, 38169 src/testdir/test_tagjump.vim, src/testdir/test_bufwintabinfo.vim, 38170 src/testdir/test_terminal.vim, src/testdir/test_getvar.vim, 38171 src/testdir/test_escaped_glob.vim, 38172 src/testdir/test_glob2regpat.vim 38173 38174Patch 8.1.1953 38175Problem: More functions can be used as a method. 38176Solution: Allow more functions to be used as a method. 38177Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_blob.vim, 38178 src/testdir/test_breakindent.vim, src/testdir/test_delete.vim, 38179 src/testdir/test_functions.vim, src/testdir/test_getcwd.vim, 38180 src/testdir/test_history.vim, src/testdir/test_listdict.vim, 38181 src/testdir/test_syn_attr.vim, src/testdir/test_termcodes.vim, 38182 src/testdir/test_true_false.vim 38183 38184Patch 8.1.1954 38185Problem: More functions can be used as a method. 38186Solution: Allow more functions to be used as a method. 38187Files: runtime/doc/eval.txt, src/evalfunc.c, 38188 src/testdir/test_arglist.vim, src/testdir/test_functions.vim, 38189 src/testdir/test_json.vim, src/testdir/test_lispwords.vim, 38190 src/testdir/test_listener.vim, src/testdir/test_lua.vim, 38191 src/testdir/test_utf8.vim 38192 38193Patch 8.1.1955 38194Problem: Tests contain typos. 38195Solution: Correct the typos. (Dominique Pelle) 38196Files: src/testdir/popupbounce.vim, src/testdir/runtest.vim, 38197 src/testdir/screendump.vim, src/testdir/test49.vim, 38198 src/testdir/test_autocmd.vim, src/testdir/test_cindent.vim, 38199 src/testdir/test_const.vim, src/testdir/test_popupwin.vim, 38200 src/testdir/test_quickfix.vim, src/testdir/test_search.vim, 38201 src/testdir/test_tabpage.vim, src/testdir/test_tcl.vim 38202 38203Patch 8.1.1956 38204Problem: Screenshot tests may use a different encoding. (Dominique Pelle) 38205Solution: Always set 'encoding' to "utf-8" when running Vim in a terminal. 38206 (closes #4884) 38207Files: src/testdir/shared.vim, src/testdir/test_popupwin.vim, 38208 src/testdir/dumps/Test_popupwin_behind.dump 38209 38210Patch 8.1.1957 38211Problem: More code can be moved to evalvars.c. 38212Solution: Move code to where it fits better. (Yegappan Lakshmanan, 38213 closes #4883) 38214Files: src/eval.c, src/evalvars.c, src/ex_getln.c, src/globals.h, 38215 src/if_py_both.h, src/proto/eval.pro, src/proto/evalvars.pro, 38216 src/proto/ex_getln.pro, src/proto/scriptfile.pro, 38217 src/scriptfile.c, src/session.c, src/viminfo.c 38218 38219Patch 8.1.1958 38220Problem: Old style comments taking up space. 38221Solution: Change to new style comments. 38222Files: src/vim.h 38223 38224Patch 8.1.1959 38225Problem: When using "firstline" in popup window text may jump when 38226 redrawing it. (Nick Jensen) 38227Solution: Set 'scrolloff' to zero in a popup window. (closes #4882) 38228Files: src/popupwin.c, src/testdir/test_popupwin.vim, 38229 src/testdir/dumps/Test_popupwin_scroll_5.dump, 38230 src/testdir/dumps/Test_popupwin_scroll_6.dump 38231 38232Patch 8.1.1960 38233Problem: Fold code is spread out. 38234Solution: Move fold functions to fold.c. 38235Files: src/evalfunc.c, src/fold.c, src/proto/fold.pro 38236 38237Patch 8.1.1961 38238Problem: More functions can be used as a method. 38239Solution: Allow more functions to be used as a method. Add a test for 38240 mapcheck(). 38241Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test70.in, 38242 src/testdir/test_functions.vim, src/testdir/test_getcwd.vim, 38243 src/testdir/test_maparg.vim, src/testdir/test_match.vim 38244 38245Patch 8.1.1962 38246Problem: Leaking memory when using tagfunc(). 38247Solution: Free the user_data. (Dominique Pelle, closes #4886) 38248Files: src/window.c 38249 38250Patch 8.1.1963 38251Problem: Popup window filter may be called recursively when using a Normal 38252 mode command. (Nick Jensen) 38253Solution: Prevent recursiveness. (closes #4887) Also restore KeyTyped. 38254Files: src/popupwin.c, src/testdir/test_popupwin.vim 38255 38256Patch 8.1.1964 38257Problem: Crash when using nested map() and filter(). 38258Solution: Do not set the v:key type to string without clearing the pointer. 38259 (closes #4888) 38260Files: src/eval.c, src/testdir/test_filter_map.vim 38261 38262Patch 8.1.1965 38263Problem: The search count message is not displayed when using a mapping. 38264 (Gary Johnson) 38265Solution: Ignore cmd_silent for showing the search count. (Christian 38266 Brabandt) 38267Files: src/search.c 38268 38269Patch 8.1.1966 38270Problem: Some code in options.c fits better elsewhere. 38271Solution: Move functions from options.c to other files. (Yegappan 38272 Lakshmanan, closes #4889) 38273Files: src/evalfunc.c, src/globals.h, src/indent.c, src/map.c, 38274 src/option.c, src/proto/map.pro, src/proto/option.pro, 38275 src/proto/quickfix.pro, src/proto/screen.pro, src/proto/spell.pro, 38276 src/proto/window.pro, src/quickfix.c, src/screen.c, src/spell.c, 38277 src/window.c 38278 38279Patch 8.1.1967 38280Problem: Line() only works for the current window. 38281Solution: Add an optional argument for the window to use. 38282Files: runtime/eval.txt, src/evalfunc.c, src/testdir/test_popupwin.vim 38283 38284Patch 8.1.1968 38285Problem: Crash when using nested map(). 38286Solution: Clear the pointer in prepare_vimvar(). (Ozaki Kiichi, 38287 closes #4890, closes #4891) 38288Files: src/evalvars.c, src/testdir/test_filter_map.vim, 38289 src/testdir/test_functions.vim 38290 38291Patch 8.1.1969 38292Problem: Popup window filter is used in all modes. 38293Solution: Add the "filtermode" property. 38294Files: src/popupwin.c, src/vim.h, src/map.c, src/proto/map.pro, 38295 src/structs.h, runtime/doc/popup.txt, 38296 src/testdir/test_popupwin.vim 38297 38298Patch 8.1.1970 38299Problem: Search stat space wrong, no test for 8.1.1965. 38300Solution: Fix check for cmd_silent. Add a test. (Christian Brabandt) 38301Files: src/search.c, src/testdir/test_search_stat.vim 38302 38303Patch 8.1.1971 38304Problem: Manually enabling features causes build errors. (John Marriott) 38305Solution: Adjust #ifdefs. 38306Files: src/proto.h, src/popupmnu.c, src/buffer.c, src/quickfix.c, 38307 src/ui.c 38308 38309Patch 8.1.1972 38310Problem: No proper test for getchar(). 38311Solution: Add a test with special characters. 38312Files: src/testdir/test_functions.vim 38313 38314Patch 8.1.1973 38315Problem: Cannot build without the quickfix feature. 38316Solution: Remove #ifdef for qf_info_T. 38317Files: src/structs.h 38318 38319Patch 8.1.1974 38320Problem: Coverity warns for using pointer as array. 38321Solution: Call var2fpos() directly instead of using f_line(). 38322Files: src/evalfunc.c 38323 38324Patch 8.1.1975 38325Problem: MS-Windows GUI responds slowly to timer. 38326Solution: Break out of wait loop when timer was added or input is available. 38327 (closes #4893) 38328Files: src/gui_w32.c 38329 38330Patch 8.1.1976 38331Problem: Travis log always shows test output. 38332Solution: Change script to avoid if/else. (Ozaki Kiichi, closes #4892) 38333Files: .travis.yml 38334 38335Patch 8.1.1977 38336Problem: Terminal debugger plugin may hang. 38337Solution: Wait longer when still reading symbols. 38338Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim 38339 38340Patch 8.1.1978 38341Problem: The eval.c file is too big. 38342Solution: Move filter() and map() to list.c. 38343Files: src/eval.c, src/proto/eval.pro, src/list.c, src/proto/list.pro, 38344 src/evalfunc.c 38345 38346Patch 8.1.1979 38347Problem: Code for handling file names is spread out. 38348Solution: Move code to new filepath.c file. Graduate FEAT_MODIFY_FNAME. 38349Files: src/filepath.c, Filelist, src/Make_cyg_ming.mak, 38350 src/Make_morph.mak, src/Make_mvc.mak, src/Make_vms.mms, 38351 src/Makefile, src/README.md, src/eval.c, src/evalfunc.c, 38352 src/ex_docmd.c, src/feature.h, src/findfile.c, src/if_cscope.c, 38353 src/message.c, src/misc1.c, src/proto.h, src/proto/eval.pro, 38354 src/proto/evalvars.pro src/proto/filepath.pro, 38355 src/proto/findfile.pro, src/proto/message.pro, src/regexp.c, 38356 src/version.c 38357 38358Patch 8.1.1980 38359Problem: Fix for search stat not tested. 38360Solution: Add a screenshot test. (Christian Brabandt) 38361Files: src/testdir/test_search_stat.vim, 38362 src/testdir/dumps/Test_searchstat_1.dump, 38363 src/testdir/dumps/Test_searchstat_2.dump 38364 38365Patch 8.1.1981 38366Problem: The evalfunc.c file is too big. 38367Solution: Move undo functions to undo.c. Move cmdline functions to 38368 ex_getln.c. Move some container functions to list.c. 38369Files: src/evalfunc.c, src/undo.c, src/proto/undo.pro, src/ex_getln.c, 38370 src/proto/ex_getln.pro, src/list.c, src/proto/list.pro 38371 38372Patch 8.1.1982 38373Problem: More functions can be used as methods. 38374Solution: Make popup functions usable as a method. 38375Files: runtime/doc/popup.txt, src/evalfunc.c, 38376 src/testdir/test_popupwin.vim 38377 38378Patch 8.1.1983 38379Problem: Compiler nags for uninitialized variable and unused function. 38380Solution: Add unnecessary initialization. Move function inside #ifdef. 38381Files: src/memline.c, src/channel.c 38382 38383Patch 8.1.1984 38384Problem: More functions can be used as methods. 38385Solution: Make various functions usable as a method. 38386Files: runtime/doc/eval.txt, src/evalfunc.c, 38387 src/testdir/test_functions.vim, src/testdir/test_perl.vim, 38388 src/testdir/test_prompt_buffer.vim, src/testdir/test_python2.vim, 38389 src/testdir/test_python3.vim, src/testdir/test_pyx2.vim 38390 38391Patch 8.1.1985 38392Problem: Code for dealing with paths is spread out. 38393Solution: Move path related functions from misc1.c to filepath.c. 38394 Remove NO_EXPANDPATH. 38395Files: src/misc1.c, src/proto/misc1.pro, src/filepath.c, 38396 src/evalfunc.c, src/globals.h, src/misc2.c, src/os_unix.c, 38397 src/os_unix.h, src/proto/filepath.pro, src/scriptfile.c, 38398 src/proto/misc2.pro, src/proto/scriptfile.pro, src/vim.h 38399 38400Patch 8.1.1986 38401Problem: More functions can be used as methods. 38402Solution: Make textprop functions usable as a method. 38403Files: runtime/doc/textprop.txt, src/evalfunc.c, 38404 src/testdir/test_textprop.vim 38405 38406Patch 8.1.1987 38407Problem: More functions can be used as methods. 38408Solution: Make various functions usable as a method. 38409Files: runtime/doc/eval.txt, src/evalfunc.c, 38410 src/testdir/test_clientserver.vim, 38411 src/testdir/test_eval_stuff.vim, src/testdir/test_functions.vim, 38412 src/testdir/test_reltime.vim, src/testdir/test_rename.vim 38413 38414Patch 8.1.1988 38415Problem: :startinsert! does not work the same way as "A". 38416Solution: Use the same code to move the cursor. (closes #4896) 38417Files: src/ex_docmd.c, src/normal.c, src/proto/normal.pro, 38418 src/testdir/test_edit.vim 38419 38420Patch 8.1.1989 38421Problem: The evalfunc.c file is still too big. 38422Solution: Move f_pathshorten() to filepath.c. Move f_cscope_connection() to 38423 if_cscope.c. Move diff_ functions to diff.c. Move timer_ 38424 functions to ex_cmds2.c. move callback functions to evalvars.c. 38425Files: src/evalfunc.c, src/proto/evalfunc.pro, src/filepath.c, 38426 src/proto/filepath.pro, src/if_cscope.c, src/proto/if_cscope.pro, 38427 src/diff.c, src/proto/diff.pro, src/ex_cmds2.c, 38428 src/proto/ex_cmds2.pro, src/evalvars.c, src/proto/evalvars.pro 38429 38430Patch 8.1.1990 38431Problem: Cannot build with eval but without cscope. 38432Solution: Always include if_cscope.pro. 38433Files: src/proto.h 38434 38435Patch 8.1.1991 38436Problem: Still cannot build with eval but without cscope. 38437Solution: Move f_cscope_connection() outside of #ifdef. 38438Files: src/if_cscope.c 38439 38440Patch 8.1.1992 38441Problem: The search stat moves when wrapping at the end of the buffer. 38442Solution: Put the "W" in front instead of at the end. 38443Files: src/search.c, src/testdir/test_search_stat.vim 38444 38445Patch 8.1.1993 38446Problem: More functions can be used as methods. 38447Solution: Make various functions usable as a method. 38448Files: runtime/doc/eval.txt, src/evalfunc.c, 38449 src/testdir/test_bufline.vim, src/testdir/test_charsearch.vim, 38450 src/testdir/test_clientserver.vim, src/testdir/test_cmdline.vim, 38451 src/testdir/test_cursor_func.vim, src/testdir/test_diffmode.vim, 38452 src/testdir/test_environ.vim, src/testdir/test_functions.vim, 38453 src/testdir/test_matchadd_conceal_utf8.vim, 38454 src/testdir/test_popupwin.vim, src/testdir/test_search.vim, 38455 src/testdir/test_searchpos.vim, src/testdir/test_utf8.vim 38456 38457Patch 8.1.1994 38458Problem: MS-Windows: cannot build with eval but without cscope 38459Solution: Adjust the makefiles to always build if_cscope.obj. 38460Files: src/Make_mvc.mak, src/Make_cyg_ming.mak 38461 38462Patch 8.1.1995 38463Problem: More functions can be used as methods. 38464Solution: Make sign functions usable as a method. 38465Files: runtime/doc/sign.txt, src/evalfunc.c, src/testdir/test_signs.vim 38466 38467Patch 8.1.1996 38468Problem: More functions can be used as methods. 38469Solution: Make various functions usable as a method. 38470Files: runtime/doc/eval.txt, src/evalfunc.c, 38471 src/testdir/test_bufwintabinfo.vim, 38472 src/testdir/test_cursor_func.vim, src/testdir/test_expr.vim, 38473 src/testdir/test_functions.vim, src/testdir/test_put.vim, 38474 src/testdir/test_quickfix.vim, src/testdir/test_sha256.vim, 38475 src/testdir/test_tabpage.vim, src/testdir/test_tagjump.vim, 38476 src/testdir/test_vartabs.vim 38477 38478Patch 8.1.1997 38479Problem: No redraw after a popup window filter is invoked. 38480Solution: Redraw if needed. 38481Files: src/popupwin.c, src/testdir/test_popupwin.vim 38482 src/testdir/dumps/Test_popupwin_menu_filter_5.dump 38483 38484Patch 8.1.1998 38485Problem: Redraw even when no popup window filter was invoked. 38486Solution: Only redraw when must_redraw was set to a larger value. 38487Files: src/popupwin.c 38488 38489Patch 8.1.1999 38490Problem: Calling both PlaySoundW() and PlaySoundA(). 38491Solution: Only use PlaySoundW(). (Dan Thompson, closes #4903) 38492Files: src/sound.c 38493 38494Patch 8.1.2000 38495Problem: Plugin cannot get the current IME status. 38496Solution: Add the getimstatus() function. (closes #4904) 38497Files: runtime/doc/eval.txt, src/evalfunc.c, src/mbyte.c, 38498 src/proto/mbyte.pro, src/testdir/test_iminsert.vim 38499 38500Patch 8.1.2001 38501Problem: Some source files are too big. 38502Solution: Move buffer and window related functions to evalbuffer.c and 38503 evalwindow.c. (Yegappan Lakshmanan, closes #4898) 38504Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak, 38505 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md, 38506 src/buffer.c, src/channel.c, src/evalbuffer.c, src/evalfunc.c, 38507 src/evalwindow.c, src/proto.h, src/proto/buffer.pro, 38508 src/proto/evalbuffer.pro, src/proto/evalfunc.pro, 38509 src/proto/evalwindow.pro, src/proto/window.pro, src/window.c 38510 38511Patch 8.1.2002 38512Problem: Version number 2000 missing. 38513Solution: Add the number in the list of patches. 38514Files: src/version.c 38515 38516Patch 8.1.2003 38517Problem: MS-Windows: code page 65001 is not recognized. 38518Solution: Use utf-8 for code page 65001. (Dan Thompson, closes #4902) 38519Files: src/mbyte.c 38520 38521Patch 8.1.2004 38522Problem: More functions can be used as methods. 38523Solution: Make various functions usable as a method. 38524Files: runtime/doc/eval.txt, src/evalfunc.c, 38525 src/testdir/test_breakindent.vim, src/testdir/test_expr.vim, 38526 src/testdir/test_functions.vim, src/testdir/test_sound.vim, 38527 src/testdir/test_spell.vim, src/testdir/test_substitute.vim, 38528 src/testdir/test_swap.vim, src/testdir/test_utf8.vim 38529 38530Patch 8.1.2005 38531Problem: The regexp.c file is too big. 38532Solution: Move the backtracking engine to a separate file. (Yegappan 38533 Lakshmanan, closes #4905) 38534Files: Filelist, src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Makefile, 38535 src/regexp.c, src/regexp_bt.c 38536 38537Patch 8.1.2006 38538Problem: Build failure with huge features but without channel feature. 38539Solution: Add #ifdef. (Dominique Pelle, closes #4906) 38540Files: src/ui.c 38541 38542Patch 8.1.2007 38543Problem: No test for what 8.1.1926 fixes. 38544Solution: Add a test case. 38545Files: src/testdir/test_highlight.vim 38546 38547Patch 8.1.2008 38548Problem: Error for invalid range when using listener and undo. (Paul Jolly) 38549Solution: Do not change the cursor before the lines are restored. 38550 (closes #4908) 38551Files: src/undo.c, src/testdir/test_listener.vim 38552 38553Patch 8.1.2009 38554Problem: Cursorline highlighting not updated in popup window. (Marko 38555 Mahnič) 38556Solution: Check if the cursor position changed. (closes #4912) 38557Files: src/popupwin.c, src/structs.h, src/testdir/test_popupwin.vim, 38558 src/testdir/dumps/Test_popupwin_cursorline_7.dump 38559 38560Patch 8.1.2010 38561Problem: New file uses old style comments. 38562Solution: Change to new style comments. (Yegappan Lakshmanan, closes #4910) 38563Files: src/regexp_bt.c 38564 38565Patch 8.1.2011 38566Problem: More functions can be used as methods. 38567Solution: Make various functions usable as a method. Make the window 38568 command test faster. 38569Files: runtime/doc/eval.txt, runtime/doc/testing.txt, src/evalfunc.c, 38570 src/testdir/test_assert.vim, src/testdir/test_gui.vim, 38571 src/testdir/test_messages.vim, src/testdir/test_options.vim, 38572 src/testdir/test_quickfix.vim, src/testdir/test_taglist.vim, 38573 src/testdir/test_termcodes.vim, src/testdir/test_timers.vim, 38574 src/testdir/test_vimscript.vim, src/testdir/test_viminfo.vim, 38575 src/testdir/test_window_cmd.vim 38576 38577Patch 8.1.2012 38578Problem: More functions can be used as methods. 38579Solution: Make terminal functions usable as a method. Fix term_getattr(). 38580Files: runtime/doc/terminal.txt, src/evalfunc.c, src/terminal.c 38581 src/testdir/test_mksession.vim, src/testdir/test_terminal.vim 38582 38583Patch 8.1.2013 38584Problem: More functions can be used as methods. 38585Solution: Make various functions usable as a method. 38586Files: runtime/doc/eval.txt, src/evalfunc.c, 38587 src/testdir/test_cursor_func.vim, 38588 src/testdir/test_execute_func.vim, src/testdir/test_functions.vim, 38589 src/testdir/test_listchars.vim, src/testdir/test_timers.vim, 38590 src/testdir/test_undo.vim, src/testdir/test_window_cmd.vim, 38591 src/testdir/test_window_id.vim 38592 38593Patch 8.1.2014 38594Problem: Terminal altscreen test fails sometimes. 38595Solution: Use WaitFor(). 38596Files: src/testdir/test_terminal.vim 38597 38598Patch 8.1.2015 38599Problem: Terminal altscreen test still fails sometimes. 38600Solution: Write the escape sequence in a file. 38601Files: src/testdir/test_terminal.vim 38602 38603Patch 8.1.2016 38604Problem: Terminal altscreen test now fails on MS-Windows. 38605Solution: Skip the test on MS-Windows 38606Files: src/testdir/test_terminal.vim 38607 38608Patch 8.1.2017 38609Problem: Cannot execute commands after closing the cmdline window. 38610Solution: Also trigger BufEnter and WinEnter. (closes #4762) 38611Files: runtime/doc/autocmd.txt, runtime/doc/cmdline.txt, src/ex_getln.c, 38612 src/testdir/test_cmdline.vim 38613 38614Patch 8.1.2018 38615Problem: Using freed memory when out of memory and displaying message. 38616Solution: Make a copy of the message first. 38617Files: src/main.c, src/message.c, src/normal.c 38618 38619Patch 8.1.2019 38620Problem: 'cursorline' always highlights the whole line. 38621Solution: Add 'cursorlineopt' to specify what is highlighted. 38622 (Ozaki Kiichi, closes #4693) 38623Files: runtime/doc/options.txt, runtime/doc/quickref.txt, 38624 runtime/doc/syntax.txt, runtime/optwin.vim, src/option.c, 38625 src/option.h, src/screen.c, src/structs.h, 38626 src/testdir/Make_all.mak, src/testdir/gen_opt_test.vim, 38627 src/testdir/test_alot.vim, src/testdir/test_cursorline.vim 38628 38629Patch 8.1.2020 38630Problem: It is not easy to change the window layout. 38631Solution: Add win_splitmove(). (Andy Massimino, closes #4561) 38632Files: runtime/doc/eval.txt, src/evalfunc.c, src/evalwindow.c, 38633 src/proto/evalwindow.pro, src/testdir/test_window_cmd.vim 38634 38635Patch 8.1.2021 38636Problem: Some global functions can be local to the file. 38637Solution: Add "static". (Yegappan Lakshmanan, closes #4917) 38638Files: src/ex_cmds2.c, src/filepath.c, src/hangulin.c, src/mbyte.c, 38639 src/misc1.c, src/os_unix.c, src/proto/ex_cmds2.pro, 38640 src/proto/filepath.pro, src/proto/hangulin.pro, 38641 src/proto/mbyte.pro, src/proto/misc1.pro, src/proto/os_unix.pro, 38642 src/proto/terminal.pro, src/proto/undo.pro, src/pty.c, 38643 src/terminal.c, src/undo.c 38644 38645Patch 8.1.2022 38646Problem: The option.c file is too big. 38647Solution: Move option definitions to a separate file. (Yegappan Lakshmanan, 38648 closes #4918) 38649Files: Filelist, src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, 38650 src/option.c, src/optiondefs.h 38651 38652Patch 8.1.2023 38653Problem: No test for synIDattr() returning "strikethrough". 38654Solution: Extend the synIDattr() test. (Jaskaran Singh, closes #4929) 38655Files: src/testdir/test_syn_attr.vim 38656 38657Patch 8.1.2024 38658Problem: Delete call commented out for debugging. 38659Solution: Restore the delete call. (Christian Brabandt) 38660Files: src/testdir/test_undo.vim 38661 38662Patch 8.1.2025 38663Problem: MS-Windows: Including shlguid.h causes problems for msys2. 38664Solution: Do not include shlguid.h. (closes #4913) 38665Files: src/GvimExt/gvimext.h 38666 38667Patch 8.1.2026 38668Problem: Possibly using uninitialized memory. 38669Solution: Check if "dict" is NULL. (closes #4925) 38670Files: src/ops.c 38671 38672Patch 8.1.2027 38673Problem: MS-Windows: problem with ambiwidth characters. 38674Solution: handle ambiguous width characters in ConPTY on Windows 10 (1903). 38675 (Nobuhiro Takasaki, closes #4411) 38676Files: src/Make_mvc.mak, src/Make_cyg_ming.mak, src/libvterm/src/parser.c, 38677 src/libvterm/src/state.c, src/libvterm/src/termscreen.c, 38678 src/libvterm/src/unicode.c, src/libvterm/src/vterm_internal.h, 38679 src/misc2.c, src/os_win32.c, src/proto/misc2.pro, 38680 src/proto/os_win32.pro 38681 38682Patch 8.1.2028 38683Problem: Options test script does not work. 38684Solution: Use optiondefs.h for input. 38685Files: src/testdir/Makefile, src/testdir/Make_dos.mak, 38686 src/testdir/Make_ming.mak 38687 38688Patch 8.1.2029 38689Problem: Cannot control 'cursorline' highlighting well. 38690Solution: Add "screenline". (Christian Brabandt, closes #4933) 38691Files: runtime/doc/options.txt, src/change.c, src/main.c, src/option.c, 38692 src/option.h, src/optiondefs.h, src/screen.c, src/structs.h, 38693 src/highlight.c, src/testdir/dumps/Test_Xcursorline_1.dump, 38694 src/testdir/dumps/Test_Xcursorline_2.dump, 38695 src/testdir/dumps/Test_Xcursorline_3.dump, 38696 src/testdir/dumps/Test_Xcursorline_4.dump, 38697 src/testdir/dumps/Test_Xcursorline_5.dump, 38698 src/testdir/dumps/Test_Xcursorline_6.dump, 38699 src/testdir/dumps/Test_Xcursorline_7.dump, 38700 src/testdir/dumps/Test_Xcursorline_8.dump, 38701 src/testdir/dumps/Test_Xcursorline_9.dump, 38702 src/testdir/dumps/Test_Xcursorline_10.dump, 38703 src/testdir/dumps/Test_Xcursorline_11.dump, 38704 src/testdir/dumps/Test_Xcursorline_12.dump, 38705 src/testdir/dumps/Test_Xcursorline_13.dump, 38706 src/testdir/dumps/Test_Xcursorline_14.dump, 38707 src/testdir/dumps/Test_Xcursorline_15.dump, 38708 src/testdir/dumps/Test_Xcursorline_16.dump, 38709 src/testdir/dumps/Test_Xcursorline_17.dump, 38710 src/testdir/dumps/Test_Xcursorline_18.dump, 38711 src/testdir/gen_opt_test.vim, src/testdir/test_cursorline.vim, 38712 src/testdir/dumps/Test_cursorline_yank_01.dump, 38713 src/testdir/dumps/Test_wincolor_01.dump, 38714 src/testdir/dumps/Test_textprop_01.dump 38715 38716Patch 8.1.2030 38717Problem: Tests fail when build with normal features and terminal. 38718 (Dominique Pelle) 38719Solution: Disable tests that won't work. (closes #4932) 38720Files: src/testdir/test_popupwin.vim, src/testdir/test_terminal.vim 38721 38722Patch 8.1.2031 38723Problem: Cursor position wrong when resizing and using conceal. 38724Solution: Set the flags that the cursor position is valid when setting the 38725 row and column during redrawing. (closes #4931) 38726Files: src/screen.c, src/testdir/test_conceal.vim, 38727 src/testdir/dumps/Test_conceal_resize_01.dump, 38728 src/testdir/dumps/Test_conceal_resize_02.dump 38729 38730Patch 8.1.2032 38731Problem: Scrollbar thumb wrong in popup window. 38732Solution: Adjust thumb size and position when scrolled. 38733Files: src/popupwin.c, src/testdir/dumps/Test_popupwin_scroll_2.dump 38734 38735Patch 8.1.2033 38736Problem: Cannot build with tiny features. 38737Solution: Add #ifdef. 38738Files: src/screen.c 38739 38740Patch 8.1.2034 38741Problem: Dark theme of GTK 3 not supported. 38742Solution: Add the "d" flag in 'guioptions'. (Jonathan Conder, closes #4934) 38743Files: runtime/doc/options.txt, src/feature.h, src/gui.c, 38744 src/gui_gtk_x11.c, src/option.h, src/proto/gui_gtk_x11.pro, 38745 src/testdir/test_gui.vim 38746 38747Patch 8.1.2035 38748Problem: Recognizing octal numbers is confusing. 38749Solution: Introduce scriptversion 4: do not use octal and allow for single 38750 quote inside numbers. 38751Files: runtime/doc/eval.txt, src/vim.h, src/eval.c, src/scriptfile.c, 38752 src/evalfunc.c, src/testdir/test_eval_stuff.vim, 38753 src/testdir/test_functions.vim 38754 38755Patch 8.1.2036 (after 8.1.2035) 38756Problem: The str2nr() tests fail. 38757Solution: Add missing part of patch. 38758Files: src/charset.c 38759 38760Patch 8.1.2037 38761Problem: Can call win_gotoid() in cmdline window. 38762Solution: Disallow switching windows. (Yasuhiro Matsumoto, closes #4940) 38763Files: src/evalwindow.c, src/testdir/test_cmdline.vim 38764 38765Patch 8.1.2038 38766Problem: has('vimscript-4') is always 0. 38767Solution: Add "vimscript-4" to the feature table. (Naruhiko Nishino, 38768 closes #4941) 38769Files: src/evalfunc.c, src/testdir/test_eval_stuff.vim 38770 38771Patch 8.1.2039 38772Problem: Character from 'showbreak' does not use 'wincolor'. (Nick Jensen) 38773Solution: Mix with 'wincolor'. (closes #4938) 38774Files: src/screen.c, src/testdir/test_popupwin.vim, 38775 src/testdir/dumps/Test_popupwin_showbreak.dump 38776 38777Patch 8.1.2040 38778Problem: No highlighting of current line in quickfix window. 38779Solution: Combine with line_attr. 38780Files: src/screen.c, src/testdir/test_quickfix.vim, 38781 src/testdir/dumps/Test_quickfix_cwindow_1.dump, 38782 src/testdir/dumps/Test_quickfix_cwindow_2.dump 38783 38784Patch 8.1.2041 (after 8.1.2040) 38785Problem: No test for diff mode with syntax highlighting. 38786Solution: Add a test case. 38787Files: src/testdir/test_diffmode.vim, 38788 src/testdir/dumps/Test_diff_syntax_1.dump 38789 38790Patch 8.1.2042 38791Problem: The evalfunc.c file is too big. 38792Solution: Move getchar() and parse_queued_messages() to getchar.c. 38793Files: src/getchar.c, src/proto/getchar.pro, src/evalfunc.c, src/misc2.c, 38794 src/proto/misc2.pro 38795 38796Patch 8.1.2043 38797Problem: Not sufficient testing for quoted numbers. 38798Solution: Add a few more test cases. 38799Files: src/testdir/test_functions.vim, src/testdir/test_eval_stuff.vim 38800 38801Patch 8.1.2044 38802Problem: No easy way to process postponed work. (Paul Jolly) 38803Solution: Add the SafeState autocommand event. 38804Files: runtime/doc/autocmd.txt, src/main.c, src/proto/main.pro, 38805 src/vim.h, src/autocmd.c, src/channel.c, src/edit.c, 38806 src/ex_getln.c 38807 38808Patch 8.1.2045 38809Problem: The option.c file is too big. 38810Solution: Split off the code dealing with strings. (Yegappan Lakshmanan, 38811 closes #4937) 38812Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak, 38813 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md, 38814 src/option.c, src/option.h, src/optiondefs.h, src/optionstr.c, 38815 src/ops.c, src/os_unix.c, src/proto.h, src/proto/option.pro, 38816 src/proto/optionstr.pro 38817 38818Patch 8.1.2046 38819Problem: SafeState may be triggered at the wrong moment. 38820Solution: Move it up higher to after where messages are processed. Add a 38821 SafeStateAgain event to trigger there. 38822Files: runtime/doc/autocmd.txt, src/main.c, src/proto/main.pro, 38823 src/getchar.c, src/channel.c, src/autocmd.c, src/vim.h 38824 38825Patch 8.1.2047 38826Problem: Cannot check the current state. 38827Solution: Add the state() function. 38828Files: runtime/doc/eval.txt, src/misc1.c, src/proto/misc1.pro, 38829 src/evalfunc.c, src/proto/evalfunc.pro, src/main.c, 38830 src/proto/main.pro, src/channel.c, src/proto/channel.pro, 38831 src/userfunc.c, src/proto/userfunc.pro 38832 38833Patch 8.1.2048 38834Problem: Not clear why SafeState and SafeStateAgain are not triggered. 38835Solution: Add log statements. 38836Files: src/getchar.c, src/main.c, src/proto/main.pro 38837 38838Patch 8.1.2049 (after 8.1.2048) 38839Problem: Cannot build tiny version. 38840Solution: Add #ifdefs. 38841Files: src/main.c 38842 38843Patch 8.1.2050 38844Problem: Popup window test fails in some configurations. (James McCoy) 38845Solution: Clear the command line. 38846Files: src/testdir/test_popupwin.vim, 38847 src/testdir/dumps/Test_popupwin_scroll_10.dump 38848 38849Patch 8.1.2051 38850Problem: Double-click test is a bit flaky. 38851Solution: Correct entry in list of flaky tests. 38852Files: src/testdir/runtest.vim 38853 38854Patch 8.1.2052 38855Problem: Using "x" before a closed fold may delete that fold. 38856Solution: Do not translate 'x' do "dl". (Christian Brabandt, closes #4927) 38857Files: src/normal.c, src/testdir/test_fold.vim 38858 38859Patch 8.1.2053 38860Problem: SafeStateAgain not triggered if callback uses feedkeys(). 38861Solution: Check for safe state in the input loop. Make log messages easier 38862 to find. Add 'S' flag to state(). 38863Files: src/main.c, src/proto/main.pro, src/getchar.c, 38864 runtime/doc/eval.txt 38865 38866Patch 8.1.2054 38867Problem: Compiler test for Perl may fail. 38868Solution: Accept any error line number. (James McCoy, closes #4944) 38869Files: src/testdir/test_compiler.vim 38870 38871Patch 8.1.2055 38872Problem: Not easy to jump to function line from profile. 38873Solution: Use "file:99" instead of "file line 99" so that "gf" works. 38874 (Daniel Hahler, closes #4951) 38875Files: src/profiler.c, src/testdir/test_profile.vim 38876 38877Patch 8.1.2056 38878Problem: "make test" for indent files doesn't cause make to fail. 38879Solution: Exit the script with ":cquit". (Daniel Hahler, closes #4949) 38880Files: runtime/indent/testdir/runtest.vim, .gitignore 38881 38882Patch 8.1.2057 38883Problem: The screen.c file is much too big. 38884Solution: Split it in three parts. (Yegappan Lakshmanan, closes #4943) 38885Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak, 38886 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md, 38887 src/drawline.c, src/drawscreen.c, src/globals.h, src/proto.h, 38888 src/proto/drawline.pro, src/proto/drawscreen.pro, 38889 src/proto/screen.pro, src/screen.c, src/vim.h 38890 38891Patch 8.1.2058 38892Problem: Function for ex command is named inconsistently. 38893Solution: Rename do_marks() to ex_marks(). 38894Files: src/mark.c, src/proto/mark.pro, src/ex_cmds.h 38895 38896Patch 8.1.2059 38897Problem: Fix for "x" deleting a fold has side effects. 38898Solution: Fix it where the fold is included. 38899Files: src/normal.c 38900 38901Patch 8.1.2060 38902Problem: "precedes" in 'listchars' not used properly. 38903Solution: Correctly handle the "precedes" char in list mode for long lines. 38904 (Zach Wegner, Christian Brabandt, closes #4953) 38905Files: runtime/doc/options.txt, src/drawline.c, 38906 src/testdir/test_display.vim, src/testdir/view_util.vim 38907 38908Patch 8.1.2061 38909Problem: MS-Windows GUI: ":sh" crashes when trying to use a terminal. 38910Solution: Check for a NULL command. (Yasuhiro Matsumoto, closes #4958) 38911Files: src/os_win32.c 38912 38913Patch 8.1.2062 38914Problem: The mouse code is spread out. 38915Solution: Move all the mouse code to mouse.c. (Yegappan Lakshmanan, 38916 closes #4959) 38917Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak, 38918 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md, 38919 src/auto/configure, src/configure.ac, src/edit.c, src/ex_cmds.c, 38920 src/ex_docmd.c, src/ex_getln.c, src/insexpand.c, 38921 src/libvterm/src/termmouse.c, src/libvterm/src/mouse.c, 38922 src/main.c, src/message.c, src/misc1.c, src/misc2.c, src/mouse.c, 38923 src/normal.c, src/proto.h, src/proto/edit.pro, 38924 src/proto/misc1.pro, src/proto/misc2.pro, src/proto/mouse.pro, 38925 src/proto/normal.pro, src/proto/term.pro, src/proto/ui.pro, 38926 src/search.c, src/term.c, src/ui.c, src/vim.h, src/window.c 38927 38928Patch 8.1.2063 38929Problem: Some tests fail when +balloon_eval_term is missing but 38930 _balloon_eval is present. (Dominique Pelle) 38931Solution: Check the right feature in the test. (closes #4962) 38932Files: src/testdir/test_popupwin.vim, src/testdir/test_terminal.vim 38933 38934Patch 8.1.2064 38935Problem: MS-Windows: compiler warnings for unused arguments. 38936Solution: Add UNUSED. (Yegappan Lakshmanan, closes #4963) 38937Files: src/channel.c, src/ex_docmd.c, src/ex_getln.c, src/fileio.c, 38938 src/gui_w32.c, src/main.c, src/memline.c, src/os_mswin.c, 38939 src/os_win32.c, src/terminal.c, src/ui.c, src/undo.c 38940 38941Patch 8.1.2065 38942Problem: Compiler warning building non-GUI with MinGW. 38943Solution: Adjust #ifdefs. (Yegappan Lakshmanan, closes #4964) 38944Files: sre/mouse.c 38945 38946Patch 8.1.2066 38947Problem: No tests for state(). 38948Solution: Add tests. Clean up some feature checks. Make "a" flag work. 38949Files: src/testdir/test_functions.vim, src/testdir/test_terminal.vim, 38950 src/misc1.c 38951 38952Patch 8.1.2067 38953Problem: No tests for SafeState and SafeStateAgain. 38954Solution: Add tests. 38955Files: src/testdir/test_autocmd.vim 38956 38957Patch 8.1.2068 (after 8.1.2067) 38958Problem: Test for SafeState and SafeStateAgain may fail. 38959Solution: Accept more possible responses 38960Files: src/testdir/test_autocmd.vim 38961 38962Patch 8.1.2069 (after 8.1.2068) 38963Problem: Test for SafeStateAgain may still fail. 38964Solution: Send another message to trigger SafeStateAgain. 38965Files: src/testdir/test_autocmd.vim 38966 38967Patch 8.1.2070 38968Problem: Mouse code is spread out. 38969Solution: Move mouse terminal code parsing to mouse.c. (Yegappan Lakshmanan, 38970 closes #4966) 38971Files: src/mouse.c, src/proto/mouse.pro, src/proto/term.pro, src/term.c 38972 38973Patch 8.1.2071 38974Problem: When 'wincolor' is set text property changes highlighting. (Andy 38975 Stewart) 38976Solution: Fix combining colors. (closes #4968) 38977Files: src/drawline.c, src/testdir/test_highlight.vim, 38978 src/testdir/dumps/Test_wincolor_01.dump 38979 38980Patch 8.1.2072 38981Problem: "gk" moves to start of line instead of upwards. 38982Solution: Fix off-by-one error. (Christian Brabandt, closes #4969) 38983Files: src/normal.c, src/testdir/test_normal.vim 38984 38985Patch 8.1.2073 38986Problem: When editing a buffer 'colorcolumn' may not work. 38987Solution: Set the buffer before copying option values. Call 38988 check_colorcolumn() after copying window options. 38989Files: src/buffer.c, src/option.c, src/proto/option.pro, 38990 src/proto/indent.pro, src/testdir/test_highlight.vim, 38991 src/testdir/dumps/Test_colorcolumn_1.dump 38992 38993Patch 8.1.2074 38994Problem: Test for SafeState autocommand is a bit flaky. 38995Solution: Add to list of flaky tests. 38996Files: src/testdir/runtest.vim 38997 38998Patch 8.1.2075 38999Problem: Get many log messages when waiting for a typed character. 39000Solution: Do not repeat the repeated messages when nothing happens. 39001Files: src/globals.h, src/channel.c, src/main.c 39002 39003Patch 8.1.2076 39004Problem: Crash when trying to put a terminal buffer in a popup window. 39005Solution: Check for NULL buffer. Do not allow putting a terminal in a popup 39006 window. 39007Files: src/libvterm/src/termscreen.c, src/terminal.c, src/popupwin.c, 39008 runtime/doc/popup.txt, src/testdir/test_popupwin.vim 39009 39010Patch 8.1.2077 39011Problem: The ops.c file is too big. 39012Solution: Move code for dealing with registers to a new file. (Yegappan 39013 Lakshmanan, closes #4982) 39014Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak, 39015 src/Make_mvc.mak, src/Make_vms.mms src/Makefile, src/README.md, 39016 src/ops.c, src/proto.h, src/proto/ops.pro, src/proto/register.pro, 39017 src/register.c, src/structs.h 39018 39019Patch 8.1.2078 39020Problem: Build error with +textprop but without +terminal. (Tony Mechelynck) 39021Solution: Add #ifdef. 39022Files: src/popupwin.c 39023 39024Patch 8.1.2079 39025Problem: Popup window test fails without +terminal. 39026Solution: Check for the +terminal feature. 39027Files: src/testdir/test_popupwin.vim 39028 39029Patch 8.1.2080 39030Problem: The terminal API is limited and can't be disabled. 39031Solution: Add term_setapi() to set the function prefix. (Ozaki Kiichi, 39032 closes #2907) 39033Files: runtime/doc/eval.txt, runtime/doc/terminal.txt, src/channel.c, 39034 src/evalfunc.c, src/proto/terminal.pro, src/structs.h, 39035 src/terminal.c, src/testdir/term_util.vim, 39036 src/testdir/test_terminal.vim 39037 39038Patch 8.1.2081 39039Problem: The spell.c file is too big. 39040Solution: Move the code for spell suggestions to a separate file. (Yegappan 39041 Lakshmanan, closes #4988) 39042Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak, 39043 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md, 39044 src/proto.h, src/proto/spell.pro, src/proto/spellsuggest.pro, 39045 src/spell.c, src/spell.h, src/spellsuggest.c 39046 39047Patch 8.1.2082 39048Problem: Some files have a weird name to fit in 8.3 characters. 39049Solution: Use a nicer names. 39050Files: Filelist, Makefile, src/popupmnu.c, src/popupmenu.c, 39051 src/proto/popupmnu.pro, src/proto/popupmenu.pro, 39052 src/Make_cyg_ming.mak, src/Make_morph.mak, src/Make_mvc.mak, 39053 src/Make_vms.mms, src/Makefile, src/proto.h, src/README.md, 39054 src/uninstal.c, src/uninstall.c, uninstal.txt, uninstall.txt, 39055 nsis/gvim.nsi, src/INSTALLpc.txt, src/dosinst.c, src/dosinst.h 39056 39057Patch 8.1.2083 39058Problem: Multi-byte chars do not work properly with "%.*S" in printf(). 39059Solution: Use mb_ptr2cells(). Daniel Hahler, closes #4989) 39060Files: src/testdir/test_expr.vim, src/message.c 39061 39062Patch 8.1.2084 39063Problem: Amiga: cannot get the user name. 39064Solution: Use getpwuid() if available. (Ola Söder, closes #4985) 39065Files: src/os_amiga.c, src/os_amiga.h 39066 39067Patch 8.1.2085 39068Problem: MS-Windows: draw error moving cursor over double-cell character. 39069Solution: Move the cursor to the left edge if needed. (Nobuhiro Takasaki, 39070 closes #4986) 39071Files: src/os_win32.c 39072 39073Patch 8.1.2086 (after 8.1.2082) 39074Problem: Missing a few changes for the renamed files. 39075Solution: Rename in a few more places. (Ken Takata) 39076Files: nsis/README.txt, runtime/doc/gui_w32.txt, runtime/doc/usr_90.txt, 39077 src/GvimExt/GvimExt.reg, src/GvimExt/README.txt, 39078 src/proto/popupmenu.pro, src/proto/popupmnu.pro 39079 39080Patch 8.1.2087 39081Problem: Cannot easily select one test function to execute. 39082Solution: Support the $TEST_FILTER environment variable. (Ozaki Kiichi, 39083 closes #2695) 39084Files: src/Makefile, src/testdir/runtest.vim, src/testdir/summarize.vim 39085 39086Patch 8.1.2088 39087Problem: Renamed libvterm mouse.c file not in distributed file list. 39088Solution: Rename the file in the file list. 39089Files: Filelist 39090 39091Patch 8.1.2089 (after 8.1.2087) 39092Problem: Do not get a hint that $TEST_FILTER was active. 39093Solution: Mention $TEST_FILTER if no functions were executed. 39094Files: src/testdir/runtest.vim 39095 39096Patch 8.1.2090 39097Problem: Not clear why channel log file ends. 39098Solution: Add a "closing" line. 39099Files: src/channel.c 39100 39101Patch 8.1.2091 39102Problem: Double free when memory allocation fails. (Zu-Ming Jiang) 39103Solution: Use VIM_CLEAR() instead of vim_free(). (closes #4991) 39104Files: src/getchar.c 39105 39106Patch 8.1.2092 39107Problem: MS-Windows: redirect in system() does not work. 39108Solution: Handle 'shellxescape' and 'shellxquote' better. (Yasuhiro 39109 Matsumoto, closes #2054) 39110Files: src/ex_cmds.c, src/misc2.c, src/testdir/test_system.vim 39111 39112Patch 8.1.2093 39113Problem: MS-Windows: system() test fails. 39114Solution: Expect CR when using systemlist(). 39115Files: src/testdir/test_system.vim 39116 39117Patch 8.1.2094 39118Problem: The fileio.c file is too big. 39119Solution: Move buf_write() to bufwrite.c. (Yegappan Lakshmanan, 39120 closes #4990) 39121Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak, 39122 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md, 39123 src/bufwrite.c, src/fileio.c, src/option.c, src/proto.h, 39124 src/proto/bufwrite.pro, src/proto/fileio.pro, src/structs.h 39125 39126Patch 8.1.2095 39127Problem: Leaking memory when getting item from dict. 39128Solution: Also free the key when not evaluating. 39129Files: src/dict.c 39130 39131Patch 8.1.2096 39132Problem: Too many #ifdefs. 39133Solution: Graduate FEAT_COMMENTS. 39134Files: src/feature.h, src/buffer.c, src/change.c, src/edit.c, 39135 src/evalfunc.c, src/fold.c, src/insexpand.c, src/misc1.c, 39136 src/normal.c, src/ops.c, src/option.c, src/optionstr.c, 39137 src/search.c, src/version.c, src/globals.h, src/option.h, 39138 src/optiondefs.h, src/structs.h, runtime/doc/change.txt, 39139 runtime/doc/options.txt, runtime/doc/various.txt 39140 39141Patch 8.1.2097 39142Problem: :mksession is not sufficiently tested. 39143Solution: Add more test cases. (Yegappan Lakshmanan, closes #4992) 39144Files: src/testdir/test_mksession.vim 39145 39146Patch 8.1.2098 (after 8.1.2097) 39147Problem: mksession test fails on MS-Windows. 39148Solution: Skip testing with backslashes on MS-Windows. 39149Files: src/testdir/test_mksession.vim 39150 39151Patch 8.1.2099 39152Problem: state() test fails on some Mac systems. 39153Solution: Increase the wait time. (closes #4983) 39154Files: src/testdir/test_functions.vim 39155 39156Patch 8.1.2100 39157Problem: :mksession is not sufficiently tested. 39158Solution: Add more test cases. (Yegappan Lakshmanan, closes #4993) 39159Files: src/testdir/test_mksession.vim 39160 39161Patch 8.1.2101 39162Problem: write_session_file() often defined but not used. 39163Solution: Adjust the #ifdef. (Yegappan Lakshmanan, closes #4998) 39164Files: src/session.c 39165 39166Patch 8.1.2102 39167Problem: Can't build with GTK and FEAT_GUI_GNOME. (Tony Mechelynck) 39168Solution: Adjust the #ifdef. (Yegappan Lakshmanan) 39169Files: src/session.c 39170 39171Patch 8.1.2103 39172Problem: wrong error message if "termdebugger" is not executable. 39173Solution: Check if "termdebugger" is executable and give a clear error 39174 message. (Ozaki Kiichi, closes #5000) Fix indents. 39175Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim 39176 39177Patch 8.1.2104 39178Problem: The normal.c file is too big. 39179Solution: Move do_pending_operator() to ops.c. (Yegappan Lakshmanan, 39180 closes #4999). 39181Files: src/normal.c, src/ops.c, src/proto/normal.pro, src/proto/ops.pro, 39182 src/globals.h 39183 39184Patch 8.1.2105 39185Problem: MS-Windows: system() may crash. 39186Solution: Do not use "itmp" when it is NULL. (Yasuhiro Matsumoto, 39187 closes #5005) 39188Files: src/ex_cmds.c 39189 39190Patch 8.1.2106 39191Problem: No tests for dragging the mouse beyond the window. 39192Solution: Add a test. (Dominique Pelle, closes #5004) 39193Files: src/testdir/test_termcodes.vim 39194 39195Patch 8.1.2107 39196Problem: Various memory leaks reported by asan. 39197Solution: Free the memory. (Ozaki Kiichi, closes #5003) 39198Files: src/buffer.c, src/change.c, src/eval.c, src/evalfunc.c, 39199 src/option.c, src/popupwin.c, src/proto/change.pro, 39200 src/scriptfile.c, src/terminal.c, src/testdir/test_method.vim 39201 39202Patch 8.1.2108 39203Problem: Cannot close the cmdline window from CmdWinEnter. (George Brown) 39204Solution: Reset cmdwin_result earlier. (Christian Brabandt, closes #4980) 39205Files: src/ex_getln.c, src/testdir/test_autocmd.vim 39206 39207Patch 8.1.2109 39208Problem: popup_getoptions() hangs with tab-local popup. 39209Solution: Correct pointer name. (Marko Mahnič, closes #5006) 39210Files: src/popupwin.c, src/testdir/test_popupwin.vim 39211 39212Patch 8.1.2110 39213Problem: CTRL-C closes two popups instead of one. 39214Solution: Reset got_int when the filter consumed the key. 39215Files: src/getchar.c, src/testdir/test_popupwin.vim 39216 39217Patch 8.1.2111 39218Problem: Viminfo file not sufficiently tested. 39219Solution: Add more tests. (Yegappan Lakshmanan, closes #5009) 39220Files: src/testdir/test_viminfo.vim 39221 39222Patch 8.1.2112 39223Problem: Build number for ConPTY is outdated. 39224Solution: Update to new build number. (Nobuhiro Takasaki, closes #5014) 39225Files: src/os_win32.c 39226 39227Patch 8.1.2113 39228Problem: ":help expr-!~?" only works after searching. 39229Solution: Escape "~" after "expr-". (closes #5015) 39230Files: src/ex_cmds.c, src/testdir/test_help.vim 39231 39232Patch 8.1.2114 39233Problem: When a popup is closed with CTRL-C the callback aborts. 39234Solution: Reset got_int when invoking the callback. (closes #5008) 39235Files: src/popupwin.c 39236 39237Patch 8.1.2115 39238Problem: MS-Windows: shell commands fail if &shell contains a space. 39239Solution: Use quotes instead of escaping. (closes #4920) 39240Files: src/option.c, src/os_win32.c, src/testdir/test_startup.vim, 39241 src/testdir/test_system.vim, src/vimrun.c, 39242 39243Patch 8.1.2116 39244Problem: No check for out of memory. 39245Solution: Check for NULL pointer. 39246Files: src/option.c 39247 39248Patch 8.1.2117 39249Problem: CursorLine highlight used while 'cursorline' is off. 39250Solution: Check 'cursorline' is set. (cloes #5017) 39251Files: src/drawline.c, src/testdir/test_cursorline.vim 39252 39253Patch 8.1.2118 39254Problem: Termcodes test fails when $TERM is "dumb". 39255Solution: Skip the test. (James McCoy, closes #5019) 39256Files: src/testdir/test_termcodes.vim 39257 39258Patch 8.1.2119 39259Problem: memory access error for empty string when 'encoding' is a single 39260 byte encoding. 39261Solution: Check for empty string when getting the length. (Dominique Pelle, 39262 closes #5021, closes #5007) 39263Files: src/macros.h 39264 39265Patch 8.1.2120 39266Problem: Some MB_ macros are more complicated than necessary. (Dominique 39267 Pelle) 39268Solution: Simplify the macros. Expand inline. 39269Files: src/macros.h, src/beval.c, src/diff.c src/eval.c src/evalfunc.c 39270 src/ex_getln.c, src/filepath.c, src/findfile.c, src/getchar.c, 39271 src/highlight.c, src/ops.c, src/os_mswin.c, src/popupmenu.c, 39272 src/search.c, src/spell.c, src/spellsuggest.c, src/terminal.c 39273 39274Patch 8.1.2121 39275Problem: Mode is not updated when switching to terminal in Insert mode. 39276Solution: Redraw the mode when entering a terminal window. (Jason Franklin) 39277Files: src/window.c, src/testdir/test_window_cmd.vim 39278 39279Patch 8.1.2122 (after 8.1.2121) 39280Problem: Cannot build without terminal feature. 39281Solution: Add #ifdef. 39282Files: src/window.c 39283 39284Patch 8.1.2123 39285Problem: Parsing CSI sequence is messy. 39286Solution: Generalize parsing a CSI sequence. 39287Files: src/term.c 39288 39289Patch 8.1.2124 39290Problem: Ruler is not updated if win_execute() moves cursor. 39291Solution: Update the status line. (closes #5022) 39292Files: src/evalwindow.c, src/testdir/test_execute_func.vim 39293 39294Patch 8.1.2125 39295Problem: Fnamemodify() fails when repeating :e. 39296Solution: Do not go before the tail. (Rob Pilling, closes #5024) 39297Files: src/filepath.c, src/testdir/test_fnamemodify.vim 39298 39299Patch 8.1.2126 39300Problem: Viminfo not sufficiently tested. 39301Solution: Add more test cases. Clean up comments. (Yegappan Lakshmanan, 39302 closes #5032) 39303Files: src/search.c, src/structs.h, src/testdir/test_viminfo.vim, 39304 src/viminfo.c 39305 39306Patch 8.1.2127 39307Problem: The indent.c file is a bit big. 39308Solution: Move C-indent code to a new cindent.c file. Move other 39309 indent-related code to indent.c. (Yegappan Lakshmanan, 39310 closes #5031) 39311Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak, 39312 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md, 39313 src/change.c, src/cindent.c, src/edit.c, src/evalfunc.c, 39314 src/ex_cmds.c, src/globals.h, src/indent.c, src/misc1.c, 39315 src/ops.c, src/proto.h, src/proto/cindent.pro, src/proto/edit.pro, 39316 src/proto/ex_cmds.pro, src/proto/indent.pro, src/proto/misc1.pro, 39317 src/proto/ops.pro, src/userfunc.c 39318 39319Patch 8.1.2128 39320Problem: Renamed libvterm sources makes merging difficult. 39321Solution: Rename back to the original name and only rename the .o files. 39322 Also clean the libvterm build artifacts. (James McCoy, 39323 closes #5027) 39324Files: src/libvterm/src/termmouse.c, src/libvterm/src/mouse.c, 39325 src/libvterm/src/termscreen.c, src/libvterm/src/screen.c, 39326 src/Makefile, src/configure.ac, src/auto/configure, 39327 src/Make_cyg_ming.mak, src/Make_mvc.mak 39328 39329Patch 8.1.2129 39330Problem: Using hard coded executable path in test. 39331Solution: Use v:progpath. Use $VIMRUNTIME instead of "runtime". (James 39332 McCoy, closes #5025) 39333Files: src/testdir/test49.vim, src/testdir/test_compiler.vim, 39334 src/testdir/test_spell.vim 39335 39336Patch 8.1.2130 (after 8.1.2128) 39337Problem: MSVC build fails. 39338Solution: Add the source file name explicitly. 39339Files: src/Make_mvc.mak 39340 39341Patch 8.1.2131 (after 8.1.2129) 39342Problem: MSVC tests fail. 39343Solution: Replace backslashes with slashes. 39344Files: src/testdir/test_compiler.vim, src/testdir/test_spell.vim 39345 39346Patch 8.1.2132 39347Problem: MS-Windows: screen mess when not recognizing insider build. 39348Solution: Always move the cursor to the first column first. (Nobuhiro 39349 Takasaki, closes #5036) 39350Files: src/os_win32.c 39351 39352Patch 8.1.2133 39353Problem: Some tests fail when run as root. 39354Solution: Add CheckNotRoot and use it. (James McCoy, closes #5020) 39355Files: src/testdir/check.vim, src/testdir/shared.vim, 39356 src/testdir/test_rename.vim, src/testdir/test_swap.vim, 39357 src/testdir/test_terminal.vim, src/testdir/test_viminfo.vim 39358 39359Patch 8.1.2134 39360Problem: Modifier keys are not always recognized. 39361Solution: Handle key codes generated by xterm with modifyOtherKeys set. 39362 Add this to libvterm so we can debug it. 39363Files: src/term.c, src/getchar.c, src/libvterm/src/vterm_internal.h, 39364 src/libvterm/src/state.c, src/libvterm/src/keyboard.c, 39365 src/libvterm/include/vterm.h, src/globals.h, src/terminal.c 39366 39367Patch 8.1.2135 39368Problem: With modifyOtherKeys Alt-a does not work properly. 39369Solution: Remove the ALT modifier. Get multi-byte after applying ALT. 39370Files: src/getchar.c 39371 39372Patch 8.1.2136 39373Problem: using freed memory with autocmd from fuzzer. (Dhiraj Mishra, 39374 Dominique Pelle) 39375Solution: Avoid using "wp" after autocommands. (closes #5041) 39376Files: src/window.c, src/testdir/test_autocmd.vim 39377 39378Patch 8.1.2137 39379Problem: Parsing the termresponse is not tested. 39380Solution: Add a first test. (related to #5042) 39381Files: src/testdir/test_termcodes.vim 39382 39383Patch 8.1.2138 39384Problem: Including the build number in the Win32 binary is confusing. 39385Solution: Only use the patchlevel. 39386Files: src/vim.rc 39387 39388Patch 8.1.2139 39389Problem: The modifyOtherKeys codes are not tested. 39390Solution: Add a test case. 39391Files: src/testdir/test_termcodes.vim 39392 39393Patch 8.1.2140 39394Problem: "gk" and "gj" do not work correctly in number column. 39395Solution: Allow for a negative "curswant". (Zach Wegner, closes #4969) 39396Files: src/testdir/test_normal.vim, src/misc2.c, src/normal.c 39397 39398Patch 8.1.2141 39399Problem: :tselect has an extra hit-enter prompt. 39400Solution: Do not set need_wait_return when only moving the cursor. 39401 (closes #5040) 39402Files: src/message.c, src/testdir/test_tagjump.vim, 39403 src/testdir/dumps/Test_tselect_1.dump 39404 39405Patch 8.1.2142 39406Problem: Some key mappings do not work with modifyOtherKeys. 39407Solution: Remove the Shift modifier if it is already included in the key. 39408Files: src/term.c, src/testdir/test_termcodes.vim 39409 39410Patch 8.1.2143 39411Problem: Cannot see each command even when 'verbose' is set. 39412Solution: List each command when 'verbose' is at least 16. 39413Files: src/ex_docmd.c src/testdir/test_tagjump.vim, 39414 src/testdir/test_cmdline.vim, 39415 src/testdir/dumps/Test_verbose_option_1.dump 39416 39417Patch 8.1.2144 39418Problem: Side effects when using t_ti to enable modifyOtherKeys. 39419Solution: Add t_TI and t_TE. 39420Files: runtime/doc/term.txt, src/term.c, src/optiondefs.h, src/term.h, 39421 39422Patch 8.1.2145 39423Problem: Cannot map <C-H> when modifyOtherKeys is enabled. 39424Solution: Add the <C-H> mapping twice, both with modifier and as 0x08. Use 39425 only the first one when modifyOtherKeys has been detected. 39426Files: src/term.c, src/eval.c, src/getchar.c, src/globals.h, 39427 src/gui_mac.c, src/gui_w32.c, src/highlight.c, src/if_ole.cpp, 39428 src/main.c, src/map.c, src/menu.c, src/misc2.c, src/option.c, 39429 src/proto/misc2.pro, src/proto/term.pro, 39430 src/testdir/test_termcodes.vim, src/structs.h, src/terminal.c, 39431 src/usercmd.c, src/vim.h 39432 39433Patch 8.1.2146 (after 8.1.2145) 39434Problem: Build failure. 39435Solution: Include omitted changed file. 39436Files: src/optionstr.c 39437 39438Patch 8.1.2147 39439Problem: Crash when allocating memory fails. (Zu-Ming Jiang) 39440Solution: Check that 'spellcapcheck' is not NULL. (closes #5048) 39441Files: src/spell.c 39442 39443Patch 8.1.2148 39444Problem: No test for right click extending Visual area. 39445Solution: Add a test. (Dominique Pelle, closes #5018) 39446Files: src/testdir/test_termcodes.vim 39447 39448Patch 8.1.2149 39449Problem: Crash when running out of memory very early. 39450Solution: Do not use IObuff when it's NULL. (closes #5052) 39451Files: src/message.c 39452 39453Patch 8.1.2150 39454Problem: No test for 'ttymouse' set from xterm version response. 39455Solution: Test the three possible values. 39456Files: src/testdir/test_termcodes.vim 39457 39458Patch 8.1.2151 39459Problem: State test is a bit flaky. 39460Solution: Add to the list of flaky tests. 39461Files: src/testdir/runtest.vim 39462 39463Patch 8.1.2152 39464Problem: Problems navigating tags file on MacOS Catalina. 39465Solution: Use fseek instead of lseek. (John Lamb, fixes #5061) 39466Files: src/tag.c 39467 39468Patch 8.1.2153 39469Problem: Combining text property and syntax highlight is wrong. (Nick 39470 Jensen) 39471Solution: Compute the syntax highlight attribute much earlier. 39472 (closes #5057) 39473Files: src/drawline.c, src/testdir/test_textprop.vim, 39474 src/testdir/dumps/Test_textprop_syn_1.dump 39475 39476Patch 8.1.2154 39477Problem: Quickfix window height wrong when there is a tabline. (Daniel 39478 Hahler) 39479Solution: Take the tabline height into account. (closes #5058) 39480Files: src/quickfix.c, src/testdir/test_quickfix.vim 39481 39482Patch 8.1.2155 39483Problem: In a terminal window 'cursorlineopt' does not work properly. 39484Solution: Check the 'cursorlineopt' value. (closes #5055) 39485Files: src/drawline.c, src/testdir/test_terminal.vim, 39486 src/testdir/dumps/Test_terminal_normal_1.dump, 39487 src/testdir/dumps/Test_terminal_normal_2.dump, 39488 src/testdir/dumps/Test_terminal_normal_3.dump 39489 39490Patch 8.1.2156 39491Problem: First character after Tab is not highlighted. 39492Solution: Remember the syntax attribute for a column. 39493Files: src/drawline.c, src/testdir/test_syntax.vim, 39494 src/testdir/dumps/Test_syntax_c_01.dump 39495 39496Patch 8.1.2157 39497Problem: Libvterm source files missing from distribution. 39498Solution: Rename source files. (closes #5065) 39499Files: Filelist 39500 39501Patch 8.1.2158 39502Problem: Terminal attributes missing in Terminal-normal mode. 39503Solution: Use "syntax_attr". 39504Files: src/drawline.c, src/testdir/test_terminal.vim, 39505 src/testdir/dumps/Test_terminal_dumpload.dump 39506 39507Patch 8.1.2159 39508Problem: Some mappings are listed twice. 39509Solution: Skip mappings duplicated for modifyOtherKeys. (closes #5064) 39510Files: src/map.c, src/testdir/test_mapping.vim 39511 39512Patch 8.1.2160 39513Problem: Cannot build with +syntax but without +terminal. 39514Solution: Add #ifdef. 39515Files: src/drawline.c 39516 39517Patch 8.1.2161 39518Problem: Mapping test fails. 39519Solution: Run the test separately. 39520Files: src/testdir/Make_all.mak, src/testdir/test_alot.vim 39521 39522Patch 8.1.2162 39523Problem: Popup resize test is flaky. (Christian Brabandt) 39524Solution: Add the function to the list of flaky tests. 39525Files: src/testdir/runtest.vim 39526 39527Patch 8.1.2163 39528Problem: Cannot build with +spell but without +syntax. 39529Solution: Add #ifdef. (John Marriott) 39530Files: src/drawline.c 39531 39532Patch 8.1.2164 39533Problem: Stuck when using "j" in a popupwin with popup_filter_menu if a 39534 line wraps. 39535Solution: Check the cursor line is visible. (closes #4577) 39536Files: src/popupwin.c, src/testdir/test_popupwin.vim, 39537 src/testdir/dumps/Test_popupwin_wrap_1.dump, 39538 src/testdir/dumps/Test_popupwin_wrap_2.dump 39539 39540Patch 8.1.2165 39541Problem: Mapping test fails on Mac. 39542Solution: Remove the default Mac mapping. 39543Files: src/testdir/test_mapping.vim 39544 39545Patch 8.1.2166 39546Problem: Rubyeval() not tested as a method. 39547Solution: Change a test case. 39548Files: src/testdir/test_ruby.vim 39549 39550Patch 8.1.2167 39551Problem: Mapping test fails on MS-Windows. 39552Solution: Remove all the existing Insert-mode mappings. 39553Files: src/testdir/test_mapping.vim 39554 39555Patch 8.1.2168 39556Problem: Heredoc assignment not skipped in if block. 39557Solution: Check if "skip" is set. (closes #5063) 39558Files: src/evalvars.c, src/testdir/test_let.vim 39559 39560Patch 8.1.2169 39561Problem: Terminal flags are never reset. 39562Solution: Reset the flags when setting 'term'. 39563Files: src/term.c, src/testdir/test_termcodes.vim 39564 39565Patch 8.1.2170 (after 8.1.2169) 39566Problem: Cannot build without the +termresponse feature. 39567Solution: Add #ifdef. 39568Files: src/term.c 39569 39570Patch 8.1.2171 39571Problem: Mouse support not always available. 39572Solution: Enable mouse support also in tiny version. Do not define 39573 FEAT_MOUSE_XTERM on MS-Windows (didn't really work). 39574Files: src/feature.h, src/edit.c, src/evalfunc.c, src/ex_getln.c, 39575 src/getchar.c, src/message.c, src/misc1.c, src/mouse.c, 39576 src/move.c, src/normal.c, src/ops.c, src/option.c, 39577 src/optionstr.c, src/os_unix.c, src/os_win32.c, src/register.c, 39578 src/term.c, src/testing.c, src/window.c, src/globals.h, 39579 src/option.h, src/optiondefs.h, src/os_win32.h, src/vim.h, 39580 src/version.c 39581 39582Patch 8.1.2172 39583Problem: Spell highlight is wrong at start of the line. 39584Solution: Fix setting the "v" variable. (closes #5078) 39585Files: src/drawline.c, src/testdir/test_spell.vim, 39586 src/testdir/dumps/Test_spell_1.dump 39587 39588Patch 8.1.2173 39589Problem: Searchit() has too many arguments. 39590Solution: Move optional arguments to a struct. Add the "wrapped" argument. 39591Files: src/search.c, src/proto/search.pro, src/structs.h, src/evalfunc.c, 39592 src/ex_docmd.c, src/gui.c, src/quickfix.c, src/spell.c, src/tag.c, 39593 src/ex_getln.c, src/insexpand.c, src/normal.c 39594 39595Patch 8.1.2174 39596Problem: Screen not recognized as supporting "sgr" mouse codes. 39597Solution: Recognize screen 4.7. (Jordan Christiansen, closes #5042) 39598Files: src/term.c, src/testdir/test_termcodes.vim 39599 39600Patch 8.1.2175 39601Problem: Meson files are not recognized. 39602Solution: Add the meson filetype. (Liam Beguin, Nirbheek Chauhan, 39603 closes #5056) Also recognize hollywood. 39604Files: runtime/filetype.vim, src/testdir/test_filetype.vim 39605 39606Patch 8.1.2176 39607Problem: Syntax attributes not combined with Visual highlighting. (Arseny 39608 Nasokin) 39609Solution: Combine the attributes. (closes #5083) 39610Files: src/drawline.c, src/testdir/test_syntax.vim, 39611 src/testdir/dumps/Test_syntax_c_01.dump 39612 39613Patch 8.1.2177 39614Problem: Dart files are not recognized. 39615Solution: Add a filetype rule. (Eugene Ciurana, closes #5087) 39616Files: runtime/filetype.vim, src/testdir/test_filetype.vim 39617 39618Patch 8.1.2178 39619Problem: Accessing uninitialized memory in test. 39620Solution: Check if there was a match before using the match position. 39621 (Dominique Pelle, closes #5088) 39622Files: src/search.c 39623 39624Patch 8.1.2179 39625Problem: Pressing "q" at the more prompt doesn't stop Python output. (Daniel 39626 Hahler) 39627Solution: Check for got_int in writer(). (closes #5053) 39628 Also do this for Lua. 39629Files: src/if_py_both.h, src/if_lua.c 39630 39631Patch 8.1.2180 39632Problem: Error E303 is not useful when 'directory' is empty. 39633Solution: Skip the error message. (Daniel Hahler, #5067) 39634Files: src/memline.c, src/testdir/test_recover.vim, 39635 runtime/doc/options.txt, runtime/doc/message.txt 39636 39637Patch 8.1.2181 39638Problem: Highlighting wrong when item follows tab. 39639Solution: Don't use syntax attribute when n_extra is non-zero. 39640 (Christian Brabandt, closes #5076) 39641Files: src/drawline.c, src/feature.h, 39642 src/testdir/dumps/Test_syntax_c_01.dump 39643 39644Patch 8.1.2182 39645Problem: Test42 seen as binary by git diff. 39646Solution: Add .gitattributes file. Make explicit that 'cpo' does not 39647 contain 'S'. (Daniel Hahler, closes #5072) 39648Files: .gitattributes, Filelist, src/testdir/test42.in 39649 39650Patch 8.1.2183 39651Problem: Running a test is a bit verbose. 39652Solution: Silence some messages. (Daniel Hahler, closes #5070) 39653Files: src/testdir/Makefile 39654 39655Patch 8.1.2184 39656Problem: Option context is not copied when splitting a window. (Daniel 39657 Hahler) 39658Solution: Copy the option context, so that ":verbose set" works. 39659 (closes #5066) 39660Files: src/option.c, src/testdir/test_options.vim 39661 39662Patch 8.1.2185 (after 8.1.2181) 39663Problem: Syntax test fails. 39664Solution: Add missing file patch. 39665Files: src/testdir/test_syntax.vim 39666 39667Patch 8.1.2186 (after 8.1.2184) 39668Problem: Cannot build without the +eval feature. 39669Solution: Move line inside #ifdef. 39670Files: src/option.c 39671 39672Patch 8.1.2187 39673Problem: Error for bad regexp even though regexp is not used when writing 39674 a file. (Arseny Nasokin) 39675Solution: Ignore regexp errors. (closes #5059) 39676Files: src/cmdexpand.c, src/ex_docmd.c, src/testdir/test_writefile.vim 39677 39678Patch 8.1.2188 (after 8.1.2187) 39679Problem: Build error for missing define. 39680Solution: Add missing change. 39681Files: src/vim.h 39682 39683Patch 8.1.2189 39684Problem: Syntax highlighting wrong for tab. 39685Solution: Don't clear syntax attribute n_extra is non-zero. 39686Files: src/drawline.c, src/testdir/test_syntax.vim, 39687 src/testdir/dumps/Test_syntax_c_01.dump 39688 39689Patch 8.1.2190 39690Problem: Syntax test fails on Mac. 39691Solution: Limit the window size to 20 rows. 39692Files: src/testdir/test_syntax.vim, 39693 src/testdir/dumps/Test_syntax_c_01.dump 39694 39695Patch 8.1.2191 39696Problem: When using modifyOtherKeys CTRL-X mode may not work. 39697Solution: Recognize a control character also in the form with a modifier. 39698Files: src/getchar.c 39699 39700Patch 8.1.2192 39701Problem: Cannot easily fill the info popup asynchronously. 39702Solution: Add the "popuphidden" value to 'completeopt'. (closes #4924) 39703Files: src/popupmenu.c, src/proto/popupmenu.pro, src/popupwin.c, 39704 src/proto/popupwin.pro, src/vim.h, runtime/doc/options.txt, 39705 runtime/doc/insert.txt, src/ex_cmds.c, src/proto/ex_cmds.pro, 39706 src/optionstr.c, src/testdir/test_popupwin.vim, 39707 src/testdir/dumps/Test_popupwin_infopopup_hidden_1.dump, 39708 src/testdir/dumps/Test_popupwin_infopopup_hidden_2.dump, 39709 src/testdir/dumps/Test_popupwin_infopopup_hidden_3.dump 39710 39711Patch 8.1.2193 39712Problem: Popup_setoptions(popup_getoptions()) does not work. 39713Solution: Also accept a list with three entries for "moved" and 39714 "mousemoved". (closes #5081) 39715Files: runtime/doc/popup.txt, src/popupwin.c, 39716 src/testdir/test_popupwin.vim 39717 39718Patch 8.1.2194 39719Problem: ModifyOtherKeys is not enabled by default. 39720Solution: Add t_TI and t_TE to the builtin xterm termcap. 39721Files: runtime/doc/map.txt, src/term.c 39722 39723Patch 8.1.2195 39724Problem: Vim does not exit when closing a terminal window and it is the 39725 last window. 39726Solution: Exit Vim if the closed terminal window is the last one. 39727 (closes #4539) 39728Files: runtime/doc/terminal.txt, src/terminal.c, src/ex_docmd.c, 39729 src/proto/ex_docmd.pro, src/testdir/test_terminal.vim 39730 39731Patch 8.1.2196 39732Problem: MS-Windows: running tests with MSVC lacks updates. 39733Solution: Improve running individual tests on MS-Windows. (closes #4922) 39734Files: src/Make_mvc.mak, src/testdir/Make_dos.mak 39735 39736Patch 8.1.2197 39737Problem: ExitPre autocommand may cause accessing freed memory. 39738Solution: Check the window pointer is still valid. (closes #5093) 39739Files: src/testdir/test_exit.vim, src/ex_docmd.c 39740 39741Patch 8.1.2198 39742Problem: Crash when using :center in autocommand. 39743Solution: Bail out early for an empty line. (Dominique pelle, closes #5095) 39744Files: src/ex_cmds.c, src/testdir/test_textformat.vim 39745 39746Patch 8.1.2199 39747Problem: Build failure when using normal features without GUI and EXITFREE 39748 defined. 39749Solution: Add #ifdef. (Dominique Pelle, closes #5106) 39750Files: src/scriptfile.c 39751 39752Patch 8.1.2200 39753Problem: Crash when memory allocation fails. 39754Solution: Check for NULL curwin and curbuf. (Christian Brabandt, 39755 closes #4839) 39756Files: src/getchar.c 39757 39758Patch 8.1.2201 39759Problem: Cannot build with dynamically linked Python 3.8. 39760Solution: Implement py3__Py_DECREF() and py3__Py_XDECREF(). (Ken Takata, 39761 closes #4080) 39762Files: src/if_python3.c 39763 39764Patch 8.1.2202 39765Problem: MS-Windows: build failure with GUI and small features. 39766Solution: Add #ifdef. (Michael Soyka, closes #5097) 39767Files: src/gui_w32.c 39768 39769Patch 8.1.2203 39770Problem: Running libvterm tests without the +terminal feature. 39771Solution: Only add the libvterm test target when building libvterm. 39772Files: src/configure.ac, src/auto/configure, src/config.mk.in, 39773 src/Makefile 39774 39775Patch 8.1.2204 39776Problem: Crash on exit when closing terminals. (Corey Hickey) 39777Solution: Actually wait for the job to stop. (closes #5100) 39778Files: src/terminal.c 39779 39780Patch 8.1.2205 39781Problem: Sign entry structure has confusing name. 39782Solution: Rename signlist_T to sign_entry_T and prefix se_ to the fields. 39783Files: src/structs.h, src/netbeans.c, src/sign.c, src/globals.h, 39784 src/drawline.c 39785 39786Patch 8.1.2206 39787Problem: No test for fixed issue #3893. 39788Solution: Add a test. (Christian Brabandt, #3893) 39789Files: src/testdir/test_display.vim, 39790 src/testdir/dumps/Test_winline_rnu.dump 39791 39792Patch 8.1.2207 39793Problem: "gn" doesn't work quite right. (Jaehwang Jerry Jung) 39794Solution: Improve and simplify the search logic. (Christian Brabandt, 39795 closes #5103, closes #5075) 39796Files: src/search.c, src/testdir/test_gn.vim 39797 39798Patch 8.1.2208 39799Problem: Unix: Tabs in output might be expanded to spaces. 39800Solution: Reset the XTABS flag. (closes #5108) 39801Files: src/os_unix.c 39802 39803Patch 8.1.2209 39804Problem: LF in escape codes may be expanded to CR-LF. 39805Solution: Do not expand LF in escape codes to CR-LF. (closes #5107) 39806Files: src/term.c 39807 39808Patch 8.1.2210 39809Problem: Using negative offset for popup_create() does not work. 39810Solution: Use -1 instead of zero. (closes #5111) 39811Files: src/popupwin.c, src/popupwin.vim, src/testdir/test_popupwin.vim, 39812 src/testdir/dumps/Test_popupwin_corners.dump 39813 39814Patch 8.1.2211 39815Problem: Listener callback "added" argument is not the total. (Andy 39816 Massimino) 39817Solution: Compute the total. (closes #5105) 39818Files: src/change.c, src/testdir/test_listener.vim 39819 39820Patch 8.1.2212 39821Problem: Cannot see the selection type in :reg output. (Ayberk Aydın) 39822Solution: Add c/l/b. (Christian Brabandt, closes #5110, closes #4546) 39823Files: runtime/doc/change.txt, src/register.c, 39824 src/testdir/test_registers.vim 39825 39826Patch 8.1.2213 39827Problem: Popup_textprop tests fail. 39828Solution: Adjust the column and line positioning. 39829Files: src/popupwin.c 39830 39831Patch 8.1.2214 39832Problem: Too much is redrawn when 'cursorline' is set. 39833Solution: Don't do a complete redraw. (closes #5079) 39834Files: src/main.c, src/change.c, src/drawscreen.c, 39835 src/testdir/dumps/Test_Xcursorline_13.dump, 39836 src/testdir/dumps/Test_Xcursorline_14.dump, 39837 src/testdir/dumps/Test_Xcursorline_15.dump, 39838 src/testdir/dumps/Test_Xcursorline_16.dump, 39839 src/testdir/dumps/Test_Xcursorline_17.dump, 39840 src/testdir/dumps/Test_Xcursorline_18.dump 39841 39842Patch 8.1.2215 39843Problem: Unreachable code in adjusting text prop columns. 39844Solution: Remove the code. (Christian Brabandt) 39845Files: src/textprop.c 39846 39847Patch 8.1.2216 39848Problem: Text property in wrong place after :substitute. 39849Solution: Pass the new column instead of the old one. (Christian Brabandt, 39850 closes #4427) 39851Files: src/ex_cmds.c, src/testdir/test_textprop.vim 39852 39853Patch 8.1.2217 39854Problem: Compiler warning for unused variable. 39855Solution: Move variable inside #ifdef. (John Marriott) 39856Files: src/ex_cmds.c 39857 39858Patch 8.1.2218 39859Problem: "gN" is off by one in Visual mode. 39860Solution: Check moving forward. (Christian Brabandt, #5075) 39861Files: src/search.c, src/testdir/test_gn.vim 39862 39863Patch 8.1.2219 39864Problem: No autocommand for open window with terminal. 39865Solution: Add TerminalWinOpen. (Christian Brabandt) 39866Files: runtime/doc/autocmd.txt, src/autocmd.c, src/terminal.c, 39867 src/testdir/test_terminal.vim, src/vim.h 39868 39869Patch 8.1.2220 39870Problem: :cfile does not abort like other quickfix commands. 39871Solution: Abort when desired. Add tests for aborting. (Yegappan Lakshmanan, 39872 closes #5121) 39873Files: src/quickfix.c, src/testdir/test_quickfix.vim 39874 39875Patch 8.1.2221 39876Problem: Cannot filter :disp output. 39877Solution: Support filtering :disp output. (Andy Massimino, closes #5117) 39878Files: runtime/doc/various.txt, src/register.c, 39879 src/testdir/test_filter_cmd.vim 39880 39881Patch 8.1.2222 39882Problem: Accessing invalid memory. (Dominique Pelle) 39883Solution: Reset highlight_match every time. (closes #5125) 39884Files: src/ex_getln.c 39885 39886Patch 8.1.2223 39887Problem: Cannot see what buffer an ml_get error is for. 39888Solution: Add the buffer number and name in the message 39889Files: src/memline.c 39890 39891Patch 8.1.2224 39892Problem: Cannot build Amiga version. 39893Solution: Add dummy mch_setmouse(). (Ola Söder, closes #5126) 39894Files: src/os_amiga.c, src/proto/os_amiga.pro 39895 39896Patch 8.1.2225 39897Problem: The "last used" info of a buffer is under used. 39898Solution: Add "lastused" to getbufinfo(). List buffers sorted by last-used 39899 field. (Andy Massimino, closes #4722) 39900Files: runtime/doc/eval.txt, runtime/doc/options.txt, 39901 runtime/doc/windows.txt, src/buffer.c, src/evalbuffer.c, 39902 src/ex_getln.c, src/misc1.c, src/option.c, src/option.h, 39903 src/proto/misc1.pro, src/proto/viminfo.pro, 39904 src/testdir/test_bufwintabinfo.vim, src/testdir/test_cmdline.vim, 39905 src/testdir/test_excmd.vim, src/undo.c, src/vim.h, src/viminfo.c 39906 39907Patch 8.1.2226 39908Problem: Cannot use system copy/paste in non-xterm terminals. 39909Solution: Instead of setting 'mouse' to "a" set it to "nvi" in defaults.vim. 39910Files: runtime/defaults.vim, runtime/doc/term.txt, 39911 runtime/doc/options.txt 39912 39913Patch 8.1.2227 39914Problem: Layout wrong if 'lines' changes while cmdline window is open. 39915Solution: Do not restore the window layout if 'lines' changed. 39916 (closes #5130) 39917Files: src/window.c, src/testdir/test_cmdline.vim, 39918 src/testdir/dumps/Test_cmdwin_restore_1.dump, 39919 src/testdir/dumps/Test_cmdwin_restore_2.dump, 39920 src/testdir/dumps/Test_cmdwin_restore_3.dump 39921 39922Patch 8.1.2228 39923Problem: screenpos() returns wrong values when 'number' is set. (Ben 39924 Jackson) 39925Solution: Compare the column with the window width. (closes #5133) 39926Files: src/move.c, src/testdir/test_cursor_func.vim 39927 39928Patch 8.1.2229 39929Problem: Cannot color number column above/below cursor differently. 39930Solution: Add LineNrAbove and LineNrBelow. (Shaun Brady, closes #624) 39931Files: runtime/doc/syntax.txt, runtime/doc/options.txt, src/optiondefs.h, 39932 src/drawline.c, src/vim.h, src/testdir/test_number.vim, 39933 src/testdir/dumps/Test_relnr_colors_1.dump, 39934 src/testdir/dumps/Test_relnr_colors_2.dump, 39935 src/testdir/dumps/Test_relnr_colors_3.dump, 39936 src/testdir/dumps/Test_relnr_colors_4.dump 39937 39938Patch 8.1.2230 39939Problem: MS-Windows: testing external commands can be improved. 39940Solution: Adjust tests, remove duplicate test. (closes #4928) 39941Files: src/testdir/test_normal.vim, src/testdir/test_system.vim, 39942 src/testdir/test_terminal.vim, src/testdir/test_undo.vim 39943 39944Patch 8.1.2231 39945Problem: Not easy to move to the middle of a text line. 39946Solution: Add the gM command. (Yasuhiro Matsumoto, closes #2070) 39947Files: runtime/doc/index.txt, runtime/doc/motion.txt, 39948 runtime/doc/quickref.txt, runtime/doc/usr_25.txt, src/normal.c, 39949 src/testdir/test_normal.vim 39950 39951Patch 8.1.2232 39952Problem: MS-Windows: compiler warning for int size. 39953Solution: Add type cast. (Mike Williams) 39954Files: src/normal.c 39955 39956Patch 8.1.2233 39957Problem: Cannot get the Vim command line arguments. 39958Solution: Add v:argv. (Dmitri Vereshchagin, closes #1322) 39959Files: runtime/doc/eval.txt, src/evalvars.c, src/vim.h, 39960 src/proto/evalvars.pro, src/main.c, src/testdir/test_startup.vim 39961 39962Patch 8.1.2234 39963Problem: get_short_pathname() fails depending on encoding. 39964Solution: Use the wide version of the library function. (closes #5129) 39965Files: src/filepath.c, src/testdir/test_shortpathname.vim 39966 39967Patch 8.1.2235 39968Problem: "C" with 'virtualedit' set does not include multi-byte char. 39969Solution: Include the whole multi-byte char. (Nobuhiro Takasaki, 39970 closes #5152) 39971Files: src/ops.c, src/testdir/test_virtualedit.vim 39972 39973Patch 8.1.2236 39974Problem: Ml_get error if pattern matches beyond last line. 39975Solution: Adjust position if needed. (Christian Brabandt, closes #5139) 39976Files: src/ex_cmds.c, src/testdir/test_substitute.vim 39977 39978Patch 8.1.2237 39979Problem: Mode() result after using "r" depends on whether CURSOR_SHAPE is 39980 defined. (Christian Brabandt) 39981Solution: Move the #ifdef to only skip ui_cursor_shape(). 39982Files: src/normal.c 39983 39984Patch 8.1.2238 39985Problem: Error in docs tags goes unnoticed. 39986Solution: Adjust tags build command. (Ken Takata, closes #5158) 39987Files: Filelist, .travis.yml, runtime/doc/Makefile, 39988 runtime/doc/doctags.vim 39989 39990Patch 8.1.2239 39991Problem: CI fails when running tests without building Vim. 39992Solution: Skip creating doc tags if the execute does not exist. 39993Files: runtime/doc/Makefile 39994 39995Patch 8.1.2240 39996Problem: Popup window width changes when scrolling. 39997Solution: Also adjust maxwidth when applying minwidth and there is a 39998 scrollbar. Fix off-by-one error. (closes #5162) 39999Files: src/popupwin.c, src/testdir/test_popupwin.vim, 40000 src/testdir/dumps/Test_popupwin_scroll_11.dump, 40001 src/testdir/dumps/Test_popupwin_scroll_12.dump, 40002 src/testdir/dumps/Test_popupwin_previewpopup_4.dump, 40003 src/testdir/dumps/Test_popupwin_previewpopup_5.dump, 40004 src/testdir/dumps/Test_popupwin_previewpopup_7.dump, 40005 src/testdir/dumps/Test_popupwin_previewpopup_8.dump, 40006 40007Patch 8.1.2241 40008Problem: Match highlight does not combine with 'wincolor'. 40009Solution: Apply 'wincolor' last on top of any other attribute. (closes #5159) 40010Files: src/drawline.c, src/testdir/test_popupwin.vim, 40011 src/testdir/dumps/Test_popupwin_matches.dump 40012 src/testdir/dumps/Test_popupwin_menu_01.dump 40013 src/testdir/dumps/Test_popupwin_menu_02.dump 40014 src/testdir/dumps/Test_popupwin_menu_04.dump 40015 40016Patch 8.1.2242 40017Problem: Creating docs tags uses user preferences. (Tony Mechelynck) 40018Solution: Add "--clean". 40019Files: runtime/doc/Makefile 40020 40021Patch 8.1.2243 40022Problem: Typos in comments. 40023Solution: Fix the typos. (Dominique Pelle, closes #5160) Also adjust 40024 formatting a bit. 40025Files: src/autocmd.c, src/buffer.c, src/cindent.c, src/crypt.c, 40026 src/diff.c, src/getchar.c, src/globals.h, src/gui_gtk_x11.c, 40027 src/highlight.c, src/insexpand.c, src/macros.h, src/map.c, 40028 src/memline.c, src/message.c, src/option.c, src/os_unix.c, 40029 src/pty.c, src/quickfix.c, src/regexp_nfa.c, src/register.c, 40030 src/spellsuggest.c, src/structs.h, src/textprop.c, src/ui.c, 40031 src/undo.c, src/vim.h, src/viminfo.c 40032 40033Patch 8.1.2244 40034Problem: 'wrapscan' is not used for "gn". 40035Solution: Only reset 'wrapscan' for the first search round. (closes #5164) 40036Files: src/search.c, src/testdir/test_gn.vim 40037 40038Patch 8.1.2245 40039Problem: Third character of 'listchars' tab shows in wrong place when 40040 'breakindent' is set. 40041Solution: Set c_final to NUL. (Naruhiko Nishino, closes #5165) 40042Files: src/drawline.c, src/testdir/test_breakindent.vim 40043 40044Patch 8.1.2246 40045Problem: Some tests are still in old style. 40046Solution: Change a few tests to new style. (Yegappan Lakshmanan) 40047Files: src/testdir/Make_all.mak, src/testdir/test49.ok, 40048 src/testdir/test49.vim, src/testdir/test_trycatch.vim, 40049 src/testdir/test_vimscript.vim 40050 40051Patch 8.1.2247 40052Problem: "make vimtags" does not work in runtime/doc. 40053Solution: Test existence with "which" instead of "test -x". (Ken Takata) 40054Files: runtime/doc/Makefile 40055 40056Patch 8.1.2248 40057Problem: CTRL-W dot does not work in a terminal when modifyOtherKeys is 40058 enabled. 40059Solution: Use the modifier when needed. Pass the modifier along with the 40060 key to avoid mistakes. 40061Files: src/terminal.c, src/proto/terminal.pro, src/mouse.c 40062 40063Patch 8.1.2249 40064Problem: "make vimtags" does not print any message. 40065Solution: Add a message that the tags have been updated. 40066Files: runtime/doc/Makefile 40067 40068Patch 8.1.2250 40069Problem: CTRL-U and CTRL-D don't work in popup window. 40070Solution: Initialize 'scroll'. Add "lastline" in popup_getpos(). 40071 (closes #5170) 40072Files: src/popupwin.c, src/testdir/test_popupwin.vim, 40073 runtime/doc/popup.txt 40074 40075Patch 8.1.2251 40076Problem: ":term command" may not work without a shell. 40077Solution: Add the ++shell option to :term. (closes #3340) 40078Files: runtime/doc/terminal.txt, src/terminal.c, 40079 src/os_unix.c, src/proto/os_unix.pro, 40080 src/testdir/test_terminal.vim 40081 40082Patch 8.1.2252 40083Problem: Compiler warning for int size. 40084Solution: Add type cast. (Mike Williams) 40085Files: src/filepath.c 40086 40087Patch 8.1.2253 40088Problem: Using "which" to check for an executable is not reliable. 40089Solution: Use "command -v" instead. Also exit with error code when 40090 generating tags has an error. (closes #5174) 40091Files: runtime/doc/Makefile 40092 40093Patch 8.1.2254 40094Problem: MS-Windows: mouse scroll wheel doesn't work in popup. 40095Solution: Handle mouse wheel events separately. (closes #5138) 40096Files: src/gui_w32.c, src/gui.c, src/proto/gui.pro 40097 40098Patch 8.1.2255 40099Problem: ":term ++shell" does not work on MS-Windows. 40100Solution: Add MS-Windows support. 40101Files: src/terminal.c, src/testdir/test_terminal.vim 40102 40103Patch 8.1.2256 (after 8.1.2255) 40104Problem: Test for ":term ++shell" fails on MS-Windows. 40105Solution: Accept failure of "dir" executable. 40106Files: src/testdir/test_terminal.vim 40107 40108Patch 8.1.2257 40109Problem: MS-Windows GUI: scroll wheel always uses current window. 40110Solution: Add the 'scrollfocus' option for MS-Windows. 40111Files: runtime/doc/options.txt, src/gui_w32.c, src/optiondefs.h, 40112 src/option.h 40113 40114Patch 8.1.2258 40115Problem: May get hit-enter prompt after entering a number. (Malcolm Rowe) 40116Solution: Put back accidentally deleted lines. (closes #5176) 40117Files: src/misc1.c 40118 40119Patch 8.1.2259 40120Problem: Running tests may leave XfakeHOME behind. 40121Solution: Source summarize.vim without using setup.vim. (closes #5177) 40122 Also fix that on MS-Windows the test log isn't echoed. 40123Files: src/testdir/Makefile, src/testdir/Make_dos.mak 40124 40125Patch 8.1.2260 40126Problem: Terminal test may fail on MS-Windows. 40127Solution: Catch the situation that "term dir" fails with a CreateProcess 40128 error. 40129Files: src/testdir/test_terminal.vim 40130 40131Patch 8.1.2261 40132Problem: With modifyOtherKeys set 'noesckeys' doesn't work. (James McCoy) 40133Solution: Disable modifyOtherKeys while in Insert mode when 'noesckeys' is 40134 set. (closes #5180) 40135Files: src/edit.c, src/testdir/test_edit.vim 40136 40137Patch 8.1.2262 40138Problem: Unpack assignment in function not recognized. 40139Solution: Skip over "[a, b]". (closes #5051) 40140Files: src/userfunc.c, src/testdir/test_let.vim 40141 40142Patch 8.1.2263 40143Problem: 'noesckeys' test fails in GUI. 40144Solution: Skip the test in the GUI. 40145Files: src/testdir/test_edit.vim 40146 40147Patch 8.1.2264 40148Problem: There are two test files for :let. 40149Solution: Merge the two files. 40150Files: src/testdir/test_assign.vim, src/testdir/test_let.vim, 40151 src/testdir/Make_all.mak, src/testdir/test_alot.vim 40152 40153Patch 8.1.2265 40154Problem: When popup with "botleft" does not fit it flips incorrectly. 40155Solution: Only flip when there is more space on the other side. Add the 40156 "posinvert" option to disable flipping and do it in both 40157 directions if enabled. (closes #5151) 40158Files: src/popupwin.c, src/testdir/test_popupwin.vim, src/vim.h, 40159 src/testdir/dumps/Test_popupwin_nospace.dump 40160 40161Patch 8.1.2266 40162Problem: Position unknown for a mouse click in a popup window. 40163Solution: Set v:mouse_col and v:mouse_lnum. (closes #5171) 40164Files: src/popupwin.c, src/testdir/test_popupwin.vim 40165 40166Patch 8.1.2267 40167Problem: Compiler warning for uninitialized variable. (Tony Mechelynck) 40168Solution: Rearrange the code. 40169Files: src/buffer.c 40170 40171Patch 8.1.2268 40172Problem: Spell file flag zero is not recognized. 40173Solution: Use -1 as an error value, so that zero can be used as a valid flag 40174 number. 40175Files: src/spellfile.c, src/testdir/test_spell.vim 40176 40177Patch 8.1.2269 40178Problem: Tags file with very long line stops using binary search. 40179Solution: Reallocate the buffer if needed. 40180Files: src/tag.c, src/testdir/test_tagjump.vim 40181 40182Patch 8.1.2270 40183Problem: "gf" is not tested in Visual mode. 40184Solution: Add Visual mode test and test errors. (Dominique Pelle, 40185 closes #5197) 40186Files: src/testdir/test_gf.vim 40187 40188Patch 8.1.2271 40189Problem: Build error if FEAT_TAG_BINS is not defined. (John Marriott) 40190Solution: Add #ifdef. 40191Files: src/tag.c 40192 40193Patch 8.1.2272 40194Problem: Test may hang at more prompt. 40195Solution: Reset 'more' after resetting 'compatible'. (Michael Soyka) 40196Files: src/testdir/test_vimscript.vim 40197 40198Patch 8.1.2273 40199Problem: Wrong default when "pos" is changed with popup_atcursor(). 40200Solution: Adjust the default line and col when "pos" is not the default 40201 value. (#5151) 40202Files: runtime/doc/popup.txt, src/structs.h, src/popupwin.c, 40203 src/proto/popupwin.pro, src/ex_cmds.c, 40204 src/testdir/test_popupwin.vim, 40205 src/testdir/dumps/Test_popupwin_atcursor_pos.dump 40206 40207Patch 8.1.2274 40208Problem: Newlines in 'balloonexpr' result only work in the GUI. 40209Solution: Also recognize newlines in the terminal. (closes #5193) 40210Files: src/popupmenu.c, src/testdir/test_balloon.vim, 40211 src/testdir/dumps/Test_balloon_eval_term_01.dump, 40212 src/testdir/dumps/Test_balloon_eval_term_01a.dump, 40213 src/testdir/dumps/Test_balloon_eval_term_02.dump 40214 40215Patch 8.1.2275 40216Problem: Using "seesion" looks like a mistake. 40217Solution: Use an underscore to make the function sort first. 40218Files: src/testdir/test_mksession.vim 40219 40220Patch 8.1.2276 40221Problem: MS-Windows: session test leaves files behind. 40222Solution: Wipe out buffers before deleting the directory. (closes #5187) 40223Files: src/testdir/test_mksession.vim 40224 40225Patch 8.1.2277 40226Problem: Terminal window is not updated when info popup changes. 40227Solution: Redraw windows when re-using an info popup. (closes #5192) 40228Files: src/ex_cmds.c 40229 40230Patch 8.1.2278 40231Problem: Using "cd" with "exe" may fail. 40232Solution: Use chdir() instead. 40233Files: src/testdir/test_autochdir.vim, src/testdir/test_autocmd.vim, 40234 src/testdir/test_cd.vim, src/testdir/test_expand.vim, 40235 src/testdir/test_find_complete.vim, src/testdir/test_findfile.vim, 40236 src/testdir/test_getcwd.vim, src/testdir/test_shortpathname.vim 40237 40238Patch 8.1.2279 40239Problem: Computation of highlight attributes is too complicated. 40240Solution: Simplify the attribute computation and make it more consistent. 40241 (closes #5190) Fix that 'combine' set to zero doesn't work. 40242Files: src/drawline.c, src/testdir/test_textprop.vim, 40243 src/testdir/dumps/Test_textprop_01.dump 40244 40245Patch 8.1.2280 40246Problem: Crash when passing partial to substitute(). 40247Solution: Take extra arguments into account. (closes #5186) 40248Files: src/userfunc.c, src/structs.h, src/regexp.c, src/proto/regexp.pro, 40249 src/testdir/test_substitute.vim 40250 40251Patch 8.1.2281 40252Problem: 'showbreak' cannot be set for one window. 40253Solution: Make 'showbreak' global-local. 40254Files: src/optiondefs.h, src/option.c, src/option.h, 40255 src/proto/option.pro, src/structs.h, src/charset.c, 40256 src/drawline.c, src/edit.c, src/move.c, src/normal.c, src/ops.c, 40257 src/optionstr.c, src/testdir/test_highlight.vim, 40258 src/testdir/test_breakindent.vim, runtime/doc/options.txt 40259 40260Patch 8.1.2282 40261Problem: Crash when passing many arguments through a partial. (Andy 40262 Massimino) 40263Solution: Check the number of arguments. (closes #5186) 40264Files: src/userfunc.c, src/proto/userfunc.pro, src/evalfunc.c, 40265 src/regexp.c, src/testdir/test_expr.vim, 40266 src/testdir/test_substitute.vim 40267 40268Patch 8.1.2283 40269Problem: Missed one use of p_sbr. 40270Solution: Add missing p_sbr change. 40271Files: src/indent.c 40272 40273Patch 8.1.2284 40274Problem: Compiler warning for unused variable. (Tony Mechelynck) 40275Solution: Add #ifdef. 40276Files: src/move.c 40277 40278Patch 8.1.2285 40279Problem: Padding in structures wastes memory. 40280Solution: Move fields to avoid padding. (Dominique Pelle, closes #5202) 40281Files: src/structs.h 40282 40283Patch 8.1.2286 40284Problem: Using border highlight in popup window leaks memory. 40285Solution: Free memory before overwriting. (Dominique Pelle, closes #5203) 40286Files: src/popupwin.c 40287 40288Patch 8.1.2287 40289Problem: Using EndOfBuffer highlight in popup does not look good. 40290Solution: Do not EndOfBuffer highlight. (closes #5204) 40291Files: src/drawscreen.c, src/testdir/test_popupwin.vim, 40292 src/testdir/dumps/Test_popupwin_02.dump, 40293 src/testdir/dumps/Test_popupwin_04.dump, 40294 src/testdir/dumps/Test_popupwin_04a.dump, 40295 src/testdir/dumps/Test_popupwin_05.dump, 40296 src/testdir/dumps/Test_popupwin_06.dump, 40297 src/testdir/dumps/Test_popupwin_07.dump, 40298 src/testdir/dumps/Test_popupwin_08.dump 40299 40300Patch 8.1.2288 40301Problem: Not using all space when popup with "topleft" flips to above. 40302Solution: Recompute the height when a popup flips from below to above. 40303 (closes #5151) 40304Files: src/popupwin.c, src/testdir/test_popupwin.vim, 40305 src/testdir/dumps/Test_popupwin_nospace.dump 40306 40307Patch 8.1.2289 40308Problem: After :diffsplit closing the window does not disable diff. 40309Solution: Add "closeoff" to 'diffopt' and add it to the default. 40310Files: runtime/doc/options.txt, src/optiondefs.h, src/diff.c, 40311 src/proto/diff.pro, src/window.c, src/testdir/test_diffmode.vim 40312 40313Patch 8.1.2290 40314Problem: Autocommand test fails. 40315Solution: Remove 'closeoff' from 'diffopt'. 40316Files: src/testdir/test_autocmd.vim 40317 40318Patch 8.1.2291 40319Problem: Memory leak when executing command in a terminal. 40320Solution: Free "argv". (Dominique Pelle, closes #5208) 40321Files: src/terminal.c 40322 40323Patch 8.1.2292 40324Problem: v:mouse_winid not set on click in popup window. 40325Solution: Set v:mouse_winid. (closes #5171) 40326Files: runtime/doc/popup.txt, src/popupwin.c, 40327 src/testdir/test_popupwin.vim 40328 40329Patch 8.1.2293 40330Problem: Join adds trailing space when second line is empty. (Brennan 40331 Vincent) 40332Solution: Do not add a trailing space. 40333Files: src/ops.c, src/testdir/test_join.vim 40334 40335Patch 8.1.2294 40336Problem: Cursor position wrong when characters are concealed and a search 40337 causes a scroll. 40338Solution: Fix the cursor column in a concealed line after window scroll. 40339 (closes #5215, closes #5012) 40340Files: src/drawscreen.c, src/testdir/test_matchadd_conceal.vim 40341 40342Patch 8.1.2295 40343Problem: If buffer of popup is in another window cursorline sign shows. 40344Solution: Check the group of the sign. 40345Files: src/option.c, src/proto/option.pro, src/sign.c, 40346 src/proto/sign.pro, src/screen.c, src/drawline.c, 40347 src/testdir/test_popupwin.vim, 40348 src/testdir/dumps/Test_popupwin_cursorline_8.dump 40349 40350Patch 8.1.2296 40351Problem: Text properties are not combined with syntax by default. 40352Solution: Make it work as documented. (closes #5190) 40353Files: src/testprop.c, src/testdir/test_textprop.vim 40354 40355Patch 8.1.2297 40356Problem: The ex_vimgrep() function is too long. 40357Solution: Split it in three parts. (Yegappan Lakshmanan, closes #5211) 40358Files: src/quickfix.c 40359 40360Patch 8.1.2298 (after 8.1.2296) 40361Problem: Missing part of 8.1.2296. 40362Solution: s/test/text/ 40363Files: src/textprop.c 40364 40365Patch 8.1.2299 40366Problem: ConPTY in MS-Windows 1909 is still wrong. 40367Solution: Use same solution as for 1903. (Nobuhiro Takasaki, closes #5217) 40368Files: src/misc2.c, src/os_win32.c 40369 40370Patch 8.1.2300 40371Problem: Redraw breaks going through list of popup windows. 40372Solution: Use different flags for popup_reset_handled(). (closes #5216) 40373Files: src/popupwin.c, src/proto/popupwin.pro, src/structs.h, src/vim.h, 40374 src/mouse.c, src/testdir/test_popupwin.vim 40375 40376Patch 8.1.2301 40377Problem: MS-Windows GUI: drawing error when background color changes. 40378Solution: Implement gui_mch_new_colors(). (Simon Sadler) 40379Files: src/gui_w32.c 40380 40381Patch 8.1.2302 40382Problem: :lockmarks does not work for '[ and ']. 40383Solution: save and restore '[ and '] marks. (James McCoy, closes #5222) 40384Files: runtime/doc/motion.txt, src/bufwrite.c, src/diff.c, src/ex_cmds.c, 40385 src/fileio.c, src/indent.c, src/ops.c, src/register.c, 40386 src/testdir/test_autocmd.vim, src/testdir/test_diffmode.vim 40387 40388Patch 8.1.2303 40389Problem: Cursor in wrong position after horizontal scroll. 40390Solution: Set w_valid_leftcol. (closes #5214, closes #5224) 40391Files: src/move.c, src/testdir/test_matchadd_conceal.vim 40392 40393Patch 8.1.2304 40394Problem: Cannot get the mouse position when getting a mouse click. 40395Solution: Add getmousepos(). 40396Files: runtime/doc/eval.txt, runtime/doc/popup.txt, src/mouse.c 40397 src/proto/mouse.pro, src/evalfunc.c, src/popupwin.c, 40398 src/popupwin.pro, src/testdir/test_popupwin.vim, 40399 src/testdir/test_functions.vim 40400 40401Patch 8.1.2305 40402Problem: No warning for wrong entry in translations. 40403Solution: Check semicolons in keywords entry of desktop file. 40404Files: src/po/check.vim 40405 40406Patch 8.1.2306 40407Problem: Double and triple clicks are not tested. 40408Solution: Test mouse clicks to select text. (closes #5226) 40409Files: src/testdir/test_termcodes.vim 40410 40411Patch 8.1.2307 40412Problem: Positioning popup doesn't work for buffer-local textprop. 40413Solution: Make it work. (closes #5225) 40414Files: src/popupwin.c, src/testdir/test_popupwin_textprop.vim 40415 40416Patch 8.1.2308 40417Problem: Deleting text before zero-width textprop removes it. 40418Solution: Keep zero-width textprop when deleting text. 40419Files: src/textprop.c, src/testdir/test_textprop.vim 40420 40421Patch 8.1.2309 40422Problem: Compiler warning for argument type. 40423Solution: Use linenr_T and cast to varnumber_T. (John Marriott) 40424Files: src/mouse.c 40425 40426Patch 8.1.2310 40427Problem: No proper test for directory changes in quickfix. 40428Solution: Add a test that uses multiple directories. (Yegappan Lakshmanan, 40429 closes #5230) 40430Files: src/testdir/test_quickfix.vim 40431 40432Patch 8.1.2311 40433Problem: Warning for missing function prototype. 40434Solution: Add the proto. (Dominique Pelle, closes #5233) 40435Files: src/proto/popupwin.pro 40436 40437Patch 8.1.2312 40438Problem: "line:" field in tags file not used. 40439Solution: Recognize the field and use the value. (Andy Massimino, Daniel 40440 Hahler, closes #5232, closes #2546, closes #1057) 40441Files: src/tag.c, src/testdir/test_tagjump.vim 40442 40443Patch 8.1.2313 40444Problem: Debugging where a delay comes from is not easy. 40445Solution: Use different values when calling ui_delay(). 40446Files: src/buffer.c, src/change.c, src/fileio.c, src/gui.c, 40447 src/if_xcmdsrv.c, src/insexpand.c, src/main.c, src/normal.c, 40448 src/screen.c, src/search.c, src/tag.c, src/term.c, src/ui.c 40449 40450Patch 8.1.2314 40451Problem: vi' sometimes does not select anything. 40452Solution: Recognize an empty selection. (Christian Brabandt, closes #5183) 40453Files: src/search.c, src/testdir/test_textobjects.vim 40454 40455Patch 8.1.2315 40456Problem: Not always using the right window when jumping to an error. 40457Solution: Add the "uselast" flag in 'switchbuf'. (closes #1652) 40458Files: runtime/doc/options.txt, src/option.h, src/optionstr.c, 40459 src/quickfix.c, src/testdir/test_quickfix.vim 40460 40461Patch 8.1.2316 40462Problem: FORTIFY_SOURCE can also be present in CPPFLAGS. 40463Solution: Remove it in configure. (Benedikt Morbach, closes #2786) 40464Files: src/configure.ac, src/auto/configure 40465 40466Patch 8.1.2317 40467Problem: No test for spell affix file with flag on suffix. 40468Solution: Add a test case. 40469Files: src/testdir/test_spell.vim 40470 40471Patch 8.1.2318 (after 8.1.2301) 40472Problem: MS-Windows GUI: main background shows in toolbar. 40473Solution: Remove transparency from the toolbar. (Simon Sadler) 40474Files: src/gui_w32.c 40475 40476Patch 8.1.2319 40477Problem: Compiler warning for int size. 40478Solution: Add typecast. (Mike Williams) 40479Files: src/mouse.c 40480 40481Patch 8.1.2320 40482Problem: Insufficient test coverage for quickfix. 40483Solution: Add more tests. Fix uncovered problem. (Yegappan Lakshmanan, 40484 closes #5238) 40485Files: src/quickfix.c, src/testdir/test_quickfix.vim 40486 40487Patch 8.1.2321 40488Problem: Cannot select all text with the mouse. (John Marriott) 40489Solution: Move limiting the mouse column to f_getmousepos(). (closes #5242) 40490Files: src/mouse.c 40491 40492Patch 8.1.2322 (after 8.1.2320) 40493Problem: Quickfix test fails in very big terminal. 40494Solution: Adjust the expected result for the width. (Masato Nishihata, 40495 closes #5244) 40496Files: src/testdir/test_quickfix.vim 40497 40498Patch 8.1.2323 40499Problem: Old MSVC version no longer tested. 40500Solution: Drop support for MSVC 2008 and older. (Ken Takata, closes #5248) 40501Files: src/INSTALLpc.txt, src/Make_mvc.mak, src/gui_w32.c, src/os_win32.c 40502 40503Patch 8.1.2324 40504Problem: Width of scrollbar in popup menu not taken into account. 40505Solution: Add the width of the scrollbar. 40506Files: src/popupmenu.c, src/testdir/dumps/Test_popupwin_infopopup_6.dump, 40507 src/testdir/test_popupwin.vim 40508 40509Patch 8.1.2325 40510Problem: Crash when using balloon with empty line. 40511Solution: Handle empty lines. (Markus Braun) 40512Files: src/popupmenu.c, src/testdir/test_popup.vim 40513 40514Patch 8.1.2326 40515Problem: Cannot parse a date/time string. 40516Solution: Add strptime(). (Stephen Wall, closes #5250) 40517Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/auto/configure, 40518 src/config.h.in, src/configure.ac, src/evalfunc.c, src/os_unix.h, 40519 src/testdir/test_functions.vim 40520 40521Patch 8.1.2327 40522Problem: Cannot build with Hangul input. 40523Solution: Remove Hangul input support. 40524Files: Filelist, src/Makefile, runtime/doc/hangulin.txt, src/feature.h, 40525 src/gui_gtk_x11.c, src/gui_x11.c, src/gui.c, src/edit.c, 40526 src/mbyte.c, src/screen.c, src/ui.c, src/hangulin.c, 40527 src/globals.h, src/proto/hangulin.pro, src/proto.h, 40528 src/evalfunc.c, src/version.c, src/configure.ac, 40529 src/auto/configure, src/config.h.in, src/config.mk.in 40530 40531Patch 8.1.2328 40532Problem: A few hangul input pieces remain. 40533Solution: Update VMS makefile. 40534Files: src/Make_vms.mms 40535 40536Patch 8.1.2329 40537Problem: Mouse multiple click test is a bit flaky. 40538Solution: Add it to the list of flaky tests. 40539Files: src/testdir/runtest.vim 40540 40541Patch 8.1.2330 (after 8.1.2314) 40542Problem: vi' does not always work when 'selection' is exclusive. 40543Solution: Adjust start position. 40544Files: src/search.c, src/testdir/test_textobjects.vim 40545 40546Patch 8.1.2331 40547Problem: The option.c file is still very big. 40548Solution: Move a few functions to where they fit better. (Yegappan 40549 Lakshmanan, closes #4895) 40550Files: src/option.c, src/proto/option.pro, src/change.c, 40551 src/proto/change.pro, src/ex_getln.c, src/proto/ex_getln.pro, 40552 src/globals.h, src/gui.c, src/proto/gui.pro, src/ui.c, 40553 src/proto/ui.pro, src/term.c, src/proto/term.pro, src/indent.c, 40554 src/proto/indent.pro 40555 40556Patch 8.1.2332 (after 8.1.2331) 40557Problem: Missing file in refactoring. 40558Solution: Update missing file. 40559Files: src/search.c 40560 40561Patch 8.1.2333 40562Problem: With modifyOtherKeys CTRL-^ doesn't work. 40563Solution: Handle the exception. 40564Files: src/getchar.c, src/testdir/test_termcodes.vim 40565 40566Patch 8.1.2334 40567Problem: Possible NULL pointer dereference in popup_locate(). (Coverity) 40568Solution: Check for NULL pointer. 40569Files: src/popupwin.c 40570 40571Patch 8.1.2335 40572Problem: Error message for function arguments may use NULL pointer. 40573 (Coverity) 40574Solution: Use the original function name. 40575Files: src/evalfunc.c 40576 40577Patch 8.1.2336 40578Problem: When an expr mapping moves the cursor it is not restored. 40579Solution: Position the cursor after an expr mapping. (closes #5256) 40580Files: src/getchar.c, src/testdir/test_mapping.vim, 40581 src/testdir/dumps/Test_map_expr_1.dump 40582 40583Patch 8.1.2337 40584Problem: Double-click time sometimes miscomputed. 40585Solution: Correct time computation. (Dominique Pelle, closes #5259) 40586Files: src/mouse.c, src/testdir/runtest.vim 40587 40588Patch 8.1.2338 40589Problem: Using Visual mark with :s gives E20 if not set. 40590Solution: Ignore errors when handling 'incsearch'. (closes #3837) 40591Files: src/ex_getln.c, src/testdir/test_search.vim, 40592 src/testdir/dumps/Test_incsearch_substitute_14.dump 40593 40594Patch 8.1.2339 40595Problem: Insufficient testing for quickfix. 40596Solution: Add a few more tests. (Yegappan Lakshmanan, closes #5261) 40597Files: src/testdir/test_quickfix.vim 40598 40599Patch 8.1.2340 40600Problem: Quickfix test fails under valgrind and asan. 40601Solution: Make sure long line does not overflow IObuff. (Dominique Pelle, 40602 closes #5263) Put back fix for large terminals. (Yegappan 40603 Lakshmanan, closes #5264) 40604Files: src/quickfix.c, src/testdir/test_quickfix.vim 40605 40606Patch 8.1.2341 40607Problem: Not so easy to interrupt a script programatically. 40608Solution: Add the interrupt() function. (Yasuhiro Matsumoto, closes #2834) 40609Files: runtime/doc/eval.txt, src/evalfunc.c, src/ex_eval.c, 40610 src/testdir/Make_all.mak, src/testdir/test_interrupt.vim 40611 40612Patch 8.1.2342 40613Problem: Random number generator in Vim script is slow. 40614Solution: Add rand() and srand(). (Yasuhiro Matsumoto, closes #1277) 40615Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/Make_all.mak, 40616 src/testdir/test_random.vim 40617 40618Patch 8.1.2343 40619Problem: Using time() for srand() is not very random. 40620Solution: use /dev/urandom if available 40621Files: src/evalfunc.c, src/testdir/test_random.vim 40622 40623Patch 8.1.2344 40624Problem: Cygwin: warning for using strptime(). 40625Solution: Move defining _XOPEN_SOURCE and __USE_XOPEN to vim.h. (Ken Takata, 40626 closes #5265) Use 700 for _XOPEN_SOURCE for mkdtemp(). 40627Files: src/os_unix.h, src/vim.h 40628 40629Patch 8.1.2345 40630Problem: .cjs files are not recognized as Javascript. 40631Solution: Add the *.cjs pattern. (closes #5268) 40632Files: runtime/filetype.vim, src/testdir/test_filetype.vim 40633 40634Patch 8.1.2346 40635Problem: CTRL-R CTRL-R doesn't work with modifyOtherKeys. 40636Solution: Allow key codes when fetching argument for CTRL-R. (closes #5266) 40637 Also fix CTRL-G in Insert mode. 40638Files: src/edit.c, src/ex_getln.c, src/testdir/test_termcodes.vim 40639 40640Patch 8.1.2347 (after 8.1.2344) 40641Problem: MacOS: build fails. 40642Solution: Don't define _XOPEN_SOURCE for Mac. 40643Files: src/vim.h 40644 40645Patch 8.1.2348 40646Problem: :const cannot be followed by "| endif". 40647Solution: Check following command for :const. (closes #5269) 40648 Also fix completion after :const. 40649Files: src/testdir/test_let.vim, src/testdir/test_const.vim, 40650 src/ex_docmd.c, src/cmdexpand.c, src/eval.c, 40651 src/testdir/test_cmdline.vim 40652 40653Patch 8.1.2349 40654Problem: :lockvar and :unlockvar cannot be followed by "| endif". 40655Solution: Check for following commands. (closes #5269) 40656Files: src/testdir/test_const.vim, src/ex_docmd.c 40657 40658Patch 8.1.2350 40659Problem: Other text for CTRL-V in Insert mode with modifyOtherKeys. 40660Solution: Convert the Escape sequence back to key as if modifyOtherKeys is 40661 not set, and use CTRL-SHIFT-V to get the Escape sequence itself. 40662 (closes #5254) 40663Files: runtime/doc/insert.txt, runtime/doc/cmdline.txt, src/edit.c, 40664 src/proto/edit.pro, src/term.c, src/proto/term.pro, src/getchar.c, 40665 src/proto/getchar.pro, src/testdir/test_termcodes.vim, 40666 src/ex_getln.c 40667 40668Patch 8.1.2351 40669Problem: 'wincolor' not used for > for not fitting double width char. 40670 Also: popup drawn on right half of double width character looks 40671 wrong. 40672Solution: Adjust color for > character. Clear left half of double width 40673 character if right half is being overwritten. 40674Files: src/drawline.c, src/screen.c, 40675 src/testdir/dumps/Test_popupwin_doublewidth_1.dump 40676 40677Patch 8.1.2352 40678Problem: CI doesn't cover FreeBSD. 40679Solution: Configure Cirrus-CI. (Christian Brabandt, closes #5273) 40680Files: .cirrus.yml, README.md 40681 40682Patch 8.1.2353 40683Problem: Build failure on FreeBSD. 40684Solution: Change #ifdef to only check for Linux-like systems. 40685Files: src/vim.h 40686 40687Patch 8.1.2354 40688Problem: Cirrus CI runs on another repository. 40689Solution: Run Cirrus CI on vim/vim. 40690Files: .cirrus.yml, README.md 40691 40692Patch 8.1.2355 40693Problem: Test with "man" fails on FreeBSD. 40694Solution: Use "-P" instead of "--pager". 40695Files: src/testdir/test_normal.vim 40696 40697Patch 8.1.2356 40698Problem: rand() does not use the best algorithm. 40699Solution: use xoshiro128** instead of xorshift. (Kaito Udagawa, 40700 closes #5279) 40701Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_random.vim 40702 40703Patch 8.1.2357 40704Problem: No test with wrong argument for rand(). 40705Solution: Add a test case. 40706Files: src/testdir/test_random.vim 40707 40708Patch 8.1.2358 40709Problem: Tests fail on Cirrus CI for FreeBSD. 40710Solution: Fix a test and skip some. (Christian Brabandt, closes #5281) 40711Files: Filelist, .cirrus.yml, src/testdir/check.vim, 40712 src/testdir/test_normal.vim, src/testdir/test_quickfix.vim, 40713 src/testdir/test_source_utf8.vim, src/testdir/test_terminal.vim, 40714 src/testdir/test_utf8_comparisons.vim 40715 40716Patch 8.1.2359 40717Problem: Cannot build without FEAT_FLOAT. (John Marriott) 40718Solution: Fix #ifdefs around f_srand(). 40719Files: src/evalfunc.c 40720 40721Patch 8.1.2360 40722Problem: Quickfix test coverage can still be improved. 40723Solution: Add more test cases. (Yegappan Lakshmanan, closes #5276) 40724Files: src/testdir/test_quickfix.vim 40725 40726Patch 8.1.2361 40727Problem: MS-Windows: test failures related to VIMDLL. 40728Solution: Adjust code and tests. (Ken Takata, closes #5283) 40729Files: src/evalfunc.c, src/ex_cmds.c, src/gui_w32.c, src/mbyte.c, 40730 src/menu.c, src/proto.h, src/testdir/test_highlight.vim 40731 40732Patch 8.1.2362 40733Problem: Cannot place signs in a popup window. (Maxim Kim) 40734Solution: Use the group prefix "PopUp" to specify which signs should show up 40735 in a popup window. (closes #5277) 40736Files: runtime/doc/sign.txt, src/popupwin.c, src/sign.c, 40737 src/testdir/dumps/Test_popupwin_sign_1.dump 40738 40739Patch 8.1.2363 40740Problem: ml_get error when accessing Visual area in 'statusline'. 40741Solution: Disable Visual mode when using another window. (closes #5278) 40742Files: src/testdir/test_statusline.vim, src/buffer.c 40743 40744 40745 vim:tw=78:ts=8:noet:ft=help:norl: 40746